jenkins is missing dependency on daemon
Bug #1257733 reported by
Noa Resare
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
jenkins (Ubuntu) |
Triaged
|
Low
|
Unassigned |
Bug Description
When installing jenkins on a fully updated vanilla 13.10 system and running /etc/init.d/jenkins status a line is printed claiming that /usr/bin/daemon is missing.
Steps to reproduce:
1. Uninstall packages jenkins and daemon on your fully updated minimal Ubuntu 13.10 system (dpkg -P jenkins deamon)
2. Install only jenkins: (apt-get install jenkins)
3. Attempt to run /etc/init.d/jenkins status
Expected outcome:
regular status output
Actual outcome:
the command prints the following:
daemon package not installed
/etc/init.
Version:
root@ubuntu:~# apt-cache policy jenkins |grep Insta
Installed: 1.509.2+dfsg-2
To post a comment you must log in.
Thanks for taking your time to report this issue and help making Ubuntu better.
I get the same error message when I attempt to run `/etc/init. d/jenkins status` after installing Jenkins on an out-of-the-box Ubuntu Trusty. daemon was not installed in advance nor was it pulled in along with the other dependencies.
I looked a bit into this and found that the Jenkins package in Debian [1] depends on daemon but after that package has been synced to Ubuntu, suddenly it doesn't [2]. There's also some other differences in the dependencies listed. Since they have the exact same version number they should be identical, so I investigated further.
I then checked the debian/control file to see what it listed. Among the dependencies for the binary jenkins package was "${jenkins- daemon- deps}" which sounded promising. This in turn seems to be defined in the file debian/ debian_ control_ vars which contains the following: daemon- deps= daemon, psmisc, net-tools, procps, psmisc
jenkins-
So I belive ${jenkins- daemon- deps} should be used as a variable/short-hand for adding those addiational dependencies, but when the package is built on Ubuntu it for some reason doesn't seem to happen.
(On another note, I'm not sure why psmisc is listed twice. )
[1] http:// packages. debian. org/unstable/ jenkins packages. ubuntu. com/trusty/ jenkins
[2] http://