Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NETE2ESDK][MAC][Linux]The welcome text should not keep showing up when running dotnet workload with sudo privilege. #37952

Open
v-xiaofchen opened this issue Jan 12, 2024 · 2 comments
Assignees
Labels
Area-Workloads untriaged Request triage from a team member

Comments

@v-xiaofchen
Copy link

v-xiaofchen commented Jan 12, 2024

Describe the bug

The welcome text should not keep showing up when running dotnet workload with sudo privilege.

To Reproduce

  1. Prepare clean Mac OS or Linux machine.
  2. Install .NET 9 alpha SDK (9.0.100-alpha.1.24061.40(runtime-9.0.0-alpha.1.24061.8)) from https://github.com/dotnet/installer
  3. Run "sudo dotnet workload list" for several times.
  4. Observe.

Expected:

The welcome text should not keep showing up when running dotnet workload list with sudo privilege.

Exceptions (if any)

The welcome text still keep showing up when running dotnet workload list with sudo privilege
sudo11

Note:

1.This issue also repro on .NET 6.,7,8
2.This issue not repro when running "dotnet workload list"

dotnet --info

.NET SDK:
Version: 9.0.100-alpha.1.24061.40
Commit: de133935b1
Workload version: 9.0.100-manifests.ad5c6cc9

Runtime Environment:
OS Name: debian
OS Version: 12
OS Platform: Linux
RID: linux-x64
Base Path: /usr/share/dotnet/sdk/9.0.100-alpha.1.24061.40/

.NET workloads installed:
There are no installed workloads to display.

Host:
Version: 9.0.0-alpha.1.24061.8
Architecture: x64
Commit: 8d1c3d9527

.NET SDKs installed:
9.0.100-alpha.1.24061.40 [/usr/share/dotnet/sdk]

.NET runtimes installed:
Microsoft.AspNetCore.App 9.0.0-alpha.1.24061.8 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 9.0.0-alpha.1.24061.8 [/usr/share/dotnet/shared/Microsoft.NETCore.App]

Other architectures found:
None

Environment variables:
Not set

global.json file:
Not found

Learn more:
https://aka.ms/dotnet/info

Download .NET:
https://aka.ms/dotnet/download

@dotnet-issue-labeler dotnet-issue-labeler bot added Area-Workloads untriaged Request triage from a team member labels Jan 12, 2024
@v-xiaofchen v-xiaofchen changed the title [NETE2ESDK][MAC][Linux]With NET 9 alpha SDK installed, the message that "Welcome to .NET 9.0!" should not be displayed when running the dotnet workload command again with sudo permission. [NETE2ESDK][MAC][Linux]The welcome text should not keep showing up when running dotnet workload with sudo privilege. Jan 12, 2024
@ChenhuiYuan01
Copy link
Member

This issue also repro's on 10.0.100-alpha.1.24568.6
Image

@ChenhuiYuan01
Copy link
Member

This issue also repro's on 10.0.100-preview.3.25153.9(runtime-10.0.0-preview.3.25152.4)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Workloads untriaged Request triage from a team member
Projects
None yet
Development

No branches or pull requests

3 participants