[Rpm-maint] question
Panu Matilainen
pmatilai at laiskiainen.org
Wed Aug 28 06:17:37 UTC 2013
On 08/23/2013 06:13 PM, Victor Secarin wrote:
> Hello, all:
>
> Is it possible to have a scriptlet access the stored scriptlets of another, already installed, package?
>
> During upgrade, I understand the old preun/postun will run after the new pre/post. That should mean the new package has a chance to patch the scriptlets of the old package if they are buggy, so they can run last without breaking things they used to break.
>
> Is this possible at all? Has anyone done it?
Ultimately the scriptlets are just bits on the disk... but in case of
rpm, they're buried inside checksummed and usually also digitally signed
data blobs within a Berkeley DB database, intentionally making it very
hard to do such hacks.
So the practical answer is no, its not possible.
- Panu -
More information about the Rpm-maint
mailing list