[Pulp-list] Does pulp tools have to be run as root?
Jason Dobies
jason.dobies at redhat.com
Mon Jun 28 14:31:49 UTC 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Right now I have to run pulp tools as root because the log file writes
to /var/log/pulp/pulptools.log, which only root has permission to.
- - Is there another reason we'd *have* to run as root outside of this? If
not, I'd like to find a workaround so I can run as any user. Seems like
logging shouldn't be a reason to force us into running as root.
- - This is causing a problem with the repo sync schedule implementation,
which uses pulp tools to do the sync. It's crashing because the apache
user can't write to the log file.
Assuming we can fix the first point, the second becomes a non-issue. I'm
not sure of the cleanest solution (in nimbus tools, I write the log to
/tmp if the user doesn't have access to /var/log), but someone else
might have a more standard approach.
- --
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/
iQEcBAEBAgAGBQJMKLJVAAoJEOMmcTqOSQHCMDcH/jhZPzoZOGB5uYGTOnrz64NQ
NUQg1BzfgkLqTw0NNpu5BqbSU2MU/yVeELqMvZ0qxSacri6X6Lk5yc/y8ygbApRK
e3yjkk8capNr9PnP12bbBbC8V2TiJmwiDV3BrY9UbnB31W1DBEip9rzghXjqATc0
6/0RpFoLxi2XCMgUBCxn0aprIFb1Lvj0A4gFVxpAg0kEoYanIPWIh5JcViEeWhtj
Ig61fjm6uaXLCCWAdnUWaG4BQi95JPo9OlZ/uRm4nywd00z0Ff0eIcSI+HdezMnp
j7gIO5RInPCjZcDQjfcLs2n5+iHdNsAxU09oaUzKsdQEakrLw99wmagVDOzf04Q=
=ddbx
-----END PGP SIGNATURE-----
More information about the Pulp-list
mailing list