Re: [systemd-devel] meaning of =-

2011-12-14 Thread Michael D. Berger
> -Original Message- > From: Michael Biebl [mailto:mbi...@gmail.com] > Sent: Wednesday, December 14, 2011 21:59 > To: Michael D. Berger > Cc: systemd-devel@lists.freedesktop.org > Subject: Re: [systemd-devel] meaning of =- > > 2011/12/15 Michael D. Berger : > > In many places in service f

Re: [systemd-devel] meaning of =-

2011-12-14 Thread Michael Biebl
2011/12/15 Michael Biebl : > 2011/12/15 Michael D. Berger : >> In many places in service files I see "=-" where I >> expect to see just "=".  What does it mean? > > man systemd.unit (ExecStart=) grrr, "man system.service" , of course... -- Why is it that all of the instruments seeking intellige

Re: [systemd-devel] meaning of =-

2011-12-14 Thread Michael Biebl
2011/12/15 Michael D. Berger : > In many places in service files I see "=-" where I > expect to see just "=".  What does it mean? man systemd.unit (ExecStart=) -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?

[systemd-devel] meaning of =-

2011-12-14 Thread Michael D. Berger
In many places in service files I see "=-" where I expect to see just "=". What does it mean? Thanks, Mike. -- Michael D. Berger m.d.ber...@ieee.org http://www.rosemike.net/ ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://l

[systemd-devel] sd_listen_fds: find file descriptor

2011-12-14 Thread Michael D. Berger
I quote the man page: Otherwise the number of file descriptors passed is returned. The application may find them starting with file descriptor SD_LISTEN_FDS_START, i.e. file descriptor 3 For example, assume sd_listen_fds returns 5. Then I do somethiing like: int jj = 3; for (; jj <

Re: [systemd-devel] [PATCH 0/3] Fix some minor annoyances

2011-12-14 Thread Ramkumar Ramachandra
Hi, On Dec 2, 2011, Ramkumar Ramachandra wrote: > Ramkumar Ramachandra (3): >  Debian: update m4 scripts in units/ >  completion: fix typo in accessing array index >  completion: add ZSH support Does the series look alright? Can I do something to help move it forward? Thanks. -- Ram __

Re: [systemd-devel] ExecStop required in service file?

2011-12-14 Thread Lennart Poettering
On Tue, 13.12.11 17:33, Michael D. Berger (m.d.ber...@ieee.org) wrote: > > Note that systemd sends TERM to all processes of a service anyway. An > > ExecStop= line like this is hence fully redundant. > > > > Lennart > > > > So if instead, I did: > > ExecStop=/bin/kill -9 $MAINPID > > would I

Re: [systemd-devel] SELinux needs labels to be assigned at boot time to /sys

2011-12-14 Thread Lennart Poettering
On Tue, 13.12.11 16:16, Daniel J Walsh (dwa...@redhat.com) wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > The only way to do this is by running restorecon over the contents. > > We would like to add /sys to the list of directories that systemd > fixes at boot time, just like /dev >

Re: [systemd-devel] [PATCH 2/2] Libcgroup: added cgconfig.service unit for systemd.

2011-12-14 Thread Jan Safranek
On 12/13/2011 01:31 PM, Lennart Poettering wrote: > On Tue, 13.12.11 13:06, Jan Safranek (jsafr...@redhat.com) wrote: > >> >> On 12/13/2011 12:46 PM, Lennart Poettering wrote: >>> On Fri, 09.12.11 15:32, Jan Safranek (jsafr...@redhat.com) wrote: >> >> >> >>> Note that this will set up the cgroup

Re: [systemd-devel] systemd+dbus: system boot stops at terminal login screen sometimes

2011-12-14 Thread Chen Jie
2011/12/2 Chen Jie : > Hey, > After did many experiments, I found it was one iteration of > manager_loop spent ~25s: > * dbus.service: service_enter_start_post() >  -> service_enter_running() >  --> service_set_state(s, SERVICE_RUNNING) >  ---> unit_notify() >  > bus_init() -> bus_init_api() >