Bug 1481225

Summary: Move libsudo_util.so from devel sub-package into the main package
Product: Red Hat Enterprise Linux 7 Reporter: Daniel Kopeček <dkopecek>
Component: sudoAssignee: Daniel Kopeček <dkopecek>
Status: CLOSED ERRATA QA Contact: Dalibor Pospíšil <dapospis>
Severity: unspecified Docs Contact:
Priority: high    
Version: 7.4CC: dapospis, mthacker, pkis
Target Milestone: rcKeywords: EasyFix, Patch, Triaged, ZStream
Target Release: 7.4   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: sudo-1.8.19p2-11.el7 Doc Type: If docs needed, set a value
Doc Text:
Previously, the libsudo_util.so library was included in the file list of the sudo-devel subpackage. As a consequence, sudo-devel had incorrect dependencies, which under certain circumstances caused upgrading the sudo packages to fail. To fix this bug, libsudo_util.so has been moved to the main sudo package. As a result, the sudo-devel package no longer requires the libsudo_util.so, and thus does not prevent upgrading the sudo packages.
Story Points: ---
Clone Of:
: 1481304 1482929 (view as bug list) Environment:
Last Closed: 2018-04-10 14:44:23 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:    
Bug Blocks: 1482929    
Attachments:
Description Flags
sudo.spec proposed patch none

Description Daniel Kopeček 2017-08-14 12:02:16 UTC
Description of problem:

The inclusion of the /usr/libexec/libsudo_util.so shared library introduced in a rebase (RHBA-2017:26879) to newer version of sudo caused an unintended dependency of the sudo-devel sub-package on the versioned part of the libsudo_util library residing in the main sudo package.

Since the previous sudo package didn't require the 32-bit counterpart of the main package to be installed when the 32-bit sudo-devel sub-package was being installed in a 64-bit environment, the update to the latest version of the sudo package causes conflicts preventing a successful upgrade in multilib environments.

As a solution, we should revert to the previous state of the -devel sub-package files section and include the new library in the main files section.

Comment 1 Daniel Kopeček 2017-08-14 12:37:03 UTC
Created attachment 1313095 [details]
sudo.spec proposed patch

Comment 7 errata-xmlrpc 2018-04-10 14:44:23 UTC
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://access.redhat.com/errata/RHBA-2018:0824