[Samba] Flushing wafcache when tweaking Samba builds

Nico Kadel-Garcia nkadel at gmail.com
Wed Mar 27 21:04:54 MDT 2013


On Tue, Mar 26, 2013 at 5:55 PM, Andrew Bartlett <abartlet at samba.org> wrote:
> On Fri, 2013-03-22 at 07:53 -0400, Nico Kadel-Garcia wrote:
>> I notice that Sama builds with Samba 4.0.x now use WAFCACHE to store
>> temporary files in the build process. Caching these files is fine, but
>> what clears them out? I've been working in test environments where
>> WAFCACHE was set to "/tmp/wafcache", such as building Fedora RPM's for
>> testing, and eventually ran my filesystem out of inodes because
>> nothing expires them.
>>
>> For now, I've left a cron job running to flush old files there, but
>> does anyone have a better approach? Should the WAFCACHE be in inside
>> the build tree, and flushed as part of "make clean"?
>
> The only waf cache I can find is in bin/.confcache.  Have you set
> something manually?
>
> Andrew Bartlett

The Fedora SRPM's do, I wa working from those. I had a gentle word
with them about this, and they're switching it to $PWD/WAFCACHE. in
the build directory, although the default you've illuminated here
actually makes more sense.


More information about the samba mailing list