[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#276160: PATH variables in init.d scripts



I just noticed that the initscript for /etc/rc.local does not include 
/usr/local/sbin and /usr/local/bin/ in its PATH.  This seems like an obvious 
oops, but maybe I'm missing something.  A more clear policy regarding PATH 
variables would be great.

I often run a custom script or 2 from /etc/rc.local and the logical place for 
it as far as I know is /usr/local/sbin.  In fact, I think I should be able to 
replace any executable that exists in /usr/sbin with my own custom one in 
/usr/local/sbin.  Preferably without modifying init and other scripts.

Thanks.

Attachment: signature.asc
Description: Digital signature


Reply to: