Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
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.
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
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.