ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Ivan Fedorov <ns@altlinux.org>
To: sisyphus@lists.altlinux.org
Subject: Re: [sisyphus] Проблема с pgsql и plperl
Date: Thu, 13 May 2010 11:41:11 +0400
Message-ID: <m3ocgknt9k.fsf@mbpro.oxyum.localnet> (raw)
In-Reply-To: <20100513001614.GA31284@mw.office.seiros.ru>

[-- Attachment #1: Type: text/plain, Size: 1133 bytes --]

Денис Смирнов <mithraen-u2l5PoMzF/Uox3rIn2DAYQ@public.gmane.org> writes:

> On Thu, May 13, 2010 at 12:33:50AM +0400, Konstantin Pavlov wrote:
>
> Однако у постгреса есть одна приятная фишка, которой при вынесении его в
> VE не будет -- авторизация по uid (без пароля).

Легко чинится, я это ещё в 2007 году делал.

1. LDAP или ручная синхронизация пользователей чтобы наборы
   пользователей были идентичны.

2. mkdir /var/sockets/ /var/lib/vz/root/VEID/var/sockets/
3. в скрипт (кажется VEID.mount) прописывается bind-mount

4. настраивается pgsql, чтобы клал свой сокет в /var/sockets/

5. делается init-скрипт, который будет создавать симлинк в /tmp.

6. PROFIT! :)

для монтирования можно поискать мой древний скрипт на shell+awk по имени
vzmount.

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

  reply	other threads:[~2010-05-13  7:41 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-12 14:51 ` Igor Zubkov
2010-05-12 14:54   ` Konstantin Pavlov
2010-05-12 14:56   ` Nikolay A. Fetisov
2010-05-12 15:55   ` Денис Смирнов
2010-05-12 19:37   ` Ivan Fedorov
2010-05-12 20:33     ` Konstantin Pavlov
2010-05-12 22:43       ` Ivan Fedorov
2010-05-13  6:14         ` Anton Gorlov
2010-05-13  7:08           ` Денис Смирнов
2010-05-13  7:28           ` Yuri Khacharuryan
2010-05-13  7:35           ` Ivan Fedorov
2010-05-13 11:07             ` Anton Gorlov
2010-05-13 14:21               ` Ivan Fedorov
2010-05-13 21:58                 ` Денис Смирнов
2010-05-13 22:44                   ` Ivan Fedorov
2010-05-15  8:39                     ` Денис Смирнов
2010-05-17 19:40                         ` Денис Смирнов
2010-05-15  8:40                     ` Денис Смирнов
2010-05-14  6:17                 ` Anton Gorlov
2010-05-13  0:16       ` Денис Смирнов
2010-05-13  7:41         ` Ivan Fedorov [this message]
2010-05-13  9:00           ` Денис Смирнов
2010-05-13 14:19             ` Ivan Fedorov
2010-05-14  6:27               ` Timur Batyrshin
2010-05-14  9:40                 ` Ivan Fedorov

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=m3ocgknt9k.fsf@mbpro.oxyum.localnet \
    --to=ns@altlinux.org \
    --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