Description of problem: ======================= While parsing /var/log/messages. Found the following: [root@dhcp37-200 ~]# grep -i "Configuration file /usr/lib/systemd/system/glusterd.service" /var/log/messages Aug 22 15:28:59 localhost systemd: Configuration file /usr/lib/systemd/system/glusterd.service is marked executable. Please remove executable permission bits. Proceeding anyway. Looking at the permissions, it has X permission for configuration file. [root@dhcp37-200 ~]# cat /usr/lib/systemd/system/glusterd.service [Unit] Description=GlusterFS, a clustered file-system server Requires=rpcbind.service After=network.target rpcbind.service Before=network-online.target [Service] Type=forking PIDFile=/var/run/glusterd.pid LimitNOFILE=65536 Environment="LOG_LEVEL=INFO" EnvironmentFile=-/etc/sysconfig/glusterd ExecStart=/usr/sbin/glusterd -p /var/run/glusterd.pid --log-level $LOG_LEVEL $GLUSTERD_OPTIONS KillMode=process [Install] WantedBy=multi-user.target [root@dhcp37-200 ~]# [root@dhcp37-200 ~]# ls -l /usr/lib/systemd/system/glusterd.service -rwxr-xr-x. 1 root root 445 Jun 10 10:32 /usr/lib/systemd/system/glusterd.service [root@dhcp37-200 ~]# [root@dhcp37-200 ~]# rpm -qf /usr/lib/systemd/system/glusterd.service glusterfs-server-3.7.9-10.el7rhgs.x86_64 [root@dhcp37-200 ~]# Mostly all the other configuration files under system do not have executable permission. Version-Release number of selected component (if applicable): ============================================================= glusterfs-3.7.9-10.el7rhgs.x86_64
http://review.gluster.org/15115 which has made into gluster 3.8.2 upstream release fixes the problem. rhgs-3.2.0 would get this fix as part of rebase.
Upstream mainline : http://review.gluster.org/14892 Upstream 3.8 : http://review.gluster.org/15115 And the fix is available in rhgs-3.2.0 as part of rebase to GlusterFS 3.8.4.
Verified this bug using the build - glusterfs-3.8.4-5. Below is the result: //No message seen in messages log saying glusterd.service is marked as executable [root@ ~]# grep -i "Configuration file /usr/lib/systemd/system/glusterd.service" /var/log/messages [root@ ~]# [root@ ~]# //Permissions, No execute permission set. ~]# ls -l /usr/lib/systemd/system/glusterd.service -rw-r--r--. 1 root root 445 Nov 11 06:45 /usr/lib/systemd/system/glusterd.service Moving to verified state.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHSA-2017-0486.html