--- Jeremy Katz <katzj(a)redhat.com> wrote:
On Thu, 2006-06-22 at 15:21 -0700, Jane Dogalt wrote:
> (How) Should one go about detecting in pre/post(/un) scripts in an rpm,
whether
> or not the rpm (de)installation is occurring on a live running system, or
> within a chrooted (e.g. anaconda installer) based environment.
This isn't something you should ever really need or want to do.
I forgot to add in first reply-
Does this mean that pre/post(un) scripts should be policywise-forbidden from
doing anything which directly or indirectly tries to touch /proc, which in a
chrooted environment, will not be mounted? I have this hunch that I've run
into rpms which do try to touch proc, though off the top of my head I can't
point any fingers.
-jdog
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com