Re: [systemd-devel] [PATCH] network: allow domain names up to 255 characters

2015-04-14 Thread Lennart Poettering
On Mon, 13.04.15 10:09, Nick Owens (misch...@offblast.org) wrote: Hmm, so the DHCP spec explicitly declares that options 15 and 12 are about the DNS hostname, where RFC 1035 is normative. Our function hostname_is_valid() currently does not validate host names according to RFC 1035, but is

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

2015-04-14 Thread Karel Zak
On Sun, Apr 12, 2015 at 10:33:54PM +0200, Jan Luca Naumann wrote: I'm not a systemd-developer so I want to ask you if it is possible to add a hook for execute something after the unmount (for example to delete the mount directory)? well, /proc/mount and /proc/self/mountinfo are poll-able, so

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

2015-04-14 Thread Ido Barkan
Hi all, I am VDSM developer in the Ovirt project. 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 links some of them were

[systemd-devel] How to get systemd boot messages on serial console and screen?

2015-04-14 Thread Frank Steiner
Hi, when adding console=tty0 console=ttyS4,115200 as kernel parameter on my SLES 12 systems I get all kernel messages both on the physical screen and over the serial console. But the systemd messages about the services started appear only on ttyS4. When I switch the order, i.e. tty0 after ttyS4,

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

2015-04-14 Thread Zbigniew Jędrzejewski-Szmek
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 85091685af65831f379580c75b40776c20e245ee Author: Tom Gundersen t...@jklm.no Date: Tue Apr 14 16:05:53

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

2015-04-14 Thread Andrew Cooks
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 drwxr-xr-x 2 root root 4096 Jan 11 18:14 . drwxr-xr-x 5 root root

Re: [systemd-devel] How to get systemd boot messages on serial console and screen?

2015-04-14 Thread Lennart Poettering
On Tue, 14.04.15 13:36, Frank Steiner (fsteiner-ma...@bio.ifi.lmu.de) wrote: Hi, when adding console=tty0 console=ttyS4,115200 as kernel parameter on my SLES 12 systems I get all kernel messages both on the physical screen and over the serial console. But the systemd messages about the

[systemd-devel] About the exit of systemd-udevd

2015-04-14 Thread Tom Yan
Under certain conditions, I discovered that commands like `udevadm control --exit` or `systemctl stop systemd-udevd` (with the sockets stopped beforehand) will kill udevd before it finish its jobs which triggered by `udevadm trigger` (I presume applying a written udev rule is one of them). Is

Re: [systemd-devel] systemd.network and IPv6 addrlabel

2015-04-14 Thread Richard Maw
On Mon, Apr 13, 2015 at 04:03:34PM +0200, Christian Brunotte wrote: Hello I'm playing around with systemd's network configuration and try to convert the following Debian configuration. iface eth1 inet6 auto # Static IP and random dynamic IPs for external targets autoconf 1

Re: [systemd-devel] systemd.network and IPv6 addrlabel

2015-04-14 Thread Christian Brunotte
Am Tue, 14 Apr 2015 15:24:07 +0100 schrieb Richard Maw richard@codethink.co.uk: On Mon, Apr 13, 2015 at 04:03:34PM +0200, Christian Brunotte wrote: You might be able to replicate the behaviour by adding something like the following; I haven't tested it myself, but

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] [PATCH 2/5] udev.pc: install to pkgconfiglibdir

2015-04-14 Thread Harald Hoyer
Am 08.04.2015 um 19:34 schrieb Marc-Antoine Perennou: On 8 April 2015 at 18:47, Kay Sievers k...@vrfy.org wrote: On Tue, Apr 7, 2015 at 8:54 PM, Marc-Antoine Perennou marc-anto...@perennou.com wrote: --- Makefile.am | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git

[systemd-devel] [PATCH 3/3] journal: include user space audit types in the list

2015-04-14 Thread Zbigniew Jędrzejewski-Szmek
--- Makefile.am | 6 +- configure.ac | 1 + src/journal/audit-type.c | 3 +++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git Makefile.am Makefile.am index 2d82fd12c1..b8cb9cbfd2 100644 --- Makefile.am +++ Makefile.am @@ -1311,10 +1311,14 @@

[systemd-devel] [PATCH 2/3] journal: use audit event names instead of numbers

2015-04-14 Thread Zbigniew Jędrzejewski-Szmek
audit-1400 is replaced by AVC, etc. A fallback mechanism is provided for unlisted event types. Occasionally new types are added to the kernel, but not too often. Add a simple test, which simply prints the mapping. --- .gitignore| 1 + Makefile.am | 9

Re: [systemd-devel] parsing audit messages

2015-04-14 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Apr 02, 2015 at 11:01:08AM +0200, Lennart Poettering wrote: On Thu, 26.03.15 13:56, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: On Thu, Mar 26, 2015 at 09:42:45AM +0100, Lennart Poettering wrote: On Sun, 15.03.15 03:51, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl)

[systemd-devel] [PATCH 1/3] journal: add int↔audit type name mapping

2015-04-14 Thread Zbigniew Jędrzejewski-Szmek
--- Makefile.am | 23 +-- src/journal/.gitignore | 4 src/journal/audit-type.c | 42 ++ src/journal/audit-type.h | 26 ++ 4 files changed, 93 insertions(+), 2 deletions(-) create mode 100644

[systemd-devel] machinectl login machine fails systemd 219

2015-04-14 Thread Keller, Jacob E
Failed to get machine PTY: Message did not receive a reply (timeout by message bus) I get a notification on the machine itself that it started container getty and then stopped it. It worked earlier so I am not sure what changed. No one on google seems to have this specific error. Thanks for

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

2015-04-14 Thread Michael Olbrich
On Thu, Apr 02, 2015 at 12:54:00PM +0200, Lennart Poettering wrote: On Sun, 22.03.15 13:36, Michael Olbrich (m.olbr...@pengutronix.de) wrote: Love this work! Thanks. [...] + +if (a-expire_event_source) { +r = sd_event_source_set_time(a-expire_event_source,

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

2015-04-14 Thread Michael Olbrich
--- Changes in v2: - addressed comments - check every MAX(a-timeout_idle_usec/10, USEC_PER_SEC) instead of every 5 seconds man/systemd.automount.xml | 8 ++ man/systemd.mount.xml | 9 ++ src/core/automount.c | 221

Re: [systemd-devel] machinectl login machine fails systemd 219

2015-04-14 Thread Stefan Tatschner
On Di, 2015-04-14 at 21:56 +, Keller, Jacob E wrote: Failed to get machine PTY: Message did not receive a reply (timeout by message bus) I get a notification on the machine itself that it started container getty and then stopped it. It worked earlier so I am not sure what changed. No

Re: [systemd-devel] [PATCH] journal: don't complain about audit socket errors in a container.

2015-04-14 Thread Frank Thalberg
Hi Lennart, thank you very much for reviewing and responding to the mess I made. Hopefully it will be a smoother experience from now on. On Mon, 13 Apr 2015 16:08:28 +0200 lennart at poettering.net (Lennart Poettering) wrote: What kind of containers are these? LXC? docker? I guess I failed