IRC channel logs

2023-01-17.log

back to list of logs

<mirai>and I have no idea wtf happened
<lechner>sometimes, aliens eat people too. i hope mirai is alright
<mirai>ACTION puts on sunglasses to make the lizard eyes less noticeable
<mirai>I've no idea how to repair this system
<mirai>guix gc verify doesn't complain of anything
<mirai>-r-xr-xr-x 1 root root 0 Jan 1 1970 /gnu/store/fx2iy35p6hl5mfji6kmg9kh2vlf90dfg-util-linux-with-udev-2.37.2/bin/dmesg
<bumble[m]>does anyone know where an example config using wireplumber to setup audio might be found?
<bumble[m]>I've just found this config --looks "involved" https://git.sr.ht/~krevedkokun/dotfiles/tree/master/item/channel/home/services/pipewire.scm
<panosalevro>bumble[m]: i have pipewire+wireplumber installed and execute it via my wm. i thought that was sufficient
<bumble[m]>@panosalevro ok thanks I'll consider that approach
<panosalevro>np. i prefer the simplest solutions
<panosalevro>question. i have mpc installed but my terminal complains that mpc is command not found. how come?
<lechner>do you use guix home, or did you source the new profile?
<panosalevro>lechner: how do i source the new profile?
<panosalevro>and another silly question. what's the best way to log in and out on guix?
<apteryx>mirai: did you figure out your problem?
<mirai>no
<mirai>I managed to switch-back to a functioning generation
<mirai>but
<mirai>if I reconfigure again then dmesg and rsync at least get turned into 0-byte files
<mirai>funnily, the system can reboot and boot even in the broken generations
<mirai>so it's not completely impossible to use
<mirai>the conundrum now is: do I reconfigure and lose rsync and dmesg (and who knows what else) to activate my latest config.scm or just upgrade the packages or do I remain in the last working generation
<mirai>looks like that computer got hit by some kind of curse
<mirai>can you do a successful pull + reconfigure and run rsync or dmesg afterwards?
<gnucode>I just found out about guile-studio. That's super cool!
<apteryx>mirai: perhaps your disks are dying? I'd take a backup
<apteryx>and check smartctl
<apteryx>do you use ext4?
<mirai>apteryx: it's raid1 btrfs
<mirai>on the working generation, dmesg doesn't show any kind of message suggesting read errors
<apteryx>OK; that should have you well covered (raid1 btrfs) toward detecting file corruption
<mirai>odd that both rsync and dmesg go consistently to zero bytes
<apteryx>does the same rsync run fine when booting a previous generation?
<lechner>mirai / is something in your update infrastructure corruptes, such as Guix?
<mirai>and guix gc verify doesn't complain
<mirai>it can't be disk corruption (?)
<lechner>it isn't
<mirai>apteryx: yeah
<mirai>but it also is a older "derivation"
<apteryx>you can run it from the store; the exact same hash
<mirai>or has a different hash (when read-linked)
<lechner>are you out of disk space?
<mirai>yeah, the old hash will work
<mirai>but the new one won't
<apteryx>this one /gnu/store/3xpf9j6cy8i7vham11c1p4zcdqadjzph-rsync-3.2.7/bin/rsync ?
<mirai>lechner: 2% used
<mirai>apteryx: that one is broken to me (0 bytes)
<apteryx>472K /gnu/store/3xpf9j6cy8i7vham11c1p4zcdqadjzph-rsync-3.2.7/bin/rsync
<mirai>-r-xr-xr-x 1 root root 0 Jan 1 1970 /gnu/store/3xpf9j6cy8i7vham11c1p4zcdqadjzph-rsync-3.2.7/bin/rsync
<mirai>-r-xr-xr-x 2 root root 469K Jan 1 1970 /gnu/store/72isv0hc8wp65bajhdh8jqvd3m9w0p4x-rsync-3.2.7/bin/rsync
<apteryx>try deleting the system or user profile(s) that reference that rsync; then run 'guix gc -D /gnu/store/3xpf9j6cy8i7vham11c1p4zcdqadjzph-rsync-3.2.7' and try reinstalling it'
<apteryx>(guix build /gnu/store/3xpf9j6cy8i7vham11c1p4zcdqadjzph-rsync-3.2.7)
<apteryx>you could also try: guix build --no-grafts --check /gnu/store/3xpf9j6cy8i7vham11c1p4zcdqadjzph-rsync-3.2.7
<apteryx>to have it rebuild and compare with what's there
<mirai>ok, that no-graft check worked
<mirai>it's no longer 0 bytes
<mirai>for some odd reasons, neither gc repair, verify or previous guix build --repair worked
<mirai>or some permutation of the command
<apteryx>i think 'guix gc --repair' is flawed, it was discussed recently, although I don't have experience with it
<apteryx>you may have got bitten by #51400?
<guix-helper-bot>"--check, --rounds and --keep-failed used together produce empty store items" https://issues.guix.gnu.org/51400
<mirai>but is there some command to actually verify what's broken? since idk if it's only dmesg and rsync that got cursed
<mirai>it's probable
<mirai>let me see if I can dig out anything coherent from my bash history
<mirai>ok, I'm sure neither of these solved anything https://paste.centos.org/view/45f98956
<apteryx>perhaps #54192
<guix-helper-bot>"guix gc --verify=repair,contents does not repair store" https://issues.guix.gnu.org/54192
<mirai>rather odd as it's the system that sees the least radical changes
<mirai>I wish I could tell you exactly what caused it to crap itself but I've no clue what made these files go 0-byte
<mirai>the glitch gremlin?
<mirai>I only noticed it when I wanted to rsync a new config.scm in
<mirai>so it must have been in this state for days at least
<trevdev[m]>Anyone else here use ZSH and get weirdness with a --pure shell? I wrapped all of my extensions in an environment check to avoid most of the broken, but the shell still doesn't read delete properly. It inserts a space instead, even though the character before is actually deleted
<unmatched-paren>hello guix :)
<bumble[m]>unmatched-paren I copied your wlgreet configuration but only get a blinking cursor. I don't want to bother you... if you are too busy to help me I understand, but if you will help me that would be awesome
<bumble[m]>I don't know how to troubleshoot it
<unmatched-paren>bumble[m]: everybody who copies it gets that and i don't understand why :(
<bumble[m]>haha okay
<unmatched-paren>could you try telling me what's in /var/log/greetd-1.log?
<bumble[m]>okay its on a different machine, I'll carry it over here and power it up
<bumble[m]>also, thank you for the terrific waybar configuration
<unmatched-paren>no problem :)
<unmatched-paren>it must be something stateful that's causing it to work on my machine
<unmatched-paren>since there was someone who copied my entire config basically verbatim and it worked for them
<unmatched-paren>s/worked/didn't work/
<cumunculus>the evil of state...
<bumble[m]>it shows several lines exactly the same message...
<bumble[m]>```
<bumble[m]>error: check_children: greeter exited without creating a session
<bumble[m]>```
<unmatched-paren>bumble[m]: yes, that's the same error that jgart got, i believe
<unmatched-paren>bumble[m]: are you using elogind or seatd?
<bumble[m]>@unmatched-paren using seatd
<bumble[m]> https://github.com/iambumblehead/guix-home/blob/main/guix.system.scm
<bumble[m]>the wlgreet parts are commented out and the file is a little chaotic (sorry)
<unmatched-paren>bumble[m]: maybe it's because i'm using sway 1.7 and you 1.6?
<bumble[m]>where does that new sway come from?
<unmatched-paren>guixrus channel
<bumble[m]>okay
<ulfvonbelow>openssl failing to build for anyone else?
<bumble[m]>crazy undecipherable of a build drv file when updating the channels, possibly because my guix channel is pinned to 1.4.0 release...
<bumble[m]>* crazy undecipherable error of a
<ulfvonbelow>I'm thinking it might be an expiring certificate issue, since the daemon doesn't create a time namespace or anything like that
<ulfvonbelow>speaking specifically of openssl-1.1 here
<vivien>ulfvonbelow, it builds fine here
<vivien>Oh
<vivien>Retrying for openssl@1.1
<jgart[m]>lechner: I like the )( bug paren squash reference
<vivien>(1.1.1-s)
<jgart[m]>nice!
<ulfvonbelow>ah, in my repository it's 1.1.1l. I should probably rebase if there's a newer one now
<cgenie[m]>Is there any reason why guix limits itself to few CRAN packages for R? What nix does here is they have a script to parse the whole CRAN repository and generate the definitions automatically. I am missing packages like plumber which I could add by hand but its a waste of time IMHO.
<cgenie[m]> https://github.com/NixOS/nixpkgs/tree/master/pkgs/development/r-modules
<vivien>openssl-1.1.1s builds fine on my machine ulfvonbelow
<cgenie[m]>cgenie[m]: By "few" I mean "not all". :)
<vivien>cgenie[m], I can speculate that guix would like to check the license of the packages and unbundle dependencies
<ulfvonbelow>cgenie[m]: 'guix import cran plumber' gets you 90% of the way there. I don't know how cran specifically handles these issues, but many popular language-specific packaging systems have issues with security, typo-squatting, including malware, especially in cases where anyone can upload a package with little vetting.
<cgenie[m]>ah ok thank you
<ulfvonbelow>I don't know if it's the official rationale, but importing only what we need and use avoids pulling in any landmines by accident.
<ulfvonbelow>node and pypi in particular have had nasty cases
<civodul>Hello Guix!
<unmatched-paren>hi civodul :)
<bumble[m]>hello civodul
<rekado>cgenie[m]: see https://github.com/guix-science/guix-cran
<rekado>cgenie[m]: in Guix proper we provide curated packages; the packages are known to build fine, minified Javascript is built from source, any bundled libraries are replaced, etc
<rekado>for everything else there’s the mass import of the guix-cran channel
<antipode>sneek: later tell lechner: The openssl bug is reported at https://issues.guix.gnu.org/56137
<sneek>Got it.
<guix-helper-bot>"OpenSSL 1.1.1n test failures due to expired certificates (time bomb)" https://issues.guix.gnu.org/56137
<ulfvonbelow>vivien: have you tried 1.1.1l with --no-grafts? Are you on core-updates or master?
<ulfvonbelow>when I try --no-grafts 1.1.1l fails.
<f1refly>I'm trying to use pymediainfo (https://pypi.org/project/pymediainfo/) in a project, but it can't find libmediainfo.so.0. Shouldn't the lib be picked up by the program after I installed it for my user?
<klm_>Is it possible to run AMD GPUs on Guix/Linux-Libre? I don't need 3d acceleration, just its video output connections. `xrandr --listproviders` only show my integrated Intel GPU and dmesg is (unsurprisingly) complaining about firmware blobs, but I was hoping something like noveau would exist for AMD GPUs too.
<ulfvonbelow>when last I tried running with just the basic functionality on my integrated amd graphics, it would only output to a single monitor, at a low resolution IIRC
<ulfvonbelow>well, only output /independently/ to a single monitor. I was able to connect a second one, but it just duplicated the output to the first.
<klm_>Oh, even on integrated AMD GPU you're pretty helpless? I've got a RC480 (pretty old)
<ulfvonbelow>I'm too young to be feeling this old
<ulfvonbelow>I haven't been able to get AMD GPUs working on linux-libre all the way back to the radeon hd 6670
<ulfvonbelow>(didn't manage to get it working, either)
<klm_>Sorry, meant RX480. It's a dedicated GPU. Gosh, thanks for the info (or warning, rather)
<klm_>So what I'm getting from this is: 1. never go for AMD GPUs (neither dedicated or embedded) 2. go but an old Nvidia GPU for more monitor output connections and use noveau.
<klm_>Will plan 2. work? `noveau` shouldn't contain any firmware blobs I don't expect, but I've never tried it. And for old cards I'd expect it to be relatively stable too. Am I being naive?
<ulfvonbelow>the freedom issues around graphics card are rather frustrating. Corporation 1 wants their proprietary code loaded into the hardware at boot time by the kernel, and corporation 2 wants their proprietary code loaded into kernel / user space.
<ulfvonbelow>plan 2 will work somewhat, at least, if you research the cards in question
<ulfvonbelow>I ended up getting 2 NVIDIA 8400 GS'es, but I ended up having a ton of issues with xorg freezing up
<ulfvonbelow>still not sure what the root cause was
<ulfvonbelow>also worth noting, those particular cards have 3 ports but only allow independent video output to 2 monitors at once
<klm_>ouch ... did you have any success with any other dedicated GPUs?
<klm_>is that a hw limitation, or the driver you think?
<klm_>where can I find out what GPU have good noveau support?
<Nathan-web>Hi. While trying to run a binary I was getting an error `No such file or directory`, which I figured out was because it linked to something in /lib64, so after some debugging I ran `guix shell -CF coreutils gcc-toolchain` and tried to run it again but now I get `error while loading shared libraries: libgcc_s.so.1: cannot open shared object file: No
<Nathan-web>such file or directory`
<ulfvonbelow>unsure. A while back, after messing with my hardware a bit, I found out my RAM was somewhat unstable at the speed I had it at. Could have been related to that. Right now I only have one of the discrete cards in and it's running smoothly, so the other one might have just been going bad.
<Nathan-web>I can find the library, but is there a reasonable way of telling guix shell to put those libraries where they would be expected, or to tell the binary about the actual location?
<klm_>I see. So Nvidia 8400 might be worth trying out, thanks a buch for your tips. Saved me _a lot_ of hassle.
<ulfvonbelow>I'd recommend looking at whatever resources the nouveau project has
<ulfvonbelow>also there's h-node, but some of the information there is wrong
<ulfvonbelow>I've got 3 or 4 AMD GPUs that I can't use sitting around because of it
<klm_>nice! never heard of h-node.org.
<ulfvonbelow>worth noting that the intel integrated graphics might work decently
<ulfvonbelow>at least the older stuff, my sandy bridge laptop works okay with linux-libre
<klm_>yes, I've used my Intel HD for about 1 year. After I fixed some power issues with it (https://bbs.archlinux.org/viewtopic.php?id=279489), it's been flawless! Love it. But I need more than 3 monitors so that's why I'm now thinkig about dedicated GPUs.
<jpoiret>Nathan-web: you should have a look at the recent fhs container feature (https://guix.gnu.org/en/blog/2023/the-filesystem-hierarchy-standard-comes-to-guix-containers/)
<jpoiret>though really, in general you shouldn't just expect binaries you downloaded from the web to just run on guix
<jpoiret>oh
<jpoiret>didn't notice -F was shorthand for --emulate-fhs
<Nathan-web>I'm actually using the flags I found from that page. This binary came as part of an npm package that I need.
<klm_>ulfvonbelow: Found a discussion on RC580, in case you haven't seen it https://h-node.org/videocards/view/en/2024/
<Nathan-web>I just tried symlinking the library to /lib in the container, but it is a readonly directory :/
<jpoiret>you can try `LD_DEBUG=libs <your cmd>`
<jpoiret>where is the lib if not in /lib? you mentioned you could find it
<Nathan-web>In /gnu/store/1xm0kpx1q2i7dw1da4pgkd6s7raislgs-gcc-12.2.0-lib/lib/
<Nathan-web>The command you gave shows me that it is searching under various places in /gnu/store/dhd4a04vxs6nzz0kqnhp0f2sm1q1xbkq-glibc-for-fhs-2.33/lib/
<cbaines>does anyone know about NTP and IPv6? It seems like 0.guix.pool.ntp.org doesn't support v6
<jpoiret>Nathan-web: you just mentioned that the lib is in the "lib" output of gcc, which isn't included in gcc-toolchain. You probably want to add gcc:lib to your shell invocation
<Nathan-web>That got me on the right track though: export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/gnu/store/1xm0kpx1q2i7dw1da4pgkd6s7raislgs-gcc-12.2.0-lib/lib/ allowed me to run the program.
<jpoiret>if the library you want isn't included in the /lib of the profile `guix shell` built, it's probably because you haven't asked for it
<Nathan-web>jpoiret: Oh, that works too. I didn't realize that it was in a different output.
<Nathan-web>I was only including gcc
<ulfvonbelow>Nathan-web: note that you can make use of the --symlink option in setting up the container, e.g. guix shell --symlink=/lib=lib gcc-toolchain
<jpoiret>the --emulate-fhs option already does all that
<jpoiret>basically emulate-ghs is a glorified list of --symlink= options (with other tricks up its sleeve though, it's great work!)
<jpoiret>fhs *
<Nathan-web>Thanks for the pointers. Using gcc:lib has definitely been the way to go.
<ulfvonbelow>ah, nice
<willy-suspicious>Hi, I was wondering if anyone ever hit a segfault when adding a user to a group in guix?
<civodul>willy-suspicious: hi! nope; a segfault of which command?
<willy-suspicious>civodul: gpasswd
<civodul>willy-suspicious: oh, i don't know this tool, but to add/remove users on Guix System, you should modify your config and run "guix system reconfigure"
<civodul>changes made otherwise will be lost upon reboot
<willy-suspicious>Thanks, I recently decided to daily drive guix. Very different to what I am used to.
<sneek>efraim: Greetings :D
<efraim>sneek: botsnack
<sneek>:)
<nckx>mirai, lechner: Yes, and hence the full stop is part of the URL ('.png.' vs. '.png') and correct parsing gives 404. Using '<URL>.' avoids any ambiguity because '>' MUST be a separator. Whoever complained was using buggy software. That is all.
<nckx>But enough about RFC 3986!
<nckx>mirai: Whxcm file system was this?
<bdju>is anyone working on getting QT6 working? I'm specifically wondering about qutebrowser using it but not sure if it gets upgraded for everything at once or per-package. I hear being on QT6 may help with the awful issue of getting stuck on failing cloudflare browser checks
<bdju>s/QT/Qt/g
<nckx>What's broken?
<nckx>In Qt6 I mean.
<bdju>uhh nothing
<bdju>I just mean qutebrowser isn't using it yet so I thought guix was behind
<bdju>although now I'm also hearing that Qt6 isn't merged into master for qutebrowser yet anyway
<nckx>IC. Well, feel safe. Cloudflare is here to protect you from terrorists by telling you which widget toolkits you may us.
<nckx>*use
<bdju>I'd rather take the terrorists if I had the option
<ulfvonbelow>the orwellian terminology they use drives me more insane than not being able to access the site. "Checking that the connection is secure". Ah yes, whether tls works or not really depends on whether you can push jshelter all the way to the "Extremely likely you were fingerprinted" level. I can't help but wonder whether giving a third party key material to allow them to decrypt the stream and tamper with it just *might* affect how secure
<ulfvonbelow>it is.
<Schmoho>using guix as package manager on mint broke some of my applications that now try to look up libpthread in the gnu store?!
<Schmoho>evolution: symbol lookup error: /gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/lib/libpthread.so.0: undefined symbol: __libc_pthread_init, version GLIBC_PRIVATE
<Schmoho>how do I even begin to debug this?
<vivien>ulfvonbelow, with --no-grafts, I have 12 failed tests
<ulfvonbelow>heh, that confused me for a while too. I think it's telling you that the subtest that failed was the twelfth one (apparently telling you the /name/ or anything else about it is far too sensible for it to do)
<ulfvonbelow>I'm guessing it says Failed test: 12
<jpoiret>Schmoho: is GIO_MODULES set to something in Guix?
<jpoiret>it's the usual culprit
<vivien>Oh right it’s 1 failed test
<Schmoho>where would I find that out?
<vivien>But number 12
<Schmoho>I dont see it in my env
<Schmoho>does not occur in my .guix-profile/
<jpoiret>can you paste your `env` then Schmoho?
<Schmoho> https://paste.debian.net/1267521/
<jpoiret>what specific programs run into this issue? can you launch them manually with `LD_DEBUG=libs`?
<jpoiret>we've run into some sandboxing software once which was overriding the already-custom ld of guix
<Schmoho>chromium and evolution
<Schmoho> https://wiki.ubuntuusers.de/Evolution/
<Schmoho>sorry for the stupid question, but how do I pipe the output in this case? `LD_DEBUG=libs evolution` cannot be redirected directly it seems
<klm_>How can I disable the `amdgpu` driver? `modprobe.blacklist=amdgpu` in kernel-arguments don't seem to do the trick.
<Schmoho>evolution libs
<Schmoho> https://paste.debian.net/1267524/
<nckx>Does 2> not work for redirection?
<Schmoho>it does
<nckx>Ohkay.
<Schmoho>already pasted
<Schmoho>sorry for the confusion
<Schmoho> https://paste.debian.net/1267524/
<nckx>What the hell.
<nckx>Does unsetting GTK_PATH help? That's just a guess though.
<nckx>Seems like the GIO...MODULES answer yesterday was just the easy mode.
<Schmoho>nope
<Schmoho>I just purged all the evolution libs and reinstalled but its the same error too
<nckx>Right, that should never help.
<Schmoho>^^
<nckx>I'm clueless about where that nss/glibc reference could come from on a foreign distro. So far it was always treacherous Gio'.
<nckx>NSS *is* 'weird'.
<Schmoho>how can I find that out?
<vivien>klm_, try (kernel-arguments `(,@%default-kernel-arguments "modprobe.blacklist=amdgpu,radeon"))
<vivien>In other words, try to blacklist both amdgpu and radeon
<nckx>I don't know. You could check ld.so.conf or delete ld.so.cache but both feel pretty desperate.
<nckx>There's probably some more obvious vector I'm just unaware of and I can't play around with an affected system to find it 🤷‍♀️
<nckx>If your disto's 'ldconfig -v' prints store file names, something's badly borked.
<nckx>ACTION AFK.
<Schmoho>does not seem like it
<mirai>nckx: BTRFS
<apteryx>I'm starting to look at 'guix pack -f rpm', and it seems I need to pass a list of files to cpio to create a cpio archive
<sneek>apteryx, you have 1 message!
<sneek>apteryx, antipode says: You could delay expansion by using 'local-eval', though it will get re-expanded each time, so not great for performance.
<apteryx>what would the fastest way to list all the files found in a profile derivation output?
<apteryx>find-files?
<mirai>civodul: Will these descriptions do? https://paste.centos.org/view/9198175b
<civodul>mirai: hi! yup, perfect; bonus points if you add an example ;-)
<civodul>apteryx: yes, sure
<civodul>(for a profile or any other directory)
<apteryx>OK! I was a bit tempted to (system "find profile | cpio -o my-archive.cpio")
<civodul>(guix build utils) and (guix cpio) will serve you better i'm sure ;-)
<apteryx>oh! we already have a cpio module
<civodul>slightly more verbosely, i admit
<apteryx>I had forgotten it
<civodul>i mean we even have a POSIX shell and a C compiler :-)
<civodul>world domination is near!
<apteryx>haha
<apteryx>a couple yaks away
<mirai>civodul: https://paste.centos.org/view/185c1ccd
<apteryx>so the rpm cpio payload should be taken care of; now to wreste with its binary metadata format
<apteryx>*wrestle
<civodul>mirai: nice! perhaps either choose another IP address and call it "localhost" with no aliases though?
<civodul>(there's an RFC specifying IP address ranges available for test/doc purposes)
<mirai>I was thinking an example with aliases would be useful (to remind that they exist :))
<mirai>I can replace the IPs
<civodul>or you can have one for localhost, and one for something else :-)
<apteryx>mirai: oops, I just merged your configuration->documentation bug erroneously
<apteryx>fixed
<mirai>np :)
<mirai>civodul: what entry are you thinking for localhost? https://paste.centos.org/view/e2591900
<mirai>The default ones with the os host-name are already present so I'd prefer not to duplicate them again
<mirai>s/again//
<mirai>or have conflicting 127.0.0.1 localhost; 192.x.x.x localhost; (<< not sure if it's even valid)
<apteryx>wouldn't a change to meson build system cause lots of rebuild on master? I was looking at 34c7dd7e09
<apteryx>ah, it's only used by the meson-cross-build, so perhaps only cross-compilation would be affected, for which we'd have little substitutes
<mirai>apteryx: sure it's a good idea to export the accessors for vnstatd #60788 ?
<guix-helper-bot>"[PATCH] services: Add vnstat-service-type." https://issues.guix.gnu.org/60788
<mirai>it will balloon the amount of exports
<mirai>(they're directives present in vnstat.conf)
<apteryx>perhaps they can be added later when someone requests to have them
<apteryx>but typically we add them from the onset
<mirai>I think not every service is doing this (atm)
<civodul>anyone working on a blog post re FOSDEM?
<mirai>you could in a rather inelegant way use (@ (gnu services ...) ....) to get access to them
<apteryx>mirai: I guess leave this aside for now, or bring this into discussion to guix-devel
<apteryx>in my book it should be public because otherwise users have no introspection capabilities into the records, and guix is supposed to be hackable
<mirai>There's value in it though in most cases the records tend to be always crafted (not inherited from modules)
<mirai>so in practice these accessors are very seldom used (I think)
<apteryx>I used them when introspecting my system configuration
<mirai>wrt least-authority-wrapper, how well does that interact with ifaces in other namespaces?
<mirai>I'm worried that this may cause unexpected "missing counts/interfaces" in namespace using configurations
<mirai>you can already imagine bug titles of the sort "why vnstat no show iface"
<apteryx>the services do not run in a network namespace, per (default-namespaces)
<apteryx>when using make-forkexec-constructor/container
<mirai>right, but would putting it in a namespace cause interfaces that should be counted "not count"?
<mirai>or at least, the expectation is that vnstat counts them all
<mirai>if you get a namespace with its own iface
<apteryx>if it's not in a specific network namespace, I'd expect it has access to all interfaces
<apteryx>I'm not sure but I would but surprised if it didn't
<mirai>I haven't used them yet so I'm not really sure what pitfalls it might have
<apteryx>you'd have to try and see :-)
<apteryx>least-authority-wrapper uses '(cgroup mnt pid ipc uts user net) for its namespaces though, so it's more restrictive by default
<apteryx>and i had found an issue with it when writing the jami service but I can't find it anymore
<mirai>hmmm...
<mirai>I'm seeing wesnothd for an example but how should I know which namespaces to delete?
<mirai>(it's going to be a non-automatized slow 5 minute per attempt so combinatorial methods are not really feasible)
<apteryx>just net I think
<lechner>Hi, does v2 of this patch series conform to project standards, please? There was a question of commit grouping. The cumulative changes are identical to v1. Thanks! https://issues.guix.gnu.org/60798
<sneek>lechner, you have 1 message!
<sneek>lechner, antipode says: The openssl bug is reported at https://issues.guix.gnu.org/56137
<guix-helper-bot>"[PATCH] gnu: greetd: Update to 0.9.0." https://issues.guix.gnu.org/60798
<guix-helper-bot>"OpenSSL 1.1.1n test failures due to expired certificates (time bomb)" https://issues.guix.gnu.org/56137
<lechner>sneek / later ask antipode / Hi, was the openssl comment meant for ulfvonbelow instead?
<sneek>Okay.
<mirai>lechner: patch 2/3 is doing more than it says
<mirai>oh wait, nvm, the diff xfuncname was confusing
<lechner>yeah
<mirai>looks fine to me
<lechner>mirai / okay, thanks so much!
<mirai>np
<mirai>apteryx: I was thinking, isn't it technically better for the least-authority-wrapper to live outside of the service?
<mirai>you could pass a wrapper with the package field instead
<mirai>it makes it easier to "compose"?
<apteryx>rekado: I'm impressed by how much MUMI has improved. Kudos to its contributors!
<apteryx>also, https://packages.guix.gnu.org/ is cool
<HexMachina>All, I'm trying to test out the latest version of GNU Make (4.4) using --with-latest, and getting an error validating the make-4.4-tar.gz.sig signature. Any resources for how to add a public key to guix?
<HexMachina>I got as far as "guix archive --authorize" but can't figure out how to get the public key used to sign the make tarball into s-expression syntax
<apteryx>rekado: if you find a fix to our Geiser issue (or open a bug about it) please keep me in CC :-)
<georgezpalmer[m]>I'll help the community how earn $30k within 3 days and hours but you will reimburse me 10% of your dividend when you collect it. Note: only interested people should involve.
<georgezpalmer[m]> immediately
<georgezpalmer[m]> @CEOPatelPalmer
<HexMachina>For anyone searching the logs later, I fixed my problem. I had to run `gpg --keyring $HOME/.config/guix/gpg/trustedkeys.kbx --no-default-keyring --import paulsmith.pub` to add a specific key to Guix's trusted keyring
<HexMachina>at which point `guix shell --with-latest=make make` worked
<HexMachina>It would be nice if the "--keyring" and "--key-server" commands supported by "guix refresh" could also be used by guix shell or anywhere else that package transformations options are accepted
<vivien>The scammer has survived for too long
<HexMachina>When I initially ran `guix shell --with-latest=make make`, it did ask me if I wanted to download the key DEACCAAEDB78137A for 'mirror://gnu/make/make-4.4.tar.gz', and I said yes, but then it gave me a gpg error for "keyserver receive failed: Server indicated a failure"
<HexMachina>I had to manually search for the key used to sign the make release and found it at ftp://ftp.gnu.org/gnu/gnu-keyring.gpg
<HexMachina>Does guix not check that by default?
<HexMachina>I had to manually download that keyring, export Paul Smith's key from it (one of the GNU Make maintainers), and manually add it to $HOME/.config/guix/gpg/trustedkeys.kbx to get the --with-latest transform to work
<apteryx>mirai: I'm not sure what kind of composition you were thinking of
<HexMachina>does this indicate a problem with how guix is validating keys for other GNU projects? Or was it expected that I needed to do something like this?
<nckx>litharge: Take your speed and vitamins, please.
<mirai>apteryx: I was thinking on letting the wrapper be a "opt-in" by passing it using the 'package' field
<mirai>though even with my patch of "always use wrapper" doesn't work
<mirai>it doesn't collect any data
<nckx>HexMachina: Guix could at least respect the user's keyserver setting. It doesn't seem to do so, since 'my' keyserver has that key but it still doesn't work. I don't get your vague error, though...
<nckx>(No, Guix doesn't check random ftp servers, even if it's GNU's. Not sure if it should.)
<HexMachina>nckx: is signature verification only done for package transforms like --with-latest and --with-version?
<HexMachina>Since normally a content hash is used for verification
<nckx>Yes.
<HexMachina>nckx: is there a default keyserver that guix's gpg uses to try to download keys from? The error messages I was getting indicate maybe this is a yes but that the specific key used for the make release wasn't found there
<HexMachina>or maybe there is some difference in behavior on Guix system vs using on a foreign distro (which I am doing - Ubuntu 18.04)
<nckx>s/guix's // I'm sure there is. I don't know what it is nowadays. The network is in ruins.
<HexMachina>nckx: Incidentally, I always appreciate how you respond to things, even if you don't always know the answer. Thanks!
<nckx>I use keys.openpgp.org, which has that key, but I have no idea which one is being used here... No indication either...
<HexMachina>The --with-latest is pretty cool, once I got it working :)
<nckx>Well, I always intend to find the answer :-) Sometimes I even succeed.
<HexMachina>I wanted to play with the new --shuffle argument in Make 4.4. It randomizes the order that parallel targets are built to flush out errors in Makefile where incorrect assumptions about target build dependencies are made
<HexMachina>which seems like it would be useful for Guix as a means to find build system errors and sources for lack of reprodudibility
<nckx>HexMachina: I don't think it's a distro issue. If I wasn't clear: it also fails on my Guix System, but just 'gpg' outside of 'guix ...' works.
<nckx>HexMachina: Interesting! Most reproducibility hacks are costly; this one sounds very cheap.
<HexMachina>yeah! Lots of makefiles have errors like that where a target will list prereqs like "mytarget: clean thing1 thing2 finalthin" and assume they are built in that order
<HexMachina>which breaks when you try to run with "-j" to parallelize/speed things up
<HexMachina>It's sad to see places in Guix where you have to disable parallelized building b/c of things like that
<nckx>(configure:#define DIRMNGR_DEFAULT_KEYSERVER "hkps://keyserver.ubuntu.com")
<nckx>Guix does not appear to override that.
<apteryx>mirai: oh, so running the vnstat process in a namespaced fashion prevents it from collecting the data from the kernel?
<HexMachina>hmm, https://keyserver.ubuntu.com/pks/lookup?search=DEACCAAEDB78137A&fingerprint=on&op=index is present there
<nckx>HexMachina: Yep. I've even had to 'fix' packages (by removing -j) that were already in Guix.
<nckx>So they made it through testing & review & still broke later.
<nckx>HexMachina: Eh. Hm.
<apteryx>HexMachina: and keyserver.ubuntu.com is the default server used by gnupg nowadays
<apteryx>perhaps you have a gnupg configuration file setting it to something else?
<nckx>Pretty sure that's not it.
<mirai>apteryx: yeah, though I'll send it as a separate patch (for anyone interested in trying further ideas)
<HexMachina>also guix appears to consult both a $HOME/.config/guix/gpg/trustedkeys.kbx as well as $HOME/.config/guix/upstream/trustedkeys.kbx - what's the distinction?
<nckx>Ah, I had to kill gpg-agent, my old nemesis.
<nckx>HexMachina: Where? I don't have the latter at all.
<nckx>Anyway, after killing gpg-agent all problems went away. Guix finds the right key on its own.
<HexMachina>the later was just created by one of the commands I've run in the last 30 minutes but I'm not sure which one; it wasn't there the last time I opened up ~/.config/guix in dired XD
<HexMachina>ahh ok yeah I have gpg-agent running too
<nckx>Well, I just mean it caches settings, so changing them during the run has no effect. But like apteryx says, you must (perhaps) have some forgotten setting overriding Guix defaults.
<HexMachina>When I ran `guix refresh -u make` it gave me the key error and then prompted "Would you like to add this key to keyring '$HOME/.config/guix/upstream/trustedkeys.kbx'?
<HexMachina>which I think then created that file when I said "yes"
<nckx>Once I cleared mine AND killed the agent, that worked.
<HexMachina>but then I still got "gpg: keyserver receive failed: Server indicated a failure"
<nckx>No, because that's what I did too.
<nckx>(Re: creating 'upstream')
<HexMachina>ah hm
<nckx>Not a bad hypothesis tho'.
<nckx>HexMachina: See, I never got that useless error message. It was (from memory) 'no such uid', which might be related to keys.openpgp.org design (but then why does a Web search for the FP work!?), but was at least a real error.
<nckx>Yours is... stupid.
<nckx>Could this be an error at the 's' level of hkps? Unlikely if https works for you.
<nckx>But certs *are* something that could plausibly differ between our distros.
<nckx>Without a real error I can but guess.
<HexMachina>I've had issues with certs... I was in here a few days ago asking about how to set up a custom Root CA to get wget and git in guix to trust. I did get that figured out. I doubt that's related to my current issue though
<HexMachina>I can run other commands if you are curious as to what's going on but I'm going to stop poking at it for now, since I was able to accomplish what I was trying to get done by manaully importing the key to ~/.config/guix/gpg/trustedkeys.kbx
<nckx>I know enough about the bowels of Guix to tell people where to poke it over IRC. Not the case with GPG I'm afraid.
<nckx>You could report a bug, but I don't blame you for wanting to get on.
<HexMachina>haha I always have to read the manpage for gpg
<HexMachina>I briefly looked at the --list-packets flag when I was trying to figure things out and I'm really glad I didn't have to try to understand that
<shcv[m]>what's the preferred way to work with wifi when using emacs-exwm and guix-sd?
<HexMachina>nckx: thanks. May not do this now, but there have been other issues I wanted to report in the past and never did
<HexMachina>Is there any guidelines for the body of the email? https://guix.gnu.org/manual/en/html_node/The-Issue-Tracker.html just says to send an email to bug-guix@gnu.org
<nckx>There's no mandatory format, the mail is read only by humans. Just empathise with them & try to provide as much useful info as possible.
<HexMachina>nckx: https://trofi.github.io/posts/238-new-make-shuffle-mode.html if you're interested about the new --shuffle flag
<nckx>New winner in the not-that department btw: https://issues.guix.gnu.org/60866
<guix-helper-bot>"cant install" https://issues.guix.gnu.org/60866
<HexMachina>but I gather from our convo already that you're already deeply familiar with the issue
<nckx>HexMachina: So, not that, and you'll be fine.
<HexMachina>lol
<nckx>HexMachina: Thanks! I am familiar with it, but the ways in which it can happen are sometimes very unintuitive, so all reading welcome.
<antipode>sneek: later tell lechner: yes
<sneek>Welcome back antipode, you have 1 message!
<sneek>antipode, lechner says: / Hi, was the openssl comment meant for ulfvonbelow instead?
<sneek>Okay.
<antipode>sneek: time-travel botsnack
<sneek>:)
<HexMachina>nckx: just ran into another issue trying to run `guix shell --with-latest=git git`
<HexMachina>to try git 2.39.1, which was just released today I think and fixes several just-announced CVEs
<HexMachina>and guix tries to download the source over and over from several different mirrors and keeps failing
<HexMachina>for one thing, it keeps trying to download git-2.39.1.tar.gz, despite the fact that the current guix recipe for git 2.38.1 downloads a tar.xv file, and most of the mirrors are hosting the .xv version and not the .gz version
<HexMachina>not sure why --with-latest would try to get a .gz when the existing recipe itself is for an .xz
<ieugen[m]>hi, is there a relation between this channel and the one on matrix.org ? https://matrix.to/#/#guix:matrix.org
<HexMachina>s/xv/xz/
<HexMachina>and it actually does download the gz correctly for some mirrors that do have it, but then seems to ignore the results and keep trying from other mirrors
<podiki[m]1>ieugen: I believe that is not an official channel (but probably overlap in people); note that you can use matrix to join the irc channel directly (which looks like you are doing so you know that already)
<ieugen[m]>thanks podiki . Yes. Using matrix Element client. So I guess it is ok to ask a similar question here (I see more people)
<podiki[m]1>ayup
<ieugen[m]>hi, I am learning guix and I would like to use it to create dev environments.... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/4b55de22b44fcf7fcca23fd1032bdfd74f82d792>)
<nckx>HexMachina: The transformation system used here never uses the existing git package's source field. It is ignored in favour of (guix upstream) answer to ‘what is the latest version’ and ‘what is that latest version's tarball’? Note the absence of ‘…that looks the most like the old URL’ in that last bit, because there's (currently) not really a sane way to do so.
<nckx>I'll be back at my laptop (♥) in <10 minutes, so I'll wait until then to see if it loops for me.
<nckx>But the loop is not because Guix was supposed to look for a .tar.xz.
<nckx>So it never finishes?
<HexMachina>no but it seems like it downloades the .gz multiple times from multiple different mirrors but fails to process it for some reason and moves on to the next mirror
<HexMachina> https://pastebin.com/HkJ4wXxg
<nckx>Sure, but eventually that list must end. What then?
<HexMachina>I interrupted it before it finished
<HexMachina>I can let it go for a while and see what the eventual outcome is
<nckx>I suggest you don't, for science.
<nckx>Yes.
<HexMachina>also, git CVEs: https://github.blog/2023-01-17-git-security-vulnerabilities-announced-2/
<nckx>ieugen[m]: This is the only ‘official’ chatzone :) Note that huge messages are not conventional on IRC like they are on Matrix. Taking up more than 3 lines or so of other people's screen is considered gauche; it's a cultural thing. The Matrix bridge turned your message into a link, which people will have to click, which will open their Web browser, to read your question. Many people will not do this.
<nckx>HexMachina: Yeah, that's why I'm heading straight for the laptop :)
<gnucode>nckx: Do you suppose it would be a waste of time to set up --shuffle for make by default on the guix build farms?