2023-03-01 00:01:19 bleb: yes I know, that's how grub knows to put files in ESP/alpine/ directory 2023-03-01 00:02:03 ah, yes, the --no-nvram means "do not create a UEFI boot variable for Alpine" as it relies on using the fallback file ESP/boot/bootx64.efi 2023-03-01 00:02:31 bleb: the point is setup-disk is NOT (currently) designed with multiboot in mind 2023-03-01 00:04:20 (the debian installer writes boot/bootx64.efi if you are in expert mode and say yes to the question; i have a vague impression ubuntu's decision flow is different) 2023-03-01 00:04:40 the ubuntu installer doesn't let you decline bootloader installation 2023-03-01 00:05:20 i don't mean "bootloader installation", i mean this very specific thing - https://wiki.debian.org/UEFI#Force_grub-efi_installation_to_the_removable_media_path 2023-03-01 00:07:08 Habbie: that is simply passed the "--removable" (think that's correct) option to grub-install 2023-03-01 00:07:42 that sounds likely 2023-03-01 00:08:26 I use both "--removable" and "--no-nvram" options for my Alpine servers so they only use the fallback location for booting as they are not multiboot 2023-03-01 00:09:24 i learned about --removable recently (or, well, the debian configuration setting for it) because i have one of those broken BIOSes the debian wiki describes 2023-03-01 00:09:35 for at least one of those machines, --removable --no-nvram would make sense indeed 2023-03-01 00:10:40 setup-disk is one time? after that the user just configures grub-install how they like? 2023-03-01 00:10:52 (just wondering how multiboot-friendly alpine is after installation) 2023-03-01 00:12:01 Habbie: yes setup-disk is an install time-only script 2023-03-01 00:12:10 thanks 2023-03-01 00:12:28 Habbie: I already mentioned that setup-disk does not (currently) cater for multiboot 2023-03-01 00:12:39 yes, that line triggered these questions from me :) 2023-03-01 00:13:57 normally the user wouldn't run grub-install ever again, they might run grub-mkconfig again though. However (from memory) Alpine currently has no mechanism in place to rerun grub-install whenever the Grub package is updated (and so its code changed) 2023-03-01 00:15:12 right, and mkconfig covers the "kernel updated" case i think? 2023-03-01 00:20:06 Habbie: not sure exactly what you mean, if you are referring to whenever the kernel package is updated then there are triggers for mkinitfs (to regenerate the initramfs file and grub) to rerun grub-mkconfig 2023-03-01 00:21:00 right, good - i learned a lot about EFI recently but not so much about grub, and i only just now realised that that 'grub.cfg' file is actually read by grub on boot 2023-03-01 00:21:06 all good, thanks 2023-03-01 00:21:14 Habbie: however certainly in the BIOS (rather than UEFI) situation a Grub software update could come with an updated MBR bootsector but that will never be upgraded as grub-install is never re-run 2023-03-01 00:21:15 (the answer to my question then appears to be "yes") 2023-03-01 00:21:24 yes 2023-03-01 00:21:44 and the same for EFI/alpine/* i guess? 2023-03-01 00:22:08 yes and EFI/boot/bootx86.efi also 2023-03-01 00:22:31 of course, which likely is bit for bit identical to one of the files in EFI/alpine/ 2023-03-01 00:23:14 yes it is - if you look at setup-disk it copies the file from EFI/alpine into EFI/boot/ (or is it the other way around) 2023-03-01 00:23:34 ack 2023-03-01 00:23:48 it doesn't rely on grub's --removable for that then? 2023-03-01 00:25:14 just curious, does this work on your alpine box: mktemp -t XXXXXX.txt ? 2023-03-01 00:27:07 Invalid argument 2023-03-01 00:27:26 (works on my Debian though) 2023-03-01 00:28:25 apk add cmd:mktemp fixes it 2023-03-01 00:28:32 (this installs the coreutils version instead of the busybox one) 2023-03-01 00:29:13 same problem on openwrt (which also uses busybox and musl) 2023-03-01 00:31:26 oh that's p cool, didn't know about the cmd: thing 2023-03-01 00:31:41 I saw this ticket, wasn't sure if it still existed in latest alpine https://bugs.busybox.net/show_bug.cgi?id=11446 2023-03-01 00:31:42 it is very nice, yes 2023-03-01 00:31:50 i tested on alpine:edge 2023-03-01 00:32:17 busybox-1.36.0-r4 2023-03-01 00:34:34 i see 2023-03-01 00:35:17 and musl-1.2.3-r4 2023-03-01 00:35:28 the comment in your url says it might be a libc bug, and i agree, it could be 2023-03-01 00:35:52 hmmm 2023-03-01 00:35:58 the -glibc- mktemp man page mentions 2023-03-01 00:36:00 EINVAL The last six characters of template were not XXXXXX. 2023-03-01 00:36:21 which both the example in the ticket, and your version, violate 2023-03-01 00:36:32 meanwhile the glibc version actually is more flexible 2023-03-01 00:36:36 but then it might not be a bug 2023-03-01 00:36:56 at least, not a musl bug; busybox could perhaps communicate better 2023-03-01 00:37:39 https://man.archlinux.org/man/busybox.1.en#mktemp 2023-03-01 00:40:03 i'm leaning towards "not a bug at all but the error message could likely be improved" 2023-03-01 00:45:32 Habbie: I don't know why it doesn't use "--removable" instead, no 2023-03-01 00:45:37 ok :) 2023-03-01 00:45:49 my questions are just curiosity so don't go digging 2023-03-01 00:59:44 Habbie: indeed it is not a bug, and the error message should be improved 2023-03-01 01:01:59 busybox mktemp only uses mkstemp, which musl enforces to end with XXXXXX; I would guess that coreutils mktemp uses mkstemps (which musl implements), which allows specifying a suffix after the XXXXXX 2023-03-01 01:02:33 likely 2023-03-01 14:04:28 hello. I have alpine v3.17 and apk add can't find gamin for lighttpd. any ideas? 2023-03-01 14:05:00 what is a gamin 2023-03-01 14:05:21 see https://git.alpinelinux.org/aports/commit/?id=6bff4b37659 2023-03-01 14:05:33 ( it's python2 only, so it was dropped from alpine ) 2023-03-01 14:05:53 https://gitlab.gnome.org/Archive/gamin 2023-03-01 14:05:58 last commit 11 years ago :/ 2023-03-01 14:06:14 fam itself was removed from lighttpd too 2023-03-01 14:06:25 wouldn't be supported even if it existed 2023-03-01 14:06:44 ah, not quite yet 2023-03-01 14:06:48 but default-off for a while 2023-03-01 14:08:12 oh i see. thanks. i was following this guide https://wiki.alpinelinux.org/wiki/Production_LAMP_system:_Lighttpd_%2B_PHP5_%2B_MySQL but then It's not so actual i guess 2023-03-01 14:08:28 so i should leave that step? 2023-03-01 14:10:15 that guide looks like nobody has touched it in 10 years :p 2023-03-01 14:10:50 though it says 'only in releases older than 3.8' 2023-03-01 14:11:26 https://wiki.alpinelinux.org/w/index.php?title=Production_LAMP_system:_Lighttpd_%2B_PHP5_%2B_MySQL&action=history 2023-03-01 14:12:06 well, alpine wiki is __ 2023-03-01 14:12:28 this is a mckay article indeed 2023-03-01 14:13:04 mckay is what? 2023-03-01 14:13:23 oh really.. thanks. i've just wanted to install a webserver with php5. do you have any recommendations to follow? 2023-03-01 14:17:47 draden: PHP5? Hop in your time machine perhaps? 2023-03-01 14:19:12 yes, it's an old server which i'd like to run. it should configured by default for php5.2 2023-03-01 14:20:04 draden: the last PHP5 release appears to have been 5.6.40 in Jan 2019 - more than 4 years ago 2023-03-01 14:21:03 thanks for the history 2023-03-01 14:21:35 draden: 5.2??? the last release of that was 5.2.17 in Jan 2011 - 12 years ago, so why would you expect the current release of Alpine to package that? 2023-03-01 14:22:27 you might be able to get a docker container with that version 2023-03-01 14:23:16 hmm, docker is younger than php 5.2 2023-03-01 16:45:23 how does one run an openrc service as a user other than root? just cannot seem to figure this out 2023-03-01 16:51:36 vladh: set `command_user="user:group"` 2023-03-01 16:58:46 See https://github.com/OpenRC/openrc/blob/master/service-script-guide.md#dont-write-your-own-startstop-functions 2023-03-01 16:59:22 (note that this means the service will always run as that user. openrc does not support so called user services where a user can run a service as them 2023-03-01 17:22:07 got it, thank you ikke! :) 2023-03-01 18:25:42 hey, the wiki is down, are you aware? 2023-03-01 18:26:08 works fine 2023-03-01 18:26:38 ok now it does 2023-03-01 18:27:20 I've had some message that it's missing composer dependencies 2023-03-01 18:29:16 was updating it for like 10 minutes 2023-03-01 20:29:06 Hi everyone. I've recently installed AlpineLinux on my C433T Chromebook, and my sound isn't working. Executing alsamixer outputs an error message saying it can't find card '0'. Earbuds don't work either 2023-03-01 20:29:35 I've looked online a lot for a solution, but I didn't find any that worked 2023-03-01 20:30:37 Any advice would be appreciated 2023-03-01 20:35:38 What kind of soundcard does it have? 2023-03-01 20:49:05 I've been trying to look for the sound card my computer has online, but I haven't been able to find anything 2023-03-01 20:49:31 maybe try lshw 2023-03-01 20:52:07 When I run lshw as root, it says: terminate called after throwing an instance of 'std::length_error' /n what(): basic_string::_M_create /n Aborted 2023-03-01 20:52:50 Interesting, never had any issues with lshw 2023-03-01 20:53:52 Aeriel: there are other similar tools like inxi 2023-03-01 20:54:44 or hwinfo 2023-03-01 20:56:18 Ok, running inxi --audio prints: Audio: \n Message: No device data found. \n Sound API: ALSA v: k6.1.13-0-lts running: yes 2023-03-01 20:59:53 could its audio be SOF based? in which case packages such as sof-bin and sof-firmware would be required 2023-03-01 21:06:40 Hello! I'm running alpine latest in Docker on two containers. One has a dual stack SOCKS5 proxy running. The other is what I'm logged in to, trying to connect over the v4 Docker Compose network between the containers, to a v6 host behind the proxy. Doing this with cURL works great. When I try `ALL_PROXY=socks5://ts_proxy:1055 ssh -p1522 -i /id_rsa myusername@ffff:ffff:a1e0:ab12:4843:cd96:6278:f945`, it fails: 'ssh: 2023-03-01 21:06:41 connect to host ffff:ffff:a1e0:ab12:4843:cd96:6278:f945 port 1522: Network unreachable' 2023-03-01 21:07:01 When I do apk add sof-bin and apk add sof-firmware, it just says "Okay" and doesn't seem to install anything new. I think I actually already installed sof-bin and sof-firmware before 2023-03-01 21:07:13 So, something is going wrong with SSH specifically. Under what conditions is "network unreachable" returned? Can I force it to try anyway? 2023-03-01 21:08:08 I put the output of hwinfo at https://pastebin.com/Vu6hE22T 2023-03-01 21:08:50 vpseg_: if there is no route to the destionation 2023-03-01 21:10:33 ikke: But it should only need a route to the proxy server, shouldn't it? 2023-03-01 21:11:02 I'd expect so 2023-03-01 21:13:08 So... it's illogical for this command to fail due to a missing route to that address, if it only needs the address to the proxy 2023-03-01 21:16:01 it specifically mentions port 1522 2023-03-01 21:16:28 R.....ight.... 2023-03-01 21:18:01 Firewall's open 2023-03-01 21:19:53 vpseg_: searching seems to indicate something with ssh 2023-03-01 21:21:00 Yeah... I'm in the openssh channel too, and I think they're stumped 2023-03-01 22:42:31 I'm not really sure what else to try to get audio working. I've tried a bunch of things online without success, though most were for other linux distros. Is there any option other than just installing a different linux distro? 2023-03-01 22:43:06 Aeriel: check the configs in galliumos's packages 2023-03-01 22:43:59 Okay. What configs and what packages should I check? GalliumOS has a lot of packages 2023-03-01 22:44:00 I can't do it right now but it helped me lots back when I daily'd a Chromebook. although microphone still didn't work at all, was a known issue in my model 2023-03-01 22:44:51 something like this https://github.com/GalliumOS/galliumos-braswell but specific for your model 2023-03-01 22:45:19 see how it has alsa and pulseaudio stuff inside https://github.com/GalliumOS/galliumos-braswell/tree/master/usr/share 2023-03-01 22:45:25 I gtg but hope that helps a bit 2023-03-01 22:46:28 Thanks 2023-03-01 23:17:42 Aeriel: the hwinfo output mentions snd_soc_skl, which is Sound for Intel Skylake, which is depricated by SOF driver, so I assume it should be using SOF 2023-03-01 23:22:49 minimal: Okay. Should I just try installing the sof-firmware package? 2023-03-01 23:23:41 Oh, I see; it's already installed. Is there a way to enable it? 2023-03-01 23:23:58 it would just get used automatically pretty sure 2023-03-01 23:25:36 When I execute "apk add sof-firmware", it just outputs "OK: 1347 MiB in 396 packages". Is that what's supposed to happen? It doesn't say it was installed or anything. Does that mean sof-firmware was already installed? 2023-03-01 23:28:15 quite probably 2023-03-01 23:31:37 yes 2023-03-01 23:36:44 So then is sof-firmware just not being used when it should be? Is there a way to solve that? 2023-03-01 23:45:14 the issue is probably not the firmware 2023-03-01 23:45:23 aside from that you should reboot after installing it i guess 2023-03-01 23:45:32 since the firmware doesn't reload by magic 2023-03-01 23:45:44 but if it persists it's most likely not the firmware but rather stuff like the linked alsa configs 2023-03-01 23:55:20 I install sof-firmware quite a while ago, I think, so I've already rebooted since then 2023-03-02 00:01:26 installed* 2023-03-02 00:29:22 I just tried running alsa-info.sh, and it says no sound cards were found 2023-03-02 00:32:02 Aeriel: assuming it needs SOF then ALSA won't "find" any source card unless the relevant SOK kernel driver is load - have you checked whether there is a SOf driver loaded? 2023-03-02 00:32:28 "lsmod | grep sof" 2023-03-02 00:35:49 lsmod | grep sof returns a bunch of stuff: https://pastebin.com/0LYBmd7a 2023-03-02 00:37:11 looks loaded to me 2023-03-02 00:37:15 just the alsa config stuff then 2023-03-02 00:37:37 so what does "cat /proc/asound/devices" show? 2023-03-02 00:38:16 and "cat /proc/asound/cards" 2023-03-02 00:58:33 Aeriel: ^^^ 2023-03-02 01:03:27 cat /proc/asound/devices produces: 33: : timer 2023-03-02 01:04:03 cat /proc/asound/cards produces: --- no soundcards --- 2023-03-02 01:07:32 so there's your problem, dunno why though. I've never used any SOF stuff 2023-03-02 01:11:34 (To be clear, my computer definitely has a sound card. I played audio just fine before installing GalliumOS) 2023-03-02 01:17:05 Hey there. Is xdg-desktop-portal-wlr necessary to use pipewire just for sound, a la ALSA? 2023-03-02 01:17:56 no 2023-03-02 01:18:18 didn't think so, thanks 2023-03-02 01:21:15 it's only used for the screencast/screenshot portal implementation, i.e. screenshots/screen-capture going through portals, because that directly involves the compositor through wlroots 2023-03-02 01:21:25 sound and file stuff are different portals 2023-03-02 01:21:33 and of course things that don't use portals don't use any of it 2023-03-02 01:23:21 hmm. I can see my card in alsamixed, and when I install pipewire-alsa and restart PW, alsamixer shows pipewire, but sound is not working. I am in audio group. 2023-03-02 01:25:02 did you also start wireplumber 2023-03-02 01:26:02 no. 2023-03-02 01:26:20 No outputs show up in pavucontrol 2023-03-02 01:27:33 well.. you need it to use pipewire 2023-03-02 01:28:11 /usr/libexec/pipewire-launcher could start all three things for you i guess 2023-03-02 01:29:07 WP doesn't work without logind 2023-03-02 01:30:09 I don't have that installed. 2023-03-02 01:30:09 sure it does 2023-03-02 01:30:14 i don't have it installed 2023-03-02 01:30:52 Error loading shared library /usr/lib/wireplumber-0.4/libwireplumber-module-logind.so: No such file or directory 2023-03-02 01:32:23 lemme try pulseaudio 2023-03-02 01:35:36 that's a warning not an error 2023-03-02 01:35:59 well 2023-03-02 01:36:52 yeah, it starts and works anyway 2023-03-02 01:37:15 though i see failed to load module not error loading shared library 2023-03-02 01:38:40 ah, you trimmed half the message 2023-03-02 01:38:46 Failed to open module /usr/lib/wireplumber-0.4/libwireplumber-module-logind: Error loading shared library /usr/lib/wireplumber-0.4/libwireplumber-module-logind.so: No such file or directory 2023-03-02 01:38:49 yeah this doesn't mean anything 2023-03-02 01:39:09 it is a warning 2023-03-02 01:39:26 you can set logind to false so it doesn't even check in a config file if you want, but it doesn't change anything 2023-03-02 01:44:04 ah, got it 2023-03-02 01:44:23 apparently I needed to run media-session manually without elogind 2023-03-02 01:44:25 sorry 2023-03-02 01:45:02 I was on void with elogind 2023-03-02 01:51:20 media-session is old one that is explicitly abandoned and everyone says to use the other 2023-03-02 01:53:05 I'm not sure how many more daemons the freedesktop intend on writing, but I will go with the old one that does everything I ask... which is almost nothing. ;-) 2023-03-02 01:57:03 you're the one that needs audio help not me ;-) 2023-03-02 01:57:10 shoot your foot for all i care 2023-03-02 02:16:55 If it helps, I never once successfully got sound working with media-session without manual intervention and other hacks. 2023-03-02 02:16:55   2023-03-02 02:16:55 Wireplumber, however, has never so much as hiccuped. 🤷 2023-03-02 02:17:59 Shit, it even works on my car headunit and dynamically switches sinks without issue, too, which is also something media-session never let me do 2023-03-02 02:35:38 Saijin_Naib: dunno. 2023-03-02 08:33:38 hello 2023-03-02 08:33:53 I have a question for Alpine Linux Wizards 2023-03-02 08:34:54 I have a weird idea: run Alpine Linux on a router instead of OpenWRT (which is -in my opinion- full of subtle bugs but none notices) 2023-03-02 08:35:25 I have managed to enter u-boot (it's an ARMv7 board) with serial console 2023-03-02 08:35:34 it can work, but you will have to configure everything on your own and won't have luci available 2023-03-02 08:35:44 but I have no idea on how to make it work in an easy manner 2023-03-02 08:35:52 I can do it on the console 2023-03-02 08:35:54 no problem 2023-03-02 08:36:04 I do not need a web intrerface 2023-03-02 08:36:16 I am into u-boot but I am kind of lost 2023-03-02 08:36:57 I was thinking: maybe I can modify a "standard" openwrt image, swapping the roots with the Alpine rootfs ? 2023-03-02 08:37:29 I just need it boot from ram of course 2023-03-02 08:37:46 and this thing has an usb port that I can use for LBU 2023-03-02 08:38:01 Hello, could you help me please, I have a problem with Gstreamer, already Installed gst-plugins-base gst-plugins-good gst-plugins-ugly and when run Mopidy i get tons off error comes from GStreamer. I searched i found this is cause off missing souphttpsrc which should be included in gst plugins 2023-03-02 08:39:02 do you have libsoup or libsoup3 installed? 2023-03-02 08:43:30 you mean this https://pkgs.alpinelinux.org/package/edge/community/x86_64/libsoup3 2023-03-02 08:43:58 and this https://pkgs.alpinelinux.org/package/edge/community/x86_64/libsoup 2023-03-02 08:45:52 I already did run Alpine on rk322x tv-boxes (was easy because it has a MMC & standard u-boot/extlinux) ,using armbian kernel, and it worked flawlessly 2023-03-02 08:46:02 yes, afaik souphttpsrc doesn't link libsoup, but it dlopens it at runtime depending on the libsoup version loaded in the application 2023-03-02 08:46:33 wyk72 which board is this? 2023-03-02 08:46:46 Now I am trying a ZTE 286D router w armv7 ipq chipset 2023-03-02 08:48:07 specs here https://openwrt.org/toh/zte/mf286d 2023-03-02 08:48:26 Qualcomm IPQ4019 chipset 2023-03-02 08:48:45 I am planning to use OpenWRT chipset 2023-03-02 08:48:53 libsoup/libsoup3 I didn't install them. I will try. But which one will be suitable for mopidy? 2023-03-02 08:51:25 I mean OpenWRT kernel (5.19.95) 2023-03-02 08:51:36 and just change the rootfs 2023-03-02 08:51:52 either one should work if mopidy doesn't use libsoup (which is doesn't because it would be a depdendency) 2023-03-02 08:52:00 I would use libsoup3 just because it's newer 2023-03-02 08:52:11 but I have no idea on how to pass it kernel parameters/initramfs etc 2023-03-02 08:52:43 it can load images via tftp (tried), but I have no idea on how to make it boot something else 2023-03-02 08:53:33 OK, thank you paper 2023-03-02 08:53:40 did it work? 2023-03-02 08:54:19 I need to check, I will response you within ~1 hour 2023-03-02 12:11:31 Hi, 2023-03-02 12:12:17 since yesterday evening i am unable to play videos in firefox on edge. ffmpeg & friends seem to have been updated 2023-03-02 12:12:28 no package was removed 2023-03-02 12:12:29 ty 2023-03-02 12:13:49 is there any useful output when you start firefox from the command line? 2023-03-02 12:15:20 no, just ff telling me that codecs are missing 2023-03-02 12:15:41 same problem on my phone with pmos edge 2023-03-02 12:17:10 paper I have installed again gstreamer & plugins + libsoup3 and now Mopidy start to work, thanks! 2023-03-02 12:23:16 chereskata: did you try other video apps, e.g. vlc? Do they work? 2023-03-02 12:23:29 totem works fine 2023-03-02 12:24:48 try ffplay just in case 2023-03-02 12:29:04 ffplay works without problems 2023-03-02 12:35:31 firefox + ffmpeg-5.1.2-r8 works, firefox + ffmpeg~6 doesn't 2023-03-02 12:39:57 I guess there's some breakage. Will check on my pc when I'll get home 2023-03-02 12:40:07 thank you :) 2023-03-02 12:54:34 Okay, I just rebooted and still am getting the same error. No sound cards are detected, and sound doesn't play. I also did apk upgrade to update my kernel and other software, which didn't resolve the problem. I'm not sure where to go from here. 2023-03-02 12:55:27 figuring out what type of soundcard is present 2023-03-02 12:56:29 7368ae495d12305bf791e31675e3e846f05e80b3 2023-03-02 12:57:24 ikke: meant to send that in devel? 2023-03-02 12:57:29 yes 2023-03-02 12:59:30 firefox video issue is open under: https://gitlab.alpinelinux.org/alpine/aports/-/issues/14674 2023-03-02 14:09:37 apk audit can tell me that some config file is different, but is there a way to get a diff? 2023-03-02 14:10:34 graywolf: not aware of an option 2023-03-02 14:11:59 Like, my current approach is `apk fix --reinstall PKG && update-conf', but I would like to believe there is less retarded way... 2023-03-02 18:26:02 Is it out of scope for setup-disks to recommend or set a particular Scheduler for systems with homogeneous storage? 2023-03-02 18:26:51 Most likely, yes 2023-03-02 18:28:04 yes 2023-03-02 18:28:27 Saijin_Naib: setup-disk is a "basic" utility, there a lot of things it "could" do but I don't think people want it overcomplicated 2023-03-02 18:29:15 Alright, thanks. Just musing given upstream Kernel 6.3 will auto enable making bfq module if building support for eMMC, and seeing lots of posts about how it stops stalls and other issues on eMMC machines  2023-03-02 18:32:35 setup-disk only really cares about the storage device it is putting Alpine onto, so it does not pay attention to any other devices present, so it doesn't care whether you have homogeneous storage or not, plus it is run at a particular point-in-time (install time) so can't obviously cater for whatever storage you might add in the future 2023-03-02 18:34:35 Right, that makes sense 2023-03-02 18:35:09 I guess the udev rule way is the proper way for that, then  2023-03-02 18:36:15 ........apart from an install using Software RAID obviously 2023-03-02 18:37:25 yeah, a quick search found OpenSuSE udev rules for setting schedulers 2023-03-02 18:37:34 I'm just forcing it in the kernel command line since this laptop isn't upgradable now expandable. Hopefully my testing agrees with other folks and it stops being so laggy. Even changing messages in Evolution has waits, and I refuse to accept that the N3450 can't load an email without issue  2023-03-02 18:38:43 Saijin_Naib: I'm typing this on a J3160 ;-) 2023-03-02 18:40:49 Embedded or appliance machine? That's some awesome wattage for a desktop socket!  2023-03-02 18:41:22 Well, bga, so I'm wrong, whoops  2023-03-02 18:42:11 Faster than my E7600 for 1/10th the energy 🤣 2023-03-02 18:49:29 Asrock Beebox 2023-03-02 18:50:01 NUC-type machine 2023-03-02 19:36:14 Very neat. I've a few Zotac ZBOX, going all the way back to VIA C7-M 😬 2023-03-02 19:37:29 Saijin: yeah I have several Zotac boxes, an old Atom ION, and other lower-power stuff ;-) 2023-03-02 19:43:14 Tried "apk add cmd:vimdiff" on Alpine Edge, got "Huh? Error reporter did not find the broken constraints." 2023-03-02 19:44:50 works 4 me 2023-03-02 19:44:58 why do I get 74 deps, though 2023-03-02 19:45:04 pulls in wayland 2023-03-02 19:45:13 gvim.. 2023-03-02 19:45:36 ah 2023-03-02 19:45:45 if you add vim first them cmd:vimdiff it breaks 2023-03-02 19:45:49 mostly cause this packaging sucks 2023-03-02 19:45:54 yes 2023-03-02 19:46:02 sure i'll fix it 2023-03-02 19:50:08 hm 2023-03-02 19:50:10 or is it even fixable 2023-03-02 19:51:23 they do have a duplicate ex/rview/rvim/view/vim 2023-03-02 20:05:23 "Saijin: yeah I have several..." <- Debating trying Alpine on my P3 Celeron, which sadly is my oldest existing build now, after I stupidly recycled my IBM Aptiva with OS/2 Warp 4 2023-03-02 20:11:44 My Celeron booted early Win10 previews, and ran pretty okay aside from crashing in hardware display rendering, so I figure it should rip under Alpine 🤔 2023-03-02 20:20:22 Ermine: try again in a bit, maybe that slightly improves it 2023-03-02 20:22:48 psykose: same result 2023-03-02 20:22:55 it's not even built yet 2023-03-02 22:32:14 Does anyone have any suggestion on what distro to use? I can't get sound to work on Alpine Linux due to my sound card not being recognized, and a lot of ther other distros I've tried just give me a black screen when I try to boot from instalation media. Would GalliumOS be a good choice? I dislike that it's more bloated than AlpineLinux, though... 2023-03-02 22:33:04 Aeriel: Arch would be most likely to have support 2023-03-02 22:35:12 I've done most of my audio work on Gentoo, but from the more lightweight options Void seemed to have decent support. 2023-03-03 00:50:35 Saijin_Naib: "P3 Celeron"? isn't that a contradiction in terms? How can a Pentium 3 be a Celeron? 2023-03-03 00:53:01 minimal: P3 Generation Celeron. Coppermine architecture. Figured that'd be easier for folks than saying Celeron 1.1GHz without calling out any other identifiers  2023-03-03 00:57:00 ah ok. I''ve got some "weird and wonderful" AMD and Intel low-power CPUs. I did bin my Geode a few years ago 2023-03-03 01:02:42 Jealous! Always wanted one of the P2s that were on the riser/slot, just for the weird factor. 2023-03-03 01:05:40 Now you Pentium 2? I also binned my Pentium 2 and Pentium 3 (forget which was a vertical "cartridge") at the same time as Geode. 2023-03-03 01:05:52 s/you /you mean/ 2023-03-03 01:05:52 minimal meant to say: Now you meanPentium 2? I also binned my Pentium 2 and Pentium 3 (forget which was a vertical "cartridge") at the same time as Geode. 2023-03-03 01:08:44 Yeah, sorry, I meant Pentium 2 is something I wanted. I just had my IBM Aptiva running OS/2 with (can't remember what) 486 up until I got my eMachines 633ids that I eventually put the Coppermine Celeron 1.1GHz into, so I skipped the Pentium 1 / Pentium 2 fun 2023-03-03 01:11:17 still have single core Sempron LE1300, Atom 330, couple of AMD APU Semprons/Athlons, couple of 6 core Phenoms, a Turon, some J1900, Celeron 1007U, and more unusual AMD E2-3800 and AMD C-70 ;-) Think I have an AMD E1 somewhere as well 2023-03-03 01:12:30 oh and AMD E-350D 2023-03-03 01:22:09 Those E-Series machines were a nightmare when I worked in consumer ITS. Felt like it took them days to do anything.  2023-03-03 01:23:01 I still use a E2-based laptop on a regular basis 2023-03-03 01:28:15 Not with rotational storage, I hope 🤣 2023-03-03 01:29:13 why? it does the job lol 2023-03-03 01:30:32 Period correct, I suppose 🤔 2023-03-03 01:30:48 What OS does it run?  2023-03-03 01:30:54 Debian currently 2023-03-03 01:32:44 Nice! 2023-03-03 01:32:44 Also, circling back, bfq on SATA3 SSD does feel more responsive by the eyeometer, at least. Gotta do it on eMMC laptop and see if it can change emails without letting me count to 3 between loads. 2023-03-03 01:32:44   2023-03-03 01:34:25 Loading heavy stuff like my Firefox with 70 some pinned tabs took about half as long, same for loading a ton of Electron Flatpak chat apps at once  2023-03-03 01:35:14 just checked, it's not an E2, it's an E1-2500 lol 2023-03-03 01:35:57 🤣 2023-03-03 01:36:10 How stable is alpine edge? 2023-03-03 01:36:16 I can't judge, though. I still inexplicably love my VIA stuff 2023-03-03 01:36:17 Saijin_Naib: wouldn't "noop" make more sense for a SSD? 2023-03-03 01:37:23 minimal: Supposedly SATA3 drives don't have enough bandwidth nor truly parallel access ability, so they still benefit from some sort of scheduler. NVME apparently is best suited for none (mq version of Boop)  2023-03-03 01:37:32 I just installed alpine on my laptop (and only computer) and am considering edge. 2023-03-03 01:37:34 Lol, noop. Not Boop.  2023-03-03 01:38:08 I gave up on Via back around 2006 when I was building some boxes with Via Mini-ITX motherboards as Asterisk PBX and they kept locking up, moved to (then) low power AMD boards instead :-( 2023-03-03 01:39:33 somercet: I enjoyed it for about 3 years. Never had an issue except for when major upgrades were made to some core dependencies. Seems like if I didn't check for updates as obsessively as I do it would have been just fine and i would have missed issues 2023-03-03 01:40:32 minimal: Ah, that's a shame. I do really wish they had stayed in the US market. I think they had some unique stuff going on that would have helped poke AMD and Intel  2023-03-03 01:42:11 Saijin_Naib: there's still the annual or bi-annual article on Phoronix of someone planning to update and merge the Via Unichrome FB driver which has been talked about for 10-15 years now lol 2023-03-03 01:42:12 Saijin_Naib: ty. Also, is there a meta-pkg like Arch's base-devel? 2023-03-03 01:43:29 alpine-sdk probably 2023-03-03 01:43:38 but it won't have most of base-devel from arch 2023-03-03 01:44:27 minimal: 🤞Once that lands, my VIA stuff goes back into action 🤣 2023-03-03 01:45:48 psykose: it has most of what I need, ty 2023-03-03 01:52:24 samurai, interesting 2023-03-03 03:20:03 bfq on eMMC is no joke. I can key up and down in my email list in Evolution now without 3sec+ hangs before the email even starts to load. It's almost instant now  2023-03-03 03:27:19 should i reboot after apk -U upgrade 2023-03-03 03:31:22 if you had a kernel upgrade, probably 2023-03-03 04:05:16 Speaking of, is 6.1.x LTS on track for the next Alpine stable release to be the Kernel? 2023-03-03 04:06:57 ye 2023-03-03 04:07:32 Many excite 2023-03-03 04:08:02 Got about a 15% performance improvement on my Skylake desktop doing data processing, even without forcing retbleed=stuff, so I am super amped for it to land 2023-03-03 04:08:24 Hoping it makes my craptop a little less so, as well. We shall see 2023-03-03 10:17:01 psykose: vimdiff got fixed, thank you! <3 2023-03-03 17:47:52 How stable is alpine edge? 2023-03-03 17:48:54 "How stable is alpine edge?" <- It's not Rock solid but not bad 2023-03-03 17:49:29 E.g screen sharing in chromium in Wayland still broken maybe for last few months 2023-03-03 17:49:49 But most of applications are works pretty good 2023-03-03 17:51:39 boombin[m]: it is stable until it is not, and then it (hopefully) gets fixed, and then it is stable until the next time it is not stable ;-) 2023-03-03 17:51:56 basically it's constantly changing :p 2023-03-03 17:52:22 my experience using edge on my laptop has been that everything works fine about 98% of the time, and the other 2% it gets fixed quickly 2023-03-03 17:52:38 but if you are uncomfortable with like "oh, today's build of vi is behaving strangely" or whatnot, edge may be uncomfortable 2023-03-03 17:52:50 same as elly, i find edge more stable than stable releases 2023-03-03 17:52:56 Schroedinger's Alpine version, you can't tell if it is stable or unstable until you try it :-) 2023-03-03 17:53:06 yes 2023-03-03 17:53:19 and also, Heisenberg's Alpine version, in that it sometimes seems stable until you run something :P 2023-03-03 17:58:44 Zfs with irs snapshots could be insurance for edge 2023-03-03 17:59:04 I used it on freebsd and it's great 2023-03-03 17:59:31 But it's too many efforts to install alpine on zfs root for me:D 2023-03-03 18:02:48 I just have backups, but I've also never lost data to an edge bug 2023-03-03 18:07:14 boombim[m]: what if an upgrade problem affects ZFS? ;-) There are also LVM snapshots, btrfs also 2023-03-03 18:07:35 does anybody here has experience with setting up networkmanager? I'm trying to set it up on a Raspberry Pi 3B, but nmcli shows all devices as "unmanaged" and I have no idea why 2023-03-03 18:08:03 msrd0: did you stop the networking service? 2023-03-03 18:09:02 ikke: I tried stopping it, but it says it's already stopped 2023-03-03 18:09:04 I also tried with wpa_supplicant service and without, but it didn't change anything 2023-03-03 18:35:08 Alpine and networkmanager have been driving me crazy too, for months 2023-03-03 18:37:34 I never bothered to set it upo 2023-03-03 18:38:18 i'm sure networkmanager is useful if you have 78 interfaces and have to manage 13 connection scenarios at once 2023-03-03 18:38:38 as someone that never goes outside though i fail to see the point to have it to manage like one dhcp daemon 2023-03-03 18:38:56 Its also useful if you run alpine on a laptop, going places. 2023-03-03 18:39:12 i am on a laptop right now and i actually did go outside 2023-03-03 18:39:22 these messages sponsored by "i typed iwctl and connected to a new network" 2023-03-03 18:39:29 Good for you :) 2023-03-03 18:40:07 maybe it's more useful where you also have a phone wireless daemon or something 2023-03-03 18:40:12 or just really like nm-applet i guess 2023-03-03 18:40:36 qt applet in my case, but oh well :) 2023-03-03 18:42:08 I still believe there’s a place for Alpine Desktop. And that includes networkmanager :) 2023-03-03 18:43:52 And im waiting for Alpine Gear, so i can run it on my watch 😂 im fed up with all these big trch gadgets that keep gathering data about me for sell. 2023-03-03 18:45:31 not saying there's no place for it, it exists after all 2023-03-03 18:46:01 :) 2023-03-03 18:46:12 I never said you you said i said that they said that we said that you said.. wait.. 2023-03-03 18:46:21 :D 2023-03-03 18:47:08 Im learning nftables so i can build routers with Alpine 🙈 2023-03-03 18:48:05 Its all i want. No more debian for this, centos for that, macos for such, ios for so 2023-03-03 18:48:34 Alpine, Alpine, Alpine, ALLLPPPPIIIINNNNNNEEEEEE!! 2023-03-03 18:49:11 One day i’ll be rich, and i can hire people to do that. 2023-03-03 18:49:26 Ok.. back to sleep! 2023-03-03 18:50:06 words to live by 2023-03-03 18:50:16 true! 2023-03-03 18:50:29 bed is most importantest 2023-03-03 18:51:13 isnt alpine just a docker distro? 2023-03-03 18:51:46 Heh. 2023-03-03 18:51:47 yes 2023-03-03 18:53:18 and also a distro to host docker 2023-03-03 18:53:24 and also a distro to host vms running docker 2023-03-03 18:53:40 and also for routers that provide internet to docker containers :P 2023-03-03 18:53:49 and a distro to host that one broken armhf container 2023-03-03 18:53:51 ikke: reeeeeeeeeeeeeeeeeeeee 2023-03-03 18:54:09 wait what 2023-03-03 18:54:41 what is broken now? 2023-03-03 18:54:59 psykose mostly 2023-03-03 18:57:13 Alpines for president! 2023-03-03 19:23:13 I just tried upgrading into linux 6.2.2 and have the same issue as 6.2.0. 2023-03-03 19:23:28 I tried removing the `quiet` flag from cmdline but also get no output before it reboots. 2023-03-03 19:25:29 WhyNotHugo: this is the UKI issue? 2023-03-03 19:25:45 Either the UKI or the kernel, unclear. 2023-03-03 19:26:18 I meann that you this is when using a UKI - the 6.2.0 kernel worked fine for my using Grub to boot 2023-03-03 19:27:17 Any simple bootloader that I can quickly set up and see if it works? 2023-03-03 19:27:34 I have a suspicion as to the problem/a possible solution but have not yet had a chance to test it 2023-03-03 19:27:43 install Grub? 2023-03-03 19:31:41 WhyNotHugo: you can try systemd-boot or limine, both have quite simple config syntax and just one efi image 2023-03-03 19:32:12 ptrc: The UKI *is* the efi image. 2023-03-03 19:32:19 ptrc: there is no systemd-boot (or any other part of systemd) packaged for Alpine 2023-03-03 19:32:30 s/systemd-boot/gummiboot/ 2023-03-03 19:32:30 ptrc meant to say: WhyNotHugo: you can try gummiboot or limine, both have quite simple config syntax and just one efi image 2023-03-03 19:32:31 same thing 2023-03-03 19:32:32 minimal: that would be gummiboot. 2023-03-03 19:32:59 nope, systemd-boot is based on gummiboot but with additions/changes/fixes 2023-03-03 19:33:16 what i meant is, you can try loading the kernel and initramfs via another bootloader, as opposed to using the UKI 2023-03-03 19:33:16 My orignal setup was firmware->UKI. Not it's firmware->gummiboot->UKI. Gummiboot works fine but as soon as it hand over control the the UKI, the system reboots. 2023-03-03 19:33:17 indeed my suspicion is that gummiboot is causing your problem 2023-03-03 19:33:29 that is why I have another possible solution in mind 2023-03-03 19:34:53 "does anybody here has experience..." <- They need to be removed from /etc/network/interfaces for NetworkManager to work on them. 2023-03-03 19:34:53 Do not remove loop back from interfaces as we do not ship the version required to manage it with NetworkManager yet in latest-stable  2023-03-03 19:34:53   2023-03-03 19:35:33 Any straightforward instructions on how to set up limine? 2023-03-03 19:35:55 "Alpine, Alpine, Alpine, ALLLPPPP..." <- My goal, to be quite honest. Same with funding work on Alpine 2023-03-03 19:35:55 Once I am more stable it's on.  2023-03-03 19:35:55   2023-03-03 19:36:01 I guess I need to build an initramfs too. 2023-03-03 19:36:14 WhyNotHugo: it is fairly straightforward 2023-03-03 19:36:24 yes you'd typically need an initramfs 2023-03-03 19:36:38 minimal: I avoided that completely by taking the UKi route XD 2023-03-03 19:36:41 > <@saijin_naib:matrix.org> My goal, to be quite honest. Same with funding work on Alpine... (full message at ) 2023-03-03 19:37:05 the "problem" with Limine is that they may, or may not, be making a fundamental change to how it works in the near future 2023-03-03 19:37:11 JohannesJ[m]: Sure. PM?  2023-03-03 19:37:46 WhyNotHugo: you avoided a initramfs with UKI? Nope, you have one, it is just included as part of the UKI EFI file... 2023-03-03 19:38:02 If i can figure that out on mobile 😂 2023-03-03 19:39:56 Yeah, I meant that I avoid having to build one into /efi. 2023-03-03 19:40:50 So you could try Limine now, knowing that it may require config changes in a future version 2023-03-03 19:41:14 minimal: My goal right now is to determine if the issue is the UKI itself or the kernel. 2023-03-03 19:41:43 WhyNotHugo: and I've told you several times now that the 6.2.0 kernel works fine with Grub 2023-03-03 19:42:07 if you wait approx 10-15 mins I will test it with Limine also 2023-03-03 19:42:28 minimal: Does an UKI fail on your hardware too? 2023-03-03 19:43:31 yes, I told you this the last time we talked, it failed with 6.2.0 but not with linux-lts kernel 2023-03-03 19:43:48 Oh, I though you'd later made it work, my bad. 2023-03-03 19:44:26 and as I recently said I suspect the UKI problem lies with Gummiboot, but I'm not 100% certain of that 2023-03-03 19:45:50 gummiboot is abandonware sadly, so I guess it was mostly a matter of time until it breaks. 2023-03-03 19:46:27 WhyNotHugo: which is why I'm planning to test and alternative that may or may not resolve that 2023-03-03 19:46:34 s/and /an / 2023-03-03 19:46:34 minimal meant to say: WhyNotHugo: which is why I'm planning to test an alternative that may or may not resolve that 2023-03-03 20:16:36 What alternative do you have in mind? 2023-03-03 20:16:52 I'm impressed by limine: it's the first time in all my life that I see a bootloader that uses the native monitor resolution. 2023-03-03 20:17:06 Even the motherboard firmware still uses something dumb like 800x600 in 2023. 2023-03-03 20:21:12 refind also does graphics but haven't tried it 2023-03-03 20:21:43 WhyNotHugo: basically gummiboot is "dead" as it as copied into systemd and became systemd-boot 2023-03-03 20:22:34 I'm looking at stubby which is basically systemd-boot extracted out of systemd, so it is sort of a more recent "grandson" of gummiboot 2023-03-03 20:23:06 by the way how to add alpine to refine? I'm still running it from void's grub :D 2023-03-03 20:23:18 Refine doesn't find it 2023-03-03 20:23:29 I mean doesnt find alpine for some reason 2023-03-03 20:32:48 Booting 6.2.2 with limine worked -- so the issue was gummiboot's EFI stub probably. 2023-03-03 20:33:13 I was aware of gummiboot being abandoned and sucked into systemd... so I kind knew it had an expiry date. 2023-03-03 20:33:17 I had issues with Alpine and regind too, i added it manually to the refind.conf 2023-03-03 20:33:34 WhyNotHugo: yes which is why I suspect stubby *may* resolve the issue 2023-03-03 20:33:46 I have random notes somewhere with an idea for a very minimal bootloader. I'll probably never have the time to write it, but one is free to dream. 2023-03-03 20:34:27 well Limine is fairly minimal, more so if they go ahead with their unclear intentions 2023-03-03 20:36:16 WhyNotHugo: I have stubby "roughly" packaged locally, I'm in the process of testing it for UKI 2023-03-03 20:36:21 WhyNotHugo: Does it provide a GUI, in your dreams? 2023-03-03 20:36:58 Limine has dozens of options to tweak fonts and colours that are mixed in with the important configuration entries. I wish they'd put the important stuff all on top. 2023-03-03 20:37:34 WhyNotHugo: they may or may not be removing ext2/3/4 support 2023-03-03 20:38:22 My motherboard only supports a FAT32 ESP anyway. I think that's true for like 99% of the hardware in the wild. 2023-03-03 20:39:09 WhyNotHugo: not for ESP, for the boot files (kernel, initramfs, etc) 2023-03-03 20:40:06 I prefer to use a UKI to have have it all in one file TBH. 2023-03-03 20:40:22 but Limine doesn't support a UKI so that's not relevant 2023-03-03 20:40:23 Mostly, I want to keep around old UKIs with old kernesl that boot to an older btrfs snapshot in case I need to boot back into a prvious version. 2023-03-03 20:40:45 booting an UKI == chainloading. It is supported. 2023-03-03 20:40:56 An UKi is just a UEFI binary. 2023-03-03 20:41:09 ok, didn't have chainloading on mind 2023-03-03 20:42:03 I'm just pointing out that someone could use Limine with kernel/initfs etc in a ext4 fs and then one day Limine stops supporting ext4 2023-03-03 20:42:16 JohannesJ[m]: Mostly an entry-picker with one item under the other. Nothing super fancy, but trying to use native res and big fonts. 2023-03-03 20:42:26 Ah, right. 2023-03-03 20:42:49 Well, count me in if you ever need testing 2023-03-03 20:42:57 Will do! 2023-03-03 20:43:32 I think that's the type of setup that grub encourages -- 2023-03-03 20:43:44 WhyNotHugo: Limine's git had a PR committed 1 or 2 weeks ago to remove ext2/3/4 support (with no explaination) followed by a revert of that commit 1 or 2 days later (also with no explanation) 2023-03-03 20:43:47 booting into the booloader which mounts another partition and then it reads its modules and the real OS from there. 2023-03-03 20:44:26 lol 2023-03-03 20:44:36 I don't admit having heard of this bootloader before tbh 2023-03-03 20:49:05 If gummiboot's stub is really broken AND abandoned, I think it's worth questioning if it shold stay in the `main` aports. 2023-03-03 20:51:02 WhyNotHugo: well (a) we don't' know yet that it is "broken", (b) this issue only appeared recently, (c) changing the kernel config setting CONFIG_EFI_HANDOVER_PROTOCOL may perhaps "fix" the issue 2023-03-03 20:51:26 so I think it is far too early to start thinking about removing gummiboot 2023-03-03 20:52:16 Lupine would be a nice name for a bootloader that works with Alpine 🥰 2023-03-03 20:54:24 The issue is new, but I don't think it's going to be fixed. There's no need to rush though, right. 2023-03-03 20:54:30 I'll give stubby a shot and see how that works. 2023-03-03 20:54:41 I'm already working on stubby 2023-03-03 20:55:12 I'll avoid duplicaating work and wait for your package. Just lemme know ;) 2023-03-03 20:55:19 stubby the dns thing? 2023-03-03 20:55:29 https://github.com/puzzleos/stubby 2023-03-03 20:55:40 It's a fork of systemd-boot, which is the continuation of gummiboot. 2023-03-03 20:55:41 psykose: no, name clash, I've named my package stubbyboot 2023-03-03 20:56:10 Devs in 50 years will just have to use UUIDs for package names to avoid name clashes 2023-03-03 20:56:11 subby? 2023-03-03 20:56:43 WhyNotHugo: or all use generated github-style project names 2023-03-03 20:56:58 Just install 62b30a98-0c61-4c9e-96ee-cc8a978ae9d2 and all your issues are gone 2023-03-03 20:57:16 can't wait to install generative-octopus-pine-chair 2023-03-03 20:57:23 WhyNotHugo: yes I'm wanting to avoid duplication of effort (or at least someone else deciding to push on with packaging it and me then having wasted my time bothering to look at it) 2023-03-03 20:58:46 that's why I was reluctant to mention its name at first, it wouldn't be the 1st time I put effort into packaging something and some else "got there first" 2023-03-03 20:59:14 I give my projects "working names" as I build them, then if/when I want to ship them, pick a better name 2023-03-03 20:59:29 I'd suggest it would be a good idea for Alpine to have something like Debian's "Intention to package" 2023-03-03 21:00:59 minimal: If someone else is taking care of it, I'm happy to let them. It's not like I don't have infinite other things to do anyway XD 2023-03-03 21:01:11 elly: Like Longhorn? 2023-03-03 21:01:35 heh, for me they are actually short random strings instead, specifically picked to be easy to search for later 2023-03-03 21:01:40 minimal: BTW: limine can chain-boot another UEFI binary (e.g.: gummiboot), so you can likely use that for stubby too. 2023-03-03 21:01:50 like for example one is called "m77z" which is not a string that appears anywhere else 2023-03-03 21:01:57 so when I decide to publish it it's easy to grep for and replace 2023-03-03 21:02:22 Or just release it as m77z :P 2023-03-03 21:03:08 or "lulz"? or "systeme"? 2023-03-03 21:04:16 ikke: it would certainly be unique 2023-03-03 21:05:00 "systeme" just looks like it's in french. 2023-03-03 21:05:07 it does 2023-03-03 21:06:04 ok "systemd+" then lol 2023-03-03 21:06:13 that sounds very different 2023-03-03 21:10:04 "boombim: what if an upgrade..." <- Yeah they all do the job. 2023-03-03 21:26:34 "I had issues with Alpine and..." <- Same. Refined doesn't detect alpine for some reason. 2023-03-03 21:27:10 I know :) 2023-03-03 21:47:56 > <@saijin_naib:matrix.org> They need to be removed from /etc/network/interfaces for NetworkManager to work on them.... (full message at ) 2023-03-03 21:49:33 Hmm... Sounds like you did not go through the setup-Alpine flow for install? I've never not had the interface file 2023-03-03 21:50:15 yeah setup-alpine doesn't really like setting it up in disk mode so I'm going the hacky way of chroot-installing it using qemu 2023-03-03 22:02:45 Oh... Hmm, not sure what all would need to be done manually, in that case 2023-03-04 02:26:23 WhyNotHugo: looking at the stubby code it has references to linux_efi_handover, as does gummiboot, so I don't think it is going to resolve your issue (I still intend to officially package it anyway). I think your way forward it to raise an Issue/MR to have the linux-edge kernel enable CONFIG_EFI_HANDOVER_PROTOCOL for now 2023-03-04 02:27:32 WhyNotHugo: I see some PRs in the systemd repo that might resolve the problem in the future but they're not merged so far so I guess systemd-boot also has a problem if CONFIG_EFI_HANDOVER_PROTOCOL is not enabled 2023-03-04 02:28:32 so short-term get it enabled in linux-edge, medium term systemd-boot (and presumably stubby) will be modified to not use handover 2023-03-04 02:29:25 Looks like sd-boot actually dropped support for CONFIG_EFI_HANDOVER_PROTOCOL entirely. 2023-03-04 02:29:28 https://github.com/systemd/systemd/pull/20918 2023-03-04 02:31:50 ah, I was looking at https://github.com/systemd/systemd/pull/25126 which was closed, not merged 2023-03-04 02:34:54 The one I linked only suggets dropping handover, not sure if it has been dropped or not. 2023-03-04 02:35:24 anyway stubby does not currently appear to have those changes 2023-03-04 02:35:40 the one you liked to is marked MERGED 2023-03-04 02:37:23 I'll raise an issue on the stubby github 2023-03-04 02:37:41 but for now I still suggest getting the linux-edge config changed 2023-03-04 02:40:45 I can live with limine for the time being. I'd rather not enable a deprecated flag, since it'll be another ticking time bomb. 2023-03-04 02:41:24 well its an issue for anyone wanting to use gummiboot (e.g. for secure boot) 2023-03-04 02:53:55 WhyNotHugo: https://github.com/puzzleos/stubby/issues/29 2023-03-04 03:21:44 i mostly like limine because it's one pretty small easy to understand config file to write for what you want 2023-03-04 03:21:48 even if it's not that flexible 2023-03-04 03:22:00 apparently people use it for bootable images a bunch 2023-03-04 03:23:21 psykose: it certainly does seem easier to use to make "hybrid" BIOS & UEFI bootable images 2023-03-04 03:23:26 compared to Grub 2023-03-04 03:23:50 I've opened a Limine issue to clarify what their ext2/3/4 plans are 2023-03-04 03:26:23 someone's been looking at it to use for void's live isos, but their instructions seem to have some issues on some older computers 2023-03-04 03:26:54 their being limine upstream 2023-03-04 03:30:59 they're fixable, but of course that takes time and hardware 2023-03-04 03:31:12 limine is just quite new so hasn't been tested on every ancient platform with all the weird bugs 2023-03-04 03:46:31 there was someone here earlier where the ubuntu grub also wants handover still 2023-03-04 03:47:00 the alpine grub apparently doesn't have that patch 2023-03-04 03:51:20 dwfreed: I though the earlier conversation was around Riscv patches for Grub from Grub's master git repo 2023-03-04 03:51:53 dwfree: Grub boots fine with the linux-edge 6.2.x kernel where EFI Handover disabled 2023-03-04 03:52:04 at least on x86_64 2023-03-04 03:52:23 install grub from ubuntu, then try to boot alpine 2023-03-04 03:52:51 dwfreed: oh, that's a different conversation from 1 or 2 days ago. 2023-03-04 03:52:58 yeah, this was 6 days ago 2023-03-04 03:53:21 Ubuntu, from memory, like Debian, patch Grub a lot so I wouldn't pay much attention to that lol 2023-03-04 03:53:23 well, 5 and 6 hours 2023-03-04 03:53:29 they have to 2023-03-04 03:53:36 grub hasn't done shit in years for releases 2023-03-04 03:53:42 it's a huge problem 2023-03-04 03:54:06 debian recently had to apply a patch to their grub because it was missing handling for some ext4 features 2023-03-04 03:54:20 dwfreed: 2.06 was Nov 2021 (fromo memory), 2.12 (the next release) has been "any day" now for a few months 2023-03-04 03:54:44 over a year and a half for a release of a bootloader is a long fucking time 2023-03-04 03:55:18 dwfreed: yes I saw the metadata_csum_seed stuff is set by current version of mke2fs and Grub doesn't like it 2023-03-04 03:55:49 the patch has been committed to grub's git for a while, they just never made a release 2023-03-04 03:56:30 I'm not quite saying they should go to the vim model where every patch is a release, but there's got to be a better interval than they're on now 2023-03-04 03:56:53 dwfreed: well they brought out 2.06 with LUKS2 booting support..........that didn't work and Iit *might* just work now (patches were added in Jan) - I don't know as I tried to build Grub git master earlier today to verify and had problems building it 2023-03-04 03:57:18 sure, but if they released more often, fixes could be in a new release more often 2023-03-04 03:57:30 generally people test released things 2023-03-04 03:58:48 you mean people release things and wait for others to tests them and raise bug reports before testing and fixing? lol 2023-03-04 03:59:17 the grub devs can't test every possible user usecase 2023-03-04 03:59:22 it's just not feasible 2023-03-04 03:59:40 also people have weird hardware, and grub is a lot closer to hardware than most software 2023-03-04 04:00:10 yeah, but when a release adds a new "headline" feature and it........just doesn't work at all.... lol 2023-03-04 04:00:29 then you fix it and push out a .1 in a week or 2 2023-03-04 04:00:43 not wait a year and a half (and counting) until the next release 2023-03-04 04:01:09 or have patches submitted to the mailing list sitting there for 18+ months before deriviatives of them eventually get merged 2023-03-04 04:01:23 exactly 2023-03-04 04:01:42 even linux tends to have pretty quickly noticed bugs after every stable release 2023-03-04 04:02:45 the same mkfs.ext4 issue will likely affect syslinux as well 2023-03-04 04:03:50 and syslinux has even less development that Grub - it's been "dead" for years 2023-03-04 04:06:47 I mean, you can always avoid the issue by just using an ext2 fs for /boot 2023-03-04 04:07:18 if you happen to self-install all by youself and you know this 2023-03-04 04:07:29 whereas if you use setup-disk....... 2023-03-04 04:08:44 well actually you wouldn't hit this currently unless you're installing Edge 2023-03-04 04:09:05 as only Edge has the newest mkfs.ext4 2023-03-04 04:09:59 1.47.0 is where the change in behaviour was introduced 2023-03-04 04:10:04 of e2fsprogrs 2023-03-04 04:10:25 can't wait for the inevitable bug report 2023-03-04 04:11:04 'i used e2fsprogs 1.47 and my system doesn't boot' 2023-03-04 04:11:12 closely followed by e2fsprogs downgraded 2023-03-04 04:11:14 psykose: well for now it's only going to happen for Edge fresh installs as any "upgrades" from 3.17 to Edge will already have the ext4 fs created beforehand 2023-03-04 04:11:40 but it will be an issue to resolve before 3.18 is releases 2023-03-04 04:12:25 which patch in the ml even was it 2023-03-04 04:12:43 and/or merged 2023-03-04 04:12:47 it is a change introduced by the upstream e2fsprogs 1.47 release 2023-03-04 04:13:13 yes the fix for the change 2023-03-04 04:13:45 Debian/Ubuntu's Grub fix? dunno, never went looking 2023-03-04 04:16:09 it's this afaict https://salsa.debian.org/grub-team/grub/-/commit/a892e077d3139a577b6eda75661c3777e565a50a 2023-03-04 04:16:32 yeah 2023-03-04 04:16:52 there's a worse bug in 1.47, though 2023-03-04 04:17:13 1.47 defaults to making an fs that no previous version can fsck 2023-03-04 04:17:25 that's the one I've been talked about the whole time 2023-03-04 04:17:45 mkfs.ext4 now sets metadata_checksum_seed option 2023-03-04 04:17:51 which Grub doesn't like 2023-03-04 04:18:11 that's different than what I'm talking about now 2023-03-04 04:19:23 e2fsprogs (1.47.0-1) unstable; urgency=medium 2023-03-04 04:19:23 * Mke2fs now enables the orphan_file and metadata_csum_seed feature. 2023-03-04 04:19:44 metadata_csum_seed has existed in e2fsprogs for a while 2023-03-04 04:20:05 it existed byr was not set, by default, when making an fs 2023-03-04 04:20:09 previous versions of e2fsprogs could handle it; it was just never turned on until now 2023-03-04 04:20:16 not it is set by default 2023-03-04 04:20:24 and Grub can't handle a fs with it set 2023-03-04 04:21:00 that's what I've been saying, the problem is it is now being set 2023-03-04 04:21:01 orphan_file does not exist in previous versions of e2fsprogs *at all*, and e2fsck will not touch an fs that has features it does not understand 2023-03-04 04:21:12 I'm now talking about a *different* issue 2023-03-04 04:21:38 so we're talking about 2 different, but related, problems 2023-03-04 04:21:45 I wouldn't call them related 2023-03-04 04:22:08 well with both of them now being set by default they are causing problems 2023-03-04 04:24:24 so are you saying there is a problem with a ext4 fs that DOSN'T have orphan_file set? 2023-03-04 04:24:33 no 2023-03-04 04:24:54 if orphan_file *is* set, e2fsprogs *before* 1.47 will refuse to fsck it 2023-03-04 04:25:06 because e2fsck will not touch an fs it doesn't understand 2023-03-04 04:25:08 ok, so then it doesn't matter if a feature did or not not exist in a previous version, it is whether it is set or not 2023-03-04 04:25:23 1.47 sets it by default 2023-03-04 04:25:44 as you noted when you posted the debian changelog entry 2023-03-04 04:25:46 yes and it also sets metadata_csum_seed by default also, which is what I've been referring to 2023-03-04 04:26:33 but grub can be patched an updated 2023-03-04 04:26:43 i don't think "grub can or cannot boot xyz fs" is very relevant to "something something fsck older than not work" 2023-03-04 04:26:47 the latter i don't care about at all 2023-03-04 04:26:48 can't exactly update a livecd that's not writable 2023-03-04 04:27:10 psykose: most rescue livecds aren't going to have e2fsprogs 1.47 2023-03-04 04:27:28 well I would guess fsck would also have the same issue with metadata_csum_seed as well 2023-03-04 04:27:31 indeed, but that's a problem for someone else 2023-03-04 04:27:39 imagine trying to recover a dead system only to discover you can't even fsck it because fsck doesn't know what orphan_file is 2023-03-04 04:27:41 not being able to boot at all is a much bigger issue :p 2023-03-04 04:28:03 minimal: metadata_csum_seed has been known to e2fsprogs for a *long* time 2023-03-04 04:28:14 it just was never enabled by default 2023-03-04 04:28:33 dwfrred: I'm saying it may also not be possible to fsck when metadata_csum_seed is present, I don't know, I don't have the original article that brought the issue to my attention handle 2023-03-04 04:28:45 it generally is 2023-03-04 04:28:55 because as I said, e2fsprogs has known about it for a while 2023-03-04 04:30:09 and what about Syslinux? it's going to be harder to fix anything there 2023-03-04 04:30:57 you'd either have to patch syslinux yourself and carry that patch forever, or tell setup-disk to disable the feature on a separate /boot if syslinux is requested 2023-03-04 04:31:14 the latter is probably a lot easier to do in many ways 2023-03-04 04:32:37 I'd looked at patching Syslinux about 12 or soo months ago about another issue and gave up as I couldn't work out how to patch it for Alpine without overhauling the Alpine packaging (Alpine doesn't build most of Syslinux, it uses a pre-supplied binary, it only builds the update-extlinux tool 2023-03-04 07:36:58 Hello there. Anyone using Alpine Linux for QEMU? 2023-03-04 07:37:14 I do not know why tap backend device (-netdev tap) does not work on Alpine by default. 2023-03-04 07:37:26 Using '-netdev tap' throws an error: could not open /dev/net/tun: No such file or directory 2023-03-04 07:37:36 I fixed it using these commands: doas mkdir -p "/dev/net"; doas mknod "/dev/net/tun" c 10 200; doas chmod 600 "/dev/net/tun"; 2023-03-04 07:37:44 But I do not understand what these commands do, and why they are needed. 2023-03-04 07:37:50 And most importantly, I have to type these commands after a reboot, which is quite inconvenient. 2023-03-04 07:40:48 livy_: It should normally work 2023-03-04 07:41:45 livy_: does it work after a reboot if you add `tun` to /etc/modules? 2023-03-04 07:42:07 I start using QEMU after a fresh installation of Alpine, and encounter that error. 2023-03-04 07:42:18 On Ubuntu Server, '-netdev tap' works perfectly. 2023-03-04 07:42:43 I have not interfered with /etc/modules. 2023-03-04 07:43:20 did you manually fix it right now, or is it currently in the not working state? 2023-03-04 07:44:06 After a fresh installation of Alpine, QEMU threw that error when I tried to use '-netdev tap'. 2023-03-04 07:44:19 yes, I understand. I'm trying to help you to solve it 2023-03-04 07:44:21 I Googled around and fould these 3 commands. I executed them, and it worked. 2023-03-04 07:44:28 Until I reboot. 2023-03-04 07:44:32 Can you reboot now? 2023-03-04 07:44:46 Yes, but then the /dev/net directory will be gone. 2023-03-04 07:44:56 And I have to run the commands above again. 2023-03-04 07:44:56 Yes 2023-03-04 07:45:00 wait with that 2023-03-04 07:45:06 step 1: reboot 2023-03-04 07:45:12 step 2: modprobe tun 2023-03-04 07:45:17 step 3: try to start qemu 2023-03-04 07:45:28 Okay, let me try. 2023-03-04 07:55:29 @ikke It works after 'modprobe tun'. 2023-03-04 07:55:34 ok 2023-03-04 07:55:42 then append tun to /etc/modules 2023-03-04 07:55:42 Does it persist after a reboot? 2023-03-04 07:55:55 if you add it to /etc/modules 2023-03-04 07:55:57 yes 2023-03-04 07:56:19 Currently, my '/etc/modules' only consists of 2 lines: 2023-03-04 07:56:23 af_packet 2023-03-04 07:56:29 ipv6 2023-03-04 07:56:37 yes, add it at the bottom 2023-03-04 07:56:42 on a separate line 2023-03-04 07:56:59 It's a list of modules to load at boot 2023-03-04 07:57:10 so you don't have to manually `modprobe tun` 2023-03-04 07:57:47 Understood. Thanks very much. 2023-03-04 07:58:10 What about the command I used earlier? 2023-03-04 07:58:11 doas mknod "/dev/net/tun" c 10 200; 2023-03-04 07:58:22 Does it load the 'tun' kernel module too? 2023-03-04 07:58:33 no 2023-03-04 07:58:43 it manually creates the block device node 2023-03-04 07:59:19 (or maybe it does trigger it to be loaded, I don't know) 2023-03-04 08:00:31 Alpine is very similar to OpenWrt. Not everything is loaded by default. 2023-03-04 08:00:58 It is better, because on OpenWrt I have to download the kernel modules first. :) 2023-03-04 08:01:13 yeah, openwrt separated all modules into packages 2023-03-04 08:01:46 openwrt is usually run on even more minimalistic (and very targeted) systems 2023-03-04 08:01:52 so it makes more sense there 2023-03-04 08:03:12 I am trying to switch from Ubuntu Server to Alpine, because it has newer QEMU package. 2023-03-04 08:03:34 I am not sure if it is a good idea for a production environment though. 2023-03-04 08:04:45 that's a new one 2023-03-04 08:05:28 Alpine updates every 6 months, while Ubuntu LTS updates every 2 years. 2023-03-04 08:07:22 I mean, Ubuntu non-LTS updates every 6 months too 2023-03-04 08:19:48 I've installed a new HDD into my HP ProLiant server. It, of course, supports hotplug. 2023-03-04 08:20:15 But there is no device file created in /dev/sd. 2023-03-04 08:20:33 There are still sda, sdb, and sdc. I am expecing a /dev/sdd to be there. 2023-03-04 08:21:46 How to make this HDD to be detected and be available at '/dev/sdd'? 2023-03-04 08:22:14 Please help me with some sort of rescan or reload. 2023-03-04 08:22:37 is it using scsi / smartaray or something like that? 2023-03-04 08:22:57 Can you reboot? 2023-03-04 08:23:11 It can be done without rebooting 2023-03-04 08:23:18 No, I am running plain AHCI mode, and mdraid 5 over 4 drives. 2023-03-04 08:23:21 echo "- - -" >> /sys/class/scsi_host/host_$i/scan 2023-03-04 08:23:23 hmm 2023-03-04 08:23:29 Rebooting defeats thee purpose of RAID. 2023-03-04 08:24:30 0 8 4 0 active sync /dev/sda4 2023-03-04 08:24:31 1 8 16 1 active sync /dev/sdb 2023-03-04 08:24:36 2 8 32 2 active sync /dev/sdc 2023-03-04 08:24:41 - 0 0 3 removed 2023-03-04 08:25:17 @ikke Lemme try your command: echo "- - -" >> /sys/class/scsi_host/host_$i/scan 2023-03-04 08:25:27 Um, what is $i? 2023-03-04 08:25:34 You have to check what host 2023-03-04 08:25:43 ls /sys/class/scsi_host/ 2023-03-04 08:26:11 host0 host1 host2 host3 host4 host5 host6 2023-03-04 08:27:26 All directories seem to have same structure and contents. 2023-03-04 08:29:32 How do I know which one is correct? 2023-03-04 08:30:01 I do not have any idea what to do with things inside /sys or /proc. 2023-03-04 08:42:26 can just scan them all 2023-03-04 08:42:44 a SCSI scan is really not that expensive 2023-03-04 08:43:04 double check there isn't an error in dmesg from inserting the drive, though 2023-03-04 09:20:38 echo "- - -" 1>>"/sys/class/scsi_host/host_${0}/scan"; 2023-03-04 09:21:48 Looks like I have to use 'doas tee -a' ecause I am not login as root. 2023-03-04 09:26:56 echo "- - -" | doas tee -a "/sys/class/scsi_host/host6/scan" 1>"/dev/null" 2023-03-04 09:27:12 I've tried from 0 to 6, still there is no "/dev/sdd" showing up. 2023-03-04 09:28:18 check dmesg for any output since you inserted the drive 2023-03-04 09:29:36 There is nothing unusual in the result of dmesg. 2023-03-04 09:30:17 Lemme check the manual of this server first. But I do not think HP disables SATA hotplug when the RAID controller is set to AHCI mode. 2023-03-04 09:30:52 It is a pretty basic feature found on all consumer boards, not to mention this is a server. 2023-03-04 09:33:23 Oh sh**. Looks like it is because of HP. 2023-03-04 09:33:26 https://community.hpe.com/t5/proliant-servers-ml-dl-sl/dl360-g9-b140i-ahci-mode-cannot-hot-plug-hard-drives/td-p/7075166 2023-03-04 09:33:53 "B140i in AHCI mode won't support functionality 2023-03-04 09:34:07 -- "I am an HPE employee." 2023-03-04 09:41:01 know what they say 2023-03-04 09:41:09 "you definitely get fired if you buy HP" 2023-03-04 09:44:17 And yes, my server has exactly the "HPE Dynamic Smart Array B140i Controller". 2023-03-04 09:45:00 Seriously. Even a 10 year old H61 consumer board has that feature. 2023-03-04 09:45:16 at least you figured it out :p 2023-03-04 09:46:12 Yeah, I have a lot of experiences with hardware, both consumer and enterprise, long before I work with software. 2023-03-04 09:46:20 So it helps a little in such situations. 2023-03-04 09:47:02 Thanks a lot @ikke, @dwfreed, and @psykose for your helps. 2023-03-04 10:17:03 I am now rebuilding the md-raid5 array, which previously had a missing disk. 2023-03-04 10:17:30 The whole system is very unresponsive, even the command line is slow to return. 2023-03-04 10:17:40 Is it normal? 2023-03-04 10:18:26 I guess mdraid is constantly reading 3 drives to rebuild the newly inserted drive. So basically all 4 drives are busy. 2023-03-04 10:21:59 While I am running several Virtual Machines on it. 2023-03-04 10:23:05 All are 250GB hard drives which I salvaged from 11-year-old PC in the warehouse, lol. 2023-03-04 10:23:08 [=========>...........] recovery = 46.6% (113827176/244066304) finish=36.9min speed=58688K/sec 2023-03-04 10:25:43 Speed is abysmal. But should be enough for studying and having fun running some low-load servers inside QEMU. 2023-03-04 10:32:07 Heh 2023-03-04 10:32:17 sounds about right for the drives 2023-03-04 10:33:38 Speaking of QEMU, does anyone know of a descent web gui for it? 2023-03-04 10:34:14 I see a lot of projects, but i wonder if anyone has any experience with them and could recommend one? 2023-03-04 10:38:00 virt-manager 2023-03-04 10:38:23 Yes, i use that :) but its not a web gui? 2023-03-04 10:38:38 oh, missed that, sorry 2023-03-04 10:39:23 No worries :) i am currently using virt manager on my desktop :) but i have a promox server i’d like to replace with something Alpine :) 2023-03-04 10:44:38 Does oVirt run on Alpine? 2023-03-04 10:45:30 doubt 2023-03-04 16:27:48 when you copy a file to /tmp is it then in RAM? is it sutable for lots of re-writing? 2023-03-04 16:28:49 Depends if tmp is mounted as tmpfs 2023-03-04 16:29:40 ikke: tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime) 2023-03-04 16:29:48 So yes 2023-03-04 16:29:58 okok :] 2023-03-04 16:50:10 how do you copy file A's filepermissions (specially if its executable) to file B? 2023-03-04 16:51:46 and these are different files (content)? 2023-03-04 16:51:54 frag: chmod --reference=A_FILE B_FILE 2023-03-04 16:53:18 aron: that won't copy owner/group though 2023-03-04 16:54:23 aron: preferably with posix/busybox tools :] 2023-03-04 16:54:54 ikke: actually its _almost_ like cat A > /tmp/A && cat /tmp/A > A 2023-03-04 16:55:37 that last operation sounds like a noop 2023-03-04 16:56:02 noop? 2023-03-04 16:56:19 No Op 2023-03-04 16:56:27 ie, effectively doing nothing 2023-03-04 16:59:34 yes thats why i said almost :] 2023-03-04 17:00:00 frag: similar to using cp 2023-03-04 17:04:10 ok so the real use case is pipe start of file, insert line, pipe end of file (to insert a line in the file) 2023-03-04 17:04:31 minimal: chown has similar --reference option ;) 2023-03-04 17:04:38 frag: sed -i can also insert lines 2023-03-04 17:06:12 ikke: yes i used that before, but some lines are hard to insert with sed :] 2023-03-04 17:06:43 In what way? 2023-03-04 17:07:56 frag: then you can do this: busybox chmod $(busybox stat -c %a A_FILE) B_FILE 2023-03-04 17:07:56 i guess escaping and stuff, dont remember specifics, line is in a variable too.. 2023-03-04 17:08:16 pure busybox + posix shell solution 2023-03-04 17:08:39 aron: oh cool! 2023-03-04 17:09:04 it has other formatting options as well, check busybox stat --help 2023-03-04 17:09:18 to "copy" uid/gid 2023-03-04 17:10:09 (chown) 2023-03-04 17:10:27 frag: sed can use many characters as a separator 2023-03-04 17:10:31 aron: cool col :) 2023-03-04 17:10:46 so you could choose something that's not in the input to reduce the amount of escaping 2023-03-04 17:11:05 also heard sed -i actually does cat A > TMP && cat TMP > A ... could be wrong tho.. 2023-03-04 17:12:16 yes 2023-03-04 17:12:19 it does something like that 2023-03-04 17:12:24 but it preserves permissions afaik 2023-03-04 17:12:30 ikke: yeah input is also very dynamic and unpredictable :] .. but yeah i used "37 US unit separator" or similar 2023-03-04 17:13:19 i think eg if the line is '\n' it interprets as actual newline 2023-03-04 17:13:27 (it does result into symlinks being turned into the file they point to (which is a trick that can be useful) 2023-03-04 17:14:37 ikke: yeah had some problem with that before knowing about this problem :| 2023-03-04 17:15:00 one of the reasons i dont trust symlinks so much anymore :p 2023-03-04 19:12:01 frag: you could just use ed 2023-03-04 19:12:58 as long as the line to be inserted is never just .\n 2023-03-04 22:12:38 hey folks, what packages contains libc++? 2023-03-04 22:14:26 libstdc++ ? 2023-03-04 22:14:35 apk info -W 2023-03-04 22:14:40 no libc++ 2023-03-04 22:14:51 the one from llvm 2023-03-04 22:15:37 I have the libs installed, but not that file. 2023-03-04 22:16:36 it seems to be missing 2023-03-04 22:16:51 it's in unmaintained 2023-03-04 22:17:04 it's literally libc++ 2023-03-04 22:17:19 ahhhh unmaintained 2023-03-04 22:17:21 thank you 2023-03-04 22:17:39 it hasn't been touched since it moved there 4.5 years ago 2023-03-04 22:19:03 cheers 2023-03-04 23:32:51 howdy. I'm installing numpy (a python package) via apk and it installs ok, but then when I do a pip freeze to see it, python doesn't see it.. the files are in /usr/lib/python3.10/site-packages though. 2023-03-04 23:34:06 why would it matter if pip can see system packages or not 2023-03-04 23:34:44 it also does see it for me 2023-03-04 23:35:46 fair question, possibly a A/B question, however I'm pip install other packages that depend on numpy and it's trying to pull it from pipy 2023-03-04 23:36:40 sounds normal to me 2023-03-04 23:36:55 FYI installing numpy on alpine is a major hassle, so the pre-generated binary is a god send 2023-03-04 23:37:49 that is probably an issue of the dependency constraints in whatever you are installing 2023-03-04 23:38:03 just doing apk add py3-numpy; pip install numpy; tells you it's already installed 2023-03-04 23:38:49 yeah it doesn't. 2023-03-04 23:39:35 Hello there 2023-03-04 23:39:43 just tried it psykose 2023-03-04 23:39:49 Howdy dani-g5x 2023-03-04 23:39:56 I'm Gentoo musl llvm user :D 2023-03-04 23:40:07 using py3-pip for pip? 2023-03-04 23:40:35 I'm using the official alpine python image 2023-03-04 23:41:18 so yes py3-pip-22.1.1-r0 x86_64 {py3-pip} (MIT) 2023-03-04 23:45:14 feel free to post a log that says otherwise 2023-03-04 23:45:27 is this the expected behavior? 2023-03-04 23:45:35 https://img.ayaya.dev/7gJMygh4zhd0 2023-03-04 23:46:32 https://img.ayaya.dev/gIpn9KslSxFn 2023-03-04 23:46:56 doing a fresh build just for you 2023-03-04 23:46:57 py3-pip-22.1.1-r0 is from alpine 3.16 2023-03-04 23:47:37 works the same in 3.16 2023-03-04 23:49:23 https://pastebin.com/SyT8EhCL 2023-03-04 23:50:50 should I not be running 3.16, is that why you brought it up umk3 ? 2023-03-04 23:51:08 i just pointed that out 2023-03-04 23:51:22 ok 2023-03-04 23:52:06 so... 2023-03-04 23:54:28 any idea what I'm doing wrong psykose ? 2023-03-04 23:55:06 i have no idea what docker-compose run devbox is 2023-03-04 23:55:29 it runs the container from my dockerfile 2023-03-04 23:56:37 https://pastebin.com/BirFLm0a 2023-03-04 23:57:20 it docker-compose run devbox drops me into a bash shell in that container 2023-03-04 23:57:37 those images don't come from us and come with a different python and pip preinstalled not even from our repositories 2023-03-04 23:57:46 https://github.com/docker-library/python/blob/master/3.11/alpine3.16/Dockerfile 2023-03-04 23:57:50 ask the authors not us : ) 2023-03-04 23:58:46 Sorry to have troubled you 2023-03-04 23:59:10 wasn't trouble 2023-03-04 23:59:16 just nothing fixable or alpine related 2023-03-05 00:37:31 is edge anyhow more stable than arch? 2023-03-05 00:39:20 also anyone else had issues with some rust software dependent on the libc crate segfaulting (Bevy, Termusic, Rusty Krab Manager)? I've seen some open issues on gh, but not specifically about segfaulting iirc 2023-03-05 01:00:03 if you build things using rustup toolchains without RUSTFLAGS="-C target-feature=-crt-static" sure 2023-03-05 01:00:04 otherwise no 2023-03-05 01:14:44 did anyone successfully connect to alpine linux xfce4 desktop via Microsoft RDP client? I followed all the instructions I could find on Alpine Linux website without any success. Simply I couldnot make it work. I can ping my machine without any problem. BTW I am using alpinux on WSL 2. I have not issues connectiing Fedora or Ubuntu WSL 2 instances via RDP. 2023-03-05 01:26:55 Hi, I want to run portainer on rootless podman and need to create socket. On ubuntu I use systemctl --user enable --now podman.socket command. How to do that in alpine? Thanks 2023-03-05 02:01:24 hi. If I upgrade with apk, will it restart affected services on open-rc? 2023-03-05 02:03:53 no 2023-03-05 02:07:41 ok, so I probably need to use something like apk-autoupdate for that, but it's unmaintained. 2023-03-05 02:09:03 is there a better option? also, debians unattended-upgrades can auto update only security upgrades. Is there something like that on the apk repo, or can I just upgrade without changing my branch and hoping for the best? 2023-03-05 02:09:20 The idea is to get security patches automatically 2023-03-05 02:57:05 welcome to my service,want introduce to you my services and sell fresh cvv (visa,master,amex,dis,bin,dob,fullz..) all country, Dumps track 1&2, Account Paypal, Bank Login, do WU transfer and Gift Card. 2023-03-05 02:57:05 I sell cvv Fresh - Fast and Good price.hit me up on telegram https://t.me/GeeTrust and let's work for profit , always remember that am here working for profit 2023-03-05 07:29:41 hmm 5 days ago and til now my rpi4b boots ok, but takes a long time to start X, VERY long time to start qutebrowser and graphical stuff, but even terminal stuff can take too long, BUT after a while things seem to get snappier, eg if i quit the qutebrowser and restart it, its normal speed ............ wtf? 2023-03-05 07:31:01 cant think of any changes i did, but i guess i must have done something :p 2023-03-05 07:32:02 classic 2023-03-05 07:48:11 frag: can you reproduce the issue after rebooting? 2023-03-05 07:48:54 there was also a new rpi kernel like yesterday, but i doubt there's anything special there 2023-03-05 07:49:24 uniqNuuid: no .. but i guess the most likely problem is some big process is run at startup(?) ... maybe try running 'top' ASAP after reboot (dont remember if i tried it already or not) 2023-03-05 07:49:40 psykose: oh cooll 2023-03-05 07:50:00 could be the sd card dying 2023-03-05 07:50:59 disk i/o would be why closing and reopening is fast 2023-03-05 07:51:02 cached in ram 2023-03-05 07:51:11 can one use 'echo' in .xinitrc? 2023-03-05 07:51:15 sure 2023-03-05 07:51:17 it's just a shell script 2023-03-05 07:51:37 (also if you actually use an sd card go buy something else haha) 2023-03-05 07:51:40 could be the sd yeah, i mount it in xinitrc (use an usb for the main sys) 2023-03-05 07:51:47 makes sense 2023-03-05 07:51:56 mine is /boot is the sd and everything else is usb 2023-03-05 07:52:23 psykose: why? 2023-03-05 07:52:32 why i laid it out like that? 2023-03-05 07:52:42 sd cards are quite bad at everything and prone to failure so it keeps the writes low 2023-03-05 07:52:53 and the whole booting/running is fast because the whole disk is fast usb 3.1 2023-03-05 07:53:06 it's like 300mb/s sequential or so 2023-03-05 07:53:21 does RPi use usb3.1? 2023-03-05 07:53:24 i don't do any graphical stuff on my rpi but it's a lot better than the sluggish sd pi's i've used before 2023-03-05 07:53:32 ah, it's 3.0 2023-03-05 07:53:34 good point 2023-03-05 07:53:36 still fast tho 2023-03-05 07:53:44 certainly better than 5mb/s sd's 2023-03-05 07:54:29 (it doesn't take anything special to do that, you can just UUID= rootfs in the config.txt kernel params and it works fine) 2023-03-05 07:54:36 then fstab mount the sd back to /boot or whatever 2023-03-05 07:54:58 yeah, if you want the best I/O, use a mSATA to usb case, then put a mSATA ssd in it 2023-03-05 07:55:35 psykose: why use sd at all? /boot is like 100MB? 2023-03-05 07:55:56 mine is 36MB 2023-03-05 07:56:05 more layers to do usb -> something else -> ssd is probably not any better over 3.0 2023-03-05 07:56:07 i guess rpi needs to boot from sd 2023-03-05 07:56:12 rpi can boot off usb 2023-03-05 07:56:22 but it's Complicated and there was some other inconvenience issues 2023-03-05 07:56:28 so i just did it the easy way 2023-03-05 07:56:34 ah yes 2023-03-05 07:56:35 also keeps them separate 2023-03-05 07:56:59 ok, rpi is popular but it sucks at everything 2023-03-05 07:57:11 it's better than most sbcs people use haha 2023-03-05 07:57:22 all of them have their ups and downs 2023-03-05 07:58:45 i never had rpis, but i got amlogic SOC. 2023-03-05 07:59:45 which one 2023-03-05 07:59:52 phicomm n1 2023-03-05 08:00:04 ah yeah i remember 2023-03-05 08:00:39 i hear better things of amlogic socs but in the end it's all model specific 2023-03-05 08:00:45 dtbs in /boot is already 36M... so my /boot is like 52M total. 2023-03-05 08:02:37 mine is 43 2023-03-05 08:02:49 i remember doing some more fun stuff with my rpi with the rpi-uefi thing 2023-03-05 08:02:53 and just booting a vanilla kernel 2023-03-05 08:02:59 but some stuff doesn't work with that sadly 2023-03-05 08:03:40 i am using linux-edge, which is a vanlilla, it works pretty good with amlogic soc 2023-03-05 08:04:33 with these modules : https://0x0.st/HzgY.txt 2023-03-05 08:06:25 although i blacklisted wifi bluetooth drm etc. with this kernel arg: module_blacklist=mc,rfkill,soundcore,lima,meson_ir,drm,rc_core,dw_hdmi_i2s_audio,industrialio 2023-03-05 08:07:30 pure headless, free -m say 66M in use 2023-03-05 08:09:50 mine is 250 with a bunch of stuff running 2023-03-05 08:09:55 wasting 8gb of ram :D 2023-03-05 08:09:55 it has served 4 years, and is goning to serve me for additional 10 years at least ... i think 2023-03-05 12:54:41 Any news about migration to s6 from openrc? 2023-03-05 12:54:41 I use superd for per user services which is cool but I guess s6 may handle it even better. 2023-03-05 13:02:13 No news. 2023-03-05 13:03:53 Got it 2023-03-05 13:03:53 Maybe any migration roadmap exists? Or something like that 2023-03-05 13:06:51 Is that an actual project? 2023-03-05 13:08:22 yeah 2023-03-05 13:08:37 boombim[m]: no such. For now, one needs to wait until s6-rc v1 and s6-frontend are done 2023-03-05 13:09:12 https://skarnet.com/projects/service-manager.html 2023-03-05 13:09:36 lopid, I meant a project to use s6 on Alpine 2023-03-05 13:10:12 alpine's mentioned there. the idea is to move to it eventually (last i heard) 2023-03-05 13:11:55 quinq: generally speaking, it is possible to use s6 on Alpine right now, but it's up to you to write init/run scripts. s6, s6-rc and s6-linux-init are in the repositories. 2023-03-05 13:12:00 lopid, who's idea? :) 2023-03-05 13:12:47 My server runs Alpine with s6 as pid 1 right now. 2023-03-05 13:13:10 I'm just trying to understand if there's an actual will from Alpine to use s6 as a main init system 2023-03-05 13:13:36 As boombim[m] is talking about a roadmap 2023-03-05 13:14:07 the big guys, ncopa et al. i don't think it's set it stone 2023-03-05 13:15:06 What about them? 2023-03-05 13:15:11 I think it's goes this way: Alpine maintainers are unhappy with OpenRC so there's a desire to replace init system. s6 and s6-rc v1 seem to be plausible option 2023-03-05 13:16:38 But s6-rc v1 isn't going to be released anytime soon, so it's too early to make any roadmaps for this matter anyway. 2023-03-05 13:17:44 Also see this: https://ariadne.space/2021/03/25/lets-build-a-new-service-manager-for-alpine/ 2023-03-05 13:18:01 Also, doesn't it kind of suffer some of the same shortcomings as systemd? 2023-03-05 13:18:12 Like not modular, trying to do all layers by itself 2023-03-05 13:18:33 TBH I have the same concern 2023-03-05 13:18:42 what 2023-03-05 13:18:55 what 2023-03-05 13:18:59 what 2023-03-05 13:19:37 what 2023-03-05 13:19:42 But it's not possible to draw any conclusions for now. 2023-03-05 13:20:19 it's not possible to draw any conclusions. 2023-03-05 13:20:37 it's not possible to draw 2023-03-05 13:20:48 It's not 2023-03-05 13:21:25 it 2023-03-05 13:27:40 "quinq: generally speaking, it is..." <- Do you use raw shell scripts? 2023-03-05 13:28:01 This is from link which you've shared: 2023-03-05 13:28:08 Service configuration files are scripts, no syntactic sugar is provided to the user. 2023-03-05 13:28:46 So no plans to implement declarative files like in systemd or openRC? 2023-03-05 13:28:47 You can use shell to launch daemons under s6 supervision. But there's execline as well 2023-03-05 13:29:20 Right now, there's no declarative service files. Refer to s6 and s6-rc documentation on details 2023-03-05 13:30:14 Hi, im using alpine 3.17 with the stock kernel. Having trouble with apparmor - when i follow the wiki instructions (pass lsm as boot option), it sticks in the /boot/extlinux.conf BUT both cat /sys/kernel/security/lsm does not return apparmor AND aa-enabled returns "disabled at boot"; any ideas? thanks all 2023-03-05 13:31:20 Ermine: Unfortunately, it is still not suitable as a flexible, user-friendly service manager that could be used in any distribution; for that, those two red squares on the bottom right need to turn green. And that represents a large amount of work. 2023-03-05 13:31:41 Looks like it could be changed 2023-03-05 13:31:45 a LARGE amount of work, i would say 2023-03-05 13:32:38 So, be patient 2023-03-05 13:40:08 Is it the type of thing where a Community funding drive so that skarnet can focus on it would help?  2023-03-05 13:40:42 skarnet is already being paid to do this. 2023-03-05 13:42:52 Ah, okay  2023-03-05 13:44:25 i think s6 is in active use on artix or something 2023-03-05 13:45:38 Is there a guide or something explaining declarative vs non-declarative and why one would want one or the other? 2023-03-05 13:47:44 Look at systemd unit file and at some init script 2023-03-06 02:04:47 ping 2023-03-06 02:31:09 connect: Network is unreachable 2023-03-06 02:50:09 Ermine: paid by who? 2023-03-06 10:51:03 I went into hibernate but then "resume=" was not on the command line (failure to update /etc/grun/defaults). 2023-03-06 10:51:32 now apk says, ERROR: Failed to open apk database: BAD archive 2023-03-06 10:57:46 need sleep, will hit tomorrow 2023-03-06 11:54:04 Does someone know where is the sourcecode for https://pkgs.alpinelinux.org/packages? 2023-03-06 11:54:32 I tried to look at https://gitlab.alpinelinux.org/alpine but couldn't find which project exactly that was. 2023-03-06 11:57:33 aports-turbo I think 2023-03-06 12:06:09 That is it thanks :) 2023-03-06 12:07:51 and postmarketos has another implementation called apkbrowser 2023-03-06 12:13:39 Oh, it says it is python version of the aports-turbo. I'll check those. Thanks for the info. 2023-03-06 12:39:57 Oh, why did they re-implement it? I always thought it was the same thing. 2023-03-06 13:17:14 the lua version isn't exactly very good 2023-03-06 13:17:40 there are a lot of, shall we say, concurrency problems if too many people try and use the website :p 2023-03-06 13:17:54 the sqlite it manages for all the repositories is massive 2023-03-06 13:18:03 it's a lot of work for future me to look at 2023-03-06 13:18:26 no idea if the python version is any better or not, but pmos has 1/10000th the size of packages to manage (if that) so anything would work there 2023-03-06 13:50:18 I'm using `rustup` to pull Rust nightlies from upstream, but these seem to generate code that crashes on Alpine. 2023-03-06 13:50:25 Is rustup really usable...? 2023-03-06 13:51:17 E.g.: https://github.com/rust-lang/rustup/issues/3113 2023-03-06 14:27:53 RUSTFLAGS="-Ctarget-feature=-crt-static" cargo build 2023-03-06 15:02:04 "Is rustup really usable...?" <- I have had the same issue with rust for quite a while now, are you using rust with alpine in docker 2023-03-06 15:02:25 If so, I'd have an easier suggestion that just works fine 2023-03-06 15:12:11 git config --global credential.helper libsecret 2023-03-06 15:12:21 Is this right? 2023-03-06 15:25:25 if that's what you wanted to configure, seems so 2023-03-06 15:38:22 secret-tool said: The name org.freedesktop.secrets was not provided by any .service files 2023-03-06 15:38:59 but org.freedesktop.secrets.service is a part of gnome 2023-03-06 15:40:13 no 2023-03-06 15:40:26 it's provided by a few things 2023-03-06 15:40:44 huh? Gnome-keyring afaik provides this 2023-03-06 15:41:17 that's one of them 2023-03-06 15:46:46 https://pkgs.alpinelinux.org/contents?file=org.freedesktop.secrets.service&path=&name=&branch=edge&arch=x86_64 2023-03-06 15:47:36 only gnome 2023-03-06 15:47:38 those are only used for autolaunching 2023-03-06 15:48:22 holding the dbus name doesn't imply you come with any .service file 2023-03-06 15:48:35 in any case none of that is relevant 2023-03-06 15:48:46 yes, you need to run something that provides org.freedesktop.secrets.service to use libsecret 2023-03-06 15:48:56 gnome-keyring is one thing, you can run it if you want 2023-03-06 15:49:33 org.freedesktop.secrets* 2023-03-06 16:13:04 [credential] 2023-03-06 16:13:06 helper = kwallet 2023-03-06 16:13:20 git support this? 2023-03-06 16:14:07 why don't you ask git and find out 2023-03-06 16:14:15 Or is chatgpt talking nonsense? 2023-03-06 16:14:18 (pretty sure kwallet is also libsecret) 2023-03-06 16:14:31 lmfao 2023-03-06 16:15:16 This is the answer I got when I asked chatgpt. 2023-03-06 16:16:12 But I didn't find it in the git document. 2023-03-06 16:21:10 why are you asking a fancy autocomplete actual technical questions 2023-03-06 16:21:26 All ChatGPT and all other LLMs do is regurgitate a string of syntactically correct garbage, each component of which has the highest statistical likelihood of being seen near in their training data. It doesn't understand anything, and mostly will serve up correct sounding garbage with the utmost confidence.  2023-03-06 16:22:02 * All ChatGPT and all other LLMs do is regurgitate a string of syntactically correct garbage, each component of which has the highest statistical likelihood of being seen near one another in their training data. It doesn't understand anything, and mostly will serve up correct sounding garbage with the utmost confidence. 2023-03-06 16:22:02 It will do nothing but waste your time.  2023-03-06 16:22:02   2023-03-06 16:22:13 TIL i'm an LLM 2023-03-06 16:22:28 Me too, most days, TBQH  2023-03-06 16:24:22 Indiscriminately scraping the entire internet, which we know is mostly full of bullshit, for training data means the output of the model will be mostly bullshit. There is no magic here just math and bad business.  2023-03-06 16:25:17 Saijin_Naib: did you see the article someone wrote about ChatGPT telling people he had died several years earlier amnd when he asked ChatGPT for proof it faked up plausible (but actually non-existent) URLs for some media sites as background? 2023-03-06 16:25:34 Train an LLM on data curated by subject experts and limit it? Hoo, you have something amazing.  2023-03-06 16:26:28 Does somebody know how to fix these error messages when using `abuild-apk`? I can run `apk` as root, but I don't think I want to invoke `abuild` as root (In case it matters, I'm using chroot and qemu)... (full message at ) 2023-03-06 16:26:41 LLM is just a techbro wet dream to monetize Librarians, who are no joke some of the coolest people ever.  2023-03-06 16:26:47 Saijin_Naib: https://www.theregister.com/2023/03/02/chatgpt_considered_harmful/ 2023-03-06 16:27:14 minimal: For my health, I'm trying to avoid reading about them, but I can't it seems 😑 2023-03-06 16:28:47 Saijin_Naib: this was not so much about the scraping it does but rather it inventing "facts" *and* trying to provide non-existent evidence of those "facts" 2023-03-06 16:33:36 minimal: Yeah, the outputs can be quite dangerous without stringent guidelines and restrictions placed upon the model.  2023-03-06 16:33:37   2023-03-06 16:33:37 Combine that with the human tendency to seek similar intelligence in other things and to anthropomorphize , and people give this shit trust and credibility far too easily.  2023-03-06 16:33:40 And it all sounds plausible! It's so fucked  2023-03-06 16:33:47 > It doesn't understand anything, and mostly will serve up correct sounding garbage with the utmost confidence 2023-03-06 16:33:50 Human cognition honeypot.  2023-03-06 16:33:51 like reddit 2023-03-06 16:35:31 Indeed, one of the many sources scraped. 2023-03-06 16:35:31   2023-03-06 16:35:31 Garbage in, garbage out 🤷 2023-03-06 16:36:05 Anyway, I'm way OT. My point being, get help from helpful tools, don't let this shit waste your time, please.  2023-03-06 16:36:11 MAIGA? Make AI Great Again? ;-) 2023-03-06 16:37:41 funny the link is theregister as many moons ago they had a problem with a ai comment bot confusing the shit out of the users 2023-03-06 16:37:51 amanfromars 2023-03-06 16:38:14 people would argue with it, a lot 2023-03-06 16:39:01 https://forums.theregister.com/post/search/?q=amanfrommars 2023-03-06 16:43:05 userdocs: yupe, "it" is still a regular lol 2023-03-06 16:44:16 i know there were people imitating it, but the very original one was quite distinct. 2023-03-06 16:44:44 but considering it was circa 2009, it caused quite a drama 2023-03-06 16:45:36 userdocs: it's still the same "thing" that posts AFAIK, not a imitator 2023-03-06 16:47:20 i thought it originally got banned, then amfm1 was like a parody account of the experience 2023-03-06 16:47:54 people got into some pretty long winded arguments with it and they took months to realise what was going on. 2023-03-06 16:48:40 not sure about the current events there. 2023-03-06 16:50:19 `apk info`: ERROR: Unable to read database state: BAD archive ERROR: Failed to open apk database: BAD archive 2023-03-06 16:50:32 how do I fix this? 2023-03-06 16:50:40 Did you have a stern word with that archive? 2023-03-06 16:50:50 should I spank it? 2023-03-06 16:51:06 never seen that in my life 2023-03-06 16:51:10 withhold archive treats? 2023-03-06 16:51:14 i guess you actually corrupted the database 2023-03-06 16:51:27 Yeah, sounds like it's corrupted indeed 2023-03-06 16:51:40 so.. either some accident or a breaking disk, etc 2023-03-06 16:51:55 unless this is reproducible under some init conditions or whatnot 2023-03-06 16:52:05 And I did not have strace installed so I can't see how it is breaking 2023-03-06 16:52:17 strace would probably not help you here 2023-03-06 16:52:30 in any case, hmm 2023-03-06 16:52:40 don't remember how to reinit the database 2023-03-06 16:52:58 this was a hibernate that did not resume, I updated apk, then it did resume on next hibernate 2023-03-06 16:56:19 also, smartd was not installed. it passed a long test a few days before installing alpine. 2023-03-06 17:09:52 is it only me, or every single `apk` command takes 130 seconds?! 2023-03-06 17:11:07 `apk update`? 130 seconds. `apk add <5 things>`? 130 seconds. `apk add <10 things>`? 130 seconds. 2023-03-06 17:11:28 At least it's constant 2023-03-06 17:11:36 someone at #docker told me it's probably a DNS problem as the typical DNS timeout is 120 seconds 2023-03-06 17:11:40 I have no idea what's going on 2023-03-06 17:11:55 is it just me?! 2023-03-06 17:12:07 LordKalma: or failed ipv6 connections. 2023-03-06 17:12:18 More likely yeah 2023-03-06 17:12:30 hum.... I don't remember if I enabled ipv6 on this docker deamon 2023-03-06 17:12:31 LordKalma, that's easy to test, try connecting to something with and without name resolution 2023-03-06 17:12:46 And if it has an inet6 route or not 2023-03-06 17:14:06 okay, give me a sec to reload docker, I now disabled ipv6, and this IRC bouncer is on docker 2023-03-06 17:14:47 ANNNND IT'S FIXED 2023-03-06 17:15:43 the problem really was having ipv6 enabled in my docker instance 2023-03-06 17:15:58 why does this happen, for curiosity? 2023-03-06 17:16:26 because the ipv4-to-6 upgrade path is horribly broken 2023-03-06 17:18:22 my VPS provider offers me a /64 slice of IPv6 2023-03-06 17:18:51 https://docs.docker.com/config/daemon/ipv6/ I went here and just pasted my slice of ipv6 2023-03-06 17:20:01 I thought it was that simple :( 2023-03-06 17:22:38 you also have to make sure the firewall stuff and whatever permits it 2023-03-06 17:25:07 I'll check the firewall rules when I can, but I usually take care to duplicate the rules between ipv4 and ipv6 2023-03-06 17:25:09 but maybe I didn't 2023-03-06 17:25:18 thanks for the pointers 2023-03-06 17:25:22 this was driving me insane 2023-03-06 17:25:32 15 minutes to build a 3 seconds docker image 2023-03-06 17:47:43 aside from /lib/apk/db/installed and /var/cache/apk/APKINDEX.*, what other dbs does apk maintain 2023-03-06 17:47:49 brb coffee 2023-03-06 18:01:27 just the first folder 2023-03-06 18:39:57 do you think my samsung fit usb dongle could have been worn out in 5-6months using it as / ? 2023-03-06 18:41:40 frag: you mean a *Sandisk* Fit USB flash dongle? 2023-03-06 18:42:55 minimal: well im curious about that one too, but i mean https://www.samsung.com/us/computing/memory-storage/usb-flash-drives/usb-3-1-flash-drive-fit-plus-256gb-muf-256ab-am/ 2023-03-06 18:45:46 hmm, I've used Sandisk Fit and Ultra Fit USB devices, strange Samsung are also using the "Fit" name 2023-03-06 18:47:55 frag: anyway in answer to your question, yes/no - as it is unclear how exactly you are using the flash storage it could be "reasonable" to expect it to wear out in 5-6 months if you are doing a lot of write activities 2023-03-06 18:48:13 are you running Alpine in run-from-RAM or Sys mode? 2023-03-06 18:48:19 They will use the name as they see fit 2023-03-06 18:49:03 minimal: sys mode 2023-03-06 18:49:55 which filesystem type? 2023-03-06 18:50:36 ext4? xfs? zfs? btrfs? is LVM in use? is LUKS encryption in use? 2023-03-06 18:50:48 Isn't run-from-RAM officially called diskless mode? 2023-03-06 18:51:59 ext lyks encrypted 2023-03-06 18:52:35 XFaCiEer: I never remember 2023-03-06 18:52:53 frag: and is there a lot of writes being made? what's the machine being used for? 2023-03-06 18:53:30 minimal: desktop, so i guess so 2023-03-06 18:54:19 I've been using a machine with a / on a regular USB stick for years now, but mounted with lazytime and not much actual activity on / (serving as remote file server) 2023-03-06 18:55:30 i have "noatime" 2023-03-06 18:55:51 as one should mostly always have 2023-03-06 18:56:03 frag: do you have a swap partition or swapfile on the flash device? 2023-03-06 18:57:07 minimal: nope 2023-03-06 18:57:38 hard to know then 2023-03-06 18:58:09 Did you post any smartctl output frag? 2023-03-06 18:58:24 frag, did you actually experienced something that could come from wear, or are you just asking like that? 2023-03-06 18:58:31 s/experienced/experience/ 2023-03-06 18:58:31 quinq meant to say: frag, did you actually experience something that could come from wear, or are you just asking like that? 2023-03-06 18:58:40 ^-- lel 2023-03-06 18:58:57 In case people can't understand as imple substitute command ^^ 2023-03-06 18:59:02 Wait a second... Samsung just had a massive issue with m.2 fake premature wear 2023-03-06 18:59:29 Could the same thing occur with their flash drives? 2023-03-06 19:00:27 XFaCiEer: no 2023-03-06 19:00:40 quinq: its slowed down ca 6 days ago 2023-03-06 19:00:50 generally for flash-based devices (SDcards, USB sticks, SSDs) I "overprovision" (confusing name I know) - that is I only partition 90% of the device to "help" the device's wear levelling 2023-03-06 19:01:06 ok frag 2023-03-06 19:02:00 frag: so it hasn't failed, it just slowed down? could be that the drive is quite full and so wear levelling is getting slower 2023-03-06 19:02:19 USB flash devices don't support TRIM unlike SDcards and SSDs 2023-03-06 19:03:02 minimal: actually i have ca 90% free hehe 2023-03-06 19:03:27 Can you post a smartctl -x in a pastebin? 2023-03-06 19:03:44 frag: free from a "df/du" perspective or from the perspective of the drive's own controller? 2023-03-06 19:04:45 XFaCiEer: I don't believe any/many USB flash (not SSD) drives support SMART 2023-03-06 19:04:57 Worth a shot though 2023-03-06 19:06:48 minimal: df 2023-03-06 19:07:34 frag: the OS/filesystem and the device's controller will likely have differing ideas of which parts of the storage are used/unused 2023-03-06 19:08:52 i.e. a USB flash device's controller does not understand ext4 or xfs or zfs etc filesystems 2023-03-06 19:09:18 XFaCiEer: duno this app: /dev/mapper/rootfs: Unknown device type 'ext4' 2023-03-06 19:10:19 You have to run smartctl on the device directly, not the luks mapper 2023-03-06 19:13:31 XFaCiEer: https://0x0.st/Hznh.txt 2023-03-06 19:13:37 frag: also you have ext4 on top of LUKS so even a single byte change of a file in ext4 will result in probably a larger change at the LUKS encrypted layer 2023-03-06 19:14:39 Yep unfortunately as minimal said there is no SMART support on the device. 2023-03-06 19:14:57 minimal: which will slow it down? 2023-03-06 19:15:05 just weird marked slow down over-night 2023-03-06 19:15:08 Wait I read too fast 2023-03-06 19:15:12 "SMART support is: Available - device has SMART capability. 2023-03-06 19:15:12 " 2023-03-06 19:15:16 frag: well its more of a write amplification effect potentially 2023-03-06 19:16:47 remember non-SSD flash storage is very simple, the smallest unit of writing is a block, which your output shows is 512 bytes - so even trying to write a single byte will require writting 512 bytes by copying the existing data to be changed to another block and then clearing the existing block 2023-03-06 19:17:56 frag: try using smartctl --smart=on 2023-03-06 19:17:57 now ext4 has a blocksize of between 1024 and 4096 bytes 2023-03-06 19:18:12 *smartctl --smart=on with the device name as param 2023-03-06 19:18:38 Need doas permissions as well 2023-03-06 19:19:30 XFaCiEer: it still says disabled 2023-03-06 19:20:51 LUKS2 (not LUKS1) can define a sector size of between 512-4096 bytes. LUKS1 is always 512 bytes I think 2023-03-06 19:21:13 Hmmm there are other potential things to try but I wouldn't feel comfortable recommending them not having the experience of using them 2023-03-06 19:22:25 Ah partition alignment can be such a pain 2023-03-06 19:22:31 I don't believe that flash device really has SMART functionality - I seem to remember a forum article from a few months ago mentioning that some Samsung flash drives had SMART "info" (like shown) as they shared their firmware partly with Samsung USB SSD devices 2023-03-06 19:22:57 hmm.. dunno if random, but deleted some files, and a grep command i tried before sped up A LOT... from slow to instant 2023-03-06 19:23:09 Probably requires some special Samsung software even if it does work 2023-03-06 19:23:09 XFaCiEer: not so much partition alignment, more the size of minimum write "chunks" between stacked device, LUKS, filesystem on top 2023-03-06 19:24:14 Ah fair, it reminded me of the ZFS partition alignment fun I have to do 2023-03-06 19:24:33 *if* kit was an SSD then you'd also want to ensure that TRIM/discards are passed between fs and LUKS and any LVM layers 2023-03-06 19:24:42 frag: how many times did you try the grep command before that? 2023-03-06 19:25:03 If this is only the second time there is caching taking effect 2023-03-06 19:25:19 ah, not sure 2023-03-06 19:25:35 *second time or more 2023-03-06 19:25:51 oh, maybe just caching... slow in some other test.. 2023-03-06 19:26:34 To elliminated the factor of caching I'll find the sync command I use 2023-03-06 19:28:10 Ah here we go 2023-03-06 19:28:21 #!/bin/sh 2023-03-06 19:28:21 sync 2023-03-06 19:28:21 echo 2 > /proc/sys/vm/drop_caches 2023-03-06 19:28:21 echo 1 > /proc/sys/vm/drop_caches 2023-03-06 19:28:21 echo 3 > /proc/sys/vm/drop_caches 2023-03-06 19:29:18 hmm cant even cat that file with doas 2023-03-06 19:29:31 why overwrite that file 3 time? 2023-03-06 19:29:52 I can't remember exactly but it was something silly like a "just in case" 2023-03-06 19:30:41 Ah, the official explanation 2023-03-06 19:30:46 To free reclaimable slab objects (includes dentries and inodes): 2023-03-06 19:30:46 "To free pagecache: 2023-03-06 19:30:46 echo 2 > /proc/sys/vm/drop_caches 2023-03-06 19:30:46 echo 1 > /proc/sys/vm/drop_caches 2023-03-06 19:30:46 To free slab objects and pagecache: 2023-03-06 19:30:47 echo 3 > /proc/sys/vm/drop_caches" 2023-03-06 19:31:28 So yeah it's a just-in-case as assumed 2023-03-06 19:32:36 an Irish setting? To be sure, to be sure, to be sure ;-) 2023-03-06 19:33:18 Pretty much better safe than sorry 2023-03-06 19:33:28 I mean 3 should be enough but in case it isn't! 2023-03-06 19:37:29 Everybody netsplit tonight 2023-03-06 19:47:04 oh that sucks 2023-03-06 19:48:12 XFaCiEer: why all the excessive whitespace? 2023-03-06 20:06:16 @minimal: a great example of the stupidity of LLMs from my field 2023-03-06 20:06:19 https://blog.opencagedata.com/post/dont-believe-chatgpt 2023-03-06 20:18:24 :) 2023-03-06 20:21:20 Are you ikke or are you just like ikke? 2023-03-06 20:22:26 what's the difference? 2023-03-06 20:22:35 heh 2023-03-06 22:47:03 anyone have any suggestions on rebuilding the apk DB? 2023-03-07 01:18:20 hey, can be X started with mdev or it requires somehow udev? somehow have issue to start it with some xorg.log showing permission error 2023-03-07 01:18:45 iirc it requires udevd 2023-03-07 01:19:31 hmm 2023-03-07 01:19:55 then another issue raises ;/ can't start xinit directly for probably similar reason - permission, have to use startx 2023-03-07 01:20:03 is that somehow fixable? 2023-03-07 01:20:19 calling that from console 2023-03-07 01:21:30 Been a while since I ran X, I just run Xwayland, sorry 2023-03-07 01:22:11 Ye, me too ;/ so things probably changed ;/ 2023-03-07 01:22:20 I remember I used just mdev and xinit few years ago ;/ 2023-03-07 01:22:41 didn't S start to need dbus?? 2023-03-07 01:22:46 er X11 2023-03-07 01:22:50 no idea 2023-03-07 01:22:52 never used it 2023-03-07 01:23:12 I think ... maybe before it was kind of suid or whatever it is called 2023-03-07 01:23:24 now it somehow can't do as regular useer maybe 2023-03-07 01:25:05 is Xorg suid? and do you have polkitd running? 2023-03-07 01:25:27 no, I don't run this kind of nonsense ;/ 2023-03-07 01:25:48 then Xorg needs xdm or suid, iirc 2023-03-07 01:25:58 ye, I thought that 2023-03-07 01:26:05 there was some time when it works if remember well 2023-03-07 01:26:05 or you need to be in the video group, perhaps. 2023-03-07 01:26:17 ye, I am in every group world offered me ;/ 2023-03-07 01:26:18 gotts eat 2023-03-07 01:26:36 will try someething like seatd if it will work with xorg 2023-03-07 02:44:56 Anyone know of a reliable way force a UEFI machine to boot to the UEFI Setup after being in Alpine? 2023-03-07 02:45:09 All I can find is a way to do this with systemd, which, yeah 2023-03-07 02:46:22 Saijin_Naib: you can use efibootmgr to adjust boot order 2023-03-07 02:47:03 and then reboot, it will boot into UEFI firmware 2023-03-07 02:48:02 ohh, sorry, not this. 2023-03-07 02:50:43 Disregard efibootmgr?  2023-03-07 02:51:03 Saijin_Naib: if you are using grub in alpine, it will add an entry like: UEFI Firmware Settings 2023-03-07 02:51:22 once you did grub-mkconfig 2023-03-07 02:52:03 the entry is added by grub script in /etc/grub.d/30_uefi-firmware 2023-03-07 02:52:05 I have no display nor input 2023-03-07 02:52:18 I need to reboot directly into it, like Windows can 2023-03-07 02:53:49 and then, you can edit /boot/grub/grub.cfg to set default="1" 2023-03-07 02:53:58 Ahhh  2023-03-07 02:54:04 Awesome, thank you  2023-03-07 02:54:06 Let me try thwt 2023-03-07 02:54:52 grub by default set default=0 2023-03-07 02:54:57 which is the alpine boot entry 2023-03-07 02:55:18 when you set it to 1, it will boot to the second 'menuentry ......' 2023-03-07 02:55:39 which will be UEFI Firmware Settings 2023-03-07 02:55:41 I have two machines now where the network interface comes up at boot but it does not get an IP address. I get a dhcp address if I do 'rc-service networking restart.' What can I do about this? 2023-03-07 02:56:36 What runlevel do you have stuff in? 2023-03-07 02:56:36   2023-03-07 02:56:36 rc-update and paste result?  2023-03-07 02:56:53 uuidNuni1: Beautiful, thank you!  2023-03-07 02:57:17 Saijin_Naib: but you have to review /boot/grub/grub.cfg after grub-mkconfig, and search menuentry to count how many there are, usually there are 2 entries on alpine. 2023-03-07 02:57:20 Lost power and UEFI settings turned CSM back on and broke my display and input during boot 😑 2023-03-07 02:57:56 what about F1 during boot? 2023-03-07 02:58:14 uuidNuni1: I have three, so with 0 starting position, it'd be 2, right?  2023-03-07 02:58:46 morena: No display nor input. CSM loads and breaks USB and video  2023-03-07 02:58:56 Saijin_Naib: search 'menuentry ' , note there is a space 2023-03-07 02:59:59 Yeah, three menuentry.  2023-03-07 03:00:35 paste this output : grep 'menuentry ' /boot/grub/grub.cfg 2023-03-07 03:02:09 the last one should be: menuentry 'UEFI Firmware Settings' .... 2023-03-07 03:03:20 if you have 3 result from that grep. then search 'set default="0"' change it to set default="2" 2023-03-07 03:04:33 then reboot. and grub will run : fwsetup for you. 2023-03-07 03:04:58 note, fwsetup command from grub does not always work, it depends on your firmware. 2023-03-07 03:07:32 much easier, you can use efibootmgr --bootnext XXXX (where XXXX is the number of the menu entry for efi settings that is shown if you run `efibootmgr`) then reboot, i believe 2023-03-07 03:08:30 abby: efibootmgr can't set 'boot into firmware' for you 2023-03-07 03:08:57 if it's a boot entry it should be able to boot it 2023-03-07 03:10:27 i ran efibootmgr on my box, it only shows : 2 network controller and 1 HD 2023-03-07 03:10:45 my theory is that whatever calls udhcpc is doing that before the interface comes up, but I could not figure out how that is happening in the boot sequence 2023-03-07 03:11:16 abby: something like this : https://0x0.st/Hzhi.txt 2023-03-07 03:11:18 cache_return: wifi? 2023-03-07 03:11:27 i don't think any of them is firmware related 2023-03-07 03:11:47 ok 2023-03-07 03:12:02 depends, I see like 15 entries ;/ like boot menu and other crap 2023-03-07 03:12:08 morena: yes 2023-03-07 03:12:24 that ... what's the name 2023-03-07 03:12:32 i think it has to be done via grub to be able to boot into firmware in Saijin_Naib's case 2023-03-07 03:12:54 and then magicaly his keyboard will work if it does not work before boot in splash screen? 2023-03-07 03:13:28 cache_return: I think that crap has to be in boot runlevel 2023-03-07 03:13:46 also easier than that whole process would be pressing c in grub typing `fwsetup` in grub's commandline 2023-03-07 03:13:57 morena: afaik all the crap is in boot 2023-03-07 03:14:05 it's the default configuration 2023-03-07 03:14:21 cache_return: paste output of rc-update 2023-03-07 03:16:03 uuidNuni1: http://sprunge.us/gXGdHF 2023-03-07 03:16:17 abby: 10:52:05 Saijin_Naib | I have no display nor input 2023-03-07 03:17:10 cache_return: you have iwd and networking both enabled on boot 2023-03-07 03:17:20 i think they have similar functionality 2023-03-07 03:17:40 long time I used it, but I remember I experienced someething similar 2023-03-07 03:17:44 iwd is wifi only 2023-03-07 03:18:00 iwd is not wifi only. depends on your config 2023-03-07 03:18:03 then I think I enabled dhcp in iwd 2023-03-07 03:18:18 or some other setting in iwd play role there 2023-03-07 03:18:28 at least what I remember ;/ 2023-03-07 03:18:46 iwd has the option of doing some network config. I have not enabled it. 2023-03-07 03:19:35 uuidNuni1: should I only have one? None of the docs seem to indicate that. 2023-03-07 03:20:11 cache_return: cat /etc/network/interfaces 2023-03-07 03:20:23 I thought iwd was similar in functionality to wpa_supplicant, not a replacement for basic network interface configuration 2023-03-07 03:20:53 and cat /etc/iwd/main.conf 2023-03-07 03:21:25 NO, iwd can configure wired network too, with dhcp or static 2023-03-07 03:23:01 http://sprunge.us/dCkJdS 2023-03-07 03:23:16 /etc/iwd/main.conf is all comments 2023-03-07 03:23:37 http://sprunge.us/dCkJdS is /etc/network/interfaces ? 2023-03-07 03:23:45 uuidNuni1: thanks, you got me in, and I've fixed up the bad CSM defaults!  2023-03-07 03:24:09 cache_return: your /etc/network/interfaces does not have ethernet setup 2023-03-07 03:24:19 morena: yes, actually. In UEFI setup every device works, but not during boot.  2023-03-07 03:24:25 uuidNuni1: that is correct 2023-03-07 03:24:37 cache_return: are you having issue with ethernet or wireless? 2023-03-07 03:24:40 Just wlan0 2023-03-07 03:24:44 wireless 2023-03-07 03:24:46 Saijin_Naib: thanks, did not know, I tought boot before os has the same state 2023-03-07 03:24:46 only 2023-03-07 03:25:04 cache_return: then remove networking from boot 2023-03-07 03:25:20 ohh... 2023-03-07 03:25:24 no 2023-03-07 03:25:26 i see the problem 2023-03-07 03:25:40 networking started before iwd ... 2023-03-07 03:25:53 that's why you can't get an ip 2023-03-07 03:26:36 you can try enable it's dhcp, it will be faster than alpine's 2023-03-07 03:26:40 cache_return: the solution is to install dhcpcd 2023-03-07 03:26:51 because udhcpcd does not retry. 2023-03-07 03:27:02 iwd has own 2023-03-07 03:27:03 morena: On good boards with good firmware, probably! 🤣 Not on this one  2023-03-07 03:27:07 but dhcpcd DOES do retry 2023-03-07 03:27:23 uuidNuni1: what invokes udhcpc anyway? 2023-03-07 03:27:39 I thought it was something like this. 2023-03-07 03:27:45 /etc/init.d/networking script starts udhcpc 2023-03-07 03:27:46 I keep my old Windows SSD around to swap to if I ever needed to get back into setup after CSM got re-enabled by power loss or firmware updates  2023-03-07 03:28:03 cache_return: but if you have dhcpcd, then /etc/init.d/networking will use it instead of udhcpcd 2023-03-07 03:28:06 Sounds like using the dhcp config in iwd would also solve this 2023-03-07 03:28:26 and speeed up things 2023-03-07 03:28:56 it's in background, you don't wait for it in boot 2023-03-07 03:28:57 cache_return: 2 solutions: 1) install dhcpcd, done. 2) disable networking from boot and enable iwd's dhcp feature 2023-03-07 03:29:20 uuidNuni1: that script doesn't say anything about dhcp 2023-03-07 03:29:24 Saijin_Naib: the grub trick did the job? i am glad to hear 2023-03-07 03:30:36 cache_return: /usr/libexec/ifupdown-ng/dhcp 2023-03-07 03:31:06 disable it if you can use only iwd 2023-03-07 03:33:10 uuidNuni1: ok, thanks 2023-03-07 03:33:32 I will investigate this and figure it out. 2023-03-07 03:33:44 ifupdown-ng read /etc/networking/interfaces , if there is dhcp setup, it will call /usr/libexec/ifupdown-ng/dhcp 2023-03-07 03:34:01 morena: you're probably right 2023-03-07 03:35:20 uuidNuni1: yes, thanks. This was the missing fact for me. I couldn't figure out where udhcpc was getting called. 2023-03-07 03:38:13 I think I spent there one night too in the past ;/ 2023-03-07 03:42:19 cache_return: the best solution will be installing dhcpcd, because it supports RETRY. and you don't have to change anything at all 2023-03-07 03:43:22 uuidNuni1: only best if installing another daemon is free 2023-03-07 03:44:23 dhcpcd will not be started on boot by default. it is called by ifupdown-ng 2023-03-07 03:44:25 I'll figure out what to do, now that I know where to noodle around. 2023-03-07 03:45:05 /usr/libexec/ifupdown-ng/dhcp line 5-11 2023-03-07 03:45:49 it will look for dhcpcd first, if found, it will be used. 2023-03-07 03:48:25 man interfaces and man ifup and search: executor 2023-03-07 03:48:43 that is how i found where dhcp client was called 2023-03-07 03:50:16 and for dns you can : printf '%s\n' "nameserver 8.8.8.8" "nameserver 1.1.1.1" >/etc/resolv.conf.head 2023-03-07 03:50:29 thanks. I should install manpages. 2023-03-07 03:50:39 if you want customise dns instead of dns from dhcp 2023-03-07 06:47:52 is disk-less install clearly superior on a rpi? 2023-03-07 07:26:58 cp a 60MB file from my usb to same usb 1m6s, copy same file from sd to same sd: less than a sec 2023-03-07 07:29:03 Note that you need to take buffering into account 2023-03-07 07:30:11 oh .. 2023-03-07 07:43:44 Try dd oflag=direct 2023-03-07 07:44:39 conv=fdatasync is better 2023-03-07 08:00:11 in diskless and data disk mode you cant change eg things in /etc after install? 2023-03-07 08:00:37 even in sys install i guess it caches a lot, so not _that_ different from diskless? 2023-03-07 08:34:01 You can, it's stored in ram 2023-03-07 08:34:17 You use lbu to commit any changes so they persist after reboot 2023-03-07 08:41:13 ikke: oh cool, i think i need to try it 2023-03-07 08:41:36 curious, can diskless be run without a disk? it needs the instlal image or something right? and i guess a boot partition 2023-03-07 09:04:42 You need something to boot from, which is typically a USB disk or sdcard 2023-03-07 09:05:00 But once booted, it should be possible to remove the boot medium 2023-03-07 09:05:40 baalajimaestro: I've been using it in docker as a workaround, yes. 2023-03-07 09:06:15 Fxzxmic: org.freedesktop.secrets.service isn't part of gnome, there are multiple implementations, including the KDE one and KeePassXC's built-in one. 2023-03-07 09:07:14 WhyNotHugo: Ah, so you use rust bullseye, and use distroless/cc to run the binary. That is much more reliable at what it does. 2023-03-07 09:07:29 Since crt static isn't supported by a lot of crates infact 2023-03-07 09:08:01 baalajimaestro: That's still docker. 2023-03-07 09:08:44 rustlang/rust:nightly works well enough as a workaround. 2023-03-07 09:08:53 The problem is that I can't run it on my host. 2023-03-07 09:09:04 Indeed? I told you to get rid of alpine and use bullseye since the workaround isn't a nice one. It statically links musl, breaking a nice bunch of crates 2023-03-07 09:09:40 I'm not going to replace my host's distro with Debian "as a workaround". 2023-03-07 09:10:21 So your host is alpine? 2023-03-07 09:10:26 Yes 2023-03-07 09:10:45 WhyNotHugo: Hah, that's now hard :) 2023-03-07 09:10:54 I had enough issues running even on docker 2023-03-07 09:11:32 ACTION checks if he's still on #alpine-linux 2023-03-07 09:17:26 is util-linux an empty package? 2023-03-07 09:18:06 uuidNuniq: metapackage 2023-03-07 09:19:10 so, it's "empty" 2023-03-07 09:19:48 what about util-linux-misc 2023-03-07 09:20:44 it's not empty 2023-03-07 09:24:51 i am confused. 2023-03-07 09:25:45 why? 2023-03-07 09:35:06 util-linux depends on a bunch of other packages. 2023-03-07 09:35:18 So you install it as a shortcut to install all the `util-linux-*` packages. 2023-03-07 09:35:34 It has no files, but that doesn't mean it's empty: it has dependencies. 2023-03-07 09:36:56 (that's the definition of metapackage) 2023-03-07 09:42:57 WhyNotHugo: util-linux has --rinstall-if rules 2023-03-07 09:43:49 but this util-linux-2.38.1-r5 changed. 2023-03-07 12:49:14 got an error when installing/upgrading my rpi diskless: depmod: ERROR: openat /lib/modules/5..rpi4, modules.dep.42... Read-only file system 2023-03-07 12:49:59 can one umount the /mediga/mmc.. after booting the diskless? also why use /media and not /mnt 2023-03-07 12:54:54 frag: you need to stop the modloop service 2023-03-07 12:55:09 Rust and alpine, im on the same path :) 2023-03-07 12:55:19 i have a link somewhere on how to work with that 2023-03-07 12:56:33 ikke: hm ok 2023-03-07 16:00:21 hey -- i tried messing around with bootloaders on a fresh install of alpine but nothing worked and i want to go back to the default GRUB. i have EFI and i tried following the instructions on the wiki but the load would hang right after the boot menu. is there a way to generate all of the necessary boot things from a fresh empty /boot dir? (my efi is on /boot/efi) 2023-03-07 16:04:03 solfisher: assuming you have grub-efi package installed and that your /etc/default/grub has reasonable settings, then: 2023-03-07 16:05:29 grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=alpine --boot-directory=/boot --no-nvram 2023-03-07 16:06:09 install -D /boot/efi/EFI/alpine/grubx64.efi /boot/efi/EFI/boot/bootx64.efi 2023-03-07 16:06:39 grub-mkconfig -o /boot/grub/grub.cfg 2023-03-07 16:07:00 that is assuming you are running these commands on the machine itself 2023-03-07 16:07:20 i'm chrooted into it yes 2023-03-07 16:08:45 solfisher: chroot - so NOT directly on the machine, so you'll need to bind-mount /dev, /proc/ sys, etc and also to watch the paths specified - i.e. /boot/efi is fine IF you are running inside the chroot, but if you run the commands outside the chroot you'll have to adapt them 2023-03-07 16:09:30 yes i have made sure to bind-mount them 2023-03-07 16:11:25 and just place initramfs-lts and vmlinuz-lts in /boot? or /boot/efi 2023-03-07 16:24:32 nice! it works. thanks :D 2023-03-07 18:12:39 why is keyboard/mouse ALWAYS problem when installing xorg? got it working and then not again :p 2023-03-07 18:13:31 Did you add yourselves to input group? 2023-03-07 18:14:00 Ermine: yeah, i think you need the wheel group too(?) added to audio/usb too.. 2023-03-07 18:14:23 wheel has nothing to do with xorg 2023-03-07 18:15:17 So, you still don't have xorg working? Can you post xorg logs then? 2023-03-07 18:15:57 oh i rebooted to another partition, i think the only EE error was fbdev missing or something 2023-03-07 18:16:58 just post the logs, maybe I will be able to find something. 2023-03-07 18:23:09 Ermine: ah thats nice of you, too tired now, it takes like 10m to reboot and back here (slow-er than usual computer lately, and the reason im installing again) 2023-03-07 18:23:57 Do you have old hardware or is it something else? 2023-03-07 18:25:56 Ermine: suspecting it might be the usb dongle the system is on (rpi4b) 2023-03-07 18:26:05 ggoing to try diskless 2023-03-07 18:26:26 (yes i did lby_commit :) 2023-03-07 18:26:48 its only 5-6 months old tho.. 2023-03-07 20:11:45 guess you dont need linux-firmware-other for rpi? 2023-03-07 20:20:11 no, you should need not 2023-03-07 20:21:00 :] 2023-03-07 20:32:26 WhyNotHugo: how do you get that issue with rust binaries? 2023-03-07 21:04:08 is alpine unsuitable or inadvisable to run as a host system os? 2023-03-07 21:11:10 unsuitable or inadvisable for a server host os I should say 2023-03-07 21:12:01 why would it be? 2023-03-07 21:16:18 SirMetathyst: i use alpine for many years as a server os... what's wrong with that in your opinion? 2023-03-07 21:18:04 I'm wondering if businesses would or have used alpine as their host. It seems nice because it's lighter, fewer packages but does it being a musl system have negatives or pain points to deal with in comparison to others? I don't see much info online of peoples experience in using it as a server host 2023-03-07 21:18:15 most on docker containers 2023-03-07 21:18:48 businesses use or have used alpine as their host 2023-03-07 21:19:29 do you happen to know a blog post that talked about their experience? 2023-03-07 21:19:46 in containers it was the default in all of my customer projects in the past. there you are right. companies often decide for RHEL or SuSE but i have seen alpine too... 2023-03-07 21:19:59 yes, there are negatives and pain points running musl, some things just don't run - whether or not this matters to you is application dependent 2023-03-07 21:20:11 not all businesses run the same 2023-03-07 21:20:33 i even run splunk on alpine even if it needs a glibc installed... it works all perfect 2023-03-07 21:21:12 SirMetathyst: pretty much every distro has positive and negative points of some sort 2023-03-07 21:21:17 some businesses want a company to blame if things go wrong, in which case alpine is not something they will choose 2023-03-07 21:21:21 but that's not the case for everyone 2023-03-07 21:21:31 qman: yeah, it's about blaming... 2023-03-07 21:21:52 others recognize that being able to blame someone else doesn't fix things any faster or reduce the damage 2023-03-07 21:22:01 and just choose the tools they like 2023-03-07 21:22:09 can I get more out of my server resources with alpine? 2023-03-07 21:22:15 they are paying a lot for support licenses but i never have seen a company makeing use of it. i think it managers also want to blame redaht or novell if something fails... 2023-03-07 21:23:07 support license don't magically support "everything", often problems may occur that a vendor says is outside of their support terms 2023-03-07 21:23:08 it tends to not matter much at scale, but yes, alpine is lighter weight than more common distributions 2023-03-07 21:23:28 yes, and even when something _is_ in support, that doesn't magically fix anything 2023-03-07 21:23:53 qman: i had a kernel error many years ago using RHEL... i contacted the support but before they could help me i fixed it myself... took some days but it didn't made sense to have a contract with redhat at that time 2023-03-07 21:23:54 I can't even count how many times vendor support has been absolutely useless in solving problems on their own product, and I ended up solving the problem myself 2023-03-07 21:24:07 I want to run a golang based monolith with sqlite or kv so how much I could potentially squeese out is important to me 2023-03-07 21:24:43 qman: for M$ it is mostly the same 2023-03-07 21:24:47 if performance is a concern then you need to go back to the drawing board and stop running a monolith 2023-03-07 21:25:20 alpine is lighter, but it's not going to solve an app design problem 2023-03-07 21:26:17 alpine is even very cost effective because maintenace is more time efficient. 2023-03-07 21:26:38 sure, the app is my problem but I want to minimise problems from host os as much as possible including how much resources it takes. Seems like alpine is a good choice 2023-03-07 21:27:03 minimizing host problems is best done by using the most common and least changing systems 2023-03-07 21:27:30 alpine is great but it wouldn't be my first choice in that specific use case 2023-03-07 21:28:26 I would choose debian, RHEL, or whichever free RHEL clone has the most momentum behind it at the moment 2023-03-07 21:28:30 why is that? 2023-03-07 21:28:49 changes cause problems 2023-03-07 21:29:16 when you want something to be as problem-free as possible, as long as possible, then you start with the most stable base 2023-03-07 21:29:50 Mhn. Though I was intending to run my software in containers anyway but less packages on system with alpine seems to be a good idea 2023-03-07 21:29:53 in the modern era, your app should really be in containers anyway, so the host should just be as much of a rock as you can get 2023-03-07 21:30:08 less to update 2023-03-07 21:30:13 which means, distros that have slow, stable release cycles 2023-03-07 21:30:26 and long lifetimes 2023-03-07 21:30:40 and, importantly, lots of users to find and report bugs 2023-03-07 21:31:13 So you're saying you wouldn't recommend alpine as server iyo? 2023-03-07 21:31:14 alpine is great because it is simple, but it changes a lot faster than RHEL or debian 2023-03-07 21:31:23 like I said, it's about use case 2023-03-07 21:31:43 I have servers that run alpine, because it fits their use cases 2023-03-07 21:31:47 this one is not a good use case 2023-03-07 21:32:23 What would be a good pick for a rock server? 2023-03-07 21:32:30 alpine is great because it's light and simple, but the downsides are that it's less popular (particularly outside of containers) and many things aren't designed for it 2023-03-07 21:32:56 the physical form factor of the server has nothing whatsoever to do with the OS recommendation 2023-03-07 21:33:36 it's about what you're intending to use it for, which you said is a stable, minimal-trouble container host 2023-03-07 21:33:52 yes 2023-03-07 21:34:20 I'm not experienced in running and maintaining a server 2023-03-07 21:35:21 in which case, the best choice is a stable, minimal-trouble OS with good container support - debian and RHEL fit that box very well, alpine not so much because it requires more effort on your part, both in updates, and in getting things to work in the first place 2023-03-07 21:37:13 the other option, if you're looking for kubernetes, would be a kubernetes-specific distribution, such as coreos for OKD/openshift, or harvester or whatever rancher is recommending to run RKE these days, etc., again depending on what system you want to run on top 2023-03-07 21:40:59 but the main things remain the same, choose the tools that suit your situation best 2023-03-07 21:41:34 which goes back to the previous point, if you need to scale your app and performance is a problem, then you need to stop using sqlite and go to a better database on a separate system, preferrably one that can cluster and scale itself 2023-03-07 21:41:53 sqlite is great because it's easy, but it's terrible because it's slow and doesn't scale 2023-03-07 21:42:23 From what Ive read sqlite can get verry far before that 2023-03-07 21:43:36 it can be stretched pretty far, but you're asking these questions because performance either is an issue, or is expected to be an issue 2023-03-07 21:43:43 this is a fairly simple, obvious way to fix that problem 2023-03-07 21:43:52 so this is the juncture where you should fix it 2023-03-07 21:44:18 I want to push vertical scaling as much as possible from the start, which begins with the os of choice 2023-03-07 21:44:24 it's not like running postgres or mariadb is all that difficult 2023-03-07 21:44:34 vertical scaling doesn't work 2023-03-07 21:45:15 and if you push it until it breaks, you're going to have a very bad time when it does, because there will be nothing you can do to fix it except go back to the drawing board, presumably after you already have people using your app and complaining that it's not working 2023-03-07 21:45:39 now, you don't need to completely redesign your app into microservices now 2023-03-07 21:46:01 but the simple step of changing to a database that _can_ scale, even if you don't scale it now, is a good idea 2023-03-07 21:46:34 because then, when your app gets too heavy for one server, you can very quickly move your database to another one, or add more for a cluster, because the database you're using supports it 2023-03-07 21:48:31 sqlite is good for the "make your app work" phase, but it's very very bad for the scaling phase, and it sounds like you're in the scaling phase 2023-03-07 21:48:37 in which case, now is the time to change 2023-03-07 21:48:48 wow I'd love to see the day when vertical scaling is no longer working since Id be at least a medium scale site/service 2023-03-07 21:49:55 I'm one person, I can't be dealing with kubernetes or complicated server setups. 2023-03-07 21:50:57 technically I'm using boltdb atm which is a golang kv store library but I'm considering sqlite too. Nethertheless I thank you for your advise and will take it into careful consideration 2023-03-07 21:51:01 then I think we need to take this a step back, are you still in the "make your app work" phase, or do you actually have substantive amounts of users? 2023-03-07 21:51:50 because if you're still building, then all of this doesn't matter yet 2023-03-07 21:52:07 but if you're really ramping up then you need to consider how you're going to scale your operations, too 2023-03-07 21:52:09 not even that. I'm exploring ideas and how it might work. I just want to do some research 2023-03-07 21:52:22 I'm experimenting 2023-03-07 21:53:07 I want to make sure I'm not overlooking anything 2023-03-07 21:53:57 when it comes to servers and scaling it's my weakpoint 2023-03-07 21:54:18 well, if you're still building/experimenting, then it doesn't matter much, you don't need to worry about scale until you have users and start making money 2023-03-07 21:54:42 that's the point at which you redesign for scale, otherwise you'll waste a lot of time designing things that never get used 2023-03-07 21:55:02 but what I will say is, popular tools are popular for a reason 2023-03-07 21:55:17 Mhn. 2023-03-07 21:55:22 so unless you have a good reason to use something else, stick with what everyone else is using 2023-03-07 21:56:27 there are times to deviate but you need to have good reasons for doing so 2023-03-07 21:57:49 otherwise you'll just create a lot of extra work for yourself, now or later 2023-03-07 22:00:04 systems engineering, operations, and development are separate fields and jobs, and you're trying to do all of them yourself - it can be done, but it's wise to minimize how much extra stuff you need to do that _isn't_ getting your app to work 2023-03-07 22:00:30 which is why cloud providers are so big, they take a lot of that work on for you 2023-03-07 22:00:50 it's expensive, but the money often outweighs the opportunity cost 2023-03-07 22:18:45 thanks for the advice qman 2023-03-07 23:58:07 pj: Copy-paste friendly reproduction steps: https://gitlab.alpinelinux.org/alpine/aports/-/issues/14692#note_294987 2023-03-08 00:46:48 I can not get xorg to start. 2023-03-08 00:50:25 Check /var/log/Xorg.0.log for errors? 2023-03-08 00:56:09 Failed to initialize glamor 2023-03-08 01:41:20 AnyCreatureMorph[m]: you probably need mesa-egl 2023-03-08 08:08:38 so, i forgot, how was alpine ISO created? where is the project homepage ? 2023-03-08 08:42:45 There is no separate project 2023-03-08 08:43:02 It's part of aports in the scripts folder 2023-03-08 08:44:04 How to send programm options in openrc script to programm? start-stop-daemon --start --quiet --user 1000 --group 1000 --exec /usr/bin/something --option1 --option2 2023-03-08 08:44:21 not work 2023-03-08 09:33:21 ah, "--" used for this 2023-03-08 13:11:41 hi! i hope i won't offend anyone with this: is the lack of a packaged glibc a matter of some technical issue, or just policy and/or lack of interest? i definitely will need to run some binaries linked against glibc (and i want them to run with glibc, not gcompat), and i'm fine with maintaining it myself if there are no technical problems (can't really imagine what sort. something in the kernel config that glibc wouldn't like?) 2023-03-08 13:34:00 you have exactly one libc implementation for a distribution - and it's muslc for alpine 2023-03-08 13:34:30 glibc is another implementation and you cannot easily have both at the same time 2023-03-08 13:35:01 my statement is subject to correction by someone with a more definite reply 2023-03-08 13:35:11 baseline: one system, one libc 2023-03-08 13:40:26 you would have to have two different editions of Alpine, one with glibc, one with musl with two different separate repositories because almost all packages are linked against libc 2023-03-08 13:40:52 also, I am pretty sure some alpine patches would have to be adjusted because they might not work with glibc 2023-03-08 13:41:59 two different editions and two different repositories implies two different machines/vms/etc. if that was not clear 2023-03-08 13:45:22 There are plenty of glibc-based distros around here. Why do you want Alpine then? 2023-03-08 13:45:52 ovf: Alpine packages are linked against musl. If you want glibc, you need to build it yourself and build your stuff against glibc. Therefore there's no use in packaging glibc 2023-03-08 13:48:03 i want to run a musl userland with a few binaries (from outside the repositories) linked against glibc. that's not the same, in my book, as running a glibc userland. 2023-03-08 13:50:27 do you know how libc works? 2023-03-08 13:51:14 That would be hard. For example, musl and both ship their headers, which would conflict. Both ship the libc.so file, which is also a conflict 2023-03-08 13:55:36 ovf: there is another route: static build 2023-03-08 13:57:07 paper_: ovf : two versions of there and that, then it is void linux ... 2023-03-08 13:58:31 who is that? never heard of her 2023-03-08 13:58:37 another route, containers 2023-03-08 13:59:40 well, my question is exactly how hard. from what i see glibc and musl use different elf interpret paths, so the glibc one could set rpath accordingly for the non-default location of glibc's libc.so.6. i don't really see a problem, hence my question 2023-03-08 14:04:46 you mean docker? 2023-03-08 14:04:56 yeah, one program one instance. 2023-03-08 14:07:30 just use a container, it will be much less brittle, you won't be able to easily accidentally break your system and it will be easier 2023-03-08 14:09:08 all the libraries it links would also have to be installed in their glibc version order for this to work, so you would be basically creating a diy container without the protections and ease of use of a container 2023-03-08 14:14:54 root 2023-03-08 14:14:59 oh, wrong window 2023-03-08 14:16:39 yes, I think we know how libc works here :D It's been a controversial and difficult topic all the time. :D 2023-03-08 14:17:48 Ariadne has written a great blog post about it 2023-03-08 14:22:05 ovf: https://ariadne.space/2021/08/26/there-is-no-such-thing-as-a-glibc-based-alpine-image/ 2023-03-08 14:36:08 Is there a script for that installs the drivers for my wifi, bluetooth, display, etc and installs the required software like network manager, bluetooth manager depending on the DE I choose? 2023-03-08 14:39:02 AnyCreatureMorph[m]: I doubt it, e.g. since when is a "bluetooth manager" required software for a particular DE? some people may not have bluetooth hardware/or use BT hardware on their machine 2023-03-08 14:45:14 usually people don't notice or don't care about this libc issue, until they try to run an appimage, or read hackernews 2023-03-08 14:45:53 what about hackernews 2023-03-08 14:46:10 i read every night before going to sleep 2023-03-08 14:47:59 "sleep" 2023-03-08 14:49:30 "hacker" 2023-03-08 14:57:46 "news" 2023-03-08 14:57:52 I miss n-gate.com 2023-03-08 14:59:25 Everybody does (unless you felt targeted in a truthful way) 2023-03-08 14:59:42 uuidNuni1: HackerNew stories wouldn't typically put me to sleep lol 2023-03-08 14:59:50 I sometimes read /r/nosleep to get to sleep. 2023-03-08 14:59:50 [reddit] https://reddit.com/r/nosleep | 17,346,503 subscribers | Created at 2010-03-24 - 02:20:24UTC | Nosleep is a place for redditors to share their scary personal experiences. Please read our guidelines in the sidebar/"about" section before proceeding. 2023-03-08 15:00:03 ACTION smacks alpine-meetbot 2023-03-08 15:00:32 "scary personal experiences"? it's... fiction. whatever. 2023-03-08 15:00:55 ovf: https://wiki.alpinelinux.org/wiki/Running_glibc_programs 2023-03-08 15:02:38 minimal: they push openai too hard 2023-03-08 15:04:06 uuidNuni1: and openai stories put you to sleep? 2023-03-08 15:05:23 i fall asleep fast as long as i read something. 2023-03-08 15:24:56 uuidNuni1, be careful not to make that a pavlovian reflex 2023-03-08 15:26:38 This definitely sounds like a good idea: https://github.com/rareranger/chatgpt-linux-assistant 2023-03-08 15:27:41 Imagine calling to remote server each time you issue a command 2023-03-08 15:29:26 Being able to run a language model like this on a networkless contanier would be a very interseting assitant tbh. 2023-03-08 15:29:32 Note that I said "interesting", no "useful" 2023-03-08 16:34:44 hi 2023-03-08 16:52:09 i need help 2023-03-08 16:57:33 thanks everyone, i gather that whilst unpopular, there is nothing preventing one having glibc (and a sysroot of dependent libraries, if needed) 2023-03-08 16:59:36 ovf: fyi, there is also a glibc shim that you can install emulate glibc on a musl system 2023-03-08 17:06:29 ikke: gcompat? yes, thanks. but i'd like to run (just a specific binary) with a real glibc. thankfully it doesn't really depend on much beyond libc, so i shouldn't have the kind of horrors about which i was told here 2023-03-08 17:07:00 then use somethig like docker or a chroot, like suggested 2023-03-08 17:07:52 ovf: from the link I referred to earlier: "However, if you combine a world expecting symbol versioning and one which does not, you wind up with undefined behavior. For very simple programs, it appears to work, but for more complicated programs, you will wind up with strange behavior and possible crashes" 2023-03-08 17:08:35 yep, understood. 2023-03-08 17:12:14 ovf: so basically unless you program *only* uses glibc and no other libraries (unless they're statically linked) then you're likely to have problems 2023-03-08 18:09:58 helllo fellow Alpiner-s 2023-03-08 18:10:17 I have an issue with php7-fpm an Alpine Edge 2023-03-08 18:10:21 it segfaults 2023-03-08 18:10:38 [ 55.320415] php-fpm7[3036]: segfault at 10 ip 00007f42a1ee35be sp 00007ffd28428b88 error 4 in ld-musl-x86_64.so.1[7f42a1ed2000+4b000] likely on CPU 11 (core 6, socket 0) 2023-03-08 18:10:58 I don't know what to do 2023-03-08 18:10:59 help 2023-03-08 18:19:25 you could try to debug it, try to get a coredump and load on gdb 2023-03-08 18:21:27 is it easy to reproduce? 2023-03-08 18:24:03 it just segfaults 2023-03-08 18:24:12 whan it gets called 2023-03-08 18:25:36 [ 341.180423] traps: php-fpm7[3126] general protection fault ip:7fe7ee21871d sp:7ffe3e97b418 error:0 in ld-musl-x86_64.so.1[7fe7ee1da000+4b000] 2023-03-08 18:26:28 this is awful 2023-03-08 18:28:12 wyk72: is your system actually Alpine Edge? or a mix of Edge and 3.17 (as it was before) ? 2023-03-08 18:28:34 straight edge :) 2023-03-08 18:28:43 new pc new ssd 2023-03-08 18:28:51 installed 3.17 and upgraded immediately w edge 2023-03-08 18:29:03 since I need php7 2023-03-08 18:29:16 that comes only with test repo 2023-03-08 18:29:19 using "apk -a upgrade"? or without "-a"? 2023-03-08 18:29:28 with -a of course 2023-03-08 18:30:05 people often forget that, so just making sure 2023-03-08 18:30:48 I can format pc and start all over again 2023-03-08 18:30:55 w 3.17 2023-03-08 18:31:06 how can I get php7 on 3.17? 2023-03-08 18:32:26 I just installed on a container and it doesn't crash 2023-03-08 18:32:51 omg I hate php, but the company I work with is obsessed 2023-03-08 18:33:03 well it starts correctly 2023-03-08 18:33:16 but when I call it from, e.g. phpmyadmin 2023-03-08 18:33:20 it segfaults 2023-03-08 18:33:57 341.180423] traps: php-fpm7[3126] general protection fault ip:7fe7ee21871d sp:7ffe3e97b418 error:0 in ld-musl-x86_64.so.1[7fe7ee1da000+4b000] [ 856.546354] php-fpm7[3162]: segfault at ffffffffffe00a04 ip 00005595e978dd9d sp 00007ffe3e97ba08 error 5 in php-fpm7[5595e9600000+255000] likely on CPU 6 (core 0, socket 0) [ 856.546372] Code: e1 92 67 00 8b 10 85 d2 0f 85 a0 ae e8 ff 48 89 fa 81 e2 ff ff 1f 00 74 4c 48 89 fe 2023-03-08 18:34:12 omg 2023-03-08 18:34:21 so you keep telling us 2023-03-08 18:35:10 have you enabled/looked at php-fpm logs? 2023-03-08 18:35:45 yeah, very informative 2023-03-08 18:35:48 [08-Mar-2023 19:33:34] WARNING: [pool www] child 3162 exited on signal 11 (SIGSEGV) after 0.229546 seconds from start 2023-03-08 18:36:19 now I know exactly that 0.22 seconds from start it crashes 2023-03-08 18:36:36 well you're going to have to investigate further 2023-03-08 18:38:07 Maybe I should quit this job 2023-03-08 18:38:15 webapps mostly suck 2023-03-08 18:38:25 installing php7-dbg might help 2023-03-08 18:38:50 I have it installed 2023-03-08 18:38:58 I don't know how to use it 2023-03-08 18:39:59 maybe this pc is faulty ?? I tested it under win11 heavily and was always OK, it's a brand-new Ryzen5 4600G w 16GB ram 2023-03-08 18:41:22 as donoban said, get a core dump and then run gdb /usr/sbin/php-fpm7 core 2023-03-08 18:42:02 where is the core dump ? 2023-03-08 18:42:06 how ca I get one ? 2023-03-08 18:46:14 can you tell me how to to make php-fpm7 "coredump" something ? It just quits w no coredump 2023-03-08 18:47:26 I feel that alpine misses some specific documentation for it, but it's pretty similar on all linux distributions 2023-03-08 18:49:29 I read that it should be set with "sysctl -w kernel.core_pattern=/path-to-coredump" 2023-03-08 18:49:38 but I don't get any 2023-03-08 18:49:49 do you start directly php-fpm7 on your terminal? 2023-03-08 18:50:33 you could also try to run it directly on gdb 2023-03-08 18:50:50 gdb php-fpm7 2023-03-08 18:50:52 start 2023-03-08 18:51:34 you should get a backtrace when it crashes 2023-03-08 18:51:56 or maybe need to type 'bt' 2023-03-08 18:52:02 (gdb) start Temporary breakpoint 1 at 0x2371f0: file /home/buildozer/aports/testing/php7/src/php-7.4.33/sapi/fpm/fpm/fpm_main.c, line 1538. Starting program: /usr/sbin/php-fpm7 Temporary breakpoint 1, main (argc=1, argv=0x7fffffffec58) at /home/buildozer/aports/testing/php7/src/php-7.4.33/sapi/fpm/fpm/fpm_main.c:1538 1538 /home/buildozer/aports/testing/php7/src/php-7.4.33/sapi/fpm/fpm/fpm_main.c: No such file or dire 2023-03-08 18:52:49 "No such file or dire(ctory)", hmm.....I wonder what the problem could be 2023-03-08 18:52:58 just let gdb continue 2023-03-08 18:53:01 type 'c'? 2023-03-08 18:53:29 (gdb) c Continuing. ../../gdb/cp-support.c:1581: demangler-warning: unable to demangle '_ZN4dlib9add_layerINS_4con_ILl64ELl3ELl3ELi1ELi1ELi1ELi1EEENS0_INS_5relu_ENS0_INS_7affine_ENS0_IS2_NS_13add_tag_layerILm1ENS0_IS3_NS0_INS_9add_prev_INS_4tag1EEENS0_IS4_NS0_IS2_NS0_IS3_NS0_IS4_NS0_IS2_NS5_ILm1ENS0_IS3_NS0_IS8_NS0_IS4_NS0_IS2_NS0_IS3_NS0_IS4_NS0_IS2_NS5_ILm1ENS0_IS3_NS0_INS6_INS_4tag2EEENS0_INS_9avg_pool_ILl2ELl2ELi2ELi 2023-03-08 18:53:44 Attempting to dump core. 2023-03-08 18:53:58 EvEEvEEvEEvEEvEEvEEvEEvEEvEEvEEvEEvEEvEEvEEvEEvEEvEEvEEvED1Ev' (demangler failed with signal 11) A problem internal to GDB has been detected, further debugging may prove unreliable. Quit this debugging session? (y or n) 2023-03-08 18:54:11 omg it's a trainwreck 2023-03-08 18:54:23 omg 2023-03-08 18:54:46 thanks guys 2023-03-08 18:55:02 it's late I'll just reformat the machine tomorrow 2023-03-08 18:55:27 thanks a lot 2023-03-08 18:55:29 wyk72: rather than find the problem you'll just reformat??? 2023-03-08 18:55:45 mimimal: it should be a production machine 2023-03-08 18:55:54 I can't afford to get those errors 2023-03-08 18:56:03 won't sleep at night 2023-03-08 18:56:15 well.. 2023-03-08 18:56:16 I'll dump the whole thing 2023-03-08 18:56:17 and if you don't know what the error is then if it appears again when you reinstall then what? 2023-03-08 18:56:25 I have like 2023-03-08 18:56:35 5 installa of Alpine w php7 2023-03-08 18:56:38 5 installs 2023-03-08 18:56:41 if you need something from edge/testing is not probably good choice for something in production :\ 2023-03-08 18:56:51 in various VPS 2023-03-08 18:56:53 yes 2023-03-08 18:56:58 but I need php7 2023-03-08 18:57:07 I thought it was not this dramatic 2023-03-08 18:58:08 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68159 might be a known issue in gdb 2023-03-08 18:58:36 if you want create at last an issue on https://gitlab.alpinelinux.org/alpine/aports/-/issues 2023-03-08 18:58:44 donoban meant to say: if you want create at least an issue on https://gitlab.alpinelinux.org/alpine/aports/-/issues 2023-03-08 18:58:44 s/last/least/ 2023-03-08 18:58:46 actually it's the first time I encountered this issue 2023-03-08 18:58:55 I will check hardware first 2023-03-08 18:59:01 tommorow 2023-03-08 18:59:06 I need to be sure :) 2023-03-08 18:59:16 bye 2023-03-08 18:59:20 maybe if you can get a auto-generated dump it loads fine on gdb 2023-03-08 18:59:27 see you 2023-03-08 19:19:31 quit 2023-03-08 21:01:08 how do you add new user to multiple groups? 2023-03-08 21:02:09 user does or doesn't yet exist? 2023-03-08 21:02:39 echo group1 group2 group3 | xargs -n1 | xargs adduser user 2023-03-08 21:03:10 user doesnt exist lopid 2023-03-08 21:03:51 useradd -G group1,group2,group3 -m username 2023-03-08 21:03:57 (-m is create-home) 2023-03-08 21:04:12 (requires shadow) 2023-03-08 21:04:41 echo group1 group2 group3 | xargs -n1 adduser user 2023-03-08 21:04:47 adduser cant add multiple groups? 2023-03-08 21:05:15 'Usage: adduser [OPTIONS] USER [GROUP]' 2023-03-08 21:05:55 okok :] 2023-03-08 21:06:15 i would have done usermod later since adduser doesn't say it accepts multiple groups 2023-03-08 21:06:36 I'd just execute it multiple times 2023-03-08 21:07:26 i always have to look up whether to use adduser or useradd :( 2023-03-08 21:15:43 just use busybox :> 2023-03-08 21:16:14 busybox just as adduser 2023-03-08 21:48:48 Packages that use network on `prepare` should also have `options="net"`? 2023-03-08 21:48:58 (specifically: `cargo fetch`) 2023-03-08 21:49:17 yes 2023-03-08 21:49:29 after the fetch phase, network is disabled with rootbld 2023-03-08 21:49:47 Can I override `fetch` and do the `cargo fetch` bit in there? 2023-03-08 21:50:14 You'd also need to unpack then 2023-03-08 21:50:40 Oh, because usually you do fetch->unpack (and this stage untars). 2023-03-08 21:50:45 yes 2023-03-08 21:50:50 So if I override `fetch`, I'd mess up the ordering. 2023-03-08 21:50:55 correct 2023-03-08 21:51:02 Okay, so I'll just leave `cargo fetch` in `prepare`. 2023-03-08 21:51:12 Would be nice if we have some solution for that 2023-03-08 21:51:26 I guess this means that we can't build source tarballs for Rust packagse? 2023-03-08 21:51:37 sure, just need option=net 2023-03-08 21:51:48 for now, that's fine 2023-03-08 21:51:58 Sorry, wording was unclear... 2023-03-08 21:52:21 I mean we can't build a "source package" (e.g.: a packge with APKGBUILD and all sources required to build offline) for Rust pacakges. 2023-03-08 21:52:53 Not sure what the equivalent to `deb-src` is on Alpine. 2023-03-08 21:54:36 There is no convention for source packeges 2023-03-08 21:54:47 Not sure what the expecations are for source packages 2023-03-08 21:55:07 I mean, nothing prevents you from packaging all the sources 2023-03-08 21:59:01 btw, i think there was a proposal from someone (jirutka maybe?) to have a separate fetch step for go/cargo/etc. 2023-03-08 21:59:55 Right, but it also requires rootbld to be adjusted 2023-03-08 22:00:18 at the moment, after fetch, rootbld will invoke bwrap 2023-03-08 22:00:25 and everything continues in there 2023-03-08 22:01:05 It might make sense to delay bwrap to after the 2nd fetch 2023-03-08 22:01:17 fetch -> unpack -> fetch2 -> bwrap 2023-03-08 22:01:56 ikke: If I package all the sources, I'll still need network on the `cargo fetch` phase. 2023-03-08 22:02:37 You'll probably the fetch2 step to also use brwap for isolating, but bwrap with network. 2023-03-08 22:02:56 it's all or nothing 2023-03-08 22:03:41 Not sure what the consequences are of invoking bwrap twice 2023-03-08 22:48:01 You can use bwrap with networking allowed. 2023-03-08 22:57:53 Sure, that's what option=net does 2023-03-08 22:58:15 It omits --unshare-net 2023-03-09 04:04:34 Can someone give me a pointer to create an alpine-based distro? 2023-03-09 10:39:37 Goodspeed34: if you have to ask, then you probably don't have the resources to make your own distro 2023-03-09 11:34:11 sigh, itop and alpine are no great combo :| so now i need to learn how to build my own docker container :) 2023-03-09 11:34:28 That should not be too difficult 2023-03-09 11:35:01 Is that this? https://www.itophub.io/ 2023-03-09 11:35:09 yupyup 2023-03-09 11:35:34 unfortunatlky, it uses GLOB_TRACED or something, that aparantly isnt available on musl based systems 2023-03-09 11:39:11 but yeah :) i think i can build a docker container :) 2023-03-09 12:01:45 ofcourse its never as easy as one thinks :) 2023-03-09 12:02:28 JohannesJ[m]: cannot find a lot about GLOB_TRACED 2023-03-09 12:03:22 oh sorry, its GLOB_BRACE 2023-03-09 12:03:48 google for "php error GLOB_BRACE" and the first result links to an alpine issue already :) 2023-03-09 12:04:55 Trying to find out what normally provides that functionality 2023-03-09 12:06:09 glibc apparently 2023-03-09 12:06:14 https://ftp.gnu.org/old-gnu/Manuals/glibc-2.2.3/html_node/libc_142.html 2023-03-09 12:08:16 exactly ;-) thats why i move on to building a docker container for it 2023-03-09 12:09:58 https://musl.openwall.narkive.com/WA1pH07x/glob-brace 2023-03-09 12:16:08 meh 2023-03-09 12:20:43 JohannesJ[m]: https://github.com/vbkunin/itop-docker 2023-03-09 12:21:14 yeah i know :) i cant find that dockerfile though :| 2023-03-09 12:21:36 https://github.com/Combodo/iTop/blob/57c36d0e51cc57f06ef55c7ec56cb5c7a8fca225/lib/laminas/laminas-stdlib/src/Glob.php#L25 2023-03-09 12:21:44 seems like it has a fallback if glob_brace is missing? 2023-03-09 12:22:19 well, it doesnt work :) 2023-03-09 12:25:38 OMG 2023-03-09 12:25:43 there is a Dockerfile :| 2023-03-09 12:25:47 i feel so stupid now 2023-03-09 12:46:03 If using a git-tag as a source for an APKBUILD possible? 2023-03-09 12:47:35 if a branch or commit is, then a tag is as well - I think 2023-03-09 12:48:02 Can an APKBUILD use a git repo as `source=`? 2023-03-09 12:48:08 Or should I just write my own `fetch` function? 2023-03-09 12:48:59 WhyNotHugo: abuild does not clone git repos 2023-03-09 12:49:15 WhyNotHugo: many hosting solutions allow you to obtain archives from tags though 2023-03-09 12:49:46 Those archives lack git metadata. In particular, versioning. 2023-03-09 12:51:03 And you can't do something like echo "$pkgver" >$builddir/VERSION? 2023-03-09 12:51:26 In this case, meson extracts the version information by invoking `git` itself. 2023-03-09 12:51:57 There are many projects that do something like that 2023-03-09 12:52:01 most of the time, easily patched 2023-03-09 12:52:32 As an upstream, this is a very convenient approach. I just read the version from the version control system :P 2023-03-09 12:53:12 Writing the version into a file means that the version is now stored in two places, and can be inconsistent. 2023-03-09 12:53:13 THe assumption that there is always a version control system available, or the one present is the one you are expecting is a false one 2023-03-09 12:53:30 Also I can sign git-tags, so downstreams can use GPG to verify the signature. The tarballs generated by forges are unsigend. 2023-03-09 12:53:49 The version control system is a build dependency. 2023-03-09 12:54:09 if i put a big file in /tmp, will it consume memory? i don't see it from free -m 2023-03-09 12:54:22 uniqNuuid: if it's mounted as tmpfs, then yes, it should 2023-03-09 12:55:23 it is mounted 2023-03-09 12:56:58 it is a 500M file. free -m shows 500 shared. but the free memory doesn't seem to be changing 2023-03-09 12:57:36 Did you also compare cached memory? 2023-03-09 12:58:40 no, but i mean, if a running program consumes 500M memory, it will show up in free -m used section 2023-03-09 12:58:53 This is not a program consuming memory 2023-03-09 12:59:40 This is the kernel using memory to store files 2023-03-09 13:00:03 similar to how it caches files it read from disk so that it's faster the next time 2023-03-09 13:00:59 ohh. i see. thanks! 2023-03-09 13:01:26 WhyNotHugo: consider teaching Meson to run a meson.add_dist_script() that writes the version info to a file, and have your version field run a command that first checks that file, then tries git. 2023-03-09 13:01:51 WhyNotHugo: and then use `meson dist` to generate a tarball, PGP-sign it, and upload both files as release attachments 2023-03-09 13:03:02 WhyNotHugo: as a distro, we archive sources so that they remain available even if upstream disappears, and also adds transparency when upstream changes things (even though they do sign the changed tarbals) 2023-03-09 13:03:30 also keep in mind that PGP-signed git tags are strictly inferior to PGP-signed tarballs 2023-03-09 13:03:43 because the former signs a sha1 hash, the latter signs the actual full contents 2023-03-09 13:03:55 Yeah... that sounds like a lot of work to repeat on each release compared to `git tag -sf && git push $TAG`... 2023-03-09 13:04:05 a lot of work to repeat??? 2023-03-09 13:04:09 ... And I'd need a separate workflow for projects that use `cargo` instead of `meson`. 2023-03-09 13:04:41 there are automation tools for attaching release assets to software forges :P 2023-03-09 13:05:05 and cargo is even more important, you want to publish tarballs that have their locked crates included in the download 2023-03-09 13:05:09 so they actually build offline 2023-03-09 13:05:16 Right! So right now I'm using `git tag && git push`, but I'd need to (a) write a script that does meson build && gpg sign && push-to-forge... 2023-03-09 13:05:27 ... And now I have something working for meson but I need another script for cargo. 2023-03-09 13:05:51 elibrokeit: I keep valid lockfiles in the git repo. You don't NEED a tarball. 2023-03-09 13:07:20 not sure if you even read my comment? 2023-03-09 13:07:49 considering my entire rationale for doing this was "so that builds don't need network", I'm pretty sure I do need tarballs? 2023-03-09 13:08:07 Oh, I though you meant the lockfile, you mean a tarball with the locked dependencies bundled in there? 2023-03-09 13:08:20 Oh, that would be quite useful actually. 2023-03-09 13:08:34 How do you generate such a tarball? 2023-03-09 13:09:12 `cargo vendor` 2023-03-09 13:13:00 WhyNotHugo: you could probably add a meson run_target to do releases with `ninja makerelease` 2023-03-09 13:18:29 The cargo and meson projects are different ones. 2023-03-09 13:18:44 But I have the same situation in both: currently releases are just signed git tags. 2023-03-09 13:19:49 yes, just offering suggestions for the latter 2023-03-09 13:20:18 (although i hope meson will be able to replace cargo soon!) 2023-03-09 13:48:53 i have an alpine vm started by QEMU, if i remove the line "ttyAMA0::respawn:/sbin/getty -L 0 ttyAMA0 vt100" from /etc/inittab, then, the login prompt does not showup. i wonder why is that, because i don't have such line for other alpine installation on real hardware or on cloud vps 2023-03-09 13:49:29 uniqNuuid: because that tells the system to start a login prompt on the serial console 2023-03-09 13:50:57 Presumably you connect to the vm through the serial interface rather than a graphical display 2023-03-09 13:51:44 -nographic disable graphical output and redirect serial I/Os to console 2023-03-09 13:51:56 i had this arg for qemu 2023-03-09 13:52:02 There you go 2023-03-09 13:52:43 but i really don't want a qemu window to show up. i'd like to have qemu stayed in the terminal window 2023-03-09 13:53:48 then what is the issue? 2023-03-09 13:53:57 keep that line and use that 2023-03-09 13:54:55 the issue is, recent alpine installation does not have such line added to inittab after installing 2023-03-09 13:55:29 It does not assume you have such a serial device, no 2023-03-09 13:55:43 also i don't know how that lines was added, i don't see it on real hardware, which script/program added that line? 2023-03-09 13:55:56 Do you use the virt image? 2023-03-09 13:56:04 yes, i use virt 2023-03-09 13:58:01 i grepped around the rootfs, and only find a script called initramfs-init that have the code to add a line to inittab 2023-03-09 13:58:37 but if i remove the line, initramfs-init will not add it back. 2023-03-09 13:59:33 so i guess it is added during the first time installation... 2023-03-09 13:59:57 by setup-alpine maybe? 2023-03-09 14:01:14 If the iso has that already, I think setup-disk copies that over 2023-03-09 14:04:24 you are probably right. 2023-03-09 14:05:47 3.17.2 virt ISO has the line. let me try 3.17.2 standard 2023-03-09 14:09:03 i think /etc/inittab is dynamicly generated by the ISO 2023-03-09 14:10:03 i fount that if i start the ISO via QEMU, then the line showed up. if via tart (using macOS native vm framework), it does not have the line. the ISO is the same 2023-03-09 14:11:01 that, however explains my question. 2023-03-09 14:11:55 Probably because tart does not provide that serial interface 2023-03-09 14:12:16 yeah. 2023-03-09 14:42:45 elibrokeit: So I've added an `add_dist_script`, but the version file doesn't end up inthe tarball. 2023-03-09 14:42:48 https://codeberg.org/WhyNotHugo/caffeine-ng/commit/092c11bd8ef01bac06bd377ac271da1248e273a7 2023-03-09 14:42:51 Any ideas? 2023-03-09 14:44:20 add_dist_script isn't a function, it's a method on the meson built-in object. 2023-03-09 14:44:27 meson.add_dist_script 2023-03-09 14:44:36 did this actually configure correctly? 2023-03-09 14:45:00 Ooh. 2023-03-09 14:45:09 `meson build` works, but if I delette `build` then it fails. 2023-03-09 14:53:35 Aw shit, meson expect the "version" to be hardcoded into `meson.build`. 2023-03-09 14:54:05 This is the same stupid beahviour as cargo. I'm using git for version control. Keeping versions in files reminds me of the CVS days. 2023-03-09 14:55:22 you can get the version in project() with version: run_command('get_version.py:, check: true).stdout().strip() 2023-03-09 14:55:38 s/:/'/ 2023-03-09 14:55:38 elibrokeit meant to say: you can get the version in project() with version' run_command('get_version.py:, check: true).stdout().strip() 2023-03-09 14:55:49 argh no 2023-03-09 14:56:10 s/:,/',/ 2023-03-09 14:56:10 elibrokeit meant to say: you can get the version in project() with version' run_command('get_version.py', check: true).stdout().strip() 2023-03-09 14:56:35 bleurgh 2023-03-09 14:57:01 hah 2023-03-09 14:57:18 easier to just manually fix :P 2023-03-09 14:57:26 anyway yeah, you don't have to hardcode anything but you do need some method of communicating the version, and that's run_command 2023-03-09 14:57:42 ikke: imagine re-typing that all by hand on my phone 2023-03-09 14:57:50 I wish I could just up-arrow 2023-03-09 14:58:02 hmm, on my phone I can hold the chatbox to get history 2023-03-09 14:58:07 (weechat-android) 2023-03-09 14:58:16 elibrokeit: Oh, i though that was not allowed. So I need to move the version-reading into another script -- the third script I need for this mess. 2023-03-09 14:58:29 I'm currently using goguma 2023-03-09 14:58:51 WhyNotHugo: e.g. the git project has ./GIT-VERSION-GEN 2023-03-09 14:58:57 which does both in the same script 2023-03-09 14:59:44 run it during tarball creation, it creates the file. run it during build, it gets the version back from the file 2023-03-09 15:00:34 (note that git itself does not store the version in the tree) 2023-03-09 15:00:56 though the GIT-VERSION-GEN has a fallback version 2023-03-09 15:01:50 The nice thing of that script is that it supports both usecases 2023-03-09 15:02:00 get the version from the SCM, but allow to override it 2023-03-09 15:18:28 I think this covers it all: https://codeberg.org/WhyNotHugo/caffeine-ng/commit/e34af608268062cb37fa731d9ff7b9095e1e21f1 2023-03-09 15:25:29 Oh, lovely, codeberg's URLs for releases look something like -> https://codeberg.org/attachments/6da08199-604f-4f0f-b9dd-c50efe587965 2023-03-09 15:25:50 fun 2023-03-09 15:26:09 Maybe there is some alias / redirect? 2023-03-09 15:26:32 you could also probably add the git tagging/pushing to the release script 2023-03-09 15:27:17 True. 2023-03-09 15:27:27 But I might run the script in CI in future. 2023-03-09 15:27:35 I haven't decided yet. 2023-03-09 15:30:29 as far as the naming scheme goes, that does remind me 2023-03-09 15:30:30 https://github.com/go-gitea/gitea/issues/18078 2023-03-09 15:30:41 gitea is a trashfire of a software forge 2023-03-09 15:31:10 I think there was even some javascript involved in the past (not sure if it's still there) to prevent getting usefull urls 2023-03-09 15:31:12 I'm unlikely to host more projects there. 2023-03-09 15:31:34 s/think/recall/ 2023-03-09 15:31:34 ikke meant to say: I recall there was even some javascript involved in the past (not sure if it's still there) to prevent getting usefull urls 2023-03-09 15:33:00 the sane urls apparently do exist but totally undocumented, because "you might want to upload multiple files with the same name to the same release" 2023-03-09 15:33:20 so they don't want to commit to the stable url working 2023-03-09 15:34:33 lmao, why would i want to provide multiple files for a single release, with the same name? 2023-03-09 15:34:39 still waiting for a forge that allows you to disable autogenerated tarballs altogether, on the grounds that sometimes projects want to guarantee people get their lovingly crafted manual tarballs 2023-03-09 15:34:47 I guess you might want to do that if you relly want to make sure nobody uses your software. 2023-03-09 15:34:48 I do not know... 2023-03-09 15:35:57 Generated tarballs are super annoying. This project won't build for example: you either need version control metadata, or the generated file. 2023-03-09 15:46:42 I thought that if a package had `depends="libnotify", that implicily added `makedepends="libnotify-dev". That's not the case? 2023-03-09 15:46:50 no 2023-03-09 15:46:53 the other way around 2023-03-09 15:47:11 if you add libnotify-dev, abuild will trace the so dependencies 2023-03-09 19:09:30 diskless dont support dist upgrade? 2023-03-09 19:12:11 frag: it does, but you need to update the boot media 2023-03-09 19:15:21 okok 2023-03-09 20:40:55 Is there a `man if` for sh? 2023-03-09 20:42:06 try "help if" 2023-03-09 20:42:59 test 2023-03-09 20:43:55 WhyNotHugo: I guess you are referring to `[ ]`? 2023-03-09 20:46:47 https://manpages.org/test 2023-03-09 21:04:50 man-pages-posix IIRC 2023-03-09 21:59:27 I'm considering to switch to Alpine. Is gpsbabel available as a package? 2023-03-09 21:59:55 https://pkgs.alpinelinux.org/packages?name=gpsbabel&branch=edge&repo=&arch=&maintainer= 2023-03-09 22:04:37 ikke: Thanks. Do I understand right that gpsbabel is _not_ available? 2023-03-09 22:04:49 ccccccnnijjhenrnilrrcdlhrdhuhkucdjfbkrkcutbr 2023-03-09 22:04:51 It doesn't appear to be packaged, no 2023-03-09 22:04:59 abby: is that a yubikey? 2023-03-09 22:05:14 oops 2023-03-09 22:05:17 ues 2023-03-09 22:05:19 yes 2023-03-09 22:05:20 hehe 2023-03-09 22:05:24 ikke: Thanks. 2023-03-09 22:11:12 abby: jikdnhgfknlasjhrnklhawekfjhserdkg 2023-03-09 22:11:49 the crow flies at midnight? 2023-03-09 22:32:10 lopid, de slavink is in het nest 2023-03-09 22:34:05 i see 2023-03-09 22:34:12 do you 2023-03-09 22:34:14 :) 2023-03-09 22:34:19 (i'll stop now) 2023-03-09 22:37:57 You are Grey Squirrel, yes? 2023-03-10 01:57:42 Hello, I am running alpine linux in a docker container. When I open up the terminal and try to run chsh (a utility for changing the default shell of a user) it is prompting for a password. I am already running as root though and have never set a password, so I am not sure what to put here. 2023-03-10 01:58:01 Perhaps I am just misunderstanding how alpine linux works, but would anyone have any insight here? 2023-03-10 02:06:31 not quite sure how you expect changing the default shell to work in a docker container 2023-03-10 02:07:52 I am following an example from render.com which I am using for cloud services 2023-03-10 02:08:00 https://raw.githubusercontent.com/render-examples/wordpress/master/Dockerfile 2023-03-10 02:08:10 but using an alpine based wordpress 2023-03-10 02:08:34 (this would be in place of the usermod command) 2023-03-10 02:08:48 why would you need to replace usermod with chsh 2023-03-10 02:08:53 just use usermod 2023-03-10 02:09:05 I got command not found for usermod 2023-03-10 02:09:23 it's provided by the exact same package as chsh, shadow 2023-03-10 02:09:31 When I looked it up what I was seeing online was to use chsh on alpine instead 2023-03-10 02:09:35 unless you're running some old version of alpine 2023-03-10 02:09:39 ah 2023-03-10 02:09:44 I'll give it a go 2023-03-10 02:11:22 Is there an easy way to determine which alpine I am running from the terminal? 2023-03-10 02:11:59 uname -0 just says "Linux" 2023-03-10 02:12:14 sorry, that is -o not -0 2023-03-10 02:13:16 cat /etc/os-release 2023-03-10 02:13:49 v 3.17.2 2023-03-10 02:14:08 seems recent 2023-03-10 02:18:10 Ok that seems to fix that particular issue. Thanks. I am still not sure what password chsh is prompting for though 2023-03-10 02:18:42 probably the (unset) root password 2023-03-10 04:38:42 i noticed there is 'iface eth0 inet dhcp' in /etc/network/interfaces . but 'man interfaces' does not mention 'inet' at all. what is this inet for? 2023-03-10 04:45:57 sd: to change the shell for root, edit /etc/passwd and replace ash with your favorite shell 2023-03-10 04:46:09 first, cat /etc/shells to see available shells 2023-03-10 04:50:29 "The interface name is followed by the name of the address family that the interface uses. This will be "inet" for TCP/IP networking and inet6 for ipv6." 2023-03-10 04:50:57 dwfreed: thanks, where is this from? 2023-03-10 04:51:14 not sure if that string is in the alpine manpage, but it's in the debian one 2023-03-10 04:51:30 is that ifupdown-ng? 2023-03-10 04:52:15 I copied that line from ifupdown2, but a similar one exists in the original ifupdown manpage 2023-03-10 04:52:20 https://manpages.debian.org/bullseye/ifupdown/interfaces.5.en.html#INTERFACE_DEFINITIONS 2023-03-10 04:52:37 ok, i think alpine uses ifupdown-ng: https://github.com/ifupdown-ng/ifupdown-ng/blob/main/doc/interfaces.scd 2023-03-10 04:52:57 ifupdown2 is the samething as -ng? 2023-03-10 04:53:01 no 2023-03-10 04:53:50 "ifupdown-ng is a network device manager that is largely compatible with Debian ifupdown, BusyBox ifupdown and Cumulus Networks' ifupdown2." 2023-03-10 04:53:54 from ifupdown-ng's readme 2023-03-10 04:55:09 it looks like -ng doesn't actually care about the address family, it just accepts it to be compatible 2023-03-10 05:19:44 i see, that's for compatible reason 2023-03-10 07:18:06 iface eth0 ipx dhcp when 2023-03-10 10:32:28 anyone know where telegram-desktop keeps its login info so i can copy from one computer to another? 2023-03-10 10:33:31 at times like this i start with `locate` 2023-03-10 10:37:11 ah yes :] 2023-03-10 10:37:25 strace -f -e openat telegram-desktop 2023-03-10 10:55:00 candidates: libsecret, browser engine cookies 2023-03-10 11:13:07 didnt expect mpv to work in the console :X pretty cool 2023-03-10 11:14:15 is the console the thing you log into before starting xorg? or whats that called? 2023-03-10 11:15:15 yes 2023-03-10 11:16:08 seems to be used as synonym for terminal too.. 2023-03-10 11:16:27 yeah there're a few terms that get bandied about 2023-03-10 11:24:43 my interpretation is that: that's the "terminal", and if you start i.e. xfce4-terminal in X, it is a "terminal emulator" (and this is what they actually write: "Xfce Terminal Emulator") 2023-03-10 11:44:30 how do i exclude two paths? doas find / -path '*blueto*' ! -path '/mnt/*' ! -path '/1/*' 2023-03-10 11:45:26 -and 2023-03-10 11:45:54 -not instead of ! 2023-03-10 11:46:01 -and is implicit 2023-03-10 11:46:17 s/-and/-a/ 2023-03-10 11:47:09 not sure if its working, get no errors tho, expected it to be super fast on 1.7G tmpfs 2023-03-10 11:49:18 Hi 2023-03-10 11:49:32 yoyo 2023-03-10 11:50:05 I see in the build logs that mariadb has lzo, lz4, bzip2 and snappy innodb compression support disabled. Is there a particular reason for this? 2023-03-10 11:51:03 frag, use -prune 2023-03-10 16:45:43 hello guys, I need a piece of advice if possible 2023-03-10 16:46:10 which one? 2023-03-10 16:46:25 I am trying to run xspice to have a gui into a headless server, like a LXC container (with Alpine) 2023-03-10 16:46:59 it used to work ..sometimes, sometimes xspice segfaults with no reason 2023-03-10 16:48:01 there is a reccomended way to run xspice in a "no-graphics card" Alpine environment ? 2023-03-10 16:50:19 ...or maybe some other software that renders a "virtual graphics card" that I can connect remotely, instead of the ancient xspice ? 2023-03-10 16:51:59 The now-abandoned-upstream yubioath-desktop allowed using a yubikey to generate TOTP tokens. Does anyone know of any other tool to do this? Preferrible a simple CLI? 2023-03-10 16:56:44 WhyNotHugo: isn't the reason why a Yubikey doesn't do TOTP is that it doesn't have a clock? 2023-03-10 16:59:01 hi all. I'm installing Alpine on a laptop with no ethernet port. apk add iwd does not work with both alpine-std and alpine-ext. I don't understand how to connect to wifi from here. any help or clarification? 2023-03-10 17:18:52 minimal: It does implement it. It's basically challenge-response, where the challenge has the current timestamp. 2023-03-10 17:19:23 minimal: I've used it extensively (there's also phone apps), but it's just broken for me right now and upstream has deprecated the python tool for it. 2023-03-10 17:20:15 "not working" = https://gitlab.alpinelinux.org/alpine/aports/-/issues/14701 2023-03-10 17:20:40 torresjrjr: what you have tried? basically you have to start the iwd daemon, 'rc-service iwd start' and then with root or a user with netdev group, use iwctlfor setup it 2023-03-10 17:21:03 `apk add iwd` fails. 2023-03-10 17:21:15 uhM 2023-03-10 17:21:47 lol, maybe is not included in that images 2023-03-10 17:22:01 could you setup wpa_supplicant? does not setup-interfaces work? 2023-03-10 17:22:51 weird, `apk add wpa_supplicant` works now. didn't before. oh well. 2023-03-10 17:23:00 my problem is "solved". 2023-03-10 17:23:11 ty 2023-03-10 17:38:54 :) 2023-03-10 17:53:43 I get segfaults using xf86-video-qxl and/or xspice wrapper script, anyone has enlightements on the subject ? Alpine/Edge kern 6.1.16 LTS 2023-03-10 18:10:40 it seemd it's xfce4 that makes xf86-video-qxl segfault 2023-03-10 18:10:43 seems 2023-03-10 18:10:51 if I use dwm it works 2023-03-10 18:11:01 it's so minimalistic it hurts 2023-03-10 18:11:16 still better than a segfault...I guess 2023-03-10 18:20:16 WhyNotHugo: I meant that a Yubikey "self-contained" cannot do TOTP as it doesn't have a clock, so when uses together with yubioath-desktop the yubikey isn't doing TOTP, the app is 2023-03-10 18:51:28 I downloaded alpine virt image arm64 2023-03-10 18:51:46 how can I use it ?on virt-manager i cannot boot 2023-03-10 18:58:27 hi, help again. booting from a USB installation medium, `rfkill list` does not list any wifi device. I can't autoconnect to any wireless network. 2023-03-10 18:59:37 how can I make Alpine recognise my wifi device? 2023-03-10 20:24:39 could someone kindly pastebin me their copy of iwd-*.apk ? 2023-03-10 20:24:42 hi everyone, sorry if this is a known issue but i found no results about my problem. apk suddenly stopped working with the error: ERROR: Unable to read database state: No buffer space available 2023-03-10 20:25:06 i can write to the disk just fine, everything seems to be working except for apk 2023-03-10 20:25:23 running 3.17 2023-03-10 20:25:39 x86_64 2023-03-10 20:45:20 ah nevermind, one can get it from the releases page on alpinelinux.org 2023-03-10 21:02:18 minimal: I though the app sent the current timestamp as a challenge and the yubikey used the key internal and returns the result. 2023-03-10 21:02:28 I don't think it reveals the key to the app, that would be terrible. 2023-03-10 21:16:26 I have a discrete GPU, but the motherboard has built-in video too. Can I run a qemu VM with direct to the on-board GPU and plug that onto a separate monitor? 2023-03-10 21:17:20 I'd like to get a light on a problem I'm facing. I have the following APKBUILD I'm trying to create: 2023-03-10 21:17:25 https://git.sr.ht/~gabrielgio/apkbuilds/tree/3.17/item/apks/photoview/APKBUILD 2023-03-10 21:18:11 But I get the following error: https://builds.sr.ht/~gabrielgio/job/955145#task-build-749 2023-03-10 21:18:37 Sorry if I'm flooding the chat, but I staring at the problem for hour and I can find why. 2023-03-10 21:18:46 WhyNotHugo: attempting to passthrough the integrated GPU may not be possible due to IOMMU grouping requiring passing through devices that are needed for the system to function 2023-03-10 21:18:50 s/can/cant/g 2023-03-10 21:21:43 WhyNotHugo: probably would be easier to use something like PRIME to attach to the iGPU's output, and then just full-screen a SPICE viewer on that monitor 2023-03-10 21:28:03 gabrielgio: that error means there are no openrc related files in the expected location 2023-03-10 21:28:28 gabrielgio: so either move / install the files or remove the openrc subpackage 2023-03-10 21:29:30 ikke: but I have them in the same folder, both `photoview.confd` and `photoview.initd` 2023-03-10 21:30:46 You need to install them in /etc/init.d and /etc/conf.d respectively 2023-03-10 21:31:29 ikke: omg, I forgot about install those. Thank you some much! 2023-03-10 21:32:09 s/about/to/g 2023-03-10 21:33:37 No problem 2023-03-10 22:55:15 hi, I think I found a bug with the packaging of a split package. The package in question is dnsmasq-dnssec-dbus. It seems like the package is missing the pre-install hook. it's not present in the apk file at least. Although the APKBUILD file mentions a pre-install hook for the given split package. I wanted to ask here if my findings are correct in that the build package is somehow broken before filing an issue with the ticket system. 2023-03-10 23:06:54 it does have it 2023-03-10 23:07:25 ah, in edge only 2023-03-10 23:08:07 sure, backported to 3.17 too 2023-03-10 23:15:44 interesting, so yeah, the version 2.89-r1 in edge has the hook, the version 2.87-r0 in 3.17/main/x86_64 does not 2023-03-10 23:16:17 I downloaded the apk files from the rwth-aachen.de mirror and checked the content manually 2023-03-10 23:29:55 so, how do we get this backported? 2023-03-10 23:31:57 it already is 2023-03-10 23:31:58 ca1f: done already, see https://git.alpinelinux.org/aports/commit/?id=1418ea7eecd1; might have to wait for the builders 2023-03-10 23:32:24 amazing, thank you very much 2023-03-11 00:41:13 is there more "bare bone" simpler way for boot with bios without uefi than using syslinux? 2023-03-11 00:41:29 if I setup 2023-03-11 00:42:56 If I setup timeout 0 it does not auto boot, I have to hit twice enter, first it show that blue crap with entry of Alpine Linux, second it boots it 2023-03-11 00:43:14 if I set up 1 sec it boots okay relatively but still 1 second wasted for nothing 2023-03-11 00:43:45 PROMPT 0 ? 2023-03-11 00:45:39 also one think which I am confused is is defalt kernel to load option 2023-03-11 00:45:51 somehow it does not matter what I type there 2023-03-11 00:46:15 I though if I update from lts to edge it will auto update that entry but 2023-03-11 00:47:39 oh now I see that if only one entry, timeout is ignored, well not if setup 0 anyway 2023-03-11 00:50:05 also would kindly ask, why with default ... there is like /boot/boot loop? 2023-03-11 00:52:52 so some bootloader on non-fat fs can resolve /boot regardless of whether it's from / or the /boot dir 2023-03-11 00:54:36 also not sure if /etc/update-extlinux works well , have there timeout=1 when running it it adds timeout=10 to /boot/extlinux.conf 2023-03-11 00:55:11 is there anything more sane or not many option for bios? 2023-03-11 00:55:58 morena, it extlinux.conf is a generated file 2023-03-11 00:56:01 don't edit it directly 2023-03-11 00:57:10 ye I edited /etc/update-extlinux.conf 2023-03-11 00:57:32 but I doubt that after 30 years of evolution this is the best way how to boot bios based computers 2023-03-11 00:57:43 may be wrong ;/ 2023-03-11 00:57:49 morena: there are other bootloaders for BIOS 2023-03-11 00:58:01 grub, limine, etc 2023-03-11 00:58:05 please just don't mentioned that one 2023-03-11 00:58:06 oh shit 2023-03-11 00:58:28 okay will check limine, etc 2023-03-11 00:58:36 alpine of wiki agains excellent ;/ 2023-03-11 00:58:54 I meant wiki of alpine 2023-03-11 01:02:24 lilo? :) 2023-03-11 01:02:32 or freedos+loadlin :-) 2023-03-11 01:04:24 lilo dev stopped 7 years ago (I'm surprised it was even developed up to then). I haven't used LILO in maybe 20+ years 2023-03-11 01:05:02 I did not use bios machine long time, but now I have one, so get confused ;/ 2023-03-11 01:17:29 funny "limine" install only "limine-version" executable, pretty useless ;/ 2023-03-11 01:18:13 did you bother to read the Limine docs? 2023-03-11 01:20:21 trying 2023-03-11 01:23:34 I think I will stay with syslinux ;/ 2023-03-11 01:24:06 what exactly is the problem with Syslinux? it is pretty simple 2023-03-11 01:25:01 12 files in boot is pretty simple? 2023-03-11 01:25:35 I meant simple to setup and simple in what it does 2023-03-11 01:25:40 but ye, it boot, even with 1 second delay 2023-03-11 01:26:11 also have you actualy read the limine docs? or just decided limine is not for you because it doesn't automatically set thing up for you? 2023-03-11 01:26:21 I read few lines 2023-03-11 01:26:41 there was pretty huge story about it for to be a simple 2023-03-11 01:26:44 ok, so TLDR then... 2023-03-11 01:26:53 ye I missed tldr 2023-03-11 01:27:16 minimal: seems to be a classical case of "i refuse to read but the thing doesn't work, what gives?" 2023-03-11 01:27:31 Is there anything that may make alpine unsuitable for embedded? 2023-03-11 01:27:51 psykose: agreed, plus the Syslinux complaint of "it has 1 second delay" is also crazy 2023-03-11 01:28:03 i am pretty sure delay=0 is a thing 2023-03-11 01:28:09 I did not say it does not work 2023-03-11 01:28:16 timeout=0 rather 2023-03-11 01:28:21 morena: if you strive to reduce the number of files in your boot partition then your goal would be efi and unified kernel images. My efi system partition contains only a single file. 2023-03-11 01:28:34 when I use timeout=0 it does not boot auto, I have to press 2 times enter 2023-03-11 01:28:54 and that file contains the kernel image, command line and initramfs 2023-03-11 01:28:57 it stays in "booting alpine linux in 0 sec." at the bottom 2023-03-11 01:29:19 ca1f: ye, tell it to bios only machine ;/ 2023-03-11 01:29:34 aww that sucks, how old is that bugger? 2023-03-11 01:29:37 normally I use efi stub from uefi but 2023-03-11 01:29:55 T400 ;/ 13 years approx? or something like that 2023-03-11 01:29:58 it's beast 2023-03-11 01:30:26 oh shit, it's 15 years 2023-03-11 01:30:29 thinkpad as well, that thing is going to last for a while as well, quite "unfortunate" 2023-03-11 01:30:58 ca1f: was lucky with this peace, so good condition, bought it for 50 eur and no one scratch or whatever 2023-03-11 01:31:09 with ssd already and 8 gb ram 2023-03-11 01:31:29 sounds like a really good deal 2023-03-11 01:32:32 ye, only shit is, it has ISO keyboard with that huge enter 2023-03-11 01:34:35 morena: so set "hidden=1" in update-extlinux.conf and no menu will appear 2023-03-11 01:35:15 I have it 2023-03-11 01:35:38 menu appaer if I hit enter bc. it stay "frozen" if setup timeout=0 2023-03-11 01:35:53 so have to hit enter and menu appear, if set timeout=1 then it autoboot 2023-03-11 01:35:57 either (a) you don't want a menu, or (b) you want a menu and want to configuration how long it appears before default entry is autoselected (timeout=0 makes no sense for displaying a menu) 2023-03-11 01:35:58 after one second ;/ 2023-03-11 01:36:13 this one looks oddly promising https://github.com/o8vm/krabs 2023-03-11 01:36:30 I have menu hidden 2023-03-11 01:36:34 if you have hidden=1 then you wouldn't see a menu, yet you saw menu still appears? 2023-03-11 01:36:43 ok: so then what's the problem? 2023-03-11 01:36:47 well 2023-03-11 01:36:57 hidden=1 timeout=1 everything boot without any issue 2023-03-11 01:37:00 with 1 second delay 2023-03-11 01:37:14 it's bios issue maybe 2023-03-11 01:37:18 hidden=1 timeout=0 it does not boot, have to hit enter, then I see blue menu, then hit enter again 2023-03-11 01:37:25 csm uefi kind stuff 2023-03-11 01:37:34 no uefi in this machine 2023-03-11 01:38:11 so set hidden=1 timeout=1 then 2023-03-11 01:38:20 yes that I have 2023-03-11 01:38:30 so what's the problem? 2023-03-11 01:38:32 better wait 1 seconds that to hit enter twice ;/ 2023-03-11 01:38:40 problem is unecessary 1 second? 2023-03-11 01:38:43 by logic 2023-03-11 01:39:10 unnecessary? how would you EVER get to menu if you needed to if it did no wait what-so-ever? 2023-03-11 01:39:25 hidden=1 2023-03-11 01:39:31 I don't want to go to any menu 2023-03-11 01:39:54 there is one entry "alpine linux" menu is pointless in this case 2023-03-11 01:39:59 now now, what if you're computer stops booting properly tomorrow and you need to go into single-user mode? 2023-03-11 01:40:07 s/now now/not now/ 2023-03-11 01:40:12 how I would go? 2023-03-11 01:40:14 esa? 2023-03-11 01:40:16 esc 2023-03-11 01:40:17 in that blue menu there is nothing 2023-03-11 01:40:23 just "alpine linux" menu entry, nothing more 2023-03-11 01:40:27 no other option or whatever 2023-03-11 01:40:34 morena: edit the menu and add a boot arg 2023-03-11 01:40:42 to get single mode 2023-03-11 01:40:50 alpine has single mode? 2023-03-11 01:41:01 everyone has 2023-03-11 01:41:05 it is a kernel feature 2023-03-11 01:41:13 oh do I want it? 2023-03-11 01:41:22 s/kernel/init/ 2023-03-11 01:41:36 no you don't 2023-03-11 01:41:37 yes, so during that one second yuo can press a button to make menu appear - if there was NO pause at all (even 1 sec) then you'd never be able to get to menu ever 2023-03-11 01:41:53 minimal: that's wrong. 2023-03-11 01:41:55 I don't want menu 2023-03-11 01:42:20 usually people press ESC to pop up the menu even timeout=0 2023-03-11 01:42:40 I give up... 2023-03-11 01:42:46 ye me too 2023-03-11 01:42:50 I use 1 second 2023-03-11 01:42:54 bc. 0 does not work 2023-03-11 01:43:07 try grub? 2023-03-11 01:43:13 and tell me to use additional menu .... 2023-03-11 01:43:43 hah, thank you for your offer, stallman would be proud of you. but I have have to pass this ;/ 2023-03-11 01:44:00 richard? 2023-03-11 01:44:04 ye, him 2023-03-11 01:44:06 legend 2023-03-11 01:44:23 morena's is obviously worried about all the 1 seconds "wasted" each time he boots adding up to days "wasted" over the next 10 years lol 2023-03-11 01:44:37 lol lol lol 2023-03-11 01:44:41 funny 2023-03-11 01:45:15 that's like normal for you? 2023-03-11 01:45:20 1 second here, another there 2023-03-11 01:45:25 you use windows? 2023-03-11 01:46:15 oh... that's not fair.. 2023-03-11 01:46:16 nope, I use "windows" (for light and air), not Windows 2023-03-11 01:47:04 my box takes 24seconds to boot ... 2023-03-11 01:47:22 I kinda agree though, wouldn't it be nice if your pc could boot to a graphical interface the moment you release the power button? Why does it has to spend so much doing something else 2023-03-11 01:47:54 ca1f: that would be suspend/resume wouldn't it? ;-) 2023-03-11 01:48:07 my boot within few seconds 2023-03-11 01:48:11 yeah until you lose power for some reason :/ 2023-03-11 01:48:12 ca1f: that was what chromeOS was for. 2023-03-11 01:48:20 but they did not make it happen... in the end 2023-03-11 01:48:27 also my frame.work notebook takes an unholy amount of time to wake up from suspend when I open the lid 2023-03-11 01:48:45 … which is a known problem 2023-03-11 01:49:37 from suspend or hibernate 2023-03-11 01:50:18 oh , my notebook wakes from suspend in 0.3 secoonds 2023-03-11 01:50:47 from s2ram 2023-03-11 01:51:45 also, if you think about it for a bit, suspend/resume is just a workaround for a problem that was just accepted, that the power up procedure takes so much time 2023-03-11 01:52:52 ca1f: well it does take time to initialise HW, do POST checks etc 2023-03-11 01:53:02 the bios also waits a bit to give the user the opportunity to enter the bios. But what for? After setting up the system how often do you enter the BIOS/Firmware settings? I really like the way uefi offers it: send the firmware the intent to enter the bios on next boot. 2023-03-11 01:54:17 morena: https://youtu.be/yy47vMPyDVQ 2023-03-11 01:54:26 well, alpine is not gnu/linux 2023-03-11 01:54:40 https://i.imgur.com/kv4PTiD.jpeg 2023-03-11 01:55:53 morena: no need to be rude 2023-03-11 01:56:12 you was rude with your "funny" lol 2023-03-11 01:57:32 morona: humour and rudeness are not the same things 2023-03-11 01:57:47 talking about someone as he is not there, in third person ye 2023-03-11 01:58:05 pretty standard now 2023-03-11 01:58:12 like 1 extra second in computing 2023-03-11 01:58:23 and I wasn't being crude 2023-03-11 01:58:30 I am not too 2023-03-11 01:58:36 maybe let's not drop slurs in the chat 2023-03-11 01:58:55 I was just curious about that one extra second 2023-03-11 01:59:13 I got stories about adding entry menu, single user mode and that 1 second is nothing 2023-03-11 01:59:13 I think some/many people in this channel would consider the word in that image to be crude 2023-03-11 01:59:27 those people should be not on the internet thne 2023-03-11 01:59:28 then 2023-03-11 01:59:45 and even alone on the street 2023-03-11 02:00:04 i could fix the issue with apk; the database was corrupt, i just deleted it and installing something it recreated it 2023-03-11 02:00:09 it's old meme joke 2023-03-11 02:00:36 why when i upgrade an alpine linux container from 3.16 to 3.17, /etc/os-release file isn't updated? 2023-03-11 02:00:55 that man is so gentle. i like his voice. 2023-03-11 02:01:20 tiffany_: how did you upgrade it? 2023-03-11 02:01:35 tiffany_: apk info -W /etc/os-release 2023-03-11 02:01:55 so `apk add alpine-release` 2023-03-11 02:02:38 uniqNuuid: living legend, no matter he somehow become dumb over time ;/ 2023-03-11 02:02:55 tiffany_: also why are you upgrading an alpine container? Generally you would replace that container with a new version using a newer Alpine version 2023-03-11 02:04:06 it is fine upgrading a container. 2023-03-11 02:05:16 uniqNuuid: technically it can be done yes, "conceptually" you would create/use a newer image version of your containerised "app" based on a newer Alpine version 2023-03-11 02:05:45 tiffany_: steps: apk info -v | grep alpine-release , do you see it? 2023-03-11 02:05:54 that's why point of Docker containers. Now tinnany_ could be talking about LXC containers instead, she wasn't specific 2023-03-11 02:06:06 s/ why/ the/ 2023-03-11 02:07:10 uniqNuuid: alpine-release-3.17.2-r0 | and i'm using docker 2023-03-11 02:07:24 tiffany_: I asked how you did the upgrade... 2023-03-11 02:07:28 tiffany_: also, run this : update-conf 2023-03-11 02:08:43 minimal: i edit the repositories file, upgrade apk-tools, then do `apk upgrade --available` 2023-03-11 02:09:24 tiffany_: ok, was making sure you'd specified "--available", often people forget that 2023-03-11 02:09:34 if you have alpine-release-3.17.2-r0 installed, the content of /etc/os-release should see VERSION_ID=3.17.2 2023-03-11 02:10:30 what do you mean, the file isn't updated? what is in the file? 2023-03-11 02:10:35 it still not updated ._. https://usercontent.irccloud-cdn.com/file/9YPaDENK/Screenshot_71.png 2023-03-11 02:11:25 cat /etc/os-release* 2023-03-11 02:11:33 don't miss the * 2023-03-11 02:16:23 tiffany_: apk audit | grep os-release 2023-03-11 02:16:52 if the file was modified, it will not get updated, and instead a file with os-release.apk-new should be there. 2023-03-11 02:18:30 `U etc/os-release` | and i did see the new file with `.apk-new` 2023-03-11 02:18:51 yeah, so you need to run update-conf to apply the new file 2023-03-11 02:19:16 os-release is probably one of those files that should be excluded from config file handling 2023-03-11 02:19:29 I wonder what modified that file in the 1st place 2023-03-11 02:19:43 i guess it was an accident 2023-03-11 02:19:52 some script modified it or so 2023-03-11 02:20:48 tiffany_: anyway, you may want to run update-conf everytime after upgrading software 2023-03-11 02:21:00 so you can keep the new config synced. 2023-03-11 02:21:31 install vimdiff, so you can sync the .apk-new files, do some editing comparing and so... 2023-03-11 02:22:04 `-ash: update-conf: not found` | hmm 2023-03-11 02:22:56 ohh, you don't have alpine-conf package 2023-03-11 02:23:08 apk add alpine-conf 2023-03-11 02:24:40 okay thanks for helping :) 2023-03-11 02:25:52 tiffany_: find /etc -type f -name "*apk-new" 2023-03-11 02:26:04 you can see all the updated files. 2023-03-11 02:26:51 the apk-new file only show up if the original file in /etc was modified. 2023-03-11 02:28:10 tiffany_: any particular reason why you simply don't use a newer version of the particular docker image? 2023-03-11 02:28:17 be care full when you run update-conf, there are some changes you want to sync back, there are some you don't want to .... 2023-03-11 02:35:18 tiffany_: any changes (like upgrades) you make in a running container will be lost if you ever stop it (unless you use docker commit to create a new modified image) 2023-03-11 03:24:03 is there a guide or updated documentation for getting alpine running in diskless mode on a Pi? 2023-03-11 03:24:41 between the wiki and guides I have found so far nothing is working - specifically when trying to designate a path for apks to be cached in. 2023-03-11 03:26:57 aeroraptor: don't you just boot from SDcard and run setup-alpine and select run-from-ram mode? 2023-03-11 03:27:41 mind you I've never tried, only run RPIs in Sys-mode so far 2023-03-11 03:29:36 that's what the wiki implies, but it's not working - when it asks me to designate a location for the cache it just says it can't find any location 2023-03-11 03:29:56 I had this working in the past, but that was probably a year ago 2023-03-11 03:29:57 did you unmount the sdcard? 2023-03-11 03:30:09 nope, I just booted it up and ran setup-alpine 2023-03-11 03:30:35 so obviously it can't write/partition to a SDcard if it is mounted 2023-03-11 03:34:03 aeroraptor: are you on sys mode right now? 2023-03-11 03:36:02 i have some notes you may find useful. https://0x0.st/oRhU.txt 2023-03-11 03:36:18 assume you are on sys mode already 2023-03-11 03:39:02 okay, let me take a look 2023-03-11 03:39:35 I don't know what being in "sys mode" means at this point - all I am doing is decompressing the rpi-aarch64 archive onto a fat32 SD card partition, then booting from it, and running setup-alpine 2023-03-11 03:39:59 in this case I specifically want to run in diskless mode 2023-03-11 03:40:26 yes, then you are on sys mode now. 2023-03-11 03:40:37 "sys mode" means running directly from SDcard 2023-03-11 03:42:08 gotcha, I understand now 2023-03-11 03:44:34 anyways, to keep changes you made in diskless mode, every time before reboot, you have to run 'apk cache -U sync && lbu ci' 2023-03-11 03:47:06 the most important step is the kernel parameters, if you have root=UUID=xxxx in there, it will boot sys mode. if remove `root= rootflags= rootfstype=`, then alpine will boot into diskless mode. aeroraptor 2023-03-11 03:50:09 it's a little bit different on the pi, I think 2023-03-11 03:50:19 aeroraptor: the note was taken on Jan 7, when i was doing diskless mode research with the believe of 'because i can'. so it is pretty new. 2023-03-11 03:50:21 https://usercontent.irccloud-cdn.com/file/El64OImz/IMG_1064.JPG 2023-03-11 03:51:36 check your date 2023-03-11 03:51:51 `date ` what does it say? 2023-03-11 03:52:48 it's correct, this happens after chrony is selected and started 2023-03-11 03:53:16 are you running setup-alpine? 2023-03-11 03:53:28 yep 2023-03-11 03:53:34 you don't need setup-alpine to get into diskless mode 2023-03-11 03:53:42 just follow my note 2023-03-11 03:54:57 you can use your current sd card as the storage. 2023-03-11 03:56:44 huh, okay, well I'll try that out now 2023-03-11 03:56:58 I know that's not what I did when I set this up (and had it working fine) a year or so ago 2023-03-11 03:57:15 when you read '/dev/sda2' in my note, you assume it is your root partition of your sd card, which is maybe your mmcblk0p2 2023-03-11 03:58:03 cause i experiment that on my usb drive back in Jan 2023-03-11 03:58:12 sure 2023-03-11 04:00:15 setup-alpine is an automatic method. mine is a mannual method after understanding how diskless mode works. 2023-03-11 07:00:42 if i use apk on a glibc os, e.g. to install alpine to a usb ... will it run? i think musl binary can't run, right? 2023-03-11 07:01:14 not unless it's statically linked to musl 2023-03-11 07:01:17 s/will it run? / will the installtion run?/ 2023-03-11 07:01:58 pacman -S apk-tools is able to install apk. this is fine. 2023-03-11 07:02:30 then i use apk --root /mnt/usb and other parammeter... 2023-03-11 07:02:45 that apk would work because it was compiled for glibc 2023-03-11 07:03:25 but i think, there are some triggers, that may run the binary on /mnt/usb, no? 2023-03-11 07:05:00 e.g. apk add --root /mnt/usb ..... grub 2023-03-11 07:05:14 then this triggers grub-install right? 2023-03-11 07:05:38 but grub-install is a musl binary, then it will not run on archlinux right? 2023-03-11 07:06:28 i think that happens. in theroy 2023-03-11 07:08:22 well, i think it is best to dd the iso to /dev/sda and reboot and use setup-alpine :) 2023-03-11 07:09:01 or chroot into a minirootfs like i did before :) 2023-03-11 07:34:48 hi, can anyone point me to good resources about dual booting alpine other than the wiki? 2023-03-11 07:45:28 yt-dlp/mpv having sound problems with youtubes? 2023-03-11 08:22:19 shouldn't 2023-03-11 08:28:30 you get sound on this (stable, fully upgraded) https://www.youtube.com/watch?v=I0mzB4nRsqA 2023-03-11 08:31:07 if you mean 3.17 i did forget to backport 1 thing 2023-03-11 08:31:11 aside from that it works 4 me 2023-03-11 08:41:04 hmm :S 2023-03-11 08:57:32 oopgrade and find out 2023-03-11 09:48:49 'cyptsetup luksOpen ..' doesnt work in .profile? wont allow interaction? same with .xinitrc? 2023-03-11 09:49:20 are you giving it a key file? 2023-03-11 09:50:00 lopid: no i want to type it in 2023-03-11 09:53:17 yeah, that's not going to work well then 2023-03-11 09:53:37 xinitrc might be fine if it's using an X11 askpass 2023-03-11 10:12:06 dwfreed: Using SPICE falls back to basically transfering video over the network, and that's the kind of latency/slowness that I wanted to avoid. 2023-03-11 10:16:50 WhyNotHugo: spice should be pretty performant on the same system 2023-03-11 10:17:07 it's no native, sure, but it shouldn't suck 2023-03-11 12:12:19 Hi, !44833 needs a review if anyone has time. 2023-03-11 12:20:05 that has to be one of the worst things i've ever seen :D 2023-03-11 12:47:34 tell upstream to go touch… themselves 2023-03-11 13:25:47 hello ppl, I have to make an ancient video capture card work with Alpine & v4l2 2023-03-11 13:25:56 most cards I've tried work 2023-03-11 13:26:16 this one is missing the kernel module I guess, it's a bt878 quad-channel 2023-03-11 13:26:54 in the kernel config I read "# CONFIG_VIDEO_BT848 is not set" 2023-03-11 13:27:09 so the driver is completely missing from the kernel tree? 2023-03-11 13:28:24 it's a PCI card - 03:04.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11) 2023-03-11 13:29:53 the only module that gets loaded is gpio_bt8xx 2023-03-11 13:30:01 that I have no idea what it is 2023-03-11 13:30:16 Good luck, those cards were pretty horrible. You will have to build your own kernel, or at least build the module for the kernel you are running 2023-03-11 13:31:02 I just need them to get a yuy-something video signal into ffmpeg 2023-03-11 13:32:41 I know that those are horrible, but sometimes you have to deal with horrible situations (i.e. ancient video equipment that you can't swap with something else) 2023-03-11 13:35:24 yeah. In a grey past I have had those working with CentOS. The wiki has some hints in https://wiki.alpinelinux.org/wiki/Custom_Kernel 2023-03-11 13:42:13 I know how to compile the kernel, done in the past, but I'd rather not dwell into that painful route again 2023-03-11 13:44:17 but it seems unavoidable 2023-03-11 13:47:41 Unless you can convince the powers that be to change that setting to 'M' in alpine, it is the only way yes 2023-03-11 13:50:00 Usually that means opening an issue on gitlab 2023-03-11 13:51:56 I am clonign aports now 2023-03-11 13:52:32 I guess it's not worth to open a gitlab issue, those cards are ancient relics, no point in adding additional baggage to the kernel for ancient stuff 2023-03-11 13:52:44 I'll try to build the module myself, thanks 2023-03-11 13:55:55 You'd need to compile the entire kernel 2023-03-11 13:56:21 to change the config I just need to edit the config.x86_64 file in the aports tree, right? 2023-03-11 13:56:28 I know 2023-03-11 14:01:44 wyk72: yes, I think that's sufficient 2023-03-11 14:04:24 I cant'f find this kernl parameter into the kernel config file, is it ok ? 2023-03-11 14:04:42 i.e. CONFIG_VIDEO_BT848 2023-03-11 14:04:50 ? 2023-03-11 14:05:25 It only contains the overrides from default 2023-03-11 14:05:56 Oh I see 2023-03-11 14:07:25 where is the default ? 2023-03-11 14:13:13 it's the output of make defconfig 2023-03-11 14:13:22 idk if there's a file with it or if it's just generated from all the kconfigs 2023-03-11 14:13:57 can you refresh me on the steps to build ? 2023-03-11 14:14:06 abuild prepare 2023-03-11 14:16:57 ok started 2023-03-11 14:18:01 config-edge.x86_64: FAILED sha512sum: WARNING: 1 of 1 computed checksums did NOT match 2023-03-11 14:18:12 it complains that the config has changes 2023-03-11 14:18:25 how can I change it ? 2023-03-11 14:18:34 abuild checksum 2023-03-11 14:20:27 it started ^_^ 2023-03-11 14:38:07 in the old days we used to build kernels just for the hardware we had 2023-03-11 14:38:24 because compiling this whole pig would have taken 3 days 2023-03-11 14:39:02 on a i386 machine with 512K of of ram :) 2023-03-11 14:47:50 unuidNuniq: you can use this static version of apk, it is what I use to create Alpine installs (for chroot use) on various distros: https://gitlab.alpinelinux.org/alpine/apk-tools/-/releases 2023-03-11 14:59:05 hey, i installed i2p recently and it can't seem to bind to its port (7657). is there some kind of block for binding to unprivileged ports? do i need special permissions/iptables trickery to allow it to bind without root? 2023-03-11 14:59:17 oh and i'm running latest stable 2023-03-11 14:59:46 no, should just be able to 2023-03-11 14:59:53 is something else already listening on that port? ss -tulpn 2023-03-11 15:02:10 nope 2023-03-11 15:02:54 how did you determine that it's not binding to port 7657? 2023-03-11 15:02:57 what error do you actually get and how do you see it 2023-03-11 15:03:10 i.e. paste some output of what you are staring at from your console 2023-03-11 15:23:04 did not know copiling a kernel would take so much timeon this Intel i5/6500 machine (Skylake) 2023-03-11 15:23:44 a 12-core Haswell E5-2673 v3 wil be faster? 2023-03-11 15:23:47 if I remember correctly, it took me 20 minutes on an i5-6600K, but I had a custom configuration where I didn't include most drivers 2023-03-11 15:24:08 psykose: you know that feeling when you struggle with a problem and it fixes itself magically immediately after you ask for help? 2023-03-11 15:24:16 nevermind, i guess 2023-03-11 15:24:17 i do indeed :) 2023-03-11 15:24:29 wyk72: it would be faster sure 2023-03-11 15:24:37 i reran it for the nth time and now it seems to be working perfectly :| 2023-03-11 15:24:42 and if you are building the whole default config you can expect over an hour for the 6500 2023-03-11 15:27:22 yeah I have this chinese X99 board with a xeon e5 2673 v3, maybe I'll just fire it up 2023-03-11 15:32:14 ok done 2023-03-11 15:32:17 rebooting... 2023-03-11 15:35:02 still no bttv module 2023-03-11 15:35:36 did you =m it or =y it 2023-03-11 15:36:03 and did you add it via nconfig/menuconfig/... or by just adding it into the file? the latter is not always valid 2023-03-11 15:36:14 let's re-check 2023-03-11 15:37:44 you can verify by grepping /proc/config.gz for the config you added, after `modprobe configs` 2023-03-11 15:38:05 zcat /proc/config.gz | grep BT848 2023-03-11 15:39:50 it's not there 2023-03-11 15:39:57 maybe I'm stupid 2023-03-11 15:41:32 I have the line "CONFIG_VIDEO_BT848=m" on the config 2023-03-11 15:41:37 but it's not there 2023-03-11 15:44:53 will it rebuild it all? 2023-03-11 15:44:57 that's stupid 2023-03-11 15:45:07 I mean pretty dumb 2023-03-11 15:45:40 how can I keep compiled stuff there ? 2023-03-11 15:45:45 it cancels it alla fter a build 2023-03-11 15:45:48 omg 2023-03-11 15:46:13 this is so dumb 2023-03-11 15:46:56 -K 2023-03-11 15:47:34 -K whre ? 2023-03-11 15:48:19 abuild -rK for example 2023-03-11 15:48:24 omg 2023-03-11 15:48:34 why is not default? 2023-03-11 15:49:01 To avoid wasting diskspace 2023-03-11 15:49:29 ACTION dies 2023-03-11 15:49:38 I have to rebuild it all 2023-03-11 15:51:14 you either didn't upgrade to what you built (bump the pkgrel, but also remember eventually the repos will upgrade..) 2023-03-11 15:51:23 or, merely putting CONFIG_VIDEO_BT848=m in the config is not valid 2023-03-11 15:51:32 if you put a line that has unsatisfied dependencies i think it's just ignored 2023-03-11 15:51:44 that's why you should add things via the config tools like menuconfig :D 2023-03-11 15:51:53 there's more helpers for advanced users, but just use that 2023-03-11 15:53:47 ok 2023-03-11 15:54:02 where is menuconfig? 2023-03-11 15:54:43 `make menuconfig` in the kernel source dir 2023-03-11 15:54:53 first copy the config to .config, then run make menuconfig 2023-03-11 15:55:17 then copy the .config back to the config 2023-03-11 16:02:59 it's not in menuconfig 2023-03-11 16:03:10 ACTION dies again 2023-03-11 16:03:18 BT848 is not there 2023-03-11 16:03:29 kernek 6.2.2 (edge) 2023-03-11 16:03:39 it's been removed I think 2023-03-11 16:06:56 ... 2023-03-11 16:07:06 should I go back to 5.19 LTS ? 2023-03-11 16:07:52 wh? it is present in 6.2.2: https://cateee.net/lkddb/web-lkddb/VIDEO_BT848.html 2023-03-11 16:07:58 s/wh/eh/ 2023-03-11 16:08:30 as psykose indicated did you first enable the other settings that it depends upon? 2023-03-11 16:08:35 it's not in the menuconfig 2023-03-11 16:08:42 ^^^ 2023-03-11 16:09:10 it will be in menuconfig if you enable the settings that it depends upon 2023-03-11 16:11:32 ok 2023-03-11 16:13:40 ACTION still can't find it 2023-03-11 16:18:28 wyk72: make allyesconfig and then search ./.config for bt848 2023-03-11 16:18:50 ok 2023-03-11 16:18:50 if it is not there, then it is not in the kernel tree 2023-03-11 16:19:25 allyesconfig - New config where all options are accepted with yes 2023-03-11 16:20:02 this is just a test for you to find if it is there. you can always cp back your config as .config to overwrite it and then make menuconfig 2023-03-11 16:20:15 it's there 2023-03-11 16:20:37 and it was there even in my config 2023-03-11 16:21:06 you said it wasn't there in menuconfig 2023-03-11 16:21:07 ok. now , make menuconfig 2023-03-11 16:21:15 I'm into it 2023-03-11 16:21:31 and locate it, and hit `h` to see what the depends it needs 2023-03-11 16:21:43 you better take a screenshot and post it here 2023-03-11 16:21:46 the dependencies are already listed on the website link above 2023-03-11 16:21:51 you are wasting your time doing this :p 2023-03-11 16:21:56 so we can help you to enable it's dependencies 2023-03-11 16:21:57 uniqNuuid: the cateee.net link I posted listed the dependencies 2023-03-11 16:22:05 I did it in my first run 2023-03-11 16:22:07 oh right 2023-03-11 16:22:14 you can use `f2` to search for the things from the website and then find where they are 2023-03-11 16:22:20 if it was f2 in menuconfig 2023-03-11 16:22:21 i forgot 2023-03-11 16:22:24 symsearch thing 2023-03-11 16:23:03 ok it's there 2023-03-11 16:23:06 wyk72: depends on: ( CONFIG_PCI && CONFIG_I2C && CONFIG_VIDEO_DEV ) && ( CONFIG_RC_CORE ) && ( CONFIG_MEDIA_RADIO_SUPPORT ) 2023-03-11 16:23:07 with allyes 2023-03-11 16:23:38 so, you cp your config to .config, and make menuconfig, and enable the above dependences 2023-03-11 16:23:40 I have to infer that dependencies are not automatic 2023-03-11 16:23:48 ok 2023-03-11 16:24:29 after that, you should be able to see it. 2023-03-11 16:24:54 there is a search function in the menuconfig..somewhere ? 2023-03-11 16:25:01 wyk72: no-one said deps were automatic, i.e. you won't see Arm chip crypto options in menuconfig unless you enable Arm chips in general etc 2023-03-11 16:25:10 wyk72: / 2023-03-11 16:25:24 or read help with F2 ? or what 2023-03-11 16:25:33 i use nconfig normally. 2023-03-11 16:25:50 i haven't used menuconfig for a long time 2023-03-11 16:26:28 Hi all, I just upgraded from 3.17.1 to 3.17.2, running as a host os not in a vm, and now I boot to a black screen. Router shows no device connects, so it's not just the screen but the whole boot process that's failing. How do I debug this? Any idea what went wrong? 2023-03-11 16:26:33 fck 2023-03-11 16:26:39 it was "AM/FM RADIO 2023-03-11 16:26:52 AM/FM RADIO 2023-03-11 16:27:00 Can i use alpine aarch64 virt iso on virt-manager? 2023-03-11 16:27:00 CONFIG_MEDIA_RADIO_SUPPORT 2023-03-11 16:27:07 t fck 2023-03-11 16:28:15 scorpion2185[m]1: you can. 2023-03-11 16:28:30 stuck at boot 2023-03-11 16:28:53 and the standard ISO too? 2023-03-11 16:29:03 are there steps to follow? 2023-03-11 16:29:13 uniqNuuid: seems like he can't, otherwise he wouldn't be asking ;-) 2023-03-11 16:29:32 64 bit virt image works 2023-03-11 16:29:56 you mean x86_64 virt ISO works? 2023-03-11 16:30:12 yes, host machine is x86_64 too 2023-03-11 16:30:44 well. then, you are booting aarch64 on x86_64? 2023-03-11 16:30:45 obviously there's a need to specify UEFI-related stuff when trying to run aarch64 VM on a x86_64 2023-03-11 16:31:49 how can I specify them? 2023-03-11 16:33:26 well you're the one creating the VM in virt-manager so look at the various options available when doing so 2023-03-11 16:35:06 ACTION is compiling kernel again, but with "abuild -rK" this time 2023-03-11 16:35:25 or do an online search for "virt-manager UEFI" - it took me 10 seconds to find a reference to it 2023-03-11 16:36:30 I know nobody owes me a reply, but I sure would love to hear anyone's thoughts on my booting to a black screen after upgrade. I'm in serious trouble if I lose access to this system. 2023-03-11 16:37:04 hmmm. i had no experience with that :P, my host and guest are always on the same $(uname -m). scorpion2185[m]1 2023-03-11 16:37:11 davycrockett: maybe if possible, see if you can get serial access? 2023-03-11 16:37:42 ikke: Seems plausible. Thank you. Will investigate how that'd work. 2023-03-11 16:38:15 davycrockett: also try removing "quiet" from bootloader cmdline and adding "debug_init" also perhaps 2023-03-11 16:38:31 Add console=ttyS1 or whatever the serial device is to the kernel cmdline 2023-03-11 16:39:27 davycrockett: also what is the graphics chip on the machine? 2023-03-11 16:39:37 a serila output has to come out from a physical serial port? 2023-03-11 16:39:50 I hope I can alter my boot command line. I set it up to boot to my default kernel with no prompt. But if I can get access, thank you. 2023-03-11 16:40:37 davycrockett: timeout=0? 2023-03-11 16:41:00 minimal: Looks like it's a Intel HD Graphics 620. 2023-03-11 16:41:11 uniqNuuid: indeed 2023-03-11 16:41:36 grub? 2023-03-11 16:41:50 You'd think I'd remember which bootloader I chose. 2023-03-11 16:42:19 i think it is grub, if it is UEFI 2023-03-11 16:42:27 davycrockett: if all else fails, and if you have physical access to the machine you can boot with and usb key w a standard Alpine and modify grub/syslinux parameters by hand (I suppose it's a UEFI machine, so grub) 2023-03-11 16:42:40 power on, hit shift repeatly ... you may see the grub menu again 2023-03-11 16:43:04 Probably grub. wyk72: Yes, you're right, I can do that. Thank you. 2023-03-11 16:43:42 that sounds like the reported .99 issue 2023-03-11 16:43:47 i wonder if .100 fixed it 2023-03-11 16:44:07 uniqNuuid: Maybe worth noting I'm using full disk encryption and I do get prompted to decrypt. It goes black shortly thereafter. 2023-03-11 16:44:42 davycrockett: also, if it's not a laptop, check the CSM parameters in BIOS (if available): to be sure the video card turns ON at boot, I usually leave CSN enabled w/UEFI boot. It loads the "vga" bios for the card, but it still boots in UEFI mode 2023-03-11 16:45:21 uniqNuuid: I'm not getting that shift key trick to work. 2023-03-11 16:45:30 psykose: What's that issue? 2023-03-11 16:45:36 wyk72: It's a laptop. 2023-03-11 16:48:25 Ah ha, on this boot attempt I managed to read what it said right before blacking out: Loading hardware drivers... At least that narrows it down to the unsurprising. 2023-03-11 16:48:50 davycrockett: https://gitlab.alpinelinux.org/alpine/aports/-/issues/14704 2023-03-11 16:48:56 uniqNuuid: Thank you 2023-03-11 16:49:01 looks like a kernel bug 2023-03-11 16:50:44 uniqNuuid: why? that "Loading hardware drivers" message is a init.d script during boot 2023-03-11 16:51:01 davycrockett: try a Legacy boot if possible, or enable CSM, or simply blacklist i915 module in kernel line with a "modprobe.blacklist=i915" and maybe add "nomodeset" to the parameters also 2023-03-11 16:51:08 uniqNuuid: or do you mean a missing driver? 2023-03-11 16:51:24 minimal: because the only thing that really changed in the past day is the kernel :p 2023-03-11 16:51:30 and like 5 people instantly ran into this 2023-03-11 16:51:39 last time i had `Loading hardware drivers` was due to fsck.ext4 failed .... 2023-03-11 16:51:55 but i don't think it is their issue this time 2023-03-11 16:51:59 that's just an ext4 issue 2023-03-11 16:52:05 real filesystems don't have fsck ;) 2023-03-11 16:52:14 I'm wondering whether an updated version of the graphics driver in the kernel needs newer firmware than is packaged 2023-03-11 16:52:23 i doubt that's the case 2023-03-11 16:53:23 i think turn on rc_verbose=yes and rc_logger="YES" in /etc/rc.conf helps to find more info 2023-03-11 16:53:46 NOTE: Linux systems require the devfs service to be started before logging can take place and as such cannot log the sysinit runlevel 2023-03-11 16:53:50 uniqNuuid: only if it manages to actually boot 2023-03-11 16:54:02 the issue says they can't find the log, so devfs was not loaded ... 2023-03-11 16:57:04 my bad I selected the wrong arch 2023-03-11 16:57:04 works out of the box 2023-03-11 16:57:40 kernel compiled, the module BT848 is there! 2023-03-11 16:58:47 Thos 75eur chinese X99 boards are a boon to compile ...23minutes (12 core). The i5/6500 took 75 minutes! 2023-03-11 16:59:00 Just want to say thank y'all for your help. I appreciate it. 2023-03-11 17:00:23 wyk72: mine takes 6 mins 2023-03-11 17:02:09 uniqNuuid: I sold my i7 12700 .. that was a zippy/fast machine 2023-03-11 17:02:33 it is funny longterm support kernel psykose 2023-03-11 17:02:58 v4l2 seems to recognize this ancient sh*t quad-BT848 card! 2023-03-11 17:03:11 wyk72: mine is a 8 core M1 2023-03-11 17:03:42 uniqNuuid: m1 rocks 2023-03-11 17:11:43 i installed gentoo on this 8-core Ryzen 7 in a VM with 7 cores allocated and the entire process took like, 90 minutes from start to booting desktop 2023-03-11 17:24:03 the BT848 driver sort of works 2023-03-11 17:24:17 ACTION is happy camper again 2023-03-11 17:25:13 dewdude: 90 minutes? 2023-03-11 17:26:15 wyk72: you can ask the maintainer to enable the driver so you don't have to compile a kernel again 2023-03-11 17:39:29 davycrockett: do you have "kms" defined in your /etc/mkinitfs/mkinitfs.conf on that machine? 2023-03-11 17:41:23 psykose: just thinking, assuming that he has "kms" defined for mkinitfs then the initramfs would have the i915 driver and firmware present and the initramfs would load it during boot, so then the init.d hwdrivers service wouldn't be loading the graphics driver - so a hang then would relate to some driver being loaded which is not in the initramfs 2023-03-11 17:41:53 i don't think a bunch of people suddenly all changed their mkinitfs config at once 2023-03-11 17:43:45 well we don't know if he has "kms" defined or not, whatever driver is giving issues can't be one present in his initramfs so that narrows things a little 2023-03-11 17:44:14 just ran into the linux-lts not booting issue too (linux-edge boots, thank goodness) and I have kms in my mkinitfs.conf. I have since install. Removing it and regenerating the mkinitfs does not make 5.15.99-0-lts bootable. 2023-03-11 17:44:51 elagost: that was fast,.. i mean the tests 2023-03-11 17:45:19 minimal: Dunno, I'm still trying to gain access. But not so far as I recall. 2023-03-11 17:46:44 elagost: also try `module_blacklist=drm` on kernel args, see if it able to boot 5.15.99? 2023-03-11 17:47:00 uniqNuuid: sure, I can try that too. 2023-03-11 17:47:09 i mean, using ping or ssh to probe 2023-03-11 17:50:17 uniqNuuid: it boots with no gui. 2023-03-11 17:50:36 ping works? 2023-03-11 17:51:06 so it is a drm bug ... 2023-03-11 17:51:32 https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.15.100 2023-03-11 17:51:32 I was able to ssh in to my laptop from my phone so yes. 2023-03-11 17:51:45 drm/display/dp_mst: Fix down message handling after a packet reception error and drm/display/dp_mst: Fix down/up message handling after sink disconnect 2023-03-11 17:53:32 it pays off to have both -edge and -lts installed I guess! 2023-03-11 17:54:00 i have no idea what the commit comments talk about ... what `sink` ... i guess something low level 2023-03-11 17:57:50 elagost: at least we now have a better method to access the hardware ... blacklist drm and ssh and upgrade to .100 2023-03-11 17:59:15 I upgraded to .100 and was able to boot with drm blacklisted as well. Doesn't boot without that though. 2023-03-11 17:59:50 if you install linux-firmware from edge does it boot without drm blacklist 2023-03-11 18:00:31 (regenerate initfs too after installing) 2023-03-11 18:00:58 elagost: that's funny, seems not kernel related. 2023-03-11 18:00:59 which firmware package, just the whole linux-firmware stack? or just linux-firmware-i915? 2023-03-11 18:01:40 all the firmware you have installed 2023-03-11 18:06:32 ok, was able to upgrade firmware, and it still doesn't boot unless I module_blacklist=drm 2023-03-11 18:07:46 but if I do that it does boot, just no graphics. I'm also on an x220 (same as the initial bug reporter), with an encrypted btrfs /. 2023-03-11 18:09:49 if drm is blakclisted, no gpu driver will be loaded, so it will be blackscreen, that's expected 2023-03-11 18:11:21 Out of curiosity, what's the expected UX booting full-disk encryption when the device has been corrupted? 2023-03-11 18:12:07 Asking because I booted to a recovery usb and can't get cryptsetup to recognize my nvme partition as luks encrypted. 2023-03-11 18:12:36 uniqNuuid: dp_mst is DisplayPort MultiStream Transport output, so unless all the affected people are using DP rather than builtin latop screen, or HDMI, or VGA, or DVI then I wouldn't expect it to affect them 2023-03-11 18:14:55 But on boot from the nvme, I am prompted for a password, suggesting that cryptseutp works as expected under those conditions 2023-03-11 18:15:15 davycrockett: you booted Alpine off usb? you see /dev/nvme0n1pX? have you loaded the relevant dm_* modules? 2023-03-11 18:15:25 davycrockett: how do you try 'get it to recognise' something? all you have to do is `cryptsetup luksOpen /dev/nvme0n1p2 name` or whatnot 2023-03-11 18:15:38 minimal: Sounds like what I need to do 2023-03-11 18:15:54 psykose: It tells me that's not a valid LUKS device 2023-03-11 18:16:01 are you sure that it is :p 2023-03-11 18:16:07 Fairly 2023-03-11 18:16:39 what does "blkid" say? (the util-linux version, not the Busybox one) 2023-03-11 18:17:22 or alternatively "lsblk" 2023-03-11 18:17:31 minimal: then this issue is strange, i think it is related to intel gpu module, it's just the kernel devs haven't got enough reports yet, that means .100 did not fix the issue. 2023-03-11 18:19:04 elagost: if you replace =drm to =i915, will it boot? 2023-03-11 18:20:06 minimal: It has a label of rpool and a type of zfs_member 2023-03-11 18:20:23 oh, its ZFS 2023-03-11 18:20:37 just try to narrow down to the root cause. elagost 2023-03-11 18:20:54 uniqNuuid: it does. Boots same as blacklisting drm. 2023-03-11 18:21:07 Well yeah but that's once it gets decrypted 2023-03-11 18:21:11 so what is the full "lsblk" output relating to nvme0n1 and its partitions? 2023-03-11 18:21:42 elagost: can you run `modinfo i915 | grep depends` 2023-03-11 18:22:14 uniqNuuid: anything else I can try? I have to head out shortly. and, depends: drm_kms_helper,drm,i2c-core,ttm,intel-gtt,video,i2c-algo-bit,cec 2023-03-11 18:22:19 minimal: I can't copy & paste from that machine, so I'm summarizing. There's a boot nvme partition that's ext2. And there's swap, loop0, and a couple removable drives 2023-03-11 18:23:03 nvme is just p1 ext2 bool and p2 rpool 2023-03-11 18:23:13 s/bool/boot/ 2023-03-11 18:23:24 elagost: oh, i think we need to find out what depends on i915 2023-03-11 18:23:37 so we can futher narrow down 2023-03-11 18:24:12 davycrockett: so if p2 is rpoll then where is the LUKS? (rather than ZFS encryption) 2023-03-11 18:25:32 Did I choose native ZFS encryption? Man, I guess that TYPE should have tipped me off, but I apparently blanked out on the memory of choosing that. Sorry and thank you minimal! 2023-03-11 18:25:48 uniqNuuid: on a working machine, lsmod|grep i915 shows a few things that have i915 in the 'used by' column, would those be what you need? 2023-03-11 18:26:51 elagost: good point : lsmod | grep '^i915' 2023-03-11 18:27:51 do you find anything? if no, then i915 is a standalone module, nobody depends on it. 2023-03-11 18:28:24 then, it is the i915 module that causes the problem 2023-03-11 18:28:29 produces nothing if I blacklist i915 since it's not in there :) but on linux-edge I get 'i915 2252800 2' 2023-03-11 18:29:04 the full 'lsmod|grep i915' https://termbin.com/worqj 2023-03-11 18:29:33 ok i915 is used by 2 other modules, but the name did not show up 2023-03-11 18:29:45 I have to go now, I'm sorry, but I hope that helps somewhat? 2023-03-11 18:30:10 yeah. it helped a lot 2023-03-11 18:30:15 it is i915. 2023-03-11 18:30:47 glad it's narrowed down... good luck! 2023-03-11 18:35:09 it is time to move to lts 6.1 2023-03-11 18:35:29 one probably can do this : apk add linux-lts@edge :) 2023-03-11 18:36:30 but that's risky... as some packages depends on linux-lts, stuff like zsh ... 2023-03-11 18:36:53 *zfs 2023-03-11 18:39:05 unless alpine 3.17 upgrade the linux-lts to 6.1 branch :) that may fix the issue with least effort. 2023-03-11 18:47:39 I should maybe emphasize that my personal black-screen-on-boot problem began with an upgrade from 3.17.1 to 3.17.2. Timing may be entirely coincidental to the i915 bug. 2023-03-11 18:53:18 i've never run alpine bare-metal so I've never had these issues 2023-03-11 18:53:30 this is why being unable to have more than one version of the linux-lts package installed is unfortunate 2023-03-11 18:53:51 just run -edge. live dangerously 2023-03-11 18:53:55 I just don't have screens, problem solved 2023-03-11 18:54:05 lol 2023-03-11 18:54:17 dewdude: linux-edge has a completely different configuration to linux-lts 2023-03-11 18:54:18 none of my stuff has screens technically 2023-03-11 18:54:41 can't have black-screen-on-boot issue if you don't have any screen to look at 2023-03-11 18:55:02 https://img.pickmy.org/27e4klrr.png 2023-03-11 18:55:25 I thought the issue was "machine fails to boot" rather than "machine boots but console is black" 2023-03-11 18:55:37 nice xenserver 2023-03-11 18:55:53 pj, that hardware shouldn't be running xen...but it does 2023-03-11 18:56:01 that's literally an old fanless HP laptop 2023-03-11 18:56:11 i had to put fans on the heat spreader to make it stable 2023-03-11 18:56:16 meh, xs runs on everything 2023-03-11 18:56:42 https://img.pickmy.org/bd0xdyee.jpg 2023-03-11 18:56:48 see my poo-cloud? 2023-03-11 18:57:11 everything was powered off because they were changing out my electrical panel and i moved everything to the shelf 2023-03-11 18:57:36 https://img.pickmy.org/0tnnd3r6.jpg now it looks like this 2023-03-11 18:57:55 i had issues getting it to install on that muc/minipc 2023-03-11 18:58:02 the kernel didn't support the iris graphics 2023-03-11 18:58:16 i had to get an unoffical modified distro so I could get it installed 2023-03-11 18:58:37 my cloud is single qnap box 2023-03-11 18:59:06 dewdude: it does not matter if you have a screen or not, ``I can confirm this is also happening to me on my GA-Z68X-UD3H-B3 with i7-3770k`` -- from bug report 2023-03-11 18:59:11 I used to do everything on a single R610 with dual 6-core xenons 2023-03-11 18:59:15 but it blew up 2023-03-11 18:59:27 > Model name: AMD GX-420MC SOC 2023-03-11 18:59:53 i limit what i run on the 1U since it's running pfsense and takes most of 4 cores to route gig 2023-03-11 19:00:57 https://img.pickmy.org/wvh7n5wy.png 2023-03-11 19:01:23 only things not running Alpine on there outside of xcp-ng is the nginx and Switch Management VM 2023-03-11 19:01:26 i have bare metal headless, but my boot arg is this : module_blacklist=mc,rfkill,soundcore,lima,meson_ir,drm,rc_core,dw_hdmi_i2s_audio,industrialio 2023-03-11 19:01:28 lol 2023-03-11 19:01:42 i blacklist everything that i don;t need 2023-03-11 19:01:49 and i wanted to do alpine for the management VM but I didn't feel like trying to patch and compile firefox 0.50 2023-03-11 19:02:06 i should disable mitigations for that 0.0001% of extra cpu power 2023-03-11 19:02:22 because the switch is so old it's www management interface uses java applets 2023-03-11 19:03:31 and i'd move nginx over to it but Jitsi won't run on Alpine 2023-03-11 19:04:27 uniqNuuid: why have such a long blacklist on cmdline rather than using blacklist file in /etc/modprobe.d/ ? 2023-03-11 19:05:10 i like to put everything in one place so i can manage 2023-03-11 19:05:41 i have this too : zswap.enabled=0 acpi=off debugfs=off numa=off 2023-03-11 19:05:47 that's one thing about running under xen...all that junk is hidden behind the hypervisor 2023-03-11 19:06:38 now it is super stable :P 2023-03-11 19:07:46 but i like the fact I can give a VM like 200MB of ram for stupid simple stuff and it runs fine 2023-03-11 19:07:57 i gave my seedbox 4 gigs and it's never used more than 889MB 2023-03-11 19:09:05 i patched asterisk source so i could compile v20 and did "low memory" optimizations. it sips about 160MB 2023-03-11 19:12:03 mine uses 66MB 2023-03-11 19:12:37 dewdude: I was recently testing how little ram I could give VMs and couldn't get below 64MB safely without OOMs 2023-03-11 19:12:56 seemed related to kernel memory requirements 2023-03-11 19:13:01 yeah 2023-03-11 19:13:10 i mean i'm happy using 256mb as a minimum 2023-03-11 19:13:12 caches 2023-03-11 19:13:15 all but one machine has 16gb 2023-03-11 19:13:17 the other has 8 2023-03-11 19:13:24 you can fit a lot of 256mb VMs in 8 gigs 2023-03-11 19:13:45 I think I did give the Pi-Hole's a gig since it tends to eat it up 2023-03-11 19:13:48 uniqNuuid: the problems appeared during kernel init, before it even handed off to the initramfs' init 2023-03-11 19:14:15 actually they're both using 396MB 2023-03-11 19:14:22 i might have to tone those back and reboot 'em later 2023-03-11 19:15:05 but alpine has been a fantastic distro for my VMs 2023-03-11 19:16:00 minimal: really? kernel vmlinuz does not have i915 right? i915 is on the disk in /lib/modules, blacklisting i915 boots. think about that 2023-03-11 19:16:19 I do a bit of "slimming", e.g. tuning initramfs to only include exactly which modules it needs to boot 2023-03-11 19:16:45 uniqNuuid: I was referring to OOM problems with VMs having less than 64MB of ram... 2023-03-11 19:17:00 i'm working on the assumption that given how minimal an install is it's already done that for -virt 2023-03-11 19:17:27 dewdude: done what for -virt ? 2023-03-11 19:17:44 minimal: virt-ISO 64M minimal? 2023-03-11 19:17:55 be about as absolutely basic for boot as needed 2023-03-11 19:18:34 uniqNuuid: I don't know what you're referring to, I'm referring to my message: " dewdude: I was recently testing how little ram I could give VMs and couldn't get below 64MB safely without OOMs" 2023-03-11 19:19:06 yeah, i mean you boot vm with virt ISO ? 2023-03-11 19:19:31 dewdude: nope, linux-virt is not as basic as it could be, I've got a shopping list of unnecessary settings/drivers to disable that some day I will raise a PR for 2023-03-11 19:19:53 uniqNuuid: nope, I'm booting a VM disk image that I create myself (via my script) 2023-03-11 19:19:56 i could test now :) with virt 3.17.2 on qemu 2023-03-11 19:20:17 well let me play with my sshbox and see what it's running it might not need 2023-03-11 19:20:49 dewdude: e.g. linux-virt has CONFIG_THERMAL=y 2023-03-11 19:20:53 40M ram : Synchronous Exception at 0x2624 2023-03-11 19:21:08 hmm 2023-03-11 19:21:21 you're right...that doesn't make sense 2023-03-11 19:21:28 dewdude: I have a list of settings to disable 2023-03-11 19:21:46 I just need to find a day or 2 to test them and raise a MR 2023-03-11 19:21:55 64M : error: out of memory 2023-03-11 19:21:58 got 'em on a git or txt file? 2023-03-11 19:22:00 i'll test 'em out 2023-03-11 19:22:24 because my sshbox is literally just there to act as ssh jumpbox 2023-03-11 19:22:56 stupid i am , ISO has to load modloop into ram, i should not use ISO to test the minimal RAM 2023-03-11 19:22:58 dewdude: I started to document them some time ago: https://github.com/dermotbradley/alpine-misc-notes/blob/main/virt-kernel-drivers.md 2023-03-11 19:23:07 by that doc is out-of-date and incomplete 2023-03-11 19:23:10 s/by/but/ 2023-03-11 19:23:26 uniqNuuid: indeed, i'm testing sys-mode VMs 2023-03-11 19:24:40 dewdude: should linux-virt have CPUFREQ support? I'd assume not 2023-03-11 19:24:49 no 2023-03-11 19:25:06 because that's handled by dom0 2023-03-11 19:26:17 minimal: you did very good, my vm on disk needs more than 128M ram 2023-03-11 19:29:11 dewdude: Pstate? ATA? HWMON? Watchdog? 2023-03-11 19:29:50 dewdude: you're talking from a Xen perspective, I'm talking from various hypervisors perspective 2023-03-11 19:30:33 yeah 2023-03-11 19:30:40 xen is all I use 2023-03-11 19:31:02 people try to push me to proxmox and i'm like "when i get paid to support it I will" 2023-03-11 19:31:05 it's like Azure 2023-03-11 19:31:15 so there's a birt of mileage in shrinking linux-virt, both in size of vmlinuz and also in size of /lib/modules director 2023-03-11 19:31:18 i didn't bother doing anything with azure or hyper-v till it was a job necessity 2023-03-11 19:31:44 yeah. i'll have to go through this later and see what kernel modules I don't need 2023-03-11 19:31:51 i'm...too tired and not in the mood 2023-03-11 19:32:38 plus modprobe -c output is HUGE 2023-03-11 19:33:06 dewdude: well I'm promise myself to actually get around to making an actual start on linux-virt tuning this coming week ;-) 2023-03-11 19:33:24 let me know if you want a xen tester 2023-03-11 19:33:30 not I didn't say I'd finish it (with a MR) this week lol 2023-03-11 19:33:55 from memory there were only a couple/few Xen-related settings I thought needed tweaked 2023-03-11 19:34:38 i need to get back on figuring out how to get xapi compiled 2023-03-11 19:34:47 linux-virt is already slim 2023-03-11 19:34:48 so i can use xen as a dom0 with full support for XO 2023-03-11 19:35:09 uniqNuuid: slim? I just pointed out some things enabled that so it is not slim 2023-03-11 19:35:17 s/so /show / 2023-03-11 19:35:24 yeah. there's quite a bit of fat in there 2023-03-11 19:35:29 but no where near as bad as ubuntu 2023-03-11 19:36:30 dewdude: we are here because we are tired of bloated ware 2023-03-11 19:37:33 i believe it 2023-03-11 19:37:44 what made me ditch ubuntu entirely was the new live installer 2023-03-11 19:37:45 like...no 2023-03-11 19:37:58 it shouldn't take half an hour to install a basic setup for a vm 2023-03-11 19:38:38 alpine angered me for a while...but after getting over the learning curve for what I wanted to do I fell in love 2023-03-11 19:38:56 first time i tried compiling asterisk I about punched my monitor 2023-03-11 19:39:22 but now? https://git.pickmy.org/dewdude/asterisk-alpine 2023-03-11 19:39:26 i know how to do it 2023-03-11 19:39:58 minimal: does aarch64 need ACPI at all? 2023-03-11 19:43:06 and yes...i've been on a goal to eliminate my usage of third-party providers as much as possible 2023-03-11 19:43:17 with the exception of the guy who hosts my xenVM in his datacenter 2023-03-11 19:43:44 it's also fun running your own imghost and git 2023-03-11 19:45:28 i want to do photoprism on alpine so i can get off googlephotos...but that's not going to happen anytime soon. the reality is there's a LOT of stuff I don't know 2023-03-11 19:45:46 i'm just...good enough to hack it as a linux it support contractor 2023-03-11 19:46:41 uniqNuuid: ACPI is part of SBSA (Arm server definition) or whatever it is called these days 2023-03-11 19:47:26 dewdude: what distro does your customer use the most 2023-03-11 19:47:43 ubuntu or debian 2023-03-11 19:47:44 minimal: Re "I thought the issue was "machine fails to boot" rather than 2023-03-11 19:47:47 they demand good LTS support 2023-03-11 19:47:52 and it's all voip stuff 2023-03-11 19:48:08 uniqNuuid: so yes aarch64 linux-lts should have ACPI enabled so that can be used on Arm physical servers 2023-03-11 19:48:10 i'm slowly building some appliances in alpine 2023-03-11 19:48:27 "machine boots but console is black": What I know is the power LED is glowing and the screen is powered yet black. Boot does not complete because there's no network address. 2023-03-11 19:48:33 but i kind of just do what they ask 2023-03-11 19:48:48 minimal: my tv box does not have ACPI at all. 2023-03-11 19:48:49 tell me you want your xeams moved from windows to ubuntu...then that's what i'm going to do 2023-03-11 19:49:28 uniqNuuid: I didn't say ACPI was required for *all* aarch64 devices, I said I thought it was required for Arm servers following the SBSA spec 2023-03-11 19:49:44 although given the fact xeams is basically a java app it could probably have been done under Alpine 2023-03-11 19:49:50 which also, from memory, mandates/expects UEFI booting 2023-03-11 19:49:53 ok. servers. yeah. 2023-03-11 19:50:17 yes, Arm (company) is trying to standardise things for aarch64 use in servers 2023-03-11 19:50:27 i need to build a TV box but the ones you build aren't android tv certified and i likely have something tha requires the drm 2023-03-11 19:51:36 i built a bedroom/office/guest-room in my basement and wired it with so much ethernet 2023-03-11 19:51:42 8 runs 2023-03-11 19:52:00 i'm like "i'll never use all of these 2023-03-11 19:52:14 but in-wall HDMI was a supreme choice 2023-03-11 19:52:22 it's neat having zero visible wires going up to the TV 2023-03-11 20:24:49 Finally chrooted into my drive in recovery! Edited boot command line. Before rebooting, I tried running mkinitfs just to be sure, and I get this error /lib/modules/5.15.93-0-lts does not exist or is not a directory. Sure enough, that's correct. I do have .99 though. How fix? 2023-03-11 20:26:11 davycrocket: you need to run "mkinitfs 5.15.93-0-lts" 2023-03-11 20:26:31 it's doing a "uname" as seeing the version of the host 2023-03-11 20:26:35 s/as/and/ 2023-03-11 20:27:10 minimal: uname -a tells me .93 but I have no .93 2023-03-11 20:28:36 I suppose I could tell mkinitfs .99 2023-03-11 20:31:12 System still goes black (panic?) after "Loading hardware drivers..." Will try blacklisting i915. 2023-03-11 20:42:21 Confirmed, that works as a headless boot. I sure would love graphics, but this is nice progress. 2023-03-11 20:49:03 davycrockett: headless boot, as in access via SSH? 2023-03-11 20:51:20 minimal: Yes, well I don't normally start sshd on boot, so I just booted back into the chroot to change that. I should be able to ssh in momentarily. 2023-03-11 20:53:00 davycrockett: so if you enable ssh and they try booting without the blacklisting of i915 can you still SSH in? 2023-03-11 20:53:34 No, it never acquires a network address 2023-03-11 20:53:57 (Meanwhile my ssh request is hanging, and I'm unsure why) 2023-03-11 20:54:59 But I have a ping response. Box is online. 2023-03-11 20:57:44 minimal: Confirmed, I ssh'd in. And to make sure you saw my response about i915, ^ 2023-03-11 20:58:35 Reason why I couldn't ssh in is because ssh and scp use -p and -P for port, and which one's which? It's like a USB-A port: I always get it wrong the first time. 2023-03-11 20:59:06 Well there’s a problem i always run into as well :) 2023-03-11 20:59:20 davycrockett: so what if you were to temporarily blacklist i915 so that if does not autoload during boot, then login via ssh and manually load it to see what happens? 2023-03-11 20:59:46 been doing a bit of both ssh and scp recently so I know which option is which lol 2023-03-11 21:01:14 Before Alpine i didnt use scp, since i used macos i had Forklift 2023-03-11 21:01:20 minimal: Ooh, neat test! modprobe hangs. Tried again with --verbose and … no useful info. 2023-03-11 21:04:34 JohannesJ[m]: I thought MacBooks were supposed to be lightweight, so why would you need a forklift? or was that for all the official Apple adaptors/accessories? ;-) 2023-03-11 21:04:49 🙈🙈 2023-03-11 21:04:50 the $1500 wheels? ;) 2023-03-11 21:04:50 davycv 2023-03-11 21:05:11 which actually costs $1.5 but mactalibans can be fooled to pay whatever :) 2023-03-11 21:05:27 Only the Air was lightweight ;-) 2023-03-11 21:06:37 davycrockett: wondering if doing a "dmesg -E -n debug" (print dmesg to console for all messages) before the modprobe would give any more info 2023-03-11 21:07:44 minimal: dmesg: mutually exclusive arguments: --clear --console-off --console-on --read-clear --console-level --raw 2023-03-11 21:08:34 I meant "dmesg --console-on --console-level debug" 2023-03-11 21:08:51 Same error 2023-03-11 21:09:02 strange 2023-03-11 21:09:09 or "dmesg --level debug" 2023-03-11 21:10:17 Okay, yes that outputs stuff. What's the gameplan? Sorry, I'm unfamiliar with this. You want me to run that and then modprobe? 2023-03-11 21:10:17 maybe "--console-on" means also all levels 2023-03-11 21:11:06 just wondering if the dmesg output would show anything useful (as it hangs with the modprobe you obviously can't run dmesg after the fact) 2023-03-11 21:13:50 modprobe either has no timeout or it's crazy-long, so I've been SIGINTing it, leaving nothing in /var/log/dmesg. This dmesg command might show something more(?) but I'm unclear on what and how. I can certainly run it after cancelling modprobe because the whole machine doesn't hang; just the modprobe attempt. 2023-03-11 21:15:59 modprobe has "--dry-run" and "-verbose" options that might be useful 2023-03-11 21:16:15 Tried --verbose and it didn't give me much. 2023-03-11 21:16:44 --dry-run doesn't add anything. Both just tell me: 2023-03-11 21:16:45 insmod /lib/modules/5.15.99-0-lts/kernel/drivers/gpu/drm/i915/i915.ko.gz modeset=1 2023-03-11 21:18:14 Tried it with strace and it hangs after: 2023-03-11 21:18:15 init_module(0x7f2cbfd050b0, 6299344, "modeset=1 2023-03-11 21:18:25 not a lot to go on 2023-03-11 23:57:01 cat /proc/$(pgrep modprobe)/stack 2023-03-12 00:11:41 http://sprunge.us/F9Lscz 2023-03-12 00:30:42 mm... what "recovery usb" are you booting exactly? 2023-03-12 00:36:12 seems like this code should only be hit on load failure, there should be an error in dmesg 2023-03-12 00:36:29 /var/log/dmesg is only written once on boot 2023-03-12 00:43:26 yes, this is a footgrun 2023-03-12 00:44:16 if you don't get any errors in dmesg then try drm.debug=0x19F or echo 0x19F > /sys/module/drm/parameters/debug 2023-03-12 00:47:46 I am no longer booted off a recovery. I disabled i915 and am running headless. Please elaborate on that drm.debug line. Is that meant to be done before a reboot? 2023-03-12 02:53:37 davycrockett: i think they meant 1) remove module_blacklist=i915 from cmdline 2) add drm.debug=0x19F to cmdline 3) reboot. it will hang, but more dmesg log will be written to /var/log/dmesg 4) force reboot from USB 5) mount hard drive, read /var/log/dmesg 2023-03-12 02:54:20 from hard drive 2023-03-12 03:08:50 uniqNuuid: Thank you. Makes sense. Unfortunately I need to use the machine to get work done, so I can't contribute that data any time soon. 2023-03-12 03:14:13 davycrockett: no worries, i checked the kernel changelog, they introduced some i915 patches in 5.15.95 and 5.15.96 : https://patchwork.freedesktop.org/patch/521138/ (https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.15.95) https://patchwork.freedesktop.org/patch/516235/ (https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.15.96) 2023-03-12 04:16:35 looks like there isn't a trigger to grub-install when grub upgrades. so the file in /boot/efi/EFI will be out dated when grub upgrades. 2023-03-12 04:24:47 there's no way to reliably write such a thing without nuking random people's installs 2023-03-12 04:59:55 Is there any way to rebuild the boot image/initfs from single user? 2023-03-12 04:59:55   2023-03-12 04:59:55 My desktop latest-stable has stopped booting after 5.15.100, and I think it is because I can't mount /dev/mapper/vg0/lv_root 2023-03-12 05:03:05 pretty sure that's just the .99/.100 bug 2023-03-12 05:03:37 Fuck me. What is that bug? And why did my craptop survive?  2023-03-12 05:03:53 #14704 2023-03-12 05:03:55 but maybe it's not 2023-03-12 05:15:15 Seems like it is. Dammit. Can I chroot in and apk add Linux-Edge? I won't have networking, but it will live...  2023-03-12 05:22:08 And yeah, i7-6700k and only integrated i915, so pretty consistent with the other reporters on #14704 2023-03-12 05:33:49 sure, you could 2023-03-12 05:33:59 need networking though but that's easy if you do 2023-03-12 05:35:09 Awesome, thank you. I've only chroot'd like once under Solus, so I wasn't sure if it was more or less the same, and yes, it is 2023-03-12 05:35:33 Used RescueZilla bootmedia to aria2c the linux-lts stuff from edge and I'm typing this from my desktop now. 2023-03-12 06:22:35 N3450 craptop didn't make it through 5.15.100 unscathed, wifi is botched and disconnects every 15s or so 2023-03-12 09:07:17 is this the official alpine linux matrix room? 2023-03-12 09:09:10 it's just the oftc<->matrix bridge 2023-03-12 09:09:11 but sure 2023-03-12 09:09:43 what is oftc? 2023-03-12 09:10:16 an irc network 2023-03-12 09:11:09 Does Alpine Linux have hardened_malloc? 2023-03-12 09:21:31 it is packaged somewhere sure 2023-03-12 10:05:27 The malloc that musl ships is already hardened 2023-03-12 10:05:40 malloc-ng 2023-03-12 10:45:53 ACTION read that as a gerund 2023-03-12 10:45:56 mallocing 2023-03-12 10:57:23 does your malloc produce smooth audio? 2023-03-12 11:00:51 whats next gen after ng ? 2023-03-12 11:00:56 nng ? 2023-03-12 11:00:58 ng2 2023-03-12 11:05:40 ds9 2023-03-12 11:06:14 nerd 2023-03-12 11:44:39 Is there a kernel hook to run mkinitfs on kernel updates? 2023-03-12 11:46:55 WhyNotHugo: yes 2023-03-12 11:47:50 it is automatic 2023-03-12 12:06:44 it's the default behaviour for mkinitfs 2023-03-12 12:33:39 Oh, I must have missed it. I already ran it manually, but I'll check if it isn't done automatically next time. 2023-03-12 12:49:37 <_023> Hi 2023-03-12 12:50:04 Okay I just updated my system and right after OpenRC says "loading hardware drivers" or something like that, the screen goes blank and nothing happens 2023-03-12 12:50:14 I just booted the system with init=/bin/sh 2023-03-12 12:50:19 Any idea what my next step should be? 2023-03-12 12:50:22 Downgrading the kernel/ 2023-03-12 12:50:25 ? 2023-03-12 12:50:34 <_023> Alpine 3.15 on update failed with a blank screen immediately after hwdriver step on boot up. 2023-03-12 12:50:47 I'm on 3.17 2023-03-12 12:51:07 <_023> It's a blank screen. No cli to login. 2023-03-12 12:51:11 Nope 2023-03-12 12:51:27 linux-lts 5.15.100 2023-03-12 12:52:56 <_023> It's 3.15 lts 2023-03-12 12:53:21 Any idea what to do? I don't know how to downgrade the kernel on Alpine 2023-03-12 12:53:26 <_023> Fails right after loading hwdriver step on boot. 2023-03-12 12:53:34 yeah 2023-03-12 12:53:46 <_023> Reason?? 2023-03-12 12:53:53 I don't know 2023-03-12 12:53:57 <_023> How to correct it 2023-03-12 12:53:57 Do you have the same issue? 2023-03-12 12:54:05 We have the same issue? 2023-03-12 12:54:12 <_023> Yes same 2023-03-12 12:54:16 Wow 2023-03-12 12:54:35 <_023> It's with 3.15, and also it looks with 3.17 2023-03-12 12:54:46 Yep 2023-03-12 12:54:51 Anyone know what to do? 2023-03-12 12:56:09 <_023> 3.16 could be failing aswell.!!! Anyone. 2023-03-12 12:57:46 Anything useful in /var/log/messages ? 2023-03-12 13:00:37 There's nothing inside it 2023-03-12 13:01:25 Just screen goes blank after the hardware step, and rebooting into init=/bin/sh, and cat /var/log/messages only prints old messages, nothing from the time Ibooted 2023-03-12 13:05:08 How do I downgrade the kerneL 2023-03-12 13:05:22 There's no way to do this 2023-03-12 13:05:26 Damn 2023-03-12 13:05:28 No cache either? 2023-03-12 13:05:35 I cannot get internet to work 2023-03-12 13:05:38 So I cannot download either 2023-03-12 13:05:43 I am in an emergency environment 2023-03-12 13:05:46 init=/bin/sh 2023-03-12 13:05:47 Nothing works 2023-03-12 13:07:33 latex: it is a known bug 2023-03-12 13:07:39 Do you have ssh configured on this machine? (And what's your hardware btw?) 2023-03-12 13:07:41 you are not the only one 2023-03-12 13:08:16 https://gitlab.alpinelinux.org/alpine/aports/-/issues/14704 latex 2023-03-12 13:10:09 add module_blacklist=i915 to kernel cmdline, and will be able to boot 2023-03-12 13:17:09 Thanks that worked 2023-03-12 13:17:28 uniqNuuid: how do you debug stuff like this though? 2023-03-12 13:17:38 and why is /var/log/messages not showing anything? 2023-03-12 13:18:21 people here did some experiments yesterday ... and narrowed down to i915 module 2023-03-12 13:18:51 Can I have an irc log? 2023-03-12 13:19:37 i don't save logs, it is turned off on my weechat 2023-03-12 13:19:51 Aww 2023-03-12 13:19:54 Anyone else have a log? 2023-03-12 13:21:53 people who save logs :) like admins here 2023-03-12 13:23:42 irclogs.alpinelinux.org 2023-03-12 13:24:43 <_023> No 2023-03-12 13:24:50 pj: great! 2023-03-12 13:25:04 <_023> Nothing in var/log 2023-03-12 13:25:27 _023: boot with modules_blacklist=i915 2023-03-12 13:25:32 <_023> 3.15 is failing with a blank screen 2023-03-12 13:25:40 boot with modules_blacklist=i915 2023-03-12 13:25:43 it will solve the issue 2023-03-12 13:26:12 While the system boots, and you see the countdown, press a key, then Tab 2023-03-12 13:26:34 and at the end, type: modules_blacklist=i915 2023-03-12 13:26:49 <_023> OK let's see, I will add up to blacklist 2023-03-12 13:27:11 module_blacklist=i915 2023-03-12 13:27:15 sorry, not modules_blacklist 2023-03-12 13:27:18 but module_blacklist 2023-03-12 13:28:11 After the system successfully boots, edit the file /etc/extlinux.conf 2023-03-12 13:28:28 and add module_blacklist=i915 at the end of the APPEND line 2023-03-12 13:28:38 latex: https://irclogs.alpinelinux.org/%23alpine-linux-2023-03.log // search elagost , you'll find the chats related 2023-03-12 13:36:28 <_023> Extlinux.conf should be in boot not etc 2023-03-12 13:36:48 <_023> I can't see it in etc 2023-03-12 13:38:48 <_023> Extlinux.conf is not in etc 2023-03-12 13:38:57 <_023> It should be in boot 2023-03-12 13:39:25 You are looking for update-extlinux.conf I guess 2023-03-12 13:40:33 <_023> Update is normally in etc but extlinux is always in boot 2023-03-12 13:41:55 <_023> Resolution is obviously lost now 2023-03-12 13:42:22 _023: expected, you either install linux-edge or wait for kernel to fix... 2023-03-12 13:42:30 <_023> What to do of screen resolution to start with. It should be using vesa 2023-03-12 13:45:52 _023: yeah sorry I mean /boot/extlinux.conf lol 2023-03-12 13:46:02 <_023> How would edge address resolution. I don't think it has alt drivers for i915 2023-03-12 13:46:39 <_023> Is anyone getting the problem on 3.16 2023-03-12 13:47:09 i915 is the intel HD graphics driver afaik. We blacklisted it because apparently it causes our systems to halt and have black screen. If you require graphics, I guess get a different kernel version than 5.15, like 6.1 2023-03-12 13:47:10 _023: install edge, remove module_blacklist , boot edge 2023-03-12 13:47:55 only 5.15.99~100 effected on the bug 2023-03-12 13:51:38 5.15.101 will be out soon.... 2023-03-12 13:52:08 and will get it fixed very likely 2023-03-12 13:53:18 <_023> On a different partition I had a different 3.15 , I have commented 3.15 and decommented edge in etc/apk/repositories and going to update to edge 2023-03-12 13:53:46 <_023> Should it work 2023-03-12 13:54:31 _023: you only need to install linux-edge, you don't have to upgrade to edge 2023-03-12 13:54:37 <_023> Not sure. 2023-03-12 13:55:17 <_023> Linus 3.15 will be updated to edge. 2023-03-12 13:55:27 <_023> What's incorrect here. 2023-03-12 13:56:44 <_023> ?? 2023-03-12 13:57:11 it is fine. 2023-03-12 13:57:35 you could have 3.15 replaced with 3.17 and upgrade and install linux-edge 2023-03-12 13:58:11 <_023> OK. Let's see. It's updating now. 2023-03-12 13:58:35 that case, you are still on alpine stable branch 2023-03-12 13:59:30 <_023> Let's see. 2023-03-12 14:01:03 it is out 2023-03-12 14:01:06 https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.15.101 2023-03-12 14:03:43 <_023> Saw the comment. 2023-03-12 14:04:40 <_023> Revert "drm/i915: Don't use BAR mappings for ring buffers with LLC" 2023-03-12 14:04:59 <_023> No reason to do this to a stable release. 2023-03-12 14:53:27 Hi, just installed Alpine 1.17.2 on my Dell OptiPlex 7070 (core i5-9500T) but it hangs whenever it boots, once "Loading Hardware Drivers" has displayed, I get a black screen and cannot do anything else, including pressing Ctrl-Alt-Delete to reboot. I've tried reinstalling a couple of times, updating the BIOS, and recreating the USB, but still hangs. I've installed Alpine before on the same system and it worked perfectly and 2023-03-12 14:53:27 the Live USB is fully functional. How can this be resolved? 2023-03-12 14:53:47 you have to update to the 5.15.101 kernel once that exists 2023-03-12 14:53:51 the kernel from the install also works 2023-03-12 14:54:00 but the .99/.100 ones are broken on most i915 gpus :D 2023-03-12 14:54:10 https://gitlab.alpinelinux.org/alpine/aports/-/issues/14704 specifically 2023-03-12 14:56:36 uniqNuuid: yes, the same applies for Grub with MBR also. One issue is that should grub-install be rerun it should be done with the same options as originally, but these are not recorded anywhere. For my own disk images I create a script for running grub-install with the same options for later use 2023-03-12 14:57:33 I'll try blacklisting i915 and see if I can login, 2 seconds 2023-03-12 14:58:53 i already pushed the upgrades but they'll take a bit more 2023-03-12 14:59:19 give it like 2 hours then an upgrade should fix it, blacklisting i915 will 'work' but you will have to ssh to your own computer pretty sure 2023-03-12 15:00:12 @psykose am able to login without ssh, although i know X and wayland won't work 2023-03-12 15:00:18 ah, okie 2023-03-12 15:00:21 thanks for your help, will wait for the kernel update 2023-03-12 15:09:10 I wonder if setting a consolefont is what blacks out the screen without i915. 2023-03-12 15:12:41 @davycrockett just tested setting mine from the default BIOS font to terminus and works fine without i915 2023-03-12 15:17:34 davycrockett: it's not 2023-03-12 16:55:26 <_010> chromium consuming too much cpu power and fan speed on youtube 2023-03-12 17:03:28 I see #14704 says .101 is released, so I went to upgrade. `apk add --upgrade apk-tools` tells me "1 error". `apk fix` tries reinstalling syslinux (6.04_pre1-r11), and fails with "/sbin/update-extlinux: line 93: arithmetic syntax error". That line is: rtimeout=$(( ${timeout} * 10 )) -- LGTM because timeout is a const defined on line 5. Any ideas? 2023-03-12 17:09:09 Realizing that timeout value is probably borked by my /boot/extlinux.conf, where I changed TIMEOUT from 0 to 3 while blacklisting i915. Why wouldn't that work? 2023-03-12 17:09:43 Excuse me, from 1 to 3 2023-03-12 17:10:33 Changed it back to 1, but same syntax error. 2023-03-12 17:10:48 @psykose just installed the kernel update and can confirm it boots to the login screen - thanks a lot 2023-03-12 17:11:54 davycrockett: not sure if that's the syntax error, but the ${} is not required inside $(()) 2023-03-12 17:12:20 ikke: This is true, but it should be POSIX compliant. 2023-03-12 17:13:23 <_010> it does boot to screen 2023-03-12 17:13:25 FWIW, I removed the braces and got the same syntax error. I'm guessing $timeout is somehow undefined. 2023-03-12 17:14:24 davycrockett: it is defined on line 5 2023-03-12 17:15:02 though update-extlinux.conf is sourced on linr 13 2023-03-12 17:15:37 Yes, minimal, and I thought my conf was read and altered it. But I just learned that `apk fix` generates that update script. 2023-03-12 17:16:05 hi 2023-03-12 17:16:32 (My syntax change on line 93 gets reset on running `apk fix`.) 2023-03-12 17:16:36 Hi brodude1000 2023-03-12 17:16:36 is there an editor where i can edit a bash script/ command (e.g. a long curl request) and then run it? 2023-03-12 17:16:50 would vim be easiest since i use vim already, or is there a "standard" way? 2023-03-12 17:17:05 so far, i always click ^ in terminal and edit, but then there's the risk of accidentally pressing enter etc 2023-03-12 17:17:25 <_010> vim or nano or micro 2023-03-12 17:17:54 So long, bro dude 2023-03-12 17:23:03 _010: cpu video decoding generally isn't that cheap 2023-03-12 17:23:54 you can try --enable-features=VaapiVideoDecoder with working vaapi (check `vainfo` from libva-utils) i guess 2023-03-12 17:23:57 <_010> hw is disabled 2023-03-12 17:24:06 also make sure the youtube video is in a format supported by that 2023-03-12 17:24:10 usually isn't half the time 2023-03-12 17:26:29 <_010> resetted cpufreq 2023-03-12 17:26:46 <_010> resetted to powersave 2023-03-12 17:30:57 <_010> in chrome flags, set Global lock on the VA-API wrapper 2023-03-12 17:31:18 Not my expertise, but wouldn't video decoding be GPU not CPU? 2023-03-12 17:31:52 <_010> yes it is 2023-03-12 17:33:16 davycrockett: my point was that the timeout setting in /etc/update-extlinux.conf overrides the "5" value defined in line 5 of the update-extlinux.conf script 2023-03-12 17:33:36 so what exactly does your timeout line in /etc/update-extlinux.conf look like? 2023-03-12 17:33:59 <_010> su, echo powersave /path to/sys/cpufreq 2023-03-12 17:36:01 Sure enough, my /etc/update-extlinux.conf defines timeout=0.1 and `/bin/sh -c 'echo $(( 0.1 * 10 ))'` is an arithmetic syntax error. I guess I just didn't notice before? 2023-03-12 17:39:33 minimal: Thank you for clarifying that. 2023-03-12 17:44:39 davycrockett: yeah POSIX shell can only do integer arithmetic, not floating point arithmetic 2023-03-12 17:49:30 There are standard tools that can, though. 2023-03-12 17:49:55 bc. I know, but maybe that should be documented in the conf comments. 2023-03-12 17:50:35 What kind of comment? “Don't expect bash when coding shell scripts”? 2023-03-12 17:51:37 It's opaque what kind of system handles that conf, so just "Ints only" would help. 2023-03-12 17:51:57 Also, off topic, but yellow onions are delicious, just FYI. 2023-03-12 17:52:45 quinq: eh? it is an Alpine config file being read by an Alpine script that refers to "/bin/sh" in the shebang and Alpine uses Busybox sh by default, so it makes sense to assume that only integer arithmetic is available 2023-03-12 17:53:03 It does anywhere, minimal 2023-03-12 17:53:13 quinq: what does anywhere? 2023-03-12 17:53:31 Assuming that following standards work 2023-03-12 17:53:42 It makes absolute sense. But as a naive user, I didn't know that's how the conf is used. 2023-03-12 17:54:40 Yeah davycrockett, I suppose it's not obvious that this file is being sourced by a shell script and that the variable is then used with shell arythmetic 2023-03-12 17:54:48 davycrocket: so someone could modify the script so that after sourcing the config file it doublechecks the variables are set to integers and, if not, acts according (falls back to default, presents relevant error, etc) 2023-03-12 17:55:53 Presenting a relevant error would be nicely user-friendly. 2023-03-12 17:56:51 as the script is usually automatically run (on updates/upgrades) then perhaps falling back to the default AND presenting a warning to say why would both make sense 2023-03-12 17:57:44 Unless that warning appears colored orange, most users probably won't notice it. 2023-03-12 17:58:09 they might be colourblind and not see orange ;-) 2023-03-12 17:59:14 Having upgraded to .101, my laptop's screen works again. Thank y'all so much for your help. In this adventure I learned that the stable Alpine release uses a rolling kernel, and that surprises me. What's the rationale behind that? 2023-03-12 17:59:36 davycrockett: so raise an Issue/MR for this script problem? 2023-03-12 17:59:46 Wdym rolling kernel? 2023-03-12 18:00:16 minimal: I suppose I could do that. I wonder how many (if any) others it's bitten. 2023-03-12 18:00:48 not many if it hasn't be raised as an issue before 2023-03-12 18:01:12 best to raise/fix it as otherwise it'll likely never get addressed 2023-03-12 18:02:11 Ermine: I mean 3.17.2 was released back on 2023-02-10, but uses a kernel released just a few hours ago. 2023-03-12 18:02:17 minimal: I'll do it. Thank you. 2023-03-12 18:02:35 This is an LTS kernel, fixes come from time to time 2023-03-12 18:03:11 Under no definition it is a 'rolling kernel' 2023-03-12 18:03:25 I understand that principle, but I thought those fixes would go in point releases. 2023-03-12 18:03:39 (point releases of Alpine) 2023-03-12 18:04:08 Many packages are being upgraded without point releases 2023-03-12 18:04:39 While that's fine, to me that seems like "rolling" not "stable". 2023-03-12 18:04:39 Making point release for every upgrade is meh I guess 2023-03-12 18:05:07 It's closer to Arch than Red Hat. 2023-03-12 18:05:22 'rolling' would go if Alpine used latest kernel available (which is 6.2.5) 2023-03-12 18:05:50 Alpine is neither Red Hat or Arch 2023-03-12 18:05:57 Right, well I'm not saying that stable is bleeding edge. There's a range of severity to "rolling". 2023-03-12 18:06:14 davycrockett: there are not separate repos for 3.17.1, 3.17.2, etc, there's just a 3.17 repo 2023-03-12 18:06:55 so if you are on any 3.17.x release and do package updates then you'll get whatever is in the 3.17 repo (which is anything merged into 3.17-stable and built) 2023-03-12 18:07:11 What is not 'rolling' then? Using 2.6.x kernel? Your definition of 'rolling' is really strange 2023-03-12 18:07:41 Again, those are minor bugfix releases of an LTS kernel 2023-03-12 18:07:50 AFAIK a 3.17.3 release would really just be building new versions of ISOs, netboots, minirootfs, etc 2023-03-12 18:08:27 I don't understand how using not even latest LTS kernel can be 'rolling' 2023-03-12 18:08:37 Maybe I've never unpacked the concept enough to really understand it. I thought stable tags were for a locked set of repo commits. 2023-03-12 18:08:44 so point releases only really exist from the perspective of "things to install" 2023-03-12 18:09:32 where "things to install" would be standard/extended ISO etc 2023-03-12 18:10:20 the point releases don't mean anything 2023-03-12 18:10:33 they only exist to roll new iso's 2023-03-12 18:10:41 there is only '3.17' 2023-03-12 18:10:46 yeah that's what I said 2023-03-12 18:11:14 2 people saying it is perhaps more convincing 2023-03-12 18:13:29 davycrockett: so you could consider having your own mirror where whenever 3.17.3 is released you immediately mirror 3.17 elsewhere and call it 3.17.3 and never update it and that would give you a permanent repo of 3.17.3 2023-03-12 18:14:06 and then repeat the same pattern after other releases 2023-03-12 18:14:27 there's really not much updated in stable aside from certain packages and the kernel tho 2023-03-12 18:14:37 minimal: I could, and that might be a good solution in some cases. I don't object to the way it works. It just surprised me, so I wanted to understand it. 2023-03-12 18:14:41 there's what like 10 packages updated a week, maybe, and some bugfixes 2023-03-12 18:15:17 but yeah it's just the latest lts kernel give or take 2023-03-12 18:17:19 reallyh it depends on the particular package maintainer, some only update for security fixes, others do updates for other reasons 2023-03-12 18:19:38 Interesting. I wonder how many other people like me didn't know that more than I wonder how many others assigned a float in their conf. 2023-03-12 18:22:35 I guess updates to "main" are less frequent than updates to "community" in a release 2023-03-12 18:37:57 probably not given linux-lts being in main 2023-03-12 18:40:19 it's well understood that operating systems don't increment version for every change. otherwise kernel 5.15.101 would be in debian 11.5.385 or something 2023-03-12 18:41:58 theoretically we could have alpine 3.17.167380 but nobody does that 2023-03-12 18:45:12 I guess I conflated "stable" with "immutable". Glad to learn. 2023-03-12 21:33:01 hello I'm looking for the zfs config file so that I can add "ZFS_INITRD_PRE_MOUNTROOT_SLEEP" I've read that it fixes "cannot import 'rpool': a pool with that name already exists. use the form zpool import to give it a new name" and shortly after I can give a passphrase. I've used the guide on the wiki and install alpine to a VM: https://wiki.alpinelinux.org/wiki/Root_on_ZFS 2023-03-12 21:57:37 sorry, incomplete link. I used this: https://wiki.alpinelinux.org/wiki/Root_on_ZFS_with_native_encryption 2023-03-12 23:51:34 SirMetathyst: I'm not sure of the answer to your question, but I can say I get that error on boot too, and aside from being a mild annoyance it has no consequence. 2023-03-12 23:52:53 Oh, I reread your comment. I guess I want that setting to. Thanks! Now to find the config file. 2023-03-12 23:54:00 How about https://github.com/openzfs/zfs/issues/11663 instead? 2023-03-13 00:03:58 I am trying to debug an issue with pipewire. But it seems to be related to a more fundamental issue on my system. When I compare system A running alpine, I have a pretty well filled /run/udev. System B does not. When I explicitly call udevadm trigger I get them. Is there a way to do this automatically? 2023-03-13 00:35:05 been trying to mount a cdrom on alpine with no luck; doesn't recognize iso9660. /lib/modules/5.15.101-0-lts/kernel/fs/ doesn't contain it, `cat /proc/filesystems` shows iso9660 though. Is there a way I can enable it? I'd like to use CDs. 2023-03-13 00:36:35 elagost: modprobe isofs, Busybox's mount does NOT auto-load the module when you try and mount a cdrom 2023-03-13 00:36:46 whereas util-linux's mount command will 2023-03-13 00:40:42 I do have util-linux installed and the isofs module loaded and it does not mount. I get this in dmesg: https://termbin.com/q8hu8 I know the hardware and disk work... 2023-03-13 00:42:44 maybe try taking it out and putting it back in, or using a different disk 2023-03-13 00:42:57 maybe the disk is not compatible with your drive 2023-03-13 00:43:18 same disk, same drive, works on a linux mint live usb. 2023-03-13 00:44:01 what mount command are you running? 2023-03-13 00:46:20 doas mount -t iso9660 /dev/sr0 /media/cdrom/ 2023-03-13 00:46:34 I have also tried -t isofs and without -t. 2023-03-13 00:54:51 those appear to be I/O errors reading the disc 2023-03-13 00:56:17 is Mint using the same/similar kernel version? 2023-03-13 00:58:06 what do file -s /dev/sr0 and blkid /dev/sr0 say? 2023-03-13 00:58:09 It's using 5.15 (it's an ubuntu kernel) 2023-03-13 01:02:43 elagost: this is a data CD, right, not an audio CD? 2023-03-13 01:04:09 It's an audio cd. Linux mint also shows me the same dmesg errors, but manages to mount the disk and play audio from it in rhythmbox. 2023-03-13 01:05:52 I've not been able to read any audio cd in alpine and have resorted to using other OSs to rip/burn disks. file -s /dev/sr0 and blkid /dev/sr0 both produce 'Inpout/output error' and nothing, respectively. 2023-03-13 01:18:37 elagost: an audio CD does not have a filesystem 2023-03-13 01:18:56 ISO9660 is for data CDs/DVDs 2023-03-13 01:19:19 you cannot mount an audio CD, you need a program to "rip" audio from a audio CD 2023-03-13 01:19:33 oh, interesting. Learn something new every day. 2023-03-13 01:20:20 GUI file managers usually can browse them though (nemo, nautilus, etc can see the .wav files on the CD) 2023-03-13 01:20:38 there are/used to be some programs that presented audio CDs as a mounted filesystem (via "fuse") but not sure if any of those is still around these days 2023-03-13 01:20:56 where they display a pseudo-filesystem 2023-03-13 01:21:33 oh okay. I'll look for a fuse helper for it then. 2023-03-13 01:21:35 audio CDs don't contain WAV files, there contain raw audio information 2023-03-13 01:22:59 Alpine has packages such as grip, whipper for audio CDs 2023-03-13 01:24:15 hey, gvfs-cdda was apparently what I needed. 2023-03-13 01:25:20 file managers and rhythmbox can see it now. I will check out grip and whipper. Thank you for the pointers minimal! I appreciate the help. 2023-03-13 01:25:39 audio cd's are even worse...they don't contain data most data routines understand. data discs are usally 2048 bytes a sector, audio cd's are not 2023-03-13 01:26:40 cross-solomon reed interleaving of raw PCM data with eight-to-fourteen modulation 2023-03-13 01:27:15 that's why they were difficult to rip in the 90's...they did not contain sector information and data drives had issues staying in sync 2023-03-13 01:29:24 wow. Guess I'm glad I'm 30 years late to the party? 2023-03-13 01:43:45 As someone who just recently fetched an old CD+DVD rw apparatus out of storage, but hasn't had a chance to plug it in yet, I appreciate this conversation and am happy to join your party 30 years late. 2023-03-13 02:41:37 yeah...you have to remember that redbook predates CD-ROM by quite a few years. The format was released in 1982...so assume it's late 70's/very early 80's technology 2023-03-13 02:42:55 that's why a 650MB CD-R could hold 74 minutes of music despite the fact redbook audio is about 10MB a minute. 2023-03-13 02:43:15 even with the ETF modulation and FEC the lack of sector identification gave you more space 2023-03-13 03:02:51 elagost, I need to try and get GRIP into stable and out of testing 2023-03-13 03:03:29 Anyone having disconnects every 15s or so under Kernels 5.15.99/100/101 on RTL chipsets? This is consisent across my laptops and desktop -_- 2023-03-13 08:54:16 What could cause a [APK unavailable, skipped] from `apk fix`? Because I got a bunch of those, and important stuff like `alpine-keys` seem pretty important for a working system... 2023-03-13 08:58:25 didn't update first pretty sure 2023-03-13 08:58:52 and then if the apk doesn't exist anymore, fix says that 2023-03-13 08:59:08 i.e. if you, lets say, build your own package of something that is 1.31.0-r1 2023-03-13 08:59:22 then you install it, and you rebuild into the same 1.31.0-r1.. then update and run fix 2023-03-13 08:59:31 it won't exist in the same version, and an upgrade would replace it instead 2023-03-13 08:59:38 as for the specific case no idea, but just upgrade -a should be fine 2023-03-13 09:53:35 I just kicked up sway on a new install, and don't have any keyboard response. has anyone else seen this? 2023-03-13 09:54:37 Mouse is 100% fine. I had to add a broken command to sway/config because mod-shift-e would not call up swaynag to exit sway 2023-03-13 10:14:55 never seen that before no 2023-03-13 10:15:04 usually "all input broken" implies not in the input group 2023-03-13 10:15:10 but mouse working only.. :D 2023-03-13 10:20:07 yah, it's odd. 2023-03-13 10:22:12 psykose have you seen the package 'game-devices-udev' seems more updated than steam-devices package 2023-03-13 10:23:13 also, it's not because i'm in or out of input group. Mouse works, kbd doesn't 2023-03-13 10:23:40 umk3[m]: what about it 2023-03-13 10:23:48 somercet: all i would guess is weird udev stuff 2023-03-13 10:24:11 yah, but it's a stock install 2023-03-13 10:24:28 i just grabbed some udev rules manually from that repo to make my joysticks work, and it did work 2023-03-13 10:25:10 no idea why steam-devices was totally forgotten 2023-03-13 10:26:14 somercet: that's what i mean, i.e. not set up correctly 2023-03-13 10:26:24 umk3[m]: sure i'll add it 2023-03-13 10:27:30 is it fine to do so? 2023-03-13 12:12:07 davycrockett: just seen your reply, did you manage to get that working? 2023-03-13 12:30:47 how can I add the kernel command line option "rootdelay" to syslinux? 2023-03-13 12:31:31 default_kernel_opts in /etc/update-extlinux.conf and rerunning whatever triggers it 2023-03-13 12:31:55 i guess just `apk fix syslinux` would work for the latter 2023-03-13 12:41:01 @psykose: thanks, that worked although my other problem of the "cannot import zpool" issue still remains. rootdelay seems to have done nothing... 2023-03-13 12:41:21 i don't think that specific failure is very related to timing 2023-03-13 12:41:59 hm. It's weird. It waits about 5 seconds says that error then allows me to type in passphrase 2023-03-13 12:42:09 maybe it's because I'm running it on a VM? 2023-03-13 12:48:46 ah, hm 2023-03-13 12:48:50 no clue then :) 2023-03-13 12:49:40 oh well, it's kind of an eyesore but.. it's working 2023-03-13 12:57:53 psykose, found the problem 2023-03-13 12:58:19 who where what when how 2023-03-13 12:58:37 I had to go back and install a bunch of -openrc packages, and accidentally included busybox-mdev-openrc 2023-03-13 12:58:53 that borked libinput from finding the keybd 2023-03-13 12:59:15 My password is not on this machine. 2023-03-13 13:00:16 it wasn't even enabled in rc-update, the boot process was loading it. 2023-03-13 13:06:54 so it wasn't something I left out, it was something I mistakenly installed. 2023-03-13 13:12:44 ah 2023-03-13 14:00:32 psykose, is there a resource to identify which runlevel a given service should run on? I have eudev on sysinit, right now, which seemed to work fine. 2023-03-13 14:00:48 just remove it then run setup-devd udev to have them set correctly 2023-03-13 14:01:09 aside from that not really and they're pretty not that meaningful in general 2023-03-13 14:01:48 by default udev+udev-trigger is sysinit the postmount/settle in default, so that the events are all settled (but the handling starts early) 2023-03-13 14:04:38 gotcha ty 2023-03-13 14:11:06 looks like my /etc/apk/world somehow got truncated to a handful of packages i added last. how did i do this and what should i do now? 2023-03-13 14:12:26 (the answer to the former might be ' put / on xfs and had my laptop run out of battery') 2023-03-13 14:25:30 i've never lost data like that with xfs on an ssd, weird 2023-03-13 14:25:42 but i don't think there's anything you can really do except.. add things you used 2023-03-13 14:26:07 easy recommendation: add barebones stuff (openrc, alpine-base), run apk fix, watch it remove a million things, look at the things removed 2023-03-13 14:26:15 add back the programs you used from removed log 2023-03-13 14:37:22 SirMetathyst: Nope, I haven't -- I was waiting for you to report whether it works or not. Thank you for trying. Agreed, the error's an eyesore. 2023-03-13 14:49:06 thanks psykose. i've never used xfs on laptops before, but the corruption was really bad (e.g. the executable from the last package i installed had garbage instead of an elf image after boot). so i decided to convert to ext4, but now it looks like i managed to break the system further -- i have fsck from util-linux-misc but no libmount.so.1, it's dependency. maybe it'd be a better idea to reinstall... 2023-03-13 14:50:17 `apk fix \*` should fix a bunch of stuff for those 2023-03-13 14:50:22 (and because fsck is... fscked openrc refuses to start boot, so i'm left without much of a system) 2023-03-13 14:50:25 but in that case i would assume most of your drive is fucked 2023-03-13 14:50:51 so all i would /really/ do unless you're pressed for time to use the same machine, is to just.. copy the data you used somewhere, and just reinstall fresh 2023-03-13 14:51:07 better than mysterious truncated stuff for the next 3 months periodically cropping up 2023-03-13 14:51:55 overall this sounds like an issue of your drive 2023-03-13 14:52:42 the only ssds with a guarantee that powerloss doesn't lose you data on power loss are enterprise ones, but even most consumer ssds do succeed at flushing some writes with even their capacitors 2023-03-13 14:52:59 i really doubt xfs did anything special at all here, it wouldn't intentionally just hold writes for a long time 2023-03-13 14:53:11 unless there's a lot more to it 2023-03-13 15:01:52 i don't think i completely understand journaling filesystems, but in my experience ext4, which has data journal, tends to at least complain. xfs was completely silent, which was what frightened me. it's entirely possible that it's the drive -- it's a seemingly normal consumer kingston nvme but i got it from a somewhat sketchy place 2023-03-13 15:03:15 so, how do cool kids install alpine, provided i have done all the preps already and just need to populate /? 2023-03-13 15:07:46 xfs is a journaling fs 2023-03-13 15:08:16 where would you expect a complaint? normally it would be in dmesg on mount or whatever 2023-03-13 15:09:42 yep, somewhere on mount 2023-03-13 15:09:57 i'm not sure we have cool kids 2023-03-13 15:33:09 i just boot the iso and use the script 2023-03-13 15:46:07 should the initrd modprobe the filesystem modules, or who should be doing that? 2023-03-13 15:50:21 ovf, yes, initrd loads some modules, particularly FS and HDD adapter modules. 2023-03-13 15:56:13 looking at /usr/share/mkinitfs/initramfs-init, it will need something like rootfstype= or modules= 2023-03-13 17:20:46 hi all! 2023-03-13 17:21:38 i noticed 3.15 -> 3.16 removed /usr/sbin/pw{un,}conv ... they're still part of the shadow utils suite, though. was that an accident or on purpose? and if the latter, what's the alpine-suggested way of shadowing/unshadowing /etc/passwd now? 2023-03-13 17:24:09 they're in shadow-conv 2023-03-13 17:24:20 https://pkgs.alpinelinux.org/contents?file=pwconv&path=&name=&branch=v3.16 2023-03-13 17:25:00 specifically https://git.alpinelinux.org/aports/commit/community/shadow?h=3.16-stable&id=35d0388cce0e4ef1653380745e6265dd9ece3fd4 2023-03-13 18:02:28 oh! alright, would not have guessed that, but makes sense now. thank you, psykose! 2023-03-13 18:03:07 times like these make me appreciate git, since that took me like a few minutes to find :) 2023-03-13 18:05:47 Huh, odd, /run/pcscd/pcscd.comm is world-writeable, that doesn't sound right. 2023-03-13 18:06:22 ACTION sent a code block: https://matrix.org/_matrix/media/v3/download/matrix.org/kSSJmKnjdrnePMBJdaBqGDPA 2023-03-13 18:07:35 Happy to see 5.15.102 already being worked on, thanks all for being so vigilant  2023-03-13 18:08:10 hmm, i know about pkgs., psykose (didn't find it there, or through googling) ... but not any kind of alpine git. where did you search and then find? 2023-03-13 18:08:36 WhyNotHugo: wonder what makes it or what the socket allows one to do specificallyt 2023-03-13 18:08:56 Saijin_Naib: yeah, should already be in 3.17 2023-03-13 18:09:08 rapha: i used pkgs first, but then just git log 2023-03-13 18:09:11 of aports 2023-03-13 18:09:23 It allows accessing a smartcard :P 2023-03-13 18:09:32 :) 2023-03-13 18:09:35 If it has a pin or "touch to authorise" it sohuld be fine. 2023-03-13 18:09:57 But if not, it allows any user to sign or decrypt stuff ¯\_(ツ)_/¯ 2023-03-13 18:10:37 For a "daemon to access smart cards (e.g.: security hardware)", it sounds like a dangerour default. 2023-03-13 18:11:01 afaict it makes it itself 2023-03-13 18:11:02 i get what command you used, psykose ... but what repo? 2023-03-13 18:11:06 aports 2023-03-13 18:11:10 https://git.alpinelinux.org/aports/ 2023-03-13 18:11:21 aha! 2023-03-13 18:11:28 WhyNotHugo: we could make /run/pcscd 750 instead of 755 2023-03-13 18:11:31 that's a one line change 2023-03-13 18:11:33 well 2023-03-13 18:11:34 alright, i hope i can remember that until next time i need it :) 2023-03-13 18:11:46 it would be pcscd:pcscd 750 2023-03-13 18:11:52 so.. then you need to be in the group specifically? 2023-03-13 18:11:56 that's quite breaking in itself 2023-03-13 18:12:06 rapha: apk add cmd:pwconv 2023-03-13 18:12:39 o_O 2023-03-13 18:12:50 wow, now we're getting to the REAL comfy stuff! 2023-03-13 18:13:04 do people really find that that comfy? :D 2023-03-13 18:13:14 knowing how it works i never use it because it's quite the edgecase factory :p 2023-03-13 18:13:57 WhyNotHugo: specifically, it's configured as /run/pcscd rundir, and the init.d makes it 755 for it 2023-03-13 18:14:51 psykose: yeah, it would be a breakign change. I'm not even in that group myself :P 2023-03-13 18:14:55 well 2023-03-13 18:14:58 afaict doing 2023-03-13 18:15:03 pcscd:someothergroup 2023-03-13 18:15:05 would work 2023-03-13 18:15:12 and it could be something like.. plugdev, or input 2023-03-13 18:15:19 those are very common for this use i guess 2023-03-13 18:15:28 though in reality this kind of separation isn't very good ofc 2023-03-13 18:15:40 in the end the "logged in user" and "everything you run" just has access to everything 2023-03-13 18:16:02 if only we had that real logind alternative and working uaccess for everything and a good way to mediate it :p 2023-03-13 18:16:06 psykose: the cmd: provides was problematic back when it was just a virtual provides, but since it has been versioned, I haven't noticed any problems 2023-03-13 18:16:20 that versioning is exactly why it's a hack :/ 2023-03-13 18:16:33 there's no way to make it work without some global-aports-scanning thing 2023-03-13 18:16:52 as-is the issues are rare but there's no guarantee something won't become bigger 2023-03-13 18:16:57 The concept of uaccess is nice. I always wonder if there would be a non-horrible way to implement it. 2023-03-13 18:17:08 you could run upgrade tomorrow and end up with some completely different cmd: provider because it just became a bigger version 2023-03-13 18:18:08 and the alternative is priorities, but that needs you to know every cmd: provider everywhere, so it can't be automatic 2023-03-13 18:18:20 but, ofc, it is "good enough", so of course it's not bad 2023-03-13 18:18:25 not about to be a perfectionist :p 2023-03-13 18:18:59 WhyNotHugo: well, it technically is implemented and works fine via elogind 2023-03-13 18:19:02 afaict 2023-03-13 18:19:55 issue is mostly in the 'two camps' part where on one side is systemd and on the other you have people that don't even use PAM and just suid everything and shout at the earth so all there is in the middle is something half-abandoned and with the occassional unfixable bugs :/ 2023-03-13 18:20:06 the only lack in the implementation is that nobody maintains the middle part 2023-03-13 18:20:54 chimera linux picked something completely new for service management and user services and the like, and just skipped the whole elogind thing 2023-03-13 18:21:01 so the dev is working on https://github.com/chimera-linux/turnstile 2023-03-13 18:21:19 maybe it will end up being more generic than tied to dinit and usable in itself as something of a logind replacement 2023-03-13 18:21:49 i have my doubts given it's a "fresh one person project" and that kind of stuff is hard to make, but :) 2023-03-13 18:25:39 I've seen turnstile and it looks promising. 2023-03-13 18:25:50 I do dislike PAM, but at this point I've given up on trying to live without it. 2023-03-13 18:26:20 Also being C++ can't help lure casual contributors. 2023-03-13 18:26:21 i don't dislike the concept conceptually 2023-03-13 18:26:35 (i.e., you need that does "something like pam" in that sense) 2023-03-13 18:26:41 the implementation is just uh, yeah 2023-03-13 18:27:09 the way the loading/authentication works and the lack of ways to even debug it sanely is absolute bizarro land 2023-03-13 18:27:22 never look at it closer unless you plan to really fix a bug because you will be upset :p 2023-03-13 18:28:31 I've looked at it too much. I've seen things. 2023-03-13 18:28:33 reminds me of https://xeiaso.net/talks/surreal-horror-pam-2021-11-09 2023-03-13 18:30:26 https://man.openbsd.org/login.conf.5 2023-03-13 18:33:26 The trickiest hard of replacing pam is how it's emebeded into existing codebases. You'd need something with the same C API, and then need to rebuild anything that remtoely touches pam. 2023-03-13 18:33:56 There's not stable protocol between processes involved. 2023-03-13 18:34:33 yeah, pretty much 2023-03-13 18:39:19 One day ska will come with his pam alternative and will make our lives better 2023-03-13 18:41:30 one day ska will make a pam alternative that involves running 17 daemons and nobody will run it except a few people :D 2023-03-13 18:41:54 Yea 2023-03-13 18:42:41 skarnet pam? or spam for short? ;-) 2023-03-13 18:42:54 XD 2023-03-13 18:43:40 psykose: 17 daemons using 100bytes of memory an ~0% cpu aren't that bad. 2023-03-13 18:43:51 certainly not 2023-03-13 18:43:54 not about the resource use 2023-03-13 18:44:13 more just people don't generally care to bother figuring out how to chain together 17 programs and go for the onebigthing solution 2023-03-13 18:44:58 a lot of the s6-ipc* stuff is that way, or i guess just djb networking in general 2023-03-13 18:45:09 you kinda use 10 programs to do "application accepts http" 2023-03-13 18:45:54 it works and it ain't half bad (even if i'm not personally convinced this scales to anything at all networking throughput wise with so much forking), but most people never bother to learn it 2023-03-13 18:46:56 I've played very superficially with s6. Is it feasible to run as a service manager yet? 2023-03-13 18:47:13 Like, on alpine, instead of openrc. 2023-03-13 18:47:34 I run alpine with s6 2023-03-13 18:48:18 With busybox's init? 2023-03-13 18:48:27 with s6-linux-init 2023-03-13 18:49:53 everything is feasible if you just write all the files yourself 2023-03-13 18:50:13 ^ 2023-03-13 18:50:18 Do you have service files and alike public anywhere? 2023-03-13 18:50:19 in terms of alpine specifically, the whole baselayout has no restrictions in the sense of you can just.. remove openrc 2023-03-13 18:50:42 openrc is a part of alpine-base afaik 2023-03-13 18:50:45 nope 2023-03-13 18:50:53 well 2023-03-13 18:50:53 yes 2023-03-13 18:50:58 but alpine-base is not required 2023-03-13 18:50:59 just remove it 2023-03-13 18:51:11 baselayout is the actual files 2023-03-13 18:51:29 and alpine-release for os-release 2023-03-13 18:51:50 wouldn't it remove other paclages from alpine-base if I apk del alpine-base? 2023-03-13 18:51:59 You'd explicitly add themn 2023-03-13 18:52:01 you have to add them yourself 2023-03-13 18:52:05 but i mean there's no magic 2023-03-13 18:52:23 apk won't stop you, just add things you want etc, keep openrc removed 2023-03-13 18:52:35 i'd say every distro is like that i guess, apt won't stop you either 2023-03-13 18:52:48 not sure how supported or not it is :D 2023-03-13 18:53:03 in alpine it is supported however, if you find a bug in doing that i would fix it 2023-03-13 18:53:50 Might be simpelr to copy alpine-base into alpine-base-s6 and replace openrc with s6. 2023-03-13 18:54:33 the only thing in alpine-base is busybox+busybox-suid+alpine-release+alpine-conf+apk-tools 2023-03-13 18:54:35 just 5 things 2023-03-13 18:54:40 But then there's just a million other things left to do. 2023-03-13 18:54:50 (and libc-utils but you don't need those actually it's like.. ldd) 2023-03-13 18:55:11 apk add -t .alpine-base-s6 .... 2023-03-13 18:55:12 :) 2023-03-13 18:55:37 Noice, no openrc now... But no alpine-conf either, but it's understandable 2023-03-13 18:55:56 ah 2023-03-13 18:55:59 conf depends openrc 2023-03-13 18:56:03 ok, guess it's not that easy 2023-03-13 18:56:28 that sounds removable however, somewhat 2023-03-13 18:56:29 ah, because it needs to enable services 2023-03-13 18:56:31 ye 2023-03-13 18:56:56 I don't think I would miss it on my server 2023-03-13 18:57:12 I can reinstall it anyway 2023-03-13 19:41:20 How does the busybox package work by the way? 2023-03-13 19:41:42 It "owns" a few binaries, but other packages can install replacements with no conflict? 2023-03-13 19:44:38 other packages install binaries that "replace" the Busybox versions 2023-03-13 19:45:20 But how does that work? If two packages install /usr/bin/hello, don't they conflict? How do you resolve which one wins? 2023-03-13 19:45:40 busybox doesn't install binaries (beyond itself), it creates symlinks 2023-03-13 19:46:17 e.g. mount is a symlink to busybox, when you install the "mount" package then the "mount" symlink is replaced by the "mount" binary file 2023-03-13 19:47:49 Look at the busybox contents - do you see "mount" binaries etc there to conflict? Nope. https://pkgs.alpinelinux.org/contents?branch=edge&name=busybox&arch=x86_64&repo=main 2023-03-13 19:49:35 apk only tracks things part of the package 2023-03-13 19:50:02 as minimal says, but in dumb speak the busybox utilities are just invisible because they are symlinks created post-install 2023-03-13 19:50:02 :) 2023-03-13 19:50:25 some of them are overwritten, some of them are shadowed via being in usr/bin when busybox installs to bin/ 2023-03-13 19:50:28 not a huge fan of the layout 2023-03-13 19:50:33 well they're created by post-install, post-upgrade, and also via a trigger 2023-03-13 19:50:48 wish someone just usrmerged this shit and found something better :p 2023-03-13 20:02:55 Ah, post-install. Obviously. 2023-03-13 20:03:15 I thought that was a bit dirty. 2023-03-13 20:03:33 How about putting the busybox ones in /sbin and others in /usr/sbin ? 2023-03-13 20:05:05 it's like that for quite a few in general 2023-03-13 20:05:11 as psykose pointed out that can occasionally be a problem and when spotted then the relevant package or busybox is modified so both use the same path 2023-03-13 20:05:13 that solution obviously sucks in the same ways 2023-03-13 20:06:06 (relying on path ordering is quite terrible) 2023-03-13 20:06:13 the intention in general is NOT to have to alternative binaries (Busybox and "full fat" version) but rather only one, with the BB version being the default 2023-03-13 20:07:20 psykose: yeah usrmerge would resolve such situations 2023-03-13 20:07:45 but not bin vs sbin scenarios 2023-03-13 20:07:56 usrmerge usually paired with sbinmerge 2023-03-13 20:08:36 I suggest we replace them all with using /thelastplaceyoudlook/ 2023-03-13 20:08:50 realistically you just need some form of alternatives to deal with it 2023-03-13 20:37:20 minimal: Why would you want them to be the same path? 2023-03-13 20:38:24 WhyNotHugo: not sure which message you're referring to 2023-03-13 20:38:43 as psykose pointed out that can occasionally be a problem and when spotted then the relevant package or busybox is modified so both use the same path <<< this 2023-03-13 20:39:08 Wouldn't keeping them in separate paths and relying on path ordering be simpler? 2023-03-13 20:39:17 ah, so that the "full fat" version of the program will then replace the Busybox version as expected 2023-03-13 20:39:52 Exactly, gnu-ps goes into /usr/bin/ps and overrides the busybox one. 2023-03-13 20:40:00 And then, no post-install! 2023-03-13 20:40:08 as I said earlier the intention is to have only a single "mount" command (for example) rather than replying on PATH value to decide which one is run 2023-03-13 20:40:24 no post-install what? 2023-03-13 20:40:47 If you do path ordering you wouldn't a post_install / trigger to do the symlinking thing. 2023-03-13 20:41:09 What's wrong with having two mounts? Isn't expecting PATH to be sane reasonable? 2023-03-13 20:41:32 different processes/users might have differing PATH values 2023-03-13 20:41:40 and so see different behaviour 2023-03-13 20:42:55 the symlinking is done to enable the Busybox versions of commands in the 1st place and also to re-create a symlink if/when you REMOVE the "full fat version", i.e. "apk del mount" should not leave you without a mount command 2023-03-13 20:43:24 as the Busybox trigger will recreate a link from mount to busybox 2023-03-13 20:43:38 But if some user removed /usr/bin from their $PATH, they must have had a reason, right? 2023-03-13 20:44:01 Yeah, I noticed it got recreated, that's very handy. 2023-03-13 20:44:06 I also mentioned processes as well as users, e.g. cronjobs etc 2023-03-13 20:54:38 i don't think "path always has 20 bins in it and /usr comes first" is very sane or meaningful 2023-03-13 20:54:43 but it's more a philosophical discussion 2023-03-13 20:55:04 insofar as busybox and notbusybox, same-path is generally most correct in this case as it would get overwritten/restored as needed 2023-03-13 20:58:17 but in general, there's two discussions there: why does one have more than one /bin directory at all (philosophy), and what do you do for duplicate executables (a form of policy) 2023-03-13 20:58:36 path order for the latter is extremely fragile and using some /usr semantics for is probably the worst solution 2023-03-13 20:59:25 distros with 'alternatives' just do exactly that, they are installed to /somewhere and something else symlinks the one you want into the Bin Directory 2023-03-13 20:59:57 it's definitely the least fragile option but it requires a ton of integration to get to work :p 2023-03-13 21:00:48 then the 50 bin directories shit is just weird philosophy from eons ago that doesn't really have a practical use beyond 'something someone did 20 years ago' and 'everyone adds the 20 directories to path or else stuff is missing' 2023-03-13 21:01:16 realistically all you need is /usr/local/bin:/bin:$HOME/all/your/weird/home/bin/dirs 2023-03-13 21:01:42 or similar 2023-03-13 21:01:58 something like nixos is pretty much that, just the first two are one and the symlink farm is managed in another way 2023-03-13 21:53:50 also -- i can see how at some point one does indeed just go to full chroot: https://stackoverflow.com/questions/28463987/how-to-debug-program-with-custom-elf-interpreter 2023-03-13 21:55:27 otherwise, i'm extremely happy with alpine so far (xfs wrecking / notwithstanding). it feels just like archlinux did when i started using it, 2006 or so? the wiki, looking sparse from the outset, has nevertheless been extremely useful. 2023-03-13 21:56:15 when I type: openrc --help 2023-03-13 21:56:21 I get: 2023-03-13 21:56:30 -n, --no-stop do not stop any services 2023-03-13 21:56:30 -o, --override override the next runlevel to change into 2023-03-13 21:56:30 -s, --service when leaving single user or boot runlevels 2023-03-13 21:56:30 Options: [ a:no:s:SChqVv ] 2023-03-13 21:56:30 2023-03-13 21:56:32 -S, --sys runs the service specified with the rest 2023-03-13 21:56:33 of the arguments 2023-03-13 21:56:35 -h, --help output the RC system type, if any 2023-03-13 21:56:37 -C, --nocolor Display this help output 2023-03-13 21:56:39 -V, --version Disable color output 2023-03-13 21:56:41 -v, --verbose Display software version 2023-03-13 21:56:43 -q, --quiet Run verbosely 2023-03-13 21:57:32 what about it 2023-03-13 21:57:52 openrc (OpenRC) 0.45.2 2023-03-13 21:58:08 I am wondering if my openrc binary is corrupted 2023-03-13 21:58:15 why would it be 2023-03-13 21:58:48 it's on a camera card. and the openrc --help doesn't make sense 2023-03-13 21:59:04 what about it doesn't make sense 2023-03-13 21:59:08 -q, --quiet Run verbosely 2023-03-13 21:59:09 looks completely correct to me 2023-03-13 21:59:23 -v, --verbose Display software version 2023-03-13 21:59:42 the help looks a little mangled to me 2023-03-13 21:59:47 it's not mangled 2023-03-13 21:59:54 that's just how they wrote it in 0.45.2 2023-03-13 22:00:02 it is wrong but it's also.. what they wrote 2023-03-13 22:00:09 nothing corrupted 2023-03-13 22:00:12 gotcha 2023-03-13 22:00:23 0.46 has that fixed 2023-03-13 22:00:33 they being gentoo github 2023-03-13 22:00:50 they being https://github.com/OpenRC/openrc/ 2023-03-13 22:02:06 actually not sure what fixed it where 2023-03-13 22:03:31 the commit diff doesn't have anything like that :D 2023-03-13 22:03:37 in any case just a few words 2023-03-13 22:03:53 they also still have a bug in their bash-completion that completely messes up the shell. 2023-03-13 22:17:30 psykose: https://github.com/OpenRC/openrc/commit/95dc83bfbcfeffd1f1dca97e1c5b9a346e0ea42e 2023-03-13 22:24:32 ah yes 2023-03-14 03:43:06 5.15.102 fixed networking, thanks all for pushing it out so fast today 2023-03-14 03:47:21 For zstd compression the valid values are from -131072 to 22 with 3 being the default // from man rsync 2023-03-14 03:47:27 typo? 2023-03-14 03:49:04 uniqNuuid: you saw my earlier comment about grub-install? 2023-03-14 03:53:57 minimal: yes. 2023-03-14 04:02:29 minimal: on some system, user can define a hook to run on grub upgrade, e.g. pacman hook, but not the case on alpine, the hooks are defined by package maintainer. 2023-03-14 04:03:58 uniqNuuid: well the grub package's existing trigger could be modified, the issue is that whatever installed grub in the first place (i.e. setup-disk) would ALSO need to be modified to store the original grub-install settings somewhere 2023-03-14 04:04:47 minimal: it does not have to store. just provide a .conf file for user to fill in 2023-03-14 04:05:24 fill in what? setup-disk already knows what options it passes to grub-install 2023-03-14 04:07:42 minimal: not all people use setup-disk to install. 2023-03-14 04:07:59 indeed 2023-03-14 04:09:00 but first have setup-disk creating a "store" of those options for the grub trigger to use, if present, and then people doing the grub install themselves can create an equivalent "store" themselves 2023-03-14 04:13:31 yeah, save the options to a file, if people using setup-disk. if people manual install, and if the same file exists and not empty, then source the file on grub upgrade. 2023-03-14 04:14:28 and provide a note for user to acknowledge that file :) 2023-03-14 04:14:52 however what happens if someone modifies their grub setup in some way later (i.e. setting up dual-boot etc) and they don't modify the "store" of settings, then a later Grub package upgrade would cause problems 2023-03-14 04:16:37 yeah it is complicated. arch linux once had such a problem, grub upgrade makes system unbootable : https://archlinux.org/news/grub-bootloader-upgrade-and-configuration-incompatibilities/ 2023-03-14 04:18:11 luckly pacman has hook, so i ended up creating a hook for grub : https://0x0.st/H-rF.txt 2023-03-14 04:18:22 solve it forever. 2023-03-14 04:23:12 for UEFI and Grub Alpine setup-disk relies on using fallback EFI location (no EFI variables are set)........so there's also the risk of a 2nd installed OS replacing the fallback EFI file with their own and then a later Alpine grub-install replacing that file with Alpine's, so rendering the other OS unbootable....things can be complicated 2023-03-14 04:25:10 minimal: there is a `/boot/efi/EFI/alpine`, will it show up on BIOS/UEFI firmware menu? i don't know. 2023-03-14 04:25:48 some UEFI implementations may scan for all EFI files and display them in a meu, not sure 2023-03-14 04:26:52 normally multiple EFI boot variables are defined plus a BootOrder variable to reference those and then the UEFI menu displays entries based on the defined boot variable - as Alpine sets no boot variables then boot menu may not show anything, not sure 2023-03-14 04:53:02 uniqNuuid: the same idea would apply to other Alpine bootloaders, e.g. Syslinux also does not update MBR after it is initially installed 2023-03-14 04:54:48 but then there's a problem if you introduce this functionality, e.g. I install Alpine on a BIOS machine via setup-disk, which means Syslinux is used., later I decide to switch to Grub and so install and set that up, however I never bother to "apk del syslinux"......some time later an update to the Syslinux package triggers the Grub MBR to be overwritten by the Syslinux MBR... 2023-03-14 08:59:12 wait, boot loaders auto install themselves? 2023-03-14 09:40:22 holdonholdonholdonholdonholdon 2023-03-14 09:41:24 re hooks, some don't like it. see distri 2023-03-14 09:50:34 when s6-rc 2023-03-14 09:53:39 Hey there! I just wanted to share with you guys how awesome this 3-compartment display case with a sliding door is. 2023-03-14 09:59:55 pj: what is it for 2023-03-14 10:00:31 It's perfect for showcasing small items like pastries, cupcakes, or even jewelry. 2023-03-14 10:04:54 pj: and an alpine linux server with LED lights on and off 2023-03-14 10:56:39 <_010> i am trying to bubblejail chromium and firefox. Anybody has got a succesful build to share. 2023-03-14 11:33:43 doas kill -15 1 ==> reboot 2023-03-14 11:34:43 -9 does nothing 2023-03-14 11:41:36 not even kill it? 2023-03-14 11:54:27 _010: what problem do you have? it should be pretty straighforward 2023-03-14 11:59:23 lopid: kill -9 has no efffect on pid 1 2023-03-14 12:54:24 like https://github.com/Piraty/bubblejail/blob/master/wrappers/firefox ? 2023-03-14 12:54:39 chromium will not work when namespaced 2023-03-14 13:51:54 uniqNuuid: on uefi systems, i tend to just use linux efistub and let the firmware boot it. too bad typical firmare setup uis don't have boot variable editors, so one has to use bcfg, efibootmgr, or bcdedit, all of which you have to first get to 2023-03-14 13:57:32 i still don't completely understand how install-if works in apk, but i definitely want a 'doc' install-if that would pull in -doc packages in the same way bash-completion requests its ilk 2023-03-14 13:59:54 `apk add docs` https://git.alpinelinux.org/abuild/tree/abuild.in#n1853 2023-03-14 14:02:43 oh. exactly. thanks! didn't expect these things to be hardcoded in abuild, and couldn't see anything in aports 2023-03-14 14:04:20 ovf: bcfg, efibootmgr, or bcdedit, sucks when the vmlinux has a version number attached 2023-03-14 14:10:50 lucidiot: what a huge script 2023-03-14 14:11:32 http://0x0.st/H--P.txt -- that's with an archlinux rootfs in /a. no one can stop me because you can't stab people over irc. 2023-03-14 14:13:01 i'm coming over 2023-03-14 14:13:06 please put the kettle on 2023-03-14 14:34:10 hi, i tried to install alpine linux from running opensuse TW to a LV (for future dual boot). there's no "full" document how to do it 2023-03-14 14:34:23 what more should be instaleld after `./sbin/apk.static -X ${mirror}/latest-stable/main -U --allow-untrusted -p ${chroot_dir} --initdb add alpine-base' ? 2023-03-14 16:26:30 aio_write spawns a new thread for each write? https://github.com/esmil/musl/blob/194f9cf93da8ae62491b7386edf481ea8565ae4e/src/aio/aio_readwrite.c#L103 2023-03-14 16:28:40 ovf: Maybe bubblewrap is your friend here? 2023-03-14 16:29:53 that is ancientsource 2023-03-14 16:30:15 this is the actual source https://github.com/bminor/musl/blob/7d756e1c04de6eb3f2b3d3e1141a218bb329fcfb/src/aio/aio.c#L335 2023-03-14 16:30:18 but it might do the same thing anyway 2023-03-14 16:31:22 lol 2023-03-14 16:34:11 WhyNotHugo: well, sort of, i wrote my own silly version of it at the link above 2023-03-14 16:35:02 WhyNotHugo: linux aio isn't real, you want io_uring 2023-03-14 16:35:09 Even if I pass `SIGEV_NONE`, aio_write still spawns a new thread. What's the point of async IO if a new thread is spanwed on each write? 2023-03-14 16:35:22 Oh, the kernel itself has no real aio support? 2023-03-14 16:38:03 it sort of does, but nobody uses it. see the third para in the notes section of aio(7) 2023-03-14 16:38:55 "linux aio isn't real it can't hurt you" 2023-03-14 16:39:56 'threads spawned or not' and 'async io' are quite unrelated things 2023-03-14 16:40:11 ..even if the subjects are touching each other :p 2023-03-14 16:40:15 I don't get why the thread is needed even when SIGEV_NONE is used; that's basically a "fire and forget" async write. 2023-03-14 16:40:33 psykose: Exactly, they're unrealted things, so doing one shouldn't trigger the other. 2023-03-14 16:42:00 because in pre-io_uring linux, async was a lie. 2023-03-14 16:42:33 WhyNotHugo: that isn't really the correct analysis or how it works 2023-03-14 16:42:50 what i mean is 'how many threads are used' and 'the io won't block' are completely unrelated things 2023-03-14 16:43:02 maybe you have blocking i/o with 1000 threads or async i/o with one 2023-03-14 16:43:07 what you're trying to do is unrelated to this 2023-03-14 16:43:30 i'll just add is that outside of io_uring, there is no e.g. nonblocking file io 2023-03-14 16:43:36 if you want to 'do async i/o without spawning threads', then i don't think there's a libc way to do it 2023-03-14 16:43:56 but i also don't know what you're doing :p 2023-03-14 16:44:30 'async i/o on limited threads' sounds like something people write whole async runtimes for so it would be weird if it was that easy 2023-03-14 16:45:01 was there some specific reason you didn't want to spawn a thread for async writes in this case, or is it preoptimising? 2023-03-14 16:47:19 note that threads are very cheap in general, so this is something that sounds like the latter /or/ you are writing some really hot shit that is super i/o bound :) 2023-03-14 16:51:49 WhyNotHugo: you might also want to pose such a question in #musl on libera, but at the core of it there's no magic interface for this, you'll have to implement something that asyncwritesononethread yourself 2023-03-14 16:51:53 i'm not that much an expert tho 2023-03-14 16:56:50 this has nothing to do with libc, you have to understand what kernel interfaces are available 2023-03-14 17:13:27 kind of but also not really 2023-03-14 17:28:17 Hey there, noticed a problem while updating my edge system: 2023-03-14 17:28:21 https://paste.gnome.org/yvmDbJ9Cn 2023-03-14 17:28:35 my mirror is: //mirror.fit.cvut.cz/alpine/ 2023-03-14 17:28:43 ty all :) 2023-03-14 17:33:43 Did you try apk update? 2023-03-14 17:34:15 yes 2023-03-14 17:34:31 goes trough now 2023-03-14 17:34:42 prob a caching problem on the mirrors side 2023-03-14 17:35:11 Ermine: thanks 2023-03-14 17:35:28 There may be delays in fetching packages from main Alpine CDN I guess 2023-03-14 17:36:08 You can run setup-apkrepos and select the first one in the list 2023-03-14 17:36:59 With the recommended sync setup, it should be atomic though 2023-03-14 17:40:58 chereskata: use https://dl-cdn.alpinelinux.org/alpine/ is safe :) 2023-03-14 20:13:19 what would be the usual (if that's applicable to alpine) way of maintaining a persistent wireguard tunnel? just write a wg-quick initscript for openrc? 2023-03-14 20:14:25 ifupdown-ng has support for either wg or wg-quick 2023-03-14 20:14:28 i put something like https://img.ayaya.dev/QKc7GDuf1rWv in /etc/network/interfaces 2023-03-14 20:14:41 and then a corresponding wg-somename.conf in /etc/wireguard/ 2023-03-14 20:21:23 thanks! that doesn't look bad. maybe if i get fed up with iwd i'll switch all my network config to ifupdown (i note it uses wpa_supplicant for wifi) 2023-03-14 20:21:59 i just use both at once 2023-03-14 20:23:56 iwd and wpa_supplicant, on a single interface? :-) 2023-03-14 20:24:15 I use config generated by setup-interfaces and seems like ifupdown-ng and wpa_supplicant parts of this config are independent 2023-03-14 20:24:51 There's no use wpa_supplicant or anything like this in /etc/network/interfaces 2023-03-14 20:33:44 ah, i think setup-interfaces just directly writes to wpa_supplicant's config 2023-03-14 21:17:09 uniqNuuid: thanks :) 2023-03-14 21:36:31 Hello there Alpine users 2023-03-14 21:41:38 those exist? 2023-03-15 02:05:43 Hello, I'm having a lot of trouble switching from AMD integrated graphics to NVIDIA. I made sure mesa-dri-gallium and mesa-va-gallium were installed, but my computer isn't using the dedicated NVIDIA gpu. I installed gnome to see if it was a sway issue, but it's using "software rendering" per the gnome settings page, and it can barely run a terminal without the screen flickering like crazy 2023-03-15 02:06:20 I've exported MESA_LOADER_DRIVER_OVERRIDE=nouveau and LIBVA_DRIVER_NAME=nouvea in my ~/.profile but it doesn't seem to have helped 2023-03-15 02:07:11 and when I ran glxinfo | grep OpenGL it confirms I'm using llvmpipe 2023-03-15 02:07:55 Unsure what to do. I'd rather not use NVIDIA at all but this is the GPU I have. Would appreciate any advice 2023-03-15 02:37:56 no idea what gnome does but sway won't use the gpu without sway --unsupported-gpu 2023-03-15 02:39:14 you might have better luck with vulkan too (export WLR_RENDERER=vulkan) 2023-03-15 02:39:41 libva is also irrelevant as that is just video codecs 2023-03-15 02:39:59 actually, not sure if nouveau even has vulkan 2023-03-15 02:40:24 don't think it does, so forget that part 2023-03-15 03:04:39 Thank you! Would this go in my ~/.profile or in my sway config? I tried to put it at the end of the dbus line that launches sway from my ~/.profile but that didn't work 2023-03-15 03:19:07 the arg works, if it doesn't work it's for other reasons 2023-03-15 03:19:48 roger I'll look around. Apparently there's a nvidia DRM kernel mode setting I should enable. Thanks 2023-03-15 05:36:18 doesn't nvidia's libGL require glibc? 2023-03-15 05:36:36 most likely 2023-03-15 05:37:08 but it looks like they're using nouveau 2023-03-15 05:37:50 which does not need (and likely would not work with) nvidia's libgl implementation 2023-03-15 05:37:53 yes and yes 2023-03-15 06:41:45 i use lima 2023-03-15 10:36:24 hi.short q: i try to test my alpine postinstall script in qrmu but i get the error "wl_display_roundt 2023-03-15 10:36:33 rip failed". i start qemu this way: curl -fsSL https://transfer.sh/uEEAH1/cs 2023-03-15 10:42:14 idk what that is but i'm not clicking it 2023-03-15 10:42:30 barcode download pastebin :D 2023-03-15 10:43:23 Can I make doas prompt for the password again if I got it wrong? It's very annoying for a script to completely bail out just because I had a typo. 2023-03-15 10:44:23 not via doas itself, but you can loop it 2023-03-15 10:45:01 Not trivially, since it's hard to determine if the exit code is due to doas failing or the command failing. 2023-03-15 10:45:12 e.g. in execline i have something like `loopwhilex -x 0,130 doas ....` and it loops forever until you exit or get it right 2023-03-15 10:46:23 is upstream against adding support for it? 2023-03-15 10:46:29 i assume if the program does exit 130 that would be weird 2023-03-15 10:46:33 donoban: no 2023-03-15 10:46:57 psykose: 130 usually means sigint 2023-03-15 10:47:15 upstream has already added it 2023-03-15 10:47:18 i'm aware, i just forget how it's handled and if the program can do it anyway 2023-03-15 10:47:41 but also some things like curl have a huge list of possible exit codes that probably make it into the >128 range 2023-03-15 10:49:17 it looks waiting for next release https://github.com/Duncaen/OpenDoas/pull/102 2023-03-15 10:51:18 note that PR is not merged 2023-03-15 10:51:25 Huh, if someone where to port openbsd's login/login.conf implementation, doas wouldn't need extra patches for pam. 2023-03-15 10:51:28 maintainer pointed out issues with the code 2023-03-15 10:51:52 https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/doas/doas.c.diff?r1=1.90&r2=1.91 2023-03-15 10:52:32 instead of transfer.sh: https://pastebin.com/dl/Nw5kMgER 2023-03-15 10:52:49 https://img.ayaya.dev/zL87lxdl7LTl 2023-03-15 10:52:49 lmfao 2023-03-15 10:52:57 maybe i should ask on the sway channel.. 2023-03-15 10:52:59 anyway i see it sure 2023-03-15 10:53:09 this doesn't have an error or anything it 2023-03-15 10:53:50 you probably need no gl=on and something else 2023-03-15 10:54:46 i will try every possible option, thx psykose 2023-03-15 11:03:33 oleovit: out | curl -F"file=@-" https://0x0.st < "${1-/dev/stdin}" 2023-03-15 11:06:11 oleovit: i'd test with `-nographic` first, remove `-display gtk,gl=on,show-cursor=on` 2023-03-15 11:09:05 one moment uniqMuuid 2023-03-15 11:09:42 qemu: Gdk: gdk_window_get_height: assertion 'GDK_IS_WINDOW (window)' failed 2023-03-15 11:10:17 do i need xwayland on my host enabled or something like that 2023-03-15 11:14:03 are u testing qemu display or testing alpine image :( 2023-03-15 11:15:16 alpine image with my sway postinstall 2023-03-15 11:15:49 ohh the host is alpine? 2023-03-15 11:16:29 you're testing the host. never mind, i thought you are testing alpine guest 2023-03-15 11:19:05 i have a feeling this is not alpine specific. i should ask in the sway channel and not waste your time. al_display_roundtrip is a function in th sway code 2023-03-15 11:20:06 my host is alpine and i test the alpine guest with sway installed ;) 2023-03-15 12:00:39 that does seem like xwayland 2023-03-15 12:00:53 perhaps you should have GDK_BACKEND=wayland for gtk apps, idk when they default to wayland without it 2023-03-15 12:00:56 or if they support it at all 2023-03-15 12:01:00 for qemu specifically 2023-03-15 12:01:12 qemu has plenty of other ui frontends if you don't specifically need gtk 2023-03-15 12:02:51 that too 2023-03-15 12:04:27 @psykose, i would like you to ask about libc++ for 3.17, could you reveal a secret why package exists just in the edge? We extremely need one but cannot use the edge branch in the production env :( 2023-03-15 12:04:58 i can't think of a single scenario where you "extremely need" libc++ for any purpose at all 2023-03-15 12:05:19 it is merely a different c++ stdlib with the same interface for 99% of it 2023-03-15 12:05:33 but the answer is that things don't get added to stable releases 2023-03-15 12:05:42 until next release, that is 2023-03-15 12:05:52 @psykose, codebase is large and not pretty comtablible with stdlib unfortunately 2023-03-15 12:06:19 you mean libstdc++? 2023-03-15 12:06:28 or one of the other 5 implementations that exist too 2023-03-15 12:06:31 yeah, exactly 2023-03-15 12:07:10 well sure you can hire me and i'll build it in your ci pipelines for you 2023-03-15 12:07:11 ez deal 2023-03-15 12:07:17 limited time offer :p 2023-03-15 12:07:26 sure, i'll look at it for a second, let's see... 2023-03-15 12:16:05 enjoy, it's on dl-cdn in a bit 2023-03-15 12:16:08 @psykose, sounds intriguing in a way, but if there is a chance libc++ will appeared in 3.17 in that case? I guess that I am able to backport from edge to 3.17 by my own but "factory" build is much better anyways 2023-03-15 12:16:39 omg, thank you :) 2023-03-15 12:26:56 @psykose, Arigato, Aliсe-san! I can see libc++ packages in a repo, you are true magican. Any chance to buy you a coffee? :) 2023-03-15 12:28:54 :) 2023-03-15 12:29:00 don't think there is, but i appreciate the thought 2023-03-15 13:29:50 psykose: even polite denial is really risking it, when it's this guy offering you a coffee: http://0x0.st/H-ZL.jpg 2023-03-15 13:30:40 ACTION does not get the reference 2023-03-15 13:44:19 lmao 2023-03-15 14:55:08 what's the recommended way to setup a firewall in alpine? 2023-03-15 14:55:29 i wouldn't say there is a recommended way, just whatever you prefer 2023-03-15 14:55:58 normally someone would recommend awall since it's the alpine one but it's not that special or unique compared to the rest 2023-03-15 14:56:11 i wanted to use nftables but both docker and podman conflict with it D: so iptables? I can't find a basic example config 2023-03-15 14:56:13 and if you don't need to run iptables docker stuff i would use nftables directly 2023-03-15 14:56:19 and it's not clear what init.d/iptables loads 2023-03-15 14:56:38 ah, the one it saves 2023-03-15 14:58:57 the way it works is there is the two interfaces in the kernel (iptables, nftables), that have their own separate things, and then the userspace consists of `nft` for the latter, `iptables-legacy` for the former, various higher level tools that can work with either (and/or invoke the binaries), and the `iptables` command that is a symlink to either iptables-nft or iptables-legacy 2023-03-15 14:59:14 and iptables-nft is the iptables-command-compatible cli for nftables that does not use the legacy interface 2023-03-15 14:59:36 in alpine iptables points to legacy and there's no alternatives system 2023-03-15 15:07:34 yeah i pretty much knew that already 2023-03-15 15:12:58 indeed 2023-03-15 15:13:13 so yeah, no real preference, it's the same as elsewhere, mostly just installing what you're familiar with 2023-03-15 15:13:35 awall itself isn't bad for iptables but if you already knew something, just use that 2023-03-15 15:14:58 hate that neither podman or docker support nftables but whatever 2023-03-15 15:15:01 iptables it'll be 2023-03-15 15:21:08 for some reason... it's letting traffic to a port through even if it shouldn't 2023-03-15 15:21:25 :-) 2023-03-15 17:00:58 which web browsers work well in repo these days? firefox and qutebrowser and chrome? 2023-03-15 17:02:07 epiphany too 2023-03-15 17:02:27 ( also known as gnome web () 2023-03-15 17:06:26 ptrc: oh will check it out :] 2023-03-15 17:17:41 whats size vs install size in packages? 2023-03-15 17:18:29 size is the package size, install size is the size on disk 2023-03-15 17:18:58 packed vs unpacked? 2023-03-15 17:19:08 ptrc: epiphany didnt even load pages for me :S 2023-03-15 17:19:39 oh getting "webcrash" like vimb i guess its webkit or something 2023-03-15 17:50:21 vimb hasn't had an update in 3 years 2023-03-15 17:50:28 make of that what you will for a web browser 2023-03-15 17:51:33 if it worked it would be great ;p 2023-03-15 17:51:39 the uhh 2023-03-15 17:51:48 vieb thing is similar 2023-03-15 17:51:50 vim-like 2023-03-15 17:51:52 it's just some electron meme 2023-03-15 17:52:02 does work though afaict 2023-03-15 17:52:17 hopefully me shipping the absolute latest electron release possible does not break it :p 2023-03-15 17:52:35 psykose: whats this vieb? is it in repo? 2023-03-15 17:52:46 yes 2023-03-15 17:52:53 ah in testing 2023-03-15 17:55:11 looks very nerdy :p 2023-03-15 17:56:35 fitting for you then 2023-03-15 17:56:43 :3 2023-03-15 17:57:56 :c 2023-03-15 17:58:15 c: 2023-03-15 18:01:27 🫨 2023-03-15 18:03:49 looks interesting tho :> 2023-03-15 21:18:20 does iotop show write/read from tmpfs? 2023-03-15 21:20:01 no, since tmpfs is not a block device 2023-03-15 21:21:39 cool :] 2023-03-15 23:40:59 I messed up my doas config, and now I can't fix it 2023-03-15 23:41:37 what about su? 2023-03-15 23:42:03 I don't think I ever set the root password 2023-03-15 23:43:05 (and I never configured sudo 😰) 2023-03-15 23:43:46 oh, nevermind, I did set the root password 2023-03-15 23:59:10 always set the root password 2023-03-15 23:59:17 for exactly reasons like this 2023-03-15 23:59:50 (alternatively, if possible, you can self-root the box via init=/bin/bash) 2023-03-15 23:59:58 or /bin/sh 2023-03-16 00:28:25 dwfreed: couldn't one boot into a rescue drive and just chroot? 2023-03-16 07:45:26 Hello. I noticed that xen on x86 isn't available. Is there a reason why (not supported?)? 2023-03-16 08:08:37 I think I figured out half the answer. It's that the x86 (32-bit) kernel doesn't have PAE, so it can't enable Xen (CONFIG_XEN requires CONFIG_X86_PAE). 2023-03-16 08:10:07 The next part is "is there a reason the X86 kernel doesn't have PAE enabled?" I'm guessing it's probably "because there are people with non-PAE enabled 32-bit hardware". Followup is, "is there a 32-bit PAE-enabled x86 kernel for Alpine?" If not, how do I request it? 2023-03-16 09:24:37 XFaCiEer: sure, there's various ways to access a box that doesn't have a root password set, but many of them require physical access 2023-03-16 11:28:15 what policy determines whether an APKBUILD gets a -dbg subpackage? alternatively, why do some packages (or reasonable size and structure) come without debug symbols? 2023-03-16 11:32:22 ovf: on a case-by-case basis, whenever it's necessary (we do not enable it by default for any package) 2023-03-16 11:34:20 oh, ok. i thought it was more automatic. now that debuginfod seems to be becoming more in vogue, more distributions seem to be interested in having more or less complete debugging symbols 2023-03-16 11:34:33 is hosting space the primary constraint here? 2023-03-16 11:34:43 They do take up a lot of space 2023-03-16 13:11:42 having debug symbols for every package is probably a 4x increase in size 2023-03-16 13:11:52 they are much bigger than the actual programs outside of C 2023-03-16 13:15:07 the only distros that have debug symbols like that that i know of are either edge-only (so you don't duplicate all the packages every release..) or $bigcorp 2023-03-16 13:34:32 i forget alpine has actual releases. :-) 2023-03-16 16:32:33 ovf: the releases are only useful for bootable media or rootfs. 2023-03-16 16:41:47 branches not releases 2023-03-16 20:42:30 ok, i installed alpine 3.17... now whenever i try to mount something, wether i do: mount /dev/sdb1 /mnt/sdb or mount -t ext4 /dev/sdb1 /mnt/sdb 2023-03-16 20:42:35 i keep getting illegal argument 2023-03-16 20:42:45 ow, invalid argument 2023-03-16 20:43:14 apk add cmd:mount 2023-03-16 20:44:16 mount -t would work 2023-03-16 20:44:21 unless you picked the wrong -t 2023-03-16 20:44:50 heh, i never did that apk add cmd:mount 2023-03-16 20:44:53 but it works 2023-03-16 20:45:39 well, not btrfs 2023-03-16 20:46:35 fixed that too :D 2023-03-17 07:24:20 I set the time zone, but for some reason nginx still shows utc. What am I missing? 2023-03-17 07:25:50 did you restart it 2023-03-17 07:26:04 psykose: yep 2023-03-17 07:26:11 where does it show it 2023-03-17 07:26:41 and it's set via /etc/localtime link right 2023-03-17 07:29:49 psykose: Ah, I think I know what the problem is. It turns out that when using the autoindex module, you also need to enable autoindex_localtime on.... 2023-03-17 07:30:00 :) 2023-03-17 07:30:05 Sorry to interrupt, I didn't think there was a separate thing for that. 2023-03-17 07:30:07 it makes sense it ignores the localtime setting 2023-03-17 07:30:13 good you found it 2023-03-17 07:30:37 But this only for autoindex 2023-03-17 07:30:42 I use fancyindex. 2023-03-17 07:30:55 With autoindex its works fine. 2023-03-17 07:32:20 Yep, fancyindex_localtime on is a thing. 2023-03-17 07:32:39 Sry for interrupt again. 2023-03-17 12:05:05 With TIOCSTI being disabled as a security risk and likely to be dropped, any suggestions on how a [interactive] python script can change the directory of the curent (parent) terminal? 2023-03-17 12:27:10 WhyNotHugo: spawn a new shell maybe? 2023-03-17 21:43:27 somewhere on the web, someone solved that for "midnight commander" 2023-03-17 21:43:36 maybe you can find it and take advantage of it 2023-03-18 00:34:00 Hello hello 2023-03-18 00:34:52 I'm looking at the Xen dom0 wiki page, it says there's no way to bridge a wifi interface (in the automatic setup at least). Is there a workaround? I don't have access to ethernet from the device I wish to install it on. 2023-03-18 00:35:02 It sounds like maybe I can do so manually? 2023-03-18 00:35:26 Wait I just remembered I have element on my phone 2023-03-18 00:35:38 Hello I am the above IRC user, same question 2023-03-18 00:35:54 closing irc connection here talk to the matrix user 2023-03-18 00:47:07 I’m looking at the bridge wiki page, this seems alright but again the instructions refer to eth0 and I’m not certain when to quit out of the automatic install and set up the bridges and which interface to use for them 2023-03-18 02:45:18 I cherry picked a commit to backport a fix from the master aports branch to 3.17 2023-03-18 02:46:14 but when I git send-email, the resulting email has a From field copied from the commit author (not me) and a Date field copied from the commit (in December) 2023-03-18 02:46:26 what would be the best way to handle this 2023-03-18 02:48:35 update the From and Date fields, so that the email shows up right? but then I would be given credit as the commit author even though I just cherry picked someone else's commit 2023-03-18 04:37:07 psykose, should we be using FireFox ESR on latest-stable if we want updates throughout the 6mo, or does latest-stable get new FireFox stable builds after being frozen? 2023-03-18 09:51:40 yo 2023-03-18 09:52:28 zeromq binary packages are libzmq and libzmq-static but the dev package is zeromq-dev 2023-03-18 09:52:49 lowkey inconsistent lol 2023-03-18 11:08:25 Saijin_Naib[m]: the regular didn't get upgraded up to now but probably will next release 2023-03-18 11:19:59 if i want to build a small custom os, which documentation do I start with .. requirement is to make a smallest possible distro that allows you to login with a fixed user/pass ( but also supports cloud-init) and can also boot from memory .. this image will be used as rescue image in cloud where if people lose their pass, they can boot using this 2023-03-18 11:20:00 and mount their real image and do whatever fix they want to do 2023-03-18 11:23:18 i found this link .. https://wiki.alpinelinux.org/wiki/How_to_make_a_custom_ISO_image_with_mkimage .. is this the right documentation ? 2023-03-18 12:28:01 "Saijin_Naib: the regular didn'..." <- Ah, gotcha. 2023-03-18 12:28:01 Normally would Firefox stable stay at whatever release was out when that branch of Alpine is tagged? Just trying to adjust to using latest-stable and make sure I'm keeping the "safest" browser as my daily by either using ESR if it gets updated, or stable if it is expected to remain current  2023-03-18 12:28:01   2023-03-18 12:28:26 esr is as up to date as can be so you get the security fixes i guess 2023-03-18 12:28:34 i updated firefox as far as i could but eventually you need new rust 2023-03-18 12:28:43 next release i'll just keep rust updated in stable 2023-03-18 12:29:32 Ahhh, gotcha. Thank you for helping me understand. 2023-03-18 12:29:32 Sounds like no difference going forward then  2023-03-18 12:29:32   2023-03-18 15:38:06 hewwo, I need help setting up archlinux chroot to use glibc applications 2023-03-18 15:57:04 admin1: perhaps my script will interest you, https://github.com/dermotbradley/create-alpine-disk-image 2023-03-18 15:57:46 Anyone encountered a CMake boost error? 2023-03-18 15:58:40 "Could NOT find Boost (.....) (found suitable version "1.81.0", minimum required is "1.58")" 2023-03-18 16:00:30 minimal, thanks .. do you know how to flip this ? runs in "Sys" mode, i.e. runs-from-disk rather than runs-from-RAM .. 2023-03-18 16:01:04 my target is openstack cloud and a general purpose rescue/test image 2023-03-18 16:01:39 admin1: this scripts currently only uses run-from-disk (Sys) mode 2023-03-18 16:02:02 I haven't yet had time to adapt it for run-from-ram also 2023-03-18 16:05:06 i thought it was an easy boolean true/false thing :D 2023-03-18 16:05:11 boot from ram vs boot from disk 2023-03-18 16:05:35 nope, the disk image would be laid out differently 2023-03-18 16:05:49 for run-from-ram squashfs is used 2023-03-18 16:09:06 cockliuser[m]: you have to post what you're building and the full log 2023-03-18 16:15:20 I'm trying to build the Monero repo from source 2023-03-18 16:15:22 https://bpa.st/MVW6U 2023-03-18 16:16:37 that just looks like you didn't install boost-dev 2023-03-18 16:17:40 It's installed 2023-03-18 16:18:41 apk info | grep boost : https://bpa.st/BI6YQ 2023-03-18 16:39:31 doing this does not fail the configure https://bpa.st/OZYIU 2023-03-18 16:39:35 but fails the build. 2023-03-18 16:40:16 https://git.alpinelinux.org/aports/tree/community/monero/APKBUILD 2023-03-18 17:24:57 how's the build failing, userdocs_? seems weird that the port would work but not yours, unless it's because the source has diverged heavily 2023-03-18 17:41:46 probably because i copied and pasted some stuff not giving it much thought. it was more to show the configure step worked. 2023-03-18 18:22:45 "hewwo, I need help setting up..." <- can you elaborate? 2023-03-18 18:23:03 the wili on running glibc applications is pretty straightforward 2023-03-18 18:23:14 wiki* 2023-03-18 18:23:55 yup i figured it out 2023-03-18 18:26:02 btw when I compile some C applications, I get something like "couldn't find stdlib.h" error messages 2023-03-18 18:30:54 cation[m]: in the chroot or in alpine 2023-03-18 18:32:53 alpine 2023-03-18 18:33:10 if on alpine then maybe installing musl-dev would help? unlike arch for example where you would have package include all the headers, .so files and docs on alpine you have split packages so there is for example package, package-dev, package-doc and so on 2023-03-18 18:33:33 for header files you usually need -dev 2023-03-18 18:34:25 ohh 2023-03-18 18:34:55 I installed libc-dev, it works now :) 2023-03-18 18:35:00 thx 2023-03-18 18:39:36 Hello there Alpine users  2023-03-18 18:41:43 also talking about split packages, in case you didnt know, you can install `docs` package which is a meta package, that will automatically pull -doc for any package you install if availablecation 2023-03-18 18:44:41 oh, thank you for the information 👍 2023-03-18 18:56:19 "how's the build failing, userdoc..." <- I applied the patches from aports on latest source 2023-03-18 18:56:29 (with some adjustments) 2023-03-18 18:56:37 And build still fails: https://bpa.st/WMAKG 2023-03-18 19:07:38 this is the aport build log https://build.alpinelinux.org/buildlogs/build-edge-x86/community/monero/monero-0.18.2.0-r0.log 2023-03-18 19:29:25 same thing i did before but with verbose mode https://bpa.st/T7RJI 2023-03-18 19:33:40 cockliuser[m]: why not use the port? 2023-03-18 19:35:32 userdocs_: I'm compiling a custom version with some patches 2023-03-18 19:35:56 It's confusing why the port compiles and why monero source doesn't though 2023-03-18 19:53:35 was looking here, some recent activity. https://git.alpinelinux.org/aports/commit/?id=c91224808018652cc7fd9f2913aef760fa32496a 2023-03-18 21:09:07 out of curiosity, how'd you fix the mismatched Boost version, cockliuser[m]? 2023-03-18 21:18:06 notable test case: try the exact same version of the aport 2023-03-18 21:18:14 it looks like this all has to do with a boost version mismatch 2023-03-18 21:18:26 though the CMake configure error was guarding against it... 2023-03-18 21:29:04 "out of curiosity, how'd you..." <- boost error was on running make in project root 2023-03-18 21:29:57 Fixed it by running the commands in the APKBUILD 2023-03-18 23:48:17 is it ok to put a cryptkeyfile in /etc and 'lbu_commit -e' ? 2023-03-18 23:49:46 (or where is it better to put it? i noticed it commited files in /home only if i made a user in setup-alpine) 2023-03-18 23:51:45 frag: a cryptkeyfile for what exactly? 2023-03-18 23:53:05 minimal: for a lukspartition 2023-03-19 00:03:25 frag: yes but you mentioned lbu, which is usually run-from-ram, so are you using Data mode? 2023-03-19 00:08:25 minimal: im using run from ram, but mount a luks-partition (to /1), for data 2023-03-19 00:10:51 frag: why use a cryptkeyfile rather than use a passphrase? is the keyfile going to be stored unencrypted or encrypted? 2023-03-19 00:11:51 minimal: i assume lbu_commit -e will encrypt it? thats actually what im asking :] 2023-03-19 00:12:38 frag: but you didn't actually ask that 2023-03-19 00:13:06 ... in other words.. 2023-03-19 04:00:45 Hey, could someone help me install Alpine Linux onto an SD card for Raspberry Pi 4? I noticed there's new installation instructions, and I'm not sure how to proceed as I'm setting up the SD card from Windows 10 2023-03-19 04:05:22 afaik they're the same 2023-03-19 04:09:24 Ah never mind, I was following the instructions under "Preparation" for the Raspberry Pi wiki, when I actually needed the sys-mode installation instructions 2023-03-19 05:40:08 hi! quick question: when I run an alpine linux container with the entrypoint "crond -f -l 2" under docker-compose I get no logs on stdout. If I do "crond -f -l 2 -L /dev/stdout" I get logs but also some odd zeros and ones. This only happens with an alpine linux crond. Any ideas what I am doing wrong? 2023-03-19 06:21:20 Hey, I've been trying to follow the "Classic install or sys mode on Raspberry Pi", but I'm having issues. I have a Raspberry Pi 4, running on the armv7l architecture. I was able to use "Disks" on a Xubuntu laptop I have to setup the partitions. As per the instructions, one 256MB FAT16 partition, and the rest being a EXT4 partition. I'm also trying to use the headless bootstrap file so I can connect via SSH and perform the setup over 2023-03-19 06:21:20 my network. After putting the SD card in, and starting the RPi, I've been waiting and waiting to see the RPi show up on my router, or see if it responds to pings. Nothing is working, the RPi doesn't seem to boot. And the board is flashing 7 green lights, which I've deduced means the kernel wasn't found. Any ideas for getting it to boot? 2023-03-19 06:25:26 chillbruh[m]: check openrc log 2023-03-19 06:26:32 in /etc/rc.conf : rc_verbose=yes rc_logger="YES" rc_log_path="/var/log/rc.log" 2023-03-19 06:27:31 and boot again, and get the file "/var/log/rc.log" as well as "/var/log/dmesg" 2023-03-19 06:31:02 I check that on the SD card? Like I said, it doesn't boot or connect to SSH 2023-03-19 06:33:41 you mount sd card somewhere else, and edit /etc/rc.conf as mentioned above and insert sd card to pi and boot , wait for 60s, take out the card, read the 2 files 2023-03-19 06:34:26 chillbruh[m]: this is how you read the log, if you don't have a monitor/serial connected to pi 2023-03-19 06:35:11 There is no /etc/ directory on the SD card 2023-03-19 06:35:47 ohh... right. it's a squashfs? 2023-03-19 06:37:06 don't think so 2023-03-19 06:37:17 chillbruh[m]: use this https://dl-cdn.alpinelinux.org/alpine/v3.17/releases/aarch64/alpine-rpi-3.17.2-aarch64.tar.gz 2023-03-19 06:37:43 extract it to rpi's sd and boot 2023-03-19 06:38:10 I'm currently using the alpine-rpi-3.17.2-armv7.tar.gz file, my RPi isn't 64 bit 2023-03-19 06:38:55 should I be using a different partition setup? I'm using FAT16 and EXT4 as mentioned in the sys-mode install wiki 2023-03-19 06:41:53 chillbruh[m]: You should be safe using the armhf build on all versions of Raspberry Pi // tri amrhf 2023-03-19 06:42:26 what is the model of your rpi? 2023-03-19 06:43:04 if you are rpi4, then use : alpine-rpi-3.17.2-aarch64.tar.gz 2023-03-19 06:45:12 I have the RPi 4, 8GB model. I thought I was supposed to use armv7, since I previously had Raspbian installed on it, and uname said I was running armv7l 2023-03-19 06:45:52 Kinda confusing looking back on it 2023-03-19 06:46:13 aarch64 is able to use your 8GB ram. 32bit can only use less than 4GB ram 2023-03-19 06:46:33 Fair point 2023-03-19 06:47:50 when you are on alpine, forget about everything else. whatever debian or raspbian. totally different. 2023-03-19 06:51:32 It finally popped up on my router, I'm able to SSH into it now 2023-03-19 06:52:27 I reformatted the SD card to be completely FAT32, instead of having two partitions of FAT16 and EXT4. Then I used the 64 bit architecture, and it popped up right away on my router. 2023-03-19 09:04:46 sounds kinky 2023-03-19 14:07:59 apparently raspberry pi should support lpae, so it's more like 4gb per process (like the good old times of 32bit x86) 2023-03-19 14:42:03 hey everyone 2023-03-19 14:42:19 \o/ 2023-03-19 14:42:26 I would be super grateful if anyone could help me with a simple question 2023-03-19 14:42:32 I've been banging my head against the wall 2023-03-19 14:42:52 if I run "apk add seatd" in a container, it will do just that, install seatd and nothing else 2023-03-19 14:43:13 if I run the same command on a bare metal (or VM) install, it will also install seatd-openrc 2023-03-19 14:43:51 why the difference? I can also add seatd-openrc to the container with "apk add seatd-openrc", but I just want to understand the difference & the reason of it... 2023-03-19 14:44:10 If openrc is installed, apk will install relevant -openrc packages 2023-03-19 14:44:53 Maybe openrc is not installed in your container? 2023-03-19 14:46:33 Ohh I see 2023-03-19 14:46:36 will try immediately 2023-03-19 14:47:28 yupp, that was it! 2023-03-19 14:47:34 thank you so much @Ermine ! 2023-03-19 14:47:40 :) 2023-03-19 14:48:27 I wonder where did you find an image without openrc installed though... 2023-03-19 14:48:54 minirootfs? 2023-03-19 14:49:02 it is not installed by default! try: "docker run --rm -it alpine:3.17.2" 2023-03-19 14:49:12 and then inside the container run: "apk add seatd" 2023-03-19 14:49:20 it won't install the -openrc package 2023-03-19 14:49:22 yes, because docker containers are not running a init / service manager 2023-03-19 14:49:30 containerize: on purpose 2023-03-19 14:49:46 now following your advice, if I first install openrc, and then install seatd it will automatically install the seatd-openrc package too 2023-03-19 14:49:59 @ikke yes that makes sense, since there is no init in a container 2023-03-19 14:50:20 ikke: who is then supposed to start daemons inside a container? 2023-03-19 14:50:35 Ermine: you start a process in the foreground 2023-03-19 14:51:20 yes, conatiners are meant to run a single process only 2023-03-19 14:52:08 I'm now curious how apk works... does it first check the CURRENTLY installed packages, and builds the dependency tree based on that? 2023-03-19 14:52:23 containerize: more or less, yes 2023-03-19 14:52:27 you add packages to world 2023-03-19 14:52:40 and then apk makes sure all constrains are satisfied 2023-03-19 14:52:43 So if it sees BEFORE seatd install that openrc package is present on the system, it will add the seatd-openrc package to the deps? 2023-03-19 14:52:52 I see, thank you @ikke 2023-03-19 14:52:56 https://ariadne.space/2021/04/25/why-apk-tools-is-different-than-other-package-managers/ 2023-03-19 14:53:45 thanks, will read that! are you the author? 2023-03-19 14:53:49 no 2023-03-19 14:56:30 (this also explains why apk uses add / del, rather than install / remove) 2023-03-19 15:00:15 yeah, similar logic how kubernetes works 2023-03-19 15:00:52 I mean declaratively specify the desired state (/etc/apk/world in this case) and then apply operations to reach that state 2023-03-19 15:01:01 amazing! I love alpine more and more every day 2023-03-19 15:22:20 one more question: how can I install apk packages offline in a PROPER way? I already know "apk fetch --recursive" and then install them using "apk add --force-non-repository --allow-untrusted *.apk" 2023-03-19 15:22:52 my question is which files I need to copy & edit so I don't have to add --force-non-repository and --allow-untrusted flags 2023-03-19 15:23:04 I tried copying the signature keys but no luck :( 2023-03-19 15:23:17 setup-apkcache 2023-03-19 15:25:41 thanks @ikke will try right now 2023-03-19 15:37:05 this works @ikke thank you very much! 2023-03-19 15:37:52 but it seems suboptimal. I fetch all apks I need to my boot media when I prepare it to /apkcache 2023-03-19 15:38:28 then I boot the system, setup-apkcache and do "apk add /media/sda/apkcache/*.apk" 2023-03-19 15:39:15 which will work fine without any complaints, but similar files with some checksum looking suffixes will now be copied to /media/sda/cache, so I have the .apk-s twice on disk 2023-03-19 15:39:19 any advice @ikke? 2023-03-19 15:41:04 Also the number of .apk files is also different: https://i.kek.sh/Jb9w9szU7Ut.png 2023-03-19 15:44:56 containerize: you do not need to explicitly install the .apk files 2023-03-19 15:45:03 you can just install the packages as nromal 2023-03-19 15:45:21 if you have the packages in /apkcache, you can point the cache to there 2023-03-19 15:45:33 (it's a symlink at /etc/apk/cache) 2023-03-19 15:46:07 but this is the thing, the final content is not the same 2023-03-19 15:46:52 I will post a sample from both folders 2023-03-19 15:47:47 This is the content of /media/sda/apkcache (fetched using apk fetch --recirsive): https://i.kek.sh/AWujnv1g6Ds.png 2023-03-19 15:48:41 This is the content of /media/sda/cache (populated by running apk add /media/sda/apkcache/*.apk): https://i.kek.sh/fC4jpZdlZi6.png 2023-03-19 15:48:58 Also the number of .apk files is also different: https://i.kek.sh/Jb9w9szU7Ut.png 2023-03-19 15:55:38 with git send-email, after I type my smtp password I get "Died at /usr/libexec/git-core/git-send-email line 1693" 2023-03-19 15:55:52 running 3.17 with linux-edge 2023-03-19 15:56:06 so git 2.38.4 2023-03-19 15:56:15 anyone run into this? 2023-03-19 15:58:17 $smtp->mail( $raw_from ) or die $smtp->message 2023-03-19 15:59:18 No idea why it's failing 2023-03-19 15:59:31 yeah that doesn't tell you much 2023-03-19 15:59:58 maybe $raw_from is not properly formatted? 2023-03-19 16:00:10 but I guess the $smtp->message is empty, right? 2023-03-19 16:01:13 probably 2023-03-19 16:10:30 hey everyone 2023-03-19 16:10:43 somehow I got disconnected from WebIRC ... 2023-03-19 16:11:03 I guess there is no way to get the history whether anyone could answer my open question? 2023-03-19 16:23:18 reproduced my git send-email issue on void linux with git 2.39.0. on both machines if I remove the line "smtpencryption = tls", $smtp->message seemingly becomes "[Net::SMTP] Connection closed" 2023-03-19 16:36:18 containerize: irclogs.alpinelinux.org/ 2023-03-19 17:49:06 hi everyone 2023-03-19 17:49:41 i have question about running rootless podman on alpine stable. i want to manage containers with portainer 2023-03-19 17:50:02 i can't figure out how to make podman open socket for api calls 2023-03-19 17:50:20 with systemd, you just enable service. how can i do that with openrc? 2023-03-19 17:51:31 There are no socket like services in openrc 2023-03-19 17:51:50 You'd just start whatever needs to be started as a service 2023-03-19 17:53:21 so, i have to make podman open socket, right? 2023-03-19 17:57:49 yes 2023-03-19 18:04:33 ok, trying to find out how to do that... thank you 2023-03-19 18:12:28 got it working. @ikke thank you 2023-03-19 18:27:47 myxomop: glad to hear 2023-03-19 21:43:34 I noticed something about the font-dejavu package. It contains both the dejavu ttf files, and the LGC files. But LGC is just a subset of the normal, non-LGC files. 2023-03-19 21:44:11 The LGC files are about 1.8 MB smaller than the normal, but the normal files contain everything in the LGC files, which are themselves 8 MB in size. 2023-03-19 21:56:30 which ones specifically 2023-03-19 21:56:36 ah 2023-03-19 22:01:38 if you fc-scan the matching files, dejavuserif and dejavuLGCserif, and diff the two scans, you can see the overlap very clearly in the unicode charset, um, histograms? 2023-03-19 22:09:05 yeah i got it 2023-03-19 22:09:11 fixed by just removing lgc 2023-03-19 22:12:24 cool 2023-03-19 23:24:29 ACTION version 2023-03-19 23:24:46 ACTION version 2023-03-19 23:27:00 CLIENTINFO 2023-03-19 23:34:44 VERSION 2023-03-20 02:55:58 hi everyone :), i am trying to set up hibernation. echo disk > /sys/power/state makes my machine enter hibernation but on reboot the system does not resume. I manually added a resume=UUID=... kernel command-line parameter to my grub.cfg and now the system resumes when i turn it back on. is there any downside to doing it like this? is there a better way to do it? 2023-03-20 02:59:59 qpowww, pm-utils 2023-03-20 03:00:47 also, add the "resume=" kernel boot line to /etc/default/grub, so it survives your next kernel upgrade. 2023-03-20 03:01:39 the resume= arg i am pretty sure is required 2023-03-20 03:02:00 the rest of the stuff is just fancy frontends for the echo :p 2023-03-20 03:06:22 "freeze mem disk" what is freeze? 2023-03-20 03:07:06 s2idle 2023-03-20 03:07:13 https://www.kernel.org/doc/html/v5.0/admin-guide/pm/sleep-states.html 2023-03-20 03:10:00 I just looked at the grub.cfg of my debian where hibernate works too and there is no resume= arg. is there another way to pass this argument to the kernel? 2023-03-20 03:16:55 not sure 2023-03-20 03:20:03 ok thank you psykose and somercet1 2023-03-20 03:20:07 You need to append resume=/dev/your_swap_partition to kernel command 2023-03-20 03:20:07 line or specify it using /sys/power/resume. 2023-03-20 03:21:25 Mine says 8:2. the device nodes of /dev/sda2 2023-03-20 03:22:43 I need some help. I followed these instruction https://wiki.alpinelinux.org/wiki/Openbox but when I run startx I get an error that 'xinit: unable to connect to x server giving up' 2023-03-20 03:22:56 in the instructions startx is run as regular user 2023-03-20 03:23:11 i also confirmed i am in the video and input groups 2023-03-20 03:24:39 aiena, is there an X.0.log (or some such name) in /var/og? 2023-03-20 03:25:23 yes in my home directory going to inspect it 2023-03-20 03:25:41 i mean startx created one from what i can see 2023-03-20 03:27:33 is alpine able to handle high load 2023-03-20 03:27:46 somercet1, I read the log file but I've only used ubuntu etc before no can't understand anything 2023-03-20 03:27:54 I have alpine insinde a qemu vm 2023-03-20 03:27:56 somercet1 just specifying the resume partition in /sys/power/resume does not work for me. after rebooting my system does not resume. 2023-03-20 03:27:58 like max 128gb ram and 64 cores of util 2023-03-20 03:28:35 also not sure how to make a paste of the log file from term 2023-03-20 03:30:09 curl -F'file=@yourfile.png' https://0x0.st 2023-03-20 03:30:24 ok it just says fatal server error after loading some module glamoregl 2023-03-20 03:30:30 do you have mesa-egl 2023-03-20 03:32:00 how to check 2023-03-20 03:32:30 i ran apk info mesa-egl but i dont think that is the right command 2023-03-20 03:32:47 apk -I list | grep mesa 2023-03-20 03:33:18 yes it is installe 2023-03-20 03:33:20 d 2023-03-20 03:33:40 I am not experienced with qemu 2023-03-20 03:34:10 ok most other distro's setup x out of the box with it easily 2023-03-20 03:34:27 can you pastebin that output 2023-03-20 03:35:38 one sec 2023-03-20 03:38:42 https://0x0.st/H-3r.txt 2023-03-20 03:40:37 I don't see mesa-egl 2023-03-20 03:40:50 just -gl 2023-03-20 03:40:51 oh sorry 2023-03-20 03:42:01 yes after installing that package openbox did open 2023-03-20 03:42:09 I can see a mouse 2023-03-20 03:42:20 thanks a lot 2023-03-20 03:43:56 np 2023-03-20 03:48:01 how do I install base fonts 2023-03-20 03:48:21 I know with openbox I am going to an aota of OS but this is how I can learn what i take for granted in other OSs too 2023-03-20 03:49:51 like font-dejavu, or the old bitmapped fonts? 2023-03-20 04:07:01 like what usuaually comes base fore web browser /word processiong etc 2023-03-20 04:07:25 i can find font- packages 2023-03-20 04:07:46 but wondering if there are meta packages 2023-03-20 04:15:40 nope 2023-03-20 04:16:57 just install dejavu to start. It covers many langs, has serif/sans/mono/math symbols, &c... 2023-03-20 04:24:30 ok that works 2023-03-20 04:26:45 err thanks 2023-03-20 04:30:58 psykose could alpine handle high load like 128 cores and 1tb ram worth of load 2023-03-20 04:31:20 buy me 128 cores and 1tb ram and i'll find out 2023-03-20 04:31:41 theoretically? 2023-03-20 04:34:32 what about theoretically 2023-03-20 04:46:33 why wouldn't it? 2023-03-20 04:48:56 above 64 cores you need to buy an Alpine Pro license 2023-03-20 05:00:59 heyman, not sure only seen those types of systems on youtube haha 2023-03-20 05:01:31 I know they take bout 10 minutes or more just to boot 2023-03-20 05:08:08 bad news 2023-03-20 05:08:15 i just booted an 80 core system with no licence 2023-03-20 05:08:22 and it says some lawyers will get in touch 2023-03-20 05:08:26 what do i do 2023-03-20 05:09:33 does alpine have some gigachud malware that heckermans you if you boot without a license on 128 cores 2023-03-20 05:11:02 been trying to get rid of that but phil from accounting keeps putting it back in 2023-03-20 05:11:09 and he doesn't even get on irc so i can't reach him 2023-03-20 05:12:27 i dont even get anything about a pro license when i put in alpine linux "license" 2023-03-20 05:12:56 that's bad news, might be a fake one 2023-03-20 05:20:00 I can't find anything about alpine pro either 2023-03-20 05:21:24 psykose, even if he buys you a 128 core 1 tb system you'll probably need to pull pecial power lines for that beast 2023-03-20 05:21:36 special 2023-03-20 05:21:42 you sure 2023-03-20 05:22:23 not sure but for 1 big ass A/C my uncle had to pull a power line 2023-03-20 05:22:28 just to run it 2023-03-20 05:23:00 it definitely will draw a lot of power if its 1 big system 2023-03-20 05:23:24 oh wait 2023-03-20 05:23:30 he said 128 cores 2023-03-20 05:23:31 upp 2023-03-20 05:23:34 not if you use green LEDs 2023-03-20 05:23:35 umm 2023-03-20 05:23:49 those make it be more power efficient 2023-03-20 05:23:51 that could be a motherboard with just 2 64 core cpu's 2023-03-20 05:23:53 my leds are purple what kinda power use is that 2023-03-20 05:24:03 wtf 2023-03-20 05:24:05 there's 128core on 1 die 2023-03-20 05:24:39 erm sorry 2023-03-20 05:24:42 purple is a mixture of blue and red so you get cooler temps but faster perf 2023-03-20 05:24:43 hm or is there 2023-03-20 05:24:44 i guess almost 2023-03-20 05:24:51 9654P is 96 cores 2023-03-20 05:25:48 psykose, found https://bizon-tech.com/bizon-x7000.html 2023-03-20 05:26:25 but 8192 GB memory 2023-03-20 05:26:28 no 1TB 2023-03-20 05:26:41 but thats like wopping close 2023-03-20 05:28:01 > dual amd epyc 2023-03-20 05:28:02 cost only $126,988 without GPUS :P 2023-03-20 05:28:05 that's 2 cpus 2023-03-20 05:28:12 yeah 2023-03-20 05:28:24 can't find a single cpu system like that 2023-03-20 05:28:31 hey abby 2023-03-20 05:28:32 https://img.ayaya.dev/PR0RPzs5op0B 2023-03-20 05:28:37 want a razer mamba with your server 2023-03-20 05:28:37 maybe there might be an ARM one in the wild 2023-03-20 05:28:51 hell yeah 2023-03-20 05:29:08 there is 128core arm sure 2023-03-20 05:29:12 altra max has a 128 2023-03-20 05:29:15 and now i think a few more 2023-03-20 05:29:37 the alpine arm builder is an altra 80 core 2023-03-20 05:30:00 ok but I think the AMD cores will be lot pore powerful 2023-03-20 05:30:13 if only amd cores were arm 2023-03-20 05:31:37 psykose, can you like to the 128 core altra max server? 2023-03-20 05:32:03 https://store.avantek.co.uk/h262-p60.html 2023-03-20 05:32:10 random site off google 2023-03-20 05:35:15 psykose, why is quanity of cpu's frozen at 8 there 2023-03-20 05:35:38 probably because it's 4 servers in one 2023-03-20 05:35:40 so you mean to say if pick the 128 core alra max that device will have 8*128 cores? 2023-03-20 05:35:52 yeah sure 2023-03-20 05:35:58 oh 2023-03-20 05:36:08 fancy stuff 2023-03-20 05:40:37 lol I think cpu rendering will be fun on these systems 2023-03-20 05:51:11 hanks psykose interesting to see this stuff 2023-03-20 05:54:33 :) 2023-03-20 06:53:11 ACTION uploaded an image: (3300KiB) < https://matrix.org/_matrix/media/v3/download/matrix.org/hqhbCPFGBCKJEdlWvBECTxnj/20230320_075157_1826367916589878542.jpg > 2023-03-20 06:53:23 Hello, is there a reason why my eth0 is not being recognized on my thinkpad x220? 2023-03-20 06:55:09 Is it supposed to be recognized? I thought x220 was one of the best supported Linux laptops. 2023-03-20 06:55:46 This is on 3.16 2023-03-20 06:58:56 that looks like a hardware issue 2023-03-20 07:01:45 only thing i can find for ret_val = 3 in e1000e is for an alloc fail tho 2023-03-20 07:01:54 still betting on some hardware issue however 2023-03-20 07:06:57 Hmm, Ethernet LEDs are blinking. Old laptop tho. 2023-03-20 07:50:33 ForeverNoob[m], is you if down? 2023-03-20 07:50:42 what is the output of "ip addr" 2023-03-20 08:04:14 or is the itnerface itself not showing? 2023-03-20 08:04:18 *interface 2023-03-20 08:04:45 ethernet LEDs blink even otherwise. 2023-03-20 08:32:34 I have x230 and eth works out of the box without anything installed, the original wifi card needs firmware, but ethernet port should just work 2023-03-20 09:00:25 what's the difference between xwayland and kwayland? 2023-03-20 09:01:55 KWayland is a library used by KDE Plasma for all kinds of desktop components to communicate with the Wayland compositor and stuff. XWayland is a compatibility layer so X11 apps can run on Wayland. They're not at all comparable 2023-03-20 09:03:01 so for lxqt which plugin do i need 2023-03-20 09:03:10 is it better just to install wayland package? 2023-03-20 09:04:25 also it says dbus-launch is missing 2023-03-20 09:10:42 the wayland package is a tiny library that will be pulled in by any wayland compositor 2023-03-20 09:11:28 I have a question, do you have some world rebuilds once in a while? I am interested in whether qemu is building for you with the glib 2.76 update a few days ago 2023-03-20 09:13:35 Hello! Little question... With a non root user, I can do a cd /var/lib/ but not cd /var/lib/docker/ because of permission. Ok. I am sudoer, so I try a sudo cd /var/lib/docker/ but I get a '"cd" is a shell built-in command, it cannot be run directly.' message... what should I do? 2023-03-20 09:15:48 your shell is not running as root, so you can't switch to a directory that only root has access to 2023-03-20 09:16:04 your shell would have to run as root - try running sudo ash 2023-03-20 09:16:37 sudo -i works too 2023-03-20 09:16:46 cd is a builtin which means it's just a way to tell your shell to navigate to a directory 2023-03-20 09:17:00 cd is not an executable command, so sudo cannot execute it 2023-03-20 09:20:18 Ok thanks for you help. Would it be a good idea to chmod the /var/lib/docker/ permission to give a readable access to my user instead? 2023-03-20 09:20:35 why do you need such perms in the first place? 2023-03-20 09:21:59 I have a backup volume and I want to allow my users to access the data in it, wthout bein connected as root 2023-03-20 09:23:14 I installed lxqt for some reason I am getting no icons and if I press on "computer" or "network" I get "operation not supported" popup. The file manager is installed but there are no icons there too. This is what I have installed 'https://paste.opensuse.org/pastes/2af77b8f27f2' 2023-03-20 09:23:21 * https://paste.opensuse.org/pastes/2af77b8f27f2 2023-03-20 09:24:43 Cyanat, chown the directory and files 2023-03-20 09:25:10 you can make the files owned by a group and grant / revoke user access to those groups 2023-03-20 09:25:15 *to that group 2023-03-20 09:25:39 ok you'd have to make the mount point also owned by the group 2023-03-20 09:26:24 you might want to have a look at chmod too 2023-03-20 09:27:12 alternativey you can give read write access to the others too with chmod alone 2023-03-20 09:27:38 just using groups give you more control over access 2023-03-20 09:37:28 Ok thanks aiena, i will check that 2023-03-20 09:37:58 mainly you neex to undertand the permission model in linux then its all easy 2023-03-20 09:38:02 *need 2023-03-20 09:38:07 also be careful 2023-03-20 09:38:17 these are powerful commands 2023-03-20 09:40:07 I am not sure if giving regular users access to all your docker stuff is a good idea 2023-03-20 09:41:08 i think Cyanat's question is unrelated 2023-03-20 09:41:14 oh 2023-03-20 09:41:16 hmm 2023-03-20 09:41:24 yeah that doesnt sould like a good idea 2023-03-20 09:41:28 yes, that's why I was asking, i undertand the permission model in linux, but generally i'm not very enthusiastic about changing permission of I filder managed by an apk installed (docker) 2023-03-20 09:41:51 Cyanat: no, it's not a good idea to directly read data from /var/lib/docker 2023-03-20 09:41:55 a folder* 2023-03-20 09:42:37 i installed the lxqt-themes package but the icon-themese shows blank and i have no icons 2023-03-20 09:42:42 what am I missing? 2023-03-20 09:42:44 The structure is internal to docker and and subject to change 2023-03-20 09:56:38 Thanks @ikke, good point, so I will leave the permission unchanged on the docker file and use sudo -i. Thanks all! 2023-03-20 10:01:53 don't give your users sudo access either 2023-03-20 10:02:26 Cyanat: that was not my point 2023-03-20 10:03:00 Use docker itself (a container) to access the data 2023-03-20 10:23:42 be aware that adding your user to a docker group is basically giving it root access if the docker daemon is up and running 2023-03-20 10:23:53 same for things like libvirt 2023-03-20 10:24:02 Ok, i see. So, I could add a volume to my container, mapped on a folder, on alpine host, readable by my non-root users, it will be the same, right? 2023-03-20 10:24:41 "I installed lxqt for some reason..." <- do you have polkit? I assume the permission errors have something to do with polkit 2023-03-20 10:25:31 I would guess it's either polkit or gvfs 2023-03-20 10:25:59 Cyanat: if you are trying to simply access files from a docker container then I would say yes 2023-03-20 10:26:07 reggiere[m], no polkit installed but I installed the papirus-icon theme and got icons 2023-03-20 10:26:31 realised that for some reason lxqt-themes seems to have desktop themes but not icon themes 2023-03-20 10:26:39 or maybes this just masked the real problem 2023-03-20 10:26:46 *maybe 2023-03-20 10:26:48 aiena: oh 2023-03-20 10:26:53 -themes packages have themes 2023-03-20 10:26:59 -icon packages have icons 2023-03-20 10:27:04 :) 2023-03-20 10:27:41 the funny thing is if i searhc for clearlook 2023-03-20 10:27:49 i get a gt-engines-clearlook package 2023-03-20 10:27:50 btw you can check what files a package contains with apk info -L package 2023-03-20 10:28:01 ok that is good to know 2023-03-20 10:28:27 i have alpine in a vm and am poking around with it a bit blindly till I understand 2023-03-20 10:28:38 it's pretty amazing how much I can do with just a 2GB root 2023-03-20 10:29:07 its growing as I find out what I am missing but its still lean :) 2023-03-20 10:31:57 I have 3.7GB and thats with 1083 packages installed 2023-03-20 10:33:51 "i get a gt-engines-clearlook..." <- you are better off with getting themes manually from github or wherever the source is hosted 2023-03-20 10:34:31 unlike arch not every obscure icon theme has a package 2023-03-20 10:34:40 I understand 2023-03-20 10:34:58 itd judt that there are so many clearlooks not sure what clearlooks actually is 2023-03-20 10:35:05 openbox has a clearlooks theme too haha 2023-03-20 10:35:24 now I have an interesting problem 2023-03-20 10:35:45 I installed pulseaudio-qt and pulseaudio and pavucontrol 2023-03-20 10:35:53 I can only see a dummy sound output though 2023-03-20 10:38:02 aplay says the vm is virtualising a ICH9 card 2023-03-20 10:38:08 an 2023-03-20 10:38:13 Intel card 2023-03-20 10:38:24 sould worked before installing pulseaudio 2023-03-20 10:38:32 *sound 2023-03-20 10:38:38 I use pipewire and not pulseaudio but if I am not mistaken dont you have to launch the daemon after desktop enviroment startup? 2023-03-20 10:41:48 reggiere[m], I think alsa alone works 2023-03-20 10:42:12 pulseaudio/ pipewire help to prevent one app from capturing the whole device i think 2023-03-20 10:42:37 i killed pulseaudio and the devices appeared 2023-03-20 10:42:45 it just needed a restart 2023-03-20 10:45:20 restart button is the worlds best it technician 2023-03-20 10:50:08 Aye 2023-03-20 10:50:13 ACTION chuckles 2023-03-20 11:02:03 how to view the size after installation of a package and deps before installing it? 2023-03-20 11:02:38 e.g. in ubuntu it says 77 more mb will be added after update or install etc. 2023-03-20 11:06:27 you can check the size of a package with apk info -s but that doesnt include dependencies 2023-03-20 11:06:48 need to reboot I think my host linux swap area is not large enough so expanding it a bit :) 2023-03-20 12:03:45 does anyone have any experience with Rport? its an RMM thingy 2023-03-20 17:19:39 aiena: yeah not even showing up in `ip a` though for some reason it is showing up fine in sysrescuecd (though no longer called eth0) 2023-03-20 18:05:17 if I run lxqt-leave I noticed that sleep/shutdown/reboot/hibernate are disabled. I also installed sddm and I managed to get it work to an extent. What is interesting is that locking the screen uses xscreensaver instead of sddm 2023-03-20 18:06:13 How do I enable these options. I have dbus, sddm, elogind services enabled in the default group 2023-03-20 18:06:37 Also any ideas about how to use sddm as the screensaver 2023-03-20 18:06:55 probably by deleting xscreensaver or selecting something somewhere 2023-03-20 18:08:28 when they say world updated by packages not removed due to dependencies 2023-03-20 18:08:56 do i need to delete the deps to remove the package seems like lxqt-desktop depends on xscreensaver 2023-03-20 18:11:58 yeah 2023-03-20 18:12:02 i guess someone made it hard depend 2023-03-20 18:12:38 but since lxqt-desktop is just a virtual package that pulls in stuff you can just remove it and stuff yourself 2023-03-20 18:13:21 apk info -R lxqt-desktop would should you what it adds 2023-03-20 18:16:45 where is the documention for this -R/-I etc. 2023-03-20 18:17:01 if you just type apk it lists the main commands but not the flags 2023-03-20 18:18:07 apk info --help 2023-03-20 18:31:24 is there any convention as to where aports should live locally? or is nothing making use of that? 2023-03-20 18:32:26 ovf: what do you mean? do you mean where a package repo is kept locally? 2023-03-20 18:33:16 no, whether there is a conventional place for the source aports tree (https://git.alpinelinux.org/aports/) 2023-03-20 18:33:59 why would there be a defined location for storing a local clone of the git repo? 2023-03-20 18:35:44 in case there are any local tools that would expect one (like asp/abs/srcpac in archlinux) 2023-03-20 18:36:59 there is one thing that checks for ~/aports, but it works regardless if you have them anywhere and just a git remove that ends in aports.git to work anyway 2023-03-20 18:37:11 git remote* 2023-03-20 18:49:02 aha, i see that's in /usr/share/abuild/functions.sh 2023-03-21 00:54:33 npm 9.5.1 seems to not like "scripts-prepend-node-path", where should i ask about that? 2023-03-21 00:58:19 what do you mean by 'seems to not like' 2023-03-21 00:59:00 npm config error - "npm ERR! `scripts-prepend-node-path` is not a valid npm option" 2023-03-21 01:04:24 npm 7 removed it 2023-03-21 01:05:56 https://github.com/npm/cli/issues/2808 2023-03-21 01:06:01 been gone for years 2023-03-21 01:16:57 Trying to compile vscode sure will be slow in that case 2023-03-21 01:18:53 idk what it has to do with `compiling vscode' 2023-03-21 01:19:48 The config command is in the build.sh 2023-03-21 01:21:08 i'm pretty sure there's no build.sh in the whole vscode repo 2023-03-21 01:21:40 Correction - it's vscode fork, vscodium 2023-03-21 01:22:31 I suppose trying to build actual vscode might be easier 2023-03-21 01:22:51 that's because yarn still supports the flag and that script uses yarn 2023-03-21 01:23:01 someone should probably tell them to change the npm config to something that works tho 2023-03-21 01:23:55 that build.sh is most likely not going to work for other reasons tho 2023-03-21 01:55:46 Is there a way to install a specific package version or is the idea of making my own with version in the name a good idea? Speaking of node for now. 2023-03-21 01:56:13 pkg=version-rpkgrel 2023-03-21 01:56:20 can't install what doesn't exist though 2023-03-21 02:00:14 spec reference https://gitlab.alpinelinux.org/alpine/apk-tools/-/blob/master/doc/apk-world.5.scd 2023-03-21 02:03:47 installing node=18 "breaks: world[nodejs=18.14.2]", I'm going to call it an error not verbose enough 2023-03-21 02:19:24 `apk fix` didn't work after editing world manually too, however issuing an `apk add` did the job 2023-03-21 02:29:58 because 18 is not 18.14.2 2023-03-21 02:30:03 you want ~18 for that 2023-03-21 03:30:40 It seems that i will have to add nodejs16 as it's "been tested with" and keytar has some command failure 2023-03-21 03:45:00 definitely don't need nodejs16 to build vscode 2023-03-21 04:24:55 Anyone experienced with troubleshooting multi-button "gaming" mice under libinput/Alpine and can point me to some good reading? I have an IOGear/Kaliber Gaming MMOmentum 12-button mouse that does not register buttons beyond 5 to xev or libinput debug-gui, and I quite need them. My prior ROCCAT Kova did not exhibit this behavior. 2023-03-21 04:27:47 if libinput doesn't even see the keypresses then i imagine the issue starts way before 2023-03-21 04:28:42 Works under Windows without a special driver/software and across any machine I plug it into, so it is definitely sending the keys 2023-03-21 04:28:51 if you run `evtest`, and select your mouse from the /dev/input/ selection it gives, does anything get recognised 2023-03-21 04:28:57 apk add evtest for it 2023-03-21 04:29:01 It does register as a split keyboard/mouse device in libinput. Is that problematic? 2023-03-21 04:31:04 evtest doesn't see the buttons above mouse 5 on the "mouse" device event, nor any of them under the keyboard device event 2023-03-21 04:31:39 My HORI Edge 101 behaved the same, but amazingly my absolutely garbage Monster GHOST behaved properly, like my ROCCAT Kova 2023-03-21 04:31:44 then indeed it has nothing to do with libinput 2023-03-21 04:32:03 but.. what i'm guessing next is it's more than one device 2023-03-21 04:32:05 What's upstream of that, if I know it is absolutely sending the events? 2023-03-21 04:32:15 Yeah, it registers as keyboard+mouse 2023-03-21 04:32:16 i.e. out of the /dev/input devices, the mouse is actually two 2023-03-21 04:32:23 now if you pick what you think the 'other' is 2023-03-21 04:32:32 i bet you see events for only the buttons not normally recognised 2023-03-21 04:32:57 using evtest? I tried both events, the keyboard event doesn't show the buttons pressed, either 2023-03-21 04:33:34 the tl;dr is that if nothing out of evtest gives you those 'button' presses then i don't think it'll ever work 2023-03-21 04:33:46 without fixing something at that level 2023-03-21 04:34:40 Is this one of those device quirks situations? 2023-03-21 04:34:52 I'm trying to see if this is insurmountable for me and I need to change ahrdware or not 2023-03-21 04:35:09 I barely managed to get my laptop working, I'm not sure I can burn 3+mo figuring out a mouse 2023-03-21 04:35:42 or maybe i have it backwards myself 2023-03-21 04:36:32 i dunno, it's certainly quirky 2023-03-21 04:36:41 i don't know who to direct the question at either really 2023-03-21 04:37:10 Crap. Not good. I'm at a loss as to where I need to read next as well 2023-03-21 04:37:15 Thanks for the help, as ever, though 2023-03-21 04:38:51 I guess I'll see if Piper + libratbag(d) can see the mouse and the buttons. Maybe that helps me figure out what 'level' the issue is on 2023-03-21 04:38:57 Is kernel module a possibility? 2023-03-21 04:41:40 if there is no /dev/input that sees the buttons then nothing will 2023-03-21 04:41:50 unless it communicates with the mouse in some super secret non-input way 2023-03-21 04:42:27 i don't have the complete knowledge of the whole input stack to say that with 100% certainty but it would be really weird if it worked otherwise so i'll give it a 95% 2023-03-21 04:42:57 as for fixing the input itself, it could be some udev quirk stuff, etc 2023-03-21 04:44:14 i'm going to guess that indeed it's something "super secret" 2023-03-21 04:45:06 what your non-working mice have in common is they have programmable buttons 2023-03-21 04:45:11 and the working ones don't 2023-03-21 04:45:26 so i'm going to guess programmable buttons aren't that simple and aren't just random mice input buttons 2023-03-21 04:45:41 and all the buttons that don't work are the normally-programmable ones too 2023-03-21 04:46:07 so actually maybe the libratbag stuff does do something magic 2023-03-21 04:47:31 KOVA is 10 programmable buttons, same with Monster GHOST 2023-03-21 04:47:40 They worked with no issues, somehow 2023-03-21 04:48:24 ah, thought you said they didn't 2023-03-21 04:49:11 Oh, no, sorry, I must have been unclear. They both worked a treat. My HORI Edge 101 and this MMOmentum do not, but otherwise are very similar 10-12 button programmable gaming mice, setup/programmed on Windows and used under Linux 2023-03-21 04:49:37 All 4 mice store all the customizations onboard and don't use custom drivers, so they should, in theory, work 2023-03-21 04:49:39 And two did 2023-03-21 04:51:57 Ah yeah, the second "device" shows all the key codes it can send, but nothing responds when I press them in evtest 2023-03-21 04:52:10 I'm using eudev as my *dev, as well 2023-03-21 04:52:27 Alright, also verified MXLinux doesn't work either, so doesn't seem to be Alpine-specific. 2023-03-21 04:52:56 ACTION sent a code block: https://matrix.org/_matrix/media/v3/download/matrix.org/lZJKiQRntasGKCUioinqEnDR 2023-03-21 04:53:14 ACTION sent a code block: https://matrix.org/_matrix/media/v3/download/matrix.org/IjrYiEWELVhthhEkAFCiVPCF 2023-03-21 04:53:50 ACTION sent a code block: https://matrix.org/_matrix/media/v3/download/matrix.org/xuaTpjFhcsWQZlmyKzOVlAar 2023-03-21 04:54:11 So it reports everything properly... I guess off to find a libinput IRC/Matrix and see if that's the right path 2023-03-21 04:55:24 "I suppose trying to build actual..." <- I doubt you will be able to build either because it uses electron 2023-03-21 04:56:13 and unless something changed since I stopped using vscode like half a year ago then electron doesnt work on musl 2023-03-21 05:00:31 ah so it did report it in some other device 2023-03-21 05:00:38 i thought you said that wasn't the case either 2023-03-21 05:02:29 I guess I misspoke. It reports the capabilities, I guess, at the top of evtest for that device. But it does not report any button pressed events. So it reads that the mouse can send those keys, but not that they're being sent?  2023-03-21 05:02:38 ah 2023-03-21 05:02:54 ok, definitely something funny someone that actually works on this would be able to tell you far more about 2023-03-21 05:04:06 Alright. So probably udev or libinput, then? That gives me a direction. Who knows, maybe I'll get my drawing tablet working too, if it is the same process. Upstream all the wonky USB device fixes!  2023-03-21 06:32:38 I have elogind installed and running but form some reason i cannot get lxqt's shutdown/reboot/suspend to work 2023-03-21 06:32:41 any ideas? 2023-03-21 06:33:15 don't think anyone ever tested that 2023-03-21 07:28:27 aiena, what command is lxqt using to suspend, &c? 2023-03-21 07:48:16 it uses lxqt-leave --suspend etc. but other than that it is pretty opaque. 2023-03-21 07:50:19 All I could figure out is that if I read https://github.com/lxqt/lxqt-session/blob/master/lxqt-leave/leavedialog.cpp 2023-03-21 07:50:42 that the mPower object is detecting that shutdown/suspend are not doable 2023-03-21 07:50:51 but cant figure out why its not doable 2023-03-21 08:16:56 I drilled it down to https://github.com/lxqt/liblxqt/blob/master/lxqtpower/lxqtpower.cpp 2023-03-21 08:17:19 i need to see how the powerproviders are specified 2023-03-21 08:38:28 elogind is not enough I think, you also need polkit running 2023-03-21 08:38:40 but this is just an assumption as I do not use polkit myself 2023-03-21 08:43:06 as far as I know the stuff you need for desktop environment to work is a session (elogind or seatd), dbus session which I think would get started by the environment itself and polkit 2023-03-21 08:44:18 on other distros this usually just works by itself but due to alpine being so minimal its not much fun setting up a graphical interface 2023-03-21 08:49:20 reggiere[m], I like Alpine for that itslf I can learn what goes into a DE 2023-03-21 08:49:46 struggling thorugh problems is a way to long term learning 2023-03-21 08:50:13 I realised how neatly organised LxQt is too code wise 2023-03-21 08:50:49 I have polkit installed but i think it is not started and that could be the reason 2023-03-21 08:52:23 I think I am going to go through several round of vm play. I need to see how to setup LxQT with wayland alone etc. 2023-03-21 08:52:41 you need polkit-elogind with elogind specifically 2023-03-21 08:53:10 psykose, do you start that as a service or elogind ises it automatically? 2023-03-21 08:53:20 *uses 2023-03-21 08:53:27 dunno 2023-03-21 08:55:10 boom installing that package fixed it 2023-03-21 08:55:14 wow 2023-03-21 08:55:25 thanks a ton 2023-03-21 08:55:55 now I have better knowledge of the building blocks 2023-03-21 08:57:51 Do you know wht the mesa-egl lib was needed for startX? 2023-03-21 08:58:06 i added it to xorg-server as a dep so it's impossible to not have it anymore 2023-03-21 08:58:10 and yeah it's mesa-egl 2023-03-21 08:58:55 `polkit` mostly doesn't work for anything except for rtkit pretty sure 2023-03-21 08:59:08 since it relies on some session tracking so the non-elogind version is.. consolekit based 2023-03-21 08:59:15 so it only works if you run a full consolekit session 2023-03-21 08:59:23 but that is dead and nothing else works with it instead 2023-03-21 08:59:51 e.g. `pkexec` won't work with polkit without all that, or polkit-elogind, etc 2023-03-21 09:00:43 maybe it also works for the apk-polkit thing and gnome-session, dunno 2023-03-21 09:02:08 psykose, yeah read consolekit was dead more or less. I had installed consolekit and the icons got enabled but it was still broken because it was not a consolekit session 2023-03-21 09:02:19 psykose, not sure what type of session sddm creates 2023-03-21 09:02:30 going to enable it again. 2023-03-21 09:02:39 idk anything about what *dm does personally 2023-03-21 09:02:47 elogind is basically stripped down systemd stuff so that seems to be what everyone is using now 2023-03-21 09:03:04 or thts what i understood from reading 2023-03-21 09:03:24 a dm basically give you a graphical login screen 2023-03-21 09:03:48 when you logout you go back to that screen 2023-03-21 09:04:02 no i know the basics 2023-03-21 09:04:07 i mean i just never studied the specifics 2023-03-21 09:04:13 ah got it 2023-03-21 09:04:38 but one can assume though because most distros seem to use systemd so all have code to support it i guess. 2023-03-21 09:04:49 yeah, something like that 2023-03-21 09:05:56 i saw that upower ws supported by lxQt is that the oldest one 2023-03-21 09:06:01 I use seatd and have agetty setup to log me in automatically so I never touched neither elogind nor display managers 2023-03-21 09:06:10 upower is something else 2023-03-21 09:07:52 what does upower do 2023-03-21 09:08:06 here https://github.com/lxqt/liblxqt/blob/master/lxqtpower/lxqtpowerproviders.cpp 2023-03-21 09:08:18 it seems like its only used for suspend/hibernate 2023-03-21 09:08:35 dbus service thing for various power stuff specifically 2023-03-21 09:09:04 elogind also has power related stuff 2023-03-21 09:09:12 but what makes elogind different? 2023-03-21 09:09:15 not the same ones 2023-03-21 09:09:55 hm, or might be 2023-03-21 09:09:56 shrug 2023-03-21 09:10:41 more questions I guess. I like alpine because its like one of those minimal systems where you can really play around more it can be anything you want it to be. 2023-03-21 09:11:22 you'll see the limitations eventually :p 2023-03-21 09:11:39 I like alpine because i can hijack to bedrock 2023-03-21 09:12:03 psykose: the one limitation that I really disliked was no vscode 2023-03-21 09:12:05 oh wait 2023-03-21 09:12:10 thats a good thing 2023-03-21 09:12:18 there's a code-oss in the repos 2023-03-21 09:12:42 I use neovim now anyway 2023-03-21 09:13:03 oh and obviously nvidia drivers so I cannot use alpine on my main pc, only on laptop 2023-03-21 09:13:43 classic nvidia meme indeed 2023-03-21 09:13:58 "and yeah it's mesa-egl" <- This is one of my beefs with alpine, the fact that all xorg stuff depends on mesa 2023-03-21 09:14:15 as it should 2023-03-21 09:14:15 psykose, that is true but by then I'll have acheived my goal 2023-03-21 09:14:34 also mesa-egl isn't actually depending on mesa 2023-03-21 09:14:42 it's just libegl.so 2023-03-21 09:14:53 you get that by installing like any qt application for instance 2023-03-21 09:14:56 bunch of stuff links it 2023-03-21 09:14:57 i read egl is toatlly something else 2023-03-21 09:15:37 `depending on mesa' would be something like depending on mesa-dri-gallium 2023-03-21 09:16:04 to this day I have no clue what mesa does exactly, I only know that when I wanted to play game it didnt work, then I installed every mesa- package under the sun and it works now :3 2023-03-21 09:16:07 which is probably a mistake but all the xorg drivers are abandonware afaik and all anyone uses is modesetting with gallium 2023-03-21 09:16:23 or whatever it was called 2023-03-21 09:17:13 psykose: xfree86 just werks™ though 2023-03-21 09:17:56 last update 2008 though so abandonware indeed lol 2023-03-21 09:17:58 is xfree86 that thing that got killed 15 years ago 2023-03-21 09:18:10 psykose, by limits are you referring to lack of packages or something else 2023-03-21 09:18:16 nah 2023-03-21 09:18:58 musl and openrc means if something depends on systemd or gnu specific libc festure it might not work 2023-03-21 09:19:12 feature* 2023-03-21 09:19:31 understood 2023-03-21 09:19:48 I was curious about why musl was chosen 2023-03-21 09:19:58 reggiere[m], it seems like with appimages though 2023-03-21 09:20:05 that problem is gradually disappearing too 2023-03-21 09:20:14 the appimages add their own libc 2023-03-21 09:20:21 there is flatpak of course or you can use a container or chroot to run apps that dont work on alpine but all of those things have their drawbacks 2023-03-21 09:20:35 true 2023-03-21 09:20:37 aiena: appimages actually do not work on alpine at all :) 2023-03-21 09:20:50 oh 2023-03-21 09:21:31 so if I wanted something more mainstream but light like alpine 2023-03-21 09:21:36 what distro would be good? 2023-03-21 09:22:05 I would have never heard of alpine except for youtube though 2023-03-21 09:22:19 probably void but it's not much more mainstream 2023-03-21 09:22:27 arch or void I think 2023-03-21 09:22:36 but void has same issues as alpine to some extent 2023-03-21 09:22:52 i herd of void but yeah. For alpine there is not muxh on the web too 2023-03-21 09:23:01 and arch has systemd so up to you if you'd consider that as light as alpine 2023-03-21 09:23:12 void is even worse 2023-03-21 09:23:37 probably depends if you use the glibc or musl edition cause they have both 2023-03-21 09:23:44 arch isnt light light but lighter than ubuntu suse etc. maybe I need to give it a real run to find out 2023-03-21 09:24:19 i wouldn't really agree considering in arch you set up a system and your /usr is filled with 90 million development files and headers 2023-03-21 09:24:19 :p 2023-03-21 09:24:29 psykose: gentoo uses X.org with ddx (atleast on Intel boards) 2023-03-21 09:24:37 I think the only thing that alpine misses is easily configurable desktop environment 2023-03-21 09:24:39 idk what that is except it sucks 2023-03-21 09:24:44 have a bad predisposition because of what people said but apparently the arch guys aren't so bad. 2023-03-21 09:24:50 psykose, huh 2023-03-21 09:25:01 arch is like gentoo 2023-03-21 09:25:15 psykose: X.org ? 2023-03-21 09:25:16 i thought it was like buntu where you just get precompiled packages 2023-03-21 09:25:17 Wot 2023-03-21 09:25:18 oh yeah, arch doesnt separate -dev, lib and so on packages 2023-03-21 09:25:32 oh 2023-03-21 09:25:40 so if you install gtk for example you wont only get the libraries but also all source files 2023-03-21 09:25:49 wow so much bloat 2023-03-21 09:26:21 the linux kernel also is fun to build 2023-03-21 09:26:35 16gigs justs goes compiling it 2023-03-21 09:26:48 and then you get a super small binary like :P 2023-03-21 09:26:56 reggiere[m]: it was so fucking painful to setup sway to an extent that it just works, if I was a new user I'd simply give up 2023-03-21 09:27:15 reggiere[m]: dwm 2023-03-21 09:27:18 what is sway? 2023-03-21 09:27:51 but again, alpine is not really supposed to be a desktop distro so I assume its not too high on the priority list 2023-03-21 09:28:00 aiena: i3 but wayland 2023-03-21 09:28:41 yeah that my next self imposed headache 2023-03-21 09:28:51 figuring out wayland and DEs 2023-03-21 09:29:08 on the new ubuntu which uses wayland my drawing tablet just works 2023-03-21 09:29:13 aiena: Yeah but it supports building from source natively 2023-03-21 09:29:18 i think wayland is good for that 2023-03-21 09:30:07 cockliuser[m], wht supports building from .... 2023-03-21 09:30:09 cockliuser[m]: no :3 2023-03-21 09:30:13 reggiere[m]: Just apk install dwm and you're good to go, I've been daily driving alpine and dwm since 2017 2023-03-21 09:30:19 *2019 2023-03-21 09:31:19 aiena: Arch supports building from source 2023-03-21 09:31:25 Lol Matrix bridge doesn't bridge replies 2023-03-21 09:31:59 ACTION makes a note to try dwm 2023-03-21 09:32:13 i guess its better than icewm 2023-03-21 09:32:18 that was not my point, of course I could use dwm and it just works, but I meant for alpine to get more popular on desktop it would be nice if you could install a whole de without some arcane linux sorcery 2023-03-21 09:32:47 reggiere[m], hmm if you could then the learning value disappears 2023-03-21 09:32:59 i don't want to go completely LFS as its daunting 2023-03-21 09:33:09 but baby steps deeper is fun 2023-03-21 09:35:56 reggie.re: alpine is much simpler than most distros usually (except for debian) 2023-03-21 09:36:09 https://wiki.alpinelinux.org/wiki/KDE 2023-03-21 09:36:27 Doesn't need any sorcery :P 2023-03-21 09:41:00 actually the lxqt setup was very easy with the tutorial 2023-03-21 09:41:18 I'd just like to expand it to add the missing bits I discovered 2023-03-21 09:41:54 but alternatively the meta package could be include these packages to then no one will know 2023-03-21 09:46:45 setup-desktop plasma should handle everything 2023-03-21 10:27:33 firefox-111.0.1-r0 made some website render in the 'dark mode' (even though prefers-color-scheme seems to be 'light'; investigation pending), and seemingly broke tree-style-tab. not a bad set of regressions for a patch release! 2023-03-21 10:45:36 it's probably not the patch release itself 2023-03-21 10:45:43 i'll figure it out 2023-03-21 10:46:02 you can visit https://chat.p4.team for an instant tab crash too :p 2023-03-21 11:18:51 yes, css seems to be all kinds of broken 2023-03-21 11:25:44 indeed :| 2023-03-21 12:33:11 one symptom that i noticed: `window.matchMedia('wut').matches` is true in the new firefox, which would explain the dark mode in webapps that test with matchMedia('(prefers-color-scheme:dark)') 2023-03-21 12:33:23 yeah the whole thing is fucked 2023-03-21 13:05:11 i've rolled back firefox to 111 but kept your -D_LARGEFILE65_SOURCE and that is still broken 2023-03-21 13:05:39 it's more than that that changed 2023-03-21 13:05:51 but i rolled back like literally all of it and it was still broken :D 2023-03-21 13:05:59 so what I am hearing is that I should continue neglecting package upgrades and not update firefox 2023-03-21 13:06:00 quite puzzled in a way 2023-03-21 13:06:12 yeah i recommend not upgrading if you use firefox 2023-03-21 13:06:27 i'm at 10 compiled firefoxes today 2023-03-21 13:06:28 impressive 2023-03-21 13:06:38 is it a firefox or an alpine issue? 2023-03-21 13:06:51 most likely the latter in this case 2023-03-21 13:13:06 there's no apk log. :-( on archlinux it occasionally has helped in determining the culprit in cases like this 2023-03-21 13:25:34 APKv3 will have it 2023-03-21 13:33:08 u could make a "log" by running apk update, and then direct the output ofapk version to a file. and then run the upgrade? 2023-03-21 13:42:24 can't do that retrospectively 2023-03-21 13:55:14 2023-03-21 13:55:20 psykose: you must have a very powerful computer to build 10 firefoxes 2023-03-21 13:55:43 this should print 'foo', i think. something is broken in the media parser (which is, btw, written in rust) 2023-03-21 13:57:25 my intuition says something about the c++<->rust ffi has become broken in alpine builds 2023-03-21 13:58:22 i've had a series of pretty good guesses and they were all wrong so far 2023-03-21 13:58:25 Ermine: just mostly cache 2023-03-21 13:58:41 ...but have you tried downgrading rustc? 2023-03-21 13:58:51 it was the same version for the previous build 2023-03-21 14:00:43 can't be? d2876c in firefox is 15th mar, plenty of commits in rust on 17th and 18th 2023-03-21 14:01:52 rust 1.68 is mar 9 2023-03-21 14:02:24 anyway i fixed it 2023-03-21 14:03:15 \o/ 2023-03-21 14:04:30 aha, lld15. that would have been my next guess after rust, you've been ahead of me. :-) 2023-03-21 14:04:36 great job! 2023-03-21 14:04:38 fuckin magic linkers 2023-03-21 14:04:51 i was losin my braincells because i toggled literally every other dep since previous 2023-03-21 14:04:58 ..except for that :p 2023-03-21 14:05:29 you guys need cheap disk space, then you can have -dbg and past versions of packages 2023-03-21 14:07:03 It's mostly the builders that are the bottleneck. We need to work on a new architecture 2023-03-21 14:07:50 i also wouldn't think a linker update could break things, but then i come from a mostly-c89 cave, and i literally use a toolchain from 2012. so everything that could have been broken has been broken so long ago it's just part of the world. 2023-03-21 14:09:45 probably worth reporting this upstream to mozilla? 2023-03-21 14:16:37 unless it's some very weird musl-specific brokenness (0.001% chance) someone will find it anyway 2023-03-21 14:16:57 i don't have a good meaningful way to reproduce this to ld.lld input/output itself 2023-03-21 14:17:38 and opening issues of 'i built this thing in XYZ distro with lld 16 and it broke' is the exact kind of issue nobody fixes or cares about, they just end up fixing it when they run into it themselves :p 2023-03-21 14:18:06 i would bet it's not a firefox issue 2023-03-21 14:19:55 yep, fair enough. i wouldn't waste time on trying to build a minimal c++/rust repro of this. 2023-03-21 14:20:44 yeah pretty much 2023-03-21 14:23:11 i imagine having point-in-time repo snapshots would also prove popular with the container folks? 2023-03-21 14:25:16 that sounds mostly like a pain in the ass 2023-03-21 14:25:31 (which is what you get if you keep old packages lying around, like https://wiki.archlinux.org/title/Arch_Linux_Archive) 2023-03-21 14:26:09 kind of yeah, though old packages are not kept in the index so you have to kind of create one to use them 2023-03-21 14:27:14 yep, you'll have to keep/regenerate old indices 2023-03-21 14:27:28 but reproducible docker builds must have some appeal 2023-03-21 14:29:59 only to weird people that get paid too much money 2023-03-21 14:35:24 alpine doesn't need this as much because it has branches, but i still find snapshots a useful alternative, and you can bisect issues like the firefox one. :-) 2023-03-21 14:36:43 the firefox one was immediately obvious that it was one of three-four things in the toolchain though 2023-03-21 14:36:51 i was just being thorough and testing every minor change 2023-03-21 14:37:15 it's not like 50 libraries changed in this case :p 2023-03-21 14:37:25 that would be a little harder 2023-03-21 14:40:09 (does happen) 2023-03-21 16:51:11 hiya, does anyone know if there's a kernel module or an option that i can use to enable the framebuffer console, rather than vga? i flashed a coreboot rom that uses framebuffer and now i can't see the console (but it's definitely booting because the x server is visible) 2023-03-21 16:53:17 autumnull: AFAIK fbcon is not the same as fb drivers and recent versions of Alpine use simpledrm (or other DRM drivers) instead of fbdev, and DRM works via fbcon 2023-03-21 16:56:22 minimal: uh, so are you saying that it doesn't work with alpine and i should flash back the non-framebuffer rom? 2023-03-21 16:57:20 no I#m not saying that, you asked "or an option that i can use to enable the framebuffer console" and I answered that AFAIK fbcon *is* used with DRM modules 2023-03-21 16:58:22 yeah sorry i just don't understand the terminology very well -- so you're saying it should already work? 2023-03-21 16:58:59 which Alpine version are you using? once the machine boots what does "dmesg" show relating to fb/drm/kms? 2023-03-21 16:59:17 what did you flash 2023-03-21 17:00:39 psykose: coreboot + seabios, then into syslinux=>latest alpine extended image 2023-03-21 17:01:14 i've had the non-framebuffer coreboot image working just before this 2023-03-21 17:02:51 so why did you change then? 2023-03-21 17:03:12 i wanted a nicer looking boot screen :) 2023-03-21 17:04:08 once the machine boots what does "dmesg" show relating to fb/drm/kms? 2023-03-21 17:05:13 will dmesg from a chroot work for this purpose? 2023-03-21 17:06:45 chroot from where? dmesg shows the kernel "logs buffer" of a booted system 2023-03-21 17:06:54 ah 2023-03-21 17:07:29 you said X server was visible, can't you use a terminal from X? 2023-03-21 17:07:34 chroot from a live usb that lets me see the screen 2023-03-21 17:07:50 i don't have x on the install that's actually running 2023-03-21 17:07:55 but i can put it on there probably 2023-03-21 17:08:24 if the live usb is not also Alpine when booted using the same coreboot setup then no, it won't show "dmesg" relating to Alpine 2023-03-21 17:08:59 the point of loking at dmesg is to see what exactly is going on during boot with regard to fb/drm/kms 2023-03-21 17:09:10 yeah i'll install a visible thing 2023-03-21 17:09:17 just a sec 2023-03-21 17:09:53 also have you tried removing "quiet" from the cmdline if it is present? 2023-03-21 17:10:09 and perhaps add "nomodeset" to cmdline 2023-03-21 17:10:17 i'm pretty sure it's not present, i didn't see it in there when i last checked 2023-03-21 17:10:21 i can try adding nomodeset 2023-03-21 17:17:32 autumnull: how did you install Alpine for this machine? or are you just booting straight off the ISO 2023-03-21 17:17:44 i installed off the iso 2023-03-21 17:17:49 i'm booting off a different iso 2023-03-21 17:17:57 you booted off the ISO or you installed using the ISO? 2023-03-21 17:18:07 wait my bad uh lemme rephrase 2023-03-21 17:18:15 booted alpine iso 2023-03-21 17:18:18 installed alpine 2023-03-21 17:18:24 did coreboot 2023-03-21 17:18:36 made a kali linux iso to do so 2023-03-21 17:18:51 currently booting from the kali linux iso, with alpine on the machine itself 2023-03-21 17:18:54 so you installed Alpine, ok. So is "kms" listed in the /etc/mkinitramfs/mkinitramfs.conf file 2023-03-21 17:19:19 no 2023-03-21 17:19:32 but also i only have mkinitfs not mkinitramfs 2023-03-21 17:19:45 idk if there's a difference 2023-03-21 17:19:46 s/mkinitramfs/mkinitfs/ 2023-03-21 17:19:50 cool 2023-03-21 17:20:00 so kms is not listed in that file's feature list? 2023-03-21 17:20:15 features="ata base ide scsi usb virtio ext4 cryptsetup keymap" 2023-03-21 17:20:34 so then it is likely that the initramfs does NOT include any DRM modules 2023-03-21 17:20:54 should i add it there? 2023-03-21 17:21:04 and run mkinitfs 2023-03-21 17:21:19 yes but you would then also need to run mkinitfs to rebuild the initramfs file 2023-03-21 17:21:25 cool 2023-03-21 17:22:37 if you're running mkinitfs inside a chroot (of another ISO) then you'll need to pass mkinitfs a parm to tell it the correct kernel version (of Alpine's kernel) 2023-03-21 17:22:52 alternatively just apk fix mkinitfs 2023-03-21 17:23:22 apk fix worked good i think 2023-03-21 17:23:27 alright i'll reboot and see 2023-03-21 17:28:19 hm, still nothing 2023-03-21 17:29:30 i tried logging in to the invisible console but i don't think i succeeded 2023-03-21 17:37:48 sorry, if nomodeset is present in cmdline then remove it now that "kms" was added to mkinitfs.conf 2023-03-21 17:50:45 minimal: removed from the command line, also realized quiet was actually in there and removed that, unfortunately still didn't get any visuals 2023-03-21 17:51:31 maybe this is not worth the trouble 2023-03-21 17:53:00 oh, huh... alpine boots fine from the live usb 2023-03-21 17:53:14 presumably i can copy the settings from there somehow 2023-03-21 17:53:24 do you think it'd help if i just reinstalled? 2023-03-21 17:58:36 you could try. The ISO seems to have kms as a feature, however setup-disk (to install Alpine on a disk) does not appear to add kms, so you try adding that after install and run mkinitfs BEFORE 1st reboot 2023-03-21 17:58:52 gotcha 2023-03-21 17:59:26 another issue might be firmware - depending on your graphics chip you might need to install a linux-firmware-XYZ package 2023-03-21 17:59:44 ah okay 2023-03-21 18:01:05 hmm, seems like the extended ISO doesn't include firmware (beyond linux-firmware and linux-firmware-none) 2023-03-21 18:08:24 minimal: still nothing, weirdly 2023-03-21 18:09:28 i noticed the live iso has some other things in the mkinitfs config that aren't in the installed version, like "mmc", not sure if those matter 2023-03-21 18:18:00 not really 2023-03-21 18:25:36 telegram-desktop=4.6.5 sigsegv on video to floating player button click 2023-03-21 18:26:31 "'telegram-desktop' terminated by signal SIGSEGV (Address boundary error)" to be more exact 2023-03-21 18:28:10 how did you install this telegram-desktop? 2023-03-21 18:28:17 apk add 2023-03-21 18:28:27 autumnull: time to look at dmesg output after X runs I think 2023-03-21 18:28:59 hmm that app is crashing 2023-03-21 18:29:30 maybe can run gdb and see if you can get anything else 2023-03-21 18:30:20 Should i cram the exact two lines it spits into dmesg after segfaulting over here? They are the exact same code from the first look 2023-03-21 18:32:40 I suppose it's better to post it than to wait silently. 2023-03-21 18:32:40 [94188.384190] telegram-deskto[24885]: segfault at 8 ip 00007fd8689b7578 sp 00007ffe6f3a5328 error 4 in ld-musl-x86_64.so.1[7fd868978000+4b000] likely on CPU 4 (core 5, socket 0) 2023-03-21 18:32:40 [94188.384209] Code: 48 ff c1 eb f3 c3 48 89 f8 48 83 fa 08 72 14 f7 c7 07 00 00 00 74 0c a4 48 ff ca f7 c7 07 00 00 00 75 f4 48 89 d1 48 c1 e9 03 48 a5 83 e2 07 74 05 a4 ff ca 75 fb c3 48 89 f8 48 29 f0 48 39 2023-03-21 18:35:08 In gdb it segfaults at "0x00007ffff7fb8578 in memcpy () from /lib/ld-musl-x86_64.so.1" 2023-03-21 18:37:12 And i suppose it should be added in just in case - the core in dmesg changes, so it's not a hardware issue. 2023-03-21 18:38:02 Might as well post the new two lines from dmesg 2023-03-21 18:38:02 [94188.384209] Code: 48 ff c1 eb f3 c3 48 89 f8 48 83 fa 08 72 14 f7 c7 07 00 00 00 74 0c a4 48 ff ca f7 c7 07 00 00 00 75 f4 48 89 d1 48 c1 e9 03 48 a5 83 e2 07 74 05 a4 ff ca 75 fb c3 48 89 f8 48 29 f0 48 39 2023-03-21 18:38:02 [94188.384190] telegram-deskto[24885]: segfault at 8 ip 00007fd8689b7578 sp 00007ffe6f3a5328 error 4 in ld-musl-x86_64.so.1[7fd868978000+4b000] likely on CPU 4 (core 5, socket 0) 2023-03-21 18:42:24 By "video to floating player button" i've meant the picture-in-picture button for fullscreen videos 2023-03-21 18:51:16 oof, what happened to firefox? It broke NoScript and ate 11+ GB of vm. 2023-03-21 18:53:11 somercet1: what version do you have installed? 2023-03-21 18:53:21 the -r1 update just now fixed it. 2023-03-21 18:53:35 111.0.1-r0 was the problem one. 2023-03-21 18:53:37 Apparently there was a linker error 2023-03-21 18:53:47 ah 2023-03-21 19:07:12 -r0 was the definition of undefined runtime behaviour :D 2023-03-21 19:09:10 i'm amazed that it kept working overall, with just peripheral weirdness. the wonders of technology. 2023-03-21 19:20:06 minimal: huh... reinstalled but with setup-xorg-base and now it just works without me even starting x? 2023-03-21 19:20:36 gona check thru that script and see what it does lol 2023-03-21 19:27:17 aside from eudev/mesa-dri-gallium there's nothing meaningful in it 2023-03-21 19:27:27 the latter is quite useless before you start stuff 2023-03-21 19:27:44 the former getting set up to trigger udev stuff can impact anything with devices that mdev might've missed normally i guess 2023-03-21 19:27:48 would be weird though 2023-03-21 19:28:05 for this case that is 2023-03-21 19:28:10 but well, if it works it works :p 2023-03-21 19:28:35 i can try and reproduce it with just running apk add eudev && setup-devd udev ? 2023-03-21 19:28:46 can skip the first part it adds it for you 2023-03-21 19:28:54 ah okay 2023-03-21 19:28:56 also wait a minute i recognise that name 2023-03-21 19:29:02 you're the person with that cool website 2023-03-21 19:29:18 :) 2023-03-21 19:30:07 i've not had a stranger tell me so before but ty ^^ 2023-03-21 19:30:16 ^_^ 2023-03-21 19:43:47 psykose, okay so further testing: doing udev wasn't the thing that helped, but actually *not* using cryptsys is the thing that helped 2023-03-21 19:44:31 cryptsys the whole encrypted root thing 2023-03-21 19:44:36 yeah 2023-03-21 19:44:52 i'd guess you were missing whatever weird video shit in the initrd then so it couldn't get loaded off the drive before password input 2023-03-21 19:44:52 etc 2023-03-21 19:44:57 so yeah makes sense 2023-03-21 19:46:06 i guess i'll just not do cryptsys lol 2023-03-21 19:48:03 the solution is prolly figuring out what magic stuff to move to initrd via the mkinitfs features, probably involving something not even in the features list 2023-03-21 19:48:08 that sounds like effort tho 2023-03-21 19:48:14 who needs encryption anyway 2023-03-21 19:49:11 :)) i have 2 disks on this machine so i was gona do an encrypted zfs homedir anyways 2023-03-21 19:49:58 not sure it'll really matter at that point 2023-03-21 19:50:06 so i'll just not encrypt at all 2023-03-21 19:50:51 whoa autumn 2023-03-21 19:50:57 how come you're allowed to have two disks?! 2023-03-21 19:54:16 cos it's my birthday? /shrug 2023-03-21 19:54:33 (it's not actually it's just because they came with this laptop off ebay) 2023-03-21 19:54:44 happy birthday autumn 2023-03-21 19:54:48 autumnull: if you did cryptsys then during boot it should prompt you for decryption passphrase and not continue booting until you provide it 2023-03-21 19:55:06 pretty hard to type that with no display however 2023-03-21 19:55:14 ahhh interesting 2023-03-21 19:55:23 indeed, that was my (implicit) point ;-) 2023-03-21 19:55:32 so what you're saying is if i'd simply typed the encryption passcode while the screen was blank i would have been allowed in 2023-03-21 19:55:43 also ty psykose :) 2023-03-21 19:55:48 :) 2023-03-21 19:56:13 autumnull: maybe.....the drm stuff should be loaded before the passphrase prompt (assuming "kms" was specified when initramfs was built 2023-03-21 19:56:52 i'll try it 2023-03-21 20:03:03 hahaha yeah it worked 2023-03-21 20:03:21 well, neat 2023-03-21 20:03:33 i'm fine with this 2023-03-21 20:03:55 thanks minimal & psykose <3 2023-03-21 20:04:13 an ampersand! rare indeed 2023-03-21 20:04:13 how much more space does kms take in initrd? 2023-03-21 20:04:36 :) 2023-03-21 20:04:44 somercet2: that depends on the contents of /etc/mkinitfs/features.d/kms.modules ;-) 2023-03-21 20:04:54 somercet1: ^^^ 2023-03-21 20:05:12 on my machines I tweak that file to be......minimal..... :-) 2023-03-21 20:05:29 8.6MB in gzipped modules not counting moved firmware for module deps 2023-03-21 20:05:51 idk if it moves firmware for everything or only what gpu you do have 2023-03-21 20:06:26 psykose: I believe it checks every included module for what firmware they need 2023-03-21 20:06:26 firmware is even more than that probably tho 2023-03-21 20:06:31 yeah 2023-03-21 20:06:36 but it also includes all the modules 2023-03-21 20:06:42 that's just literally all the gpu firmware :D 2023-03-21 20:06:47 psykose: only if you let it ;-) 2023-03-21 20:06:59 i will bite u 2023-03-21 20:07:08 I have machines with no kms/drm as I'm using BIOS textmode 2023-03-21 20:07:15 those are fancy 2023-03-21 20:07:54 normally I only include simpledrm and/or 1 graphics-specific DRM driver in the initramfs 2023-03-21 20:41:35 I am trying to get /dev/disk/by-path symlinks for disks working. The existing mdev configuration doesn't create these (though it creates other symlinks like /dev/disk/by-id). When I configure udev (via setup-devd udev) it does create by-path symlinks... but only for disks attached via USB, not for the NVME or SATA disk I have. What's the best way to get by-path symlinks for all my disks? 2023-03-21 20:43:14 by-path only being made for usb is quite weird 2023-03-21 20:43:27 guess it's one of a million eudev issues eh 2023-03-21 20:44:22 micahrl[m]: I worked on some of the mdev /dev/by-* stuff 2023-03-21 20:45:19 edev relies on a few small problems to extract info used to create some links, mdev doesn't have equivalent utils (yet) which is why I didn't try and implement the full set of eudev stuff in mdev 2023-03-21 20:45:26 s/problems/programs/ 2023-03-21 20:46:49 ahh interesting. I had a thought that maybe the by-path stuff could come out of sysfs, but it looks like systemd-udev (which AFAIK is the progenitor of the by-path idea) is doing something more complicated than that based on my naive trip through its code. 2023-03-21 20:47:18 I'd need to have a look to refresh my memory lol 2023-03-21 20:48:27 the other potential problem is that on Alpine even when you have eudev installed the initramfs is still using mdev and so that may impact on some stuff for eudev 2023-03-21 20:50:01 e.g. I've noticed that with eudev installed that /dev/mapper/ entries (for LVM, LUKS, etc) are NOT softlinks to /dev/dm-* unlike on other distros as mdev sets up those up (in initramfs) before eudev runs later in boot 2023-03-21 20:51:00 I might end up writing a script that pulls PCI paths out of sysfs and symlinks them somewhere, and then calls /lib/mdev/persistent-storage, and adjust mdev.conf accordingly. Personally I don't need the generated names to be the same as what systemd udev would have given me, just persistent from reboot to reboot. Unless there is some other method I should try first. 2023-03-21 20:51:21 what are you trying to achieve? 2023-03-21 20:52:00 /dev/disk/by-path links for disks other than usb 2023-03-21 20:52:32 yeah. more generally: persistent file paths for disks based on what interface they're attached to. 2023-03-21 20:52:51 yeah but why rely on that rather than fs LABELS/PARTUUID/UUIDs etc? 2023-03-21 20:55:45 Ahh, well I am doing something weird :). The OS is stateless; it boots off of a usb disk I build with mkimage. I want to be able to drop a disk into a host, and have it provision it automatically based on where it is attached if it doesn't already have a filesystem on it, but I definitely don't want to wipe/mkfs on the wrong disk. 2023-03-21 20:56:28 I could use by-id from mdev, but then I have to boot, check the ID, save it to my configuration, and re-apply the configuration. if I had a working by-path, I wouldn't need to do that. But it's a fallback plan. 2023-03-21 20:57:06 I'm working on something similar. How would you determine which disk is the "right" or "wrong" disk? 2023-03-21 20:57:42 In my case, I think I can rely on the PCI path information 2023-03-21 20:59:01 just glancing at the eudev source code and struggling to see where it sets up by-path entries apart from for mmc and virtio devices 2023-03-21 20:59:47 rules/60-persistent-storage.rules as entries for those 2023-03-21 21:02:50 huh yeah I don't know. it is making them for my usb disks, which the kernel sees as sdb and sdc (not mmcblkX). 2023-03-21 21:03:47 eudev has a path_id builtin which seems to be used to work out this info, so would need something similar (as a binary) for mdev/mdevd 2023-03-21 21:04:48 you said you're working on something similar - tell me more, what's your use case 2023-03-21 21:06:10 however the path_id code whilst it does handle scsi and usb does NOT appear to handle ata - I guess that is something that udev-as-part-of-systemd does handle but hasn't been backported to eudev 2023-03-21 21:09:00 well my use case is that I build ready-to-go Alpine disk images which, for physical machines, I currently manually "dd" onto HDDs and SDDs (via a bootable USB stick) and I'm working on changing that to instead automatically look for storage devices, match their type to what the image is created for (HDD/SSD/SDcard/USB stick), show the available suitable devices, and pick an appropriate one by default and, depending on config, go ahead and 2023-03-21 21:09:00 write to that device automatically 2023-03-21 21:09:03 it looks like systemd udev has handle_scsi_ata(), which is not in eudev 2023-03-21 21:09:56 ahh yeah cool. definitely a similar problem. 2023-03-21 21:11:02 in my case these are cloud-init-enabled Alpine images so they can either pull 1st-boot actions via a URL or via YAML files in a small partition in the disk image 2023-03-21 21:11:29 I also intend to implement a netboot version of installer 2023-03-21 21:14:20 eudev has handle_ccw which system doesn't have, systemd has handle_ap & handle_scsi_ata which eudev doesn't have 2023-03-21 21:15:05 that sounds cool. mine is similar, but instead of cloud-init I use a local.d script that installs a configuration package, and a small USB drive that contains node-specific configuration like hostname, a private key for decrypting sensitive info in the config package, etc. 2023-03-21 21:15:11 also systemd's udev appears to have nvme support which eudev's path_id doesn't 2023-03-21 21:17:52 micahrl[m]: missing ata support was flagged in eudev a few months ago: https://github.com/eudev-project/eudev/issues/242 2023-03-21 21:20:57 michahrl[m]: the disk image creation script (but not the installer stuff) is at: https://github.com/dermotbradley/create-alpine-disk-image 2023-03-21 21:24:11 oh thanks! maybe your cloud-init approach is a better path than my local.d script. Going to take a look through your repo and see if I can crib any ideas 2023-03-21 21:26:12 Mine is at https://github.com/mrled/psyops/tree/master/psyopsOS ... it's a lot of hacks and probably not directly usable by anyone else, but feel free to poke around 2023-03-21 21:30:43 micahrl[m]: you might find this relevant: https://github.com/dermotbradley/create-alpine-disk-image/blob/main/lib/physical-functions#L32 2023-03-21 21:32:20 ty, I'll take a look. 2023-03-21 21:33:56 as for eudev, it doesn't in general seem to be tracking systemd-udev very well 2023-03-21 21:35:29 I'm going to spend at least some time trying to duplicate the systemd udev by-path logic in Alpine's persistent-storage mdev script. If I get something useful I'll come back here and say so. 2023-03-21 21:37:20 micahrl[m]: I'd previously looked at a couple of way/utilties to replace what eudev's ata_id and scsi_id do to get info for other missing by-* entries. 2023-03-21 21:38:25 however there may be an issue getting such changes made to mdev if Alpine's eudev does not also provide them 2023-03-21 21:39:34 you think so? eudev and mdev already do different things. eudev does create by-path for USB disks, for example, while mdev doesn't. 2023-03-21 21:40:56 right, I wasn't referring to that (I'd have implemented it if, at the time, I'd found an easy way to do so) - rather than it may be an issue adding entries to mdev that eudev does not create 2023-03-21 21:42:03 Are you saying, the project wouldn't accept such changes? Why not? 2023-03-21 21:42:07 as mdev is the default mechanism for Alpine and there are concerns about potential to break people's systems (i.e. someone relies on a by-* entry that mdev provides and then later they switch to eudev which doesn't provide that and their system becomes unbootable 2023-03-21 21:42:19 Ahh I see 2023-03-21 21:42:41 that was the feedback I received earlier when I was adding by-* entries 2023-03-21 21:43:14 e.g. I had entries relating to LVM and/or LUKS devices that I "dropped" 2023-03-21 21:43:46 I wonder if it would be more acceptable if it were behind a configuration flag that is off by default 2023-03-21 21:44:03 like /dev/disk/by-id/dm-uuid-LVM-* 2023-03-21 21:44:22 and /dev/disk/by-id/dm-uuid-CRYPT-LUKS1-* 2023-03-21 21:47:59 what related to that is that for eudev such entries are created by optional Alpine packages with udev rules (i.e. device-mapper-udev) whereas mdev has no mechanism currently for other packages to optionally expand on its rules 2023-03-21 21:56:22 I guess that's true. My thought was that the persistent-storage script could check for a configuration value, and create the by-path symlinks if it's true. Maybe too much of a hack tho. 2023-03-22 00:28:14 I'm trying to get Alpine working on a nanopi r2s (rk3328) but can't get it to boot into the full initramfs. I'm getting "/init: line 581: nlplug-findfs: not found" which is quite odd because that should already be in /sbin though I don't even see an /sbin in the recovery shell 2023-03-22 00:28:36 It feels like the initramfs is broken? 2023-03-22 00:30:53 I also see the line "rootfs image is not initramfs (uncompression error); looks like an initrd", which is odd. I've confirmed the initramfs is not corrupt (on SD) 2023-03-22 01:49:53 "I'm trying to get Alpine working..." <- I have give up 2023-03-22 01:53:39 nice 2023-03-22 01:58:17 infinite[m]: why did you give up? 2023-03-22 02:03:57 "infinite: why did you give up?" <- Last yeah i knew that r2s is android-like image 2023-03-22 02:05:11 https://opensource.rock-chips.com/images/c/cd/Rockchip_bootflow20181122.jpg 2023-03-22 02:05:25 So i never buy arm evb or x86 box again 2023-03-22 02:06:47 I bought arm laptop with uefi support 3 month ago 2023-03-22 02:06:52 I have it booting the base Alpine kernel, there are just some issues with the initramfs 2023-03-22 02:07:13 it feels like it's loading the initramfs at the end of memory and running out during decomp 2023-03-22 02:07:27 r2s: Maybe you need pre configured dhcpcd and sshd/dropbear deamon 2023-03-22 02:07:55 I have exist one cpio archive 2023-03-22 02:11:47 Seems like a perfect use for Alpine with the R2S being a router and all, but this has been pretty painful 2023-03-22 02:14:49 r2s: Have you try mkinitfs 2023-03-22 02:15:39 The initramfs is already provided by the uboot archive 2023-03-22 02:17:30 r2s: so you're not using Alpine initramfs? 2023-03-22 02:18:43 I am, Alpine provides a u-boot package for aarch64 (Generic Arm) 2023-03-22 02:19:05 in that archive there's a ./boot that should contain everything needed 2023-03-22 02:20:55 u-boot is the bootloader, not a initramfs 2023-03-22 02:21:19 I'm aware, it's called "alpine-u-boot" by Alpine 2023-03-22 02:21:49 technically, alpine-uboot-3.17.2-aarch64.tar.gz 2023-03-22 02:21:56 r2s: and I asked you if you were not using the Alpine initramfs 2023-03-22 02:22:13 And I said I am 2023-03-22 02:22:21 (because I am) 2023-03-22 02:22:34 you said you ARE using the Alpine initramfs or you are not? 2023-03-22 02:23:59 I am using the Alpine initramfs-lts provided within alpine-uboot-3.17.2-aarch64.tar.gz 2023-03-22 02:25:17 oh you're referring to the "Generic Arm" download, rather than the u-boot package which is ehat I thought you were referring to 2023-03-22 02:26:34 so you should refer to using the Generic Arm download image, rather than Alpine u-boot package 2023-03-22 02:27:50 There must be some confusion here, they are one in the same from what I see. The "Generic Arm" download contains a u-boot for a subset of devices, it also contains the kernel, initramfs, modules, packages, etc. 2023-03-22 02:28:28 yes but you earlier referred to u-boot *package*, which is a package, not an image, that's where the confusion came from 2023-03-22 02:29:05 the Generic Arm image contains the u-boot package, plus mkinitfs package, plus kernel package, etc 2023-03-22 02:31:31 I'm trying all of this with the files provided in the Generic Arm archive, with my own u-boot because Alpine doesn't provide one. The kernel is booting, appears to load part of the initramfs, calls /init, but init fails 2023-03-22 02:32:01 there is a u-boot package for rockchip but I don't think the Generic Arm image includes it 2023-03-22 02:32:45 I personally don't think u-boot is the issue here 2023-03-22 02:32:59 as the Generic Arm image is by its very name "generic" then the initramfs it comes with may be missing something that your SBC requires 2023-03-22 02:33:58 which is why I assume infinite[m] asked if you'd tried mkinitfs to create a customised initramfs 2023-03-22 02:35:24 I have not, I can try 2023-03-22 02:36:08 I'm not sure what it would be missing, it has the device tree and modules I need 2023-03-22 02:37:39 as far as I understand it, the initramfs should be generic enough to run on any aarch64 platform? It's just a ramfs with an init script 2023-03-22 02:39:56 only if it has the necessary kernel modules, firmware (if required), (and DTBs if required) for hardware such as the storage device (e.g. SDcard or EMMC) containing the rootfs etc 2023-03-22 02:42:17 e.g. if your rootfs is on a SDcard then either the kernel needs the SD driver compiled in or else the module in the initramfs, the module for the rootfs fs type (FAT, EXT4, etc) needs to be in the initramfs, the cmdline passed to kernel needs to define things like the rootfs type so the initramfs' init will load that kernel module, etc 2023-03-22 02:43:08 to get a console then the DRM kernel module for your machine's graphics chip needs to be in the initramfs 2023-03-22 02:45:49 ah, R2S has no display, so did you specify serial console in the cmdline options? 2023-03-22 02:46:52 so the part I don't understand is that we seem to be loading the initframfs (at least partially) because we start executing /init, but /init fails here: https://gitlab.alpinelinux.org/alpine/mkinitfs/-/blob/master/initramfs-init.in#L581 2023-03-22 02:47:32 It can't find nlplug-findfs which is also located within the initramfs (in sbin) 2023-03-22 02:47:39 that's why it tried to mount the rootfs 2023-03-22 02:47:51 s/why/when/ 2023-03-22 02:48:48 PATH is set in line 314 so it should be able to find it 2023-03-22 02:49:19 sbin doesn't exist in the recovery shell 2023-03-22 02:49:32 but /init does 2023-03-22 02:52:12 https://paste.debian.net/plain/1274861 2023-03-22 02:57:16 hang on, the Generic Arm image is "run from ram" but you're trying to use it as "run from disk", that's why it doesn't work 2023-03-22 02:58:25 hmm, maybe not - what cmdline options are you passing? 2023-03-22 02:59:19 APPEND initrd=/boot/initramfs-lts modules=loop,ext4,sd-mod,usb-storage rootwait 2023-03-22 03:04:51 the busybox errors are coming from line 314, but whilst line 309 creates /usr/bin and /usr/sbin it doesn't create /bin and /sbin so I can only assume the busybox --install is supposed to create those 2023-03-22 03:05:17 I've never seen those errors myself on any system so the initramfs' init in general works 2023-03-22 03:06:40 I feel like it starts at this line: rootfs image is not initramfs (uncompression error); looks like an initrd 2023-03-22 03:06:57 But I'm not sure how it would partially decompress the initramfs and still work 2023-03-22 03:07:44 The R2S has 1GB of ram, that should be plenty? 2023-03-22 03:07:57 right, I looked at the initramfs file - it comes with sbin/nlplug-findfs and with both bin and sbin dir 2023-03-22 03:08:09 so it seems the initramfs is not being unpacked correctly 2023-03-22 03:09:03 it's gzipped, I can try decompressing it 2023-03-22 03:09:28 well I'm viewing its contents via zcat initramfs-lts | cpio -t 2023-03-22 03:10:15 I just mean so the kernel doesn't have to 2023-03-22 03:11:18 your hash is c458addc078be38df98360c7d8604b03919701afb11f439d73a95b850346edd4 too? 2023-03-22 03:11:19 worth a try 2023-03-22 03:11:47 which hash? 2023-03-22 03:11:52 256 2023-03-22 03:12:05 yes 2023-03-22 03:12:10 try it decompressed 2023-03-22 03:12:30 that error needs to be resolved, nothing is going to work right until you resolve it 2023-03-22 03:12:47 It's now: initramfs-lts: ASCII cpio archive (SVR4 with no CRC) 2023-03-22 03:13:00 isn't decompression handled by u-boot? 2023-03-22 03:13:19 I thought the kernel as it's an argument? 2023-03-22 03:13:57 isn't there something different about aarch64 (or is it armv7?) that the kernel cannot decompress, it has to be done by bootloader? 2023-03-22 03:14:41 I mean something is decompressing it 2023-03-22 03:14:45 It's running /init 2023-03-22 03:15:50 dunno about initramfs but it is certainly that way for kernel: https://github.com/torvalds/linux/blob/master/Documentation/arm64/booting.rst#3-decompress-the-kernel-image 2023-03-22 03:16:17 I get a kernel panic now before running /init: rootfs image is not initramfs (invalid magic at start of compressed archive); looks like an initrd 2023-03-22 03:16:35 so it's certainly expecting a gzipped archive 2023-03-22 03:17:55 vmlinuz-lts is also gzip compressed so if the bootloader can decompress that the initiramfs should also be fine 2023-03-22 03:18:10 ok, I think the problem is u-boot related 2023-03-22 03:18:21 you said you're using a u-boot from somewhere else 2023-03-22 03:19:11 yes I built it myself 2023-03-22 03:19:21 from mainline u-boot 2023-03-22 03:20:08 so I guess there's either an issue with the build or its config 2023-03-22 03:20:21 but I know little about u-boot 2023-03-22 03:20:35 you're sure the bootloader also decompresses the initramfs? 2023-03-22 03:21:18 not sure, I'm *guessing* the kernel decompresses the initramfs (based on your tests) whereas the bootloader decompresses the kernel 2023-03-22 03:22:05 why do you think it's u-boot then? 2023-03-22 03:22:50 doesn't u-boot load the initramfs as well as the kernel, before passing over control to the kernel? 2023-03-22 03:23:24 so I'm wondering if u-boot is loading the initramfs correctly 2023-03-22 03:23:40 I don't think so, the initramfs location is part of the kernel args 2023-03-22 03:23:41 Hi guys. 2023-03-22 03:24:29 r2s: doesn't u-boot load it and then tell the kernel where to find it? 2023-03-22 03:24:31 I am running alpine-virt inside QEMU, setting up using sda + sdb + sdc using setup-alpine. 2023-03-22 03:24:59 It is basically LVM on LUKS on mdraid. 2023-03-22 03:25:24 I have a problem when booting up: it does not show the text asking for the LUKS passphrase. 2023-03-22 03:26:02 I am running it inside QEMU. Serial port outputs nothing. Gtk window and Spice connection do not either. 2023-03-22 03:26:23 But if I ignore the black screen and just type the passphrase then press Enter, it works. 2023-03-22 03:26:28 Is it a bug? 2023-03-22 03:27:00 livy_: BIOS or UEFI? 2023-03-22 03:27:16 I am using OVMF UEFI firmware. 2023-03-22 03:27:33 livy_: Grub? 2023-03-22 03:27:58 I use setup-alpine, and I think it uses Grub on GPT by default. 2023-03-22 03:28:10 so do you see the Grub menu during boot? 2023-03-22 03:29:19 Yes I do, I see Grub menu on both serial output and from Spice client. 2023-03-22 03:29:26 It count 3-2-1, then black screen. 2023-03-22 03:30:27 livy_: you won't see anything further on serial port if you don't have "console=ttyS0" specified on cmdline and also have a getty configured in /etc/inittab for serial port 2023-03-22 03:32:55 On the serial output, it only shows 3 lines: 2023-03-22 03:32:56 BdsDxe: loading Boot0002 "UEFI QEMU QEMU HARDDISK " from PciRoot(0x0)/Pci(0x4,0x0)/Scsi(0x0,0x0) 2023-03-22 03:33:02 BdsDxe: starting Boot0002 "UEFI QEMU QEMU HARDDISK " from PciRoot(0x0)/Pci(0x4,0x0)/Scsi(0x0,0x0) 2023-03-22 03:33:07 Welcome to GRUB! 2023-03-22 03:33:30 There is no Grub menu. The Grub menu only shows up on the Spice client (or Gtk output). 2023-03-22 03:34:12 ok, sounds like Grub is setup for normal output rather than serial 2023-03-22 03:34:26 anyway, try adding "kms" to the features list in /etc/mkintfs/mkinitfs.conf 2023-03-22 03:34:31 After that I have to blindly type the passphrase on the Spice client (or Gtk window). 2023-03-22 03:34:37 and then run mkinitfs to rebuild the initramfs 2023-03-22 03:34:38 Typing it in the serial does not work. 2023-03-22 03:35:31 After the passphrase is entered, Alpine starts working, and show OpenRC 0.45.2 starting up... on the Gtk window. 2023-03-22 03:36:07 "livy_: you won't see anything..." <- ttyAMA0 2023-03-22 03:36:20 The serial output shows nothing, until everything boots up. 2023-03-22 03:36:29 After that both the Gtk window and the serial show this: 2023-03-22 03:36:29 Welcome to Alpine Linux 3.17 2023-03-22 03:36:35 Kernel 5.15.103-0-virt on an x86_64 (/dev/ttyS0) 2023-03-22 03:36:44 localhost login: 2023-03-22 03:37:39 infinite[m] ttyAMA0 only if it is a Arm system, livy_ didn't specify so I assumed x86/x86_64 2023-03-22 03:38:05 I am emulating a pc-q35 amd64 machine. 2023-03-22 03:38:34 I am now trying to rebuild the initramfs as instructed. 2023-03-22 03:40:23 @minimal Yay it works! 2023-03-22 03:41:07 It shows 2 lines now: 2023-03-22 03:41:09 mdadm: failed to add /dev/sdc1 to existing array /dev/md0: Resource busy 2023-03-22 03:41:18 Enter passphrase for /dev/md1: _ 2023-03-22 03:41:34 But only on the GPU output (Spice/Gtk). 2023-03-22 03:42:03 How to make the passphrase prompt work on serial also? So that I do not need to emulate the GPU anymore. 2023-03-22 03:42:17 ah, you have /boot as a separate partition (on md0) from the rest? 2023-03-22 03:42:50 Yes, by default `setup-alpine` creates md0 as a 300MiB RAID1 to mount as /boot 2023-03-22 03:43:15 And md1 is a RAID5 which span the rest of the disk(s). 2023-03-22 03:43:48 so you have sda as non-raid ESP, sdb as md0 for /boot, and sdc as md1 for LUKS/LVM everything else? 2023-03-22 03:44:08 is md0 just /boot or is it /boot on top of LUKS? 2023-03-22 03:44:14 lsblk output would make it clear 2023-03-22 03:45:42 I have 2 virtual disks: sda, sdb, and sdc. 2023-03-22 03:46:16 I used `setup-alpine`, and by default, it create sda1, sdb1, sdc1 as a 300MiB EFI System Partition (ESP). 2023-03-22 03:46:29 They are raided into md0 (RAID 1), and mounted at /boot. 2023-03-22 03:47:15 sda2, sdb2, sdc2 span the rest of each disk, and are raided into a RAID 5 volume namely md1. 2023-03-22 03:47:43 I put LUKS on mdraid, and then LVM on LUKS. 2023-03-22 03:48:06 hmm, normally a RAIDed ESP partition is not supported by UEFI, though there is a "trick" whereby md version 0.9 (right version?) can be used as it keeps the RAID headers at the END of the partitions. I didn't realise setup-disk did this 2023-03-22 03:48:12 mdraid 5 -> luks2 -> lvm -> lv_root mounted on / 2023-03-22 03:49:02 Accoriding to wiki.raid.kernel.org, metadata version 0.9 and 1.0 keeps the superblock at the end of the disk. 2023-03-22 03:49:16 right, that's the "trick" I'm referring to 2023-03-22 03:49:26 Grub and extlinux will see the partition as a normal partition. 2023-03-22 03:49:37 so as far as the UEFI is concerned, they're normal filesystems, yeah 2023-03-22 03:50:03 my comment was NOT about Grub or Syslinux (they understand softraid), it was about UEFI (which does NOT understand RAID) 2023-03-22 03:50:05 and since nothing writes to them outside of Linux, it's fine 2023-03-22 03:50:25 The Alpine Wiki states that extlinux understands mdraid. 2023-03-22 03:50:48 livy_: I've alreadty said my comment was nothing to do with extlinux or Grub 2023-03-22 03:51:35 But from what I read on kernel.org, it seems extlinux just see a raid1 paritition with metadata 0.9 as a "normal" partition and reads data from it. 2023-03-22 03:51:56 It is what I understand it, could be wrong though. 2023-03-22 03:52:04 livy_: why do you keep referring to something that is irrelevant? 2023-03-22 03:52:09 Sorry. 2023-03-22 03:52:33 Back to the relevant issue that I have. 2023-03-22 03:52:43 the point was about what UEFI can or cannot handle 2023-03-22 03:52:56 when it reads the ESP partition/filesystem 2023-03-22 03:53:32 What should I do to make the passphrase prompt show up on the serial output? 2023-03-22 03:53:43 Grub menu also, if possible. 2023-03-22 03:53:50 use only a serial console 2023-03-22 03:54:08 you have 2 consoles and the prompt will only show up on the active console 2023-03-22 03:54:36 and for grub, again configure it accordingly 2023-03-22 03:54:48 Alright, I'll disable the emulated GPU. 2023-03-22 03:55:27 whichever console= is last becomes /dev/console 2023-03-22 03:55:36 so put the serial terminal console= last 2023-03-22 04:02:32 I disabled QEMU emulated GPU, leaving serial as the only output. 2023-03-22 04:02:42 I have not messed with Grub configuration yet, because I do not know how to do. 2023-03-22 04:03:04 Result: Grub boot menu now shows up on the serial output, which count down 3-2-1. 2023-03-22 04:03:18 Then it shows these lines: 2023-03-22 04:03:20 Loading Linux virt ... 2023-03-22 04:03:25 Loading initial ramdisk ... 2023-03-22 04:03:30 error: no suitable video mode found. 2023-03-22 04:03:35 Booting in blind mode 2023-03-22 04:03:45 No passphrase prompt again. And I cannot type either. 2023-03-22 04:04:36 do you have console=ttyS0, on your kernel command line? 2023-03-22 04:05:09 How to check that? I just started with a fresh installation of Alpine. 2023-03-22 04:05:55 easy way is to stop grub's countdown and edit the boot item 2023-03-22 04:08:05 livy_: you need to configure Grub for text console 2023-03-22 04:08:44 edit /etc/default/GRUB 2023-03-22 04:09:45 it sounds like grub automatically figured it out since it was the only console available 2023-03-22 04:10:41 set GRUB_GFXPAYLOAD_LINUX=text, set GRUB_SERIAL_COMMAND="serial --unit=0 --speed=115200", set GRUB_TERMINAL="serial" or to "serial console" 2023-03-22 04:10:57 then run "grub-mkconfig -o /boot/grub/grub.cfg" 2023-03-22 04:11:34 dwfreed: it didn't figure out not to use graphics, that's what the GRUB_GFX_PAYLOAD_LINUX setting can change 2023-03-22 04:12:14 you also likely want to add "nomodeset" to cmdline 2023-03-22 04:12:58 that's all assuming you only want a serial console 2023-03-22 04:25:49 Maybe I did something wrong. 2023-03-22 04:26:06 On serial console, now it output these lines: 2023-03-22 04:26:07 BdsDxe: loading Boot0002 "UEFI QEMU QEMU HARDDISK " from PciRoot(0x0)/Pci(0x4,0x0)/Scsi(0x0,0x0) 2023-03-22 04:26:12 BdsDxe: starting Boot0002 "UEFI QEMU QEMU HARDDISK " from PciRoot(0x0)/Pci(0x4,0x0)/Scsi(0x0,0x0) 2023-03-22 04:26:20 BdsDxe: starting Boot0002 "UEFI QEMU QEMU HARDDISK " from PciRoot(0x0)/Pci(0x4,0x0)/Scsi(0x0,0x0) 2023-03-22 04:26:33 Welcome to GRUB! 2023-03-22 04:26:39 error: disk `mduuid/cb1b9f074b771e715dfbb73f1db25aa7' not found. 2023-03-22 04:26:46 Entering rescue mode... 2023-03-22 04:26:56 grub rescue> 2023-03-22 04:27:22 ah, sounds like Grub doesn't have the md module loaded 2023-03-22 04:27:27 Nothing valuable inside this virtual machine. But what could possiby go wrong? 2023-03-22 04:28:26 I think I already have the answer to my question: to make the passphrase prompt show up on the GPU output. 2023-03-22 04:28:34 grub-mkconfig should have figured this out (e.g. when it called grub-probe) 2023-03-22 04:28:36 Having it show up on the serial output is a nice plus, though. 2023-03-22 04:28:51 Thanks alot, minimal. 2023-03-22 04:29:30 livy_: I have VMs with serial only console, with text console, and with graphics console but I specifically set those up, and I use LUKS in various of those situations 2023-03-22 04:29:57 I have a script to do all this for me :-) 2023-03-22 07:37:29 Thanks @minimal and @dwfreed very much. Today I learn lot of things new about Linux. 2023-03-22 07:37:56 The first thing is about initrd (or initramfs) -- it needs enough drivers to do the job. 2023-03-22 07:38:25 By default it cannot output to GPU, and by adding 'kms' module, it properly shows the passphrase prompt. 2023-03-22 07:38:52 And the second thing is about multiple consoles, and the active console. 2023-03-22 07:39:06 echo foobar 1>/dev/console 2023-03-22 07:39:23 It output "foobar" to whichever console which is the active one. 2023-03-22 07:40:16 More than 3 years using Linux and there are still many things for me to learn. 2023-03-22 07:59:29 @dwfreed I stop the Grub boot menu, pressing 'e' to manually edit the command line. 2023-03-22 08:00:27 On the line starting with 'linux ...' I manually add 'console=ttyS0,9600' and it work! The passphrase prompt shows up on the serial now. 2023-03-22 15:43:23 if i do apk info --print-arch will the result always be aarch64/armv7/armhf inline wiht how the downloads are named? 2023-03-22 15:44:01 or the package arches? 2023-03-22 15:48:52 userdocs_: i think it is from uname -m 2023-03-22 15:49:39 no, that will give me armv7l when using qemu + proot. 2023-03-22 15:50:02 apk info --print-arch will give me just armv7 2023-03-22 15:51:17 i think the latter is the right way to determine arch to match the distributions 2023-03-22 16:25:06 hello alpine! 2023-03-22 16:27:48 I am trying to set up X on a talos...and startx sort of worked...until it didn't. 2023-03-22 16:31:42 when I ran startx I got this error: failed to load module "ast" 2023-03-22 17:14:11 yarn fails in vscode git if nodejs is higher than 16, tested it with "nvm" node version manager 2023-03-22 17:19:56 the blackbird flies at dawn 2023-03-22 18:46:15 `apk add evolution-ews; /usr/libexec/evolution-calendar-factory` fails (i think) with 'module_load: Error relocating /usr/lib/libwebkit2gtk-4.1.so.0: lroundf: initial-exec TLS resolves to dynamic definition in /usr/lib/libwebkit2gtk-4.1.so.0' 2023-03-22 18:46:33 that sounds like the kind of musl problem people here must be adept at resolving 2023-03-22 19:27:16 libwebkit2gtk-4.1.so.0 has a TLS program header which means it can't be dlopen'd 2023-03-22 19:27:21 which is new in 2.40 i guess 2023-03-22 19:28:17 you can replicate it with https://img.ayaya.dev/8idprXPHQlGj which is what evolution-data-server is doing 2023-03-22 19:30:04 psykose, Alpine Adeptus 2023-03-22 19:38:38 see? say what you want about using llm-based assistants, but i seem to be having consistently good results with irc. :-) 2023-03-22 19:40:27 actually (but not detracting from your analysis) i think e-c-f dlopens something that is (transitively) linked against libwebkit2gtk 2023-03-22 19:40:56 i'm pretty sure i already found the fix 2023-03-22 19:43:32 how do people in the musl-land live without LD_DEBUG? 2023-03-22 19:43:47 not sure how that would be useful here 2023-03-22 19:44:40 it'd give an approximation of a loading graph, making it easier to figure out who is loading what 2023-03-22 19:44:57 strace -eopen -z kind of helps 2023-03-22 19:45:08 which in this specific case is useless :p 2023-03-22 19:49:14 ldd also gives you the full graph, though it's not exactly the same thing 2023-03-22 19:52:05 especially not if there's dlopen involved 2023-03-22 20:21:31 and fixed 2023-03-22 20:21:36 when it's rebuild in -r1, enjoy 2023-03-22 21:58:10 i have ct on proxmox based on alpine linux 2023-03-22 21:59:30 i install docker and when i run docker service, I have msg: 2023-03-22 21:59:44 # rc-update add docker boot && service docker start && service docker status 2023-03-22 21:59:44 * Caching service dependencies ... [ ok ] 2023-03-22 21:59:44 * service docker added to runlevel boot 2023-03-22 21:59:46 mount: permission denied (are you root?) 2023-03-22 21:59:48 /lib/rc/sh/openrc-run.sh: line 38: can't create /sys/fs/cgroup/openrc/notify_on_release: Permission denied 2023-03-22 21:59:50 mount: permission denied (are you root?) 2023-03-22 21:59:52 mount: permission denied (are you root?) 2023-03-22 21:59:54 mount: permission denied (are you root?) 2023-03-22 21:59:56 mount: permission denied (are you root?) 2023-03-22 21:59:58 mount: permission denied (are you root?) 2023-03-22 22:00:00 mount: permission denied (are you root?) 2023-03-22 22:00:02 mount: permission denied (are you root?) 2023-03-22 22:00:04 mount: permission denied (are you root?) 2023-03-22 22:00:06 mount: permission denied (are you root?) 2023-03-22 22:00:08 mount: permission denied (are you root?) 2023-03-22 22:00:10 mount: permission denied (are you root?) 2023-03-22 22:00:12 mount: permission denied (are you root?) 2023-03-22 22:00:14 mount: permission denied (are you root?) 2023-03-22 22:00:16 mount: permission denied (are you root?) 2023-03-22 22:00:18 sh: error setting limit: Operation not permitted 2023-03-22 22:00:20 * docker: unable to apply RC_ULIMIT settings 2023-03-22 22:00:22 * /var/log/docker.log: creating file 2023-03-22 22:00:24 * /var/log/docker.log: correcting owner 2023-03-22 22:00:26 * Starting Docker Daemon ... [ ok ] 2023-03-22 22:00:26 psu: Are you in the docker group? 2023-03-22 22:00:28 * status: started 2023-03-22 22:00:30 I have no idea how to repair it 2023-03-22 22:00:35 i'm root 2023-03-22 22:00:38 use a pastebin in the future 2023-03-22 22:00:50 ok sorry 2023-03-22 22:16:06 here is https://pastebin.com/dZJn30Ts complete proxmox CT config and all terminal steps 2023-03-22 22:25:17 Is wine borked partially? 2023-03-22 22:25:48 psu: this, i presume, is running in lxc, not kvm? you probably need unprivileged=0 2023-03-22 22:29:36 avf: i'm checking.. 2023-03-22 22:34:37 psu: so you're trying to run docker inside an alpine lxc container? 2023-03-22 22:34:57 https://forum.proxmox.com/threads/run-docker-inside-lxc.112004/ ? 2023-03-22 22:35:00 yes 2023-03-22 22:37:01 ovf: with unprivileged=0 still the same errors 2023-03-22 22:40:53 psu: so it looks like you need to work out how to configure lxc for this to work 2023-03-22 22:42:32 hmm, lxc based on Debian works for me perfectly.. the same config, but.. Alpine i smaller.. lighter.. :) 2023-03-22 22:43:16 right, but debian is not alpine, e.g. debian is using systemd, alpine is using openrc 2023-03-22 22:44:12 obviously docker works on Alpine in general and docker relies on cgroups, so it is the Alpine-on-top-of-LXC, and how that impacts on cgroups this is likely the issue 2023-03-22 22:44:40 perhaps look at something like: https://github.com/tteck/Proxmox/blob/main/ct/alpine-docker-v5.sh 2023-03-22 22:49:25 psu: inside Alpine what does "grep cgroup /proc/filesystems" show? 2023-03-22 22:50:54 nodev cgroup 2023-03-22 22:50:54 nodev cgroup2 2023-03-22 22:52:00 minima: i found that script few minutes ago.. i'll test it 2023-03-22 23:13:02 psu: try setting lxc.cgroup.use = @kernel in /etc/lxc/lxc.conf ? 2023-03-22 23:13:22 https://github.com/lxc/lxc/issues/1095 2023-03-22 23:13:25 script works fine, but with verbose mode I saw the same errors 2023-03-22 23:13:57 I checked default installation and custom 2023-03-22 23:14:02 if you are still seeing the errors then you still the problem 2023-03-22 23:14:14 try what I just suggested? 2023-03-22 23:14:30 ok 2023-03-22 23:29:05 the lxc.cgroup2.devices.allow from that script seems relevanyt 2023-03-22 23:29:13 but yeah you're missing the whole lxc cgroup config thing 2023-03-23 00:44:10 psykose: thanks! 2023-03-23 00:45:59 thanks all for help, but still nothing new.. ahghhh wrrr :/ 2023-03-23 00:47:55 I have: lxc.cap.drop: 2023-03-23 00:48:36 and lxc.cgroup2.devices.allow: a 2023-03-23 00:50:07 morning i will try again 2023-03-23 00:50:30 bye 2023-03-23 02:31:17 Hi guys. 2023-03-23 02:31:30 I encounter a strange issue with my RAID array. 2023-03-23 02:31:45 It resync/rebuild after every reboot. 2023-03-23 02:32:24 The log during poweroff is normal: 2023-03-23 02:32:41 * Unmounting loop devices 2023-03-23 02:32:41 * Unmounting filesystems 2023-03-23 02:32:48 * Unmounting /tmp ... [ ok ] 2023-03-23 02:32:54 * Unmounting /boot ... [ ok ] 2023-03-23 02:33:01 * Deactivating swap devices ... [ ok ] 2023-03-23 02:33:07 * Shutting down the Logical Volume Manager ... [ !! ] 2023-03-23 02:33:14 * ERROR: lvm failed to stop 2023-03-23 02:33:20 * Stopping RAID devices ... [ ok ] 2023-03-23 02:33:35 ... 2023-03-23 02:33:36 * Terminating remaining processes ...[ 3642.215809] reboot: Power down 2023-03-23 02:35:48 Now I power on the machine. 2023-03-23 02:36:22 /dev/md0 consists of sda1, sdb1, and sdc1 running in RAID 1. 2023-03-23 02:37:06 mounting at /boot. 2023-03-23 02:37:20 /dev/md1 consists of sda2, sdb2, and sdc2 running in RAID 5, mounting at /. 2023-03-23 02:38:58 After the system boots up, both arrays start rebuilding for no reason. 2023-03-23 02:39:20 mdadm --detail -v /dev/md0 2023-03-23 02:39:34 State : clean, degraded, resyncing (DELAYED) 2023-03-23 02:39:40 0 8 1 0 active sync /dev/sda1 2023-03-23 02:39:46 4 8 33 1 spare rebuilding /dev/sdc1 2023-03-23 02:39:52 3 8 17 2 spare rebuilding /dev/sdb1 2023-03-23 02:40:00 # mdadm --detail -v /dev/md1 2023-03-23 02:40:09 State : clean, degraded, recovering 2023-03-23 02:40:18 0 8 2 0 active sync /dev/sda2 2023-03-23 02:40:24 1 8 34 1 active sync /dev/sdc2 2023-03-23 02:40:30 3 8 18 2 spare rebuilding /dev/sdb2 2023-03-23 02:40:43 maybe use a pastebin instead of flooding the chat 2023-03-23 02:41:59 Sorry, I think ~20 lines is somewhat acceptable. Anyway, that's it. 2023-03-23 02:42:17 the log during poweroff says it failed to stop, not normal :p 2023-03-23 02:42:45 if you comment out the >/dev/null 2>&1 by hand and manually stop it, or just run the command yourself, maybe it outputs something useful 2023-03-23 03:02:59 All 3 disks were detected during boot. 2023-03-23 03:03:09 [ 2.745801] sda: sda1 sda2 2023-03-23 03:03:10 [ 2.746646] sdc: sdc1 sdc2 2023-03-23 03:03:17 [ 2.746758] sdb: sdb1 sdb2 2023-03-23 03:03:44 [ 2.879193] md/raid1:md0: active with 1 out of 3 mirrors 2023-03-23 03:03:45 [ 2.879203] md0: detected capacity change from 0 to 614272 2023-03-23 03:51:01 livy_: IRC etiquette is 3-5 lines *max* 2023-03-23 03:51:29 and if you're pasting a bunch of short things, just collect them all and put them in a pastebin 2023-03-23 03:54:39 @dwfreed Sorry, and thanks for your suggestion. I have just used IRC recently. 2023-03-23 03:57:10 Back to the issue I have. After a poweroff, I boot into an Alpine Live CD to check the RAID arrays. All're good. 2023-03-23 03:58:02 Then I booted into the Alpine instance on the disk itself, and it started rebuilding the array, again! 2023-03-23 03:58:11 So there must be some issue with the boot sequence. 2023-03-23 04:47:46 Is the "Generic Arm" package supposed to be written to an SD card? I'm stuck at nlplug-findfs which appears to be searching for a USB device to continue install, which feels pretty strange to me because the apkovl.tar.gz is located on the SD card next to /init... 2023-03-23 04:50:20 Perhaps I just need another partition on the SD card with this archive... 2023-03-23 04:59:19 Nope 2023-03-23 04:59:38 The docs are so outdated I feel like the first person doing this lol 2023-03-23 05:02:58 i don't even know what generic-arm is targetting 2023-03-23 05:03:35 i've never heard of anyone use it as practically every arm device is some downstream kernel or needs stuff enabled that's not in the kernel in it 2023-03-23 05:03:36 or something 2023-03-23 05:06:04 It's mostly been a process of trial and error, I'm pretty close but things like nlplug-findfs are puzzling 2023-03-23 05:08:04 is that during boot or after you get a shell 2023-03-23 05:08:12 nlplug-findfs just looks for sutff 2023-03-23 05:08:14 stuff* 2023-03-23 05:08:26 what stuff and why 2023-03-23 05:08:49 the initrd has to find partitions and things in general 2023-03-23 05:08:52 it's during /init 2023-03-23 05:09:01 yeah 2023-03-23 05:10:43 It's failing at "Mounting boot media", because "nlplug-findfs -p /sbin/mdev -b /tmp/repositories -a /tmp/apkovls" is failing 2023-03-23 05:29:59 is https://github.com/eth-p/bat-extras suitable to add as a package request? 2023-03-23 11:44:49 this may not be the right place to ask but I'd like to try anyway. I run Alpine on a Radxa Rock5b. I'm using it to host a Monero node 2023-03-23 11:45:32 Strangely, the node segfaults at random, with no prior indication as to why. This is completely unexpected behavior. 2023-03-23 11:46:10 There is another guy with the same Rock5b, except he runs Armbian and is not experiencing the same issue 2023-03-23 11:47:19 I have noticed that the frequency and likelihood of a crash goes up significantly during higher workloads. Setting the scaling governor to powersave and using the node's max-concurrency flag set to 1 or 2 to minimize multithreading will make it run for much longer, but it still segfaults eventually 2023-03-23 11:47:56 if anyone knows what on earth could cause this and how to troubleshoot it, I'd be very grateful. I'd rather not run Armbian.. 2023-03-23 11:48:24 For reference, the Alpine image I'm running was taken from here: https://github.com/iggy/rock5-alpine 2023-03-23 12:11:41 intr: maybe run it with ulimit -c unlimited to let it generate core dumps 2023-03-23 13:11:27 psykose, livy_: the "ERROR: lvm failed to stop" is "normal" - as the rootfs is on LVM then obviously the "vgchange -a n" in the /etc/init.d/lvm script fails. I thought I had submitted a MR sometime ago to "fix" this by ignoring the exit code but it seems I forgot, I'll raise an MR for it now... 2023-03-23 15:04:42 is there any provision to keep the current running kernel's /lib/modules? 2023-03-23 15:05:02 no 2023-03-23 15:54:33 I've got core dumped but no debug symbols, and building from source causes errors beyond my ability to solve. This sucks, I literally bought the damn thing to run a node on it 2023-03-23 15:56:53 Which package do you use? And can you provide the core dump? 2023-03-23 15:58:10 I'm using the aarch64 version of `monero` (https://pkgs.alpinelinux.org/package/edge/community/aarch64/monero), and I'll share the core dump in a sec 2023-03-23 16:01:24 https://0x0.st/HoK8.bin 2023-03-23 16:01:34 the binary in question is monerod 2023-03-23 16:07:41 is this the error you see when trying to build it yourself? https://bpa.st/T7RJI 2023-03-23 16:10:04 userdocs_: the first two, yes 2023-03-23 16:10:19 the rest it doesn't even get to yet 2023-03-23 16:12:23 unless you changed nick, someone else had the same issue the other day, when trying to build it 2023-03-23 16:12:34 this is my first time here 2023-03-23 16:12:43 I don't frequent oftc, hah 2023-03-23 16:12:48 good to know it's not just me 2023-03-23 16:14:58 yeah, fails to build but not really sure why 2023-03-23 16:16:56 I'm getting the warning "WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/edge/main: No such file or directory" 2023-03-23 16:18:14 My terminal can get data from the internet, as curl and whois is functioning 2023-03-23 16:19:14 I’ve looked all over and couldn’t find any info on this. Except for one unanswered StackOverflow question 2023-03-23 16:19:43 Any thoughts or tips? Thanks in advance 2023-03-23 16:20:51 https://github.com/monero-project/monero/issues/8622 2023-03-23 16:21:01 reported in October, nobody bothered to fix it 2023-03-23 16:21:09 ** This warning is occurring for the apk command ** 2023-03-23 16:21:28 it's the monero build that's failing, this isn't an apk issue 2023-03-23 16:22:26 I've got the same issue as scooby 2023-03-23 16:24:02 scooby: try again 2023-03-23 16:24:19 dwfreed: that looks the same as the error i saw 2023-03-23 16:24:28 yeah, is identical 2023-03-23 16:27:26 May I have an explanation? I’m new to Alpine and a bit confused 2023-03-23 16:27:55 Monero is maintaining edge? 2023-03-23 16:30:38 intr: comment out this line: https://github.com/monero-project/monero/blob/master/CMakeLists.txt#L896 2023-03-23 16:31:20 people using -Werror in public build scripts are an annoying bunch 2023-03-23 16:31:38 Or I guess I better phrasing of that would be, does Alpine not fix errors in stable versions for system binaries? 2023-03-23 16:32:57 ovf: done, building now. Thanks for the help 2023-03-23 16:33:42 using -DCMAKE_BUILD_TYPE="release" seems to work as well 2023-03-23 16:34:14 [378/378] Linking CXX executable bin/monero-wallet-rpc 2023-03-23 16:34:21 yes, but that doesn't include debug info 2023-03-23 16:34:51 probably want RelWithDebInfo instead 2023-03-23 16:35:00 the aport uses none, so i guess it defaults to debug? 2023-03-23 16:36:10 default is release for monero 2023-03-23 16:37:49 but the port is explicitly setting None, rather than some other value 2023-03-23 16:38:06 Ah that’s why I was confused, didn’t see another question was being answered, my bad 2023-03-23 16:38:16 probably to avoid the stupidity of Release 2023-03-23 16:38:49 (the monero cmakelists does something stupid when build type is set to release) 2023-03-23 16:40:39 it fails if set to debug or none. 2023-03-23 16:44:27 how does the aport build then? https://git.alpinelinux.org/aports/tree/community/monero?h=master 2023-03-23 16:44:50 it does not appear ot patch anything related to that 2023-03-23 16:49:24 ovf: still dies after error. perhaps I should comment line 898 referring -Werror=return-type? 2023-03-23 16:51:19 Ermine I've tried multiple times, using different releases, but to no avail 2023-03-23 17:01:04 scooby: what alpine branch are you on? 2023-03-23 17:01:48 Currently on 3.14 2023-03-23 17:03:44 apk works in all aspects except for when pulling from a mirror 2023-03-23 17:11:36 scooby: what's the output of $ curl -sI https://dl-cdn.alpinelinux.org/alpine/edge/main/`apk --print-arch`/APKINDEX.tar.gz | head -1 2023-03-23 17:16:13 intr: probably? 2023-03-23 17:27:27 cockliuser[m]: dwfreed figured out the monero build issue. read back from here you'll see it. 2023-03-23 17:33:51 it's so weird though 2023-03-23 17:33:55 On that issue someone running arch says `make` works 2023-03-23 17:33:56 I ran make and it failed 2023-03-23 17:34:14 ovf "HTTP/1.1 200 OK" 2023-03-23 17:36:08 I also tried using a local-repo at `/opt/apk` and apk said not found 2023-03-23 17:36:16 cockliuser[m]: i don't think that's too weird because you need to know the configure step before 2023-03-23 17:36:47 There seems to be a general issue of pulling apks, not just from mirrors 2023-03-23 17:37:08 scooby: did you run apk update 2023-03-23 17:38:59 Yes 2023-03-23 17:39:03 I coincidentally did it the moment you typed that, and it worked lol 2023-03-23 17:39:59 I used `apk fix` though. Thank you all for the help 2023-03-23 17:40:44 I didn’t know I had to launch `fix` after changing the mirror 2023-03-23 17:40:57 You don't 2023-03-23 17:41:35 You have to update indexes though, which is apk update or apk add/upgrade -U 2023-03-23 17:45:23 Makes sense, since it’s based of the APK.tar 2023-03-23 17:46:05 Is this the right place to complain about being unable to use Alpine in a container as non-root user? 2023-03-23 17:46:23 Excited to start using Alpine, was very into it off of the description, I’ll be around 2023-03-23 17:47:37 Ryan_ I’m new here, but I think this is the place 2023-03-23 17:50:04 As simple as using alpine as base image, adduser some user, and no matter what I do... everything is permission denied, chdir to HOME or running any command... not a single solution found in the web works (from chmod inside the container image to messing with privileges or selinux) 2023-03-23 17:50:22 It's hard to follow a good practice that's impossible to implement. 2023-03-23 17:55:02 userdocs_: makefile runs the cmake configure and build 2023-03-23 17:55:40 Ryan_: what exactly are you trying to do as that specific user 2023-03-23 17:55:53 is that user owner of the HOME 2023-03-23 17:55:59 does it have permissions 2023-03-23 17:56:04 what image are you using 2023-03-23 17:56:09 pj: from alpine 2023-03-23 17:56:25 FROM alpine? 2023-03-23 17:56:29 yes 2023-03-23 17:56:34 giving permissions to HOME fixes nothing 2023-03-23 17:56:42 CMAKE_BUILD_TYPE=Release is set by Monero makefile too btw 2023-03-23 17:56:57 first I have to five permission to /home, then to /, and permissions to / won't stay after the build 2023-03-23 17:57:16 then anything under /bin is denied, then 2023-03-23 17:57:28 anything under everything else... 2023-03-23 17:59:11 Then there must be something about your local host setup or container engine 2023-03-23 17:59:27 I've just been able to build alpine with my user with no permission issues 2023-03-23 17:59:45 I'm talking about `adduser -D user` inside 2023-03-23 18:00:03 and then `USER user` 2023-03-23 18:00:14 https://tpaste.us/JRrV 2023-03-23 18:00:37 paste your dockerfile 2023-03-23 18:00:39 Can't even ls: sh: ls: Permission denied 2023-03-23 18:00:52 (preferably on tpaste.us) 2023-03-23 18:00:59 (or other pastebin) 2023-03-23 18:01:56 are you using root-ful docker or root-less? 2023-03-23 18:05:41 pj: https://pastebin.com/FTWFbVC7 2023-03-23 18:05:46 rootless 2023-03-23 18:06:31 yeah, that's podman issue 2023-03-23 18:06:57 pj: do you think I should complain to them? or is this like something known? 2023-03-23 18:07:30 You can go complain to them 2023-03-23 18:07:40 I don't know if it's known, I barely use podman 2023-03-23 18:07:46 :( 2023-03-23 18:07:51 might be an issue with UID/GID remapping on your host 2023-03-23 18:09:33 those are OK AFAIK, I use a lot of bind volumes 2023-03-23 18:22:17 https://tpaste.us/8MbO 2023-03-23 18:23:50 podman version 4.3.1 2023-03-23 18:30:13 pj: that's not fair x.x 2023-03-23 18:35:33 intr: sounds like you got the monero thing sorted out? 2023-03-23 19:05:40 iggy: oh hey, lol. No I did not, the build still fails and monerod still crashes, but I'll try again tomorrow as it's quite late and I got frustrated. 2023-03-23 20:29:58 does anyone know an obvious place for exec some script like '/etc/acpi/LID/' but when the power is pluged in/out? 2023-03-23 20:32:25 I checked sway 'bindswitch' but it seems that only supports lid and tablet on/off 2023-03-24 01:37:45 What would be the downside to modifying the default ulimt for Alpine to something higher, matching systemd current defaults, for programs like Lutris? 2023-03-24 01:37:45 https://github.com/lutris/docs/blob/master/HowToEsync.md 2023-03-24 01:39:31 you can always just change it yourself 2023-03-24 02:57:40 Yeah, and I have, I'm just trying to get my head around the history of why the value is what it is and why the systemd one is what it is, and what the implications would be of aligning with that  2023-03-24 02:58:11 historical reasons 2023-03-24 02:58:43 Still applicable and reasonable, or could stand to be modernized?  2023-03-24 02:59:29 long since no longer really necessary 2023-03-24 03:01:21 but torvalds is famously anti-obvious-regression, so the upstream default is unlikely to change, and alpine doesn't want to add lots of non-upstream configs 2023-03-24 03:01:54 Ahhh, okay, yep.  2023-03-24 03:02:12 The never ending push-pull  2023-03-24 03:02:53 theoretically there could be some program or system relying on the small default for, uh... something? 2023-03-24 03:13:00 And systemd gives no 💩 what anything else does, so they do what they please, right?  2023-03-24 03:20:59 pretty much 2023-03-24 05:46:28 linux-edge aarch64 seems rtc time broken 2023-03-24 05:50:00 you're going to have to be *a lot* more specific than that 2023-03-24 05:50:54 time wrong but should be correct 2023-03-24 05:51:29 :P 2023-03-24 05:51:46 :3 2023-03-24 05:51:54 I have tested in qemu/kvm uefi platform 2023-03-24 05:52:29 So,does anyone want script for arm64 kvm 2023-03-24 05:55:38 what is broken about it 2023-03-24 05:56:15 it doesn't work 2023-03-24 05:56:20 did you check dmesg? 2023-03-24 05:56:51 abby: i think you need to sfc.exe /scannow 2023-03-24 05:57:09 :D 2023-03-24 05:57:42 I have a structured settlement, but I need scan now 2023-03-24 05:58:31 groan 2023-03-24 06:23:37 "abby: i think you need to sfc...." <- Only after fsck /F /R /X /B and DISM /Online /Cleanup-Image /RestoreHealth 2023-03-24 06:23:45 so true 2023-03-24 06:25:27 That flow helped fix thousands of computers that were brought to me 🤣 Should probably get a tattoo of it at this point 🤔 2023-03-24 06:27:00 And then a good ol' in-place upgrade/repair install did the rest... 2023-03-24 06:27:00   2023-03-24 06:27:00 I am still trying to figure out how to accomplish the same with Linux  2023-03-24 06:28:43 apk audit 2023-03-24 06:29:30 I think apk fix can do nearly everything, but I'm not entirely sure it can fix all Permissions on all files in the base install back to 'factory '  2023-03-24 06:30:04 Or I'm using it wrong, which is likely 🤷 2023-03-24 06:36:28 For instance, my desktop throws a ```Can't stat /proc/sys/vm/unprivileged_userfaultfd``` every boot, which seems like a corrupted permission of something to me  2023-03-24 06:37:10 /proc/sys is a virtual filesystem 2023-03-24 06:37:19 /proc is created on boot, apk fix reinstalls pckages 2023-03-24 06:37:22 packages* 2023-03-24 06:39:04 that sounds like you put vm.unprivileged_userfaultd in /etc/sysctl.conf or in a file in sysctl.d there 2023-03-24 06:39:14 so it tries to call sysctl with that etc 2023-03-24 06:39:38 which doesn't exist if CONFIG_USERFAULTFD is disabled 2023-03-24 06:39:45 which it is 2023-03-24 06:40:17 Hmm 🤔 I don't think I have added that, but maybe a package added a conf I don't know of. Thank you, I'll check  2023-03-24 06:41:35 psykose: does apl fix creat /etc/*.new files? cause I know they get created during upgrade 2023-03-24 06:41:46 sysctl service init checks /etc/sysctl.conf and /etc/sysctl.d/* (and /lib /usr/lib /run of those but nothing modifies them, there's a default one in /lib) 2023-03-24 06:42:29 reggiere[m]: yes 2023-03-24 06:42:46 (this is quite easy to try and find out) 2023-03-24 06:44:23 sorry, I am on my phone and dont have access to a computer right now, wouldnt have pinged you for this if I didnt see you were here a second ago 2023-03-24 07:10:39 Привет всем 2023-03-24 07:11:30 Hello all 2023-03-24 07:13:57 Эм 2023-03-24 07:15:23 Тут есть кто живой?? 2023-03-24 07:16:18 Бывает 2023-03-24 07:23:43 this chat is in english 2023-03-24 07:26:16 When running Alpine on a workstation, would one need to expect a lot of problems by running edge compared to stable? Or to phrase the question differently, would edge be a good "rolling-release" distro? 2023-03-24 07:28:14 I am currently running Void Linux, but after soon 1.5 months they have not updated the vulnerable version 109 of Firefox, and they seem to be far away from able to do an upgrade in the near future. I noticed Alpine stable also got Firefox 109, but edge got 111. 2023-03-24 07:28:23 edge is very good 2023-03-24 07:29:18 better than stable in my personal experience 2023-03-24 07:29:28 That sounds good. 2023-03-24 07:30:43 It makes me nervous to use a browser with known vulnerabilities, so much that I want to change distro. 2023-03-24 07:31:08 "seem to be far away from able to do an upgrade in the near future" it's not that far away, there just needs to be 1 fix for llvm 15 2023-03-24 07:31:54 then rust can be updated and firefox can be updated after that 2023-03-24 07:32:54 abby: I know, but the speed things happens at https://github.com/void-linux/void-packages/pull/40821 is very slow. It looks like the developer is lacking knowledge in how to get it to work. 2023-03-24 07:34:16 It looks like the LLVM package has not had any upgrade the latest two years. 2023-03-24 07:35:08 In this times with war and because of that more cyber attacks, I think it is important to have updated tools. 2023-03-24 07:35:22 s/this/these/ 2023-03-24 07:35:59 you could always use the firefox flatpak if you're so worried 2023-03-24 07:36:14 or download the latest binary from mozilla 2023-03-24 07:36:59 abby: probably not this unless mozzila has musl builds 2023-03-24 07:37:12 or get me to fix void's llvm so it's always in a half broken state but always up to date within 1 day of release 2023-03-24 07:37:14 (dies inside) 2023-03-24 07:37:29 lmao 2023-03-24 07:37:35 psykose: No, that I would not want either :) 2023-03-24 07:38:37 I do not care about LLVM 16 (which is the newest release). Void is shipping 12. 2023-03-24 07:41:26 according to the PR's author 2 days ago, there is a patch for the final issue it just needs to be tested by a couple people 2023-03-24 07:41:47 so it'll get merged when those people have time to test that 2023-03-24 07:43:57 engblom: btw, your email address on your NickServ account is invalid; you may want to fix that in case next time you actually need to receive the password reset email :) 2023-03-24 07:44:27 doxed ! 2023-03-24 07:45:26 (note that we do not validate email addresses in any way, as at present they are only used for password resets) 2023-03-24 08:03:37 dwfreed: I have fixed the mail address now. 2023-03-24 08:03:49 \o/ 2023-03-24 08:05:10 dwfreed: Out of curiousity, would I have ever been able to recover my account if I would not succeeded have found my old password and the e-mail not existing anymore? 2023-03-24 08:06:19 dwfreed: I also sent a half written mail by mistake. 2023-03-24 08:07:58 engblom: we can often work out a method if the email address appears somewhere we can validate belongs to you (like visible on your GitHub account or validated with keybase, etc) 2023-03-24 08:08:32 iow, some service that actually validates email addresses and ownership of them :D 2023-03-24 08:09:09 it was also old enough that we could have dropped it so you could just re-register it 2023-03-24 08:10:49 dwfreed: Ok, thanks! 2023-03-24 08:17:53 I suspect it is impossible, but I am going to ask anyway. Is there any affordable cloud storage (like onedrive) you can mount into the filesystem with the content fully encrypted into the cloud? 2023-03-24 08:21:10 engblom: check out rclone 2023-03-24 08:21:52 it can fuse mount and does encryption independently of backend storage, and can use basically any cloud storage provider 2023-03-24 08:22:13 performance is not the best, but it's not awful either 2023-03-24 08:24:52 dwfreed: Thanks! I do not care much about performance on my home server. I would be happy even with a slow /home as there are few reads and writes. 2023-03-24 09:38:58 engblom: "I have forgot" :D 2023-03-24 10:47:29 dwfreed: Yes, that was the half written mail I begun to write (in alpine mail program) and one cancels a mail by ctrl-c and send by ctrl-x. I hit the wrong one. 2023-03-24 10:48:51 heh 2023-03-24 10:49:04 just made me think of the "I am afraid" meme 2023-03-24 10:49:40 (person did similar, meant to write out something like "I am afraid I don't understand ..." and instead sent at "I am afraid") 2023-03-24 10:49:40 dwfreed: Have you ever used the alpine mail client (which is a fork from the old pine mail client)? 2023-03-24 10:50:00 I don't think I've ever used a terminal mail client 2023-03-24 10:50:31 I begun writing the mail when it suddenly hit me that I probably have some old irclogs from where I can find the password. 2023-03-24 13:39:00 So KDE applications try to use the Breeze theme and Breeze icon theme by default even if it's not installed. 2023-03-24 13:39:05 Any thoughts on making that an actual dependency/ 2023-03-24 13:39:14 Otherwise they just... don't render or render completely broken. 2023-03-24 13:40:53 not sure if that implicitly makes sense just because it's the default icons 2023-03-24 13:44:20 yeah because if you installed another theme that you would set to default them you'd still have breeze as a dependency taking up space 2023-03-24 13:44:42 it's a bit like fonts? opening graphical apps with no font is also completely broken 2023-03-24 13:45:08 and in general nothing depends on one except some outliers (just like some outliers for breeze-icons) 2023-03-24 13:48:56 Does apk support install messages? In the case WhyNotHugo gave example of, a helpful install message would be really great. 2023-03-24 13:50:43 on every single kde app in the repos? a post-install on hundreds of things? 2023-03-24 13:50:54 you would apk add kde-base or whatever it's called and get 200 messages 2023-03-24 13:51:10 If you have another icon theme installed, KDE applications still try to use Breeze, even if it's not installed. 2023-03-24 13:51:25 psykose: More like collecting the messages and then showing them after all packages are installed, not repeating the same message. 2023-03-24 13:51:39 WhyNotHugo: it's for that reason setup-desktop installs breeze-icons to begin with 2023-03-24 13:51:54 i just don't think it makes sense for everything to have it in depends= too, lots of things are implicit like this i guess 2023-03-24 13:52:13 engblom: it doesn't support that style specifically no 2023-03-24 13:52:23 I'm just trying to figure out how to make the out-of-the-box experience for these applications to be less broken TBH. 2023-03-24 13:52:46 Like, a graphical application that doesn't render properly unless some other package is installed isn't great. 2023-03-24 13:53:49 the same applies for fonts, it's just less obvious 2023-03-24 13:53:59 i guess one can add breeze-icons to kcoreaddons and then it's in one place and fixed 2023-03-24 13:55:17 smol galaxy brain idea is to make kcoreaddons-icons and install_if=kcoreaddons depends=breeze-icons it 2023-03-24 13:55:29 then later you can just apk add !kcoreaddons-icons and remove them without other hacks 2023-03-24 13:55:31 meh 2023-03-24 13:58:17 That actually sounds good. Things will work out of the box, but anyone wanting a custom theme can still remove the default if they want. 2023-03-24 13:58:45 Shall I make that a subpackage or a separate package? 2023-03-24 13:58:48 sub 2023-03-24 13:59:17 it's also install_if="$pkgname=$pkgver-r$pkgrel" to be explicit there 2023-03-24 13:59:24 i'm actually not 100% sure if it currently works 2023-03-24 13:59:26 let me check 2023-03-24 13:59:53 it does 2023-03-24 14:00:49 it was broken on indirect (not in world) before, but .11 has it fixed https://gitlab.alpinelinux.org/alpine/apk-tools/-/commit/e60a6eb372ced4ad4953fce22ac932e57731c119 2023-03-24 14:37:21 `abuild rootbld` fails for `kcoreaddons`: https://paste.sr.ht/blob/99adccf8f6327d1b073f8dbbde12919bc3cd3523 2023-03-24 14:37:25 I've no idea why o.O 2023-03-24 14:38:06 Backtraces for tokodon don't show the names of the .so files. Any ides why? I don't even know which dbg symbols to install. https://paste.sr.ht/blob/d2eab770354761fb136faa21dea0b4dce1edce01 2023-03-24 14:45:58 what did you change in the diff 2023-03-24 14:46:23 the backtrace won't work without a tokodon-dbg, most things don't have debug symbols 2023-03-24 23:13:29 is there an APK command I am blanking out on? One to remove uninstalled pkgs from APK cache? 2023-03-24 23:19:13 apk cache clean? 2023-03-24 23:19:18 i'm not sure if it keeps based on installed or index 2023-03-24 23:19:20 probably latter 2023-03-24 23:19:23 in which case there is not one 2023-03-24 23:19:46 you'd have to manually rm, since it keeps a cache of anything in index (+ more, that gets cleaned with cache clean) 2023-03-24 23:20:54 could use a flag to control which mode is used 2023-03-24 23:30:37 I used "fgrep -vf pkgs files" 2023-03-24 23:31:42 apk cache download didn't d/l anything again, so it seemed to work. 2023-03-24 23:59:30 19:34 I'm looking at the Xen dom0 wiki page, it says there's no way to bridge a wifi interface (in the automatic setup at least). Is there a workaround? I don't have access to ethernet from the device I wish to install it on. 2023-03-24 23:59:48 chexo4[m]: NAT, iptables 2023-03-25 00:04:47 Is there a Alpine x86 kernel with PAE? If not, how can I request it? 2023-03-25 00:06:40 is that not the default 2023-03-25 00:36:58 No. x86_32 does not have PAE enabled. 2023-03-25 00:37:51 I assume there's probably some (legacy) systems out there which are 32-bit-only and aren't PAE capable 2023-03-25 00:39:36 so it would need to be i686 onwards? 2023-03-25 00:40:11 this says it came with pentium pro https://en.wikipedia.org/wiki/Physical_Address_Extension 2023-03-25 00:40:12 Yes. But there's some oddballs out there, like Vortex86 2023-03-25 00:40:31 I'm not sure that the oddballs all support PAE 2023-03-25 00:40:55 alpine seems to do 486 and 586 https://git.alpinelinux.org/aports/tree/main/gcc/APKBUILD#n293 2023-03-25 00:41:18 Another example would be Intel Curie and similar 2023-03-25 00:41:20 i think i got this right, or it's unrelated 2023-03-25 00:41:56 probably 2023-03-25 00:42:09 but normally you expect to see a i686 in there to assume PAE? 2023-03-25 00:42:23 my end goal is to run Xen on x86_32 hardware which has PAE. 2023-03-25 00:42:28 Yes, I do believe so. 2023-03-25 00:43:48 brings back fond memories of good ol windows xp days 2023-03-25 00:43:55 yea 2023-03-25 00:44:50 I guess I should say explicitly 2023-03-25 00:45:14 "how can I request a 32-bit x86 PAE + Xen kernel?" 2023-03-25 00:45:30 since it's not just PAE that I'm after, but Xen, and the latter requires the prior 2023-03-25 00:47:39 that i don't know 2023-03-25 00:53:46 (the x64 kernel enables Xen) 2023-03-25 00:54:12 (and x64 requires PAE -- there is no x64 w/out PAE) 2023-03-25 00:54:31 there's no 486 that line is a relic 2023-03-25 01:00:16 that answers a question i had about why there was two and which was used for x86 2023-03-25 01:16:10 I installed XFCE with the setup-desktop script, then installed keepassxc. Now, I try to delete keepassxc, but it says "World updated, but the following packages are not removed due to: keepassxc: gvfs xfce4" Any ideas how to remove the package? 2023-03-25 01:18:17 apk add !keepassxc 2023-03-25 01:18:41 it gets kept because gvfs depends on a secrets provider, and keepass is one 2023-03-25 01:18:53 when you do !keepassxc it will then probably install gnome-keyring in its place 2023-03-25 01:18:55 Just use the keepassxc flatpak lol 2023-03-25 01:20:49 So what is gvfs and what did it do before keepassxc was installed? 2023-03-25 01:21:45 GIO virtual filesystem 2023-03-25 01:22:35 for apps that are using glib, it lets you plug a bunch of backends into accessing files 2023-03-25 01:22:38 like trash:// 2023-03-25 01:23:13 by default you had gnome-keyring installed, adding keepassxc removed it in favor of keepassxc 2023-03-25 01:23:26 as for gvfs, it did the same things it always does i guess 2023-03-25 01:23:31 ah, ok 2023-03-25 02:09:21 trying to install some fonts as listed in the wiki but when i try to do "apk add font-bitstream-*" it's telling me that there is no such package 2023-03-25 02:10:23 Which wiki 2023-03-25 02:10:40 https://wiki.alpinelinux.org/wiki/Fonts 2023-03-25 02:10:49 well, the alpine linux wiki 2023-03-25 02:10:53 and this page in particular 2023-03-25 02:12:04 you can't apk add asterisks 2023-03-25 02:12:09 that is quite the wrong wiki page 2023-03-25 02:13:23 gah, i don't know why it does that 2023-03-25 02:15:53 i fixed it 2023-03-25 02:17:29 swag, i'm glad i was able to stick around to read that and not randomly drop 2023-03-25 02:17:49 it is repeated in the section below that puts them all together 2023-03-25 02:19:10 prolly 2023-03-25 02:19:19 i didn't give it too much of a read only fixed up all the names i guess 2023-03-25 02:20:09 gonna amend my installation then and hopefully be able to contribute sometime down the line. right now i'm getting the lay of the land 2023-03-25 02:44:41 I noticed that neither Void Linux nor Alpine offer the tor-browser. Does it just refuse to compile under musl-libc? 2023-03-25 02:45:47 yes 2023-03-25 02:49:55 poo. Next best solution? Do you recommend, or avoidance, of any particular browsers with tor-socks? 2023-03-25 02:51:08 i don't use tor personally 2023-03-25 02:51:49 i've set up just a regular localhost tor thing before and pointed firefox at it via socks5 or whatnot and it kinda works, but that doesn't avoid the 90 million other ways of tracking so i'm not sure if that gets you anything in itself 2023-03-25 02:51:50 normally, neither do I. But there's an onion address I want to see. 2023-03-25 02:51:54 ah 2023-03-25 02:52:03 then just starting tor and doing some weird stuff should be fine 2023-03-25 02:52:14 i think there's also some dedicated tor browsers other than tor browser? not sure 2023-03-25 02:52:26 and yeah, onion addressing is a non-starter with a normal browser and tor-socks. 2023-03-25 02:53:26 no, that works fine pretty sre 2023-03-25 02:53:56 it has been a long time though 2023-03-25 02:54:16 the last time i browsed anything on tor it was to buy drugs online so 2023-03-25 03:01:10 somercet1: i think there used to be an official w3m config for tor. i can't find it now but here is my own w3m config which borrowed from the tor one https://github.com/AN3223/dotfiles/blob/master/.w3m/config 2023-03-25 03:01:28 ... really?? 2023-03-25 03:01:36 wow, I'll check it out 2023-03-25 03:02:18 all of the security related stuff is at the bottom. the wikipedia thing is just so i can log into wikipedia via w3m so you don't need to copy that, but if you want to use cookies on any site then you can use it for inspiration 2023-03-25 03:02:43 and i run w3m in torsocks in order to actually get it working on tor 2023-03-25 04:26:31 "I noticed that neither Void..." <- flatpak or just straight up vm 2023-03-25 04:28:20 does Tor browser offer a musl flatpack? 2023-03-25 04:28:29 in order of security 2023-03-25 04:28:29 live environment like tails > whonix/openbsd/tails in a vm > flatpak > w3m 2023-03-25 04:29:28 um, tail? 2023-03-25 04:30:59 flatpak uses its own glibc so it doesnt care about musl, torproject doesnt offer s flatpak but there is an unofficial one, but I recommend creating your own flatpak to prevent supply chain attacks if you dont trust the unofficial package, tor updates itself so there should be no need to ever update the flatpak configuration 2023-03-25 04:31:54 tails is a debian based distro thats supposed to be used as a live iso, it routes all traffic through tor 2023-03-25 04:32:18 and obviously comes with tor-browser 2023-03-25 04:33:29 void has tor-browser-launcher on glibc 2023-03-25 04:33:40 which i think grabs the browser itself from upstream 2023-03-25 04:34:30 yes, but I assume somercet was talking about the musl edition 2023-03-25 04:51:16 ah, I hadn't used flatpak before. Interesting to know. 2023-03-25 05:35:15 somercet1: RE: .onion addresses: use socks5 and ask ff to make the proxy resolve addresses for you ( network.proxy.socks_remote_dns = true ) 2023-03-25 05:35:30 yeah, I got it working 2023-03-25 05:35:32 ty 2023-03-25 05:35:36 thanks all 2023-03-25 05:35:50 np 2023-03-25 05:36:04 of course, I don't want to be using FF to browse over Tor, I think I will install badwolf for that. 2023-03-25 06:19:42 apk thinks I have libpcre2-32 and libpcre2-16 installed. Very odd. 2023-03-25 08:26:04 hello; does anyone happen to know where I find the base compiler/linker flags alpine linux uses? I cant seem to find them 2023-03-25 08:27:32 sad_plan: partially in here: https://gitlab.alpinelinux.org/alpine/abuild/-/blob/master/abuild.conf 2023-03-25 08:28:03 Some are set as compiler defaults: https://gitlab.alpinelinux.org/alpine/aports/-/tree/master/main/gcc 2023-03-25 08:28:57 https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/main/gcc/0004-Turn-on-D_FORTIFY_SOURCE-2-by-default-for-C-C-ObjC-O.patch 2023-03-25 08:30:46 much obliged ikke :D 2023-03-25 12:41:20 Hello, i try to install sway and followed the docs, i get XDG-RUNTIME_DIR is not set. i also followed the docs on elogind and pam_rundir. somebody knows how to solve maybe? thx 2023-03-25 13:00:37 its XDG_RUNTIME_DIR 2023-03-25 13:00:42 try to set it ti 2023-03-25 13:00:49 to /tmp 2023-03-25 13:02:37 i was wondering because in the wiki page is written that elogind can be used to set it up automatically 2023-03-25 13:25:56 so its recommended to setup XDG_RUNTIME_DIR manually rather then over elogind or pam_rundir like written in the wiki? 2023-03-25 13:34:12 iirc, you need to make sure you have shadow installed for PAM integration 2023-03-25 13:36:58 i have shadow installed 2023-03-25 15:44:50 what about shadow-login? 2023-03-25 15:45:29 I do not know if it would help but sway refused to work from command line without it, because the default login (busybox I think) does not support pam or something like that 2023-03-25 15:45:45 zweik: 2023-03-25 15:46:00 reggiere[m]: yes busybox's login does not have PAM enabled 2023-03-25 15:47:10 this should be mentioned somewhere on the wiki tbh, it was a major headache when I first tried setting up alpine 2023-03-25 15:48:03 reggiere[m]: what exactly should be mentioned? and where exactly? 2023-03-25 15:50:06 for example the sway article mentions dbus, seatd but does not mention shadow-login, just by following that article sway will not start 2023-03-25 15:51:00 because of no pam support in busybox since wayland needs a valid session 2023-03-25 15:51:07 wiki articles are written/modified by individuals, they're not official documents 2023-03-25 15:51:29 so perhaps the person who wrote that article didn't realise or forgot to mention 2023-03-25 15:52:00 fair enough, ig time to do my first contribution to the wiki then 2023-03-25 15:52:28 there is also util-linux-login package 2023-03-25 15:57:01 oh okay, deleted shadow login, rebooted and sway still started, so I guess I should mention both of these as an option 2023-03-25 15:57:44 Is it normal for rpc.statd to write the killall helppage into the rc log (if you enable the rc log) 2023-03-25 16:24:38 can I ask what is the point of udev-init-scripts package? apk info -L shows it as empty 2023-03-25 16:28:56 it is a dep of eudev and so is installed, and udev-init-scripts has a subpackage called udev-init-scripts-openrc which is autoinstalled 2023-03-25 16:29:41 if, in theory, you were using another init package than openrc then there should be a udev-init-scripts-XYZ subpackage created and it would be autoinstalled instead 2023-03-25 16:30:09 oh, thanks for the explanation 2023-03-25 16:30:15 so udev-init-scripts is designed to "drag in" a init-specific subpackage automatically 2023-03-25 16:41:13 that is a clever design 2023-03-25 16:45:46 a similar mechanism only automatically installs doc subpackages if you have the manual tools packages installed 2023-03-25 22:08:12 why doesn't webrtc work in epiphany? 2023-03-25 22:08:13 not even video stuff, just webrtc for data for y.js stuff 2023-03-25 22:19:21 i'm pretty sure webkit doesn't support it by default 2023-03-25 22:22:12 webkitgtk added gstreamer-webrtc detection in like .38 but i'm not sure if it's even enabled by default nor if anything makes use of it 2023-03-25 23:30:46 i can't test if flatpak epiphany supports it because it won't load for me 2023-03-25 23:31:20 it doesn't really make sense that webkitgtk wouldn't support it without gstreamer for stuff that's just data transfer (no video) 2023-03-25 23:31:29 even then i don't get why it doesn't work with the gstreamer stuff 2023-03-25 23:32:54 > This is expected because (a) WebKitGTK does not support WebRTC yet, and (b) even if it did, WebKitGTK does not support screensharing via Pipewire. 2023-03-25 23:32:55 https://gitlab.gnome.org/GNOME/epiphany/-/issues/1536 2023-03-25 23:35:58 omg it's still wip https://base-art.net/Articles/webrtc-in-webkitgtk-and-wpe-status-updates-part-i/ 2023-03-25 23:38:03 so it seems that there has been an implementation for a while (~2018) based on libWebRTC (google's) that uses BoringSSL 2023-03-25 23:38:09 but incredibly 2023-03-25 23:38:10 > The dependency on BoringSSL prevents LibWebRTC usage in GPL applications. 2023-03-25 23:38:48 this is the bug upstream https://bugs.webkit.org/show_bug.cgi?id=235885 2023-03-25 23:40:07 back to Firefox I guess 😁 2023-03-25 23:42:00 :D 2023-03-25 23:42:01 yep 2023-03-25 23:42:04 pretty much all of that 2023-03-26 04:06:02 alpine has a virt ISO, but no virt vmlinuz : https://dl-cdn.alpinelinux.org/alpine/latest-stable/releases/aarch64/netboot/ 2023-03-26 04:06:11 for aarch64 2023-03-26 04:07:09 modloop-virt is much smaller than modloop-lts 2023-03-26 05:53:06 hewwo 2023-03-26 05:53:23 do glibc apps run well in distrobox containers 2023-03-26 05:53:30 in alpine linux? 2023-03-26 06:00:28 I would assume distrobox creates a separate hierarchy where the distribution being boxed is visible at the normal locations? 2023-03-26 06:01:00 as such I'd have to assume that glibc applications would work well under glibc distributions in distrobox? 2023-03-26 06:02:02 it's just a light container wrapper 2023-03-26 06:02:19 it's no different than `podman run` of whatever image of your choice and running programs in it 2023-03-26 06:02:31 so it works exactly as you'd expect that to work 2023-03-26 08:33:02 trying to figure out how to stop raid1 array from being started degraded via nlplug-findfs 2023-03-26 08:34:45 i understand the point of running `mdadm --incremental --run` instead of just `mdadm --incremental`, just not how to get around that without stopping the array and the restarting it. 2023-03-26 08:37:32 ok, figured it out... i removed the raid feature from mkinitfs.conf. boot drive isn't on the raid so didn't need it done in initramfs. 2023-03-26 08:42:46 still, i think that the --run switch should only be added for rootfs or fstab listed arrays, not carte blanche. 2023-03-26 08:46:27 sounds like an issue to open if you have the details 2023-03-26 08:47:50 i don't think --run causes that, going off the documentation though 2023-03-26 08:48:27 it's basically just a 'yes' just in case something else had it mounted or whatever, so i would assume that by not having it either makes no difference, or just waits for input forever 2023-03-26 08:48:44 didn't look at the code though 2023-03-26 08:49:37 if i start the array with just --incremental, one drive at a time (like nlplug-findfs will do), the array is started as soon as the last member is added 2023-03-26 08:50:41 if i start it with --incremental and --run, the first member added starts array degraded and subsequent adds are errors 2023-03-26 08:50:46 ah i see 2023-03-26 08:50:47 yeah 2023-03-26 08:51:49 the --run is there, i think, for root partition arrays, so boot does get stuck in initramfs if the array has issues 2023-03-26 08:52:02 does > doesn't 2023-03-26 08:53:37 kinda defeats the point of using an array, though if it is started degraded no matter what 2023-03-26 09:12:32 psykose: i remember the other day you said alpine can't do netboot? https://github.com/netbootxyz/netboot.xyz/blob/development/roles/netbootxyz/templates/menu/almalinux.ipxe.j2 2023-03-26 09:12:56 actually, there is a hidden cmdline parameter, we can set in ipxe shell 2023-03-26 09:13:33 it's a 50/50 if what i'm saying is a shitpost or not 2023-03-26 09:13:43 like : set cmdline console=ttyS0 pkgs=rsync,... ssh_key="...." 2023-03-26 09:14:11 and then go to main menu choose alpine edge/stable and boot 2023-03-26 09:15:12 psykose: the 50/50 is due to console= , some cloud provider use a different console, like ttyS0 ttyAMA0 2023-03-26 09:16:17 it also depends on vm software, qemu uses ttyAMA0 on apple M1, while tart uses something else. 2023-03-26 09:17:49 the cmdline parameter is included in `{{ kernel_params }}` where this thing is set in : https://github.com/netbootxyz/netboot.xyz/blob/3f2fba1d5c846b3fcb476c63eb6509db06bee17d/roles/netbootxyz/defaults/main.yml#L104 2023-03-26 09:20:23 i've tested on qemu aarch64 and oracle x86_64/aarch64, with console= configured, works like a charm. 2023-03-26 09:21:17 they use ansible to configure the menu.ipxe and hardcode into the ipxe.efi 2023-03-26 09:25:20 there a so many distro menus, but alpine is absolutly the lightest one. 2023-03-26 09:48:41 "i've tested on qemu aarch64..." <- oracle aarch64 maybe need console=tty1 too 2023-03-26 09:48:52 i have seen uefi platform before 2023-03-26 10:05:29 one of the reasons I am using alpine is because it can be netbooted fairly easily. 2023-03-26 10:05:37 (on real hardware) 2023-03-26 10:06:12 add uefi without GOP support and it becomes a bit more challenging 2023-03-26 10:25:39 <_010> hi 2023-03-26 10:26:33 <_010> whats best app to view youtube apart from chrome or firefox or qutebrowser 2023-03-26 10:31:47 psykose: hacky poc http://sprunge.us/3QoFfs 2023-03-26 10:32:02 just open an issue :p 2023-03-26 10:32:16 ok 2023-03-26 10:32:31 but yeah that looks correct by intent 2023-03-26 10:33:53 works for non rootfs case, don't have a box with rootfs on raid to test, but thanks for looking 2023-03-26 10:47:30 <_010> "whats best app to view youtube..." <- mpv 2023-03-26 10:50:02 mpv +1 2023-03-26 10:50:14 infinite[m]: it's ttyAMA0 2023-03-26 11:04:46 <_010> "whats best app to view youtube..." <- in addition to mpv there's Clapper and PlasmaTube. latter is pretty buggy for now sadly 2023-03-26 11:16:03 zathura-djvu has an error 2023-03-26 11:17:04 could not find zathura_plugin_3_4 in plugin /usr/lib/zathura/libdjvu.so 2023-03-26 11:19:01 oh wait it's been masked 2023-03-26 11:47:10 Hi all. 2023-03-26 11:47:27 I installed Kodi and, uh, most addons are out of date and incompatible. 2023-03-26 11:47:34 (in the alpine repo) 2023-03-26 11:48:19 ACTION checks for MRs. 2023-03-26 11:48:45 Heh. Just added two debian servers only to discover there glibcompat for Alpine 🙈 2023-03-26 11:50:10 No MR bumping the packages' version. 2023-03-26 11:51:21 I tried running kodi on Alpine a while ago, got stuck somewhere and gave up. 2023-03-26 11:51:24 by most you mean every single one? :D 2023-03-26 11:51:36 they should probably just be removed 2023-03-26 11:51:48 Yeah. 2023-03-26 11:52:09 I have no idea why distros package some kodi addons separately lol 2023-03-26 11:52:15 It's inconvienient. 2023-03-26 11:52:43 Especially for.........a STB powered by Alpine/postmarketOS :D 2023-03-26 11:52:45 separately in what sense 2023-03-26 11:53:01 they're from separate repos with separate releases and different versions 2023-03-26 11:53:04 or do you mean to package them at all 2023-03-26 11:53:19 Some addons need to be installed from alpine's repos, and some others need to be installed from within kodi. 2023-03-26 11:55:53 No idea about who thought this was a good idea. 2023-03-26 11:56:20 OSes should either package all of them in their repos, or none of them. I think that makes more sense. 2023-03-26 11:56:36 Amen :) 2023-03-26 11:58:18 don't think perfectionism makes much sense 2023-03-26 11:58:27 Sure. 2023-03-26 11:58:32 regardless, does installing them from within kodi even work 2023-03-26 11:58:45 For addons that require it, yes. 2023-03-26 11:59:00 For those already packaged, they don't even appear. 2023-03-26 11:59:05 sure, no point to have them at all then 2023-03-26 11:59:20 i would have imagined most of the addons are some random glibc-precompiled binary and don't work at all 2023-03-26 11:59:26 f_: did you get kodi to work on Alpine? 2023-03-26 11:59:33 JohannesJ[m]: Sort of.. 2023-03-26 11:59:48 I got it working on a STB running postmarketOS. 2023-03-26 11:59:52 Oh.. care to write a wiki article about it? 2023-03-26 12:00:03 Why? 2023-03-26 12:00:15 Just installing it works, there's not much to setup. 2023-03-26 12:00:16 So others can get it to work too? 2023-03-26 12:00:31 Well, i certainly didnt get it to work ;-) 2023-03-26 12:00:38 Oh. 2023-03-26 12:01:09 Are you using a graphical environment? 2023-03-26 12:01:32 No, i dont think i did :) its been a while ago though 2023-03-26 12:01:48 Then you need to install kodi-gbm as well. 2023-03-26 12:01:55 Runs kodi on the framebuffer. 2023-03-26 12:02:16 Hmz, maybe i should give it another try 2023-03-26 12:04:06 Good luck! 2023-03-26 12:04:45 Would mean im one step closer to have everything run alpine at home :) 2023-03-26 12:05:34 No idea :) 2023-03-26 12:06:50 i mean it just runs after you install it 2023-03-26 12:07:00 not sure what you were trying, aside from perhaps missing -gbm :p 2023-03-26 12:07:35 something else being broken is possible but i doubt it would be kodi related 2023-03-26 12:09:15 Next time i plan to document every step 🙈 2023-03-26 12:24:44 Wait a second. 2023-03-26 12:24:51 I know why these addons are packaged.. 2023-03-26 12:25:01 psykose: glibc(?) 2023-03-26 12:25:14 ... :D 2023-03-26 12:25:18 did you even check what i asked 2023-03-26 12:25:46 https://github.com/kodi-pvr/pvr.iptvsimple is written in C++.. 2023-03-26 12:26:05 psykose: Sorry. What did you ask? 2023-03-26 12:26:32 if downloading a random plugin like that one works 2023-03-26 12:26:52 I can't download that one without adding a custom repo it seems. 2023-03-26 12:28:18 (kodi repo) 2023-03-26 12:28:39 But there are prebuilt binaries! 2023-03-26 12:28:42 anyone using helix? I don't know why syntax highligth doesn't work for bash scripts altough I installed all grammars for tree-sitter 2023-03-26 12:28:46 Lemme try 'em out. 2023-03-26 12:28:46 it works fine for python 2023-03-26 12:29:55 hMm maybe is this: 194 2023-03-26T14:27:37.679 helix_core::syntax [ERROR] Could not parse queries for language "bash". Are your grammars out of sync? Try ru 2023-03-26 12:30:36 123 grammars failed to build 2023-03-26 12:30:38 nice 2023-03-26 12:30:44 no, that's just a folder thing 2023-03-26 12:30:56 the reason is probably that the packaged one is not the one helix expects 2023-03-26 12:31:25 there is a symlink on /usr/share/helix/runtime 2023-03-26 12:31:28 grammars -> ../../../lib/tree-sitter/ 2023-03-26 12:31:45 on there there are some .so files including bash.so 2023-03-26 12:32:06 yeah 2023-03-26 12:33:23 it also complains about LSP but is it needed for only highlight? 2023-03-26 12:33:39 ouch, I have to go to lunch, come bak in a while 2023-03-26 12:33:49 psykose: Oh. No prebuild binaries.. 2023-03-26 12:35:20 *prebuilt 2023-03-26 12:37:24 sure i'll update all 37 plugins just for you 2023-03-26 12:37:36 Oh really? 2023-03-26 12:38:02 If you wanted to I could've just upgraded them? 2023-03-26 12:38:11 But sure. Thanks a lot! 2023-03-26 12:38:25 if the first one even builds that is 2023-03-26 12:38:36 problemsolving is hard after being awake for forever 2023-03-26 12:38:52 If it doesn't I'll try solving problems. 2023-03-26 12:42:27 i figured it out 2023-03-26 12:42:58 Ok. 2023-03-26 12:43:06 Thank you so much for doing this! 2023-03-26 13:18:05 I'm trying to build them in a user runtime dir 2023-03-26 13:24:28 it didn't help 2023-03-26 13:27:23 wow, now I simylinked themes and queries to my local dir and it seems to work 2023-03-26 13:28:10 so... maybe there is something wrong with packaged bash.so? 2023-03-26 13:29:49 well, I replaced the packaged bash.so with the one I builded and now works fine without replacing HELIX_RUNTIME 2023-03-26 13:34:49 alpine armhf is armv6 right? 2023-03-26 13:36:22 No. 2023-03-26 13:36:59 Alpine doesn't support ARMv6. 2023-03-26 13:38:07 armhf - 32 bit ARM (hard-float ABI) - ARMv6 2023-03-26 13:38:11 https://wiki.alpinelinux.org/wiki/Architecture 2023-03-26 13:45:48 Or was it ARMv5? 2023-03-26 13:45:55 Ok no idea. 2023-03-26 13:46:16 v6 2023-03-26 13:48:56 o/ ikke 2023-03-26 13:49:01 Isn't ARMv6 unsupported? 2023-03-26 13:49:15 I'm confused. 2023-03-26 13:49:53 Ok it IS supported. 2023-03-26 13:50:00 My bad. 2023-03-26 13:51:22 psykose: Thanks a lot! You're awesome :) 2023-03-26 13:56:39 userdocs_: it is, yes 2023-03-26 13:57:05 armv6zk 2023-03-26 14:04:38 uniqNuuid: generally speaking ttyAMA0 is the correct device for a Arm-based console - it is nothing to do with any cloud provider or VM software, it is simply serial port naming for Arm devices 2023-03-26 14:18:47 not to nitpick anything but out of curiosity, is this guide correct https://www.baeldung.com/linux/arm64-armel-armhf-overview 2023-03-26 14:19:15 The minimum requirement for running ARMhf port is an ARMv7 CPU with version 3 of ARM vector floating-point specification(VFPv3). 2023-03-26 14:19:29 no 2023-03-26 14:19:41 ah 2023-03-26 14:19:43 yes, it's correct 2023-03-26 14:19:48 ..for debian 2023-03-26 14:19:52 which is what the article is about 2023-03-26 14:19:57 'armhf' means nothing as a general term 2023-03-26 14:20:20 in alpine it's --with-arch=armv6zk --with-tune=arm1176jzf-s --with-fpu=vfp --with-float=hard --with-abi=aapcs-linux via gcc spec and whatever else is auto implied 2023-03-26 14:20:54 idk why we called it hf and not just v6 :p 2023-03-26 14:20:56 or even v6hf 2023-03-26 14:21:01 it would be waaay les ambiguous 2023-03-26 14:21:47 psykose: You forgot to update kodi-inputstream-adaptive :P If you want you can let me update it and send my first Alpine patch! 2023-03-26 14:22:08 ACTION loves contributing. 2023-03-26 14:22:23 it in intentionally skipped it because it doesn't actually build 2023-03-26 14:22:38 Sure. I'll try fixing it. 2023-03-26 14:24:48 minimal: yeah, it works that way. 2023-03-26 14:25:00 I know it's using debian as a base but that line about minimum requirement for armhf threw me 2023-03-26 14:25:01 i'll try instead 2023-03-26 14:25:03 it's not that simple 2023-03-26 14:25:28 before that i was generally thinking armel is anything sub v7 with no hf 2023-03-26 14:25:28 Nah....Let me try so I can learn :) 2023-03-26 14:26:02 You know, it's not the first time that I'm working with apk packages. 2023-03-26 14:27:10 That STB I'm running postmarketOS/Alpine on was ported by me :P 2023-03-26 14:34:15 it's just boring packaging :3 2023-03-26 14:34:55 :3 2023-03-26 14:36:47 I'll just fix that up and run git send-email c: 2023-03-26 14:37:03 not sure what there is to fix 2023-03-26 14:37:13 You said it didn't build? 2023-03-26 14:37:25 ah no 2023-03-26 14:37:28 i already fixed it 2023-03-26 14:37:50 :V you were definitely faster than me.. 2023-03-26 14:38:01 Either way, thanks a lot! 2023-03-26 15:13:15 uhM 2023-03-26 15:13:34 what is it 2023-03-26 15:13:49 I got packaged bash.so working, but I need to move /usr/share/helix/runtime/queries 2023-03-26 15:13:59 and symlink it to /usr/share/tree-sitters/queries 2023-03-26 15:14:28 probably because the queries they wrote are not against the same bash tree sitter grammar 2023-03-26 15:14:32 it seems that the shipped one binaris are unsync with the queries on the helix package 2023-03-26 15:15:00 so the helix package should be fixed to use this symlink too? 2023-03-26 15:15:27 no 2023-03-26 15:15:34 actually they're the same 2023-03-26 15:15:40 helix only has injections in the dir too 2023-03-26 15:15:49 uhM 2023-03-26 15:16:04 you should probably run it with -vvv --log and get some actual useful info 2023-03-26 15:16:20 i already guessed the reason why it fails hours ago instantly and the rest here is the same thing repeated in different ways :p 2023-03-26 15:16:46 I enabled -vvv and the log doesn't add nothingu seful 2023-03-26 15:17:25 what you guessed? it points to a wrong grammars dir? 2023-03-26 15:20:17 they are not exactly the same 2023-03-26 15:21:18 the things inside the bash dir are the same for one file and the other file is only in one 2023-03-26 15:21:21 the log outputs to a file 2023-03-26 15:21:36 this /tmp/1000-rundir/cache/helix/helix.log ? 2023-03-26 15:21:45 you tell me 2023-03-26 15:22:14 does it work fine for you with just installing the packages? 2023-03-26 15:23:09 nope 2023-03-26 15:23:13 but i don't use the packaged helix 2023-03-26 15:26:40 so you don't think that tree-sitter packaged bash.so is "incompatible" with helix packaged queries? it seems to work once I symlink it 2023-03-26 15:28:11 hi, it is possible to do manually an action like `rc-update del nameOfService`? 2023-03-26 15:28:44 Meli: sure, why wouldn't that be possible? 2023-03-26 15:28:54 You just need to make sure you run as root 2023-03-26 15:29:01 I've been locked out from my raspi CM4 and suspect it's `wpa_supplicant` 2023-03-26 15:29:26 that it's blocking the boot sequence 2023-03-26 15:29:45 donoban: idk where you got that from, literally the first thing i said was that it was incompatible 2023-03-26 15:29:57 the fix is just not moving around random files 2023-03-26 15:30:03 it's probably changing the version of it or some shit 2023-03-26 15:30:26 or for some reason the only different injections file breaks it loading 2023-03-26 15:31:12 hmm.. I suggest to link 'queries' dir to tree-sitters since 'grammar' dir is already linked 2023-03-26 15:31:48 ikke: where should look at? At the moment I can only touch the files on the eMMC from an another computer; unless I'll find a way to use the serial port via OTG, I guess 2023-03-26 15:31:51 that is probably something to fix yeah 2023-03-26 15:32:01 well 2023-03-26 15:32:05 Meli: Ah, I understand now what you mean 2023-03-26 15:32:07 but now I'm seeing that helix scm's files seems richier 2023-03-26 15:32:32 yeah actually it is not something to fix 2023-03-26 15:32:40 for python for e.g. there are 6 files on helix package and only 2 in tree-sitters 2023-03-26 15:32:41 but what you can do is just.. change the version of tree-sitter-bash 2023-03-26 15:32:42 have fun 2023-03-26 15:32:45 Meli: they are symlinks in /etc/runlevels/* 2023-03-26 15:33:08 probably it doesn't properly auto ident because it doesn't have an indents.scm 2023-03-26 15:33:51 maybe a better solution is build the grammars for the helix package instead relying on the other 2023-03-26 15:34:10 Meli: so you disable them by removing the symlinks 2023-03-26 15:34:24 donoban: fundamentally it's not very packageable 2023-03-26 15:34:44 the whole tree sitter ecosystem is 50% repos that never tag anything, and also for some reason don't ship any queries or anything 2023-03-26 15:35:03 [donoban@localhost][~/helix/runtime]% du -sh grammars 2023-03-26 15:35:05 826.9M grammars 2023-03-26 15:35:05 so everything that uses tree-sitter relies on random git revisions and then also writes their own queries 2023-03-26 15:35:07 nice 2023-03-26 15:35:24 that's including the git checkouts 2023-03-26 15:35:56 hmm.. so maybe the tree-sitters package is just too old compared to helix? 2023-03-26 15:36:11 there is no tree sitters packge 2023-03-26 15:36:17 they're individual projects per language 2023-03-26 15:36:43 i already told you 50 times now it is specifically incompatible with the specific version of tree-sitter-bash and nothing more 2023-03-26 15:37:29 yes, I just didn't understand the root of the incompatiblity 2023-03-26 15:38:06 curiously the last commit on community/tree-sitter-bash was for 'for compatibility with latest nvim-treesitter' 2023-03-26 15:40:55 yep 2023-03-26 15:41:10 and it adds a query that was not there before and so it breaks the other 2023-03-26 15:41:11 fancy 2023-03-26 15:41:20 personally i just use helix master and don't think about it 2023-03-26 15:43:32 yeah it sounds the more reasonable solution :D 2023-03-26 15:46:57 lol, now I moved the builded ~/helix/runtime/grammars to /usr/share... but forgot that I moved the bash.so :D 2023-03-26 15:51:05 well, all fine now 2023-03-26 15:58:48 i wouldn't move it 2023-03-26 15:59:13 probably breaks other editors? 2023-03-26 15:59:50 ah no, is only used for helix 2023-03-26 16:00:07 just a little waste of space 2023-03-26 16:09:29 ikke: woohooo, in the end was the power supply not giving enough power, but I've removed `wpa_supplicant` form `/etc/runlevels/default/` and it worked :D 2023-03-26 16:10:02 Meli: nice 2023-03-26 16:10:42 thank you, it's an incredibly useful piece in information, especially in use cases where I build the images to flash :) 2023-03-26 16:46:31 with diskless, i assume all packages should be installed when done booting yeah? 2023-03-26 16:46:47 i think ive experienced some packages not being installed.. 2023-03-26 16:48:15 I don't use diskless setup since long ago, but i think that you can install most of things after booting, and if you save the lbu and have a cache dir on the same booting device, they were auto installed on next boot 2023-03-26 16:49:05 yeah, i think some packages are randonly left out 2023-03-26 16:55:25 maybe they try to write on some read-only path like /lib/modules 2023-03-26 16:55:54 but if they fail it should be noticed, you can try to run 'apk fix' after boot and see if it tries to reinstall something 2023-03-26 17:18:03 mhmhm 2023-03-26 19:12:41 Hello, I'm trying to do a fresh install of alpine but copy my home folder from a hard drive. I did the install, haven't moved my home folder yet, but I noticed I need to run doas for things that normally I shouldn't need to, like nnn. I also can't add flatpak repositories and am wondering if my permissions are wrong or something 2023-03-26 19:13:04 groups for my user: nick wheel audio input video netdev rtkit seat flatpak 2023-03-26 19:13:13 (nick is the username) 2023-03-26 19:13:48 what is nnn 2023-03-26 19:13:54 I tried running chown nick /home/nick && chmod 700 /home/nick but this did not change it 2023-03-26 19:14:02 nnn is a terminal file manager 2023-03-26 19:14:04 you normally need chown -R 2023-03-26 19:14:22 what do I do chown -R onto 2023-03-26 19:15:28 the home directory you already called it on above 2023-03-26 19:21:39 That fixed the nnn issue, I'll reboot to see if I can add a flatpak repo now. Thanks psykose! 2023-03-26 19:28:25 When I try to install a flatpak, I get the error that there is no directory for the repo /var/lib/flatpak/repo . I checked my home directory and there's no /var directory at all, but there is a ~/.local/share/flatpak/repo directory. I thought flatpaks went into /var , do I need to mkdir a /var myself? 2023-03-26 19:29:36 how do you check a home directory for /var 2023-03-26 19:29:42 Oh I just realized they didn't mean ~/var, they meant /var . I do have a /var/lib/flatpak , but there's no repo in it. Still not sure what to do, but that's more accurate 2023-03-26 19:29:49 yeah lol that wasn't right 2023-03-26 19:29:56 you could just delete /var/lib/flatpak i think 2023-03-26 19:30:03 and then maybe it works or not with --user 2023-03-26 19:30:08 and then maybe run some repair commands 2023-03-26 19:30:23 and then maybe mkdir -p /var/lib/flatpak/repo and run more repairs, etc 2023-03-26 19:30:35 i forget what is the correct directory to have to make it stop using the system flatpak dir 2023-03-26 19:30:43 I tried remote-add --user but I haven't tried the repairing and the mkdiring, thanks 2023-03-26 19:31:43 i do seem to have a repo but it's empty and flatpak commands default to --user for me 2023-03-26 19:31:49 and i have no clue what makes it so 2023-03-26 19:42:15 So when I ran the adding repo command with --user it added the repo to my .local/share/flatpak/repo , so when I ran the command to install flatpaks as --user then it worked. You were right psykose, the --user was key 2023-03-26 19:42:35 good to know :) 2023-03-26 19:42:53 i think if you fix up the system one too to just be init'd but empty default-user might work, but not that hard to type --user 2023-03-26 23:18:41 Hello, I can't remember how the hell are you supposed to turn off the 'suspend on lid close' on Alpine under lightdm 2023-03-26 23:20:05 Matter of fact, I can't even remember what made it do that in the first place 2023-03-26 23:20:14 another lappy I have doesn't do shit when the lid is closed 2023-03-26 23:20:20 which also run alpine 2023-03-26 23:41:07 acpid or elogind configs, depending on which one you use, eletrotupi 2023-03-26 23:42:25 I use lightdm, but it drops me on sway 2023-03-26 23:44:14 lightdm doesn't do that's it's either elogind or acpid 2023-03-26 23:44:44 right, both are listed as started on this box 2023-03-26 23:45:12 also, I've tried placing a blank script as mentioned by https://wiki.alpinelinux.org/wiki/Suspend_on_LID_close 2023-03-26 23:45:23 but it still suspend 2023-03-26 23:45:49 that's probably wrong if Alpine doesn't have some smart custom configs, they conflict 2023-03-26 23:46:08 right, but there's also zero docs 2023-03-26 23:46:12 disable acpid and keep using elogind, then it's one option in the config 2023-03-26 23:46:56 the config file should have a lot of comments and I doubt there is 0 documentation about logind which is used on almost every Linux desktop computer with systemd 2023-03-26 23:47:08 the file it shows doesn't exist (/etc/acpi/handler.sh) 2023-03-26 23:47:28 where's the configuration for elogin.d? 2023-03-26 23:47:42 most places I've looked tell it's under the /etc/systemd folder 2023-03-26 23:47:46 10 seconds of searching: https://man.voidlinux.org/logind.conf 2023-03-26 23:48:24 yeah, but none of these folders exists on Alpine, that's why I'm wondering 2023-03-26 23:48:37 also, you can just list the elogind package files and see where it is 2023-03-26 23:48:38 and it starts a service from libexec which isn't a script 2023-03-26 23:52:40 it seems like Alpine doesn't ship the example config file, but it should be easy to figure out with the manpage I linked 2023-03-26 23:54:34 yeah 2023-03-27 00:19:55 I tried to set up dual-booting by shrinking my alpine partition to make room for a pop-os install. I can boot into pop-os and use it no problem, but now when I try to boot into alpine again i get "mounting /dev/nvme0n1p3 on /sysroot failed: invalid argument. mounting root failed" and I am kicked into an initramfs emergency recovery shell 2023-03-27 00:21:05 I saw that there is a dualbooting page on the wiki, but it assumes you're trying to install alpine as the second machine. My install of alpine was booting ok, and other than the resize I didn't touch my boot or swap partitions 2023-03-27 00:21:35 I thought maybe it was my encryption on nvme0n1p3, but i unencrypted it and still the same error 2023-03-27 00:23:04 I checked the partitions again on the pop side and saw that the boot partition still has the esp and boot flags, and the swap is still labeled as swap. so I dont really know what is going on 2023-03-27 00:35:02 Quillith: BIOS or UEFI booting? 2023-03-27 00:35:07 Quillith: just to make sure, can you check that the nvme0n1p3 actually contains alpine and can be mounted correctly? 2023-03-27 00:35:27 ah, didn't notice the ESP mention, so its UEFI 2023-03-27 00:35:52 so the usual setup-disk install for UEFI do not setup EFI variables, it relies on "fallback" booting 2023-03-27 00:36:06 so you'll need to create EFI variables for Alpine 2023-03-27 00:36:36 I was in Alpine earlier, so it was booting before. What do you mean by creating variables? 2023-03-27 00:37:21 just then i made the second OS and either I boot into that or alpine now fails 2023-03-27 00:37:29 normally UEFI relies on each OS creating a EFI boot variable, and the BootOrder variable is set to order each of those (from preferred to least preferred) 2023-03-27 00:38:08 so yes I'm assuming Pop OS created a boot variable for itself and set BootOrder to refer to that 2023-03-27 00:38:28 Is that the list in my bios? I use that to say to boot into alpine because pop gave itself the number one spot 2023-03-27 00:38:36 so UEFI will boot that and if you access the UEFI boot menu you probably won't see Alpine as there's no variable for it 2023-03-27 00:38:45 in your UEFI you mean... 2023-03-27 00:39:32 No my bios boot menu, it isnt named Alpine but I can select the UEFI that brings me to the alpine boot. And I do see the text saying it is booting into the Alpine 2023-03-27 00:39:44 and you're using Grub as the bootloader for both Pop OS and Alpine? or is Pop OS using another bootloader? 2023-03-27 00:39:47 when it was encrypted it asked for the encryption password. Then when I provided it failed 2023-03-27 00:40:32 They don't share a bootloaoder I believe, thats why i need to use my bios to choose where I boot. Ill check what popos uses 2023-03-27 00:40:44 you shrank your Alpine LUKS partition to make room for PopOS? how? 2023-03-27 00:40:59 cfdisk 2023-03-27 00:41:11 without shrinking the fs inside first etc? 2023-03-27 00:42:04 not good.... 2023-03-27 00:42:04 Very few files in it relative to storage space, I left a hundred GiB as overhead to make sure they would not get squished 2023-03-27 00:42:22 you have ext4 (I assume) filesystem inside LUKS inside a partition 2023-03-27 00:42:29 yes 2023-03-27 00:42:36 so to shrink you should first resize ext4 2023-03-27 00:42:48 then resize LUKS (cryptsetuo resize) 2023-03-27 00:42:52 then resize the partition 2023-03-27 00:43:41 The resize must've worked because I was able to install a new os with room? 2023-03-27 00:44:13 I did the same thing on this pc I'm typing on, which is part of why I'm confused why mounting my root says invalid 2023-03-27 00:44:20 the resize of the partition worked yes, but that doesn't mean you haven't "damaged" either the ext4 or LUKS inside 2023-03-27 00:44:28 ahh 2023-03-27 00:44:55 growing is the opposite approach - you grow from outside->in, e.g. grow part, the grow LUKS, then grow fs 2023-03-27 00:45:42 Well I backed up everything to a harddrive first, so I'm not worried about the files. This is more a learning experience I think. I must've just gotten lucky this damage didn't happen to this pc when I did the same thing 2023-03-27 00:46:05 this is standard practice for growing/shrinking 2023-03-27 00:46:25 I believe you, and I appreciate you explaining 2023-03-27 00:46:52 but that's a separate issue from dual/multi booting with UEFI 2023-03-27 00:47:07 oh that isn't why it isn't mounting? 2023-03-27 00:47:16 install efibootmgr and run it - it will show the BootOrder and BootXXXX variables 2023-03-27 00:47:45 possibly LUKS is damaged, I don't know 2023-03-27 00:48:26 or possibly whatever way you're booting Alpine currently isn't passing correct cmdline settings 2023-03-27 00:49:54 Ok I ran it, it looks same to my bios boot. I looked it up and pop os uses systemd-boot. boot0 is pop, boot1 is uefi and boot2 is also uefi 2023-03-27 00:50:27 If the easiest answer here is to just wipe my drive and start again, but with the partitions all being sized at once, im okay with that if that's what i need to do 2023-03-27 00:50:35 with UEFI you either rely on it booting the first entry in BootOrder automatically and if you want to boot something else you use the UEFI boot menu, OR you rely on booting the bootloader of *ONE* of the OSes and configure that bootloader (e.g. Grub) to give you a menu to select which of the multiple OSes to then boot 2023-03-27 00:51:17 but as I said setup-disk does NOT set a EFI boot variable for Alpine, so you'd have to add one manually using efibootmgr 2023-03-27 00:51:44 well I'm okay with using my bios to pick which OS to boot, that works fine and isn't a bother 2023-03-27 00:51:59 Quillith: your UEFI, not BIOS, as I've already said before 2023-03-27 00:52:37 okay, so I go into my bios to use my UEFI then 2023-03-27 00:52:58 no, BIOS (on PCs) implies the old MBR way of booting 2023-03-27 00:53:23 the term BIOS has been "overloaded" with multiple meanings 2023-03-27 00:54:29 When my computer boots I press delete or F2 to get into a menu with lots of settings. One of those settings lets me pick my boot option and change boot order. That's what I've been using- and it works pretty okay. My main issue seems to be that I resized my drive improperly and that my drive won't mount 2023-03-27 00:55:03 modern PCs (and Arm servers) come with UEFI, some modern PCs in their UEFI have a CSM option which provides BIOS emulation 2023-03-27 00:57:28 Okay, thank you for explaining 2023-03-27 08:20:23 <_010> whats the function of profile in /etc 2023-03-27 08:21:10 it's where you can put your facebook credentials 2023-03-27 08:21:28 it's a place where environment variables can be set system-wide 2023-03-27 08:25:55 It's sourced by login shells 2023-03-27 08:27:12 <_010> @abby i setup startx from profile, sure it works. 2023-03-27 08:28:02 <_010> so that means startx is being sourced through login shell - tty1 2023-03-27 09:02:54 hey, is it possible for setup-alpine to print more info about the network interfaces when asking about configuration? I have a VM with two interfaces and it's difficult to work out which one it's asking me to configure 2023-03-27 09:03:06 I guess I can run ip addr before running the setup. 2023-03-27 09:17:22 unfortunately setup-alpine is getting the wrong nameserver and then failing because it can't find any repos 2023-03-27 09:17:57 ACTION uploaded an image: (27KiB) < https://matrix.org/_matrix/media/v3/download/matrix.org/fVJghEYeNhyajuixmwSpDklt/image.png > 2023-03-27 09:26:41 But you fill in one yourself? 2023-03-27 09:28:17 yeah, I think it's something to do with having two interfaces on Hyper-V. I'll drop one and retry 2023-03-27 09:31:06 nope, it can't resolve hostnames when connected to the "Default Switch" - similar to VMWare NAT 2023-03-27 09:48:47 disregard, host firewall problems. 2023-03-27 15:13:22 Interesting... I had a windows VM unable to boot this morning, I tried to load some snapshot, different kernels, scrub btrfs... and finally I tried to boot it with ide driver instead virtio 2023-03-27 15:14:12 it booted! and is coriously that performace seems better than virtio 2023-03-27 15:19:59 https://postimg.cc/0KCCj6GQ 2023-03-27 15:20:09 the worse was probably with xen 2023-03-27 15:20:38 anyway I wonder what could break this 2023-03-27 15:24:10 lol, the image looks weird 2023-03-27 15:25:11 ahh, disabled js 2023-03-27 15:52:25 hey all, I wrote a blog post about packaging on Alpine, feel free to give it a read: https://blog.orhun.dev/alpine-packaging-setup/ 2023-03-27 16:01:18 psykose: i need your help please. i'm having an issue with qemu and they tell me i need this updated magic 2023-03-27 16:01:20 https://github.com/qemu/qemu/blob/master/scripts/qemu-binfmt-conf.sh#L63 2023-03-27 16:01:24 how does alpine do this? 2023-03-27 16:02:22 you can install qemu-openrc (should be installed by default when you add qemu) and just do `service qemu-binfmt start 2023-03-27 16:02:25 hM.. another problem with qemu 2023-03-27 16:03:00 or make it always register on startup with `rc-update add qemu-binfmt` 2023-03-27 16:06:17 donaban: doesn't seem like a problem with qemu at all, just that binfmt config to *call* qemu-user when needed (for running MIPS binaries) is missing 2023-03-27 16:07:21 yeah, so they are saying it's outdated magic detection that needs updating 2023-03-27 16:07:46 just with this mips stuff. 2023-03-27 16:08:50 well, I wonder if my problem with the windows VM is some kind of regression but I don't see anything relevant on aports log 2023-03-27 16:09:19 if there is no hard disk or fileystem error is strange that old snapshots fail to boot 2023-03-27 16:12:28 ptrc: do you know which file in qemu-openrc corresponds to the magic detection? 2023-03-27 16:12:51 orhun: looks like a pretty reimplemta 2023-03-27 16:13:21 userdocs_: do you have the corresponding qemu- package also installed? 2023-03-27 16:13:40 reimplementation* of dabuild or rootbld but more accesible if you are not running alpine 2023-03-27 16:14:01 as in, if you want to run mips executables, you need to have qemu-mips installed alongside qemu-openrc 2023-03-27 16:14:17 and if you add any of them, you'd need to restart that qemu-binfmt service 2023-03-27 16:14:58 i'm using a docker image 2023-03-27 16:15:10 oh 2023-03-27 16:15:18 but i have the requirments installed. they say it's the wrong binfmt magic 2023-03-27 16:15:35 just install the qemu bits on the host then..? 2023-03-27 16:15:56 you can't really meddle with kernel stuff (which binfmt does) from inside the docker container, unless it's privileged 2023-03-27 16:17:41 ptrc: yeah, that will have to do it. it works 2023-03-27 16:17:51 but i was trying to do it in alpine 2023-03-27 16:18:04 i used this and it worked https://packages.ubuntu.com/lunar/amd64/binfmt-support/download 2023-03-27 16:20:18 but it must also mean alpine has the bugged detection magic. but i guess no one knows since it's for mips 2023-03-27 16:34:36 userdocs_: it's https://github.com/jirutka/qemu-openrc that has the magic 2023-03-27 16:34:56 https://github.com/jirutka/qemu-openrc/blob/master/qemu-binfmt.initd 2023-03-27 16:38:01 is that one different to this fixed line? https://github.com/qemu/qemu/blob/master/scripts/qemu-binfmt-conf.sh#L63 2023-03-27 16:38:07 i'm not sure how you convert that tbh 2023-03-27 16:39:20 i think ptrc knows 2023-03-27 16:39:23 so she could fix it 2023-03-27 16:40:05 userdocs_: do you have any mips executables? 2023-03-27 16:40:49 mips is like 32-bit big-endian isn't it 2023-03-27 16:40:50 i do, or docker toolchain and hello.cpp wil work 2023-03-27 16:41:07 i have both 2023-03-27 16:41:31 these are mips artifacts 2023-03-27 16:41:33 https://github.com/userdocs/qbittorrent-nox-static-test/suites/11822961124/artifacts/617604667 2023-03-27 16:41:34 https://github.com/userdocs/qbittorrent-nox-static-test/suites/11822961124/artifacts/617604689 2023-03-27 16:42:05 they will work fine if you do "qemu-mips binary" 2023-03-27 16:45:01 https://ptrc.gay/WLULfCtb 2023-03-27 16:45:02 no issues here 2023-03-27 16:45:08 qemu-binfmt works as expected 2023-03-27 16:46:42 it doesn't show anything probably because i have actual qbittorrent running in the background, but the executable format is getting recognized by the kernel and loaded properly with qemu-mips 2023-03-27 16:49:44 it's not supposed to 2023-03-27 16:50:18 not supposed to do what? 2023-03-27 16:50:25 it should do this 2023-03-27 16:50:27 https://bpa.st/JAAP6 2023-03-27 16:51:14 that would be a separate issue though 2023-03-27 16:51:26 https://ptrc.gay/JTcgrEzd 2023-03-27 16:51:40 this shows that qemu-binfmt works with mips executables as intended 2023-03-27 17:00:28 ptrc: it worked on wsl2 alpine but not a docker. but all other arches worked in the docker. 2023-03-27 17:01:01 no idea, but i'll assume it's docker thing and not test it there 2023-03-27 17:09:38 how would I find out the partuuid of a mbr partition on alpine? 2023-03-27 17:09:46 blkid? 2023-03-27 17:10:37 blkid gives a filesystem UUID 2023-03-27 17:11:02 I tried lsblk -o PARTUUID=/dev/sda2 2023-03-27 17:11:18 But the hex code doesn't match up with the disk signature 2023-03-27 17:11:55 Atleast I think it doesn't match up 2023-03-27 17:12:07 Running dd if=/dev/sda skip=440 bs=1 count=4 | hd to get signature 2023-03-27 17:24:26 apk add blkid; blkid 2023-03-27 17:24:31 busybox blkid doesn't give the 2023-03-27 18:23:25 userdocs_: binfmt runs on the host, not inside docker 2023-03-27 18:24:31 cockliuser[m]: as psykose pointed out PARTUUID is on of the things that Busybox blkid does not support, you need to install "full fat" blkid for that 2023-03-27 18:53:37 minimal: but if i don't have it on the host, and install it in the docker, it appears to work, except for mips. 2023-03-27 19:05:51 userdocs_: install what exactly in docker? binfmt is a kernel module so you don't/can't "install" it in docker, it loads into the kernel on the host 2023-03-27 19:06:59 do people generally set TZ (where?), or just rely on /etc/localtime? typically one might want to set TZ so that things that like to call check time don't do too much file i/o 2023-03-27 19:41:24 hi, how can i get kotlin on alpine? don't see anything in the standard repos 2023-03-27 19:43:07 ovf: that is a glibc thing 2023-03-27 19:43:14 there's no repeated file i/o for tz on musl 2023-03-27 19:44:57 mendelmaleh: you don't, or you can download kotlin-compiler from https://github.com/JetBrains/kotlin/releases/tag/v1.8.10https://github.com/JetBrains/kotlin/releases/tag/v1.8.10 and run it after adding bash and openjdk17-jdk or whatever java version it wants 2023-03-27 19:46:25 i guess i won't for now 2023-03-27 19:47:59 is there some documentation regarding creating/hosting a package repo? 2023-03-27 20:03:24 abuild automatically creates a repository when building packages 2023-03-27 20:03:53 so you point a static webserver to the locations the packages are moved (~/packages by default) and you have a repo 2023-03-27 20:07:11 then all you need to do is share the .pub key you used to put into /etc/apk/keys/ 2023-03-27 20:07:24 you can also allow make that easier by putting that .pub key into a package 2023-03-27 20:07:27 like yourrepo-keys 2023-03-27 20:07:32 that already has it in /etc/apk/keys 2023-03-27 20:07:42 then someone can apk add --allow-untrusted yourrepo-keys once 2023-03-27 20:07:57 whether they consider that safe or want some other method of getting the .pub is up to them :p 2023-03-27 20:08:47 and since you might fall into the obvious trap, apkv2 format requires the .pub key file to have the same filename on disk (in /etc/apk/keys) as the non-.pub you're signing with 2023-03-27 20:08:52 v3 lifted that one 2023-03-27 22:21:17 psykose: so on musl, either everything keeps using whatever was in /etc/localtime, or has to call tzset() explicitly 2023-03-27 22:21:34 yes, timezone won't update during runtime 2023-03-27 22:22:10 i was momentarily confused because whatever i'm using for drawing time in my wm tracks /etc/localtime, but surely enough it does that by calling tzset() every second 2023-03-27 22:22:42 sounds.. mildly wasteful? :p 2023-03-27 22:23:23 sure, but what are the alternatives? inotify? 2023-03-28 10:38:44 does anyone by any chance have a 88x31 web button of Alpine Linux? 2023-03-28 10:39:30 Not having anything lying around 2023-03-28 11:36:53 <_010> chrome uses extreme cpu power and fan speed ? what are the possible reasons? 2023-03-28 11:37:20 bad programming 2023-03-28 11:38:27 <_010> @lopid started chrome with JS disabled 2023-03-28 11:38:56 <_010> theres no excessive cpu usage or fan speed 2023-03-28 11:40:06 <_010> manipulated the chrome flag - chrome://flags/#enable-javascript-experimental-shared-memory 2023-03-28 11:40:53 <_010> now cpu power consumption and fan speed is much reduced. 2023-03-28 11:41:29 <_010> disabled chrome://flags/#enable-javascript-experimental-shared-memory 2023-03-28 11:45:56 <_010> Enable the high efficiency mode feature in the chrome flag settings 2023-03-28 11:46:45 <_010> that reduces power consumption further as seen in atop. 2023-03-28 11:47:09 <_010> any further ideas? 2023-03-28 11:47:55 <_010> apart from chromium, ff and qutebrowser, is there any other browser ?? 2023-03-28 11:49:30 _010: it is bloated 2023-03-28 11:49:35 <_010> can wecompile iceraven for alpine 2023-03-28 11:50:12 <_010> i agree it is definitely bloated 2023-03-28 11:51:07 that literally says "for android" :p 2023-03-28 11:51:34 <_010> iceraven or opera or opera based 2023-03-28 11:52:02 <_010> yes its for android but backed by ff engine. 2023-03-28 11:53:02 <_010> i am initiating a github project for iceraven or opera backed browsers 2023-03-28 11:53:33 use ff 2023-03-28 11:53:53 note that opera is just chromium these days 2023-03-28 11:58:48 <_010> https://github.com/IntelligenceInside/alpine_browsers 2023-03-28 12:04:33 I use librewolf in flatpak and have a n i5-3320M and I dont see high cpu usage or fan noise 2023-03-28 12:05:44 what cpu do you have? cause if its something too weak then I would say too bad, modern web has its consequences, bloated webbrowsers being one of them 2023-03-28 12:05:58 if its just a chrome issue then try ff 2023-03-28 13:02:02 use "surf" in a pinch perhaps? I use it even on a normal desktop for dashboards and such 2023-03-28 13:06:53 there's also Gnome Web aka epiphany 2023-03-28 14:06:19 yesterday in the Libera alpine-channel someone said "can't apk add Microsoft-edge" and asked for help lol 2023-03-28 14:14:10 unfortunately there's a Flatpak for Edge... 2023-03-28 14:25:42 so when you run Microsoft Edge on Alpine Edge then you're really living life on the edge? ;-) 2023-03-28 14:28:43 or gone over it :) 2023-03-28 14:34:32 "so when you run Microsoft Edge..." <- only if you are currently edging 2023-03-28 14:38:32 cp /usr/share/applications/chromium.desktop /usr/share/applications/edge.desktop; sed -i 's/Chromium/Microsoft Edge/' /usr/share/applications/edge.desktop 2023-03-28 14:38:42 now you're running Edge 2023-03-28 14:39:01 forgot the icon 2023-03-28 14:39:18 add a user agent switcher for flavor 2023-03-28 14:39:33 More than I wanted to type :) 2023-03-28 14:40:44 kwadroke[m]: but if it doesn't get updated every 2nd Tuesday in the month then it's not really Microsoft Edge ;-) 2023-03-28 14:40:53 lol 2023-03-28 14:41:19 lovely Patch Tuesday 2023-03-28 14:51:33 So upgrading linux-edge did not generate a new initfs 2023-03-28 14:52:13 I asked a while back how to automate this and somebody mentioned it should be automatic, but it's not. 2023-03-28 14:52:33 WhyNotHugo: the mkinitfs package has a trigger on /boot directory (from memory) 2023-03-28 14:52:53 so as the linux-edge package updated the kernel file in /boot then the trigger should automatically run 2023-03-28 14:53:28 ah, the trigger is on /usr/share/kernel/*, not /boot 2023-03-28 14:53:52 Huh. /etc/mkinitfs/mkinitfs.conf has a disable_trigger=yes 2023-03-28 14:54:00 (found the config file via the trigger you mentioend) 2023-03-28 14:54:13 wonder who put that there 2023-03-28 14:54:19 Same 2023-03-28 14:54:22 *mangled garfield meme* 2023-03-28 14:54:35 do you have something like Secure UEFI enabled? 2023-03-28 14:54:46 I had UKI-based boot until it broke a while ago. 2023-03-28 14:54:55 So the initfs was useless in my initial setup. 2023-03-28 14:55:22 WhyNotHugo: right, I think one of the packages relating to Secure UEFI and/or UKI disabled the mkinitfs trigger 2023-03-28 14:55:41 Yeah, that would make sense. 2023-03-28 14:55:55 I keep thinking that I need to write my own UEFI stub loader that loads the kernel like gummiboot's stub. How hard could it be? 2023-03-28 14:56:53 WhyNotHugo: package secureboot-hook disabled mkinitfs trigger in its post-install 2023-03-28 14:57:19 Oh, so it really WASN'T me. 2023-03-28 15:00:16 that is because instead the secureboot-hook package (re)creates the initramfs via its secureboot.hook running mkinitfs instead 2023-03-28 15:00:49 so when you removed/disabled the secureboot stuff its hook stopped being called, but also the mkinitfs trigger was not reinstated... 2023-03-28 15:02:29 WhyNotHugo: why would you want to write yuor own STUB? Also I recently packaged stubbyboot as a more modern version of Gummiboot (I have a locally modified version of the efi-mkuki package to handle stubbyboot instead of gummiboot 2023-03-28 15:04:16 minimal: Does stubbyboot work without HANDOVER? https://github.com/puzzleos/stubby/issues/29 2023-03-28 15:04:54 WhyNotHugo: you're pointed me at the PR *I* raised ;-) 2023-03-28 15:05:40 That's why I'd want my own stub -- none of the existing ones work. 2023-03-28 15:05:44 also the aports Issue I raised to have handover enabled in linux-edge has seen no feedback :-( 2023-03-28 15:06:05 Enabling it in edge is only a short-term solution; it'll be dropped upstream anyway. 2023-03-28 15:06:58 WhyNotHugo: stubbyboot is basically the STUB from systemd-boot extracted. I assume systemd-boot supports working without handover and so I'd hoped the stubby people would look at copying that support across 2023-03-28 15:07:49 someone else recently reports Syslinux EFI requires handover also 2023-03-28 15:09:09 I'm not a fan of extracting from systemd-boot because somebody then needs to update that code every time it changes upstream, and that's not really something I'd sign up for. 2023-03-28 15:09:22 If somebody else does it, I'm happy to use their work, but wouldn't take the approach myself. 2023-03-28 15:10:52 right, that's why I thought/hoped stubbyboot was a better option than gummiboot as it was seeing (some) development 2023-03-28 15:11:11 is there something fancy in a stub aside from just being any efi bootloader? i'd imagine grub-efi works as a stub for that 2023-03-28 15:12:00 psykose: grub-efi is a full program (i.e. AFAIK it is grub with its own STUB "welded" into it) 2023-03-28 15:12:16 Nope, it's basically a UEFI application that loads an ELF binary and executes it (plus passing around cmdline). 2023-03-28 15:12:34 (Nope, there is nothing fancy about it) 2023-03-28 15:12:57 if you run grub-install on a UEFI system with debug/verbose enabled it will log its action assembling the GRUBX64.EFI file from components 2023-03-28 15:13:38 Note that gummiboot (and its children) are two parts: the bootloader itself and the stub. Only the stub is broken. 2023-03-28 15:14:53 A related PR for systemd-boot: https://github.com/systemd/systemd/pull/25126 2023-03-28 15:19:45 WhyNotHugo: yes another EFISTUB would be good but I assume it is not a simple undertaking (i.e. requires reading and understanding a lot of the UEFI spec) 2023-03-28 15:25:35 Yeah, I have a thing for understatements. But there's also a lot of libraries for the lower level bits already. 2023-03-28 15:26:17 if the 'lot of libraries' is 'gnu-efi' got some bad news for you on the supposed quality i hear about in that one :p 2023-03-28 15:26:52 this does look like a start from someone that was fed up though https://github.com/limine-bootloader/limine-efi 2023-03-28 15:26:56 is there a regex for (all the symbols in) 7bit ascii? 2023-03-28 15:27:46 "[\\x00-\\x7F]+" 2023-03-28 15:27:49 escaped slashes 2023-03-28 15:27:57 it's just a byte range, shrug 2023-03-28 15:30:23 psykose: sweet! 2023-03-28 15:30:43 (i googled it so when this crashes your production don't blame me) 2023-03-28 15:31:44 psykose: No, I had this one in sight: https://crates.io/crates/uefi 2023-03-28 15:41:00 WhyNotHugo: I'd welcome a maintained UEFISTUB so if you're volunteering to create/assemble that then that's great news ;-) 2023-03-28 15:41:43 I assume most other distros are using systemd-boot for that 2023-03-28 15:42:46 so we're in a similar situation with gummiboot/stubbyboot vs systemd-boot as the recent discussion in this channel regarding eudev vs systemd-udev 2023-03-28 15:43:35 or was that discussion in alpine-devel? I don't remember 2023-03-28 15:43:57 it was 2023-03-28 15:44:55 the "joys" of being a non-systemd distro eh? lol 2023-03-28 15:48:20 if it was up to me i would have fixed it already 2023-03-28 15:48:44 psykose: fixed what already? 2023-03-28 15:48:49 systemd-udev :p 2023-03-28 15:49:29 2023-03-28 16:10:36 systemd-boot is actually moving away from gnu-efi in the next release, for their own headers 2023-03-28 16:11:20 https://github.com/systemd/systemd/commit/5080a60a719da213fa90964b76cc90bd0d1cb8de 2023-03-28 16:12:24 looks ok 2023-03-28 16:20:48 Is gnu-efi bad for some reason? 2023-03-28 16:21:59 it's got gnu code-smell 2023-03-28 16:22:01 idk 2023-03-28 16:45:37 I've installed tinysshd. When I poweroff the system from ssh session, the session hangs. Seems like network gets down before ssh session terminates gracefully 2023-03-28 16:49:44 it forks per connection so there's nothing that kills the forks before net goes down 2023-03-28 16:49:58 I guess it is possible to copy stop_post from openssh init.d 2023-03-28 16:50:37 One moment... 2023-03-28 16:51:57 looks ok since it's shutdown gated 2023-03-28 16:57:31 Done 2023-03-28 17:04:22 Hmm, seems like issue reproduces only on reboot, not at poweroff 2023-03-28 17:05:09 is RC_RUNLEVEL the same for both? 2023-03-28 17:14:28 Idk, but I guess RC_GOINGDOWN should be the same (this is what networking script uses) 2023-03-28 17:20:25 psykose: openrc-run manpage says reboot runlevle is mapped to shutdown runlevel 2023-03-28 17:20:31 ty 2023-03-28 17:20:54 if need to distinguised there is RC_REBOOT variable 2023-03-28 17:21:22 should be identical handling 2023-03-28 17:21:45 whereas RC_GOINGDOWN is "the system is going into single user mode or shutting down" 2023-03-28 17:22:27 minimal: so RC_GOINGDOWN is yes or no when rebooting? 2023-03-28 17:23:07 Ermine: the manpage doesn't say, only that it is YES when going into single user mode or shutting down ;-) 2023-03-28 17:23:36 shutdown is fine 2023-03-28 17:24:36 YES, as experiment shows 2023-03-28 17:25:17 ACTION shrugs 2023-03-28 18:13:19 someone here asked for an Alpine Linux web button. This is what I came up with :P https://imgur.com/a/1Bo6kNp 2023-03-28 18:18:30 cute 2023-03-28 18:18:31 ikke: shouldn't it come with a sign saying "Do not press this button!" ;-) 2023-03-28 18:19:17 probably :) 2023-03-28 18:19:48 so perhaps "Press here for minimal effect" ;-) 2023-03-28 18:20:52 I've added another version 2023-03-28 18:26:13 is it for netscape? 2023-03-28 18:29:05 xset -dpms doesnt work to keep the screen awake? 2023-03-28 18:30:41 you can try `xset dpms 0 0 0` too, but if it doesn't work either something is broken or your monitor doesn't care 2023-03-28 18:33:26 userdocs_: who knows 2023-03-28 18:35:47 psykose: okoko 2023-03-28 18:36:36 psykose: and what to reactivate power saving? 2023-03-28 18:36:54 the 0 0 0 corresponds to some timeouts 2023-03-28 18:36:57 look it up :p 2023-03-28 18:37:03 first check if it works at all tho 2023-03-28 18:37:16 personally i just turnt it off in my monitor settings entirely? 2023-03-28 18:37:20 ohhh 2023-03-28 18:37:27 if i want to turn off my display i just do it by hand 2023-03-28 18:37:56 monitor setting? like on the monitor? 2023-03-28 18:38:16 default is 600 600 600 on my system 2023-03-28 18:39:02 frag: ye 2023-03-28 18:41:15 https://cyber.dabamos.de/88x31/ 2023-03-28 18:41:25 yes, I had that page open 2023-03-28 18:42:12 i don't know what a web button is in this context. is it meant to be in that style? 2023-03-28 18:42:28 i saw some arch one's https://imgur.com/a/Dxcr1Hy 2023-03-28 18:46:21 userdocs_: Apparently there was 'The Internel Link Exchange' that featured them 2023-03-28 18:50:36 they're just 88x31 art 2023-03-28 18:50:41 indeed from the old days 2023-03-28 18:50:45 but it's a style thing :p 2023-03-28 18:51:27 Yeah, like neocities still being a thing 2023-03-28 18:52:01 people fit some really cool stuff in so few pixels 2023-03-28 18:52:17 yup, not me though 2023-03-28 18:54:28 i really like https://i.imgur.com/gtttcMW.png though 2023-03-28 18:54:40 it's small and to the point :p 2023-03-28 18:54:50 just the font needs a small touch, but i don't know quite what 2023-03-28 18:55:05 the black needs to be more visible and the white a bit less 'plain' 2023-03-28 18:56:21 It's difficult to make such a small font readable 2023-03-28 18:56:28 yeah 2023-03-28 18:56:57 Lot's of anti-aliasing going on 2023-03-28 19:09:55 https://i.imgur.com/K3nT23R.png 2023-03-28 19:10:21 Problem is black on blue 2023-03-28 19:10:30 Not the best contrast 2023-03-28 19:10:36 yeah 2023-03-28 19:10:47 The Alpine Linux is cool like that though 2023-03-28 19:13:17 :3 2023-03-28 19:24:10 i used noto sans for one and it works decently 2023-03-28 19:25:01 https://raw.githubusercontent.com/classabbyamp/classabbyamp/main/button.gif 2023-03-28 19:25:30 Font is fine, it's more a color thing 2023-03-28 19:25:59 quinq: Any color (except white) that would work better? 2023-03-28 19:26:05 I have a red one already 2023-03-28 19:27:27 Not sure, I'm not really a graphical expert ^^ 2023-03-28 19:27:43 Me neither 2023-03-28 19:27:59 Doesn't stop me from trying though 2023-03-28 19:28:03 Maybe some dark red yeah 2023-03-28 19:28:09 jaja, that's the spirit :) 2023-03-28 19:33:59 so has anyone found the alpine web button? :^) 2023-03-28 19:34:28 :D 2023-03-28 19:35:11 ty3r0x: Feel free to use it if you like it :) 2023-03-28 19:37:01 ikke: very cool 2023-03-28 19:56:23 What about this: https://i.imgur.com/oKHGSwp.png 2023-03-28 20:06:36 small, simp, ecure 2023-03-28 20:08:13 does it need that? i think it works without that top text 2023-03-28 20:09:18 https://i.imgur.com/HGhCDni.png 2023-03-28 20:10:41 Maybe there could be a small yeti on top of the mountain 2023-03-28 20:11:11 i think it looks good just like that. 2023-03-28 20:11:24 but +1 for a yeti 2023-03-28 20:11:28 ^^ 2023-03-28 20:12:30 If someone can draw a 4-8 pixel yeti, feel free :P 2023-03-28 20:21:11 ikke, https://i.ibb.co/17zv3c4/HGhCDni.png 2023-03-28 20:21:34 heh 2023-03-28 20:24:20 the elusive European yeti 2023-03-28 20:36:51 how do you like my spin https://a.uguu.se/tWGNaOBx.png (light) https://a.uguu.se/OiwcdDaV.png (dark) 2023-03-28 20:38:29 handlerug: nice 2023-03-28 20:38:29 seems like running out of disk space may have messed up my dns 2023-03-28 20:38:39 for example: ping: bad address 'mx.sdf.org' 2023-03-28 20:38:51 can't resolve anything in fact 2023-03-28 20:38:59 bleb: what's in /etc/resolv.conf 2023-03-28 20:39:05 it's empty 2023-03-28 20:39:16 well, that explains 2023-03-28 20:39:28 well how do I make it like it was before 2023-03-28 20:39:51 If you use dhcp, probably by restarting the network service 2023-03-28 20:40:22 hmm what's it calle 2023-03-28 20:40:27 ls /etc/init.d/|grep -i dhcp -> nothing 2023-03-28 20:40:32 rc-service networking restart 2023-03-28 20:41:36 cool 2023-03-28 20:41:42 that seems to have worked, thanks! 2023-03-28 20:42:03 handlerug: those are cool but i feel the more pixel-font fits better 2023-03-28 20:42:15 yeah… 2023-03-28 20:42:16 for a bonus mix the pixel on alpine and the current on 'linux' 2023-03-28 20:42:17 :p 2023-03-28 20:43:55 I also tried to keep the Alpine Linux color scheme 2023-03-28 20:45:45 psykose: wdym 2023-03-28 20:45:49 ueaj 2023-03-28 20:46:20 what did you mean 2023-03-28 20:46:45 yes 2023-03-28 21:10:53 is this better https://a.uguu.se/vdkzcCni.png 2023-03-28 21:13:35 pog 2023-03-28 21:16:17 hm I can probably make an animated gif version with the tagline 2023-03-28 21:16:45 it's going to be a pain though 2023-03-28 21:17:32 krita's animation features are decent for it 2023-03-28 21:17:51 my version is in vector 2023-03-28 21:17:56 but I'll see 2023-03-28 21:18:02 krita can do vector 2023-03-28 21:18:54 vectors r cool 2023-03-28 21:22:31 I do oldskool pixel 2023-03-28 21:42:37 https://a.uguu.se/oxMwAkeC.gif 2023-03-28 21:45:30 now that's an animation 2023-03-28 21:45:52 award winning motion design 2023-03-28 21:54:40 https://i.imgur.com/zA4Gb33.png 2023-03-28 21:56:56 needs more pine scent 2023-03-28 21:59:32 scratch and sniff 2023-03-29 04:40:19 Why does setup-disk ignore the disk alpine's on/a usbdisk? 2023-03-29 04:40:46 * Why does setup-disk ignore the disk alpine booting from (a usbdisk)? 2023-03-29 04:48:55 usb boot is controlled by BIOS 2023-03-29 04:56:01 setup-disk will not use disks that have mounted partitions on it 2023-03-29 06:43:46 I'm wondering 2023-03-29 06:44:17 Why the default netlify cdn mirrors by default are not set to use HTTPS? 2023-03-29 06:44:30 Is it by design or is it going to be fixed? 2023-03-29 06:46:37 You mean fastly! 2023-03-29 06:46:42 ? 2023-03-29 07:21:29 yup 2023-03-29 07:28:26 It's something we need to add support for in the setup scripts (I assume that by default it will add the mirrors with http) 2023-03-29 07:28:46 there's no security issues with using http 2023-03-29 07:29:10 while there could be privacy issues, most people don't really care 2023-03-29 07:39:17 I only care if there are compulsory http->https redirects. Defeats having a local caching proxy when you upgrade n machines. 2023-03-29 08:15:29 well alpine is, alongside qubes, whonix and openbsd one of the top picks for people wanting high level of security and privacy from their machines, so this kinda surprised me, but yeah, if you run it behind some 'cloud' provider's firewall the security is already kind of improved and at the same time your privacy is moot x) 2023-03-29 08:18:02 novorol[m]: the only thing you check using https are the keys (or for openbsd the sha256 of the original image). For anything else, http is better (see also a discussion on the openbsd mailing lists a couple of years ago) 2023-03-29 09:42:29 hi, i have some custom pkgs on one machine, and i would like to add it as a repo on another. i set up ftp and added it to /etc/apk/repositories, but i get an "untrusted signature" error. how can i make it trust it? i think it's already in /etc/apk/keys 2023-03-29 09:55:05 Make sure the keyname matches the name as it was signed with 2023-03-29 09:55:12 (filename) 2023-03-29 09:56:01 yeah, it was very similar so i missed it, now it works 2023-03-29 10:58:22 i find myself in a similar situation to https://git.alpinelinux.org/aports/tree/testing/sauerbraten/sdl2_directfb_build_fix.patch (in my case, it's some project that ships its own pile of cmake code to 'find' sdl2 instead of using pkg-config). basically, sdl2 in alpine requires -I/usr/include/directfb. what's a good way to fight cmake? 2023-03-29 11:48:48 hello all! 2023-03-29 11:50:36 i have weird situation, my box have enabled swap but after hiberantion it power on normally not waking, and i need to create swap partiton again. can anyone tell me where to look for issue? 2023-03-29 12:00:15 hello, i'm in the proccess of installing alpine linux on my orangepi-pc and i just got through https://wiki.alpinelinux.org/wiki/DIY_Fully_working_Alpine_Linux_for_Allwinner_and_Other_ARM_SOCs 2023-03-29 12:02:20 If I'm the maintainer of a package, how do I get new updates to the latest stable release or older releases? Just create a PR to the x.x-stable branch? 2023-03-29 12:02:44 now i have extracted apkgs/armv7 to root, is that right? Do i need to configure everything myself now? I dont have a display for the device so i've been mounting the sd-card on my x86_64 computer. is there any wiki page that i should follow after the link i sent? 2023-03-29 12:15:40 crapStone[m]: yes 2023-03-29 12:36:18 i mean... ping 2023-03-29 13:56:49 intresting, if i have 2 net cards, alpine always boot into eth1, i have to use ip=dhcp:::::eth0 2023-03-29 13:57:07 i mean alpine netboot. 2023-03-29 13:57:51 the eth1 is a dummy card, i don't know why the vps provider setup this card 2023-03-29 13:58:46 or if i don't change ip= , i have to use BOOTIF=xx:xx:xx:xx:xx:xx arg 2023-03-29 14:08:45 uniqNuuid: how are you netbooting? via PXE/iPXE? 2023-03-29 14:09:03 yeah, ipxe 2023-03-29 14:09:20 could iPXE be selecting this card then? 2023-03-29 14:10:11 it does not matter what iPXE selects. it is the alpine init that failed to find eth0 as the first card 2023-03-29 14:12:04 basycally, in ipxe shell (netbootxyz for instance) : 1) set cmdline ip=dhcp:::::eth0 2) chain -a https://0x0.st/HodG.txt 2023-03-29 14:12:24 I was wondering whether iPXE and the kernel find the 2 cards is opposite orders - i.e. iPXE picks 1 card as the "first" network device and uses it but but then after handing off to the kernel the kernel discovers the same interface as the 2nd ethernet device 2023-03-29 14:12:37 this ip= will overwrite the default ip= in alpine. 2023-03-29 14:13:11 iPXE finds 2 card, but it uses the card that has a real ip addr 2023-03-29 14:13:35 alpine init find one and stop finding, it does not card if the ip is a private or what. 2023-03-29 14:13:53 begin with 169.xx.x.x 2023-03-29 14:14:19 s/does not card/does not matter/ 2023-03-29 14:15:43 so, when the ip is not able to connect to internet, alpine fails to download modloop, then throw a sh shell.... there is nothing it can do 2023-03-29 14:15:49 uniqNuuid: you're looked at this? https://gitlab.alpinelinux.org/alpine/mkinitfs/-/blob/master/initramfs-init.in#L130 2023-03-29 14:16:07 yeah, i did 2023-03-29 14:16:16 i said : or if i don't change ip= , i have to use BOOTIF=xx:xx:xx:xx:xx:xx arg 2023-03-29 14:16:58 so have you determined why that code doesn't choose eth0? 2023-03-29 14:17:24 it is L137 2023-03-29 14:19:25 I'm guessing it is because eth0's operstate is not "up" 2023-03-29 14:19:37 maybe 2023-03-29 14:20:15 i did not know what the status was after L137, when booting alpine 2023-03-29 14:20:38 whereas when you specify either "ip=dhcp:::::eth0" or "BOOTIF=xx:xx:xx:xx:xx:xx" you are overriding the operstate check 2023-03-29 14:21:04 s/overriding/bypassing/ 2023-03-29 14:21:20 so according to the code, there are 2 methods to manual select ethernet card : BOOTIF=eth0_MAC or ip=dhcp:::::eth0 2023-03-29 14:21:45 yes, that's what I just said 2023-03-29 14:22:02 yeah, that's what i did. after looking at the code 2023-03-29 14:22:45 so the question is why eth0's operstate is aparently not "up" after it has already been used by iPXE to get a DHCP address 2023-03-29 14:23:31 do y'all know of cloning an alpine os into an .img or .iso? like how TinyCore, antiX, Tails can iirc 2023-03-29 14:28:24 minimal: that is how it is interesting 2023-03-29 14:29:18 uniqNuuid: time to add some "debugging" code to your initramfs-init file to check operstate? ;-) 2023-03-29 14:30:24 uuiqNuuid: I don't see either a "dhcp" or "ifconf" in your iPXE script 2023-03-29 14:31:04 the file is in initramfs-lts.. 2023-03-29 14:31:21 minimal: you see ${cmdline} ? 2023-03-29 14:32:16 minimal: oh you mean dhcp from iPXE? it is done already by netbootxyz.efi 2023-03-29 14:32:39 so i just enter it's ipxe shell and chain my script 2023-03-29 14:33:27 i can manually run dhcp in ipxe shell too, that's flexible, i don't need to hardcode it to my script 2023-03-29 14:33:42 uniqNuuid: Hmm, iPXE normally would leave up an interface it used for DHCP 2023-03-29 14:34:08 what do you mean leave up 2023-03-29 14:34:12 but you're saying that iPXE doesn't do the PXE but rather netbootxyz.efi does it? 2023-03-29 14:35:12 uniqNuuid: the equivalent of doing "ip link set eth0 up" rather than "ip link set eth0 down" 2023-03-29 14:35:23 minimal: i launch netbootxyz via 2 methods : 1) UEFI SHELL fs0:/netbootxyz.efi 2) grub : chainload /netbootxyz.efi 2023-03-29 14:36:07 uniqNuuid: so where's iPXE in either of those? is it run by netbootxyz.efi? 2023-03-29 14:36:08 and after that, netbootxyz gives a menu. 2023-03-29 14:36:34 or is netbootxyz.efi a modified version of iPXE's EFI code? 2023-03-29 14:36:44 the menu has lots of stuff, like boot a livecd. boot a netinstall of many distro. and an `ipxe shell` entrance 2023-03-29 14:37:40 i could also compile from ipxe.org 2023-03-29 14:38:02 but i haven't done that yet . 2023-03-29 14:38:22 I'm not familiar with the netbootxyz stuff at all 2023-03-29 14:38:50 anyway try adding debug stuff to the initramfs' init to confirm if operstate is the issue 2023-03-29 14:39:05 assuming so then you can focus on why 2023-03-29 14:39:07 it is a ipxe with custom menus... it is basically a ipxe binary 2023-03-29 14:39:53 minimal: how can i add debug? the file is in initramfs-lts, it is on alpine's server 2023-03-29 14:40:16 initrd ${url}/initramfs-lts 2023-03-29 14:41:03 ohh, debug_init 2023-03-29 14:41:54 ok, that can be added to cmdline, but then can i see it when i got thrown into a sh shell after failing to download modloop? 2023-03-29 14:42:30 debug_init enables set -x 2023-03-29 14:43:02 the console does not scroll ... pageup/down not working i guess 2023-03-29 14:43:50 ah yeah, that's a problem. Am used to modifying initramfs's for disk (Sys) mode installs to debug stuff 2023-03-29 14:44:12 yeah the output will scroll past 2023-03-29 14:44:36 when you do end up in a shell what does "ip link" show for the interfaces state? 2023-03-29 14:45:10 let me try 2023-03-29 14:51:05 minimal: https://0x0.st/HonB.png 2023-03-29 14:51:11 emergency shell : ip a 2023-03-29 14:51:29 it is down 2023-03-29 14:53:19 why is it down? 2023-03-29 14:54:21 and if i add BOOTIF= , it is not down. 2023-03-29 14:56:35 I assume it is down because netbootxyz.efi brought it down after doing DHCP 2023-03-29 14:56:55 according to its docs iPXE does *not* bring it down afterwards 2023-03-29 15:07:32 i think the kernel broght it down 2023-03-29 15:08:18 but when you have a bootarg like ip= or BOOTIF= , the kernel tries to brought it up 2023-03-29 15:10:46 https://docs.kernel.org/networking/operstates.html 2023-03-29 15:10:51 worth reading 2023-03-29 15:27:56 uniqNuuid: the bottom of that page says: "A routing daemon or dhcp client just needs to care for IFF_RUNNING or waiting for operstate to go IF_OPER_UP/IF_OPER_UNKNOWN before considering the interface / querying a DHCP address." 2023-03-29 15:28:36 which maps to the initramfs' init checking for operstate=up 2023-03-29 15:29:00 i think it should check ethx/carrier 2023-03-29 15:29:17 carrier is 0 , there is no hope 2023-03-29 15:29:35 carrier is 1, then we can ip link set eth0 up before dhcp 2023-03-29 15:30:10 query ethx/operstate is not stable 2023-03-29 15:30:32 you're saying carrier is 0 though so there's still an issue... 2023-03-29 15:31:09 carrier is 0 means cable physically unpluged 2023-03-29 15:31:20 indeed 2023-03-29 15:31:42 as long as it is 1, there is hope to bring it up and do dhcp 2023-03-29 16:00:13 thank you! ncopa 2023-03-29 16:02:31 uniqNuuid: you are welcome! not sure for what, but you are welcome anyway :) 2023-03-29 16:03:13 ncopa: for -virt netboot on aarch64 release on edge 2023-03-29 16:05:18 ah. yeah, that was a great idea. good catch! thanks! 2023-03-29 16:05:55 I'd like to work on that myself at some point. would be nice to have official documentation how to use it 2023-03-29 16:06:33 i could contribute on netboot from ipxe 2023-03-29 16:06:58 anyone know of taking a running alpine system and making an .img or .iso of it? 2023-03-29 16:08:02 have yet to try clonezilla or even dd'ing with zeroes trimmed 2023-03-29 16:08:51 but as always, something more might already exist if asking abt it :D 2023-03-29 16:09:26 goal is a customized liveOS 2023-03-29 16:10:41 bootloader isn't necessary to fiddle with since i've found ventoy 2023-03-29 16:16:34 SmthSweethinher[m]: "taking a running alpine system and making an .img of it?" - boot off an ISO/USB stick and then "dd if=/dev/sda of=alpine.img"? (replace "sda" with relevant device name) 2023-03-29 16:32:09 "SmthSweet (hin/her): "taking a..." <- yes, it does however clone the spaces too right? 2023-03-29 16:32:45 so if it's installed to say a big partition several GB on a HDD... 2023-03-29 16:35:02 have yet to find how to exactly trim the unused space. (only theoretical knowledge for me rn, not going head first today.) 2023-03-29 16:35:04 right, it makes an (exact) image 2023-03-29 16:35:41 yea 2023-03-29 16:36:07 making an ISO is something different as you may have to make changes for it to work via ISO booting 2023-03-29 16:36:26 I also assume you are talking about Alpine in Sys (disk-install) mode 2023-03-29 16:36:39 yes 2023-03-29 16:37:39 e.g. if your machine is booting off NVME and you want to make an ISO then you'll likely have to modify the initramfs contents etc 2023-03-29 16:37:57 add an ISO bootloader etc 2023-03-29 16:38:15 a fresh disk install of latest v., customized confs and apps installed, then exported to use as a liveOS 2023-03-29 16:39:39 which is different than simply making an image of an existing install 2023-03-29 16:39:51 minimal: hope to get off without bootloader effort for now, by putting the liveOS on a storage managed by ventoy 2023-03-29 16:40:48 (a modified tinycore os to boot into anything on it, or partitions found on connected storages) 2023-03-29 16:41:13 minimal: it is?? 2023-03-29 16:42:56 yes, making an image and perhaps shrinking its size (e.g. for backup purposes) differs from taking a copy of a running system and then modifying it to boot from an ISO read-only with a different device etc 2023-03-29 16:45:02 it may possibly not need modification to boot in the context of ventoy, and not necessarily be an iso therefore 2023-03-29 16:46:29 ok, the booting as a "live" (read-only) OS whereas the original installed OS is configured to write to disk/SSD/whatever 2023-03-29 16:46:35 s/the /then / 2023-03-29 16:48:20 ah. yes the original os would be... 2023-03-29 16:49:20 so i've got cephfs set up on my cluster, and my alpine nodes are supposed to mount it via fstab on boot. the fstab line works, but not automatically. I still have to log in and run `mount -a` as root to get everything to mount 2023-03-29 16:50:10 that's why I'm making the distinction between creating an image of the OS via "dd" (so later it can be restored via "dd" if disk is replaced etc) and converting a Sys mode install into a read-only bootable ISO 2023-03-29 16:51:03 you're making great sense- i see the distinction too now. 2023-03-29 16:52:30 so why not use Alpine's run-from-ram mode instead? 2023-03-29 16:54:06 antiX, Tails, TinyCore, Puppy, NixOS, probably more... have a "remaster" tool for .iso creation. i see for that purpose now. 2023-03-29 16:54:06 aha! right, minimal, why indeed- that would work even when booted in read-only?! bc it's a config defaulting to be agnostic to storage already 2023-03-29 16:55:44 Alpine's run-from-ram mode when it boots creates the rootfs *in RAM*, it only reads from the storage device 2023-03-29 16:56:24 you can write to storage however using "lbu commit" to write any OS changes (which are then reapplies upon subsequent boots) 2023-03-29 16:58:59 where would the logging for the mounts on bootup be located? 2023-03-29 16:59:00 syslog? 2023-03-29 16:59:50 wasutton3: what logging specifically? 2023-03-29 17:00:13 im trying to find out why my cephfs fstab line isn't automounting, but works fine with `mount -a` 2023-03-29 17:00:40 wasutton3~: do you have the netmounts init.d service enabled? 2023-03-29 17:01:07 s/netmounts/netmount/ 2023-03-29 17:02:03 maybe? I just enabled it and am rebooting now 2023-03-29 17:02:31 that seems to have done it 2023-03-29 17:02:32 "maybe? I just enabled it" - so it wasn't enabled in otherwords lol 2023-03-29 17:02:54 ... then the question leads to whether even needing a custom image for alpine? I think yes, since i'd need the system to *not be able to alter itself* again between reboots... added reason convenience in sharing one file instead of two files to untechsavvy friends 2023-03-29 17:03:16 minimal, i didn't know if rc-update has the same output if the service is already enabled or not 2023-03-29 17:03:28 just to create a trustless system. 2023-03-29 17:03:43 wasutton3: the "localmount" service specifically does not mount network filesystems 2023-03-29 17:04:11 minimal, gotcha, im not used to that. fstab has always been the only thing i've had to mess with 2023-03-29 17:25:19 random fun fact for a very small audience: since alpine 3.16, 'apk add libtool' no longer installs bash 2023-03-29 17:29:30 in the wild https://github.com/containers/buildah/issues/3474#issuecomment-1446333108 2023-03-29 18:24:20 minimal: Name of network device to use. Default: If the host only has one device, it is used. Otherwise the device is determined using autoconfiguration. This is done by sending autoconfiguration requests out of all devices,and using the device that received the first reply 2023-03-29 18:25:09 from kernel docs. private ip on eth1 is always faster 2023-03-29 18:27:22 now, because alpine uses the same ip= , probing 'up' is not accurate 2023-03-29 18:33:55 uniqNuuid: which document are you quoting from above? 2023-03-29 18:34:45 https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/plain/Documentation/admin-guide/nfs/nfsroot.rst?h=v6.2.8 2023-03-29 18:36:05 i think ip=:::::eth0:dhcp is the best solution 2023-03-29 18:36:18 for my case 2023-03-29 18:39:10 uniqNuuid: so that's a document relating to NFS-based rootfs, how do that relate to your situation? 2023-03-29 18:41:53 not for nfs only 2023-03-29 18:42:54 works independently of 2023-03-29 18:42:56 NFS, so it was renamed to ip 2023-03-29 18:45:58 my point is that the document is regarding how to use NFS for the rootfs, you are not trying to use NFS as the rootfs 2023-03-29 18:47:28 when kernel loaded from ipxe. kernel controls, all interfaces are down, no carrrie by default, kernel loads drivers, probe interfaces, bring up the one that responses. 2023-03-29 18:47:59 the first one 2023-03-29 18:48:17 minimal: read again. 2023-03-29 18:49:17 read this too : https://gitlab.alpinelinux.org/alpine/mkinitfs/-/raw/master/initramfs-init.in 2023-03-29 18:49:40 search for See https://www.kernel.org/doc/Documentation/filesystems/nfs/nfsroot.txt 2023-03-29 18:49:48 I am well familiar with the initramfs-init script 2023-03-29 18:50:49 and this : https://raw.githubusercontent.com/torvalds/linux/master/Documentation/admin-guide/kernel-parameters.txt // ip= 2023-03-29 18:51:08 what I don't understand is the point you're trying to make - hours ago you understood you could make things work by specifying the "ip=" setting naming an interface, I thought your focus was on why it didn't work unless you specified the interface name 2023-03-29 18:51:27 an discussed that was due to the initramfs-init checking operstate 2023-03-29 18:51:35 minimal: no 2023-03-29 18:51:52 so you've had a solution to your problem for hours now 2023-03-29 18:51:59 kernel only bring up one interface 2023-03-29 18:52:19 read kernel doc 2023-03-29 18:52:22 and? 2023-03-29 18:52:47 I'm not disputing that, I just don't see the point you're trying to make 2023-03-29 18:53:46 i have 2 cards , eth1 is faster when probed by kernel. so eth0 was not brought up . for kernel only bring up one! 2023-03-29 18:54:16 and? you have a solution to that my specifying "eth0" as part of a "ip=" cmdline, right? 2023-03-29 18:54:21 s/my/by/ 2023-03-29 18:54:35 then alpine init check it's down , it is ignored . 2023-03-29 18:55:21 yes. 2023-03-29 18:55:42 so now that you have a solution, what's the issue? 2023-03-29 18:55:43 but i now unserstand the reason behind. 2023-03-29 18:56:34 i mean , there is a better approach 2023-03-29 18:56:47 it's up to alpine. 2023-03-29 18:57:37 and what is the better approach? 2023-03-29 18:57:42 because kernel only bring up one interface on boot. you can't rely on 'up' 2023-03-29 18:59:55 solution 1) probe carrier, list all ethernets that's cable connected 2) ifconfig everyone up from the list, and do dhcp on each of them 2023-03-29 19:00:27 2 steps 2023-03-29 19:00:35 more accurate 2023-03-29 19:01:36 /sys/fs/net/ethX/carrier 2023-03-29 19:02:33 sys/class/net/eth*/carrier 2023-03-29 19:04:00 sys/class/net/eth*/operstate is not reliable, you will always get the wrong card if there is a card for private network. 2023-03-29 19:24:15 uniqNuuid: I thought you earlier said that carrier was 0 when you checked? 2023-03-29 23:02:08 is there an easy way to reset a modified file to a version as distributed in the installed apk package? 2023-03-29 23:02:42 like say I installed whatever then I modified /etc/whatever.conf and I want it to get reverted back to what apk installed 2023-03-29 23:07:30 update-conf and select 'u' for the file that has a .apk-new i guess, or just mv the .apk-new into it 2023-03-29 23:07:41 and you can apk fix the package that owns the file to get the .apk-new 2023-03-29 23:13:21 thanks! 2023-03-29 23:13:34 wanted to learn how to get the .apk-new yeah 2023-03-30 02:19:32 Just pulled down alpine-standard. Does it install only a syslinux/CSM/legacy boot grub, or does it autodetect efi and install with grub-efi? 2023-03-30 02:20:11 I didn't see it ask me about anything regarding this. 2023-03-30 02:22:18 thought: are you referring to run-from-ram or Sys mode (install-and-run-from-disk)? 2023-03-30 02:22:38 sys mode 2023-03-30 02:23:01 for Sys mode the setup-disk tool (called by setup-alpine) will detect UEFI and install grub appropriately 2023-03-30 02:23:02 Forgot that's how things developed in the installer. I ran setup-alpine, set up a disk for 'sys,' and now I'm rebooting. 2023-03-30 02:23:05 That's really nice. 2023-03-30 02:23:12 How's it going, minimal? 2023-03-30 02:24:06 shell coding, so as well as can be expected lol 2023-03-30 02:24:45 you using bash? 2023-03-30 02:25:01 nope, Busybox ash 2023-03-30 02:27:51 how's that? did you ever read that "pure sh bible" thing that one kid wrote, minimal 2023-03-30 02:29:16 no, I use shellcheck to keep me right 2023-03-30 02:33:46 i mostly use shellcheck and open the posix page of random utilities here and there 2023-03-30 02:33:55 latter because shellcheck doesn't flag much other than syntax 2023-03-30 02:34:28 I like that idea of just shuffling commands on the screen randomly until finding it. 2023-03-30 02:34:28 yeah I do look at the POSIX docs for stuff like variable parameters 2023-03-30 02:34:57 If I wanna set up this hard disk for an NVR, do I just parted and mkfs the bastard? I'm not too worried yet about raid or anything 2023-03-30 02:35:27 setup-alpine/setup-disk does that for you 2023-03-30 02:36:07 or do you mean for an additional disk? 2023-03-30 02:36:31 minimal, this is an additional bastard 2023-03-30 02:36:39 I guess I could use setup-disk with the "data" option, yeah? 2023-03-30 02:36:51 then yes partition and format fs and then add entry/entries to /etc/fstab 2023-03-30 02:45:06 hmm. what's the main method for fstab with guid disks? i'll look 2023-03-30 02:45:24 remind me; what's the method for pulling down the main posix/linux docs 2023-03-30 02:47:48 apk add man-pages man-pages-posix 2023-03-30 02:48:00 and probably mandoc if you want to read them 2023-03-30 02:49:14 is it really man-pages-posix, lmao 2023-03-30 02:49:15 hell yeah 2023-03-30 02:49:33 what options do I mount an ext4 data disk with? rw? 2023-03-30 02:50:21 Still pretty new to alpine, does mkinitfs support buildtime + runtime user defined "hooks" (shell scripts) like mkinitcpio does? Are there public well tested hooks for unlocking an encrypted root through ssh? 2023-03-30 02:54:42 no 2023-03-30 02:54:56 it doesn't support hooks 2023-03-30 02:56:44 thought: just `defaults` already has rw 2023-03-30 02:57:24 What is the intended way to do additional work during early userspace then? 2023-03-30 02:57:37 As in, before mounting root 2023-03-30 02:57:38 i don't think there is one 2023-03-30 02:57:58 there is dracut too i guess which probably supports that, but afaik almost nobody uses it so that's less well-tread 2023-03-30 02:58:22 Fair enough, I'll look into it 2023-03-30 03:09:49 hey, whats the name of the package that'd normally be linux-firmware or similar in any other distro? 2023-03-30 03:11:10 linux-firmware-subpackage 2023-03-30 03:11:41 ahh, hold on, the package portal wasnt listing any package starting with linux-firmware for a bit 2023-03-30 03:16:11 how do I manually grab an apk from the package portal? 2023-03-30 03:19:10 eh apparently I can just dl directly from http://dl-cdn.alpinelinux.org/alpine/latest-stable/main/x86_64/, but that doesnt seem like the intended route 2023-03-30 03:20:13 apk fetch $pkgname 2023-03-30 03:20:52 dont have an existing alpine system 2023-03-30 03:21:29 then manually fetching from that URL is the way to go 2023-03-30 03:21:47 okay 2023-03-30 03:21:50 also, hi dwfreed 2023-03-30 03:21:56 hi 2023-03-30 03:22:32 Im finally getting around to trying alpine after using debian for like 25 years :P 2023-03-30 03:23:20 that'll be a head-spinner 2023-03-30 03:24:15 I went from Debian to Gentoo, to Arch, then Void, and now Alpine. 2023-03-30 03:43:04 minimal https://gitlab.alpinelinux.org/alpine/mkinitfs/-/merge_requests/119?commit_id=bbc80a744eb40990e91be8688d3a76c5a2eaf318 2023-03-30 03:46:31 who uses ifconfig in 2023 2023-03-30 03:52:16 looks interesting 2023-03-30 03:55:51 psykose: it is busybox ifconfig 2023-03-30 03:56:03 it's running in initramfs stage 2023-03-30 03:57:05 i believe i am well aware :p 2023-03-30 03:57:40 I forgot I could just tether a linux laptop that doesnt have wifi working yet to my phone 2023-03-30 04:00:01 psykose: looks like other codes are using ifconfig too, so. i don't know how busybox `ip` behaves 2023-03-30 04:00:44 i'm not telling you to change it 2023-03-30 04:11:56 so, silly question, does setup-alpine not handle crypt or cryptsys answers to the disk question correctly? 2023-03-30 04:12:25 it does with some caveats 2023-03-30 04:12:40 it just seems to halt there and do nothing else 2023-03-30 04:15:24 I cant find any documentation on what to expect here 2023-03-30 04:22:54 actually, none of the answers seem to do anything 2023-03-30 04:25:41 The R2S project continues... I am now stuck where I cannot get the SD card to mount as a block device. initramfs is running but fails to find the boot media because it's on the SD card (next to the initramfs). I manged to get USB working though so I mounted the modloop and modprobed every driver, still no SD card... 2023-03-30 04:26:00 you can try sh -x /sbin/setup-alpine and see what it's stuck on i guess, but i've never heard of that 2023-03-30 04:26:52 which of the sub-scripts actually do the partitioning and install? setup-disk? 2023-03-30 04:27:05 psykose: I just join, was that in reply to me? 2023-03-30 04:27:18 naw, hes talking to me 2023-03-30 04:29:21 it's setup-disk yeah 2023-03-30 04:29:44 it looks like it runs a bunch of commands 2023-03-30 04:29:48 but doesnt do anything 2023-03-30 04:31:55 like, the partitions are untouched 2023-03-30 04:32:12 and I'd expect cryptsetup (assuming its running it) to ask me a passphrase 2023-03-30 04:32:21 answering sys also does nothing 2023-03-30 04:32:50 the commands look like commands I'd expect to be ran, or have done manually 2023-03-30 04:41:07 r2s_: what kind of device are you using? 2023-03-30 04:47:36 aron: A NanoPi R2S 2023-03-30 04:48:30 ah, RK3328 2023-03-30 04:48:57 which kernel version are u using? 2023-03-30 04:50:02 The one in the Generic ARM 3.17.2 package, 5.15.93 2023-03-30 04:51:33 sec, unpacking 2023-03-30 04:51:37 I find it interesting that the SDMMC is found with OpenWrt via the dwmmc_rockchip module, but that module says it's only compatible with rk2928 and rk3288 2023-03-30 04:52:16 interesting 2023-03-30 04:52:35 maybe rk3328's and rk3288's sdmmc is the same 2023-03-30 04:52:47 but the driver info is not updated 2023-03-30 04:52:50 maybe, can I force a probe? 2023-03-30 04:53:23 on arm, the kernel loads a lot of stuff instructed by devicetree 2023-03-30 04:53:51 before initramfs? 2023-03-30 04:54:04 first, I want to check what it says for your specific version 2023-03-30 04:54:23 it is loaded very early 2023-03-30 04:54:34 by uboot 2023-03-30 04:55:18 the device tree is, but I'm curious if the kernel starts auto-loading modules when it enters the initramfs based on the dt 2023-03-30 04:55:39 you can take a try, ofc 2023-03-30 04:55:51 nothing will blow up or something :P 2023-03-30 04:59:23 so, dt wants rk3328's or rk3288's mmc driver 2023-03-30 04:59:38 can you tell me how you found that 2023-03-30 04:59:50 which confirms your experience with openwrt 2023-03-30 05:00:18 if you unpack the tar.gz 2023-03-30 05:00:27 go to boot/dtbs-lts/rockchip 2023-03-30 05:00:39 and decompile the rk3328-nanopi-r2s.dts 2023-03-30 05:00:48 it is the dt for you model 2023-03-30 05:01:11 how do you decompile a dtb? 2023-03-30 05:01:53 dtc -I dtb -O dts -o rk3328-nanopi-r2s.dts rk3328-nanopi-r2s.dtb 2023-03-30 05:02:01 (I have just been looking at the dts in the kernel source) 2023-03-30 05:02:06 thanks 2023-03-30 05:02:24 this is low-level stuff, not very human-readable 2023-03-30 05:02:34 but if you used to it, you can harvest info from that 2023-03-30 05:03:41 (in general, better to look the dt from your filesystem rather from kernel source, because you can edit these files) 2023-03-30 05:04:00 okay, so the mmc entry in dt looks fine 2023-03-30 05:04:14 but still, how did you know it expects rk2928 or rk3288? 2023-03-30 05:04:23 the next question is that your bootloader loads the correct dt 2023-03-30 05:04:44 goto: "mmc@ff500000 {" 2023-03-30 05:04:53 next line is "compatible" 2023-03-30 05:05:19 there you can see the driver names 2023-03-30 05:05:50 note that, you need one more step from this point to get the exact kernel module name 2023-03-30 05:05:51 for the bootloader dt, I built my own u-boot and have it loading u-boot.dtb, it seems correct 2023-03-30 05:06:28 I've also tried the alpine dtb for what it's worth 2023-03-30 05:07:14 one most important thing 2023-03-30 05:07:21 you'll see a "status" key 2023-03-30 05:07:45 if its value is "okay", the kernel will try to load that device 2023-03-30 05:07:59 if "disabled", then it will NOT try 2023-03-30 05:10:01 i.e. look at the next 2 mmc devices: they are disabled 2023-03-30 05:13:23 the answer for your question: "but I'm curious if the kernel starts auto-loading modules when it enters the initramfs based on the dt" is _yes_ 2023-03-30 05:14:00 alright, let me add every rockchip module I can find in the dts to the initramfs 2023-03-30 05:14:05 (forgot to answer this, sry) 2023-03-30 05:14:30 yes, this could help 2023-03-30 05:15:41 I fixed a few sbc with this trick ;) 2023-03-30 05:44:22 aron: still no SDMMC, lsmod shows dw_mmc_rockchip is loaded 2023-03-30 05:44:49 can you upload your dmesg? 2023-03-30 05:45:02 maybe there is a clue in it 2023-03-30 05:45:03 yeah one sec 2023-03-30 05:50:11 aron: https://paste.debian.net/plain/1275728 2023-03-30 05:53:05 hmm 2023-03-30 05:53:12 can you list /dev as well? 2023-03-30 05:55:30 https://paste.debian.net/plain/1275729 2023-03-30 05:56:06 odd 2023-03-30 05:56:19 I don't think this is important, but I will note that I deleted all of /lib/firmware because it was too large 2023-03-30 05:56:29 I don't _think_ anything here requires it 2023-03-30 05:57:12 yeah, probably not 2023-03-30 05:57:46 there is no trace of mmc device load in dmesg 2023-03-30 05:58:12 yeah it's like it doesn't even try 2023-03-30 05:58:19 but it loads the module 2023-03-30 05:58:21 you can double-check the dt in /sys 2023-03-30 05:58:56 -> /sys/firmware/devicetree 2023-03-30 05:59:11 (but, why the module is loaded then?) 2023-03-30 06:00:09 https://paste.debian.net/plain/1275730 2023-03-30 06:01:02 in mmc@ff500000/, what's in "status" file? 2023-03-30 06:01:26 "okay" 2023-03-30 06:01:59 hmm 2023-03-30 06:04:35 it's dummy, and I'm sure you tried to take the card out and in again 2023-03-30 06:05:12 I just looked into another sbc's dmesg, and mmc does not print anything until it founds the card 2023-03-30 06:05:17 it's like this: 2023-03-30 06:05:20 [ 1.056537] sunxi-mmc 4020000.mmc: Got CD GPIO 2023-03-30 06:07:18 here's the OpenWrt boot: https://paste.debian.net/plain/1275731 2023-03-30 06:07:58 the first message I see is "dwmmc_rockchip ff500000.mmc: IDMAC supports 32-bit address mode." 2023-03-30 06:08:03 yeah 2023-03-30 06:08:30 and it loads the card 2023-03-30 06:09:06 perhaps openwrt has patches in the driver 2023-03-30 06:09:15 I looked but couldn't find any 2023-03-30 06:09:58 I also booted a non-initramfs kernel that I built myself and it was fine 2023-03-30 06:11:01 interesting 2023-03-30 06:15:43 I see some dev_dbgs in the driver, is there a way to enable those in the Alpine image? 2023-03-30 06:15:57 I tried passing "debug" but it doesnt seem to do anything 2023-03-30 06:17:00 I don't know 2023-03-30 06:19:28 the init calls dw_mci_rockchip_init which should warn if of_device_is_compatible() 2023-03-30 06:19:56 well, if there's no min freq 2023-03-30 06:20:28 building this driver myself with a bunch of prints might be my next step 2023-03-30 06:20:54 Hi, dunno if it the right place to ask. I would love to see https://pkgs.alpinelinux.org/package/edge/community/aarch64/zigbee2mqtt bumped to more recent version (to have latest devices lib) 2023-03-30 06:20:56 yeah 2023-03-30 06:22:13 i've never built alpine before, I guess we'll see how hard that is lol 2023-03-30 06:22:47 jch: create a merge request with the newer version number 2023-03-30 06:22:52 r2s_: lol 2023-03-30 06:23:28 I build my alpine kernels with abuild 2023-03-30 06:26:11 Hi, I build a rust app from rust alpine docker, on both x86_64 and aarch64 platforms.... (full message at ) 2023-03-30 06:29:45 aron: I need to head out, thank you for the help. I will probably be back tomorrow or so 2023-03-30 06:29:59 yw 2023-03-30 06:30:03 hf 2023-03-30 07:30:38 Ludea[m]: do you mean that you built it on alpine but you then tried to run it on another system? you can't do that for dynamically linked applications, since the libc they are linked to is different 2023-03-30 07:35:43 I try to run on another alpine image, yes 2023-03-30 07:36:21 (alpine version are the same between builder and runtime : 3.17) 2023-03-30 07:39:29 how do you run the aarch64 one 2023-03-30 07:41:03 On Rpi 2023-03-30 07:46:24 can you post the output of `ldd`, `file`, on the binary 2023-03-30 07:46:28 and the output of `uname -a` 2023-03-30 07:47:37 ACTION sent a bash code block: https://matrix.org/_matrix/media/v3/download/matrix.org/JvQTbcqqPcNUwOQxvvvhqISu 2023-03-30 07:50:59 that binary is linked to glibc and not musl 2023-03-30 07:52:35 Linux a4894821bd4c 6.1.19-v8+ #1637 SMP PREEMPT Tue Mar 14 11:11:47 GMT 2023 aarch64 linux 2023-03-30 07:53:19 psykose: Weirf I use --target x86_64-unknown-linux-musl when building. 2023-03-30 07:53:35 * Weirf I use --target aarch64 -unknown-linux-musl when building. 2023-03-30 07:53:52 ah no 2023-03-30 07:53:53 And I build from alpine which doest have glibc 2023-03-30 07:54:00 can you also show `file` 2023-03-30 07:54:04 and /etc/os-release 2023-03-30 07:56:40 myapp: ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, with debug_info, not stripped 2023-03-30 07:59:47 ACTION sent a code block: https://matrix.org/_matrix/media/v3/download/matrix.org/khBvSVIbnrYnpDcqwZgmBsWb 2023-03-30 07:59:56 * ```... (full message at ) 2023-03-30 08:01:26 that's definitely glibc linked yeah 2023-03-30 08:01:33 i guess you can share how you built it if you want 2023-03-30 08:02:19 https://github.com/Ludea/lucle/blob/main/Dockerfile#L13 2023-03-30 11:41:58 so I went and tried the laptop again 2023-03-30 11:42:04 I guess you can say user error in a way 2023-03-30 11:42:16 I just nuked the gpt partition table, and stuff is proceeding correctly 2023-03-30 11:42:30 so setup-alpine isnt smart enough to do it even though the user confirms to do it 2023-03-30 13:50:10 psykose: so it's an issue with rust toolchain, not alpine ? 2023-03-30 13:50:34 i can't reproduce it so it's probably an issue with some other steps you are doing not just in that dockerfile 2023-03-30 13:53:09 or 2023-03-30 13:53:20 you do COPY --from=build 2023-03-30 13:53:28 and FROM alpine-builder-$TARGETARCH as build 2023-03-30 13:53:39 i would guess this breaks and for some reason gives you x86_64 on the aarch64 image creation 2023-03-30 13:53:52 ah, no, disregard, i got it mixed up :D 2023-03-30 13:53:55 with arch and libc 2023-03-30 13:53:55 no idea 2023-03-30 13:54:02 easy test is to remove all this stuff 2023-03-30 13:54:16 keep only FROM --platform=linux/arm64 rust:alpine3.17 as build 2023-03-30 13:54:17 build it 2023-03-30 13:54:19 then run that 2023-03-30 13:54:28 no other steps or images 2023-03-30 13:54:50 if that still gives you a broken binary, then whatever that does is broken 2023-03-30 13:54:54 if not, it's some other steps 2023-03-30 14:07:57 I build only the build stage 2023-03-30 14:07:57 Output of ldd : https://github.com/Ludea/lucle/actions/runs/4565221933/jobs/8056037711#step:4:869 2023-03-30 14:31:34 ah 2023-03-30 14:31:35 right 2023-03-30 14:31:50 you are building everything on ubuntu then copying to alpine docker? 2023-03-30 14:32:31 you need RUSTFLAGS="-Ctarget-feature=-crt-static" 2023-03-30 14:32:35 runs-on: buildjet-2vcpu-ubuntu-2204-arm 2023-03-30 14:36:29 the images are not what is in the container 2023-03-30 14:36:52 hosts 2023-03-30 14:48:52 i did not know what that --platform=$BUILDPLATFORM was doing, but i read it here https://www.docker.com/blog/faster-multi-platform-builds-dockerfile-cross-compilation-guide/ 2023-03-30 14:51:36 ah 2023-03-30 14:51:38 yeah it's wrong 2023-03-30 14:51:53 TARGETPLATFORM is what you want i guess? 2023-03-30 14:55:03 i think it works since they use those buildjet arm runners 2023-03-30 14:56:09 psykose: no 2023-03-30 14:56:13 it doesn't change anything 2023-03-30 14:56:28 sure it does 2023-03-30 14:56:46 it doesn't 2023-03-30 14:57:19 pj: I agree, I use arm64 runner from buildjet 2023-03-30 14:57:44 btw. you don't have `.dockerignore` file that excludes `target/` 2023-03-30 14:58:05 so if you have local build it will copy over to container during build 2023-03-30 14:59:02 although that BUILD/TARGET usage is meaningless and could be just hardcoded 2023-03-30 15:02:08 I will change to TARGETARCH 2023-03-30 15:06:06 I'm assuming some local things mess with your build 2023-03-30 15:06:21 add target/ to .dockerignore 2023-03-30 15:06:25 can't reproduce that 2023-03-30 15:22:31 Still issue with .dockerignore https://github.com/Ludea/lucle/actions/runs/4566010101/jobs/8057922167#step:4:860 2023-03-30 15:25:11 you should run something like ./lucle --version there 2023-03-30 15:25:26 ./target/release/lucle --version rather 2023-03-30 15:25:27 etc 2023-03-30 15:25:53 you also need RUSTFLAGS="-Ctarget-feature=-crt-static" 2023-03-30 15:42:58 Work !! 2023-03-30 15:45:09 https://github.com/Ludea/lucle/actions/runs/4566255800/jobs/8058498770#step:4:856 2023-03-30 15:45:52 lmfao 2023-03-30 15:46:05 well that's a new one 2023-03-30 15:46:12 usually +crt-static gives you a segfaulting binary 2023-03-30 15:46:15 not.. file not found 2023-03-30 15:46:47 can't believe this is the 20th time i ran into this issue and yet this time it's just oh-so slightly different 2023-03-30 16:15:30 I did not try the container yet 2023-03-30 22:11:00 silly question: wl isnt packaged for alpine, right? 2023-03-30 22:11:21 what is a wl 2023-03-30 22:11:46 the alternative broadcom wifi driver 2023-03-30 22:13:01 nope 2023-03-30 22:13:20 guess that ends my alpine adventure 2023-03-30 22:14:09 alternative sounds a bit inaccurate, this looks like something not updated in 15 years 2023-03-30 22:14:42 b43 targets cards that are like 10-15 years old 2023-03-30 22:14:50 yeah 2023-03-30 22:14:59 b43 still has not yet supported 5ghz 2023-03-31 00:46:12 psykose: btw, re old, https://github.com/antoineco/broadcom-wl its still kept alive for reasons. 2023-03-31 00:57:02 there are some 5 GHz cards only supported by wl 2023-03-31 00:57:15 eg the 4360, which was pretty common in its era 2023-03-31 00:57:37 yeah, mine needs wl for 5ghz, the 2.4 works fine with b43 2023-03-31 00:59:20 which is weird btw, I swear I connected to wifi before bullshit free trying a linux livecd awhile back 2023-03-31 00:59:33 I wonder if the ubuntu branch of the family include wl by default 2023-03-31 00:59:48 that sounds wrong, but ubuntu does weird unexplained shit all the time 2023-03-31 01:00:05 ubuntu might, debian certainly wouldn't, since wl is non-free 2023-03-31 01:00:14 yeah 2023-03-31 01:00:44 from a debian perspective, even putting linux-firmware-nonfree on the installer makes a lot of people angry 2023-03-31 01:00:58 yeah, they did it anyway though 2023-03-31 01:01:12 yeah, and honestly, I get their argument, but it doesnt work 2023-03-31 01:01:13 (recent change, in case you hadn't heard) 2023-03-31 01:01:22 yeah no, Im directly referring to that 2023-03-31 01:01:42 too much shit these days needs firmware blobs for the driver to work correctly 2023-03-31 01:01:50 where were these angry people when debian leadership made us take systemd =/ 2023-03-31 01:02:14 it's mostly graphics and wifi, but that's many usecases 2023-03-31 01:02:19 yeah 2023-03-31 01:02:39 and its not like the blob is running in linux, its running on the hardware 2023-03-31 01:02:51 if you want no closed source firmware, go make me a risc-v laptop, assholes 2023-03-31 01:03:20 and then everyone needs to buy them, the real important part 2023-03-31 01:04:13 so yeah, back to my thing... I have used alpine. alpine is easy to install if you can read. if you cant read, go buy a mac. 2023-03-31 01:04:31 and then buy hooked on phonics in the apple app store 2023-03-31 01:05:15 everyone who complained its difficult are idiots. this is no more difficult and just as hand holdy as debian installer, it just lacks the tui, but asks all the same damned questions 2023-03-31 01:06:23 so yeah, off I go to put debian installer on a stick. oh well. 2023-03-31 02:24:06 which repo contains the scripts used to build the Generic Arm images? 2023-03-31 02:45:34 I think it's aports? 2023-03-31 02:49:33 Yes 2023-03-31 02:54:02 but... not? it looks like maybe clandmeter/alpine-disk-image creates the archive? 2023-03-31 02:56:19 check the scripts folder at the root 2023-03-31 03:20:10 I think I'm missing a step, are there docs for how to build Alpine locally? I'm not seeing any 2023-03-31 03:22:27 what do you mean "build Alpine"? like, an iso image? 2023-03-31 03:23:22 ah, generic arm images 2023-03-31 03:23:43 specifically alpine-uboot-3.17.2-aarch64.tar.gz 2023-03-31 03:23:52 i'm not sure if there are any docs, but the scripts are quite straightforward 2023-03-31 03:24:29 in your case it would be `./mkimage.sh --arch aarch64 --profile uboot --tag 3.17.2 ...` 2023-03-31 03:30:40 have fun everyone 2023-03-31 03:43:19 I'm trying to follow the .gitlab-ci.yml to see how the offical images are built, but I can't find the referenced build.sh 2023-03-31 03:43:46 the images are not built as a part of the aports ci 2023-03-31 03:44:59 how are they built? 2023-03-31 04:28:32 by the builders 2023-03-31 04:28:56 https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/main/aports-build/aports-build 2023-03-31 04:29:07 create_release() 2023-03-31 04:32:07 is this a bug or am I doing something wrong? https://paste.debian.net/plain/1275839 2023-03-31 04:33:29 might be an issue, with all the packages constantly changing, bootstrap.sh needs to get fixed all the time 2023-03-31 04:33:31 I'm running bootstrap.sh before mkimage.sh because I thought it would be required 2023-03-31 05:02:39 Does alpine (any release branch; standard, extended, etc.) have NTFS read drivers out of the box? 2023-03-31 05:04:45 Liver_K: I think installing ntfs-3g would be adequate 2023-03-31 05:05:11 Can you confirm that works fine currently? 2023-03-31 05:05:13 anything with linux 5.15 or later should have the ntfs3 r/w driver, if alpine enables that 2023-03-31 05:05:46 I read ntfs partitions before 2023-03-31 05:05:48 Oh ok if it's that widely used I bet it's fine 2023-03-31 05:06:02 I just need to know if alpine has this driver out of the box 2023-03-31 05:09:36 And if it's an installable driver package, I don't see it in the package index on the site 2023-03-31 05:10:24 https://pkgs.alpinelinux.org/packages?name=ntfs-3g&branch=edge&repo=&arch=&maintainer= 2023-03-31 05:10:24 sure it is: https://pkgs.alpinelinux.org/package/edge/main/x86_64/ntfs-3g 2023-03-31 05:11:11 Strange it doesn't show up in my searches 2023-03-31 05:12:36 Oh never mind I got it 2023-03-31 05:16:07 Ok great thanks, alpine is hopefully going on this machine soon :) 2023-03-31 06:21:58 Liver_K: grep -i ntfs /boot/config-virt : CONFIG_NTFS3_FS=m 2023-03-31 06:23:45 I asked those questions to prepare to install alpine; I don't have a machine with alpine yet :) 2023-03-31 06:24:13 you can grep the config from alpine's repo 2023-03-31 06:24:43 https://git.alpinelinux.org/aports/tree/main/linux-lts?h=3.16-stable 2023-03-31 06:25:02 https://git.alpinelinux.org/aports/tree/community/linux-edge?h=3.16-stable 2023-03-31 06:25:08 sorry 2023-03-31 06:25:30 h=master 2023-03-31 06:26:58 apk add ntfs-3g ; mount -t ntfs-3g /dev/xxx /mnt/xxx 2023-03-31 06:27:59 or mount.ntfs /dev/xxx /mnt/xxx 2023-03-31 06:28:11 or ntfs-3g /dev/xxx /mnt/xxx 2023-03-31 06:29:52 Liver_K: archwiki has details about how to use this ntfs-3g driver from kernel : https://wiki.archlinux.org/title/NTFS-3G 2023-03-31 06:31:43 Cool 2023-03-31 07:43:00 has anyone on edge also got this issue when using apk? 'ERROR: FDB format error (line 189229, entry 'Z')' 2023-03-31 07:43:54 i don't even know which file it's referring to 2023-03-31 07:49:21 aaand now i've got 'ERROR: This apk-tools is too old to handle installed packages' - any way to fix the /lib/db/apk/installed file? 2023-03-31 07:50:36 is installing a newer apk-tools viable? 2023-03-31 07:52:07 it's the latest version, the error is wrong 2023-03-31 07:55:11 how did you end up with this situation? 2023-03-31 07:55:25 no clue, i think my laptop has crashed at some point 2023-03-31 07:55:32 oh 2023-03-31 07:55:52 ptrc: download apk static and fix them 2023-03-31 07:56:08 not sure how apk static would help here 2023-03-31 07:56:35 https://gitlab.alpinelinux.org/alpine/apk-tools/-/releases 2023-03-31 07:56:39 try it 2023-03-31 07:57:00 it's not an issue with apk itself, but with a corrupted /lib/apk/db/installed path (messed up the path in the previous message) 2023-03-31 07:57:07 s/path/file/ 2023-03-31 07:57:09 apk.static fix 2023-03-31 07:58:11 fixed it by removing the file entirely and running `apk fix`, which is currently reinstalling all 3202 packages 2023-03-31 07:58:13 apk.static purge apl-tools; apk.static add apk-tools 2023-03-31 07:59:43 s/purge/del 2023-03-31 12:26:28 is it possible to start ash so its limited to posix? 2023-03-31 12:28:44 hello, I'm trying to install Alpine on softraid 1 with GPT partitionning 2023-03-31 12:29:21 I set DISKLABEL=gpt and run setup-alpine 2023-03-31 12:30:28 at setup-disk step, I choose sda and sdb in sys mode and I get: mount: mounting /dev/sda on /mnt/boot failed: Resource busy 2023-03-31 12:31:07 after googling a bit I found that this issue is there at least since 2018 https://irclogs.alpinelinux.org/%23alpine-linux-2018-02.log 2023-03-31 12:31:18 but I don't know how to get over it 2023-03-31 12:35:05 also, the server only boots in legacy mode, but my disks are more than 2TB 2023-03-31 12:38:42 `git send-email` uses `/usr/sbin/sendmail`, even thought there's another one in my path (`which sendmail` indicates `/home/hugo/.local/bin/sendmail`). 2023-03-31 12:38:50 Is the path hardcoded at build-time...? 2023-03-31 12:39:25 Oh, it actually does `execve("/usr/sbin/sendmail", ["/usr/sbin/sendmail",...` 2023-03-31 12:43:25 frag: afaik ash does not have a strict posix mode 2023-03-31 12:45:47 frag: shells don't usually have a strict limited-to-posix mode 2023-03-31 12:46:05 i see i see 2023-03-31 12:46:33 in a sense it's a bit silly to want one, because posix specifically allows vendor extensions and the only reason you'd bother to reject that is as a *linter* to see if the script is portable 2023-03-31 12:46:53 it's not actually useful for end users to run like that, so people mostly don't bother 2023-03-31 12:47:30 Debian does have posh, I guess. "Posix-compliant Ordinary SHell" 2023-03-31 12:48:16 which literally no one runs on live systems, to my knowledge... but it's legally an option and people sometimes do use it in test systems. 2023-03-31 12:54:32 Bash runs in a restricted mode when called as sh 2023-03-31 12:56:43 not really, no. 2023-03-31 12:57:29 it's the equivalent of invoking set -o posix 2023-03-31 12:57:56 all it does is cause any situation where bash disagrees with posix specified behavior, to align with posix requirements instead. 2023-03-31 12:59:56 many GNU tools respect the environment variable $POSIXLY_CORRECT for cases where they disagree with the standard -- this also sets bash into posix mode in addition to set -o posix and starting the shell as a symlink named "sh" 2023-03-31 13:00:30 many things are just not specified by posix, e.g. arrays exist. bash supports this just fine even in posix mode as posix doesn't forbid it 2023-03-31 13:04:10 ikke: also "restricted mode" is the name of an actual bash functionality. restricted shells claim to be a kind of security sandbox although obviously that doesn't really work lol 2023-03-31 13:05:50 yes i wanted it for making script, to ensure they are posix :] 2023-03-31 13:08:50 run that script using dash, if it runs then it will probably run most anywhere 2023-03-31 13:09:46 ah wait a second, that's right... even Debian posh doesn't help here. 2023-03-31 13:09:57 it's not the Posix-compliant Ordinary SHell 2023-03-31 13:10:10 it's the Policy-compliant Ordinary SHell 2023-03-31 13:10:23 even that has a couple extensions Debian mandates 2023-03-31 13:16:28 yes i use dash, but then i wouldnt need dash :] 2023-03-31 13:22:55 what to do if /boot/extlinux.conf is not present in my system? 2023-03-31 13:23:16 inb4 create one, but shouldn't it be there already 2023-03-31 13:23:25 novorol[m]: are you using syslinux to boot? 2023-03-31 13:25:56 nope, grub 2023-03-31 13:26:12 so then it is not needed 2023-03-31 13:27:45 so how to setup apparmor then? because the wiki only has instructions involving this file 2023-03-31 13:28:19 extlinux.conf comes from the syslinux package which you are not using 2023-03-31 13:28:53 you edit /etc/default/grub instead 2023-03-31 13:53:13 frag: use "shellcheck -s sh" to check your script, it will flag any POSIX issues 2023-03-31 13:55:37 rasbeguy: is /dev/sda the device you booted from? (in order to run the Alpine installer), if so is everything unmounted from there before you tried to install? 2023-03-31 13:55:48 raspbeguy: ^^^ 2023-03-31 13:56:17 minimal, no 2023-03-31 13:57:01 sda is my first hdd and sdb is the second one 2023-03-31 13:57:06 I boot from cdrom 2023-03-31 13:57:59 I have a dedicated server at OVH and I'm trying this method to install custom OS https://nicolas.busseneau.fr/en/blog/2021/07/ovh-soyoustart-install-iso-image 2023-03-31 13:59:14 The server ha no IPMI so I have to boot in rescue mode and use qemu to spawn a VM booting on alpine ISO 2023-03-31 14:01:05 so how far did it get? are the disks partitioned as expected? 2023-03-31 14:01:36 I think so 2023-03-31 14:05:13 minimal: hmm, oh interesting, but its another package to install eh 2023-03-31 14:05:57 frag: well it's a "development" tool, you only need to install it wherever you're working on your script 2023-03-31 14:06:19 minimal, here is the partitionning https://termbin.com/a17e 2023-03-31 14:06:54 of course, same foe sdb 2023-03-31 14:06:58 for* 2023-03-31 14:13:01 raspbeguy: and you have /dev/md* devices? 2023-03-31 14:14:07 https://termbin.com/c7n2 2023-03-31 14:23:45 Is building Alpine within the Alpine Docker container supported? The setup doesn't seem to mention it as an option https://wiki.alpinelinux.org/wiki/Creating_an_Alpine_package#Requirements 2023-03-31 14:30:32 r2s: building Alpine? or building an Alpine package? 2023-03-31 14:32:03 building an Alpine aarch64 image from scratch 2023-03-31 14:32:53 r2s: that wiki document is only about creating individual Alpine packages 2023-03-31 14:33:29 yes but the closest I could find the document I need is https://wiki.alpinelinux.org/wiki/Custom_Kernel 2023-03-31 14:33:36 which links to that other page 2023-03-31 14:34:16 there's also this: https://wiki.alpinelinux.org/wiki/How_to_make_a_custom_ISO_image_with_mkimage but I need to modify the kernel 2023-03-31 14:41:53 r2s: I think you're mixing up/combining two distinct things - (1) building Alpine from source, and (2) creating an Alpine ISO/disk image 2023-03-31 14:42:07 you could do one, or other, or both 2023-03-31 14:42:37 is there an api of pkg.alpinelinux.org? 2023-03-31 14:42:39 number (2) is handled by the scripts in the aports git repo (in scripts directory) 2023-03-31 14:42:45 https://pkgs.alpinelinux.org/contents?file=setcap&path=*bin*&name=&branch=edge 2023-03-31 14:42:53 enter this in browser will return the rsult 2023-03-31 14:43:07 wonder if curl could make it 2023-03-31 14:43:32 minimal: I would imagine it's just two steps, build everything, then package it 2023-03-31 14:43:45 I need to just add in another step, modify, build, package 2023-03-31 14:48:51 there is https://github.com/genuinetools/apk-file 2023-03-31 14:49:09 wonder if curl could do the job 2023-03-31 15:07:52 aha, i figured out 2023-03-31 15:07:54 curl -sf -G -d file=setcap -d path="*bin*" -d name="" -d branch=edge https://pkgs.alpinelinux.org/contents | lynx -stdin 2023-03-31 15:14:35 piping curl to lynx? what the heck... 2023-03-31 15:15:03 yes. 2023-03-31 15:15:24 curl send the data using GET method, and lynx parse the data 2023-03-31 15:15:38 the website does not support POST method 2023-03-31 15:17:21 what about shellcheck? 2023-03-31 15:17:40 frag: 2023-03-31 15:18:01 it give warnings about things being not posix 2023-03-31 15:19:01 *gives 2023-03-31 15:19:04 if what you care about is portability 2023-03-31 15:19:41 what is not posix reggiere[m] 2023-03-31 15:19:44 reggiere[m]: yeah, minimal mentioned it also, its interesting solution, but was hoping to not add more packages/programs :] 2023-03-31 15:25:23 uniqNuuid: so why not use lynx directly to retrieve the URL? that's what lynx does, it's a browser 2023-03-31 15:28:32 minimal: we do things in script 2023-03-31 15:28:43 curl -sf -G -d file=setcap -d path="*bin*" -d branch=edge https://pkgs.alpinelinux.org/contents | lynx -stdin -dump | sed -n -e '/File/,/Copyright/ p' | sed '$d' | column -t 2023-03-31 15:28:44 done. 2023-03-31 15:35:33 Is there any chance wxMaxima would be added to Alpine? It requires tk and a lisp (sbcl or clisp). Unless I have missed something, it looks like Alpine does not have any Computer Algebra System in the package repositories. 2023-03-31 15:37:04 "reggie.re: yeah, minimal..." <- it has two dependencies, I dont think that would hurt, but obviously thats up to you to decide 2023-03-31 15:47:59 uniqNuuid: and you can't script passing a url to lynx? 2023-03-31 16:21:30 Hello everyone. Recently i was trying to run an application that uses old linux utilis such as compress and uncompress. I tried to compile them on my desktop pc (fedora 37 x64) and they work, i moved them to the alpine linux installation and everything's okay until i move them to /bin/ and although they still work by using /bin/compress mode they're not found by the shell. 2023-03-31 17:16:42 "Hello everyone. Recently i was..." <- you compiled on fedora and then just moved them? 2023-03-31 17:16:53 or did you recompile them on alpine 2023-03-31 17:18:12 cause alpine is incompatible with binaries from most other distribution and just copying them wont work 2023-03-31 17:18:51 I suggest compiling them on alpine or maybe installing gcompat which is a package that tries to add glibc compatibility to musl, but it is not perfect so I suggest compiling it 2023-03-31 17:18:57 They're built against glibc, while alpine linux uses musl 2023-03-31 17:19:48 random question, do staticly linked musl binaries work on glibc? 2023-03-31 17:20:17 yes, they work on a glibc system 2023-03-31 17:20:19 yes 2023-03-31 17:20:35 *statically 2023-03-31 17:20:55 had to google how to pronounce that word 2023-03-31 17:21:55 minimal: so the only reason glibc binaries do not work without glibc present is because it is always dynamically linked? 2023-03-31 17:22:51 yes 2023-03-31 17:26:45 minimal: enjoy : https://0x0.st/HHcL.txt 2023-03-31 17:26:57 so you don't have to go to the website and search ... 2023-03-31 17:34:03 uniqNuuid: still using both curl for the urlencoding stuff and lynx for the html rendering? I'm sure there's better ways to do that " 2023-03-31 17:35:20 e.g. using curl + the html2text util 2023-03-31 18:05:56 html2text is too simple 2023-03-31 18:24:29 "you compiled on fedora and..." <- Yeah, the alpine system run on a minimal container 2023-03-31 18:27:18 but the program runs, the problem is when i move it to /bin/ 2023-03-31 18:27:53 Ruka[m]: you probably run the binaries in the container 2023-03-31 18:28:50 no, there are no (un)compress binaries in the alpine image 2023-03-31 18:29:09 this is why i run VMs. containers sound like a pain 2023-03-31 18:31:33 I'll try to do all the things in alpine, thanks 2023-03-31 18:32:01 Also, should be noted that it would be useful to have ncompress in the repos 2023-03-31 18:33:58 dewdude: you don't solve these kinds of issues with a VM 2023-03-31 18:34:16 (you would have the exact same issues) 2023-03-31 19:22:14 psykose: after linux-pam-1.5.2-r8, i had to change /etc/pam.d/login from base-session-noninteractive to base-session to get my pam_rundir, and thus sway, back 2023-03-31 19:22:29 i can't help but feel using pam for this in the first place is a bit of a kludge 2023-03-31 20:22:16 am i missing something here? if i do apk --help i see a list of sub commands i can use, if i do apk info --help i see them. by they are not flags of those sub commands 2023-03-31 20:22:19 https://www.mankier.com/8/apk 2023-03-31 20:22:35 apk info --help to see apk --print-arch 2023-03-31 20:27:18 userdocs_: global options works on any subcommands 2023-03-31 20:28:24 what userdocs_ means is a sort of edge case: global options also work on a bare 'apk' (without any subcommands), but are not documented in apk --help 2023-03-31 20:28:34 yes 2023-03-31 20:29:04 oh, that's an issue. 2023-03-31 20:29:30 apk --help does not list global options, but `man apk` lists 2023-03-31 20:29:35 there are very few options that make sense with just apk, however 2023-03-31 20:29:42 i wondered if i was missing something, like a -g flag 2023-03-31 20:29:56 --print-arch is one example. 2023-03-31 20:30:33 yes, which is why it works as global, apk --print-arch or apk info --print-arch 2023-03-31 20:31:15 Print default arch and **exit** 2023-03-31 20:31:29 info is not run at all 2023-03-31 20:33:48 it's not a huge deal, i just never realised gloabls were not show on apk --help 2023-03-31 20:36:06 userdocs_: i wonder zsh completion do that or not `apk --TAB` 2023-03-31 20:37:06 uniqNuuid: are you still querying pkgs.a.o? 2023-03-31 20:38:03 ikke: not me. someone in #bash 2023-03-31 20:38:20 We're seeing high load atm 2023-03-31 20:39:27 yeah, they stopped. they were testing a curl + xml parser + bash script 2023-03-31 20:39:50 2 args to find a pkg name which contains the file 2023-03-31 20:42:57 ikke: what's the db/how is it generated? 2023-03-31 20:43:06 sqlite 2023-03-31 20:43:50 there is a scheduled job every 15 minutes that fetches the index + updated packages from dl-cdn and updates the sqlite db 2023-03-31 20:46:24 do you generate the filelists by untarring? 2023-03-31 20:47:36 ovf: https://gitlab.alpinelinux.org/alpine/infra/aports-turbo/-/blob/master/tools/import.lua#L49 2023-03-31 20:49:06 Goddamn ip route add is annoying 2023-03-31 20:49:38 If you run 'ip route add' with the specification it prints with 'ip route' 2023-03-31 20:49:40 cockliuser[m]: the man page if ip is mess 2023-03-31 20:49:45 thanks! you don't seem to be using fts? 2023-03-31 20:50:10 * 'ip route', you get RTNETLINK: invalid argument 2023-03-31 20:50:23 ovf: fts? 2023-03-31 20:52:06 https://www.sqlite.org/fts5.html 2023-03-31 20:52:38 without fts, every where ... glob ... is by necessity a full table scan 2023-03-31 20:52:48 at least i don't see any smarts in db.lua 2023-03-31 20:54:07 yeah, no full text search smartness 2023-03-31 20:54:50 from my experience, this is where the slowdowns come from 2023-03-31 20:55:13 can they download the db and use that? 2023-03-31 20:55:28 exactly. how about you just put that sqllite db up next to APKINDEX? :-) 2023-03-31 20:56:05 it would work, let them grab that and do their thing locally? 2023-03-31 20:56:52 it's pretty much useless without package cache, but i still want it locally anyway. probably used to archlinux having that 2023-03-31 20:57:56 setup-apkcache 2023-03-31 20:58:12 (or create a symlink from /etc/apk/cache to somehwere) 2023-03-31 21:00:44 i know, but since i'm normally interested in filelists of packages i don't have, and i'm not planning on having a full alpine mirror on my local disk, a cache won't help 2023-03-31 21:18:49 Hey folks, after installing alpine and setting up the disk with "cryptsys" option, I only see a blackscreen after reboot. No prompt, my keyboard also isn't lit up. Any ideas? 2023-03-31 21:22:48 tomleb: add "kms" to the features list in /etc/mkinitfs.conf and regenerate initramfs? 2023-03-31 21:23:56 i'll try this thank you 2023-03-31 21:27:27 It appears the dropbear openrc script complains about /usr/bin/dropbearkey not being found, any ideas? 2023-03-31 21:35:06 NepNepdmsalwaysopen[m]: does this file actually exist? 2023-03-31 21:36:33 It doesn't 2023-03-31 21:37:14 install dropbear package. or fix it with apk fix 2023-03-31 21:41:50 # apk fix -d dropbear did not fix the issue, i also tried # apk fix -d dropbear-ssh, and nothing 2023-03-31 21:43:29 On edge fyi 2023-03-31 21:44:20 what happens if you remove -d flag? 2023-03-31 21:45:06 and btw does dropbear binary exist? 2023-03-31 21:45:25 and run apk update first 2023-03-31 21:47:21 1. Doesn't improve things 2023-03-31 21:47:22 3. I did 2023-03-31 21:47:22 2. Good point, it doesn't 2023-03-31 21:49:18 Hmm. Does anything from apk info --contents dropbear exist? 2023-03-31 21:51:22 No output, and dropbear-ssh prints just usr/bin/ssh 2023-03-31 21:53:29 Super strange. 2023-03-31 21:54:07 What does 'grep dropbear /etc/apk/world' output? 2023-03-31 21:58:55 Ah... I see my mistake, I'm continuing some work from yesterday, and to check whether i previously installed the package i ran `apk list | grep dropbear`, of course, the issue is i forgot that command lists remote packages too, unless -I is specified 2023-03-31 21:58:55 Sorry for the wasted time 2023-03-31 22:00:18 Happens :) 2023-03-31 23:21:30 question about replacing mkinitfs with dracut: the apk triggers for generating the initramfs with them seem to output to different files, while the syslinux config script does not have a config option to change the entire name of the initramfs, considering that, is there a way to make those work together without overwriting either? 2023-03-31 23:23:55 did you look at README.alpine from the dracut-doc package? It discusses this 2023-03-31 23:32:12 ahhh i see, i did not see that 2023-03-31 23:56:22 minimal: looks like kms is there already 2023-03-31 23:57:46 tomleb: ok, perhaps some other kernel module is missing from the initramfs then 2023-03-31 23:58:15 have you tried removing "quiet" and adding "debug_init" to the cmdline passed by the bootloader?