[Bug 458018] New: Even though I did select "mount by label" for my root partition, it is booted by ID.
https://bugzilla.novell.com/show_bug.cgi?id=458018 Summary: Even though I did select "mount by label" for my root partition, it is booted by ID. Product: openSUSE 11.1 Version: Final Platform: x86-64 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Installation AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: seife@novell.com QAContact: jsrain@novell.com Found By: Development Created an attachment (id=259206) --> (https://bugzilla.novell.com/attachment.cgi?id=259206) yast2 logs from save_y2logs Yesterday I did a clean installation of 11.1 final. I did mount all my partitions except swap and crypted home by label: root@stoetzler:~# cat /etc/fstab LABEL=boot /boot ext3 acl,user_xattr 1 2 LABEL=root / ext3 acl,user_xattr 1 1 /dev/disk/by-id/ata-TOSHIBA_MK1214GAH_68E7W03RW-part5 swap swap defaults 0 0 /dev/mapper/cr_sda7 /home ext3 noauto 0 0 proc /proc proc defaults 0 0 sysfs /sys sysfs noauto 0 0 debugfs /sys/kernel/debug debugfs noauto 0 0 usbfs /proc/bus/usb usbfs noauto 0 0 devpts /dev/pts devpts mode=0620,gid=5 0 0 LABEL=local /local ext3 defaults 1 2 However, the root filesystem is still searched by-id in /boot/grub/menu.lst: ###Don't change this comment - YaST2 identifier: Original name: linux### title openSUSE 11.1 - 2.6.27.7-9 root (hd0,1) kernel /vmlinuz-2.6.27.7-9-default root=/dev/disk/by-id/ata-TOSHIBA_MK1214GAH_68E7W03RW-part6 sysrq=yes printk.time=1 resume=/dev/disk/by-id/ata-TOSHIBA_MK1214GAH_68E7W03RW-part5 splash=silent showopts vga=0x317 initrd /initrd-2.6.27.7-9-default I'll attach y2logs -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=458018
User aorlovskyy@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=458018#c1
Alexander Orlovskyy
https://bugzilla.novell.com/show_bug.cgi?id=458018
Michael Andres
https://bugzilla.novell.com/show_bug.cgi?id=458018
User juhliarik@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=458018#c3
Jozef Uhliarik
https://bugzilla.novell.com/show_bug.cgi?id=458018
User seife@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=458018#c4
Stefan Seyfried
Stefan and are you sure that you selected "mount-by label" globaly in storage for all partitions and disks? (not only write label for some partitions)
No, I'm not. (the new partitioner is overly complicated and confusing anyway and I have no Idea where to select that).
please look at /etc/sysconfig/storage and there check value of "DEVICE_NAMES" ;-) if it is not "label" -> you know where is the problem ;-)
DEVICE_NAMES="id" But until now I did not even know that such a file exists.
I check global settings of storage for yast2-bootloader not only for partitions. It should be cause why your root is /dev/disk/by-id/...
But if it gets mounted in fstab by label, it should also be by-label in menu.lst. I don't know and I don't care for any system wide settings, but this stuff needs to be consistent, or it will break on users without them having a chance to understand why. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=458018
User juhliarik@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=458018#c5
Jozef Uhliarik
https://bugzilla.novell.com/show_bug.cgi?id=458018
User aschnell@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=458018#c6
Arvin Schnell
https://bugzilla.novell.com/show_bug.cgi?id=458018
User seife@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=458018#c7
Stefan Seyfried
https://bugzilla.novell.com/show_bug.cgi?id=458018
User aschnell@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=458018#c8
Arvin Schnell
https://bugzilla.novell.com/show_bug.cgi?id=458018
User juhliarik@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=458018#c9
Jozef Uhliarik
https://bugzilla.novell.com/show_bug.cgi?id=458018
User aorlovskyy@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=458018#c10
Alexander Orlovskyy
https://bugzilla.novell.com/show_bug.cgi?id=458018
User seife@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=458018#c12
Stefan Seyfried
https://bugzilla.novell.com/show_bug.cgi?id=458018
User odabrunz@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=458018#c14
Olaf Dabrunz
But if it gets mounted in fstab by label, it should also be by-label in menu.lst. I don't know and I don't care for any system wide settings, but this stuff needs to be consistent, or it will break on users without them having a chance to understand why.
I fully agree. Comment #9:
Please look at FATE #302219 my comment #14.
Please note that FATE #302219 has nothing to do with setting a global default for the persistent device types ("by-id", "by-label", ...) of *partition* devices ("/dev/sda3", "/dev/hda5" ...). But this was probably implemented, and that is why you see this behaviour... Comment #7 describes something which could be misunderstood in this way, and I talked to Ihno about this problem when he wrote it. Anyhow, at that time it was more pressing to talk with yast2-storage people about their reservations against this feature. I talked to them in person. Comment #10 in the feature, from the second paragraph on, summarizes this discussion. The baseline is: yast did not give the user the choice to define the persistent device type ("by-id", "by-label", ...) for *disk* device names ("/dev/sda", "/dev/hda" ...). I was campaigning to offer this setting in yast2-storage, so that the settings for *both* the *partition* device names and the *disk* device names are provided by yast2-storage (a default setting for all of them, and individual settings if the users configures this). This would be consistent and easy to use from a user perspective. Alas, yast2-storage people at that time did not feel responsible for *disk* device settings, just for *partition* device settings. The latter are stored in /etc/fstab, but *disk* device settings need not be configured in /etc/fstab. I hoped that the *individual* settings for the *disk* device names (i.e. settings that override the global setting) could be stored elsewhere by yast2-storage, e.g. in /etc/sysconfig/storage. But obviously now the *global* setting for *both disk and storage* devices is stored there. This was never requested by me. I was hoping comment #10 in the feature would clarify this, but it was rejected as a flame (as, to my dismay, Jozef repeated in comment #9 in this bug). -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=458018
User juhliarik@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=458018#c15
Jozef Uhliarik
participants (1)
-
bugzilla_noreply@novell.com