2024-06-01 00:03:39 what did I miss? 2024-06-01 00:13:14 the time you wasted in irc? 2024-06-01 00:19:22 CloaknDagger: evidentaly not... "This can take long, on my side for a 500GB nVME it tooks ~30 minutes." # haveged -n 0 | dd of=/dev/nvme0n1 2024-06-01 00:24:15 thats what a missing progress bar does to you 2024-06-01 00:26:12 guess it finished 2024-06-01 01:27:01 "This can take long, on my side for a 500GB nVME it tooks ~30 minutes." # haveged -n 0 | dd of=/dev/nvme0n1 why would this take longer on my system with a comparable sized drive? 2024-06-01 02:22:57 better question is... what kind of hardware are you using that haveged is needed? 2024-06-01 03:06:44 pjs: isn't image a function defined in the script? https://github.com/thimc/vifmimg/blob/master/vifmimg#L10 2024-06-01 03:19:20 how can I enter Unicode in the terminal ? also what happened to the locales package? 2024-06-01 03:38:50 musl-locales and the various -lang packages??? 2024-06-01 03:39:32 /etc/rc.conf unicode variable sets unicode support in many places. 2024-06-01 10:10:18 what is the best way to switch Alpine system to scudo-malloc? 2024-06-01 10:10:40 LD_PRELOAD is an option, but maybe there is a better way 2024-06-01 10:12:51 consus, maintain your own patched musl package 2024-06-01 10:13:07 too much hassle if I can push LD_PRELOAD in /etc/conf.d/libvirt 2024-06-01 10:13:15 But this feels kinda hackish 2024-06-01 10:13:20 Then you have your solution :) 2024-06-01 10:13:40 yeah, but maybe there is some musl config file 2024-06-01 10:13:55 dunno 2024-06-01 10:14:02 Well, hackish is what you get when it's too much hassle to do it :) 2024-06-01 10:14:19 Ah, not that I know of 2024-06-01 10:14:47 well, conf.d it is then 2024-06-01 10:24:32 :) 2024-06-01 10:25:06 well, no 2024-06-01 10:25:10 it's libvirt magic then 2024-06-01 10:25:22 I doubt that it won't reset the env 2024-06-01 10:44:53 hi, can anyone confirm how the alpine generic arm image chainloads through to an init system? I'm trying to install to an unsupported (supported by custom kernel) ARM board, but can't find any init or /bin on the generic arm image 2024-06-01 10:46:58 There's no /bin or /sbin in either the initramfs or modloop either, what am I missing? 2024-06-01 12:08:06 Got issues while installing my HP printer through cups. Also got: lpinfo: Internal Server Error 2024-06-01 12:08:25 is there known issue in regard of cups or hplip ? 2024-06-01 12:20:10 had to rm -rf /var/cache/cups/ ... 2024-06-01 12:29:59 tokyovigilante: does the initramfs have an /init? not sbin/init, just /init 2024-06-01 14:25:57 I'm following https://wiki.alpinelinux.org/wiki/Full_disk_encryption_secure_boot and I get to the last mile with enrolling the keys and since my firmware doesn't have a place to enroll the keys I enroll them by putting secure boot in setup mode and issuing: efi-updatevar -f /boot/efi/db.auth db and efi-updatevar -f /boot/efi/KEK.auth KEK and efi-updatevar -f /boot/efi/PK.auth PK ... I go back into my BIOS and set secure boot enabled, I reboot and gr 2024-06-01 14:26:03 but vmlinuz doesn't load 2024-06-01 14:26:39 what am I missing? 2024-06-01 14:57:12 is your vmlinuz signed by the db, too? 2024-06-01 15:10:48 hey i was wondering, did anybody try yet using libressl exclusively on alpine linux as a drop in replacement for openssl? i wanted to know how feasible that is? 2024-06-01 15:12:12 alpine switched briefly to libressl, but then switched back. That was when they were still a lot closer 2024-06-01 15:12:45 many applications expect the openssl APIs 2024-06-01 15:16:07 ah alright, i was thinking of giving it a shot, i guess won't be straightforward like i thought 2024-06-01 15:22:33 which makes me wonder, maybe someone is putting efforting in porting the missing openssl APIs to libressl with some sort of wrapper/compatibility layer? is there something like that? 2024-06-01 15:24:14 hey, here using wsl+miniroot fs image, /etc/(os-release/alpine-release/..) are all outdated, what i did is install 'alpine-release' and use 'apk info alpine-release | sed 's/.*-\(.*\)-.*/\1/' | head -1'. that works but sounds convoluted am i missing another way to get that number ? 2024-06-01 15:27:13 If setting a command in # crontab -e scheduled as @reboot /path/to./task.sh, I can see in /var/log/messages a line with cmd /path/to/./task.sh, but somehow the task is not executed. I think this approach worked before upgrading to 3.20. Any clue? 2024-06-01 15:28:01 fluxion: busybox cron does not support @reboot 2024-06-01 15:29:26 ikke: thanks 2024-06-01 15:29:56 xse: ok, it turns out /etc/alpine-release is (no longer) managed by apk in the minirootfs 2024-06-01 15:32:26 satmd: sorry, missed your message, was preoccupied elsewhere, I'm guessing not if it's not covered in that guide... can you help me with that? 2024-06-01 15:34:26 aw makes sense then, well no big deal as long as i have a way to see it my workflow doesn't change :p thanks ikke 2024-06-01 15:41:31 xse: #16174 2024-06-01 15:48:37 following https://wiki.alpinelinux.org/wiki/Full_disk_encryption_secure_boot grub loads linux doesn't 2024-06-01 15:54:28 Placing the script in /etc/local.d/ (with .start) extension, and with local service running, worked. I was mislead by /var/log/messages actually showing the @reboot task 2024-06-01 15:59:16 fluxion: I'm sorry, were you addressing me? 2024-06-01 16:02:15 coverter: no. I was commenting on my prev. message, regarding @reboot with cron. Sorry for the confusion. 2024-06-01 19:49:39 grawity: no no /init, and no /sbin or /bin at all 2024-06-01 20:00:27 tokyovigilante: is there a /linuxrc then 2024-06-01 20:08:56 grawity: no, the only output of ls is block/ bus/ class/ dev/ devices/ firmware/ fs/ hypervisor/ kernel/ module/ power/ 2024-06-01 20:09:09 what's your `pwd 2024-06-01 20:09:21 are you actually looking at the filesystem root, in the first place? 2024-06-01 20:09:31 because that looks a whole lot like the contents of /sys 2024-06-01 20:09:47 /mnt/share2 2024-06-01 20:10:33 hmmm, i am using -t sysfs, possibly a pebkac. What should the fs type be for -t? 2024-06-01 20:10:42 and what's mounted on that? 2024-06-01 20:10:58 or, what's *supposed to be* mounted on that? 2024-06-01 20:11:06 └─/mnt/share2 ./initramfs-lts sysfs rw,relatime,seclabel 2024-06-01 20:11:17 sysfs is definitely wrong for an initramfs 2024-06-01 20:11:22 like, three different kinds of wrong 2024-06-01 20:11:57 1) "-t sysfs" is a virtual filesystem (a view into the kernel), it always 2024-06-01 20:12:08 *it always mounts the virtual filesystem irrespective of what 'source' was specified 2024-06-01 20:12:30 2) an initramfs generally is not mountable in general – it's a cpio archive, not a filesystem 2024-06-01 20:12:33 ah, that would explain it 2024-06-01 20:12:58 "generally is not mountable in general" you can tell my brain is melt 2024-06-01 20:13:03 anyway 2024-06-01 20:13:09 sorry lol 2024-06-01 20:13:18 I feel a bit silly now, makes sense 2024-06-01 20:13:55 old-style initrd would've been mountable as it used to be an actual ramdisk image, but these days it's an archive that you have to unpack using cpio or bsdtar 2024-06-01 20:14:00 or 7z, I guess 2024-06-01 20:14:24 its init program or script will be named just "init" (usually not in sbin) 2024-06-01 20:14:35 ok, I should just pipe down and copy it on my SD. I'm trying to boot from partition 2 of an SD card, then do a disk install to partition 1, but using u-boot and a boot.scr directly rather than extlinux, hence my confusion not finding an /init anywhere, but i can see why now 2024-06-01 20:17:05 tbh if you can boot a kernel, do you *need* to "install" as such? my only alpine usage so far was "use my arch laptop to fdisk/mkfs, then untar the bootstrap.tgz, then syslinux, and hopefully it boots" 2024-06-01 20:19:39 I don't really, I have booted to a console with just u-boot + kernel + minirootfs, just having compouding issues setting up openrc manually with iwd (needs dbus) to get wifi working on this embedded board so I can bootstrap properly. Is it harmless to just install alpine-layout and alpine-base over the minirootfs? 2024-06-01 20:19:59 and thought I would see if an installer-built system was more robust 2024-06-01 20:28:06 have been able to uncompress it with cpio anyway, thanks for the insight! 2024-06-02 02:41:49 I have a cron job that runs once a minute, and cron keeps spamming /var/log/messages with "cron.info crond[3211]: USER root pid 12846 cmd (...)" every minute. Any way to control logging for a single cron job? 2024-06-02 07:42:05 risc-v support in 3.20 2024-06-02 07:42:16 that can't be a better day <3 2024-06-02 07:42:27 ACTION orders beagle-v immediately 2024-06-02 08:41:14 What's new about risc-v? 2024-06-02 09:13:59 Question is it possible to revert a package upgrade somehow, besides rebuilding the whole package(s) on a local repo? 2024-06-02 09:14:59 (like retention mirrors for example) 2024-06-02 09:31:12 Allright, adding 3.20.0 release to /etc/apk/repositories, tagging, and adding package with @3.20 seems to be working 2024-06-02 09:33:04 quinq: do you have a local cache? 2024-06-02 09:33:22 Otherwise, see setup-apkcache for next time 2024-06-02 09:33:47 Not that older packages might link to libraries that have been upgraded, so you may need to downgrade dependencies too. I don't think any of this is officially supported. 2024-06-02 09:39:04 Yeah, I understand it's not a supported use-case and am not asking to support it (although that'd be a handy bonus in some rare cases) 2024-06-02 09:42:48 Reading https://wiki.alpinelinux.org/wiki/Local_APK_cache (there doesn't seem to be much inline documentation), doesn't look like it's made either for that 2024-06-02 09:43:13 Short of managing every package manually, to keep one older version of packages there 2024-06-02 10:06:14 quinq: note that mixing releases is not supported and can break at any moment 2024-06-02 10:08:22 Yeah, I just need to rollback that package, I need it for work 2024-06-02 10:09:31 quinq: new with rv64 is that there is a stable release 2024-06-02 10:09:38 before there was only edge 2024-06-02 10:10:06 ah ok :) 2024-06-02 10:10:07 Thanks 2024-06-02 22:04:03 Does anyone here upgraded to Alpine 20 and uses podman rootless? I'm having very wierd behaviour, maybe related to the move from slirp4netns to pasta for rootless networking. If I use one of the old added networks (for example --network=nginx) the first time the default path /tmp/containers-user-1002/containers/networks/rootless-... (full message at ) 2024-06-02 22:04:32 RoyalTiger[m]: > <@royaltiger:matrix.org> Does anyone here upgraded to Alpine 20 and uses podman rootless? I'm having very wierd behaviour, maybe related to the move from slirp4netns to pasta for rootless networking. If I use one of the old added networks (for example --network=nginx) the first time the default path /tmp/containers... (full message at ) 2024-06-02 22:17:49 I'm trying to get the GPU running on an ARM64 board with a Mali G31 GPU, does anyone know if mesa is built with the panfrost userspace driver? 2024-06-02 22:19:04 I can only get a 3D display with llvmpipe currently 2024-06-02 22:46:46 "Does anyone here upgraded to..." <- > <@royaltiger:matrix.org> Does anyone here upgraded to Alpine 20 and uses podman rootless? I'm having very wierd behaviour, maybe related to the move from slirp4netns to pasta for rootless networking. If I use one of the old added networks (for example --network=nginx) the first... (full message at ) 2024-06-03 08:34:54 Hi all, what is the minimum disk space required to install alpine onto? 2024-06-03 08:35:04 would a 2GB usb be enough to do a full system install onto it? 2024-06-03 08:37:10 https://alpinelinux.org/about/ 2024-06-03 08:40:17 hmm, it seems odd, I wasn't able to install it successfully onto a 2GB USB minimum I got around to was 4GB. Not sure If I did something wrong 2024-06-03 08:40:46 which image did you use? 2024-06-03 08:40:52 I think it depends on what you mean under "full system install" 2024-06-03 08:41:58 my x86_64 install is around 170M (only a few stuff is installed), and x86 install is 72M (even less stuff installed) 2024-06-03 08:42:22 they are quite minimal systems, with very small amount of RAM 2024-06-03 08:43:19 the standard ISO is about ~200M, so it should work on a 2GB flash drive 2024-06-03 08:45:10 I did use the standard image :/ I may have to look into what I did. essentially, my goal is to install the alpine os to a usb so I can dd it into an iso file that I later modify, but that initial iso file I dd is the size of whatever the usb size is 2024-06-03 08:45:31 but I couldn't install it on a 2GB stick so I resulted to using a 4GB stick :/ 2024-06-03 08:46:50 hmm :/ 2024-06-03 08:47:11 any arguments you used on dd, that may affect the size? 2024-06-03 08:47:50 if you dd the entire device… 2024-06-03 08:51:13 dzilvys: imo, it's quite ambiguous what you are telling and what you want to achieve 2024-06-03 08:56:54 essentially, this is how we use alpine. We have a base install iso in which it was gotten as explained above, that iso gets mounted, and modified with our scripts etc, it then gets repackaged back up. Our systems then simply take the data partition `sda3` and overwrites the existing `sda3` parition on our systems. Our currently issue is that the size is too big even when compressed (1.2GB) so I was wondering if the size of alpine increased or 2024-06-03 08:56:54 something underlying changed as 3.12 was a lot smaller comapred to 3.17 in our scenario 2024-06-03 09:51:30 you could install the latest and previous releases in a vm to see 2024-06-03 09:51:32 https://dl-cdn.alpinelinux.org/alpine/ 2024-06-03 09:55:00 there is a qemu or kvm command to auto install a distro that might help with that 2024-06-03 10:12:29 hello good afternoon guys. i was wondering why the package privoxy comes with config files that have .new suffix on add? i could not start privoxy after install if i don't rename these files. reference privoxy contents: https://pkgs.alpinelinux.org/contents?file=&path=&name=privoxy&branch=v3.20&repo=main&arch=x86_64 2024-06-03 11:32:15 Hi everyone, for some reason all my flatpak apps refuse to show any file selection dialogs. xdg-desktop-portal is installed. What could be causing this? 2024-06-03 12:13:11 webkit2gtk crashes for me. originally noticed in evolution, but also just running /usr/libexec/webkit2gtk-4.0/MiniBrowser (complains about the crash to stderr, hard to notice in the ui) 2024-06-03 12:17:35 ovf: https://gitlab.alpinelinux.org/alpine/aports/-/issues/16173 2024-06-03 12:22:11 fossdd[m]: yep, thanks! i like this search-over-irc interface. added a backtrace, will try to look further into this if time allows 2024-06-03 12:45:06 haha :P 2024-06-03 14:55:30 I've got an issue upgrading an old Alpine installation: there are conflicts between icu-data-full-73.2 and icu-libs-74.2 . How can I solve this? 2024-06-03 14:57:31 remove icu-data-full? if there's a conflict, it's probably orphaned 2024-06-03 15:00:39 how can i add nomodeset to the command line during boot? 2024-06-03 15:00:47 i tried "lts nomodeset", but that does work 2024-06-03 15:00:58 probably, because lts refers to an syslinux menu entry, not to the kernel filename 2024-06-03 15:06:02 dwfreed: plasna depends on it, so I cna't 2024-06-03 15:07:30 tell apk to ignore deps :D 2024-06-03 15:09:20 can someone extract me the isolinux config from the alpine iso? 2024-06-03 15:09:38 i need to know what to type so i can launch the kernel with custom options 2024-06-03 15:10:05 the iso comes without vesamenu per default so the comfortable editing (including reading the cmdline) isn't available 2024-06-03 15:15:21 nero: you can press tab to edit cmdline 2024-06-03 15:15:32 yeah but how is the kernel named 2024-06-03 15:15:35 lts 2024-06-03 15:15:47 "lts" is the filename? 2024-06-03 15:16:03 vmlinuz-lts 2024-06-03 15:16:30 but normally you just specify 'lts' 2024-06-03 15:17:02 i need "nomodeset", otherwise i get no screen 2024-06-03 15:17:54 yes, understood, but I mean, 'lts ', so not sure why it's not working for y ou 2024-06-03 15:18:05 ignore deps == --force-broken-world? 2024-06-03 15:18:23 No, apk will never ignore deps 2024-06-03 15:18:41 ikke: i did "lts init=/bin/sh" and the cmdline works 2024-06-03 15:19:17 so im not doing it wrong, nomodeset doesnt have effect 2024-06-03 15:21:27 my problem is that recent i915 GPU goes blank after boot, no screen output 2024-06-03 15:21:44 Do you need to blacklist it? 2024-06-03 15:22:51 yes, but i think im actually missing the linux-firmware-i915 package 2024-06-03 15:24:00 I had similar issues, blacklist should work, also "i915.modeset=0" 2024-06-03 15:24:01 if it's iso, use extended one 2024-06-03 15:24:44 --force-broken-world helped though 2024-06-03 15:26:02 aron: you are my savior, that option worked 2024-06-03 15:26:11 nero: you will get i915 module even if linux-firmware-i915 is not installed, tho 2024-06-03 15:26:30 yes, except with blank screen 2024-06-03 15:26:51 this is the problem on my laptop charge since 3.20 2024-06-03 15:26:59 that's why i915.modeset=0 works 2024-06-03 15:38:58 mh, linux-firmware-i915 is already installed but still blank screen 2024-06-03 15:51:48 The i915 driver is typically fairly chatty in dmesg when something is up. 2024-06-03 15:52:26 i will setup ssh so i can read the dmesg without having to rely on i915 to render the dmesg on the screen 2024-06-03 15:52:44 Sometimes it will let you do dumb things(tm) too, but it will usually taint the kernel when doing so. 2024-06-03 15:54:15 in addition to scouring dmesg for i915, also look for fbcon 2024-06-03 15:55:43 looks normal to me https://pomf2.lain.la/f/ek417d7.txt 2024-06-03 15:59:15 dang 2024-06-03 15:59:34 which particular intel chip are you dealing with anyway? 2024-06-03 16:03:21 pci 8086:0046 2024-06-03 16:03:35 as used in the T410 thinkpads 2024-06-03 16:04:04 arrandale, 2010 2024-06-03 16:06:06 some laptops in the pool also have sandy bridge or ivy bridge 2024-06-03 16:06:14 turns out all the laptops i tried with alpine so far were arrandale 2024-06-03 16:06:42 The Arrandale chips use the Westemere IGD (gen5) 2024-06-03 16:06:52 which should work :( 2024-06-03 16:07:41 pastebin the whole dmesg? 2024-06-03 16:07:56 and worked for over a decade until last month, when i did alpine 3.18 to 3.20 upgrade 2024-06-03 16:09:15 dwfreed: https://0x0.st/Xqa0.txt 2024-06-03 16:13:08 is it some intel GMA? 2024-06-03 16:13:51 Intel HD Graphics 2024-06-03 16:14:10 maybe check the backlight's not at 0 2024-06-03 16:14:44 note the keyboard keys won't work for this without acpid, I think 2024-06-03 16:14:57 I've heard that ivy bridge support is not very good in i915. Maybe that holds for arrandale too 2024-06-03 16:15:49 /sys/class/backlight/*/brightness 2024-06-03 16:16:22 (I'd suggest reading /sys/class/backlight/*/max_brightness and setting the above at half the value to see if it makes a difference) 2024-06-03 16:16:37 backlight works correctly 2024-06-03 16:16:43 i can change it with the fn keys 2024-06-03 16:18:07 sandy bridge 8086:0106 works correctly 2024-06-03 16:24:08 ivy bridge works as well. its just arrandale / 8086:0046 2024-06-03 20:15:21 morning. I'm trying to write an APKBUILD, however, contrary to examples, my package() fails at 'make DESTRDIR="$pkgdir" install', saying there's no target for that. if i do cd into "$srcdir" before, it works clean. it seems this changed in recent abuild versions (the system's running alpine-3.20). what is the correct way to proceed? 2024-06-03 20:25:03 Marquel: if you can share your APKBUILD it might be easier to help 2024-06-03 20:47:09 Marquel, maybe that's just a typo, but you wrote DESTRDIR 2024-06-03 21:00:03 quinq: that's indeed a typo. ;) 2024-06-03 21:06:23 well, i'm working from docs here. docs say 'package() { make DESTDIR="$pkgdir" install }'. That did work with Alpine-3.17, it does not with Alpine-3.20. for Alpine-3.20 it seems to be 'package() { cd "$srcdir"; make DESTDIR="$pkgdir" install }'. pwd inside packag() says it's already in the fakeroot directory, where there is of course no Makefile, that's still in the builddir. 2024-06-03 21:19:33 you shouldn't need to cd $srcdir in your package function, especially if you're invoking a makefile, that would be in your $builddir 2024-06-03 21:20:47 you may need to override the default builddir variable, it defaults to builddir=$srcdir/$pkgname-$pkgver which is the source you're working with extracts to something else would break 2024-06-03 21:20:57 s/is/if/ 2024-06-03 21:23:12 it could also be that the makefile either no longer exists in whatever you're packaging, or the maintainer removed the install argument from it. 2024-06-03 21:24:11 Maybe the easiest way to debug here would be the comment out your actual package step and just shell out by add `/bin/ash` so that the abuild process drops you into an interactive shell in your build dir so you can attempt to manually build from there. 2024-06-03 22:28:11 hi. Can a key file in /etc/apk/keys/foo contain multiple RSA public keys? 2024-06-03 22:37:24 looks like the answer is no :/ 2024-06-03 23:31:25 Does anyone have documentation on/know if its possible to use s6 as the service manager in alpine right now? It looks experimental, but i want to test it out 2024-06-04 04:35:32 durrendal: you were completely correct, that was indeed the problem. that's fixed now, thank you. 2024-06-04 04:49:52 MarqueI: no problem, glad I could help out! 2024-06-04 05:00:56 durrendal: while at it - is there a helper function to do 'autoreconf' if a package just contains .ac and .am files? or should i just call 'autoreconf' in prepare()? 2024-06-04 08:34:28 hey guys, i have a question regarding using gnome for kiosk mode in alpine. how do i setup gnome on an alpine machine with a touchscreen to run a single electron app and utilize gnome's improved osk as well? 2024-06-04 08:35:05 do you know how to do it regardless of alpine? 2024-06-04 08:37:39 i currently have done it in alpine without gnome. (ran my electron app's linux build inside a docker container inside alpine, forwarded the desktop using x11, installed xorg and can see my app up and running) the problem is, i need the osk so im lost from here 2024-06-04 09:46:45 Hello! I'm seeing some seemingly weird behaviour when building a alpine linux container. I have a paste here: https://paste.debian.net/hidden/6a5bf8b7/. What I don't understand is why it is trying to select git version "2.45.2-r0" which is not part of 3.20 (AFAIK), but is part of edge, but I'm not targeting edge 2024-06-04 09:49:23 Does anyone have any idea where I might be messing up, or if it's something else outside of my control? This containerfile has worked fine in the past 2024-06-04 09:53:37 hm, it seems the APKINDEX targets this newer version of git (https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz): V:2.45.2-r0 (line 19857) 2024-06-04 10:00:02 ah, git was bumped to 2.45.2 about 6 hours ago: https://git.alpinelinux.org/aports/commit/?h=3.20-stable 2024-06-04 10:02:59 ok, bumping the version fixes the issue for me. :) 2024-06-04 10:18:28 join /alpine-wifi 2024-06-04 10:45:07 How can I get wireguard to reconnect/resetup the interface when the wifi is properly connected? I'm using iwd for wifi 2024-06-04 10:49:23 Sec, brb 2024-06-04 10:54:09 I'm back 2024-06-04 10:54:17 maybe iwd has some post-hook option? 2024-06-04 11:10:28 Is that the term I'm looking for, fossdd? Perhaps I just want my interface setup to have that, then. 2024-06-04 11:12:11 not sure 2024-06-04 11:12:21 ukka: what software does your DHCP? 2024-06-04 11:12:52 very good question. i believe it was udhcpc. but i could be wrong. let me get the machine out 2024-06-04 11:13:16 but does wireguard even connect itself, because it's udp and no living connection is required there? 2024-06-04 11:13:23 in that case see /etc/udhcpc/post-* 2024-06-04 11:13:28 as in https://wiki.alpinelinux.org/wiki/Udhcpc 2024-06-04 11:13:51 crazy that such a small piece of software can still do so much 2024-06-04 11:20:01 grawity, will that trigger each time it reconnects, then? 2024-06-04 11:20:30 ah, i see i see 2024-06-04 11:21:15 depends on which script, but you could make it trigger each time it gets a new DHCP lease, for example -- tbh it really depends on why your wireguard stops working in the first place 2024-06-04 11:22:16 agreed, which is hard to tell on this machine. it's usually after the AP it's connected to over wifi loses power 2024-06-04 11:22:49 is it mostly about incoming connections into the machine or about outgoing? 2024-06-04 11:23:41 incoming; it's an nvr 2024-06-04 11:24:33 i have services that depend on that wlan connection, and have to use my out-of-band access (which still requires the wifi to be connected, lmao, so i guess it's not THAT out of band) to then re-run wg-quick 2024-06-04 11:24:52 if making some outgoing traffic fixes it, then enable wireguard's PersistentKeepalive on the NVR 2024-06-04 11:25:38 Mmm. Lemme look into that to see if I have already. 2024-06-04 11:26:02 to clarify, i think the wg interface is completely taken out when this event happens 2024-06-04 11:26:16 i think you need to install tcpdump and verify that theory 2024-06-04 11:26:53 when things break, do you still get the wireguard udp traffic on wlan0? e.g. when pinging the NVR over wireguard from your other place, do the WG packets arrive at the NVR's wlan0 2024-06-04 11:27:06 if they do but WG doesn't process them, that's one set of problems 2024-06-04 11:27:18 if they don't arrive at all, that's a different set of problems (which PersistentKeepalive ought to fix) 2024-06-04 11:27:58 Does whatever wg-quick does not set up the situation for a possible destruction of the interface when the wlan0 iface goes down? 2024-06-04 11:28:08 no 2024-06-04 11:28:23 iiiinteresting 2024-06-04 11:28:23 wireguard, in particular, is *extremely* not interface-bound 2024-06-04 11:28:47 to the extent that it's annoying to make it interface-bound when you want it to be, and they refuse to add any such features 2024-06-04 11:29:26 so it listens on 0.0.0.0 & [::], and as long as it receives UDP on any local address, any interface, it should pick the packet up 2024-06-04 11:29:56 hence the tcpdump to verify that the packets arrive in the first place 2024-06-04 11:30:27 (and if they do – I'm not sure if alpine kernels have dynamic debugging, but I would continue with `echo "module wireguard +p" > /sys/kernel/debug/dynamic_debug/control`) 2024-06-04 11:33:39 daaaang 2024-06-04 11:34:00 what's the dynamic debugging do? 2024-06-04 11:34:12 just makes wireguard talk more into `dmesg` 2024-06-04 11:34:17 mmm, makes sense 2024-06-04 11:35:27 no such file ;-; 2024-06-04 11:36:02 maybe the whole dynamic_debug feature is not present in alpine kernels 2024-06-04 11:36:20 i think they use the lts kernel, right? 2024-06-04 11:36:45 now i hope for a power outage so i can trace down wtf it's doing 2024-06-04 11:37:14 it's a kconfig option that you enable/disable at compile time, independent of version 2024-06-04 11:44:55 how many individual kernels are possible within a single architecture? 2024-06-04 11:45:27 talking about versions? or build options? 2024-06-04 11:45:32 or third party patches? 2024-06-04 11:47:58 afaik, CONFIG_DYNAMIC_DEBUG is not set 2024-06-04 11:50:24 none of my kernels has it 2024-06-04 11:58:08 grawity, just the build options. 2024-06-04 12:05:02 there are so many kconfig options (though many of them can be argued about whether they constitute a "different kernel" or just "same kernel with more drivers") that the only answer is "a lot" 2024-06-04 12:06:44 arch's regular and -lts kernels used to differ in a bunch of options even when they happened to be at the same version, e.g. different RCU and PREEMPT knob settings 2024-06-04 12:09:40 then there's -hardened that disables some things and enables others to increase security (but makes the kernel less useful e.g. on wifi), there used to be -xen that was needed for use in Xen VMs, I guess you could consider "all modular" and "all built-in" different kernels even if the features are otherwise the same, etc 2024-06-04 12:49:58 markand: 2024-06-04 12:50:10 whoops, didn't mean to do that. 2024-06-04 13:48:59 so many OPTIONS 2024-06-04 15:10:22 what alpine installation would you recommend for a 1GBRAM 32bit laptop @1.6Mhz 2024-06-04 15:11:06 regular alpine will do, but wont be enough for firefox 2024-06-04 15:12:29 Xorg + i3 + xterm is like 200-300 MB RAM 2024-06-04 15:12:46 regular as, that image that runs entirely in ramdisk? im afraid since 1GB isnt much 2024-06-04 15:13:07 but i will install it to a disk, right? 2024-06-04 15:13:31 ah, i was talking about sys install 2024-06-04 15:13:31 yes, a sys install 2024-06-04 15:14:05 Make sure the CPU and IGD in question are actually supported too; 1.6GHz is right on the upper edge of what many unsupported CPU series achieved. 2024-06-04 15:14:42 i downloaded the extended image ~700MB and it seems its trying to fit it entirly in memory before anything even starts, which seemed not to work at all (hangs during boot forever) 2024-06-04 15:15:08 PedroSan: what CPU? might be too old and dying somewhere with sigill 2024-06-04 15:15:13 so i will have to get the netinst one, to take off? or 2024-06-04 15:15:26 PedroSan: it will not load the entire iso into memory 2024-06-04 15:15:36 nero: wie bitte? 2024-06-04 15:16:07 ikke: what installation media you talk about, as there may be differences? 2024-06-04 15:16:23 PedroSan: neither standard nor the extended iso 2024-06-04 15:16:50 PedroSan: what device are you installing on? If the CPU does not have SSE2 then alpine wont run 2024-06-04 15:17:30 lets assume i got it. what image. not what image not. please 2024-06-04 15:17:47 what image got what? 2024-06-04 15:18:21 is 32-bit still supported? 2024-06-04 15:18:25 i asked what install media to use. its a i686 cpu. 2024-06-04 15:19:02 invoked: yes, but only SSE2 and up. My Transmeta Crusoe is i568 is already too old, but some i586 might do 2024-06-04 15:19:25 ah. 2024-06-04 15:19:26 invoked: yes 2024-06-04 15:19:46 ACTION isn't aware of any i586-class machines that will work 2024-06-04 15:19:47 ikke: you said i shouldnt use standard nor extended. 2024-06-04 15:19:55 PedroSan: no, you misunderstood me 2024-06-04 15:20:13 And it would help if you mentioned what hardware you have 2024-06-04 15:20:14 so i should use one of both 2024-06-04 15:20:38 i did 2024-06-04 15:21:09 junge. ich merk schon das wird eher schwierig mit dir 2024-06-04 15:21:49 wenn du i686 sagst, reicht es nicht aus um es zu beurteilen 2024-06-04 15:21:56 SSE2 instruktionen müssen unterstützt werden 2024-06-04 15:22:15 gibt nen haufen i686 die das nicht können, aber auch genausoviele, die das können 2024-06-04 15:22:38 einfach etwas nicht durch verneinungen ausdruecken. zb was genau willst du wissen. nicht was nicht reicht 2024-06-04 15:22:59 PedroSan: We want to know exactly what kind of CPU you have 2024-06-04 15:22:59 klar werden sie unterstuetzt 2024-06-04 15:23:34 i686 is too general like nero mentioned 2024-06-04 15:23:39 Knowing the exact CPU might reveal the IGD and avoid other questions as well. 2024-06-04 15:23:52 if you are telling me i cant install it bare metal on a pregnancy-tester im already out. 2024-06-04 15:24:04 (e.g. for those nasty early-model Atoms that use PowerVR IGDs) 2024-06-04 15:25:36 Transmeta Crusoe, there is a name I've not heard in awhile... 2024-06-04 15:25:48 its an intel atom. but sse2 is no problem. i believe that extended install media has busted the 1GB ram image, most probably. 2024-06-04 15:26:39 mh, according to this, alpine was one of the last non-SSE2 supported holdouts https://www.linuxquestions.org/questions/slackware-14/distributions-falsely-advertising-%3D-i686-pentium3-support-or-cpus-without-sse2-4175712442/ 2024-06-04 15:27:38 what is a holdout 2024-06-04 15:27:55 you mean supporting still 2024-06-04 15:28:06 until recent 2024-06-04 15:28:12 or at least offering some archive without official support 2024-06-04 15:29:30 so. the stanard should do it, right? just didnt want to have to download all packages from online cdns..for not further detailed reasons 2024-06-04 15:29:59 Still need to know the exact model. Alpine probably won't work on the Atom E680 or the Atom E680T. 2024-06-04 15:30:35 I never tried it on the C3405 because everyone that used that CPU soldered them badly. haha 2024-06-04 15:31:39 nvm I actually had an earlier C3xxx 2024-06-04 15:32:07 i dont expect more stability than being able to boot it at first anyway. so no exotic compability reqs and production-env requirements but the necessesity of 32bit arch 2024-06-04 15:33:01 ok. well the good news there is that *any* Atom that isn't supported will boot headless. 2024-06-04 17:47:34 /quit 2024-06-04 19:28:10 binderr can no longer be compiled as a module? 2024-06-05 07:54:39 is there some variable which overrides default configuration? like APT_CONF for apt 2024-06-05 07:54:50 ... for apk 2024-06-05 08:00:25 What kind of config? 2024-06-05 08:00:35 But most likely not 2024-06-05 08:01:04 there is almost no usage of env in apk, from my quick grep 2024-06-05 08:03:30 as apk do not support something like "repositories.d" folders and "auth.d" for credentials used for accessing repository i have to overwrite /etc/apk/repositories 2024-06-05 08:06:23 at least REPOFILE for --repositories-file as that file contains very often credentials, so running container with variable pointing to secret file would be great 2024-06-05 17:45:10 Hi all, I just installed Alpine Linux edge in a VM and can't unpin apps from the taskbar in KDE Plasma. The default icons reappear after a reboot. Did I miss to install something or enable some service? 2024-06-06 05:42:30 Does apk/APKBUILD support something like rpm 'epochs'? That is, something that's compared first before version. I have a (local) package whose version it'd be more logical to downgrade for upstreams reasons, wondering if there's a way for apk upgrade without -a to pick it up. 2024-06-06 05:42:59 Mostly aesthetic but I don't see anything like that in https://wiki.alpinelinux.org/wiki/APKBUILD_Reference so asking 2024-06-06 05:46:11 postmarketOS is just starts the pkgver with 9999, so it get's picked 2024-06-06 05:50:59 That's simple enough, might end up with something like that... 2024-06-06 13:21:45 I'm trying to use polkit (e.g.: for gparted). I'm using the non-elogind polkit packages, but agents (mate-polkit xfce-polkit) fail to start with errors liek 'polkit_agent_listener_register_with_options: assertion 'POLKIT_IS_SUBJECT (subject)' failed' 2024-06-06 13:21:54 Any pointers on how to get this to work? 2024-06-06 14:07:11 just curious: i notice some font packages have been sitting in edge for a while. have those not moved because nobody has asked? 2024-06-06 14:07:22 edge/testing 2024-06-06 19:52:04 Hey there, when I install arch-install-scripts, busybox breaks and I can't use commands like ls. Is there a way to fix this? I'm on alpine 3.19 2024-06-06 20:01:43 what is arch-install-scripts? 2024-06-06 20:01:56 oh, found it 2024-06-06 20:05:18 maybe it needs gnu's coreutils? 2024-06-06 20:05:45 I think that's the issue, it installs coreutils 2024-06-06 20:05:54 And that might mess with busybox 2024-06-06 20:06:12 I'm just following this https://wiki.alpinelinux.org/wiki/Running_glibc_programs#Arch_Linux 2024-06-06 20:08:14 maybe after installing coreutils(1) it adds symlinks to the programs and if you want to use busybox you need to call it directly? 2024-06-06 20:08:31 have you tried something like "busybox ls" 2024-06-06 20:08:33 ? 2024-06-06 20:09:05 Well I'd like my system to use busybox by default, since that's one of the reasons I use alpine 2024-06-06 20:09:56 does that work tho? 2024-06-06 20:11:54 It does 2024-06-06 20:12:26 :3 2024-06-06 20:14:26 Thanks but there's still the issue of having to type busybox ls instead of just ls, and using aliases feels like going around the core issue 2024-06-06 21:05:23 hi 2024-06-06 21:11:48 greetings 2024-06-06 21:14:09 I'm getting linker errors "cannot find -lssl; cannot find -lcrypto". How do I resolve these? - I tried `apk add libcrypto3` https://pkgs.alpinelinux.org/package/edge/main/aarch64/libcrypto3 which seems to have all the right subpackages, but installing `findutils` and I found nothing relevant from `find / -type f -name '*.so'` 2024-06-06 21:14:35 SamuelMarks: you need to install the relevant -dev packages 2024-06-06 21:15:12 openssl-dev/libressl-dev 2024-06-06 21:15:46 ah and that depends on libcrypto3 so I only need that from now; thanks let me try 2024-06-06 22:19:02 where do I find this library? - https://github.com/postgres/postgres/blob/master/src/backend/libpq/crypt.c - https://pkgs.alpinelinux.org/contents?file=libpq&path=&name=&branch=edge&repo=main&arch=riscv64 I'm trying all kinds of package and file searches here 2024-06-06 22:19:19 (with wildcards) 2024-06-06 22:21:54 hey, does anyone also get the issue of not being able to load an image in a new tab on latest firefox? 3.20 or edge 2024-06-06 22:22:05 as in, opening an image in a new tab just shows an empty page 2024-06-06 22:27:15 SamuelMarks: https://stackoverflow.com/questions/1244778/where-do-i-get-libpq-source 2024-06-06 22:28:15 ptrc i can confirm noticing this just right now. no image urls show in new pages 2024-06-06 22:28:22 are you using edge or 3.20? 2024-06-06 22:28:26 edge 2024-06-06 22:28:56 126.0.1 2024-06-06 22:29:16 okay, so it's limited to edge 2024-06-06 22:29:39 also, even more annoyingly - limited to firefox from edge, even with all other libraries from 3.20 2024-06-06 23:29:23 ptrc: Same issue in edge... standalone images do not render 2024-06-06 23:29:29 inline images do however. 2024-06-06 23:34:58 yeah, something's terribly wrong with the ImageDocument thingy 2024-06-06 23:55:37 aleksi - Sure but which alpine package? - libpq-dev didn't have it 2024-06-07 15:51:47 Firefox won't render standalone images for me: https://gitlab.alpinelinux.org/alpine/aports/-/issues/16189 2024-06-07 15:51:51 Nobody else seeing this? 2024-06-07 15:52:21 Duh, there was more history in channel. 2024-06-07 15:53:25 ptrc zcrayfish: I reported this a while ago ^ 2024-06-07 15:53:48 hopefully fixed with a commit i pushed approx 5 minutes ago :P 2024-06-07 15:54:14 there's some weird edge case that caused MediaDocument to poll infinitely for an answer that never comes 2024-06-07 15:54:30 rebuilt locally with lld17 and it works, so i hope that's also gonna work on the builders 2024-06-07 16:34:03 abuild rootbld failed with 'Firefox exited with code -11 during profile initialization 2024-06-07 16:36:15 oh huh 2024-06-07 16:36:23 is that locally for you? 2024-06-07 16:39:34 anyone happens to know a tool that can run a specified command at a specific time, one that does not require a daemon? 2024-06-07 16:46:45 ikke: basically something like `sleep 50000 && run_command`? 2024-06-07 16:47:15 yes, but then being able to specify an absolute time instead of a time to wait 2024-06-07 16:47:21 ikke: depending on what you mean by daemon, snooze might do the job 2024-06-07 16:47:57 well yeah actually i guess it can do what you want 2024-06-07 16:49:06 https://ptrc.gay/JisWAuva 2024-06-07 16:49:09 looks like it does exactly that 2024-06-07 16:51:36 ok, nice. From, the readme it appeared it just had cron-like behavior 2024-06-07 16:51:48 Could not confirm it can do single-shot as well 2024-06-07 16:52:37 you can use it for cron-like purposes but it requires a bit of setup 2024-06-07 16:52:47 I just need a one-shot 2024-06-07 16:52:52 in reality it can only do a one shot heh 2024-06-07 16:53:05 but if you use it with some service manager that can restart it when it's done it can act a bit like cron 2024-06-07 16:54:05 why not just shell? 2024-06-07 16:54:14 while true; do date "+%H%M" | grep 1852 && echo yay && exit 0; sleep 60; done 2024-06-07 16:55:13 ikke: daemon is not something awful, run atd :) 2024-06-07 17:27:21 hi 2024-06-07 17:28:14 ikke, ptrc thanks 2024-06-07 17:28:27 I will try these out next time I am playing with the phone 2024-06-07 17:34:15 zcrayfish, yMVV_HsHcX0, WhyNotHugo: 126.0.1-r4 fixes the issue for me, available everywhere except x86_64 ( still building, should be there in a few minutes max ), i'd be glad if you could test it out to make sure ^^ 2024-06-07 17:35:34 ptrc \m/ 2024-06-07 19:20:16 ptrc: Firefox now properly handles both inline and standalone images. Tested PNGs, GIFs, and ancient JFIF JPEGs. 2024-06-07 19:20:29 !! 2024-06-07 19:20:43 nice, thanks :3 2024-06-07 19:21:32 np \o/ 2024-06-08 03:47:19 Is there a good way to map debian/ubuntu dependencies to their alpine equivalents? - repology? 2024-06-08 04:07:01 Asked here also https://superuser.com/q/1845186 2024-06-08 04:13:40 Asked here also https://superuser.com/q/1845186 2024-06-08 11:44:55 Web frameworks just cause more headache than benefit, personally 2024-06-08 11:45:01 sorry wrong channel 2024-06-09 08:01:03 How do I see the whole dependency tree of a package? Installing cmd:lscpu pulls in agetty, wipefs, logger, findmnt, partx and other stuff that doesn't sound like a dpendency of lscpu. 2024-06-09 08:08:51 WhyNotHugo: for some reason, util-linux-misc is marked as depending on util-linux (not sure why, its depends= is empty); all those other utils have install_if=util-linux 2024-06-09 08:09:38 util-linux-misc seems to depend on a bunch of .so provided by util-linux 2024-06-09 08:10:30 Looks like a lot of these split packages can't be installed without pulling all of util-linux and util-linux-misc becuse of this 2024-06-09 08:11:30 according to pkgs.a.o, util-linux is completely empty in all by 3.20 and edge, and there's only one lib in 3.20 that shouldn't be used by anything 2024-06-09 08:12:55 oh, actually, that one lib is probably used by /usr/bin/lastlog2 ... 2024-06-09 08:15:51 util-linux contains: lib/liblastlog2.so.2 lib/liblastlog2.so.2.0.0 lib/security/pam_lastlog2.so 2024-06-09 08:15:58 yep 2024-06-09 08:16:11 (it shouldn't, but whoever updated it didn't check that it was still empty) 2024-06-09 08:16:28 and then /usr/bin/lastlog2 most likely uses liblastlog2.so.2 2024-06-09 08:16:56 which is in util-linux-misc 2024-06-09 08:17:03 so abuild automatically adds the dep 2024-06-09 08:17:17 I'll try and tinked with this package a bit. I understand the intent of split packages, but it looks like installing any of them pulls all the rest as well. 2024-06-09 11:10:46 WhyNotHugo: `apk dot cmd:lscpu` 2024-06-09 12:55:12 ptrc: thnx, dot has been really useful to understand this stuff. 2024-06-09 17:47:12 you're welcome 2024-06-09 17:48:27 :) 2024-06-09 19:37:40 hello 2024-06-09 19:38:00 how do I list only packages installed from edge repo? 2024-06-09 19:39:57 That's not easy to answer. apk does not keep track what repo a package was installed from. You can only ask it where it would install a package from (apk policy) 2024-06-09 19:42:10 is there a apk database file I can fix/reset? 2024-06-09 19:42:55 fix in what sense? 2024-06-09 19:43:10 I interrupted an apk installation with ctrl c and now it fives error unable to lock database: temporary error (try again later) 2024-06-09 19:43:56 on archlinux when you interrupt an installation/upgrade sometimes it's fixable by deleting the file db.lck 2024-06-09 19:44:02 check /lib/apk/db 2024-06-09 19:44:21 There is a lock file, but the existence itself does not mean it's locked 2024-06-09 19:44:49 Thx 2024-06-09 19:59:55 apk list -I prints additional info which I do not want, I'm trying to run a apk policy check for every installed package but the list provided by apk isn't so piping-friendly 2024-06-09 20:02:27 add -q 2024-06-09 20:02:50 (does require the latest apk version, though) 2024-06-09 20:03:31 works! 2024-06-10 09:03:37 Hi 2024-06-10 09:03:50 I tagged the edge repo in apk, added packages 2024-06-10 09:03:55 Now I'd like to get rid of tags 2024-06-10 09:04:15 I did, but then apk complains that world is broken, for example: 2024-06-10 09:04:16 WARNING: The repository tag for world dependency 'webkit2gtk-4.1-dev@edge' does not exist 2024-06-10 09:05:14 I understand that might be my “fault”, maybe it's not supported to introduce tags and then remove them, but is there still some manual work-around I could do? 2024-06-10 09:16:37 quinq: try edit /etc/apk/world? 2024-06-10 09:22:54 Yeah, though I'd prefer to be sure that will not mess up further the installation state 2024-06-10 09:36:59 As long as you don't remove alpine-base, the kernel or bootloader, there's little you can break 2024-06-10 09:40:21 and the libc 2024-06-10 09:51:53 That's pulled in via alpine-base anyway 2024-06-10 10:27:33 TIL there is a man page for APKBUILD <3 2024-06-10 10:32:06 i am trying to create a packages where the source tarball is named v$pkgver.tar.gz 2024-06-10 10:32:15 but abuild is telling me: source v1.3.0.tar.gz needs to be renamed to avoid possible collisions 2024-06-10 10:32:46 i don't know how i am supposed to fix this 2024-06-10 10:33:09 prefix '$pkgname-$pkgver.tar.gz::' 2024-06-10 10:34:33 thanks 2024-06-10 12:03:43 I'm pretty sure that removing everything but alpine-base, the kernel or the bootloader from world would mess up with the installation 2024-06-10 16:27:55 So, you confirm that just removing the tag from the world file is the ok way to go? 2024-06-10 16:28:12 ;) 2024-06-10 16:28:15 I mean most sensible, I'm ok to expect not to work it 100% 2024-06-10 16:28:30 But that sounds a bit strange to me, so I prefer kind of a confirmation :) 2024-06-10 17:01:28 quinq: do it 2024-06-10 17:01:40 dont forget you can copy the file and restore it if it goes wrong 2024-06-10 17:37:36 Yeah well, you can restore the description file, but not the files ^^ 2024-06-10 17:37:46 Anyway, did it, no warning so far 2024-06-10 22:16:49 hi, how can I install waydroid correctly on alpine linux? it has binder_linux missing if I just install from apk 2024-06-11 01:32:55 how to mount encrypted volume inn alpine? 2024-06-11 01:33:16 depends on what kind of encrypted volume you're talking about 2024-06-11 01:33:35 veracrypt 2024-06-11 01:34:30 or anything available to convert 2024-06-11 01:36:17 cryptsetup supports veracrypt, so you should be able to just run # cryptsetup open --type tcrypt encrypted-volume device-mapper-name (where the latter is just where you want to be able to access it within /dev/mapper) 2024-06-11 01:36:37 s/latter/last/ 2024-06-11 01:37:42 after mapping it with cryptsetup, you can mount it like a normal partition 2024-06-11 01:38:57 thanks. i will learn more about 2024-06-11 01:39:09 np 2024-06-11 03:56:01 "after mapping it with cryptsetup..." <- thanks. worked 2024-06-11 03:56:19 np :D 2024-06-11 03:58:07 there os a way to install alpine in a btrfs subvolume? i want to install in a pendrive, in a compressed partition 2024-06-11 07:27:42 Hi there. 2024-06-11 07:29:02 I don't use mouse a lot, but it's annoying using mouse with chromium as cursor disappears sometimes (I think when I hover over image, or some specific css? ) Using wayland 2024-06-11 07:34:03 Also, what do you guys prefer on Alpine for shell? zsh vs fish? 2024-06-11 07:34:17 All my sscripts are in bash though... 2024-06-11 07:47:46 frojnd: the default ash, optionaly mksh for interactive use 2024-06-11 07:49:05 I installed fish and can't even open fish_config :sigh: python3: can't open file '/usr/share/fish/tools/web_config/webconfig.py': [Errno 2] No such file or directory 2024-06-11 09:04:30 Hi, I'm a alpine newbie. I've build a docker image on top of alpine, but the security check reports vulnerabilities. What's the easiest way to find a alpine base image that has no known valnerabilities? Thanks 2024-06-11 09:10:00 davix: try scratch 2024-06-11 09:11:23 davix: instead of looking at the number of vulnerabilities, its better to look at the specific issues, verify how serious they are and if you are affected 2024-06-11 09:15:41 ikke: Thanks for suggestions. The docker image I built needs to be used in a enterprise app store. The store policy is rejecting any images with vulnerabilities. Using scratch is a little inconvinient during debugging. 2024-06-11 09:17:24 davix: the problem is that one day its zero, the next day a new vulnerability is found, an then you are stuck 2024-06-11 09:18:01 And frankly, this is a very bad policy that is breaking down fast at the moment 2024-06-11 09:20:13 We do try to address issues, but for example right now there are 2 CVEs against busybox that don't have a proper upstream fix and are in the category of when you are providing untrusted code (to awk in this case) you have issues anyway 2024-06-11 09:20:56 So zero vulnerabilities is a very unrealistic target 2024-06-11 09:26:04 they didn't like your answer :P 2024-06-11 12:32:47 hi 2024-06-11 13:59:12 Hi, i have installed alpine linux virt version in proxmox vm. My problem is, no ttyUSB* devices are created for passtrough usb devices. I have installed usbutils, but nothing changed. 2024-06-11 14:00:23 there os a way to install alpine in a btrfs subvolume? 2024-06-11 14:00:24 i want to install in a pendrive, in a compressed partition 2024-06-11 14:34:05 im trying to run sway in a qemu vm, but i have no idea how to start it 2024-06-11 14:34:38 I run: qemu-system-x86_64 -enable-kvm -m 8192 -cdrom ~/Downloads/alpine-virt-3.20.0-x86_64.iso 2024-06-11 14:34:49 setup-alpine -q && setup-desktop 2024-06-11 14:34:59 i create the ncopa user, and select sway 2024-06-11 14:35:08 but how do I start it? 2024-06-11 14:35:29 i have spent 15mins to read wiki docs and goole but still cannot figure it out 2024-06-11 14:41:38 setup-desktop with gnome is also broken by default 2024-06-11 14:43:05 gdm does not seem to work 2024-06-11 14:49:32 plasma works fairly well 2024-06-11 14:51:17 xfce works 2024-06-11 14:51:42 and mate works 2024-06-11 14:52:58 gnome and sway may need some fixing still 2024-06-11 15:06:47 no idea how sway with greetd is supposed to work 2024-06-11 15:12:30 im giving up sway 2024-06-11 15:12:58 and gtkgreet 2024-06-11 15:13:26 but gdm is also broken 2024-06-11 15:13:32 Jun 11 15:11:44 alpine authpriv.info : pam_unix(gdm-launch-environment:session): session closed for user gdm 2024-06-11 15:13:32 Jun 11 15:11:44 alpine auth.info elogind[3030]: Removed session c1. 2024-06-11 15:13:32 Jun 11 15:11:44 alpine user.notice : Gdm: GdmDisplay: Session never registered, failing 2024-06-11 15:52:34 ncopa: aside from greetd, does sway run when launched manually 2024-06-11 15:53:55 i don't run any display/login managers, myself 2024-06-11 17:07:26 ncopa: if it helps i'm launching sway with "dbus-run-session -- sway" 2024-06-11 17:13:40 ncopa: "setup-alpine -q && setup-desktop sway" works for me fwiw 2024-06-11 17:13:44 new virtual machine as well 2024-06-11 17:13:50 requires a logout + login because of elogind 2024-06-11 17:14:49 i set up a new user, too 2024-06-11 17:19:21 i'm silly i still used root. only getting a permission denied tho 2024-06-11 17:30:33 polkit is missing for elogind. i'll open a MR 2024-06-11 17:33:50 alpine/alpine-conf!203 2024-06-11 17:33:58 algitbot: grr 2024-06-11 18:21:43 It does not know gitlab style project references 2024-06-11 18:22:04 We should teach it to algitbot 2024-06-11 19:50:31 whicher: thanks, yup, now i got it started with dbus-run-session -- sway 2024-06-11 19:51:19 i would never have guessed that of my own 2024-06-11 19:51:37 might be an idea to help new sway users in the right direction 2024-06-11 19:54:17 hum. i need to google how to exit sway 2024-06-11 19:56:04 getting vim vibes 2024-06-11 19:57:39 ncopa: can't remember how I figured it out anymore either. maybe that should be mentioned on the wiki 2024-06-11 19:57:54 ikke: exactly! :D 2024-06-11 19:58:40 i wonder if it would be an idea to have a sort of intuitive default setup, with everything needed for the basics 2024-06-11 19:58:45 Not like exiting emacs is much better ^^ 2024-06-11 19:59:07 ncopa, like a man-page popping on first login 2024-06-11 20:43:08 https://man.openbsd.org/man4/amd64/intro.4 https://man.openbsd.org/intro.7 << these are good references if you want to write man pages that serve as entry points. 2024-06-11 20:43:49 I wouldn't mind tinkering `setup-desktop sway`, but this kind of script is too prone to bikeshedding. 2024-06-11 20:44:03 (e.g.: i keep a minimal setup with seatd, but someone will come along and prefer elogind) 2024-06-12 03:35:50 Is there a way to hook an event like ethernet cable down to set the link down? eg: if link state of eth0 becomes down, then I want the link eth0 to be put down so that its routes are nuked? 2024-06-12 03:36:51 that's in the context of Alpine on the desktop where I setup both eth0 and wlan0. By default, eth0 has lower metric which is good, but I noticed that unplugging the cable doesn't automatically remove the routes/set the link down. 2024-06-12 04:23:49 where is the list or dir of entire apk tree at? 2024-06-12 04:25:45 oh nm i just run empty search 2024-06-12 10:10:14 when i do flatpak run net.lutris.Lutris ; i get: libEGL warning: DRI2: failed to authenticate ; and the app doesn't start, what should i do ? 2024-06-12 10:11:36 try native? 2024-06-12 10:12:09 oh this is alpine, no native 2024-06-12 10:14:31 did you try running it from source? 2024-06-12 10:15:49 no 2024-06-12 10:24:38 using instruction from https://lutris.net/downloads ; after ./bin/lutris -d ; i get: ModuleNotFoundError: No module named 'gi' 2024-06-12 10:25:03 that would be a python dep 2024-06-12 10:25:21 but if it's a python app i should be using pipx ? 2024-06-12 10:25:38 i would use system packages first 2024-06-12 10:26:02 or set up an entire env just for lutris 2024-06-12 10:42:54 with pipx install . ; i get: ERROR: Dependency "dbus-1" not found, tried pkgconfig and cmake 2024-06-12 10:50:14 not that it helps much with the issue at hand… https://github.com/lutris/lutris/issues/2815#issuecomment-622142382 2024-06-12 10:55:05 yeah not that helpfull but still good info :) 2024-06-12 10:56:15 it worked fine until yesterday after i ran alpine update followed by a flatpak update 2024-06-12 10:58:37 and i'm unsure if from where the libEGL is used alpine or flatpak's org.freedesktop 2024-06-12 11:11:54 https://pkgs.alpinelinux.org/contents?file=libEGL.so&path=&name=&branch=v3.20&arch=x86_64 2024-06-12 11:28:31 with glxinfo i get: MESA: error: ZINK: vkCreateInstance failed (VK_ERROR_INCOMPATIBLE_DRIVER) ; glx: failed to create drisw screen 2024-06-12 11:31:46 from lspci Kernel driver in use: nouveau 2024-06-12 11:45:34 Hi everyone when do you think alpine will migrate to apkv3 ? 2024-06-12 11:55:50 with eglinfo i get: Wayland platform: eglinfo: eglInitialize failed X11 platform: libEGL warning: DRI2: failed to authenticate MESA: error: ZINK: vkCreateInstance failed (VK_ERROR_INCOMPATIBLE_DRIVER) libEGL warning: egl: failed to create dri2 screen 2024-06-12 11:58:54 hello, how do i install alpine? with /efi as a mount for esp? 2024-06-12 12:11:08 vova: the original plan was to start work on that now, after 3.20 release, so apk3 will be available for alpine 3.21. But I don't know if that is realistic :-/ 2024-06-12 12:27:28 ncopa: nice 2024-06-12 12:31:46 can i install alpine with a /efi mount point for esp? 2024-06-12 12:31:56 yes 2024-06-12 12:32:10 how? 2024-06-12 12:32:13 and you can also install alpine with /boot as ESP 2024-06-12 12:33:49 but how /efi 2024-06-12 12:33:50 you run setup-alpine and select disk 'none', then you partition your disk as you want, using cfdisk,parted,fdisk,whatever, create the filesystems, mount them on for example /mnt 2024-06-12 12:33:57 and then you do setup-disk /mnt 2024-06-12 12:34:11 setup-disk using /boot 2024-06-12 12:34:26 for esp mount point 2024-06-12 12:34:27 on 2024-06-12 12:34:30 oh 2024-06-12 12:34:39 you want /esp not /boot/esp 2024-06-12 12:34:48 i want /efi 2024-06-12 12:34:56 not /boot/efi 2024-06-12 12:35:04 got you 2024-06-12 12:37:26 in /sbin/setup-disk, you have a function called find_efi_directory 2024-06-12 12:37:32 around line 298 2024-06-12 12:38:13 change it to something like this: https://tpaste.us/NBj6 2024-06-12 12:38:47 is it common way to place the ESP as /efi? 2024-06-12 12:40:34 i think that's the way! 2024-06-12 12:41:50 care to create an issue in https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues so I dont forget it? 2024-06-12 12:42:05 https://uapi-group.org/specifications/specs/boot_loader_specification/#mount-points 2024-06-12 12:47:23 how can i solve: libEGL warning: DRI2: failed to authenticate ? 2024-06-12 12:51:29 Hello there. Can I just check the rationale behind the packages in the standard (i.e x86_64) iso and the extended iso? The standard iso provides a fair number of packages but probably about 5 are missing required to do a minimal base install. Whereas the extended iso has a load of random stuff including i.e mariadb-connector, etc. 2024-06-12 12:51:49 I guess, why does the standard iso have *any* apks if you have to connect online anyway? 2024-06-12 13:05:57 kpedersen: what packages are missing from the standard iso to do a base install? 2024-06-12 13:07:58 kpedersen: you can even connect to wireless 2024-06-12 13:21:49 kpedersen: the standard iso is basically netinstall. the extended is so you can install the base system on disk without network (not sure it works though= 2024-06-12 13:22:50 the original idea with "standard" is that you should not need to download more than you actually use 2024-06-12 13:23:29 for example, the kernel gets updated fairly often, so the boot iso is will relatively soon have an outdated kernel 2024-06-12 13:23:45 so when installing to disk, you download the kernel package directly from network 2024-06-12 13:24:26 that way you get a fresh kernel on first install, (instead of first need to install from iso and then upgrade kernel afterwards) 2024-06-12 13:24:48 and with that in mind, there is no point to ship the kernel .apk on the standard iso 2024-06-12 13:24:59 meaning you need network for standard iso 2024-06-12 13:25:33 sometimes you do want install without network, even if it means kernel is old, and that is what extended is for 2024-06-12 13:26:07 there are also some "diskless" setups, eg where root fs is tmpfs, where you want more packages available from boot media 2024-06-12 13:26:12 that is what extended is for 2024-06-12 14:20:09 ncopa: Many thanks. That makes sense. Also explains why there is i.e no bootloader (grub/syslinux) on there. 2024-06-12 14:21:56 dwfreed: kernel and bootloader were the main ones I noticed. Certainly it is enough to do a chroot install. 2024-06-12 16:58:08 How do I use the dhcpcd service? 2024-06-12 17:37:29 how do I make parameters in /boot/extlinux.conf permanent? resets after kernel upgrade 2024-06-12 18:01:07 Hi! I'd like to clone a libvirt domain with alpine several times, which is an easy task. While individual MACs are assigned by libvirt, changing the content of the disk image is out of scope of libvirtd. So what do I have to change by myself? Hostname, passwords, SSH is obvious, but what else needs attention? UUIDs of filesystems (does it actually matter?)? Would appreciate any hints or pointers to documentation... 2024-06-12 18:02:42 user231: You need to edit /etc/update-extlinux.conf 2024-06-12 18:54:09 Joe_: I don think it is documented anywhere. feel fre to create a new page on the wiki 2024-06-12 18:54:48 other thing that potentially may need change is /etc/machine-id or dbus machine-id 2024-06-12 20:06:23 ncopa: thx for your answer 2024-06-12 20:06:59 👍 2024-06-12 22:11:31 my system has mesa-egl version 24.0.8-r1 when it should be 24.0.7-r0 according to https://pkgs.alpinelinux.org/package/v3.20/main/x86_64/mesa-egl 2024-06-12 22:11:44 could this be the reason i get: libEGL warning: DRI2: failed to authenticate ? 2024-06-12 22:15:22 hh1: what happens when you run: `apk add -s mesa-egl=24.0.7-r0` 2024-06-12 22:16:30 ERROR: unable to select packages: 2024-06-12 22:16:51 breaks: world[mesa-egl=24.0.7-r0] 2024-06-12 22:17:11 satisfies: xorg-server-21.1.13-r0[mesa-egl] firefox-126.0.1-r0[mesa-egl] gst-plugins-base-1.24.3-r0[so:libEGL.so.1] qt6-qtbase-x11-6.6.3-r0[so:libEGL.so.1] 2024-06-12 22:17:27 qt6-qtwayland-6.6.3-r0[so:libEGL.so.1] qt5-qtbase-x11-5.15.10_git20230714-r2[so:libEGL.so.1] vlc-3.0.20-r5[so:libEGL.so.1] mesa-utils-9.0.0-r5[so:libEGL.so.1] 2024-06-12 22:19:26 hh1: and apk list --orphan? 2024-06-12 22:19:58 empty list 2024-06-13 13:17:56 would someone able to merge PRs on aports be able to look at !65883 when they get a chance? 2024-06-13 13:59:44 mla: merged 2024-06-13 14:42:56 ikke: awesome, that was quick - thank you 2024-06-13 15:18:26 hi 2024-06-13 15:18:37 this is how, irc is used, huh? 2024-06-13 15:19:01 captain kirk has, joined, us 2024-06-13 16:01:42 hello 2024-06-13 16:02:23 greetings 2024-06-13 18:08:51 is there a way to prevent anything other than current process from changing a file flag? I currently set/unset immutable's flag 2024-06-13 18:10:46 in between of the set/unset of the i flag there could be an unauthorized modification of the file 2024-06-13 18:12:22 I could create a user with a temporary password and set that user as owner, but I guess sh scripts are easy to sniff 2024-06-13 18:12:28 what problem are you trying to solve? 2024-06-13 18:13:18 it's to prevent unauth access to a file when a script sets the immutable flag off for a short time 2024-06-13 18:13:40 is there a better way to do it? 2024-06-13 18:13:41 why? 2024-06-13 18:14:08 curiosity 2024-06-13 18:14:09 are you trying to prevent unauthorized reads or unauthorized writes, or both? 2024-06-13 18:14:14 both 2024-06-13 18:14:39 No idea. But interesting problem. 2024-06-13 18:15:01 permissions are correctly set for both the cases, I'm just curious wheter there could be a better way 2024-06-13 18:16:32 are these applications cooperating or is one maliciously trying to modify the file 2024-06-13 18:16:47 because if you're looking at the former, the right answer is going to be some form of locks (it looks like flock is a Linux thing) 2024-06-13 18:17:31 that's what I was hoping for, thanks! 2024-06-13 18:17:35 ji2jeid3: you could unlink() it and then use fchmod() or something? 2024-06-13 18:17:35 as for the latter, you need some permission that the malicious process doesn't have, otherwise they can always override each other (or just kill each other). maybe there's some way to do it but I'm not sure 2024-06-13 18:17:46 flock is _advisory_ i think 2024-06-13 18:17:57 yeah which is why I was asking about cooperation vs competition 2024-06-13 18:18:12 idt unlink() is actually a robust solution 2024-06-13 18:18:27 wait whats the case where they can modify it but not change attributes? 2024-06-13 18:18:49 I'm assuming the worst case, so there's a script managed by me and a malicious one 2024-06-13 18:19:17 Why does the malicous process have read/write permissions? 2024-06-13 18:19:35 I mean if they have the same permissions as you, again you're probably not going to be very sucessful unless there's some quirk you can (ab?)use 2024-06-13 18:23:20 yeah, if the process has those permission it means is run as root/privileged 2024-06-13 18:24:52 so it can change attributes anytime 2024-06-13 18:26:38 I guess there's no way prevent root from accessing another user right? 2024-06-13 18:27:01 generally not, no 2024-06-13 18:27:14 things like selinux / apparmor can prevent root from doing certain things 2024-06-13 18:28:11 regarding apparmor, anyone tried installing apparmor.d on alpine? I wanna test it out 2024-06-13 18:28:36 I have not 2024-06-13 18:47:11 after awhile my pc cannot shutdown nor reboot(using poweroff,reboot,halt) 2024-06-13 18:47:51 i managed to reboot it by starting savecache,killprocs,mount-ro processes 2024-06-13 18:51:33 is it at least safe to start those 3 openrc services to reboot? 2024-06-13 18:57:35 i mean, check whats in your shutdown runlevel 2024-06-13 19:02:24 ok, even if that's changed it's not supposed to 2024-06-13 19:03:23 @Riolku how? 2024-06-13 19:03:55 uhhhh 2024-06-13 19:04:05 run rc-update ? 2024-06-13 19:04:24 rc-update show shutdown 2024-06-13 19:04:31 I did 2024-06-13 19:05:00 shouldn't it be quite the same as what poweroff does? 2024-06-13 19:05:05 those are the commands that openrc should run on shutdown 2024-06-13 19:05:11 yes, but check your inittab 2024-06-13 19:05:17 /etc/inittab 2024-06-13 19:06:27 that's strange, because when I cannot shutdown/reboot those files are the same as now 2024-06-13 19:06:59 ::shutdown:/sbin/openrc shutdown 2024-06-13 19:20:47 How do I set hardened_malloc globally with musl? :3 2024-06-13 19:22:49 user2321: what happens when you issue "reboot" 2024-06-13 19:22:54 feral332: malloc-ng? 2024-06-13 19:25:37 https://github.com/GrapheneOS/hardened_malloc 2024-06-13 19:25:50 https://dustri.org/b/using-hardened_malloc-in-alpine-linux.html 2024-06-13 19:26:10 there's no /etc/ld-musl-$(ARCH).path 2024-06-13 19:30:55 generally with LD_PRELOAD 2024-06-13 19:31:41 afaik there is no file-based config 2024-06-13 19:31:55 yea but what if I wanted to use globally? 2024-06-13 19:33:21 On traditional Linux-based operating systems, hardened_malloc can either be integrated into the libc implementation as a replacement for the standard malloc implementation or loaded as a dynamic library. Rather than rebuilding each executable to be linked against it, it can be added as a preloaded library to /etc/ld.so.preload. For example, with libhardened_malloc.so installed to /usr/local/lib/libhardened_malloc.so, add that full path as a li 2024-06-13 19:33:40 this on glibc 2024-06-13 19:38:18 If ld-musl doesn't support ld.so.preload, you need to use LD_PRELOAD env variable 2024-06-13 19:40:12 https://superuser.com/questions/1787084/preload-a-library-on-a-system-with-musl-libc 2024-06-13 19:40:19 Only suggests LD_PRELOAD 2024-06-13 20:14:21 I just noticed my home folder has the SGID permission (drwxr-sr-x), but I don't remember setting it. Is this default? 2024-06-13 20:14:35 what's the group on it? 2024-06-13 20:14:56 yes, bb by default adds the sticky bit 2024-06-13 20:15:16 drwxr-sr-x 1 peter peter 4096 Jun 13 20:15 . 2024-06-13 20:15:23 indeed, this is a fresh container with a fresh user 2024-06-13 20:15:41 (using adduser) 2024-06-13 21:19:33 my swapfile, present in fstab, doesn't get mounted on boot 2024-06-13 21:19:57 is it marked auto? 2024-06-13 21:20:01 i don't see anything relevant grepping mkinitfs for 'swap' 2024-06-13 21:20:15 no 2024-06-13 21:20:19 auto must be marked explicitly? 2024-06-13 21:20:23 i don't know 2024-06-13 21:20:31 i literally only have questions to offer 2024-06-13 21:20:31 I see others with `noauto` 2024-06-13 21:21:26 man 8 mount indicates that 'auto' is the default 2024-06-13 21:21:31 i don't think swap makes sense to mount. have you mkswap'd it? 2024-06-13 21:21:31 right 2024-06-13 21:21:36 I think the problem is that it _might_ be mounted before the partition which contains it 2024-06-13 21:21:50 yeah, running `swapon -a` mounts it 2024-06-13 21:22:46 So initfs doesn't mount swap partition by default? There's also no openrc service. 2024-06-13 21:22:56 give it defaults 2024-06-13 21:24:55 /swap/swapfile none swap defaults 0 0 2024-06-13 21:26:27 man page says that's right but i have 'swap' as the second field on another system and that's fine, too 2024-06-13 21:26:42 swap partition or swapfile? 2024-06-13 21:26:49 partition 2024-06-13 21:27:07 If you unmount it, does 'mount -a' mount it? 2024-06-13 21:27:15 yeah if it's a file, of course its fs must be mounted already 2024-06-13 21:27:24 i think it does 2024-06-13 21:28:10 'mount -a' does not mount a swapfile. Maybe that's why mine doesn't work. 2024-06-13 21:29:00 "The order of records in fstab is important because fsck(8), mount(8), and umount(8) sequentially iterate through fstab doing their thing." 2024-06-13 21:29:34 WhyNotHugo: did you enable and start the swap service? 2024-06-13 21:34:49 I don't see one 2024-06-13 21:35:22 no /etc/init.d/swap? 2024-06-13 21:35:34 Oh, rc-update doesn't list disabled services 🤦 2024-06-13 21:37:57 rc-status -u 2024-06-13 22:00:04 greetings 2024-06-13 22:02:47 geets 2024-06-13 22:02:52 greets* too 2024-06-13 22:12:47 :) 2024-06-13 22:18:29 Good morning sirs 2024-06-13 22:20:48 morning 2024-06-13 22:27:35 Good distro I quite enjoyed the experience 2024-06-13 22:28:06 I was frustrated when I couldn't set up pipewire with mpd but then I switched to alsa and realized it was a skill issue 2024-06-13 23:59:02 Thanks to all maintainers and stuff... 2024-06-13 23:59:06 Cheers and have a nice day 2024-06-13 23:59:20 \o/ 2024-06-14 02:09:46 How do you all reboot/shutdown as non-root user? chmod +s the binaries? Use doas with special doas config? other? 2024-06-14 02:10:51 I'd configure doas to not ask password for those commands 2024-06-14 02:11:39 And aliased reboot to doas reboot, etc 2024-06-14 02:13:49 yeah I think I'll end up doing that.. I tried powerctl but it doesnt seem to support shutdown/reboot, or at least I couldn't figure out how to do that 2024-06-14 02:17:43 powerctl is for suspend/hibernate, as per docs 2024-06-14 02:19:44 shutdown and reboot are commands provided by the init system, other tools have to go through those commands or the init system itself 2024-06-14 02:20:27 Somehow I associated "manages power states on Linux" with "can reboot/shutdown", but that obivousky didn't work. Configured doas and that works fine, thanks! 2024-06-14 02:22:06 because shutdown/reboot are not only about power states, it's also about bringing system down 2024-06-14 02:22:32 Now gotta attempt to steal WhyNotHugo 's user services for wireplumber/pipewire/xdg-desktop-portal 2024-06-14 03:07:28 why powerctl just name the command zzz like the BSDs does :) 2024-06-14 03:08:13 "How do you all reboot/shutdown..." <- UNIX ảent mean to be shutdown by non root 2024-06-14 03:09:58 setuid doesnt work because reboot, poweroff is just a link to busybox 2024-06-14 03:11:31 does Alpine have a _shutdown group like OpenBSD 2024-06-14 09:27:43 `getent group _shutdown` 2024-06-14 09:54:21 hey guys, i was wondering, which kernel module makes `/dev/sr0` show up? i am in my custom initramfs and trying modprobing: `sd-mod,sr-mod,usb-storage,scsi-mod,cdrom`, but it still doesn't show up 2024-06-14 09:57:03 i should mention that i'm on qemu and passing `-cdrom .iso` 2024-06-14 09:58:30 i also tried "bruteforcing": i loaded every single kernel module available in `/lib` and /dev/sr0 shows up. but that doesn't solve the problem, because i still don't know which module made it show up 2024-06-14 10:01:22 sounds like you could bruteforce the answer 2024-06-14 10:01:48 I'd look for hints in dmesg 2024-06-14 10:02:12 Or dig around under /sys 2024-06-14 10:05:39 DuClare: yes. 2024-06-14 10:05:43 rdbo: sr_mod 2024-06-14 10:06:12 lsmod | grep sr_mod; some of the other stuff may have to be loaded as well. I don't know. Good luck. 2024-06-14 10:06:21 https://unix.stackexchange.com/questions/97676/how-to-find-the-driver-module-associated-with-a-device-on-linux for future reference 2024-06-14 10:13:20 i managed to install udevadm on the initramfs 2024-06-14 10:13:30 the module missing was `ata_piix` 2024-06-14 10:13:51 don't know what it is, but works XD 2024-06-14 10:14:27 It's an old ATA controller. 2024-06-14 10:14:33 parallel ata driver for PIIX 2024-06-14 10:14:47 ohh 2024-06-14 10:14:53 ancient stuff 2024-06-14 10:15:27 2008 and older; roughly 2024-06-14 10:15:33 or whenever they stopped making ICH7 2024-06-14 10:15:41 Old reliable :) 2024-06-14 10:15:54 they being Intel, for the uninitiated 2024-06-14 10:16:06 works on ICH8 as well 2024-06-14 10:16:57 at least the kernel config says: "This option enables support for ICH5/6/7/8 Serial ATA and support for PATA on the Intel PIIX3/PIIX4/ICH series PATA host controllers." (If unsure, say N.) 2024-06-14 10:17:07 ah I missed that 2024-06-14 10:19:44 i always forget that it's not enough to modprobe just the block dev you wanna use like sr0, and that you have to modprobe the controller as well 2024-06-14 11:55:23 Seeking assistance installing Alpine extended on an Asus Prime Z790 wifi that has network only available via wifi 2024-06-14 12:01:32 Please describe your problem 2024-06-14 12:04:09 The Installer evidently does not posses the ability to detect and install the appropriate driver during Alpine-setup. 2024-06-14 12:07:27 hello, i've been following this tutorial https://wiki.alpinelinux.org/wiki/Running_glibc_programs#Arch_Linux, but when i install arch-install-scripts, busybox gets replaced by coreutils 2024-06-14 12:07:44 i don't want my system to use coreutils, is there a way to force busybox? 2024-06-14 12:22:25 ohyeah890890890: you can get rid of it once you set up the chroot 2024-06-14 12:22:47 archlinux's tooling relies on a lot of gnuisms, so it might not break with busybox. 2024-06-14 12:23:30 should i install arch-chroot separately after setting it up? 2024-06-14 15:26:06 Is there a reason why post-down is not called on a static interface? 2024-06-14 17:58:59 how do I run a command when usb tethering hotspot is connected? 2024-06-14 17:59:07 via udev preferrably 2024-06-14 18:03:00 I can't find the exact name of the usb dev device 2024-06-14 18:03:06 when it's in tethering mode 2024-06-14 18:06:37 do you have the /sys/devices node? 2024-06-14 18:07:00 check /var/log/messages (if enabled) when you plug it in 2024-06-14 18:17:07 but device name doesn't change after switching from charging mode to usb tethering, device name is usb0 2024-06-14 18:35:26 I'm trying to add a library to /lib/ld-musl-x86_64.so.1 , how do I do it? 2024-06-14 18:35:53 echoing works but the library isn't loaded 2024-06-14 18:36:24 trying to save the file with an editor freezes everything 2024-06-14 18:37:54 what do you mean 'add a library'? what do you mean by 'echoing'? 2024-06-14 18:38:03 what *exactly* do you want to achieve?? 2024-06-14 18:38:17 It's not a textfile ... 2024-06-14 18:38:19 that is the better question 2024-06-14 18:38:20 overwriting the libc seems to be a terrible idea 2024-06-14 18:39:15 how do I restore it to default? 2024-06-14 18:39:34 apk fix musl should work 2024-06-14 18:39:35 download apk.static, then run apk.static fix musl 2024-06-14 18:41:40 apk.static? 2024-06-14 18:42:33 https://gitlab.alpinelinux.org/alpine/apk-tools/-/releases\ 2024-06-14 18:46:34 lifesaver! thank u guys 2024-06-14 18:48:12 I'm still not know what just happened 2024-06-14 18:49:23 I suspect that's feral332 from earlier, who wanted to use hardened_malloc 2024-06-14 19:20:09 Hi all :-) 2024-06-14 19:20:14 o/ 2024-06-14 19:21:06 Any alpine/kde user here ? 2024-06-14 19:21:21 just assume yes 2024-06-14 19:21:23 and ask your question 2024-06-14 19:23:36 also, yes 2024-06-14 19:23:51 I'm trying to move on kde, but I still have annoying bug : unable to save task-bar configuration, pinned applications are forget at reboot 2024-06-14 19:23:51 even better :) 2024-06-14 19:24:49 I tried many workaround suggested on the web, but none has worked so far 2024-06-14 19:27:57 I haven't seen that issue and I have one system that was a fresh install and one that I copied my home dir from an older ubuntu install 2024-06-14 19:28:26 have you tried moving the kde config dirs out of the way completely and letting it recreate everything? 2024-06-14 19:30:24 I may try that, but it's an allmost fresh installation where I never used KDE before 2024-06-14 19:31:43 this isn't an alpine issue for what it's worth 2024-06-14 19:31:55 we recently added plasma to chimera linux and we've got the exact same issue 2024-06-14 19:32:37 well, rather than "not an alpine issue," it's not exclusive to it 2024-06-14 19:33:00 i've seen reports on other distros as well 2024-06-14 19:33:15 I've read that as well, artix linux seems to have the same issue 2024-06-14 19:33:38 i'll note that chimera uses musl too 2024-06-14 19:33:40 oh but artix does not 2024-06-14 19:33:47 it's not the most likely explanation, to be clear 2024-06-14 19:34:00 i doubt it's musl but i'm not sure 2024-06-14 19:34:02 i haven't looked into it 2024-06-14 19:34:53 Until it get fixed somewhere, I'll try to save config file manually 2024-06-14 19:34:59 https://forum.manjaro.org/t/task-manager-pinned-apps-fly-gone-off-on-next-restart-resume-logout/163384 2024-06-14 19:35:06 this is a report of the same issue on manjaro, which uses glibc 2024-06-14 19:35:32 it looks similar anyway, not sure if it's the same one 2024-06-14 19:35:56 Interesting, it is very similar 2024-06-14 19:37:00 Another question, did you manage to fix pipewire screen sharing ? It was working on Gnome without issue, now I switched to xdg-desktop-portal-kde but I'm still unable to cast 2024-06-14 19:37:44 i think i'll try to debug the issue later 2024-06-14 19:37:46 it's pretty annoying 2024-06-14 21:50:15 hi 2024-06-14 23:22:48 greets 2024-06-15 00:39:11 kmmndr: the task manager pinning issue is fixed upstream 2024-06-15 00:39:16 the patch is https://invent.kde.org/plasma/libplasma/-/commit/3bc199d92402e316541d6dec00af9fee66afc341.patch 2024-06-15 00:39:22 somebody should apply that to libplasma 2024-06-15 00:39:36 i confirmed that it fixes the problem on chimera linux 2024-06-15 00:45:50 6.1 will also fix this issue as well, so you could just bump libplasma then and the fix should be there 2024-06-15 07:14:19 triallax: Thank you very much ! 2024-06-15 07:26:45 @s 2024-06-15 07:26:54 (oups) 2024-06-15 07:36:26 Did anyone find how to share screen on KDE using pipewire ? (in Jitsi/Google Meet for example) 2024-06-15 07:52:07 Can anyone recommend a simple dhcpd? ISC DHCP is unmaintained and the replacement, Kea DHCP, looks absolutely huge at first glance 2024-06-15 07:55:43 witcher: I'm using dnsmasq, it's much simpler than ISC DHCP but it might fit your needs 2024-06-15 07:56:29 kmmndr: Forgot to mention, me too so far but it only seems to support pushing one route with DHCP option 121 which I'm not a fan of 2024-06-15 07:56:44 I've got 3 subnets I need to connect but only 1 route I can push 2024-06-15 07:57:50 It seems I have to replace the DNS functionality of dnsmasq anyway as I can't get it working for all the interfaces 2024-06-15 11:33:10 does anyone know which firmware packages alpine ships in x86_64 alpine standard? 2024-06-15 11:33:30 the full `linux-firmware` is really big and i wanna save space on my ISO by not installing the unnecessary stuff 2024-06-15 11:34:01 Have you checked https://pkgs.alpinelinux.org/? 2024-06-15 11:34:05 i looked in the `mkimage.standard.sh` script on the aports and it shows `linux-firmware linux-firmware-none` 2024-06-15 11:34:15 but doesn't that fetch the full thing? 2024-06-15 11:35:36 katia: yeah, i see the firmware packages are broken down into sections, like `linux-firmware-amdgpu`, but i don't know which ones i should add for an ideal generic x86_64 ISO 2024-06-15 11:37:14 i checked the size of the `/lib/firmware` in the alpine standard ISO and it is only 271MB, while mine (full `linux-firmware`) is 1.1G 2024-06-15 12:49:37 I hate to break the news but I'm slowly converting some of my machines off alpine. Great OS but it's really not too stable in some of my applications. 2024-06-15 12:51:49 dewdude: is there some specific application that breaks? 2024-06-15 12:53:03 yeah. my pi-hole machine 2024-06-15 12:53:10 every few days i have to go in and restart dns resolver 2024-06-15 12:53:41 maybe you have to kill udhcpc 2024-06-15 12:53:48 it will set /etc/resolv.conf 2024-06-15 12:54:16 my asterisk server wasn't happy on alpine either 2024-06-15 12:56:39 i never used asterisk so idk. i've been rolling my own "fork" of alpine on desktop for a couple years now and never really had issues, so i found interesting that you said it's not very stable 2024-06-15 13:11:02 your dns resolver? 2024-06-15 13:11:17 can you be more specific? there is a bunch 2024-06-15 13:11:20 hmm. asterisk runs on a raspi with alpine fine here. But desktop stability seems to be slowly degrading yes. Since the 6.6 series kernels I get full machine hangs every couple of days, probably something to do with nouveau. Plus various 'latest and greatest' annoyances. 2024-06-15 16:11:46 Hi 2024-06-15 16:12:37 https://pixeldrain.com/u/MJPLDWcL 2024-06-15 16:12:37 Does anyone know how to fix this? 2024-06-15 16:16:27 "Hotlink protection" 2024-06-15 16:19:09 ACTION uploaded an image: (17569KiB) < https://matrix.org/_matrix/media/v3/download/penhub.nl/lgOmgIMMItdTLghrJjAIIgHN/image.png > 2024-06-15 16:29:00 Hi 2024-06-15 16:30:34 Hi bdju_ 2024-06-15 16:40:45 "Hi" <- hey, assuming you're the same guy as the guy above with the flatpak error; what window manager are you using? and do you have dbus working 2024-06-15 16:40:57 s/flatpak/steam/ 2024-06-15 16:47:01 I'm using hyprland, let me check if dbus is working. 2024-06-15 16:48:10 The issue only exists when using hyprland on plasma Wayland steam launches just fine 2024-06-15 16:49:44 gruen[m]: And you're sure your display manager is launching hyprland using ``dbus-run-session`` (or similar)? 2024-06-15 16:50:54 Dbus status: started 2024-06-15 16:51:00 hex[m]123: I'm not sure tbh 2024-06-15 16:52:08 gruen[m]: Try to run both ``echo $XDG_RUNTIME_DIR`` & ``echo $DBUS_SESSION_BUS_ADDRESS`` in a terminal. 2024-06-15 16:52:39 If they return anything, dbus should be working. 2024-06-15 16:53:23 * anything, dbus *should, * should* be 2024-06-15 16:54:09 Xdg runtime return /run/user/1000 2024-06-15 16:54:10 Dbus session buss address returns nothing. 2024-06-15 16:54:19 s/return/returns/ 2024-06-15 16:55:30 Hmm 2024-06-15 16:57:56 gruen[m]: > <@gruen_:matrix.org> Xdg runtime returns /run/user/1000 2024-06-15 16:57:56 > Dbus session buss address returns nothing. 2024-06-15 16:57:56 Try reading the section "D-Bus session" at https://wiki.alpinelinux.org/wiki/D-Bus 2024-06-15 16:58:09 gruen[m]: how do you start hyprland 2024-06-15 16:58:47 Sddm because the tty gives a XDg_Runntime not set error 2024-06-15 17:02:06 For some weird reason I can't start xfce4 nor plasma nor Hyprland from the tty 2024-06-15 17:02:59 ACTION uploaded an image: (208KiB) < https://matrix.org/_matrix/media/v3/download/matrix.org/TqvYqGswDeRDAXGXzAWwKctD/JPEG_20240615_190239_2184473513723371632.jpg > 2024-06-15 17:04:57 "Sddm because the tty gives a XDg..." <- Hmm, maybe sddm is broken actually. Could you try going into a tty and running ``export $(dbus-launch) && hyprland``? 2024-06-15 17:06:46 that won't give them XDG_RUNTIME_DIR 2024-06-15 17:06:54 I think sddm gets that through PAM? 2024-06-15 17:07:05 not sure how it's set up on alpine 2024-06-15 17:07:32 ...and looking at sddm in general, can't see any nice way to make it start dbus 2024-06-15 17:08:27 grawity: Oh yeah true 2024-06-15 17:09:27 SDDM probably discovers hyprland via /usr/share/wayland-sessions/hyprland.desktop so I'd probably hack that to become "Exec=dbus-run-session Hyprland" 2024-06-15 17:13:04 anyone knows why my screen during initramfs looks like this on EFI only? https://imgur.com/a/weird-efi-console-u46Pc6R 2024-06-15 17:13:47 i remember i had fixed this before, but not sure how. i'm messing with a custom kernel, based off the alpine config 2024-06-15 17:14:02 grawity: How so? 2024-06-15 17:20:25 do programs break if I set /proc/cpuinfo permissions 400? 2024-06-15 17:22:47 some might; i hope most won't 2024-06-15 17:22:48 why? 2024-06-15 17:23:23 ACTION uploaded an image: (42KiB) < https://matrix.org/_matrix/media/v3/download/penhub.nl/NIuyJgIpXnPszGemRYQtMAGU/image.png > 2024-06-15 17:23:24 been struggling for a few days now with this weird issue on my alpine server, where the initramfs randomly started to fail to mount /sysroot at every boot. manually mounting root in the recovery shell using mount /dev/sda3 sysroot works just fine. I haven't been able to find any information on this error message however, so i'm asking here. I hadn't done anything when this issue started to occur (no updates, although i did update it 2024-06-15 17:23:24 to v3.20 after this occured, etc), it was just sitting there. 2024-06-15 17:25:44 I was thinking maybe this somehow had to do with disk corruption? Although i would probably have seen other signs. 2024-06-15 17:27:35 i have the same issue but i thought it was because of btrfs 2024-06-15 17:27:57 or because i installed alpine incorrectly 2024-06-15 17:27:57 Librecat[m]: I'm using ext4 afaik 2024-06-15 17:27:58 Let me check 2024-06-15 17:28:48 yeah, i'm using ext4 2024-06-15 17:29:31 unprivileged user shouldn't access cpu information so easily 2024-06-15 17:29:52 alpineuser232, why not? 2024-06-15 17:30:54 fingerprinting protection 2024-06-15 17:35:45 https://madaidans-insecurities.github.io/guides/linux-hardening.html#restricting-sysfs 2024-06-15 18:12:29 Maybe I broke this 2024-06-15 18:12:30 ACTION uploaded an image: (233KiB) < https://matrix.org/_matrix/media/v3/download/matrix.org/tzAqBWsCyyMdeKypBhZYXDEV/IMG_20240615_201155039_HDR.jpg > 2024-06-15 18:14:27 Now pipewire broke aswell 2024-06-15 18:23:28 Help lol 2024-06-15 18:53:01 why isn't wmenu on alpine stable? 2024-06-15 18:56:05 https://pkgs.alpinelinux.org/package/v3.20/community/x86_64/wmenu 2024-06-15 18:59:35 is community repo as secure as stable? 2024-06-15 19:00:08 does it meet the same packaging standards? 2024-06-15 19:00:48 yes 2024-06-15 19:03:52 But it's only supported for one stable release, instead of 4 for main 2024-06-15 19:36:59 Sometimes when I reboot, Alpine doesn't mount /media/usb correctly. I specified the PARTUUID in fstab, but it tries to create an additional /media/sdX mountpoint. 2024-06-15 19:38:22 I 2024-06-15 19:38:38 I've been looking for the initscript that mounts /media/usb to fix it but I can't find it 2024-06-15 21:20:57 Working on a Digital Ocean $7 droplet with 1 GB RAM and a single premium Intel 1 vCPU. Installed zram-init package. 2024-06-15 21:20:57 Anyone using ZRAM and would share their configuration? Hoping to get a How To on the alpine wiki. 2024-06-15 21:28:58 bignay2000: this is what I do: https://rentry.co/wa8cbnmv 2024-06-15 21:30:40 What algorithm do you like? cat /sys/block/zram0/comp_algorithm... 2024-06-15 21:31:49 I'm using zl4 but didn't actually select anything. zstd is pretty good. I don't really use swap, just have some there for things that expect it. 2024-06-15 21:34:32 cat /sys/block/zram0/comp_algorithm 2024-06-15 21:34:32 lzo [lzo-rle] lz4 lz4hc 2024-06-15 21:34:32 If I try to set zstd then it does not work. Not sure what need to happen to add zstd as an option. 2024-06-15 21:39:41 my app runs fine in the regular 1 GB space, but worried that it would crash if someone did a ddos attack. So thinking 512 MB of "extra" ram via zram would give the webserver some headroom against an attack 2024-06-15 21:40:11 i don't use alpine, but i can share my notes 2024-06-15 21:41:02 https://0x0.st/s/jivJb8TB1RvCjVqocKN6Cg/XcI2.txt 2024-06-15 21:41:45 hmm you said something about zram-init, i guess alpine has its own package for that 2024-06-15 21:42:12 got things working with the "zram-init" package, but that seems to add extra stuff. Thinking your script is a bit more future proof 2024-06-15 21:42:29 can't say 2024-06-15 21:42:39 regardless, i don't know why your kernel is missing zstd 2024-06-15 21:45:57 Seems like these 3 parameters matter. Problem is that the articles i am reading are out-of-date. 2024-06-15 21:45:57 vm.page-cluster=0 2024-06-15 21:45:57 /etc/sysctl.conf 2024-06-15 21:45:58 vm.extfrag_threshold=0 2024-06-15 21:45:58 vm.swappiness=100 2024-06-15 22:07:33 https://wiki.alpinelinux.org/wiki/Talk:Tutorials_and_Howtos#ZRAM:_Compressed_Memory is what I have so far for a How To on the alpine wiki…. 2024-06-15 23:54:20 I have "vm.swappiness = 20" to reduce swapping 2024-06-15 23:54:38 i use zram exclusively so i don't care 2024-06-15 23:54:40 and up it to 100 2024-06-16 03:14:42 Hi - alpine doesn't seem to have PARTUUID in lsblk, what's the correct way to set up partitions in fstab? (or rather, I'm having issues getting UUID and PARTUUID while chrooted) 2024-06-16 03:15:49 nevermind, had to bind mount /dev correctly. 2024-06-16 03:16:05 interesting that it works with /sys/dev but PARTUUID comes from /dev 2024-06-16 03:46:59 next issue - mounting via partuuid doesn't actually seem to work 2024-06-16 03:47:47 No issue with UUID mounting here. hmm. 2024-06-16 03:49:42 k 2024-06-16 03:55:44 zcrayfish: thanks, for some reason I was stuck thinking I needed partuuid, the partitions have a uuid property as well 2024-06-16 05:00:24 PARTUUID is useful for root= kernel command line, as that's the only UUID form the kernel supports 2024-06-16 05:00:33 note that PARTUUID is different than UUID 2024-06-16 09:30:53 I am trying to make a boot image to unlock LUKS root partiton using clevis with tang pin (through network connection). So far I tried using booster & dracut but I was unsuccessful. Any way I can do this with the default mkinitfs ? 2024-06-16 09:31:11 Would really appreciate the help. Thanks 2024-06-16 10:34:31 hello, how to make Wayland screen sharing usable when dealing with i.e. OBS? I'm using KDE Plasma and it reports a failure with connecting to the Pipewire server. Pipewire server starts after Plasma. 2024-06-16 10:49:30 how do I run commands as another unprivilged user with root? 2024-06-16 10:49:49 sudo or doas 2024-06-16 10:50:24 doas sure does not work, by default at least 2024-06-16 10:50:49 it asks for password and says auth failed, password is the right one 2024-06-16 10:51:13 isn't it supposed to go passwordless with other low users? 2024-06-16 10:51:16 the right one for which account? 2024-06-16 10:51:23 i don't know about doas 2024-06-16 10:51:29 unprivileged user 2024-06-16 10:53:42 do I really need to install sudo to run a command as unprivileged user ? I tried "permit root as user" in conf 2024-06-16 10:54:19 shouldn't 2024-06-16 10:55:56 my bad, it seems... 2024-06-16 10:56:23 that I can run a script as root with root "disabled" 2024-06-16 10:57:03 but not the other way around, I have to enable root with passwd to be able to logon another user 2024-06-16 11:00:04 can you strace all the file names a process touches? 2024-06-16 11:00:27 with something like -e open,openat,execve 2024-06-16 11:00:36 -efile 2024-06-16 11:00:38 for short 2024-06-16 11:00:41 ok 2024-06-16 11:00:54 -efile does not include execve though 2024-06-16 11:01:16 how to expand all structs 2024-06-16 11:01:50 I think -v 2024-06-16 11:02:26 thx 2024-06-16 11:02:30 i think -v worked 2024-06-16 11:04:51 using ctrl+r on a kvm guest wayland(using virt-manager) causes some sort of glitch that prevents me to type most chars, how do I debug this? 2024-06-16 11:06:35 (ctrl+r as reverse search on most terminal) 2024-06-16 11:23:39 lovely 2024-06-16 11:23:48 finally helped me pinpoint the damned fucker 2024-06-16 11:23:51 thanks ikke 2024-06-16 11:36:47 bump :P 2024-06-16 11:38:06 That's not relevant for IRC 2024-06-16 12:16:22 basically initramfs fails to mount the root file system 2024-06-16 12:18:34 @Lirecat partition mounts when password is supplied. I think the network is not loading and clevis is not being called 2024-06-16 13:22:28 hi 2024-06-16 13:22:41 is the output of diff command a .diff file or a .patch file? 2024-06-16 13:23:30 depends on the context 2024-06-16 13:24:21 your preference 2024-06-16 13:25:26 the output of diff isn't a file 2024-06-16 13:34:54 hi 2024-06-16 17:40:32 I recently upgraded to alpine 3.20 from 3.19 with no issues, today I got these errors at boot 2024-06-16 17:40:46 multiple times 2024-06-16 17:41:17 why I cannot send the error? 2024-06-16 17:41:47 wtf 2024-06-16 17:42:22 ```` /usr/libexec/ifupdown-ng/dhcp: eval line 3 syntax error unexpected word (expecting")") ```` 2024-06-16 17:43:15 https://tpaste.us/ might be useful in the future; though it looks like your error was only one line? 2024-06-16 17:43:29 yea 2024-06-16 17:43:56 the irc client misinterpreted 2024-06-16 17:43:57 USR/LIBEXEC/IFUPDOWN-NG/DHCP Unknown command 2024-06-16 17:44:57 also, I really don't know how it can be related... qemu kvm guests cannot boot via cdrom isos, I'm using virt-manager 2024-06-16 17:45:32 it says: 2024-06-16 17:45:51 boot failed: Could not read from CDROM (code 0009) 2024-06-16 17:46:24 never happened in a long time 2024-06-16 17:52:44 the cdrom error doesn't happen if I choose to install alpine 3.19 iso instead of 3.20 2024-06-16 17:53:17 I also have to choose alpine 3.18 as operative system in the virt-manager vm-creation dialog 2024-06-16 17:57:38 okay I solved it, it was a misconfiguration of the vm 2024-06-16 17:59:06 Hi, I'm installing alpine linux and it is asking me for a local host login and password 2024-06-16 18:00:16 leni: are you running a live image? 2024-06-16 18:00:23 The user is root, no password required 2024-06-16 18:00:44 Got it! Thank you. 2024-06-16 18:01:07 Running in QEMU VM, not sure if that answers the question 2024-06-16 18:03:53 are you booting an iso? 2024-06-16 18:03:59 yes an iso 2024-06-16 18:04:34 ok, yes, then that should work 2024-06-16 18:05:00 I'm in now. setting up following the wiki. 2024-06-16 18:05:28 how do enable boot loggin without installing additional packages? 2024-06-16 18:06:22 busybox getty does not support it, so you can't 2024-06-16 18:06:30 You need something like agetty for that 2024-06-16 18:09:30 you could try to change from getty to /bin/login -f 2024-06-16 18:11:01 https://unix.stackexchange.com/a/761531/10643 2024-06-16 18:14:00 how would I be able to log the bootstrap this way? 2024-06-16 18:14:15 really the only error is this, repeated 2024-06-16 18:14:17 ```` /usr/libexec/ifupdown-ng/dhcp: eval line 3 syntax error unexpected word (expecting")") ```` 2024-06-16 18:14:17 I don't understand that question 2024-06-16 18:14:59 I'm getting this syntax error at boot, multiple times 2024-06-16 18:15:33 I wanted to log the boot just to send a full log 2024-06-16 18:18:32 https://tpaste.us/KEQY 2024-06-16 18:19:08 content of /usr/libexec/ifupdown-ng/dhcp 2024-06-16 18:19:22 syntax error is at line 3 2024-06-16 18:19:42 What does your /etc/network/interfaces look like? 2024-06-16 18:20:56 https://tpaste.us/og0r 2024-06-16 18:21:46 they haven't changed in these days, just today I got this error 2024-06-16 18:22:03 and few days ago upgraded from 3.19 to 3.20 2024-06-16 18:27:07 I have not ran into this myself, upgraded quite some systems to 3.20 2024-06-16 18:27:36 I'm wondering what the value of $IF_DHCP_HOSTNAME is 2024-06-16 18:29:23 no value right now, probably has value during boot(?) 2024-06-16 18:36:27 what even is the point of 2024-06-16 18:36:28 [ -n "$IF_DHCP_HOSTNAME" ] && IF_DHCP_HOSTNAME=$(eval echo $IF_DHCP_HOSTNAME) 2024-06-16 18:49:35 does wmenu need dmenu_path(so dmenu) to word? 2024-06-16 18:49:38 work* 2024-06-16 19:26:38 Is anyone using KDE and Screen Sharing feature ? I haven't managed to get it works properly, got "Failed to connect PipeWire context" error in Chromium 2024-06-16 19:55:56 I'm not using KDE 2024-06-16 20:02:38 hello gamescope is discontinued from packaging because it doesn't work correctly with musl? 2024-06-16 20:04:21 ikke: thank you for your message 2024-06-16 20:05:21 umk3: or the maintainer is busy / ventured somewhere else 2024-06-16 20:05:39 ikke: thank you 2024-06-16 20:05:59 I don't know how to build new versions myself, I might learn 2024-06-16 21:34:40 Finally got hibernation working with BTRFS, encrypted root and a swapfile. Feels good. One thing that took a while to figure out was that I needed to disable ttyS0 and ttyS1 in /etc/inittab 2024-06-16 21:38:28 tomleb, any idea why you needed to disable those? 2024-06-16 21:45:18 Habbie: dmesg showed errors that with a bit of digging pointed me to the UART devices / serial controllers and those were being used/initialized (afaik) by /etc/inittab 2024-06-16 21:46:20 Let me re-enable them and try again, I'll send the specific log lines I was getting 2024-06-16 21:48:16 oh! i missed the S 2024-06-16 21:54:49 Habbie: right, yes. Sorry logs aren't appearing anymore somehow so I'm not able to get you (or anybody else) the error message. 2024-06-16 21:57:39 no worries 2024-06-16 21:57:45 with the S it's not so weird :) 2024-06-16 22:10:02 hi 2024-06-16 22:10:32 i have many question about alpine 2024-06-16 22:11:12 i run a tor server on alpine, alpine don't have grsecurity or selinux patch 2024-06-16 22:11:54 it is a great risk or not ? please 2024-06-16 22:14:16 it is maybe dangerous if i use kvm no ? 2024-06-16 22:15:30 i don't know if i have do use an another kernel for this usage 2024-06-16 22:20:39 SELinux is primarily about containing threats when they're already in the system, virtualization is an arguably even more secure way to do that (due to not requiring as much fine tuning to be secure), but the important thing to note is that if the attacker can't get in the machine to begin with (as in, there aren't any RCE vulnerabilities in exposed programs) it's not a concern, keeping tor and whatever is behind it up to date is by far the 2024-06-16 22:20:40 most important part 2024-06-16 22:21:47 of course, it doesn't completely prevent RCEs, zero day exploits aren't unheard of, but before you worry about anything else, focus on having up to date programs 2024-06-16 22:26:56 thanks 2024-06-16 22:27:46 it is for having a knowledge about the risk 2024-06-16 22:29:19 no system is 100 percent safe, the important thing is that the risk is low. tor is on the host system and for my navigation I use kvm 2024-06-16 22:29:54 np 2024-06-16 22:30:58 I also had a problem with openfile ulimits, but I had launched tor with a shell and not with the tor user 2024-06-16 22:31:10 blocked at 4063 2024-06-16 22:31:15 connection 2024-06-16 22:32:03 i try with ulimit and noeffects i try with /etc/security edit soft hard limit and the same 2024-06-16 22:32:44 but since i run tor with rc apparently the problem is solved 2024-06-16 22:32:58 rc = the init process 2024-06-16 22:40:00 in all case alpine is a very pretty much and i salute the work of contributors and creators 2024-06-17 02:56:23 Has anyone been able to run offlineimap in alpine 3.20? I'm setting `pythonfile = ` and then running offlineimap gives me ERROR: module 'importlib' has no attribute 'machinery'. 2024-06-17 02:57:04 The content of somefile.py doesn't seem to matter 2024-06-17 03:01:39 The odd thing is that inside the python repl I'm able to run `import importlib; import.machinery.SOURCE_SUFFIXES`. So it does exist.. 2024-06-17 03:09:41 :q 2024-06-17 06:34:38 Hello, I would like to unlock my root drive using clevis with tang server pin which is inturn connected through internet (wan). I am unable to configure mkinitfs to load network and call clevis unlock. Would appreciate if somecan can guide me in the right direction 2024-06-17 09:38:21 how does alpine load ATA controllers in the initramfs? 2024-06-17 09:39:45 i am using a kernel config very close to the default one from alpine, and the ATA controller features are all marked as [M]odules instead of builtin, and they are not passed in by the kernel `modules=` command. for example, in order for my initramfs to detect my CDROM, i had to `modprobe ata_piix` to enable the QEMU ATA controller. but that module doesn't seem like it's passed 2024-06-17 09:39:47 to the initramfs by the kernel parameter 2024-06-17 09:40:02 does the initramfs have some sort of hardware detection program or something? 2024-06-17 09:41:08 rdbo: you define featuresets in /etc/mkinitfs/mkinitfs.conf, including ata 2024-06-17 09:42:17 the "features" string is a list of keys into the /etc/mkinitfs/features.d/ directory 2024-06-17 09:42:46 nero: ahhhh i see. so that's how. this should be a good starting point, thanks 2024-06-17 09:43:07 i will try to integrate this somehow on my distro 2024-06-17 11:52:46 tomleb: this doesn't exactly answer your question, but in my opinion mbsync (from the 'isync' package) is better in most ways... as a former offlineimap user. 2024-06-17 13:06:52 invoked: I was debating between both anyway so mbsync it is for now. Thanks 2024-06-17 13:57:30 How can I configure a custom awall service for kdeconnect? I can not find an option to add port ranges. 2024-06-17 13:57:30 I need these ports: https://discuss.kde.org/t/kde-connect-devices-on-same-network-not-visible/14444/2 2024-06-17 14:21:16 wizzard: the port value can have a rente dilimited by - 2024-06-17 16:20:40 hm. dropping-in a key into /etc/apk/keys does not seem to work, does the filename need to match a pattern? 2024-06-17 16:20:46 the original file got lost 2024-06-17 16:20:54 and i only got the contents 2024-06-17 16:24:29 i dont see an apk command to import a key or re-generate the filename for it 2024-06-17 16:29:40 The name needs to match the original 2024-06-17 16:30:40 You can look at the filename in the package archive 2024-06-17 16:35:09 ... its my own pubkey 2024-06-17 16:36:34 uhh. wait. what do you mean with package archive? 2024-06-17 16:37:33 nvm got it. 2024-06-17 16:37:52 the APKINDEX.tar.gz has the filename as first entry 2024-06-17 17:55:07 Thanks. `awall translate --verify` ran without an error. No I just need to figure out why kdeconnect does not see any devices. 2024-06-17 17:55:07 > wizzard: the port value can have a rente dilimited by - 2024-06-17 17:55:07 Ok, that was wrong. Actually awall translate --verify did not report this error: awall: Expected comma or object end but found T_INTEGER at character 370 while parsing /etc/awall/private/custom-services.json 2024-06-17 17:55:07 That was fixed by quoting the range 2024-06-17 17:56:40 yes, that's a json syntax error 2024-06-17 18:03:33 I'm trying to switch from xorg to wayland/xwayland 2024-06-17 18:03:41 hi 2024-06-17 18:03:47 why? 2024-06-17 18:03:52 but the cpu usage in idle is really too high 2024-06-17 18:03:58 Many DEs will die in the process 2024-06-17 18:04:05 I don't use de 2024-06-17 18:04:53 alpine-lover, you do 2024-06-17 18:05:02 I'm using sway, but the cpu usage is like 50% all the time. I got wayland installed in vms without this issue 2024-06-17 18:05:09 I use wms 2024-06-17 18:05:25 WMs are DEs 2024-06-17 18:06:12 alright, still nothing visible broke, I tested in vm before actually doing it on host machine 2024-06-17 18:07:33 alpine-lover, how do you do video calls 2024-06-17 18:08:57 @morgoth xorg is insecure. 2024-06-17 18:09:14 stop presuming I have an use-case 2024-06-17 18:09:58 alpine-lover, if video conferencing does not work it should not declared to be Ready for Use and a Complete Replacement of xorg 2024-06-17 18:10:16 Sorry, people use their comptuers to get shit done, not wank about "theoretical purity" of technology 2024-06-17 18:10:36 en fact alpine does not gave a setup-wayland script 2024-06-17 18:11:32 nobody asked your opinion about the usefulness of wayland over xorg, I'm just reporting the high cpu usage, which probably would be similar if I were using something like gnome 2024-06-17 18:12:07 I hope you get help with your issue, but I must remind you this is a public forum and anyone can read and reply 2024-06-17 18:13:00 I didn't try other compositors other than sway, should I? 2024-06-17 18:13:36 my guess is that's related to my shitty integrated gpu, I installed drivers as wiki suggested 2024-06-17 19:40:37 try labwc 2024-06-17 19:40:41 they left 2024-06-17 20:28:00 personally i use my computer to wank about theoretical purity 2024-06-17 20:32:55 same thing 2024-06-17 23:14:46 https://wiki.alpinelinux.org/wiki/Raspberry_Pi 2024-06-17 23:15:13 this article says to use sys over diskless if you "Plan to install packages which consume more space than can be loaded into RAM" 2024-06-17 23:16:51 this seems to imply that package storage will be competing with programs for ram 2024-06-17 23:17:57 so if I plan to have firefox, libre office, and chromium, the mere storage for those packages would cut into the ram available for using them? 2024-06-17 23:50:40 yes, because you're running your OS in a ramdisk 2024-06-18 03:33:24 "WMs are DEs" lol 2024-06-18 04:26:37 Hi, I'm looking for the way to build all of packages of alpinelinux. and I'd like to know how alpinelinux handle the dependency tree when they build all of packages. Is there any CI for that? 2024-06-18 04:27:24 lua-aports has a tool called buildrepo, it knows how to build packages in the correct order 2024-06-18 04:28:48 trying to build an entire repo in CI usually fails due to timeouts 2024-06-18 04:32:26 so in github actions, you're limited to 6 hours per job, and 35 days per workflow run; a job matrix caps at 256 jobs 2024-06-18 04:32:40 if you split the task into multiple jobs, you could probably pull it off 2024-06-18 04:34:20 how do you deal with dependencies in different jobs? 2024-06-18 04:34:34 that's where it gets fun :D 2024-06-18 04:35:20 but I'm sure you could come up with 256 package groupings that don't have interdependencies 2024-06-18 04:35:58 this can be helped by building basic stuff separately first 2024-06-18 04:37:08 and then being able to share those built packages with the other jobs (not familiar with how that would work in github actions) 2024-06-18 04:37:23 can pass artifacts between jobs 2024-06-18 04:37:37 is there a limit in size? 2024-06-18 04:42:09 looks like 500 MB without payment; but that should be plenty for a base system 2024-06-18 04:42:18 Then how the developers build packages when new alpine linux release out? 2024-06-18 04:42:28 they use their own CI 2024-06-18 04:42:32 not Github Actions 2024-06-18 04:44:47 and we just build packages in CI that have changed 2024-06-18 04:44:51 not a complete repo 2024-06-18 04:44:58 https://build.alpinelinux.org/ 2024-06-18 04:46:02 The builders use aports-build + buildrepo 2024-06-18 04:46:51 they don't use an CI system, just a service on a builder that can chug along endlessly 2024-06-18 04:52:10 Ah thank you 2024-06-18 09:17:23 hi 2024-06-18 09:35:35 hi 2024-06-18 19:33:26 this article says to use fat16 for the boot partition: https://wiki.alpinelinux.org/wiki/Classic_install_or_sys_mode_on_Raspberry_Pi?useskin=vector 2024-06-18 19:34:08 this one says to use fat32: https://wiki.alpinelinux.org/wiki/Raspberry_Pi?useskin=vector 2024-06-18 19:34:58 is there a reason to prefer fat16 for a sys mode install? 2024-06-18 19:35:14 bc I don't have a mkfs for fat16 ... 2024-06-18 19:40:50 what mkfs do you have? 2024-06-18 19:41:42 mkfs.fat has an -F option 2024-06-18 19:41:45 check the manpage 2024-06-18 19:42:04 indeed 2024-06-18 19:42:09 but most likely you don't even need the option 2024-06-18 19:42:12 maybe 2024-06-18 19:42:18 only mkfs.vfat for which there is no man page 2024-06-18 19:42:39 on my (Debian) system, mkfs.vfat and mkfs.msdos are symlinks to mkfs.fat 2024-06-18 19:42:40 hm 2024-06-18 19:42:42 not sure 2024-06-18 19:42:50 this is on an alpine system 2024-06-18 19:43:00 i get that, that's why i am explicit :) 2024-06-18 19:43:58 here it is a symlink to busybox 2024-06-18 19:44:23 https://pkgs.alpinelinux.org/contents?file=&path=&name=dosfstools&branch=edge&repo=main&arch=x86_64 2024-06-18 19:45:15 seems like they're in /sbin according to this? 2024-06-18 19:45:19 i don't know if alpine is usr-merged 2024-06-18 20:21:54 cool, I just didn't have dosfstools installed 2024-06-18 20:22:10 but it seems to be working with fat32 anyway 2024-06-18 20:22:18 well then 2024-06-18 20:22:19 good 2024-06-18 20:35:01 hmm actually 2024-06-18 20:35:52 these steps tell you to modify /media/mmcblk0p1: https://wiki.alpinelinux.org/wiki/Classic_install_or_sys_mode_on_Raspberry_Pi?useskin=vector#Update_boot_partition_(keep_alpine-rpi*_image_layout) 2024-06-18 20:36:42 if I try to change the files there, I get errors due to "Read-only file system" 2024-06-18 20:37:31 if I try to umount that partition in order to remount it with write permissions, it says "Resource busy" 2024-06-18 20:38:00 so I don't see a way to complete the steps in the guide 2024-06-18 20:42:40 bleb: read the last line of code above in the page: `mount -o remount,rw /media/mmcblk0p1` 2024-06-18 20:44:04 ah yeah 2024-06-18 20:44:06 my b 2024-06-18 20:44:10 it's too hot <.< 2024-06-18 20:49:05 how do i check package upgrade errors again? got this : Executing glib-2.80.3-r0.trigger --1 error; 1783 MiB in 256 packages 2024-06-18 20:50:40 apk fix 2024-06-18 20:51:08 (that causes apk to retry the thing that errored, and should show the error again) 2024-06-18 20:51:52 ikke: beautiful, thanks. (1/1) Reinstalling llvm18-linker-tools (18.1.6-r1) OK 2024-06-18 20:52:15 That could mean there were file conflicts before 2024-06-18 20:52:21 i guess some dependency strand between the two i guess ... 2024-06-18 22:25:23 Has anyone succesfully used a bluetooth headset on alpine? 2024-06-18 22:25:23 Sadly pw-cli or qpwgraph does not show the device as as a sink. 2024-06-18 22:25:23 Since today It is possbile to use blueasla again to connect with the headhpones. 2024-06-19 01:14:03 hi 2024-06-19 01:14:29 hi 2024-06-19 01:14:32 hi³ 2024-06-19 01:21:51 Porting something to Alpine; if someone does this `apk add g++ make cmake ninja` that implies glibc is what they want; right? 2024-06-19 01:22:02 nope 2024-06-19 01:22:04 ACTION wants to port to musl 2024-06-19 01:22:12 triallax - hmm 2024-06-19 01:22:16 not sure why you're bringing up glibc here 2024-06-19 01:22:19 is it because of gcc? 2024-06-19 01:22:23 yeah 2024-06-19 01:22:28 gcc doesn't require glibc at all 2024-06-19 01:22:34 I know gcc can work with many libc implementations 2024-06-19 01:23:58 what are you trying to port? 2024-06-19 01:24:00 TL;DR - Getting this error so thought I need to edit the C++ code—and send them a PR—to fix: "duckdb/src/common/local_file_system.cpp:43:10: fatal error: linux/falloc.h: No such file or directory" 2024-06-19 01:24:15 you're missing linux-headers 2024-06-19 01:24:21 ohhh 2024-06-19 01:24:33 you should probably preface with what you're trying to do and any errors when you ask questions :) 2024-06-19 01:25:36 I'll try it soon; currently on really slow internet and it still hasn't cloned down (yes, with `--depth=1 --single-branch`). Then going to run on 3.20 via Docker and see if it builds 2024-06-19 01:25:49 still curious to know what it is 2024-06-19 01:25:57 --depth=1 --single-branch 2024-06-19 01:25:59 https://duckdb.org/ 2024-06-19 01:26:34 i don't think you need make 2024-06-19 01:26:43 actually 2024-06-19 01:26:47 hmm the instructions mention it 2024-06-19 01:26:49 nvm then 2024-06-19 01:27:55 yeah I've played around a bunch porting C libraries to different platforms (MSVC, C89, OpenWatcom) 2024-06-19 01:28:12 building it seems to be fairly straightforward 2024-06-19 01:28:19 assuming you don't hit any incompatibilities with musl et al 2024-06-19 01:28:29 Just annoying when the error stemmed from a Rust project depending on another Rust project depending on building a C++ library from source depending on some headers I was missing :( 2024-06-19 01:28:42 triallax - I'll let you know once it's cloned! :) 2024-06-19 01:28:52 i'll probably be in bed by then :D 2024-06-19 01:31:00 :D 2024-06-19 01:31:13 ACTION puts triallax to 🛏️ 2024-06-19 01:32:24 Oh interesting someone already found it and got it fixed - https://github.com/duckdb/duckdb/issues/11703 2024-06-19 01:32:41 time to trace the versions in Rust until I find where needs upgrading 2024-06-19 01:32:56 why though? 2024-06-19 01:33:02 isn't installing linux-headers sufficient 2024-06-19 01:35:14 Ok now waiting for this https://github.com/duckdb/duckdb-rs/pull/336 2024-06-19 01:35:25 triallax: sure let me try that also whilst I wait for this PR to be merged 2024-06-19 01:35:40 `apk` has installed 8/33 pkgs 2024-06-19 01:57:46 Hi. I am having problems installing in diskless mode on lvm. I do not understand how to mark up a logical volume since fdisk cannot create ms dos on lvm. That is, if I create /dev/vg0/root and /dev/vg0/root1 and follow the instructions, then I can't normally close the volumes via lvchange, yes, I can close them if I unlink them via dm-setup, but the data disappears or I don't understand something. Is it even possible to install diskless mode on 2024-06-19 01:57:46 an encrypted lvm partition? I would really appreciate it if someone could tell me in which direction I should dig. 2024-06-19 01:59:07 https://wiki.alpinelinux.org/wiki/Create_a_Bootable_Device 2024-06-19 02:07:52 hello 2024-06-19 02:10:01 ll0l00l1l0: if someone knows, when they notice, they will answer 2024-06-19 02:10:05 a lot of people idle here. 2024-06-19 02:10:53 That would be nice 2024-06-19 04:13:41 ll0l00l1l0: diskless means running in ram. How does lvm come into play? 2024-06-19 04:19:05 ikke: the idea of a disk-free mode loads information from the disk into memory, does lvm interfere with this? i just need to install a disk-free mode on a fully encrypted section, but lvm breaks down when i create a section on a logical volume. 2024-06-19 04:20:43 like lvm/vg0/part --> lvm/vg0/part1 2024-06-19 10:41:25 Hello 2024-06-19 12:10:11 TIL these's Asahi kernel in the repo 2024-06-20 15:11:42 How can I measure the total network traffic from a single process? 2024-06-20 15:11:51 I don't care about speed, I only want to know total bytes transferred. 2024-06-20 15:18:29 by taking two samples you can deduce the speed also linux only, or is this a broader question? 2024-06-20 15:19:55 there are TUIs that show how much bandwidth each process is using 2024-06-20 15:20:01 i guess you could do with ebpf on your process get the number of bytes on a process if it is a linux only answer you're looking for. maybe there is easier ways to do it, but this is one i am sure works... 2024-06-20 15:25:15 WhyNotHugo: nethogs -v1 for example 2024-06-20 15:25:38 I don't want bandwith, I want total traffic. 2024-06-20 15:26:55 WhyNotHugo: -v1 shows total traffic 2024-06-20 15:28:18 Oh, the man page made me think otherwise. 2024-06-20 15:28:20 Perfect, thanks! 2024-06-20 15:38:07 Hi, are the Alpine releases build log available somewhere? More precisely, can I find how alpine-minirootfs-3.20.1-x86_64.tar.gz is build and what were the build logs for this release? 2024-06-20 16:33:13 Hi. How can I set dns servers explicitly when using dhcp (I don't want it to use the DHCP provided DNS servers). In /etc/network/interfaces 2024-06-20 16:35:23 dac11: set RESOLV_CONF=no in /etc/udhcpc/udhcpc.conf 2024-06-20 16:35:29 then you can manually change /etc/resolv.conf 2024-06-20 16:36:02 Nice! Thank you 2024-06-20 17:12:05 Just curios, are there any performance tests using Docker on Alpine VS other Linux? 2024-06-20 17:19:48 udhcpc handles all interfaces as soon as they have carrier? 2024-06-20 17:20:01 I'm using dhcpcd, but wondering if I could simplify 2024-06-20 17:26:02 Is there a "grep" on Alpine that includes the '-z' option 2024-06-20 17:27:10 try the "grep" pkg 2024-06-20 17:37:31 Configuration via /etc/network/interfaces uses dhcpcd rather than udhcpc? 2024-06-20 17:57:22 Is there a b2-sdk package for using Backblaze on Alpine 2024-06-20 17:57:30 https://github.com/Backblaze/b2-sdk-python 2024-06-20 18:00:00 I found this: https://github.com/gbeal/docker-backblaze-b2/blob/master/Dockerfile - But no luck running those commands manually 2024-06-20 18:00:08 dac11, how about using pip? 2024-06-20 18:01:06 I get this: 2024-06-20 18:01:09 × This environment is externally managed 2024-06-20 18:01:09 error: externally-managed-environment 2024-06-20 18:01:09 ╰─> 2024-06-20 18:01:09 # pip install b2sdk 2024-06-20 18:01:09 The system-wide python installation should be maintained using the system 2024-06-20 18:01:10 package manager (apk) only. 2024-06-20 18:01:12 2024-06-20 18:01:14 If the package in question is not packaged already (and hence installable via 2024-06-20 18:01:16 "apk add py3-somepackage"), please consider installing it inside a virtual 2024-06-20 18:01:18 environment, e.g.: 2024-06-20 18:01:20 2024-06-20 18:01:22 python3 -m venv /path/to/venv 2024-06-20 18:01:24 . /path/to/venv/bin/activate 2024-06-20 18:01:26 pip install mypackage 2024-06-20 18:01:28 2024-06-20 18:01:30 To exit the virtual environment, run: 2024-06-20 18:01:32 please don't paste stuff 2024-06-20 18:01:32 2024-06-20 18:01:34 deactivate 2024-06-20 18:01:36 please use a pastebin 2024-06-20 18:01:38 2024-06-20 18:01:40 The virtual environment is not deleted, and can be re-entered by re-sourcing 2024-06-20 18:01:42 the activate file. 2024-06-20 18:01:44 2024-06-20 18:01:46 To automatically manage virtual environments, consider using pipx (from the 2024-06-20 18:01:47 and, please find out the right way to use pip on alpine. I generally like pipenv. 2024-06-20 18:01:48 pipx package). 2024-06-20 18:01:50 note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages. 2024-06-20 18:01:54 hint: See PEP 668 for the detailed specification. 2024-06-20 18:02:04 Sorry, haven't been on IRC in a while 2024-06-20 18:02:57 https://pastebin.com/rddQyR9S 2024-06-20 18:04:45 this message already tells you what you can do: 1) package b2sdk ; 2) use venv and install b2sdk there ; 3) use --break-system-package to force global installation 2024-06-20 18:05:23 or using pipx or something similar 2024-06-20 19:09:16 Hey all - quick 2024-06-20 19:11:50 very quick 2024-06-20 19:13:13 too quick even 2024-06-20 19:57:51 Somewhy my alpine lxc container doesn't shutdown on lxc-stop 2024-06-20 20:13:11 Has anything changed in how bb init handles signals? 2024-06-20 20:14:24 not aware of, and haven't noticed this issue myself on our 3.20 lxc systems 2024-06-20 20:16:30 well, upd: it actually works, but it takes a lot of time 2024-06-20 20:17:28 waiting for some service to stop? 2024-06-20 20:18:44 Probably. How can I check this? 2024-06-20 20:21:40 second time it worked fine... *shrug*. Should take some time to learn lxc more thouroughly 2024-06-20 21:50:18 It seems like I don't have sound on my laptop following an update in the last couple months (I usually have a USB headset, so I don't know exactly when it stopped working). Any guidance on how I can make a diagnostic? /usr/bin/pipewire is running, and I have a bunch of clients in pactl -list 2024-06-20 22:09:16 Hmm actually it seems like the only sink I have is "Dummy Output". Though it used to work... 2024-06-20 22:18:08 Ok so `aplay -l` says "no soundcards found...", something must be wrong there 2024-06-21 05:26:48 jonesv: I had issues going from 3.19 -> 3.20. Which resulted in no audio. I fixed it by installing pavucontrol, going into the configuration tab, and changing the profile 2024-06-21 07:32:09 gamingirc: hmm in the configuration tab it says "No cards available for configuration". I'm starting to think that somehow I have an issue at the kernel level. Like a module is missing... 2024-06-21 07:36:16 jonesv: check dmesg for missing firmware 2024-06-21 13:18:04 hello https://alpinelinux.org/downloads/ shows two different downloads for each Raspberry Pi arch. A .tar.gz and a .img.gz file. What's the difference between the two? 2024-06-21 13:21:01 From my head: the tar can be extracted to an existing file system, while the img can be written directly to the storage, but you would need to manually extend the partitions 2024-06-21 13:22:01 got it. It makes sense. Thank you! 2024-06-21 15:45:58 When is kde plasma 6.1 coming in alpine edge repo? 2024-06-21 15:57:59 Hello everybody. I'm trying to create an Alpine Linux LXC container from Alpine Linux following the doc from the wiki (https://wiki.alpinelinux.org/wiki/LXC), but I'm faced to errors linked to lxc-templates that doesn't seem to install the templates (alpine or any other distri template). Do you have any advice on how to solve this? 2024-06-21 18:36:38 Has anyone managed to fix this error? 2024-06-21 18:36:38 Libreoffice does not start: 2024-06-21 18:36:50 Unable to load jimage library: /usr/lib/jvm/java-21-openjdk/lib/libjimage.so 2024-06-21 18:36:50 Error occurred during initialization of VM 2024-06-21 18:36:50 file /usr/lib/jvm/java-21-openjdk/lib/libjimage.so 2024-06-21 18:36:51 % libreoffice 2024-06-21 18:36:51 /usr/lib/jvm/java-21-openjdk/lib/libjimage.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=e56feacbb37e89534a66f41d28145afad105c4f2, stripped 2024-06-21 18:41:20 wizzard, I have openjdk22-jre-headless-22.0.1_p8-r2 here and libreoffice starts (@edge) 2024-06-21 18:56:23 That is weird, I have the same version. Any suggestions what I could try? I am also using edge 2024-06-21 19:33:44 anyone know if 4g routers (or tp archer mr200 specifically) can be set up independent of any net-service? saw some youtube video where they set up password by accessing a tp web page ... 2024-06-21 19:34:05 also are 4g routers ok/good? 2024-06-21 19:54:12 wizzard, maybe you have some java-related things in your env 2024-06-21 19:54:27 (like JAVA_HOME, for example) 2024-06-21 20:02:01 printenv returns no java, sdk or jre environment variables 🙁 2024-06-21 20:05:43 And is there anything actually requirering openjdk21 on your system? 2024-06-21 20:06:09 But if you don't have any java env set, you might try that to solve your problem :) 2024-06-21 20:07:03 like: export JAVA_HOME=/usr/lib/jvm/java-22-openjdk/; libreoffice 2024-06-21 20:11:18 I managed to solve the issue by starting in safe mode, reseting all config files of libreoffice and then starting in normal mode again 2024-06-21 20:11:18 Thanks for the help <3 2024-06-21 20:12:30 nice :) 2024-06-21 20:17:28 . 2024-06-21 20:41:04 Hummm, any idea why wpa_supplicant would take a lot of CPU? 2024-06-21 20:41:04 2770 root 20 0 9208 1480 1208 S 12.9 0.0 4:31.46 wpa_supplicant 2024-06-21 20:41:13 Sometimes goes up to 60% 2024-06-21 20:41:37 2770 root 20 0 9224 1480 1208 S 39.0 0.0 4:34.55 wpa_supplicant 2024-06-21 20:42:16 I'm not even using wireless, I'm on the Ethernet 2024-06-21 21:16:30 WhyNotHugo: oh you're right, dmesg says "sof firmware file is missing". However, I have the package `sof-firmware` installed :-/ 2024-06-21 21:35:39 WhyNotHugo: Uninstalling and reinstalling `sof-firmware` solved it! \o/ A file was missing somehow. Thanks a lot for the help! 2024-06-21 21:40:43 jonesv: Odd. Did you have the latest version installed? 2024-06-21 21:53:37 WhyNotHugo: I actually installed it the first time (after your message), rebooted, and the file was still missing. I tried to `apk add sof-firmware` and it was still incomplete. Eventually I tried `apk del sof-firmware && apk add sof-firmware`, and this time the file got installed correctly and it worked after a reboot 2024-06-21 21:53:50 WhyNotHugo: So I am a bit confused, but happy that it works now :) 2024-06-21 21:55:09 Hello everybody. I'm trying to create an Alpine Linux LXC container from Alpine Linux following the doc from the wiki (https://wiki.alpinelinux.org/wiki/LXC), but I'm faced to errors linked to lxc-templates that doesn't seem to install the templates (alpine or any other distri template). Do you have any advice on how to solve this? 2024-06-22 09:33:33 Hello. I'm trying to install Alpine 3.20 using this setup-install configuration : https://github.com/bobfraser1/packer-alpine/blob/main/http/answers but it keeps asking for keyboard layout after some time (like 30s). What is wrong ? (I also modified the script to add "export ", same result). Thanks. 2024-06-22 10:18:35 ok looks like more a packer problem, not serving http 2024-06-22 13:26:22 hello, I'm trying to use torsocks with a flatpak verified browser, but it doesn't connect. Any help? 2024-06-22 13:26:47 is there any guide on how to set up the whole system through tor? 2024-06-22 13:27:49 does the browser need torsocks at all? I thought that was only for programs that *don't* support SOCKS proxy, and many browsers do 2024-06-22 13:28:54 oblogata: to address your specific question, you will need to set some things in flatpak for that app, of which just installing flatseal (another flatpak) is the easiest way to do it 2024-06-22 13:29:18 such as? Thank you 2024-06-22 13:29:32 but not addressing your question: it'd be better to run torbrowser-launcher from flathub instead of connecting some other browser to torsocks 2024-06-22 13:30:13 if the "tor" part of that is important to you 2024-06-22 13:34:42 is it gonna happen only in browsers? 2024-06-22 13:35:36 no. when it comes to accessing resources (net, devices, etc) there are various permissions on a per-app basis with flatpak 2024-06-22 13:35:41 is there an alpine guide on how to set up tor globally? I mean I could set it on /etc/profile etc. but there'll be always something out of it 2024-06-22 13:36:21 not currently, but torproject.org's website is what you should follow. alpine doesn't change anything from upstream 2024-06-22 13:36:44 systemd/debian specific stuff aside 2024-06-22 13:37:11 but again i will stress it's not a great idea to run a regular browser across torsocks 2024-06-22 13:37:35 my suggestion is to use torbrowser-launcher if you want to do web browsing on tor. 2024-06-22 13:38:13 you won't have to run a system tor if that's all you want to do, but there are other reasons besides 2024-06-22 13:39:59 what changes should I make in flatseal to make tor work? my question was more general than just browsing, there are lots of good verified flatpak, and I find it better not using the program's proxy handler 2024-06-22 13:40:59 first of all, i don't know what you mean by "verified" -- flathub is just a repo 2024-06-22 13:41:38 second, via flatseal you need to give every flathub app access to localhost:9050 (unless you changed your socksport) 2024-06-22 13:41:51 at least, anything you want using torsocks 2024-06-22 13:43:38 got disconnected, didn't get replies 2024-06-22 13:43:56 https://irclogs.alpinelinux.org 2024-06-22 13:49:03 what do u mean? verified flatpaks supposely aren't uploaded by untrust 2024-06-22 13:50:00 I mean, they should be maintained by the same people maintaning the official program 2024-06-22 13:50:05 you mean the checkmark thing? well yes, supposedly. 2024-06-22 13:50:40 thanks for your time 2024-06-22 13:52:18 for anyone at home playing along, that checkmark thing can also mean a third-party. 2024-06-22 14:12:21 which initrd module should I enable to be able to type? 2024-06-22 14:12:42 I need to drop into init=/bin/sh 2024-06-22 14:14:00 or is this literally a list of kernel modules? 2024-06-22 14:34:23 Chat, is this true? https://news.ycombinator.com/item?id=40737177 2024-06-22 14:34:38 I'm thinking about installing Alpine on a Pi ZW2 and I need to work with stuff like wifi and camera. Is Alpine a good choice for this? 2024-06-22 14:38:42 if the hw is supported in the mainline kernel, then it should be no problem. 2024-06-22 14:41:00 AFAIK the base Pi should be supported, but it has quite a few peripherals that might require blobs. Does Alpine have a mechanism of inserting such blobs? 2024-06-22 15:20:45 alpine uses a stock mainline kernel, if the mainline kernel has mechanisms for such blobs, alpine also has it. 2024-06-22 16:42:45 the bluez package, should run modprobe uinput otherwise AVRCP fails. How should I adapt the APKBUILD. 2024-06-22 16:42:45 Does it make sense to add this to a service file, or should I rather patch the sources to run modprobe or is there a better method? 2024-06-22 16:52:26 wizzard: drop a file in /etc/modules-load.d 2024-06-22 16:53:07 But doing it at service start is also a good option 2024-06-22 16:53:39 advantage of modules-load.d is that the module is loaded at boot, so you know the modules for the current running kernel are still present 2024-06-22 17:15:04 is it possible to force rc to log as something other than "user" and specify the program name? 2024-06-22 17:15:38 I have a user.log full of this: 2024-06-22 17:15:40 Jun 22 20:11:48 server : Will stop /usr/sbin/chronyd 2024-06-22 17:46:00 hi 2024-06-22 17:46:23 is it possible to use secureboot with diskless? 2024-06-22 18:06:20 thanks, will PR later 2024-06-22 18:06:20 > wizzard: drop a file in /etc/modules-load.d 2024-06-22 18:19:38 anyone got working gamescope from a tty with steam flatpak? 2024-06-23 10:22:32 does anyone know what could cause linux to not run the parameter i pass in `init=`? 2024-06-23 10:22:48 i added `init=/bin/sh` in the grub boot options to debug some stuff, but it still runs /init 2024-06-23 10:23:13 (i'm using a custom kernel, derived from the alpine kconfig) 2024-06-23 10:27:07 can you check /proc/cmdline (if you are able to)? 2024-06-23 10:28:20 it shows `BOOT_IMAGE=... init=/bin/sh` 2024-06-23 10:28:54 the other parameters are just modules to be probed on initramfs and vga color stuff, i think it shouldn't be an issue 2024-06-23 10:29:56 yeah deleting those parameters and keeping the `init=/bin/sh` still didn't change anything 2024-06-23 10:34:20 init= is only handled by the kernel when you don't have an initramfs 2024-06-23 10:51:35 dwfreed: ohhh, i didn't know that. i thought it would always prefer the init= param over /init and the other default init paths 2024-06-23 11:16:05 i figured it out, you can use `rdinit=` 2024-06-23 11:16:25 it will mount the initramfs and then it will use whatever path given in `rdinit=` to be the init executable 2024-06-23 12:05:59 I made an alpine chroot on fedora, steps in https://git.runxiyu.org/runxiyu/current/misc.git/tree/alpine-chroot-create and https://git.runxiyu.org/runxiyu/current/misc.git/tree/alpine-chroot-activate; I can use apk to install packages and stuff but when I add a user and attempt to su - to it, I get stuff like su: can't change directory to '/home/runxiyu': Permission denied 2024-06-23 12:21:46 runxiyu: there is a easier way to do what you are doing, and may fix the issue 2024-06-23 12:22:10 you can install things with apk directly using the `-p` flag to set a custom root directory, i do that all the time 2024-06-23 12:22:27 so for example `apk add -p alpine-base bash` 2024-06-23 12:22:57 actually before you do that, you have to initialize the apk database with `apk add --initdb -p ` or something like that 2024-06-23 12:23:49 usually this does the trick for me, i have a chroot for x86 development on my x64 machine, and doing these steps works for me 2024-06-23 12:32:12 runxiyu: verify that the permissions from outside the chroot allow the target uid access to traverse all the way to the homedir 2024-06-23 12:32:53 namei -lx /path/to/chroot/home/runxiyu from the fedora host is an easy way to check 2024-06-23 12:42:34 dwfreed: Ohhh, that might be the issue, I'll try 2024-06-23 12:42:43 rdbo: My host is fedora, not alpine 2024-06-23 12:42:51 rdbo: Should I just use apk-tools-static that way? 2024-06-23 12:44:53 ACTION doesn't really understand how filesystem permissions work with chroots 2024-06-23 12:45:21 the permissions work the same as if chroot was not involved 2024-06-23 12:45:57 all chroot does is hide the directories below the new / from the processes 2024-06-23 12:45:58 uh I just recursively chmod a+r'ed everything and forgot that I had bind mounts to proc sys and dev 2024-06-23 12:46:14 it's not r that matters, but x 2024-06-23 12:46:27 and just reboot 2024-06-23 12:46:33 yeah 2024-06-23 12:46:57 the namei -lx will tell you where in the path the permissions are wrong 2024-06-23 12:47:12 just fix that dir non-recursively :P 2024-06-23 12:47:35 ACTION notes that down, also for when they need to find permission issues in /etc/letsencrypt 2024-06-23 12:51:33 I blame my stict umask 2024-06-23 13:35:12 So I read about someone that uses mimalloc2 for some of their docker/VM workload. I looked into and it seems like it could help, but beyond just apk add mimalloc2 what else would need to be done to have it enabled as the default? I don't know if it is once you install it or if there are more steps? 2024-06-23 14:05:00 Hi 👋 2024-06-23 14:06:30 It is likely my fault, but on two systems I've upgraded from alpine 3.19 to 3.20, nfs mounts fail because nfs-utils weren't installed after the upgrade. 2024-06-23 14:07:11 Could it be that nfs-utils weren't required to mount nfs 4 shares in 3.19? 2024-06-23 14:46:01 what package contains /etc/mime.types? 2024-06-23 14:46:34 seems to be mailcap 2024-06-23 14:46:37 https://pkgs.alpinelinux.org/contents?file=mime.types&path=&name=&branch=edge&repo=main&arch=ppc64le 2024-06-23 15:57:31 Xe: apk info --who-owns /etc/mime.types 2024-06-23 17:08:40 is there a full alpine linux guide on how to do a encrypted disk non-lvm install? 2024-06-23 17:09:06 i've setup the parameters but once upon boot cryptsetup asks me for a password, entering it correctly leads to mkinitfs not being able to mount 2024-06-23 17:09:37 it successfully opens the disk on /dev/mapper/luks 2024-06-23 17:13:43 i find it a bit concerning /sbin/setup-disk does cryptdm=root 2024-06-23 17:13:45 and not cryptdm=luks 2024-06-23 17:27:58 nvm, cryptdm is just the name of the mapped disk, adding root=/dev/mapper/$crypdm fixed the issue for me 2024-06-23 17:28:04 shame there is no guide for this 2024-06-23 17:28:29 Anyone can add one to the wiki after creating an account. 2024-06-23 17:40:00 theres not a centralized place for encrypted disk setups 2024-06-23 17:40:04 unlike arch 2024-06-23 23:14:20 there's many ways it could be done, and setup-* is the only standard way 2024-06-24 02:29:40 invoked: I'm referring to the wiki 2024-06-24 02:47:07 sewn: yes, and i'm pointing out that when it comes to doing encrypted installs, there are many ways it can be done 2024-06-24 02:47:34 in other words, it gets into the realm of opinion 2024-06-24 02:48:11 boring 2024-06-24 02:48:45 feel free to write a page explaining how you'd do it 2024-06-24 02:49:41 It doesn't need to be centralized either... It can just be a standalone page and it can be linked into other pages later. 2024-06-24 02:49:55 A lot of people find the wiki articles with Google (or some other search engine) to begin with.. so \o/ 2024-06-24 02:52:09 and, you know, there are loads of caveats. cryptsetup was bumped, and if you look at the release notes, you will see that opal nvmes can be a problem 2024-06-24 02:52:23 so be sure to include all that baggage in your page 2024-06-24 03:45:46 immmeeeee laaazyyyyy 2024-06-24 04:25:22 I was trying to figure out how to get rid of the suid on some binaries I have on alpine that I'd rather not remove. Apk kept adding it back. Then i had an ephiphany: Just mount everything as nosuid! Duh! 2024-06-24 04:25:39 Sometimes the answer is right under your nose 2024-06-24 13:32:10 I ran `ulimit 256` and ran a program that segfaults. The resulting coredump is 201k, but the man pages say that the ulimit value is 512byte blocks. 2024-06-24 13:32:40 512*256=128k. So the dump is larger than the limit 2024-06-24 13:35:29 WhyNotHugo: did you mean ulimit -c 256 ? 2024-06-24 13:35:39 or did you actually run 'ulimit 256' ? 2024-06-24 13:35:49 Yeha, that, sorry 2024-06-24 13:36:16 what? 2024-06-24 13:36:26 Yeah, I ran `ulimit -c 256`. 2024-06-24 13:37:04 bash says all units are 1k except -t, -p, and -u 2024-06-24 13:37:35 t is seconds, p is 512 bytes, and u is a raw number (because it's a process count) 2024-06-24 13:37:53 posix man pages and zsh man pages say "512-byte blocks". I'm using zsh. 2024-06-24 13:39:09 (bash says it also uses 512bytes when in posix mode, but I'm not using bash anyway) 2024-06-24 13:41:24 what does /proc//limits say 2024-06-24 13:48:26 WhyNotHugo: I checked the zsh code, even though the docs may say it uses 512 byte units for this, it actually uses 1 KiB units 2024-06-24 13:48:59 https://github.com/zsh-users/zsh/blob/master/Src/Builtins/rlimits.c#L592 2024-06-24 13:50:00 so ulimit -c 256 -> 256 KiB 2024-06-24 13:50:28 (which can be confirmed with /proc//limits, which always uses bytes) 2024-06-24 13:51:44 my test program produced a 4M core with "Max core file size = 32768 bytes" :) 2024-06-24 13:52:33 gdb complies, tho 2024-06-24 13:52:38 so it's not complete 2024-06-24 13:52:49 on your core file, is that what du says? 2024-06-24 13:52:56 that it's 4 MB 2024-06-24 13:53:14 yeah, good point 2024-06-24 13:53:30 32 blocks 2024-06-24 13:53:51 Size: 4055040 Blocks: 64 2024-06-24 13:54:46 a block is 512 bytes, iirc, for this purpose 2024-06-24 13:55:09 "du" said "32" (it's K, I guess) 2024-06-24 13:55:16 stat "blocks" is 512 (100%) 2024-06-24 13:55:58 so the kernel tries to write the core as usual, but actually written blocks are limited by ulimit 2024-06-24 13:56:00 makes sense 2024-06-24 13:56:09 yeah, du defaults to 1k units 2024-06-24 13:58:51 s/complies/complains/ 2024-06-24 14:59:06 Hello! I am curious whether or not Alpine has guidelines on command name clashes like Debian does. Specifically, I'm using sponge from moreutils and would like to use Task Spooler's ts as well but moreutils is already using ts for itself. For what it's worth, Debian renamed ts to tsp. 2024-06-24 15:05:44 aron: if the core file is larger than the limit, it is truncated (on Linux, on BSD it won't be created at all). 2024-06-24 15:07:12 it seems this is not the case: the kernel only writes the specified number of *blocks* into the core file, maintaining it's stucture -- that's why it is "larger" than the limit 2024-06-24 15:08:57 "larger" here means: the file length is the size of the core file, but the actual file size (blocks allocated on the fs) is limited by "ulimit -c" 2024-06-24 15:09:40 this is the reason why you experience "larger" core files than "supposed to be" 2024-06-24 15:10:18 just call a "stat" on your core file, and you'll see 2024-06-24 16:39:28 dwfreed: didn't know about the procfs value, thanks for the hint. 2024-06-24 17:17:37 I'm constantly getting screen freezes while using 2 vms with both wayland and sway 2024-06-24 17:17:50 this is the relevant dmesg log 2024-06-24 17:17:53 https://tpaste.us/ggDy 2024-06-24 17:18:57 I tried switching from qxl to virtio but then both screen load with no sync, weird framerate and glitches 2024-06-24 17:20:32 giving more video vram doesn't solve the issue 2024-06-24 17:26:50 lowering resolution seems the only way to fix 2024-06-24 17:27:58 alpine3kd2: To little video memory? 2024-06-24 17:28:13 I at least noticed issues with Virtual Box that got solved by increasing video ram 2024-06-24 17:28:37 I edited the xml file adding more video memory, no change 2024-06-24 17:29:01 I'm using qemu kvm, virt-manager as frontend 2024-06-25 00:15:52 i think ive fucked up, i tried transplanting my boot nvme ssd from an older pc to a new one and now i get dropped into the initramfs rescue shell (nvme drivers dont get loaded into initramfs). if somebody could give me some pointers id be grateful. 2024-06-25 00:37:45 vardrop, was one or the other using virtual storage vs raw nvme? could prob just chroot and either generate a new initramfs or reinstall the kenrel and let it do it for you 2024-06-25 00:42:28 tdr, no vfs was used. i tried chrooting and generating a new initramfs but to no avail, this only resulted in me getting a new bios entry that booted an initramfs that got stuck. currently im trying to reinstall and then overwrite the system except boot with an old image from the partition. 2024-06-25 00:44:07 reinstalling fresh does net me a bootable install i might add 2024-06-25 00:48:58 reinstalling what fresh, the kernel or the whole OS? 2024-06-25 00:53:08 whole os, might not be elegant but ive been stumped by this for quite some time now 2024-06-25 01:53:36 thanks for letting me rant for a bit, ive figured something out: by reinstalling the whole os and then rsync-ing a backup without /boot and /etc/fstab, ive got it up and running again. might not have been the most elegeant solution but it seems to work so far. 2024-06-25 09:36:01 Ariadne: i know it's old news, but i've just noticed you've included a note in the gcc documentation that alpine builds it with -z now by default. that's a very nice touch. https://git.alpinelinux.org/aports/tree/main/gcc/0003-specs-turn-on-Wl-z-now-by-default.patch 2024-06-25 13:14:14 Hi all, I am trying to debug a C# application running in docker using VS 2022, but I keep running into some unexcepted error, as far as I can tell, it works when using non alpine based images. Is this something known? 2024-06-25 13:39:37 how is the c# app built? do yo uuse precompiled binaries or do you build the app from source on alpine? 2024-06-25 13:51:33 rc-service logs to syslog as user.info without any app name. this a bug or intended? 2024-06-25 14:54:30 ncopa, so the app is built in docker using a multilayered approach and then running it finally using the MS alpine image 2024-06-25 14:55:45 using mcr.microsoft.com/dotnet/sdk:8.0-alpine 2024-06-25 14:57:12 This is even weirder, I don't understand why debian is used for production and alpine for local. It's not like alpine can't do what debian does 2024-06-25 17:50:25 Hummm, is there other QRcode decoder in Alpine, besides zbar? 2024-06-25 17:57:48 !65395 includes zint, but is not merged yet 2024-06-25 18:27:11 Has anyone experiemced Alpine apecific issies with Librewolf? Hoping it can be bumped to community as vanilla Firefox is making some interesting choices. 2024-06-25 18:27:30 s/experiemced/experienced/ 2024-06-25 18:42:18 it will be more productive if you describe your issues with librewolf 2024-06-25 18:45:08 Does alpine also have a tester sign off or something like arch? that you can help test packages ? 2024-06-25 18:49:13 Thank you fossdd :) 2024-06-25 18:49:20 So, actually using https://github.com/zint/zint 2024-06-25 19:15:47 Dex2x: we have nothing formalized 2024-06-25 19:26:26 How is it currently done? Any way to test packages ? 2024-06-25 19:27:55 anybody can test packages on their own. that's not hard to do. getting it merged so that it's available to everyone is up to the group of people who have that ability. 2024-06-25 19:57:38 Ermine: I have no issues, just hoping noone else does so it can be bumped from testing 2024-06-25 20:48:17 how do i mount a fat32 partition with a umask? 2024-06-25 20:48:38 i've tried setting umask,fmask, and dmask in fstab and cli mount settings 2024-06-25 20:48:50 it always just mounts as rwxr-xr-x when i want rwx------ 2024-06-25 20:49:16 this partition has my apkovl files so i don't want any user to be able to read it 2024-06-25 20:52:54 SArpnt, how do you mount? 2024-06-25 20:55:23 there's no permission on vfat 2024-06-25 20:55:46 worksforme 2024-06-25 20:55:57 umask is 022 2024-06-25 20:56:14 doas mount -o umask=077 vfat /mnt/iso/; doas touch /mnt/iso/test; doas ls -l /mnt/iso/test 2024-06-25 20:56:17 -rwx------ 1 root root 0 Jun 25 22:55 /mnt/iso/test 2024-06-25 21:09:01 doas mount -o umask=0077 2024-06-25 21:10:16 umask=077 doesn't work either 2024-06-25 21:10:42 every fat32 mount ends up with umask 022 which is the one i don't want 2024-06-25 21:12:11 SArpnt, so the same test that I showed doesn't work for you? 2024-06-25 21:16:12 no the test you showed does absolutely nothing because that's already the default permission 2024-06-25 21:16:19 i'm trying to set it to a *different* permission 2024-06-25 21:47:24 SArpnt, it's not, as I showed, the default is 022 2024-06-25 21:48:15 And you can clearly see that 077 is being applied 2024-06-25 21:48:36 But it doesn't matter, set your umask to whatever you want, and then set a different umask mount option and you'll see 2024-06-25 21:49:15 Or maybe you didn't read it correctly? 2024-06-25 21:54:44 ah i did misread 2024-06-25 21:55:19 what you're saying just does not work for me 2024-06-25 21:55:31 permissions are all still rwxr-xr-x 2024-06-25 21:55:43 with mount -o umask=077 /dev/sta1 /media/test 2024-06-25 21:55:50 /dev/sda1 2024-06-25 21:56:46 What does the mount entry show for this mount? 2024-06-25 21:57:01 I mean once mounted, as shown by the output of the mount command 2024-06-25 21:57:18 Here it is: /tmp/vfat on /mnt/iso type vfat (rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=utf8,shortname=mixed,errors=remount-ro) 2024-06-25 22:02:43 rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=utf8,shortname=mixed,errors=remount-ro 2024-06-25 22:06:31 ok so the problem is with the mounting 2024-06-25 22:06:41 The option isn't being applied 2024-06-25 22:06:47 What's the type? Is it vfat too? 2024-06-25 22:09:23 it's a fat32 partition according to gparted 2024-06-25 22:09:26 and i made it in gparted 2024-06-25 22:09:47 I mean the output of mount, is it also using the vfat driver 2024-06-25 22:09:52 “type vfat” 2024-06-25 22:10:23 Well, got to go to close the eyes for a few hours :) 2024-06-25 22:10:45 Maybe mounting with -v will also give you more information as to why your option isn't being applied 2024-06-25 22:10:58 yes it's vfat 2024-06-25 22:11:03 ok 2024-06-25 22:11:10 -v says nothing 2024-06-25 22:11:51 check dmesg 2024-06-25 22:12:04 i added way more v and it does give an output 2024-06-25 22:12:21 it's not my desktop machine it's basically a fresh install and i don't think it makes sense to type it all out 2024-06-25 22:12:42 does it not have network access? :P 2024-06-25 22:12:54 basically says settings with squashfs is an invalid argument, but it with vfat is valid (both with fmask=0077,dmask=0077 which i used for that mount command) 2024-06-25 22:13:34 it has network but it has no graphics and i don't want to set up a whole environment right now because i'm trying to use this machine for a specific thing 2024-06-25 22:13:37 i don't usually use alpine 2024-06-25 22:13:53 there are pastebins that don't require graphical 2024-06-25 22:13:59 termbin, for example 2024-06-25 22:14:11 dmesg has some messages like "squashfs: Unknown parameter fmask" or umask or such 2024-06-25 22:14:20 nothing about vfat 2024-06-25 22:14:50 kinda looks to me like it just does that when trying to autodetect a filesystem 2024-06-25 22:15:11 no, because auto-detection is done by mount, not by the kernel 2024-06-25 22:15:39 if i specify -t vfat nothing involving squashfs happens 2024-06-25 22:15:49 and the permissions are still wrong 2024-06-25 22:16:12 give the *exact* command you're running 2024-06-25 22:17:06 currently it's mount -vvvvvvvvvvvvvvvv -t vfat -o fmask=0077,dmask=0077 /dev/sda1 /media/test 2024-06-25 22:17:27 i have tried many variations and they do not work either 2024-06-25 22:17:39 i see no errors anywhere 2024-06-25 22:17:55 and /dev/sda1 is not already mounted when you run that command? 2024-06-25 22:18:17 it is already mounted in another place and i can't unmount it because it's supposedly busy 2024-06-25 22:18:36 well that's why 2024-06-25 22:18:37 Ah :D 2024-06-25 22:18:37 this is the partition with my apkovls and the whole point is i don't want them to be readable by every user 2024-06-25 22:18:39 There you go 2024-06-25 22:18:50 i have the fmask and dmask settings in my fstab they also don't work 2024-06-25 22:18:52 mount -o remount,umask=0077 /wherever/its/mounted 2024-06-25 22:19:05 gg dwfreed, I can go sleep in peace 2024-06-25 22:19:12 probably whatever is mounting it doesn't give two shits about fstab 2024-06-25 22:19:37 (possibly because the fstab is in one of the apkovls) 2024-06-25 22:19:51 that did not change the permissions 2024-06-25 22:20:14 it may not be possible to change umask via remount, idk 2024-06-25 22:20:46 is there a way i can figure out why the mask settings in fstab aren't working 2024-06-25 22:21:08 are they in an apkovl and not the base image? 2024-06-25 22:21:34 what do you mean by the base image 2024-06-25 22:22:07 the fstab is in an apkovl i have never seen any other place to put it in a data install 2024-06-25 22:22:25 well, that's why 2024-06-25 22:22:40 how can it read fstab if it's on an fs that isn't mounted yet 2024-06-25 22:23:34 i have read every single wiki article i can find on the alpine boot process 2024-06-25 22:24:07 i had to because the whole data install process has pretty confusing documentation 2024-06-25 22:24:21 i specifically tried looking into how the initfs works on alpine and couldn't find anything 2024-06-25 22:33:27 sometimes you just have to use the source, luke 2024-06-25 22:34:35 aren't these default permissions a security issue 2024-06-25 22:34:48 an apkovl can contain files that are supposed to be unreadable on the file system 2024-06-25 22:38:36 I doubt anybody expected you to be storing your apkovls on a fat32 filesystem 2024-06-25 22:53:50 i don't know what filesystems work 2024-06-25 22:54:15 and the first few times i used alpine was on single board computers like raspi where all those files come on a fat32 on the default install 2024-06-25 22:56:11 this current system boots with efi which generally requires fat32 2024-06-25 22:57:12 the instructions using setup-bootable and customizing an iso (only instructions i could find that seemed to show how to properly use all the tools involved in setting up a data/diskless install) 2024-06-25 22:57:44 seemed to imply that the partition made bootable (on mbr) is the same partition that needs to have the apk cache and lbu backups 2024-06-25 22:58:19 the setup-bootable script can target a directory and will create the efi directory for efi booting which again needs to go on a fat32 2024-06-25 22:58:46 so overall across every system i've used alpine on and all the wiki documentation seems to imply that all these files need to be on a fat32 partition 2024-06-25 23:15:14 for apkovl, any filesystem linux can mount works fine 2024-06-26 01:39:08 Is there an enlightenment repo for Alpine 2024-06-26 06:27:20 hello, anyone driving a sharp memory display from an alpine sbc? 2024-06-26 06:31:28 any tips building this? https://github.com/ardangelo/sharp-drm-driver 2024-06-26 07:38:16 make your workplace cozy, and have some water at hand, good luck:) 2024-06-26 11:39:42 Hi all, I am getting some conflicting information, the alpine wiki simply shows you how to set your locale, but from the docker posts I have found it says there is no locale. The command isn't present, so what is the default locale then ? 2024-06-26 11:44:04 some programs still read the LANG variable to check if the system is UTF-8 2024-06-26 11:46:09 Okay so maybe a good idea to do `ENV LANG C.UTF-8` 2024-06-26 11:47:09 /etc/profile.d/20locale.sh already does that 2024-06-26 11:47:57 Is it possible to install alpine-conf without openrc? 2024-06-26 11:48:15 nero, oh interesting I see now , let me retest 2024-06-26 11:48:20 (I'm making Alpine chroots in a host Linux system and I don't need OpenRC) 2024-06-26 11:50:32 hmmm I guess I might actually not need alpine-conf because it seems to be mainly scripts that I wouldn't use in a chroot anyway... I blindly thought it was necessary because it's in alpine-base 2024-06-26 11:51:53 nero, when is that script called because I am not seeing those env variables being set 2024-06-26 11:52:19 Dex2x: from any login shell 2024-06-26 11:52:26 which is not happening for cronjobs or openrc services 2024-06-26 11:52:46 hmmm docker also don't do a local AFAIK 2024-06-26 11:52:55 login ** 2024-06-26 11:55:35 you can wrap any command in sh -l -c "$command" to have it do the login things and source the profile scripts 2024-06-26 11:59:13 In the docker file? 2024-06-26 12:20:15 hmm that is making the entry point a bit nasty now and not loving this 2024-06-26 18:08:18 fetch http://alpine.mirror.wearetriple.com/v3.20/main/x86_64/APKINDEX.tar.gz... (full message at ) 2024-06-26 18:09:00 Is it possible to run an nspawn instance on alpine? I ask because there are systemd free nspawn projects 2024-06-26 18:10:54 ninchuka[m]: Did you try another mirror? 2024-06-26 18:11:15 how do I change mirrors? 2024-06-26 18:12:31 edit /etc/apk/repositories 2024-06-26 18:12:42 You can find a list of mirrors here: https://mirrors.alpinelinux.org/ 2024-06-26 18:12:48 tyty 2024-06-26 18:14:26 changed it to https://uk.alpinelinux.org/alpine/v3.20/ and it works now, thanks 2024-06-26 21:38:24 what is /usr/bin/.apk.49011fca2fd69c0846b30353f7d2083e697e6c7034ded0ca 2024-06-26 21:38:47 why are there a few files like these hanging in my /usr/bin/ 2024-06-27 00:15:48 sewn: I'd guess they're leftover from an interrupted installation 2024-06-27 00:15:59 apk doesnt clear them? 2024-06-27 08:03:49 What could possibly be causing udevrules not to be executed on boot, but when being triggered via `udevadm trigger` they get ran correctly. e.g. ATTRS{idVendor}=="XXXX", ATTRS{idProduct}=="XXXX", ATTRS{product}=="XXXX", SYMLINK+="yyyy" MODE="777" 2024-06-27 08:04:57 the identical rules work on a debian system but not alpine, I am a bit lost on where to look next / investigate 2024-06-27 08:07:32 have you tried # rc-update add udevd boot 2024-06-27 08:08:03 dzilvys 2024-06-27 08:08:31 udev is currently sitting on sysinit 2024-06-27 08:09:17 should it be on both or only on boot? 2024-06-27 08:09:26 dzilvys: udev-trigger and udev-settle? 2024-06-27 08:09:35 also do you mean `udev` instead of `udevd` as I don't have a `udevd` service 2024-06-27 08:12:15 ikke: So I tried that however it still doesnt fix the issue of loading up the rules on boot. as mentioned, using udevadm trigger, it works and runs the rules, but on boot it just doesnt seem to be doing anything. 2024-06-27 08:12:42 aleksi: I tried adding it to the boot, but it did not fix the issue, it still doesn't seem to load my rules and create the symlink 2024-06-27 08:14:12 sorry i couldn't be of help 2024-06-27 08:16:57 I don't know either, but have you checked dmesg output? 2024-06-27 08:23:15 Yeah just been monitoring that now but nothing pops up when booting :/ 2024-06-27 08:23:29 it's so strange, I feel like I am missing something but I cant tell what it is 2024-06-27 08:39:42 can anyone elaborate how to use apkovl during installation when booting an ISO? I'm trying to do a headless install and can find real documentation 2024-06-27 08:50:02 aparcar[m]: do you want to setup a run-from-ram system? 2024-06-27 08:50:53 ikke: I have an x86 machine and lack display and serial cable. Ideally I'd flash some pre-configured alpine on the ssd and just boot it 2024-06-27 08:52:23 Ok, so you'd include an answerfile and script that runs setup-alpine on boot? 2024-06-27 08:52:29 ikke: I tried to attach a apkovl.tar.gz via a USB stick but that doesn't do the trick 2024-06-27 08:52:55 ikke: I added the file from here https://github.com/macmpi/alpine-linux-headless-bootstrap/ 2024-06-27 08:54:32 The iso itself is write only, so you need another storage device or partition to write the apkovl file to 2024-06-27 08:55:33 nlplug-findfs tries to discover apkovl files 2024-06-27 08:56:42 ok I'll try it again, thanks 2024-06-27 08:59:45 There is also a apkovl kernel argument that allows you to explicitly to a specific file 2024-06-27 09:00:29 aparcar[m]: using an usb stick should work if the iso supports its filesystem 2024-06-27 09:08:31 [@_oftc_ikke:matrix.org](https://matrix.to/#/@_oftc_ikke:matrix.org)how can I define terminal arguments without access to the graphical interface? 2024-06-27 09:10:56 Not with a read-only iso, but if you use setup-bootable to write it to a usb drive, you should be able to 2024-06-27 11:03:11 How can I go about updating my initramfs? I have made some changes to some udev rules and would like them to be included in the initramfs 2024-06-27 11:04:09 I was reading that I can regenerate it? but how do I do that on alpine?' 2024-06-27 11:04:56 On other systems I update it using dracut. It seems like dracut is available as a package in Alpine. 2024-06-27 11:05:18 dzilvys: the simplest way is to run `apk fix mkinitfs`, which causes the trigger to run 2024-06-27 11:05:49 There is also this ... 2024-06-27 11:05:49 https://wiki.alpinelinux.org/wiki/Initramfs_init 2024-06-27 11:09:42 mkinitfs returns with cpio error write, no space left. but I only have used about 2% total of the drive.. at least from what df says 2024-06-27 11:11:08 Is your /boot folder a different partition from /? 2024-06-27 11:11:52 Example: 2024-06-27 11:11:52 /dev/sda1 271.1M 34.0M 218.2M 13% /boot 2024-06-27 11:11:52 /dev/sda3 7.5G 5.8G 1.3G 81% / 2024-06-27 11:12:12 /boot is usually quite small (100M or 300M) 2024-06-27 11:13:22 rfeye101249:~# df 2024-06-27 11:13:22 shm 1977928 0 1977928 0% /dev/shm 2024-06-27 11:13:22 Filesystem 1K-blocks Used Available Use% Mounted on 2024-06-27 11:13:22 devtmpfs 10240 0 10240 0% /dev 2024-06-27 11:13:33 tmpfs 395588 276 395312 0% /run 2024-06-27 11:13:35 cgroup_root 10240 0 10240 0% /sys/fs/cgroup 2024-06-27 11:13:37 use a pastebin 2024-06-27 11:13:37 tmpfs 10240 0 10240 0% /tmp 2024-06-27 11:13:52 ah ok give me a second 2024-06-27 11:14:42 https://hastebin.com/share/qeputapaxi.bash 2024-06-27 11:16:22 pastebin the whole output from 'apk fix mkinitfs' 2024-06-27 11:17:13 https://hastebin.com/share/ogofodikay.vbnet 2024-06-27 11:17:39 dzilvys: and df -i? 2024-06-27 11:18:30 ikke: https://hastebin.com/share/ezudonabuv.bash 2024-06-27 11:19:22 could not be found or is deleted 2024-06-27 11:19:52 OA 2024-06-27 11:19:53 OA 2024-06-27 11:20:19 which link? 2024-06-27 11:20:25 I just accessed both of them in private 2024-06-27 11:21:28 Now the last one works 2024-06-27 11:23:28 ah ok, yeah I am not sure why I am getting that error :/ to me it looks like I should have enough space 2024-06-27 11:23:44 yes 2024-06-27 11:24:10 can it be that your tmpfs is too small? 2024-06-27 11:28:50 I mean its currently set to 10M which could potentially be the cause 2024-06-27 11:30:17 yes, certainly 2024-06-27 11:32:37 mkinitfs -c /etc/mkinitfs/mknitfs.conf -t /var/tmp "$(uname -r)" 2024-06-27 11:32:57 let me tryu that 2024-06-27 11:34:20 seems like it completed now, gotta see if this fixes my udev issue now 2024-06-27 12:30:51 hello ;) how do I get the *sources* of a package? the APKBUILD file 2024-06-27 12:31:46 You need to clone aports for that or grab it from git(lab).alpinelinux.org 2024-06-27 12:33:30 thanks! 2024-06-27 14:43:48 hello? 2024-06-27 14:44:01 hi 2024-06-27 14:44:58 hi, I have a https://en.wikipedia.org/wiki/Buffalo_network-attached_storage_series#/media/File:Kuro-box_hg.jpg I looking for an OS for, is alpine linux likely to be applicable? 2024-06-27 14:45:42 Do you know what arch your device has? 2024-06-27 14:45:54 i think ppc64le 2024-06-27 14:48:59 Possibly, but hard to tell for sure 2024-06-27 14:49:05 ACTION nods 2024-06-27 14:50:03 it has a busybox ROM and bootstraps an old version of debian to a less old version 2024-06-27 14:50:12 do you have shell access? 2024-06-27 14:50:25 I have physical access 2024-06-27 14:50:37 cool, and do you have shell access? :) 2024-06-27 14:51:40 I was just wondering if standard version would be the one to try? 2024-06-27 14:52:01 If anything, that would be your best bet 2024-06-27 14:52:37 theres not much doc, but is alpine somthing one would put apache on? 2024-06-27 14:53:17 sure 2024-06-27 14:53:29 great 2024-06-27 14:54:04 can you cat /proc/cpuinfo ? 2024-06-27 14:54:41 not at the moment... was just checking first before dl 2024-06-27 14:55:02 he means from the current os 2024-06-27 14:57:06 ACTION smirks 2024-06-27 14:57:35 based on what i can find (somewhat inconclusive), ppc64le seems very unlikely 2024-06-27 14:57:38 and arm seems more likely 2024-06-27 14:57:49 it's def ppc 2024-06-27 14:57:53 okay 2024-06-27 14:57:55 but 64? 2024-06-27 14:58:09 i thought all ppc was 64 2024-06-27 14:59:13 no 2024-06-27 15:00:07 ok, well, i'll have look neways 2024-06-27 15:00:09 thanks 2024-06-27 15:04:13 with so many assumptions, that will be a fun project 2024-06-27 15:05:06 :) 2024-06-27 15:23:18 I highly doubt it is ppc64 2024-06-27 15:23:23 the cpu is 200 MHz 2024-06-27 15:23:43 yeah 2024-06-27 15:23:53 also it's about as old as IBMs first introduction of a 64 bit ppc cpu 2024-06-27 15:24:02 and they wouldn't stick those into a hobby NAS that year, i bet 2024-06-27 15:24:08 aye 2024-06-27 15:24:18 not to mention, 64 MB of RAM and 4 MB of flash 2024-06-27 15:24:23 can't even run modern openwrt on it 2024-06-27 15:24:26 well 2024-06-27 15:24:28 you also put a disk in it 2024-06-27 15:24:32 so that feels fixable 2024-06-27 15:24:42 *maybe* 2024-06-27 15:25:20 if you can fit the kernel in 4 MB, it might work 2024-06-27 15:26:38 or a uboot with sata support? 2024-06-27 15:26:40 kexec? 2024-06-27 15:26:48 it doesn't feel like the interesting part of the challenge ;) 2024-06-27 15:28:27 or mips... 2024-06-27 15:28:51 wiki lists ppc, mips and arm, as possibilities 2024-06-27 15:29:14 yeah, i couldn't find the right details for this exact model 2024-06-27 15:29:18 aron, possibilities for what case? 2024-06-27 15:29:20 I did, one sec 2024-06-27 15:29:50 for the cpu of the "Buffalo network-attached storage series" 2024-06-27 15:29:54 https://www.smallnetbuilder.com/nas/nas-reviews/reviewkurobox/ 2024-06-27 15:29:55 aron, right 2024-06-27 15:30:13 dwfreed, ah, that says ppc! 2024-06-27 15:30:48 "Internally, the Kuro Box has a 200 Mhz PowerPC processor with 64 MB of RAM and 4 MB of flash running a Linux 2.4.17 kernel, and sports a single USB 2.0 port and one 10/100 Ethernet port. Kernel developers will be happy to learn that there’s an internal connector for a serial port that will be handy for debug and watching the boot-time messages." 2024-06-27 15:31:13 i read a -very- similar article that had like 80% of those words 2024-06-27 15:31:16 so, it's not 64 2024-06-27 15:31:26 words like 'powerpc' were missing from it 2024-06-27 15:31:33 it did have more photos, but none that answered this question 2024-06-27 15:33:24 https://github.com/yaboot/yaboot/blob/master/ybin/ybin#L908 2024-06-27 15:37:33 lol 2024-06-27 15:47:20 how to enable core dumps? ulimit -c shows unlimited 2024-06-27 15:52:36 are you running the process in that shell? 2024-06-27 15:55:09 yep 2024-06-27 15:55:17 weird 2024-06-27 15:55:45 any kernel knobs that disable dumping core by default? 2024-06-27 15:56:20 Not by default 2024-06-27 15:56:59 hmmm 2024-06-27 15:57:01 weird 2024-06-27 15:57:56 cat /proc/pid/limits, where pid is the pid for that process; does it say the soft coredump limit is unlimited? 2024-06-27 15:58:43 yeah, it's all good 2024-06-27 15:58:49 but SIGSEGV comes and nothing :( 2024-06-27 15:59:45 check kernel.core_pattern sysctl 2024-06-27 15:59:57 the default is "core" 2024-06-27 15:59:58 `sysctl kernel.core_pattern` 2024-06-27 16:00:17 set 2024-06-27 16:00:19 which means it goes in the process's current working directory 2024-06-27 16:00:23 yeah 2024-06-27 16:00:28 I tried setting it to /tmp 2024-06-27 16:00:31 same 2024-06-27 16:00:35 it was core by default 2024-06-27 16:00:37 hmm 2024-06-27 16:00:41 did you set it to /tmp/core 2024-06-27 16:00:43 if SIGABRT is masked 2024-06-27 16:00:44 or just /tmp 2024-06-27 16:00:50 /tmp/core 2024-06-27 16:00:54 is SIGABRT is masked 2024-06-27 16:01:02 will a program generate core if SIGSEV comes 2024-06-27 16:01:10 on musl 2024-06-27 16:01:18 should be unrelated 2024-06-27 16:01:24 yeah, but, well, musl 2024-06-27 16:01:27 (also musl has no effect on this) 2024-06-27 16:01:42 you can ignore sigsegv or change how it's being processed 2024-06-27 16:01:56 you can't truly ignore sigsegv 2024-06-27 16:01:58 so 2024-06-27 16:02:15 you can set its disposition to SIG_IGN, sure, but you will still die 2024-06-27 16:02:17 consus: in the past, it has been enough to set ulimit -c unlimited to enable core dumps 2024-06-27 16:02:29 you can also handle it 2024-06-27 16:02:40 you can handle it, but you'll die afterward 2024-06-27 16:03:35 is the process setuid or does it have filecaps? 2024-06-27 16:09:59 nope 2024-06-27 16:10:04 it's nslcd 2024-06-27 16:10:16 well, I just attached via gdb attach 2024-06-27 16:10:17 nvm 2024-06-27 16:10:26 I see that it crashes in pthread_kill 2024-06-27 16:10:26 :DDDDDDD 2024-06-27 19:46:30 ikke: in the past? 2024-06-27 19:46:47 triallax: ie, from earlier experiences 2024-06-27 19:46:59 i still do it, and most of the time it works 2024-06-27 19:47:06 unless the program in question does some shenanigans to trap the signal 2024-06-27 19:47:13 which is incredibly annoying when it happens 2024-06-27 19:47:17 yes, didn't mean to imply it wouldn't work anymore today 2024-06-27 19:52:31 understood 2024-06-27 20:27:15 how do I record screen on sway? 2024-06-27 20:27:45 I don't need fancy stuff, just a window, no audio 2024-06-27 20:28:02 wf-recorder? 2024-06-27 20:28:54 i've noticed that obs degrades system performance much less than wf-recorder does 2024-06-27 20:28:58 but it's up to you 2024-06-27 20:29:02 hrm 2024-06-27 20:29:02 and gone 2024-06-27 20:29:10 ( fwiw, on sway for me it produces really weird recordings unless i run it with "-c libx264rgb" ) 2024-06-27 20:29:13 mmph 2024-06-27 20:29:25 they always leave so soon 🥲 2024-06-27 20:29:35 I've successfully used both wf-recorder and obs-studio. The later needs either working xdg-desktop-portal-wlr or wlrobs 2024-06-27 20:30:19 wf-recorder however supports my gpu's hardware encoding (basically anything ffmpeg supports), while obs only offers software encoding for me 2024-06-27 20:34:05 Real Linux users record the screen with their bare ffmpeg 2024-06-27 20:35:23 kaathewise: i did that before 2024-06-27 20:35:35 obs does the job and does it well so i can't be bothered using anything else 2024-06-27 20:39:01 obs feels like a lot more effort than just `sleep 5 && wf-recorder` 2024-06-27 20:43:04 not sure what's high effort about opening it then clicking a button 2024-06-27 20:43:26 if we're talking initial setup then obs needs a bit yeah 2024-06-27 20:43:30 but after that it works for me without issues 2024-06-27 21:04:52 question: if a package is in "testing", what is the process it needs to follow to get released to the aports master branch? 2024-06-27 21:07:14 jahway603: the maintainer of a package can propose a merge request to move it to community (or main, if it can be supported for 2 years) 2024-06-27 21:10:45 ikke: Is it out of context to open an issue in the aports repo to see this package added to Alpine 3.20 from edge-testing? I'm trying to learn more about the release process of packages in aports. 2024-06-27 21:11:02 That's only done in rare cases 2024-06-27 21:11:09 in general packages only get in the next stable release 2024-06-27 21:34:06 ikke: thank you for your response 2024-06-27 21:35:57 jahway603: just fyi, note that community is only supported for the latest stable release (currently 3.20) 2024-06-28 00:02:17 Can I edit apk's pkgrel without rebuilding the package? 2024-06-28 05:00:03 Ermine: What's the usecase? The version is part of the metadata of the package, you could extract it, modify it, repackage and resign it, and also make sure the index is updated 2024-06-28 05:31:47 is there a way to list packages that are explicitely installed with apk? 2024-06-28 05:32:21 as opposed to just things installed as dependencies for other packages. 2024-06-28 05:33:54 Is there a way to make apk ask for confirmation before installing/removing packages? 2024-06-28 05:34:00 ang1e: cat /etc/apk/world 2024-06-28 05:34:06 runxiyu-: add -i 2024-06-28 05:34:17 (--interactive) 2024-06-28 05:34:20 ikke: thanks, I often wondered that, too but never managed to look it up :) 2024-06-28 05:35:34 hmm... 2024-06-28 05:35:41 I guess I'll just alias pkg_add = apk add -i 2024-06-28 05:40:35 ikke: thank you. 2024-06-28 06:32:46 I love alpine! 2024-06-28 07:36:09 hello ;) is there a way to get libtinfo.so on alpine? it seems to not be included with ncurses 2024-06-28 07:45:39 ecraven: do you actually need it? I thought its functions will normally be in the main ncurses library 2024-06-28 07:45:56 I have a program that wants to link to it :-/ 2024-06-28 07:47:12 can you just change it to link to libncursesw 2024-06-28 07:47:37 There's no package containing that file 2024-06-28 07:48:05 fission: so everything in tinfo is now actually in libncursesw? 2024-06-28 07:48:57 ecraven: my understanding is if you compile ncurses --with-termlib, it will split ncurses library into two (libncurses/libncursesw.so and libtinfo.so) but normally these functions are combined 2024-06-28 07:49:07 thanks! 2024-06-28 07:49:08 of course compiling --with-termlib is not the default 2024-06-28 09:34:02 ikke: i've built a package, but forgot to bump pkgrel 2024-06-28 10:20:57 why did literally every package dissapear from my system 2024-06-28 10:21:21 I dont know why but suddenly apk lost complete track of what is installed 2024-06-28 10:22:28 I have zero packages according to apk 2024-06-28 10:23:05 guess I have to reinstall alpine now I guess 2024-06-28 11:23:11 sewn: you can usually edit /etc/apk/world 2024-06-28 11:23:15 and do apk fix 2024-06-28 11:25:52 already reinstalled lol 2024-06-28 11:26:26 I blame XFS for this honestly 2024-06-28 11:31:34 Hey, is this a correct channel to seek help? 2024-06-28 11:32:26 yes 2024-06-28 11:32:45 I try to run nano, but if I call nano, I get "Bad system call" 2024-06-28 11:32:55 I am unable to google information on this 2024-06-28 11:33:17 what architecture? 2024-06-28 11:33:23 what alpine version 2024-06-28 11:33:57 # nano --version 2024-06-28 11:33:57 GNU nano, version 7.2 2024-06-28 11:34:00 it works for me 2024-06-28 11:34:04 on x86_64 2024-06-28 11:34:16 Running on an iPad (iPadOS) and alpine version v3.20 2024-06-28 11:34:19 but I just noticed 2024-06-28 11:34:30 that the servers have changed automatically 2024-06-28 11:34:36 where I pull my updates from 2024-06-28 11:34:45 so it seems my settings have not been persistent 2024-06-28 11:35:16 so it is emulated, as ipad does not provide any hardware virtualization 2024-06-28 11:35:24 what architecture do you emulate? 2024-06-28 11:35:46 what is the output of uname -a 2024-06-28 11:36:32 uname is not known 2024-06-28 11:36:58 what about: apk --print-arch 2024-06-28 11:37:12 x86 2024-06-28 11:38:10 what is the content of /etc/alpine-release 2024-06-28 11:38:17 cat /etc/alpine-release 2024-06-28 11:38:40 i think the emulator is broken, or old, and does not implement all needed syscalls 2024-06-28 11:38:51 funnily, earlier nano worked 2024-06-28 11:39:06 v3.14 is setup in alpine release 2024-06-28 11:39:12 but I updated to v3.20 2024-06-28 11:39:14 and edited the file 2024-06-28 11:39:17 but it changed 2024-06-28 11:39:36 i suppose newer versions of musl uses new syscalls, that is not supported by the emulator 2024-06-28 11:40:46 I guess I will reinstall then 2024-06-28 12:21:56 heh 2024-06-28 12:23:18 joining thread after cancelling it crashes on musl 2024-06-28 19:55:54 I was thinking about trying alpine linux, but I game and have nvidia on linux. Would using something like gcompat work for the proprietary driver for nvidia? 2024-06-28 20:02:40 Or know of a glibc distro that uses the APK package manager? 2024-06-28 20:15:27 gcompat doesn't work with a lot of things 2024-06-28 20:15:33 do you want to try alpine, or do you want to try apk? 2024-06-28 20:15:33 but in my experience flatpak steam works pretty well 2024-06-28 20:15:51 Habbie: is there any glibc distro using apk? 2024-06-28 20:16:25 i don't know 2024-06-28 20:17:08 I expect nvidia's driver not to work with gcompat either, but I like the APKBUILD format but since i have nvidia and game I need to be able to use nvidia's drivers 2024-06-28 20:18:23 if i'm not wrong, flatpak uses a separate set of graphics drivers from the host system anyway 2024-06-28 20:19:13 also i just noticed your question was asking about gcompat with the nvidia driver in particular 2024-06-28 20:19:15 i also like APKBUILD, and openwrt's system which is similar, but openwrt is not a useful answer to your question 2024-06-28 20:19:16 pretty sure it won't work 2024-06-28 20:20:11 last year i tried to patch the nvidia drivers to work on alpine, but it was a lot of work, and would've been needed to be applied to any new version of the drivers. it involved a lot of 'patchelf --add-needed /lib/libgcompat.so.0 --add-needed /usr/lib/libexecinfo.so.1 libnvidia-compiler.so.520.56.06' 2024-06-28 20:21:00 i did succeed getting simple stuff to use them on alpine, and xvidinfo and glinfo et al to report what was expected. 2024-06-28 20:21:47 but i spent like a month on that, and gave up. bought an amd gpu and am happy not having to do anything and gaming with all the cool games nonetheless 2024-06-28 20:22:25 i remember i also had to write some one library providing function stubs that were expected... 2024-06-28 20:23:15 too much work. May just install voidlinux as it reminds me of APK format since I guess no known glibc distro uses apk 2024-06-28 20:25:15 indeed, very much work. and unneccessary. 2024-06-28 20:26:42 thank you for all your time 2024-06-28 21:38:13 hello everyone 2024-06-28 21:38:32 does firefox 72 work on alpine 2024-06-28 21:38:55 and older versions of firefox 2024-06-28 21:39:00 that is very old 2024-06-28 21:39:04 why do you want to use such old versions 2024-06-28 21:39:47 idk maybe because i don't use web much :D 2024-06-28 21:40:04 wanting old versions doesn't follow from that though 2024-06-28 21:40:14 they don't receive updates anymore and are most likely riddled with vulnerabilities 2024-06-28 21:40:21 oh ok thx 2024-06-28 21:40:29 are you looking for something specific from these versions? 2024-06-28 21:42:50 i want a simple web browser but i couldn't find 2024-06-28 21:43:02 surf doesn't work on some websites 2024-06-28 21:43:03 there is no reasonably modern browser that is simple 2024-06-28 21:43:16 but you can try with something webkit based 2024-06-28 21:43:37 e.g. epiphany 2024-06-28 21:43:41 but surf also uses webkit 2024-06-28 21:43:45 what doesn't work there? 2024-06-28 21:44:24 so are epiphany and falkon using same web engine but different toolkits? 2024-06-28 21:44:30 yes 2024-06-28 21:44:40 wait, no 2024-06-28 21:44:47 falkon uses qtwebengine, which is based on chromium 2024-06-28 21:45:03 oh my bad 2024-06-28 21:45:37 so can i play youtube videos on epiphany? 2024-06-28 21:45:58 you should be able to 2024-06-28 21:46:15 ok thanks for the info bye 2024-06-28 21:50:07 pale moon? 2024-06-28 21:50:24 u can take a look this one 2024-06-28 21:50:38 but idk can run on alpine tho 2024-06-28 21:52:00 will probably need patching 2024-06-28 21:52:22 and i remember the pale moon folks making a big fuss over somebody making a package called pale moon with patches 2024-06-28 21:53:25 ok, to be precise their issue was with using system libraries 2024-06-28 21:53:27 https://github.com/jasperla/openbsd-wip/issues/86 2024-06-28 21:54:47 that means it can't be packaged properly, but if you have patches, you can build it on your own and they would not even know 2024-06-28 21:55:00 yes 2024-06-28 22:01:15 the palemoon devs are weird though: https://forum.palemoon.org/viewtopic.php?f=24&t=22698 - i wouldn't trust them reading stuff like this... 2024-06-28 22:03:30 wtf 2024-06-28 22:03:35 lmao 2024-06-28 22:21:50 if i wasn't this lazy i would make a parody build of palemoon, which would be covered under fair use. 2024-06-29 14:33:45 Is anyone running a Matrix Synapse server on Alpine Linux? If so, what PostgreSQL version are you using? I have setup one using Alpine Linux 3.20 and PostgreSQL 16, with all correct configuration, but synapse claims to start but then is not running, so just want to see if anyone else here is successfully running one or not. 2024-06-29 15:03:05 Curious is anyone is running a Matrix Synapse server using the synapse package on Alpine. 2024-06-29 15:10:27 jahway603[m]: ftr, we received your first message 2024-06-29 15:10:34 no one responded yet 2024-06-29 15:24:10 jahway603[m], most likely it crashes as startup, look for logs, but rather run it in background with verbose info 2024-06-29 20:36:26 Hello ! I would like to unlock my root drive using clevis with tang server pin which is inturn connected through internet (wan). I am unable to configure mkinitfs to load network and call clevis unlock. Would appreciate if somecan can guide me in the right direction 2024-06-30 10:47:09 How can I configure service acpid to log using `logger`? 2024-06-30 10:47:24 I see that other services have `use logger`, but I'm not sure how I can define this via conf.d 2024-06-30 10:53:53 “acpid will log all of its activities, as well as the stdout and stderr of any actions, to syslog.” 2024-06-30 10:57:17 does anyone know why mongodb is no longer in alpine? 2024-06-30 10:59:29 "Is anyone running a Matrix..." <- it is possible, i had it running on alpine in the past, but ive since switched to docker because it ewas a hassle 2024-06-30 11:01:25 JohannesJacobs[m]: because it's not considered FLOSS software 2024-06-30 11:02:14 yes, sorry im just reading that :) 2024-06-30 11:02:30 https://www.baeldung.com/linux/mongodb-alpine-installation this page mentioned it somewhere half way 2024-06-30 11:03:13 well that sucks 2024-06-30 11:04:58 redis was removed for similar reasons, but was replaced by a FLOSS fork (redict, and the other one) 2024-06-30 11:06:48 i was considering to learn mongodb because it scales well, but i suppose i'll stick to postgres then :) 2024-06-30 11:08:40 JohannesJacobs[m]: postgresql sales really well as well 2024-06-30 11:08:54 scales* 2024-06-30 11:10:28 yeah, i suppose i'll stick to what i know :) 2024-06-30 11:12:36 The nosql fad wore of when people realized schemaless databases just moves the complexity to a different place, and the claimed performance / scaling advantage at the cost of correctness 2024-06-30 11:47:12 "jahway603, most likely it..." <- It is crashing. The synctl command continues to fail to start and here's a paste of the command I'm using with the output https://bin.linux.pizza/?64faf9f49d0f30fb#AzU9aEfBjyxKiqvhLQ8MYBxnVPUdumXYRbgS2veaZGnw. At the end it mentions to check the logs, but it's not writing any logs to /var/log/synapse, which is the directory configured in my log.config that is being read in the homeserver.yaml. 2024-06-30 11:47:12 Anyone have any suggestions to try? 2024-06-30 12:14:33 Well, it seems there's a network issue 2024-06-30 12:14:45 socket.gaierror: [Errno -3] Try again 2024-06-30 12:15:34 Then it's not able to download some out-of-install json thing 2024-06-30 12:16:44 Check your DNS setup on your server 2024-06-30 12:57:18 "Check your DNS setup on your..." <- Thank you for that. I changed the DNS server and now synapse is working as expected. 2024-06-30 12:58:12 nice :) 2024-06-30 15:01:31 hi, I'm trying to build this software https://github.com/DISTRHO/Cardinal and I'm having issues with the linking stage 2024-06-30 15:01:50 I submitted an issue here https://github.com/DISTRHO/Cardinal/issues/682 2024-06-30 15:03:07 it's failing to link with a standard function 'roundevenf' which should be built in to gcc, does anyone know what could be causing this? 2024-06-30 15:03:32 about fts: there is an "fts" pkg with libfts 2024-06-30 15:03:43 *libfts.so 2024-06-30 15:04:00 I have musl-fts and musl-fts-dev installed 2024-06-30 15:04:48 "fts" is the old of that, sry 2024-06-30 15:04:52 same thing 2024-06-30 15:05:45 do you think could be failing to find the library installed by musl-fts? 2024-06-30 15:06:41 musl-fts still comes with libfts.so 2024-06-30 15:06:47 your program should link against it 2024-06-30 15:10:10 ah I see so an -lfts flag? 2024-06-30 15:10:18 about roundevenf: dunno, should be in libc or in libstdc++ 2024-06-30 15:10:32 yes, -lfts is good 2024-06-30 15:13:06 could I just add -lfts to the $CFLAGS variable? 2024-06-30 15:25:18 Most likely not, you'd have to either add it directly in the Makefile, or to whatever macro its using (maybe LIBS?) 2024-06-30 15:27:46 Add somewhere pkg-config --libs musl-fts, where it's needed 2024-06-30 15:28:10 if it's only being used in one dependency do I just add to the Makefile for that dependency or should I add it to the main one? 2024-06-30 15:34:31 Well, if it's an actual dependency, it would be another package 2024-06-30 15:35:20 Point is to put it in the Makefile that actually links together against fts 2024-06-30 15:35:38 Might be the main Makefile, might be another if there are sub-programs 2024-06-30 15:35:55 Look at where the build fails exactly, then that would be within that Makefile, I suppose 2024-06-30 15:36:08 But there's no universal answer, that depends on how the author decided to structure the build 2024-06-30 15:43:10 I see 2024-06-30 16:24:01 looking to write a nftables snippet that inserts the new rule in a specific position, ie after a certain handle 2024-06-30 16:25:00 if I had to do so, I wouldn't do that via handles, I'd add a static "jump foo_chain" at that position, and have an empty chain for inserting the extra rules 2024-06-30 16:27:32 grawity: nice, that is a good idea 2024-06-30 16:27:56 what kind of rule is it, anyway? 2024-06-30 16:28:26 I mean most dynamic rule add/remove I see these days is part of VPN setups, which don't even need the rule to be dynamic in the first place 2024-06-30 16:31:09 rate icmp rate limit 2024-06-30 16:31:47 default nftables.nft accepts stuff i want to rate limit 2024-06-30 16:32:07 sounds like something that should go into the static nftables.nft 2024-06-30 16:32:13 in input chain of filter table 2024-06-30 16:32:13 though linux rate-limits its icmp responses anyway, doesn't it 2024-06-30 16:32:56 hmmm, would have to read up on that, not sure 2024-06-30 16:33:44 depends on which kind of icmp you intend to limit 2024-06-30 16:33:55 icmp *errors* are rate-limited by default, to 1/sec or something 2024-06-30 16:34:24 icmp *echo reply* is not, but can't really see the need to limit it 2024-06-30 16:35:33 but either way, if you want to edit the main ruleset, might as well do it by editing the main ruleset 2024-06-30 16:35:35 mostly echo-requests, not very experienced at firewall and still adjusting to nftables from my limited iptables knowledge 2024-06-30 16:36:14 imo one thing to absolutely un-learn is the "iptables setup" scripts that add tons of rules via `iptables -A` on every startup 2024-06-30 16:36:14 ok, makes sense, was just trying to keep the default script in place, but i think you are right 2024-06-30 16:36:32 treat the nftables.nft as a config file and edit it 2024-06-30 16:37:11 thanks, i appreciate it... your advice seems good 2024-06-30 16:45:35 so I fixed the fts issues from https://github.com/DISTRHO/Cardinal/issues/682 but it's till complaining about 'roundevenf' 2024-06-30 17:25:15 grawity: find a way using a chain with lower priority 2024-06-30 17:25:35 s/find/found/ 2024-06-30 18:22:25 I wnat to add a new aport. Sadly the last tag is of pdfpc is from 2022, it does not compile. Yet the master branch builds without an issue. A side from requesting a new release, what would the best approach be for me? 2024-06-30 18:23:07 grab the commits that fix the build as patches and use them in the port 2024-06-30 18:25:29 ok, that what I used for building myself. 2024-06-30 18:25:38 PR will be incoming tomorrow 🙂 2024-06-30 20:37:44 how am i supposed to properly set up the bootloader on a data install? 2024-06-30 20:37:52 everything on the bootloaders page seems to be for sys installs 2024-06-30 20:38:24 A data install is similar to run-from-ram, but /var is mounted 2024-06-30 20:38:28 the rest remains the same 2024-06-30 20:38:48 So you are supposed to boot from the same boot medium and have an apkovl to persist things 2024-06-30 20:39:46 i want it to boot from the system hard drive but run in ram and with an apkovl and all that 2024-06-30 20:40:40 That's not how it works 2024-06-30 20:40:50 isn't that exactly what the setup-bootable script does? 2024-06-30 20:41:58 how does the alpine boot medium get created in the first place 2024-06-30 22:16:08 We're having a party 2024-06-30 22:16:08 https://cutt.ly/kwYY6yKe 2024-06-30 22:16:08 https://cutt.ly/pwYY5PNA 2024-06-30 22:25:00 Don't follow those links, potential malware 2024-06-30 22:28:40 i'm lucky i figured it out before i did, i have a tendency to click on links without thinking 2024-06-30 22:43:47 the domain they point to is blocked by quad9, if you were looking for a reason to switch DNS providers; also the url gets blocked by ublock's "badware risks" list 2024-06-30 22:45:29 virustotal says its all bening 2024-06-30 22:45:34 benign 2024-06-30 22:48:05 greynoise and passivetotal also say benign for the first one. but i only checked the last one in the redirection chain. 2024-06-30 22:49:20 ah. because its all behind damn clownfart 2024-06-30 22:50:14 For me it was ublock origin that blocked it 2024-06-30 22:50:33 i use ublock but i haven't configured any custom blocklists 2024-06-30 22:50:40 might be time to go through them 2024-06-30 22:50:41 Me neither 2024-06-30 23:12:41 I did whack them on the network level, they hit at least one other channel too