Bug#764253: system-config-printer: Creates millions of ppd symlinks

Andreas Cadhalpun andreas.cadhalpun at googlemail.com
Wed Oct 22 13:18:01 UTC 2014


Hi OdyX,

On 22.10.2014 11:24, Didier 'OdyX' Raboud wrote:
> Le mardi, 21 octobre 2014, 20.09:08 Andreas Cadhalpun a écrit :
>> Thus I think there are two bugs here:
>>    * cups should not create files with wrong permissions in
>> /etc/cups/ppd
>
> Upstream seems to think differently; see http://cups.org/str.php?L4500
> and https://bugzilla.redhat.com/show_bug.cgi?id=1150917#c6
>
> I'm therefore planning to add the patch proposed in STR: #4500 to make
> sure symlinks are only returned when they are readable, this should help
> right?

Yes, this helps a lot, thanks!
Now cups copies the ppd file to /tmp instead of creating a symlink.

(By the way, the cups test suite hangs in pbuilder, printing endless 
lines of:
Waiting for scheduler to become ready...)

>> * scp-dbus-service should not start an infinite loop
>> creating millions of symlinks in /tmp just because the permissions in
>> /etc/cups/ppd are wrong
>
> This should definitively be fixed in system-config-printer anyway.

Indeed this should be fixed, because starting an infinite loop is a 
rather bad failure mode.

Best regards,
Andreas




More information about the pkg-gnome-maintainers mailing list