Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 431980 - net-misc/apt-cacher-ng init script tweaks (checkpath on /run directory, --chuid is deprecated)
Summary: net-misc/apt-cacher-ng init script tweaks (checkpath on /run directory, --chu...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jeroen Roovers (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-19 19:55 UTC by Marien Zwart (RETIRED)
Modified: 2012-08-20 00:33 UTC (History)
1 user (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 Marien Zwart (RETIRED) gentoo-dev 2012-08-19 19:55:55 UTC
If /var/run is a symlink to /run apt-cacher-ng does not start, because /var/run/apt-cacher-ng does not yet exist. "checkpath -d -m 0755 -o ${NAME}:${NAME} ${RUNDIR}" in start() in the init script helps.

Also, it complains that "WARNING: -c/--chuid is deprecated and will be removed in the future, please use -u/--user instead". Just making the suggested change in the init script seems to work. That's with openrc-0.9.8.4, amd64 stable and oldest in the tree, so the change should be pretty safe.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-08-20 00:33:03 UTC
Thanks. Both fixed in 0.7.7.-r1.