Re: [systemd-devel] [PATCH] Reset the context of /run/user/UID to the default. Bug #1097901.

2014-05-16 Thread Miroslav Grepl
On 05/15/2014 07:12 PM, Lennart Poettering wrote: On Thu, 15.05.14 18:54, Miroslav Grepl (mgr...@redhat.com) wrote: u-runtime_path = p; return 0; @@ -423,7 +424,9 @@ int user_start(User *u) { log_debug(New user %s logged in., u-name); /* Make

Re: [systemd-devel] [PATCH] Reset the context of /run/user/UID to the default. Bug #1097901.

2014-05-16 Thread Lennart Poettering
On Fri, 16.05.14 17:32, Miroslav Grepl (mgr...@redhat.com) wrote: I'd really prefer if we could keep userspace-controlled labelling at a minimum. If you ask me we kinda already do too much of it... Yes. We discuss it in the #1092059 bug again. Basically the problem is we are not able to

[systemd-devel] [PATCH] Reset the context of /run/user/UID to the default. Bug #1097901.

2014-05-15 Thread Miroslav Grepl
--- src/login/logind-user.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/login/logind-user.c b/src/login/logind-user.c index 961cbcb..42946ae 100644 --- a/src/login/logind-user.c +++ b/src/login/logind-user.c @@ -337,6 +337,7 @@ static int user_mkdir_runtime_path(User *u) {

Re: [systemd-devel] [PATCH] Reset the context of /run/user/UID to the default. Bug #1097901.

2014-05-15 Thread Lennart Poettering
On Thu, 15.05.14 14:54, Miroslav Grepl (mgr...@redhat.com) wrote: --- src/login/logind-user.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/login/logind-user.c b/src/login/logind-user.c index 961cbcb..42946ae 100644 --- a/src/login/logind-user.c +++ b/src/login/logind-user.c

Re: [systemd-devel] [PATCH] Reset the context of /run/user/UID to the default. Bug #1097901.

2014-05-15 Thread Miroslav Grepl
On 05/15/2014 06:24 PM, Lennart Poettering wrote: On Thu, 15.05.14 14:54, Miroslav Grepl (mgr...@redhat.com) wrote: --- src/login/logind-user.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/login/logind-user.c b/src/login/logind-user.c index 961cbcb..42946ae 100644 ---

Re: [systemd-devel] [PATCH] Reset the context of /run/user/UID to the default. Bug #1097901.

2014-05-15 Thread Lennart Poettering
On Thu, 15.05.14 18:54, Miroslav Grepl (mgr...@redhat.com) wrote: u-runtime_path = p; return 0; @@ -423,7 +424,9 @@ int user_start(User *u) { log_debug(New user %s logged in., u-name); /* Make XDG_RUNTIME_DIR */ +label_init(/var/run/user);