[systemd-devel] Services enabled by default?

Jens Persson xerxes2 at gmail.com
Mon Sep 20 07:52:05 PDT 2010


On Mon, Sep 20, 2010 at 4:36 PM, Michael Biebl <mbiebl at gmail.com> wrote:

> 2010/9/20 Gustavo Sverzut Barbieri <barbieri at profusion.mobi>:
> >  - do we really need to install 6 getty services by default? can't we
> > just install one and people that don't like to use 1 + screen enable
> > more? It is a PITA to remove the links after every installation of
> > systemd :-/
> >
>
> Why are the re-enabled? Is that a limitation of rpm re-creating those
> links in /etc?
>
> That said, "systemctl enable" should be more intelligent: When called
> in a postinst, it should not re-enable a service that was disabled by
> a user, unless you explicitly use something like a --force parameter.
>
>
Usually when you upgrade a package postinst is not called, "postupgrade" is.
So I don't think there is a need for making systemctl remember that. To do
that there would have to be a systemd "database" of some kind but I'm not
sure of that adding such complexity is necessary.

Jens
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20100920/6e1e866e/attachment-0001.html>


More information about the systemd-devel mailing list