Bug 1377062
Summary: | /var/tmp/rpm-tmp.KPCugR: line 2: /bin/systemctl: No such file or directory | ||||||
---|---|---|---|---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Atin Mukherjee <amukherj> | ||||
Component: | build | Assignee: | Milind Changire <mchangir> | ||||
Status: | CLOSED ERRATA | QA Contact: | Byreddy <bsrirama> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | rhgs-3.1 | CC: | amainkar, asrivast, bsrirama, bugs, jstodola, mbanas, mchangir, ndevos, rcyriac, rhs-bugs, sankarshan, storage-qa-internal | ||||
Target Milestone: | --- | Keywords: | Triaged | ||||
Target Release: | RHGS 3.2.0 | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
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 05:47:24 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | 1375181, 1376385, 1399031, 1400635 | ||||||
Bug Blocks: | 1350694, 1351528 | ||||||
Attachments: |
|
Comment 2
Atin Mukherjee
2016-09-18 06:48:51 UTC
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. 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 Moving to assigned state to fix this one. http://review.gluster.org/#/c/15936 is posted for review. Created attachment 1226160 [details]
ISO package installation log
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
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/ Added BZ to erratum RHEA-2016:24866-02 Moving to ON_QA Verified this issue using latest available rhgs3.2 rhel7 iso. Issue no more exists so moving the bz to verified state. 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 |