[Bug 891213] New: yast2-live-installer: should set default_target to graphical when yast2 live-installer is used
https://bugzilla.novell.com/show_bug.cgi?id=891213 https://bugzilla.novell.com/show_bug.cgi?id=891213#c0 Summary: yast2-live-installer: should set default_target to graphical when yast2 live-installer is used Classification: openSUSE Product: openSUSE Factory Version: 201408* Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 AssignedTo: yast2-maintainers@suse.de ReportedBy: cyberorg@opensuse.org QAContact: jsrain@suse.com Found By: --- Blocker: --- Created an attachment (id=601789) --> (http://bugzilla.novell.com/attachment.cgi?id=601789) set default target to graphical if live-install is used User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 Installing Factory live using liveinstall boot option, the default target is set to multiuser, it should be set to graphical. Patch to workaround is attached. Reproducible: Always -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=891213 https://bugzilla.novell.com/show_bug.cgi?id=891213#c2 Lukas Ocilka <locilka@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- InfoProvider|locilka@suse.com |jsrain@suse.com --- Comment #2 from Lukas Ocilka <locilka@suse.com> 2014-08-12 07:43:18 UTC --- Jiri, you are the best one for Live-Installer. Is there a possibility to choose the default target in some proposal while installing? There is a patch in comment #0 but the patch hardcodes graphical target for Live Installer. IMO we should rather ask users and let them decide. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=891213 https://bugzilla.novell.com/show_bug.cgi?id=891213#c3 Jiri Srain <jsrain@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jsrain@suse.com --- Comment #3 from Jiri Srain <jsrain@suse.com> 2014-08-12 08:30:38 UTC --- I don't like the patch as it is, because: - it would set the mode to graphical even if it was selected as multiuser by the user - remember that live installer can also be run in text mode (you can create an ISO withou X11) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=891213 https://bugzilla.novell.com/show_bug.cgi?id=891213#c Steffen Winterfeldt <snwint@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|yast2-live-installer: |[live-installer] should set |should set default_target |default_target to graphical |to graphical when yast2 |when yast2 live-installer |live-installer is used |is used -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=891213 https://bugzilla.novell.com/show_bug.cgi?id=891213#c4 --- Comment #4 from Jigish Gohil <cyberorg@opensuse.org> 2014-08-12 08:57:52 UTC --- The graphical default handles most use cases, having graphical mode even if X is not installed does not break anything, as users will just get non GUI login prompt, and user can always set to the preferred runlevel after the installation is done using yast2 runlevel even if X is available, no major harm done. - live-installer does not have selection for runlevel, so user will not select anything. It is good that it is not there in live-installer, keeping it simple is perfect way to go, adding every small option will just make it more complicated to use and maintain. - If text mode was used then add a check if yast was run in ncurses mode and default to multiuser But not getting to graphical desktop when kde/gnome live CD is installed is not very good option. I am sure live-installer is not made to handle all use cases, there is a discussion on factory ML of dropping it(yast2-live-installer package) completely so I am sure no one will complain if the default runlevel is graphical by default and they have to change it after installation. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=891213 https://bugzilla.novell.com/show_bug.cgi?id=891213#c5 --- Comment #5 from Jiri Srain <jsrain@suse.com> 2014-08-12 09:12:54 UTC --- The fact that the openSUSE live installer does not include target setting does not mean that you cannot create such image via SUSE Studio. Anyway, thinking of it a bit more: Why to set it at all unless set explicitly by user (if possible)? Properly configured live image should have the target set already and YaST just copies the setting from the live media. There is no reason for the installer to touch the setting, or? Then the patch could look like: - ServicesManagerTarget.default_target = Target::MULTIUSER if ServicesManagerTarget.default_target.empty? + ServicesManagerTarget.default_target = Target::MULTIUSER if ServicesManagerTarget.default_target.empty? && ! Mode.live_installation (not tested) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=891213 https://bugzilla.novell.com/show_bug.cgi?id=891213#c6 Jigish Gohil <cyberorg@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|jsrain@suse.com | --- Comment #6 from Jigish Gohil <cyberorg@opensuse.org> 2014-08-12 10:08:45 UTC --- That works -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com