Re: [linux-lvm] [PATCH] Detect systemd at run-time in 69-dm-lvm-metad.rules

2019-07-31 Thread Julian Andres Klode
On Wed, Jul 31, 2019 at 11:21:10AM +0200, Zdenek Kabelac wrote: > > Debian and Ubuntu, as Debian requires support for non-systemd inits, and > > Ubuntu requires event-based root device finding in initramfs. Surely that's This is nonsense. No Ubuntu release has systemd-based background scanning,

Re: [linux-lvm] [PATCH] Detect systemd at run-time in 69-dm-lvm-metad.rules

2019-07-31 Thread Julian Andres Klode
On Tue, Jul 30, 2019 at 05:02:44PM +0200, Zdenek Kabelac wrote: > Dne 25. 07. 19 v 20:49 Julian Andres Klode napsal(a): > > systems might have systemd as their normal init systems, but > > might not be using it in their initramfs; or like Debian, support > > different init sys

Re: [linux-lvm] [PATCH] Detect systemd at run-time in 69-dm-lvm-metad.rules

2019-08-02 Thread Julian Andres Klode
On Wed, Jul 31, 2019 at 11:21:10AM +0200, Zdenek Kabelac wrote: > Dne 30. 07. 19 v 17:12 Julian Andres Klode napsal(a): > > On Tue, Jul 30, 2019 at 05:02:44PM +0200, Zdenek Kabelac wrote: > > > Dne 25. 07. 19 v 20:49 Julian Andres Klode napsal(a): > > > > systems migh

Re: [linux-lvm] [PATCH] Detect systemd at run-time in 69-dm-lvm-metad.rules

2019-08-02 Thread Julian Andres Klode
On Wed, Jul 31, 2019 at 12:22:38PM +0200, Zdenek Kabelac wrote: > Dne 31. 07. 19 v 11:39 Julian Andres Klode napsal(a): > > > > I don't see how this has anything to do with lvmetad. There is no > > > > lvmetad > > > > anymore. > > > > > >

[linux-lvm] [PATCH] Detect systemd at run-time in 69-dm-lvm-metad.rules

2019-07-26 Thread Julian Andres Klode
systems might have systemd as their normal init systems, but might not be using it in their initramfs; or like Debian, support different init systems. Detect whether we are running on systemd by checking for /run/systemd/system and then change the behavior accordingly. This effectively breaks