[Bug 2094839] [NEW] Dependency loop on tmp.mount via mkswap.service

Dave Jones 2094839 at bugs.launchpad.net
Tue Jan 14 17:27:20 UTC 2025


Public bug reported:

With /tmp moving to tmpfs there's now an "After=swap.target" clause in
tmp.mount. Unfortunately, with mkswap.service having "After=local-
fs.target" and local-fs.target being (necessarily) after tmp.mount this
causes a dependency loop which systemd has to break.

mkswap.service should replace "After=local-fs.target" with
"After=-mount" to break the loop.

** Affects: ubuntu-raspi-settings (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  Dependency loop on tmp.mount via mkswap.service

Status in ubuntu-raspi-settings package in Ubuntu:
  New

Bug description:
  With /tmp moving to tmpfs there's now an "After=swap.target" clause in
  tmp.mount. Unfortunately, with mkswap.service having "After=local-
  fs.target" and local-fs.target being (necessarily) after tmp.mount
  this causes a dependency loop which systemd has to break.

  mkswap.service should replace "After=local-fs.target" with
  "After=-mount" to break the loop.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-raspi-settings/+bug/2094839/+subscriptions




More information about the foundations-bugs mailing list