Red Hat Bugzilla – Bug 447220
links not resolved properly
Last modified: 2008-06-24 22:53:44 EDT
Description of problem:
"There is a subtle but crucial flaw in the way sysfs_get_link()
resolves relative links of the pattern ../../abcd. In such a case,
sysfs_get_link() will simply discard trailing components of it's path
argument without checking whether they themselves are links and should
be resolved first."
The above causes multipathd to seg fault on startup:
I've locally patched libsysfs with the debian patch and this helps the seg fault
for multipathd (multipathd has an additionally problem although I am unsure
where the fault is).
Version-Release number of selected component (if applicable):
Would love to just take sysfsutils out back and shoot it, since it appears to be
pretty much completely dead upstream since the 2.1.0 release. The debian patch
has been sent to the project mailing list, but no replies from any developers.
I've gone ahead and tacked it onto a rawhide build that is working its way
through the build system right now.
thanks, fyi, it looks like multipathd upstream has ripped out libsysfs as a
dependency... which is good thing. :)
Good to know dm-multipath has ripped that out... :)
I'm also going to push an F9 updates-testing build of this patched sysfsutils,
and probably an F8 updates-testing one as well, as F8 may rebase to a 2.6.25
sysfsutils-2.1.0-4.fc9 has been submitted as an update for Fedora 9
sysfsutils-2.1.0-4.fc8 has been submitted as an update for Fedora 8
sysfsutils-2.1.0-4.fc8 has been pushed to the Fedora 8 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing update sysfsutils'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F8/FEDORA-2008-4182
sysfsutils-2.1.0-4.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report.
sysfsutils-2.1.0-4.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report.