Re: [systemd-devel] [PATCHv2] tty: Set correct tty name in 'active' sysfs attribute

2014-02-07 Thread Kay Sievers
On Thu, Feb 6, 2014 at 5:29 PM, Greg Kroah-Hartman wrote: > On Thu, Feb 06, 2014 at 04:44:20PM +0100, Hannes Reinecke wrote: >> On 02/06/2014 04:29 PM, Greg Kroah-Hartman wrote: >> > On Thu, Feb 06, 2014 at 03:27:43PM +0100, Hannes Reinecke wrote: >> >> The 'active' sysfs attribute should refer to

[systemd-devel] [PATCHv3] tty: Set correct tty name in 'active' sysfs attribute

2014-02-07 Thread Hannes Reinecke
The 'active' sysfs attribute should refer to the currently active tty devices the console is running on, not the currently active console. The console structure doesn't refer to any device in sysfs, only the tty the console is running on has. So we need to print out the tty names in 'active', not t

[systemd-devel] [PATCH] man: cryptsetup-1.6.3 now allows partition device file in system mode

2014-02-07 Thread Jan Janssen
--- man/crypttab.xml | 9 + 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/man/crypttab.xml b/man/crypttab.xml index 5f386e5..c563851 100644 --- a/man/crypttab.xml +++ b/man/crypttab.xml @@ -305,14 +305,7 @@ Use TrueCrypt in system

Re: [systemd-devel] [PATCH 1/3] Add SELinuxContext configuration item

2014-02-07 Thread Michael Scherer
Le jeudi 06 février 2014 à 12:21 -0800, David Timothy Strauss a écrit : > In order to maximize consistency with newly committed options in > systemd-nspawn, would it make sense to allow independent configuration > of the process and file labels instead? The file label are decided by selinux polic

Re: [systemd-devel] [PATCH] man: cryptsetup-1.6.3 now allows partition device file in system mode

2014-02-07 Thread Tom Gundersen
On Fri, Feb 7, 2014 at 12:47 PM, Jan Janssen wrote: > --- > man/crypttab.xml | 9 + > 1 file changed, 1 insertion(+), 8 deletions(-) > > diff --git a/man/crypttab.xml b/man/crypttab.xml > index 5f386e5..c563851 100644 > --- a/man/crypttab.xml > +++ b/man/crypttab.xml > @@ -305,14 +305,7 @

Re: [systemd-devel] [PATCH 1/7] logind: add function session_jobs_reply() to unify the create reply

2014-02-07 Thread Lennart Poettering
On Thu, 06.02.14 21:37, Djalal Harouni (tix...@opendz.org) wrote: Applied this one! Thanks! > The session_send_create_reply() function which notifies clients about > session creation is used for both session and user units. Unify the > shared code in a new function session_jobs_reply(). > > The

[systemd-devel] [PATCH] STACK (http://css.csail.mit.edu/stack/) found issues for unstable optimized code again.

2014-02-07 Thread Stefan Beller
The first problem arises in src/gudev/gudevdevice.c In lines 688 and 882 we call the function split_at_whitespace, which is just a wrapper around g_strsplit_set, but removes also the empty strings. Now in this wrapper function we have a 'gchar **result;' on which we'll operate. In line 638 we star

Re: [systemd-devel] [PATCH v2 0/7] logind: close races on user and session states

2014-02-07 Thread Lennart Poettering
On Thu, 06.02.14 21:37, Djalal Harouni (tix...@opendz.org) wrote: Heya! So, I was working on fixes for this in parallel which I have pushed earlier today, which change a couple of things around in more complex ways. Some of them conflict with yours changes. I'll commit the ones of yours that stil

Re: [systemd-devel] [PATCH 2/7] logind: close races on user and session states during login

2014-02-07 Thread Lennart Poettering
On Thu, 06.02.14 21:37, Djalal Harouni (tix...@opendz.org) wrote: I think this one I fixed by adding a new "stopping" variable. Could you check? > Currently the user and session states are not stable, they are affected > by several races during login: > > 1) session state: >To get the sessio

Re: [systemd-devel] [PATCH 7/7] logind: do not call session_jobs_reply() on CLOSING

2014-02-07 Thread Lennart Poettering
On Thu, 06.02.14 21:37, Djalal Harouni (tix...@opendz.org) wrote: Hmm, isn't this issue already caught by the "if (!s->create_message)" check in session_send_reply()? Thanks! > match_job_removed() signal is triggered when queued jobs finish during > session opening or closing. > > Calling sessi

Re: [systemd-devel] [PATCH 5/7] logind: just call session_get_state() to get the session state

2014-02-07 Thread Lennart Poettering
On Thu, 06.02.14 21:37, Djalal Harouni (tix...@opendz.org) wrote: This one looks good, but could you rebase it please? Thanks! > In function user_get_state() remove the session_is_active() check, just > count on the session_get_state() function to get the correct session > state. > > session_is

Re: [systemd-devel] [PATCH 0/3] SELinuxContext configuration, v2

2014-02-07 Thread Lennart Poettering
On Thu, 06.02.14 10:05, Michael Scherer (m...@zarb.org) wrote: > This series of patch implement a SELinuxContext configuration item, > whose usage is explained in the first mail. This patch series take in > account the feedback received on > http://lists.freedesktop.org/archives/systemd-devel/201

Re: [systemd-devel] [PATCH v2 0/7] logind: close races on user and session states

2014-02-07 Thread Djalal Harouni
On Fri, Feb 07, 2014 at 04:29:48PM +0100, Lennart Poettering wrote: > On Thu, 06.02.14 21:37, Djalal Harouni (tix...@opendz.org) wrote: > > Heya! > > So, I was working on fixes for this in parallel which I have pushed > earlier today, which change a couple of things around in more complex > ways.

Re: [systemd-devel] [PATCH v2 0/7] logind: close races on user and session states

2014-02-07 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Feb 06, 2014 at 09:37:13PM +0100, Djalal Harouni wrote: > Summary: > Currently logind will not clear sessions on logout. The bug is confirmed > for getty and ssh logins. This series is preparation for next patches to > address that bug, it does not fix it. > However, this series also fixe r

[systemd-devel] systemd-networkd + VLANs problems

2014-02-07 Thread Oleksii Shevchuk
Hello, list. So, I try to use VLANs feature introduced to systemd-networkd/git two weeks ago (54abf461d6b10dc270c4bb2aeac65f240ff1c5cd). I want to have next layout: Links: 1. Eth 1.1 Vlan1 1.2 Vlan2 (Ring1) 2. Bridge (Ring0) 2.1 Vlan2 Networks: 1. Vlan1 2. Bridge So, I try next configs: >