[UBUNTU] 19.04 - Packaging problem with smc-tools 1.2.0

Bug #1841032 reported by bugproxy
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu on IBM z Systems
High
Canonical Foundations Team
smc-tools (Ubuntu)
Undecided
Skipper Bug Screeners
Disco
Undecided
Unassigned
Eoan
Undecided
Skipper Bug Screeners

Bug Description

[Impact]

 * Shared library shipped in the unused ldpath, instead of a normal multiarch location.

[Test Case]

 * $ sudo smc_run ls

Bad output:
ERROR: ld.so: object 'libsmc-preload.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.

[Regression Potential]

 * This is a regression from cosmic, which was fixed in eoan. Only packaging is changed to move the library into /usr/lib/{multiarch} location.

[Other Info]

 * Original bug report

The shared library libsmc-preload.so (shipped with smc-tools) is installed in the wrong place:

root@m3545040:~# smc_run ls
ERROR: ld.so: object 'libsmc-preload.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
root@m3545040:~# dpkg -L smc-tools
/.
/usr
/usr/bin
/usr/bin/smc_dbg
/usr/bin/smc_pnet
/usr/bin/smc_rnics
/usr/bin/smc_run
/usr/bin/smcss
/usr/lib64
/usr/lib64/libsmc-preload.so
/usr/share
/usr/share/doc
/usr/share/doc/smc-tools
/usr/share/doc/smc-tools/changelog.Debian.gz
/usr/share/doc/smc-tools/copyright
/usr/share/lintian
/usr/share/lintian/overrides
/usr/share/lintian/overrides/smc-tools
/usr/share/man
/usr/share/man/man7
/usr/share/man/man7/af_smc.7.gz
/usr/share/man/man8
/usr/share/man/man8/smc_pnet.8.gz
/usr/share/man/man8/smc_rnics.8.gz
/usr/share/man/man8/smc_run.8.gz
/usr/share/man/man8/smcss.8.gz
root@m3545040:~# mv /usr/lib64/libsmc-preload.so /usr/lib/s390x-linux-gnu/
root@m3545040:~# ldconfig
root@m3545040:~# smc_run ls
root@m3545040:~#

It is currently packaged to install to /usr/lib64/libsmc-preload.so, which is not a search path for shared libraries. It should rather install to /usr/lib/s390x-linux-gnu/ instead.

bugproxy (bugproxy)
tags: added: architecture-s39064 bugnameltc-180765 severity-high targetmilestone-inin1904
Changed in ubuntu:
assignee: nobody → Skipper Bug Screeners (skipper-screen-team)
affects: ubuntu → linux (Ubuntu)
affects: linux (Ubuntu) → smc-tools (Ubuntu)
Changed in ubuntu-z-systems:
importance: Undecided → High
assignee: nobody → Canonical Foundations Team (canonical-foundations)
Changed in smc-tools (Ubuntu Eoan):
status: New → Fix Released
Changed in smc-tools (Ubuntu Disco):
status: New → Confirmed
Changed in ubuntu-z-systems:
status: New → Confirmed
description: updated
Changed in smc-tools (Ubuntu Disco):
status: Confirmed → Fix Committed
status: Fix Committed → In Progress
Changed in ubuntu-z-systems:
status: Confirmed → In Progress
tags: added: id-5d5ebb8fad4c848168bcedd1
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Please test proposed package

Hello bugproxy, or anyone else affected,

Accepted smc-tools into disco-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/smc-tools/1.2.0-0ubuntu1.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-disco to verification-done-disco. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-disco. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in smc-tools (Ubuntu Disco):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-disco
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

# dpkg-query -W smc-tools
smc-tools 1.2.0-0ubuntu1
# smc_run ls
ERROR: ld.so: object 'libsmc-preload.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.

# dpkg-query -W smc-tools
smc-tools 1.2.0-0ubuntu1.1
# smc_run ls

all is good.

tags: added: verification-done verification-done-disco
removed: verification-needed verification-needed-disco
Frank Heimes (fheimes)
Changed in ubuntu-z-systems:
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package smc-tools - 1.2.0-0ubuntu1.1

---------------
smc-tools (1.2.0-0ubuntu1.1) disco; urgency=medium

  * Cherrypick multiarch patch from eoan, to resolve installing preload.so
    in the correct multiarch locations for every arch. LP: #1841032

 -- Dimitri John Ledkov <email address hidden> Fri, 23 Aug 2019 11:34:05 +0100

Changed in smc-tools (Ubuntu Disco):
status: Fix Committed → Fix Released
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Update Released

The verification of the Stable Release Update for smc-tools has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Frank Heimes (fheimes)
Changed in ubuntu-z-systems:
status: Fix Committed → Fix Released
Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2019-09-09 06:00 EDT-------
IBM Bugzilla status -> closed, Fix Release for Disco

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers