[krbdev.mit.edu #8254] [PATCH] configure: use appropriate default for krb5_cv_sys_rcdir when cross-compiling
Paul Fertser via RT
rt-comment at krbdev.mit.edu
Mon Sep 28 12:58:20 EDT 2015
Hello,
On Mon, Sep 28, 2015 at 12:21:25PM -0400, Greg Hudson via RT wrote:
> /var/tmp also appears to be mandated by the FHS, and is our preference
> for replay caches for a reason (we want replay caches to survive a
> reboot). So it seems like a better cross-compilation default than
> /tmp, although it wouldn't help your use case. Do you know why
> /var/tmp is not present on OpenWRT?
My guess would be that since this OS is targetting the least capable
boards that usually only have a very limited amount of flash memory
for storage, a decision was made to make /var a symlink to /tmp. That
way only a single instance of tmpfs is mounted. Creating a /var/tmp
subdirectory that would be practically the same as /tmp might have
seemed odd to the develoers.
But now that I see FHS mandates /var/tmp, I'll try to send a patch for
that.
And by the way, OpenWrt is the correct official spelling.
--
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
mailto:fercerpav at gmail.com
More information about the krb5-bugs
mailing list