Re: [systemd-devel] Question about After/Before of services

2012-08-09 Thread WANG Chao
On 08/09/2012 05:56 PM, Zbigniew Jędrzejewski-Szmek wrote: On 08/09/2012 10:04 AM, WANG Chao wrote: On 08/09/2012 01:59 PM, Zbigniew Jędrzejewski-Szmek wrote: On 08/09/2012 06:28 AM, WANG Chao wrote: Hi, list As you see in the subject, this question comes from a lazy guy like me, who doesn't

[systemd-devel] [PATCH] man: remove timezone(5) and add localtime(5)

2012-08-09 Thread Shawn Landden
--- Makefile.am|2 +- man/localtime.xml | 93 man/timezone.xml | 90 -- units/systemd-timedated.service.in |2 +- 4 files changed, 95 insertions(+), 92 deleti

[systemd-devel] [PATCH 2/2] timedated: gather timezone from /etc/localtime sym target

2012-08-09 Thread Shawn Landen
keep other method for now, consider dropping later. Supporting relative links here are problematic as timezones in /usr/share/zoneinfo are often themselves symlinks (and symlinks to symlinks), so this implamentation only supports absolute symlinks "/usr/share/zoneinfo/" and relative symlinks start

[systemd-devel] [PATCH 1/2] util: add symlink_atomic()

2012-08-09 Thread Shawn Landen
--- src/shared/util.c | 19 +-- src/shared/util.h |1 + 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/src/shared/util.c b/src/shared/util.c index 946b7d5..876eb62 100644 --- a/src/shared/util.c +++ b/src/shared/util.c @@ -4851,7 +4851,7 @@ finish: r

Re: [systemd-devel] [ANNOUNCE] systemd 188

2012-08-09 Thread Colin Guthrie
'Twas brillig, and Peeters Simon at 09/08/12 22:26 did gyre and gimble: >> Just installing this and logging in with gdm means that my session (as >> listed in loginctl) is not listed as active (which obviously breaks ACLs >> etc). >> >> If I try and manually activate my session (as my user or root)

Re: [systemd-devel] [ANNOUNCE] systemd 188

2012-08-09 Thread Peeters Simon
> Just installing this and logging in with gdm means that my session (as > listed in loginctl) is not listed as active (which obviously breaks ACLs > etc). > > If I try and manually activate my session (as my user or root) I get: > > > $ loginctl activate 2 > Failed to issue method call: No such de

Re: [systemd-devel] [ANNOUNCE] systemd 188

2012-08-09 Thread Colin Guthrie
Hi, 'Twas brillig, and Lennart Poettering at 09/08/12 11:32 did gyre and gimble: > http://www.freedesktop.org/software/systemd/systemd-188.tar.xz I seem to get logind/loginctl issues with this release. Just installing this and logging in with gdm means that my session (as listed in loginctl) is

[systemd-devel] systemctl --user

2012-08-09 Thread Damien Robert
>From Lennart Poettering, the Fri 03 Aug 2012 at 21:49:11 (+0200): > > However, this is not the case when running a systemd --user, then systemctl > > --user foo.service will not print the corresponding journal logs, even if > > there are some. So here is to a feature request :) > > This definitel

Re: [systemd-devel] List all available units

2012-08-09 Thread Colin Guthrie
'Twas brillig, and Václav Pavlín at 09/08/12 08:39 did gyre and gimble: > Lennart Poettering píše v St 08. 08. 2012 v 18:31 +0200: >> If we present the user with a list like this we probably should show a >> tree view of some kind since the unit file getty@.service might get >> instantiated a coupl

Re: [systemd-devel] Question about After/Before of services

2012-08-09 Thread Mirco Tischler
2012/8/9 "Jóhann B. Guðmundsson" : > On 08/09/2012 04:28 AM, WANG Chao wrote: >> >> Hi, list >> >> As you see in the subject, this question comes from a lazy guy like me, >> who doesn't read the systemd source code at all :P >> >> The silly question is if A is configured to 'Wants:B' and 'After:B',

Re: [systemd-devel] Question about After/Before of services

2012-08-09 Thread Jóhann B. Guðmundsson
On 08/09/2012 04:28 AM, WANG Chao wrote: Hi, list As you see in the subject, this question comes from a lazy guy like me, who doesn't read the systemd source code at all :P The silly question is if A is configured to 'Wants:B' and 'After:B', will A start exactly after B is finished or after

Re: [systemd-devel] [PATCH] service: allow service to inhibit respawn with special return code

2012-08-09 Thread Lennart Poettering
On Wed, 08.08.12 21:14, "Jóhann B. Guðmundsson" (johan...@gmail.com) wrote: > > On 08/08/2012 05:30 PM, Lennart Poettering wrote: > >On Tue, 07.08.12 16:01, David Strauss (da...@davidstrauss.net) wrote: > > > >>On Sat, Aug 4, 2012 at 4:46 AM, Lennart Poettering > >> wrote: > >>>(But please, don't

[systemd-devel] [ANNOUNCE] systemd 188

2012-08-09 Thread Lennart Poettering
Heya, http://www.freedesktop.org/software/systemd/systemd-188.tar.xz CHANGES WITH 188: * When running in --user mode systemd will now become a subreaper (PR_SET_CHILD_SUBREAPER). This should make the ps tree a lot more organized. * A new PartOf= unit dependen

Re: [systemd-devel] [PATCH] (resend) build-sys: use more generic regular expression to generate syscall-list.txt correctly

2012-08-09 Thread Lennart Poettering
On Thu, 09.08.12 11:22, Huang Hang (seakag...@gmail.com) wrote: > Currently MIPS and ARM define syscall numbers for multiple ABI in one > . The #define statments for each syscall are formated as: > > #define __NR_scname (BASE_OFFSET + sc_number) > > Thus we need a more generic regular expressio

Re: [systemd-devel] why systemd-udevd log to dmesg?

2012-08-09 Thread Alexey Shabalin
2012/8/8 Lennart Poettering : > On Wed, 08.08.12 19:59, Alexey Shabalin wrote: > >> >> 2012/8/8 Lennart Poettering : >> > On Wed, 08.08.12 12:07, Alexey Shabalin wrote: >> > >> >> After run dmesg i can see >> >> [434765.990649] systemd-udevd[1186]: invalid rule >> >> '/etc/udev/rules.d/90-alsa-tool

Re: [systemd-devel] Question about After/Before of services

2012-08-09 Thread Zbigniew Jędrzejewski-Szmek
On 08/09/2012 10:04 AM, WANG Chao wrote: > On 08/09/2012 01:59 PM, Zbigniew Jędrzejewski-Szmek wrote: >> On 08/09/2012 06:28 AM, WANG Chao wrote: >>> Hi, list >>> >>> As you see in the subject, this question comes from a lazy guy like me, >>> who doesn't read the systemd source code at all :P >> He

Re: [systemd-devel] Re-exec()ing services for 'systemctl restart' ?

2012-08-09 Thread Daniel P. Berrange
On Wed, Aug 08, 2012 at 07:07:38PM +0200, Lennart Poettering wrote: > On Mon, 06.08.12 16:52, Daniel P. Berrange (berra...@redhat.com) wrote: > > > For libvirt, we (will soon) have a daemon (virtlockd) which maintains > > exclusive fcntl() based locks on disk images/devices, on behalf of both > >

Re: [systemd-devel] Question about After/Before of services

2012-08-09 Thread WANG Chao
On 08/09/2012 01:59 PM, Zbigniew Jędrzejewski-Szmek wrote: On 08/09/2012 06:28 AM, WANG Chao wrote: Hi, list As you see in the subject, this question comes from a lazy guy like me, who doesn't read the systemd source code at all :P Hey, no need to read the source code :). Please see the man pa

Re: [systemd-devel] List all available units

2012-08-09 Thread Václav Pavlín
Lennart Poettering píše v St 08. 08. 2012 v 18:31 +0200: > On Tue, 07.08.12 16:35, Václav Pavlín (vpav...@redhat.com) wrote: > > I am not sure we should include the units from "list-unit-files" in the > output of "list-units", as this would increase the output quite a bit, > and would be hardly he

Re: [systemd-devel] Question about After/Before of services

2012-08-09 Thread Zbigniew Jędrzejewski-Szmek
On 08/09/2012 06:28 AM, WANG Chao wrote: > Hi, list > > As you see in the subject, this question comes from a lazy guy like me, > who doesn't read the systemd source code at all :P Hey, no need to read the source code :). Please see the man page: http://www.freedesktop.org/software/systemd/man/sys