cachefilesd cannot start
NFS caching using cachefilesd does not work. When starting the following error is printed in the syslog, after which it stops:
Feb 2 20:40:21 alpine daemon.info cachefilesd[4854]: About to bind cache
Feb 2 20:40:21 alpine daemon.info cachefilesd[4854]: Bound cache
Feb 2 20:40:21 alpine daemon.notice cachefilesd[4854]: Daemon Started
Feb 2 20:40:21 alpine daemon.err cachefilesd[4854]: unable to set notification on graveyard: errno 22 (Invalid argument)
it happens here:
<code class="c">
static void reap_graveyard(void)
{
/* set a one-shot notification to catch more graves appearing */
reap = 0;
signal(SIGIO, sigio);
if (fcntl(graveyardfd, F_NOTIFY, DN_CREATE) < 0)
oserror("unable to set notification on graveyard");
reap_graveyard_aux(graveyardpath);
}
</code>
see: https://github.com/jnsnow/cachefilesd/blob/master/cachefilesd.c\#L662
I have no clue how to solve this issue.
Is it alpine or musl specific? Are other people able to get cachefiles
going?
(from redmine: issue id 9953, created on 2019-02-02)