[rhelv6-list] Perl update issue

Derek Yarnell derek at umiacs.umd.edu
Wed Jul 6 14:03:08 UTC 2011


Hi Iain,

Just to follow up on Prentice's mail.  There is a way to force RPMs from
touching /usr/local if you have it NFS mounted which it sounds like you
are doing.

The file is /etc/rpm/macros.nfs, and you just need to have the content,

  %_netsharedpath /usr/local

Below is the puppet snippet to do this,

class rpm::nfsmacros {
        file { "nfsmacros":
                path => "/etc/rpm/macros.nfs",
                owner => root,
                group => root,
                mode => 644,
                content => "%_netsharedpath /usr/local",
        }
}

Thanks,
derek

On 7/6/11 9:31 AM, Prentice Bisbal wrote:
> Iain,
> 
> I had the same problem. I fixed it with an RPM macro, but I agree with
> your point - I don't think RPM packages that are included in the distro
> should be touching anything in /usr/local.
> 
> Personally, I'm not surprised with Red Hat's response, about 6 years ago
> I found a bug with some perl script included in an update (it performed
> some cron task). A google search found many, many other RHEL users who
> encountered the same bug, and many of them posted patches to fix the
> bug, too. A bug report was filed with Red Hat, but the bug was never
> fixed, despite many users having provided a fix on the web. It
> eventually was closed when then next release of RHEL came out.
> 
> Prentice
> 
> 
> On 07/06/2011 05:26 AM, Iain Morrison wrote:
>> Dear list,
>>   I submitted a Bugzilla report on our issue with the latest perl update
>> [https://bugzilla.redhat.com/show_bug.cgi?id=717565] but RedHat have
>> responded with
>>  
>> "This request was evaluated by Red Hat Product Management for
>> inclusion in the current release of Red Hat Enterprise Linux.
>> Because the affected component is not scheduled to be updated
>> in the current release, Red Hat is unfortunately unable to
>> address this request at this time. Red Hat invites you to
>> ask your support representative to propose this request, if
>> appropriate and relevant, in the next release of Red Hat
>> Enterprise Linux. If you would like it considered as an
>> exception in the current release, please ask your support
>> representative."
>>  
>> Is this par for the course? The perl package is trying to chown folders
>> in /usr/local which I don't think it should be touching, and this is
>> stopping installation on any machines that don't have root rw access to
>> /usr/local/. Is this not a bug?
>>  
>> [I know I can allow root rw access, apply the patches and remove rw
>> access but that isn't the point.]
>>  
>> We have an Academic subscription so don't have a support representative.
>> Is there anything else I can do? It looks like this relatively simple
>> installer bug is never going to be fixed.
>>  
>> I'm a bit disappointed with the RedHat response.
>>  
>> thanks
>>  
>> iain
>>
> 
> _______________________________________________
> rhelv6-list mailing list
> rhelv6-list at redhat.com
> https://www.redhat.com/mailman/listinfo/rhelv6-list
> 


-- 
---
Derek T. Yarnell
University of Maryland
Institute for Advanced Computer Studies




More information about the rhelv6-list mailing list