ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] Вопрос по добавлению псевдопользователей
Date: Fri, 11 Apr 2008 03:59:45 +0400
Message-ID: <20080410235945.GA18199@wo.int.altlinux.org> (raw)
In-Reply-To: <47FDFA0A.8070006@altlinux.ru>

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

On Thu, Apr 10, 2008 at 02:29:14PM +0300, Michael Bochkaryov wrote:
> Мое почтение,
> 
> А есть ли у нас какие-то четкие правила по созданию псевдопользователей
> и групп? В частности, по их жесткой привязке к UID/GID?
> 
> Вопрос навеян багой, которую мне подбросили:
> https://bugzilla.altlinux.org/show_bug.cgi?id=15268

Если пользователя(группы) нет в стандартном /etc/passwd(group), то пакет
должен её создать до первого использования (обычно в %pre), без привязки
к численным значениям.  А если она там есть, то может и не создавать.

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

Это не полиси.

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

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


-- 
ldv

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

  reply	other threads:[~2008-04-10 23:59 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 [this message]
2008-04-11 12:38   ` Michael Bochkaryov
2008-04-12 10:49   ` Michael Shigorin

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=20080410235945.GA18199@wo.int.altlinux.org \
    --to=ldv@altlinux.org \
    --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