[systemd-devel] /usr vs /etc for default distro units enablement

Lennart Poettering lennart at poettering.net
Mon Dec 1 16:29:32 PST 2014

On Tue, 18.11.14 14:10, Tom Gundersen (teg at jklm.no) wrote:

> > - We are mixing sys admin information and distro default choices in the same
> > directories, and can't tell apart what is what.
> That is true. Could we perhaps improve on systemctl by printing
> "enabled (preset)"/"disable (preset)" for units that are in the
> default state? I know this does not change the fact that you have
> distro-default (via presets) links in /etc, but it should give the
> end-user a nicer experienc I guess?

Sounds like a good idea. Added to TODO list.

> My take on this is: make sure presets are applied on "firstboot"
> (which I think they are), so empty /etc works just fine, and then
> improve on systemctl to better show the distinction between 'enabled
> by default' or 'enabled by choice' (and same for 'disabled').

Yes systemd applies the presets on firstboot automatically, before
calculating the initial transactions.


Lennart Poettering, Red Hat

More information about the systemd-devel mailing list