[cups.bugs] [MOD] STR #1856: Null jobs create empty files in /var/tmp
Jim Newby
jnewby at econrads.com
Thu Jul 20 13:26:13 PDT 2006
[STR New]
I have the following symptom with 2 customers, easily duplicated, I think
it is a CUPS issue but I am not sure. When in a shell as an ordinary user
(not root) and you do something like:
cat /dev/null | lp
this results in an empty regular file being created in /var/tmp with a
name similar to: 44bfbdee31934
The pipe to lp must be empty ,resulting in the message:
lp: stdin is empty, so no job has been sent.
I am seeing this on a Gentoo Linux 2.6.12.5 with cups 1.1.23-r7 and also
on a new RedHat Enterprise AS 4. I stumbled upon these files by accident,
and when I did, the one system had accumulated over 28000 of these files
in 4 months. I believe this is a CUPS issue because:
cat /dev/null | cat
does not exhibit this symptom.
Link: http://www.cups.org/str.php?L1856
Version: 1.1.23
More information about the cups-devel
mailing list