Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 215427 - net-misc/hamachi init.d script does not start
Summary: net-misc/hamachi init.d script does not start
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-30 11:20 UTC by blaek burgess
Modified: 2009-08-06 21:29 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 blaek burgess 2008-03-30 11:20:36 UTC
the hamachi script located in /etc/init.d/hamachi uses the start-stop-daemon with the following command (to start)

start-stop-daemon --quiet --start -c ${USER}\
   --exec /usr/bin/hamachi -- \
   -c $CONFDIR start &>${LOG} &
   result=$?

the issue is that start-stop-daemon uses the -c flag for its specify user, and  hamachi uses -c for its change config path.

Reproducible: Always

Steps to Reproduce:
1. /etc/init.d/hamachi init
2. /etc/init.d/hamachi start
Actual Results:  
if run without --quiet and without &>${LOG}

hamachi does not seem to be running - have you tried hamachi start?

Expected Results:  
started hamachi correctly
Comment 1 Stratos Psomadakis (RETIRED) gentoo-dev 2009-04-30 23:07:06 UTC
(In reply to comment #0)
> the hamachi script located in /etc/init.d/hamachi uses the start-stop-daemon
> with the following command (to start)
> 
> start-stop-daemon --quiet --start -c ${USER}\
>    --exec /usr/bin/hamachi -- \
>    -c $CONFDIR start &>${LOG} &
>    result=$?
> 
> the issue is that start-stop-daemon uses the -c flag for its specify user, and 
> hamachi uses -c for its change config path.
> 
> Reproducible: Always
> 
> Steps to Reproduce:
> 1. /etc/init.d/hamachi init
> 2. /etc/init.d/hamachi start
> Actual Results:  
> if run without --quiet and without &>${LOG}
> 
> hamachi does not seem to be running - have you tried hamachi start?
> 
> Expected Results:  
> started hamachi correctly
> 

(In reply to comment #0)
> the hamachi script located in /etc/init.d/hamachi uses the start-stop-daemon
> with the following command (to start)
> 
> start-stop-daemon --quiet --start -c ${USER}\
>    --exec /usr/bin/hamachi -- \
>    -c $CONFDIR start &>${LOG} &
>    result=$?
> 
> the issue is that start-stop-daemon uses the -c flag for its specify user, and 
> hamachi uses -c for its change config path.
> 
> Reproducible: Always
> 
> Steps to Reproduce:
> 1. /etc/init.d/hamachi init
> 2. /etc/init.d/hamachi start
> Actual Results:  
> if run without --quiet and without &>${LOG}
> 
> hamachi does not seem to be running - have you tried hamachi start?
> 
> Expected Results:  
> started hamachi correctly
> 

i don't think it's the -c option the problem...the man page of start-stop-daemon states that the arguments after -- are passed unchanged to the program...
so probably that's not the problem...
unfortunately my gentoo machine is down atm, so i can't test anything, but i would guess that it has something to do with hamachi itself...

have you tried to start it manually?...
also check bug #218481(info added to postinst)...
Comment 2 fow 2009-08-05 21:26:49 UTC
Whatever the problem was, this bug doesn't seem to be applicable anymore and should probably be closed.
Comment 3 Víctor Ostorga (RETIRED) gentoo-dev 2009-08-06 21:29:10 UTC
Can't reproduce the issue, feel free to reopen if you are able to reproduce it.