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.
Hello Michal,
exim does not seems to be installed in the system. Along with that, we do not ship exim in RHEL7.
I was get this working after installing exim from epel.
<snip>
[root@localhost test]# getenforce
Enforcing
[root@localhost test]# systemctl status exim.service
● exim.service - Exim Mail Transport Agent
Loaded: loaded (/usr/lib/systemd/system/exim.service; disabled; vendor preset: disabled)
Active: inactive (dead)
[root@localhost test]# systemctl enable exim.service
Created symlink from /etc/systemd/system/multi-user.target.wants/exim.service to /usr/lib/systemd/system/exim.service.
[root@localhost test]# systemctl start exim.service
[root@localhost test]# systemctl status exim.service
● exim.service - Exim Mail Transport Agent
Loaded: loaded (/usr/lib/systemd/system/exim.service; disabled; vendor preset: disabled)
Active: active (running) since Wed 2017-01-04 10:10:12 EST; 3s ago
Process: 19798 ExecStartPre=/usr/libexec/exim-gen-cert (code=exited, status=0/SUCCESS)
Main PID: 19800 (exim)
CGroup: /system.slice/exim.service
└─19800 /usr/sbin/exim -bd -q1h
Jan 04 10:10:12 localhost.example.com systemd[1]: Starting Exim Mail Transport Agent...
Jan 04 10:10:12 localhost.example.com systemd[1]: Started Exim Mail Transport Agent.
[root@localhost test]# ps -eZ | grep exim
system_u:system_r:exim_t:s0 19800 ? 00:00:00 exim
</snip>
I think we can close this bugzilla as Not a bug. If required, I will follow up with you again.
The problem is that before we do anything in systemd we perform a check against selinux policy, if that action can be perform. And in the case of not existing unit file selinux forbids such action before we can say that the unit file is not there (hence the Access denied message)