[06:33] hey, there's this nasty bug in lightdm upstart job that causes it to race with plymouth-splash. it's kinda easy to fix, but not for the case where plymouth is on the initrd (like when cryptsetup is used) because it won't emit events to the later phase [06:35] so the plan is to create a job that emits an event "on startup or started plymouth-splash" [06:36] but is there a 'generic' event for when the system has passed initrd phase? [07:06] passed the initrd phase => startup [07:07] upstart only starts when we switch from the initrd to the real system, so "startup" would currently work. Maybe one day we'll have upstart in initrd, then that will no longer be true. [07:24] well, that didn't seem to work or I failed in some other way [07:24] start on startup or started plymouth-splash [07:24] emits plymouth-splash-running-4-shure [07:25] and in script; "exec initctl emit --no-wait plymouth-splash-running-4-shure" [07:25] but debug log didn't show any sign of that [07:25] maybe I'll just try harder this time.. [08:05] tjaalton: there is no generic "passed initrd" event as upstart doesn't know about that phase of the boot - it happens before upstart starts. [08:08] jodh: ok, the bug in question is https://bugs.launchpad.net/ubuntu/+source/libdrm/+bug/982889 and comment #120 is what I'm trying to accomplish [08:09] jodh: should that be possible? [08:15] jodh: tjaalton: don't we emit something to plymouth to indicate that we passed initrd....? [08:16] xnox: doesn't work when plymouth was started from initrd [08:16] the bug is trivial to fix for the normal case, but the special case makes it.. special [08:16] xnox: we pass "update-root-fs --read-write" to plymouth when the disk is writeable. [08:17] jodh: yeah. which is quite late for this bug, isn't it? [08:18] quite racy with's lightdm starton. [08:19] tjaalton: I think what slangasek actually means in #120 is for this secondary job to check for a "plymouth" process running (or "plymouth --ping" returning successfully). [08:20] jodh: yes, maybe it's the details that got me confused then [08:21] like, when to run that job [08:21] and should it just sleep N until plymouth is running and then emit the event? [08:22] maybe it shouldn't have any preconditions, just check for plymouth and be done with it [08:24] tjaalton: that's the only way it could work I think - check "status plymouth-splash" and check "plymouth --ping" return code. [08:28] alright I'll give it a go === Md_ is now known as Md