Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1324843

Summary: stress_ refresh test fails in s390x and ppc64 archs
Product: Red Hat Enterprise Linux 6 Reporter: Steeve Goveas <sgoveas>
Component: sssdAssignee: Pavel Březina <pbrezina>
Status: CLOSED NOTABUG QA Contact: Steeve Goveas <sgoveas>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.8CC: dlavu, grajaiya, jhrozek, lslebodn, mkosek, mzidek, pbrezina, preichl
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-04 13:42:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Steeve Goveas 2016-04-07 12:44:17 UTC
Description of problem:
function client_sudo_user_is_allowed()
{
    su user1 -c "sudo -u user2 ${*-true}"
}

function client_sudo_user_is_denied()
{
    { ! client_sudo_user_is_allowed "$@"; }
}


for ((i = 1; i<= 5; i++)); do
        server_rule_modify test <<<"\
            replace:            sudoUser
            sudoUser:   user2"
        sleep "0"
        client_sudo_user_is_denied || { status=1; break; }
        server_rule_modify test <<<"\
            replace:            sudoUser
            sudoUser:   user1"
        sleep "2"
        client_sudo_user_is_allowed || { status=1; break; }
    done



::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [   LOG    ] :: stress_refresh
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

:: [  BEGIN   ] :: stress_refresh_attr_user :: actually running 'strict eval 'stress_attr User user2 0 user_is_denied            user1 2 user_is_allowed''
user1 is not in the sudoers file.  This incident will be reported.
user1 is not in the sudoers file.  This incident will be reported.
user1 is not in the sudoers file.  This incident will be reported.
:: [   FAIL   ] :: stress_refresh_attr_user (Expected 0, got 1)

Version-Release number of selected component (if applicable):
sssd-1.13.3-22.el6.s390x

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 3 Jakub Hrozek 2016-04-07 14:06:58 UTC
Pavel agreed he'd take a look.

Comment 6 Jakub Hrozek 2016-05-04 13:42:16 UTC
This turned out to be a bug in tests. Closing.