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? i pasted some output below, hope this helps many thanks, stijn > [root@test2200 ~]# chkconfig --list netconsole > > Note: This output shows SysV services only and does not include native > systemd services. SysV configuration data might be overridden by native > systemd configuration. > > If you want to list systemd services use 'systemctl list-unit-files'. > To see services enabled on particular target use > 'systemctl list-dependencies [target]'. > > netconsole 0:off 1:off 2:off 3:off 4:off 5:off 6:off > [root@test2200 ~]# systemctl list-units --all |grep netconsole > [root@test2200 ~]# systemctl list-unit-files --all |grep netconsole > [root@test2200 ~]# systemctl show netconsole.service |grep generator > Documentation=man:systemd-sysv-generator(8) > FragmentPath=/run/systemd/generator.late/netconsole.service > [root@test2200 ~]# systemctl status netconsole.service > ● netconsole.service - SYSV: Initializes network console logging > Loaded: loaded (/etc/rc.d/init.d/netconsole) > Active: inactive (dead) > Docs: man:systemd-sysv-generator(8) > [root@test2200 ~]# ls -l /run/systemd/generator.late/netconsole.service > -rw-r--r-- 1 root root 453 Jan 13 14:49 > /run/systemd/generator.late/netconsole.service > [root@test2200 ~]# cat /run/systemd/generator.late/netconsole.service > # Automatically generated by systemd-sysv-generator > > [Unit] > Documentation=man:systemd-sysv-generator(8) > SourcePath=/etc/rc.d/init.d/netconsole > Description=SYSV: Initializes network console logging > Before=shutdown.target > Conflicts=shutdown.target > > [Service] > Type=forking > Restart=no > TimeoutSec=5min > IgnoreSIGPIPE=no > KillMode=process > GuessMainPID=no > RemainAfterExit=yes > ExecStart=/etc/rc.d/init.d/netconsole start > ExecStop=/etc/rc.d/init.d/netconsole stop _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel