Bug#771825: release-notes: Update information on non-systemd Jessie upgrades and installations
- To: svante.signell@gmail.com, 771825@bugs.debian.org, Joost van Baal-Ilić <joostvb-debian-bugs-20141214-2@mdcc.cx>
- Subject: Bug#771825: release-notes: Update information on non-systemd Jessie upgrades and installations
- From: Niels Thykier <niels@thykier.net>
- Date: Sun, 29 Mar 2015 16:55:17 +0200
- Message-id: <[🔎] 55181255.8070204@thykier.net>
- Reply-to: Niels Thykier <niels@thykier.net>, 771825@bugs.debian.org
- In-reply-to: <1418659232.18327.63.camel@G3620.my.own.domain>
- References: <1417540648.3453.8.camel@G3620.my.own.domain> <547E2C3F.9030006@thykier.net> <1417557676.3453.19.camel@G3620.my.own.domain> <1417604173.3453.23.camel@G3620.my.own.domain> <547F7B97.6020309@thykier.net> <1417690947.3453.49.camel@G3620.my.own.domain> <20141214104627.GJ11407@beskar.mdcc.cx> <1418655807.18327.59.camel@G3620.my.own.domain> <20141215154610.GU23148@beskar.mdcc.cx> <1418659232.18327.63.camel@G3620.my.own.domain>
Control: tags -1 pending
On 2014-12-15 17:00, Svante Signell wrote:
> [...]
>
> Hi I trimmed the patch, less text now. However, the LILO comment is
> still there. Do you want me to remove that one too?
>
Hi,
I have applied a minor patch to day based on your patch submitted here
(See attached).
First hunk was accepted as-is (modulo whitespace). From the rest, I
extracted some minor pieces if not already documented else where. In
particular:
* I documented that installing systemd-shim and sysvinit-core manually
might help APT and aptitude when the pin is in place.
* The part of keeping "sysvinit" for having a fallback init was dropped
as it (meanwhile) got covered in 4.1.4.2[4.1.4]. As the removal of
sysvinit does not happen automatically, I asserted this was
sufficient.
* The [4.1.4.2] section also covers how to reboot using sysvinit as
long as the bootloader supports changing the kernel command line
prior to booting. I know grub supports this and [1] suggests LILO
is also capable of doing this.
A review is welcome - in particular please let me know if there are
things I left out that you believe should be included regardless.
Thanks,
~Niels
[4.1.4]
https://www.debian.org/releases/jessie/amd64/release-notes/ch-upgrading.en.html#recovery
(The closest I could get to a direct link to 4.1.4.2)
[1] http://docstore.mik.ua/orelly/linux/lnut/ch04_05.htm
From f7b12fd75b034b3da8868b944e247fd7b1c72f51 Mon Sep 17 00:00:00 2001
From: nthykier <nthykier@313b444b-1b9f-4f58-a734-7bb04f332e8d>
Date: Sun, 29 Mar 2015 14:40:44 +0000
Subject: [PATCH] issues: Improve the systemd section a bit
Signed-off-by: Niels Thykier <niels@thykier.net>
git-svn-id: svn+ssh://svn.debian.org/svn/ddp/manuals/trunk/release-notes@10678 313b444b-1b9f-4f58-a734-7bb04f332e8d
---
en/issues.dbk | 15 ++++++++++++---
1 file changed, 12 insertions(+), 3 deletions(-)
diff --git a/en/issues.dbk b/en/issues.dbk
index c74cb38..cb69026 100644
--- a/en/issues.dbk
+++ b/en/issues.dbk
@@ -316,8 +316,11 @@ $ echo 'openssh-server openssh-server/permit-root-login boolean true' | debconf-
<para>
Jessie ships with <systemitem
role="package">systemd-sysv</systemitem> as
- <emphasis>default</emphasis> init system. If you have a
- preference for another init such as <systemitem
+ <emphasis>default</emphasis> init system. This package is
+ installed automatically on upgrades.
+ </para>
+ <para>
+ If you have a preference for another init such as <systemitem
role="package">sysvinit-core</systemitem> or <systemitem
role="package">upstart</systemitem>, it is recommended to setup
APT pinning prior to the upgrade. This may also be required if
@@ -325,7 +328,7 @@ $ echo 'openssh-server openssh-server/permit-root-login boolean true' | debconf-
please refer to <xref linkend="issues-lxc-wheezy-host" />.
</para>
<para>As an example, to prevent <systemitem
- role="package">systemd</systemitem> from being installed during the
+ role="package">systemd-sysv</systemitem> from being installed during the
upgrade, you can create a file called
<filename>/etc/apt/preferences.d/local-pin-init</filename> with the
following contents:
@@ -349,6 +352,12 @@ Pin-Priority: -1
role="package">systemd-sysv</systemitem> package must be
installed first.
</para>
+ <para>
+ If APT or aptitude issues computing an upgrade path with the pin
+ in place, you may be able to help it by manually installing both
+ <systemitem role="package">sysvinit-core</systemitem> and
+ <systemitem role="package">systemd-shim</systemitem>.
+ </para>
<section id="systemd-auto-mounts-incompat">
<!-- Wheezy to Jessie -->
<title>Stricter handling of failing mounts during boot under systemd</title>
--
2.1.4
Reply to: