Hide Forgot
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
[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
My bad. I should run it under user "munge". Closed.