[Bug 273105] New: Function "check fstab entries" in "Custom Repair" from boot DVD/CD is broken / not up to date
https://bugzilla.novell.com/show_bug.cgi?id=273105 Summary: Function "check fstab entries" in "Custom Repair" from boot DVD/CD is broken / not up to date Product: openSUSE 10.3 Version: Alpha 3plus Platform: x86 OS/Version: openSUSE 10.3 Status: NEW Severity: Major Priority: P5 - None Component: Installation AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: casualprogrammer@yahoo.com QAContact: jsrain@novell.com When running the "check fstab entries" from the boot DVD/CD (openSuSE 10.3 alpha3) errors are reported and repair offered, although fstab is just fine. Obviously the newer settings are not known to the tool, or else its plainly broken. This is likely to cause major havoc, as "repairing" will probably render the installation useless. ( I am not going to try this ) -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=273105 ------- Comment #1 from casualprogrammer@yahoo.com 2007-05-10 01:57 MST ------- Created an attachment (id=138855) --> (https://bugzilla.novell.com/attachment.cgi?id=138855&action=view) Screenshot of Custom Repair menu -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=273105 ------- Comment #2 from casualprogrammer@yahoo.com 2007-05-10 01:58 MST ------- Created an attachment (id=138856) --> (https://bugzilla.novell.com/attachment.cgi?id=138856&action=view) Screenshot of repair suggestions -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=273105 ------- Comment #3 from casualprogrammer@yahoo.com 2007-05-10 01:58 MST ------- Created an attachment (id=138858) --> (https://bugzilla.novell.com/attachment.cgi?id=138858&action=view) Screenshot of remove suggestions -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=273105 chrubis@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |jsuchome@novell.com |screening@forge.provo.novell| |.com | -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=273105 ------- Comment #4 from jsuchome@novell.com 2007-05-14 02:55 MST ------- Created an attachment (id=139648) --> (https://bugzilla.novell.com/attachment.cgi?id=139648&action=view) 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=273105 jsuchome@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |fehr@novell.com ------- Comment #5 from jsuchome@novell.com 2007-05-14 03:32 MST ------- Thomas, could you help? For example, the fstab entry suggested by Storage::onepartition2fstab is for example ["/dev/sda6":$["device":"/dev/sda6", "freq":1, "mntops":"acl,user_xattr", "mount":"/data2", "passno":1, "spec":"/dev/sda6", "vfstype":"ext3"]], while the line in fstab (coming from the installation) is /dev/disk/by-id/scsi-SATA_ST340016A_3HS8YAL0-part6 / ext3 acl,user_xattr 1 1 I have also the function which takes the device ("/dev/sda6") and tries to check if the device has the entry in fstab. There used to be a check for device string in the fstab line, which appears to be no longer valid. Could you advise me the correct way? -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=273105 fehr@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fehr@novell.com Status|NEEDINFO |NEW Info Provider|fehr@novell.com | ------- Comment #6 from fehr@novell.com 2007-05-14 03:51 MST ------- Unsing the device /dev/disk/by-id/...-part[0-9]+ is the new default way of naming devices in /etc/fstab. If you would like to check if a kernel device name is the same as a dev/disk/by-id name you could do the following (in pseducode): string kernelname; string fstabname; map tg = Storage::GetTargetMap(); map p = Storage::GetPartition( tg, fstabname ); if( p["device"]:"" == kernelname ) //devices match else //devices do not match. Storage::GetPartition() understands all type of names possible used in /etc/fstab as second parameter (e.g. /dev/sda1, /dev/disk/by-id/scsi-SATA_ST340016A_3HS8YAL0-part6, /dev/disk/by-path/pci-0000:00:1f.2-scsi-2:0:0:0-part4, LABEL=emil, UUID=b9a196ae-392d-4fbc-aa96-20967ff9c2c9) There is also a function Storage::DeviceMatchFstab() used by update code that gets a kernel name and a string used as first field in a fstab line and returns true/false if both match. But Storage::DeviceMatchFstab() also takes possible renaming of devices into account (e.g. /dev/hda in SL 10.2 gets /dev/sda in SL 10.3) no idea if this is usable with the logic in repair code. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=273105 jsuchome@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=273105 jsuchome@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED ------- Comment #7 from jsuchome@novell.com 2007-05-16 02:31 MST ------- fixed in yast2-repair-2.15.5 -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=273105 ------- Comment #8 from jsuchome@novell.com 2007-05-16 02:47 MST ------- No, actually in yast2-repair-2.15.6 -- 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, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com