Package: fai-client Version: 3.4.7 Severity: important nis based automount maps don't work after fresh install due to the diversion of /etc/init.d/nis in /usr/lib/fai/updatebase:
fai-divert -a /etc/init.d/nis /sbin/start-stop-daemon /usr/sbin/policy-rc.d this leads to autofs being started before nis since the dependencies can not correctly be found by insserv. After diversion the file /etc/init.d/nis looks like this: #! /bin/sh # diversion of /etc/init.d/nis created by FAI exit 0 Since it's missing LSB tags, insserv running in the /target chroot can not create the correct boot order. The logs show errors like: insserv: warning: script 'nis' missing LSB tags and overrides A freshly installed machine shows no dependency of autofs on nis: root@squeeze32-test:~> grep ^autofs /etc/init.d/.depend.start autofs: rsyslog Running insserv once fixes this, since the real startup file contains correct LSB tags: root@squeeze32-test:~> insserv root@squeeze32-test:~> grep ^autofs /etc/init.d/.depend.start autofs: rsyslog nis Removing the diversion of /etc/init.d/nis from /usr/lib/fai/updatebase fixes the problem. -- System Information: Debian Release: 6.0 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages fai-client depends on: ii file 5.04-5 Determines file type using "magic" ii iproute 20100519-3 networking and traffic control too ii libapt-pkg-perl 0.1.24+b1 Perl interface to libapt-pkg ii perl 5.10.1-17 Larry Wall's Practical Extraction Versions of packages fai-client recommends: ii cfengine2 2.2.10-2 Tool for configuring and maintaini ii debconf-utils 1.5.36.1 debconf utilities fai-client suggests no packages. -- Configuration Files: /etc/fai/fai.conf changed [not included] -- debconf-show failed -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

