<div dir="ltr"><div dir="ltr">Hi,</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Feb 18, 2021 at 12:48 PM Ian Chilton <<a href="mailto:ian@lonap.net">ian@lonap.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
I’m replacing our aged sflow host with a new one and am having an odd <br>
problem.<br>
<br>
Debian 10 box.<br>
<br>
Both rrdcached and sflow-to-rrd-handler are running as root (which I <br>
would<br>
like to change going forward, but first things first!).<br>
<br>
rrdcached is is running from the stock scripts in Debian, other than I<br>
Tweaked /etc/default/rrdcached and set:<br>
BASE_OPTIONS="-B -P FLUSH,UPDATE -m 0666"</blockquote><div><br></div>       -B  Only permit writes into the base directory specified in -b (and any sub-directories).  This does NOT<br>           detect symbolic links.  Paths containing "../" will also be blocked.<br><div> </div><div>this is the culprit as now directory is defined. </div><div><br></div><div>just remove -B from /etc/default/rrdached and you should be good to go (at least this worked for me last week).</div><div><br></div><div>cheers</div><div><br></div><div>Moritz</div></div></div>