Univention Bugzilla – Full Text Bug Listing |
Summary: | Update of univention-base-files triggers network restart | ||
---|---|---|---|
Product: | UCS | Reporter: | Philipp Hahn <hahn> |
Component: | univention-base-files | Assignee: | UCS maintainers <ucs-maintainers> |
Status: | NEW --- | QA Contact: | UCS maintainers <ucs-maintainers> |
Severity: | normal | ||
Priority: | P5 | CC: | best, damrose, steuwer |
Version: | UCS 4.4 | ||
Target Milestone: | UCS 5.0-0-errata | ||
Hardware: | Other | ||
OS: | Linux | ||
See Also: | https://forge.univention.org/bugzilla/show_bug.cgi?id=52847 | ||
What kind of report is it?: | Bug Report | What type of bug is this?: | 3: Simply Wrong: The implementation doesn't match the docu |
Who will be affected by this bug?: | 3: Will affect average number of installed domains | How will those affected feel about the bug?: | 2: A Pain – users won’t like this once they notice it |
User Pain: | 0.103 | Enterprise Customer affected?: | Yes |
School Customer affected?: | ISV affected?: | ||
Waiting Support: | Flags outvoted (downgraded) after PO Review: | ||
Ticket number: | 2019060521000629 | Bug group (optional): | API change |
Max CVSS v3 score: | |||
Bug Depends on: | 47701 | ||
Bug Blocks: |
Description
Philipp Hahn
2019-06-06 16:11:17 CEST
<https://docs.software-univention.de/developer-reference-4.4.html#ucr:file> is wrong: > def preinst(config_registry, changes): > pass > def postinst(config_registry, changes): > pass > ... The second argument changes is a dictionary of 2-tuples, which maps the names of all changed variables to (old-value, new-value). In case of "ucr register" "changes" is a dict mapping from "UCR variable name regular expression" to "current value"; as the regexp is not evaluated and applied, this leads to: > 'interfaces/[^/]*/.*': None This is partly the cause for this issue as "interfaces.py" walks over all "changed" UCRV and tries to map them to their respective interfaces. As "gateway" is (always) included, "ifupdown -a" is called. For UCS-5 this is no longer that important because we no longer have UVMM. For UCS-5 there also was a change in UCR via Bug #52847 to call handlers only for changed values: Re-check if re-installing univention-base-files is still problematic. |