It certainly sounds like it. Will put proper reproduction steps when I get some spare time this afternoon now I know how to successfully reproduce it.
2009/12/9 Michael Mraka <[email protected]> > James Hogarth wrote: > % Hmm... reproduced it and not sure the best way of dealing with it at this > % point.... > % > % After a silly thing (thankfully this was early in the process of getting > % systems subscribed to the server so not much loss) I had to rebuild the > % spacewalk repo yesterday. > % > % Sync'd the repos overnight and found the following: > % > % Repo's that had been sync'd via spacewalk-repo-sync had a directory owned > by > % root:root. Further down the tree they were owned by apache:apache. A > package > % that is destined for an existing directory via rhnpush naturally gets > % permission denied for that folder but for a fresh folder of course there > are > % no problems with the rhnpush. > % > % The spacewalk-repo-sync python script starts as follows: > % > % def main(): > % > % # quick check to see if you are a super-user. > % if os.getuid() != 0: > % sys.stderr.write('ERROR: must be root to execute\n') > % sys.exit(8) > % > % There is then an obvious logical break here..... > % > % For now I'll add a recursive chown apache:apache to my daily cron sync > % script so that rhnpush for in house packages isn't broken. Going forwards > we > % should probably have the spacewalk-repo-sync script check ownership of > % /var/satellite and run as that owner perhaps.... > % > % Thoughts? > > Hi James, > > I think it's an instance of bug > https://bugzilla.redhat.com/show_bug.cgi?id=516767 . > Could you please update bugzilla with your findings? Especially steps to > reproduce (aka test plan) are welcome ;). > > Thanks. > > > -- > Michael Mráka > Satellite Engineering, Red Hat > > _______________________________________________ > Spacewalk-list mailing list > [email protected] > https://www.redhat.com/mailman/listinfo/spacewalk-list >
_______________________________________________ Spacewalk-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-list
