| Summary: | Add Printer Wizard has error when run from Print Manager | ||
|---|---|---|---|
| Product: | TDE | Reporter: | James <james> |
| Component: | tdeadmin | Assignee: | Timothy Pearson <kb9vqf> |
| Status: | RESOLVED FIXED | ||
| Severity: | minor | CC: | bugwatch, darrella |
| Priority: | P5 | ||
| Version: | 3.5.10 | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Compiler Version: | TDE Version String: | ||
| Application Version: | Application Name: | ||
| Bug Depends on: | 54 | ||
| Bug Blocks: | |||
|
Description
James
2009-03-11 19:16:40 CDT
Just ran into this myself on a client's system. Not yet sure what is causing it, but a temporary fix is to link /opt/kde3/bin/make_driver_db_cups to /usr/bin/make_driver_db_cups. It is quite likely that the root KControl environment needs the PATH variable set--I will investigate as time allows. This problem may be caused by the debian version of sudo, which is compiled with the SECURE_PATH build option. With this build option, "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin". You may see this by running "sudo env". It also seems that no amount of tweaking /etc/sudoers will change this behaviour, no matter many years of bug reports. So, the only way to change PATH in sudo is to recompile sudo, and add /opt/kde3/bin to the compile-time SECURE_PATH. Note that, while /opt/kde3/bin may appear after /usr/local/*, /opt/kde3/bin must appear BEFORE /usr/bin in the PATH list. James I forgot about that! I have a sudo-kde3 package built with the correct SECURE_PATH, but it is currently broken due to bug 54, therefore I'm marking this bug to depend on it. Thanks for the reminder! Fixed on Karmic. |