Re: [systemd-devel] [networkd] [RFC] ProfileName match constraint and profile selection via networkctl

2016-04-22 Thread Clemens Gruber
On Fri, Apr 22, 2016 at 04:48:02PM +0200, Lennart Poettering wrote: > However, I think that shouldn't stop you from implementing > something like this, and I think you can do this relatively easily > without direct support in networkd. For example, you could place your > choice of .network files so

Re: [systemd-devel] systemd hibernator generator does not function on default Fedora install

2016-04-22 Thread Chris Murphy
On Thu, Apr 21, 2016 at 6:11 AM, Harald Hoyer wrote: > Yeah, I think dm-crypt/luks does not change metadata on disk while opening > it, so no problems here. What metadata change happens with linear logical volumes? I'd expect LVM or dm metadata changes if thin provisioning is being used, but as

Re: [systemd-devel] Fwd: Stopping a service at a specific time or after a specific duration

2016-04-22 Thread Reindl Harald
Am 22.04.2016 um 17:03 schrieb Lennart Poettering: On Thu, 21.04.16 10:32, Reindl Harald (h.rei...@thelounge.net) wrote: Thanks. The man page says: If this is used and the service has been active for longer than the specified time it is terminated and put into a failure state and i call t

Re: [systemd-devel] Fwd: Stopping a service at a specific time or after a specific duration

2016-04-22 Thread Lennart Poettering
On Thu, 21.04.16 10:32, Reindl Harald (h.rei...@thelounge.net) wrote: > >Thanks. The man page says: > > > >>If this is used and the service has been active for longer than the > >>specified > >>time it is terminated and put into a failure state > > and i call that a design bug - why does it go i

Re: [systemd-devel] Fwd: Stopping a service at a specific time or after a specific duration

2016-04-22 Thread Lennart Poettering
On Wed, 20.04.16 16:29, Jamie Kitson (ja...@kitten-x.com) wrote: > > For stopping after a duration you can use RuntimeMaxSec=, introduced in > > v229. > > Thanks. The man page says: > > > If this is used and the service has been active for longer than the > > specified > > time it is termi

Re: [systemd-devel] [networkd] [RFC] ProfileName match constraint and profile selection via networkctl

2016-04-22 Thread Lennart Poettering
On Thu, 21.04.16 17:49, Clemens Gruber (clemens.gru...@pqgruber.com) wrote: > Hi, > > I have the following problem: I use systemd-networkd on an embedded ARM > board but we have several different network usecases (with or without > VLAN trunking, etc.) which need to be configurable. > > Until no

Re: [systemd-devel] Shutdown root fs on loop device

2016-04-22 Thread Lennart Poettering
On Fri, 22.04.16 11:49, Michael Lipp (m...@mnl.de) wrote: > Hi, > > I have some PCs where I have to store the Linux root file system as a > large file in Window's NTFS file system. Everything boots fine. The NTFS > file system is mounted as ntfs-3g in the initial ramfs as /host, the > loopback de

Re: [systemd-devel] systemd hibernator generator does not function on default Fedora install

2016-04-22 Thread Lennart Poettering
On Thu, 21.04.16 12:00, Chris Murphy (li...@colorremedies.com) wrote: > On Wed, Apr 20, 2016 at 3:14 AM, Lennart Poettering > wrote: > > On Tue, 19.04.16 22:47, Chris Murphy (li...@colorremedies.com) wrote: > > > >> In some ancient bug or lkml I'd read a kernel maintainer say that the > >> hibern

Re: [systemd-devel] Shutdown root fs on loop device

2016-04-22 Thread Alexandre Detiste
Or use a wrapper. #include #include int main(int argc, char *argv[]) { argv[0] = "@ntfs-3g"; execv("/usr/bin/ntfs-3g", argv); perror("ntfs-3g-wrapper"); return 1; 2016-04-22 13:02 GMT+02:00 Tomasz Torcz : > On Fri, Apr 22, 2016 at 11:49:09AM +0200, Michael Lipp

Re: [systemd-devel] Shutdown root fs on loop device

2016-04-22 Thread Tomasz Torcz
On Fri, Apr 22, 2016 at 11:49:09AM +0200, Michael Lipp wrote: > Hi, > > I have some PCs where I have to store the Linux root file system as a > large file in Window's NTFS file system. Everything boots fine. The NTFS > file system is mounted as ntfs-3g in the initial ramfs as /host, the > loopback

[systemd-devel] Shutdown root fs on loop device

2016-04-22 Thread Michael Lipp
Hi, I have some PCs where I have to store the Linux root file system as a large file in Window's NTFS file system. Everything boots fine. The NTFS file system is mounted as ntfs-3g in the initial ramfs as /host, the loopback device is created (using /host/Linux/image.img) and used as root. Howeve

Re: [systemd-devel] ExecStop upon un-expected but clean shutdown

2016-04-22 Thread Mathieu Lacage
Hi, While trying to make progress on this issue, I found this: https://lists.freedesktop.org/archives/systemd-devel/2015-February/028058.html which appears to be a similar problem. I eventually identified changeset d54ddab8cbad46290306fc6e3346089fe3772d5c as the relevant change by Lennart. A quick