libera/#devuan/ Friday, 2024-07-19

onefangI recently switched to Psi-plus + biboumi XMPP to IRC bridge for IRC.  Previously I was using HexChat for IRC and Psi-plus for XMPP.  But there's some problems.  The good thing is one single IM client on the IM monitor.02:21
onefangTo start with it didn't let me know that the IRC connection failed last night, and didn't try to reconnect.02:22
onefangThere's ne "last time you where in this message tab you had read up to here" line, I thought there was.  lol02:22
onefangI have to manually type in my IRC password.02:23
onefangWhen I connect to all the #devuan channels, I get "2 events recieved", when I click on that it shows me the #devuan-riscv tab, the other event is #devuan-dev.  No clue why those always trigger events.  The event notification wont go away until someone else says something in those channels.02:24
onefangMostly just minor annoyances, except for not knowing the connection went away.02:25
onefangI would use pidgin if it had a single window mode.02:26
darwinhaving trouble running Thunderbird 78.9.1 (I need for UNIX MoveMail/mailspool for mail from root)... after I restarted, I get a mostly-blank window I can't do anything... do I need different version (older?) of some library it depends on, or have they finally restored MoveMail as planned years ago?03:06
gnarfacedarwin: which release of devaun are you on?03:55
gnarface*devuan03:55
darwin504:00
gnarfacedarwin: 78 is pretty old to be running on such a late release, i have to assume there's library incompatibilities. maybe if you tried rebuilding it though...04:01
darwinok04:02
gnarfacei can't tell you if the later versions have the features you want, but it might be worth trying the version that's actually in devuan 504:02
gnarface... if only to exhaust the possibility04:02
darwinthey don't04:03
darwinthanks04:04
onefangAh those odd events psi-plus + biboumi is sending me are when those two channels ChanServ +V's me.04:33
onefangDamn, had to reboot just now coz disk / RAM goblin fell over, and I was just about to upgrade the kernel.  Oh well, more rebooting soon.04:35
onefangReboot time.  Hopefully last for the day / week / month / ...04:46
onefangSo far, so good.  Kernel 6.9.7-1 now.  B-)04:54
rwpAs long as the kernel that is installed boots and supports the hardware with drivers and supports the C library with system calls then the version of the kernel does not matter.06:16
darwini need Python 3.9 to build old Thunderbird (for UNIX MoveMail that was removed and not restored yet)... any way I can get that other than run Devuan older than 5?08:08
gnarfaceyou mean python 2.9?08:09
gnarfaceor 2.6 even?08:09
gnarfacei would try a chroot08:10
gnarfaceif you put it on your main system it'll inevitably break something important, the system relies heavily on python08:10
gnarfacebut you can do pretty much whatever you want in a chroot without risking the main install08:11
darwinno; 3.908:11
darwinsomething was removed after 3.908:11
gnarfacewell, that doesn't change my advice08:12
darwinwell how do I setup chroot of Devuan 5 but that has Python 3.9?08:12
darwinor on a server08:13
gnarfacewell, if you do a chroot you could easily make it chimaera08:13
gnarfacewhich had 3.908:13
darwinbut then how would the package I build run on Devuan 5?08:13
gnarfacethat's only one release older, so the kernel version discrepancy probably won't be an issue08:13
gnarfacewouldn't matter, you could just run the chimaera one from the chroot without needing to rebuild08:14
darwinthat's too complicated.  I don't think Thunderbird even uses Python other than for build08:14
darwinit's C or something08:14
gnarfaceif you're actually gonna build it, obviously you'd have to force a python 3.9 install on the daedalus chroot, which might be doable without rebuilding python itself and might not, but either way that's more complicated08:15
darwini see08:15
gnarfaceand there's no guarantee it'll work without patching thunderbird itself08:15
gnarfacei've gone down this type of road before and often what you run into are fundamental glibc incompatibilities08:16
gnarface...so then you have to recursively crawl through the dependency tree, rebuilding all of them, and by the time you've replaced the entire system you realize you might as well have just run the other release version08:16
darwini see... maybe I should just learn to use it in a chroot then08:16
darwinis 'preempt=voluntary' loaded or I have to load it?08:17
gnarfaceuh... not sure what that is08:17
darwinlike set kernel to responsiveness for desktop instead of server08:17
darwinmost GNU/Linux OS distributions don't set this and leave it on setting for server08:18
gnarfaceah, i forget, but your kernel configs are in /boot/, you can check them08:18
gnarfacefor x86 in Debian and derivatives, there is no separate kernel for desktops and servers, so whatever the setting it, everyone has it the same08:18
gnarface*whatever the setting is08:19
gnarfacealternately you could run a whole chimaera install in a VM like qemu or the like, but the chroot is lighter on system resources and easier to do i think08:20
gnarfacethough qemu is probably more secure, in this case the practical difference is probably negligible08:20
gnarfacei'll be afk for a bit, but try to stay connected in case anyone else has a better idea08:22
darwini'll use debootstrap08:22
darwinthere's no security concern here08:22
darwinwell I couldn't run it in chroot because despite I set 'DISPLAY=:0' before 'chroot', that wasn't detected (don't have this problem in *BSD & Slackware)09:07
darwinof course I did 'xhost +localhost' in chroot09:08
rrqtry also: mount --bind /tmp/.X11-unix $chroot/tmp/.X11-unix09:44
rrqmaybe need to create the directory09:44
rrqdarwin: ^^09:46
rrqthe point is that X11 has it's display socket for :0.0 at /tmp/.X11-unix/X009:47
darwini did that. Now thunderbird just says "Couldn't find the application directory."09:52
darwinrunning it in a chroot also defeats the purpose--I want system mail from my main installation in Thunderbird09:53
darwinnot from the chroot--useless09:53
rrqmaybe you meant to bind-mount /home/$user as well ?09:53
darwini bind-mounted /home/user/.thunderbird09:53
rrqright, but /home/user/.thunderbird is not installed in the chroot09:54
darwini created it09:54
rrqmaybe you rather wanted amn overlyfs09:54
darwinnot really09:54
rrqsorry I haven't followed what the issue is, so maybe ignore me is better :)09:55
darwinThunderBird removed UNIX MoveMail and promised to restore it but that was in 202209:56
darwini need to check the mail for root in Thunderbird09:56
darwinthey admitted they did it in an unprofessional way, removing people's accounts/mail with no notification or transition09:56
darwinthis was considered a major issue on old-style GNU/Linux at the time, with most the complaints coming from Debian (of course also Slackware, etc.)09:58
rrqI stopped using thunderbird some years ago. but the emails were stored in mbox files I think09:58
darwini had /usr/local/lib/thunderbird (v78.9.1) which today stopped showing much in its windows--unusable--due to some incompatibility09:59
darwini considered GNOME Evolution but it's resource-hungry and second-rate, doesn't have most the plugins Thunderbird does09:59
rrqI shifted to using mutt in terminal which, once I learnt enough, works spendidly.10:01
rrql10:01
darwini used to use ((re-)al)pine)10:02
darwinthat was easier for me than mutt, and was okay in the 1990s.  Now most email I get has graphics10:06
darwini used Claws and Evolution a while but they're not as good10:08
cousin_luigiThunderbird is the only mail application that has never eaten my data.11:12
joergworldwide IT down thanks to fubar CrowdStrike update for windows. BSOD deadlock. Start protected mode, delete c:\windows\system32\drivers\crowdstrike\C-00000291*.sys11:13
cousin_luigiWhat the heck is this Crowdstrike I read about??11:27
joerghttps://i.imgur.com/YTGMsyM.jpeg  from https://www.heise.de/news/Weltweiter-IT-Ausfall-Flughaefen-Banken-und-Geschaefte-betroffen-9806343.html probably from login-walled https://supportportal.crowdstrike.com/s/article/Tech-Alert-Windows-crashes-related-to-Falcon-Sensor-2024-07-1911:31
joergcousin_luigi: I have no idea, no windows here :-)11:32
onefangAnd waaaay off topic.11:35
joergnot exactly, when worldwide infra goes down11:39
joergwe're at least inclusive enough to drop a warning to our users, no? ;-)11:39
cousin_luigijoerg: One could say we are experiencing Schadenfreude.12:22
joergnot really, this hurts all of us12:24
joerganyway watch your local news TV channel, they should cover it12:25
opvHi all. I have just installed Devuan with runit and am having trouble enabling services with it, so I'd like to switch back to sysv. Could you tell me how to do this without rendering the system unbootable? Thank you very much.19:29
gnarfaceopv: well, you should make sure you have a live iso or the installer to use as a recovery disk just in case this doesn't work, but i think you can just install: sysv-rc, sysvinit, sysvinit-core, and sysvinit-utils. make sure you check what it's gonna remove to make sure it doesn't remove anything important19:32
gnarfacethat said, runit is supposed to be really easy to enable services with19:35
gnarfaceyou probably just have to write a short file for each one19:36
opvgnarface: Confirmed success, thank you. Yeah, it's not too important tbh, I need this to "just work".19:37
gnarfaceunderstandable, and for the most part sysvinit is the one that will do that the most often for you... however even it is under assault these days by vandalism upstream, so if you end up missing a startup script for something in it as well, check the "orphaned-sysvinit-scripts" package for it19:39
gnarfacesorry, "orphan-sysvinit-scripts" to be exact19:40
opvGotcha, thanks for the heads-up. How's OpenRC nowadays? I know it from Alpine, might be a safe bet19:40
gnarfacewe're still using the debian setup of openrc, which still piggybacks on sysvinit's init scripts19:40
gnarfaceyou might have better luck with it than runit, but most openrc advocates don't actually like how it's setup and prefer to gut it and replace it with the more traditional one19:41
gnarfaceright now sysvinit is still the one with the most support19:42
opvAnything but systemd, whose use I consider irresponsible since the xz thing19:42
opvBeing able to hotswap is great, I'll just ride sysv for the time being19:42
gnarfacedid you do a reboot test to make sure it's all working right?19:43
gnarfacelike i said, make sure you have something as a recovery disk on hand just in case19:44
gnarfaceshould be fine but i'm not 100% sure19:44
opvNo, is completely fine19:45
opvI'm slightly rustled by the usage of slim which arch wiki says is unmaintained for a long time19:45
gnarfaceit's just the default, you can replace it with something else19:46
opvShame, cause I like its style. Maybe LightDM is more appropriate?19:46
gnarfacewell, i've generally had better luck with lightdm and it's usually the first thing i advise trying if you run into problems with slim19:46
gnarfacepersonally i don't use a graphical login myself, though sometimes use xdm on shared machines19:46
opvYou manually startx?19:47
gnarfaceyea19:47
opvTo avoid the bloat?19:47
gnarfaceand bugs19:47
opvAttack surface yadda yadda19:47
gnarfacemostly just the bugs and bloat19:47
opvyeah19:47
opvI'm totally with you on that one19:48
gnarfacewhen i started doing this, there weren't as many options, and when there were many options, they were very buggy19:48
muad_dib_whyIsMyInstalled devuan Daedalus from the X-based installed, it did not apparently install any boot blocks/mbr. I know the system worked under proxmox [which had very poor ethernet drivers, but booted ]20:41
muad_dib_whyIsMyWhat's the simplest way from the livecd to remedy the lack of bootblocks.20:41
muad_dib_whyIsMy?20:41
gnarfacemuad_dib_whyIsMy: depends on unknowns... which installer actually did you use (by filename please, so there's no confusion) and do you know if your system requires uefi/secure boot?20:43
muad_dib_whyIsMyhas no (u)efi, etc. Just bios. devuan_daedalus_5.0.0_amd64_minimal-live.iso booted, and ran the desktop installer, picked the correct disk, sda, partitioned, left a /boot of ~128 MB or so at the start of the disk. disklabel was of 'dos' type, figuring it would be safest for bios which is a known picky-eater.20:52
gnarfacehmm, odd, i wonder why that didn't work then20:53
gnarfacethough to be honest, in my experience it's uefi that's more picky20:53
gnarfaceanyway, in theory you should be able to just chroot into the install disk from the live iso and re-run "grub-install"20:53
gnarfaceare you booted into the live iso now? i can walk you through it20:54
gnarfaceoh, for what it's worth i would have recommended using the netinstall iso... the minimal live is weird, but either of them can get you a minimal install20:54
gnarfacethe netinstall is just the more standard traditional one (the netinstall is based directly on debian's traditionally advised netinstall, while the minimal live one is made here in-house and is intended more for diagnostics)20:55
muad_dib_whyIsMyI'm not in front of the system right now, but thought I'd find out what the remedy is. I'll try the grub-install. I don't suppose the system started SSHD!20:56
gnarfacei think you'll want to make sure you have some grub packages installed in the chroot before you run it, i think, these: grub grub-common grub-pc grub-pc-bin grub2-common20:56
gnarface(that list might vary depending on your specific hardware architecture though)20:57
gnarfacethe important part about getting the chroot right is a bunch of bind mounts you have to make first before you do any of the other steps, so if you're not experienced with this make sure to ask for the right steps, you don't want to gloss over that part20:58
gnarface- that reminds me, if darwin comes back i think he was missing a couple bind mounts to make that thunderbird thing work, someone tell him to stop pulling the eject handle so fast21:05
muad_dib_whyIsMywhich mounts ?21:06
muad_dib_whyIsMyin /dev ?21:06
gnarfacemuad_dib_whyIsMy: specifically in my experience, you need to bind mount /proc, /sys, /dev and /dev/pts from the chroot to the host's. (some or all of these may not be necessary for every task, particularly /dev/pts, but what does and doesn't need some of them is not as clear to me as that this is a superset which usually catches everything)21:09
gnarfacenote that since /dev/pts is inside the /dev bind mount, you'll have to mount it after /dev, and unmount it before /dev21:10
gnarfaceyou mount all 4 of those, then chroot in, and you should be able to run grub-install as though you were already booted in normally21:11
gnarfaceyou miss one of those and it might just do something stupid like install grub to your usb key instead21:11
gnarfaceor install grub to the right disk but get the disk #'s wrong and still not work21:12
gnarfacenone of this explains why it didn't work normally by default, i can only assume some weird bug with the minimal-live iso, which just isn't as well tested as the netinstall21:12

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!