Ticket #97 (new defect)
cereal failing to destroy stopped sessions
| Reported by: | jrollins | Owned by: | jrollins |
|---|---|---|---|
| Priority: | major | Component: | cereal |
| Keywords: | Cc: |
Description
For some reason cereal is failing to destroy sessions. I have stopped a cereal session (chez), and then attempted to destroy it:
rukh:~ 0# cereal-admin destroy chez Really destroy session 'chez'? [Y|n]: Service cereal.chez removed, the service daemon received the TERM and CONT signals. Session 'chez' destroyed. rukh:~ 0#
but the runsv process for the session is still running, and runsvdir reported this log message twice:
rukh:~ 0# ps -eFH | grep cereal | grep chez root 2333 1 0 33 24 0 09:51 ? 00:00:00 runsvdir -P /etc/service log: ................................................................................................................................................................................................................................runsv cereal.chez: warning: unable to open supervise/stat.new: file does not exist?runsv cereal.chez: warning: unable to open log/supervise/stat.new: file does not exist?. root 2334 2333 0 27 24 0 09:51 ? 00:00:00 runsv cereal.chez rukh:~ 0#
The cereal session directory in /var/lib/cereal/sessions is gone. Is this a problem with the update-service --remove command in the destroy_session function?
Change History
Note: See
TracTickets for help on using
tickets.

