On Wed, Jan 12, 2005 at 04:33:13PM +0100, Féliciano Matias wrote:
Le mercredi 12 janvier 2005 à 15:13 +0000, Joe Orton a écrit :
On Wed, Jan 12, 2005 at 02:09:27PM +0100, Féliciano Matias wrote:
Update subversion (and mod_dav_svn) to 1.1.2-2.3. But still need to do "services httpd reload".
As expected, that's entirely the responsibility of root.
"rpm -[iU]" only works with root. But I understand your point.
Is this a bug ? $ rpm -q --scripts bind postuninstall scriptlet (using /bin/sh): if [ "$1" -ge 1 ]; then /etc/rc.d/init.d/named condrestart >/dev/null 2>&1 || : fi
I'd say it depends on the daemon, for some it could be necessary. But for any network-facing daemon I would say that it's surprising and undesirable behaviour if a package update breaks active client connections etc. Making configuration changes take effect from a %post is unfriendly; especially if the config is not marked noreplace.
joe