[Pkg-puppet-devel] Bug#781512: puppet: service enable does not work on sysvinit with new initscripts

Apollon Oikonomopoulos apoikos at debian.org
Mon Mar 30 09:39:13 UTC 2015


Package: puppet
Version: 3.7.2-3
Severity: serious
Tags: pending
Justification: Regression in latest upload

The latest upload fixing the debian service provider unfortunately 
introduced a regression on sysvinit systems:

On sysvinit systems, services with newly-shipped initscripts will not be 
enabled because of a missing call to update-rc.d defaults before update-rc.d
enable:

# puppet apply -e "service { 'test' : enable => true }"
Notice: Compiled catalog for test.example.com in environment production in 0.18 seconds
Error: Execution of '/usr/sbin/update-rc.d test enable' returned 1: update-rc.d: error: no runlevel symlinks to modify, aborting!
Error: /Stage[main]/Main/Service[test]/enable: change from false to true failed: Execution of '/usr/sbin/update-rc.d test enable' returned 1

An upload fixing this issue will follow.

Regards,
Apollon

-- System Information:
Debian Release: 8.0
  APT prefers testing
  APT policy: (500, 'testing'), (90, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=el_GR.UTF-8, LC_CTYPE=el_GR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages puppet depends on:
ii  init-system-helpers           1.22
ii  puppet-common                 3.7.2-3
ii  ruby                          1:2.1.5
ii  ruby1.9.1 [ruby-interpreter]  1.9.3.484-2
ii  ruby2.0 [ruby-interpreter]    2.0.0.484+really457-3
ii  ruby2.1 [ruby-interpreter]    2.1.5-1

puppet recommends no packages.

Versions of packages puppet suggests:
pn  etckeeper   <none>
pn  puppet-el   <none>
ii  vim-puppet  3.7.2-3

-- debconf-show failed



More information about the Pkg-puppet-devel mailing list