Skip to content

ROCm TensorFlow Python 3.12 UBI9 image missing libxcrypt-compat for MySQL SASL2 plugin compatibility #1722

@coderabbitai

Description

@coderabbitai

Problem

The ROCm TensorFlow Python 3.12 UBI9 image (runtimes/rocm-tensorflow/ubi9-python-3.12/Dockerfile.rocm) does not install libxcrypt-compat. This package is required at runtime for MySQL SASL2 plugins to function correctly with mysql-connector-python==9.3.0 on Python 3.12 UBI9. Without it, MySQL PLAIN/TLS authentication will fail due to missing libcrypt.so.1.

Impact

  • MySQL SASL2 plugin authentication (PLAIN/TLS) will break at runtime in this image.
  • All other TensorFlow and PyTorch Python 3.12 UBI9 images already install libxcrypt-compat, so this is an inconsistency.

Solution

Add the following to runtimes/rocm-tensorflow/ubi9-python-3.12/Dockerfile.rocm:

RUN yum install -y libxcrypt-compat \
 && yum clean all

Acceptance Criteria

  • libxcrypt-compat is installed in the ROCm TensorFlow Python 3.12 UBI9 image.
  • MySQL SASL2 plugin authentication works at runtime.
  • Consistency with other Python 3.12 UBI9 images is restored.

Context

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

📋 Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions