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

RPM package needs to create host symlink #62925

Merged
merged 1 commit into from
Dec 17, 2021

Conversation

NikolaMilosavljevic
Copy link
Member

@NikolaMilosavljevic NikolaMilosavljevic commented Dec 16, 2021

Backport of #62455

Customer impact

Fixes: #61849

Symlink, installed using scripts, is not owned by the package, which causes issues with upgrades from 3.1 or 5.0, where symlink will get removed from disk. (RPM installation is done in "install-new then uninstall-old" fashion.)

This PR restores the functionality that was in place for 3.1 and 5.0 releases, where symlink is created during build and installed with RPM package. Consequently, any file installed with package is owned by it, which ensures proper install, upgrade and uninstall behavior.

Dependent Arcade change was merged with: dotnet/arcade#8251 and is usable in dotnet/runtime (runtime/6.0 branch) after: #62799

Testing

Built host RPM package and tested install and upgrade scenarios.

Risk

Low. This is already present in 7.0 and has been in 3.1 and 5.0. With this change 6.0 will utilize the same model for creation of dotnet symlink.

@NikolaMilosavljevic NikolaMilosavljevic modified the milestones: 6.0.2, 6.0.x Dec 17, 2021
@NikolaMilosavljevic
Copy link
Member Author

Approved on tactics and over email.

@NikolaMilosavljevic NikolaMilosavljevic added Servicing-approved Approved for servicing release and removed Servicing-consider Issue for next servicing release review labels Dec 17, 2021
@NikolaMilosavljevic NikolaMilosavljevic merged commit 818daa9 into dotnet:release/6.0 Dec 17, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Jan 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-Setup Servicing-approved Approved for servicing release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants