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

Bug#301400: apache2 is started upon package update



Martin Godisch said:
>
> apache2 is started upon package update even if it wasn't running before
> because /etc/rcx.d/S91apache2 was removed.

This shouldn't happen, as we use invoke-rc.d in our postinst, which checks
the current runlevel, and won't start apache2 unless the symlink is
present for that runlevel, as I understand it.

If you removed ALL the symlinks (including the K links), however, they
would be replaced on upgrade, and apache2 would be started.

Also, I suppose, if you don't have an executable /usr/sbin/invoke-rc.d,
then the init script will be called directly.

Do any of these situations match yours?

... Adam





Reply to: