Web lists-archives.com

Re: upgraded config files in /lib/systemd/system




On Tuesday, 28 February 2017 14:01:18 CET Harald Dunkel wrote:
> short question about /lib/systemd/system: AFAICS the config
> files here are supposed to be overridden by local config files
> in /etc/systemd/system, using the same path, as described in
> systemd.unit(5)
> 
> How can I make sure that there is a conflict dialog at upgrade
> time, if I have to modify the unit file shipped with my package?

I don't understand why a change in /lib/systemd/system should trigger a 
conflict warning.

Either you have changed a value not modified by end user and there's no conflict

Or you change a value overridden by user, then your change is not taken into 
account by systemd: conflict is solved by giving priority to user value.

Did I miss something ?

All the best
-- 
 https://github.com/dod38fr/   -o- http://search.cpan.org/~ddumont/
http://ddumont.wordpress.com/  -o-   irc: dod at irc.debian.org