[Pulp-list] Does pulp tools have to be run as root?

Jason Dobies jason.dobies at redhat.com
Mon Jun 28 15:02:13 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>> Yes.
>> The user must be root because many of the CLI commands write to root
>> protected (owned) files and directories such as /etc/pulp/consumer and
>> /etc/yum.repos.d/pulp.repo.

Ahh, gotcha. Thanks for clarifying that.

>> Repo sync is a server side thing.  Wonder why this functionality is in
>> pulptools.  Can this be moved?

The idea was that the cron job on the server would just call into pulp
tools' sync call to mimic normal sync calls as much as possible. I
didn't want to get into another command line call just for server-side
sync, though it's looking more and more like that's gonna be the solution.

>> Interesting solution.  I'm not opposed but seems odd that admins would
>> have to look in two places for the log when trying to debug.

Ya, I don't think it's an ideal solution. More of a hack in the meantime
until I could ask around to what the common solution was. I don't like
the whole two places thing either, it's messy.




- -- 
Jason Dobies
RHCE# 805008743336126
Freenode: jdob
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJMKLl1AAoJEOMmcTqOSQHCRYYH/A3x60KhXTTxSjO5NC5iVYU+
9xzba4I3SWDrWs6JIs3FwlBtUm4FDwUpKl/pcPkruuRdOaeDhJLp+fw/9lMFwxXY
YAxO4ZGkDMx8tePR4glpsUUXnX2fNCbvyQncL+sJpsOHTR6Mj+rKI210fQS1AH01
V78/m7+ZTkUSwXjfRV/pKkiIxPVJPeLK5v8VLn2em+xq295XOCBNvW9cGfQbZUA4
fydiODEV5WFgwInNiarJUUTBkDk28lRJpWiS5Xz5zQo+Q5yAOJJgvJP/CWtXmcRu
joslGBeWViqD6Me7I7Z2xt+dD+0Kk4R2md68I/MUnEzJOSjPV8An+Y5S6rWaDgU=
=XD6y
-----END PGP SIGNATURE-----




More information about the Pulp-list mailing list