-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
systemd broken dependencies, ordering cycle, Unknown lvalue 'Require' in section 'Unit' #29
Comments
What are you referring to? Lennart said the dependencies are correct. (If you're talking about the
Ouch, fixed.
That's a bug in qubes-iptables.service |
(--> QubesOS/qubes-issues#2209) In https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=832802 I posted a similar systemd service file. One with WantedBy=multi-user.target with After=network-pre.target and Wants=network-pre.target. I was told in such cases one has to use DefaultDependencies=no. [I think he mistyped, because "DefaultDependencies=yes" is the default.] I did
|
Ah, Debian's networking.service orders itself after network-pre.target but before sysinit.target. I suppose corridor-init-forwarding.service should use DefaultDependencies=no, have you tested this? |
Rusty Bird:
I have no /lib/systemd/system/networking.service. However, /lib/systemd/system/networking.service.d/network-pre.conf is owned by the systemd package.
Probably.
No. ( And I would hope, and trying hard, DefaultDependencies=no could be avoided. ) No, but I am still experimenting with all of this for Qubes-Whonix purposes and trying to figure out if this is something Debian specific? A Debian bug? Or systemd bug? ( https://phabricator.whonix.org/T528 ) |
Why, what's so bad about it?
Looks like the systemd manpages don't specify that network-pre.target, if pulled in, should be reached as part of "basic system initialization", but networking.service assumes that it is. |
More difficult to get right and maintain in long run. |
It's generated from the SysV init script:
Eh, corridor-init-forwarding only uses ipset/iptables/sysctl. Should be fine, I'll try it on my end soon. Though if you have the time to try DefaultDependencies=no on Debian, I'd still appreciate it. (No worries if not.) |
... never mind, I see you've checked that already |
I will test this soon(ish). Btw http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/2016-July/012257.html says this is not Debian specific. |
Thanks for the link, makes sense. |
Works for me. systemd no longer reports an ordering cycle. |
(not a Debian issue)
The text was updated successfully, but these errors were encountered: