#940965 - sysvinit-core lacks Protected: yes (original) (raw)

Debian Bug report logs - #940965

sysvinit-core lacks Protected: yes

version graph

Reported by: Simon Richter sjr@debian.org

Date: Sun, 22 Sep 2019 18:09:02 UTC

Severity: normal

Fixed in version sysvinit/3.14-2

Done: Mark Hindley leepen@debian.org

Bug is archived. No further changes may be made.

Display info messages


Report forwardedto debian-bugs-dist@lists.debian.org, sjr@debian.org, APT Development Team <deity@lists.debian.org>:
Bug#940965; Package apt. (Sun, 22 Sep 2019 18:09:05 GMT) (full text, mbox, link).


Acknowledgement sentto Simon Richter <sjr@debian.org>:
New Bug report received and forwarded. Copy sent to sjr@debian.org, APT Development Team <deity@lists.debian.org>. (Sun, 22 Sep 2019 18:09:05 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

Package: apt Version: 1.8.2 Severity: normal

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512

Hi,

apt's resolver does not find a working solution for installing both libgtk-3-0 and sysvinit-core, or for installing libgtk-3-0 when systemd-sysv has a negative score in preferences. Aptitude resolves both of these by favouring dbus-x11 over dbus-user-session.

When presented manually with this solution, apt accepts it as valid.

Simon

APT ""; APT::Architecture "amd64"; APT::Build-Essential ""; APT::Build-Essential:: "build-essential"; APT::Install-Recommends "1"; APT::Install-Suggests "0"; APT::Sandbox ""; APT::Sandbox::User "_apt"; APT::Authentication ""; APT::Authentication::TrustCDROM "true"; APT::NeverAutoRemove ""; APT::NeverAutoRemove:: "^firmware-linux."; APT::NeverAutoRemove:: "^linux-firmware$"; APT::NeverAutoRemove:: "^linux-image-[a-z0-9]$"; APT::NeverAutoRemove:: "^linux-image-[a-z0-9]-[a-z0-9]$"; APT::NeverAutoRemove:: "^linux-image-4.19.0-5-amd64$"; APT::NeverAutoRemove:: "^linux-headers-4.19.0-5-amd64$"; APT::NeverAutoRemove:: "^linux-image-extra-4.19.0-5-amd64$"; APT::NeverAutoRemove:: "^linux-modules-4.19.0-5-amd64$"; APT::NeverAutoRemove:: "^linux-modules-extra-4.19.0-5-amd64$"; APT::NeverAutoRemove:: "^linux-signed-image-4.19.0-5-amd64$"; APT::NeverAutoRemove:: "^linux-image-unsigned-4.19.0-5-amd64$"; APT::NeverAutoRemove:: "^kfreebsd-image-4.19.0-5-amd64$"; APT::NeverAutoRemove:: "^kfreebsd-headers-4.19.0-5-amd64$"; APT::NeverAutoRemove:: "^gnumach-image-4.19.0-5-amd64$"; APT::NeverAutoRemove:: "^.-modules-4.19.0-5-amd64$"; APT::NeverAutoRemove:: "^.-kernel-4.19.0-5-amd64$"; APT::NeverAutoRemove:: "^linux-backports-modules-.-4.19.0-5-amd64$"; APT::NeverAutoRemove:: "^linux-modules-.-4.19.0-5-amd64$"; APT::NeverAutoRemove:: "^linux-tools-4.19.0-5-amd64$"; APT::NeverAutoRemove:: "^linux-cloud-tools-4.19.0-5-amd64$"; APT::NeverAutoRemove:: "^linux-buildinfo-4.19.0-5-amd64$"; APT::NeverAutoRemove:: "^linux-source-4.19.0-5-amd64$"; APT::VersionedKernelPackages ""; APT::VersionedKernelPackages:: "linux-image"; APT::VersionedKernelPackages:: "linux-headers"; APT::VersionedKernelPackages:: "linux-image-extra"; APT::VersionedKernelPackages:: "linux-modules"; APT::VersionedKernelPackages:: "linux-modules-extra"; APT::VersionedKernelPackages:: "linux-signed-image"; APT::VersionedKernelPackages:: "linux-image-unsigned"; APT::VersionedKernelPackages:: "kfreebsd-image"; APT::VersionedKernelPackages:: "kfreebsd-headers"; APT::VersionedKernelPackages:: "gnumach-image"; APT::VersionedKernelPackages:: ".-modules"; APT::VersionedKernelPackages:: ".-kernel"; APT::VersionedKernelPackages:: "linux-backports-modules-."; APT::VersionedKernelPackages:: "linux-modules-."; APT::VersionedKernelPackages:: "linux-tools"; APT::VersionedKernelPackages:: "linux-cloud-tools"; APT::VersionedKernelPackages:: "linux-buildinfo"; APT::VersionedKernelPackages:: "linux-source"; APT::Never-MarkAuto-Sections ""; APT::Never-MarkAuto-Sections:: "metapackages"; APT::Never-MarkAuto-Sections:: "contrib/metapackages"; APT::Never-MarkAuto-Sections:: "non-free/metapackages"; APT::Never-MarkAuto-Sections:: "restricted/metapackages"; APT::Never-MarkAuto-Sections:: "universe/metapackages"; APT::Never-MarkAuto-Sections:: "multiverse/metapackages"; APT::Move-Autobit-Sections ""; APT::Move-Autobit-Sections:: "oldlibs"; APT::Move-Autobit-Sections:: "contrib/oldlibs"; APT::Move-Autobit-Sections:: "non-free/oldlibs"; APT::Move-Autobit-Sections:: "restricted/oldlibs"; APT::Move-Autobit-Sections:: "universe/oldlibs"; APT::Move-Autobit-Sections:: "multiverse/oldlibs"; APT::Update ""; APT::Update::Post-Invoke ""; APT::Update::Post-Invoke:: "[ ! -x /usr/bin/debtags ] || debtags update || true"; APT::Default-Release "buster"; APT::Architectures ""; APT::Architectures:: "amd64"; APT::Architectures:: "i386"; APT::Architectures:: "armhf"; APT::Compressor ""; APT::Compressor::. ""; APT::Compressor::.::Name "."; APT::Compressor::.::Extension ""; APT::Compressor::.::Binary ""; APT::Compressor::.::Cost "0"; APT::Compressor::zstd ""; APT::Compressor::zstd::Name "zstd"; APT::Compressor::zstd::Extension ".zst"; APT::Compressor::zstd::Binary "false"; APT::Compressor::zstd::Cost "60"; APT::Compressor::lz4 ""; APT::Compressor::lz4::Name "lz4"; APT::Compressor::lz4::Extension ".lz4"; APT::Compressor::lz4::Binary "false"; APT::Compressor::lz4::Cost "50"; APT::Compressor::gzip ""; APT::Compressor::gzip::Name "gzip"; APT::Compressor::gzip::Extension ".gz"; APT::Compressor::gzip::Binary "gzip"; APT::Compressor::gzip::Cost "100"; APT::Compressor::gzip::CompressArg ""; APT::Compressor::gzip::CompressArg:: "-6n"; APT::Compressor::gzip::UncompressArg ""; APT::Compressor::gzip::UncompressArg:: "-d"; APT::Compressor::xz ""; APT::Compressor::xz::Name "xz"; APT::Compressor::xz::Extension ".xz"; APT::Compressor::xz::Binary "xz"; APT::Compressor::xz::Cost "200"; APT::Compressor::xz::CompressArg ""; APT::Compressor::xz::CompressArg:: "-6"; APT::Compressor::xz::UncompressArg ""; APT::Compressor::xz::UncompressArg:: "-d"; APT::Compressor::bzip2 ""; APT::Compressor::bzip2::Name "bzip2"; APT::Compressor::bzip2::Extension ".bz2"; APT::Compressor::bzip2::Binary "bzip2"; APT::Compressor::bzip2::Cost "300"; APT::Compressor::bzip2::CompressArg ""; APT::Compressor::bzip2::CompressArg:: "-6"; APT::Compressor::bzip2::UncompressArg ""; APT::Compressor::bzip2::UncompressArg:: "-d"; APT::Compressor::lzma ""; APT::Compressor::lzma::Name "lzma"; APT::Compressor::lzma::Extension ".lzma"; APT::Compressor::lzma::Binary "xz"; APT::Compressor::lzma::Cost "400"; APT::Compressor::lzma::CompressArg ""; APT::Compressor::lzma::CompressArg:: "--format=lzma"; APT::Compressor::lzma::CompressArg:: "-6"; APT::Compressor::lzma::UncompressArg ""; APT::Compressor::lzma::UncompressArg:: "--format=lzma"; APT::Compressor::lzma::UncompressArg:: "-d"; Dir "/"; Dir::State "var/lib/apt"; Dir::State::lists "lists/"; Dir::State::cdroms "cdroms.list"; Dir::State::extended_states "extended_states"; Dir::State::status "/var/lib/dpkg/status"; Dir::Cache "var/cache/apt"; Dir::Cache::archives "archives/"; Dir::Cache::srcpkgcache "srcpkgcache.bin"; Dir::Cache::pkgcache "pkgcache.bin"; Dir::Etc "etc/apt"; Dir::Etc::sourcelist "sources.list"; Dir::Etc::sourceparts "sources.list.d"; Dir::Etc::main "apt.conf"; Dir::Etc::netrc "auth.conf"; Dir::Etc::netrcparts "auth.conf.d"; Dir::Etc::parts "apt.conf.d"; Dir::Etc::preferences "preferences"; Dir::Etc::preferencesparts "preferences.d"; Dir::Etc::trusted "trusted.gpg"; Dir::Etc::trustedparts "trusted.gpg.d"; Dir::Bin ""; Dir::Bin::methods "/usr/lib/apt/methods"; Dir::Bin::solvers ""; Dir::Bin::solvers:: "/usr/lib/apt/solvers"; Dir::Bin::planners ""; Dir::Bin::planners:: "/usr/lib/apt/planners"; Dir::Bin::dpkg "/usr/bin/dpkg"; Dir::Bin::gzip "/bin/gzip"; Dir::Bin::bzip2 "/bin/bzip2"; Dir::Bin::xz "/usr/bin/xz"; Dir::Bin::lz4 "/usr/bin/lz4"; Dir::Bin::zstd "/usr/bin/zstd"; Dir::Bin::lzma "/usr/bin/xz"; Dir::Media ""; Dir::Media::MountPath "/media/cdrom"; Dir::Log "var/log/apt"; Dir::Log::Terminal "term.log"; Dir::Log::History "history.log"; Dir::Log::Planner "eipp.log.xz"; Dir::Ignore-Files-Silently ""; Dir::Ignore-Files-Silently:: "~$"; Dir::Ignore-Files-Silently:: ".disabled$"; Dir::Ignore-Files-Silently:: ".bak$"; Dir::Ignore-Files-Silently:: ".dpkg-[a-z]+$"; Dir::Ignore-Files-Silently:: ".ucf-[a-z]+$"; Dir::Ignore-Files-Silently:: ".save$"; Dir::Ignore-Files-Silently:: ".orig$"; Dir::Ignore-Files-Silently:: ".distUpgrade$"; Acquire ""; Acquire::AllowInsecureRepositories "0"; Acquire::AllowWeakRepositories "0"; Acquire::AllowDowngradeToInsecureRepositories "0"; Acquire::cdrom ""; Acquire::cdrom::mount "/media/cdrom"; Acquire::IndexTargets ""; Acquire::IndexTargets::deb ""; Acquire::IndexTargets::deb::Packages ""; Acquire::IndexTargets::deb::Packages::MetaKey "$(COMPONENT)/binary-$(ARCHITECTURE)/Packages"; Acquire::IndexTargets::deb::Packages::flatMetaKey "Packages"; Acquire::IndexTargets::deb::Packages::ShortDescription "Packages"; Acquire::IndexTargets::deb::Packages::Description "$(RELEASE)/$(COMPONENT) $(ARCHITECTURE) Packages"; Acquire::IndexTargets::deb::Packages::flatDescription "$(RELEASE) Packages"; Acquire::IndexTargets::deb::Packages::Optional "0"; Acquire::IndexTargets::deb::Translations ""; Acquire::IndexTargets::deb::Translations::MetaKey "$(COMPONENT)/i18n/Translation-$(LANGUAGE)"; Acquire::IndexTargets::deb::Translations::flatMetaKey "$(LANGUAGE)"; Acquire::IndexTargets::deb::Translations::ShortDescription "Translation-$(LANGUAGE)"; Acquire::IndexTargets::deb::Translations::Description "$(RELEASE)/$(COMPONENT) Translation-$(LANGUAGE)"; Acquire::IndexTargets::deb::Translations::flatDescription "$(RELEASE) Translation-$(LANGUAGE)"; Acquire::IndexTargets::deb-src ""; Acquire::IndexTargets::deb-src::Sources ""; Acquire::IndexTargets::deb-src::Sources::MetaKey "$(COMPONENT)/source/Sources"; Acquire::IndexTargets::deb-src::Sources::flatMetaKey "Sources"; Acquire::IndexTargets::deb-src::Sources::ShortDescription "Sources"; Acquire::IndexTargets::deb-src::Sources::Description "$(RELEASE)/$(COMPONENT) Sources"; Acquire::IndexTargets::deb-src::Sources::flatDescription "$(RELEASE) Sources"; Acquire::IndexTargets::deb-src::Sources::Optional "0"; Acquire::Changelogs ""; Acquire::Changelogs::URI ""; Acquire::Changelogs::URI::Origin ""; Acquire::Changelogs::URI::Origin::Debian "https://metadata.ftp-master.debian.org/changelogs/@CHANGEPATH@_changelog"; Acquire::Changelogs::URI::Origin::Ubuntu "https://changelogs.ubuntu.com/changelogs/pool/@CHANGEPATH@/changelog"; Acquire::Changelogs::AlwaysOnline ""; Acquire::Changelogs::AlwaysOnline::Origin ""; Acquire::Changelogs::AlwaysOnline::Origin::Ubuntu "1"; Acquire::Languages ""; Acquire::Languages:: "en"; Acquire::Languages:: "none"; Acquire::Languages:: "de"; Acquire::Languages:: "de_DE"; Acquire::CompressionTypes ""; Acquire::CompressionTypes::xz "xz"; Acquire::CompressionTypes::bz2 "bzip2"; Acquire::CompressionTypes::lzma "lzma"; Acquire::CompressionTypes::gz "gzip"; Acquire::CompressionTypes::lz4 "lz4"; Acquire::CompressionTypes::zst "zstd"; DPkg ""; DPkg::Path "/usr/sbin:/usr/bin:/sbin:/bin"; DPkg::Pre-Install-Pkgs ""; DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true"; Binary "apt-config"; Binary::apt ""; Binary::apt::APT ""; Binary::apt::APT::Color "1"; Binary::apt::APT::Cache ""; Binary::apt::APT::Cache::Show ""; Binary::apt::APT::Cache::Show::Version "2"; Binary::apt::APT::Cache::AllVersions "0"; Binary::apt::APT::Cache::ShowVirtuals "1"; Binary::apt::APT::Cache::Search ""; Binary::apt::APT::Cache::Search::Version "2"; Binary::apt::APT::Cache::ShowDependencyType "1"; Binary::apt::APT::Cache::ShowVersion "1"; Binary::apt::APT::Get ""; Binary::apt::APT::Get::Upgrade-Allow-New "1"; Binary::apt::APT::Get::Update ""; Binary::apt::APT::Get::Update::InteractiveReleaseInfoChanges "1"; Binary::apt::APT::Cmd ""; Binary::apt::APT::Cmd::Show-Update-Stats "1"; Binary::apt::APT::Keep-Downloaded-Packages "0"; Binary::apt::DPkg ""; Binary::apt::DPkg::Progress-Fancy "1"; CommandLine ""; CommandLine::AsString "apt-config dump";

Package: systemd-sysv Pin: release o=Debian Pin-Priority: -100

deb http://ftp.de.debian.org/debian buster main contrib non-free deb-src http://ftp.de.debian.org/debian buster main contrib non-free

deb http://security.debian.org/ buster/updates main non-free deb-src http://security.debian.org/ buster/updates main

deb http://ftp.de.debian.org/debian buster-updates main non-free deb-src http://ftp.de.debian.org/debian buster-updates main

deb http://ftp.debian.org/debian buster-backports main

Kernel: Linux 4.19.0-5-amd64 (SMP w/8 CPU cores) Kernel taint flags: TAINT_WARN Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init) LSM: AppArmor: enabled

Versions of packages apt depends on: ii adduser 3.118 ii debian-archive-keyring 2019.1 ii gpgv 2.2.12-1 ii libapt-pkg5.0 1.8.2 ii libc6 2.28-10 ii libgcc1 1:8.3.0-6 ii libgnutls30 3.6.7-4 ii libseccomp2 2.3.3-4 ii libstdc++6 8.3.0-6

Versions of packages apt recommends: ii ca-certificates 20190110

Versions of packages apt suggests: pn apt-doc ii aptitude 0.8.11-7 ii dpkg-dev 1.19.7 ii gnupg 2.2.12-1 ii gnupg2 2.2.12-1 ii powermgmt-base 1.34

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEtjuqOJSXmNjSiX3Tfr04e7CZCBEFAl2Ht7wACgkQfr04e7CZ CBHKUQgAjAGI3bG5GIdNR5s4rremY92u8Gerxo3Qmv7VCWEQSXEYl5pdfHkxdn5W WvYsaYCQDA/j792HZV+73JP/h5wA/qtV8+61Ifvo4YG9hc7SSb1T+uBqT8JeprU7 xHO5s9MBQDqziecFAllUldp0snSgfQTTK6Cd6QceQXo6Nxg+/B7UKRN7fnGBdaaI rU4fk3QFGIMmYXmVG/mjz9LEC3bsVoXef6uVYpp+NvOFcRoYWs3RFRAUrJSw4jCv DJkeKAEO+cxzkc0fS12k/s7qqNEZ1sVY0b0aKVmmBhu5zFFEB8lc/5m1rRcrzAFx 6Bxj+5DA4+BeL8ZVnik8YavxYVK5hw== =zlhJ -----END PGP SIGNATURE-----


Information forwardedto debian-bugs-dist@lists.debian.org, APT Development Team <deity@lists.debian.org>:
Bug#940965; Package apt. (Wed, 27 May 2020 22🔞02 GMT) (full text, mbox, link).


Acknowledgement sentto Sean Whitton <spwhitton@spwhitton.name>:
Extra info received and forwarded to list. Copy sent to APT Development Team <deity@lists.debian.org>. (Wed, 27 May 2020 22🔞02 GMT) (full text, mbox, link).


Message #10 received at 940965@bugs.debian.org (full text, mbox, reply):

[Message part 1 (text/plain, inline)]

Hello,

On Sun 22 Sep 2019 at 08:04PM +02, Simon Richter wrote:

apt's resolver does not find a working solution for installing both libgtk-3-0 and sysvinit-core, or for installing libgtk-3-0 when systemd-sysv has a negative score in preferences. Aptitude resolves both of these by favouring dbus-x11 over dbus-user-session.

When presented manually with this solution, apt accepts it as valid.

The problematic dependency chain is this:

libgtk-3-0 -> libgtk-3-common -> dconf-gsettings-backend -> dconf-service -> default-dbus-session-bus | dbus-session-bus

dbus-x11 Provides: dbus-session-bus, but apt prefers to replace sysvinit-core with systemd rather than just install dbus-x11.

One way to reproduce this problem, in buster or sid:

  1. clean chroot
  2. apt-get install sysvinit-core
  3. apt-get install emacs

If you install dbus-x11 right before attempting to install Emacs, apt will not attempt the init system replacement.

-- Sean Whitton

[signature.asc (application/pgp-signature, inline)]


Information forwardedto debian-bugs-dist@lists.debian.org, APT Development Team <deity@lists.debian.org>:
Bug#940965; Package apt. (Tue, 19 Nov 2024 19:39:02 GMT) (full text, mbox, link).


Acknowledgement sentto Ian Jackson <ijackson@chiark.greenend.org.uk>:
Extra info received and forwarded to list. Copy sent to APT Development Team <deity@lists.debian.org>. (Tue, 19 Nov 2024 19:39:02 GMT) (full text, mbox, link).


Message #15 received at 940965@bugs.debian.org (full text, mbox, reply):

Control: close 1087296

Thanks to the systemd maintainers for relaxing the dependency in systemd-ukify. I can now install diffoscope in sid without apt trying to change the init system.

FTR I still need to explicitly specify:

apt install diffoscope sysvinit-core colord

since apt fails to observe that polkitd and therefore colord are in fact installable. But it works when I insist. That seems to be a bug in apt, probably related to #940965. The best workaround is to use apt preferences pinning as recommneded in https://wiki.debian.org/Init#Changing_the_init_system_-_at_installation_time

-- Ian Jackson ijackson@chiark.greenend.org.uk These opinions are my own.

Pronouns: they/he. If I emailed you from @fyvzl.net or @evade.org.uk, that is a private address which bypasses my fierce spamfilter.


Information forwardedto debian-bugs-dist@lists.debian.org, APT Development Team <deity@lists.debian.org>:
Bug#940965; Package apt. (Sun, 16 Feb 2025 11:27:01 GMT) (full text, mbox, link).


Acknowledgement sentto Julian Andres Klode <jak@debian.org>:
Extra info received and forwarded to list. Copy sent to APT Development Team <deity@lists.debian.org>. (Sun, 16 Feb 2025 11:27:01 GMT) (full text, mbox, link).


Message #20 received at 940965@bugs.debian.org (full text, mbox, reply):

[Message part 1 (text/plain, inline)]

Control: reassign -1 sysvinit-core Control: retitle -1 sysvinit-core lacks Protected: yes

On Wed, May 27, 2020 at 03:14:59PM -0700, Sean Whitton wrote:

Hello,

On Sun 22 Sep 2019 at 08:04PM +02, Simon Richter wrote:

apt's resolver does not find a working solution for installing both libgtk-3-0 and sysvinit-core, or for installing libgtk-3-0 when systemd-sysv has a negative score in preferences. Aptitude resolves both of these by favouring dbus-x11 over dbus-user-session.

When presented manually with this solution, apt accepts it as valid.

The problematic dependency chain is this:

libgtk-3-0 -> libgtk-3-common -> dconf-gsettings-backend -> dconf-service -> default-dbus-session-bus | dbus-session-bus

dbus-x11 Provides: dbus-session-bus, but apt prefers to replace sysvinit-core with systemd rather than just install dbus-x11.

One way to reproduce this problem, in buster or sid:

  1. clean chroot
  2. apt-get install sysvinit-core
  3. apt-get install emacs

If you install dbus-x11 right before attempting to install Emacs, apt will not attempt the init system replacement.

This is solved in --solver 3.0 to the extend that you deny systemd-sysv from being installed, whether by pin or by specfying systemd-sysv- (or by marking it manually installed [unless you set APT::Solver::RemoveManual]).

If you pin a package down, e.g. systemd-sysv, this will automatically prevent any package depending on it recursively, from being installed, and the 3.0 solver falls back to the next alternative if the previous one is unsatisfiable.

That being said, being able to switch init systems without a pin is a bug in the init system; init systems should set the Protected: yes field so that they cannot be removed without explicitly running

apt remove --allow-remove-essential sysvinit-core
apt install/upgrade/... --allow-remove-essential sysvinit-core-

(note that starting with 2.3.12/stable; --allow-remove-essential
 only applies to arguments; the solver itself cannot decide to
 remove essential packages anymore)

As such I am reassigning this bug to sysvinit-core so it can gain the appropriate flag.

debian developer - deb.li/jak | jak-linux.org - free software dev ubuntu core developer i speak de, en

[signature.asc (application/pgp-signature, inline)]


**Bug reassigned from package 'apt' to 'sysvinit-core'.**Request was from Julian Andres Klode <jak@debian.org>to 940965-submit@bugs.debian.org. (Sun, 16 Feb 2025 11:27:02 GMT) (full text, mbox, link).


**No longer marked as found in versions apt/1.8.2.**Request was from Julian Andres Klode <jak@debian.org>to 940965-submit@bugs.debian.org. (Sun, 16 Feb 2025 11:27:02 GMT) (full text, mbox, link).


**Changed Bug title to 'sysvinit-core lacks Protected: yes' from 'apt: Fails to find a solution for libgtk-3-0 and sysvinit-core'.**Request was from Julian Andres Klode <jak@debian.org>to 940965-submit@bugs.debian.org. (Sun, 16 Feb 2025 11:27:02 GMT) (full text, mbox, link).


Information forwardedto debian-bugs-dist@lists.debian.org, Debian sysvinit maintainers <debian-init-diversity@chiark.greenend.org.uk>:
Bug#940965; Package sysvinit-core. (Mon, 17 Feb 2025 11:51:01 GMT) (full text, mbox, link).


Message #29 received at 940965@bugs.debian.org (full text, mbox, reply):

Julian,

Many thanks for this.

On Sun, Feb 16, 2025 at 12:23:01PM +0100, Julian Andres Klode wrote:

That being said, being able to switch init systems without a pin is a bug in the init system; init systems should set the Protected: yes field so that they cannot be removed without explicitly running

apt remove --allow-remove-essential sysvinit-core
apt install/upgrade/... --allow-remove-essential sysvinit-core-

(note that starting with 2.3.12/stable; --allow-remove-essential
 only applies to arguments; the solver itself cannot decide to
 remove essential packages anymore)

As such I am reassigning this bug to sysvinit-core so it can gain the appropriate flag.

I don't see a problem with adding this. However, I have read deb-control(5) and the documentation relating to it and when it is required is quite sparse. I think this ought to be documented more clearly, perhaps in Policy?

A quick search indicates that the packages currently utilising this flag is a somewhat disparate list[1]: login, reform-tools, various flavours of gcc, init-system-helpers, grub-*-signed...

Mark

[1] https://codesearch.debian.net/search?q=Protected%3A+yes+path%3Adebian%2Fcontrol&literal=0


Information forwardedto debian-bugs-dist@lists.debian.org, Debian sysvinit maintainers <debian-init-diversity@chiark.greenend.org.uk>:
Bug#940965; Package sysvinit-core. (Mon, 17 Feb 2025 12:12:02 GMT) (full text, mbox, link).


Acknowledgement sentto Sean Whitton <spwhitton@spwhitton.name>:
Extra info received and forwarded to list. Copy sent to Debian sysvinit maintainers <debian-init-diversity@chiark.greenend.org.uk>. (Mon, 17 Feb 2025 12:12:02 GMT) (full text, mbox, link).


Message #34 received at 940965@bugs.debian.org (full text, mbox, reply):

[Message part 1 (text/plain, inline)]

Hello,

On Mon 17 Feb 2025 at 11:48am GMT, Mark Hindley wrote:

Julian,

Many thanks for this.

On Sun, Feb 16, 2025 at 12:23:01PM +0100, Julian Andres Klode wrote:

That being said, being able to switch init systems without a pin is a bug in the init system; init systems should set the Protected: yes field so that they cannot be removed without explicitly running

apt remove --allow-remove-essential sysvinit-core
apt install/upgrade/... --allow-remove-essential sysvinit-core-

(note that starting with 2.3.12/stable; --allow-remove-essential
 only applies to arguments; the solver itself cannot decide to
 remove essential packages anymore)

As such I am reassigning this bug to sysvinit-core so it can gain the appropriate flag.

I don't see a problem with adding this. However, I have read deb-control(5) and the documentation relating to it and when it is required is quite sparse. I think this ought to be documented more clearly, perhaps in Policy?

A quick search indicates that the packages currently utilising this flag is a somewhat disparate list[1]: login, reform-tools, various flavours of gcc, init-system-helpers, grub-*-signed...

This is #872587.

-- Sean Whitton

[signature.asc (application/pgp-signature, inline)]


Reply sentto Mark Hindley <leepen@debian.org>:
You have taken responsibility. (Tue, 18 Feb 2025 09:54:06 GMT) (full text, mbox, link).


Notification sentto Simon Richter <sjr@debian.org>:
Bug acknowledged by developer. (Tue, 18 Feb 2025 09:54:06 GMT) (full text, mbox, link).


Message #39 received at 940965-close@bugs.debian.org (full text, mbox, reply):

[Message part 1 (text/plain, inline)]

Source: sysvinit Source-Version: 3.14-2 Done: Mark Hindley leepen@debian.org

We believe that the bug you reported is fixed in the latest version of sysvinit, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is attached.

Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 940965@bugs.debian.org, and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software pp. Mark Hindley leepen@debian.org (supplier of updated sysvinit package)

(This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmaster@ftp-master.debian.org)

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256

Format: 1.8 Date: Tue, 18 Feb 2025 08:23:45 +0000 Source: sysvinit Architecture: source Version: 3.14-2 Distribution: experimental Urgency: medium Maintainer: Debian sysvinit maintainers debian-init-diversity@chiark.greenend.org.uk Changed-By: Mark Hindley leepen@debian.org Closes: 608862 612519 686531 761511 782142 940965 987316 1008911 1095674 Changes: sysvinit (3.14-2) experimental; urgency=medium . [ Mark Hindley ]

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEUGwVpCsK9aCoVCPu0opFvzKH1kkFAme0U+MACgkQ0opFvzKH 1kmGvQ/+MZrhRCQq1qYrNyH/Klv+9g58mfweHEX6+SIGv9N9Sl/yBPk5mrIsN68w U+JeFLkpMzYPrLhe8lY1madRzPXyXBW0M2UjMbuRl5vMrXlgFiq971g7oFjbuE+l IqegcpbNg406cYzJSt/Ng3YWCfCcrkwChfyFewXi5MM5wVF+IzosX5dq6XAtgvBO OYwISezmveuQy/Ifqp+TMxX5CeZ0FJWLbrGJ3pHR2wJo0GKFLFjesbq5ct5vhA3y Cg7Nk5/eUhB3WHKObU8KWWNZ1ivePWKsPeFcmrUNcreZ77U3rP9PGGR6YAEELpyx QiGZE9n+57lIbVhWb2Sfl1zFX3Z0DyLWjWS4YiUiwgL50irKJKpRrWcdCKXYzlKF gw30SysXPYfP7LSxtm3HHYwiSYeIcCTcJG/f9eFR7k25bI7i8MQ/VRKTMHsxCEHH pAhfx4k1CWtzdljOZ6riwDXmgNQe6H05OCc9CN6GvKG8hCoaeLfmF2tA9C0MaYxg QsHCwSqoMM4Kb/wEnz3WjvPxOhOSUqPg40okcUF1Wmnx/IVqQ+hFuKW53XNgL2fe EwKMjd1q6O373QGiDgGE2XpyDyuJ5Yu1Xi3FTypr5tL+rDr7mCARO3/a7fBM2Cpx fPbLIUhzbSiR1QE+EN3l4DqeZvwrJw/QodOsJNxX3j614VtcWeU= =JCTJ -----END PGP SIGNATURE-----

[Message part 2 (application/pgp-signature, inline)]


Information forwardedto debian-bugs-dist@lists.debian.org, Debian sysvinit maintainers <debian-init-diversity@chiark.greenend.org.uk>:
Bug#940965; Package sysvinit-core. (Tue, 18 Feb 2025 13:27:01 GMT) (full text, mbox, link).


Acknowledgement sentto Michael Biebl <biebl@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian sysvinit maintainers <debian-init-diversity@chiark.greenend.org.uk>. (Tue, 18 Feb 2025 13:27:01 GMT) (full text, mbox, link).


Message #44 received at 940965@bugs.debian.org (full text, mbox, reply):

[Message part 1 (text/plain, inline)]

On Mon, 17 Feb 2025 11:48:06 +0000 Mark Hindley mark@hindley.org.uk wrote:

Julian,

Many thanks for this.

On Sun, Feb 16, 2025 at 12:23:01PM +0100, Julian Andres Klode wrote:

That being said, being able to switch init systems without a pin is a bug in the init system; init systems should set the Protected: yes field so that they cannot be removed without explicitly running

apt remove --allow-remove-essential sysvinit-core
apt install/upgrade/... --allow-remove-essential sysvinit-core-

(note that starting with 2.3.12/stable; --allow-remove-essential
 only applies to arguments; the solver itself cannot decide to
 remove essential packages anymore)

As such I am reassigning this bug to sysvinit-core so it can gain the appropriate flag.

I don't see a problem with adding this. However, I have read deb-control(5) and the documentation relating to it and when it is required is quite sparse. I think this ought to be documented more clearly, perhaps in Policy?

A quick search indicates that the packages currently utilising this flag is a somewhat disparate list[1]: login, reform-tools, various flavours of gcc, init-system-helpers, grub-*-signed...

Mark

[1] https://codesearch.debian.net/search?q=Protected%3A+yes+path%3Adebian%2Fcontrol&literal=0

I guess a corresponding "Protected: yes" flag should be added to systemd-sysv accordingly (so looping in the systemd maintainers).

This kinda makes the "init" meta package moot (which I think is actually a good thing at this point). And the "init" meta can be removed.

Michael

[OpenPGP_signature.asc (application/pgp-signature, attachment)]


Information forwardedto debian-bugs-dist@lists.debian.org, Debian sysvinit maintainers <debian-init-diversity@chiark.greenend.org.uk>:
Bug#940965; Package sysvinit-core. (Tue, 18 Feb 2025 13:30:01 GMT) (full text, mbox, link).


Acknowledgement sentto Michael Biebl <biebl@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian sysvinit maintainers <debian-init-diversity@chiark.greenend.org.uk>. (Tue, 18 Feb 2025 13:30:01 GMT) (full text, mbox, link).


Message #49 received at 940965@bugs.debian.org (full text, mbox, reply):

[Message part 1 (text/plain, inline)]

Control: clone -1 -2 Control: reassign -2 systemd-sysv Control: retitle -2 Add Protected: yes to systemd-sysv

To properly track this issue, let's clone/reassign this bug report.

Michael

[OpenPGP_signature.asc (application/pgp-signature, attachment)]


**Bug 940965 cloned as bug 1098260**Request was from Michael Biebl <biebl@debian.org>to 940965-submit@bugs.debian.org. (Tue, 18 Feb 2025 13:30:01 GMT) (full text, mbox, link).


Information forwardedto debian-bugs-dist@lists.debian.org, Debian sysvinit maintainers <debian-init-diversity@chiark.greenend.org.uk>:
Bug#940965; Package sysvinit-core. (Tue, 18 Feb 2025 15:27:02 GMT) (full text, mbox, link).


Acknowledgement sentto lorenzo <plorenzo@disroot.org>:
Extra info received and forwarded to list. Copy sent to Debian sysvinit maintainers <debian-init-diversity@chiark.greenend.org.uk>. (Tue, 18 Feb 2025 15:27:02 GMT) (full text, mbox, link).


Message #56 received at 940965@bugs.debian.org (full text, mbox, reply):

Dear apt maintainers,

On Sun, Feb 16, 2025 at 12:23:01PM +0100, Julian Andres Klode wrote:

That being said, being able to switch init systems without a pin is a bug in the init system; init systems should set the Protected: yes field so that they cannot be removed without explicitly running

apt remove --allow-remove-essential sysvinit-core

Mmm, and what if the package is at the bottom of a dependency stack? do you get all the stack removed as well?

apt install/upgrade/... --allow-remove-essential sysvinit-core-

(note that starting with 2.3.12/stable; --allow-remove-essential
 only applies to arguments; the solver itself cannot decide to
 remove essential packages anymore)

how a user is supposed to perform an init switch? use dpkg --force-depends and manually fix the broken dependency stack without the help of a resolver?

Best, Lorenzo


**Bug archived.**Request was from Debbugs Internal Request <owner@bugs.debian.org>to internal_control@bugs.debian.org. (Fri, 21 Mar 2025 07:38:00 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified:Mon May 11 15:56:26 2026; Machine Name:buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.