Bug#1052116: initscripts: /etc/rcX.d symlinks not created

Lorenzo plorenzo at disroot.org
Tue Sep 19 08:33:29 BST 2023


Hi,

On Tue, 19 Sep 2023 07:29:45 +0100
Mark Hindley <mark at hindley.org.uk> wrote:

> Kevin,
> 
> Many thanks for reporting this.
> 
> I think this is an ordering issue.
> 
> On Mon, Sep 18, 2023 at 09:07:59PM -0500, Kevin Ruml wrote:
> [..]
> 
> > Setting up libudev1:i386 (254.3-1) ...
> > Setting up sysv-rc (3.08-1) ...
> > Setting up initscripts (3.08-1) ...
> > Setting up udev (254.3-1) ...
> 
> The udev postinst, which removes the update-rc.d symlinks is  run
> after the initscripts postinst which has created them.

One solution could be that udev does the cleanup only if initscripts
is not installed in the system; otherwise assume a take over from
initscripts package.
The removal bits in udev package could be guarded by something like

If ! dpkg -s initscripts >/dev/null ; then
	#remove udev 's sysv bits
fi

Lorenzo

> 
> Hmmm...
> 
> Mark
> 



More information about the Debian-init-diversity mailing list