[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tarsnap config files are ignored



On 21/07/2016 06:05, Colin Percival wrote:
On 07/20/16 14:18, Chris wrote:
I still don't understand why it can't see the config file in
the /usr/local/etc folder -- it's definitely there and
accessible when I'm logged in as root. But at least I now
have things working.
This is indeed strange... can you check if /etc/tarsnap.conf is
being read?  It's possible that autoconf is picking /etc/ as the
place for configuration files; this seems unlikely given that you
had it installed under /usr/local, but I've learned to not assume
any sort of predictable behaviour from autoconf.

I've experimented with moving tarsnap.conf to different locations, including
/etc/, my home directory, and the root home directory, but none of them
seem to work. I had a look at the Makefile generated by autoconf, and it
looks to be correctly putting the conf file into /usr/local/etc.

I have found, though, that it *will* read my .tarsnaprc file. I had to put
this into root home in order for it to be detected under sudo (which makes
sense), so I have a workable system. I'm going to put it down to a weird
glitch with my systems.

Chris
chris@the-study.net