goss
goss copied to clipboard
upstart has incorrect running check
Declaration in service_upstart.go#L72 is incorrect command to run.
this one is for SysV:
cmd := util.NewCommand("service", s.service, "status")
this one is for Upstart:
cmd := util.NewCommand("initctl", "status", s.service)
Initctl has a different syntax than service. For service it is
service servicename status
and for initctl it's
initctl status servicename
See http://manpages.ubuntu.com/manpages/trusty/man8/initctl.8.html for details
Does this actually cause a false positive/negative or does service work just fine and proxy over to upstart?
There is no proxy between upstart and sysV services, unfortunately.
Upstart provides initctl and uses it to control jobs.
Did this go away as an issue? As in, does this impact any non-EOL distro?
Closing, if this is still an issue, please feel free to open an new report