Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1769294 - PrivateDevices=true breaks services on s390x
Summary: PrivateDevices=true breaks services on s390x
Keywords:
Status: CLOSED DUPLICATE of bug 1769148
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: 31
Hardware: s390x
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: systemd-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: ZedoraTracker
TreeView+ depends on / blocked
 
Reported: 2019-11-06 10:37 UTC by Dan Horák
Modified: 2019-11-07 17:29 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-11-06 10:55:35 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Dan Horák 2019-11-06 10:37:33 UTC
Description of problem:
When PrivateDevices=true is used in a service like postfix, then it makes the service to fail on starting. It happens even when SELinux is in permissive mode. 


Version-Release number of selected component (if applicable):
systemd-243-4.gitef67743.fc31.s390x
postfix-3.4.7-1.fc31.s390x


How reproducible:
100%

Steps to Reproduce:
1. install F-31
2. install postfix
3. systemctl start postfix

Actual results:
Nov 06 03:54:53 devel7.s390.bos.redhat.com systemd[1]: Starting Postfix Mail Transport Agent...
Nov 06 03:54:53 devel7.s390.bos.redhat.com postfix[12641]: /usr/libexec/postfix/postfix-script: line 127: /dev/null: Operation not permitted
Nov 06 03:54:53 devel7.s390.bos.redhat.com postfix/postfix-script[12648]: fatal: the Postfix mail system is already running
Nov 06 03:54:54 devel7.s390.bos.redhat.com systemd[1]: postfix.service: Control process exited, code=exited, status=1/FAILURE
Nov 06 03:54:54 devel7.s390.bos.redhat.com systemd[1]: postfix.service: Failed with result 'exit-code'.
Nov 06 03:54:54 devel7.s390.bos.redhat.com systemd[1]: Failed to start Postfix Mail Transport Agent.


Expected results:
postfix started


Additional info:
This is very similar to bug 1746413 when dbus-broker couldn't be started with SELinux in enforcing mode.

Comment 1 Zbigniew Jędrzejewski-Szmek 2019-11-06 10:55:35 UTC

*** This bug has been marked as a duplicate of bug 1769148 ***


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