Issue #5908 has been updated by Rudy Gevaert.

Status changed from Closed to Re-opened
Target version deleted (2.6.8)

Max Martin wrote:
> It was only the disable case that was no longer working, as far as we can 
> tell. The code is available for testing on the github branch I specified if 
> you'd like to test this yourself. The reason we're changing as little as 
> possible and only changing behavior for specific versions of update-rc.d is 
> because of the "disable|enable API is not stable and might change in the 
> future" message that update-rc.d gives.

Hi Max,  

In squeeze enabling doesn't work too:

<pre>
May  4 13:37:54 otrsprd1 puppet-agent[13813]: 
(/Stage[main]/Postfix/Service[postfix]/ensure) change from stopped to running 
failed: Execution of '/usr/sbin/update-rc.d postfix enable' returned 1: 
update-rc.d: error: no runlevel symlinks to modify, aborting!#012update-rc.d: 
using dependency based boot sequencing
</pre>

This is with 2.6.7-2~bpo60+.


----------------------------------------
Bug #5908: Service Provider on Debian unable to disable services: now uses 
update-rc.d enable/disable
https://projects.puppetlabs.com/issues/5908

Author: Stig Sandbeck Mathisen
Status: Re-opened
Priority: Urgent
Assignee: 
Category: service
Target version: 
Affected Puppet version: 0.25.4
Keywords: provider, debian, service, update-rc.d
Branch: https://github.com/MaxMartin/puppet/tree/ticket/2.6.next/5908-update-rc
Affected Dashboard version: 


The debian provider of the service type now use update-rc.d "enable" and 
"disable", and lets "insserv" select which priorities to use for the symlinks.  
This is also true for non-upstart init scripts on Ubuntu.

The following commit, contributed by Martin F Krafft, can be merged to fix this 
issue:

Repo: git://git.debian.org/pkg-puppet/puppet.git

Commit: 83d88e218b5f8c940c4f2cc5ba33d3e976ed66bf

Gitweb: 
http://git.debian.org/?p=pkg-puppet/puppet.git;a=commit;h=83d88e218b5f8c940c4f2cc5ba33d3e976ed66bf




-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to