Bug 1564666

Summary: d/rules: Hardcoded x86-64-linux-gnu in install path
Product: [Community] GlusterFS Reporter: Alexandru Avadanii <Alexandru.Avadanii>
Component: packagingAssignee: bugs <bugs>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.13CC: Alexandru.Avadanii, bugs, kkeithle
Target Milestone: ---   
Target Release: ---   
Hardware: aarch64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-04-09 11:46:07 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:
Attachments:
Description Flags
[PATCH] d/rules: Fix hardcoded x86-64-linux-gnu reference none

Description Alexandru Avadanii 2018-04-06 20:19:24 UTC
Created attachment 1418338 [details]
[PATCH] d/rules: Fix hardcoded x86-64-linux-gnu reference

Description of problem:
d/rules currently hardcodes the install path for x86-64, ignoring system arch:
/usr/lib/x86_64-linux-gnu/glusterfs/mount-shared-storage.sh

Version-Release number of selected component (if applicable):
3.13.2-ubuntu1~xenial2 (but applies to all packages I checked, e.g. 3.12 too)

How reproducible:
always

Steps to Reproduce:
1. apt install glusterfs-server # on an AArch64 (or any non-x86) machine
2. dpkg -L glusterfs-server | grep mount-shared-storage

Actual results:
/usr/lib/x86_64-linux-gnu/glusterfs/mount-shared-storage.sh

Expected results:
/usr/lib/aarch64-linux-gnu/glusterfs/mount-shared-storage.sh

Additional info:
Attached PoC fixup patch.

Comment 1 Kaleb KEITHLEY 2018-04-09 11:46:07 UTC
I respun all the ubuntu packages on Launchpad. I will be rebuilding the Debian arm64 packages over the next few days.