OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000675 [logwatch] regular use minor always 2004-10-20 16:45 2010-06-15 02:31
Reporter tobinjt View Status public  
Assigned To
Priority normal Resolution won't fix  
Status closed  
Summary 0000675: LogWatch\'s $PATH doesn\'t include /opt/csw/bin when it\'s run.
Description Several utilities used in this script aren\'t found, because /opt/csw/bin isn\'t in $PATH.

/opt/csw/etc/log.d/scripts/services/sendmail-largeboxes: gls: not found
/opt/csw/etc/log.d/scripts/services/sendmail-largeboxes: ggrep: not found
/opt/csw/etc/log.d/scripts/services/sendmail-largeboxes: ggrep: not found
/opt/csw/etc/log.d/scripts/services/sendmail-largeboxes: gawk: not found
Additional Information This script doesn set a PATH. I suppose I could add one. But don\'t you think you should be setting you PATH before you run regardless?
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0005169)
mlstier (reporter)
2008-03-05 10:56

This can be accomplished by setting PATH within the logwatch.pl script.

ie: $ENV{PATH} = \"/opt/csw/bin:/usr/sbin:/usr/bin\";
(0008020)
bwalton (administrator)
2010-06-15 02:31

As this is so old, I'm closing it without any inspection. Please let me know if the recently updated package still exhibits this problem.

-Ben


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker