when starting ipsec (openswan) with an incorrect config file: # /etc/init.d/ipsec start * Starting IPSEC ... ... ipsec_setup: (/etc/ipsec/ipsec.conf, line 41) section header "xxx=yyy" has wrong number of fields (1) -- `start' aborted * DO NOT USE EXIT IN INIT.D SCRIPTS * This IS a bug, please fix your broken init.d Reproducible: Always Steps to Reproduce: 1.emerge openswan 2./etc/init.d/ipsec start 3.
Still alive: ------- balu ipsec # /etc/init.d/ipsec start * Caching service dependencies ... [ ok ] * Starting IPSEC ... ... ipsec_setup: (/etc/ipsec/ipsec.conf, line 39) parameter is not within a section -- `start' aborted * DO NOT USE EXIT IN INIT.D SCRIPTS * This IS a bug, please fix your broken init.d balu ipsec # emerge -pv openswan These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] net-misc/openswan-2.4.4 0 kB Total size of downloads: 0 kB ----------- ervin
Created attachment 86564 [details] ipsec init.d script Try with this /etc/init.d/ipsec or just edit yours and replace exit with return
C'mon, still broken after one year? How hard is it to fix exactly one line in init script?
Thanks, fixed in CVS
Like I said, fixed