Skip to content

su command in line 256 of runOracle.sh.orig prevents database from starting on rootless podman #2979

Open
@martin-bach-oracle

Description

@martin-bach-oracle

The latest Oracle Database Free image hosted on https://container-registry.oracle.com/ords/ocr/ba/database/free fails to start due to a change in /opt/oracle/runOracle.sh.orig, line 256 unless the container is started as root.

Podman starts containers in rootless mode by default. The su command therefore cannot work by definition. The user is prompted for a password (which is of course unknown) in interactive mode. /etc/init.d/oracle-free-23ai start isn't executed, and all subsequent steps fail since the database isn't available.

Kindly revert the change to allow users to run the image without requiring root privileges.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions