4 ms·
Does it come with telemetry enabled by default[1] as the Microsoft binaries do? Or does the Ubuntu version either remove that code or make sure to set the DOTNE
by ptx 4y ago
Does it come with telemetry enabled by default[1] as the Microsoft binaries do? Or does the Ubuntu version either remove that code or make sure to set the DOTNET_CLI_TELEMETRY_OPTOUT environment variable everywhere?
If "Canonical and Microsoft are committed to working together", probably the former.
[1] https://docs.microsoft.com/en-us/dotnet/core/tools/telemetry https://docs.microsoft.com/en-us/dotnet/core/tools/telemetry
- sedatk 4y agoYes, telemetry collection is still opt-out. I just tried it.
- omajid 4y agoAre you sure about that? Can you share the steps I can run to reproduce that? I am looking at the sources at https://packages.ubuntu.com/source/jammy-updates/dotnet6 https://packages.ubuntu.com/source/jammy-updates/dotnet6 and (as far as I can tell) they are applying a patch called 1500sdk-telemetry-optout.patch (originally from Fedora https://src.fedoraproject.org/rpms/dotnet3.1/blob/f36/f/cli-telemetry-optout.patch https://src.fedoraproject.org/rpms/dotnet3.1/blob/f36/f/cli-...) that is supposed to make telemetry opt-in. There's a better fix landing upstream for .NET 7: https://github.com/dotnet/sdk/pull/25935 https://github.com/dotnet/sdk/pull/25935
- sedatk 4y agoRepro steps: sudo apt install dotnet6 - Observe the “telemetry enabled” message.
- mirespace 4y agoHi! Could you be so kind and open a bug for this at https://bugs.launchpad.net/ubuntu/+source/dotnet6 https://bugs.launchpad.net/ubuntu/+source/dotnet6? Thanks in advance.
- sedatk 4y agoThanks, done: https://bugs.launchpad.net/ubuntu/+source/dotnet6/+bug/1986871 https://bugs.launchpad.net/ubuntu/+source/dotnet6/+bug/19868...
- omajid 4y agoI can't seem to reproduce: https://gist.github.com/omajid/b5813156b9e47419feb02d5b219441e2 https://gist.github.com/omajid/b5813156b9e47419feb02d5b21944...
- sedatk 4y agoMaybe it's because I'm trying it on WSL2. Filed a bug for my experience.
- deleted 4y ago[deleted]
- omajid 4y agoMost distro packages for .NET have disabled telemetry. As far as I can tell, this is the case for: - Alpine: https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/community/dotnet6-build/sdk_telemetry-optout.patch https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/c... - Arch Linux: https://github.com/archlinux/svntogit-community/blob/packages/dotnet-core/trunk/dotnet-core-sdk-telemetry-optout.patch https://github.com/archlinux/svntogit-community/blob/package... - Fedora: https://src.fedoraproject.org/rpms/dotnet3.1/blob/f36/f/cli-telemetry-optout.patch https://src.fedoraproject.org/rpms/dotnet3.1/blob/f36/f/cli-... - RHEL: https://gitlab.com/redhat/centos-stream/rpms/dotnet6.0/-/blob/c9s/sdk-telemetry-optout.patch https://gitlab.com/redhat/centos-stream/rpms/dotnet6.0/-/blo... - Ubuntu: http://archive.ubuntu.com/ubuntu/pool/universe/d/dotnet6/dotnet6_6.0.108-0ubuntu1~22.04.1.debian.tar.xz http://archive.ubuntu.com/ubuntu/pool/universe/d/dotnet6/dot... The homebrew build of .NET is the only non-Microsoft build of .NET that seems to keep it enabled (https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/dotnet.rb https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/...).