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

Bug 27823

Summary: heartbeat-1.0.3-r2.ebuild, fixes bugs 27821 27662 27822
Product: Gentoo Linux Reporter: Jan Krueger <jk>
Component: New packagesAssignee: Brian Jackson (RETIRED) <iggy>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 27662, 27821, 27822    
Attachments: heartbeat-1.0.3-r2.ebuild
new init-file for 1.0.3

Description Jan Krueger 2003-09-02 19:27:32 UTC
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 :)
Comment 1 Jan Krueger 2003-09-02 19:31:12 UTC
Created attachment 16985 [details]
heartbeat-1.0.3-r2.ebuild

New ebuild, requires new init-script, see next attachment
Comment 2 Jan Krueger 2003-09-02 19:31:57 UTC
Created attachment 16986 [details]
new init-file for 1.0.3
Comment 3 Jan Krueger 2003-09-02 19:42:36 UTC
Comment on attachment 16986 [details]
new init-file for 1.0.3

Please put into files dir with execute permission
Comment 4 Jan Krueger 2003-09-02 19:47:40 UTC
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
Comment 5 Brian Jackson (RETIRED) gentoo-dev 2003-09-23 23:48:05 UTC
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.