Bug 1326926

Summary: /bin/su in sysv initscript not working any more
Product: [Fedora] Fedora Reporter: dag
Component: systemdAssignee: systemd-maint
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 22CC: johannbg, lnykryn, msekleta, muadda, s, systemd-maint, zbyszek
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-19 18:57:03 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:

Description dag 2016-04-13 18:56:47 UTC
Description of problem:
If an old sysv initscript contains a su command the script will fail when run through systemd.

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

How reproducible:
Always

Steps to Reproduce:
1. Create a script in /etc/init.d that uses /bin/su for one operation
2.enable script
3.start script

Actual results:
No user change happens

Expected results:
su should work as with init and change the user ID of the command run

Additional info:
Can we please throw out the whole systemd and make something better that doesn't destroy everything that has been working earlier?

Comment 1 Fedora End Of Life 2016-07-19 18:57:03 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.