Bug 506901 - Munin doesn't depend on fedora-usermgmt
Munin doesn't depend on fedora-usermgmt
Product: Fedora EPEL
Classification: Fedora
Component: munin (Show other bugs)
All Linux
low Severity medium
: ---
: ---
Assigned To: Kevin Fenzi
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2009-06-19 04:03 EDT by Andreas Müller
Modified: 2009-06-19 16:14 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2009-06-19 16:14:46 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Andreas Müller 2009-06-19 04:03:37 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/
total 88
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):

How reproducible:

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
Actual results:
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.

Expected results:
No error, it should just work.
Comment 1 Kevin Fenzi 2009-06-19 11:40:03 EDT
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. ;)
Comment 2 Andreas Müller 2009-06-19 16:14:46 EDT
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.


Note You need to log in before you can comment on or make changes to this bug.