Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 685324

Summary: net-p2p/bitcoind uses /var/run instead of /run
Product: Gentoo Linux Reporter: Bertrand Jacquin <bertrand>
Component: Current packagesAssignee: Luke-Jr <luke-jr+gentoobugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: bertrand, proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 830306    

Description Bertrand Jacquin 2019-05-08 00:00:59 UTC
Hi,

net-p2p/bitcoind-0.17.1 init script refers /var/run:

/etc/init.d/bitcoind:BITCOIND_PIDDIR=${BITCOIND_PIDDIR:-/var/run/bitcoind}
/etc/conf.d/bitcoind:#BITCOIND_PIDDIR="/var/run/bitcoind"
Comment 1 Luke-Jr 2019-05-08 13:36:11 UTC
So? /var/run is where this kind of thing has always been?
Comment 2 Bertrand Jacquin 2019-05-08 21:38:30 UTC
According to FHS 3.0, /run should be used instead of /var/run. See http://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch03s15.html
Comment 3 Luke-Jr 2019-05-08 22:05:51 UTC
It also allows /var/run, and other systems (older FHS and non-FHS) use that, so it seems more compatible.