Am Freitag 03 Juni 2005 04:06 schrieb Anthony Gorecki:
> Why not just hook Portage's emerge process? The hook could be
> configured to automatically restart the associated init.d files of any
> emerged package. As to the libraries, `equery d PACKAGE` could be used
> to see which programs need to be restarted.
>
> I have the same interest in automatic restarts; if I ever find the
> time, I'm planning to implement something similar to the above
> described process.
>

Automatic restarts of daemons is not good I think. At least not as long as 
the config files of the daemons which would be restarted are checked for 
consistency with the newer version. I would always do this manually, so I 
can step in if something bad happens.

As far as the libraries are concerned a restart of a depending daemon 
could happen automatically. It's config files wouldn't have changed. Also 
it is not likely that a restart would fail. If you stay away from ~arch 
at least. :)

Initially I wrote about a notification. Maybe equery d PACKAGE and lsof | 
grep DEL are a good start for watching what happens after an update.

Thanks for your replies.

Timo
-- 
[email protected] mailing list

Reply via email to