[Pkg-gpm-devel] Bug#291155: dpkg-reconfigure with read-only /usr?
Peter Samuelson
Peter Samuelson <peter@p12n.org>, 291155@bugs.debian.org
Fri, 21 Jan 2005 05:40:55 -0600
--Wo0oCZYLrer5S3Oe
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
[Federico 'Derfel' Stella]
> In all my machine /usr is mounter read-only and remounted read-write by
> Dpkg::Pre-Invoke in apt.conf. I use this kind of conf by years and I expect
> a package to not touch /usr during re-configuration.
Well, dpkg-reconfigure runs the config and postinst scripts, if
present, for any package. My system has 55 postinst scripts that call
'install-info', not to mention 66 postinst scripts that call
'update-alternatives' (which might well need write access to /usr).
There could be several other reasons a read-only /usr might break that
I haven't thought of.
So on my system there are 106 packages that potentially have this
behavior. Nobody special-cases dpkg-reconfigure. Thus it's clear to
me that nobody expects dpkg-reconfigure to avoid touching the /usr
filesystem.
Feel free to take this to debian-devel, though, if you still disagree.
I'm a reasonable person and I'll be happy to fix gpm if other people
agree that this goal is worthwhile.
Peter
--Wo0oCZYLrer5S3Oe
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFB8OpHXk7sIRPQRh0RAopaAJ4jQcWKnhQ/BVd/HfzU2qr56URGzgCgpF6U
w6mNTVBX/mPoTo84edOcVKc=
=VgTW
-----END PGP SIGNATURE-----
--Wo0oCZYLrer5S3Oe--