http://bugzilla.opensuse.org/show_bug.cgi?id=1187962
Bug ID: 1187962 Summary: `nil:NilClass` and `false:FalseClass` errors during stage 2 Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.3 Hardware: x86-64 OS: openSUSE Leap 15.3 Status: NEW Severity: Normal Priority: P5 - None Component: AutoYaST Assignee: yast2-maintainers@suse.de Reporter: mail@georg-pfuetzenreuter.net QA Contact: qa-bugs@suse.de Found By: --- Blocker: ---
Created attachment 850738 --> http://bugzilla.opensuse.org/attachment.cgi?id=850738&action=edit save_y2logs
Hi,
as discussed in IRC, if the following is set, the attached error messages occur during stage two of an AutoYaST deployment of/on Leap 15.3:
<do_online_update config:type="boolean">true</do_online_update>
After confirming the two error dialogues with `Ok`, the system is left in a broken state, as i.e. the defined logon shells are missing.
The workaround is to reinstall with do_online_update set to false:
<do_online_update config:type="boolean">false</do_online_update>
Cheers, Georg
http://bugzilla.opensuse.org/show_bug.cgi?id=1187962 http://bugzilla.opensuse.org/show_bug.cgi?id=1187962#c1
--- Comment #1 from Georg Pfuetzenreuter mail@georg-pfuetzenreuter.net --- Created attachment 850739 --> http://bugzilla.opensuse.org/attachment.cgi?id=850739&action=edit First Error (Undefined method `new` for nil:NilClass)
http://bugzilla.opensuse.org/show_bug.cgi?id=1187962 http://bugzilla.opensuse.org/show_bug.cgi?id=1187962#c2
--- Comment #2 from Georg Pfuetzenreuter mail@georg-pfuetzenreuter.net --- Created attachment 850740 --> http://bugzilla.opensuse.org/attachment.cgi?id=850740&action=edit Second Error (Undefined method `to_sym` for false:FalseClass)
http://bugzilla.opensuse.org/show_bug.cgi?id=1187962 http://bugzilla.opensuse.org/show_bug.cgi?id=1187962#c3
Imobach Gonzalez Sosa igonzalezsosa@suse.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |IN_PROGRESS CC| |igonzalezsosa@suse.com Flags| |needinfo?(igonzalezsosa@sus | |e.com)
--- Comment #3 from Imobach Gonzalez Sosa igonzalezsosa@suse.com --- I would say that the problem is here: https://github.com/yast/yast-autoinstallation/blob/611358ce2721af72513700e5e... when writing the script to reboot the system after applying the updates. It seems that the "init" argument is wrong (it should be "init-scripts" IMHO). I will have a look.
http://bugzilla.opensuse.org/show_bug.cgi?id=1187962 http://bugzilla.opensuse.org/show_bug.cgi?id=1187962#c4
--- Comment #4 from Imobach Gonzalez Sosa igonzalezsosa@suse.com --- Thanks for reporting Georg!
This PR is under review and it should fix the issue: https://github.com/yast/yast-autoinstallation/pull/774
http://bugzilla.opensuse.org/show_bug.cgi?id=1187962 http://bugzilla.opensuse.org/show_bug.cgi?id=1187962#c5
Imobach Gonzalez Sosa igonzalezsosa@suse.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|IN_PROGRESS |RESOLVED Resolution|--- |FIXED Flags|needinfo?(igonzalezsosa@sus | |e.com) |
--- Comment #5 from Imobach Gonzalez Sosa igonzalezsosa@suse.com --- PR for the master branch: https://github.com/yast/yast-autoinstallation/pull/775.
Let's consider this bug as fixed.
Thanks!
http://bugzilla.opensuse.org/show_bug.cgi?id=1187962 http://bugzilla.opensuse.org/show_bug.cgi?id=1187962#c16
Imobach Gonzalez Sosa igonzalezsosa@suse.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |pbartfai@stardust.hu
--- Comment #16 from Imobach Gonzalez Sosa igonzalezsosa@suse.com --- *** Bug 1199212 has been marked as a duplicate of this bug. ***