[Karmic] At system shutdown, init respawns statd after having killed it

Bug #499956 reported by Swâmi Petaramesh
46
This bug affects 8 people
Affects Status Importance Assigned to Milestone
sysvinit (Ubuntu)
Fix Released
Undecided
tjuliuxinghua
Nominated for Karmic by Swâmi Petaramesh

Bug Description

Binary package hint: upstart

Hi,

I've noticed several times on my Karmic system (message goes too fast to be precisely noted, but the contents are unambiguous) that, very close to the end of the shutdown process :

- init tells that it's respawning statd
- Then init tells that's its killing all remaining processes with -KILL
- Then init tells that it's respawning statd again

Soon after that, system shuts down or reboots.

It looks to me like init continues respawning processes "that usually should be respawned" even though it's in a shutdown state and has started killing remaining tasks first with -TERM, then with -KILL...

Clearly sort of a bug ;-)

Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

Already fixed in lucid (sysvinit ignores upstart jobs)

Changed in upstart (Ubuntu):
status: New → Fix Released
affects: upstart (Ubuntu) → sysvinit (Ubuntu)
Revision history for this message
m1st0 (m1st0) wrote :

How do I fix in Karmic? What changes do I need to make?

Revision history for this message
Deepankar Sharma (deepankar-sharma) wrote :

Scott can you point to how I can backport this fix? Currently I cannot shutdown my karmic installation at all, I have to manually hit the power switch to do a hard shutdown.

Revision history for this message
kapetr (kapetr) wrote :

I would like know too, how to fix it in Karmic.

What does mean "sysvinit ignores upstart job" ?

?? All symlinks to /lib/init/upstart-job in /etc/init.d do are ignored XOR just statd ??

If I run it manualy - e.g. "/etc/init.d/statd stop" - it seems to work, also why not when called after "poweroff" ?

Revision history for this message
nerdy_kid (nerdy-kid) wrote :

i would also appreciate a fix for this. Unfortunately i dont have any idea where to start.

Revision history for this message
tjuliuxinghua (tjuliuxinghua) wrote :

Hi.I also encountered a similar problem
Everytime i shutdown my Karmic system ,the monitor displays something as follows:
==============================
ubuntu9.10 liuxinghua-laptop tty1
liuxinghua-laptop login:init:statd main process(9789) killed by kill signal
init:statd main process ended respawning
* Reloading /etc/samba/smb.conf smbd only
* Deconfiguring network interfaces ...
* Deactivating swap ...
==============================

Changed in sysvinit (Ubuntu):
assignee: nobody → tjuliuxinghua (tjuliuxinghua)
mroe (mitchellroe-236)
Changed in sysvinit (Ubuntu):
status: Fix Released → Fix Committed
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.