[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 0/5] Add systemd socket launching support.
From: |
Matthew Leach |
Subject: |
Re: [PATCH 0/5] Add systemd socket launching support. |
Date: |
Sun, 27 Mar 2016 14:53:40 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
Wolfgang Jenkner <address@hidden> writes:
> On Sun, Mar 27 2016, Matthew Leach wrote:
>
>> The idea
>> behind socket activation is that, systemd knows about the socket's
>> existence and won't unmount any file-systems where the socket resides
>> until the daemon has shut down, this is causing a race condition on
>> reboot for me.
>
> So what's the problem? A stale socket?
Emacs creates the server socket somewhere in /tmp. What I think is
happening is when rebooting systemd unmounts /tmp and emacsclient can't
send "(kill-emacs)" to the server. This results in the emacs daemon
process not being shutdown and systemd delaying the shutdown/reboot by
90 seconds.
Thanks,
--
Matt
- Re: [PATCH 3/5] Permit systemd-allocated socket file-descriptors to be used., (continued)
[PATCH 1/5] Check for libsystemd when building Emacs., Matthew Leach, 2016/03/26
Re: [PATCH 0/5] Add systemd socket launching support., Alan Mackenzie, 2016/03/26
Re: [PATCH 0/5] Add systemd socket launching support., Matthew Leach, 2016/03/27
Re: [PATCH 0/5] Add systemd socket launching support., Mark Oteiza, 2016/03/27
Re: [PATCH 0/5] Add systemd socket launching support., Matthew Leach, 2016/03/27
Re: [PATCH 0/5] Add systemd socket launching support., Eli Zaretskii, 2016/03/27