Bug#858818: please consider implementing or at least documenting a headless-friendly emergency target

Martin Pitt mpitt at debian.org
Mon Mar 27 19:49:46 BST 2017


Michael Biebl [2017-03-27 18:03 +0200]:
> I don't think such a service needs to be part of ssh (or systemd for
> that matter), it might actually be better if that was shipped by a
> separate package, which can be installed on demand for cases likes your
> (and is ideally maintained by users of such functionality).
> 
> Such a package could try to bring up the network by itself, by first
> trying to directly run NM , ifup or even attempting a simple dhclient.
> Directly, meaning not using the .service units which might have
> dependencies which might not be satisfied by emergency.target/rescue.target.

Ubuntu's friendly-recovery might serve as a base here -- it does the above
"opportunistic" network bringup, offers fsck and apt-get -f install and others
(but not SSH as far as I know, but it's easy enough to extend with shell
plugins).

Martin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20170327/12baba3d/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list