Re: [systemd-devel] [PATCH 2/3] logind: session: set_controller should fail if prepare_vt fails

2014-08-11 Thread David Herrmann
Hi On Fri, Aug 8, 2014 at 8:45 PM, Olivier Brunel j...@jjacky.com wrote: If controllers can expect logind to have prepared the VT (e.g. set it to graphics mode, etc) then TakeControl() should fail if said preparation failed (and session_restore_vt() was called). ---

Re: [systemd-devel] [PATCH 2/3] logind: session: set_controller should fail if prepare_vt fails

2014-08-11 Thread Lennart Poettering
On Mon, 11.08.14 17:17, David Herrmann (dh.herrm...@gmail.com) wrote: Hi On Fri, Aug 8, 2014 at 8:45 PM, Olivier Brunel j...@jjacky.com wrote: If controllers can expect logind to have prepared the VT (e.g. set it to graphics mode, etc) then TakeControl() should fail if said preparation

Re: [systemd-devel] [PATCH 2/3] logind: session: set_controller should fail if prepare_vt fails

2014-08-11 Thread David Herrmann
Hi On Mon, Aug 11, 2014 at 6:13 PM, Lennart Poettering lenn...@poettering.net wrote: On Mon, 11.08.14 17:17, David Herrmann (dh.herrm...@gmail.com) wrote: Hi On Fri, Aug 8, 2014 at 8:45 PM, Olivier Brunel j...@jjacky.com wrote: If controllers can expect logind to have prepared the VT

[systemd-devel] [PATCH 2/3] logind: session: set_controller should fail if prepare_vt fails

2014-08-08 Thread Olivier Brunel
If controllers can expect logind to have prepared the VT (e.g. set it to graphics mode, etc) then TakeControl() should fail if said preparation failed (and session_restore_vt() was called). --- src/login/logind-session.c | 15 +-- src/login/logind-session.h | 2 +- 2 files changed,