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

Bug#768913: marked as done (/etc/kernel/postinst.d/initramfs-tools: fragile PATH dependency)



Your message dated Thu, 11 Feb 2016 04:30:08 +0000
with message-id <E1aTitM-0005i8-98@franck.debian.org>
and subject line Bug#768913: fixed in initramfs-tools 0.123
has caused the Debian Bug report #768913,
regarding /etc/kernel/postinst.d/initramfs-tools: fragile PATH dependency
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.)


-- 
768913: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=768913
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: initramfs-tools
Version: 0.109.1
Severity: normal
File: /etc/kernel/postinst.d/initramfs-tools

The script /etc/kernel/postinst.d/initramfs-tools checks for the existence
of /usr/sbin/update-initramfs using an absolute path, but later invokes it
without any path. Among other possible dangers, this causes problems when
/usr/sbin is not in one's PATH.

I discovered this when trying to build a kernel with kernel-package,
fakeroot, and zsh (which by default does not include /usr/sbin in PATH for
ordinary users).


-- Package-specific info:
-- initramfs sizes
-- /proc/cmdline
BOOT_IMAGE=/vmlinuz-3.2.0-4-686-pae root=/dev/mapper/host-root ro quiet

-- resume
RESUME=/dev/mapper/host-swap_1
-- /proc/filesystems
	ext4
	ext2

-- lsmod
Module                  Size  Used by
nfsd                  173901  2 
nfs                   265953  0 
nfs_acl                12463  2 nfs,nfsd
auth_rpcgss            32143  2 nfs,nfsd
fscache                31978  1 nfs
lockd                  61373  2 nfs,nfsd
sunrpc                143904  6 lockd,auth_rpcgss,nfs_acl,nfs,nfsd
ext2                   49826  1 
loop                   17810  0 
snd_hda_intel          21786  0 
snd_hda_codec          63477  1 snd_hda_intel
snd_hwdep              12943  1 snd_hda_codec
i2c_piix4              12480  0 
snd_pcm                53461  2 snd_hda_intel,snd_hda_codec
snd_page_alloc         12867  2 snd_pcm,snd_hda_intel
virtio_balloon         12720  0 
psmouse                59609  0 
virtio_console         17883  0 
processor              27565  0 
thermal_sys            17752  1 processor
pcspkr                 12515  0 
evdev                  17225  2 
snd_timer              22356  1 snd_pcm
snd                    42761  5 snd_timer,snd_pcm,snd_hda_intel,snd_hwdep,snd_hda_codec
soundcore              12921  1 snd
joydev                 17010  0 
i2c_core               19116  1 i2c_piix4
serio_raw              12803  0 
button                 12817  0 
ext4                  306996  5 
crc16                  12327  1 ext4
jbd2                   56426  1 ext4
mbcache                12938  2 ext4,ext2
usbhid                 31554  0 
hid                    64284  1 usbhid
dm_mod                 57386  18 
sg                     21476  0 
sr_mod                 17468  0 
cdrom                  34813  1 sr_mod
ata_generic            12439  0 
virtio_blk             12754  3 
floppy                 48125  0 
virtio_net             17527  0 
ata_piix               25271  0 
libata                125014  2 ata_piix,ata_generic
scsi_mod              135081  3 libata,sr_mod,sg
uhci_hcd               22337  0 
ehci_hcd               39631  0 
virtio_pci             13015  0 
virtio_ring            12988  5 virtio_pci,virtio_net,virtio_blk,virtio_console,virtio_balloon
virtio                 12933  6 virtio_ring,virtio_pci,virtio_net,virtio_blk,virtio_console,virtio_balloon
usbcore               104555  4 ehci_hcd,uhci_hcd,usbhid
usb_common             12338  1 usbcore

-- /etc/initramfs-tools/modules

-- /etc/kernel-img.conf
# Kernel image management overrides
# See kernel-img.conf(5) for details
do_symlinks = yes
do_bootloader = no
do_initrd = yes
link_in_boot = no

-- /etc/initramfs-tools/initramfs.conf
MODULES=most
BUSYBOX=y
KEYMAP=n
COMPRESS=gzip
DEVICE=
NFSROOT=auto

-- /etc/initramfs-tools/update-initramfs.conf
update_initramfs=yes
backup_initramfs=no

-- mkinitramfs hooks
/etc/initramfs-tools/hooks/:

/usr/share/initramfs-tools/hooks:
busybox
dmsetup
keymap
klibc
kmod
lvm2
thermal
udev


-- System Information:
Debian Release: 7.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-4-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages initramfs-tools depends on:
ii  cpio               2.11+dfsg-0.1
ii  klibc-utils        2.0.1-3.1
ii  kmod               9-3
ii  module-init-tools  9-3
ii  udev               175-7.2

Versions of packages initramfs-tools recommends:
ii  busybox  1:1.20.0-7

Versions of packages initramfs-tools suggests:
ii  bash-completion  1:2.0-1

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: initramfs-tools
Source-Version: 0.123

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 768913@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: Thu, 11 Feb 2016 02:13:23 +0000
Source: initramfs-tools
Binary: initramfs-tools initramfs-tools-core
Architecture: source
Version: 0.123
Distribution: unstable
Urgency: medium
Maintainer: Debian kernel team <debian-kernel@lists.debian.org>
Changed-By: Ben Hutchings <ben@decadent.org.uk>
Description:
 initramfs-tools - generic modular initramfs generator (automation)
 initramfs-tools-core - generic modular initramfs generator (core tools)
Closes: 512679 588770 639876 767471 768913 792910 804071 807527 809206 809740 810154 812404 813229 814345
Changes:
 initramfs-tools (0.123) unstable; urgency=medium
 .
   [ Ben Hutchings ]
   * [3084929] debian/control: Remove redundant dependency on
     klibc-utils|busybox
   * [913a861] debian/control: Recommend the right busybox packages for the
     target distribution
   * [d4febbd] Remove busybox hook in favour of busybox's own (Closes: #810154)
   * [b5303a1] Update TODO for removal of busybox hook
   * [6cc3d85] hook-functions: Include any modular RTC drivers in the initramfs
   * [ceff05e] hooks/fsck: Stop setting e2fsck broken_system_clock option
     (Closes: #804071)
   * [9c105f0] Assume blkid is always installed, and remove fallbacks
   * [aaba4cb] hooks/fsck: Use get_fstype rather than blkid to probe filesystem
     type
   * [a8ed874] hooks/fsck: Always use get_fstype to probe type of root
     filesystem (Closes: #767471)
   * [e798629] Pass filesystem type from /etc/fstab to fsck when checking /usr
   * [55e075c] hook-functions: Include drivers for all keyboards when
     MODULES=dep (Closes: #639876)
   * [704bfa5] scripts/functions: Explicitly load keyboard drivers only at
     break=top
   * [c5b54ae] scripts/functions: Use more sensible modprobe options at
     break=top
   * [39e90c8] scripts/functions: Load more USB host controllers drivers on
     break=top
   * [8c437f5] scripts/functions: Load HID drivers at break=top
   * [619f2ca] scripts/functions: Connect panic shell to normal tty device
     (Closes: #512679)
   * [8b8b28c] hook-functions: Clean up split between dep_add_modules and
     dep_add_modules_mount
   * [5f34b94] hook-functions: Include modules for resume partition when
     MODULES=dep (Closes: #588770)
   * [31ab487] hook-functions: Stop force-loading drivers found through sysfs
     when MODULES=dep (Closes: #792910)
   * [07f2c88] kernel/postinst.d: Make test for update-initramfs consistent with
     invocation (Closes: #768913)
   * [e5476bf] copy_file: Skip duplicating symlink if it points to the target
     file (Closes: #812404)
   * [d0f4d06] initramfs-tools: Include empty /etc/initramfs-tools/conf.d
     directory (Closes: #809206)
   * [245d584] initramfs-tools.8: Update list of variables exported to hook
     scripts
   * [941429d] initramfs-tools.8: Add a new section for the general description
     of scripts
   * [3ff5d57] initramfs-tools.8: Add brief description of configuration hooks
     and files (Closes: #807527)
   * [c17a21a] Remove klibc hook in favour of klibc's own
   * [ea7e02d] bash-completion: Simplify by using _get_comp_words_by_ref
   * [9e23444] init: Use "case" rather than loop to look for "quiet" parameter
   * [49e4a05] init: Remove fallback from devtmpfs to tmpfs
   * [ab91306] init: Take over handling of rootdelay parameter from udev boot
     script (Closes: #809740)
   * [56dfe39] bash-completion: Rename our completion script so that it works
     again
   * [ac6d31f] mkinitramfs: Delete or report temporary files on failure
     (Closes: #814345)
   * [c8c932d] Move initramfs.conf around in maintainer scripts to avoid it
     being 'obsolete' (Closes: #813229)
   * [138af73] hook-functions: Dereference links when looking up block device
     number
 .
   [ Andy Whitcroft ]
   * [7774fa3] Don't display "Loading, please wait..." message when 'quiet' is
     in /proc/cmdline.
   * [c4ea209] Mount /dev with the default tmpfs size rather than sourcing
     udev.conf.
   * [b418ad4] Sync the mount options for /run from /lib/init/fstab
     (LP: #1152744)
   * [c44df0c] init: Mount /dev with "nosuid". Thanks to Daniel (LP: #1450960)
Checksums-Sha1:
 04ba47b72545885859efbd5c82c4a16abe1d31b5 1811 initramfs-tools_0.123.dsc
 24be51cd493c96640e34d80ae164c0f855826eb7 84040 initramfs-tools_0.123.tar.xz
Checksums-Sha256:
 4472617459414c9402b654d4e2adb20c175c79f371adf6489c87af1a7e6e3606 1811 initramfs-tools_0.123.dsc
 84f57262b3208b14d36a7758b24380a4c27475e5e1ef69868aaba22f98ea5ac8 84040 initramfs-tools_0.123.tar.xz
Files:
 499f42df5ff1573b9abab071e728227f 1811 utils optional initramfs-tools_0.123.dsc
 e181fd51440cb4b767524bdc95b25745 84040 utils optional initramfs-tools_0.123.tar.xz

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

iQIVAwUBVrvxnue/yOyVhhEJAQrgjBAAihP2c3a/kP8NeNKOG2Z4q09U0vZqNSRW
YR+I4EdAngQVfYgv96Cn8BH9c4pz7Cs3/LSKxoOzPMl055wuD2adLr5tugeFhqSv
+wqoV/IIX9xsqE41iWCHS2lmlY4QPUqwz9D5cTnQBeF8Gc6e0UM5q6Nt7m4NBKho
oYdiCSN8EG7ggWO5gpopOsLSl7J+Af8m/41uiuV6cQDwTU9sHUjQjFVGZ+1Z4h54
MPYyNnnDI9aFlK8/gs7iyyiJgxwangmmVaV8dbEwI6UGcAq6Xi6QeuNqRTeF7iGS
dhtfeYZ+KJv7RjTnKSFSXLx9EDXFlC32oW2t8B+yTfiEuX4+x4vyalEaUCAxMOEy
I9DkeH9VdBE/+vW08heYo9LznopqmWRj1uTyni2rQyAttsir9OToSQcRzrMMXEsR
mfpneVvIbF9VVaCnN1kgenaukfTg41iCX6r7rpPPJGPHCn2QddUI1YjCuMCp4p8B
GC5FPTdQCTbBQNVDF8jD0M94zUxzn/0LnUSke2feze4WZ7EKn43uEFgr0Vy6uoLz
L9cMd3aBcN4938s7BBvvjpPsDJqgXCoJwPIrefXDANKnKSPCIHoEkyNix80BhbK/
rF2yDTtjsVlTwrs1KiMWsv7NiQMQKy402T7ZsjozvQjW336OlBg8cHT3hML/YSE0
+bYohGrV3i4=
=6L3y
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: