[Bug 175748] Review Request: cacti

bugzilla at redhat.com bugzilla at redhat.com
Mon Dec 19 07:54:47 UTC 2005


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.

Summary: Review Request: cacti


https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=175748





------- Additional Comments From gauret at free.fr  2005-12-19 02:54 EST -------
* in the cron job, replace /usr/bin by %{_bindir}
* to make it clear that the patches come from upstream, please give the full url
  (ex:
http://www.cacti.net/downloads/patches/0.8.6g/short_open_tag_parse_error.patch)
  They won't start with "cacti-0.8.6g-", but it is more important to be able to
  verify them against upstream.
* drop the empty %build section
* concerning the apache restart in the scriptlets :
  1. we want to condrestart apache on install, in order for our new cacti.conf
     to be taken into account.
  2. we want to condrestart apache on upgrade, in case we changed cacti.conf
  3. we want to condrestart apache on uninstall, so that apache sees that the
     cacti.conf file has been removed.
  For 1 we need a post scriptlet like this :
%post
if [ $1 == 1 ]; then
  /sbin/service httpd condrestart >/dev/null 2>&1
fi
  We can combine 2 and 3 into a simple %postun scriptlet without tests :
%postun
/sbin/service httpd condrestart >/dev/null 2>&1
  See http://fedoraproject.org/wiki/ScriptletSnippets for more info on which
  tests to run

We are having a larger problem now. SELinux blocks httpd from accessing /var/log
and /var/lib. The RRAs are correctly created by the poller script, but can't be
seen in the web interface. I'm posting in fedora-selinux-list to get advice.

-- 
Configure bugmail: https://bugzilla.redhat.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the fedora-extras-list mailing list