Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 269022 - net-misc/memcached start script "after ntp-client, after ntpd"
Summary: net-misc/memcached start script "after ntp-client, after ntpd"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-08 11:17 UTC by werner maier
Modified: 2009-05-26 00:03 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 werner maier 2009-05-08 11:17:53 UTC
the memcached start script should be enhanced to run after ntp-client and ntpd.

Background: if a machine freshly comes up with an odd time set due to bios clock, e.g. two days in future, then memcached might start anytime as told in the runscript because only "need net" is mentioned. 
So it CAN start before ntp-client and ntp. That way it has a wrong time information during start and it gives strange effects: Stores to memcached are accepted with "STORED" but cannot be retrieved as 
"now()+cachetime < timeinformation for memcached (=tomorrow)".

In that case, restarting memcache helps, but it's quite odd to find the reason for this strange behaviour, and it could be avoided with a correct need or after flag in the startscript.
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2009-05-26 00:03:27 UTC
Fixed in 1.3.3-r2