Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] upgrade's and rc-scripts
Date: Wed, 20 Jul 2005 22:25:28
Message-Id: 200507201823.15864.vapier@gentoo.org
In Reply to: [gentoo-dev] upgrade's and rc-scripts by "Brian D. Harring"
1 On Wednesday 20 July 2005 05:54 pm, Brian D. Harring wrote:
2 > Out of curiousity, has any put any thought into some automated method
3 > or hook for allowing restarting of rc-scripts on upgrade/re-emerge of
4 > a package?
5
6 such a completely automated thing is a bad idea ... detecting and warning
7 though isnt a bad idea ... too many issues such as config files may need to
8 be upgraded or maybe a config file was edited but admin doesnt want to
9 restart the service just yet, etc...
10
11 this probably falls under the pkg_{pre,post}inst gathering code bug ... but at
12 the very end of an emerge process, i think that there should be a summary of
13 packages which were upgraded and have a running init script ... detecting
14 whether a given init script is running is trivial, just ask us base folk on
15 irc and we can point you in the right direction
16 -mike
17 --
18 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] upgrade's and rc-scripts Zac Medico <zmedico@×××××.com>