Andy Kurth created VCL-966:
------------------------------
Summary: Ubuntu not detecting SysV-controlled services if
chkconfig is not installed
Key: VCL-966
URL: https://issues.apache.org/jira/browse/VCL-966
Project: VCL
Issue Type: Improvement
Components: vcld (backend)
Affects Versions: 2.4.2
Reporter: Andy Kurth
Fix For: 2.5
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*:
{noformat} [ + ] xrdp{noformat}
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:
{noformat}
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
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)