libera/#devuan/ Saturday, 2023-09-16

systemdletephogg:  Your suggestions inspired me to look for more efficiency.  I took your ideas and applied them to my own style and approach.   I manageed to eliminate calls to ls, grep, etc. without resorting to functions (other than the trapped cleanup routine, which sort of needs to be a function)00:23
systemdleteI figured out I could use "echo" rather than "ls" for most of the calls (but not all) since it is really just the file/directory globbing I was after.00:24
systemdlete(and it all still works on all of my systems)00:24
systemdletehttps://paste.debian.net/1292085/00:30
systemdletenvm last paste; more changes coming...01:02
systemdletehttps://paste.debian.net/1292090/02:25
systemdleteNow, I've tried to eliminate as much external calls as possible, but there are still some pipelines I think.02:25
systemdleteI managed to get rid of every last "ls" and "grep" call!   Took me some hard thinking and clever strategies, but I did it.02:26
systemdletephogg:  When you get a chance, you might want to look at this updated version of my script.02:26
* systemdlete is exhausted now and ready for a nap...02:30
ted-ioussystemdlete: That's very clever!04:08
ted-ioussystemdlete: But what is the script for? :)04:08
systemdleteted-ious, it is part of the software that detects other installed operating systems on a multi-boot computer.04:12
systemdleteIt was failing primarily, I think (per my tracing of them) because of some incompatibility between mdraid and mdadm raid, which are mostly compatible, but the utility programs seemed to be failing.   They were calling "dmraid" and I had difficulty finding it in the repos.04:13
ted-iousOh ok.04:16
systemdleteAlso, the os-prober had earned itself a place in the software hall of shame due to some security issues.  The main one, apparently, was the possibility of someone inserting a thumbdrive and getting itself booted into the system (not sure I understand all of that, but...), so I made sure I excluded any removable physical drives in my version.04:18
systemdleteEFI will replace the need for grub and its ilk in the long term, but for the time being, I still have older mainboards that only spport the older BIOSes.  And, yes, I know that there are libre ROM replacements, but those are a bit scary.  I have extra, older mb's here I could test on I suppose.04:19
systemdleteJust not a priority atm.04:19
* systemdlete is tired; steps afk04:24
chomwittwould firefox-esr in Deadalus ask me to update itself ?11:53
ted-iousI don't think any devuan or debian firefox tries to update itself.12:13
ted-iousThat's supposed to be done by apt.12:13
DFPWhy do Devuan/Debian primarily use names for versions, instead of just numbers? I forget each time which one is which.12:49
gnarfaceDFP: not exactly a support question, but it gets easier with practice and there's a good reason but i can't explain it right now13:23
gnarfacewhat's important is that daedalus is the current one13:24
gnarfacejoin #devuan-offtopic and i'm sure you can get people to philosophize with you about why names are important and why they're different from a number or a title13:26
DFPAlright, thanks.13:29
concordiaHello, where can I see the current merge requests for new packages ?13:45
rrqit varies depending on the package; generally the built sources are a combination of upstream sources and patches applied at packaging.13:51
rrqbasically you'll need to pursue that question for any package individually.. perhaps start at https://pkginfo.devuan.org13:55
rrqor (with deb-src points in sources.list), you can use "apt-get source $package" to get the source unpacked into a sub-directory. There you typically can inspect the Vcs-Git field (if any) of the debian/control file14:00
rrqthat brings you to the packaging project14:01
concordiarrq, thanks but I'm not a dev, I only wanted to know if there was some ongoing work to add obmenu-generator & urxvt-perls to devuan. If not, I'm not sure I'll be able to do it myself.14:07
concordiaEven though there is some 3rd party repo for obmenu-generator iirc, but I don't know if that's recommended to use that. Especially considering it is made for Debian.14:09
fsmithredthat last fact makes it more likely to work. Devuan is 99% pure Debian.14:11
concordiafsmithred, alright then I'll give it a try.14:11
fsmithredwe don't generally add packages, we just fork the ones that require systemd.14:12
fsmithredI've seen obmenu-generator mentioned on the forum multiple times. There might be some useful information there.14:12
fsmithreddev1galaxy.org14:13
concordiaI'll have a look, thanks. I have an other unrelated question. I use openrc but I noticed wpa_supplicant init file is missing. I added dhcpcd to default runlevel. wired networks works fine (and starts automatically) but not wpa_supplicant.14:16
concordiaI have to manually issue : "wpa_supplicant -Dnl80211 -iwlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf"14:16
concordiaOn gentoo, /etc/init.d/wpa_supplicant is provided ( https://dpaste.com/228ZQV358.txt ) but maybe things are done differenly on Devuan ?14:19
yann-kaeligHello14:58
yann-kaeligIs that true ? Alsa-firmware are not packaged for Debian ?14:58
buZzlikely they are in firmware-linux or something, i'd guess15:01
buZzthere -is- a debian package called alsa-firmware-loaders though15:01
yann-kaeligbuZz: Hi. Well, That the first things I have done, no alsa firmwares at all. The one I'm looking is multiface_firmware_rev11.bin15:06
yann-kaeligapt-file search output nothing15:06
buZzi think its in firmware-linux-nonfree.15:08
buZzits mentioned on https://wiki.debian.org/Firmware/List15:08
buZzbut not sure15:09
buZzif your driver is already reporting looking for it, you could just plonk the file in /lib/firmware somewhere ;)15:09
yann-kaeligWhat does that mean : Download is performed unsandboxed as root as file '/home/ykaelig/waveform_64bit_v12.5.11.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)15:34
fsmithredyann-kaelig, I don't know the full meaning of those words, but I get the same message whenever I do apt download as root. And I've been ignoring that message for about 10 years.15:36
yann-kaeligreally weird. This softwar ework as expected on Windows but I get Illegal Instruction on Linux platform because it has been built with more strict CPU flags on it15:36
fsmithredyann-kaelig, if you added a third-party repo to sources.list be very careful about what gets pulled in.15:39
yann-kaeligNo third-party repo. An official .deb from Traktion DAW15:40
yann-kaeligSo much issues and complicated things if you want to do simple audio processing on Linux. Everythign is so smooth on my Offline windows10 I have cleaned from all the garbage15:40
fsmithredBy third-party I mean not devuan repo.15:41
yann-kaeligNothing like that15:41
yann-kaeligFew days ago I was trying to install Spleeter from Deezer, on linux it's a pain and headbreaker, on windows everythign is in one standalone exe with an opensource GUI15:43
yann-kaeligAnyway. Thx15:44
yann-kaeligOk, So I have installed wavefrome12 with the new packages dependencies, but now when I removed the software and run autoremove not all installed packaged are removed15:51
yann-kaeligThe following NEW packages will be installed:15:51
yann-kaeligffmpeg lame libavdevice59 libcdio-cdda2 libcdio-paranoia2 libid3tag0 libimlib2 liblo7 libportmidi0 waveform12 xjadeo15:52
yann-kaeligThe following packages were automatically installed and are no longer required:15:52
yann-kaeliglame libid3tag0 libimlib2 liblo7 libportmidi0 xjadeo15:52
yann-kaelig?15:52
yann-kaeligwhy ffmpeg libavdevice59 libcdio-cdda2 libcdio-paranoia2 are not removed ?15:53
yann-kaeligWhy I lost my previous state before waveform12 installation ?15:54
ballsxdhey guys, upon trying to update my packages i get the following error: "Errors were encountered while processing:15:57
ballsxd linux-image-6.4.0-4-amd6415:57
ballsxd mpd15:57
ballsxdE: Sub-process /usr/bin/dpkg returned an error code (1)" I found that removing these packages with either dpkg or apt didnt work but manually deleting them from /var/lib/dpkg/info does work. is it recommended to do so?15:57
rrqpossibly there's a file in /etc/grub.d/ with '#!/usr/bin/sh' as it's first line?16:00
rrqballsxd: ^16:01
yann-kaeligOk so apt-cache rdepends --installed ffmpeg :16:01
yann-kaeligReverse Depends:   imagemagick-6.q16  < ffmpeg:i38616:01
yann-kaeligWhy ? Just why is this software taking the right on ffmpeg. I never asked for that16:02
yann-kaeligIs was working as expected before without ffmpeg, why is he trying to change his own state ?16:02
rrqhow did you get ffmpeg installed?16:03
yann-kaeligfrom waveform1216:03
yann-kaeligas a NEW packages16:03
rrqis waveform12 known by apt?16:04
yann-kaeligI do not understand your question16:04
rrqtry: apt-cache policy waveform1216:05
yann-kaeligThe package waveform12 has been removed16:05
yann-kaeligwith after that a autoremove16:06
rrqdoesn't matter. if it's known by apt, "policy" will tell you16:06
yann-kaeligIt was a standalone .deb and I installed the package with apt install -f <package.deb>16:07
yann-kaelig N: Unable to locate package waveform1216:07
rrqyes, maybe you are right that the autoremove logic imagines ffmpeg being expected by imagemagick-6.q16 and therefore not a candidate for autoremove16:10
yann-kaeligYes, because when I run a remove on ffmpeg then next after that following packages were automatically installed and are no longer required:16:11
yann-kaeliglibavdevice59 libcdio-cdda2 libcdio-paranoia216:11
yann-kaeligthese one that were installed for waveform1216:11
yann-kaeligOk, so now back to my previous state, everybody is happy, autoremove bad logic ^^16:14
yann-kaeligTime for a new package manager16:14
fsmithredall the other ones have copied apt16:15
yann-kaeligBut also time for a new distro logic. This old logic where everyone is part of the system doesn't work. Time to redesign the system16:17
fsmithrednot sure what you mean, but the ultimate in configurability is probably gentoo.16:17
fsmithredif you want more like windows there are things like appimage16:18
fsmithredevery app can have its own libraries16:19
yann-kaeligThe same issue occur on Gentoo on another level. Opensuse is working on something that I was studying. A core ( main ) minimal system where other software does not interfere with it.16:23
yann-kaeligIt could be also manager with the help of file system level16:24
ballsxd rrq: there are actually many files in there starting with a shebang16:25
ballsxd00_header        10_linux      25_bli        30_uefi-firmware  41_custom16:25
ballsxd05_debian_theme  20_linux_xen  30_os-prober  40_custom         README16:25
ballsxdhowever reading any of them doesnt make me any smarter16:26
yann-kaeligWell, CU later. Have a nice day/night16:26
[-_-]Hiiii16:44
[-_-]http://0x0.st/HOZF.txt16:44
[-_-]see the dh_usrlocal16:44
[-_-]what is the cause of this error?16:45
buZzis it a directory?16:49
buZztry ls -l home/atom/HWD/deb/st/my-st-debian/st-custom/debian/st-custom/usr/local/bin16:50
buZzeh, add a / before16:50
buZzmight be getting confused by the multiples of st-custom ?16:51
[-_-]home/atom/HWD/deb/st/my-st-debian/st-custom/debian/st-custom/usr/local/bin is a directory16:55
[-_-]home/atom/HWD/deb/st/my-st-debian/st-custom/debian/st-custom/usr/local/bin/st is not16:55
[-_-]so close yet so far17:05
buZz[-_-]: well, 'st' would be a file there, i guess?17:40
buZzi never really liked using /usr/local/ for anything at all17:40
buZzbut i guess its the norm, so meh17:40
[-_-]it has been fixed17:41
[-_-]the problem is with prefix != PREFIX17:41
[-_-]https://wiki.debian.org/Packaging/Intro?action=show&redirect=IntroDebianPackaging17:41
[-_-]here17:41
buZzah :D17:43
ksx4systemimage for Raspberry Pi that I'm using does not contain "menu-config" script, where do I download it?18:40
[-_-]guys do you all use sudo ?20:15
[-_-]how do you turn off or restart computer as non-root user?20:15
rwpAs a non-root user I tap the power button and let it shutdown.20:17
[-_-]how do you do it from inside the system?20:17
rwpOr for a reboot I will Control-Alt-F1 to get the vt console and then Control-Alt-Delete to trigger "shutdown -r now".20:17
[-_-]that can't be done on latest stable because of some bug in Xorg20:18
rwpTo reboot a remote computer from say an ssh connection then root is required.  Either su or sudo to run shutdown.20:18
rwpHmm...  New bugs.  I hate it when people just keep messing with things!20:18
rwpI noticed a few new (serious) bugs in my latest Daedalus Stable install but I did not notice that one.  Let me go double check it.20:19
rwpJust tested it (ctrl-alt-F1 then ctrl-alt-delete) on Daedalus Stable and it rebooted okay no problem.20:21
rwpI have installed and am using xserver-xorg-legacy though so that might be why it is working for me.20:22
[-_-]what is that legacy for?20:24
rwpAnd they quit before I could respond. :-(20:30
rwpFor pedantic completeness I will put this here.  https://manpages.debian.org/bookworm/xserver-xorg-legacy/Xorg.wrap.1.en.html20:33
XenguyI still maintain that this type of sudo usage is an (unfortunate) Ubuntu'ism20:36
ksx4systemany ideas why strongSwan started ignoring private key in letsencrypt certs? it just doesn't see it22:53
ksx4systemeg. ipsec listcerts does not contain "has private key"22:53
ksx4systemworked just fine before I've upgraded to daedalus22:53
gnarfaceksx4system: not sure if it's related but they moved the location of something and i had to move my winehq certs too23:18
gnarface.... so it might be related23:18
gnarfaceyea, instead of one big keyring somewhere they're now supposed to be in separate *.gpg files in /etc/apt/keyrings/23:19
gnarfacei didn't write down the command to extract the key from the bigger file but you should be able to find it somewhere near the reference to the migration to /etc/apt/keyrings/23:20
gnarface(i also had to add it to my sources.list for the winehq entry like this: deb [arch=amd64,i386 signed-by=/etc/apt/keyrings/winehq.gpg] http://dl.winehq.org/wine-builds/debian/ bookworm main)23:20
ksx4systemgnarface, it tries to read key from correct location and logs that it failed23:21
gnarfacehmm, dunno then23:21
ksx4system2023-09-16T23:06:08.652936+02:00 datura charon: 00[CFG]   loading private key from '/etc/ipsec.d/private/key.pem' failed23:21
ksx4systemverbose as hell23:21
gnarfacehmm. this was the only related change i can recall on the switch to daedalus23:22
ksx4systemit looks like newer strongSwan version just refuses to work with Letsencrypt certs23:22
gnarfacecould have been just a key format change perhaps? i've seen that once or twice in the past23:22
ksx4systemgnarface, I've used whatever certbot generated23:23
ksx4systemI don't even know what format is it ;) looks like SSL certificate used to look tho23:23
gnarfacei've never used certbot, i just remember that i had to recreate keys by hand here and there over the years as a response to various emergency security updates to openssl and gnutls23:24
gnarfacesometimes the old ones would be incompatible without actually looking visually different in format23:24
gnarfacedoesn't happen very often23:25
ksx4systemI guess something like this happened23:25
gnarfacei think those were mostly for much older keys than daedalus though23:25
ksx4systemgnarface, brand new SSL keys generated on daedalus (I had to add another subdomain)23:25
gnarfacehmmm....23:26
ksx4systemgnarface, the key format is the same, I've checked Letsencrypt docs and strongSwan docs23:36
* ksx4system would have a Fortigate long time ago if he could afford it23:37
gnarfacehuh23:37
gnarfacewell i wonder if they just decided to ignore letsencrypt... seems like that would have been news though23:37
ksx4systemgnarface, SSL certificate itself is just fine btw, I've verified that with website hosted on lighttpd23:38
ksx4systemChrome says this certificate is perfect23:38
ksx4systemgnarface, apparently letsencrypt switched from RSA to ECDSA23:42
ksx4systemkey format is the same23:42
ksx4systemalgorithm is not ;)23:42
gnarfaceah, there we go23:43
gnarfacei knew it had to be something like that23:57

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