Re: [systemd-devel] Fwd: [systemd-commits] Makefile.am src/bus-proxyd units/.gitignore units/systemd-bus-proxyd.service.m4.in units/systemd-bus-pro...@.service.m4.in units/systemd-bus-proxyd.socket un

2015-01-22 Thread Umut Tezduyar Lindskog
Hi, On Sat, Jan 17, 2015 at 4:51 PM, David Herrmann wrote: > Hi > > On Sat, Jan 17, 2015 at 4:21 PM, Umut Tezduyar Lindskog > wrote: >> Hi David, >> >> Have you done any experiment in terms of the number of connections can >> be made on 32 bit arch with bus proxy being multi-threaded instead of

[systemd-devel] [PATCH] nspawn: allow bind-mounting char and block files

2015-01-22 Thread Alban Crequy
From: Alban Crequy --- src/nspawn/nspawn.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c index 3fce3ad..db57b24 100644 --- a/src/nspawn/nspawn.c +++ b/src/nspawn/nspawn.c @@ -911,8 +911,7 @@ static int mount_binds(const char

Re: [systemd-devel] [PATCH] nspawn: allow bind-mounting char and block files

2015-01-22 Thread Lennart Poettering
On Thu, 22.01.15 13:25, Alban Crequy (mua...@gmail.com) wrote: > From: Alban Crequy Hmm, I wonder if we can actually simplify this. IIRC the rules for over-mounting are simpler than I thought initially: a) dirs can only over-mount dirs b) everything else can over-mount everything else With t

[systemd-devel] Automatic unmount of inactive automounted dir? (laptop purposes)

2015-01-22 Thread Lurid
Hi folks, following this conversation: http://www.mail-archive.com/systemd-devel@lists.freedesktop.org/msg06001.html I would like to ask about the progress in this feature. I'm interested in because I'm using my laptop with Archlinux on different networks and each network has different mount point

Re: [systemd-devel] Automatic unmount of inactive automounted dir? (laptop purposes)

2015-01-22 Thread Mantas Mikulėnas
On Thu, Jan 22, 2015 at 3:15 PM, Lurid wrote: > Hi folks, > > following this conversation: > http://www.mail-archive.com/systemd-devel@lists.freedesktop.org/msg06001.html > I would like to ask about the progress in this feature. I'm interested in > because I'm using my laptop with Archlinux on di

[systemd-devel] Unwants

2015-01-22 Thread Dimitri John Ledkov
Is there a way to remove / override wants that are specified via .wants directory, .d snippet with "Wants=", or wants specified in the unit itself? I thought that creating a symlink to /dev/null from a higher up directory would disable wants dependency but it didn't: e.g.: I was expecting for /ru

Re: [systemd-devel] Unwants

2015-01-22 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Jan 22, 2015 at 01:54:37PM +, Dimitri John Ledkov wrote: > Is there a way to remove / override wants that are specified via > .wants directory, .d snippet with "Wants=", or wants specified in the > unit itself? > > I thought that creating a symlink to /dev/null from a higher up > direc

Re: [systemd-devel] Unwants

2015-01-22 Thread Dimitri John Ledkov
On 22 January 2015 at 14:00, Zbigniew Jędrzejewski-Szmek wrote: > On Thu, Jan 22, 2015 at 01:54:37PM +, Dimitri John Ledkov wrote: >> Is there a way to remove / override wants that are specified via >> .wants directory, .d snippet with "Wants=", or wants specified in the >> unit itself? >> >>

Re: [systemd-devel] Unwants

2015-01-22 Thread Michael Biebl
2015-01-22 15:08 GMT+01:00 Dimitri John Ledkov : > At the moment, I'm looking at packaging symlinks in .wants directories > under /usr and then allow to uninstall such a package as a means to > override the default config. Since I would like to update how the > default config is setup, without doin

[systemd-devel] logind vs CAP_SYS_ADMIN-lessness

2015-01-22 Thread Christian Seiler
I've been playing around with systemd on Debian Jessie in CAP_SYS_ADMIN-less and I came upon the following issue[1]: Without CAP_SYS_ADMIN, logind is unable to mount a per-user tmpfs to /run/user/$UID. Relevant journal messages: systemd-logind[48]: Failed to mount per-user tmpfs directory /run/

Re: [systemd-devel] Unwants

2015-01-22 Thread Dimitri John Ledkov
On 22 January 2015 at 14:46, Michael Biebl wrote: > 2015-01-22 15:08 GMT+01:00 Dimitri John Ledkov : >> At the moment, I'm looking at packaging symlinks in .wants directories >> under /usr and then allow to uninstall such a package as a means to >> override the default config. Since I would like t

Re: [systemd-devel] [PATCH] nspawn: allow bind-mounting char and block files

2015-01-22 Thread Alban Crequy
On 22 January 2015 at 13:51, Lennart Poettering wrote: > On Thu, 22.01.15 13:25, Alban Crequy (mua...@gmail.com) wrote: > >> From: Alban Crequy > > Hmm, I wonder if we can actually simplify this. IIRC the rules for > over-mounting are simpler than I thought initially: > > a) dirs can only over-mo

[systemd-devel] network-online.target is not down when a physical network is down

2015-01-22 Thread Igor Bukanov
For a service that should be shutdown when network is not available, I tried to use Requires=network-online.target . However, on Fedora 21 with NetworkManager that does not work. When I switch off WiFi, the only connection on my laptop that can configure default IP route and setup /etc/resolv.conf,

[systemd-devel] [PATCH v2] nspawn: allow bind-mounting char and block files

2015-01-22 Thread Alban Crequy
From: Alban Crequy v2: - simplify the patch: any non-directory file can be mounted on any non-directory file. - allow bind mount of files of different types --- src/nspawn/nspawn.c | 27 +++ 1 file changed, 11 insertions(+), 16 deletions(-) diff --git a/src/nspawn/nspa

Re: [systemd-devel] Unwants

2015-01-22 Thread Andrei Borzenkov
В Thu, 22 Jan 2015 15:46:26 +0100 Michael Biebl пишет: > 2015-01-22 15:08 GMT+01:00 Dimitri John Ledkov : > > At the moment, I'm looking at packaging symlinks in .wants directories > > under /usr and then allow to uninstall such a package as a means to > > override the default config. Since I wou

Re: [systemd-devel] network-online.target is not down when a physical network is down

2015-01-22 Thread Andrei Borzenkov
В Thu, 22 Jan 2015 16:44:52 +0100 Igor Bukanov пишет: > For a service that should be shutdown when network is not available, I > tried to use Requires=network-online.target . However, on Fedora 21 > with NetworkManager that does not work. When I switch off WiFi, the > only connection on my laptop

Re: [systemd-devel] network-online.target is not down when a physical network is down

2015-01-22 Thread Dan Williams
On Thu, 2015-01-22 at 19:51 +0300, Andrei Borzenkov wrote: > В Thu, 22 Jan 2015 16:44:52 +0100 > Igor Bukanov пишет: > > > For a service that should be shutdown when network is not available, I > > tried to use Requires=network-online.target . However, on Fedora 21 > > with NetworkManager that do

Re: [systemd-devel] network-online.target is not down when a physical network is down

2015-01-22 Thread Igor Bukanov
Hm, checking nmcli -f STATE -t g does not work from a Networkmanager dispatcher script. If I disable WiFi, that gives in the dispatcher script "connected (local only)". If I enable WiFi, then in the dispatcher I have "connected (site only)". Only some moments later the state becomes "connected", bu

Re: [systemd-devel] network-online.target is not down when a physical network is down

2015-01-22 Thread Dan Williams
On Thu, 2015-01-22 at 21:17 +0100, Igor Bukanov wrote: > Hm, checking nmcli -f STATE -t g does not work from a Networkmanager > dispatcher script. If I disable WiFi, that gives in the dispatcher > script "connected (local only)". If I enable WiFi, then in the > dispatcher I have "connected (site on

[systemd-devel] [PATCH 0/2] Update french translations

2015-01-22 Thread Sylvain Plantefève
Hi folks, These pathes update the french translations of both systemd itself (fr.po) and the catalog, to follow the changes from 3d7415f43f0fe6a821d7bc4a341ba371e8a30ef3 and 2057124e7910c4cab7e53d26e0c3749d326ae2bb respectively. Best regards, Sylvain Plantefève Sylvain Plantefève (2):

[systemd-devel] [PATCH 2/2] po: update french translation

2015-01-22 Thread Sylvain Plantefève
--- po/fr.po | 191 ++- 1 file changed, 102 insertions(+), 89 deletions(-) diff --git a/po/fr.po b/po/fr.po index 8a35822..4d4fc6b 100644 --- a/po/fr.po +++ b/po/fr.po @@ -1,13 +1,13 @@ # French translations for systemd package # Tradu

[systemd-devel] [PATCH 1/2] catalog: update french translation

2015-01-22 Thread Sylvain Plantefève
--- catalog/systemd.fr.catalog | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/catalog/systemd.fr.catalog b/catalog/systemd.fr.catalog index e9dfca7..03a4577 100644 --- a/catalog/systemd.fr.catalog +++ b/catalog/systemd.fr.catalog @@ -1,7 +1,7 @@ # This file is part o

[systemd-devel] systemd-sysv-generator *.service: File exists

2015-01-22 Thread poma
Buena noches, Maybe someone knows how to get rid of these messages? [20081.284399] systemd-sysv-generator[4950]: Failed to create unit file /run/systemd/generator.late/nxserver.service: File exists [20081.289895] systemd-sysv-generator[4950]: Failed to create unit file /run/systemd/generator.l

Re: [systemd-devel] [PATCH 0/2] Update french translations

2015-01-22 Thread Ronny Chevalier
2015-01-22 21:51 GMT+01:00 Sylvain Plantefève : > Hi folks, Hi, > > These pathes update the french translations of both systemd itself (fr.po) > and the catalog, to follow the changes > from 3d7415f43f0fe6a821d7bc4a341ba371e8a30ef3 and > 2057124e7910c4cab7e53d26e0c3749d326ae2bb respectively. >

Re: [systemd-devel] systemd-sysv-generator *.service: File exists

2015-01-22 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Jan 22, 2015 at 10:05:48PM +0100, poma wrote: > > Buena noches, > > Maybe someone knows how to get rid of these messages? Does systemd-216-17.fc21.x86_64 help? Zbyszek ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://l

Re: [systemd-devel] [PATCH 0/2] Update french translations

2015-01-22 Thread Sylvain Plantefeve
Thanks ! 2015-01-22 23:13 GMT+01:00 Ronny Chevalier : > 2015-01-22 21:51 GMT+01:00 Sylvain Plantefève < > sylvain.plantef...@gmail.com>: > > Hi folks, > > Hi, > > > > > These pathes update the french translations of both systemd itself > (fr.po) and the catalog, to follow the changes > > from 3d7

Re: [systemd-devel] [PATCH v2] nspawn: allow bind-mounting char and block files

2015-01-22 Thread Lennart Poettering
On Thu, 22.01.15 16:47, Alban Crequy (mua...@gmail.com) wrote: > From: Alban Crequy > > v2: > - simplify the patch: any non-directory file can be mounted on any > non-directory file. > - allow bind mount of files of different types Applied! Thanks! > --- > src/nspawn/nspawn.c | 27 +

Re: [systemd-devel] logind vs CAP_SYS_ADMIN-lessness

2015-01-22 Thread Lennart Poettering
On Thu, 22.01.15 15:53, Christian Seiler (christ...@iwakd.de) wrote: > Nevertheless, I think it would be great if this could also be fixed, > because you never know what other applications people might come up > with. > > The solution would probably be to just add a code path to chown > the direc

Re: [systemd-devel] Automatic unmount of inactive automounted dir? (laptop purposes)

2015-01-22 Thread Lennart Poettering
On Thu, 22.01.15 14:15, Lurid (lu...@dmnc.net) wrote: > Hi folks, > > following this conversation: > http://www.mail-archive.com/systemd-devel@lists.freedesktop.org/msg06001.html > I would like to ask about the progress in this feature. I'm interested in > because I'm using my laptop with Archlin

Re: [systemd-devel] systemd-vconsole-setup fails very slowly

2015-01-22 Thread Lennart Poettering
On Wed, 21.01.15 19:15, Andy Lutomirski (l...@amacapital.net) wrote: > Hi all- > > When running virtme (a simple vm gadget) on Fedora 21, the slowest > part of bootup by far appears to be systemd-vconsole-setup: > > # time /usr/lib/systemd/systemd-vconsole-setup > putfont: PIO_FONT trying ... >

Re: [systemd-devel] systemd-vconsole-setup fails very slowly

2015-01-22 Thread Andy Lutomirski
On Thu, Jan 22, 2015 at 6:13 PM, Lennart Poettering wrote: > On Wed, 21.01.15 19:15, Andy Lutomirski (l...@amacapital.net) wrote: > >> Hi all- >> >> When running virtme (a simple vm gadget) on Fedora 21, the slowest >> part of bootup by far appears to be systemd-vconsole-setup: >> >> # time /usr/l

Re: [systemd-devel] persisting sriov_numvfs

2015-01-22 Thread Lennart Poettering
On Mon, 19.01.15 14:18, Dan Kenigsberg (dan...@redhat.com) wrote: > Hello, list. > > I'm an http://oVirt.org developer, and we plan to (finally) support > SR-IOV cards natively. Working on this feature, we've noticed that > something is missing in the platform OS. > > If I maintain a host with s

[systemd-devel] [PATCH] sysv-generator: Do not generate units for files handled by rc-local generator

2015-01-22 Thread Cristian Rodríguez
--- src/sysv-generator/sysv-generator.c | 8 1 file changed, 8 insertions(+) diff --git a/src/sysv-generator/sysv-generator.c b/src/sysv-generator/sysv-generator.c index b8b77aa..d6e4dfa 100644 --- a/src/sysv-generator/sysv-generator.c +++ b/src/sysv-generator/sysv-generator.c @@ -775,6

Re: [systemd-devel] Docker vs PrivateTmp

2015-01-22 Thread Lennart Poettering
On Sun, 18.01.15 20:50, Colin Walters (walt...@verbum.org) wrote: > On Sat, Jan 17, 2015, at 11:02 PM, Lars Kellogg-Stedman wrote: > > Hello all, > > > > With systemd 216 on Fedora 21 (kernel 3.17.8), I have run into an odd > > behavior concerning the PrivateTmp directive, and I am looking for >

Re: [systemd-devel] Docker vs PrivateTmp

2015-01-22 Thread Lennart Poettering
On Sat, 17.01.15 23:02, Lars Kellogg-Stedman (l...@redhat.com) wrote: > See the `devicemapper` mountpoint created by Docker for the container: > > # grep devicemapper/mnt /proc/mounts > > /dev/mapper/docker-253:6-98310-e68df3f45d6151259ce84a0e467a3117840084e99ef3bbc654b33f08d2d6dd62 >

Re: [systemd-devel] [PATCH] libudev: fix check for too long packet

2015-01-22 Thread Lennart Poettering
On Sun, 18.01.15 23:57, Topi Miettinen (toiwo...@gmail.com) wrote: > Don't use recvmsg(2) return value to check for too long packets > (it doesn't work) but MSG_TRUNC flag. Why precisely doesn't this work? I mean, it will consider messages that are exactly as large as the buffer as too long, but

Re: [systemd-devel] [PATCH] sysv-generator: Do not generate units for files handled by rc-local generator

2015-01-22 Thread Michael Biebl
2015-01-23 3:52 GMT+01:00 Cristian Rodríguez : > --- > src/sysv-generator/sysv-generator.c | 8 > 1 file changed, 8 insertions(+) > > diff --git a/src/sysv-generator/sysv-generator.c > b/src/sysv-generator/sysv-generator.c > index b8b77aa..d6e4dfa 100644 > --- a/src/sysv-generator/sysv-g

Re: [systemd-devel] logind vs CAP_SYS_ADMIN-lessness

2015-01-22 Thread Mantas Mikulėnas
On Fri, Jan 23, 2015 at 4:04 AM, Lennart Poettering wrote: > On Thu, 22.01.15 15:53, Christian Seiler (christ...@iwakd.de) wrote: > > > Nevertheless, I think it would be great if this could also be fixed, > > because you never know what other applications people might come up > > with. > > > > Th