2021-08-01 06:17:20 Hmm. If I do an lbu package situation, does that just take in the packages I currently have without packaging anything I've got on my system (including current configs)? 2021-08-01 06:17:38 I'm thinking of reinstalling now that I've got most of the configuration sussed out 2021-08-01 06:34:48 jeffreybenzos[m]: https://wiki.alpinelinux.org/wiki/Alpine_local_backup 2021-08-01 06:39:16 so init.d/networking calls ifup, but it can't actually fail unless you have a complete lie in your interfaces file, so it writes a lock file for interfaces it cannot configure 2021-08-01 06:40:09 and then you're basically screwed from that moment using ifup 2021-08-01 06:42:37 nevermind that I don't understand what --running means for ifquery, or at least, how interfaces are marked as running in the state database other than simply existing 2021-08-01 06:42:40 ah, atka, i don't think that'll work when i'm just trying to install packages without special configs that might be under /etc 2021-08-01 06:42:44 good to know 2021-08-01 06:43:57 jeffreybenzos[m]:can you expand on what you mean by "if I do an lbu package situation"? 2021-08-01 06:52:29 akta: running lbu package will take configs in /etc and package them up, right? Starting anew with just-3.14 packages and configs likely wouldn't mesh well with that, aye? 2021-08-01 06:57:55 yeah that sounds right, perhaps you can exlude what you don't want 2021-08-01 06:58:06 true true 2021-08-01 08:54:01 wow what a weekend 2021-08-01 08:54:21 im changing my VM host from arch to alpine, and ive been hitting brick walls non stop! 2021-08-01 08:54:53 my last problem is that for some reason macvtap forwarding doesnt seem to be working 2021-08-01 08:55:26 the machine starts up, but the host doesnt seem to be forwarding traffic to the guest 2021-08-01 09:27:43 Oh, right; for some reason, I can call swapon on my /var/swapfile (and nothing's mentioned in dmesg about an error on boot), but the call for it in fstab doesn't seem to be mounting it at boot. 2021-08-01 09:29:07 try doing mount /var/swapfile 2021-08-01 09:29:20 it will refer to fstab for the config 2021-08-01 09:29:27 just to make sure it works 2021-08-01 09:29:46 ah cool, invalid argument 2021-08-01 09:29:48 actually that wont work i dontThink 2021-08-01 09:30:07 yeah, "mount point does not exist" 2021-08-01 09:30:16 yeah i was thinking backwards 2021-08-01 09:30:34 thats the source, not the destination of the mount :P 2021-08-01 09:30:49 what do you have in fstab? 2021-08-01 09:31:25 /var/swapfile none swap defaults 0 2021-08-01 09:31:29 there's another 0 after that 2021-08-01 09:31:33 ok 2021-08-01 09:31:40 so if you do swapon -a 2021-08-01 09:31:57 no errs 2021-08-01 09:32:02 first turn your swapfile off 2021-08-01 09:32:28 yeah, no errors, at least 2021-08-01 09:32:36 hmm ok 2021-08-01 09:32:38 should it show up from `mount`? 2021-08-01 09:32:42 or /proc/mounts i guess 2021-08-01 09:32:47 do you need auto in the options? 2021-08-01 09:33:21 figured "defaults" would include something there 2021-08-01 09:34:20 /dev/vg0/lv_swap swap swap defaults 0 0 2021-08-01 09:35:13 mount does not show swap devices 2021-08-01 09:35:22 swapon without parameters does 2021-08-01 09:36:56 interesting; why is yours "swap swap" and mine is "none swap?" 2021-08-01 09:37:03 i think i got mine off of the btrfs/arch wiki 2021-08-01 09:37:40 i think its just a dummy placeholder thing, rather than specifying a mount point 2021-08-01 09:38:17 and just while i've got you around, if i reinstall my machine from scratch (just need the practice and might as well), can I stay on 3.14 and run darktable from edge, ikke? 2021-08-01 09:38:55 jeffreybenzos[m]: It's not really supported 2021-08-01 09:39:02 it might work now, but can break 2021-08-01 09:39:04 you can pin packages to different repos 2021-08-01 09:39:12 @ 2021-08-01 09:39:34 Yes, but at some point, it might need newer dependencies than 3.14 provides 2021-08-01 09:39:56 yeah 2021-08-01 09:40:40 i assume edge would be pretty stable for a non critical system? 2021-08-01 09:40:50 much like running arch 2021-08-01 09:41:27 sure, ikke; i assume if i do -U upgrade that'd break only if someone updated dt in edge? easier than breaking the rest of my system just so i can use dt 2021-08-01 09:41:45 skaface82: i'm just thinking it might have to do with my exploded firefox audio situation 2021-08-01 09:42:16 yeah, changing to 'swap swap defaults' didn't do anything 2021-08-01 10:42:32 haa... today is pulseaudio debugging day :-( 2021-08-01 10:43:38 On ubuntu the 6 dmics of the x1 nano work, on alpine I get microphone access errors in firefox and obs 2021-08-01 10:44:03 My ubuntu dmesg/lsmod https://pastebin.com/8SHCcqGm - now comparing it with what I've on -lts or -edge 2021-08-01 10:52:56 I'm a bit confused - the pulseaudio package contains pipewire-pulse -- did I miss some kind of migration? 2021-08-01 10:54:40 telmich: pipewire-pulse is provided by pipewire, not pulseaudio 2021-08-01 10:55:11 "Pulseaudio support for pipewire" 2021-08-01 10:59:44 ikke: apk manifest pulseaudio shows usr/bin/pipewire-pulse on my system 2021-08-01 10:59:58 And it seems that pipewire does not detect my microphone(s) 2021-08-01 11:02:04 Hmm: https://pkgs.alpinelinux.org/contents?file=pipewire-pulse&path=&name=&branch=edge&repo=community&arch=x86_64 2021-08-01 11:02:12 it should be owned by pipewire-pulse 2021-08-01 11:04:12 Hmm, it seems removing all pipewire packages and the install pulseaudio "fixes that" 2021-08-01 11:07:51 (fixes as in: the package now has the right files, but I cannot record anything yet) 2021-08-01 11:12:57 I might have found the difference in dmesg: warning: unknown sof_ext_man header type 6 size 0x20 is shown alpine, but not on abuntu 2021-08-01 14:11:57 I submitted second version of aports patches via git-send-email and the bot opened https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/23789, what happens to previous PR https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/23787 ? 2021-08-01 14:12:19 do I have to ask someone to close it or it just sits there? 2021-08-01 14:12:40 Yes, someone has to close it 2021-08-01 14:14:46 so it is better to create merge requests on gitlab rather than submitting via git-send-email? 2021-08-01 14:15:04 because now this MR is owned by the bot and I can't close it 2021-08-01 14:22:16 email bot is mainly for people without gitlab accounts 2021-08-01 14:22:22 if you have gitlab accounts you can use gitlab email patch submission 2021-08-01 14:24:38 thanks, will use gitlab directly next time 2021-08-01 14:25:08 I have a gitlab account via "login with github" 2021-08-01 14:25:35 gitlab = https://gitlab.alpinelinux.org/ 2021-08-01 14:26:29 maxice8/Leo already closed the older MR 2021-08-01 14:36:01 opened https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/23790 2021-08-01 14:36:22 https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/23789 can also be closed 2021-08-01 14:36:50 it has wrong set of architectures, using `all`, but rust does not support all architectures 2021-08-01 15:01:16 are gitlab runners using real hardware or qemu for non-x86 architectures? 2021-08-01 15:03:06 Combination 2021-08-01 15:03:24 all except arm based arches are real hardware 2021-08-01 15:03:38 arm is aarch64 qemu vm on aarch64 hardware 2021-08-01 15:03:41 so no emulation 2021-08-01 15:07:15 should ports discussion go to #alpine-devel or #alpine-linux? 2021-08-01 15:07:31 -devel 2021-08-01 15:08:19 will move to #alpine-devel then 2021-08-01 15:25:39 i want to install plan9port in /usr/local but wasn't sure if installing it as root(using doas) was a good idea 2021-08-01 15:26:24 is that the most secure choice? 2021-08-01 15:29:19 nvm disregard this 2021-08-01 17:19:57 i'm trying to get doas to give root permissions to the wheel group 2021-08-01 17:20:06 so my doas.conf has permit persist :wheel in it 2021-08-01 17:20:42 what doesnt work then 2021-08-01 17:20:45 and i used addgroup to add my user account to the wheel group 2021-08-01 17:20:57 but when i try it with the user doas says the operation isn't permitted 2021-08-01 17:20:59 geoman: did you relogin? 2021-08-01 17:21:10 groups only take effect when you log in again 2021-08-01 17:21:19 you can su yourself for a quick test 2021-08-01 17:21:19 i'll try logging in again 2021-08-01 17:21:32 i thought i did but i'll check again 2021-08-01 17:21:48 You can use `id` or `groups` to see what groups you are in 2021-08-01 17:21:57 yeah groups says i'm in wheel 2021-08-01 17:23:48 ok so i assume the issue was because i changed the groups and didn't logout? 2021-08-01 17:23:52 yes 2021-08-01 17:23:55 i remember using su to check 2021-08-01 17:23:58 oh 2021-08-01 17:24:01 i just logged out of su 2021-08-01 17:24:07 so i guess that login might not have updated? 2021-08-01 17:24:18 well, su after changing groups works, but you probably just missed something 2021-08-01 17:24:21 either way, works now :) 2021-08-01 17:24:23 yeah 2021-08-01 17:24:26 thanks 2021-08-01 17:33:05 so after i logged in again, startx triggered and i had to wait a bit 2021-08-01 17:33:28 since i used tmux, i put an if statement in my profile checks if $TERM == 'screen' 2021-08-01 17:33:42 how would i check if the x server is already running? 2021-08-01 17:35:05 You can check if DISPLAY is set 2021-08-01 17:35:19 one solution that i found was if ! xset q &>/dev/null 2021-08-01 17:37:59 what value should i check for 2021-08-01 17:38:06 now $DISPLAY is :0 2021-08-01 17:38:07 any value 2021-08-01 17:38:16 it should be defined 2021-08-01 17:38:22 (or not) 2021-08-01 17:40:19 grr... today ubuntu wins over me. Something is different in their kernel than on the alpine kernels and makes the microphone work 2021-08-01 17:40:36 hmmpf 2021-08-01 17:40:45 does ${DISPLAY:-unset} work? 2021-08-01 17:41:10 should that be the full conditional? 2021-08-01 17:41:11 use [ -z "$DISPLAY" ] or [ -n "$DISPLAY" ] 2021-08-01 17:46:42 so uh 2021-08-01 17:46:50 plan9port calls its shell rc 2021-08-01 17:47:06 i'm thinking i'll just rename the executable to rc9 or something 2021-08-01 17:48:02 you could just put the plan9port files in their own dir (in /opt or whatever) and manually add the bin path when you want to use it as well 2021-08-01 17:48:15 then you dont have to care about the names 2021-08-01 17:49:44 hm 2021-08-01 17:49:48 alright 2021-08-01 17:50:05 so i'll put it in the front of the path when i need to use that shell 2021-08-01 17:53:08 12:49 < geoman> alright 2021-08-01 18:15:51 Hi, what is the correct way to get a docker image use alpine base image with latest packages, especially security fixes. Is it sufficient to docker build --pull because the base image is updated in case of (security) updates to any packages or do I need to force building without cache? 2021-08-01 18:16:31 flo[m]1: the alpine docker base images is very small (ie, the packages that actually ship on it), and we do update the image in case of CVE's to any of these patches 2021-08-01 18:16:53 s/patches/packages 2021-08-01 18:16:53 ikke meant to say: flo[m]1: the alpine docker base images is very small (ie, the packages that actually ship on it), and we do update the image in case of CVE's to any of these packages 2021-08-01 18:20:35 ikke thank you. That means that if I install any packages on top I have to force rebuilding from scratch as there is no way for docker to know whether it should cache or not, correct? 2021-08-01 18:21:35 yes, docker indeed had no way to know that the mirror packages have been updated 2021-08-01 18:22:13 It would be great to have docker image on top of the base image that gets updated whenever any package is update due to cve. 2021-08-01 18:22:24 That does not make sense 2021-08-01 18:23:04 ikke for me so far it does. Could you elaborate what I'm seeing wrong? 2021-08-01 18:24:41 as far as i understand it the docker image does get updated for various things so just pulling is enough 2021-08-01 18:24:59 They want us to update a dummy image as signal that there is something to update 2021-08-01 18:25:49 not because the content of the image changed, but because something external updated 2021-08-01 18:29:11 @ikke yes, I'm looking for an efficient way to have docker rebuild images if there are 1) security updates that are needed, 2) any security updates at all, or 3 ) updates in general in order of preference. 2021-08-01 18:29:11 Do you see a better solution than having signal layers? 2021-08-01 18:30:16 trylletre my understanding from what ikke wrote is that the base image is not guaranteed to be updated in case of cve for package that is not part of the base image. 2021-08-01 18:30:16 The images I maintain, I just weekly rebuilt with --no-cache 2021-08-01 18:31:02 note that updating the base image is a manual process (make a pull request against docker-library) 2021-08-01 18:31:17 if the package is not part of the base image, and you pull/use the base image, when you apk add the package you will get the patched version of that cve'd package from the repository (if it was fixed) 2021-08-01 18:32:04 so... i suppose you do have to do rebuilds since there is no signalling 2021-08-01 18:32:48 a weekly rebuild doesnt seem too bad though :) patch tuesdays 2021-08-01 18:32:59 trylletre rebuilds is what I do, but they come with the trade-off of either running long without update or creating unnecessary new images. 2021-08-01 18:33:06 I've setup gitlab pipeline schedules to take care of that for me 2021-08-01 18:34:13 packages that are manually installed on top of alpine are outside the scope of the docker ecosystem itself 2021-08-01 18:34:13 @ikke yes me, too. I'm looking for a way not to push 1gb of unnecessary images to all users every week, but rather only if there is a need to. 2021-08-01 18:34:32 the base image itself is tiny and gets updated whenever there is an issue with any of the software in it 2021-08-01 18:37:14 Is there a URL I can query to download information about alpine packages updated due to cve? 2021-08-01 18:37:59 https://secdb.alpinelinux.org/v3.14/ for example 2021-08-01 18:38:02 or the git commit log 2021-08-01 18:40:44 @ikke thank you that looks great. Guess all I'm asking is docker images that contain the base image + these files, tagged 3.14-secdb-all, ...-community, ...-main 2021-08-01 18:41:18 there are third party tools that do scanning to find vulnerable software in containers, i cannot recommend any though 2021-08-01 18:44:26 flo[m]1: you can always make one yourself :) 2021-08-01 18:45:34 Note that this is not necessarily going to help you 2021-08-01 18:45:41 You still would get daily rebuilds 2021-08-01 18:46:01 You want to only rebuild when packages that you use have security updates 2021-08-01 18:46:29 "alpine Linux, the secure lightweight distro" I just thought there might have been an established way already to install security updates on alpine in a lightweight manner ;) 2021-08-01 18:47:23 Daily rebuilds if there are dail cves yes. As you say propose it would be better to check whether specific packages need update and rebuild then. 2021-08-01 18:47:39 correct 2021-08-01 18:47:51 there is an established and easy way to install updates in alpine itself, but it's not centered around docker 2021-08-01 18:47:59 also correct 2021-08-01 18:48:14 We do update the alpine base image, but that's as far as it goes 2021-08-01 18:48:17 danieli for only security updates? 2021-08-01 18:48:22 check if docker image sha has changed and rerun your own docker build 2021-08-01 18:48:39 that is for updates in general, but if you run stable alpine you won't get more than critical updates (such as security ones) 2021-08-01 18:48:47 But we only update the base image when packages in the base image are affected 2021-08-01 18:48:53 ah sure 2021-08-01 18:49:25 That's great to know, thank you! 2021-08-01 18:49:46 stable alpine basically remains stable, no breaking changes 2021-08-01 18:50:36 That's a quite different definition than "security updates" only. 2021-08-01 18:51:17 I'm not looking for stability but for rebuild only if there are security updates (ideally that affect me) 2021-08-01 18:51:43 That's something that docker does not really handle 2021-08-01 18:52:30 Well, thank you everyone. I think that building something based on the secdb ikke posted is the most promising approach. 2021-08-01 18:52:40 the alpine-provided base image doesn't contain anything other than the bare necessities, if you choose to add any on top of the published base image you should have some mechanism for lifecycle management 2021-08-01 18:55:15 In a perfect world, docker would have a reproducable builds 2021-08-01 18:55:26 Where, if the contents are the same, the image would be the same 2021-08-01 18:55:43 so you could rebuild a base image, and if it does not change, the other layers do not need to be rebuilt 2021-08-01 18:57:31 Uh, any clue why OpenRC might start services in the wrong order? E.g. networkmanager needs dbus, but I currently have a system starting dbus after networkmanager and thus nm fails to start 2021-08-01 18:57:50 PureTryOut1: conflicting requirements? 2021-08-01 18:57:56 Not sure how to debug that though 2021-08-01 18:57:59 On my laptop I also have file systems being try to be mounted before they are being decrypted, again because of services being started in the wrong order 2021-08-01 18:58:48 Well according to the log right after it fails to start networkmanager it starts up dbus fine 2021-08-01 19:00:10 maybe ask in #openrc on libera? 2021-08-01 19:00:41 Sure thanks 2021-08-01 19:01:57 True! 2021-08-01 19:39:45 openrc has a mechanism for services to depend on other services, it might be incorrectly configured 2021-08-01 20:21:19 dbus depends on localmount and bootmisc by default 2021-08-01 20:22:14 so it should just start regardless of nm 2021-08-01 20:38:32 does nm's service file define a dependency on dbus? 2021-08-01 20:39:01 looksl ike it does 2021-08-01 20:39:04 looks like * 2021-08-01 22:37:59 are there any apk bindings that are somewhat complete, and includes all the core abilities of apk like installing and removing packages? 2021-08-01 22:38:38 the lua one feels fairly useless considering it (naerly) only reads the database and checks whether stuff is installed 2021-08-01 22:42:49 i dug a little futher into pmOS' libapk-qt and it might just be useful 2021-08-01 22:47:49 i think Cogitri made something for gnome 2021-08-01 22:48:09 for most purposes i think it should be sufficient to invoke /sbin/apk 2021-08-01 22:48:51 it should, but I would prefer bindings rather than wrapping a command line tool 2021-08-01 22:51:42 i think apk3 is intending to provide a more stable api 2021-08-01 22:55:08 the infamous apk3 doesn't exist yet, so i'll avoid thinking much about that 2021-08-02 05:01:28 danieli: https://gitlab.alpinelinux.org/Cogitri/apk-tools-rs 2021-08-02 06:51:09 rust <3 2021-08-02 07:05:52 If I previously upgraded to edge, does downgrading to 3.14 have some possibility of being more broken than just reinstalling 3.14 from scratch? 2021-08-02 08:19:08 its never a good idea to downgrade a system 2021-08-02 08:19:37 Any specific reason why? 2021-08-02 08:21:25 ive had problems on other systems with dependencies getting in a stuck state 2021-08-02 08:21:36 cant say ive tried with alpine though 2021-08-02 08:24:56 is it bad advice saying its not a good idea to downgrade a system? 2021-08-02 08:31:43 ikke: any specific reason why I'm gonna downgrade? Just to see if the firefox audio issues go away, if chrome discord stuff comes back to working, etc 2021-08-02 08:31:53 if i can just pull down darktable from edge, i think that's the only edge package i actually need 2021-08-02 08:32:10 i think i originally thought i needed veracrypt 2021-08-02 08:32:33 but then realized that cryptsetup et al handle vcrypt just fine 2021-08-02 08:33:09 jeffreybenzos[m]: My question was to Skaface82 2021-08-02 08:33:21 makes sense; should have clarified first 2021-08-02 08:33:33 (i should have) 2021-08-02 08:50:20 so from the lack of reply I assume I was completely wrong 2021-08-02 08:57:09 In general it should work (Make sure you pass --available) 2021-08-02 10:09:52 ah, damn; sadly, it didn't fix the firefox-no-sound situation 2021-08-02 10:34:34 Hello, trying to build something that requires boost-python's numpy extension. It's not part of boost-python or overall boost-dev however - is it packaged at all? 2021-08-02 10:50:25 Why Alpine Linux has no /dev/disk/by-uuid/ and how can I get the UUID of a *disk* (not a partition) 2021-08-02 10:50:46 L1Cafe: you need to install and enable udev for that 2021-08-02 10:51:23 ikke: Lol this Alpine Linux chatroom is faster than AWS (paid) Premium Support. Thanks! 2021-08-02 10:51:37 And we're proud of it :) 2021-08-02 10:52:19 wait until you receive our bill 2021-08-02 10:54:13 Sorry lopid I can only pay in AmazonasCoin ($AMZ) https://coinmarketcap.com/currencies/amazonascoin/ 2021-08-02 10:58:12 https://paste.0x7.io/?fd0193bace212fdf#73PpCTAfomtUQUVz9YQVXnZRwneQw53K3Y5icJoMUHE7 ikke I started and enabled udev but nothing... Am I missing something? 2021-08-02 10:58:49 L1Cafe, your commands are the wrong way around 2021-08-02 10:59:02 lopid: udev is already started, I'm only querying status 2021-08-02 10:59:06 sorry, i misread 2021-08-02 10:59:18 anything in a log? 2021-08-02 10:59:33 well well 2021-08-02 10:59:42 I just plugged in a USB drive and everything auto-populated 2021-08-02 11:00:04 https://paste.0x7.io/?5ec0256d53dcecd6#DhNSeWWe1HQq4yRn3j647tSRNsG18GoNAfy97b2rQ8kL interesting 2021-08-02 11:00:17 I started monitor before I plugged it in 2021-08-02 11:01:56 /lib/udev/rules.d/60-persistent-storage.rules should create dev/disk/* entries 2021-08-02 11:02:18 and it does on my VM 2021-08-02 11:02:23 let me C 2021-08-02 11:02:57 https://tpaste.us/7VVj 2021-08-02 11:03:13 Huh... udev won't create /dev/disk entries when there's nothing plugged into the RPi 2021-08-02 11:03:23 So the SD Card won't get an UUID... how come? 2021-08-02 11:03:33 Not sure about that myself 2021-08-02 11:03:59 This is an RPi with only the / SD card: https://paste.0x7.io/?1e55ff306ed97458#4SMco9ao1p8KXcuRW3E3XRTE5xwYUDSHXTfKdZaqZ4sa 2021-08-02 11:04:10 And as soon as I plug in a drive... 2021-08-02 11:04:40 https://paste.0x7.io/?7fcc8899567c14e9#Grh6C6mCSwFq3aQRduVCKqe6RwGKzmrLkiceywQNGYcW 2021-08-02 11:04:42 Weird, right? 2021-08-02 11:04:57 You could look at that udev conf 2021-08-02 11:05:17 It does have rules for mmcblk 2021-08-02 11:05:30 It does indeed 2021-08-02 11:05:54 Hmmm... Not familiar with low-level storage kernel calls but I wonder why this is 2021-08-02 11:06:07 rabbithole time 2021-08-02 11:09:09 https://paste.0x7.io/?bb2b7c313fd5c6b6#DcWekwin1m3RRwWUVV1NKx3p7EsPHUAC8hKzLLTpDp56 there's no other references to mmc in any other files in the same directory, so it has to be that 2021-08-02 11:10:15 Does this look weird? /lib/udev/rules.d/60-persistent-storage.rules:KERNEL!="mmcblk[0-9]boot[0-9]", ENV{DEVTYPE}=="disk", ENV{ID_PATH}=="?*", SYMLINK+="disk/by-path/$env{ID_PATH}" 2021-08-02 11:11:47 https://paste.0x7.io/?983302f191ebc9f8#S2yNDw4VafzKjCVxD1wLDvqPq1rZjc3QkNcbJcD4wk8 yeah no idea tbh. It's not an issue, just curious what's going on 2021-08-02 12:00:24 Hi is there any docs on how a package get's accepted from testing into community? 2021-08-02 12:02:41 j--r: There is no formal process. If you are the maintainer, and made sure the package is working, then it's just a matter of making a merge request 2021-08-02 12:04:26 ikke: okay good to know... I'm indeed the maintainer, but I think I'll just wait some time, maybe someone has feedback after using the package on alpine 2021-08-02 15:25:01 Has anyone managed to build OpenRestys luajit2 with musl? 2021-08-02 15:27:32 Ristovski: that's what the luajit package in aports is 2021-08-02 15:28:37 https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/main/luajit/APKBUILD it's from openresty/luajit2 2021-08-02 15:29:07 iirc, it was recently changed to openresty because it was maintained 2021-08-02 15:29:16 indeed, i clearly remember that 2021-08-02 15:29:23 the old one broke or became unmaintained 2021-08-02 15:29:28 Oooh, that explains it! 2021-08-02 15:29:31 Thanks :) 2021-08-02 15:29:39 https://gitlab.alpinelinux.org/alpine/aports/-/commit/c12fb28e6d794fa1cb9ceda035d06edbff432c29 2021-08-02 15:59:26 https://paste.0x7.io/?10a684983b252efe#EYRqfYYXbb41GkGkwjVRC7PUK6yLnbXTUSHh6Dd2iNrP How can I do this? Install all packages beginning with "ufw-" 2021-08-02 16:00:32 L1Cafe: tried something along the lines of apk -q search ufw | xargs apk add? 2021-08-02 16:01:06 danieli: was expecting apk could do it on its own, but it's a good idea, thanks 2021-08-02 16:02:35 if it can, it's be: apk add ufw\* 2021-08-02 16:02:40 but i'd add -i 2021-08-02 20:31:55 Has anyone tried building alpine docker containers on Raspberry Pi OS lately? I'm having trouble fetching packages from dl-cdn.alpinelinux.org. Response is temporary error 2021-08-02 20:34:58 henrikvendelbo: check DNS 2021-08-02 20:44:44 it seems to work. Set it to 8.8.8.8 2021-08-03 04:31:13 hello guys... question... I'm trying to install alpine on a olimex olinuxino lime2 (armhf SoC) 2021-08-03 04:32:13 I have already compiled uboot and the kernel 2021-08-03 04:32:31 But IDK which root filesystem to use 2021-08-03 04:33:01 I tend to think that maybe I should use "generic ARM" but armhf is not listed there 2021-08-03 04:33:14 the other option would be Mini root filesystem? 2021-08-03 04:34:42 libsys: minirootfs is possible, but you need to manually make sure things like openrc are setup properly 2021-08-03 04:36:22 how could I do that? is there a ready-to-go option or a tutorial? 2021-08-03 06:55:06 libsys: mps is your go to for arm sbc's 2021-08-03 06:55:12 oh he is not online 2021-08-03 07:00:46 clandmeter: libsys: I'm here now 2021-08-03 07:02:49 mps: maybe you can paste your guide on how to get an arm sbc running. 2021-08-03 07:03:38 https://arvanta.net/alpine/armhf-setup/ 2021-08-03 07:04:08 it is outdated somewhat but could be used as hint 2021-08-03 07:04:59 also this one, https://arvanta.net/alpine/install-alpine-on-acer-r13-chromebook/ 2021-08-03 07:05:55 it is to install alpine aarch64 on chromebook external mmc but quite useful as hints for any external media, imo 2021-08-03 07:08:07 (interesting thing is that I few minutes ago looking on net for olimex boards, want to buy some rather than raspberry) telepathy or what :) 2021-08-03 07:08:43 libsys: ^ 2021-08-03 07:14:29 it is time to write general guide about installing alpine on mmc for arm SBCs, but I'm these days occupied about testing and writing about armv7 (and aarch64) running in qemu 2021-08-03 07:15:01 and contemplating how alpine dkms should be 'designed' 2021-08-03 08:22:04 Hello, I have a small issue with mariadb (mysql) on Alpine. After each reboot, mariadb service would crash, won't start up. As per the log is this: [ERROR] mariadbd: Can't create/write to file '/run/mysqld/mariadb.pid' (Errcode: 2 "No such file or directory") 2021-08-03 08:24:13 it seems that after reboot /var/run/mysqld is deleted so mariadb.pid won't be created. I tried editing /etc/my.conf.d/mariadb-server.cnf and add pid-file = /tmp/mysql.pid but it seems that this option is ignored. the service would still want to write to /var/run/mysqld/ 2021-08-03 08:24:43 If I create the dir and chown mysql:mysql, everything is OK, but I need to do this after every reboot 2021-08-03 08:25:02 Does anone else have/ad this issue before with mariadb? 2021-08-03 08:37:46 gopher22: the dir should be created from init.d script 2021-08-03 08:41:05 gopher22: its a bug. can you please report it to https://gitlab.alpinelinux.org/alpine/aports/-/issues 2021-08-03 08:44:29 it is actually two bugs, one is that the pidfile in mariadb-server.cnf is not respected (caused by 48c1541f9967f4f357a078dea9bc322db39bf813) 2021-08-03 08:45:14 the other bug is that the pid file directory should be created if its missing 2021-08-03 09:38:06 ncopa understood, thank you! yes, this time it is created manually by myself. if confirmed as a bug, should I report it once again? it it possible to do so anonymously? (sorry I'm new to this) 2021-08-03 10:54:04 Hey. How do one change font/text size in unix (alpine linux)? 2021-08-03 10:54:09 CLi 2021-08-03 10:55:33 How do one change font/text size in alpine linux cli? 2021-08-03 10:56:13 How do one change font/text size in alpine linux cli? 2021-08-03 10:57:54 you don't have to ask three times :) 2021-08-03 10:58:06 either way, that depends on whether you're in a TTY (no X server) or using a terminal emulator 2021-08-03 11:02:12 (you should answer him three times) 2021-08-03 11:10:29 dangit 2021-08-03 11:49:54 gopher22: i dont think you can report it anonyous. the only reason to report it in the bug tracker is so i dont forget it. 2021-08-03 11:59:06 ncopa Will do. Thank you! 2021-08-03 13:23:59 Hey everyone, I've managed to create a virtual machine with Alpine Linux 3.14, a regular user in the wheel, video and input (not sure the 3rd name) groups and `plasma`. I can manually start `sddm` and login to desktop with the root user, but not the regular user. Does anyone know what could be the error? 2021-08-03 13:27:11 if you start sddm as root you should be able to log in as any user 2021-08-03 13:27:18 if not then probably your password is wrong 2021-08-03 13:27:37 i think display managers in general are not designed to be run as non-root 2021-08-03 13:31:55 I only get the old X11 `X` as a mouse cursor when I try logging in as a regular user. (SDDM doesn't start without with root privileges) 2021-08-03 13:36:06 Also (less concerning for now) the Wayland session is broken, it returns to SDDM 2021-08-03 13:46:48 did you select plasma session 2021-08-03 13:46:58 i think it is saved per user 2021-08-03 13:52:46 "did you select plasma session" <- You mean Plasma (X11) for the regular user, like with the root user? 2021-08-03 13:52:51 yes 2021-08-03 13:53:02 in the gui there is a dropdown for what kind of session you want 2021-08-03 13:53:41 Yes I did 2021-08-03 13:54:38 I also notice the same cursor when booting with root, but it continues booting the actual session, but with the regular user it hangs 2021-08-03 13:55:50 try starting session directly from console 2021-08-03 13:55:56 not sure how to do it with modern kde though 2021-08-03 13:56:06 probably invoke plasma-wayland-session or something 2021-08-03 16:08:14 does anyone have any guidance on how to build an apk from a python package, without getting the source remotely? I made sdist on the python side and put that in $srcdir and did abuild checksum, but it unpacks the sdist and can't find setup.py (not quite sure what the unpack stage is actually doing, so I'm not sure where the files really ended up) 2021-08-03 16:08:55 well, it ended up in $srcdir//setup.py 2021-08-03 16:09:13 which is not where abuild looks for it, and I'm not sure if it's a terrible idea to change build() 2021-08-03 17:08:03 it seems like other people just change builddir...newapkbuild does not seem to set up a particularly good template... 2021-08-03 17:20:34 Is there a way to listen to DPM transitions? Something like looking at `power/runtime_status` but using epoll or something 2021-08-03 17:27:06 there are PM notifiers from some drivers, but I don't believe they're required or consistent (to alert userspace programs to prepare for an event) 2021-08-03 17:27:54 Hmm, happen to know how those work? (or how to find the kernel.org docs for those) 2021-08-03 17:29:13 I was only able to find the major ones, like PM_SUSPEND_PREPARE 2021-08-03 17:29:20 which is for the whole system, as opposed to a device 2021-08-03 17:29:39 yeah I think that's the best you're going to do, generically anyhow 2021-08-03 17:30:13 there's the cpu hotplug event chain as well, but that is unlikely to be any more specific 2021-08-03 17:30:30 dang, I can't inotify on runtime_status either :/ 2021-08-03 17:34:08 hmm, maybe ftrace/bpf can access those 2021-08-03 17:34:14 as in, hooking the functions 2021-08-03 17:34:44 you could maybe hook acpi events if you're on an architecture that has them 2021-08-03 17:35:33 nbastin: nope, my dGPU (which suspends when unused) doesn't show up there either 2021-08-03 17:36:00 ah 2021-08-03 17:36:37 I bet bpf/kprobes/ftrace can hook the dpm_resume etc, will look into that tomorrow 2021-08-04 02:57:11 clandmeter mps: thanks a lot :) 2021-08-04 05:38:43 i'm magically stupid 2021-08-04 05:38:53 re-downloading darktable from edge doesn't seem to be working, suddenly 2021-08-04 05:39:09 apk add darktable --repository= doesn't actually get me 3.6.0 2021-08-04 05:42:10 grep darktable /etc/apk/world 2021-08-04 05:42:53 i del'd it recently lol 2021-08-04 05:44:37 after adding it, it's just giving me 2021-08-04 05:44:52 31: darktable // 32: darktable-dbg // 33: darktable-doc 2021-08-04 05:45:17 What is the repository url you are using? 2021-08-04 05:45:29 http://dl-cdn.alpinelinux.org/alpine/edge/community 2021-08-04 05:45:33 might be wrong, let me check 2021-08-04 05:45:36 i pulled it from my bash history 2021-08-04 05:46:04 https://pkgs.alpinelinux.org/flag/community/darktable/3.6.0-r1 404? 2021-08-04 05:46:22 r3 2021-08-04 05:46:44 apk add -X https://dl-cdn.alpinelinux.org/alpine/edge/community darktable 2021-08-04 05:46:46 this works for me 2021-08-04 05:47:17 https://tpaste.us/r6nd 2021-08-04 05:48:05 (-X is short for --repository) 2021-08-04 05:48:16 yeah, weird; it didn't work for me 2021-08-04 05:49:15 maybe you have something installed that holds darktable back 2021-08-04 05:49:20 ie, a dependency 2021-08-04 05:49:43 hmmmm. i wonder if a recent -U upgrade did that 2021-08-04 05:49:45 try: apk add -X https://dl-cdn.alpinelinux.org/alpine/edge/community darktable=3.6.0-r3 2021-08-04 05:50:05 openexr. there we go 2021-08-04 05:51:58 sad. 2021-08-04 05:52:50 man i technically don't even need openexr, lmao 2021-08-04 05:52:53 who ever puts out exr files 2021-08-04 05:54:54 what the hell, abuild: `/root/alpine/testing/tinyfugue/pkg/tinyfugue/root/alpine/testing/tinyfugue/pkg/tinyfugue/root/alpine/testing/tinyfugue/pkg/tinyfugue/usr/bin/tf`??? 2021-08-04 05:56:35 given `install -Dm755 tf${X} ${DESTDIR}${bindir}/tf` (via patch) and `make DESTDIR="$pkgdir" install` in the APKBUILD, I don't understand why ${DESTDIR} gets repeated thrice. 2021-08-04 05:56:55 is that abuild or the makefile that does that? 2021-08-04 05:57:18 hmm, you say install does it as well 2021-08-04 05:58:14 you could echo $pkgdir before you run that line, but I've never seen it doing that 2021-08-04 05:58:24 ohhhh right, ikke; why do i have a buildozer directory 2021-08-04 05:58:51 firefox is telling me, despite running as my current user, that it's having a hard time finding a file inside of buildozer's homedir 2021-08-04 05:59:16 I mean, I patched the makefile to use install(1) instead of its own mkdir/cp/chmod nonsense. 2021-08-04 05:59:43 Sheila: can you verify the contents of DESTDIR then? 2021-08-04 06:00:40 …oh. I'm a dumbass. there's a vars.mak.in here which does ${DESTDIR} already. :D; 2021-08-04 06:00:55 neeeeeever mind. 2021-08-04 06:07:40 hm. nope, fixing my patch didn't do it. yes, it's in the buildsystem, not abuild. 2021-08-04 06:11:55 there we go, stripping out upstream's hamfisted DESTDIR did the trick. 2021-08-04 06:13:49 libsys: if you have any problem, idea or proposal about installing alpine armhf/armv7 please report to me and/or clandmeter 2021-08-04 06:19:59 I've submitted !23910, but I'd like to promote to community because the software's now being actively maintained. 2021-08-04 06:37:15 Is there an apk command for "why is this package on my system?" 2021-08-04 06:41:03 'apk crystal ball' ;) 2021-08-04 06:41:41 apk info -r pkgname 2021-08-04 06:45:10 if it's not in /etc/apk/world, it's probably a dep 2021-08-04 06:50:32 if it's not in world, it must be a dep 2021-08-04 06:50:47 (or install_if) 2021-08-04 06:51:50 Sheila: feel free to move it if you have verified it's working 2021-08-04 06:52:00 and it has a maintainer set 2021-08-04 06:52:34 I own it and have been using it off and on for years. :) 2021-08-04 06:52:42 ok :) 2021-08-04 06:53:51 oo, tf! but the latest is 5.0b8… 2021-08-04 06:54:26 new upstream 2021-08-04 06:54:42 not http://tinyfugue.sourceforge.net/ ? 2021-08-04 06:55:07 https://github.com/ingwarsw/tinyfugue 2021-08-04 06:55:24 aha 2021-08-04 06:55:48 could have saved myself some trouble a few weeks ago 2021-08-04 06:57:57 Sheila: !23910 2021-08-04 06:58:16 move from testingm please 2021-08-04 06:58:30 uff 2021-08-04 06:58:37 move from testing, please 2021-08-04 06:59:01 as in, `community/tinyfugue: …, move from testing/tf`? can do. 2021-08-04 06:59:10 right 2021-08-04 06:59:50 I usually first upgrade in one commit, and in next commit move 2021-08-04 07:00:26 yes, two commits but it is easier to follow in git log, imo 2021-08-04 07:01:24 it's already two commits… 2021-08-04 07:02:45 yes, but I describe how I usually do 2021-08-04 08:28:13 I think I have a lead on the firefox lack of audio 2021-08-04 08:28:33 i've removed the packages that had a buildozer account on the system, but now firefox, for some reason, is still doing this: 2021-08-04 08:28:39 [Child 3336, MediaDecoderStateMachine #1] WARNING: 7fe71ae9f2d0 OpenCubeb() failed to init cubeb: file /home/buildozer/aports/community/firefox/src/firefox-89.0.1/dom/media/AudioStream.cpp:323 2021-08-04 08:28:47 no clue why firefox is looking for that 2021-08-04 08:33:59 looking for what? 2021-08-04 08:35:20 that's not the path of a file it's looking for :) 2021-08-04 09:40:32 Hello! installed alpine on my desktop. how can I get the directory /run/user/1000 for pulseaudio to work? 2021-08-04 09:42:58 g1234: maybe you need to add your user to 'audio'group, do you have some error message? 2021-08-04 09:45:26 donoban: the command pulseaudio fails with: failed to create /run/user/1000/pulse, when i go to /run/ there isn't a dir called 'user' 2021-08-04 09:46:11 g1234: you need a user session manager to arrange that 2021-08-04 09:46:19 elogind or something similar 2021-08-04 09:47:09 i have installed libseatd and seatd, and started seatd on run level boot, how can i configure seatd to create that dir? 2021-08-04 09:57:29 hmm created /run/user/1000, pulseaudio works, but i do not know if it is persistent? 2021-08-04 10:03:20 no, /run is removed on reboot 2021-08-04 10:03:55 it won't be persistent but if the service that created it is started on boot, it might work 2021-08-04 10:04:09 I suppose g1234 was testing it, as they left 2021-08-04 10:04:18 just fyi 2021-08-04 12:38:55 How do I change textsize in alpine linux (rpi 4)? I tried hdmi_group and hdmi_mode in usercfg.txt 2021-08-04 12:46:54 at console? 2021-08-04 12:48:31 Yes in the CLi 2021-08-04 12:50:51 see setfont and the consolefont service 2021-08-04 13:00:58 Hey, I dc'd 2021-08-04 13:01:19 see setfont and the consolefont service, /etc/conf.d/consolefont 2021-08-04 13:06:36 Thanks 2021-08-04 13:12:15 The text is so small, I need a command for resizing the text to 26 font size 2021-08-04 13:12:43 Text too small, I can't read /etc/conf.d/consolefont 2021-08-04 13:15:06 Please help 2021-08-04 13:15:44 looking it up. i don't have it installed 2021-08-04 13:15:55 setfont command? 2021-08-04 13:16:07 setfont /usr/share/consolefonts/ter-u26b.psf.gz 2021-08-04 13:16:38 ^ 2021-08-04 13:16:50 hopefully they have /usr/share/consolefonts 2021-08-04 13:17:12 if the terminus-fonts pkg installed ofc 2021-08-04 13:17:59 I have only terminus fonts for consoles so don't know filenames for defaults 2021-08-04 13:21:15 sometimes when install linux on phones I use magnifier to see text before setting proper one 2021-08-04 13:23:19 have you tried bringing the screen closer to your eye? 2021-08-04 13:23:27 Are there default ones? 2021-08-04 13:23:48 Isn't the default font defined directly in the kernel? 2021-08-04 13:24:48 it must be 2021-08-04 13:26:25 lopid: only to put in 'in the eye' 2021-08-04 13:26:33 Sorry, I disconnected. Can you please repeat 2021-08-04 13:27:00 try: setfont /usr/share/consolefonts/ter-u26b.psf.gz 2021-08-04 13:27:18 apk add terminus-fonts && setfont /usr/share/consolefonts/ter-u26b.psf.gz 2021-08-04 13:28:02 default kernel fonts for consoles are too small for high resolution screens and for small screens 2021-08-04 13:29:23 for example for alpine linux-gru kernel I set bigger terminus fonts in kernel 2021-08-04 13:32:45 i wonder if it would make sense for kernel to automatically select bigger font for higher resolution display 2021-08-04 13:33:07 Hello71: it would ofc 2021-08-04 13:33:28 i mean i think it is not exactly as easy as it sounds, e.g. what if you have multiple display with different resolution 2021-08-04 13:33:36 not sure how to detect resolution in kernel of console 2021-08-04 13:33:37 what if you plug in a screen after boot, does it resize font 2021-08-04 13:34:02 if kms is enabled i think you can just do cat /sys/class/drm/something 2021-08-04 13:34:03 no it doesn't iirc 2021-08-04 13:34:07 i mean not now 2021-08-04 13:34:10 Alright, I need to config it on seperate os or a one time type command 2021-08-04 13:34:25 but if proposal was implemented to resize font automatically 2021-08-04 13:34:49 since i think fbcon only supports one font at a time for all displays 2021-08-04 13:35:27 'cat /sys/class/drm/card0/card0-eDP-1/mode' => 1920x1080 2021-08-04 13:35:51 hm, i don't have that (running under wayland) 2021-08-04 13:35:59 only "modes" file but it doesn't say which one is active 2021-08-04 13:36:13 oh, i have dumber method: echo $COLUMNS $ROWS 2021-08-04 13:36:26 Something like dpkg --reconfigure consolefont would also do 2021-08-04 13:36:35 I doubt that will work 2021-08-04 13:36:43 Hello71: ^ 2021-08-04 13:36:44 It dosn't 2021-08-04 13:36:45 if COLUMNS > 500, make font bigger 2021-08-04 13:37:17 How to set screen resolution ? 2021-08-04 13:37:18 tput cols? 2021-08-04 13:37:37 COLUMNSxROWS will be misleading 2021-08-04 13:38:24 i mean it works if you assume default font 2021-08-04 13:38:57 and we don't actually need the exact screen resolution, only detect if it is high 2021-08-04 13:39:12 yes, with this i agree 2021-08-04 13:39:44 but i meant to do it in kernel mode, not from userspace 2021-08-04 13:39:53 detect resolution and set some appropriate default fonts from some table 2021-08-04 13:40:08 hopefully nobody will care about "backwards compatibility" for exactly which font is selected 2021-08-04 13:40:31 right, but what algorithm do you use for multiple displays, or with hotplugged displays, etc 2021-08-04 13:40:48 remembering how long I waited for terminus fonts added to kernel I'm not sure that will be done in reasonable future 2021-08-04 13:42:18 except if google make patch for Linus :D 2021-08-04 13:42:33 or some of LF companies 2021-08-04 13:46:19 I need to change the textsize to 26 pixel 2021-08-04 13:46:51 I will do it by seperate os and then use /etc/conf.d/consolefont 2021-08-04 16:02:37 hi all 2021-08-04 16:03:18 is there a way to get the kernel version (or at least /lib/modules/blah) installed that i'm currently running if it was removed by an `apt upgrade` (if not wanting to reboot right now) 2021-08-04 16:04:09 uname -r 2021-08-04 16:05:28 ls /lib/modules/$(uname -r) 2021-08-04 16:20:03 hmm 2021-08-04 16:20:14 that's how i know that the directory tree is gone 2021-08-04 16:20:22 my question is about "how do i get it back", ikke 2021-08-04 16:20:42 You'd need to have a package with the module tree for the current version 2021-08-04 16:22:23 ikke: okay, so once the new version is released, the old packages are pruned from the server? 2021-08-04 16:22:34 rapha: yes 2021-08-04 16:25:31 apt upgrade? 2021-08-04 16:25:48 I assume they meant apk 2021-08-04 16:26:13 i mean still 2021-08-04 16:26:56 packagectl upgrade /s 2021-08-04 16:36:21 hmm okay then i have no choice but to wait until all current tasks are finished and then reboot :( 2021-08-04 16:36:23 thx 2021-08-04 16:41:29 I'm trying to run Alpine on an ARM iMX8 (Variscite). They use Yocto for their setup. The iMX8 uses Arm Trusted Firmware, so I have to use that as the second stage bootloader, but after that can I just use the Generic Arm download for it (aarch64)? 2021-08-04 16:43:36 Hey, I am not able to change the font to 16x64 in the /etc/conf.d/consolefont 2021-08-04 16:45:50 you can't get answer if you close client so fast :D 2021-08-04 16:46:24 rexthor: probably yes 2021-08-04 16:47:08 you can use alpine aarch64 even with your built bootloaders and kernels 2021-08-04 16:47:20 or even kernels from other distros 2021-08-04 16:47:44 but you should use newer kernels, 5.x and up 2021-08-04 16:48:23 Thanks mps, I kind of figured. I asked the question and figured out what I was doing wrong. Previously I had been scooping the Yocto-built kernel and DTBs out and gluing it back together with the Alpine rootfs. It was not working. 2021-08-04 16:49:33 rexthor: I wrote small script to install alpine on elm chromebook, you can look at it and see how to install alpine on any aarch64 device 2021-08-04 16:50:11 rexthor: https://arvanta.net/alpine/install-alpine-on-acer-r13-chromebook/ 2021-08-04 16:50:28 I think you will understand it 2021-08-04 16:51:17 Thanks mps! 2021-08-04 16:51:26 np 2021-08-04 16:52:46 When Alpine boots, does "/sbin/init" open up the "*.apkovl" file? (The init seems to be part of busybox - I just wasn't clear on how it came up) 2021-08-04 16:54:02 it should do that 2021-08-04 16:54:27 I mean, '/sbin/init' in initramfs 2021-08-04 16:56:41 Ok - thanks, I should have looked in there first I guess 2021-08-04 16:57:45 https://gitlab.alpinelinux.org/alpine/mkinitfs/-/blob/master/initramfs-init.in#L766 2021-08-04 16:59:45 Thanks ikke 2021-08-04 17:47:07 Is there a way to force a package to reinstall its dependencies? 2021-08-04 17:48:13 nevermind 2021-08-04 19:09:32 what uuuuup 2021-08-04 19:09:36 we're gonna reinstall today, i think 2021-08-04 19:09:42 (since i need to set up luks anyway) 2021-08-04 19:11:44 the only curiosity i've got is setting up cryptsetup in the initramfs without grub; i guess i can just write a script to prompt for the password? 2021-08-04 19:14:35 (and then: how do I set this up so further updates to the initramfs don't break when running apk upgrade?) 2021-08-04 19:19:38 You can probably fix the version of mkinitfs in /etc/apk/world 2021-08-04 19:19:50 And it won't be run on upgrade 2021-08-04 19:20:55 mkinitfs=3.5.0 or something like that 2021-08-04 19:54:57 yyp: i want it to work, though 2021-08-04 19:55:20 You would need to generate initramfs your 2021-08-04 19:55:22 *yourself 2021-08-04 19:56:06 can't i do that the first time, change some configs in the initramfs config files, and then let mkinitfs handle it from there? or are there yet other things i've gotta do? 2021-08-05 01:05:53 jeffreybenzos: cryptsetup is nothing to do with Grub (e.g. it works with Syslinux also), simply edit /etc/mkinitfs/mkinitfs.conf and add "cryptsetup" to the FEATURES list and then regenerate the initramfs using mkinitfs 2021-08-05 04:52:03 mpd clandmeter: hey! I got a boot... it took me a while but it's working.. I have a responsive keyboard but no video... I'm using an HDMI port and I get video on u-boot, but not when the kernel boots 2021-08-05 04:52:13 what could I be doing wrong? 2021-08-05 04:55:11 here is my full setup (on Debian): https://pastebin.com/fYxgebcu 2021-08-05 06:02:45 minimal: What's the next step for decrypting my stuff (prompting for password, etc) with the initramfs, then? 2021-08-05 06:33:11 libsys: did you mean mps and not mpd when writing nick above? 2021-08-05 06:38:32 mpd sounds better than mps ;-) 2021-08-05 06:40:30 clandmeter: :P 2021-08-05 06:42:10 you didn't hear me playing flute :) 2021-08-05 06:46:40 do i want to? 2021-08-05 06:48:32 xd 2021-08-05 06:48:34 yes 2021-08-05 06:49:06 clandmeter: no, you don't want :D 2021-08-05 06:49:34 sadly probably it's a thing of the SbC as I'm looking at here: https://www.olimex.com/forum/index.php?topic=2114.0 2021-08-05 06:49:48 mps: advantage of mpd is that you can switch tracks without hurting its feelings ;-) 2021-08-05 06:50:17 listening to my playing flute is reserved for my two other friends here ;) 2021-08-05 06:50:32 (though probably not hehe... IDK) 2021-08-05 06:51:12 libsys: do you use monitor or serial console 2021-08-05 06:51:32 i guess he used hdmi 2021-08-05 06:52:06 else the link would not make much sense 2021-08-05 06:52:10 yes, HDMI 2021-08-05 06:52:38 libsys: does dmesg mention anything? 2021-08-05 06:52:44 libsys: do you know which driver for video have to be enabled in kernel 2021-08-05 06:53:04 clandmeter: how can I know? I have no image xd 2021-08-05 06:53:20 via serial 2021-08-05 06:53:50 libsys: what is name of your board and is it listed on sunxi site 2021-08-05 06:54:28 mps: https://linux-sunxi.org/Olimex_A20-OLinuXino-Lime2 2021-08-05 06:54:45 as clandmeter says, everyone working with SBCs should start with serial console and have it ready in case of problems 2021-08-05 06:56:33 aha, it is A20 SOC 2021-08-05 06:58:51 yeah, I don't have a console cable here 2021-08-05 06:59:03 I think this SBC will work well with alpine kernel over serial console 2021-08-05 06:59:24 libsys: are you sure the kernel is loaded? 2021-08-05 06:59:26 because I have two A20 working well for years 2021-08-05 06:59:52 3 actually 2021-08-05 07:00:37 but last time I tested with hdmi was about two or three years ago 2021-08-05 07:00:51 clandmeter: I think it does, but I can't be sure xD it boots u-boot, then detects my config, refreshed the page with a bunch of letters during 0.1 sec and then shuts down 2021-08-05 07:03:01 the screen shuts down... I can reboot with ctrl+alt+supr, which makes me think it loads the kernel 2021-08-05 07:03:37 well... I guess I'll need to get a console cable and debug from there 2021-08-05 07:04:01 libsys: this is very idea, imo :) 2021-08-05 07:04:10 very good* 2021-08-05 07:12:04 libsys: you can try firstboot service 2021-08-05 07:21:16 it can start networking and sshd for you 2021-08-05 07:34:34 libsys: where you buy olimex boards? 2021-08-05 07:39:09 these were given to me by the freedom box foundation 2021-08-05 07:39:16 pretty awesome people 2021-08-05 07:39:51 I would buy others directly from olimex, but in packs of 10 at least 2021-08-05 07:40:28 thanks for answer 2021-08-05 07:42:38 but running A20 boards with hdmi is not much useful, imo. serial console or no console makes these devices quite useful, but everyone is free to do whatever s/he wants 2021-08-05 07:43:37 maybe some special and small hdmi displays could be ok 2021-08-05 08:01:30 I just use it for setting up things 2021-08-05 08:01:56 usually it's being used as a server without keyboard nor screen 2021-08-05 08:02:25 it's handy to just connect an screen and keyboard to work though 2021-08-05 08:07:09 imo these SOCs shouldn't have GPUs and/or video chips 2021-08-05 08:13:43 oh wow 2021-08-05 08:13:53 I've got serial connection through USB OTG 2021-08-05 08:13:57 :D:D:D 2021-08-05 08:17:27 well... indeed it boots hehe 2021-08-05 08:17:59 good to hear 2021-08-05 14:26:45 Is "modloop" and Alpine thing, or is it an OpenRC thing? 2021-08-05 14:28:27 its designed by alpine for alpine started by openrc 2021-08-05 14:29:00 its an alpine thuing 2021-08-05 14:29:04 thing* 2021-08-05 14:29:38 started as in it starts the service not the design :) 2021-08-05 14:39:24 Thanks folks, was just curious. Was that so that the same modules could be shared in initramfs and rootfs? 2021-08-05 14:42:56 Hi, the signatures for the alpine images are missing. Whom can I poke to add them? 2021-08-05 14:43:24 (the = all, at least arm (rpi) and amd64) 2021-08-05 14:49:25 holgersson: poke ncopa 2021-08-05 14:49:56 clandmeter: thanks 2021-08-05 14:50:29 ncopa: Hi, looks as all GPG signatures for the 3.14.1 images, tarballs etc. are missing. Could you please upload them? 2021-08-05 14:51:05 hey 2021-08-05 14:51:08 im working on it 2021-08-05 14:51:17 great :) 2021-08-05 14:51:25 https://gitlab.alpinelinux.org/alpine/aports/-/issues/12897 2021-08-05 14:52:00 i am handling some failure of ppc64le at the moment. the manual rebuild of the release caused some checksums to fail 2021-08-05 14:53:04 ACTION is bookmarking the link to the repo resp. issues for the future. 2021-08-05 15:00:33 ah for the new release, sorry i didnt know. 2021-08-05 15:01:52 clandmeter: yes, it's pretty new (if timestamps shown in my browser are in UTC, then from ≈ 3h ago) 2021-08-05 15:14:44 im currently waiting for the ppc64le to upload 2021-08-05 15:18:15 holgersson: the signatures should be uploaded now, to master mirror 2021-08-05 15:18:44 ncopa: yes, thanks! 2021-08-05 15:48:29 jeffreybenzos: the initramfs takes care of that for you 2021-08-05 17:13:35 [67926.900474] pavucontrol[31617]: segfault at 0 ip 0000000000000000 sp 00007ffd66383518 error 14 in pavucontrol[55d9d2e78000+34000] 2021-08-05 17:13:37 [67926.900482] Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6. 2021-08-05 17:13:45 this seems new 2021-08-05 19:54:49 minimal: it just werks? i'm perplexed how 2021-08-05 19:55:14 jeffreybenzos: why? 2021-08-05 19:56:08 one of the purposes of the initramfs' init is to mount the rootfs - if the rootfs is encrypted then it has to provide the means to decrypt it in order to mount it 2021-08-05 19:56:55 Hmm, interesting. Very interesting. 2021-08-05 19:56:59 unless we're talking about run-from-ram in which case i'm not really familiar with that but it should work similar to Sys mode (install to disk) 2021-08-05 19:57:16 Nah, despite my desire to run from ram, I haven't tried it out yet. 2021-08-05 19:58:31 jeffreybenzos: https://gitlab.alpinelinux.org/alpine/mkinitfs/-/blob/master/initramfs-init.in#L507 2021-08-05 19:58:38 that's where it mounts root 2021-08-05 19:58:53 not the reference to "$cryptopts" 2021-08-05 19:58:58 s/not/note/ 2021-08-05 19:58:58 minimal meant to say: note the reference to "$cryptopts" 2021-08-05 20:02:14 Interesting; I hope I can modify this to skim grub off the top 2021-08-05 20:02:38 I actually assume I won't need to, hmm 2021-08-05 20:03:07 skim grub off the top? what do you mean? 2021-08-05 20:03:28 this is nothing to do with Grub 2021-08-05 20:03:29 The unfortunate part here is that I'm pretty sure I actually can't get "deniable encryption" with my setup; if I have an entry in NVRAM that passes kernel parameters, like where root is, then I'm not actually going to be able to say exactly "Dunno why that disk is empty" 2021-08-05 20:04:18 minimal: I just meant in reference to all of the work you've done total, not just this script. Neat, though. 2021-08-05 20:04:31 When did /media start coming into play in linux? I've always wondered if it was standardized as much as everything else 2021-08-05 20:04:36 entry in NVRAM? entry for what? Are you referring to UEFI settings? 2021-08-05 20:06:11 Yeah. Instead of using grub, I intend to just put /boot on a usb drive that I can remove. 2021-08-05 20:06:47 Then I'll just, during setup, use efibootmgr to put an entry in for booting from the USB disk, which will mount, decrypt root, and go from there 2021-08-05 20:07:12 I don't think that'll be too hard to automate, since the setup process I've got is based off of a slightly modified setup-disk 2021-08-05 20:07:34 which is also a small part of install_mounted_root or something similar 2021-08-05 20:07:50 but isn't automated at all, and i just type it in line by line, lol; I'll hopefully cobble something meaningful together 2021-08-05 20:08:10 oh wtf you linked me to alpine's mkinitfs ITSELF 2021-08-05 20:08:20 i thought i'd have to change things according to your cool script 2021-08-05 20:08:24 even better 2021-08-05 20:08:38 we live in the motherfucking FUTURE 2021-08-05 20:09:20 you don't need to put an entry in UEFI settings - if in your ESP partition you have a file EFI/BOOT/BOOTX86.EFI then it will be auto-used (its basically a default UEFI fallback) 2021-08-05 20:28:34 jefferybenzos: my own script is at https://github.com/dermotbradley/create-alpine-disk-image 2021-08-05 20:29:09 jefferybenzos: if you call it with the "--encrypt" option you can look at the result script to see how to set up LUKS for Alpine 2021-08-05 20:31:17 s/result/resultant/ 2021-08-05 20:31:17 minimal meant to say: jefferybenzos: if you call it with the "--encrypt" option you can look at the resultant script to see how to set up LUKS for Alpine 2021-08-05 22:36:18 With meetbot, what if I want to describe a regular expression: s/not_there/something_else/g ? 2021-08-05 22:36:41 oh :) 2021-08-05 22:37:29 s/:)/:-x/ 2021-08-05 22:37:29 rexthor meant to say: oh :-x 2021-08-06 05:20:37 hey does anyone know if alpine is supposed to include vsock in the kernal? 2021-08-06 05:22:12 or vhost 2021-08-06 05:26:05 Aftershock: they are indeed built, yes. 2021-08-06 05:30:50 if I lsmod | grep vsock I don 2021-08-06 05:30:57 't get any results 2021-08-06 05:43:34 Aftershock: which kernel version? Also check modinfo 2021-08-06 05:43:57 Aftershock: I checked that they were present, not loaded 2021-08-06 05:44:30 You may well have to modprobe them yourself before use 2021-08-06 06:13:54 moin, Alpine 3.14 on RPi suggests in a comment in the config.txt (on the fat-boot partition) that this file may be overwritten on upgrade. For reasons I wanted to change this file and was wondering which kind of upgrade, so I did a quick grep through the aports repository and the only reference I've found so far is in the scripts/mkimg.arm.sh; do I understand correctly that "normal" apk upgrade 2021-08-06 06:14:00 operations should not change the config.txt and I only need to be aware of this on upgrades of say 3.14 to 3.16 or something like that? 2021-08-06 06:40:51 hey rcf: how do I manually modprobe it? 2021-08-06 06:42:27 modprobe vsock 2021-08-06 06:42:35 I'm using kernel 5.10 2021-08-06 06:42:46 that returns module not found 2021-08-06 06:43:08 same for vhost_vsock 2021-08-06 06:43:12 does `ls /lib/modules/$(uname -r)` work? 2021-08-06 06:43:34 No such file or directory 2021-08-06 06:43:41 Then you need to reboot 2021-08-06 06:43:53 thats the only issue? 2021-08-06 06:44:04 The kernel was upgraded, but you still run the old kernel 2021-08-06 06:44:10 oh true 2021-08-06 06:44:12 I have 2021-08-06 06:44:13 so the modules for the running kernel are no longer present 2021-08-06 06:44:15 thanks so much 2021-08-06 06:44:20 That would do it 2021-08-06 06:46:16 yeah thanks for that I was probably going to spend ages trying to figure out the issue 2021-08-06 07:30:10 ok so I'm trying to use qemu but lxd doesn't support the latest version. I need to run alpine edge to get lxd but the version of qemu that it supports is in the alpine v13 repositories. Should I downgrade my system to v13 and then run LXD through an @testing tagged repo? Or should I try to version pin qemu from the v13 repositories? I've tried the latter but it gets angry at the dependany versions 2021-08-06 07:33:33 yes 2021-08-06 07:33:42 ahaha 2021-08-06 07:34:06 So either use v3.13, or build the version you need for v3.14 / edge yourself 2021-08-06 07:35:06 yeah ok 2021-08-06 07:35:57 will an edge to v13 downgrade problematic? 2021-08-06 07:36:03 or mostly fine 2021-08-06 07:36:29 Should work in most cases 2021-08-06 07:36:42 don't forget to add --available to the upgrade command 2021-08-06 07:37:04 yeah cool 2021-08-06 07:37:21 thanks for your help 2021-08-06 11:07:15 any suggestion for simple/not too much bloated/ photo/media viewer? 2021-08-06 11:09:13 eog? 2021-08-06 11:15:30 imv for images, mpv for video 2021-08-06 11:16:20 I will take a look thanks 2021-08-06 11:22:39 feh 2021-08-06 11:24:26 wow, looks very fast 2021-08-06 11:24:54 Yeah, feh as well, just has less of an UI 2021-08-06 11:25:38 I think that is exactly what I was looking 2021-08-06 11:49:00 mpv for images too :p 2021-08-06 11:49:29 Em, no 2021-08-06 12:28:14 "mpv is a competent video player and sufficiently lightweight to use comfortably to view images. It features advanced scaling algorithms and color management, which are key features in an image viewer." 2021-08-06 12:30:21 uhM, comparing it with feh, the image switch is noticeably faster 2021-08-06 12:30:50 see e.g. http://www.ericbrasseur.org/gamma.html 2021-08-06 12:31:28 also https://haasn.dev/posts/2016-12-25-falsehoods-programmers-believe-about-%5Bvideo-stuff%5D.html 2021-08-06 12:31:53 uhM, it seems interestin but I not very worried about photo quality 2021-08-06 12:33:12 I just did a backup of my phone yesterday and I feel that I need to delete tons of trash :D 2021-08-06 13:00:00 In this file, what expands '@VERSION@' ? 2021-08-06 13:00:03 https://gitlab.alpinelinux.org/alpine/mkinitfs/-/blob/master/initramfs-init.in#L4 2021-08-06 13:08:36 https://gitlab.alpinelinux.org/alpine/mkinitfs/-/blob/master/Makefile#L122 2021-08-06 13:11:06 thx 2021-08-06 13:24:02 Greetinsg, what is the proper way to autostart openbox in alpine which runs on qemu with virtio gpu? 2021-08-06 13:48:18 probably best way is to configure /etc/inittab for autologin, then set up ~/.profile 2021-08-06 13:54:51 there is also qemu-openrc 2021-08-06 14:05:07 any tutorials? 2021-08-06 14:06:57 https://github.com/jirutka/qemu-openrc 2021-08-06 14:10:57 wait how does installing qemu in alpine will help me auto start openbox? 2021-08-06 14:12:05 You said it runs on qemu? 2021-08-06 14:12:26 Or do you mean that you want it to automatically start in a qemu vm? 2021-08-06 14:12:36 my alpine is a guest inside qemu 2021-08-06 14:13:23 uhM 2021-08-06 14:13:38 maybe tinydm is what you need 2021-08-06 14:14:36 it auto starts the desktop that you want 2021-08-06 14:16:15 it failed starting, where can I find the log? 2021-08-06 14:16:29 what failed? the tinydm? 2021-08-06 14:17:01 yes 2021-08-06 14:17:10 you have to set up a session 2021-08-06 14:17:13 e.g. tinydm-set-session -s /usr/share/wayland-sessions/sway.desktop 2021-08-06 14:18:11 if you don't set a specify user it will log with uid 1000 2021-08-06 14:18:43 I have no /usr/share/wayland-sessions/, what pkg I need? 2021-08-06 14:18:55 well openbox is X11 2021-08-06 14:19:10 uhM 2021-08-06 14:19:31 lool at 2021-08-06 14:19:36 /usr/share/applications/openbox.desktop 2021-08-06 14:19:38 ? 2021-08-06 14:19:42 look at* /usr/share/xsessions 2021-08-06 14:19:46 isn't openbox dead: https://github.com/danakj/openbox ? 2021-08-06 14:20:04 https://pkgs.alpinelinux.org/contents?file=*.desktop&path=&name=openbox&branch=edge&repo=community&arch=ppc64le 2021-08-06 14:20:09 /usr/share/xsessions/openbox.desktop 2021-08-06 14:20:43 and maybe you have to enable tinydm service too: rc-update add tinydm 2021-08-06 14:21:24 I've set it and it still fails 2021-08-06 14:21:49 I need a lightweight X env so I can run virt-manager using x11 forwarding 2021-08-06 14:22:16 but is openbox manually working? 2021-08-06 14:22:33 nope 2021-08-06 14:22:36 X runs 2021-08-06 14:22:44 id I start it 2021-08-06 14:23:05 but I see black screen 2021-08-06 14:24:35 check Xorg.log 2021-08-06 14:24:50 but probably there are better alternatives 2021-08-06 14:24:52 I see no errors 2021-08-06 14:25:02 as jvoisin openbox seems unmaintained 2021-08-06 14:25:18 can you suggest and anlernative? 2021-08-06 14:25:50 there are tons of window managers 2021-08-06 14:25:58 uhM, I'm using sway but it's a tiled dekstop 2021-08-06 14:26:41 I need a simple one, no fancy things, just enough for x11 forwarding to work 2021-08-06 14:27:50 awesomewm is simple 2021-08-06 14:28:12 although, it's mostly keyboard driven :) 2021-08-06 14:28:23 is it also tiled? 2021-08-06 14:28:27 will try 2021-08-06 14:29:02 yes, it's tiled 2021-08-06 14:29:27 But I start it without a dm, just startx 2021-08-06 14:31:00 what does openbox have to do with virt-manager and x11 forwarding 2021-08-06 14:31:24 yeah probably you are ok just starting x 2021-08-06 14:31:40 Hello71, I get connection refused when I try to start virt-manager using ssh -Y 2021-08-06 14:32:01 so I assumed it needs X operational o nthe server side 2021-08-06 14:32:16 start virt-manager using ssh -Y? 2021-08-06 14:32:19 you want to run nested kvm? 2021-08-06 14:32:44 why do i get the feeling that you think that virt-manager is run in the guest for integration 2021-08-06 14:32:52 ssh without -Y is working fine? 2021-08-06 14:32:54 and it's system://qemu connection refused 2021-08-06 14:33:22 Hello71, no, my home server runs vms and I got to an instance I need to configure a new one, as my main system cannot install virt-manager I thought of using alpine inside vm to run it 2021-08-06 14:34:39 but it won't manage the host libvirt? 2021-08-06 14:35:07 did you actually try starting openbox manually before trying to start it automatically 2021-08-06 14:35:11 Hello71, you can define a remote host using ssh to manage 2021-08-06 14:35:24 but... why 2021-08-06 14:35:26 Hello71, yes, it didn't started 2021-08-06 14:35:34 ACTION bails 2021-08-06 14:35:59 because I need to create a new vm and using virsh is too complicated 2021-08-06 14:36:09 daggs1: what is yhe poblem with your vm host and virt-manager? it runs headless? 2021-08-06 14:37:14 I think it in any case it would be simpler to run virt-manager in your desktop and connect to your libvirt with ssh 2021-08-06 14:38:32 donoban, kinda, the screen is used for streamer vm and since a system upgrade, it stopped working. as I've exhausted all the standard help channels, I'm trying to build the vm's config from scratch to try and restore it. problem is, the virsh way is too complicated 2021-08-06 14:39:12 donoban, I cannot, it requires a couple of libs I've marked as N/A on my system so I'm trying to go around it 2021-08-06 14:40:33 uhM, you can't install it on your desktop? can you create a vm on your desktop for running it? 2021-08-06 14:41:07 donoban, that is what I'm trying to do, I've installed alpine in that vm 2021-08-06 14:41:10 if you want the fast way for get working virt-manager 2021-08-06 14:42:07 fast way? 2021-08-06 14:42:19 well, try with another desktop, lxqt-desktop or xfce 2021-08-06 14:42:36 when you have it working you can try to minimize it 2021-08-06 14:42:52 that is what I'm trying to do 2021-08-06 14:43:00 well, your primary need is to get virt-manager working regardless it automcailyl loads on startup? 2021-08-06 14:43:32 so first try to run virt-manager on the VM, test it connects properly to your libvirt host 2021-08-06 14:43:38 and then try with ssh -Y... 2021-08-06 14:44:33 donoban, for that I need get an actual desktop env runnung 2021-08-06 14:45:04 try some desktop setup from the wiki 2021-08-06 14:45:55 https://wiki.alpinelinux.org/wiki/Xfce_Setup 2021-08-06 14:46:54 xfce worked, thanks 2021-08-06 14:49:09 great 2021-08-06 14:50:08 I'll keep it like this, no -Y shananigan 2021-08-06 14:50:46 does it connect properly to your host? 2021-08-06 14:51:13 not yet, I need to set it up on the server, that I'll to later 2021-08-06 14:51:27 ok gl 2021-08-06 14:51:56 thanks, hopefully I'm one step closer to restore my streamer vm 2021-08-06 14:56:47 hi 2021-08-06 15:54:10 grmbl, there is no way to override nginx' custom memory allocator 2021-08-06 15:54:17 I wanted to use musl's one :'( 2021-08-06 16:10:20 Does it have one? 2021-08-06 16:12:49 It seems to be using normal malloc/calloc under a bunch of wrappers 2021-08-06 17:34:39 anybody got unity games to run without an arch chroot? 2021-08-06 19:43:20 Does the default alpine linux kernel have the UEFI shim enabled? 2021-08-06 19:44:59 Because I was trying to figure out how to add alpine to refind 2021-08-06 19:45:47 https://git.alpinelinux.org/aports/tree/main/linux-lts/config-lts.x86_64#n449 2021-08-06 19:46:15 i think refind also supports the traditional protocol 2021-08-06 19:47:47 What do you mean by traditional protocol 2021-08-06 19:47:55 direct kernel boot? 2021-08-06 19:50:36 os kernel must support some "boot protocol" for the system to invoke it: here is the memory, these are the connected devices, etc 2021-08-06 19:51:05 in olden days, linux was invoked from lilo using a linux-specific protocol. then grub inherited that 2021-08-06 19:51:29 aiui linux can also be invoked on efi using this linux-specific method 2021-08-06 19:51:37 ACTION has never been linux 2021-08-06 19:51:59 linux also supports being invoked directly from efi, e.g. from efi shell 2021-08-06 19:52:05 invoked: what about from lilo 2021-08-06 20:07:03 there was very good article series on lwn.net written by Linus Waleij about booting on arm32 which explains all these 2021-08-06 20:07:20 but I don't have url now 2021-08-06 20:09:09 ddg helped https://people.kernel.org/linusw/how-the-arm32-kernel-starts :) 2021-08-06 20:09:39 https://people.kernel.org/linusw/how-the-arm32-linux-kernel-decompresses 2021-08-06 20:15:49 does refind support arm32? 2021-08-06 20:17:30 I don't know much about refind, but I boot armv7 in qemu using efi bios and grub-efi 2021-08-06 20:44:16 hi, i'm trying to build a toolchain using the aports repo, targeting aarch64. i believe it's intended that i run scripts/bootstrap.sh in order to do this, but i can't find any official documentation regarding this. my main question is, what's the standard method used to make the aarch64 musl toolchain? i already have an alpine chroot environment to work in 2021-08-06 20:48:55 right, scripts/bootstrap.sh is the 'tool' for this 2021-08-06 20:52:16 have you considered mcm 2021-08-06 20:56:11 alright, then my second question is with an error i get after running this. it seems to build gcc just fine, but fails at "build-base-aarch64", with "ERROR: unable to select packages: libstdc++-10.3.1_git20210424-r2: breaks: g++-aarch64-10.3.1_git20210625-r0" (truncated a bit) i've tried both the 3.14 and 3.13 branch of aports and both fail this same way, and i'm using a chroot made by the script in this repo: https://github.com/a 2021-08-06 20:56:47 and i can put the full message in a paste if you want 2021-08-06 20:58:29 unfortunately i can't really figure out the meaning behind this message, as i'm not familiar enough with alpine's package manager and this method that seems to work just fine for others building the toolchain 2021-08-06 21:00:13 I can't help because I don't have much experience with bootstrap script 2021-08-06 21:00:45 but from the memory, usually some packages missing 2021-08-06 21:05:33 https://github.com/a? 2021-08-06 21:06:00 i recall Ariadne said that bootstrap.sh is in practice only supported on edge 2021-08-06 21:06:25 correct, it's an internal tool 2021-08-06 21:07:31 you have to be on edge to use it, and only run bootstrap.sh from master 2021-08-06 21:08:09 er, i meant master 2021-08-06 21:08:49 ah ok, i'll try running from edge and on master 2021-08-06 21:08:53 we really should rename master to edge :p 2021-08-06 21:09:42 even ignoring "social justice" issues it just makes more sense 2021-08-06 21:10:01 or rename edge to master, but i suspect that will be less popular 2021-08-06 21:14:42 Is it even possible to rename a remote branch without having to specify the new location in your local clone? 2021-08-06 21:33:16 huh? 2021-08-06 21:33:21 also, [m][m]? 2021-08-06 21:33:50 matrixception 2021-08-06 21:37:43 found it funny :-) 2021-08-06 21:41:47 whats wrong with 'edge'. we all are accustomed to it. change for chabge? 2021-08-06 21:43:44 i mean it's confusing that 3.13-stable is 3.13, 3.14-stable is 3.14, all makes sense, but then master is edge 2021-08-06 21:43:59 i think ncopa said he thought it was good idea to rename it 2021-08-06 21:45:03 hmm, you mean git branch 2021-08-06 21:45:35 yes 2021-08-06 21:45:57 I don't mind renaming it to edge, and ncopa mentioned it as an option as well 2021-08-06 21:45:57 but renaming edge release name to master would be confusing, I think 2021-08-06 21:46:36 i agree 2021-08-06 21:46:37 ah, you want to rename git master branch to edge 2021-08-06 21:46:43 yes 2021-08-06 21:47:04 I don't think this is good idea 2021-08-06 21:47:12 why it is confusing 2021-08-06 21:48:08 I think we all have ingrained meaning of these names, renaming will lead to confusion 2021-08-06 22:00:54 i ran the bootstrap script, and it seemed to be working for a while more (after installing texlive, which i did not have), until it got to libgnat in gcc, at which point it failed with the error: "/usr/lib/gcc/aarch64-alpine-linux-musl/10.3.1/adalib/libgnat.a: error adding symbols: file in wrong format", and i again do not have the necessary expertise to know why this might be. 2021-08-06 22:01:30 i did see in some irc logs that this issue existed before for powerpc, and i could send the specific log and the commit they mentioned 2021-08-06 23:55:54 alpi, add your stuff to #12898 2021-08-07 00:02:25 Hello, sorry the noob question, but I'm having a problem starting xorg. these messages appear: 2021-08-07 00:02:26 failed back to old probe method for modesetting 2021-08-07 00:02:26 failed back to old probe method for fbdev 2021-08-07 00:21:49 post whole xorg log 2021-08-07 00:22:18 you've not even copied the wrong messages right 2021-08-07 00:22:34 http://ix.io/ 2021-08-07 00:45:42 Hello71: https://bin.disroot.org/?a99b7e6c14ada516#HD1sJZBDFYbtJSApen59G7zmESxYtjFznDAZhcohjJgY 2021-08-07 00:46:11 Sorry, I didn't understand this http://ix.io/ 2021-08-07 00:49:07 no javascript pastebins pls :| 2021-08-07 00:49:30 you've got the Aborted problem that i don't know how to fix 2021-08-07 00:52:59 Hi! 2021-08-07 00:57:49 Hii! 2021-08-07 00:58:30 Is there a package for the gnu info stand-alone software? 2021-08-07 01:00:11 Augustogn21[m]: need a backtrace 2021-08-07 01:00:29 rubynt: https://pkgs.alpinelinux.org/contents?file=info&path=%2Fusr%2Fbin&name=&branch=edge 2021-08-07 01:01:10 Thank you! 2021-08-07 01:01:57 Hello71: What is a backtrace? 2021-08-07 01:02:16 Augustogn21[m]: https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces 2021-08-07 01:02:31 some parts are not applicable to alpine linux, e.g. /etc/security/limits.conf 2021-08-07 01:02:35 but overall is correct 2021-08-07 01:05:04 Ok. Thanks! 2021-08-07 01:08:11 for xorg if you run gdb xorg directly it either won't work or you'll hang the system 2021-08-07 01:08:17 so you need to do ulimit -c unlimited; startx 2021-08-07 01:08:28 then gdb -ex bt Xorg core.* 2021-08-07 01:08:31 or something along those lines 2021-08-07 01:09:38 Augustogn21[m]: actually first uninstall xf86-video-ati 2021-08-07 08:36:57 wow, about 50 hours in and I have finally got my VM server running properly with alpine! 2021-08-07 08:37:03 that was a mission 2021-08-07 08:39:25 next time it will take you 1hour 2021-08-07 08:39:32 yep :) 2021-08-07 08:41:36 its so nice running from ram, can just pull the stick out and make a backup of it, and use the computers storage just for virtual machine images 2021-08-07 08:41:53 i really love the way alpine works 2021-08-07 08:46:56 I have one final thing to think about, when I add VM's to libvirt, I have to remember to do a lbu commit to save changes... im not sure if i should mount /etc/libvirt as a NFS share to my NAS, or somehow tell libvirt to run a lbu commit after changing configuration 2021-08-07 13:12:10 Hi! A question about cloid-init in the standard apline linux aws image: cloud-init is not installed by default, right? What is the recommended way to pass any commands inside a alpine linux aws machine? 2021-08-07 13:14:16 perhaps ask in #alpine-clou 2021-08-07 13:14:20 #alpine-cloud 2021-08-07 13:16:30 I will try but there are not so many people there; just 7 or 8 2021-08-07 13:16:54 You don't need 309 people 2021-08-07 13:16:56 you just need 1 2021-08-07 13:17:19 Yes, agree, but the chances that you will find this one among 309 is higher :) 2021-08-07 13:17:22 And in that channel are the people who maintain the aws images 2021-08-07 13:17:52 Let's see. I already asked the question, maybe they will help 2021-08-07 13:19:05 Another interesting thing: if you instann cloud-init manually, you will get the message: "You may also want to read file /usr/share/doc/cloud-init/README.Alpine" but the file does not exist 2021-08-07 13:20:44 and beside this, alpine linux is absolutely cool; I would like to use it everywhere 2021-08-07 13:25:50 Not sure if it's the same, but /etc/cloud/cloud.cfg.d/README does exist 2021-08-07 13:28:38 How can I check what package a file belongs to (dpkg -S // rpm -qf for apk) ? 2021-08-07 13:29:28 apk info -W 2021-08-07 13:29:41 No, I don't think it is the same; this is just a short readme file about the directory structure: 2021-08-07 13:29:52 `# All files with the '.cfg' extension in this directory will be read by` 2021-08-07 13:29:56 right 2021-08-07 13:30:14 ah, it's part of cloud-init-doic 2021-08-07 13:30:19 cloud-init-doc 2021-08-07 13:30:28 apk info -W : yes, thank you, works like a charm 2021-08-07 13:31:20 and what is `dpkg -L // rpm -ql`? 2021-08-07 13:31:25 apk info -L 2021-08-07 13:31:33 I will add it to cheat.sh/apk 2021-08-07 13:31:48 check apk info -h 2021-08-07 13:32:20 i don't really see the point of these websites 2021-08-07 13:32:32 except for crappy proprietary software 2021-08-07 13:32:38 It is not a website 2021-08-07 13:33:22 It is for the terminal; I undestand your point: man contains everything, you don't need anything else 2021-08-07 13:33:43 but it is like a cache for the most used commands 2021-08-07 13:34:14 mostly used* 2021-08-07 13:34:48 + for programming languages too; you can find an answer for really complicated questions in a second, without leaving your terminal 2021-08-07 14:19:01 can we have the sha256 and gpg checksums on the web site served as text/plain please? 2021-08-07 15:41:21 uhM, do you mean iso's signatures? 2021-08-07 15:42:29 lopid: ^ 2021-08-07 15:43:41 yes 2021-08-07 15:44:01 like https://dl-cdn.alpinelinux.org/alpine/v3.14/releases/x86_64/alpine-standard-3.14.1-x86_64.iso.asc ? 2021-08-07 15:44:07 yep 2021-08-07 15:46:32 I don't know if you mean something different 2021-08-07 15:48:16 it's application/octet-stream, prompts me to save or open in another application. it's text, so i just want it to open in the browser 2021-08-07 15:49:30 ah I see, I don't know if there are strong reasons for change it 2021-08-07 15:50:01 Try again 2021-08-07 15:50:04 i don't know why it wouldn't be text/plain in the first place 2021-08-07 15:50:17 lopid: because nginx looks at the file extension 2021-08-07 15:50:51 and defaults to application/octet-stream for unknown extension 2021-08-07 15:50:55 extensions* 2021-08-07 15:51:12 fair enough, but annoying for the end user (me :)) 2021-08-07 15:51:34 yes 2021-08-07 15:51:37 I agree 2021-08-07 15:51:46 so I fixed it 2021-08-07 15:52:08 aha! 2021-08-07 15:52:16 that's great, thanks 2021-08-07 15:52:19 :) 2021-08-07 15:54:29 Just took me a while to figure out the correct place to fix it 2021-08-07 16:13:19 good catch 2021-08-07 19:02:23 hey, I believe the license for this package is incorrect: https://pkgs.alpinelinux.org/package/edge/community/aarch64/nodejs-less (should be Apache 2, not AGPL) 2021-08-07 19:02:44 what's the correct thing to do here? contact the maintainer? 2021-08-07 19:07:28 How can I add additional dependency for a service? I need to write openrc service to run between dmcrypt and localmount, what would be best way to express that? 2021-08-07 19:09:44 add 'after $servicename' and 'before $servicename' 2021-08-07 19:10:58 Oh, right, I can do it completely without touching dmcrypt or localmount; nice, thx :) 2021-08-07 19:15:18 graywolf: if the (multiple) filesystems are on the same device as rootfs then you could instead put them all inside a LUKS partition and during boot, as part of initramfs' init unlocking LUKS to get to rootfs you'd then have those other filesystems unlocked and could just have entries in /etc/fstab to then mount them 2021-08-07 19:15:25 fluix: open an issue on https://gitlab.alpinelinux.org/alpine/aports 2021-08-07 19:23:07 minimal: that is how I have swaps and root raid (2-device raid1), but here I need to unlock 10 data HDDs :) 2021-08-07 19:26:05 graywolf: 10? wow. Wouldn't it be simpler to do LUKS-on-LVM so LVM makes the drives look like 1 for LVM? 2021-08-07 19:27:51 minimal: Home NAS, let's just say data hoarding is a real illness :/ Hm, I've wanted to take advantage of how btrfs raid1 works (mirror blocks, not devices), I'm not sure if I can achieve the same with luks/lvm; Since I'm using that filesystem anyway, it made sense to use it for this as well imho. 2021-08-07 19:31:43 graywolf: "mirror blocks, not devices", I guess you could sort of do that perhaps by combining RAID with LVM LVs but not tried it 2021-08-07 21:35:05 if i have a local repository of packages I have compiled, if i put the url in my apk/repositories file, will it automatically use the package I have compiled over using the one provided by the mirror? or do i have to pin it? 2021-08-07 21:40:54 AFAIK it will use the package with the highest version number from any configured repository source (if not pinned) 2021-08-07 21:49:37 yeah, but if my package has the same version number as is in the mirrors, would it prioritise mirrors that are at the top of the repositories file? 2021-08-07 21:56:06 programmerq: hey man, I've seen in in the #docker channel in libera as well! 2021-08-07 21:56:34 people run alpine in the containers, but I run my containers in alpine! 2021-08-07 21:57:13 onelegend: we run alpine in containers on alpine :P 2021-08-07 22:01:19 Hi! I tried booting the extended x86 image from a cdrom and got this kernel panic directly on startup: "VFS Unable to mount root fs on unknown-block(0,0)" 2021-08-07 22:01:19 Is this error solved by building the fs-drivers for iso9960 inside the kernel (It's currently a module)? 2021-08-07 22:13:30 Skaface82: this sounds like hard to predict but you could bump pkgrel in APKBUILD when building the packages locally 2021-08-07 22:15:28 I don't know if it's due to order, but my personal experience is that when using apk upgrade -a, it will install packages that I've built locally 2021-08-07 22:16:55 i just ran apk policy on a package that i already installed, and the internet mirror was at the top, but then i apk del the package, re-ran apk policy and my local mirror was at the top 2021-08-07 22:17:40 so from what i can work out, it will always update the package from the mirror it was installed from, and if its not installed, it will install it from the mirror thats highest up in the repositories file 2021-08-07 22:17:59 Skaface82: --available changes this 2021-08-07 22:25:23 ah nice thanks 2021-08-07 23:57:07 onelegend▸ I run alpine on a few systems. 2021-08-08 00:05:32 programmerq: are you a maintainer? 2021-08-08 01:22:14 Hello when starting openvpn I'm getting `WARNING: openvpn has started, but is inactive`. Everything however seems to work fine. Any ideas 1. what is going on 2. how to make it stop printing the warning? 2021-08-08 06:01:52 graywolf: mines the same, I just ignore the message 2021-08-08 07:39:10 Hello, Alpine 2021-08-08 07:40:20 I have been struggling for days trying to get Alpine Linux (Guest) to run X11 at the correct resolution in Virtual Box 2021-08-08 07:42:15 I have the following packages installed 2021-08-08 07:42:16 https://termbin.com/6hnm 2021-08-08 07:42:29 which includes all of the guest additions 2021-08-08 07:42:47 I am trying to use DWM 2021-08-08 07:43:01 ( with no login manager) 2021-08-08 07:43:49 my .xinit looks like this 2021-08-08 07:43:51 $ cat .xinitrc 2021-08-08 07:43:52 exec dwm 2021-08-08 07:44:27 I would really appreciate any ideas! thanks 2021-08-08 07:45:07 does xrandr show the proper resolutions? 2021-08-08 07:45:22 $ lsmod | grep box 2021-08-08 07:45:22 vboxsf 36864 0 2021-08-08 07:45:22 vboxguest 45056 2 vboxsf 2021-08-08 07:45:31 ahh good question, let me try 2021-08-08 07:47:47 Ahh ikke 2021-08-08 07:47:52 you are a legend 2021-08-08 07:47:55 it does! 2021-08-08 07:48:09 and then running xrandr -s {resolution} 2021-08-08 07:48:13 resized 2021-08-08 07:49:04 Do yo have vbox-client running? 2021-08-08 07:49:30 sorry, how can I check ? 2021-08-08 07:49:41 If you do not start it, it's not running 2021-08-08 07:49:52 There is a system wide service and a user client 2021-08-08 07:50:34 virtualbox-guest-additions-x11 2021-08-08 07:50:56 virtualbox-guest-additions 2021-08-08 07:51:12 The former has VBoxClient, and the latter has VBoxServer 2021-08-08 07:51:19 VBoxService* 2021-08-08 07:52:16 gotcha, I have VBocClient and VBoxServer 2021-08-08 07:52:26 *VBoxClient 2021-08-08 07:53:16 should I run 2021-08-08 07:53:17 VBoxClient --vmsvga 2021-08-08 07:53:23 or VBoxClient --vmsvga -f 2021-08-08 07:53:29 for foreground ? 2021-08-08 07:53:37 You typically run it in the background 2021-08-08 07:55:08 its now running ( I believe) I ran: 2021-08-08 07:55:16 VBoxClient --vmsvga 2021-08-08 07:55:22 however, no change 2021-08-08 07:56:38 ikke: hi, could you help me a little bit? I'm trying to compile obs with "browser source" (based on cef) using this guide https://obsproject.com/wiki/Install-Instructions#linux-build-directions, but it fails at almost 30% (no errors, just stops). Without browser source the obs compiles fine. 2021-08-08 07:58:11 Looks like i need something to compile cef on alpine, but i dont understand what. 2021-08-08 07:58:41 Sorry, I don't really know myself either 2021-08-08 07:58:58 ikke is in demand! :D 2021-08-08 07:59:16 Ugh... 2021-08-08 08:04:48 Oh, looks like cef cant be so easly compiled. Just look at https://git.alpinelinux.org/aports/tree/community/chromium/APKBUILD 2021-08-08 08:06:51 You mean all the patches 2021-08-08 08:07:27 Yeah 2021-08-08 08:13:51 ikke: this may be a stupid question, but is it possible to use glibc instead of musl? 2021-08-08 08:14:57 not trivially 2021-08-08 08:15:16 maybe flatpak is a better option? 2021-08-08 08:16:16 I never use flatpack before, but its can help with this on alpine? 2021-08-08 08:16:58 It's like a chroot 2021-08-08 08:17:22 Hm. 2021-08-08 08:18:31 https://flathub.org/apps/details/com.obsproject.Studio 2021-08-08 11:18:31 jamesmstone: have you considered qemu 2021-08-08 11:42:17 Is wpe-webkit packaged in alpine? 2021-08-08 11:43:33 I can't find any package for it while libwpe and libwpebacked-fdo seem to be packaged whichh makes no sense to me 2021-08-08 11:45:00 for webkitgtk 2021-08-08 11:46:03 I assume that doesn't work with cog? 2021-08-08 12:00:34 I will look into cross compiling it on my laptop later I guess :/ 2021-08-08 12:01:41 There are a lot of upsides to using PostmarketOS on a phone but there are times when I wish I had something Debian or Arch based instead 😅 2021-08-08 13:39:32 Hi everybdoy 2021-08-08 13:42:40 It is possible to launch application like firefox with crontab. Because I made a script that create dir with cron it works but when I want to launch application that doesn't work 2021-08-08 13:43:33 the line */2 * * * * /usr/bin/firefox and firefox odesn't run 2021-08-08 13:47:04 and when i launch terminal with vim, it doesn' start 2021-08-08 13:47:25 * * * * * /usr/local/bin/st -e vim 2021-08-08 13:52:32 w 2021-08-08 14:25:04 What causes the boot media to fail to mount? 2021-08-08 14:26:00 (in a sys installation) 2021-08-08 14:27:49 Any specific error? 2021-08-08 14:28:05 No, just "Mounting boot media failed" 2021-08-08 14:28:13 not sure if there was some line I missed 2021-08-08 14:28:29 Did I forget to add the partition to /etc/fstab? 2021-08-08 14:28:44 what kind of disk 2021-08-08 14:29:39 an ssd, connected through nvme iirc 2021-08-08 14:29:54 For a sys install, you do not even need boot media 2021-08-08 14:30:34 Why would it try to mount the boot media? 2021-08-08 14:32:14 doesn't openrc print that for root? 2021-08-08 14:32:32 oh, no, that's an alpine thing 2021-08-08 14:32:54 did you remove the install media 2021-08-08 14:33:54 I have the bootable media still plugged in 2021-08-08 14:34:19 By the way, should I remove the floppy and cdrom entres 2021-08-08 14:37:44 from where? 2021-08-08 14:44:25 Should I remove the unneeded entries in /etc/fstab 2021-08-08 15:15:58 I asked for help here earlier, and I booted into alpine and got the kernel logs (which will hopefully help with finding the issue) 2021-08-08 15:16:01 https://transfer.sh/179Nhwp/dmesg.txt 2021-08-08 15:17:02 The ext4 log at the bottom is me mounting the alpine partition 2021-08-08 18:38:09 hi, i'm trying to get xorg up and running on a raspberry pi 3, aarch64. i followed the instructions here: https://wiki.alpinelinux.org/wiki/Raspberry_Pi and run setup-xorg-base then i added xf86-video-fbdev, but startx doesn't work, the screen turns black for a second then it's back on the tty. i cannot see the problem in the xorg logs either. only thing i see is xinit: connection to X server 2021-08-08 18:38:15 lost. only difference i may have, i'm using a touch display over dsi connector. any hints you guys may have? 2021-08-08 18:42:10 did you put anything in .xinitrc 2021-08-08 18:42:49 no, file does not exist. 2021-08-08 18:44:32 you need to select something to run 2021-08-08 18:47:00 alright, added fluxbox and it works :) i thought it would just start blank and i can open windows remotely on top, that's actually what i want to achieve in the end. 2021-08-08 18:53:57 ok, works as expected, a bit slow, but works :) thanks Hello71. 2021-08-08 18:54:27 normally for "minimal system" i think people run xterm 2021-08-08 18:54:56 not sure if there is a standard way to do nothing 2021-08-08 18:55:08 but 99.9% of time you want a wm anyways 2021-08-08 18:56:46 i will play around with it now that i know, i'm not used to this as i got always had a windows manager or a desktop environment running. i read a bit in the net and was misleaded by my misunderstanding that i can just startx and i'm good to go. 2021-08-08 18:58:27 yes, it would be nice if startx could explain this 2021-08-08 18:58:37 you may also consider sx instead as more lightweight alternative 2021-08-08 19:07:34 ok, i try some different things, thanks again for your hints and suggestions. 2021-08-08 19:17:12 yw 2021-08-09 09:40:03 hi, i just want to mention that setup-interfaces on my wlan device (raspberry pi) doesn't work as i would expect. i enter the ssid and the password if i look into wpa_supplicant.conf after that, my password is commented and a new random password is added. i thought it may be worth mentioning it. also im cmdline.txt after doing all the install steps there is a space missing after tty1. it looks 2021-08-09 09:40:10 like that modules=loop,squashfs,sd-mod,usb-storage quiet console=tty1root=/dev/mmcblk0p2. 2021-08-09 09:40:42 i'm using disk install, i forgot to mention 2021-08-09 10:11:31 Hey, I'm stuck at the screen after first boot. The screen picture is all to the left, meaning i can't see the text 2021-08-09 10:12:35 what picture? 2021-08-09 10:14:11 probably overscanned to the left so the screen doesnt have text on it 2021-08-09 10:14:13 or somesuch 2021-08-09 10:14:45 Thanks 2021-08-09 12:32:10 Hello, it didn't work out with the config-rpi hdmi_safe=1 2021-08-09 12:42:51 Hi, I was setting up Alpine Linux and while doing that I saw this guide: https://wiki.alpinelinux.org/wiki/ALSA . I thought of editing it (I imagine I would need to register to do so) to remove the alsaconf package (or maybe add it after, as optinal) as it is not really needed to set up ALSA and it brings with it Bash and other dependencies with it. I thought of checking here if that's a good idea 2021-08-09 12:48:16 pomiluy: sounds like a good change. Just mention it as an optional package they can install 2021-08-09 12:49:31 Fantastic. I understand that not all people want to avoid Bash but I liked Alpine partially because I wanted to avoid bloat :) (Love it so far) 2021-08-09 13:10:48 Is there an Alpine setup guide in sys disk mode, which does not create swap and or boot partitions separately? It would be an advantage for VPS images imo. 2021-08-09 13:11:24 I know how to do it manually in theory, copying the set up system to another disk, with different partitions, but is there a ready made one? 2021-08-09 13:11:59 Also, why put swap in p2? Spinning disk advantage for it to be there and not at the end? 2021-08-09 13:12:39 user____: export SWAPSIZE=0, or similar 2021-08-09 13:12:52 before starting setup-alpine 2021-08-09 13:13:23 read https://docs.alpinelinux.org installation part 2021-08-09 13:43:55 Hello. How do i fix screen settings in /boot/config-rpi4 i use micro hdmi to hdmi and hdmi to vga adapter 2021-08-09 13:47:58 The screen is quad to the the left 2021-08-09 13:48:38 I've tried hdmi_safe=1 or overscan_left=540 2021-08-09 13:50:08 config-rpi4 is kernel config, so config.txt? =) #raspberrypi people on libera could have use case 2021-08-09 13:51:32 what is "quad to the the left" 2021-08-09 13:51:57 Can you like me to Librea 2021-08-09 13:53:31 What type of wiki/markdown is used on https://docs.alpinelinux.org/user-handbook/0.1a/Installing/manual.html ? I like the "note numbers" in code. 2021-08-09 13:55:30 user____: #alpine-docs 2021-08-09 13:55:37 Didn't work out. I think it would be better to run Raspbian and then alpine inside lxc/lxd 2021-08-09 13:56:08 That will slow it down a lot, no? 2021-08-09 13:56:27 yes but not because of lxc/lxd 2021-08-09 14:02:47 I would like alpine to be rootfs 2021-08-09 14:03:09 Isn't there a guide for migrating from debian to alpine ? 2021-08-09 14:03:22 reinstall 2021-08-09 14:23:36 you can install alpine over debian if you scribble over your disk with alpine media, but this assumes you don't care about data. 2021-08-09 15:15:20 i don't know why alpine-standard-3.14.1-x86_64.iso doesn't boot via ventoy on my laptop. void and linux mint do 2021-08-09 15:15:53 choose alpine, screen goes blank with a blinking cursor in the top left 2021-08-09 15:19:39 ventoy does really weird things 2021-08-09 15:19:41 ask them 2021-08-09 15:24:48 I also had trouble booting alpine-3.14.1-extended amd .iso in quemu, same display as lopid said, blank black screen, blinking cursor, won't boot even after waiting or pressing enter. Cursor moves when pressing enter or tab 2021-08-09 15:25:35 I fixed it by passing -vga cirrus and -noacpi and other params to qemu, but other images do not need this to boot. 2021-08-09 15:26:39 Also suggest limiting the display setting to maximum resolution during boot in the server-console .iso's, they cause trouble with emulators and vnc sessions at boot time. 2021-08-09 15:27:16 -nographic is the right option 2021-08-09 15:27:18 rephrased: make the system not select 128x60 or whatever it can find in VGA settings, keep it more conservative 2021-08-09 15:27:32 -nographic also causes trouble of different kinds. 2021-08-09 15:27:46 also -vga none etc. 2021-08-09 15:29:01 just tried again: -nographic causes the black screen with white cursor, not moving issue 2021-08-09 15:29:06 -sdl option? 2021-08-09 15:29:27 what is your host OS? 2021-08-09 15:30:02 devuan/debian linux on amd64 2021-08-09 15:30:21 Beowulf if it matters. Debian 10 equivalent. 2021-08-09 15:30:26 seems ok in virtualbox, fwiw 2021-08-09 15:31:04 I don't know why, but I found the hard way, that alpine and some bsds (netbsd tried last?) need extra options for qemu to run them 2021-08-09 15:31:28 this is how I run aarch64 in qemu, https://arvanta.net/alpine/install-aarch64-qemu/ 2021-08-09 15:31:32 vbox would run it yes, but some people need it on bare metal/no vga 2021-08-09 15:32:07 cortex_a57 is arm 2021-08-09 15:32:50 Thanks for sharing that anyway, useful. 2021-08-09 15:32:54 yes, arm64 2021-08-09 15:33:34 useful but outdated, should refresh it with current release 2021-08-09 15:33:35 What board is that anyway? 2021-08-09 15:33:50 Some RPi/etc? 2021-08-09 15:34:09 it is not board, it is virtual machine 2021-08-09 15:34:34 I thought you set up the vm in preparation for using the image on a real board. 2021-08-09 15:34:51 we have 'slimmed down' kernels for running in VMs 2021-08-09 15:35:28 I think it's not the kernel, it's boot time BIOS emulation in qemu that has disagreements with the boot loader. 2021-08-09 15:35:47 The problem occurs at a very early stage. 2021-08-09 15:35:58 https://arvanta.net/alpine/install-alpine-on-acer-r13-chromebook/ this is how to install alpine on real box, acer r13 chromebook in this example 2021-08-09 15:36:21 it is arm64 2021-08-09 15:37:19 Neat. 2021-08-09 15:38:58 Is there a place in the wiki/docs where using install scripts is described more? Esp. env vars and such? 2021-08-09 15:45:04 docs.alpinelinux.org 2021-08-09 15:48:53 I know I asked for help yesterday but I have more info now 2021-08-09 15:48:54 https://unix.stackexchange.com/questions/663834/alpine-linux-mounting-boot-media-failed 2021-08-09 15:49:13 0;87;63m 2021-08-09 15:49:20 sorry about that 2021-08-09 15:54:11 don't make me save text files(!) 2021-08-09 15:55:49 https://gitlab.alpinelinux.org/alpine/aports/-/issues/12802 2021-08-09 16:05:16 use termpaste instead 2021-08-09 16:05:34 termbin that is 2021-08-09 16:05:47 cat ~/some_file.txt | nc termbin.com 9999 2021-08-09 16:07:27 mps I asked about the markdown/wiki system used, I like the (1) thing in code blocks then explained below next to another (1). Is that some specific markup system or is it just manual special (unicode) char insertion? 2021-08-09 16:07:59 user____: I have configs and docs for creating and running Alpine images for QEMU and Virtualbox in my script: https://github.com/dermotbradley/create-alpine-disk-image 2021-08-09 16:08:04 U+2460 ? 2021-08-09 16:09:54 aka HTML ① 2021-08-09 16:12:17 minimal: got it, thanks 2021-08-09 16:14:05 user____: #alpine-docs channel 2021-08-09 16:49:12 @ikke that's for the cdrom, I'm having problems with a hard disk sys installation 2021-08-09 16:53:43 programmeruser: i think this issue means you have failed to set the "root" kernel parameter 2021-08-09 16:53:53 which is... confusing 2021-08-09 16:54:16 but shouldn't happen if you're using setup-disk normally 2021-08-09 16:57:11 well I setup refind like how the wiki says 2021-08-09 16:57:16 did I forget something? 2021-08-09 16:57:31 should I set my partition as my root 2021-08-09 16:57:36 that's what I'm guessing 2021-08-09 16:57:55 Yes, root= should be part of the kerne lcmdline 2021-08-09 16:57:58 programmeruser: are you installing to /dev/sda, /dev/sdb, or /dev/nvme0n1? 2021-08-09 16:58:38 I forgot to add root= to the refind config, going to do it later 2021-08-09 16:58:49 I'm installing to /dev/nvme0n1 2021-08-09 16:59:40 well there's your problem 2021-08-09 17:00:23 programmeruser: what does "lsblk --ascii --fs /dev/nvme0n1" show? 2021-08-09 17:00:28 it would have helped if you started out with that 2021-08-09 17:00:56 also have you added "nvme" to the FEATURES definition in /etc/mkinitfs/mkinitfs.conf? 2021-08-09 17:02:08 none of that is the problem. the only way you get "mounting boot media" is if you haven't specified root 2021-08-09 17:02:30 now, it still won't work if you didn't put nvme in FEATURES but that's a separate issue 2021-08-09 17:04:27 Hello71: was just trying to understand the extent of the problem(s) as there could be more than one :-) 2021-08-09 17:09:18 what is the default configuration? 2021-08-09 17:09:21 for mkinitfs 2021-08-09 17:11:17 whatever's in /etc/mkinitfs/mkinitfs.conf whenever the initramfs was built for the installation image :-) 2021-08-09 17:13:38 mps: thanks for the doc links. You could have said just antora.org :) but the rest is interesting too. 2021-08-09 17:20:30 programmeruser: looks like default features includes nvme: https://gitlab.alpinelinux.org/alpine/mkinitfs/-/blob/master/Makefile#L85 2021-08-09 17:20:50 thanks 2021-08-09 17:21:15 going to change the refind config later 2021-08-09 18:55:29 can samurai build ungoogled-chromium 2021-08-09 18:58:02 reading the aports tree it seems like i have to install ninja from source 2021-08-09 21:20:19 what is the recommended way to add a module to modloop? 2021-08-09 21:22:00 Hello71: I added the root= option and it worked perfectly, thanks 2021-08-09 21:49:54 Hello71++ 2021-08-09 21:50:14 jxy: download alpine-extended 2021-08-09 21:50:47 ... or run update-kernel or something, idk exactly 2021-08-09 21:51:41 modloop has support for an overlay 2021-08-09 21:52:12 hm, i forgot 2021-08-09 21:52:45 Set overlay_size in /etc/conf.d/modloop 2021-08-09 21:54:29 overlay_size=100M or something like that 2021-08-10 00:15:40 I'm troubleshooting a new install that fails after loading the initramfs with "mount: mounting /dev/ampper/vg0-root on /sysroot failed: No such file or directory", and I am trying to determine what the issue might be. I read on the wiki that I could be missing modules in /etc/mkinitfs/mkinitfs.conf, so I enabled all the features, re-ran mkinitfs, and still this problem is 2021-08-10 00:15:42 persisting. This is just speculation, but I am wondering if the features somehow aren't being applied, because when I enter the recovery shell, my /dev/nvme0n1 device doesn't appear at all (which contains the root filesystem), just /dev/sda (that's my install USB), because I thought it would appear with "nvme" feature on. Can anyone offer some tips to solve this? 2021-08-10 00:21:42 sorry, I accidentally quit weechat, but I am Guest3747 with the above question ^^^ 2021-08-10 01:39:28 lsmod | grep nvme 2021-08-10 02:10:52 Hello71: the module did not load on its own, as far as I can tell in the recovery shell, but it exists and "modprobe nvme" enables it manually 2021-08-10 02:11:14 however, I still cannot see an nvme device after modprobing 2021-08-10 02:12:27 what kind of computer do you have 2021-08-10 02:14:06 HP laptop, UEFI only boot, and the SSD is formatted GPT. I have one linux partition which is an LVM containing ext4 /boot and f2fs /, /home 2021-08-10 02:14:29 The bootloader is grub 2021-08-10 02:24:07 and you say it showed up fine with the install media? 2021-08-10 02:32:13 Hello71: yes, it worked perfectly, I installed everything into the LVM partition and grub is on the ESP 2021-08-10 02:32:25 check dmesg 2021-08-10 02:32:34 ok 2021-08-10 03:21:29 Hello71: I am not sure how I can get dmesg uploaded anywhere, but I looked through it manually and found maybe a few things of interest. "ACPI FADT declares the system doesn't support PCIe ASPM, so disable it". Another thing is that the kernel begins with "modules=sd-mod,usb-storage,f2fs", but no lvm or nvme. 2021-08-10 03:22:45 Also, I don't know if this is an issue or not, since I am new to LVM, but when I created the volume, I accessed the logical partitions like /dev/vg0/root and not /dev/mapper/vg0-root, as it seems to be looking for to mount. 2021-08-10 03:26:13 you could edit the grub/bootloader/whatever entry and add modules= on the cmdline yourself 2021-08-10 03:27:12 for grub you can put it in grub cmdline linux default in /etc/default/grub, its already filled in you just add more modules 2021-08-10 03:27:51 im guessing something forgot to put nvme,lvm in that list 2021-08-10 03:29:11 as for /dev/vg0/root i believe that is equivalent to mapper/vg0-root but im not sure, youll find out after 2021-08-10 03:46:33 ok, thanks, attempting now 2021-08-10 03:57:01 dont forget to rerun grub-mkconfig -o /boot/grub/default.cfg or whatever the file is 2021-08-10 03:57:36 grub.cfg but yeah 2021-08-10 06:50:00 veiviser: I put all the modules the install disk uses into GRUB_CMD_LINE_LINUX, but it looks like not all of them got loaded in the initramfs 2021-08-10 06:50:25 I think I have to make the initramfs have these modules, not the kernel, right? 2021-08-10 06:52:20 i think so yeah, but those should be loaded from the mkinitfs modules 2021-08-10 06:52:23 which you have enabled 2021-08-10 06:52:50 i assume features= has nvme and lvm in it 2021-08-10 06:53:53 yep, I already all enabled all the features from "mkinitfs -L" for good measure 2021-08-10 06:54:19 then sadly i dont know why something is missing :( sorry 2021-08-10 06:54:23 yet it doesn't seem to want to load "nvme" module, at least by default 2021-08-10 06:55:04 yeah, this is a doozy to solve :P 2021-08-10 06:55:32 'APPEND root=LABEL=rfs modules=sd-mod,usb-storage,ext4,f2fs rootfstype=f2fs rw' 2021-08-10 06:55:39 just example 2021-08-10 06:57:11 to make this a bit faster, is it possible to append boot params from the recovery shell? 2021-08-10 06:58:30 wait no, I think I can just edit the grub boot entries in grub 2021-08-10 07:04:57 just to rule this out as a problem, isn't the initramfs supposed to come before the kernel? because my GRUB entry has "linux /vmlilnuz-lts ..." appearing before "initrd /initramfs-lts" 2021-08-10 07:05:29 no 2021-08-10 07:05:37 so this is fine then? 2021-08-10 07:06:00 this order is not important 2021-08-10 07:06:28 bootloader will always first load kernel 2021-08-10 07:07:44 mps: with regard to the kernel params you sent, should I remove the overlapping root=/dev/mapper/vg0-root ? 2021-08-10 07:07:57 the one that is already present from grub 2021-08-10 07:08:18 the sent ones are an example 2021-08-10 07:08:27 aGuest3747: silly question, you did remake the initfs after you updated mkinitfs.conf right? 2021-08-10 07:10:13 aGuest3747: as veiviser says, this was just example, not what and how you shall set your 2021-08-10 07:10:22 this is what I ran: "chroot /mnt; mkinitfs -f $(ls /lib/modules)" where /mnt/etc/mkinitfs/mkinitfs.conf was the config file with all the features 2021-08-10 07:10:35 with /boot mounted and such 2021-08-10 07:11:27 I also checked the timestamp with ls -l just to be sure it was actually making a new one 2021-08-10 07:11:52 my example is from syslinux setup not grub (don't have grub example 'at the hand' right now) 2021-08-10 07:14:34 do you think switching to syslinux could help? I thought it was an issue with initramfs alone, since grub seems to be able to locate everything 2021-08-10 07:15:36 I was worried that UEFI isn't as well supported as bios, or is that a misconception? 2021-08-10 07:17:08 not from alpine from syslinux I mean 2021-08-10 07:26:11 if your board can use old bios boot then I would advice using syslinux 2021-08-10 07:26:55 but most newer boards 'insist' on using EFI and then using grub is easier to setup 2021-08-10 07:27:36 setting syslinux with EFI require some tweaking with 'hands' 2021-08-10 07:27:53 yep, I think I'm forced into uefi, there's no csm option in the bios 2021-08-10 07:29:48 quite a pickle 2021-08-10 07:30:23 I am not in a situation where I can just use the plain "setup-alpine", but do you know what that would have done given that bios boot seems impossible? 2021-08-10 07:30:34 maybe I can just try to replicate that 2021-08-10 07:32:26 grub works also fine 2021-08-10 07:33:16 but you have to find what options are needed in your case 2021-08-10 07:37:00 btw, first and foremost: remove 'quiet' from grub.cfg 2021-08-10 07:37:12 :) 2021-08-10 07:37:29 in all honesty it should not be the default 2021-08-10 07:37:40 'quiet' is for windows and similar OS users 2021-08-10 07:38:10 veiviser: most alpine devs agree that 'quiet' should be removed 2021-08-10 07:38:13 so they dont get scared seeing some text flash? 2021-08-10 07:38:14 i suppose 2021-08-10 07:38:37 yes, I think so 2021-08-10 07:41:29 but nowadays alpine achieved bureaucracy and I 'hate' to go through it to get 'quiet' removal as default 2021-08-10 07:43:39 hm 2021-08-10 07:44:10 perhaps i can offer you some headpats as payment for going through the rigorous bureaucratic process 2021-08-10 07:45:14 veiviser: thanks, but it is mostly that I don't like 'to feed ......' 2021-08-10 07:45:44 hah 2021-08-10 07:45:49 all good :) 2021-08-10 07:46:05 :) 2021-08-10 09:29:30 Is there a way to edit the cli in syslinux boot? I tried to edit the cli on the iso boot in a vm and it did not let me 2021-08-10 09:36:11 Hmm, reading syslinux docs, I think I know what happened, since this is a qemu vm. 2021-08-10 09:52:13 Speaking of quiet boot: quiet boot should display a spinning bar or similar throbber, as bsd does, to prevent the user from pushing the reset button, there are long "quiet spells" on the screen during slow platform bootup. 2021-08-10 09:54:42 The cli edit works, now that I moved the vm control keys off of the syslinux used control keys ... 2021-08-10 09:56:16 Newbie question: why is an initrd needed when alpine already runs on busybox as is, by default? Would it not have been sufficient to boot the initrd and stop there? 2021-08-10 09:58:49 the initrd is needed to initialize the system, like mounting rootfs. so it include things like device drivers for networking, filesystem and related. 2021-08-10 10:02:50 But why not put the whole system in it while at it? 2021-08-10 10:03:12 Because it's read-only? 2021-08-10 10:03:38 Yes, but overlay mount exists. Anyway, thanks for the answer. 2021-08-10 10:12:07 Note: I ran Slackware for years w/o initrd, after copying the relevant bits out from it, in the late 1990s, that's where the idea came from, fyi. 2021-08-10 10:12:31 Booted a little bit faster. 2021-08-10 10:13:10 user____: but for booting a system without initrd do you need a kernel with most of your hardware already built in? 2021-08-10 10:15:39 you need to have =y not =m set on things that are required for boot 2021-08-10 10:15:59 like the fs drivers, or the drivers to even see sata/nvme/etc disks 2021-08-10 10:16:02 right, so that would only work for custom built kernels 2021-08-10 10:16:04 yes 2021-08-10 10:20:31 or, well, it also works to just have a thicc ass kernel with everything of that builtin, but that is a bit of a joke in this context :p 2021-08-10 10:27:44 thanks veiviser, Hello71, mps, for your help, going to sleep rn but hopefully I can get alpine working later. I was able to install another distro the same exact way and got it to work, so at least I know the problem's tractable! :) 2021-08-10 11:43:51 user____: unless your hardware is really really slow, or you have built your kernel wrong, kernel init shouldn't take more than 10 seconds or so 2021-08-10 11:43:56 with the possible exception of spinning rust 2021-08-10 11:44:10 and SSS 2021-08-10 11:45:12 alpine *does* run from initramfs (not initrd anymore). on non-sys installs. 2021-08-10 11:45:24 except for the modloop. 2021-08-10 12:07:14 noted 2021-08-10 12:08:45 what's a preferred httpd+fcgi combination on Alpine? Lean is good, relatively simple low traffic but response time matters. 2021-08-10 12:13:24 nginx :p 2021-08-10 12:13:42 lighttpd perhaps? ... 2021-08-10 12:14:12 ime lighttpd config is even worse than nginx 2021-08-10 12:14:18 but honestly it doesnt really matter 2021-08-10 12:14:21 just use what you like 2021-08-10 12:14:32 I like thttpd. Because of the throttling. 2021-08-10 17:10:41 Hi. I just installed Alpine-generic-arm for the Bananapi. The process is fine provided one's using the u-boot/Bananapi/u-boot-sunxi-with-spl.bin embedded in the tarball. Yet the board keeps rebooting after some kernel panic "Internal error: Oops - undefined instruction: 0 [#1] SMP ARM". Any idea? 2021-08-10 17:13:15 foudubassan: which version of alpine 2021-08-10 17:13:37 and which kernel version 2021-08-10 17:13:55 Kernel 5.10.56-0-lts 2021-08-10 17:15:04 foudubassan: try to install linux-edge 2021-08-10 17:15:12 Unsure if that can cause anything, I used a script.bin generated from up-to-date sunxi-tools git and the boot.cmd is the one taken from Arch https://wiki.archlinux.org/title/Banana_Pi 2021-08-10 17:17:03 which bananapi version? old one or M1 2021-08-10 17:18:32 There is not alpine-uboot in https://dl-cdn.alpinelinux.org/alpine/edge/releases/armv7/.. Where can I find the edge version? 2021-08-10 17:19:28 M1 is the first one, so the old one :? 2021-08-10 17:21:09 https://dl-cdn.alpinelinux.org/alpine/edge/main/armv7/u-boot-leemaker-2021.07-r0.apk 2021-08-10 17:21:59 not sure with these modern naming. I have two old bananapis running alpine for about 3-4 years very fine 2021-08-10 17:22:05 It's an apk. How do I manipulate it to have either an img or a tar? -- new to Alpine... 2021-08-10 17:22:32 tar tvf filename.apk 2021-08-10 17:22:37 Sounds nice to me ^^ Running the edge version then? 2021-08-10 17:23:00 yes, stable release with kernel linux-edge 2021-08-10 17:28:42 syslinux update will just overwrite whatever I get working. Just wondering if this goal is even realistic before I keep investing more time into working towards it. 2021-08-10 17:28:42 I'm wondering if what I'm trying to do is possible and sensible. I'd like initramfs to run an executable that fetches a luk key from a server and then decrypts the primary partition. I've been searching around and seems initramfs-tools is a common approach. Doesn't seem to be available in the apk repositories, and I'm wondering if I manually download it and go this route, if the next 2021-08-10 17:30:10 re: sensible... fetching a key from a server doesn't seem sensible 2021-08-10 17:30:11 mps, "Internal error: Oops - undefined instruction: 0 [#1] SMP ARM 2021-08-10 17:30:11 " and rebooting in 120 sec 2021-08-10 17:30:48 I had nothing to do more than dd the usr/share/u-boot/Bananapi/u-boot-sunxi-with-spl.bin file? 2021-08-10 17:30:51 foudubassan: again, which kernel version 2021-08-10 17:31:16 you need seek option for dd 2021-08-10 17:31:27 I forgot exact params 2021-08-10 17:31:31 The exact same than before. Only U-Boot 2021.07 (Jul 09 2021 - 06:33:06 +0000) is different 2021-08-10 17:31:56 https://arvanta.net/alpine/armhf-setup/ 2021-08-10 17:32:07 Yes, these bs=1024 seek=8, that I used the first time to make things work. 2021-08-10 17:32:12 this is for armhf but could be used as a hint 2021-08-10 17:33:36 foudubassan: this is my old script to install alpine on bananapi https://tpaste.us/9PMP 2021-08-10 17:35:18 In theory, one can simply have 1 partition for sys install, and copy /boot/ into it, right? Will the scripts in initrd deal with this correctly without editing them? Stock scripts? 2021-08-10 17:35:49 Assuming the UUID is set right in syslinux.cfg / elinux.cfg 2021-08-10 17:36:24 The link https://arvanta.net/alpine/armhf-setup/ don't talk about u-boot or syslinux, so not useful I think here. I'll have a look at your script. At the moment, which kernel version and which u-boot version to you use? 2021-08-10 17:36:28 *extlinux.cpnf 2021-08-10 17:37:28 1 partition is what I use. 2021-08-10 17:37:31 I'm tested linux-edge (linux-lts last time tested about year ago) 2021-08-10 17:39:22 Is it possible to have a ls -l of your /boot? 2021-08-10 17:39:47 I wanna know if I need script.bin, boot.cmd and boot.scr in that case 2021-08-10 17:39:58 (using extlinux.conf I mean) 2021-08-10 17:40:05 I use extlinux.conf 2021-08-10 17:40:16 user__: unsure if you were replying to me; if so, I mounted the boot partition as /mnt/boot. after setup-disk it had some of the initial files there but it did not have anywhere I saw to put in boot scripts. searching around, I found alpine's mkinitfs on gitlab, but before I go exploring possibly editing this to a custom version: I read that alpine auto-updates the initramfs on each 2021-08-10 17:40:16 syslinux update, and so I don't know if my changes would be preserved. 2021-08-10 17:40:35 Guest3836: not to you 2021-08-10 17:40:49 k :) 2021-08-10 17:41:25 So aforementionned files are not needed then? 2021-08-10 17:42:43 foudubassan: I think that boot.scr is a compiled version of boot.cmd? 2021-08-10 17:42:56 And you use the edge u-boot 2021.07 + the embedded kernel 5.10.56-0-lts 2021-08-10 17:43:07 rexthor, it is, yes. 2021-08-10 17:44:03 foudubassan: I didn't tested latest u-boot 2021-08-10 17:44:16 maybe I did but forgot ;) 2021-08-10 17:44:41 mps, latest like git or latest like the edge one? :) 2021-08-10 17:45:02 latest alpine u-boot in edge 2021-08-10 17:45:27 mps, with the embedded kernel 5.10.56-0-lts? 2021-08-10 17:45:28 btw, I'm u-boot maintainer for alpine 2021-08-10 17:45:41 Nice to meet you ^^ 2021-08-10 17:46:06 no, I use linux-edge kernel from alpine (again I'm maintainer ;) ) 2021-08-10 17:46:13 :D 2021-08-10 17:46:23 well :D 2021-08-10 17:46:54 I'll check this one too, kernel and u-boot have to be correlated to work well -- hoping oops come from this... 2021-08-10 17:47:12 if I come to home early I will test new u-boot on bananapi 2021-08-10 17:48:22 Thx. Kernel is in installkernel-3.5-r1.apk? 2021-08-10 17:48:32 this oops could be from new u-boot or linux-lts 2021-08-10 17:49:04 no, linux-edge is in community repo 2021-08-10 17:49:23 linux-lts-5.10.57-r0.apk? 2021-08-10 17:49:37 Ah, community repo... Looking. 2021-08-10 17:49:44 linux-edge-5.13.8-r0 2021-08-10 17:52:25 I'll have to understand the difference, and get why there is a linux-lts in edge/main and linux-edge in edge/community :) 2021-08-10 17:54:41 linux-lts is Long Term Supported mainline kernel, while linux-edge is latest stable mainline kernel 2021-08-10 17:55:23 with alpine you best of them to select :) 2021-08-10 17:55:24 edge runs then by default with the lts kernel. Ok. 2021-08-10 17:55:57 in alpine releases linux-lts is default kernel 2021-08-10 17:56:25 but users can always add also linux-edge if they need new features 2021-08-10 17:56:43 (says someone who is against featurism :) ) 2021-08-10 17:59:44 mps, kernel-edge.apk is coming with modules. But I have no /lib on the SDCard. I do - mkdir -p /li/modules? 2021-08-10 18:00:05 foudubassan: also linux-lts have modules 2021-08-10 18:00:40 foudubassan: ah, you install in 'run-from-ram' mode? 2021-08-10 18:01:15 mps, I bsdtar the arm-generic to a SDCard, and try to make it work. 2021-08-10 18:01:38 The containt of the SDCard is: 2021-08-10 18:01:39 ahm, understand now 2021-08-10 18:01:52 alpine.apkovl.tar.gz 2021-08-10 18:01:52 apks 2021-08-10 18:01:52 boot 2021-08-10 18:01:52 extlinux 2021-08-10 18:01:52 efi 2021-08-10 18:01:53 lost+found 2021-08-10 18:01:55 u-boot 2021-08-10 18:03:01 -- which is a bit confusing, since there is also a grub/ directory in /boot 2021-08-10 18:03:50 + kernel-edge has no initramfs, normal? 2021-08-10 18:03:57 uhm, this shouldn't be there but I understand why it is there 2021-08-10 18:04:03 :) 2021-08-10 18:04:23 when you install linux-edge it triggers build of initramfs 2021-08-10 18:04:48 but only if you install alpine in 'sys' mode 2021-08-10 18:05:27 For that, I need to have already an Alpine running, and that's not the case :/ 2021-08-10 18:05:46 I did installation by hand.. 2021-08-10 18:07:28 I'll dare to say that putting alpine on SBCs need a lot of work 2021-08-10 18:07:47 till I create script and guide ;) 2021-08-10 18:08:46 one bananapi is on my desk waiting to find some time to do that 2021-08-10 18:09:31 and have to buy one olimex board to work with them 2021-08-10 18:10:28 It's quiet straightforward when you know the CLI to do things, and I more than willing to add a page on the wiki if I have the BPI running. Yet there is this kernel panic I'd like to get rid of. I don't understand from where it comes, which bother me -- no clue on where to lead 2021-08-10 18:11:20 foudubassan: give me few hours to test (when I come back home) 2021-08-10 18:11:25 Since there is not /lib on the SDCard, I can't use the kernel-edge.apk? 2021-08-10 18:11:46 foudubassan: this means you 'run-from-ram' mode 2021-08-10 18:13:46 Ok. Meaning I would have tar tar xzvf file alpine.apkovl.tar.gz, add and re-tar :? 2021-08-10 18:13:57 -tar +to 2021-08-10 18:14:52 someone who understand run-from-ram better than me should answer this 2021-08-10 18:15:02 :)) 2021-08-10 18:15:38 I don't like run-from-ram, prefer sys mode always 2021-08-10 18:16:19 mps, Note that there is no choice for someone installing Alpine on his arm soc (to my understanding) 2021-08-10 18:17:35 foudubassan: https://arvanta.net/alpine/install-alpine-on-acer-r13-chromebook/ 2021-08-10 18:18:09 this is for arm64 chromebook but you can see that a lot is possible with alpine 2021-08-10 18:19:28 Ahh, there is an equivalent to dboostrap. Meaning the mode can't be set at that moment? 2021-08-10 18:22:01 apk => This apk has coffee making abilities 2021-08-10 18:23:25 ;) 2021-08-10 18:39:11 foudubassan: just tested bananapi, works fine with latest alpine u-boot, with linux-lts and with linux-edge, in sys mode 2021-08-10 18:41:29 mps, Thx. Then 2 options: either my BPI has some bad memory somewhere, or it comes from the ram mode. Either case I have to try to install with the apk command which is not a gentoo ebuild... :) 2021-08-10 18:41:48 apk is a script, command, ..? 2021-08-10 18:42:50 no, apk is alpine linux package manager 2021-08-10 18:43:22 there is apk-tools-static version which can be run on other linux distros 2021-08-10 18:44:45 apk is like apt, but with deboostap embedded (or so I understood). Where can I get it? 2021-08-10 18:44:46 and I feel too tired now to start working on install script for arm32 SBCs 2021-08-10 18:45:09 mps, Thx dude, no worry. 2021-08-10 18:46:16 for x86_64 host here https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/apk-tools-static-2.12.7-r0.apk 2021-08-10 18:46:54 Argh, since .apk is a tar, I should have thought about it, sorry. Thx 2021-08-10 18:47:26 apk is not strictly tar but can be un-tar-ed 2021-08-10 18:48:27 There are additionnal fingerprints (or similar, that tar does not understand) 2021-08-10 18:48:32 -- my guess :) 2021-08-10 18:48:38 yes 2021-08-10 18:50:45 mps, I won't be able to use it tomorrow, but I'll get an eye after. Thx! 2021-08-10 18:51:29 foudubassan: yaw 2021-08-10 20:21:24 Despite having e2fsprogs I do not have resize2fs on my alpine machine, anyone knows why? 2021-08-10 20:22:55 e2fsprogs-extra 2021-08-10 20:22:58 https://pkgs.alpinelinux.org/contents?file=resize2fs&path=&name=&branch=edge 2021-08-10 20:27:11 Kerum[m]: apk add cmd:resize2fs 2021-08-10 20:27:42 clandmeter: that tends to confuse apk when upgrading, though 2021-08-10 20:28:06 apk search cmd:resize2fs 2021-08-10 20:28:15 :) 2021-08-10 20:28:40 i think it only fails when there are multiple provides? 2021-08-10 23:45:08 Hi all, sorry I have another question! 2021-08-10 23:45:08 I am trying to add sound 2021-08-10 23:45:08 and the very similar https://wiki.alpinelinux.org/wiki/ALSA 2021-08-10 23:45:08 I have followed this https://wiki.alpinelinux.org/wiki/Main_Page/Adding_sound 2021-08-10 23:45:08 but whenever I try to run alsamixer I get this: 2021-08-10 23:45:09 ``` 2021-08-10 23:45:09 ALSA lib confmisc.c:855:(parse_card) cannot find card '0' 2021-08-10 23:45:11 ALSA lib confmisc.c:422:(snd_func_concat) error evaluating strings 2021-08-10 23:45:11 ALSA lib conf.c:5111:(_snd_config_evaluate) function snd_func_card_inum returned error: No such file or directory 2021-08-10 23:45:13 ALSA lib conf.c:5111:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory 2021-08-10 23:45:13 ALSA lib confmisc.c:1334:(snd_func_refer) error evaluating name 2021-08-10 23:45:15 ALSA lib conf.c:5599:(snd_config_expand) Evaluate error: No such file or directory 2021-08-10 23:45:15 ALSA lib conf.c:5111:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory 2021-08-10 23:45:17 cannot open mixer: No such file or directory 2021-08-10 23:45:17 ALSA lib control.c:1481:(snd_ctl_open_noupdate) Invalid CTL default 2021-08-10 23:45:19 ``` 2021-08-10 23:45:24 https://termbin.com/3kuo 2021-08-10 23:45:46 any pointers / suggestions - thanks! 2021-08-10 23:48:13 it doesn't help if you post the pastebin *after* spamming 2021-08-10 23:48:46 did you log out and log in again 2021-08-10 23:49:53 sorry Hello, after thought the pastebin, yes I have logged out and in again after adding the groups - thanks 2021-08-10 23:50:41 I just tried ran cat /proc/asound/cards and got 2021-08-10 23:50:42 --- no soundcards --- 2021-08-10 23:50:44 do you actually have sound card installed 2021-08-10 23:50:48 yes well there's your problem 2021-08-10 23:51:11 sorry very new, how do I install a sound card? 2021-08-10 23:53:40 That's a hardware device you need to buy. 2021-08-10 23:54:04 (And attach to your computer via, for example, USB) 2021-08-10 23:54:15 You also need speakers. 2021-08-10 23:54:31 AFK; sleeping 2021-08-10 23:55:31 thanks, my laptop def has speakers though... am I just missing a package ? 2021-08-11 00:01:25 lspci will help you figure out wtf the sound chip even is 2021-08-11 00:01:35 from there you can move forward 2021-08-11 00:02:02 you will be able to at least know what kernel module must be inserted 2021-08-11 00:29:43 thanks 2021-08-11 00:32:49 sorry took me a while to install lspci 2021-08-11 00:32:51 00:1f.3 Multimedia audio controller: Intel Corporation Tiger Lake-H HD Audio Controller (rev 11) 2021-08-11 00:33:18 niw I just need to find the kernel module 2021-08-11 00:37:45 i think you need linux-edge 2021-08-11 00:37:57 tiger lake is very new 2021-08-11 00:39:24 thanks so apk add linux-edge 2021-08-11 00:42:28 installed and rebooted, sadly same cat /proc/asound/cards 2021-08-11 00:42:29 --- no soundcards --- 2021-08-11 00:42:48 you are using sys install? 2021-08-11 00:43:01 yep 2021-08-11 00:43:11 paste dmesg then 2021-08-11 00:43:19 termbin or ix.io are fine 2021-08-11 00:43:35 dmesg | nc termbin.com 9999 2021-08-11 00:43:40 https://termbin.com/x154 2021-08-11 00:44:44 having fun with networking are we? 2021-08-11 00:44:57 I think you might need some firwmare 2021-08-11 00:45:01 firmware* 2021-08-11 00:45:35 I am sure you are right 2021-08-11 00:46:05 wifi seems to work though... 2021-08-11 00:46:21 valerius: they already used termbin so i assumed they knew how to use it 2021-08-11 00:46:37 didn't see that immediately in the backlog 2021-08-11 00:46:37 hm, lots of errors there 2021-08-11 00:46:52 [ 3.746562] sof-audio-pci 0000:00:1f.3: Direct firmware load for intel/sof/sof-tgl-h.ri failed with error -2 2021-08-11 00:46:55 there's your problem 2021-08-11 00:47:25 i think we don't have sof-firmware packaged 2021-08-11 00:49:01 download https://github.com/thesofproject/sof-bin/releases/tag/v1.8 and then, uh... it should have sof-tgl-h.ri in it somewhere? 2021-08-11 00:49:27 ok will do 2021-08-11 00:50:02 at least according to https://archlinux.org/packages/extra/x86_64/sof-firmware/files/ 2021-08-11 00:50:04 I was just having a look at the rc.log and so another alsa error: 2021-08-11 00:50:05 https://termbin.com/gkqx 2021-08-11 00:50:11 prob related 2021-08-11 00:50:13 just shove the whole intel directory in /lib/firmware 2021-08-11 00:50:27 I will try what you are suggesting now 2021-08-11 00:50:33 well the alsactl issue is because the init script is poorly programmed 2021-08-11 00:51:05 for the network issue i think maybe you put something wrong in /etc/network/interfaces 2021-08-11 00:56:17 https://termbin.com/rqh6 2021-08-11 00:59:58 hm, not sure 2021-08-11 01:00:02 did you fix your sound? 2021-08-11 01:00:48 i think the question is where does this br-b83de726a90a come from and why are the devices always being renamed 2021-08-11 01:01:14 sorry still installing sound 2021-08-11 01:01:27 do I need to run their install scriopt 2021-08-11 01:01:44 or just mv as you suggest the intel dir to /lib/firmware 2021-08-11 01:03:15 what intel dir are you reffering to ? 2021-08-11 01:03:34 not sure exactly 2021-08-11 01:04:52 oh, there's an install.sh, maybe just run that 2021-08-11 01:06:51 running now 2021-08-11 01:06:58 I will now restart 2021-08-11 01:09:25 sound card exists 2021-08-11 01:09:36 alsamixer works 2021-08-11 01:09:47 thanks! 2021-08-11 01:11:35 what were you sating re br-b83de726a90a 2021-08-11 01:12:23 why does your dmesg have so much br-whatever spam at the bottom 2021-08-11 01:13:55 great question! no idea 2021-08-11 01:22:18 i mean, if your networking works, then... i guess it's fine? lol 2021-08-11 01:25:48 yeah, its working, see my termbins 2021-08-11 01:25:55 thanks for your help re sound! 2021-08-11 01:27:13 np 2021-08-11 01:27:20 we should get sof-firmware actually packaged 2021-08-11 01:27:25 so you actually get updates 2021-08-11 01:28:07 https://gitlab.alpinelinux.org/alpine/aports/-/issues/12909 2021-08-11 01:28:11 That would be great 2021-08-11 01:28:12 thanks 2021-08-11 01:31:40 i mean i'm not saying i'm actually going to *do* it 2021-08-11 01:31:50 maybe you can investigate and do it 2021-08-11 02:13:13 thanks, I wouldn't know where tobegin! 2021-08-11 02:14:15 I guess here https://wiki.alpinelinux.org/wiki/Alpine_Linux_package_management 2021-08-11 03:02:26 is it possible to run alpine with everything in ram except for /home and /var, and with local backup on /etc, and an image on man HDD? 2021-08-11 03:09:48 make a data install and then mount home in fstab? 2021-08-11 03:10:54 and use lbu to update fstab? 2021-08-11 03:13:39 and can I do this in a multiboot? 2021-08-11 03:35:14 have you tried it 2021-08-11 05:31:10 Looking at Alpine apk package build tools, abuild: how come almost everything is written in C, not in a scripting language? Interesting decision? 2021-08-11 05:33:06 abuild itself is shell scripts, but there are some helper tools in C 2021-08-11 05:33:13 one of the reason is that these are suid binaries 2021-08-11 05:33:16 reasons* 2021-08-11 05:33:29 hmm? Why suid? 2021-08-11 05:33:56 abuild-apk allows abuild to install packages (when the user is member of abuild) without being root 2021-08-11 05:35:27 abuild-tar.c, is well, umm. Okay, I understand the idea. 2021-08-11 05:36:52 Some things are just not possible or fainly painful using pure shell script 2021-08-11 05:37:00 very painful* 2021-08-11 05:37:35 More painful than 400 LOC C for abuild-tar.c plus pulling in OpenSSL as lib dep? 2021-08-11 05:39:51 yes 2021-08-11 06:21:01 ACTION votes for one liner pipes involving sha256 tar dd etc 2021-08-11 06:30:22 apk3 will have generating packages built-in 2021-08-11 06:30:38 but then it's no longer using tar 2021-08-11 06:34:11 Hey, go the whole hog, encrypt and sign packages like the big ones so no-one else can use the format for anything. (I was thinking of Cisco and others fwiw) 2021-08-11 07:01:53 we (alpine) are doomed already if I 'read' aports git log correctly, i.e. sdl2 'got' pipeware. now only systemd is missing 2021-08-11 07:19:27 pipewire is pretty good 2021-08-11 07:22:14 not for me 2021-08-11 07:23:51 some says that 'windows is pretty good' OS 2021-08-11 07:26:17 Some say perl is a pretty good language :P 2021-08-11 07:27:08 ikke: that 'some' is mps ;P 2021-08-11 07:27:52 and famous xkcd about perl and God :) 2021-08-11 07:29:14 https://xkcd.com/224/ 2021-08-11 07:34:56 more OT but perl being widespread doesn't make it good :P 2021-08-11 07:35:57 well, maybe, but sunlight is widespread also ;) 2021-08-11 07:37:10 only truly good programming lang is assembler, imo (beside forth on cpus where it is 'assembly' lang) 2021-08-11 08:32:15 perl :| 2021-08-11 08:33:00 at least it's not brainfsck. 2021-08-11 08:33:12 or whitespace 2021-08-11 08:34:24 and, frankly, I'd much rather write perl than shell, posix or otherwise. 2021-08-11 08:34:40 mps, you may be reluctant to "modern" technologies, but that's your opinion, that doesn't mean we must not include pipewire support where applicable 2021-08-11 08:35:03 "There are more useful systems developed in languages deemed awful than in languages praised for being beautiful--many more" Bjarne Stroustrup 2021-08-11 08:35:05 same for pulseaudio, if an audio library/app could have pulseaudio support, then it should be enabled as long it's the upstream default 2021-08-11 08:35:50 you mean crap^Wmodern 2021-08-11 08:36:29 one that does not need pulseaudio those days are people who have a unique desktop machine with a unique audio card 2021-08-11 08:36:38 pipewire seems like less shitty pulseaudio anyway, tbh 2021-08-11 08:36:48 Sheila: true 2021-08-11 08:36:52 but still 2021-08-11 08:38:21 there are a lot of people who need/want/like 'small, simple, correct, secure ....' than modern and problematic 2021-08-11 08:38:49 pulseaudio is far from being problematic in 2021 tbh. it's been a decade since I had a problem with it. I don't have issue with pipewire either 2021-08-11 08:39:17 pulseaudio is insecure, first 2021-08-11 08:39:39 just use gentoo and put -pulseaudio -pipewire and -allyourownpreferences then ;) 2021-08-11 08:40:00 well insecure... who runs pulseaudio on a server? 2021-08-11 08:40:00 and I expect same with pipewire though I didn't proved that yet 2021-08-11 08:40:03 The sound server architecture has *always* been vastly superior to ALSA's dmix, and the idea of multichannel mixers in hardware died long ago. 2021-08-11 08:40:47 It's unfortunate that having a good general-purpose one has taken so long on this platform but I'm hopeful it may finally be here. 2021-08-11 08:41:14 I don't want to go n'th time to repeat all this problems with PA 2021-08-11 08:41:28 well, even if pulseaudio gets killed at some point in favor of pipewire, we will still have jack or pipewire choice 2021-08-11 08:41:39 the Linux audio mess will never stop anyway 2021-08-11 08:41:58 markand: my understanding is that pipewire intends to support low-latency use cases as well. 2021-08-11 08:42:07 ACTION abandoned the idea of Linux MAO a long time ago now 2021-08-11 08:42:41 a lot of people are quite fine with pure alsa 2021-08-11 08:42:52 YMMV 2021-08-11 08:43:02 markand: also your ;) 2021-08-11 08:43:07 But in any case, even PA is fine now. It runs fine, on every system I've used it on, including those where typical applications simply cannot handle the weirdness of the hardware when they try to use ALSA. 2021-08-11 08:44:43 The only hiccups have been on big-endian systems but those have been worked around and wouldn't impact Alpine to begin with. 2021-08-11 08:48:53 pipewire is also the only way to get video recording on wayland for now, isnt it 2021-08-11 08:48:59 (though I will grant that when I was an ubuntu user and it was pushed without any notion of quality control it was by far the most annoying 'upgrade' I have ever experienced) 2021-08-11 08:51:38 veiviser: it's the only thing approaching a standard for the time being; compositors have their own approaches as well, which may be more or less palatable. 2021-08-11 08:52:06 yeah, we'll have to see where it goes 2021-08-11 08:52:12 also pipewire already works as a jack server 2021-08-11 08:52:16 the intending part is there 2021-08-11 08:52:32 the integration for the jack libraries depends on what the distro does, but it works 2021-08-11 08:52:51 it can also be a jack client and you can do everything through jack for the system too, weird stuff 2021-08-11 08:53:07 That's technically also possible with plain PA. 2021-08-11 08:53:21 yeah, although i havent heard of someone using that 2021-08-11 08:53:40 I've done it a few times but it was not worthwhile enough to keep it like that for general use 2021-08-11 08:53:47 haha 2021-08-11 08:53:56 you should give the pipewire-jack a try 2021-08-11 08:53:58 maybe it works 2021-08-11 08:54:03 it is being actively worked on 2021-08-11 08:57:18 (it works) 2021-08-11 08:57:51 (maybe) 2021-08-11 08:58:57 (nice to hear) 2021-08-11 08:59:19 (no it actually works, I've used it) 2021-08-11 09:33:44 hi guys, is there are a simple way for udchp renews lease when I swtich to different wifi network? I see that wpa_supplicant connects to it but I need to ifdown/up for getting a right ip address 2021-08-11 09:34:22 donoban: apk add iwd openresolv 2021-08-11 09:34:55 and read a little about iwd 2021-08-11 09:35:03 uhM, is openresolv need for it? 2021-08-11 09:35:30 yes if you want update dns 2021-08-11 09:36:08 I see that udchp has USR1/USR2 signals handling, maybe it could be used too 2021-08-11 09:36:53 yes, but iwd is a lot better (if your wifi card driver is not toooooo outdated) 2021-08-11 09:37:08 I'm reading the project website 2021-08-11 09:37:36 so all network stuff runs at kernel space? 2021-08-11 09:37:49 reconnect time with iwd is about 200msec usually 2021-08-11 09:38:00 wow 2021-08-11 09:38:06 let's try it :) 2021-08-11 09:38:08 thanks mps 2021-08-11 09:38:16 donoban: yaw 2021-08-11 10:31:01 good morning 2021-08-11 10:32:53 Congratulations to the project, great system, I'm using it on a machine that would be thrown away, lol 2021-08-11 10:33:08 nice 2021-08-11 10:34:22 A question, why is libreoffice at version 6 still ??? 2021-08-11 10:34:36 edsonwolf: there are issues upgrading it 2021-08-11 10:35:07 https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/11136 2021-08-11 10:36:57 ACTION contemplating throw away all machines ;) 2021-08-11 10:41:20 cool, thank you, @ikke 2021-08-11 10:45:24 The first time I formatted with lvm, then I went to shrink the partition and broke the system, I formatted it now in ext4, before I was using much less memory than now, before with firefox telegram I was using 1.1G, now it's using 2.1G. Does it have something to do??? 2021-08-11 11:14:19 I don't think so 2021-08-11 11:29:44 user_____, abuild being shell script is much simpler as APKBUILDs are also shell scripts 2021-08-11 11:30:09 basically it means we could just . APKBUILD && build (exagerated summary) 2021-08-11 11:30:36 markand: they argue the opposite way around 2021-08-11 11:30:57 They wonder why some parts are _not_ shell scripts 2021-08-11 11:31:01 aaaaah 2021-08-11 11:31:48 shell is slow 2021-08-11 13:32:47 building packages is fairly infrequently done. even systemd avoided doing that, so far! 2021-08-11 14:49:32 building no, installing yes 2021-08-11 14:49:54 systemd-buildd 2021-08-11 14:50:03 coming soon near you 2021-08-11 14:54:06 systemd updates quite often 2021-08-11 14:54:42 my favorite ones are the "well, we don't know why that was happening, but we hope this fixes it" 2021-08-11 14:56:07 (not a direct quote, but you know what i mean) 2021-08-11 14:56:41 systemd is sufficiently heavy that the people maintaining it are increasingly less sure how it works 2021-08-11 14:57:27 If systemd keeps up this way we will soon have systemd-linuxd 2021-08-11 14:58:30 Nah, it will be called just systemd. 2021-08-11 14:59:25 Another: did Alpine choose .apk as package file suffix before or after Android did the same. Searching for apk without alpine prepended leads to lots of Android related answers... 2021-08-11 14:59:34 yes 2021-08-11 14:59:36 before 2021-08-11 14:59:58 alp would have been nice, since format changed too. ALpine Package. 2021-08-11 15:02:31 android is switching to .aab 2021-08-11 15:02:49 so eventually those android related apk searches will drop off 2021-08-11 15:03:00 apks are still used, though 2021-08-11 15:03:30 sure, but *eventually*(TM) (patent pending) 2021-08-11 15:03:44 .com 2021-08-11 15:09:59 i mean, of course, this is assuming google play remains dominant (aab is entirely dependent on google... you might even say it's anticompetitive) 2021-08-11 15:10:43 if there's enough pushback, i'm assuming there will be some, apk will still be relevant for many years because, other stores. 2021-08-11 15:11:10 or those other stores will just do their own aabs. who knows 2021-08-11 15:11:12 android is a mess 2021-08-11 15:13:44 aab is probably the new apk format where developers hand over source to Google and they compile and distribute it. No, thanks. 2021-08-11 15:14:42 That also means that user developing build environments likely won't build apks for new enough sdk releases. 2021-08-11 15:14:44 user: so - folks might migrate to something like F-droid? 2021-08-11 15:14:59 rexthor: and compile with what, for what platform? 2021-08-11 15:15:24 user: just curious ... I'm very new to Android 2021-08-11 15:15:25 For now, devices do not "know" about the new format. Soon, soon. 2021-08-11 15:15:42 rexthor: Android is a walled garden with leaky walls. 2021-08-11 15:16:13 There's #android and #android-dev , I think they're on Libera irc now, used to be on freenode. 2021-08-11 15:16:33 freenode imploded rather quickly, it seems 2021-08-11 15:16:51 Yes. They scored a self-goal, in soccer terms. 2021-08-11 15:16:58 lol 2021-08-11 15:20:13 cocaine is a hell of a drug 2021-08-11 15:20:46 there seems to be ample amounts of it in this channel 2021-08-11 15:21:40 that was a leenode reference 2021-08-11 15:22:44 not to put too fine a point on it: andrew lee's former employees complained about his open cocaine abuse 2021-08-11 15:23:28 oh im aware 2021-08-11 15:23:39 its funny that its actually true 2021-08-11 15:23:45 for some time i thought it was just a shitpost 2021-08-11 15:25:13 it all makes sense, in context of recent events 2021-08-11 15:42:40 there are cocaine users that don't take over public irc networks… 2021-08-11 15:43:17 sorry if i inadvertently turned cocaine into the villain here and offended anybody /s 2021-08-11 15:44:49 ikke: now you can see why I left this channel some time ago, and I sorry for 'serious' alpine users questions I don't answer 2021-08-11 15:45:33 too much distractions 2021-08-11 15:53:03 opinions about opinions. alternatively, we have people complaining this channel is too quiet. 2021-08-11 18:39:19 You need #alpine-offtopic ... or -defocus 2021-08-11 18:45:28 uHM 2021-08-11 18:45:38 whats wrong 2021-08-11 18:46:52 Aug 11 19:39:57 localhost daemon.warn supervise-daemon[4771]: /usr/bin/autologin, pid 4772, exited with return code 0 2021-08-11 18:47:03 Aug 11 19:39:57 localhost daemon.info supervise-daemon[16209]: Child command line: /usr/bin/autologin donoban tinydm-run-session 2021-08-11 18:47:25 tinydm unlocked my system after suspend&resume :( 2021-08-11 18:48:07 it shouldn't be restarted if crashes 2021-08-11 18:59:25 #supervisor=supervise-daemon :| 2021-08-11 20:22:14 i am having issues making a C program on alpine: when i use gcc it fails at linking because of some missing symbols (even though -lSDL2 is specified) and when i use tcc it compiles, but when i try to run it with ./program ash says that ./program was not found, it works if i compile and link it manually it works but not with make, any idea? 2021-08-11 20:24:46 bit of a rollercoaster there. is ./program executable? 2021-08-11 20:26:35 it indeed is 2021-08-11 20:26:53 ldd program 2021-08-11 20:27:09 why does this sound suspiciously like cross compiling 2021-08-11 20:27:13 hmm 2021-08-11 20:27:19 for some reason it links to arm musl 2021-08-11 20:28:09 this is odd 2021-08-11 20:28:45 the manually compiled one links to i386 musl as it should 2021-08-11 20:29:14 check what make is doing then 2021-08-11 20:29:19 make V=1 2021-08-11 20:31:04 `tcc -g -DENABLE_DEBUG -c -o main.o main.c` 2021-08-11 20:31:23 `tcc -g -DENABLE_DEBUG -c -o framebuffer.o framebuffer.c` 2021-08-11 20:31:46 `tcc -g -lSDL2 main.o framebuffer.o -o emulator` 2021-08-11 20:56:16 Hi everybody 2021-08-11 20:56:43 Anyone uses uzbl web browser 2021-08-11 20:57:00 I have some difficulties to build it with webkitgtk 2021-08-11 20:57:03 never heard of it, let alone used it 2021-08-11 21:01:14 this bananapi men is not here now :) 2021-08-11 21:01:25 https://arvanta.net/alpine/install-alpine-armv7-sbc/ 2021-08-11 21:02:10 I made short script for installing alpine armv7 to mmc in sys mode for him 2021-08-11 21:03:07 and noticed that linux-lts panic with poweroff on kernel from 3.14 release on this SBC 2021-08-11 21:04:17 libsys: maybe you are also interested in this ^ 2021-08-11 21:10:41 if I remove supervisor for tinydm, it works "as expected", if I kill it I get a login prompt 2021-08-11 21:10:54 but I don't understand why a lot of services fail to start 2021-08-11 21:11:07 like udev-postmount 2021-08-11 21:17:10 donoban: I use slim as 'tiny' DM 2021-08-11 21:17:40 not sure does it will work for your needs 2021-08-11 21:17:56 my needs are really simple 2021-08-11 21:18:05 just start my sway session, but only on first boot 2021-08-11 21:18:16 don't relogin if something crashes 2021-08-11 21:18:20 ah, slim is for X 2021-08-11 21:18:46 I think that it shouldn't be difficult to achieve it with tinydm 2021-08-11 21:18:55 but I don't understand this side effect 2021-08-11 21:20:38 well, it's too late 2021-08-11 21:20:40 I will just poweroff :) 2021-08-11 21:21:30 good night guys 2021-08-11 21:46:58 perhaps more of a u-boot question, but with "boot.scr" you seem to have to know the address of the kernel, initramfs, and DTBs (which I don't know) ... or ... I could just pass in the names of the files in 'extlinux.conf' Is there a reason to prefer 'boot.scr'? If so, how does one find out what the addresses should be? 2021-08-11 21:50:24 rexthor: u-boot built for particular SBCs knows addresses where to put kernel 2021-08-11 21:51:47 so extlinux.conf is safe in most cases, maybe there are some outdated boards for which u-boot is not (yet) refactored to use extlinux.conf 2021-08-11 21:53:10 mps: I'm using a Debian SD card built for iMX8M, I grabbed the u-boot+SPL binary and put it on another SD card and I'm trying to run Alpine from there. Following the directions on: https://wiki.alpinelinux.org/wiki/DIY_Fully_working_Alpine_Linux_for_Allwinner_and_Other_ARM_SOCs 2021-08-11 22:12:23 what is iMX8M, a board? 2021-08-11 22:12:31 which variant 2021-08-11 22:12:49 (lost connection to net) 2021-08-11 22:14:24 Isn't it the librem5 soc ? 2021-08-11 22:47:07 mps: Dart is the name ... I can look up the other stuff 2021-08-11 22:48:43 mps: from the box: DART-MX8M based on NXP i.MX8M (Evaluation Kit) 2021-08-11 22:51:49 Lord: I do believe that it is the librem5 soc as well. 2021-08-11 22:53:04 The DTBs that Yocto builds for the board are imx8mq-var-dart-dt8mcustomboard* 2021-08-11 22:57:54 how do oyu do that undocumented thing where you search apk for a binary again? 2021-08-11 23:03:19 LACampbell: something like this? https://unix.stackexchange.com/questions/307167/how-to-search-for-a-file-in-apk-packages 2021-08-11 23:08:33 no I mean say I want a binary called 'b'. how do I find out which package in the repo gives me 'b'? 2021-08-11 23:08:41 maybe it's an "alphabetools" 2021-08-11 23:08:44 or "abcutils" 2021-08-11 23:09:58 apk-file wasn't it? 2021-08-11 23:13:33 I think all it does is parse pkgs.alpinelinux.org though. 2021-08-11 23:13:57 apk-file should work for this 2021-08-11 23:31:25 apk info cmd:b 2021-08-12 01:56:46 My swap will not mount at boot, the fstab line to mount it is as follows: "/dev/sda5 none swap sw 0 0" 2021-08-12 02:33:28 Swap does however seem to mount with swapon -a 2021-08-12 02:53:01 thanks Hello71 2021-08-12 02:53:57 Okay I changed it to uuids in my fstab and rebooted but it is still not mounting my swap 2021-08-12 03:05:32 Is there something wrong with alpine's kernel or something, because I can't think of any other reason why this would happen 2021-08-12 03:07:36 Everything is setup as in the alpine wiki 2021-08-12 03:08:43 nvm, I forget to enable the swap service 2021-08-12 06:52:08 there is 14 imx8m* config files in u-boot configs dir 2021-08-12 06:53:32 and total 1163 different config files for different boards, so build all of them for distro seems impractical 2021-08-12 06:54:06 maybe build just few very popular and usable 2021-08-12 07:16:56 Can i ping with DF flag set? ping provides no option for that. Or is there another way to test MTU between two endpoints? 2021-08-12 07:18:54 apk add mtu, and run mtu 2021-08-12 07:21:09 Thanks.. works for IPv4 2021-08-12 09:18:29 THIS SHIT CHAT MAKES ME SO FUCKING MAD IM GOING TO GO PUNCH A HOLE IN MY WALL COME TO IRC.SANDNGZ.NET FOR SOME REAL ACTION 2021-08-12 09:19:14 sigh 2021-08-12 09:19:23 i guess i'll be off to there then… 2021-08-12 09:38:06 can I specify that a I don't want a service to be restarted when using supervise-daemon? I would prefer to change it to start-stop-daemon but it doesn't provides a pidfle 2021-08-12 09:42:25 start-stop-daemon can create the pid file for you if the daemon itself doesn't support creating one 2021-08-12 09:42:49 I was reading the man but didn't find that option 2021-08-12 09:42:59 could you tell me how? 2021-08-12 09:43:35 donoban: https://github.com/OpenRC/openrc/blob/master/service-script-guide.md 2021-08-12 09:43:42 You rarely have to invoke start-stop-daemon yourself 2021-08-12 09:43:53 yes, I mean using open-rc 2021-08-12 09:44:18 I mean even in a openrc init script 2021-08-12 09:44:26 https://github.com/OpenRC/openrc/blob/master/service-script-guide.md#dont-write-your-own-startstop-functions 2021-08-12 09:45:19 command_background=true 2021-08-12 09:45:21 uhM 2021-08-12 09:45:42 I just read about it on the mapage and didn't get it creates the pidfile for me 2021-08-12 09:46:21 lol, I was using tinyproxy initd as example, and it does just that 2021-08-12 09:46:27 ok! great! thanks guys 2021-08-12 10:15:13 THIS SHIT CHAT MAKES ME SO FUCKING MAD IM GOING TO GO PUNCH A HOLE IN MY WALL COME TO IRC.LIBERA.CHAT #MIDIPIX FOR SOME REAL ACTION 2021-08-12 10:16:36 I thought the libera trolling died out. Didn't? 2021-08-12 10:17:47 it did, but apparently it came back 2021-08-12 10:18:39 are they acting independently of libera staff or? 2021-08-12 10:19:16 I would be very supprised if libera staff would be involved 2021-08-12 10:19:37 It's a false flag troll. I'm on libera too and no trace of that there. 2021-08-12 10:19:41 that one is spaming on libera actually 2021-08-12 10:19:48 Is he? 2021-08-12 10:20:25 also 'advertising' other stuff 2021-08-12 10:20:40 Oh, anyway, #MIDIPIX does not exist. 2021-08-12 10:21:01 Kerum: libera has nothing to do with it. 2021-08-12 10:21:22 user_____: thats good to hear 2021-08-12 10:21:54 Kerum: if someone says they're John Lennon, they probably aren't. In general. Same for other impersonations. 2021-08-12 10:22:01 true 2021-08-12 10:37:03 user_____: it's always present to some extent, but the major waves are usually based on whether enough channels adopt restrictive modes to discourage the casual sorts. 2021-08-12 10:37:55 Entertainingly they're also present on Libera itself, as if official messages would need to be disseminated with spambots.... 2021-08-12 11:53:50 ACTION < https://matrix.org/_matrix/media/r0/download/matrix.org/jEdxTArxlHKIJkklVxuibBqQ/message.txt > 2021-08-12 13:43:32 what's the deal with matrix always posting links like that? 2021-08-12 13:43:50 a workaround for IRC not having multiline messages? 2021-08-12 13:44:00 more or less 2021-08-12 13:44:21 It did improve though 2021-08-12 13:44:27 before it would only post a link 2021-08-12 13:44:42 posted a message: 2021-08-12 13:45:02 Oh 2021-08-12 13:45:06 it still does 2021-08-12 13:49:23 it seems like it just goes 2021-08-12 13:51:04 yup 2021-08-12 13:51:37 You guys can't see the urls ? 2021-08-12 13:52:05 anniehallmoon[m]: we _only_ get a url for the entire message you pasted 2021-08-12 13:53:04 which is not that user friendly 2021-08-12 13:53:10 Oh damn seriously ... Well I can type it again ... And short it in more messages 2021-08-12 13:53:33 I was basically asking help for installing alpine on a luks root partition 2021-08-12 13:54:19 sda2 -- /luks 2021-08-12 13:54:19 sda1 -- /boot 2021-08-12 13:54:19 I have bios device, and the following scheme: 2021-08-12 13:55:03 I tried this guide on the wiki : https://wiki.alpinelinux.org/wiki/Setting_up_disks_manually 2021-08-12 13:55:18 But I wasn't successful ... 2021-08-12 13:55:20 It boots, I type the password for the luks and I then I get a emergency shell because it couldn't mount the root partition ... 2021-08-12 13:55:20 Anything I could be missing ? 2021-08-12 13:55:20 I am pretty sure the UUIDs are correct on fstab 2021-08-12 13:55:48 (can you guys see the message now , I separated into several ones instead of a huge one ) ? 2021-08-12 13:57:31 yexs 2021-08-12 14:08:10 although it would be more polite to use three lines instead of nine 2021-08-12 14:59:17 it'd be nice if matrix, on its side, knew it was on a irc bridge and to check whether v3 multiline support is there or not. 2021-08-12 14:59:39 and change the matrix behavior appropriately instead of kicking the can 2021-08-12 15:00:01 patches are welcome I guess :3 2021-08-12 15:00:10 (also, does this server supports multiline messages?) 2021-08-12 15:00:15 no 2021-08-12 15:01:31 it \ 2021-08-12 15:01:36 does 2021-08-12 15:01:38 :) 2021-08-12 16:08:24 I downloaded the Generic ARM aarch64 zip file (3.14.1) to try and load to Beaglebone Black. The 'README' in the 'u-boot' folder mentions instructions for loading MLO before u-boot.img ... but MLO is not a file in the archive? 2021-08-12 16:12:51 I think I figured it out: it isn't in the "aarch64" version of the download, it is in the "armv7" version. 2021-08-12 16:17:49 hi folks, do you know how to force users to change their password in Alpine? I'm trying to do it with chage -d 0 and it's not working 2021-08-12 16:18:17 in other words, when I log in, I'm not prompted to change my password 2021-08-12 16:18:32 the way I am in Arch or Ubuntu 2021-08-12 16:19:31 skyfaller: passwd -e 2021-08-12 16:22:54 minimal: thanks for the alternative, but that also does not seem to work. I just expired my password, then logged out and logged back in again, and did not get a prompt to change my password 2021-08-12 16:26:02 check /etc/shadow for the entry for that user, the 3rd field should be "0" to force password change, "passwd -e" should have set that 2021-08-12 16:26:05 skyfaller: I think you need shadow for that 2021-08-12 16:26:11 or not? 2021-08-12 16:27:23 ikke: /etc/shadow file is part of alpine-baselayout package so even if shadow package is not installed I'd expect that ultimately editing the /etc/shadow file to change 3rd field should always work... 2021-08-12 16:27:42 then again I've been known to be wrong :-) 2021-08-12 16:28:10 minimal: ok I just checked, it was not 0 before I ran passwd -e, and it is 0 after running passwd -e. 2021-08-12 16:28:34 yet logging out and back in does not result in a prompt to change my password, even though it is expired 2021-08-12 16:29:02 in fact, I can still sudo with my expired password 2021-08-12 16:29:38 minimal: My think was more that maybe default bb login does not check that field/ 2021-08-12 16:29:41 thinking* 2021-08-12 16:30:00 ikke: way ahead of you, have been looking at BB source code 2021-08-12 16:30:10 :) 2021-08-12 16:34:23 don't see any refs to "expiry" in BB code (i.e. login.c) so I guess it doesn't support it 2021-08-12 16:34:59 skyfaller: install package shadow ("apk add shadow") and test again 2021-08-12 16:36:30 minimal: doesn't seem to work. Password is still expired, still able to log in and sudo without any prompt 2021-08-12 16:36:41 ikke: Busybox's "passwd" applet doesn't support "-e" flag so makes sense its login applet also doesn't check for it 2021-08-12 16:37:58 that was my suspicion 2021-08-12 16:38:03 skyfaller: wondering if the "old" /bin/login (i.e. Busybox's version) is still running even though you've installed shadow 2021-08-12 16:38:26 oh, that could be true. How do I tell? 2021-08-12 16:39:59 skyfaller: actually I'm being stupid, its getty rather than login that is long-running......so the new version will be run for a fresh login attempt 2021-08-12 16:40:19 so it the /etc/passwd entry currently set to "0"? 2021-08-12 16:40:28 yes 2021-08-12 16:40:49 before I expired it, it was set to 18851 2021-08-12 16:41:23 yeah that's the number of days of last password change since Jan 1970 :-) 2021-08-12 16:41:38 hahaha 2021-08-12 16:41:43 "0" is a special value 2021-08-12 16:42:13 well, I definitely want my password to be special 2021-08-12 16:42:18 or feel special, at least 2021-08-12 16:43:30 what does chage show you now that you've installed shadow? 2021-08-12 16:44:00 minimal: sorry, could you suggest a command? 2021-08-12 16:45:01 nevermind I figured it out 2021-08-12 16:45:32 so what does it show for the user? 2021-08-12 16:45:40 https://paste.sr.ht/~skyfaller/bb4026f8b4669c1f4c2ba8056f3ca3f8e9a6c453 2021-08-12 16:49:26 so it says "password must be changed" but it also says 7 days of warning before password expires .... so where is my warning? And why not just require me to change it immediately before I can do anything else? 2021-08-12 16:50:51 it's the amount of days before the expiry that it should warn 2021-08-12 16:51:37 yeah, this stuff is complicated as there are other fields in /etc/shadow related to it - 6th field if set to 0 means no warning to change 2021-08-12 16:52:39 looks like "chage -W 0 " controls that 2021-08-12 16:53:33 minimal: well, I ran that command, it changed that field to 0, but I still get no warning or prompt, and I'm still able to sudo 2021-08-12 16:54:42 skyfaller: its been a while since I tested all this sort of stuff (on Debian at the same, but same principle) as part of system audit preparations :-( 2021-08-12 16:55:26 its fiddly stuff, password aging, password expiry, account expiry, account locking, etc 2021-08-12 16:56:21 skyfaller: are you logging in directly on the machine or SSH'ing in? 2021-08-12 16:56:32 good question 2021-08-12 16:56:55 yeah, if via SSH then SSH and also PAM come into the mix 2021-08-12 16:57:36 if the login from util-linux is used (does it overwrite the busybox login?) does that change anything? 2021-08-12 16:57:51 minimal: I am ssh-ing in 2021-08-12 16:57:58 maybe it is PAM 2021-08-12 16:58:08 ok, then you need to install openssh-server-pam 2021-08-12 16:58:23 skyfaller: ssh? right that's another lay of complications then :-) 2021-08-12 16:58:38 oh joy. well, I have to go get lunch and stuff, but I'll be back on later, thanks for your efforts all! 2021-08-12 16:58:49 I don't think we build sudo with pam 2021-08-12 16:59:20 Yeah, --without-pam 2021-08-12 16:59:54 well sudo is only going to be relevant once he's logged in in the 1st place 2021-08-12 16:59:59 yup 2021-08-12 17:00:07 but it's something they mentioned 2021-08-12 17:00:29 depending on whether openssh-server or openssh-server-pam is installed you will see some different behaviour 2021-08-12 17:02:17 i.e. if you lock an account (to prevent password access) and then try to SSH in using a key it only works if PAM (i.e. openssh-server-pam) is installed as the openssh author treat "locked" differently depending on if PAM is enabled/disabled - without PAM they treat locked as locked for all access (even key-based) whereas according to "passwd" docs its supposed to only be relevant for password-access 2021-08-12 17:02:43 right 2021-08-12 17:02:47 I do recall that 2021-08-12 17:03:12 yeah, we hit this with the cloud-init stuff 2021-08-12 17:03:32 as wanted key-only based access 2021-08-12 17:04:50 Can't you then just set PasswordAuthentication 2021-08-12 17:04:51 ? 2021-08-12 17:06:00 yes, but if you want to have specific remote-only accounts (no console access) you lock them.......which works with openssh-server-pam but blocks key-based ssh access with openssh-server 2021-08-12 17:06:38 when you specify user accounts to create in your cloud-init YAML if you don't specify a password for them then cloud-init locked them by default (from memory) 2021-08-12 17:06:52 ah ok 2021-08-12 17:07:44 ikke: had a look at openssh source and yeah it looks like it has a similar behavour for password expiry and PAM: 2021-08-12 17:07:44 if (!options.use_pam && spw != NULL && auth_shadow_acctexpired(spw)) 2021-08-12 17:07:44 return 0; 2021-08-12 17:08:06 that's just from a speedread of the auth.c code 2021-08-12 22:03:12 yo 2021-08-12 22:04:03 i am looking at the memory usage of mtr in alpine, debian and ubuntu, it seems mtr under alpine use more ram that it was in other distro, any idea? 2021-08-12 22:06:32 Maximum resident set size (kbytes) alpine: 16832, debian: 5592, centos: 5704 2021-08-12 22:38:13 mayli, you surely know to look at loaded libraries and so on. 2021-08-12 22:41:43 / # ldd `which mtr` 2021-08-12 22:41:45 /lib/ld-musl-x86_64.so.1 (0x7fd9aebbe000) 2021-08-12 22:41:47 libncursesw.so.6 => /usr/lib/libncursesw.so.6 (0x7fd9ae8c9000) 2021-08-12 22:41:49 libc.musl-x86_64.so.1 => /lib/ld-musl-x86_64.so.1 (0x7fd9aebbe000) 2021-08-12 22:42:30 at runtime. 2021-08-12 22:42:44 hmm 2021-08-12 22:42:51 start mtr, pause using ctrl+z, look at proc/$pid/ 2021-08-12 22:43:05 when you're done, `fg` 2021-08-12 22:43:39 ahh, that's going to be tons of mmaps to look at 2021-08-12 22:44:43 sort. 2021-08-12 23:48:23 good 2021-08-12 23:49:18 minidlna no start 2021-08-12 23:49:54 rc-service minidlna start 2021-08-12 23:50:25 no start 2021-08-12 23:50:48 minidlna -f /etc/minidlna.conf OK 2021-08-13 03:52:53 wolf_ the minidlna init file was also not working for me. I emailed the maintainer and it was working for them, they tried to help me out but I never got it working. I ended up modifying the script to use supervise-daemon and then it worked for me :/ 2021-08-13 05:57:05 mps: thanks :) 2021-08-13 11:04:46 kevint, I'll change here just a moment 2021-08-13 12:57:46 hey folks, does anyone here use Ansible? It feels like a lot of things I'm trying to do just don't work in Alpine 2021-08-13 12:58:27 BN 2021-08-13 12:59:07 (woops misskey)) 2021-08-13 13:01:37 skyfaller: things like what? 2021-08-13 13:03:08 things like the user module not updating the user's shell: https://github.com/ansible/ansible/issues/61911 2021-08-13 13:04:32 or the timezone module not being able to update the timezone: https://github.com/ansible-collections/community.general/issues/781 That bug report claims to be fixed, but I'm seeing a very similar problem right now. 2021-08-13 13:07:58 I recognize that this is the Alpine channel, not the Ansible channel, I'm just wondering if my experience is weird, or if it's a known problem that Ansible doesn't work on Alpine 2021-08-13 13:08:37 ah. ansible things with older ansible versions. Never encountered it, but I rarely use ansible to do things to alpine. More ansible running on alpine doing things to other systems 2021-08-13 13:09:44 I'm using whatever version of Ansible is packaged by homebrew on macOS, pretty sure it's up to date 2021-08-13 13:10:46 and I'm running it on Alpine v3.14 2021-08-13 13:11:08 erm, v3.14 on the remote 2021-08-13 13:11:31 which ansible version? 2021-08-13 13:12:12 currently I have 2.10.5, can't remember if that was 3.13 stock or a local install 2021-08-13 13:12:59 ansible [core 2.11.3] 2021-08-13 13:13:54 more than new enough. That sort of thing should be fixed there 2021-08-13 13:16:06 man I swear I've got a reverse Midas touch with computers. I spent a bunch of time in here yesterday trying to expire passwords and make Alpine provide users with a prompt to change their password. No joy so far 2021-08-13 13:16:53 it seems like something people would want to do often enough that there shouldn't be completely unknown bugs 2021-08-13 13:18:34 Different use cases and all that. I cannot remember when I last needed something like that, >10 years, but in a corp environment it is probably common 2021-08-13 13:27:55 I guess the question is, for the Ansible bugs, is it better to try to track them down here before heading over to Ansible? Like the first bug I linked has been open for 2 years 2021-08-13 13:35:26 I use alpine a lot on a daily basis but pretty much never with alpine :( 2021-08-13 13:35:43 I guess you mean ansible the first time? 2021-08-13 13:36:18 oops, sorry, yes 2021-08-13 13:36:25 s/alpine a lot/ansible a lot/ 2021-08-13 13:36:38 brainfart 2021-08-13 13:39:49 well, for the purely Alpine problem, does anyone want to help me figure out why I can't get a prompt to change my password when I expire it? 2021-08-13 13:40:53 I'm ssh-ing into the Alpine machine, if that helps. Last thing I tried was installing openssh-server-pam and that made no difference. Still able to log in and sudo without getting a prompt to change my expired password 2021-08-13 13:41:23 I rebooted the server just in case that would help PAM figure things out, it didn't 2021-08-13 13:47:21 pam_unix speaks about PAM_AUTHTOKEN_REQD, but catching that may not be in the default pam setup 2021-08-13 13:48:35 at least it should look at expiration date 2021-08-13 13:51:53 in /etc/shadow the relevant field is 0 2021-08-13 13:52:17 https://paste.sr.ht/~skyfaller/bb4026f8b4669c1f4c2ba8056f3ca3f8e9a6c453 2021-08-13 13:52:41 I tried reducing the warning time to zero and that didn't change anything 2021-08-13 13:56:13 skyfaller: just to be sure, is UsePam enabled in sshd_config? 2021-08-13 13:57:02 it was never clear to me, do I actually want PAM? 2021-08-13 13:57:38 ikke: PAM is not enabled, I'll try turning it on 2021-08-13 13:58:08 skyfaller: so far, it didn''t seem to work without PAM 2021-08-13 13:58:21 fair enough 2021-08-13 13:59:28 should I reboot the server or something? So far, setting UsePam to yes has no effect 2021-08-13 13:59:37 you need to restart sshd 2021-08-13 14:00:22 hey! that did it! thank you ikke 2021-08-13 14:01:54 nice, yw 2021-08-13 14:02:53 so installing openssh-server-pam is not adequate, you must also enable PAM in sshd_config 2021-08-13 14:03:04 Correct 2021-08-13 14:06:17 it's fascinating how many things I take for granted in Arch or Ubuntu don't ship by default in Alpine. It's why I'm trying Alpine, I want something leaner, but resisting the urge to just install everything I have on the other systems may take some work 2021-08-13 14:08:20 skyfaller: yes Alpine by default uses Busybox for a lot of things and so some functionality does not work as expected - in which case you either (a) install packages for the "full" version of that functionality, or (b) if some cases change how you are trying to achieve the functionality 2021-08-13 14:08:29 which alpine package provides arc4random? 2021-08-13 14:09:25 skyfaller: we talked about expiring passwords yesterday with ssh connections - from a quick look at the OpenSSH code you may need to install openssh-server-pam rather than openssh-server for that to work as expected 2021-08-13 14:09:57 minimal: yeah I just got it working with openssh-server-pam, so thank you for recommending that yesterday 2021-08-13 14:10:37 skyfaller: I use Ansible on Alpine, in fact I used it a lot to create custom Alpine disk images. 2021-08-13 14:11:05 Kerum: https://pkgs.alpinelinux.org/contents 2021-08-13 14:11:37 the issues you've seen around user manipulation may well be due to differences between adduser/deluser/moduser commands (from Busybox) and useradd/userdel/usermod commands (from Shadow package) 2021-08-13 14:11:40 in the long run I may not need PAM, expiring the password is a workaround for a stupid issue where I can't figure out how to set peoples' passwords without putting their passwords in a public repo, so I set a default password and just force them to change it when they log in via public key (so it shouldn't matter that the default password is public) 2021-08-13 14:14:13 skyfaller: I do the same for the cloud-init images I make - the default user has a default password which forces password change on first (console) login - but with key-only login from SSH 2021-08-13 14:14:46 are you also using PAM then? Or are you forcing password change some other way? 2021-08-13 14:16:16 well I'm installing openssh-server-pam (as well as shadow and some other packages) as locked user accounts don't work via key-based SSH with openssh-server 2021-08-13 14:16:57 OpenSSH behaves differently regarding logins (i.e. locked and expiry handling) depending on whether UsePAM is yes or no 2021-08-13 14:16:59 does shadow not ship by default? I thought it was there already 2021-08-13 14:17:32 skyfaller: (from memory) nope - Busybox provides adduser/deluser/moduser 2021-08-13 14:18:21 no shadow, no coreutils 2021-08-13 14:18:24 once you want to start using things like expiry, expiry warnings, password aging, password complexity checks, locked accounts etc you need to use the Shadow package 2021-08-13 14:18:32 all is implemented by bb by default like minimal mentions 2021-08-13 14:18:47 That's why the Alpine docker image can be so small 2021-08-13 14:19:13 For basic needs, that's enough, but if you want more, you need to install the complementary tools yourself 2021-08-13 14:19:35 I'm very confused, is /etc/shadow there without shadow being installed? 2021-08-13 14:19:40 yes 2021-08-13 14:19:50 shadow is more like a set of utilities 2021-08-13 14:19:56 skyfaller: I have a script for creating server-oriented Alpine disk image, if you look at that you'll see the packages I'm installing and the config changes (like UsePAM) that I make. Script is at https://github.com/dermotbradley/create-alpine-disk-image 2021-08-13 14:20:22 skyfaller: Shadow package provides useradd command for example which is more featured alternative to Busybox's adduser 2021-08-13 14:20:30 skyfaller: https://pkgs.alpinelinux.org/contents?file=&path=&name=shadow&branch=edge&arch=x86_64 2021-08-13 14:20:47 that's what the shadow package provides 2021-08-13 14:21:09 strictly speaking you don't need useradd/usermod to set expiry,password aging etc as you can edit the /etc/shadow file's fields directly 2021-08-13 14:21:28 You could just provide /etc/shadow as a template 2021-08-13 14:21:47 how some other packages (like openssh-server-pam) are needed to actually make use of such settings in the /etc/shadow file 2021-08-13 14:21:55 s/how/however/g 2021-08-13 14:22:00 /etc/shadow is just a database 2021-08-13 14:22:07 hm, so maybe if I install shadow, Ansible would be able to set the user's shell? 2021-08-13 14:22:24 tools need to read that database and actually do something with those fields 2021-08-13 14:23:13 openssh defers that kind of policy to PAM 2021-08-13 14:23:30 skyfaller: that was what I was about to point out - Ansible's module for user manipulation will either manipulate /etc/passwd and /etc/shadow files directly - or more likely user "useradd" or "adduser" instead and limitations in whichever commands you have installed on Alpine will then impact on Ansible's behaviour 2021-08-13 14:24:05 yes, most of these configuration systems rely on coreutils / shadow / gnu versions of tools 2021-08-13 14:24:33 "On all other platforms, this module uses useradd to create, usermod to modify, and userdel to remove accounts." ok that may be the problem, yes 2021-08-13 14:26:03 skyfaller: yes in my Ansible playbook for Alpine I'm using the "command" module to explicitly run "deluser" rather than using the "user" module. 2021-08-13 14:26:20 well, I just ran `sudo add apk shadow` and then ran the play to change their shell, to no effect, so that alone doesn't seem to fix it 2021-08-13 14:28:23 skyfaller: what was the return code and any other returned data from the Ansible call to "user" module? 2021-08-13 14:29:07 ansible is reporting lies to me, it tells me that the user's shell is fish and Ansible didn't have to change anything, but when I go look at /etc/passwd their shell is still ash 2021-08-13 14:29:59 I can pastebin results if you like 2021-08-13 14:30:00 are you running ansible on the machine you're trying to change or running it against a remote machine? are you sure its accessing the right machine? 2021-08-13 14:30:13 skyfaller: sure 2021-08-13 14:31:07 if you're curious here's my crappy Ansible role: https://github.com/maximum-ethics/linode-caddy/blob/master/roles/sunrise/tasks/main.yml "user_accounts" is the tag that should change the shell. Pretty straightforward 2021-08-13 14:32:11 I'm running ansible on my laptop to change the remote Alpine machine. Very sure it is accessing the right machine, although I'm currently running the playbook against all of my servers at once to make sure I don't break my config for Ubuntu or Arch while I tinker 2021-08-13 14:33:34 I'll run it one more time just for this server to clean up the paste 2021-08-13 14:33:46 skyfaller: try adding a "register" tag to the user call to store the result in a variable and then just after that call you can use debug to dump the variable structure (which includes rc, stderr, stdout) 2021-08-13 14:35:27 oh the version of my ansible code on GitHub doesn't have any of the Alpine stuff committed yet, sorry if that matters. Wanted to get it working first 2021-08-13 14:40:27 skyfaller: np, ping me when you update it. Using "register" (plus things like "failed_when") in general is a good way to harden/make more reliable your Ansible playbooks 2021-08-13 14:44:08 minimal: https://paste.sr.ht/~skyfaller/cf41dc813b258cb64dd0a38e294f77a8267c56bf 2021-08-13 14:44:24 yeah I need to learn to do testing and error handling, haven't used failed_when yet 2021-08-13 14:45:18 skyfaller: Sunrise mobile telco? 2021-08-13 14:45:48 no, previous version of this was operating some servers for Sunrise Movement, climate justice org 2021-08-13 14:46:26 now it's just for my nascent personal web design + hosting business 2021-08-13 14:49:01 so it changed the shell of one of the 2 users accounts but not for the other account? 2021-08-13 14:50:05 no I just changed my own shell to fish 2021-08-13 14:50:12 I can change it back to ash if it makes a difference 2021-08-13 14:50:49 I ran lchsh 2021-08-13 14:51:55 it ok, just trying to understand the current situation. 2021-08-13 14:54:11 I guess this would be a great time to use failed_when ... check if ash is still the user's shell in /etc/passwd. Sadly I suck at regex 2021-08-13 15:00:20 skyfaller: you should be able to do that fairly easily in Ansible. I've not written any Ansible stuff for a couple of months so i'm just trying to get my Ansible brain back in gear when looking at your output :-) 2021-08-13 15:02:41 there might be some other command that is easier to search the output of 2021-08-13 15:04:02 lol Alpine doesn't have finger 2021-08-13 15:08:46 well, there's always awk, that works 2021-08-13 15:09:02 awk -F: -v user="wilsonbr" '$1 == user {print $NF}' /etc/passwd 2021-08-13 15:10:37 getent passwd wilsonbr | awk -F: '{print $NF}' 2021-08-13 15:10:46 thanks Stack Exchange 2021-08-13 15:11:02 https://unix.stackexchange.com/questions/352316/finding-out-the-default-shell-of-a-user-within-a-shell-script 2021-08-13 15:45:47 ok, I'm taking a break for now, thank you for your efforts 2021-08-13 15:49:32 skyfaller: is your playbook creating the user or changing the user's settings? 2021-08-13 16:19:16 is there a way to create a virtual bridge where members can only communicate with a single member - the gateway, and not between each other? ebtables or something? 2021-08-13 16:54:33 greatwielder[m]: ebtables should work: https://paste.debian.net/plain/1207560 2021-08-13 16:55:48 thanks 2021-08-13 23:31:38 does anyone here use Alpine as their main desktop OS? what WM do you use? 2021-08-14 00:47:29 i do. i use sway 2021-08-14 00:56:16 I do too, with openbox 2021-08-14 01:04:48 not as my "main" but i do have alpine on one laptop. 2021-08-14 02:32:58 mlu: postmarketOS on the pinebook pro 2021-08-14 03:45:05 hi, i'm trying to build a crosscompiler toolchain using the bootstrap.sh script for aarch64, but when it gets to libretls, it fails with a strange message: "ERROR: No such package: .makedepends-libretls", and i'm not too sure where to go from here. 2021-08-14 05:55:45 give me the skinny on custom kernels 2021-08-14 05:55:57 if i want initramfsless, i have to build muhown, right 2021-08-14 06:09:41 yes 2021-08-14 06:10:17 you need to build things you need for boot (disk drivers, filesystem drivers, etc) as =Y and not =M, so you need to build your own and pick what you need 2021-08-14 06:52:12 veiviser: is there a way to integrate that into apk 2021-08-14 06:52:27 i dont know but probably not 2021-08-14 06:52:32 you have to roll your own kconfigs anyway 2021-08-14 06:52:38 which is 98% of the work 2021-08-14 06:52:58 apk just installs packages, building them is outside if its scope 2021-08-14 06:54:24 so there's no way to stay on 3.14 and have apk run some script instead of installing a borked kernel on top of mine? 2021-08-14 06:54:58 for custom kernel without initramfs look at linux-elm or linux-gru 2021-08-14 08:48:14 hmm i have a weird problem, its probably more of a kernel problem than alpine, but ill try to rsync some files to my nas, and its uploading at 100kb/s... i do /etc/init.d/networking restart and I get the full speed back again 2021-08-14 08:48:22 im not sure where to start with troubleshooting it 2021-08-14 08:48:45 Maybe a tcpdump can shed some light? 2021-08-14 08:50:02 ah yes ill try that next time, thanks 2021-08-14 14:39:05 salut 2021-08-14 14:39:16 Something is wrong in edge/my nodes: 2021-08-14 14:39:26 apk fix says: (1/1) [APK unavailable, skipped] Reinstalling grub (2.06-r0) 2021-08-14 16:58:18 http://dl-master.alpinelinux.org/alpine/v3.14/main/x86_64/grub-2.06-r0.apk exists 2021-08-14 16:58:38 http://dl-master.alpinelinux.org/alpine/edge/main/x86_64/grub-2.06-r0.apk exists as well 2021-08-14 16:58:40 telmich: ^ 2021-08-14 18:26:18 try updating your indexes 2021-08-14 18:28:55 I'm trying to install alpine with full disk encryption while booting through efistub. My boot entry created through efibootmgr has "cryptdevice=/dev/sda2:root root=/dev/mapper/root". The problem is that I do not get prompted for the password on boot. Instead I am dropped into "initramfs emergency shell". I can see in the logs it shows on screen 2021-08-14 18:28:55 that "Mounting root: failed". 2021-08-14 18:28:56 I made sure to add cryptsetup to the mkinitramfs config and I can manually decrypt the partition in the emergency shell just fine. Does anyone have an idea how to fix this? 2021-08-14 18:48:27 or if you want grub to be reinstalled then apk fix grub 2021-08-14 18:49:14 Desuao: you cannot copy arch linux instructions verbatim to alpine 2021-08-14 18:50:43 for alpine linux mkinitfs (not mkinitramfs, and not mkinitcpio) you must specify cryptroot instead 2021-08-14 18:51:25 Thanks. Just figured this out too. I think I also need cryptdm instead of the ":" syntax. 2021-08-14 18:52:19 Is there documentation somewhere that explains all the mkinitfs parameters? 2021-08-14 19:04:30 I was able to solve my problem by looking at the source at https://gitlab.alpinelinux.org/alpine/mkinitfs . Also had to set rootfstype=ext4 . 2021-08-14 19:14:18 maybe, but odds are it's wrong 2021-08-14 19:14:49 docs.alpinelinux.org has the "new stuff" 2021-08-14 19:15:06 join #alpine-docs if you want to make alpine docs less bad 2021-08-14 20:41:49 Good afternoon. I need to surf light that is not midori. Someone knows?? Thanks. 2021-08-14 20:43:14 elinks 2021-08-14 20:48:40 lodi, Very light indeed, but I need one with a graphical interface, my wife will hit me if I tell me to use this one. Hahaha 2021-08-14 20:51:11 i imagine qutebrowser is lighter than the big players 2021-08-14 21:08:41 Netsurf? 2021-08-14 21:18:19 lopid, Thanks, really cool even, just haven't found where you type the site, but I'm researching it. Hug. 2021-08-14 21:47:27 i don't think qutebrowser is lighter than midori 2021-08-14 23:16:41 all browsers that are based on webkit/gecko/chromium are huge and bloated 2021-08-14 23:16:52 and all the ones that aren't render websites wrong 2021-08-14 23:16:58 pick your poison 2021-08-14 23:34:46 Hello71, It's much lighter. 2021-08-14 23:37:54 Midori freezes a lot, mainly on Youtube, QuteBrowser is very quiet and still from setting up Adblock, I still can not but I go. 2021-08-14 23:40:13 sounds like there is something wrong with your gpu 2021-08-15 00:07:14 Maybe it is, my machine is pretty weak. But qutebrowser behaves better. 2021-08-15 00:34:33 chromium has more hacks than webkitgtk 2021-08-15 00:46:08 I'm not registered. Is this message going through? 2021-08-15 01:07:23 yes 2021-08-15 04:16:54 apk install kde 2021-08-15 04:16:58 oops, wrong window :) 2021-08-15 04:19:52 kde installed successfully 2021-08-15 05:48:52 im getting a very strange error when i try to issue "apk update" after putting a locally stored mirror of some packages in my /etc/apk/repositories, and it'll choose to ignore the repo, when i need it to use it, the error is this: "WARNING: Ignoring /repo: No such file or directory" 2021-08-15 05:50:00 and /repo does exist and it does have the APKINDEX.tar.gz file and it is signed, and the permissions are ok 2021-08-15 09:12:15 i'm thinking of moving my main workstation to alpine, is it at all possible to use the binary nvidia drivers? 2021-08-15 09:12:26 unfortunately i have a nvidia gpu 2021-08-15 09:19:17 Nope, those require glibc 2021-08-15 09:20:06 ah, and the compat package wouldn't be of use? 2021-08-15 09:20:24 s/of use/useful 2021-08-15 09:31:05 spiralw: no 2021-08-15 09:39:13 :( thanks 2021-08-15 09:39:19 i guess i'll try using nouveau drivers 2021-08-15 09:49:03 spiralw: do you have source? 2021-08-15 09:49:12 ? 2021-08-15 09:49:18 not sure what that means 2021-08-15 09:49:37 sorry, I misread 2021-08-15 09:49:54 np 2021-08-15 13:41:09 hi 2021-08-15 13:41:26 before I needlessly try useless stuff, I better ask 2021-08-15 13:41:47 is alpine linux supposed to run on core 2 duo? 2021-08-15 13:42:08 another important fact might be that it's a 2008 macbook 2021-08-15 13:42:39 I tried x86_64 and x86 isos but both 2021-08-15 13:42:45 don't work 2021-08-15 13:43:33 don't work meaning the usb stick isn't recognized as being bootable 2021-08-15 13:45:07 the usb stick was prepared using etcher 2021-08-15 13:47:37 what macbook exactly 2021-08-15 13:48:38 Late 2008/Aluminum 2021-08-15 13:48:49 MB466LL/A 2021-08-15 13:51:25 fwiw for all practical purposes you should just buy a new computer 2021-08-15 13:51:45 well, yeah 2021-08-15 13:52:00 I have recent hardware 2021-08-15 13:52:06 i think that model should have 64-bit efi 2021-08-15 13:52:11 I just wanted to try a lightweight distro on this old macbook 2021-08-15 13:52:13 do you still have macos installed 2021-08-15 13:52:19 no 2021-08-15 13:52:22 and have you tried other linux 2021-08-15 13:52:32 yeah, other linux distros work 2021-08-15 13:52:38 (or, well, Mac OS X) 2021-08-15 13:52:46 which linux did you try 2021-08-15 13:53:09 fedora, ubuntu, suse, manjaro, and some more 2021-08-15 13:53:19 hm. 2021-08-15 13:53:47 64 bit efi might be a problem though 2021-08-15 13:54:18 iirc last working os x version was 64 bit but this hardware only supported a 32 bit efi 2021-08-15 13:54:42 that's why I also tried the 32 bit iso 2021-08-15 13:56:24 https://mattgadient.com/linux-dvd-images-and-how-to-for-32-bit-efi-macs-late-2006-models/ says it's only Macbook2,1 2021-08-15 13:57:01 and https://en.wikipedia.org/wiki/MacBook_(2006%E2%80%932012)#Supported_macOS_releases says late 2008 aluminum supports up to 10.11 which i'm pretty sure doesn't support 32-bit efi 2021-08-15 13:57:24 ok, then I remember wrong 2021-08-15 13:57:43 tried the 64 bit version, too anyway 2021-08-15 13:58:14 https://www.lifewire.com/minimum-requirements-os-x-mountain-lion-2260337 says the same 2021-08-15 14:01:25 alpine iso format is pretty common, hybrid iso/mbr syslinux/grub 2021-08-15 14:01:53 did you check if those other distros booted in csm or efi 2021-08-15 14:02:00 TheLink: I have old macbook and alpine works quite fine 2021-08-15 14:02:48 strange 2021-08-15 14:03:00 I also never had such issues before 2021-08-15 14:03:05 my is 2010 year I think 2021-08-15 14:03:26 perhaps it's starting to show its age and some hardware is getting broken 2021-08-15 14:03:38 not sure where to look for exact year release and model 2021-08-15 14:03:38 maybe something wrong with your copying. try zeroing whole drive and then dd instead of etcher 2021-08-15 14:03:44 mps: wikipedia 2021-08-15 14:03:50 oh, you mean on the computer 2021-08-15 14:03:57 still wikipedia usually has it 2021-08-15 14:04:07 from the model number 2021-08-15 14:04:11 yeah, I'll try once again 2021-08-15 14:04:14 Hello71: not sure I can 'comprehend' infos from wikipedia :) 2021-08-15 14:04:23 TheLink: using the x86_64 2021-08-15 14:04:28 yeah 2021-08-15 14:06:07 TheLink: installing worked easily except I had to find firmware on the net for b43 wifi 2021-08-15 14:06:34 yeah, that part is known 2021-08-15 14:06:51 apple's strange love for broadcom wifi 2021-08-15 14:26:45 ok, no luck 2021-08-15 14:27:00 perhaps the nvidia chipset is also a problem 2021-08-15 14:27:15 another musl based distro also had issues with that 2021-08-15 14:28:05 my macbook is probably one of the last with nvidia chipset 2021-08-15 14:31:35 nouveau works? 2021-08-15 14:32:05 normally yes 2021-08-15 14:32:41 but you said it doesn't show up on boot menu? 2021-08-15 14:32:56 it doesn't, yes 2021-08-15 14:35:16 Hello 2021-08-15 14:37:25 I am very interested to replace ubuntu over azure, with Alpine. it's possible? 2021-08-15 14:48:47 hmm, on my macbook video card is intel 2021-08-15 14:49:19 i don't see why it wouldn't be possible, jose_alvarez. in fact i would say it'd be preferable, imho 2021-08-15 14:49:35 I found a wiki: Replacing Non-Alpine_Linux_with_Alpine remotely, but it clearly says "physical server", someone would be so kind to guide me to achieve it but on azure 2021-08-15 14:50:13 does azure provide a boot time interface? 2021-08-15 14:50:56 hi, lopid. nop, only a ubuntu box and ssh. 2021-08-15 14:52:48 perhaps the guide you've seen is the one where you can replace the current running os with alpine? 2021-08-15 14:54:51 yes! is correct, but before venturing I wanted to consult here first. more than anything for the part of "physical server" 2021-08-15 14:55:12 link to that guide? 2021-08-15 14:55:31 https://wiki.alpinelinux.org/wiki/Replacing_non-Alpine_Linux_with_Alpine_remotely#Without_VNC_access 2021-08-15 14:55:52 jose_alvarez: #alpine-cloud 2021-08-15 14:56:23 mps: https://en.wikipedia.org/wiki/MacBook_(2006%E2%80%932012) 2021-08-15 14:58:05 Hello71: thanks. what I will do without your help with finding fast urls 2021-08-15 14:58:05 thanks Hello71 2021-08-15 14:58:30 try google? 2021-08-15 14:58:34 Hello71: my macbook is i3 2021-08-15 14:58:39 afaik apple used nvidia for all macbooks from 2007-2010 and some from 2010-2013 2021-08-15 14:59:20 my son upgraded it to 8GB ram and changed cables to install SSD in it 2021-08-15 15:00:16 now I'm using it as host for qemu testing alpine armv7, aarch64 and riscv64 2021-08-15 15:00:37 yes but nothing concrete, 2021-08-15 15:00:57 quite usable machine though it is more than 10 years old 2021-08-15 15:01:59 if I don't have two arm64 chromebooks I would use it as primary workstation 2021-08-15 15:05:49 Hello71: looked at bottom of it, model no A1278 and 2010 Apple inc 2021-08-15 15:06:21 mps: ctrl-f a1278 2021-08-15 15:06:44 i think is actually same one as TheLink 2021-08-15 15:07:14 hm, wait 2021-08-15 15:07:25 https://en.wikipedia.org/wiki/MacBook_Pro actually 2021-08-15 15:08:25 yes, now i notice difference 2021-08-15 15:08:35 if you do actually have 2010 model then it hsould be nvidia 2021-08-15 15:08:47 should 2021-08-15 15:09:08 no, it is intel 2021-08-15 15:21:12 hybrid? 2021-08-15 15:23:00 Hello71: dmidecode says it is nvidia 2021-08-15 15:23:14 I was wrong 2021-08-15 15:24:15 but lspci says intel 2021-08-15 15:25:06 maybe hybrid needs some special code to activate 2021-08-15 15:25:13 hmm, maybe it is hybrid 2021-08-15 15:25:59 didn't know till now that it have also nvidia 2021-08-15 15:26:18 intel is primary video obviously 2021-08-15 15:26:54 i think old machines usually have muxed output 2021-08-15 15:27:15 I have in garage another asus notebook (i7) with hybrid and always had to disable nvidia on it 2021-08-15 15:28:18 nvidia was problematic even on debian when I used it as workstation os (three or more years ago) 2021-08-15 15:38:35 I just installed alpine on my laptop with a nvidia GPU, and installed nouveau drivers. I think it's still running on the intel iGPU though, xrandr doesn't show the external monitor being plugged in which is what I observed in PopOS when I selected the iGPU 2021-08-15 15:38:50 is there any way to select or enable the nvidia GPU? 2021-08-15 15:40:37 I tried looking this up on alpine wiki but there's nothing more useful than "install these packages" which I did 2021-08-15 15:43:55 is it the primary display device in bios? 2021-08-15 15:44:02 spiralw: long ago I played with this and forgot details. it is something about playing with enabling nouveau kernel module with some params 2021-08-15 15:44:42 but it is not worth effort 2021-08-15 15:45:09 use intel video and enjoy alpine, forget nvidia 2021-08-15 15:45:51 ofc, anyone is free to waste time however likes 2021-08-15 15:45:54 my external monitor doesn't work without nvidia gpu enabled, so that's not an option 2021-08-15 15:46:13 thanks for the pointer to the kernel module, I will look into that 2021-08-15 15:47:51 lopid: I don't think my UEFI has an option for primary display device 2021-08-15 15:48:21 :-O 2021-08-15 15:50:00 driver seems to be loading correctly: https://0x0.st/-yiz.txt 2021-08-15 15:51:17 and the nouveau module is loaded? 2021-08-15 15:51:22 yes 2021-08-15 15:52:58 there's `options nouveau modeset=1` in /etc/modprobe.d/kms.conf, I don't know how to parse the output of modinfo though 2021-08-15 16:11:20 okay, I found out something interesting. dmesg shows the line `DRM: allocated 2560x1080 fb` which is the correct resolution of my external display 2021-08-15 16:11:26 but it still doesn't show up in xrandr 2021-08-15 17:33:08 is it safer to upgrade an alpine "sys" install 3.N to 3.N+1 several times to upgrade an older system across a few (or several) versions, or jump directly to the most recent version? 2021-08-15 17:34:23 (ignoring things that aren't managed by the package manager, like new config formats) 2021-08-15 17:41:57 I'm trying to install Alpine on a mid-2009 MacBook Pro, but I can't boot into the USB. Is this device too old for Alpine? Because I doubt it. 2021-08-15 17:44:44 ahills: same thing 2021-08-15 17:45:14 apk upgrade -a -s && apk upgrade -a && find /etc -name \*.apk-new 2021-08-15 17:45:21 not really with && 2021-08-15 17:46:17 Jaafarhehim[m]: what exactly does "can't boot" mean 2021-08-15 18:20:59 sounds like my issue 2021-08-15 19:20:31 "Jaafar (he/him): what exactly..." <- Well, it doesn't show up at the boot menu. 2021-08-15 19:22:07 what kind of usb are you using 2021-08-15 19:22:09 and image 2021-08-15 19:22:13 and how did you install the image 2021-08-15 20:23:00 "and image" <- A standard x86_64 image from the official website's download page. 2021-08-15 20:23:08 "what kind of usb are you using" <- I have no idea what kind of USB stick I'm using. 2021-08-15 20:23:27 I only know the brand: SanDisk. 2021-08-15 20:23:30 cheapo flash drive? 2021-08-15 20:23:40 not sd, microsd, hdd, ssd... 2021-08-15 20:25:05 Hello71: Yeah, just a tiny lil' USB stick. 2021-08-15 20:25:45 And it did work previously with other OSes. 2021-08-15 20:25:49 * And it did work previously with other OSes flashed. 2021-08-15 20:26:18 Alpine is the only time where did not show up in the boot menu at all. 2021-08-15 21:05:06 * Alpine is the only time where it did not show up in the boot menu at all. 2021-08-15 21:51:53 So, I've flashed the same USB with Debian and it did pop up in the boot menu, so, I think this is an issue with Alpine itself, probably? I'm unsure; I used the USB --when it still had Alpine-- on my main computer, and it showed up in the boot menu; so, I have no clue as to what is going on. 2021-08-15 22:05:54 Jaafarhehim[m]: which iso image? 2021-08-15 22:06:21 I can test it tomorrow on my macbook pro 2010 2021-08-15 22:06:45 but not this night, I'm preparing for bed 2021-08-15 22:28:50 "Jaafar (he/him): which iso image..." <- Which Alpine ISO image? 2021-08-15 22:28:59 Or which Debian image? 2021-08-16 06:49:49 Jaafarhehim[m]: alpine iso, ofc 2021-08-16 10:03:18 mps: This one: https://dl-cdn.alpinelinux.org/alpine/v3.14/releases/x86_64/alpine-standard-3.14.1-x86_64.iso 2021-08-16 10:29:32 Jaafarhehim[m]: ok, will test it later when I come back home 2021-08-16 11:00:37 "Jaafar (he/him): ok, will test..." <- Awesome. 2021-08-16 11:33:39 Jaafarhehim[m]: iso boots fine on my macbook pro from usb 'stick', 'flashed' by simple 'dd' 2021-08-16 11:58:25 Yeah, I used `dd` as well. 2021-08-16 11:59:32 "Jaafar (he/him): iso boots..." <- What about Ventoy? I was using Ventoy before I flashed Alpine or Debian. 2021-08-16 12:02:38 I think, before I was flashing Alpine, I had one partition mounted. 2021-08-16 12:02:49 Jaafarhehim[m]: please do not quote messages on IRC 2021-08-16 12:03:04 harrydus[m]: what is Ventoy? 2021-08-16 12:03:33 Ok. 2021-08-16 12:03:36 ufm. sorry, I meant to quote Jaafarhehim[m] not harrydus[m] 2021-08-16 12:03:43 Lol. 2021-08-16 12:04:38 Ventoy is basically this thing that you flash into a USB drive, and you can add as many ISO images as you want, and you'd be able to boot from them. https://ventoy.net 2021-08-16 12:04:57 Jaafar (he/him): try to not use features IRC does not support in IRC-first channels like this one. Only in Matrix first channels you should do so 2021-08-16 12:05:13 Fine. 2021-08-16 12:05:20 That mainly means multiline messages and replies 2021-08-16 12:05:23 I'm too used to it. 2021-08-16 12:05:30 I know. 2021-08-16 12:05:31 Yeah I get it 😉 2021-08-16 12:05:54 Jaafarhehim[m]: aha, thanks for info. If you think ventoy could help try it 2021-08-16 12:06:20 mps: I said I did use it before Alpine or Debian. 2021-08-16 12:07:09 Jaafarhehim[m]: for me simple 'dd' always worked for all distros I tried 2021-08-16 12:09:09 It would show up in the boot menu just fine, but if I choose to boot two of the three ISOs I had on Ventoy (Alpine and Artix) neither of them would boot; they'd just be stuck in a black screen with an underscore. Which is weird, since I was able to boot into Artix (without Ventoy) back when I installed it a few months ago. 2021-08-16 12:10:51 what is ventoy? 2021-08-16 12:11:03 Jaafarhehim[m]: yes, booting from usb on macbook takes some time, also I had blank screen with underscore for about 15 (maybe 20-30) seconds before boot starts 2021-08-16 12:11:07 oh nvm, read the scroll 2021-08-16 12:11:45 mps: Oh, really, with Alpine, right? 2021-08-16 12:11:57 yes 2021-08-16 12:12:25 Alright, I guess I'll just wait for 15 minutes. 2021-08-16 12:12:39 uh, I say seconds :) 2021-08-16 12:12:55 might want to reset pram also 2021-08-16 12:13:10 right 2021-08-16 12:13:32 Oh. 2021-08-16 12:13:43 booting on mackbooks is funny endeavor 2021-08-16 12:14:02 What's pram? 2021-08-16 12:14:14 search: reset pram 2021-08-16 12:14:33 iirc, Persistent RAM 2021-08-16 12:14:57 parameter ram 2021-08-16 12:18:49 I've reset it, and got a flashing question mark. 2021-08-16 12:19:59 Ok, I plugged in my USB, and it's still not showing up in the boot menu. 2021-08-16 12:21:05 make sure you're using efi install of 2021-08-16 12:21:21 i don't know what ventoy is doing 2021-08-16 12:22:09 apple's efi is a bit different also, so the requirements for that might be specific to whatever you're using (including ventoy) 2021-08-16 12:22:34 apple is 'bad thing' 2021-08-16 12:22:48 My USB has Alpine again, I forgot to mention thay. 2021-08-16 12:22:54 that 2021-08-16 12:22:59 tbh i think apple's changes to efi probably make a lot of sense for them, because uefi in general is a mess 2021-08-16 12:23:03 and they managed to make real apples as bad looking 'things' 2021-08-16 12:24:49 i think the arch linux wiki would be a good resource for this topic (uefi) 2021-08-16 15:20:18 I think I'd just go with Debian instead, sorry guys. :( 2021-08-16 15:20:20 s/I'd/I'll/ 2021-08-16 15:28:57 he left, and I could tell him that I have debian and alpine on my macbook pro, so can chose which one to boot 2021-08-16 15:28:57 though I didn't booted debian for months 2021-08-16 15:29:43 but one user less whom I would try to help, so end result is good ;) 2021-08-16 15:34:38 yeah, i've got alpine on an old macbook that was stuffed into a desk drawer and it's getting more regular use now. 2021-08-16 15:35:41 one can put Alpine on a Macbook? o_O 2021-08-16 15:36:51 i don't remember doing anything special. power mgmt, lid open & close and all that worked without tweaking 2021-08-16 15:37:02 mainly it's just apple keyboard annoyances (no ins key) 2021-08-16 15:37:38 never had great luck with Linux on my 2008 Macbook, e.g. it worked but all sorts of little things were off in annoying ways 2021-08-16 15:38:13 e.g. trackpad was just always too sensitive and picked up spurious clicks, enough to make it near unusable 2021-08-16 15:39:06 the trackpad part of it works fine, i didn't do anything there (although i'd like to do tap clicks instead of actuating the pad click) 2021-08-16 15:39:23 but it's mainly the keyboard that annoys me to no end. 2021-08-16 15:40:01 invoked: xmodmap helps a lot on such keyboards 2021-08-16 15:40:04 it's so disorienting to go between an apple keyboard and anything else 2021-08-16 15:40:50 i have things remapped but i can't change the physical layout, right 2021-08-16 15:40:53 I use alpine on chromebooks with their specific keyboards, but remaped needed keys with xmodmap and 'no problem' 2021-08-16 15:41:01 same did on macbook 2021-08-16 15:41:27 physical? 2021-08-16 15:42:06 worse, apple changes their own layouts through generations 2021-08-16 15:42:21 that is true 2021-08-16 15:42:29 on that mac, fn is the left-most bottom row key, which is normally ctrl on a standard keyboard 2021-08-16 15:42:39 then meta is next to spacebar 2021-08-16 15:43:06 that stuff is seriously aggravating. also no ins/del/end/home/pgup/pgdown/et al 2021-08-16 15:43:22 invoked: module/driver for keyboard have few options where you can change Fn/Alt/Cmd keys 2021-08-16 15:43:49 I can post later my settings if you need them 2021-08-16 15:43:57 i know it can be remapped but i'd have to paint over the keys to not screw myself up, if i did that. 2021-08-16 15:44:22 heh, don't look at keyboard when you type 2021-08-16 15:45:00 i don't use macs much if i can help it. they're okay, it's just not worth the hassle. i just don't like wasting hardware, so i use that macbook as a toy mostly 2021-08-16 15:45:06 maybe you saw 'das keyboard' 2021-08-16 15:45:58 but if i remapped the command key to alt (which it would otherwise be naturally), i'd have to paint over those keys. 2021-08-16 15:46:03 I don't like apple but still thinking to by M1 (arm64) and put alpine on it 2021-08-16 15:47:11 apple make a good hardware. yes to closed but still very good and tooo pricy 2021-08-16 15:47:25 too closed* 2021-08-16 15:48:03 mps: I guess you know about https://asahilinux.org/ ? 2021-08-16 15:48:10 the m1 is certainly more "interesting" than the intel macs. 2021-08-16 15:48:13 jvoisin: sure 2021-08-16 15:48:50 not sure it warrants its own distro though 2021-08-16 15:49:00 jvoisin: I tested alpine on M1 few months ago, though with corellium version of kernel 2021-08-16 15:49:57 it worked fine though some drivers were not yet ready 2021-08-16 15:50:43 and there is a Pearl which works fine but missing sound driver and suspend/resume doesn't work 2021-08-16 15:51:23 these to keep me of the trying it 2021-08-16 15:51:32 these two* 2021-08-16 15:57:12 hodapp: libinput probably fixes that 2021-08-16 16:00:02 maybe I'll try this on my 2015 Macbook that I kinda don't like 2021-08-16 16:07:08 https://ftp.barfooze.de/pub/sabotage/tmp/oopsla2007-bloat.pdf nice reading for small system lovers 2021-08-16 17:25:48 jvoisin: I hope they know about Asahi, Japan? They'll have namesquatting trouble. 2021-08-16 17:33:10 xuser____: Hector Martin (marcan) is in Japan, afaik 2021-08-16 17:33:21 yup 2021-08-16 20:27:24 is there a way to hand-off a UDS (unix socket) connection? I have a problem where I need to create a UDS a.sock that when connected to, would connect to b.sock (which is basically a hub) and issue a CONNECT 123\n to it, receive an OK 987654321\n, after which it should hand off the connection as a normal UDS. 2021-08-16 20:30:28 this is called a proxy 2021-08-16 21:12:27 you can probably use socat for that 2021-08-16 21:13:03 ironically i think socat can't actually cat 2021-08-16 21:14:35 /b 1 2021-08-16 21:14:43 i think you'd need something like socat unix-listen:a.sock exec:"(echo CONNECT 123; cat) | socat - unix-connect:b.sock" 2021-08-16 21:15:10 although that's unidirectional 2021-08-16 21:37:55 i considered using socat but not only would it require a wrapper, I also expect many connections, socat would fork on each one which is bad. So the only way is to write a proxy with async in something like rust? I was hoping there is a way to hijack the stream fd or something. 2021-08-16 21:58:54 would an ld_preload hack that makes the application that initiates the uds connection also do the hub routine right afterward work? 2021-08-16 22:09:03 "work" 2021-08-16 22:19:47 I believe socket() connect() and libc functions, so in theory ld_preload should be able to hijack them, this is prob the best way to do it though it wont work on statically linked binaries. 2021-08-17 08:49:42 Ok, what the hell? I have a script with a `#!/bin/sh` shebang that behaves differently when I execute it as is, or with `sh ` 2021-08-17 08:50:36 It executes a `pkill` command and with `sh