[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: stopped daemons starting again during upgrade



Hi Paul,

Paul Wise wrote:
[..] 
> I recently did an upgrade from lenny to squeeze. I did it in single
> user mode / runlevel 1 (with all the daemons stopped). I noted that
> during the upgrade various daemons were started again. IMO it is
> reasonable to expect that stopped daemons stay stopped during an
> upgrade, expecially in runlevel 1. Does anyone else agree? Is this a
> bug in each of the packages with a daemon or in the init system?
> 

I've been annoyed by that behaviour too.

Ben Hutchings wrote:
> invoke-rc.d should do the right thing in this case.  If the package is
> not using invoke-rc.d to restart daemons that's a bug in the package.
> If invoke-rc.d is not leaving daemons alone in run-level 1 that's a bug
> in it.

Then it's a bug in invoke-rc.d; on the php5 packages I wrote a workaround
that uses a file as a flag to indicate the previous state of apache.

Cheers,
Raphael Geissert



Reply to: