[systemd-devel] Unwants

Dimitri John Ledkov dimitri.j.ledkov at intel.com
Tue Jan 27 05:51:38 PST 2015

On 27 January 2015 at 12:38, Lennart Poettering <lennart at poettering.net> wrote:
> On Thu, 22.01.15 14:08, Dimitri John Ledkov (dimitri.j.ledkov at intel.com) wrote:
>> > In any case, /etc overrides /run, so your example can never work.
>> >
>> Oh, ok. But any combination of the two. E.g. for /etc to unwant from
>> /run then, or for /etc to unwant from /usr.
>> At the moment, I'm looking at packaging symlinks in .wants directories
>> under /usr and then allow to uninstall such a package as a means to
>> override the default config. Since I would like to update how the
>> default config is setup, without doing in /etc where I'd have to
>> answer "is this my old config, or user modified it and I shouldn't
>> touch it"
> I am not grokking this. If you remove the package with the symlinks in
> /usr, then den deps are gone, so why do you need something in /etc or
> /run still?

For the case when one cannot remove the package at runtime (i.e. /usr
is read only)
or there is no mechanism to remove packages at all (no package manager).



Intel Corporation (UK) Ltd. - Co. Reg. #1134945 - Pipers Way, Swindon SN3 1RJ.

More information about the systemd-devel mailing list