[Bug 299482] Re: aptitude upgrade re-enables mysql rc scripts
Daniel Hartwig
299482 at bugs.launchpad.net
Sat Mar 17 09:09:22 UTC 2012
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
Foundations Bugs, which is subscribed to dpkg in Ubuntu.
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-upgrade"s). 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
More information about the foundations-bugs
mailing list