Re: [systemd-devel] Enabling timesyncd in virtual machines

2015-04-09 Thread Lennart Poettering
On Fri, 13.03.15 12:25, Michael Marineau (michael.marin...@coreos.com) wrote: Greetings, Currently systemd-timesyncd.service includes ConditionVirtualization=no, disabling it in both containers and virtual machines. Each VM platform tends to deal with or ignore the time problem in their

Re: [systemd-devel] [PATCH v2] log: be more verbose if dbus job fails

2015-04-09 Thread Lennart Poettering
On Thu, 09.04.15 15:20, Michal Sekletar (msekl...@redhat.com) wrote: +quotes = chars_intersect(service, SHELL_NEED_QUOTES); + +service_maybe_quoted = alloca(strlen(service) + 3); +sprintf(service_maybe_quoted, %s%s%s, quotes ? ' : , service, quotes ? ' : ); I have

Re: [systemd-devel] [PATCH 2/5] udev.pc: install to pkgconfiglibdir

2015-04-09 Thread Simon McVittie
On 08/04/15 20:11, Kay Sievers wrote: Right, we have to find out what we want to support here, cross-compile or secondary arch things. Only one thing is clear at the moment, that the current status makes no sense. :) We got $libdir for the secondary arch:

Re: [systemd-devel] systemd-resolved service ignores UseDNS=false

2015-04-09 Thread Mikhail Morfikov
I think I get it now. I have two interfaces that have different DNS servers set -- bond0 and br_lxc. All of the LXC containers use my router's DNS and everything else uses 127.0.2.1 . The config file for the br_lxc interface looks like this: [Match] Name=br_lxc [Network] Description=LXC bridge

Re: [systemd-devel] [PATCH 2/2] fsck: Add support for EFI variable based fsck indication

2015-04-09 Thread Jóhann B. Guðmundsson
On 04/09/2015 11:04 AM, Lennart Poettering wrote: On Thu, 09.04.15 10:51, Jóhann B. Guðmundsson (johan...@gmail.com) wrote: My above questions where directed directly at Lennart since you cannot know if Lennart's assumption which he bases his decisions on are premature,correct, wrong or

Re: [systemd-devel] Boot ordering

2015-04-09 Thread Lennart Poettering
On Wed, 18.03.15 17:10, Christoph Pleger (christoph.ple...@cs.tu-dortmund.de) wrote: Warming up this old thread... Why does systemd not follow the above instructions to start the services of test.target after those of basic.target and before those of multi-user.target? I figure this trhead

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

2015-04-09 Thread Susant Sahani
On 04/09/2015 02:02 PM, Lennart Poettering wrote: On Wed, 18.03.15 11:00, Susant Sahani (sus...@redhat.com) wrote: Sorry for the late review! Thanks for the review . +paracommandsystemd-journal-syslogd/command serves journal +events over the network. It multicasts journal event

[systemd-devel] [PATCH] journal: Introduce journal-syslogd

2015-04-09 Thread Susant Sahani
This tiny daemon enables to pull journal entries and push to a UDP multicast address in syslog RFC 5424 format. systemd-journal-syslogd runs with own user systemd-journal-syslog. It starts running after the network is up. V2: Address Zbigniew's comments 1. Rename binary

Re: [systemd-devel] bootloader time on a non-EFI bootloader

2015-04-09 Thread Kay Sievers
On Thu, Apr 9, 2015 at 11:28 AM, Lennart Poettering lenn...@poettering.net wrote: On Mon, 16.03.15 11:29, Umut Tezduyar Lindskog (u...@tezduyar.com) wrote: I would like to pass the time it was spent in bootloader to systemd. Is there a kernel command line to pass this information on non EFI

Re: [systemd-devel] [PATCH 2/2] fsck: Add support for EFI variable based fsck indication

2015-04-09 Thread Jóhann B. Guðmundsson
On 04/09/2015 08:54 AM, Lennart Poettering wrote: Of course, this only works for GPT systems, i.e. modern systems, and modern systems probably wouldn't run ext234 anyway, so maybe it's not worth it... Actually neither xfs nor btrfs nor reiserfs appear to require an fsck still, it's only ext234

Re: [systemd-devel] Boot ordering

2015-04-09 Thread Andrei Borzenkov
On Thu, Apr 9, 2015 at 12:18 PM, Lennart Poettering lenn...@poettering.net wrote: order it after the precise units you need from early boot, This is fragile because it will break every time precise units change. This is exact reason why we have systemd.special man page at all - to provide high

Re: [systemd-devel] [PATCH] network: Implement fallback DHCPv6 prefix handling for older kernels

2015-04-09 Thread Alexander Sverdlin
Hi! On 09/04/15 12:45, Patrik Flykt wrote: Hmm, in general, we really should try to create the same binaries, regardless if we are built on an old or new kernel. And the binaries should work as good as possible, regardless which kernel version they are running on. But with the change above

Re: [systemd-devel] bootloader time on a non-EFI bootloader

2015-04-09 Thread Lennart Poettering
On Mon, 16.03.15 11:29, Umut Tezduyar Lindskog (u...@tezduyar.com) wrote: Hi, I would like to pass the time it was spent in bootloader to systemd. Is there a kernel command line to pass this information on non EFI bootloader? Or is there an another way? I am open to add this, but I really

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

2015-04-09 Thread Lennart Poettering
On Wed, 18.03.15 11:00, Susant Sahani (sus...@redhat.com) wrote: Sorry for the late review! +paracommandsystemd-journal-syslogd/command serves journal +events over the network. It multicasts journal event to Syslog RFC 5424 format. +/para The tool can also be used to unicast

Re: [systemd-devel] [PATCH 2/2] fsck: Add support for EFI variable based fsck indication

2015-04-09 Thread Reindl Harald
Am 09.04.2015 um 12:17 schrieb Jóhann B. Guðmundsson: On 04/09/2015 08:54 AM, Lennart Poettering wrote: Of course, this only works for GPT systems, i.e. modern systems, and modern systems probably wouldn't run ext234 anyway, so maybe it's not worth it... Actually neither xfs nor btrfs nor

Re: [systemd-devel] [PATCH v2] log: be more verbose if dbus job fails

2015-04-09 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Apr 09, 2015 at 04:35:53PM +0200, Michal Sekletar wrote: On Thu, Apr 09, 2015 at 02:10:14PM +, Zbigniew Jędrzejewski-Szmek wrote: On Thu, Apr 09, 2015 at 03:20:02PM +0200, Michal Sekletar wrote: Users might have hard time figuring out why exactly their systemctl request

Re: [systemd-devel] [PATCH] fstab-generator: Support root on tmpfs

2015-04-09 Thread Tobias Hunger
Hi Lennart, that does sound interesting. Let me polish my patches for stateless systems on real hardware a bit first though:-) It would give a horrible impression if the system would not come up properly, just because you forgot to pass root= to the kernel. Sorry for the delay, I was on vacation

Re: [systemd-devel] [PATCH v2] log: be more verbose if dbus job fails

2015-04-09 Thread Michal Sekletar
On Thu, Apr 09, 2015 at 02:44:38PM +, Zbigniew Jędrzejewski-Szmek wrote: On Thu, Apr 09, 2015 at 04:35:53PM +0200, Michal Sekletar wrote: On Thu, Apr 09, 2015 at 02:10:14PM +, Zbigniew Jędrzejewski-Szmek wrote: On Thu, Apr 09, 2015 at 03:20:02PM +0200, Michal Sekletar wrote:

[systemd-devel] issuing 'reboot' command does not print the familiar 'Restarting system.' message

2015-04-09 Thread Ani Sinha
Hi Systemd devs : We have some scripts that depend on the kernel printing Restarting system. when a reboot command is issued on the console. Unfortunately we are not seeing such a message just before reboot. It seems that the reboot() syscall is not even getting invoked by start_special(). Do you

Re: [systemd-devel] [PATCH] network: Implement fallback DHCPv6 prefix handling for older kernels

2015-04-09 Thread Lennart Poettering
On Thu, 09.04.15 13:37, Patrik Flykt (patrik.fl...@linux.intel.com) wrote: src/libsystemd/sd-rtnl/rtnl-types.c | 2 ++ src/network/networkd-address.c | 5 +++- src/network/networkd-dhcp6.c| 55 +++-- src/network/networkd-link.c | 4

Re: [systemd-devel] [systemd-commits] 2 commits - man/standard-conf.xml src/vconsole

2015-04-09 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Apr 09, 2015 at 01:13:23PM +0200, Lennart Poettering wrote: On Sun, 15.03.15 17:42, Zbigniew Jędrzejewski-Szmek (zbys...@kemper.freedesktop.org) wrote: diff --git a/src/vconsole/vconsole-setup.c b/src/vconsole/vconsole-setup.c index bf681d9..fe8573f 100644 ---

Re: [systemd-devel] [PATCH 2/2] fsck: Add support for EFI variable based fsck indication

2015-04-09 Thread Jóhann B. Guðmundsson
On 04/09/2015 10:30 AM, Reindl Harald wrote: Am 09.04.2015 um 12:17 schrieb Jóhann B. Guðmundsson: On 04/09/2015 08:54 AM, Lennart Poettering wrote: Of course, this only works for GPT systems, i.e. modern systems, and modern systems probably wouldn't run ext234 anyway, so maybe it's not

Re: [systemd-devel] [PATCH 2/2] fsck: Add support for EFI variable based fsck indication

2015-04-09 Thread Reindl Harald
Am 09.04.2015 um 19:05 schrieb Kay Sievers: On Thu, Apr 9, 2015 at 6:58 PM, Reindl Harald h.rei...@thelounge.net wrote: Am 09.04.2015 um 18:52 schrieb Kay Sievers: On Thu, Apr 9, 2015 at 3:02 PM, Jóhann B. Guðmundsson wrote: We generally follow the rule: we develop for the future, not

Re: [systemd-devel] [PATCH 2/2] fsck: Add support for EFI variable based fsck indication

2015-04-09 Thread Lennart Poettering
On Sun, 15.03.15 21:30, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: So this used to to be possible for ext4, by setting mount count one below the mount limit. But mount limit now defaults to disabled, so this stopped being possible. Also, this suffers from the same problem that

[systemd-devel] [PATCH] network: Implement fallback DHCPv6 prefix handling for older kernels

2015-04-09 Thread Patrik Flykt
When setting IPv6 addresses acquired by DHCPv6, systemd-networkd sets the IFA_F_NOPREFIXROUTE flag in the IFA_FLAGS netlink attribute. As the flag and the attribute are present starting with Linux 3.14, older kernels will need systemd-network to manage prefix route handling. Support for IFA_FLAGS

Re: [systemd-devel] [PATCH v2] log: be more verbose if dbus job fails

2015-04-09 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Apr 09, 2015 at 03:20:02PM +0200, Michal Sekletar wrote: Users might have hard time figuring out why exactly their systemctl request failed. If dbus job fails try to figure out more details about failure by examining Result property of the service.

Re: [systemd-devel] [systemd-commits] 2 commits - man/standard-conf.xml src/vconsole

2015-04-09 Thread Lennart Poettering
On Sun, 15.03.15 17:42, Zbigniew Jędrzejewski-Szmek (zbys...@kemper.freedesktop.org) wrote: diff --git a/src/vconsole/vconsole-setup.c b/src/vconsole/vconsole-setup.c index bf681d9..fe8573f 100644 --- a/src/vconsole/vconsole-setup.c +++ b/src/vconsole/vconsole-setup.c @@ -96,16 +96,14 @@

Re: [systemd-devel] [PATCH v2] log: be more verbose if dbus job fails

2015-04-09 Thread Djalal Harouni
On Thu, Apr 09, 2015 at 02:10:14PM +, Zbigniew Jędrzejewski-Szmek wrote: On Thu, Apr 09, 2015 at 03:20:02PM +0200, Michal Sekletar wrote: Users might have hard time figuring out why exactly their systemctl request failed. If dbus job fails try to figure out more details about failure by

Re: [systemd-devel] Drop systemd-ui

2015-04-09 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Mar 31, 2015 at 01:47:40PM +, Zbigniew Jędrzejewski-Szmek wrote: On Tue, Mar 31, 2015 at 07:31:31AM +, Jóhann B. Guðmundsson wrote: What I'm proposing is that we dropped that proof of concept since it's not being maintained, there exist better alternatives thus it's intended

Re: [systemd-devel] Tips for using GDB to analyze systemd init process (`/sbin/init`)

2015-04-09 Thread Lennart Poettering
On Sat, 14.03.15 09:14, Paul Menzel (paulepan...@users.sourceforge.net) wrote: Dear systemd folks, using Debian Sid/unstable with systemd 215-12, I attached to it with GDB to analyze some things. Attached with `gdb --pid 1` worked. But continuing the execution and then hitting Ctrl + c

Re: [systemd-devel] [RFC] activate on DBus signal

2015-04-09 Thread Lennart Poettering
On Thu, 09.04.15 14:52, WaLyong Cho (walyong@samsung.com) wrote: I know, this is very strange and seems not cool. And maybe the activation will really slow. But seems not impossible. Well, if something is ugly, then this is often a hint that it might not be thought to the end, or might

Re: [systemd-devel] [PATCH 2/2] fsck: Add support for EFI variable based fsck indication

2015-04-09 Thread Kay Sievers
On Thu, Apr 9, 2015 at 3:02 PM, Jóhann B. Guðmundsson johan...@gmail.com wrote: We generally follow the rule: we develop for the future, not for the past. A file system like ext234 is clearly not the future, A filesystem like ext is being actively developed,maintained and new features being

Re: [systemd-devel] [PATCH v2] log: be more verbose if dbus job fails

2015-04-09 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Apr 09, 2015 at 05:20:43PM +0200, Michal Sekletar wrote: On Thu, Apr 09, 2015 at 02:44:38PM +, Zbigniew Jędrzejewski-Szmek wrote: On Thu, Apr 09, 2015 at 04:35:53PM +0200, Michal Sekletar wrote: On Thu, Apr 09, 2015 at 02:10:14PM +, Zbigniew Jędrzejewski-Szmek wrote:

Re: [systemd-devel] [PATCH v2] log: be more verbose if dbus job fails

2015-04-09 Thread Michal Sekletar
On Thu, Apr 09, 2015 at 02:10:14PM +, Zbigniew Jędrzejewski-Szmek wrote: On Thu, Apr 09, 2015 at 03:20:02PM +0200, Michal Sekletar wrote: Users might have hard time figuring out why exactly their systemctl request failed. If dbus job fails try to figure out more details about failure by

Re: [systemd-devel] Boot ordering

2015-04-09 Thread Lennart Poettering
On Thu, 09.04.15 12:26, Andrei Borzenkov (arvidj...@gmail.com) wrote: On Thu, Apr 9, 2015 at 12:18 PM, Lennart Poettering lenn...@poettering.net wrote: order it after the precise units you need from early boot, This is fragile because it will break every time precise units change. This is

Re: [systemd-devel] [PATCH] network: Implement fallback DHCPv6 prefix handling for older kernels

2015-04-09 Thread Patrik Flykt
On Thu, 2015-04-09 at 12:43 +0200, Lennart Poettering wrote: Hmm, in general, we really should try to create the same binaries, regardless if we are built on an old or new kernel. And the binaries should work as good as possible, regardless which kernel version they are running on. But with

[systemd-devel] [PATCH v2] log: be more verbose if dbus job fails

2015-04-09 Thread Michal Sekletar
Users might have hard time figuring out why exactly their systemctl request failed. If dbus job fails try to figure out more details about failure by examining Result property of the service. https://bugzilla.redhat.com/show_bug.cgi?id=1016680 --- src/libsystemd/sd-bus/bus-util.c | 41

Re: [systemd-devel] regarding to cgroup siblings mask

2015-04-09 Thread Lennart Poettering
On Thu, 09.04.15 14:10, WaLyong Cho (walyong@samsung.com) wrote: In recent systemd(from some month ago), when a unit has a mask for cpu or blockio or memory, this mask is also propagated to siblings by unit_get_target_mask(). According to some of comments, it seems intentional.

Re: [systemd-devel] [PATCH 2/2] fsck: Add support for EFI variable based fsck indication

2015-04-09 Thread Reindl Harald
Am 09.04.2015 um 18:52 schrieb Kay Sievers: On Thu, Apr 9, 2015 at 3:02 PM, Jóhann B. Guðmundsson johan...@gmail.com wrote: We generally follow the rule: we develop for the future, not for the past. A file system like ext234 is clearly not the future, A filesystem like ext is being actively

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

2015-04-09 Thread Mikhail Morfikov
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 in the active-backup mode. But now, they work in balance-rr mode which is set

Re: [systemd-devel] [PATCH 2/2] fsck: Add support for EFI variable based fsck indication

2015-04-09 Thread Kay Sievers
On Thu, Apr 9, 2015 at 6:58 PM, Reindl Harald h.rei...@thelounge.net wrote: Am 09.04.2015 um 18:52 schrieb Kay Sievers: On Thu, Apr 9, 2015 at 3:02 PM, Jóhann B. Guðmundsson johan...@gmail.com wrote: We generally follow the rule: we develop for the future, not for the past. A file system

Re: [systemd-devel] Starting in a network name?

2015-04-09 Thread Vinay kumar
Lennart Poettering lennart at poettering.net writes: On Mon, 06.01.14 11:04, Holger Schurig (holgerschurig at gmail.com) wrote: Hi, I used ip netns commands to setup several network namespaces. Now I want to run a user-space (non-root) in one of those netspaces. ip netns exec NAME

Re: [systemd-devel] [PATCH 2/2] fsck: Add support for EFI variable based fsck indication

2015-04-09 Thread Lennart Poettering
On Thu, 09.04.15 10:51, Jóhann B. Guðmundsson (johan...@gmail.com) wrote: My above questions where directed directly at Lennart since you cannot know if Lennart's assumption which he bases his decisions on are premature,correct, wrong or misguided until you know what those assumptions are.