Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 281278 - net-misc/gateway6-6.0-r1 - out-of-box install hangs during service start
Summary: net-misc/gateway6-6.0-r1 - out-of-box install hangs during service start
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal with 1 vote (vote)
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-13 04:55 UTC by John Stroy
Modified: 2015-08-17 13:46 UTC (History)
1 user (show)

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 John Stroy 2009-08-13 04:55:40 UTC
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
Comment 1 Bernard Cafarelli gentoo-dev 2009-08-24 15:34:22 UTC
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?
Comment 2 Dmitry Morozhnikov 2009-11-06 16:56:59 UTC
I can confirm this problem when using authenticated connection. Placing gw6ckeys.pub (from a standalone install) into the /var/lib/gateway6 solves problem.
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-10-11 20:21:29 UTC
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.
Comment 4 Julian Ospald 2015-08-17 13:46:28 UTC
this is not in portage anymore, the new package is named net-misc/gogoc