-
Notifications
You must be signed in to change notification settings - Fork 217
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mock must not ask for root password but suggests to add my user to mock group #244
Comments
We were discussing this with @vstinner and I was about to file this. Here is what I wrote: Short description of the problemInstead of informing to be part of the mock group, mock asks you for root password. Output of
|
I will try to come up with some RFE proposal to consolehelper and then I will close this issue. |
|
When you are not in a mock group, then mock prints: |
Thanks |
Thanks, the error message is now much better :-) |
"mock -r fedora-rawhide-x86_64 --init" asks me for my root password, so I started to use "sudo mock ...". My colleague Miro asked me to never run mock as root. But I started to do that because it asks me for my root password... For me, it's obviously that such low-level container needs root access.
mock should fail with an error "you user <...> doesn't have the group mock". Maybe even running mock as root must fail with an error except if you pass a special option?
rpm -q mock: mock-1.4.14-1.fc29.noarch
The text was updated successfully, but these errors were encountered: