[arch-general] Shouldn't pacman restart dovecot after update?

Attila vodoo0904 at sonnenkinder.org
Tue Aug 3 12:40:59 EDT 2010


At Dienstag, 3. August 2010 06:39 Tavian Barnes wrote:

> Because of KISS?  Pacman is a package manager, not a system administration 
tool.

This has nothing to do with package manager or not because dpkg or rpm can do 
this without a problem.

> Imagine the story with a different daemon: SSH.  You ssh into your
> box, su, and pacman -Syu.  Halfway through the upgrade, openssh gets
> updated, which automatically restarts the server, which SIGHUPs
> pacman, which is left in an inconsistent state.

I have never had problems with a ssh session if i update ssh on my opensuse 
server and the specfile has this inside:

%postun
%restart_on_update sshd
%{insserv_cleanup}

It is okay if you say KISS is the goal but inside of a *.install file you could 
do the same as in a specfile of a rpm package and no one would call rpm a 
"system administration tool".-)

And before one of the arch devs could misunderstood my lines: I can live 
perfectly that we the users do this by ourselves instead that the packaging 
comsumes more and more time.

See you, Attila



More information about the arch-general mailing list