Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 132756 - foomatic-rip's system call to gs fails with a taint error when setuid perl is installed
Summary: foomatic-rip's system call to gs fails with a taint error when setuid perl is...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Printing (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-08 21:27 UTC by Monty Charlton
Modified: 2006-06-01 15:46 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Monty Charlton 2006-05-08 21:27:42 UTC
When I print with IPP/Cups (from Windows only, not Linux...don't ask me why), I get the following error in the cups error_log file:
Insecure dependency in system while running setuid at /usr/lib/cups/filter/foomatic-rip line 3463.


foomatic-rip is issuing a system command on a setuid perl on that line of code.

Adding
($commandline =~ m/^(.*)$/) && ($commandline=$1);
just above the system call (line 3462 of foomatic-rip) fixes the problem fine. Perhaps it is not the best solution, but it does do the job.

Incidentally, I had to install Perl setuid root to get spamd to work with qmail -- a totally separate, painfully long problem to solve. :)

Thanks.
Monty
Comment 1 Stefan Schweizer (RETIRED) gentoo-dev 2006-06-01 15:46:08 UTC
is it an error or a warning? In cups-1.2 the backends are no longer root. You can try that to circumvent it.
Also the perl line makes no sense for me. It does nothing?

Please tell me what you are trying to achieve there ..

REOPEN if you are still interested