-
Notifications
You must be signed in to change notification settings - Fork 3
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
F33 'sudo: unable to mkdir /sudo: Operation not permitted' #73
Comments
@cgwalters @dustymabe any idea? |
Unfortunately Do you have any non-default PAM configuration? |
No.
No. It's a clean install->g-i-s->go directly to Terminal to |
I get the message
In a terminal when I enter |
Yes, the command does succeed despite the error. There are two unexpected consequences: (a) the reported error (b) the authentication timeout is immediate, i.e. immediately using sudo again, I'm also required to authenticate again. |
I'm having this problem too with Silverblue 33. |
In OSTree based systems the root |
Could it have something to do with sudo itself? Maybe it has changed recently. I have version 1.9.1 which has this change, that seems to indicate writing info automatically into sudo.conf |
Right, my guess is that it is probably a change in |
on my non Silverblue system
|
ts is for timestamp. It should go to _PATH_SUDO_TIMEDIR, which is defined as "$rundir/ts" in ./m4/sudo.m4, e.g /var/run/sudo. Maybe this directory is not present and sudo fallback to / ? I tested in a container and it created /sudo, and there is no /var/run/sudo on the fs |
looks like this is fixed in a future update (not yet in updates-testing) https://bugzilla.redhat.com/show_bug.cgi?id=1868215 |
I can't reproduce it on current Silverblue 33 that contains the builds mentioned in bug linked by Dusty. $ rpm -qa | grep sudo |
Clean installed from Fedora-Silverblue-ostree-x86_64-Rawhide-20200731.n.0.iso (either auto partition btrfs or custom part lvm+ext4)
I get this error every time I use
sudo
The text was updated successfully, but these errors were encountered: