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

Bug#783291: marked as done (/bin/touch is missing if built with BUSYBOX=n or busybox package not installed)



Your message dated Sun, 21 Feb 2016 00:17:08 +0000
with message-id <E1aXHi0-0006Pt-HD@franck.debian.org>
and subject line Bug#783291: fixed in initramfs-tools 0.120+deb8u1
has caused the Debian Bug report #783291,
regarding /bin/touch is missing if built with BUSYBOX=n or busybox package not installed
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.)


-- 
783291: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=783291
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: initramfs-tools
Version: 0.120
Severity: important

Am 25.04.2015 um 04:58 schrieb Mike Kupfer:
> Michael Biebl wrote:
> 
>> Which initramfs-tools version do you have installed?
> 
> ii  initramfs-tool 0.120        all          generic modular initramfs generat
> 
>> Have you made sure,
>> your initramfs is update (via update-initramfs).
> 
> I did
> 
>   # update-initramfs -u -k all
>   update-initramfs: Generating /boot/initrd.img-3.16.0-4-amd64
> 
> And rebooted.  Still seeing 2 fsck's for / (/dev/sda1).
> 
>> If you have initramfs-tools 0.120 installed and active, you should have
>> flag files such as /run/initramfs/fsck-root, indicating that the
>> initramfs has checked your / filesystem. In that case, systemd will skip
>> the check.
> 
> $ ls /run/initramfs
> fsck.log
> 
> (That's after running update-initramfs.)
> 
>> If those flag files are missing, either your initramfs-tools version is
>> not recent enough, or your initramfs was not updated.
> 
> I have an alternate suggestion.  In the thread "boot-time messages,
> /init touch not found" on debian-user, The Wanderer suggested that I
> unpack the initramfs image and see whether it contains bin/touch.
> 
> I did that, and it does not in fact contain anything called "touch".
> 
> # find . -name touch
> # 
> 
> Here's what bin contains:
> 
> # ls bin
> cat	false	insmod	  losetup  mknod     pivot_root  run-init  udevadm
> chroot	fstype	ipconfig  ls	   mount     poweroff	 sh	   umount
> cpio	gunzip	kill	  minips   mv	     readlink	 sleep	   uname
> dd	gzip	kmod	  mkdir    nfsmount  reboot	 sync
> dmesg	halt	ln	  mkfifo   nuke      resume	 true
> 
> I'm guessing that the lack of bin/touch is preventing this flag file
> from being created.

I can reproduce the missing /bin/touch if I build the initramfs without
busybox support. Can you check your /etc/initramfs-tools/initramfs.conf
if it contains BUSYBOX=n or if you have a snippet in
/etc/initramfs-tools/conf.d/ which sets BUSYBOX=n. Can you confirm, that
the missing /bin/touch is due to BUSYBOX=n?

In any case, this is a initramfs-tools bug.

Maybe it could replace the following  line in
/usr/share/initramfs-tools/scripts/functions:

touch $FSCK_STAMPFILE

with

:> $FSCK_STAMPFILE

This will work, even when built with busybox.

Filing a bug against initramfs-tools.
Looks like something we want to fix for 8.1

Regards,
Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Source: initramfs-tools
Source-Version: 0.120+deb8u1

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 783291@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ben Hutchings <ben@decadent.org.uk> (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: Sat, 20 Feb 2016 15:48:17 +0000
Source: initramfs-tools
Binary: initramfs-tools
Architecture: all source
Version: 0.120+deb8u1
Distribution: jessie
Urgency: medium
Maintainer: Debian kernel team <debian-kernel@lists.debian.org>
Changed-By: Ben Hutchings <ben@decadent.org.uk>
Closes: 602331 633582 747871 781239 782641 783291 783410 783620 785147 792557 795839 810808
Description: 
 initramfs-tools - generic modular initramfs generator
Changes:
 initramfs-tools (0.120+deb8u1) jessie; urgency=medium
 .
   [ Ben Hutchings ]
   * [c367d7d] scripts/functions: Use shell to create stamp file instead of
     'touch' (Closes: #783291)
   * [d22b95b] update-initramfs: Run 'sync' after writing the initramfs
     (Closes: #783620)
   * [c22cefe] hook-functions: Add support for nvme devices with MODULES=dep
     (Closes: #785147)
   * [e0b23a1] hook-functions: Add support for LVM/LUKS on mmcblk and nvme
     devices with MODULES=dep (Closes: #747871, #810808)
   * [0e905aa] scripts/functions: Fix fsck display options (Closes: #781239)
 .
   [ Laurent Bigonville ]
   * [3c4b38a] Support fsck.mode= and fsck.repair= parameters as known by
     systemd-fsck (Closes: #783410, #792557)
   * [dcb0f0c] Run new panic scripts just before dropping to a shell
     (Closes: #602331)
 .
   [ Boris Egorov ]
   * [2c82cf4] mkinitramfs: fix bashism in script (Closes: #633582)
 .
   [ Andy Whitcroft ]
   * [97b664e] When adding i8042 also add psmouse as some keyboards are behind
     the mouse (Closes: #795839)
 .
   [ Salvatore Bonaccorso ]
   * [71e5b62] scripts/nfs: Check return value from nfs_mount_root_impl
     (Closes: #782641)
Checksums-Sha1: 
 c8a03ba2194f6018497f3692d4f73fdb63e2d050 1737 initramfs-tools_0.120+deb8u1.dsc
 cd44bf2f65c06c1b584c6b046152247aa93bb282 80796 initramfs-tools_0.120+deb8u1.tar.xz
 29f3057044c89cda194a1eeeb5870a02cf44de73 96230 initramfs-tools_0.120+deb8u1_all.deb
Checksums-Sha256: 
 8b65c0ec514cdba3f185c082b59611b85c7ef6702b54accb349e710910576d32 1737 initramfs-tools_0.120+deb8u1.dsc
 e9854b2a7d6effb94a40c8bff518b04cfe6eaed63725d95bcf36adf93df49d5b 80796 initramfs-tools_0.120+deb8u1.tar.xz
 ae92dbe2fa71f5fc4343f6e8e79ded6c7e4682490c846074dda15c84c26fda2e 96230 initramfs-tools_0.120+deb8u1_all.deb
Files: 
 2aacdc3f120356865e9d5355ee951ce9 1737 utils optional initramfs-tools_0.120+deb8u1.dsc
 c69e54ba096e63c28513a343c99a1f21 80796 utils optional initramfs-tools_0.120+deb8u1.tar.xz
 d12b70c15ad8ad6ce0476d5cb7a0b565 96230 utils optional initramfs-tools_0.120+deb8u1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIVAwUBVsiNxee/yOyVhhEJAQpoXxAAl591JNDogazcJsB46yCh08j+/flLo7zN
CxLdzELB4AINRE2Dku4LJGx0TNLy2E1fSlEpPzj/srVTq5g88vrXBihimBOCdaz5
wSyiKaiOR15rQchngt/KHtfyYGi1nzQtZl2mGvaXgaGHucZT9/CYhhMTM5vycQAM
FE8whUkhNvzjBe+wXryIAQq0Lcpk3eD23lhO+T7rHsAbXqDjMZ5I9n2R6NlANCzH
ZjaKve/z41TdVPebUc+fd3Dnb3UqdhBqXAUL+hTzKRKPGJVmGGVS4SAS+tU7GKNn
NY87dz1IG4FAeQOOb1r1mRo8Osrvh3iMYxMKxgQEDcvtlDsvXGbu+/uKv5u1s222
7q1DMnHoJQPXZpX9h6znwLfqgQOi6SlglSWKrglQ3AqV5e4nfCM/6b9BRoVY8sTJ
223SkvhVadaT9VipI+LjqHC9wPFxdw9ogzu7/6wDcQilpLsoCqExJ7GASiRfeRw5
w6VVJe9jpo+2jR8aQghm0bJX9Ljf1zZGsAJvdRXV2JReW0b+iZoP0u96qU7uyWbU
XX7ndFLys/FLpo9ADSD+jWv6Og8lSTd/OSahjDeKkZeNNM9oWcH2nIxsZVMo8B8v
Lov71Fugt9yx4IPpqXiXjcKoh1rDrBRsyFDip1pomCkAR7mKBY16sVMCzBXtHOzT
Hl03DbjNeXo=
=8oDS
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: