systemd ships nice.conf override for wrong service

Bug #2067927 reported by Nick Rosbrook
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
systemd (Ubuntu)
Fix Committed
Medium
Nick Rosbrook
Noble
Triaged
Medium
Nick Rosbrook

Bug Description

[Impact]

Prior to Noble (since Bionic or so), we shipped systemd-journald.service with Nice=-1 due to bug 1696970. In Noble, we intended to do this with a drop-in config instead of an out-of-tree patch [1]. But, this drop-in was mistakenly shipped for systemd-logind.service, instead of systemd-journald.service. This means the mitigation for bug 1696970 is no longer in place on Noble, and users could potentially see regressions.

[Test]

Check that systemd-journald.service has Nice=-1 configured (and that systemd-logind.service does not):

$ systemctl show -p Nice systemd-journald.service
$ systemctl show -p Nice systemd-logind.service

[Where problems could occur]

Clearly, we should be careful that the drop-in is shipped for the correct service, otherwise we may apply the setting to the wrong unit.

[Other information]

I have not actually seen any regressions reported about this, but as we intended to keep the Nice=-1 setting for systemd-journald.service, we should restore it.

[1] https://git.launchpad.net/~ubuntu-core-dev/ubuntu/+source/systemd/commit/?h=ubuntu-noble&id=9605a17332ee8a8dc9b390bd24acf116184b69d2

Nick Rosbrook (enr0n)
tags: added: systemd-sru-next
Changed in systemd (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Changed in systemd (Ubuntu Noble):
status: New → Triaged
importance: Undecided → Medium
assignee: nobody → Nick Rosbrook (enr0n)
Changed in systemd (Ubuntu):
assignee: nobody → Nick Rosbrook (enr0n)
Nick Rosbrook (enr0n)
Changed in systemd (Ubuntu):
status: Triaged → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.