[Pkg-gpm-devel] Bug#291155: dpkg-reconfigure with read-only /usr?
Federico 'Derfel' Stella
Federico 'Derfel' Stella <email@example.com>, firstname.lastname@example.org
Fri, 21 Jan 2005 13:26:51 +0100
* venerd́ 21 gennaio 2005, alle 05:40, Peter Samuelson scrive:
> [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).
update-alternatives works with readonly /usr because modifies only files in
/etc/alternatives without touching /usr.
There are problems with packages calling install-info, directly or via
dh_installinfo, configurable by dpkg-reconfigure.
> So on my system there are 106 packages that potentially have this
> behavior. Nobody special-cases dpkg-reconfigure. Thus it's clear to
I think that the combination install_info + dpkg-reconfigure + readonly
/usr is rare enough to not be reported before.
> Feel free to take this to debian-devel, though, if you still disagree.
I'll search through all my packages and then report what I've found.
> I'm a reasonable person and I'll be happy to fix gpm if other people
> agree that this goal is worthwhile.
Probably it's better if you tag this bug as "won't fix" until broader