[Yum-devel] yum simple user

michele braghini zio6946 at gmail.com
Wed Jul 22 17:06:00 UTC 2009


hi, I have a question:
at the moment I'm working in developing a procedure with the purpose to
realize the installazion of software in distributed computing environment.
In particlar I'd need to use yum tool suite to perform rpm installation on a
remote host with the constraight of identity (I should be a simple user) and
rpmdb isolation.

I tried with yum, but using new yum.conf --rootdir option error-level 10 and
debug-level 10 always yum returns to me the message: only root can do this
I compare yum output with simple user and yum output with root (in my
private tests) and when i'm in simple user yum returns error befor load
repository.
I used strace for finding any access denied or error but I don't find
nothing.

I have another problem:
I need to redirect packages in another directory /mydir/opt and /mydir/etc.
In this moment I use rpm -i --relocate /opt=/mydir/opt --relocate
/etc=/mydir/etc, i cant use prefix because i need to explicit /opt.
If is possible use yum in simple user, i have a problem in relocation
becaurse i can use .rpmmacros but in .rpmmacros i have onli option
%_prefics.

My solution at this problem is using yumdownloader in the package yum-utils.

I'm writeing this email for a confirmation of righteness of the choices I
got. Is it possible than yum can't run in simple user?

Thanks Michele
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.baseurl.org/pipermail/yum-devel/attachments/20090722/f052f820/attachment.htm>


More information about the Yum-devel mailing list