Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/etc/rc.d



On 2021/08/02 19:15, Michael van Elst wrote:
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.

I think it is simplest to install zfs unconditionally, but
I don't have strong opinions.

Thanks,
rin


Home | Main Index | Thread Index | Old Index