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
Is your feature request related to a problem? Please describe.
I created a libvirt container based on doc. I noticed the desktop entry had SUDO_ASKPASS pointing to a generated script.
I noticed one of the useful tips mentioned that we can override the behavior by setting SUDO_ASKPASS environment variable. But it was not clear if the behavior is for distrobox-enter or distrobox-create command.
It turns out the distrobox-assemble and consequently distrobox-export command does not respect the SUDO_ASKPASS environment variable. So even if we set the SUDO_ASKPASS environment variable before running distrobox-create command the desktop entry still points to the generated script.
Is your feature request related to a problem? Please describe.
I created a libvirt container based on doc. I noticed the desktop entry had
SUDO_ASKPASS
pointing to a generated script.Exec=env SUDO_ASKPASS="/var/home/user/.local/bin/distrobox_sudo_askpass" DBX_SUDO_PROGRAM="sudo --askpass" /var/home/user/.local/bin/distrobox-enter --root -n libvirt -- /usr/bin/virt-manager
I noticed one of the useful tips mentioned that we can override the behavior by setting SUDO_ASKPASS environment variable. But it was not clear if the behavior is for
distrobox-enter
ordistrobox-create
command.It turns out the
distrobox-assemble
and consequentlydistrobox-export
command does not respect theSUDO_ASKPASS
environment variable. So even if we set theSUDO_ASKPASS
environment variable before runningdistrobox-create
command the desktop entry still points to the generated script.distrobox/distrobox-export
Lines 284 to 287 in 3b9f0e8
Describe the solution you'd like
It would be nice for
distrobox-export
to respect theSUDO_ASKPASS
environment variable.Describe alternatives you've considered
The workaround is to manually edit the
SUDO_ASKPASS
in the desktop entry created.The text was updated successfully, but these errors were encountered: