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

Bug 851036

Summary: dev-db/redis openrc creates second pid file separate from redis
Product: Gentoo Linux Reporter: nic <nic>
Component: Current packagesAssignee: Petr Vaněk <arkamar>
Status: UNCONFIRMED ---    
Severity: normal CC: gentoo, hydrapolic, nic, proxy-maint, sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description nic 2022-06-10 14:43:12 UTC
/etc/init.d/redis is creating a second pid file as it differed from the default redis.conf path.

Resulting in separate /run/redis/redis.pid and /run/redis.pid files are created by Redis and OpenRC. 


/etc/redis/redis.conf
 pidfile /run/redis/redis.pid

redis.initd-6
 pidfile="/run/${RC_SVCNAME}.pid"


Systemd redis.service-4 appears correct, matching redis value.
 PIDFile=/run/redis/redis.pid


Suggesting is to update redis.initd-7 as:
 pidfile="/run/${RC_SVCNAME}/${RC_SVCNAME}.pid"



Cosmetic? This impacts all current version of redis in the tree. 

Thank you