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#928689: marked as done (initramfs-tools: Fails with "cp: failed to access '/var/tmp/mkinitramfs_URATxd//usr/bin/touch': Too many levels of symbolic links") 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:33 2019 Old-Return-Path: X-Amavis-Spam-Status: No, score=-10.78 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, 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 928689 X-Debian-Pr-Package: initramfs-tools X-Debian-Pr-Source: initramfs-tools Reply-To: 928689@bugs.debian.org Content-Type: multipart/mixed; boundary="----------=_1564275248-27186-0" X-Mailing-List: archive/latest/121163 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/handler.928689.D928689.156427505325794.ackdone@bugs.debian.org Approved: robomod@news.nic.it Lines: 269 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Sun, 28 Jul 2019 00:54:08 +0000 X-Original-Message-ID: X-Original-References: <20190508224328.ii3a3icuxnywhtj2@sym.noone.org> Xref: csiph.com linux.debian.kernel:64570 This is a multi-part message in MIME format... ------------=_1564275248-27186-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#928689: fixed in initramfs-tools 0.134 has caused the Debian Bug report #928689, regarding initramfs-tools: Fails with "cp: failed to access '/var/tmp/mkini= tramfs_URATxd//usr/bin/touch': Too many levels of symbolic links" 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 928689: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D928689 Debian Bug Tracking System Contact owner@bugs.debian.org with problems ------------=_1564275248-27186-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by bugs.debian.org; 8 May 2019 22:43:35 +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=-24.1 required=4.0 tests=BAYES_00,FROMDEVELOPER, HAS_PACKAGE,HEADER_FROM_DIFFERENT_DOMAINS,TXREP,X_DEBBUGS_CC autolearn=ham autolearn_force=no version=3.4.2-bugs.debian.org_2005_01_02 X-Spam-Bayes: score:0.0000 Tokens: new, 5; hammy, 150; neutral, 161; spammy, 0. spammytokens: hammytokens:0.000-+--H*F:U*abe, 0.000-+--HFace:sk:iVBORw0, 0.000-+--H*o:Debian, 0.000-+--H*RU:sym2.noone.org, 0.000-+--H*r:sym2.noone.org Return-path: Received: from sym2.noone.org ([2a01:4f8:120:4161::3]) by buxtehude.debian.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hOVHi-00046m-P6 for submit@bugs.debian.org; Wed, 08 May 2019 22:43:35 +0000 Received: by sym2.noone.org (Postfix, from userid 1000) id 44zs2V5JhXzvjc1; Thu, 9 May 2019 00:43:29 +0200 (CEST) Date: Thu, 9 May 2019 00:43:29 +0200 From: Axel Beckert To: submit@bugs.debian.org Subject: initramfs-tools: Fails with "cp: failed to access '/var/tmp/mkinitramfs_URATxd//usr/bin/touch': Too many levels of symbolic links" Message-ID: <20190508224328.ii3a3icuxnywhtj2@sym.noone.org> References: <1544172227.2493473.1601828248.12337754@webmail.messagingengine.com> <1544172227.2493473.1601828248.12337754@webmail.messagingengine.com> <1544347454.2343811.1603522144.5094D8B6@webmail.messagingengine.com> <20190507222701.xsmcbceqin4wnlmm@sym.noone.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: Linux 4.9.0-8-amd64 X-Machine: sym2 x86_64 X-Editor: GNU Emacs 25.1.1 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAAAAAC3mUtaAAAABGdBTUEAALGPC/xhBQAAADh0RVh0U29mdHdhcmUAWFYgVmVyc2lvbiAzLjEwYSAgUmV2OiAxMi8yOS85NCAoUE5HIHBhdGNoIDEuMindFS5JAAACGElEQVQ4jXXQMU8UYRDG8f8shNjdDH4AbpfGDjAWlKiJiZ0ajL1aGCvsNCbGaCGG1koLaztaTYz6ATy+gOyehYmF3MxVxgg3FnDsHcTpJr/M+8w7Rf6nCsaVTTDqxbg9hoOXmw83H71+Eyfg4E1d7/Z2fG9rGkZbTQiu+K+3U/C+76lmkvAhJuDndnoAiftou4V84okAGclop4U/jYACZDTxrYWP0gkxVfAm/W//GLZpxIzwIN0Hn8dw0B+IWkZmQmRsj2HfhwokEklHfNCCiQCRgAR7YyhQVRVTCKCzP4Y5zBBE0t0zY3Q8oQaBqqAMlVEcgVQd9706zGirAFium8HXumlMIeMwqQCInju+2+uB6MRENupdpMt8pRlHZyuAW0F+Mb6XSIVqtxjD+iVmVqqystLEzFTGT92YqRaXpNT5eTVjeJhbALPnrTxLUZUKZsgxcNm64hAOYisT/xhF+oKTGU5RegtC3Rt6eEDi/QnIevdTx9Md2EMmYBRmCQR1026FCGQQJJExsRUqgkMGaWSbwYLnoO4T6VgpbQbdELPMBAHWWrhYrcxXnYgAsatPWygkFCBD4K62MAsOTqA6szYRPpsu6e6Y8mPiVrBMNuGIMrgwBUu4p2DgG1Ownu6hpuTv7hScefHAzAC/yRRw5U5pALMbJ4AUALvHSZhxgHPXTsHcdWD1GadAHr9avP+c0wCr7263Df8ASLwXWHWs+KIAAAAHdElNRQfYBQEBODPr Organization: The Debian Project X-Debbugs-Cc: Axel Beckert User-Agent: NeoMutt/20170113 (1.7.2) Delivered-To: submit@bugs.debian.org Package: initramfs-tools Version: 0.133 Severity: serious Control: affects -1 + fsprotect On an i386 Sid system (non-usrmerge and sysvinit-core), generating the initramfs fails as follows for at least every kernel installed or upgraded since the problem appeared the first time a while ago: /etc/kernel/postinst.d/initramfs-tools: update-initramfs: Generating /boot/initrd.img-4.19.0-4-686-pae cp: failed to access '/var/tmp/mkinitramfs_URATxd//usr/bin/touch': Too many levels of symbolic links E: /usr/share/initramfs-tools/hooks/fsprotect failed with return 1. update-initramfs: failed for /boot/initrd.img-4.19.0-4-686-pae with 1. run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1 dpkg: error processing package linux-image-4.19.0-4-686-pae (--configure): installed linux-image-4.19.0-4-686-pae package post-installation script subprocess returned error exit status 1 According to Ben Hutchings in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=915830#54 this is an issue in initramfs-tools and not in fsprotect: > This is a bug in initramfs-tools. The copy_file function applies two > transformations to the target filename: > > 1. If it matches /bin/*, /lib*, or /sbin/*, add /usr to the beginning > since the initramfs is usrmerged. > 2. If it refers a directory, add the basename of the source filename. > > These need to be done in the opposite order, to handle a target > filename of "/bin" correctly. Regards, Axel -- ,''`. | Axel Beckert , https://people.debian.org/~abe/ : :' : | Debian Developer, ftp.ch.debian.org Admin `. `' | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5 `- | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE ------------=_1564275248-27186-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 928689-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, 9; hammy, 150; neutral, 322; 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-0006hB-Ex for 928689-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-0005YS-Jd; Sun, 28 Jul 2019 00:50:52 +0000 Received: from dak by fasolo.debian.org with local (Exim 4.89) (envelope-from ) id 1hrXOl-0009Ar-IP; Sun, 28 Jul 2019 00:50:51 +0000 From: Ben Hutchings To: 928689-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#928689: fixed in initramfs-tools 0.134 Message-Id: Date: Sun, 28 Jul 2019 00:50:51 +0000 X-CrossAssassin-Score: 4 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 928689@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----- ------------=_1564275248-27186-0--