Bug#401053: apache2: force-reload doesn't take 'runlevels' into account

2006-12-02 Thread Olaf van der Spek
Peter Samuelson wrote: [Olaf van der Spek] But where does it check whether the service is supposed to run in the current runlevel? I didn't see that check in the script itself. It doesn't. No init script does. That is the job of invoke-rc.d. invoke-rc.d decides whether to run the script or

Bug#401053: apache2: force-reload doesn't take 'runlevels' into account

2006-12-02 Thread Peter Samuelson
[Olaf van der Spek] invoke-rc.d decides whether to run the script or not, based on the current runlevel. invoke-rc.d always runs a script for 'reload' or 'force-reload' even if the runlevel doesn't include the service, but the same is _not_ true for 'start' or 'restart'. What's the reason

Bug#401053: apache2: force-reload doesn't take 'runlevels' into account

2006-12-02 Thread Olaf van der Spek
Peter Samuelson wrote: [Olaf van der Spek] invoke-rc.d decides whether to run the script or not, based on the current runlevel. invoke-rc.d always runs a script for 'reload' or 'force-reload' even if the runlevel doesn't include the service, but the same is _not_ true for 'start' or 'restart'.

Bug#401053: apache2: force-reload doesn't take 'runlevels' into account

2006-12-01 Thread Peter Samuelson
[Olaf van der Spek] I disabled apache2 in all runlevels with sysv-rc-conf. Start and restart work fine, force-reload doesn't. And since php5 uses force-reload... Right, should be fixed for the next upload. Status quo, 'force-reload' is equivalent to 'restart', which (correctly) starts the

Bug#401053: apache2: force-reload doesn't take 'runlevels' into account

2006-12-01 Thread Olaf van der Spek
Peter Samuelson wrote: [Olaf van der Spek] I disabled apache2 in all runlevels with sysv-rc-conf. Start and restart work fine, force-reload doesn't. And since php5 uses force-reload... Right, should be fixed for the next upload. Status quo, 'force-reload' is equivalent to 'restart', which

Bug#401053: apache2: force-reload doesn't take 'runlevels' into account

2006-12-01 Thread Peter Samuelson
[Olaf van der Spek] But where does it check whether the service is supposed to run in the current runlevel? I didn't see that check in the script itself. It doesn't. No init script does. That is the job of invoke-rc.d. invoke-rc.d decides whether to run the script or not, based on the

Bug#401053: apache2: force-reload doesn't take 'runlevels' into account

2006-11-30 Thread Olaf van der Spek
Package: apache2 Severity: normal Hi, I disabled apache2 in all runlevels with sysv-rc-conf. Start and restart work fine, force-reload doesn't. And since php5 uses force-reload... debian:~# invoke-rc.d apache2 start debian:~# invoke-rc.d apache2 start debian:~# invoke-rc.d apache2 restart