On Mon, Aug 02, 2021 at 11:27:22AM +0200, Michael van Elst wrote: > On Mon, Aug 02, 2021 at 11:54:27AM +0900, Rin Okuyama wrote: > > Hi, > > > > this commit causes: > > > > rcorder: file `/etc/rc.d/devpubd' is before unknown provision `zfs' > > > > for systems with MKZFS=no. > > > > Install /etc/rc.d/zfs for everyone? This should be harmless; the script > > properly checks existence of /sbin/zfs, i.e., MKZFS=yes. > > > > Alternatively, autogen /etc/rc.d/devpubd? > > > I'd prefer installing /etc/rc.d/zfs for everyone. > > Michael van Elst
The alternative is to change the direction of the dependency. I don't think you need a separate BARRIER script for this unless you have some plan to add more than devpubd as a requirement. For this add an additional "REQUIRE: devpubd" to zfs, ccd, cgd, lvm, and raidframe and drop "BEFORE: zfs ccd cgd lvm raidframe" from devpubd. If you insist on a separate barrier, one name would be USERDEVICEPATHS or short UDEV. Greetings, -- Michael van Elst Internet: mlel...@serpens.de "A potential Snark may lurk in every tree."