Am 27.07.2017 um 17:23 schrieb Vladki: > Package: systemd > Version: 232-25+deb9u1 > Severity: normal > > Dear Maintainer, > > I wanted to create my own systemd unit to mount encrypted fs, and needed > to ensure that it starts after the networking is fully up, and before > zfs and samba starts. After many experiments with > after/before/wants/requires/wantedBy/requiredBy, I got to a partial > succes with sequence: network-online.target (dhclient up) -> > custom_mount_end.service > -> zfs.target. > > But smbd is still starting too early. By default it has After=nmbd.service, > and > nmbd has After=network-online.target. But the reaility is that smbd is > started in parallel with dhclient, while nmbd correctly waits for > dhclient to set up networking. > > I tried to add After=zfs.target and Wants=zfs.target to smbd, call > systemctl reeenable smbd, reboot. But it still starts too early. > > Either the documentation is not clear enough or the options After and > Before are not working as they should.
I'm pretty sure After/Before works correctly. Can you please be more specific which units should be ordered against each other in what way. -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Pkg-systemd-maintainers mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-systemd-maintainers
