Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 231592 - net-p2p/gnunet 0.8.0 - WARNING: `unlink' failed on file `/var/run/gnunetd.pid' at console.c:216 with error: Permission denied
Summary: net-p2p/gnunet 0.8.0 - WARNING: `unlink' failed on file `/var/run/gnunetd.pid...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo net-p2p team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-12 14:25 UTC by Oleg Eterevsky
Modified: 2011-01-14 00:59 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oleg Eterevsky 2008-07-12 14:25:17 UTC
gnunetd fails to start with default settings. It writes warning:

WARNING: `unlink' failed on file `/var/run/gnunetd.pid' at console.c:216 with error: Permission denied

It could be fixed by 

mkdir /var/run/gnunetd
chown gnunetd:gnunetd /var/run/gnunetd

and setting 

PIDFILE = /var/run/gnunetd/gnunetd.pid

in /etc/gnunetd.conf

After this is fixed, it fails with the following error:

ERROR: `lt_dlopenext' failed for library `libgnunetmodule_bootstrap' with error: libgnunetutil.so.2: cannot open shared object file: No such file or directory

In fact there is only /usr/lib/libgnunetutil.so.3

My system: Portage 2.1.4.4 (default-linux/amd64/2006.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r6 x86_64)
Comment 1 Stanislav Ochotnicky (RETIRED) gentoo-dev 2011-01-14 00:59:47 UTC
From the ebuild:
einfo
einfo "To configure"
einfo "	 1) Add user(s) to the gnunetd group"
einfo "	 2) Run 'gnunet-setup' to generate your client config file"
einfo "	 3) Run gnunet-setup -d as root to generate a server config file"
einfo

You are supposed to first configure gnunet before using. Closing as invalid (might have been fixed anyway in the meantime, since gnunet home is now in /var/lib/gnunet)