[nut-Bugs][304601] /usr/local/ups/ should be in PATH

nut-bugs at alioth.debian.org nut-bugs at alioth.debian.org
Mon Jul 16 16:00:35 UTC 2007


Bugs item #304601, was opened at 2007-07-16 17:00
Status: Open
Priority: 3
Submitted By: alain williams (addw-guest)
Assigned to: Nobody (None)
Summary: /usr/local/ups/ should be in PATH 
Category: None
Group: None
Resolution: None


Initial Comment:
The default installation is /usr/local/ups/ the PATH setting in the system startup scripts (I have only looked at the RedHat/CentOS ones) does not include anything under there.

Since first raising this issue I found that /etc/rc.d/init.d/functions resets the PATH anyway and so the PATH at the head of the startup scripts would be overwritten anyway (RedHat Enterprise 4.5).

A much better solution would be to set the PATH in /etc/sysconfig/ups, something like:
PATH=$PATH:/usr/local/ups/sbin:/usr/local/ups/bin
would do nicely.

----------------------------------------------------------------------

You can respond by visiting: 
http://alioth.debian.org/tracker/?func=detail&atid=411542&aid=304601&group_id=30602



More information about the NUT-tracker mailing list