Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 895615 - ipa-client-automount: autofs failed in s390x and ppc64 platform
ipa-client-automount: autofs failed in s390x and ppc64 platform
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: sssd (Show other bugs)
6.4
Unspecified Unspecified
medium Severity medium
: rc
: ---
Assigned To: Jakub Hrozek
Kaushik Banerjee
:
Depends On:
Blocks: 902691
  Show dependency treegraph
 
Reported: 2013-01-15 11:34 EST by Yi Zhang
Modified: 2013-02-21 04:43 EST (History)
8 users (show)

See Also:
Fixed In Version: sssd-1.9.2-73.el6
Doc Type: Bug Fix
Doc Text:
No documentation needed.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-02-21 04:43:39 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2013:0508 normal SHIPPED_LIVE Low: sssd security, bug fix and enhancement update 2013-02-20 16:30:10 EST

  None (edit)
Description Yi Zhang 2013-01-15 11:34:06 EST
Description of problem: autofs mount failed on s390x and ppc64.
the following log message appears on /var/log/messages

Jan 15 10:51:19 ibm-z10-32 automount[23613]: lookup_read_master: lookup(sss): getautomntent_r: Invalid argument
Jan 15 10:51:19 ibm-z10-32 automount[23613]: setautomntent: lookup(sss): setautomntent: No such file or directory
Jan 15 10:51:19 ibm-z10-32 automount[23613]: lookup_read_master: lookup(sss): getautomntent_r: Invalid argument




Version-Release number of selected component (if applicable):
ipa-client-3.0.0-21.el6.x86_64
ipa-server-3.0.0-21.el6.x86_64
sssd-client-1.9.2-68.el6.x86_64
sssd-1.9.2-68.el6.x86_64

How reproducible: always


Steps to Reproduce: need find out, the above error msg found in autoamation. the exact statement that triggers it is unknow for now. 
  
Actual results:


Expected results:


Additional info:
Comment 2 Yi Zhang 2013-01-15 13:00:07 EST
what i confirmed:
1. this is sssd bug
2. the above error message happens when do ipa-client-automount install

[root@ibm-z10-34 ~] tail -f /var/log/message | grep "automount"
[root@ibm-z10-34 ~]# ipa-client-automount --server=qe-blade-14.testrelm.com --location=Indirect_use_sssd_16836
IPA server: qe-blade-14.testrelm.com
Location: Indirect_use_sssd_16836
Continue to configure the system with these values? [no]: yes
Configured /etc/nsswitch.conf
Configured /etc/sysconfig/nfs
Configured /etc/idmapd.conf
Started rpcidmapd
Started rpcgssd
Restarting sssd, waiting for it to become available.
Jan 15 12:52:34 ibm-z10-34 automount[21908]: lookup_read_master: lookup(sss): getautomntent_r: Invalid argument
Jan 15 12:52:34 ibm-z10-34 automount[21908]: setautomntent: lookup(sss): setautomntent: No such file or directory
Jan 15 12:52:35 ibm-z10-34 automount[21908]: lookup_read_master: lookup(sss): getautomntent_r: Invalid argument
Started autofs
[root@ibm-z10-34 ~]# cd /ipashare_25905
-bash: cd: /ipashare_25905: No such file or directory

======== automount location has no problem ===
[root@qe-blade-14 ~]# ipa automountlocation-tofiles Indirect_use_sssd_16836
/etc/auto.master:
/-	/etc/auto.direct
/ipashare_25905	/etc/auto.share
---------------------------
/etc/auto.direct:
---------------------------
/etc/auto.share:
public_16952	-rw,soft,rsize=8192,wsize=8192  cloud-qe-1.testrelm.com:/share/pub

maps not connected to /etc/auto.master:

=== [ commands to create above map, for bug verification use ] ===
1. kinit admin
2. ipa automountlocation-add Indirect_use_sssd_16836
3. ipa automountmap-add Indirect_use_sssd_16836 auto.share
4. ipa automountkey-add Indirect_use_sssd_16836 auto.master --key=/ipashare_25905 --info=auto.share
5. ipa automountkey-add Indirect_use_sssd_16836 auto.share  --key=public_16952 --info="-rw,soft,rsize=8192,wsize=8192  cloud-qe-1.testrelm.com:/share/pub"
6. ipa automountlocation-tofiles Indirect_use_sssd_16836

don't forget the /etc/export on NFS server
/share *(rw,async,fsid=0,no_subtree_check,no_root_squash)

=== [ build information ] ===
[root@ibm-z10-34 ~]# rpm -qa | grep sssd
sssd-1.9.2-68.el6.s390x
sssd-client-1.9.2-68.el6.s390x
[root@ibm-z10-34 ~]# rpm -qa | grep autofs
libsss_autofs-1.9.2-68.el6.s390x
autofs-5.0.5-73.el6.s390x
Comment 3 Yi Zhang 2013-01-15 13:05:46 EST
additional test:

same automount map, use "--no-sssd", the install success, no error msg being triggered, and autofs works good.

ipa-client-automount --server=qe-blade-14.testrelm.com --location=Indirect_use_sssd_16836 --no-sssd
Comment 4 Jakub Hrozek 2013-01-16 03:24:19 EST
Upstream ticket:
https://fedorahosted.org/sssd/ticket/1770
Comment 10 errata-xmlrpc 2013-02-21 04:43:39 EST
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2013-0508.html

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