From: alexei@taf.ru To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org> Subject: Re: [sisyphus] PostgreSQL изменение поведения при установке Date: Mon, 20 Mar 2023 17:41:07 +0800 (IRKT) Message-ID: <1216360621.1215210.1679305267267.JavaMail.zimbra@taf.ru> (raw) In-Reply-To: <20a73d4c-1fbc-3fda-4f78-458aab4c6f81@altlinux.org> ----- Исходное сообщение ----- > От: "Andrey Cherepanov" <cas@altlinux.org> > Кому: sisyphus@lists.altlinux.org > Отправленные: Воскресенье, 19 Март 2023 г 21:31:48 > Тема: Re: [sisyphus] PostgreSQL изменение поведения при установке > 17.03.2023 13:06, alexei@taf.ru пишет: >> Приветствую! >> >> В Сизиф уехали сборки PG с изменениями в поведении по-умолчанию при >> инициализации баз. Теперь при вызове /etc/init.d/postgresql initdb >> происходит назначение пароля для суперпользователя СУБД postgres, >> а так же в файле pg_hba.conf изменен метод авторизации с trust на >> scram-sha-256. >> >> Для уже инициализированных баз поведение не изменяется. > > мар 19 16:29:36 c253.test.alt systemd[1]: Starting postgresql.service - > PostgreSQL database server... > мар 19 16:29:36 c253.test.alt postgresql-check-db-dir[242855]: Usage: > /usr/bin/postgresql-check-db-dir database-path > мар 19 16:29:36 c253.test.alt systemd[1]: postgresql.service: Control > process exited, code=exited, status=1/FAILURE > мар 19 16:29:36 c253.test.alt systemd[1]: postgresql.service: Failed > with result 'exit-code'. > мар 19 16:29:36 c253.test.alt systemd[1]: Failed to start > postgresql.service - PostgreSQL database server. Случайно в старый /etc/sysconfig/postgresql (еще принадлежавший postgresql-common) ручные правки не вносились? Сейчас проверил у себя, если этот файл не трогался, что обновление проходит нормально и на новой версии PG база подхватывается и запускается нормально. Убрал в спеке noreplace для /etc/sysconfig/postgresql. Где-то со времен 9.2 этот файл ни на что не влиял.
prev parent reply other threads:[~2023-03-20 9:41 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-03-17 10:06 alexei 2023-03-19 13:31 ` Andrey Cherepanov 2023-03-20 9:41 ` alexei [this message]
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1216360621.1215210.1679305267267.JavaMail.zimbra@taf.ru \ --to=alexei@taf.ru \ --cc=sisyphus@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Sisyphus discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \ sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru public-inbox-index sisyphus Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sisyphus AGPL code for this site: git clone https://public-inbox.org/public-inbox.git