Bug 746624 - userdel: user bz559302 is currently logged in
Summary: userdel: user bz559302 is currently logged in
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: shadow-utils
Version: 6.2
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: rc
: ---
Assignee: Peter Vrabec
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-17 10:26 UTC by Karel Volný
Modified: 2011-11-02 15:48 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-11-02 15:48:06 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Karel Volný 2011-10-17 10:26:50 UTC
Description of problem:
Running the test /CoreOS/util-linux-ng/Regression/bz559302-spurious-mount-warning-when-bin-mount-not-setuid I'm getting the error:

userdel: user bz559302 is currently logged in


but the testing user should NOT be logged in by that time - in fact, regular login was never done, just one command was run via su:

su -c 'mount' bz559302

and the command has exited succesfully long before userdel was run


Version-Release number of selected component (if applicable):
RHEL6.2-20111013.1

How reproducible:
always

Steps to Reproduce:
1. schedule the test /CoreOS/util-linux-ng/Regression/bz559302-spurious-mount-warning-when-bin-mount-not-setuid
  
Actual results:
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [   LOG    ] :: Cleanup
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

userdel: user bz559302 is currently logged in
:: [   FAIL   ] :: Removing the testing user (Expected 0, got 8)
/mnt/tests/CoreOS/util-linux-ng/Regression/bz559302-spurious-mount-warning-when-bin-mount-not-setuid
:: [   PASS   ] :: Running 'popd'


Expected results:
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [   LOG    ] :: Cleanup
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

:: [   PASS   ] :: Removing the testing user
/mnt/tests/CoreOS/util-linux-ng/Regression/bz559302-spurious-mount-warning-when-bin-mount-not-setuid
:: [   PASS   ] :: Running 'popd'


Additional info:
see the testjob logs: https://beaker.engineering.redhat.com/tasks/executed?task=/CoreOS/util-linux-ng/Regression/bz559302-spurious-mount-warning-when-bin-mount-not-setuid&job_id=143598

Comment 2 Karel Volný 2011-10-20 09:15:18 UTC
while the test has been failing on four testruns in a row, the last one has passed:

https://tcms.engineering.redhat.com/run/29179/#caserun_703179

Comment 3 RHEL Program Management 2011-10-25 05:47:11 UTC
Since RHEL 6.2 External Beta has begun, and this bug remains
unresolved, it has been rejected as it is not proposed as
exception or blocker.

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


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