ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Valery V. Inozemtsev" <shrek@progroup.ru>
To: ALT Devel discussion list <devel@altlinux.ru>
Subject: Re: [devel] Q: post/preun_service vs service/chkconfig
Date: Fri, 06 Feb 2004 09:27:54 -0000
Message-ID: <200402061227.47417.shrek@progroup.ru> (raw)
Message-ID: <20040206092754.gFDVz7tIZ-lLFW4VmuACI2J_KwIV4zh2xjr9HbQxanA@z> (raw)
In-Reply-To: <20040206092127.GE765@basalt.office.altlinux.org>

[-- Attachment #1: signed data --]
[-- Type: text/plain, Size: 973 bytes --]

> > > > Нужно ли в пакетах, в которых используется конструкция
> > > > %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 умеет упорядочивать
> > > транзакции.

торможу... это понял. 
т.е. в 99% случаев эта зависимость не нужна?

-- 
Valery V. Inozemtsev	ftp://212.13.100.3/

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

  parent reply	other threads:[~2004-02-06  9:27 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
2004-02-06  9:21       ` Dmitry V. Levin
2004-02-06  9:27       ` Valery V. Inozemtsev [this message]
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=200402061227.47417.shrek@progroup.ru \
    --to=shrek@progroup.ru \
    --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