Re: [systemd-devel] [PATCH] logind: add sys_tty_config capability, to let it use VT_ACTIVATE ioctl on activate action

2012-01-27 Thread Lennart Poettering
On Wed, 25.01.12 21:20, Mike Kazantsev (mk.frag...@gmail.com) wrote: Good day, Problem is that systemd-loginctl activate session-id gives something like D-Bus call failed: Operation not permitted, while strace of logind process looks like this: epoll_wait(4, {{EPOLLIN, {u32=3,

[systemd-devel] [PATCH] logind: add sys_tty_config capability, to let it use VT_ACTIVATE ioctl on activate action

2012-01-25 Thread Mike Kazantsev
Good day, Problem is that systemd-loginctl activate session-id gives something like D-Bus call failed: Operation not permitted, while strace of logind process looks like this: epoll_wait(4, {{EPOLLIN, {u32=3, u64=3}}}, 1, -1) = 1 epoll_wait(9, {{EPOLLIN, {u32=166352544, u64=166352544}}}, 1, 0)