libera/#devuan/ Wednesday, 2021-10-13

analbleedingubuntu01:26
hyrcanusecho "export DBUS_FATAL_WARNINGS=0" >> ~/.bashrc04:35
hyrcanusf-u dbus04:35
CAPTCHA_REQUIREDeverybody hates dbusy but nobody's written a replacement04:40
hyrcanus:)04:40
hyrcanusb0rk b0rk b0rk04:40
golinuxI don't think that dbus cares04:40
golinuxTake the rant to OT please04:41
hyrcanusthe envvar above fixed a n0-w0rk for me, so mabe it halpes someone04:41
CAPTCHA_REQUIREDthankyou04:44
tinyweaselIs it me or is deb.devuan.org not resolving?09:25
tinyweaseltried a different DNS resolver, etc09:25
tinyweaselyeah, actually09:26
tinyweaselI think devuan's sites are blocking mullvad servers09:26
tinyweasellovely, then... :(09:26
DPAIsn't working for me either. SERVFAIL09:26
tinyweaselyikes09:26
DPApkgmaster.devuan.org still works09:27
tinyweaselwell, that's good, I suppose09:27
DPANot sure who needs to deal with this. I'll just ping a few people.09:34
DPAparazyd, rrq: deb.devuan.org is broken09:34
tinyweaselalso, can they remove their IP rule blacklists, it seems? It's broken mullvad for me09:34
tinyweasel*for me, with devuan sites09:34
tinyweaselthough, I'd like to know if mullvad is doing it, ideally09:34
DPAIt seams pkgmaster.devuan.org is resolvable, but I can't load it. Same with devuan.org. So I guess it doesn't work anymore after all.09:37
tinyweaselyeah, that sucks09:37
tinyweaselI already mirror the debian repos (VMs, etc), but erh, I really was considering mirroring the devuan repos09:37
tinyweaselbut if I could find out what tools they were using to "merge" the repos, that'd be amazing09:37
tinyweasellike, do it on the fly per package if requested09:38
tinyweaselthen purge from the cache when not needed09:38
DPAI think it was amprolla. There used to be some instructions to just mirror devuan packages on pkgmaster.devuan.org.09:39
tinyweasel>mnt-by:         OVH-MNT09:39
tinyweaselyeah, there's netsplits, it seems09:39
tinyweaselcaused by OVH problems09:39
tinyweaselbut yeah, that's interesting09:39
DPAI mirror a few releases / archs with apt-mirror locally, but it's not all of it: https://mirror.dpa.li/linux/repository/apt/09:40
tinyweaselyeah, I use ftpsync09:40
benben159is anyone know why deb.devuan.org is connection timed out several minutes ago?10:06
tinyweaselbenben159: OVH is having issues right now, it seems10:07
DPALooks like it's back.10:49
benni_ditoDPA yes11:14
* jla uh... just tried to install GNU Jami on a fresh Chimaera install ... 'E: Unable to correct problems, you have held broken packages. '13:00
hyrcanusthere may be temporary problems with your repository today13:01
jlaah...yess, you mentioned it, a while ago, thX13:02
blackSurgeHola!~13:32
luser978smaller fire than last time? or bgp drop... @ovh13:33
* jla yeah... Fuckerberg knows about BGP drops ... :-P13:39
hyrcanusstatement from OVH https://corporate.ovhcloud.com/en/newsroom/news/network-incident/15:15
hyrcanus"particularly intense over the course of recent weeks"15:15
hyrcanusinteresting that someone announced this would happen... K.S.15:15
onefangNaturally this problem with deb.devuan.org happens while I sleep, but seems to be OK now.17:01
hyrcanus:)17:03
hyrcanus717:03
onefangIf it has problems in the future, please don't use pkgmaster, coz that's the master server the other mirrors sync from, and we don't want to bog it down.  Pick something else from https://pkgmaster.devuan.org/mirror_list.txt17:03
onefangdeb.devuan.org is a round robin DNS, that points to our package mirrors.  It's entirely possible this so,rt of problem might happen to the particular mirror you happen to get resolved to, not the entire set of them.17:05
hyrcanuscould pkgmaster be configured to only accept connections from a whitelist of mirrors, or would that be too restrictive17:05
gnarfaceleft accessible to us specifically for debugging; don't abuse it17:05
onefangI have a TODO to make things a bit more dynamic based on my apt-panoptican testing.17:06
onefangEr apt-panopticon.17:06
hyrcanusis it better for me to select a mirror in my country, or will deb.devuan.org round-robin them?17:07
hyrcanusredirect, whatever17:07
hyrcanushm i see it should redirect ok17:08
gnarfaceymmv17:10
gnarfacesome people have problems with certain repos17:10
hyrcanusworks great for me17:10
gnarfacethe round-robin should work for most people17:10
onefangIt's up to you.  Once I pull my finger out and get that TODO done, deb.devuan.org should be the most reliable.  Any given specific mirror might go down for some random reason at some random time.17:11
hyrcanusdevuan works really well for me.17:11
onefangThe TODO is to test them all every ten minutes, have deb.devuan.org resolve to the ones that passed the tests this time.  So should be more reliable.17:11
user____Is there something new in kernel 'Linux beowulf 4.19.0-17-amd64 #1 SMP Debian 4.19.194-3 (2021-07-18)' which prevents guest qemu sessions from seeing the internet no matter what I do with qemu -nic -net etc options? Even if using options known to work from 2-3 kernels ago?20:47
gnarfacenot that i know of but there could be20:48
gnarfacebefore though, had you tried it on actual Debian with systemd?  systemd might behave differently with regards to tun/tap setups20:49
gnarfaceso maybe that's all that changed with regards to this is now you have to set some modules and permissions up manually20:49
gnarfacei think the group you need to be in for that is plugdev or netdev20:50
gnarfaceor maybe dialout?20:50
onefangIt's working in kernel 5.10 from beowulf backports at least.20:50
gnarfacesomething like that20:50
gnarfaceyou probably also want to be in the kvm group if you're using kvm accel20:50
gnarfaceand, there might be a better way to do this but what i did was just load the tap and bridge stuff up manually ahead of starting qemu20:51
user____No debian was molested here. It worked with a different image (nothing else changed) a few weeks ago. I only upgraded the kernel.21:00
user____Afaik -net nic should simply work, the guest should see the internet the host is connected to. Correct? That's how it worked before.21:01
user____And am not using kvm, running qemu as user or root makes no difference for this issue.21:01
user____Been googling, I think I am missing something important.21:01
gnarfacehmm.  well when i tried it that way, my research indicated the ethernet card would have to be dedicated to the qemu guest; as in the host and guest couldn't both use it at once21:02
user____I MAY have updated qemu too, did not look.21:02
user____gnarface: that sounds like you want a bridge.21:02
gnarfacebut what i was able to do was add the host physical device in a bridge with a tap device before qemu starts21:02
gnarfaceyea, that is what i went with21:02
user____Yes, but it worked w/o manual tinkering with bridges before.21:03
gnarfaceif the bridge is set up and populated with both the tap and eth0 devices ahead of time, qemu can be just given the tap device and is able to use it without having to bother configuring it21:03
gnarfaceand, importantly, nothing breaks after qemu is shut down either21:03
gnarfacehmm, even as far back as wheezy i think i had only ever tried this with dedicated physical ethernet devices for the guests21:04
gnarfacei agree it should work i just am not claiming i ever knew how21:04
user____Weird. Okay, I'll give it another go tomorrow, 10pm now, my head is buzzing.21:05
gnarfacehmm, the man page does also indicate that the "user" backend should be able to do this21:06
gnarfaceqemu-system-x86_64 -netdev user,id=n1,ipv6=off -device e1000,netdev=n1,mac=52:54:98:76:54:3221:06
user____yes. But there is some advance in security and also some bit-rot involved.21:06
gnarfaceqemu-system-x86_64 -nic user,ipv6=off,model=e1000,mac=52:54:98:76:54:3221:06
gnarfaceany of that look familiar?21:06
user____I used various stanzas, the simplest: -net tap -net nic21:06
gnarfaceyea i dunno if it's a change in kernel permissions or qemu defaults or what21:06
user____Which should do it but no21:06
gnarfacemost my virtualization experience is actually with linux-vservers21:07
user____Also -net user -net nic21:07
user____-net is deprecated but still works21:07
user____Ok, I'll look at it harder tomorrow.21:07
systemdleteany way to get rid of that long delay due to mandb update during package installs?  Various web pages have suggestions, but they don't address the problem.  One suggests simply getting rid of mandb altogether; some packages depend on mandb, so that is not a solution.  Another suggests completely disabling ipv6, which may have been OK when the guy wrote that "solution" but in 2021 that is both silly21:25
systemdleteand ignorant.21:25
systemdlete(and the latter was an article on Tech Republic)21:26
systemdleteActually, if there really is a way to get rid of mandb, I'd be OK with that.  I find myself searching for "man blah" on the web these days (and avoiding hits from die.net!)21:27
gnarfacesystemdlete: change to max cpu speed before doing updates maybe?21:34
gnarfaceit'll help a little21:34
gnarfacethe load of triggering stuff like package unpacks and db builds from packages is almost never enough to engage the cpu scaling governors, but if you force it to max speed ahead of time, conspicuous bottlenecks still are alleviated21:35
systemdleteI've never had to do anything like that in the past.  This problem has only started appearing recently, maybe over the past 3-6 months.  It may have happened previously, but the delays now have become ridiculously long.21:37
gnarfacei assume that's just probably because they switched from gz to xz21:37
gnarfacemaybe you can switch it back, not sure21:37
systemdletenewer kernels maybe prioritizing multitasking differently now?21:37
systemdleteaha!21:37
gnarfacexz is a lot slower21:38
gnarfacei'd check on that first21:38
systemdleteyes, THAT could be an explanation21:38
systemdleteso you are telling me that mandb pages are being compressed with xz rather than gz now?21:38
systemdleteor is that for everything?21:38
systemdlete(and do man pages really, really need to be compressed ffs?)21:39
gnarfacewell not exactly.  what i'm telling you is i've noticed that xz has replaced the compression mechanism for a lot of other conspicuous stuff, like the initrd.img, and it has caused notable bottlenecks for me too21:39
rwpAlso look at the fsync() problems.  There is a ticket with information from like ten years ago still open.21:39
gnarfaceso at this point the mandb thing is merely a hypothesis21:39
gnarfacebut it definitely fits the pattern of everything else switching to xz21:40
systemdleterwp:  I attached strace during these episodes and saw that apt was in a tight wait loop, making zillions of system calls21:41
rwpCould you tell what category of system calls?21:41
systemdleteie, even though it was supposed to be waiting, it was timing out and resetting the wait over and over again21:41
systemdleterwp:  I've forgotten.  It is one particular one... hold on21:41
systemdleteselect()21:42
rwpIn any case...  This was the ticket I referred to: https://bugs.debian.org/70063321:42
systemdlete(I think)21:42
rwpEven though that ticket I referenced is on debootstrap really the root cause is dpkg.21:42
systemdleteYou filed that in 2013?  Someone in 2019 uttered that they were appalled this had not been addressed by 2019 when he posted to that list.21:48
systemdleteistm that either that system call is not working as intended (unlikely) or the program is setting too short a timeout -- aside from having to wait on a sub task to complete, the waiting routine should not be issuing the same calls in rapid fire succession like that.  Of course, I have not studied the guts of dpkg either...21:50
luser978run strace -ff $bin - select is waiting on a fd for data, likely a child process21:58
rwpPhillip Susi posted that ticket.  I commented upon it.  Both in 2013.  In this year 2021 Holger Levsen commented that the blockers for the bug being fixed had been fixed.22:07
rwpDiscussing why I believe overuse of fsync() is trouble is best left for -offtopic and another time.  Since -offtopic is at this moment consumed by a different flamefest.22:08
systemdleteluser978:  thanks for looking at this.  Do you see rapid-fire calls to select() as I did?22:10
systemdleteI wonder, is this convo more suitable for -dev?22:11
systemdlete(irdk)22:11
systemdleteit IS a kind of support issue, otoh. But it can really only be addressed by devs I think22:11
rwpCertainly discussing how to work with and around the current environment is on topic here.  So I recommend eatmydata to speed up dpkg to tolerable levels.22:13
systemdleteso this is something I need to install?22:14
systemdletepatch?22:14
rwpI link eatmydata to /usr/local/bin/ apt-get and dpkg so that I always get it automatically.  (I am sure that some people here reading this will be aghast!)22:14
rwpTop of my head: apt-get install eatmydata ; ln -s /usr/bin/eatmydata /usr/local/bin/dpkg ; ln -s /usr/bin/eatmydata /usr/local/bin/apt-get22:15
systemdletethis approach seems sort of kludgy.  I'd prefer a real bug fix.22:15
rwpIt is sort of kludgy.  I also would prefer a real fix.22:15
systemdlete:)22:15
systemdlete(good to hear that, rwp.  Good to hear that)22:15
systemdleteI can live with the long delays... there's always something to watch on youtube, even if it's really stupid or trite.  It's not like I have to prepare for my Ted talk or something.22:16
rwpI have been trying to craft a sentence or two that would summarize the situation.  Failing miserably.  I can't do it concisely.  It's has several subtle facets that need longer description.22:20

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