Bug 2238004

Summary: SELinux policy does not exist for mlmmj: cannot run on any enforcing machine
Product: [Fedora] Fedora EPEL Reporter: Graham Leggett <minfrin>
Component: mlmmjAssignee: Denis Fateyev <denis>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel9CC: denis, i
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: mlmmj-1.3.0-17.fc39 mlmmj-1.3.0-17.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-12-14 01:31:07 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 Graham Leggett 2023-09-08 11:13:58 UTC
Description of problem:

SELinux prevents postfix delivering mail to mlmmj-receive.

type=AVC msg=audit(1694094777.913:22260): avc:  denied  { write } for  pid=342948 comm="mlmmj-receive" name="incoming" dev="dm-0" ino=68184021 scontext=system_u:system_r:postfix_pipe_t:s0 tcontext=system_u:object_r:var_spool_t:s0 tclass=dir permissive=0

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

mlmmj-1.3.0-14.el9.x86_64

How reproducible:

Always

Steps to Reproduce:
1. Install mlmmj, integrate with postfix
2. Ensable SELinux enforcing mode
3. 

Actual results:

AVC failure, no email delivered.

Expected results:

SELinux allowed, email delivered.

Additional info:

Comment 1 Denis Fateyev 2023-12-05 18:39:15 UTC
I have pushed updates to testing, please check

Comment 2 Fedora Update System 2023-12-05 18:40:29 UTC
FEDORA-EPEL-2023-762cf6a987 has been submitted as an update to Fedora EPEL 9. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-762cf6a987

Comment 3 Fedora Update System 2023-12-05 18:40:30 UTC
FEDORA-2023-68e7400a3a has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-68e7400a3a

Comment 4 Fedora Update System 2023-12-06 01:43:53 UTC
FEDORA-2023-68e7400a3a has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-68e7400a3a`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-68e7400a3a

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2023-12-06 01:57:16 UTC
FEDORA-EPEL-2023-762cf6a987 has been pushed to the Fedora EPEL 9 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-762cf6a987

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2023-12-14 01:31:07 UTC
FEDORA-2023-68e7400a3a has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 7 Fedora Update System 2023-12-14 02:02:16 UTC
FEDORA-EPEL-2023-762cf6a987 has been pushed to the Fedora EPEL 9 stable repository.
If problem still persists, please make note of it in this bug report.