Bug 47260 - docker/autostart value changes are not recognized if they are changed on different layers
docker/autostart value changes are not recognized if they are changed on diff...
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: General
UCS 4.2
Other Linux
: P5 normal (vote)
: UCS 4.2-4-errata
Assigned To: Jürn Brodersen
Philipp Hahn
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2018-06-28 10:28 CEST by Erik Damrose
Modified: 2018-07-04 15:29 CEST (History)
3 users (show)

See Also:
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?: 2: Will only affect a few 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.069
Enterprise Customer affected?: Yes
School Customer affected?:
ISV affected?:
Waiting Support: Yes
Flags outvoted (downgraded) after PO Review:
Ticket number: 2018020121000654
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Damrose univentionstaff 2018-06-28 10:28:13 CEST
A backport is needed for Bug #46300

The ucr autostart module is not scope aware.

It uses the changed variable which it gets from ucr. That variable does not contain the effective change but only the change on the scope.

[4.3-1 628afa8c38] Bug #46300: Do not ignore ucr layers in ucr autostart module

+++ This bug was initially created as a clone of Bug #46300 +++
Comment 1 Jürn Brodersen univentionstaff 2018-06-28 12:26:18 CEST
[4.2-4 4d37f9c2db] Bug #47260: Do not ignore ucr layers in ucr autostart module
[4.2-4 6df9d1ea70] Bug #47260: YAML
[4.2-4 7afa32b067] Bug #47260: yaml (version)
Comment 2 Philipp Hahn univentionstaff 2018-06-28 12:54:04 CEST
(In reply to Jürn Brodersen from comment #1)
> [4.2-4 4d37f9c2db] Bug #47260: Do not ignore ucr layers in ucr autostart
> module
> [4.2-4 6df9d1ea70] Bug #47260: YAML
> [4.2-4 7afa32b067] Bug #47260: yaml (version)

OK.

FYI: The customer is still using UCS_4.2-3, but we cannot announce the package for both UCS-4.2-3 and UCS-4.2-4 as the later already received an update and has diverged: <http://xen1.knut.univention.de:8000/packages/source/univention-base-files/?since=4.2-0&before=4.3-0>

OK: apt install univention-base-files univention-base-packages
OK:
  find /???/systemd -name docker.service -ls
  ucr set --ldap-policy docker/autostart=yes
  ucr set docker/autostart=no
  find /???/systemd -name docker.service -ls
  ucr unset --ldap-policy docker/autostart
  find /???/systemd -name docker.service -ls
  ucr set --forced docker/autostart=yes
  find /???/systemd -name docker.service -ls
  ucr unset --forced docker/autostart
  find /???/systemd -name docker.service -ls
  ucr set docker/autostart=yes
  find /???/systemd -name docker.service -ls
OK: errata-announce -V --only univention-base-files.yaml
OK: univention-base-files.yaml
Comment 3 Arvid Requate univentionstaff 2018-07-04 15:29:55 CEST
<http://errata.software-univention.de/ucs/4.2/424.html>