[Pulp-list] Does pulp tools have to be run as root?
jason.dobies at redhat.com
Mon Jun 28 14:31:49 UTC 2010
-----BEGIN PGP SIGNED MESSAGE-----
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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/
-----END PGP SIGNATURE-----
More information about the Pulp-list