Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1377062 - /var/tmp/rpm-tmp.KPCugR: line 2: /bin/systemctl: No such file or directory
/var/tmp/rpm-tmp.KPCugR: line 2: /bin/systemctl: No such file or directory
Status: CLOSED ERRATA
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: build (Show other bugs)
3.1
Unspecified Unspecified
medium Severity medium
: ---
: RHGS 3.2.0
Assigned To: Milind Changire
Byreddy
: Triaged
Depends On: 1375181 1376385 1399031 1400635
Blocks: 1350694 1351528
  Show dependency treegraph
 
Reported: 2016-09-18 02:47 EDT by Atin Mukherjee
Modified: 2017-03-23 01:47 EDT (History)
12 users (show)

See Also:
Fixed In Version: glusterfs-3.8.4-7
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1376385
Environment:
Last Closed: 2017-03-23 01:47:24 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
ISO package installation log (259.64 KB, text/plain)
2016-11-30 00:28 EST, Byreddy
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:0486 normal SHIPPED_LIVE Moderate: Red Hat Gluster Storage 3.2.0 security, bug fix, and enhancement update 2017-03-23 05:18:45 EDT

  None (edit)
Comment 2 Atin Mukherjee 2016-09-18 02:48:51 EDT
Upstream mainline : http://review.gluster.org/15469
Comment 4 Atin Mukherjee 2016-09-28 02:18:58 EDT
upstream mainline patch : http://review.gluster.org/15469
upstream 3.9 patch : http://review.gluster.org/#/c/15508/
downstream patch : https://code.engineering.redhat.com/gerrit/#/c/85550/

All the patches are merged now. Moving the state to Modified.
Comment 6 Byreddy 2016-11-24 04:46:57 EST
Still i am seeing this issue in rhel7 rhgs3.2 iso

01:38:21,271 INFO packaging: glusterfs-3.8.4-5.el7rhgs.x86_64 (154/751)

01:38:21,272 INFO packaging: /var/tmp/rpm-tmp.06bjWR: line 2: /bin/systemctl: No such file or directory
Comment 7 Byreddy 2016-11-24 05:06:32 EST
Moving to assigned state to fix this one.
Comment 9 Atin Mukherjee 2016-11-28 01:23:52 EST
http://review.gluster.org/#/c/15936 is posted for review.
Comment 10 Byreddy 2016-11-30 00:28 EST
Created attachment 1226160 [details]
ISO package installation log
Comment 11 Niels de Vos 2016-11-30 02:46:11 EST
Attachment 1226160 [details] confirms that the glusterfs package is installed before systemd. Here a snippet with the line numbers:

1864 23:36:48,781 INFO packaging: glusterfs-3.8.4-5.el7rhgs.x86_64 (154/751)
1865 
1866 23:36:48,781 INFO packaging: /var/tmp/rpm-tmp.tDkwFT: line 2: /bin/systemctl: No such file or directory
....
2582 23:36:48,904 INFO packaging: systemd-219-30.el7_3.6.x86_64 (512/751)


This means that dropping the absolute path to /bin/systemctl is not sufficient. The glusterfs sub-package needs to have a dependency on systemd, like

  Requires(post): systemd

or, preferably correct these dependencies for all sub-packages that need to execute systemctl commands to:

  %systemd_requires
Comment 12 Atin Mukherjee 2016-12-02 00:41:51 EST
upstream mainline : http://review.gluster.org/15936
upstream 3.9 : http://review.gluster.org/#/c/15999
downstream : https://code.engineering.redhat.com/gerrit/#/c/91958/
Comment 13 Milind Changire 2016-12-06 01:22:20 EST
Added BZ to erratum RHEA-2016:24866-02
Moving to ON_QA
Comment 14 Byreddy 2016-12-12 01:23:44 EST
Verified this issue using latest available rhgs3.2 rhel7 iso.
Issue no more exists so moving the bz to verified state.
Comment 17 errata-xmlrpc 2017-03-23 01:47:24 EDT
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

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