From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] %obsolete post_service?
Date: Fri, 22 May 2009 13:33:11 +0400
Message-ID: <20090522093311.GA25910@wo.int.altlinux.org> (raw)
In-Reply-To: <c5318fd90905212319k24b986fof2afdd0d6e55f822@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 757 bytes --]
On Fri, May 22, 2009 at 10:19:11AM +0400, Stanislav Ievlev wrote:
> 21 мая 2009 г. 17:17 пользователь Dmitry V. Levin <ldv@altlinux.org>написал:
>
> > On Thu, May 21, 2009 at 02:03:17PM +0400, Stanislav Ievlev wrote:
> > > Возник такой вопрос: А можно ли по такому же алгоритму как с info-файлами
> > > сделать работу с init.d файлами и убрать %post_service и %preun_service?
> >
> > По такому же алгоритму нельзя: после того, как inid.d/NAME уже удалён,
> > вызывать service NAME stop уже поздно.
>
> В файл-триггер не приходят имена удаляемых файлов?
Имена уже удалённых пакетов не приходят, только имена уже удалённых файлов.
Т.е. для того, чтобы этого добиться, потребуется реализовать файлтриггер
с другой семантикой.
--
ldv
[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]
next prev parent reply other threads:[~2009-05-22 9:33 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-21 13:17 ` Dmitry V. Levin
2009-05-21 14:57 ` Igor Vlasenko
2009-05-22 9:33 ` Dmitry V. Levin [this message]
2009-05-22 22:01 ` Денис Смирнов
2009-05-25 10:05 ` Mikhail Gusarov
2009-05-22 5:28 ` Vladimir V. Kamarzin
2009-05-22 5:45 ` REAL
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=20090522093311.GA25910@wo.int.altlinux.org \
--to=ldv@altlinux.org \
--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