Package: systemd
Version: 44-5
Severity: important

nfs-common has Required-Start: $portmap in its LSB header and
rpcbind installs /etc/insserv.conf.d/rpcbind containing
"$portmap rpcbind"

For sysvinit/insserv that ensures that nfs-common is started before
rpcbind.

With systemd though don't get such an ordering:

Names=nfs-common.service
Requires=systemd-journald.socket
WantedBy=multi-user.target sysinit.target
Conflicts=shutdown.target
Before=multi-user.target sysinit.target shutdown.target
After=rpcbind.target time-sync.target systemd-journald.socket


The After=rpcbind.target ordering comes from:
src/special.h:#define SPECIAL_RPCBIND_TARGET "rpcbind.target" /* LSB's $portmap 
*/

Possible fixes:
a/ make systemd parse the insserv configuration from
/etc/insserv.conf(.d/*)

or
b/ as a very specific fix: hook up rpcbind.service in
rpcbind.target.wants. This is not easily possible with sysv services
though.


for a/, there is already
src/service.c:sysv_facility_in_insserv_conf() 
which we currently only is enabled for SuSE and only parses
insserv.conf. It should be simple to extend that to also parse
/etc/insserv.conf.d/*






-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages systemd depends on:
ii  dpkg                 1.16.8
ii  initscripts          2.88dsf-32
ii  libacl1              2.2.51-8
ii  libaudit0            1:1.7.18-1.1
ii  libc6                2.13-35
ii  libcap2              1:2.22-1.2
ii  libcryptsetup4       2:1.4.3-2
ii  libdbus-1-3          1.6.8-1
ii  libkmod2             9-2
ii  liblzma5             5.1.1alpha+20120614-1
ii  libpam0g             1.1.3-7.1
ii  libselinux1          2.1.12-1
ii  libsystemd-daemon0   44-5
ii  libsystemd-id128-0   44-5
ii  libsystemd-journal0  44-5
ii  libsystemd-login0    44-5
ii  libudev0             175-7
ii  libwrap0             7.6.q-24
ii  udev                 175-7
ii  util-linux           2.20.1-5.2

Versions of packages systemd recommends:
ii  libpam-systemd  44-5

Versions of packages systemd suggests:
ii  python        2.7.3-2
ii  python-cairo  1.8.8-1+b2
ii  python-dbus   1.1.1-1
ii  systemd-gui   44-5

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to