Skip creating the yum.repos.d structure on debian based systems#3369
Skip creating the yum.repos.d structure on debian based systems#3369sbernhard wants to merge 1 commit intocandlepin:mainfrom
Conversation
5b2c8fd to
7ffb3cf
Compare
|
The changes in As for the rest of the changes: it looks to me that the issue that triggers the addition of the option in |
|
Sure. Thanks @pinotree for you answer. If you run |
|
So what if you replace the usage of |
6b36a0d to
2883279
Compare
|
Any thoughts on this PR @ptoscano ? |
|
One question I have is: on a Debian system without this patch, what do you get when running |
|
/etc/yum.repos.d and a file red hat.repo containing the header. |
|
Just to add - if you have rpm-repos in your Content View and run "subscription-manager repos", you might end up with repositories in redhat.repo causing other issues like breaking the package-profile-upload to katello |
|
Can you run the tests @ptoscano ? |
|
@jirihnidek Can you maybe give some feedback / start the tests? |
|
@sbernhard I'm just testing/reviewing this PR. |
jirihnidek
left a comment
There was a problem hiding this comment.
Thanks for the PR. The file /var/lib/rhsm/repo_server_val/redhat.repo is still created, which could be still confusing. I have two also other requests, because you use wrong names of Python modules.
2883279 to
9552aaa
Compare
Yes, thats true. I thought, this repo_server_val is a "internal storage" which is required for the sub-man and not something a user would ever see. |
Hmm, the code is wild. The file |
Make sense in general. Maybe "a lot of things" need to be adapted because of tests etc. Should we rename this in a separete PR? |
You are right. We can do that in another PR. |
Is there something missing for this PR? |
|
@jirihnidek / @ptoscano Any update for this? |
If you currently run "subscription-manager repos" on a debian/ubuntu system, the directory
/etc/yum.repos.d/and the file/etc/yum.repos.d/redhat.repowith only the header are created. This is confusing some debian/ubuntu users.This patch does fix this behaviour.