Uploaded image for project: 'VCL'
  1. VCL
  2. VCL-966

Ubuntu not detecting SysV-controlled services if chkconfig is not installed

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Workaround
    • 2.4.2
    • 2.5
    • vcld (backend)
    • 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
      

      Attachments

        Activity

          People

            arkurth Andrew Kurth
            arkurth Andrew Kurth
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: