On Mon, Sep 20, 2010 at 4:36 PM, Michael Biebl <span dir="ltr"><<a href="mailto:mbiebl@gmail.com">mbiebl@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
2010/9/20 Gustavo Sverzut Barbieri <<a href="mailto:barbieri@profusion.mobi">barbieri@profusion.mobi</a>>:<br>
<div class="im">> - do we really need to install 6 getty services by default? can't we<br>
> just install one and people that don't like to use 1 + screen enable<br>
> more? It is a PITA to remove the links after every installation of<br>
> systemd :-/<br>
><br>
<br>
</div>Why are the re-enabled? Is that a limitation of rpm re-creating those<br>
links in /etc?<br>
<br>
That said, "systemctl enable" should be more intelligent: When called<br>
in a postinst, it should not re-enable a service that was disabled by<br>
a user, unless you explicitly use something like a --force parameter.<br>
<br></blockquote><div><br>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.<br>
<br>Jens<br></div></div>