gw6c starts properly when configured and run as root. gw6c does not start properly when run as a service as root. gw6c has an interactive public-key prompt when run in a directory that doesn't contain gw6ckeys.pub, which results in it hanging when started as a service. Reproducible: Always Steps to Reproduce: 1. Make sure /var/lib/gateway6 doesn't exist (clean system) 2. emerge gateway6 3. run rc-service gw6c start Actual Results: rc-service hangs, waiting for gw6c Expected Results: gw6c should either 1) immediately fail because of the unknown key, writing an error (preferred) 2) immediately succeed, accepting the unknown key (bad) Alternately, notify the user that gw6ckeys.pub needs to be made in /var/lib/gateway6
I cannot reproduce this with an 'out-of-the-box' install (no configuration in /etc/gateway6, i.e anonymous access), do you use anonymous or authenticated connection? Any specific options set in the configuration file?
I can confirm this problem when using authenticated connection. Placing gw6ckeys.pub (from a standalone install) into the /var/lib/gateway6 solves problem.
Oct 11 20:20:58 [gw6c] Failed to contact TSP listener at broker.freenet6.net. Oct 11 20:20:58 [gw6c] Server Authentication Capabilities: Passdss-3des-1, Plain Oct 11 20:20:58 [gw6c] Your Configured Authentication: Anonymous Oct 11 20:20:58 [gw6c] Failed to find common authentication method with Gateway6. Oct 11 20:20:58 [gw6c] Last status context is: TSP authentication. This seems to be the problem.
this is not in portage anymore, the new package is named net-misc/gogoc