Bug 1003428 - if automount -m fail should exit with 1, but it exit with 0;
Summary: if automount -m fail should exit with 1, but it exit with 0;
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: autofs
Version: 5.9
Hardware: All
OS: Linux
unspecified
low
Target Milestone: rc
: ---
Assignee: Ian Kent
QA Contact: Filesystem QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-02 02:22 UTC by JianHong Yin
Modified: 2014-06-25 20:23 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-25 20:23:42 UTC
Target Upstream Version:


Attachments (Terms of Use)
expendRsRun.c (2.59 KB, text/plain)
2013-09-02 07:48 UTC, JianHong Yin
no flags Details

Description JianHong Yin 2013-09-02 02:22:48 UTC
Description of problem:
if automount -m fail should exit with 1, but it exit with 0;

Version-Release number of selected component (if applicable):
RHEL5.9 RHEL6.4 RHEL7.0

How reproducible:
always

Steps to Reproduce:
1. maxOpen=40960  ./expendRsRun  -n  10237  --  automount -m
2. echo $?
3.

Actual results:
echo $?
0

Expected results:
return error msg, and exit with !0

Additional info:
  the code of expendRsRun see the attachment

Comment 1 JianHong Yin 2013-09-02 02:25:38 UTC
screen info:
[root@dhcp-13-16 bz974884]# maxOpen=40960  ./expendRsRun  -n  10237  --  automount -m
==> now the open file limit: (40960).(40960)
==> fd to expend = [10237]
==> cmd = [automount]
==> first open fd = [3]
==> now max fd = [10239]
==> exec the cmd [automount]

autofs dump map information
===========================

global options: none configured
no master map entries found     <<<-- get map fail, because no more fd can use

[root@dhcp-13-16 bz974884]# echo $?
0

the follow get map success:
[root@dhcp-13-16 bz974884]# maxOpen=40960  ./expendRsRun  -n  10230  --  automount -m
==> now the open file limit: (40960).(40960)
==> fd to expend = [10230]
==> cmd = [automount]
==> first open fd = [3]
==> now max fd = [10232]
==> exec the cmd [automount]

autofs dump map information
===========================

global options: none configured

Mount point: /misc

source(s):

  instance type(s): file 
  map: /etc/auto.misc

  cd | -fstype=iso9660,ro,nosuid,nodev  :/dev/cdrom


Mount point: /net

source(s):

  type: hosts

  localhost.localdomain | (null)


Mount point: /clients

source(s):
  failed to read map

Comment 2 Ian Kent 2013-09-02 07:27:21 UTC
Certainly these should be fixed but I don't think they are
critical for our rhel-5.10.0 release.

I've set the flags to reflect that.

Comment 3 JianHong Yin 2013-09-02 07:48:16 UTC
Created attachment 792735 [details]
expendRsRun.c

Comment 4 RHEL Program Management 2014-02-25 00:12:58 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unable to address this
request at this time.

Red Hat invites you to ask your support representative to
propose this request, if appropriate, in the next release of
Red Hat Enterprise Linux.

Comment 5 RHEL Program Management 2014-03-07 12:51:15 UTC
This bug/component is not included in scope for RHEL-5.11.0 which is the last RHEL5 minor release. This Bugzilla will soon be CLOSED as WONTFIX (at the end of RHEL5.11 development phase (Apr 22, 2014)). Please contact your account manager or support representative in case you need to escalate this bug.

Comment 6 JianHong Yin 2014-03-08 02:18:32 UTC
(In reply to RHEL Product and Program Management from comment #5)
> This bug/component is not included in scope for RHEL-5.11.0 which is the
> last RHEL5 minor release. This Bugzilla will soon be CLOSED as WONTFIX (at
> the end of RHEL5.11 development phase (Apr 22, 2014)). Please contact your
> account manager or support representative in case you need to escalate this
> bug.
got it, no need to escalate

Comment 7 Ondrej Vasik 2014-06-25 20:23:42 UTC
Thanks, closing WONTFIX for RHEL 5.


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