libera/#devuan/ Friday, 2023-10-20

rwpavbox, I am curious if you made progress forward?  I feel strongly that perl was probably broken by an inconsistent installation likely from non-repos perl parts.  But not sure how to remove those parts without perl working for the system commands like apt-show-versions to work.00:40
avboxrwp: Yes and no, I could nearly all package put to daedalus, but debconf and libpam0g don't work. On the machine I want to upgrade I have a custom compiled kernel (mostly for Steamdeck). I even can reompile the kernel, but I can't install the created deb package. So I try it now on freshly installed system. I hope I find out what is really wrong on00:43
avboxmy master machine.00:43
rwpSteamdeck?  Could 3rd party packages installed from non-devuan repositories have brought in perl packages?  Would you be able to purge those off, at least long enough to upgrade?  You could re-install Steam again later.00:48
avboxrwp: I did not install 3rd party packages. Since kernel 6.1 there are also no patches needed to put everything together for steamdeck. And by the way, I have another image with kernel 5.x and dist-upgrade also fails there. But the image comes from devuan ascii, may be I have some really old perl stuff that results in the troubles. Will see.00:53
rwpIf you have used "cpan" to install local packages then that is another possible source of problems.00:55
avboxrwp: Can be that I once or twice used cpan for packages (I don't remember everything I installed during years). I will check it. Needs too some time. Anyway, thank you for your help.00:57
rwpGood luck!00:58
cousin_luigiDoes devuan use ifupdown by default?14:16
buZznot sure, i do have it installed on my desktop14:20
buZzi didnt install it myself14:20
tr|ckcousin_luigi: as long as the directive "source /etc/network/interfaces.d/*14:21
tr|ckcousin_luigi: shows up in /etc/network/interfaces, it does.14:21
buZzah, mine does14:22
fsmithredcousin_luigi, it appears to be included in the default desktop install (it's in the desktop live)14:23
cousin_luigiI ask because I'm in a tangle with ifupdown-ng14:24
cousin_luigiBut few appear to be using it14:24
fsmithrednever heard of it14:26
buZzmaybe rewritten in rust? :D14:28
buZz(no, just C)14:29
spine-o-saurusmy system is broken again. ran apt update went through, but apt upgrade is reporting E:broken pacakges(libelogind-compat : Conflicts: libsystemd014:34
tr|ckcousin_luigi: ifupdown-ng is interesting because it extends the capablities of the former ifupdown: https://packages.debian.org/sid/ifupdown-ng14:34
cousin_luigitr|ck: Yes, also it handles race conditions nicely. But I couldn't make it work with hotplug.14:35
spine-o-saurusalso I'm getting an error building software it says lz4frame.h not found14:36
spine-o-saurusoh nm i just needed to install liblz4-dev14:38
tr|ckcousin_luigi: since 'Interfaces marked "allow-hotplug" are brought up when udev detects them' (from: man 5 interfaces) I would investigate on udev14:48
cousin_luigitr|ck: My configuration works with ifupdown, the device is created. It's not configured though.14:49
cousin_luigitr|ck: Furthermore, I couldn't find any occurrence of the "hotplug" keyword inside the ifupdown-ng source tree.14:49
tr|ckcousin_luigi: that's a point!14:50
tr|ckcousin_luigi: did you find the same occurency inside classic ifupdown?14:51
cousin_luigitr|ck: There are references to it, yes.14:51
cousin_luigihttps://lists.sr.ht/~sircmpwn/alpine-devel/%3C12372156.q0HFhEdf7Z%40localhost%3E <- "Future plans for ifupdown-ng include hotplug support"14:52
cousin_luigiPerhaps I should consider ifupdown214:53
tr|ckcousin_luigi: well... I'm not using ifupdown-ng, but from what you're telling it seems the new tool is not aware of the allow-hotplug feature.14:54
cousin_luigitr|ck: Indeed. But it can handle race conditions better14:55
cousin_luigiwith regular ifupdown I'd have to create an ugly script to make sure the proper interface is brought up before pppd attempts to use it.14:56
tr|ckcousin_luigi: exactly... Let me take a look into ifupdown-ng source code...14:56
tr|ckcousin_luigi: ifparse.c:if (iface->is_auto)14:58
cousin_luigitr|ck: How does that help me?15:00
tr|ckcousin_luigi: it seems that it is aware of auto directive, but as you said, no occurence of hotplug.15:03
cousin_luigitr|ck: Well, one would hope so. Without the auto directive, no device would go online on its own.15:04
tr|ckcousin_luigi: (: sure!15:04
tr|ckcousin_luigi: now I wonder how classic ifupdown source coude handles hotplug... Let me check15:05
cousin_luigiifupdown2 seems to support both hotplug and dependencies. But I'm not sure leaving my network to the mercy of python scripts would be a good idea.15:07
rrq"allow-hotplug" is handled by /lib/udev/net.agent15:08
rrqcousin_luigi: isn't pre-up directive sufficient?15:10
tr|ckcousin_luigi:  TARGET_IFACE=$(ifquery --allow hotplug -l "$INTERFACE" || true)15:11
tr|ckcousin_luigi: there's no hotplug in classic ifupdown either. The thing is managed by a shell script and ifquery.15:11
cousin_luigirrq: But what is going to bring it up?15:11
cousin_luigioh15:11
* cousin_luigi is still somewhat confused15:12
rrqI was imagining "pre-up" on "ppp" could bring up the carrier interface?15:13
tr|ckcousin_luigi: take a look at ifupdown source either from the github repo or by apt-get source ifupdown15:14
cousin_luigitr|ck: Yes, I have it15:14
cousin_luigirrq: However you slice it, you're going to need a trick for this or that15:14
tr|ckcousin_luigi: debian/ifupdown-hotplug is the script that manages hotplug15:15
tr|ckcousin_luigi: and as rrq correctly pointed out, is placed inside udev control (/lib/udev/ifupdown-hotplug)15:16
cousin_luigitr|ck: What I mean is that each (ifupdown, ifupdown-ng, ifupdown2) has its own drawbacks15:16
cousin_luigitr|ck: And can I invoke it from ifupdown-ng ?15:17
tr|ckcousin_luigi: for sure! (: That's why I've been sticking on classic ifupdown since it appeared on the scene...15:17
tr|ckcousin_luigi: you should give it a try15:18
tr|ckcousin_luigi: I would do it15:18
tr|ckcousin_luigi: I mean that I'd try to make it cope with ifupdwon-ng15:18
tr|ckcousin_luigi: the fact is that it's udev in charge of the process15:19
tr|ckcousin_luigi: we both took a look at the source code of both ifupdown and ifupdown-ng and we both arrived to the conclusion that they don't manage directly hotplug. This is actually correct because if there's something that is aware of new changes on the working state of a NIC this one is udev.15:21
rrq(mmm I'd also be weary about python)15:24
cousin_luigitr|ck: I've tried classic ifupdown and couldn't make it work anymore even with the backup interface15:27
cousin_luigi(which explains my absence for the last few minutes)15:28
rrqone problem with hotplug driven networking setup is that the interfaces are raised and configured during pre-pivot boot, taking all config from the initrd filesystem15:28
rrqit's usually safer with "auto" setup15:29
cousin_luigiI'm confused15:29
tr|ckcousin_luigi, rrq: in this case a new initrd image should be created.15:29
cousin_luigihttp://paste.debian.net/hidden/58df2860/ this is my (sanitised) current configuration15:30
cousin_luigiWhat should I add to initrd?15:30
rrqif there is ordering needs, then a single auto statement can name the interfaces in desired order15:30
cousin_luigirrq: How do you mean?15:30
rrq"auto eth0 ppp" would bring up eth0 first, then ppp15:31
cousin_luigiah15:31
cousin_luigirrq: Does the numbering inside interface.d affect the running order?15:31
rrqpossibly the order of auto statments is important15:32
rrqbut certianl if mentioned in the same statement15:33
cousin_luigiok, I suppose I'll have to merge those two15:34
cousin_luigistay tuned:)15:34
rrqnumbering of sourced files dfeines their inclusion ordering (alphabetical, really) and everything sourced is as if in place of the source statement.15:37
cousin_luigiSilly me, I was testing this on the systemd test pendrive ^_^15:47
cousin_luigi(please don't summon the inquisition)15:48
[-_-]Hi20:12
[-_-]guys, I have imagemagick and graphicsmagick installed, but it seems like they don't contain binary20:13
gnarfacethey do, they just have super dumb names20:14
gnarfaceoh, i see what you mean20:16
gnarfacethe imagemagic package with the description "binaries" doesn't actually have the binaries, hilarious20:17
rwpAll of them are using Debian Alternatives.20:17
[-_-]got em20:17
gnarfacebut they're there, they're in one of the dependency packges20:17
gnarfaceyea20:17
[-_-]graphicsmagick has gm20:17
[-_-]I got nothing for imagemagick though20:17
gnarfacedpkg -l |grep imagemagick20:18
gnarfacelook in one of the others, like imagemagick-6.q1620:18
rwpIt's just super confusing because everything is an alternative.  For example: update-alternatives --display convert20:18
gnarfaceyea they're all symlinked20:19
rwpls -l /etc/alternatives/ | grep im6.q1620:19
rwpBut otherwise all of the normal commands are there.  convert, mogrify, import, and so forth.  If you don't look you would not know it was this way.20:20
[-_-]thanks rwp & gnarface20:30
[-_-]what is this alternatives about ?20:32
DelTomix[-_-]: In cases where you need multiple versions of things to be available - it lets you set defaults for which one to use. you manage it with the 'update-alternatives' command ... https://linuxconfig.org/how-to-set-default-programs-using-update-alternatives-on-debian-based-distributions20:37
[-_-]:o20:37
rwpHere is an old mailing list posting of mine where I go into the alternative system in some detail.  Skip the first couple of paragraphs. https://lists.debian.org/debian-user/2002/08/msg02808.html20:56
debdog2002, dang that is _old_20:57
rwpI am feeling the years more and more every day! :-)20:58
rwpIf I were to swap the names of packages around to be more current, get rid of elvis now for example, emacs stays the same though, then it would all apply identically now.20:59
rwpJust to be clear though I was "ranting" about emacs versus vi versus vim I was mostly having fun with it and wrote it with a smile on my face.21:03
debdogoh, el_vi_s21:05
rwpBefore vim appeared there were several vi clones and elvis was quite popular back-in-the-days before vim really became popular.21:05
debdogI suppose it is pronounced el_whizzz21:07
rwpBefore nvi was available actual vi was not free-software and so the clones were needed.  There were several.21:07
* [-_-] restarting xorg21:07
rwpThen vi became free'd as nvi missing the encryption feature so that it could be exported.  Before that encryption was a munition regulated by the ITAR the Internation Traffic and Arms Regulation (or something similar to that).21:08
rwpBut clearly today vim has one the vi-side of the editor wars.  Emacs is still popular.  When I chat with random people mostly I only hear about vscode which is taking over.21:10
rwps/one/won/  (gack, can't type)21:11
clemens3and gnu emacs has one the emacs side, or at least i haven't heard about xemacs in a long time23:45
clemens3one=won23:45

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