Bug 1325781 - Wrong ownership in package prevent munge starting
Summary: Wrong ownership in package prevent munge starting
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: munge
Version: epel7
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Steve Traylen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-11 08:02 UTC by Chen Chen
Modified: 2016-04-11 08:13 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-04-11 08:13:26 UTC
Type: Bug


Attachments (Terms of Use)

Description Chen Chen 2016-04-11 08:02:20 UTC
Description of problem:
/var/log/munge and /var/log/munge/munged.log is owned by munge, preventing munged to start normally.

Version-Release number of selected component (if applicable):
0.5.11.1.el7

How reproducible:
Always

Steps to Reproduce:
1. "yum install munge"
2. run "munged" in foreground

Actual results:
[root@centos7 ~]# munged
munged: Error: Logfile is insecure: "/var/log/munge/munged.log" should be owned by UID 0

Expected results:
munged started

Additional info:

[root@centos7 ~]# rpm -qlv munge | grep /var/log
drwx------    2 munge   munge                       0 May 16  2014 /var/log/munge

Comment 1 Chen Chen 2016-04-11 08:05:30 UTC
[root@centos7 ~]# create-munge-key 
Generating a pseudo-random key using /dev/urandom completed.
[root@centos7 ~]# munged
munged: Error: Pidfile is insecure: invalid ownership of "/run/munge"
munged: Error: PRNG seed dir is insecure: invalid ownership of "/var/lib/munge"
munged: Error: Keyfile is insecure: "/etc/munge/munge.key" should be owned by UID 0

Comment 2 Chen Chen 2016-04-11 08:13:26 UTC
My bad. I should run it under user "munge". Closed.


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