Hide Forgot
Description of problem: postgresql-server should depend on util-linux, otherwise postgresql-setup fails on missing 'runuser' Version-Release number of selected component (if applicable): postgresql-server-14.1-3.fc36.x86_64 How reproducible: always Steps to Reproduce: 1. install postgresql-server in a container (minimal install, no weak deps etc.) 2. /usr/bin/postgresql-setup --initdb Actual results: /usr/bin/postgresql-setup: line 17: /usr/sbin/runuser: No such file or directory Expected results: the command works
In what container did you reproduce the issue? I could not reproduce it, and it would be a great help if you could point me in the right direction. I've tried it on a new fedora installation, and it worked. Did you have any arguments while installing the PostgreSQL?
Reproduced in podman: $ podman run -it fedora $ dnf install postgresql-server $ /usr/bin/postgresql-setup --initdb /usr/bin/postgresql-setup: line 17: /usr/sbin/runuser: No such file or directory
Fixed in the pull request: https://src.fedoraproject.org/rpms/postgresql/pull-request/55
FEDORA-2022-6853500e7e has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2022-6853500e7e
FEDORA-2022-6853500e7e has been pushed to the Fedora 38 stable repository. If problem still persists, please make note of it in this bug report.