You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As we discussed face to face previously, when using a trick to disable sudoer password during the build process of a qcow image and re-enabling it later, toolbox fails to find the user.
The disabling of the password happens using the following ansible book
---
- hosts: alltasks:
- name: Configure "{{ansible_user_id}}" user to temporarily use sudo without passwordansible.builtin.lineinfile:
line: "{{ansible_user_id}} ALL=(ALL) NOPASSWD:ALL"dest: /etc/sudoers.d/90-autosd-demomode: "0440"state: presentcreate: truevalidate: visudo -cf %sbecome: true
Describe the bug
As we discussed face to face previously, when using a trick to disable sudoer password during the build process of a qcow image and re-enabling it later, toolbox fails to find the user.
The disabling of the password happens using the following ansible book
and then at the end re-enabled with
Entering the toolbox container after that process is over, gives the following output
Steps how to reproduce the behaviour
See above ^
Expected behaviour
The user should be found, and the container should work just fine
Actual behaviour
The user is not found in passwd file, the container fails to enter even after the state is restored as it was
Output of
toolbox --version
(v0.0.90+)toolbox version 0.1.0
Toolbx package info (
rpm -q toolbox
)toolbox-0.1.0-1.fc41.x86_64
Output of
podman version
Podman package info (
rpm -q podman
)podman-5.2.5-1.fc41.x86_64
Info about your OS
Fedora 41
The text was updated successfully, but these errors were encountered: