Re: Shouldn't pacman restart dovecot after update?

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



On 3 August 2010 03:04, Jan de Groot <jan@xxxxxxxxxxxxxx> wrote:
> 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...)

Huh, I did not know that, cool.  Still, the example works if you
replace ssh with some hypothetical service that doesn't gracefully
handle restarts.  Or the worse case where the restart fails and you
only notice 4 days later.

-- 
Tavian Barnes


[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