Bug 6903 - autofs broken by missing symbol in mount_nfs.so
Summary: autofs broken by missing symbol in mount_nfs.so
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: i586 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-30 02:15 CEST by Juan Magallon
Modified: 2012-07-31 00:31 CEST (History)
3 users (show)

See Also:
Source RPM: autofs-5.0.7-1.mga3.src.rpm
CVE:
Status comment:


Attachments

Description Juan Magallon 2012-07-30 02:15:41 CEST
After latest update, autofs is boken:

annwn:/etc/autofs# systemctl status autofs.service
autofs.service - Automounts filesystems on demand
	  Loaded: loaded (/usr/lib/systemd/system/autofs.service; enabled)
	  Active: active (running) since Mon, 30 Jul 2012 02:09:43 +0200; 1min 30s ago
	 Process: 3266 ExecStart=/usr/sbin/automount $OPTIONS --pid-file /run/autofs.pid (code=exited, status=0/SUCCESS)
	Main PID: 3268 (automount)
	  CGroup: name=systemd:/system/autofs.service
		  รข 3268 /usr/sbin/automount --pid-file /run/autofs.pid

Jul 30 02:09:43 annwn.cps.unizar.es automount[3268]: open_mount:244: parse(sun): cannot open mount module nfs (/usr/lib/autofs/mount_n...th_put)
Jul 30 02:09:43 annwn.cps.unizar.es automount[3268]: lookup(file): failed to open parse context
Jul 30 02:09:43 annwn.cps.unizar.es automount[3268]: open_mount:244: parse(sun): cannot open mount module nfs (/usr/lib/autofs/mount_n...th_put)
Jul 30 02:09:43 annwn.cps.unizar.es automount[3268]: lookup_init:1506: lookup(ldap): failed to open parse context
Jul 30 02:09:43 annwn.cps.unizar.es automount[3268]: open_mount:244: parse(sun): cannot open mount module nfs (/usr/lib/autofs/mount_n...th_put)
Jul 30 02:09:43 annwn.cps.unizar.es automount[3268]: lookup_init:1506: lookup(ldap): failed to open parse context


Complete message from /var/log/messages is:

Jul 30 02:09:43 annwn automount[3268]: open_mount:244: parse(sun): cannot open mount module nfs (/usr/lib/autofs/mount_nfs.so: undefined symbol: auth_put)
Jul 30 02:09:43 annwn automount[3268]: lookup(file): failed to open parse context
Jul 30 02:09:43 annwn automount[3268]: open_mount:244: parse(sun): cannot open mount module nfs (/usr/lib/autofs/mount_nfs.so: undefined symbol: auth_put)
Jul 30 02:09:43 annwn automount[3268]: lookup_init:1506: lookup(ldap): failed to open parse context
Jul 30 02:09:43 annwn automount[3268]: open_mount:244: parse(sun): cannot open mount module nfs (/usr/lib/autofs/mount_nfs.so: undefined symbol: auth_put)
Jul 30 02:09:43 annwn automount[3268]: lookup_init:1506: lookup(ldap): failed to open parse context

Looks like the module is underlinked or some symbol is missing in a library...
Comment 1 Manuel Hiebel 2012-07-30 11:35:07 CEST
Adding the last committer in cc

CC: (none) => luigiwalser

David Walser 2012-07-30 19:16:02 CEST

CC: (none) => cjw

Comment 2 David Walser 2012-07-30 19:17:08 CEST
Christiaan, you said on IRC to remove a tirpc patch to fix this, but I don't see a tirpc patch in the package, and I can't reproduce the issue.  Do you have any other ideas on fixing this?
Comment 3 David Walser 2012-07-30 19:17:54 CEST
Or did you mean to add a patch?  I remember you gave a link to a patch on IRC, but I'm at work now.  If you meant to add a patch could you give the link again?  Thanks.
Comment 4 Christiaan Welvaart 2012-07-30 19:37:01 CEST
I meant to "back out" a patch that is included (applied) in 5.0.7 sources:
ftp://ftp.kernel.org/pub/linux/daemons/autofs/v5/patches-5.0.7/autofs-5.0.6-fix-libtirpc-name-clash.patch

Easiest may be to simply remove the lines that are added in that patch and create a new patch for this change. The patch tool can also reverse apply the patch of course.
Comment 5 David Walser 2012-07-30 21:51:43 CEST
Thanks Christiaan.

autofs-5.0.7-2.mga3 submitted.  Please confirm that it fixes the issue.
Comment 6 Juan Magallon 2012-07-31 00:16:29 CEST
Yes, thanks, new package fixes the problem.

CC: (none) => jamagallon

Comment 7 David Walser 2012-07-31 00:31:04 CEST
Thanks.

Status: NEW => RESOLVED
Resolution: (none) => FIXED


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