2 | Description=D-Bus System Message Bus |
3 | Documentation=man:dbus-daemon(1) |
4 | Requires=dbus.socket |
5 | After=nss-user-lookup.target |
After= seems fine. |
2 | Description=D-Bus System Message Bus |
3 | Documentation=man:dbus-daemon(1) |
4 | Requires=dbus.socket |
5 | After=nss-user-lookup.target |
6 | Requires=nss-user-lookup.target |
I'm not so sure about Requires=. How recent is that target? Can we assume that it exists on every systemd-using OS? (New dependencies are OK in 1.13.x but not in 1.12.x.) systemd.special(7) says """ All services for which the availability of the full user/group database is essential should be ordered after this target, but not pull it in. """ which I think means "use After, don't use Requires"? |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.