Hi Derek and Prentice, This did the trick so many, many thanks. I haven't come across rpm macros before so I need to do a bit of reading.
thanks iain -- Iain Morrison IT Manager MRC Epidemiology Unit Institute of Metabolic Science Box 285, Addenbrooke's Hospital Hills Road Cambridge CB2 0QQ Tel 01223 769200 > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Derek Yarnell > Sent: 06 July 2011 15:03 > To: Red Hat Enterprise Linux 6 (Santiago) discussion mailing-list > Subject: Re: [rhelv6-list] Perl update issue > > 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 > > [email protected] > > https://www.redhat.com/mailman/listinfo/rhelv6-list > > > > > -- > --- > Derek T. Yarnell > University of Maryland > Institute for Advanced Computer Studies > > _______________________________________________ > rhelv6-list mailing list > [email protected] > https://www.redhat.com/mailman/listinfo/rhelv6-list > _______________________________________________ rhelv6-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/rhelv6-list
