Re: [systemd-devel] [PATCH] fix nspawn log typos

2015-01-14 Thread Martin Pitt
Hey Jonathan, Your patch was line-wrapped, but it was simple enough to fix. Applied, thanks! Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) ___ systemd-devel m

Re: [systemd-devel] LLDP from Zyxel – "Operation not supported"

2015-01-14 Thread Susant Sahani
Hi Mantas, I have sent a patch to ML to support locally assigned subtype. I have no way to test this out. Could you please apply the patch and test out so that we can apply the patch. On Mon, 12 Jan 2015 13:35:55 +0530, Susant Sahani wrote: On Mon, 12 Jan 2015 13:23:40 +0530, Manta

[systemd-devel] [PATCH] LLDP: Support locally assigned port subtype

2015-01-14 Thread Susant Sahani
The Zyxel switch sends port subtype as Locally assigned (7). Add LLDP_PORT_SUBTYPE_LOCALLY_ASSIGNED as supported type reported by Mantas Mikulėnas --- src/libsystemd-network/lldp-internal.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libsystemd-network/lldp-internal.c b/src/libsyste

[systemd-devel] [PATCH] fix nspawn log typos

2015-01-14 Thread Jonathan Boulle
src/nspawn/nspawn.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c index 2387c151bafc..e2ce9fbc55ec 100644 --- a/src/nspawn/nspawn.c +++ b/src/nspawn/nspawn.c @@ -1029,7 +1029,7 @@ static int mount_cgroup(const char *dest) {

[systemd-devel] [PATCH 3/3] remove RUN_WITH_LOCALE et all, use extended locale functions instead

2015-01-14 Thread Cristian Rodríguez
There were two callers, one can use strtod_l() and the other strptime_l() --- src/import/curl-util.c | 38 +++--- src/shared/util.c | 18 +- src/shared/util.h | 26 -- 3 files changed, 36 insertions(+), 46 deletions(

Re: [systemd-devel] [RFC] hwdb: add MOUSE_WHEEL_CLICK_ANGLE as property

2015-01-14 Thread Peter Hutterer
On Wed, Jan 14, 2015 at 10:50:12PM +0100, Zbigniew Jędrzejewski-Szmek wrote: > On Thu, Jan 15, 2015 at 07:21:31AM +1000, Peter Hutterer wrote: > > On Wed, Jan 14, 2015 at 01:07:40PM +0100, Zbigniew Jędrzejewski-Szmek wrote: > > > On Wed, Jan 14, 2015 at 03:57:03PM +1000, Peter Hutterer wrote: > > >

Re: [systemd-devel] journal verify problem

2015-01-14 Thread Michał Zegan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 It actually seems that when system journal rotates then this error also appears on newly created journal files, just checked W dniu 2015-01-08 o 14:18, Michał Zegan pisze: > > Hello, I am running archlinux with systemd 218. > My journal is sealed. >

Re: [systemd-devel] systemctl status not showing still running processes in inactive .mount unit cgroups (NFS specifically)

2015-01-14 Thread Steve Dickson
Hello, On 01/12/2015 04:43 PM, Colin Guthrie wrote: > > But FWIW, your check for whether systemctl is installed via calling > "systemctl --help" is IMO not very neat. > > If you're using bash here anyway, you might as well just do a: > > if [ -d /sys/fs/cgroup/systemd ]; then > > type check or

Re: [systemd-devel] [PATCH] fix zsh completion typo

2015-01-14 Thread Ronny Chevalier
2015-01-14 15:33 GMT+01:00 Moez Bouhlel : > json-see => json-sse > > --- > shell-completion/zsh/_sd_outputmodes | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/shell-completion/zsh/_sd_outputmodes > b/shell-completion/zsh/_sd_outputmodes > index 2ce84a7..3836f79 100644 >

Re: [systemd-devel] systemctl status not showing still running processes in inactive .mount unit cgroups (NFS specifically)

2015-01-14 Thread Ross Lagerwall
On Mon, Jan 12, 2015 at 09:04:35PM +0300, Andrei Borzenkov wrote: > В Mon, 12 Jan 2015 10:34:07 + > Colin Guthrie пишет: > > > > > Anyway, assuming the process is in the .mount unit cgroup, should > > systemd detect the umount and kill the processes accordingly, and if > > It does not do it

Re: [systemd-devel] logind: lid switch action not executed on small open/close delays

2015-01-14 Thread Alad Wenter
To clarify on my last message, it's 10 seconds before suspend from lid switch works again. Regards, Alad ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] [RFC] hwdb: add MOUSE_WHEEL_CLICK_ANGLE as property

2015-01-14 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Jan 15, 2015 at 07:21:31AM +1000, Peter Hutterer wrote: > On Wed, Jan 14, 2015 at 01:07:40PM +0100, Zbigniew Jędrzejewski-Szmek wrote: > > On Wed, Jan 14, 2015 at 03:57:03PM +1000, Peter Hutterer wrote: > > > On Mon, Jan 12, 2015 at 09:48:55AM +1000, Peter Hutterer wrote: > > > > Most mice

[systemd-devel] logind: lid switch action not executed on small open/close delays

2015-01-14 Thread Alad Wenter
On my Thinkpad X61 (lspci -v: http://pastie.org/9831762) running Arch Linux and i3wm, I use systemd-logind to suspend on lid close (without front-ends like upower, just xss-lock to run Xscreensaver). It works nicely, except when closing the lid shortly after it was opened. The laptop does then

Re: [systemd-devel] [RFC] hwdb: add MOUSE_WHEEL_CLICK_ANGLE as property

2015-01-14 Thread Peter Hutterer
On Wed, Jan 14, 2015 at 01:07:40PM +0100, Zbigniew Jędrzejewski-Szmek wrote: > On Wed, Jan 14, 2015 at 03:57:03PM +1000, Peter Hutterer wrote: > > On Mon, Jan 12, 2015 at 09:48:55AM +1000, Peter Hutterer wrote: > > > Most mice have a wheel click angle of 15 degrees, i.e. 24 clicks per full > > > wh

Re: [systemd-devel] How to speed up journalctl -n foo ?

2015-01-14 Thread Ben Greear
On 01/14/2015 10:42 AM, Matthias Urlichs wrote: > Hi, > > Ben Greear: >>> real0m25.618s >>> user0m2.361s >>> sys 0m23.197s >>> > Something seems broken here. Do you have any old and/or inconsistent > journal files lying around? > >> [root@ath9k-f ~]# time tail -2000 /var/log/messa

Re: [systemd-devel] How to speed up journalctl -n foo ?

2015-01-14 Thread Matthias Urlichs
Hi, Ben Greear: > > real0m25.618s > > user0m2.361s > > sys 0m23.197s > > Something seems broken here. Do you have any old and/or inconsistent journal files lying around? > [root@ath9k-f ~]# time tail -2000 /var/log/messages > /tmp/foo.txt > > real 0m0.005s > user 0m0.002s > sy

Re: [systemd-devel] How to speed up journalctl -n foo ?

2015-01-14 Thread Ben Greear
On 01/14/2015 09:05 AM, Ben Greear wrote: > I would like to grab the last 2000 or so system log lines after > some event happens. I tried this on Fedora-20 (systemd version 208). > > It seems unreasonable slow: > > [root@ath10k lanforge]# time journalctl -n 2000 > /tmp/foo.txt > > real 0m25.61

[systemd-devel] Antwort: Re: Should a unit be able to start, while its OnFailure unit is active?

2015-01-14 Thread Jean-Pierre . Bogler
Thank you for the fast response, Zbyszek! > > Hi all, > > > > I'd like to have your opinion on the following problem: > > > > In case a unit fails, we are using an OnFailure unit to > > handle the error (e. g. reset the config of the failed > > unit) and restart it. > > > > In one case the f

[systemd-devel] How to speed up journalctl -n foo ?

2015-01-14 Thread Ben Greear
I would like to grab the last 2000 or so system log lines after some event happens. I tried this on Fedora-20 (systemd version 208). It seems unreasonable slow: [root@ath10k lanforge]# time journalctl -n 2000 > /tmp/foo.txt real0m25.618s user0m2.361s sys 0m23.197s Is there any way

[systemd-devel] systemd-networkd quietly ignores DHCPv6 leases

2015-01-14 Thread Barbara Lazarowicz-Steube
Hello everyone, Having just configured systemd-networkd on my machine, I found myself no longer assigned global IPv6 addresses. The LAN in question has got fully operational native IPv6 support and both dhcpcd and connman had no problems taking advantage of it. Networkd on the other hand picks up

[systemd-devel] [PATCH 1/3] systemd: Bind rpc.idmapd to the nfs-server service

2015-01-14 Thread Steve Dickson
Since rpc.idmapd is only used by the nfs server, to do its id mapping, bind the rpc-idmapd service to the nfs-server service so rpc.idmapd will started and stopped with the server. Signed-off-by: Steve Dickson --- systemd/nfs-idmapd.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[systemd-devel] [PATCH 3/3] start-statd: Use the canonical to check if systemd is running.

2015-01-14 Thread Steve Dickson
Use the approved way, define in http://www.freedesktop.org/software/systemd/man/sd_booted.html to check if systemd is installed and running Signed-off-by: Steve Dickson --- utils/statd/start-statd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/statd/start-statd b/u

[systemd-devel] [PATCH 2/3] systemd: Bind the nfs-mountd service to the nfs-server service

2015-01-14 Thread Steve Dickson
Use BindsTo, instead of PartOf, to bind the rpc-mountd service to the nfs-server service. Its a much tighter bind than PartOf. The Partof=nfs-utils.service was not needed. One side effect of this tighter bond is when rpc.mountd is stop, that will also bring the nfs server down as well, due to the

[systemd-devel] [PATCH 0/3] Miscellaneous systemd changes (v2)

2015-01-14 Thread Steve Dickson
v2: * Corrected the numerous BindTo typos Here are a few systemd changes that were suggested by the systemd folks: * Bind the nfs-idmap service to the nfs server. * Correctly bind nfs-mountd service to the nfs server. * Used approved way to check if systemd is install and running Ste

Re: [systemd-devel] Should a unit be able to start, while its OnFailure unit is active?

2015-01-14 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Jan 14, 2015 at 04:24:15PM +0100, jean-pierre.bog...@continental-corporation.com wrote: > Hi all, > > I'd like to have your opinion on the following problem: > > In case a unit fails, we are using an OnFailure unit to > handle the error (e. g. reset the config of the failed > unit) an

[systemd-devel] Should a unit be able to start, while its OnFailure unit is active?

2015-01-14 Thread Jean-Pierre . Bogler
Hi all, I'd like to have your opinion on the following problem: In case a unit fails, we are using an OnFailure unit to handle the error (e. g. reset the config of the failed unit) and restart it. In one case the failed unit had dependencies to other units. Therefore, the failed unit was (re

Re: [systemd-devel] [PATCH] sysv-generator: only allow regular files in enumerate_sysv()

2015-01-14 Thread Cristian Rodríguez
El 14/01/15 a las 10:39, Colin Guthrie escribió: Cristian Rodríguez wrote on 14/01/15 13:34: El 14/01/15 a las 09:21, Colin Guthrie escribió: If I read the dirent_ensure_type and dirent_is_file code properly, this would mean that symlinks to valid sysvinit scripts are now skipped. dirent_is_f

[systemd-devel] [PATCH 1/2] remove unneeded libgen.h includes

2015-01-14 Thread Cristian Rodríguez
--- src/core/mount-setup.c| 1 - src/journal/catalog.c | 1 - src/test/test-namespace.c | 1 - 3 files changed, 3 deletions(-) diff --git a/src/core/mount-setup.c b/src/core/mount-setup.c index bd3a035..eb9641f 100644 --- a/src/core/mount-setup.c +++ b/src/core/mount-setup.c @@ -24,7 +24,

Re: [systemd-devel] [PATCH] sysv-generator: only allow regular files in enumerate_sysv()

2015-01-14 Thread Colin Guthrie
Cristian Rodríguez wrote on 14/01/15 13:34: > El 14/01/15 a las 09:21, Colin Guthrie escribió: >> If I read the dirent_ensure_type and dirent_is_file code properly, this >> would mean that symlinks to valid sysvinit scripts are now skipped. > > dirent_is_file() returns true for symlinks. Jeez, I

Re: [systemd-devel] [PATCH] sysv-generator: only allow regular files in enumerate_sysv()

2015-01-14 Thread Cristian Rodríguez
El 14/01/15 a las 09:21, Colin Guthrie escribió: Cristian Rodríguez wrote on 14/01/15 05:51: Otherwise, if the directory contains other directories we fail at fopen in load_sysv() with EISDIR. -if (hidden_file(de->d_name)) -continue; W

[systemd-devel] [PATCH] fix zsh completion typo

2015-01-14 Thread Moez Bouhlel
json-see => json-sse --- shell-completion/zsh/_sd_outputmodes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell-completion/zsh/_sd_outputmodes b/shell-completion/zsh/_sd_outputmodes index 2ce84a7..3836f79 100644 --- a/shell-completion/zsh/_sd_outputmodes +++ b/shell-compl

Re: [systemd-devel] [PATCH 1/3] systemd: Bind rpc.idmapd to the nfs-server service

2015-01-14 Thread Steve Dickson
On 01/14/2015 04:46 AM, Michal Sekletar wrote: > On Tue, Jan 13, 2015 at 03:37:35PM -0500, Steve Dickson wrote: >> Since rpc.idmapd is only used by the nfs server, to do >> its id mapping, bind the nfs-idmapd service to the >> nfs-server service so rpc.idmapd will be started >> and stopped wit

Re: [systemd-devel] [PATCH 04/11] sd-icmp6-nd: Add link and prefix structures for ICMPv6

2015-01-14 Thread Tom Gundersen
On Tue, Jan 13, 2015 at 1:02 PM, Patrik Flykt wrote: > Each ICMPv6 structure has an interface index and will therefore be > associated with an IPv6 link containing a list of of prefixes. > --- > src/libsystemd-network/sd-icmp6-nd.c | 99 > > 1 file changed, 9

Re: [systemd-devel] [PATCH 00/11] DHCPv6 address assignment

2015-01-14 Thread Patrik Flykt
On Wed, 2015-01-14 at 01:48 +0100, Zbigniew Jędrzejewski-Szmek wrote: > I replied to individual patches with some comments. Looks good > in general. Something has happened to my emacs indentation since last time, and I have to admit getting a bit rusty also... I'll update the patch set according

Re: [systemd-devel] [PATCH] TODO: DHCPv6 Information Request has been implemented

2015-01-14 Thread Patrik Flykt
On Wed, 2015-01-14 at 01:53 +0100, Zbigniew Jędrzejewski-Szmek wrote: > Yeah, there's no need to sent this to the mailing list. It is unlikely > to be wrong, and even if it it, we can revert or amend. The same for > 1/11 in the other series. If it scares you less that way I'll silently apply futur

Re: [systemd-devel] [PATCH] sysv-generator: only allow regular files in enumerate_sysv()

2015-01-14 Thread Colin Guthrie
Cristian Rodríguez wrote on 14/01/15 05:51: > Otherwise, if the directory contains other directories we fail > at fopen in load_sysv() with EISDIR. > -if (hidden_file(de->d_name)) > -continue; Why are hidden files now processed? I'd still su

Re: [systemd-devel] [RFC] hwdb: add MOUSE_WHEEL_CLICK_ANGLE as property

2015-01-14 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Jan 14, 2015 at 03:57:03PM +1000, Peter Hutterer wrote: > On Mon, Jan 12, 2015 at 09:48:55AM +1000, Peter Hutterer wrote: > > Most mice have a wheel click angle of 15 degrees, i.e. 24 clicks per full > > wheel rotation. Some mice, like the Logitech M325 have a larger angle. To > > allow use

Re: [systemd-devel] [PATCH] os-release: Add PRIVACY_POLICY_URL

2015-01-14 Thread Dimitri John Ledkov
On 13 January 2015 at 20:46, Tomasz Torcz wrote: > > On Tue, Jan 13, 2015 at 05:20:24PM +0100, Bastien Nocera wrote: > > +rely on community QA. > > +PRIVACY_POLICY_URL= > > +should refer to the main pri

Re: [systemd-devel] [PATCH 1/3] systemd: Bind rpc.idmapd to the nfs-server service

2015-01-14 Thread Michal Sekletar
On Tue, Jan 13, 2015 at 03:37:35PM -0500, Steve Dickson wrote: > Since rpc.idmapd is only used by the nfs server, to do > its id mapping, bind the nfs-idmapd service to the > nfs-server service so rpc.idmapd will be started > and stopped with the nfs server. > > Signed-off-by: Steve Dickson >

[systemd-devel] Target updating status for dependencies

2015-01-14 Thread Martin Pitt
Hello all, I have some trouble to understand how unit dependencies work when they change status. Suppose I have an ifup-all-auto.target (which will of course be created by a generator, but for experimentation I tried with a plain unit): | [Unit] | Description=Wait until all "auto" ifupdown interf