ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: "Slava Semushin" <slava.semushin@gmail.com>
To: "ALT Linux Sisyphus discussions" <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] installer bug?
Date: Tue, 18 Sep 2007 20:44:53 +0700
Message-ID: <75e139a00709180644u5a3475e1g6996530d7b6cd678@mail.gmail.com> (raw)
In-Reply-To: <200709181740.52735.serpiph@nikiet.ru>

2007/9/18, Epiphanov Sergei <serpiph / nikiet.ru>:
> В сообщении от Tuesday 18 September 2007 17:28:39 Slava Semushin написал(а):
> > Я лично насмотревшись разных спеков сделал так (кусок ossec.spec):
> >
> > %define _addgroup /usr/sbin/groupadd -r -f
> > %define _adduser /usr/sbin/useradd -r -n -d /dev/null -s /sbin/nologin
> > -g %ossec_group
> >
> > %pre
> > # If we install package
> > if [ $1 -eq 1 ]; then
> > . %_addgroup %ossec_group || :
> > . %_adduser %ossec_user -c 'OSSEC User' || :
> > . %_adduser %ossec_muser -c 'OSSEC Mail User' || :
> > . %_adduser %ossec_ruser -c 'OSSEC Daemon'|| :
> > fi
>
> Вроде неплохо. Может, затолкать в макросы rpm?

Этот вопрос уже давно озвучен и assgin'ут (см. обсуждение к баге #9895).

-- 
+ Slava Semushin | slava.semushin @ gmail.com
+ ALT Linux Team | php-coder @ altlinux.ru

      reply	other threads:[~2007-09-18 13:44 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-18 12:44 Igor Vlasenko
2007-09-18 13:18 ` Michael Shigorin
2007-09-18 13:25   ` Igor Vlasenko
2007-09-18 13:44     ` Michael Shigorin
2007-09-18 14:04       ` Igor Vlasenko
2007-09-18 18:03         ` Eugene Prokopiev
2007-09-18 18:10           ` Igor Vlasenko
2007-09-19 14:23             ` Stanislav Ievlev
2007-09-25 11:58           ` Michael Shigorin
2007-09-26  6:29             ` Michael Shigorin
2007-09-18 13:25 ` Epiphanov Sergei
2007-09-18 13:26 ` Slava Semushin
2007-09-18 13:28   ` Slava Semushin
2007-09-18 13:40     ` Epiphanov Sergei
2007-09-18 13:44       ` Slava Semushin [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=75e139a00709180644u5a3475e1g6996530d7b6cd678@mail.gmail.com \
    --to=slava.semushin@gmail.com \
    --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