Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 27823 - heartbeat-1.0.3-r2.ebuild, fixes bugs 27821 27662 27822
Summary: heartbeat-1.0.3-r2.ebuild, fixes bugs 27821 27662 27822
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Brian Jackson (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 27662 27821 27822
  Show dependency tree
 
Reported: 2003-09-02 19:27 UTC by Jan Krueger
Modified: 2003-09-23 23:48 UTC (History)
0 users

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


Attachments
heartbeat-1.0.3-r2.ebuild (heartbeat-1.0.3-r2.ebuild,1014 bytes, text/plain)
2003-09-02 19:31 UTC, Jan Krueger
Details
new init-file for 1.0.3 (1.0.3-init,679 bytes, text/plain)
2003-09-02 19:31 UTC, Jan Krueger
Details

Note You need to log in before you can comment on or make changes to this bug.
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.