Re: RPM error : Can't create transaction lock on /

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



in /usr/lib/rpm/macros i have:

%_rpmlock_path  %{_dbpath}/__db.000
%_dbpath                %{_var}/lib/rpm
%_var                   /var

this is on centos 5 though.

On Wed, 2007-05-30 at 13:26 +0530, Bala wrote:
> No, I haven't modified this file yet.
>  
> # rpm -E '%{_rpmlock_path}'
> %{_rpmlock_path}
> # 
>  
> Looks like this is not defined in the /usr/lib/rpm/macros. What should
> be the default path be ? /var/lock/rpm or /var/lock/rpm/transaction ?
>  
> Bala
> 
>  
> On 5/30/07, Paul Nasrat <pnasrat@xxxxxxxxxx> wrote: 
>         On Wed, 2007-05-30 at 00:32 -0700, Valery Reznic wrote:
>         > Noone, root included can
>         > open("/", O_RDWR|O_CREAT|O_LARGEFILE, 0644) = -1 
>         > EISDIR (Is a directory)
>         >
>         > But I have no idea how fix it :(
>         
>         / shouldn't be the transaction lock - can you do
>         
>         rpm -E '%{_rpmlock_path}'
>         
>         This should be defined in /usr/lib/rpm/macros - have you
>         modified this 
>         file?
>         
>         Paul
>         
>         _______________________________________________
>         Rpm-list mailing list
>         Rpm-list@xxxxxxxxxx
>         https://www.redhat.com/mailman/listinfo/rpm-list
> 
> _______________________________________________
> Rpm-list mailing list
> Rpm-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/rpm-list
-- 
Hiren Patel

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This e-mail and its contents are subject to the Telkom SA Limited
e-mail legal notice available at 
http://www.telkom.co.za/TelkomEMailLegalNotice.PDF
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux