Re: [systemd-devel] Automatic user ACL management

2015-05-18 Thread Mikhail Morfikov
On Mon, 18 May 2015 18:18:57 +0200 Lennart Poettering wrote: > On Mon, 18.05.15 18:16, Mikhail Morfikov (mmorfi...@gmail.com) wrote: > > > Something is wrong. I did the following steps: > > > > $ newgrp audio > > > > In the log I have the following message: > > > > May 18 18:02:19 morfikownia

Re: [systemd-devel] Automatic user ACL management

2015-05-18 Thread Lennart Poettering
On Mon, 18.05.15 18:16, Mikhail Morfikov (mmorfi...@gmail.com) wrote: > Something is wrong. I did the following steps: > > $ newgrp audio > > In the log I have the following message: > > May 18 18:02:19 morfikownia newgrp[80543]: user 'morfik' (login 'morfik' on > pts/7) switched to group 'aud

Re: [systemd-devel] Automatic user ACL management

2015-05-18 Thread Mikhail Morfikov
On Mon, 18 May 2015 17:38:33 +0200 Lennart Poettering wrote: > On Sun, 17.05.15 12:46, Mikhail Morfikov (mmorfi...@gmail.com) wrote: > > > As you can read, for instance here > > ( > > http://enotty.pipebreaker.pl/2012/05/23/linux-automatic-user-acl-management/ > > ), logind, which is a part of

Re: [systemd-devel] Automatic user ACL management

2015-05-18 Thread Lennart Poettering
On Sun, 17.05.15 12:46, Mikhail Morfikov (mmorfi...@gmail.com) wrote: > As you can read, for instance here > ( http://enotty.pipebreaker.pl/2012/05/23/linux-automatic-user-acl-management/ > ), logind, which is a part of systemd, can set permissions to some > devices for user sessions. There's also

Re: [systemd-devel] Automatic user ACL management

2015-05-18 Thread Lennart Poettering
On Sun, 17.05.15 14:20, Mikhail Morfikov (mmorfi...@gmail.com) wrote: > allow-module-loading = no > allow-exit = no > system-instance = yes > enable-shm = no > exit-idle-time = -20 > > then I started pulseaudio in the system mode and I was able to play > sound all the time. But there's another qu

Re: [systemd-devel] Automatic user ACL management

2015-05-17 Thread Mikhail Morfikov
On Sun, 17 May 2015 15:00:11 +0200 Martin Pitt wrote: > Mikhail Morfikov [2015-05-17 12:46 +0200]: > > As you can read, for instance here > > ( > > http://enotty.pipebreaker.pl/2012/05/23/linux-automatic-user-acl-management/ > > ), logind, which is a part of systemd, can set permissions to some

Re: [systemd-devel] Automatic user ACL management

2015-05-17 Thread Martin Pitt
Mikhail Morfikov [2015-05-17 12:46 +0200]: > As you can read, for instance here > ( http://enotty.pipebreaker.pl/2012/05/23/linux-automatic-user-acl-management/ > ), logind, which is a part of systemd, can set permissions to some > devices for user sessions. There's also a vid showing how this kind

Re: [systemd-devel] Automatic user ACL management

2015-05-17 Thread Reindl Harald
Am 17.05.2015 um 14:20 schrieb Mikhail Morfikov: On Sun, 17 May 2015 12:55:18 +0200 Reindl Harald wrote: Am 17.05.2015 um 12:46 schrieb Mikhail Morfikov: Is that possible? I'm asking because I often listen to the music and I don't really need my monitor to be on most of the time, so I just l

Re: [systemd-devel] Automatic user ACL management

2015-05-17 Thread Mikhail Morfikov
On Sun, 17 May 2015 12:55:18 +0200 Reindl Harald wrote: > > > Am 17.05.2015 um 12:46 schrieb Mikhail Morfikov: > > Is that possible? I'm asking because I often listen to the music > > and I don't really need my monitor to be on most of the time, so I > > just lock the screen. But when I lock th

Re: [systemd-devel] Automatic user ACL management

2015-05-17 Thread Reindl Harald
Am 17.05.2015 um 12:46 schrieb Mikhail Morfikov: Is that possible? I'm asking because I often listen to the music and I don't really need my monitor to be on most of the time, so I just lock the screen. But when I lock the screen, the active session becomes inactive and amarok stops playing. An

[systemd-devel] Automatic user ACL management

2015-05-17 Thread Mikhail Morfikov
As you can read, for instance here ( http://enotty.pipebreaker.pl/2012/05/23/linux-automatic-user-acl-management/ ), logind, which is a part of systemd, can set permissions to some devices for user sessions. There's also a vid showing how this kind of behavior works in practice ( https://www.youtub