Public bug reported:

The PostInstallScripts in do-release-upgrade are not correctly merged
together when described in an extra configuration file. This extra
config-file is placed in /etc/update-manager/release-upgrades.d/ and I
think the expected behavior is for these entries to be merged together
to allow additional post-scripts being added via packaging.

Right now the selected config file to use is kinda at random due to
`glob.glob()` being used and it might end up not using the pre-existing
ubuntu-advantage-upgrades.cfg in there.

To answer the questions when opening a bug:

- This is visible on 26.04 as well as older releases.
- 1:26.04.27
- Expectation would be that drop in configuration files in a .d config folder 
are merged and/or overwritten  in a expected manner: single config values are 
overwritten in a alphabetical order from their config-file-name. multi-value 
config values/lists like the PostInstllScripts are merged together.
- Some random config file got picked and not all files

** Affects: ubuntu-release-upgrader (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2175839

Title:
  Drop-in configs are sorted non-deterministic and not expanding

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2175839/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to