From: Mikhail Zabaluev <mhz@alt-linux.org>
To: devel@altlinux.ru
Subject: [devel] Re: Q: how to upgrade setup
Date: Thu, 20 Dec 2001 00:00:23 +0300
Message-ID: <20011219210023.GC1787@localhost.localdomain> (raw)
In-Reply-To: <20011219160038.GA9911@ldv.office.alt-linux.org>
[-- Attachment #1: Type: text/plain, Size: 1512 bytes --]
Hello Dmitry,
On Wed, Dec 19, 2001 at 07:00:38PM +0300, Dmitry V. Levin wrote:
>
> On Wed, Dec 19, 2001 at 06:47:54PM +0300, Yura Zotov wrote:
> > > Необходимо обновить пакет setup.
> > > При этом снова возникает старая проблема:
> > > файлы /etc/{passwd,group} не могут быть корректно обновлены.
> > >
> > > В нынешней ситуации будут созданы /etc/{passwd,group}.rpmnew, в результате
> > > чего в системе не появятся новые, жизненно важные группы (пользователи).
> > >
> > > При использовании утилиты update-passwd, наоборот, есть риск потери
> > > некоторых не менее важных из уже используемых групп (пользователей).
> > >
> > > Пример setup/update-passwd можно посмотреть в Daedalus/setup.
> > >
> > > Какие будут мысли?
> > >
> >
> > Я не знаю что да как, но возможно стоит попробовать разделить
> > файлы на на два куска. В одном хранятся все группы, которые легко
> > и просто и нужно автоматически обновлять, в другом те, которые
> > сисадмин поправит ручками, если захочет.
> >
> > Или это совсем глупость?
>
> Разделить /etc/group и /etc/passwd на 2 куска - это задача не для
> слабонервных, и будет покруче, чем TCB.
А почему нет? Сделать ghost-файлы /etc/{passwd,group}.default,
импортировать их в настоящие в фазе post-install, затем удалять.
--
Stay tuned,
MhZ JID: mookid@jabber.org
___________
The three questions of greatest concern are -- 1. Is it attractive?
2. Is it amusing? 3. Does it know its place?
-- Fran Lebowitz, "Metropolitan Life"
[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]
prev parent reply other threads:[~2001-12-19 21:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-19 15:27 [devel] " Dmitry V. Levin
2001-12-19 15:47 ` Yura Zotov
2001-12-19 16:00 ` Dmitry V. Levin
2001-12-19 21:00 ` Mikhail Zabaluev [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=20011219210023.GC1787@localhost.localdomain \
--to=mhz@alt-linux.org \
--cc=devel@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 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