Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 851036 - dev-db/redis openrc creates second pid file separate from redis
Summary: dev-db/redis openrc creates second pid file separate from redis
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Petr Vaněk
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-10 14:43 UTC by nic
Modified: 2022-07-03 01:27 UTC (History)
5 users (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 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