[cups] Setting up a file printer under CentOS7

Zdenek Dohnal zdohnal at redhat.com
Fri Sep 14 00:32:15 PDT 2018


On 9/14/18 8:09 AM, Gernot Hassenpflug wrote:
>
>> When I looked at the print queue in the GUI, the queue had stopped. I
>> right-clicked on the job and selected 'reprint' and the job completed.
>>
>> Then when I checked, the file had been created at:
>>
>> /tmp/systemd-private-50d346fc75b8442ba768bceb72f73085-cups.service-qiUhzv/tmp/foo
>>
>> [root at centos7-001 ~]# ls -lh
>> /tmp/systemd-private-50d346fc75b8442ba768bceb72f73085-cups.service-nZYIXk/tmp/foo
>> -rw------- 1 root root 13K  9月 14 13:39
>> /tmp/systemd-private-50d346fc75b8442ba768bceb72f73085-cups.service-nZYIXk/tmp/foo
>>
> So that is where it goes there days... not just /tmp/foo, maybe CUPS
> changed (because of system-wide permissions issues) to local paths.
>
It is definitely a bug - if I specify the path, then the file should be
in the path. It is caused by our downstream patch for cups, which
brought systemd features for cups-1.6.3 (when RHEL 7/CentOS 7 was done,
CUPS didn't have systemd support yet). I filed the bug on it
https://bugzilla.redhat.com/show_bug.cgi?id=1628842




More information about the cups mailing list