[Bug 1081508] New: [Build20180214] Online repos are not disabled in the installed system regardless of disabling in the settings
http://bugzilla.suse.com/show_bug.cgi?id=1081508 Bug ID: 1081508 Summary: [Build20180214] Online repos are not disabled in the installed system regardless of disabling in the settings Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Installation Assignee: yast2-maintainers@suse.de Reporter: riafarov@suse.com QA Contact: jsrain@suse.com Found By: --- Blocker: --- Created attachment 760529 --> http://bugzilla.suse.com/attachment.cgi?id=760529&action=edit 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=yast2_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 So we end up with following repos irregardless if we disable them or not: # | Alias | Name | Enabled | GPG Check | Refresh | URI --+---------------------+-----------------------------+---------+-----------+---------+---------------------------------------------------------- 1 | openSUSE-20180218-0 | openSUSE-20180218-0 | Yes | (r ) Yes | No | cd:///?devices=/dev/disk/by-id/scsi-0QEMU_QEMU_CD-ROM_cd0 2 | repo-debug | openSUSE-Tumbleweed-Debug | No | ---- | ---- | http://download.opensuse.org/debug/tumbleweed/repo/oss/ 3 | repo-non-oss | openSUSE-Tumbleweed-Non-Oss | Yes | (r ) Yes | Yes | http://download.opensuse.org/tumbleweed/repo/non-oss/ 4 | repo-oss | openSUSE-Tumbleweed-Oss | Yes | (r ) Yes | Yes | http://download.opensuse.org/tumbleweed/repo/oss/ 5 | repo-source | openSUSE-Tumbleweed-Source | No | ---- | ---- | http://download.opensuse.org/source/tumbleweed/repo/oss/ 6 | repo-update | openSUSE-Tumbleweed-Update | Yes | (r ) Yes | Yes | http://download.opensuse.org/update/tumbleweed/ Please, find installation logs in the attachment. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1081508
http://bugzilla.suse.com/show_bug.cgi?id=1081508#c1
--- Comment #1 from Rodion Iafarov
http://bugzilla.suse.com/show_bug.cgi?id=1081508
http://bugzilla.suse.com/show_bug.cgi?id=1081508#c2
--- Comment #2 from Rodion Iafarov
http://bugzilla.suse.com/show_bug.cgi?id=1081508
http://bugzilla.suse.com/show_bug.cgi?id=1081508#c3
Stefan Schubert
http://bugzilla.suse.com/show_bug.cgi?id=1081508
Rodion Iafarov
http://bugzilla.suse.com/show_bug.cgi?id=1081508
http://bugzilla.suse.com/show_bug.cgi?id=1081508#c4
Lukas Ocilka
http://bugzilla.suse.com/show_bug.cgi?id=1081508
http://bugzilla.suse.com/show_bug.cgi?id=1081508#c5
Ladislav Slezák
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.... 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. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1081508
http://bugzilla.suse.com/show_bug.cgi?id=1081508#c6
Ladislav Slezák
http://bugzilla.suse.com/show_bug.cgi?id=1081508
http://bugzilla.suse.com/show_bug.cgi?id=1081508#c7
Ladislav Slezák
http://bugzilla.suse.com/show_bug.cgi?id=1081508
http://bugzilla.suse.com/show_bug.cgi?id=1081508#c8
Rodion Iafarov
participants (1)
-
bugzilla_noreply@novell.com