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

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 is

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] About the exit of systemd-udevd

2015-04-22 Thread Kay Sievers
On Tue, Apr 14, 2015 at 4:47 PM, Tom Yan tom.t...@gmail.com 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

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 lenn...@poettering.net 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

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 tobias.hun...@gmail.com wrote: Hi Lennart, On Wed, Apr 22, 2015 at 1:46 PM, Lennart Poettering lenn...@poettering.net wrote: I was trying to run systemd-nspawn

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 unit -e`. I use tab completion for the unit name, and the

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 lenn...@poettering.net 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

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] 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. Nah, I disagree. We

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 Dominick Grift
2015-04-22 14:14 GMT+02:00 Lennart Poettering lennart at poettering.net: 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

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 mbi...@gmail.com: 2015-04-22 14:14 GMT+02:00 Lennart Poettering lenn...@poettering.net: On Wed, 22.04.15 14:09, Michael Biebl (mbi...@gmail.com) wrote: Not everyone is using networkd

Re: [systemd-devel] systemd-nspawn trouble

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

Re: [systemd-devel] systemd-nspawn trouble

2015-04-22 Thread Michael Biebl
2015-04-22 15:25 GMT+02:00 Lennart Poettering lenn...@poettering.net: 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

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 lenn...@poettering.net: 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

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 lennart at poettering.net: 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

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-XXX : Could

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 Tobias Hunger
On Wed, Apr 22, 2015 at 4:04 PM, Lennart Poettering lenn...@poettering.net 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

Re: [systemd-devel] systemd-nspawn trouble

2015-04-22 Thread Tobias Hunger
On Wed, Apr 22, 2015 at 3:12 PM, Tobias Hunger tobias.hun...@gmail.com wrote: Hi Lennart, On Wed, Apr 22, 2015 at 1:46 PM, Lennart Poettering lenn...@poettering.net wrote: I was trying to run systemd-nspawn --ephemeral, but that failed since I had a read-only image in /var/lib/machines. Why

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 tobias.hun...@gmail.com wrote: Hi Lennart, On Wed, Apr 22, 2015 at 1:46 PM, Lennart Poettering lenn...@poettering.net wrote: I was trying to run systemd-nspawn

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

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. ---

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 li...@colorremedies.com wrote: On Wed, Mar 11, 2015 at 11:50 AM, Kay Sievers k...@vrfy.org wrote: The all included kernels are found at /boot/EFI/Linux/*.efi Yeah until the distros

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 waiting 20

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 zbys...@in.waw.pl 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 lenn...@poettering.net wrote: On Fri, 27.02.15 17:13, Lennart Poettering

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 lenn...@poettering.net 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

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 tobias.hun...@gmail.com wrote: presets and machined ID are applied by PID 1, before it begins with

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 services

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 purpose

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

2015-04-22 Thread Michael Olbrich
On Tue, Apr 21, 2015 at 08:45:30PM +0200, Lennart Poettering 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 this

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

2015-04-22 Thread Susant Sahani
On 04/21/2015 09:54 PM, Lennart Poettering wrote: 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); +

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 dh.herrm...@gmail.com wrote: Hi On Sun, Apr 19, 2015 at 1:49 AM, Nir Soffer nir...@gmail.com wrote: When running udevadm settle --timeout=0, the ping always times out, and udevadm will return 0 without checking the queue state. Since zero

Re: [systemd-devel] install a fedora container

2015-04-22 Thread arnaud gaboury
On Wed, Apr 22, 2015 at 7:39 PM, Lennart Poettering lenn...@poettering.net 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

[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

Re: [systemd-devel] install a fedora container

2015-04-22 Thread arnaud gaboury
On Wed, Apr 22, 2015 at 7:26 PM, 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

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 error in

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 exclusively

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 lenn...@poettering.net 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

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 ACTIVATING

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 lenn...@poettering.net 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

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. Oh

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: https://github.com/systemd-devs/systemd/compare/master...systemd-mailing-devs:1429726059-5463-4-git-send-email-lorusak%40gmail.com -- Generated by https://github.com/haraldh/mail2git ___ systemd-devel mailing

[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 +++

[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 +++

[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 +++

[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

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 things

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 index

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 +-

[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 +-

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

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

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

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: https://github.com/systemd-devs/systemd/compare/master...systemd-mailing-devs:1429730951-13156-1-git-send-email-crrodriguez%40opensuse.org -- Generated by https://github.com/haraldh/mail2git ___ systemd-devel

Re: [systemd-devel] machinectl login machine 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: Message

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

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] 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 lenn...@poettering.net пишет: 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

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: https://github.com/systemd-devs/systemd/compare/master...systemd-mailing-devs:1429751139-7651-2-git-send-email-agoode%40google.com -- Generated by https://github.com/haraldh/mail2git ___ systemd-devel mailing

[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. ---

[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,

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 lenn...@poettering.net 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,

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-line

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 this:

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: https://github.com/systemd-devs/systemd/compare/master...systemd-mailing-devs:2015042023.GD3982%40piware.de -- Generated by https://github.com/haraldh/mail2git ___ systemd-devel mailing list

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

[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] systemd-nspawn trouble

2015-04-22 Thread Dominick Grift
2015-04-22 14:14 GMT+02:00 Lennart Poettering lennart at poettering.net: 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

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 that

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 codes.

Re: [systemd-devel] machinectl login machine 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) I get

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] 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 system

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] journald problems

2015-04-22 Thread Mikhail Morfikov
On Wed, 22 Apr 2015 00:28:12 +0200 Michał Zegan webczat_...@poczta.onet.pl 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

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 kreij...@inwind.it 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

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 anyway. But

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. Why is

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,

[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: NOARP mtu 1500 qdisc noop state DOWN mode

[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

[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 @@

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: https://github.com/systemd-devs/systemd/compare/master...systemd-mailing-devs:1429692296-5793-3-git-send-email-susant%40redhat.com -- Generated by https://github.com/haraldh/mail2git ___ systemd-devel mailing

Re: [systemd-devel] systemd-nspawn trouble

2015-04-22 Thread Michael Biebl
2015-04-22 13:57 GMT+02:00 Lennart Poettering lenn...@poettering.net: 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:

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 lenn...@poettering.net: 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

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 systems

[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

Re: [systemd-devel] systemd-nspawn trouble

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

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 lenn...@poettering.net: On Wed, 22.04.15 14:09, Michael Biebl (mbi...@gmail.com) wrote: 2015-04-22 13:57 GMT+02:00 Lennart Poettering lenn...@poettering.net: Maybe we should

Re: [systemd-devel] systemd-nspawn trouble

2015-04-22 Thread Michael Biebl
2015-04-22 14:22 GMT+02:00 Michael Biebl mbi...@gmail.com: 2015-04-22 14:14 GMT+02:00 Lennart Poettering lenn...@poettering.net: 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