git-daemon-run fails with "warning: git-daemon: unable to open supervise/ok: file does not exist"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
git-core (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
runit (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
Bug Description
Binary package hint: git-daemon-run
(Mon Oct 15 15:48:16) (jfm3@fs-rt1:~)
bash> sudo /etc/init.
warning: git-daemon: unable to open supervise/ok: file does not exist
(Mon Oct 15 15:48:58) (jfm3@fs-rt1:~)
bash> uname -a
Linux fs-rt1 2.6.20-16-generic #2 SMP Sun Sep 23 19:50:39 UTC 2007 i686 GNU/Linux
(Mon Oct 15 15:49:14) (jfm3@fs-rt1:~)
bash> dpkg -l git-daemon-run
Desired=
| Status=
|/ Err?=(none)
||/ Name Version Description
+++-===
ii git-daemon-run 1.5.2.5-2~feisty1 fast, scalable, distributed revision control system (git-daemon service)
Changed in runit: | |
status: | New → Confirmed |
On Gutsy:
# apt-get install git-daemon-run
Reading package lists... Done
Building dependency tree
Reading state information... Done
git-daemon-run is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up runit (1.6.0-1) ...
grep: /etc/inittab: No such file or directory
grep: /etc/inittab: No such file or directory
Adding SV inittab entry...
cp: cannot stat `/etc/inittab': No such file or directory
dpkg: error processing runit (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of git-daemon-run:
git-daemon-run depends on runit; however:
Package runit is not configured yet.
dpkg: error processing git-daemon-run (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
runit
git-daemon-run
E: Sub-process /usr/bin/dpkg returned an error code (1)
Then I did
#touch /etc/inittab
# dpkg-reconfigure runit
# dpkg-reconfigure git-daemon-run
warning: git-daemon: unable to open supervise/ok: file does not exist
#uname -a
Linux picasso 2.6.22-14-generic #1 SMP Sun Oct 14 23:05:12 GMT 2007 i686 GNU/Linux
# dpkg -l git-daemon-run Unknown/ Install/ Remove/ Purge/Hold Not/Installed/ Config- f/Unpacked/ Failed- cfg/Half- inst/t- aWait/T- pend /Hold/Reinst- required/ X=both- problems (Status,Err: uppercase=bad) ======= ====-== ======= =====-= ======= ======= ======= ======= ======= ======= =
Desired=
| Status=
|/ Err?=(none)
||/ Name Version Description
+++-===
ii git-daemon-run 1:1.5.2.5-2bui fast, scalable, distributed revision control