[Pkg-puppet-devel] Bug#515660: service type stops working with Debian's insserv

martin f krafft madduck at debian.org
Mon Feb 16 19:18:19 UTC 2009


Package: puppet
Version: 0.24.7-1
Severity: important

With insserv installed, puppet thinks services are not properly
installed when in fact they are:

  debug: Service[cron](provider=debian): Executing 'ps -ef'
  debug: Service[cron](provider=debian): PID is 3399
  debug: Puppet::Type::Service::ProviderDebian: Executing '/usr/sbin/update-rc.d -n -f cron remove'
  debug: //Node[default]/cron/Service[cron]: Changing enable
  debug: //Node[default]/cron/Service[cron]: 1 change(s)
  debug: Puppet::Type::Service::ProviderDebian: Executing '/usr/sbin/update-rc.d -f cron remove'
  debug: Puppet::Type::Service::ProviderDebian: Executing '/usr/sbin/update-rc.d cron defaults'
  notice: //Node[default]/cron/Service[cron]/enable: enable changed 'false' to 'true'

But cron is enabled:

  piper:~|master|% ls /etc/rc?.d/[SK]??cron*
  /etc/rc1.d/K01cron  /etc/rc2.d/S02cron  /etc/rc3.d/S02cron
  /etc/rc4.d/S02cron  /etc/rc5.d/S02cron

This may give a clue:

  piper:~|master|% sudo update-rc.d -n -f cron remove
  insserv: Loading /etc/insserv.conf
  insserv: Loading K01watchdog
  insserv: Loading K01puppet
  insserv: Loading K01alsa-utils
  insserv: Loading K06umountnfs.sh
  insserv: Loading K08networking
  insserv: Loading K13umountroot
  insserv: Loading K07nfs-common
  insserv: Loading K01postfix
  insserv: Loading K01fuse
  insserv: Loading K02cryptdisks-early
  insserv: Loading K01xdm
  insserv: Loading K01dictd
  insserv: Loading K01openbsd-inetd
  insserv: Loading K12lvm2
  insserv: Loading K01saned
  insserv: Loading K01bluetooth
  insserv: Loading K01klogd
  insserv: Loading K01ntp
  insserv: Loading K01urandom
  insserv: Loading K01gdm
  insserv: Loading K11umountfs
  insserv: Loading K01ipmievd
  insserv: Loading K08hwclock.sh
  insserv: Loading K01apache2
  insserv: Loading K02avahi-daemon
  insserv: Loading K04sysklogd
  insserv: Loading K01mdadm-raid
  insserv: Loading K01dhcp3-server
  insserv: Loading K14halt
  insserv: Loading K01anacron
  insserv: Loading K09ifupdown
  insserv: Loading K10mountoverflowtmp
  insserv: Loading K05sendsigs
  insserv: Loading K01nfs-kernel-server
  insserv: Loading K02mdadm
  insserv: Loading K01resolvconf
  insserv: Loading K01incron
  insserv: Loading K01uml-utilities
  insserv: Loading K07portmap
  insserv: Loading K01libvirt-bin
  insserv: Loading K01smartmontools
  insserv: Loading K01rsync
  insserv: Loading K01atd
  insserv: Loading K01cryptdisks
  insserv: Loading K01watchdog
  insserv: Loading K01puppet
  insserv: Loading K07nfs-common
  insserv: Loading K01postfix
  insserv: Loading K01xdm
  insserv: Loading K01dictd
  insserv: Loading K01openbsd-inetd
  insserv: Loading K01saned
  insserv: Loading K01bluetooth
  insserv: Loading K01klogd
  insserv: Loading K01ntp
  insserv: Loading K01cups
  insserv: Loading S03single
  insserv: Loading K01hal
  insserv: Loading K01gdm
  insserv: Loading K01ipmievd
  insserv: Loading K01apache2
  insserv: Loading K02avahi-daemon
  insserv: Loading K04sysklogd
  insserv: Loading K01anacron
  insserv: Loading K03dbus
  insserv: Loading K01ssh
  insserv: Loading K02acpid
  insserv: Loading K01cron
  insserv: Loading K01nfs-kernel-server
  insserv: Loading K02mdadm
  insserv: Loading K01incron
  insserv: Loading K01uml-utilities
  insserv: Loading K07portmap
  insserv: Loading K01libvirt-bin
  insserv: Loading K01smartmontools
  insserv: Loading K01rsync
  insserv: Loading S02dhcp3-server
  insserv: Loading K01atd
  insserv: Loading S01killprocs
  insserv: Loading S01mdadm
  insserv: Loading S02openbsd-inetd
  insserv: Loading S02ssh
  insserv: Loading S03hal
  insserv: Loading S02atd
  insserv: Loading S02dictd
  insserv: Loading S02apache2
  insserv: Loading S02puppet
  insserv: Loading S02smartmontools
  insserv: Loading S02watchdog
  insserv: Loading S02rsync
  insserv: Loading S02ipmievd
  insserv: Loading S21nfs-common
  insserv: Loading S03bluetooth
  insserv: Loading S02ntp
  insserv: Loading S02incron
  insserv: Loading S03avahi-daemon
  insserv: Loading S02postfix
  insserv: Loading S23rmnologin
  insserv: Loading S02wd_keepalive
  insserv: Loading S03gdm
  insserv: Loading S01libvirt-bin
  insserv: Loading S02cron
  insserv: Loading S02stop-bootlogd
  insserv: Loading S02acpid
  insserv: Loading S22nfs-kernel-server
  insserv: Loading S01sysklogd
  insserv: Loading S01uml-utilities
  insserv: Loading S04cups
  insserv: Loading S02anacron
  insserv: Loading S03xdm
  insserv: Loading S02dhcp3-server
  insserv: Loading S02dbus
  insserv: Loading S01rc.local
  insserv: Loading S04saned
  insserv: Loading S02klogd
  insserv: Loading S01mdadm
  insserv: Loading S02openbsd-inetd
  insserv: Loading S02ssh
  insserv: Loading S03hal
  insserv: Loading S02atd
  insserv: Loading S02dictd
  insserv: Loading S02apache2
  insserv: Loading S02puppet
  insserv: Loading S02smartmontools
  insserv: Loading S02watchdog
  insserv: Loading S02rsync
  insserv: Loading S02ipmievd
  insserv: Loading S21nfs-common
  insserv: Loading S03bluetooth
  insserv: Loading S02ntp
  insserv: Loading S02incron
  insserv: Loading S03avahi-daemon
  insserv: Loading S02postfix
  insserv: Loading S23rmnologin
  insserv: Loading S02wd_keepalive
  insserv: Loading S03gdm
  insserv: Loading S01libvirt-bin
  insserv: Loading S02cron
  insserv: Loading S02stop-bootlogd
  insserv: Loading S02acpid
  insserv: Loading S22nfs-kernel-server
  insserv: Loading S01sysklogd
  insserv: Loading S01uml-utilities
  insserv: Loading S04cups
  insserv: Loading S02anacron
  insserv: Loading S03xdm
  insserv: Loading S02dhcp3-server
  insserv: Loading S02dbus
  insserv: Loading S01rc.local
  insserv: Loading S04saned
  insserv: Loading S02klogd
  insserv: Loading S01mdadm
  insserv: Loading S02openbsd-inetd
  insserv: Loading S02ssh
  insserv: Loading S03hal
  insserv: Loading S02atd
  insserv: Loading S02dictd
  insserv: Loading S02apache2
  insserv: Loading S02puppet
  insserv: Loading S02smartmontools
  insserv: Loading S02watchdog
  insserv: Loading S02rsync
  insserv: Loading S02ipmievd
  insserv: Loading S21nfs-common
  insserv: Loading S03bluetooth
  insserv: Loading S02ntp
  insserv: Loading S02incron
  insserv: Loading S03avahi-daemon
  insserv: Loading S02postfix
  insserv: Loading S23rmnologin
  insserv: Loading S02wd_keepalive
  insserv: Loading S03gdm
  insserv: Loading S01libvirt-bin
  insserv: Loading S02cron
  insserv: Loading S02stop-bootlogd
  insserv: Loading S02acpid
  insserv: Loading S22nfs-kernel-server
  insserv: Loading S01sysklogd
  insserv: Loading S01uml-utilities
  insserv: Loading S04cups
  insserv: Loading S02anacron
  insserv: Loading S03xdm
  insserv: Loading S02dhcp3-server
  insserv: Loading S02dbus
  insserv: Loading S01rc.local
  insserv: Loading S04saned
  insserv: Loading S02klogd
  insserv: Loading S01mdadm
  insserv: Loading S02openbsd-inetd
  insserv: Loading S02ssh
  insserv: Loading S03hal
  insserv: Loading S02atd
  insserv: Loading S02dictd
  insserv: Loading S02apache2
  insserv: Loading S02puppet
  insserv: Loading S02smartmontools
  insserv: Loading S02watchdog
  insserv: Loading S02rsync
  insserv: Loading S02ipmievd
  insserv: Loading S21nfs-common
  insserv: Loading S03bluetooth
  insserv: Loading S02ntp
  insserv: Loading S02incron
  insserv: Loading S03avahi-daemon
  insserv: Loading S02postfix
  insserv: Loading S23rmnologin
  insserv: Loading S02wd_keepalive
  insserv: Loading S03gdm
  insserv: Loading S01libvirt-bin
  insserv: Loading S02cron
  insserv: Loading S02stop-bootlogd
  insserv: Loading S02acpid
  insserv: Loading S22nfs-kernel-server
  insserv: Loading S01sysklogd
  insserv: Loading S01uml-utilities
  insserv: Loading S04cups
  insserv: Loading S02anacron
  insserv: Loading S03xdm
  insserv: Loading S02dhcp3-server
  insserv: Loading S02dbus
  insserv: Loading S01rc.local
  insserv: Loading S04saned
  insserv: Loading S02klogd
  insserv: Loading K01watchdog
  insserv: Loading K01puppet
  insserv: Loading K01alsa-utils
  insserv: Loading K06umountnfs.sh
  insserv: Loading K08networking
  insserv: Loading K13umountroot
  insserv: Loading K07nfs-common
  insserv: Loading K01postfix
  insserv: Loading K01fuse
  insserv: Loading K02cryptdisks-early
  insserv: Loading K01xdm
  insserv: Loading K01dictd
  insserv: Loading K01openbsd-inetd
  insserv: Loading K12lvm2
  insserv: Loading K01saned
  insserv: Loading K01bluetooth
  insserv: Loading K01klogd
  insserv: Loading K01ntp
  insserv: Loading K01urandom
  insserv: Loading K01gdm
  insserv: Loading K14reboot
  insserv: Loading K11umountfs
  insserv: Loading K01ipmievd
  insserv: Loading K08hwclock.sh
  insserv: Loading K01apache2
  insserv: Loading K02avahi-daemon
  insserv: Loading K04sysklogd
  insserv: Loading K01mdadm-raid
  insserv: Loading K01dhcp3-server
  insserv: Loading K01anacron
  insserv: Loading K09ifupdown
  insserv: Loading K10mountoverflowtmp
  insserv: Loading K05sendsigs
  insserv: Loading K01nfs-kernel-server
  insserv: Loading K02mdadm
  insserv: Loading K01resolvconf
  insserv: Loading K01incron
  insserv: Loading K01uml-utilities
  insserv: Loading K07portmap
  insserv: Loading K01libvirt-bin
  insserv: Loading K01smartmontools
  insserv: Loading K01rsync
  insserv: Loading K01atd
  insserv: Loading K01cryptdisks
  insserv: Loading S12checkfs.sh
  insserv: Loading S03mountkernfs.sh
  insserv: Loading S17pppd-dns
  insserv: Loading S11cryptdisks
  insserv: Loading S25schroot
  insserv: Loading S07hdparm
  insserv: Loading S25bootmisc.sh
  insserv: Loading S25sudo
  insserv: Loading S25alsa-utils
  insserv: Loading S21nfs-common
  insserv: Loading S18ifupdown
  insserv: Loading S09ifupdown-clean
  insserv: Loading S17x11-common
  insserv: Loading S09cryptdisks-early
  insserv: Loading S07hwclock.sh
  insserv: Loading S19networking
  insserv: Loading S24console-screen.sh
  insserv: Loading S25screen-cleanup
  insserv: Loading S14mountall.sh
  insserv: Loading S17resolvconf
  insserv: Loading S07hwclockfirst.sh
  insserv: Loading S20portmap
  insserv: Loading S15mountall-bootclean.sh
  insserv: Loading S07mdadm-raid
  insserv: Loading S06keymap.sh
  insserv: Loading S26stop-bootlogd-single
  insserv: Loading S17fuse
  insserv: Loading S17mt-st
  insserv: Loading S04udev
  insserv: Loading S13hibernate
  insserv: Loading S09module-init-tools
  insserv: Loading S07bootlogd
  insserv: Loading S05mountdevsubfs.sh
  insserv: Loading S08checkroot.sh
  insserv: Loading S10lvm2
  insserv: Loading S09mtab.sh
  insserv: Loading S01glibc.sh
  insserv: Loading S07procps
  insserv: Loading S16mountoverflowtmp
  insserv: Loading S22mountnfs.sh
  insserv: Loading S09udev-mtab
  insserv: Loading S17urandom
  insserv: Loading S23mountnfs-bootclean.sh
  insserv: Loading S02hostname.sh
  insserv: Loading cron
  insserv: Loading hal
  insserv: Loading cups
  insserv: Loading hwclock.sh
  insserv: Loading anacron
  insserv: Loading mdadm-raid
  insserv: Loading bootlogd
  insserv: Loading procps
  insserv: Loading ifupdown
  insserv: Loading sendsigs
  insserv: Loading avahi-daemon
  insserv: Loading checkroot.sh
  insserv: Loading hibernate
  insserv: Loading xdm
  insserv: Loading ssh
  insserv: Loading mountkernfs.sh
  insserv: Loading x11-common
  insserv: Loading stop-bootlogd-single
  insserv: Loading gdm
  insserv: Loading fuse
  insserv: Loading umountnfs.sh
  insserv: Loading nfs-common
  insserv: Loading ipmievd
  insserv: Loading openbsd-inetd
  insserv: Loading wd_keepalive
  insserv: Loading mountnfs-bootclean.sh
  insserv: Loading ntp
  insserv: Loading umountroot
  insserv: Loading klogd
  insserv: Loading dhcp3-server
  insserv: Loading rsync
  insserv: Loading uml-utilities
  insserv: Loading keymap.sh
  insserv: Loading dbus
  insserv: Loading ifupdown-clean
  insserv: Loading console-screen.sh
  insserv: Loading incron
  insserv: Loading postfix
  insserv: Loading halt
  insserv: Loading cryptdisks
  insserv: Loading udev
  insserv: Loading sudo
  insserv: Loading mountall.sh
  insserv: Loading glibc.sh
  insserv: Loading saned
  insserv: Loading mt-st
  insserv: Loading dictd
  insserv: Loading killprocs
  insserv: Loading mountoverflowtmp
  insserv: Loading umountfs
  insserv: Loading bootmisc.sh
  insserv: Loading mountdevsubfs.sh
  insserv: Loading sysklogd
  insserv: Loading mtab.sh
  insserv: Loading mdadm
  insserv: Loading reboot
  insserv: Loading stop-bootlogd
  insserv: Loading smartmontools
  insserv: Loading resolvconf
  insserv: Loading single
  insserv: Loading urandom
  insserv: Loading bluetooth
  insserv: Loading alsa-utils
  insserv: Loading atd
  insserv: Loading screen-cleanup
  insserv: Loading mountall-bootclean.sh
  insserv: Loading rmnologin
  insserv: Loading watchdog
  insserv: Loading cryptdisks-early
  insserv: Loading portmap
  insserv: Loading mountnfs.sh
  insserv: Loading nfs-kernel-server
  insserv: Loading hostname.sh
  insserv: Loading module-init-tools
  insserv: Loading schroot
  insserv: Loading lvm2
  insserv: Loading hdparm
  insserv: Loading acpid
  insserv: Loading apache2
  insserv: Loading udev-mtab
  insserv: Loading rc.local
  insserv: Loading pppd-dns
  insserv: Loading checkfs.sh
  insserv: Loading hwclockfirst.sh
  insserv: Loading libvirt-bin
  insserv: Loading networking
  insserv: Loading puppet
  insserv: remove service /etc/init.d/../rc1.d/K01cron
  insserv: remove service /etc/init.d/../rc2.d/S02cron
  insserv: remove service /etc/init.d/../rc3.d/S02cron
  insserv: remove service /etc/init.d/../rc4.d/S02cron
  insserv: remove service /etc/init.d/../rc5.d/S02cron
  insserv: dryrun, not creating .depend.boot, .depend.start, and .depend.stop

piper:~|master|% echo $?
0

-- System Information:
Debian Release: 5.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages puppet depends on:
ii  adduser                       3.110      add and remove users and groups
ii  facter                        1.5.1-0.1  a library for retrieving facts fro
ii  libopenssl-ruby               4.2        OpenSSL interface for Ruby
ii  libruby [libxmlrpc-ruby]      4.2        Libraries necessary to run Ruby 1.
ii  libshadow-ruby1.8             1.4.1-8    Interface of shadow password for R
ii  libxmlrpc-ruby                4.2        transitional dummy package
ii  lsb-base                      3.2-20     Linux Standard Base 3.2 init scrip
ii  ruby                          4.2        An interpreter of object-oriented 

Versions of packages puppet recommends:
ii  libaugeas-ruby1.8             0.2.0-2    Augeas bindings for the Ruby langu
ii  rdoc                          4.2        Generate documentation from ruby s

puppet suggests no packages.

-- no debconf information


-- 
 .''`.   martin f. krafft <madduck at d.o>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature (see http://martin-krafft.net/gpg/)
Url : http://lists.alioth.debian.org/pipermail/pkg-puppet-devel/attachments/20090216/756bcb29/attachment.pgp 


More information about the Pkg-puppet-devel mailing list