Summary: | Некорректно обрабатывается переменная $PGMETHOD в /etc/init.d/postgresql | ||
---|---|---|---|
Product: | Sisyphus | Reporter: | Artem Varaksa <varaksaaa> |
Component: | postgresql16 | Assignee: | Alexei Takaseev <taf> |
Status: | CLOSED FIXED | QA Contact: | qa-sisyphus |
Severity: | normal | ||
Priority: | P5 | CC: | alimektor, taf |
Version: | unstable | ||
Hardware: | x86_64 | ||
OS: | Linux |
*** Bug 47883 has been marked as a duplicate of this bug. *** * Mon Oct 9 20:00:00 2023 Alexei Takaseev <taf@altlinux.org> 16.0-alt2 - Fix typo (Fixes ALT 47838) |
В следующем участке кода: > if [ -z "PGMETHOD" ] > then > PGMETHOD="scram-sha-256" > fi В условии должно быть $PGMETHOD, иначе при пустом параметре ожидаемой замены на scram-sha-256 не произойдёт. Код находится в altlinux/postgresql.init.in в пакетах: postgresql16 (sisyphus) postgresql15 (sisyphus) postgresql14 (sisyphus) postgresql13 (sisyphus) postgresql12 (sisyphus) postgresql11 (sisyphus) Для postgresql10 (есть только в p10) не актуально, т. к. там обрабатывается только $PGDATA.