[Bug 2067927] Re: systemd ships nice.conf override for wrong service

Launchpad Bug Tracker 2067927 at bugs.launchpad.net
Mon Jul 15 10:05:58 UTC 2024


This bug was fixed in the package systemd - 255.4-1ubuntu8.2

---------------
systemd (255.4-1ubuntu8.2) noble; urgency=medium

  * mountpoint-util: Deal with kernel API breakage in "norecovery" mount option.
    Also include fixup commit
    055b465a3f ("shared/mountpoint-util: for old kernels, assume "norecovery" is supported by btrfs").
    (LP: #2067907)
  * cgroup-util: allow cg_read_pid() to skip unmapped (zero) pids (LP: #2067922)
  * debian/extra: ship nice.conf for journald, not logind (LP: #2067927)

 -- Nick Rosbrook <enr0n at ubuntu.com>  Fri, 14 Jun 2024 17:03:19 -0400

** Changed in: systemd (Ubuntu Noble)
       Status: Fix Committed => Fix Released

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

Title:
  systemd ships nice.conf override for wrong service

Status in systemd package in Ubuntu:
  Fix Released
Status in systemd source package in Noble:
  Fix Released

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/2067927/+subscriptions




More information about the foundations-bugs mailing list