Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 191231

Summary: init.d/drbd uses exit
Product: Gentoo Linux Reporter: Michael Hanselmann (hansmi) (RETIRED) <hansmi>
Component: New packagesAssignee: Gentoo Cluster Team <cluster>
Status: RESOLVED FIXED    
Severity: major CC: xmerlin
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 191543    

Description Michael Hanselmann (hansmi) (RETIRED) gentoo-dev 2007-09-04 12:09:48 UTC
When starting drbd fails, the init.d system prints a warning about the use of "exit" in the init.d script:
 * Starting DRBD ...
Can not open '/etc/drbd.conf': No such file or directory
 * DO NOT USE EXIT IN INIT.D SCRIPTS

Can you please change the init.d script to use return instead of exit?
Comment 1 Christian Zoffoli (RETIRED) gentoo-dev 2007-09-07 07:10:06 UTC
ok I'll change it in the next days
Comment 2 Christian Zoffoli (RETIRED) gentoo-dev 2007-10-05 20:56:27 UTC
Fixed in CVS.