ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Devel discussion list <devel@altlinux.ru>
Subject: Re: [devel] Q: post/preun_service vs service/chkconfig
Date: Fri, 06 Feb 2004 09:21:28 -0000
Message-ID: <20040206092127.GE765@basalt.office.altlinux.org> (raw)
Message-ID: <20040206092128.53dZk4RTKlLKokQJkkliuetmIjSK-wSwVbMfRcO7tPI@z> (raw)
In-Reply-To: <200402061215.58318.shrek@progroup.ru>

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

On Fri, Feb 06, 2004 at 12:15:57PM +0300, Valery V. Inozemtsev wrote:
> В сообщении от 6 Февраль 2004 12:11 Dmitry V. Levin написал(a):
> > On Fri, Feb 06, 2004 at 06:16:07AM +0300, Alexey Tourbin wrote:
> > > Нужно ли в пакетах, в которых используется конструкция
> > > %post
> > > %post_service %name
> > > %preun
> > > %preun_service %name
> > >
> > > проставлять зависимость
> > > Requires(post,preun): service
> > > ?
> >
> > Да, нужно.
> >
> > > Иными словами, умеет ли rpm искать зависимости в собственных /bin/sh
> > > скриптах и выставлять эти зависимости с учетом pre/post...?
> >
> > Нет, пока ещё не умеет.
> 
> тогда я не догоняю откуда берется зависимость на service в пакетах в которых 
> нет Requires: service

Из самих скриптов, которые вызываются.  Я же написал, что:

> > Т.е. пакет, содержащий start/stop-скрипт, получит зависимость на service,
> > но в этой зависимости не будет информации о post/preun; в 99% случаев это
> > и не требуется, поскольку librpm умеет упорядочивать транзакции.


-- 
ldv

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

  parent reply	other threads:[~2004-02-06  9:21 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-06  3:16 Alexey Tourbin
2004-02-06  3:16 ` Alexey Tourbin
2004-02-06  5:42 ` Valery V. Inozemtsev
2004-02-06  5:42   ` Valery V. Inozemtsev
2004-02-06  9:11 ` Dmitry V. Levin
2004-02-06  9:12   ` Dmitry V. Levin
2004-02-06  9:15   ` Valery V. Inozemtsev
2004-02-06  9:16     ` Valery V. Inozemtsev
2004-02-06  9:21     ` Dmitry V. Levin [this message]
2004-02-06  9:21       ` Dmitry V. Levin
2004-02-06  9:27       ` Valery V. Inozemtsev
2004-02-06  9:27         ` Valery V. Inozemtsev
2004-02-06 10:23   ` [devel] " Alexey Tourbin
2004-02-06 10:23     ` Alexey Tourbin

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=20040206092127.GE765@basalt.office.altlinux.org \
    --to=ldv@altlinux.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