Bug 764619 (GLUSTER-2887)
Summary: | Providing native systemd service file for glusterd and glusterfsd | ||
---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Jóhann B. Guðmundsson <johannbg> |
Component: | glusterd | Assignee: | Vijay Bellur <vbellur> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | low | Docs Contact: | |
Priority: | medium | ||
Version: | pre-2.0 | CC: | bugs, gluster-bugs, h-sugimoto, ndevos, rwheeler, vijay |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-11-09 11:30:54 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Attachments: |
Description
Jóhann B. Guðmundsson
2011-05-06 14:26:35 UTC
Providing native systemd service file which replace the old sysv on linux platform see http://www.freedesktop.org/wiki/Software/systemd for details To test this copy the attached files to /lib/systemd/system on Fedora 15 or newer run "systemctl daemon-reload" to let systemd pick up the native systemd service files. To start an service run systemctl start glusterd.service ( this will also start glusterfsd.service ) To restart an service run systemctl restart glusterd.service systemctl restart glusterfsd.service To stop an service run systemctl stop glusterd.service systemctl stop glusterfsd.service To enable or disable a service at boot up run systemctl enable/disable glusterd.service systemctl enable/disable glusterfsd.service I think this is enough for the first round on this report I'm expecting bunch of questions from you guys now there are no environmental option pick up from the environment file when starting the daemon ( /etc/sysconfig/glusterd ) in the service files because well the one of them is a at least obsolete and it's an question if you just want that handled by downstream. Will work on this after 3.3.0 release. Created attachment 712 Updating to current status of systemd... Removed syslog.target no longer necessary. Changed PID Path from /var/run to /run Removed EnvironmentFile /etc/sysconfig/glusterfsd since users/administrators should copy the unit file from /lib/systemd/system to /etc/systemd/system and edit/add the relevant options from that sysconfig file there. Created attachment 713 Updating to current status of systemd... Removed syslog.target no longer necessary. Changed PID Path from /var/run to /run Removed EnvironmentFile /etc/sysconfig/glusterfsd since users/administrators should copy the unit file from /lib/systemd/system to /etc/systemd/system and edit/add the relevant options from that sysconfig file there. Removed an extra '=' line in the Wants line This should be fixed in current releases. The extras/systemd/ directory in the sources contain the systemd-unit files. These get included in the RPMs when buidling on a distribution that uses systemd. In case the systemd units do not work as they should, please file a new bug report dedicated to that particular issue. Thanks! |