Re: [systemd-devel] [PATCH 1/2] Optimize startswith() to macro

2013-08-22 Thread WANG Chao
On 08/22/13 at 06:35pm, Zbigniew Jędrzejewski-Szmek wrote: > On Thu, Aug 22, 2013 at 11:03:11PM +0800, WANG Chao wrote: > > On 08/22/13 at 06:53am, Zbigniew Jędrzejewski-Szmek wrote: > > > On Thu, Aug 22, 2013 at 03:52:29AM +0200, Kay Sievers wrote: > > > > On Wed, Aug 21, 2013 at 10:16 PM, Kay Sie

[systemd-devel] [PATCH] udev: fix printf(3) type specifier

2013-08-22 Thread Shawn Landden
From: Shawn Landden src/udev/udev-rules.c: In function 'add_rule': src/udev/udev-rules.c:1078:33: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'int' [-Wformat=] log_error("invalid key/value pair in file %s on line %

Re: [systemd-devel] [PATCH] getty-generator: Enable getty on all active serial consoles.

2013-08-22 Thread Michael Marineau
Greetings, sent this last week but didn't get any feedback. Is this change acceptable for systemd or is there a particular reason for not starting gettys on all active consoles? On Fri, Aug 16, 2013 at 8:28 PM, Michael Marineau < michael.marin...@coreos.com> wrote: > This enables a getty on act

Re: [systemd-devel] Fedora 19 hangs on startup: A start job is running for Monitoring of LVM2 mirror...rogress polling

2013-08-22 Thread Kay Sievers
On Thu, Aug 22, 2013 at 8:25 PM, Ben Greear wrote: > I re-installed the same system w/out LVM, and now everything works > fine. That's what we all do or did. :) Kay ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freede

Re: [systemd-devel] Fedora 19 hangs on startup: A start job is running for Monitoring of LVM2 mirror...rogress polling

2013-08-22 Thread Ben Greear
On 08/22/2013 09:34 AM, Ben Greear wrote: On 08/22/2013 09:07 AM, Ben Greear wrote: I have a E5 processor system with 128GB SSD freshly installed and updated with Fedora 19. After the initial boot, I added MATE, put system at runlevel 3, removed 'initial-setup' package, and so forth. System is

Re: [systemd-devel] [PATCH 1/2] Optimize startswith() to macro

2013-08-22 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Aug 22, 2013 at 11:03:11PM +0800, WANG Chao wrote: > On 08/22/13 at 06:53am, Zbigniew Jędrzejewski-Szmek wrote: > > On Thu, Aug 22, 2013 at 03:52:29AM +0200, Kay Sievers wrote: > > > On Wed, Aug 21, 2013 at 10:16 PM, Kay Sievers wrote: > > > > On Wed, Aug 21, 2013 at 8:15 PM, WANG Chao wr

Re: [systemd-devel] Fedora 19 hangs on startup: A start job is running for Monitoring of LVM2 mirror...rogress polling

2013-08-22 Thread Ben Greear
On 08/22/2013 09:07 AM, Ben Greear wrote: I have a E5 processor system with 128GB SSD freshly installed and updated with Fedora 19. After the initial boot, I added MATE, put system at runlevel 3, removed 'initial-setup' package, and so forth. System is configured for serial console. I'm not su

[systemd-devel] Fedora 19 hangs on startup: A start job is running for Monitoring of LVM2 mirror...rogress polling

2013-08-22 Thread Ben Greear
I have a E5 processor system with 128GB SSD freshly installed and updated with Fedora 19. After the initial boot, I added MATE, put system at runlevel 3, removed 'initial-setup' package, and so forth. System is configured for serial console. I'm not sure how much of this matters, however. On b

Re: [systemd-devel] [PATCH 1/2] Optimize startswith() to macro

2013-08-22 Thread WANG Chao
On 08/22/13 at 06:53am, Zbigniew Jędrzejewski-Szmek wrote: > On Thu, Aug 22, 2013 at 03:52:29AM +0200, Kay Sievers wrote: > > On Wed, Aug 21, 2013 at 10:16 PM, Kay Sievers wrote: > > > On Wed, Aug 21, 2013 at 8:15 PM, WANG Chao wrote: > > >> Take this optimized code from Lennart[1]. Now startswit

Re: [systemd-devel] [PATCH 2/2] configure.ac: Disable the QEMU BIOS test when cross compiling

2013-08-22 Thread Kay Sievers
On Thu, Aug 22, 2013 at 4:44 PM, Darren Hart wrote: > On Thu, 2013-08-22 at 12:00 +0200, Kay Sievers wrote: >> On Thu, Aug 22, 2013 at 5:49 AM, Darren Hart wrote: >> > On Thu, 2013-08-22 at 00:46 +0200, Kay Sievers wrote: >> >> > No problem. The check was the same as mine, but you changed the bio

Re: [systemd-devel] [PATCH 2/2] Replace hasprefix() with optimized startswith()

2013-08-22 Thread WANG Chao
On 08/22/13 at 11:51am, Kay Sievers wrote: > On Wed, Aug 21, 2013 at 8:15 PM, WANG Chao wrote: > > --- > > TODO | 2 -- > > src/journal/journal-send.c | 2 +- > > src/journal/journald-native.c | 12 ++-- > > src/libsystemd-bus/bus-match.c | 26

Re: [systemd-devel] [PATCH 2/2] configure.ac: Disable the QEMU BIOS test when cross compiling

2013-08-22 Thread Darren Hart
On Thu, 2013-08-22 at 12:00 +0200, Kay Sievers wrote: > On Thu, Aug 22, 2013 at 5:49 AM, Darren Hart wrote: > > On Thu, 2013-08-22 at 00:46 +0200, Kay Sievers wrote: > > > No problem. The check was the same as mine, but you changed the bios > > paths significantly, such that both appear to be for

[systemd-devel] [ANNOUNCE] kmod 15

2013-08-22 Thread Lucas De Marchi
ftp://ftp.kernel.org/pub/linux/utils/kernel/kmod/kmod-15.tar.xz ftp://ftp.kernel.org/pub/linux/utils/kernel/kmod/kmod-15.tar.sign Hey! kmod 15 is out. 2 important fixes: one to parse the kernel command line correctly when there are boolean values and another to static-nodes tool not fail if modu

[systemd-devel] /usr/lib/systemd/systemd --switched-root --system --deserialize 20

2013-08-22 Thread Michael Duvall
Hello, First time to post here. I'm studying systemd. Where are the options "--switched-root" and "--deserialize 20" to systemd documented? If undocumented, a brief explanation of each will be greatly appreciated. Thanks, -- Michael Duvall Concurrent Computer Corporation ___

[systemd-devel] [PATCH] man: one more example in tmpfiles.d

2013-08-22 Thread Lukas Nykryn
--- man/tmpfiles.d.xml | 7 +++ 1 file changed, 7 insertions(+) diff --git a/man/tmpfiles.d.xml b/man/tmpfiles.d.xml index 6a2193d..30e1314 100644 --- a/man/tmpfiles.d.xml +++ b/man/tmpfiles.d.xml @@ -322,6 +322,13 @@ L/tmp/foobar ---- /dev/null d /

Re: [systemd-devel] [PATCH] test: Make testing work on systems without?or old systemd

2013-08-22 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Aug 22, 2013 at 08:18:30AM +0200, Holger Hans Peter Freyther wrote: > On Thu, Aug 22, 2013 at 07:07:07AM +0200, Zbigniew Jędrzejewski-Szmek wrote: > > > Those tests everywhere are not very pretty, but I guess we don't have > > much choice if we want those tests to be runnable before bootin

Re: [systemd-devel] [PATCH 0/2 V2] gummiboot: Cross compile and IA32 support

2013-08-22 Thread Kay Sievers
On Thu, Aug 22, 2013 at 5:58 AM, Darren Hart wrote: > On Thu, 2013-08-22 at 00:53 +0200, Kay Sievers wrote: >> On Thu, Aug 22, 2013 at 12:38 AM, Darren Hart wrote: >> > Updated with feedback from Kay and Colin. I've boot tested this, then >> > rebased to >> > use Kay's updated CPP flags, and bui

Re: [systemd-devel] [PATCH 2/2] configure.ac: Disable the QEMU BIOS test when cross compiling

2013-08-22 Thread Kay Sievers
On Thu, Aug 22, 2013 at 5:49 AM, Darren Hart wrote: > On Thu, 2013-08-22 at 00:46 +0200, Kay Sievers wrote: > No problem. The check was the same as mine, but you changed the bios > paths significantly, such that both appear to be for ovmf now was > that intentional? Yeah, it was/is just the

Re: [systemd-devel] [PATCH 2/2] Replace hasprefix() with optimized startswith()

2013-08-22 Thread Kay Sievers
On Wed, Aug 21, 2013 at 8:15 PM, WANG Chao wrote: > --- > TODO | 2 -- > src/journal/journal-send.c | 2 +- > src/journal/journald-native.c | 12 ++-- > src/libsystemd-bus/bus-match.c | 26 +- > src/shared/logs-show.c | 2 +

[systemd-devel] [PATCH] sd-login: add a public accessor for the VT number

2013-08-22 Thread Giovanni Campagna
From: Giovanni Campagna The VT number was already part of the DBus API, but was not exposed in the C API. --- src/login/sd-login.c | 4 src/systemd/sd-login.h | 3 +++ 2 files changed, 7 insertions(+) diff --git a/src/login/sd-login.c b/src/login/sd-login.c index 0658792..2ea823d 100644