Re: Shouldn't pacman restart dovecot after update?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux