Re: [systemd-devel] journald problems

2015-04-22 Thread Mikhail Morfikov
On Wed, 22 Apr 2015 00:28:12 +0200 Michał Zegan wrote: > -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

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

2015-04-22 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: mtu 1500 qdisc noop state DOWN mode DEFAUL

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

2015-04-22 Thread Susant Sahani
Replaces a lof ot strerror() usage with log_netdev_error_errno() --- src/network/networkd-netdev-tunnel.c | 240 ++- 1 file changed, 64 insertions(+), 176 deletions(-) diff --git a/src/network/networkd-netdev-tunnel.c b/src/network/networkd-netdev-tunnel.c index 8

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

2015-04-22 Thread Susant Sahani
--- 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 --- a/man/systemd.netdev.xml +++ b/man/systemd.netdev.xml @@ -155,6 +155,9 @@ vti An IPv4 over IPS

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

2015-04-22 Thread systemd github import bot
Patchset imported to github. Pull request: -- Generated by https://github.com/haraldh/mail2git ___ systemd-devel mailing

Re: [systemd-devel] [PATCH 1/2] Partially revert patch 11689d2a which force the NOCOW attribute.

2015-04-22 Thread Lennart Poettering
On Sun, 12.04.15 20:30, Goffredo Baroncelli (kreij...@libero.it) wrote: > From: Goffredo Baroncelli > > Partially revert patch 11689d2a, which force the NOCOW attribute for the > journal files. This patch was introduced to allievate the perfomances > problem that journald shows on the BTRFS file

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

2015-04-22 Thread Lennart Poettering
On Tue, 21.04.15 15:22, Spencer Baugh (sba...@catern.com) wrote: > > Also, trivial static IP configuration is seldom sufficient, you at > > least need to also provide DNS configuration, and if you don't use > > DHCP or something similar then you need to configure that inside the > > container anyw

Re: [systemd-devel] systemd-nspawn trouble

2015-04-22 Thread Lennart Poettering
On Tue, 21.04.15 22:43, Tobias Hunger (tobias.hun...@gmail.com) wrote: > 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.

Re: [systemd-devel] systemd-nspawn trouble

2015-04-22 Thread Lennart Poettering
On Wed, 22.04.15 13:46, Lennart Poettering (lenn...@poettering.net) wrote: > > I have an nftables based firewall up and running, so maybe networkd is > > expecting iptables to be in use? > > Most likely iptables is compiled as kernel module for you. The module > cannot be auto-loaded currently, i

Re: [systemd-devel] systemd-nspawn trouble

2015-04-22 Thread Michael Biebl
2015-04-22 13:57 GMT+02:00 Lennart Poettering : >> Maybe we should simply list the iptables kernel modules in >> src/core/kmod-setup, and then tell people to blacklist them if they >> really don't want them. > > I have made such a change now: > > http://cgit.freedesktop.org/systemd/systemd/commit/?

Re: [systemd-devel] systemd-nspawn trouble

2015-04-22 Thread Lennart Poettering
On Wed, 22.04.15 14:09, Michael Biebl (mbi...@gmail.com) wrote: > 2015-04-22 13:57 GMT+02:00 Lennart Poettering : > >> Maybe we should simply list the iptables kernel modules in > >> src/core/kmod-setup, and then tell people to blacklist them if they > >> really don't want them. > > > > I have mad

Re: [systemd-devel] Possible systemd segfault switching from 216 to 219 in fedora upgrade

2015-04-22 Thread Lennart Poettering
On Fri, 13.03.15 17:59, Will Woods (wwo...@redhat.com) wrote: (Warming up this rally old thread again, sorry for not responding more timely) > > http://www.freedesktop.org/wiki/Software/systemd/SystemUpdates/ > > > > systemd has been implementing this for quite a while, at least for all > > syst

[systemd-devel] journald-remote problem

2015-04-22 Thread Eric
Hi, I'm trying to sync my vps log to laptop. They are connected with openvpn. Both laptop and vps are, - Arch Linux - systemd 219-5 - vps: 10.8.0.1 - laptop: 10.8.0.6 It is already secured by openvpn tunnel. So I tried with normal http settings. Services are launched successfully. There is noth

Re: [systemd-devel] systemd-nspawn trouble

2015-04-22 Thread Michael Biebl
2015-04-22 14:14 GMT+02:00 Lennart Poettering : > On Wed, 22.04.15 14:09, Michael Biebl (mbi...@gmail.com) wrote: > >> 2015-04-22 13:57 GMT+02:00 Lennart Poettering : >> >> Maybe we should simply list the iptables kernel modules in >> >> src/core/kmod-setup, and then tell people to blacklist them i

Re: [systemd-devel] systemd-nspawn trouble

2015-04-22 Thread Lennart Poettering
On Wed, 22.04.15 14:22, Michael Biebl (mbi...@gmail.com) wrote: > 2015-04-22 14:14 GMT+02:00 Lennart Poettering : > > On Wed, 22.04.15 14:09, Michael Biebl (mbi...@gmail.com) wrote: > > > >> 2015-04-22 13:57 GMT+02:00 Lennart Poettering : > >> >> Maybe we should simply list the iptables kernel mod

Re: [systemd-devel] systemd-nspawn trouble

2015-04-22 Thread Michael Biebl
2015-04-22 14:22 GMT+02:00 Michael Biebl : > 2015-04-22 14:14 GMT+02:00 Lennart Poettering : >> On Wed, 22.04.15 14:09, Michael Biebl (mbi...@gmail.com) wrote: >> >>> Not everyone is using networkd or nspawn though, so loading this >>> module for everyone is a bit excessive. >> >> Well, then blackl

Re: [systemd-devel] systemd-nspawn trouble

2015-04-22 Thread Lennart Poettering
On Wed, 22.04.15 14:28, Michael Biebl (mbi...@gmail.com) wrote: > 2015-04-22 14:22 GMT+02:00 Michael Biebl : > > 2015-04-22 14:14 GMT+02:00 Lennart Poettering : > >> On Wed, 22.04.15 14:09, Michael Biebl (mbi...@gmail.com) wrote: > >> > >>> Not everyone is using networkd or nspawn though, so loadi

Re: [systemd-devel] systemd-nspawn trouble

2015-04-22 Thread Michael Biebl
2015-04-22 14:26 GMT+02:00 Lennart Poettering : > On Wed, 22.04.15 14:22, Michael Biebl (mbi...@gmail.com) wrote: > >> 2015-04-22 14:14 GMT+02:00 Lennart Poettering : >> > On Wed, 22.04.15 14:09, Michael Biebl (mbi...@gmail.com) wrote: >> > >> >> 2015-04-22 13:57 GMT+02:00 Lennart Poettering : >> >

Re: [systemd-devel] systemd-nspawn trouble

2015-04-22 Thread Tobias Hunger
Hi Lennart, On Wed, Apr 22, 2015 at 1:46 PM, Lennart Poettering wrote: >> 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 >> all (whic

Re: [systemd-devel] systemd-nspawn trouble

2015-04-22 Thread Tobias Hunger
On Wed, Apr 22, 2015 at 3:12 PM, Tobias Hunger wrote: > Hi Lennart, > > On Wed, Apr 22, 2015 at 1:46 PM, Lennart Poettering > wrote: >>> 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-n

Re: [systemd-devel] systemd-nspawn trouble

2015-04-22 Thread Lennart Poettering
On Wed, 22.04.15 14:36, Michael Biebl (mbi...@gmail.com) wrote: > >> >> Not everyone is using networkd or nspawn though, so loading this > >> >> module for everyone is a bit excessive. > >> > > >> > Well, then blacklist the module or don't build it at all. > >> > >> That's the wrong way around. >

Re: [systemd-devel] systemd-nspawn trouble

2015-04-22 Thread Lennart Poettering
On Wed, 22.04.15 15:12, Tobias Hunger (tobias.hun...@gmail.com) wrote: > >> Then I have trouble with "systemd-nspawn --network-veth": The host0 > >> interface won't come up and stays in degraded state. On the host i get > >> the following line in the journal: > >> > >> systemd-networkd[509]: ve-XX

Re: [systemd-devel] systemd-nspawn trouble

2015-04-22 Thread Lennart Poettering
On Wed, 22.04.15 15:19, Tobias Hunger (tobias.hun...@gmail.com) wrote: > On Wed, Apr 22, 2015 at 3:12 PM, Tobias Hunger > wrote: > > Hi Lennart, > > > > On Wed, Apr 22, 2015 at 1:46 PM, Lennart Poettering > > wrote: > >>> I was trying to run "systemd-nspawn --ephemeral", but that failed > >>> s

Re: [systemd-devel] systemd-nspawn trouble

2015-04-22 Thread Tobias Hunger
PS: Is there a way to stop the VMs to get a btrfs subvolume created in /var/lib/machines? I have a couple of .#vm subvolumes in /var/lib/machines now and btrfs subvolume delete does not work on those since they have a subvolume in /var/lib/machine. Apparently systemd-nspawn also stumbled over

Re: [systemd-devel] systemd-nspawn trouble

2015-04-22 Thread Michael Biebl
2015-04-22 15:25 GMT+02:00 Lennart Poettering : > On Wed, 22.04.15 14:36, Michael Biebl (mbi...@gmail.com) wrote: > >> >> >> Not everyone is using networkd or nspawn though, so loading this >> >> >> module for everyone is a bit excessive. >> >> > >> >> > Well, then blacklist the module or don't bui

Re: [systemd-devel] systemd-nspawn trouble

2015-04-22 Thread Dominick Grift
> 2015-04-22 14:14 GMT+02:00 Lennart Poettering : > > Well, I really don't want to give networkd the caps for that, > sorry. It's a network facing daemon, it should not be able to load > kernel modules. But it is okay for networkd to manipulate the firewall directly. The nft manual page states th

Re: [systemd-devel] systemd-nspawn trouble

2015-04-22 Thread Lennart Poettering
On Wed, 22.04.15 15:42, Tobias Hunger (tobias.hun...@gmail.com) wrote: > PS: Is there a way to stop the VMs to get a btrfs subvolume created in > /var/lib/machines? Not in nspawn, no. This could be implemented via seccomp though. > I have a couple of .#vm subvolumes in /var/lib/machines now

Re: [systemd-devel] systemd-nspawn trouble

2015-04-22 Thread Lennart Poettering
On Wed, 22.04.15 15:43, Michael Biebl (mbi...@gmail.com) wrote: > 2015-04-22 15:25 GMT+02:00 Lennart Poettering : > > On Wed, 22.04.15 14:36, Michael Biebl (mbi...@gmail.com) wrote: > > > >> >> >> Not everyone is using networkd or nspawn though, so loading this > >> >> >> module for everyone is a

Re: [systemd-devel] systemd-nspawn trouble

2015-04-22 Thread Lennart Poettering
On Wed, 22.04.15 15:55, Dominick Grift (dac.overr...@gmail.com) wrote: > > 2015-04-22 14:14 GMT+02:00 Lennart Poettering : > > > > Well, I really don't want to give networkd the caps for that, > > sorry. It's a network facing daemon, it should not be able to load > > kernel modules. > > But it is

Re: [systemd-devel] systemd-nspawn trouble

2015-04-22 Thread Lennart Poettering
On Wed, 22.04.15 15:19, Tobias Hunger (tobias.hun...@gmail.com) wrote: > On Wed, Apr 22, 2015 at 3:12 PM, Tobias Hunger > wrote: > > Hi Lennart, > > > > On Wed, Apr 22, 2015 at 1:46 PM, Lennart Poettering > > wrote: > >>> I was trying to run "systemd-nspawn --ephemeral", but that failed > >>> s

Re: [systemd-devel] systemd-nspawn trouble

2015-04-22 Thread Dominick Grift
> > > 2015-04-22 14:14 GMT+02:00 Lennart Poettering : > > > > > > Well, I really don't want to give networkd the caps for that, > > > sorry. It's a network facing daemon, it should not be able to load > > > kernel modules. > > > > But it is okay for networkd to manipulate the firewall directly. > >

Re: [systemd-devel] systemd-nspawn trouble

2015-04-22 Thread Tobias Hunger
On Wed, Apr 22, 2015 at 4:04 PM, Lennart Poettering wrote: > Well, if that's what it says, then yes. We can certainly add support > for manipulating nft too, but so far the APIs fo that appeared much > less convincing to me, and quite a bit more exotic. The user space tools for nft are much nicer

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

2015-04-22 Thread Alban Crequy
On Tue, Apr 21, 2015 at 10:35 PM, Zbigniew Jędrzejewski-Szmek wrote: > On Tue, Apr 21, 2015 at 03:54:35PM +0200, Alban Crequy wrote: >> On Sat, Feb 28, 2015 at 5:40 PM, Lennart Poettering >> wrote: >> > On Fri, 27.02.15 17:13, Lennart Poettering (lenn...@poettering.net) wrote: >> > >> >> On Thu,

Re: [systemd-devel] systemd-nspawn trouble

2015-04-22 Thread Lennart Poettering
On Wed, 22.04.15 16:31, Tobias Hunger (tobias.hun...@gmail.com) wrote: > On Wed, Apr 22, 2015 at 4:04 PM, Lennart Poettering > wrote: > > Well, if that's what it says, then yes. We can certainly add support > > for manipulating nft too, but so far the APIs fo that appeared much > > less convincin

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

2015-04-22 Thread Lennart Poettering
On Tue, 21.04.15 13:25, Daniel Drake (dr...@endlessm.com) wrote: > There's a comment in unit_kill_context() which looks relevant here: > > /* FIXME: For now, we will not wait for the > * cgroup members to die, simply because >

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

2015-04-22 Thread Lennart Poettering
On Tue, 21.04.15 17:45, Adam Goode (ago...@google.com) wrote: > 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 sho

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

2015-04-22 Thread Lennart Poettering
On Tue, 21.04.15 17:45, Adam Goode (ago...@google.com) wrote: > USB and PCI soundcards have a nice set of ID_* properties. It would > be handy for firewire soundcards to have the same. As requested earlier, please document in the commit messsage that this does not eat up ID_ID. > --- > rules/78

Re: [systemd-devel] Needs help for on charging activation

2015-04-22 Thread Lennart Poettering
On Mon, 09.03.15 23:21, WaLyong Cho (walyong@samsung.com) wrote: > Hi, > > I want to find best solution on our case. Our product is mobile device. > But I don't think that is only problem of mobile device. That also can > be problem of laptop. So, please comment to me. > > We have some of se

Re: [systemd-devel] How to factory reset?

2015-04-22 Thread Lennart Poettering
On Fri, 13.03.15 01:16, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: > On Tue, Mar 10, 2015 at 10:23:23PM +0100, Tobias Hunger wrote: > > On Tue, Mar 10, 2015 at 9:33 PM, Tobias Hunger > > wrote: > > >> presets and machined ID are applied by PID 1, before it begins with > > >> starting

Re: [systemd-devel] How to factory reset?

2015-04-22 Thread Lennart Poettering
On Fri, 13.03.15 14:20, Tobias Hunger (tobias.hun...@gmail.com) wrote: > Hi Zbyszek, > > I would expect the machine-id to be written before mount units are > processed, so for that to work I would need to mount /var in the > initrd, wouldn't I? Yeah, /var/lib/dbus/machine-id isn't a general purp

Re: [systemd-devel] How to factory reset?

2015-04-22 Thread Lennart Poettering
On Mon, 16.03.15 11:31, Tobias Hunger (tobias.hun...@gmail.com) wrote: > Just a short update: > > I managed to get my machine image to (kind of) boot in systemd-nspawn > this weekend. Kind-of as it tries to mount some drives that are > obviously not there in the container. But apart from that it

Re: [systemd-devel] How to factory reset?

2015-04-22 Thread Lennart Poettering
On Wed, 11.03.15 20:56, Kay Sievers (k...@vrfy.org) wrote: > On Wed, Mar 11, 2015 at 7:45 PM, Chris Murphy wrote: > > On Wed, Mar 11, 2015 at 11:50 AM, Kay Sievers wrote: > > >> The "all included" kernels are found at /boot/EFI/Linux/*.efi > > > > Yeah until the distros stop persistently mounti

Re: [systemd-devel] Service watchdog feature in state ACTIVATING ?

2015-04-22 Thread Lennart Poettering
On Mon, 02.03.15 20:32, Hoyer, Marko (ADITG/SW2) (mho...@de.adit-jv.com) wrote: > > Why would you need this? Watchdog is to prevent system being stuck > > somewhere. If activation fails within TimeoutStartSec=, systemd will > > put the service in "failed to activate" state anyways. > > > > Is wai

Re: [systemd-devel] [PATCH] vconsole: rerun setup on console takeovers as well

2015-04-22 Thread Lennart Poettering
On Tue, 24.02.15 19:23, Jan Engelhardt (jeng...@inai.de) wrote: Sorry for the late reply, > When a system, which has an FB driver and fbcon loaded and active, > then the font state gets lost on console takeovers, as for example > issued by i915. Since fbcon remains loaded and active, the existing

Re: [systemd-devel] [PATCH] tmpfiles.c: Honor ordering within files as the docs say.

2015-04-22 Thread Lennart Poettering
On Thu, 05.03.15 11:13, Randy Witt (randy.e.w...@linux.intel.com) wrote: Sorry for the late review! > Previously, globs would always get processed first followed by any other > items in arbitrary order. This is contrary to the documentation which > states "Otherwise, the files/directories are pro

Re: [systemd-devel] [PATCH] tmpfiles.c: Honor ordering within files as the docs say.

2015-04-22 Thread Lennart Poettering
On Wed, 22.04.15 18:19, Lennart Poettering (lenn...@poettering.net) wrote: > On Thu, 05.03.15 11:13, Randy Witt (randy.e.w...@linux.intel.com) wrote: > > Sorry for the late review! > > > Previously, globs would always get processed first followed by any other > > items in arbitrary order. This i

Re: [systemd-devel] Journalctl Unit Completion Optmization

2015-04-22 Thread Lennart Poettering
On Tue, 03.03.15 23:02, Justin Brown (justin.br...@fandingo.org) wrote: > Hello, > > I've recently been using journalctl on one of my longer-lived systems, and > I'm running into a slight annoyance. Most of the time I'm using `journalctl > -u <> -e`. I use tab completion for the unit name, and th

Re: [systemd-devel] [PATCH] vconsole: rerun setup on console takeovers as well

2015-04-22 Thread David Herrmann
Hi On Wed, Apr 22, 2015 at 6:14 PM, Lennart Poettering wrote: > On Tue, 24.02.15 19:23, Jan Engelhardt (jeng...@inai.de) wrote: > > Sorry for the late reply, > >> When a system, which has an FB driver and fbcon loaded and active, >> then the font state gets lost on console takeovers, as for examp

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

2015-04-22 Thread Kay Sievers
On Tue, Apr 14, 2015 at 4:47 PM, Tom Yan wrote: > 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 presu

Re: [systemd-devel] [PATCH] option to ignore ENOMEDIUM in blkid

2015-04-22 Thread Lennart Poettering
On Wed, 18.02.15 23:51, Hans Scholze (hans.scho...@gmail.com) wrote: > # probe filesystem metadata of disks > -KERNEL!="sr*", IMPORT{builtin}="blkid" > +KERNEL!="sr*", IMPORT{builtin}="blkid --ignore-enomedium" Adding a new switch for this sounds overly complicated. We should really ignore this

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

2015-04-22 Thread David Herrmann
Hi On Mon, Apr 20, 2015 at 6:58 PM, David Herrmann wrote: > Hi > > On Sun, Apr 19, 2015 at 1:49 AM, Nir Soffer wrote: >> When running udevadm settle --timeout=0, the ping always times out, and >> udevadm will return 0 without checking the queue state. >> >> Since zero timeout is considered as un

Re: [systemd-devel] Improve log notice when unprivileged users run journalctl executable

2015-04-22 Thread Lennart Poettering
On Tue, 24.02.15 23:42, Gautier Pelloux-Prayer (gaut...@damsy.net) wrote: > Hi, > > Currently, when user runs journalctl without extra privileges, output > will be: > > No journal files were found. Hmm, this would be a bug. The whole logic of collecting error codes in j->errors exists exclu

[systemd-devel] install a fedora container

2015-04-22 Thread arnaud gaboury
I am little confused how to install Fedora on a container on my Archlinux box. Here is my setup : a whole ssd for Fedora server. Btrfs with 3 subvolumes for snapshots: /etc, /var, and /rootvol. No nested subvolumes. This ssd will then be mounted on /var/lib/container/MyContainer. Shall i install

Re: [systemd-devel] install a fedora container

2015-04-22 Thread arnaud gaboury
On Wed, Apr 22, 2015 at 7:26 PM, arnaud gaboury wrote: > I am little confused how to install Fedora on a container on my Archlinux box. > > Here is my setup : a whole ssd for Fedora server. Btrfs with 3 > subvolumes for snapshots: > /etc, /var, and /rootvol. No nested subvolumes. > > This ssd will

Re: [systemd-devel] install a fedora container

2015-04-22 Thread Lennart Poettering
On Wed, 22.04.15 19:26, arnaud gaboury (arnaud.gabo...@gmail.com) wrote: > I am little confused how to install Fedora on a container on my Archlinux box. > > Here is my setup : a whole ssd for Fedora server. Btrfs with 3 > subvolumes for snapshots: > /etc, /var, and /rootvol. No nested subvolumes

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

2015-04-22 Thread Spencer Baugh
Lennart Poettering writes: > On Tue, 21.04.15 15:22, Spencer Baugh (sba...@catern.com) wrote: > >> > Also, trivial static IP configuration is seldom sufficient, you at >> > least need to also provide DNS configuration, and if you don't use >> > DHCP or something similar then you need to configure

Re: [systemd-devel] install a fedora container

2015-04-22 Thread arnaud gaboury
On Wed, Apr 22, 2015 at 7:39 PM, Lennart Poettering wrote: > On Wed, 22.04.15 19:26, arnaud gaboury (arnaud.gabo...@gmail.com) wrote: > >> I am little confused how to install Fedora on a container on my Archlinux >> box. >> >> Here is my setup : a whole ssd for Fedora server. Btrfs with 3 >> subv

Re: [systemd-devel] Service watchdog feature in state ACTIVATING ?

2015-04-22 Thread Hoyer, Marko (ADITG/SW2)
> -Original Message- > From: Lennart Poettering [mailto:lenn...@poettering.net] > Sent: Wednesday, April 22, 2015 6:00 PM > To: Hoyer, Marko (ADITG/SW2) > Cc: Umut Tezduyar Lindskog; systemd-devel@lists.freedesktop.org > Subject: Re: [systemd-devel] Service watchdog feature in state > ACTIV

[systemd-devel] [PATCH 2/3] zsh-completion: update -M completion for systemd-analyze

2015-04-22 Thread Lukas Rusak
--- shell-completion/zsh/_systemd-analyze | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell-completion/zsh/_systemd-analyze b/shell-completion/zsh/_systemd-analyze index 2c0e543..efafddc 100644 --- a/shell-completion/zsh/_systemd-analyze +++ b/shell-completion/zsh/_systemd

[systemd-devel] [PATCH 0/3] update zsh completions for systemd-analyze, systemd-nspawn, and machinectl

2015-04-22 Thread Lukas Rusak
This is my first time submitting on a mailing list, so go easy on me. Lukas Rusak (3): zsh-completion: add missing completions for machinectl zsh-completion: update -M completion for systemd-analyze zsh-completion: add missing completions for systemd-nspawn shell-completion/zsh/_machinectl

[systemd-devel] [PATCH 1/3] zsh-completion: add missing completions for machinectl

2015-04-22 Thread Lukas Rusak
--- shell-completion/zsh/_machinectl | 84 +--- 1 file changed, 70 insertions(+), 14 deletions(-) diff --git a/shell-completion/zsh/_machinectl b/shell-completion/zsh/_machinectl index c666b7e..2b1b7ed 100644 --- a/shell-completion/zsh/_machinectl +++ b/shell-c

[systemd-devel] [PATCH 3/3] zsh-completion: add missing completions for systemd-nspawn

2015-04-22 Thread Lukas Rusak
--- shell-completion/zsh/_systemd-nspawn | 23 +-- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/shell-completion/zsh/_systemd-nspawn b/shell-completion/zsh/_systemd-nspawn index ceedb2c..42cdbcd 100644 --- a/shell-completion/zsh/_systemd-nspawn +++ b/shell-c

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

2015-04-22 Thread Lennart Poettering
On Wed, 22.04.15 13:41, Spencer Baugh (sba...@catern.com) wrote: > Lennart Poettering writes: > > On Tue, 21.04.15 15:22, Spencer Baugh (sba...@catern.com) wrote: > > > >> > Also, trivial static IP configuration is seldom sufficient, you at > >> > least need to also provide DNS configuration, and

Re: [systemd-devel] Improve log notice when unprivileged users run journalctl executable

2015-04-22 Thread Lennart Poettering
On Wed, 22.04.15 20:07, Gautier Pelloux-Prayer (gaut...@damsy.net) wrote: > Actually I posted twich my email (my bad), the "real" discussion is here: > http://lists.freedesktop.org/archives/systemd-devel/2015-March/029119.html > > Zbigniew Jędrzejewski-Szmek patched it and it should be OK now. O

Re: [systemd-devel] Service watchdog feature in state ACTIVATING ?

2015-04-22 Thread Lennart Poettering
On Wed, 22.04.15 17:59, Hoyer, Marko (ADITG/SW2) (mho...@de.adit-jv.com) wrote: > > So, I can see that having watchdog support during the activating phase > > might make sense in this case, but I am not sure this case is strong > > enough to add it to systemd proper, since it would complicate thin

Re: [systemd-devel] [PATCH 1/3] zsh-completion: add missing completions for machinectl

2015-04-22 Thread Lennart Poettering
On Wed, 22.04.15 11:07, Lukas Rusak (loru...@gmail.com) wrote: > --- > shell-completion/zsh/_machinectl | 84 > +--- > 1 file changed, 70 insertions(+), 14 deletions(-) > > diff --git a/shell-completion/zsh/_machinectl > b/shell-completion/zsh/_machinectl >

Re: [systemd-devel] [PATCH v2] Add support for transient presets, applied on every boot.

2015-04-22 Thread Lennart Poettering
On Sat, 21.02.15 02:38, Dimitri John Ledkov (dimitri.j.led...@intel.com) wrote: Sorry for the late review! Can you please add a commit description to this, explaining the precise rationale for this? > --- > src/core/main.c | 27 +++ > src/core/unit.c | 2 +- >

Re: [systemd-devel] [PATCH 3/3] zsh-completion: add missing completions for systemd-nspawn

2015-04-22 Thread systemd github import bot
Patchset imported to github. Pull request: -- Generated by https://github.com/haraldh/mail2git ___ systemd-devel mailing

[systemd-devel] [PATCH] tree-wide: Introduce a dup_cloexec inline helper

2015-04-22 Thread Cristian Rodríguez
- Nicer & easier to remember than fcntl(fd, F_DUPFD_CLOEXEC, 3) - Update CODING_STYLE - Use it tree-wide --- CODING_STYLE | 6 +++--- src/import/curl-util.c | 2 +- src/import/importd.c | 4 ++-- src/journal/cat.c| 2 +- src

Re: [systemd-devel] [PATCH 1/3] zsh-completion: add missing completions for machinectl

2015-04-22 Thread Lukas Rusak
Ah, completely missed images. So perhaps something like this would be better? machinectl --full --no-legend --no-pager list-images | awk '{print $1}' as this lists fedora fedora-rawhide instead of fedora.raw fedora-rawhide However this will break if one has spaces in the container name. I wou

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

2015-04-22 Thread Spencer Baugh
Lennart Poettering writes: > On Wed, 22.04.15 13:41, Spencer Baugh (sba...@catern.com) wrote: > > Lennart Poettering writes: > > > Well, again, I doubt that configuration exclusivel at > > > interface-creation-time will be useful for more than the most trivial > > > cases, already because as ment

Re: [systemd-devel] [PATCH] tree-wide: Introduce a dup_cloexec inline helper

2015-04-22 Thread systemd github import bot
Patchset imported to github. Pull request: -- Generated by https://github.com/haraldh/mail2git ___ systemd-devel

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

2015-04-22 Thread Lennart Poettering
On Wed, 22.04.15 15:52, Spencer Baugh (sba...@catern.com) wrote: > > As soon as networkd gains a bus interface maybe an option could be to > > hook up nspawn's --network-interface= with it: if the specified > > interface doesn't exist, nspawn could synchronously ask networkd to > > create it. With

Re: [systemd-devel] [PATCH] tree-wide: Introduce a dup_cloexec inline helper

2015-04-22 Thread Lennart Poettering
On Wed, 22.04.15 16:29, Cristian Rodríguez (crrodrig...@opensuse.org) wrote: > - Nicer & easier to remember than fcntl(fd, F_DUPFD_CLOEXEC, 3) > - Update CODING_STYLE > - Use it tree-wide I am not convinced this is a good idea like this. Our own functions tend to return proper negative error cod

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

2015-04-22 Thread Lennart Poettering
On Fri, 17.04.15 18:40, Keller, Jacob E (jacob.e.kel...@intel.com) wrote: > On Wed, 2015-04-15 at 00:07 +0200, Stefan Tatschner wrote: > > 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) > > >

Re: [systemd-devel] systemd startup failed...

2015-04-22 Thread Lennart Poettering
On Fri, 20.02.15 19:39, aotto (aotto1...@t-online.de) wrote: > Hi, > > Using fresh installation with suse 13.2 my startup with systemd is > failing... THis appears to be the same issue as this one: https://bugs.freedesktop.org/show_bug.cgi?id=89817 Which appears to be a kernel issue, see last

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

2015-04-22 Thread Keller, Jacob E
On Wed, 2015-04-22 at 22:25 +0200, Lennart Poettering wrote: > On Fri, 17.04.15 18:40, Keller, Jacob E (jacob.e.kel...@intel.com) wrote: > > > On Wed, 2015-04-15 at 00:07 +0200, Stefan Tatschner wrote: > > > On Di, 2015-04-14 at 21:56 +, Keller, Jacob E wrote: > > > > Failed to get machine PTY

Re: [systemd-devel] journald problems

2015-04-22 Thread Michał Zegan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Any chance it may be related to copy on write or whatever? W dniu 2015-04-22 o 00:28, Michał Zegan pisze: > Hello. > > I have just removed my journal files and restarted journald. I > then generated sealing keys, saved the verification key. The syste

[systemd-devel] [PATCH] util: Fix assertion in split() on missing '

2015-04-22 Thread Martin Pitt
Hello all, today I got a report about crashing systemd (pid 1) by installing a package with a broken unit file. Rebooting also doesn't work as systemd immediately crashes again. It turns out the unit file used a multi-line ExecStart= with ' quoting where the author (accidentally) added a trailing

Re: [systemd-devel] [PATCH 1/3] zsh-completion: add missing completions for machinectl

2015-04-22 Thread Lukas Rusak
Here is a rebase of the original patch to include the discussed changes ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] [PATCH] cryptsetup-generator: support rd.luks.key=keyfile:keyfile_device

2015-04-22 Thread Lennart Poettering
On Fri, 20.02.15 10:56, Jan Synacek (jsyna...@redhat.com) wrote: Sorry for the late review. What's the precise background of this? Can you elaborate? Is there some feature request for this? What does this actually do? Is the specified key file read from the specified device? The order of keyfile

Re: [systemd-devel] [PATCH 1/3] zsh-completion: add missing completions for machinectl

2015-04-22 Thread Lennart Poettering
On Wed, 22.04.15 15:44, Lukas Rusak (loru...@gmail.com) wrote: > Here is a rebase of the original patch to include the discussed changes Where? Lennart -- Lennart Poettering, Red Hat ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org

Re: [systemd-devel] [PATCH 1/3] zsh-completion: add missing completions for machinectl

2015-04-22 Thread Lukas Rusak
Appologies, I'm still getting used to this mailing list thing and using git send-email --- shell-completion/zsh/_machinectl | 84 +--- 1 file changed, 70 insertions(+), 14 deletions(-) diff --git a/shell-completion/zsh/_machinectl b/shell-completion/zsh/_mach

Re: [systemd-devel] [PATCH] util: Fix assertion in split() on missing '

2015-04-22 Thread systemd github import bot
Patchset imported to github. Pull request: -- Generated by https://github.com/haraldh/mail2git ___ systemd-devel mailing list systemd-devel@

Re: [systemd-devel] [PATCH] util: Fix assertion in split() on missing '

2015-04-22 Thread Lennart Poettering
On Wed, 22.04.15 23:20, Martin Pitt (martin.p...@ubuntu.com) wrote: > Hello all, > > today I got a report about crashing systemd (pid 1) by installing a > package with a broken unit file. Rebooting also doesn't work as > systemd immediately crashes again. It turns out the unit file used a > multi

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

2015-04-22 Thread Lennart Poettering
On Tue, 21.04.15 08:39, aaron_wri...@selinc.com (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

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

2015-04-22 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, it

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

2015-04-22 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. Note that this removes the explicit setting of ID_ID in the firewire conditional. Because we are now setting ID_SERIAL, ID_ID will come from later in the file. --- rules/78-sound

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

2015-04-22 Thread Adam Goode
On Wed, Apr 22, 2015 at 11:17 AM, Lennart Poettering wrote: > On Tue, 21.04.15 17:45, Adam Goode (ago...@google.com) wrote: > > > USB and PCI soundcards have a nice set of ID_* properties. It would > > be handy for firewire soundcards to have the same. > > As requested earlier, please document in

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

2015-04-22 Thread systemd github import bot
Patchset imported to github. Pull request: -- Generated by https://github.com/haraldh/mail2git ___ systemd-devel mailing

Re: [systemd-devel] [PATCH] cryptsetup-generator: support rd.luks.key=keyfile:keyfile_device

2015-04-22 Thread Andrei Borzenkov
В Thu, 23 Apr 2015 00:48:38 +0200 Lennart Poettering пишет: > On Fri, 20.02.15 10:56, Jan Synacek (jsyna...@redhat.com) wrote: > > Sorry for the late review. > > What's the precise background of this? Can you elaborate? Is there > some feature request for this? > There are multiple bug report