On Thu, 03 Mar 2005 19:04:12 +1300, John Huttley <[EMAIL PROTECTED]> wrote:
> Narcis Gratianu wrote:
> I'm sorry  that I cannot offer a script-kiddy answer.

You're a dork.

> However--... The problem is that the "su"  command is now stripping the
> environment.

That's it!  I remember this.  More information can be found here:
http://bugs.gentoo.org/show_bug.cgi?id=71835

Basically, either change the following in /etc/init.d/freenet:

nice -n ${FREENET_NICENESS} sudo -u freenet /usr/bin/start-freenet.sh \
to
nice -n ${FREENET_NICENESS} su freenet /usr/bin/start-freenet.sh \

or uncomment "Defaults:%wheel !env_reset" in /etc/sudoers.  The former
is probably safer.

-todd
_______________________________________________
Support mailing list
[email protected]
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:[EMAIL PROTECTED]

Reply via email to