| dvbst | have the runit people joined? | 02:40 |
|---|---|---|
| onefang | Might 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 |
| dvbst | okay 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 again | 02:45 |
| gnarface | dvbst: 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 |
| dvbst | yea thats what i though about doing too, but i have no clue how to do that | 02:53 |
| dvbst | so i came to ask here | 02:53 |
| gnarface | i see | 02:53 |
| gnarface | alright, well with runit i think you just delete some file | 02:53 |
| dvbst | yea i dont wanna risk anything, id rather wait for someone who knows what theyre doing | 02:54 |
| dvbst | im not in a rush, i have time | 02:54 |
| gnarface | well, stick around... someone around here uses runit | 02:54 |
| dvbst | i hope | 02:54 |
| dvbst | what do you guys use btw? | 02:54 |
| gnarface | i've using sysvinit since 1996, no reason to change now | 02:55 |
| rrq | sysvinit | 02:55 |
| dvbst | i cant use systemd because it falls apart randomly, and openrc is slow, so runit seems to be the only reasonable option | 02:55 |
| gnarface | i'm pretty sure you just need to remove a symlink or rename a file somewhere, i'm just not sure where they are | 02:56 |
| debdog | there might be a chance there's documentation for runit on how to disable a service? | 02:56 |
| gnarface | but 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 this | 02:56 |
| dvbst | theyre either in /etc/sv/ or /var/service/ | 02:57 |
| gnarface | anything with "bluetooth" in the name in either of those directories? | 02:57 |
| gnarface | oh, hmm... i wonder if devuan's runit piggybacks on the sysvinit scripts like openrc does | 02:58 |
| gnarface | maybe we're overcomplicating this | 02:58 |
| fsmithred | it does | 02:58 |
| fsmithred | I'm trying to find how to boot to console in runit and not having luck. | 02:58 |
| gnarface | dvbst: do you have a /etc/default/bluetooth file? | 02:59 |
| fsmithred | there are symlinks in /etc/runit/runsvdir/default | 02:59 |
| fsmithred | for the default runlevel | 02:59 |
| gnarface | it seems like you can disable bluetooth from /etc/default/bluetooth too | 03:00 |
| fsmithred | symlinks 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 |
| dvbst | yes, idk about the official devuan one, i use he void linux documentation when i tinker around with it and it works flawlessly | 03:00 |
| fsmithred | I'm pretty sure the debian/devuan uses different directories than void | 03:01 |
| fsmithred | https://salsa.debian.org/debian/runit-services/-/blob/master/README | 03: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 this | 03:02 |
| dvbst | so 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 seemless | 03:02 |
| fsmithred | are you booting some removable media to access the system? | 03:02 |
| fsmithred | apt-file tells me... | 03:05 |
| fsmithred | orphan-sysvinit-scripts: /usr/share/orphan-sysvinit-scripts/avahi-daemon | 03:05 |
| fsmithred | apt install orphan-sysvinit-scripts | 03: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 |
| dvbst | i 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 something | 03:05 |
| fsmithred | if you cant boot to console to install it then do it in chroot | 03:05 |
| dvbst | give me some time, i dont know where my bootable media is, or if i even have it | 03:06 |
| fsmithred | what time zone are you in? I'm UTC-4 and usually on in the morning early | 03:06 |
| gnarface | dvbst: personally i recommend you just uninstall avahi-daemon | 03:07 |
| fsmithred | YES | 03:07 |
| rwp | I 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 |
| dvbst | im in UTC-1 | 03:07 |
| dvbst | >personally i recommend you just uninstall avahi-daemon | 03:08 |
| dvbst | ill try | 03:08 |
| fsmithred | and bluetooth too if you don't need it | 03:08 |
| dvbst | i dont even use bluetooth but it also starts some other stuff so idk if itll work fine | 03:08 |
| dvbst | yea idk why is bluetooth installed by default | 03:09 |
| gnarface | well, 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 |
| rwp | I always purge off avahi and also libnss-mdns as a bad idea. | 03:09 |
| onefang | Possibly lots of people with bluetooth keyboards, mice, and headphones. | 03:09 |
| fsmithred | bluez and blueman | 03:09 |
| rwp | A 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 |
| rustyaxe | Speaking 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 |
| rustyaxe | Well 1% volime, played at 1% so i dont hear it | 03:10 |
| rustyaxe | But if the audio connect to bluetooth stops, bluetoothd segfaults. :( | 03:10 |
| rwp | That 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 |
| dvbst | yea, 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 works | 03:11 |
| onefang | Hard to install it if your keyboard and mouse are not working. | 03:12 |
| dvbst | also 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 |
| fsmithred | we try not to change too much from what debian does. | 03:14 |
| fsmithred | The package selection in the full install is based on the dependencies in the task-* packages. | 03:14 |
| gnarface | dvbst: i don't work here, i just give free advice, but yea what fsmithred said ^ - debian makes these decisions | 03:14 |
| fsmithred | If 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 |
| gnarface | dvbst: (also, it's not super difficult for someone with my level of experience to avoid the "default install" completely) | 03:15 |
| fsmithred | uncheck the desktop stuff at the tasksel window | 03:15 |
| fsmithred | reboot to console and install something (not a task-* package) | 03:16 |
| dvbst | >Hard to install it if your keyboard and mouse are not working | 03:16 |
| dvbst | you 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 deal | 03:16 |
| rrq | generally the developer(s) that maintain a package makes the choices of what that package contains, depends on, and recommends. | 03:16 |
| rrq | installation has the two modes of including or excluding all recommends dependencies. | 03:17 |
| dvbst | i see | 03:17 |
| rrq | default is to include | 03:17 |
| rrq | most/all desktop environment packages have a large list of recommends | 03:18 |
| rrq | when aiming for "minimalism" the first thing is to configure your apt to not include recommends | 03:20 |
| dvbst | on 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 this | 03:21 |
| dvbst | but 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 pain | 03:22 |
| dvbst | i mean, i wouldnt even consider upgrading if 115 wasnt the latest version of firefox in the repo | 03:25 |
| rwp | dvbst, 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 |
| rwp | I have converted to using the Mozilla self-updating Firefox from Mozilla. Life is a compromise. | 03:25 |
| dvbst | i 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 weeks | 03:26 |
| dvbst | rwp where can i get it? | 03:26 |
| rwp | https://www.mozilla.org/en-US/firefox/new/ | 03:27 |
| dvbst | oh well | 03:28 |
| dvbst | good thing i made a backup of the old system | 03:30 |
| rwp | What happened? | 03:30 |
| dvbst | i can go back to it | 03:30 |
| dvbst | and never update | 03:30 |
| dvbst | or update when you guys make it seemless | 03:31 |
| rwp | Most of us are all just users helping each other out here. | 03:31 |
| dvbst | yea i noticed, when i went into the dragonflybsd irc then pretty much all the people were developers | 03:32 |
| dvbst | or at least they seemed like it | 03:32 |
| dvbst | and its not just dragonflybsd, pretty much any irc of any project i visited | 03:32 |
| dvbst | or wait | 03:34 |
| dvbst | do you guys still want me to try going in that computer and try to delete that bluetooth daemon? | 03:34 |
| gnarface | i think you can just disable it, you don't need to actually delete it | 03:35 |
| gnarface | i don't know if that'll actually fix the problem though, so do what you want | 03:35 |
| dvbst | yea | 03:36 |
| dvbst | so whatever the case may be, ill figure it out tomorrow, i will go sleep now, gn | 03:36 |
| onefang | G'night. | 03:36 |
| fsmithred | Good. I'm about to go to sleep, too. | 03:39 |
| onefang | G'night to all that are heading to bed soonish. | 03:44 |
| * onefang goes back to cooking lunch. | 03:44 | |
| dvbst | good morning sirs | 12:07 |
| dvbst | im here with the runit system upgrade from 4 to 5 problem once again | 12:10 |
| fsmithred | hi dvbst | 12:23 |
| dvbst | hi hi | 12:26 |
| fsmithred | how are you able to access the system? | 12:27 |
| fsmithred | can you chroot into it? | 12:27 |
| fsmithred | I think I have a live-iso to boot with runit. I'm gonna go get it. Back in a few minutes. | 12:28 |
| fsmithred | b | 12:32 |
| dvbst | oh i just woke up, ill go do it now | 12:34 |
| fsmithred | I've been awake long enough for the first coffee to start working. | 12:36 |
| dvbst | oh well this will take longer, i forgot i need nvidia drivers to display anything at all because my monitor has gsync | 12:48 |
| fsmithred | no console access? | 12:51 |
| dvbst | it just doesnt display anything | 12:59 |
| dvbst | i need to get another monitor | 12:59 |
| fsmithred | ok. FTR I just removed avahi stuff in a runit chroot on my current hard drive and it went ok. | 13:02 |
| fsmithred | avahi-daemon avahi-utils and avahi-autoipd | 13:02 |
| fsmithred | That's in a system that has task-xfce-desktop and therefore has all the bloat. | 13:03 |
| dvbst | do i need to mount /boot and stuff to chroot? | 13:22 |
| dvbst | i havent done this in a long while | 13:23 |
| dvbst | and i do have a /etc/default/bluetooth file | 13:28 |
| CueXXIII | depends on what you want to do in the chroot. for installing the boot loader you need /boot, otherwise no | 13:28 |
| dvbst | okay good | 13:29 |
| fsmithred | you do need to bind-mount dev proc and sys | 13:30 |
| CueXXIII | btw, yourt system should work, only the kernel seems to spam bluetooth messages to the current console and messes your output up | 13:30 |
| fsmithred | oh, maybe add a boot command to change the log level? | 13:31 |
| dvbst | CueXXIII, yes, that would be true | 13:35 |
| CueXXIII | loglevel=2 -- or less if bluetooth stil keeps spamming | 13:35 |
| AlexLikeRock | soup ! | 16:31 |
| AlexLikeRock | o/ | 16:31 |
| dvbst | okay so apt screams at me when i try to purge avahi-daemon and it exits due to too many erros | 17:08 |
| rwp | pastebin the command and the resulting output? | 17:18 |
| fsmithred | try 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 |
| fsmithred | dvbst, ^^^ | 17:49 |
| fsmithred | or else you could just disable it | 17:50 |
| fsmithred | update-service --remove /etc/sv/avahi-daemon (assuming that's the right path and name) | 17:52 |
| dvbst | rwp, 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 |
| gnarface | does termbin.com work for images? | 23:25 |
| gnarface | are you not able to connect the device to the net itself still? | 23:25 |
| gnarface | could you possibly just summarize? even when there's a lot of output, usually only one or two lines are relevant | 23:26 |
| dvbst | i can connect it to the net but i dont know how to copy the output to send it to you guys | 23:26 |
| dvbst | okay so | 23:26 |
| gnarface | you can pipe the output of a command to a file by suffixing the command-line with: > ./temp_file.log 2>&1 | 23:27 |
| gnarface | or you can pipe it directly to netcat with | | 23:27 |
| gnarface | (i think the termbin page might actually show you how) | 23:27 |
| gnarface | or 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 later | 23:28 |
| dvbst | it 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 exits | 23:31 |
| gnarface | huh, the part about it failing out completely seems odd, but the locale complaint is simple to fix | 23:33 |
| gnarface | install the package "locales" and run "dpkg-reconfigure locales" | 23:34 |
| dvbst | okay | 23:34 |
| gnarface | lots of stuff complains these days if your locale isn't set to anything, though usually it doesn't actually fail | 23:34 |
| dvbst | im 99.9% sure i have it set tho | 23:35 |
| gnarface | well if you just run "locale" it should tell you | 23:35 |
| gnarface | should look like this for utf8: https://paste.debian.net/1324471/ | 23:35 |
| dvbst | but 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 fine | 23:36 |
| gnarface | you can install the ntpsec package if you want network time syncing | 23:37 |
| gnarface | or the ntpdate package if you just want to manually be able to sync the time to the network occasionally | 23:37 |
| dvbst | oh well, that is very odd | 23:37 |
| gnarface | they don't make clock chips like they used to | 23:37 |
| dvbst | so i do not have locales at all | 23:37 |
| dvbst | like when i write "locale" then bash says that theres nothing like that installed | 23:38 |
| gnarface | so, 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 that | 23:38 |
| gnarface | it 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 it | 23:38 |
| gnarface | sometimes stuff gets renamed or just lost in the shuffle and has to be put back manually after the upgrade | 23:38 |
| gnarface | that's a completely normal part of the process | 23:39 |
| dvbst | and when i run "apt install locales" then apt exits becaue it wants to start avahi-daemon, and that cant start | 23:39 |
| gnarface | it'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 |
| gnarface | your network probably isn't up | 23:39 |
| gnarface | try upping it manually | 23:39 |
| gnarface | something like "ifup eth0" as root | 23:40 |
| dvbst | ok | 23:40 |
| gnarface | or "ifup wlan0" if you're using wifi | 23:40 |
| dvbst | this may be a problem of my livecd only, but there is no eth0, the only things that ifconfig list are lo and enp6s0 | 23:42 |
| gnarface | oh, not a devuan live iso? it's probably enp6s0 | 23:43 |
| gnarface | devuan would still be calling that eth0, the old fashioned way | 23:43 |
| dvbst | yea and then when i try enp6s0 then it says that its an unknown interface | 23:44 |
| gnarface | you ran "ifup enp6s0" as root? | 23:45 |
| gnarface | does that live iso use network-manager? try network-manager | 23:45 |
| dvbst | yes i did run it as root | 23:45 |
| dvbst | im currently in the devuan chroot so if devuan has it then i have it too i think | 23:45 |
| gnarface | depends on what you installed | 23:46 |
| gnarface | look for nmcli i guess? | 23:46 |
| dvbst | i have nothing like that | 23:47 |
| gnarface | in the chroot, what does "ifconfig -a" output? | 23:47 |
| gnarface | don't actually paste it | 23:47 |
| gnarface | just tell me if it shows any devices other than lo | 23:48 |
| gnarface | you might have to ifup the network device outside the chroot, on the live iso | 23:49 |
| rrq | or look at: ls /sys/class/net/ | 23:49 |
| gnarface | to be clear, when you're in the chroot, you're still using the kernel from the host system, not the chroot | 23:50 |
| dvbst | still, all it lists is lo and enp6s0, both on the chroot and on the live iso itself | 23:52 |
| gnarface | yea, but to be clear, try "ifup enp6s0" outside the chroot | 23:52 |
| dvbst | im not that dumb, ive managed to install gentoo once by myself, but thats all the advanced stuff i managed to do | 23:52 |
| dvbst | yea it must be the livecd, welp then i have no idea what to do | 23:54 |
| gnarface | well, there must be some way to enable the network on the live iso, and the chroot will inherit that connection | 23:54 |
| dvbst | i dont think i have any other livecd | 23:54 |
| rrq | ip link set dev enp6s0 up | 23:54 |
| gnarface | yea, try this ^ | 23:54 |
| dvbst | ok | 23:55 |
| rrq | ... that starts the link level; next you need to know/guess on an IP... | 23:55 |
| rrq | ip addr add $IP dev enp6s0 | 23:55 |
| rrq | actually: ip addr add $IP/24 dev enp6s0 | 23:56 |
| dvbst | i do have internet on the live iso | 23:57 |
| rrq | or: ip addr add $IP/64 dev enp6s0 ... if it's ipv6 with 64 bit prefix | 23:57 |
| gnarface | if you have it on the live iso, it should be working in the chroot too, make sure you have /proc, /sys, and /dev bind-mounted | 23:57 |
| rrq | so: ip addr show ..... lists the crrent ip | 23:57 |
| dvbst | but the interface doesnt want to get up on the chroot | 23:57 |
| gnarface | it shouldn't have to, it should already be up in both | 23:57 |
| rrq | and if so you also "have network" when entering chroot | 23:58 |
| rrq | but /etc/resolv.conf needs to be set up for dns | 23:58 |
| gnarface | ah, true | 23:58 |
| rrq | in the chroot | 23:58 |
| rrq | same as /etc/resolv.conf from outside the chroot is good | 23:59 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!