On Thu, 17.12.15 22:22, Richard W.M. Jones (rjo...@redhat.com) wrote:

> On Thu, Dec 17, 2015 at 02:35:03PM -0600, Jason L Tibbitts III wrote:
> > >>>>> "HH" == Harald Hoyer <har...@redhat.com> writes:
> > 
> > HH> The preset enablement would be missing.
> > 
> > Couldn't systemd simply apply presets when it is installed?  (Not
> > upgraded, but on a fresh install?)
> 
> Couldn't it use inotify (or whatever we're using these days to detect
> filesystem changes)?  So when you drop in the unit file, systemd
> notices and reloads.

It would neither solve this problem (since we are not running then),
nor is this somethign we can ever support. Watching config changes
with inotify is calling for trouble, as there's no concept for file
system transactions on Linux, and your daemon might end up rereading
the configuration at the wrong time, for example, while a file is
being moved around, and then you end up reading it twice under two
names, or not at all.

Lennart

-- 
Lennart Poettering, Red Hat
--
devel mailing list
devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/devel@lists.fedoraproject.org

Reply via email to