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

dvbsthave the runit people joined?02:40
onefangMight be best if you quickly summarise what your problem was, so that anyone that can help would know what they are dealing with.  Not me BTW, I don't use runit.02:42
dvbstokay so the upgrade from devuan 4 to devuan 5 went wrong and now a "[  84.814904] Bluetooth: hci0: Opcode 0x2037 failed: -22" doesnt allow me do anything with the system. even if i open up another virtual terminal, then i can see the login tty for few seconds, but then this message writes on it, clears the screen, and then its only that message again02:45
gnarfacedvbst: i'm not using runit either, so this seems quite mysterious to me, but just as a test, what happens if you disable the bluetooth service? (i realize you might need a rescue disk or something like that to accomplish it in the current state, but a live iso or installer image should would work fine)02:52
dvbstyea thats what i though about doing too, but i have no clue how to do that02:53
dvbstso i came to ask here02:53
gnarfacei see02:53
gnarfacealright, well with runit i think you just delete some file02:53
dvbstyea i dont wanna risk anything, id rather wait for someone who knows what theyre doing02:54
dvbstim not in a rush, i have time02:54
gnarfacewell, stick around... someone around here uses runit02:54
dvbsti hope02:54
dvbstwhat do you guys use btw?02:54
gnarfacei've using sysvinit since 1996, no reason to change now02:55
rrqsysvinit02:55
dvbsti cant use systemd because it falls apart randomly, and openrc is slow, so runit seems to be the only reasonable option02:55
gnarfacei'm pretty sure you just need to remove a symlink or rename a file somewhere, i'm just not sure where they are02:56
debdogthere might be a chance there's documentation for runit on how to disable a service?02:56
gnarfacebut if that works, we're not really to the bottom of the issue... at that point i'd want you to run "dmesg |grep firmware" to see if there's some obvious missing firmware issue causing this02:56
dvbsttheyre either in /etc/sv/ or /var/service/02:57
gnarfaceanything with "bluetooth" in the name in either of those directories?02:57
gnarfaceoh, hmm... i wonder if devuan's runit piggybacks on the sysvinit scripts like openrc does02:58
gnarfacemaybe we're overcomplicating this02:58
fsmithredit does02:58
fsmithredI'm trying to find how to boot to console in runit and not having luck.02:58
gnarfacedvbst: do you have a /etc/default/bluetooth file?02:59
fsmithredthere are symlinks in /etc/runit/runsvdir/default02:59
fsmithredfor the default runlevel02:59
gnarfaceit seems like you can disable bluetooth from /etc/default/bluetooth too03:00
fsmithredsymlinks to what's in /etc/sv/03:00
dvbst>there might be a chance there's documentation for runit on how to disable a service?03:00
dvbstyes, idk about the official devuan one, i use he void linux documentation when i tinker around with it and it works flawlessly03:00
fsmithredI'm pretty sure the debian/devuan uses different directories than void03:01
fsmithredhttps://salsa.debian.org/debian/runit-services/-/blob/master/README03:02
dvbst>at that point i'd want you to run "dmesg |grep firmware" to see if there's some obvious missing firmware issue causing this03:02
dvbstso when i was reading the update logs, it said that avahi is no longer maintained and all the scripts that were depending on it will just fall apart, and thats what happened, and avahi was starting bluetooth among other stuff as well, but i though i waited enough with updating that you people have tested out upgrading from 4 to 5 already and its seemless03:02
fsmithredare you booting some removable media to access the system?03:02
fsmithredapt-file tells me...03:05
fsmithredorphan-sysvinit-scripts: /usr/share/orphan-sysvinit-scripts/avahi-daemon03:05
fsmithredapt install orphan-sysvinit-scripts03:05
dvbst>anything with "bluetooth" in the name in either of those directories?03:05
dvbst>do you have a /etc/default/bluetooth file?03:05
dvbst>are you booting some removable media to access the system?03:05
dvbsti am currently not doing anything, that computer is turned off, i honesly wanted to do it tomorrow morning but okay, ill try to chroot into it or something03:05
fsmithredif you cant boot to console to install it then do it in chroot03:05
dvbstgive me some time, i dont know where my bootable media is, or if i even have it03:06
fsmithredwhat time zone are you in? I'm UTC-4 and usually on in the morning early03:06
gnarfacedvbst: personally i recommend you just uninstall avahi-daemon03:07
fsmithredYES03:07
rwpI don't have time for details now but I installed Devuan Daedalus with runit in a VM, tried to use the serial console, and immediately ran into getty not being the process group leader causing bash to complain that job control could not work.  I hacked a "setsid" into the runit sv file that starts getty and that solved the problem.03:07
dvbstim in UTC-103:07
dvbst>personally i recommend you just uninstall avahi-daemon03:08
dvbstill try03:08
fsmithredand bluetooth too if you don't need it03:08
dvbsti dont even use bluetooth but it also starts some other stuff so idk if itll work fine03:08
dvbstyea idk why is bluetooth installed by default03:09
gnarfacewell, it seems like there's a bluetooth device so maybe just disabling the bluetooth service is better in case you want it some time, but avahi-daemon is just an open source implementation of Apple's "Bonjour" protocol... which is actively harmful even when it's not malfunctioning (IMO)03:09
rwpI always purge off avahi and also libnss-mdns as a bad idea.03:09
onefangPossibly lots of people with bluetooth keyboards, mice, and headphones.03:09
fsmithredbluez and blueman03:09
rwpA lot of people these days are using bluetooth mice and keyboards.  So if bluetooth is not installed by default they will be unhappy.03:10
rustyaxeSpeaking bluez. I have to keep a 1% volume white noise .wav playing to keep bluetoothd from crashing since like 8 or so months ago....03:10
rustyaxeWell 1% volime, played at 1% so i dont hear it03:10
rustyaxeBut if the audio connect to bluetooth stops, bluetoothd segfaults. :(03:10
rwpThat 1% whitenoise is just a tinitus mitigation for you anyway.03:10
dvbst>Possibly lots of people with bluetooth keyboards, mice, and headphones.03:11
dvbstyea, but youre free to install it, it takes like 20 seconds, and for the people who dont want it, it leaves junk behind even if you purge it because thats how apt works03:11
onefangHard to install it if your keyboard and mouse are not working.03:12
dvbstalso gnarface and rwp, i dont get why you are complaining about this being in the default install, dont you have a say in this? arent you guys the developers of this?03:12
fsmithredwe try not to change too much from what debian does.03:14
fsmithredThe package selection in the full install is based on the dependencies in the task-* packages.03:14
gnarfacedvbst: i don't work here, i just give free advice, but yea what fsmithred said ^ - debian makes these decisions03:14
fsmithredIf you ask anyone in our irc channels or on the forum, you're likely to get advice to just install the base system and then add the desktop stuff you want.03:15
gnarfacedvbst: (also, it's not super difficult for someone with my level of experience to avoid the "default install" completely)03:15
fsmithreduncheck the desktop stuff at the tasksel window03:15
fsmithredreboot to console and install something (not a task-* package)03:16
dvbst>Hard to install it if your keyboard and mouse are not working03:16
dvbstyou need a different mouse and keyboard to install it anyway, so if you need to boot back into the working system once again with the old stuff before you make it work, which just delays you using the bluetooth thing for just 2 minutes more, i dont think its a big deal03:16
rrqgenerally the developer(s) that maintain a package makes the choices of what that package contains, depends on, and recommends.03:16
rrqinstallation has the two modes of including or excluding all recommends dependencies.03:17
dvbsti see03:17
rrqdefault is to include03:17
rrqmost/all desktop environment packages have a large list of recommends03:18
rrqwhen aiming for "minimalism" the first thing is to configure your apt to not include recommends03:20
dvbston that computer, im fine with reinstalling the os and just putting my stuff back in, because its pretty much the default install but i set the lxqt terminal to have 10% transparency and i put my wallpaper on, biggest part of why i use devuan is because the defaults are alright, i honestly love the work you people have put into this03:21
dvbstbut on this laptop that im currently on? ive spent 2 weeks straight trying to get ardour with vst plugins to work, and for the love of god i do not want to repeat all of that again, it was pure pain03:22
dvbsti mean, i wouldnt even consider upgrading if 115 wasnt the latest version of firefox in the repo03:25
rwpdvbst, For the love of dog write down what you did as documentation, or better yet script it up in a script, and save it off so that you can do it again later.03:25
rwpI have converted to using the Mozilla self-updating Firefox from Mozilla.  Life is a compromise.03:25
dvbsti never imagined i would have to do that again, so making documentation for it is just extra work that would make it 3 weeks instead of 2 weeks03:26
dvbstrwp where can i get it?03:26
rwphttps://www.mozilla.org/en-US/firefox/new/03:27
dvbstoh well03:28
dvbstgood thing i made a backup of the old system03:30
rwpWhat happened?03:30
dvbsti can go back to it03:30
dvbstand never update03:30
dvbstor update when you guys make it seemless03:31
rwpMost of us are all just users helping each other out here.03:31
dvbstyea i noticed, when i went into the dragonflybsd irc then pretty much all the people were developers03:32
dvbstor at least they seemed like it03:32
dvbstand its not just dragonflybsd, pretty much any irc of any project i visited03:32
dvbstor wait03:34
dvbstdo you guys still want me to try going in that computer and try to delete that bluetooth daemon?03:34
gnarfacei think you can just disable it, you don't need to actually delete it03:35
gnarfacei don't know if that'll actually fix the problem though, so do what you want03:35
dvbstyea03:36
dvbstso whatever the case may be, ill figure it out tomorrow, i will go sleep now, gn03:36
onefangG'night.03:36
fsmithredGood. I'm about to go to sleep, too.03:39
onefangG'night to all that are heading to bed soonish.03:44
* onefang goes back to cooking lunch.03:44
dvbstgood morning sirs12:07
dvbstim here with the runit system upgrade from 4 to 5 problem once again12:10
fsmithredhi dvbst12:23
dvbsthi hi12:26
fsmithredhow are you able to access the system?12:27
fsmithredcan you chroot into it?12:27
fsmithredI think I have a live-iso to boot with runit. I'm gonna go get it. Back in a few minutes.12:28
fsmithredb12:32
dvbstoh i just woke up, ill go do it now12:34
fsmithredI've been awake long enough for the first coffee to start working.12:36
dvbstoh well this will take longer, i forgot i need nvidia drivers to display anything at all because my monitor has gsync12:48
fsmithredno console access?12:51
dvbstit just doesnt display anything12:59
dvbsti need to get another monitor12:59
fsmithredok. FTR I just removed avahi stuff in a runit chroot on my current hard drive and it went ok.13:02
fsmithredavahi-daemon avahi-utils and avahi-autoipd13:02
fsmithredThat's in a system that has task-xfce-desktop and therefore has all the bloat.13:03
dvbstdo i need to mount /boot and stuff to chroot?13:22
dvbsti havent done this in a long while13:23
dvbstand i do have a /etc/default/bluetooth file13:28
CueXXIIIdepends on what you want to do in the chroot. for installing the boot loader you need /boot, otherwise no13:28
dvbstokay good13:29
fsmithredyou do need to bind-mount dev proc and sys13:30
CueXXIIIbtw, yourt system should work, only the kernel seems to spam bluetooth messages to the current console and messes your output up13:30
fsmithredoh, maybe add a boot command to change the log level?13:31
dvbstCueXXIII, yes, that would be true13:35
CueXXIIIloglevel=2 -- or less if bluetooth stil keeps spamming13:35
AlexLikeRocksoup !16:31
AlexLikeRocko/16:31
dvbstokay so apt screams at me when i try to purge avahi-daemon and it exits due to too many erros17:08
rwppastebin the command and the resulting output?17:18
fsmithredtry remove instead of purge and if you're using aptitude, switch to apt (or if you're using apt or apt-get try aptitude)17:49
fsmithreddvbst, ^^^17:49
fsmithredor else you could just disable it17:50
fsmithredupdate-service --remove /etc/sv/avahi-daemon   (assuming that's the right path and name)17:52
dvbstrwp, sorry for the delay, and writing all of that line by line is too much effort, could i maybe send a picture here? if so, how?23:21
gnarfacedoes termbin.com work for images?23:25
gnarfaceare you not able to connect the device to the net itself still?23:25
gnarfacecould you possibly just summarize? even when there's a lot of output, usually only one or two lines are relevant23:26
dvbsti can connect it to the net but i dont know how to copy the output to send it to you guys23:26
dvbstokay so23:26
gnarfaceyou can pipe the output of a command to a file by suffixing the command-line with: > ./temp_file.log 2>&123:27
gnarfaceor you can pipe it directly to netcat with |23:27
gnarface(i think the termbin page might actually show you how)23:27
gnarfaceor you can give your console mouse support to actually copy&paste if you install gpm, but that's sorta desperation, since it might conflict with mouse support in X later23:28
dvbstit does the usual stuff, then it wants to reset locale for some reason, complains that language and lc_all are not set, that happens in perl for some reason, and then theres a script called that wants to stop avahi, but it cant do that and the whole thing exits23:31
gnarfacehuh, the part about it failing out completely seems odd, but the locale complaint is simple to fix23:33
gnarfaceinstall the package "locales" and run "dpkg-reconfigure locales"23:34
dvbstokay23:34
gnarfacelots of stuff complains these days if your locale isn't set to anything, though usually it doesn't actually fail23:34
dvbstim 99.9% sure i have it set tho23:35
gnarfacewell if you just run "locale" it should tell you23:35
gnarfaceshould look like this for utf8: https://paste.debian.net/1324471/23:35
dvbstbut i did have a power outage once when that computer was on, but all that changed that i noticed so far is that the time went 3 minutes back, other than that no files were corrupt and its all fine23:36
gnarfaceyou can install the ntpsec package if you want network time syncing23:37
gnarfaceor the ntpdate package if you just want to manually be able to sync the time to the network occasionally23:37
dvbstoh well, that is very odd23:37
gnarfacethey don't make clock chips like they used to23:37
dvbstso i do not have locales at all23:37
dvbstlike when i write "locale" then bash says that theres nothing like that installed23:38
gnarfaceso, one of the general persistent issues with any release updates (not specific to devuan) is that sometimes packages get removed without being replaced, you just kinda gotta stay on top of that23:38
gnarfaceit will tell you a full list of what is gonna be added and what is gonna be removed, but you have to actually pay attention to it23:38
gnarfacesometimes stuff gets renamed or just lost in the shuffle and has to be put back manually after the upgrade23:38
gnarfacethat's a completely normal part of the process23:39
dvbstand when i run "apt install locales" then apt exits becaue it wants to start avahi-daemon, and that cant start23:39
gnarfaceit's only really bad when it turns out to be something like udev or your kernel (which has happened to people, but not on this release)23:39
gnarfaceyour network probably isn't up23:39
gnarfacetry upping it manually23:39
gnarfacesomething like "ifup eth0" as root23:40
dvbstok23:40
gnarfaceor "ifup wlan0" if you're using wifi23:40
dvbstthis may be a problem of my livecd only, but there is no eth0, the only things that ifconfig list are lo and enp6s023:42
gnarfaceoh, not a devuan live iso? it's probably enp6s023:43
gnarfacedevuan would still be calling that eth0, the old fashioned way23:43
dvbstyea and then when i try enp6s0 then it says that its an unknown interface23:44
gnarfaceyou ran "ifup enp6s0" as root?23:45
gnarfacedoes that live iso use network-manager? try network-manager23:45
dvbstyes i did run it as root23:45
dvbstim currently in the devuan chroot so if devuan has it then i have it too i think23:45
gnarfacedepends on what you installed23:46
gnarfacelook for nmcli i guess?23:46
dvbsti have nothing like that23:47
gnarfacein the chroot, what does "ifconfig -a" output?23:47
gnarfacedon't actually paste it23:47
gnarfacejust tell me if it shows any devices other than lo23:48
gnarfaceyou might have to ifup the network device outside the chroot, on the live iso23:49
rrqor look at: ls /sys/class/net/23:49
gnarfaceto be clear, when you're in the chroot, you're still using the kernel from the host system, not the chroot23:50
dvbststill, all it lists is lo and enp6s0, both on the chroot and on the live iso itself23:52
gnarfaceyea, but to be clear, try "ifup enp6s0" outside the chroot23:52
dvbstim not that dumb, ive managed to install gentoo once by myself, but thats all the advanced stuff i managed to do23:52
dvbstyea it must be the livecd, welp then i have no idea what to do23:54
gnarfacewell, there must be some way to enable the network on the live iso, and the chroot will inherit that connection23:54
dvbsti dont think i have any other livecd23:54
rrqip link set dev enp6s0 up23:54
gnarfaceyea, try this ^23:54
dvbstok23:55
rrq... that starts the link level; next you need to know/guess on an IP...23:55
rrqip addr add $IP dev enp6s023:55
rrqactually: ip addr add $IP/24 dev enp6s023:56
dvbsti do have internet on the live iso23:57
rrqor: ip addr add $IP/64 dev enp6s0  ... if it's ipv6 with 64 bit prefix23:57
gnarfaceif you have it on the live iso, it should be working in the chroot too, make sure you have /proc, /sys, and /dev bind-mounted23:57
rrqso: ip addr show ..... lists the crrent ip23:57
dvbstbut the interface doesnt want to get up on the chroot23:57
gnarfaceit shouldn't have to, it should already be up in both23:57
rrqand if so you also "have network" when entering chroot23:58
rrqbut /etc/resolv.conf needs to be set up for dns23:58
gnarfaceah, true23:58
rrqin the chroot23:58
rrqsame as /etc/resolv.conf from outside the chroot is good23:59

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