Re: [systemd-devel] [RFC] core: introduce ExitOnIdle= and ExitOnIdleSec=

2015-04-21 Thread Martin Pitt
Hello Kyungmin, Kyungmin Park [2015-04-21 9:21 +0900]: At mobile. some daemon is not doing exact daemon task. it acts like app. so it's kill-able based on priority. now it can't know it's idle or not. In the app-like daemon developer, they don't want to exit since performance reason. but in

[systemd-devel] Failure(s) Building Systemd with --enable-resolved

2015-04-21 Thread Aaron_Wright
I've been getting a few problems building systemd with --enable-resolved . Any help would be very welcomed. I don't have any problems when compiling with --disable-resolved. The first problem I got was this: CCLD libnss_resolve.la libsystemd_internal_la-bus-message.o (symbol from plugin):

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

2015-04-21 Thread Lennart Poettering
On Tue, 14.04.15 22:01, Michael Olbrich (m.olbr...@pengutronix.de) wrote: I added some more logging (so that automount_dispatch_expire() can never fail without this being logged) and applied it! I only gave this superficial testing though, please check if this all still works fine for you now!

Re: [systemd-devel] Zombie process still exists after stopping gdm.service

2015-04-21 Thread Daniel Drake
On Mon, Apr 20, 2015 at 6:29 PM, Lennart Poettering lenn...@poettering.net wrote: Sure, we don't want to keep track of which processes we already killed, to distuingish them from the processes newly created in the time between our sending of SIGTERM and receiving SIGCHLD for the main process.

Re: [systemd-devel] Setting up network interfaces for containers with --private-network

2015-04-21 Thread Spencer Baugh
Lennart Poettering lenn...@poettering.net writes: On Tue, 21.04.15 10:58, Spencer Baugh (sba...@catern.com) wrote: The MAC address is currently generated as hash value from the container name, it hence should be completely stable already as long as you keep using the same name for the

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

2015-04-21 Thread Susant Sahani
Rename bond confs and man as well. --- man/systemd.netdev.xml | 28 src/network/networkd-netdev-gperf.gperf | 124 2 files changed, 76 insertions(+), 76 deletions(-) diff --git a/man/systemd.netdev.xml b/man/systemd.netdev.xml index

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 3/3] rules: Enable runtime power management on built-in USB Bluetooth controllers

2015-04-21 Thread systemd github import bot
Patchset imported to github. Pull request: https://github.com/systemd-devs/systemd/compare/master...systemd-mailing-devs:1429373517-3749-4-git-send-email-mjg59%40srcf.ucam.org -- Generated by https://github.com/haraldh/mail2git ___ systemd-devel mailing

Re: [systemd-devel] [PATCH] udev: Fix ping timeout when settle timeout is 0

2015-04-21 Thread systemd github import bot
Patchset imported to github. Pull request: https://github.com/systemd-devs/systemd/compare/master...systemd-mailing-devs:1429400987-7868-1-git-send-email-nsoffer%40redhat.com -- Generated by https://github.com/haraldh/mail2git ___ systemd-devel mailing

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

2015-04-21 Thread systemd github import bot
Patchset imported to github. Pull request: https://github.com/systemd-devs/systemd/compare/master...systemd-mailing-devs:1429603445-3886-1-git-send-email-susant%40redhat.com -- Generated by https://github.com/haraldh/mail2git ___ systemd-devel mailing

Re: [systemd-devel] [PATCH] journal: Introduce journal-netlogd

2015-04-21 Thread systemd github import bot
Patchset imported to github. Pull request: https://github.com/systemd-devs/systemd/compare/master...systemd-mailing-devs:1429520631-30735-1-git-send-email-susant%40redhat.com -- Generated by https://github.com/haraldh/mail2git ___ systemd-devel mailing

[systemd-devel] [PATCH] networkd: introduce vti6 tunnel

2015-04-21 Thread Susant Sahani
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] Local=2a00:ffde:4567:edde::4987 Remote=2001:473:fece:cafe::5179 ip link 11: ip6_vti0@NONE: NOARP mtu 1500 qdisc noop state DOWN mode

Re: [systemd-devel] [systemd-commits] man/systemd.netdev.xml src/libsystemd src/network

2015-04-21 Thread Susant Sahani
I will fix these . thanks for review. On 04/21/2015 05:00 AM, Lennart Poettering wrote: On Mon, 20.04.15 15:27, Tom Gundersen (tome...@kemper.freedesktop.org) wrote: + varlistentry +termvarnameLearnPacketIntvSec,=/varname/term +listitem + paraSpecifies the

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

2015-04-21 Thread systemd github import bot
Patchset imported to github. Pull request: https://github.com/systemd-devs/systemd/compare/master...systemd-mailing-devs:1429609568-17264-1-git-send-email-susant%40redhat.com -- Generated by https://github.com/haraldh/mail2git ___ systemd-devel mailing

Re: [systemd-devel] [RFC] core: introduce ExitOnIdle= and ExitOnIdleSec=

2015-04-21 Thread Umut Tezduyar Lindskog
My two cents is feature can be implemented as long as we get support from the application. For example sd-event has the builtin support to quit when it is idle. Systemd can pass the exit-on-idle timeout to the application via env variables so the event loop can configure itself to quit. I am not

Re: [systemd-devel] Setting up network interfaces for containers with --private-network

2015-04-21 Thread Spencer Baugh
Lennart Poettering lenn...@poettering.net writes: On Mon, 20.04.15 22:50, Spencer Baugh (sba...@catern.com) wrote: Yes, in that case, it is of course very simple, but it is not at all configurable. I have one thing and one thing only that I want to configure: The IP address that a given

Re: [systemd-devel] [PATCH] unit: When stopping due to BindsTo=, log which unit caused it

2015-04-21 Thread Alban Crequy
On Sat, Feb 28, 2015 at 5:40 PM, Lennart Poettering lenn...@poettering.net wrote: On Fri, 27.02.15 17:13, Lennart Poettering (lenn...@poettering.net) wrote: On Thu, 26.02.15 16:50, Martin Pitt (martin.p...@ubuntu.com) wrote: IMHO it would be prudent to skip adding the BindsTo= if at the time

[systemd-devel] [PATCH v2 1/2] Don't use ALSA card id in ID_ID

2015-04-21 Thread Adam Goode
The ALSA id sysattr is generated by the sound subsystem and is not a stable identifier. It is generated though some string manipulation then made unique if there is a conflict. This means that it is enumeration-dependent and shouldn't be used for ID_ID. If ID_ID is supposed to be system-unique,

[systemd-devel] [PATCH v2 2/2] Add more firewire properties for sound, to be closer to USB and PCI

2015-04-21 Thread Adam Goode
USB and PCI soundcards have a nice set of ID_* properties. It would be handy for firewire soundcards to have the same. --- rules/78-sound-card.rules | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/rules/78-sound-card.rules b/rules/78-sound-card.rules index

Re: [systemd-devel] [PATCH v2 2/2] Add more firewire properties for sound, to be closer to USB and PCI

2015-04-21 Thread systemd github import bot
Patchset imported to github. Pull request: https://github.com/systemd-devs/systemd/compare/master...systemd-mailing-devs:1429652737-7322-2-git-send-email-agoode%40google.com -- Generated by https://github.com/haraldh/mail2git ___ systemd-devel mailing

[systemd-devel] systemd-nspawn trouble

2015-04-21 Thread Tobias Hunger
Hi! Now that systemd 219 is finally available in arch I am playing with systemd-nspawn again. I was trying to run systemd-nspawn --ephemeral, but that failed since I had a read-only image in /var/lib/machines. Why is that not allowed? systemd-nspawn does create its own snapshot of that one after

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

2015-04-21 Thread Nick Owens
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...@offblast.org wrote: hi, sorry for the delay. from

Re: [systemd-devel] [RFC] core: introduce ExitOnIdle= and ExitOnIdleSec=

2015-04-21 Thread David Timothy Strauss
On Tue, Apr 21, 2015 at 12:26 AM, Martin Pitt martin.p...@ubuntu.com wrote: So I see no use case for idle timer based cleanup. Can you please explain why they are better than on-demand cleanup? We do it on Pantheon's infrastructure because many daemons have a resource footprint that is more

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

2015-04-21 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Apr 20, 2015 at 04:39:41PM +0200, Lennart Poettering wrote: On Tue, 14.04.15 21:58, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: +src/journal/audit_type-list.txt: + $(AM_V_at)$(MKDIR_P) $(dir $@) + $(AM_V_GEN)$(CPP) $(CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) -dM

Re: [systemd-devel] mounting loop

2015-04-21 Thread Christian Hesse
Christian Hesse l...@eworm.de on Mon, 2015/04/20 09:25: Hello everybody, with systemd 219 mounting a filesystem image in loopback mode fails. Using these command: # truncate -s 1G /tmp/test.img # mkfs.ext4 /tmp/test.img [...] # mount -o loop /tmp/test.img /mnt/tmp systemd umounts the

[systemd-devel] journald problems

2015-04-21 Thread Michał Zegan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello. I have just removed my journal files and restarted journald. I then generated sealing keys, saved the verification key. The system worked for maybe an hour or less, I had to power it off, then it was restarted. I tried to verify the journal.

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

2015-04-21 Thread Kay Sievers
On Tue, Apr 21, 2015 at 8:45 PM, Lennart Poettering lenn...@poettering.net wrote: On Tue, 14.04.15 22:01, Michael Olbrich (m.olbr...@pengutronix.de) wrote: I added some more logging (so that automount_dispatch_expire() can never fail without this being logged) and applied it! I only gave

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

2015-04-21 Thread Lennart Poettering
On Tue, 21.04.15 11:42, Andrew Cooks (aco...@linux.com) wrote: # cat /etc/systemd/network/01-mgmt.link [Match] Path=pci-:01:00.0 Type=ether [Link] Name=mgmt MACAddressPolicy=persistent Consider testing the .link file with udevadm test-builtin net_setup_link...

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] Setting up network interfaces for containers with --private-network

2015-04-21 Thread Lennart Poettering
On Mon, 20.04.15 22:50, Spencer Baugh (sba...@catern.com) wrote: Lennart Poettering lenn...@poettering.net writes: On Mon, 20.04.15 15:25, Spencer Baugh (sba...@catern.com) wrote: So far I'd recommend running networkd on the host and in the container. If you run it on the host, then it

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

2015-04-21 Thread Lennart Poettering
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 src/network/networkd-netdev-gperf.gperf | 124 2 files changed, 76 insertions(+), 76

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

2015-04-21 Thread Susant Sahani
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 src/network/networkd-netdev-gperf.gperf | 124

Re: [systemd-devel] [PATCH] unit: When stopping due to BindsTo=, log which unit caused it

2015-04-21 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Apr 21, 2015 at 03:54:35PM +0200, Alban Crequy wrote: On Sat, Feb 28, 2015 at 5:40 PM, Lennart Poettering lenn...@poettering.net wrote: On Fri, 27.02.15 17:13, Lennart Poettering (lenn...@poettering.net) wrote: On Thu, 26.02.15 16:50, Martin Pitt (martin.p...@ubuntu.com) wrote:

Re: [systemd-devel] Failure(s) Building Systemd with --enable-resolved

2015-04-21 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Apr 21, 2015 at 08:39:35AM -0700, aaron_wri...@selinc.com wrote: I've been getting a few problems building systemd with --enable-resolved . Any help would be very welcomed. I don't have any problems when compiling with --disable-resolved. The first problem I got was this: CCLD

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

2015-04-21 Thread Lennart Poettering
On Tue, 21.04.15 15:16, Susant Sahani (sus...@redhat.com) wrote: +static int netdev_vti6_fill_message_create(NetDev *netdev, Link *link, sd_rtnl_message *m) { +Tunnel *t = VTI6(netdev); +int r; + +assert(netdev); +assert(link); +assert(m); +

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

2015-04-21 Thread Lennart Poettering
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 /etc/systemd/network/99-default.link to /dev/null. I don't see anything interesting

Re: [systemd-devel] Setting up network interfaces for containers with --private-network

2015-04-21 Thread Lennart Poettering
On Tue, 21.04.15 10:58, Spencer Baugh (sba...@catern.com) wrote: The MAC address is currently generated as hash value from the container name, it hence should be completely stable already as long as you keep using the same name for the container? Well, generally I want to know what

Re: [systemd-devel] [systemd-commits] man/systemd.netdev.xml src/libsystemd src/network

2015-04-21 Thread Lennart Poettering
On Tue, 21.04.15 01:30, Lennart Poettering (lenn...@poettering.net) wrote: +if (b-arp_interval != 0) { +r = sd_rtnl_message_append_u32(m, IFLA_BOND_ARP_INTERVAL, b-arp_interval / USEC_PER_MSEC); +if (r 0) { +