Mailinglist Archive: opensuse-bugs (12871 mails)

< Previous Next >
[Bug 431714] mkinitrd copies symlinks to initrd -> unbootable
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Mon, 12 Jan 2009 08:58:42 -0700 (MST)
  • Message-id: <20090112155842.A3989245390@xxxxxxxxxxxxxxxxxxxxxx>
https://bugzilla.novell.com/show_bug.cgi?id=431714

User joerg.pareigis@xxxxxxxxxx added comment
https://bugzilla.novell.com/show_bug.cgi?id=431714#c19


Jörg Pareigis <joerg.pareigis@xxxxxxxxxx> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |ASSIGNED
Info Provider|joerg.pareigis@xxxxxxxxxx |




--- Comment #19 from Jörg Pareigis <joerg.pareigis@xxxxxxxxxx> 2009-01-12
08:58:41 MST ---
Oh sorry,
perhaps I tried the old patch?
Now the patch works. But not the symlink-protection:

cd /sbin
ln -s /bin/cat
ln -s /bin/mount
ln -s /bin/umount
mkinitrd
gunzip and cpio -i /boot/initrd-2.6.25.18-0.2-default to /tmp/initrd
ls -l /tmp/initrd/bin
-rwxr-xr-x 1 root root 663704 Jan 12 16:46 bash
lrwxrwxrwx 1 root root 8 Jan 12 16:46 cat -> /bin/cat
-rwxr-xr-x 1 root root 40940 Jan 12 16:46 chmod
-rwxr-xr-x 1 root root 71288 Jan 12 16:46 cp
-rwxr-xr-x 1 root root 53084 Jan 12 16:46 date
-rwxr-xr-x 1 root root 19364 Jan 12 16:46 echo
-rwxr-xr-x 1 root root 32148 Jan 12 16:46 expr
-rwxr-xr-x 1 root root 1544 Jan 12 16:46 ipconfig
-rwxr-xr-x 1 root root 1544 Jan 12 16:46 ipconfig.sh
-rwxr-xr-x 1 root root 23944 Jan 12 16:46 kill
-rwxr-xr-x 1 root root 2024 Jan 12 16:46 linuxrc
-rwxr-xr-x 1 root root 37164 Jan 12 16:46 ln
-rwxr-xr-x 1 root root 95800 Jan 12 16:46 ls
-rwxr-xr-x 1 root root 28356 Jan 12 16:46 mkdir
-rwxr-xr-x 1 root root 23772 Jan 12 16:46 mknod
lrwxrwxrwx 1 root root 10 Jan 12 16:46 mount -> /bin/mount
-rwxr-xr-x 1 root root 79928 Jan 12 16:46 mv
-rwxr-xr-x 1 root root 45184 Jan 12 16:46 rm
-rwxr-xr-x 1 root root 10484 Jan 12 16:46 run-init
-rwxr-xr-x 1 root root 56400 Jan 12 16:46 sed
lrwxrwxrwx 1 root root 9 Jan 12 16:46 sh -> /bin/bash
-rwxr-xr-x 1 root root 27020 Jan 12 16:46 showconsole
-rwxr-xr-x 1 root root 19696 Jan 12 16:46 sleep
-rwxr-xr-x 1 root root 27796 Jan 12 16:46 test
-rwxr-xr-x 1 root root 19272 Jan 12 16:46 true
lrwxrwxrwx 1 root root 11 Jan 12 16:46 umount -> /bin/umount
-rwxr-xr-x 1 root root 6116 Jan 12 16:46 usleep

my /etc/SuSE-release:
openSUSE 11.0 (i586)
VERSION = 11.0

--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
< Previous Next >