« first day (4900 days earlier)      last day (52 days later) » 

2:20 PM
I was thinking about the time when Zanna arranged the 10th anniversary chat lessons..
Maybe someone could find the time to arrange something similar again at some point?
17
Q: Scheduling lessons for 10th anniversary celebration classroom

ZannaOops time passed. I have created a public chat room for the 10th anniversary lessons: Join the Classroom All lessons will be held there. This post is for scheduling the lessons. If you would like to give a lesson, please post an answer with the topic for your lesson and the provisional timing (pl...

I think it was a brilliant idea - we just need an excuse to come up with an occasion again 😁
 
Hi! I am a newbie to using chat. I need help with Plymouth and its interaction with fsck.
 
2:42 PM
@Gustavo Hi! I guess your best option would be to ask a question, and document as much as you can.
You can then always ask for additional support here in chat.
It's really hard to troubleshoot in chat only, when you don't have anything else to go with.
 
2:54 PM
@ArturMeinild thanks! I'm writing the question to post to unix.stackexchange right now
 
3:23 PM
@Gustavo you can also post here, on Ask Ubuntu, as long as you're using Ubuntu.
 
@terdon Even if I use Debian?
 
@Gustavo no, "as long as you're using Ubuntu"
 
@Gustavo If you use Debian, then Unix&Linux is the right place to post on SE. 👍
Debian != Ubuntu
 
@ArturMeinild @terdon Do any of you use Plymouth on Ubuntu?
 
I don't use Ubuntu, and I don't use Plymouth these days either. Systemd has some sort of replacement, right? Pretty sure that's what I have on my Arch.
 
3:39 PM
@Gustavo It's the graphical bootup right? I don't use it, sorry. 😬
@terdon You're running Arch - and you just ruined my prejudice. 😅
 
I did? How so? :)
 
@terdon I didn't know already, because you didn't tell! 😅
 
I did use Ubuntu briefly when it came out. Maybe for a year or two, but then moved to Mint and then to LMDE (basically Debian) and then to Arch. I've used RedHat and Fedora for a few years, but only at work. I used to have SuSe and before that Mandrake, which doesn't even exist anymore :).
 
@terdon Systemd does not replace, in fact (by systemd-fsckd.service) is responsible for receiving file system check progress (through an UNIX domain socket), and communicating some consolidated data to console and plymouth (if running). It also handles possible check cancellations.
@terdon I have also used all those flavors of Linux at some time (until Caldera and Open Solaris)
@ArturMeinild Yes, It's a graphical boot splash. Don't worry.
 
3:58 PM
@Gustavo I admit I haven't touched this part of my system in years. Actually, now that I think about it, my boot process (once the disk has been unencrypted) is so fast, I'm not sure I even have a graphical overlay at all.
Which would explain why I don't have Plymouth installed. I just saw I didn't, so I assumed systemd was doing something since that is usually the case these days :)
 
@terdon The goal is to notify the user that the boot process is delayed by fsck's disk check and to view its progress.
I have created a custom Plymouth theme configured to process fsck messages coming from systemd-fsckd by implementing the communication protocol whose message has the following format: "fsckd:<num_devices>:<progress>:<string>"
When executed, in test mode, in the console using the command "plymouthd; plymouth --show-splash ; for ((I=0; I<10; I++)); do plymouth --update=fsck:sda1:$ I ; sleep 1; done; plymouth quit", plymouth shows desired messages
But when restarting the system, the fsck messages are not displayed, unless Plymouth is canceled with the Esc key and then they are displayed in the
 
@Gustavo Hmm. Could it be as simple as needing to send the things to the background?
plymouthd & plymouth --show-splash & for ((I=0; I<10; I++)); do plymouth --update=fsck:sda1:$I ; sleep 1; done; plymouth quit
(I'm guessing the $ I instead of $I is just a typo)
But that would be really weird, why would it behave differently when testing.
Just throwing random thoughts out there.
 
4:56 PM
@terdon I do the test by simulating the messages that Plymouth should receive from systemd-fsckd, with plymouth --update=fsck:sda1:$I. That way, I can rule out that the problem is not in Plymouth. With ESC, I can go to the console and see what fsck is running. Also if I look in /run/initramfs/fsck.log. I deduce it is a communication problem between processes, but I don't know how to find where the failure occurs.nt
 
5:10 PM
Sounds like you will indeed be posting an interesting question. I look forward to upvoting it!
 
@terdon many thanks!! I'm looking at similar topics on U&L in case there are any with the same problem, but I doubt it. So far none of them come even close.
 
5:35 PM
Yeah, sounds like something quite specific. Go ahead and post: worst case scenario, it's correctly closed as a dupe and you find your answer. If it's closed as a dupe incorrectly, just ping me here or in /dev/chat, or just flag the thing and we can reopen.
Argh, sorry, forgot to tell you I'm a mod at Unix & Linux!
 
 
2 hours later…
7:08 PM
@terdon done!
 
7:31 PM
great, thanks!
I haven't played with this kind of thing in ages, so I don't remember what the exact meaning of the grub options is, but have you tried all combinations of "quiet" and "splash" (including removing both), @Gustavo? Isn't the whole point of those to options to hide messages?
 
7:43 PM
@terdon The splash causes the boot splash screen to be shown. At the same time you want the boot process to be quiet, as otherwise all kinds of messages would disrupt that splash screen.
 
@Gustavo And what is the option that allows only some messages? Isn't the quiet blocking everything?
 
@terdon If I remove the quiet option, some messages are displayed during startup, then the splash screen appears hiding others (there must be some order of preference). Messages related to FSCK remain among the hidden ones.
@terdon Thanks for edition! I have added screenshots for better illustration.
 
8:06 PM
@Gustavo oh well. I didn't expect it'd be that easy, but it was wort a try :)
@Gustavo You're very welcome. Good luck with the question!
 
@terdon Of course
@terdon Thank you so much! I hope so.
 
8:23 PM
I upvoted the question as well - good luck 🤞
 

« first day (4900 days earlier)      last day (52 days later) »