[Cialug] Fedora - the dreaded rpmq failure
Tom Pohl
tom at tcpconsulting.com
Tue Aug 7 13:17:39 CDT 2007
Sorry, I had a centos box that I was on when I wrote that.
Looking at one of my Fedora Core 4 boxes, I wonder if there is
conflict between the cron.daily script yum and the cron.daily rpm
script that gives you a locking issue. Looking at the run-parts
script, it appears that rpm would run before yum nightly. Is it
possible that the previous night's yum script got hung up and the
next night, rpm becomes grumpy waiting for the lock to release?
-Tom
On Aug 7, 2007, at 1:08 PM, David Champion wrote:
> Tom Pohl wrote:
>> Bah, just turn off yum-updatesd and I bet the problem goes away :)
>>
>> Who really wants updates to automatically download / download &
>> install
>> anyway?
>>
>> -Tom
>
> Not running yum-updatesd. This is the job that is hanging nightly...
>
> # cat /etc/cron.daily/rpm
> #!/bin/sh
>
> /bin/rpm -qa --qf '%{name}-%{version}-%{release}.%{arch}.rpm\n' 2>&1 \
> | /bin/sort > /var/log/rpmpkgs
>
>
> Probably not mission-critical. I removed the script until I get this
> fixed. There's a nearly identical version of this script in Mandriva
> (just has the absolute paths removed from the bins), and it works
> fine.
>
> -dc
>
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> http://cialug.org/mailman/listinfo/cialug
More information about the Cialug
mailing list