[systemd-devel] Both volatile and persistent journald logs

2015-04-23 Thread Cam Hutchison
I am migrating to systemd/journald (via an upgrade from Debian wheezy to jessie) and I've come across a problem migrating that is peculiar to my setup. I currently have /var/log on an SSD. I also have some noisy logs. In attempt to not have rsyslog write continuously to the SSD, I have set up some

Re: [systemd-devel] Both volatile and persistent journald logs

2015-04-23 Thread Lennart Poettering
On Thu, 23.04.15 06:58, Cam Hutchison (c...@xdna.net) wrote: > I am migrating to systemd/journald (via an upgrade from Debian wheezy to > jessie) and I've come across a problem migrating that is peculiar to my > setup. > > I currently have /var/log on an SSD. I also have some noisy logs. In > att

[systemd-devel] 628c89cc (tentative devices) + disk/by-label udev rule

2015-04-23 Thread Umut Tezduyar Lindskog
It is not uncommon that file systems have the same volume label, especially on flash drives. disk/by-label udev rule in 60-persistent-storage.rules generates a symb link to the device. 2 devices might have the same label link if they have same label. After 628c89cc, this becomes very visible with

Re: [systemd-devel] 628c89cc (tentative devices) + disk/by-label udev rule

2015-04-23 Thread Andrei Borzenkov
On Thu, Apr 23, 2015 at 2:20 PM, Umut Tezduyar Lindskog wrote: > It is not uncommon that file systems have the same volume label, > especially on flash drives. disk/by-label udev rule in > 60-persistent-storage.rules generates a symb link to the device. 2 > devices might have the same label link i

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

2015-04-23 Thread Lennart Poettering
On Wed, 22.04.15 21:05, 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. > > Note that this removes the explicit setting of ID_ID in the firewire > conditional. Because we are now setti

[systemd-devel] install Fedora systemd-nspawn container on btrfs

2015-04-23 Thread arnaud gaboury
Not sure what I did wrong, but I can't install/boot my nspawn container. Here is my setup: Archlinux box- updated 1- created 3 btrfs subvol on /dev/sdb1 (SSD). The goal is to manage snapshots easily. no nested subvol. -- # btrfs subvolume list . ID 266 gen

Re: [systemd-devel] install Fedora systemd-nspawn container on btrfs

2015-04-23 Thread Lennart Poettering
On Thu, 23.04.15 13:45, arnaud gaboury (arnaud.gabo...@gmail.com) wrote: > Not sure what I did wrong, but I can't install/boot my nspawn container. > Here is my setup: > > Archlinux box- updated > > 1- created 3 btrfs subvol on /dev/sdb1 (SSD). The goal is to manage > snapshots easily. > no nest

Re: [systemd-devel] 628c89cc (tentative devices) + disk/by-label udev rule

2015-04-23 Thread Lennart Poettering
On Thu, 23.04.15 13:20, Umut Tezduyar Lindskog (u...@tezduyar.com) wrote: > It is not uncommon that file systems have the same volume label, > especially on flash drives. disk/by-label udev rule in > 60-persistent-storage.rules generates a symb link to the device. 2 > devices might have the same l

Re: [systemd-devel] install Fedora systemd-nspawn container on btrfs

2015-04-23 Thread Andrei Borzenkov
On Thu, Apr 23, 2015 at 2:50 PM, Lennart Poettering wrote: > On Thu, 23.04.15 13:45, arnaud gaboury (arnaud.gabo...@gmail.com) wrote: > >> Not sure what I did wrong, but I can't install/boot my nspawn container. >> Here is my setup: >> >> Archlinux box- updated >> >> 1- created 3 btrfs subvol on /

Re: [systemd-devel] install Fedora systemd-nspawn container on btrfs

2015-04-23 Thread Lennart Poettering
On Thu, 23.04.15 14:57, Andrei Borzenkov (arvidj...@gmail.com) wrote: > On Thu, Apr 23, 2015 at 2:50 PM, Lennart Poettering > wrote: > > On Thu, 23.04.15 13:45, arnaud gaboury (arnaud.gabo...@gmail.com) wrote: > > > >> Not sure what I did wrong, but I can't install/boot my nspawn container. > >>

Re: [systemd-devel] [PATCH 1/3] sysusers: allow separate alternate roots for configs and modifications

2015-04-23 Thread Lennart Poettering
On Thu, 26.02.15 02:46, Ivan Shapovalov (intelfx...@gmail.com) wrote: > This is useful, for example, to create system accounts on an initramfs > using the host's configuration. Hmm, but you can already do this, by specifiying the config files on the command line, no? Lennart -- Lennart Poetter

Re: [systemd-devel] install Fedora systemd-nspawn container on btrfs

2015-04-23 Thread arnaud gaboury
On Thu, Apr 23, 2015 at 1:50 PM, Lennart Poettering wrote: > On Thu, 23.04.15 13:45, arnaud gaboury (arnaud.gabo...@gmail.com) wrote: > >> Not sure what I did wrong, but I can't install/boot my nspawn container. >> Here is my setup: >> >> Archlinux box- updated >> >> 1- created 3 btrfs subvol on /

Re: [systemd-devel] install Fedora systemd-nspawn container on btrfs

2015-04-23 Thread arnaud gaboury
On Thu, Apr 23, 2015 at 2:00 PM, Lennart Poettering wrote: > On Thu, 23.04.15 14:57, Andrei Borzenkov (arvidj...@gmail.com) wrote: > >> On Thu, Apr 23, 2015 at 2:50 PM, Lennart Poettering >> wrote: >> > On Thu, 23.04.15 13:45, arnaud gaboury (arnaud.gabo...@gmail.com) wrote: >> > >> >> Not sure w

Re: [systemd-devel] Journalctl Unit Completion Optmization

2015-04-23 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Apr 22, 2015 at 06:37:06PM +0200, Lennart Poettering wrote: > 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

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

2015-04-23 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Apr 22, 2015 at 12:30:32PM -0700, Lukas Rusak wrote: > Ah, completely missed images. So perhaps something like this would be > better? > > machinectl --full --no-legend --no-pager list-images | awk '{print $1}' We usually try to avoid running external programs unless necessary. This can be

Re: [systemd-devel] journald-remote problem

2015-04-23 Thread a
Excerpts from Eric's message of 2015-04-22 21:14:56 +0900: > 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

Re: [systemd-devel] [PATCH] config_parse_exec_mount_flags: get rid of unnecessary copy

2015-04-23 Thread Lennart Poettering
On Fri, 13.02.15 09:49, Maciej Wereski (m.were...@partner.samsung.com) wrote: > Dnia środa, 11 lutego 2015 13:08:26 Lennart Poettering pisze: > > > This optimization is not valid. > > > > If 'word' is set to "sh", then l will be 2, and strneq(word, "shared", > > 2) is true, but we don't actually

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

2015-04-23 Thread Lennart Poettering
On Thu, 23.04.15 13:06, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: > On Wed, Apr 22, 2015 at 12:30:32PM -0700, Lukas Rusak wrote: > > Ah, completely missed images. So perhaps something like this would be > > better? > > > > machinectl --full --no-legend --no-pager list-images | awk '{

Re: [systemd-devel] [PATCH 1/3] sysusers: allow separate alternate roots for configs and modifications

2015-04-23 Thread Ivan Shapovalov
On 2015-04-23 at 14:11 +0200, Lennart Poettering wrote: > On Thu, 26.02.15 02:46, Ivan Shapovalov (intelfx...@gmail.com) wrote: > > > This is useful, for example, to create system accounts on an > > initramfs > > using the host's configuration. > > Hmm, but you can already do this, by specifiyin

Re: [systemd-devel] install Fedora systemd-nspawn container on btrfs

2015-04-23 Thread Lennart Poettering
On Thu, 23.04.15 14:18, arnaud gaboury (arnaud.gabo...@gmail.com) wrote: > > Pick one: > > > > a) download the raw image and use that, but it will be a loopback file > > with its own file system inside > > > > or: > > > > b) do the dnf/yum install root thing, and install it into a directory > > tr

Re: [systemd-devel] [PATCH 1/3] sysusers: allow separate alternate roots for configs and modifications

2015-04-23 Thread Lennart Poettering
On Thu, 23.04.15 17:46, Ivan Shapovalov (intelfx...@gmail.com) wrote: > On 2015-04-23 at 14:11 +0200, Lennart Poettering wrote: > > On Thu, 26.02.15 02:46, Ivan Shapovalov (intelfx...@gmail.com) wrote: > > > > > This is useful, for example, to create system accounts on an > > > initramfs > > > u

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

2015-04-23 Thread Lennart Poettering
On Wed, 22.04.15 15:52, Lukas Rusak (loru...@gmail.com) wrote: > 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

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

2015-04-23 Thread Lennart Poettering
On Thu, 23.04.15 06:41, Andrei Borzenkov (arvidj...@gmail.com) wrote: > В 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

Re: [systemd-devel] [PATCH] build-sys: Lookup for the location of agetty

2015-04-23 Thread Lennart Poettering
On Mon, 16.02.15 12:42, Cristian Rodríguez (crrodrig...@opensuse.org) wrote: > May be in /sbin or /usr/sbin Hmm, who would place the getty in /usr/sbin and not link this up in /sbin? Anyway, I also see no reason not to merge something like this, but: > --- a/units/getty@.service.m4 > +++ b/uni

Re: [systemd-devel] [PATCH 1/3] sysusers: allow separate alternate roots for configs and modifications

2015-04-23 Thread Ivan Shapovalov
On 2015-04-23 at 16:48 +0200, Lennart Poettering wrote: > On Thu, 23.04.15 17:46, Ivan Shapovalov (intelfx...@gmail.com) wrote: > > > On 2015-04-23 at 14:11 +0200, Lennart Poettering wrote: > > > On Thu, 26.02.15 02:46, Ivan Shapovalov (intelfx...@gmail.com) > > > wrote: > > > > > > > This is us

[systemd-devel] How can I map PID between host and container?

2015-04-23 Thread WaLyong Cho
Hello, I'm looking for a proper way what method to map PID between host and container. In case of systemctl, if I know pid in container(let's call this pid_c) then I can find the pid in sight of host(let's call this pid_h) by using "systemctl -M {container} pid_c" in host shell. But I can not fin

Re: [systemd-devel] [PATCH] units: add ConditionKernelCommandLine=resume

2015-04-23 Thread Lennart Poettering
On Tue, 17.02.15 01:33, Cristian Rodríguez (crrodrig...@opensuse.org) wrote: > If there is no resume= ..it is not possible to > hubrid-sleep or hibernate To my knowledge the resume device can be discovered in different ways than just the kernel cmdline. On my machine here there is no resume= on t

Re: [systemd-devel] [PATCH 1/3] sysusers: allow separate alternate roots for configs and modifications

2015-04-23 Thread Lennart Poettering
On Thu, 23.04.15 18:09, Ivan Shapovalov (intelfx...@gmail.com) wrote: > On 2015-04-23 at 16:48 +0200, Lennart Poettering wrote: > > On Thu, 23.04.15 17:46, Ivan Shapovalov (intelfx...@gmail.com) wrote: > > > > > On 2015-04-23 at 14:11 +0200, Lennart Poettering wrote: > > > > On Thu, 26.02.15 02:4

[systemd-devel] [PATCH] man: document kill behavior after the main process exits

2015-04-23 Thread Daniel Drake
While looking at the exact behavior of how systemd stops services, I encountered some behavior that wasn't clear from reading the man page. Specifically, if the main process exits before its children, the child processes will actually receive a second SIGTERM. If that doesn't kill them, they will

Re: [systemd-devel] How can I map PID between host and container?

2015-04-23 Thread Lennart Poettering
On Fri, 24.04.15 00:10, WaLyong Cho (walyong@samsung.com) wrote: > Hello, > > I'm looking for a proper way what method to map PID between host and > container. > > In case of systemctl, if I know pid in container(let's call this pid_c) > then I can find the pid in sight of host(let's call th

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

2015-04-23 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Apr 23, 2015 at 04:44:01PM +0200, Lennart Poettering wrote: > On Thu, 23.04.15 13:06, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: > > > On Wed, Apr 22, 2015 at 12:30:32PM -0700, Lukas Rusak wrote: > > > Ah, completely missed images. So perhaps something like this would be > > >

Re: [systemd-devel] [PATCH] man: document kill behavior after the main process exits

2015-04-23 Thread Lennart Poettering
On Thu, 23.04.15 09:20, Daniel Drake (dr...@endlessm.com) wrote: > -timeout, if the normal shutdown procedure left processes of > -the service around. Takes a boolean value. Defaults to "yes". > +timeout, if the normal shutdown procedure didn't succeed in > +shuttin

Re: [systemd-devel] How can I map PID between host and container?

2015-04-23 Thread Mantas Mikulėnas
On Thu, Apr 23, 2015 at 6:25 PM, Lennart Poettering wrote: > > The kernel doesn't have any nice userspace APIs to translate PIDs like > this, to my knowledge at least. > > That said, one can implement something like this by using the fact > that the kernel will translate user credentials that are

Re: [systemd-devel] [v3 1/4] man: these binaries are internal APIs

2015-04-23 Thread Lennart Poettering
On Sun, 15.03.15 17:59, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: > On Fri, Feb 27, 2015 at 05:04:21PM -0800, Shawn Landden wrote: > > --- > > man/systemd-halt.service.xml | 1 - > > man/systemd-shutdownd.service.xml | 1 - > > man/systemd-suspend.service.xml | 1 - > > 3 file

Re: [systemd-devel] [PATCH] man: document kill behavior after the main process exits

2015-04-23 Thread Daniel Drake
On Thu, Apr 23, 2015 at 9:32 AM, Lennart Poettering wrote: >> +Beyond the main process >> + >> + The KillMode= option primarily defines >> + behavior up until the point where the main process has gone away. >> + systemd expects that when killed with the signal specified by >> +

Re: [systemd-devel] [PATCH 3/8] power: refactor the three power management binaries to src/power

2015-04-23 Thread Lennart Poettering
On Fri, 27.02.15 03:26, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: > I'm not sure we want this... Can you add some justification? Do they share > code? I am pretty sure we don't want this. shutdown.c really belongs in src/core/. It's a binary that replaces PID 1 during shutdown, and

Re: [systemd-devel] [PATCH 4/8] update TODO

2015-04-23 Thread Lennart Poettering
On Fri, 20.02.15 14:31, Shawn Landden (sh...@churchofgit.com) wrote: > --- > TODO | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/TODO b/TODO > index 52a32d3..bf66ba1 100644 > --- a/TODO > +++ b/TODO > @@ -32,6 +32,8 @@ External: > * When lz4 gets an API for lz4 command output, make

Re: [systemd-devel] [PATCH] man: document kill behavior after the main process exits

2015-04-23 Thread Lennart Poettering
On Thu, 23.04.15 09:43, Daniel Drake (dr...@endlessm.com) wrote: > > > On Thu, Apr 23, 2015 at 9:32 AM, Lennart Poettering > wrote: > >> +Beyond the main process > >> + > >> + The KillMode= option primarily defines > >> + behavior up

Re: [systemd-devel] udisks in systemd user-sessions (or kdbus in future)

2015-04-23 Thread Lennart Poettering
On Mon, 09.03.15 12:32, Simon McVittie (simon.mcvit...@collabora.co.uk) wrote: Sorry for the late response, still trying to process all the queued emails. > systemd/kdbus developers: is this consistent with how you think > situations like this should work in the kdbus-based future? Yes, I believ

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

2015-04-23 Thread Aaron_Wright
Zbigniew Jędrzejewski-Szmek wrote on 04/21/2015 01:51:29 PM: > 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 > > compil

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

2015-04-23 Thread Andrei Borzenkov
В Thu, 23 Apr 2015 16:57:09 +0200 Lennart Poettering пишет: > On Thu, 23.04.15 06:41, Andrei Borzenkov (arvidj...@gmail.com) wrote: > > > В Thu, 23 Apr 2015 00:48:38 +0200 > > Lennart Poettering пишет: > > > > > On Fri, 20.02.15 10:56, Jan Synacek (jsyna...@redhat.com) wrote: > > > > > > Sorr

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

2015-04-23 Thread Aaron_Wright
Lennart Poettering wrote on 04/22/2015 04:29:18 PM: > 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 > > c

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

2015-04-23 Thread Lennart Poettering
On Thu, 23.04.15 09:21, aaron_wri...@selinc.com (aaron_wri...@selinc.com) wrote: > > > After I got pass the first error, I now get this: > > > > > > CC src/resolve/resolved-dns-cache.o > > > src/resolve/resolved-dns-scope.c: In function ?dns_scope_tcp_socket?: > > > src/resolve/resolved-dns

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

2015-04-23 Thread Lennart Poettering
On Thu, 23.04.15 09:43, aaron_wri...@selinc.com (aaron_wri...@selinc.com) wrote: > I cloned down the master branch yesterday and tried to build, but got: > > "src/shared/random-util.c:26:22: fatal error: sys/auxv.h: No such file or > directory" > > Which is new. Apparently "sys/auxv.h" was adde

Re: [systemd-devel] install Fedora systemd-nspawn container on btrfs

2015-04-23 Thread arnaud gaboury
On Thu, Apr 23, 2015 at 4:47 PM, Lennart Poettering wrote: > On Thu, 23.04.15 14:18, arnaud gaboury (arnaud.gabo...@gmail.com) wrote: > >> > Pick one: >> > >> > a) download the raw image and use that, but it will be a loopback file >> > with its own file system inside >> > >> > or: >> > >> > b) do

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

2015-04-23 Thread Lennart Poettering
On Thu, 23.04.15 19:33, Andrei Borzenkov (arvidj...@gmail.com) wrote: > > > > What does this actually do? Is the specified key file read from the > > > > specified device? > > > > > > It reads keyfile from filesystem on device identifed by keyfile_device. > > > > > > > The order

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

2015-04-23 Thread Goffredo Baroncelli
Hi, On 2015-04-22 13:33, Lennart Poettering wrote: > 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

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

2015-04-23 Thread Aaron_Wright
Lennart Poettering wrote on 04/23/2015 09:59:38 AM: > On Thu, 23.04.15 09:43, aaron_wri...@selinc.com > (aaron_wri...@selinc.com) wrote: > > > I cloned down the master branch yesterday and tried to build, but got: > > > > "src/shared/random-util.c:26:22: fatal error: sys/auxv.h: No such file

Re: [systemd-devel] install Fedora systemd-nspawn container on btrfs

2015-04-23 Thread Lennart Poettering
On Thu, 23.04.15 19:00, arnaud gaboury (arnaud.gabo...@gmail.com) wrote: > On Thu, Apr 23, 2015 at 4:47 PM, Lennart Poettering > wrote: > > On Thu, 23.04.15 14:18, arnaud gaboury (arnaud.gabo...@gmail.com) wrote: > > > >> > Pick one: > >> > > >> > a) download the raw image and use that, but it wi

Re: [systemd-devel] install Fedora systemd-nspawn container on btrfs

2015-04-23 Thread arnaud gaboury
On Thu, Apr 23, 2015 at 7:12 PM, Lennart Poettering wrote: > On Thu, 23.04.15 19:00, arnaud gaboury (arnaud.gabo...@gmail.com) wrote: > >> On Thu, Apr 23, 2015 at 4:47 PM, Lennart Poettering >> wrote: >> > On Thu, 23.04.15 14:18, arnaud gaboury (arnaud.gabo...@gmail.com) wrote: >> > >> >> > Pick

Re: [systemd-devel] install Fedora systemd-nspawn container on btrfs

2015-04-23 Thread arnaud gaboury
On Thu, Apr 23, 2015 at 7:21 PM, arnaud gaboury wrote: > On Thu, Apr 23, 2015 at 7:12 PM, Lennart Poettering > wrote: >> On Thu, 23.04.15 19:00, arnaud gaboury (arnaud.gabo...@gmail.com) wrote: >> >>> On Thu, Apr 23, 2015 at 4:47 PM, Lennart Poettering >>> wrote: >>> > On Thu, 23.04.15 14:18, ar

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

2015-04-23 Thread Lennart Poettering
On Thu, 23.04.15 10:16, aaron_wri...@selinc.com (aaron_wri...@selinc.com) wrote: > Lennart Poettering wrote on 04/23/2015 09:59:38 > AM: > > On Thu, 23.04.15 09:43, aaron_wri...@selinc.com > > (aaron_wri...@selinc.com) wrote: > > > > > I cloned down the master branch yesterday and tried to bui

Re: [systemd-devel] install Fedora systemd-nspawn container on btrfs

2015-04-23 Thread Lennart Poettering
On Thu, 23.04.15 19:29, arnaud gaboury (arnaud.gabo...@gmail.com) wrote: > When in /var/lib/machines/poppy: > > root@hortensia ➤➤ machines/poppy # btrfs subvolume list . > ID 266 gen 98 top level 5 path rootvol > ID 268 gen 100 top level 5 path var > ID 269 gen 101 top level 5 path etc > ID 271 g

Re: [systemd-devel] install Fedora systemd-nspawn container on btrfs

2015-04-23 Thread arnaud gaboury
On Thu, Apr 23, 2015 at 7:36 PM, Lennart Poettering wrote: > On Thu, 23.04.15 19:29, arnaud gaboury (arnaud.gabo...@gmail.com) wrote: > >> When in /var/lib/machines/poppy: >> >> root@hortensia ➤➤ machines/poppy # btrfs subvolume list . >> ID 266 gen 98 top level 5 path rootvol >> ID 268 gen 100 to

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

2015-04-23 Thread Aaron_Wright
Lennart Poettering wrote on 04/23/2015 10:35:12 AM: > On Thu, 23.04.15 10:16, aaron_wri...@selinc.com > (aaron_wri...@selinc.com) wrote: > > > Lennart Poettering wrote on 04/23/2015 09:59:38 > > AM: > > > On Thu, 23.04.15 09:43, aaron_wri...@selinc.com > > > (aaron_wri...@selinc.com) wrote:

Re: [systemd-devel] Complex supervision structures/delegating watchdog?

2015-04-23 Thread Lennart Poettering
On Mon, 16.02.15 21:36, Holger Hans Peter Freyther (hol...@freyther.de) wrote: Sorry for the late reply, still catching up with piles of email queued up. > On Mon, Feb 16, 2015 at 11:21:53AM +0100, Lennart Poettering wrote: > > > > Is your pppd daemon itself also a systemd service? > > > > What

Re: [systemd-devel] Another attempt: Making dependencies properly overridable

2015-04-23 Thread Lennart Poettering
On Mon, 16.02.15 16:19, Christian Seiler (christ...@iwakd.de) wrote: > Last time I talked about this here, there was a lot of confusion, so > I didn't pursue it further. But I would really like to get this to > work, but before I start with a patch, I'd like to explain what I'd > like to do before

Re: [systemd-devel] Another attempt: Making dependencies properly overridable

2015-04-23 Thread Lennart Poettering
On Sun, 19.04.15 09:29, Andrei Borzenkov (arvidj...@gmail.com) wrote: > Unless I'm mistaken, the only real change is that Wants= will clear > list, just like it does it for ExecStart=. This should be rather > straightforward to implement I guess. Actually it's not that easy. You need to collect t

Re: [systemd-devel] Another attempt: Making dependencies properly overridable

2015-04-23 Thread Lennart Poettering
On Sun, 19.04.15 17:08, Andrei Borzenkov (arvidj...@gmail.com) wrote: > What about Wants-=e.service in dropin? Dropins are processed > after .{wants,requires}.d and has advantage that you can remove also > static dependency from unit definition file, not only mask another > directory. This has be

Re: [systemd-devel] user units and system units behavior

2015-04-23 Thread Lennart Poettering
On Mon, 16.02.15 11:14, Simon McVittie (simon.mcvit...@collabora.co.uk) wrote: > >No, mine /etc/X11/xinitrc.d is Simon's /etc/X11/Xsession.d and "similar > >setups". It's apparently a distro-specific path. > > Yes. I think /etc/X11/xinitrc.d is what Red Hat and its derivatives use. > Xsession.d i

Re: [systemd-devel] Another attempt: Making dependencies properly overridable

2015-04-23 Thread Christian Seiler
On 04/23/2015 08:38 PM, Lennart Poettering wrote: > On Sun, 19.04.15 09:29, Andrei Borzenkov (arvidj...@gmail.com) wrote: > >> Unless I'm mistaken, the only real change is that Wants= will clear >> list, just like it does it for ExecStart=. This should be rather >> straightforward to implement I g

Re: [systemd-devel] Another attempt: Making dependencies properly overridable

2015-04-23 Thread Christian Seiler
On 04/23/2015 08:36 PM, Lennart Poettering wrote: > I mean, so far the deps we set are combined from: > > unit file (1) > + dropins(2) > + .wants/ + .requires/ symlinks (3) > + automatic deps

Re: [systemd-devel] [PATCH 1/3] sysusers: allow separate alternate roots for configs and modifications

2015-04-23 Thread Ivan Shapovalov
On 2015-04-23 at 17:15 +0200, Lennart Poettering wrote: > On Thu, 23.04.15 18:09, Ivan Shapovalov (intelfx...@gmail.com) wrote: > > > On 2015-04-23 at 16:48 +0200, Lennart Poettering wrote: > > > On Thu, 23.04.15 17:46, Ivan Shapovalov (intelfx...@gmail.com) > > > wrote: > > > > > > > On 2015-04

Re: [systemd-devel] udev leaves dangling symlinks

2015-04-23 Thread Tom Gundersen
Thanks for this, and sorry for the delay! Fix pushed. Tom On Thu, Apr 16, 2015 at 9:51 PM, Mantas Mikulėnas wrote: > So recently I noticed that udev no longer deletes /dev symlinks for removed > devices, leaving quite a few dangling links over time (and greatly confusing > udisks as a side effec

Re: [systemd-devel] Another attempt: Making dependencies properly overridable

2015-04-23 Thread Dimitri John Ledkov
On 23 April 2015 at 14:58, Christian Seiler wrote: > On 04/23/2015 08:36 PM, Lennart Poettering wrote: >> I mean, so far the deps we set are combined from: >> >> unit file (1) >> + dropins(2) >> + .wants/ + .requires/ s

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

2015-04-23 Thread Dimitri John Ledkov
On 23 April 2015 at 13:08, Lennart Poettering wrote: > On Thu, 23.04.15 19:33, Andrei Borzenkov (arvidj...@gmail.com) wrote: > >> > > > What does this actually do? Is the specified key file read from the >> > > > specified device? >> > > >> > > It reads keyfile from filesystem on device identifed

Re: [systemd-devel] Supporting ExecStartPre= and friends in `systemctl set-property` or `systemd-run -p`

2015-04-23 Thread Ivan Shapovalov
On 2015-04-08 at 19:28 +0200, Lennart Poettering wrote: > On Mon, 23.03.15 16:04, Ivan Shapovalov (intelfx...@gmail.com) wrote: > > > Hello, > > > > is it possible/allowed/desired to support assigning ExecStartPre= > > and > > similar options via dbus interface, i. e. in `systemctl set > > -prop

Re: [systemd-devel] [PATCH 2/3] journal: use audit event names instead of numbers

2015-04-23 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Apr 20, 2015 at 05:06:33PM +0200, Lennart Poettering wrote: > On Mon, 20.04.15 14:58, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: > > > On Mon, Apr 20, 2015 at 04:43:20PM +0200, Lennart Poettering wrote: > > > On Tue, 14.04.15 21:58, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.p

Re: [systemd-devel] install Fedora systemd-nspawn container on btrfs

2015-04-23 Thread arnaud gaboury
On Thu, Apr 23, 2015 at 7:37 PM, arnaud gaboury wrote: > On Thu, Apr 23, 2015 at 7:36 PM, Lennart Poettering > wrote: >> On Thu, 23.04.15 19:29, arnaud gaboury (arnaud.gabo...@gmail.com) wrote: >> >>> When in /var/lib/machines/poppy: >>> >>> root@hortensia ➤➤ machines/poppy # btrfs subvolume list

Re: [systemd-devel] install Fedora systemd-nspawn container on btrfs

2015-04-23 Thread arnaud gaboury
On Fri, Apr 24, 2015 at 8:14 AM, arnaud gaboury wrote: > On Thu, Apr 23, 2015 at 7:37 PM, arnaud gaboury > wrote: >> On Thu, Apr 23, 2015 at 7:36 PM, Lennart Poettering >> wrote: >>> On Thu, 23.04.15 19:29, arnaud gaboury (arnaud.gabo...@gmail.com) wrote: >>> When in /var/lib/machines/poppy

Re: [systemd-devel] install Fedora systemd-nspawn container on btrfs

2015-04-23 Thread arnaud gaboury
On Fri, Apr 24, 2015 at 8:16 AM, arnaud gaboury wrote: > On Fri, Apr 24, 2015 at 8:14 AM, arnaud gaboury > wrote: >> On Thu, Apr 23, 2015 at 7:37 PM, arnaud gaboury >> wrote: >>> On Thu, Apr 23, 2015 at 7:36 PM, Lennart Poettering >>> wrote: On Thu, 23.04.15 19:29, arnaud gaboury (arnaud.g