Re: [systemd-devel] [PATCH] language fallback: it_CH (Italian, Swiss) -> it_IT (Italian, Italy)

2015-02-08 Thread Martin Pitt
Hey Daniele, Daniele Medri [2015-02-08 8:57 +0100]: > +it_CH it_CH:it_IT Thanks! Applied with moving it up a bit to stay in alphabetical order. Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) __

[systemd-devel] [PATCH 2/2] logind: do not continue when runtime creation path fails

2015-02-08 Thread Philippe De Swert
In user_mkdir_runtime_path() there is no need to continue if the creation of the directory fails for whatever reason, as subsequent actions on that directory will fail anyway. Found with Coverity. Fixes: CID#1237538 --- src/login/logind-user.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(

[systemd-devel] [PATCH 1/2] libsystemd-network: Avoid potential NULL dereference in test-lldp

2015-02-08 Thread Philippe De Swert
As a malloc0 could fail, doing a strncpy without checking could cause issues. Adding an assert should be good enough and in line with other similar routines in the code. Found with Coverity Fixes: CID#1261402 --- src/libsystemd-network/test-lldp.c | 1 + 1 file changed, 1 insertion(+) diff --git

[systemd-devel] [PATCH] systemctl: don't update the reboot parameter if none is given

2015-02-08 Thread Michael Olbrich
Otherwise systemd-reboot.service will remove the parameter that was set before. This was broken in commit "b986229efe2cc96157aa14c37bab7843311bbef1 systemctl: bugfix for systemctl reboot command with argument" --- This is more a hack than anything else, but I'm not sure who to fix this otherwise.

Re: [systemd-devel] help with compiling systemd-218 library only 32-bit multilib host

2015-02-08 Thread Zbigniew Jędrzejewski-Szmek
On Sun, Feb 08, 2015 at 04:05:51PM +, lux-integ wrote: > Greetings, > > I am having a go at compiling systemd on clfs-multilib described here:- > ( http://clfs.org/view/git/x86_64/final-system/systemd.html ) > Systemd-213 as in the book compiles for 32-bit. > > Paradoxically systemd-218 c

[systemd-devel] help with compiling systemd-218 library only 32-bit multilib host

2015-02-08 Thread lux-integ
Greetings, I am having a go at compiling systemd on clfs-multilib described here:- ( http://clfs.org/view/git/x86_64/final-system/systemd.html ) Systemd-213 as in the book compiles for 32-bit. Paradoxically systemd-218 compiles for 64-bit as described ( on the next page ) here (http://clfs.o

Re: [systemd-devel] multi-user.target only wants network.service if I'm doing 'systemct show runlevel3.target'

2015-02-08 Thread Zbigniew Jędrzejewski-Szmek
On Sun, Feb 08, 2015 at 09:12:32AM +0300, Andrei Borzenkov wrote: > В Wed, 4 Feb 2015 01:29:11 +0100 > Lennart Poettering пишет: > > > On Thu, 25.12.14 08:37, Andrei Borzenkov (arvidj...@gmail.com) wrote: > > > > > This looks like fallout of moving to generators for sysv units. Before > > > syst

Re: [systemd-devel] [PATCH] networkd: use valid bus paths

2015-02-08 Thread Tom Gundersen
Applied. Thanks! On Fri, Feb 6, 2015 at 9:35 PM, Mantas Mikulėnas wrote: > Object path components must start with [A-Za-z_] (AFAIK). > Also the value of 'p' is undefined if asprintf fails. > Compare to user_bus_path() in src/login/logind-user-dbus.c:281. > --- > src/network/networkd-link-bus.c |

Re: [systemd-devel] directive for executing a script on service failure

2015-02-08 Thread George Karakougioumtzis
Yes you r absolutely right, its kind of hackish and not architectural correct. I did something (simple but suits my needs for now) in python that gets executed from gnome. Here it is if someone is interested in knowing the state of some services at specified intervals ### import dbus from dbus