Re: [systemd-devel] Revisiting the ExecRestart issue

2014-04-24 Thread Lennart Poettering
On Wed, 23.04.14 21:01, Brandon Black (blbl...@gmail.com) wrote: At this point in time I am quite sure that ExecReload= should simply be used for this. That's an acceptable answer, although I think in the long term it poses some questions about additional custom verbs, since at least

Re: [systemd-devel] Revisiting the ExecRestart issue

2014-04-24 Thread Lennart Poettering
On Wed, 23.04.14 21:20, Brandon Black (blbl...@gmail.com) wrote: The problem here is that the daemon performs operations that require root privilege on startup, and then dumps its privileges for runtime, and thus its execve'd child won't have the root privs it would need to start everything

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

2014-04-24 Thread Lennart Poettering
On Wed, 23.04.14 23:03, Djalal Harouni (tix...@opendz.org) 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 the general usefulness of this value. The release is a lot more useful and we

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

2014-04-24 Thread Lennart Poettering
On Tue, 25.03.14 15:59, Peter Hutterer (peter.hutte...@who-t.net) 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/Xorg

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

2014-04-24 Thread Lennart Poettering
On Tue, 25.03.14 09:32, Benjamin SANS (b...@ziirish.info) wrote: * On Monday, 24 March 2014 23:24, Lennart Poettering lenn...@poettering.net 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

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 (juho80@samsung.com) wrote: On 03/25/2014 04:47 AM, Lennart Poettering wrote: On Tue, 18.03.14 02:34, Juho Son (juho80@samsung.com) wrote: This option could changes the default system's time zone. The default time zone is /etc/localtime. If we want

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 (da...@hardeman.nu) 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 /= 8 is

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 (boogiewasth...@gmail.com) 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

[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 ++--

[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] [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

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

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 lenn...@poettering.net wrote: On Thu, 24.04.14 07:28, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) 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

[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 -

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 rmila...@suse.com 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. +++

[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 systemd-devel@lists.freedesktop.org

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 oli...@business-security.de wrote: Is this possible via *.link *.network in

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 arvidj...@gmail.com)

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 u...@tezduyar.com 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

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 graw...@gmail.com wrote: On Thu, Apr 24, 2014 at 1:06 PM, Umut Tezduyar Lindskog u...@tezduyar.com wrote: Hi Oliver, You can specify Address= more than once as it is explained in

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 (peter.hutte...@who-t.net) 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

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 (zbys...@in.waw.pl) wrote: On Thu, Apr 24, 2014 at 08:59:46AM +0200, Lennart Poettering wrote: On Tue, 25.03.14 15:59, Peter Hutterer (peter.hutte...@who-t.net) wrote: I can't seem to find this in the documentation, so I do wonder if

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 (zbys...@in.waw.pl) wrote: On Thu, Apr 24, 2014 at 08:59:46AM +0200, Lennart Poettering wrote: On Tue, 25.03.14 15:59, Peter Hutterer (peter.hutte...@who-t.net) wrote:

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 (zbys...@in.waw.pl) 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 like X

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 (m.olbr...@pengutronix.de) 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 | 6

[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

[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

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| 6

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 (walyong@samsung.com) wrote: On 03/25/2014 05:01 AM, Lennart Poettering wrote: On Tue, 25.03.14 01:03, WaLyong Cho (walyong@samsung.com) wrote: /* Figure out which controllers we need */

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 (tix...@opendz.org) 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 the

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 (tix...@opendz.org) wrote: This is needed to fix bug: https://bugs.freedesktop.org/show_bug.cgi?id=76498

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] [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 lenn...@poettering.net wrote: On Thu, 24.04.14 07:28, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: Have you checked that EOPNOTSUPP is really the error that is