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 1349641 - Regression in 6.8: rlogin to another machine sometimes fails, sometimes succeeds
Summary: Regression in 6.8: rlogin to another machine sometimes fails, sometimes succeeds
Keywords:
Status: CLOSED DUPLICATE of bug 1335670
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: util-linux-ng
Version: 6.8
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Karel Zak
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-06-23 20:28 UTC by Michael Lampe
Modified: 2016-06-23 20:34 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-06-23 20:34:29 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Michael Lampe 2016-06-23 20:28:22 UTC
Description of problem:

Machine B allows (passwordless) rlogin from machine A.

A> rlogin B
rlogin: connection closed.
A> rlogin B
rlogin: connection closed.
A> rlogin B
rlogin: connection closed.
A> rlogin B
B> exit
logout
rlogin: connection closed.
A> 

Version-Release number of selected component (if applicable):

util-linux-ng-2.17.2-12.24.el6.x86_64

How reproducible:

Always, if you try rlogin B a couple of times in a row.

Steps to Reproduce:
1. Put machine B under full load, e.g. by running the linpack binary from Intel. B has 2 CPUs, 20 cores and 40 threads.
2. Try rlogin B a couple of times in a row, like exemplified above.

Actual results:

Some rlogins fail, some succeed.

Expected results:

All rlogins succeed.

Additional info:

- This is a 6.8 regression. It worked in 6.7, and it works again if util-linux-ng is downgraded to util-linux-ng-2.17.2-12.18.el6.x86_64 or /bin/login is replaced with the version from util-linux-ng-2.17.2-12.18.el6.x86_64.

- /var/log/messages on B

Jun 23 22:01:26 B xinetd[16563]: START: login pid=16905 from=192.168.22.100
Jun 23 22:01:26 B xinetd[16563]: EXIT: login status=0 pid=16905 duration=0(sec)
Jun 23 22:01:28 B xinetd[16563]: START: login pid=16907 from=192.168.22.100
Jun 23 22:01:28 B xinetd[16563]: EXIT: login status=0 pid=16907 duration=0(sec)
Jun 23 22:01:29 B xinetd[16563]: START: login pid=16909 from=192.168.22.100
Jun 23 22:01:29 B xinetd[16563]: EXIT: login status=0 pid=16909 duration=0(sec)
Jun 23 22:01:30 B xinetd[16563]: START: login pid=16911 from=192.168.22.100
Jun 23 22:03:25 B xinetd[16563]: EXIT: login status=0 pid=16911 duration=8(sec)

That's the three failures followed by one success from the example above.

- running xinetd with '-d' on B

* Failed attempt

16/6/23@22:07:06: DEBUG: 17016 {main_loop} select returned 1
16/6/23@22:07:06: DEBUG: 17016 {server_start} Starting service login
16/6/23@22:07:06: DEBUG: 17016 {main_loop} active_services = 2
16/6/23@22:07:06: DEBUG: 17021 {exec_server} duping 8
16/6/23@22:07:06: DEBUG: 17016 {main_loop} active_services = 2
16/6/23@22:07:06: DEBUG: 17016 {main_loop} select returned 1
16/6/23@22:07:06: DEBUG: 17016 {check_pipe} Got signal 17 (Child exited)
16/6/23@22:07:06: DEBUG: 17016 {child_exit} waitpid returned = 17021
16/6/23@22:07:06: DEBUG: 17016 {server_end} login server 17021 exited
16/6/23@22:07:06: DEBUG: 17016 {svc_postmortem} Checking log size of login service
16/6/23@22:07:06: INFO: 17016 {conn_free} freeing connection
16/6/23@22:07:06: DEBUG: 17016 {child_exit} waitpid returned = -1
16/6/23@22:07:06: DEBUG: 17016 {main_loop} active_services = 2

* Succesful attempt

16/6/23@22:07:56: DEBUG: 17016 {main_loop} select returned 1
16/6/23@22:07:56: DEBUG: 17016 {server_start} Starting service login
16/6/23@22:07:56: DEBUG: 17016 {main_loop} active_services = 2
16/6/23@22:07:56: DEBUG: 17024 {exec_server} duping 8

- My guess is that this is a race condition between in.rlogind and login.


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