Re: Bug#258602: apache: /usr/local/bin not included in PATH environment
tag 258602 pending stop Hi Fredrik On Sat, 10 Jul 2004, Fredrik Åslund wrote: /usr/local/bin or /usr/local/sbin is not included in the default PATH environment for apache. Aren't those common enough to be considered default? Any CGI-script that uses programs not shipped with Debian requires their own PATH environment to be set (or a hard-coded path to the program). The PATH environment should be set to something like PATH=/usr/local/bin:/usr/local/sbin:/bin:/usr/bin:/sbin:/usr/sbin Thanks for spotting this problem that evolved in more than that. Actually the PATH is completely wrong since none of the sbin entries should be required for apache. In any case a fix is pending in our CVS that will include /usr/local/bin as well. Fabio -- user fajita: step one fajita Whatever the problem, step one is always to look in the error log. user fajita: step two fajita When in danger or in doubt, step two is to scream and shout.
Processed: Re: Bug#258602: apache: /usr/local/bin not included in PATH environment
Processing commands for [EMAIL PROTECTED]: tag 258602 pending Bug#258602: apache: /usr/local/bin not included in PATH environment There were no tags set. Tags added: pending stop Stopping processing here. Please contact me if you need assistance. Debian bug tracking system administrator (administrator, Debian Bugs database)
Bug#258602: apache: /usr/local/bin not included in PATH environment
Package: apache Version: 1.3.31-2 Severity: normal /usr/local/bin or /usr/local/sbin is not included in the default PATH environment for apache. Aren't those common enough to be considered default? Any CGI-script that uses programs not shipped with Debian requires their own PATH environment to be set (or a hard-coded path to the program). The PATH environment should be set to something like PATH=/usr/local/bin:/usr/local/sbin:/bin:/usr/bin:/sbin:/usr/sbin or should be configurable from /etc/default/apache or something. /Fredrik Åslund, Sweden -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.4.26-nighteye Locale: LANG=C, LC_CTYPE=sv_SE Versions of packages apache depends on: ii apache-common 1.3.31-2 Support files for all Apache webse ii debconf 1.4.28 Debian configuration management sy ii dpkg1.10.22 Package maintenance system for Deb ii libc6 2.3.2.ds1-13 GNU C Library: Shared libraries an ii libdb4.24.2.52-16Berkeley v4.2 Database Libraries [ ii libexpat1 1.95.6-8 XML parsing C library - runtime li ii libmagic1 4.09-1 File type determination library us ii libpam0g0.76-21 Pluggable Authentication Modules l ii logrotate 3.7-2Log rotation utility ii mime-support3.26-1 MIME files 'mime.types' 'mailcap ii perl5.8.4-2 Larry Wall's Practical Extraction -- debconf information excluded