]> git.michaelhowe.org Git - packages/o/openafs.git/commit
libafs: remove "Please install afsd with check server daemon" warning
authorMichael Meffie <mmeffie@sinenomine.net>
Fri, 14 Nov 2014 03:28:08 +0000 (22:28 -0500)
committerStephan Wiesand <stephan.wiesand@desy.de>
Wed, 15 Apr 2015 14:19:25 +0000 (10:19 -0400)
commit3da7b78ea965e5e1c94cd922eab0ac1d4e3d1b61
treefda772e677097a20d2658848e0e5cd62fc3f0f37
parenta48e90ddf1de19e766a8cc5898f9ac0a340eddb4
libafs: remove "Please install afsd with check server daemon" warning

Apparently, ancient versions of afsd did not start the check server
daemon (AFSOP_START_CS). The afs_Daemon tries to detect when the check
server daemon is not running and issues a warning to upgrade afsd.  The
afs_Daemon waits for the cache initialization to complete (AFSOP_GO)
before detecting if the cache server daemon is started.

Unfortunately, when running with memcache, the cache initialization is
fast enough to race with the start of the check server daemon, and the
"Please install afsd with check server daemon" message is sometimes
printed to the syslog.

Since all modern versions of afsd do start the check server daemon, this
error message is no longer needed, so just remove the message and the
flag used to print it on only once.

Reviewed-on: http://gerrit.openafs.org/11602
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
(cherry picked from commit 8ce37d0d4aa4e6107f79efaf5027f31ea5a17604)

Change-Id: I292052c9ba629c85ddc4b76c4b3db7d54ce1d852
Reviewed-on: http://gerrit.openafs.org/11680
Reviewed-by: Perry Ruiter <pruiter@sinenomine.net>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
src/afs/afs_daemons.c