Bug 1357023 - Systemd Dependency Problem in Centos 7 (NFS mount at boot)
Summary: Systemd Dependency Problem in Centos 7 (NFS mount at boot)
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: GlusterFS
Classification: Community
Component: glusterd
Version: 3.7.13
Hardware: Unspecified
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: bugs@gluster.org
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-07-15 13:52 UTC by Keith
Modified: 2016-07-15 14:44 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-07-15 14:44:36 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Keith 2016-07-15 13:52:12 UTC
Description of problem:

gluster.service has the following directive in the [Unit] section

    After=network.target rpcbind.service

but should probably be

    After=network.target rpc-statd.service rpcbind.service

since the starting of gluster seems to invoke the rpc.statd daemon. When rpc-statd.service is eventually started by systemd, it fails because rpc.statd is already running. Making the changes above resolves the issue.


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

Centos 7


How reproducible:


Steps to Reproduce:
1. Install Centos 7
2. Install Gluster 3.7.13
3. Install nfs-tools
4. Create a volume
5. Create a /etc/fstab entry for that volume with the nfs driver
6. Reboot
7. Inspect the output of systemctl, note that rpc-statd is in state failed


Actual results:

rpc-statd is in state failed.


Expected results:

rpc-statd is not in state failed.


Additional info:


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