Path: csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod From: "Debian Bug Tracking System" Newsgroups: linux.debian.kernel Subject: Bug#923165: marked as done (initramfs: reboot in panic function does not work) Date: Sun, 28 Jul 2019 03:00:02 +0200 Message-ID: References: X-Original-To: Ben Hutchings X-Mailbox-Line: From debian-kernel-request@lists.debian.org Sun Jul 28 00:54:24 2019 Old-Return-Path: X-Amavis-Spam-Status: No, score=-10.76 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DIGITS_LETTERS=1, FVGT_m_MULTI_ODD=0.02, GMAIL=1, LDO_WHITELIST=-5, MD5_SHA1_SUM=-1, MURPHY_DRUGS_REL8=0.02, PGPSIGNATURE=-5, RCVD_IN_DNSWL_MED=-2.3, YOURMESSAGEBOD=2.5] autolearn=ham autolearn_force=no MIME-Version: 1.0 X-Mailer: MIME-tools 5.508 (Entity 5.508) X-Debian-Pr-Message: closed 923165 X-Debian-Pr-Package: initramfs-tools X-Debian-Pr-Keywords: patch X-Debian-Pr-Source: initramfs-tools Reply-To: 923165@bugs.debian.org Content-Type: multipart/mixed; boundary="----------=_1564275246-27162-0" X-Mailing-List: archive/latest/121162 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/handler.923165.D923165.156427505325767.ackdone@bugs.debian.org Approved: robomod@news.nic.it Lines: 247 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Sun, 28 Jul 2019 00:54:06 +0000 X-Original-Message-ID: X-Original-References: Xref: csiph.com linux.debian.kernel:64571 This is a multi-part message in MIME format... ------------=_1564275246-27162-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your message dated Sun, 28 Jul 2019 00:50:51 +0000 with message-id and subject line Bug#923165: fixed in initramfs-tools 0.134 has caused the Debian Bug report #923165, regarding initramfs: reboot in panic function does not work 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.) --=20 923165: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D923165 Debian Bug Tracking System Contact owner@bugs.debian.org with problems ------------=_1564275246-27162-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by bugs.debian.org; 24 Feb 2019 16:37:50 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.2-bugs.debian.org_2005_01_02 (2018-09-13) on buxtehude.debian.org X-Spam-Level: X-Spam-Status: No, score=-8.5 required=4.0 tests=BAYES_00,DKIM_ADSP_ALL, HAS_PACKAGE,MURPHY_DRUGS_REL8,RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL,TXREP autolearn=ham autolearn_force=no version=3.4.2-bugs.debian.org_2005_01_02 X-Spam-Bayes: score:0.0000 Tokens: new, 42; hammy, 100; neutral, 24; spammy, 0. spammytokens: hammytokens:0.000-+--afaik, 0.000-+--AFAIK, 0.000-+--H*u:Evolution, 0.000-+--H*RU:mx.zohomail.com, 0.000-+--Hx-spam-relays-external:mx.zohomail.com Return-path: Received: from sender-of-o53.zoho.com ([135.84.80.218]) by buxtehude.debian.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gxwmk-0004em-L4 for submit@bugs.debian.org; Sun, 24 Feb 2019 16:37:50 +0000 ARC-Seal: i=1; a=rsa-sha256; t=1551025362; cv=none; d=zoho.com; s=zohoarc; b=NEURbdQ2Fn8K0gu4ewcGr00e7u3VxDt7hLexk9OtrtKAZ9sYs/F0N4zMwxsfnGhX8kXOaHTIMByjc5MThcpwAp/ou/8RXb3saDDqD96XoCxIrAyjm8LFOnEElrPPCXKRx9jDa4ggbIKP/hY0Tbg/t5kosRoldwRenzE3syK4Rms= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1551025362; h=Content-Type:Content-Transfer-Encoding:Date:From:MIME-Version:Message-ID:Subject:To:ARC-Authentication-Results; bh=kKL/EIMU5Ay6VeRLOvXDgjp3L5OAdvtNVjN8hT+RZ0g=; b=T0B0cFrHBfO1s7zImMNwmfO9Q0TcisHt2vk3ruuJXHH70BL2K2a+OthOEe0BeoKhxk+0kRc7yLUKfkUXIfqHSl1HPkXqJHxC7UKQB2TfPCPqNqfpnMNNPv4NCcYh0jBjdk06pxMtnhbBDTwzoetJrybULm2iPuSrrEiNYkH+tNY= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=mniewoehner.de; spf=pass smtp.mailfrom=linux@mniewoehner.de; dmarc=pass header.from= header.from= Received: from z3r0 (31.187.91.78 [31.187.91.78]) by mx.zohomail.com with SMTPS id 1551025360700941.7156216101029; Sun, 24 Feb 2019 08:22:40 -0800 (PST) Message-ID: Subject: initramfs: reboot in panic function does not work From: Michael =?ISO-8859-1?Q?Niew=F6hner?= To: Debian Bug Tracking System Content-Type: text/plain; charset="UTF-8" Date: Sun, 24 Feb 2019 17:22:38 +0100 Mime-Version: 1.0 User-Agent: Evolution 3.30.3 Content-Transfer-Encoding: 7bit X-ZohoMailClient: External X-Greylist: delayed 903 seconds by postgrey-1.36 at buxtehude; Sun, 24 Feb 2019 16:37:50 UTC Delivered-To: submit@bugs.debian.org Package: initramfs-tools Version: 0.133 Severity: normal Tags: patch The panic()-function in /scripts/function tries to reboot the system. When this fails, a kernel panic is generated by exiting PID 1. At least for me, the reboot always fails. AFAIK "reboot" would not work at all because there is no reboot handler at this stage... Patch: --- a/scripts/functions +++ b/scripts/functions @@ -47,3 +47,3 @@ panic() sleep "${panic}" - reboot + reboot -f exit # in case reboot fails, force kernel panic ------------=_1564275246-27162-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 923165-close) by bugs.debian.org; 28 Jul 2019 00:50:53 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.2-bugs.debian.org_2005_01_02 (2018-09-13) on buxtehude.debian.org X-Spam-Level: X-Spam-Status: No, score=-26.5 required=4.0 tests=BAYES_00,DIGITS_LETTERS, FVGT_m_MULTI_ODD,GMAIL,HAS_BUG_NUMBER,HEADER_FROM_DIFFERENT_DOMAINS, MD5_SHA1_SUM,PGPSIGNATURE,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.2-bugs.debian.org_2005_01_02 X-Spam-Bayes: score:0.0000 Tokens: new, 102; hammy, 150; neutral, 229; spammy, 0. spammytokens: hammytokens:0.000-+--HX-Debian:DAK, 0.000-+--H*rp:D*ftp-master.debian.org, 0.000-+--HX-DAK:process-upload, 0.000-+--Hx-spam-relays-external:sk:envelop, 0.000-+--H*r:138.16.160 Return-path: Received: from muffat.debian.org ([2607:f8f0:614:1::1274:33]) from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=muffat.debian.org,EMAIL=hostmaster@muffat.debian.org (verified) by buxtehude.debian.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hrXOn-0006hC-BV for 923165-close@bugs.debian.org; Sun, 28 Jul 2019 00:50:53 +0000 Received: from fasolo.debian.org ([138.16.160.17]) from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=fasolo.debian.org,EMAIL=hostmaster@fasolo.debian.org (verified) by muffat.debian.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hrXOm-0005YR-Ju; Sun, 28 Jul 2019 00:50:52 +0000 Received: from dak by fasolo.debian.org with local (Exim 4.89) (envelope-from ) id 1hrXOl-0009Al-H8; Sun, 28 Jul 2019 00:50:51 +0000 From: Ben Hutchings To: 923165-close@bugs.debian.org X-DAK: dak process-upload X-Debian: DAK X-Debian-Package: initramfs-tools MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Subject: Bug#923165: fixed in initramfs-tools 0.134 Message-Id: Date: Sun, 28 Jul 2019 00:50:51 +0000 Source: initramfs-tools Source-Version: 0.134 We believe that the bug you reported is fixed in the latest version of initramfs-tools, 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 923165@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Ben Hutchings (supplier of updated initramfs-tools 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, 28 Jul 2019 01:10:56 +0100 Source: initramfs-tools Architecture: source Version: 0.134 Distribution: unstable Urgency: medium Maintainer: Debian kernel team Changed-By: Ben Hutchings Closes: 916696 923165 928689 928736 930366 930754 932854 Changes: initramfs-tools (0.134) unstable; urgency=medium . [ Ben Hutchings ] * [8aeae9f] hooks/resume: Disable resume when there are no suitable swap devices. Thanks to Trek (Closes: #916696) * [40f6647] hook-functions: Include all keyboard driver modules when MODULES=most. Thanks to Alper Nebi Yasak * [797e5fe] hook-functions: Include cros_ec_spi and SPI drivers when MODULES=most. Thanks to Alper Nebi Yasak * [f65627d] resume: Set plymouth status only if there is a suspend image (Closes: #928736) * [c31a908] hook-functions: Fix copy_file with target of "/bin" (Closes: #928689) * [8a29ef3] scripts/functions: Use "reboot -f" to reboot on panic. Thanks to Michael Niewöhner (Closes: #923165) * [da9f53e] unmkinitramfs: Work around lz4cat filename check. Thanks to Dimitri John Ledkov (Closes: #930366) * [cf7bb4b] initramfs-tools-core: Depend on logsave or older e2fsprogs (Closes: #932854) * [8570718] update-initramfs(8): Document -d option as "delete" instead of "remove" * [fffe514] update-initramfs(8): Update description of "-k all" option . [ Benjamin Drung ] * [5e94f22] autopkgtest: Check also /usr/share/initramfs-tools/{hooks,scripts} . [ Alper Nebi Yasak ] * [994d698] hook-functions: Include extcon-usbc-cros-ec when MODULES=most * [4e3496a] hook-functions: Include extcon drivers when MODULES=dep . [ Uwe Kleine-König ] * [37dcf3d] mkinitramfs: suppress warning when using bzip2 or lzma (Closes: #930754) Checksums-Sha1: cb626f58f71afe80c05fcab65154d1c556845d86 1821 initramfs-tools_0.134.dsc f8dae02d5ae863b7d57ec07a04d35fc99452680b 90668 initramfs-tools_0.134.tar.xz 84d4af82515c425e2dafc1fcb7f6044518fea7e9 6165 initramfs-tools_0.134_source.buildinfo Checksums-Sha256: 3f0ac785b5807c124ac86fad50364ad84ca0107b33a0d75564bb02b99e181590 1821 initramfs-tools_0.134.dsc 0ea9a39f7951a7766170811f548dbfd95f58e01af5f0c7ada232cd0054b6ac90 90668 initramfs-tools_0.134.tar.xz ae352b23ca48579a4a86e703cfb68531225ed5ebf5b012c195bcaf3eed5a95f9 6165 initramfs-tools_0.134_source.buildinfo Files: 0c35ad5d6dd04b3a7b9064fe32f0716a 1821 utils optional initramfs-tools_0.134.dsc cacea7bff5e01f6ad6c9bd896072858d 90668 utils optional initramfs-tools_0.134.tar.xz 700dd4a43153261b096392f1dd9ba124 6165 utils optional initramfs-tools_0.134_source.buildinfo -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEErCspvTSmr92z9o8157/I7JWGEQkFAl088F4ACgkQ57/I7JWG EQmrmBAAtydoFIMmLGKAv8scUdjXZDy6JR/DpfAgW1mC/CHtSo2b9jtGZ+1tJieb k1oJUKaJru8IEumLyjyQ1wS1On6Ggl/HxGW0dJyrwjtbsWzn6e9OC3VaklTdeN/6 883kVjSTgqRivf12FjMYy7rUga09AZT52SqqsKH6gHrsKcIQ6YChtLo3ONLFTzK+ 17ZxMNNQpYgauUiFWl7npTnhMmf5Y3/GQo+4/m/APUQsqQlAvt8SUF6k7twxQqzT ID4hBmMWH5z9KSiOUfoNLAaQhbk9ABwghqXC7fcfvqN2jesqcAhuSZ4Uw5ZzAHvh kYjl2ke0r94nHNDc2An6dz8u+hgXa/7z+M+ooYABEKOxwgoEf3uN64E7Nx1gknvC hGCb7iNhY8872n+WdtAmilZPoQQ0rMtAGDvHm1Vq1q3tfKjMBBVzXw41vcPODNaS jxIEm1vY1WGu8OiK04YjuZ63QUHi5ll1rgcVVEv81pPSzXdNwbXkFYKaXW7W3DAI f50G3/6PfpSzZ3B+3yKmC4hzyWvKQc3/WLJc6grC2eze3HLjkQaWSv/koSsq1cVR Wb5vkTYQdgWDbhfOcrg0ot6zSjKJ4oeefpJPTFR294ug3SxkmaPrJGSwqs9wqlRq 3qCW1uoSpwDYPjySsB5d5OKDvzeqqFmOCON/I/nfMHlGT6Prc0c= =b+fS -----END PGP SIGNATURE----- ------------=_1564275246-27162-0--