#9469 Can't change default branch on Pagure.io repos
Closed: Fixed 3 years ago by pingou. Opened 3 years ago by bcotton.

Describe what you would like us to do:


When trying to set a different default branch on a Pagure.io repo, clicking the "Make default" button reload the page without actually applying the new default branch. No messages are displayed, unless I try to set it to "master" (the existing default), in which case it tells me it did it successfully.

When do you need this to be done by? (YYYY/MM/DD)


Oh...when you can.


Metadata Update from @pingou:
- Issue assigned to pingou
- Issue priority set to: Waiting on Assignee (was: Needs Review)
- Issue tagged with: dev, medium-gain, medium-trouble

3 years ago

Alright, so the issue isn't in the code base but in SELinux :(

The logs show this error when trying to change the default branch of a project:

_pygit2.GitError: failed to rename lockfile to '/srv/git/....git/HEAD': Permission denied

Turning off SELinux makes this work. Let's see if we can fix SELinux

Metadata Update from @pingou:
- Issue untagged with: dev
- Issue tagged with: ops

3 years ago

This seems to be fixed for me, could you double-check on your side?

Metadata Update from @pingou:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

3 years ago

Login to comment on this ticket.

Metadata
Boards 1
ops Status: Done