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

Bug#493070: marked as done (initramfs-tools: update-initramfs overwrites symbolic link)



Your message dated Fri, 26 Mar 2010 21:00:43 +0100
with message-id <20100326200043.GD22870@baikonur.stro.at>
and subject line Re: initramfs-tools: update-initramfs overwrites symbolic link
has caused the Debian Bug report #493070,
regarding initramfs-tools: update-initramfs overwrites symbolic link
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.)


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

Hello,

update-initramfs uses mkinitramfs to create a temporary file containing the
new ramdisk and then moves (mv -f) that file to the final destination
/boot/initrd.img-$version. If /boot/initrd.img-$version has been a symbolic
link before(maybe because /etc/kernel-img.conf contains: reverse_symlinks = Yes),
mv -f removes the link and replaces it by a file. That is probably not
wanted by users who use reverse symlinks. So, I suggest to use "cp -f" and
"rm -f" instead of "mv -f".

Regards
  Christoph  

-- Package-specific info:
-- /proc/cmdline
root=/dev/sda1 ro

-- /proc/filesystems
	ext3

-- lsmod
Module                  Size  Used by
i915                   22144  2 
drm                    74324  3 i915
nfs                   228264  0 
vboxdrv                70304  0 
nfsd                  204432  17 
lockd                  60968  3 nfs,nfsd
nfs_acl                 3584  2 nfs,nfsd
auth_rpcgss            39904  1 nfsd
sunrpc                171484  11 nfs,nfsd,lockd,nfs_acl,auth_rpcgss
exportfs                4832  1 nfsd
ppdev                   8900  0 
lp                     11204  0 
ac                      6212  0 
battery                13700  0 
xt_pkttype              1984  2 
xt_tcpudp               3264  7 
ipt_REDIRECT            2176  0 
ipt_REJECT              4608  0 
ipt_LOG                 6176  12 
xt_limit                2720  13 
xt_state                2528  6 
iptable_mangle          2880  0 
iptable_nat             7044  0 
nf_nat                 18700  2 ipt_REDIRECT,iptable_nat
iptable_filter          3040  1 
nf_conntrack_ipv4      17544  8 iptable_nat
nf_conntrack           62656  4 xt_state,iptable_nat,nf_nat,nf_conntrack_ipv4
ip_tables              13316  3 iptable_mangle,iptable_nat,iptable_filter
x_tables               14372  9 xt_pkttype,xt_tcpudp,ipt_REDIRECT,ipt_REJECT,ipt_LOG,xt_limit,xt_state,iptable_nat,ip_tables
ipv6                  242212  24 
loop                   16996  0 
snd_hda_intel         274848  0 
parport_pc             26340  1 
parport                34472  3 ppdev,lp,parport_pc
floppy                 54724  0 
rtc                    13148  0 
i2c_i801                9456  0 
snd_pcm_oss            38368  0 
snd_mixer_oss          15424  1 snd_pcm_oss
pcspkr                  3264  0 
i2c_core               22656  1 i2c_i801
snd_pcm                72036  2 snd_hda_intel,snd_pcm_oss
iTCO_wdt               11396  0 
snd_seq_dummy           3844  0 
snd_seq_oss            29632  0 
snd_seq_midi            8256  0 
snd_rawmidi            22816  1 snd_seq_midi
snd_seq_midi_event      7040  2 snd_seq_oss,snd_seq_midi
container               4960  0 
snd_seq                46736  6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer              21348  2 snd_pcm,snd_seq
snd_seq_device          7948  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
button                  8528  0 
intel_agp              23540  1 
snd                    48772  9 snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
agpgart                31912  3 drm,intel_agp
soundcore               7680  1 snd
snd_page_alloc         10184  2 snd_hda_intel,snd_pcm
evdev                  11200  1 
ext3                  123272  5 
jbd                    43892  1 ext3
mbcache                 8480  1 ext3
dm_mirror              21792  0 
dm_snapshot            17060  0 
dm_mod                 56004  2 dm_mirror,dm_snapshot
ide_cd                 36352  0 
cdrom                  32672  1 ide_cd
sd_mod                 27296  7 
generic                 4484  0 [permanent]
piix                    7556  0 [permanent]
ide_core              108740  3 ide_cd,generic,piix
usbhid                 28032  0 
hid                    34400  1 usbhid
ata_generic             7556  0 
ata_piix               17380  6 
libata                144560  2 ata_generic,ata_piix
scsi_mod              141516  2 sd_mod,libata
ehci_hcd               32556  0 
uhci_hcd               23568  0 
usbcore               127724  4 usbhid,ehci_hcd,uhci_hcd
tg3                    89316  0 
thermal                16092  0 
processor              36840  1 thermal
fan                     4868  0 

-- kernel-img.conf
do_bootfloppy = no
do_bootloader = no
do_symlinks = no
warn_initrd = no
postinst_hook = /usr/sbin/update-grub
postrm_hook   = /usr/sbin/update-grub


-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.24-etchnhalf.1-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages initramfs-tools depends on:
ii  busybox                   1:1.1.3-4      Tiny utilities for small and embed
ii  cpio                      2.6-18.1+etch1 GNU cpio -- a program to manage ar
ii  klibc-utils               1.4.34-2       small statically-linked utilities 
ii  module-init-tools         3.3-pre4-2     tools for managing Linux kernel mo
ii  udev                      0.105-irb4.0   /dev/ and hotplug management daemo

initramfs-tools recommends no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
> /etc/kernel-img.conf contains: reverse_symlinks = Yes

this is so broken and not supported anymore.

afair killed any usage of it in linux-2.6 for long time ago.
not sure if recent kernel-package supports it.
apparently not, not even mentioned in kernel-img.conf

closing as this is not meant to work.



--- End Message ---

Reply to: