Bug 640383 - am-utils doesn't work in Fedora 13
Summary: am-utils doesn't work in Fedora 13
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: am-utils
Version: 13
Hardware: All
OS: Linux
low
high
Target Milestone: ---
Assignee: Karel Zak
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-10-05 17:34 UTC by Fred Odendaal
Modified: 2010-10-27 22:35 UTC (History)
1 user (show)

Fixed In Version: am-utils-6.1.5-16.1.fc13
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-10-15 12:41:55 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Fred Odendaal 2010-10-05 17:34:15 UTC
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)...
    */

Comment 1 Fedora Update System 2010-10-06 10:09:05 UTC
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

Comment 2 Fedora Update System 2010-10-06 10:32:39 UTC
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

Comment 3 Fred Odendaal 2010-10-07 15:03:04 UTC
I tested the Fedora 13 update at https://admin.fedoraproject.org/updates/am-utils-6.1.5-16.1.fc13 and it works.

Comment 4 Fedora Update System 2010-10-07 19:51:35 UTC
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

Comment 5 Fedora Update System 2010-10-15 12:41:46 UTC
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.

Comment 6 Fedora Update System 2010-10-27 22:35:21 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.