[systemd-devel] [PATCH 05/10] rules: skip 99-systemd.rules when not running systemd as init

Lennart Poettering lennart at poettering.net
Thu Aug 14 15:45:33 PDT 2014


On Wed, 16.07.14 20:45, Jon Severinsson (jon at severinsson.net) wrote:

> 
> onsdagen den 16 juli 2014 16:49:55 skrev  Lennart Poettering:
> > On Wed, 16.07.14 12:09, Jon Severinsson (jon at severinsson.net) wrote:
> > > From: Tollef Fog Heen <tfheen at err.no>
> > 
> > If you really want to support systems without systemd installed, then I'd
> > recommend placing this rules file in the systemd pacakge, so that it is
> > gone if you uninstall systemd.
> > 
> > That said, nothing of what the file does is in any way something that
> > could break things on non-systemd systems, hence the whole excercise
> > sounds pointless...
> 
> The file still contains one RUN+="@rootlibexecdir@/systemd-sysctl ...", which 
> I don't think is desirable when systemd is installed but not running as PID 1 
> (which we also have to support).

The tool actually will work fine if you run it outside of
systemd. There's no dependency on systemd being PID 1 in that tool.

But I do see your point.

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list