Re: Initial-Setup Addon failure feedback for user

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2019-02-06 at 19:09 +0000, Kuna, Martin A wrote:

Hi Red Hat Installer Engineering Team,

 

I have a few anaconda/initial-setup add-ons and require that a user may not continue through initial-setup to the desktop if an add-on fails to perform a given action.

Being able to provide feedback to the user, a simple â??Please reinstall the system.â?? and a reboot button is all I am looking to accomplish. It appears the execute method currently ignores failures.

Interesting, I would expect an execute() failure to raise an exception, I'll have to check.

 

Is there is an easy way to prevent the user from continuing if an add-on fails in initial-setup? Aside from issuing a reboot cmd, which keeps the user in initial-setup since /.unconfigured is not cleaned up.

Is the failing addon one you also control or some third party addon ? If it's yours, you could run the code from execute() part (or a check if the execute() run can succeed) to apply() and set the spoke to not-ready, set spoke statusa to "reinstall needed" and show a warning bar. That should prevent users from continuing to the broken system.

 

Best Regards,

Martin Kuna

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx

https://www.redhat.com/mailman/listinfo/anaconda-devel-list
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux