[Bug 1031295] New: Desktop Selection: Other should install enhanced base pattern by default.
http://bugzilla.suse.com/show_bug.cgi?id=1031295 Bug ID: 1031295 Summary: Desktop Selection: Other should install enhanced base pattern by default. Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 Assignee: yast2-maintainers@suse.de Reporter: simonf.lees@suse.com QA Contact: jsrain@suse.com Found By: --- Blocker: --- Following on from the changes to the desktop selection screen, in order to prevent users shooting themself in the foot we should pre select the "enhanced base" pattern as well as the "base" and "minimal" patterns. We should allow them to uninstall the "enhanced base" pattern but not the others as they won't have fundamental things such as a package manager. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1031295 http://bugzilla.suse.com/show_bug.cgi?id=1031295#c1 Knut Alejandro Anderssen González <knut.anderssen@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jreidinger@suse.com, | |knut.anderssen@suse.com Flags| |needinfo?(jreidinger@suse.c | |om) --- Comment #1 from Knut Alejandro Anderssen González <knut.anderssen@suse.com> --- Josef, as you have more background knowledge about new desktop selection could you comment/check this bug? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1031295 http://bugzilla.suse.com/show_bug.cgi?id=1031295#c2 Josef Reidinger <jreidinger@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lslezak@suse.com Flags|needinfo?(jreidinger@suse.c |needinfo?(lslezak@suse.com) |om) | --- Comment #2 from Josef Reidinger <jreidinger@suse.com> --- Lada - I expect it is possible to preselect some patterns in patterns selector, but is possible to disable uninstall of pattern? I am not aware about such functionality. Simon - it is questionable what is fundamental functionality, as for some kind of usage even package manager is not needed. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1031295 http://bugzilla.suse.com/show_bug.cgi?id=1031295#c3 --- Comment #3 from Simon Lees <simonf.lees@suse.com> --- (In reply to Josef Reidinger from comment #2)
Simon - it is questionable what is fundamental functionality, as for some kind of usage even package manager is not needed.
From a openSUSE perspective is openSUSE without "zypper" really openSUSE and would such setups even use this installer? or would they be more likely to use something like JeOS.
The Minimal_Base pattern requires 15 packages that we consider fundamental to a openSUSE / SLE system such as aaa_base and openSUSE_Release. The base pattern adds a further 12 required packages. On SLE we don't provide support for systems without the base pattern unless you have a specialized support contract so for openSUSE I don't think we should allow it either (that was the thrust of the mailing list discussion). We are only talking about the installer here, if someone tries to uninstall them later I guess thats ok, but mostly were trying to stop people shooting themselves in the foot during install. Multiple people testing the new desktop selection have managed to break there systems this way so far. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1031295 Simon Lees <simonf.lees@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lnussel@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1031295 http://bugzilla.suse.com/show_bug.cgi?id=1031295#c4 --- Comment #4 from Josef Reidinger <jreidinger@suse.com> --- well, one thing is to preselect it, which will help majority of users and second is to disallow deselecting it, especially if I am not sure if we can do it now. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1031295 http://bugzilla.suse.com/show_bug.cgi?id=1031295#c5 --- Comment #5 from Ludwig Nussel <lnussel@suse.com> --- We can't prevent people from shooting themselves in the foo. So I don't think we need to handle the deselect case. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1031295 http://bugzilla.suse.com/show_bug.cgi?id=1031295#c6 --- Comment #6 from Ludwig Nussel <lnussel@suse.com> --- FWIW I think the important bit is to preselect the base patterns so they don't automatically disappear if one doesn't select a DE. So deselecting them becomes a deliberate action by the user. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1031295 http://bugzilla.suse.com/show_bug.cgi?id=1031295#c7 Stefan Hundhammer <shundhammer@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(lslezak@suse.com) | --- Comment #7 from Stefan Hundhammer <shundhammer@suse.com> --- (In reply to Josef Reidinger from comment #2)
Lada - I expect it is possible to preselect some patterns in patterns selector, but is possible to disable uninstall of pattern? I am not aware about such functionality.
I don't think so. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1031295 http://bugzilla.suse.com/show_bug.cgi?id=1031295#c8 Stefan Hundhammer <shundhammer@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FEATURE --- Comment #8 from Stefan Hundhammer <shundhammer@suse.com> ---
From the previous comments I gather that the original intent of this bug is not generally desired.
In particular, we as the Linux community pride ourselves in having complete control over everything, including uninstalling packages, so forcing the user to install packages he decides to omit is not the way to go. We issue warnings to try to make the user aware that what he is about to do might not be such a brilliant idea, but if he insists, it's his choice. This is a fundamental principle we are following everywhere (at least that is our higher goal) in the distro and in YaST in particular. If you still feel differently, please start a discussion on [research] to let other voices be heard. The result of that discussion might be a feature request in fate that the product managers have to agree to. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1031295 http://bugzilla.suse.com/show_bug.cgi?id=1031295#c9 Ludwig Nussel <lnussel@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FEATURE |--- --- Comment #9 from Ludwig Nussel <lnussel@suse.com> --- The request was two fold. Only the second part about uninstallation cannot be fulfilled. We still need the custom selection to preselect the base and minimal patterns. So far the control file doesn't seem to preselect any pattern. Looking at the SLE control file I guess the custom section needs to look like this: <system_role> <id>custom</id> <default_patterns>base minimal</default_patterns> </system_role> There's also no default_patterns node in the KDE, GNOME and Server sections still it seems to work. Out of curiosity, how does yast know what to install there? :) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1031295 Ludwig Nussel <lnussel@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fvogt@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1031295 http://bugzilla.suse.com/show_bug.cgi?id=1031295#c10 --- Comment #10 from Ludwig Nussel <lnussel@suse.com> --- Digging deeper the other option seems to be to add a section to one_supported_desktop for custom. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1031295 http://bugzilla.suse.com/show_bug.cgi?id=1031295#c11 --- Comment #11 from Ladislav Slezák <lslezak@suse.com> --- (In reply to Ludwig Nussel from comment #9)
Out of curiosity, how does yast know what to install there? :)
The pattern selection is a bit tricky, there are more possibilities. - The default patterns might be defined using the "defaultpattern" Provides (see https://fate.suse.com/320199) - In the past the default patterns were defined in the "content" file - Some default patterns are also in the control.xml - The addon-products might select additional patterns to install But I do not know which case it is here, maybe there is even some more... ;-) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1031295 http://bugzilla.suse.com/show_bug.cgi?id=1031295#c12 --- Comment #12 from Josef Reidinger <jreidinger@suse.com> --- (In reply to Ludwig Nussel from comment #10)
Digging deeper the other option seems to be to add a section to one_supported_desktop for custom.
for other desktops patterns are defined in one_support_desktop for this one, selecting desktop is skipped! so this is not option. Your first suggestion looks reasonable to add default_patterns there. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1031295 http://bugzilla.suse.com/show_bug.cgi?id=1031295#c13 Stefan Hundhammer <shundhammer@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|YaST2 |Patterns Assignee|yast2-maintainers@suse.de |coolo@suse.com QA Contact|jsrain@suse.com |qa-bugs@suse.de --- Comment #13 from Stefan Hundhammer <shundhammer@suse.com> --- Both Josef and Ladislav agree that comment #9 is the solution, so this is up to the respective product owner who is in charge of the relevant control.xml file. For TW, that would probably be Ludwig -> reassigning. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1031295 http://bugzilla.suse.com/show_bug.cgi?id=1031295#c14 Ludwig Nussel <lnussel@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|coolo@suse.com |fvogt@suse.com --- Comment #14 from Ludwig Nussel <lnussel@suse.com> --- Delegating to Fabian :) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1031295 http://bugzilla.suse.com/show_bug.cgi?id=1031295#c15 Fabian Vogt <fvogt@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|Patterns |YaST2 Assignee|fvogt@suse.com |yast2-maintainers@suse.de QA Contact|qa-bugs@suse.de |jsrain@suse.com --- Comment #15 from Fabian Vogt <fvogt@suse.com> --- So I made the mentioned change to the control.xml file: <system_role> <id>custom</id> <!-- We need a manual selection here, see c11 on boo#1031295 --> + <software> + <default_patterns>base minimal</default_patterns> + </software> </system_role> This works, but there's a bug which is highly misleading for the user: The pattern changes are only applied during the installation overview! So after the user selects custom, there's a selection screen, but the default_patterns are not selected there. YaST2 logs are attached, ignore that one of the pattern names is wrong. Reassigning to YaST team. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1031295 http://bugzilla.suse.com/show_bug.cgi?id=1031295#c16 --- Comment #16 from Fabian Vogt <fvogt@suse.com> --- Created attachment 725255 --> http://bugzilla.suse.com/attachment.cgi?id=725255&action=edit YaST logs -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1031295 Ludwig Nussel <lnussel@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P2 - High -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1031295 http://bugzilla.suse.com/show_bug.cgi?id=1031295#c17 Stefan Hundhammer <shundhammer@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |https://trello.com/c/6Ery5n | |Vj --- Comment #17 from Stefan Hundhammer <shundhammer@suse.com> --- Now tracking in Trello to integrate this task in our scrum team workflow: https://trello.com/c/6Ery5nVj -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1031295 Stefan Hundhammer <shundhammer@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|yast2-maintainers@suse.de |yast-internal@suse.de -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1031295 http://bugzilla.suse.com/show_bug.cgi?id=1031295#c18 Stefan Schubert <schubi@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |schubi@suse.com Flags| |needinfo?(lnussel@suse.com) | |, needinfo?(fvogt@suse.com) --- Comment #18 from Stefan Schubert <schubi@suse.com> --- Created attachment 727293 --> http://bugzilla.suse.com/attachment.cgi?id=727293&action=edit Workflow I have fixed this issue. With theses settings <system_role> <id>custom</id> <software> <default_patterns>base enhanced_base</default_patterns> <default_desktop></default_desktop> </software> </system_role> we are getting the attached results now. I have unset the default_desktop too. Fabian, Ludwig, is this OK for you ? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1031295 http://bugzilla.suse.com/show_bug.cgi?id=1031295#c19 Fabian Vogt <fvogt@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(fvogt@suse.com) | --- Comment #19 from Fabian Vogt <fvogt@suse.com> --- (In reply to Stefan Schubert from comment #18)
Created attachment 727293 [details] Workflow
I have fixed this issue. With theses settings
<system_role> <id>custom</id> <software> <default_patterns>base enhanced_base</default_patterns> <default_desktop></default_desktop> </software> </system_role>
we are getting the attached results now. I have unset the default_desktop too. Fabian, Ludwig, is this OK for you ?
Looks good to me! -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1031295 http://bugzilla.suse.com/show_bug.cgi?id=1031295#c20 Ludwig Nussel <lnussel@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(lnussel@suse.com) | --- Comment #20 from Ludwig Nussel <lnussel@suse.com> --- ok -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1031295 http://bugzilla.suse.com/show_bug.cgi?id=1031295#c21 --- Comment #21 from Stefan Schubert <schubi@suse.com> --- The fix is in: https://github.com/yast/yast-installation/pull/568 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1031295 http://bugzilla.suse.com/show_bug.cgi?id=1031295#c22 Stefan Schubert <schubi@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |FIXED --- Comment #22 from Stefan Schubert <schubi@suse.com> --- The fix has been submitted. I have also already fixed: skelcd-control-openSUSE --> version 42.2.99.5 -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com