From: Alexey Tourbin <at@altlinux.ru>
To: devel@lists.altlinux.org
Subject: Re: [devel] warning: package with no files has %post-script
Date: Mon, 10 Mar 2008 19:54:32 +0300
Message-ID: <20080310165432.GQ24653@solemn.turbinal> (raw)
In-Reply-To: <20080310153725.4e4698c7@v3405.naf.net.ru>
[-- Attachment #1: Type: text/plain, Size: 1070 bytes --]
On Mon, Mar 10, 2008 at 03:37:25PM +0300, Nikolay A. Fetisov wrote:
> On Mon, 10 Mar 2008 12:24:16 +0300
> > Группы надо создавать в том пакете, в котором лежат файлы
> > с правами этой группы. ...
>
> А _добавление_ псевдопользователей в группы?
>
> Например, в таком сценарии:
> есть пакет, предоставляющий веб-сервис. Держать файлы конфигурации с
> правами 0644 не желательно. Программа может работать с разными
> веб-серверами.
>
> Как решение - создать группу в основном пакете и задать для
> файлов конфигурации права %attr(0640,root,%_group),
> а в наборе _пустых_ пакетов вида %name-apache с зависимостями на
> соответствующие пакеты веб-серверов записать в %post нечто типа
> '%_bindir/gpasswd -a apache %_group'.
Я не совсем понял, о чём идёт речь.
Укажите конкретные пакеты.
> Или есть более правильные варианты?
Выполнение %post-like скриптов есть side effect на систему.
Грубо говоря, не должно быть чистых side-effect пакетов.
Side effect пакета на систему должен быть связан с файлами,
которые запакованы в этом пакете.
[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]
next prev parent reply other threads:[~2008-03-10 16:54 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-10 8:08 Alexey Tourbin
2008-03-10 8:58 ` Денис Смирнов
2008-03-10 9:24 ` Alexey Tourbin
2008-03-10 12:37 ` Nikolay A. Fetisov
2008-03-10 16:54 ` Alexey Tourbin [this message]
2008-03-10 18:33 ` Nikolay A. Fetisov
2008-03-11 7:55 ` Alexey Tourbin
2008-03-11 10:32 ` Денис Смирнов
2008-03-11 11:57 ` Alexey Tourbin
2008-03-11 12:52 ` Денис Смирнов
2008-03-11 15:42 ` Alexey Tourbin
2008-03-11 18:36 ` Dmitry V. Levin
2008-03-11 19:20 ` Денис Смирнов
2008-03-11 19:41 ` Dmitry V. Levin
2008-03-15 11:56 ` [devel] [FR] rpm macro for useradd/groupadd Michael Shigorin
2008-03-15 11:53 ` [devel] package post-scripts to packaged scripts Michael Shigorin
2008-03-10 20:14 ` [devel] warning: package with no files has %post-script Michael Shigorin
2008-03-11 9:36 ` Vladimir V. Kamarzin
2008-03-10 17:02 ` Денис Смирнов
2008-03-10 17:07 ` Alexey Tourbin
2008-03-10 18:02 ` Денис Смирнов
2008-03-11 16:05 ` Alexey Tourbin
2008-03-13 16:31 ` Денис Смирнов
2008-03-14 6:10 ` [devel] postgresql (was: warning: package with no files has %post-script) Vladimir V. Kamarzin
2008-03-14 8:00 ` Денис Смирнов
2008-03-19 21:30 ` [devel] PostgreSQL 8.3.1 Pavlov Konstantin
2008-03-10 20:10 ` [devel] warning: package with no files has %post-script Michael Shigorin
2008-03-10 18:12 ` Alexey Rusakov
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=20080310165432.GQ24653@solemn.turbinal \
--to=at@altlinux.ru \
--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