Red Hat Bugzilla – Bug 854804
incorrect permissions on /var/lib/smokeping/images if smokeping installed before httpd
Last modified: 2012-09-17 19:03:22 EDT
Description of problem:
After setting up a brand new install of smokeping on F16, the web interface reports errors creating directories and files under /var/lib/smokeping/images, but only if smokeping is installed before httpd.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Start with a fresh F16 install without httpd, OR:
yum remove httpd
2. yum install smokeping
3. yum install httpd
4. systemctl start httpd.service
5. systemctl start smokeping.service
6. Visit http://localhost/smokeping/sm.cgi and click on Fedora
Installing : smokeping-2.4.2-16.fc16.noarch 52/52
warning: user apache does not exist - using root
Then when visiting the website and clicking on Fedora:
ERROR: creating /var/lib/smokeping/images/Ping: No such file or directory
For help, please send mail to the webmaster (root@localhost), giving this error message and the time and date of the error.
# ls -l /var/lib/smokeping/
drwxr-xr-x. 2 root root 4096 Jan 22 2012 images
drwxr-xr-x. 3 root root 4096 Sep 5 22:39 rrd
[root@t /]# ls -l /var/lib/smokeping/images
Require httpd to be installed first, so the apache user exists before smokeping is installed.
Thanks for your report.
smokeping-2.6.8-1.fc18 has been submitted as an update for Fedora 18.
smokeping-2.6.8-1.fc17 has been submitted as an update for Fedora 17.
smokeping-2.4.2-17.fc16 has been submitted as an update for Fedora 16.
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing smokeping-2.4.2-17.fc16'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
smokeping-2.4.2-17.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.
smokeping-2.6.8-1.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.
smokeping-2.6.8-1.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.