Opened 6 years ago

Closed 6 years ago

#37 closed defect (invalid)

"cereal-admin start" and "cereal-admin stop" hang on Ubuntu feisty

Reported by: dkg Owned by: jrollins
Priority: major Component: cereal
Keywords: Cc:
Sensitive:

Description

Some recent testing on an ubuntu feisty system indicate that a simple install of cereal leaves serious problems on those systems.

In particular, cereal-admin start foo hangs indefinitely.

Change History (1)

comment:1 Changed 6 years ago by dkg

  • Resolution set to invalid
  • Status changed from new to closed

This appears to be the case on gutsy, too. And it's related to ubuntu's broken version of runit, which doesn't play nice with upstart. In particular, runit expects init to handle changes in /etc/inittab, which upstart doesn't care about. This leaves the runit package in a non-functioning state on a system without sysvinit. (runit is traditionally packaged for debian, for which sysvinit is an Essential package, Priority: required, so runit doesn't need to state its dependency on that package directly)

Until ubuntu fixes this bug, you can get cereal running cleanly on a feisty or gutsy system by doing the following as root:

touch /etc/inittab
aptitude install runit
cat >/etc/event.d/runsvdir <<EOF
start on runlevel 2
start on runlevel 3
start on runlevel 4
start on runlevel 5
stop on shutdown
respawn
exec /usr/sbin/runsvdir-start
EOF
start runsvdir

(closing invalid because the bug is with ubuntu's packaging of runit, not cereal)

Note: See TracTickets for help on using tickets.