[systemd-devel] [PATCH] systemd-networkd man repair

2014-04-24 Thread poma
Corrections to the manuals related to networkd-wait-online. --- man/networkd-wait-online.conf.xml| 4 ++-- man/systemd-networkd-wait-online.service.xml | 4 ++-- man/systemd-networkd.service.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/man/n

Re: [systemd-devel] [PATCH] libudev: replace name_to_handle_at with normal sscanf

2014-04-24 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Apr 24, 2014 at 10:31:54AM +0200, Kay Sievers wrote: > On Thu, Apr 24, 2014 at 7:35 AM, Lennart Poettering > wrote: > > On Thu, 24.04.14 07:28, Zbigniew Jędrzejewski-Szmek ([email protected]) > > wrote: > >> > Have you checked that EOPNOTSUPP is really the error that is returned by > >> >

Re: [systemd-devel] [PATCH 1/2] bootchart: add control group option

2014-04-24 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Apr 25, 2014 at 12:59:04AM +0900, WaLyong Cho wrote: > On 04/25/2014 12:50 AM, WaLyong Cho wrote: > > --- > > man/bootchart.conf.xml | 5 + > > man/systemd-bootchart.xml| 7 +++ > > src/bootchart/bootchart.c| 11 ++- > > src/bootchart/bootchart.conf | 1 + >

Re: [systemd-devel] systemd-notify --ready is not reliable

2014-04-24 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Apr 23, 2014 at 08:50:34PM +0200, Lennart Poettering wrote: > On Wed, 23.04.14 15:15, Eelco Dolstra ([email protected]) wrote: > > > Hi all, > > > > I've noticed that the command "systemd-notify --ready" does not work > > reliably to > > signal that a service is ready. It works

Re: [systemd-devel] [PATCH v2 1/2] hostnamed: expose KernelVersion on the bus

2014-04-24 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Apr 24, 2014 at 10:34:05PM +0100, Djalal Harouni wrote: > On Thu, Apr 24, 2014 at 08:53:27AM +0200, Lennart Poettering wrote: > > On Wed, 23.04.14 23:03, Djalal Harouni ([email protected]) wrote: > > > > > This is needed to fix bug: > > > > > > https://bugs.freedesktop.org/show_bug.cgi?id

Re: [systemd-devel] [PATCH v2 1/2] hostnamed: expose KernelVersion on the bus

2014-04-24 Thread Djalal Harouni
On Thu, Apr 24, 2014 at 08:53:27AM +0200, Lennart Poettering wrote: > On Wed, 23.04.14 23:03, Djalal Harouni ([email protected]) wrote: > > > This is needed to fix bug: > > > > https://bugs.freedesktop.org/show_bug.cgi?id=76498 > > Hmm, do we really want to expose the version here? I fail to see

Re: [systemd-devel] [PATCH] core: add startup resource control option

2014-04-24 Thread WaLyong Cho
On 04/24/2014 06:15 AM, Lennart Poettering wrote: > On Wed, 26.03.14 00:12, WaLyong Cho ([email protected]) wrote: > >> >> On 03/25/2014 05:01 AM, Lennart Poettering wrote: >>> On Tue, 25.03.14 01:03, WaLyong Cho ([email protected]) wrote: >>> /* Figure out which controll

Re: [systemd-devel] [PATCH 1/2] bootchart: add control group option

2014-04-24 Thread WaLyong Cho
On 04/25/2014 12:50 AM, WaLyong Cho wrote: > --- > man/bootchart.conf.xml | 5 + > man/systemd-bootchart.xml| 7 +++ > src/bootchart/bootchart.c| 11 ++- > src/bootchart/bootchart.conf | 1 + > src/bootchart/bootchart.h| 2 ++ > src/bootchart/store.c|

[systemd-devel] [PATCH 1/2] bootchart: add control group option

2014-04-24 Thread WaLyong Cho
--- man/bootchart.conf.xml | 5 + man/systemd-bootchart.xml| 7 +++ src/bootchart/bootchart.c| 11 ++- src/bootchart/bootchart.conf | 1 + src/bootchart/bootchart.h| 2 ++ src/bootchart/store.c| 6 ++ src/bootchart/svg.c | 5 +++-- 7 fil

[systemd-devel] [PATCH 2/2] bootchart: rewrite usage message more generally

2014-04-24 Thread WaLyong Cho
--- src/bootchart/bootchart.c | 33 + 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/src/bootchart/bootchart.c b/src/bootchart/bootchart.c index a73418a..84497cc 100644 --- a/src/bootchart/bootchart.c +++ b/src/bootchart/bootchart.c @@ -209,22 +209,

Re: [systemd-devel] [PATCH v2 2/2] service: rename StartLimitAction enum to FailureAction

2014-04-24 Thread Lennart Poettering
On Thu, 24.04.14 09:35, Michael Olbrich ([email protected]) wrote: Applied both! Thanks! > It's used for the FailureAction property as well. > --- > Changes since v1: > - rebased on latest master > - also rename things in src/test/test-tables.c > > src/core/dbus-service.c |

Re: [systemd-devel] journal entries for most recent pid?

2014-04-24 Thread Lennart Poettering
On Thu, 24.04.14 16:31, Zbigniew Jędrzejewski-Szmek ([email protected]) wrote: > > > > I have added this now to the TODO list, but don't hold your breath... > > > I've been thinking about this too, and actually for the same usecase (i.e. > > > logs from X). I think we should teach various programs

Re: [systemd-devel] journal entries for most recent pid?

2014-04-24 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Apr 24, 2014 at 04:15:43PM +0200, Lennart Poettering wrote: > On Thu, 24.04.14 15:08, Zbigniew Jędrzejewski-Szmek ([email protected]) wrote: > > > > > On Thu, Apr 24, 2014 at 08:59:46AM +0200, Lennart Poettering wrote: > > > On Tue, 25.03.14 15:59, Peter Hutterer ([email protected]

Re: [systemd-devel] journal entries for most recent pid?

2014-04-24 Thread Lennart Poettering
On Thu, 24.04.14 15:08, Zbigniew Jędrzejewski-Szmek ([email protected]) wrote: > > On Thu, Apr 24, 2014 at 08:59:46AM +0200, Lennart Poettering wrote: > > On Tue, 25.03.14 15:59, Peter Hutterer ([email protected]) wrote: > > > > > I can't seem to find this in the documentation, so I do wo

Re: [systemd-devel] journal entries for most recent pid?

2014-04-24 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Apr 24, 2014 at 08:59:46AM +0200, Lennart Poettering wrote: > On Tue, 25.03.14 15:59, Peter Hutterer ([email protected]) wrote: > > > I can't seem to find this in the documentation, so I do wonder if it exists: > > is there an equivalent to journalctl -b -1 that lists the log of the

Re: [systemd-devel] Assigning a second ip-address on interface (i.e. eth0 and eth0:1)

2014-04-24 Thread Tom Gundersen
On Thu, Apr 24, 2014 at 12:30 PM, Mantas Mikulėnas wrote: > On Thu, Apr 24, 2014 at 1:06 PM, Umut Tezduyar Lindskog > wrote: >> Hi Oliver, >> >> You can specify Address= more than once as it is explained in >> http://www.freedesktop.org/software/systemd/man/systemd.network.html >> (Address=). > >

Re: [systemd-devel] Assigning a second ip-address on interface (i.e. eth0 and eth0:1)

2014-04-24 Thread Mantas Mikulėnas
On Thu, Apr 24, 2014 at 1:06 PM, Umut Tezduyar Lindskog wrote: > Hi Oliver, > > You can specify Address= more than once as it is explained in > http://www.freedesktop.org/software/systemd/man/systemd.network.html > (Address=). And just for the record, use `ip addr` to make sure it works, because

Re: [systemd-devel] Unable to override systemd-udevd.service

2014-04-24 Thread David Gstir
[Resend to mailing list, because my client somehow swallowed half the Cc fields - sorry about that.] Hi! I encountered the same issue, running version 195-13.45.1 from opensuse in a container: On 23.04.2014, at 19:26, Andrey Borzenkov (by way of Andrey Borzenkov ) wrote: > В Wed, 23 Apr 201

Re: [systemd-devel] Assigning a second ip-address on interface (i.e. eth0 and eth0:1)

2014-04-24 Thread Umut Tezduyar Lindskog
Hi Oliver, You can specify Address= more than once as it is explained in http://www.freedesktop.org/software/systemd/man/systemd.network.html (Address=). Thanks. On Thu, Apr 24, 2014 at 11:46 AM, Oliver wrote: > > Is this possible via *.link *.network in /etc/systemd/network? > Currently I use

[systemd-devel] Assigning a second ip-address on interface (i.e. eth0 and eth0:1)

2014-04-24 Thread Oliver
Is this possible via *.link *.network in /etc/systemd/network? Currently I use a custom service file but using native configuration would be much smarter. Oliver ___ systemd-devel mailing list [email protected] http://lists.freedes

Re: [systemd-devel] udevd-work: ressize 1024 too short

2014-04-24 Thread Kay Sievers
On Tue, Mar 25, 2014 at 1:36 PM, Robert Milasan wrote: > Hello, seems that under some conditions in udev_rules_apply_to_event > (@TK_M_PROGRAM) the fact that result is 1024 bytes creates problems if > the output of the running command/app is bigger then 1024 bytes. > +++ b/src/udev/udev-rules.c >

[systemd-devel] Start-up resource and prioritization control

2014-04-24 Thread Umut Tezduyar Lindskog
Hi, We are starting many services between basic.target - multi-user.target at the same time and due to this we are suffering from following two subjects. What can we do to overcome these problems? 1) We would like to start a subset of services that are scheduled to start between basic.target - mu

Re: [systemd-devel] [PATCH] libudev: replace name_to_handle_at with normal sscanf

2014-04-24 Thread Kay Sievers
On Thu, Apr 24, 2014 at 7:35 AM, Lennart Poettering wrote: > On Thu, 24.04.14 07:28, Zbigniew Jędrzejewski-Szmek ([email protected]) wrote: >> > Have you checked that EOPNOTSUPP is really the error that is returned by >> > name_to_handle_at() if the kernel has the entire syscall disabled? Note >>

Re: [systemd-devel] [SOLVED] mount failed during system start but after "systemctl daemon-reload" everything works

2014-04-24 Thread Oliver
Sorry ... my fault. Grepped for "fhandle" so do not found "FHANDLE" in README ;-) Documentation is fine. Best regards Oliver Am 24.04.2014 10:13, schrieb Oliver: Found the solution: lists.freedesktop.org/archives/systemd-devel/2014-February/017362.html Maybe the dependency of udev for CON

Re: [systemd-devel] [SOLVED] mount failed during system start but after "systemctl daemon-reload" everything works

2014-04-24 Thread Oliver
Found the solution: lists.freedesktop.org/archives/systemd-devel/2014-February/017362.html Maybe the dependency of udev for CONFIG_FHANDLE in kernel should be listed somewhere in the source tarball? Oliver Am 22.04.2014 18:49, schrieb Oliver: Am 22.04.2014 07:04, schrieb Lennart Poetter

[systemd-devel] [PATCH v2 2/2] service: rename StartLimitAction enum to FailureAction

2014-04-24 Thread Michael Olbrich
It's used for the FailureAction property as well. --- Changes since v1: - rebased on latest master - also rename things in src/test/test-tables.c src/core/dbus-service.c | 6 +++--- src/core/load-fragment-gperf.gperf.m4 | 4 ++-- src/core/load-fragment.c | 4 ++-- sr

[systemd-devel] [PATCH v2 1/2] service: add FailureAction= option

2014-04-24 Thread Michael Olbrich
It has the same possible values as StartLimitAction= and is executed immediately if a service fails. --- Changes since v1: - rebased on latest master man/systemd.service.xml | 11 ++ src/core/dbus-service.c | 1 + src/core/load-fragment-gperf.gperf.m4 | 1 +

Re: [systemd-devel] [PATCH] test-resolve.c: Cleanup and make use of sockaddr_pretty()

2014-04-24 Thread Lennart Poettering
On Wed, 26.03.14 14:17, Daniel Buch ([email protected]) wrote: Applied! Thanks! > --- > src/libsystemd/sd-resolve/test-resolve.c | 48 > +++- > 1 file changed, 22 insertions(+), 26 deletions(-) > > diff --git a/src/libsystemd/sd-resolve/test-resolve.c > b/sr

Re: [systemd-devel] [PATCH 2/2] Fix keysize handling in cryptsetup (bits vs. bytes)

2014-04-24 Thread Lennart Poettering
On Tue, 25.03.14 11:05, David Härdeman ([email protected]) wrote: > The command line key-size is in bits but the libcryptsetup API expects bytes. > > Note that the modulo 8 check is in the original cryptsetup binary as well, so > it's no new limitation. > > (v2: changed the point at which the /=

Re: [systemd-devel] [PATCH] timedated: add --timezone option to set the default timezone

2014-04-24 Thread Lennart Poettering
On Tue, 25.03.14 11:54, juho son ([email protected]) wrote: > > On 03/25/2014 04:47 AM, Lennart Poettering wrote: > >On Tue, 18.03.14 02:34, Juho Son ([email protected]) wrote: > > > >>This option could changes the default system's time zone. > >>The default time zone is /etc/localtime.

Re: [systemd-devel] [PATCH] add keyhandler support to cryptsetup

2014-04-24 Thread Lennart Poettering
On Tue, 25.03.14 09:32, Benjamin SANS ([email protected]) wrote: > * On Monday, 24 March 2014 23:24, Lennart Poettering > wrote: > > > > No grokking what this is about really? What do you need the param for, > > why isn't the existing agent logic good enough for this? Do you need > > some ident

Re: [systemd-devel] journal entries for most recent pid?

2014-04-24 Thread Lennart Poettering
On Tue, 25.03.14 15:59, Peter Hutterer ([email protected]) wrote: > I can't seem to find this in the documentation, so I do wonder if it exists: > is there an equivalent to journalctl -b -1 that lists the log of the most > recent pid? > > Specifically I'd like to run journalctl /usr/bin/Xo