2023-06-01 02:32:47 alpine linux successfully installed on my main PC. so far so good, just gotta sort out flatpak and pulsewire 2023-06-01 02:38:16 flatpak should be very painless, just follow the instructions on the flatpak site for Alpine 2023-06-01 02:38:30 As for pipewire, apk add wireplumber, which will pull in the pipewire things you need 2023-06-01 02:38:36 flatpak is proving a bit painful to me. 2023-06-01 02:38:41 Depending upon your environment/DE, you might want to stick your user in the audio group as well 2023-06-01 02:38:47 LACampbell: That's new. what's going on? 2023-06-01 02:38:49 followed the instructions on the wiki, but get: 2023-06-01 02:38:51 flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo 2023-06-01 02:38:52 sorry 2023-06-01 02:39:01 $ flatpak search signal 2023-06-01 02:39:03 error: While opening repository /var/lib/flatpak/repo: opening repo: opendir(/var/lib/flatpak/repo): No such file or directoryy 2023-06-01 02:39:11 https://flatpak.org/setup/Alpine 2023-06-01 02:39:24 yeap that's the one I followed 2023-06-01 02:39:27 I'd follow these instructions, make sure your system is up to date, and give a reboot before you proceed further 2023-06-01 02:40:13 hmmm is it because I installed it as root? I deleted it, re-installed it as a normal user, and I get a different error when remote-adding. that's promising 2023-06-01 02:47:03 ah added dbus and polit. now I get 2023-06-01 02:47:29 $ flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo 2023-06-01 02:47:32 error: Flatpak system operation EnsureRepo not allowed for use 2023-06-01 02:47:47 user is part of the flatpak group 2023-06-01 02:49:30 ok the alpine wiki had the "--user" flag, while the flatpak page didn't. works when I added that. back to error while searching though. one more restart 2023-06-01 02:51:03 same error! I'm stumped. sorry for the wall of text 2023-06-01 02:58:10 are you even in a dbus session 2023-06-01 02:58:40 pretty sure I am. how might i tel? 2023-06-01 02:58:53 it's running in rc-status 2023-06-01 03:05:27 that's not the user one 2023-06-01 03:05:35 echo $DBUS_SESSION_BUS_ADDRESS 2023-06-01 03:08:05 unix:path=/tmp/dbus-HPCFHiURjR,guid=915aec3f8c73dc4401b123cc64780afc 2023-06-01 03:08:28 also, I seem to be able to search and install with alpine if I give every command a --user flag. does everyone else have to do this? 2023-06-01 03:10:23 can install with the "--user" flags, but can't run anything. damnit 2023-06-01 03:12:20 you have a dbus user session then since it's set 2023-06-01 03:12:44 you probably broke /var/lib/flatpak somehow 2023-06-01 03:13:06 there's various amounts of deleting things in it and `flatpak repair` to run until it works 2023-06-01 03:14:04 deleting what? I've deleted it and re-installed it from apk pages like 5 times. also tried repair 2023-06-01 03:14:27 if i `rm -r /var/lib/flatpak` i get the same error as you 2023-06-01 03:14:33 then if i run `doas flatpak repair` after it works again 2023-06-01 03:14:45 thanks, let me try 2023-06-01 03:15:18 my god, that worked 2023-06-01 03:15:21 thank you so much 2023-06-01 03:15:27 I can run flatpak apps 2023-06-01 03:15:44 now iirc it implies --user as long as you never run it as root again 2023-06-01 03:15:51 yeah don't need the --user flag 2023-06-01 03:15:54 so just `flatpak install/update` will work with --user etc 2023-06-01 03:15:59 now you can forget about it i guess 2023-06-01 03:18:47 iirc i had the same issue ootb when i installed flatpak. is this something that can be fixed in the package itself? 2023-06-01 03:20:11 it's not a package issue 2023-06-01 03:21:12 i never run into it on new installs 2023-06-01 03:21:32 every time it happens it's a new person that installs it, runs whatever commands that happen to break it into system mode, then they have to undo that 2023-06-01 03:21:57 could be wrong however 2023-06-01 03:22:01 i'll see if i can reproduce it in a VM 2023-06-01 03:22:17 yeah like I said before the setup on the flatpak site is subtly different than the setup on the alpine linux wiki 2023-06-01 03:22:23 look the same at first glance 2023-06-01 03:22:34 it would be helpful to have the full shell history of any reproduction 2023-06-01 03:22:36 it worked without issue on my kde install using discover btw 2023-06-01 03:23:04 https://wiki.alpinelinux.org/wiki/PipeWire#Running curious why the wiki recommends running pipewire this way, and not as an openrc service? 2023-06-01 03:23:58 you can't generally run audio daemons as system services 2023-06-01 03:24:06 well, you 'can', every project tells you not to tho 2023-06-01 03:24:35 huh. that's how I had them set up on my old install, another distro 2023-06-01 03:24:45 good to know though 2023-06-01 03:24:48 first thing i notice on this flatpak article is this flatpak group thing that you don't have to be in 2023-06-01 03:26:47 can you remove a user from a group in stock alpine? or should I just grab groupdel 2023-06-01 03:27:44 setup-desktop for plasma doesn't start polkit and elogind which the article for manually setting it up recommends. not having elogind on startup prevents the sddm shutdown and reboot buttons from being used. not sure if this is intended; should i open a bug report? 2023-06-01 03:27:49 that wouldn't be any different than editing the text file by hand 2023-06-01 03:28:26 maria: they are started automatically afaik 2023-06-01 03:28:48 but regardless it's all optional 2023-06-01 03:29:23 the script only adds dbus and sddm to startup for plasma. for gnome it does add elogind. 2023-06-01 03:32:31 what i mean is it's more involved than that and adding elogind doesn't actually do anything iirc, it gets started by itself via pam module from login 2023-06-01 03:32:37 could be wrong but that's how it worked the last time i tried 2023-06-01 03:34:01 should my tests for this stuff in a VM be edge or 3.18? 2023-06-01 03:34:22 probably edge 2023-06-01 03:34:31 don't think it matters for this 2023-06-01 03:43:53 how am I supposed to set my $XDG_RUNTIME_DIR? If I am readign this right I need it for pulse audio 2023-06-01 03:43:59 wiki says elogind will do it for me but no luck 2023-06-01 03:44:04 maybe I'll just do it manually 2023-06-01 03:46:28 elogind does normally do it 2023-06-01 03:46:38 ah 2023-06-01 03:46:43 apk add util-linux-login 2023-06-01 03:46:44 then relog 2023-06-01 03:52:32 do I need elogind? I ended up deleting it and specifying it manually 2023-06-01 03:54:05 that having been said I am completely failing to get pipewire working. added "exec /usr/libexec/pipewire-launcher" to my .xinitrc, and "$XDG_RUNTIME_DIR" is set. but "wpctl status" says it can't connect to pipewire 2023-06-01 03:54:57 what does `ps aux | grep wire` output 2023-06-01 03:55:41 I've got /usr/bin/pipewire, /usr/bin/wireplumber, and /usr/bin/pipewire-pulse 2023-06-01 03:56:55 ok interestingly if I start /usrlib/exec/pipewire-launcher manually ion the command line stuff seems to work 2023-06-01 03:57:08 what is your xinitrc 2023-06-01 03:57:32 i can already guess what the issue is but i can show it directly in that 2023-06-01 03:58:00 ... one moment I need a system clipboard 2023-06-01 03:58:58 https://gist.github.com/LAC-Job-Interview/37a370a8c78dac15ae2c7a90653f3461 2023-06-01 03:59:13 well 2023-06-01 03:59:23 after you exec dbus-run-session openbox-session 2023-06-01 03:59:25 the script ends 2023-06-01 03:59:26 hey look I posted the coords of where I live. you're all invited to dinner 2023-06-01 03:59:32 oh 2023-06-01 03:59:43 you can't move that up either 2023-06-01 03:59:52 all the pipewire stuff needs the dbus user session you get from the exec line 2023-06-01 03:59:59 you have to run it after from inside an openbox script or w/e 2023-06-01 04:00:15 aha, I'll add it to my autostart 2023-06-01 04:00:17 it probably has some mechanism for 'run something after launch' 2023-06-01 04:00:17 yeah 2023-06-01 04:00:32 as for elogind/the xdg thing, you don't explicitly need it no 2023-06-01 04:00:46 but you shouldn't manually create an xdg dir because that breaks for people pretty easily 2023-06-01 04:01:14 easiest way to get an xdg dir made for you is probably `apk add util-linux-login turnstile; rc-update add turnstiled`, then relog 2023-06-01 04:01:41 oh I'll need elogind for loginctl. so I will use it 2023-06-01 04:01:44 well, also rc-service turnstiled start if not rebooting 2023-06-01 04:01:44 sure 2023-06-01 04:02:03 the reason you didn't have one is because you didn't have the pam-enabled login(1) so it didn't give you one into the session 2023-06-01 04:02:13 default login from bb just logs you in without integrating into anything 2023-06-01 04:04:33 huh flatpak doesn't have the issue ootb now. i wonder what caused it in the past? it's been a year or so i think and back then i needed to manually create a directory iirc. 2023-06-01 04:08:01 maria: I thought it might have been an old config of mine, since this home dir was from anotehr linux install. but there was no .config/flatpak 2023-06-01 04:08:33 psykose: appreciate the help. flatpak apps seem to be picking up mic and stuff now. 2023-06-01 04:08:52 glad it works :) 2023-06-01 04:09:12 I've run alpine on my server and WSL2 for years. cool to have it on the desktop. all matching 2023-06-01 04:09:14 maria: iirc they did fix some stuff in the past few releases over a year or so, though there's still certain ways to break it 2023-06-01 04:09:31 it would be nice to get a full shell history when someone does break it (like earlier) but it's impossible to find out otherwise 2023-06-01 04:10:02 in my experience it was fixed like a year ago for the easy common case of just adding a repo and using it as a user 2023-06-01 04:40:38 looks like elogind is started on login it's just the sddm buttons aren't usable. 2023-06-01 04:40:56 trying to figure out what fixes the firefox CSD buttons now :) 2023-06-01 04:47:43 installing foliate fixes it so i assume it's one of the dependencies for it 2023-06-01 04:48:55 it's librsvg 2023-06-01 04:50:21 you mean for firefox? 2023-06-01 04:50:24 yeah 2023-06-01 04:50:54 sure, i guess i can add that 2023-06-01 04:51:06 next time i upgrade it 2023-06-01 04:54:52 hmm 2023-06-01 04:55:03 though something makes me think that's not a dep of firefox specifically in this case 2023-06-01 04:55:16 which csds are you referring to 2023-06-01 04:57:14 the close maximise and minimise buttons on the right. by default on plasma at least firefox launches with csd where the tab bar is combined with the window controls instead of ssd. i can take a screenshot with and without the dependency installed to show the difference. 2023-06-01 04:59:45 https://i.imgur.com/w7iQT0y.png 2023-06-01 04:59:50 https://i.imgur.com/p7XvdJt.png 2023-06-01 05:02:17 when launched without the dependency and with MOZ_ENABLE_WAYLAND=1 there's output in the terminal of a gtk warning and being unable to load pixbuf from icon theme. it's weird that that terminal output doesn't appear without MOZ_ENABLE_WAYLAND=1 despite the issue still being present. 2023-06-01 05:17:59 yeah, that's not a firefox thing afaict 2023-06-01 05:18:18 it's firefox drawing gtk decorations from svg icons, and then gdk-pixbuf requires the svg loader from librsvg 2023-06-01 05:19:00 strictly speaking it's a "nothing" dependency, just something you get as part of a complete desktop, but not something you generally specify everywhere all over the place (because this is one of dozens of such things) 2023-06-01 05:20:37 i'll still probably add it next upgrade, but everyone would've had librsvg already by installing like anything else as part of a complete desktop 2023-06-01 05:24:07 okie. sorry for all the noise over so little aha ^^ 2023-06-01 05:29:49 np :) 2023-06-01 07:11:39 Hi. It seems to me that mongodb sever was removed from Alpine Linux. Is there an easier way to install mongodb than compiling it on the system which I guess still would work? 2023-06-01 07:12:51 I've seen a guide that adds v3.6 repositories, but is it smart to do that on a 3.18 system? 2023-06-01 07:36:20 no 2023-06-01 07:53:11 Any guide that says "add vX.X repo" and your Alpine version is != vX.X, is not smart 2023-06-01 08:03:01 in general most guides are not smart 2023-06-01 09:26:15 Helloo. I am using an ARM soc that is an A7 with VFPv4 and NEON. Am I right in thinking the armv7 images are compiled with hard float support? Or is it only available in the armhf images? 2023-06-01 09:27:11 I was looking for a "generic arm" image for armhf, and wondered if that is implied for the armv7 target 2023-06-01 09:30:13 armv7 is armv7 2023-06-01 09:30:16 armhf is armv6 2023-06-01 09:30:49 Ahh 2023-06-01 09:30:52 Thanks 2023-06-01 09:35:11 specifically armv7 is vfpv3-d16 hf and armhf is vfpv2 hf 2023-06-01 09:44:55 Hi, I wanted to use and test the hardened_malloc package system-wide. On the GitHub of the project, they instructed to use /etc/ld.so.preload: 2023-06-01 09:44:55 I tried and do lsof (not busybox lsof) but it seems that the library isn't used. What's the solution? 2023-06-01 09:44:55 > On traditional Linux-based operating systems, hardened_malloc can either be integrated into the libc implementation as a replacement for the standard malloc implementation or loaded as a dynamic library. Rather than rebuilding each executable to be linked against it, it can be added as a preloaded library to /etc/ld.so.preload. 2023-06-01 09:45:37 musl doesn't support any global ld.whatever thing 2023-06-01 09:45:57 you'd have to LD_PRELOAD it via normal environment using your imagination for how to do that for what you want to run 2023-06-01 09:54:56 also I've found this on dustri.org 2023-06-01 09:54:56 > Note that musl doesn't use /etc/ld.so.conf but /etc/ld-musl-$(ARCH).path instead. You can check that's effectively being used after a reboot by running lsof /usr/lib/libhardened_malloc.so. 2023-06-01 09:54:56 How to use that? 2023-06-01 10:01:54 i don't think that does what you want 2023-06-01 10:02:12 that's basically an ld_library_path tunable and not something that preloads libraries 2023-06-01 10:18:50 psykose, thanks, I was confused by the presence of a 32 bit HF and a 32 bit *other* but I see now the distinction is only to make clear you dont have a v6 soft float option 2023-06-01 10:19:17 i would've personally named them v6hf v7hf or something :p 2023-06-01 10:19:55 something something history 2023-06-01 10:25:59 armhf was added quite recently for alpine ;p 2023-06-01 10:26:14 and i don't think anyone else uses armhf to mean v6hf, do they 2023-06-01 10:26:17 debian is v7hf 2023-06-01 12:46:30 raspbian did something different/stupid in that regard i can't remember. 2023-06-01 13:05:54 invoked, the pi1 could run debian armel, but that would ignore the hf (hardware floating point); debian armhf meanwhile wasn't compatible with pi1 because other things were missing 2023-06-01 13:06:04 invoked, so they invented their own thing they also called armhf that sat somewhere in between 2023-06-01 13:06:13 invoked, i stand by my vision that they should have called it armpi 2023-06-01 13:07:04 iirc debian armhf is v7hf and pi1 is v6hf 2023-06-01 13:07:13 so that ofc doesn't work 2023-06-01 13:07:22 and alpine armhf is like that 'own thing' in this case since it's also armhf 2023-06-01 13:07:27 but i didn't check exactly what raspbian is 2023-06-01 13:09:26 pi1 uname is v5 2023-06-01 13:12:27 you mean the kernel they shipped? why? the actual hardware is v6 2023-06-01 13:12:46 debian armel is v5 but if they targetted rpi1 what was the point 2023-06-01 13:21:25 i'm 99% sure 2023-06-01 13:21:32 (but not 100%) 2023-06-01 15:02:14 minimal: I've found the reason my /etc/default/grub was already fully equipped. It was a left-over from previous installation attempts. 2023-06-01 15:04:50 msiism: that's what I suspected 2023-06-01 15:11:03 Hm… now grub-install fails with: "error: /usr/lib/grub/modinfo.sh doesn't exist. Please specify --target or --directory." 2023-06-01 15:11:25 I did run `grub-install --target=i386-pc /dev/sda`, though. 2023-06-01 15:13:20 normally it checks /usr/lib/grub/$target/modinfo.sh 2023-06-01 15:14:11 /usr/lib/grub is empty. 2023-06-01 15:14:14 msiism: is the grub-bios package installed? 2023-06-01 15:14:24 I just installed grub. 2023-06-01 15:14:45 well you're not going to get far without grub-bios package also... ;-) 2023-06-01 15:14:50 I mean, it worked yesterday… 2023-06-01 15:15:12 But maybe for strange reasons… 2023-06-01 15:15:30 so then yesterday grub-bios must have been installed 2023-06-01 15:15:51 Well, I didn't install it manually, at least. 2023-06-01 15:16:04 But yeah, /usr/lib/grub is now not empty anymore. 2023-06-01 15:16:25 but yesterday you ran setup-disk at some time? 2023-06-01 15:16:41 I did. 2023-06-01 15:16:51 so that likely installed grub-bios 2023-06-01 15:16:53 And before installing GRUB. 2023-06-01 15:17:02 Hm… 2023-06-01 15:18:05 it's going to be hard to document a working set of steps if you don't start from a "blank" machine (i.e. VM) and repeat the same steps in the same sequence... 2023-06-01 15:18:50 Agreed. 2023-06-01 15:20:02 Okay, GRUB_PRELOAD_MODULES is apparently not needed. 2023-06-01 15:20:51 Installation successful. 2023-06-01 15:22:59 By the way: I noticed that setup-user doesn't create the user's home directory. 2023-06-01 15:25:15 it does? it calls adduser -f .. someuser 2023-06-01 15:25:21 that creates a /home/someuse 2023-06-01 15:25:28 -g * 2023-06-01 15:27:22 setup-user calls "adduser" which should create a home directory unless the "-H" option is specified (which setup-user doesn't) 2023-06-01 15:27:31 Okay, I'll try this again as part of the next iteration. 2023-06-01 15:31:01 Oh, I think I ran setup-user before the chroot. 2023-06-01 15:31:06 That could be the reason. 2023-06-01 15:52:45 Okay, I now have a version that works all the time. Just gotta smooth out some rough edges. 2023-06-01 17:18:34 Habbie: yeah, it was that namespace collision. thanks, i couldn't remember. it would have made more sense for it to be called 'armpi' or something, at least in 2012. 2023-06-01 17:18:48 yes exactly 2023-06-01 17:18:50 also in 2023 2023-06-01 17:20:14 i just remember the confusion it created. people trying to use debian armhf on pi, et al 2023-06-01 17:20:26 worse, people trying to use a few debian armhf packages on pi 2023-06-01 17:20:33 right 2023-06-01 17:20:41 i've had to explain this many times 2023-06-01 17:21:02 lol, i also remember debian people completely disowning raspi having any similarity to debian 2023-06-01 17:21:26 well, #debian has had plenty of pain trying to support various forks 2023-06-01 17:21:34 and raspbian/raspios is -just- sufficiently different 2023-06-01 17:21:37 like the dhcpcd madness 2023-06-01 17:21:48 i don't know how raspbian is now, but it was a mess in, whatever, 2012 2023-06-01 17:22:07 raspbian is dead; raspberry pi os lives 2023-06-01 17:22:17 raspberry pi os 64 bit literally points to debian mirrors for 99% of packages 2023-06-01 17:22:26 it just struck me as made by people who never worked on operating systems before 2023-06-01 17:22:32 32 bit is still mostly that same armhf-should-have-been-armpi thing 2023-06-01 17:22:38 plus modern-ish kernels if you run on a newer pi 2023-06-01 17:25:50 i think the raspberry pi org was doing all that stuff for the first time ever 2023-06-01 17:25:57 no prior experience 2023-06-01 17:26:10 it was like broadcom made this thing for them, now go figure out the rest of it 2023-06-01 17:30:04 do any laptop have good speakers? mobile phones are quite good right ... 2023-06-01 17:57:50 invoked, yeah 2023-06-01 18:17:18 I cannot compile ikemen-go on the PinePhone 2023-06-01 18:18:07 My condolences 2023-06-01 18:18:22 https://paste.centos.org/view/97ade223 2023-06-01 18:19:34 i guess that the compiled version is 64bit 2023-06-01 18:24:10 Also, how does it relate to Alpine? Isn't it an upstream issue? 2023-06-01 18:26:22 it may be a problem when you are on Alpine 2023-06-01 18:27:29 like xgifwallpaper maybe IDK, it wasn't building on alpine cause some var didn't work 2023-06-01 18:27:29 I tried on pmso that's why I asked here 2023-06-01 18:28:50 Did you install all dependencies of ikemen listed in their build instructions? 2023-06-01 18:29:12 i think so , it's a list for debian so the names are different 2023-06-01 18:32:53 Did you install mesa-dev? It has definition for GLboolean and other types 2023-06-01 18:33:27 yes i got some missing header or something before 2023-06-01 18:36:01 git libxcursor-dev libxrandr-dev pkgconf alsa-lib-dev xorg-dev mesa-dev gtk+3.0-dev go 2023-06-01 18:37:08 they have a 150 line build.sh to run a single go build command 2023-06-01 18:37:16 man who writes this shit 2023-06-01 18:40:00 that gl-js package should have included GLES/gl.h in preamble in types_opengles.go . So, upstream issue 2023-06-01 18:41:39 (I'm not well-versed in go though. Please correct me if I'm wrong) 2023-06-01 18:44:02 https://img.ayaya.dev/xsu9bB0SfEEI 2023-06-01 18:44:03 well that was easy 2023-06-01 18:44:59 go build -trimpath -v -tags=gles2 -o Ikemen_GO_Linux ./src/ 2023-06-01 18:44:59 mesa-dev libxrandr-dev libxcursor-dev glfw-dev libxi-dev gtk+3.0-dev alsa-lib-dev 2023-06-01 18:45:14 then i used the data files from the release tarball since it's missing in the repo for some reason 2023-06-01 18:48:18 Woah 2023-06-01 18:51:33 Hi all tying to do a Sys install, lvm over raid, but I can't seen to keep all the setting during a reboot, what am I missing? 2023-06-01 18:52:19 does setup-disk finish succesfully? 2023-06-01 18:52:39 txnintn: what settings? Also if you're reboot then you've done the install so how are you "trying to do a Sys install" and failing? 2023-06-01 18:55:03 I have to jump around a little, I setup the raid and lvm, the do the install. 2023-06-01 18:57:23 on a RPI4 using 2 usb drives and booting from a sd card. 2023-06-01 18:57:35 can't you specify "USE_RAID=1 USE_LVM=1" to setup-disk for ti to do that instead? 2023-06-01 18:58:04 ah, don't think setup-disk is going to handle that for a RPI 2023-06-01 18:58:50 I thing it's disk -r does raid but you have to add the lvm peice. 2023-06-01 19:22:42 How do I downgrade one particular package? I feel like I asked before, but I don't remember the answer 2023-06-01 19:22:56 assuming I installed a newer version myself and I want to downgrade to what's in the repo 2023-06-01 19:24:02 Newbyte: apk add package= 2023-06-01 19:24:21 ikke: I tried, but it complains 2023-06-01 19:24:39 ACTION sent a code block: https://matrix.org/_matrix/media/v3/download/matrix.org/OMFhGVPPtSLGAhasMecQkbsi 2023-06-01 19:24:57 include the revision 2023-06-01 19:26:20 thanks, that worked 2023-06-01 19:28:38 what is this _p123412523523 thing pma adds 2023-06-01 19:33:30 psykose data files? 2023-06-01 19:34:00 i am now building with your command 2023-06-01 19:37:57 what tarball? latest is empty 2023-06-01 19:38:45 https://github.com/ikemen-engine/Ikemen-GO/releases/tag/v0.99.0-rc.1 2023-06-01 19:40:07 "what is this _p123412523523..." <- it's a hack to ensure it's newer than your previous build when you build using a local directory 2023-06-01 19:40:26 why is it empty here? 2023-06-01 19:40:34 why is what empty 2023-06-01 19:40:37 if you look closely it's a date 2023-06-01 19:40:44 the tarball 2023-06-01 19:40:51 the fuck are you downloading 2023-06-01 19:41:05 obviously a tarball 2023-06-01 19:41:09 i can tell you this is very much not empty https://img.ayaya.dev/6Ul6DONoR7yg 2023-06-01 19:41:15 there ought to be some empty tarball out there 2023-06-01 19:41:29 ah right 2023-06-01 19:41:35 that link on github web page it shows empty too 2023-06-01 19:41:47 they break the git-archive tarballs: https://github.com/ikemen-engine/Ikemen-GO/blob/v0.99.0-rc.1/.gitattributes#L1 2023-06-01 19:42:30 apologies, i meant the 'zip file' 2023-06-01 19:42:35 evidently this was impossible to figure out 2023-06-01 19:44:16 data files = data/* ? 2023-06-01 19:44:48 break tarballs? what if you want the source of a release? 2023-06-01 19:45:05 i mean how can you fetch it? out of curiosity 2023-06-01 19:55:02 https://paste.centos.org/view/98677a8f 2023-06-01 19:58:02 looks like it's just broken on arm 2023-06-01 19:58:16 probably because it doesn't actually include the header 2023-06-01 19:58:25 https://github.com/fyne-io/gl-js/blob/master/types_opengles.go#L18 2023-06-01 19:58:30 they actually include nothing on linux 2023-06-01 19:59:06 it's fixable if you fork the dep and make the changes yourself and change around some imports i guess 2023-06-01 20:03:30 what changes? 2023-06-01 20:05:24 #include 2023-06-01 20:08:11 what package should I fork? 2023-06-01 20:08:18 They do not even have issues tracker active 2023-06-01 20:09:33 i already linked the file in the repo? 2023-06-01 20:10:31 yes but I am not sure what ikemen-go dep it is 2023-06-01 20:10:45 it's literally what i linked 2023-06-01 20:11:16 gl-js? 2023-06-01 20:12:03 IIRC that link is an alpine package also 2023-06-01 20:12:38 i am legitimately confused how linking to a random .go file in a repo you have to edit, imported by the thing you are trying to build, can be confused for something else 2023-06-01 20:12:41 you'll figure it out 2023-06-01 20:14:26 to be exact, it's literally the line i linked 2023-06-01 20:14:39 and it's imported from https://github.com/ikemen-engine/Ikemen-GO/blob/b48c80d9ae013c2d4ec15c26ce435ce927505ff9/src/render_gl.go#L11 and https://github.com/ikemen-engine/Ikemen-GO/blob/b48c80d9ae013c2d4ec15c26ce435ce927505ff9/src/system_glfw.go#L9 2023-06-01 20:15:29 ah it's a dep of go , I though a dep like like glfw-dev 2023-06-01 20:16:47 thanks ok let's see 2023-06-01 20:18:09 you can do like ifdef __linux__ iirc, or just #cgo linux CFLAGS: -Dos_linux and ifdef os_linux i guess 2023-06-01 20:18:12 a million ways to get that to work 2023-06-01 20:19:36 is just adding that header in`https://github.com/fyne-io/gl-js/blob/master/types_opengles.go#L18` enough? 2023-06-01 20:21:51 great opportunity to learn some programming and how all this works and find out :) 2023-06-01 21:14:20 I've got elogind running, but 'loginctl hibernate' requires root permissions. I think i solved this in other distros by adding my user to the 'power' group, but no such group in alpine. what's the best approach here? 2023-06-01 21:20:05 it's some random group i forget 2023-06-01 21:20:32 really should have saved my groups before I wiped my root partition 2023-06-01 21:26:58 I think wheel should allow that  2023-06-01 21:30:02 definitely not wheel: uid=1000(lewis) gid=1000(lewis) groups=1000(lewis),5(tty),10(wheel),18(audio),23(input),27(video) 2023-06-01 21:30:20 Plugdev?  2023-06-01 21:30:48 I am not sitting at my machines to id my user, but those come to mind 2023-06-01 21:30:58 plugdev is for pluggable devices generally, i doubt it would affect logind 2023-06-01 21:31:26 having polkit running too? 2023-06-01 21:32:11 polkit is in my rc-status 2023-06-01 21:33:31 do you have a polkit auth agent running 2023-06-01 21:34:37 well then you better go catch it 2023-06-01 22:02:23 psykose: that was a good dad joke 2023-06-01 22:02:36 abby: thanks for the recommendation. i will find out what that is and get one up and running in that order 2023-06-01 22:02:42 thanks mom\ 2023-06-01 22:09:58 lol 2023-06-01 22:10:25 ok I think I am going to fix the issue of swap resetting itself on boot. hopefully whatever fixes that will have a positive impact on my logicntl situation 2023-06-01 22:22:55 ok there was a swap openRC service. that seems to have solved that issue 2023-06-02 07:11:05 apk search does not distinguish installed/not installed? 2023-06-02 07:16:08 You have apk-list for that 2023-06-02 07:16:48 i always think that apk list/search has overlap functionality 2023-06-02 07:29:59 Yeah, that's possible 2023-06-02 08:19:02 is there any way to configure apk to always ignore a given package (such that it will never be installed even if depended on by another package)? 2023-06-02 08:19:10 i.e. the equivalent of always passing --ignore 2023-06-02 08:23:06 jbg: `apk add !package`? 2023-06-02 08:26:34 ah cool, seems like it should work. thank you 2023-06-02 08:38:47 ptrc: unfortunately that doesn't seem to do the same thing as --ignore 2023-06-02 08:39:00 i don't want this package to ever be installed, but i still want to install other packages that depend on it 2023-06-02 08:39:31 not sure what you mean by --ignore, but i suppose in this case you can add an empty virtual package: `apk add -t package` 2023-06-02 08:39:50 this way you do have a package in your system that satisfies the constraints 2023-06-02 10:20:24 ptrc: thanks very much, works well 2023-06-02 11:56:17 Hello again.. Is there any way to build an alpine image with a sys install already on it? 2023-06-02 12:33:41 psykose: Docker (and also kubernetes and systemd) only use cgroups2. 2023-06-02 12:33:54 But Alpine's default value for rc_cgroup_mode enables both cgroup1 and cgroup2. 2023-06-02 12:34:15 I disabled cgroup1 and nothing seems to break -- I don't know what software still relies on cgroup1 (if any). 2023-06-02 14:46:32 yo 2023-06-02 14:48:49 pardon? 2023-06-02 15:14:59 anyone here know anything about flatpak and steam? 2023-06-02 15:18:11 eris: it helps to ask more targeted questions 2023-06-02 15:18:22 (I have not used flatpak, ftr) 2023-06-02 15:18:24 that's true :) 2023-06-02 15:18:39 in particular, steam under flatpak doesn't have a functioning UI for me 2023-06-02 15:18:53 it will load, but the UI only updates whenever the window's size is changed 2023-06-02 15:19:04 and otherwise just flickers between two frames 2023-06-02 16:29:35 I had to disable Steam UI hardware acceleration to fix that on my i915. Wasn't an issue before the recent UI update  2023-06-02 16:30:10 That aside, everything else works fine, including overlay once actually in-game 2023-06-02 16:44:23 where do i do that? 2023-06-02 16:47:50 oh, found it 2023-06-02 16:47:51 zero luck 2023-06-02 17:30:09 I have a fresh Alpine install and need XDG_RUNTIME_DIR running so I installed elogind. To my understanding XDG_RUNGIME_DIR should just be set when i log in again (given that it's running) but this is not happening for me. What are some thing I could try to fix this? 2023-06-02 17:31:47 s/thing/ways 2023-06-02 17:32:11 You need ut1l-linux-login 2023-06-02 17:32:34 busybox login does not use PAM, so there are no integrations 2023-06-02 17:32:40 "it will load, but the UI only..." <- Wayland or X11? 2023-06-02 17:33:19 ikke: I see... Thank you for the quick reply! 2023-06-02 17:41:26 "zero luck" <- What GPU? And did you mess with any Flatpak settings for it in FlatSeal?  2023-06-02 17:54:53 Saijin_Naib: kind of off-topic but your profile picture feels so accurate and I am not even sure why 😄 2023-06-02 18:23:44 🤣 2023-06-02 18:23:52 I'm glad someone appreciates it  2023-06-02 18:24:40 It's CC By Whatever, so yoink if you like  2023-06-02 18:26:42 Brainworm from last week when someone joined and said that, more or less verbatim  2023-06-02 19:10:04 what's the picture 2023-06-02 19:10:12 WhyNotHugo: ah, so it was cgroups1 2023-06-02 19:10:13 makes sense 2023-06-02 19:10:20 yeah they're both enabled by default for compatibility 2023-06-02 19:10:33 you'd have to ask openrc upstream to change the default if you want, but it's pretty easy to make it 2-only 2023-06-02 19:13:34 ikke: X11 2023-06-02 19:13:51 Saijin_naib: haven't touched any settings, intel iGPU 2023-06-02 19:14:03 was also using intel iGPU on my last laptop without issues 2023-06-02 19:14:59 Do you have the firmware and xf86 video packages for Intel, and nothing funky on grub boot cmd?  2023-06-02 19:16:02 psykose: Steve Buscemi How do you do, fellow kids meme template, but instead it says How Do You Do Fellow Alpine Users  2023-06-02 19:16:09 lmao 2023-06-02 19:16:36 i have intel-media-driver, libva-intel-driver, linux-firmware-intel, and xf86-video-intel 2023-06-02 19:16:44 you probably want to delete the last one 2023-06-02 19:19:23 xf86-video-intel? 2023-06-02 19:19:24 why? 2023-06-02 19:21:00 Not needed, I think, but my desktop has it and works with Steam 2023-06-02 19:21:15 What generation CPU? I'm using 6th, so quite old 2023-06-02 19:23:12 12th gen 2023-06-02 19:23:23 i7-1280P 2023-06-02 19:23:24 ACTION uploaded an image: (120KiB) < https://matrix.org/_matrix/media/v3/download/matrix.org/ygweORyKkewKfUkAIvKbiqBa/image.png > 2023-06-02 19:23:42 hmmm 2023-06-02 19:23:48 weird, the UI didn't look like that for me 2023-06-02 19:36:07 my kerning got messed up suddenly 😭 2023-06-02 19:36:21 everything's lumped up together 2023-06-02 20:01:08 eris: because it's not what you actually want unless you have like gen4 or lower or whatever 2023-06-02 20:06:45 oh., fair 2023-06-02 20:08:35 rebooted, lets see if this works 2023-06-02 20:09:31 woo, fixed 2023-06-02 20:09:36 but now the screentearing is AWFUL 2023-06-02 20:09:37 lmao 2023-06-02 20:10:22 even with picom running 2023-06-02 20:16:58 ok, fixed screen tearing 2023-06-02 20:17:02 onto the games not launching 2023-06-02 21:04:47 Hi. I have a dockerfile which first installs openssl3 in addition to a small number of build tools, then in a later step installs openssl3-dev before starting a compilation for PHP ... 2023-06-02 21:06:00 The step with openssl3-dev however fails with many errors like this: "ERROR: openssl3-dev trying to overwrite file .... which is also owned by openssl-dev" 2023-06-02 21:06:30 How do I instruct apk to never install openssl, even when solving dependencies? 2023-06-02 21:06:36 that's not your issue 2023-06-02 21:07:10 your issue is you are trying to use openssl3-dev on like 3.16 or something where everything was still using openssl1.1, so everything else uses openssl-dev instead, and you can't mix the two with the other deps that are still on 1.1 2023-06-02 21:07:53 welp, one of the dependencies I require to build php needs openssl3 ... I am on alpine 3.16 2023-06-02 21:08:02 use 3.18 then 2023-06-02 21:08:29 I can't. 3.18 ships a newer version of nginx which does not come with the lua / resty modules I require 2023-06-02 21:08:46 then you simply won't be able to build what you're building because it would never work 2023-06-02 21:09:05 everything else is built against 1.1 and if you managed to even build something against 3 it would just crash at runtime 2023-06-02 21:09:22 that's unfortunate 2023-06-02 21:09:32 thank you for letting me know, though :) 2023-06-02 21:11:10 3.17 and newer has everything built against 3 instead 2023-06-02 21:15:17 I'll look into the nginx modules and if feasable, upgrade to a newer alpine release ... 2023-06-02 21:16:11 On a smiliar note: As an APKINDEX is constructed from all apk files in a directory, is it possible for an APKINDEX to contain multiple records for the same package when said package exists in multiple versions? 2023-06-02 21:17:47 I am looking into setting up an alpine mirror for the department I work at. The "official" alpine mirror my company runs is broken as APKINDEX files are never refreshed, even if new packages get synced from upstream 2023-06-02 21:22:12 irreleph4nt: yes, if you run something like `apk index *.apk -o APKINDEX.tar.gz`, you can get multiple versions of the same package: https://tpaste.us/1Xa9 2023-06-02 21:25:40 ptrc, thanks for sharing! So I should be able to control the version to install with apk add pkg>=version, correct? 2023-06-02 21:26:10 yes, you can use version constraints to select versions 2023-06-02 22:26:58 Hi. Is there any documentation available to understand musl vs glibc for those new to Alpine? Compiling some PHP extensions appears to require glibc which I am not sure has a correct way for me to provide it. 2023-06-02 22:27:41 musl can mostly fill the role of glibc 2023-06-02 22:27:45 what trouble are you having? 2023-06-02 22:29:15 you can't change any of that or 'provide glibc' 2023-06-02 22:29:41 Habbie, I have taken the official php-on-alpine Dockerfile (https://github.com/docker-library/php/blob/master/8.1/alpine3.16/fpm/Dockerfile) and added a number of PHP extensions ot it which I need at work ... 2023-06-02 22:30:11 and then 2023-06-02 22:30:37 At the end of compiling (which works) they run a scan for runtime dependencies to then install any missing packages (see here: https://github.com/docker-library/php/blob/master/8.1/alpine3.16/fpm/Dockerfile#L188-L194) 2023-06-02 22:30:53 and then 2023-06-02 22:32:07 This breaks for me where lib/libresolv.so.2 can't be satisfied (found a recommended fix to use gcompat). Installing gcompat however fails as I need glibc installed as well, which has conflicting files with gcompat 2023-06-02 22:32:24 what does 'added a number of php extensions' mean 2023-06-02 22:32:38 and what does "a scan for runtime depencies" mean 2023-06-02 22:32:40 you can't "install glibc" at all, it's not a thing 2023-06-02 22:33:30 psykose, regarding glibc, I am using these packages: https://github.com/sgerrand/alpine-pkg-glibc 2023-06-02 22:33:36 yeah you can't use that 2023-06-02 22:33:38 required by the Oracle extension 2023-06-02 22:34:37 Habbie, have a look at the second link I posted, please. It points to a number of rows in the Dockerfile where the compiled files are scanned for linked runtime requirements which have not yet been satisfied 2023-06-02 22:34:44 you have a wrong idea of 'required' and how any of this works 2023-06-02 22:34:56 but to save you some time, use debian:slim instead 2023-06-02 22:35:05 :-p 2023-06-02 22:35:17 I can't. Debian is not available for use at my company 2023-06-02 22:35:25 it's RHEL or Alpine for me 2023-06-02 22:35:32 rhel it is then i guess 2023-06-02 22:35:32 rhel has glibc 2023-06-02 22:36:32 psykose, I'd much rather understand what's going on here. Not necessarily with the aim to "fix my build" but so I may explain to my manager what the problem is 2023-06-02 22:36:58 you can think of a c library as the platform 2023-06-02 22:37:11 you can't mix glibc and musl on the same system (different platforms) 2023-06-02 22:37:23 if you want to run things on alpine then more or less you have to build everything against musl 2023-06-02 22:37:45 the thing you are installing "php oracle extension" is something you're not actually building, but rather installing some precompiled thing from somewhere that will never run 2023-06-02 22:38:21 you can't satisfy that dependency in any way, except to build it yourself somehow or to find one built in a way that works in the first place 2023-06-02 22:38:58 so, if you just install it on the rhel image it works. my recommendation is to go do that 2023-06-02 22:40:46 psykose, thank you very much for explaining this. Am I right to assume that any software I can actually compile from source will work fine when compiled against musl, but anything precompiled (go binaries come to mind) will have issues as musl is most likely not used when they were built? 2023-06-02 22:41:04 pretty much 2023-06-02 22:41:27 statically compiled binaries also work fine (they have no platform dependency), but those are just executables and not modules for stuff 2023-06-02 22:41:45 for a musl php there is no way to run anything unless all of them are 2023-06-02 22:42:03 Is there a particular reason why alpine chose musl over glibc? 2023-06-02 22:42:22 different platform different tradeoffs 2023-06-02 22:43:07 I'll dig into musl a bit, I think. Now I want to know who else uses it and why :) 2023-06-02 22:43:46 the oracle thing specifically doesn't look like something buildable and requires a bunch of random proprietary stuff to run 2023-06-02 22:43:54 so i don't think you'll ever get that to run 2023-06-02 22:44:34 Void also has a musl distribution and you can do Gentoo with musl. I think Alpine is probably the biggest distro using it though. 2023-06-02 22:44:43 i'm not entirely sure i should mention this, and i might even be wrong, but if you have a desparate desire to talk to oracle from php on alpine, odbc might help 2023-06-02 22:45:02 boomanaiden154, either alpine or openwrt 2023-06-02 22:45:13 boomanaiden154, depending on how you count :) 2023-06-02 22:45:49 Habbie, I'll look into ODBC then as well to hopefully solve my work problem. Thank you! 2023-06-02 22:46:16 Could be. I never really think about OpenWRT because I pretty much only use Alpine for containers. 2023-06-02 22:46:20 i want to be very clear, it might not be a solution 2023-06-02 22:46:34 odbc is, at best, a painful alternative 2023-06-02 22:47:03 boomanaiden154, yes - that's why i say "depends on how you count" 2023-06-02 22:47:13 boomanaiden154, there are millions, perhaps a billion, openwrt devices out there 2023-06-02 22:47:18 boomanaiden154, but their users don't know that 2023-06-02 22:47:33 boomanaiden154, alpine meanwhile is usually chosen consciously by admins :) 2023-06-02 22:47:40 Our developers created a php lib to talk to Oracle via oci8. I'll ask them to try odbc and see how it goes 2023-06-02 22:48:33 Habbie: There's still probably quite a few people who pull down container images that use Alpine as a base without knowing that. They probably aren't the ones running the majority of them though. Hard to count numbers whatever you look at it, like you mentioned. 2023-06-02 22:48:48 I'd be interested to see if anyone ever does a LLVM libc based distro once it becomes more mature. 2023-06-02 22:48:56 boomanaiden154, i agree, that likely also happens a lot 2023-06-02 22:49:09 llvm libc? why? 2023-06-02 22:50:21 A lot of performance work has gone into it, I like the development methodology, and I do a decent amount of work on LLVM, so I'm biased. 2023-06-02 22:50:28 right! 2023-06-02 22:50:43 i wonder if you could just rebuild glibc with llvm for whatever you're running :) 2023-06-02 22:51:39 LLVM libc is a new libc, not just a clang/LLVM built libc (sorry if this wasn't clear). 2023-06-02 22:52:02 Glibc still isn't buildable with clang and the main person pushing that effort seems to have peeled off recently. 2023-06-02 22:52:09 http://maskray.me/blog/2021-10-10-when-can-glibc-be-built-with-clang 2023-06-02 22:53:13 boomanaiden154, ah! i did assume you mean "glibc built with llvm/clang", my bad 2023-06-02 22:53:31 *meant 2023-06-02 22:58:58 google was sad people didn't like the other two libcs they maintain so they made a third one 2023-06-02 22:59:06 (just to spoil you there on the background) 2023-06-02 22:59:08 bionic and? 2023-06-02 22:59:20 fuschia 2023-06-02 22:59:23 oh yes 2023-06-02 22:59:27 and now the llvm one? 2023-06-02 22:59:34 (fuchsia, i think) 2023-06-02 22:59:41 llvm libc seems mostly to be marketed as the overlay mode from what i've seen 2023-06-02 23:00:09 where you use it to statically link in some routines on top of whatever actual other libc (glibc) instead of using the other ones 2023-06-02 23:00:22 right 2023-06-02 23:00:23 which is mostly a pile of hacks but works for some people 2023-06-02 23:00:48 that was already something you could've always done and what everyone did (i.e. as an application developer) so it's not something super novel 2023-06-02 23:00:58 Fuchsia is moving to LLVM libc. 2023-06-02 23:01:39 I'd think Android would so at some point too, but maybe not. 2023-06-02 23:02:53 indeed 2023-06-02 23:03:04 But yeah, overlay mode is the big thing currently with Google doing that internally on their server applications for some performance improvements. 2023-06-02 23:03:20 LLVM libc definitely has a lot more focus on performance (and flexibility) compared to Fuchsia/Bionic. 2023-06-03 07:37:07 Does alpine have one man page online like https://man.archlinux.org/ ? 2023-06-03 07:40:22 yno 2023-06-03 07:42:23 is that yes or no? 2023-06-03 07:42:58 no 2023-06-03 07:43:42 I used apk-files a few times nice. 2023-06-03 07:43:42 An option to download the databse could be added 2023-06-03 07:44:06 no, it couldn't 2023-06-03 07:44:25 i mean that i'd like that feature 2023-06-03 07:44:50 and apk-source? to download the APKBUILD and pathes etc. 2023-06-03 07:45:32 we already have that it's called looking in the git repo 2023-06-03 07:46:23 this isn't some sort of closed-door proprietary thing with compliance to meet 2023-06-03 07:46:30 such a feature makes no sense 2023-06-03 07:46:44 it's not the same can you even clone it? 2023-06-03 07:46:50 yes? 2023-06-03 07:46:58 https://git.alpinelinux.org/aports/tree/community/amazfish?h=master 2023-06-03 07:47:07 you can indeed clone that repo 2023-06-03 07:47:17 fatal: repository 'https://git.alpinelinux.org/aports/tree/community/amazfish?h=master/' not found 2023-06-03 07:47:46 git clone https://gitlab.alpinelinux.org/alpine/aports.git 2023-06-03 07:47:58 immagine being on a tty or something you could use apk-source 2023-06-03 07:48:06 the fuck is this scenario 2023-06-03 07:48:18 scorpion2185[m]1: you could also use git clone 2023-06-03 07:48:43 i can think of zero benefits to get-package-source 2023-06-03 07:48:46 like actually not a single one 2023-06-03 07:48:51 scorpion2185: take it easy :p 2023-06-03 07:49:05 psykose: you have to clone all? 2023-06-03 07:49:12 --depth=1 2023-06-03 07:49:31 or just look at the files you care about or any number of ways to access the content 2023-06-03 07:49:32 scorpion2185[m]1: yes, it's a monorepo 2023-06-03 07:50:01 Newbyte: you have to browse and search 2023-06-03 07:50:03 'i need to get the exact source+patches only but also i am on a tty' is such a weird usecase i don't even know how you seriously type that and press the enter key 2023-06-03 07:50:18 scorpion2185[m]1: Why? 2023-06-03 07:50:26 even on a tty, it's trivial to clone a git repo 2023-06-03 07:50:41 yes but you have to clone all the aport repo 2023-06-03 07:50:50 scorpion2185: maybe the real question is, why do you want this? 2023-06-03 07:51:45 i am suggesting a feature that i am sure that it's useful and i'd like but i you don't want it/hate feel free to don't do it and disagree 2023-06-03 07:51:56 you don't have to clone the 'whole' repo actually 2023-06-03 07:52:29 scorpion2185[m]1: I don't hate the idea, but if you want to a add a feature there should be some justification for it 2023-06-03 07:52:46 e.g. apt-source 2023-06-03 07:53:29 as I said sometimes you want to buidl apcakge for some reason and you can simply apk-source some_package 2023-06-03 08:07:57 and you can also do that by checking out the git repo or looking at it and just copying the apkbuild+patches in the folder 2023-06-03 08:08:51 there's no unique usecase that this enables, except the one where for some reason one is completely unwilling to use git (that you get to keep around for doing the same thing in the future), is incidentally on a tty as well, .. 2023-06-03 08:09:06 we can invent usecases in the sense of a hammer in search of a nail, sure, but that's backwards 2023-06-03 08:09:07 scorpion2185: if you want this, you could easily implement a script that automatically downloads these files for you 2023-06-03 08:09:36 common usecase and why others do it at all: a common requirement of the gpl-* licences is that you redistribute modified source if you patch it 2023-06-03 08:09:51 so companies with lawyers create apt-source so you get the patched source since you need it for 'gpl compliance' 2023-06-03 08:09:52 etc 2023-06-03 08:10:01 I had to open raw the files and copy paste them 2023-06-03 08:10:18 apt-source it's pretty convenient 2023-06-03 08:10:33 when you rebuild it for some reason to add something etc. 2023-06-03 08:10:39 yeah i do that all day 2023-06-03 08:10:46 thousands of times a week actually 2023-06-03 08:10:55 it's called cd ~/src/aports/some/package; .. 2023-06-03 08:12:05 not all the users have the whole aport in their home 2023-06-03 08:12:15 and yet they can acquire it for free 2023-06-03 08:12:25 can you actually git clone the folder? 2023-06-03 08:12:56 theoretically sure, https://stackoverflow.com/questions/600079/how-do-i-clone-a-subdirectory-only-of-a-git-repository 2023-06-03 08:13:05 You cna do sparse checkouts 2023-06-03 08:13:20 that's not exactly only a folder and quite a niche usecase 2023-06-03 08:13:22 does aports use the ports tree as global state for e.g. package versions to build against? 2023-06-03 08:13:31 yes 2023-06-03 08:13:33 s/package/dependency/ 2023-06-03 08:13:37 ah 2023-06-03 08:13:38 well 2023-06-03 08:13:39 kind of 2023-06-03 08:13:57 it's the sole repo for anything and everything comes from it more or less 2023-06-03 08:14:20 but 'build against' is just what gets installed in the end from the apk repositories on the same system built from the previous 2023-06-03 08:14:24 i guess that's just semantics, so yes 2023-06-03 08:15:28 the actual apkbuilds are self-contained and don't matter that they're in aports, so no in that sense 2023-06-03 08:15:55 from what i see in voidpkgs it looks the same but i didn't look too deeply at how you do it 2023-06-03 08:18:35 you can kinda script an apk-source tbh 2023-06-03 08:19:53 apk-source $pkg, search all apkindexs for pkg to get repo, fetch https://gitlab.alpinelinux.org/alpine/aports/-/raw/master/$repo/$pkgname/APKBUILD, source apkbuild in shell, echo $source, for urls fetch url, for non-url fetch from / as extra files 2023-06-03 08:20:02 idk that sounds pretty easy maybe someone should write it for real 2023-06-03 08:20:35 i will do it but only if you pay me $1,000 USD 2023-06-03 08:21:04 I will do it for 900 Euro 2023-06-03 08:21:23 ^ he will fuck it up don't go for this offer 2023-06-03 08:21:50 it sounds like something ptrc would write in javascript for fun 2023-06-03 08:22:51 smh something of this level needs to be written in rust 2023-06-03 08:23:05 abby: beat me to it 2023-06-03 08:23:37 There already exists something in go :) 2023-06-03 08:24:09 which thing 2023-06-03 08:24:42 parsing apkindexes, parsing APKBUILDs, and do soemthing with that information 2023-06-03 08:24:54 smh that is like 2% of the interesting parts here 2023-06-03 08:25:02 ah indexes too 2023-06-03 08:25:03 right 2023-06-03 08:25:08 yeah it needs to be rewritten in Rust 2023-06-03 08:25:13 that's just a grep ^something: 2023-06-03 08:25:18 webscale 2023-06-03 08:25:26 👎 2023-06-03 08:25:34 👍 👍 2023-06-03 08:26:00 i remember when i looked at lua-aports and tried to rewrite it 2023-06-03 08:26:07 you have no idea how fast i gave up 2023-06-03 08:26:26 if it's written in Go it can't be reliable 🦀 and blazing fast 🚀 2023-06-03 08:26:41 psykose: you mean aports-turbo? 2023-06-03 08:26:45 yes 2023-06-03 08:26:50 that's somethign different 2023-06-03 08:26:51 <- bad with names 2023-06-03 08:26:56 it was rewritten in Python 2023-06-03 08:27:03 because someone didn't want to debug the Lua version 2023-06-03 08:27:09 yeah 2023-06-03 08:28:14 the Python version has more stars 2023-06-03 08:28:22 guess it must be superior 2023-06-03 08:28:36 i don't think i ever seriously looked at it 2023-06-03 08:29:00 it's missing the flagging feature 2023-06-03 08:29:18 you mean it has the feature, of not having the flagging feature 2023-06-03 08:29:27 right 2023-06-03 08:29:38 🐍🐍🐍🐍 2023-06-03 08:29:39 i actually have access to the aports-turbo production instance and you have no idea how tempting it is 2023-06-03 08:29:41 to just remove it 2023-06-03 08:29:56 what you really should do is rewrite it in Rust 2023-06-03 08:30:02 yeah i tried see above 2023-06-03 08:30:12 Would take another 2 years :P 2023-06-03 08:30:13 you should just try harder 2023-06-03 08:30:29 i would need more stimulants than i possess (zero) 2023-06-03 08:30:55 if you try really hard and use lube it might work 2023-06-03 08:31:13 is that what they do in sweden 2023-06-03 08:31:28 obviously 2023-06-03 08:32:01 gotta maintain our rep 💯 2023-06-03 09:14:31 ...what rep is that 2023-06-03 09:44:30 Hola 2023-06-03 09:44:54 It seems that alpire 7zip doesn't support rar, and I can't find a rar tool with apk search 2023-06-03 09:45:12 Is it not possible to manipulate rar archives on alpine, or is there a tool that I missed? 2023-06-03 09:46:36 bob: can you try bsdtar from libarchive-tools? 2023-06-03 09:47:10 Bat that's not a tar archive 2023-06-03 09:47:26 https://libarchive.org/ 2023-06-03 09:47:34 "Reads a variety of formats, including tar, pax, cpio, zip, xar, lha, ar, cab, mtree, rar, and ISO images. " 2023-06-03 09:48:02 It cannot make rar files, but it can read them 2023-06-03 09:48:59 I'm trying :) 2023-06-03 09:51:41 That worked, thanks ikke, I would have never thought to use a tar tool for extracting a rar archive ^^ 2023-06-03 09:52:27 All the other rar tools have dubious origins (license wise) 2023-06-03 09:52:47 bsdtar is like a swiss army knife 2023-06-03 09:53:12 Yeah, rar format always had this problem in the first place :/ 2023-06-03 09:53:49 they're not very dubious, rather straight up proprietary :p 2023-06-03 09:54:01 i forget what the second alternative was to bsdtar 2023-06-03 09:56:26 “The unRAR sources cannot be used to re-create the RAR compression algorithm, which is proprietary. Distribution of modified unRAR sources in separate form or as a part of other software is permitted, provided that it is clearly stated in the documentation and source comments that the code may not be used to develop a RAR (WinRAR) compatible archiver.” 2023-06-03 09:56:47 yep 2023-06-03 09:57:38 So can be dumbed down to “can be used for decompression but not compression” 2023-06-03 11:19:34 After configuring networking devices, `setup-alpine` updates /etc/hosts using some elaborate sed hackage. Now, I wonder whether I should do that manually when not using `setup-alpine`. 2023-06-03 11:20:22 This is what I'm talking about: http://paste.debian.net/plainh/4ff2408c 2023-06-03 11:23:49 your /etc/hosts really only has to be 2023-06-03 11:24:03 127.0.0.1 localhost localhost.localdomain $(hostname) 2023-06-03 11:24:11 ::1 localhost localhost.localdomain $(hostname) 2023-06-03 11:24:12 that's it 2023-06-03 11:24:17 not even sure about the .localdomain part 2023-06-03 11:24:47 maybe that breaks with some fancy search domain that it also handles, but if you were using that you'd probably already know 2023-06-03 11:26:57 Okay. 2023-06-03 11:27:26 That's exactly what mine on the installed system says. 2023-06-03 11:28:00 psykose: unarchiver 2023-06-03 11:28:04 that's the one 2023-06-03 11:28:55 to download a directory from gitlab you can apparently use git-archive or api (needs authentication?) 2023-06-03 11:35:54 iirc git-archive was pretty bad for various resource use? it's been a while 2023-06-03 11:59:10 Yeah, I've never seen something using .localdomain, but maybe somebody somewhere thought this was a good idea 2023-06-03 12:01:02 Hello71, unarchiver doesn't seem to be packaged though 2023-06-03 12:02:44 psykose: i think the protocol should be reasonably efficient, i doubt it does anything terribly stupid like getting the list of objects first 2023-06-03 12:03:13 quinq: it needs gnustep and some other stuff, not sure it's worth it 2023-06-03 12:03:34 Sure, I'm not requesting it at all, one working tool is enough :) 2023-06-03 12:03:37 https://img.ayaya.dev/h7ErjxKy7u19 2023-06-03 12:04:00 Hello71: ah then it might've been another i was looking at.. 2023-06-03 12:09:35 i only know of unrar, 7zip (which is really unrar), libarchive, and unarchiver 2023-06-03 12:11:06 also unrar-free if you count that separately 2023-06-03 12:12:25 There's also winrar/wine 2023-06-03 12:13:36 that's arguably just unrar but you also have to pay 2023-06-03 12:14:00 :> 2023-06-03 12:20:00 new hello71 lore just dropped 2023-06-03 12:20:04 he paid the winrar licence 2023-06-03 12:21:29 haha 2023-06-03 12:32:47 Is there a simple way with ifupdown to trigger dhcp depending on link carrier status instead of always? 2023-06-03 12:53:14 psykose: I would like to inform you that there is a new version of vaultwarden's web vault. 2023-06-03 12:53:46 they're tied to eachothers version 2023-06-03 12:55:41 Got it 2023-06-03 12:58:56 Oh, one more question, why put it in the /usr/sbin directory rather than /usr/bin? 2023-06-03 13:00:12 how would i know 2023-06-03 13:01:54 “web” sounds like it would listen on port 80 by default, which is reserved and needs privileges, so sbin binary 2023-06-03 13:03:20 i guess this time it's compatible 2023-06-03 13:04:37 😕 2023-06-03 13:04:41 quinq: that distinction is arbitrart 2023-06-03 13:04:45 arbitrary 2023-06-03 13:08:18 that distinction is "sbinmerge and forget about it" 2023-06-03 13:08:21 glad we could solve the case 2023-06-03 13:09:43 Yes ikke 2023-06-03 13:09:58 Like any rule that doesn't come from physics 2023-06-03 13:11:50 socrates has logged on 2023-06-03 13:13:29 sarcastic has logged on 2023-06-03 14:25:12 i wonder if reinstalling some of the core packages will break it, like nuke passwd / shadow or the like 2023-06-03 14:25:12 i'm intending to downgrade from edge to latest release , i stopped updating before release was tagged. this will reinstall all the packages if i understand correctly (replace foo (1.33.7-r0 -> 1.33.7-r0) ) 2023-06-03 14:25:26 nope 2023-06-03 14:25:53 just change repos and upgrade -a 2023-06-03 14:25:58 ok 2023-06-03 14:26:19 i seem to have some things from edge/testing ... 2023-06-03 14:32:36 (1/1766) here we go 2023-06-03 14:32:51 oof, that's quite a lot of packages 2023-06-03 14:32:53 bigg 2023-06-03 14:33:26 just the usual nodejs all in one development container env /s 2023-06-03 14:34:09 it's my pinephone actually, i'm sick of edge breaking my day 2023-06-03 14:34:36 "is edge stable for production use?" 2023-06-03 14:35:12 a few years ago when i set it up it was the only way getting a good-enough'ish experience 2023-06-03 14:35:37 also, definition of 'production' may vary 2023-06-03 14:37:32 what broke this time 2023-06-03 15:08:51 in 'what broke today', upgrading 3.16 to 3.17 broke surf 2023-06-03 15:10:38 surf is in testing/ so you can only use it from edge to begin with 2023-06-03 15:15:59 one of those 'used to work, now it builds fine, but webkit throws x11 errors'. 2023-06-03 15:16:17 surf works? 2023-06-03 15:16:34 do you have GDK_BACKEND set to something other than x11 when opening it 2023-06-03 15:16:36 usually get a "web crash" in 2sex with webkit 2023-06-03 15:16:38 anyway, that's the universe telling me I should write a proper client instead of using a browser 2023-06-03 15:17:55 env|grep GDK ==> nothing 2023-06-03 15:18:35 works here (edge) 2023-06-03 15:18:36 set it to x11 and try agane 2023-06-03 15:19:40 same result 2023-06-03 15:19:45 interesting 2023-06-03 15:20:31 mercenary, what are the errors? 2023-06-03 15:21:27 hi 2023-06-03 15:21:35 I just stumbled upon this https://lists.alpinelinux.org/~alpine/devel/%3C1628515011.zujvcn248v.none%40localhost%3E 2023-06-03 15:21:43 and am wondering: does alpine currently use -no-plt? 2023-06-03 15:21:47 https://dpaste.com/5RUE3MGV2 2023-06-03 15:22:15 sfan5: doesn't no 2023-06-03 15:22:22 I see, thanks 2023-06-03 15:25:59 Does it happen with another webkit2gtk-based web browser, like epiphany/midori? 2023-06-03 15:29:31 sfan5: it's ~mostly quite dubious overall except in the common dynamically-linked-x86-system case (like distros usually are), and e.g. rust funnily does default to that which is a loss everywhere outside of x86 https://github.com/rust-lang/rust/pull/106380 2023-06-03 15:30:20 for x86 only it could make sense to set and i'm not opposed to it but i know at least one person would immediately question me on it not being 'simple' and the gain is like 1% binary size 2023-06-03 15:30:21 so eh 2023-06-03 17:10:33 it's also probably slightly faster 2023-06-03 17:17:38 (1766/1766) ... now that took some time 2023-06-03 18:20:12 Hello71: that probably does a lot of heavy lifting 2023-06-03 18:20:30 regardless, enabled 2023-06-03 18:33:29 Hi, would it be possible for Ryujinx to be native for Alpine? or is it not compatible 2023-06-03 18:34:43 https://github.com/Ryujinx/Ryujinx 2023-06-03 18:36:49 there's multiple reasons why that would be a disaster that doesn't work 2023-06-03 18:36:56 flatpak exists and would let you have it in 3 seconds 2023-06-03 18:38:18 i can't get the flatpak to install firmware on alpine 2023-06-03 18:38:58 you should figure out how to do that then 2023-06-03 18:39:22 Well I know how to do it in other OS 2023-06-03 18:40:10 In pop-os I follow the official instructions to select the firmware file via the gui. In Alpine I can a persistent error of 'firmware file does not exist.' Same files, same flatpak install method. So I figured maybe it was an alpine thing and wanted to see if maybe a native install was doable 2023-06-03 18:43:02 that seems like a bug in the flatpak or some assumption gone amiss 2023-06-03 18:46:11 though i think you just have to put it in ~/.var/app/org.ryujinx.Ryujinx/config/Ryujinx/system 2023-06-03 18:46:18 i don't have any keys to test with 2023-06-03 18:47:20 I uninstalled, removed directories, and reinstalled a few times, no change. I asked in their discord and the only response I got was 'probably an os thing', though I don't know if that's true 2023-06-03 18:47:27 I'll try moving the firmware files to that directory 2023-06-03 18:48:14 yeah 2023-06-03 18:48:15 it works 2023-06-03 18:48:21 found some cracked keys 2023-06-03 18:48:29 also make sure you don't have SDL_VIDEODRIVER=wayland 2023-06-03 18:48:35 Is this for keys or firmware? I 2023-06-03 18:48:50 ah yeah, that was the issue 2023-06-03 18:48:54 it prints the first warning thing 2023-06-03 18:48:57 then it crashes with =wayland 2023-06-03 18:49:05 with =x11 it opens the ui anyway 2023-06-03 18:49:18 regardless, you have to put keys in that folder 2023-06-03 18:49:24 after you install firmware the same normal way 2023-06-03 18:50:45 I do not have SDL_VIDEODRIVER=wayland . I have WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=SWAY and QT_QPA_PLATFORM="wayland-egl" 2023-06-03 18:51:03 I will try moving my firmware .zip to the directory and see if that helps 2023-06-03 18:51:11 make it =x11 then 2023-06-03 18:51:16 that won't 2023-06-03 18:51:19 the issue is none of that 2023-06-03 18:51:26 it just won't open without the sdl_videodriver i guess 2023-06-03 18:52:55 https://img.ayaya.dev/pBu0pnaNbsiB 2023-06-03 18:55:58 And did you install firmware (not keys) via gui or through directly moving the firmware into the directory? I put "exec export SDL_VIDEODRIVER=xll" into my sway config file and tried to use the gui to install firmware but I get the same error 2023-06-03 18:56:16 And I refreshed my sway config to make sure it loaded 2023-06-03 18:56:58 The terminal output isn't super helpful, it just says "|E| Application CreateErrorDialog: Firmware file does not exist." 2023-06-03 18:58:18 x11 not xll 2023-06-03 18:58:26 ? 2023-06-03 18:58:32 x one one 2023-06-03 18:58:34 not x el el 2023-06-03 18:58:38 fix your fonts 2023-06-03 18:58:38 Habbie: beat me to it 2023-06-03 18:58:43 right, x 1 1 2023-06-03 18:58:57 that said also paste the log of it starting 2023-06-03 18:59:37 and then try `export QT_QPA_PLATFORM=` (nothing) 2023-06-03 19:00:06 you can just export this in a shell you open and `flatpak run ..` it from there, nothing else needed 2023-06-03 19:00:14 no restarts or anything 2023-06-03 19:00:39 https://bpa.st/RSKSC 2023-06-03 19:01:31 env | grep -i way 2023-06-03 19:02:20 https://bpa.st/YRPGY 2023-06-03 19:02:52 now `SDL_VIDEODRIVER=x11 flatpak run org.ryujinx.Ryujinx` 2023-06-03 19:04:09 Aborted, SDL2 initialization failed with error 'x11 not available' 2023-06-03 19:04:18 apk add xterm; xterm 2023-06-03 19:04:20 does that start 2023-06-03 19:04:49 I ran that command and now there is a white terminal open 2023-06-03 19:04:52 hrm 2023-06-03 19:05:04 that's weird because the exact same thing works for me 2023-06-03 19:05:05 but it did install libxpm libxaw and xterm 2023-06-03 19:05:11 ..which ryujinx do you have installed 2023-06-03 19:05:23 flatpak list | grep ryu 2023-06-03 19:05:52 1.1.859 2023-06-03 19:06:00 same as me 2023-06-03 19:06:03 that makes no sense then 2023-06-03 19:06:34 i guess for some reason the xwayland socket or whatever isn't passed into flatpak or similar 2023-06-03 19:07:16 If the issue is wayland do you think trying to switch to i3wm would help? 2023-06-03 19:07:49 I don't know what that would involve but it's better than dual-booting pop-os just to use ryujinx 2023-06-03 19:09:04 it's not, everything else works fine 2023-06-03 19:09:11 does the steam flatpak work 2023-06-03 19:09:14 it mostly requires the same stuff 2023-06-03 19:09:26 i guess you could paste the full `env`, and `ps aux | grep portal` 2023-06-03 19:09:28 I'll try the empty QT_QPA_PLATFORM you mentioned and see if that works 2023-06-03 19:09:34 and what wm you're running 2023-06-03 19:09:35 oh ok I'll grab that output 2023-06-03 19:09:51 try that too sure, but you didn't have it set in the above env 2023-06-03 19:11:39 I didn't? weird, i have "exec export QT_QPA_PLATFORM="wayland-egl"" set in my sway config file 2023-06-03 19:12:11 https://bpa.st/27NI4 2023-06-03 19:13:24 https://bpa.st/R6LEE 2023-06-03 19:15:11 Yes steam flatpak works fine, I can play games without problems 2023-06-03 19:16:44 https://bpa.st/YRPGY didn't have it 2023-06-03 19:16:55 idk where you ran that but i hope it was the same session as everything else 2023-06-03 19:17:24 that looks ok 2023-06-03 19:17:27 can't think of anything else 2023-06-03 19:17:39 I haven't logged off if that's what you mean 2023-06-03 19:18:09 Well, I appreciate the help troubleshooting. I'll keep my dual-boot, maybe it'll fix itself eventually 2023-06-03 19:24:18 well, something quick 2023-06-03 19:24:19 uuhh 2023-06-03 19:25:38 env -i HOME="$HOME" USER="$USER" PATH="$PATH" DISPLAY="$DISPLAY" WAYLAND_DISPLAY="$WAYLAND_DISPLAY" XDG_RUNTIME_DIR="$XDG_RUNTIME_DIR" sh 2023-06-03 19:25:43 in that shell, run command 2023-06-03 19:27:15 I ran that, then immediately after I ran the Ryujinx command in the same terminal. Unfortunately the error persisted 2023-06-03 19:27:58 I don't know if it's relevant but my cursor gets blurry when it goes into the Ryujinx window. It could just be the warning that "couldn't determine monitor DPI: Wayland not yet supported" though 2023-06-03 19:31:07 what the shit it's working now?? 2023-06-03 19:32:27 I did the env -i stuff again just in case, but even though it didn't work last time now it installed the firmware. Unless I copied and pasted wrong the only thing different is that I'm tiling my windows differently. I don't get it, but thank you 2023-06-03 19:33:49 Okay yes the first time it ran the env -i stuff early before the sh, when I tiled differently it pasted the length of the code then ran after the sh. Now it works! I'll put it in the discord to try the env -i solution in case anyone else runs into the same error 2023-06-03 19:34:38 Oh does this mean that there's something wrong with my configs that I should change? like does this indicate a deeper problem I should address 2023-06-03 19:57:19 just means one of the things in the env from when it doesn't work interferes 2023-06-03 19:57:32 could just bisect it, but it's one of the =wayland / qt / sdl related vars 2023-06-03 20:54:35 Okay, thank you for your help! 2023-06-04 11:03:29 hi, i'm having some issues with booting alpine on a raspberry pi 4. udhcpc loops on "read error: network is down, reopening socket" and doesn't connect to the internet; trying to replace dhcp with a static ip in /etc/network/interfaces just gets reverted on the next boot 2023-06-04 11:14:52 I need some help writing an init script. The more I read between alpine and gentoo, the less I'm confident about it. 2023-06-04 11:15:12 To get ffmpeg to be supervised, on a normal installation, do I simply set the supervisor=supervise-daemon variable? 2023-06-04 11:15:32 With that in mind, I don't need to write start() stop(), etc, I can just set the command and args in variables, as wlel? 2023-06-04 11:15:34 well* 2023-06-04 11:16:39 Is calling another shell script a bad idea for supervision? I've currently got this running in a cronjob, so it's calling something in /usr/local/bin 2023-06-04 11:49:59 Uh oh. I need to mkdir -p "$SOMESTUFF" before my command is issued, for sorting purposes. I think I can offload that to cron instead, for daily cleanup of the main dir 2023-06-04 11:50:34 I mean there may be a more optimal way of doing things...but if it works. it works 2023-06-04 11:51:02 that's the magic of linux. there are 300 ways of doing something and usually they'll all work as well as the others it's just optimization and initial effort 2023-06-04 14:03:43 Doing apk upgrade -l, I get the following error message: 2023-06-04 14:03:44 ERROR: unable to select packages: 2023-06-04 14:03:57 And for example: 2023-06-04 14:03:57 pcre (virtual): 2023-06-04 14:03:57 provided by: pcre 2023-06-04 14:03:57 note: please select one of the 'provided by' packages explicitly 2023-06-04 14:03:57 required by: pcre-dev-8.45-r3[pcre=8.45-r3] 2023-06-04 14:04:18 So I try to do what apk tells me, to select one of the provided by packages, that is pcre here 2023-06-04 14:04:41 $ doas apk upgrade -l pcre 2023-06-04 14:04:48 But I get the exact same error message 2023-06-04 14:05:09 How is that problem supposed to be solved? 2023-06-04 14:18:58 pcre is a virtual package, so it's likely a version conflict of the actual underlying packages 2023-06-04 14:19:42 Would need to see the full output to make a determination, also, use a pastebin for anything more than 2 or 3 lines 2023-06-04 14:23:24 Such conflicts usually happen when you pin some packages to a specific version or from a specific source 2023-06-04 14:23:54 Like installing one package from edge on a 3.x system, or keeping an older package from a previous version 2023-06-04 14:40:48 I see, so the error message is inaccurate 2023-06-04 14:41:00 Thanks, I'll continue investigating in that deriction :) 2023-06-04 16:09:39 are there differences between glibc and musl open flags? 2023-06-04 16:11:47 9pfuse from plan9port on alpine (aarch64), can't properly mount filesystems. 'unexpected open flags requested=0440000 unhandled=0400000' 2023-06-04 16:15:59 i vaguely remember patching this around 1 year ago 2023-06-04 16:37:27 what are my options if a package I'd like to use does not exist for the arch I'm using? I'm looking at pkgs.alpinelinux.org and I can't even figure the contact email of the guy who produces this package, to ask him 2023-06-04 16:37:54 noanon: you can open an issue on https://gitlab.alpinelinux.org/alpine/aports/-/issues 2023-06-04 16:38:02 which package are you referring to? 2023-06-04 16:38:53 ptrc: I want dosbox for x86, but I see it can only exist for x86_64 2023-06-04 16:39:55 noanon: so, if you click the link 'Git repository' on pkgs.a.o and open the APKBUILD, you can see both the maintainer and a comment explaining why it's disabled on x86 2023-06-04 16:40:10 if you open an issue on gitlab, someone might take a look at it and try to fix it 2023-06-04 16:40:35 isn't there a libretro-dosbox for x86? 2023-06-04 16:41:30 https://pkgs.alpinelinux.org/package/v3.18/community/x86/libretro-dosbox 2023-06-04 16:41:35 kwadroke[m]: I found something like that while searching, but it did show me only a .so file in the package listing 2023-06-04 16:41:52 that would require a libretro frontend, such as retroarch 2023-06-04 16:41:54 yeah, 2023-06-04 16:42:09 and you wouldn't really be able to use it standalone 2023-06-04 16:43:23 so I'm out of luck with dosbox? 2023-06-04 16:47:57 well, if you don't want to use libretro, then you can still open an issue 2023-06-04 16:48:52 I've never used libretro so I guess I can at least try figuring it out 2023-06-04 16:49:24 but as you pointed, since there's a reason for that arch being excluded, I don't think stating that fact in a separate issue would change the status quo 2023-06-04 16:49:50 I was just too dumb to figure out how to get to the APKBUILD myself and see that 2023-06-04 16:50:38 just trying to make use of this old hardware that's like 20+ years, only alpine managed to boot and install on it 2023-06-04 16:58:32 also, both firefox and midori fail at startup with "Illegal instruction" message 2023-06-04 16:59:15 I wonder if this is related to glx Xorg module being disabled, otherwise X won't start, and what web browser that's not too RAM heavy can I use 2023-06-04 16:59:23 hopefully not dillo :D 2023-06-04 17:00:30 Web browsers are monsters, so don't get your hopes up 2023-06-04 17:00:44 Not using javascript helps a bit 2023-06-04 17:00:51 I can use links fine, but not all sites are friendly 2023-06-04 17:00:57 yep 2023-06-04 17:01:27 this computer has like 380MB RAM only 2023-06-04 17:01:51 :) 2023-06-04 17:01:55 Illegal instruction usually means that your CPU is missing an instruction that the application is built with 2023-06-04 17:02:29 I have the same issue on my 1st Gen Intel Atom and Lagrange. I had to download the APKBUILD file and compile it locally 2023-06-04 17:02:47 Maybe try Surf browser? 2023-06-04 17:03:58 second alpine linux day, there's much to learn ahead 2023-06-04 17:08:08 same problem mentioned for dosbox-staging, no package for x86 :( 2023-06-04 17:08:18 I want my master of orion 2 on this computer 2023-06-04 17:09:33 isn't there a newer native engine for Master of Orion1/2? 2023-06-04 17:11:23 FreeOrion 2023-06-04 17:12:12 it might a bit more processing power than that machine can give though 2023-06-04 17:12:45 openmoo2 might be an option - written in Python 2023-06-04 17:13:34 oh, osgameclones lists openmoo2 as unplayable :( 2023-06-04 17:14:36 never heard of those, I run the dos one with dosbox 2023-06-04 17:15:01 freeorion might be that foss project that's only inspired by moo but has no tangencies 2023-06-04 17:15:18 i shall look at openmoo2 now 2023-06-04 17:16:13 no commits in 6 years, prolly dead 2023-06-04 17:16:21 yeah saw that 2023-06-04 17:16:28 at least it's python3 though 2023-06-04 17:17:58 I don't know what else can I do on such an ancient computer 2023-06-04 17:18:08 maybe read ebooks 2023-06-04 17:28:31 I use mine for email, chat, calendar. Granted mine has 1GB of RAM 2023-06-04 17:28:47 my eeepc only has 512M though 2023-06-04 17:30:25 firefox is a pain on the eeepc though 2023-06-04 17:30:39 surf is somewhat managable 2023-06-04 17:31:30 maybe I shall try to get qemu and run msdos inside it, for master of orion 2023-06-04 17:59:26 kitzman: you can try strace 2023-06-04 18:03:49 My ffmpeg-as-a-service is running comrades 2023-06-04 18:03:51 we did it 2023-06-04 18:04:06 sadly, it means i don't get nice dates automade for me 2023-06-04 18:04:31 because ffmpeg won't premake the directory that i tell it to make 2023-06-04 18:46:15 kwadroke[m]: you should've reported that you know :p 2023-06-04 18:46:18 should be fixed 2023-06-04 18:55:13 figured it was more of an issue with my computer than the way it was compiled 2023-06-04 18:56:51 I didn't have to change anything in the APKBUILD file besides the pkgrel to get it to work 2023-06-04 18:58:04 btw, lagrange 1.16.3 is out now 2023-06-04 18:58:09 the build system checks if -msse4.1 works on the current machine 2023-06-04 18:58:14 then just uses it 2023-06-04 18:58:18 yes yes, one of those 2023-06-04 18:58:20 ah 2023-06-04 18:59:54 > <@kwadroke:matrix.org> btw, lagrange 1.16.3 is out now 2023-06-04 18:59:54 speaking of Gopher, do you know any cool capsules? 2023-06-04 19:01:30 I mostly visit Chilly Weather - gemini://gemi.dev/cgi-bin/chilly.cgi & Station gemini://station.martinrue.com/ 2023-06-04 19:01:57 don't do much with Gopher, mostly Gemini 2023-06-04 19:15:54 FYI: Here's a less WIP version of my write-up on Alpine with FDE and a custom partition layout: https://www.msiism.org/files/doc/alpine-linux-fde-custom.html 2023-06-04 19:16:06 I'll try to keep this URL intact. 2023-06-04 19:16:29 does that ever work out 2023-06-04 19:16:43 i feel like everyone's urls die eventually 2023-06-04 19:16:51 unless they're on wordpress 2023-06-04 19:17:36 cool urls never change 2023-06-04 19:18:23 I just said that because I removed the old write-up and the new one is under a more adequate URL. 2023-06-04 19:18:55 I don't see why this shouldn't work out as long as I don't run out of money. 2023-06-04 19:19:00 ;) 2023-06-04 19:23:31 to avoid running out of money, simply acquire more money than you lose money 2023-06-04 19:23:32 hot tip 2023-06-04 19:24:00 ACTION makes a note. 2023-06-04 19:24:17 subscribe 2023-06-04 19:25:29 thank you for subscribing to cat facts 2023-06-04 19:25:34 did you know cats are believed to be the only mammals who don't taste sweetness 2023-06-04 19:25:50 poor cats 2023-06-04 19:25:51 more 2023-06-04 19:26:02 What if you run them with -v? 2023-06-04 19:26:17 sadly i don't actually know many cat facts so that would just be google 2023-06-04 19:26:22 :D 2023-06-04 19:26:42 Did you know cats have a higher core temperature and that's why they seek warm areas 2023-06-04 19:28:00 https://skicannabinoids.store/product/%e5%9c%a8%e7%b7%9a%e8%b3%bc%e8%b2%b7%e6%88%8a%e5%b7%b4%e6%af%94%e5%a6%a5%ef%bc%88%e5%87%ba%e5%94%ae%e6%88%8a%e5%b7%b4%e6%af%94%e5%a6%a5%ef%bc%89/ 2023-06-04 19:28:43 psychedelics shop nembutal 2023-06-04 19:28:44 lmao 2023-06-04 19:29:08 who the fuck is buying sodium pentobarbital 2023-06-04 19:33:56 I still wonder why I get "service `cron' does not exist" when I try to add "cron" to runlevel default during the setup. 2023-06-04 19:34:18 I mean, I've got crond, so I'm wondering what "cron" is anyway. 2023-06-04 19:34:19 it's crond 2023-06-04 19:34:29 Oh, you get that as a message 2023-06-04 19:34:47 But you say: "when I try to add cron" 2023-06-04 19:35:22 `setup-alpine` has a list of services it will try to add if they exist. And that list has "cron" and "crond" in it. 2023-06-04 19:36:32 It does check if the service exists, though 2023-06-04 19:36:42 https://gitlab.alpinelinux.org/alpine/alpine-conf/-/blob/master/setup-alpine.in#L197 2023-06-04 19:37:02 Right. 2023-06-04 19:37:19 https://gitlab.alpinelinux.org/alpine/alpine-conf/-/commit/bca5e2171c0c430438d09feea508c9d264afdb4c 2023-06-04 19:37:25 My suspicion 2023-06-04 19:37:31 cron was renamed to crond 2023-06-04 19:37:54 Oh, that would make sense. 2023-06-04 19:38:32 (I love being able to read that from the commit message) 2023-06-04 19:38:54 ACTION sees it now. 2023-06-04 20:48:07 Hi all. I'm currently trying to instal Alpine through libvirtd, but am running into an issue. I am using the "alpine-virt" ISO, but, upon booting, I get the error message "Mounting boot media failed.". I couldn't really seem to find other people having this issue online. I'd be glad to provide more info, if required. 2023-06-04 21:17:25 I have done a clean install of alpine linux on my 4gb RPI4, Dual 3.1 usb thumb drives, LVM over Raid1. Will not boot from usb, but I copied md1 to a mmcblk boots from it. Any suggestions? 2023-06-04 21:20:14 Mdadm details shows that metadata is .90. 2023-06-04 21:27:41 hey, how do you get the microphone to work on alpine...? is there a group i need to add my user to? 2023-06-04 21:34:37 eris: are you using pipewire/pulseaudio or something, or just raw alsa? 2023-06-04 21:34:45 pulseaudio 2023-06-04 21:34:54 the devices show up to applications, but produce no audio 2023-06-04 21:34:58 webcam works 2023-06-04 21:35:21 txnintn: Have you enabled USB-Booting in the Firmware of your raspberry pi? 2023-06-04 21:38:13 Yes, I keep it on a 8mb sd...just in case. 2023-06-04 21:39:07 eris, what is the platform,? 2023-06-04 21:39:40 x86_64 laptop 2023-06-04 21:39:42 framework 2023-06-04 21:43:16 are do you have anyother sound apps installed? 2023-06-04 21:43:56 hm? 2023-06-04 21:44:06 I can use sound just fine on firefox and all that 2023-06-04 21:44:12 It's just the microphone that doesn't work 2023-06-04 21:50:54 no alsamixer? 2023-06-04 22:07:58 ii have alsamixer and pamixer 2023-06-04 22:08:15 nvm, no pamixer 2023-06-04 22:10:31 adjusting the mic boost, captire and internal mic boost do nothing 2023-06-04 22:19:08 is pamixer a command line mixer? 2023-06-04 22:32:00 in a few not particularly wayland specific applications, the equivalent of https://0x0.st/Hb6X.c fails with 'libEGL debug: bad context attribute 0x31b3'. i don't know enough about egl to judge whether that's the correct behaviour, but eglinfo seems to show https://registry.khronos.org/EGL/extensions/KHR/EGL_KHR_create_context_no_error.txt as present for me. 2023-06-04 22:35:58 which glfw do you have 2023-06-04 22:46:36 glfw-wayland 2023-06-04 22:47:24 use the non-wayland one 2023-06-04 22:47:25 enjoy 2023-06-04 22:48:05 pretty sure i've had the same issue for 2 years 2023-06-04 22:49:39 the fact they have separate compile-time selected builds for which window to make is hilarious 2023-06-04 22:51:38 they fixed it on master so it will become one build eventually 2023-06-04 22:51:41 hopefully also this issue 2023-06-04 22:53:12 hmm 2023-06-04 22:54:06 ...enjoy 'X11: The DISPLAY environment variable is missing'? :-) 2023-06-04 22:55:16 also i'm somewhat certain this problem is below glfw since it just checks that the extension is present and then sets the relevant attrib. i can probably reproduce it without glfw, just not looking forward to initialising wayland egl context by hand 2023-06-04 22:55:49 it's not present without glfw-wayland 2023-06-04 22:56:13 insofar as things being broken to start with it 2023-06-04 22:56:20 obviously by sidestepping a lot of stuff 2023-06-04 23:01:02 glfw (not -wayland) wants to only deal with x11 which i don't have, so indeed i'm not encountering the egl problem because glfw fails to initialise 2023-06-04 23:03:49 strangely the only relevant thing i can find is https://gitlab.freedesktop.org/mesa/mesa/-/issues/4586 2023-06-04 23:04:05 i guess you can start with a mesa issue and a similar egl-only context init 2023-06-04 23:06:45 thanks! i couldn't find that one. then of course i've found like half a dozen of wayland egl boilerplate examples none of which work in sway (i think mostly because of wl_shell dying in the meantime) 2023-06-04 23:07:36 this seems to be the relevant bit on the mesa side: https://gitlab.freedesktop.org/mesa/mesa/-/blob/main/src/egl/main/eglcontext.c#L327 but i don't see anything offending 2023-06-04 23:09:49 yeah it looks like it should work 2023-06-04 23:10:10 i also tested latest glfw just in case it was not just something below it, but no, indeed it is 2023-06-04 23:10:41 wonder why nothing else gets this issue 2023-06-04 23:12:42 mesa-dbg also seems to be a 'thin' one, without args/locals. this is going to be fun :-) 2023-06-04 23:23:21 why is glfw enabling EGL_CONTEXT_OPENGL_NO_ERROR_KHR? i've not seen it before 2023-06-04 23:32:38 it's not glfw itself, it's application authors, through glfwWindowHint. but i've got at least two applications here that do this (one without source code and perhaps not using glfw) 2023-06-04 23:38:53 ok. i think this and the subsequent ifs should be swapped around: https://github.com/glfw/glfw/blob/master/src/egl_context.c#L643 2023-06-04 23:40:50 by default major version is 1 (https://gitlab.freedesktop.org/mesa/mesa/-/blob/main/src/egl/main/eglcontext.c#L613) and needs to be set to at least 2 by the relevant thing that glfw does after no_error, thus the latter request fails. 2023-06-04 23:41:23 i'll report the bug to glfw tomorrow 2023-06-04 23:46:00 glad you figured it out :) 2023-06-05 04:31:38 oof. upgraded ncurses, nss and musl, and now firefox crashes after the ProfileManager, after the profile browser window opens, but before it can show anything 2023-06-05 04:32:19 gonna restart services, see if it's dbus or some such. mate-terminal and hexchat still work 2023-06-05 04:32:43 sounds nss related but it works for me 2023-06-05 04:36:23 hmmm, nope, FF is still non compos mentis 2023-06-05 04:43:52 easy way to test that is 2023-06-05 04:43:53 doas apk add -i 'nss<3.90' -X http://dl-cdn.alpinelinux.org/alpine/v3.18/community 2023-06-05 04:43:56 (undo it after obviously) 2023-06-05 04:44:15 doesn't sound related to any of the things you say upgraded though 2023-06-05 04:44:45 except that 2023-06-05 04:46:30 hang on... 2023-06-05 04:49:15 working 2023-06-05 04:49:51 ty 2023-06-05 04:49:55 hm :-) 2023-06-05 04:50:04 now i am confused why it doesn't break it for me 2023-06-05 04:51:22 nspr didn't upgrade 2023-06-05 04:51:34 why would it 2023-06-05 04:51:38 also, I am on sway/wayland, if that makes a diff. 2023-06-05 04:51:54 or do you mean you have some.. older than 4.35 nspr 2023-06-05 04:52:25 no, it's 4.35. 2023-06-05 04:52:41 what do you mean then 2023-06-05 04:53:00 They are usually installed as a pair, nss and nspr 2023-06-05 04:53:28 I thought maybe there was an nspr upgrade I didn't get 2023-06-05 04:53:38 not the case, no 2023-06-05 04:54:44 you can run `{ cat /etc/apk/repositories; apk list -O; apk version } > log` and send it to me i guess 2023-06-05 04:55:46 preferred pastebin? 2023-06-05 04:56:41 https://pastebin.com/htVDzarw 2023-06-05 05:01:27 pipewire-media-session was removed so you have to delete that 2023-06-05 05:01:30 wouldn't cause this issue tho 2023-06-05 05:01:37 same for udevil 2023-06-05 05:07:03 hmmm 2023-06-05 05:08:32 also not sure why lame is downgraded but also wouldn't cause the issue 2023-06-05 05:08:43 (same for libproxy) 2023-06-05 05:10:31 probably the lame rdeps: firefox deadbeef ffmpeg yt-dlp mpv 2023-06-05 05:12:58 brb coffee 2023-06-05 05:14:15 they don't hold it back or anything 2023-06-05 05:14:52 the libs were split so they depend on lame-libs instead, nothing depends on lame, but having lame installed would also be fine 2023-06-05 05:15:10 unless you did lame what's the output of `apk add 'lame>lame-3.100-r3'` 2023-06-05 05:22:30 added lame-libs, upgraded lame 2023-06-05 05:23:57 that makes no sense unless you had added it as lower before :p 2023-06-05 05:24:41 what's in your /etc/apk/world 2023-06-05 05:26:44 https://pastebin.com/WTATKFP0 2023-06-05 05:27:24 nothing weird in there 2023-06-05 05:28:18 now if you remove the <3.90 from nss does firefox crash again 2023-06-05 05:30:07 nice and hard, just as before 2023-06-05 05:31:53 no idea why tbh but nobody else i asked can reproduce it either 2023-06-05 05:31:54 just works 2023-06-05 05:32:06 perhaps by magic moving to wireplumber and rebooting works 2023-06-05 05:32:58 magic? 2023-06-05 05:35:30 nope 2023-06-05 05:35:36 still crashes 2023-06-05 06:02:48 I might write a cron script to clean up the last day's directory structure from my currently firehose output, so if I'm in here again, prepare for stupid questions. 2023-06-05 06:04:08 ACTION puts on seatbelt 2023-06-05 06:04:13 ready 2023-06-05 08:05:58 am I supposed to be using eudev or mdev or udev. 2023-06-05 08:06:02 for x11 2023-06-05 08:11:04 1 and 3 are the same 2023-06-05 08:11:10 that one 2023-06-05 08:13:32 x11 needs libudev for hotplugging input devices, so you need eudev 2023-06-05 08:51:35 slightly regretting alpine linux on the desktop. borked my system, udev was uninstalled and now I can't connect to the internet. 2023-06-05 08:53:04 how got udev uninstalled? 2023-06-05 08:53:55 I did it. was messing around with my systems because it had issues with some peripherals that worked fine on other machines 2023-06-05 08:54:26 trying to get my system to recognise wlan0 or eth0, but apparently it was udev that found that 2023-06-05 08:59:35 ok I modprobed and got eth0 up. feel like a hacker 2023-06-05 09:01:03 did you do it at a terminal? 2023-06-05 09:01:54 setup-devd udev after you get internet back 2023-06-05 09:02:51 lopid: yeah, well my peripherals don't work when I startx lol 2023-06-05 09:03:37 then you *are* a hacker 2023-06-05 09:08:53 god damn right I am. my ethernet cable was broken or something, so I had to modprobe my chipset, just to get wlan0 up, and I couldn't use setup-interfaces, so I had to get it an address with dhcpd... dhcpdsdcd... something. and then I could get udev and probe it. and my peripherals appear to be working! 2023-06-05 09:09:24 calm down, neo 2023-06-05 09:11:45 my trackball still works after hibernating, and it remembered it was in lefthand mode. 2023-06-05 09:11:48 I am the chosen one 2023-06-05 09:23:46 I did hit firefox issue as well, downgrading nss helped 2023-06-05 09:24:18 dekedro, are you on wayland, X11, or XWayland? 2023-06-05 09:24:53 i have a strong hunch that a rebuild downgrade won't fix it 2023-06-05 09:25:06 or/and that it'll be broken again on next firefox upgrade (that will need 3.90 anyway) 2023-06-05 09:26:20 lets see tho 2023-06-05 09:26:21 sway, issue present on both Wayland and XWayland 2023-06-05 09:29:29 hmm, ty 2023-06-05 09:30:26 also last message in stderr before ff closes is "Illegal instruction", haven't seen that before 2023-06-05 09:30:40 can you get the x/5i $pc of that 2023-06-05 09:30:57 from gdb 2023-06-05 09:32:17 and the backtrace too i guess with musl-dbg firefox-dbg just to see where it specifically is by chance 2023-06-05 09:38:26 ulimit -c unlimited to make a core to make it easier 2023-06-05 09:43:39 psykose, how do you load /usr/lib/debug files? 2023-06-05 09:43:54 you don't, they get loaded by gdb automatically 2023-06-05 09:45:17 yeah, for some reason gdb doesn't like firefox-dbg files: https://pastebin.com/qhjexmUQ 2023-06-05 09:46:29 the entire backtrace is in nss so that's not even relevant 2023-06-05 09:46:37 thanks 2023-06-05 09:48:49 np 2023-06-05 09:48:56 hmm 2023-06-05 09:49:05 what cpu do you have 2023-06-05 09:49:35 i7-4770HQ 2023-06-05 09:49:36 and /proc/cpuinfo 2023-06-05 09:49:39 sigh 2023-06-05 09:49:40 well 2023-06-05 09:49:47 the issue is that is adx (broadwell/ryzen) 2023-06-05 09:49:59 something in nss either misdetects a feature or just uses that unconditionally 2023-06-05 09:50:03 that makes it easier to track down 2023-06-05 09:50:32 proc/cpuinfo puts those in 'adx' flag afaik 2023-06-05 09:53:26 hmm, I see no 'adx', https://pastebin.com/bw0zQeSq 2023-06-05 09:53:31 nss/lib/freebl/verified/curve25519-inline.h 2023-06-05 09:53:36 has.. that all over the place 2023-06-05 09:53:38 no checks anywhere 2023-06-05 09:57:49 can you test https://img.ayaya.dev/ZShN357Tf8ug 2023-06-05 10:04:51 yup, with this patch firefox works as before 2023-06-05 10:05:05 ty 2023-06-05 10:05:06 so my cpu is too old for firefox now? :) 2023-06-05 10:05:14 it's not firefox, but nss 2023-06-05 10:05:23 they'll probably fix it 2023-06-05 10:05:32 broadwell is way too new as an auto baselie 2023-06-05 10:05:45 then again, their build system is quite weird, and this is only in the gyp one i think 2023-06-05 10:07:30 cool, thanks for figuring this out 2023-06-05 10:08:43 i guess i should add some weird qemu-x86_64 -cpu low-baseline to a list of manual tests to run myself :p 2023-06-05 10:12:13 yah, no adx here either 2023-06-05 10:21:45 guuys the speed-fapping carnival is on in the harbour tonght, 2023-06-05 10:21:55 you going to participate? 2023-06-05 10:23:36 the what 2023-06-05 10:24:16 the speed-fapping 2023-06-05 11:12:31 ... maybe this topic is for #OT? 2023-06-05 11:14:15 it's a spam bot pretty sure 2023-06-05 11:36:16 ```diff 2023-06-05 11:36:41 ACTION sent a diff code block: https://matrix.org/_matrix/media/v3/download/matrix.org/xfptPEhJyiIiybqbwTeXHoyh 2023-06-05 11:36:59 * ```git... (full message at ) 2023-06-05 11:37:21 ? 2023-06-05 11:37:25 saved 2023-06-05 11:46:49 oopsie, wrong room 2023-06-05 12:01:41 hello, how can I set mtu on alpine? I tried this https://termbin.com/hrvv but when I do `ifup eth2` I get "ip: ioctl 0x8922 failed: Invalid argument". The interface is up but has the wrong mtu (1500). 2023-06-05 12:09:26 oh I think I figured out that my hardware doesn't support such a MTU... Sad, but that's the answer 2023-06-05 12:12:22 sometimes it just is that easy 2023-06-05 12:12:45 whadya want to set it for? you cant really have >1500 across the internet anyway, it just auto fragments 2023-06-05 12:12:52 jumbo is just for local networking stuff 2023-06-05 12:13:05 or something like that 2023-06-05 12:14:14 Or if you have dedicated lines support it 2023-06-05 12:14:15 psykose, I am trying to expose iscsi targets 2023-06-05 12:17:35 this is a NUC with a single interface, and I had 2 unused USB to RJ45 adapters that I pluged in it, so I could do cheap multipath on 2 GB links 2023-06-05 12:18:17 ah 2023-06-05 12:18:25 never done anything like that 2023-06-05 12:18:57 never did either, but it's interresting to try 2023-06-05 12:24:24 interesting ... apparently there are some usb-rj45 adapters that support jumbo frames. I did not expect that. 2023-06-05 12:27:44 hey, i apparently need to install "libmvec" library for renoise. is this possible? I have installed gcompat and reaper works all fine, but not renoise 2023-06-05 12:29:23 here is the errorhttps://mclo.gs/t0SM5iW 2023-06-05 12:29:31 oh sorry 2023-06-05 12:29:31 https://mclo.gs/t0SM5iW 2023-06-05 12:30:03 sorry, am a bit noob 2023-06-05 12:32:28 do jumbo frames even help that much if gro/gso are enabled 2023-06-05 12:35:22 it's 4.4% more bandwidth for TCP over IPv4 2023-06-05 12:53:57 nangel, mind to share? 2023-06-05 12:55:12 amazon search shows that plugable and some other companies make them - search "usb rj45 jumbo frames" they all look to be usb-c though. :( 2023-06-05 13:38:08 Who's still using alpine for a desktop? 2023-06-05 13:38:20 Plenty of people are 2023-06-05 13:38:26 me 2023-06-05 13:38:46 ikke, I'm asking in the tone that aron responded to 2023-06-05 13:38:54 aron: what's your apk list like 2023-06-05 13:39:29 I'm at alpine-3.15 right now 2023-06-05 13:40:22 Why “still” though? Has a random internet person officially deprecated Alpine for a desktop usage? 2023-06-05 13:41:26 my impression was that the edge package base has been expanding quite rapidly recently, which could be both a symptom of and a prerequisite for growing desktop use 2023-06-05 13:41:51 quinq, nope: just saying I've asked before. 2023-06-05 13:42:13 thought: why is apk list relevant? 2023-06-05 13:42:38 aron: I'm just curious what you're running for your desktop experience, and wasn't going to ask "what for this? what2 for that?" 2023-06-05 13:42:55 that'd be /etc/apk/world, not apk list 2023-06-05 13:43:05 yep :) 2023-06-05 13:43:40 I prefer xfce4 2023-06-05 13:44:22 Wait a MOMENT 2023-06-05 13:44:41 What the hell am I thinking 2023-06-05 13:45:18 Why's it called world? 2023-06-05 13:45:31 ok thought :) 2023-06-05 13:45:56 lmao, you can stop waiting 2023-06-05 13:45:58 it's a set of package constraints the describe the entirety of your system, i.e. your world 2023-06-05 13:46:40 Very interesting. 2023-06-05 13:47:08 https://yewtu.be/64Aoy91d_SM 2023-06-05 13:48:24 quinq: did I answer your question? 2023-06-05 13:48:47 No :( 2023-06-05 13:48:48 I think phrasing the question I was about to ask solved my problem: I was thinking about this nvr setup, and about what happens if ffmpeg errors out because the net's down or the camera gets unplugged, and I think I can just increase the restart delay and max restarts to be satisfactory 2023-06-05 13:49:18 quinq: oh, my mistake, it was thought :P 2023-06-05 13:49:28 :> 2023-06-05 13:49:28 aron: almost. what's the audio stack like 2023-06-05 13:49:51 alsa 2023-06-05 13:50:05 thought, my answer would be I do, and it works well for me, though I'm not sure if that really helps you 2023-06-05 13:50:18 I use alsa and sndio and it works in that regard 2023-06-05 14:24:13 Just installed wireplumber, and apps no longer restore the last volume state. How do I enable that? 2023-06-05 14:24:53 restore it in what sense 2023-06-05 14:26:13 it does a bunch of per-stream whatever state management by default, but maybe you're thinking of something specific 2023-06-05 14:26:46 on invocation, mpv would restore the sound level to the last time it was executed. 2023-06-05 14:28:02 i.e. before, each time you opened mpv, the 'mpv app volume' would be where you left it 2023-06-05 14:28:05 now it defaults to something 2023-06-05 14:28:11 top volume 2023-06-05 14:28:16 yes 2023-06-05 14:29:26 not entirely sure, i always expected it to reset and got exactly that (because i have volume=30 set in mpv conf) 2023-06-05 14:29:35 you can see if https://pipewire.pages.freedesktop.org/wireplumber/configuration/main.html has something but i am not sure 2023-06-05 14:30:01 all other applications remember their volume state it seems, so maybe this is actually intended for mpv volume 2023-06-05 14:30:42 (everything else i just tested keeps volume across close-reopen) 2023-06-05 14:49:17 hmm 2023-06-05 16:45:36 hey, what's a good way to extract rar files on Alpine? Internet says to use unrar but it doesn't seem to be in the repo 2023-06-05 16:45:55 Quillith: bsdtar from libarchive-tools 2023-06-05 16:46:01 Thank you! 2023-06-05 17:01:04 ikke, you don't like 7z? 2023-06-05 17:01:11 thought: try it 2023-06-05 17:01:23 try bsdtar or 7z? 2023-06-05 17:01:26 7z 2023-06-05 17:01:31 i swear i remember using p7z 2023-06-05 17:01:39 back when alpine was the main driver 2023-06-05 17:03:24 7e060e5e91b48712c5da470ccf4a84f6af8611e0 2023-06-05 17:03:41 2b3abc74c5f33e4ab6b2b23a1716c813af73edc1 2023-06-05 17:03:45 (does the same thing as 7zip) 2023-06-05 17:03:57 both of them use the same unrar code for rar so it was only mistakenly enabled tho 2023-06-05 17:04:26 unrar code as in from unrar 2023-06-05 17:10:00 oh, what da hell 2023-06-05 17:10:30 does bsdtar support lzma? 2023-06-05 17:10:50 yes, it does 2023-06-05 17:10:57 https://libarchive.org/ 2023-06-05 17:25:09 p7z has horrible code, and is a thing from the past that shouldn't be used, now that 7z works on linux. 2023-06-05 17:25:31 jvoisin: that's why it was removed 2023-06-05 17:32:22 7z also has horrible code 2023-06-05 17:32:31 it is just like 5% less scuffed 2023-06-05 17:32:42 and seemingly works without random bug reports from people lol 2023-06-05 17:33:50 glory be 2023-06-05 17:33:57 psykose: i figured out the flatpak problem i used to have. installing flatpak, adding flathub as user, installing discord as user, and launching discord results in an error about being unable to open /var/lib/flatpak/repo. adding flathub to system and then removing it fixes it. i have no idea why the discord flatpak does this. 2023-06-05 17:34:59 bizarre! 2023-06-05 17:35:11 that sounds easy enough to try reproduce elsewhere and report upstream 2023-06-05 17:38:18 oh no it's even worse. running doas flatpak info fixes it too. 2023-06-05 17:50:19 Why is p7z so bad? 2023-06-05 17:53:07 the code is bad 2023-06-05 17:53:33 That's what I mean: Why is its code bad? 2023-06-05 17:53:42 What is your favorite code project? 2023-06-05 18:04:57 yours 2023-06-05 19:29:57 hi i'm trying to launch minecraft 1.12.2 through prismlauncher and i'm getting errors about openal. without configuration it segfaults and with native libraries enabled it says it's unable to locate the openal library. i have openal-soft installed and am unsure of what to do next to get this to work. does someone here know or could help me? 2023-06-05 19:31:18 the post-install tells you why that wouldn't work 2023-06-05 19:31:20 not really fixable 2023-06-05 19:31:37 that specified it was for version of minecraft 1.19 and newer, though. 2023-06-05 19:31:55 i assume older versions were fine 2023-06-05 19:31:56 no, for "all" and that 1.19 and newer have no workaround 2023-06-05 19:32:04 well, in that case the workaround would 2023-06-05 19:32:27 have to lower lwjgl for older ones too iirc 2023-06-05 19:33:27 1.12.2 is already using lwjgl 2. i'll try some different versions of it. 2023-06-05 19:36:00 I mean, strictly speaking there is always a workaround, it's technically possible to recompile and replace all native libraries with musl-compatible versions 2023-06-05 19:36:00 Though of course that would be highly impractical 2023-06-05 19:36:41 there's no difference between them. enabling native libraries for openal allows the game to launch there's just no audio. 2023-06-05 19:38:02 the audio thing seems separate 2023-06-05 19:38:20 or well, that's a random guess 2023-06-05 19:38:21 no clue 2023-06-05 19:44:29 i figured it out. it's a bit cursed. i made a symlink from libopenal.so.1 to libopenal.so 2023-06-05 19:44:41 works fine now lol 2023-06-05 19:44:52 you can add openal-soft-dev to get that anyway 2023-06-05 19:45:10 but yes, some stuff opens the bare name with no version 2023-06-05 19:45:14 bad practice and yes 2023-06-05 19:45:16 yet& 2023-06-05 19:46:09 i imagine the answer is no but is there a way to install -dev packages automatically like you can with -doc? setting up my dev environment was a bit annoying due to needing to specify them all manually. 2023-06-05 19:46:21 nope 2023-06-05 19:46:54 well thanks anyway for letting me know openal-soft-dev provides the file needed :) 2023-06-05 19:46:56 well, finding like 15 -dev packages is probably quite easy compared to anything else hehe 2023-06-05 19:47:12 you can also use https://pkgs.alpinelinux.org/contents?file=libopenal.so&path=&name=&branch=edge 2023-06-05 19:47:33 thanks! 2023-06-05 20:29:42 What's the recommended approach for cross-compiling a package for aarch64 on x86_64? 2023-06-05 20:29:54 I mean, are there handy scripts to do the lifting for me? :D 2023-06-05 20:29:58 qemu-user 2023-06-05 20:30:00 :P 2023-06-05 20:30:06 `CBUILD=aarch64 abuild rootbld` 2023-06-05 20:30:23 not really guaranteed to work obviously 2023-06-05 20:30:28 and that is qemu-user 2023-06-05 20:30:50 (apk add qemu-aarch64 qemu-openrc; service qemu-binfmt start) 2023-06-05 20:31:08 technically that is not cross compiling 2023-06-05 20:31:22 actual cross compiling doesn't have any support 2023-06-05 20:31:38 you'd have to manage your own --sysroot with apk --root and probably use clang+lld (which does cross) 2023-06-05 20:31:41 but all manual 2023-06-05 20:33:24 Oh, I expected something that used qemu under the hood, thanks. 2023-06-05 21:01:40 Didn't expect to see hyprland in aports 2023-06-05 21:04:57 got tired of seeing requests constantly 2023-06-05 21:09:32 Why does it blink so much like a light tube from an abandoned warehouse in a horror movie? 2023-06-05 21:10:45 flashy effects 2023-06-05 21:11:17 that's the snappiness 2023-06-06 01:45:58 Hi, I’m new to alpine and I’m not experienced with Linux in general. I have an IO ERROR with apk when I do "apk add" or "update" etc... I don't know what I can do 2023-06-06 02:24:42 Can you paste the exact error and the commands you're executing?  2023-06-06 02:50:29 Anyone on Edge x86_64 using picard and getting a crash of the entire DE (maybe DM?) when launching picard? 2023-06-06 03:50:15 alpine linux edge always have problem with some mesa-dri-gallium and mesa-va-gallium lol 2023-06-06 03:50:29 I had to roll back to v3.18 for a day 2023-06-06 04:01:48 Ah, maybe. I'm amazed that I can't even catch anything from the console before I log in, even. I guess I'd have to kill lightdm and try again... 2023-06-06 05:31:45 Saijin_Naib, I have that exact problem, but on another distro on another laptop 2023-06-06 05:31:52 (picard problem) 2023-06-06 05:32:15 And since a few months 2023-06-06 05:32:30 It works on my main laptop though, so didn't take the time to debug… 2023-06-06 06:44:17 hyprland looks like the Enlightenment of Wayland. 2023-06-06 10:10:03 hi. since chromium v.114, the context-menu is flickering, even if you disable the #chrome-refresh-2023 2023-06-06 10:10:36 does anyone experience this too? wayland, sway 2023-06-06 10:34:23 oleovit, I get it sometimes when the menu is low enough that it disappears below the bottom screen edge. 2023-06-06 10:34:37 that's in FF. 2023-06-06 10:40:30 yep, experienced a similiar behavior in firefox too, long ago. i guess, in chromium, this has to to with their unnecessary "refresh". but it can be anything. wayland, drivers, my ~ flags, .. et cetera. browsers are complex. very. i dont know. 2023-06-06 10:49:35 anyway, a f.. norovirus is forcing me to logout. sick. let's see. i guess, this is not that alpine related, so i dont want to waste dev-time. have a nice day/night and thx again for all the work to everyone. 2023-06-06 11:40:09 quinq: any idea of what the cause and work around might be?  2023-06-06 12:35:00 Hi. I am trying to add the msgpack extension to the official php 8.1 alpine-based Docker Image. Compiling the extension works fine, but when I try to enable it or run "ldd msgpack.so" the symbols of other php modules (like zend or session) can't be found so msgpack can't be enabled 2023-06-06 12:36:06 This is the official Dockerfile I am using: https://github.com/docker-library/php/blob/master/8.1/alpine3.16/fpm/Dockerfile 2023-06-06 12:56:12 irreleph4nt: any particular reason you're doing that instead of using alpine's php81-pecl-msgpack? 2023-06-06 13:00:20 seeing that it's not using alpine's php distribution whatsoever, i guess the answer is that you have to manually put all of msgpack's dependencies where php expects to find them. none of this bears any relation to alpine. 2023-06-06 13:08:00 ovf, reason is that I need to install a number of extensions that are not delivered with standard php. Namely pdo_oci / oci8 and pdo_sqlsrv / sqlsrv. 2023-06-06 13:08:02 I considered using the php81 packages from alpine, but given how these packages will update in version rather silently, I don't think I will be able to set up repeatable builds of php + extensions in a Dockerfile. 2023-06-06 13:08:48 I am doing this for work BTW, so I can't have the build of an ext fail just because alpine upgraded the php81 packages 2023-06-06 13:10:08 are you managing security updates yourself then? 2023-06-06 13:10:24 ovf, I was going to do that. yes 2023-06-06 13:10:53 Given how I am behind a company proxy, my docker builds also can't use pecl or pear. So the standard ways for getting these extensions installed don't wortk for me 2023-06-06 13:14:39 doesn't pecl/pear respect http_proxy? 2023-06-06 13:16:40 It may. But the pecl / pearl URLs are blocked in our Docker build environment. I hence won't be able to connect. 2023-06-06 13:18:23 heh. Alsp it doesn't apparently, but has yet another knob https://github.com/mlocati/docker-php-extension-installer/issues/332 2023-06-06 13:23:19 Does PECL support installing from a local tgz package? I seem to recall that ability to be documented for PEAR 2023-06-06 13:39:09 i'm trying to use the arm-none-eabi cross compiler package and getting errors like this: 2023-06-06 13:39:27 /usr/lib/gcc/arm-none-eabi/12.2.0/../../../../arm-none-eabi/bin/ld: warning: /usr/lib/gcc/arm-none-eabi/12.2.0/../../../../arm-none-eabi/lib/thumb/v7e-m/nofp/libg_nano.a(libc_a-memcpy-stub.o) uses 2-byte wchar_t yet the output is to use 4-byte wchar_t; use of wchar_t values across objects may fail 2023-06-06 13:39:46 looks like newlib was miscompiled with a bad nondefault abi .. ? 2023-06-06 13:47:13 yes the APKBUILD is explicitly building it wrong .... grrrr 2023-06-06 13:47:21 export CFLAGS_FOR_TARGET="-Os -ffunction-sections -fdata-sections -fshort-wchar" 2023-06-06 13:48:10 WHY 2023-06-06 13:50:19 what are you want to achive? 2023-06-06 13:50:47 some context would help 2023-06-06 13:55:32 dalias: why are you using the _nano version? 2023-06-06 13:56:09 please read the comment at https://git.alpinelinux.org/aports/tree/community/newlib/APKBUILD#n54 2023-06-06 14:01:20 i'm just trying to build firmware that uses it 2023-06-06 14:04:29 specifically newlib_nano? 2023-06-06 14:06:41 yes it specifically uses --specs=nano.specs --specs=nosys.specs 2023-06-06 14:06:44 but here's the problem 2023-06-06 14:06:49 only for the final link *grrrr* 2023-06-06 14:06:56 wonder how this works on other systems 2023-06-06 14:13:11 ok the specs file is broken 2023-06-06 14:13:28 it has -isystem =/include/newlib-nano %(nano_cpp_unique_options) but there's no such directory in the package 2023-06-06 14:13:52 no, there is under include.. 2023-06-06 14:13:56 but it's not working 2023-06-06 14:22:33 i guess nano.specs should pass on -fshort-wchar? 2023-06-06 14:23:51 yes 2023-06-06 14:23:59 and it's broken in some other ways too i think 2023-06-06 14:24:02 that's only a warnng 2023-06-06 14:24:06 i'm also getting.. 2023-06-06 14:24:23 (.text.get_eit_entry+0x84): undefined reference to `__exidx_start' 2023-06-06 14:24:35 and other errors 2023-06-06 14:25:57 hacking in a --sysroot to use picolibc seems to make it build fine but i'm not sure if it actually works :-p 2023-06-06 16:57:34 you should open an issue about it then 2023-06-06 17:04:31 No, Saijin_Naib, sorry :/ 2023-06-06 17:04:40 I'm just using it on my main music machine 2023-06-06 17:07:54 it sounds like it uses non-nano specs for the whole build and then nano for linking which is obviously not going to work and the actual issue 2023-06-06 17:08:02 your main music machine? down with the scene, like a sex machine? (get down, get on up)? 2023-06-06 17:09:22 psykose, yes but i changed the CFLAGS to use the nano specs for the whole build and it's still broken 2023-06-06 17:09:40 i see no open issue about it so i guess it doesn't exist 2023-06-06 17:09:41 :-) 2023-06-06 17:09:49 i'm just going to copy the target includes/libs from binaries elsewhere and use --sysroot :-p 2023-06-06 17:10:05 because from the perspective of the host/distro they're data not code 2023-06-06 17:10:17 and there's no harm in just using ones from a foreign source as such 2023-06-06 17:12:56 lopid, not quite :) 2023-06-06 17:13:28 oh 2023-06-06 17:34:13 quinq: all good. I'm going to try the Flatpak and see if that also breaks things  2023-06-06 17:34:59 I just switched off the Flatpak to try and have all software from APK if possible, so if this issue has been around for a bit, that's probably why I missed it  2023-06-06 17:40:07 picard always worked for me fine 2023-06-06 17:40:21 in wayland anywa 2023-06-06 17:43:25 Yeah, it works fine always until it doesn't :D 2023-06-06 18:38:25 Hi. Yet another PHP question: Given how I was unable to get msgpack to work, I switched to the official alpine php81* packages. Out of curiosity I ran ldd on the .so files of these after installation and they all report a number of missing symbols. Is that to be expected? 2023-06-06 18:44:03 yes, the symbols come from php 2023-06-06 18:44:14 the extensions are dlopened by php 2023-06-06 18:44:22 ldd'ing any python .so module does the same 2023-06-06 18:44:24 etc 2023-06-06 18:45:34 the s in php stands for security 2023-06-06 18:47:41 php: hypertext preprocesecuritysecurityor 2023-06-06 19:49:40 Thanks! I am not entirely sure I understand how any of that translates into missing symbols, but I'll take it :D 2023-06-06 19:54:28 they come from php 2023-06-07 00:00:11 psykose, i don't see any -fshort-wchar in debian's nano.specs file either. it looks the same. so i wonder if someone put a bunch of CFLAGS in alpine's newlib_nano build that weren't supposed to be there... 2023-06-07 00:00:27 i don't see an open issue about it either 2023-06-07 00:00:36 ok :) 2023-06-07 00:01:09 i'm trying to figure out what the actual problem is tho before i report a problem different from the underlying issue 2023-06-07 00:02:22 it probably was just accidentally added 2023-06-07 00:02:24 (2 years ago) 2023-06-07 00:02:33 ? 2023-06-07 00:02:41 the flag 2023-06-07 00:02:52 though that would surprise me as i'd have expected someone else to have had it break something 2023-06-07 00:02:57 i didn't see it changing in the history but i might have overlooked it 2023-06-07 00:03:00 so not really sure if indeed as you say it's the underlying issue 2023-06-07 00:03:04 i doubt anything uses wchar in this kind of embedded 2023-06-07 00:03:10 but it puts an ABI tag on the elf files 2023-06-07 00:03:15 that makes warnings at link time 2023-06-07 00:03:27 ah 2023-06-07 00:03:32 it was indeed 4 years on initial creation 2023-06-07 00:03:46 i suspect old binutils didnt complain 2023-06-07 00:03:57 though initially in cflags and not _for_target 2023-06-07 00:04:01 other stuff is broken too tho -- it might be a mismatched libgcc or something 2023-06-07 00:04:10 uhg, in CFLAGS is even worse.. 2023-06-07 00:04:15 that breaks host ABI 2023-06-07 00:04:19 yeah, that one was just wrong 2023-06-07 00:04:38 it might not be a bad idea to trap that somewhere 2023-06-07 00:04:43 #error in headers if it's been set 2023-06-07 00:05:12 yes 2023-06-07 00:05:28 you have to be quadruple sure it's not some niche valid use though :p 2023-06-07 00:07:16 it's not. you can't use libc if you're passed CFLAGS that change the ABI to one that mismatches :-p 2023-06-07 00:20:03 psykose: I don't have a working Wayland install to test... Something to try  2023-06-07 00:20:17 yeah don't really a suggestiong 2023-06-07 00:20:26 i mean, opening an application and X crashing is firmly an X bug 2023-06-07 00:20:30 doesn't really matter what it does 2023-06-07 00:20:50 so the questions are 'why does it crash (is it the python qt bindings or qt codepath itself, and what part of x fails) 2023-06-07 00:21:15 could also be the xorg wm crashing i guess 2023-06-07 00:26:08 that said i havent used xorg in like 6 years and firmly Don't Care if it's broken somewhere or not personally 2023-06-07 00:26:37 there's probably a soup of random bugs i ran into 10 years ago that are still there 2023-06-07 00:27:01 unlike wayland where every single bug i ever encountered got fixed at some point 2023-06-07 00:27:21 (doesn't stop new ones from happening :-) ) 2023-06-07 00:35:59 Flatpak kills XORG, too 2023-06-07 00:36:03 No easy fix 2023-06-07 00:36:14 yeah something sounds giga broken 2023-06-07 00:36:18 which wm again 2023-06-07 00:36:23 If XFCE was Wayland, I'd be in Wayland 2023-06-07 00:36:44 in roughly 2 years it probably would be 2023-06-07 00:36:45 XFCE4WM, lightdm (if that matters)  2023-06-07 00:36:59 xfwm4 has a wayland port somewhere in some progress 2023-06-07 00:37:34 Yeah, I saw! And many tools are getting compatible. Causes some rage in that community 🙄 2023-06-07 00:37:45 https://github.com/adlocode/xfwm4/tree/wayland this? 2023-06-07 00:37:55 ye 2023-06-07 00:37:59 Hmm 🤔, I guess I can muck around and go GDM+GNOME to finish testing  2023-06-07 00:38:25 i'm happy it is wlroots 2023-06-07 00:38:46 All I know is each one is super different. Why is that a good one?  2023-06-07 00:39:07 I'm not questioning your judgement, I trust that, I'm just curious  2023-06-07 00:40:41 well there's no other one that is usable (unless i'm forgetting) 2023-06-07 00:40:52 🤣  2023-06-07 00:40:57 gnome's mutter and kde's kwin implement their own wayland compositor stack from scratch 2023-06-07 00:41:12 so i'm happy they picked wlroots instead of making their own like the other de's :-) 2023-06-07 00:41:36 libweston \o/ 2023-06-07 00:41:40 there's also smithay 2023-06-07 00:41:47 yes, those two as well 2023-06-07 00:42:47 does anything use those? the latter is also an entire wayland toolkit, so clients use it, but i haven't seen a wm aside from cosmic 2023-06-07 00:42:58 former is.. uhh idk who uses any part of weston except industrial 2023-06-07 00:43:18 'industrial' meaning any business stuff, appliance devices 2023-06-07 00:43:33 Is weston Maynard?  2023-06-07 00:43:47 yes 2023-06-07 00:43:48 https://github.com/raspberrypi/maynard 2023-06-07 00:43:50 apparently 2023-06-07 00:44:08 ah, there's Mir too 2023-06-07 00:44:26 as a standalone thing 2023-06-07 00:44:40 Mir was Ubuntu, right? Didn't that stall?  2023-06-07 00:45:25 no, still maintained 2023-06-07 00:47:19 Ahh... I have a half decade of this to catch up on, apparently  2023-06-07 01:11:47 Hi, I am trying to use android-tools on alpine linux, but I the the error: "Error relocating /usr/bin/fastboot:. symbol not found" 2023-06-07 01:12:17 After some searching, it seems like it may be a musl versus glibc issue. Any ideas for a workaround? 2023-06-07 01:12:34 paste the actual error 2023-06-07 01:13:17 installed android-tools earlier on my pinephone via apk add 2023-06-07 01:13:17 Error relocating /usr/bin/fastboot: _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE15_M_replace_coldEPcmPKcmm: symbol not found 2023-06-07 01:13:29 where did you get android-tools from 2023-06-07 01:13:43 apk add android-tools 2023-06-07 01:13:51 paste `cat /etc/apk/repositories` 2023-06-07 01:14:47 http://dl-cdn.alpinelinux.org/alpine/edge/main 2023-06-07 01:14:50 http://dl-cdn.alpinelinux.org/alpine/edge/community 2023-06-07 01:14:52 http://dl-cdn.alpinelinux.org/alpine/edge/community 2023-06-07 01:14:54 http://dl-cdn.alpinelinux.org/alpine/edge/community 2023-06-07 01:14:56 http://dl-cdn.alpinelinux.org/alpine/edge/testing 2023-06-07 01:15:19 did you forget to upgrade to edge with `-a` 2023-06-07 01:15:24 just run `apk upgrade -a` 2023-06-07 01:16:09 Okay, what does that option do? 2023-06-07 01:16:35 you need it to upgrade to the new packages in a new repository, otherwise it keeps the ones in the old one 2023-06-07 01:17:37 Okay, cool. I see it in the help menu now. I was running "apk --help" instead of "apk upgrade --help" 2023-06-07 01:17:47 Thanks, I'll try it 2023-06-07 01:56:12 I think I have a different nickname now, but I just asked about android-tools. I did the "apk upgrade -a", which solved the error that I was having, although I am not sure that android-tools is using the usb properly. Now my fastboot command is just waiting at "waiting for any device" 2023-06-07 01:57:55 you probably want android-udev-rules for the devices to get assigned to plugdev group, and to add yourself to plugdev group 2023-06-07 01:58:02 otherwise only as root can you access the devices afaik 2023-06-07 02:02:51 Yes, using root worked! 2023-06-07 02:03:05 Awesome, thanks again 2023-06-07 05:37:01 hello! 2023-06-07 05:39:23 hello! 2023-06-07 05:40:15 I have a question, in case some kind soul wants to solve it for me. 2023-06-07 05:40:54 Where does Alpine Linux store time zone information? 2023-06-07 05:41:05 Thank you so much! 2023-06-07 05:42:22 richirm: /etc/localtime is a symlink to a timezone 2023-06-07 05:42:55 nowhere, unless you mean /usr/share/zoneinfo from tzdata, or /etc/localtime that you can symlink to there, or setup-timezone that can either do that for you or install only a single one by cp instead of ln and delete tzdata after 2023-06-07 05:47:49 I use Alpine from Docker ( "docker run -di --name alpine alpine; docker exec -ti alpine sh;" ). It would be nice if the time zone could be set somehow. 2023-06-07 05:50:50 apk add alpine-conf; /sbin/setup-timezone 2023-06-07 05:51:25 or apk add tzdata && ln -s /etc/zoneinfo/ 2023-06-07 05:52:54 missing an argument there pretty sure 2023-06-07 05:56:30 Thank you so much! 2023-06-07 05:56:34 What I'm looking for is a command that returns the time zone in a string. In Fedora 38, which is the Linux distribution that I use to work, it is done like this: 2023-06-07 05:57:07 03timedatectl | awk '/Time zone:/ {print $3}' 2023-06-07 05:57:41 returns what timezone in a string? 2023-06-07 05:57:46 the current one? 2023-06-07 05:57:54 For example, Europe/Madrid 2023-06-07 05:58:11 readlink /etc/localtime | cut -d/ -f5- 2023-06-07 05:58:47 won't work if it doesn't exist or uses /etc/zoneinfo type instead 2023-06-07 06:00:09 this isn't distro specific, use your imagination :) 2023-06-07 06:00:12 fedora has the same symlink 2023-06-07 06:00:51 Sorry, I'm a newbie to Alpine... :) 2023-06-07 06:01:13 the only part specific to alpine is timedatectl doesn't exist because there is no systemd 2023-06-07 06:01:31 everything else is mostly generic linux 2023-06-07 06:03:27 Forgive my ignorance, but when you're installing Alpine, why doesn't the installer ask for the time zone? 2023-06-07 06:04:43 I am very glad to be here with expert Linux users. 2023-06-07 06:05:18 it does 2023-06-07 06:08:08 I use dockerized Alpine: 03"docker run -di --name alpine alpine; docker exec -ti alpine sh;"01, and I don't see any timezone when I get into the container with sh. 2023-06-07 06:08:51 to put it bluntly- you are starting a shell in a container 2023-06-07 06:08:53 not running an installer 2023-06-07 06:09:09 i think you don't understand what docker is or what you are doing if you expect that to do anything except give you a shell 2023-06-07 06:09:52 the "installer" is setup-alpine (a shell script, provided by the alpine-conf package, not installed in the container image by default because there is no use in even running it there) 2023-06-07 06:10:11 for container uses you can just `apk add tzdata` and set TZ= env var 2023-06-07 06:10:38 e.g. TZ=Europe/Amsterdam 2023-06-07 06:11:53 if you "docker run -di --name fedora fedora; docker exec -ti fedora sh;" that's not going to run you an installer either 2023-06-07 06:12:46 docker exec runs a command in container context, sh in that case, and sh is just a shell 2023-06-07 06:14:15 But couldn't there be a way to set the Timezone when you do "docker pull alpine"? I have knowledge of Docker for a medium level user. I'm happy to talk to you, @psykose 2023-06-07 06:14:32 no 2023-06-07 06:14:48 docker pull alpine tells the docker daemon to pull a container image and save it into the store 2023-06-07 06:14:59 it doesn't then also create a container and run some arbitrary installer and ask you stuff 2023-06-07 06:15:02 that makes no sense 2023-06-07 06:17:10 That kind of configuration is typically done in an application specific entrypoint that gets run when you start the xotbai4 2023-06-07 06:17:24 container* 2023-06-07 06:28:58 So in order to have a Timezone configured on my Alpine, I have to create an image based on Alpine's Docker image, and add to the Dockerfile the necessary commands to initialize the Timezone. Would this be correct? 2023-06-07 06:30:09 sure 2023-06-07 06:30:55 That's a pretty common workflow for docker, not specific to alpine 2023-06-07 06:33:04 you've probably done it a few thousand times by now as a medium level docker user with experience, as that's how you generally work with dockerfiles and making containers in the docker ecosystem 2023-06-07 06:33:17 there's slightly different approaches outside of docker but fundamentally it's mostly the same 2023-06-07 06:45:36 Thank you for your answers, [psykose] 2023-06-07 06:46:10 Thanks [ikke] 2023-06-07 06:54:04 Thanks and bye!! 👋 2023-06-07 07:01:06 could also just mount localtime from the host 2023-06-07 07:01:57 does docker pull voidlinux do that? 2023-06-07 07:02:18 only if you run the installer in there 2023-06-07 07:02:31 that sounds like bloat 2023-06-07 07:02:46 time is bloat 2023-06-07 07:07:23 if you just don't look at the time it won't go forward 2023-06-07 07:15:08 Hi all :-) 2023-06-07 07:16:58 what's up 2023-06-07 07:17:28 I'm in love with Alpine Linux :-D 2023-06-07 07:18:13 don't think you can marry that one sadly 2023-06-07 07:18:44 :-D 2023-06-07 07:23:34 I'm encountering a strange thing: I'm unable to play any youtube video, on all installed browsers (firefox alpine's package or chromium/brave as flatpak). The page is loaded properly, but video seems constantly loading 2023-06-07 07:24:30 sounds like some youtube thing where they broke something or geo / blocking-stuff related 2023-06-07 07:27:26 same thing with dailymotion or vimeo 2023-06-07 07:29:02 It smells as a browser issue as mpv is able to play without any problem 2023-06-07 07:30:55 could be 2023-06-07 07:30:58 graphics acceleration things? 2023-06-07 07:31:14 if flatpak doesn't work though it sounds like gpu stuff 2023-06-07 07:31:33 though well, by default nothing uses hardware accelerated decode or whatevver 2023-06-07 07:31:47 this sounds like something that would print a log when failing 2023-06-07 07:32:02 what's your system 2023-06-07 07:43:40 It's a framework laptop with 12th gen intel cpu 2023-06-07 07:47:29 what wm are you running 2023-06-07 07:47:51 gnome on wayland 2023-06-07 07:48:50 does a different one work 2023-06-07 07:54:02 I haven't tryed another wm. I'm not a big video consumer but it was working properly last time I watched a video (maybe weeks ago) 2023-06-07 12:41:57 hello friends 2023-06-07 12:42:30 I'm trying to debug why screensharing on firefox & sway doesn't work 2023-06-07 12:42:41 but I can't seem to find any dbus log whatsoever, any tips? 2023-06-07 12:47:51 what version of firefox and stuff 2023-06-07 12:50:09 check https://github.com/emersion/xdg-desktop-portal-wlr/wiki/%22It-doesn't-work%22-Troubleshooting-Checklist and make sure you have that +wireplumber etc 2023-06-07 12:50:18 check https://mozilla.github.io/webrtc-landing/gum_test.html for the easy way to check capture 2023-06-07 12:50:33 and specifically it was broken until a few weeks ago due to a bug in libwebrtc but it's been fixed for a while 2023-06-07 12:56:01 figure it out, by manually running both the desktop-portal and desktop-portal-wlr with a -r 2023-06-07 12:56:17 yeah, it apparently worked fine now 2023-06-07 12:56:39 maybe the means to activate those two services are broken somehow 2023-06-07 12:56:53 probably locally, since it worked on another alpine machine I had 2023-06-07 12:58:18 they're meant to auto launch but sometimes it doesn't happen 2023-06-07 12:58:43 glad that works now 2023-06-07 13:25:31 yeah, weird 2023-06-07 13:25:42 it's dbus who spawn those, right? 2023-06-07 13:25:51 well, it should be, I guess 2023-06-07 13:26:09 dbus is always broken here for some weird reason 2023-06-07 13:26:28 or I didn't really setup in a correct way to make it work 100% of the time 2023-06-07 13:43:14 yesterday I had to force reboot and now fsck is failing, but whenever it runs with error "Error relocating /sbin/fsck: mnt_cache_set_sbprobe: symbol not found" 2023-06-07 13:43:48 Whenever I try to start the networking service it says "ERROR: fsck failed to start" with the same reason 2023-06-07 13:44:09 I've mounted each block device on a recovery USB and run fsck, which reports no problems 2023-06-07 13:44:22 anyone have an idea as to why this symbol is now not being found? 2023-06-07 13:45:48 does it come with more output than that like a missing solib 2023-06-07 13:46:19 no the missing symbol is the only output when I run `fsck` 2023-06-07 13:46:47 that sounds like your /sbin/fsck is from util-linux 2.39 but /lib/libmount.so.1 is from 2.38 then 2023-06-07 13:47:34 yes that's exactly right 2023-06-07 13:47:37 what's in your /etc/apk/repositories 2023-06-07 13:48:02 only edge/main,community,testing 2023-06-07 13:48:06 I'm not mixing major versions 2023-06-07 13:48:13 that makes little sense then 2023-06-07 13:48:14 no idea 2023-06-07 13:48:34 what does `apk version` say, and does libmount upgrade on upgrade 2023-06-07 13:48:43 if you ever remade the initfs both would get moved into it at once 2023-06-07 13:48:44 hrm 2023-06-07 13:49:24 apk version says `libmount-2.38.1-r4` is installed, `2.39-r6` is available 2023-06-07 13:49:41 and if you upgrade 2023-06-07 13:49:47 don't have a network connection 2023-06-07 13:49:52 but I could get the package on a usb and bring it across 2023-06-07 13:50:06 hrm, no, more interested in how it would happen normally 2023-06-07 13:50:14 no clue why it would be held back before 2023-06-07 13:50:47 if just `apk add 'libmount>=2.39'` fails etc 2023-06-07 13:52:02 I think I can fix it from here, is there anything you want to know before I continue? 2023-06-07 13:54:13 don't think so, but do run that command i guess 2023-06-07 13:54:41 well, i guess it won't matter without a whole index 2023-06-07 13:57:33 under that command libmount upgraded fine 2023-06-07 13:58:53 i actually forgot to ask for world too 2023-06-07 13:58:54 oh well 2023-06-07 13:59:00 but yeah it makes no sense 2023-06-07 13:59:13 either there was a bug somewhere or you had like <2.39 of something 2023-06-07 13:59:15 or 2023-06-07 13:59:15 ah 2023-06-07 13:59:25 did you upgrade from 3.1X->edge without -a? 2023-06-07 13:59:59 actually yes i think so 2023-06-07 14:00:02 that would keep '3.18 libmount', and it would just never get changed 2023-06-07 14:00:03 what does -a do? 2023-06-07 14:00:12 changes to latest from available repos 2023-06-07 14:00:26 i.e. libmount was in 3.18, you changed repos to edge, there is a 'newer libmount' in edge 2023-06-07 14:00:32 but, things only pull it in via so: dep 2023-06-07 14:00:35 and that one is the same 2023-06-07 14:00:41 no version constraints anywhere on anything 2023-06-07 14:00:49 so it just never gets upgraded to 2.39 of edge 2023-06-07 14:00:54 because it's not tracking edge 2023-06-07 14:00:59 -a makes it track the new repo too 2023-06-07 14:01:07 also allows downgrades etc 2023-06-07 14:01:15 in laymans terms anyway 2023-06-07 14:01:20 but yes, it's required when swapping repos 2023-06-07 14:01:52 same between releases and so on 2023-06-07 14:04:01 it swaps repos anyway to satisfy explicit version/soname constraits to be clear, but it won't otherwise, and nothing requests >=2.39 and the soname didn't change, etc 2023-06-07 14:08:17 thanks! 2023-06-07 14:08:32 also unrelated but why isn't testing built for major versions? 2023-06-07 14:13:29 just isn't 2023-06-07 15:11:52 Hi, dose apk auidt the binary ? 2023-06-07 15:13:19 in what sense 2023-06-07 15:13:25 what binary 2023-06-07 15:13:29 what audit 2023-06-07 15:13:47 e.g. some malware changed /bin/bash, I want to apk audit report the change 2023-06-07 15:14:09 no 2023-06-07 15:14:37 not apk audit? 2023-06-07 15:14:50 recently, due to mem failed, my disk report some error, I hope I can ensure the binary is ok 2023-06-07 15:16:00 apk audit is just for the protected dirs (i.e. /etc) 2023-06-07 15:16:04 apk audit seems a great tool for this, it's audit 2023-06-07 15:16:11 apk audit --full 2023-06-07 15:16:21 til 2023-06-07 15:16:25 yeah that works 2023-06-07 15:16:33 thanks 2023-06-07 15:16:37 also --system 2023-06-07 15:16:39 yep 2023-06-07 15:16:54 damn that's useful 2023-06-07 15:17:02 i keep forgetting the little things :-) 2023-06-07 15:17:13 to be fair, I just checked apk audit --help :P 2023-06-07 15:17:18 also just reinstalling every bin is easy (apk fix '*') 2023-06-07 15:17:26 though ofc you will then have 500 .apk-new files for /etc 2023-06-07 15:17:59 wow, thanks for apk fix '*' 2023-06-07 15:18:22 seems --full=--system 2023-06-07 15:18:30 but not 2023-06-07 15:20:02 https://man.archlinux.org/man/apk-audit.8.en 2023-06-07 15:20:24 (doesn't list all options) 2023-06-07 15:20:38 man apk-audit does if you have apk-doc installed 2023-06-07 15:21:28 never installed man in alpine, my bad 2023-06-07 15:22:36 report `A /bin/ash`, but `apk info -W /bin/ash` symlink to busybox, seems apk audit do not handle symlink 2023-06-07 15:23:22 if you use --full, it reports all adding files, and those symlinks are not tracked by apk, so it shows them as added 2023-06-07 15:23:30 all added files* 2023-06-07 15:47:29 anyone know the status of https://dso.docker.com/cve/CVE-2023-2650 fix for Alpine? 2023-06-07 15:48:21 openssl-3.1.1 with the fix is available 2023-06-07 15:48:34 its not available in edge or 3.18 though, right? 2023-06-07 15:48:49 It is 2023-06-07 15:49:27 http://dl-cdn.alpinelinux.org/alpine/edge/main/aarch64/ only has openssl-3.1.0 not 3.1.1 2023-06-07 15:49:37 openssl-3.1.0-r5.apk 15-May-2023 08:38 317K 2023-06-07 15:50:01 that's from arm builders being down 2023-06-07 15:50:08 back eventually 2023-06-07 15:51:05 :) 2023-06-07 16:29:09 i don't mean to put any pressure, especially considering the package in question (synapse) has only been outdated for a day, this is just a question: edge packages are generally updated as soon as the maintainer gets to it, without a set schedule, right? 2023-06-07 16:29:33 correct 2023-06-07 16:30:41 sure i'll update it 2023-06-07 16:30:42 :-) 2023-06-07 16:51:02 "correct" <- alright cool 2023-06-07 16:52:55 "sure i'll update it" <- oh thank you :> 2023-06-07 16:53:34 should be there 2023-06-07 16:55:49 yep! it is 2023-06-07 19:35:53 hi. I'm trying to boot 3.18.0 x86_64 .iso in qemu using `qemu-system-x86_64 -accel kvm -cdrom alpine-standard-3.18.0-x86_64.iso` and it fails with a lot of error messages of the form "error: /sbin/udhcpc: No such file or directory", leading eventually to it to drop me to a recovery shell 2023-06-07 19:36:15 https://ahti.space/~nortti/u/Kuvakaappaus_2023-06-07_22-36-00.png 2023-06-07 19:36:36 nortti: you need to give the VM more memory 2023-06-07 19:36:51 The default amount is too little 2023-06-07 19:36:55 ah, I see. thank you 2023-06-07 19:50:36 wondering, as root why doing a doas -u user is asking me the root password ? is it by design or is there a way to avoid that 2023-06-07 19:51:20 it prompts for the current user password 2023-06-07 19:51:35 not the root one 2023-06-07 19:51:41 so, by design 2023-06-07 19:51:53 blt[m]: su would ask for the target users password 2023-06-07 19:52:00 (except for root) 2023-06-07 19:52:14 as root, it would let you just switch user 2023-06-07 19:52:33 it is not what I experiment here 2023-06-07 19:53:13 am trying to pass some commmand as ceph user (no shell) and I have to put the root user when I try a doas -u ceph 2023-06-07 19:54:13 what user are you running it as 2023-06-07 19:54:21 i.e. whoami 2023-06-07 20:00:26 as root 2023-06-07 20:00:31 doas -u ceph echo "muvra" is asking root password for me 2023-06-07 20:00:37 yes, that's what we said 2023-06-07 20:00:39 you are root 2023-06-07 20:00:44 so it asks for the root password 2023-06-07 20:00:46 i.e. current user 2023-06-07 20:00:55 it does not prompt for the target password 2023-06-07 20:01:02 that wouldn't make sense; that's what su does already 2023-06-07 20:01:09 you can exclude root if you want 2023-06-07 20:01:12 permit nopass root 2023-06-07 20:01:22 then it prompts nothing for doas -u whatever as root 2023-06-07 20:01:26 since you're root anyway 2023-06-07 20:01:30 ha ok I understant 2023-06-07 20:01:52 i generally add exactly that to doas.conf 2023-06-07 20:01:53 :) 2023-06-07 20:01:56 yes I thought it would not ask any password as root (I was indeed not expected to be ask for the targeted user password as I am root) 2023-06-07 20:04:40 very nice, I just tested 🙂 2023-06-07 20:49:53 Is possible to add a package without its dependencies? I am trying to install something which is just a script but it's adding a load of stuff I don't need as that stuff is being exposed by the container docker host 2023-06-07 20:51:43 eggbean: if it's just a handful of dependencies, you could add matching virtual packages for them with `apk add -t pkgname` 2023-06-07 20:52:25 otherwise, you could also try and modify the package if you build it yourself 2023-06-07 20:53:06 in general, ( to the best of my knowledge ), apk ensures every package in /etc/apk/world has its dependencies met on every transaction 2023-06-07 20:53:16 yes 2023-06-07 20:53:21 that's how apk works 2023-06-07 20:53:28 fundamentally 2023-06-07 20:53:38 so even if you could add it and somehow not add the dependencies, they would get installed anyway on any other add/upgrade/del 2023-06-07 20:55:42 Thanks. Just trying to find out what a virtual package it 2023-06-07 20:55:47 s/it/is 2023-06-07 20:55:56 It's a package that does not have any content 2023-06-07 20:56:04 so not really what you want 2023-06-07 20:56:20 it's more like the opposite, you can add dependencies to a virtual package 2023-06-07 20:56:43 It's just a script, so I could just wget it from github on build 2023-06-07 20:57:36 It's fzf-tmux. apk goes ahead and installs tmux and libevent etc 2023-06-07 21:07:14 as is required to actually use it, with tmux 2023-06-07 21:07:21 it's quite useless by itself without.. tmux 2023-06-07 21:07:46 but no, in general you can't do that 2023-06-07 21:08:02 the -t trick works but then eventually you'll break something else with it, and then that's your fault :-) 2023-06-07 21:08:42 how would it work? You could only do the opposite, only install dependencies while masking the actual package 2023-06-07 21:09:43 it can't 2023-06-07 21:12:56 ikke: if there's only one dependency, you just add that dependency as a virtual, then apk thinks it's already installed 2023-06-07 21:14:09 oh yeah, that would work' 2023-06-07 21:14:13 masking each dependency 2023-06-07 22:51:48 do you think a usb to ethernet will work if it says it has drivers on flash memort, and compatible with linux? (doesnt it depends on which distro??) 2023-06-07 22:53:22 no 2023-06-07 22:53:26 it should work 2023-06-07 22:54:01 psykose: cool cool :) 2023-06-08 01:55:47 how can I stop pipewire launcher wiping my alsa volume levels? I have alsa as an openrc service, and it restores the levels correctly. then I start x, which starts pipewire-launcher, and it resets them 2023-06-08 01:56:07 having real difficulty with sound in general. not 100% sure where pipewire launcher should be, but only seems to work in my WM autostart 2023-06-08 01:57:15 pipewire is really bad 2023-06-08 01:57:51 well what else works with modern normie apps? they expect some like pulse audio like, not alsa 2023-06-08 02:00:30 i don't think you can use alsa and pipewire together like you are 2023-06-08 02:01:06 fair enough. my end goal is basically I want to turn my machine on and not have to manually reset the volume. not sure what the solution is 2023-06-08 02:01:20 you shouldn't need alsa to do that 2023-06-08 02:01:27 pipewire should do that itself already 2023-06-08 02:01:57 ok, so I should disable the alsa startup service? I'll try that and restart 2023-06-08 02:05:08 "well what else works with modern..." <- I thought browser "just play" audio and I'm using alsa now 2023-06-08 02:05:34 electron apps. stuff like signal, discord, steam etc 2023-06-08 02:06:25 LACampbell: I'm using them in a browser 2023-06-08 02:06:41 abby: how are you starting pipewire? it's not remember my audio levels at all. (I assume alsamisxer still shows audio levels) 2023-06-08 02:06:45 but I think it is wise to use in app because I'm using the testing repo 2023-06-08 02:07:00 i'm not on alpine but i just start pipewire with my wm 2023-06-08 02:07:12 Someone[m]1: yeah I'd love to but I'm not there yet. I had all this stuff working in my old install of antoher distro, wish I'd written it down 2023-06-08 02:07:25 ok I am starting pipewire with my wm too, so that's not what I'm doing wrong 2023-06-08 02:07:27 and then pipewire launches wireplumber and pipewire-pulse for me 2023-06-08 02:07:49 I'm using sway lol 2023-06-08 02:07:54 it is really hard to set up 2023-06-08 02:08:16 ok I've got wire plumber running too 2023-06-08 02:09:12 ok I've got wire plumber running too. but audio levels are not being remembered. hmm I'll try one more restart then that's enough sysfiddling for today 2023-06-08 02:09:30 also element-desktop is working and it is electron app 2023-06-08 02:10:59 huh. discord (electron) won't pick up anything without pipewire IIRC. I'll try and kill it off I guess 2023-06-08 02:11:00 do you have pipewire-alsa installed? i think for alsa-mixer to show things correctly, you'd need that 2023-06-08 02:11:13 is pipewire-pulse running? 2023-06-08 02:11:20 things like discord will only know how to speak pulse 2023-06-08 02:11:52 abby: yes that's installed, pulse is running, wpctl status is showing all devices 2023-06-08 02:12:01 LACampbell: discord is really violating user's privacy, I suggest running it in the browser 2023-06-08 02:12:05 *pipewire-pulse is I mean 2023-06-08 02:12:13 Someone[m]1: won't screenshare properly then 2023-06-08 02:12:21 yes 2023-06-08 02:13:07 ok I'm not RMS, if I want to interact with the realworld I need to run this crapware unfortunately 2023-06-08 02:14:47 “realworld” is out the window ;) 2023-06-08 02:14:59 semirealworld 2023-06-08 02:15:18 business world? you know what I mean 2023-06-08 02:16:27 I suppose you mean constraints you have to deal with for some reason, yeah 2023-06-08 02:17:01 huh, there's a pipewire group. maybe it would help if my user was apart of that 2023-06-08 02:17:42 Did you have a look at the wiki (just in case)? 2023-06-08 02:18:48 yeah multiple times. guess I'll give it another look 2023-06-08 02:19:31 Well, if you already followed the instructions and it didn't work, there must be a problem 2023-06-08 02:20:24 That was to make sure you were not starting from scratch without it 2023-06-08 02:21:22 yeah but IME It's always worth while reading stuff carefully. 2023-06-08 02:24:30 I give up for today. will just have to remember this when I restart for now. thanks for the suggestions everyone 2023-06-08 02:27:39 good luck :) 2023-06-08 02:48:27 Anyone know how to type another language (Vietnamese) on wayland (sway)? 2023-06-08 02:48:34 using fcitx5 2023-06-08 02:48:52 I don't understand what their guides are saying 2023-06-08 07:21:23 Hi all :-) 2023-06-08 09:48:55 hey good people, a quick question. apk hasn't given me any updates for days now, at this point I'm almost certain something is wrong with it. can't pinpoint or fix the problem. I've had my cache cleaned with the purge flag, tried other repo mirrors but still no luck. Has anyone gone through this maybe? any ideas? 2023-06-08 09:54:07 are you trying to use an old version that just has no updates? 2023-06-08 09:54:39 what's in /etc/apk/repositories? 2023-06-08 09:55:48 aron: 2023-06-08 09:55:53 aron: http://dl-cdn.alpinelinux.org/alpine/edge/main http://dl-cdn.alpinelinux.org/alpine/edge/community http://dl-cdn.alpinelinux.org/alpine/edge/testing # https://www.arvanta.net/mps/aports-local # /home/ktz/.local/dist/out/packages/root # /home/ktz/.local/share/containers/storage/overlay/56c00e60e36ae29f14103f7019d8c10cf753a7e25793b95bc0bf5c74c9425ae2/diff/root/packages/testing 2023-06-08 09:56:01 not sure how to format this properly, excuse me 2023-06-08 09:56:21 edge/main, edge/community and edge/testing essentially 2023-06-08 09:56:44 so, briefly: you are using edge 2023-06-08 09:56:52 ktz: what arch? 2023-06-08 09:56:57 aarch64 2023-06-08 09:57:22 Right, builders are currently unreachable, so packages have not been able to build 2023-06-08 09:57:35 ohhh I see now 2023-06-08 09:57:52 okay that solves it, at least as far as I'm concerned 2023-06-08 09:58:24 I assume the build system will most likely be back online soon 2023-06-08 09:59:33 thanks 2023-06-08 10:20:02 ktz: we do our best, but it's out of our control 2023-06-08 12:36:10 Still can not get an setup-alpine lvn over raid1 to boot, if I dd /dev/md0 to a mmcblk0p1, it will boot off the mmcblk. WTF? 2023-06-08 12:38:31 txnintn: is this a RPI or a PC with a SDcard? 2023-06-08 12:40:00 RPI4, two 64GB USB 3.1 drives, and a mmcblk /w alpine setup image. 2023-06-08 12:40:33 and mmcblk0p1 is the RPI's fat boot partition? 2023-06-08 12:41:09 boot partition/fat boot fs 2023-06-08 12:41:13 Yes, fat32 300mb partition, the rest is ext4 2023-06-08 12:41:35 so you're expecting the RPI's own bootlaoder to understand RAID? 2023-06-08 12:42:27 No I expect alpine bootloader to understand raid. 2023-06-08 12:42:53 txnintn: what Alpine bootloader? it is a Raspberry PI - it has it's own bootloader 2023-06-08 12:43:59 a RPI has a *builtin* bootloader that uses a partition with a FAT fs to provide it with additional files to boot 2023-06-08 12:45:13 It trying this other ways, manually, to load raid support you have to add apk packages of mdadm, dosfstools, and rpibootloader. 2023-06-08 12:46:34 you can have the *initramfs* once loaded, handle RAID for the rootfs etc, but that is *after* the RPI's own bootloader has loaded some files including the kernel and initramfs from the boot partition 2023-06-08 12:46:53 so don't "RAID" the boot partition 2023-06-08 12:48:49 So how do I get it to work, Setup-Alpine is Raiding md0 and md1. It should be a mirrored lvm Logical Volume. 2023-06-08 12:49:19 txnintn: I assume setup-alpine using RAID was designed for PCs, not for RPIs 2023-06-08 12:49:51 what should be a mirrored LVM LV? 2023-06-08 12:51:17 In lou of the /dev/md0 2023-06-08 12:51:29 what? 2023-06-08 12:52:35 The boot partion should be a mirrored LVM LV, my understading then it can boot from either drive. 2023-06-08 12:53:31 as I already explained the Raspberry Pi's *builtin* bootloader only supports a "simple" FAT-formatted partition for booting from 2023-06-08 12:53:41 no RAID, no LVM, etc 2023-06-08 12:54:03 crap 2023-06-08 12:54:24 I don't believe they ever advertised/claimed it could do RAID and LVM... 2023-06-08 12:55:22 no they dont, do only choices is one usb with plain jane fat and a mmcblk to back it up 2023-06-08 12:55:24 now you could use RAID+LVM for everything except the boot partition 2023-06-08 12:55:57 yeah, it is going to be my home automation server 2023-06-08 12:55:58 as that would be handled by Alpine's initramfs and Alpine itself once the initial booting occurs 2023-06-08 12:56:46 Sounds like someone need to working on setup-alpine script for RPI raid. 2023-06-08 12:57:06 txnintn: so when do you start on it? 2023-06-08 12:58:02 don't understand the question 2023-06-08 12:58:09 RAID support wouldn't be useful for many/most people using RPI so that's probably why setup-alpine doesn't support it 2023-06-08 12:58:44 World is changing...hehe 2023-06-08 12:58:48 txnintn: you said "Sounds like someone need to working on setup-alpine script for RPI raid", I am suggesting that you are that "someone" as you have a need for it 2023-06-08 13:01:57 I was in the computer gig for well 20+ years. Information from a mfg standpoint need to be clear. Otherwise they will move to a different product line. 2023-06-08 13:02:52 txnintn: what was'nt clear about RPI? They never indicated they supported RAID booting 2023-06-08 13:03:27 so why wasn't the script adjusted for it. 2023-06-08 13:05:11 txnintn: I guess because no-one in Alpine ever thought that someone would try and RAID a RPI. Alpine is *not* a commercial product, it is a opensource project run by volunteers 2023-06-08 13:05:56 so why don't you "volunteer" to fix it? 2023-06-08 13:09:16 I'm <- building a house, I'm the carpenter, electician, plumber, etc... I don't have time to "volunteer". 2023-06-08 13:09:45 I'm volunteered up to my eyeballs... 2023-06-08 13:09:54 hahah 2023-06-08 13:10:06 txnintn: but you have time to complain about other volunteers not have fixed something that they probably were not aware of? 2023-06-08 13:10:41 I volunteered to answer your question and to try and help you, maybe I shouldn't have bothered? 2023-06-08 13:11:48 I'm not complain, I'm just pointed out a issue. well scroll up, for bowenp. thats me. 2023-06-08 13:12:41 So I haven't don IRC in 30+ year, just a little rusty. 2023-06-08 13:14:10 if you open an Issue for this on Gitlab then it can be tracked and it might, at some point in the future, be fixed 2023-06-08 13:16:41 Ok, in the mean time, it need to get this fixed, I will be ready to start running low voltage wiring in about two weeks, and I want to live test before insulation is blown in. 2023-06-08 13:22:27 ur ARM infrastructure is unreachable at the moment, so CI jobs will time-out and packages will not be updated until the servers are back. 2023-06-08 13:52:21 Is it still true that setup-alpine is unable to set up encrypted swap partitions? 2023-06-08 14:09:08 msiism: in which context? swap-on-LUKS? swap-on-LVM-on-LUKS? 2023-06-08 14:14:56 Good question. I mean, if you tell setup-disk to encrypt the disk. I don't exactly remember how that worked. 2023-06-08 14:26:01 hmz 2023-06-08 14:47:15 msiism: you can tell setup-disk to use LVM, or you can tell it to use CRYPT, or you can tell it to use both (so LVM-on-LUKS) 2023-06-08 14:49:52 msiism: however you haven't been specific about exactly how you want to use encryption - with LVM or without LVM? 2023-06-08 14:57:54 Well, I'd prefer LVM on LUKS. 2023-06-08 14:59:49 when setting up LVM setup-disk appears to create a swap LV, not a partition, so I assume if you put LVM on LUKS that the same would apply and therefore the swap would be encrypted 2023-06-08 15:01:20 Okay, that makes sense. What about not using LVM, but only LUKS? 2023-06-08 15:03:39 you just said you preferring LVM on LUKS... 2023-06-08 15:08:26 Yeah, the reason I'm asking is that I don't want to make false statements about what Alpine does by default in my guide for FDE on BIOS/MBR. 2023-06-08 15:08:44 I'm currently going through setup-disk. 2023-06-08 15:18:44 Hm… seems to me, if you only have USE_CRYPT set (no LVM), only the root partition will be encrypted, which kind of makes sense too. 2023-06-08 15:21:06 But okay, the way I'm saying it actually covers both cases well. 2023-06-08 15:56:56 ikke: About the fzf-tmux package - confused about what I see in the linked repository from the packages page... Does fzf-tmux need bash, as there seems to have been an attempt to have it run in ash? 2023-06-08 15:59:17 eggbean: the script uses bash arrays for one 2023-06-08 15:59:33 Okay, so it requires bash. Cheers 2023-06-08 16:07:40 hi. abort: https://git.alpinelinux.org/aports/commit/?id=190c146c766bf5bc7e241d236fb833c342db044c . i had to open an issue on mpv's git, and recogniced, that mpv --version and the mpv log is showing the wrong version (apk info/policy not). see beginning of the logfile: https://0x0.st/HcKt.txt 2023-06-08 16:08:47 oleovit: it has already been built 2023-06-08 16:10:03 oleovit: are you referring to " mpv 0.35.0-UNKNOWN"? 2023-06-08 16:10:34 that's what it always says 2023-06-08 16:11:15 i.e. the VERSION has that string in it 2023-06-08 16:11:46 guess i'll just overwrite it 2023-06-08 16:13:05 lightly amended 2023-06-08 16:18:51 yes, thx ikke & psykose. the mpv dev was a little confused by this. i understand. 2023-06-08 17:06:16 now it will say mpv 0.35.0-PSYKOSE? 2023-06-08 18:09:58 *lightly* amended, it'll say 0.35.0-KNOWN 2023-06-08 18:11:49 any kind of ETA on when arm builds will be working? The only thing I've seen is the message in bottom corner of the gitlab 2023-06-08 18:13:46 no 2023-06-08 18:15:02 saba: It's an issue with the provider hosting them, so not really somethign we can control or give an ETA about 2023-06-08 18:16:04 eta wen 2023-06-08 18:16:06 ok thanks. hope you get credit for free month or however long it ends up being down 2023-06-08 18:16:21 it's already free 2023-06-08 18:22:25 hello! How can I fully get rit of pipewire files. I removed it with apk but I get this pw.loop [loop.c:67 pw_loop_new()] 0x7fa7a329d5c0: can't make support.system handle: No such file or directory 2023-06-08 18:23:08 i got sound working, however I got mic problems. The error above is shown when I try to play file which is microphone test 2023-06-08 18:23:29 it looks like it's using pw.loop which is pipewire plugin or smth like that 2023-06-08 18:24:56 how are you playing it 2023-06-08 18:33:19 psykose: aplay test.wav or mpv test.wav gives same error 2023-06-08 18:33:35 apk list -I | grep wire 2023-06-08 18:33:38 ps aux | grep wire 2023-06-08 18:34:40 oh yes, i got libs regdb an wireplumber 2023-06-08 18:34:47 sounds fine 2023-06-08 18:34:48 thanks, useful commands! 2023-06-08 18:34:55 can you actually pastebin that 2023-06-08 18:35:02 but, i don't need pipewire-libs 2023-06-08 18:35:05 gona remove 2023-06-08 18:35:19 you can't remove that and they don't do anything 2023-06-08 18:35:24 now can you pastebin that 2023-06-08 18:37:33 psykose: https://0x0.st/Hcb9.txt 2023-06-08 18:38:00 and the other thing 2023-06-08 18:38:11 and `ls -la /usr/share/alsa/alsa.conf.d/ /usr/lib/alsa-lib/ /etc/alsa/conf.d/` 2023-06-08 18:38:30 4963 0:00 grep wire 2023-06-08 18:39:46 psykose: https://0x0.st/Hcbp.txt 2023-06-08 18:40:00 looks fine 2023-06-08 18:40:04 what does `aplay -l` say 2023-06-08 18:40:34 Where does all that come from? Mine are empty 2023-06-08 18:42:37 psykose: https://0x0.st/Hcbf.txt 2023-06-08 18:43:13 yeah everything looks fine 2023-06-08 18:43:29 do I have pipewire plugin somewhere? 2023-06-08 18:43:32 aplay only sees the hardware directly so aplay would output to it normally 2023-06-08 18:43:32 nope 2023-06-08 18:43:41 ls 2023-06-08 18:43:50 no idea why it would get routed to pipewire, except if you haven't rebooted and there's weird state left 2023-06-08 18:44:09 oh, I rebooted often today 2023-06-08 18:44:35 did you reboot after removing all of that 2023-06-08 18:45:07 `all that` being pipewire ? 2023-06-08 18:45:35 i removed pipewire many days ago (via apk del) 2023-06-08 18:47:10 if you just aplay a file now can you post a paste of it 2023-06-08 18:47:26 also when I do `alsamixer` I get this ALSA lib pulse.c:242:(pulse_connect) PulseAudio: Unable to connect: Connection refused. Workaround is this - alsamixer --card=1 2023-06-08 18:47:47 i dont have puleaudio.. 2023-06-08 18:48:10 i installed it but then I removed it, seems like somewhere in system are leftovers 2023-06-08 18:48:48 you do have alsa-plugins-pulse which makes it output to pulseaudio by default 2023-06-08 18:49:39 alright! removed that 2023-06-08 18:50:06 aplay *.wav doesn't give an error 2023-06-08 18:50:22 however, mpv *.wav gives same error: pw.loop [loop.c:67 pw_loop_new()] 0x7fc9bcf8ba80: can't make support.system handle: No such file or directory 2023-06-08 18:51:15 that probably needs --ao=alsa 2023-06-08 18:51:21 what's in your default config 2023-06-08 18:51:58 i don't have default mpv config 2023-06-08 18:52:04 or do I .. i never made file 2023-06-08 18:52:10 mpv --log-file=log somefile.wav 2023-06-08 18:52:12 pastebin that 2023-06-08 18:53:00 omg thats insane file 2023-06-08 18:53:30 https://0x0.st/HcbJ.txt 2023-06-08 18:55:11 that outputs to alsa fine 2023-06-08 18:55:17 and the error you say you see isn't there 2023-06-08 18:55:32 that error shows up when I use mpv 2023-06-08 18:55:40 not when I use aplay 2023-06-08 18:56:00 the mpv log doesn't have that error 2023-06-08 18:56:06 i mean, i am not lying.. i can make video 2023-06-08 18:56:44 [ao/alsa] opening device 'default' 2023-06-08 18:56:45 [ao/alsa] Hardware PCM card 1 'HDA Intel PCH' device 0 subdevice 0 2023-06-08 18:56:47 looks fine to me 2023-06-08 18:56:52 no errors in it anywhere 2023-06-08 18:57:31 which would mean the 'error: pw.loop' you see is not from mpv, because if it was it would be in the log 2023-06-08 18:58:18 idk tho, i haven't used bare alsa in 14 years 2023-06-08 18:58:21 maybe someone else knows 2023-06-08 18:58:26 miserable broken audio stack :D 2023-06-08 18:58:38 yes, I have no idea where that error originate from, i'm just saying, it's there in mpv :) 2023-06-08 19:10:54 it may be broken.. as long as I can run spotify_player, I'm happy man :) 2023-06-08 19:11:35 you could take a video but mpv says it's fine 2023-06-08 19:12:42 ah.. then I have to figure out how to make video with wayland :D 2023-06-08 19:13:29 btw, when I play any video with mpv, same error shows up 2023-06-08 19:16:06 yeah, it's doing the same thing 2023-06-08 19:17:16 wf-recorder is pretty easy to record but you can't record anything on wayland without pipewire 2023-06-08 19:17:29 what?! /O\ 2023-06-08 19:18:11 even if I don't need sound when recording? 2023-06-08 19:18:18 (which then requires wireplumber too, which by default would grab every audio device, so you have to configure it to not do stuff to keep using bare alsa) 2023-06-08 19:18:21 pipewire started for video 2023-06-08 19:18:35 they only added audio to it later 2023-06-08 19:19:57 ACTION going back to ubuntu 2023-06-08 19:21:24 btw, psykose are you one of alpine devs or maintainers? 2023-06-08 19:21:24 it's the same there, this isn't distro specific 2023-06-08 19:21:41 it was pathetic joke attempt :) 2023-06-08 20:01:36 aldcor: nice to hear that you like spotify_player too, I'm currently upgrading our package to latest release :-) 2023-06-08 20:03:59 kmmndr: it was such a relief to install and `launch` it compared to voidlinux.. I had to do some wizardry deep in files and without help of staff I wouldn't be able to run it. 2023-06-08 20:04:13 here I launched it.. it asked for username and password and done :) 2023-06-08 20:04:37 installation was probably ~5 secs 2023-06-08 20:04:59 it felt a bit magical and super hacky :) 2023-06-08 20:05:49 since I'm on windows managers for years, spotify_player is very nice addition 2023-06-08 20:06:12 Nice to hear too, as we are probably all loving Alpine Linux here :-) 2023-06-08 20:08:48 psykose: we discussed yesterday about youtube video not playing on any browser, it was related to pulse (remove pulseaudio, install pipewire-pulse and it's working now). Thanks again for your help :-) 2023-06-08 20:09:47 glad it works 2023-06-08 20:15:12 well, I was convinced not to use pipewire stuff.. but maybe pipewire would solve my `mic not working` issue too 2023-06-08 20:17:19 aldcor: which wm are you using ? 2023-06-08 20:17:53 It's working great on gnome with pipewire 2023-06-08 20:19:32 I used i3 for many years but when switched to alpine, I couldn't solve screen tearing issue which happened when watching videos (i got nvidia) and so solution is wayland. I use riverwm (wayland based) and got no issues. Also, font renders better. Text looks crisp, easier on eyes. Some kind of magic 2023-06-08 20:20:36 i thought the meme was you were supposed to pretend wayland is garbage and everything is broken? TIL 2023-06-08 20:20:42 i tried bspwm which I also like 2023-06-08 20:21:41 oh, i don't know that meme :) 2023-06-08 20:25:45 Then you may try pipewire, as you may be at a one package install step from your perfect setup ;-) 2023-06-08 20:26:44 if I install pipewire now, will I still need ~/.asoundrc file ? 2023-06-08 20:27:00 for now, I got only alsa 2023-06-08 20:27:10 can pipewire work without pulseaudio? 2023-06-08 20:27:32 if anything it conflicts with it 2023-06-08 20:27:56 you don't need ~/.asoundrc either 2023-06-08 20:28:09 pipewire is compatible with pulse, it is a compatible replacement (pipewire-pulse) 2023-06-08 20:28:31 `apk add pipewire pipewire-alsa pipewire-jack pipewire-pulse wireplumber` 2023-06-08 20:28:50 then you have to start 3 daemons with your choice of starting daemons i guess 2023-06-08 20:29:02 omg, demons in house again 2023-06-08 20:29:07 /usr/libexec/pipewire-launcher starts all 3 with no supervision 2023-06-08 20:29:33 pipewire-spa-bluez for bluetooth too more or less 2023-06-08 20:29:45 and with that alsa+pulse+pipewire+jack clients should all work 2023-06-08 20:29:49 has for me for years anyway 2023-06-08 20:30:18 so.. do I need alsa in setup you mention? Or I replace alsa with pulse? 2023-06-08 20:30:31 /o\ 2023-06-08 20:30:36 ACTION panicking 2023-06-08 20:30:44 no 2023-06-08 20:30:56 as in it doesn't need any alsa config or extra stuff installed except for that 2023-06-08 20:31:33 but idk what you already have and if there's special migration involved from what you already did 2023-06-08 20:32:11 psykose: i have only alsa (for sound) 2023-06-08 20:32:23 so, I assume I need pulseaudio too or only pipewire-pulse ? 2023-06-08 20:32:37 i already told you what to install 2023-06-08 20:33:04 ACTION palms sweaty 2023-06-08 20:40:35 mom's spaghetti 2023-06-08 20:53:26 Yes someone did it 🤣 2023-06-08 20:55:12 :D 2023-06-08 21:04:21 ok.. it is recording mic but not my external mic (which is part of headphones). It's recording that terrible laptop mic. Also, when I plug in headphones I expect laptop's speakers to be muted but they don't become muted 2023-06-08 21:04:45 Wireplumber installed?  2023-06-08 21:05:22 yap, i see : wireplumber-0.4.14-r2 x86_64 {wireplumber} (LGPL-2.1-or-later) [installed] 2023-06-08 21:08:44 you can see what inputs/outputs you have in the usual set of configuration apps, like pavucontrol 2023-06-08 21:11:38 ok, i fixed sound output via alsamixer but.. how can I change which mic is being used? 2023-06-08 21:12:37 you open something like pavucontrol and change the default input 2023-06-08 21:12:50 i don't have thing like that 2023-06-08 21:13:04 if only you could apk add things like that 2023-06-08 21:13:24 (i use pulsemixer myself but anything works) 2023-06-08 21:14:02 im just confused since i don't have pulse but.. i still can use pulse thingies 2023-06-08 21:14:22 the same pulse configuration applications work with pipewire because it implements the same api 2023-06-08 21:15:46 alsamixer doesn't work though afaik and would only be able to control volume, so it works you have something else set up wrong and you're not actually using pipewire 2023-06-08 21:15:51 probably related to some other setup you did 2023-06-08 21:16:24 yes I can control volume with alsamixer, nothing else 2023-06-08 21:17:52 ok, in input devices tab I see Microphone (unplugged), i got it plugged tho 2023-06-08 21:19:04 what do you see in the configuration tab 2023-06-08 21:19:41 (screenshot) 2023-06-08 21:20:15 before I do that, i will go through all options myself and see if something works 2023-06-08 21:20:22 now spotify_player doesn't work 2023-06-08 21:21:31 ps aux | grep wire 2023-06-08 21:22:46 0:08 /usr/bin/pipewire, 0:03 /usr/bin/wireplumber, 0:08 /usr/bin/pipewire-pulse, 0:00 grep wire. Ok, I noticed I haven't removed ~/.asoundrc file. I will do that 2023-06-08 21:23:39 ok, now spotify_player works 2023-06-08 21:24:45 what headset do you have actually 2023-06-08 21:25:04 and how does it plug in 2023-06-08 21:34:39 psykose: hyperx cloud alpha. It's very basic setup. One wire for headphones, one wire for mic. I plug them in laptop.. that's it 2023-06-08 21:35:20 i also can confirm that it works perfectly fine. I use that headset on other computer daily 2023-06-08 21:35:35 not entirely sure then 2023-06-08 21:39:36 ahh.. :/ 2023-06-08 21:46:19 Hi, I have two bluetooth keyboards, and I am able to pair, trust, and connect to each of them using bluetoothctl. My old simple keyboard works great, but my newer logitech keyboard cannot successfully send any keystrokes to my alpine linux laptop. Any thoughts on trouble-shooting? I saw online someone recommended "modprobe uhid", but that resulted in an error. 2023-06-08 21:47:06 you probably upgraded your kernel but didn't reboot yet 2023-06-08 21:48:07 I don't think I have upgraded anything. How would I do that? 2023-06-08 21:48:42 by rebooting 2023-06-08 21:49:21 Okay, I'll try it. Brb 2023-06-08 21:53:42 Hi, I'm back about the bluetooth keyboards. I rebooted, but the same result. 2023-06-08 21:53:51 what is the 'modprobe error' 2023-06-08 21:55:45 Oh interesting, I don't get the modprobe error on alpine.First, I tried on postmarketOS, and I got "modprobe: module uhid not found in modules.dep" 2023-06-08 21:56:39 what kernel was that on postmarketos 2023-06-08 21:56:43 Wow, now the keyboard works! 2023-06-08 21:57:32 Do you know a command to reveal the kernel? 2023-06-08 21:57:35 uname -a 2023-06-08 21:57:58 6.3.3 2023-06-08 21:58:07 that is not the output of uname -a, sorry 2023-06-08 22:00:17 Linux fairphone-fp4 6.3.3 #1-postmarketos-qcom-sm6350 SMP Wed May 24 14:47:34 UTC 2023 aarch64 GNU/Linux 2023-06-08 22:00:48 huh.. fairphone? 2023-06-08 22:01:46 Yes, I am trying to use postmarketOS with Fairphone. I couldn't get my keyboard to work, so I tried it on my alpine laptop, andthe keyboard wouldn't work there either 2023-06-08 22:01:58 well, your kernel package is linux-postmarketos-qcom-sm6350 from pmaports 2023-06-08 22:02:17 that has CONFIG_UHID disabled 2023-06-08 22:02:24 open an issue in pmaports if you want 2023-06-08 22:02:38 specifically here https://gitlab.com/postmarketOS/pmaports/-/issues about https://gitlab.com/postmarketOS/pmaports/-/blob/master/device/community/linux-postmarketos-qcom-sm6350/config-postmarketos-qcom-sm6350.aarch64 2023-06-08 22:03:35 you can see # CONFIG_UHID is not set in it, so uhid doesn't exist 2023-06-08 22:04:03 I will do that. Thanks very much! 2023-06-09 01:08:59 hi, anyone here know if alpine has functionality like gentoo-style USE flags? 2023-06-09 01:09:43 for building packages from source locally using ie aports 2023-06-09 01:10:12 i read thru the wiki and documentation i could find, and although alpine was (at one point) based on gentoo, i saw nothing confirming if this was possible or not 2023-06-09 01:37:59 no 2023-06-09 01:38:57 alright, thank you 2023-06-09 02:15:04 "i read thru the wiki and..." <- alpine isn't based on gentoo, the package manager use binary, not source 2023-06-09 02:15:40 it *was* based on gentoo https://en.wikipedia.org/wiki/Alpine_Linux#History 2023-06-09 02:15:49 you can download the source code, refer to the APKBUILD file 2023-06-09 02:16:09 abby: *was* 2023-06-09 02:16:41 neither me nor hippo claimed it is 2023-06-09 02:17:15 gentoo USE flag is basically instruction to pass --use-feature when you "make" 2023-06-09 02:17:21 s/instruction/instructions/ 2023-06-09 02:17:21 we know 2023-06-09 02:17:41 also hippocrampus left a while ago 2023-06-09 02:20:29 why don't Alpine ship linux-hardened? 2023-06-09 02:21:03 it is a "libre alternative" to grsecurity 2023-06-09 02:21:17 ACTION squints 2023-06-09 02:21:19 is it 2017 2023-06-09 02:21:25 or at least toggle on some security features 2023-06-09 02:21:34 what about a use flag 2023-06-09 02:21:39 psykose: https://github.com/anthraxx/linux-hardened 2023-06-09 02:21:51 ACTION adds to veto list 2023-06-09 02:21:54 ty 2023-06-09 03:50:35 psykose: Do I have enough credits to bug you over a post-build issue 😛 2023-06-09 03:50:40 packaging CoBang 2023-06-09 03:50:54 https://github.com/hongquan/CoBang 2023-06-09 03:51:23 All swimmingly, just at runtime I'm missing single_version, which looks like some unpackaged py3 module for Poetry-based projects... am I getting into a mega can of worms here? 2023-06-09 03:52:15 that and kiss_headers are unpackaged yeah 2023-06-09 03:55:48 Damn... 2023-06-09 03:55:54 Alright, this might have to be a project for another day 2023-06-09 03:56:19 I tried it via flatpak, and CoBang is insanely good at capturing QR/barcodes, even from my crappy webcam in a dark room 2023-06-09 03:56:28 i can do it if you want 2023-06-09 03:57:23 Nah, that's alright. I think I can handle those two to package 2023-06-09 03:57:39 Its just a bigger project than I can do tonight 2023-06-09 03:57:49 sure thing 2023-06-09 03:57:51 I'll definitely ask for help if I get stuck, as you well know 😛 2023-06-09 03:58:14 Thanks, as ever 2023-06-09 08:00:01 how many of you are using the default /bin/ash? I'm trying to be hardcore but there's a few things from the ol bashrc I am struggling to port over 2023-06-09 08:01:16 imo ash is not a user shell 2023-06-09 08:02:45 yeah I had no issues with it in my servers or wsl2 dev environments. but as a desktop thing.. some things get annoying 2023-06-09 08:03:39 I'll switch to bash 2023-06-09 08:03:55 i don't use ash but i don't miss anything when i use ssh to something else 2023-06-09 08:04:03 so i could totally use it i guess 2023-06-09 08:04:18 a working tab and C-r is all i really use 2023-06-09 08:04:23 I miss being able to name terminal windows after the last command entered. makes it really easy to find them with rofi 2023-06-09 08:04:36 I also miss the tab working inside quote marks. I have a lot of files with spaces in them 2023-06-09 08:04:53 tab completion should escape spaces 2023-06-09 08:05:07 if it doesn't, that's another reason to use bash instead :P 2023-06-09 08:05:09 it does, but then you have to escape spaces yourself sometimes 2023-06-09 08:05:29 https://img.ayaya.dev/qsHquigHeElB 2023-06-09 08:05:30 works ok 2023-06-09 08:05:52 if you open a quote it works too (though doesn't close it) 2023-06-09 08:06:37 if you open a quote it adds the nasty escaped space syntax 2023-06-09 08:06:46 in bash, with quotes it just puts spaces, don't have to escape them 2023-06-09 08:08:25 ah you mean that 2023-06-09 08:08:25 sure 2023-06-09 08:10:20 ahh this is much nicer. haven't run into any "I need glibc" issues yet 2023-06-09 09:24:54 im using /bin/ash as my default shell 2023-06-09 09:31:01 im playing with xonsh since 1 month ago :) 2023-06-09 10:03:11 https://xkcd.com/686/ 2023-06-09 10:31:00 "how many of you are using the..." <- me 2023-06-09 11:07:18 good day! Thank you, Alpine-linux. Really enjoying it so far and here's how my setup looks. Enjoying spotify_player too! :) https://0x0.st/Hcmt.png 2023-06-09 11:08:06 a lot of brad artists eh 2023-06-09 11:08:06 :D 2023-06-09 11:09:34 yeah, search result function is working :D 2023-06-09 11:37:36 incidentally the whole sound thing reminds me of https://listman.redhat.com/archives/fedora-devel-list/2008-January/msg00861.html 2023-06-09 11:45:45 "Software is hard. The way to fix it is to fix it, not sweep it under the rag." That's the only option I'm left with, it seems (regarding mic). 2023-06-09 11:49:57 i just pretend I didn't buy 80 euro headset with mic ;) 2023-06-09 12:25:11 im back, still trying to debug steam 2023-06-09 12:25:15 found more logs, somehow 2023-06-09 17:21:58 i think someone said alpine doesnt work on pinebook pro a year-ish ago, is that still the case? 2023-06-09 17:22:17 might actually have changed but not sure 2023-06-09 17:22:26 i somewhat doubt it idk 2023-06-09 17:22:30 i forget what the situation was like 2023-06-09 17:22:43 iirc it was still some stuff downstream 2023-06-09 17:22:50 how different is postmarketOS? i remember they said they used that 2023-06-09 17:22:52 for u-boot at least 2023-06-09 17:23:07 i wouldn't say it's very different depending on how you want to use it 2023-06-09 17:23:11 you could literally just use it to install 2023-06-09 17:23:22 then just delete all their repos and keep just the kernel package from their repo etc 2023-06-09 17:23:27 it's mostly alpine with some things on top for device compattibility 2023-06-09 17:23:33 +- also the plumbing for initfs etc 2023-06-09 17:23:37 righgt 2023-06-09 17:23:47 it basically is just alpine with device packages, then some other stuff for uis and the like 2023-06-09 17:24:06 hmm 2023-06-09 17:24:11 the forked packages are mostly about like phone hardware support and not something forced to install 2023-06-09 17:24:29 bought TWO new laptops .. pinebook pro .. well one USED thinkpad l480 2023-06-09 17:25:10 i havent tried any much yet, but im not so sure pinebook feels great, or maybe it was manjaro/kde ... 2023-06-09 17:25:39 it's just a standard rk3399 so 2023-06-09 17:25:57 that's basically "rpi with a screen" 2023-06-09 17:26:13 i use rpi for my main machine :D 2023-06-09 17:26:22 not terrible or anything, just yknow 2023-06-09 17:26:23 but big tv screen .. 2023-06-09 17:26:23 ah :) 2023-06-09 17:26:25 haha 2023-06-09 17:26:49 trying to cut screen time, maybe can do it if i have to use minimalist laptop i duno 2023-06-09 17:27:06 rpi did not work at cutting screen time :p 2023-06-09 18:05:19 btw, they sell a travel-charger for thinkpads ... why not use that all the time? its better/faster to charge with the regular one or something? 2023-06-09 18:05:32 always found them a bit big 2023-06-09 18:05:41 what's special about a travel charger? 2023-06-09 18:05:48 less power? 2023-06-09 18:05:55 its smaller, not sure about power 2023-06-09 18:06:07 usually smaller means less power 2023-06-09 18:06:58 also the "big box" is on the plug so only one wire, much cleaner imo.. 2023-06-09 18:07:23 you can use it if you want afaik 2023-06-09 18:12:05 :) 2023-06-09 19:19:39 hmm cant find the nvme (possibly with some converter) on my thinkpad l480 when trying the installer .. 2023-06-10 07:44:30 Is Alpine “oficially” on lemmy somewhere? 2023-06-10 07:44:52 Is lemmy a social network? 2023-06-10 07:44:53 no 2023-06-10 12:20:54 How far back does x86 compatibility go for Alpine's "x86" variant? 2023-06-10 12:22:00 686 nowadays 2023-06-10 12:22:07 used to be 586 for a long time 2023-06-10 12:22:08 msiism: i586 up to pentium4 2023-06-10 12:22:21 such as go rust is pentium4 2023-06-10 12:22:37 i can prove it by using i586 machine 2023-06-10 12:22:58 i586 is best effort 2023-06-10 12:23:02 https://gitlab.alpinelinux.org/alpine/tsc/-/issues/35 2023-06-10 12:23:24 sse2 must be available 2023-06-10 12:24:20 Okay, so 686 is Pentium 4 and such? 2023-06-10 12:24:26 "continue with i586 as a best effort, specify that a platform must actually implement i586 correctly to be supported (e.g. no Vortex86), and some packages may require i686 if upstreams only support i686 (e.g. those with JITs)." 2023-06-10 12:24:38 pentium4 include sse2 2023-06-10 12:25:12 ikke: yes vortex86dx is i586 2023-06-10 12:25:19 infinite[m]: but not really 2023-06-10 12:25:32 " 2023-06-10 12:25:34 For what it’s worth, your Vortex86 CPU has incomplete i586 support" 2023-06-10 12:39:01 "For what it’s worth, your Vortex..." <- did you mean mmx? 2023-06-10 12:39:10 It's a quote 2023-06-10 12:39:24 https://gitlab.alpinelinux.org/alpine/tsc/-/issues/20#note_180544 2023-06-10 12:40:10 https://gitlab.alpinelinux.org/alpine/aports/-/issues/13016 2023-06-10 12:41:34 "This core seems to be from an i686 device which lacks CMOV, part of the i686 base spec. Your other device lacks support for lock cmpxchg8b, which is part of the i586 base spec" 2023-06-10 12:47:02 interesting 2023-06-10 13:01:00 ping 2023-06-10 13:09:37 pong 2023-06-10 13:51:08 peng 2023-06-10 13:56:29 pog 2023-06-10 14:16:47 Does the "extended" image still fit on a CD? 2023-06-10 14:42:20 <_7> hello all, this is powers. i did a little rebranding to unify my main-alias 2023-06-10 15:37:14 _7: who cares the branding 2023-06-10 16:13:44 <_7> uuidNuniq: for spoof mitigation, so that there isn't much confusion to confirm its me sending code/patch/suggestion 2023-06-10 16:15:11 <_7> in reality, it goes farther than just a name (i.e. gpg key), but for those just wanting an at-a-glance confirmation it makes it easier 2023-06-10 16:16:43 <_7> i plan on sharing code extensively, so im setting everything up 2023-06-10 20:05:06 Hi, I'm having a problem installing to the pinebook pro. The pinebook pro is an aarch64 device. On the websites under downloads there exists both a standard image and a "generic arm" image. I should note that I have tow-boot, a u-boot fork that works quite well, flashed to SPI. Booting the standard image gets me up to the point where it loads the lts kernel, then black screen. The "generic arm" image does the normal short display 2023-06-10 20:05:06 flickering that is normal when booting other operating systems, but then nothing more. How should I proceed? 2023-06-10 20:09:47 find the postmarketos image that can boot on it, probably 2023-06-10 20:11:59 Can I then just switch repos to the alpine upstream or should I stick to pmos? 2023-06-10 20:13:19 it does use the alpine repos 2023-06-10 20:13:46 + their repos that have a few packages on them 2023-06-10 20:13:57 it's not a completely forked distro 2023-06-10 20:14:20 Oh, then that's probably the safest bet. I'll keep you updated on my progress 2023-06-10 20:29:33 Aight pmos boots fine. Now to connect to wifi could be a challenge, I don't see iwctl. Maybe their wiki has infos, I'll look 2023-06-10 20:34:04 oh, they use network manager. I should be fine from here, cya 2023-06-10 21:42:10 eh they left already. "pmOS" doesn't use networkmanager, some UI's do. The user can just replace it if they feel it's necessary though 2023-06-10 21:49:03 is there a easy terminal way to connect wifi? 2023-06-10 21:49:30 i just use iwctl 2023-06-10 21:50:32 *takes notes* 2023-06-11 18:59:39 anyone got some dash vs ash benchmarks? 2023-06-11 20:45:48 busybox ash (which is based on dash) has a lot more configuration options than dash . . . . so hopefully any benchmarks specify the configuration they are using. 2023-06-11 22:57:20 "busybox ash (which is based on..." <- Aren't they both based on an older ash? 2023-06-11 22:58:13 Probably 2023-06-11 23:00:40 https://github.com/brgl/busybox/blob/master/shell/ash.c 2023-06-11 23:01:01 lines 25-27 have enough of the history 2023-06-12 06:39:47 alpine desktop is going well. played minecraft other day and its now picking up usb drives automatically 2023-06-12 06:41:49 just gotta regain the ability to run chrome desktop apps from Rofi, and I'm at parity with old linux system 2023-06-12 09:04:27 hello, I found an area that needs improvement in Busybox's base64 tool. 2023-06-12 09:06:24 When we performed base64 on "www" string, the tool obtained "d3d3Cg==". 2023-06-12 09:07:04 It contains a line break "\n". 2023-06-12 09:08:42 Fxzxmic: why not post to libera:#busybox 2023-06-12 09:09:05 Fxzxmic: how did you test, with echo 2023-06-12 09:09:07 My 2023-06-12 09:09:09 ? 2023-06-12 09:09:16 yes 2023-06-12 09:09:19 seems echo 2023-06-12 09:09:33 printf '%s' 'www' works as intended 2023-06-12 09:09:50 ACTION throws printf at Fxzxmic 2023-06-12 09:11:17 So the echo caused this problem? 2023-06-12 09:11:44 That's why I didn't go to the busybox group to ask this question from the beginning. 2023-06-12 09:14:15 Echo by default includes a newline 2023-06-12 09:14:48 echo test | xxd 2023-06-12 09:16:07 I understand, so I should use "echo -n". Thank you all. 2023-06-12 09:16:45 Or printf as Piraty suggested 2023-06-12 09:17:57 Printf is a bit troublesome, I have never really liked it. 😂 2023-06-12 09:19:01 But it does what you need 2023-06-12 09:20:04 or you do not need echo/printf at all, depends on 2023-06-12 09:20:17 And it's less of a footgun than random echo implementation 2023-06-12 09:20:21 s 2023-06-12 09:20:49 Yeah, you can heredoc :> 2023-06-12 09:21:01 quinq: "echo -n" is posix 2023-06-12 09:21:18 More or less :) 2023-06-12 09:21:21 It's random 2023-06-12 09:21:24 “implementation-defined” 2023-06-12 09:21:50 I usually read these: 2023-06-12 09:21:51 https://pubs.opengroup.org/onlinepubs/009695399/utilities/echo.html 2023-06-12 09:21:59 If you need to print strings in a script, usually printf is a tad less surprising, printf '%s' "$foo" 2023-06-12 09:22:09 Indeed aron 2023-06-12 09:22:38 “If the first operand is -n, or if any of the operands contain a character, the results are implementation-defined.” 2023-06-12 09:22:42 But also “On XSI-conformant systems, if the first operand is -n, it shall be treated as a string, not an option.” 2023-06-12 09:24:26 I missed the first paragraph, and I jumped to XSI-conformant 2023-06-12 09:24:42 sry 2023-06-12 09:25:05 Interesting. 2023-06-12 09:25:35 aron, no need :) 2023-06-12 09:25:51 it seems XSI is really a POSIX extension 2023-06-12 09:25:57 ah, soooo much standards 2023-06-12 09:27:33 But as long as Alpine is not "random", it's good because I only use it currently. 😂 2023-06-12 09:28:04 well, it is not just about being Alpine 2023-06-12 09:28:20 on alpine you have different shells too 2023-06-12 09:28:27 Fxzxmic, if it's for your local script yeah, not so much of an issue, as long as it werks I suppose :) 2023-06-12 09:28:29 ash, dash, bash 2023-06-12 09:29:04 dash's "echo" behaves very much differently 2023-06-12 09:29:49 + you can have a 4th "echo" from binutils 2023-06-12 09:30:11 so yes, if it is a *very* local script, then go for it 2023-06-12 09:31:15 Seems like echo -n doesn't print a newline on ash 2023-06-12 09:31:39 But yeah, at least you know Fxzxmic :) 2023-06-12 09:31:58 aron: I have recorded this in my memo, thanks. 2023-06-12 09:31:59 ash is very similar to bash, but without bashism 2023-06-12 09:33:09 Fxzxmic: it also works if you have a controlled environment, btw 2023-06-12 09:34:16 OK 2023-06-12 09:34:41 one approach can be: "busybox echo -n www" (this is slower, but does not depends on current shell) 2023-06-12 10:07:40 aron: what's up with dash's echo? 2023-06-12 10:08:18 use busybox standalone shell mode to be very sure what will be called 2023-06-12 10:09:45 useful for resqueue shells etc 2023-06-12 10:25:06 Piraty: nothing special, but for example, "echo -e" is pretty different from the "defacto standard" 2023-06-12 10:26:07 (yes, I am aware that -e is not even listed in the posix text, but you know how I mean) 2023-06-12 14:25:05 Does apk create apknew files only in /etc ? 2023-06-12 15:18:54 in the protected dirs yeah 2023-06-12 15:30:59 in my nativa language `dirsa` means ass 2023-06-12 15:31:07 native* 2023-06-12 15:34:34 afternoon 2023-06-12 15:34:50 Is mate desktop still supported? 2023-06-12 15:35:03 I have problrms installing it 2023-06-12 16:00:44 What problem, error messages, and are you mixing edge with stable?  2023-06-12 19:14:27 did Syncthing change where it stores its default folder on a recent update? 2023-06-12 19:36:28 not to be a smart ass but i think life is better without syncing, so if you can maybe avoid it ... 2023-06-12 19:37:11 Hi all :-) 2023-06-12 19:38:19 o/ 2023-06-12 19:38:19 Is anyone here using power-profiles-daemon ? 2023-06-12 19:40:47 what if someone was? 2023-06-12 19:41:42 ikke: frustration eh :P 2023-06-12 19:42:08 This just landed after you asked about it: http://dup.pw/alpine/aports/2c12a5aa5fef 2023-06-12 19:42:39 though nothing consequential 2023-06-12 19:44:09 not related to anything no 2023-06-12 19:44:41 it's also actually wrong 2023-06-12 19:44:51 as it removes python altogether/ 2023-06-12 19:44:52 ? 2023-06-12 19:47:20 glib 2023-06-12 19:47:27 oh 2023-06-12 19:47:28 but yeah it doesn't work without a bunch of polkit setup 2023-06-12 19:48:22 relies on it for any action 2023-06-12 19:48:29 not even as root can you use it 2023-06-12 19:51:29 I was wondering if someone has been successfully used it 2023-06-12 19:51:36 has Syncthing changed its default folder location with an update lately? 2023-06-12 19:52:50 aren't you supposed to manually specify what folders to monitor? 2023-06-12 19:52:52 pretty sure the default folder location is set in your config file after you create the folder, so it should never change 2023-06-12 19:53:09 and the default location is a subdir of $HOME, and i don't think that has changed 2023-06-12 19:54:32 weird. when i first installed it i had a folder in /var 2023-06-12 19:54:42 and now the default folder is ~/Sync 2023-06-12 19:55:15 i figured alpine had it packaged differently or something ... this might have nothing to do with alpine of course 2023-06-12 19:55:34 ~/Sync is the upstream default 2023-06-12 19:57:02 okay something weird is going on then... thanks! 2023-06-12 19:57:37 but options is an argument 2023-06-12 19:58:05 so it should not complain anyway, but maybe due to the assignment 2023-06-12 19:58:10 but I have no idea why they do it like this 2023-06-12 20:01:33 options argument? 2023-06-12 20:01:49 sorry wrong channel 2023-06-12 20:02:31 You can't tease like that about options and not finish 2023-06-12 20:02:41 https://github.com/containers/podman/blob/9eef30051c83f62816a1772a743e5f1271b196d7/pkg/bindings/containers/containers.go#LL439C1-L439C13 2023-06-12 20:02:51 someone asked about the _ = options 2023-06-12 20:03:45 Thanks ;) 2023-06-12 21:47:04 did you ever check a checksum and it didnt fit? 2023-06-12 21:47:35 didn't fit? 2023-06-12 21:47:51 In the terminal width 2023-06-12 21:48:15 didnt match* 2023-06-12 21:48:37 frag, some projects just re-tag releases on different commits instead of doing actual fixup releases 2023-06-12 21:49:00 (re-tag as in re-using the same tag, for different code) 2023-06-12 21:49:16 yeah a bunch of times 2023-06-12 21:49:34 mfw 2023-06-12 21:49:57 yeah ^_^ 2023-06-12 21:50:03 imagine not fitting the checksums 2023-06-12 21:50:05 abby: post fit 2023-06-13 04:56:35 fixed my chrome web apps issue. my alpine desktop is now at the point my old desktop was. feels good 2023-06-13 04:56:51 oh wait, I forgot CUPs. but to be fair last time I cheated and just copied the config my wifes mac came up with 2023-06-13 04:57:14 i don't think i've ever had a working cups anywhere ever on linux 2023-06-13 04:57:29 lol. I had one following that method 2023-06-13 04:57:30 i heard the generic netprint 'works' these days but.. 2023-06-13 04:58:13 I swear it's true! I was sending documents to a wireless computer from my old desktop like I was in star trek 2023-06-13 04:58:19 *wireless printer 2023-06-13 04:59:04 :) 2023-06-13 05:04:47 now I kind of want to set up an NFS server 2023-06-13 06:00:24 Hello, can anyone please suggest the procedure to use ntlm in alpine 2023-06-13 06:00:37 I have tried this but no luck https://github.com/simo5/gssntlmssp 2023-06-13 06:00:43 my application is in .net 2023-06-13 06:07:42 what is an ntlm 2023-06-13 06:08:12 also you tried some 2-year outdated fork of something 2023-06-13 06:08:45 ntlm sounds like something you configure samba to do 2023-06-13 06:16:05 ntlm is an authentication type.. So we are running our .net app in containers with alpine 3.17 as base image. The target sever is a windows based and the rest api hosted on it expect ntlm authentic client calls 2023-06-13 06:17:14 i have checked with curl command curl --ntlm --negotiate and it works fine..But as per my understanding alpine doesn't support ntlm auth calls 2023-06-13 06:17:55 I tried this apk get gss-ntlmssp.. But it is unavailable for alpine.. 2023-06-13 06:18:25 Is there any way we can call such kind of rest api. Or changing the base image is the only option 2023-06-13 06:25:44 do you *really* need NTLM, as opposed to Kerberos 2023-06-13 06:29:26 Seems that NTLM is deprecated from more than 10 years ago, so finding open-source support for such proprietary protocol could be a problem 2023-06-13 06:30:10 But as psykose said, samba seems to support it 2023-06-13 06:30:26 i googled ntlm 2023-06-13 06:30:28 > Since 2010, Microsoft no longer recommends NTLM in applications 2023-06-13 06:30:35 yeah no, no idea what package is missing and don't care 2023-06-13 06:30:36 Target server is third party... We tried passing kerberos as well but got 401 unauthorized.. We checked with the admin of the rest api and this is his words " In target rest api kerberos authentication falls back to NTLM". I don't know the meaning of this line 2023-06-13 06:31:58 Why do you care though what that REST API does behind its API? If it uses kerberos or NTLM internally shouldn't matter to a web client 2023-06-13 06:32:25 Sorry I got logged out.. I dont know what is the meaning of this line.. 2023-06-13 06:32:39 kerberos falls back to ntlm 2023-06-13 06:32:48 08:31:57 quinq$ Why do you care though what that REST API does behind its API? If it uses kerberos or NTLM internally shouldn't matter to a web client 2023-06-13 06:33:41 I tried this code https://github.com/dotnet/Docker.DotNet/issues/642#issue-1748456397 2023-06-13 06:34:24 Keep on getting this error 2023-06-13 06:34:25 Flurl.Http.FlurlHttpException: Call failed. NTLM authentication is not possible with default credentials on this platform: GET ---> System.PlatformNotSupportedException: NTLM authentication is not possible with default credentials on this platform. at 2023-06-13 06:37:19 We have passed the credentials but still while using we alpine we always get this error System.PlatformNotSupportedException: NTLM authentication is not possible with default credentials on this platform 2023-06-13 06:38:57 funnily that error string exists in two places but you truncated the error so it's not clear which 2023-06-13 06:39:35 Sorry 2023-06-13 06:39:41 This is the complete error 2023-06-13 06:39:43 Flurl.Http.FlurlHttpException: Call failed. NTLM authentication is not possible with default credentials on this platform: GET ---> System.PlatformNotSupportedException: NTLM authentication is not possible with default credentials on this platform. 2023-06-13 06:42:28 you already posted that 4 times, and it's missing the call stack after it 2023-06-13 06:44:12 it does just sound like https://github.com/dotnet/runtime/issues/66633 though 2023-06-13 06:51:33 hmm may be.. 2023-06-13 06:51:49 But no idea how to resolve it.. Our production environment is impacted beause of this 2023-06-13 07:00:25 quinq: samba for server side, gss-ntlmssp is the client side 2023-06-13 07:06:00 gss-ntlmssp this is unavailable in alpine 2023-06-13 07:06:14 I even tried building it but no luck 2023-06-13 07:06:58 i'd really focus on getting kerberos to work tbh 2023-06-13 07:07:17 i've packaged gss-ntlmssp for arch, it's tiny, but ... never actually used it even once 2023-06-13 07:07:25 you said you tried with curl as well? 2023-06-13 07:13:30 i built it without issue but i doubt it solves your problem 2023-06-13 07:17:47 if you build it locally, make sure the /etc/gss/mech.d/gssntlmssp.conf is installed, to tell libgssapi/libkrb5 where to find the new mech 2023-06-13 07:20:44 I have directly used these files.. This person already build and kept it in the github profile 2023-06-13 07:20:44 https://github.com/mikeTWC1984/gssntlm 2023-06-13 07:22:12 But no luck.. I have made some changes in the code and now getting this error 2023-06-13 07:22:13 GSSAPI operation failed with error - No credentials were supplied, or the credentials were unavailable or inaccessible (SPNEGO cannot find mechanisms to negotiate). 2023-06-13 07:22:55 I'll try to again keep those so file and gssntlmssp.conf 2023-06-13 07:23:25 Just one question that .gssntlmssp.so should be with which permission 2023-06-13 07:23:28 a+x 2023-06-13 07:23:34 should I use this.. 2023-06-13 07:24:49 should I keep it to 666 or 777 permission for this gssntlmssp.so file 2023-06-13 07:29:02 I think most .so library files have +x, don't they 2023-06-13 07:29:13 generally not world-writable thouh 2023-06-13 07:29:13 you can't download random .so's and expect them to work 2023-06-13 07:29:24 it sounds like you have no idea what you're doing 2023-06-13 07:29:29 if you want to build it, here you go https://img.ayaya.dev/y7Q6HKhcCqMo 2023-06-13 07:38:49 yup correct.. I am not aware of these things 2023-06-13 07:39:49 Thank you so much... So after building this.. That file placement has to be manual 2023-06-13 07:39:51 Am I correct 2023-06-13 07:39:55 Am I correct 2023-06-13 07:40:34 Means i explicitly specify command in docker file for this file /etc/gss/mech.d/gssntlmssp.conf 2023-06-13 07:40:48 Or does building it manages everything 2023-06-13 07:57:20 This error is coming with the docker file 2023-06-13 07:57:23 the --mount option requires BuildKit. Refer to https://docs.docker.com/go/buildkit/ to learn how to build images with BuildKit enabled ##[error]the --mount option requires BuildKit. Refer to https://docs.docker.com/go/buildkit/ to learn how to build images with BuildKit enabled 2023-06-13 08:01:33 then simply remove it 2023-06-13 08:02:00 or read the docs 2023-06-13 08:02:05 looks pretty self explanatory 2023-06-13 09:48:19 @psykose, While running docker file getting this error. gzip: invalid magic tar: Child returned status 1 2023-06-13 09:48:32 Any suggestion please.. Would be grateful 2023-06-13 09:48:55 give up that child for adoption 2023-06-13 09:49:35 you're very good at this 'remove the whole error and paste one line of it' thing 2023-06-13 09:49:41 the error before it is the actual one 2023-06-13 09:49:57 which is going to be 'the http request failed' 2023-06-13 09:50:35 gzip: invalid magic 2023-06-13 10:37:48 I have merged the dockerfile and it is building and placing the so file in /usr/lib/gssntlmssp/gssntlmssp.so 2023-06-13 10:37:52 But the error is coming 2023-06-13 10:38:10 GSSAPI operation failed with error - No credentials were supplied, or the credentials were unavailable or inaccessible (KDC reply did not match expectations). 2023-06-13 10:40:35 After building in docker do we have to still add this file /etc/gss/mech.d/gssntlmssp.conf 2023-06-13 10:41:00 If yes then what should be the content of the file 2023-06-13 16:18:57 hi. i have installed the utmps pkg. i see the services utmp-init, utmp and utmp-prepare. i guess, the utmp serv. must be at runlevel boot, the other ones, if needed (?) at runlevel default. is this correct? 2023-06-13 16:23:41 .. or should i skip this completely, because of security reasons ("because its difficult to implement it in a secure way"/musl) 2023-06-13 16:28:44 .. oh, there is a setup-utmp script. i guess this is the one to use.. 2023-06-13 16:40:45 psykose: would you consider moving tessen from edge/testing to community ? (that's the last package I have on my system which require me to keep edge/testing repo 🙂 ) 2023-06-13 17:14:49 I am trying to try out the alpine standard iso with cmdline qemu using this: `qemu-system-x86_64 -boot d -cdrom ./alpine-standard-3.18.0-x86_64.iso -m 1024 -nographic` 2023-06-13 17:15:25 alpine starts up, then quickly switches to a blank screen I can't get out of. What is happening? What is the right way to try out alpine directly from the iso at cmdline? 2023-06-13 17:32:25 blt[m]: sure 2023-06-13 17:33:08 Hi, I notice that my audio takes a second or two to kick in when I resume/play a video if there hasn't been any audio playing. It doesn't lag behind, it's just a few seconds of silent video. I have pipewire, wireplumber, pipewire-alsa, and am in the audio and video groups. I'm unsure what to check, any ideas? Thanks 2023-06-13 17:34:28 that sounds like pipewire autosuspend of the audio device 2023-06-13 17:34:36 and then it takes that long to resume when something plays again 2023-06-13 17:34:55 https://unix.stackexchange.com/questions/676846/how-do-i-disable-audio-sink-suspend-on-idle-using-wireplumber-in-fedora-35-so-th is more or less how to change it 2023-06-13 17:35:05 one line in wireplumber 2023-06-13 17:35:13 Thank you, I'll do that! 2023-06-13 17:35:14 but note the suspend obviously like depowers the device or w/e 2023-06-13 17:35:22 it's mostly a power+cpu saving thing 2023-06-13 17:35:27 Oh I see 2023-06-13 17:36:01 I usually have audio playing if my computer is on, so I think I'm okay to turn off the autosuspend if shortening the resume time isn't an option 2023-06-13 17:36:03 my bluetooth headphones feel like they do something similar, but the time is like .5s so i don't notice it much 2023-06-13 17:36:25 yeah, i don't think the resume time is a tweak, it just takes that long to actually resume 2023-06-13 17:36:36 Yeah if it was small like that I don't think I would mind, but when it's multiple seconds it gets to be annoying, especially with things like YT shorts that are only a few seconds long anyway 2023-06-13 17:36:48 indeed 2023-06-13 17:37:14 but yeah just copy it into ~/.config for user wireplumber and it should work 2023-06-13 17:37:20 if it does not then it was actually something else 2023-06-13 17:40:29 I am trying to install Whonix on Alpine, and part of the process is extracting the downloaded xz file, but the tar command seems to be having trouble with the qcow2 files. When I run "tar -xf Whonix*" I get the error "tar: unknown typeflag: 0x53". Do I need anything else installed for tar to work correctly? 2023-06-13 17:48:30 probably apk add tar 2023-06-13 17:49:55 You can install Whonix on alpine? I didn't know that. I remember making a post on the kicksecure forum saying they should and starting a column for alpine on their usability chart, that's awesome to hear it's coming along. Whonix looks pretty cool 2023-06-13 17:50:00 Guest3000, xz -d -c Whonix | tar -x 2023-06-13 17:51:18 I guess I'm finding out whether I personally am capable of running Whonix on alpine lol. I already got KVM working, and ran a debian-based virtual machine with no problems 2023-06-13 17:51:38 Thanks quing, I'll try that command 2023-06-13 17:54:37 (it just decompressing the xz file to stdout and piping the uncompressed tar archive into tar for extraction) 2023-06-13 17:55:49 I get the same error with that command, unfortunately, but I did successfully run "tar -xf" to unpack the files on termux for android, so maybe I can just copy the decompressed file over. Maybe I am missing something to fix the tar command? 2023-06-13 18:00:31 Thanks Psychose, that fix worked great! appreciate the help 2023-06-13 18:01:33 Guest3000: maybe try bsdtar 2023-06-13 18:02:41 $ xz -d -c linux-6.3.tar.xz | busybox tar -x 2023-06-13 18:02:45 worksforme™ 2023-06-13 18:03:02 They mentioned qcow2 2023-06-13 18:03:23 haha ok. 2023-06-13 18:03:46 I read “xz” and “tar”, not “file system”, sorry 2023-06-13 18:04:59 Doesn't the qemu-img tool do that? 2023-06-13 18:09:22 bsdtar worked! 2023-06-13 18:09:40 Thanks, @ikke 2023-06-13 18:13:07 nice :) 2023-06-13 18:30:37 psykose: so if I get it right this will be part of next major release (3.19) after spending the life cycle in edge/community? 2023-06-13 18:30:43 ye 2023-06-13 21:05:47 I have networking, wpa, and wpa_cli running as boot rc-services. my user is part of the wheel group. but if I run "wpa_cli" at the terminal it says it can't connect to wpa_supplicant 2023-06-13 21:06:03 which is definitely running, I can see its process ID 2023-06-13 21:08:21 hmm, even wpa_cli -i wlan0 gives me that 2023-06-13 21:10:39 do you have the wpa_supplicant control socket configured 2023-06-13 21:13:29 that's a good question 2023-06-13 21:21:44 god damn I get confused by all the rc-* commands. some of them go "service verb", some of them are "verb service" 2023-06-13 21:26:34 switched to iwd. that was painless 2023-06-13 21:27:53 everything just works, including iwctl. nice 2023-06-13 21:29:43 iwd is amazing. 2023-06-13 21:30:11 yeah it's a very nice interface 2023-06-13 21:57:39 hello, I have a question about Alpine and starting X without display manager 2023-06-13 21:58:07 sure. ask away 2023-06-13 21:58:15 LACampbell, first example configuration line of wpa_supplicant.conf(5) shows how to enable the wpa_cli for wheel 2023-06-13 21:58:56 I ran the script 'setup-xorg-base', then used apk to add xfce4 xfce4-terminal dbus dbus-x11 2023-06-13 21:59:15 quinq: my mistake, I have to start reading config man pages 2023-06-13 21:59:23 I start it from a tty console, and XFCE fires up, but my keyboard & mouse are not working at all. 2023-06-13 21:59:36 LACampbell, no mistake, just hinting :) 2023-06-13 22:00:32 I start X with 'startx' 2023-06-13 22:00:48 do you have udev? 2023-06-13 22:01:25 are you in the input and video group 2023-06-13 22:03:26 udev (yes) 2023-06-13 22:03:37 i have not modified any group setting 2023-06-13 22:04:08 other users on youtube, started with LDM display manager, and that's the only difference?? 2023-06-13 22:05:39 i'm in the video group, but 'not' input group 2023-06-13 22:06:05 that might be it 2023-06-13 22:06:47 I'll give that a try. (good suggestion), didn't think on that one 2023-06-13 22:09:55 good luck, I just started using alpine as a desktop a couple of weeks ago too 2023-06-13 22:16:30 I luv this distro (light), awesome simplicity (server) 2023-06-13 22:16:58 yeah I've been using it on my server for years. and as my dev environment in windows WSL2. took the plunge on the destkop, nice to have it all matching 2023-06-13 22:18:30 i've always disliked systemD 2023-06-13 22:20:39 oh yeah, why's that? I kind of liked voids one, where you made a symbolic link to start services 2023-06-13 22:20:57 wasn't alpine considering dropping openRC for something else? 2023-06-13 22:21:12 systema 2023-06-13 22:21:20 it works! (awesome) 2023-06-13 22:21:36 abby: oh yeah thats right. still happening? 2023-06-13 22:22:08 the a stands for awesome 2023-06-13 22:22:15 ACTION takes notes 2023-06-13 23:06:59 hello everyone, I was trying to install manually alpine because I have a separated home partition, but after following steps in wiki I tried to mount partitions 2023-06-13 23:07:30 but I can't because in dmesg it says that utf8 isnot a reccomended IO charset 2023-06-13 23:08:04 how can I succesfully mount stuff? it is the first time I experienced such error 2023-06-13 23:10:11 your partition name has utf8 chars? 2023-06-13 23:11:08 I didnt give any name to partitions 2023-06-13 23:11:37 shall I format again, giving a simple name? 2023-06-13 23:12:09 so I did a similar thing a couple of weeks ago, installed alpine on an existing home partition. but I'm not a wizard at this stuff. so take what I say with a grain of salt 2023-06-13 23:12:16 yeah, what command are you actually typing? 2023-06-13 23:12:36 i'm following this https://docs.alpinelinux.org/user-handbook/0.1a/Installing/manual.html#_options_and_settings 2023-06-13 23:12:50 I'm stuck at finalizing part 2023-06-13 23:12:54 just mount 2023-06-13 23:13:36 for partitions I ran plain mkfs.* /dev/* 2023-06-13 23:13:50 replacing * with proper stuff 2023-06-13 23:13:54 no flags 2023-06-13 23:14:20 well you need like 4 partitions, right? 2023-06-13 23:14:25 boot, swap, home, and root 2023-06-13 23:14:47 actually I wanted to have a swap file, so I have boot, efi, root, and home 2023-06-13 23:14:58 but home has stuff inside and didn't want to backup 2023-06-13 23:15:42 I mean backup anyway incase you fat finger something 2023-06-13 23:15:51 oh yeah xd 2023-06-13 23:16:17 but well, I didn't want to spend time moving files 2023-06-13 23:16:28 what is the actual error 2023-06-13 23:17:05 can't mount partitions, dmesg says utf8 is not a reccomended IO charset for FAT filesystems 2023-06-13 23:17:15 semi-auto install process 2023-06-13 23:17:22 that's not an error, it's a warning for the fat partition only 2023-06-13 23:17:35 it also doesn't mean or do anything, it continues after that fine to the next thing 2023-06-13 23:17:37 LACampbell suggested that maybe is a problem of partition name 2023-06-13 23:18:09 well 2023-06-13 23:18:11 it's always printed when iocharset=utf8 is in options and can just be ignored 2023-06-13 23:18:16 it's not the source of any issues here 2023-06-13 23:18:16 mount says Invalid argument 2023-06-13 23:18:27 for something else but not that, sure 2023-06-13 23:18:30 and I'm not giving any argument 2023-06-13 23:18:39 what is your fstab 2023-06-13 23:19:00 i have not a fstab yet, I just formatted partitions 2023-06-13 23:19:32 just the default one of live iso 2023-06-13 23:19:40 what did you run then 2023-06-13 23:20:04 mount /dev/partition /mnt 2023-06-13 23:20:11 replace partition with partition name 2023-06-13 23:20:20 with all partition I had no luck 2023-06-13 23:20:30 can you post dmesg 2023-06-13 23:21:02 lemme see 2023-06-13 23:25:00 ix.io/4yaT 2023-06-13 23:25:43 this doesn't look like a normal device 2023-06-13 23:26:10 what do you mean 2023-06-13 23:26:10 /dev/"partition" is actually some squashfs thing and this is a phone 2023-06-13 23:26:20 mh no 2023-06-13 23:26:34 i have mmcblk1 2023-06-13 23:27:24 after 3649 is because i had to do tethering with my phone 2023-06-13 23:27:34 I disconnected it 2023-06-13 23:27:43 and reconnected again to download curl 2023-06-13 23:27:50 ah that makes more sense 2023-06-13 23:28:05 but yeah this looks fine then 2023-06-13 23:28:08 you mounted the same thing 20 times 2023-06-13 23:28:18 yeah but without success xd 2023-06-13 23:28:19 to see what the einval is you'd have to strace it i guess 2023-06-13 23:28:48 i dont know what is this 2023-06-13 23:32:02 ok I ran strace mount ... 2023-06-13 23:32:14 and it said exited with error 255 2023-06-13 23:35:55 http://ix.io/4yaV 2023-06-13 23:37:39 what's the partition type of /dev/mmcblk1p3 2023-06-13 23:37:52 you have to to mount -t type .. 2023-06-13 23:38:04 it tried vfat and some others but they all fail, that's why it doesn't work 2023-06-13 23:38:13 e.g. -t ext4 for ext4 2023-06-13 23:38:31 ohhhhhhh 2023-06-13 23:38:34 I see 2023-06-13 23:38:38 let me try 2023-06-13 23:38:52 wow 2023-06-13 23:39:00 it was such a stupid error 2023-06-13 23:39:09 idk why it wasn't mentioned in the wiki tho 2023-06-13 23:39:14 thank you so much! 2023-06-14 02:08:26 does alpine contain proprietary code, binary blobs? or is it open source and libre? 2023-06-14 02:08:58 i know the mainstream linux kernal is loaded with malware, does alpine use the blobs or not? 2023-06-14 02:09:02 *kernel 2023-06-14 02:10:00 shit you got me, ill remove the malware now 2023-06-14 02:10:17 lol 2023-06-14 02:10:33 does alpine contain non-free binary blobs or is it open source? 2023-06-14 02:10:59 no documentation anywhere i can find answering this 2023-06-14 02:11:19 and yes..... the closed source firmware/drivers _does_ contain spyware :) 2023-06-14 02:11:24 I'm being serious 2023-06-14 02:11:40 linux mainstream kernel is backdoored 2023-06-14 02:16:48 It contain firmware blobs. 2023-06-14 02:17:17 "linux mainstream kernel is..." <- Stop spreading misinformation 2023-06-14 02:17:40 you can use linux-libre and have no microcode and security warning supressed 2023-06-14 02:18:35 Not mis info 2023-06-14 02:18:40 i can back my claim 2023-06-14 02:18:44 but that is different topic 2023-06-14 02:19:01 thanks for answering my question though 2023-06-14 02:19:26 security communities can back their claims 2023-06-14 02:19:32 I work in cybersec 2023-06-14 02:19:52 also I forgot to install microcode for months 2023-06-14 02:20:01 So microcode, even on my intel systems I block microcode, but I am using ARM cpu for most things these days. 2023-06-14 02:20:21 I'm very new to alpine, possible or easy to build it using linux libre? 2023-06-14 02:20:29 gnu-only-way: in your case, you need full transparency? 2023-06-14 02:20:32 or way to delete the closed source stuff post install 2023-06-14 02:20:51 you can manually uninstall firmwares lol 2023-06-14 02:21:06 yes I need 100% open source 2023-06-14 02:21:29 also are you a NSA agent 2023-06-14 02:21:55 I am not a criminal 2023-06-14 02:21:56 so no 2023-06-14 02:22:17 is it as easy as rm'ing /lib/firmware? 2023-06-14 02:22:53 apk del linux-firmware 2023-06-14 02:23:01 if they are backdoored it is impossible to remove lmao 2023-06-14 02:23:19 apk del linux-backdoor 2023-06-14 02:23:27 that won't work? 2023-06-14 02:24:32 you want apk add linux-frontdoor 2023-06-14 02:24:38 Are you trolling? 2023-06-14 02:25:05 only was trolling on that one comment "linux-backdoor" but was serious 2023-06-14 02:25:11 was referring to linux-firmware 2023-06-14 02:25:37 is apk del linux-firmware same as rm'ing /lib/firmware ? 2023-06-14 02:27:08 I'm using chromium, and I'm having alsa for sound. I'm sandboxing chromium (restricting access to directories with bubblewrap), but it needs some access to /etc for the sound to work. anyone know how to trace the process for its access to /etc? 2023-06-14 02:29:48 strace -f -e trace=open,read,write or something like that 2023-06-14 02:29:50 it seems that it is accessing a file in /etc 2023-06-14 02:30:07 I allowed /etc/alsa but it doesn't work 2023-06-14 02:30:10 bubblewrap, great choice 2023-06-14 02:31:23 styrofoam can be better sometimes 2023-06-14 02:31:54 i like the packing peanuts made of corn that melt in your mouth 2023-06-14 02:33:20 but with bubble wrap you can twist it and make many bubbles go pop pop pop! in rappid succession, making your neighbor on other side of the wall freak out thinking gun shots went off 2023-06-14 02:33:29 you cant do that with the packing peanuts 2023-06-14 02:35:29 > I work in cybersec 2023-06-14 02:35:29 gnu-only-way also what do you mean in 'cybersec' 2023-06-14 02:43:50 lol 2023-06-14 02:48:07 "i read people's conspiracy theories online" probably 2023-06-14 02:49:31 Anyone else having trouble with XFCE Polkit on Edge today after updating? I am having it fail at login across two machines 2023-06-14 02:49:54 I'm having trouble debugging exactly why, nothing salient seems to be logged in dmesg 2023-06-14 03:04:55 hmm 2023-06-14 03:05:01 i can think of one thing but not sure 2023-06-14 03:05:48 whadya mean by fail 2023-06-14 03:11:24 https://ptrc.gay/xYfMGJWQ 2023-06-14 03:29:19 that one i feel like i've seen a bunch of times 2023-06-14 03:29:21 no idea what it means tho 2023-06-14 03:59:03 also depends on when you last updated 2023-06-14 04:29:13 Yeah, exactly that, ptrc. Just an empty dialog and nothing printed to dmesg 2023-06-14 04:29:22 Updated multiple times today, though not in the last few hours 2023-06-14 04:29:32 Incomplete upgrade of components due to the builders taking a bit on something? 2023-06-14 04:30:31 In terms of what it causes, on my desktop, issues with login/logout/suspend/etc, on my laptop, all the same, plus I can't interact with DPMS or whatever to change my screen brightness 2023-06-14 04:31:23 pkexec is broken, so I can't pkexec anything, so adjusting GUFW, for instance, is a no-go 2023-06-14 10:34:43 pipewire capture on kde seems broken on edge. the popup asking for output selection doesn't open. investigating rn but would like to know if it's a known issue. 2023-06-14 10:36:13 *screen capture 2023-06-14 10:39:47 hmm just did an install of 3.18 and it's also broken. was working a few days ago as I was using it to stream with obs :/ 2023-06-14 10:51:05 huh seems kpipewire wasn't installed for some reason. didn't need to install that manually before so I wonder what pulled it in before. 2023-06-14 10:51:59 Ah, spectacle. sorry for the noise ^^ 2023-06-14 12:26:28 Привет 2023-06-14 12:26:45 Hi 2023-06-14 12:28:21 Help me install alpine + labwc for desktop please 2023-06-14 12:35:17 Hi Ins, there is this: https://wiki.alpinelinux.org/wiki/LabWC 2023-06-14 12:38:32 quinq: I did it according to this instruction. But something doesn't work out. Is there a list of sequential commands to install on a clean system? Maybe I don't understand something and I'm doing something wrong... (yandex translate) 2023-06-14 13:12:20 But I put it with a standatd image. I'll try with extended. 2023-06-14 15:31:57 sry. but psykose knows what's going on regarding the switch to 0.35.1_git20230608 . the mpv dev has a patch now, but i have no clue how to do, what he described (never done that): https://github.com/mpv-player/mpv/issues/11773#issuecomment-1591428354 2023-06-14 15:33:10 that's not a patch, it's a thing for you to test 2023-06-14 15:33:23 but how.. 2023-06-14 15:33:27 do you know how to use aports 2023-06-14 15:34:01 .. never done that.. im really sry 2023-06-14 15:34:40 is there a wiki entry? 2023-06-14 15:35:33 hmm 2023-06-14 15:35:55 all i know, you know from my git 2023-06-14 15:36:33 you can use mrtest from pipeline artifacts i think 2023-06-14 15:36:36 i'll build it with that for you 2023-06-14 15:36:44 but i never had bigger issues, so i never worked with some enhanced things like this 2023-06-14 15:37:40 that whould be cool, sry, i know you have a lot of work to do 2023-06-14 15:38:25 maybe, another new apline thing to learn. but not in this context now. i need time 2023-06-14 15:40:24 apk add -t .temp mrtest 2023-06-14 15:40:26 mrtest add -a 48025 2023-06-14 15:40:30 follow that 2023-06-14 15:40:37 you'll get an -r1 with the patch applied 2023-06-14 15:40:45 one moment 2023-06-14 15:41:04 press `u` on the 'what to install' screen 2023-06-14 15:42:52 your answer: y # i guess *lol*? 2023-06-14 15:44:25 Otherwise, if you want to proceed, type in the 2023-06-14 15:44:33 MR ID ? 2023-06-14 15:44:45 what id? 2023-06-14 15:45:32 48025 ? 2023-06-14 15:48:10 yes 2023-06-14 15:51:02 i don t want to mess anything up. which pks to install? 1) mpv-0.35.1_git20230608-r1.apk [installed: 0.35.1_git20230608-r0] only this or the other ones, like mpv-libs-0.35.1_git20230608-r1.apk .. 2023-06-14 15:51:06 press u 2023-06-14 15:51:08 then y 2023-06-14 15:53:36 all done! (message) Use 'mrtest zap' to uninstall added packages. 2023-06-14 15:54:43 so, this was all the magic? and if done, how to go back to normal? with the zap command? 2023-06-14 16:00:21 Hi guys 2023-06-14 16:00:29 I'm trying to install alpine 3.18 on ppc64le power8 machine 2023-06-14 16:00:35 indeed 0.35.1_git20230608-r1 2023-06-14 16:00:42 I have a 3TB nvme disk and I'm choosing sys method 2023-06-14 16:00:55 All is well until the last stage where packages are installed and I get this: 2023-06-14 16:01:02 grub-install: error: the PReP partition is not empty. If you are sure you want to use it, run dd to clear it: `dd if=/dev/zero of=/dev/nvme4n1p1'. 2023-06-14 16:01:02 ERROR: linux-lts-6.1.34-r0: No space left on device 2023-06-14 16:01:02 ERROR: Failed to create boot/vmlinuz-lts: No space left on device 2023-06-14 16:01:35 And I have no idea why, /boot is surely big enough: 2023-06-14 16:01:35 /dev/nvme4n1p2 271.1M 2.5M 249.6M 1% /mnt/boot 2023-06-14 16:02:16 Or not? 2023-06-14 16:02:45 Hmm... seems not: 2023-06-14 16:02:45 linux-lts-6.1.34-r0 installed size: 2023-06-14 16:02:45 302 MiB 2023-06-14 16:02:58 Seems like the default partition size should be increased 2023-06-14 16:03:15 uh.. the error message references nve4n1p1, and you mention nve4np2 2023-06-14 16:03:44 nve4n1p2... 2023-06-14 16:04:28 grub-install thing is just a warning 2023-06-14 16:04:29 > 172.17.144.61/24 2023-06-14 16:04:30 > ERROR: Failed to create boot/vmlinuz-lts: No space left on device 2023-06-14 16:04:31 The main problem is here 2023-06-14 16:04:53 It seems that the default /boot on ppc64le is few mbytes less than the package size 2023-06-14 16:05:24 /boot partition is too small I guess 2023-06-14 16:05:32 Yes it is 2023-06-14 16:06:00 I guess I can manually fix this, but I think it would be better to make the defaults work 2023-06-14 16:06:15 The default size was already adjusted 2023-06-14 16:06:29 but that would not affect already installed systems 2023-06-14 16:06:35 I'm pretty sure I got the latest installation ISO 2023-06-14 16:06:41 Just a few hours ago 2023-06-14 16:06:52 It should default to 300M 2023-06-14 16:06:59 The package size is 304M 2023-06-14 16:07:11 *302M 2023-06-14 16:07:25 linux-lts-6.1.34-r0 installed size: 2023-06-14 16:07:25 302 MiB 2023-06-14 16:09:00 But that should not all go to /boot 2023-06-14 16:12:50 > local boot_size="${BOOT_SIZE:-300}" 2023-06-14 16:12:59 I have this in setup-disk 2023-06-14 16:13:05 I'll try with 512 2023-06-14 16:16:06 Yeah, 512M works 2023-06-14 16:16:30 > /dev/nvme4n1p2 487.6M 285.2M 166.6M 63% /mnt 2023-06-14 16:17:17 It seems that 300 is not in 1000 blocks, but in 1000 byte blocks 2023-06-14 16:17:21 Hence the difference 2023-06-14 16:17:29 *not in 1024 blocks 2023-06-14 16:18:21 I wonder why vmlinux became so big 2023-06-14 16:18:32 on the ppc64le server we have (still on 3.16 atm), its 40M 2023-06-14 16:18:46 this one is 268.5M 2023-06-14 16:19:26 Easy 2023-06-14 16:19:29 It's not stripped 2023-06-14 16:19:46 > vmlinuz-lts: ELF 64-bit LSB executable, 64-bit PowerPC or cisco 7500, OpenPOWER ELF V2 ABI, version 1 (SYSV), statically linked, BuildID[sha1]=21f2d4a74ec79d390fd43e56439b0d900e5a1084, with debug_info, not stripped 2023-06-14 16:20:53 ncopa: ^ what do you think 2023-06-14 16:20:56 > 38.8M vmlinuz-lts 2023-06-14 16:20:58 looks related to that debug thing that was added 2023-06-14 16:21:00 After stripping 2023-06-14 16:21:21 DEBUG_INFO_BTF 2023-06-14 16:21:25 d97c07c67cb9452ec1f7680c5314ea53e622cea5 2023-06-14 16:21:29 Most likely 2023-06-14 16:21:44 It should be definitely stripped into a subpackage 2023-06-14 16:22:41 should have a special dbg() -dbg yeah 2023-06-14 16:22:47 if it's possible at all 2023-06-14 16:24:32 seems from https://gitlab.alpinelinux.org/alpine/aports/-/issues/12563 the --strip-debug wasn't added 2023-06-14 16:25:03 Glad to be of use :) 2023-06-14 16:42:23 How long do you guys plan to support power8 btw? 2023-06-14 16:47:23 consus[m]: There are no plans to deprecated it any time soon afaik 2023-06-14 16:47:56 Not sure if there would be a good reason to raise the baseline to power9 2023-06-14 16:48:29 Nice 2023-06-14 16:48:42 Because redhat and ubuntu both nuked it lol 2023-06-14 16:48:55 So my options here are alpine or ause 2023-06-14 16:49:01 *suse 2023-06-14 17:01:01 i think the DEBUG_INFO_BTF is debug info, so --strip-debug will remove it? 2023-06-14 17:05:07 agaib, thank you for everything. it worked, i guess he found a solution. i also found a wiki on postmarket for mrtest. so i did mrtest zap, tihs removed the virtual pkg, but i still have policy output 0.35.1_git20230608-r1 . do i have to del mpv and add again, or even a apk upgrade -a ? 2023-06-14 17:18:15 latter 2023-06-14 17:18:28 upgrade -a did it. learned something new. thx for building it, and the step-for-step guide! 2023-06-14 17:28:50 ncopa: dunno, arch has btf but just does `strip vmlinuz` anyway 2023-06-14 17:29:15 and on a bunch of the extra binaries that come with -dev 2023-06-14 17:29:26 we don't strip anything except for what mod_install_strip does 2023-06-14 17:36:05 psykose, generally you don't strip btf - that's the point 2023-06-14 17:36:46 how are you meant to use it without having a 50 million gb kernel then 2023-06-14 17:36:46 and it's a custom format anyway, so unless binutils grew knowledge of linux section names, strip isn't kicking BTF away 2023-06-14 17:36:56 right 2023-06-14 17:37:02 so the strip is still fine to call on the kernel 2023-06-14 17:37:21 BTF is a lot smaller than DWARF 2023-06-14 17:37:48 for some reason that is also enabled 2023-06-14 17:42:48 is the perf package on alpine missing some sort of optional dep? my perf report output on alpine is pretty much $PAGER'd text, while I would expect a curses-like interface 2023-06-14 17:44:54 hey everybody. I think I forgot to document something. On a new alpine box, wget complains "wget: can't execute 'ssl_client': No such file or directory", but I already installed openssl and openssh, what am I missing again? 2023-06-14 17:46:28 mbx: there is a package called ssl_client 2023-06-14 17:47:33 https://pkgs.alpinelinux.org/package/edge/main/x86_64/ssl_client 2023-06-14 17:48:22 Thanks ikke, I just found it 2023-06-14 17:48:32 you are so fast :D 2023-06-14 17:48:50 interestingly, nobody ever posted the exact error message on the internet 2023-06-14 17:50:12 heat_: it's probably the slang build-time optdep 2023-06-14 17:53:07 added 2023-06-14 18:04:47 heat_: are the /usr/libexec/perf-core/tests/ actually used for anything or are they like actual tests 2023-06-14 18:06:36 i don't think so, doesn't seem to be present on arch either 2023-06-14 18:07:28 ty bb 2023-06-14 18:07:47 <3 2023-06-14 18:08:48 if you're looking at perf rn, there's also a fun comment at the end of perf report "# (Cannot load tips.txt file, please install perf!)" 2023-06-14 18:08:58 i assume you're deleting the tips.txt file too? 2023-06-14 18:12:31 hmm 2023-06-14 18:12:58 it's in /usr/share/doc/perf-tip/tips.txt with linux-tools-doc 2023-06-14 18:13:46 i can patch the message tho 2023-06-14 18:16:25 added 2023-06-14 18:18:13 So, the sources for the User Handbook are licensed CC-BY-SA 4.0. This also applies to the rendered version of that handbook, right? 2023-06-14 18:18:27 maybe 2023-06-14 18:20:44 Yeah, I mean, there's no indication of it being under that license at https://docs.alpinelinux.org/. 2023-06-14 18:35:30 sry. me again. much bigger problem. testing my postinstall in a vm, revealed to me, that only the 2 v.18 main/community repos are in /etc/apk/repositorys. no commented edge repos at all. so, everything is breaking my script. is this intended since v.18? 2023-06-14 18:37:33 yes 2023-06-14 18:37:44 oh no 2023-06-14 18:38:49 i think this is a very bad idea. 2023-06-14 18:40:01 so i have to append them. had no clue. this is breaking user-scripts and co. 2023-06-14 18:41:17 don't think there's any guarantee anywhere that there are magic commented edge repos (though they were there for a while) 2023-06-14 18:41:17 the whoe time since the update to v18..nothing worked and no indo about this massive change at all 2023-06-14 18:41:31 2 lines of text is hardly a massive change 2023-06-14 18:41:37 it's similarly easy for you to fix 2023-06-14 18:41:53 they were intentionally removed to not give the idea people can just mix the repos i guess 2023-06-14 18:42:35 Is there an easy way to check for functional mount without modifying the openrc init.d script? 2023-06-14 18:42:48 what's a functional mount 2023-06-14 18:42:57 I wanna make sure that /var/lib/libvirt/qemu is mounted before starting libvirt 2023-06-14 18:43:10 you would probably indeed have to modify it then 2023-06-14 18:43:11 yes, but one has to be informed. i really try to follow everything i cab, but this is a massive change, because it never was like that. also nothing in the wiki et cetera. 2023-06-14 18:43:15 :( 2023-06-14 18:43:17 Okay 2023-06-14 18:44:16 ahh. ok, people mix, shit happens then, but that's their fault if they dont read the wiki 2023-06-14 18:44:59 anyway, was a shock, will append them. thx anyway 2023-06-14 18:46:38 the change was https://gitlab.alpinelinux.org/alpine/alpine-conf/-/merge_requests/155 specifically 2023-06-14 18:46:45 though it's actually only in 3.18.2 now 2023-06-14 18:47:02 but yeah i don't think anyone predicted this would then break someone's scripts that expected comments to be there 2023-06-14 18:47:09 not sure how someone would document that 2023-06-14 18:47:13 'we removed a comment from a file' 2023-06-14 18:48:10 ah, no, was in 3.18 proper 2023-06-14 18:48:38 "Drop obsolete comment on/in $thing" is what I tend to use. 2023-06-14 18:49:16 if there was a changelog with things like that it would be roughly ~40k lines every release 2023-06-14 18:49:20 you would not even find such a thing in there 2023-06-14 18:49:30 Oh, I thought more like Git log. 2023-06-14 18:49:44 well, that's already in the git log of that repo 2023-06-14 18:49:50 i guess a log of every log 2023-06-14 18:49:59 I see. 2023-06-14 18:52:52 hi everyone, today I started having problems with udev-settle, that fails to start and hogs my cpu even after boot. How can I see the logs? 2023-06-15 00:30:57 if I have an old computer that can't boot from USB and has a broken hard drive, can I use the alpine install cd to install the system onto an usb thumb drive, then use the same install cd every time to boot from that usb? 2023-06-15 01:23:56 I ran Alpine from USB. It mostly worked okay? 2023-06-15 01:24:09 Persistent on-drive install, I mean  2023-06-15 01:32:33 Saijin_Naib: my question is if I can boot it from usb by using the install cd 2023-06-15 01:39:24 I'm trying to test Alpine with nginx and php but it appears that php either isn't in the repo or maybe it's not available for aarch64 but I can't seem to find the packages at pkgs.alpinelinux.org regardless of architecture... wanted to make sure I wasn't missing something before I go through the hoops to try and compile php (running aarch64 as I'm running a VM on my M2 mac) 2023-06-15 01:42:00 did you forget to enable the /community repo 2023-06-15 01:44:12 prehaps, new to distro and all 2023-06-15 01:45:30 That did the trick, appreciate the help for such a silly issue 2023-06-15 02:00:22 psykose, btw thank you for looking at the perf issues :) 2023-06-15 02:00:37 np :) 2023-06-15 02:00:40 although aarch64 is still stuck on 6.3.4 apparently 2023-06-15 02:00:58 yeah that is still like 2023-06-15 02:01:00 2 weeks behind 2023-06-15 02:01:07 but Soon it will upload 2023-06-15 02:01:09 200 builds to go 2023-06-15 02:01:49 (network went poof for a long time on that builder) 2023-06-15 03:34:17 hmm... Looks like it was shadow needing a rebuild for my two machines' issues, psykose 2023-06-15 03:34:22 Is that what you had suspected? 2023-06-15 03:34:26 nope 2023-06-15 03:34:29 nothing even changed in it 2023-06-15 03:34:33 hah, wtf 2023-06-15 03:34:45 All good now... thats the only package that looked salient 2023-06-15 03:34:56 But like 60 updated today, so it was definitely one of the ones that went by me 2023-06-15 03:34:58 Ah well 2023-06-15 03:35:02 Thanks anyway for the help 2023-06-15 03:47:37 ~ 2023-06-15 05:15:49 games are a lot slower on alpine than they were on my old glibc system. this is running through flatpak, which the old one did too, so I doubt it's a musl issue 2023-06-15 05:16:51 what kind of games? 2023-06-15 05:17:16 just stuff run through steam. tf2, that kind of thing. also noticed it with minecraft 2023-06-15 05:17:27 currently checking out what graphics card drivers I have 2023-06-15 05:17:32 so 3D 2023-06-15 05:17:46 what graphics card? 2023-06-15 05:18:04 (afaik, official nvidia does not work with musl) 2023-06-15 05:18:51 05:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Lucienne (rev c1) 2023-06-15 05:18:56 it's amd, thank goodness 2023-06-15 05:19:23 amdgpu is running 2023-06-15 05:20:42 feel like I needed some other software sitting on top of it 2023-06-15 05:20:56 though I guess it could be amdgpu not working well with musl? hmm 2023-06-15 05:21:21 funny thing: I put my nvi card into a vm with pci passthrough, and the overall virtual system runs faster now than it was the host system 2023-06-15 05:22:14 with less resources 2023-06-15 05:22:18 weird, huh? 2023-06-15 05:25:08 host is alpine, ofc 2023-06-15 05:29:26 amdgpu is a kernel driver so only the kernel matters there 2023-06-15 05:30:11 how much is 'a lot'? did the old system also use flatpak for steam or not? 2023-06-15 06:13:28 I've messed up my startup services. Networking complains at boot that it can't find any devices, ie "ip: ioctl 0c8193 failed: No such device". there's a nunch of them, I think it's just trying to run all the commands in /etc/network/interfaces 2023-06-15 06:13:48 if I log in and restart networking manually, it goes ahead and does dhcp and everything is fine 2023-06-15 06:14:22 even though the only services that run after networking - judging by the logs - are busbybox, chronyd, crond, polkit, rtkit, samba... 2023-06-15 06:18:38 ok rc-status -a is givng me a more complete picture. I think I accidentally disabled and addded back the networking service 2023-06-15 06:21:16 can anyone tell me where 'networking' is in there rc-status -a? mine is in both boot and default 2023-06-15 06:22:26 generally boot 2023-06-15 06:22:35 only boot? 2023-06-15 06:23:26 Mine is only in boot 2023-06-15 06:23:59 huh. well I'm stumped 2023-06-15 06:25:20 it sounds like a race condition between net and the device being configured 2023-06-15 06:25:26 removing it from boot and leaving in default probably works 2023-06-15 06:25:48 boot: modules hwclock seedrng loadkmap sysctl bootmisc iwd hostname networking syslog 2023-06-15 06:25:57 ok I'll try that 2023-06-15 06:28:34 psykose: that did work!! thanks. looks like there is a race condition with that and iwd, since that's all I changed (just following the wiki) 2023-06-15 06:29:40 something like that 2023-06-15 07:14:51 what things init the device? 2023-06-15 07:15:17 is it bootmisc? 2023-06-15 07:15:41 probably iwd doing something funny i guess 2023-06-15 07:15:44 with network config 2023-06-15 07:15:48 but if that's not enabled then not sure 2023-06-15 07:16:53 i guess when dev is mounted, network devices will be available? 2023-06-15 07:24:22 I'm pretty ignorant of init systems - I figured there'd be some dependency graph 2023-06-15 07:26:30 there is, in this case iwd is 'before net' 2023-06-15 07:26:40 there's probably a specific issue that it's not actually ready 2023-06-15 07:26:47 well 2023-06-15 08:28:54 ifup talks dirty to me, why? 2023-06-15 08:29:07 # ifup eth1.15 2023-06-15 08:29:07 ifup: failed to change interface eth1.15 state to 'up' 2023-06-15 08:29:07 ip: RTNETLINK answers: File exists 2023-06-15 08:29:27 auto eth1.15... (full message at ) 2023-06-15 08:29:33 vlan config looks decent 2023-06-15 08:29:44 And it actually brings the interface up 2023-06-15 08:30:14 But it silently cannot bring it down afterwards 2023-06-15 08:32:27 Details: https://pastebin.com/fdC249Q3 2023-06-15 09:57:35 Hello, I am using LVM2 volume groups. My issue is that the logical volumes block devices in /dev/mapper are not symlinks to ../dm-* and they are owned by group root 2023-06-15 09:58:46 are you using eudev or nah 2023-06-15 10:18:28 Also there seems to be a problem with bridging. Simply adding a new bridge to interfaces and rebooting works, however ifquery -r does not seem to be aware of the interface existing. 2023-06-15 10:18:44 ifup and ifdown also don't work 2023-06-15 11:43:36 Good day/evening all. Easy beginner question: Using Edge, /etc/alpine-release is "3.18.0". With v.3.18.2 out I need to run apk upgrade -a, correct? 2023-06-15 11:46:39 bbbhltz: does /etc/alpine-release.apknew exit/ 2023-06-15 11:47:14 on edge, it's still 3.18.0 2023-06-15 11:47:15 edge is 3.18.0 indeed 2023-06-15 11:47:46 never understood why that is changed to a release number instead of only in release 2023-06-15 11:48:12 edge should always be named some _something suffix 2023-06-15 11:50:44 psykose: thanks, I feel like I've already asked that question anyway 2023-06-15 11:51:13 your telepathically linked friend must've asked 2023-06-15 12:08:45 why abuild is adding cmd:XYZ=$pkgver to 'provides' if package contains /usr/bin/XYZ/my_command? 2023-06-15 12:09:28 so you can add commands in default path with cmd:xyz 2023-06-15 12:09:45 but XYZ is a directory 2023-06-15 12:10:03 which one 2023-06-15 12:10:12 in my example the XYZ 2023-06-15 12:10:34 package contains: /usr/bin/XYZ/my_command 2023-06-15 12:10:37 i mean literally which package 2023-06-15 12:10:47 i did find the bug already though 2023-06-15 12:10:53 its a local package of mine 2023-06-15 12:11:23 s/its/it's/ 2023-06-15 12:13:16 the check is basically 2023-06-15 12:13:20 x in bin/* 2023-06-15 12:13:27 -x $x || continue 2023-06-15 12:13:30 but you see 2023-06-15 12:13:33 that is true for folders 2023-06-15 12:13:38 yeah 2023-06-15 12:13:41 it's dumb 2023-06-15 12:13:42 needs -f too 2023-06-15 12:25:28 will be this fix backported? 2023-06-15 12:33:00 backported? 2023-06-15 12:33:31 into v3.15, for instnace 2023-06-15 12:37:12 no 2023-06-15 12:38:08 a user who belongs to group disk. It's trying to deal with block devices in /dev/mapper/* so it does not have permission to do anything. 2023-06-15 12:38:08 hello, I'm using LVG volume group. Logical volumes block devices are present at 2 locations: in /dev/mapper/* and /dev/dm-*. There are also symlinked in /dev//* to /dev/dm-*. The block devices in /dev/mapper/* are owned by root:root mode 600 while those in /dev/dm-* are owned by root:disk mode 660. My problem is that I want to use sanlock (called by LVM when managing locks) which is run as 2023-06-15 12:38:32 comparatively on debian, /dev/mapper/* are symlinks to /dev/dm-* 2023-06-15 12:38:40 then I'll patch is myself, I see that line what you were talking about 2023-06-15 12:38:50 *patch it 2023-06-15 12:42:04 that lead me to another question: why are some packaged udev rules deployed in /usr ? and some other in /lib/used/rules.d 2023-06-15 12:42:23 that lead me to another question: why are some packaged udev rules deployed in /usr/lib/used/rules.d and some other in /lib/used/rules.d 2023-06-15 12:45:47 for the same reason /lib is separate from /usr/lib 2023-06-15 12:45:58 no reason at all and it's random stuff in either place and it makes no difference 2023-06-15 12:53:44 ok 2023-06-15 12:54:20 another packaging-related question: can I attach changelog to a package, like "changelog" in arch linux? ( https://wiki.archlinux.org/title/PKGBUILD#changelog ) 2023-06-15 12:55:23 so about my problem, I'm not an expert in udev and I don't know what I can do 2023-06-15 12:56:11 aron: no 2023-06-15 12:56:27 bummer 2023-06-15 12:56:57 raspbeguy: this sounds like some eudev issue 2023-06-15 12:57:01 not exactly sure though 2023-06-15 12:57:48 psykose: do you have any alternative idea to achive this? maybe I should put into -doc pkg? 2023-06-15 12:57:57 no 2023-06-15 12:58:02 it doesn't exist, you can't do it 2023-06-15 12:58:32 :( 2023-06-15 12:59:00 You can ofcourse in clude it, but someone has to manually look at the changelog file 2023-06-15 13:00:14 I really liked the changelog option in arch, and I'm missing it here ;) 2023-06-15 13:02:10 psykose, yes I think so too, but I cannot find where 2023-06-15 13:02:30 I checked the rules on debian and I see no significant difference 2023-06-15 13:04:09 https://termbin.com/qirl7 2023-06-15 13:04:57 i.e. not a rules-related issue 2023-06-15 13:05:17 Oh I see 2023-06-15 13:07:31 ikke: you're right, a lot of packages put their changelog into -doc pkg, then I'll go with this 2023-06-15 13:07:40 please don't 2023-06-15 13:07:59 no package does this except some random stuff that autoinstalls a 'changelog' file or w/e 2023-06-15 13:11:46 well, on my current install the following have changelogs: bash, dos2unix, dosfstool, gnuplot, sshfs 2023-06-15 13:11:51 other installs probably have more :P 2023-06-15 14:23:32 it seems that eudev is deprecated now 2023-06-15 14:25:10 it seems that now gentoo stopped developping eudev and use now systemd udev which can now be packaged separately from systemd 2023-06-15 14:26:13 (it seems like a gateway drug, haha) 2023-06-15 14:27:49 says who 2023-06-15 14:27:57 ah 2023-06-15 14:28:00 says gentoo wiki 2023-06-15 14:28:24 but maybe I misinterpreted that 2023-06-15 14:28:33 it doesn't say that there 2023-06-15 14:28:54 gentoo deprecated it as its mainline udev but the project is still maintained 2023-06-15 14:29:04 by some other people 2023-06-15 14:45:22 "it's a trap!" -- admiral ackbar 2023-06-15 15:09:32 I am running alpine with i3 window manager on a laptop, and I the first time I connected a monitor with hdmi, nothing happens, the external monitor just idles 2023-06-15 15:09:48 xrandr shows hdmi is connected 2023-06-15 15:10:05 Any packages or configuration that I likely need? 2023-06-15 15:13:13 did you go through https://wiki.archlinux.org/title/multihead ? 2023-06-15 15:15:39 No, I'll check it out. Thanks 2023-06-15 15:27:19 artok, the xrandr command on that page works! Now I have both the builtin monitor and the external one, but I'm not sure the best way to make the settings persist. Any thoughts? 2023-06-15 15:29:17 Hmm, maybe nothing is needed. When I unplug and plug back in the monitor, it still works. Not sure about after a reboot yet. I'll try that next, I suppose 2023-06-15 15:34:31 check the autorandr also 2023-06-15 16:06:48 Hi, I was just asking about multiple monitors. Thanks, artok, autorandr seems cool, and the "autorandr horizontal" command does what I want during my session, but when I try to add the xrandr command or the autorandr command to .xinitrc or .profile, the outputs on the monitors are cloned instead of stacked. Maybe I am missing some environment variable or something that gets set 2023-06-15 16:06:50 upon login? 2023-06-15 16:30:37 can't really remember how that was done 2023-06-15 18:00:49 raspbeguy: what you are seeing is nothing to do with udev/eudev. Even when udev is enabled Alpine's initramfs' init makes use of nlplug-findfs (which makes use of mdev) to mount the rootfs 2023-06-15 18:01:40 so long before udev is started the /dev/mapper/ entries have already been created 2023-06-15 18:01:48 can't it remake them after 2023-06-15 18:03:07 psykose: well if the /dev/mapper entry for the rootfs has been created and the rootfs is actually mounted via that device then can it change it whilst it is in use? 2023-06-15 18:03:22 if it tries really hard maybe 2023-06-15 18:04:45 mdev itself doesn't appear to have any specific rules for /dev/dm* or /dev/mapper/ devices, I once thought about adding some but suspected that such an MR would be rejected as it would represent a change in behaviour 2023-06-15 18:07:07 basically with Alpine mdev is always used for early (initramfs) stuff regardless of whether mdev / mdevd / udevd is used later 2023-06-15 18:11:15 I'm looking for documentation of locale handling on Alpine. There is a man page for locale(1), but that command doesn't seem to exist. The man page for setlocale(1) mentions the GNU extensions like LC_PAPER, but those don't exist. Are there supported locales besides C and C.UTF-8? 2023-06-15 18:11:56 khw: musl-locales package... 2023-06-15 18:14:50 thank you 2023-06-15 18:20:23 minimal: I will read your answer as soon as my daughter is asleep 2023-06-15 18:25:38 minimal: my rootfs isn't on a LV 2023-06-15 18:25:49 It's a separate volume 2023-06-15 18:26:39 ok. Anyway as mdev is run by initramfs then it is likely the cause of what you see 2023-06-15 18:27:18 khw: pretty much all of it is just doing LANG=, the (1) bins don't really do anything 2023-06-15 18:29:35 minimal: ok. Do you know any workaround? 2023-06-15 18:29:41 nope 2023-06-15 18:29:57 That's a shame 2023-06-15 18:31:04 That basically means alpine cannot use shared volume groups using sanlock 2023-06-15 18:31:16 Which is a huge deal for me 2023-06-15 18:31:16 as I never figured out exactly where it is happening. When passing boot param "debug_init" I can see nlplug-findfs dealing with /dev/dm-*, I don't see any reference to /dev/mapper there though, unless vgchange is doing that 2023-06-15 18:32:21 as I said earlier I guess adding a mdev rule might resolve it but then that would impact everyone so I doubt it would be accepted 2023-06-15 18:32:52 Couldn't one do it locally on it's own machine? 2023-06-15 18:35:28 Also maybe that wouldn't hurt to submit the idea anyway. This is only charging the owner group of LV from root to disk, which is already the case for non LVM block devices 2023-06-15 18:36:25 In my opinion this is a bug 2023-06-15 18:37:04 it pretty much is yeah 2023-06-15 18:38:17 minimal: so would it bother you to try a MR with that if you know what to do, please? 2023-06-15 18:39:36 hoo boy 2023-06-15 18:39:37 history 2023-06-15 18:39:45 raspbeguy: I though the "wish" was to change /dev/mapper/WHATEVER to be a softlink to /dev/dm-X 2023-06-15 18:39:57 minimal: even better 2023-06-15 18:40:05 to match what a typical udev distro does 2023-06-15 18:40:20 but, as I said, that would be a change in behaviour for Alpine... 2023-06-15 18:40:20 Totally 2023-06-15 18:40:49 sounds like a nice improvement in behaviour 2023-06-15 18:41:03 minimal: every MR is a change in behaviour 2023-06-15 18:41:23 psykose: depends on how it would be viewed by the "right" person? 2023-06-15 18:41:35 Even psykose seems to agree with me, which is quite rare :) 2023-06-15 18:41:45 it's pretty common i'd say 2023-06-15 18:42:04 just thinking of my past experiences getting some stuff through... 2023-06-15 18:44:23 I hit this issue a while ago with cloud-init where its growpart code expects /dev/mapper/* to be a softlink to /dev/dm-X 2023-06-15 18:45:18 Also we have quite some time until next release so there is time for this "change in behaviour" to be tested 2023-06-15 18:46:06 ah the old quadrifecta 2023-06-15 18:46:28 lots of time until release -> submit changes -> every1 ignore until near release -> whoops it's too close until next release -> release 2023-06-15 18:48:22 Still, I think (and I hope) this change should be made 2023-06-15 18:48:42 yes 2023-06-15 18:48:57 raspbeguy: well the first thing is to figure out where/how the /dev/mapper entries are created 2023-06-15 18:50:04 nlplug-findfs calls "vgchange --activate ay" which activates all VGs, not just rootfs (if it is one) 2023-06-15 18:50:26 I suspect this vgchange call may trigger the /dev/mapper/ entries but not sure 2023-06-15 18:51:09 Ok. Let me nuke my test VM and reinstall from scratch without even eudev 2023-06-15 19:21:10 minimal, so I installed a fresh VM on edge, I just installed lvm, created a VG from /dev/vdb and added a LV on it. 2023-06-15 19:21:39 just after boot there is no /dev/mapper nor /dev/dm-* 2023-06-15 19:22:49 raspbeguy: is lvm part of the mkinitfs features? 2023-06-15 19:23:20 didn't touch it so if it isn't by default, then no 2023-06-15 19:23:54 setup-alpine (setup-bootable) would add it if you used that 2023-06-15 19:24:48 didn't use that 2023-06-15 19:24:59 I have features="base ext4 scsi virtio" 2023-06-15 19:25:02 That makes sure the proper modules are present 2023-06-15 19:25:08 I will add lvm to it 2023-06-15 19:25:32 and what is your kernel cmdline? 2023-06-15 19:25:49 Is this lv meant to be the rootfs? 2023-06-15 19:26:18 no it isn't meant to be the rootfs 2023-06-15 19:26:22 ok 2023-06-15 19:26:59 there is a lvm service that you need to add to boot 2023-06-15 19:27:24 (if it's not a rootfs, then adding it to the initfs is not necessary) 2023-06-15 19:28:22 the lvm service loads the kernel modules and scans for vgs / lvs 2023-06-15 19:32:27 I added lvm in the mkinitfs and now /dev/mapper/* and /dev/dm-* are there 2023-06-15 19:32:37 minimal, https://termbin.com/4uoa 2023-06-15 19:34:29 raspbeguy: probably because the kernel modules are loaded then 2023-06-15 19:34:46 honestly I doubt that it's done in the initfs 2023-06-15 19:35:26 I mean, I can remove lvm from the mkinitfs and nothing will be done before that 2023-06-15 19:36:12 it would only if it's in the modules cmdline argument 2023-06-15 19:36:13 also I didn't install eudev, and now even /dev/dm-* is owned by root:root 2023-06-15 19:37:31 I will install eudev, which will make it root:disk 2023-06-15 19:45:05 hum, I had to also remove lvm from mkinifs features for that to work 2023-06-15 19:46:49 raspbeguy: adding "lvm" to /etc/mkinitfs/mkinitfs.conf results in the "lvm" binary being added to the initramfs, and so nlplug-findfs can call it ("vgchange") 2023-06-15 19:47:23 obviously if you don't add the "lvm" feature then nlplug-findfs can't do the vgchange 2023-06-15 19:47:27 so not adding it enable eudev to get control on it 2023-06-15 19:47:42 minimal: wouldn't nlplug-findfs only be usd for the root fs? 2023-06-15 19:48:18 ikke: you mean device (potentially) containing rootfs... 2023-06-15 19:48:20 ikke, here it was used also for my non roots lvm 2023-06-15 19:50:22 ikke: for LVM device nlplug-findfs runs "vgchange --activate ay" to activate *ALL* VGs, not just a specific one (i.e. containing rootfs) 2023-06-15 19:50:44 so there is a problem in the way initfs handles lvm volumes, but there is also definitely a problem in eudev rules too 2023-06-15 19:53:39 raspbeguy: what eudev rule problem? I though you said it was set as root:disk when "lvm" feature was not enabled 2023-06-15 19:54:18 minimal, well /dev/dm-* are root:dev 2023-06-15 19:54:25 but not /dev/mapper/* 2023-06-15 19:54:58 and /dev//* are symlinks to /dev/mapper/* 2023-06-15 19:55:14 right, that's ok then isn't it, it's a symlink 2023-06-15 19:55:36 /dev/mapper/* isn't a symlink 2023-06-15 19:55:37 oops, sorry, is /.dev/mapper/XYZ symlinks to /dev/dm-X? 2023-06-15 19:55:50 on debian it is 2023-06-15 19:55:54 not here 2023-06-15 19:57:19 "so there is a problem in the way initfs handles lvm volumes" - I'm not sure, if your rootfs is on a LVM device then you need to add the "lvm" feature, if your rootfs isn't on a LVM device then don't add the "lvm" feature... 2023-06-15 19:57:47 and if you want lvm devices to be present at boot, enable the lvm service 2023-06-15 19:57:57 minimal, the initfs problem doesn't concern myself 2023-06-15 19:58:15 I mean, I'm fine not addinglvm to initfs features 2023-06-15 19:58:33 I can always enable lvm service later at boot 2023-06-15 20:01:28 raspbeguy: ah, one thought, have you the device-mapper-udev package installed? 2023-06-15 20:01:42 yes 2023-06-15 20:02:37 so have you checked those rules? 2023-06-15 20:03:57 not really an expert on udev 2023-06-15 20:04:11 let me try again 2023-06-15 20:04:13 well those are where the various LVM / DM stuff should be handled 2023-06-15 20:13:04 minimal, here is a diff between dm.rules on alpine and on debian 2023-06-15 20:13:07 https://termbin.com/sit7 2023-06-15 20:13:15 left is alpine, right is debian 2023-06-15 20:13:46 ACTION hands raspbeguy a unified diff :P 2023-06-15 20:14:42 duh.. headless raspberry pi installation seems to be next one I might know how to do 2023-06-15 20:15:14 https://termbin.com/qs3mp better ? 2023-06-15 20:17:49 raspbeguy: that's readable for me :) 2023-06-15 20:21:53 I don't see those lines in the lvm2 source 2023-06-15 20:22:20 but also don't see them in the Alpine packaging 2023-06-15 20:23:19 minimal, I guess this file is added by device-mapper-udev 2023-06-15 20:24:16 eh? device-mapper-udev is a *sub* package of lvm2, I'm looking at that (origin) of that file is the lvm2 source - udev/10-dm.rules.in 2023-06-15 20:24:38 oh ok 2023-06-15 20:25:00 hum 2023-06-15 20:32:34 Anyway I also am very surprised that the block device is present twice (/dev/dm-* and /dev/mapper/*) without symlink 2023-06-15 20:32:56 that seems like a dangerous behaviour 2023-06-15 20:33:27 how so? 2023-06-15 20:37:29 dunno, if there is a filesystem on a LV, you could mount it with /dev/mapper/vgname-lvname and with /dev/dm-x, so is that filesystem isn't made for multiple mounts then you're basically screwing ot 2023-06-15 20:47:25 ok, so it's hypothesis time 2023-06-15 20:49:26 ok, so it's hypothesis time 2023-06-15 20:49:42 It is possible to undo coffee peculation 2023-06-15 20:50:37 my guess is that somehow the device nodes are created twice instead of once: somehow a device node is also created on /dev/mapper/* after /dev/dm-*. that leads udev to overwrite the correct symlink on /dev//* that was originaly pointing to /dev/dm-* and then to /dev/mapper/* 2023-06-15 20:51:12 /dev/mapper/* should definitely be a symlink and i don't know why here it's a full featured device node 2023-06-15 21:03:54 did someone have apkovl for deploying headless rpi that will do setup-alpine with answer file ? 2023-06-15 21:04:39 I've seen just this headless.apkovl.tar.gz project that will enable ssh and by that it is still manual things 2023-06-15 21:13:59 I guess my only workaround is to run sanlock as root... I dislike that 2023-06-15 22:27:23 artok: there is work-in-progress to provide automated installation for alpine 2023-06-16 03:09:25 Can I e2fsck an LVM volume from Alpine Single-User?  2023-06-16 03:47:46 Saijin_Naib: why not try it yourself. as long as the drive is mounted RW, you can't 2023-06-16 04:02:58 I mean, I did try, but given it's a busybox shell, I don't know the full build and compile flags, I'm on LVM not just a vanilla partition, GPT under UEFI... 2023-06-16 04:03:42 Looking to hear if other folks have had success, or if I should rather make bootable media and just not even bother with it 2023-06-16 04:05:28 i does not matter single/whatever mode. as long as your whatever drive is mounted `rw` you can't do e2fsck 2023-06-16 04:08:12 man e2fsck | awk '/mounted/{print}' 2023-06-16 07:42:45 hello, regarding our chat about LVM device nodes yesterday, I opened an issue https://gitlab.alpinelinux.org/alpine/aports/-/issues/15029 2023-06-16 09:02:33 having flaky input device behaviour. sometimes the mouse will no longer send xevents by moving, but the buttons still register. hibernating then resuming makes it work again, which suggests it's a software issue. I have a udev service running, do I need anything else? 2023-06-16 10:17:51 hi. short quest regarding intels software guard protection, kernel message, eudev (rule). can i ignore this dmesg output: https://0x0.st/HTKx.txt 2023-06-16 12:57:08 Saijin_Naib: you don't e2fsck a LVM volume, you e2fsck a ext2/3/4 filesystem. Now if that ext2/3/4 filesystem is inside a LVM LV then you would need to have the LV available before you try and fsck the filesystem inside it 2023-06-16 12:58:27 so from single user mode ("rescue mode") is the LV already available? i.e. does /dev/mapper/ exist? 2023-06-16 15:28:43 @minimal: Yeah I can see /dev/vg0/lv_root 2023-06-16 16:06:27 l3t me in 2023-06-16 16:27:16 Saijin_Naib: so then, assuming it's a ext2/3/4 fs, then you should be able to fsck that. Is there any particular reason you want to do so though? Normally it would be done, if necessary, during boot 2023-06-16 16:36:12 raspbeguy: I still think it is a mdev-related issue as /dev/dm-X and /dev/mapper/X entries are for *device mapper*, they're used by both LVM and LUKS encryption and so disabling "lvm" from the mkinitfs.conf only prevents nlplug-findfs running "vgchange" but the device mapper entries are still created by mdev (run by nlplug-findfs) 2023-06-16 16:37:33 At boot the device nodes are not created 2023-06-16 16:37:57 I have to call LVM with lvs for instance to create them 2023-06-16 16:38:39 I do not activate volumes at boot 2023-06-16 16:41:21 yeah was checking mkinitfs source, the dm-mod.ko isn't added to the initramfs unless either "lvm" or "cryptsetup" is added to features, I thought it was being added always 2023-06-16 17:40:19 "Saijin_Naib: so then, assuming..." <- Laptop lost power during usage and was acting weird, error looked like commonly FS corruption, which matches my experience with ext4 on laptops, so I wanted to try and fsck it from recovery without having to make media on another machine. 2023-06-16 17:40:45 Clean installed it again 2023-06-16 17:40:54 Easier than messing around with it  2023-06-16 17:41:09 Does Alpine/APK have anything like debsums?  2023-06-16 17:41:32 Or dism/sfc, if you're familiar with that world  2023-06-16 17:43:20 apk audit ? 2023-06-16 17:44:28 Hmm 🤔  2023-06-16 17:45:02 I'll need to investigate if that does it and gives me actionable results to repair packages that are no longer as-shipped 2023-06-16 17:47:30 apk audit --system 2023-06-16 17:53:38 Saijin_Naib: why fsck it from recovery? didn't the next boot after the powerloss fsck it automatically and it was uncleanly unmounted? 2023-06-16 17:54:11 s/and /as / 2023-06-16 17:55:17 No, it didn't seem to have automatically checked, and my tune2fs settings were also being ignored  2023-06-16 17:56:03 Saijin: the "dmesg" output should have shown it detected it needed fsck 2023-06-16 17:56:33 "apk audit --system" <- Oh, thank you for that! Lemme investigate that 2023-06-16 17:56:39 this is a "Sys mode" install, right? 2023-06-16 17:57:01 Yeah, sys mode. Nothing too exotic except for being LVM, I guess 2023-06-16 17:57:26 Second time it got trashed this way during a power loss 2023-06-16 17:57:31 I don't see why it would not have been automatically fsck'ed if needed 2023-06-16 17:58:19 🤷 It wasn't. Booting to MX LiveUSB showed errors when scanned 2023-06-16 17:58:56 This happened last time, too. I think maybe because the power loss is so unexpected? My battery is worn and mis-reports remaining life and can just die under load 2023-06-16 17:59:36 Saijin_Naib: you *do* have the fsck init.d service enabled, right? 2023-06-16 18:00:00 Does it come automatically with setup-desktop and setup-Alpine?  2023-06-16 18:00:47 ah, it's "need"ed by the root init.d service - does "rc-status -a" show it as started? 2023-06-16 18:03:53 Saijin_Naib: ^^^ 2023-06-16 18:04:05 On this install, yeah, under dynamic run level wanted/needed 2023-06-16 18:04:12 Sorry, had to go get the computer  2023-06-16 18:04:47 Which involves making sure a baby can't get to trouble in the five seconds they're out of view 🤣 2023-06-16 18:05:12 Challenge level impossible  2023-06-16 18:05:52 and does the /etc/fstab have an entry for the rootfs with its 6th field being "1" ? 2023-06-16 18:13:15 Yep!  2023-06-16 18:13:35 Strange, haha 2023-06-16 18:14:25 so everything points to fsck being automatically run during boot if needed 2023-06-16 18:16:05 Yeah, but it appears that it did not run, or if it did, not aggressive enough, since MX LiveUSB showed the volume as having errors, and shadow failing to modify my groups due to being unable to access the file  2023-06-16 18:16:10 set rc_logger to "YES" in /etc/rc.conf and then you'll have a /var/log/rc.log file to show you the init scripts run on every boot - you should then see it logging "Checking local filesystems" 2023-06-16 18:16:40 Saijin_Naib: the *volume* as having errors? or the ext2/3/4 *filesystem* as having errors? 2023-06-16 18:16:42 Would tune2fs interfere with that autofsck?  2023-06-16 18:17:06 FS, I believe. Found and fixed corruption, and said the superblock didn't match  2023-06-16 18:18:13 depends on what you may have set/changed with tune2fs 2023-06-16 18:18:23 also which version of Alpine are you using? 2023-06-16 18:21:45 Nominally 3.18.2 x86_64, but edge, really  2023-06-16 18:22:14 was this installed *originally* using 3.18.x? or an earlier version? 2023-06-16 18:22:23 tune2fs is just set to -i 1w -c 10  2023-06-16 18:23:25 Current install is from 3.18.x media, prior would have been late 3.17 2023-06-16 18:24:10 are you saying it was *installed* using 3.18.0, or upgraded from a install of 3.17.x? 2023-06-16 18:24:38 I'm asking what version of Alpine was *originally* used to install the currently running system (regardless of any upgrades) 2023-06-16 18:26:02 Current is from 3.18.2 media  2023-06-16 18:26:11 that likely explains things then 2023-06-16 18:26:36 ?  2023-06-16 18:26:55 Improved defaults on current installer?  2023-06-16 18:27:09 Alpine 3.18.x & Edge ship with e2fsprogs 1.47.x, which contains the mke2fs tool 2023-06-16 18:27:59 the 1.47.x mke2fs formats the fs with options that older version of e2fsprogs tools (such as fsck!) DO NO UNDERSTAND 2023-06-16 18:28:29 so it is likely that the version of fsck in MX LiveUSB is a version prior to 1.47.x 2023-06-16 18:28:42 that's the feature orphane_file 2023-06-16 18:29:12 orphan_file 2023-06-16 18:29:15 and the fsck errors that gives are due to it not understanding some of the options on the 1.47.x-created rootfs 2023-06-16 18:29:46 whereas the Alpine install itself has a (1.47.x) version of fsck that does understand those options and so doesn't report any problems 2023-06-16 18:29:50 if this option enabled, then fsck.ext4 1.46.x can't do fsck on it 2023-06-16 18:30:44 Saijin_Naib: tune2fs -l /dev/sdaX | grep 'Filesystem features' 2023-06-16 18:30:48 I raised this issue prior to the Alpine 3.18.0 release but nothing seems to have made it into the 3.18.0 Release Notes regarding this (I'm sure I added a note to the draft Release Notes in the wiki) 2023-06-16 18:33:06 Ahh, okay. Fun fun. I'll need to dig and see what MX LiveUSB ships, but it did successfully fsck, which it should not touch if it can't understand a FS feature, right? Just like a kernel won't mount such, right?  2023-06-16 18:34:07 AFAIK yes 2023-06-16 18:34:41 I love the problems I make for myself by just existing 🤣 2023-06-16 18:35:10 That's it, I'm going back to JFS2 😠 2023-06-16 18:35:16 JK 2023-06-16 18:35:34 Saijin_Naib: the note I added to the draft Release Notes: https://wiki.alpinelinux.org/wiki/Release_Notes_for_Alpine_3.18.0#e2fsprogs_1.47.0 2023-06-16 18:35:51 read the last sentence of it... 2023-06-16 18:36:26 Yep 😬 2023-06-16 18:37:11 Saijin_Naib: i do btrfs 2023-06-16 18:37:41 I need to learn more about it, especially in regards to using it via setup-alpine 2023-06-16 18:37:57 i hate this ext4 change. ext4 should be stable. 2023-06-16 18:38:34 1.46.x can't fsck a partition formatted by 1.47.x that's just insane 2023-06-16 18:38:36 Aren't these FS features important for longterm FS stability and performance?  2023-06-16 18:38:44 the same issue affects Grub in general (but not Alpine's Grub in 3.18.x/Edge) so anyone doing multi-distro-boot using Grub from another distro might have problems booting Alpine 3.18.x/Edge also 2023-06-16 18:39:16 Saijin_Naib: btrfs is the same as ext4 , just mkfs.btrfs and mount it.., 2023-06-16 18:39:20 don't understand your question 2023-06-16 18:39:40 the advanced features are not a must 2023-06-16 18:39:55 how can a new feature be important for longterm FS stability? 2023-06-16 18:40:16 that fact that is new affects stability lol 2023-06-16 18:42:11 the rule would be : don't use a foreign distro to install/bootstrap another distro 2023-06-16 19:54:13 how do I purge conf files from an old package? 2023-06-16 20:04:15 and by old, I mean, uninstalled a while ago. 2023-06-16 20:56:23 if i disable wifi/bt/fingerprint in thinkpad bios, it wont boot, seemingly not finding boot medium :S 2023-06-16 21:01:28 also the 2.5 slot in my thinkpad seem to have a dummy placeholder and no possibility for connecting a hd there (it has m.2 sdd slot another place tho) 2023-06-16 21:02:44 you can force it with a hammer and chisel 2023-06-16 21:03:30 frag, but you can re-enable it? 2023-06-16 21:03:34 frag, luckier than most! 2023-06-16 21:03:51 frag, reference: https://nadim.computer/posts/2018-10-26-thinkpad.html 2023-06-16 21:05:25 Habbie: yes i could, is it that easy to brick it?? :o 2023-06-16 21:05:42 all i know is it happened to one friend 2023-06-16 21:05:51 and he fixed it too, with a lot of effort 2023-06-16 21:07:45 ACTION wonders if the laptop in question will UEFI stub boot. 2023-06-16 21:21:35 rpi boot seems cleaner in comparison imo 2023-06-16 21:21:41 *bios 2023-06-16 21:25:57 boot was the better word, i think 2023-06-16 21:26:12 hmm when i disable the "wifi wan" in bios is when it doesnt boot ... 2023-06-16 21:26:26 not a lot of legacy, no thunderbolt, many things are simpler for the pi 2023-06-16 21:26:37 (i'm not trying to excuse lenovo one bit, to be clear) 2023-06-16 21:31:58 simpler is nice :] 2023-06-16 21:32:25 yes 2023-06-16 22:34:56 rasbeguy: looking at a strace of "lvcreate" I can see that lvcreate does a "mknod /dev/mapper/vg0-" followed by a "chown root:root /dev/mapper/vg0-" when a LV is created 2023-06-16 22:35:52 raspbeguy: ^^^ 2023-06-16 22:36:22 which explains how /dev/mapper/ entries are not symlinks 2023-06-16 22:36:57 But why isn't that the case on other distros ? 2023-06-16 22:37:35 something may be "fixing" them afterwards (udev?) or else the way lvm tools are built is having an impact perhaps 2023-06-16 22:37:57 haven't yet rebooted this VM to see how the devices are created/recreated upon boot 2023-06-16 22:45:34 raspbeguy: a comment in part of LVM code just before a "mknod" call says "# The node may already have been created by udev. So ignore EEXIST." 2023-06-16 22:52:42 raspbeguy: BTW this is on a VM *without* the device-mapper-udev package installed as I wanted to see the default lvm behaviour 2023-06-16 23:55:13 raspbeguy: interestingly when booting after installing device-mapper-udev package udevd is erroring in "dmesg" output regarding it running "vgchange" (I have NOT enabled the /etc/init.d/lvm service yet) as the dm-mod module is not yet loaded, adding this module to /etc/modules doesn't help as it is loaded *after* udev tries to do the vgchange 2023-06-17 00:13:38 Which of the firewalls are officially recommended by Alpine: nftables or iptables? 2023-06-17 00:17:31 former 2023-06-17 00:18:09 iptables is obsolete; nftables is its successor 2023-06-17 00:23:13 minimal: ah, that's due to a packaging problem with lvm2 - the source file udev/69-dm-lvm.rules.in has a rule using the "SYSTEMDRUN" variable and when lvm2 APKBUILD runs "configure" with "--without-systemd-run" then this templated variable is replaced with "no" and so that rule runs the command "no --no-block --property DefaultDependencies=no --unit lvm-activate....." which obviously fails 2023-06-17 00:23:24 raspbeguy: ^^^ 2023-06-17 00:23:37 so that last rule needs to be rewritten for Alpine/OpenRC 2023-06-17 00:26:43 minimal: how's https://img.ayaya.dev/lRsqsYcVYvni 2023-06-17 00:27:56 Okay, so we're currently lacking CONFIG_NF_TABLES_BRIDGE 2023-06-17 00:28:41 it's just not set on ppc64le it seems 2023-06-17 00:28:47 Oh 2023-06-17 00:28:50 ah 2023-06-17 00:28:51 it is 2023-06-17 00:28:58 huh? 2023-06-17 00:29:17 # CONFIG_NF_TABLES_BRIDGE is not set 2023-06-17 00:29:38 missing in 3.18 2023-06-17 00:30:15 I even have a ticket: https://gitlab.alpinelinux.org/alpine/aports/-/issues/15033 2023-06-17 00:30:17 Just in case 2023-06-17 00:30:55 no, even edge too, can't read 2023-06-17 00:30:56 yeah sure 2023-06-17 00:30:59 anything else missing for now 2023-06-17 00:32:35 Not sure, currently only stumbling upon this, everything else seem to work 2023-06-17 00:32:39 psykose: I guess that would do it - it's later here and I'm off to get some sleep, I'll test that change tomorrow 2023-06-17 00:32:57 i'll just commit it since otherwise well, obviously just runs `no` and fails 2023-06-17 00:33:02 but it might need more tweaking 2023-06-17 00:33:13 it's kinda weird they have a "--without-systemd-run" configure option that doesn't seem to handle things correctly 2023-06-17 00:34:04 haven't yet checked upstream (or other non-systemd distros) to see if there are any issues for this 2023-06-17 00:34:32 it's mostly correct 2023-06-17 00:34:42 in autotools --without-x is identical to --with-x=no 2023-06-17 00:34:45 and sets it to that 2023-06-17 00:34:56 then they just substitute it in that script instead of actually doing something else 2023-06-17 00:35:08 but inside autoconf that's how you use it (x$x =xno or whatever) 2023-06-17 00:35:09 well I mean it should replace SYSTEMDRUN *plus* the systemd-run options all with something valid lol 2023-06-17 00:35:16 ye 2023-06-17 00:35:25 it's obviously wrong, just not unexpected 2023-06-17 00:35:37 anyway I'll spend more time tomorrow testing further 2023-06-17 00:35:48 ugh 2023-06-17 00:35:49 https://gitweb.gentoo.org/repo/gentoo.git/tree/sys-fs/lvm2/files/lvm2-2.03.20-dm_lvm_rules_no_systemd.patch 2023-06-17 00:35:51 gentoo has the same fix 2023-06-17 00:35:52 xD 2023-06-17 00:35:55 so yeah it works fine 2023-06-17 00:35:59 ah cool 2023-06-17 00:36:07 anyway time for sleep 2023-06-17 00:36:10 sleep well dear 2023-06-17 00:36:26 I'm cheap at half the price lol 2023-06-17 01:49:26 I haven't used Alpine in a while, do I need elogind and polkit-elogind to allow an unprivileged user to reboot? 2023-06-17 01:49:57 or a sudo/doas rule that lets anyone run any command 2023-06-17 02:38:42 psykose: ok, I've gotten used to only needing the polkit itself 2023-06-17 05:27:25 "I haven't used Alpine in a while..." <- Not sure what rule to edit lol 2023-06-17 05:53:49 Probably forgot seatd 2023-06-17 06:55:30 idkrn[m], could be something like: permit nopass $username as root cmd poweroff 2023-06-17 07:11:48 minimal, psykose: wow that's great ! Thank you 2023-06-17 07:11:53 does it work 2023-06-17 07:26:51 always specify as /sbin/poweroff, otherwise the user can copy a shell to 'poweroff' and include it in the path 2023-06-17 07:29:27 not without keepenv 2023-06-17 07:30:32 default paths are the system ones 2023-06-17 07:36:32 no, does.conf must use full path 2023-06-17 07:36:45 or it won't run without password 2023-06-17 07:38:04 mercenary, uniqNuuid, you can check for yourself before stating those :) 2023-06-17 07:38:54 oh, i mean if you set '...nopass .... /sbin/poweroff' , then when you run `doas poweroff` it won't work 2023-06-17 07:39:20 and if you nopass poweroff then `doas poweroff` will work 2023-06-17 07:39:21 magic 2023-06-17 07:39:31 you have to run doas /sbin/poweroff 2023-06-17 07:39:33 Ah, then sure, hence the "poweroff" instead of "/sbin/poweroff" 2023-06-17 07:41:31 well, i played with doas before. but now i don't use doas or sudo 2023-06-17 07:41:49 i just su 2023-06-17 07:42:43 this is due to i need to maintain only one piece of dotfiles for root and myself 2023-06-17 07:43:49 do you guys set `permitrootlogin no` on sshd? 2023-06-17 07:44:11 i found that there is a security risk if set that to non-no 2023-06-17 07:44:27 You should request a CVE then 2023-06-17 07:45:39 in the case of root and normal user uses the same ssh pub, same ssh private keys, this is common right? then when any script/program the user runs can do "ssh root@localhost command" 2023-06-17 07:46:36 you guys get my idea? 2023-06-17 07:46:42 quinq: i'm afraid self-inflicted damage doesn't count when it comes to CVEs 2023-06-17 07:46:52 news at 11: if you open the door on your computer people can access it 2023-06-17 07:47:06 especially when `curl | sh` 2023-06-17 07:47:33 security reports go to openssh@openssh.com 2023-06-17 07:47:37 feel free to send email 2023-06-17 07:48:06 uniqNuuid, no that's not common use, an ssh key is private to a user 2023-06-17 07:48:33 But yes, if you allow access to root to an ssh key, then the user owning that key can connect to root 2023-06-17 07:48:43 That's not a security issue, that's your decision 2023-06-17 07:50:13 Note that there might be an easier way to work around that than setting 'permitrootlogin no', that would be to not add the key in the first place 2023-06-17 07:51:20 not put the private key in user's ~/.ssh, right. 2023-06-17 07:52:18 or use a different ssh pub for root 2023-06-17 07:52:35 No, that's about the public key in .ssh/authorized_keys 2023-06-17 07:53:54 not adding the ssh pub for root? then one must enable passwordlogin 2023-06-17 07:54:15 to be able to ssh root@ip 2023-06-17 07:56:07 using a seperate ssh key pair for root plus not putting that root ssh private keys on user's disk 2023-06-17 07:59:46 i decide to open the door psykose for convinience 2023-06-17 08:00:05 >do thing convenience 2023-06-17 08:00:13 >me own convenience is a security vuln 2023-06-17 08:00:30 abby: how could you do this 2023-06-17 08:00:52 why do i need sudo or doas if i can ctrl+b c and ssh root@localhost to get a shell 2023-06-17 08:29:05 now i understand why some people use a dedicated hardware for ssh and ssh only. 2023-06-17 08:29:31 uuidNuniq, well that's for you to answer that question, you are complaining about the issue :) 2023-06-17 08:32:09 first, they ssh into that ssh machine, but with ssh passphrase enabled. and that machine has accesss to any of other machine with no passphrase. that's should be secure. 2023-06-17 08:33:59 or use ssh jump to combine that into onestep? 2023-06-17 08:35:14 afaik you can't control if a key was protected by a password or not, and jumping doesn't solve your issue that giving access to root is giving access to root 2023-06-17 08:35:45 that halfway defeats the point of having a jump-box. Generally the jumpbox is locked down tight, and user cannot install anything on it 2023-06-17 08:52:31 good morning. This morning I continued the never ending journey with Alpine on T2, the MacBook Pro 2019 16" model I own. I remember that I had trouble installing Alpine on a partition, but now I decided to install Alpine on a 2TB external SSD, because my next goal is to compile a kernel that supports more than just the MacBook and I want to move the OS with me via plug and play. 2023-06-17 08:52:34 Like an Alpine for my pocket. 2023-06-17 08:54:13 mbx: well, then you may need to enable all the hooks 2023-06-17 08:54:23 I installed Alpine on such drive with "crypt", "lvm" and "sys", but when I attempt to boot it, I get some Hardware Errors (which is obvious), but I'm stuck at "Loading hardware drivers ...". Confused, because the x86_64 standard image booted without problems. 2023-06-17 08:54:24 for initramfs 2023-06-17 08:54:58 uuidNuniq: I installed Alpine via setup-alpine, is this still necessary? 2023-06-17 08:55:28 if you want a universal pocket alpine... then yes. 2023-06-17 08:55:59 setup-alpine detects and just enable the right amount of hooks to the machine 2023-06-17 08:57:19 I don't have to do that prior installation, right? I plan to compile the kernel anyways, to get hardware support for Mac, so then I can enable all hooks during compilation, right? 2023-06-17 08:57:19 for hooks i mean all the /etc/mkinitfs/features.d set in /etc/mkinitfs/mkinitfs.conf 2023-06-17 08:57:31 ah, I thought kernel-hooks 2023-06-17 08:58:31 uuidNuniq: is there a sample that enables everything? 2023-06-17 08:58:33 oh, build kernel, then that's another thing, you can make the option you want bulitin... then you don't really need most of the features in features.d 2023-06-17 08:59:08 mbx: ls -1 /etc/mkinitfs/features.d 2023-06-17 08:59:15 I feel I should try your route first, though, because as of now, Alpine isn't booting at all 2023-06-17 08:59:57 mbx: turn on openrc debug and read the saved log 2023-06-17 08:59:59 Ok, it's time to setup Alpine Linux in Parallels, so I can explore it without reboot and mounting ^^ 2023-06-17 09:00:59 uuidNuniq: Thanks for the hint, I will do that, not sure how far I come today, but very helpful so far, thanks. :) 2023-06-17 09:01:18 mbx: boot with ISO, mouunt the drive and edit /etc/rc.conf turn on openrc log, boot with hard drive wait until you stuck . and reboot with ISO and view the log in /var/log/openrc.log 2023-06-17 09:02:05 **view the log in /var/log/openrc.log on the hard drive** 2023-06-17 09:03:31 as you said it stucks at Loading hardware drivers, that's a message output by openrc. 2023-06-17 09:05:12 also you may want to view /var/log/dmesg.log on the hard drive. mbx 2023-06-17 09:05:49 note that these 2 log files are reset everytime you boot with the hard drive. 2023-06-17 09:06:14 they are not incremental 2023-06-17 09:07:32 uuidNuniq: Thank you so much, will do that now and see what I get, need to wrap up some info about mounting LVM LUKS2 drives before I reboot, tho 2023-06-17 09:14:38 If I create a succesful install inside a kvm, is there a documented way to transfer that into a real install? 2023-06-17 09:15:25 maakari[m]: rsync 2023-06-17 09:16:39 maakari[m]: rsync -ahHAX -S --numeric-ids --info=progress2 --partial --delete --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/lost+found/*"} / "$mountdir" 2023-06-17 09:16:45 uuidNuniq: One more question in regards of /etc/mkinitfs/features.d, once my system boots, I can simply edit it and run `mkinitfs -c /etc/mkinitfs/mkinitfs.conf -b /`, right? 2023-06-17 09:17:06 maakari[m]: and you need to edit grub.cfg and fstab at least after rsync 2023-06-17 09:17:29 change the uuids to the ones for your disk. 2023-06-17 09:18:34 mbx: yes, if you meant to regenerate the initramfs 2023-06-17 09:18:58 uuidNuniq: thanks. So does that mean I need to create the esp by myself? 2023-06-17 09:19:33 maakari[m]: yes, you need to create fs, format the partition on the target drive. 2023-06-17 09:20:21 you can create same or different partition table and fs, as long as you edit the fstab and grub.cfg after rsync 2023-06-17 09:20:23 exactly, great 2023-06-17 09:21:05 and if you create a different fs, you may need to regenerate the initranfs maakari[m] 2023-06-17 09:23:06 uniqNuuid: So, I mount the intended storage for real hardware into kvm, create esp and fs, and then rsync + gen-fstab + update-grub? 2023-06-17 09:23:07 maakari[m]: safer steps : 1) partition, format, mount 2) rsync 3) chroot into the drive, and edit fstab, grub-mkconfig, mkinitfs 2023-06-17 09:23:36 uuidNuniq: Thanks a lot! 2023-06-17 09:26:28 rsync is able to clone any linux to any vm/vps/real hardware with any partition layout any filesystem as long as you take care of the fstab, grub, initramfs afterwards maakari[m] 2023-06-17 09:31:10 mbx: how did you install alpine on the hard drive? the LOADING HARDWARE is a fake message. last time i encounter this same issue was because i did not install e2fsprogs and fsck.ext4 can't proceed... 2023-06-17 09:34:17 maakari[m]: if you learn some basic linux boot process, you'll know. 2023-06-17 09:37:29 uuidNuniq: I just completed setup-alpine and I would expect it to install e2fsprogs for me 2023-06-17 09:39:09 BIOS looks for files installed by grub-install in the drive , UEFI looks for ESP/EFI/bootx64.efi, then grub is run, then grub looks for grub.cfg to load vmlinuz, vmlinuz looks for initramfs which is specified by cmdline "root=", initramfs loads drivers and mounts partition based on info provided by /etc/fstab, and kernel switch to new rootfs mounted by initramfs ... 2023-06-17 09:39:23 maakari[m]: ^^ 2023-06-17 09:40:39 mbx: ok, it should. anyway, take a look at log and then we'll probably find some hints 2023-06-17 11:12:27 psykose: I'll test it as soon as I open my laptop 2023-06-17 11:26:20 uuidNuniq: initramfs is specified by grub.cfg, not root= 2023-06-17 11:27:51 psykose: that works 2023-06-17 11:30:16 Many thanks 2023-06-17 11:36:43 when i use my router to access internet, some domains cant be loaded, is it the DNS? i set it up to get both op/dns "automatically from ISP" 2023-06-17 11:37:30 how are we supposed to know if you don't provide any details or command output? 2023-06-17 11:37:52 for all we know, your issues could be because a cow farted 3 towns over 2023-06-17 11:38:31 doubt its the cows 2023-06-17 11:39:38 getting "ERR_NAME_NOT_RESOLVED" in my browser 2023-06-17 11:40:08 what does dig say 2023-06-17 11:40:22 does it resolve if you ask one of the popular public resolvers 2023-06-17 11:40:33 these are some pretty basic troubleshooting steps 2023-06-17 12:38:06 dwfreed: right. i realized the misinfomation after the write up 2023-06-17 12:39:45 uuidNuniq: well, that wasn't successful ... let me elaborate: I reinstalled alpine onto my external SSD ("crypt", "lvm", "sys"), then luksOpen'ed, lvchange'd to activate and mounted. updated its mkinitfs.conf to enable all features, but mkinitfs will fail, because it can't find /mnt/lib/modules/6.1.34-0-lts. this bug is pretty old in Alpine, I think I mentioned this a while ago. 2023-06-17 12:39:47 I had to `ln -s 6.1.34-2-lts 6.1.34-0-lts` in /mnt/lib/modules to bypass this. Why can the installer run mkinitfs, but I can't? Version should match imo. I then made sure /etc/sysctl.d/local.conf contains `*.* -/var/log/syslog` and /etc/rc.conf has `rc_logger="YES"`, unmounted, deactivated the vg, luksClose'd the SSD, tried to boot into the OS (without success). After 2023-06-17 12:39:49 mounting the drive again I can see that /var/log/ only contains a chrony log. It doesn't log and I don't know why ... 2023-06-17 12:41:19 mbx: mkinitfs --help 2023-06-17 12:41:24 that line you gave for /etc/sysctl.d/local.conf does not go in that file 2023-06-17 12:41:26 you can specify a kernel version 2023-06-17 12:41:48 might go in an syslog.conf or similar, depending on what syslogd you installed 2023-06-17 12:42:14 Ok, but why mkinitfs doesn't pick the right kernel version for me? The installer has no problems with it, but it's kinda a low priority problem 2023-06-17 12:42:36 dwfreed: I've read /etc/sysctl.d/README which says that it should load 2023-06-17 12:42:38 it probably picks the running kernel version by default? 2023-06-17 12:42:39 mbx: because you are in chroot 2023-06-17 12:42:55 mbx: that is not a sysctl configuration 2023-06-17 12:43:01 that is a *syslog* configuration 2023-06-17 12:43:07 dwfreed: oh yes, that could be the case, indeed 2023-06-17 12:43:09 there's a *huge* difference 2023-06-17 12:43:30 but also if the initramfs fails to decrypt and mount your root filesystem, it's obviously not going to be able to log anything to said filesystem 2023-06-17 12:43:42 yes from memory it does a "uname" to get the *running* kernel version unless you specify the kernel version as part of the mkinitfs command line 2023-06-17 12:43:49 dwfreed: I mean /mnt/etc/sysctl.d/local.conf, sorry for the confusion, I edited the files on the drive that I will mount at boot 2023-06-17 12:44:13 and I wasn't in chroot, it's not mandatory for mkinitfs 2023-06-17 12:44:39 mbx: it's still not the write place for a *syslog* configuration 2023-06-17 12:44:54 s/write/right/ 2023-06-17 12:45:03 mbx: as dwfreed has pointed out several times already, `*.* -/var/log/syslog` appears to be an entry that should go in the *syslog* config, no in sysctl config 2023-06-17 12:45:06 mbx: you are better run mkinitfs in chroot, or you have to pass all the correct args to it. 2023-06-17 12:45:49 got it, i will read carefully next time, I think I picked something wrong from the net, I think the entry is invalid then 2023-06-17 12:46:35 maakari[m]: why are you installing inside a VM and then wanting to transfer to a physical machine? why not install directly on the physical machine? 2023-06-17 12:46:47 uuidNuniq: I did call `mkinitfs -c /mnt/etc/mkinitfs/mkinifs.conf -b /mnt` and it worked without chroot 2023-06-17 12:47:09 mbx: i suggest you boot with ISO and mount hard drive and chroot into it (you need to mount sys dev proc run tmp), and then do everything else. 2023-06-17 12:48:01 mbx: then pass a kernel version too: $(ls /mnt/lib/modules) 2023-06-17 12:48:12 -k or whatever arg, just read --help 2023-06-17 12:48:16 i am not on alpine right now. 2023-06-17 12:49:15 also pass an output option maybe? --output /mnt/boot/initramfs... ? again read --help 2023-06-17 12:49:24 uuidNuniq: could you please tell why chroot is mandatory? Alpine docs say it's enough to pass -c and -b, but yes, I will remember to pass the kernel version next time, so thanks for that :) 2023-06-17 12:50:06 Alpine docs don't mention an output either, I think that's what -b is for 2023-06-17 12:50:15 it defines the root directory 2023-06-17 12:51:20 s/root/base/ 2023-06-17 12:51:24 i always chroot for that kind of thing... easier, less problem. maybe mkinitfs is special? 2023-06-17 12:52:39 It is special in that regard. But I agree that chroot is recommend, i.e. u need to chroot for grub setup anyways, but if you are only doing mkinitfs, it's faster to skip chroot 2023-06-17 12:54:07 you set rc_logger="YES" and you don't find the rc.log afterwards? 2023-06-17 12:54:23 correct 2023-06-17 12:55:04 also no syslog or dmesg, maybe you have this on top of your head how to enable these logs? 2023-06-17 12:55:54 dmesg log is enabled by /etc/init.d/dmesg? 2023-06-17 12:56:07 maybe you could try this: rc_interactive="YES" 2023-06-17 12:56:43 I also enabled verbose outputs, openrc runs `/lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/hwdrivers start` before it gets stuck 2023-06-17 12:56:45 raspbeguy, psykose: testing further after fixing that udev rule - found some more "issues" - as device-mapper package wasn't installed then udev came errors trying to run dmsetup, I installed device-mapper package and then see in dmesg "udevd[966]: conflicting device node '/dev/mapper/vg0-waffle' found, link to '/dev/dm-0' will not be created" 2023-06-17 12:56:52 also rc_verbose=yes 2023-06-17 12:57:24 right after hardware for mdev ... 2023-06-17 12:57:37 mbx: setup-devd mdevd 2023-06-17 12:57:47 don't use mdev. it is buggy 2023-06-17 12:58:00 that was picked for me >.> 2023-06-17 12:58:11 try mdevd 2023-06-17 12:58:32 raspbeguy, psykose: as device-mapper-udev has rules that run dmsetup I'd expect device-mapper-udev package to have a dep on device-mapper package but instead it has a install_if="device-mapper eudev" which to be doesn't seem right 2023-06-17 12:58:37 do I have to disable mdev or will setup-devd solve it for me? 2023-06-17 12:59:06 just run that, it does everything for you 2023-06-17 12:59:21 thanks, will try that :) 2023-06-17 12:59:26 run in chroot 2023-06-17 12:59:45 alright 2023-06-17 13:04:09 mbx: dmesg.log is created by this service https://github.com/OpenRC/openrc/blob/1eccb7f5e6d69cae0fe13b8de1c302fa8d39d472/init.d/bootmisc.in#L223 2023-06-17 13:05:05 mbx: in chroot you may want to run rc-update to check what services are enabled. 2023-06-17 13:41:03 how do i see what this `apk upgrade` error is? "1 error; 1500 MiB in 753 packages" 2023-06-17 13:41:32 lopid: apk fix 2023-06-17 13:41:44 ah, thanks 2023-06-17 13:42:55 ERROR: perl-doc-5.36.1-r2: trying to overwrite usr/share/man/man3/Time::HiRes.3pm.gz owned by perl-time-hires-doc-1.9764-r5. 2023-06-17 13:45:25 lopid: apk del perl-time-hires-doc ; apk fix 2023-06-17 13:45:59 well yes, i could remove the package 2023-06-17 13:47:16 It should probably be removed from perl-doc 2023-06-17 13:53:09 i would agree with that probablation 2023-06-17 15:05:21 is 326 mb of used ram a bit much or totally normal in tty on real hardware? 2023-06-17 15:08:25 depends 2023-06-17 15:08:40 used ram is so much more than actual being used by applications 2023-06-17 15:08:47 plenty are various caches that can be dropped when needed 2023-06-17 15:10:23 326 millibits is nothing 2023-06-17 15:12:07 haha 2023-06-17 15:13:12 a good question is whether something needs cache 2023-06-17 15:27:33 everything needs cache 2023-06-17 15:27:36 filecache to say the least 2023-06-17 16:50:52 raspbeguy: so what change(s) happened for you after the udev rules was fixed? 2023-06-17 16:52:25 minimal: /dev/mapper/* became symlinks to /dev/dm-* 2023-06-17 16:53:03 strange, you saw my earlier note about seeing a udev error? 2023-06-17 16:53:18 "udevd[966]: conflicting device node '/dev/mapper/vg0-waffle' found, link to '/dev/dm-0' will not be created" 2023-06-17 16:53:34 In dmesg ? 2023-06-17 16:53:39 yupe 2023-06-17 16:53:59 I'll check later when I open my laptop 2023-06-17 16:54:01 that's output by udevd code that won't create a symlink if the file already exists 2023-06-17 16:54:28 now I'm *not* using the lvm init.d service for these tests, don't know if that will make any difference 2023-06-17 16:54:50 I'm not using it either 2023-06-17 16:55:28 so the udev rule calls "vgchange" which I believe creates /dev/mapper/vg0-X as a file 2023-06-17 16:56:03 if it works for you then sounds like a race condition 2023-06-17 16:57:02 I do note that the lvm2 build.log shows "checking whether to enable synchonisation with udev processing... no" 2023-06-17 16:57:19 minimal: here is my dmesg https://termbin.com/6612z 2023-06-17 16:57:40 however enabling this in the build would likely be problematic and it might cause issues when using lvm with mdev/mdevd systems 2023-06-17 16:58:01 Here rae my enabled services https://termbin.com/a0yq 2023-06-17 16:59:18 ah, see the errors about dmsetup? I mentioned those earlier today - device-mapper package isn't installed (for dmsetup) but dm/lvm udev rules make use of it 2023-06-17 17:00:31 raspbeguy: where are the udev services? they don't show as enabled 2023-06-17 17:01:07 I enabled udev 2023-06-17 17:01:08 oops, sorry, I see only udev (at sysinit) 2023-06-17 17:01:44 what about the other ones? udev-postmount, udev-trigger, udev-settle? 2023-06-17 17:02:14 Didn't enabled them. See my second link 2023-06-17 17:02:21 why not? 2023-06-17 17:02:36 they are typically enabled 2023-06-17 17:02:51 Don't know, never heard of them 2023-06-17 17:03:50 Actually just enabling udev works for me 2023-06-17 17:03:54 never heard of them? I though you were comparing Alpine with Debian? (which will have those as systemd services) 2023-06-17 17:04:29 I'm not a udev expert as mentioned earlier :/ 2023-06-17 17:04:32 and you didn't run setup-devd udev, which will enable these? 2023-06-17 17:04:46 Hum no 2023-06-17 17:05:05 Didn't know it existed 2023-06-17 17:05:14 You want me to run it? 2023-06-17 17:05:17 so you have a partial udev system configured and have dmsetup missing which some of the lvm dm/lvm rules require 2023-06-17 17:05:26 which is why you see those errors in dmesg 2023-06-17 17:06:12 I'd recommend: "apk add device-mapper; setup-devd udev; reboot" 2023-06-17 17:08:41 minimal: here is my new dmesg https://termbin.com/1qid 2023-06-17 17:10:34 ok, so no more dmsetup errors as expected, however also no symlink error like the one I get 2023-06-17 17:10:51 and what about the contents of /dev/mapper ? files or symlinks? 2023-06-17 17:11:21 Symlinks 2023-06-17 17:11:57 very strange. so what is different between your config and mine I wonder 2023-06-17 17:13:25 Here is my apk world file https://termbin.com/gkez 2023-06-17 17:16:24 My only config modification is enabling use of lvmlockd in LVM config 2023-06-17 17:18:11 I have some addition stuff installed such as blkid & lsblk (rather than using the Busybox versions) 2023-06-17 17:18:53 though I don't think udev uses those (it used libblk from memory) whereas mdev does use those commands 2023-06-17 17:19:34 I'm currently testing on VirtualBox with Grub, let me build a Qemu Syslinux VM just to narrow the differences 2023-06-17 17:22:51 uuidNuniq: hey :) had a little break. So I tried to `setup-devd mdevd` while being in chroot of my drive. The package `mdevd` is installed, rc-update reports that bootmisc runs at boot, whereas mdevd and mdevd-init runs at sysinit. It was looking got for me, but `setup-devd mdevd` as well as trying to boot reports: start-stop-daemon: fopen `/run mdevd.pid': No such file or 2023-06-17 17:22:54 directory 2023-06-17 17:23:22 s/got/good/ 2023-06-17 17:23:32 minimal: If you wish I can share my libvirt domain definition xml 2023-06-17 17:25:20 I'm just using qemu-system on CLI rather than via libvirt 2023-06-17 17:32:34 Hey, im having trouble with a bluetooth mouse. it is showing as connected but im unable to move the cursor at all 2023-06-17 18:18:24 nvm solved by running modprobe uhid 2023-06-17 18:18:55 raspbeguy: I'm seeing that udevd symlink error on QEMU also 2023-06-17 18:19:13 Hum 2023-06-17 18:19:35 No clue where that comes from 2023-06-17 18:20:05 Is there a spamass-milter package or alternative for alpine? 2023-06-17 18:21:49 minimal: I'm using that to create my alpine images https://github.com/alpinelinux/alpine-make-vm-image 2023-06-17 18:31:28 raspbeguy: I use something similar (though more comprehensive) that I wrote: https://github.com/dermotbradley/create-alpine-disk-image 2023-06-17 18:33:24 I could send my exact image if you wish 2023-06-17 18:33:53 that might help 2023-06-17 18:34:55 apart from lvm2lockd I'm not sure what is different 2023-06-17 19:11:28 which package owns etc/securetty ? 2023-06-17 19:11:43 that thing is not needed at all imo 2023-06-17 19:16:35 oh it is owned by busybox. 2023-06-17 19:48:17 minimal: no, that seems correct, they'll just be there with device-mapper and udev 2023-06-17 19:55:37 I'd like to mount USB thumb drives and similar devices as non-root. My first though was to write a u-dev rule to grant users in the 'seat' group access to the device blocks themselves and mount them with fuse... but it looks like fuse+ext4 is readonly. 2023-06-17 19:55:54 Anyone else tackled this kind of issue? Anyone tried this particular approach? 2023-06-17 19:59:20 i don't know much, but i'm pretty sure you don't need fuse here 2023-06-17 20:14:27 uuidNuniq: why do you think it's unnecessary? 2023-06-17 20:25:18 ikke: yeah, when i start alpine with systemd-nspawn it won't login. because pts/0 is not in the list 2023-06-17 20:25:33 also alpine's inittab does not have "console" ? 2023-06-17 20:25:45 /dev/console 2023-06-17 20:27:31 anyways. i need to edit /etc/inittab remove tty* add console, rm /etc/securetty, that way i am able to boot alpine with systemd-nspawn --boot 2023-06-17 20:30:30 uuidNuniq: I was reading setup-devd.in as well as following some information by skarnet. seems I forgot to coldplug via -C flag which seems to be mandatory for mdevd setup? 2023-06-17 20:33:02 mbx: https://git.alpinelinux.org/aports/tree/main/mdevd/mdevd-init.initd 2023-06-17 20:34:06 enable that to the same runlevel as mdevd 2023-06-17 20:35:45 uuidNuniq: I had mdevd and mdevd-init in the sysinit runlevel, that's what setup-devd did for me ... 2023-06-17 20:36:09 then it is coldpluged 2023-06-17 20:36:15 still it wouldn't find the pid, so something goes wrong, but I can't get my head around 2023-06-17 20:36:34 fopen /run/mdevd.pid No such file or directory 2023-06-17 20:37:55 because /run is not ready? 2023-06-17 20:38:59 but can you check that file after booted 2023-06-17 20:39:03 idk, I got the error message right in setup-devd and when I try to boot 2023-06-17 20:39:22 file was missing 2023-06-17 20:40:16 mbx: in chroot? 2023-06-17 20:40:24 yes 2023-06-17 20:40:38 did you mount /run before chroot? 2023-06-17 20:40:39 I also bound /run to /mnt/run 2023-06-17 20:40:45 yes 2023-06-17 20:41:12 ohh. that's not an important messgae. ignore if you are in chroot 2023-06-17 20:41:23 see if you can see that file after a real boot 2023-06-17 20:41:31 I can't boot though 2023-06-17 20:41:53 It's still stuck reading hardware and I see the error on boot as well 2023-06-17 20:42:10 looks like it can't start mdevd 2023-06-17 20:43:00 looks like your /etc/init.d/devfs is not started 2023-06-17 20:44:02 rc-update reports devfs is at runlevel sysinit as well 2023-06-17 20:44:55 minimal, I'll send a private message containing a link to the image 2023-06-17 20:45:46 uuidNuniq: shouldn't https://git.alpinelinux.org/aports/tree/main/mdevd/mdevd-init.initd declare an `after devfs`? could it load in the wrong order? 2023-06-17 20:46:04 did you get it? (not sure it works since I'm using a gateway to IRC) 2023-06-17 20:46:22 maybe your initramfs can't decrypt the drive mbx 2023-06-17 20:46:54 those dirs /proc /sys /dev /run are created by initramfs 2023-06-17 20:50:46 uuidNuniq: as far as my understanding goes, luks decrypts it first. I asks me for the passphrase before boot, so it should be mounted. But I didn't see mdevd-init be launched before attempting to start mdevd, so I'm a bit skeptical in regards of the coldplug. 2023-06-17 20:51:40 would I have to re-run the coldplug from a recovery when bringing alpine to new hardware anyways? 2023-06-17 20:56:08 psykose: the point is what causes device-mapper package to be installed? 2023-06-17 20:56:21 you would already have it installed 2023-06-17 20:56:33 if you installdevice-mapper-udev it won't work right without device-mapper 2023-06-17 20:56:40 psykose: I do 2023-06-17 20:56:54 doh, I didn't see any deps to cause device-mapper to be installed though 2023-06-17 20:57:12 you do manually install it yet 2023-06-17 20:57:13 yes 2023-06-17 20:57:32 idk who is manually installing device-mapper-udev and then expecting it to install device-mapper instead of Simply doing it the other way around 2023-06-17 20:57:34 which works just fine 2023-06-17 20:57:34 but if you manually install device-mapper-udev you get nonfunctional rules in place for udev 2023-06-17 20:57:38 they should probably just stop doing that 2023-06-17 20:58:39 well someone with lvm2 installed may install device-mapper-udev to get rules for lvm not realising that device-mapper is also required for those rules to functional 2023-06-17 20:59:33 and someone might also install any -openrc package which then also does not actually pull in the parent package either 2023-06-17 20:59:37 just don't do it 2023-06-17 21:00:49 anyway that's a side-issue unrelated to the main issue of /dev/mapper entries as files versus softlinks 2023-06-17 21:02:43 mbx: what filesystem do you have on your fstab 2023-06-17 21:06:33 uuidNuniq: ext4 I think, I have to check later, need to go now, thanks for all your help. good night :) 2023-06-17 21:10:24 minimal, I was thinking that device-mapper was a dependency of LVM 2023-06-17 21:35:36 Habbie: it's either fuse or some hack to allow priviledge escalation for regular users to mount as root. fuse sounds cleaner. 2023-06-17 23:43:30 Sorry, me again with weird powerpc issues :( 2023-06-17 23:43:38 Please consider enabling VFIO like on x86_64 2023-06-17 23:47:46 And VFIO_PCI 2023-06-18 00:07:55 raspbeguy: nope, lvm2 does not depend on device-mapper, it depends on device-mapper-event-libs and lvm2-libs (and indirectly on device-mapper-libs) 2023-06-18 01:22:06 Hi, currently trying to set up Alpine on a headless Pi and to put it simply it's a major pain.... not gonna finish that sentence. 2023-06-18 01:22:06 I can set it up just fine if I connect a keyboard and display to the Pi, but nothing if I try going in through USB. 2023-06-18 01:22:22 I've tried the headless config here: https://github.com/macmpi/alpine-linux-headless-bootstrap 2023-06-18 01:22:23 but nothing 2023-06-18 01:22:55 Generally I'm unsure how to handle this. it all feels so convoluted and undocumented. 2023-06-18 01:27:30 I really don't want to use another distro, since I want something really small so I have as much free as possible. 2023-06-18 01:28:28 maybe worth mentioning that this is a Pi 02W 2023-06-18 01:34:01 not sure if that works at all or not or when the last time someone tested it was 2023-06-18 01:34:18 that said that headless repo there is for ssh and not usb setup 2023-06-18 01:34:19 not sure though 2023-06-18 01:34:41 the repo has some instructions for ssh over usb, which I have followed 2023-06-18 01:34:46 but still didn't work 2023-06-18 01:35:37 so either the 02w doesn't support it, or there's something else going on? 2023-06-18 01:35:54 Maybe I need to follow steps for the Pi3, since they seem to be pretty similar? 2023-06-18 01:36:28 maybe, i only have an rpi4 so i can't test that myself 2023-06-18 01:37:22 if you can try it there I would appreciate it too! 2023-06-18 01:37:36 I have a Pi4 also, but it's in a case that doesn't expose the main USB connector. 2023-06-18 01:43:13 will take a while but lets see if i figure it out 2023-06-18 01:52:56 i did a zero 2w setup a few days ago, but on wifi 2023-06-18 01:54:34 any and all info is good, I want to write a little guide on this for others in the future 2023-06-18 01:55:43 getting to the setup for me was pretty smooth, just used headless.apkovl.... and I got ssh 2023-06-18 01:56:20 orowith2os: seems to work on 4b 2023-06-18 01:56:34 just writing the default 3.18 tar.gz and the headless apkovl thing 2023-06-18 01:56:41 the setup was a bit screwed up, it did goofed when (not) enabling udhcpcd so i took like 30 minutes to muck around in weird filesystem post-mortems, hell, even chrooted using qemu-aarch64 to debug it even better 2023-06-18 01:56:41 interesting. Can you walk me through it, step by step, explicitly? 2023-06-18 01:56:44 and adding the wpa_supplicant and dwc2 thing 2023-06-18 01:56:48 mm 2023-06-18 01:57:28 aaa what I would give for my old Pi0... 2023-06-18 01:59:47 orowith2os: it's basically: create a fat32 partition on some sd card, download latest raspberry pi image from https://alpinelinux.org/downloads/, unpack it onto said fat32 partition; download headless.tar.gz from the github repo, place it in the topmost directory besides all the files, optionally add some other files to the same directory (like the mentioned wpa_supplicant.conf or usercfg.txt with `dtoverlay=dwc2`) 2023-06-18 02:00:27 for 02w it seems wifi specifically might be missing some stuff (see all of https://gitlab.alpinelinux.org/alpine/aports/-/issues/13302) but that shouldn't block the regular usb gadget parts from this afaict 2023-06-18 02:00:36 also, it's important that you don't unpack the headless.apkovl.tar.gz file 2023-06-18 02:00:38 (also ptrc did 90% of the work here and is sitting next to me) 2023-06-18 02:00:47 just place it next to the files 2023-06-18 02:00:59 I'm calling it now, my SD card is going to die the moment I delete the partitions again, lmao 2023-06-18 02:01:05 will get back to you momentarily 2023-06-18 02:01:09 it's possible that the dtoverlay= value is different for the other pi models? 2023-06-18 02:01:31 I'll try with a Pi3 and see if it works there too 2023-06-18 02:01:35 see if that does anything 2023-06-18 02:01:42 pi 3 doesn't have otg, as far as i'm aware 2023-06-18 02:01:54 but it *should* work via wifi or ethernet 2023-06-18 02:01:57 ....dammit. 2023-06-18 02:02:19 yeah, it seems like it can't do the USB stuff other models can 2023-06-18 02:02:30 ANYWAYS 2023-06-18 02:05:31 psykose, 02w had wifi here, out of the box 2023-06-18 02:06:34 heat_: that's interesting 2023-06-18 02:06:39 wonder what the others are doing wrong 2023-06-18 02:06:45 it could also be the separate model 2023-06-18 02:06:54 since there's 2 02w's that i know of with separate chips/firmware 2023-06-18 02:08:01 I can confirm that on my two pis they have WiFi ootb, though I do need to install an extra firmware package after installation to keep it 2023-06-18 02:08:42 which one? 2023-06-18 02:08:51 02W 2023-06-18 02:08:57 (2 of em) 2023-06-18 02:08:59 i mean which firmware packies 2023-06-18 02:09:13 Cypress, iirc? Something along those lines 2023-06-18 02:09:17 It's documented in the wiki 2023-06-18 02:09:18 all the linux-rpi* ones already depend on -cypress -brcm 2023-06-18 02:09:23 Something about a firmware split 2023-06-18 02:09:25 Yeah 2023-06-18 02:09:26 though i think that was somewhat more recent 2023-06-18 02:10:08 https://gist.github.com/heatd/41e2bde75f980e3a140f31464ea37387 <-- zero2w dmesg, if this helps 2023-06-18 02:11:48 heat_: that looks like what i would expect, yeah 2023-06-18 02:12:00 wonder why the people with non-working wifi in that thread have a completely barren one 2023-06-18 02:12:37 ptrc just to confirm, extract to fat32, dtoverlay=dwc2, and USB login should work? 2023-06-18 02:13:10 Nothing else? 2023-06-18 02:17:00 extract alpine image to fat32, place headless.apkovl.tar.gz onto that same fat32 partition *unextracted* 2023-06-18 02:17:05 besides that, yes 2023-06-18 02:34:57 What cursed black magic is this, now it starts without me moving the files in boot/ one directory up? 2023-06-18 02:35:25 still no connection though 2023-06-18 02:35:46 maybe something with my USB cable 2023-06-18 02:37:31 nope 2023-06-18 02:37:49 maybe there's something else I'm missing on the desktop side... 2023-06-18 02:39:59 orowith2os: you have to set the interface up manually on the desktop side 2023-06-18 02:40:08 i did it with `doas ip link set usb0 up; doas ip addr add 10.42.0.1/24 dev usb0` 2023-06-18 02:40:21 you can check in dmesg if it shows up as a usb gadget device 2023-06-18 02:42:41 yeah, I'm not seeing it in dmesg at all 2023-06-18 02:44:00 and did you put the `dtoverlay=dwc2` in usercfg.txt or config.txt? 2023-06-18 02:44:35 usercfg 2023-06-18 02:45:50 i'm out of ideas then 2023-06-18 02:48:26 tried with the other pi02w, still nada 2023-06-18 02:48:51 I'll try the official flasher tools and other distros to see what goes on there 2023-06-18 02:49:13 OH I can try an armhf image too, I've only been doing aarch64... 2023-06-18 02:50:56 aarch64 should be fine, prefered if anything 2023-06-18 02:51:28 is the usercfg in the same folder as the config.txt 2023-06-18 02:54:13 yep 2023-06-18 03:13:40 can't think of much else then except otg not working for 02w with that setup 2023-06-18 03:28:07 "does it work" <- Not but I'm not running a graphical session 2023-06-18 03:28:45 "idkrn, could be something like..." <- On my other systems I only needed polkit related things 2023-06-18 03:31:14 idkrn[m]: I think this is why I never had this problem before. I was in a Sway session 2023-06-18 05:20:04 mbx: i run out ideas then, maybe post your fstab 2023-06-18 08:10:56 It seems as if it cannot find the firmware image. Hmm 2023-06-18 08:40:00 psykose: Please, be my PowerPC guarding angel once again and enable CONFIG_VFIO and CONFIG_VFIO_PCI for ppc64le 2023-06-18 08:46:37 idkrn: you may remove the 'poweroff --> busybox' symlink and replace it with a setuid shell script; and chattr +i it 2023-06-18 08:48:04 "On my other systems I only..." <- systemd systems? 2023-06-18 08:49:26 unprivileged user doesn't have the privileges to perform acpi-related tasks on system with real init 2023-06-18 08:49:48 Someone[m]1: this is safe and used on artix linux 2023-06-18 08:50:10 on alpine linux the 'poweroff' is the symlink to busybox so it can't be setuid-ed 2023-06-18 08:54:42 What's a fake init? 2023-06-18 08:55:20 quinq: systemd 2023-06-18 08:55:44 2016 called they want their memes back 2023-06-18 08:57:55 oh ok, I don't think that systemd is a fake init, the criticism there is that it couldn't stick to be an init 2023-06-18 08:58:18 psykose, whatte happened in 2016? 2023-06-18 08:58:26 s/whatte/what/ 2023-06-18 08:58:55 Hey is there some docs some place about the minimum required x86 cpu? e.g. what it must support... whether it goes as far back as 386,486,586,686, etc.. ? 2023-06-18 08:59:22 I'm thinking of running it on a Via C3 2023-06-18 09:00:23 i mean... wiki.alpinelinux.org/wiki/Custom_Kernel says the x86 target includes 5x86/6x86 so it's probably fine? 2023-06-18 09:02:21 Years ago it would run on my i586 at least 2023-06-18 09:04:35 https://wiki.alpinelinux.org/wiki/Requirements seems to hint that the x86 target is i386, not sure how that's accurate though, would have to look at the builders 2023-06-18 09:11:47 via c3 is i486 and not supported 2023-06-18 09:12:35 quinq: Its not trying to 2023-06-18 09:12:42 actual target is.. i586 but mostly between i586/i686 (some stuff has sse2) 2023-06-18 09:12:54 and since 3.18 pae since for some reason the x86 kernel got pae enabled 2023-06-18 09:13:01 but regardless of any of that via c3 was never supported 2023-06-18 09:14:54 psykose, is there somewhere where this is documented? (for future reference) 2023-06-18 09:15:58 or was it something else i was thinking of 2023-06-18 09:16:27 ah, i was thinking of some vortex thing 2023-06-18 09:19:54 psykose, and about the doc? 2023-06-18 09:20:20 Would that be in the CI somewhere otherwise? 2023-06-18 09:32:14 https://gitlab.alpinelinux.org/alpine/aports/-/issues/14789 2023-06-18 09:45:31 quinq: the wiki page 'i386' is just the generic name like how random things or docker call it 2023-06-18 09:45:46 as for documented it would mostly just be by what it is and not by what it isn't i guess 2023-06-18 09:45:53 the gcc default target is i586- etc 2023-06-18 09:57:37 Thank you, ikke and psykose 2023-06-18 10:43:30 Hi. I get "_nc_safe_fopen: symbol not found" when running "tput", what's the cause? I've already run "apk add ncurses" (Alpine v3.17). I haven't found anything online. 2023-06-18 10:46:51 worksforme (musl/edge) 2023-06-18 10:48:06 And the symbol is provided by /usr/lib/libncursesw.so.6.4 2023-06-18 10:48:52 Sorry, I missed that you said it's on v3.17 2023-06-18 10:49:20 leaix, what arch? 2023-06-18 10:50:32 I enabled "edge" repositories (main/community/testing) too, but no luck 2023-06-18 10:50:49 I'm using Alpine on a Raspberry Pi 4b 2023-06-18 10:51:04 Yeah, apparently /usr/lib/libncursesw.so.6.3 doesn't provide that symbol 2023-06-18 10:51:19 Maybe you mixed alpine versions? 2023-06-18 10:52:15 well I'm quite new to Alpine and yesterday I upgraded from 3.15 to 3.17 (I followed the wiki). I don't know if tput worked before 2023-06-18 10:52:30 Yeah, tput from ncurses 6.3 doesn't require _nc_safe_fopen 2023-06-18 10:53:33 should I try to downgrade ncurses? Or should I disable the edge repositories? 2023-06-18 10:54:06 You shouldn't mix release and edge (AFAIU) 2023-06-18 10:54:24 Main reason is to avoid this kind of issue :) 2023-06-18 10:54:48 Yes, I didn't want to, but let me explain 2023-06-18 10:55:25 You don't have to justify yourself, but first make sure everything is upgraded to 3.17 (if you wish to follow that release) 2023-06-18 10:57:59 I was trying to install pi-hole, but it isn't officially supported on Alpine. I didn't want to use docker. So I found an unofficial repository on gitlab which provided the installation script for Alpine. But it required to enable edge repositories... so first I tried to upgrade to 3.17, it didn't work, and I enabled the edge repositories 2023-06-18 10:58:19 Ok let's switch to edge disabling 3.17, thank you, hope nothing breaks again 2023-06-18 10:59:14 Edge is teh bleeding edge, but I haven't got any issues so far, but then the narrative is that if something breaks that's part of the game 2023-06-18 11:01:00 I was trying to avoid it for this reason, seems like I can't heh 2023-06-18 11:14:41 Now it works. Thanks again 2023-06-18 11:16:14 nice 2023-06-18 13:50:59 minimal: I reinstalled from scratch manually with iso, I still don't have any dmesg error 2023-06-18 13:54:49 "idkrn: you may remove the '..." <- This is too hacky 2023-06-18 13:55:21 raspbeguy: I tested your VM image and see the *same* udevd dmesg error about symlinks 2023-06-18 13:55:33 Hum 2023-06-18 13:55:49 so the only difference between you and me must be the way we're creating the LVs 2023-06-18 13:56:34 The virtual hardware too 2023-06-18 13:58:54 I'm using "qemu-img create", then "parted -a opt /dev/vdb" with "mklabel; mkpart primary ext2 2048s 100%", then "vgcreate /dev/vdb1; vgcreate vg0 /dev/vdb1; lvcreate -L 30m vg0 -n waffle" 2023-06-18 13:59:01 we're both using virtio-blk 2023-06-18 14:00:21 are you partitioning the device or creating the PV straight on the device? 2023-06-18 14:01:02 oops, first "vgcreate" above should be "pvcreate" 2023-06-18 14:05:54 minimal: I don't partition the device 2023-06-18 14:06:06 maybe that's a factor then 2023-06-18 14:06:13 I'll test without partitioning 2023-06-18 14:06:14 Also the pvcreate step isn't necessary 2023-06-18 14:06:52 why not? pvcreate initialises a PV 2023-06-18 14:07:14 Vgcreate does it automatically 2023-06-18 14:07:44 ah right, force of habit to run pvcreate 2023-06-18 14:14:46 it's still useful to know that it needs doing, especially if you plan to do non-standard things with vgs 2023-06-18 14:18:24 raspbeguy: trying "vgcreate" gave error "Global lock failed: check that global lockspace is started." 2023-06-18 14:19:21 minimal: because I activated lock management in LVM settings 2023-06-18 14:19:33 use_lvmlock 2023-06-18 14:19:41 how/where ? 2023-06-18 14:19:41 You can disable it 2023-06-18 14:20:02 /etc/lvm/lvm.conf 2023-06-18 14:20:26 I mean what do YOU do in order to run vgcreate? I'm trying do test things in a similar manner to you 2023-06-18 14:21:24 vgcreate --shared myVG /dev/vdb 2023-06-18 14:22:10 And after that, after each reboot : vgchange --lock-start 2023-06-18 14:23:52 but isn't udev running "vgchange" to activate it when it sees the VG/LV? 2023-06-18 14:24:01 that's what the rule we fixes does 2023-06-18 14:24:41 No. Nothing gets created in /dev until I run lvs 2023-06-18 14:25:51 with which options? 2023-06-18 14:26:04 Just lvs 2023-06-18 14:26:34 I guess vgscan could do that too 2023-06-18 14:26:35 lvs just displays info, why would running it make a difference? 2023-06-18 14:26:53 It must trigger a scan or something 2023-06-18 14:27:11 so what is the EXACT sequence of commands you run every boot? 2023-06-18 14:27:31 To activate a LV ? 2023-06-18 14:27:55 do "make things work" 2023-06-18 14:28:00 s/do/to/ 2023-06-18 14:28:17 I'm trying to test your scenario but I can't do that if I don't know what you're doing 2023-06-18 14:28:41 This is a test VM. Nothing works per se 2023-06-18 14:28:52 the softlinks work... 2023-06-18 14:29:00 Ok 2023-06-18 14:29:18 so I need to know exactly what you're doing 2023-06-18 14:29:26 Then I run vgchange --lock-start, then lvs 2023-06-18 14:29:54 I guess activating the lvm service at boot should also work 2023-06-18 14:30:16 Problem is that it tries to activate all my lv, which I don't want 2023-06-18 14:31:12 vgcreate is failing for me with "VG vg0 init failed: -19" 2023-06-18 14:32:25 Look at /var/log/sanlock.log 2023-06-18 14:32:34 Your answer lies there 2023-06-18 14:32:55 it created LV "vg0/lvmlock" ok 2023-06-18 14:33:14 But its owned by root:root 2023-06-18 14:33:33 So sanlock cannot do anything 2023-06-18 14:34:04 "no permission to open /dev/mapper/vg0-lvmlock" 2023-06-18 14:34:12 Bingo 2023-06-18 14:34:41 so you haven't told me how YOU managed to run vgcreate successfully using this image yet... 2023-06-18 14:34:43 That's the error I had before udev rules fix 2023-06-18 14:35:08 Well it works on my machine 2023-06-18 14:35:23 this IS your (VM) machine I'm using 2023-06-18 14:41:36 Yes 2023-06-18 14:41:49 For some reason it doesn't work when you run it 2023-06-18 14:46:21 Actually I'm not sure what you're looking for. Since udev rules have been fixed I don't have any problem 2023-06-18 14:46:41 you may not have a problem but I still do 2023-06-18 14:47:02 so your scenario appears to be the only one where the softlinks actually work 2023-06-18 14:47:33 I'll make a screen record for you 2023-06-18 14:48:08 I just disabled lockd, did a vgcreate and a lvcreate and STILL see the udevd error in dmesg and no softlink 2023-06-18 14:48:25 no it is not a partitioned vs unpartitioned issue 2023-06-18 14:50:13 I'll do that later when I open my laptop 2023-06-18 14:51:55 basically if I can't reproduce your scenario then there's no real way for me to figure what is different and therefore no likely way to fix this issue in general 2023-06-18 14:58:48 I'll try in a virtual box so that I can send you the EXACT situation, including virtual hardware 2023-06-18 15:00:04 I don't believe this is related to "exact" virtual hardware, we are both using virtio-blk for the storage device 2023-06-18 15:01:25 I don't understand how I get sanlock related permissions errors that you don't get when using the same VM image 2023-06-18 15:01:42 Hi! I'm trying to build a NAS/server with Alpine Linux. So far, I managed to get a diskless version running from my usb stick, but it looks like the diskless kernel is lacking the zfs module. :( 2023-06-18 15:02:34 minimal: or more precisely why /dev/mapper/* are not symlinks when you run it 2023-06-18 15:03:15 raspbeguy: well I didn't get as far as testing that as the vgcreate failed with the sanlock errors 2023-06-18 15:03:44 That's not difficult to verify 2023-06-18 15:04:00 what's not difficult to verify? 2023-06-18 15:04:28 Just disable use_lvmlock in LVM settings, create a vg and then a LV on it 2023-06-18 15:04:44 You'll see that /dev/mapper/* is a file 2023-06-18 15:04:46 I told you about 10-15mins ago I just did that and saw the same udevd error 2023-06-18 15:05:20 Well that's why sanlock fails then 2023-06-18 15:05:30 but I'm trying to test your *exact* scenario which you say works, which means using lvmlock 2023-06-18 15:06:27 Well, if /dev/mapper/* isn't a symlink or do not belong to group 'disk' then sanlock will fail 2023-06-18 15:07:28 So if you can't manage to get symlinks when NOT using lvmlock then it's useless to try further 2023-06-18 15:08:34 well I'm trying to see symlinks being created in some way as ALL the various testing I've done so far does not result in that yet you tell me it works perfectly for you 2023-06-18 15:09:07 I'm suspecting a race condition of some sort 2023-06-18 15:09:38 That's why I'll do a working vbox proof then send it to you 2023-06-18 15:10:17 but you already sent me a "working" qemu "proof" which didn't work for me... 2023-06-18 15:10:19 Because for now we do not know what exact virtual hardware we are using 2023-06-18 15:10:25 how will VB be any different? 2023-06-18 15:10:55 With vbox I can send to you the machine exact definition 2023-06-18 15:11:08 I know exactly which virtual hardware I'm using and as I pointed our we are both using virtio-blk, not emulating physical hardware, for storage... 2023-06-18 15:11:22 That's why I suggested sending the libvirt xml but you're not using that 2023-06-18 15:11:52 That's not precise enough 2023-06-18 15:11:56 I don't use libvirt, I use qemu-system directly (which libvirtd does behind the scenes) 2023-06-18 15:12:07 I know 2023-06-18 15:19:24 raspbeguy: what CPU are you running libvirtd/VB on? 2023-06-18 15:22:07 minimal: https://termbin.com/jqmp 2023-06-18 15:22:59 a Xeon, ok I'm using a Celeron - so if it is race condition that would make sense 2023-06-18 15:25:20 basically I'm guessing I always see the problem of the race condition as I have a slow CPU, whereas you never see it as you have a fast CPU 2023-06-18 15:26:12 I also could give you access to a VM hosted by me 2023-06-18 15:44:10 raspbeguy: ran it in a i7 CPU, made no difference 2023-06-18 16:11:47 Trying to upgrade 3.17 to 3.18, it's failing to resolve dependencies ... https://pastebin.com/5K88q53T 2023-06-18 16:12:05 I assume I've got something installed that's not from the core repos ... how can I hunt this down? 2023-06-18 16:16:43 radiomark: add --available, which you should provide when switching repos, see if that helps 2023-06-18 16:16:56 Ah, yes, already doing that as it's in the upgrade guide 2023-06-18 16:17:28 For now I've uninstalled a bunch of stuff -- chromium, firefox, libreoffice, inskscape, mpv ... it seems to have satistied the dependency 2023-06-18 16:17:41 Doing an upgrade now of 786 packages so let's see 2023-06-18 16:19:01 poor guy 2023-06-18 16:19:41 apk upgrade -aU is all you need 2023-06-18 16:20:35 Apparently not 2023-06-18 16:23:58 plus a apk fix 2023-06-18 16:24:33 I had done "apk fix" but it did not seem to find anything it wanted to resolve 2023-06-18 16:25:16 Like I said, I assumed some package was not from the core repos. But I went through the list and most of them had upgraded versions incoming in the new 3.18 repo 2023-06-18 16:25:31 (all of the ones I went through) 2023-06-18 16:25:47 Hence asking if there was an easy way to find these packages 2023-06-18 16:27:10 what is core repo 2023-06-18 16:27:43 "main" and "community" 2023-06-18 16:29:10 I did a recent 3.16 -> 3.17 upgrade without a hitch, and with just "main" and "community" 2023-06-18 16:30:47 you have manual built pkgs? 2023-06-18 16:31:48 No 2023-06-18 16:32:08 But the pastebin shows the packages it's having trouble with 2023-06-18 16:33:17 you said some packages was not from CORE repo 2023-06-18 16:33:39 Some packages not from "core" repos (ie. main or community) 2023-06-18 16:33:48 It's a possibility, if I once tried some other packages 2023-06-18 16:34:13 Hence, is there a way to list the installed packages, by repo? 2023-06-18 16:34:36 check apk list --help? 2023-06-18 16:37:14 apk does not keep track what repo a package came from 2023-06-18 16:37:45 ikke: ok, thanks, so i'm left doing it by hand 2023-06-18 16:38:23 The upgrade was 'successful' but now I can't install firefox ... so it's helping to narrow down the problem 2023-06-18 16:38:40 Damn, I have no browser now to do pastebin 2023-06-18 16:39:15 | curl https://tpaste.us -F tpaste=\<- 2023-06-18 16:40:31 Helpful, thanks. Let me try that 2023-06-18 16:40:31 Hi there i got aproblem using gnome-software under xfce in Alpine Linux 3.18.2. I installed gnome-software (doas apk add gnome-software) and started apk-polkit-server service as recommended. When i start gnome-software from the commandline, i got the following messages: ~ $ gnome-software1 2023-06-18 16:40:31 16:18:38:855 Gs failed to get featured apps: no apps to show 2023-06-18 16:40:31 16:18:38:858 Gs Only 0 apps for curated list, hiding 2023-06-18 16:40:31 6:18:38:731 Gs Only 0 apps for recent list, hiding 2023-06-18 16:40:32 16:18:38:956 GsPluginApk app */*/*/org.alpinelinux.alpine-3.18.2/* has missing sources; skipping 2023-06-18 16:41:00 What is going wrong? 2023-06-18 16:42:07 ikke: https://tpaste.us/b1p1 2023-06-18 16:42:43 So I'm adding firefox, and it's complaining it can't upgrade packages. But all those packages also have new versions available in the repos 2023-06-18 16:44:12 "apk upgrade --available" shows nothing ot do 2023-06-18 16:44:12 radiomark: does `apk list --orphaned` return something? 2023-06-18 16:44:26 Yes, a few packages 2023-06-18 16:44:39 which? 2023-06-18 16:44:49 they might be the cause 2023-06-18 16:46:03 https://tpaste.us/1XBV 2023-06-18 16:46:37 The wx and sdl ones sound like they could be old. But wouldn't they appear in the dependency report when eg. installing firefox or doing the upgrade? 2023-06-18 16:46:46 Part of the "satisfies" list 2023-06-18 16:48:41 radiomark: what happens if you do: `apk add darktable\>=4.2.1 2023-06-18 16:48:44 ` 2023-06-18 16:49:55 https://tpaste.us/pa6x 2023-06-18 16:50:00 Leads back to wxgtk3 2023-06-18 16:50:30 wxgtk3 is the culprit indeed 2023-06-18 16:50:33 georgelefeu_: maybe add gnome-software-plugin-apk ? 2023-06-18 16:51:26 ikke: am I being stupid not noticing that ... how would I tell from the "updgrade --available" or "add firefox" 2023-06-18 16:51:41 Is it because it's only printing one level of dependency? 2023-06-18 16:51:55 I'll remove wxgtk3 and see 2023-06-18 16:53:23 So that worked. Now the firefox install is upgrading a load of other (seeminly unrelated) packages ... presumably because of the underlying dependency 2023-06-18 16:53:51 you should do an upgrade now 2023-06-18 16:53:58 to make sure everything is upgraded 2023-06-18 16:54:14 Well, don't forget "apk upgrade --available" was reporting nothing to do 2023-06-18 16:54:34 radiomark: it would also say that if something was holding that back 2023-06-18 16:54:37 Even though newer packaes in the repo, it was prioritising the dependcies from wxgtk3 2023-06-18 16:54:40 yes 2023-06-18 16:54:51 minimal, you won't believe it 2023-06-18 16:54:54 so now that you removed that, all packages should be able to be upgraded 2023-06-18 16:55:11 ikke: ah, I see yes. Ok when this firefox is done, let's see if there's any residual 2023-06-18 16:55:14 I tried to reinstall VMs. Like 3 or 4 times. 2023-06-18 16:55:22 Now it hit the same error 2023-06-18 16:55:50 kwadroke[m]: gnome-software-plugin-apk is added. 2023-06-18 16:57:07 ikke: https://tpaste.us/Wxm0 2023-06-18 16:57:28 so it did upgrade a few packages 2023-06-18 16:57:52 Thanks for the help, at least I can progress 2023-06-18 16:58:05 keep in mind the other packages in that orphaned list can still cause issues 2023-06-18 16:58:12 Yeah, that's what I'm thinking 2023-06-18 16:58:17 What does 'orphaned' mean in this context? 2023-06-18 16:58:31 no repo providing that package anymore 2023-06-18 16:58:35 Some of them -- like SDL -- I can imagine I went looking for old package 2023-06-18 16:58:52 But others, like xf86-input-keyboard sound pretty important and not somtehing I've messed with! 2023-06-18 16:59:05 they are no longer relevant 2023-06-18 16:59:16 To be safe, I should probably remove all those packages 2023-06-18 16:59:22 I'll have to hope it doesn't break some functionality though 2023-06-18 16:59:26 you just need xf86-input-libinput 2023-06-18 17:01:16 ikke: Ok I've left the fonts for now, going to restart X just to be sure 2023-06-18 17:02:06 minimal, I got it 2023-06-18 17:03:02 raspbeguy: believe what? 2023-06-18 17:03:10 ikke: well at least I've got keyboard + mouse after a reboot :) 2023-06-18 17:03:14 I was working with existing VG before. When I recreated the VM, I never bothered to erase the secondary test volume 2023-06-18 17:04:05 this is what I tried 2023-06-18 17:04:56 ikke: thanks for the help 2023-06-18 17:05:01 I temporarly ran sanlock by root user by modifying the /etc/conf.d/sanlock file 2023-06-18 17:05:01 radiomark: no problem 2023-06-18 17:05:41 then I created the VG by running vgcreate --shared testVG /dev/sdb 2023-06-18 17:06:17 I then restored the original user in /etc/conf.d/sanlock 2023-06-18 17:06:20 then reboot 2023-06-18 17:08:37 then run vgchange --lock-start 2023-06-18 17:08:47 (notice that it's a success) 2023-06-18 17:09:05 also I can now create lv 2023-06-18 17:09:30 and most importantly, enable them 2023-06-18 17:11:18 raspbeguy: am confused, you're saying you fixed something? you'd previously said it worked fine so what was there to fix if it worked fine? 2023-06-18 17:14:40 didn't fix anything 2023-06-18 17:15:20 I just discovered why I thought that was working but yet there were still issues 2023-06-18 17:17:09 also, only the "lvmlock" lv is a symlink. Didn't noticed that the other LV (the real useful ones) are still files 2023-06-18 17:17:53 but if the lvmlovk lv is read/write for sanlock then everything works fine 2023-06-18 17:18:03 georgelefeu_: might be an issue with gnome-software-apk then - https://github.com/Cogitri/gnome-software-plugin-apk/issues/38 . on my Pinephone with PostmarketOS I have 2 Alpine repos disabled which I can't enable . Might be a similar issue 2023-06-18 17:18:08 ah ha, so you're still seeing the problem - yet the "dmesg" doesn't show a udevd error about the other symlinks failing? 2023-06-18 17:18:18 by "everything works fine" I mean that locks are correctly managed 2023-06-18 17:18:30 honestly I just use the commandline to install/update 2023-06-18 17:20:48 raspbeguy: as you say the non-lvmlock entries in /dev/mapper/ are *not* symlinks does "dmesg" show any udevd errors? 2023-06-18 17:22:25 https://termbin.com/04ckf 2023-06-18 17:23:07 raspbeguy: right, the last line shows the udevd error I've been talking about 2023-06-18 17:23:50 so udevd wanted to create /dev/mapper/testVG-tintin as a symlink pointing to /dev/dm-1 but could not as /dev/mapper/testVG-tintin already existed as a file 2023-06-18 17:24:03 so you ARE seeing the issue I've been talking about 2023-06-18 17:25:02 kwadroke[m]: I'm quite shure there's an issue with the apk-polkit-server service. In Alpine Linux 3.17 apk-polkit-rs has also to be installed, but no service had to be started. And gnome-software worked without problems. 2023-06-18 17:28:33 Why does "awall translate --verify" say "awall: ssh: filter.1: Invalid zone: WAN"? I already configured /etc/awall/private/base.json, and yes "WAN" (= eth0) exists and is up on the device (as per ip link). 2023-06-18 17:30:07 Did you Import that policy in the policy you refer to it? 2023-06-18 17:32:53 minimal: yes. Sorry apparently I was too negligent 2023-06-18 17:33:58 ikke: How do I "import" base.json? I just refer to "WAN" in /etc/awall/optional/ssh.json. And yes I've run "awall enable base". The ssh.json's content is exactly this: https://wiki.alpinelinux.org/wiki/Zero-To-Awall#SSH_service 2023-06-18 17:34:16 raspbeguy: I might try and build lvm2 with udev sync to see if that makes any difference 2023-06-18 17:36:52 "awall enable ssh"* since "awall enable base" doesn't work ("Not an optional policy"). 2023-06-18 17:42:24 minimal: there is an option udev_sync in the lvm config file 2023-06-18 17:42:45 Lead me to think this is a runtime option, not a build option 2023-06-18 17:42:59 raspbeguy: but the build.log for lvm2 indicated it was disabled, so the config option should have no effect 2023-06-18 17:43:59 "hecking whether to enable synchronisation with udev processing... no" 2023-06-18 17:44:21 Ok then 2023-06-18 17:45:52 that has to be turned on during build when "configure" is called with "--enable-udev_sync" 2023-06-18 17:46:59 leaix: "import": "base" 2023-06-18 17:47:08 in the file that you use it 2023-06-18 17:47:35 /etc/awall/private is not consulted for policy files and meant for configuration that you can include 2023-06-18 17:48:12 "Sometimes a policy file depends on other policy files. In this case, the policy file must have a top-level attribute import, the value of which is a list of policy names, which correspond to the file names without the .json suffix. The imported policies may be either optional policies or private policies, located in /usr/share/awall/private or /etc/awall/private." 2023-06-18 18:14:07 ikke: solved, thanks 2023-06-18 18:33:41 Another issue: seems like '/usr/libexec/command-not-found' takes ~3 seconds to run on my Raspberry 4B (I know it isn't very powerful, but 3s? for this?), even on ash. Where do I start to troubleshoot this? Also there are just 300 pkgs 2023-06-18 18:38:45 leaix, that would be apk-search 2023-06-18 18:39:46 leaix: run strace to see what takes so long 2023-06-18 18:44:36 strace? 2023-06-18 18:44:40 is that a shell script 2023-06-18 18:44:57 what about sh -x /usr/libexec/command-not-found 2023-06-18 18:46:07 strace on apk search 2023-06-18 18:46:55 quinq: the issue is, I'm not searching anything, it runs automatically if I type the wrong command 2023-06-18 18:47:22 Remove the package :) 2023-06-18 18:50:53 yeah. del it, that thing is mostly useless 2023-06-18 18:54:35 yes "fixed" this way. Seems like apt-cache isn't able to cache the packages list 2023-06-18 19:03:23 anyone using lxd? when trying to launch a vm i am getting "QEMU failed to run feature checks / qemu: could not load PC BIOS '/usr/share/OVMF/OVMF_CODE.fd'" even though the ovmf package is installed and that file exists 2023-06-18 19:04:02 leaix: you need setup-apkcache and setup-lbu 2023-06-18 19:08:15 uuidNuniq: I'm using Alpine in system mode, not diskless, so I don't use lbu. I tried again, and setup-apkcache doesn't change anything unfortunately 2023-06-18 19:22:03 leaix: https://wiki.alpinelinux.org/wiki/Local_APK_cache 2023-06-18 20:01:39 13,99uuidNuniq99,99: maybe it's me, maybe the problem is elsewhere (i/o-bound and not cpu-bound?), but even after trying again I had no luck so far. I guess it can't be fixed 2023-06-18 20:04:16 it would probably faster if it used apk search cmd: instead 2023-06-18 20:06:02 That's what this command-not-found does' so I doubt it'd be faster 2023-06-18 20:09:05 apk search -xv cmd:ls still takes 3s 2023-06-18 20:09:15 that's not normal 2023-06-18 20:10:35 What the storage media? 2023-06-18 20:11:46 yeah, might be a storage issue 2023-06-18 20:15:11 it's a 32GB sdcard, using dd seems like the write speed is something around ~20MB/s. Trying to test the read speed now 2023-06-18 20:16:00 Erf, SDCard, most likely the issue :) 2023-06-18 20:16:49 leaix: do you write directly to the card? filesystem cache might be skewing the result 2023-06-18 20:20:11 ikke: /dev/mmcblk0: Timing cached reads: 1406 MB in 2.00 seconds = 704.24 MB/sec; Timing buffered disk reads: 102 MB in 4.08 seconds = 24.98 MB/sec 2023-06-18 20:20:21 quinq: Yeah I didn't expect it to be soo slow 2023-06-18 20:21:18 so it was using the cache from the beginning... anyway, thanks 2023-06-18 20:21:58 those are 2 different caches 2023-06-18 20:22:29 setup-apkcache sets up package caching, while apk search uses the index cache 2023-06-18 20:23:40 understood 2023-06-18 20:24:22 so if you enabled that, you should be aware that /var/cache/apk might grow over time 2023-06-18 20:30:12 thanks 2023-06-18 20:32:39 Hummm, why does plocate provide *upgradedb* but not *locate* (it provides *plocate*)? 2023-06-18 20:33:31 (fwiw 'plocate' registers itself as an alternative for 'locate' on debian - but i don't know if alpine/apk has an alternatives mechanism) 2023-06-18 20:34:01 :) 2023-06-18 21:07:22 Default sysctl on both ppc64le and x86_64 has this: 2023-06-18 21:07:27 * Configuring kernel parameters ... 2023-06-18 21:07:27 sysctl: cannot stat /proc/sys/vm/unprivileged_userfaultfd: No such file or directory 2023-06-18 21:11:37 that hasn't existed in a million years 2023-06-18 21:12:31 nothing even tries to touch that anywhere that i can see 2023-06-18 21:14:34 Fresh 3.18 2023-06-18 21:15:51 aha 2023-06-18 21:15:55 I see who 2023-06-18 21:16:26 /usr/lib/sysctl.d/60-qemu-postcopy-migration.conf is owned by libvirt-qemu-9.3.0-r0 2023-06-18 21:18:24 yeah 2023-06-18 21:18:25 shrug 2023-06-18 21:18:28 doesn't matter very much 2023-06-18 21:19:10 Yeah, I'm just triggered by warnings 2023-06-18 21:19:21 Will overwrite it in /etc 2023-06-19 04:18:00 what do I need to install to be able to fully inspect C++ core dumps on Alppine with gdb? 2023-06-19 04:34:51 apk add musl-dbg, build the relevant project with debug symbols enabled, potentially relevent libraries as well 2023-06-19 12:00:01 minimal, did you manage to build lvm2 with udev dync feature ? 2023-06-19 12:00:30 I did try but it adds a dependancy to libudev 2023-06-19 12:00:41 so I'n not sure how to handle this 2023-06-19 12:02:08 yes I've build it, am currently building VM with it for testing 2023-06-19 12:05:21 nice 2023-06-19 12:09:20 what does it allow doing 2023-06-19 12:12:35 Is it just the part of libudev to access /sys/* or actually one that requires udev to communicate with via dbus (gudev)? 2023-06-19 12:12:37 psykose: it makes lvm tools "sync" with eudev regarding /dev/mapper/ device creation - I just want to see if this resolves the file vs symlink situation 2023-06-19 12:12:52 CcxWrk: former 2023-06-19 12:13:39 Ah, then it should work with libudev-zero 2023-06-19 12:14:15 not sure, haven't dug too deep into it, just want to see what behavioural change occurs with it enabled 2023-06-19 12:15:24 minimal: the only part i'm interested in is what happens when eudev isn't in use but the option is enabled buildtime i guess 2023-06-19 12:15:30 currently udevd doesn't create /dev/mapper/vg-XYZ as a symlink as it already exists as a file, which this feature enabled I'm hoping that "vgchange --activate" won't create /dev/mapp/vg0-XYZ itself but rather will let udev do it 2023-06-19 12:16:33 psykose: well it is a buildtime option but there's also a lvm.conf setting, from a quick glance at the code it handles the situation where it cannot talk to udev (i.e. in a mdev-only system) 2023-06-19 12:17:47 sure, enabled 2023-06-19 12:17:50 feel free to just test from edge 2023-06-19 12:18:18 psykose: you've enabled it? I have a locally built lvm2 that I'#m testing for it 2023-06-19 12:18:40 ye 2023-06-19 12:18:46 there was no need to enable it in Edge yet 2023-06-19 12:19:47 it's not a very meaningful toggle 2023-06-19 12:31:36 raspbeguy: and................./dev/mapper/vg0-waffle *IS* now created as a symlink to /dev/dm-0 ;-) 2023-06-19 12:31:56 minimal: 🎉️ 2023-06-19 12:32:00 good job 2023-06-19 12:32:04 no to do some testing with mdev-only to see that there's no ill effects 2023-06-19 12:32:08 s/no/now/ 2023-06-19 12:33:23 CcxWrk: enabling this feature results in tools such as vgcreate being linked with libudev 2023-06-19 12:36:22 (libudev is a 64kb sized binary that doesn't do anything) 2023-06-19 12:36:42 just before someone crawls out of the woodwork 2023-06-19 12:37:27 psykose: and with this enabled in lvm2 then if you're using LVM for rootfs then initramfs has libudev libs added to it 2023-06-19 12:37:43 indeed 2023-06-19 12:44:34 "via dbus" udev doesn't use dbus... 2023-06-19 12:44:37 It does too many things, most of them only tangentially related. Mostly wrapping access to various devices and hardware databases. 2023-06-19 12:45:21 grawity: It at least used to. Also several netlink interfaces. 2023-06-19 12:45:48 For device hotplug notifications and such. 2023-06-19 12:46:18 oh, netlink is also bad now? missed the memo 2023-06-19 12:46:45 psykose: the lvm.conf entry for udev_sync explains better what it does 2023-06-19 12:47:02 grawity: everything is bad except what i like 2023-06-19 12:47:15 hald used to use dbus, I literally can't remember when udev had any interaction with it, was that pre-systemd or post-systemd? 2023-06-19 12:47:29 I'm not saying something is good or bad. I'm asking whether the functionality requires communication with running userspace daemon. 2023-06-19 12:47:36 oh huh, that was pre-hald even 2023-06-19 12:47:55 minimal: hmm, does it default to =1? 2023-06-19 12:48:15 it says if udev is not running and it's enabled (=1) then it will just wait forever 2023-06-19 12:48:31 yes it defaults to "1" (aka enabled) which previously did nothing as the functionality wasn't built 2023-06-19 12:48:46 get to testing then :-) 2023-06-19 12:48:57 if it actually breaks then i assume it's a small patch to just default =0 2023-06-19 12:49:30 yes I'm in the midst of testing different scenarios 2023-06-19 12:50:49 there's a DEFAULT_UDEV_SYNC for it so i know where to toggle it if something doesn't work 2023-06-19 12:51:13 Would be nice to allow comments in /etc/apk/world. E.g.: ignore # and anything after it. 2023-06-19 12:53:53 i think someone opened an issue for that before but i can't find it 2023-06-19 12:54:03 it's not that simple because world is re-written after whatever transaction 2023-06-19 12:54:05 and sorted 2023-06-19 12:54:17 would require changing that entire thing 2023-06-19 13:02:35 Probably better to put comments in a configuration management system you use, if you have one. 2023-06-19 13:03:42 Oh, retaining them would be non-trivial, right 2023-06-19 13:06:01 for typical short-comments virtual works ok 2023-06-19 13:06:06 apk add -t .deps-for-xyz .. 2023-06-19 13:28:07 Smart, I will do that :) 2023-06-19 13:28:40 Installing 'docs' and 'libcap-getcap' doesn't install relevant man pages (from libcap-doc). I feel like it should. 2023-06-19 13:30:37 The diskless Alpine Linux kernel doesn't contain the zfs module. What is the best way to get zfs support? Compile a custom kernel myself (there is a warning in the Alpine wiki though) or can I somehow add the zfs module via "update-kernel -p (add module or firmware package)" into the kernel? I'm rather a beginner, so please bear that in mind. 2023-06-19 13:33:14 or install Alpine in Sys rather than diskless mode 2023-06-19 13:40:42 couldn't you install zfs and then use lbu to persist the change? 2023-06-19 13:41:09 (never used diskless mode other than install iso) 2023-06-19 13:41:28 I have installed zfs, but the kernel module seems to be missing. 2023-06-19 13:41:33 kernel module is zfs-lts 2023-06-19 13:41:48 but i'm not sure how that works with diskless and updating aside from the update-kernel thing 2023-06-19 13:42:02 (zfs-lts is for linux-lts) 2023-06-19 13:47:01 I might have an idea I need to try out later. Thanks for the help! 2023-06-19 13:50:15 I am reading the docs and the wiki and I don't fully understand how do setup-alpine and setup-disk interact. Where can I read more about this? I am happy with setup-alpine except the partitioning part. I want just /boot on the hard drive, but swap and root on an USB thumb drive. And I want to use LUKS encryption (so I assume this means both / and swap have to be encrypted, not sure about /boot) 2023-06-19 13:51:04 zito: the Alpine setup tools don't support that layout 2023-06-19 13:53:19 minimal: let me try asking differently, maybe this one will be better. if I do the manual partitioning and creation of filesystems using setup-disk, cryptsetup and friends, is it possible to call setup-alpine after that and tell it to work with that already prepared disk configuration? 2023-06-19 13:54:59 zito: you can manually partition, format, and mount before running setup-disk, however I've never seen/tried a layout where /boot and / are no 2 different devices, really don't understand why you'd chose to do that 2023-06-19 13:55:42 minimal: my hard drive is old and has bad sectors, my goal is to get a bootable system by minimal interaction with the hard drive 2023-06-19 13:56:08 I also can't just install everything onto an USB thumb drive, because the computer is too old and BIOS doesn't support boot from USB 2023-06-19 13:56:19 didn't have success making it boot from USB using Plop either 2023-06-19 13:56:54 so I thought to try having just /boot on the hard drive and /, swap on an external USB thumb drive 2023-06-19 13:57:19 zito: try it 2023-06-19 13:57:28 and read the scripts 2023-06-19 13:58:12 couple of days ago I also asked here a related by different question, but got no answer unfortunately 2023-06-19 13:58:57 I asked if I can just install everything onto the external USB thumb drive (LUKS encrypted) then use the alpine install cd to boot the system from that USB thumb drive 2023-06-19 13:59:07 zito: if your disk has bad sectors then things could get corrupted in future and stop working (e.g. updated kernel and initramfs files is /boot) 2023-06-19 13:59:07 I'm willing to try this option as well if it's possible 2023-06-19 13:59:31 minimal: true but the chances are smaller than using it for everything 2023-06-19 14:00:05 smaller, but not close to zero, kernel updates occur semi-frequently 2023-06-19 14:00:14 I just have no idea where to get a replacement, it's an old IDE drive that's like 20 years old :D 2023-06-19 14:00:23 and I live in a shithole 2023-06-19 14:06:10 Would this work? I'm writing it down from memory: setup-alpine -> abort at setup-disk with ctrl+c -> mount -t FILESYSTEM /dev/YOURUSB /mnt/ -> mkdir /mnt/boot -> mount -t FILESYSTEM /dev/YOURHDD /mnt/boot -> mkdir /mnt/boot/efi -> setup-disk -m sys /mnt/ 2023-06-19 14:06:44 I forgot the swap. Nowadays, wouldn't a swapfile or zram suffice? 2023-06-19 14:07:39 I'm afraid I'd have to use swap 2023-06-19 14:07:47 only got like 400MB RAM there 2023-06-19 14:07:49 you said your laptop is too old to boot off USB? but it has UEFI? UEFI should check all devices looking for ESP partitions 2023-06-19 14:07:57 it has no UEFI 2023-06-19 14:08:14 oops, got you mixed up with the other person 2023-06-19 14:08:17 it's like 20 years old 2023-06-19 14:08:54 I don't think it even has SSE2 because I get "Invalid instruction" errors a lot when I try to start misc complex software 2023-06-19 14:09:41 alpine is the only thing that booted on that hardware 2023-06-19 14:54:13 this dumbass right here made his /boot too smol 2023-06-19 14:54:29 now I can't upgrade my linux kernel 2023-06-19 14:54:43 >ERROR: grub-2.06-r12.trigger: script exited with error 1 2023-06-19 14:54:50 >cat: write error: No space left on device 2023-06-19 14:54:58 any tips? 2023-06-19 14:55:19 hm, maybe I can force apk to not upgrade the kernel? 2023-06-19 14:55:58 you can either repartition your drive and enlargen /boot or attempt to free up some space manually in /boot (while not screwing up) 2023-06-19 14:56:20 or never ever upgrade the kernel but that's obviously not advisable 2023-06-19 14:56:55 damn 2023-06-19 14:58:12 fun fact, my OVH server ran something like 5 years without downtime because I accidentally screw the /boot partition and was too ignorant and lazy to learn how to fix it 2023-06-19 15:00:07 yeah, for some reason I've reserved 34mb for it 2023-06-19 15:00:12 and it apparently wasn't enough 2023-06-19 15:00:29 apk doesn't store old kernels there or something, right? 2023-06-19 15:00:56 at least, by looking at it it only has vmlinuz-lts, System.map-lts, config-lts 2023-06-19 15:01:05 doesn't appear to have anything versioned here 2023-06-19 15:01:33 old kernels are not stored 2023-06-19 15:01:43 well, that sucks 2023-06-19 15:01:48 I mean, for my case 2023-06-19 17:08:06 Did anyone have trouble running alpine as a dom0 with linux-lts? I can't start uefi domUs 2023-06-19 17:13:25 psykose: that sync_udev change is causing problems for mdev-only systems - trying to boot a VM with a LVM rootfs fails in the initramfs with "/dev/mapper/vg0-root: Can't open blockdev" and drops to emergency shell. I see /dev/dm-* do exist, but /dev/mapper/ only has the control file and /dev/vg0 doesn't exist. This mirrors what I saw when trying to "lvcreate" on a non-LVM-rootfs system with only mdev, the difference being in the 1st case 2023-06-19 17:13:25 there are no lvm tools (or /etc/lvm/lvm.conf) in the initramfs, so nlplug-findfs is using libdevicemapper directly 2023-06-19 20:32:15 Why isn't xen built with ovmf support on alpine? 2023-06-19 20:49:33 "because" (insert random reason) 2023-06-19 20:50:00 "because no-one decided to built it with OVMF support" 2023-06-19 20:52:10 also #14970 refers to "Booting Xen via UEFI is broken on multiple Linux distributions and FreeBSD" 2023-06-19 21:48:47 psykose: Also CONFIG_FUNCTION_TRACER is missing on ppc64le 2023-06-19 21:56:55 minimal: does defaulting it to 0 fix it or nah 2023-06-19 22:00:44 psykose: am just testing that currently 2023-06-19 22:02:28 appears to have made no difference 2023-06-19 22:13:43 hmm 2023-06-19 22:14:12 I need to track down why the /dev/vg0/LVNAME creation is failing 2023-06-20 01:34:15 what does it indicate when a file named "oom" gets created 2023-06-20 01:37:20 that an application made a file named oom 2023-06-20 02:39:17 Nope. I run just docker containers. And this is getting created on home directory, which isn't mounted to any of the containers. I'm seeing a file named oom get created every once in a while. Either it should be zfs crying about something, or idk if it's something from the os 2023-06-20 02:40:49 98% sure nothing on linux makes a file named oom in the home directory 2023-06-20 02:41:02 so, some random application, ... 2023-06-20 02:41:45 don't think zfs does either 2023-06-20 02:43:57 That's bizarre af now. I switched oses as well, and replicated it yet :| 2023-06-20 02:43:58 Besides all this, I am getting panics or idk what that is, on random times which neither logged on previous boot logs nor show up at a replica table time 2023-06-20 03:12:07 did you `touch oom` 2023-06-20 03:53:03 minimal: any luck with this? My desktop just failed to boot with that error after upgrading today 2023-06-20 03:53:21 how recently did you upgrade 2023-06-20 03:53:34 was it to -r8 or -r9 lvm 2023-06-20 03:53:40 About 30min ago 2023-06-20 03:54:05 hm 2023-06-20 03:54:07 okie 2023-06-20 03:54:10 Cant recall exactly which revision  2023-06-20 03:54:24 Going to do it to my laptop and see what happens 2023-06-20 03:54:30 Is this recoverable?  2023-06-20 03:55:06 r10 should be fine after a chrooted upgrade + mkinitfs regeneration but that will take a while to build 2023-06-20 03:55:42 Mm, alright, thank you  2023-06-20 03:56:05 Almost had another heart attack when it dropped me to the recovery shell 2023-06-20 03:57:26 actually my fault this time 2023-06-20 03:58:07 Hey, it wasn't me? Alright!  2023-06-20 04:58:59 trying to get umurmur running in this Alpine container, but trying to start it through openrc prints out the error "start-stop-daemon: did not create a valid pid in `/run/umurmurd/umurmurd.pid'" 2023-06-20 04:59:20 though the daemon does start up just fine, openrc still thinks it's stopped 2023-06-20 04:59:37 what kind of container? 2023-06-20 04:59:52 it's an LXC container 2023-06-20 04:59:54 ok 2023-06-20 05:01:08 http://sprunge.us/yqHaDq 2023-06-20 05:02:20 tm512: might be that it's a timing issue 2023-06-20 05:02:37 the default thing does wait 100ms only 2023-06-20 05:03:35 is that configurable? this is a pretty fast system, so it's a bit weird, unless umurmur just has a particularly slow startup 2023-06-20 05:03:55 fc810262dc290a3917d8afefc6e5c2ecc6c148ef 2023-06-20 05:04:02 just delete that and should be fine if you don't want to wait for the build 2023-06-20 05:07:02 I'm not really that familiar with openrc. where would I find that? if the builds are quick I don't really mind waiting though, especially since the daemon itself is running fine, just in a way that confused openrc 2023-06-20 05:08:51 etc/init.d/umurmur 2023-06-20 05:10:53 ah I see, thanks 2023-06-20 05:21:50 the updated binary got pushed out pretty pretty quick, seemingly works fine now 2023-06-20 08:50:52 I ecrypted my whole disk during the install process. I want to shrink it but I can't figure how. I booted live Linux and tried to use gparted and cgdisk. They can decrypt the Alpine disk but doesn't allow to shrink/resize. What I am missing here? 2023-06-20 08:53:01 luks? 2023-06-20 08:56:13 Lvm 2023-06-20 08:58:07 luks encrypted? 2023-06-20 09:07:16 The default in Alpine. I chose encrypted, lvm, sys 2023-06-20 09:08:37 At least luksOpen opens it in terminal 2023-06-20 09:11:39 there're a few guides here: https://search.brave.com/search?q=shrink+luks+partition 2023-06-20 09:12:47 Thanks a lot for nothing. The exact search parameters I used in the exactly the same search engine. You're the mvp of the day! 2023-06-20 09:14:40 perhaps if you were a bit more explicit about what the problem is. "doesn't allow" is quite vague 2023-06-20 09:25:31 That's not really a good attitude for getting help :) 2023-06-20 12:31:02 wow that escalated quickly 2023-06-20 12:44:18 60% of the time it works every time 2023-06-20 13:24:51 hi minimal. Di you have any idea on how to progress on the LVM issue? 2023-06-20 13:59:59 Hm, was there a change recently that would cause boot to fail after an upgrade? 2023-06-20 14:04:59 That's too vague to answer 2023-06-20 14:05:09 Fail in what way? 2023-06-20 14:05:41 shrizza: on Edge? with LVM? 2023-06-20 14:06:08 > Hm, was there a change recently that would cause boot to fail after an upgrade? 2023-06-20 14:06:08 are you using LVM on your root volume? Are you usind eudev or mdev? 2023-06-20 14:06:10 raspbeguy: not so far, am trying to think what to test next 2023-06-20 14:07:26 Yeah, I just noticed a couple others mentioning it in my scrollback. Seems that LVM is failing to mount my root/swap volumes. 2023-06-20 14:07:47 And yes, edge. 2023-06-20 14:08:33 shrizza, is you manage to update now that should be fixed now 2023-06-20 14:08:53 Not sure about the mdev/eudev thing. 2023-06-20 14:10:09 if you don't know then you're proaby using mdev 2023-06-20 14:13:05 shrizza: so yes it seems you updated to a "broken" lvm2 package that has since been fixed 2023-06-20 14:19:12 Someone paste me The Ideal mkinitfs incantation while I USB recover. 2023-06-20 14:21:17 apk fix mkinitfs 2023-06-20 14:21:53 they'd have to update the lvm2/device-mapper packages first 2023-06-20 14:31:39 OK, did the upgrade (pulled down new lvm2), and apk fix mkinitfs. But now I just boot to a blinking cursor. I try typing something to see if I'm just blind at console, and it beeps on keypress after like 10 silent key inputs. 2023-06-20 14:32:32 shrizza: which bootloader? 2023-06-20 14:33:01 that sounds like something completely different broken now 2023-06-20 14:33:04 Grub I think. 2023-06-20 14:33:24 did you mount all the usual mounts for usb recovery 2023-06-20 14:33:30 so when Grub menu appears edit the boot option and remove "quiet" from the command-line 2023-06-20 14:33:31 /dev etc 2023-06-20 14:35:04 shrizza: did you only update lvm2 package or device-mapper/device-mapper-libs/device-mapper-event-libs also? 2023-06-20 14:35:46 I apk added lvm2 so I could vgchange -a y my volumes, then mounted that to /mnt/ and /dev/sda1 (my boot part) to /mnt/boot, chrooted into /mnt, did the apk upgrade (new lvm2 got downloaded), and finally did apk fix mkinitfs. 2023-06-20 14:36:29 shrizza: and the "apk fix" also updating device-mapper packages? 2023-06-20 14:36:45 you forgot all the mounts then 2023-06-20 14:37:34 yeah the bind-mounts for /dev, /sys, /proc etc before chrooting 2023-06-20 14:38:02 mkinitfs does some stuff based on detected devices and w/e 2023-06-20 14:38:11 so it will skip a ton of stuff without a full chroot 2023-06-20 14:39:06 mostly just need these 3 things https://wiki.archlinux.org/title/chroot#Using_chroot 2023-06-20 14:43:35 I have those three. I'm using a script on the Alpine Linux Chroot wiki page. 2023-06-20 14:44:14 not that then 2023-06-20 14:45:49 Removing quiet from boot args in grub conf did not appear to do anything. 2023-06-20 14:46:19 shrizza: from grub conf? or from entry in menu you see during boot? 2023-06-20 14:46:49 I actually don't even see the menu at boot. 2023-06-20 14:47:16 ah, you have it hidden then 2023-06-20 14:48:50 I'm not particularly married to grub if switching to syslinux would move me further along this problem. 2023-06-20 14:49:00 I could try that. 2023-06-20 14:50:03 switching bootloader is unlikely to have an effect on your problem 2023-06-20 14:51:05 is your /boot inside LVM? 2023-06-20 14:51:30 No. 2023-06-20 14:51:57 ok. If it was then you coludn't switch as Grub supports LVM directly but Syslinux (from memory) does not 2023-06-20 14:53:50 In times like this I'm wishing none of my crap is in LVM. 2023-06-20 14:54:26 there's nothing wrong/bad about LVM in general 2023-06-20 14:54:55 I don't know why I setup my daily driver like this. All the Alpine VMs I setup are always non-LVM. 2023-06-20 15:12:45 hmm, I believe that my alpine box is broken now 😞 2023-06-20 15:12:59 it's stuck on loading initial ramdisk 2023-06-20 15:13:25 is there's a way to debug it further or should I just reinstall it? 2023-06-20 15:15:47 So I notice when I do "apk fix mkinitfs" there's a warning: depmod: WARNING: could not open modules.builtin.modinfo at /tmp/mkinitfs.d1FzMi/lib/modules/4.19.176-0-vanilla: No such file or... 2023-06-20 15:16:03 I think it's related to that failed Linux kernel upgrade from yesterday 2023-06-20 15:17:05 ... 4.19.176-0-vanilla? 2023-06-20 15:34:42 eletrotupi: linux-vanilla was removed from Alpine 3.11.0 onwards. Are you the same person that was in the Libera alpine-linux channel recently? 2023-06-20 15:38:34 i think you read the wrong message 2023-06-20 15:40:55 ah, confused by the mixed posts of eletrotupi and shrizza 2023-06-20 15:41:19 So I removed linux-vanilla and installed linux-edge, and did apk fix mkinitfs again but still same result... 2023-06-20 15:41:41 skrizza: linux-vanilla does not exist since Alpine 3.11.0 so how did you have it on an Alpine Edge system? 2023-06-20 15:42:24 I don't know... This laptop's been through a lot. 2023-06-20 15:43:50 I also switched to syslinux, removed quiet from boot args, and commented out "menu hidden". Still just a blinking cursor though. Is this just hosed? 2023-06-20 15:44:30 psykose: there was someone on Libera alpine-linux recently claiming there were running Alpine 3.18.2 but said they had a initramfs-vanilla file - seemed they'd originally installed 3 years ago and upgraded since (but never indicated how/how many times they upgraded) 2023-06-20 15:45:54 I have 3.15 main/community pinned for like 2 packages but everything else is edge. 2023-06-20 15:46:05 shrizza: why did you install linux-edge rather than linux-lts? why did you have linux-vanilla installing on an Alpine Edge system in the first place? The Alpine 3.11.0 Release Notes indicate to install linux-lts as part of upgrading to 3.11.0 2023-06-20 15:46:28 shrizza: that is NOT supported, you cannot mix edge repos with another release 2023-06-20 15:47:39 shrizza: sounds like you have some sort of Frankenstein installation 2023-06-20 15:47:50 No clue, I just apk upgrade the things. 2023-06-20 15:48:07 So I'll try linux-lts instead. 2023-06-20 15:48:34 just trying "random" things is not a good way to debug a problem 2023-06-20 15:50:00 OK but wait I'm getting further after removing USB HDD from my BIOSs boot devices. Not sure why that would matter when I have the boot USB removed... 2023-06-20 15:50:26 as mkinitfs failed with a reference to a 4.19.176-0-vanilla kernel then it seems you no longer have a valid initramfs file 2023-06-20 15:50:51 and you've installed linux-edge (which is not 4.19.176) 2023-06-20 15:51:08 OK, everything works again. 2023-06-20 15:51:39 I alreaded apk del'd linux-vanilla before adding linux-edge. 2023-06-20 15:52:02 And did mkinitfs after that. 2023-06-20 15:52:37 and mkinitfs gave that error about 4.19.176-0-vanilla then? 2023-06-20 15:53:13 That was before I removed linux-vanilla. 2023-06-20 15:55:15 I agree that my kernel situation was frankensteiny but I don't know man like I said I just apk upgrade things and they tend to just work. 2023-06-20 15:55:33 what is on "USB HDD"? could there be an Alpine install on there? 2023-06-20 15:56:08 BIOS or UEFI? 2023-06-20 15:56:16 Yeah it was the USB boot stick I was using. 2023-06-20 15:56:21 BIOS. 2023-06-20 15:56:58 Having it unplugged with the USB HDD prioritized was causing problems. 2023-06-20 15:57:22 That was a large source of my confusion while troubleshooting this. 2023-06-20 15:58:38 Everything appears to be working beautifully again so thanks! 2023-06-20 16:01:01 eletrotupi: If our issues are similar, you gotta boot into Alpine Linux install USB, mount your LVM volumes and /boot partition (into say /mnt), then chroot into /mnt, apk upgrade the fixed lvm2 packages, and run apk fix mkinitfs. 2023-06-20 16:18:19 shrizza: yeah, but I can't seem to mount the decrypted LUKS partition 2023-06-20 16:18:43 mount complains about an invalid argument 2023-06-20 16:18:57 mount /dev/mapper/partition /mnt 2023-06-20 16:19:58 Oh, I just went through scrollback and I see more context for your case. Limited space on /boot is compounding? 2023-06-20 16:20:46 yeah, I think that during the upgrade 2023-06-20 16:21:12 it failed to upgrade and run mkinitfs 2023-06-20 16:21:35 then I rebooted now and it got stuck on loading initial ramdisk 2023-06-20 16:22:00 but now I'm confused, since appears that I can mount the drive anymore 2023-06-20 16:22:24 I mean, luksOpen worked fine 2023-06-20 16:22:28 So /dev/mapper/partition contains your luks open'd partition? 2023-06-20 16:22:39 but mounting seems to be problematic as well 2023-06-20 16:22:42 yeah 2023-06-20 16:23:01 What's the exact complaint from mount? 2023-06-20 16:23:09 Invalid argument 2023-06-20 16:23:14 tried with -v as well 2023-06-20 16:23:19 eletrotupi: "mount -t ext4 /.dev/mapper/partition /mnt" ? 2023-06-20 16:23:25 but it outputed the same thing 2023-06-20 16:23:30 hm lemme try 2023-06-20 16:23:51 oh, there we go 2023-06-20 16:23:52 nice 2023-06-20 16:24:10 ok, now for the boot part 2023-06-20 16:24:39 Yeah, you gotta copypasta the script on Alpine Linux's Chroot wiki to chroot the right way. 2023-06-20 16:24:42 Busybox mount tends to need you to tell it the type of filesystem 2023-06-20 16:25:26 The script is named 'start-chroot'. 2023-06-20 16:25:55 ok, thanks shrizza 2023-06-20 16:26:04 I'll eat something then I'll try it again 2023-06-20 16:26:20 I saw also a guy saying that he just wiped his /boot partition 2023-06-20 16:26:23 recreated 2023-06-20 16:26:31 and moved on 2023-06-20 16:27:45 I had the mindset of as long as my .ash_history survives I don't care about anything else. 2023-06-20 16:28:08 Bit of an exaggeration but not far-fetched. 2023-06-20 16:30:52 eletrotupi: where did you see someone say he just wiped his /boot etc? 2023-06-20 16:35:39 I mean, in a sense I mostly wiped my /boot by doing apk del linux-vanilla, apk add linux-edge, and apk fix mkinitfs. 2023-06-20 16:39:32 shizza: I assume the guy he was telling you about wasn't you ;-) 2023-06-20 17:07:35 ok, I'm back 2023-06-20 17:07:51 minimal: on some other forum 2023-06-20 17:08:22 hm, I wonder if one could use arch-chroots scripts to chroot 2023-06-20 17:08:30 I think I actually did that last time 2023-06-20 17:16:37 eletrotupi: you just create your own chroot 2023-06-20 17:17:05 learn from here: https://wiki.gentoo.org/wiki/Chroot 2023-06-20 17:17:25 and then, you make a simple script ... and use that to do the mounting preparation. 2023-06-20 17:18:29 ok, chrooted 2023-06-20 17:18:33 apk del linux-lts 2023-06-20 17:19:44 which left 5.4MB on /boot then apk add linux-lts 2023-06-20 17:19:56 which fails when executing mkinitfs 2023-06-20 17:19:59 fucking hell 2023-06-20 17:20:07 I think I might unmount everything 2023-06-20 17:20:37 then free, I dunno, 100MB from my /home partition 2023-06-20 17:20:48 so I can shove it unto the /boot partition again 2023-06-20 17:36:52 eletrotupi: what's in your /boot? ls -lh /boot 2023-06-20 17:52:22 nothing much, efi and grub 2023-06-20 17:54:41 but I'm going to do a full reinstall anyway 2023-06-20 17:58:55 dunno why the /boot partition was so smol 2023-06-20 18:00:02 Because it could for a long time 2023-06-20 18:02:25 I installed alpine on lime2 2023-06-20 18:02:33 With a single FAT32 partition 2023-06-20 18:03:29 During alpine-setup, I enabled partition to be mounted at /media/mmcblk0p1 which is not where I want it 2023-06-20 18:03:42 I want the 14.8GB partition as root 2023-06-20 18:04:32 When I took out the sd card and mounted the partition at sda1 (14.8GB) one, it doesn't show any root directories 2023-06-20 18:04:50 But the normal contents of tarball of apk boot, etc. 2023-06-20 18:04:58 I need your help 2023-06-20 18:05:12 Why can't I see the filesystems in the mounted partition? 2023-06-20 18:05:20 on another system? 2023-06-20 18:06:03 In fstab I changed the partition mounting from /media/mmcblk0p1 to / and I couldn't boot anymore! 2023-06-20 18:57:02 Please post the answers. I'll check the logs. 2023-06-20 19:22:24 aight, managed to get back where I was 2023-06-20 19:22:33 only issue (as usual) is sound 2023-06-20 19:22:46 apparently aplay -l doesn't detect any soundcards 2023-06-20 19:23:02 (and I thought I would have to battle again with nvidia) 2023-06-20 19:27:39 just use pipewire 2023-06-20 19:27:45 yeah 2023-06-20 19:27:49 I have that installed 2023-06-20 19:28:03 but wpctl status lists only a Dummy Output 2023-06-20 19:28:17 since it prolly can't find a sound card (?) 2023-06-20 19:28:29 might be a kernel module missing, I guess? 2023-06-20 19:29:57 not likely 2023-06-20 19:30:07 is your user in the audio group 2023-06-20 19:30:12 yes 2023-06-20 19:30:21 same with root (since the alsa wiki page says it needs to) 2023-06-20 19:31:54 bah, I kinda remember having to tinker with SOF firmware binaries on this lappy 2023-06-20 19:36:08 that was it 2023-06-20 19:48:05 what is the tinkering 2023-06-21 00:28:46 eletrotupi: Oh no, did you end up reinstalling? 2023-06-21 00:28:57 yeah 2023-06-21 00:29:31 only considered that due to the fact that this is a work machine & we use docker for all development 2023-06-21 00:29:40 so it was 'cheaper' to recreate everything 2023-06-21 00:30:07 but while I had it mounted I took the opportunity to double check if anything was missing (config files, pending git changes, etc) 2023-06-21 00:30:29 I'm using it right now normally 2023-06-21 00:30:45 also, setup-disks slapped a nice 300mb partition for /boot now 2023-06-21 00:30:47 :D 2023-06-21 00:31:50 Ah, well at least you seem to be on top of it. What laptop BTW? 2023-06-21 00:34:26 My daily driver was installed in 2018 I think and this is my /boot situation: 2023-06-21 00:34:32 /dev/sda1 92M 34M 52M 40% /boot 2023-06-21 00:35:19 shrizza: yes setup-disk was changed in past to size /boot differently 2023-06-21 00:35:22 it's a dell vostro 15 5510 2023-06-21 00:44:33 seems like Alpine is a little bit weird with urxvt? I installed rxvt-unicode-terminfo which got things mostly working, but if I open up tmux, "10;rgb:d900/d900/d900]11;rgb:0d00/0d00/0d00" is spat out to stdin 2023-06-21 00:44:58 my TERM is set to rxvt-unicode-256color 2023-06-21 01:07:39 hmm, one thing I just noticed is that inside tmux, on Alpine TERM gets set to tmux-256color, whereas on Ubuntu, Void, and DragonflyBSD, where tmux does not have this issue, TERM gets set to screen on Ubuntu and screen-256color on the others 2023-06-21 01:10:17 adding this to ~/.tmux.conf does not change things though: set -g default-terminal "screen-256color" 2023-06-21 01:17:35 tmux having a term of tmux sounds correct 2023-06-21 01:23:15 yeah, but having escape codes input onto the command line isn't correct 2023-06-21 01:23:53 certainly not 2023-06-21 01:25:43 doesn't happen if I nest tmux within a tmux session. such a weird issue, never seen this happen before and I've been using tmux for a while 2023-06-21 01:27:05 gonna see if this happens in xterm or just urxvt 2023-06-21 01:27:20 ACTION apparently doesn't even have xterm installed 2023-06-21 01:27:29 doesn't seem to 2023-06-21 01:27:33 classic urxvt moment 2023-06-21 01:27:50 i mistakenly actually went to check if there was something interesting in the git history 2023-06-21 01:27:52 but you see 2023-06-21 01:27:54 it's urxv 2023-06-21 01:27:57 so it's cvs 2023-06-21 01:30:39 indeed, launching this in actual xterm doesn't cause this issue, but TERM=xterm tmux still has the issue, so I guess it's not terminfo-related 2023-06-21 01:31:07 if it's urxvt though I'm not sure why it behaves on every other system I can try 2023-06-21 01:33:43 it's probably just ncurses 2023-06-21 01:36:00 hm, nah prolly not 2023-06-21 01:36:08 there's also https://gitlab.alpinelinux.org/alpine/aports/-/issues/14525 as a separate issue where it has a bunch of newlines 2023-06-21 01:38:11 oh yeah, that issue. I dunno that it's related though 2023-06-21 01:40:42 not very 2023-06-21 01:42:25 well, I guess in the meantime I'll just keep using tmux on the host rather than in the Alpine container, since that works fine still 2023-06-21 01:43:35 I just kinda wanted to make an openrc service script to launch this minecraft server inside of a tmux session, keep it entirely within the container and have it autostart 2023-06-21 01:44:19 I kinda need it to be in tmux so that I can attach to the server console whenever I need to 2023-06-21 02:00:58 Whoa, just noticed all the xterm talk here as I'm getting ready to paste a screenshot of some weirdness I'm seeing in xterm after upgrading yesterday. 2023-06-21 02:01:02 https://imgur.com/a/8Uyfwz1 2023-06-21 02:01:44 As is mentioned in the description: Some Unicode glyphs disappear after screen redraw. Ctrl-L makes everything appear properly again, but the same glyphs disappear when the window is hidden and redisplayed (such as through change of tile/workspace focus). 2023-06-21 02:26:47 Minimal and psykose, you beautiful people, thank you for helping me get my systems running again after the LVM incident 2023-06-21 02:27:04 Now polkit is broken at XFCE login, but that I believe to be unrelated  2023-06-21 02:27:41 classic 2023-06-21 02:27:57 Yeah, thanks dudes. 2023-06-21 02:28:13 Is polkit normally a pain in the booty?  2023-06-21 02:45:20 Do I need shadow-login or until-Linux-login if I'm running elogind OpenRC service?  2023-06-21 04:19:24 I discovered that toggling on "Line-Drawing Characters" in xterm's right-button menu fixes the above glitch. Now trying to figure out how to have that toggled on by default. 2023-06-21 12:55:04 raspbeguy, psykose: regarding /dev/mapper/ symlinks, I'm starting to wonder the point of trying to "fix" this as it can only be "fixed" in very specific situations in Alpine 2023-06-21 13:15:47 I have been trying different ways to install alpine on a Raspberry Pi with lvm over raid1, with this last method, I lose kernal message during boot and shut down after the initial install. Google was no help as usual. I will be out of office until 4pm cst Thanks 2023-06-21 14:41:13 minimal, well for me the only way to fix it is to patch busybox mdev I guess 2023-06-21 14:43:01 raspbeguy: well first it depends on exactly *what* is to be fixed - /dev/mapper softlinks when using LVM with udev? or also softlinks when using LUKS with udev? softlinks in general whether using udev or mdev? 2023-06-21 14:43:43 raspbeguy: mdev isn't creating the files in /dev/mapper, lvm/devmapper and cryptsetup are so there's nothing really to fix in mdev 2023-06-21 14:44:56 I mean, implement udev_sync feature in mdev 2023-06-21 14:45:12 don't know if that's feasible but this is my only idea 2023-06-21 14:45:24 raspbeguy: you mean turn mdev into a clone of udev? mdev does not work the same way as udev 2023-06-21 14:45:40 I see 2023-06-21 14:46:40 or somehow disable lvm udev_sync feature in initfs 2023-06-21 14:47:26 I guess this bug should be reported to busybox devs, maybe they'll know how to address it 2023-06-21 14:47:39 that doesn't "solve" the problem. I have udev_sync disabled when the initramfs runs, which means that /dev/mapper/ entries are created as *files* by libdevmapper (via nlplug-findfs) 2023-06-21 14:47:58 raspbeguy: why busybox? it has nothing to do with busybox/mdev 2023-06-21 14:48:13 oh I thought mdev was part of busybox 2023-06-21 14:48:30 yes mdev is part of busybox but there is no problem with mdev 2023-06-21 14:48:47 then report the issue to lvm devs 2023-06-21 14:49:04 what "bug" exactly to report for mdev? It does NOT create /dev/mapper entries at all, other programs do 2023-06-21 14:49:23 so what is exactly creating the bug? 2023-06-21 14:49:49 hi friends, I'm setting up my laptop with iwd for wifi by following the wiki entry. unfortunately, whether my wifi works or not seems to be a race condition as it changes each boot. dbus and iwd start before networking but, for example, I get output "ip: ioctl xxxxxx failed: no such device\n udhcp: ioctl xxxxxx failed: no such device\n ifup: failed to change interface WLAN state to 'up'". 2023-06-21 14:49:49 restarting the service post boot fixes it but is rather annoying. should I have iwd handle the networking itself like is noted after the /etc/network/interfaces file contents section? 2023-06-21 14:49:49 raspbeguy: report an issue to lvm devs that they don't offer functionality to "sync" with mdev which doesn't offer such sync functionality in the 1st place? 2023-06-21 14:50:16 raspbeguy: what buy? there is a difference in *behaviour* between mdev and udev, that's not a bug 2023-06-21 14:50:53 all I know is that there is a fatal issue when using lvm with udev_sync with mdev 2023-06-21 14:51:01 I know literally nothing else 2023-06-21 14:51:33 mdev as set up in Alpine does not have a daemon (whereas udev does). Now there is a daemon for mdev that can be enabled (if Busybox package is rebuilt) but I don't know if it would "handle" any sync interface 2023-06-21 14:51:48 so tell LVM people that when running lvm with udev_sync build option, without even using the ferature, that creates a bug 2023-06-21 14:52:32 what "fatal issue"? there is a difference in behaviour between Alpine and many/most other distros which is due, in part, to Alpine using mdev in the initramfs even if udev is used later in boot 2023-06-21 14:53:41 raspbeguy: what bug? I don't see any bug with lvm udev_sync, I have it "working" on a mdev-only VM (as in the system boots) but the /dev/mapper entries are files not symlinks 2023-06-21 14:54:37 The bug in my opinion is that lvm behaviour when built without the feature should be the same as lvm build with it, with the feature disabled in the config 2023-06-21 14:55:04 and the behaviour is the same 2023-06-21 14:55:30 but that doesn't solve the "issue" of file vs symlink 2023-06-21 14:57:24 In my case, /dev/mapper is not populated at initfs step, because I don't activates the volume at boot 2023-06-21 14:57:40 so I need the udev_sync option 2023-06-21 14:58:12 aargh, sorry this conversation seems to be going nowhere 2023-06-21 14:58:37 yes you need the udev_sync option for your specific situation where you are using udev and it works as expect in that very specific situation 2023-06-21 14:59:17 another idea would be to have another piece of software that to the symlinks 2023-06-21 14:59:37 so we can let lvm built without the feature 2023-06-21 14:59:39 however it does not work as "expected" (where this means /dev/mapper entries should be symlinks) in other situations 2023-06-21 15:00:49 if you build lvm2 without the udev_sync feature then we are back to the start - that lvm2/device-mapper will create *FILES* in /dev/mapper so unless this "another piece of software" removes those files and replaces them with symlinks will resolve nothing 2023-06-21 15:01:22 true 2023-06-21 15:01:57 lvm2/device-mapper creates FILES at all times *unless* the udev_sync feature is enabled and it is able to talk to udev to arrange for udev to create the entries as symlinks instead 2023-06-21 15:01:58 so build it WITH the feature and let the magic piece of software handle the sync stuff 2023-06-21 15:03:19 how? lvm2/device-mapper "discovers" udev to talk to it so the magic software would have to somehow ensure they talk to it instead of udev and then udev events probably come into the picture as well 2023-06-21 15:03:49 and that doesn't handle the mdev-only scenarios 2023-06-21 15:04:14 and doesn't handle udev scenarios where either LVM or LUKS is being used for the device containing the rootfs 2023-06-21 15:05:13 it would if that program was part of the initfs I guess 2023-06-21 15:05:30 nope as initramfs only uses mdev not udev 2023-06-21 15:05:36 but again, I speak about hypothetic stuff that I don't know 2023-06-21 15:06:34 not taking about udev right now 2023-06-21 15:06:57 my fancy idea would be to have something between lvm and mdev 2023-06-21 15:07:22 as I said mdev (as used by Alpine) has no "sync" interface 2023-06-21 15:08:11 I don't even know if that something have to speak to mdev 2023-06-21 15:09:22 as I explained the lvm buildin functional is basically "either (a) if udev_sync is enabled and I can talk to udev I ask it to create mapper entries (which is will do as symlinks), otherwise (b) I create files in mapper directory 2023-06-21 15:09:38 correct 2023-06-21 15:09:54 that something would make believe to lvm that it's udev 2023-06-21 15:10:36 mdev (a) currently has no rules to create mapper entries, and (b) lvm sees either udev_sync is disabled or it cannot contact udev and goes ahead and creates files itself 2023-06-21 15:11:15 raspbeguy: which as i said before means rewriting/reconfiguring mdev to look/act like udev 2023-06-21 15:11:26 mdev is NOT intended to be a clone of udev 2023-06-21 15:11:28 also, another idea would be to fill a feature request to lvm for an option to create symlinks in the case it doesn't find udev 2023-06-21 15:12:29 (or patch it ourself) 2023-06-21 15:12:32 and a similar feature request for cryptsetup as well I guess 2023-06-21 15:12:46 yes 2023-06-21 15:13:40 which all goes back to my original point several hours ago, what *exactly* is the extent of the intention/wish of what to "fix"? 2023-06-21 15:14:28 to modify lvm2, cryptsetup, perhaps mkinitfs and other packages, to have both mdev and udev situations create symlinks for LVM and LUKS devices? 2023-06-21 15:15:46 that seems correct 2023-06-21 15:16:34 well apart from yourself who else want this "fix"? Would such a broad change be accepted for merging in Alpine? 2023-06-21 15:16:58 I've had changes refused in the past as people didn't agree with them 2023-06-21 15:21:53 so these seems like the sort of thing that the TSC would have to decide upon 2023-06-21 15:22:32 I'm just giving my opinion since you asked for it 🙂 2023-06-21 15:24:23 I'll manage to do what I want one way or another. But as I noticed I am not the only one that the lack of symlinks bothers, you are also 2023-06-21 15:25:01 I can just code-around the mapper entries being files rather than symlinks 2023-06-21 15:25:28 I can too 2023-06-21 15:27:31 In my sanlock-using case, the udev fix that submitted psykose solved my issue **for existing volume groups only** which is something I can live with 2023-06-21 15:29:46 raspbeguy: did you *fully* test it to be sure? including a reboot test? 2023-06-21 15:29:55 but I still think that's a bug that should be addressed by lvm and cryptsetup and whatever 2023-06-21 15:30:09 minimal, even a reinstall test yes 2023-06-21 15:30:27 you keep saying "bug" when it appears to be a *difference in behaviour* 2023-06-21 15:30:42 between mdev systems and udev systems 2023-06-21 15:30:56 raspbeguy: can you explain your sanlock-using case and what problem that solves for you? just curious (and sorry if this is already deep in the scroll somewhere) 2023-06-21 15:30:58 well it's a bug that LVM doesn't address well to this difference in behaviour 2023-06-21 15:31:40 invoked, well I use a shared volume group between my hypervisors 2023-06-21 15:31:45 raspbeguy: says who? lvm2 only has support for udev, I assume they'd tell you they don't support mdev (or at least didn't design for mdev) 2023-06-21 15:32:23 minimal, if they do, that would at least be clear 2023-06-21 15:32:53 raspbeguy: is it a "bug" that a Ford Focus doesn't work well when you remove the differential and replace it with a Mitsubishi differently? 2023-06-21 15:32:59 and they do support systems withour udev, it's just they do do it properly 2023-06-21 15:33:30 that's why you're supposed to disable udev features in the config 2023-06-21 15:33:43 if those options exists, they support the case 2023-06-21 15:34:27 eh? with udev disabled the mapper entries are files not symlinks 2023-06-21 15:34:37 corect 2023-06-21 15:34:47 so how is that "supporting the case"? 2023-06-21 15:34:49 because lvm created those files 2023-06-21 15:35:11 lvm should have created symlinks instead 2023-06-21 15:35:19 says who? 2023-06-21 15:35:24 that's why I say : they support the case, but not properly 2023-06-21 15:35:53 who says lvm2 should create symlinks? 2023-06-21 15:35:59 the udev devs? 2023-06-21 15:36:04 someone else? 2023-06-21 15:37:36 back to sanlock : when using lvm shared features (using sanlock), lvmlock (which is part of lvm code) ask to sanlock to manage its locks on a special lv that lvm created just for it 2023-06-21 15:37:39 lvm2 is doing things "differently", that does not necessarily mean it is doing things wrong 2023-06-21 15:37:57 if mermissions are not right on this lv device node, that's lvm fault 2023-06-21 15:38:27 what is not right about permissions? 2023-06-21 15:38:53 the file in /dev/mapper is owned by root:root mode 600 2023-06-21 15:39:04 ok, and? 2023-06-21 15:39:24 it should either be a symlink, or have correct permissions, which are root:disks mode 660 2023-06-21 15:39:45 who said that all distros have a group called "disks"? 2023-06-21 15:40:08 they sure don't, but lvm should have a config option to manage it 2023-06-21 15:40:23 perhaps they do, I don't know 2023-06-21 15:40:59 s/disks/disk 2023-06-21 15:41:59 anyway, I'm not revendicating anything, just speaking because you asked for my opinion 2023-06-21 17:36:48 Hola 2023-06-21 17:37:10 Anybody around here is using unfs3 successfuly? 2023-06-21 17:38:08 When running: doas unfsd -d -l my_LAN_IPv4 2023-06-21 17:38:16 It tells me: unable to register (NFS3_PROGRAM, NFS_V3, udp). 2023-06-21 17:38:48 But when strace-ing it, I can see that it tries to bind to :: 2023-06-21 17:38:59 And fails 2023-06-21 17:53:44 does it magically work if you pass the -p option as well? 2023-06-21 17:54:48 Well, it doesn't complain, but then nfs doesn't mount ;p 2023-06-21 20:02:29 Newbie question, can Alpine run on older (x86_64) Dell and HP laptops? 2023-06-21 20:04:36 you could try the extended iso 2023-06-21 20:05:17 or maybe just the standard 2023-06-21 20:06:58 lopid, will do. I wasn't sure if there was a limited hardware list, or what. Haven't looked at Alpine much, but what I see looks good. 2023-06-21 20:07:29 not that i know of 2023-06-21 20:09:21 Is Alpine more like BusyBox, where there's one big binary that does lots of Unix-y stuff? Or is it more a "just the facts" with actual software? 2023-06-21 20:10:00 alpine uses busybox 2023-06-21 20:10:01 it's quite minimal, comes with busybox as default, though you can extended it with other gnu type stuff 2023-06-21 20:10:12 -ed 2023-06-21 20:10:56 there are those who run it as their daily desktop 2023-06-21 20:11:44 I'm happy to give it a go, anything without systemd is a win. 2023-06-21 20:11:50 ;) 2023-06-21 20:14:45 I used to do NetBSD, and loved the small kernel and the zippy fast response. 2023-06-21 20:20:03 And now you have to deal back with Linux 2023-06-21 23:31:25 > there are those who run it as their daily desktop 2023-06-21 23:31:25 Raises hand 2023-06-21 23:32:18 same here :) 2023-06-21 23:34:21 desktop? what's that? Alpine is clearly the superior OS for daily laptops! 2023-06-21 23:34:35 Minus some Edge hiccups that I obviously signed myself up for, absolutely solid and brilliant on latest-stable always 2023-06-21 23:35:08 zcrayfish: Truth! That's also where it is! Last thing is my NAS, once I figure out if I can force it on there somehow  2023-06-21 23:35:17 laptop is what I meant for myself anyway 2023-06-21 23:35:20 it's on my Framework 2023-06-21 23:35:54 elly: Yoooooooo. How is it on there? ALS working? Suspend/resume? Brightness and other function keys?  2023-06-21 23:36:41 I might go Star Labs anyway because $$$, but the FrameWork is so cool 2023-06-21 23:41:42 framework is that modular laptop brand right? 2023-06-21 23:42:26 yeah 2023-06-21 23:49:02 yep! 2023-06-21 23:49:19 Saijin_Naib[m]: not sure what ALS is, I do not have suspend/resume working, and I do have the function keys working :) 2023-06-21 23:49:35 https://elly.town/d/blog/2022-10-20-alpine-framework.txt I should write an update to this 2023-06-21 23:53:59 ambient light sensor?? 2023-06-21 23:54:08 ALS is the Ambient Light Sensor, yeah 2023-06-21 23:54:24 Miss that from my HP EliteBook 2740p 😭 2023-06-21 23:54:36 My GeoBook has nothing 🤣 2023-06-21 23:55:06 my latitude 5430 rugged doesn't have one either, but I wondered about using the webcam to simulate one. oh well. 2023-06-22 00:00:32 "my latitude 5430 rugged doesn'..." <- Should be doable, but I feel like the power consumption would be nuts, even if you just poll once every few seconds  2023-06-22 05:29:06 Daily on my laptop (ThinkPad X200), desktop (Fujitsu Primergy), and a buncha servers and VMs. 2023-06-22 05:30:48 don't think i've ever even heard of the primergy series 2023-06-22 05:37:41 I'm personally appreciating just how tiny Alpine is, seems great for containers 2023-06-22 05:38:24 IIRC that was the original point (great for containers) 2023-06-22 05:38:48 the Alpine image from linuxcontainers.org was just 14MB, whereas even Void was over 200MB, before installing anything at all 2023-06-22 05:40:43 alpine existed almost a decade before docker so that was very much not the original point 2023-06-22 05:41:14 whereas Ubuntu 23.04 was over 700MB. feels like for a large number of containers you'd end up wanting to do something where every container shares that original rootfs and has all of their specific stuff in a separate volume, maybe mounted as overlayfs or something 2023-06-22 05:42:59 that's how docker works in the first place 2023-06-22 05:43:58 but not somehting like lxc 2023-06-22 05:44:10 containers are just processes with pieces of flare, it's important to remember that 2023-06-22 05:44:35 psykose: I stand corrected. Or sit I guess :P 2023-06-22 05:45:18 looks like lxc just downloads void's regular rootfses, which are more intended for a bare-metal system 2023-06-22 05:45:37 ikke: yeah I'm talking about lxc, though that use case would probably strongly point towards docker 2023-06-22 05:45:57 if you made an lxc container using base-minimal (which is meant for containers), it'd probably be a lot smaller 2023-06-22 05:46:45 for my recent (and first) foray into containers I had assumed lxc would be simpler to get working even though docker would've fit the task pretty well 2023-06-22 05:47:09 seems making assumptions is dangerous, because it was a bit of an ordeal 2023-06-22 05:48:16 XBPS_ARCH=x86_64-musl xbps-install -R https://repo-fastly.voidlinux.org/current/musl -r test-void -S base-minimal && du -sh test-void -> 77MB 2023-06-22 05:48:31 which is quite a bit smaller than lxc's image 2023-06-22 05:49:06 imagine small image when big image 2023-06-22 05:49:17 love to make big image 2023-06-22 05:50:11 abby: that seems more reasonable. of course Alpine still has it beat but I think busybox is a compromise personally, generally having coreutils is more comfortable 2023-06-22 05:50:27 yeah void isn't really focused on size 2023-06-22 05:51:16 maybe we could build a container rootfs tho 2023-06-22 05:52:19 Is XFS over LVM (in?) doable with setup-alpine/setup-disk using arguments and/or environment variables, or is this in the do it myself offline and then mount and point Alpine to the mount camp?  2023-06-22 05:52:38 I wonder how tiny a Chimera Linux container would end up being, I think it ports its userland from various BSDs 2023-06-22 05:52:53 I think I need to reinstall my desktop and might as well use XFS, I guess 2023-06-22 05:52:58 just freebsd 2023-06-22 05:53:08 i think 2023-06-22 05:53:35 Is Chimera the Alpine variant for retrogaming?  2023-06-22 05:53:46 chimera has nothing to do with alpine 2023-06-22 05:53:51 you're thinking of GamerOS 2023-06-22 05:54:08 tm512: smallest rootfs on chimera's download page is 5MBish https://repo.chimera-linux.org/live/latest/ 2023-06-22 05:54:16 Ah, sorry 2023-06-22 05:56:40 tm512: you can just apk add coreutils and get them 2023-06-22 05:57:00 abby: pretty tiny, though it probably decompresses a bit larger than Alpine if the image sizes displayed through `lxc images` indicate anything. the alpine/3.18 image is 2.75MB compressed (for aarch64) 2023-06-22 05:57:43 Saijin_Naib[m]: ROOTFS=xfs iirc 2023-06-22 05:59:11 psykose: yeah, I noticed coreutils were available, just haven't had a pressing need to grab them so far 2023-06-22 06:00:35 I'm not doing a whole lot in this container, only got a Minecraft server and umurmur running. I'd probably end up wanting GNU or BSD userland if this were more of a daily driver 2023-06-22 06:06:08 psykose: it's that simple? Damn, these setup scripts are amazing  2023-06-22 06:06:22 dunno if i'd call that amazing 2023-06-22 06:06:22 100% chance I fuck it up if I do it manually  2023-06-22 06:07:04 Is it as cozy as Calamares or whatever? No, but it does what is needed fairly friendly 2023-06-22 06:07:16 Asking for fstype would be much better, but this works 2023-06-22 15:07:20 hm, I wonder how (and if) should we package stuff that should be runned under the local user 2023-06-22 15:07:53 for instance, I was looking at packaging a LSP, which by default installs on $HOME/.local/bin 2023-06-22 15:08:29 If you package it, you would install it globally 2023-06-22 15:08:32 not in the users home 2023-06-22 15:08:32 but I dunno know, installing globally (or at /usr/local/bin) sounds... weird? 2023-06-22 15:08:40 why? 2023-06-22 15:08:48 packages should never install in /usr/local 2023-06-22 15:08:56 well, /usr/bin* 2023-06-22 15:09:03 why is it weird to install there? 2023-06-22 15:10:24 well, mostly because the package will default to somewhere else 2023-06-22 15:11:26 default in what sense? 2023-06-22 15:11:48 it starts, checks its own location, and tells you to move it? 2023-06-22 15:12:42 but I dunno, might send a patch upstream to allow configure the make install rule 2023-06-22 15:13:03 in the sense that it's literally typed to install to .local/bin 2023-06-22 15:13:14 i don't think it's relevant what some line in a makefile does 2023-06-22 15:13:23 which project 2023-06-22 15:13:24 either patch it, or manually install it 2023-06-22 15:13:38 also, saw that there was a couple of issues with dotnet+musl on the repo 2023-06-22 15:13:47 ah, dotnet 2023-06-22 15:13:50 just don't package it then 2023-06-22 15:13:51 ez 2023-06-22 15:13:51 so I'll take a look at it after work 2023-06-22 15:13:56 ahahahaha 2023-06-22 15:14:01 yeah, that's what I thought too 2023-06-22 15:14:44 past me was smoking some crack and actually merged it for some reason 2023-06-22 15:15:19 kek 2023-06-22 17:53:07 hi. I'm working on a software package on alpine where I need to define specific user:group for a catalog we ship. The problem is, the user is not created at the time package is built. Is my best option to create the directory in pre-install scripts? 2023-06-22 17:54:08 pkgusers=user install -o user 2023-06-22 17:54:41 the pre-install script is to make sure the user exists in the target system 2023-06-22 17:54:48 not during build (package) 2023-06-22 17:56:54 sure 2023-06-22 18:06:24 hmm, I've added both pkgusers="nginx" to my APKBUILD, and using pkgusers=nginx install -d -m750 -o nginx -g root ./var/lib/nginx/state; and it's still install: invalid user ‘nginx’ under fakeroot 2023-06-22 18:08:08 thresh! :-o 2023-06-22 18:09:31 you don't need it again i just condensed it, it's just `install -d -o nginx`... 2023-06-22 18:09:34 how are you running abuild 2023-06-22 18:11:20 cd abuild-base/ && abuild checksum && abuild unpack && abuild prepare && abuild -K build && abuild rootpkg 2023-06-22 18:13:57 if you just use `abuild -r` does it work 2023-06-22 18:14:43 `mkusers` is the part you are missing 2023-06-22 18:15:35 mhm, thanks 2023-06-22 18:16:34 so through abuild -r it will create system users on an actual build host? 2023-06-22 18:16:53 ye 2023-06-22 18:17:06 not fun :/ but that helps 2023-06-22 18:18:03 don't really want to give build user that kinda privileges 2023-06-22 18:19:00 what is the actual way to create users/groups that can be used for files/dirs that then get put into tar that works inside fakeroot/userns 2023-06-22 18:19:15 not aware of one that is not 794 steps 2023-06-22 18:20:19 I assume rpm/deb just have a clever hack to chown to whatever on some internal install phase 2023-06-22 18:21:09 the install part is the easy one 2023-06-22 18:21:12 there's no hacks there 2023-06-22 18:21:26 the info to do it with that comes from somewhere is the one in question 2023-06-22 18:21:40 yeah I understand the problem 2023-06-22 18:22:04 seems like some subuid thing inside 'user name spaces' is the webscale solution of 2037 to use 2023-06-22 18:22:08 maybe i'll look at it eventually 2023-06-22 18:22:08 I'll just hack it in postinst.. 2023-06-22 18:28:43 I don't know if this is the best place to ask but I have a question about cloud-init. My config (NoCloud) provides a new name for an ethernet device. However things seem to happen out of order. /etc/init.d/networking fails to bring the interface up because it doesn't yet exist. However when I login to the box I am able to see the new name in /sys/class/net/ -- So if I run 2023-06-22 18:28:44 /etc/init.d/networking restart it then brings the interface up properly. Does anyone know where I would look to fix this? Perhaps I need to change the order things are depended upon? 2023-06-22 18:41:27 seems like there needs to be a dependency on devfs somewhere? 2023-06-22 18:51:44 heh, chown in postinst seems to get reverted 2023-06-22 18:52:15 There is nothing that would do thaat 2023-06-22 19:01:21 indeed, nothing that runs post post-install that would undo your chowns normally 2023-06-22 19:09:35 https://gist.github.com/thresheek/bcafd907c63e58d66a3565b8cf244140 2023-06-22 19:09:47 looking at strace apk add now 2023-06-22 19:13:17 there seem to be some chown/chmod calls after postinst is finished though: https://gist.github.com/thresheek/bcafd907c63e58d66a3565b8cf244140?permalink_comment_id=4607623#gistcomment-4607623 2023-06-22 19:37:21 looks like it happens ins apk_db_update_directory_permissions in apk_solver_commit_changeset 2023-06-22 19:38:24 Most likely apk setting the permissions as they are in the package 2023-06-22 19:38:32 which is where you should manage them 2023-06-22 19:39:18 i guess indeed apk does it once more after post-install 2023-06-22 19:39:19 yeah 2023-06-22 19:44:39 not sure if I'm at ease giving sudo apk privileges to a non-privileged user 2023-06-22 19:45:07 precreating a user before the build will probably work in my build environment, but it's a meh option for external users 2023-06-22 19:45:33 thresh: there is apk rootbld 2023-06-22 19:45:46 which uses bwrap to create an isolated build environment 2023-06-22 19:48:28 which also makes users on the host the same way using abuild-addgroup/adduser 2023-06-22 19:48:39 same issue 2023-06-22 19:48:54 i thought of a fix for it but it would take forever to make it 2023-06-22 19:49:44 I'll work it around now by precreating a user I guess, and since this is only for closed-source software for which I don't need to ship build instructions it's probablty fine for now 2023-06-22 19:50:12 but when this feature hits mainline nginx, it's going to be somewhat of an issue 2023-06-22 19:50:45 what feature? 2023-06-22 19:51:05 the one I need to create a directory for 2023-06-22 19:51:40 note that the aports nginx package already creates a user / group for nginx 2023-06-22 19:52:11 sure, that's where I got the inspiration for the packages we ship from nginx.org/nginx.com :) much appreciated 2023-06-22 19:52:30 but we need to ship our own builds, so the need of non-aports packages 2023-06-22 19:52:35 right 2023-06-22 19:53:47 Was not aware nginx was providing their own packages 2023-06-22 20:02:22 oh, I just though that I can remove install -d from package() and just create the dir in the post-install 2023-06-22 20:02:37 which is horrible admittedly from package manager point of view 2023-06-22 22:17:29 is there some musl based reason why x crashes more on alpine? 2023-06-22 22:18:15 never had this on glibc linux. so not sure if it's related to that, or some package that is needed for X but doesn't exist 2023-06-22 22:19:11 maybe 2023-06-22 22:19:17 nobody is going to fix it probably tho 2023-06-22 22:19:33 lol. ok so it is a known issue? 2023-06-22 22:19:51 I'm fully prepared to blame X11 here :P 2023-06-22 22:20:07 'x crashes sometimes' isn't much of an issue (in terms of that doesn't establish any cause and isn't debuggable at all) but i don't generally hear much about that now that i think of it 2023-06-22 22:20:12 sometimes maybe but in general not 'often' 2023-06-22 22:20:32 Once a week or so. compared to my old glibc linux which was... never 2023-06-22 22:20:34 for light contrast i haven't seen xwayland crash in months 2023-06-22 22:20:50 I'm good at crashing stuff, and I can't recall crashing X11 on any non-glibc distros... 2023-06-22 22:20:54 it crashed with error messages, I search them and they're chrome error messages. so chromium is crashing X? this shit is complicated 2023-06-22 22:20:55 are you using a weird GPU? 2023-06-22 22:20:55 it's more likely the wm you're using manages to crash x in some way and changed (which is still an x bug but how you see it is how you see it) 2023-06-22 22:21:07 well 2023-06-22 22:21:14 start with the xorg log and also what you're seeing pasted somewhere 2023-06-22 22:21:16 zcrayfish: nah, one of the amdgpu ones 2023-06-22 22:21:17 i can have a light look 2023-06-22 22:21:26 amdgpu has good and bad stuff more or less 2023-06-22 22:21:56 where's the Xorg log 2023-06-22 22:22:07 var/log/X* or somesuch 2023-06-22 22:22:07 hang on let me use the man page 2023-06-22 22:22:14 maybe something in .local/ 2023-06-22 22:22:18 i don't remember 2023-06-22 22:22:43 /var/log/Xorg.*.log* 2023-06-22 22:22:44 yeah I don't have any of these :/ 2023-06-22 22:23:07 which suggests to me my system is screwed at that level 2023-06-22 22:23:19 could be /tmp/X* 2023-06-22 22:23:33 just find / -name "Xorg*" -type f 2023-06-22 22:23:34 hehe 2023-06-22 22:23:59 (that will take forever so constrain it a bit) 2023-06-22 22:23:59 are you rebooting when X crashes? :) 2023-06-22 22:24:12 no. just doing startx again 2023-06-22 22:24:17 it deletes the old one on start 2023-06-22 22:24:20 the fact I have no X logs makes me think X is screwed up itself 2023-06-22 22:24:23 though you would still find the new one 2023-06-22 22:25:05 "sched_getscheduler: Function not implemented (38)". then it X disconnects 2023-06-22 22:25:12 disconnects cleanly it seems 2023-06-22 22:25:27 I logged this using my pen + notepad service 2023-06-22 22:25:33 that's just the chromium stderr and not that related 2023-06-22 22:26:01 well, it says 'chromium logs something or crashes which then crashes x' 2023-06-22 22:26:03 but that's about it 2023-06-22 22:26:05 ok so X crashes, and I have no logs. I guess I'll try and reinstall X, and read the wiki more carefully? 2023-06-22 22:26:49 i don't think "reinstalling" anything is going to make the logs appear 2023-06-22 22:26:56 just run the find command or similar and you'll find something 2023-06-22 22:27:16 I did run the find command, I found nothing 2023-06-22 22:27:22 just links to the binaries and man pages 2023-06-22 22:28:15 can't think of why that would happen presently 2023-06-22 22:28:42 idk. maybe the fact I ran alpine succesfully on a VPS for years doesn't really translate to desktop usage 2023-06-22 22:29:06 I tried running setup-xorg-base again 2023-06-22 22:29:08 * rc-update: service `hwdrivers' is not in the runlevel `sysinit' 2023-06-22 22:29:11 * rc-update: service `mdev' is not in the runlevel `sysinit' 2023-06-22 22:29:13 so I'll add those 2023-06-22 22:31:21 that's not relevant 2023-06-22 22:31:26 it's just debug output 2023-06-22 22:31:39 you should actually not add those 2023-06-22 22:31:43 oh ffs 2023-06-22 22:32:03 just run it again 2023-06-22 22:32:17 don't do anything special though 2023-06-22 22:33:17 I dunno my whole system just seems screwed. randomly typing commands in that alpine programs mention to me like a monkey. no x logs. maybe a wipe is in order 2023-06-23 02:32:25 LACampbell: apk add mlocate && updatedb && locate -i xorg | fgrep log 2023-06-23 08:18:33 shrizza: appreciate it 2023-06-23 08:18:36 but: "updatedb: can not open a temporary file for `/var/lib/mlocate/mlocate.db'" 2023-06-23 08:18:50 I think my conclusion is that alpine on the desktop is beyond my skill 2023-06-23 08:18:52 You need to be root. 2023-06-23 08:19:25 It's probably on par with most other distros once you get the ball rolling. 2023-06-23 08:20:45 With the benefit of less default mysterious layers to complicate interaction between you and the OS. 2023-06-23 08:20:54 nah I'm really struggling with it in a way I didn't with other stuff 2023-06-23 08:20:57 great on the server though 2023-06-23 08:21:12 thanks that gets me the log. TODO: learn to read these logs. where is the time. and where are the crashes 2023-06-23 08:22:29 If you're already familiar with Alpine on the server side, I'd imagine insight you glean from using it on the desktop could tend to reciprocate with your server experience. 2023-06-23 08:23:59 I'd hope so 2023-06-23 08:24:05 but like on the server - don't need x 2023-06-23 08:25:00 basically X sometimes just crashes. can't find a reason in the log files. don't know why. didn't happen in other distros. I'm sure it's solvable but server stuff is way easier than X11 lol 2023-06-23 08:25:37 nope, X tends to randomly crash on other distros as well, just wait for it, hehe 2023-06-23 08:26:02 no I was using another distro on this machine for a year or so 2023-06-23 08:26:03 none of my X sessions lasted more that 1 year 2023-06-23 08:26:18 s/that/than/ 2023-06-23 08:26:20 like I'm sure it's my fault 2023-06-23 08:26:29 Is it reproducible. 2023-06-23 08:26:33 X is buggy as hell 2023-06-23 08:26:36 no. the best kind 2023-06-23 08:26:44 it happened when I chatted on discord 2023-06-23 08:26:54 and then it printed chrome debug errors when I quit 2023-06-23 08:27:03 maybe it's pipewire? that's a shitshow on this install 2023-06-23 08:27:05 really who knows 2023-06-23 08:27:22 maybe x didn't crash. maybe it just decided to quit 2023-06-23 08:27:26 for its own reasons 2023-06-23 08:27:28 I would recommend Wayland 😉 2023-06-23 08:27:35 oh yeah 2023-06-23 08:27:40 maybe it's time 2023-06-23 08:27:45 Also, could it be an emoji displayed in a window title. I've noticed many posts about X crashes that end with the acknowledgment that it's the window manager displaying an emoji and triggering a bug in some X library or something. 2023-06-23 08:28:11 haha, sounds good 2023-06-23 08:29:04 What window manager do you use. 2023-06-23 08:29:17 me? openbox 2023-06-23 08:29:21 which is ancient at this point 2023-06-23 08:29:25 last release was 2016 IIRC 2023-06-23 08:29:56 ACTION uses xfce4 (on armv7 and x86_64 as well) 2023-06-23 08:30:13 x or wayland? 2023-06-23 08:30:19 I guess if I go wayland I'll need a new WM 2023-06-23 08:30:29 X 2023-06-23 08:30:53 i have amd graphics thankfully 2023-06-23 08:30:53 XFCE4 doesn't have Wayland support 2023-06-23 08:31:01 oh thats a shame 2023-06-23 08:31:08 I'm fine with X 2023-06-23 08:31:22 You can use either GNOME or Plasma, or several Wayland-only window managers 2023-06-23 08:32:34 I have phosh on the pinephone tho, but it is a mess -- regular crashes, weird glitches 2023-06-23 08:32:44 actuall, the whole pmos seems to be a mess 2023-06-23 08:32:59 trying to find something similar to openbox. just a stacking thing that's highly customisable and lightweight 2023-06-23 08:33:23 (I have pinephone, I really, really liked the idea, but it is miserable, and I put it away) 2023-06-23 08:34:02 aron: as a pmOS dev, I'm sad to hear that 2023-06-23 08:34:13 But the PinePhone isn't a great device tbh, terrible specs for one 2023-06-23 08:34:54 Please do report the crashes and glitches you encounter, otherwise we can't do much about it 2023-06-23 08:35:40 true, I have to blame the pp hw 2023-06-23 08:35:53 it is terrible indeed 2023-06-23 08:36:24 maybe my impressions are heavily influenced by the pp hw 2023-06-23 08:39:03 Well things still shouldn't crash, but performance issues are definitely caused by the hardware 2023-06-23 08:39:06 LACampbell: apparently part of the reason why Openbox seems abandoned is that the dev basically considers it complete 2023-06-23 08:39:20 understandable 2023-06-23 08:39:29 LACampbell: if you compile it from source, there has been a bit of development in another repo that goes up to 2018 http://git.openbox.org/?p=mikachu/openbox.git;a=summary 2023-06-23 08:40:06 toyed with the idea of writing an openbox like WM recently. not using XML, or any gtk decorations 2023-06-23 08:40:20 wonder how you test window managers. logout, recompile, login? or I guess a vm 2023-06-23 08:40:34 launch it in a window probably 2023-06-23 08:41:07 launch a window manager in a window? 2023-06-23 08:41:33 PureTryOut: for instance, latest release made LLV player defunctional; moved to mpv again, but it sometimes deadlocks the WM when it exits -- that's why I put it away, for good 2023-06-23 08:41:55 I... Don't know what LLV player is 🤔 2023-06-23 08:42:09 what's the package name? 2023-06-23 08:42:11 LACampbell: in xinitrc you can have the WM launched in a loop, so that when it quits a new instance gets launched 2023-06-23 08:42:18 it's a movie player on pmos 2023-06-23 08:42:18 oh 2023-06-23 08:42:35 LACampbell: yes, KWin from KDE can do that. You can even test a Wayland session on X11 that way 2023-06-23 08:42:35 ACTION does not know if that's how people tend to test in-development WMs though 2023-06-23 08:42:41 tm512: so you play around with it, recompile, quit. 2023-06-23 08:42:43 dunno the pkg, it is preinstalled 2023-06-23 08:43:06 ACTION is not a Phosh/GNOME/GTK person 2023-06-23 08:43:24 sure, I just wanted to share some "fun" 2023-06-23 08:43:58 sure but I want to see if we can figure out what makes the LLV Player non-functional. But I don't even know what it is lol, and I see no package named anything like that as a dep of Phosh 2023-06-23 08:44:04 LACampbell: as mentioned nested X is also a possibility, especially early on in development, or when dealing with some kind of crashing bug 2023-06-23 08:44:17 huh I had no idea you could nest x 2023-06-23 08:45:00 https://en.wikipedia.org/wiki/Xephyr 2023-06-23 08:45:33 LACampbell: I'm assuming you've tried i3? 2023-06-23 08:45:35 no reason to figure out anything on it, I'm not intended to debug pp anymore 2023-06-23 08:45:54 shrizza: yeah i used to use it back in the day. not so into strict tiling anymore 2023-06-23 08:45:57 whys that? 2023-06-23 08:46:02 apparently it tends to get packaged as xorg-server-xephyr. at least this is how Arch and Void both package it 2023-06-23 08:47:28 I've only ever used nested X over the network, almost a VNC-like setup, and I don't even remember what the use-case was 2023-06-23 08:47:29 (according to wiki, pp has one of the best support, so I'll not try others either -- the smartphone concept is dead to me) 2023-06-23 09:01:36 aron: you'd be helping others at least reporting your crashes though 2023-06-23 09:58:17 GTK2+Clearlooks 4 Lyfe 2023-06-23 11:57:00 Hello people :) just wanted to ask a quick question about the latest Alpine ISOs. I've set up the arm64 "virt" ISO in a qemu/libvirt VM and I can't seem to get SSH with PAM working. The openssh-server-pam package does not seem to have done anything because I have some limits in /etc/security/limits.conf that are not being enforced by PAM. UsePAM yes is set in sshd_config. Is 2023-06-23 11:57:01 this a known issue? Also, if this is not the righe place to ask could someone please point me in the right direction? Thanks! 2023-06-23 12:02:07 This is the correct place to asj 2023-06-23 12:02:09 Ask 2023-06-23 12:02:30 mebeim: which settings in limits.conf are you trying to use? 2023-06-23 12:15:55 minimal: uid hard maxlogins N, to set the max number of concurrent logins through SSH for some user 2023-06-23 12:19:04 AFAIK it should be enforced by PAM, but it is not. SSH auth does not even seem to go through PAM. 2023-06-23 12:19:42 I can see the following in /var/log/messages: auth.info sshd[2114]: rexec line 82: Unsupported option UsePAM auth.info sshd[2114]: Accepted password for user from [...] 2023-06-23 12:21:01 do you have the openssh-server package installed as well as openssh-server-pam package? 2023-06-23 12:21:17 that sounds like it is using the wrong binary for ssh server 2023-06-23 12:21:18 That "Unsupported option UsePAM" is suspicious, makes me think something's wrong with my openssh installation. It's just a fresh Alpine install with alpine-virt-3.18.2-aarch64.iso, where I then added a new user and the openss-server-pam and shadow-login 2023-06-23 12:21:47 minimal: yep, I have openssh-server-pam, is there some config I need to do after installing it with apk add maybe? 2023-06-23 12:22:08 no, I asked if you ALSO had openssh-server package installed 2023-06-23 12:22:17 oh sorry my bad 2023-06-23 12:23:18 yeah I do 2023-06-23 12:23:29 so I need to uninstall that I guess 2023-06-23 12:23:34 that's likely your problem then 2023-06-23 12:28:57 minimal: ok I can now see that PAM is being used in the logs, but still it does not seem to enforce the limit 2023-06-23 12:28:59 ACTION thinking 2023-06-23 12:30:40 The limit I have now is `user hard maxlogins 1` in /etc/security/limits.conf, but I am able to open 2 SSH sessions 2023-06-23 12:34:41 type "-" rather than "hard" 2023-06-23 12:35:25 minimal: same behavior 2023-06-23 12:35:27 oops, s/type/try/ 2023-06-23 12:35:56 I can confirm it works in another VM with Debian 12 + PAM, where I have the exact same line in limits.conf 2023-06-23 12:36:12 ok, saw that suggested in a serverfault question similar to yours from 12 years ago 2023-06-23 12:37:00 ah, pam_limits uses UTMP - that's probably the issue 2023-06-23 12:37:48 Yeah I came across quite the number of Q&As while trying to fix this (I had a setup with SSHD and PAM working before the current one where I forgot about the package conflicts) 2023-06-23 12:38:02 try installing the utmps package and running setup-utmp 2023-06-23 12:38:12 Ah I see! 2023-06-23 12:38:20 musl by default has NO utmp support 2023-06-23 12:38:28 utmps adds UTMP support 2023-06-23 12:38:41 I was expecting some kind of error logs in /var/log/messages 2023-06-23 12:38:48 what sort of errors? 2023-06-23 12:38:49 Thanks I'll try that 2023-06-23 12:39:25 Idk something like "pam session: cannot enforce this limit because I am missing this functionality/binary" 2023-06-23 12:39:35 it doesn't know utmps is missing 2023-06-23 12:39:47 so it cannot error 2023-06-23 12:40:21 Got it, makes more sense now 2023-06-23 12:40:53 out-of-the-box typical tools like "w", "who", "last" which rely on utmp do nothing 2023-06-23 12:41:02 until utmps is installed and activated 2023-06-23 12:41:07 ah, that's why then 2023-06-23 12:41:21 I could notice `who` not working, I had no idea about UTMP 2023-06-23 12:41:37 who reads data from utmp/wtmp files 2023-06-23 12:41:49 which don't exist without utmps 2023-06-23 12:42:04 yep, today I learned 2023-06-23 12:43:27 mebeim: somewhat out-of-date: https://github.com/dermotbradley/alpine-misc-notes/blob/main/utmp-status.md 2023-06-23 12:43:34 I must get around to updating it 2023-06-23 12:44:02 minimal: hmmm... now `who` works as expected, but still the limit is not enforced 2023-06-23 12:44:13 ACTION is confused 2023-06-23 12:45:03 (tried both `hard` and `-`) 2023-06-23 12:45:32 ah, seems linux-pam was never linked against utmps libs 2023-06-23 12:47:09 oh snap 2023-06-23 12:47:28 so it cannot support this functionality at all? 2023-06-23 12:47:34 I'd not tested pam limits together with utmp in the past 2023-06-23 12:47:55 it just needs to be built/linked with it AFAIK 2023-06-23 12:48:17 so I could theoretically get it working if I build and install the package manually 2023-06-23 12:51:20 trying a local build here currently 2023-06-23 12:51:59 minimal: nice, thanks a lot for your time and support 2023-06-23 13:22:53 Does anyone have a link to documentation on how to get Active Directory authenication working? I'm able to join the domain and query users via id and getent groups username. I Just need to get logins working 2023-06-23 13:23:18 course this is via Winbind (Samba) 2023-06-23 13:25:00 I normally use SSSD on RHEL/Alma systems, but SSSD doesn't have Active Directory support compiled in. Spent most of the afternoon trying to get that working, but ran into some gettext issues. I have a APKBUILD for Realm and ADCLI that appears to work. 2023-06-23 14:00:20 I have musl-nslcd config 2023-06-23 14:01:01 Works for me 2023-06-23 14:07:34 Has anyone hosted a webserver with minihttpd? 2023-06-23 14:07:51 I need help with setting up tls with minihttpd. 2023-06-23 14:09:52 consus: can you sanitize and post your config? 2023-06-23 14:14:21 yep 2023-06-23 14:14:22 sec 2023-06-23 14:14:26 thanks 2023-06-23 14:17:26 This is /etc/nslcd.conf: https://pastebin.com/dvBUjDUs 2023-06-23 14:20:51 thanks 2023-06-23 14:26:59 hmmm ldap bind. trying to stay away from that 2023-06-23 14:34:14 hm? 2023-06-23 14:34:16 why? 2023-06-23 14:36:16 trying to keep the password off the systems 2023-06-23 14:36:39 on most of our VMs the users have sudo access 2023-06-23 14:36:56 Has Alpine ever been in the SPI like Debian and Arch? 2023-06-23 14:37:32 and they can get access to the password that way 2023-06-23 14:38:11 and I don't want to have to create a user for every system to query ldap 2023-06-23 14:38:39 or SFC 2023-06-23 14:38:58 and the AD admins really want to disable LDAP as well - probably will never be able to do that though 2023-06-23 14:39:34 oh 2023-06-23 14:41:06 Lantizia: no, there has never been a legal entity, nor has Alpine Linux been represented by one. 2023-06-23 14:42:59 does Alpine still work on a Via C3 cpu? 2023-06-23 14:47:28 Depends on what instructionset it supports 2023-06-23 14:48:07 well is there an alpine doc saying what instruction sets at a minimum are required? 2023-06-23 14:48:12 I'm having trouble locating one 2023-06-23 14:48:44 I mean 'Via C3' was going to be 'Cyrix III' until Via bought Cyrix... so essentially 586-like 2023-06-23 14:49:10 It needs to be at least full 586 2023-06-23 14:49:21 "full" :) 2023-06-23 14:49:27 But some applications may require 686 2023-06-23 14:50:56 Some things (e.g. https://gcc.gnu.org/legacy-ml/gcc-patches/2004-07/msg02718.html ) claim it's essentially a i686 without the 'cmov' instruction set... if that helps? 2023-06-23 14:51:19 https://gitlab.alpinelinux.org/alpine/tsc/-/issues/20 2023-06-23 15:08:24 is that you saying.... "We know" :P 2023-06-23 15:11:07 No, just giving context on what we expect for x86 2023-06-23 17:24:07 Hello, is there any people having 3TB or 4TB HDDs ? Could you do me a favor and give me the exact size in bytes of those disks please ? 2023-06-23 17:24:52 as reported by what? 2023-06-23 17:25:08 doesn't that vary slightly by vendor/model? 2023-06-23 17:25:56 also when drive sizes are quoted they are in TB (multiples of 1000), not TiB (multiples of 1024) 2023-06-23 17:26:47 so 3TB in theory is 3 x 1000 x 1000 x 1000 x 1000 bytes 2023-06-23 17:27:58 sda 8:0 0 4000787030016 2023-06-23 17:28:58 4000787030016 = 4.00078703TB 2023-06-23 17:29:31 minimal: that's what I want to verify 2023-06-23 17:29:40 and 3.6TiB 2023-06-23 17:29:51 verify what exactly? 2023-06-23 17:30:40 I thought that the exact size could vary but I found the exact same size of different brand 2023-06-23 17:31:43 does it matter? (apart from RAID1 if you've got 2 drives of varying size lol) 2023-06-23 17:31:45 Mine 4TB disks are also 4000787030016 bytes 2023-06-23 17:32:07 minimal: that's exactly because of a raid array I'm asking 2023-06-23 17:33:00 raspbeguy: I suspected as much. I used to leave a small bit of unused space at end of drives to deal with variations in disk size ;-) 2023-06-23 17:33:56 plus over time drives can have reallocated sectors (which is normally fine as they have "spare" sectors....until the run out of those lol) 2023-06-23 17:34:56 Any reallocated sectors are a very very bad sign on modern mechanical harddrives. 2023-06-23 17:36:03 ikke: would you mind telling me the model please? 2023-06-23 17:40:37 raspbeguy: so what do you do in the future if 1 of the drives dies and the replacement you get is slightly smaller? ;-) 2023-06-23 17:43:10 minimal: that's precisely what I want to avoid 2023-06-23 17:43:37 raspbeguy: which is why I talked about slightly undersizing usage 2023-06-23 17:46:51 benn there, software RAID-1 2 disk of different makes & models with slightly different sizes ;-) 2023-06-23 17:48:11 always a good idea not to use the same make/model of drive from the same manufacturing batch for RAID1 2023-06-23 17:52:20 raspbeguy: it's called G-Drive (it's an external disk), not sure what model 2023-06-23 17:52:32 Ok thanks 2023-06-23 17:52:51 https://www.techradar.com/reviews/g-technology-g-drive-4tb 2023-06-23 17:53:58 If more people could share the exact size of their 3 or 4 TB HDD that would help me 2023-06-23 17:54:33 many of those non-big-name external drives tend to use multiple of the (2? 3? drive manufacturers left) makes as and when they buy batches of a particular make&model 2023-06-23 17:55:16 so a G-Drive could be Seagate inside this month and WD inside next month 2023-06-23 17:56:40 raspbeguy: what are you trying to achieve? you've been told that drives of theoretically the same capacity may vary in actual bytes size 2023-06-23 17:57:16 Ideally I would like to build a list of models that have the exact same size 2023-06-23 17:57:44 So I know what to buy to replace one of my dying disk 2023-06-23 17:57:47 a list of models *at certain points in time*? 2023-06-23 17:58:33 a model today may have a specific size but that is no guarantee the same make/model will always have the same size or that that particular make/model will still be for sale when you go looking for it 2023-06-23 17:58:52 From experience same models have the exact same size no matter the time 2023-06-23 17:59:24 and models are always sold rather than being replaced by similar models? 2023-06-23 17:59:47 I've got (from memory) at least 3 different models of WD Red drives of the same capacity 2023-06-23 17:59:57 as they were bought at different times 2023-06-23 18:00:13 the model numbers are *slightly* different for each of them 2023-06-23 18:00:55 yet they're all WD Red (not RED+ / Red Pro) drives of the same size 2023-06-23 18:11:31 raspbeguy: also not some vendors have been quietly replacing some drive models with SMR versions without telling people 2023-06-23 18:11:41 s/not/note/ 2023-06-23 18:12:29 (WDC) 2023-06-23 18:18:32 all of them do that 2023-06-23 19:51:16 is there a default binding for toggle or changing between 1 or 2 pages pr row in zathura? 2023-06-23 19:52:38 I don't remember by heart, but it's in the man page 2023-06-23 19:55:48 indeed, thought i had checked the man page :> (it was 'd') 2023-06-23 20:40:53 Hey guys, I have a quick question for you. I'm trying to create my own alpine-iso. I followed the official guide and it's working so far. What I'm confused with, is with the $apks variable in the profile script. Is there a way, that those programs are installed into the iso, without mentioning them inside the world-file in the genapkovl? When generating the iso, I've noticed the packages are getting downloaded but not installed. How do I solve 2023-06-23 20:40:55 this issue? Thank you in advance. 2023-06-23 21:06:27 "indeed, thought i had checked..." <- It's ok. It happens. I got used to checking man pages now that I'm on OpenBSD and with AIX 2023-06-23 21:06:35 *and on AIX 2023-06-24 00:38:52 Anyone know how to get wifi working on raspberry pi 2? 2023-06-24 01:24:24 🔨 2023-06-24 09:04:03 hi. regarding abort: https://git.alpinelinux.org/aports/commit/?id=457c8966262864a43a4a9ba8ed60d5efd6447aae resp. https://gitlab.alpinelinux.org/alpine/aports/-/commit/457c8966262864a43a4a9ba8ed60d5efd6447aae , i guess i have to execute "setup-devd udev" again, in order to "see" the change in /lib/udev/rules.d/50-udev-default.rules + dmesg (even if this is only a cosmetic thing)? 2023-06-24 09:12:26 no, you have to do nothing except reboot 2023-06-24 09:13:05 (but i forgot to actually apply the patch) 2023-06-24 09:13:09 i did psykose. 2023-06-24 09:14:00 maybe 6 reboots since the update. yep, maybe something went wrong applying it 2023-06-24 09:23:24 ..... or did i not do a specific _reboot_, if this is required. i only do a reboot after a kernel update, and that was the day before.. 2023-06-24 10:22:34 recently (maybe with the 6.3.9 update) wg-quick started to miscalculate the mtu if none is set in the config file. the symptom is that the sequence wg-quick up wg0;wg-quick down wg0;wg-quick up wg0 results in 'RTNETLINK answers: No such device'. anyone seen that yet? 2023-06-24 10:26:48 doesn't ring a bell 2023-06-24 10:27:59 regular wg stuff seems ok and i don't put mtu 2023-06-24 10:28:03 (not wg-quick) 2023-06-24 10:29:39 ovf: do you mind finding the exact version where this starts to happen? 2023-06-24 10:31:19 I have just opened a(n unrelated) bug with gentoo's 6.3.x series where I get rcu stalls with wireguard+bonding+igb. This is a long shot, but *if* your problem also starts with the switch of 6.2 to 6.3, it might be worth mentioning. But it's also just a gut feeling. 2023-06-24 10:36:13 psykose: i'm pretty sure it's specifically the delicate dance wg-quick does with guessing the mtu (that i don't yet understand). it feels like after 'down' the old mtu is still out there somewhere and wg-quick then subtracts from it again, resulting in a value too low 2023-06-24 10:37:01 satmd: i will try a bit later, thanks 2023-06-24 10:37:02 perhaps 2023-06-24 10:46:06 oh, and I noticed that the wireguard kernel module has not changed between 6.2.8 and 6.3.8. I believe it's some other part of networking code. 2023-06-24 11:36:48 can thinkpad/alpine be on for a monthish time in suspension? 2023-06-24 11:37:33 why not? 2023-06-24 11:38:15 With or without powersupply? 2023-06-24 11:38:44 i dunno, just have an asus/void laptop that can do that, buy this thinkpad eats quite a lot of battery with the lid closed 2023-06-24 11:38:50 ikke: without powersupply 2023-06-24 11:39:13 it wouldnt last 24h me thinks 2023-06-24 11:39:31 maybe its just setup tho, set that one up 6ish years ago .. 2023-06-24 11:39:52 hmm might have changed distro come to think of it... anyways.. 2023-06-24 11:40:51 the distro has no relevance when you put the device into some sleep mode 2023-06-24 11:40:59 and the answer is no for any device i can think of 2023-06-24 11:44:00 oh you need swap to hibernate? damn .. 2023-06-24 11:44:15 There are different suspension levels 2023-06-24 11:44:34 hibernate should work indefinely, as the power is completely off 2023-06-24 11:45:11 swapfiles also work 2023-06-24 12:33:58 So, is there any merit in adding a normal user to the cdrom group these days? 2023-06-24 12:34:05 Doesn't seem like it. 2023-06-24 12:34:22 I mean, I can access contents of a CD just fine without being in that group. 2023-06-24 12:36:51 I would prefer being able to mount it as a normal user. But adding myself to that group doesn't have that effect. 2023-06-24 12:45:08 mounting as user requires CAP_SYS_ADMIN 2023-06-24 12:45:33 A tool like pmount (afaik not available for alpine) is suid, so it can defer it to normal users 2023-06-24 12:46:11 being in the "disk" group wouldn't let you mount disks either 2023-06-24 12:46:29 you can read and write the devices, for example you could do mpv /dev/sr0 2023-06-24 12:46:59 or cdrecord /dev/sr0 2023-06-24 12:47:51 if you want to mount without root, you can use the "user" fstab option, pmount, udisks, etc 2023-06-24 12:48:07 Oh, okay. Good stuff. 2023-06-24 12:49:15 Hello71: But doesn't uisng cdrecord like this require me to be in the cdrw group too? 2023-06-24 12:49:51 cdrom has rw on /dev/sr0 for me 2023-06-24 12:49:55 so that would suffice 2023-06-24 12:50:09 Yeah, that's the default, apparently. 2023-06-24 12:50:12 I don't think there's any such group. in the traditional unix permission model, each device can only be owned by one group, so it doesn't make sense 2023-06-24 12:50:16 brw-rw---- 1 root cdrom 11, 0 Jun 9 18:59 /dev/sr0 2023-06-24 12:50:34 But Alpine has cdrw as a group. 2023-06-24 12:51:06 hm, it does 2023-06-24 12:51:12 may be legacy 2023-06-24 12:51:24 Some groups were checked by grsec 2023-06-24 12:52:56 Hmm, grsec website theme is quite similar to alpine linux 2023-06-24 12:53:15 Including an image of the alps (or some outher snowy mountain) 2023-06-24 12:53:33 theirs has better marketing 2023-06-24 12:53:43 (i don't like marketing) 2023-06-24 12:55:16 cdrw but not dvdrw? 2023-06-24 12:55:24 what about bluray as a group? ;) 2023-06-24 12:55:46 It should be "od…" then, for "optical disc". 2023-06-24 12:56:05 I'm okay with "cd…" though. 2023-06-24 12:56:38 cdrom sounds fine shrug 2023-06-24 12:57:20 It's a bit like using a floppy disk icon for "Save" in a GUI. 2023-06-24 12:57:24 But that's okay. 2023-06-24 12:57:32 msiism: I was thinking exactly the same :D 2023-06-24 12:57:41 you are not complaining about /dev/tty* being owned by 'uucp' even though it's neither a teletypewriter nor being used for UUCP 2023-06-24 12:59:06 ...huh, I didn't realize alpine miniroot was *that* tiny 2023-06-24 12:59:18 lots of guis do have a floppy icon for save 2023-06-24 12:59:23 ACTION is confused 2023-06-24 13:00:15 Sure, but there are more abstract icons these days, too. 2023-06-24 13:00:18 grawity: that's the reason why alpine docker images are that small 2023-06-24 13:00:46 psykose: Like, a downward arrow pointing into an open drawer. 2023-06-24 13:01:08 Or pointing onto something resempling a HDD. 2023-06-24 13:01:20 indeed, there's hundreds 2023-06-24 13:01:21 s/resem/resam/ 2023-06-24 13:01:29 ACTION is still confused what the point is 2023-06-24 13:02:21 Well, the point of these newer icons is to generalize the visual representation of the operation and abstract it aways from a distinct storage medium, I guess. 2023-06-24 13:02:22 psykose: That it's ok to use anachronisms, so kind reverting their initial 'complaint' 2023-06-24 13:02:45 ah 2023-06-24 13:03:09 Okay, right. 2023-06-24 13:04:33 Being in the cdrom group also allows me to use `eject`. That's nice. 2023-06-24 13:40:14 I don't blame anybody, but I remember when I used to care about icons when I was doing mobile app development. When google didn't even follow their design guidelines... funny 2023-06-24 13:41:10 they change them yearly 2023-06-24 13:41:54 I'm glad that I left that world 2023-06-24 13:43:13 Nobody gets a promotion by keeping things the same 2023-06-24 13:44:02 mobile app world seemed like a slightly roided version of web app world to me every time i looked at it 2023-06-24 13:44:04 but never made anything so 2023-06-24 13:52:59 ikke: yeah, but at one point, I'm like, who cares. I just want a cli. I despise android now 2023-06-24 13:54:56 GUIs have their place, though. 2023-06-24 13:55:12 For example in CAD or audio/video production. 2023-06-24 13:55:32 psykose: mobile apps are a mess imo. You have to rewrite everything if you don't use something cross platform and stable design guidelines are prohibited from what I saw 2023-06-24 13:55:32 mobile apps are doomed, I don't see them lasting more than 10 years. web is the way to go 2023-06-24 13:55:49 I think most GUIs would benefit a lot from integratin a command line. 2023-06-24 13:56:06 msiism: I agree as well, I personally don't need much of a gui, but they are very useful when needed 2023-06-24 14:50:40 Is there an official description of what the "main", "community", and "testing" repositories are and how they differ? 2023-06-24 14:53:11 And, what are these called, actually. "Branches?" 2023-06-24 14:53:40 Okay, they are apparently just called repositories. 2023-06-24 14:53:40 They are repositories 2023-06-24 14:53:51 I see. 2023-06-24 14:54:23 https://docs.alpinelinux.org/user-handbook/0.1a/Working/apk.html#_repositories_releases_and_mirrors 2023-06-24 14:55:04 Oh, totally forgot about the Handbook. I was looking through git repos and man pages. 2023-06-24 15:11:38 hey everyone! 2023-06-24 15:12:03 does anyone know by any chance whether it is possible to build a kernel with all modules built in to avoid the modloop? 2023-06-24 15:12:13 yourself you can build anything 2023-06-24 15:12:31 I am running a diskless setup, and would like to unmount and remove the USB boot stick after boot 2023-06-24 15:13:00 which is currently not possible because the modloop is mounted from that through th loop dev 2023-06-24 15:13:09 You can unmount modloop 2023-06-24 15:13:13 by stopping the modloop service 2023-06-24 15:13:24 then it's safe to unmount the usb disk 2023-06-24 15:13:24 strangely it refuses to stop for me... 2023-06-24 15:13:27 tried that first 2023-06-24 15:13:37 What happesn when you try to stop it? 2023-06-24 15:13:59 my initial idea was to copy the modloop file from the usb stick to ram (I have plenty), unmount the modloop, remount if from ram, remove stick 2023-06-24 15:14:08 will check again and post the exact error 2023-06-24 15:14:11 give me 5 min 2023-06-24 15:31:01 ikke: of course it works perfectly... not sure what caused it before that it refused... 2023-06-24 15:31:13 thanks for assuring me that I should try again lol :D 2023-06-24 15:32:05 modlooper: no problem :-0 2023-06-24 15:32:07 :-) 2023-06-24 15:37:18 have a good one y'all 2023-06-24 20:55:25 is there something in busybox (or posix) that can make folder B the same as folder A? (been using rsync for that, wondering if there something more basic ans simpler for local use) 2023-06-24 20:56:13 rm -rf + cp? 2023-06-24 20:56:39 Habbie: yeah, mostly use it for larger backups tho :/ (like 400G) 2023-06-24 20:57:00 you want something roughly as smart as rsync? 2023-06-24 20:58:28 well would be nice if it didnt use too much resources :] im on rpi and similar 2023-06-24 20:58:32 There is pax \o/ 2023-06-24 20:59:21 Though tar should work too 2023-06-24 20:59:46 pax? tar? 2023-06-24 21:00:05 taring 400G is a lot eh 2023-06-24 21:00:22 Well, I didn't put the requirement of 400G 2023-06-24 21:00:47 But that has nothing to do with the tool you'll be using to transfer data 2023-06-24 21:00:54 It'll still be 400G 2023-06-24 21:01:04 except when rsync decides it only has to transfer 20G 2023-06-24 21:01:09 which is a feature almost unique to rsync 2023-06-24 21:01:13 haha 2023-06-24 21:01:27 It's not a bug, it's a feature! 2023-06-24 21:01:36 it.. was not a joke 2023-06-24 21:01:56 these are the choices - transfer 400G, or map the differences so you only transfer the differences 2023-06-24 21:01:56 Yeah I guess it's not really funny when that happens :/ 2023-06-24 21:02:05 i wasn't talking about a bug either.. 2023-06-24 21:02:09 Well 2023-06-24 21:02:45 copying 20G out of 400GB when you ask it to copy 400GB sounds like qualifying as a bug :) 2023-06-24 21:02:48 but, it's unclear to me whether frag is relying on that rsync feature 2023-06-24 21:02:58 quinq, of course, but it's not what i meant :) 2023-06-24 21:03:16 i don't know if frag already has a B that has diverged from A, or no B at all yet 2023-06-24 21:03:41 Habbie: yes thats often the case 2023-06-24 21:03:50 I think that the target might not be very clear 2023-06-24 21:03:54 quinq, i agree 2023-06-24 21:04:20 Are you actually asking for a tool to replicate a hierarchy of files, frag, or are you asking for keeping two file hierarchies in sync (rsync)? 2023-06-24 21:04:21 frag, and is the target on the same system, or somewhere else? 2023-06-24 21:05:12 Habbie: same system 2023-06-24 21:05:51 quinq: rsync can do both eh... i guess the latter 2023-06-24 21:06:13 rsync can do both, but picking the -right- tool does depend on this question 2023-06-24 21:06:22 21:01Z these are the choices - transfer 400G, or map the differences so you only transfer the differences 2023-06-24 21:07:34 are you running into trouble with rsync using resources? 2023-06-24 21:07:35 Yeah, and/or actively keep track of unsynced files 2023-06-24 21:07:43 that's a good one 2023-06-24 21:08:43 But maybe that's also already an rsync feature ^^ 2023-06-24 21:08:59 (kind of) 2023-06-24 21:09:06 well, not actively 2023-06-24 21:09:11 lsync can do that, and can then call rsync for you 2023-06-24 21:09:15 but inotify over 400GB will also hurt 2023-06-24 21:09:34 Yeah, I meant just keeping state of the source, and assuming you only have to update the target 2023-06-24 21:09:53 Yeah 2023-06-24 21:10:06 frag, use better hardware : 2023-06-24 21:10:08 :) 2023-06-24 21:10:16 Or sync when nobody's using the rpi 2023-06-24 21:10:56 just wanted something simpler :] ive been using a script that uses rsync, i think rsync is very picky(?), eg having to have / after dirs or somthing iirc 2023-06-24 21:15:14 If you append / to the source, it copies the content (skips parent directory) 2023-06-24 21:19:57 it's not specifically picky; it gives you choices, and those choices are encoded by that single / being there or not 2023-06-24 21:20:05 if you're not used to it it will often do the exact thing you did not want, though 2023-06-25 00:19:30 I went on a spiritual journey, and I'm back on OFTC where I started 2023-06-25 00:24:27 better than ending up on freenode 2023-06-25 00:32:27 lmaooo true 2023-06-25 00:33:45 being honest I'm just really mad. at both the current hardware/software-landscape, and my own incompetence 2023-06-25 00:34:41 but I'll just have to do my due diligence and grow, just like everyone else 2023-06-25 03:19:20 a bit off topic, but does anyone know anything about terminal emulators? the only that has been able to handle vim colours properly has been xfce4-terminal. tried alacritty, xterm, urxvt. they all fall apart when trying to display the cursor - they can only do it in one colour 2023-06-25 03:37:58 xfce4-terminal uses vte, but xterm and urxvt don't. I don't think alacritty does 2023-06-25 05:50:53 ah. so does lxterminal actullay 2023-06-25 05:50:59 and lxterminal doesn't have an issue with it 2023-06-25 08:21:41 lxterm is also vte 2023-06-25 14:37:41 Hi Everyone. 2023-06-25 14:37:55 I have Windows 11 installed and I am trying to install Alpine as dual boot 2023-06-25 14:38:03 I could not manage to do this. I need your help ! 2023-06-25 14:38:08 Can sombeody guide me ? 2023-06-25 14:38:30 I have already some knowledge about linux & alpine as well (I am running alpine as server in Raspberry Pi4 already) 2023-06-25 14:41:33 Same hd or a 2nd one? 2023-06-25 14:42:50 Same HDD 2023-06-25 14:45:15 Personally I wouldn't do it that way, If your just looking to play with it go with a usb. 2023-06-25 14:45:34 UEFI system or legacy boot 2023-06-25 14:47:05 I'm setting up my rpi4 with lvn over raid1 with two usb and a sd spare for a docker server. 2023-06-25 14:48:21 I already did an installation to USB and it is really performing well. I want to install it to HDD as daily use. Please help. Are there any documentation 2023-06-25 14:49:06 UEFI boot or Legacy? 2023-06-25 15:24:58 It is LEGACY 2023-06-25 15:25:32 of kain 2023-06-25 15:27:14 Yeah Uefi would been a lot easier..lol 2023-06-25 17:36:13 ping 2023-06-25 18:17:28 Hello, just noticed that my server freshly installed with Alpine has constant available entropy, even when using `cat /dev/random` to try to drain it. 2023-06-25 18:18:46 Also I installed two servers (bare metal, not VM) and I noticed some that should be random, that were identical on both servers 2023-06-25 18:22:11 I hope not RPI4's <- just got my docker server up and running 2023-06-25 18:39:50 `cat /dev/random` doesn't "drain entropy" 2023-06-25 18:40:06 what was 'should be random, that were identical on both servers' 2023-06-25 18:44:46 random vs urandom ? 2023-06-25 18:45:31 those are the same 2023-06-25 18:47:38 (since 5.6 after init) 2023-06-25 18:47:55 before init /dev/random will block, after that they are the same output with no difference 2023-06-25 18:49:30 psykose: when you install open-iscsi, an initiator name is generated and put in /etc/iscsi/initiatorname.iscsi 2023-06-25 18:50:21 didn't know element allowed you to connect bridge to IRC, that's cool😸 2023-06-25 18:50:27 Also I didn't know that /dev/urandom was the same as random now 2023-06-25 18:51:50 what generates /etc/iscsi/initiatorname.iscsi 2023-06-25 18:52:12 i assume you got the same :xxxx on both machines or w/e 2023-06-25 18:55:20 That's right 2023-06-25 18:56:41 The program the generate the name is iscsi-iname 2023-06-25 18:59:43 if you run this at early boot before rng init this is likely to give you the same result but no other time 2023-06-25 18:59:45 when does it run 2023-06-25 19:00:25 that said i don't think this is meant to be unique? 2023-06-25 19:03:21 psykose: this is meant to be run once, when running the service for the first time. That was not during boot time 2023-06-25 19:03:31 this code opens /dev/urandom to read some bytes to feed into md5 and then mixes in gettimeofday() and then opens it again to pick which bytes and then outputs that, and also doesn't fail if it couldn't open /dev/urandom 2023-06-25 19:03:41 i don't know who wrote this but if this is expected to be random i would tell you to find something else lol 2023-06-25 19:04:11 that said, getting the same result assuming a different time is weird 2023-06-25 19:05:08 if you can consistently reproduce it you can go from there 2023-06-25 19:05:27 I discovered that because this created a conflict that was messing with the LUN target and getting very bad I/O 2023-06-25 19:06:02 I will try on VMs tomorrow 2023-06-25 19:06:15 it also mixes in uname 2023-06-25 19:06:52 idk i can't tell if i'm being trolled or not by this code 2023-06-25 19:07:41 psykose: I guess it's not intended to be rock-solid collision free generation. 2023-06-25 19:08:07 yes, it should be 'good enough', especially because it passes time.tv_usec + time.tv_sec into md5 2023-06-25 19:08:10 That's not a cryptography feature 2023-06-25 19:08:37 i don't actually see how you get a dupe here unless you get the same uname(3) output + the same time_t struct + /dev/urandom failed to open + it was before rng init (early boot) 2023-06-25 19:09:02 so my guess is i am either missing some bug, it's miscompiled due to some bug, or you actually just got the same value via md5 +shuffle luck 2023-06-25 19:09:28 Doesn't the kernel print a message when urandom is used before its ready? 2023-06-25 19:09:40 I'll do more comprehensive tests tomorrow 2023-06-25 19:10:06 no idea but even if that was the case it wouldn't be an exact dupe 2023-06-25 19:10:28 Anyway, I am very surprised that my available entropy is constant at 256 2023-06-25 19:10:49 that said it's 6 bytes, so a dupe is 1 in 255**6 with perfect entropy of everything 2023-06-25 19:11:09 reducing that a lot makes it even more likely 2023-06-25 19:11:30 256**6 * 2023-06-25 19:12:04 raspbeguy: it always returns that 2023-06-25 19:12:24 Why ? 2023-06-25 19:13:04 Is that specific to Alpine or is that since kernel 5.6 ? 2023-06-25 19:13:24 Since kernel 5.6 2023-06-25 19:13:26 AFAIK 2023-06-25 19:13:51 Is that a bug or a feature ? 2023-06-25 19:15:54 latter 2023-06-25 19:16:53 256 is 'full', i.e. the init is done 2023-06-25 19:17:04 from there you can't run out more or less 2023-06-25 19:17:34 the exact specific answer is hard to find 2023-06-25 19:19:42 somewhat mentioned in https://www.zx2c4.com/projects/linux-rng-5.17-5.18/ i guess 2023-06-25 19:19:51 https://www.zx2c4.com/projects/linux-rng-5.17-5.18/inside-linux-kernel-rng-presentation-sept-13-2022.pdf for more context 2023-06-25 19:20:03 but the tl;dr is that if it was >256 it wouldn't make any difference 2023-06-25 19:22:31 what i don't understand is why this iscsi thing doesn't just do char buf[6]; getrandom(&buf, 6, 0); and delete every other line of code 2023-06-25 19:22:59 i guess i don't get paid enough :-) 2023-06-25 19:23:31 ¯ \ _ (ツ) _ / ¯ 2023-06-25 19:24:33 so, are stuffs like haveged still useful? 2023-06-25 19:24:45 afaict no 2023-06-25 19:24:55 not after 256 init 2023-06-25 19:25:00 or.. before, idk 2023-06-25 19:25:14 i forget the rules for crediting with the special syscall 2023-06-25 19:39:48 raspbeguy: haveged hasn't really been useful for some time. With the recent changes in the kernel's entropy behaviour rngd and jitterentropy-rngd have also become not realy useful (I'm the Alpine maintainer for rng-tools and I've discussed this with the rng-tools author, see https://github.com/nhorman/rng-tools/issues/195) 2023-06-25 20:07:54 good to know 2023-06-25 20:08:25 Good to know... I've been using it on my Alpine installs  2023-06-25 20:08:39 Is it harmful or just... Useless?  2023-06-25 20:08:46 I guess useless 2023-06-25 20:12:07 When I change to root shell with `sudo -i` Why is ~/.bashrc Not running? Is this a bug? 2023-06-25 20:12:07 I have sudo installed 2023-06-25 20:12:32 * have sudo and bash installed 2023-06-25 20:12:39 no 2023-06-25 20:13:56 it would run /root/.bashrc, if root's shell is bash 2023-06-25 20:14:03 yes 2023-06-25 20:15:02 well, .bash_profile, which may, and some would say should, source .bashrc 2023-06-25 20:16:01 Root's shell is bash. When I run echo $SHELL it says /bin/bash, but it did not run .bashrc because nothing from .bashrc was sourced 2023-06-25 20:16:37 which bashrc did you expect it to source 2023-06-25 20:16:47 full path 2023-06-25 20:17:34 After I run sudo -i, then have a bash shell with .bashrc unsourced, Then run bash it will source .bashrc 2023-06-25 20:17:43 I don't understand why 2023-06-25 20:17:57 are you sure it's bash and not ash? 2023-06-25 20:18:54 After running sudo -i, I run echo $SHELL and get /bin/bash 2023-06-25 20:19:12 i don't think alpine sets up bash to source .bashrc from .bash_profile, you have to do that yourself 2023-06-25 20:20:18 it works fine though https://img.ayaya.dev/Aq0yJV2JytuQ 2023-06-25 20:20:26 what did you expect to get sourced 2023-06-25 20:20:47 well 2023-06-25 20:20:51 just `sudo -i` doesn't i guess 2023-06-25 20:21:14 your issue is https://unix.stackexchange.com/questions/228314/sudo-command-doesnt-source-root-bashrc 2023-06-25 20:21:57 sudo -i runs login bash and login bash doesn't source bashrc 2023-06-25 20:21:58 Thank you 2023-06-25 20:23:45 That's unlike other distributions I've used. Hopefully Alpine not be a outsider. Thank you very much for the help ❤️ 2023-06-25 20:23:58 * Hopefully Alpine will not be 2023-06-25 20:24:19 the behaviour is as it should be 2023-06-25 20:26:18 i'm sure every other distro has a 500 line /etc/bash/bashrc that does magic in any scenario to source every config file on the system 2023-06-25 20:26:41 personally i always found that somewhat annoying 2023-06-25 20:26:41 ACTION eyes red hat 2023-06-25 20:28:56 Saijin_Naib[m]: depends on which you're referring to 2023-06-25 20:30:03 if you're referring to haveged then it is harmless as the kernel has had its own jitter equivalent for some time 2023-06-25 20:32:07 if you're referring to rngd then then, due to the recent kernel changes, rngd doesn't act as originally designed for reseeding due to the kernel changes in urandom_min_reseed_secs and write_wakeup_threshold and so it can "waste" CPU unnecessarily 2023-06-25 20:46:37 Ah, excellent, thanks for the summary. I'm using haveged after having read some blogs about it being useful and potentially fixing a papercut I had with lightdm taking a long time to "wake" up from suspend/hibernate  2023-06-25 20:46:41 I'll drop it now 😎 Less is morr 2023-06-26 01:07:14 Hello there. I am using Google Chrome downloaded from Flathub. I know that it is running inside a container, not my host root filesystem. 2023-06-26 01:07:39 I download a file to ~/Downloads directory (inside the container). Does anyone know where to locate it on the host? 2023-06-26 01:09:02 I mean can someone instruct me where to get the downloaded file? I've check ~/.var/app/com.google.Chrome but found nothing. 2023-06-26 01:09:28 Chrome was installed by Flatpak in user mode. 2023-06-26 01:10:11 docker can copy file inside containers to host 2023-06-26 01:10:34 Google Chrome can be set to do the same in Flatseal 2023-06-26 01:15:22 Yes I also know that I can allow it to access host filesystem using Flatseal. But for now, I want to locate the ~/Downloads directory inside its container. 2023-06-26 01:15:34 flatpak chrome should put it in downloads already assuming the portals are running 2023-06-26 01:15:36 iirc 2023-06-26 01:15:45 xdg-desktop-portal-gtk and some xdg-user-dirs configuration 2023-06-26 08:41:33 I'm trying to setup a local repository migrating from pacman. I'm using this tool(https://gitlab.com/Durrendal/toAPK) to convert from PKGBUILD to APKBUILD. Some packages are not getting converted properly, so I'm using `abulid lint .` in my convertion script. It always prints the help message. What should we give to the '' argument? 2023-06-26 08:45:05 'abuild lint' is not a thing 2023-06-26 08:48:20 There is a seperate tool 2023-06-26 12:13:34 Yes found the tool by Ikke. Thanks people. The default help message is misleading though since it prints, `abuild lint [flags] ` when I typed `abuild lint` 2023-06-26 12:15:07 https://img.ayaya.dev/KOMWjNCiJw1O 2023-06-26 12:21:22 Must be due to different versions I guess. I'm still using the 2.12. https://pastebin.com/Fw5axBKu 2023-06-26 12:21:38 that's not abuild 2023-06-26 12:21:57 it's something completely different, named abuild 2023-06-26 12:23:09 that looks like something for android 2023-06-26 12:26:01 lmao I'm sorry. It seems so. Old abuild seems to run the $1 in shell. I tried `abuild checksum` and it works as expected but `abuild ls` prints the contents of the directory. I guess it's a bug in the old version. 2023-06-26 12:27:51 that's not an "old version" it's something completely different 2023-06-26 12:28:24 abuild ls running ls is expected because all it does is execute a shell command 2023-06-26 12:28:35 +- some wrapping 2023-06-26 12:35:45 `abuild help` gives me the proper abuild help messages. And the `abuild checksum` works properly. https://pastebin.com/SeVfgYHm 2023-06-26 12:43:12 that is ancient but yeah it's at least real abuild 2023-06-26 13:20:31 psykose: kk 2023-06-26 14:01:43 Is there any option like `apk add --root` in abuild. I tried the following https://pastebin.com/AFAJsZQ8, seems like it is trying to find the database in / but I don't have any. Though I have the alpine root structure in some other folder. Can I point abuild to that folder? 2023-06-26 14:02:17 not really 2023-06-26 14:02:45 what you're building doesn't make sense 2023-06-26 14:03:54 I'm just using it for experiment. ninja-bin has the most minimal of dependencies. 2023-06-26 14:05:18 psykose: Having --root feature in abuild is very desirable. Would you mind if I that functionality? Or does that goes againt the philosophy of alpine? 2023-06-26 14:06:29 this sounds like a useless feature useful to 1 person with a specific setup 2023-06-26 14:21:29 Can I convince you otherwise? I think this will be helpful for a lot of people. Having --root option in abuild makes it possible to use it with large cross platform native projects like browser. I work on a rendering engine and managing those big dependencies is an utter pain. The pain keeps increasing for every platform we start to support. If abuild is able to make packgages 2023-06-26 14:21:31 locally, people can basically use this as an cpp package manager, bascially freeing themselves from vcpkg hell. I guess we just have to modify the /etc/apk/world? given the proper repositories are configured. Also homebrew is pain to use in mac because of ruby implementation. Mac doesn't allow to change root without disabling SIP, so building using abuild there is extremely 2023-06-26 14:21:33 desirable. Another use case is using apk in windows, windows doesn't have chroot of any kind, with abulid the packages can be made easily available there without much effort. 2023-06-26 14:25:27 abuild isn't a package manager 2023-06-26 14:26:01 i have no idea what you're imagining but i don't think you know what you're talking about 2023-06-26 14:26:13 and there are already like 50 projects that are 'build system for xyz to manage dependencies' 2023-06-26 14:26:16 maybe more than 50 2023-06-26 14:26:29 that do what you are describing 2023-06-26 14:33:50 psykose: I understand that abuild isn't a packgae manager but there is virtually no difference between apk+abuild combo and other package managers for native projects. Good c++ package managers makes sysroot locally without affecting the / so the build system can find pkg-config files inside the sysroot. So they basically have the UNIX filesystem structure like /bin /lib /share 2023-06-26 14:33:53 /etc. There is literally no difference in functionality. We pretty much use pacman to handle cpp dependencies in our org. But pacman has bash as the base system which doesn't work properly in native windows. And is really hard to port pacman to new systems. 2023-06-26 14:34:07 yes, 'Good c++ package managers makes sysroot locally without affecting the /' 2023-06-26 14:34:34 abuild is not a 'good c++ package manager' for 'windows to build web browser without chroot' 2023-06-26 14:34:46 it's merely a small build tool for some alpine packages +- some adjacent third party trees 2023-06-26 14:39:46 that doesn't mean you can't just fork it to do whatever you want, obviously 2023-06-26 14:40:06 for ""your org"" assuming it ""literally does what you want"" this is by far the easiest option and would take you 5 minutes to do anything with it 2023-06-26 14:41:09 it itself though, is an internal alpine tool for packaging, and i really don't care if someone in some business somewhere builds some web browsers or whatever or what the usecase is 2023-06-26 14:41:17 it's not the audience and i don't care what's useful for that target 2023-06-26 14:41:57 doesn't stop you from just forking it, which takes 5 minutes :) 2023-06-26 14:45:02 The thing is there is no good c++ package management tool, and it's not possible to have one. And most c++ projects or big projects just don't use the same languages. There is atleast a mix of two or three languages and no package managers that I know of handles this well. For example we use a tool called djinni to convert IDL files into cpp and hpp files for binding with other 2023-06-26 14:45:05 languages, but djinni has to installed in the system and it's dependency java has to be installed. We can handle the invocation in a simple Makefile but the distribution part is really messy. That's where I think abuild+apk can be useful. 2023-06-26 14:45:29 you already have an answer 2023-06-26 14:48:25 "c++ package management tool" ugh 2023-06-26 14:48:50 what's wrong with the distro's package management tool? 2023-06-26 14:49:12 psykose: hahaha okay, I had to try. Thanks for answering though. 2023-06-26 14:52:22 aron: By c++ I really meant native projects. There is disparity between the available package in distro and the ones used by projects. Say if I need protobuf 2.19, the distro might only have 22.1 or something like that. 2023-06-26 14:53:25 just let distros package your stuff, and set proper version requirements if any 2023-06-26 14:58:04 aron: In cases where the dependencies are old we can't expect the distros to support them, only option is using static linking in that case. 2023-06-26 14:59:38 indeed, but what's the problem with that? 2023-06-26 15:00:05 add that project's specific version as a source dependency 2023-06-26 15:00:15 download it, configure it, and link against it 2023-06-26 15:00:22 nothing fancy 2023-06-26 15:01:06 also, keep in mind, every situation is different, you probably can't make a tool that is suitable for all kind of situations 2023-06-26 15:02:10 and it might be more future-proof, if you keep it as simple as possible, and not depend from another tool 2023-06-26 15:03:33 building against very old libs is always a pain, especially if the lib is not designed carefully 2023-06-26 15:03:50 maintaining libs in long term is hard! 2023-06-26 15:09:15 aron: It doesn't have to be if maintaining a repository with all the dependencies. The problem with adding another project as soure dependency is that there is no agreement to use the same build system like nodes packgaes.json. Some people use cargo, some use make, some use cmake, etc. Having an APKBUILD for every dependency and installing it in a common sysroot and adding a 2023-06-26 15:09:18 -Isysroot/include is the easiest and less messiest and ultimate perfect way of managing dependencies I can think of. 2023-06-26 15:12:24 I disagree 2023-06-26 15:12:35 anyway, you can always fork abuild if you want 2023-06-26 15:18:58 aron: okay cool 2023-06-26 16:05:17 How can I troubleshoot what appears to be a bubblejail issue with Evolution on edge? 2023-06-26 16:05:44 It never loads, though the processes are running. If I launch via terminal, I get this wholly unhelpful print 2023-06-26 16:06:20 bwrap: Can't make symlink at /var/run: File exists 2023-06-26 16:06:20 evolution 2023-06-26 16:07:41 that sounds like something being confused by /var/run -> /run 2023-06-26 16:07:41 hmm 2023-06-26 16:07:56 and by something i mean webkit 2023-06-26 16:08:25 i can't reproduce it for some reason 2023-06-26 16:08:53 Fresh install of 3.18.2 upgraded to edge 2023-06-26 16:09:05 if you start e.g. epiphany do you get the same 2023-06-26 16:09:08 evolution, evolution-on, evolution-ews, evolution-data-server 2023-06-26 16:09:11 let me check 2023-06-26 16:09:48 bwrap: Can't make symlink at /var/run: File exists 2023-06-26 16:09:48 epiphany 2023-06-26 16:10:08 this sounds like https://github.com/flatpak/flatpak/issues/5255#issuecomment-1380445755 2023-06-26 16:10:22 it spawns a zombie Epiphany that shows up in my XFCE task list, but doesn't actually draw and just blocks the screen 2023-06-26 16:10:30 Yeah, but neither are via flatpak 2023-06-26 16:10:35 not related to flatpak 2023-06-26 16:10:38 read closer 2023-06-26 16:10:39 and my flatpaks run fine, of course 2023-06-26 16:11:01 it's some magic media symlink stuff 2023-06-26 16:11:02 hmmm 2023-06-26 16:11:06 or other symlink stuff 2023-06-26 16:11:08 Is this safe to mess with? 2023-06-26 16:11:19 I assume not, otherwise Alpine would have done it by default, right? 2023-06-26 16:11:36 you should "look" not "mess" and see what's where 2023-06-26 16:11:37 idk 2023-06-26 16:11:52 i don't have any symlinks for instance 2023-06-26 16:12:13 Wha, how? 2023-06-26 16:12:31 Yeah, I have a symlink in /var/run that points to /run 2023-06-26 16:12:36 no, that one is fine 2023-06-26 16:12:40 i mean /media 2023-06-26 16:14:27 /media does not appear to be a symlink, but rather just a directory at the root 2023-06-26 16:14:44 same goes for /var/run/media 2023-06-26 16:14:51 that's just a directory in run 2023-06-26 16:14:57 `ls -l /; ls -l /media; ls -l /run; ls -l /var` 2023-06-26 16:15:35 ACTION sent a code block: https://matrix.org/_matrix/media/v3/download/matrix.org/CpdSXyLccyzaICPmgpuegYBI 2023-06-26 16:16:32 preferably as pastebin next time 2023-06-26 16:16:38 that is a pastebin 2023-06-26 16:16:42 Saijin_Naib[m]: looks normal 2023-06-26 16:17:03 psykose: wrong 2023-06-26 16:17:23 psykose: is gdb the correct next step? 2023-06-26 16:20:29 more so `strace -f -s 999 epiphany` but it will have a ton of logs 2023-06-26 16:22:31 (add -o file too and paste that) 2023-06-26 16:24:31 Shit, 6.4MB 2023-06-26 16:24:42 sounds fine 2023-06-26 16:24:50 Can I upload that, or actually copy/paste the log so the IRC software pastebins it for me>? 2023-06-26 16:24:58 it's the same shit 2023-06-26 16:25:04 it's a url and i get it 2023-06-26 16:25:22 ACTION posted a file: saijin_naib-epiphany-strace (6278KiB) < https://matrix.org/_matrix/media/v3/download/matrix.org/svEarbJFlGFSxLiwNYUzoFds > 2023-06-26 16:25:23 Ah, awesome, thanks 2023-06-26 16:25:27 thanks 2023-06-26 16:27:23 so yeah it seems like the same immediate symptoms that it's trying to add newroot/var/run -> ../run and it already exists... 2023-06-26 16:27:25 not sure why 2023-06-26 16:28:17 hmm... I don't have anything custom in my profile.d 2023-06-26 16:28:28 not really related 2023-06-26 16:28:32 I did restore my /home from my previous install on this machine (that worked fine minus polkit issues) 2023-06-26 16:28:48 So this is lower-level than profile/home? 2023-06-26 16:29:10 As far as I know, I've done nothing funky aside from switch to edge and restore a backed-up apk world and restoring my /home folder 2023-06-26 16:33:18 what does `doas tree /run | grep var` give for you 2023-06-26 16:36:55 Empty output 2023-06-26 16:37:17 Null? It ran successfully, it just didn't find anything 2023-06-26 16:37:52 makes sense 2023-06-26 16:38:18 no good ideas i guess 2023-06-26 16:43:43 Fuuuuuck  2023-06-26 16:43:47 Thank you, though  2023-06-26 16:44:07 Brain is itching that it might be something broken with XFCE and AT-SPI 2023-06-26 16:44:28 At least Builder works, so half my work environment is good  2023-06-26 16:44:30 🤣 2023-06-26 18:27:18 the zstd compress level 19 needs to go away. 2023-06-26 18:27:37 that's crazy for initramfs. 2023-06-26 18:28:05 just use the default 3 2023-06-26 18:48:16 Decompress should be mostly transparent even at that level, no?  2023-06-26 18:56:22 Saijin_Naib[m]: decompress has nothing to do with compress level. 2023-06-26 18:59:19 I'm aware. I'm just confused about why you would care about compression level used when it really has no bearing on decompress, which is going to be the more frequent interaction with a compressed file  2023-06-26 18:59:20 not entirely true 2023-06-26 19:00:29 For ZSTD, the variance in decompress is pretty insignificant, though for other compression methods it isn't always, you're right 2023-06-26 19:28:27 uuidNuniq, going away from where? 2023-06-26 19:28:34 It seems that the default is still gzip 2023-06-26 19:29:22 I was just about to ask how to modify the default mkinitfs compression scheme ^^ 2023-06-26 20:24:19 uuidNuniq, found it, zstd) cmd_exists zstd; comp="zstd -T0 -19" ;; 2023-06-26 20:33:20 quinq: you can set a varaible in /etc/mkinitfs/mkinitfs.conf 2023-06-26 20:33:53 to use zstd 2023-06-26 20:33:54 there are some not neglible differences when you choose different compression level and blocksize 2023-06-26 20:34:28 quinq: the script also detect pigz. so installing pigz reduces time to create gzip initramfs 2023-06-26 20:35:12 depending on cpu the sweatspot often is at arond 64-128kbyte blocksize 2023-06-26 20:35:37 anything higher than that (which higher compression by default often utlizes) will bring more cachemisses so you end up with lesser performance 2023-06-26 20:35:50 its like you have two graphs crossing each other 2023-06-26 20:36:59 sure for pure storage I also prefer maximum compression but for lets say a ramdisk using maximum compression is often a bad thing... often -c6 or -c7 is the sweetspot where -c9 is maximum 2023-06-26 20:38:16 uuidNuniq, I couldn't find anything about that in the man-page 2023-06-26 20:38:35 for example with xz compression and ramdisks using 256k as blocksize instead of 1M would increase the readspeed by 14% (compared to using 1M) with the cost of about 5% larger image 2023-06-26 20:38:40 It only says “Default configuration file. It contains the list of default features in the format of features="...".” 2023-06-26 20:39:07 And I couldn't find any module about that 2023-06-26 20:39:17 https://jonathancarter.org/2015/04/06/squashfs-performance-testing/ 2023-06-26 20:39:54 quinq: initfscomp=zstd 2023-06-26 20:40:43 I guess that calls for a documentation patch :D 2023-06-26 20:40:44 Thanks 2023-06-26 20:40:55 Line 243: . $(readlink -f "$config") 2023-06-26 20:41:21 that will replace the default initfscomp=gzip 2023-06-26 20:41:48 Line 301: gzip) comp="$(command -v pigz 2>/dev/null || echo gzip) -9" ;; 2023-06-26 20:41:57 I meant documentation in the man-page :) 2023-06-26 20:42:00 that will use pigz instead of gzip if available 2023-06-26 20:42:28 yep 2023-06-26 20:43:51 but they need to drop the "-19" that is too slow. 2023-06-26 20:45:24 i mean alpine is a rolling release, there will be only one initramfs in /boot, the size reduction that -19 brings is merely significant 2023-06-26 20:46:27 alpine is not rolling 2023-06-26 20:47:07 oh, right. i mean the kernel is rolling 2023-06-26 20:48:07 e.g. one kernel image, one initramfs img at any given time. 2023-06-26 20:48:23 not like you got 10 initramfs where size matters 2023-06-26 20:49:00 well, size does matter, as people are running into space issues for their /boot partitions lately 2023-06-26 20:49:11 (I've already run into that on one system) 2023-06-26 20:49:42 hmm... too many modules enabled? 2023-06-26 20:50:17 or not planned well in the beginning? or use /boot as ESP? 2023-06-26 20:50:58 /boot was 100M by default until not long ago 2023-06-26 20:51:02 how much space does -19 actually save compared to default level? 2023-06-26 20:51:06 The default list of mkinitfs features that are enabled always loads more than you need to boot your system. 2023-06-26 20:51:22 Not always a bad though though, if you get dumped to an emergency shell, some of those things are nice to have 2023-06-26 20:51:24 quinq: depends on how many modules you enable 2023-06-26 20:51:37 In this case, it's vmlinuz that takes most space, though 2023-06-26 20:52:04 uuidNuniq, with the same modules. 2023-06-26 20:52:28 quinq: you can do a test :) 2023-06-26 20:53:09 modify the mkinitfs script remove -19 and genereate new initramfs. and compare with previous size 2023-06-26 20:53:17 I was hoping that people claming it matters already did that so that I wouldn't have to do it again 2023-06-26 20:53:49 zcrayfish: i always trim it to the minimal. 2023-06-26 20:54:28 i have 2 modules enabled actually : the base, and my custom .module in /etc/mkinitfs/feature.d/ 2023-06-26 20:54:31 same. if something fails at this point I just use a rescue disk (well USB flash drive, but still) 2023-06-26 20:55:41 i use zstd level 1 where possible 2023-06-26 20:56:03 e.g. i use btrfs mount option : -o compress=zstd:1 2023-06-26 20:56:29 that is a great level. it makes my rootfs 50% size of ext4 2023-06-26 20:57:12 and i don't see any speed difference compared to ext4 2023-06-26 20:58:25 btw: btrfs is really great :) although i don't use the features like subvolume or snapshot 2023-06-26 20:58:34 too complex to me. 2023-06-26 20:59:25 i just use it like it is ext4. 2023-06-26 20:59:50 but with meta+data csum + compress 2023-06-26 21:02:07 oh btw, btrfs does not need fsck :) so in fstab it is 0 0 2023-06-26 21:02:22 but i do monthly scrub 2023-06-26 21:02:28 with a cron 2023-06-26 21:03:22 yeah, I switched to btrfs just for compression and deduplication 2023-06-27 06:46:25 Hello :) 2023-06-27 06:49:17 "btw: btrfs is really great..." <- Just bear that in mind: https://lists.alpinelinux.org/~alpine/infra/%3C20201018103924.GC17790%40home.c-otto.de%3E 2023-06-27 06:50:32 OdaNobunaga[m]: doesn't say why the filesystem failed 2023-06-27 06:50:54 Any filesystem can get damaged for various reasons 2023-06-27 06:53:10 I wanted to suggest that Alpine provides a virtiofs install image in addition to the standard kvm image on the download page 2023-06-27 06:59:57 It's basically just a rootfs in a directory. Then provide libvirt XML domain config or a qemu command line wrapper script to launch virtiofsd and enable direct kernel boot. 2023-06-27 07:00:58 am I supposed to start wireplumber is an openRC service? the wiki isn't clear on this. also it doesn't seem to install an openRC service 2023-06-27 07:02:03 no 2023-06-27 07:02:53 psykose: what do you think of my proposal? 2023-06-27 07:03:05 what proposal 2023-06-27 07:03:33 I suppose there isn't much interest in virtiofs as rootfs? 2023-06-27 07:03:41 i have no idea what that is 2023-06-27 07:03:46 Ah 2023-06-27 07:03:57 Then it's hard to know :) 2023-06-27 07:04:25 Virtiofs is a shared filesystem between hosr/hypervisor and the guest 2023-06-27 07:04:37 Like nfs, Samba or plan9 2023-06-27 07:04:42 i know that part 2023-06-27 07:04:48 i don't see what's stopping you from doing it 2023-06-27 07:04:54 But is built on virtio instead of a network filesystem 2023-06-27 07:05:16 Nothing. I use it with alpine and it works very well 2023-06-27 07:05:34 In fact, much better than with Debian and Ubuntu 2023-06-27 07:06:51 I guess the normal installer would work fine. The only change I think needs to be done is excluding a boot loader 2023-06-27 07:07:36 I might try documenting the process for others to use 2023-06-27 07:11:23 psykose: example https://gist.tnonline.net/PQ 2023-06-27 07:11:54 looks normal 2023-06-27 07:12:53 https://gist.tnonline.net/2E mount output 2023-06-27 07:13:05 But yes. That's the point. It's normal 2023-06-27 07:13:36 Just a shared dir instead of dedicating a virtual block device 2023-06-27 07:15:02 I need to check if the installer has the fuse.ko and virtiofsd.ko modules 2023-06-27 07:16:31 IMHO it makes real good sense to use alpine on virtiofs. It minimise the storage footprint and memory usage because the guest doesn't have to load filesystem drivers etc. 2023-06-27 08:01:57 what's the big attraction of pipewire over pulse? you need a lot less packages installed to get pulse working 2023-06-27 08:03:19 1. it was designed to work with flatpak, 2. you can use it to do screen recording on wayland, 3. it can integrate with alsa, pulse, jack, probably others 2023-06-27 08:05:37 whats the consensus on flatpak ive heard a lot of negative things 2023-06-27 08:05:58 i don't think there is consensus on flatpak 2023-06-27 08:06:27 but it's just a fancy wrapper around running a program in a container (in this case, using bubblewrap) 2023-06-27 08:09:04 4. it works more gooder 2023-06-27 08:10:22 that too 2023-06-27 08:12:29 5. it's not snap 2023-06-27 08:13:12 6. it got pipes and it got wires, great for electrical plumbers 2023-06-27 08:14:07 😨 2023-06-27 08:14:08 7. nostalgic reference to windows xp screensaver 2023-06-27 08:18:23 8. i put on my robe and wizard hat 2023-06-27 08:29:45 9. Are you going to ponder your orb? 2023-06-27 08:39:41 podman doesn't work, i get `OCI runtime error: crun: invalid file system type on '/sys/fs/cgroup'`, even if cgroups service is started 2023-06-27 08:41:06 what's the output of `mount` 2023-06-27 08:45:11 teapot9: did you reboot after a kernel upgrade? 2023-06-27 08:51:00 psykose: mount: https://bpa.st/4CO7W 2023-06-27 08:51:41 ikke: rebooted not long ago, no recent kernel update 2023-06-27 08:52:03 hmm 2023-06-27 08:52:09 does it not work anymore with hybrid mode 2023-06-27 08:52:33 switched to hybrid after getting the error with unified 2023-06-27 08:52:58 which one is the mount output from 2023-06-27 08:53:10 wait, rebooted again and it works 2023-06-27 08:53:13 i dont understant 2023-06-27 08:56:17 switched back to unified and it also works, thanks for the help 2023-06-27 09:56:39 Hello, I've just installed Alpine Linux on my PC, however there is no eth0 network interface showing up. It was present during the install. Might anyone know what to do to fix it ? ifconfig -a outputs "lo" only. 2023-06-27 10:11:11 doodoo: did you configure networking properly? 2023-06-27 10:11:47 What network card is it? 2023-06-27 10:12:28 When it asked for what interface to use I selected eth0, and dhcp for the next question 2023-06-27 10:12:34 I'm not too sure, how do I check exactly ? 2023-06-27 10:14:45 doodoo: what's the output of lspci -k (use a pastebin service) 2023-06-27 10:16:07 let me boot into my other os as alpine doesnt have lspci and pciutils does not seem to be a package 2023-06-27 10:17:53 Don't remember what the package is called 2023-06-27 10:18:19 pciutils 2023-06-27 10:18:42 https://pastebin.com/ahgwjJVX 2023-06-27 10:18:48 https://pkgs.alpinelinux.org/package/v3.18/main/x86_64/pciutils 2023-06-27 10:18:50 not sure but it was telling me pciutils is not found for some reason 2023-06-27 10:19:18 r8169 2023-06-27 10:19:27 Seems you have a realtek card 2023-06-27 10:20:40 does that imply something ? 2023-06-27 10:21:06 Yes that it is found by the kernel and a driver was loaded 2023-06-27 10:21:23 then why is it not showing up in alpine ? 2023-06-27 10:21:39 Check /etc/network/interfaces 2023-06-27 10:21:45 it contains eth0 2023-06-27 10:21:57 (and lo for that matter) 2023-06-27 10:22:25 doodoo: but `ip link show` does not return it? 2023-06-27 10:22:28 Forza: "let me boot into my other os" <-- doodoo 2023-06-27 10:22:57 I dont have lspci on my alpine, so I booted into my nix to check 2023-06-27 10:23:12 Ah.. 2023-06-27 10:23:13 doodoo: check ip link show 2023-06-27 10:23:19 that's a good idea 2023-06-27 10:23:33 alright 1 sec, lemem boot back into alpine 2023-06-27 10:23:50 But you can also check in dmesg or /proc/interrupts 2023-06-27 10:24:40 also: lsmod | grep r8169 2023-06-27 10:25:34 might also be missing firmware (iirc that one is linux-firmware-rtl_nic) 2023-06-27 10:25:41 though by default all the firmware is installed post-install 2023-06-27 10:26:37 well my kb is not inputting into alpine rn.... out of nowhere 2023-06-27 10:26:41 so ill be a hot minute 2023-06-27 10:31:51 ok on boot I see this error "ip ioctl 0x8913 failed No such device", followed with "udhcpc ioctl 0x8933 failed: No such device". I am still not able to login as my kb is not working (i just reinstalled alpine too...) 2023-06-27 10:32:47 the ioctl thing is some race condition somewhere that i didn't figure out 2023-06-27 10:33:35 :/ 2023-06-27 10:33:47 ok what is "/proc/sys/kernel/hotplug" as it is not creating it 2023-06-27 10:33:52 and my keyboard isnt working 2023-06-27 10:33:56 i am guessing it might be related 2023-06-27 10:34:11 how tf did this break, even after a fresh install. I am so confused. 2023-06-27 10:35:44 how you installed is relevant since it affects the mkinitfs features etc 2023-06-27 10:36:10 I see, I am installing it onto a partition as I am dualbooting. 2023-06-27 10:36:28 mount -t ext4 /dev/sdXY /mntsetup-disk -m sys /mnt 2023-06-27 10:36:51 mount -t ext4 /dev/sdXY /mnt setup-disk -m sys /mnt 2023-06-27 10:37:15 i am using a partition that was formatted to ext4 before tho, i didnt use mkfs.ext /dev/sdXY 2023-06-27 10:37:19 do i need to use mkfs ? 2023-06-27 10:37:57 wouldn't matter no 2023-06-27 10:38:41 ill just reformat to hopefully get that kb working... 2023-06-27 10:38:44 and reinstall 2023-06-27 10:39:02 don't think reinstalling and doing the same thing would change anything 2023-06-27 10:39:30 im really confused as the kb was working when i first joined the IRC 2023-06-27 10:40:14 what's in features= in /etc/mkinitfs/mkinitfs.conf after install 2023-06-27 10:47:22 well 1 sec as now when i try boot into it i am gteting filesystem errors 2023-06-27 10:50:51 « features="ata base ide scsi usb virtio ext4" » 2023-06-27 10:55:56 seems ok 2023-06-27 10:58:42 ok i rly dont know what to do without my keyboard working in it now 2023-06-27 10:58:53 it literally broke from one both to another, reinstalling makes no difference 2023-06-27 10:59:42 boot* 2023-06-27 10:59:49 doodoo: usb keyb? 2023-06-27 10:59:54 yeah 2023-06-27 11:00:05 tried to unplug/replug? 2023-06-27 11:00:16 ok i put it in another port and it works 2023-06-27 11:00:33 unplug/replug didnt 2023-06-27 11:00:45 different port, works too 2023-06-27 11:00:53 ip link show only shows "lo" 2023-06-27 11:01:01 at least you have keyb now :) 2023-06-27 11:01:04 yes haha 2023-06-27 11:01:12 now i need networking 2023-06-27 11:01:31 what is this yield? lsmod | grep r8169 2023-06-27 11:01:49 nothing 2023-06-27 11:02:09 try this: modprobe r8169 2023-06-27 11:02:21 it should print it's problems, if any 2023-06-27 11:02:27 "Module not found in directory /lib/modules/5.18.6-arch1-1 2023-06-27 11:02:34 ooooh 2023-06-27 11:03:30 well i understand whats wrong 2023-06-27 11:03:39 but im not too sure why its not there 2023-06-27 11:03:46 yeah, it's wrong 2023-06-27 11:04:17 i suppose its an alpine issue ? 2023-06-27 11:05:20 doodoo: could you try the live iso again? 2023-06-27 11:05:27 or: it is not a *module* module anymore 2023-06-27 11:05:29 the live iso works 2023-06-27 11:05:29 and see what the situation is there, given that it did work there 2023-06-27 11:05:33 sure 2023-06-27 11:05:36 ill reboot into it 2023-06-27 11:06:29 hmm, what kind of kernel is that "5.18.6-arch1"? 2023-06-27 11:06:38 that's not alpinelinux 2023-06-27 11:06:41 that's archlinux 2023-06-27 11:06:54 but i installed alpine linux haha 2023-06-27 11:06:56 idk... 2023-06-27 11:07:08 wait does it have something to do with booting maybe ? 2023-06-27 11:07:20 coz i copied the boot config from my archlinux 2023-06-27 11:07:27 (systemd-boot) 2023-06-27 11:07:36 sounds like bad rootfs is mounted 2023-06-27 11:07:54 oh, how do i go about that ? 2023-06-27 11:08:13 I checked for r8169.ko.gz, and it is a thing in all alpine -lts kernels 2023-06-27 11:08:13 (i suppose its not particularly alpine linux related then but id still appreciate any help if you know) 2023-06-27 11:08:39 first: uname -a 2023-06-27 11:08:46 second: cat /etc/alpine-release 2023-06-27 11:09:02 doodoo: you probably booted wrong kernel, then the alpine modules won't work 2023-06-27 11:09:24 (uname "comes from" the initramfs, and alpine-release is just a regular file) 2023-06-27 11:09:35 uname comes from the running kernel 2023-06-27 11:09:38 (it's a syscall) 2023-06-27 11:09:42 alpine-release is 3.18.2 2023-06-27 11:09:46 and the kerken comes from the boot partition 2023-06-27 11:09:49 kernel* 2023-06-27 11:09:55 hm, sure? 2023-06-27 11:10:05 uname -a is "Linux swejqa 5.18.6-arch1-1 #1..... x86_64 Linux" 2023-06-27 11:10:08 haha yeah im running arch kernel 2023-06-27 11:10:16 idek where it is, I uninstalled arch 2023-06-27 11:10:28 I see boot partition 2023-06-27 11:10:37 doodoo: so definitely different kernel 2023-06-27 11:10:54 dmesg |less will tell you among the first few lines what kernel and command line arguments and rootfs you have 2023-06-27 11:11:10 i i didnt realise the kernel is in the boot partition 2023-06-27 11:11:25 It is 2023-06-27 11:11:40 But you don't have to have a boot partition 2023-06-27 11:11:48 ikke: right, my bad 2023-06-27 11:11:54 I mean since im dualbooting tho, I think I need one 2023-06-27 11:13:14 i suppose i update the vmlinuz-linux, initramfs-linux.img and initramfs-linux-fallback.img insied the boot partition ? 2023-06-27 11:13:33 alpine does not have a fallback image 2023-06-27 11:13:36 that's archlinux 2023-06-27 11:13:41 ah ok 2023-06-27 11:13:45 well the first 2 are what matter anyway 2023-06-27 11:13:49 (at least we know that the kernel version is incorrect) 2023-06-27 11:14:42 it's initramfs-lts for alpine 2023-06-27 11:14:58 and vmlinuz-lts 2023-06-27 11:15:06 yeah makes sense 2023-06-27 11:15:12 ok ill do it and get back 2023-06-27 11:23:50 yeah you booted some other kernel but everything else is from alpine 2023-06-27 11:24:00 so there are no modules available for it 2023-06-27 11:25:20 just to confirm i copy the initramfs-lts and vmlinuz-lts from /boot in the alpine partition and use those to boot correct ? 2023-06-27 11:25:41 no idea 2023-06-27 11:26:01 What bootloader are you using? 2023-06-27 11:26:04 systemd-boot 2023-06-27 11:26:27 i haven't done dualbooting where i had to copy random files around before 2023-06-27 11:26:35 im getting an issue mounting the alpine partition "/sysroot: No such file or directory" 2023-06-27 11:26:49 haha I dont wanna fuck up my windows boot tbh, its such a pain in the arse 2023-06-27 11:27:16 Can you see the boot entry for alpinelinux? 2023-06-27 11:27:21 what arguments etc 2023-06-27 11:27:37 (I'm not that familiar with systemd-boot) 2023-06-27 11:27:38 doodoo: I shoved my old windoz system into a VM, and no need for dual boot :) 2023-06-27 11:27:52 sadly I only use windows for gaming with AC like valorant 2023-06-27 11:28:05 wait let me open up the entry for alpine boot 2023-06-27 11:29:11 passing vga with pci passthrough works like a charm 2023-06-27 11:30:12 i think AC is finicky in VMs tho 2023-06-27 11:30:29 anyway, arguments are "root=PARTUUID=.... rw" 2023-06-27 11:30:39 the issue is with the /sysroot file tho 2023-06-27 11:31:06 (AC stands for... alternate current? :P) 2023-06-27 11:31:07 /sysroot is a directory 2023-06-27 11:31:38 anti-cheat 2023-06-27 11:31:50 yeah it is, i suppose i gotta make it lol 2023-06-27 11:31:51 idk where tho 2023-06-27 11:32:06 doodoo: no 2023-06-27 11:32:26 or something with boot options? 2023-06-27 11:32:28 fstab? 2023-06-27 11:32:28 idk 2023-06-27 11:33:11 you're missing modules=sd-mod,usb-storage,ext4 modules=sd-mod,usb-storage,ext4 2023-06-27 11:33:19 assuming you use ext4 2023-06-27 11:33:31 sorry, modules was duplicated 2023-06-27 11:33:41 yes i was about to say, found this on the wiki "* incorrect device UUID * missing module in /mnt/etc/update-extlinux.conf or /mnt/etc/mkinitfs/mkinitfs.conf" 2023-06-27 11:33:51 ill add 2023-06-27 11:34:03 rootfstype=ext4 2023-06-27 11:34:33 i add rootfstype=ext4 + modules=sd-mod,usb-storage,ext4 ? 2023-06-27 11:34:38 yezs 2023-06-27 11:40:23 i still get the same issue 2023-06-27 11:40:38 which is weird coz when it puts me into that safety shell i do "ls -a" and I see /sysboot 2023-06-27 11:40:53 could it be related to "Can't open blockdev" 2023-06-27 11:41:34 what kind of disk do you have? nvme? 2023-06-27 11:42:00 https://gitlab.alpinelinux.org/alpine/mkinitfs/-/blob/master/initramfs-init.in#L593 2023-06-27 11:42:21 aron: yeah, good question 2023-06-27 11:42:52 nope, sata ssd 2023-06-27 11:43:18 lvm? 2023-06-27 11:43:53 in the emergency shell, do you see the blockdevices for your disk? 2023-06-27 11:43:53 raid, maybe? 2023-06-27 11:43:58 o/. I'm dd'ing the alpine-standard iso (x86_64) into a USB key, booting from it finds grub etc, then I get a recovery shell saying that mount failed 2023-06-27 11:43:59 whats lvm ? 2023-06-27 11:44:07 logical volume manager 2023-06-27 11:44:46 how do i check that 2023-06-27 11:45:11 If you did not explicitly configured that, then most likely you are not 2023-06-27 11:45:27 im rebooting in to check blockdevices 2023-06-27 11:46:14 if u want to know if blkid writes anything it does, everything 2023-06-27 11:47:00 Does the UUID match what's the cmdline? 2023-06-27 11:47:06 is there no systemd boot example for alpine ? 2023-06-27 11:47:14 i am using the partuuid to boot 2023-06-27 11:47:16 does it need uuid ? 2023-06-27 11:47:28 doodoo: doodoo for dual boot you just need to make sure that the boot loader knows of the kernel and initramfs for both OS 2023-06-27 11:47:50 yes for windows I really dont understand that mess tho 2023-06-27 11:50:21 ill try use uuid not partuuid 2023-06-27 11:51:47 oh it works !! 2023-06-27 11:52:08 with internet 2023-06-27 11:52:09 hahaha nice!! 2023-06-27 11:52:41 cool 2023-06-27 11:52:47 finally, took a few hours haha 2023-06-27 11:53:10 thanks a lot guys, i managed to fix it and learnt a fair bit 2023-06-27 11:53:21 now i can go have lunch in peace 2023-06-27 12:04:20 hi, linuxcontainers stopped building lxc containers for 32bit architectures, does alpine have their own builds for armv7 that we could use? 2023-06-27 12:14:18 i don't think we maintain anything 'lxc image' related but i imagine you could create it from the minirootfs or the like 2023-06-27 12:14:47 ikke: what did we use for the armv7 builder in lxc if not this same thing? 2023-06-27 12:15:39 iirc you just use some template and it pulls the rootfs and makes it, or something 2023-06-27 12:17:01 there is distrobuilder that prepares the container that lxc can then pull from, but that would require some infra we currently don't have, so for now I am just asking about whether there aren't pre-prepared containers somewhere 2023-06-27 12:17:38 also, I think we would have to maintain our own template for distrobuilder since they dropped the armv7 variant 2023-06-27 12:18:09 We use the legacy templates 2023-06-27 12:18:27 It doesn't require anything prebuilt/hosted 2023-06-27 12:20:14 It uses apk.static to install into a chroot 2023-06-27 12:37:20 ah, i guess those are basically just a setup script 2023-06-27 12:37:31 and we have them patched for new keys and stuff 2023-06-27 12:37:36 Yes 2023-06-27 15:02:52 hi i'm wanting to make some custom alpine packages for my network and am unsure of the best way to do so. is there a way to build packages for other versions of alpine than what is installed on my system? should i use a vm or chroot instead of my primary install? what's the recommended way to go about this? 2023-06-27 15:05:10 rootbld slightly lets you do that if you start from e.g. 3.18-stable but overall there's a lot of caveats and messes there 2023-06-27 15:06:03 having a vm or some container stuff with a repo to run buildrepo in is probably easiest, but it does take a bunch of setup 2023-06-27 15:14:43 eventually using docker-abuild aka dabuild 2023-06-27 15:14:58 if you want to just build stuff manually 2023-06-27 15:20:32 @psykose: My second Alpine XFCE edge x86_64 machine (also clean install from 3.18.2 upgraded to edge this week) is experiencing the same issues with Evolution and Epiphany not working 2023-06-27 15:20:45 idk what it could be 2023-06-27 16:02:04 Hm, alright. Any pointers of where I should look next to file an issue? 2023-06-27 16:02:06 I have no STR other than install Evolution under edge x86_64 with XFCE as the DE 2023-06-27 16:02:24 Where to look next meaning info to collect, sorry 2023-06-27 17:29:11 OdaNobunaga[m]: i guess that btrfs was converted from ext4 2023-06-27 21:03:36 Maybe LTO builds are causing issues? I saw something like this on #gentoo earlier. 2023-06-27 21:04:28 not in this class of error 2023-06-27 21:04:45 Saijin_Naib[m]: ^^ 2023-06-27 21:04:53 OK 2023-06-27 21:04:59 Sorry 2023-06-27 21:07:45 what is "something like this on #gentoo earlier" 2023-06-27 22:56:44 are there any third party alpine package repositories for VERY old hardware? I have a CPU that doesn't even support sse2, so a lot of software fails with Invalid Instruction: neovim, mpv, midori, firefox to name a few. also I am afraid I can't handle rebuilding packages myself and managing my own versions of everything. are there repos I can just plug and install from them? 2023-06-27 23:02:20 don't think so 2023-06-27 23:02:43 neovim probably fails in luajit which is meant to check for sse but it's broken somewhere 2023-06-27 23:03:11 mpv i'm not sure but if you get a `bt` and `x/5i $pc` from gdb i can look at it 2023-06-27 23:03:19 firefox is probably unfixable 2023-06-27 23:04:01 that said i think even the kernel from 3.18 won't work anymore with such hardware if it doesn't support pae so idk 2023-06-27 23:08:07 psykose: there's pae in the output of /proc/cpuinfo 2023-06-27 23:08:13 works then 2023-06-27 23:08:30 it's a mobile AMD Athlon 1400+ 2023-06-27 23:08:39 800 MHz 2023-06-27 23:09:42 I found some post of a dev in the issues tracker saying that very few people use such hardware, hence staying on sse2 is fine sinec it doesn't affect many users 2023-06-27 23:09:46 well it affects me 2023-06-27 23:10:35 and I'm not looking for getting babysitted with a particular single package, I am trying to find options so I could service myself 2023-06-27 23:10:50 so I thought such a third party repo could be an option (if it existed) 2023-06-27 23:11:51 hence I find pretty much pointless to start spamming the issue tracker with complaints for every package that does not work for me 2023-06-27 23:12:13 such hardware is too old to be officially supported? fair, I can totally understand that 2023-06-27 23:12:37 but alpine happens to be the only distro that boots and installs on this thing, so I don't have other options 2023-06-27 23:14:01 I can even get Xorg to work, with a lot of manual voodoo config patching, it would be great if I find a way to get past this nvalid Instruction limitation on my own, every time it happens for a package I may need 2023-06-27 23:14:32 yeah, i got that part 2023-06-27 23:14:36 but no such repo exists that i know of 2023-06-27 23:14:58 what's debian i386's minsupport? 2023-06-27 23:15:19 686 2023-06-27 23:15:23 I wasted a whole day with debian 12 i386, just yesterday 2023-06-27 23:15:53 couldn't even beat the manual partitioner to get a LUKS encrypted filesystem without LVM 2023-06-27 23:15:54 what about arch linux 32? they have both 686 and 486 repos 2023-06-27 23:16:08 https://archlinux32.org/architecture/ 2023-06-27 23:16:40 the automated partitioner worked, then after many hours of installing packages it tried to set up the console and garbled it 2023-06-27 23:16:50 then froze at the grub install step 2023-06-27 23:16:52 so no debian 2023-06-27 23:17:06 owait, I thought arch abandoned the x86 branch years ago 2023-06-27 23:17:17 I did not know there's still arch for 32bit 2023-06-27 23:17:31 archlinux32 is a separate distro 2023-06-27 23:17:39 ^ same with arch linux arm 2023-06-27 23:19:43 the alpine install script is so easy to use, does archlinux32 have something similar? or does it require a lot of manual intervention copypasting commands? 2023-06-27 23:20:18 arch does have a guided installer now 2023-06-27 23:20:41 though it's not recommended 2023-06-27 23:22:34 I think gentoo supports 32-bit x86 still and for packages you could set up distcc to get packages compiled on more capable hardware, and there's first-class support for having control over the build flags that get used. might be a bit annoying overall though 2023-06-27 23:24:57 installing gentoo is even worse than installing arch. especially while being biased by the simplicity of installing a;pine 2023-06-27 23:25:06 this one video I saw recently on Arch 32 it seemed like the distro has (or had) a lot of issues with outdated keyrings screwing up pacman installations. not sure if that's been sorted out by now 2023-06-27 23:25:46 I just went through the bugs they mention and a random one is about qt making use of sse2 2023-06-27 23:26:01 outdated keyring issues is just arch in general 2023-06-27 23:26:26 Hi. I try to launch a game xonotic from a VT (not from X11). `$ xonotic-sdl` throws the following error: http://ix.io/4zht. 2023-06-27 23:26:49 abby: in this video the keyring issues seemed so much worse than I ever remembered dealing with in the 5 years I used Arch 2023-06-27 23:28:24 I could just use vim (which works) instead of neovim, but not having mpv and a single functional mainstream web browser is just too limiting 2023-06-27 23:28:38 most sites don't work in dillo unfortunately 2023-06-27 23:28:50 or in text mode links 2023-06-27 23:29:34 zito: unless Qt is making use of intrinsics and doesn't offer fallback code paths, it'd be GCC emitting SSE2 instructions, which could be worked around by just compiling for a different -march or -mcpu or whatever the right incantation is 2023-06-27 23:30:57 https://archlinux32.org/packages/i686/extra/dosbox/ NOOO :D 2023-06-27 23:31:06 doesn't work in 32bit alpine either 2023-06-27 23:31:13 now this makes me sad for real 2023-06-27 23:31:45 ilyaigpetrov: `error: XDG_RUNTIME_DIR is invalid or not set in the environment.` seems pretty self explanatory 2023-06-27 23:31:53 coincidentally I've been thinking of getting this old 32-bit laptop I have laying around up and running, I think it lacks SSE2 as well, so now I'm wondering what kinds of issues I'm gonna run into 2023-06-27 23:32:20 SSE2 was introduced with the Pentium 4, right? this laptop has a Pentium M which I think is based on the P3 architecture 2023-06-27 23:32:33 although not sure why that's printed at all 2023-06-27 23:32:39 definitely an improved P3 though so who knows 2023-06-27 23:32:48 you probably need SDL_VIDEODRIVER=kmsdrm or w/e 2023-06-27 23:34:02 tm512: pentium M has sse2 2023-06-27 23:34:04 oh I guess PM does have SSE2, so maybe things won't be quite as painful 2023-06-27 23:34:33 zito: if you get the mpv bt i can look at it 2023-06-27 23:35:11 psykose: like I said above, that's very kind of you, but I don't know how much would help me having the issue with a single package eventually solved 2023-06-27 23:35:12 I'm suspecting the main trouble with this thing is going to be graphics acceleration. it has Intel Extreme Graphics 2, an i855 chipset 2023-06-27 23:35:29 until the next app I want to use will give me the same error, thus forcing me to come here and whine again? 2023-06-27 23:35:34 that has no gpu support 2023-06-27 23:35:38 zito: isn't that everything in life 2023-06-27 23:36:39 psykose: tbh no. actually I expected that slackware (which I tried first) would just run on this hardware 2023-06-27 23:36:49 well, the installer did not work, which was quite surprising 2023-06-27 23:36:58 psykose: the pre-gallium i915 driver in mesa seems to support it, though someone in #dri-devel said something about it not really being tested for years 2023-06-27 23:37:05 maybe Pat doesn't pay as much attention to x86 nowadays... 2023-06-27 23:37:05 nowadays it's relegated to the mesa-amber branch 2023-06-27 23:37:52 the truth is that fewer and fewer people care about it 2023-06-27 23:37:56 though that was already obvious 2023-06-27 23:38:29 I still got a few exotic distros to try, maybe one of them will just work. for example I did not get to try tinycore yet 2023-06-27 23:39:42 zito: maybe BSDs? I don't expect an OS like NetBSD to give up on 32-bit x86 anytime soon, though I think x86_64 and ARM are the main development targets 2023-06-27 23:39:52 psykose: you're correct of course, maybe I should just see what can I sell for cheap (because a kidney is too expensive) and try getting a refurbished 64bit CPU laptop for $100-200 :D 2023-06-27 23:39:52 for understandable reasons 2023-06-27 23:40:14 depending on where you live used stuff can be a huge bargain 2023-06-27 23:40:38 locally there's always random zen1/2 cpus for like <$100 etc as a great start to build something 2023-06-27 23:40:41 random laptops and whatever 2023-06-27 23:40:43 not the best place 2023-06-27 23:41:02 zito: stuff from like 2012-2013 should be really cheap at this point (exempting Apple hardware) and is still pretty usable 2023-06-27 23:41:23 if you're trying to go for something very budget 2023-06-27 23:41:49 I'll just say that if the Russians blow up that nuclear plant, issues like mpv not working on this 20 years old laptop won't bother me anymore, I won't even have enough time to run tfo :D 2023-06-27 23:42:02 if craigslist is a thing in your area you might be able to bargain with people for cheap hardware 2023-06-27 23:43:08 a while back I saw one of those tiny Dell Optiplex systems with a 6th-gen i3 for like $100 with an SSD and even wifi included 2023-06-27 23:43:50 maybe not in that place, heh 2023-06-27 23:43:53 not super fortunate 2023-06-27 23:45:26 psykose: `$ SDL_VIDEODRIVER=kmsdrm xonotic-sdl` starts execution but fails complaining about opengl: http://ix.io/4zhF. From X11 the game works fine. 2023-06-27 23:47:25 sounds like https://github.com/libsdl-org/SDL/issues/5399 which would be a xonotic bug 2023-06-27 23:47:34 when using kmsdrm anyway 2023-06-27 23:47:57 you can try =directfb instead 2023-06-27 23:49:06 directfb fails the same way as with undefined SDL_VIDEODRIVER like in my first message here. 2023-06-27 23:50:34 unfortunate 2023-06-27 23:50:46 Thanks, you response was helpful. By what keywords did you find the 5399 bug? 2023-06-27 23:51:05 glGetString in search on sdl repo 2023-06-27 23:51:47 the directfb failure is probably directfb being broken (not unexpected) and kmsdrm being broken is most likely an application issue and not sdl 2023-06-27 23:51:51 that about summarises it 2023-06-27 23:52:58 thanks 2023-06-27 23:57:00 Why directfb is broken? 2023-06-28 00:00:56 it's a library for outputting to fb and fb is not exactly maintained in linux itself and nobody cares about it in general and as a result nobody uses directfb in any normal setting so nothing broken in it gets fixed, ... 2023-06-28 00:03:08 they should put these AI things to start working on fixing old software 2023-06-28 00:04:07 drm existed since 1999 as the successor to fb for actual rendering 2023-06-28 00:04:10 idk dawg 2023-06-28 00:04:31 of course the actual 'everything is drm' stuff was way later than that 2023-06-28 00:04:39 maybe just 10 years ago 2023-06-28 02:01:24 Does anyone use the software RAID install of Alpine? I mean giving multiple devices 'sda sdb sdc sdd' when answering the installer question where to put the OS. 2023-06-28 02:03:05 It creates md0 as RAID1 (metadata 0.9) for '/boot' and md1 as RAID5 (metadata 1.2) for '/'. 2023-06-28 02:04:01 If any Alpine developer see this, please take a look at how broken it is. It is very unstable. 2023-06-28 02:04:31 When booting, I encounter the error: "alpine mounting /dev/vg0/lv_root on /sysroot failed" 2023-06-28 02:05:16 And I am forced to reboot. I would say it happens 4 out of 5 times. I have to reboot until it works. 2023-06-28 02:06:11 And when it successfully boots up, the last drive (sdd) was kicked out of the RAID arrays (both md0 and md1). 2023-06-28 02:07:17 I tried 'ls -l /dev/sd*', and found that there were [sda + sda1 + sda2], same for sdb, same for sdc, but there was only sdd with no sdd1 or sdd2. 2023-06-28 02:07:39 'parted /dev/sdd print' showed that there were 2 partitions on sdd. 2023-06-28 02:08:06 I tried to swap my 4 drives around, and re-installed Alpine, and ended up with the same issue. 2023-06-28 02:08:40 Whichever drive becomes 'sdd', is kicked out of the mdraid arrays for no reason. 2023-06-28 02:09:54 I tried to boot to live Alpine USB, and I can see sdd + sdd1 + sdd2 just fine. So it cannot be a hardware issue. 2023-06-28 02:10:11 "not in this class of error" <- Alright, I'll standby and make due. It must be some quirk. Back to Thunderbird (shudder) 2023-06-28 04:04:40 hello, how can I find out why a process was killed? 2023-06-28 04:10:05 any messages like "kernel: Out of memory: Kill" in dmesg? 2023-06-28 04:10:24 otherwise there's hundreds of reasons a process would be killed. 2023-06-28 04:12:03 it just says "killed" at the end 2023-06-28 04:12:34 there is no dmesg, it says dmesg: klogctl: Operation not permitted 2023-06-28 04:15:06 run it with superuser 2023-06-28 04:15:15 s/it/dmesg/ 2023-06-28 04:15:46 I am root 2023-06-28 04:15:58 this is alpine running in docker 2023-06-28 04:27:02 jonno: I think your question is too general; to see the "Killed" message at the end means (a) the OOM reaper came for it (see above); or (b) it received a SIGKILL from *a process* 2023-06-28 04:28:32 for case (a), dmesg will help 2023-06-28 04:29:13 for case (b), you should share more details 2023-06-28 04:38:26 how do I get dmesg enabled in alpine? 2023-06-28 04:38:50 I don't think it was OOM because the system has a lot of ram, I think it's because some files were being accessed at the same time 2023-06-28 04:39:15 sysctl kernel.dmesg_restrict may need to be changed. 2023-06-28 04:39:30 it's read only 2023-06-28 04:39:59 it's also set to 0 2023-06-28 04:40:36 how do I get dmesg enabled in alpine? <- you're running alpine in a container, so you aren't running an actual alpine kernel unless your host OS is alpine too 2023-06-28 04:40:49 you'd want to be doing dmesg on the host, outside of the container 2023-06-28 04:40:51 good point 2023-06-28 04:43:14 looks like it was the oom 2023-06-28 04:43:38 you've been reaped! :o 2023-06-28 04:43:52 maybe docker needs more ram 2023-06-28 04:43:56 where can I download some? 2023-06-28 04:44:36 I'm only trying to generate a pdf with a font loaded 2023-06-28 04:45:17 rams'r'us 2023-06-28 04:48:08 If the system is memory constrained enough, but you don't mind a performance loss, maybe look at zswap 2023-06-28 06:35:54 After manually formatting /dev/sda as ext4 and make a proper fstab automount (to /media/savestates), I ran 'setup-alpine' and made a diskless install. 2023-06-28 06:36:28 I select the 'savestates' directory as the location to store .apkovl, then issued an 'lbu commit' command. 2023-06-28 06:36:54 How do I suppose reboot and load the .apkovl file? 2023-06-28 06:37:19 I mean if I reboot, and boot to the live USB drive again, how can it know where to load the .apkovl? 2023-06-28 06:44:27 The Wiki has a section "Saving and loading ISO image customizations 2023-06-28 06:44:49 but it only instructs how to save states, and doesn't mention how to load them. 2023-06-28 06:46:02 livy: it has some predefined locations it looks for it, but you can also specify the location with a kernel cmdline argument 2023-06-28 06:46:43 lbu.conf? 2023-06-28 06:47:30 @OdaNobunaga[m] I am booting from a live USB which was created using dd command (meaning read-only). 2023-06-28 06:47:45 I do not know what lbu.conf is, but it is clear that the USB drive content cannot be changed. 2023-06-28 06:51:09 @ikke What are the default locations? It is inconvenient to halt the bootloader and specify the kernel boot arguments every time. 2023-06-28 06:52:46 Yeah, the iso is read only. You'd use setup-bootable to create a writable usb disk, or do it manually 2023-06-28 06:56:16 Um, so as I understand, to run diskless mode, I still need some kind of bootable (and writable) USB drive. 2023-06-28 06:56:20 Apparently it uses nlplug-findfs to discover apkovls, most likely in the root of partitions 2023-06-28 06:56:39 livy: the ovl has to be stored somewhere 2023-06-28 06:57:18 I know that the .apkovl files need to be stored somewhere, and I want to store them on my internal disks (/dev/sda). 2023-06-28 06:57:19 The manual argument is called apkovl 2023-06-28 06:58:18 But even if I use 'apkovl=' as kernel argument, how can I point it to /dev/sda, which is currently not mounted? 2023-06-28 06:58:29 I really do not understand the idea how it works. 2023-06-28 06:59:17 What I currently have: a Alpine CD, and an internal HDD. 2023-06-28 07:01:35 How is the ovl file called? 2023-06-28 07:02:26 Create two partitions:... (full message at ) 2023-06-28 07:02:33 nlplug-findfs will look for any file that matches *.apkovl.tar.gz* 2023-06-28 07:03:10 And it does not require the device to be mounted 2023-06-28 07:04:42 maxdepth=1 so it will only look in the root 2023-06-28 07:06:20 So, put the file in the root of /dev/sda, with an appropriate name, and I think it should find it 2023-06-28 07:06:34 I just tried to reboot, and yes it found the .apkovl and loaded it. 2023-06-28 07:06:51 I just do not understand why and how Alpine CD can do that. 2023-06-28 07:08:06 And what if I have another partition (e.g: /dev/sdb2) which is formatted and has .apkovl.tar.gz files? 2023-06-28 07:09:56 It will look in lbu.conf where the apk cache is located at. 2023-06-28 07:10:06 * look in /etc/lbu, * lbu/lbu.conf where 2023-06-28 07:10:41 Diskless Alpine is complicated though. For example, if you need a new kernel module, it gets ugly. "Apk add" can't install them and diskless is neither using linux-lts nor linux-virt. Instead, you update the kernel via "update-kernel". 2023-06-28 07:11:01 As the Alpine bootable media is an ISO9660 filesystem, it cannot be modified. So the content of that file is always default. 2023-06-28 07:11:41 After the reboot, my live Alpine USB now automatically loads the previous .apkovl.tar.gz file which is on /dev/sda. 2023-06-28 07:12:03 I do not know how to boot without loading it. Maybe unplugging the SATA cable? :D 2023-06-28 07:14:41 edit the cmdline on boot 2023-06-28 07:15:31 Set apkovl to something non-existing 2023-06-28 07:17:04 Which key should I use to stop the ISO Linux 6.04 screen? 2023-06-28 07:17:17 To edit the boot command line? 2023-06-28 07:18:43 Tab 2023-06-28 07:18:57 Thanks. And I think I can just boot into the OS, and delete the .apkovl.tar.gz file. 2023-06-28 07:19:16 Yes, that would also work 2023-06-28 12:00:30 Hummm, I have a strange thing happening, could somebody explain it to me? :) 2023-06-28 12:00:33 $apk info -r ssl_client 2023-06-28 12:00:35 2023-06-28 12:00:37 ssl_client-1.36.1-r2 is required by: 2023-06-28 12:00:48 $ doas apk del ssl_client 2023-06-28 12:00:54 World updated, but the following packages are not removed due to: ssl_client: grub-bios linux-lts zfs […] 2023-06-28 12:10:12 quinq: apk info -P ssl_client 2023-06-28 12:21:42 Thank ikke 2023-06-28 12:21:53 But apk info -r cmd:ssl_client still doesn't return anything 2023-06-28 12:22:27 (apk info -P ssl_client returns "ssl_client-1.36.1-r2 provides: cmd:ssl_client=1.36.1-r2" 2023-06-28 12:23:22 Question is, is there a way which packages depends on a another package of this type, thas provides something? 2023-06-28 12:23:50 Or not, and that would be an apk improvement? 2023-06-28 12:29:58 are the D: lines in /lib/apk/db/installed what you are asking about? 2023-06-28 12:41:40 Let-me have a look 2023-06-28 12:42:01 P:ssl_client 2023-06-28 12:42:07 D:so:libc.musl-x86_64.so.1 so:libcrypto.so.3 so:libssl.so.3 2023-06-28 12:42:34 I don't think so, what does D: mean? That P(ackage?): D(epends?) on libc? 2023-06-28 12:44:09 I'm asking how to see with pkg info -r which packages depend on the said package (apparently it's kind of a virtual one?) 2023-06-28 12:45:08 Well, at this point the question is rather to confirm that it's currently not possible :) 2023-06-28 12:49:54 Hmm, grub-bios only depends on grub 2023-06-28 13:05:08 Hmm, I'm not sure why apk would mention grub-bios or linux-lts 2023-06-28 13:08:09 Or the others for that matter 2023-06-28 13:10:52 ssl_client is installed due to an install_if 2023-06-28 14:45:35 hello, the netavark package in the latest stable does not seem to install a binary and my container manager (podman) cannot start any of my containers. 2023-06-28 15:04:56 hallo alpine root 2023-06-28 16:04:21 Ty3r0X: it does, it's in /usr/libexec/podman/netavark 2023-06-28 16:04:27 and it works fine so the issue must be something else 2023-06-28 16:13:00 psykose: is this dir included in the podman $PATH? 2023-06-28 16:13:34 libexec is rarely in PATH, rather it's executed by absolute path 2023-06-28 16:16:50 yes I can find netvark there and it can execute just fine, I wonder why is podman complaining No such file or directory 2023-06-28 16:17:44 Ty3r0X: can you try to strace podman? 2023-06-28 16:17:50 see what it tries to execute? 2023-06-28 16:24:19 ikke: I cannot do grep or tee with strace 2023-06-28 16:24:39 Ty3r0X: you can write the strace output to a file 2023-06-28 16:24:44 -o podman.strace 2023-06-28 16:25:00 you can filter specific syscalls with -e 2023-06-28 16:25:05 oh nice! 2023-06-28 16:25:05 for example -e execve 2023-06-28 16:36:04 that's weird, I switched to cni and then back to netavark and the problem dissapeared..? 2023-06-28 19:55:09 Short question: Is there any good guide for Alpine Linux with full disk encryption at all (found some, but they are not very enlighting in the sense of what exactly happens (https://wiki.alpinelinux.org/wiki/Full_disk_encryption_secure_boot)) - so maybe a good guide for luks would also be good) and my further question: RAM based Alpine and Disk Encryption (+dropbear/ssh unlock) - is that possible, does this somehow integrate in the 2023-06-28 19:55:10 sense of usability and does this make sense at all? I have a Virtualisiation Server that has much RAM, but limited hard disk R/W, so I would prefer spin all my machines from RAM by one iso (already achived that), but encryption of the machines would be great. 2023-06-28 19:59:34 oh! 2023-06-28 19:59:50 that guide is what5 i used as well 2023-06-28 20:13:36 "Short question: Is there any..." <- I also don't fear to head into Terraform/Vagrant idk for that, if that's more like a "one script for everything following" thing, cause I would do that for all my alpine machines. One of my first problems with alpine was for example, that the reduced image (virtual), doesn't support qemu-guest-agent, cause the serial vport was cut out of the image. 2023-06-28 20:14:51 there's no dropbear/ssh unlock integration no 2023-06-28 20:17:20 Ro 2023-06-28 20:17:50 RoyalTiger[m]: I wrote a MR to add dropbear unlock integration but it wasn't merged 2023-06-28 21:53:30 Greetings humans and bots! 2023-06-28 21:56:04 I just installed sddm and, according to the screen at boot time, it loads after everything else. Yet by some reason sddm «freezes» while loading, and just appears a lonely frozen prompt in a black screen. I need to stop and re-start the corresponding service for sddm to function. 2023-06-28 21:56:45 There appear no errors in the log. Does anyone have a suggestion on how to fix it? 2023-06-28 22:36:55 Morning, can I ask about Wifi during install? I have a thinkpad x230 with a 6000 series intel chipset, firmware in intel-firmware-other but not in install image. If I run the diskless install as a first step, can I then install the firmware into the live environment before installing to disk, or is it easier to just install without networking and set up once the system is on disk? Thanks 2023-06-28 23:43:04 What image are you using? Does Alpine Extended not have Linux-firmware-other?  2023-06-29 00:38:27 it does I think as an installable package but it doesn't seem to be included in the boot "live" environment from the ISO 2023-06-29 00:39:57 tried with the standard then with the extended, I haven't had a chance to experiment too much with the extended image, need to figure out how to replace my LUKS / partition with Alpine and preserve my /home, on EFI/GPT etc, so haven't wanted to experiment on my internal disk too much 2023-06-29 00:50:16 is there any way to use myhostname on alpine? not seeing a package for it on the website 2023-06-29 00:51:01 musl doesn't have nss modules 2023-06-29 02:15:37 does anyone understand elogind? I read the man page and don't feel any closer to getting "loginctl hibernate" to work (the command just exits silently). "loginctl session" lists a session which is nice 2023-06-29 02:29:49 No 😭 2023-06-29 02:30:16 My lightdm can't suspend, restart, shutdown...  2023-06-29 02:30:32 I had it working before, too  2023-06-29 02:30:51 Are you using a whole DE with session manager?  2023-06-29 02:41:59 Saijin_Naib[m]: no, just dbus session 2023-06-29 02:42:29 does 'loginctl reboot' work for you? I got that working. issue seems to be that waking from hibernating wipes the swap partition 2023-06-29 02:43:52 (for that to work you need a PAM login) 2023-06-29 02:56:23 Saijin_Naib[m]: I fixed it. if you want to see if I can help you ping me quickly before I forget :) 2023-06-29 02:58:07 (TL;DR elogind service, pam login, kernel resume parameter) 2023-06-29 02:58:12 Nice!  2023-06-29 02:58:19 I think I'm missing Pam  2023-06-29 02:58:27 Thank you for the pointer  2023-06-29 02:58:36 ah! so as I unserstand the default alpine linux busybox login isn't a pam login 2023-06-29 02:58:55 is elogind running? 2023-06-29 03:15:34 Supposedly, alongside dbus and polkit  2023-06-29 03:15:57 XFCE polkit dies at login, and polkit service fails during boot 2023-06-29 03:16:06 ok, so if you just type "loginctl" are any sessions listed? 2023-06-29 03:18:45 Nope, no sessions  2023-06-29 03:18:59 XFCE polkit broke after adding PAM stuff 2023-06-29 03:19:55 no sessions means you had no pam login 2023-06-29 03:20:06 you do have to log in again after adding util-linux-login or shadow-login 2023-06-29 03:20:53 Rebooted after adding útil-Linux-login days ago  2023-06-29 03:21:27 Is there a Pam OpenRC service?  2023-06-29 03:21:59 that's not how pam works so no 2023-06-29 03:22:08 if you have it then that's not the issue 2023-06-29 03:22:08 pam-rundir package seems to be what breaks XFCE polkit 2023-06-29 03:22:21 if you have that at the same time as elogind then yeah 2023-06-29 03:22:29 Oooh  2023-06-29 03:22:37 Should they not conflict then?  2023-06-29 03:22:51 not really no 2023-06-29 03:23:07 I have a session now, but lightdm still can't suspend/restart/shutdown/logout  2023-06-29 03:23:14 Does that need Pam?  2023-06-29 03:24:02 you already have that 2023-06-29 03:24:14 Ah, right, sorry  2023-06-29 03:24:48 Does lightdm need to be in any groups like plugdev or something?  2023-06-29 03:24:52 Wheel?  2023-06-29 03:25:58 Saijin_Naib[m]: curious, can you do "loginctl hibernate" ? now that you have a session 2023-06-29 03:26:18 https://wiki.alpinelinux.org/wiki/Elogind#Hibernating I did a brief write up, but I feel not a good one :/ 2023-06-29 03:26:19 😬 2023-06-29 03:26:40 That never worked reliably for me on this crap top, but let me try 2023-06-29 03:26:49 Good test of how robust XFS is 🤣 2023-06-29 03:26:53 lol. a crap top with windows is a viable linux machine 2023-06-29 03:27:29 Eeh... This worked great under 10s 🤷 2023-06-29 03:27:48 under 10 seconds? 2023-06-29 03:27:51 a swapfile also works so that's not necessarily accurate 2023-06-29 03:27:56 Took me about 6mo to figure out what kernel tweaks it needed and then I made a bunch of really bad PRs haha 2023-06-29 03:28:05 Windows 10s 2023-06-29 03:28:33 Command executed, resuming now 2023-06-29 03:28:40 oh. yeah I made the mistake of upgrading to 11 on my win 10 laptop. considering putting alpine on there too, but linux + laptop batteries... eh 2023-06-29 03:28:59 11 was lighter for me 2023-06-29 03:29:11 they destroyed my beloved old school windows panel 2023-06-29 03:29:11 Should uptime be non-zero from hibernate?  2023-06-29 03:29:34 i found windows to be quite useless for power management these days because some random idle service jumps to 50% cpu all the time doing nothing 2023-06-29 03:29:42 you can't make the taskbar or whatever look "classic" anymore. it's that tool 'modern' look with the big fat icons. it's like a bezel 2023-06-29 03:29:47 I like the new tiling they added to DWM. It's my favorite WM 2023-06-29 03:29:54 linux instead takes the opposite approach of having 7850 knobs for tuning power stuff that nobody knows about 2023-06-29 03:30:01 but yeah how did logicntl hibernate go? 2023-06-29 03:30:10 psykose: lol, so battery time may not be any worse? hmm 2023-06-29 03:30:20 maybe I will put alpine on there too. getting sick to death of windows 2023-06-29 03:30:28 on linux it's better if you set up some half decent power management but it's not that easy 2023-06-29 03:30:29 It looks like it just executed a shutdown. Nothing resumed, and my uptime is just from this boot 2023-06-29 03:30:41 depends on if all the drivers support all the low power states and whatever, bunch of knobs 2023-06-29 03:30:59 Saijin_Naib[m]: aha, so - do you have a resume kernel flag? like in /etc/default/grub 2023-06-29 03:31:14 https://wiki.alpinelinux.org/wiki/Elogind#Hibernating actually follow this. and if it's confusing I'll edit it and then other people can benefit in the future lol 2023-06-29 03:31:17 I have a 4GB SWAP volume over LVM from setup-alpine  2023-06-29 03:32:23 So it would be lv_swap or vg0-lv_swap 2023-06-29 03:32:36 you need swap>ram to hibernate 2023-06-29 03:32:36 Or I do the path to the swap volume?  2023-06-29 03:33:14 oh it would be partition 2023-06-29 03:33:40 like if you do lsblk, do you see a swap partition? /dev/something 2023-06-29 03:33:59 Does the chunk taken out for Intel iGPU and other shit matter? RAM shows to be max 3.7GB 2023-06-29 03:34:47 Swap is under mmcblk0p2, name of vg0-lv_swap 2023-06-29 03:35:10 I'm a bit lost with those names. the partition is /dev/mmcblk0p2 ? 2023-06-29 03:35:35 if so, add 'resume=/dev/mmcblk0p2" to the kernel flags. then do grub-mkconfig again 2023-06-29 03:36:00 I'm bad with LVM but I believe the partition is mmcblk0p2, which holds two LVM volumes  2023-06-29 03:37:10 can you post the output of lsblk? 2023-06-29 03:38:53 Yeah, in a year when Thunderbird connects to Matrix 2023-06-29 03:38:59 lol 2023-06-29 03:39:06 This is a very painful implementation of Matrix 2023-06-29 03:39:25 basically do you see that wiki article? does it look anything like that, like is there a line with [SWAP] on it 2023-06-29 03:39:39 Yep, on my LVM volume  2023-06-29 03:39:49 can you just paste that line? 2023-06-29 03:39:59 Once it connects 😭 2023-06-29 03:40:30 lol. I assume it's just /dev/mmcblk0p2 though 2023-06-29 03:40:32 It loads each channel one by one and fetches messages one by one, so it takes forever (and it doesn't cache anything between sessions )  2023-06-29 03:40:56 like if you do dev/mmcblk0p2 I assume that returns something 2023-06-29 03:41:03 NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS 2023-06-29 03:41:06 nvme0n1p4 259:4 0 48.7G 0 part [SWAP] 2023-06-29 03:42:02 ACTION sent a code block: https://matrix.org/_matrix/media/v3/download/matrix.org/JjIPhtyLeEXxEdQDvNdJWRvK 2023-06-29 03:42:51 It's not on a simple partition, but one of two LVM volumes under that partition  2023-06-29 03:44:26 oh. no idea how to do that 2023-06-29 03:45:17 would that be /dev/mmcblk0p2/vgo-lv_swap ? :/ 2023-06-29 03:45:33 lsblk /dev/mmcblk0p2/vgo-lv_swap 2023-06-29 03:46:31 ``` 2023-06-29 03:46:31 /dev/vg0/lv_swap 2023-06-29 03:46:31 ``` 2023-06-29 03:46:35 seems to be the direct path 2023-06-29 03:46:49 ah! ok can you add that to the grub kernel flags then rebuild grub? 2023-06-29 03:47:07 ACTION sent a code block: https://matrix.org/_matrix/media/v3/download/matrix.org/pXFbPXUgMRKpUeTpOMfiUsVe 2023-06-29 03:47:30 can't you just paste it into the chat window? :P 2023-06-29 03:48:37 Done, trying now 2023-06-29 03:49:07 I was told to always put it in code blocks if it goes over a line so it gets pastebinned 2023-06-29 03:49:27 IDK, I'm not an old hand here 2023-06-29 03:49:35 but I reckon if the traffic is low and it's like 6 lines, who really cares 2023-06-29 03:50:09 If there is anything I've learned about IRC, it is that someone cares 2023-06-29 03:50:25 Hibernate worked a treat  2023-06-29 03:50:34 LOL 2023-06-29 03:50:38 I didn't do the steps below the grub editing yet  2023-06-29 03:50:46 yeah IIRC it will work once 2023-06-29 03:50:50 but then if you check lsblk again 2023-06-29 03:50:59 your SWAP is gone. or the partition is ther ebut its not marked as swap 2023-06-29 03:51:21 Nah, still shows the same as prior prints 2023-06-29 03:51:26 Hibernate again to verify? 2023-06-29 03:51:36 yeah, in unchartered waters for me now lol 2023-06-29 03:51:54 Here we go 2023-06-29 03:53:08 I really do not like the flicker that happens upon hibernate... All goes black, then it shows the display for a few second and then poof off 2023-06-29 03:53:17 yeah I have that too 2023-06-29 03:53:18 Second hibernate worked fine  2023-06-29 03:53:33 Maybe LVM avoids whatever issue with the swap partition?  2023-06-29 03:53:47 Lsblk unchanged still 2023-06-29 03:53:52 might be the issue. my rig is very basic. it's one of those mini PCs I put together 2023-06-29 03:54:03 Sweet!  2023-06-29 03:54:24 (if anyone is thinking about a mini pc, I recommend getting the next size up, they get hot lol) 2023-06-29 03:54:25 4GB RAM 64GB eMMC Celeron N3450 craptop here 🤣 2023-06-29 03:54:55 nice! what are you doing on it? 2023-06-29 03:55:12 I was on similar stats until a few years ago 2023-06-29 03:55:31 Work, haha. I use it with Alpine Edge XFCE, GNOME Builder, Firefox, and Evolution 2023-06-29 03:55:52 Documentation, Community management, and tech support  2023-06-29 03:56:05 Real computer is a desktop but I don't use it often anymore  2023-06-29 03:56:54 Laptop is more convenient and I can be present with my family on it vs going to another room to work on the desktop  2023-06-29 03:57:37 Thanks for that guide! First time I have hibernate in Alpine 😎 2023-06-29 03:57:48 Gotta do it to the desktop now 2023-06-29 03:59:44 no problem, I've been through this like twice before 2023-06-29 03:59:50 and I was llike "This time, write it down" 2023-06-29 04:18:20 psykose: you were right, looks like some webkitgtk update fixed broken Evolution and Epiphany 2023-06-29 04:18:23 Thank you!  2023-06-29 04:18:28 hmm 2023-06-29 04:18:37 are you sure it was that and not all of the pam stuff above you did 2023-06-29 04:18:51 Hmm 🤔  2023-06-29 04:19:10 having the pam-rundir with elogind would have probably done it because it breaks something with the rundir iirc 2023-06-29 04:19:12 Still broken on laptop where I did all the Pam and elogind stuff but didn't update  2023-06-29 04:19:18 okie 2023-06-29 04:19:20 well, update and check 2023-06-29 04:19:26 Will do 2023-06-29 04:19:33 Any logs to grab or no?  2023-06-29 04:20:16 nope 2023-06-29 04:23:41 Hibernate on desktop successful, which is nice. And fast! Thought 32GB RAM would take a bit onto SATA3 SSD 2023-06-29 05:26:48 Upgrading webkit2gtk (2.40.2-r2 -> 2.40.3-r0) 2023-06-29 05:27:03 This seems to have fixed Epiphany and Evolution after the past two weeks or so of breakage 2023-06-29 05:29:13 well 2023-06-29 05:29:20 good i guess, though it makes little sense :D 2023-06-29 05:29:32 the diff of commits isn't anything relevant 2023-06-29 05:39:48 Saijin_Naib[m]:your desktop is quite a bit beefier than the laptop haha 2023-06-29 05:39:58 ACTION always forgets if he has 16 or 32 gb of ram) 2023-06-29 05:41:47 "good i guess, though it makes..." <- Hey I'm happy. Clean installed both machines apparently for nothing, but at least now I'm using XFS, I guess 🤷 2023-06-29 05:41:54 https://twitter.com/LewisCTech/status/1674290661284261888/photo/1 2023-06-29 05:42:12 LACampbell: Yeah, and that's not even close to enough for what I need 2023-06-29 05:42:21 128GB would be more comfy  2023-06-29 05:44:02 I bought my craptop new for $110... It's totally excellent for that price, especially when you factor in it came with a year of Office 365, a license of Minecraft, and Windows 10 S (which I unlocked to Pro)  2023-06-29 05:44:46 So craptop with pre-installed crapsoft 2023-06-29 05:44:49 Desktop I built for far cheaper than retail, thanks to a perk from a past job. i7-6700k year of launch for $115 was very nice to build on 2023-06-29 05:45:07 Ain't happening again 🤣 I'm holding onto that thing until it won't boot 2023-06-29 05:45:49 🤷 It was useful for my job at the time. Linux isn't suitable for running the software required for the teaching I was doing 2023-06-29 05:46:42 Minecraft was a nice bonus 🤣 finally got to try it out, and still use it via Flatpak now 2023-06-29 05:50:20 at this point computers are pretty much powerful enough to do everything for me 2023-06-29 05:50:25 and the internet is fast enough to 2023-06-29 05:53:12 always just need a few more electron apps 2023-06-29 05:53:17 lol 2023-06-29 05:53:41 I have more PWAs than electron apps installed 2023-06-29 05:53:53 which are not ideal, but they at least use your machines resource more efficiently 2023-06-29 05:54:44 What's a PWA? 2023-06-29 05:54:50 Pirate With Attitude? 2023-06-29 05:55:09 progressive web app. basically instead of getting an electron version, you just click the 'install' button on a web page 2023-06-29 05:56:03 For installing what? 2023-06-29 05:56:20 web apps 2023-06-29 05:56:20 Files in cache? Or is it browser-specific? 2023-06-29 05:56:33 it's broadly supported across browsers. 2023-06-29 05:56:51 famously firefox doesn't 2023-06-29 05:57:13 chromium/webkit does tho 2023-06-29 05:57:15 like you can 'install' twitter on your phone, there'll be a little icon on the homescreen, it will open in its own branded widnwo,.. but its just your main browser 2023-06-29 05:57:15 convenient 2023-06-29 05:57:45 psykose: well PWAs are kind of a grab bag of features. I don't test with FF anymore, what doesn't it support? 2023-06-29 05:57:59 pwas in general at all 2023-06-29 05:58:04 you can't "install" a page with firefox 2023-06-29 05:58:15 Yeah, firefox is a web browser 2023-06-29 05:58:20 really? I installed my home page on my android phone with firefox 2023-06-29 05:58:26 android is different 2023-06-29 05:59:08 That's too much smelly topics for one morning, bbl :) 2023-06-29 05:59:20 https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps/Guides/Making_PWAs_installable 2023-06-29 05:59:47 tl;dr everyone on a phone and on desktop 'Firefox and Safari do not support installing PWAs on any desktop operating systems.' 2023-06-29 06:00:21 well, I wonder how I did it with firefox on an android and safari on an iphone :) 2023-06-29 06:01:03 because firefox on android and safari on iphone supports it 2023-06-29 06:01:13 ah right 2023-06-29 06:03:10 if chrome uses manifest v3, it might revitalise FF 2023-06-29 06:07:22 i don't think the reason ff doesn't support it is a very technical one, but idk 2023-06-29 06:07:34 they used to support them then removed it 2023-06-29 06:07:55 ah, or were working on it 2023-06-29 06:07:59 was years ago 2023-06-29 06:08:09 I mean to be honest, in 2023 firefox isn't really a factor anymore for this stuff 2023-06-29 06:55:44 "android is different" <- Based* 2023-06-29 06:56:31 based on what 2023-06-29 07:00:03 u 2023-06-29 07:00:42 :O 2023-06-29 07:01:53 not gonna like 2023-06-29 07:02:02 this is Definitely me when i'm Being based 2023-06-29 07:29:32 abby: the number of people using it 2023-06-29 07:29:52 oh nvm 2023-06-29 07:30:36 fell for zoomer meme 2023-06-29 07:32:27 gottem 2023-06-29 08:57:54 Hello everybody 2023-06-29 08:58:08 please help me configure hd-idle for 2 hdd 2023-06-29 09:00:32 in the file /etc/conf.d/hd-idle 2023-06-29 09:00:46 i only have DISK="/dev/sdb" 2023-06-29 09:02:24 how add harddisk 2 /dev/sdc ? 2023-06-29 09:04:45 looking its init.d and conf.d, I see only an utterly ugly solution 2023-06-29 09:05:12 according to the manpage, this is legal: hd-idle -i 0 -a sda -i 300 -a sdb -i 1200 2023-06-29 09:05:48 thus, writing more stuff into a variable in conf.d "solves" it, but it is ugly AF 2023-06-29 09:06:13 (see, no quotation marks around the variable expansions in conf.d) 2023-06-29 09:08:22 since busybox-initscripts package was removed, what is the prefered way to run p.a. crond? 2023-06-29 09:11:30 What is p.a. grond? 2023-06-29 09:11:38 crond* 2023-06-29 09:12:30 busybox-openrc that you already have installed 2023-06-29 09:12:53 nothing changed 2023-06-29 09:15:51 8b30ff10ab691ce8380423c551dd9c327a5a1f9a 2023-06-29 09:17:24 nice, thanks a lot 2023-06-29 09:19:19 Hello :) I noticed that pppd now crashes when starting the service with default settings, with the error message "no device specified and stdin is not a tty" 2023-06-29 09:20:34 I'd be thankful for any pointers about what I have to do to get it working again, unfortunately couldn't figure it out yet on my own :) 2023-06-29 09:23:28 Sounds like some configuration that needs to be set, don't know pppd though 2023-06-29 09:35:31 i imagine you need to make a 2023-06-29 09:35:37 /etc/conf.d/pppd 2023-06-29 09:35:42 with an arg for some device 2023-06-29 09:36:14 like `PPPD_OPTS="call name-of-interface"` 2023-06-29 10:24:12 Hi, why does no shell on Alpine do source /etc/profile when run? Is there a solution? 2023-06-29 10:25:53 On login, yes, but on execute, no 2023-06-29 10:26:13 That's how it is defined 2023-06-29 10:26:33 because profile is for login 2023-06-29 10:26:36 /etc/profile will only be sourced for login shells 2023-06-29 10:27:43 you can replicate the same effect with shell -l or whatever 2023-06-29 10:29:13 is there any file (global or non-global) that is executed by ash, mksh or dash? 2023-06-29 10:29:31 * or dash on non-login shell? 2023-06-29 10:30:15 psykose: I'm using sway and launching foot will start without the arg 2023-06-29 10:30:25 yeah that's normal 2023-06-29 10:30:39 shells are not meant to source /etc/profile every time 2023-06-29 10:31:56 for ash you can use ENV= to have something sourced every start 2023-06-29 10:32:05 e.g. https://unix.stackexchange.com/a/418715 2023-06-29 10:32:45 that way you can create an ashrc that does what you want 2023-06-29 14:04:39 Gnd: Alpine hd-idle maintainer here. Actually the conf.d file is misleading. In general, by default, hd-idle will spindown *all* disks. However as this may be undesired the current Alpine package specifies "-i 0" for all disks (so they do NOT spindown by default") and then also uses the DISK variable to indicate a single disk that should spindown (overriding the default non-spindown) 2023-06-29 14:05:07 I'll have to rewrite the conf.d/init.d to handle specifying multiple disks. 2023-06-29 14:14:42 actually from re-reading the upstream README "-a" *does* appear to accept multiple device names 2023-06-29 18:45:05 is there a status page for package build systems? The repos on edge have not seen updates on arm64 for a little bit. 2023-06-29 18:46:26 elagost: There is https://build.alpinelinux.org/ 2023-06-29 18:46:46 elagost: but: https://gitlab.alpinelinux.org/alpine/infra/infra/-/issues/10800/ 2023-06-29 18:48:13 thank you ikke - bookmarked! 2023-06-29 18:48:44 The builders have been unreachable and thus were not able to upload built packages 2023-06-29 18:58:53 3.18 should be soon, would do edge after 2023-06-29 18:58:56 but that will take a long time 2023-06-29 18:58:59 lots of queue 2023-06-29 18:59:10 I'll have to do edge tomorrow 2023-06-29 19:00:30 cool, thank you for the hard work. infrastructure can be finicky! 2023-06-29 22:09:43 Any tips on setting up a vmware hosted alpine linux instance to run a mail server? 2023-06-29 22:15:56 i have zero tips, but for what part are you looking for tips? 2023-06-29 22:19:47 Nike tip: "Just do it!" ;-) 2023-06-29 22:20:13 yes 2023-06-29 22:20:15 agreed 2023-06-29 22:20:24 especially on a VM, can always just redo it 2023-06-29 22:22:45 nothing in particular. but it occurred to me if there were any gotchas it would be nice for an Alpine linux newbie to know about them. 2023-06-29 22:41:09 A useful tip : if you power off your VM, then it won't be able to serve emails 2023-06-29 22:41:32 but the cloud provider will still charge you the exact same amount of money 2023-06-29 22:41:38 (or a few cents less with some) 2023-06-29 22:42:02 as much as raspbeguy might be half joking, my addition is a real thing that has surprised people around me 2023-06-29 22:42:13 and a thing that you can easily "do wrong" in some clouds 2023-06-29 22:54:51 Reminds me this https://turnoff.us/geek/security-expert/ 2023-06-29 22:55:27 lol yes 2023-06-29 22:55:51 wonder why the RSS says .sign() 2023-06-29 22:55:56 did they mean .signup() ? 2023-06-29 23:22:30 raspbeguy You reminded me that back before the cloud was the thing we had a networking security tool that was almost foolproof. 2023-06-29 23:22:35 http://purplebark.net/maffew/scissors.pdf 2023-06-29 23:24:43 I was looking at this wiki page as a starting point but that big "work-in-progress" notice has me thinking. 2023-06-29 23:24:46 https://wiki.alpinelinux.org/wiki/ISP_Mail_Server_3.x_HowTo 2023-06-29 23:26:47 It is probably an opportunity to update the wiki however. 2023-06-29 23:28:04 One question I had is how much RAM would that use and the RAM estimate wiki page seemed inadequate. 2023-06-29 23:28:39 https://wiki.alpinelinux.org/wiki/Requirements 2023-06-29 23:30:31 Has anyone done any real world testing on a similar scenario? How about a live server that you adjusted the RAM in and created a performance boost? 2023-06-29 23:31:02 Or am I overthinking it because it is a new system that runs mostly in RAM and I am new. 2023-06-29 23:32:36 for baremetal I prefer 8GB minimum for 64bit OSes 2023-06-29 23:32:49 and 4GB for 32bit (sure there is PAE but meh) 2023-06-29 23:33:06 when it comes to VM's it depends what you run inside it 2023-06-29 23:33:40 except for the kernel itself you normally have stuff like (give or take) ntpserver, dnsserver, logging towards syslogserver 2023-06-30 05:51:26 Yeah, FireFox not supporting PWAs when they pioneered OWAs that seem to have been the basis of current PWAs boggles the mind. 2023-06-30 05:51:29 Damn, do I miss b2g/FireFoxOS 2023-06-30 07:09:19 hi. short question. i'm using chrony(d), nts, with rtcsync directive. can/should i set clock_systohc="NO" in /etc/conf.d/hwclock. i'm a little bit lost on this topic.. 2023-06-30 07:57:31 + CONFIG_RTC_HCTOSYS=y CONFIG_RTC_HCTOSYS_DEVICE=rtc0 2023-06-30 07:58:18 is set, so i guess i have to set systohc to NO 2023-06-30 08:51:24 jcatv, this tool is not very reversible 2023-06-30 11:14:22 oleovit: "is set, so i guess i have to set systohc to NO" - why? 2023-06-30 11:15:39 oleovit: actually you don't need /etc/init.d/hwclock enabled at all, just enable /etc/init.d/osclock instead 2023-06-30 11:21:40 oleovit: the kernel has CONFIG_RTC_SYSTOHC=y and CONFIG_RTC_HCTOSYS=y set and so during boot the *kernel* will set the system clock from the RTC (before OpenRC is even run) and, once chrony achieves NTP sync, then the *kernel* will copy the time from system clock to RTC every 11 mins, so there is no need for the hwclock script to be used to do either of those. /etc/init.d/osclock is a dummy script just to meet the "clock" service dependency 2023-06-30 11:23:33 @minimal thx for response. i don't want to change too much, so i want to stick with the hwclock service. your first answer: even if these parameters are enabled in the kernel, i guess, one has still to enable it "explizit": https://0x0.st/HQkY.txt 2023-06-30 11:24:47 oleovit: the kernel RTC->SYS copy is done automatically on every boot, "dmesg" will show it happening 2023-06-30 11:25:21 the kernel SYS->RTC every 11mins is controlled by the chrony.conf "rtcsync" setting which you are using 2023-06-30 11:26:15 if you have hwclock enabled then *both* the kernel and the hwclock init.d script will copy RTC to SYS during boot 2023-06-30 11:26:46 (this is assuming the drivers for your RTC are compiled into the kernel - for x86/x86_64 machines they are, for other machines they may or may not be) 2023-06-30 11:28:07 as you have "rtcsync" in your chrony.conf then the kernel will copy time from SYS->RTC every 11mins *plus* during shutdown hwclock will copy from from SYS-RTC as well, the 2nd thing is unnecessary 2023-06-30 11:28:45 so you have 2 things manipulating both RTC and SYS clocks - the kernel/chrony and also hwclock 2023-06-30 11:32:18 oleovit: I think you should only have 1 thing manipulating the clocks, the kernel (together with chrony "rtcsync") 2023-06-30 11:32:20 i understand, the chrony wiki is clear on this topic with this directive set. so, if i decide to stick with hwclock, and to avoid additional not necessary stuff from this service, i guess, i have to set clock_systohc="YES" , or am i wrong 2023-06-30 11:32:50 oleovit: ? 2023-06-30 11:32:58 yes? 2023-06-30 11:33:41 clock_systohc="YES" is *already* the default config in /etc/conf.d/hwclock. Which means that during shutdown hwclock will set RTC time to that of SYS 2023-06-30 11:34:08 however this is unnecessary as kernel will be doing the same sync every 11mins in general so why ALSO do it during shutdown? 2023-06-30 11:35:03 it's the chat, i cant concentrate when i chat, its overkill for me, sry. no, i mean set it to NO : lock_hctosys="NO" 2023-06-30 11:35:34 and you haven't mentioned the default setting clock_hctosys="YES" - the comment just above that in /etc/conf.d/hwclock even mentions this is unnecessary with a modern kernel (as the kernel does the sync during boot) 2023-06-30 11:36:14 wait a second pls 2023-06-30 11:40:29 1st: i have to set: clock_hctosys="NO", because YES is the default. thats for bootup. clock_systohc="YES" is the default, during shutdown. this, i have to leave it like it is. 2023-06-30 11:41:23 of i do not set clock_hctosys="NO" , we have these multiple stuff going on 2023-06-30 11:41:40 oleovit: why do you "have" to leave it as clock_systohc="YES"? There's no need to write the SYS to RTC at shutdown as the kernel will already be copying from from SYS to RTC every 11mins 2023-06-30 11:42:00 s/from from/time from/ 2023-06-30 11:46:07 looking at dmesg output from a x86_64 VM here, I see "[ 0.747086] rtc_cmos rtc_cmos: setting system clock to 2023-06-30T11:38:11 UTC (1688125091)" 2023-06-30 11:47:29 pls wait, again, cant concentrate while chat .. 2023-06-30 11:48:04 that is the *kernel* setting the SYS from RTC 0.74 seconds after kernel started initialising, rootfs is not even mounted until after 2.7 seconds and so OpenRC starting and running hwclock service will take longer still 2023-06-30 11:49:43 yes, but let's concentrate on the file. everything else will turn out anyway, when i take a look after the chat is finished. so, step for step. one moment 2023-06-30 11:52:09 oleovit: I don't understand, I have already explained how things work and why what you are doing is unnecessary 2023-06-30 11:57:27 1st bootup: change to clock_hctosys="NO". YES, the default is not needed. 2nd: shutdown: leave clock_systohc="YES" , in order to set hw-clock to system time. ahh, i dont know whats wrong with me, chat, silent migraine, i'm fucked today 2023-06-30 11:58:27 oleovit: WHY do you want hwclock to set RTC from SYS clock at shutdown when you have already configured chrony so that kernel will set RTC from SYS *every 11mins* ? 2023-06-30 11:59:13 you can set RTC at shutdown but there is no need to do so with the 11min auto-sync in place 2023-06-30 12:01:32 yes, thats what the gentoo source in my uploaded file is telling me/us. so, clock_systohc="NO" too? booth to f.. NO ? i was confused because of these 2 configs (alpine/gentoo) 2023-06-30 12:02:30 the kernel params and the chrony directive are enough, so set NO to all of them 2023-06-30 12:02:46 yes I have been repeatedly saying both set to "NO" - in which case the hwclock init.d script then does not actually do anything and therefore why enable it? Disable it and enable osclock instead 2023-06-30 12:05:10 thats my chat-stress-cant-concentrate+silent+migraine thing. sry. so, yes, i begin to understand. so, NO NO because of this and that.. or disable the service and enable osclock instead. right? ;) 2023-06-30 12:05:46 do the latter, disable hwclock completely and enable osclock 2023-06-30 12:06:13 you're just repeating back to me what I said 2023-06-30 12:07:50 repeating back is a good thing in my case. i said: silent migraine, cant concentrate while chat. so thx for your patience. 2023-06-30 12:10:18 `rc-update -a del hwclock; rc-update add oslock boot` 2023-06-30 12:12:27 yes, thx to you too psykose. again, the 2 configs distracted me. i need time to process information, because nothing can be "known"by being told 2023-06-30 12:14:24 and dwfreed.. see, i'm blind of too much is going on in a chat. thx to all, and your patience 2023-06-30 13:08:40 did it. sorry @minimal for stressing him too. don't be mad at me. i've read the gentoo/alpine comments + chrony faq and some lorthing - with chat closed - and time - now it becomes clear, that this is a logical step. maybe, some thing for the wiki too. thx 2023-06-30 13:09:46 "lore thing", not lorething 2023-06-30 19:08:56 Splitting off documentation info -doc sub-packages is done to kee the main packages small, right? 2023-06-30 19:09:02 s/kee/keep/ 2023-06-30 19:09:31 packaging granularity 2023-06-30 19:10:18 And does size play a role, too? 2023-06-30 19:10:28 yes 2023-06-30 19:51:00 reading https://wiki.alpinelinux.org/wiki/Installation#Data_Disk_Mode 2023-06-30 19:51:54 yesterday I asked about RAM. It seems a system requirement in Data Disk Mode. Does any one use this? How? What For? 2023-06-30 20:34:12 jcatv: Your question is not clear to me 2023-06-30 20:35:13 So, how do man-pages and man-pages-posix relate? Why would I install the latter as well? 2023-06-30 20:35:57 msiism: man-pages are the linux kernel man pages, mostly related to the libc interface 2023-06-30 20:37:05 Yeah, I've read a bit about that. 2023-06-30 20:37:22 Then I discovered man-pages-posix int he Git tree. 2023-06-30 20:37:26 s/he/the/ 2023-06-30 20:37:38 s/int/in/ 2023-06-30 20:37:51 posix man pages document the POSIX standards 2023-06-30 20:37:59 which is more general then just linux 2023-06-30 20:38:26 Bu there will be no conflict when installing both, right? 2023-06-30 20:39:04 posix provides man0 2023-06-30 20:39:30 I see. 2023-06-30 20:40:08 They both provide several sections, but they don't overlap 2023-06-30 20:40:20 Good to know. 2023-06-30 23:05:13 I need to dual boot and encrypted Alpine will be the first installation. Should I shrink the existing partition or manually do the partition during installation (how?). 2023-06-30 23:05:13 Asking because the wiki article "lvm on luks" says: "if you want to dual boot, stop here and ask an expert". Funny statement. 2023-06-30 23:05:53 hehe 2023-06-30 23:06:06 probably means "this is a hard problem and i cannot begin to write down what could go wrong" 2023-06-30 23:06:26 i see how it's not useful documentation, other than stopping people from going in and ruining their setup because they didn't know 2023-06-30 23:06:51 that said, i happen to dual boot with lvm on luks, so maybe i can help 2023-06-30 23:06:57 i'm not running alpine but that doesn't seem too relevant 2023-06-30 23:08:07 debian wasn't the first OS i installed, it was the second 2023-06-30 23:08:28 i shrunk windows first 2023-06-30 23:08:37 then i did indeed partition manually 2023-06-30 23:08:48 and assigned 100GB to a LUKS partition, which i then put LVM in 2023-06-30 23:08:52 Setup-alpine provides very easy install but shrinking the existing install might be pain. 2023-06-30 23:08:52 The manual partitioning without using the whole disk isn't well documented. 2023-06-30 23:09:00 right 2023-06-30 23:09:55 i've always been comfortable just using the command line tools for partitioning when necessary, but this does not help you much 2023-06-30 23:11:42 Me too (coming from Arch, btw), but only if setup-alpine had an option to not use the whole disk for root would solve all my problems right now lol 2023-06-30 23:11:58 right :) 2023-06-30 23:20:45 malmi70[m]: dual boot complexity also depends on whether it is MBR or UEFI booting, whether it is dual boot Windows/Alpine or Alpine/another Linux distro etc