[Bug 2027620] Re: DOTNET_ROOT is unnecessarily set

Dominik Viererbe 2027620 at bugs.launchpad.net
Fri Jul 28 21:25:41 UTC 2023


** Tags removed: foundations-todo

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dotnet6 in Ubuntu.
https://bugs.launchpad.net/bugs/2027620

Title:
  DOTNET_ROOT is unnecessarily set

Status in dotnet6 package in Ubuntu:
  Confirmed
Status in dotnet7 package in Ubuntu:
  Confirmed
Status in dotnet6 source package in Jammy:
  Confirmed
Status in dotnet7 source package in Jammy:
  Confirmed
Status in dotnet6 source package in Kinetic:
  Confirmed
Status in dotnet7 source package in Kinetic:
  Confirmed
Status in dotnet6 source package in Lunar:
  Confirmed
Status in dotnet7 source package in Lunar:
  Confirmed
Status in dotnet6 source package in Mantic:
  Confirmed
Status in dotnet7 source package in Mantic:
  Confirmed

Bug description:
  This is what I see on my machine.

  ```
  rich at vancouver:~$ dotnet --version
  7.0.109
  rich at vancouver:~$ cat /etc/os-release | head -n 1
  PRETTY_NAME="Ubuntu 22.04.2 LTS"
  rich at vancouver:~$ export | grep DOTNET
  declare -x DOTNET_BUNDLE_EXTRACT_BASE_DIR="/home/rich/.cache/dotnet_bundle_extract"
  declare -x DOTNET_ROOT="/usr/lib/dotnet"
  rich at vancouver:~$ dotnet --info | grep ROOT
    DOTNET_ROOT       [/usr/lib/dotnet]
  rich at vancouver:~$ cat /etc/dotnet/install_location
  /usr/lib/dotnet
  ```

  I am surprised to see `DOTNET_ROOT` set. The value in
  `/etc/dotnet/install_location` is set to the same value and should be
  doing the same job. The `/etc/dotnet` configuration is intended for
  the global install and `DOTNET_ROOT` is intended for developers.

  Please re-consider (not) setting `DOTNET_ROOT`.

  Separately, is there a reason why `DOTNET_BUNDLE_EXTRACT_BASE_DIR` is
  set?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dotnet6/+bug/2027620/+subscriptions




More information about the foundations-bugs mailing list