Package: openrc Version: 0.63.3-1 Severity: important Tags: patch X-Debbugs-Cc: [email protected],
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Hi Mark,
as discussed on IRC:
14:17 werdahias | LeePen: just found out the hard way that mixing
openrc with a newer librc leads to an unbootable system
14:18 werdahias | so maybe that should be a {binary:Version} depends
14:20 werdahias | because it Depends: librc1t64 (>= 0.63.3), but if
you install 0.64 or greater the system will not boot
14:22 ... Irssi: Join to #debian-init was synced in 376 secs
14:32 navi | are the openrc and librc binaries not being taken
from the same build?
14:32 werdahias | well, the version constraint allows installing a
higher version, maybe that should be a = rather than >=
14:39 hephaistor | if libraries are installed, it is generally assumed
they are compatible until they bump the soname
14:39 hephaistor | if librc has no use other than to support openrc, it
could be moved into the openrc package even (I’ve seen packages do that)
14:39 hephaistor | otherwise it needs a = because partial upgrades are
supported
14:40 navi | i know of a couple more packages that use librc, i
don't know if any of them are in debian
14:39 werdahias | I wanted to eventually package the plymouth plugin
which uses librc
14:41 navi | all other distros ship openrc binaries and librc on
the same package
14:41 navi | maybe i should look into this tbh, even if we can't
fix it, to know going forward
14:41 werdahias | imo the issue is that openrc *must* depend on the
same version of librc, and that can be fixed on the packaging side
14:42 navi | at the moment it's a must
14:43 navi | but i want to make openrc actually 1.0 soon, and by
that point on, semver and soversion should be the actual limitors
14:43 navi | well, "soon" is, about one or two years
14:43 werdahias | that would be very cool
Attached is a patch that facilitates this:
...
Depends: insserv, mount, librc1t64 (= 0.63.3-4),
...
best,
werdahias
- -- System Information:
Debian Release: forky/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 7.0.7+deb14-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: OpenRC (via /run/openrc), PID 1: openrc-init
LSM: AppArmor: enabled
Versions of packages openrc depends on:
ii insserv 1.27.0-1
ii libaudit1 1:4.2.1-1
ii libc6 2.43-7
ii libcap2 1:2.78-1+b1
ii libeinfo1 0.63.3-1
ii libpam0g 1.7.0-8
ii librc1t64 0.63.3-1
ii libselinux1 3.11-2.1
ii mount 2.42.4-1
openrc recommends no packages.
Versions of packages openrc suggests:
pn policycoreutils <none>
ii sysvinit-core 3.18-1
- -- no debconf information
-----BEGIN PGP SIGNATURE-----
iIsEARYKADMWIQQUWTv/Sl6/b+DpcW7svtu2B7myvgUCasPQZhUcd2VyZGFoaWFz
QGRlYmlhbi5vcmcACgkQ7L7btge5sr70MgEAhpcoD30Wq00+FbTk8qIV3WAGuAlp
y7V1j1+IS68HCNQA+wbX6NQYIqoePU+FQbMtUNSfCkiF5ees1ZHWiV7QAc8B
=lq7d
-----END PGP SIGNATURE-----
0001-d-control-Let-openrc-explicitly-depend-on-the-same-l.patch
Description: application/mbox

