[systemd-devel] [PATCH 1/3] sd-rtnl: Always enable IFA_FLAGS

2015-03-25 Thread Patrik Flykt
IFA_FLAGS is a discrete value and has no preprocessor #define defined for it. Fix this by always using the value. --- src/libsystemd/sd-rtnl/rtnl-types.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/libsystemd/sd-rtnl/rtnl-types.c b/src/libsystemd/sd-rtnl/rtnl-types.c index bf7278f..5

[systemd-devel] [PATCH 0/3] Let kernel handle prefix expiry

2015-03-25 Thread Patrik Flykt
Hi, This patch set clears up the code related to prefix handling when setting IPv6 addresses from DHCPv6. Instead of explicitely tracking prefixes, instruct the kernel not to create routes based on the IPv6 address and its prefix length. The flag value to use is IFA_F_NOPREFIXROUTE, and

[systemd-devel] [PATCH 2/3] systemd-networkd: Use IFA_F_NOPREFIXROUTE with IPv6 addresses

2015-03-25 Thread Patrik Flykt
The IFA_F_NOPREFIXROUTE flag prevents the kernel from creating new onlink prefixes when a DHCPv6 IPv6 address with a prefix length is set from user space. IPv6 routing will follow the onlink status from Router Advertisment Prefix Information options or any manually set route, which is the correct t

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

2015-03-25 Thread Patrik Flykt
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. --- src/network/networkd-dhcp6.c | 42 +- 1 file changed, 1 insertion(+), 41 deletions(-) di

Re: [systemd-devel] [help] How to get systemd systemd-devel mailing list

2015-03-25 Thread Mantas Mikulėnas
On Wed, Mar 25, 2015 at 5:30 PM, 임창근 wrote: > Hi everybody. > > After enroll subsribing to systemd-devel, I got systemd-devel Digest mail. > But I also want get normal mailing list. > > How I get mailing list? > Visit the "list options" page < http://lists.freedesktop.org/mailman/options/systemd

[systemd-devel] [help] How to get systemd systemd-devel mailing list

2015-03-25 Thread 임창근
Hi everybody. After enroll subsribing to systemd-devel, I got systemd-devel Digest mail. But I also want get normal mailing list. How I get mailing list? ex) [systemd-devel] [PATCH 0/3] Let kernel handle prefix expiry

[systemd-devel] [PATCH] python-systemd: fix is_socket_inet to cope with ports

2015-03-25 Thread Simon Farnsworth
Just a couple of trivial oversights. --- src/python-systemd/_daemon.c | 2 +- src/python-systemd/daemon.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/python-systemd/_daemon.c b/src/python-systemd/_daemon.c index 65cfec7..7c5f1b2 100644 --- a/src/python-systemd/_daem

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

2015-03-25 Thread mischief
From: mischief 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 interface is degraded/routable, as per the manual. --- src/network/networkd-wait-online-ma

Re: [systemd-devel] SELinux labels on unix sockets

2015-03-25 Thread Dominick Grift
For the sock *file*, i would argue, that indeed the "setfscreatecon" is not strictly needed, and that the labeling for this can be taken care of by using type transition rules in the security policy as suggested. However for the "socket" classes associated with the process type, "setsockcreate

Re: [systemd-devel] SELinux labels on unix sockets

2015-03-25 Thread Dominick Grift
On Wed, Mar 25, 2015 at 10:31:41PM +0100, Dominick Grift wrote: > For the sock *file*, i would argue, that indeed the "setfscreatecon" is not > strictly needed, and that the labeling for this can be taken care of by using > type transition rules in the security policy as suggested. > > However

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

2015-03-25 Thread Elias Probst
On 02/11/2015 07:34 PM, Lennart Poettering wrote: > 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

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

2015-03-25 Thread Andrei Borzenkov
On Wed, Mar 25, 2015 at 11:49 PM, wrote: > From: mischief > > 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 interface is degraded/routable, as pe

[systemd-devel] [PATCH] udev: input_id: tag pointing sticks as ID_INPUT_POINTINGSTICK

2015-03-25 Thread Peter Hutterer
Also referred to as trackpoint, trackstick. These are marked by recent kernels through an input prop. Forward that prop as udev property so userspace can easily determine whether there is a pointing stick present. These devices were previously marked as ID_INPUT_MOUSE, for backwards compatibility