+++ This bug was initially created as a clone of Bug #1399031 +++ Description of problem: glusterfs.spec.in refers to /bin/systemctl This is not the path that systemctl is found in. It is found at /usr/bin Also, its not a good practice to refer to utilities with their absolute paths. Additional info: The absolute path will now be changed to %{_bindir}/systemctl --- Additional comment from Milind Changire on 2016-11-28 01:17:23 EST --- Correction: systemctl will be referred to with just the base name and without any path prefix. --- Additional comment from Worker Ant on 2016-11-28 01:20:11 EST --- REVIEW: http://review.gluster.org/15936 (build: remove absolute paths to systemctl) posted (#1) for review on master by Milind Changire (mchangir) --- Additional comment from Worker Ant on 2016-11-28 04:16:30 EST --- REVIEW: http://review.gluster.org/15936 (build: remove absolute paths to systemctl) posted (#2) for review on master by Milind Changire (mchangir) --- Additional comment from Worker Ant on 2016-11-29 10:58:14 EST --- REVIEW: http://review.gluster.org/15936 (build: add systemd dependency to the primary package) posted (#3) for review on master by Milind Changire (mchangir) --- Additional comment from Worker Ant on 2016-11-29 11:00:28 EST --- REVIEW: http://review.gluster.org/15936 (build: add systemd dependency to the primary package) posted (#4) for review on master by Milind Changire (mchangir) --- Additional comment from Worker Ant on 2016-11-30 03:53:02 EST --- REVIEW: http://review.gluster.org/15936 (build: add systemd dependency to the glusterfs sub-package) posted (#5) for review on master by Milind Changire (mchangir) --- Additional comment from Worker Ant on 2016-11-30 06:52:00 EST --- REVIEW: http://review.gluster.org/15936 (build: add systemd dependency to the glusterfs sub-package) posted (#6) for review on master by Milind Changire (mchangir) --- Additional comment from Worker Ant on 2016-11-30 09:12:03 EST --- REVIEW: http://review.gluster.org/15936 (build: add systemd dependency to the glusterfs sub-package) posted (#7) for review on master by Milind Changire (mchangir) --- Additional comment from Worker Ant on 2016-12-01 07:39:57 EST --- REVIEW: http://review.gluster.org/15936 (build: add systemd dependency to the glusterfs sub-package) posted (#8) for review on master by Milind Changire (mchangir) --- Additional comment from Worker Ant on 2016-12-01 09:56:49 EST --- COMMIT: http://review.gluster.org/15936 committed in master by Kaleb KEITHLEY (kkeithle) ------ commit 6138f4a2fc835bc94aa66543f5aee4f92081f1c7 Author: Milind Changire <mchangir> Date: Wed Nov 30 19:38:03 2016 +0530 build: add systemd dependency to the glusterfs sub-package Problem: /bin/systemctl is not available at install time of primary glusterfs package. Solution: Add %{?systemd_requires} to the glusterfs sub-package install time requirements. Replace all "Requires: systemd" and "Requires: systemd-units" with %{?systemd_requires}. %systemd_requires is defined in /usr/lib/rpm/macros.d/macros.systemd systemd-units is provided by systemd. Add BuildRequires: systemd for the definition of %systemd_requires as well. Change-Id: I980ece7d538ea177ca6b0e70c1c169e6f04c46d4 BUG: 1399031 Signed-off-by: Milind Changire <mchangir> Reviewed-on: http://review.gluster.org/15936 NetBSD-regression: NetBSD Build System <jenkins.org> CentOS-regression: Gluster Build System <jenkins.org> Reviewed-by: Raghavendra Talur <rtalur> Smoke: Gluster Build System <jenkins.org>
REVIEW: http://review.gluster.org/15999 (build: add systemd dependency to the glusterfs sub-package) posted (#1) for review on release-3.9 by Milind Changire (mchangir)
COMMIT: http://review.gluster.org/15999 committed in release-3.9 by Atin Mukherjee (amukherj) ------ commit 9d6fa9e72f8989f403b12b76af7c3127a23f2d09 Author: Milind Changire <mchangir> Date: Wed Nov 30 19:38:03 2016 +0530 build: add systemd dependency to the glusterfs sub-package Problem: /bin/systemctl is not available at install time of primary glusterfs package. Solution: Add %{?systemd_requires} to the glusterfs sub-package install time requirements. Replace all "Requires: systemd" and "Requires: systemd-units" with %{?systemd_requires}. %systemd_requires is defined in /usr/lib/rpm/macros.d/macros.systemd systemd-units is provided by systemd. Add BuildRequires: systemd for the definition of %systemd_requires as well. > BUG: 1399031 > Reviewed-on: http://review.gluster.org/15936 > NetBSD-regression: NetBSD Build System <jenkins.org> > CentOS-regression: Gluster Build System <jenkins.org> > Reviewed-by: Raghavendra Talur <rtalur> > Smoke: Gluster Build System <jenkins.org> (cherry picked from commit 6138f4a2fc835bc94aa66543f5aee4f92081f1c7) Change-Id: I980ece7d538ea177ca6b0e70c1c169e6f04c46d4 BUG: 1400635 Signed-off-by: Milind Changire <mchangir> Reviewed-on: http://review.gluster.org/15999 Smoke: Gluster Build System <jenkins.org> NetBSD-regression: NetBSD Build System <jenkins.org> CentOS-regression: Gluster Build System <jenkins.org> Reviewed-by: Atin Mukherjee <amukherj>
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.9.1, please open a new bug report. glusterfs-3.9.1 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution. [1] http://lists.gluster.org/pipermail/gluster-users/2017-January/029725.html [2] https://www.gluster.org/pipermail/gluster-users/