ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Michael Shigorin <mike@osdn.org.ua>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] Вопрос по добавлению псевдопользователей
Date: Sat, 12 Apr 2008 13:49:37 +0300
Message-ID: <20080412104937.GQ24226@osdn.org.ua> (raw)
In-Reply-To: <20080410235945.GA18199@wo.int.altlinux.org>

On Fri, Apr 11, 2008 at 03:59:45AM +0400, Dmitry V. Levin wrote:
> > https://bugzilla.altlinux.org/show_bug.cgi?id=15268
> Если пользователя(группы) нет в стандартном /etc/passwd(group),
> то пакет должен её создать до первого использования (обычно в
> %pre), без привязки к численным значениям.  А если она там
> есть, то может и не создавать.

Помнится, предлагалось нечто вроде реестра того, что не
забивается в setup (поскольку проблемы с обновлением),
но имеет предсказуемые uid/gid.  На манер LANANA.

> > В принципе, есть вот эта страничка на вики:
> > http://freesource.info/wiki/AltLinux/Policy/UidGid
> Это не полиси.

Разумеется.

> "С другой стороны, идея создавать служебные аккаунты
> динамически при установке пакета сама по себе чревата
> несовместимостью uid/gid различных инсталляций, что создаёт
> вполне реальные проблемы с резервным копированием
> (восстановлением данных в контексте другого сервера)."
> - интересно, о каких проблемах из-за различий uid/gid идёт речь?

Перенос данных, как и указано.  Ещё конфигурации и прав,
особенно в случае нетривиальных связок софта.

Меня такое однажды укусило достаточно неприятно...

> См. тж. https://bugzilla.altlinux.org/show_bug.cgi?id=9895

Чем не устраивает предложение в #c9? (BTW #c6 obsolete)

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


      parent reply	other threads:[~2008-04-12 10:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-10 11:29 Michael Bochkaryov
2008-04-10 23:59 ` Dmitry V. Levin
2008-04-11 12:38   ` Michael Bochkaryov
2008-04-12 10:49   ` Michael Shigorin [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=20080412104937.GQ24226@osdn.org.ua \
    --to=mike@osdn.org.ua \
    --cc=devel@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 Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git