RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1034572 - [autofs] Regression fail: local net map, mount fail
Summary: [autofs] Regression fail: local net map, mount fail
Keywords:
Status: CLOSED DUPLICATE of bug 1029611
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: autofs
Version: 7.0
Hardware: All
OS: Linux
unspecified
high
Target Milestone: rc
: ---
Assignee: Ian Kent
QA Contact: Filesystem QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-26 06:34 UTC by JianHong Yin
Modified: 2013-11-27 01:43 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-11-27 01:43:26 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description JianHong Yin 2013-11-26 06:34:18 UTC
Description of problem:
Regression fail: local net map, mount fail

Version-Release number of selected component (if applicable):
------------------------------------------------
TimeInfo  : 2013-11-26 14:29:25
CaseName  : /CoreOS/autofs/Regression/bz918843-cannot-browse-net-on-servers-with-mountd-v2-disabled
$HOSTNAME : dhcp12-144.nay.redhat.com
DistroInfo: RedHatEnterpriseWorkstation 7.0
kernelInfo: Linux dhcp12-144.nay.redhat.com 3.10.0-50.el7.x86_64 #1 SMP Wed Nov 13 13:00:07 EST 2013 x86_64 x86_64 x86_64 GNU/Linux
packageInfo
        autofs-5.0.7-32.el7.x86_64
------------------------------------------------

How reproducible:
y

Steps to Reproduce:
1. ls /net/$HOSTNAME
2.
3.

Actual results:
================================================================================
[14:29:31 root@ /root/autofs/Regression/bz918843-cannot-browse-net-on-servers-with-mountd-v2-disabled]# ls /net/dhcp12-144.nay.redhat.com
ls: cannot access /net/dhcp12-144.nay.redhat.com: No such file or directory
:: [   FAIL   ] :: Running 'ls /net/dhcp12-144.nay.redhat.com' (Expected 0, got 2)
--------------------------------------------------------------------------------

================================================================================
[14:29:31 root@ /root/autofs/Regression/bz918843-cannot-browse-net-on-servers-with-mountd-v2-disabled]# tail -n60 /var/log/messages
Nov 26 14:29:28 dhcp12-144 systemd: Starting NFS Mount Daemon...
Nov 26 14:29:29 dhcp12-144 systemd: Started NFS Mount Daemon.
Nov 26 14:29:29 dhcp12-144 rpc.mountd[27544]: Version 1.2.9 starting
Nov 26 14:29:29 dhcp12-144 systemd: Starting NFS Server...
Nov 26 14:29:29 dhcp12-144 kernel: [702719.717101] NFSD: starting 90-second grace period (net ffffffff8196b280)
Nov 26 14:29:29 dhcp12-144 systemd: Started NFS Server.
Nov 26 14:29:29 dhcp12-144 systemd: Starting NFSv4 ID-name mapping daemon...
Nov 26 14:29:29 dhcp12-144 systemd: Starting NFS Remote Quota Server...
Nov 26 14:29:29 dhcp12-144 systemd: Started NFS Remote Quota Server.
Nov 26 14:29:29 dhcp12-144 systemd: Started NFSv4 ID-name mapping daemon.
Nov 26 14:29:29 dhcp12-144 systemd: Starting Automounts filesystems on demand...
Nov 26 14:29:29 dhcp12-144 automount[27595]: Starting automounter version 5.0.7-32.el7, master map auto.master
Nov 26 14:29:29 dhcp12-144 automount[27595]: using kernel protocol version 5.02
Nov 26 14:29:29 dhcp12-144 automount[27595]: lookup_nss_read_master: reading master files auto.master
Nov 26 14:29:29 dhcp12-144 automount[27595]: parse_init: parse(sun): init gathered global options: (null)
Nov 26 14:29:29 dhcp12-144 automount[27595]: spawn_mount: mtab link detected, passing -n to mount
Nov 26 14:29:29 dhcp12-144 automount[27595]: spawn_umount: mtab link detected, passing -n to mount
Nov 26 14:29:30 dhcp12-144 automount[27595]: lookup_read_master: lookup(file): read entry /misc
Nov 26 14:29:30 dhcp12-144 automount[27595]: lookup_read_master: lookup(file): read entry /net
Nov 26 14:29:30 dhcp12-144 automount[27595]: lookup_read_master: lookup(file): read entry +dir:/etc/auto.master.d
Nov 26 14:29:30 dhcp12-144 automount[27595]: lookup_nss_read_master: reading master dir /etc/auto.master.d
Nov 26 14:29:30 dhcp12-144 automount[27595]: lookup_read_master: lookup(dir): scandir: /etc/auto.master.d
Nov 26 14:29:30 dhcp12-144 automount[27595]: lookup_read_master: lookup(file): read entry +auto.master
Nov 26 14:29:30 dhcp12-144 automount[27595]: lookup_nss_read_master: reading master files auto.master
Nov 26 14:29:30 dhcp12-144 automount[27595]: parse_init: parse(sun): init gathered global options: (null)
Nov 26 14:29:30 dhcp12-144 automount[27595]: lookup_nss_read_master: reading master sss auto.master
Nov 26 14:29:30 dhcp12-144 automount[27595]: parse_init: parse(sun): init gathered global options: (null)
Nov 26 14:29:30 dhcp12-144 automount[27595]: setautomntent: lookup(sss): setautomntent: No such file or directory
Nov 26 14:29:30 dhcp12-144 automount[27595]: lookup(file): failed to read included master map auto.master
Nov 26 14:29:30 dhcp12-144 automount[27595]: master_do_mount: mounting /misc
Nov 26 14:29:30 dhcp12-144 automount[27595]: automount_path_to_fifo: fifo name /run/autofs.fifo-misc
Nov 26 14:29:30 dhcp12-144 automount[27595]: lookup_nss_read_map: reading map file /etc/auto.misc
Nov 26 14:29:30 dhcp12-144 automount[27595]: parse_init: parse(sun): init gathered global options: (null)
Nov 26 14:29:30 dhcp12-144 automount[27595]: spawn_mount: mtab link detected, passing -n to mount
Nov 26 14:29:30 dhcp12-144 automount[27595]: spawn_umount: mtab link detected, passing -n to mount
Nov 26 14:29:30 dhcp12-144 automount[27595]: mounted indirect on /misc with timeout 300, freq 75 seconds
Nov 26 14:29:30 dhcp12-144 automount[27595]: st_ready: st_ready(): state = 0 path /misc
Nov 26 14:29:30 dhcp12-144 automount[27595]: master_do_mount: mounting /net
Nov 26 14:29:30 dhcp12-144 automount[27595]: automount_path_to_fifo: fifo name /run/autofs.fifo-net
Nov 26 14:29:30 dhcp12-144 automount[27595]: lookup_nss_read_map: reading map hosts (null)
Nov 26 14:29:30 dhcp12-144 automount[27595]: parse_init: parse(sun): init gathered global options: (null)
Nov 26 14:29:30 dhcp12-144 automount[27595]: lookup_read_map: lookup(hosts): read hosts map
Nov 26 14:29:30 dhcp12-144 automount[27595]: lookup_read_map: lookup(hosts): map not browsable, update existing host entries only
Nov 26 14:29:30 dhcp12-144 automount[27595]: mounted indirect on /net with timeout 300, freq 75 seconds
Nov 26 14:29:30 dhcp12-144 automount[27595]: st_ready: st_ready(): state = 0 path /net
Nov 26 14:29:30 dhcp12-144 systemd: Started Automounts filesystems on demand.
Nov 26 14:29:31 dhcp12-144 automount[27595]: handle_packet: type = 3
Nov 26 14:29:31 dhcp12-144 automount[27595]: handle_packet_missing_indirect: token 2, name dhcp12-144.nay.redhat.com, request pid 27632
Nov 26 14:29:31 dhcp12-144 automount[27595]: attempting to mount entry /net/dhcp12-144.nay.redhat.com
Nov 26 14:29:31 dhcp12-144 automount[27595]: lookup_mount: lookup(hosts): dhcp12-144.nay.redhat.com -> (null)
Nov 26 14:29:31 dhcp12-144 automount[27595]: get_exports: lookup(hosts): fetchng export list for dhcp12-144.nay.redhat.com
Nov 26 14:29:31 dhcp12-144 automount[27595]: create_client: hostname lookup failed: Name or service not known
Nov 26 14:29:31 dhcp12-144 automount[27595]: create_client: hostname lookup failed: Name or service not known
Nov 26 14:29:31 dhcp12-144 automount[27595]: get_exports: lookup(hosts): exports lookup failed for dhcp12-144.nay.redhat.com
Nov 26 14:29:31 dhcp12-144 automount[27595]: key "dhcp12-144.nay.redhat.com" not found in map source(s).
Nov 26 14:29:31 dhcp12-144 automount[27595]: dev_ioctl_send_fail: token = 2
Nov 26 14:29:31 dhcp12-144 automount[27595]: failed to mount /net/dhcp12-144.nay.redhat.com
Nov 26 14:29:31 dhcp12-144 automount[27595]: handle_packet: type = 3
Nov 26 14:29:31 dhcp12-144 automount[27595]: handle_packet_missing_indirect: token 3, name dhcp12-144.nay.redhat.com, request pid 27632
Nov 26 14:29:31 dhcp12-144 automount[27595]: dev_ioctl_send_fail: token = 3
--------------------------------------------------------------------------------

Expected results:
normal

Additional info:
  this issue block the bz928098 regression test.

Comment 2 Ian Kent 2013-11-26 07:28:08 UTC
(In reply to Yin.JianHong from comment #0)
> Description of problem:
> Regression fail: local net map, mount fail
> 
> Version-Release number of selected component (if applicable):
> ------------------------------------------------
> TimeInfo  : 2013-11-26 14:29:25
> CaseName  :
> /CoreOS/autofs/Regression/bz918843-cannot-browse-net-on-servers-with-mountd-
> v2-disabled
> $HOSTNAME : dhcp12-144.nay.redhat.com
> DistroInfo: RedHatEnterpriseWorkstation 7.0
> kernelInfo: Linux dhcp12-144.nay.redhat.com 3.10.0-50.el7.x86_64 #1 SMP Wed
> Nov 13 13:00:07 EST 2013 x86_64 x86_64 x86_64 GNU/Linux
> packageInfo
>         autofs-5.0.7-32.el7.x86_64

I don't understand.
The package revision of the RHEL-7 errata is 35 not 32 and
I believe this is fixed in that revision.

Granted I have a problem with the changelog and the revision
number, which claims the revision of the latest change is 36
when it's actually 35 but that's another story.

Can you try the revision given in the errata please.

Ian

Comment 3 JianHong Yin 2013-11-26 07:40:19 UTC
(In reply to Ian Kent from comment #2)
> (In reply to Yin.JianHong from comment #0)
> > Description of problem:
> > Regression fail: local net map, mount fail
> > 
> > Version-Release number of selected component (if applicable):
> > ------------------------------------------------
> > TimeInfo  : 2013-11-26 14:29:25
> > CaseName  :
> > /CoreOS/autofs/Regression/bz918843-cannot-browse-net-on-servers-with-mountd-
> > v2-disabled
> > $HOSTNAME : dhcp12-144.nay.redhat.com
> > DistroInfo: RedHatEnterpriseWorkstation 7.0
> > kernelInfo: Linux dhcp12-144.nay.redhat.com 3.10.0-50.el7.x86_64 #1 SMP Wed
> > Nov 13 13:00:07 EST 2013 x86_64 x86_64 x86_64 GNU/Linux
> > packageInfo
> >         autofs-5.0.7-32.el7.x86_64
> 
> I don't understand.
> The package revision of the RHEL-7 errata is 35 not 32 and
> I believe this is fixed in that revision.
> 
> Granted I have a problem with the changelog and the revision
> number, which claims the revision of the latest change is 36
> when it's actually 35 but that's another story.
> 
> Can you try the revision given in the errata please.
> 
> Ian

Hi Ian,
   this is an test on latest pre RTT distro;
[root@dhcp12-241 autofs]# vershow autofs- rhel-?7.*20131123
=> rel-eng/RHEL-7.0-20131123.0 -> {http://download.devel.redhat.com/rel-eng/RHEL-7.0-20131123.0/compose/Server/x86_64/os/Packages}
autofs-5.0.7-32.el7.x86_64.rpm

   I will test it with the errata package to verify your fix.

Comment 4 JianHong Yin 2013-11-27 01:43:26 UTC
verified in autofs-5.0.7-35.el7
  http://beaker-archive.app.eng.bos.redhat.com/beaker-logs/2013/11/5521/552115/1148190/17567424/TESTOUT.log

same as 1029611

*** This bug has been marked as a duplicate of bug 1029611 ***


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