[Bug 359] New: Why should a binary rpm have to mess around with rpm configuration files ?
| Newsgroups | gmane.linux.jpackage.general |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://www.jpackage.org/bugzilla/show_bug.cgi?id=359
Summary: Why should a binary rpm have to mess around with rpm
configuration files ?
Product: jpackage-utils
Version: 5.0.0.1.jpp5
Platform: All
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: package
AssignedTo: jpackage-discuss-/[email protected]
ReportedBy: [email protected]
Comparing to version of the RPM, we found that jpackage-utils-5.0.0-1.jpp5 is
modifying an rpm config file in a postinstall script.
My enterprise is monitoring this file (/usr/lib/rpm/rpmrc) because of security
issues and I had to install another version of this package because of this,
which is considered as abnormal situation.
Why do you have to modified /usr/lib/rpm/rpmrc?
[root@ce201 ~]# rpm -q --scripts jpackage-utils-1.7.3-1jpp.2.el5
[root@ce201 ~]#
While yours has:
[root@voatlas126 ~]# rpm -q --scripts jpackage-utils-5.0.0-1.jpp5
postuninstall scriptlet (using /bin/sh):
if [ $1 -eq 0 ]; then
for i in "" /redhat /asianux; do
i="/usr/lib/rpm$i/rpmrc"
if test -f "$i" && egrep -q '^macrofiles:.*/etc/rpm/macros\.jpackage' "$i";
then
perl -pi -e \
's,^(macrofiles:.*):/etc/rpm/macros\.jpackage,$1,' "$i"
fi
done
fi
--
Configure bugmail: https://www.jpackage.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.