Bug#774335: systemd-sysv: NIS-based autofs mounts may not show up when using systemd
Michael Biebl
biebl at debian.org
Thu Jan 1 02:08:40 GMT 2015
control: found -1 215-8
Am 01.01.2015 um 02:39 schrieb Luke Diamand:
> sysv-generator seems to correctly generate an autofs.service file which has a
> dependency on NIS, specifically, ypbind:
>
> $ grep "After" autofs.service
> After=network-online.target remote-fs.target systemd-journald-dev-log.socket
> ypbind.service nslcd.service slapd.service
>
> But nothing in the nis.service file mentions ypbind, and so the dependency
> never gets setup, and the ordering isn't reliable.
The /etc/init.d/nis SysV init script has the following LSB header:
> ### BEGIN INIT INFO
> # Provides: ypbind ypserv ypxfrd yppasswdd
> # Required-Start: $network $portmap $remote_fs
> # Required-Stop: $portmap $remote_fs
> # Default-Start: 2 3 4 5
> # Default-Stop: 1
> # Short-Description: Start NIS client and server daemons.
> # Description: Start NIS client and server daemons. NIS is mostly
> # used to let several machines in a network share the
> # same account information (eg the password file).
> ### END INIT INFO
It looks though, as the sysv-genenator does not properly handle
Provides, especially multiple names listed in Provides.
# systemctl show nis.service | grep Names
Names=nis.service
The additional Provides should be listed under Names.
I vaguely remember that this was properly handled by the built-in SysV
support of earlier systemd versions and looks like a regression of the
sysv-generator introduced in v214.
I'm inclined to bump this to serious, as this looks like a regression
which we should fix for jessie. Does anyone from the pkg-systemd team
disagree?
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20150101/3982aa19/attachment-0001.sig>
More information about the Pkg-systemd-maintainers
mailing list