[systemd-devel] 'is-enabled' supported for legacy sysvinit scripts?

Nusenu nusenu at openmailbox.org
Sun Apr 12 14:00:38 PDT 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi,

I'm trying to find out whether I'm looking at an ansible or systemctl
bug.

Does systemctl aim to support the 'is-enabled' command for legacy sysv
initscripts?

Output in such cases:

"Failed to get unit file state for FOO.service: No such file or director
y"


Context: ansible uses 'is-enabled' to find out about the current state
of a service. In such cases it always believes the service is disabled
already due to systemctl's return code.

I had a short look at:
http://www.freedesktop.org/wiki/Software/systemd/Incompatibilities/
but I didn't find an answer to my question.

thanks,
Nusenu
-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJVKtz2AAoJEFv7XvVCELh0VhIP/RaV7gf779K4dzWUYJHA29ks
d14KxPa7JPgn9RKfbq+wi1ZE84v+l5g6Gy5lR+3dMwJC8lj2mJxSlRYyynhIpCnf
dHpwMAdAMZxgXpRgLBew0wLLbYpV+UjSLwXndqdf0ZJynwyIJAWQvwREo7CZrDXy
LKEz1L7iAgSpjLvGyzrTabmZuTHIAlMGns1Q4UMJbMRhgm/wgxpFnKfZERDo5s6b
hql4FydFoIQea9b+yIjh3Gid8ymk+SLprPrEtJZeIIlb0yJUj4f5WDfkopGtvqCR
Pl1N0q8Lu8bhqHMpczF3MHrpSlm2Hzap89I7dVHFxxiyz2fYqZeJLLRQEoqcKDXO
q328JSj1EbL/BZU6qlDf8ykMG4cB/y8t4lE2kvtLO2WsKUhX1zWSkEIPwVwlc0QI
WNawRXGoUY2uLT1NuwbQw4LKnABQMWXi+2TOYfgvl/heeRiVUle9/23pWcjofxNk
AlUc+CJFEQnc2cmrZdXU/echZPM3V90Uq/ramgUsmI1KiQqMTLoi1wJ9/neiU/hT
ZQexWyejCD1vqwTzUVhkUpLg/90ig2C/KbvNpzwRHWSSTVMy62agbOQth6ar99Y8
tUIUHWwXH9txHlEPBGovs951FgDlMbeG6IGseM1j+K14bMMdjmCtNGa7X6JGcDVJ
geJYr+PjlhFsIhjOVu1M
=jxrl
-----END PGP SIGNATURE-----


More information about the systemd-devel mailing list