[Bug 819044] Re: puppet in natty can't enable services

Dave Walker davewalker at ubuntu.com
Tue Aug 2 09:30:38 UTC 2011


Thanks for the bug report.

This is noted as being resolved in the Oneiric package, but I have some
concerns regarding the differing hunks.

sysv-rc is 2.88dsf-13.10ubuntu4 in current Oneiric, meaning that
'disable' is used.  It's not clear to me if this is ok.  Before we can
SRU this, we need to confirm that it is resolved in Oneiric.

  def disable
    if `dpkg --compare-versions $(dpkg-query -W --showformat '${Version}' sysv-rc) ge 2.88 ; echo $?`.to_i == 0
      update_rc @resource[:name], "disable"
    else
      update_rc "-f", @resource[:name], "remove"
      update_rc @resource[:name], "stop", "00", "1", "2", "3", "4", "5", "6", "."
    end
  end

...
  def enable
    update_rc "-f", @resource[:name], "remove"
    update_rc @resource[:name], "defaults"



** Also affects: puppet (Ubuntu Natty)
   Importance: Undecided
       Status: New

** Changed in: puppet (Ubuntu Natty)
       Status: New => Confirmed

** Changed in: puppet (Ubuntu Natty)
   Importance: Undecided => Medium

** Changed in: puppet (Ubuntu)
   Importance: Undecided => Medium

** Also affects: puppet (Ubuntu Oneiric)
   Importance: Medium
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to puppet in Ubuntu.
https://bugs.launchpad.net/bugs/819044

Title:
  puppet in natty can't enable services

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/puppet/+bug/819044/+subscriptions



More information about the Ubuntu-server-bugs mailing list