Description of problem: Invalid hostname when trying to automount /net mount points. This bug was identified in https://bugzilla.am-utils.org/show_bug.cgi?id=612. There is a patch in the bug report, but the bug has never been fixed. It is broken in Fedora 13 and probably in Fedora 12 and maybe Fedora 11 as well. It is dependent on the version of the kernel being used. Version-Release number of selected component (if applicable): am-utils 5:6.1.5-16.fc13 How reproducible: Try to access a /net mountpoint. Steps to Reproduce: 1. fss06 is a server with an exported file system in my network 2. ls /net/fss06 3. Actual results: Invalid hostname "pid1234@fss06:/net" Expected results: List of directories at /net/fss06 Additional info: To fix this I have successfully downloaded the source code (and patches) and recompiled with the pre-existing patches and this patch: --- am-utils-6.1.5/amd/autil.c.bak 2010-08-19 10:23:54.000000000 -0400 +++ am-utils-6.1.5/amd/autil.c 2010-08-19 10:37:55.000000000 -0400 @@ -492,8 +492,10 @@ /* * Make a ``hostname'' string for the kernel */ - xsnprintf(fs_hostname, sizeof(fs_hostname), "pid%ld@%s:%s", - get_server_pid(), am_get_hostname(), dir); + //xsnprintf(fs_hostname, sizeof(fs_hostname), "pid%ld@%s:%s", + // get_server_pid(), am_get_hostname(), dir); + xsnprintf(fs_hostname, sizeof(fs_hostname), "%s", + am_get_hostname()); /* * Most kernels have a name length restriction (64 bytes)... */
am-utils-6.1.5-16.1.fc13 has been submitted as an update for Fedora 13. https://admin.fedoraproject.org/updates/am-utils-6.1.5-16.1.fc13
am-utils-6.1.5-17.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/am-utils-6.1.5-17.fc14
I tested the Fedora 13 update at https://admin.fedoraproject.org/updates/am-utils-6.1.5-16.1.fc13 and it works.
am-utils-6.1.5-17.fc14 has been pushed to the Fedora 14 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 am-utils'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/am-utils-6.1.5-17.fc14
am-utils-6.1.5-17.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.
am-utils-6.1.5-16.1.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.