Univention Bugzilla – Full Text Bug Listing |
Summary: | Skript zum Finden von veränderten Template Dateien | ||
---|---|---|---|
Product: | UCS | Reporter: | Janis Meybohm <meybohm> |
Component: | UCR | Assignee: | Philipp Hahn <hahn> |
Status: | CLOSED FIXED | QA Contact: | Stefan Gohmann <gohmann> |
Severity: | enhancement | ||
Priority: | P5 | CC: | ebersbach, gohmann, hahn, jmm |
Version: | UCS 2.4 | ||
Target Milestone: | UCS 3.2-1-errata | ||
Hardware: | Other | ||
OS: | Linux | ||
What kind of report is it?: | --- | What type of bug is this?: | --- |
Who will be affected by this bug?: | --- | How will those affected feel about the bug?: | --- |
User Pain: | Enterprise Customer affected?: | ||
School Customer affected?: | ISV affected?: | ||
Waiting Support: | Flags outvoted (downgraded) after PO Review: | ||
Ticket number: | Bug group (optional): | Troubleshooting | |
Max CVSS v3 score: | |||
Bug Depends on: | 19279, 31724 | ||
Bug Blocks: | 19316 | ||
Attachments: | Prüft auf veränderte Templates |
Description
Janis Meybohm
2011-10-10 15:54:33 CEST
Created attachment 3726 [details] Prüft auf veränderte Templates Das angehängte Script prüft auf tatsächlich veränderte Templates anhand der Prüfsummen. Aufgrund eines Bugs werden beim bauen der univention-* Pakete die Conffiles teilweise doppelt (und mit unterschiedlichen Prüfsummen) in die Conffile-Liste aufgenommen, daher ist die Prüfung nicht ganz so einfach wie im comment #0 angenommen. Again found missing during a UCS 3.2-1 Technical Training. We should package this, as we recommend to revert all modifications to templates *before* performing an update. "univention-template-check" can only be used *after* the update, since it only checks for *.dpkg-* template files. The new tool should replace univention-check-templates. univention-check-templates now also checks the MD5 sum of the template files. The old code to check for dpkg-renamed files was kept and converted into Python code. ucs-3.2-1: r48425 univention-config-registry_9.0.6-6.454.201403101254 YAML: r48426 Add debian.deb822 as Suggests, as it is only in unmaintained. Add an alternative implementation to directly parse /var/lib/dpkg/status. UCS-3.2-1: r48447 univention-config-registry_ YAML: r48448 I've added a simple test case: r48468 + r48469 Code: OK YAML: OK Tests: OK |