Re: [systemd-devel] [PATCH] manager: add DefaultEnvironment option

2013-06-19 Thread Umut Tezduyar
On Sun, Jun 9, 2013 at 7:08 AM, Umut Tezduyar wrote: > --- > man/systemd-system.conf.xml | 21 + > man/systemd.exec.xml| 5 +++-- > src/core/load-fragment.c| 8 ++-- > src/core/main.c | 5 + > src/core/manager.c | 12 >

Re: [systemd-devel] [PATCH] Delay dbus connection for user session

2013-06-19 Thread Kok, Auke-jan H
On Tue, Jun 4, 2013 at 10:31 AM, Lennart Poettering wrote: > On Wed, 29.05.13 08:59, Yang Chengwei ([email protected]) wrote: > >> > > diff --git a/src/core/manager.c b/src/core/manager.c >> > > index 0508628..467b5ba 100644 >> > > --- a/src/core/manager.c >> > > +++ b/src/core/manager.c >>

Re: [systemd-devel] [PATCH] Describe handling of an AF_UNIX socket

2013-06-19 Thread Kok, Auke-jan H
On Wed, Jun 19, 2013 at 5:59 AM, Łukasz Stelmach wrote: > Describe how to handle an AF_UNIX socket, with Accept set to false, > received from systemd, upon exit. > > Signed-off-by: Łukasz Stelmach > --- > man/systemd.socket.xml | 12 +--- > 1 file changed, 9 insertions(+), 3 deletions(

Re: [systemd-devel] Masking socket activated services is broken

2013-06-19 Thread Michael Biebl
2013/6/19 Michael Biebl : > > To illustrate the problem: (non socket-activated service) ... > In contrast to a socket-activated service (rsyslog) ... > See the inconsistency? > In case of rsyslog, I can also trigger the start, by starting > syslog.socket again and running logger. I've tried it

Re: [systemd-devel] Text input on startup (tty-force) disabling after a few seconds

2013-06-19 Thread Colin Guthrie
'Twas brillig, and Peeters Simon at 19/06/13 16:51 did gyre and gimble: > It might be a bug in the tty-force handling, but this is not a usecase > for tty-force, you would be better of using systemd-ask-password > > I sugest you drop the StandardInput=tty-force from the service file > and use this

Re: [systemd-devel] Masking socket activated services is broken

2013-06-19 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Jun 19, 2013 at 07:31:44PM +0200, Michael Biebl wrote: > 2013/6/19 Kok, Auke-jan H : > > On Wed, Jun 19, 2013 at 9:47 AM, Michael Biebl wrote: > >> 2013/6/19 Kok, Auke-jan H : > >>> On Tue, Jun 18, 2013 at 10:15 PM, Michael Biebl wrote: > Hi, > > I've run "systemctl mask rs

Re: [systemd-devel] Masking socket activated services is broken

2013-06-19 Thread Andrey Borzenkov
В Wed, 19 Jun 2013 09:36:49 -0700 "Kok, Auke-jan H" пишет: > On Tue, Jun 18, 2013 at 10:15 PM, Michael Biebl wrote: > > Hi, > > > > I've run "systemctl mask rsyslog.service", but the service can still > > be started via > > "systemctl start rsyslog.service" or by generating a log message. > > >

Re: [systemd-devel] Text input on startup (tty-force) disabling after a few seconds

2013-06-19 Thread Tom Gundersen
Didn't cryptsetup recently get TC support? Could you use that (i.e. /etc/crypttab? On Jun 19, 2013 6:01 PM, "Peeters Simon" wrote: > > 2013/6/19 Natanji : > > Hi everyone, > > I'm somewhat new to systemd and have a problem. I would like to run a > > custom script with systemd on startup that will

Re: [systemd-devel] Masking socket activated services is broken

2013-06-19 Thread Michael Biebl
[stupid gmail which dropped the systemd-devel mailing list, so quoting it full here] 2013/6/19 Kok, Auke-jan H : > On Wed, Jun 19, 2013 at 9:47 AM, Michael Biebl wrote: >> 2013/6/19 Kok, Auke-jan H : >>> On Tue, Jun 18, 2013 at 10:15 PM, Michael Biebl wrote: Hi, I've run "systemct

Re: [systemd-devel] Masking socket activated services is broken

2013-06-19 Thread Kok, Auke-jan H
On Tue, Jun 18, 2013 at 10:15 PM, Michael Biebl wrote: > Hi, > > I've run "systemctl mask rsyslog.service", but the service can still > be started via > "systemctl start rsyslog.service" or by generating a log message. > > Looks like a bug to me. Why would it be? Masking just removes the unit fro

Re: [systemd-devel] Text input on startup (tty-force) disabling after a few seconds

2013-06-19 Thread Peeters Simon
2013/6/19 Natanji : > Hi everyone, > I'm somewhat new to systemd and have a problem. I would like to run a > custom script with systemd on startup that will ask me for a password > and mount a Truecrypt volume with it. The script and unit file I wrote > can be found below. > > Now, this setup does

Re: [systemd-devel] Problems with SWAP in 204

2013-06-19 Thread Colin Guthrie
'Twas brillig, and Henrik /KaarPoSoft at 19/06/13 13:06 did gyre and gimble: > However, I do think that you are on to something important here! > > According to the output of systemctl --full --all --type=swap > (attached in previous mail) > it seems that systemd is trying to activate swap by ever

Re: [systemd-devel] [PATCH] tmpfiles, man: Add xattr support to tmpfiles

2013-06-19 Thread Maciej Wereski
Hello, On 17.06.2013 at 18:18 Lennart Poettering wrote: I think adding this certainly makes sense, but I am not sure I like the syntax. Maybe it would be simpler to add an extra char for this ("a" or so?). That way creating a dir and applying an xattr would require two lines instead of one, bu

[systemd-devel] Text input on startup (tty-force) disabling after a few seconds

2013-06-19 Thread Natanji
Hi everyone, I'm somewhat new to systemd and have a problem. I would like to run a custom script with systemd on startup that will ask me for a password and mount a Truecrypt volume with it. The script and unit file I wrote can be found below. Now, this setup does work *somewhat* - basically it wi

[systemd-devel] [PATCH] Describe handling of an AF_UNIX socket

2013-06-19 Thread Łukasz Stelmach
Describe how to handle an AF_UNIX socket, with Accept set to false, received from systemd, upon exit. Signed-off-by: Łukasz Stelmach --- man/systemd.socket.xml | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/man/systemd.socket.xml b/man/systemd.socket.xml index

Re: [systemd-devel] Patch for Smack labelling support in udev

2013-06-19 Thread Reshetova, Elena
On Tue, Jun 18, 2013 at 4:43 AM, Auke-jan H Kok < [email protected] > wrote: On Mon, Jun 17, 2013 at 9:37 PM, Kyungmin Park wrote: >> Hi Elena, >> >> On Thu, Jun 6, 2013 at 7:10 PM, Lennart Poettering >>> wrote: On Wed, 08.05.13 11:16, Reshetova, Elena ([email protected]) w

Re: [systemd-devel] Problems with SWAP in 204

2013-06-19 Thread Henrik /KaarPoSoft
On 06/19/2013 12:10 PM, Peeters Simon wrote: 2013/6/19 Henrik /KaarPoSoft : Dear all, hei, I am experiencing a strange problem with swap using systemd 204. Any help in diagnosing this would be most appreciated. I have 64 GB of physical memory, and two 64 GB swap partitions. Do these have

Re: [systemd-devel] [PATCH] core: switch to journal when socket is listening

2013-06-19 Thread Umut Tezduyar
>> On Thu, Jun 13, 2013 at 9:26 PM, Umut Tezduyar wrote: >> > systemd starts using journal as soon as the journal >> > socket is in listening state instead of waiting for >> > journal's socket to switch to 'running' state. >> > --- >> > src/core/manager.c | 3 ++- >> > 1 file changed, 2 insertion

Re: [systemd-devel] Problems with SWAP in 204

2013-06-19 Thread Peeters Simon
2013/6/19 Henrik /KaarPoSoft : > Dear all, hei, > I am experiencing a strange problem with swap using systemd 204. > Any help in diagnosing this would be most appreciated. > > I have 64 GB of physical memory, > and two 64 GB swap partitions. Do these have the same partlabel? I think this might c

Re: [systemd-devel] Problems with SWAP in 204

2013-06-19 Thread Henrik /KaarPoSoft
On 06/19/2013 03:39 AM, Tom Gundersen wrote: On Wed, Jun 19, 2013 at 12:16 AM, Henrik /KaarPoSoft wrote: When booting, I get a few errors related to swap; in particular: Failed to reread /proc/swaps: File exists swapon: /dev/sda3: swapon failed: Device or resource busy The output of "systemct