[SRU] daemontools-run needs to work with upstart
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | daemontools (Ubuntu) |
Medium
|
Unassigned | ||
Bug Description
Binary package hint: daemontools-run
SRU-JUSTIFICATION:
With the original jaunty-packages, daemontools will fail to install as the postinst-script still relies on /etc/inittab to be there. As we use Upstart in Ubuntu, the script fails:
# dpkg -i daemontools-
[...]
Adding SV inittab entry...
cp: cannot stat `/etc/inittab': No such file or directory
dpkg: error processing daemontools-run (--install):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
daemontools-run
All users will encounter this problem, making this package effectively unusable.
SRU-TESTCASE:
Install daemontools-run from the repositories. It will fail (see above).
Now install daemontools-run from ppa https:/
This will install the program and register it with upstart.
SRU-REGRESSION-
Non-existent, it does not work now, what worse can it get? ;-)
Related branches
| Cory Wright (corywright) wrote : | #1 |
| Changed in daemontools: | |
| status: | New → Confirmed |
| Myoukochou (myoukochou) wrote : | #2 |
| vitaminmoo (vitaminmoo) wrote : | #3 |
The test line in run.eventd needs to use "test -f", not "test -d".
| Changed in daemontools: | |
| importance: | Undecided → Medium |
| status: | Confirmed → Triaged |
| Eric Williams (wd6cmu) wrote : | #4 |
Can someone who has applied this patch please post details of the procedure? I can't figure out where boot.eventd and run.eventd are supposed to go. Thanks!
| Claudia (claudia-sol-es) wrote : | #5 |
Es una pena que sólo se escriba en ingles... :-(
Speak spanish..?
--
Este mensaje ha sido analizado por MailScanner
en busca de virus y otros contenidos peligrosos,
y se considera que está limpio.
MailScanner agradece a transtec Computers por su apoyo.
| sharkito (alvaro-diaz) wrote : | #7 |
Si verdad.. =)
--
Este mensaje ha sido analizado por MailScanner
en busca de virus y otros contenidos peligrosos,
y se considera que está limpio.
MailScanner agradece a transtec Computers por su apoyo.
| sharkito (alvaro-diaz) wrote : | #8 |
Siverdad..!!! =)
--
Este mensaje ha sido analizado por MailScanner
en busca de virus y otros contenidos peligrosos,
y se considera que está limpio.
MailScanner agradece a transtec Computers por su apoyo.
I'm extremely confused by this thread.
First question, is this bug fixed?
Secondly, if so, how do you apply this patch???
I'm new to Linux, and I'm just not able to get anywhere from your previous comments and this bug is stalling me.
FK
| Changed in daemontools (Ubuntu): | |
| milestone: | none → ubuntu-9.04 |
| Jamin W. Collins (jcollins) wrote : | #10 |
This bug is still present in 9.04.
Selecting previously deselected package daemontools-run.
(Reading database ... 130464 files and directories currently installed.)
Unpacking daemontools-run (from .../daemontools
Processing triggers for man-db ...
Setting up daemontools-run (1:0.76-3) ...
grep: /etc/inittab: No such file or directory
grep: /etc/inittab: No such file or directory
grep: /etc/inittab: No such file or directory
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 daemontools-run (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
daemontools-run
E: Sub-process /usr/bin/dpkg returned an error code (1)
| Changed in daemontools (Ubuntu): | |
| status: | Triaged → Confirmed |
| Andreas Moog (ampelbein) wrote : | #11 |
debdiff attached:
daemontools (1:0.76-3ubuntu1) jaunty; urgency=low
* debian/control
- updated description of daemontools-run
* debian/
- updated to use upstart (LP: #253465)
* debian/rules
- install svscan-file to /etc/event.d
* debian/svscan
- service-file for upstart
-- Andreas Moog <email address hidden> Mon, 27 Apr 2009 03:23:53 +0200
| Andreas Moog (ampelbein) wrote : | #12 |
attaching debdiff with -proposed as distribution.
| Changed in daemontools (Ubuntu): | |
| milestone: | ubuntu-9.04 → jaunty-updates |
| Andreas Moog (ampelbein) wrote : | #13 |
I have added a package containing the changes to my ppa, can you try and give feedback here? Thanks. Url: https:/
| Jamin W. Collins (jcollins) wrote : | #14 |
I rebuilt from the sources last night using the debdiff and it appears to install fine. Haven't actually tried using it yet as I moved the daemon I was considering running in it into upstart already.
| summary: |
- daemontools-run needs to work with upstart + [SRU] daemontools-run needs to work with upstart |
| description: | updated |
| Ken Sharp (kennybobs) wrote : | #15 |
https:/
Works as a workaround.
How hard can it be to fix this? It doesn't work, just change the damned package.
| tags: | added: install jnms |
| Arto Jääskeläinen (ajaaskel) wrote : | #16 |
I installed daemontools_
| m3onh0x84 (quylaokame) wrote : Re: [Bug 253465] Re: [SRU] daemontools-run needs to work with upstart | #18 |
thanks so much, because I upgrade to ubuntu 9.10 so soon. And install so
much many security application not carefully (I use synaptic install)
| Level15 (ejortegau) wrote : | #19 |
Hi:
Any chance this makes it to the official repos?
Thanks,
E.
On Sat, May 9, 2009 at 5:27 AM, m3onh0x84 <email address hidden> wrote:
> thanks so much, because I upgrade to ubuntu 9.10 so soon. And install so
> much many security application not carefully (I use synaptic install)
>
> --
> [SRU] daemontools-run needs to work with upstart
> https:/
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “daemontools” source package in Ubuntu: Confirmed
>
> Bug description:
> Binary package hint: daemontools-run
>
> SRU-JUSTIFICATION:
>
> With the original jaunty-packages, daemontools will fail to install as the postinst-script still relies on /etc/inittab to be there. As we use Upstart in Ubuntu, the script fails:
>
> # dpkg -i daemontools-
> [...]
> Adding SV inittab entry...
> cp: cannot stat `/etc/inittab': No such file or directory
>
> dpkg: error processing daemontools-run (--install):
> subprocess post-installation script returned error exit status 1
> Errors were encountered while processing:
> daemontools-run
>
> All users will encounter this problem, making this package effectively unusable.
>
> SRU-TESTCASE:
>
> Install daemontools-run from the repositories. It will fail (see above).
> Now install daemontools-run from ppa https:/
> This will install the program and register it with upstart.
>
> SRU-REGRESSION-
>
> Non-existent, it does not work now, what worse can it get? ;-)
>
>
--
Eduardo J. Ortega U.
| Naresh V (nareshov) wrote : | #20 |
daemontools 1:0.76-
daemontools-run 1:0.76-
| Level15 (ejortegau) wrote : | #21 |
Any chance this is going into official repositories?
On Tue, Jul 14, 2009 at 7:37 AM, Naresh V<email address hidden> wrote:
> daemontools 1:0.76-
> daemontools-run 1:0.76-
>
> --
> [SRU] daemontools-run needs to work with upstart
> https:/
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “daemontools” package in Ubuntu: Confirmed
>
> Bug description:
> Binary package hint: daemontools-run
>
> SRU-JUSTIFICATION:
>
> With the original jaunty-packages, daemontools will fail to install as the postinst-script still relies on /etc/inittab to be there. As we use Upstart in Ubuntu, the script fails:
>
> # dpkg -i daemontools-
> [...]
> Adding SV inittab entry...
> cp: cannot stat `/etc/inittab': No such file or directory
>
> dpkg: error processing daemontools-run (--install):
> subprocess post-installation script returned error exit status 1
> Errors were encountered while processing:
> daemontools-run
>
> All users will encounter this problem, making this package effectively unusable.
>
> SRU-TESTCASE:
>
> Install daemontools-run from the repositories. It will fail (see above).
> Now install daemontools-run from ppa https:/
> This will install the program and register it with upstart.
>
> SRU-REGRESSION-
>
> Non-existent, it does not work now, what worse can it get? ;-)
>
>
--
Eduardo J. Ortega U.
| tags: | added: verification-done |
| Eduardo Romero (foxteck) wrote : | #22 |
As of 09/17/2009 this is still an issue. Brand new Ubuntu 9.04 Server:
Setting up daemontools-run (1:0.76-3) ...
grep: /etc/inittab: No such file or directory
grep: /etc/inittab: No such file or directory
grep: /etc/inittab: No such file or directory
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 daemontools-run (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
daemontools-run
E: Sub-process /usr/bin/dpkg returned an error code (1)
| Scott Kitterman (kitterman) wrote : | #23 |
Packages have to be fixed in the development release first. I'm just uploaded this fix to Karmic.
| Launchpad Janitor (janitor) wrote : | #24 |
This bug was fixed in the package daemontools - 1:0.76-3ubuntu1
---------------
daemontools (1:0.76-3ubuntu1) karmic; urgency=low
* debian/control
- updated description of daemontools-run
* debian/
- updated to use upstart (LP: #253465)
* debian/rules
- install svscan-file to /etc/event.d
* debian/svscan
- service-file for upstart
-- Andreas Moog <email address hidden> Mon, 27 Apr 2009 03:23:53 +0200
| Changed in daemontools (Ubuntu): | |
| status: | Confirmed → Fix Released |
Still an issue on Ubuntu server 9.04.
Any solutions/fixes ?
| Lasse Larsen (lasselarsendk) wrote : | #26 |
No.
Has upgraded to 10.04! - That works perfect.
Thanks.
Lasse
2010/5/25 Vincent Jauneau
<<email address hidden>
>
> Still an issue on Ubuntu server 9.04.
>
> Any solutions/fixes ?
>
> --
> [SRU] daemontools-run needs to work with upstart
> https:/
> You received this bug notification because you are a direct subscriber
> of a duplicate bug.
>
| Hauke Lampe (hauke) wrote : | #27 |
On 05/25/2010 07:21 PM, Vincent Jauneau wrote:
> Still an issue on Ubuntu server 9.04.
> Any solutions/fixes ?
Get the source package for 9.10 and recompile it. Worked for me.
Or use the binary package from my PPA:
daemontools - 1:0.76-
https:/
Hauke.
| Kim Tyler (ktyler) wrote : | #28 |
Not a problem for me. In any case, I'm now with lucid on everything.
Thanks
On 26/05/10 03:21, Vincent Jauneau wrote:
> Still an issue on Ubuntu server 9.04.
>
> Any solutions/fixes ?
>
>


Change the /command/svscanboot in boot.eventd to /usr/bin/ svscanboot.
For 8.10 final they've not gone with djb's unorthodox directory structure, but instead they've put the binaries under /usr/bin — the /service directory is under /etc/service but is NOT made by the package yet, so svc -u (or ln -s) to there when you want to start something.