Re: "dpkg --info" produces errors if /tmp NFS mounted

Brian May (bam@snoopy.apana.org.au)
Wed, 10 Mar 1999 18:12:55 +1100


George Bonser wrote:
>On Tue, 9 Mar 1999, Brian May wrote:
>
>> 3) Why does the kernel put its temp file in dpkg's temp
>> directory and not, say, /tmp?? I suspect this may be the real issue here.
>> What do other Unixes do?
>
>Is dpkg perchance setting an environment variable that might be causing
>NFS to use the same temp space?

I didn't set any environment variables when I manually recreated the
error, other then the default for root.

Maybe I will try setting TEMP=/tmp, but I doubt this would help, as the
problem seems to be in the kernel. I suspect the kernel puts the temp
file in the same directory as the "open" and "deleted" file (ie the fact
this case involves /tmp is a coincidence), probably to ensure that it
remains in the same partition (is this required?). I have not idea how
this problem should be addressed...

Brian May <bam@snoopy.apana.org.au>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/