Bug 1989858
| Summary: | at is not able to schedule jobs for a user which is mapped to selinux confined user - "user_u" | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Ameya Patil <amepatil> |
| Component: | at | Assignee: | Jan Staněk <jstanek> |
| Status: | CLOSED ERRATA | QA Contact: | Jan Houska <jhouska> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 7.9 | CC: | amkulkar, aperotti, jstanek, kpfleming, opohorel, rmetrich |
| Target Milestone: | rc | Keywords: | Triaged, ZStream |
| Target Release: | --- | Flags: | pm-rhel:
mirror+
|
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | at-3.1.13-25.el7_9 | Doc Type: | Bug Fix |
| Doc Text: |
The RHEL 7 version of at contained an older version of selinux-enablement patch, which contained this bug. It was replaced with a version included in more recent upstream releases, bringing the selinux support to par with RHEL 8 and 9.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-05-18 16:15:12 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
Ameya Patil
2021-08-04 08:35:14 UTC
Patched in dist-git: http://pkgs.devel.redhat.com/cgit/rpms/at/commit/?h=rhel-7.9&id=2e5f5441402d13fe630a511f3c4b1cd80d64d3da VERIFIED: NEW PASS: version: at-3.1.13-25.el7_9 : Test :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 04:21:42 ] :: [ BEGIN ] :: Running './at.exp test_user test_user localhost &> output-at.txt' :: [ 04:21:42 ] :: [ PASS ] :: Command './at.exp test_user test_user localhost &> output-at.txt' (Expected 0, got 0) ==================== spawn ssh -t test_user@localhost test_user@localhost's password: spawn at now + 1 min at> date > /home/test_user/date.txt at> <EOT> job 1 at Fri Apr 1 04:22:00 2022 ==================== :: [ 04:21:42 ] :: [ PASS ] :: File 'output-at.txt' should contain 'job' :: [ 04:22:42 ] :: [ PASS ] :: File /home/test_user/date.txt should exist :: [ 04:22:42 ] :: [ BEGIN ] :: Running 'ausearch -m AVC -i &> output-ausearch.txt' :: [ 04:22:42 ] :: [ PASS ] :: Command 'ausearch -m AVC -i &> output-ausearch.txt' (Expected 1, got 1) :: [ 04:22:42 ] :: [ PASS ] :: File 'output-ausearch.txt' should contain '<no matches>' :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 60s :: Assertions: 5 good, 0 bad :: RESULT: PASS Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (at bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2022:4638 |