Bug#612481: fai-client: diversion of /etc/init.d/nis during install breaks boot order and autofs

2011-02-10 Thread Holger Levsen
On Mittwoch, 9. Februar 2011, Michael Tautschnig wrote:
 Which means that it breaks unrelated software (in a non-obvious way, i.e.,
 the installation finishes just fine), which has a well-defined severity
 level. I have no idea why the severity was downgraded (and not upgraded).
 No kidding.

 Usually I don't care much about severities, and bugs don't get fixed by
 such non-contributions such as this message of mine, but in this case the
 bug might warrant an upload to stable-proposed-updates, which a bug of
 severity normal clearly doesn't deserve.

my thoughts exactly.


signature.asc
Description: This is a digitally signed message part.


Bug#612481: fai-client: diversion of /etc/init.d/nis during install breaks boot order and autofs

2011-02-09 Thread Holger Levsen
Hi Jens,

On Dienstag, 8. Februar 2011, Jens Dreger wrote:
 nis based automount maps don't work after fresh install due to the
 diversion of /etc/init.d/nis in /usr/lib/fai/updatebase:

this affects system installed with fai, correct? (And not the fai installation 
client itself..)


cheers,
Holger


signature.asc
Description: This is a digitally signed message part.


Bug#612481: fai-client: diversion of /etc/init.d/nis during install breaks boot order and autofs

2011-02-09 Thread Michael Tautschnig
 Hi Jens,
 
 On Dienstag, 8. Februar 2011, Jens Dreger wrote:
  nis based automount maps don't work after fresh install due to the
  diversion of /etc/init.d/nis in /usr/lib/fai/updatebase:
 
 this affects system installed with fai, correct? (And not the fai 
 installation 
 client itself..)
 

Which means that it breaks unrelated software (in a non-obvious way, i.e., the
installation finishes just fine), which has a well-defined severity level. I
have no idea why the severity was downgraded (and not upgraded). No kidding.

Usually I don't care much about severities, and bugs don't get fixed by such
non-contributions such as this message of mine, but in this case the bug might
warrant an upload to stable-proposed-updates, which a bug of severity normal
clearly doesn't deserve.

Best regards,
Michael



pgp6k2nHD33eM.pgp
Description: PGP signature


Bug#612481: fai-client: diversion of /etc/init.d/nis during install breaks boot order and autofs

2011-02-08 Thread Jens Dreger
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 debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#612481: fai-client: diversion of /etc/init.d/nis during install breaks boot order and autofs

2011-02-08 Thread Thomas Lange

 Severity: important
I think it's a normal bug.

 Removing the diversion of /etc/init.d/nis from /usr/lib/fai/updatebase 
fixes
 the problem.
I have to check if the diversion is not needed any more, or if fai
should use policy-rc.d to keep nis from starting during installation.

Thanks for the bug report.
-- 
regards Thomas



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