SiFuh changed the topic of #crux-social to: Offtopic Talks | Project https://crux.nu/ | Logs: https://libera.irclog.whitequark.org/crux-social/
farkuhar has quit [Quit: nyaa~]
zorz_ has joined #crux-social
zorz_ has quit [Quit: leaving]
ppetrov^ has joined #crux-social
<remiliascarlet> SiFuh_: What scene?
remiliascarlet has quit [Remote host closed the connection]
remiliascarlet has joined #crux-social
<SiFuh_> I don't know
farkuhar has joined #crux-social
<farkuhar> zorz: ppetrov^ has left #crux-devel
<ppetrov^> so, google-chrome ditched FreeType in 136.* release
<ppetrov^> my fonts look like crap in the browser
<ppetrov^> maybe it's time to move back to FF
<farkuhar> ppetrov^: remiliascarlet was suggesting floorp instead of FF. Something to consider if you want to move away from google-chrome.
<ppetrov^> thanks farkuhar
SiFuh has quit [Remote host closed the connection]
SiFuh has joined #crux-social
<SiFuh_> farkuhar: floor pee?
ppetrov^ has quit [Quit: Leaving]
zorz_ has joined #crux-social
<SiFuh_> zorz_: https://dpaste.com/FF4G6HB8A.txt I have no system to test the patch on. But I did forward the tarball link to farkuhar
<zorz_> moment sifuh
<SiFuh_> Ignore that. I did a shellcheck on it and then created a proper patch. https://gitlab.com/SiFuh/Documentation/-/commit/39a19fe47fc37f381140cd30422368f5a81aa7cc
<SiFuh_> zorz_: Becareful. I have never tested it.
<zorz_> let me see what it is
<zorz_> SiFuh_: wanna lough... yesterday as finished the runnit... it needs just a bit tweeking in logging. you know what i said... somehow sysvinit with the bsd rc scripts of crux feels more compact ... fuck it
<zorz_> hahahahahah
<zorz_> i will get the corrected version of rc wait
<SiFuh_> zorz_: I also looked at LVM and tweaked it with an exit 1 on failure. But not sure if it wil be kept.
<zorz_> i will test it for you
<SiFuh_> zorz_: Well we can only hope it works. I wrote it on OpenBSD :-P
<zorz_> look i dont know if its jaeger... but in 3.8 the init system scripts are okay... i liked it
<zorz_> ofcourse always place for improvement.
<zorz_> yeah i make a system rescue usb and i will try it in 30 minutes
<SiFuh_> zorz_: Yeah, but some functions need to be tested on failure and crashed systems. So the test would be a big job
<zorz_> mine now... everything works great except i get this file locking of lvm on boot and shudown. but is nothing
<zorz_> you dont have a ready made file... to place in place?
<zorz_> instead of putting me to patch?
<SiFuh_> Oh, I think I may know something about that. I fixed it for myself in 3.5. I'd have to think about it and see if I can recall that particular thing
<SiFuh_> Fucking zorz. Hold on
<zorz_> i just like to do mv /etc/rc /etc/rc.bak and place the new rc in /etc
<zorz_> so incase of fucked up i boot with systemrescue and revert the rc.
<zorz_> rc.modified.tgz ?
<SiFuh_> Yes
<SiFuh_> zorz_: farkuhar will test tomorrow.
<zorz_> okay... you know that crux uses the latest unzip and i cannot unzip all the zip files... i use bsdtar -xf hahahah
<zorz_> hahahaha
<SiFuh_> tar -zxf rc.modified.tgz
<zorz_> and since i used bsdtar... what is the reason for keeping unzip
<zorz_> hmmm ??? :P
<zorz_> xtr.sh rc.modified.tgz
<zorz_> xtr.sh -> https://0x0.st/84LB.sh
<farkuhar> hahaha: the first time I ran the tar command, it warned that the files being unpacked had a timestamp 16000 s in the future. What's up with SiFuh's clock?
<SiFuh_> farkuhar: Ahh the crux repo where I had done that is off.
<zorz_> wait smoking and i will test it
<SiFuh_> The latest tarball was made on OpenBSD
<zorz_> SiFuh_: https://0x0.st/84L2.txt
<zorz_> all of them ?
<zorz_> or only ansi.colors and rc ?
<zorz_> i need to know how many .bak files to make.
<SiFuh_> Actually I'd use all of them because I tweaked some other files because the code was bad
<SiFuh_> I didn't touch initab
<zorz_> i see i run diff
<SiFuh_> I didn't touch rc.local or rc.modules
<zorz_> and rc.fix
<SiFuh_> Hmm maybe. I remember that one uses tabs
<zorz_> cp: overwrite './rc'? y
<zorz_> cp: overwrite './rc.multi'? y
<zorz_> cp: overwrite './rc.shutdown'? y
<zorz_> cp: overwrite './rc.conf'? y
<zorz_> cp: overwrite './rc.single'? y
<zorz_> i goo to reboot
zorz_ has quit [Quit: leaving]
zorz_ has joined #crux-social
<SiFuh_> Failure?
<zorz_> it boot okay but i get /n before comments and at the end i get /n at the beginning and /t at the end
<SiFuh_> Photo?
<zorz_> fuck we need to write an /etc/rc.d/bootlod script
<zorz_> what phot man... we need to log this
<SiFuh_> Did you enable colour?
<zorz_> no now i will do it
<zorz_> i will reboot again
<SiFuh_> I will find a computer (Ancient)to do tests here as well.
<SiFuh_> Maybe tomorrow not sure when I can find or when I have time.
<zorz_> i had verbose false... but the messages was like having verbose true
<SiFuh_> I need to see it to be honest
<zorz_> wait i take photoes with mobile and send email
<zorz_> i will do one reboot with both false... and one reboot with both true
<zorz_> okay?
<zorz_> lets do it
zorz_ has quit [Client Quit]
zorz_ has joined #crux-social
<zorz_> okay you got the email ?
<SiFuh_> sifuh at gmx
<SiFuh_> zorz_: Hmm I didn't touch those lines
<zorz_> yes where else
<zorz_> the one with dhcpd daemon is both true
<SiFuh_> I can see other problems too
<zorz_> the other one is both false
<SiFuh_> So dhcpd only showed up when there was an error in colour?
<SiFuh_> zorz_: Ahh I see what it is
<SiFuh_> This line is untouched printinfo "\nMounting /proc.." For example
<SiFuh_> However
<SiFuh_> +printinfo() {
<SiFuh_> + printf "%s\n" "$1"
<SiFuh_> +}
<SiFuh_> Has been created
<SiFuh_> By me. Okay, easy solve
<SiFuh_> Your Hostname, Lang, Font and Screen Time out has an extra line. So I need to remove that too
<zorz_> for now i will leave it as is.... and go write an bootlogd service script
<SiFuh_> Starting Services has a space in front. That has to go
<zorz_> when its ready tell me
<SiFuh_> Also I need to fix LVM
<SiFuh_> zorz_: I don't understand the DHCP. The colour says failed but on the other screens there is no mention of DHCPD
<zorz_> ooo i dont use dhcpcd i use net... but on the boot that i enable the colors i added just to know which picture is
<SiFuh_> zorz_: Ahh okay. So that worked well then. Good thinking
<zorz_> yeap
<SiFuh_> Yeah LVM file locking is something that needs a look at
<zorz_> i use net with wpa_supplicant hook on dhcpcd .... i think this is the greatest invention of crux
<zorz_> fully fuctional simplicity :P
<SiFuh_> Hmm why is Hostname not HOSTNAME and Lang is LANG? That kind of looks weird
<zorz_> let me revert to the official to send you 2 pics
zorz_ has quit [Quit: leaving]
<SiFuh_> farkuhar: fscking zorz_ He needs to slow the fuck down.
<farkuhar> SiFuh_: agreed, zorz_ is not proceeding carefully enough for these tests.
<SiFuh_> farkuhar: I have the modified rc and rc.multi ready, but he has just vanished
zorz_ has joined #crux-social
<SiFuh_> zorz_: Fucking zorz_ I didn't ask you to revert
<SiFuh_> zorz_: Here is updated rc https://dpaste.com/A8VU7A7A8.txt Here is updated rc.multi https://dpaste.com/ALPGBHLE4.txt
<zorz_> SiFuh_: for today i will not reboot again :P
<zorz_> so where is the problem.... copy paste man
<zorz_> hahaha
<SiFuh_> I am using printinfo with n\ and then running it with n\
<zorz_> ok... so you need a test now?
<zorz_> VERBOSE true, COLOR true ?
<SiFuh_> Well I have one issue I haven't looked at beerman printinfo "\nMounting other filesystems (excl. network devices)..\t"
<SiFuh_> He's using \t as an escape character
<zorz_> i told you /t at the end.
<zorz_> okay when you ready tell me
<SiFuh_> I am ready just we ignore the \t first
<SiFuh_> I'll add that later.
<SiFuh_> farkuhar: https://i.snipboard.io/Q8a1qm.jpg From zorz_
<zorz_> From Fuckin zorz_
<SiFuh_> farkuhar: https://i.snipboard.io/CGgV9U.jpg And this one too
<zorz_> falken fauker fauk farkuhar
<SiFuh_> zorz_: I have a question. You emailed two photos. First is no colour and second is colour?
<SiFuh_> Or first is beerman's rc and second is mine?
<SiFuh_> farkuhar: Seems in beerman's rc they never use printinfo.
<SiFuh_> Ahh he has it in rc.functions. Never mind
<zorz_> iiiiiii i dont remember
<SiFuh_> Hahaha, it's okay. I fixed it
<SiFuh_> q
<SiFuh_> farkuhar: zorz_: updated rc with \t included and VERBOSE variable. https://dpaste.com/C99DS2A3Y.txt and this is the rc.multi https://dpaste.com/ALPGBHLE4.txt
<zorz_> okay i download them
<zorz_> i will test tom
<zorz_> tom=tomorrow
<SiFuh_> Okay.
<SiFuh_> I will try ti find a crash machine to do tests but will take forever to compile the kernel.
farkuhar has quit [Ping timeout: 252 seconds]
ppetrov^ has joined #crux-social
<SiFuh_> ppetrov^: You missed out on all the fun
<ppetrov^> m?
<SiFuh_> I took liberty of redoing the rc scripts. zorz_ already ran a few tests and tomorrow zorz_ and farkuhar will test it.
<ppetrov^> o, cool
<zorz_> SiFuh_: i reboot to test this one.... https://0x0.st/84p8.sh
<zorz_> is good to have
<ppetrov^> and you do a PR, so beerman merges?
<zorz_> ppetrov^: 'lo
<SiFuh_> ppetrov^: No farkuhar wants to review it more. He wants to tweak some other beerman code I think.
zorz_ has quit [Quit: leaving]
<SiFuh_> ppetrov^: And jaeger and jue will need to review it too. Besides, beerman is the one that got all shitty about me telling him the code was bad. So he told me to write it.
<SiFuh_> ppetrov^: There was a funny thing that happened though. I should wait until zorz_ returns
zorz_ has joined #crux-social
<zorz_> fuckin hell it logs the shutdown but not the boot
<zorz_> hahahaha
<SiFuh_> ppetrov^: zorz_: remiliascarlet: I pasted a patch into ChatGPT removing beerman's stuff. Some long winded response from it. But this line caused me to laugh "You clarified error handling, especially around mount and fsck — the old code had deeply nested printf "$(BOLD "$(RED)")" insanity."
<SiFuh_> And this coming from ChatGPT and ChatGPT sucks at writing code. Hahaha
<zorz_> try it in this one aswell SiFuh_ https://chat.qwen.ai/
<zorz_> this chinese shit is superior than chatgpt
<SiFuh_> You do not have permission to access this resource. Please contact your administrator for assistance.
<zorz_> lmarena.ai and choose qwen
<zorz_> lmarena.ai and choose direct chat / qwen
<SiFuh_> This implementation enhances system diagnostics while maintaining script reliability and configurability.
<SiFuh_> The script remains fully functional without color. The only difference is visual style—all logic, error handling, and operations proceed unchanged. This ensures backward compatibility and flexibility for diverse environments.
<zorz_> deepseek?
<SiFuh_> No that was qwen thing
<SiFuh_> qwen3-235b-a22b
<zorz_> the deepseek
<SiFuh_> The changes make the script more modular and maintainable while adding color support in a configurable way. The error handling is also more consistent and informative.
<SiFuh_> zorz_: Neither of these two said anything negative or tried to give me a better approach to the code.
<SiFuh_> They just merely made a comment
ppetrov^ has quit [Quit: Leaving]
<SiFuh_> zorz_: Do you have any issues unloading LVM when shutdown?
<zorz_> wait SiFuh_ i change something important in rc
<zorz_> moment
<SiFuh_> I have some ideas I think for fix the LVM boot and shutdown. But I need to create a computer with LVM to full test it.
<zorz_> i added this... because otherwise you dont get boot messages in crux. in /etc/rc after /run
<zorz_> if [ -x /sbin/bootlogd ] && [ "$BOOTLOGD" = "true" ]; then printinfo "\nStarting bootlogd..." /sbin/bootlogd -p /var/run/bootlogd.pid -l /var/log/boot.log
<zorz_> fi
<zorz_> and at the end of etc/rc
<zorz_> if [ -x /sbin/bootlogd ] && [ "$BOOTLOGD" = "true" ]; then printinfo "\nFinish bootlogd..." /sbin/start-stop-daemon --stop --pidfile /var/run/bootlogd.pid
<zorz_> fi
<zorz_> now... i have the bootmessages
<SiFuh_> We discuss that later. Make a patch or something. I am focusing on the LVM issue at the moment
<SiFuh_> zorz_: Nice
<zorz_> thank you sifuh
<zorz_> wait i reboot
<SiFuh_> I was looking at it today, and realised it has been a long awaited problem from the past for fix. Because they are just trying to disengage and mount and not wait.
<zorz_> with loging and we see the LVM
<zorz_> yes as a daemon does not log the boot
<zorz_> it needs to start after /run
<SiFuh_> LVM? It does
<zorz_> let me reboot
<zorz_> no the bootlogd
<zorz_> let me reboot to log the LVM
zorz_ has quit [Quit: leaving]
zorz_ has joined #crux-social
<zorz_> SiFuh_: https://0x0.st/84p5.txt
<zorz_> nice i place it after pts
<zorz_> and stop it at the end
<zorz_> nice and clean.
<SiFuh_> I will introduce a debug feature where I can control C during shutdown for test this fucking LVM
<zorz_> yes
<SiFuh_> zorz_: I wonder why CRUX chose bash instead of POSIX SH for their rc scripts.
<zorz_> # Save boot messages
<zorz_> /bin/dmesg > /var/log/boot
<zorz_> this is wrong
<SiFuh_> zorz_: Also, did you look at rc.single? beerman sources rc.function but nothing in the script seems to use it.
<zorz_> rc script should be sh
<zorz_> no i did not
<zorz_> i will
<SiFuh_> It's like he loads useless crap before shutdown.
<zorz_> sysklog is only kernel works... but then you need bootmessages which is bootlogd.. now we have it.
<SiFuh_> Maybe he was preoccupied and missed it?
<SiFuh_> What about something like this /etc/rc.shutdown | tee /var/log/shutdown.log
<zorz_> this boy tries to do so many things.... as the say whoever hunts two rabbits it catches none
<zorz_> you can do the same with bootlogd
<SiFuh_> I really don't know what he was doing. I think he was just going above and beyond what he is actually capable of doing only to fail.
<zorz_> start it fisrt thing in shutdown
<zorz_> and it logs all shutdown
<SiFuh_> At least he tried. But the fact he was so abrasive about it when pointed out how shit it was. That's just lacking hubris.
<zorz_> hubris... i like your greek :P
<SiFuh_> Heh
<SiFuh_> Wanton then
<zorz_> heh
<SiFuh_> Hmm jaeger isn't online
<SiFuh_> Wanted to ask him a question if I can remove these awesome single lined statements to something more readable.
<zorz_> i wrote this nice clean bootlogd script in etc/rc.d pu it in rc.conf and i relised that logs only shutdown... because it starts to late to log the boot heh
<zorz_> so i put it in /etc/rc.
<SiFuh_> zorz_: Yeah I figured
<zorz_> but the same line i can put it in shutdown... because i shut it after the boot.
<zorz_> so you get and shutdown logs.
<SiFuh_> I will be inserting shutdown logging anyway for debug purposes
<SiFuh_> So I might leave it uncommented
<SiFuh_> I am thinking to add some commented out debug options into the rc script.
<SiFuh_> Not really for the user but for real developers that can activate it when tweaking shit.
<zorz_> SiFuh_: for rc.shutdown
<zorz_> if [ "$BOOTLOGD" = "true" ]; then printinfo "\nLogging shutdown to /var/log/boot.log..." echo "System shutdown started at $(date)" >> /var/log/boot.log
<zorz_> fi
<SiFuh_> zorz_: No, I have other ways.
<zorz_> cause shutdown stops the console... bootlog cant capture everything
<zorz_> oooo great
<zorz_> do something, is crucial :P
<SiFuh_> zorz_: Like I said. I need to seriously look at this LVM stuff first. It is priority. Inserting logging is pretty easy
<zorz_> coool
<SiFuh_> zorz_: There needs to be a heavy indepth conversation every time someone fscks with the rc script. All developers should be on it. This script is no joke
<SiFuh_> If one person can just come in and screw around with it without anyone reviewing it, is just 100% wrong.
<zorz_> SiFuh_: i send 1000 euro to kraken and i received $1,130.45 what Trump is doing all good with him ?
<SiFuh_> zorz_: Ahh but here is knowledge that you probably don't know
<SiFuh_> China Quietly Walks Back A Quarter Of US Import Tariffs Amid Economic Crunch
<zorz_> fuckin hell i missed episodes
<zorz_> give me sometime to send this money on-chain
<SiFuh_> CCP is like that. Speaks very loudly to show they are strong. Then silently withdraws when losing
<zorz_> SiFuh_: but in general the /etc/rc is okay now
<zorz_> the init scripts daemons without the LSB are robust
<SiFuh_> zorz_: Thanks, but I still have things that annoy me
<SiFuh_> zorz_: Did you check out ansi.colors file yet?
<SiFuh_> Way more options now.
<zorz_> no not yet... now i will,, i am getting ready tonight with capital to short this month
farkuhar has joined #crux-social