https://bugzilla.novell.com/show_bug.cgi?id=304269#c14
Thomas Fehr changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|fehr@novell.com |locilka@novell.com
--- Comment #14 from Thomas Fehr 2007-08-27 04:13:53 MST ---
Lukas you changed semantic of second parameter in call to
Storage::DeviceMatchFstab compared to SLES10SP1.
In SLES10SP1 the second parameter in call to Storage::DeviceMatchFstab was
the untranslated device name from /etc/fstab of the system to update.
In 10.3 you do the translations of device names in fstab of the system to
update (by calling TranslateFsOrCryptoTab in function read_fstab_and_cryptotab)
before calling Storage::DeviceMatchFstab.
Storage::DeviceMatchFstab still assumes to get an untranslated name and
therefore translates it again. This of course leads to wrong return values
of Storage::DeviceMatchFstab. Since RootPart.ycp is the only user of function
DeviceMatchFstab it is no problem to change this to expect translated fstab
names. Sould i?
Unfortunately there seem to be further problems.
No idea why updated fstab still has hda2, the translation from y2log file
are correct:
Storage.ycp:5360 GetTranslatedDevices names ["/dev/hda2", "/dev/hda3",
"/dev/hda1", "/dev/sda1"
Storage.ycp:5376 GetTranslatedDevices ret ["/dev/sda2", "/dev/sda3",
"/dev/sda1", "/dev/sdb1"
Please have a look at the code in RootPart.ycp and tell me if I should change
semantics of Storage::DeviceMatchFstab.
--
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.