From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.2.5 Date: Thu, 21 May 2009 17:57:54 +0300 From: Igor Vlasenko To: ALT Linux Team development discussions Message-ID: <20090521145753.GB11746@dad.imath.kiev.ua> References: <20090521131727.GB13783@wo.int.altlinux.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20090521131727.GB13783@wo.int.altlinux.org> User-Agent: Mutt/1.5.18 (2008-05-17) Subject: Re: [devel] %obsolete post_service? X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 May 2009 14:58:04 -0000 Archived-At: List-Archive: List-Post: On Thu, May 21, 2009 at 05:17:27PM +0400, Dmitry V. Levin wrote: > 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 уже поздно. Напрашиваются, кроме post-filetriggers, еще pre-filetriggers. -- Dr. Igor Vlasenko -------------------- Topology Department Institute of Math Kiev, Ukraine