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

Jan de Groot jan at jgc.homeip.net
Tue Aug 3 05:04:49 EDT 2010


On Mon, 2010-08-02 at 22:39 -0600, Tavian Barnes wrote:
> 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.

OpenSSH is designed to keep its connection alive during restarts. You
can even stop sshd without losing connection, as long as the rc.d script
is not buggy (we had a buggy script that would kill all child processes
too a while ago...)



More information about the arch-general mailing list