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

Bug#692333: marked as done (initramfs-tools: update-initramfs creates absolute symlink to /boot/initrd.img-..)



Your message dated Mon, 5 Nov 2012 07:34:37 +0000
with message-id <20121105073437.GL10378@vostochny.stro.at>
and subject line Re: Bug#692333: initramfs-tools: update-initramfs creates absolute symlink to /boot/initrd.img-..
has caused the Debian Bug report #692333,
regarding initramfs-tools: update-initramfs creates absolute symlink to /boot/initrd.img-..
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.)


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

Dear Maintainer,

After updating the kernel (via aptitude), update-initramfs is
called to generate a new initrd.img file:

  update-initramfs: Generating /boot/initrd.img-3.2.0-4-686-pae

Symlink /initrd.img is also created, but it points to
/boot/initrd.img-.. rather than to boot/initrd.img-..  This causes
a problem when, e.g., lilo is run with the filesystem mounted at
/foo, in which case /foo/initrd.img points to the wrong location.

(The kernel is set up correctly: /vmlinuz -> boot/vmlinuz-..)


-- Package-specific info:
-- initramfs sizes
-- /proc/cmdline
auto BOOT_IMAGE=testing ro root=UUID=e1490160-b40c-4e12-b676-a88e347a22ab reboot=w

-- resume
# RESUME=/dev/sda5
RESUME='UUID=e42e1e36-27a7-46ef-a336-46eeb6d91e47'
-- /proc/filesystems
	ext3

-- lsmod
Module                  Size  Used by
dm_mod                 57278  0 
cpufreq_userspace      12520  0 
cpufreq_powersave      12422  0 
cpufreq_stats          12762  0 
cpufreq_conservative    12987  0 
pci_stub               12397  1 
vboxpci                18713  0 
vboxnetadp             25431  0 
vboxnetflt             23231  0 
vboxdrv               165027  3 vboxnetflt,vboxnetadp,vboxpci
uinput                 12991  1 
ipt_LOG                12533  9 
xt_limit               12484  9 
ipt_REJECT             12454  5 
xt_state               12455  6 
xt_tcpudp              12506  19 
iptable_mangle         12488  0 
iptable_nat            12800  1 
nf_nat                 17924  1 iptable_nat
nf_conntrack_ipv4      13726  9 nf_nat,iptable_nat
nf_defrag_ipv4         12443  1 nf_conntrack_ipv4
nf_conntrack           43121  4 nf_conntrack_ipv4,nf_nat,iptable_nat,xt_state
iptable_filter         12488  1 
ip_tables              17079  3 iptable_filter,iptable_nat,iptable_mangle
x_tables               18121  9 ip_tables,iptable_filter,iptable_nat,iptable_mangle,xt_tcpudp,xt_state,ipt_REJECT,xt_limit,ipt_LOG
nfsd                  173714  13 
nfs                   265779  5 
nfs_acl                12463  2 nfs,nfsd
auth_rpcgss            32143  2 nfs,nfsd
fscache                31978  1 nfs
lockd                  57255  2 nfs,nfsd
sunrpc                143853  33 lockd,auth_rpcgss,nfs_acl,nfs,nfsd
asus_laptop            18060  0 
sparse_keymap          12680  1 asus_laptop
input_polldev          12802  1 asus_laptop
firewire_sbp2          17664  0 
loop                   17810  0 
snd_hda_codec_si3054    12662  1 
snd_hda_codec_realtek   142221  1 
snd_hda_intel          21856  0 
snd_hda_codec          63477  3 snd_hda_intel,snd_hda_codec_realtek,snd_hda_codec_si3054
snd_hwdep              12943  1 snd_hda_codec
snd_pcm_oss            36181  0 
snd_mixer_oss          17668  1 snd_pcm_oss
snd_pcm                53390  4 snd_pcm_oss,snd_hda_codec,snd_hda_intel,snd_hda_codec_si3054
joydev                 17010  0 
snd_page_alloc         12867  2 snd_pcm,snd_hda_intel
snd_seq_midi           12744  0 
snd_seq_midi_event     13124  1 snd_seq_midi
snd_rawmidi            18376  1 snd_seq_midi
arc4                   12418  2 
snd_seq                39487  2 snd_seq_midi_event,snd_seq_midi
uvcvideo               56896  0 
videodev               61658  1 uvcvideo
media                  13692  2 videodev,uvcvideo
snd_seq_device         13016  3 snd_seq,snd_rawmidi,snd_seq_midi
snd_timer              22356  2 snd_seq,snd_pcm
i915                  307698  2 
snd                    42691  12 snd_timer,snd_seq_device,snd_seq,snd_rawmidi,snd_pcm,snd_mixer_oss,snd_pcm_oss,snd_hwdep,snd_hda_codec,snd_hda_intel,snd_hda_codec_realtek,snd_hda_codec_si3054
sdhci_pci              13576  0 
r592                   17543  0 
memstick               13434  1 r592
sdhci                  22377  1 sdhci_pci
uhci_hcd               22337  0 
drm_kms_helper         22699  1 i915
psmouse                54927  0 
iwl4965                73683  0 
r8169                  41810  0 
iwl_legacy             47020  1 iwl4965
mac80211              171359  2 iwl_legacy,iwl4965
acpi_cpufreq           12807  0 
mii                    12595  1 r8169
sg                     21476  0 
sr_mod                 17468  0 
cdrom                  34813  1 sr_mod
firewire_ohci          26784  0 
r852                   17530  0 
ata_generic            12439  0 
firewire_core          38719  2 firewire_ohci,firewire_sbp2
soundcore              12921  1 snd
cfg80211              117454  3 mac80211,iwl_legacy,iwl4965
sm_common              16434  1 r852
nand                   43624  2 sm_common,r852
nand_ecc               12412  1 nand
rfkill                 18516  2 cfg80211,asus_laptop
crc_itu_t              12331  1 firewire_core
nand_ids                8209  1 nand
ehci_hcd               35509  0 
ata_piix               21175  0 
i2c_i801               12670  0 
mtd                    27561  2 nand,sm_common
usbcore               104352  4 ehci_hcd,uhci_hcd,uvcvideo
drm                   134178  3 drm_kms_helper,i915
mmc_core               61993  2 sdhci,sdhci_pci
mperf                  12421  1 acpi_cpufreq
battery                12957  0 
ac                     12552  0 
i2c_algo_bit           12713  1 i915
iTCO_wdt               16945  0 
serio_raw              12803  0 
evdev                  17225  16 
processor              27565  3 acpi_cpufreq
power_supply           13283  2 ac,battery
usb_common             12338  1 usbcore
i2c_core               19116  6 i2c_algo_bit,drm,i2c_i801,drm_kms_helper,i915,videodev
coretemp               12770  0 
iTCO_vendor_support    12632  1 iTCO_wdt
video                  17412  1 i915
button                 12817  1 i915
pcspkr                 12515  0 
ext3                  138190  6 
mbcache                12897  1 ext3
jbd                    47281  1 ext3
sd_mod                 35425  8 
crc_t10dif             12332  1 sd_mod
ahci                   20821  7 
libahci                18308  1 ahci
thermal                13103  0 
thermal_sys            17752  3 thermal,video,processor
libata                124981  4 libahci,ahci,ata_piix,ata_generic
scsi_mod              135124  5 libata,sd_mod,sr_mod,sg,firewire_sbp2

-- /etc/initramfs-tools/modules

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

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

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

-- /sys/block
loop0
loop1
loop2
loop3
loop4
loop5
loop6
loop7
sda
sr0

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

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


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-3-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages initramfs-tools depends on:
ii  cpio               2.11-8
ii  klibc-utils        2.0.1-3
ii  kmod               9-2
ii  module-init-tools  9-2
ii  udev               175-7

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

Versions of packages initramfs-tools suggests:
pn  bash-completion  <none>

-- Configuration Files:
/etc/initramfs-tools/initramfs.conf changed [not included]

-- no debconf information

--- End Message ---
--- Begin Message ---
On Sun, Nov 04, 2012 at 07:33:59PM -0800, Bill Brelsford wrote:
> Package: initramfs-tools
> Version: 0.109
> Severity: normal
> 
> Dear Maintainer,
> 
> After updating the kernel (via aptitude), update-initramfs is
> called to generate a new initrd.img file:
> 
>   update-initramfs: Generating /boot/initrd.img-3.2.0-4-686-pae
> 
> Symlink /initrd.img is also created, but it points to
> /boot/initrd.img-.. rather than to boot/initrd.img-..  This causes
> a problem when, e.g., lilo is run with the filesystem mounted at
> /foo, in which case /foo/initrd.img points to the wrong location.

This symlink isn't set up by initramfs-tools, hence closing report.
 
> (The kernel is set up correctly: /vmlinuz -> boot/vmlinuz-..)

In any case it is ugly. Tools should not rely on that symlink.

Best,

-- 
maks

--- End Message ---

Reply to: