Am 26.04.2015 um 20:40 schrieb Martin Pitt: > Hello Mike, Michael, > > Michael Biebl [2015-04-25 15:55 +0200]: >> Am 25.04.2015 um 14:21 schrieb Michael Biebl: >>> 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? >> >> The alternative is, that you have BUSYBOX=y, but you've uninstalled the >> busybox package. >> >> Mike, can you confirm that either one of those two is the case? > > I upgraded my server to Jessie today, and run into exactly the same > problem. busybox has never been installed on that machine, but > > $ grep -r BUSYBOX /etc/initramfs-tools/ > /etc/initramfs-tools/initramfs.conf:# BUSYBOX: [ y | n ] > /etc/initramfs-tools/initramfs.conf:BUSYBOX=y > > $ lsinitramfs /initrd.img|grep /touch > $ > > So I suppose for some reason I lost (or never got) busybox in the > original wheezy install, and as wheezy's i-t already recommends > busybox it wasn't installed on upgrade. "apt-get --fix-policy install" > pulls it in. > > Thus, I guess this is at least partially PEBCAK, but I'm not sure why > I didn't get busybox in wheezy.
I posted a patch at [1], which uses :>, thus doesn't require /bin/touch. I think it would be worthwile to get this fix into 8.1 Followups to this issue should please go to #783291. Cheers, Michael [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=783291#37 -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature