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

Bug 65366

Summary: net-p2p/gift can not start during the boot
Product: Gentoo Linux Reporter: Octavio Ruiz (Ta^3) <tacvbo>
Component: New packagesAssignee: Gentoo net-p2p team <net-p2p>
Status: RESOLVED WONTFIX    
Severity: normal CC: squinky86
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
URL: http://gift.sf.net/
Whiteboard:
Package list:
Runtime testing required: ---

Description Octavio Ruiz (Ta^3) 2004-09-25 17:37:30 UTC
[19:27:09] *** GIFT-WARNING: $HOME not set, falling back to /home/$USER...
[19:27:09] *** GIFT-FATAL: unable to locate a sane home directory, consider using --home-dir or passing the appropriate parameters to libgift:platform_init
[19:27:09] *** Often times more information can be found in the log file or with the -v command line switch.

Add --home-dir=/home/p2p or --home-dir=${SHAREDIR} to the init.d file should fix the problem.

If you start it since you are logged in, you will not have problems this is only when giftd is in the default boot level.
Comment 1 Thomas Schuetz 2005-03-25 02:51:11 UTC
I just had a look on your bug - you wrote down the solution there!?
Did you try this:
===========================================================
Add --home-dir=/home/p2p or --home-dir=${SHAREDIR}
to the init.d file should fix the problem.
===========================================================

Sure, if you are starting giftd as a deamon, it couldn't find
any home-dir, so you have to set one in the /etc/init.d/gift
in the start-section.

Please try this and tell us, if the problem still exists.
Comment 2 Karol Wojtaszek (RETIRED) gentoo-dev 2005-04-27 13:16:35 UTC
Closing.