Bug 1376396 - /var/tmp/rpm-tmp.KPCugR: line 2: /bin/systemctl: No such file or directory
Summary: /var/tmp/rpm-tmp.KPCugR: line 2: /bin/systemctl: No such file or directory
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: build
Version: 3.9
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Milind Changire
QA Contact:
URL:
Whiteboard:
Depends On: 1375181
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-15 10:51 UTC by Milind Changire
Modified: 2016-12-06 06:00 UTC (History)
7 users (show)

Fixed In Version: glusterfs-3.9.0
Clone Of: 1375181
Environment:
Last Closed: 2016-12-06 06:00:49 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Comment 1 Milind Changire 2016-09-15 10:54:48 UTC
Problem:
On systemd platforms, the glusterfs packages seem to get installed before systemd package gets installed breaking the install process. This needs to be fixed.

Solution:
Add "Requires(post): systemd" directive to glusterfs-server and glusterfs-events packages for systemd platforms.

Comment 2 Worker Ant 2016-09-15 10:55:19 UTC
REVIEW: http://review.gluster.org/15508 (build: add systemd dependency) posted (#1) for review on release-3.9 by Milind Changire (mchangir)

Comment 3 Worker Ant 2016-09-17 14:28:45 UTC
COMMIT: http://review.gluster.org/15508 committed in release-3.9 by Kaleb KEITHLEY (kkeithle) 
------
commit 0268156dda0995124183f52b3f1e9e9538734772
Author: Milind Changire <mchangir>
Date:   Tue Sep 13 14:21:29 2016 +0530

    build: add systemd dependency
    
    Installs break with glusterfs getting installed before systemd
    installation. This patch adds a dependency for systemd appropriately
    for Fedora and RHEL platforms for glusterfs-server and glusterfs-events
    packages.
    
    > Reviewed-on: http://review.gluster.org/15469
    > Smoke: Gluster Build System <jenkins.org>
    > NetBSD-regression: NetBSD Build System <jenkins.org>
    > CentOS-regression: Gluster Build System <jenkins.org>
    > Reviewed-by: Niels de Vos <ndevos>
    > Reviewed-by: Kaleb KEITHLEY <kkeithle>
    
    (cherry picked from commit 73c6c2c307c8bcaac51aa94b1af518955f35d1b8)
    
    Change-Id: Ica18f82a5e37c7755f0d386ce2ac6c70e8082815
    BUG: 1376396
    Signed-off-by: Milind Changire <mchangir>
    Reviewed-on: http://review.gluster.org/15508
    Smoke: Gluster Build System <jenkins.org>
    Reviewed-by: Niels de Vos <ndevos>
    Tested-by: Kaleb KEITHLEY <kkeithle>
    CentOS-regression: Gluster Build System <jenkins.org>
    NetBSD-regression: NetBSD Build System <jenkins.org>

Comment 4 Aravinda VK 2016-10-27 05:22:52 UTC
glusterfs-3.9.0rc2 is released[1] and packages are available for different distributions[2] to test.

[1] http://www.gluster.org/pipermail/maintainers/2016-October/001601.html
[2] http://www.gluster.org/pipermail/maintainers/2016-October/001605.html and http://www.gluster.org/pipermail/maintainers/2016-October/001606.html

Comment 5 Aravinda VK 2016-12-06 06:00:49 UTC
Gluster 3.9 GA is released http://blog.gluster.org/2016/11/announcing-gluster-3-9/


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