From: "Dmitry V. Levin" <ldv@alt-linux.org>
To: Linux-Mandrake RE Mailing List <mandrake-russian@altlinux.ru>
Subject: Re: [mdk-re] Postgresql
Date: Fri Apr 27 13:07:12 2001
Message-ID: <20010427131223.B28617@ldv.office.alt-linux.org> (raw)
In-Reply-To: <20010427092811.06cceb75.kt@petr.kz>; from kt@petr.kz on Fri, Apr 27, 2001 at 09:28:11AM +0700
[-- Attachment #1: Type: text/plain, Size: 2170 bytes --]
On Fri, Apr 27, 2001 at 09:28:11AM +0700, Kostya Timoshenko wrote:
> > > > Спасибо за обновление, только есть одна проблема:
> > > > невозможно подключиться к серверу через сокет, так как на доступ к
> > > > /var/lib/pgsql-root/tmp только у postgres.
> > >
> > > Не надо подключаться с сокету лежащему в /var/lib/pgsql-root/tmp это только
> > > для сервера работающего в chroot, для совместимости сделан линк на
> > > /tmp/сокет, он создается при старте сервера postgresql.
> > Беда в том, что линк создается, но при попытке просмотреть не
> > postgres-пользователю этот линк - разрыв ссылки. Он создается в первый раз, в
> > последующие разы появляется ошибка о невозможности создания, так как уже
> > существует.
> да, моя ошибка, дайте команду chmod 1777 /var/lib/pgsql-root/tmp и все будет нормально.
>
> > > > Да, хотелось бы, чтобы при
> > > > установке subj автоматически бы создавался, если его нет, пользователь
> > > > postgres и группа postgres.
> > > > Хорошо, что я знал, что должно быть... Версия
> > > > 7.0.3 при удалении себя сносит и этого пользователя.
> > >
> > > так она и создается, проверял несколько раз.
> > У меня - ни разу. Ставил 2 раза на чистую от postgresql систему, в том числе
> > и отстутствовал пользователь postgres - ошибка: "нет пользователя postgres -
> > использую root"
> только что проверил на чистой системе становится без одной ошибки:)
Проблема есть, и вызвана она тем, что старая версия пакета при
удалении уносит за собой пользователя и группу postgres, а такое
поведение является недопустимым ввиду того, что эти идентификаторы
являются системными (пакет setup).
Очевидно, в новом пакете придется делать секцию
%prein server
или
%triggerpostun server -- postgresql-server <= 7.0.3
с добавлением этих самых удаленных идентификаторов.
Regards,
Dmitry
+-------------------------------------------------------------------------+
Dmitry V. Levin mailto://ldv@alt-linux.org
ALT Linux Team http://www.altlinux.ru/
Fandra Project http://www.fandra.org/
+-------------------------------------------------------------------------+
UNIX is user friendly. It's just very selective about who its friends are.
[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]
next prev parent reply other threads:[~2001-04-27 13:07 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-04-26 0:09 Sergei
2001-04-26 3:59 ` Aleksey Novodvorsky
2001-04-26 23:41 ` [mdk-re] Postgresql Oleg N. Kayunov
2001-04-26 23:54 ` Sergei
2001-04-26 23:58 ` Sergei
2001-04-27 6:32 ` Kostya Timoshenko
2001-04-27 14:55 ` Oleg N. Kayunov
2001-04-27 15:12 ` Kostya Timoshenko
2001-04-28 7:56 ` Sergei
2001-04-28 8:59 ` Kostya Timoshenko
2001-04-26 6:25 ` [mdk-re] Postgresql Kostya Timoshenko
2001-04-26 22:14 ` Sergei
2001-04-27 6:26 ` Kostya Timoshenko
2001-04-27 8:30 ` Sergei
2001-04-27 8:45 ` Kostya Timoshenko
2001-04-27 9:00 ` Sergei
2001-04-27 13:07 ` Dmitry V. Levin [this message]
2001-04-26 22:27 ` Sergei
2001-04-26 22:30 ` Sergei
2001-04-27 6:34 ` Kostya Timoshenko
2001-04-27 8:28 ` Sergei
2001-04-27 11:15 ` Kostya Timoshenko
2001-04-28 7:59 ` Sergei
2001-04-28 8:02 ` Sergei
2001-04-28 9:01 ` Kostya Timoshenko
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=20010427131223.B28617@ldv.office.alt-linux.org \
--to=ldv@alt-linux.org \
--cc=mandrake-russian@altlinux.ru \
/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 Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git