#375 fedora-review fails requesting password when not in mock group
Opened 4 years ago by jsorensen. Modified 4 years ago

Trying to use fedora-review -b <bugnr> for the first time, without being in the mock group, but mock installed, fedora-review just prompts for a password without stating what the password is for.

With help from mhroncok on #fedora-devel I finally figured out that I needed to be in the mock group.

Some improved error message and documentation about this would be awesome


mock normally prints the following:

You are not in the `mock` group. See https://github.com/rpm-software-management/mock/wiki#setup
Authenticating as "root"
Password: 

(See https://github.com/rpm-software-management/mock/issues/244)

But I guess the message is on stderr and FedoraReview eats it. Wither the stderr should be preserved or FedoraReview should do the check before attempting to run mock.

Login to comment on this ticket.

Metadata