Re: [systemd-devel] [PATCH 2/2] tmpfiles: support globbing for w option

2012-09-10 Thread Dave Reisner
On Tue, Sep 11, 2012 at 12:42:24AM +0200, Lennart Poettering wrote: > On Mon, 03.09.12 17:13, Dave Reisner ([email protected]) wrote: > > > Break out the write logic into a separate function and simply use it as > > a callback to glob_item. > > > > This allows users to consolidate writes to

Re: [systemd-devel] [PATCH 2/2] tmpfiles: support globbing for w option

2012-09-10 Thread Dave Reisner
On Tue, Sep 11, 2012 at 12:45:25AM +0200, Lennart Poettering wrote: > On Mon, 03.09.12 23:25, Dave Reisner ([email protected]) wrote: > > > > > On Mon, Sep 03, 2012 at 05:13:18PM -0400, Dave Reisner wrote: > > > Break out the write logic into a separate function and simply use it as > > > a cal

Re: [systemd-devel] [PATCH] shutdown: do reboot() for openvz container

2012-09-10 Thread Lennart Poettering
On Fri, 24.08.12 16:22, Kir Kolyshkin ([email protected]) wrote: > Proper handling of reboot() syscall issued from the inside of a container > was always supported by OpenVZ kernels. More to say, OpenVZ relies on the fact > that container calls reboot in order to distinguish between shutdown and > r

Re: [systemd-devel] alsa-restore.service seems to be too early

2012-09-10 Thread Lennart Poettering
On Mon, 03.09.12 14:34, Вечный Студент ([email protected]) wrote: > > 03.09.2012, 13:48, "Colin Guthrie" : > > Then you should probably try and debug this further - e.g. by rmmod'ing > > the module and inserting it and trying to work out why it's not run. You > > can always replace the rule wi

Re: [systemd-devel] [PATCH] journal: don't try to compress without XZ

2012-09-10 Thread Lennart Poettering
On Mon, 03.09.12 15:46, Michael Olbrich ([email protected]) wrote: > otherwise the header contains the HEADER_INCOMPATIBLE_COMPRESSED > flag even though the data is not compressed and reading the journal > fails. Thanks! Applied! Lennart -- Lennart Poettering - Red Hat, Inc. __

Re: [systemd-devel] [PATCH] rm_rf_children_dangerous: delete all descendants dangerously

2012-09-10 Thread Lennart Poettering
On Mon, 03.09.12 15:40, Tom Gundersen ([email protected]) wrote: > Call rm_rf_children_dangerous() recursively rather than falling back to > rm_rf_children(). This fixes a bug in systemd-tmpfiles. > > The problem can easily be reproduced by: > > # mount /dev/sda1 /mnt > # mkdir /mnt/test > # ec

Re: [systemd-devel] [PATCH] tmpfiles: allow Age to be set to 0d

2012-09-10 Thread Lennart Poettering
On Mon, 03.09.12 15:07, Tom Gundersen ([email protected]) wrote: > Mostly useful for testing purposes. Setting Age to 1s works just as > well, but it is surprising that using 0 does not work. > > We had bug reports/confused users in the past, so it makes sense to > change this. What is the intended b

Re: [systemd-devel] [PATCHv2] perform autodetection of quota-tools binaries

2012-09-10 Thread Lennart Poettering
On Sun, 02.09.12 17:28, Dave Reisner ([email protected]) wrote: > Use AC_PATH_PROG to try and locate the quotaon and quotacheck binaries, > falling back on hardcoded defaults when they can't be found. Thanks! Applied! Lennart -- Lennart Poettering - Red Hat, Inc. _

Re: [systemd-devel] [PATCH] inhibit: fix early exit when listing inhibitors

2012-09-10 Thread Lennart Poettering
On Sat, 01.09.12 23:39, Jonathan Conder ([email protected]) wrote: > This should be fairly self-explanatory, I hope. Without this, > systemd-inhibit --list outputs nothing; with it, there are at least > some column headings and a count of the number of inhibitors. Ah, a different, more recen

Re: [systemd-devel] Systemd segv during boot

2012-09-10 Thread Lennart Poettering
On Mon, 03.09.12 09:59, Nicolas Aguirre ([email protected]) wrote: > Hi > > I'm using Angstrom and systemd (v44) on an ARM custom board. (TI OMAP3 > Cortex a8) > > Sometimes (around 1 time on 100) I get a systemd segv during the boot, > otherwise the system boots fine and everything is O

Re: [systemd-devel] [PATCH] libsystemd-core needs libsystemd-id128-internal

2012-09-10 Thread Lennart Poettering
On Mon, 03.09.12 15:44, Michael Olbrich ([email protected]) wrote: > Otherwise compiling may fail with e.g.: > > ./.libs/libsystemd-core.a(libsystemd_core_la-condition.o): In function > `test_host': > [...]/systemd-189/src/core/condition.c:205: undefined reference to > `sd_id128_from_str

Re: [systemd-devel] [PATCH 1/2] shared/install: ignore ENOENT from unit_file_can_install

2012-09-10 Thread Lennart Poettering
On Tue, 11.09.12 00:53, Lennart Poettering ([email protected]) wrote: > > On Mon, 03.09.12 17:13, Dave Reisner ([email protected]) wrote: > > > When a service file contains an .include directive with a path that > > doesn't exist, systemctl list-unit-files will simply error out with: >

Re: [systemd-devel] [PATCH 1/2] shared/install: ignore ENOENT from unit_file_can_install

2012-09-10 Thread Lennart Poettering
On Mon, 03.09.12 17:13, Dave Reisner ([email protected]) wrote: > When a service file contains an .include directive with a path that > doesn't exist, systemctl list-unit-files will simply error out with: > > Failed to get unit file list: No such file or directory Hmm, we probably should lo

Re: [systemd-devel] [PATCH 2/2] tmpfiles: support globbing for w option

2012-09-10 Thread Lennart Poettering
On Mon, 03.09.12 23:25, Dave Reisner ([email protected]) wrote: > > On Mon, Sep 03, 2012 at 05:13:18PM -0400, Dave Reisner wrote: > > Break out the write logic into a separate function and simply use it as > > a callback to glob_item. > > > > This allows users to consolidate writes to sysfs wi

Re: [systemd-devel] [PATCH 2/2] tmpfiles: support globbing for w option

2012-09-10 Thread Lennart Poettering
On Mon, 03.09.12 17:13, Dave Reisner ([email protected]) wrote: > Break out the write logic into a separate function and simply use it as > a callback to glob_item. > > This allows users to consolidate writes to sysfs with multiple similar > pathnames, e.g. > > w /sys/class/block/sd[a-z]/

Re: [systemd-devel] [PATCH] shared: logs-show: fflush after each output type

2012-09-10 Thread Lennart Poettering
On Mon, 03.09.12 18:37, Brandon Philips ([email protected]) wrote: > journalctl -f redirected to a pipe or file wasn't working for some > output formats but was working for json. It turns out only json was > doing an fflush. > > Make all output formats flush. Just for the archives: I merged this

Re: [systemd-devel] journald: no such file or directory

2012-09-10 Thread Lennart Poettering
On Tue, 04.09.12 09:44, Christian Hesse ([email protected]) wrote: > Hello everybody, > > a daemon flooded my syslog and rsyslog filled my log partition. After that > journald complains on startup: > > systemd-journald[260]: Failed to open > /var/log/journal/d1ba4a2d5fc8ab0c4c46f6f74b607fdd/fss: No

Re: [systemd-devel] Argument quoting in Exec lines

2012-09-10 Thread Lennart Poettering
On Tue, 04.09.12 09:12, Daniel Drake ([email protected]) wrote: > Hi, > > Not sure whether to submit a bug report or documentation patch for this. > > ExecStart=/usr/bin/foo --arg1="foo bar" > > Causes foo to be run with 2 command line args: > 1. --arg1="foo > 2. bar" > > Not what I was hoping

Re: [systemd-devel] Journald Scalability

2012-09-10 Thread Lennart Poettering
On Mon, 10.09.12 14:55, Kok, Auke-jan H ([email protected]) wrote: > On Mon, Sep 10, 2012 at 2:30 PM, Matthew Monaco wrote: > > > I've been experiencing the same problem. systemd 189, btrfs, Arch Linux, > > very > > slow response when trying to view the journal (which includes systemctl >

Re: [systemd-devel] Journald Scalability

2012-09-10 Thread Lennart Poettering
On Mon, 10.09.12 15:30, Matthew Monaco ([email protected]) wrote: > I've been experiencing the same problem. systemd 189, btrfs, Arch Linux, very > slow response when trying to view the journal (which includes systemctl status > ). I wish I was positive about this, but the slowness might have > star

Re: [systemd-devel] Journald Scalability

2012-09-10 Thread Kok, Auke-jan H
On Mon, Sep 10, 2012 at 2:30 PM, Matthew Monaco wrote: > I've been experiencing the same problem. systemd 189, btrfs, Arch Linux, > very > slow response when trying to view the journal (which includes systemctl > status > ). I wish I was positive about this, but the slowness might have > started

Re: [systemd-devel] Journald Scalability

2012-09-10 Thread Matthew Monaco
On 09/10/2012 02:24 PM, Lennart Poettering wrote: > On Mon, 10.09.12 15:56, Roland Schatz ([email protected]) wrote: > >> On 10.09.2012 09:57, Lennart Poettering wrote: >>> Well, I am not aware of anybody having done measurements recently >>> about this. But I am not aware of anybody r

Re: [systemd-devel] network and remote-fs on shutdown

2012-09-10 Thread Lennart Poettering
On Wed, 05.09.12 20:52, Colin Guthrie ([email protected]) wrote: > > [Mount] > > What=//192.168.1.37/be > > Where=/mnt/be > > Type=cifs > > FsckPassNo=0 > > Options=/home/mlo/.samba/credentials,noauto,user,x-systemd.automount,x-systemd.device-timeout=60 > > > > > > If I understand it correctl

Re: [systemd-devel] Journald Scalability

2012-09-10 Thread Lennart Poettering
On Mon, 10.09.12 15:56, Roland Schatz ([email protected]) wrote: > On 10.09.2012 09:57, Lennart Poettering wrote: > > Well, I am not aware of anybody having done measurements recently > > about this. But I am not aware of anybody running into scalability > > issues so far. > I'm able

Re: [systemd-devel] [PATCH] Add libsystemd-id128-internal.la as link time dependency for test-engine and test_job_type

2012-09-10 Thread Khem Raj
On Mon, Sep 10, 2012 at 12:29 AM, Lennart Poettering wrote: > I do wonder though why I never ran into this problem here... > it shows up with binutils/head (to be 2.23 release) > Anyway, should be fixed now in git. Please test. thanks will give it a try -Khem __

Re: [systemd-devel] Journald Scalability

2012-09-10 Thread Roland Schatz
On 10.09.2012 09:57, Lennart Poettering wrote: > Well, I am not aware of anybody having done measurements recently > about this. But I am not aware of anybody running into scalability > issues so far. I'm able to share a data point here, see attachment. TLDR: Outputting the last ten journal entri

Re: [systemd-devel] Journald Scalability

2012-09-10 Thread Lennart Poettering
On Fri, 07.09.12 18:59, Holger Winkelmann ([email protected]) wrote: > Hi, > > We are just wondering how scalable the journal will be on a single > host. This means in terms of number of journal files and the maintenance > of the index to query the journal. Think of a server with a lot of syslo

Re: [systemd-devel] systemd-inhibit --list doesn't work

2012-09-10 Thread Lennart Poettering
On Fri, 07.09.12 22:57, Matthias Clasen ([email protected]) wrote: > See attached patch Ouch. This got borked due to a recent D-Bus code reshuffle in systemd. Thanks, applied! Lennart -- Lennart Poettering - Red Hat, Inc. ___ systemd-devel m

Re: [systemd-devel] [PATCH] Add libsystemd-id128-internal.la as link time dependency for test-engine and test_job_type

2012-09-10 Thread Lennart Poettering
On Fri, 07.09.12 20:00, Khem Raj ([email protected]) wrote: > Fixes linking errors like > src/core/condition.c:207: undefined reference to > `sd_id128_get_machine' I have now commited a different patch which adds libsystemd-id128-internal.la to the deps of libsystemd-core.la, which should be mor

Re: [systemd-devel] [PATCH 1/2] path-util: do not fail in path_is_mountpoint() if path doesn't exist

2012-09-10 Thread Lennart Poettering
On Sun, 09.09.12 15:16, Mantas Mikulėnas ([email protected]) wrote: > This was accidentally lost in commit 1640a0b6b05b. > > Signed-off-by: Mantas Mikulėnas Applied both. Thanks! Lennart -- Lennart Poettering - Red Hat, Inc. ___ systemd-devel maili