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

Bug#301400: apache2 is started upon package update



On Sat, Mar 26, 2005 at 15:57:29 +1100, Adam Conrad wrote:

> 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.

It happened. It also happened with the mysql-server package before, but
they fixed it now, I think.

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

No, I removed only the links in rc2.d and rc3.d, and they weren't
replaced.

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

I have one, current sid.

> Do any of these situations match yours?

No.

Kind regards,

Martin



Reply to: