Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 524486 - sys-cluster/drbd - /etc/init.d/drbd uses bashisms
Summary: sys-cluster/drbd - /etc/init.d/drbd uses bashisms
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Cluster Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-05 02:24 UTC by Sven E.
Modified: 2014-12-02 16:04 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sven E. 2014-10-05 02:24:43 UTC
Currently the init scripts for drbd use bashisms. These should be removed so the script can be run with any posix shell.

Reproducible: Always

Steps to Reproduce:
n/a
Comment 1 Sven E. 2014-10-05 12:18:11 UTC
Additional Info:

As far as I can see changing function <name>() to just <name>() should do the trick, if I didn't miss other bashisms.
Comment 2 Ultrabug gentoo-dev 2014-12-02 15:00:43 UTC
Thank you Sven, you're right I guess

+  02 Dec 2014; Ultrabug <ultrabug@gentoo.org> files/drbd-8.0.rc:
+  remove bashism from init script fix #524486
+
Comment 3 Sven E. 2014-12-02 16:04:46 UTC
Thanks for bringing it in tree, reduces the number of local changes ;-).