2017-09-20 14:31:22 |
Philipp Kern |
bug |
|
|
added bug |
2017-09-20 14:31:36 |
Philipp Kern |
nominated for series |
|
Ubuntu Xenial |
|
2017-09-20 14:32:00 |
Philipp Kern |
bug |
|
|
added subscriber Mike Gerow |
2017-09-26 15:55:29 |
Brian Murray |
bug task added |
|
systemd (Ubuntu Xenial) |
|
2017-09-26 15:55:41 |
Brian Murray |
systemd (Ubuntu): status |
New |
Fix Released |
|
2017-09-26 15:55:44 |
Brian Murray |
systemd (Ubuntu Xenial): importance |
Undecided |
Medium |
|
2018-02-20 15:28:30 |
Dimitri John Ledkov |
description |
systemd-sysctl in Xenial forces itself over procps by shipping a link for procps.service to systemd-sysctl.service. However, it does not obey the order both of the files and also of the sysctls within the files. Instead it uses a simple hashmap. As it turns out that's fixed upstream and systemd master uses an ordered hashmap because of this, which at least preserves order within single files. Traditionally files in sysctl.d have been prefixed with numbers to ensure an order and that's now completely non-deterministic on Xenial.
Relevant upstream commit: https://github.com/systemd/systemd/commit/886cf982d3018f7451f0548dadbc05bd2d583bb6
Note that conf_files_list_nulstr in master sorts the configuration files using strcmp, so even order of configuration files should be obeyed. |
[Impact]
* sysctls are applied out of order
[Test Case]
* Monitor that sysctls are applied in-order, instead of out of order / random order.
[Regression Potential]
* Cherrypick of an upstream patch which is present in v232+ and in use in Ubuntu in later releases. The code changes are minimal, updating s/Hashmap/OrderedHashmap/ which is implemented and available in xenial's systemd.
https://github.com/systemd/systemd/commit/886cf982d3018f7451f0548dadbc05bd2d583bb6
[Other Info]
* Original bug report.
systemd-sysctl in Xenial forces itself over procps by shipping a link for procps.service to systemd-sysctl.service. However, it does not obey the order both of the files and also of the sysctls within the files. Instead it uses a simple hashmap. As it turns out that's fixed upstream and systemd master uses an ordered hashmap because of this, which at least preserves order within single files. Traditionally files in sysctl.d have been prefixed with numbers to ensure an order and that's now completely non-deterministic on Xenial.
Relevant upstream commit: https://github.com/systemd/systemd/commit/886cf982d3018f7451f0548dadbc05bd2d583bb6
Note that conf_files_list_nulstr in master sorts the configuration files using strcmp, so even order of configuration files should be obeyed. |
|
2018-02-20 15:28:38 |
Dimitri John Ledkov |
systemd (Ubuntu Xenial): status |
New |
In Progress |
|
2018-03-08 17:32:39 |
Brian Murray |
systemd (Ubuntu Xenial): status |
In Progress |
Fix Committed |
|
2018-03-08 17:32:40 |
Brian Murray |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2018-03-08 17:32:42 |
Brian Murray |
bug |
|
|
added subscriber SRU Verification |
2018-03-08 17:32:45 |
Brian Murray |
tags |
|
verification-needed verification-needed-xenial |
|
2018-03-20 16:10:02 |
Dimitri John Ledkov |
tags |
verification-needed verification-needed-xenial |
verification-done verification-done-xenial |
|
2018-03-21 11:53:33 |
Launchpad Janitor |
systemd (Ubuntu Xenial): status |
Fix Committed |
Fix Released |
|
2018-03-21 11:53:50 |
Ćukasz Zemczak |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|