Re: [systemd-devel] [PATCH] Add support for initial state of NumLock

2013-04-12 Thread Kay Sievers
On Sat, Apr 13, 2013 at 12:36 AM, Cristian Rodríguez wrote: > El 12/04/13 13:53, Stanislav Brabec escribió: >> >> Add support for setting of initial state of NumLock. Supported values >> >> are "yes", "no" and "bios" (on x86 platforms). >> >> It sets NumLock in virtual consoles. If NumLock should

[systemd-devel] [PATCH v2] tools: add static-nodes tool

2013-04-12 Thread Tom Gundersen
This tool reads modules.devname from the current kernel directory and outputs the information. For now only the tmpfiles.d(5) format is supported, but more could easily be added in the future if there is a need. When booting with systemd, the new tool is called at boot to instruct systemd-tmpfile

Re: [systemd-devel] PATCH - add ARM based Chromebook lid switch

2013-04-12 Thread Kay Sievers
On Fri, Apr 12, 2013 at 10:58 PM, Cristian Rodríguez >> +SUBSYSTEM=="input", KERNEL=="event*", KERNELS=="gpio-keys.8", >> TAG+="power-switch" >> >> LABEL="power_switch_end" > > Hrmm.. I think we need a vendor/device check here too.. otherwise it will > trigger on other unrelated machines.. Yea

Re: [systemd-devel] [PATCH] [RFCv4] Add Listen* to dbus properties

2013-04-12 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Apr 05, 2013 at 07:16:59PM +0200, Lennart Poettering wrote: > On Wed, 03.04.13 23:12, Zbigniew Jędrzejewski-Szmek ([email protected]) wrote: > > > > So, consider adding some form of numbering to the list of listen > > > addresses. Perhaps something like: > > > > > > >> >0: Lis

Re: [systemd-devel] Journal issues

2013-04-12 Thread Mirco Tischler
2013/4/13 Zbigniew Jędrzejewski-Szmek > > On Sat, Apr 13, 2013 at 01:00:02AM +0200, Mirco Tischler wrote: > > 2013/4/12 Steven Hiscocks > > > > > Hi, > > > > > > I'm having two issues in relation to the journal with my recent upgrade to > > > v201. > > > > > > One issue, is that it appears that "

Re: [systemd-devel] [PATCH] journal: fix broken tags _SOURCE_REALTIME_TIMESTAMP and _MACHINE_ID

2013-04-12 Thread Zbigniew Jędrzejewski-Szmek
On Sat, Apr 13, 2013 at 01:03:49AM +0200, Mirco Tischler wrote: > --- > src/journal/journald-server.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Applied! Zbyszek > diff --git a/src/journal/journald-server.c b/src/journal/journald-server.c > index 53e3830..be84323 100644 > --- a/

Re: [systemd-devel] Journal issues

2013-04-12 Thread Steven Hiscocks
On 13/04/13 00:00, Mirco Tischler wrote: 2013/4/12 Steven Hiscocks mailto:[email protected]>> Hi, I'm having two issues in relation to the journal with my recent upgrade to v201. One issue, is that it appears that "_MACHINE_ID" field is missing the "=" character

[systemd-devel] [PATCH] journal: fix broken tags _SOURCE_REALTIME_TIMESTAMP and _MACHINE_ID

2013-04-12 Thread Mirco Tischler
--- src/journal/journald-server.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/journal/journald-server.c b/src/journal/journald-server.c index 53e3830..be84323 100644 --- a/src/journal/journald-server.c +++ b/src/journal/journald-server.c @@ -538,7 +538,7 @@ static v

Re: [systemd-devel] Journal issues

2013-04-12 Thread Zbigniew Jędrzejewski-Szmek
On Sat, Apr 13, 2013 at 01:00:02AM +0200, Mirco Tischler wrote: > 2013/4/12 Steven Hiscocks > > > Hi, > > > > I'm having two issues in relation to the journal with my recent upgrade to > > v201. > > > > One issue, is that it appears that "_MACHINE_ID" field is missing the "=" > > character. I had

Re: [systemd-devel] Journal issues

2013-04-12 Thread Mirco Tischler
2013/4/12 Steven Hiscocks > Hi, > > I'm having two issues in relation to the journal with my recent upgrade to > v201. > > One issue, is that it appears that "_MACHINE_ID" field is missing the "=" > character. I had a quick look, and I think the bug was introduced on the > last part of the follow

Re: [systemd-devel] [PATCH] Add support for initial state of NumLock

2013-04-12 Thread Cristian Rodríguez
El 12/04/13 13:53, Stanislav Brabec escribió: Add support for setting of initial state of NumLock. Supported values are "yes", "no" and "bios" (on x86 platforms). It sets NumLock in virtual consoles. If NumLock should be turned on, it also creates empty /run/numlock-on, which can be used e. g. f

[systemd-devel] Journal issues

2013-04-12 Thread Steven Hiscocks
Hi, I'm having two issues in relation to the journal with my recent upgrade to v201. One issue, is that it appears that "_MACHINE_ID" field is missing the "=" character. I had a quick look, and I think the bug was introduced on the last part of the following commit: http://cgit.freedesktop.

Re: [systemd-devel] [PATCH] Add support for initial state of NumLock

2013-04-12 Thread Cristian Rodríguez
El 12/04/13 13:53, Stanislav Brabec escribió: Add support for setting of initial state of NumLock. Supported values are "yes", "no" and "bios" (on x86 platforms). It sets NumLock in virtual consoles. If NumLock should be turned on, it also creates empty /run/numlock-on, which can be used e. g. f

Re: [systemd-devel] PATCH - add ARM based Chromebook lid switch

2013-04-12 Thread Cristian Rodríguez
El 12/04/13 13:24, Robert Schweikert escribió: Thanks Kay for pointing me in the right direction From fced3673ee1001dc905206f9a92ea2062f951d3c Mon Sep 17 00:00:00 2001 From: Robert Schweikert Date: Fri, 12 Apr 2013 12:08:16 -0400 Subject: [PATCH] rules: add lid switch of ARM based Chromebook

Re: [systemd-devel] PATCH - add ARM based Chromebook lid switch

2013-04-12 Thread Koen Kooi
Op 12 apr. 2013, om 18:24 heeft Robert Schweikert het volgende geschreven: > Thanks Kay for pointing me in the right direction > > > From fced3673ee1001dc905206f9a92ea2062f951d3c Mon Sep 17 00:00:00 2001 > From: Robert Schweikert > Date: Fri, 12 Apr 2013 12:08:16 -0400 > Subject: [PATCH] rul

[systemd-devel] Python journal reader

2013-04-12 Thread Steven Hiscocks
Hi, In the python journal Reader, the splitting out of monotonic and realtime stamps, has affected `get_next` function as timestamp values are no longer present in the dictionary returned. Also the new `get_monotonic` and `get_realtime` functions are not run through the converters. Equally,

[systemd-devel] [PATCH] Add support for initial state of NumLock

2013-04-12 Thread Stanislav Brabec
Add support for setting of initial state of NumLock. Supported values are "yes", "no" and "bios" (on x86 platforms). It sets NumLock in virtual consoles. If NumLock should be turned on, it also creates empty /run/numlock-on, which can be used e. g. for setting of X session default. This ports a f

[systemd-devel] PATCH - add ARM based Chromebook lid switch

2013-04-12 Thread Robert Schweikert
Thanks Kay for pointing me in the right direction From fced3673ee1001dc905206f9a92ea2062f951d3c Mon Sep 17 00:00:00 2001 From: Robert Schweikert Date: Fri, 12 Apr 2013 12:08:16 -0400 Subject: [PATCH] rules: add lid switch of ARM based Chromebook as a power switch to logind --- src/login/70-p

[systemd-devel] [PATCH V2] core/device.c: fix possible segfault

2013-04-12 Thread harald
From: Harald Hoyer https://bugs.freedesktop.org/show_bug.cgi?id=63189 better fail than segfault systemd[1]: Failed to load device unit: Invalid argument systemd[1]: Failed to process udev device event: Invalid argument --- V2: Now checking for (r < 0) rather than (r). src/core/device.c | 5

Re: [systemd-devel] Per-instance override with foobar.service.d

2013-04-12 Thread Zbigniew Jędrzejewski-Szmek
> > [email protected] and [email protected]/myinstance.conf > > [email protected] and [email protected]/myinstance.conf This would be possible, if somebody implements it. > > which don't work so I guess this isn't implemented. If so, would something > > like that be a reasonable request to b

[systemd-devel] [PATCH] core/device.c: fix possible segfault

2013-04-12 Thread harald
From: Harald Hoyer https://bugs.freedesktop.org/show_bug.cgi?id=63189 better fail than segfault systemd[1]: Failed to load device unit: Invalid argument systemd[1]: Failed to process udev device event: Invalid argument --- src/core/device.c | 5 - 1 file changed, 4 insertions(+), 1 deletio

[systemd-devel] [PATCH] cryptsetup: set the timeout to 0 by default

2013-04-12 Thread harald
From: Harald Hoyer cryptsetup itself has no timeout as default from the beginning. So the default timeout has been "0" from the beginning. https://bugzilla.redhat.com/show_bug.cgi?id=949702 --- src/cryptsetup/cryptsetup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/c

[systemd-devel] [PATCH 2/2] journalctl: specify "--unit=" and "--user-unit" multiple times

2013-04-12 Thread harald
From: Harald Hoyer Previously only one "--unit=" or "--user-unit" could be specified. With this patch, journalcrtl can show multiple units. $ journalctl -u systemd-udevd.service -u sshd.service -u crond.service -b -- Logs begin at Sa 2013-03-23 11:08:45 CET, end at Fr 2013-04-12 09:10:22 CEST. -

[systemd-devel] [PATCH 1/2] journal: add one more level on top with AND

2013-04-12 Thread harald
From: Harald Hoyer When using "-p" and "-b" in combination with "-u", the output is not what you would expect. The reason is the sd_journal_add_disjunction() call in add_matches_for_unit() and add_matches_for_user_unit(), which adds two ORs without taking the other conditions to every OR. Adding

[systemd-devel] [PATCH 0/2] journalctl arguments and filtering

2013-04-12 Thread harald
From: Harald Hoyer This patch series improves the argument handling of journalctl. It ANDs all parameter like "-b" "--unit=" "-p" and multiple "--unit=" can be specified. The output of: # journalctl -u sshd.service -u crond.service -u sshd.service -b -p 0..7 is now, what you would expect it t