[Bug 715918] [NEW] 'cp: cannot create special file' during geninitrd.

Paweł Sikora 715918 at bugs.launchpad.net
Wed Feb 9 18:28:47 CET 2011


Public bug reported:

during initrd regeneration we get ugly error message from 'cp'.

(...)
geninitrd: Setting up mdadm...
geninitrd: + cp /usr/lib64/initrd/mdassemble /root/tmp/initrd.YlprUo/bin/mdassemble
geninitrd: echo Setting up array (/dev/md0 = /dev/sdb1 /dev/sda1)
geninitrd: + cp /dev/sdb1 /root/tmp/initrd.YlprUo/dev/sdb1
geninitrd: + cp /dev/sda1 /root/tmp/initrd.YlprUo/dev/sda1
geninitrd: + cp /dev/md0 /root/tmp/initrd.YlprUo/dev/md0
geninitrd: + cp /dev/sda /root/tmp/initrd.YlprUo/dev/sda                <====== first copy (sda2,sdb2 == striped swap)
geninitrd: + cp /dev/sda2 /root/tmp/initrd.YlprUo/dev/sda2
geninitrd: + cp /dev/sda3 /root/tmp/initrd.YlprUo/dev/sda3
geninitrd: + cp /dev/sdb /root/tmp/initrd.YlprUo/dev/sdb
geninitrd: + cp /dev/sdb2 /root/tmp/initrd.YlprUo/dev/sdb2
geninitrd: + cp /dev/sdb3 /root/tmp/initrd.YlprUo/dev/sdb3
geninitrd: Adding rootfs finding based on kernel cmdline root= option support.
geninitrd: Setting up suspend...
geninitrd: + cp /dev/sda2 /root/tmp/initrd.YlprUo/dev/sda2               <===== second copy.
cp: cannot create special file `/root/tmp/initrd.YlprUo/dev/sda2': File exists
geninitrd: + cp /etc/suspend.conf /root/tmp/initrd.YlprUo/etc/suspend.conf
geninitrd: + cp /usr/lib64/suspend/resume /root/tmp/initrd.YlprUo/bin/resume
(...)

geninitrd-10000.31-0.1.noarch

** Affects: pld-linux
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are subscribed to PLD
Linux.
https://bugs.launchpad.net/bugs/715918

Title:
  'cp: cannot create special file' during geninitrd.

Status in PLD Linux Distribution:
  New

Bug description:
  during initrd regeneration we get ugly error message from 'cp'.

  (...)
  geninitrd: Setting up mdadm...
  geninitrd: + cp /usr/lib64/initrd/mdassemble /root/tmp/initrd.YlprUo/bin/mdassemble
  geninitrd: echo Setting up array (/dev/md0 = /dev/sdb1 /dev/sda1)
  geninitrd: + cp /dev/sdb1 /root/tmp/initrd.YlprUo/dev/sdb1
  geninitrd: + cp /dev/sda1 /root/tmp/initrd.YlprUo/dev/sda1
  geninitrd: + cp /dev/md0 /root/tmp/initrd.YlprUo/dev/md0
  geninitrd: + cp /dev/sda /root/tmp/initrd.YlprUo/dev/sda                <====== first copy (sda2,sdb2 == striped swap)
  geninitrd: + cp /dev/sda2 /root/tmp/initrd.YlprUo/dev/sda2
  geninitrd: + cp /dev/sda3 /root/tmp/initrd.YlprUo/dev/sda3
  geninitrd: + cp /dev/sdb /root/tmp/initrd.YlprUo/dev/sdb
  geninitrd: + cp /dev/sdb2 /root/tmp/initrd.YlprUo/dev/sdb2
  geninitrd: + cp /dev/sdb3 /root/tmp/initrd.YlprUo/dev/sdb3
  geninitrd: Adding rootfs finding based on kernel cmdline root= option support.
  geninitrd: Setting up suspend...
  geninitrd: + cp /dev/sda2 /root/tmp/initrd.YlprUo/dev/sda2               <===== second copy.
  cp: cannot create special file `/root/tmp/initrd.YlprUo/dev/sda2': File exists
  geninitrd: + cp /etc/suspend.conf /root/tmp/initrd.YlprUo/etc/suspend.conf
  geninitrd: + cp /usr/lib64/suspend/resume /root/tmp/initrd.YlprUo/bin/resume
  (...)

  geninitrd-10000.31-0.1.noarch




More information about the pld-bugs mailing list