Open qiangzhao opened 1 year ago
Please summarize the reason in a comment/commit message
plymouth-quit-wait is the solution inside plymouth source, the plymouth-quit-wait.service happens on the time plymouth totally exit. It is designed as a signal to notice other program which wait for using display device could launch. From the old method, "Yast2-Firstboot.service" and "Yast2-Second-Stage.service" only call "plymoth quit", it will notice plymouth daemon to quit, but it will not wait for plymouth daemon to finish the quit action, in some scenarios, the release device action of plymouth daemon will take a little more time for kernel/DRM to return. In this case, if "Yast2-Firstboot.service" and "Yast2-Second-Stage.service" launch up, they may race with plymouth daemon to grasp the display device handle. and may lock each other.
Add a bug/feature reference
This is a problem that I found in my own research on Plymouth's source and systemd service files inside the Tumbleweed.
Hi @mvidner : the reason as the above comment, Please review.
For the reference: https://bugzilla.suse.com/show_bug.cgi?id=1215282#c21 and the reason why @mvidner wanted some bug/feature nr is this https://bugzilla.suse.com/show_bug.cgi?id=1215282#c13
adjust Plymouth and Yast-First-Stage and Yast-Second-stage start order.