libera/#devuan/ Tuesday, 2023-05-16

hacksenwerkI installed diffuse on my daedalus but it does not work: https://paste.debian.net/plainh/3e3d0faf18:36
gnarfacehacksenwerk: looks like you might be missing something from python, but you should check debian's bugtracker first to see if anyone else has reported this there18:39
gnarfaceit does not appear to be a forked package so standard procedure would be to check to see if it's broken on debian too, and if it is report the bug with them18:40
gnarfacebut this error might also be simpler to fix than writing a bug report... i think i've seen it before when you're just missing a python package or using the wrong path or something like that18:41
gnarfacesomeone good with python might know for sure18:41
hacksenwerkgnarface: Oh ok thank you18:42
hacksenwerkFound it: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=103490418:42
gnarfacethere is often a fix or workaround posted in their bug tracker thread, even before they actually fix the package18:43
gnarfaceif there isn't one yet, keep an eye on it18:43
gnarfacemay show up in a couple days18:44
hacksenwerkgnarface: Ok thanks I will do that.18:45
brocashelmhow do i terminate dhclient with runsv?20:06
gnarfacerunsv?20:07
gnarfaceyou mean sysv?20:07
gnarfacetry: /etc/init.d/dhclient stop20:07
brocashelmi am using runit20:08
gnarfacei'm not sure with runit20:08
brocashelmnoticed this really annoying and persistent connection to eth0 with nm disconnected20:08
brocashelmi have runit machines and this issue is affecting one of them (i think runit services are overriding)20:09
n4dirsv down /var/service/ssh; is what arch wiki says. for ssh, not dhclient20:09
brocashelmi'd like to go back to sysvinit, but that disables my soundcard (alsa) and i can't use nm anymore :(20:09
gnarfaceweird that it disables your soundcard20:10
gnarfacemight be a separate issue, check for these packages: alsa-base alsa-oss alsa-tools alsa-topology-conf alsa-ucm-conf alsa-utils20:10
gnarfacethe "sv down /var/service/dhclient" thing might work though20:11
n4dirgnarface: the arch wiki is not that clear where the directories are, gives those above as example. I sure don't remember, and never felt too comfortable with runit20:11
brocashelminstalled alsa-tools, alsa-topology-conf, alsa-ucm-conf (alsa-base unavailable for daedalus)20:13
brocashelmand the arch wiki's runit instructions don't seem applicable to debian/devuan20:14
brocashelmsuch as with the dir path20:14
brocashelmit would say "file does not exist"20:14
gnarfacebrocashelm: see if you can find it in the output of "dpkg -L dhclient"20:15
gnarfaceer20:15
gnarfacewait that's not gonna work20:15
gnarfaceyou need to find the actual package name for dhclient first20:15
gnarfacethen "dpkg -L" that20:15
gnarfacemaybe dhcpcd or isc-dhcp-client20:16
n4dirhttp://smarden.org/runit/faq.html also uses /etc/sv and /service; if i understand correct.20:16
gnarfacehonestly debian may have still put them in /etc/init.d/ i dunno20:16
n4dirwell, not also. I might boot up antix and look, but i assume you will find it better than i will20:16
gnarfacedebian's openrc setup uses the sysv scripts directly, not sure what does runit20:17
gnarfaces/does runit/runit does/20:17
n4diri sure do remember it uses "path" which were very unknown to me (and now are again :-).20:17
n4dirso, is there /service/***20:18
brocashelmisd-dhcp-client is already installed20:19
gnarfacebrocashelm: alright, try "dpkg -L isc-dhcp-client"20:19
gnarfacebrocashelm: theoretically the runit script could be missing entirely but that wouldn't explain how it's getting started20:20
n4diri think they are in /etc/sv; you link them to /service to enable them.20:20
brocashelmhttps://paste.debian.net/hidden/9cb1739720:21
gnarfacebrocashelm: yea, check /etc/sv/ see what's in there20:21
brocashelmyup, it's there20:22
brocashelm /etc/sv/dhclient20:22
gnarfacealright, try "sv down /etc/sv/dhclient" then20:22
n4dirno, it gets linked, like "ln", and you use the linked version, which could be service, iirc20:23
n4dir. damn: /service, but arch wiki claims otherwise20:23
brocashelmtried it and nothing happened (still seeing process runsv dhclient in htop)20:23
gnarfacewhat if you just run "sv down dhclient" ?20:23
brocashelmsame thing20:24
gnarface(as root or using sudo)20:24
brocashelmyes20:24
brocashelm(using doas)20:24
gnarfacehmm20:24
gnarfacedoes /var/service or /service exist?20:24
brocashelmi think i might have installed those runit packages from experimental20:24
brocashelminitially20:24
n4diryou want to stop it one-time, or you want to never run it?20:24
brocashelmnever run it. i want network-manager or manually typing dhclient to do the connecting20:25
n4dirremove the ln-link then20:25
brocashelmnope, /var/service does not exist20:25
n4dirtry /service20:25
brocashelmi see /etc/service20:26
brocashelmand dhclient is there (symlink)20:26
n4diroha. what a mess20:26
gnarfacei found gentoo's runit page. maybe this will help some? https://wiki.gentoo.org/wiki/Runit20:27
brocashelmprobably, but i know debian's application of runit is still quite piss poor compared to arch, gentoo, or void20:27
gnarfacejust deleting that symlink should disable it on the next reboot right?20:27
brocashelmit's literally just a wrapper for sysvinit20:28
brocashelmi guess i could try20:28
n4dirgnarface: that is what the site from above states, and i vaguely remember something with linking or rm'ing a link20:28
n4dirbut stop for just now worked too, no clue why it doesn't (via sv stop, i'd assume)20:29
gnarfacealthough, with my sysvinit systems the dhcp client is usually actually started by ifup when the network configuration implies it is needed, not by sysvinit itself, so maybe we're struggling in the wrong direction here...20:29
brocashelmi should probably just go back to sysvinit20:29
gnarfacewell you could also change the dhclient config to just ignore eth020:30
gnarfacei think it activates for all network devices unless otherwise specified in the config20:30
gnarfacepersonally if i were not using it, i'd simply uninstall it completely, but i presume you have it because you might use it sometimes20:30
brocashelmyup, removing /etc/service/dhclient (symlink) did the trick20:31
brocashelmyeah, i might use dhclient if connecting from tty20:31
brocashelmi'd also like to stay offline if i go offline20:31
n4dirit is funny how i can not use sysv for ages, when need to it is all in memory, but all other init systemd i forget the details within a week20:32
n4dirotoh i usually just use sysv-rc-conf :-)20:32
fsmithredsv dhclient stop  <-- brocashelm21:06
fsmithredno21:06
fsmithredsv stop dhclient21:06
fsmithredupdate-service --remove /etc/sv/dhclient  <-- nuke it for good (sysvinit script will take over)21:10
brocashelmthanks, guys21:16
brocashelmseems like that debian experimental build of runit i used on the problem machine was part of that21:17
fsmithredand remove the symlink which you already did21:17
brocashelmthe 6.0 build IIRC21:17
brocashelmso i guess more services are being converted over from sysvinit21:17
fsmithredyou know about the runit-services package?21:17
brocashelmyeah, have it installed21:18
brocashelmhttps://packages.debian.org/experimental/runit-services21:18
brocashelm^ 0.6.0 version21:18
brocashelmi think it was this package build21:18
n4dirthe best thing bout runit is that no systemd fanboy can bother you with you running an old init system.21:18
brocashelmchangelog: https://metadata.ftp-master.debian.org/changelogs//main/r/runit-services/runit-services_0.6.0_changelog21:19
brocashelm>* new runscripts:avahi-daemon, avahi-dnsconfd, uuidd, bluetooth,network-manager, connman (Closes: #1032657)21:19
brocashelmi think this is the reason for the "runit takeover"21:20
brocashelmor "runsv takeover" to be exact21:20
fsmithredon n-m?21:20
brocashelmdhclient21:20
fsmithredoh21:20
brocashelmthe eth0 auto-connection21:20
brocashelmi had that problem earlier on when i first installed devuan21:20
brocashelmthen it went away for good21:21
brocashelmguess ceres will get that once the testing freeze ends21:21
fsmithredyou want it to wait until you tell it to connect?21:21
brocashelmyes21:22
brocashelmthat is correct21:22
brocashelmi like to be online only when i have to be21:22
fsmithredis eth0 configured in /etc/network/interfaces?21:22
brocashelmauto lo21:23
brocashelmiface lo inet loopback21:23
fsmithredwhere I was going with that is to set the interface to 'manual' instead of dhcp21:25

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