[systemd-devel] Started process not attach to its related service.

Jonathan de Boyne Pollard J.deBoynePollard-newsgroups at NTLWorld.com
Tue Nov 22 09:58:42 UTC 2016


Benoit SCHMID:
>          echo -n "Starting Oracle Listener: "
>          su - $ORA_OWNR -c "env ORACLE_HOME=/oracle/XXX/12102 /oracle/XXX/12102/bin/lsnrctl start LISTENER_XXX"

Don't abuse su for dropping privileges.

* http://jdebp.eu./FGA/dont-abuse-su-for-dropping-privileges.html


It's now 2016, and the first rule for migrating to systemd applies even 
to Oracle softwares.

* http://jdebp.eu./FGA/systemd-house-of-horror/daemonize.html#first-rule

* http://www.server-world.info/en/note?os=CentOS_7&p=oracle12c&f=6

* 
https://lists.freedesktop.org/archives/systemd-devel/2014-October/thread.html#24663

* https://www.realdbamagic.com/automatic-db-startup-linux-part-oel-6-7-2/



More information about the systemd-devel mailing list