Public bug reported:

The dracut TEST-72-NBD fails when run with network-manager. network-
manager pulls in dbus. The Ubuntu package of dbus adds this to the
`dbus.service` and `dbus.socket` (see bug #1438612):

```
# Do not stop on shutdown
DefaultDependencies=no
Wants=sysinit.target
After=sysinit.target basic.target
```

This causes the dbus service to start too late. Since NetworkManager
depends on dbus, it will start too late as well. That causes the NBD
test cases to fail.

https://github.com/dracut-ng/dracut-ng/pull/2178 was rejected with:
"this seems like Ubuntu (and maybe also Debian?) is doing the wrong
thing here. Please fix it there."

So I suggest to remove Wants and After and do the same as dbus-broker:

```
After=dbus.socket
Before=basic.target shutdown.target
Conflicts=shutdown.target
```

** Affects: dracut
     Importance: Unknown
         Status: Unknown

** Affects: dbus (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: dracut (Ubuntu)
     Importance: High
         Status: Triaged

** Also affects: dbus (Ubuntu)
   Importance: Undecided
       Status: New

** Bug watch added: github.com/dracut-ng/dracut-ng/issues #1815
   https://github.com/dracut-ng/dracut-ng/issues/1815

** Also affects: dracut via
   https://github.com/dracut-ng/dracut-ng/issues/1815
   Importance: Unknown
       Status: Unknown

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

Title:
  TEST-72-NBD fails with network-manager due to dbus.service

To manage notifications about this bug go to:
https://bugs.launchpad.net/dracut/+bug/2141603/+subscriptions


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

Reply via email to