This ebuild fixes bugs # 27821 heartbeat-1.0.3-r1 wants to create ugly /var/lib/lib/heartbeat 27662 heartbeat-1.0.3-r1.ebuild /etc/init.d/heartbeat failes 27822 heartbeat-1.0.3-r1.ebuild forgets directories under /var/... Reproducible: Always Steps to Reproduce: emerge heartbeat, configure, /etc/init.d/heartbeat start Actual Results: everything works fine :)
Created attachment 16985 [details] heartbeat-1.0.3-r2.ebuild New ebuild, requires new init-script, see next attachment
Created attachment 16986 [details] new init-file for 1.0.3
Comment on attachment 16986 [details] new init-file for 1.0.3 Please put into files dir with execute permission
Please put this into Changelog: 1.0.3-r2 jk@microgalaxy.net - supply --localstatedir=/var to econf ind src_install (the default from econf is/var/lib) to install to correct location - keepdir to /var/lib/heartbeat is essential, also on /var/lib/heartbeat/api /var/lib/heartbeat/ccm /var/lib/heartbeat/casual without these directories heartbeat failes - we use the heartbeat supplied init-script, put it in /usr/sbin and make /etc/init.d/heartbeat a simple gentoo-ish wrapper to it. Heartbeat works now :) Have nice (day|night) Jan
I didn't go with your idea of using the init script as a wrapper, but I have fixed everything you mentioned in this and the other bugs. If you find anything else please let me know.