Bug 1326926 - /bin/su in sysv initscript not working any more
Summary: /bin/su in sysv initscript not working any more
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: 22
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: systemd-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-13 18:56 UTC by dag
Modified: 2016-07-19 18:57 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-19 18:57:03 UTC
Type: Bug


Attachments (Terms of Use)

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.


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