Re: [Bug 299482] Re: aptitude upgrade re-enables mysql rc scripts

2012-03-18 Thread msfree
This solution violates the principle of least surprise.

If an installed package has an init script that has been disabled it is
obvious that the individual/s who manage the system want it disabled.
The current upgrade script blindly assumes either the sysadmin did not
know what they were doing or they made a mistake.  Upgrade scripts should
never make such assumptions and should always respect configurations made
by administrators.

Roger Marquis


 http://www.debuntu.org/how-to-manage-services-with-update-rc.d

 # update-rc.d -f apache2 remove

 The use of -f is to force the removal of the symlinks even
 if there is still /etc/init.d/apache2.

 Note: This command will only disable the service until next
 time the service is upgraded. If you want to make sure the
 service won't be re-enabled upon upgrade, you should also
 type the following:

 # update-rc.d apache2 stop 80 0 1 2 3 4 5 6 .


 ** Package changed: aptitude (Ubuntu) = dpkg (Ubuntu)

 ** Changed in: dpkg (Ubuntu)
   Status: New = Invalid

 ** Package changed: dpkg (Ubuntu) = ubuntu

 -- 
 You received this bug notification because you are subscribed to the bug
 report.
 https://bugs.launchpad.net/bugs/299482

 Title:
  aptitude upgrade re-enables mysql rc scripts

 Status in Ubuntu:
  Invalid

 Bug description:
  Binary package hint: aptitude

  Upgrading previously installed software fails to check whether the
  package's rc scripts have been disabled and enables them regardless.
  If an rc script has been disabled (update-rc.d -f remove) it should
  remain disabled across upgrades (and safe-upgrades).  This flaw can
  be triggered in many packages but the ones noticed most recently are
  mysql*.  Have not checked sources but it probably should be patched in
  aptitude, synaptic, apt-get, dpkg, and any other package management
  utilities that perform upgrades.

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


-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/299482

Title:
  aptitude upgrade re-enables mysql rc scripts

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 299482] Re: aptitude upgrade re-enables mysql rc scripts

2012-03-17 Thread Daniel Hartwig
http://www.debuntu.org/how-to-manage-services-with-update-rc.d

 # update-rc.d -f apache2 remove

 The use of -f is to force the removal of the symlinks even
 if there is still /etc/init.d/apache2.

 Note: This command will only disable the service until next
 time the service is upgraded. If you want to make sure the
 service won't be re-enabled upon upgrade, you should also
 type the following:

 # update-rc.d apache2 stop 80 0 1 2 3 4 5 6 .


** Package changed: aptitude (Ubuntu) = dpkg (Ubuntu)

** Changed in: dpkg (Ubuntu)
   Status: New = Invalid

** Package changed: dpkg (Ubuntu) = ubuntu

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/299482

Title:
  aptitude upgrade re-enables mysql rc scripts

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs