Re: [systemd-devel] Minimal systemd configuration

2015-04-05 Thread Alison Chaiken
srdb asks: 1. Is there any documentation for creating minimal systemd configuration? I mean for example - for qemu or embedded systems - with only sshd daemon running and console to just log into the system? Yes, at http://freedesktop.org/wiki/Software/systemd/MinimalBuilds/ The easiest way

Re: [systemd-devel] Minimal systemd configuration

2015-04-05 Thread Andrei Borzenkov
В Sun, 5 Apr 2015 16:04:19 -0700 Alison Chaiken ali...@she-devel.com пишет: 3. Is it possible to reconfigure systemd to run some script at the end of initialisation? Yes, you can add a new service by creating a new unit file in multi-user.target (more or less old runlevel 3) or

[systemd-devel] Questions about timedatectl and NTP

2015-04-05 Thread Jakub Klinkovský
As per systemd 216 NEWS [1], alternative NTP implementations should add Conflicts=systemd-timesyncd.service to be recognized by systemd, which ntpd.service on Arch Linux does. But still, active ntpd.service does not seem to be recognized by timedatectl: $ timedatectl ... NTP enabled: no NTP

Re: [systemd-devel] [systemd-commits] 2 commits - src/libsystemd

2015-04-05 Thread Tom Gundersen
On Sun, Apr 5, 2015 at 11:50 AM, Lennart Poettering lenn...@poettering.net wrote: On Fri, 03.04.15 13:23, Tom Gundersen (tome...@kemper.freedesktop.org) wrote: -tags = strdupa(value); +FOREACH_WORD_SEPARATOR(word, l, value, :, state) { +

Re: [systemd-devel] [systemd-commits] 2 commits - src/libsystemd

2015-04-05 Thread Lennart Poettering
On Fri, 03.04.15 13:23, Tom Gundersen (tome...@kemper.freedesktop.org) wrote: -tags = strdupa(value); +FOREACH_WORD_SEPARATOR(word, l, value, :, state) { +char *tag; -while ((next = strchr(tags, ':'))) { -

[systemd-devel] Minimal systemd configuration

2015-04-05 Thread sdrb
Hello, I've got a few very basic questions regarding configuration of systemd. I'm trying to setup some minimal configuration for qemu running linux. The qemu runs linux kernel which mounts nfs-root as root directory. I've made minimal nfs-root and now I'd like to start the system with

[systemd-devel] [PATCH] bootchart: fix check for no fd

2015-04-05 Thread Shawn Landden
found with coverty report --- src/bootchart/store.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bootchart/store.c b/src/bootchart/store.c index f19427e..f159cba 100644 --- a/src/bootchart/store.c +++ b/src/bootchart/store.c @@ -476,7 +476,7 @@ catch_rename:

Re: [systemd-devel] [PATCH] bootchart: fix check for no fd

2015-04-05 Thread Daniel Mack
On 04/05/2015 07:03 PM, Shawn Landden wrote: found with coverty report Applied, thanks! --- src/bootchart/store.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bootchart/store.c b/src/bootchart/store.c index f19427e..f159cba 100644 --- a/src/bootchart/store.c