Subject: bug#825: sysvinit-core: /sbin/init linked against a lib in /usr/lib

From: Jerome Benoit <[email-masked]>
Date: Wed, 03 Jan 2024 15:29:44 +0000

Package: sysvinit-core
Version: 3.06-4devuan3
Severity: normal

Dear Maintainer,

it appears that /sbin/init is linked against
/usr/lib/x86_64-linux-gnu/libpcre2-8.so.0 .

This prevents from booting without an initrd image
when `/` and `/usr` are mounted on different partitions.

An immediate solution is to place libpcre2 in the root
partion `/`, namely in /lib/<triplet> .

hth,
Jerome

-- System Information:
Distributor ID:	Devuan
Description:	Devuan GNU/Linux 5 (daedalus)
Release:	5
Codename:	daedalus
Architecture: x86_64

Kernel: Linux 6.1.0-15-amd64 (SMP w/24 CPU threads; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages sysvinit-core depends on:
ii  debconf [debconf-2.0]  1.5.82
ii  initscripts            3.06-4devuan3
ii  libc6                  2.36-9+deb12u3
ii  libselinux1            3.4-1+b6
ii  mount                  2.38.1-5devuan1+b1
ii  sysv-rc                3.06-4devuan3
ii  sysvinit-utils         3.06-4devuan3

Versions of packages sysvinit-core recommends:
pn  orphan-sysvinit-scripts  <none>

Versions of packages sysvinit-core suggests:
ii  bootlogd  3.06-4devuan3

-- debconf information:
  sysvinit/hurd-fix-inittab: