The specific problem here is that modemmanager depends on network-manager:

$ cat /etc/init/modemmanager.conf
(...)
start on starting network-manager
stop on stopped network-manager
(...)

But I don't need network-manager and all of its dependencies on this server.

I'd just like to start modemmanager at boot without network-manager installed. But this seems not possible unless I manually edit the .conf file.

On 08/17/2015 02:24 PM, Oliver Grawert wrote:
Am Montag, den 17.08.2015, 12:38 +0100 schrieb João M. S. Silva:

does it mean I'm not using systemd? I don't seem to have systemd
installed (Ubuntu 14.04.3 LTS).

update-rc.d and invoke-rc.d are tools for package maintainers only (to
be used from pre/postinst scripts) and only applies to sysv-init
scripts ...

if you need to prevent an upstart service from starting on boot you need
to create a .override files containing the word "manual", as described
in your askubuntu links. i dont think there exists a tool to do that for
you (and such a tool would be quite overkill to replace a one liner
anyway :) )

note that by debian policy a service shipped in a deb is required to
always start, the debian assumption is that you uninstall the deb if you
do not want to run the service ([1] has some details).

ciao
        oli

[1]
http://blog.zugschlus.de/archives/974-Debians-Policy-rc.d-infrastructure-explained.html



--
João M. S. Silva

--
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss

Reply via email to