libera/#devuan/ Monday, 2023-01-23

blakepHi! I'm part of the team that runs mirror.aarnet.edu.au.  We've been having some trouble since 2023-01-17 with getting updates from files.devuan.org via rsync over IPv6 (IPv4 works fine).  Connection over IPv6 works ok at first, but a few kb into the sync we get a disconnect from remote.  Is this the correct place to get help with that, or shoudl I ask eslewhere?00:01
rrqI'll have a look....00:04
rrqmmm there's rsync limiting in place, but afaics the same for ipv4 and ipv600:08
rrqbb|hcb would know better but might be rejuvenating right now00:11
blakepHere are some additional details that may help: https://pastebin.com/EiDQPEzx00:12
blakeptimestams in UTC00:12
rrqright; this end gets: deflate on token returned 0 (18966 bytes left)00:17
rrqconsistently, and only on that ipv600:19
rrqthat ip is not rsync-limited00:21
rrqno, wrong, ... let me add an escape for it00:22
blakepoh nice! thankyou00:23
rrqI think it's automated but maybe some table is wrong00:24
rrqwhen bb|hcb is young enough he'll look into it00:25
bb|hcbGive me some time and I will check. In the meantime, blake, can you for it to use ipv4 (like -4) to see what happens?00:28
bb|hcbs/for/force/00:28
blakepI ran using -4 just before asking here and everyting worked perfectly00:31
blakepsrc ip 138.44.164.198, started Jan 22 22:27:47, completed at Jan 22 22:52:3500:33
systemdleteI have two computers running.  One is my "workbox" and the other is my "testbox."   I have virtualbox installed on both.   On the workbox, there are no problems launching VMs after boot.  On the testbox, I cannot launch a VM until I either (1) open the GUI and launch it from there, or (2) copy the exact string the icon is trying to launch.00:35
systemdleteNow I know there are vbox haters here.  Thank you so much for that.  But let's put that aside, OK?  This might be some desktop config problem.00:36
systemdleteBoth boxes are running the latest xfce4.00:36
systemdleteWorkbox has a FX8350 with 32GB, testbox has an Athlon II Thuban X6 with 16GB.  Plenty of space available on both.00:37
rrqprobably due to PATH or some other environment setting00:37
systemdleterrq:  OK, good thought.  I'll check that.00:38
rrq(I assume it's headless)00:38
systemdleteThe hosts are both connected to the same keyboard, video, and mouse via an electronic switch.00:38
rrqok; but the vboxes are headless?00:40
systemdleteno, not really.00:43
systemdleteI mean, by default, when you launch them, there is a virtual "head" if you will.00:43
systemdleteThey CAN be made headless though.00:43
systemdleteBut for our purposes, the two machines are configured similarly for vbox.  However, your suggestion shows that there are some differences.  It will take me a few minutes to sort this out.00:44
systemdlete(with sdiff, etc)00:44
rrqif they need console display window then the x auth might play a role as well; though should be same issue on the hosts I suppose00:46
systemdleteXDG_SESSION_TYPE=tty on the workbox; =x11 on the testbox00:51
systemdleteAlso, there is a RUNLEVEL=2 on testbox, but no such variable on workbox00:51
systemdleteiirc, the testbox was installed from refracta.  I think workbox was installed from devuan ISO00:52
systemdleteDESKTOP_SESSION is differnt also.  xfce on workbox, default on testbox.00:53
systemdleteah, INIT_VERSION is set on testbox, but not on workbox00:54
rrqidle browsing suggests vbox does look at XDG_SESSION_TYPE00:55
systemdleteaha.  So I can do an experiment.  See if I can "force" the testbox to launch the first VM by setting that var locally on the cmd line00:55
systemdletehold on (have to switch boxes)00:56
systemdleteI'm going to do this differently.  I'm going to run a script from the desktop(s) to see the acctual environments those are getting.00:59
systemdleteApparently, cmd line and desktop envs on each box are not identical.  Then see what the diff is between the two boxes.00:59
rwpBy what method are the VMs launched?  From the command line?  Or maybe it sounds like from an init script?01:03
rwpAnd basically the same question for X on each system.  Do you log in through the interactive "xdm" (gdm/gdm3/lightdm/slim)?  Or does it auto-start X?01:04
rwpAlso...  How is networking started?  NM won't connect until the Desktop Environment is started and the user logged in.  Networking is probably needed for the VM to start.01:06
systemdleteok.  Let me give you the overview.01:08
systemdleteThere are several ways to launch vbox VMs.  One is from their GUI.  And that works faithfully; no problems there.01:08
systemdleteon either box.01:08
systemdleteI can also launch them from the command line, faithfully, on either box.01:08
systemdletewhat I cannot seem to do is launch the very first VM (after reboot, or some amount of time goes by that one of their system tools stops running automatically)01:09
systemdleteI can do this without issue on the workbox, but not on the testbox01:09
systemdletehost-side networking is not needed for the VM to start, no.01:10
systemdleteat least, I've never heard of that.01:10
systemdleteIf host-side networking is unavailable, the VM will still run, but its internal notion of the networking world outside of it will be limited.01:10
systemdlete(not sure if that is what you are asking)01:10
systemdletenow, rwp and rrq, here's "the thing" (as our prez would say):  The cmd line invocation I use--successully!-- on the testbox is exactly copy-and-pasted from the icon!01:11
systemdleteIOW, that calling sequence works successfully when performed from the cmd line, but not from the icon.01:12
systemdleteThe icon, btw, is created by their GUI, not by me.01:12
systemdleteBtw, also, I tried to get help from them yesterday, but I supposed it was a slow day at virtualbox and the only "help" there was this incredibly nasty and arrogant soul who kept badgering me rather than trying to really help.01:13
systemdlete(This is why I love devuan's irc; so much more pleasant to work with! thanks again)01:13
systemdleteI thought they had booted that about a year ago, but apparently they just chose a new nick.01:14
systemdleteThe temperment seems to be about the same...  but anyway01:14
systemdleteI may post this on their forum.01:14
rwpI am not sure what copied from icon means but I presume that means the command line associated with the icon which is the icon.freedesktop file Exec line.01:15
systemdleteI just thought maybe someone here might have a clue since our OS does not depend on systemd.01:15
systemdleteyes, rwp, that's what I meant.01:15
systemdletewhich gives me an idea rwp01:16
rwpI don't use vbox but I do use libvirt and the command line there is ten miles long at the least.01:16
systemdletemaybe I should compare the icon files generated on each system.  Even though both run xfce4 (same version too)01:16
rwpThe vbox.freedesktop icon file does not come from XFCE but would come from VirtualBox so that depends upon VB rather than XFCE.01:17
rrqafair I used "VBoxManage startvm blaha" or "VBoxHeadless startvm blaha"01:17
systemdleteWell, the command line for vbox is just calling a utility with the title bar name for the VM and a long hash represening the VM.01:17
rrqit all did require the vboxnet service to have been started01:19
systemdleteyeah, it is like vboxmanage --comment titlebarnameIwantForVM "{abcdef-99175-blah...}"01:19
rwplibvirt example command line for ONE vm start: https://paste.debian.net/plain/126817601:19
systemdleteYes, the problem is that the VBoxSVC daemon is not started01:20
systemdlete(when the problem occurs)01:20
systemdletethe rest of the time it starts, faithfully01:20
systemdletebut let me finish the env comparison...01:20
rwpI would also A-B compare the two systems for presence and use of eudev and elogind too.01:21
rwpI could imagine that cgroups (via {,e}logind) might come into play too.01:22
rwpAlso I have lost sync with the details above on how they are started that causes problems. Copy-pasting the icon properties Exec line always works. So it is the clicking on the icon that fails?01:24
rwpOr is it failing from an init script?  If from an init script then I would also look to see exactly when during the init boot they are run.  Dependencies might be insufficiently declared on one and starting one before an undeclared dependency is ready.01:25
systemdletewell, vboxmanage handles the whole launch processing01:26
systemdleteit's not like qemu01:26
systemdleteor libvirt01:26
rwpIf it is a difference between clicking and copy-pasting then the terminal shell's environment for bash is loaded through the .bashrc file but that's not going to be seen by clicking the icon.01:26
systemdletegood point01:26
systemdleteI shall look at my .bashrc file01:26
systemdleteon each system that is01:26
rwpDebugging these things I often hack the Exec line to call a script that I create that dumps the environment and other debug to a file in /var/tmp/rwp.debug.out and then see what's different.01:27
rwpI dump to a file in /var/tmp because /tmp is (usually) cleared on reboot and I don't want to lose the data if I reboot.01:28
rrqthe failing system should also have some complaint, eg in syslog01:29
rrqI think starting a vbox VM does depend indirectly on networking being started01:33
xrogaanpopularity contest isn't working here: popularity-contest: unable to submit report to http://popcon.devuan.org/cgi-bin/popcon.cgi.01:34
xrogaanthough, exim does show emails sent to survey@popcon.devuan.org01:35
xrogaanusing the wrong From: header.01:36
rrqdo you have an example to show?01:38
xrogaanMAILFROM wasn't populated by default. Does popcon expects an return email?01:41
rrq(idk) it looks at "From" header01:46
rwpData sent by email must be properly email formatted which means that From lines and such must be acceptable to be mailed.01:47
rwpBut doesn't it try to POST the data first to the http server?  If that isn't working...  Why not?  I would look there.01:47
systemdleteOk, thanks for all the feedback.  I'll keep looking into this.  It's probably something fairly simple.  Maybe something I changed on the testbox to actually test somthing and I forgot to put it back later on... as will happen in test environments.01:50
systemdleteI think I might even re-set the entire testbox.  If I do, I will install the snapshotting software for the system so I don't have to continually go through the install process.01:50
rwpsystemdlete, If you figure it out please post an update because I would like to know. Thanks!01:52
rwpxrogaan, I see that /usr/share/popularity-contest/popcon-upload has a -d debug option.  But running it myself I have yet to see any output from it.01:53
systemdleterwp:  np.  will do.  thanks again to all of you for your patience as I struggle through these issues.01:53
rrqright .. the popcon host had a dist-upgrade last week01:53
xrogaanrrq: do you receive anything on the host?01:54
xrogaanas in, broken for everybody or just me?01:54
rwpI see that popcon logs to /var/log/popularity-contest and may contain more debug information there.01:54
rrqwell, there were nginx errors .. (missing DOCUMENT_ROOT)01:55
rrqand nginx got touched by the upgrade01:55
rwprrq, So...  Problem on the Devuan popcon server side?02:00
rrqyes, likely02:01
rrqhow do I test it?02:02
xrogaanrun popcon?02:02
xrogaanit's normally a cronjob02:03
rwpI think it is called like this (adding -d for interactive debug): /usr/share/popularity-contest/popcon-upload -u http://popcon.devuan.org/cgi-bin/popcon.cgi -f /var/log/popularity-contest.new -d02:03
rwpOh, I see that's *after* it has generated the data.  Initially on a fresh install there won't be any data to upload.02:04
xrogaanit's in /etc/cron.daily/popularity-contest02:05
rwpLooks lie (as root) generate the data: /usr/sbin/popularity-contest --su-nobody > /var/log/popularity-contest.new02:06
rwpThen the popcon-upload will upload it.  I just did that.  No output using -d for it on my system.02:07
rrqta02:07
xrogaanmy SUBMITTED variable in that script never changes from "no"02:07
xrogaanso, sendmail is failing (reportedly) but exim does show an email going out in the logs02:08
rwpHave you configured TOR for example which changes the upload protocol?02:08
rwpAlso if you just run /etc/cron.daily/popularity-contest it won't be the right DAY="0" for it and it will exit without doing anything.02:08
xrogaanI have TOR installed, but not running. I'll change the variable to "no"02:08
rwpSee /etc/popularity-contest.conf for the DAY setting as well.02:09
rwpThe cron.daily script looks to dynamically decide to use TOR if /usr/bin/torsocks and /usr/bin/torify are both installed.02:10
xrogaanbut it never worked though, and I don't get the "unable to submit report to $URL" error02:11
xrogaananyhow, made changes, we'll see at next cronjob02:11
rwpif USETOR=no then that overrides the dynamic logic and avoids using tor.02:11
xrogaanyes02:12
rrqsorry. got sidetracked.. so your email submission seems to report fail locally although an email gets delivered?02:33
xrogaansomething like that02:41
xrogaanwhich is weird02:42
xrogaannevermind. I read the errorlog wrong.02:44
xrogaanwas just the http issue (probably 'cause of TOR)02:44
gnstaxoHow do I search for a package that contains X file like this website but from command line03:20
gnstaxohttps://packages.debian.org/search?mode=path&suite=bullseye&section=all&arch=any&searchon=contents&keywords=gcrypt.h03:20
xrogaangnstaxo:  `apt-file search'03:31
golinuxAlso https://pkginfo.devuan.org/cgi-bin/policy-query.html03:38
golinuxOops that's not command line but will find if a pkg is available . . .03:38
gnstaxoThanks guys03:51
gnstaxoI have another question04:01
gnstaxoThe other day I installed a i386 package and ever since whenever I apt update I get the list from the i386 repo04:02
gnstaxoBut I am no longer interested in i38604:02
gnstaxoDo I have to uninstall all of my i386 packages?04:03
gnstaxoSo that I stop getting those updates04:03
rrqnope.. did you set up multiarch?04:04
gnstaxoI don't know04:04
gnstaxoI put in some commands wine told me04:04
rrqok. that's a clear aybe, then :)04:05
rrqadd the setting "[arch=amd64]" after "deb" in /etc/apt/sources.list04:05
rrq(no double-quotes)04:05
rrqlike: deb [arch=amd64] http://deb.devuan.org/merged ....04:06
rrqthe same for anything in /etc/apt/sources.list/*04:07
rrqthe same for anything in /etc/apt/sources.list.d/*04:07
gnstaxoLet me try04:07
gnstaxorrq: It worked! Thank you!04:10
rrqnote that it might end up uninstalling i386 packages when corresponding newer amd64 packages get installed04:12
rrqapt wants to keep arch versions of pacakges in sync04:12
gnstaxoI'm getting "E: Removing essential system-critical packages is not permitted. This might break the system."05:01
gnstaxoBut the packages I want to remove were installed along with wine05:01
gnstaxoI checked the log05:01
gnstaxoI uninstalled wine and I was left with deps I cannot remove05:02
gnarfacegnstaxo: usually this happens when an alternate package is swapped in with different dependencies, you have to figure out what got replaced when you installed wine, and switch it back05:07
gnarface(is my guess, anyway)05:07
gnarfaceit helps to not install "recommends"05:07
gnarfacejust helps make things easier to keep track of05:08
gnstaxognarface: I have both the 32bit and the 64bit version of each package05:14
gnstaxogcc-12-base:i386 libgcc-s1:i386 libc6:i386 libidn2-0:i386 zlib1g:i38605:15
gnstaxoIs it not possible to force removal?05:16
gnstaxoBut I'm gonna update the whole system before forcing anything05:16
gnarfacegnstaxo: i'm sure it's possible to force removal05:39
gnarfacegnstaxo: you definitely need libc6 though05:41
gnarfaceyou might only need the 64-bit version but none of the 32-bit stuff will work without the i386 version05:41
cws6969I have two OS , One is devuan_chimaera_4.0.0_amd64_desktop-live , It's called LIVE_OS11:08
cws6969The other is built using debootstrap , It's called DB_OS11:08
cws6969Both systems can be accessed via wired network and can open any web page11:08
cws6969both systems can connect to wifi , But LIVE_OS can open any web page, while DB_OS cannot open any web page11:08
cws6969This is strange, is DB_OS missing some software?11:08
xinomilois the clock right?  what's the output of `ping $somewebpage ` from db_os ?11:12
cws6969The clock is right , ping wechat.com >>"Domain name resolution fails temporarily" . It's the same for any URL11:28
xinomiloso, dns issue11:30
xinomiloif you can ping some public resolver (eg. ping 94.16.114.254  - opennic) , then add this ip in /etc/resolv.conf  : "nameserver 94.16.114.254" and retry ...11:32
cws6969resolv.conf  Configuration error ??11:33
xinomiloyou can add any resolver ip you prefer, just an example..11:33
xinomilowhat's in that file now?11:33
xinomiloconfiguration error, or broken dns11:33
xinomilodon't know what dns debootstrap sets up ...11:34
cws6969The odd thing is that the wired network is ok , The braincase hurts11:42
RyushinDoes Devuan include a systemd unit file to sysv init script tool?  I found this: http://www.trek.eu.org/devel/sysd2v/12:52
RyushinIt is supposed to be part of the sysv source now in the contrib directory.12:54
Necrodiveri have one really quick question before i need to get to bed: I have a pc arriving tomorrow with different specs than the one im on currently. Can i just take out the drives from this pc and put them in the new one and everything will work okay?14:06
Necrodiveror will i need to do a clean install?14:08
djphNecrodiver: "maybe"14:18
djphNecrodiver: worst thing will be graphics and wifi.  Other than that, it should be pretty okay14:18
xinomiloinstall all firmware drivers before moving drives, just to be sure everything will work.. (or the ones needed for new pc if you know exactly what...)14:22
Wonkameh... $ freecad22:37
Wonkafreecad: error while loading shared libraries: libpyside2.cpython-310-x86_64-linux-gnu.so.5.15: cannot open shared object file: No such file or directory22:37
gnarfaceWonka: do you know which package it's supposed to come from?22:40
WonkaI guess freecad has some dependency broken; i've upgraded from Python 3.10 to Python 3.11 packages recently22:45
gnarfacei'd try an apt-file search for libpyside22:47
gnarfacemaybe it's still there but just with a slightly different name and you can fix it with a symlink22:48
Jjp137this could be kinda related? not the exact versions though: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=101388122:48
Wonkathis exists: /usr/lib/x86_64-linux-gnu/libpyside2.cpython-311-x86_64-linux-gnu.so.5.1522:48
gnarfacelooks definitely related22:48
gnarfacei vote you symlink it and see what happens22:49
gnarfacebackup your freecad data first just in case22:49
Wonkayep, as I said, freepython should depend on the python 3.10 version and have a newer package that depends on the python 3.11 version...22:49
WonkaJjp137: yep, same issue with previous python version22:51
Wonkawaiting for aptitude to finish trivial updates first...22:51
Wonkabreakage with libreoffice again because something is unavailable O.o22:52
gnarfacethis is all happening on sid?22:52
gnarfaceer, ceres?22:52
Wonkaunstable22:52
Wonkalibreoffice-java-common (>= 2:7.4.4~) (UNAVAILABLE)22:58
Jjp137hm I see 4:7.4.4-7 here: https://packages.debian.org/sid/libreoffice-java-common23:05
fsmithredolicy23:08
Wonkalibfreecad-python3-0.20 0.20.1+dfsg1-2+b1 is installed and depends on libpyside2-py3-5.15 (>= 5.15.2), which is satisfied by 5.15.8-2+b1, which contains /usr/lib/x86_64-linux-gnu/libpyside2.cpython-311-x86_64-linux-gnu.so.5.1523:11
Wonkalibfreecad-python3-0.20 0.20.1+dfsg1-2+b1 also depends on libpython3.10 (>= 3.10.0)23:11
Necrodiverdjph: I dont use wifi so that wont be an issue, and my current pc has an integrated cpu, the new one will have a dedicated one, but the pc im moving it to is a "downgrade" because I wanted a core 2 quad and not an i3.23:12
Wonkaoh f*ck... did another "apt update", now libreoffice upgrade fails on something else... libreoffice-common 4:7.4.4-7 breaks libreoffice-core >= 1:7.5~, which includes libreoffice-core 4:7.4.4-7, which every other part of libreoffice depends on...23:18
Wonkasomeone missed a place where the 1: should've been replaced with 4:23:18
Jjp137yup: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=102953423:23
Wonkaoh my... I'm on a go today.23:29
Wonka0% [Working]E: Failed to fetch http://deb.devuan.org/merged/pool/DEBIAN/main/y/yq/yq_3.1.0-3_all.deb: 404  Not Found [IP: 131.188.12.211 80]23:29
Wonkarelated: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=102950923:30
bb|hcbWonka: That comes from deb.debian.org, retry with another mirror and it will work23:36
bb|hcbLooks like lately fastly does not stand up to its name23:37
Wonkawget http://deb.debian.org/debian/pool/main/y/yq/yq_3.1.0-3_all.deb worked...23:39

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