Red Hat Bugzilla – Bug 506901
Munin doesn't depend on fedora-usermgmt
Last modified: 2009-06-19 16:14:46 EDT
Description of problem:
Munin does not depend on fedora-usermgmt. During installation, a user munin was created with uid/gid 101/102. There seem to be some hardcoded ownerships of uid/gid 124/124 in /var/www/html/munin:
# ll /var/www/html/munin/
drwxr-xr-x 2 124 124 36864 Apr 14 22:40 andreas-mueller.com
drwxr-xr-x 2 root root 4096 Jun 19 09:32 cgi
-rw-r--r-- 1 124 124 2555 Feb 21 01:05 definitions.html
-rw-r--r-- 1 124 124 3233 Jun 9 16:40 index.html
drwxr-xr-x 2 munin munin 4096 Jun 19 09:35 localhost
-rw-r--r-- 1 124 124 473 Feb 21 01:05 logo.png
-rw-r--r-- 1 root root 3538 Feb 18 15:18 style.css
There has been no error during installation.
On another box, everything is OK (user munin has 124/124), but on this box i had fedora-usermgmt installed before installing munin.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install CentOS/RHEL 5.3. (should be the same problem on Fedora, can't check this)
2. Make sure you don't have fedora-usermgmt installed
3. install munin
munin's cron job gives the following error:
Cannot open /var/www/html/munin/index.html: Permission denied at /usr/share/munin/munin-html line 488.
No error, it should just work.
munin no longer uses or needs fedora-usermgmt. It dynamically creates a munin user with whatever uid is next if there is not already one in existance.
The only of those files that are in the package are:
The rest are made by the munin cron job as it gathers data.
1. Did you already have an existing /var/www/html/munin/ dir with contents?
Note the timestamps on some of those... ?
2. Did you use to have munin installed on this machine, but removed the user for some reason? Changed authentication? etc.
I don't think this is at all a issue with the package, but rather something preexisting issue on your machine. ;)
1. No I had not, but it seems that it slipped in with an rsync from the other machine I mentioned.
Sorry for the trouble, but with your help I've found the problem: it's sitting right in front of my keyboard.
Nevertheless, I'm glad to hear that some packages move away from this stupid fedora-usermgmt thing.