Re: [systemd-devel] systemd-nspawn create container under unprivileged user

2015-02-11 Thread Lennart Poettering
On Wed, 11.02.15 13:53, Djalal Harouni (tix...@opendz.org) wrote: On Tue, Feb 10, 2015 at 12:52:34PM +0100, Lennart Poettering wrote: On Thu, 05.02.15 02:03, Vasiliy Tolstov (v.tols...@selfip.ru) wrote: Hello! Does it possible to create container as regular user? Oh what capabilities

Re: [systemd-devel] [PATCH] units: add SecureBits

2015-02-11 Thread Topi Miettinen
On 02/10/15 21:00, Lennart Poettering wrote: On Sat, 07.02.15 10:40, Topi Miettinen (toiwo...@gmail.com) wrote: No setuid programs are expected to be executed, so add SecureBits=no-setuid-fixup no-setuid-fixup-locked to unit files. So, hmm, after reading the man page again: what's the

Re: [systemd-devel] [PATCH 3/3] core: remove unneeded libgen.h include

2015-02-11 Thread Lennart Poettering
On Mon, 09.02.15 21:41, Cristian Rodríguez (crrodrig...@opensuse.org) wrote: execute.c only uses basename (the GNU version in string.h) Is this right even? This was added by Zbigniew in 2b6bf07dd23bb467099d213c97b3875c5e453491: Get rid of our reimplementation of basename The only

Re: [systemd-devel] [PATCH v2] units: add SecureBits

2015-02-11 Thread Lennart Poettering
On Wed, 11.02.15 18:32, Topi Miettinen (toiwo...@gmail.com) wrote: No setuid programs are expected to be executed, so add SecureBits=noroot noroot-locked to unit files. Applied! Thanks! (I hope this is well tested!) Lennart -- Lennart Poettering, Red Hat

Re: [systemd-devel] [PATCH v3] Added support for Uplink Failure Detection using BindCarrier

2015-02-11 Thread Lennart Poettering
On Tue, 10.02.15 03:30, Alin Rauta (alin.ra...@intel.com) wrote: --- man/systemd.network.xml | 11 ++ src/libsystemd/sd-network/sd-network.c | 4 + src/network/networkctl.c | 211 --- src/network/networkd-link.c

Re: [systemd-devel] systemd-nspawn create container under unprivileged user

2015-02-11 Thread Djalal Harouni
On Wed, Feb 11, 2015 at 05:06:56PM +0100, Lennart Poettering wrote: On Wed, 11.02.15 13:53, Djalal Harouni (tix...@opendz.org) wrote: On Tue, Feb 10, 2015 at 12:52:34PM +0100, Lennart Poettering wrote: On Thu, 05.02.15 02:03, Vasiliy Tolstov (v.tols...@selfip.ru) wrote: Hello!

Re: [systemd-devel] Changing how localed writes keymap for xorg

2015-02-11 Thread Colin Guthrie
Lennart Poettering wrote on 11/02/15 16:36: On Wed, 11.02.15 14:18, Colin Guthrie (gm...@colin.guthr.ie) wrote: Also, anything plugged in to Xorg after running localectl (thus updating 00-keyboard.conf) will also get the us keymap (as that was what was in place at Xorg init time). Wouldn't

Re: [systemd-devel] [PATCH 3/3] core: remove unneeded libgen.h include

2015-02-11 Thread Lennart Poettering
On Wed, 11.02.15 18:21, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: On Wed, Feb 11, 2015 at 06:18:54PM +0100, Lennart Poettering wrote: On Wed, 11.02.15 18:10, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: On Wed, Feb 11, 2015 at 06:05:13PM +0100, Lennart

Re: [systemd-devel] [PATCH 3/3] core: remove unneeded libgen.h include

2015-02-11 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Feb 11, 2015 at 06:26:41PM +0100, Lennart Poettering wrote: On Wed, 11.02.15 18:21, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: On Wed, Feb 11, 2015 at 06:18:54PM +0100, Lennart Poettering wrote: On Wed, 11.02.15 18:10, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl)

Re: [systemd-devel] [PATCH 3/3] core: remove unneeded libgen.h include

2015-02-11 Thread Lennart Poettering
On Wed, 11.02.15 18:10, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: On Wed, Feb 11, 2015 at 06:05:13PM +0100, Lennart Poettering wrote: On Mon, 09.02.15 21:41, Cristian Rodríguez (crrodrig...@opensuse.org) wrote: execute.c only uses basename (the GNU version in string.h)

Re: [systemd-devel] [PATCH v2] units: add SecureBits

2015-02-11 Thread Lennart Poettering
On Wed, 11.02.15 17:26, Topi Miettinen (toiwo...@gmail.com) wrote: On 02/11/15 16:33, Lennart Poettering wrote: On Wed, 11.02.15 18:32, Topi Miettinen (toiwo...@gmail.com) wrote: No setuid programs are expected to be executed, so add SecureBits=noroot noroot-locked to unit files.

[systemd-devel] [PATCH] man: fix typo

2015-02-11 Thread Torstein Husebø
--- man/systemd.generator.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man/systemd.generator.xml b/man/systemd.generator.xml index 519da15910..ccb698752a 100644 --- a/man/systemd.generator.xml +++ b/man/systemd.generator.xml @@ -101,7 +101,7 @@

[systemd-devel] [PATCH v2] units: add SecureBits

2015-02-11 Thread Topi Miettinen
No setuid programs are expected to be executed, so add SecureBits=noroot noroot-locked to unit files. --- units/systemd-hostnamed.service.in| 1 + units/systemd-importd.service.in | 1 + units/systemd-journal-gatewayd.service.in | 1 + units/systemd-journal-remote.service.in |

Re: [systemd-devel] [PATCH] units: add SecureBits

2015-02-11 Thread Lennart Poettering
On Wed, 11.02.15 16:24, Topi Miettinen (toiwo...@gmail.com) wrote: On 02/10/15 21:00, Lennart Poettering wrote: On Sat, 07.02.15 10:40, Topi Miettinen (toiwo...@gmail.com) wrote: No setuid programs are expected to be executed, so add SecureBits=no-setuid-fixup no-setuid-fixup-locked

Re: [systemd-devel] [PATCH 3/3] core: remove unneeded libgen.h include

2015-02-11 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Feb 11, 2015 at 06:05:13PM +0100, Lennart Poettering wrote: On Mon, 09.02.15 21:41, Cristian Rodríguez (crrodrig...@opensuse.org) wrote: execute.c only uses basename (the GNU version in string.h) Is this right even? This was added by Zbigniew in

Re: [systemd-devel] [PATCH 3/3] core: remove unneeded libgen.h include

2015-02-11 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Feb 11, 2015 at 06:18:54PM +0100, Lennart Poettering wrote: On Wed, 11.02.15 18:10, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: On Wed, Feb 11, 2015 at 06:05:13PM +0100, Lennart Poettering wrote: On Mon, 09.02.15 21:41, Cristian Rodríguez (crrodrig...@opensuse.org)

Re: [systemd-devel] fstab mounts get unmounted during boot (.device unit bouncing?)

2015-02-11 Thread Lennart Poettering
On Wed, 11.02.15 13:45, Martin Pitt (martin.p...@ubuntu.com) wrote: Lennart Poettering [2015-02-11 13:29 +0100]: On Wed, 11.02.15 13:20, Martin Pitt (martin.p...@ubuntu.com) wrote: Hello all, for a few weeks now (roughly since upgrading to 218) I often end up with my /home and

Re: [systemd-devel] [PATCH] man: fix typo

2015-02-11 Thread Lennart Poettering
On Wed, 11.02.15 17:22, Torstein Husebø (torst...@huseboe.net) wrote: Thanks! APplied! --- man/systemd.generator.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man/systemd.generator.xml b/man/systemd.generator.xml index 519da15910..ccb698752a 100644 ---

Re: [systemd-devel] Changing how localed writes keymap for xorg

2015-02-11 Thread Lennart Poettering
On Wed, 11.02.15 14:18, Colin Guthrie (gm...@colin.guthr.ie) wrote: Also, anything plugged in to Xorg after running localectl (thus updating 00-keyboard.conf) will also get the us keymap (as that was what was in place at Xorg init time). Wouldn't it be better to do the following: 1.

Re: [systemd-devel] [PATCH] ata_id: remove unused header files

2015-02-11 Thread Lennart Poettering
On Mon, 09.02.15 11:35, Robert Milasan (rmila...@suse.com) wrote: On Thu, 5 Feb 2015 14:19:35 +0100 Robert Milasan rmila...@suse.com wrote: Signed-off-by: Robert Milasan rmila...@suse.com --- src/udev/ata_id/ata_id.c | 4 1 file changed, 4 deletions(-) diff --git

Re: [systemd-devel] Changing how localed writes keymap for xorg

2015-02-11 Thread Lennart Poettering
On Wed, 11.02.15 17:07, Colin Guthrie (gm...@colin.guthr.ie) wrote: Lennart Poettering wrote on 11/02/15 16:36: On Wed, 11.02.15 14:18, Colin Guthrie (gm...@colin.guthr.ie) wrote: Also, anything plugged in to Xorg after running localectl (thus updating 00-keyboard.conf) will also get

Re: [systemd-devel] About systemd call dbus session bus

2015-02-11 Thread Lennart Poettering
On Fri, 06.02.15 14:11, Mantas Mikulėnas (graw...@gmail.com) wrote: On Fri, Feb 6, 2015 at 2:02 PM, Simon McVittie simon.mcvit...@collabora.co.uk wrote: On 06/02/15 03:32, 张洋 wrote: dbus-daemon --session --print-address --fork /tmp/session_amgr This is a security flaw (the

Re: [systemd-devel] pam_limits: Could not set limit for ...: Operation not permitted

2015-02-11 Thread Kai Krakow
Andrei Borzenkov arvidj...@gmail.com schrieb: В Tue, 10 Feb 2015 22:28:23 +0100 Kai Krakow hurikha...@gmail.com пишет: Lennart Poettering lenn...@poettering.net schrieb: On Tue, 10.02.15 20:16, Kai Krakow (hurikha...@gmail.com) wrote: Then the question is: Why or what does try to

Re: [systemd-devel] pam_limits: Could not set limit for ...: Operation not permitted

2015-02-11 Thread Kai Krakow
Lennart Poettering lenn...@poettering.net schrieb: On Tue, 10.02.15 22:28, Kai Krakow (hurikha...@gmail.com) wrote: This is the plain Gentoo kernel 3.18.6 for desktop, nothing special except BFQ patches (applied by the Gentoo kernel package itself, not manually patched). I'm pretty sure

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

2015-02-11 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Feb 11, 2015 at 08:12:35PM +0100, Lennart Poettering wrote: On Thu, 05.02.15 01:07, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: Just want to know why he didn't considered pushing this patch upstream. Apparently already two distros patch this downstream, so having a fix

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

2015-02-11 Thread Lennart Poettering
On Thu, 05.02.15 01:07, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: Just want to know why he didn't considered pushing this patch upstream. Apparently already two distros patch this downstream, so having a fix upstream would imho make sense. Because it was just a hack :)

Re: [systemd-devel] avahi disconnects from bus with kdbus

2015-02-11 Thread Daniel Buch
Nice, everything works flawlessly with current git now. Good job! 2015-02-10 10:34 GMT+01:00 Daniel Buch boogiewasth...@gmail.com: Hi, This is just a heads up. Avahi-daemon doesn't work on my system with kdbus and bus-proxyd. I appended a log. I hope this helps. Otherwise every thing works

Re: [systemd-devel] [PATCH 3/3] core: remove unneeded libgen.h include

2015-02-11 Thread Lennart Poettering
On Wed, 11.02.15 18:27, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: extern char *__xpg_basename (char *__path) __THROW; #define basename __xpg_basename And __xpg_basename is the borked implementation. #undef basename means that we use the GNU version instead.

Re: [systemd-devel] [PATCH v3] Added support for Uplink Failure Detection using BindCarrier

2015-02-11 Thread Lennart Poettering
On Wed, 11.02.15 17:44, Rauta, Alin (alin.ra...@intel.com) wrote: Hi Lennart, +_public_ int sd_network_link_get_carriers(int ifindex, char ***ret) { +return network_get_link_strv(CARRIERS, ifindex, ret); } + I think it would be better to have two calls here: int

Re: [systemd-devel] systemd-networkd not discovering all devices at bootup, and thus no network is configured

2015-02-11 Thread Lennart Poettering
On Wed, 04.02.15 21:58, Keller, Jacob E (jacob.e.kel...@intel.com) wrote: Hi again, On Tue, 2015-02-03 at 19:00 +, Keller, Jacob E wrote: Hey, I've recently been using systemd-networkd to great success on a few of my machines here. However I ran into an interesting problem on at

Re: [systemd-devel] Restarting service starts stopped dependants

2015-02-11 Thread Lennart Poettering
On Mon, 09.02.15 22:46, Andrei Borzenkov (arvidj...@gmail.com) wrote: B is started because C is started so it is not relevant. C is started probably due to logic if A and C are running and you restart A you should also restart C. I am not convinced it is the right thing to do TBH, but well

Re: [systemd-devel] [PATCH 3/3] core: remove unneeded libgen.h include

2015-02-11 Thread Lennart Poettering
On Wed, 11.02.15 18:52, Lennart Poettering (lenn...@poettering.net) wrote: On Wed, 11.02.15 18:27, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: extern char *__xpg_basename (char *__path) __THROW; #define basename__xpg_basename And __xpg_basename is the

Re: [systemd-devel] [PATCH v3] Added support for Uplink Failure Detection using BindCarrier

2015-02-11 Thread Rauta, Alin
Hi Lennart, +_public_ int sd_network_link_get_carriers(int ifindex, char ***ret) { +return network_get_link_strv(CARRIERS, ifindex, ret); } + I think it would be better to have two calls here: int sd_network_link_get_carrier_bound_to(int ifindex, int **others); int

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

2015-02-11 Thread Lennart Poettering
On Sun, 08.02.15 20:29, Michael Olbrich (m.olbr...@pengutronix.de) wrote: 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

Re: [systemd-devel] systemd-networkd bridge doesn't work until switched to promiscous mode

2015-02-11 Thread Lennart Poettering
On Wed, 11.02.15 17:48, Peter Lemenkov (lemen...@gmail.com) wrote: Hello All! I see that promiscous mode was discussed a few times before but I'm not sure if I found something new or not. I've got the following setup - a physical interface (enp1s0f0), which I wanted to add to the bridge

Re: [systemd-devel] [PATCH 3/3] core: remove unneeded libgen.h include

2015-02-11 Thread Cristian Rodríguez
El 11/02/15 a las 14:26, Lennart Poettering escribió: On Wed, 11.02.15 18:21, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: So, hmm, so if I got this right: a) The good basame() is in strings.h b) The bad basename() is in libgen.h c) The only other call in libgen.h is dirname()

Re: [systemd-devel] Restart sequence: systemctl restart rsyslog.service syslog.socket often/sometimes fails

2015-02-11 Thread Lennart Poettering
On Sun, 08.02.15 09:21, Andrei Borzenkov (arvidj...@gmail.com) wrote: В Wed, 4 Feb 2015 14:34:01 +0100 Lennart Poettering lenn...@poettering.net пишет: On Wed, 04.02.15 11:13, Peter Valdemar Mørch (pe...@morch.com) wrote: First: Please let me know if this is an inappropriate place to

Re: [systemd-devel] pam_limits: Could not set limit for ...: Operation not permitted

2015-02-11 Thread Lennart Poettering
On Wed, 11.02.15 20:05, Kai Krakow (hurikha...@gmail.com) wrote: Lennart Poettering lenn...@poettering.net schrieb: On Tue, 10.02.15 22:28, Kai Krakow (hurikha...@gmail.com) wrote: This is the plain Gentoo kernel 3.18.6 for desktop, nothing special except BFQ patches (applied by the

Re: [systemd-devel] [PATCH] test: check what happens if we forget about KDBUS_CMD_FREE call

2015-02-11 Thread David Herrmann
Hi On Wed, Feb 11, 2015 at 2:33 PM, Lukasz Skalski l.skal...@samsung.com wrote: diff --git a/test/test-free.c b/test/test-free.c index 01dca80..f666da3 100644 --- a/test/test-free.c +++ b/test/test-free.c @@ -14,6 +14,22 @@ #include kdbus-enum.h #include kdbus-test.h +static int

Re: [systemd-devel] Changing how localed writes keymap for xorg

2015-02-11 Thread Colin Guthrie
CC'ing Peter Hutterer as the xorg input guy for his thoughts :) Lennart Poettering wrote on 11/02/15 11:46: On Wed, 11.02.15 10:43, Colin Guthrie (gm...@colin.guthr.ie) wrote: Hi, I've recently run into an annoying problem with the localed xorg.conf snippet. As it writes an xorg.conf.d

Re: [systemd-devel] fstab mounts get unmounted during boot (.device unit bouncing?)

2015-02-11 Thread Martin Pitt
Przemyslaw Rudy [2015-02-11 14:14 +0100]: Curious - by any chance do you mount these also at initramfs level? No, we don't, only the root partition (readonly); I should have mentioned that indeed. Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer

Re: [systemd-devel] systemd-networkd not discovering all devices at bootup, and thus no network is configured

2015-02-11 Thread Keller, Jacob E
On Wed, 2015-02-11 at 19:39 +0100, Lennart Poettering wrote: On Wed, 04.02.15 21:58, Keller, Jacob E (jacob.e.kel...@intel.com) wrote: Hi again, On Tue, 2015-02-03 at 19:00 +, Keller, Jacob E wrote: Hey, I've recently been using systemd-networkd to great success on a few of

Re: [systemd-devel] networkd - DHCP timeout ?

2015-02-11 Thread Lennart Poettering
On Wed, 11.02.15 21:00, Kai Krakow (hurikha...@gmail.com) wrote: Lennart Poettering lenn...@poettering.net schrieb: On Wed, 11.02.15 16:08, Vasiliy Tolstov (v.tols...@selfip.ru) wrote: 2015-02-11 14:42 GMT+03:00 Tom Gundersen t...@jklm.no: systemd-networkd-wait-online gained two new

Re: [systemd-devel] ExecStop IPC over same socket used for activation?

2015-02-11 Thread Lennart Poettering
On Thu, 05.02.15 11:33, Chris Leech (cle...@redhat.com) wrote: Hi, Lee Duncan and I were looking at a situation with iscsid where a systemctl stop command would sometimes print a job canceled message, and the service would be immediately restarted. The problem seems to be that the

Re: [systemd-devel] systemd-networkd not discovering all devices at bootup, and thus no network is configured

2015-02-11 Thread Lennart Poettering
On Wed, 11.02.15 20:36, Keller, Jacob E (jacob.e.kel...@intel.com) wrote: Yes. I believe that possibly the netlink messages are occurring too early before networkd has started. Thus, when I restart the service after startup it works fine. Well, the first thing after subscribing to

Re: [systemd-devel] What's the correct way to configure encrypted volume and mount point?

2015-02-11 Thread Lennart Poettering
On Thu, 05.02.15 10:08, John Lane (syst...@jelmail.com) wrote: On 02/02/15 20:54, Lennart Poettering wrote: On Sat, 31.01.15 11:21, John Lane (syst...@jelmail.com) wrote: Further to this, I tried manually creating a systemd-cryptsetup unit instead of putting an entry in /etc/crypttab.

Re: [systemd-devel] udev rules fails to set attribute on boot on CentOS 6.6

2015-02-11 Thread Lennart Poettering
On Thu, 05.02.15 15:11, Angelos Ching (angelosch...@clustertech.com) wrote: Hi guys, I'm not exactly sure if I'm asking the right question in the right place, please let me know if this is not the right place for this question. I'm setting up SR-IOV for my Intel I350 igb on CentOS 6.6

Re: [systemd-devel] networkd - DHCP timeout ?

2015-02-11 Thread Kai Krakow
Lennart Poettering lenn...@poettering.net schrieb: On Wed, 11.02.15 16:08, Vasiliy Tolstov (v.tols...@selfip.ru) wrote: 2015-02-11 14:42 GMT+03:00 Tom Gundersen t...@jklm.no: systemd-networkd-wait-online gained two new features in git (online manpages are still lagging):

Re: [systemd-devel] [PATCH] preset-transient

2015-02-11 Thread Lennart Poettering
On Thu, 05.02.15 16:11, Dimitri John Ledkov (dimitri.j.led...@intel.com) wrote: Some context for this patch. I would like to support a new preset model, which has the following properties: - distribution shipped defaults are enabled - and are applied to each boot/upgrade - without

Re: [systemd-devel] [PATCH] Add support for transient presets, applied on every boot.

2015-02-11 Thread Lennart Poettering
On Thu, 05.02.15 16:11, Dimitri John Ledkov (dimitri.j.led...@intel.com) wrote: -static int get_config_path(UnitFileScope scope, bool runtime, const char *root_dir, char **ret) { +static int get_config_path(UnitFileScope scope, bool runtime, bool preset, const char *root_dir, char **ret)

Re: [systemd-devel] pam_limits: Could not set limit for ...: Operation not permitted

2015-02-11 Thread Kai Krakow
Lennart Poettering lenn...@poettering.net schrieb: On Wed, 11.02.15 20:05, Kai Krakow (hurikha...@gmail.com) wrote: Lennart Poettering lenn...@poettering.net schrieb: On Tue, 10.02.15 22:28, Kai Krakow (hurikha...@gmail.com) wrote: This is the plain Gentoo kernel 3.18.6 for desktop,

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

2015-02-11 Thread Lennart Poettering
On Wed, 11.02.15 23:10, Andrei Borzenkov (arvidj...@gmail.com) wrote: В Wed, 11 Feb 2015 20:12:35 +0100 Lennart Poettering lenn...@poettering.net пишет: On Thu, 05.02.15 01:07, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: Just want to know why he didn't considered

Re: [systemd-devel] systemd-networkd not discovering all devices at bootup, and thus no network is configured

2015-02-11 Thread Keller, Jacob E
On Wed, 2015-02-11 at 21:32 +0100, Lennart Poettering wrote: On Wed, 11.02.15 20:22, Keller, Jacob E (jacob.e.kel...@intel.com) wrote: I actually see the same behavior now again, so the removal of biosdevname does not solve this problem! :( Is there any more information I can

Re: [systemd-devel] [PATCH] preset-transient

2015-02-11 Thread Lennart Poettering
On Fri, 06.02.15 18:29, Didier Roche (didro...@ubuntu.com) wrote: Le 05/02/2015 17:11, Dimitri John Ledkov a écrit : Some context for this patch. Hey Dimitri, thanks for working on that. I'm just giving a broader context for everyone who followed the past discussion we had in

Re: [systemd-devel] Fail to reset-failed as user

2015-02-11 Thread Lennart Poettering
On Thu, 05.02.15 19:20, Olivier Brunel (j...@jjacky.com) wrote: On 02/03/15 22:17, Lennart Poettering wrote: On Fri, 12.12.14 16:06, Olivier Brunel (j...@jjacky.com) wrote: Sorry for resurrecting this old thread this late. Is this still an issue? Does this work on current git? Still

Re: [systemd-devel] systemd-networkd not discovering all devices at bootup, and thus no network is configured

2015-02-11 Thread Lennart Poettering
On Wed, 11.02.15 20:22, Keller, Jacob E (jacob.e.kel...@intel.com) wrote: I actually see the same behavior now again, so the removal of biosdevname does not solve this problem! :( Is there any more information I can provide? Hmm, it appears as if networkd completely misses the

Re: [systemd-devel] fstab mounts get unmounted during boot (.device unit bouncing?)

2015-02-11 Thread Martin Pitt
Lennart Poettering [2015-02-11 17:05 +0100]: Actually, the fact that the unit changes directly from dead to mounted is interesting. The unit does not go through mounting, which means that it's not the unit that is invoking the /bin/mount command for this but something else.. Do you see

Re: [systemd-devel] Removing unnecessary includes

2015-02-11 Thread Thomas H.P. Andersen
On Wed, Feb 11, 2015 at 12:39 PM, Lennart Poettering lenn...@poettering.net wrote: On Wed, 11.02.15 01:40, Thomas H.P. Andersen (pho...@gmail.com) wrote: Yep. Makes sense. Here is a status on what I have done so far. include-what-you-want does the following: 1) sorts the includes 2) adds

Re: [systemd-devel] Changing how localed writes keymap for xorg

2015-02-11 Thread Peter Hutterer
On Wed, Feb 11, 2015 at 02:18:12PM +, Colin Guthrie wrote: CC'ing Peter Hutterer as the xorg input guy for his thoughts :) Lennart Poettering wrote on 11/02/15 11:46: On Wed, 11.02.15 10:43, Colin Guthrie (gm...@colin.guthr.ie) wrote: Hi, I've recently run into an annoying

Re: [systemd-devel] systemd-networkd not discovering all devices at bootup, and thus no network is configured

2015-02-11 Thread Keller, Jacob E
On Wed, 2015-02-11 at 21:46 +0100, Lennart Poettering wrote: On Wed, 11.02.15 20:36, Keller, Jacob E (jacob.e.kel...@intel.com) wrote: Yes. I believe that possibly the netlink messages are occurring too early before networkd has started. Thus, when I restart the service after

[systemd-devel] systemd-218 clfsmultilib linux-3.18.5 wont boot

2015-02-11 Thread lux-integ
Greetings I have a recently minted x86 clfs multilib build ) ( http://clfs.org/view/git/x86_64/ ) I am using stuff out of git with modifications such as linux-3.18.5 systemd-218 It refuses to boot On startup it reports [OK] reached target network [5.123288] systemd[1] reached target

Re: [systemd-devel] systemd-218 clfsmultilib linux-3.18.5 wont boot

2015-02-11 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Feb 11, 2015 at 11:43:00PM +, lux-integ wrote: Greetings I have a recently minted x86 clfs multilib build ) ( http://clfs.org/view/git/x86_64/ ) I am using stuff out of git with modifications such as linux-3.18.5 systemd-218 It refuses to boot On startup it reports

[systemd-devel] Changing how localed writes keymap for xorg

2015-02-11 Thread Colin Guthrie
Hi, I've recently run into an annoying problem with the localed xorg.conf snippet. As it writes an xorg.conf.d snippet, this seems ot take priority over udev properties (xkblayout) etc. which Xorg has supported for some time. If x starts with this snippet in place and it has a layout of e.g us,

Re: [systemd-devel] networkd - DHCP timeout ?

2015-02-11 Thread Tom Gundersen
On Wed, Feb 11, 2015 at 11:49 AM, Branko bran...@s5tehnika.net wrote: Unless I have overlooked something, there seems to be no way to tell dhcp client to fail and leave card unset after some timeout. We had power interruption, which left dhcp server unconcious and after rebooting my

Re: [systemd-devel] networkd - DHCP timeout ?

2015-02-11 Thread Vasiliy Tolstov
Nice, can you say how to reduce timeout manually to 30s? Where I need to change value? 11 февр. 2015 г. 13:54 пользователь Tom Gundersen t...@jklm.no написал: On Wed, Feb 11, 2015 at 11:49 AM, Branko bran...@s5tehnika.net wrote: Unless I have overlooked something, there seems to be no way to

Re: [systemd-devel] Handling of mount points that are stacked one on top of another on the exact same mount point

2015-02-11 Thread Lennart Poettering
On Fri, 06.02.15 10:26, John Lane (syst...@jelmail.com) wrote: Two years ago I raised a query about bind mounting a subdirectory on top of its parent mount point. I supplied a patch to allow this; it was discussed but wasn't accepted. At that time, there was talk about implementing a

Re: [systemd-devel] Failed units and Unit type .busname is not supported on this system

2015-02-11 Thread Tom Gundersen
On Tue, Feb 10, 2015 at 8:50 PM, Lennart Poettering lenn...@poettering.net wrote: On Fri, 06.02.15 17:12, John Lane (syst...@jelmail.com) wrote: Good afternoon. I have some errors in the boot sequence of a newly built system: I see: systemd[1]: Unit type .busname is not supported on

Re: [systemd-devel] [PATCH] config_parse_exec_mount_flags: get rid of unnecessary copy

2015-02-11 Thread Lennart Poettering
On Fri, 06.02.15 16:46, Maciej Wereski (m.were...@partner.samsung.com) wrote: --- src/core/load-fragment.c | 14 -- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/src/core/load-fragment.c b/src/core/load-fragment.c index 90bf563..6108d12 100644 ---

Re: [systemd-devel] Changing how localed writes keymap for xorg

2015-02-11 Thread Mantas Mikulėnas
On Wed, Feb 11, 2015 at 12:43 PM, Colin Guthrie gm...@colin.guthr.ie wrote: Wouldn't it be better to do the following: 1. deprecate the 00-keyboard.conf xorg.conf.d file 2. Instead apply the locale settings in udev via xkb* properties This then allows the properties to change during runtime

Re: [systemd-devel] Removing unnecessary includes

2015-02-11 Thread Lennart Poettering
On Wed, 11.02.15 01:40, Thomas H.P. Andersen (pho...@gmail.com) wrote: Yep. Makes sense. Here is a status on what I have done so far. include-what-you-want does the following: 1) sorts the includes 2) adds missing headers for any symbols used 3) adds forward declarations 4) removes any

Re: [systemd-devel] networkd - DHCP timeout ?

2015-02-11 Thread Tom Gundersen
On Wed, Feb 11, 2015 at 12:11 PM, Vasiliy Tolstov v.tols...@selfip.ru wrote: Nice, can you say how to reduce timeout manually to 30s? Where I need to change value? systemd-networkd-wait-online gained two new features in git (online manpages are still lagging): --ignore=

Re: [systemd-devel] pam_limits: Could not set limit for ...: Operation not permitted

2015-02-11 Thread Lennart Poettering
On Tue, 10.02.15 22:28, Kai Krakow (hurikha...@gmail.com) wrote: This is the plain Gentoo kernel 3.18.6 for desktop, nothing special except BFQ patches (applied by the Gentoo kernel package itself, not manually patched). I'm pretty sure Gentoo does not apply any special extra patches.

Re: [systemd-devel] networkd - DHCP timeout ?

2015-02-11 Thread Branko
Unless I have overooked something, there seems to be no way to tell dhcp client to fail and leave card unset after some timeout. We had popwer interruption, which left dhcp server unconcious and after rebooting my workstation I couldn't get it up, since it was waiting for dhcp client to get

Re: [systemd-devel] Changing how localed writes keymap for xorg

2015-02-11 Thread Lennart Poettering
On Wed, 11.02.15 10:43, Colin Guthrie (gm...@colin.guthr.ie) wrote: Hi, I've recently run into an annoying problem with the localed xorg.conf snippet. As it writes an xorg.conf.d snippet, this seems ot take priority over udev properties (xkblayout) etc. which Xorg has supported for some

Re: [systemd-devel] networkd - DHCP timeout ?

2015-02-11 Thread Vasiliy Tolstov
2015-02-11 14:42 GMT+03:00 Tom Gundersen t...@jklm.no: systemd-networkd-wait-online gained two new features in git (online manpages are still lagging): --ignore= Network interfaces to be ignored when deciding if the system is online. By default only the loopback interface

Re: [systemd-devel] networkd - DHCP timeout ?

2015-02-11 Thread Branko
Unless I have overlooked something, there seems to be no way to tell dhcp client to fail and leave card unset after some timeout. We had power interruption, which left dhcp server unconcious and after rebooting my workstation I couldn't get it up, since it was waiting for dhcp client to get

Re: [systemd-devel] [PATCH] networkd DHCPv4 logging endian fix

2015-02-11 Thread Paul Martin
On Tue, Feb 10, 2015 at 08:10:43PM +0100, Lennart Poettering wrote: Hmm, I think it would be nicer to use be32toh() here instead, since it ensures the macro is (to a limited degree) typesafe. Any chance you could rework that? From: Paul Martin paul.mar...@codethink.co.uk Date: Wed, 11 Feb

Re: [systemd-devel] [PATCH] networkd DHCPv4 logging endian fix

2015-02-11 Thread Lennart Poettering
On Wed, 11.02.15 11:50, Paul Martin (paul.mar...@codethink.co.uk) wrote: On Tue, Feb 10, 2015 at 08:10:43PM +0100, Lennart Poettering wrote: Hmm, I think it would be nicer to use be32toh() here instead, since it ensures the macro is (to a limited degree) typesafe. Any chance you could

Re: [systemd-devel] [PATCH v2] sysv-generator: Skip init scripts for existing native services

2015-02-11 Thread Lennart Poettering
On Fri, 06.02.15 09:55, Martin Pitt (martin.p...@ubuntu.com) wrote: Hello all, this update now uses the logic from src/shared/install.h, and also documents the rationale better: The primary reason is to actually respect a disabled native unit instead of re-enabling it through the backdoor

Re: [systemd-devel] networkd - DHCP timeout ?

2015-02-11 Thread Lennart Poettering
On Wed, 11.02.15 16:08, Vasiliy Tolstov (v.tols...@selfip.ru) wrote: 2015-02-11 14:42 GMT+03:00 Tom Gundersen t...@jklm.no: systemd-networkd-wait-online gained two new features in git (online manpages are still lagging): --ignore= Network interfaces to be ignored when

[systemd-devel] fstab mounts get unmounted during boot (.device unit bouncing?)

2015-02-11 Thread Martin Pitt
Hello all, for a few weeks now (roughly since upgrading to 218) I often end up with my /home and /srv (from fstab) not mounted after booting, and I have to run mount -a manually. Initially I attributed this to my hacked-up laptop, but now I got a report from another user about that too

Re: [systemd-devel] fstab mounts get unmounted during boot (.device unit bouncing?)

2015-02-11 Thread Lennart Poettering
On Wed, 11.02.15 13:20, Martin Pitt (martin.p...@ubuntu.com) wrote: Hello all, for a few weeks now (roughly since upgrading to 218) I often end up with my /home and /srv (from fstab) not mounted after booting, and I have to run mount -a manually. Initially I attributed this to my

Re: [systemd-devel] Filtering and remote logs

2015-02-11 Thread Lennart Poettering
On Tue, 10.02.15 03:09, Mikhail Morfikov (mmorfi...@gmail.com) wrote: I'm playing with the journal to see what useful things it can do, and I have two questions: 1. Rsyslog has the ability of filtering logs, for instance: if $syslogtag contains something and ($msg contains something-else

Re: [systemd-devel] systemd-nspawn create container under unprivileged user

2015-02-11 Thread Djalal Harouni
On Tue, Feb 10, 2015 at 12:52:34PM +0100, Lennart Poettering wrote: On Thu, 05.02.15 02:03, Vasiliy Tolstov (v.tols...@selfip.ru) wrote: Hello! Does it possible to create container as regular user? Oh what capabilities i need to add to create container not using root? Invoking

[systemd-devel] [PATCH] test: check what happens if we forget about KDBUS_CMD_FREE call

2015-02-11 Thread Lukasz Skalski
diff --git a/test/test-free.c b/test/test-free.c index 01dca80..f666da3 100644 --- a/test/test-free.c +++ b/test/test-free.c @@ -14,6 +14,22 @@ #include kdbus-enum.h #include kdbus-test.h +static int sample_ioctl_call(struct kdbus_test_env *env) +{ + int ret; + struct

Re: [systemd-devel] fstab mounts get unmounted during boot (.device unit bouncing?)

2015-02-11 Thread Przemyslaw Rudy
On 02/11/2015 01:45 PM, Martin Pitt wrote: Lennart Poettering [2015-02-11 13:29 +0100]: On Wed, 11.02.15 13:20, Martin Pitt (martin.p...@ubuntu.com) wrote: Hello all, for a few weeks now (roughly since upgrading to 218) I often end up with my /home and /srv (from fstab) not mounted after

[systemd-devel] systemd-networkd bridge doesn't work until switched to promiscous mode

2015-02-11 Thread Peter Lemenkov
Hello All! I see that promiscous mode was discussed a few times before but I'm not sure if I found something new or not. I've got the following setup - a physical interface (enp1s0f0), which I wanted to add to the bridge (br0). My setup consists of the following files * br0.netdev: [NetDev]

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

2015-02-11 Thread Michael Biebl
2015-02-11 20:12 GMT+01:00 Lennart Poettering lenn...@poettering.net: So, I have discussed this with Kay, David, Daniel, and co. And we kinda came to the conclusion that we might as well just drop the configurability where runlevel3-5.target point to. If we drop that, we Do you mean