Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 476672 - net-misc/stunnel uses /var/run/stunnel/stunnel.pid when it should use /run/stunnel/*
Summary: net-misc/stunnel uses /var/run/stunnel/stunnel.pid when it should use /run/st...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Anthony Basile
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: keepdir-var-run_lock
  Show dependency tree
 
Reported: 2013-07-13 02:11 UTC by Jeroen Roovers (RETIRED)
Modified: 2014-06-10 11:40 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 Jeroen Roovers (RETIRED) gentoo-dev 2013-07-13 02:11:36 UTC
cvs/gentoo-x86/net-misc/stunnel $ fgrep -r /var/run/ .
./files/stunnel.conf:pid = /var/run/stunnel/stunnel.pid
./files/stunnel.rc6:PIDFILE="/var/run/stunnel/stunnel.pid"
./files/stunnel.rc6:            ewarn "pid should point to /var/run/stunnel/stunnel.pid"
./files/stunnel.initd:DEFAULT_PIDFILE="/var/run/stunnel/stunnel.pid"
./files/stunnel.initd:    rm -rf /var/run/stunnel/*.pid
./files/stunnel.initd-start-stop-daemon:        PIDFILE=${PIDFILE:-/var/run/stunnel/${SERVICENAME}.pid}
./files/stunnel.initd-start-stop-daemon:        checkpath -d -m 0775 -o root:stunnel /var/run/stunnel
./stunnel-4.44.ebuild:  keepdir /var/run/stunnel
./stunnel-4.44.ebuild:  fowners stunnel:stunnel /var/run/stunnel
./stunnel-4.54.ebuild:  keepdir /var/run/stunnel
./stunnel-4.54.ebuild:  fowners stunnel:stunnel /var/run/stunnel
./ChangeLog:  * fixed init scripts to use proper /var/run/stunnel location

It's also used in /etc/stunnel/stunnel.conf
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-07-13 02:12:59 UTC
(In reply to Jeroen Roovers from comment #0)
> ./files/stunnel.conf:pid = /var/run/stunnel/stunnel.pid

> It's also used in /etc/stunnel/stunnel.conf

Ah, I covered that already.
Comment 2 Anthony Basile gentoo-dev 2014-06-10 11:40:45 UTC
Fixed in stunnel-5.02.ebuild