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

CentOS8 client cannot register to rpm #1038

Merged
merged 1 commit into from
Oct 26, 2023
Merged

CentOS8 client cannot register to rpm #1038

merged 1 commit into from
Oct 26, 2023

Conversation

zpetrova
Copy link
Collaborator

symlink, but rpm expected directory.

Description

in centos8 /usr/share/redhat-release is a symlink to centos-release. When register client to rmt, rpm tries to update centos-release.rpm to sll-release.rpm and fails because it cannot convert symlink to directory. Solution is to remove the file before register.

Fixes # (issue)

Change Type

Please select the correct option.

  • [ x] Bug Fix (a non-breaking change which fixes an issue)
  • New Feature (a non-breaking change which adds new functionality)
  • Documentation Update (a change which only updates documentation)

Checklist

Please check off each item if the requirement is met.

  • I have verified that my code follows RMT's coding standards with rubocop.
  • [ x] I have reviewed my own code and believe that it's ready for an external review.
  • [ x] I have provided comments for any hard-to-understand code.
  • I have documented the MANUAL.md file with any changes to the user experience.
  • [ x] RMT's test coverage remains at 100%.
  • [ x] If my changes are non-trivial, I have added a changelog entry to notify users at package/obs/rmt-server.changes.

Other Notes

Please use this space to provide notes or thoughts to the team, such as tips on how to review/demo your changes.

@mssola mssola merged commit ec53a44 into SUSE:master Oct 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants