[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#108983: marked as done (Post-Invoke should be after postinst handling)



Your message dated Sun, 19 Aug 2001 09:47:42 +0200
with message-id <[🔎] 20010819094740.A1173@asgard.priv.at>
and subject line Bug#108983: Post-Invoke should be after postinst handling
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Darren Benham
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 17 Aug 2001 06:56:09 +0000
>From alfie@ist.org Fri Aug 17 01:56:09 2001
Return-path: <alfie@ist.org>
Received: from relay11.austria.eu.net [193.154.160.115] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 15XdY8-0000XT-00; Fri, 17 Aug 2001 01:56:08 -0500
Received: from localhost (asgard.pte.at [193.83.146.41])
	by relay11.austria.eu.net (8.12.0.Beta10/8.12.0.Beta10) with ESMTP id f7H6u1wN027666
	for <submit@bugs.debian.org>; Fri, 17 Aug 2001 08:56:01 +0200
Received: from alfie by localhost with local (Exim 3.32 #1 (Debian))
	id 15XdXz-0001GZ-00
	for <submit@bugs.debian.org>; Fri, 17 Aug 2001 08:55:59 +0200
From: Gerfried Fuchs <alfie@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: Post-Invoke should be after postinst handling
X-Reportbug-Version: 1.23
X-Mailer: reportbug 1.23
Date: Fri, 17 Aug 2001 08:55:48 +0200
Message-Id: <[🔎] E15XdXz-0001GZ-00@localhost>
Sender: Gerfried Fuchs <alfie@asgard.pte.at>
Delivered-To: submit@bugs.debian.org

Package: apt
Version: 0.5.3
Severity: normal

        Hi!

 I took a look at the /usr/share/doc/apt/examples/configure-index.gz
file and found something quite interesting and useful in it, which I
tried:
DPkg::Pre-Invoke {"mount -o remount,rw /usr";};
DPkg::Post-Invoke {"mount -o remount,ro /usr";};

 Unfortunately it seems not to work, because the /usr/doc symlink seems
to be proceeded in the postinst, and that seems to be after the
DPkg::Post-Invoke is called.  So, is it possible to put the
DPkg::Post-Invoke _after_ the postinst calls so that this really useful
and interesting feature might work as documented?

 Thanks alot in advance,
Alfie


---------------------------------------
Received: (at 108983-done) by bugs.debian.org; 19 Aug 2001 07:48:02 +0000
>From alfie@ist.org Sun Aug 19 02:48:02 2001
Return-path: <alfie@ist.org>
Received: from relay11.austria.eu.net [193.154.160.115] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 15YNJR-0006bO-00; Sun, 19 Aug 2001 02:48:02 -0500
Received: from localhost (asgard.pte.at [193.83.146.41])
	by relay11.austria.eu.net (8.12.0.Beta10/8.12.0.Beta10) with ESMTP id f7J7lswN021358;
	Sun, 19 Aug 2001 09:47:59 +0200
Received: from alfie by localhost with local (Exim 3.32 #1 (Debian))
	id 15YNJK-0000Rj-00; Sun, 19 Aug 2001 09:47:54 +0200
Date: Sun, 19 Aug 2001 09:47:42 +0200
From: Gerfried Fuchs <alfie@debian.org>
To: Jason Gunthorpe <jgg@debian.org>
Cc: 108983-done@bugs.debian.org, APT Development Team <deity@lists.debian.org>
Subject: Re: Bug#108983: Post-Invoke should be after postinst handling
Message-ID: <[🔎] 20010819094740.A1173@asgard.priv.at>
References: <[🔎] E15XdXz-0001GZ-00@localhost> <[🔎] Pine.LNX.3.96.1010818161242.4679K-100000@wakko.deltatee.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[🔎] Pine.LNX.3.96.1010818161242.4679K-100000@wakko.deltatee.com>
User-Agent: Mutt/1.3.20i
Mail-Copies-To: nobody
X-Editor: Vi Improved <http://www.vim.org/>
X-Signature-Color: cyan
X-Signature-Prg: sigd/0.8.2 (Perl) <http://alfie.ist.org/sigd/>
Sender: Gerfried Fuchs <alfie@asgard.pte.at>
Delivered-To: 108983-done@bugs.debian.org

On Sat, Aug 18, 2001, Jason Gunthorpe wrote:
[Post-Invoke after postinst]
> It is, there are a number of unrelated reasons why you won't be able to
> remount /usr rw, such as deleted but still open files, background
> processes (update-menus) etc.

 Then I am wondering why the symbolic links from /usr/doc/<package> to
/usr/share/doc/<package> are failing because /usr is remounted readonly
already?  Isn't that a thing that is done in the postinst, or is that
even done much later?  According to what the debhelper package does that
_is_ done in the postinst, and it fails, if I remount /usr ro in the
Post-Invoke.

 So please, try to examine that, I really doesn't seem that the
Post-Invoke is done after the postinst.  It's not that the remount
doesn't work - it simply works too soon.

 So long,
Alfie
-- 
 You never learn anything  |   /"""""\                   ,'~~.
   by doing it right.      |  / chaos \  alfie.ist.org   |o ?~\
           -- unknown      |  \inside!/  alfie@ist.org  /_   ~<\
                           |   \_____/                   \__,~ \>



Reply to: