[systemd-devel] Unwants
Andrei Borzenkov
arvidjaar at gmail.com
Thu Jan 22 08:32:25 PST 2015
В Thu, 22 Jan 2015 15:46:26 +0100
Michael Biebl <mbiebl at gmail.com> пишет:
> 2015-01-22 15:08 GMT+01:00 Dimitri John Ledkov <dimitri.j.ledkov at intel.com>:
> > 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"
>
> That's indeed a tough problem. The upstream recommendation is, to run
> "systemctl preset" during the initial installation.
> If there are changes to the default in the unit files, those changes
> are *not* applied on package upgrades.
>
> I don't think that's a particularly compelling solution.
>
> In Debian, we introduced a helper called i-s-h [1], which keeps some
> additional state and tries to apply such changes on updates.
There was long discussion on this just recently.
http://lists.freedesktop.org/archives/systemd-devel/2014-November/025288.html
More information about the systemd-devel
mailing list