Re: [systemd-devel] Unwants

2015-01-22 Thread Dimitri John Ledkov
On 22 January 2015 at 14:00, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl 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

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

2015-01-22 Thread Alban Crequy
From: Alban Crequy al...@endocode.com --- 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

[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

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 al...@endocode.com 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

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

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 directory

[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

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 i...@mir2.org пишет: 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

[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

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

2015-01-22 Thread Alban Crequy
From: Alban Crequy al...@endocode.com 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

[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

Re: [systemd-devel] Unwants

2015-01-22 Thread Andrei Borzenkov
В Thu, 22 Jan 2015 15:46:26 +0100 Michael Biebl mbi...@gmail.com пишет: 2015-01-22 15:08 GMT+01:00 Dimitri John Ledkov dimitri.j.led...@intel.com: 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

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

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 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 3d7415f43f0fe6a821d7bc4a341ba371e8a30ef3 and

Re: [systemd-devel] Unwants

2015-01-22 Thread Dimitri John Ledkov
On 22 January 2015 at 14:46, Michael Biebl mbi...@gmail.com wrote: 2015-01-22 15:08 GMT+01:00 Dimitri John Ledkov dimitri.j.led...@intel.com: 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

Re: [systemd-devel] Unwants

2015-01-22 Thread Michael Biebl
2015-01-22 15:08 GMT+01:00 Dimitri John Ledkov dimitri.j.led...@intel.com: 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

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 lenn...@poettering.net wrote: On Thu, 22.01.15 13:25, Alban Crequy (mua...@gmail.com) wrote: From: Alban Crequy al...@endocode.com Hmm, I wonder if we can actually simplify this. IIRC the rules for over-mounting are simpler than I thought

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 directory

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 al...@endocode.com 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 |

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 Archlinux on

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 lenn...@poettering.net 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: #

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 sr-iov

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

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 help

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 crrodrig...@opensuse.org: --- 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 ---

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 chevalier.ro...@gmail.com: 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

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 i...@mir2.org пишет: 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

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 only).

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

[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

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

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, but on

[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

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 lenn...@poettering.net 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