[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#844549: marked as done (network-console broken: no screen to be resumed matching sh)



Your message dated Sun, 20 Nov 2016 16:35:04 +0000
with message-id <E1c8V56-0001kt-Mr@fasolo.debian.org>
and subject line Bug#844549: fixed in rootskel 1.121
has caused the Debian Bug report #844549,
regarding network-console broken: no screen to be resumed matching sh
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
844549: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=844549
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: rootskel
Version: 1.119
Severity: serious
Tags: patch

Several users have reported to me that the network-console images are
broken.

Commit ec6d3c3d79 (Move screen support) moved the screen support
around and also changed the logic of when screen is used.
Unfortunately, that change broke all network-console images which now
lead to:

installer@192.168.0.102's password:
There is no screen to be resumed matching sh.
Connection to 192.168.0.102 closed.

This is because d-i is already running in screen on the serial console but
it's active and can't be resumed.

I believe below is the right fix, i.e. start screen when screen exists and
when we're on serial or when we're NOT on network.

Samuel, Roger, does that look correct?

diff --git a/src/lib/debian-installer.d/S70menu b/src/lib/debian-installer.d/S70menu
index 7b35fac..14cad7f 100644
--- a/src/lib/debian-installer.d/S70menu
+++ b/src/lib/debian-installer.d/S70menu
@@ -11,7 +11,7 @@ if [ -x "$bterm" ] && [ -e "$font" ] && [ -n "$TERM_UTF8" ] && [ -n "$TERM_FRAME
 	set -e
 else
 	rm -f $font
-	if [ -x "$screen_bin" -a \( "$TERM_TYPE" = network -o "$TERM_TYPE" = serial \) -a "$TERM" != dumb ]; then
+	if [ -x "$screen_bin" -a \( "$TERM_TYPE" != network -o "$TERM_TYPE" = serial \) -a "$TERM" != dumb ]; then
 		# there's GNU/screen binary, run menu in it.
 		# call this script again with in GNU/screen, possibly in UTF-8 mode
 		SCREEN_OPT=""

-- 
Martin Michlmayr
http://www.cyrius.com/

--- End Message ---
--- Begin Message ---
Source: rootskel
Source-Version: 1.121

We believe that the bug you reported is fixed in the latest version of
rootskel, 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 844549@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Samuel Thibault <sthibault@debian.org> (supplier of updated rootskel 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: SHA512

Format: 1.8
Date: Sun, 20 Nov 2016 17:13:43 +0100
Source: rootskel
Binary: rootskel
Architecture: source amd64
Version: 1.121
Distribution: unstable
Urgency: medium
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Samuel Thibault <sthibault@debian.org>
Description:
 rootskel   - Skeleton root filesystem used by debian-installer (udeb)
Closes: 844549
Changes:
 rootskel (1.121) unstable; urgency=medium
 .
   * Team upload
   * Fix starting screen in ssh when d-i is already running inside screen on
     serial port (Closes: #844549).
Checksums-Sha1:
 37726766e8a1de285b60afe7dd911bea4035e073 1704 rootskel_1.121.dsc
 172eff5712041a23d6d497c695394972aba29a1e 32232 rootskel_1.121.tar.xz
 0607f6804cc0fe80d0eeee04b1dfe7b86f3fae36 4348 rootskel_1.121_amd64.buildinfo
 2902ff48b84151f62867a7f3a6c6fec9fd68d2ea 9042 rootskel_1.121_amd64.udeb
Checksums-Sha256:
 2f4bbc05f3297c47cd4e3a940f0791a0398881a9a7a4a5bdbc178cbc5d71fc3c 1704 rootskel_1.121.dsc
 ef59c4962c5a2c00b8509112625b750177170a168cf2cd9569668e39253863b1 32232 rootskel_1.121.tar.xz
 be4a318732d024ee227363d65b83d73a3e2da19dde5a8e696cebc4482123347d 4348 rootskel_1.121_amd64.buildinfo
 b125e1c78b941926636b27422d43b6b7a3893202f4dc943c420e7a01e834edef 9042 rootskel_1.121_amd64.udeb
Files:
 9625add1d95cb875a7ce3a1546fb8f2a 1704 debian-installer standard rootskel_1.121.dsc
 1348fb24b94b7b67a4ca41e14304c7b0 32232 debian-installer standard rootskel_1.121.tar.xz
 4fe7c033ecac9de03c609eafdb036d6a 4348 debian-installer standard rootskel_1.121_amd64.buildinfo
 a96bbe373439d8799388151ffdd1c7bc 9042 debian-installer standard rootskel_1.121_amd64.udeb

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

iQIzBAEBCgAdFiEE9jJ0zcYwCHPLPSnZ4+Uc6PtrLx0FAlgxzV0ACgkQ4+Uc6Ptr
Lx31fA/+Lxsj4KJC0OSBBxU05mzBXXVubJ/4abvZYMFR/a9kYIoeFHETTujXopy3
V8H0nhtM1NQQvvqJWsYu3RXmbjtJjo9p7pu9X2D0SSETmDFZwOgQhmUN82P4UIoM
fHrx7oj9cFQ5NDn6Jh6c1/miTrkLDKy1MLwOgEA2OtxpM6dFGI5VP4FoA4hvVkzm
skYjEDAOBy6zYaSMkW926nhNpGmPh6SsRELmTEzIC+fqcrm39uY9SzQZQdUsF0CT
GJoA9Yzv9F2unWN/1KfTd1S3u7Whg2aylF1t1dd8U8TrgG5MCXdCXPSU1FbhYcTR
ykbOhMDFTp0Gz6Zk5MGld+fMhegWO84ShYeX+jJkW9tBk+/fuw39hRUagJtzThSm
qqE/QAlbPVZ55BPHC1oBGUAYw3WMqpLijaZwO/U8kDCY7V85iugJc5uVeHzJGfmq
qY8Ibuy7skwpI4xQETqR95MQh3JE+m1SU+hAKXmKmQmstXTUOLLqRRPJHWTdZCI2
lZyz5Vad9UYGrf3tvo8w1LOkkBaUSJndttBeOWEfYwBIF3JSgvd7FM9vOrCPfukV
CvohbZSXDNk7wegeTbvXand7kNYnFq1n73GfVOiwF+LdYW2gS6uXl9rauhEIl55q
LOHsayT3hpLlgEUXLu0xRQ1RZylVCPLYz4tnvKKSMK1VMsGl7mY=
=THOf
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: