Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 110623 - start-stop-daemon in baselayout 1.12.0_pre9 (-r1) prevents openvpn to find config fle
Summary: start-stop-daemon in baselayout 1.12.0_pre9 (-r1) prevents openvpn to find co...
Status: RESOLVED DUPLICATE of bug 108945
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-27 07:48 UTC by infobox.oleg
Modified: 2005-10-27 07:53 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 infobox.oleg 2005-10-27 07:48:20 UTC
When starting openvpn you may use something like this:
 start-stop-daemon --start --pidfile $piddir/openvpn-$VPN.pid --exec
path_to_openvpn -- --daemon --config ./local.conf

With [summary] version of baselayout openvpn can't find its config file. With
start-stop-daemon from baselayout-1.12.0_pre8-r2 everything is ok ceterus paribus.

I tried all versions of openvpn-2.* currently in portage.

Before update to [summary] version of baselayout everything worked just fine out
of the box.



Reproducible: Always
Steps to Reproduce:
1. emerge =openvpn-2.0.2
2. emerge baselayout-1.12.0_pre9-r1
3. create reasonable local.conf for openvpn, create openvpn key (optional)
4. cd to dir with local.conf
5. start-stop-daemon --start --pidfile /var/run/openvpn.pid --exec
path_to_openvpn -- --daemon --config ./local.conf

Actual Results:  
Server is broken now, but message stated about Can't read local.conf. 

Expected Results:  
Run openvpn daemon in background according to local.conf configuration.

Workaround:
echo ">sys-apps"/baselayout-1.12.0_pre8-r2" >> /etc/portage/package.mask
emerge baselayout
Comment 1 SpanKY gentoo-dev 2005-10-27 07:53:08 UTC

*** This bug has been marked as a duplicate of 108945 ***