[systemd-devel] Question about the cross session dependence

2013-04-21 Thread Li, Min A
Hi systemd experts, I have a question about the dependence of user and system session. At system session, there is a service which need to be started after X(user session). At first I added "After=xorg.target" at this service, but It is said that the dependence of cross session is not work. Is t

Re: [systemd-devel] nsenter and SIGSTOP

2013-04-21 Thread Eric W. Biederman
Zbigniew Jędrzejewski-Szmek writes: > On Sun, Apr 21, 2013 at 09:18:34AM -0700, Eric W. Biederman wrote: >> Zbigniew Jędrzejewski-Szmek writes: >> >> > On Sat, Apr 20, 2013 at 03:27:46PM -0700, Eric W. Biederman wrote: >> >> Zbigniew Jędrzejewski-Szmek writes: >> >> >> >> > Hi, >> >> > I've h

Re: [systemd-devel] nsenter and SIGSTOP

2013-04-21 Thread Zbigniew Jędrzejewski-Szmek
On Sun, Apr 21, 2013 at 09:18:34AM -0700, Eric W. Biederman wrote: > Zbigniew Jędrzejewski-Szmek writes: > > > On Sat, Apr 20, 2013 at 03:27:46PM -0700, Eric W. Biederman wrote: > >> Zbigniew Jędrzejewski-Szmek writes: > >> > >> > Hi, > >> > I've hit a bit of a problem with nsenter and systemd-

Re: [systemd-devel] nsenter and SIGSTOP

2013-04-21 Thread Eric W. Biederman
Zbigniew Jędrzejewski-Szmek writes: > On Sat, Apr 20, 2013 at 03:27:46PM -0700, Eric W. Biederman wrote: >> Zbigniew Jędrzejewski-Szmek writes: >> >> > Hi, >> > I've hit a bit of a problem with nsenter and systemd-nspawn. >> > When nsenter is used to enter the PID namespace created with >> > sy

Re: [systemd-devel] Service unit issue: starts manually but doesn't start on boot

2013-04-21 Thread Lennart Poettering
On Fri, 19.04.13 22:01, Peter Li (chinasau...@gmail.com) wrote: > On 04/19/2013 04:16 AM, Colin Guthrie wrote: > > >>When I then run `systemctl start wsgw; systemctl status wsgw` I get: > >> > >> wsgw.service - WebSockets Gateway for pianod > >> Loaded: loaded (/usr/lib/systemd/syst

[systemd-devel] [not-for-applying PATCH] nsenter: do not self-suspend if child is suspended

2013-04-21 Thread Zbigniew Jędrzejewski-Szmek
nsenter would kill(self, SIGSTOP) when the child was stopped, making it possible to use 'suspend -f' in the child shell to suspend both the shell and the parent nsenter process. Unfortunately this interferes with other uses of SIGSTOP, since nsenter process is not visible in the child PID namespace

Re: [systemd-devel] nsenter and SIGSTOP

2013-04-21 Thread Zbigniew Jędrzejewski-Szmek
On Sat, Apr 20, 2013 at 03:27:46PM -0700, Eric W. Biederman wrote: > Zbigniew Jędrzejewski-Szmek writes: > > > Hi, > > I've hit a bit of a problem with nsenter and systemd-nspawn. > > When nsenter is used to enter the PID namespace created with > > systemd-nspawn, and the container's init attempt

Re: [systemd-devel] systemctl still truncates

2013-04-21 Thread Reindl Harald
Am 21.04.2013 16:13, schrieb Lennart Poettering: > On Sun, 21.04.13 16:04, Reindl Harald (h.rei...@thelounge.net) wrote: > >> why is the Main PID process below truncated? > >> Main PID: 65508 (/usr/sbin/postg) > > because that is the "comm" process name of the process, i.e. the name > "top" s

Re: [systemd-devel] systemcstl still truncates

2013-04-21 Thread Lennart Poettering
On Sun, 21.04.13 16:04, Reindl Harald (h.rei...@thelounge.net) wrote: > why is the Main PID process below truncated? > Main PID: 65508 (/usr/sbin/postg) because that is the "comm" process name of the process, i.e. the name "top" shows, rather than the name "ps" shows. The "comm" name is maintai

[systemd-devel] systemcstl still truncates

2013-04-21 Thread Reindl Harald
why is the Main PID process below truncated? _ [root@testserver:~]$ which systemctl alias systemctl='/bin/systemctl --no-pager --full' /bin/systemctl [root@testserver:~]$ systemctl status postgrey.service postgrey.service - Postfix Greylisti

Re: [systemd-devel] nsenter and SIGSTOP

2013-04-21 Thread Lennart Poettering
On Sat, 20.04.13 15:27, Eric W. Biederman (ebied...@xmission.com) wrote: > Zbigniew Jędrzejewski-Szmek writes: > > > Hi, > > I've hit a bit of a problem with nsenter and systemd-nspawn. > > When nsenter is used to enter the PID namespace created with > > systemd-nspawn, and the container's init

Re: [systemd-devel] question about name=systemd mount option

2013-04-21 Thread Lennart Poettering
On Sun, 21.04.13 10:53, Kevin Wilson (wkev...@gmail.com) wrote: > Hello, systemd developers, > > I have a short question about "name=systemd" cgroup mount option. > > Would systemd work without specifying this mount option ? No. This mount option is what tells the kernel to create an independen

[systemd-devel] question about name=systemd mount option

2013-04-21 Thread Kevin Wilson
Hello, systemd developers, I have a short question about "name=systemd" cgroup mount option. Would systemd work without specifying this mount option ? what is the reason for using this cgroup mount option ? regards, Kevin ___ systemd-devel mailing list