[Top][All Lists]

[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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]