[systemd-devel] known but not-listed units

Lennart Poettering lennart at poettering.net
Thu Jan 14 07:01:45 PST 2016


On Wed, 13.01.16 17:26, Stijn De Weirdt (stijn.deweirdt at ugent.be) wrote:

> hi all,
> 
> i'm having following situation on a centos 7.2 system (systemd-219-19.el7)
> 
> there is a sysvinit service called netconsole that is not listed as a
> unit or unitfile, but the unitfile was generated and systemctl seems to
> be able to handle the unit.
> 
> the only odd issue is that this service is not enabled (chkconfig shows
> all levels as off).
> this system has otehr sysvinit services that do show up as units (but
> for those, at least one level is on)
> 
> is this "normal"? and what sort of units exits that are not listed as
> units or unitfiles in general?

We currently do not show runtime generated unit files among the output
of "systemctl list-unit-files", but it would probably make sense if we
would. Unit files that are automatically generated for SysV scripts
are of this kind, and thus not visible in "systemctl list-unit-files".

Please file a github issue requesting support for listing such
generated files in "systemctl list-unit-files". 

Thanks,

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list