Skip to content
This repository has been archived by the owner on Sep 24, 2019. It is now read-only.

Update/create service provider to support service gathering with Upstart on Ubuntu1404 #66

Open
johnmccabe opened this issue Oct 9, 2017 · 4 comments
Assignees
Labels

Comments

@johnmccabe
Copy link
Contributor

Currently running libral on an Ubuntu1404 host results in no service resources being returned (also tested via libral). Looks like the sysv provider doesn't play nicely with upstart.

$ root@dee8qjpx8rsqkk7:~/ral/bin# cat /etc/os-release
NAME="Ubuntu"
VERSION="14.04.2 LTS, Trusty Tahr"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 14.04.2 LTS"
VERSION_ID="14.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"

$ root@dee8qjpx8rsqkk7:~/ral/bin# ./ralsh
file::posix
group::groupadd
host::aug
mount::aug
package::apt
ssh_authorized_key::ssh_authorized_key
user::useradd

$ root@dee8qjpx8rsqkk7:~/ral/bin# ./ralsh service
unknown provider: 'service'
run 'ralsh' to see a list of all providers
@johnmccabe johnmccabe added the bug label Oct 9, 2017
@johnmccabe
Copy link
Contributor Author

Looks like it could be down to /etc/init.d/functions not existing on trusty, instead it uses /lib/lsb/init-functions. Working on a fix here.

@johnmccabe johnmccabe self-assigned this Oct 9, 2017
@johnmccabe
Copy link
Contributor Author

This warrants creating of a dedicated upstart provider unfortunately rather than trying to hack support via the sysv provider.

@johnmccabe
Copy link
Contributor Author

@lutter is this something you've already looked at in any form?

@lutter
Copy link
Contributor

lutter commented Oct 9, 2017

@johnmccabe no, I haven't looked at upstart yet

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants