Uploaded image for project: 'Funtoo Linux'
  1. Funtoo Linux
  2. FL-523

Portage requires login shell for modules import

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • None
    • None
    • funtoo-current

      sudo by default does not load any variables from env.d, therefore PYTHONPATH is not read. This makes using apps that depend on python modules fail when using sudo.

      An easy fix is to add PYTHONPATH to the env_keep settings in /etc/sudoers

      Defaults env_keep += PYTHONPATH 

      At the very least a message should be given to the user when installing sudo that this is necessary.

            Unassigned Unassigned
            syntobu Kris Scott
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: