[Yum-devel] Yum-devel Digest, Vol 64, Issue 6

michele braghini zio6946 at gmail.com
Thu Jul 23 13:22:16 UTC 2009


>How does this follow? What are the actual requirements?
I work in a Grid enviroment that is why I need the simple user. I have to
install package into the worker node.

Now I havo another question, You think that in future yum will work as a
simple user or remain so?
Thanks Michele



2009/7/23 <yum-devel-request at lists.baseurl.org>

> Send Yum-devel mailing list submissions to
>        yum-devel at lists.baseurl.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://lists.baseurl.org/mailman/listinfo/yum-devel
> or, via email, send a message with subject or body 'help' to
>        yum-devel-request at lists.baseurl.org
>
> You can reach the person managing the list at
>        yum-devel-owner at lists.baseurl.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Yum-devel digest..."
>
>
> Today's Topics:
>
>   1. yum simple user (michele braghini)
>   2. Re: yum simple user (James Antill)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 22 Jul 2009 19:06:00 +0200
> From: michele braghini <zio6946 at gmail.com>
> Subject: [Yum-devel] yum simple user
> To: yum-devel at lists.baseurl.org
> Cc: Armando Fella <armando.fella at cnaf.infn.it>
> Message-ID:
>        <5d69d3560907221006y66104f0dqbb57a8fbe253544d at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> 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-0001.htm
> >
>
> ------------------------------
>
> Message: 2
> Date: Wed, 22 Jul 2009 13:36:25 -0400
> From: James Antill <james at fedoraproject.org>
> Subject: Re: [Yum-devel] yum simple user
> To: yum development <yum-devel at lists.baseurl.org>
> Cc: Armando Fella <armando.fella at cnaf.infn.it>
> Message-ID: <1248284185.32401.15.camel at code.and.org>
> Content-Type: text/plain
>
> On Wed, 2009-07-22 at 19:06 +0200, michele braghini wrote:
> > 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.
>
>  Ok
>
> >  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.
> >
>  How does this follow? What are the actual requirements?
>
>
>
> > 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
>
>  The short answer is "you can't do that", somewhat longer answer is at:
>
> http://yum.baseurl.org/wiki/RunningWithoutRoot
>
> > 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?
>
>  I think it's unlikely that using --relocate and/or running software
> installation as non-root is the right solution to the problem.
>
> --
> James Antill <james at fedoraproject.org>
> Fedora
>
>
> ------------------------------
>
> _______________________________________________
> Yum-devel mailing list
> Yum-devel at lists.baseurl.org
> http://lists.baseurl.org/mailman/listinfo/yum-devel
>
>
> End of Yum-devel Digest, Vol 64, Issue 6
> ****************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.baseurl.org/pipermail/yum-devel/attachments/20090723/90f883ca/attachment.htm>


More information about the Yum-devel mailing list