On Tue, May 2, 2017 at 10:38 AM, William Hubbs <[email protected]> wrote: > On Sun, Apr 30, 2017 at 09:06:53PM +0200, Michał Górny wrote: >> Fix the eclass code to remove the misguided Linux conditionals. >> The whole purpose of the eclass was to avoid having to implement >> fallback logic for systems not having service manager tmpfiles.d >> support. Making it conditional to Linux implied that for non-Linux >> systems (Prefix, FreeBSD) we would have to implement explicit fallback >> to create the necessary directories. >> >> While systemd (and therefore systemd-tmpfilesd) is indeed >> Linux-specific, the opentmpfiles implementation should be pretty >> portable and there is no reason to restrict it to Linux only, or to >> prevent using it on non-Linux OpenRC (and non-OpenRC) systems. > > Opentmpfiles can run right now on non-openrc systems, but it requires a > linux host; that is why the Linux conditionals are there. We currently support > selinux and even more specific linux code is coming with the btrfs > subvolume support.
My Linux system does not support selinux. Other people have Linux systems which do not support btrfs. tmpfiles still works on such systems. What exactly breaks on non-Linux systems?
