2009-09-04 Sancho Lerena zslerena@artica.es>
* pandora_server.spec: Updated dependency for sudo. * util/tentacle_serverd: su cannot work as expected in SLES11, so we fallback to sudo again. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1916 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
64ec979126
commit
49ae1b3efc
|
@ -1,3 +1,10 @@
|
|||
2009-09-04 Sancho Lerena zslerena@artica.es>
|
||||
|
||||
* pandora_server.spec: Updated dependency for sudo.
|
||||
|
||||
* util/tentacle_serverd: su cannot work as expected in SLES11, so
|
||||
we fallback to sudo again.
|
||||
|
||||
2009-09-03 Sancho Lerena <slerena@artica.es>
|
||||
|
||||
* lib/PandoraFMS/PredictionServer.pm: Fixed some warning on non init
|
||||
|
|
|
@ -23,7 +23,7 @@ AutoReq: 0
|
|||
Provides: %{name}-%{version}
|
||||
Requires: perl-mail-sendmail perl-DBI perl-DBD-mysql perl-time-format
|
||||
Requires: perl-mail-sendmail perl-netaddr-ip perl-SNMP net-snmp
|
||||
Requires: nmap wmic
|
||||
Requires: nmap wmic sudo
|
||||
|
||||
%description
|
||||
Pandora FMS is a monitoring system for big IT environments. It uses remote tests, or local agents to grab information. Pandora supports all standard OS (Linux, AIX, HP-UX, Solaris and Windows XP,2000/2003), and support multiple setups in HA enviroments.
|
||||
|
@ -100,9 +100,6 @@ fi
|
|||
%preun
|
||||
/etc/init.d/pandora_server stop &>/dev/null
|
||||
/etc/init.d/tentacle_serverd stop &>/dev/null
|
||||
%if "%{_vendor}" == "redhat"
|
||||
/sbin/chkconfig --del pandora_server
|
||||
%endif
|
||||
chkconfig -d pandora_server
|
||||
chkconfig -d tentacle_serverd
|
||||
|
||||
|
@ -111,6 +108,8 @@ chkconfig -d tentacle_serverd
|
|||
%defattr(750,pandora,root)
|
||||
/etc/init.d/pandora_server
|
||||
/etc/init.d/tentacle_serverd
|
||||
|
||||
%defattr(755,pandora,root)
|
||||
/usr/local/bin/pandora_exec
|
||||
/usr/local/bin/pandora_server
|
||||
/usr/local/bin/tentacle_server
|
||||
|
|
|
@ -64,7 +64,7 @@ case "$1" in
|
|||
exit 1
|
||||
fi
|
||||
|
||||
su $TENTACLE_USER -c "${TENTACLE_PATH}$TENTACLE_DAEMON $TENTACLE_OPTS"
|
||||
sudo -u $TENTACLE_USER ${TENTACLE_PATH}$TENTACLE_DAEMON $TENTACLE_OPTS
|
||||
sleep 1
|
||||
|
||||
TENTACLE_PID=`get_pid`
|
||||
|
|
Loading…
Reference in New Issue