Description of problem: This is a duplicate ticket of bz#69205. A customer has noted that when up2date runs, it recompiles its pyc files, and as such rpm -v reports them as modified. This has been corrected in FC-2 forward, and the customer would like the fix backported to RHEL-3 Version-Release number of selected component (if applicable): How reproducible: always Steps to Reproduce: 1. install up2date 2. run up2date 3. run rpm -v up2date Actual results: up2date modifies its pyc file, and rpm reports the change Expected results: up2date should avoid recompiling these files. Additional info:
Created attachment 112653 [details] patch of fc-2 spec file change to prevent up2date from recompiling pyc files after install
u6 will get up2date 4.4.x, which solves this issues
This bug is considered MustFix for RHEL 3 U6 by RHN Engineering.
Dev & PM ACKs for U6
Retested against up2date-4.4.23-3: [root@test07 root]# rpm -q up2date up2date-4.4.26-3 [root@test07 root]# up2date -uf Fetching Obsoletes list for channel: rhel-i386-as-3... Fetching Obsoletes list for channel: rhn-tools-rhel-3-as-i386... Fetching Obsoletes list for channel: redhat-rhn-proxy-4.0-as-i386-3... Fetching Obsoletes list for channel: playpen-4AS... Fetching Obsoletes list for channel: support-4AS... Fetching Obsoletes list for channel: playpen-3AS... Fetching Obsoletes list for channel: support-3AS... Fetching Obsoletes list for channel: playpen-java-3AS... Name Version Rel ---------------------------------------------------------- All packages are currently up to date [root@test07 root]# rpm -Vf /usr/bin/up2date SM5....T c /etc/sysconfig/rhn/up2date S.5....T c /etc/sysconfig/rhn/up2date-uuid (/etc/sysconfig/rhn/sources is missing ... bug 162071) This shows that the up2date config files were changed. This is ok, right? I don't have output stating what this should look like ... and since /usr/share/rhn/up2date_client/up2date.pyc is not in the rpm -Vf output, this bug is probably fixed. But I need confirmation that this output is correct.
This looks good indeed.
thanks, moving to PROD_READY
PROD_READY is a deprecated state. This bug is now RELEASE_PENDING.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2005-712.html