Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Workaround
-
2.4.2
-
None
Description
SysV-controlled services are not being correctly detected in Ubuntu if the chkconfig utility is not installed. An example is xRDP. When installed via apt-get, the xRDP service is controlled by SysV. The service appears if you run service --status-all:
[ + ] xrdp
The code is attempting to call chkconfig. On Ubuntu 14 and possibly others, this utility is not available on recent versions of Ubuntu.
As a result, warnings are generated in vcld.log:
Linux.pm:command_exists|5567|'chkconfig' command does NOT exist on vm1, command: which chkconfig Linux.pm:service_exists|3438|'xrdp' service is not controlled by Upstart init module (0) Linux.pm:service_exists|3443|'xrdp' service does not exist on vm1