Bugzilla – Full Text Bug Listing |
Summary: | [Build20180214] Confusing online repositories selection WAS: Online repos are not disabled in the installed system regardless of disabling in the settings | ||
---|---|---|---|
Product: | [openSUSE] openSUSE Tumbleweed | Reporter: | Rodion Iafarov <riafarov> |
Component: | Installation | Assignee: | Ladislav Slezák <lslezak> |
Status: | VERIFIED FIXED | QA Contact: | Jiri Srain <jsrain> |
Severity: | Enhancement | ||
Priority: | P3 - Medium | CC: | lslezak, schubi |
Version: | Current | ||
Target Milestone: | --- | ||
Hardware: | Other | ||
OS: | Other | ||
URL: | https://trello.com/c/gCKsVCaz/2121-bug-1081508-build20180214-online-repos-are-not-disabled-in-the-installed-system-regardless-of-disabling-in-the-settings | ||
Whiteboard: | |||
Found By: | --- | Services Priority: | |
Business Priority: | Blocker: | --- | |
Marketing QA Status: | --- | IT Deployment: | --- |
Attachments: | yast logs |
Description
Rodion Iafarov
2018-02-19 08:42:29 UTC
Same is true for leap 15. Small update, as it can be considered as a feature, as for installation we don't use disabled repos. But I somehow expected that they are disable in installed system. Thanks. Yes, could be a feature request :-) I think that these repositories are (were in the past) added later automatically during the installation. At least I think that there was such piece of code... Ladislav, could you PLS check that in logs? You know what you search for there. (In reply to Rodion Iafarov from comment #0) > Created attachment 760529 [details] > yast logs > > ## Observation > Repos disabled during installation are still enabled in installed system. > Here we can see that all repos are enabled: > https://openqa.opensuse.org/tests/ > latest?machine=64bit&distri=opensuse&version=Tumbleweed&arch=x86_64&test=yast > 2_ncurses&flavor=DVD#step/zypper_lr/3 > > even though in that image we have disabled all online repos: > https://openqa.opensuse.org/tests/610557#step/disable_online_repos/9 Ah, it seems that the dialog is a bit confusing. This is a list of repositories which will *added* to the system. I.e. the checkbox does not mean enabled/disabled, but added/not added. That means if you do not click the "Configure Online Repositories" (https://openqa.opensuse.org/tests/610557#step/disable_online_repos/1) these repos will not be added. Maybe we should change the "Configure" word in the button label to "Add", that would better describe the action in the next dialog. And why are the repositories present in the installed system although no repository was selected? That's because there is yet another repository configuration stored in control.xml which is added to the system at the end of installation. See https://github.com/yast/skelcd-control-openSUSE/blob/master/control/control.openSUSE.xml#L113-L121 This contains the <enabled> flag, that's why the repos are enabled. The repositories in installation dialog are loaded from the openSUSE server (see the "Linked from" in the description at https://openqa.opensuse.org/tests/610557#step/disable_online_repos/9). The reason is that the control.xml list is fixed while the list from the server can be dynamically changed. We can add new repositories even after the release. As discussed with Rodion on IRC, I'll change the label in the repository selection dialog to be more understandable. Updated in yast2-packager-4.0.45 (https://github.com/yast/yast-packager/pull/329) https://openqa.opensuse.org/tests/631683#step/disable_online_repos/3 Thanks for the fix! |