Weston is not compatiable with plymouth's --retain-splash flag
I'm trying to get nice clean startup behavior for my application that uses weston, and after some reading (https://blogs.gnome.org/halfline/2009/11/28/plymouth-%E2%9F%B6-x-transition/) I found that how this was solved for X was the --retain-splash
flag on the plymouth quit call, but adding this seems to get weston to crash.
Steps to repro:
- Have a system with plymouth and weston. I'm using Ubuntu 20.04 with a service file very similar to the one in !439
- Edit the plymouth quit call to have
--retain-splash
. For my system, this issystemctl edit --full plymouth-quit.service
- Reboot
I get this in my logs:
Aug 18 16:43:32 shotover kernel: weston[2257]: segfault at 7fc1607d8240 ip 00007fc1607d8240 sp 00007ffc8feb3038 error 15 in libc-2.31.so[7fc1607d7000+3000]
Aug 18 16:43:32 shotover kernel: Code: 00 00 00 82 7d 60 c1 7f 00 00 10 a4 09 07 88 55 00 00 10 a4 09 07 88 55 00 00 20 82 7d 60 c1 7f 00 00 20 82 7d 60 c1 7f 00 00 <30> 82 7d 60 c1 7f 00 00 30 82 7d 60 c1 7f 00>
Aug 18 16:43:32 shotover systemd[1]: Started Process Core Dump (PID 2264/UID 0).
However, the workaround I found was just making the plymouth-quit service, which weston is fine with, and results in a clean-looking transition