Bug 2023328

Summary: Please rebuild with json-c-0.14-11.el9
Product: Red Hat Enterprise Linux 9 Reporter: Tomas Korbar <tkorbar>
Component: tpm2-tssAssignee: Štěpán Horáček <shoracek>
Status: CLOSED ERRATA QA Contact: Vilém Maršík <vmarsik>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.0CC: bhu, jsnitsel, rvr
Target Milestone: rcKeywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tpm2-tss-3.0.3-7.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-17 15:36:06 UTC Type: ---
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: 2001067    
Bug Blocks:    

Comment 4 Vilém Maršík 2022-02-25 20:00:52 UTC
Looks good in RHEL-9.0.0-20220225.1 :
# rpm -q tpm2-tss json-c
tpm2-tss-3.0.3-7.el9.x86_64
json-c-0.14-11.el9.x86_64

It seems all json calls are versioned by now:
# for A in /usr/lib64/libtss2-esys.so.0.0.0 /usr/lib64/libtss2-fapi.so.1.0.0 /usr/lib64/libtss2-mu.so.0.0.0 /usr/lib64/libtss2-rc.so.0.0.0 /usr/lib64/libtss2-sys.so.1.0.0 /usr/lib64/libtss2-tcti-cmd.so.0.0.0 /usr/lib64/libtss2-tcti-device.so.0.0.0 /usr/lib64/libtss2-tcti-mssim.so.0.0.0 /usr/lib64/libtss2-tcti-swtpm.so.0.0.0 /usr/lib64/libtss2-tctildr.so.0.0.0; do readelf -Ws --dyn-syms $A | grep -i json; done
    14: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND json_object_object_add (4)
    16: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND json_object_get_type (4)
    66: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND json_object_new_int64 (4)
    94: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND json_object_new_boolean (4)
    95: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND json_object_get (4)
   108: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND json_object_object_get_ex (4)
   128: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND json_object_new_int (4)
   170: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND json_object_new_array (4)
   194: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND json_object_new_string (4)
   240: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND json_object_array_add (4)
   242: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND json_object_array_length (4)
   244: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND json_object_get_string (4)
   255: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND json_object_put (4)
   265: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND json_object_array_get_idx (4)
   281: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND json_object_get_object (4)
   303: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND json_tokener_parse (4)
   305: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND json_object_to_json_string_ext (4)
   312: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND json_object_new_object (4)
   318: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND json_object_is_type (4)

The package also adds a new requirement:
# rpm -q --requires tpm2-tss | grep -i json
libjson-c.so.5()(64bit)
libjson-c.so.5(JSONC_0.14)(64bit)
Where older versions only had this:
# rpm -q --requires tpm2-tss-3.0.3-6.el9.x86_64.rpm | grep -i json
libjson-c.so.5()(64bit)

Considering verified.

Comment 6 errata-xmlrpc 2022-05-17 15:36:06 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 (new packages: tpm2-tss), 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-2022:3895