[systemd-devel] [PATCH] login: share VT-signal handler between sessions
dh.herrmann at gmail.com
Wed Aug 13 00:07:26 PDT 2014
On Mon, Aug 11, 2014 at 7:57 PM, Olivier Brunel <jjk at jjacky.com> wrote:
> On 08/11/14 18:21, David Herrmann wrote:
>> sd-event does not allow multiple handlers for a single signal. However,
>> logind sets up signal handlers for each session with VT_PROCESS set (that
>> is, it has an active controller). Therefore, registering multiple such
>> controllers will fail.
>> Lets make the VT-handler global, as it's mostly trivial, anyway. This way,
>> the sessions don't have to take care of that and we can simply acknowledge
>> all VT-switch requests as we always did.
>> Hi Olivier
>> Can you give this a try? It should solve your issues.
> Yes, just tried it -- it does solve the issue.
More information about the systemd-devel