https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205604
Bug ID: 205604
Summary: filter-path capability for printcap
Product: Base System
Version: 10.2-STABLE
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: bin
Assignee: [email protected]
Reporter: [email protected]
Created attachment 164640
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=164640&action=edit
The whole patch as an output from git-show
In my /etc/printcap the :if: capability points to a Ruby script.
This script contains the shebang line
#!/usr/bin/env ruby
After boot the printer daemon lpd has got its environment variable
PATH from /etc/rc. This PATH does not include /usr/local/bin.
Therefore the Ruby executable will not be found and the print
commands fails.
I extended the printcap mechanism by a filter-path capability that
allows to set the PATH variable before exec()ing into the filter.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"