Re: [systemd-devel] ipv6 configuration error

2016-05-27 Thread Tom Gundersen
On Fri, May 27, 2016 at 5:11 PM, Michał Zegan wrote: > Hello, I have encountered a very interesting problem: I have a wired > ipv4 network configured via systemd-network, and an ipv6 sit tunnel. > The problem is it does not start. trying to restart systemd-networkd >

Re: [systemd-devel] Where is DHCP Address stored?

2015-11-28 Thread Tom Gundersen
On Sat, Nov 28, 2015 at 4:42 PM, J Decker <d3c...@gmail.com> wrote: > On Sat, Nov 28, 2015 at 7:36 AM, Tom Gundersen <t...@jklm.no> wrote: >> On Sat, Nov 28, 2015 at 4:33 PM, J Decker <d3c...@gmail.com> wrote: >>> Okay maybe it's not stored anywhere

Re: [systemd-devel] Where is DHCP Address stored?

2015-11-28 Thread Tom Gundersen
On Sat, Nov 28, 2015 at 4:33 PM, J Decker wrote: > Okay maybe it's not stored anywhere > > I was just having a plethora of network issues after updating. > > After finding others were reporting issues with the linux kernel 4.2.5 > I rollback to the prior stable 4.1.6... that

Re: [systemd-devel] DHCPC Events?

2015-11-19 Thread Tom Gundersen
This is not really exposed nicely. There is a C library sd-network, which will give you the events you want, but it is not yet public (you can still copy it out of git of course). On Nov 12, 2015 05:24, "J Decker" wrote: > Should I have not said specifically Arch linux? > Is it

Re: [systemd-devel] Fwd: [PATCH] Add support for detecting NIC partitions on Dell Servers

2015-11-10 Thread Tom Gundersen
On Tue, Nov 10, 2015 at 2:29 PM, Jordan Hargrave wrote: > On Tue, Nov 10, 2015 at 4:53 AM, Kay Sievers wrote: >> On Tue, Nov 10, 2015 at 5:49 AM, Jordan Hargrave wrote: >>> Cleaned up linux coding style >>> >>> This patch will integrate some

Re: [systemd-devel] Secret machine-id for RFC 7217 stable addresses

2015-10-08 Thread Tom Gundersen
Hi Lubomir, Sorry not to have responded to this earlier, but as I was just reminded of this, here are my take: On Mon, Sep 7, 2015 at 7:49 PM, Lubomir Rintel wrote: > the RFC 7217 specifies an algorithm for generating an IPv6 host address > that stays stable in a particular

Re: [systemd-devel] Persistent virtio device name removal

2015-09-02 Thread Tom Gundersen
tps://github.com/systemd/systemd/commit/54683f0f9b97a8f88aaf4fbb45b4d729057b101c> On Fri, Jul 4, 2014 at 1:31 AM, Tom Gundersen <t...@jklm.no> wrote: > On Fri, Jul 4, 2014 at 12:55 AM, Michael Marineau > <michael.marin...@coreos.com> wrote: >> Working on bumping to 215 over her

Re: [systemd-devel] Configurability for systemd logging API

2015-07-30 Thread Tom Gundersen
On Thu, Jul 30, 2015 at 8:16 AM, SF Markus Elfring elfr...@users.sourceforge.net wrote: Such messages correspond to specific data structures. * The log origin and log level are repeated there while the recorded information might occasionally not be detailed enough. I find that such details

Re: [systemd-devel] kdbus, udev and systemd in the initramfs

2015-07-29 Thread Tom Gundersen
On Wed, Jul 29, 2015 at 2:23 PM, Michael Biebl mbi...@gmail.com wrote: 2015-07-29 5:40 GMT+02:00 Tom Gundersen t...@jklm.no: On Wed, Jul 29, 2015 at 1:21 AM, Michael Biebl mbi...@gmail.com wrote: something I was wondering regarding kdbus and udev. If udev wants to drop the netlink transport

Re: [systemd-devel] Configurability for systemd logging API

2015-07-29 Thread Tom Gundersen
Hi Markus, On Wed, Jul 29, 2015 at 8:54 PM, SF Markus Elfring elfr...@users.sourceforge.net wrote: Programs from the systemd software library output also some log messages as it is usual for such server applications. Such messages correspond to specific data structures. * The log origin and

Re: [systemd-devel] kdbus, udev and systemd in the initramfs

2015-07-28 Thread Tom Gundersen
On Wed, Jul 29, 2015 at 5:40 AM, Tom Gundersen t...@jklm.no wrote: On Wed, Jul 29, 2015 at 1:21 AM, Michael Biebl mbi...@gmail.com wrote: something I was wondering regarding kdbus and udev. If udev wants to drop the netlink transport and instead rely on kdbus, would this mean, systemd becomes

Re: [systemd-devel] kdbus, udev and systemd in the initramfs

2015-07-28 Thread Tom Gundersen
On Wed, Jul 29, 2015 at 1:21 AM, Michael Biebl mbi...@gmail.com wrote: something I was wondering regarding kdbus and udev. If udev wants to drop the netlink transport and instead rely on kdbus, would this mean, systemd becomes mandatory in the initramfs to setup kdbus before udev is run? _If_

Re: [systemd-devel] [PATCH] Remove accelerometer helper

2015-06-29 Thread Tom Gundersen
On Sat, Jun 27, 2015 at 10:02 PM, Kay Sievers k...@vrfy.org wrote: On Fri, May 22, 2015 at 3:42 PM, Bastien Nocera had...@hadess.net wrote: It's moved to the iio-sensor-proxy D-Bus service. --- .gitignore | 1 - Makefile.am| 15 --

Re: [systemd-devel] systemd-nspawn: cannot join existing macvlan

2015-06-18 Thread Tom Gundersen
On Thu, Jun 18, 2015 at 9:10 PM, Lennart Poettering lenn...@poettering.net wrote: On Sat, 30.05.15 19:55, Kai Krakow (hurikha...@gmail.com) wrote: The next issue with your argument is: AFAIR nspawn doesn't create a macvlan interface based on the machine name. You have to pass the name of a

Re: [systemd-devel] Regression: loop device detach errors in 220

2015-06-03 Thread Tom Gundersen
https://bugs.archlinux.org/task/45111 c32eb440bab953a0169cd207dfef5cad16dfb340 is the first bad commit Author: Tom Gundersen t...@jklm.no Date: Tue Apr 14 16:25:06 2015 +0200 libudev: make libudev-enumerate a thin wrapper around sd-device :100644 100644

Re: [systemd-devel] [PATCH] mount-setup: create /run/systemd/netif/links/ before accessing

2015-06-02 Thread Tom Gundersen
On Mon, Jun 1, 2015 at 9:16 PM, Robert Schwebel r.schwe...@pengutronix.de wrote: systemd-timesyncd breaks with Starting Network Time Synchronization... [FAILED] Failed to start Network Time Synchronization. when we have timesyncd activated and systemd-networkd not. Create directory

Re: [systemd-devel] [PATCH] mount: use libmount to monitor mountinfo utab

2015-06-02 Thread Tom Gundersen
On Tue, Jun 2, 2015 at 1:53 PM, Karel Zak k...@redhat.com wrote: On Mon, Jun 01, 2015 at 05:06:56PM +0200, Tom Gundersen wrote: -(void) sd_event_source_set_description(m-mount_utab_event_source, mount-utab-dispatch); +sd_event_source_set_description(m

Re: [systemd-devel] sd-device: fix invalid property strv pointers

2015-06-01 Thread Tom Gundersen
On Mon, Jun 1, 2015 at 11:39 AM, Martin Pitt martin.p...@ubuntu.com wrote: With our 220 package I still get a broken environment in udev callouts, even with Tom's recent fix 0e3e605 applied. Curiously it works for devices like lo which don't have a lot of properties, but for real wlan devices

Re: [systemd-devel] [PATCH] mount: use libmount to monitor mountinfo utab

2015-06-01 Thread Tom Gundersen
Hi Karel, On Mon, Jun 1, 2015 at 2:07 PM, Karel Zak k...@redhat.com wrote: The current implementation directly monitor /proc/self/mountinfo and /run/mount/utab files. It's really not optimal because utab file is private libmount stuff without any official guaranteed semantic. The libmount

Re: [systemd-devel] udev --daemon is broken again

2015-05-31 Thread Tom Gundersen
On Sun, May 31, 2015 at 8:45 PM, Abdó Roig-Maranges abdo.r...@gmail.com wrote: Andrei Borzenkov writes: Was not it fixed by 693d371d30fee1da58365121801445b404416ada? No. The first time it broke was due to the udev manager wanting to be used by a single process, and was fixed in

Re: [systemd-devel] udev --daemon is broken again

2015-05-31 Thread Tom Gundersen
On Sun, May 31, 2015 at 9:45 PM, Tom Gundersen t...@jklm.no wrote: On Sun, May 31, 2015 at 8:45 PM, Abdó Roig-Maranges abdo.r...@gmail.com wrote: Andrei Borzenkov writes: Was not it fixed by 693d371d30fee1da58365121801445b404416ada? No. The first time it broke was due to the udev

Re: [systemd-devel] Questions about socket activated services

2015-05-30 Thread Tom Gundersen
On Sat, May 30, 2015 at 3:36 PM, cee1 fykc...@gmail.com wrote: Which service type should a socket activated service be? 1. For systemd-udevd.service and systemd-journald.service, they are notify type 2. For dbus.service, it is simple type A service can be of type 'simple' if all that other

Re: [systemd-devel] 'udevadm settle' brakes lvm on top of imsm raid

2015-05-28 Thread Tom Gundersen
On Thu, May 28, 2015 at 10:10 AM, Oleg Samarin osamari...@gmail.com wrote: Hi! I have an imsm raid-1 device /dev/md126 assembled of /dev/sda and /dev/sdb. I have a lvm group on top of /dev/md126p2 with some logical volumes. All this work fine with Fedora 21. I'm trying to fresh install

Re: [systemd-devel] [PATCH] missing: add more IFLA_VXLAN_* defines

2015-05-27 Thread Tom Gundersen
Applied. Thanks! Tom On Tue, May 26, 2015 at 7:48 AM, Michael Olbrich m.olbr...@pengutronix.de wrote: Otherwise building faild with kernel headers v3.16 --- configure.ac | 2 +- src/shared/missing.h | 11 +-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git

Re: [systemd-devel] Adding additional network interfaces dynamically, after networkd startup finishes

2015-05-27 Thread Tom Gundersen
On Wed, May 27, 2015 at 2:03 PM, Peter Lemenkov lemen...@gmail.com wrote: Hello All! My network is managed via systemd-networkd. I'm trying to create additional network bridge after another one service (VPN) is started. Right now I'm having a ExecStartPost directive, which creates

Re: [systemd-devel] 220 udev boot regression: timeout, giving up waiting for workers to finish

2015-05-27 Thread Tom Gundersen
On Tue, May 26, 2015 at 5:11 PM, Martin Pitt martin.p...@ubuntu.com wrote: Hello Tom, all, with 220 I get a severe boot time regression: $ systemd-analyze Startup finished in 30.751s (kernel) + 11.706s (userspace) = 42.458s which used to be $ systemd-analyze Startup finished in

Re: [systemd-devel] 220 udev boot regression: timeout, giving up waiting for workers to finish

2015-05-27 Thread Tom Gundersen
On Wed, May 27, 2015 at 6:16 PM, Filipe Brandenburger filbran...@google.com wrote: Hi Tom, On Wed, May 27, 2015 at 8:45 AM, Tom Gundersen t...@jklm.no wrote: It appears a few people see this, but I was not able to reproduce. If anyone could reproduce with this patch applied [0], it would

Re: [systemd-devel] 220 udev boot regression: timeout, giving up waiting for workers to finish

2015-05-27 Thread Tom Gundersen
On Wed, May 27, 2015 at 6:23 PM, Tom Gundersen t...@jklm.no wrote: On Wed, May 27, 2015 at 6:16 PM, Filipe Brandenburger filbran...@google.com wrote: Hi Tom, On Wed, May 27, 2015 at 8:45 AM, Tom Gundersen t...@jklm.no wrote: It appears a few people see this, but I was not able to reproduce

Re: [systemd-devel] [PATCH] fix extraneous space in equality check

2015-05-27 Thread Tom Gundersen
Applied. Thanks! Tom On Wed, May 27, 2015 at 9:02 PM, Jonathan Boulle jonathan.bou...@coreos.com wrote: --- src/core/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/main.c b/src/core/main.c index c39815b10675..212ab901b18f 100644 --- a/src/core/main.c

Re: [systemd-devel] [PATCH] Fix systemd.resource-control(5) volume number.

2015-05-27 Thread Tom Gundersen
On Wed, May 27, 2015 at 9:47 PM, Patrick Donnelly batr...@batbytes.com wrote: Signed-off-by: Patrick Donnelly batr...@batbytes.com We don't use s-o-b in systemd, so dropped this when applying. Also adjusted the subject line a bit (for future reference). Thanks for the patch! Pushed. Cheers,

Re: [systemd-devel] crda broken with systemd 220

2015-05-27 Thread Tom Gundersen
On Tue, May 26, 2015 at 11:53 AM, Michał Bartoszkiewicz mbartoszkiew...@gmail.com wrote: Hello, it seems that udev from systemd 220 does passes empty environment to a process spawned by a RUN rule. execve(/usr/sbin/crda, [/usr/sbin/crda], [/* 0 vars */]) = 0 This breaks crda, as it expects

Re: [systemd-devel] [PATCH] treewide: fix typos

2015-05-26 Thread Tom Gundersen
Applied. Thanks! Tom On Tue, May 26, 2015 at 7:17 PM, Torstein Husebø torst...@huseboe.net wrote: --- NEWS| 4 ++-- man/journal-remote.conf.xml | 2 +- src/libsystemd/sd-bus/bus-control.c | 2 +- src/libsystemd/sd-bus/bus-creds.c | 6 +++---

Re: [systemd-devel] 220 udev boot regression: timeout, giving up waiting for workers to finish

2015-05-26 Thread Tom Gundersen
On Tue, May 26, 2015 at 5:11 PM, Martin Pitt martin.p...@ubuntu.com wrote: Hello Tom, all, with 220 I get a severe boot time regression: $ systemd-analyze Startup finished in 30.751s (kernel) + 11.706s (userspace) = 42.458s which used to be $ systemd-analyze Startup finished in

Re: [systemd-devel] 220 udev boot regression: timeout, giving up waiting for workers to finish

2015-05-26 Thread Tom Gundersen
On Tue, May 26, 2015 at 9:04 PM, Christian Hesse l...@eworm.de wrote: Martin Pitt martin.p...@ubuntu.com on Tue, 2015/05/26 17:11: Hello Tom, all, with 220 I get a severe boot time regression: $ systemd-analyze Startup finished in 30.751s (kernel) + 11.706s (userspace) = 42.458s which

Re: [systemd-devel] 220 udev boot regression: timeout, giving up waiting for workers to finish

2015-05-26 Thread Tom Gundersen
On Tue, May 26, 2015 at 9:04 PM, Christian Hesse l...@eworm.de wrote: Martin Pitt martin.p...@ubuntu.com on Tue, 2015/05/26 17:11: Hello Tom, all, with 220 I get a severe boot time regression: $ systemd-analyze Startup finished in 30.751s (kernel) + 11.706s (userspace) = 42.458s which

Re: [systemd-devel] inotify_add_watch() failed: Bad file descriptor

2015-05-26 Thread Tom Gundersen
On Tue, May 26, 2015 at 10:14 AM, Christian Hesse l...@eworm.de wrote: Hello everybody, with systemd v220 I see inotify errors from udevd. I get this once: systemd-udevd: inotify_add_watch(9, /dev/sr0, 10) failed: Bad file descriptor And a lot of these: systemd-udevd: inotify_add_watch(9,

Re: [systemd-devel] [PATCH 1/2] build-sys: always include src/boot/efi in tarballs

2015-05-25 Thread Tom Gundersen
Applied. Thanks! Tom On Mon, May 25, 2015 at 11:18 AM, Marc-Antoine Perennou marc-anto...@perennou.com wrote: currently it would only be included if configure was ran with --enable-gnuefi --- Makefile.am | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git

Re: [systemd-devel] [PATCH] swap: use swapon -o

2015-05-25 Thread Tom Gundersen
Applied. Thanks! Tom On Mon, May 25, 2015 at 12:11 PM, Karel Zak k...@redhat.com wrote: This patch simplify swapon usage in systemd. The command swapon(8) since util-linux v2.26 supports -o list. The idea is exactly the same like for mount(8). The -o specifies options in fstab-compatible

Re: [systemd-devel] [PATCH 2/2] build-sys: don't dist generated files

2015-05-25 Thread Tom Gundersen
Applied, with minor fix. Please verify that it still works for you! Tom On Mon, May 25, 2015 at 11:18 AM, Marc-Antoine Perennou marc-anto...@perennou.com wrote: --- Makefile.am | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/Makefile.am b/Makefile.am

Re: [systemd-devel] [PATCH] build-sys: fix headers installation

2015-05-25 Thread Tom Gundersen
Applied. Thanks! Tom On Mon, May 25, 2015 at 1:35 PM, Marc-Antoine Perennou marc-anto...@perennou.com wrote: --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 4933e6f..8e38010 100644 --- a/Makefile.am +++ b/Makefile.am @@

[systemd-devel] [PATCH 6/6] udevd: event - port spawn_wait() to sd-event

2015-05-25 Thread Tom Gundersen
This allows us to drop the special sigterm handling in spawn_wait() as this will now be passed directly to the worker event loop. We now log failing processe at 'warning' leve, otherwise the behavior is unchanged. --- src/test/test-udev.c| 7 -- src/udev/udev-event.c | 177

[systemd-devel] [PATCH 1/6] udevd: introduce manager_exit() and manager_reload()

2015-05-25 Thread Tom Gundersen
The behavior is mostly unchanged, but rather than only ever calling these functions at fixed points in the event loop, they are called directly whenever they are invoked. --- src/udev/udevd.c | 80 +++- 1 file changed, 44 insertions(+), 36

[systemd-devel] [PATCH 2/6] udevd: only check for changed config before scheduling new events

2015-05-25 Thread Tom Gundersen
Also move builtin and rules initialization from main loop to event_queue_start(). No functional change. --- src/udev/udevd.c | 42 +- 1 file changed, 25 insertions(+), 17 deletions(-) diff --git a/src/udev/udevd.c b/src/udev/udevd.c index 91fe3d9..e309def

[systemd-devel] [PATCH 5/6] units: udevd - hook up watchdog support

2015-05-25 Thread Tom Gundersen
--- units/systemd-udevd.service.in | 1 + 1 file changed, 1 insertion(+) diff --git a/units/systemd-udevd.service.in b/units/systemd-udevd.service.in index 32f04d9..e7216d6 100644 --- a/units/systemd-udevd.service.in +++ b/units/systemd-udevd.service.in @@ -23,3 +23,4 @@ RestartSec=0

[systemd-devel] [PATCH 3/6] udevd: explicitly try to start event queue when it may be possible

2015-05-25 Thread Tom Gundersen
Rather than trying to schedule new events on every main-loop iteration, do it explicitly when processing an event finishes, a worker is killed, a new uevent is received, or the event queue is explicitly restarted. --- src/udev/udevd.c | 13 ++--- 1 file changed, 10 insertions(+), 3

[systemd-devel] [PATCH 4/6] udevd: move main-loop to sd-event

2015-05-25 Thread Tom Gundersen
--- src/udev/udevd.c | 378 ++- 1 file changed, 177 insertions(+), 201 deletions(-) diff --git a/src/udev/udevd.c b/src/udev/udevd.c index c9b0ed5..8cffd81 100644 --- a/src/udev/udevd.c +++ b/src/udev/udevd.c @@ -41,6 +41,8 @@ #include

Re: [systemd-devel] [PATCH] core: if PR_SET_CHILD_SUBREAPER fails, log_error instead of warning

2015-05-24 Thread Tom Gundersen
On Sat, May 23, 2015 at 6:04 PM, Cristian Rodríguez crrodrig...@opensuse.org wrote: It was a warning when we still supported kernel 3.4. current minimum version is 3.7. Hm, we don't actually fail out here, but we still try to continue. Isn't 'warning' more appropriate in that case? Cheers,

Re: [systemd-devel] [PATCH] nspawn: be verbose about interface names

2015-05-24 Thread Tom Gundersen
On Fri, May 22, 2015 at 4:02 PM, Umut Tezduyar Lindskog umut.tezdu...@axis.com wrote: Allowed interface name is relatively small. Lets not make users go in to the source code to figure out what happened. --machine=debian-tree conflicts with --machine=debian-tree2 ex: Failed to add new veth

Re: [systemd-devel] [PATCH] Correct path to systemd-fsck in generated systemd-fsck-root.service

2015-05-24 Thread Tom Gundersen
On Sun, May 24, 2015 at 10:33 PM, Mike Gilbert flop...@gentoo.org wrote: --- Makefile.am| 1 + src/shared/generator.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index f84a28d..70d4dc0 100644 --- a/Makefile.am +++

Re: [systemd-devel] [PATCH] Remove accelerometer helper

2015-05-22 Thread Tom Gundersen
On Fri, May 22, 2015 at 3:42 PM, Bastien Nocera had...@hadess.net wrote: It's moved to the iio-sensor-proxy D-Bus service. Nice! When was this released? Should we expect all distros to have picked up this yet? --- .gitignore | 1 - Makefile.am

Re: [systemd-devel] [PATCH] networkd: fix systemd-networkd-wait-online with multiple NICs

2015-05-21 Thread Tom Gundersen
On Wed, May 20, 2015 at 8:05 PM, Michael Marineau michael.marin...@coreos.com wrote: I haven't retested HEAD yet but up through 219 it would report 'no-carrier configuring' which seems bogus since it shouldn't be configuring an interface in such a state no-carrier configuring could easily

Re: [systemd-devel] networkd: dbus API for networkd reconfiguration at run-time

2015-05-21 Thread Tom Gundersen
On Tue, May 19, 2015 at 10:40 AM, Rauta, Alin alin.ra...@intel.com wrote: Hi Lennart, Thanks for the answers. One more questions. Just a curiosity of mine. Currently, a user has to write scripts if he wants to save the run-time configuration in networkd format or to use a configuration

Re: [systemd-devel] [PATCH] Fixed incorrect type for MTU

2015-05-21 Thread Tom Gundersen
On Thu, May 21, 2015 at 12:54 PM, dmoneil2 david.m.one...@intel.com wrote: The parser uses size_t for MTU however the structure is defined with unsigned int as the target type resulting in a value corruption for the next field of the structure. dmoneil2 (1): Fixed issue with corruption

Re: [systemd-devel] [ANNOUNCE] Separating gudev from systemd

2015-05-20 Thread Tom Gundersen
On Wed, May 20, 2015 at 8:24 AM, Martin Pitt martin.p...@ubuntu.com wrote: Hey David, David Herrmann [2015-05-19 17:06 +0200]: We're about to remove gudev from the systemd repository, as it is in no way related to the systemd code-base, nor used by the systemd project. This makes sense

Re: [systemd-devel] [PATCH] networkd: fix systemd-networkd-wait-online with multiple NICs

2015-05-20 Thread Tom Gundersen
On Tue, Apr 21, 2015 at 11:59 PM, Nick Owens misch...@offblast.org wrote: hello tom, On Mon, Apr 20, 2015 at 2:32 PM, Tom Gundersen t...@jklm.no wrote: On Fri, Apr 3, 2015 at 12:48 AM, Michael Marineau michael.marin...@coreos.com wrote: On Thu, Apr 2, 2015 at 3:08 PM, Nick Owens misch

Re: [systemd-devel] networkd-218 seems to ignore .link files

2015-05-19 Thread Tom Gundersen
On Tue, May 19, 2015 at 6:57 PM, Jan Engelhardt jeng...@inai.de wrote: On Tuesday 2015-05-19 18:38, Tom Gundersen wrote: # networkctl status --no-pager eth0 ??● 3: eth0 Link File: n/a Network File: n/a Type: ether State: off (unmanaged) Path: pci-

Re: [systemd-devel] networkd-218 seems to ignore .link files

2015-05-19 Thread Tom Gundersen
On Tue, Apr 21, 2015 at 6:26 PM, Lennart Poettering lenn...@poettering.net wrote: On Tue, 21.04.15 14:47, Tom Gundersen (t...@jklm.no) wrote: I'm having a similar problem while running systemd version-219. Did you work out what was wrong? My link file is ignored even when I symlink

Re: [systemd-devel] Setting UseDomains=yes by default DHCP

2015-05-19 Thread Tom Gundersen
It seems this thread was already resolved, just wanted to add one comment: On Mon, May 18, 2015 at 2:26 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: So to mount a successful spoof, the attacker needs to a) control the dhcp server domain option to return a domain under attacker

Re: [systemd-devel] How to set primary slave in active-backup mode (bonding)

2015-05-19 Thread Tom Gundersen
On Thu, Apr 9, 2015 at 4:29 PM, Mikhail Morfikov mmorfi...@gmail.com wrote: I usually have two network interfaces on my laptops (one eth and one wlan), and when I was using sysvinit I also was configuring the bond interface via the /etc/network/interfaces file so the two interfaces could work

Re: [systemd-devel] [PATCH 2/2] udev: Allow detection of udevadm settle timeout

2015-05-19 Thread Tom Gundersen
On Sat, May 2, 2015 at 12:21 PM, Nir Soffer nir...@gmail.com wrote: On Tue, Apr 21, 2015 at 12:41 AM, Tom Gundersen t...@jklm.no wrote: On Mon, Apr 13, 2015 at 3:04 PM, Nir Soffer nir...@gmail.com wrote: On Sat, Apr 11, 2015 at 6:58 PM, David Herrmann dh.herrm...@gmail.com wrote: A program

Re: [systemd-devel] systemd-networkd and systemd-nspawn: missing host-side network

2015-05-19 Thread Tom Gundersen
On Mon, Apr 27, 2015 at 6:50 AM, Kai Krakow hurikha...@gmail.com wrote: I've created a container with systemd-nspawn, machinectl enabled it, then added machines.target to my default target (systemctl enable machines.target) so that containers will be autostarted on boot. That works so far.

Re: [systemd-devel] networkd failing sporadically failing to bring up network device

2015-05-19 Thread Tom Gundersen
On Tue, Apr 7, 2015 at 5:46 PM, Richard Maw richard@codethink.co.uk wrote: On Sat, Apr 04, 2015 at 12:08:04PM +0100, Sitsofe Wheeler wrote: Hi, I've noticed that networkd occasionally fails to bring up one of two network interfaces on boot (this happens about once every 70 or so boots).

Re: [systemd-devel] unaligned write in dhcp_identifier_set_iaid

2015-05-19 Thread Tom Gundersen
On Tue, Feb 24, 2015 at 7:22 PM, Michael Olbrich m.olbr...@pengutronix.de wrote: there is an unaligned write in dhcp_identifier_set_iaid() and I'm not quite sure what the correct fix is: int dhcp_identifier_set_iaid(int ifindex, uint8_t *mac, size_t mac_len, uint32_t *_id) { [...]

Re: [systemd-devel] systemd-nspawn trouble

2015-05-18 Thread Tom Gundersen
On Sun, May 17, 2015 at 5:30 PM, Michael Biebl mbi...@gmail.com wrote: 2015-05-15 22:16 GMT+02:00 Tom Gundersen t...@jklm.no: on-demand I agree with Lennart that it makes the most sense to simply unconditionally load the modules. If this is undesirable the solution should be to teach

Re: [systemd-devel] Will *.network replace resolv.conf? What about Options single-request?

2015-05-15 Thread Tom Gundersen
On Mon, May 4, 2015 at 2:57 PM, Christian Brunotte c...@lathspell.de wrote: systemd.network(5) with Options like DNS= and Domains= looks like /etc/resolv.conf will soon be superfluous. In many setups, yes, but we will not aim at bug-for-bug compatibility or anything like that. We are open to

Re: [systemd-devel] systemd-nspawn trouble

2015-05-15 Thread Tom Gundersen
On Wed, Apr 22, 2015 at 2:36 PM, Michael Biebl mbi...@gmail.com wrote: 2015-04-22 14:26 GMT+02:00 Lennart Poettering lenn...@poettering.net: On Wed, 22.04.15 14:22, Michael Biebl (mbi...@gmail.com) wrote: 2015-04-22 14:14 GMT+02:00 Lennart Poettering lenn...@poettering.net: On Wed, 22.04.15

Re: [systemd-devel] [PATCH v2] networkd: do not change kernel forwarding parameters when IPForwarding is unset

2015-05-15 Thread Tom Gundersen
On Fri, May 15, 2015 at 10:02 PM, Lennart Poettering lenn...@poettering.net wrote: On Fri, 15.05.15 12:56, Michael Marineau (michael.marin...@coreos.com) wrote: (build time option to ./configure that is) I guess I'd be OK with that... It would be a shame if we started diverging on the

Re: [systemd-devel] [PATCH 2/3] networkd: introduce vti6 tunnel

2015-04-29 Thread Tom Gundersen
Applied. Thanks! Tom On Wed, Apr 22, 2015 at 10:44 AM, Susant Sahani sus...@redhat.com wrote: This patch add support to create vti6 tunnel test: vt6.network [Match] Name=wlan0 [Network] Tunnel=ip6vti vti6.netdev [NetDev] Name=ip6vti Kind=vti6 [Tunnel]

Re: [systemd-devel] [PATCH 3/3] networkd: add man for vti6 tunnel

2015-04-29 Thread Tom Gundersen
Applied. Thanks! Tom On Wed, Apr 22, 2015 at 10:44 AM, Susant Sahani sus...@redhat.com wrote: --- man/systemd.netdev.xml | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/man/systemd.netdev.xml b/man/systemd.netdev.xml index f413739..3bfd01b 100644 ---

Re: [systemd-devel] [PATCH 1/3] networkd: tunnel improve logging

2015-04-29 Thread Tom Gundersen
Applied. Thanks! Tom On Wed, Apr 22, 2015 at 10:44 AM, Susant Sahani sus...@redhat.com wrote: Replaces a lof ot strerror() usage with log_netdev_error_errno() --- src/network/networkd-netdev-tunnel.c | 240 ++- 1 file changed, 64 insertions(+), 176

Re: [systemd-devel] [PATCH] core: fix event source annotations

2015-04-29 Thread Tom Gundersen
Applied. Thanks! Tom On Wed, Apr 29, 2015 at 8:29 PM, Mantas Mikulėnas graw...@gmail.com wrote: These looked like a mass-replace gone slightly wrong – two statements with no { }'s, and no error checking. --- src/core/busname.c | 4 +++- src/core/manager.c | 5 - src/core/socket.c | 3

Re: [systemd-devel] udev leaves dangling symlinks

2015-04-23 Thread Tom Gundersen
as a side effect). This was broken by: commit 3c0bab4aaf70b2383aa4cbabf6059c48744e8960 Author: Tom Gundersen t...@jklm.no Date: Fri Mar 6 18:22:35 2015 +0100 udevd: event - make db loading lazy in REMOVE event handling But udev_node_remove() needs the DB to know about symlinks, so

Re: [systemd-devel] networkd-218 seems to ignore .link files

2015-04-21 Thread Tom Gundersen
On Tue, Apr 14, 2015 at 7:08 PM, Andrew Cooks aco...@linux.com wrote: On Tue, Jan 13, 2015 at 6:46 AM, Jan Engelhardt jeng...@inai.de wrote: On Monday 2015-01-12 18:29, Tom Gundersen wrote: In systemd-218, I have configured the following testcase: /etc/systemd/network# ls -al total 20

Re: [systemd-devel] [PATCH] networkd man: fix man and config name.

2015-04-21 Thread Tom Gundersen
On Tue, Apr 21, 2015 at 1:16 PM, Susant Sahani sus...@redhat.com wrote: On 04/21/2015 04:33 PM, Lennart Poettering wrote: On Tue, 21.04.15 13:34, Susant Sahani (sus...@redhat.com) wrote: Rename bond confs and man as well. --- man/systemd.netdev.xml | 28

Re: [systemd-devel] [PATCH] networkd: fix systemd-networkd-wait-online with multiple NICs

2015-04-20 Thread Tom Gundersen
On Wed, Mar 25, 2015 at 9:49 PM, misch...@offblast.org wrote: From: mischief misch...@offblast.org when checking interface status, systemd-networkd-wait-online will continue to wait if any interface is still configuring or being processed by udev. this patch allows it to return if any one

Re: [systemd-devel] [PATCH 2/2] udev: Allow detection of udevadm settle timeout

2015-04-20 Thread Tom Gundersen
On Mon, Apr 13, 2015 at 3:04 PM, Nir Soffer nir...@gmail.com wrote: On Sat, Apr 11, 2015 at 6:58 PM, David Herrmann dh.herrm...@gmail.com wrote: A program running this tool can detect a timeout (expected) or an error (unexpected), and can change the program flow based on this result. Without

Re: [systemd-devel] udev interface naming for SR-IOV VFs

2015-04-20 Thread Tom Gundersen
On Tue, Apr 14, 2015 at 12:11 PM, Ido Barkan ibar...@redhat.com wrote: We are implementing support for SR-IOV network cards. Afer the changing of the number of VFs on the card and programmatically querying for all links (we use libnl for this) we observe that *during the iteration* over the

Re: [systemd-devel] [PATCH] networkd vxlan: Add support for enabling UDP checksums

2015-04-20 Thread Tom Gundersen
Sorry for the delay. Applied. Thanks! Tom On Thu, Mar 5, 2015 at 5:32 PM, Susant Sahani sus...@redhat.com wrote: Add UDPCheckSum option to enable transmitting UDP checksums when doing VXLAN/IPv4. Add UDP6ZeroChecksumRx, and UDP6ZeroChecksumTx options to enable sending zero checksums and

Re: [systemd-devel] [PATCH] networkd: Add support for bond option.

2015-04-20 Thread Tom Gundersen
Sorry for the delay. Applied. Thanks! Tom On Mon, Mar 9, 2015 at 10:58 AM, Susant Sahani sus...@redhat.com wrote: This patch adds configurational support for bond option. Test conf: bond.netdev --- [NetDev] Name=bond1 Kind=bond [Bond] ArpAllTargets=all PrimaryReselect=better

Re: [systemd-devel] SD_BUS_VTABLE_CAPABILITY

2015-04-16 Thread Tom Gundersen
Hi Andy, On Thu, Apr 16, 2015 at 2:55 AM, Andy Lutomirski l...@amacapital.net wrote: Yesterday, I discovered SD_BUS_VTABLE_CAPABILITY. Are there any examples in which it does anything? Please note that you need to be using kdbus to get any capabilities transported, so in dbus1 this does

Re: [systemd-devel] SD_BUS_VTABLE_CAPABILITY

2015-04-16 Thread Tom Gundersen
On Thu, Apr 16, 2015 at 4:52 PM, Andy Lutomirski l...@amacapital.net wrote: Unshare your user namespace, set things up right, and systemd or any other server will see you as having all capabilities. You've fixed that in kdbus, but you haven't (and probably can't!) fix it in the legacy code,

Re: [systemd-devel] SD_BUS_VTABLE_CAPABILITY

2015-04-16 Thread Tom Gundersen
On Thu, Apr 16, 2015 at 5:57 PM, Andy Lutomirski l...@amacapital.net wrote: We have several uses of this, see my mail to Jiri regarding CAP_SYS_BOOT for instance: https://lkml.org/lkml/2015/4/16/219 I read that, but I disagree with you. CAP_SYS_BOOT is the privilege to directly

Re: [systemd-devel] [systemd-commits] 2 commits - src/libsystemd

2015-04-14 Thread Tom Gundersen
On Tue, Apr 14, 2015 at 4:21 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Tue, Apr 14, 2015 at 07:19:42AM -0700, Tom Gundersen wrote: src/libsystemd/sd-device/sd-device.c |9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) New commits: commit

Re: [systemd-devel] [RFC 1/6] proxy-discoveryd: Basic core added

2015-04-13 Thread Tom Gundersen
On Mon, Apr 13, 2015 at 12:05 PM, Tomasz Bursztyka tomasz.burszt...@linux.intel.com wrote: +int manager_new(Manager **ret); +Manager *manager_free(Manager *m); + +DEFINE_TRIVIAL_CLEANUP_FUNC(Manager*, manager_free); +#define _cleanup_manager_free_ _cleanup_(manager_freep) We generally try

Re: [systemd-devel] [systemd-commits] 2 commits - src/libsystemd

2015-04-05 Thread Tom Gundersen
On Sun, Apr 5, 2015 at 11:50 AM, Lennart Poettering lenn...@poettering.net wrote: On Fri, 03.04.15 13:23, Tom Gundersen (tome...@kemper.freedesktop.org) wrote: -tags = strdupa(value); +FOREACH_WORD_SEPARATOR(word, l, value, :, state

Re: [systemd-devel] systemd from git doesn't boot properly in fedora rawhide

2015-04-03 Thread Tom Gundersen
On Fri, Apr 3, 2015 at 11:14 AM, Jan Synáček jsyna...@redhat.com wrote: From the following commit onward, systemd doesn't boot properly in Rawhide. Some device units time out and I'm then dropped into an emergency shell. commit f4ac4d1a82e2c468761fffa23841ad886221 Author: Tom Gundersen t

Re: [systemd-devel] networkd: Is auto-negotiation turned off when specifying parameters in a link file?

2015-04-03 Thread Tom Gundersen
On Fri, Apr 3, 2015 at 4:47 PM, Lennart Poettering lenn...@poettering.net wrote: On Thu, 02.04.15 13:11, Paul Menzel (paulepan...@users.sourceforge.net) wrote: Dear systemd folks, some network cards with certain cables and devices take up to five seconds so that the link is up [1].

[systemd-devel] [RFC][PATCH 1/2] libsystemd: add sd-device library

2015-04-01 Thread Tom Gundersen
new file mode 100644 index 000..59ec1a6 --- /dev/null +++ b/src/libsystemd/sd-device/device-internal.h @@ -0,0 +1,125 @@ +/*** + This file is part of systemd. + + Copyright 2008-2012 Kay Sievers k...@vrfy.org + Copyright 2014 Tom Gundersen t...@jklm.no + + systemd is free software; you can

[systemd-devel] [RFC][PATCH 2/2] libudev: device - replace by a thin wrapper around sd-device

2015-04-01 Thread Tom Gundersen
@@ +/*** + This file is part of systemd. + + Copyright 2008-2012 Kay Sievers k...@vrfy.org + Copyright 2015 Tom Gundersen t...@jklm.no + + systemd is free software; you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as published by + the Free

[systemd-devel] [RFC][PATCH] udev: net_id - support multi-function, multi-port enpo* device names

2015-04-01 Thread Tom Gundersen
I'd argue that having firmware labels for such devices makes no sense, but they exist, so make sure we handle them as best as we can. --- src/udev/udev-builtin-net_id.c | 64 -- 1 file changed, 43 insertions(+), 21 deletions(-) diff --git

Re: [systemd-devel] [RFC][PATCH 1/2] libsystemd: add sd-device library

2015-04-01 Thread Tom Gundersen
After discussing this with Kay, I went ahead and pushed this. Feedback still welcome of course. Cheers, Tom On Wed, Apr 1, 2015 at 3:00 PM, Tom Gundersen t...@jklm.no wrote: This provides equivalent functionality to libudev-device, but in the systemd style. The public API only caters

Re: [systemd-devel] [RFC][PATCH] udev: net_id - support multi-function, multi-port enpo* device names

2015-04-01 Thread Tom Gundersen
I pushed a version of this only handling the multi-port devices. We can deal with multi-function if and when they appear in the wild. -t On Wed, Apr 1, 2015 at 4:52 PM, Tom Gundersen t...@jklm.no wrote: I'd argue that having firmware labels for such devices makes no sense, but they exist, so

Re: [systemd-devel] [PATCH] nspawn: fallback on bind mount when mknod fails

2015-03-29 Thread Tom Gundersen
On Mar 29, 2015 5:18 PM, Alban Crequy alban.cre...@gmail.com wrote: From: Alban Crequy al...@endocode.com Some systems abusively restrict mknod, even when the device node already exists in /dev. This is unfortunate because it prevents systemd-nspawn from creating the basic devices in /dev in

Re: [systemd-devel] [PATCH] automount: add expire support

2015-03-27 Thread Tom Gundersen
Looks nice. Minor nitpicks below. On Sun, Mar 22, 2015 at 1:36 PM, Michael Olbrich m.olbr...@pengutronix.de wrote: --- man/systemd.automount.xml | 8 ++ man/systemd.mount.xml | 9 ++ src/core/automount.c | 209

Re: [systemd-devel] [PATCH 3/3] networkd-dhcp6: Do not handle prefix expiry

2015-03-27 Thread Tom Gundersen
On Wed, Mar 25, 2015 at 2:37 PM, Patrik Flykt patrik.fl...@linux.intel.com wrote: Expiring prefixes need not be handled anymore as the kernel has been instructed not to create routes for DHCPv6 assigned addresses via the IFA_F_NOPREFIXROUTE flag. Great stuff. Please push all three! -t ---

Re: [systemd-devel] Providing DNS for DHCPServer configuration

2015-03-27 Thread Tom Gundersen
Hi Ash, We do want some functionality like this. However, I don't think we should simply default to assuming the DHCP server is also a DNS server. The way it should work is to pass to the client all the (non restricted, i.e., where Domains= is not set, or includes the wildcard) DNS servers

Re: [systemd-devel] [PATCH] timedatectl: check for getenv(TZDIR)

2015-03-27 Thread Tom Gundersen
Hi Shawn, Could you redo the commit message to explain what's going on here? I.e., what ends up being 'wrong' when we ignore TZDIR? Maybe also make this clearer in the warning. -t On Tue, Mar 24, 2015 at 8:02 PM, Shawn Landden sh...@churchofgit.com wrote: I liked having the DST information. It

Re: [systemd-devel] [PATCH 2/2] macro: allow assert_se() assertions to also be optimized out when NDEBUG is set

2015-03-27 Thread Tom Gundersen
On Fri, Mar 27, 2015 at 2:04 PM, Djalal Harouni tix...@opendz.org wrote: Hi Shawn, On Thu, Mar 26, 2015 at 11:21:54PM -0700, Shawn Landden wrote: On Thu, Mar 26, 2015 at 5:47 PM, Djalal Harouni tix...@opendz.org wrote: On Fri, Mar 27, 2015 at 12:30:53AM +0100, Tom Gundersen wrote: On Thu

Re: [systemd-devel] [PATCH 2/2] macro: allow assert_se() assertions to also be optimized out when NDEBUG is set

2015-03-26 Thread Tom Gundersen
On Thu, Mar 26, 2015 at 9:19 AM, Lennart Poettering lenn...@poettering.net wrote: On Tue, 24.03.15 11:11, Shawn Landden (sh...@churchofgit.com) wrote: Will result in slightly smaller binaries, and cuts out the branch, even if the expression is still executed. I am sorry, but the whole point

Re: [systemd-devel] [PATCH] timedated: Add a LocalOffset property for timezone offset

2015-03-24 Thread Tom Gundersen
On Tue, Mar 24, 2015 at 3:17 PM, Stef Walter st...@redhat.com wrote: On 24.03.2015 15:11, Kay Sievers wrote: On Tue, Mar 24, 2015 at 2:15 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: Exactly because they do not require being upgraded in lock-step, doing conversion to the local

  1   2   3   4   5   6   7   8   9   10   >