Debian Bug report logs - #773386
release-notes: Systemd related updates to "before reboot" and Recovery proceedures

Package: release-notes; Maintainer for release-notes is Debian Documentation Team <debian-doc@lists.debian.org>;

Reported by: Niels Thykier <niels@thykier.net>

Date: Wed, 17 Dec 2014 19:39:01 UTC

Severity: normal

Tags: help, jessie

Done: Niels Thykier <niels@thykier.net>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, pkg-systemd-maintainers@lists.alioth.debian.org, Debian Documentation Team <debian-doc@lists.debian.org>:
Bug#773386; Package release-notes. (Wed, 17 Dec 2014 19:39:07 GMT) (full text, mbox, link).


Acknowledgement sent to Niels Thykier <niels@thykier.net>:
New Bug report received and forwarded. Copy sent to pkg-systemd-maintainers@lists.alioth.debian.org, Debian Documentation Team <debian-doc@lists.debian.org>. (Wed, 17 Dec 2014 19:39:07 GMT) (full text, mbox, link).


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

From: Niels Thykier <niels@thykier.net>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: release-notes: Systemd related updates to "before reboot" and Recovery proceedures
Date: Wed, 17 Dec 2014 20:37:22 +0100
Package: release-notes
Severity: normal
Tags: jessie

(X-CC to systemd maintainers for input)

The release notes have a "Prepare for recovery"[1] and "Things
to do before rebooting" section[2].  They currently does not cover any
systemd related preparation.

I believe we should consider covering some/all of:

 * My system does not boot after upgrading to systemd.  How do I figure out
   what the problem is and how do I get a shell/some method to fix it?

 * Is there someone I can do to check for issues after upgrading but before
   rebooting?  Like do we have a tool to report:
   - There are cycles in your init configuration between the following
     services / init.d scripts.
   - You have an old init.d script laying around that is likely to break
     stuff because of reason X
   - etc.


So far, I got following for recovery:

  * (When boot fails) Reboot and alter kernel command line to include
    "systemd.unit=rescue.target".
  * (Before reboot or from rescue shell) Run systemctl enable
    debug-shell.service to get a (passwordless) root shell on TTY9
    "just in case"
  * (Before upgrade) Back up /sbin/init and use it on the kernel cmd line
     as last resort [Presumably Jessie-only]


On the "before reboot", I got nothing so far.  I am hoping you do.

If you got known issues to be documented in the Release Notes (or
other suggestions for improvements), please file additional bugs.
We got some items covered in [3], but I would not be surprised if I
had missed one or some of the existing ones could be improved.

Thanks,
~Niels

[1] https://www.debian.org/releases/jessie/amd64/release-notes/ch-upgrading.en.html#recovery

[2] https://www.debian.org/releases/jessie/amd64/release-notes/ch-upgrading.en.html#nownownow

[3] https://www.debian.org/releases/jessie/amd64/release-notes/ch-information.en.html#systemd-upgrade-default-init-system

(udev/CONFIG_DEVTMPFS): https://www.debian.org/releases/jessie/amd64/release-notes/ch-information.en.html#udev-needs-kernel-with-devtmpfs



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Documentation Team <debian-doc@lists.debian.org>:
Bug#773386; Package release-notes. (Wed, 17 Dec 2014 21:27:04 GMT) (full text, mbox, link).


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

From: Andrei POPESCU <andreimpopescu@gmail.com>
To: Niels Thykier <niels@thykier.net>, 773386@bugs.debian.org
Subject: Re: Bug#773386: release-notes: Systemd related updates to "before reboot" and Recovery proceedures
Date: Wed, 17 Dec 2014 23:24:40 +0200
[Message part 1 (text/plain, inline)]
On Mi, 17 dec 14, 20:37:22, Niels Thykier wrote:
>   * (Before upgrade) Back up /sbin/init and use it on the kernel cmd line
>      as last resort [Presumably Jessie-only]

Isn't this already covered by the sysvinit package in Jessie (ships 
/lib/sysvinit/init)?

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
http://nuvreauspam.ro/gpg-transition.txt
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Documentation Team <debian-doc@lists.debian.org>:
Bug#773386; Package release-notes. (Wed, 17 Dec 2014 21:33:04 GMT) (full text, mbox, link).


Acknowledgement sent to Niels Thykier <niels@thykier.net>:
Extra info received and forwarded to list. Copy sent to Debian Documentation Team <debian-doc@lists.debian.org>. (Wed, 17 Dec 2014 21:33:05 GMT) (full text, mbox, link).


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

From: Niels Thykier <niels@thykier.net>
To: Andrei POPESCU <andreimpopescu@gmail.com>, 773386@bugs.debian.org
Subject: Re: Bug#773386: release-notes: Systemd related updates to "before reboot" and Recovery proceedures
Date: Wed, 17 Dec 2014 22:31:37 +0100
On 2014-12-17 22:24, Andrei POPESCU wrote:
> On Mi, 17 dec 14, 20:37:22, Niels Thykier wrote:
>>   * (Before upgrade) Back up /sbin/init and use it on the kernel cmd line
>>      as last resort [Presumably Jessie-only]
> 
> Isn't this already covered by the sysvinit package in Jessie (ships 
> /lib/sysvinit/init)?
> 
> Kind regards,
> Andrei
> 

Ah, true - I had not seen that one.

Thanks,
~Niels





Information forwarded to debian-bugs-dist@lists.debian.org, Debian Documentation Team <debian-doc@lists.debian.org>:
Bug#773386; Package release-notes. (Tue, 27 Jan 2015 20:39:07 GMT) (full text, mbox, link).


Acknowledgement sent to Niels Thykier <niels@thykier.net>:
Extra info received and forwarded to list. Copy sent to Debian Documentation Team <debian-doc@lists.debian.org>. (Tue, 27 Jan 2015 20:39:07 GMT) (full text, mbox, link).


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

From: Niels Thykier <niels@thykier.net>
To: 773386@bugs.debian.org
Cc: andreimpopescu@gmail.com, Debian systemd Maintainers <pkg-systemd-maintainers@lists.alioth.debian.org>
Subject: Re: Bug#773386: release-notes: Systemd related updates to "before reboot" and Recovery proceedures
Date: Tue, 27 Jan 2015 21:37:27 +0100
Control: tags -1 help

On 2014-12-17 20:37, Niels Thykier wrote:
> Package: release-notes
> Severity: normal
> Tags: jessie
> 
> (X-CC to systemd maintainers for input)
> 
> The release notes have a "Prepare for recovery"[1] and "Things
> to do before rebooting" section[2].  They currently does not cover any
> systemd related preparation.
> 
> I believe we should consider covering some/all of:
> 
>  * My system does not boot after upgrading to systemd.  How do I figure out
>    what the problem is and how do I get a shell/some method to fix it?
> 

This seems to have partly forked into #774233, so please follow up with
relevant information to that.

>  * Is there someone I can do to check for issues after upgrading but before
>    rebooting?  Like do we have a tool to report:
>    - There are cycles in your init configuration between the following
>      services / init.d scripts.
>    - You have an old init.d script laying around that is likely to break
>      stuff because of reason X
>    - etc.
> 

Still hoping for more information here.  I would strongly prefer that we
could have users test their box before hitting reboot.

> 
> So far, I got following for recovery:
> 
>   * (When boot fails) Reboot and alter kernel command line to include
>     "systemd.unit=rescue.target".

Covered in #774233

>   * (Before reboot or from rescue shell) Run systemctl enable
>     debug-shell.service to get a (passwordless) root shell on TTY9
>     "just in case"

Should possibly be included in #774233 as well, but I forgot it in my draft.

>   * (Before upgrade) Back up /sbin/init and use it on the kernel cmd line
>      as last resort [Presumably Jessie-only]
> 

As Andrei pointed out, the sysvinit package handles this.

> 
> On the "before reboot", I got nothing so far.  I am hoping you do.
> 
> If you got known issues to be documented in the Release Notes (or
> other suggestions for improvements), please file additional bugs.
> We got some items covered in [3], but I would not be surprised if I
> had missed one or some of the existing ones could be improved.
> 
> Thanks,
> ~Niels
> 
> [...]

Such extra bugs are still welcome!

~Niels







Added tag(s) help. Request was from Niels Thykier <niels@thykier.net> to 773386-submit@bugs.debian.org. (Tue, 27 Jan 2015 20:39:07 GMT) (full text, mbox, link).


Reply sent to Niels Thykier <niels@thykier.net>:
You have taken responsibility. (Sat, 29 Apr 2017 10:36:04 GMT) (full text, mbox, link).


Notification sent to Niels Thykier <niels@thykier.net>:
Bug acknowledged by developer. (Sat, 29 Apr 2017 10:36:04 GMT) (full text, mbox, link).


Message #25 received at 773386-done@bugs.debian.org (full text, mbox, reply):

From: Niels Thykier <niels@thykier.net>
To: 773386-done@bugs.debian.org
Subject: Re: Bug#773386: release-notes: Systemd related updates to "before reboot" and Recovery proceedures
Date: Sat, 29 Apr 2017 10:31:00 +0000
On Tue, 27 Jan 2015 21:37:27 +0100 Niels Thykier <niels@thykier.net> wrote:
> [...]

I believe we got what we needed for the upgrade.  Given nothing else
have materialized on this bug in the past years, I suspect we can close
it now.  Should there be new information, please file a new bug for it.

Thanks,
~Niels




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sun, 28 May 2017 07:29:47 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: Sun Nov 19 12:48:14 2023; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU 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.