Avoiding lxc start in boot (Ubuntu 12.10)

Tom H tomh0665 at gmail.com
Fri Apr 26 10:59:13 UTC 2013


On Fri, Apr 26, 2013 at 6:27 AM, Avi Greenbury <lists at avi.co> wrote:
> compdoc wrote:


>>> How should I avoid lxc starting in boot ?
>>
>> You can remove the file you find. It's likely to have lcx in its name.
>
> This, generally, isn't the way to do it.

Definitely not the way.


>> You should also read about the command: update-rc.d
>
> This is (or was). On older Ubuntu's that used sysV, in order to stop a
> service called 'service' from starting on boot you would do
>
> update-rc.d -f service remove

This isn't the right way because it removes the links in "/etc/rcX.d"
but they'll be recreated when the service is upgraded.

>From 9.10:
update-rc.d service disable

Before 9.10, create K scripts either manually or with update-rc.d.




More information about the ubuntu-users mailing list