#5268 pushing to sop repository as apprentice show a stacktrace
Closed: Fixed None Opened 7 years ago by misc.

= bug description =
If (as a simple apprentice), on batcave01, I do a git push to
/git/infra-docs, I get a ful python backtrace which can be summarized as:

IOError: [Errno 13] Permission denied: '/etc/pki/fedmsg/scm-batcave01.phx2.fedoraproject.org.key'

= bug analysis =

that's the fedmsg key, so that's normal I can't read it. That's triggered by the pot-commit hook.

= fix recommendation =

I guess a proper fix would be to make it started by a sudo wrapper or something


Yep. The fix would be to add sudo to the hook and add fi-apprentice to be able to run sudo for that specific hook. Can fix after freeze is over.

Should be fixed.

Please let me know if it's still causing any issue.

Login to comment on this ticket.

Metadata