2020-11-01 00:54:54 what is the package for php? 2020-11-01 00:55:04 apk add php7 2020-11-01 00:55:06 ERROR: unsatisfiable constraints: 2020-11-01 00:55:08 php7 (missing): 2020-11-01 00:55:10 required by: world[php7] 2020-11-01 01:01:49 oh community repo 2020-11-01 09:46:06 hey! is there a way to get rid of "WARNING: clock skew detected!" on rpi4 with working ds3231 rtc? 2020-11-01 09:47:07 MY-R: https://gitlab.alpinelinux.org/alpine/aports/-/issues/9032 2020-11-01 09:48:52 ikke, ahh, forgot that it will be in next release (Im using stable) thanks! 2020-11-01 09:49:35 or it should be already fixed in 3.12? 2020-11-01 09:50:54 No, don't think so 2020-11-01 09:59:38 ok 2020-11-01 14:10:10 why "lbu" doesnt remember dir group/owner of include directories? 2020-11-01 14:11:27 for example Im doing lbu include /var/lib/murmur/murmur.sqlite and after reboot it bring back that file with correct group owner but /var/lib/murmur dir is owned by root:root instead of murmur:murmur 2020-11-01 14:15:46 eh great :\ https://gitlab.alpinelinux.org/alpine/aports/-/issues/10124 2020-11-01 15:36:39 Is there a vncserver (xvnc, tigervnc) package in the repositories ? I need a headless vnc server. Currently I'm running 3.12 on my raspi. 2020-11-01 15:46:19 I can't find one. 2020-11-01 16:04:04 attos, "x11vnc" package? be sure you have enabled "community" repository in /etc/apk/repositories 2020-11-01 16:53:31 MY-R: x11vnc connects to a "real" X11 display. I want a headless vnc server. 2020-11-01 16:59:48 https://tigervnc.org/doc/Xvnc.html 2020-11-01 17:58:00 I prefer xrdp to vnc. 2020-11-01 19:08:01 advice me, please, if there was mips32 alpine rootfs/packages ever (and they was deleted, say, due to lack of maintenance), or there were never been mips32 support? 2020-11-01 19:09:06 afaik there never has been mips32 support 2020-11-01 19:09:30 There were plans, but with mips going bankrupt, chances are slim that's going to happen 2020-11-01 19:34:26 :'( 2020-11-01 19:58:43 something is wrong with my alpine setup (run from ram, usb) 2020-11-01 19:59:14 when I run apk upgrade -U, I get: 2020-11-01 19:59:15 apk upgrade --available 2020-11-01 19:59:16 87 errors; 2788 MiB in 689 packages 2020-11-01 19:59:23 oh, fun 2020-11-01 19:59:30 what does `apk fix` return? 2020-11-01 19:59:35 kernel wont go past 5.4.43-1-lts 2020-11-01 20:00:33 oh wow, that was huge scroll of similar errors, like this: 2020-11-01 20:00:38 failed to rename lib/modules/5.4.72-0-lts/kernel/net/sched/.apk.072e97cf3a429752d5f020ff551db408a5b9f2c942f23fcf to lib/modules/5.4.72-0-lts/kernel/net/sched/act_police.ko 2020-11-01 20:01:08 I have seen that error more often, but not really sure what's the cause of it 2020-11-01 20:01:19 Could you perhaps try to run that command with strace? 2020-11-01 20:02:10 ikke: would pasting the whole error somewhere be of help? I think this is only specific to run-from-ram systems isn't it? 2020-11-01 20:02:22 Not sure 2020-11-01 20:02:33 but we'd need to find out why the rename is not working 2020-11-01 20:05:24 and strace should show what systemcalls are being made and what is being returned 2020-11-01 20:10:36 is it possible to make apk ignore dependencies? I want to uninstall linux-firmware while keeping linux-lts installed. 2020-11-01 20:10:50 ikke: https://lists.alpinelinux.org/~alpine/users/%3CCAEhkKgV-OdZ8y406_yynrH7tcxjgXkKzSc6dCSZ_a6CUPUfBiA%40mail.gmail.com%3E 2020-11-01 20:10:55 I think this is related 2020-11-01 20:11:36 kdkasad: no, but you can install linux-firmware-none 2020-11-01 20:11:48 which satisfies the dependency while not installing any firmware 2020-11-01 20:12:05 ikke: perfect, thank you! 2020-11-01 20:12:26 abenz: ah yes 2020-11-01 20:12:31 that indeed makes sense 2020-11-01 20:12:35 modloop is read-only 2020-11-01 20:13:00 is there a clean/non-hacky way of updating the kernel/installing modules then? 2020-11-01 20:15:06 I'm not aware of any good method. To update the kernel you'd need to update the bootmedium 2020-11-01 20:18:02 ikke: update as in create a new usb and copy over my apkovl + cache folder? 2020-11-01 20:18:41 abenz: You can use setup-bootable to update it while leaving the apkovl/cache 2020-11-01 20:19:14 setup-bootable from within the (broken?) system itself? 2020-11-01 20:19:40 any alpine system should work 2020-11-01 20:20:44 alright will give it a shot. thanks for the help 2020-11-01 20:21:31 https://wiki.alpinelinux.org/wiki/Upgrading_Alpine#Upgrade_Operating_System 2020-11-01 20:22:57 much easier than I used to do it 2020-11-01 20:22:58 cheers 2020-11-01 20:30:17 gedit /etc/fstab is not working for me to try to mount a windows share - i'm pretty new to linux but wanted to try Alpine for lightweight and try to get into Containers as well. Can someone tell me the command to edit the fstab in Alpine? =] 2020-11-01 20:31:55 what kind of share is it? 2020-11-01 20:32:26 Can you mount it manually? 2020-11-01 20:33:04 its a windows share 2020-11-01 20:33:12 i wanted it to mount even on reboot 2020-11-01 20:33:18 which is why i wanted to use the fstab 2020-11-01 20:35:00 gedit can't edit that file since that needs elevated privileges 2020-11-01 20:35:08 so something like sudo nano would work 2020-11-01 20:35:20 jefu: Sure, just wanted to make sure that you could mount it in the first place 2020-11-01 20:48:50 EF: For using xrdp you also have to provide somthing serverside, e.g. xvnc or xorgxrdp. Both serverside components are not available for alpine 3.12 . 2020-11-01 20:56:11 @Cogitri thank you and @ikke thank you as well for the advice! I will try these out =] 2020-11-01 21:28:26 attos: xvfb + x11vnc is similar 2020-11-01 21:36:04 totally worked thanks! had to add rc-update add netmount default to start on restart as well 2020-11-01 21:38:11 although text programs are better 2020-11-01 21:38:23 or x forwarding if you insist on running some enterprise programs 2020-11-01 21:47:54 Hey, having issues with /etc/networking/if-pre-up.d/openvswitch not working? I have a /etc/networking/interfaces file configured per the OpenVSwitch guidelines, and the openvswitch package installs the helper script that is supposed to let you use that file to configure OVS, but it doesn't work 2020-11-01 21:48:28 ifup just complains that "allow-br0" is a misplaced option? 2020-11-01 21:49:20 or `rc-service networking restart` for that mattter, if it makes a different 2020-11-01 21:49:23 *difference 2020-11-01 21:53:47 Gorian: what version of alpine? 2020-11-01 21:54:17 3.12.1 2020-11-01 21:55:35 full disclosure - I initially had the issue with k3os, which is running alpine userspace, so tested on a pure alpine linux vm, just installed from the ISO, downloaded the openvswitch package via `apk add openvswitch` and then copied the config, and then I got the same error - so it *seems* to be an alpine issue? 2020-11-01 21:56:07 on the other hand, it's entirely possible I'm just doing the config wrong as I'm fairly new to working with OpenVSwitch 2020-11-01 21:56:24 but, it *looks* like the config is write as far as I can tell 2020-11-01 21:56:24 Maybe you miss some kind of helper that provides support for that option 2020-11-01 21:56:56 well that's what I'm saying - the openvswitch package installs `/etc/networking/if-pr-up.d/openvswitch` which is supposed to be exactly that 2020-11-01 21:57:02 At least, I thought that's what it is for 2020-11-01 21:57:34 but it doesn't seem to work? And i'm not sure if it's an error in the script, or an error in ifup somewhere, and I don't know how to troubleshoot it 2020-11-01 21:57:58 I can run the script manually, but it looks like ifup passes a bunch of variables to the script that I don't and don't know the format of in order to reproduce it 2020-11-01 21:58:44 hmm... I guess I could try my hand at a custom if-up that just writes that variables to a file or something? But I feel like there has to be a better way to trouble shoot this or something 2020-11-01 22:02:22 I'm not entirely familiar with the best way to be linking this from alpine, but this is the specific script here: 2020-11-01 22:02:26 https://pkgs.alpinelinux.org/contents?file=&path=%2Fetc%2Fnetwork%2Fif-pre-up.d&name=openvswitch&branch=v3.12&repo=community&arch=x86_64 2020-11-01 23:01:12 hello, how does on make a init service file depend on a network interface? 2020-11-01 23:01:46 its a tunnel interface that openvpn brings up but it takes a few seconds to actually bring up the tun. 2020-11-01 23:01:57 after openvpn doesnt getit 2020-11-01 23:04:37 https://github.com/OpenRC/openrc/blob/master/service-script-guide.md#depending-on-a-particular-interface 2020-11-01 23:06:31 awesome, thanks!! 2020-11-01 23:11:24 yep, doesnt seem smart enough to find the interface 2020-11-02 00:27:11 Hello71: xvfb + x11vnc works great and are both available in alpine 3.12. Thank you for the tip. X11 forwarding doesn't work here, because I need a stateless connection in order to connect/disconnect into the same running X program. 2020-11-02 03:37:45 anyone else have a clue about openvswitch? 2020-11-02 04:05:10 for further clarification, this is the ovs documentation describing the `/etc/network/interfaces` interaction with OVS 2020-11-02 04:05:16 https://github.com/openvswitch/ovs/blob/master/debian/openvswitch-switch.README.Debian 2020-11-02 04:06:21 to reproduce the issue, install the latest version of alpine, enable the community repository, add the openvswitch package, and then copy, say, example 2 from that document into the interfaces file 2020-11-02 04:06:44 the expected behaviour is that you should get an br0 configured for DHCP bridged to eth0 2020-11-02 04:07:18 what actually happens is that ifup throws an error saying `ifup: misplaced options "allow-ovs"` 2020-11-02 07:06:09 Hello, does alpine have good support to build static binaries (C or C++) 2020-11-02 07:08:02 amosbird: yes, but not sure what you mean by 'good' 2020-11-02 07:13:03 mps: It means it should work in most cases... 2020-11-02 07:13:31 amosbird: yes 2020-11-02 07:17:14 cool 2020-11-02 07:17:43 mps: does the default toolchain generate static binaries already? 2020-11-02 07:18:31 no, you have to set -static flag usually 2020-11-02 07:19:32 except if it is not already set in 'build' tool of package 2020-11-02 07:23:02 is there a docker image for this purpose? 2020-11-02 07:24:13 I'm not sure but I think no 2020-11-02 07:25:07 official docker and 'normal' alpine mostly, user have to add such 'tweaks' 2020-11-02 07:25:35 crystal lang devs have such one to build crystal static 2020-11-02 07:31:16 mps: " crystal lang devs have such one " hmm, what kind of "tweaks" here? 2020-11-02 07:31:32 do you mean to tweak the application build configurations or the alpine toolchain? 2020-11-02 07:32:27 It boils down to installing the right -static&-dev packages you need and then linking your application with -static 2020-11-02 07:35:05 amosbird: as Cogitri says, and you can look at crystal docker how they make it, I'm not much familiar with docker 2020-11-02 07:36:08 I never understood the point of dockers 2020-11-02 07:38:01 Reproducible environments are pretty neat, especially for development, CI or easy deployments 2020-11-02 11:53:22 Someone, ages ago, was helping me setup an Alpine box to boot LUKS from an SD card. Could do with a little assist if you're willing once again? 2020-11-02 14:04:40 Greetings! I am looking for some help with an error I am receiving while trying to build an alpine:nginx Docker container. 2020-11-02 14:04:53 The error I get is: ERROR: http://dl-cdn.alpinelinux.org/alpine/v3.12/main: network error (check Internet connection and firewall) 2020-11-02 14:04:53 WARNING: Ignoring APKINDEX.2c4ac24e.tar.gz: No such file or directory 2020-11-02 14:06:07 I have checked the firewall (I'm on Windows 10, using Ubuntu 20.04 on WSL2), both from Windows and from Ubuntu, and that is not causing a problem 2020-11-02 14:06:52 From Ubuntu, I can receive the headers: curl -Is http://dl-cdn.alpinelinux.org/alpine/v3.12/main 2020-11-02 14:07:18 That returns: 2020-11-02 14:07:18 HTTP/1.1 301 Moved Permanently 2020-11-02 14:07:18 Server: nginx 2020-11-02 14:07:18 Location: http://dl-cdn.alpinelinux.org/alpine/v3.12/main/ 2020-11-02 14:07:18 Content-Type: text/html 2020-11-02 14:07:19 Strict-Transport-Security: max-age=31536000 2020-11-02 14:07:19 X-Frame-Options: DENY 2020-11-02 14:07:20 X-Content-Type-Options: nosniff 2020-11-02 14:07:20 Via: 1.1 varnish, 1.1 varnish 2020-11-02 14:07:21 Content-Length: 178 2020-11-02 14:07:21 Accept-Ranges: bytes 2020-11-02 14:07:22 Date: Mon, 02 Nov 2020 13:48:27 GMT 2020-11-02 14:07:22 Age: 0 2020-11-02 14:07:23 Connection: keep-alive 2020-11-02 14:07:51 Sorry for flooding the channel -- IRC is new to me... 2020-11-02 14:08:35 You can use a paste service next time 2020-11-02 14:08:54 OK, thanks, I'll check that out 2020-11-02 14:08:55 https://tpaste.us 2020-11-02 14:09:29 Oh, thanks! 2020-11-02 14:09:46 What arch are you on? 2020-11-02 14:10:10 x86_64 2020-11-02 14:10:55 Can you try the curl command in a docker container? 2020-11-02 14:12:19 Just asec 2020-11-02 14:14:58 I will try that, and return if I need more assistance. I need to create some static content to test the standalone image. Thanks! 2020-11-02 19:17:37 hi why do I get these errors from setup-alpine? https://termbin.com/pw66 2020-11-02 19:17:54 You need to run it as root 2020-11-02 19:34:21 ikke: but it says just run setup-alpine 2020-11-02 19:34:34 not sudo setup-alpine 2020-11-02 19:34:50 it's a generic motd 2020-11-02 19:35:06 but vagrant by default logs you in as a non-root user 2020-11-02 19:36:11 but you definitely need to run it as root 2020-11-02 19:39:23 ok but why does setup-alpine continue after Permission denied errors? its output in that paste makes it look like a bug and setup-alpine also does not exit 2020-11-02 19:40:46 joebobjoe: no `set -e`, so it will continue even if some commands fail 2020-11-02 19:41:55 oh it is a script 2020-11-02 19:42:13 yes 2020-11-02 19:42:22 https://gitlab.alpinelinux.org/alpine/alpine-conf/-/blob/master/setup-alpine.in 2020-11-02 19:47:49 ok I think I have found a bug 2020-11-02 19:48:04 in the paste, why does setup-alpine list all the file in my current directory? how is that relevant to the script? 2020-11-02 19:48:27 dang I forgot to put the final line of output in the paste: 2020-11-02 19:48:28 Select keyboard layout [none]: 2020-11-02 19:48:52 why does it prompt me for my keyboard layout after printing all the files in my current directoru? 2020-11-02 20:04:17 how do I resolve a package conflict? https://termbin.com/cfam 2020-11-02 20:04:34 man requires mandoc, but mandoc breaks man-db?? 2020-11-02 20:07:18 mdocml was renamed 2020-11-02 20:07:23 apk del mdocml 2020-11-02 20:09:37 oh what does the name in brackets mean 2020-11-02 20:10:49 ikke: https://termbin.com/bm7t 2020-11-02 20:14:22 apk del man 2020-11-02 20:15:02 mandoc still provides mdocml, so that's not the issue, but there is nothing providing man anymore 2020-11-02 20:17:03 ikke: does this make sense? https://termbin.com/7zqj 2020-11-02 20:17:34 progress. what does apk fix return 2020-11-02 20:17:57 https://termbin.com/cis6 2020-11-02 20:18:30 Do you have the community repository enabled? 2020-11-02 20:18:56 I don't think so? 2020-11-02 20:19:05 cat /etc/apk/repositories 2020-11-02 20:19:06 this is just in a vagrant machine I'm using to compile against musl 2020-11-02 20:19:20 man-db is from community' 2020-11-02 20:19:29 https://termbin.com/hnrt 2020-11-02 20:21:29 do community repositories follow a rolling or fixed update schedule? 2020-11-02 20:22:04 It's the 'branch' that's part of a release schedule, not the repository 2020-11-02 20:22:15 so everything in edge is rolling release 2020-11-02 20:22:35 then twice per year, we make a release 2020-11-02 20:22:38 v3.12 is the latest atm 2020-11-02 20:23:09 joebobjoe: You just need these 2: https://tpaste.us/8jXW 2020-11-02 20:27:12 ok I only have those two repos now 2020-11-02 20:27:19 I think I fixed it by del man-db 2020-11-02 20:27:26 but now I don't have man or man pages for musl 2020-11-02 20:28:58 apk add mandoc docs 2020-11-02 20:36:50 oh docs there it is thank you! 2020-11-02 20:38:02 um wait when I do man 3 printf I get the docs for glibc 2020-11-02 20:38:06 I thought alpine ran on musl 2020-11-02 20:38:42 yes, it does 2020-11-02 20:39:12 so the linux kernel docs are tied to glibc 2020-11-02 20:39:29 ok I have the posix man pages 3p I guess that's good for musl 2020-11-02 20:39:38 yeah, should be 2020-11-02 20:39:48 thanks for all your help ikke 2020-11-02 20:40:04 wish I could figure out how to fix it myself next time 2020-11-02 20:42:11 apk version -l '?' can help to identify packages that are no longer present 2020-11-02 20:43:43 I installed alpine with vagrant on mac quite a while ago. should I update these packages? https://termbin.com/8rcb8 2020-11-02 20:44:07 linux-virthardened -> linux-virt 2020-11-02 20:44:35 same for the virtualbox-guestmodules-virthardened 2020-11-02 20:45:38 how did you know this time? 2020-11-02 20:46:16 Knowing the history of the kernel packages 2020-11-02 20:46:33 linux-hardened -> linux-vanilla -> linux-lts 2020-11-02 20:46:45 and linux-virthardened -> linux-virt 2020-11-02 20:47:47 so as a user of alpine I am expected to keep up with these kinds of packaging changes to maintain an up to date system? 2020-11-02 20:47:57 or just run apk -l '?' and troubleshoot then? 2020-11-02 20:48:19 I guess better to do it manual than automatic and have your system become wonky? 2020-11-02 20:48:56 In many cases we try to provide an automatic upgrade path 2020-11-02 20:49:04 but there are some holes 2020-11-02 20:49:40 and especially if you skip releases, then you might miss some of them 2020-11-02 20:50:29 ah ok 2020-11-02 22:31:11 I was having trouble with iSCSI storage -- the iscsid service start would complete, but the devices weren't in /dev yet. The netmount service would then try to mount the disk, but would fail. A second or two later, the disk devices would show up and could then be mounted. Is there a standard way of handling this? 2020-11-03 07:39:10 Someone, a couple of months ago, was helping me setup an Alpine box to boot LUKS from an SD card. Could do with a little assist if you're willing once again? 2020-11-03 11:47:08 It seems like Alpine does not come with an Xsession script in /etc/X11 - I'm trying to trigger xsession from gdm login as described on https://askubuntu.com/questions/1103722/how-to-use-custom-xsession-with-gdm3-in-ubuntu-18-04-bionic 2020-11-03 11:47:31 I search for packages, but also did not spot anything like xorg-xsession or similar - does anyone have a pointer on where it might be? 2020-11-03 11:48:18 /etc/X11/xinit/Xsession 2020-11-03 12:06:37 thanks, mps! 2020-11-03 16:43:17 If anyone has a second for a quick question. I am working on setting up a alpine based file server with zfs and ready to create my pools, the issue I have run into is that there is no /dev/disk/* path which I traditionally used to specify the disks in place of the kernel based names, sda, sdb etc. 2020-11-03 16:43:43 Is it possible to enable this functionality in some way? 2020-11-03 16:44:57 rbrt: you need udev for that (or somehow add something for that in mdev/eudev 2020-11-03 16:46:35 @ikke Thank you! It seems udev just creates virtual links to the devices via those paths. 2020-11-03 16:47:18 rbrt: afaik, thats what they usually are 2020-11-03 16:47:47 on my arch system they are all links as well 2020-11-03 17:14:20 rbrt: /dev/disk/by-* are supposed to be symlinks 2020-11-03 18:29:36 has anyone got OpenVSwitch and `/etc/network/in-pre-up.d/openvswitch` working in alpine? 2020-11-03 19:57:43 I have installed Alpine on a raspberry Pi4 model B. I did a classic sys installation on it with xfce4 as Desktop. All packages was installed from main repositories (no edge) and i took the last aarch64 image available from the Alpine site. 2020-11-03 19:57:43 The system boot well, Xorg work correctly and the Desktop too. 2020-11-03 19:57:43 But, i have trouble with dual screen. The first hdmi port (the nearest of the power supply) works as expected and correctly detected by the system but the second one doesn't work. It display a rainbow screen. 2020-11-03 19:57:43 I try to see if it's detected by tool like /opt/vc/bin/tvservice but without any success. I try to configure the second hdmi by the boot/config.txt file, but again without any success. I thought that can be a missing modules to load earlier at boot time by the cmdline.txt file but i don't know which module can cause the trouble. 2020-11-03 19:57:43 So, it will be very appreciated if someone have a piste to follow to share. 2020-11-04 01:10:34 hello. how do i add international Hebrew support to KDE? 2020-11-04 15:25:35 I'm using alpine edge and when I do an apk upgrade I got multiple packages with "BAD signature" 2020-11-04 15:25:47 how can I fix that? I guess I'm missing some signatures? 2020-11-04 15:26:48 iveqy_: dl-cdn mirror? 2020-11-04 15:27:12 dl-2.alpinelinux.org 2020-11-04 15:27:18 hmm 2020-11-04 15:27:33 What packages? 2020-11-04 15:28:09 fakeroot, ncurses-dev, cargo-zśh-completion, bison, py3-setuptools 2020-11-04 15:29:30 and that's just the first of them, there's multiple more 2020-11-04 15:29:49 Is there something in between medling with the connection? 2020-11-04 15:29:58 maybe I should try to change mirror 2020-11-04 15:30:02 not what I know of 2020-11-04 15:30:12 try https://dl-cdn.alpinelinux.org 2020-11-04 15:30:18 I just tried dl-2, without issue 2020-11-04 15:30:18 I am using http://dl-2... 2020-11-04 15:30:31 I just tried that, no bad signatures here 2020-11-04 15:30:43 dl-cdn supports https 2020-11-04 15:31:24 changed to dl-cdn, still the same error. My keys are alpine-devel@lists.alpinelinux.org-4a6a0840.rsa.pub alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub 2020-11-04 15:31:32 alpine-devel@lists.alpinelinux.org-5243ef4b.rsa.pub 2020-11-04 15:32:05 same keys here 2020-11-04 15:38:07 ikke: that's really strange! 2020-11-04 15:38:48 iveqy_: do you have cached packages locally? 2020-11-04 15:38:54 /etc/apk/cache 2020-11-04 15:39:26 yeah, removing them now 2020-11-04 15:39:53 and now it all works 2020-11-04 15:39:59 heh 2020-11-04 15:40:36 so I guess I'd corrupted packages in /etc/apk/cache. The reason for that is that my computer suddenly shuts down every now and then. I haven't been able to pinpoint that error yet (I can just restart it when it happens) 2020-11-04 15:40:52 it's either an alpine problem or a hardware problem (perhaps my RAM?) 2020-11-04 15:41:10 Another option is that they are still the packages from v3.12 2020-11-04 15:41:14 with the same name 2020-11-04 15:41:17 but different hash 2020-11-04 15:41:32 on edge better to always use upgrade -a 2020-11-04 15:41:43 yes 2020-11-04 15:41:48 ikke: hmm that's true, that can also be the case 2020-11-04 15:42:05 any time you switch between releases you should use -a 2020-11-04 15:43:16 (--available) 2020-11-04 15:47:46 ikke: thanks! (as usual) 2020-11-04 15:48:57 You're welcome 2020-11-04 18:36:50 iveqy_: I recently debugged a problem where my server would lock up periodically (every few weeks). Not fun. In my case it ended up being the CPU or motherboard. I had to swap out every other part and run it for a few weeks until the issue happened again. Good luck with your issue. 2020-11-04 18:38:51 Oh, iveqy_ left. 2020-11-04 18:47:05 hello all 2020-11-04 18:47:55 Still trying to sort out DNS issue on edge 2020-11-04 18:48:15 related I believe to this issue https://gitlab.alpinelinux.org/alpine/aports/-/issues/11879 2020-11-04 19:41:53 So docker on Mac? 2020-11-04 19:50:09 anyone around today that has any idea about getting openvswitch ifupdown scripts working on alpine? 2020-11-04 19:50:43 I installed `ifupdown` and `run-parts` from the repo to replace the busybox versions, but it didn't fix the issue. Unlike, say, debian, there is no `ifupdown` extras package 2020-11-04 19:51:19 @ikke nope 2020-11-04 19:51:34 running into that issue but with pmOS 2020-11-04 19:51:44 and alpine severs 2020-11-04 19:52:47 but I think that the dns servers might be behaving the same way in not distinguishing between NODATA and NXDOMAIN 2020-11-04 19:52:50 not sure 2020-11-04 19:52:53 all hunches 2020-11-04 19:53:00 have edge device to test with now 2020-11-04 19:53:05 recompiling kernel 2020-11-04 19:53:16 bbiab 2020-11-04 20:03:01 Gorian: there is 'apk info ifupdown' 2020-11-04 20:03:11 it is not installed by default 2020-11-04 20:04:04 yeah - that's what I just said I did though 2020-11-04 20:05:01 and there is ifupdown-ng 2020-11-04 20:05:17 will that fix the issue? 2020-11-04 20:06:02 I mean, it's super easy to reproduce the issue honestly. Install latest alpine. apk add openvswitch. Try openvswitch specific `/etc/networking/interfaces` config, and it doesnt' work 2020-11-04 20:06:06 don't know 2020-11-04 20:06:31 last time I upgraded ifupdown was more than a year ago 2020-11-04 20:07:07 and I didn't noticed any extra in source 2020-11-04 20:09:32 https://pkgs.alpinelinux.org/contents?branch=edge&name=ifupdown&arch=s390x&repo=main 2020-11-04 20:09:53 not see any extra in content of pkg 2020-11-04 20:10:16 is it just not possible to make this work in Alpine then? 2020-11-04 20:11:11 I don't know, never tried openvswitch 2020-11-04 20:11:31 but on alpine everything is possible :) 2020-11-04 20:19:02 Gorian: Like I said earlier, it looks like a helper is missing. Something that handles that specific option that it does not recognize atm 2020-11-04 20:24:24 so I guess I'll just have to look at writing some bash script or something to configure the network instead of just using the interfaces file 2020-11-04 20:27:22 Gorian: possibly https://github.com/openvswitch/ovs/blob/master/debian/ifupdown.sh 2020-11-04 21:47:47 we have gui app to use camera on computer but I forgot name 2020-11-04 21:48:29 hmm, guvcview 2020-11-04 21:53:14 Cheese also works depending on what you want to do 2020-11-04 21:54:16 first I have to enable driver in kernel 2020-11-04 21:54:47 and I forgot for cheese, thanks for reminding me 2020-11-04 22:40:50 Lol, guys 2020-11-04 22:40:58 I'm installing alpine on qemu 2020-11-04 22:41:08 On aarch64.. on my phone :D 2020-11-04 22:41:17 Running docker too 2020-11-04 23:04:54 does someone have the time to test if this bug also affects his alpine 3.12.1 installtion? seems to be unfixed for at least some time > https://gitlab.com/libvirt/libvirt/-/issues/73 2020-11-04 23:08:03 alpine 12 is still on libvirt version 6.6.0-r3 and the bug is fixed in libvirt > 6.7 2020-11-04 23:08:39 but the release is at least two months old. so not sure what happened here. 2020-11-04 23:08:40 alpine 12 does not yet exist 2020-11-04 23:10:54 hehe. meant 3.12 2020-11-04 23:15:15 with the recent move from libvirt to say 'we only care about glibc' i assume nobody uses it on their musl distros anymore. 2020-11-05 00:57:57 ikke that's the `/etc/networking/if-pre-up.d/openvswitch` script that I initially started the conversation about, that comes with the openvswitch packages when you install it via apk 2020-11-05 00:58:13 and it not working is the whole issue I've been having 2020-11-05 06:31:10 do I need to run fcgiwrap via spawn-fcgi? I can't seem to get anything but 502s with just nginx + fcgiwrap... 2020-11-05 06:46:04 rnkn: does nginx's log say something useful? 2020-11-05 06:48:20 Cogitri: nah, just "GET / HTTP/1.1" 502 150 "-" 2020-11-05 06:49:30 I know it works with spawn-fcgi, I'm just curious if it *needs* spawn-fcgi (since I currently have things working on a FreeBSD server with just nginx + fcgiwrap) 2020-11-05 06:50:43 rnkn: That sounds like you're looking at your access and not your error log? 2020-11-05 06:51:55 ah 2020-11-05 06:55:08 Cogitri: you're right, error.log clearly says permission denied 2020-11-05 06:56:53 So I guess you need to change the permissions of your fcgiwrap socket 2020-11-05 07:01:07 okay, cool. should I just overrite the /etc/init.d/fcgiwrap file, or is there a nice way to pass overrides to openrc? 2020-11-05 07:01:18 * overwrite 2020-11-05 07:03:34 Maybe it has a config switch for that in /etc/conf.d/fcgiwrap 2020-11-05 07:06:14 nope, but are the variables in /etc/conf.d/* files just simple sh variables? i.e. can I override /etc/init.d/* script variables via /etc/conf.d files? 2020-11-05 07:07:36 hmm experiment suggests no... 2020-11-05 07:08:36 ls 2020-11-05 07:15:52 ls 2020-11-05 07:16:02 ls 2020-11-05 08:49:39 sorry to bombard with problems, but I've installed markdown_py with apk add py3-markdown, but any call to it results in http://ix.io/2D4G/ 2020-11-05 08:49:48 "ModuleNotFoundError: No module named pkg_resources" 2020-11-05 08:51:17 okay, solved, py3-markdown requires py3-setuptools 2020-11-05 08:56:22 Could you open a gitlab issue for that? 2020-11-05 08:56:36 https://gitlab.alpinelinux.org/alpine/aports/issues/new 2020-11-05 08:58:01 just did! 2020-11-05 08:58:03 Alpine's bb do not have tcpsvd 2020-11-05 08:58:20 How to use alpine bb's ftpd ? 2020-11-05 08:59:58 and now, after several hours work, I am destroying my BSD server having migrated everything to Alpine -- hooray! 2020-11-05 09:00:39 good work 2020-11-05 09:04:44 wener[m]: busybox-extra have ftpd 2020-11-05 09:05:23 mps: run ftpd need tcpsvd 2020-11-05 09:05:45 ftpd -h show the syntax like this `tcpsvd -vE 0.0.0.0 21 ftpd /files/to/serve` 2020-11-05 09:08:52 long time ago I proposed enabling it in busybox-extra but didn't got any yes|no 2020-11-05 09:09:02 and also runit in bb 2020-11-05 09:12:13 hope this is enabled 2020-11-05 09:12:25 bb ftpd is simple and easy to use 2020-11-05 09:28:46 strange, alpine bb's ftpd is not working with manual downloadded busybox 2020-11-05 09:29:00 this works `./busybox tcpsvd -vE 0.0.0.0 8080 ./busybox ftpd -w -A -SS -a admin $PWD` 2020-11-05 09:29:20 this not `./busybox tcpsvd -vE 0.0.0.0 8080 ftpd -w -A -SS -a admin $PWD` 2020-11-05 09:30:10 busybox is fetched by `curl -o busybox https://busybox.net/downloads/binaries/1.31.0-defconfig-multiarch-musl/busybox-x86_64` 2020-11-05 09:34:58 tested by `rclone lsd --ftp-host 192.168.1.1 --ftp-port 8080 --ftp-user anonymous --ftp-pass $(rclone obscure abc) :ftp:./` 2020-11-05 14:05:10 how to run alpine's i386 docker image ? 2020-11-05 14:05:30 from an x86_64 machine 2020-11-05 14:05:59 lazy solution Piraty -> docker run --rm --privileged multiarch/qemu-user-static:register --reset --credential yes 2020-11-05 14:06:30 then you can just run it as you would any old docker container 2020-11-05 14:06:55 `docker pull i386/alpine` ? i386 is an official 'namespace' ? 2020-11-05 14:10:30 yep it is, you can do something like this in your docker file, it'll pull in the right image FROM i386/alpine:edge 2020-11-05 14:10:52 thanks 2020-11-05 14:11:00 https://gitlab.com/Durrendal/WS-Docker-Builds/-/tree/master/mrbuildit/x86 <- this is a simple APK builder that I run on an x86_64 server, that's x86 inside of the container 2020-11-05 14:12:26 It isn't too much effort if you're just doing x86 on x86_64. Now if you want to do arm7/64 or something on x86_64 then you need to include the qemu-static binary in the container to get it to work 2020-11-05 14:47:35 <_j> Hi There 2020-11-05 14:48:31 <_j> Just wondering, does alpine-extended still run-from-ram? I've tried booting the iso on a USB but I can't umount it and it doesn't seem to be copied to ram 2020-11-05 14:48:59 _j: yes, all alpine iso's are run-from-ram 2020-11-05 14:49:07 <_j> I've also tried 'docache' and 'toram' in the kernel command line, as these are common options in other isos 2020-11-05 14:49:11 <_j> Hmm odd... 2020-11-05 14:49:22 <_j> It doesn't copy to ram on boot 2020-11-05 14:49:56 <_j> Oh I may be wrong here, / is a tmpfs 2020-11-05 14:50:08 <_j> but I still can't unmount the USB disk? 2020-11-05 14:50:37 rc-service modloop stop 2020-11-05 14:51:03 the modloop remains on the usb drive 2020-11-05 14:51:07 <_j> ikke: Ah it's a loop device, many thanks :) 2020-11-05 14:52:47 <_j> Also I just had another query - I'm trying to make a Bootable USB to use as a drive that I can boot into as a recovery disk of sorts with X et cetera, is it possible to fully encrypt it with LUKS/GRUB? 2020-11-05 14:54:26 I don't know, sorry 2020-11-05 15:07:11 <_j> ikke: fair thanks 2020-11-05 15:43:01 <_j> Hi again sorry - is it possible to specify an apkovl at boot? 2020-11-05 15:44:02 apkovl argument 2020-11-05 15:45:23 <_j> ikke: thanks 2020-11-05 15:45:48 <_j> I'm attempting to create a LUKS encrypted partion, formatted as ext2 and copy over the bootable stuff to it 2020-11-05 15:46:01 <_j> Then just point it to the APKOVL/cache 2020-11-05 15:49:12 _j: https://gitlab.alpinelinux.org/alpine/mkinitfs/-/blob/master/initramfs-init.in#L335 2020-11-05 15:50:40 <_j> ikke: many thanks :) 2020-11-05 15:51:51 No problem 2020-11-05 16:42:27 <_j> ikke: I gave up, I guess using an encrypted apkovl is good enough :') 2020-11-05 18:32:49 Hi, I'm looking to move away from Ubuntu, possibly to Alpine. I've used Arch for most of the last few years. I'd be using it on my personal laptop. I'm just wondering what people here use Alpine for, what they run it on? 2020-11-05 18:35:16 nooo don't do it 2020-11-05 18:35:57 jk 2020-11-05 18:37:20 soft_concrete: I also use arch on my daily driver and am slowly switching to alpine 2020-11-05 18:37:43 hq: do you miss the AUR, the Arch Wiki, the general fact that Arch is more mainstream than Alpine? 2020-11-05 18:38:07 soft_concrete: I'll be running it (technically, pmOS) on my pinebook pro, and eventually it will be used as my primary machine (largely only not used for gaming) 2020-11-05 18:39:12 i only use alpine on my raspberry pi 2020-11-05 18:39:41 soft_concrete: the arch wiki is a decent resource but it's focused on vanilla programs (as is all of arch) so it's largely still applicable 2020-11-05 18:39:58 soft_concrete: additionally, as I've gotten more familiar with linux, I've gravitated more towards manuals than wikis 2020-11-05 18:40:38 soft_concrete: and to your first/final point, the alpine contribution system is amazing (so much so that I've already contributed packages to the testing repos) 2020-11-05 18:41:47 so I don't really miss the AUR; and you can still use the PKGBUILDs as a good place to start authoring your own APKBUILDs 2020-11-05 18:42:04 soft_concrete: arch is more mainstream, and has better support for a lot of thigns 2020-11-05 18:42:11 (which is why I'm not fully on alpine yet) 2020-11-05 18:42:20 but I find that kind of minor 2020-11-05 18:43:39 Alpine would probably be perfect for a little home server, though 2020-11-05 18:43:52 with the focus on efficiency and security that it claims to have 2020-11-05 18:45:11 I'm considering eventually running alpine on my webserver 2020-11-05 18:45:14 we'll see 2020-11-05 18:45:24 well, I use alpine as workstations for about three years 2020-11-05 18:46:07 on different architectures, x86, x86_64, armv7 and aarch64 2020-11-05 18:50:13 soft_concrete: well, just check packages if all what u need is in repo, then it takes 10 minutes and u are on alpine ;) 2020-11-05 18:51:49 soft_concrete: just don't take alpine wiki too much serioursly, it's junk ;) 2020-11-05 19:35:45 https://gitlab.alpinelinux.org/alpine/aports/-/issues/8232 2020-11-05 19:35:45 I'm having this exact issue with smokeping + perl-rrd-1.7.2-r3 on edge right now 2020-11-05 19:35:56 any possibility that this is user error or did the maintainers indeed forget to rebuild? 2020-11-05 19:39:11 yes, certainly possible 2020-11-05 19:39:14 can confirm 2020-11-05 19:41:59 yeah, rrdtool has not been rebuilt 2020-11-05 19:42:38 I wonder why it keeps being forgotten 2020-11-05 19:45:19 sfan5: triggered a rebuild 2020-11-05 19:48:11 thanks 2020-11-05 20:31:38 ikke: thank you for all your work 2020-11-05 20:34:02 hello. i've been using alpine for a while for my servers and i really like the way the packages are split (-doc, -openrc, -dev etc.) but i've noticed that openrc subpackages (or sometimes packages) contain a conf.d config most of the time 2020-11-05 20:34:53 i was asking myself why that would be the case as default variables can be configured in the init.d directly with $\{VAR:-default\} 2020-11-05 20:36:35 hg: appreciate it 2020-11-05 20:36:45 ikke: maintainers are never thanked enough 2020-11-05 20:36:54 ikke: always :) 2020-11-05 20:38:57 caskd: dunno why you would put the backslashes, but it's also valuable for the comments and a list of common variables 2020-11-05 20:39:15 ah, my bad with the backslashes 2020-11-05 20:39:52 i could see the comments integrated in the init.d itself 2020-11-05 20:40:50 common variables could also be included at the top like a list of VAR1=${VAR1:-default1} VAR1=${VAR1:-default2} 2020-11-05 20:41:00 some packages already do that 2020-11-05 20:42:17 caskd: it's up to the programmer 2020-11-05 20:42:30 some of my scripts (even some of my programs) do that for defaulting env variables 2020-11-05 20:42:36 not everyone does that 2020-11-05 20:43:19 i can understand that, but it would be interesting if separate packages could override conf.d without relying on post-install or such 2020-11-05 20:45:48 caskd: it is better to separate config from init script, in case of upgrades if conf is changed new init script will be installed 2020-11-05 20:46:20 in case user change config in init script then init script will not be upgraded 2020-11-05 20:47:09 well, i mean that the user still uses conf.d/x to configure any variables but that the conf itself is not provided by the package 2020-11-05 20:47:29 look in your /etc/init.d/ if you have files ending in apk-new 2020-11-05 20:47:39 i know, i know 2020-11-05 20:47:51 the changes to the config would still be done via conf.d 2020-11-05 20:48:25 it's just that the file wouldn't be provided by default and only should be created when the user needs to change something 2020-11-05 20:48:58 that way other packages can provide custom conf.d variables along software configs 2020-11-05 20:49:16 caskd: What problem are you trying to solve with that? 2020-11-05 20:50:26 i am currently trying to use apk to deploy configurations (which might/might not be the best tool for it) and i can see potential in having the command line arguments also be automatically configured by the package 2020-11-05 20:50:53 but the package cannot overwrite files owned by another package (makes sense) 2020-11-05 20:51:40 ok, understood 2020-11-05 20:52:27 Not ideal, but in the past I solved that by using after-install scripts to overwrite the config 2020-11-05 20:52:38 (ofcourse never in official packages) 2020-11-05 20:52:55 i considered that, but i think this would be a cleaner and better approach 2020-11-05 21:08:29 would you think that changing a few packages to have the variables ordered like that would be accepted? if yes, i am willing to do it for a few packages 2020-11-05 21:33:04 wow, this irc client is shit - it randomly disconnects me, and then will sit there for literal *hours* telling me it's reconnecting, but never does, and I have to completely refresh, losing all the channel history 2020-11-05 21:35:32 finally figured out how to add custom command output to my PS1 in ash 2020-11-05 21:35:35 very nice 2020-11-05 21:50:53 Gorian: which one? 2020-11-05 21:59:16 Can I make "del" not remove my libraries, which come with install-dev ? 2020-11-05 21:59:43 When removing my virtual build-dependency packages, I need to reinstall all the normal runtimes/libaries ;) 2020-11-05 22:23:20 which IRC client? webchat.freenode.net 2020-11-05 22:24:20 Had an IRC bouncer at one point, but apparently, 100% of the SSO code on it was a third party PR that wasn't maintained, and it didn't support LDAPS, so as soon as I added TLS to AD, it broke, and I atm I'm migrating my infrastructure to k3os 2020-11-05 22:24:41 which, I need to solve some of these other problems before having infrastructure to do something like deploy an IRC bouncer again 2020-11-05 23:21:19 DLL: 2020-11-05 23:21:20 oops 2020-11-05 23:33:38 Ah, I fixed it ... 2020-11-05 23:33:50 the goold old ldconfig-bug 2020-11-05 23:35:40 No, it's still there. Damn, do I really need GCC for that? hmm 2020-11-06 00:13:09 what is "install-dev" 2020-11-06 00:32:19 victory 2020-11-06 00:32:32 managed to do a really simple reimplmentation of pushd/popd/dirs in posix sh 2020-11-06 00:32:40 so now I get to have those niceties on ash :) 2020-11-06 00:35:44 or better, use a subshell 2020-11-06 00:37:03 Hello71: not unreasonable 2020-11-06 00:37:23 Hello71: negative being that I'd end up with a ton of processes lying around 2020-11-06 00:37:30 uh 2020-11-06 00:37:36 this way, only the exact amount of storage necessary to store the stack is used 2020-11-06 00:38:03 or, do you mean subshell as in () 2020-11-06 00:38:31 if so, I'm not sure how I'd use that in place of pushd/popd/dirs when I'm in an interactive shell 2020-11-06 00:38:35 because that's really when I want them 2020-11-06 00:40:30 I don't really care about them when scripting :) 2020-11-06 06:07:22 Hi folks. I'm not building my own docker images from scratch so please bare with me if I ask stupid questions. Looking at https://pkgs.alpinelinux.org/package/edge/community/x86_64/php7 it says "Version 7.4.12-r0" however if i apk add php7 and do a php --version i get "PHP 7.3.24 (cli) (built: Oct 30 2020 13:32:21) ( NTS )". Why is that? 2020-11-06 06:07:46 s/from scratch/from scratch that often/ 2020-11-06 06:08:55 (using alpine base image 3.12.1 2020-11-06 06:09:46 Anticom: https://pkgs.alpinelinux.org/package/v3.12/community/x86_64/php7 2020-11-06 06:09:57 You look at the version from edge, while you use v3.12 2020-11-06 06:10:15 ah i see 2020-11-06 06:10:38 ikke: so if I really needed ^7.4 what would you recommend to do? 2020-11-06 06:10:54 wait until v3.12, or switch to edge 2020-11-06 06:10:58 v3.13 2020-11-06 06:10:59 I mean 2020-11-06 06:11:12 How bad is using edge for production environment? 2020-11-06 06:11:16 If it saves my day 2020-11-06 06:11:30 because i really need 7.4 and i don't want to build it from source 2020-11-06 06:12:03 It can work if you use tagged docker images 2020-11-06 06:12:15 dang it 2020-11-06 06:13:08 And looking at the image tags I'm assuming the release cycle is 2 months 2020-11-06 06:13:28 I mean, if you tag your images yourself 2020-11-06 06:13:59 make a php7 base image that you know works, and continue from there 2020-11-06 06:14:33 ikke: hm there actually is an edge tag, however it's 2 months old https://hub.docker.com/layers/alpine/library/alpine/edge/images/sha256-fbe2a7addebc4446cc8edaa226313c44d28c8a4c450a0aa66b87a6204bf3b6c9?context=explore 2020-11-06 06:14:56 Yeah, edge is 'snapshotted' every so often 2020-11-06 06:15:16 okay thanks for the info :) 2020-11-06 06:15:47 might try php:7.4-fpm-alpine as base image then 2020-11-06 08:08:05 Someone, a couple of months ago, was helping me setup an Alpine box to boot LUKS from an SD card. Could do with a little assist if you're willing once again? 2020-11-06 08:10:15 i do not know anything about LUKS or SD cards 2020-11-06 08:12:26 wow nice 2020-11-06 08:12:29 me neither 2020-11-06 08:15:57 Looks like Ganwell / wener[m] 2020-11-06 08:37:57 https://github.com/wenerme/alpine-image/blob/master/scripts/loopdev-luks.sh 2020-11-06 08:38:25 You can use/read this script to create a luks alpine disk 2020-11-06 08:41:18 `apk add cmake gcc` is not succifient to even pass the first of cmake's check, /usr/bin/cc seems not populated as symlink. "-- Check for working C compiler: /usr/bin/cc -- broken" what am i missing? 2020-11-06 08:41:21 here is some script or snippet for luks mgmt comment in chinese, all based on alpine. https://wener.me/notes/ops/storage/encryption/luks 2020-11-06 08:42:21 Piraty: gcc should provide /usr/bin/cc 2020-11-06 08:42:37 https://pkgs.alpinelinux.org/contents?file=cc&path=%2Fusr%2Fbin&name=&branch=edge&arch=x86_64 2020-11-06 08:42:41 that was my assumption as well 2020-11-06 08:43:48 i was looking at the wrong log. :( 2020-11-06 08:45:35 btw, if you install build-base, you get a set of basic building tools 2020-11-06 08:46:24 binutils, g++, gcc, make, make, patch, libc-dev 2020-11-06 08:47:03 https://pkgs.alpinelinux.org/package/edge/main/x86_64/build-base 2020-11-06 08:48:18 thanks 2020-11-06 09:01:30 oh i see alpine prefers pkgconf over pkg-config, i remember Void encountered incompatibilities a few years back when a change was proposed 2020-11-06 10:05:34 Piraty: Yes, pkgconf isn't bugcompatible to pkg-config which was problematic for Void 2020-11-06 10:06:01 i think you around back then 2020-11-06 10:07:09 hmm in an i386 alpine container, cmake recognizes CMAKE_SYSTEM_PROCESSOR as x86_64 as that's the host arch :( 2020-11-06 10:08:04 Yes, I was the one to propose the move to pkgconf 2020-11-06 10:08:41 Maybe you have to pass a crossfile or however that's called in CMake terms to CMake so it knows what you're actually compiling for 2020-11-06 10:38:22 but that leaves me to overwrite it, and detect properly so the mechanism needs to know in advance what image arch this is... 2020-11-06 10:44:04 Hmm, but we do plenty of i386 on x86_64 on docker ourselves 2020-11-06 10:44:21 Our CI works that way 2020-11-06 10:44:45 How is it detecting the arch? 2020-11-06 14:45:40 hi 2020-11-06 14:46:53 o/ 2020-11-06 14:47:23 \o 2020-11-06 14:51:23 Is there a way to pack static files into a custom alpine ISO to a specific location on the file-system?oO So that they are available after a disk-install? I know it works for packages, but just arbitrary files? 2020-11-06 14:52:22 i think you could achieve that by making a apk package and having it be included in the iso 2020-11-06 14:54:31 caskd, Hm, ok. So I would need to serve that from a local server while creating the ISO. 2020-11-06 14:55:47 The package can be included in the iso 2020-11-06 14:56:03 Ok. I'll give that a try then. 2020-11-06 14:56:53 I've done that by building a custom ISO and including a chroot build script in it. That way post setup I can just run the chroot-builder and it'll populate everything on the newly setup disk 2020-11-06 14:57:20 you don't necessarily need a server, all the basic packages are in /media/iso afaik and you could add yours as well 2020-11-06 14:58:40 wsinatra, Yes,...well, let's see. I'm trying to include a complete Kubernetes environment with all offline docker images. Might be quite large in the end. 2020-11-06 15:06:41 hahaha, not impossible, but you're not joking that'll get large fast 2020-11-06 15:07:15 if you went with a chroot method you could feasibly provide the dockerfiles + build deps and just build them inside of the chroot? 2020-11-06 15:07:59 But I'm just guessing at this point, I've never tried anything like that. I would personally use something like ansible to set that up once the base image was installed 2020-11-06 15:08:14 wsinatra, Yes, I could do that. But I require an installer for offline environments I'm afraid :-/ 2020-11-06 15:08:51 Special use case I think,...:-D 2020-11-06 15:09:45 well, you won 2020-11-06 15:09:54 't hurt the installer packing in a bunch of stuff! 2020-11-06 15:10:03 it might just need a REALLY large drive haha 2020-11-06 15:10:44 Yep, I will give it a try. But I think it will be around 1.5-2 Gbyte as luckily all docker containers are based on alpine and therefore small too. 2020-11-06 15:11:49 that's not too bad honestly, less than a windows10 ISO by about 4Gb 2020-11-06 15:12:53 true. Well, comparing with Windows is always nice :-) 2020-11-06 15:29:28 wener[m]: I'll look through that thanks. My setup is working for typing the pass phrase just not for booting via a key on the SD card. Thank you. 2020-11-06 15:30:10 I need to talk to somebody who cares about this issue https://gitlab.alpinelinux.org/alpine/aports/-/issues/11879 2020-11-06 15:30:35 I am experiencing it under different circumstances than those discussed 2020-11-06 15:31:16 But is the underlying issue the same? 2020-11-06 15:31:23 I believe so 2020-11-06 15:31:42 here is a set up 2020-11-06 15:31:47 From what I understand, those systems that return those incorrect responses should be fixed 2020-11-06 15:31:50 I make a virtual machine on stable 2020-11-06 15:32:16 I install tor and add dnsport 53 to torrc 2020-11-06 15:32:31 I then add redirect to localhost for all dns 2020-11-06 15:32:40 which means Tor is now resolving 2020-11-06 15:32:44 everything works 2020-11-06 15:32:47 no issue 2020-11-06 15:32:55 now upgrade musl 2020-11-06 15:32:58 to edge 2020-11-06 15:33:04 dns now fails 2020-11-06 15:33:45 cfengineuser: there has been a change in musl that is affecting this (https://git.musl-libc.org/cgit/musl/commit/?id=5cf1ac2443ad0dba263559a3fe043d929e0e5c4c) 2020-11-06 15:33:47 I beleive this occurs due to the lack of ipv6 resolution 2020-11-06 15:34:07 lemm looksee 2020-11-06 15:34:31 That's a link from that issue 2020-11-06 15:34:52 EF```: You can modify `/usr/share/mkinitfs/initramfs-init` to achieve the auto unlock 2020-11-06 15:35:46 "this patch moves the checks to take place before answer parsing, and 2020-11-06 15:35:46 performs them for each answer rather than only the answer to the first 2020-11-06 15:35:46 query. if nxdomain is seen it's assumed to apply to both queries since 2020-11-06 15:35:48 that's how dns semantics work." 2020-11-06 15:35:55 that is a problem it seems 2020-11-06 15:36:22 cfengineuser: If you need to discuss this, you could join #musl 2020-11-06 15:36:35 This means that unless you have ipv6 you cant resolve? 2020-11-06 15:36:50 Okay 2020-11-06 15:36:56 No, it means that an NXDOMAIN for either address familiy is assumed an NXDOMAIN for all 2020-11-06 15:37:12 yes but many servers return this way 2020-11-06 15:37:19 So you cannot return NXDOMAIN for A, but an address for AAAA 2020-11-06 15:37:22 give ipv4 and NXDOMAIN for ipv6 2020-11-06 15:37:59 "NxDomain means the requested name does not exist at all (has no records of any type), not that it has no records of the requested type." 2020-11-06 15:38:03 I think even bind does this if you disable ipv6 2020-11-06 15:38:56 I am struggling to find a work around 2020-11-06 15:38:58 But #musl is a better place to discuss this than this channel 2020-11-06 15:39:11 okay 2020-11-06 15:39:26 thanks @ikke 2020-11-06 15:46:44 wener[m]: thanks, will try and come back toask more if all fails. 2020-11-06 16:07:44 cfengineuser: not a bad idea to ask #musl :) 2020-11-06 16:24:18 ikke, Hm, I managed to include packages into the iso, but how can I have them automatically installed on 'setup-alpine'?oO 2020-11-06 16:30:10 ikke, Oh, I see...somehow that world file wasn't generated. 2020-11-06 19:00:53 btw, does anyone know if password reset works for the wiki? 2020-11-06 19:01:31 i tried it and it doesn't work for me 2020-11-06 19:02:26 Might be broken, have to look into it 2020-11-06 19:02:59 hope you are going to log in to delete whole wiki 2020-11-06 19:03:17 you hope i *will*? 2020-11-06 19:03:30 No, that I will 2020-11-06 19:03:54 why though? is it bad? 2020-11-06 19:06:07 No one is really keeping it up-to-date or verifying that what is written is correct 2020-11-06 19:06:31 i wanted to update lots of stuff but i couldn't because i had no accesS 2020-11-06 19:06:40 haha 2020-11-06 19:07:28 don't even try to update please 2020-11-06 19:07:36 there is too much already 2020-11-06 19:07:43 hm 2020-11-06 19:07:45 mostly junk of course 2020-11-06 19:08:55 wrong info is probably worse than no info, so overall wiki harms 2020-11-06 19:40:33 Is there any reliable way to run scripts post-setup in a custom built ISO image? To add users, change group memberships etc? 2020-11-06 19:42:40 .post-install and .post-upgrade, check $man 5 APKBUILD 2020-11-06 19:50:26 caskd, Ah, so I would add a custom built apk package to my ISO to do that. 2020-11-06 19:50:43 yeah 2020-11-06 20:07:13 Have to disagree, outdated info is more useful than no info because at least then you can track down the changes 2020-11-06 20:08:29 qman__: i disagree with that. posted information is implied to be correct, and if it is not, then following it is a waste of time and energy. with no information, you get to start from scratch 2020-11-06 20:08:38 both situations are not ideal 2020-11-06 20:09:08 Starting from scratch is no good if there's no info 2020-11-06 20:09:48 then you have to figure it out for yourself 2020-11-06 20:10:24 That's far easier if there's something to go on 2020-11-06 20:10:34 Like an outdated piece of info 2020-11-06 20:10:38 there's always something to go on 2020-11-06 20:11:01 arch wiki is good for 90% of it. Alpine specific scripts and processes can be learned by source diving 2020-11-06 20:11:30 thankfully code and scripts are really nice 2020-11-06 20:11:38 if it's outdated info, people will blindly follow it believing it to be accurate when in fact it isn't. if all the pages had a header saying "warning, info possible outdated use at your own peril", then maybe 2020-11-06 20:11:56 caskd: it's nice that it works. it's not nice that there basically isn't any documentation for it 2020-11-06 20:12:00 i didn't even use setup-alpine because most of the info from arch/gentoo can be used for alpine 2020-11-06 20:12:11 c705: yeah indeed 2020-11-06 20:12:21 That should be implied by the modified date, but I also put the alpine version used in each page that I wrote, at least 2020-11-06 20:12:50 qman__: you think most newcomers are looking at the mod date to figure out if the info is accurate? 2020-11-06 20:13:07 hell no. if it's on the wiki, it's implied to be accurate. if it isn't then it should be changed 2020-11-06 20:14:28 deleted! 2020-11-06 20:15:19 it's fucking wasting time to clicking all these trillions links in wiki 2020-11-06 20:17:17 it's very unfortunate that the documentation is weak 2020-11-06 20:18:37 yeah… 2020-11-06 20:19:11 I don't even love the Archwiki all that much any more (the manuals are just better); but the alpine wiki comparatively, is a bit lacking. :) 2020-11-06 20:19:21 (and that's not meant to throw shade at anyone; I've not contributed to it at all) 2020-11-06 20:19:56 it's hard to contribute to it when you don;t understand what the code does 2020-11-06 20:20:06 manuals are good, in that case, some base info can be done in 'docs' style like it is in 'beta' or whatever atempt it is 2020-11-06 20:20:13 I've sourced dived it, and it's very convoluted. not at all easy to understand 2020-11-06 20:20:21 just basic shit for installation and working X/wayland 2020-11-06 20:20:38 if somebody want to fuckering with kernel probably don't need a wiki ;) 2020-11-06 20:21:16 but how u get from manual that u have to install eudev then run setup-edev or whatever is it 2020-11-06 20:21:37 maybe after spending whole weekend to reading all manuals, so some basic docs are needed 2020-11-06 20:22:16 but not info, that if u wanna use desktop u have ot instlal bunch of gnu crapware 2020-11-06 20:26:47 ACTION slowly deletes ~800 things 2020-11-06 20:38:21 (unrelated) 2020-11-06 20:39:49 whatever, deletetion is always for good :) 2020-11-07 03:18:43 evening fellas anyone about? 2020-11-07 03:19:36 anyone point me to solving ... ERROR: polkit-elogind-openrc-0.116-r2: trying to overwrite etc/init.d/polkit owned by polkit-0.116-r1 2020-11-07 03:33:53 o/ 2020-11-07 03:34:04 finally got enlighten's build system handling sanitizers appropriately 2020-11-07 06:26:14 MartijnBraam: :D 2020-11-07 06:26:27 MartijnBraam: just heard about the osk-sdl update 2020-11-07 06:26:30 veryexcite 2020-11-07 06:30:31 if it results in the prompt being able to handle my typing at typical speed, that will be a huge hurdle to usability cleared 2020-11-07 08:37:46 hmm i'm having problems with lxd virtual machines getting the right password https://discuss.linuxcontainers.org/t/password-in-cloud-init-doesnt-seem-to-work-default-one-does-though-for-ubuntu/9401/10 2020-11-07 08:37:55 i'm wondering if i should install https://pkgs.alpinelinux.org/package/edge/community/x86_64/cloud-init 2020-11-07 08:38:24 is it needed on the host, or in the virtual machine? 2020-11-07 08:38:38 i would have thought inside the VM 2020-11-07 08:40:56 fyi, containers are not virtual machines. This distinction might help to prevent some confusion. cloud-init is typically installed inside, not on the host (from what I undestand from it) 2020-11-07 08:41:28 but cloud-init is certainly not required 2020-11-07 08:42:22 I'm more familiar with plain lxc than lxd though 2020-11-07 08:47:26 yeah lxd can run virtual machines via qemu too 2020-11-07 08:47:32 aha, ok 2020-11-07 08:47:38 sorry then 2020-11-07 08:47:43 that's the specific functionality i have been testing ie `--vm` 2020-11-07 08:48:23 https://discuss.linuxcontainers.org/t/running-virtual-machines-with-lxd-4-0/7519 2020-11-07 08:48:24 its pretty n eat 2020-11-07 08:48:26 * its pretty neat 2020-11-07 08:49:10 and what i am talking about is setting the default password 2020-11-07 08:49:16 which seems to work if i use the example there 2020-11-07 08:49:17 yes, understood 2020-11-07 08:49:22 and an ubuntu container 2020-11-07 08:49:37 but not if i try to move it into an lxd profile, or run some other distribution 2020-11-07 08:52:10 dngray: if that happens, you don't have any access at all to the VM? (ie, a way to verify log files on the VM) 2020-11-07 08:52:36 yes i do have access to the server it is local 2020-11-07 08:53:33 A user called minimal here knows more about cloud-init 2020-11-07 08:53:38 but they're not present right now 2020-11-07 08:53:46 just unsure where the log file is for lxd for this 2020-11-07 08:53:49 or what is actually going on 2020-11-07 08:54:33 i have asked in #lxcontainers though 2020-11-07 08:54:51 annoying problem has been causing me strife for about 2 days 2020-11-07 08:55:34 dngray: https://discuss.linuxcontainers.org/t/password-in-cloud-init-doesnt-seem-to-work-default-one-does-though-for seems to indicate that it tries to parse things starting with $ as variables? 2020-11-07 08:55:50 yeah, its weird 2020-11-07 08:55:53 their example works 2020-11-07 08:55:58 but if i try to change it to some other value nope 2020-11-07 08:56:06 passwd: "\$6\$s.wXDkoGmU5md\$d.vxMQSvtcs1I7wUG4SLgUhmarY7BR.5lusJq1D9U9EnHK2LJx18x90ipsg0g3Jcomfp0EoGAZYfgvT22qGFl/" 2020-11-07 08:56:10 for example is "ubuntu" 2020-11-07 08:56:28 but if i try: 2020-11-07 08:56:29 echo "alpine" | mkpasswd --method=SHA-512 --stdin 2020-11-07 08:56:29 $6$7WLk03OI8jZdRYHR$4PFYZ4q293Z/zVwxzg5JdbfZMj69ePpHSScl9TW7CEi8pMAoru2cFwhrjUyHCPKpi5R.e4tOlSDmW.sxbiBOZ1 2020-11-07 08:56:30 nope 2020-11-07 08:56:55 And with $ escaped? 2020-11-07 08:57:00 \$6\$7... 2020-11-07 08:57:06 another thing i tried was using the suggested hash that worked on another distro, like an archlinux vm and it didn't work 2020-11-07 08:57:08 and there is another one 2020-11-07 08:57:19 i haven't tried that, but weirdly that would make it longer 2020-11-07 08:57:27 and wouldn't that mess up the password 2020-11-07 08:57:35 It's not the password, it's a hash 2020-11-07 08:57:38 ikke: I used to found a yaml for all alpine mirrors, but can't find it now, any clue where is the yaml for mirrors list ? 2020-11-07 08:57:42 and the escaping would happen in an outer layer 2020-11-07 08:57:44 the example they gave is escaped 2020-11-07 08:57:50 dngray: yes 2020-11-07 08:57:56 but it still is exactly the same number of characters 2020-11-07 08:58:04 as what i generate out of mkpasswd 2020-11-07 08:58:12 wener[m]: there is a json file here https://mirrors.alpinelinux.org/mirrors.json 2020-11-07 08:58:29 thanks! 2020-11-07 08:58:36 i think there might be two problems 2020-11-07 08:58:47 i think the first might be it is only being applied if i used an ubuntu guest 2020-11-07 08:58:56 and i think the second might be something to do with escaping as you said 2020-11-07 08:59:32 like for example i spotted this: 2020-11-07 08:59:33 https://discuss.linuxcontainers.org/t/password-in-cloud-init-doesnt-seem-to-work-default-one-does-though-for-ubuntu/9401/6 2020-11-07 08:59:59 Yes, that's what I linked to earlier 2020-11-07 09:00:08 So you need to make sure all $ are escaped in the yaml 2020-11-07 09:01:53 well i tried with a password that has no slashes in it 2020-11-07 09:01:56 echo "alpine" | mkpasswd --method=SHA-512 --stdin 2020-11-07 09:01:56 $6$Z3tPMtbnjYPaG8LU$pl.gjRkcQl7BE8vCfjFycfiy2Ke0srSqZJDN89E8TZWemmF4Ev3fWkjDw6XZWfQqMI5QZw9T1jDirotNy0taN. 2020-11-07 09:02:13 and that doesn't seem to work, with an ubuntu image 2020-11-07 09:02:35 oh the dollar signs are missing 2020-11-07 09:02:40 passwd: ".gjRkcQl7BE8vCfjFycfiy2Ke0srSqZJDN89E8TZWemmF4Ev3fWkjDw6XZWfQqMI5QZw9T1jDirotNy0taN." 2020-11-07 09:02:47 yes 2020-11-07 09:02:54 you _need_ to escape the $ in the hash 2020-11-07 09:03:09 or at least 2020-11-07 09:03:15 where ever you enter it 2020-11-07 09:04:00 right, 2020-11-07 09:04:08 so i think the solution is to make sure those things are escaped 2020-11-07 09:04:10 that seems to work 2020-11-07 09:04:18 yes, exactly 2020-11-07 09:04:25 now onto the second issue, which is why it doesn't work with a archlinux guest 2020-11-07 09:04:35 my guess is the cloud-init is not actually being run 2020-11-07 09:05:01 https://wiki.archlinux.org/index.php/Cloud-init 2020-11-07 09:18:34 yeah 2020-11-07 09:18:44 but maybe i'm thinking `passwd` can't be in the yaml 2020-11-07 09:19:02 err 2020-11-07 09:19:05 in the profile, 2020-11-07 09:19:28 works if i go and put it in the config for the vm, but not if i put it in a profile, and start that vm as a part of that profile 2020-11-07 09:20:02 https://clbin.com/e3wOU and i think it puts the hierarchy wrong 2020-11-07 09:20:17 for example passwd, seems to not indent under the user list 2020-11-07 09:23:47 hmm i thought cloud-init could be a part of a profile 2020-11-07 09:24:07 like that person's example https://discuss.linuxcontainers.org/t/password-in-cloud-init-doesnt-seem-to-work-default-one-does-though-for-ubuntu/9401/2 2020-11-07 09:36:44 yeah for archlinux i'd likely need to install cloud init 2020-11-07 09:36:54 in the guest, but how might i do that if i can't login hmm 2020-11-07 09:38:01 i think the issue is they don't provide a cloud image for archlinux hmm 2020-11-07 10:00:58 yeah, you'd need an image with cloud-image already installed 2020-11-07 10:20:08 https://discuss.linuxcontainers.org/t/running-virtual-machines-with-lxd-4-0/7519 2020-11-07 10:20:13 interestingly enough they list archlinux there 2020-11-07 10:21:45 > Only cloud variants of the official images enable the lxd-agent out-of-the-box (which is needed for the usual lxc commands like lxc exec). 2020-11-07 10:21:50 oh i don't think you need a "cloud" image 2020-11-07 10:21:56 that just has lxd-agent installed 2020-11-07 10:22:06 all of them are supposed to have cloud-init i think 2020-11-07 10:59:00 hello 2020-11-07 10:59:26 just wanted to say that the firmware for rtl8723bs is missing 2020-11-07 11:00:00 got the -2 error while loading it 2020-11-07 11:01:12 manjaroi3_Balkan: is that firmware part of mainline linux? 2020-11-07 11:03:14 i am not sure, give me a few minutes 2020-11-07 11:05:39 alright 2020-11-07 11:06:38 so before the module is loaded 2020-11-07 11:06:44 i got the following warning: 2020-11-07 11:06:46 r8723bs: module is from the staging directory, the quality is unknown, you have been warned. 2020-11-07 11:07:06 not sure if this means it's not in the mainline tho, i think it is 2020-11-07 11:07:18 given this https://github.com/Miouyouyou/RockMyy-Build/issues/2 2020-11-07 11:07:51 It's in staging 2020-11-07 11:08:12 welp 2020-11-07 11:08:50 only got into linux like 4-5 months ago 2020-11-07 11:09:37 Hmm, https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/rtlwifi seems to indicate it's part of linux-firwmare 2020-11-07 11:09:55 Are you saying lxc exec works for recent vm lxd images? 2020-11-07 11:10:02 I should definitely try again then. 2020-11-07 11:10:14 I was unable to login the last time I tried. 2020-11-07 11:10:15 fling: is that a question for dngray? 2020-11-07 11:10:29 to anyone knowing the answer. 2020-11-07 11:10:39 fling: no it doesn't 2020-11-07 11:10:48 but that is understandable, you need lxd-agent running for that 2020-11-07 11:10:58 the issue i was having with the default password being set on an archlinux guest 2020-11-07 11:11:09 So what is the proper method of logging in then? 2020-11-07 11:11:13 manjaroi3_Balkan: seems like our firmware package does have this driver: https://pkgs.alpinelinux.org/contents?file=rtl8723bs*&path=&name=linux-firmware-*&branch=edge&repo=main&arch=x86_64 2020-11-07 11:11:27 ikke: yeah it is, https://pkgs.alpinelinux.org/package/edge/main/x86_64/linux-firmware-rtlwifi 2020-11-07 11:11:36 caskd: :) 2020-11-07 11:11:58 alright, so why am i getting the error? 2020-11-07 11:12:03 because it seems that running a config like: https://clbin.com/V3PcH would not set the passwd 2020-11-07 11:12:21 should i retry with the most recent installation? 2020-11-07 11:12:49 fling: i think lxc console works 2020-11-07 11:12:59 ah yeah, also, one more thing 2020-11-07 11:13:04 lxc exec /bin/bash - only works if you've got lxd-agent running 2020-11-07 11:13:09 adding a bootia32.efi file would help a lot 2020-11-07 11:13:28 32bit uefi devices cannot boot normaly 2020-11-07 11:15:48 brb in 20 minutes 2020-11-07 11:16:20 manjaroi3_Balkan: we don't enable drivers/modules from staging dir in kernel 2020-11-07 11:16:51 do you use custom made kernel or from other distro 2020-11-07 11:17:07 okay, so for anyone who was interested, `ifupdown-ng` did seem to play nice with `/etc/network/interfaces` with openvswitch bindings 2020-11-07 11:17:30 I was able to setup a config and then restart the networking service to get the networking configured via openvswitch 2020-11-07 11:18:18 was able to use repository pinning to grab just that package from `edge`, seemed to work fine 2020-11-07 11:18:29 dngray: but it will require you to login to console and you need to set a password for this to work 2020-11-07 11:20:56 it would be nice if this webclient didn't suck :( 2020-11-07 11:22:43 fling: yeah exactly 2020-11-07 11:22:56 which means your image needs cloud-init to set a password to login 2020-11-07 11:23:05 least is how i think it works. 2020-11-07 11:23:06 ok so I still can't login to alpine vm in lxd :D 2020-11-07 11:23:23 seems the ubuntu ones do, but not the archlinux isos 2020-11-07 11:23:53 Gorian: repo pinning from edge can work one moment, but break as soon as dependencies are upgraded 2020-11-07 11:26:05 Should I bugreport this somewhere? 2020-11-07 11:28:09 I guess, but the question is if this is an issue with lxd somehow or Alpine. As passwd on Alpine works exactly the same as on other systems, I would first investigate what lxd is doing. 2020-11-07 11:32:05 mps: oh 2020-11-07 11:32:29 mps: so i should add it manually then 2020-11-07 11:33:25 Where to bugreport this? 2020-11-07 11:33:53 It looks like being a known issue which noone cares to fix. 2020-11-07 11:34:05 mps: if the "do you use custom kernel or from other distro" question was for me, I just used the default installation 2020-11-07 11:34:23 manjaroi3_Balkan: yes. for you 2020-11-07 11:34:48 standard installation that is 2020-11-07 11:35:12 manjaroi3_Balkan: and the driver is from kernel staging? 2020-11-07 11:35:22 it seems so 2020-11-07 11:35:41 that's what the warning says 2020-11-07 11:35:43 could you tell me which driver you use 2020-11-07 11:35:55 rtl8723bs 2020-11-07 11:36:20 it's named r8723bs tho, as far as i could tell 2020-11-07 11:36:56 on which arch? 2020-11-07 11:37:21 64_x86 2020-11-07 11:37:37 x86_64 :) 2020-11-07 11:37:48 ;-; 2020-11-07 11:37:54 what says 'uname -a' 2020-11-07 11:38:52 i currently don't have the installation on a flash, sorry 2020-11-07 11:39:03 going to retry this tonight tho 2020-11-07 11:40:02 CONFIG_RTL8723BS=m is enabled on x86_64 2020-11-07 11:42:34 uhm, yes, it is in kernel staging area 2020-11-07 11:42:56 I wonder who enabled it :/ 2020-11-07 11:43:09 to the blame machine :P 2020-11-07 11:43:15 xD 2020-11-07 11:43:41 will look later whom to blame, I'm out now :) 2020-11-07 11:44:19 manjaroi3_Balkan: do you live somewhere on Balkan? 2020-11-07 11:44:27 yeah, in Serbia 2020-11-07 11:44:43 здраво :) 2020-11-07 11:44:54 ahahahhahaha 2020-11-07 11:45:01 also I'm 2020-11-07 11:45:19 Cek, ti si jedan od Alpine developera O.o 2020-11-07 11:45:34 yes, but keep english here 2020-11-07 11:45:37 alright 2020-11-07 11:45:44 amazing 2020-11-07 11:46:33 didn't think people from here can "make" it that far 2020-11-07 11:46:38 if it is not secret in which city you are, maybe we are near 2020-11-07 11:47:02 Was born in Pozarevac, but studying in Novi Sad 2020-11-07 11:47:11 for Software Engineer degree 2020-11-07 11:47:32 ah, we are 30 Km far 2020-11-07 11:47:58 In which city are you? 2020-11-07 11:48:24 Ruma (first name of Rome, Roman empire) 2020-11-07 11:48:41 aaaaaaaah :D 2020-11-07 11:49:01 https://gitlab.alpinelinux.org/alpine/aports/-/commit/4194b340360804717ea0b39357bd2021c8e780b7 2020-11-07 11:49:24 manjaroi3_Balkan: and no, all people with enough will and effort can do a lot of big things 2020-11-07 11:50:11 and some degree of seriousness, ofc :) 2020-11-07 11:50:37 mps: thanks for the pep talk, now i feel like tryharding both the degree and this linux thing 2020-11-07 11:50:44 really glad i met you mate 2020-11-07 11:51:01 manjaroi3_Balkan: np :) 2020-11-07 11:51:31 and when you come here please tell so we can meet in person maybe 2020-11-07 11:51:48 :D 2020-11-07 11:52:01 will do mate, i know a few people from Roma 2020-11-07 11:52:06 that attend my faculty 2020-11-07 11:52:37 but now, i gotta go, i have a Shadow of the Demon Lord session to DM 2020-11-07 11:52:47 nice, sometimes also I come to NS 2020-11-07 11:53:16 ikke: ok, I see author but who commited 'that crime' ;P 2020-11-07 11:54:03 mps: It's also mentioned 2020-11-07 11:54:15 at the top 2020-11-07 11:54:26 feel free to mail me at mahajiraaji@gmail.com 2020-11-07 11:54:38 whenever you're at NS 2020-11-07 11:55:01 ikke: I expected that :P 2020-11-07 11:55:25 manjaroi3_Balkan: also you can see my mail on alpine 2020-11-07 11:59:14 mps: I can't seem to find it 2020-11-07 12:00:09 manjaroi3_Balkan: what you can't find 2020-11-07 12:00:30 your mail 2020-11-07 12:01:35 git log | grep Milan 2020-11-07 12:02:05 ohh, ty 2020-11-07 12:02:42 git log --author="Milan" :) 2020-11-07 12:02:53 ikke: thanks 2020-11-07 12:03:41 now i'll be leaving, cya guys 2020-11-07 12:04:02 after more than a decade with git it is still 'dark alley' for me ;) 2020-11-07 12:04:27 I've been active in #git in that time, so you'll learn a thing or 2 2020-11-07 12:05:11 I'm still missing RCS, small and simple :) 2020-11-07 12:10:52 ikke: what do you mean? And also, it's an immutable OS. Shouldn't it just resolve dependencies on install? 2020-11-07 12:11:52 Gorian: repeatable advice here is "don't mix stable and edge" 2020-11-07 12:12:31 noted, but again - why? lol 2020-11-07 12:12:56 does it not resolve dependencies correctly, or have some other issue? 2020-11-07 12:13:15 If you never need to do apk upgrade, or rebuild the image, then you're fine 2020-11-07 12:13:24 and the bigger problem is - this particular package doesn't exist outside edge 2020-11-07 12:13:29 a lot of bad 'things' can happen 2020-11-07 12:13:29 yes 2020-11-07 12:13:31 yet* 2020-11-07 12:13:37 It will be part of 3.13 2020-11-07 12:13:49 ifupdown-ng is brand new :) 2020-11-07 12:13:53 the final image has no package manager 2020-11-07 12:14:06 ah, okay. Well, regardless, it works with openvswitch, which is what I needed :p 2020-11-07 12:14:59 but tbh, I'm still a bit confused. Like, if it causes problems, why can't you have an argument that basically says "resolve all dependencies for this packages from the same repo" 2020-11-07 12:15:15 Gorian: Because it ripples through 2020-11-07 12:15:20 or "use a completely different set of packages/libraries for this package" if that causes issues 2020-11-07 12:15:36 Gorian: That's a separate discussion 2020-11-07 12:16:19 You go more into a flatpack / docker kind of territory 2020-11-07 12:16:44 fair enough. My quick google into how libraries in linux work though, it looks like it supports multiple version of packages co-existing for the purposes of dynamically linked binaries 2020-11-07 12:16:57 and the only dependency of ifupdown-ng is musl 2020-11-07 12:17:13 and musl isn't even versioned on the file system level :) 2020-11-07 12:17:26 So in that regard, ifupdown-ng is pretty safe 2020-11-07 12:17:35 oh good to know 2020-11-07 12:17:39 only thing I care about I think 2020-11-07 12:17:43 at least from edge 2020-11-07 12:18:36 as long as ifupdown-ng doesn't start using symbols only present in newer versions 2020-11-07 12:18:42 (of musl) 2020-11-07 12:19:15 google/ddg are like 'holy books', you will find excuse in them for whatever you want 2020-11-07 12:21:58 Gorian: having multiple versions of the same library requires a lot of maintenances 2020-11-07 12:22:14 Gorian: so typically as a distro maintainer, you only want to maintain one version 2020-11-07 12:22:54 one thing to take into account is security issues 2020-11-07 12:24:11 I understand that - but why would you have multiple version of the *same* library? Wouldn't you only run into dependency issue from different repos if the package from edge needed a *different* version of something than is in main or something? 2020-11-07 12:25:14 That has more to do with how the package manager works 2020-11-07 12:26:00 It only allows a single version of a package installed 2020-11-07 12:26:09 which is a good thing for most packages, because they would conflict 2020-11-07 12:27:05 So, I understand that - but if the version in one repo is different than the same version in a different repo - shouldn't that constitute a different version? 2020-11-07 12:27:23 and if they are exactly the same, then it shouldn't cause a conflict? 2020-11-07 12:27:53 say a library is updated on edge 2020-11-07 12:28:28 all packages that depend on that library are rebuilt against the new version (and also expect the library with that soname to be present) 2020-11-07 12:28:48 Now you try to install this rebuilt package on v3.12 2020-11-07 12:29:25 The packages you have installed on a 3.12 system still depend on the previous version of this package, so that version was alreayd installed 2020-11-07 12:29:59 so apk would need to install libfoo-1 and libfoo-2 at the same time 2020-11-07 12:30:22 because the packages from v3.12 require libfoo-1, but the package you install requires libfoo-2 2020-11-07 12:30:40 But with the current rules of apk, these cannot be installed at the same tim 2020-11-07 12:30:41 time 2020-11-07 12:32:01 okay, so you are talking about the same version of a binary, say foo version 1.2 could be built against bar.so.0.1, but in edge foo version 1.2 could be built against bar.so.0.2, so while you could just add bar.so.2, you can't have the same version of food 2020-11-07 12:32:03 *foo 2020-11-07 12:33:33 Gorian: technically, you could have bar.so.0.2, but because you'd only have a package called libbar (for example), you cannot install them through apk side-by-side, unless you have libbar1 and libbar2 (2 separate packages) 2020-11-07 12:34:37 We do that in some cases, like for java and llvm 2020-11-07 12:34:55 where we have multiple major versions of the same project 2020-11-07 12:35:00 oooh, okay. So it's like, specifically a package naming thing within apk. 2020-11-07 12:35:41 well, I'll try to limit my repo pinning to only ifupdown-ng then 2020-11-07 12:36:13 k3os is a pretty minimal system anyway. I just wanted to replace connman, which is a piece of shit, with openvswitch 2020-11-07 13:54:36 I'm trying to create a custom partition scheme before installing alpine. When I try to mount the partitions I created (tried parted, cfdisk, fdisk so far), I always get a 'mounting /dev/sda2 on xxx failed: Invalid argument'. I'm trying to install on a VM in Proxmox. 2020-11-07 13:55:58 1. are you sure the partitons are properly created? 2. in some cases you need to give the partition format with -f to mount 2020-11-07 13:56:16 for example, vfat usually needs mount -f vfat 2020-11-07 13:56:50 (with busybox mount) 2020-11-07 13:56:58 ^ 2020-11-07 13:57:23 oh,...that migh the reason. So busybox mount is different. 2020-11-07 15:15:01 Is here any help on custom partitioning available? I tried creating a GPT layout with EFI partition, grub-efi and efi-bootmgr, but somehow it refuses to boot. I install with "setup-disk /mnt" on the mounted filesystems, where '/boot' is the EFI partition, VFAT. 2020-11-07 15:15:24 I also set the env variables to use grub / EFI before running setup-disk. 2020-11-07 17:53:32 inzanez: try the wiki, https://wiki.alpinelinux.org/wiki/Alpine_and_UEFI 2020-11-07 18:57:49 the developer Leo isn't hanging around in this channel are they? 2020-11-07 18:58:55 He's in #alpine-devel 2020-11-07 18:59:06 (maxice8) 2020-11-07 19:02:32 makes sense 2020-11-07 19:02:34 cool 2020-11-07 19:22:14 EF```, well, that didn't do it but I managed in the meantime. 2020-11-07 21:36:28 Is this the place to find answers to support questions? 2020-11-07 21:36:54 yoosre: most of the time :) 2020-11-07 21:39:34 The setting panel for the mouse/touchpad input allows me to move a slider to control acceleration and sensitivity, but I don't see an option to disable it completely. Is there a way to completely turn it off? 2020-11-07 21:56:38 yoosre: disable the touchpad wholesale, or disable acceleration/sensitivity wholesale (the latter doesn't make sense to me really, just clarifying)? 2020-11-07 22:02:40 I still want to use my mouse and touchpad, just without mouse acceleration 2020-11-07 22:03:05 mm 2020-11-07 22:03:40 well, you can probably achieve what you want via command-line (e.g., with the synaptics manager if it's a synaptic device, etc.) 2020-11-07 22:03:50 I'm not familiar with whatever graphical tool you were using 2020-11-07 22:04:42 I don't know command line commands but I could probably do it if someone walks me through it desi scammer style 2020-11-07 22:04:52 what do I type in note pad 2020-11-07 22:06:11 should I upload a system report 2020-11-07 22:11:02 Should I post system details and make of the touchpad? 2020-11-07 22:12:08 to a pastebin like ix.io or 0x0.st, sure 2020-11-07 22:12:18 don't paste directly into the IRC client 2020-11-07 22:17:55 I found a "Synaptics Package Manager," do I just look up the appropriate driver with the part number on the touchpad? 2020-11-07 22:19:50 I don't know if your device is a synaptics device 2020-11-07 22:20:02 how do I find out 2020-11-07 22:21:32 and will installing the correct driver disable mouse acceleration 2020-11-07 22:40:32 hey hey hey 2020-11-08 04:59:14 ACTION eagerly awaits the new osk-sdl package 2020-11-08 05:05:29 mmm, hashboot doesn't store the backup/digest encrypted 2020-11-08 05:05:31 well, that's a bummer 2020-11-08 14:47:49 Hello, I have a small problem with my Raspberry Alpine install and was wondering whether anyone here could point me in the right direction. I have configured the network in /etc/network/interfaces and also checked in the changes with `lbu ci`, but on every reboot the file gets overwritten again, and `lbu diff` shows that my still checked in changes 2020-11-08 14:47:50 have been replaced in the "working dir". 2020-11-08 14:48:26 So is something else overwriting it on boot? 2020-11-08 14:48:34 Looks like it. 2020-11-08 14:48:37 But I have no idea what. 2020-11-08 14:49:35 I tried to add a file `.pve-ignore.interfaces` to the same folder, as I read this somewhere online. But that did not help. 2020-11-08 14:50:47 halosghost had the same issue, did you solve it? 2020-11-08 14:51:24 A script in /etc/local.d apparently 2020-11-08 14:51:30 can you check that 2020-11-08 14:58:41 Ha yes! It's the script from the "Raspberry Pi - Headless Installation". 2020-11-08 14:59:03 Thanks! 2020-11-08 14:59:24 Man, what a waste of time. If only I had followed the instructions to the very end. 2020-11-08 15:00:02 heh 2020-11-08 15:00:54 luckily I could find it in the chatlog 2020-11-08 15:02:12 https://irclogs.alpinelinux.org/%23alpine-linux-2020-10.log 2020-10-02 08:13:44 2020-11-08 16:07:34 Hi. Probably I either made a mistake or misunderstood something but I thought that by installing a software from my custom repository with his version number like that: apk add mypackage=version was supposed to block the update from the main Alpine repository. But it's not the case and the package was updated. What did I do wrong ? 2020-11-08 16:08:02 yann-kaelig: that should certainly be the case.. 2020-11-08 16:12:04 ikke: Hi. A package in the depends list ( if an update exist ) can force the upgrade in this case of the package I have blocked ? 2020-11-08 16:12:31 yann-kaelig: apk should complain about conflicting version constraints 2020-11-08 16:14:46 ikke: that was not the case. It's about alpine-base package to be more clear. The version I have blocked was 3.12.0 and after a apk update, apk upgrade the version 3.12.1 was installed 2020-11-08 16:17:08 yann-kaelig: is this something you can reproduce, and can you verify the constraint is recorded in /etc/apk/world? 2020-11-08 16:18:11 I can reproduce yes, I'm working with VMachine so I can create again a new clone from the state before the update/upgrade 2020-11-08 16:34:03 And did you verify this was the case? 2020-11-08 16:35:25 ikke: well, my fault. I wrote my tutorial after learning about this feature, but I forgot to apply it on my own installation ... Everything is fine now thx 2020-11-08 16:36:26 :) 2020-11-08 16:36:35 not funny ... ^^ 2020-11-08 16:38:49 ACTION this vitamin C is totally useless 2020-11-08 16:39:23 ACTION B 2020-11-08 16:39:37 :D 2020-11-08 16:40:18 thx ikke 2020-11-08 16:40:22 No problem 2020-11-08 17:04:09 Is there an upgrade option that I could pass to force the upgrade of the package Ihave blocked instead of running two commands, apk upgrade then apk add package=newversion ? 2020-11-08 17:05:28 I would like to force the upgrade but maintain the ' hold' option for the new version I forced the upgrade 2020-11-08 17:05:50 with upgrade if it's possible 2020-11-08 17:08:33 something like apk upgrade --force package=newversion 2020-11-08 17:10:19 I'm not sure that's possible 2020-11-08 17:10:43 not sure if this is what you want, but perhaps: apk add -u package=newversion? 2020-11-08 17:18:22 ikke: Interesting. What exactly is the difference behind the hood without or with the -u option ( prefer to upgrade package ) when I use it with apk add and in our case to hold a package for the new version ? 2020-11-08 17:19:24 Well, normally when you do apk add on a package that is already installed, apk does nothing 2020-11-08 17:19:40 with -u, you ask apk to upgrade only that specific package 2020-11-08 20:22:11 o/ 2020-11-08 20:33:51 \o 2020-11-08 20:48:38 o/, sorry i had a bug in my bouncer i introduced 2020-11-08 20:48:50 how's everyone doing? 2020-11-08 20:50:09 hmm... "apk add py3-flask" and running "flask" does ont work 2020-11-08 20:50:15 ModuleNotFoundError: No module named 'pkg_resources' 2020-11-08 20:50:18 I assume it's a bug ? 2020-11-08 20:51:06 alpusr: try apk add py3-setuptools 2020-11-08 20:52:06 if it's needed shouldn't it be a dep for py3-flask / 2020-11-08 20:52:14 yes 2020-11-08 20:52:20 yep, works 2020-11-08 20:52:32 thanks 2020-11-08 20:52:39 is ther e3rd party repos for apk ? 2020-11-08 20:52:49 I'm looking if someone packages microsoft's cpprestsdk library 2020-11-08 20:52:55 not aware 2020-11-08 20:53:43 alpusr: packaging is pretty simple 2020-11-08 20:53:46 throw one together :) 2020-11-08 20:53:56 where should I read about it ? 2020-11-08 20:54:09 Just pushe a fix for flask so that setuptools is a run-time dep now 2020-11-08 20:54:45 cool 2020-11-08 20:56:32 is openjdk8-8.252.09-r0 jdk ? 2020-11-08 20:56:39 yes 2020-11-08 20:56:43 cause openjdk9 and 10 etc... have a specific jdk package, but not 8 :/ 2020-11-08 20:56:58 What do you mean with a specific jdk package? 2020-11-08 20:57:38 openjdk9-jdk-9.0.4_p12-r2, etc... 2020-11-08 20:57:48 all other openjdk versions have a "-jdk-" package but just 8 not 2020-11-08 20:57:50 so it's confusing 2020-11-08 20:57:58 (in their name) 2020-11-08 20:58:12 I think they started to split it up since 9 2020-11-08 20:58:31 compare https://pkgs.alpinelinux.org/contents?file=&path=&name=openjdk9-jdk&branch=edge&repo=community&arch=x86_64 2020-11-08 20:58:41 halosghost: good guide on how to package libraries ? 2020-11-08 20:58:46 with https://pkgs.alpinelinux.org/contents?branch=edge&name=openjdk8&arch=x86_64&repo=community 2020-11-08 20:59:18 alpusr: that's a good question 2020-11-08 20:59:34 alpusr: start with this https://wiki.alpinelinux.org/wiki/Creating_an_Alpine_package 2020-11-08 21:00:14 quick peek at what i am working on: http://0x0.st/inBi.jpg http://0x0.st/inB-.jpg 2020-11-08 21:00:46 caskd: tab-completion? 2020-11-08 21:00:54 yep, for zsh 2020-11-08 21:01:04 cool 2020-11-08 21:01:33 caskd: kewl 2020-11-08 21:01:46 presumably, there are no custom tab completions for ash 2020-11-08 21:02:10 will upstream it to aports once i get everything done 2020-11-08 21:02:23 it will even have package name completion ;) 2020-11-08 21:03:12 caskd: that sounds awesome 2020-11-08 21:03:23 remote package name completion as well as local? 2020-11-08 21:03:26 or, just local? 2020-11-08 21:03:54 i guess just local (from downloaded APKINDEX) 2020-11-08 21:04:02 hmm... I've added boost, but cmake can't find it, how so ? 2020-11-08 21:04:06 that's almost certainly better anyway 2020-11-08 21:04:35 alpusr: boost-dev? 2020-11-08 21:04:47 thanks 2020-11-08 21:04:48 https://pkgs.alpinelinux.org/package/edge/main/x86_64/boost-dev 2020-11-08 21:05:01 alpusr: for makedepends, you almost always need the -dev package 2020-11-08 21:05:57 thanks, neede a few dev, now it's compiling :) 2020-11-08 21:06:10 tnx for the fast repsonse 2020-11-08 21:07:42 works, tommorow I'll try to package, thanks 2020-11-08 21:08:37 o/ 2020-11-08 21:09:28 actually is there any dockerfile which builds a lib + dev for alpine ? 2020-11-08 21:09:38 (preferably with cmake) ? 2020-11-08 21:10:04 There is docker-abuild 2020-11-08 21:16:05 i just noticed something with apk info... --depends flag is given twice in both the man page and --help 2020-11-08 21:17:41 i mean apk list 2020-11-08 23:09:54 I'm trying to setup Alpine on an LUKS-encrypted device (not partition, the whole disk). The /boot partition is stored unencrypted on a removable device, and it contains the LUKS header. I'm wondering if it's possible to use UUID or any other persistent naming scheme in /etc/crypttab in this case. 2020-11-08 23:10:51 are you using a detached LUKS header? 2020-11-08 23:11:05 Yes 2020-11-08 23:11:52 do you have partiton table for that specific disk? 2020-11-08 23:12:18 The LUKS-encrypted disk does not have a partition table 2020-11-08 23:12:42 I tried extracting the UUID from the LUKS header via luksDump, but that failed to boot 2020-11-08 23:13:31 the persistent naming doesn't work, the PARTUUID needs a partition table and the UUID is stored in the header which you obiously have on the USB and not the disk with the actual data 2020-11-08 23:13:57 you either need a partition table or need to keep the header on the disk 2020-11-08 23:14:01 sadly 2020-11-08 23:14:36 this is the biggest disadvantage with this setup 2020-11-08 23:14:48 I would be happy to use /dev/disk/by-id, but `eudev` facilities seem to be unavailable in the initramfs generated by `mkinitfs` 2020-11-08 23:15:03 only mdev is available in the initramfs 2020-11-08 23:15:32 you could add eudev to it but i am not sure if and how well it would work 2020-11-08 23:16:02 huh 2020-11-08 23:16:11 oh hi opal 2020-11-08 23:16:14 hi 2020-11-08 23:16:19 Ok well, I guess MBR with one partition filled with random data is deniable enough encryption still 2020-11-08 23:16:25 i have a similar setup im looking at this and making sure i understand 2020-11-08 23:16:43 ah yeah 2020-11-08 23:16:47 same exact thing i deal with 2020-11-08 23:16:47 lol 2020-11-08 23:16:53 me too haha 2020-11-08 23:17:08 i just gave up and had the header on the disk 2020-11-08 23:17:11 yeah its a shame, without a luks header, theres *no way* to refer to the partition reliably 2020-11-08 23:17:31 i tried PARTUUID but it seems to not work for some reason 2020-11-08 23:17:42 yeah its weird, i still dont understand it entirely 2020-11-08 23:17:48 never poked at it enough 2020-11-08 23:17:58 what i do now "works" and ill figure it out when it breaks i guess 2020-11-08 23:17:59 lol 2020-11-08 23:18:11 oh, caskd on fedi, i see 2020-11-08 23:18:16 sorry it took me a full minute 2020-11-08 23:18:32 yep, np 2020-11-08 23:18:47 saw you on rizon as well but i don't spend a lot of time there 2020-11-08 23:18:52 btw i wanted to tell you that your avatar is one of the few tasteful lain pics ive seen lol 2020-11-08 23:18:56 yeah me either 2020-11-08 23:19:02 ty 2020-11-08 23:20:12 Thank you for your input, you two probably saved me a whole night of poking around miserably :D 2020-11-08 23:20:34 you don't have to go through the same wasteful trial and error as we did 2020-11-08 23:20:37 :) 2020-11-08 23:20:47 yeah for sure 2020-11-08 23:21:16 Ashpool you could potentially query the disk label i think 2020-11-08 23:21:32 like what you see in /dev/disk/by-id 2020-11-08 23:21:40 that requires a partiton table 2020-11-08 23:22:04 in this case no partiton table is present 2020-11-08 23:22:08 cryptsetup can set a label, but it'll only make it available once the disk is unlocked 2020-11-08 23:22:10 sure about that? 2020-11-08 23:22:15 yep 2020-11-08 23:22:23 there are links for /dev/sdx for me 2020-11-08 23:22:37 on disks im sure that have no partition table 2020-11-08 23:22:51 hm, then it would probably work 2020-11-08 23:23:02 but that would require some hacking around the initramfs 2020-11-08 23:23:20 the generation scripts more exactly 2020-11-08 23:23:24 yeah i think i have a script that calls lsblk and populates /dev/disk manually 2020-11-08 23:23:33 should be easy to figure out something like that 2020-11-08 23:25:27 i wonder if findfs can do that as well http://0x0.st/inBE.jpg 2020-11-08 23:25:54 0x0 blocks tor 2020-11-08 23:26:29 any other services that support direct POST? 2020-11-08 23:26:41 your own server :^) 2020-11-08 23:26:42 (thats what i do) 2020-11-08 23:26:54 well i do rsync/ssh but 2020-11-08 23:27:23 other than that i dont have any suggestions, maybe transfer.sh, i know they had first-class tor/onion support before 2020-11-08 23:27:58 sprunge.us 2020-11-08 23:28:29 btw, my setup's only gonna get more contrived, end goal is honestly squashfs for root filesystem, no initramfs, everything else on encrypted partitions, including /usr and /var 2020-11-08 23:28:42 http://sprunge.us/hHRsLr there we go: 2020-11-08 23:28:44 that means getting rid of udev and replacing with mdev because apparently the latter supports this type of setup 2020-11-08 23:29:15 isnt sprunge just for text 2020-11-08 23:29:24 yep that's for text 2020-11-08 23:29:30 lol 2020-11-08 23:29:32 but you can always use base64 :D 2020-11-08 23:29:36 ah f 2020-11-08 23:29:43 oh true 2020-11-08 23:30:27 it blocks base64 as well :C 2020-11-08 23:30:34 by "contrived" i mean "simpler in my eyes, but everyone else would rather support more-complex stuff" 2020-11-08 23:32:14 opal: your setup sounds super appealing to me 2020-11-08 23:32:21 opal: are you running vanilla alpine? 2020-11-08 23:32:25 (or planning to) 2020-11-08 23:32:33 gentoo on desktop 2020-11-08 23:32:33 moved from alpine actually lol 2020-11-08 23:32:51 found myself compiling a bunch of stuff so i just took the leap entirely 2020-11-08 23:33:09 still using alpine on some systems, actually would like to use it on my router and access point eventually 2020-11-08 23:33:09 hehe 2020-11-08 23:33:12 makes sense 2020-11-08 23:33:16 dont want to brick either of them though, so i'll get spares before i play with that 2020-11-08 23:35:57 i wonder if i could hack around my router and install alpine on it 2020-11-08 23:36:07 curl http://sprunge.us/jfChQE | base64 -d > test.jpg 2020-11-08 23:36:47 but it's one of those german fritz!box routers and mine has just got openwrt support in 2020 2020-11-08 23:38:49 openwrt just does so many things weirdly and it feels quite broken, other than that i admire the fact that they support a lot of routers and arches 2020-11-08 23:39:02 opkg is just somehow more disgusting than apt 2020-11-08 23:39:13 how do you even manage that 2020-11-08 23:39:26 apt is disgusting 2020-11-08 23:39:54 btw been wondering what hackers use as a portable LTE/WiFi AP nowadays 2020-11-08 23:40:29 i have a laptop that supports wwan GSM in it 2020-11-08 23:40:34 :D 2020-11-08 23:41:30 oh i dislike the init on openwrt too 2020-11-08 23:41:40 just makes zero sense to me. i'd rather use s6 2020-11-08 23:41:44 opal: what does it use? 2020-11-08 23:41:52 procd i think its called 2020-11-08 23:41:59 https://openwrt.org/docs/techref/procd 2020-11-08 23:42:04 hm, never heard of it 2020-11-08 23:42:32 yeah openwrt has a few things they built specifically for it, i believe 2020-11-08 23:42:33 no clue why 2020-11-08 23:42:39 procd is a mess of shell scripts 2020-11-08 23:43:55 it can also use busybox-initd if the page is right 2020-11-08 23:44:56 im dead set on s6 everything nowadays lol, thats my end goal 2020-11-08 23:45:13 skarnet's smart, takes after djb and somehow improves upon his ideas 2020-11-08 23:45:31 i'm still ok with openrc 2020-11-08 23:45:39 s6 seems like it's semi-supported on alpine, is that roughly correct? 2020-11-08 23:45:40 don't really need more 2020-11-08 23:45:45 im "ok" with it but still more trouble than i'd like 2020-11-08 23:45:54 personally, I kind of want to switch to busybox's init 2020-11-08 23:45:56 i think adelie linux treats s6 first class 2020-11-08 23:46:01 have fewer things 2020-11-08 23:46:10 but that'd mean recompiling busybox 2020-11-08 23:46:12 which meh 2020-11-08 23:46:30 busybox > coreutils but i still dont think its the end-all-be-all 2020-11-08 23:46:46 im anal about licensing so thats one thing 2020-11-08 23:47:05 opal: I'm intense about licensing as well, in favor of copy-left 2020-11-08 23:47:07 i sadly need some coreutils features so i commited a sin and i use coreutils on my desktop alpine install 2020-11-08 23:47:13 me too 2020-11-08 23:47:19 caskd: ): 2020-11-08 23:47:21 im in favour of permissive / public domain 2020-11-08 23:47:22 caskd: sorry to hear that 2020-11-08 23:48:20 other thing is, busybox isnt "one thing", its a toolbox of random odds and ends, and while its useful to just "have everything" in one utility, it isnt the greatest design-wise 2020-11-08 23:48:41 opal: I don't love it, but I already have it 2020-11-08 23:49:05 opal: one of my massive pet-peeves is duplicate functionality 2020-11-08 23:49:17 yeah, it's quite a interesting choice to have everything in one binary 2020-11-08 23:49:31 busybox vi is absolutely mediocre 2020-11-08 23:49:42 opal: I use vis anyway 2020-11-08 23:49:43 i'll choose it over nano for sure, but i'd rather have a better standalone vi implementation 2020-11-08 23:49:52 yeah ive been meaning to give vis a serious try 2020-11-08 23:50:11 I will probalby end up recompiling busybox anyway to remove some of the things I don't want (like bc) 2020-11-08 23:50:17 might as well look into busybox init :P 2020-11-08 23:50:18 nvi's attractive too because it's close as you can get to "the" vi 2020-11-08 23:50:26 (i use neovim for intensive editing / programming though) 2020-11-08 23:50:28 does anyone even use bc? 2020-11-08 23:50:40 i use my ti-83 2020-11-08 23:50:40 caskd: I really like calc 2020-11-08 23:50:48 caskd: which is why I don't want bc 2020-11-08 23:50:56 before I found out about calc, I used bc all the time 2020-11-08 23:50:57 hm 2020-11-08 23:51:23 i just do most stuff on my physical calculator or for quick stuff i just do it in zsh 2020-11-08 23:51:35 (i live in zsh) 2020-11-08 23:51:40 my shell is busybox ash :P 2020-11-08 23:51:44 my phone's launcher has built-in four-function lol 2020-11-08 23:51:57 i use mksh or zsh 2020-11-08 23:51:58 nothing else 2020-11-08 23:52:08 well pdksh on openbsd 2020-11-08 23:52:31 i really like the insane amount of additions zsh has. it makes it bloated but not in a bad way tbh 2020-11-08 23:52:46 it really isnt bloated unless you pile on oh-my-zsh 2020-11-08 23:52:53 like its pretty nice 2020-11-08 23:52:54 true 2020-11-08 23:53:08 omz left a bad taste in my mouth toward zsh for a long while 2020-11-08 23:53:24 i used to have oh-my-zsh but that thing is a mess so i migrated to pure zsh with powerlevel10k and lots of goodies 2020-11-08 23:53:26 idk what made me reconsider zsh but im glad i did 2020-11-08 23:53:57 git://wowana.me/config/dotfiles.git my zsh stuff is there somewhere 2020-11-08 23:55:11 very minimal zshrc 2020-11-08 23:55:35 mine in comparasion is huge https://git.redxen.eu/caskd/ZSHFiles.git 2020-11-08 23:55:54 split across lots of files 2020-11-08 23:56:36 you are in a maze of twisty passages, all alike 2020-11-08 23:56:52 my nvim stuff is probably more expansive than zsh 2020-11-08 23:57:07 for me vim is less 2020-11-08 23:57:10 i just know i hated bash's input, i loved mksh's but mksh history file support is buggy 2020-11-08 23:57:14 so zsh is a good compromise 2020-11-08 23:57:38 most places i use *ksh i dont use a history file so it doesnt matter 2020-11-08 23:58:16 (need to fix my x200's trackpoint too, i'd use it more if not for that) 2020-11-08 23:58:23 I started with zsh when arch's install media used it 2020-11-08 23:58:32 tried omz for about 12 seconds before I uninstalled it 2020-11-08 23:58:44 I appreciate several things about zsh, but much of it is impenetrable 2020-11-08 23:59:15 you really have to dig though the manpages to grasp the amount of things it offers and how they work 2020-11-08 23:59:49 so, I'm enjoying going back to stupid-simplicity with ash :) 2020-11-09 00:00:05 yeah there are still some pain points i have with zsh, but i feel like it just amounts to me not understanding it enough 2020-11-09 00:00:29 it can be really good, the syntax is just hell until you get used to it 2020-11-09 00:00:48 ash's line editing and stuff just pisses me off 2020-11-09 00:00:55 🤷 2020-11-09 00:01:05 I don't use terribly interesting line editing in the shell 2020-11-09 00:01:11 the only thing so far I am missing is $! 2020-11-09 00:01:15 and I'll get over it :) 2020-11-09 00:01:34 it really depeds on what kind of work you do in the shell as well 2020-11-09 00:01:41 I run commands :) 2020-11-09 00:01:45 zsh syntax? 2020-11-09 00:01:49 i still stick with posix for like everything i do lol 2020-11-09 00:02:04 i think $_ is a ksh thing 2020-11-09 00:02:58 but hell if i bother to remember much of zsh-specific stuff 2020-11-09 00:03:07 i use my shell as a file manager, notification hub, irc client (kinda [yes this is sent from a zsh line]) and much more 2020-11-09 00:03:15 what/s $! by the way 2020-11-09 00:03:42 it's the last argument of the last command you ran 2020-11-09 00:03:57 sorry, no 2020-11-09 00:04:21 exit code of last command 2020-11-09 00:04:24 I mean !$ 2020-11-09 00:04:28 oh 2020-11-09 00:04:35 :) 2020-11-09 00:04:37 my bad 2020-11-09 00:04:58 ah, that's like !! in zsh 2020-11-09 00:05:29 nvm, misunderstood 2020-11-09 00:05:38 i disable all the bang shit 2020-11-09 00:05:38 i didnt like it in bash 2020-11-09 00:05:40 yeah, I kind of miss !! as well 2020-11-09 00:05:51 its just such an odd syntactic curve ball that i never bothered understanding 2020-11-09 00:06:00 i type literal !s much more often than otherwise 2020-11-09 00:06:12 I hear that 2020-11-09 00:06:34 lemme just bring one thing from my zsh scripts to just show you what cursed syntax i write sometimes 2020-11-09 00:07:49 ${IDS[(r)${options[6]:9:11}]} or ${${(nO)vids}#* | } 2020-11-09 00:08:18 it gets to a point where it's sometimes unreadable 2020-11-09 00:08:20 write-only languages, my favourite 2020-11-09 00:08:30 caskd: woof 2020-11-09 00:08:43 caskd: you may already have perl installed 2020-11-09 00:08:58 people call perl write-only but thats only if you try 2020-11-09 00:09:09 well regexp is undeniably like that but eh 2020-11-09 00:09:13 i can read regexp pretty well now lol 2020-11-09 00:09:45 regexp is not that bad, the flavours really confuse me tho 2020-11-09 00:09:52 yeah 2020-11-09 00:09:54 opal: frankly, regex is not write-only at all 2020-11-09 00:09:54 i mainly write perl regex 2020-11-09 00:10:07 but, the extensions like pcre are completely impenetrable 2020-11-09 00:10:34 i know posix and perl/pcre fairly well 2020-11-09 00:10:55 vim's a bit difficult but if you use \v at begin then it's a bit more manageable 2020-11-09 00:13:03 ACTION likes vis's sregex 2020-11-09 00:13:09 mmmmsregex 2020-11-09 00:23:35 looks like UUID won't work in initramfs if the LUKS header is detached, even on GPT/MBR partitions 2020-11-09 00:24:35 at least `blkid` refuses to report any UUID unless the LUKS header is present on the device/partition 2020-11-09 01:55:27 https://git.redxen.eu/caskd/zsh-completions/raw/commit/7e9cfbc00fb5538451dd47666364903586ecb4af/_apk finished! (kinda), will upstream later today as i gotta catch some sleep, it's 3am and i gotta wake up at 6:30am 2020-11-09 03:53:25 is there a TL;DR for running glibc binaries in alpine? the wikie page has two big fat warnings at the top https://wiki.alpinelinux.org/wiki/Running_glibc_programs 2020-11-09 04:59:35 I'm trying to install alpine to an old laptop and it runs in a loop. 2020-11-09 05:00:31 I can't get past Available interfaces 2020-11-09 05:01:00 https://l.facebook.com/l.php?u=https%3A%2F%2Fsuperuser.com%2Fquestions%2F1382732%2Fcannot-setup-network-interfaces-when-installing-linux-alpine-with-setup-alpine%3Ffbclid%3DIwAR2mT9u6_rfwGarM0cMo0VwxA5Hefd1wPuCVddGZbP1ByjdY9QQM2C9GlFQ&h=AT1Z_-gk3td6ARnjEd25pk2rIOjHst0hJlcuLKQp_hAJHwKxKCK5AshYHHVapaFND598KuWMxyBcGKj3a-LX6sWFzEcMCh1-n6Qu7r1hGq7d379V7dqJSKAYPg&__tn__=R]-R&c[0]=AT1-YWhBw41-FEL6aUlgPlNtAH7kkU_96c3W_uJp8rZNmgeXyRGl 2020-11-09 05:01:00 F_Rk_-proaKNky-k5MYwXNacf2_sEzdP5DSxA7NmEVf4Cx0bAtZMI1AX6GriY4n0AhqpU13rr0wNpSTHDibtULV4T8_33gzGdjUV0vc 2020-11-09 05:01:18 bridget: As in, you answer the questions and then it asks you again? 2020-11-09 05:01:20 sorry wrong link 2020-11-09 05:01:24 https://superuser.com/questions/1382732/cannot-setup-network-interfaces-when-installing-linux-alpine-with-setup-alpine?fbclid=IwAR2mT9u6_rfwGarM0cMo0VwxA5Hefd1wPuCVddGZbP1ByjdY9QQM2C9GlFQ 2020-11-09 05:01:28 yep 2020-11-09 05:02:01 Are you exactly matching what's on that question, including eth and wlan interfaces? 2020-11-09 05:02:11 I have the same problem as this person in stack exchange but I'm such a noob, not sure where to go from here. 2020-11-09 05:02:28 Okay, what are you trying to connect to? (ethernet, wifi) 2020-11-09 05:02:35 ethernet 2020-11-09 05:03:06 So at "Which one do you want to initialize?" you're telling it eth0? 2020-11-09 05:03:11 yes 2020-11-09 05:03:24 Okay, and then it brings you back and asks which one you want to init? 2020-11-09 05:04:04 it asks "ip address for etho" 2020-11-09 05:04:18 Oh, okay; is there an option for DCHP? 2020-11-09 05:04:31 yes. 2020-11-09 05:04:31 If you don't know otherwise, you probably want dhcp (automatic addressing) 2020-11-09 05:04:39 Okay, pick that 2020-11-09 05:04:46 I was trying to do auto but it wouldn't 2020-11-09 05:04:57 Odd. Did you get an error message? 2020-11-09 05:05:12 it jumps to "available interfaced are: wlan0" 2020-11-09 05:05:23 Oh, that might not be an error then 2020-11-09 05:05:37 Enter '?' for help on bridges, bonding, and vlans. 2020-11-09 05:05:42 it's giving you the opportunity to set up all interfaces if you want, but you should be able to just tell it "done" (IIRC, don't have it in front of me) and proceed 2020-11-09 05:06:09 (yes, this could perhaps be presented more clearly) 2020-11-09 05:06:26 I tried that and it then asks, "Do you want to do any manual network configuration? 2020-11-09 05:06:48 just say no to that 2020-11-09 05:07:01 I answer no, and it loops back to," Ip address for eth0?" 2020-11-09 05:07:37 That's curious. Give me a minute; this will be easier if I actually pull up that menu myself. 2020-11-09 05:07:45 The one answer I found " That user-unfriendly error is coming from busybox ip when it tries to set your wlan0 interface up, and it means that the device is either soft or hard blocked, or both. 2020-11-09 05:07:46 Inspect the output of busybox rfkill list wlan. If it says soft blocked, then rfkill unblock wlan to remove the soft block. If it says hard blocked, then your computer should have a hardware switch somewhere that you can toggle. 2020-11-09 05:08:38 but I don't understand how to navigate before the install. I'm still getting familiar with Linux mint and the terminal for coding and github stuff 2020-11-09 05:09:07 Yeah, that's probably a red herring if you intend to just use ethernet 2020-11-09 05:09:18 :/ 2020-11-09 05:10:09 It won't pick up my wifi, I was basically fine with that, I usually do wired but I don't know what other options I have. 2020-11-09 05:10:28 Other than trying another light distro 2020-11-09 05:11:29 Okay, got my VM up. So if you press alt-right and alt-left you can switch between virtual terminals. Hit alt-right to go to tty2 and log in as root, then run `ip -4 a` ("ip config, IPv4 only, show addresses) 2020-11-09 05:11:44 ok 2020-11-09 05:12:10 If you have an IP here, then the setup script is being stupid and you can bypass it. If you don't, then there's an actual problem we can look at. 2020-11-09 05:16:13 LACampbell: Honestly depending on your usecase it might be easiest to run a docker container of debian or such 2020-11-09 05:17:51 hmm oka 2020-11-09 05:18:02 Any luck, bridget? 2020-11-09 05:19:30 not really. I think I'll try something more beginner friendly. 2020-11-09 05:20:30 Thank you for helping. 2020-11-09 05:21:15 That's totally fair. If you're coming from Mint, maybe try https://lubuntu.me/ - it's also a Debian/Ubuntu family member, but it uses a much lighter desktop than Mint. 2020-11-09 05:21:29 And always happy to help:) We were all beginners once:) 2020-11-09 05:21:59 :) Okay. I'll try that. Ty. 2020-11-09 05:22:02 np 2020-11-09 06:49:53 yjftsjthsd: yeah that might be an easier way to do it. not sure of docker will work because it's a GUI app, but chroots may work 2020-11-09 07:30:08 Is there any way at all to specify a detached LUKS header location for an encrypted root when using `mkinitfs` with `cryptsetup`? 2020-11-09 07:43:36 don't get what you mean detached LUKS header,if you want to `mkinitfs` for mounted luks, you can alway specify the root, the `mkinitfs` is not related to luks Ashpool 2020-11-09 07:46:40 Ok my wording may be a bit awkward but basically i'm following this guide https://wiki.alpinelinux.org/wiki/LVM_on_LUKS and trying to figure out what I need to change in order to have a LUKS header detached on a file in the boot partition (which itself is on a removable USB drive) 2020-11-09 07:47:40 By detached header I mean a file specifed via the `--header` option to `cryptsetup` when creating the LUKS container 2020-11-09 08:32:40 if there would be a docker building packages, it would be great 2020-11-09 08:32:44 this way you don't need to understand anything :) 2020-11-09 10:19:46 yeah, you especially dont need to understand why people use docker 2020-11-09 10:37:39 Hi, I tried flagging a package out-of-date but all I get is a 404 2020-11-09 10:47:48 where do you get the 404 2020-11-09 10:50:43 I suspect they try to flag a package on a stable branch 2020-11-09 10:51:27 opal: When I am on the package description and click on the "Flag" button, e.g. https://pkgs.alpinelinux.org/package/v3.12/community/x86_64/openjdk11 2020-11-09 10:51:53 Yes, so you can only flag packages on edge 2020-11-09 10:52:47 (might want a more-useful error than 404 then) 2020-11-09 10:54:34 thanks, I'm gonna file a bug then 2020-11-09 10:54:43 about the ourdated package 2020-11-09 11:26:20 i have a problem with setting up elogind, dbus, polkit and pam. anyone here might be able to help me? 2020-11-09 11:28:10 smartass response: the problem is that you're trying to set them up :) 2020-11-09 11:28:23 anyway try describing exactly what your issue is 2020-11-09 11:28:33 nobody's able to help you if they don't know what's wrong 2020-11-09 11:31:44 i am using alpine as a desktop setup 2020-11-09 11:32:05 using edge repos (and linux-edge from testing) 2020-11-09 11:32:44 i would want to be able to run commands such as poweroff, reboot etc. without sudo 2020-11-09 11:32:59 on my system i am using sway 2020-11-09 11:33:38 so i installed elogind, dbus, polkit, and pam 2020-11-09 11:33:54 i enabled the services elogind and dbus (for run level boot) 2020-11-09 11:34:22 now when i run loginctl reboot (e.g.) i get the error message: interactive authentication required 2020-11-09 11:34:52 You need polkit-elogind, not polkit 2020-11-09 11:35:11 And a polkit client, on GNOME one would use polkit-gnome, no clue what is used for Sway 2020-11-09 11:35:35 You can exempt certain commands from requiring a password with sudo, maybe an alternative for you? 2020-11-09 11:36:00 Cogitri: i see, will give this try 2020-11-09 11:36:31 mmx870: yes, thought about that as well, but would like to have a setup with working polkit if possible 2020-11-09 11:36:52 also i am launching sway with the command: dbus-run-session sway 2020-11-09 11:37:30 currently i need to manually create/set and define ownership of the XDG_RUNTIME_DIR to successfully launch sway 2020-11-09 11:38:00 hm i use elogind without polkit on my systems 2020-11-09 11:38:14 i am not sure, but i hope, once i have elogind, dbus, polkit and pam setup corretly, i no longer need to set XDG_RUNTIME_DIR 2020-11-09 11:39:02 opal: do you need to manually set XDG_RUNTIME_DIR? and are you able to run power commands wihtout sudo/doas? 2020-11-09 11:39:16 my setup is nowhere near similar to yours 2020-11-09 11:39:35 i rarely reboot so i honestly dont know whats set up 2020-11-09 11:40:44 Just set the runtime dir in your profile file 2020-11-09 11:40:52 i think elogind sets xdg_runtime_dir for me 2020-11-09 11:41:29 mmx870 that "works" but it's nowhere near the freedesktop mandated way to manage that directory. the xdg standard blows 2020-11-09 11:42:03 something something multi-seat and multiple login sessions to one user 2020-11-09 11:42:29 mmx870: thats what i am currently doing, yes 2020-11-09 11:44:30 opal, https://bpa.st/Q7FQ 2020-11-09 11:46:43 hmm, this depends on 'who' working 2020-11-09 11:52:15 ikke, why wouldn't it work? 2020-11-09 11:52:26 oh thanks i'll keep this script 2020-11-09 11:52:53 mmx870: historically, alpine (musl) did not support utmp/wtmp 2020-11-09 11:53:16 oh this script relies on that 2020-11-09 11:54:44 https://pkgs.alpinelinux.org/packages?name=utmps&branch=edge 2020-11-09 11:55:37 I see, I was using it on Void 2020-11-09 15:06:38 hmm any go experts here 2020-11-09 15:06:54 looking at this aport and i've discovered a bug https://git.alpinelinux.org/aports/tree/testing/lxd/APKBUILD?id=9a07866b66bc5960dd103e6070469af1ba19fb53#n69 2020-11-09 15:07:11 lxd-agent binary is built dynamically, and needs to be built statically 2020-11-09 15:07:22 the reason being is because this binary is copied inside of virtual machines, when initalized 2020-11-09 15:07:30 and they may not be musl, or even have musl 2020-11-09 15:07:50 i confirmed with upstream (lxd) and they said it needs to be statically built https://github.com/lxc/lxd/blob/master/Makefile#L31 2020-11-09 15:08:31 OK, so you mean completely static 2020-11-09 15:08:44 yeah 2020-11-09 15:08:56 But I think we commonly do not staticaly compile musl for go projects 2020-11-09 15:09:26 yeah i think in this case we need to make an exception or it won't work 2020-11-09 15:09:28 > Code above shows that the build target for it is to be static. So that suggests Alpine isn't using our defined build targets and that whoever decided to do that also didn't look at what we'd normally do :) 2020-11-09 15:09:41 > Yeah, the binary is exposed to the VM over 9p from the host. So if the binary isn't static it would only work in VMs that use musl. 2020-11-09 15:09:44 which is exactly the issue 2020-11-09 15:09:59 https://discuss.linuxcontainers.org/t/lxd-agent-no-such-file-or-directory/9421/3 2020-11-09 15:10:54 > Ironically our effort to make it build statically was done for the other way around. Allowing the agent to work in Alpine VMs running on Ubuntu hosts. 2020-11-09 15:10:56 so yeah. 2020-11-09 15:11:13 https://dominik.honnef.co/posts/2015/06/go-musl/ 2020-11-09 15:14:10 ah looks easy enough 2020-11-09 15:15:18 Example of a project that did the same: https://github.com/twpayne/chezmoi/commit/cfa3fd2674bc7cd74cbf506f52ebe15723365133 2020-11-09 15:15:43 -linkmode external --extldflags "-static 2020-11-09 15:16:10 ah nice. thanks for the help 🙂 2020-11-09 15:16:21 save me from somehow messing up haha 2020-11-09 15:16:27 i'll make sure to test it 2020-11-09 15:16:46 I was trying to find it, as I recalled seeing that commit (and kept it in mind for when I wanted to do the same) 2020-11-09 15:18:04 yeah, and this is a perfect example of where static building is necessary 🙂 2020-11-09 15:18:18 because you don't know what system this binary will be run on 2020-11-09 15:18:22 From what I understand, with musl it's easier as with glibc 2020-11-09 15:18:28 very high chance of musl not being installed 2020-11-09 15:18:35 yeah i saw that 2020-11-09 15:18:48 thankfully the LXD guys are awesome when it comes to musl support 2020-11-09 15:18:53 they don't write it with the aims of only working with glibc 2020-11-09 15:18:55 (y) 2020-11-09 15:24:21 LACampbell: https://github.com/mviereck/x11docker is a thing:) 2020-11-09 15:46:48 Are their issues with edge servers? 2020-11-09 15:46:58 I'm getting temporary error 2020-11-09 15:47:06 for evrything 2020-11-09 15:48:52 what repo url should i be using 2020-11-09 15:48:54 for cdn edge? 2020-11-09 15:48:54 ? 2020-11-09 15:49:20 dl-cdn.a.o 2020-11-09 15:51:33 edge meaning here edge server or edge repository =) 2020-11-09 15:51:46 edge repository 2020-11-09 15:52:42 http://dl-2.alpinelinux.org/alpine/edge/main ? 2020-11-09 15:53:25 depends on your location, but seems ok 2020-11-09 15:53:50 I'm just having temporary errors 2020-11-09 15:53:59 which usually means DNS 2020-11-09 15:54:50 yes but I fixed it 2020-11-09 15:54:53 so must be real 2020-11-09 15:55:09 check "is it only me" website for connections 2020-11-09 15:55:10 =) 2020-11-09 15:55:57 getting servfail for ipv6 2020-11-09 15:56:13 but there is an ipv4 address 2020-11-09 16:02:09 How do I mount something before running initramfs-init, or early in it before attempting to mount root? 2020-11-09 16:03:20 I feel like this should be a common procedure, yet I can't seem to find a way without altering the script itself 2020-11-09 18:53:52 Any idea how I could debug a 'hanging on shutdown/reboot' system? The last thing I see is "Saving dependency cache ...", but nothing happens after that. 2020-11-09 18:54:44 hm, does a new line get printed after the saving cache part? 2020-11-09 18:54:59 like, does a new empty line appear afterwards? 2020-11-09 18:56:09 caskd, https://pasteboard.co/JzBhaie.png 2020-11-09 18:56:30 I think there is one. Maybe it's unmounting too, I don't know. 2020-11-09 18:57:08 yeah seems like it hangs after the save-cache service was ran 2020-11-09 18:57:35 that's usually where the kernel takes care of the rest and openrc exits 2020-11-09 18:57:39 hm 2020-11-09 18:58:17 caskd, could it be unmounting the Kubernetes stuff? Or can I assume that happened as the processes were killed? 2020-11-09 18:58:46 that should work just fine, i assume 2020-11-09 18:58:57 Hm,... 2020-11-09 18:59:00 does it happen only when kubernetes mounts are present 2020-11-09 18:59:08 ? 2020-11-09 18:59:43 caskd, I think so. Or at least if containers are running, which create mounts. 2020-11-09 19:00:23 I noticed that other distros have 'similar' issues, rebooting with Kubernetes running takes ages. But on my custom Alpine it just doesn't get over that cache thing. 2020-11-09 19:00:55 that is most likely unrelated, it just happens to be the last thing that is ran before poweroff 2020-11-09 19:01:24 caskd, ok. That makes sense. Well, that's going to be fun debugging then. 2020-11-09 19:02:29 i notice those unmounts also fail. i am not a kubernetes wizard and it is a black box compared to something like lxc to me but i think that is related to some extent 2020-11-09 19:02:57 caskd, ...that seems right, yes :-) 2020-11-09 19:03:17 does kubernetes quit gracefully on shutdown? 2020-11-09 19:03:50 or even normally in this case 2020-11-09 19:03:58 caskd, That's a good question. As you say, it's a black-box. The service is stopped, yes. But I think containerd is continuing in the background somehow. 2020-11-09 19:04:32 i'd recommend you to start looking if any kubernetes stuff is still running and if yes, you should look why it does 2020-11-09 19:04:49 you can test that by stopping kube while the system runs 2020-11-09 19:05:06 caskd, ok. I will do so. 2020-11-09 19:05:47 btw, do you use a openrc script provided by the package or did you write a custom one? 2020-11-09 19:07:03 caskd, I used the one from Rancher, which built "k3s" (minimal Kubernetes). 2020-11-09 19:07:21 caskd, they use their own minimal Alpine build, but it doesn't fit my needs. So maybe I dig into their system. 2020-11-09 19:41:19 is there any documentation on how to setupup a custom alpine repo? Can i just serve a packages directory after an abuild ...? 2020-11-09 19:41:44 amk yes 2020-11-09 19:41:56 ah cool, ty 2020-11-09 19:42:07 I think the package building howto has that step 2020-11-09 19:42:30 yeah you can use a local dir, thats how the live install works 2020-11-09 19:42:35 maybe diskless installs too, i forget 2020-11-09 19:42:36 you add the directory of created packages to your /etc/apk/repositories 2020-11-09 19:43:01 actually i think diskless just uses a cache dir 2020-11-09 19:43:16 which is hardcoded to /etc/apk/cache 2020-11-09 19:44:50 ^ it (thankfully) can be linked elsewhere though 2020-11-09 19:44:55 and that is symlink to whatever... 2020-11-09 19:45:32 abuild automatically generates an APKINDEX 2020-11-09 19:47:12 i honestly like the idea of it being a hardcoded location, because a symlink *is* the configured location in this case 2020-11-09 19:47:20 instead of having to parse a file location 2020-11-09 19:47:30 true true 2020-11-09 22:01:43 hi. 2020-11-09 22:02:05 o/ 2020-11-09 22:47:16 now that i got basically all the functionality with the apk completions, i wonder where should i upstream it... 2020-11-09 22:47:46 should it be part of aports under apk-tools or should i put it in the actual apk-tools repo? 2020-11-10 03:13:12 hmm ikke i don't think i'm doing this right 2020-11-10 03:13:16 https://gitlab.alpinelinux.org/dngray/aports/-/commit/71dd5ce41e50f770c1eaf19806fd0e7022e327ed 2020-11-10 03:14:08 i wonder if that will statically compile the whole thing 2020-11-10 03:14:21 i only want to statically link lxd-agent and lxd-p2c 2020-11-10 04:48:26 oh i think i might have figured this out 😀 2020-11-10 04:55:07 https://clbin.com/mk5Yn hmm, seem to be getting a linker error 2020-11-10 04:56:08 https://gitlab.alpinelinux.org/dngray/aports/-/commit/cb6e1417a04f862a202c5a59431c81b943b5529b 2020-11-10 04:56:22 go build --ldflags '-linkmode external -extldflags "-static"' -v -tags "netgo" -o bin/ ./lxd-p2c/... 2020-11-10 04:56:23 go build --ldflags '-linkmode external -extldflags "-static"' -v -tags "agent" -o bin/ ./lxd-agent/... 2020-11-10 04:56:33 would have thought i could have just done that hmm 2020-11-10 05:16:59 ikke: i have to admit i don't really know what is going on 2020-11-10 05:44:12 dngray: same for me, to be honest :) 2020-11-10 05:52:28 hmm maybe ill post a bug on the issue tracker 2020-11-10 05:52:32 and see if someone can give me a hand 2020-11-10 05:52:56 cos right now lxd vms are totally broken ☹️, and u can't change password, or do anything useful 2020-11-10 06:00:32 you could also try to ask #go-nuts 2020-11-10 06:01:58 ah, those errors might mean you need the static versions of those libraries 2020-11-10 06:04:38 https://gitlab.alpinelinux.org/alpine/aports/-/issues/12093 2020-11-10 06:04:46 ☹️ yeah you might be right 2020-11-10 06:04:47 actually 2020-11-10 06:21:45 who knows maybe fcolista might come around and help 🙂 (seeing as they're maintainer) 2020-11-10 07:35:54 https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/community/k3s/APKBUILD#L64 2020-11-10 07:35:59 seems to be an example 2020-11-10 07:56:39 right 2020-11-10 08:12:37 ☹️ yeah and it didn't work. 2020-11-10 08:12:38 same issue 2020-11-10 08:13:15 i think it's got something to do with those CGO_LDFLAGS 2020-11-10 08:16:46 hmm :( 2020-11-10 09:07:33 Anyone ever successfully replaced open-rc with runit on Alpine?oO 2020-11-10 09:08:04 I've heard some here try it, no idea if they succeede 2020-11-10 09:08:53 Hm,...is there any way to run a specific script at a specific location on shutdown with Open-Rc? Somehow I have the feeling that this doesn't work out. 2020-11-10 09:09:54 there is a shutdown runlevel 2020-11-10 09:10:12 ikke, I know, but it seems that all these shutdown scripts run last. So before all the other runlevels. 2020-11-10 09:10:35 ikke, But I need my script to run before a specific service stops. But only on shutdown / reboot, not if the service is stopped with a running system. 2020-11-10 09:53:36 should just replace it with systemd 2020-11-10 09:53:58 shots fired 2020-11-10 09:55:08 dngray, not if they only reason for using Alpine or Void is not using systemd ;-) 2020-11-10 09:56:41 it's such a tragedy https://youtube.com/watch?v=o_AIw9bGogo 2020-11-10 09:57:22 well there are good reasons to use alpine, musl, and diskless booting 2020-11-10 09:58:33 dngray, exactly. But Open-Rc is not one of them. At least it's quite painful right now. 2020-11-10 10:13:17 one of the things that really annoys me about openrc, is when something crashes, it stays crashed 2020-11-10 10:13:46 and every single thing with a service needs a special init script just for it 2020-11-10 10:13:57 but other than that, i really do like alpine linux 2020-11-10 10:22:32 there is supervisord support to watch services 2020-11-10 11:25:31 why does Alpine start with root mounted as 'ro'? Is there any specific reason? I suspect that OpenRc does the remount to rw when startintg. 2020-11-10 11:27:26 alpine doesn't choose that, your bootloader sets the kernel options on start which dictates what should happen on start 2020-11-10 11:28:11 you can see what kernel options were passed to the kernel at boot by reading /proc/cmdline 2020-11-10 11:28:52 caskd, hm...yes, I thought so, and tried passing 'rw' which didn't change the ro mount. Funny. 2020-11-10 11:29:02 rw didn't? 2020-11-10 11:29:56 nope 2020-11-10 11:30:35 BOOT_IAMGE=/boot/vmlinuz-lts root=UUID=xxx rw modules=xxx quiet init=/bin/ash 2020-11-10 11:32:22 oh, by looking in the initramfs i noticed this https://gitlab.alpinelinux.org/alpine/mkinitfs/-/blob/master/initramfs-init.in#L509-511 2020-11-10 11:32:50 so yeah, rw should be passed to the rootflags to have effect, if not rootflags default to ro which cause this behaviour 2020-11-10 11:33:08 hehe, nice one. Thank you? 2020-11-10 11:34:30 Very nice indeed. Runit working... 2020-11-10 11:41:41 esc4rg0t: near 20 years ago I built debian router with runit as init 1 on read only FS, was funny but never repeated such thing with runit again 2020-11-10 11:42:18 had to patch runit a little 2020-11-10 11:45:52 mps, That's quite some time ago. Well, I managed to replace OpenRc with runit in Alpine, so I'm looking forward to how it continues ;-) 2020-11-10 11:47:39 a year or two ago I proposed runit as init 1 on alpine, when we considered switch from openrc 2020-11-10 11:47:55 it seems okay for a toy, but would you really want to spend a lot of time maintaining it? 2020-11-10 11:48:10 but I'm not sure will it be better than openrc 2020-11-10 11:48:33 void linux use runit as init 1 2020-11-10 11:48:37 on a serious note though (and i'm not trolling) what would be wrong with using systemd? 2020-11-10 11:48:52 lack of compattibility with musl 2020-11-10 11:48:56 its not like you need the whole thing, from what i've read it is small enough to be used in embedded situations too 2020-11-10 11:49:04 systemd is bad! 2020-11-10 11:49:08 oh yeah, that would be an issue 2020-11-10 11:49:34 sad they've built it around glibc ☹️ 2020-11-10 11:49:41 dngray, I need to build an appliance based on Linux, Musl. There's virtually no dependencies as my binaries are all static. So I'm not sure if maintaining it will be that of an issue. 2020-11-10 11:49:51 I was one of advocate to switch debian to systemd, shame on me 2020-11-10 11:50:37 is openrc maintained much anymore? 2020-11-10 11:50:50 and I was early systemd adopter, built from source and used it some years. and I know it is bad 2020-11-10 11:50:53 mps, yes, I considered Void. Still do, actually. But I don't know what's to be considered more 'stable' right now. 2020-11-10 11:51:18 I still actively use systemd, it works for me 2020-11-10 11:51:35 ikke: :) 2020-11-10 11:51:43 https://en.wikipedia.org/wiki/Systemd#uselessd heh 2020-11-10 11:52:04 most people in the world use sindows and it works for them ;) 2020-11-10 11:52:10 they stopped doing it lol 2020-11-10 11:53:04 over the years though things would have had to have improved 2020-11-10 11:53:22 but there is no perfect init system, ok 2020-11-10 11:53:43 dngray: please do not quote on irc 2020-11-10 11:53:59 dngray: or they can become worse 2020-11-10 11:54:02 oh sorry, bad habi 2020-11-10 11:55:03 mps: on a side question mind helping me with https://gitlab.alpinelinux.org/alpine/aports/-/issues/12093 2020-11-10 11:55:06 I'm partial to 66 (from obarun, and derived from s6). Which is musl compatible (and it's probably compatible with most other minimalist libc) 2020-11-10 11:55:17 i'm trying to statically compile lxd-agent and lxd-p2c 2020-11-10 11:55:32 but getting this error, (must be statically compiled because they're copied into virtual machines over 9p) 2020-11-10 11:55:40 and those virtual machines do not necessarily have musl 2020-11-10 11:56:28 which breaks lxd's virtualisation abilities, but i think i'm like the only one using it, even though LXD is pretty nice. 2020-11-10 11:56:42 i don't want to compile the whole thing statically, just those two binaries 2020-11-10 11:58:22 dngray: are they part of lxd pkg? though I think yes but can't check right now 2020-11-10 12:00:19 dngray: oh, it is go-lang, should be built static out-of-the-box 2020-11-10 12:02:39 koollman: 'selling point' for runit is it could be built as busybox applet/s 2020-11-10 12:03:53 mps: libc is still dynamic 2020-11-10 12:04:11 ikke: yes, I remember 2020-11-10 12:04:38 https://dominik.honnef.co/posts/2015/06/go-musl/ 2020-11-10 12:04:55 that is wrongly used term for go coming from glibc based systems 2020-11-10 12:05:09 i think it uses CGO or something to convert into C code? 2020-11-10 12:05:20 sorry i'm not really sure how it works 2020-11-10 12:05:24 mps: I don't know how hard that would be with other init systems. I assume it would take some work but it seems easier if the code is small 2020-11-10 12:06:37 dngray: ikke: yes, I remember from time when I built go programs on glibc system but using musl for go 2020-11-10 12:07:17 i.e. trying to build fully static go on debian 2020-11-10 12:07:31 koollman: runit is small 2020-11-10 12:07:58 main problem with runit is 'it doesn't use poll(3)' 2020-11-10 12:08:05 dngray: do you have your latest version somewhere? 2020-11-10 12:10:47 dngray: looks like it couldn't find needed libs 2020-11-10 12:11:09 yeah, it needs the static version of those 2020-11-10 12:11:18 yes, I think so 2020-11-10 12:11:55 dngray: linked to this as an example https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/community/k3s/APKBUILD#L64 2020-11-10 12:13:00 ikke: my pet peeve again, put static libs in -dev :) 2020-11-10 12:13:23 heh 2020-11-10 12:17:42 mps: 66 is small, too :) 2020-11-10 12:18:04 in this case it's the other way round 2020-11-10 12:18:08 go going to glibc based systems 2020-11-10 12:22:26 dngray: hmm, there are no static libs for dqlite yet 2020-11-10 12:25:07 grr this is annoying, because i don't understand enough to fix it 2020-11-10 12:25:13 working on it 2020-11-10 12:25:18 it's just a few deps you are missing 2020-11-10 12:25:22 > https://dominik.honnef.co/posts/2015/06/go-musl/ 2020-11-10 12:25:26 that post explains it well 2020-11-10 12:25:31 and i understood that, but yeah 2020-11-10 12:26:03 i wouldn't have thought i needed to statically build sqlite-replication 2020-11-10 12:26:19 and raft 2020-11-10 12:26:47 yes, raft is not statically built either 2020-11-10 12:28:00 hmm :( 2020-11-10 12:29:57 well it builds without it 2020-11-10 12:30:05 oh, the dev libs are not static 2020-11-10 12:30:12 nod 2020-11-10 12:30:14 would i need to build those? 2020-11-10 12:30:44 sqlite-replication-dev sqlite-dev raft-dev 2020-11-10 12:30:49 got pulled in from the repo 2020-11-10 12:31:01 you need the -static subpackages 2020-11-10 12:31:48 I think I have it now, but missing linker flags 2020-11-10 12:32:16 uv, seccomp 2020-11-10 12:33:16 I wonder why we need to explicitly pass all those linker flags 2020-11-10 12:35:07 dngray: I think I have it 2020-11-10 12:36:46 dngray: https://tpaste.us/1JJB 2020-11-10 12:37:11 raft and dqlite would need to be rebuilt with static 2020-11-10 12:37:48 so does that mean i need to build them? 2020-11-10 12:37:55 i'm not sure it use s them for those binaries 2020-11-10 12:38:20 https://discuss.linuxcontainers.org/t/lxd-agent-no-such-file-or-directory/9421/4 2020-11-10 12:38:23 is what it links to 2020-11-10 12:38:42 oh 2020-11-10 12:38:53 the linker complains without them 2020-11-10 12:39:20 ❤️ thanks for helping me get this working 🙂 2020-11-10 12:39:35 rigght. 2020-11-10 12:40:06 wow that's quite a lot of libs 2020-11-10 12:40:32 yes 2020-11-10 12:41:37 ikke: did you have to edit the apkbuild for the libs too? 2020-11-10 12:41:47 to get these 'static' versions 2020-11-10 12:41:49 yes 2020-11-10 12:41:54 but that's trivial 2020-11-10 12:42:14 https://tpaste.us/prrY 2020-11-10 12:42:25 (inb4 mps complaining about -static) 2020-11-10 12:44:10 :) 2020-11-10 12:44:54 ah 2020-11-10 12:46:30 ikke: that compiled without me modifying other APKBUILDs like the one for raft 2020-11-10 12:47:07 not quite sure how though 2020-11-10 12:49:53 me neither 2020-11-10 12:50:03 for me, I need to have raft-static 2020-11-10 12:51:14 fg 2020-11-10 12:57:34 weird. 2020-11-10 12:58:33 https://clbin.com/40hRB you can see it didn't even bother 2020-11-10 12:59:34 ? 2020-11-10 12:59:40 seems like it built? 2020-11-10 13:11:55 yeah it did 2020-11-10 13:12:19 i guess i was just a bit confused why raft didn't need to be built with those changes https://tpaste.us/1JJB 2020-11-10 13:12:33 er sorry, https://tpaste.us/prrY 2020-11-10 13:13:11 maybe its because lxc-agent doesn't actually use raft 2020-11-10 13:13:22 *lxd-agent 2020-11-10 13:13:34 i think raft is used by lxd itself that runs on the host anyway 2020-11-10 13:14:03 according to upstream only lxd-agent and sometimes lxd-p2c are actually copied inside of the VM 2020-11-10 13:14:06 But for me it fails when I leave out -lraft / raft-static 2020-11-10 13:20:22 oh wait, i think i noobed up hah 2020-11-10 13:20:57 i think i might have edited the APKBUILD and forgot to scp it up to my server where i was building it hehe 2020-11-10 13:56:04 ikke: what were the changes you made to libseccomp-static? 2020-11-10 13:56:50 the same as the ones you made for raft-static? 2020-11-10 13:57:11 it looks like that had --enable-static already 2020-11-10 13:57:49 libseccomp I didn't change 2020-11-10 13:57:56 only raft and dqlite 2020-11-10 13:58:08 the others had static subpackages already 2020-11-10 13:59:35 ah 2020-11-10 13:59:44 Hi! I'm new to Alpine. I'm trying to install add a pkg (apk add mozjs78). I get the error "unsatisfiable constraints: mozjs78 (missing): required by: world[mozjs78] 2020-11-10 13:59:44 that's interesting because when i went to build i saw 2020-11-10 14:00:02 It's in the community repository. Is that the problem? 2020-11-10 14:00:23 https://clbin.com/S2is1 2020-11-10 14:00:45 breeo: make sure you enabled the community repo in /etc/apk/repositories 2020-11-10 14:00:51 breeo: you need to enable the community repository 2020-11-10 14:01:01 dngray: masked in: @edge 2020-11-10 14:01:02 ikke: it's uncommented 2020-11-10 14:01:09 https://wiki.alpinelinux.org/wiki/Enable_Community_Repository 2020-11-10 14:01:12 breeo: did you run apk update afterwards? 2020-11-10 14:01:36 yes, Still the same error 2020-11-10 14:01:48 can you show the contents of /etc/apk/repositories? 2020-11-10 14:02:12 http://dl-cdn.alpinelinux.org/alpine/v3.12/mainhttp://dl-cdn.alpinelinux.org/alpine/v3.12/community 2020-11-10 14:02:35 ah, v3.12 still has mozjs68 2020-11-10 14:02:36 That's two lines there 2020-11-10 14:02:48 not mozjs78 2020-11-10 14:03:21 Oh. 2020-11-10 14:03:39 breeo: https://pkgs.alpinelinux.org/packages?name=mozjs*&branch=v3.12 2020-11-10 14:04:35 Thanks! I didn't understand that there were different versions 2020-11-10 14:04:59 We have stable releases (v3.x) and edge, which is a rolling release 2020-11-10 14:05:06 Just did a package search on pkgs.alpinelinux.org 2020-11-10 14:06:34 Thanks a lot 2020-11-10 14:07:07 does APK track when/which packages were upgraded in any meaningful fashion? 2020-11-10 14:08:06 apk does not keep any logs if that's what you mean 2020-11-10 14:09:11 I didn't think so, at least I'm not over looking something. 2020-11-10 14:11:21 ikke: okay i made sure to compile raft, and dqlite, though i'm surprised you didn't have to do anything about libseccomp-static 2020-11-10 14:11:44 https://clbin.com/IEBLj 2020-11-10 14:11:55 oh 2020-11-10 14:11:59 its in edge derp 2020-11-10 14:12:56 i must be lacking sleep 2020-11-10 14:13:19 nb, it's best not to combine stable and edge\ 2020-11-10 14:24:37 ikke: WOOO 😀 2020-11-10 14:24:40 you fixed it 😀 2020-11-10 14:24:45 dngray: :) 2020-11-10 14:24:56 lxd agent now works 😀 2020-11-10 14:25:06 sorry for being a nagging pain in the ass 2020-11-10 14:25:21 no problem, learned from it myself as well 2020-11-10 14:25:58 i'll make sure to put in a PR, so that the maintainer can approve 2020-11-10 14:26:14 or alter to fix however they want 2020-11-10 14:26:53 😀 lxd is showing my ip addresses now for virtual machines 2020-11-10 14:37:05 ikke: btw is this you https://gitlab.alpinelinux.org/users/Ikke 2020-11-10 14:37:23 just curious, because i was giving thanks, in the PR for your help 2020-11-10 14:37:34 yes 2020-11-10 14:37:36 well 2020-11-10 14:37:42 @kdaudt is my actual username there 2020-11-10 14:37:46 this is more of a test user 2020-11-10 14:38:04 oh 2020-11-10 14:38:05 okay 2020-11-10 14:38:56 > Thanks goes to @kdaudt for his help. 2020-11-10 14:39:15 ikke: assumption that is the right pronoun hah, you never know these days 2020-11-10 14:39:34 sure 2020-11-10 14:40:50 i put it in the one PR https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/14511 2020-11-10 14:41:15 even though it updates raft, and dqlite 2020-11-10 14:41:49 dngray: the changes to dqlite and raft should be separate commist (in the same MR) 2020-11-10 14:42:01 oh yeah you're right. 2020-11-10 14:42:12 i can still fix that. 2020-11-10 14:42:17 yup 2020-11-10 14:42:24 just guess ill have to revert and fix 2020-11-10 14:42:33 reset and commit 2020-11-10 14:42:57 git reaset HEAD~; git add; git commit; git add; git commit 2020-11-10 14:43:06 git push --force-with-lease 2020-11-10 14:44:22 hmm that's different to how i did it 2020-11-10 14:44:36 i made a patch, dropped the commit, and then was going to just merge each one 2020-11-10 14:44:38 and make a commit 2020-11-10 14:45:08 whatever works 2020-11-10 14:45:26 never used --force-with-lease before 2020-11-10 14:46:09 it's slightly safer as --force 2020-11-10 14:46:32 in case of a personal fork it does not really matter that mutch, but it's ingrained in my muscle memory 2020-11-10 14:47:59 ah nice 2020-11-10 14:48:02 ill look into that 2020-11-10 14:51:44 there we go fixed https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/14511/commits 2020-11-10 15:36:48 Are past versions of APKBUILDs and patch files for alpine stored anywhere? 2020-11-10 15:37:32 bovis: aports repository 2020-11-10 16:50:12 does alpine's libdrm have support for omap? 2020-11-10 17:04:58 ah nvm, the apkbuild says no 2020-11-10 17:08:15 wsinatra: exynos also 2020-11-10 17:08:59 vc4 maybe also 2020-11-10 17:09:01 yeah both are missing it seems. I just compiled with -Domap=true and it seems fine. 2020-11-10 17:09:34 I'd love to have xf86-video-omap, just gotta tweak libdrm first 2020-11-10 17:15:42 mps: libdrm with vc4 and exynos set to true compiled just fine :D 2020-11-10 17:16:25 good :) 2020-11-10 17:19:10 yes indeed, one step closer :) 2020-11-10 22:33:50 Hi, when running alpine Docker image in a container created by CRI-O and Kubernetes, packages "trigger" scripts fail with exit code 127, which is the usual exit code for "command not found". I don't have the issue using Docker/containerd locally. Is it a known issue? Is there a way to have proper debug output of such trigger scripts? Thanks for your help. 2020-11-10 23:20:48 Exagone313: ask the maintainer of the image 2020-11-10 23:22:26 seems to be ncopa 2020-11-10 23:24:58 if you don;t have any trouble using docker image locally, but have the issue with kubernetes..then it would lead me to believe kubernetes is causing the issue 2020-11-11 00:37:42 hey all. Wondering why alpine package for the GIMP is stuck at 2.10.18. Current version os 2.10.22. thnx. 2020-11-11 08:22:15 hi everyone, I'm having some trouble installing alpine on a device of mine. The problem is that the only connection I have is via serial 2020-11-11 09:13:00 https://wiki.alpinelinux.org/wiki/Enable_Serial_Console_on_Boot 2020-11-11 09:13:48 i think the article is a bit old 2020-11-11 09:14:39 should be enough to add "SERIAL ..." and "console=ttyS0" so syslinux.cfg on the boot media 2020-11-11 09:27:45 ncopa: I struggled editing the boot media because it is on ISO and so is read only. Instead I just copied the whole thing on to a usb drive formatted as FAT (I tried vfat as well). 2020-11-11 09:28:09 Now syslinux doesn't boot "failed to load ldlinux.c32" 2020-11-11 09:28:56 oh, it's running isolinux, and I guess I need syslinux not isolinux because my boot disk is not longer ISO 2020-11-11 09:46:07 you should be able to copy the content to a vfat formatted usb drive 2020-11-11 09:46:37 i think the vfat partition needs to be marked as "bootable" with fdisk ('a' in fdisk iirc) 2020-11-11 09:47:11 then you need to run `syslinux /dev/sdX` on the partition to install syslinux properly 2020-11-11 09:49:34 you can eitehr bind mount the iso image or extract the files with either 7z or uniso 2020-11-11 09:59:02 yeah I mounted the iso image and then copied the contents. but I can't get the bootloader to work 2020-11-11 09:59:58 It says ISOLINUX despite running syslinux to install that. I'm not sure if that's the problem? The error I get is "Failed to load ldlinux.c32" 2020-11-11 10:21:53 davew: what about dd if=/path/to/iso of/dev/usb_drive; or { cat /path/to/iso > /dev/usb_drive; sync; } 2020-11-11 10:22:12 of=* 2020-11-11 10:32:47 nitro: how do I then edit the ISO? serial isn't enabled by default 2020-11-11 10:33:40 isofs is read-only by definition, so you cannot edit it 2020-11-11 10:35:35 ikke: so then using dd to copy the iso doesn't work because I can't see anything because the serial console isn't enabled 2020-11-11 10:36:40 davew: what is the last thing you do still see? 2020-11-11 10:38:46 Okay, so I've copied the ISO using dd. I see the bios, then ISOLINUX says "boot:" for a few seconds then serial disconnects and the screen goes blank 2020-11-11 10:41:27 I could plug in a usb keyboard, but there's no video output 2020-11-11 10:41:35 we should have serial console in iso boot images, if it is possible (and i think it is) 2020-11-11 10:42:51 https://pastebin.com/sXf6ybgi 2020-11-11 10:43:28 davew: ok, when you see boot, you can enter parameters 2020-11-11 10:44:01 "lts console=ttyS0,9600" or something similar should work 2020-11-11 10:48:48 you need to hold down shift to stop boot but that doesn't work over serial :(. Thanks nitro, I couldn't figure out how to make an ISO image, it's not something I've needed to do before (I got as far as mkisofs but never got it to be bootable). 2020-11-11 10:49:12 davew: the approach has worked for me in the recent past (With only serial access) 2020-11-11 10:49:37 davew: as soon as you start typing, it should stop booting 2020-11-11 10:54:05 davew: upon my mounting the iso, it seems any reference in the script to "isolinux" should be "syslinux" 2020-11-11 10:56:12 nitro: thanks, mostly the mkisofs was what I needed 2020-11-11 10:57:12 np, glad to pass on any little nuggets 2020-11-11 10:58:35 ikke, hmmm, I managed to type and put lts console=... but serial still goes offline :-/. You've had this work previously? 2020-11-11 10:59:18 which version of alpine are you using? 2020-11-11 10:59:23 but yes, I've had this working 2020-11-11 11:23:05 3.12 and the standard x86_64 2020-11-11 11:24:26 sorry 3.12.1 2020-11-11 11:24:39 Should work then 2020-11-11 12:02:54 how to boot alpine on really old hardware? Any boot options? I keep getting stuck at package installation stage of setup-alpine 2020-11-11 12:05:40 so seems booting is not the issue, just the installation part? 2020-11-11 12:13:53 @ikke yes it boots fine on an old pentium 3, but when it gets to package installation I suppose its the old ata hard drive having issues. 2020-11-11 13:46:47 davew: are you actually using 9600 2020-11-11 15:49:17 Hi, is there a proper way to update /etc/os-release after upgrading to a higher release when using mini rootfs and/or container images? 2020-11-11 15:50:09 micheloe: that file should be updated when updating alpine-base 2020-11-11 15:50:20 ikke: :) 2020-11-11 15:50:25 mps: ;-) 2020-11-11 15:50:51 I feel I should left this channel 2020-11-11 15:50:57 noooo 2020-11-11 15:53:59 ah really... alpine-base was not installed so that explains why it wasn't updated lol 2020-11-11 15:55:35 I guess /etc/os-release is added manually to reduce size, also explains why apk info --who-owns told me nobody owned the file. thanks :-) 2020-11-11 15:57:19 yeah, mostly due to dependencies 2020-11-11 15:57:54 it would install openrc and alpine-conf 2020-11-11 17:59:13 do we have some dhcp client for ipv6 and to be used over ppp links 2020-11-11 18:03:05 hmm, https://github.com/openwrt/odhcp6c looks fine, maybe make apk 2020-11-11 18:47:05 hey folks, i am trying inferno-os in i386/alpine:3.11.6 docker environment, everything is fine except the last step - ld, i faced with error "/usr/inferno-os/emu/Linux/../port/kproc-pthreads.c:221: undefined reference to `pthread_yield'" 2020-11-11 18:47:23 full error here: https://termbin.com/o3t0 2020-11-11 18:49:28 i tried to google, as i can understand, the problem linking with musl? 2020-11-11 19:12:29 alpine version: 3.11.6 btw 2020-11-11 19:27:07 what is inferno-os? 2020-11-11 20:07:58 list 2020-11-11 20:08:45 grep alpine 2020-11-11 20:13:08 Hi everyone ! 2020-11-11 20:14:41 Could someone tell me the right to ask for help about booting alpine on a laptop ? 2020-11-11 20:15:09 tell me the right place* 2020-11-11 20:16:33 devmapper: this would be a good place, just ask the question (ie, what you are having issues with) 2020-11-11 20:16:51 devmapper: but you may need to have a little patience 2020-11-11 20:17:44 Nice ! No worry I'll be patient 2020-11-11 20:21:34 So I tried to setup my laptop with a basic luks encryption, use to follow the "lvm on luks" tutorial, and installed grub efi, use to enable cryptsetup in mkinitfs; 2020-11-11 20:26:18 Also configured /etc/default/grub to enable cryptdisk, and created the grub_cmd_line_default as follow : "cryptdevice=:root root=" 2020-11-11 20:27:46 The problem is that when booting, after grub's startup, no password is asked and get a rescue shell 2020-11-11 20:29:07 I guess I'm missing something but don't know what... I would be glad to have some hints :) 2020-11-11 20:29:27 Did you enable it in /etc/mkinitfs/mkinitfs.con? 2020-11-11 20:29:53 Btw sorry for your eyes bleeding, my english is quite bad 2020-11-11 20:30:33 Yeah and added cryptsetup to features 2020-11-11 20:30:50 devmapper: I've no issues following you 2020-11-11 20:31:02 Most of use are not native speakers 2020-11-11 20:32:07 most of us 2020-11-11 20:32:14 :) 2020-11-11 20:34:19 Glad not to be alone 2020-11-11 20:41:25 devmapper: was the initramfs regenerated after you added cryptsetup? 2020-11-11 20:44:37 Using "mkinitfs -c /etc/mkinitfs/mkinitfs.conf -b / $(ls /lib/modules)" ? Yes I did 2020-11-11 20:45:00 ok 2020-11-11 20:46:14 Just saw something : grub.cfg in boot partition has the following config : 2020-11-11 20:48:34 linux /vmlinuz root=UUID= ro modules=blabla.. rootfstype=ext4 cryptdevice=:root root= 2020-11-11 20:49:49 Could something be wrong with that ? 2020-11-11 22:41:18 hello, I have a long-standing problem with compiling my program on Alpine Linux 2020-11-11 22:42:46 it is a Ruby native extension (C code that is being compiled into a binary that then Ruby can call it) and it's currently working only on the very old version of Ruby and Alpine but fails on all later versions 2020-11-11 22:43:14 the issue is described in Ruby bugtracker but it gets no attention there so far: https://bugs.ruby-lang.org/issues/17174 2020-11-11 22:44:47 people just say "ah, it's musl", "use Slim", etc. but docker container on Alpine would be much smaller and since it works on Ruby 2.3.8 + Alpine 3.8, why not support it further? 2020-11-11 22:46:02 the issues results into a binary that is compiled but when I require it Ruby code it throws the exception shown in that bug report -- the docker run command image and git branch provided so it's easily reproducible for investigation 2020-11-11 22:58:42 probably no one spotted the issue earlier because no one else develops a gem with Bignum libs, so the problem in fact appeared with Ruby 2.4, while it's already 2.5, 2.6, 2.7, and 3.0 is coming already -- Ruby maintainers just don't want dive into such old problem I suppose 2020-11-11 22:59:44 it's basically probably just about some compilation options but no one can tell me what are they, and should they be fixed in my gem or in Ruby 2020-11-12 01:22:01 nakilon: so, dumb questions first - is there some ruby devel package you need to download? 2020-11-12 01:22:09 it looks like it's relying on something compiled with glibc 2020-11-12 01:22:55 wheres idhash.so problem? 2020-11-12 01:22:58 *from 2020-11-12 01:24:22 I'm not sure how official ruby docker images are built, I use them as you can see :FROM ruby:${RUBY_VERSION}-alpine${ALPINE_VERSION} 2020-11-12 01:24:30 other than that you only need build-base 2020-11-12 01:24:47 I didn't understand your last question 2020-11-12 01:27:00 usual ruby installation (and such as in that official docker image) provide some .c/.h files needed to compile native extensions, but not all -- such as bighum.c are absent in usual installation so in the Dockerfile you can see I download more full Ruby code as .tar.gz 2020-11-12 01:28:40 on macOS installing Ruby via rbenv with -k flag is enough -- it downloads full sources too and it's used in my gem in case of macOS 2020-11-12 01:29:22 but in container there is no much sense in using rbenv so I use their docker image 2020-11-12 01:32:16 so in the end in compiles the .so but raise the exception on require 2020-11-12 01:41:13 here is how it install on Slim http://paste.org.ru/index.pl?2aeotz 2020-11-12 01:42:07 then results in successfull "require" and then benchmark: https://i.imgur.com/imsBxoo.png 2020-11-12 01:48:26 04:22:09 it looks like it's relying on something compiled with glibc -- do you suppose their have packaged some glibc binary into Alpine docker image? 2020-11-12 01:48:47 since Ruby 2.4, somehow 2020-11-12 01:59:00 Hello71: sorry for slow response, I was sleeping. serial is set to 115200 for bios/boot. I've tried changing speed to 9600 after serial goes offline but it stays offline. 2020-11-12 02:02:58 well you can't change it *after* 2020-11-12 02:03:38 if I set it at 9600 then I can't do anything during boot 2020-11-12 02:04:07 then set linux to 115200 2020-11-12 02:04:10 oh, I type lts console=ttyS0,115200, because that's what I'm connected at during bios 2020-11-12 02:04:20 it still goes offline 2020-11-12 02:32:09 nakilon: I mean where is idhash.so from? 2020-11-12 02:33:04 can you compile your extension on alpine itself? without using docker images 2020-11-12 02:33:17 because if you can, the problem is with the ruby image 2020-11-12 02:36:56 idhash.so is a result of gem compilation 2020-11-12 02:37:50 it can't compile on clear alpine, it needs ruby 2020-11-12 04:12:53 nakilon: but you can install ruby on alpine 2020-11-12 04:13:26 and does it even need ruby to compile? it'll need libruby or whatever it's called (it's been like 10 years since I've done this) 2020-11-12 04:14:47 I guess I searched packages for "bignum.c" on alpine packages website to find that none has it 2020-11-12 04:19:26 anyone here use openresolv.conf? 2020-11-12 04:20:00 finding udhcp updates my resolv.conf with the last dns server wiping out the previous ones 2020-11-12 04:22:26 https://wiki.alpinelinux.org/wiki/Configure_Networking#IPv4_DHCP_Configuration i feel like it deserves some mention 2020-11-12 04:24:39 https://wiki.alpinelinux.org/wiki/Udhcpc 2020-11-12 05:42:20 I'm trying to get a Alpine vagrant box going. I can't get the keyboard layout to save after running setup-alpine. When doing setup-alpine, I select 'us us', and the layout works properly during the setup. Once I exit the setup, my keyboard layout is incorrect, and many of my keys are off. If I run setup-keymap, there is no keymap saved. Any thoughts/ideas? Am I crazy? 2020-11-12 06:17:06 LACampbell ok, I took alpine:3.8 and ran commands one by one 2020-11-12 06:17:29 it needed /usr/lib/ruby/include/ruby.h do I did apk add ruby-dev 2020-11-12 06:17:50 and it resulted in the same error: /dhash-vips/lib/dhash-vips.rb:10:in `require_relative': Error relocating /dhash-vips/idhash.so: rb_deprecate_constant: symbol not found - /dhash-vips/idhash.so (LoadError) 2020-11-12 07:14:32 nakilon: where was /dhash-vips/idhash.so compiled? 2020-11-12 07:15:14 ruby extconf.rb # creates Makefile 2020-11-12 07:15:24 make # creates .so 2020-11-12 07:16:24 https://i.imgur.com/2hpmDvY.png 2020-11-12 07:19:21 it installed ruby-dev 2.5, while .tar.gz was from 2.4, heh 2020-11-12 07:19:31 anyway the exception is the same 2020-11-12 07:21:21 nakilon: I feel like there must be something about that make file that assumes glibc. though then why would it wowrk with older ruby versions.. 2020-11-12 07:22:45 http://paste.org.ru/index.pl?2aeotz is that what you're using to get ruby? is it a binary built with glibc? 2020-11-12 07:22:51 (I don't use docker, idk what 'slim' is) 2020-11-12 07:22:51 I didn't compare Makefiles -- they can really be different 2020-11-12 07:23:16 slim is a version of debian 2020-11-12 07:23:23 oh right 2020-11-12 07:23:39 yeah but hangon this has nothing to do with ruby, you're just trying to run make on some C code 2020-11-12 07:23:46 I think 2020-11-12 07:23:53 I made this Dockerfile to build slim-based image since I can't make it alpine-based 2020-11-12 07:24:02 where's the git repo? 2020-11-12 07:24:39 yeah that makes sense. that error messages seems to suggest that *somewhere* there's some glibc compiled binary 2020-11-12 07:24:56 "ruby native extensions" is a C code of gem that is being mixed with C code of Ruby to result into a binary that is then requirable from Ruby code with "require" command 2020-11-12 07:26:00 right, so that's pure C just using ruby.h or whatever, right? 2020-11-12 07:26:05 I assume by "git repo" you mean this: https://github.com/Nakilon/dhash-vips/tree/alpine-compilation-issues 2020-11-12 07:26:20 is that the thing you are trying to make? 2020-11-12 07:26:33 here's gem C code https://github.com/Nakilon/dhash-vips/blob/alpine-compilation-issues/idhash.c 2020-11-12 07:26:34 ie if I clone and make that, will I get your error 2020-11-12 07:29:54 ok I got to the bit where it's looking for bignum.c 2020-11-12 07:30:27 what is bignum c, exactly? 2020-11-12 07:31:18 it's this: https://github.com/ruby/ruby/blob/master/bignum.c 2020-11-12 07:31:26 hmm 2020-11-12 07:32:26 it's not in ruby-dev so my Dockerfile wgets and unpacks the .tar.gz from ruby website to /ruby and then extconf.rb has the line that appends the -I /ruby/ to Makefile 2020-11-12 07:33:59 yeah that is maybe the issue 2020-11-12 07:34:18 I feel like during the compilation process it partially uses files from ruby-dev and partially from .tar.gz 2020-11-12 07:34:50 but it works on 2.3.8 and on all versions of Ruby on Slim 2020-11-12 07:35:41 and on all versions of rbenv Ruby on macOS 2020-11-12 07:35:59 yeah ruby-dev on alpine doesn't include any c files 2020-11-12 07:36:05 (with rbenv you just install the ruby with -k flag so no need of tar.gz) 2020-11-12 07:36:09 apk info -a ruby-dev 2020-11-12 07:36:42 yeah, those files that are in ruby-dev are kind of enough for most people needs 2020-11-12 07:37:03 and it's like no one made a gem around Bignum ) 2020-11-12 07:37:18 why does bignum.c needs to be here? 2020-11-12 07:37:29 it's poking into the ruby internals? 2020-11-12 07:37:44 it's using these definitions https://github.com/Nakilon/dhash-vips/blob/alpine-compilation-issues/idhash.c 2020-11-12 07:38:02 see constants starting with B 2020-11-12 07:38:16 I mean they are preprocessor defines 2020-11-12 07:38:59 they're not exposed in any of the headers? 2020-11-12 07:39:17 they are defined in bignum.c that also relies of lots of other files, and so make it possible to operate with Bignum Ruby type in the way I need 2020-11-12 07:39:52 https://github.com/ruby/ruby/blob/fa3670e6e48a8553ad1f37bbfbd112911da497d1/bignum.c#L85 2020-11-12 07:40:08 yeah but it seems really weird 2020-11-12 07:40:20 that the B functions you want aren't in any headers 2020-11-12 07:40:23 have you checked? 2020-11-12 07:40:35 like what happens if oyu just #include or whatever? 2020-11-12 07:41:05 my very first attempt was to copypaste pieces of bignum.c to my gem but it didn't work -- all these defines are dragging dozens of each other 2020-11-12 07:41:52 ruby.h is already included somewhere inside 2020-11-12 07:42:08 and yes, I tried it since it's the default way to write native extensions 2020-11-12 07:42:26 these BDIGITS things are just not there -- they are absent in ruby-dev 2020-11-12 07:42:42 and in the installation of ruby "without sources" 2020-11-12 07:44:25 yeah this is a weird one 2020-11-12 07:44:30 I mean i fully understand why this wouldn't work 2020-11-12 07:44:42 what I don;t understand is why it does work in debian 2020-11-12 07:45:13 why not ) I add all the missing source code with -I 2020-11-12 07:45:53 and as you can see, it really find all the files and makes .so on alpine -- it just is somehow broken in result 2020-11-12 07:45:57 *finds 2020-11-12 07:47:05 the only thing that was needed to make it work on Ruby >= 2.4 on macos and debian was -DRUBY_EXPORT 2020-11-12 07:47:20 otherwise it didn't know some basic definitions like TRUE and FALSE 2020-11-12 07:48:16 I mean is that tar file you are downloading just source code? or does it include binaries as well? 2020-11-12 07:48:23 because I suspect it includes glibc binaries 2020-11-12 07:49:47 idk 2020-11-12 07:50:23 that message about can't find .so is a classic thing 2020-11-12 07:50:48 I guess they are https://cache.ruby-lang.org/pub/ruby/ruby-2.3.8.tar.gz 2020-11-12 07:50:48 if you really wanted to do this, I'd compile ruby itself. that way you get all the files you want. or I'd find some way to avoid looking at the ruby internals 2020-11-12 07:51:04 and https://cache.ruby-lang.org/pub/ruby/ruby-2.4.6.tar.gz respectively 2020-11-12 07:51:05 there surely must be a way... 2020-11-12 07:52:05 "looking at the ruby internals" is the point of the native extension ) it makes my library 15-20 times faster 2020-11-12 07:52:13 and I mean, the fact that you are using ruby internals means it's bound to break. it's a brittle way of doing things. even using GMP or something would be better 2020-11-12 07:52:41 it can be GMP inside 2020-11-12 07:52:54 so you're just grabbing rubys bignum.c bceause youu need bignum stuff not available in C, right? 2020-11-12 07:53:03 Ruby is very crossplatform and all these definitions are resolving all these things about architecture 2020-11-12 07:54:04 my gem essentially is a library that stores data as Bignum numbers and the method that I need to make faster is doing operations on them like XOR, AND, OR 2020-11-12 07:54:20 right but in building native extensions you really should just be using headers of the dev files, not the implementation of the interpreter itself 2020-11-12 07:54:26 and implementing it on C level it's possible to make it more optimized 2020-11-12 07:54:37 then statically link in a C library 2020-11-12 07:54:49 that does bignum stuff 2020-11-12 07:55:16 are there no .c files in ruby-dev? 2020-11-12 07:55:29 no. nor would I expect there to be 2020-11-12 07:55:50 "apk info -a" tells you what files it installed 2020-11-12 08:24:48 so here is the difference between tar.gz https://dpaste.org/ad6a/slim 2020-11-12 08:26:53 I don't any suspicious filetypes 2020-11-12 08:51:28 Hi all. I am looking at something that uses a docker image of alpine to generate a squashfs bootable image for alpine linux. It strips out the modules etc because it's meant to run as a docker. What would be the best way to add them back in if I don't have network access (due to no modules) 2020-11-12 12:29:16 nakilon: yeah but either way ruby is free to change how they implement their interpreter, which means your bignum using code can fail. 2020-11-12 12:29:22 where as the headers are a stable API 2020-11-12 12:29:24 anyway good luck 2020-11-12 12:30:26 there is no such problems with version compatibility in ruby like in other such as python 2020-11-12 12:31:07 things won't break 2020-11-12 12:31:52 I mean it's just few chars of code to edit to make the gem note the user that "hey this won't on this version, you need this one" 2020-11-12 12:32:10 and even more -- even if the compilation fails it will fallback to the ruby implementation 2020-11-12 12:32:45 "good luck" -- heh ( 2020-11-12 12:33:10 I don't mean in terms of python2 -> python3 2020-11-12 12:33:18 I mean you're not supposed to program to the implementation of ruby 2020-11-12 12:33:21 which you are 2020-11-12 12:33:33 you're supposed to program with the header files 2020-11-12 14:01:27 Hello, quick newbie question - to install this package: https://pkgs.alpinelinux.org/package/edge/community/x86_64/binutils-arm-none-eabi what do I need in /etc/apk/repositories? I'm trying with `@edge http://dl-cdn.alpinelinux.org/alpine/edge/main` but it doesn't like `binutils-arm-none-eabi@edge` as a name. 2020-11-12 14:18:28 you need to add the community repo 2020-11-12 14:19:43 oh, thanks! Same URL but /community instead of /main, I presume? 2020-11-12 14:20:30 yeah 2020-11-12 18:50:26 Hi. I'm using opensmtpd and looking for a good option for DKIM signing outbound mails on Alpine. OpenBSD's "filter-dkimsign" has been perfect, but we are proposing to unify our systems to Alpine. 2020-11-12 18:52:12 Trying rspamd but not getting on well; lots of opaque policy, and inbound policy intertwined with outbound, it's making this task very complicated 2020-11-12 18:53:31 radiomark: maybe we could package https://github.com/de-vri-es/filter-dkimsign 2020-11-12 18:53:48 At this point I would absoultely love that. It's been great on OpenBSD 2020-11-12 18:53:52 https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=opensmtpd-filter-dkimsign 2020-11-12 18:54:04 And then all your policy is in opensmtpd's config 2020-11-12 18:54:19 In this particluar case, our host is outbound SMTP only 2020-11-12 18:55:01 Realistically, that code should almost be part of opensmtpd itself 2020-11-12 19:58:25 babes 2020-11-12 19:58:27 pls 2020-11-12 19:58:30 pst 2020-11-12 19:58:47 do you guys know if alpine still uses libressl by default? 2020-11-12 19:59:18 Kind of weird greeting.. 2020-11-12 19:59:21 i told you, what exactly in alpine you mean 2020-11-12 19:59:26 lmao 2020-11-12 19:59:39 But no, the default ssl implementation is openssl 2020-11-12 19:59:39 i thought it is bot 2020-11-12 19:59:52 rip 2020-11-12 19:59:52 nah, isn't 2020-11-12 19:59:55 w 2020-11-12 20:00:07 pernia: less enter, more complete sentences please 2020-11-12 20:00:19 sorry 2020-11-12 20:00:21 i mean like 2020-11-12 20:00:42 does alpine use libressl as the default crypto stack for the base system? 2020-11-12 20:00:44 pernia: the reason is that libressl broke compattibility 2020-11-12 20:00:50 We used to 2020-11-12 20:00:56 that's more like it, god damn 2020-11-12 20:00:58 but they diverged too much 2020-11-12 20:01:09 hn 2020-11-12 20:01:23 that sucks 2020-11-12 20:02:28 well thanks 2020-11-12 20:02:31 bybeye 2020-11-12 20:02:31 PatchesWelcome™ 2020-11-12 20:03:05 we'll end up patching it up like chromium if someone tries that 2020-11-12 20:03:15 halosghost: not for this 2020-11-12 20:03:18 https://lists.alpinelinux.org/~alpine/devel/%3C20181011171746.4c01f758%40ncopa-desktop.copa.dup.pw%3E for anyone interested 2020-11-12 20:03:57 mps: if they decided to completely maintain libressl in a compatible way and provide support for it, I suspect everyone might be okay with a patch to include it as an alternative 2020-11-12 20:04:09 mps: just seems like the likelihood of that makes it essentially impossible 2020-11-12 20:04:15 a lot of 'if' 2020-11-12 20:04:16 mps: but only a Sith deals in absolutes 2020-11-12 20:04:21 :P 2020-11-12 20:05:04 something else, do anyone use ipv6 over pppoe links? 2020-11-12 20:06:00 Not with Linux 2020-11-12 20:07:22 I created odhcp6c apk and it works a half, get ipv6 address and set it on ppp interface 2020-11-12 20:07:59 I can ping ipv6 over internet but can't ping 'self' from internet 2020-11-12 20:08:41 packets arrives (tcpdump) but stack doesn't know where to answer 2020-11-12 20:08:53 this works on openwrt 2020-11-12 20:09:38 And the destination address matches the address on the interface? 2020-11-12 20:10:12 yes, 'ping' packets arrives 2020-11-12 20:10:47 And I assume no firewall blocking trafic? 2020-11-12 20:10:51 probably routing table is not set correctly 2020-11-12 20:11:12 no, I allowed ipv6 icmp in firewall 2020-11-12 20:12:05 hmm, maybe I should allow all ipv6 temporarily to check 2020-11-12 22:04:41 why would you have me blocked? 2020-11-12 22:05:06 wups, wrong one 2020-11-12 22:43:42 hey, I have fresh installation of alpine-virt, latest version off the downloads page, and I'm not able to login as root over ssh. 2020-11-12 22:44:33 you have to confire sshd to allow that, but it's generally a bad idea 2020-11-12 22:44:37 did you add an ssh key? 2020-11-12 22:44:43 better to allow one user to ssh in and root up using sudo 2020-11-12 22:44:44 I haven't done an ssh key 2020-11-12 22:44:49 by default root login with password is disabled 2020-11-12 22:44:53 yeah, I know 2020-11-12 22:45:10 I'm trying to set it up so I can install some packages and do some edits through ssh 2020-11-12 22:45:24 in a script 2020-11-12 22:45:52 I know it's not recommended, but since it's scripted, a password prompt after I ssh in is a no-go 2020-11-12 22:45:53 And I think the default root password is emtpy anyway, which means you need to set it 2020-11-12 22:46:12 I did an installation to a disk, so the password is set 2020-11-12 22:46:40 I set PermitRootLogin and restarted sshd, but nada 2020-11-12 22:46:59 did you check /var/log/messages? 2020-11-12 22:47:12 I have not. 2020-11-12 22:48:06 it says 'failed password' 2020-11-12 22:48:21 I can su into root with that same password, however. 2020-11-12 22:49:21 that's what /var/log/messages gives me 2020-11-12 22:50:56 does `getent shadow root` return something sensible? 2020-11-12 22:53:00 doesn't look like it: 'getent: Unknown database `shadow': No error information' 2020-11-12 22:53:01 you need to permit PasswordAuth as well 2020-11-12 22:53:21 I did 2020-11-12 22:53:32 'PasswordAuthentication yes' 2020-11-12 22:54:21 oh, apparently you can't query shadow that way 2020-11-12 22:54:36 fair enough. 2020-11-12 22:55:00 so you'd need to check /etc/shadow 2020-11-12 22:55:25 yeah, there's a password hash for root in /etc/shadow 2020-11-12 22:55:47 Is it prefixed with a '!' or '*'? 2020-11-12 22:56:44 neither of those characters are present in that line of the file 2020-11-12 22:56:53 hmm, strange 2020-11-12 22:56:59 did you do anything with pam? 2020-11-12 22:57:33 it has root:$6$iu/hash.../:18578:0::::: 2020-11-12 22:57:44 didn't touch it. this is a fresh installation. 2020-11-12 22:58:14 downloaded the image, booted, installed to disk, and tried to ssh in 2020-11-12 22:58:24 when that failed, I added a user and installed nano. 2020-11-12 22:58:38 looks alright 2020-11-12 23:00:35 I don't know what else to try. 2020-11-12 23:03:26 I'm using a short password that the install script told me was bad, would that make a difference somehow? 2020-11-12 23:03:48 perhaps 2020-11-12 23:03:58 I always use ssh keys 2020-11-12 23:04:14 I'll try using a key then. 2020-11-12 23:06:54 well, that worked 2020-11-12 23:07:26 thanks! 2020-11-13 02:40:57 Hey guys, I'm following this guide: https://wiki.alpinelinux.org/wiki/LVM_on_LUKS 2020-11-13 02:41:02 but I get an error when I try to run this: name 1 boot 2020-11-13 02:41:06 Error: msdos disk labels do not support partition name. 2020-11-13 05:40:55 urmom: I guess you could just skip that then 2020-11-13 05:41:02 the next step is more important 2020-11-13 06:54:14 is there a way to suspend/resume without a DE/window manager (i.e. just console)? 2020-11-13 07:19:18 rnkn: 'echo mem > /sys/power/state' 2020-11-13 07:27:26 mps: ah thanks 2020-11-13 07:31:51 also, you can add this to some acpid 'actions', i.e. buttons 2020-11-13 07:34:57 so I can still put the computer to sleep when closing the screen without using a DE? 2020-11-13 07:37:23 sure 2020-11-13 07:37:52 I have it set for LID and POWER buttons 2020-11-13 14:41:25 is there any way i can get libclang.so on alpnie? 2020-11-13 14:42:02 bloodstalker: https://pkgs.alpinelinux.org/package/edge/main/x86_64/clang-dev 2020-11-13 14:42:24 try looking for things you need at https://pkgs.alpinelinux.org/contents if you need anything else 2020-11-13 14:44:02 is there any apk switch for it? like "apt-file" or "dnf provides"? 2020-11-13 14:44:42 There's apk-file (a separate program) 2020-11-13 14:45:54 ok. thank you very much. 2020-11-13 16:20:44 I am new to abuild; is there a reason it cannot find a gcc header file? 2020-11-13 16:20:46 fatal error: obstack.h: No such file or directory 2020-11-13 16:21:15 /usr/lib/gcc/x86_64-alpine-linux-musl/9.3.0/plugin/include/obstack.h 2020-11-13 16:21:26 The build works outside of abuild, and gcc is running fine inside abuild 2020-11-13 16:36:05 Is abuild building in a sandbox, or on the host system? 2020-11-13 16:37:22 abuild builds on the host system by default 2020-11-13 16:37:41 So any ./configure will automatically adjust to the host system 2020-11-13 16:38:52 Oh, I see, the area where the build is happening is in ./src 2020-11-13 17:04:15 recently, trying to build a alpine package indexer, want to index file, content, man etc. But currently only indexed packages, try here https://alpine.ink/packages 2020-11-13 17:08:32 FYI my obstack.h issue was a silly error; it was a different version of the source code 2020-11-13 17:09:59 Builds are rather slow as my work directory is on NFS, is there a way to point the temporary build area to a different location? 2020-11-13 17:26:50 radiomark: I don't see any documentation for it, but when I look at the source code, it seems like you can set the build dir via the $builddir env var. 2020-11-13 18:18:34 I installed on a Raspberry Pi and I can't seem to get my timezone to save. I have the swclock service enabled, hwclock disabled, using busybox ntpd. I used lbu to save the overlay and restarted, but it seems like it doesn't save my timezone. https://pastebin.com/eKrMW8ws 2020-11-13 22:03:14 Hey i'm trying to encrypt the whole disk with luks 2020-11-13 22:03:36 But I have this error when starting 2020-11-13 22:04:10 mount: mouting /dev/vg0/root on /sysroot failed: no such file or directory 2020-11-13 22:05:58 hex[ed]: install chrony, it can deal better with big time chanes 2020-11-13 22:07:31 ajseg: are you sure your "cryptroot=" is correct? 2020-11-13 22:09:19 and be sure to add nvme to /etc/mkinitfs/mkinitfs.conf if you using it 2020-11-13 22:31:54 MY-R: I fixed it! was a mistake with "cryptroot=" 2020-11-13 22:31:58 Thank you! 2020-11-13 22:32:18 you are welcome? 2020-11-13 22:32:20 :P 2020-11-14 02:29:23 in which package is the apk manpage? I tried installing apk-doc but it doesen't exist 2020-11-14 02:29:43 apk-tools-doc ? 2020-11-14 02:30:52 o thats not on v3.12, i'll just install it with --repository 2020-11-14 02:30:53 thanks 2020-11-14 13:48:30 Guys, is there a file that contains the apk installed app history ? 2020-11-14 13:49:01 for example (/var/log/apt/history.log) in apt package manager 2020-11-14 13:51:46 kontol-ayam: no, apk doesn't log actions 2020-11-14 13:51:59 so how does apk info work? 2020-11-14 13:52:20 it surely has it's own db right? in a file somewhere 2020-11-14 13:58:44 /lib/apk/db/installed 2020-11-14 13:59:09 very nice, thanks a lot 2020-11-14 14:09:41 hello 2020-11-14 15:06:33 fcolista: no chance we can put a hold on a package, 4.8 of lxd crashes 2020-11-14 15:06:34 probably needs a patch 2020-11-14 15:07:08 is there any way to pull a package from the alpine linux repos so that it does not update for people? 2020-11-14 15:07:29 downgrade it again 2020-11-14 15:07:35 if so, we should put a hold on lxd 4.8 2020-11-14 15:07:46 likely it will need a musl related patch 2020-11-14 15:07:56 yeah that doesn't help other people lol 2020-11-14 15:08:05 I mean, downgrade it in the repos 2020-11-14 15:08:15 oh yeah 2020-11-14 15:08:28 we should probably do that then, 4.7-r2 is working 2020-11-14 15:08:33 and then when we have a patch i will make sure i test it 2020-11-14 15:08:40 before we let it go to 4.8 2020-11-14 15:09:03 i guess ill post about it on our issue tracker hey 2020-11-14 15:09:53 upstream is usually very prompt on these sorts of things when reported so that's nice 🙂 2020-11-14 15:09:59 :) 2020-11-14 15:10:01 they do strive to make things work on musl 2020-11-14 15:20:06 https://gitlab.alpinelinux.org/alpine/aports/-/issues/12107 done 2020-11-14 16:13:30 Hi, can't find libreoffice package in repositories, however it's APKBUILD is still in aports. Am I missing something? 2020-11-14 16:14:36 Dekedro: It doesn't build atm due to gcc10 2020-11-14 16:14:48 We're trying to get it to build again, though 2020-11-14 16:16:18 Ok, got it, thanks 2020-11-14 18:22:49 @dngray, before I revert the commit for lxd 4.8, can you see it what they are saying in https://github.com/lxc/lxd/issues/8159 applies to you? 2020-11-14 18:23:12 "I can see how this could happen if you have a LXD built against liblxc 4.0.5 but are running on a system with liblxc 4.0.4 or lower." 2020-11-14 18:23:47 yeah i'm having a look into this now 2020-11-14 18:23:52 i think it might be that it doesn't depend on the latest lxc-libs 2020-11-14 18:23:54 and it should 2020-11-14 18:24:06 for example lxd@testing installs (16/40) Installing lxc-libs (4.0.2-r0) 2020-11-14 18:24:16 so i'll make sure 4.0.5 is used and see what happens 2020-11-14 18:25:44 umh, yeah. I need to add lxc-libs into depends. 2020-11-14 18:26:34 and yeah, you can't mix them so there needs to be a package built for testing 2020-11-14 18:27:03 i think that might be the issue 2020-11-14 18:27:29 lxd is a nightmare at every upgrade. 2020-11-14 18:28:15 most of the time it's okay 🙂 2020-11-14 18:28:36 so currently does it just pull in lxc-libs from somewhere else? 2020-11-14 18:28:52 it pulls from main 2020-11-14 18:29:02 lxd depends from lxc in main 2020-11-14 18:29:25 oh yeah there we are 2020-11-14 18:29:29 they don't seem to think that's an issue 2020-11-14 18:29:35 if it was built against 4.0.2 2020-11-14 18:29:45 only if it was built against some other version 2020-11-14 18:29:59 > That shouldn't be a problem so long as LXD wasn't built on a system with 4.0.4 for liblxc 2020-11-14 18:31:35 which version of alpine are you using? 2020-11-14 18:31:41 3.12 2020-11-14 18:31:50 heh 2020-11-14 18:31:51 maybe i should build lxd 4.8 against lxc-libs 4.0.5 2020-11-14 18:31:58 and see if the error persists 2020-11-14 18:32:02 mixing repo is not a good idea 2020-11-14 18:32:06 can't hurt 2020-11-14 18:32:22 yeah i'd have to recompile both 2020-11-14 18:32:27 why? 2020-11-14 18:32:28 that would work though 2020-11-14 18:32:39 pin edge/main too 2020-11-14 18:32:47 oh guess i could do that 2020-11-14 18:32:48 and upgrade only lxc 2020-11-14 18:33:01 yeah that won't work with lxd 2020-11-14 18:33:12 ok, gotta go...let me know how it goes 2020-11-14 18:33:20 i already did that 🙂 and it crashes 2020-11-14 18:33:29 lxd --debug 2020-11-14 18:33:29 Error relocating /usr/lib/liblxc.so.1: seccomp_notify_free: symbol not found 2020-11-14 18:33:35 ok 2020-11-14 18:33:38 works here 2020-11-14 18:33:49 and a bunch like that, so it will both need recompiling 2020-11-14 18:33:50 seems some deps are broken 2020-11-14 18:34:03 no dngray it's due to abi breaks about mixing repos 2020-11-14 18:34:05 I installed lxd on an edge docker container, and it starts 2020-11-14 18:34:06 i don't know how, because if lxd is built against 4.0.2 you can't just upgrade lxd-libs and expect it to work 2020-11-14 18:34:21 oh i guess that might work actually 2020-11-14 18:34:27 derp 2020-11-14 18:34:27 dngray: This is moost certainly an issue of mixing versionos 2020-11-14 18:34:38 definetly 2020-11-14 18:34:39 yeah. 2020-11-14 18:34:43 ok i really need to go 2020-11-14 18:34:48 c u l8r 2020-11-14 18:34:50 o/ 2020-11-14 18:34:57 seeya 2020-11-14 18:35:27 so you need to go full edge 2020-11-14 18:37:40 i suppose i could do that, its only a diskless install 2020-11-14 18:38:01 i could easily reboot afterwards and that would throw-away any changes 2020-11-14 18:47:18 only 124 packages 🙂 2020-11-14 18:47:27 super minimal server this one hehe 2020-11-14 18:51:32 okay, i can confirm, it works with lxc-libs 4.0.5 2020-11-14 19:08:26 i've rebooted, and killed my upgrade to edge 2020-11-14 19:08:33 i will compile a new lxc and lxc-libs 2020-11-14 19:08:44 cos i want to stay on 3.12.1, that should work 2020-11-14 19:10:42 might have been some miss understanding there 🙂 2020-11-14 19:10:48 hope my reply helped make it clearer 2020-11-14 19:11:34 I think the cause still is the same, just not my way of verifying it 2020-11-14 19:11:47 edge has lxc-libs-4.0.5 2020-11-14 19:11:54 yeah, that's the thing 2020-11-14 19:12:08 i think that's why the problem goes away when executing a shell on a container 2020-11-14 19:12:32 i'm going to know for certain soon as i have almost finished compiling lxc-libs-4.0.5 on 3.12.1 2020-11-14 19:18:51 dngray: btw, we have channel more suited for these kinds of things: #alpine-devel 2020-11-14 19:19:16 oh guess i should join there 🙂 2020-11-14 19:47:13 Hi guys 2020-11-14 19:47:18 I have trouble 2020-11-14 19:47:29 I am trying to start Tor at boot 2020-11-14 19:47:43 and it crashes do to their being no localhost to bind to 2020-11-14 19:47:58 which is odd since need net is in the openrc script 2020-11-14 19:48:18 https://github.com/OpenRC/openrc/blob/master/service-script-guide.md#be-wary-of-need-net-dependencies 2020-11-14 19:48:19 any ideas? 2020-11-14 19:48:31 read that 2020-11-14 19:49:28 is there a way to say wait for locahost? 2020-11-14 19:49:45 @ikke? 2020-11-14 19:50:37 "OpenRC ships with the loopback service in the boot runlevel, and therefore most server daemons require no further network dependencies." 2020-11-14 19:51:23 Can I just add loopback? 2020-11-14 19:51:29 to default 2020-11-14 19:51:30 ? 2020-11-14 19:56:00 I have a ptch for the Tor package 2020-11-14 19:56:04 patch 2020-11-14 19:56:49 In order to get Tor to start reliably one should add loopback to default and add after loopback to Tor's openrc script 2020-11-14 19:57:02 that is working 2020-11-14 20:00:46 Hi, I'm trying to install Alpine in VirtualBox but doesn't matter which mirror I choosed I'm getting BAD Signature error when it's supposed to bootstrap the sysyteon the disk. Any suggestions? 2020-11-14 20:01:29 By the way I have tried Standard as well Virtual iso 2020-11-14 20:01:32 damian__: How is the network setup? 2020-11-14 20:01:55 Bridged, dhcp 2020-11-14 20:01:59 are you using the setup-alpine tool or just apk? 2020-11-14 20:02:08 setup-alpine 2020-11-14 20:02:12 https://gitlab.alpinelinux.org/alpine/aports/-/issues/11879 2020-11-14 20:03:34 @ikke this doesn't seem to be similar to my problem at all 2020-11-14 20:03:58 my DNS resolves, I've checked with ping 2020-11-14 20:04:36 ok 2020-11-14 20:07:08 https://imgur.com/aZtAmtl.png 2020-11-14 20:07:48 everytime I tried different mirror 2020-11-14 20:07:59 but outcome was the same 2020-11-14 20:08:52 what does sha256sum /etc/apk/keys/* return? 2020-11-14 20:12:26 https://imgur.com/gUzH4QL.png 2020-11-14 20:12:50 Sorry, guest addons are not working so I can't copy paste 2020-11-14 20:13:00 np 2020-11-14 20:14:02 what does /etc/apk/repositories contain? 2020-11-14 20:14:02 normally, I would use GNOME Boxes as it usually works out of box (no pun intended) 2020-11-14 20:14:41 but I need to use bridged adapters as I'm building a lab 2020-11-14 20:16:09 only main is uncommented 2020-11-14 20:16:38 https://imgur.com/AqaJFxv.png 2020-11-14 20:17:29 wget -O- https://mirror.operationtulip.com/alpine/v3.12/main/x86_64/APKINDEX.tar.gz | sha256sum 2020-11-14 20:19:52 https://imgur.com/ZpkooEi.png 2020-11-14 20:20:01 somethin's off with TLS 2020-11-14 20:20:33 try http 2020-11-14 20:20:43 that's also what's in your repo 2020-11-14 20:21:47 https://imgur.com/sA9y1aw.png 2020-11-14 20:22:05 http at least worked 2020-11-14 20:23:02 seems to be the same as I guet 2020-11-14 20:23:33 is it because of VirtualBox? 2020-11-14 20:23:41 Manjaro is te host 2020-11-14 20:23:52 Should not matter 2020-11-14 20:24:28 damian__: what happens if you run `apk update` nw? 2020-11-14 20:25:32 same like during installation 2020-11-14 20:25:42 BAD signature 2020-11-14 20:30:53 This is a peculiar issue 2020-11-14 20:36:34 about an hour ago I manged to install virtual edition 2020-11-14 20:36:55 but I didn't want to boot on VirtualBox 2020-11-14 20:37:13 my guess it is crafted for KVM 2020-11-14 20:37:47 so I've downloaded Standard ISO and now can't even install 2020-11-14 20:39:24 damian__: clocking? 2020-11-14 20:39:34 the virtual image should be used regardless of hypervisor for the most part 2020-11-14 20:40:15 it installed but didn't boot 2020-11-14 20:41:00 the screen saying something like Alpine will start in 3..2..1 shows 2020-11-14 20:41:35 but then it didn't boot and only shows empty box 2020-11-14 20:41:43 did you signature check the isos? 2020-11-14 20:41:54 it shouldnt have a bad signature 2020-11-14 20:42:04 thats your first clue 2020-11-14 20:42:10 why are your downloads not working? 2020-11-14 20:49:00 sorry had to go afk, as my little one is unwell 2020-11-14 20:49:09 the sum is correct 2020-11-14 20:49:28 so that's not an issue 2020-11-14 20:52:07 damian__: can you try to remove all the tar.gz files in /var/cache/apk? 2020-11-14 20:52:24 probably just one 2020-11-14 20:57:18 @ikke this may be a win 2020-11-14 20:57:41 apk update run without errors 2020-11-14 20:58:03 i'll run setup-alpine now and check if that works 2020-11-14 20:58:07 (y) 2020-11-14 21:08:44 sadly no 2020-11-14 21:09:20 I'll give it a pass 2020-11-14 21:12:58 Although now it seems that the issue with BAD signature only appears with syslinux 2020-11-14 21:13:45 Is that present in that directory as well 2020-11-14 21:13:48 ? 2020-11-14 21:14:43 no 2020-11-14 22:37:35 is tor-arm / nyx gone from repos, or was it ever there 2020-11-14 23:24:40 does anyone know how to change the keyboard layout after the initial setup? 2020-11-14 23:26:17 setup-* scripts still exist 2020-11-14 23:26:19 setup-keymap 2020-11-14 23:26:41 those arent removed post-install 2020-11-14 23:26:50 that worked! 2020-11-14 23:27:01 i thought it would get removed 2020-11-14 23:27:04 thanks 2020-11-14 23:28:21 no prob 2020-11-14 23:37:10 man this cant be serious 2020-11-14 23:37:26 i just booted a VM with alpine, did the initial setup, installed a bunch of packages 2020-11-14 23:37:38 and this thing have only 3mb??? holy **** 2020-11-14 23:45:47 yeah it's small 2020-11-14 23:50:52 how do you boot a VM with 3 MB when kernel is 21 MB 2020-11-14 23:57:40 the virtual disk is less than 3mb rn xD 2020-11-15 00:00:10 that's adding 3 MB of packages then 2020-11-15 00:00:23 if you did data disk 2020-11-15 00:00:37 the kernel itself is 21mb? 2020-11-15 00:01:07 5mb for a linux-virt kernel here 2020-11-15 00:01:12 modules i imagine take up more 2020-11-15 00:04:11 https://pkgs.alpinelinux.org/package/edge/main/x86_64/linux-virt 2020-11-15 00:04:42 could be smaller with a better compression 2020-11-15 05:15:37 how much memory (not storage) does a bare minimum install of Alpine use, just idle at a login prompt? 2020-11-15 05:16:15 by bare minimum, I mean just the system the installer installs, no display manager or anything 2020-11-15 05:17:17 I am thinking Alpine could be the OS I use on my new home microserver, both for the host and for VM guests. This thing will have 8GB of memory (but I can upgrade it to 32GB) 2020-11-15 05:26:24 "not much" 2020-11-15 05:26:59 best way to find out is to boot up a live iso 2020-11-15 05:27:12 yeah I guess so 2020-11-15 05:27:31 i dont have a minimal install handy on me to figure out 2020-11-15 05:27:49 i wanna say something like ~10mb 2020-11-15 05:28:10 no way 2020-11-15 05:28:13 my pi is using 26mb memory at the moment with only a few things running 2020-11-15 05:28:38 one program is using 20mb of that, lol 2020-11-15 05:28:50 does it sound correct that debian headless might use a few hundred? 2020-11-15 05:29:21 systemd and whatever else it runs by default would make sense 2020-11-15 05:30:32 i imagine debian runs quite a lot by default 2020-11-15 10:14:10 hello, I couldn't find any docs about how to install Alpine on a Turris Omnia (Debian has this page: https://wiki.debian.org/InstallingDebianOn/Turris/Omnia) but I did stumble on this page: https://wiki.alpinelinux.org/wiki/Alpine_on_ARM - but I'm not sure what the SoC is called. Is it armada-385? 2020-11-15 10:17:42 or is it an Unupported SoCs? If so then maybe I could fiddle with getting Alpine to work on there and then writing some docs about it. 2020-11-15 10:21:33 Has there been any news with the kde power manager not working? 2020-11-15 14:12:59 Hey, would anyone have any idea how to find what is cauing high ram usage when idling? even when i disable nearly all serfvices on my server i end up with 10gb~ ram usage 2020-11-15 14:17:15 10GB???? are you sure you don't mean cache? 2020-11-15 14:18:05 have you tried the usual top,htop,atop,bpytop route? 2020-11-15 14:18:17 s/,/|/ 2020-11-15 14:18:24 could you please run 'free' and send the output? 2020-11-15 14:19:32 also, what kind of setup are you running? is it diskless? 2020-11-15 14:19:59 htop is where im getting it 2020-11-15 14:20:35 what color does htop show? (if colors are supported on your term) 2020-11-15 14:20:44 for that 10GB 2020-11-15 14:21:00 caskd, no its not diskless unless i really screwed up, the free output is here https://paste.sr.ht/~amk/873c2bf968c7eacf9a2e460579264d0cfcb1df7e 2020-11-15 14:21:17 htop is a big green bar with a little yellow at the end 2020-11-15 14:23:08 oh yeah, indeed. Try pressing 'M' in htop and look for the first process. If that first process doesn't account for the RAM, try enabling the threads from the F2 menu 2020-11-15 14:23:25 looks like a memory leak to me 2020-11-15 14:23:40 or a really hungry process 2020-11-15 14:25:31 even with threads there doesnt seem to be much ram usage - transmission is the top, and its not particularly heavy 2020-11-15 14:25:48 that is... interesting... 2020-11-15 14:25:58 does this persist across reboots 2020-11-15 14:26:09 ? 2020-11-15 14:28:04 It sits at 2gb for a while which is about right and where systems with the same setup have sat before, and grows to around 9/10gb and then sits there. I am using zfs actually i hadnt considered it could be it 2020-11-15 14:28:41 oh, that explains everything 2020-11-15 14:28:58 zfs does indeed have a separate cache that is not marked as such 2020-11-15 14:29:26 it should free it automatically once the system runs low on memory 2020-11-15 14:30:27 ah cool, hopefully thats it, thanks for the help 2020-11-15 14:30:32 i used to have that as well when i used zfs. i am not really sure why those memory regions are not marked as cache for the kernel (unlike btrfs or such) 2020-11-15 14:30:53 it must be, you get about 1GB of cache usage for every 10GB of zfs storage 2020-11-15 14:31:02 for 1TB that would be around 10GB 2020-11-15 14:34:18 yep this definitly explains it, `arc_summary` says 7gb of ram usage + other processes 10gb makes sense 2020-11-15 14:34:31 i was very concerned, this is good to know 2020-11-15 14:39:44 yeah zfs eats ram 2020-11-15 18:40:21 you shouldnt be using zfs unless you build your hardware around it. 2020-11-16 14:49:27 the thunderbird package segfaults 2020-11-16 14:49:45 just a heads up. I'm going to install the flatpak as a workaround but just for whoever maintains it 2020-11-16 14:50:27 Could you perhaps open an issue on https://gitlab.alpinelinux.org/alpine/aports? 2020-11-16 14:50:56 hmm, as a matter of fact 2020-11-16 14:50:58 https://gitlab.alpinelinux.org/alpine/aports/-/issues/12017 2020-11-16 14:51:09 Is that the same error you get? 2020-11-16 18:16:50 Hi 2020-11-16 18:18:25 I'm missing this lib, called "libnetsnmp.so.40" ... It's required by hplip-libs-3.20.5-r1 2020-11-16 18:20:14 apk add net-snmp-libs 2020-11-16 18:20:23 Any idea's? 2020-11-16 18:20:50 Up's sorry 2020-11-16 18:23:22 someone literally gave you the answer 2020-11-16 18:26:57 yea, it worked but it was already installed 2020-11-16 18:27:25 Anyhow, tkanks a lot!! 2020-11-16 20:19:33 gents, say I'm running an alpine system, but I'm not sure if its standard, extended..etc. How can I tell? Is there a text file (eg similar to /etc/alpine-release) that would state it? Or do I have to guess by looking at installed apps/modules? 2020-11-16 20:20:32 abenz: standard vs extended only differs on what packages are available on the iso 2020-11-16 20:20:38 the final installation is the same 2020-11-16 20:20:46 got it, thanks 2020-11-16 22:03:41 Hi. No idea which toolchain I sould use in this list for my cubieboard2 A20 Cortex-A7 armv7-a VFPv4-D32 So if I want to build my own toolchain : 2020-11-16 22:03:53 https://musl.cc/ 2020-11-16 22:04:18 So, I'm going to build my own 2020-11-16 22:04:38 https://github.com/GregorR/musl-cross 2020-11-16 22:05:18 So, make TARGET=arm-linux-musleabihf GCC_CONFIG="--with-arch=armv7-a --with-fpu=vfpv4-d32" install should be not bad 2020-11-16 22:14:44 ok, compiling! :) 2020-11-16 23:02:51 what's the difference with the mini root filesystem between armhf and armv7. 2020-11-16 23:05:00 armhf is armv6 2020-11-16 23:24:53 well, I wonder now if I have made he right choice about the fpu value 2020-11-16 23:25:01 he/the 2020-11-16 23:27:25 perhaps VFPv4-D16 was a better choice https://embeddedartistry.com/blog/2017/10/11/demystifying-arm-floating-point-compiler-options/ 2020-11-17 01:09:25 Is it possible to apply diffpatches in '$pkgname.post-install' (to patch some cfg files in /etc)? Is there a variable ($pkgdir?) during post-install runtime i can rely on (to find my *.patch files)? 2020-11-17 01:35:41 I think i will 'install' patch files to /tmp and work from there. 2020-11-17 04:06:54 so, I'm trying to upgrade my alpine install 2020-11-17 04:08:00 actually, nevermind for a moment 2020-11-17 09:03:53 What I seem to be missing in the alpine installer image is something equivalant to `arch-chroot` which mounts all the sys,proc,dev thingy on enter 2020-11-17 09:03:55 Do we have something like this? 2020-11-17 09:05:22 It's just: 2020-11-17 09:05:22 ``` 2020-11-17 09:05:22 mount -t proc none proc 2020-11-17 09:05:22 mount --rbind /dev dev 2020-11-17 09:05:22 mount --rbind /sys sys 2020-11-17 09:05:23 chroot . 2020-11-17 09:05:23 ``` 2020-11-17 09:05:56 That's correct, but on a tiny screen (think hidipi) this is rather painful 2020-11-17 09:06:14 So any step that is less for being in the installer/fixing things, is very helpful 2020-11-17 09:06:36 Wouldn't the correct approach for fixing that be you setting a bigger terminal font? 2020-11-17 09:06:51 Or the Alpine installer asking you if you want a bigger font 2020-11-17 09:07:01 I have such scripts from time I started to play with alpine 2020-11-17 10:20:37 Hello :) 2020-11-17 10:21:18 I am currently trying to install Alpine on my A20-OLinuXino-LIME2, which is an Allwinner A20 based ARM SBC 2020-11-17 10:22:30 I have a noob question: Since you don't provide an iso or img, how do I write alpine to my SD card correctly? 2020-11-17 10:28:16 Do I just copy the files in the .tar.gz archive to my SD card and use dd to flash uboot? I couldn't find any instructions about this on the wiki sadly, though I'd be happy to contribute my process to the wiki once I have managed to install it 2020-11-17 10:38:43 bananicorn: tarball is ok 2020-11-17 10:41:30 Alright, I will just copy the files over and give it a shot. Thanks! 2020-11-17 10:51:18 bananicorn: here is script I use for bananapi (also A20) https://tpaste.us/QWrr 2020-11-17 10:52:05 you need to adapt it to your board, devices etc, but you will have starting point 2020-11-17 10:54:18 That's very useful, thanks mps! How much of this is necessary? Would I be fine just booting after flashing u-boot? I am not familiar with what the extlinux.conf does 2020-11-17 10:54:59 This is my first time using alpine 2020-11-17 10:59:50 i mounted / r/o and now udhcpc is trying to overwrite /etc/resolv.conf. how do i get it to not do that 2020-11-17 11:00:08 it's trying to do it on boot 2020-11-17 11:01:10 bananicorn: extlinux.conf is for u-boot menus, numbered though 2020-11-17 11:01:31 syntax is similar to syslinux 2020-11-17 11:01:39 file name is the same 2020-11-17 11:04:01 iomintz: I don't think it's possible to do that 2020-11-17 11:25:43 lol seems like typical minimal daemon behavior 2020-11-17 11:28:57 reading /usr/share/udhcpc/default.script it seems i can set RESOLV_CONF=no 2020-11-17 11:32:16 in /etc/udhcpc/udhcpc.conf 2020-11-17 11:34:47 ok that worked 2020-11-17 11:46:40 bananicorn: extlinux.conf is not much complicated, even simpler than boot.scr 2020-11-17 11:48:48 here is one on one of my testing boards 2020-11-17 11:48:51 https://tpaste.us/oPvg 2020-11-17 11:51:15 only rule is: this file must be on boot partition (as all boot loaders config files) and in / (root dir) or in /extlinux/ dir 2020-11-17 11:53:02 but it safer to have it in /extlinux/ dir, not all u-boots are built to search it in / 2020-11-17 12:13:28 mps: Thanks for the additional example! So this config file is required for u-boot to find the Alpine install? 2020-11-17 12:14:25 Sorry for the very basic questions, I have not had to configure anything like this with OpenBSD or Debian on my SBC 2020-11-17 12:30:12 bananicorn: alpine is different (or it was) from big distro 2020-11-17 12:30:45 it is expected from alpine users to understand basic things 2020-11-17 12:31:04 alpine-linux stands for quality, big distros stand for bloat 2020-11-17 12:31:07 or else, willing to learn 2020-11-17 12:31:37 miskatonic: 'quality'? :P 2020-11-17 12:31:38 It is part of the reason I am looking into Alpine and looked into OpenBSD previously 2020-11-17 12:32:17 I am figuring things out as I go, so I think you do not need to answer my question any further :) 2020-11-17 12:33:04 bananicorn: alpine doesn't have ready made images to be 'dd'-ed to boot media like debian,armbian,arch-alarm etc 2020-11-17 12:34:04 so, for arm32 users have to install, flash boot loader and create boot config file 2020-11-17 12:34:38 I posted you script I use for testing new alpine armv7 releases 2020-11-17 12:35:39 Your script is a very helpful starting point :) 2020-11-17 12:35:51 and I decided to go with extlinux.conf instead of boot.scr because with extlinux.conf I can keep different kernels with different boot options, to select them on boot 2020-11-17 12:37:35 sorry I didn't put more comments in this script 2020-11-17 12:38:07 I understand most of it, no worries :) 2020-11-17 12:38:20 good :) 2020-11-17 12:39:19 Regarding the last part, you install rng-tools, but at this point isn't the script supposed to have exited already? What is the purpose of those two lines? 2020-11-17 12:40:07 comment for me to not forget to add these manually for some boards, RPi zero for example 2020-11-17 12:40:49 I see, I thought so 2020-11-17 13:07:09 It booted, thank you for your help mps! 2020-11-17 13:14:35 ikke: hi, I just upgraded my run-from-ram alpine and it went nice, no more errors. Only problem is the upgrade process replaced my boot configs (grub/syslinux), and with it gone my modifications 2020-11-17 13:15:12 ikke: long ago I asked about how to increase the tmpfs size, I tried looking online but couldn't find it so I ask you again :) 2020-11-17 13:15:39 its a boot parameter in grub.cfg (or syslinux?) 2020-11-17 13:16:10 https://gitlab.alpinelinux.org/alpine/mkinitfs/-/blob/master/initramfs-init.in#L336 2020-11-17 13:16:28 rootflags 2020-11-17 13:17:06 rootflags=size=123G 2020-11-17 13:18:06 ah yes 2020-11-17 13:19:04 bananicorn: np :) 2020-11-17 13:19:39 ikke: one more thing please, the reason I upgraded my usb was to run zfs on alpine, zfs-0.8 installs, but zfs-lts (the kernel modules) fail (because read only media) 2020-11-17 13:19:52 is this doable on a run-from-ram alpine install ? 2020-11-17 13:20:06 hmm, yes 2020-11-17 13:20:15 You'd need to modify the modloop 2020-11-17 16:03:15 is it possible to boot a Linux OS stored in an isofile in the / directory of Alpine in an USB stick or external HD ? Can it be done when Alpine is using GRUB2 as bootloader ? thanks in adance for the opportunity to ask 2020-11-17 16:06:41 'dd' it to any media 2020-11-17 16:08:32 i wasthining of having a multiboot usb with several Iso files and a compavta ullyy installed system to manage Grub. 2020-11-17 16:09:29 pardom the typos >compact fully installed 2020-11-17 16:11:51 probably possible because alpine isos boot on uefi machines with grub 2020-11-17 16:12:04 though I didn't tested 2020-11-17 16:12:39 how about MBR? 2020-11-17 16:13:11 you can install grub manually 2020-11-17 16:13:38 Wonderful !Thanks a lot !!! 2020-11-17 16:14:13 docs.alpinelinux.org 2020-11-17 16:44:16 I installed openssh-server, why file transfer didnt working? 2020-11-17 16:44:33 Or i must install something else? 2020-11-17 16:44:58 I tryed to use scp or sftp - nothing. 2020-11-17 16:45:36 Should work 2020-11-17 16:47:19 What do you get when you try that? 2020-11-17 16:48:19 Herbicide: what is the command you are running, and what is the error you get? 2020-11-17 16:52:47 One sec... 2020-11-17 17:01:16 Anyone know how to get gtk theming in libreoffice? I heard that it's usually only a .so file that's needed 2020-11-17 17:04:08 Install libreoffice-gnome 2020-11-17 17:06:53 Cogitri: nice; thank you 2020-11-17 17:10:03 Herbicide: install openssh-sftp-server 2020-11-17 17:10:43 ah openssh-server vs opessnh 2020-11-17 17:10:47 openssh* 2020-11-17 17:10:56 The latter installs everything 2020-11-17 17:11:03 Oh 2020-11-17 17:11:12 Ohhh 2020-11-17 17:42:04 Well, nope, i installed openssh and this didnt work. Looks like something else. Let me try something... 2020-11-17 19:04:26 does anyone know if there's a way to disable autoconfiguration of resolv.conf while keeping DHCP? 2020-11-17 19:05:56 dejavu :P 2020-11-17 19:06:41 RESOLV_CONF=no in /etc/udhcpc/udhcpc.conf 2020-11-17 19:42:30 hello guys 2020-11-17 19:42:43 got couple question about how can add in one command 2020-11-17 19:43:37 add what? 2020-11-17 19:44:27 rc-update add {urandom,wpa_supplicnat,udev-postmount} boot 2020-11-17 19:44:34 just is a example 2020-11-17 19:45:08 how is the syntax to due in batch and dont due to write 10 or more lines to add services. 2020-11-17 19:45:52 same happen to adduser and addgroup, one at the time group add to a user. 2020-11-17 19:46:37 this is for dash shell mayit be and know in first place is for me, because dont have knwlegdment about it. 2020-11-17 19:46:53 sorry my englush isnt good enough 2020-11-17 19:47:12 for x in urandom wpa_supplicant; do rc-update add $x;done 2020-11-17 19:47:54 Cogitri: dont understood at all. 2020-11-17 19:48:32 have to difine like, SERVICES=wpa_supplicant,swap,sysctl,modules and then. 2020-11-17 19:48:40 ? 2020-11-17 19:49:05 brace expansion is not supported by ash (the default shell in alpine) 2020-11-17 19:49:26 and brace expansion like that doesn't even add a lot 2020-11-17 19:49:41 ikke: thanks your very help you guy. 2020-11-17 19:50:01 rc-update allows you to only add a single service to one or more runlevels, so you cannot escape running rc-update multiple times 2020-11-17 19:50:04 okey but if using bash? 2020-11-17 19:50:12 hechos: It would not help 2020-11-17 19:50:28 {a,b,c} is the same as a b c 2020-11-17 19:50:54 but the command only takes a single service 2020-11-17 19:51:01 so you have to do what Cogitri suggested 2020-11-17 19:51:18 so need te bunch of lines to my scripts to install in chroot right? 2020-11-17 19:51:26 you can use a for loop 2020-11-17 19:51:50 for service in wpa_supplicant swap sysctl modules; do rc-update add $service boot; done 2020-11-17 19:51:51 aha,. 2020-11-17 19:51:59 use spaces to seperate them, not commas 2020-11-17 19:52:19 You can also have: 2020-11-17 19:52:20 show exactly command line for example. 2020-11-17 19:52:26 I just gave it 2020-11-17 19:53:11 SERVICES="wpa_supplicant swap sysctl modules"; for service in $SERVICES; do rc-update add $service boot; done 2020-11-17 19:53:22 This is on a single line, 2020-11-17 19:53:37 but you can seperate it over multiple lines 2020-11-17 19:53:46 wooh, in life every day has something new 2020-11-17 19:53:54 thanks.. 2020-11-17 19:57:39 LatGrkCyr is a consolefont is use where can find how cand with apk" 2020-11-17 19:58:12 I don't think we have it 2020-11-17 19:58:23 oh, soryr 2020-11-17 19:58:30 https://pkgs.alpinelinux.org/contents?file=LatGrkCyr*&path=&name=&branch=edge&arch=x86_64 2020-11-17 19:58:35 terminus font work with unicode, but need some more clear. 2020-11-17 19:59:05 I only know latgreekcyr from voidlinux consolefonts 2020-11-17 19:59:28 in arch have to.. 2020-11-17 20:00:01 but preferd void, but alpine is lean and clean. 2020-11-17 20:00:36 is my opinion an average user. 2020-11-17 20:05:49 ls /usr/share/consolefonts/LatGrkCyr-12x22.psfu.gz 2020-11-17 20:06:43 and, /usr/share/consolefonts/LatGrkCyr-12x22.psfu.gz is owned by kbd-misc-2.2.0-r2 2020-11-17 20:07:38 (like that link shows :P) 2020-11-17 20:08:25 I prefer tools more than web :) 2020-11-17 20:09:03 Especially looking for what package provides a file is easier with web (without 3rd-party tools) 2020-11-17 21:21:16 gents 2020-11-17 21:21:54 I see the wiki mentions ext3 as an example of an alternative filesystem (diskless mode on USB) 2020-11-17 21:22:07 is fat32 selected by default for any reason? 2020-11-17 21:22:31 which Fs is recommended for a purely linux environment, does it make a difference? 2020-11-17 21:22:47 ext4 2020-11-17 21:23:01 does syslinux support booting from ext4? 2020-11-17 21:23:12 extlinux does 2020-11-17 21:24:34 ikke: apk search extlinux 2020-11-17 21:24:37 syslinux-6.04_pre1-r6 2020-11-17 21:24:44 yes, it's the same project 2020-11-17 21:24:51 I see 2020-11-17 21:25:35 so basically as shipped (created by create-bootable), alpine supports booting from ext4 FS 2020-11-17 21:25:41 is there a problem with using grub2 on alpine? Or why is extlinux recommended instead? 2020-11-17 21:27:04 sys/extlinux is simpler / more lightweight if you don't need more advanced features 2020-11-17 21:27:31 abenz: yes 2020-11-17 21:27:51 abenz: ext4 a very safe default filesystem for linux 2020-11-17 21:27:56 and very commonly used 2020-11-17 21:28:57 ikke: in reference to this: https://wiki.alpinelinux.org/wiki/Create_a_Bootable_USB , I tried the first method (ie just DDing the iso to a usb), but it created partitions (including efi) of fixed sizes, I then decided to redo it using the manual method (Copy ISO content to USB as individual files), this allows me to partition my 32GB usb into 2 partitions, one for alpine and another for persistent 2020-11-17 21:29:03 storage (ie normal partition, outside of LBU) 2020-11-17 21:29:30 my understanding is this does not create equal setups in terms of booting (I'm not talking about partition sizes) 2020-11-17 21:30:57 is this correct? Is there a better way (eg I see no mention of create-bootable) 2020-11-17 21:31:28 so plain syslinux, without ext, only supports ext2? 2020-11-17 21:31:51 abenz: Should be fine this way 2020-11-17 21:31:51 miskatonic: it supports ext4, ikke just mentioned it above 2020-11-17 21:32:03 extlinux, not syslinux 2020-11-17 21:32:25 abenz: but manually copying the files is not enough 2020-11-17 21:32:48 you need to install extlinux, mark the partition as bootable, and copy a mbr it the first part of the usb drive 2020-11-17 21:33:28 ikke: yes those steps are mentioned in the wiki, just that this will create a different config (compared to dd'ing the iso) as that creates an efi partition 2020-11-17 21:33:42 this is why I asked, which of those is the newer/recommended method 2020-11-17 21:34:10 the iso uses isofs, which is read-only 2020-11-17 21:34:24 so if you want something writable (ie, for lbu), that won't work 2020-11-17 21:34:55 though, I don't have a lot of experience with Alpine on efi 2020-11-17 21:35:57 I see 2020-11-17 21:48:18 Making /dev/sdc1 bootable... 2020-11-17 21:48:21 syslinux: invalid media signature (not an FAT/NTFS volume?) 2020-11-17 21:57:07 i have a service called `hell`. i ran `update-rc add hell`, but it still does not start at boot. how should i debug this? 2020-11-17 21:57:07 I will just use fat32, its read-only anyway. Thanks for the help ikke 2020-11-17 21:57:20 the service runs fine when i start it manually 2020-11-18 07:35:50 why don't you, ikke 2020-11-18 08:58:40 cups is crashing/has an internal server error when I try to list printers 2020-11-18 08:59:05 It seems to be strongly related to "listing printers", however it also prevents me from adding or modifying printers, because the list is part of the process 2020-11-18 08:59:14 So far I could find this error: `D [18/Nov/2020:09:58:01 +0100] PID 29064 (/usr/lib/cups/daemon/cups-driverd) crashed on signal 11.` 2020-11-18 08:59:26 I wonder if this could be musl related? 2020-11-18 09:00:09 I checked that I do not have foomatic or gutenprint, as some forum entries point to a problem in gutenprint: https://bugs.archlinux.org/task/47718 2020-11-18 09:34:13 telmich: get musl dbg symbols, attach gdb to cups and reproduce 2020-11-18 11:46:19 has anyone gotten xdg-desktop-portal-wlr working with sway? 2020-11-18 12:17:28 hi, I was able to include zfs into my diskless alpine 2020-11-18 12:17:39 abenz: nice, how did you manage? 2020-11-18 12:17:44 however, files in /media/usb/boot increased by a huge amount 2020-11-18 12:18:06 ikke: apk install mkinitfs zfs-lts 2020-11-18 12:18:23 then I saw what features mkinitfs had: cat /etc/mkinitfs/mkinitfs.conf 2020-11-18 12:18:30 features="ata base cdrom ext4 keymap kms mmc raid scsi usb virtio" 2020-11-18 12:18:40 apk add update-kernel 2020-11-18 12:18:50 remount,rw /media/usb 2020-11-18 12:18:56 and finally: 2020-11-18 12:19:00 update-kernel -F "ata base cdrom ext4 keymap kms mmc raid scsi usb virtio" -p zfs-lts /media/usb/boot/ 2020-11-18 12:19:24 ikke: is this the right way? 2020-11-18 12:20:03 not sure 2020-11-18 12:20:25 in /media/usb/boot, look at the size differences (before update and after): 2020-11-18 12:20:44 initramfs-lts: was 12M, now: 33M 2020-11-18 12:21:06 does this look normal? 2020-11-18 12:21:22 I mean hey it works (tm), just not sure if this is the best way to do it 2020-11-18 12:23:59 We do something similar 2020-11-18 12:24:07 to filter out virtual interfaces 2020-11-18 12:30:59 do you know why initramfs-lts increased by a big size? I'm using the same features as shipped, except added zfs 2020-11-18 12:45:09 well, zfs is not a simple thing 2020-11-18 12:45:18 so i would expect that 2020-11-18 14:28:32 is there a way to remove all traces of docker being installed on system? (to restart with clean) 2020-11-18 14:29:04 stop the service, rm -rf /var/lib/docker 2020-11-18 14:29:13 or docker system prune --volumes 2020-11-18 14:29:21 after having stopped everything 2020-11-18 14:29:47 ikke: thanks :) (again and again ...) 2020-11-18 14:30:43 yeah, agreed. ikke++ 2020-11-19 01:33:58 hi guys 2020-11-19 01:34:23 got question how can search contents file in package? 2020-11-19 02:08:22 what do you mean? 2020-11-19 02:09:05 oh, missed them 2020-11-19 02:09:09 I think certain file in a package is meant here. 2020-11-19 02:09:20 (filename rather) 2020-11-19 02:14:49 if they were still here, `apk info -L | grep ` 2020-11-19 02:14:53 but that's only for installed packages 2020-11-19 02:15:00 remote packages are not supported by apk 2020-11-19 02:15:02 I wish they were :) 2020-11-19 02:25:49 hgst: for remote packages one can consult this? https://pkgs.alpinelinux.org/contents 2020-11-19 02:26:55 ForeverNoob[m]: sure 2020-11-19 02:27:06 but I don't want to have to use a web browser for that 2020-11-19 02:28:49 understandable 2020-11-19 02:36:11 Q: Is this board (https://docs.turris.cz/hw/omnia/omnia/) listed on the supported SoC list? https://wiki.alpinelinux.org/wiki/Alpine_on_ARM#Supported_SoCs 2020-11-19 02:36:19 If yes, what's it called there? 2020-11-19 03:23:16 the chip in that is a marvell armada 385, but i'm not seeing that in the list 2020-11-19 03:23:31 you could try including the dtb for it and potentially adapt the kernel config if it needs it 2020-11-19 03:24:58 it looks like it's been in the linux tree for about four years 2020-11-19 03:26:45 and the SoC itself for about six years 2020-11-19 13:11:37 hg: thanks for the sending the scripts - I'm totally under water with emails and new requests at the moment that I did not have any time to check it out - I'll dig into the pyinstaller probably this weekend 2020-11-19 13:32:52 I know this is not a vi support channel, but maybe someone knows, why vi shows two dots when i try to add cyrillic letters? My font and terminal support cyrillic letters. 2020-11-19 13:43:09 what is "two dots" 2020-11-19 13:43:15 Guest30 check if another editor can do that to be sure it's vi's problem, not tty's 2020-11-19 13:43:24 .. 2020-11-19 13:43:44 because of multibyte encoding I suppose 2020-11-19 13:44:06 Hello71 well, one letter = ".." 2020-11-19 13:44:07 maybe busybox vi is limited 2020-11-19 13:44:44 nakilon yeah, other redactors can do this. 2020-11-19 13:45:13 or you have not set LANG/LC_CTYPE properly 2020-11-19 13:45:16 editors* 2020-11-19 13:46:54 Hello71 i have LANG=en_GB.UTF-8 CHARSET=UTF-8 LC_COLLATE=C 2020-11-19 13:47:17 But on other systems its works, not on alpine. 2020-11-19 13:47:47 probably busybox vi then 2020-11-19 13:48:10 apk add vim 2020-11-19 13:48:45 But i use vi* 2020-11-19 13:51:08 in many distributions vi point to vim 2020-11-19 13:51:42 Oh. 2020-11-19 13:52:11 Yeah, and i dont see "vi" packages separetly. 2020-11-19 13:52:21 there is "vim" package 2020-11-19 13:52:54 is nvi available? 2020-11-19 13:53:22 miskatonic yaeh, in testing 2020-11-19 13:53:47 in stabe is neovim 2020-11-19 13:53:52 stable* 2020-11-19 13:54:47 Well, looks like most easiest way - use vi*something. 2020-11-19 13:55:02 Thanks everyone! 2020-11-19 13:55:08 neovim had great features, but its an overkill for simple editing tasks like most /etc/* files 2020-11-19 15:51:32 Hello, first time here so apologies if I don't follow protocol in advance. 2020-11-19 15:51:44 Would anyone be able to assist with the following error?: 2020-11-19 15:51:47 [10:15:05][Step 1/1] >>> mkimage-x86_64: Building flash_os 2020-11-19 15:51:48 [10:15:05][Step 1/1] >>> mkimage-x86_64: --> kernel x86_64 vanilla ca0e6864bf3916cfca024133e4092e6a3534b3ac linux-vanilla linux-firmware wireless-regdb zfs-vanilla 2020-11-19 15:51:48 [10:15:07][Step 1/1] ERROR: linux-firmware-vxge-20191022-r0: remote server returned error (try 'apk update') 2020-11-19 15:52:22 kirts: what alpine release you use 2020-11-19 15:53:19 v3.10.5 2020-11-19 15:53:45 4.19.118-0-vanilla 2020-11-19 15:54:24 the "mkimage checkout" is from 3.10 version of git as well 2020-11-19 15:54:51 ' ERROR: linux-firmware-vxge-20191022-r0: remote server returned error' 2020-11-19 15:55:12 can you check is your 'server' available 2020-11-19 15:55:29 yes it is and I have also tried to change the server too with same result 2020-11-19 15:56:02 [10:15:04][Step 1/1] fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/main/x86_64/APKINDEX.tar.gz 2020-11-19 15:56:03 [10:15:05][Step 1/1] fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/community/x86_64/APKINDEX.tar.gz 2020-11-19 15:56:03 [10:15:05][Step 1/1] v3.10.5-138-gf647940e8c [http://dl-cdn.alpinelinux.org/alpine/v3.10/main] 2020-11-19 15:56:04 [10:15:05][Step 1/1] v3.10.5-141-g8ae988abb8 [http://dl-cdn.alpinelinux.org/alpine/v3.10/community] 2020-11-19 15:56:04 [10:15:05][Step 1/1] OK: 10344 distinct packages available 2020-11-19 15:56:05 [10:15:05][Step 1/1] /home/build_agent/work/84fb2730f8a961e7 2020-11-19 15:56:05 [10:15:05][Step 1/1] OK: 0 MiB in 0 packages 2020-11-19 15:56:06 [10:15:05][Step 1/1] fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/main/x86_64/APKINDEX.tar.gz 2020-11-19 15:56:06 [10:15:05][Step 1/1] fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/community/x86_64/APKINDEX.tar.gz 2020-11-19 15:56:07 [10:15:05][Step 1/1] v3.10.5-138-gf647940e8c [http://dl-cdn.alpinelinux.org/alpine/v3.10/main] 2020-11-19 15:56:07 [10:15:05][Step 1/1] v3.10.5-141-g8ae988abb8 [http://dl-cdn.alpinelinux.org/alpine/v3.10/community] 2020-11-19 15:56:08 [10:15:05][Step 1/1] OK: 10344 distinct packages available 2020-11-19 15:56:31 please do not spam here, use paste service, tpaste.us is prefered 2020-11-19 15:56:49 noted, apologies 2020-11-19 15:57:37 could you try dowload linux-firmware-vxge-20191022-r0 with wget 2020-11-19 15:57:51 or 'apk fetch linux-firmware-vxge' 2020-11-19 15:58:29 apk fetch linux-firmware-vxge returns the same error 2020-11-19 15:58:56 so this pkg has gone for some reason 2020-11-19 15:59:22 but it is on the server and I can download it from the browser (see links above) which is very puzzling 2020-11-19 15:59:29 https://pkgs.alpinelinux.org/packages?name=*vxge&branch=v3.10 2020-11-19 15:59:56 no, it is there 2020-11-19 16:01:37 index is broken 2020-11-19 16:02:59 I assume you refer to the index it pulls when I do apk update? do you know how to fix a broken index? 2020-11-19 16:03:17 curl -X PURGE $url 2020-11-19 16:03:50 ikke: is that right ? 2020-11-19 16:04:16 That's only for dl-cdn, and only for the packages 2020-11-19 16:04:25 if the package is cached when it was updated 2020-11-19 16:05:00 yes, i mean for 'http://dl-cdn.alpinelinux.org/alpine/v3.10/main/x86_64/linux-firmware-vxge-20191022-r0.apk' 2020-11-19 16:05:50 so in my case it would be: curl -X PURGE http://dl-cdn.alpinelinux.org/alpine/v3.10/main/x86_64/APKINDEX.tar.gz ? 2020-11-19 16:05:56 ah, { "status": "ok", "id": "4023-1605789887-53627" } 2020-11-19 16:06:16 kirts: the index is not cached 2020-11-19 16:06:22 curl -X PURGE http://dl-cdn.alpinelinux.org/alpine/v3.10/main/x86_64/linux-firmware-vxge-20191022-r0.apk 2020-11-19 16:06:42 kirts: try again, please 2020-11-19 16:06:58 mkimage ... 2020-11-19 16:07:17 ok give me 2 min, it's on a remote server vm into vm x5 :) 2020-11-19 16:09:27 { "status": "ok", "id": "4225-1605794358-11183" } 2020-11-19 16:09:32 mkimage same error as before 2020-11-19 16:15:28 did you run 'apk update' before running 'mkimage ...' 2020-11-19 16:16:00 yes 2020-11-19 16:16:37 hmm, I don't have more ideas, sorry 2020-11-19 16:16:45 it works for me 2020-11-19 16:17:14 no worries, thank you for trying 2020-11-19 16:17:45 and my /etc/apk/repositories contains 'http://dl-cdn.alpinelinux.org/alpine/v3.10/main' 2020-11-19 16:18:12 is it possible it conflicts with a local repo that I have? 2020-11-19 16:18:41 because I had to build my own alpine package but to place it into the RAM OS Alpine, you need to have your own repo (or at least per my experience) 2020-11-19 16:19:05 could be, try 'apk policy linux-firmware-vxge' 2020-11-19 16:20:22 linux-firmware-vxge policy: 201922-r0: lib/apk/db/installed http://dl-cdn.alpinelinux.org/alpine/v3.10/main 2020-11-19 16:23:40 'apk fix linux-firmware-vxge' 2020-11-19 16:26:02 Uploaded file: https://uploads.kiwiirc.com/files/f369dafb64adf5a6cc772ecd4ddd6e04/Untitled.png 2020-11-19 16:26:39 ah I wasn't expecting more than just a url... sorry again -.- 2020-11-19 16:27:13 I cannot copy paste anything unfortunately due to being a vm into a vm etc.. so I type everything 2020-11-19 16:30:22 kirts: install "curl" and can use: cat whatever-you-want-to-paste | curl -F 'tpaste=<-' https://tpaste.us/ 2020-11-19 16:30:33 or apk add tpaste 2020-11-19 16:30:37 and cat | tpaste 2020-11-19 16:31:00 :] 2020-11-19 16:31:44 does tpaste from 3.10 works 2020-11-19 16:31:51 noted, thank you, I'll give it a try. Did you see the image I uploaded? 2020-11-19 16:35:22 unable to lock database? 2020-11-19 16:35:59 I think that killed the network access since it was the ethernet drive :( 2020-11-19 16:36:07 that's because I didn't use sudo which I do after that 2020-11-19 16:37:11 ok just restored a previous snapshot so the network access issue is resolved 2020-11-19 16:37:33 but not the mkimage error unfortunately (as expected) 2020-11-19 16:39:32 tpaste is brilliant, thank you. 2020-11-19 18:12:14 what is the best way to enable kernel dumps with alpine? i have a supermicro that has had two crashes, not often, but enough that i need to see why this thing is dying 2020-11-19 18:15:32 crosbymichael: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/kernel_administration_guide/kernel_crash_dump_guide 2020-11-19 18:16:56 most of that should be applicable to alpine as well 2020-11-19 18:17:58 ok, thanks 2020-11-19 18:18:37 my lights in my office flickered today and that server was the only thing that rebooted. it was spooky 2020-11-19 18:23:38 Does it have a garabge PSU 2020-11-19 18:24:45 it has the standard 1200w supermirco pus 2020-11-19 18:24:58 ahh, kexec-tools is still in testing 2020-11-19 18:26:06 supermicro? yup, shit psu 2020-11-19 18:27:03 lol 2020-11-19 18:28:05 best get that puppy into a power backup unit 2020-11-19 18:30:22 it is on a UPS, but that didn't help, looks like a server issue 2020-11-19 18:30:52 Hmm 2020-11-19 18:31:21 cyberpower UPS, 2U. been lucky with it so far but... anything is suspect right now 2020-11-19 18:31:40 Whats your thermals like? 2020-11-19 18:32:28 normal, 26c on the cores before crash, ambient is 75f 2020-11-19 18:36:57 How old is it? 2020-11-19 18:37:09 Hopefully not hardware related but it is a supermicro so..... 2020-11-19 18:37:30 I've only ever had a Linux Kernel panic on me twice, and one of those times it was entirely my fault 2020-11-19 18:38:01 its a older server, so could be a bad stick of ram. will probably have to do a memory test soon 2020-11-19 18:38:25 Yeah, memtest is always a good idea 2020-11-19 20:45:53 When are we expecting the tzdata and/or musl packages to be updated for 3.12? It currently breaks timezone on 32-bit machines 2020-11-19 23:11:25 wsinatra: I see you made tty-solitaire MR which I have about 2 years in local repo :) 2020-11-19 23:12:33 thank you for you contribution mps! ;) 2020-11-19 23:12:56 MY-R: np :P 2020-11-19 23:13:02 hehe 2020-11-19 23:13:24 I didn't thought that anyone need this 'game' 2020-11-19 23:14:29 does it have mouse support? 2020-11-19 23:14:45 yes, iirc 2020-11-19 23:14:56 nice 2020-11-19 23:15:11 hello guys 2020-11-19 23:15:26 ohm, if run in X terminal, iirc. didn't tried to play for more than a year 2020-11-19 23:15:27 how can search content files on packages> 2020-11-19 23:15:57 im looking for a specific font 2020-11-19 23:16:05 apk info -L pkgname 2020-11-19 23:16:58 or on web pkgs.alpinelinux.org 2020-11-19 23:17:23 -L works for locally installed packages only, right? 2020-11-19 23:17:32 opal: right 2020-11-19 23:17:37 mps: on web sometimes dont find nothing on query. 2020-11-19 23:17:37 mm 2020-11-19 23:18:18 LatGrkCyr8x16 2020-11-19 23:18:28 may it be not in repos. 2020-11-19 23:18:35 hechos: try use asterix * 2020-11-19 23:18:37 try asterisks around your search 2020-11-19 23:18:42 *LatGrkCyr8x16* 2020-11-19 23:18:43 hechos: you mean search file in all pkgs? 2020-11-19 23:18:47 the web search is weird about that 2020-11-19 23:18:54 asteriX :D opss 2020-11-19 23:19:15 opal on website? 2020-11-19 23:19:24 yes 2020-11-19 23:19:32 https://pkgs.alpinelinux.org/packages 2020-11-19 23:19:51 'apk-file LatGrkCyr' 2020-11-19 23:21:21 apk-file is a on ? 2020-11-19 23:21:51 'apk add apk-file' 2020-11-19 23:22:00 ohhh 2020-11-19 23:22:01 oh cool 2020-11-19 23:22:12 nice 2020-11-19 23:22:48 output is 'clunky' somewhat 2020-11-19 23:23:14 mps: but is nice, better blind search 2020-11-19 23:23:29 mps: ooooh, I didn't know that was a thing 2020-11-19 23:23:30 kbd-misc 2020-11-19 23:23:30 excellent 2020-11-19 23:23:41 ACTION plans to install 2020-11-19 23:23:43 hechos: sure, I use it a lot 2020-11-19 23:23:57 mps need this for kms console font 2020-11-19 23:24:11 terminus doesnt looks nice. 2020-11-19 23:25:03 now hechos is a happen men with new console fonts. 2020-11-19 23:25:12 yes, terminus is somewhat ugly but I use it because I don't work much on console 2020-11-19 23:25:19 this appear to be need more documented wiki for alpine 2020-11-19 23:25:28 looks a nice distro. 2020-11-19 23:26:23 hechos: iirc, I told you where this fonts is few days ago 2020-11-19 23:28:05 mps: I had a friend request it, and I'm just a sucker for packaging 2020-11-19 23:28:16 mps: yes but a lose irc weechat logs 2020-11-19 23:28:25 truthfully I just toapk'd the aur package that halosghost maintains haha 2020-11-19 23:28:29 im testing and testing my own scripts so wipe os. 2020-11-19 23:29:06 wsinatra: nice, I can remove branch locally :) 2020-11-19 23:29:35 though I made it 'alpine' way, newapkbuild 2020-11-19 23:30:26 hechos: irclogs.alpinelinux.org 2020-11-19 23:30:34 woo. 2020-11-19 23:30:42 never hear about. 2020-11-19 23:30:53 logs my ugly english too? 2020-11-19 23:31:06 sorry to the world! 2020-11-19 23:31:44 worse than google, facebook etc, log everything :) 2020-11-19 23:31:59 hechos: are you from Greece? 2020-11-19 23:32:11 no from argentina. 2020-11-19 23:32:18 hahah I like automated things too much 2020-11-19 23:32:26 mps: you were close 2020-11-19 23:32:44 ah, but Greek + Cyrillic ? 2020-11-19 23:32:55 Lat 2020-11-19 23:33:22 LatGrkCyr 2020-11-19 23:33:24 i use these fonts for me looks nice. 2020-11-19 23:33:29 8x16 2020-11-19 23:33:39 and bigger on big display 2020-11-19 23:34:15 other day 2020-11-19 23:34:19 interesting, maybe I could try it 2020-11-19 23:34:27 ikke give me a hand. 2020-11-19 23:34:46 im bad with computer 2020-11-19 23:35:09 sorry. 2020-11-19 23:35:51 to difine. this but thinkso the new one is bad. i can understod the idea. 2020-11-19 23:36:03 for example" 2020-11-19 23:36:55 clandmeter: yes, Argentina is close to opposite site of 'ball' 2020-11-19 23:36:57 GRUOPS="audio video netdev wheel"; for group $GROUPS do chroot ${ROOT} addgroup ${USER_NAME} $group; done 2020-11-19 23:37:21 side* 2020-11-19 23:37:26 ball = globe? 2020-11-19 23:37:38 ofc 2020-11-19 23:37:58 im may it be a pain in the a.... 2020-11-19 23:38:12 but need some help asking here guys 2020-11-19 23:38:23 i dont what to offend anyone. 2020-11-19 23:38:36 just a kid asking how things works. 2020-11-19 23:38:36 I'm going to bed now, good night 2020-11-19 23:38:53 mps: have good night. 2020-11-20 00:40:45 hi, anyone know why heirloom-doctools is incompatible with coreutils and util-linux? 2020-11-20 00:40:57 (Sören Tempel isn't here by any chance?) 2020-11-20 00:45:49 guys already make symlinks ln -s /usr/share/zoneinfo/America/Argentina/Buenos_Aires /etc/zoneinfo/America/Argentina/ 2020-11-20 00:45:59 and cannot get chronyd working fine. 2020-11-20 00:53:27 i think chrony doesn't use tzdata except for leap seconds if configured 2020-11-20 00:55:15 johnaj: i think coreutils is a mistake 2020-11-20 00:55:20 util-linux installs /usr/bin/col 2020-11-20 00:59:42 Hello71: you say have to install util-linux 2020-11-20 00:59:45 ? 2020-11-20 01:00:27 openRC tell me using UTC 2020-11-20 01:00:34 how can change. 2020-11-20 01:01:42 hechos: no, Hello71 was replying to me. 2020-11-20 01:02:00 Hello71: ah, yeah, that's likely it. 2020-11-20 01:02:34 is there a good way of installing two conflicting packages at once? just -f? 2020-11-20 01:03:43 https://git.alpinelinux.org/aports/commit/testing/heirloom-doctools/APKBUILD?id=91ae99886f5755126e3849181c0e8eea96584aca no reason provided 2020-11-20 01:03:59 im reading openrc from gentoo 2020-11-20 01:04:13 make /etc/timezone file with time zone 2020-11-20 01:04:15 johnaj: i don't think that works but you can try 2020-11-20 01:04:28 hechos: use setup-timezone 2020-11-20 01:04:32 but that's unrelated to hwclock 2020-11-20 01:04:37 johnaj: use a chroot 2020-11-20 01:04:40 Hello71: dont want to use setup 2020-11-20 01:04:43 or fix the package 2020-11-20 01:04:53 im writing my own automate scripts. 2020-11-20 01:04:57 for self deploy 2020-11-20 01:05:10 hechos: you can provide scripted response 2020-11-20 01:05:16 so im trying how things work here on . 2020-11-20 01:05:24 loll. 2020-11-20 01:05:55 if you're so smart then figure it out yourself 2020-11-20 01:05:57 for now got nice setup but need just more work. 2020-11-20 01:06:05 im not smart. 2020-11-20 01:06:11 just like ask and read. 2020-11-20 01:11:30 hechos: setup-timezone is just a shell script. look inside it to see what it does? 2020-11-20 01:11:38 if you don't want to use it 2020-11-20 01:11:56 just a tip, but I don't know the whole context of your discussion 2020-11-20 01:12:17 01:06 <-- hechos (~voidlinux@181.45.243.5) has quit (Quit: WeeChat 2.8) 2020-11-20 01:12:32 oh, i see 2020-11-20 01:12:44 thanks for your tips, Hello71 2020-11-20 01:26:14 you might be able to ignore the coreutils but what do you want apk to do with /usr/bin/col 2020-11-20 01:26:15 pick randomly? 2020-11-20 01:26:21 hello. Installed alpine via alpine-virt. Running it inside virtualbox 6.1. Added xorg and some light de. How do I increase screen resolution? Using default vmsvga as vbox'es graphics controller - attempts to switch to other two led to xorg crashing on startup. This one works, but I cant resize even after installing virtualbox-guest-additions 2020-11-20 01:27:08 im on latest-stable branch 2020-11-20 01:29:39 virtualbox kinda sucks 2020-11-20 01:29:52 i think to use some drivers you need to run setup-xorg-base 2020-11-20 01:30:21 setup-udev basically 2020-11-20 01:31:37 it indeed sucks, but thats the best "get to go" solution available on desktop. Like... there is qemu/kvm for sure, but its a bit less user-friendly 2020-11-20 01:37:29 virt-manager is pretty friendly 2020-11-20 01:37:58 it's a little too enterprise oriented but still better than vbox 2020-11-20 01:39:32 nop, setup-udev didnt help 2020-11-20 01:41:28 pretty sure there's a kms vbox driver 2020-11-20 01:42:09 oh, it's not on in linux-lts 2020-11-20 01:42:50 apk del virtualbox-guest-additions xf86-video-* and switch to vboxsvga 2020-11-20 01:43:03 uh, and switch to linux-edge 2020-11-20 02:10:36 I have an alpine rootfs. When I boot it up on qemu on my linux machine, I can login with a root account I setup using `passwd root`. But when I boot up the same rootfs on my Mac with qemu, it says Login Incorrect 2020-11-20 02:10:44 Does anyone know what's going on? 2020-11-20 02:36:29 I have ttyS0 in my /etc/securetty. The linux-qemu-terminal shows /dev/tty1 and then ttyS0 for actual login. But my mac-quemu-terminal shows only /dev/tty1 and can't seem to login on /dev/tty1 2020-11-20 05:18:24 hey, I'm interested in using Alpine on my Raspberry Pi 3B+. I followed the instructions on the wiki but the RPi isn't booting, it seems like kernel.img isn't included with the Alpine RPi tarball 2020-11-20 05:39:09 I think I'm just going to go with Ubuntu then 2020-11-20 05:45:37 oof 2020-11-20 05:45:42 could've gone with tinycore linux 2020-11-20 05:45:59 irc is a protocol of latency 2020-11-20 05:46:05 why do people not realize this? ): 2020-11-20 05:46:11 ya 2020-11-20 05:46:22 iomintz: also, never heard tiny core; thanks :) 2020-11-20 12:23:00 alpinechino: "The linux-qemu-terminal shows /dev/tty1 and then ttyS0 for actual login." what? 2020-11-20 12:31:37 connecting to the guest over a virtual serial port, perhaps? 2020-11-20 15:16:04 Hi, I have alpine on the thinkpad and I came across a problem with the regulation of the fan speed. Unfortunately, the thinkfan is not ported. Do you use something else? 2020-11-20 15:17:11 jf_ have you looked at setting up things like tlp, powertop, and acpid? most of the time it helps 2020-11-20 15:17:58 I have alpine edge running stable on T470s, T490, and T14 series laptops, and some misc lenovo netbooks as well. Haven't seen anything like that 2020-11-20 15:42:06 jf_: what do you mean "not ported" 2020-11-20 16:00:55 Hello71: it means, there is no thinkfan package in alpine repo 2020-11-20 16:25:17 you can contribute a package 2020-11-20 16:25:21 i think nbfc is more popular though 2020-11-20 16:36:02 packages and packages, make; make install (in /usr/local) and ready :P 2020-11-20 18:29:43 Hello71 ya what is the difference between those two? 2020-11-20 18:29:52 what 2020-11-20 18:29:55 I have agetty linked as ttyS0 2020-11-20 18:30:13 ttyS0 vs /dev/tty1 2020-11-20 18:30:18 what's the diff? 2020-11-20 18:31:21 ttyS0 is the first serial port 2020-11-20 18:31:43 https://www.google.com/search?hl=en&q=ttyS0 2020-11-20 18:31:54 /dev/tty1 is your console 2020-11-20 18:32:03 (the first) 2020-11-20 18:33:47 hm, /dev/ttyS0 also can be console 2020-11-20 18:34:43 all my long running qemu have ttyS0 as consoles 2020-11-20 18:35:00 vga console 2020-11-20 18:35:14 Hello71: are you kidding :) 2020-11-20 18:35:31 one more layer of indirection 2020-11-20 18:35:52 no, simply console 2020-11-20 18:36:11 I wonder, has anyone here actually used a real teletypewriter 2020-11-20 18:36:31 closest I got was seeing one in a museum 2020-11-20 18:36:46 nope 2020-11-20 18:36:53 I replaced them long time on one big system installations 2020-11-20 18:37:52 they worked quite fine but management insisted to be modern and use PCs as ttys but over ethernet :) 2020-11-20 18:38:52 now I'm sorry why I didn't take few of them to my garage 2020-11-20 18:50:49 mps: thats still a serial port 2020-11-20 18:51:04 (ttyS0 as console for a vm) 2020-11-20 18:54:32 nacelle: yes 2020-11-20 18:54:39 but also console 2020-11-20 18:55:33 first multiuser system had console on first serial port, usually 2020-11-20 18:55:52 systems* 2020-11-20 19:04:51 some of them still do, but its sadly rare. 2020-11-20 19:05:05 <-- has a bunch of rs232 knowledge 2020-11-20 19:12:20 a lot of people use rs232 as consoles on SBC computers 2020-11-20 19:13:44 well, with lower voltage levels (which don't go to minus of gnd level) nowadays 2020-11-20 19:24:02 I am one of those peoples 2020-11-20 19:24:30 i use three gpio wires, its simple 2020-11-20 19:24:39 (between two 3.3v systems) 2020-11-20 19:25:05 like a few months ago i did a neopi to a pi3, so i could boot openbsd on the pi3 2020-11-20 19:25:18 couldnt find my usb to ftdi adapter anywhere 2020-11-20 20:03:46 how do I install alpine to a flash drive and use lbu? 2020-11-20 20:03:51 is there a wiki page for that 2020-11-20 20:05:23 can I use lbu from a flash drive? 2020-11-20 20:05:27 that has the alpine iso 2020-11-20 20:11:34 codebam: https://wiki.alpinelinux.org/wiki/Installation 2020-11-20 20:11:50 c705: that's not what I want 2020-11-20 20:11:55 I want an lbu image 2020-11-20 20:12:11 https://wiki.alpinelinux.org/wiki/Alpine_local_backup 2020-11-20 20:12:17 if you read the article, there's links to what you want 2020-11-20 20:12:31 I ctrl-f'd for lbu and didn't see anything but I'm checking again 2020-11-20 20:12:34 maybe I missed it 2020-11-20 20:13:02 I don't see anything regarding lbu 2020-11-20 20:13:09 or how I would use local backup 2020-11-20 20:14:10 Committing your changes 2020-11-20 20:14:14 it's literally right there 2020-11-20 20:14:29 I'm ctrl-f'ing for commit 2020-11-20 20:14:31 I don't see it 2020-11-20 20:14:41 0 matches 2020-11-20 20:14:59 or you mean on the page I linked 2020-11-20 20:15:06 where do I commit those changes? in the live iso? 2020-11-20 20:15:15 or do I install to the flash drive 2020-11-20 20:15:26 how do I make sure it's mounting as read only / to ram 2020-11-20 20:15:34 https://wiki.alpinelinux.org/wiki/Alpine_local_backup 2020-11-20 20:15:39 yeah I'm on that page 2020-11-20 20:15:40 read the article you yourself linked 2020-11-20 20:15:46 read all of it 2020-11-20 20:16:04 okay, sorry 2020-11-20 20:16:23 it says when it boots in diskless mode 2020-11-20 20:16:32 how do I install in diskless mode though? is that part of the installer 2020-11-20 20:22:31 codebam: https://wiki.alpinelinux.org/wiki/Alpine_local_backup#Saving_and_loading_ISO_image_customizations 2020-11-20 20:28:14 oh okay. checking that out now 2020-11-20 21:37:00 does anyone have any idea why "$some_command 2>&1 | tee $some_file" would cause an infinite loop? the command doesn't by itself, nor does it infinite loop without combining stddout and stderr 2020-11-20 21:39:48 LACampbell: you sure about that? 2020-11-20 21:40:08 if so, then it probably doesn't write to stdin/out and tee waits forever to recieve input 2020-11-20 21:42:02 c705: well it writes to the terminal over and over again 2020-11-20 21:42:27 that's not what i asked 2020-11-20 21:42:41 I'm asking if it writes to stdout or stderr 2020-11-20 21:44:33 I have no idea how to tell 2020-11-20 21:44:47 I just know that wihtout that 2>&1 it didn't write all the output I got on my screen 2020-11-20 21:44:54 so I assumed the other bit was stderr 2020-11-20 22:00:30 how do I load my apkvol with lbu after I mount my luks partition? 2020-11-20 22:10:39 I went through the diskless install in setup-alpine then did lbu commit like it said to 2020-11-20 22:11:35 it seems to be writing to cache 2020-11-20 22:23:10 LACampbell: stderr is not a tty 2020-11-20 22:23:16 once I lbu commit and reboot 2020-11-20 22:23:24 how do I load that after mounting it? 2020-11-20 22:25:59 do I have to go through alpine-setup for that? 2020-11-20 22:26:15 if I do that it resets my password 2020-11-20 22:29:57 if I modify /etc/fstab is that persistent on the live-usb? 2020-11-20 23:30:22 did anyone have issue with unability to change virtual machine's resolution with alpine as guest and virtualbox with VMSVGA as host? how did you solve it? just installing virtualbox-guest-additions didnt affect anything 2020-11-20 23:48:06 okay so it loaded my lbu backup automatically on boot but now how do I install more packages and commit them? 2020-11-20 23:48:37 oh okay an apk upgrade installed my old packages 2020-11-20 23:50:32 never mind I figured it out I think 2020-11-21 00:00:49 Soo_Slow: i already recommended you use linux-edge and vboxsvga 2020-11-21 00:01:37 I cant update my kernel with lbu right? 2020-11-21 00:01:49 since it uses the live kernel 2020-11-21 00:20:51 correct 2020-11-21 00:37:52 how does the -p option work with `lbu commit -p `? 2020-11-21 00:38:04 it never prompted me for a password when I used it 2020-11-21 01:07:58 does anyone here use a yubikey on alpine 2020-11-21 01:08:02 what packages do I need? 2020-11-21 01:46:06 running alpine on a rpi3, after adding user and storing diffs using "lbu commit -d" the homedirectory of this new user is missing after reboot, am I missing something here? 2020-11-21 02:01:19 hi ch# 2020-11-21 02:01:37 how can force to load from realtek r8169.ko 2020-11-21 02:05:50 okay so I got lbu all working but the mount doesn't work sometimes because it's hardcoded to /media/sdc1 2020-11-21 02:06:00 is there a way that I can make that into a UUID so that it'll work all the time? 2020-11-21 02:07:44 it restores users but not the packages when it doesn't get the correct drive letter 2020-11-21 02:13:51 anyone using damm realtek nic's? 2020-11-21 02:27:31 guys which package make in home all folder like video documents xdg? 2020-11-21 03:04:35 hello guys need some help. 2020-11-21 03:04:46 with what 2020-11-21 03:05:26 r8169 from realtek,. 2020-11-21 03:05:39 doesnt get working 2020-11-21 03:06:17 only work rmmod r8169 and then modprobe r8169 2020-11-21 03:47:52 Hi! One question, did anybody tested running games (steam/gog) on Alpine? Is it too bad? 2020-11-21 03:49:21 I run steam and runescape via flatpak no problems on X11, Runescape won't start on wayland though 2020-11-21 03:59:06 eletrotupi: alpine is on musl. 2020-11-21 03:59:24 hechos: I know 2020-11-21 03:59:58 But on a practical side, is it feasible to run games on it. It's impossible? 2020-11-21 04:00:03 That's my question 2020-11-21 04:00:36 maxice8: nice, but flatpak is trash, isn't? 2020-11-21 04:00:57 no 2020-11-21 04:00:59 eletrotupi: really never try to run libc programs. 2020-11-21 07:33:16 if i have a bunch of network interfaces 2020-11-21 07:33:17 and udhcpd runs on them 2020-11-21 07:33:45 i have noticed that the last interface will overwrite my /etc/resolv.conf 2020-11-21 07:33:48 so if i install something like openresolv, and update the config for that 2020-11-21 07:33:52 resolvconf -u 2020-11-21 07:34:01 will put the correct DNS server in /etc/resolv.conf 2020-11-21 07:34:22 i noticed however though there's no rc service for openresolv, so where would i run this on boot? but after the last interface has come up? 2020-11-21 07:35:01 i suppose i could put 2020-11-21 07:36:22 suppose i could just put 2020-11-21 07:36:43 up resolvconf -u 2020-11-21 07:36:48 in /etc/network/interfaces for the last interface 2020-11-21 07:37:07 I think you should add a hook to udhcpcd 2020-11-21 07:37:56 /usr/share/udhcpc/default.script 2020-11-21 07:40:10 apparently there are post scripts that you can add 2020-11-21 07:41:40 /etc/udhcpc/post-bound/* 2020-11-21 12:52:58 hi, where can I find tput? 2020-11-21 12:54:59 Is that a command? 2020-11-21 12:55:55 yeah 2020-11-21 12:56:28 https://en.wikipedia.org/wiki/Tput 2020-11-21 12:57:51 apk search -x cmd:tput should reveal it 2020-11-21 12:57:55 https://pkgs.alpinelinux.org/contents?file=tput&path=&name=&branch=edge 2020-11-21 12:57:59 I think it is ncurses 2020-11-21 12:59:21 huh, 'search' doesn't show up in "apk --help". maybe I should raise a bug. anwyay thanks 2020-11-21 13:42:07 dngray: resolvconf isn't a daemon 2020-11-21 13:42:27 yeah i figured that 2020-11-21 13:42:36 so how best do we use it, with an up rule in /etc/network/interfaces? 2020-11-21 13:43:14 unless there's something i can put in the last interface to tell it to not touch /etc/resolv.conf 2020-11-21 13:43:48 I think resolvconf -u is not supposed to be run automatically, it is an admin override 2020-11-21 13:44:20 dunno, I only use static DNS on alpine 2020-11-21 13:45:04 dngray: I gave you an option 2020-11-21 13:45:10 /etc/udhcpc/post-bound/* 2020-11-21 13:45:28 oh sorry, i missed that. 2020-11-21 13:45:44 yes i will do that then 2020-11-21 13:46:14 as it is likely the correct place 2020-11-21 13:46:36 unless there's a simple method of telling an interface in /etc/network/interfaces to not set DNS 2020-11-21 13:48:05 It's that default.script that sets it 2020-11-21 13:53:23 dngray: there is a configuration file where you can disable setting it 2020-11-21 13:54:16 hmm so i shouldn't need openresolv at all 2020-11-21 13:57:51 /etc/udhcpc/udhcpc.conf 2020-11-21 13:58:04 RESOLVE_CONF=no 2020-11-21 14:00:37 yeah will that do it for all interfaces though? 2020-11-21 14:00:44 what if i want to resolve for eth0 but not eth1 2020-11-21 14:03:40 there is a NO_DNS option where you can specify interfaces 2020-11-21 14:03:54 I'm just reading the source of that script 2020-11-21 14:05:28 But the resolv.conf file is reset for each dhcp lease anyway 2020-11-21 14:08:09 how come homedirectories are not saved when using "lbu commit -d" ? 2020-11-21 14:08:52 oh 2020-11-21 14:08:59 i thought you were reading some manual lol 2020-11-21 14:09:31 Apachez: because they are not included by default 2020-11-21 14:12:34 ikke: so this should work right: echo "NO_DNS=\"eth1\"" > /usr/share/udhcpc/default.script 2020-11-21 14:12:53 ikke: and how do I fix that? 2020-11-21 14:13:02 I thought lbu would overlaysave the whole install 2020-11-21 14:14:51 oops i messed that up 2020-11-21 14:16:01 was meant to be echo "NO_DNS=\"eth1\"" > /etc/udhcpc/post-bound/default.script 2020-11-21 14:19:37 oh i wil probably need to source that inside of /etc/udhcpc/udhcpc.conf 2020-11-21 14:21:24 https://wiki.alpinelinux.org/wiki/Udhcpc explains it 2020-11-21 14:23:31 echo "NO_DNS=\"eth1\"" > /etc/udhcpc/udhcpc.conf 2020-11-21 14:23:32 worked :D 2020-11-21 14:45:42 hmm, current alpine seems to ignore gpu_mem i usercfg.txt 2020-11-21 14:45:49 I set it to 32, it still uses 64... 2020-11-21 14:46:19 I assume you are talking about rpi? 2020-11-21 14:46:40 yup 2020-11-21 14:53:13 hello guys again 2020-11-21 14:53:32 cant find way to load r8169 on boot automatically 2020-11-21 14:53:47 anyone have this kind of issue? 2020-11-21 14:54:02 /etc/modeprobe.d? 2020-11-21 14:54:32 syntax please. 2020-11-21 14:55:29 already add on modules 2020-11-21 14:55:43 but eth0 still is to appear 2020-11-21 14:56:02 just work when rmmod r8169 and then modprobe 2020-11-21 14:58:58 is there a way to disable package triggers without rebuilding the package? 2020-11-21 15:00:58 I don't think so 2020-11-21 15:32:14 great, and I stumbled into this issue aswell https://github.com/raspberrypi/firmware/issues/1332 2020-11-21 15:32:29 gpu_mem can only be set from config.txt, NOT the usercfg.txt 2020-11-21 15:41:39 also the homedir is fixed by lbu include /home which should be default I think... 2020-11-21 15:45:41 different usecase 2020-11-21 15:45:48 lbu was developed for server configurations 2020-11-21 15:45:56 by default, it only includes /etc 2020-11-21 15:46:24 It would make more sense to mount /home on a persistent drive 2020-11-21 15:49:04 even servers wants to use a non privileged user for logins 2020-11-21 15:49:08 forcing root for ssh is just bad 2020-11-21 15:49:36 at least this could have been better documented I think... 2020-11-21 15:49:43 found the solution elsewhere... 2020-11-21 15:50:12 or part of the alpine-setup "do you want lbu to include your stuff in /home aswell? [YES/no]" 2020-11-21 15:50:26 just my €0.05 ;) 2020-11-21 15:51:06 /home is not special though 2020-11-21 15:51:17 there would be more directories which might be important to persist 2020-11-21 15:51:55 I don't think /root is persistent by default as well 2020-11-21 15:51:59 persisted* 2020-11-21 16:08:54 okay this one has really stumped me. 2020-11-21 16:09:03 so nc -l 10000 seems to give me connection refused 2020-11-21 16:09:11 when i connect to it from my archlinux machine 2020-11-21 16:09:18 but if i go the other way round it works 2020-11-21 16:09:41 and if i run a webserver on alpine linux bound on port 10000 it works 2020-11-21 16:10:21 also seems to work, if i try it on a real alpine linux machine, not a container 2020-11-21 16:10:59 no firewalls on any machines (i made sure of that) 2020-11-21 16:11:08 https://discuss.linuxcontainers.org/t/unable-to-access-port-nc-l-port-from-outside-with-alpine-linux-container/9529 is what i tested 2020-11-21 16:11:16 i'm wondering if there's some sort of sysctl that prevents this 2020-11-21 16:11:56 ikke: already add on /etc/modules-load.d but eth0 isnt appear on nic adapters 2020-11-21 16:12:40 modinfo show r8169 is loadead. 2020-11-21 16:12:41 hechos: So it's not just a matter of that module being loaded 2020-11-21 16:13:05 need to create eth0 adapter too? 2020-11-21 16:13:18 No, should go automatically 2020-11-21 16:13:29 so why force to unload and load eth0 show in "ip a" 2020-11-21 16:14:10 may it be on kernel options when compiling right? 2020-11-21 16:15:18 did you compile this module yourself? 2020-11-21 16:15:23 Did you check dmesg output? 2020-11-21 16:17:10 ikke: no. 2020-11-21 16:17:18 just plain installation. 2020-11-21 16:17:43 how did you install it? 2020-11-21 16:18:06 r8169 0000:03:00.0: realtek.ko not loaded, maybe it needs to be added to initramfs? 2020-11-21 16:18:17 r8169 didnt load automaticly for me only during installation (when used alpine iso) after disk install working just fine 2020-11-21 16:18:50 MY-R: can tell what modules as on boot? 2020-11-21 16:19:15 [ 1.429363] r8169 0000:03:00.0: realtek.ko not loaded, maybe it needs to be added to initramfs? 2020-11-21 16:19:17 [ 1.462598] r8169: probe of 0000:03:00.0 failed with error -49 2020-11-21 16:19:30 I have go tloaded r8169 uatomaticly, dont need to add it to modules 2020-11-21 16:20:05 hechos: try just generate new initramfs 2020-11-21 16:20:20 humm 2020-11-21 16:20:36 tell commands? 2020-11-21 16:20:41 im new in alpinelinux 2020-11-21 16:20:50 mkinitfs 2020-11-21 16:20:54 im reading gentoo wiki 2020-11-21 16:21:10 the new handbook looks nice of alpine new one ASP 2020-11-21 16:21:27 just simple 2020-11-21 16:21:33 of course over doas . 2020-11-21 16:21:54 maybe need --verbose right? 2020-11-21 16:22:03 for what? 2020-11-21 16:22:42 is "apk cache" the same as "apk cache clean" ? 2020-11-21 16:22:43 if I store an lbu apkvol on an ssh server how do I restore that apkvol after I boot the live iso? 2020-11-21 16:22:53 here is features="base ata ide scsi usb mmc nvme dhcp network r8169 https btrfs ext4 ext2 f2fs xfs" 2020-11-21 16:23:15 hechos: check /etc/mkinitfs/features.d 2020-11-21 16:23:21 hechos: there is no such a feature like r8169 2020-11-21 16:23:38 ni 2020-11-21 16:23:41 no 2020-11-21 16:23:57 Does it make a difference to add it to the initramfs? 2020-11-21 16:23:57 like ikke said, you just put there random things which are not even working 2020-11-21 16:24:14 me ? 2020-11-21 16:25:35 ikke: no clear no. im looking right now. with MC to be more clear. 2020-11-21 16:27:37 hechos: did you install Alpine on disk? 2020-11-21 16:27:50 MY-R: of course. 2020-11-21 16:28:02 im writing from 2020-11-21 16:28:15 remove from features: dhcp network r8169 https 2020-11-21 16:28:19 do: mkinitfs 2020-11-21 16:28:22 just happen on r8169 2020-11-21 16:28:22 and reboot 2020-11-21 16:28:32 test on many system so far. 2020-11-21 16:28:49 MY-R: come back later, thank you guys for support. 2020-11-21 16:28:56 well make alpine great. 2020-11-21 16:29:51 I also don't understand how the -p option works with lbu 2020-11-21 16:29:58 when do I enter that password 2020-11-21 16:30:05 is it supposed to prompt for it during boot? 2020-11-21 16:33:13 MY-R: insmod /lib/modules/5.4.72-0-lts/kernel/drivers/net/phy/libphy.ko 2020-11-21 16:33:21 think so is a problem. 2020-11-21 16:36:12 try removing those modules from features which I wrote (if you dont need them so early) do mkinitfs and try it 2020-11-21 16:36:37 okey. 2020-11-21 16:37:39 never mind I figured out encryption 2020-11-21 16:48:16 Hiç 2020-11-21 16:48:21 Hi 2020-11-21 16:48:45 I have an issue. Not sure if it's been discussed here before. It's related to the Radeon Video drivers 2020-11-21 16:50:11 I was following this guide: https://wiki.alpinelinux.org/wiki/Radeon_Video on a fresh install of alpine on my AMD laptop and noticed that after I rebooted it, wlan0 stopped appearing when i did ip a 2020-11-21 16:51:09 the error it gives is ip: ioctl 0x8913 failed: No such device 2020-11-21 16:51:10 did you remove any entries from features 2020-11-21 16:51:25 that's a separate issue, apk add iproute2 2020-11-21 16:51:35 all i did was add uhh 2020-11-21 16:51:36 what was it 2020-11-21 16:51:53 kms thing 2020-11-21 16:52:05 to mkinitfs.conf 2020-11-21 16:52:31 ill try another fresh install and add iproute2 before i install the drivers 2020-11-21 16:52:50 no, you can add it now 2020-11-21 16:52:59 can't. have no net 2020-11-21 16:56:18 hm 2020-11-21 17:00:09 Alright. rebooting.. Lets see if it works now 2020-11-21 17:01:03 no ioctl error now but now it's throwing "Could not find a wireless interface" 2020-11-21 17:01:40 and after the "Starting networking..." message it throws "Cannot find device "wlan0"" 2020-11-21 17:01:56 wonder why it's breaking 2020-11-21 17:04:37 usually that's some firmware missing 2020-11-21 17:04:48 dmesg might tell something 2020-11-21 17:04:52 thing is 2020-11-21 17:04:58 it worked fine before installing amd stuff 2020-11-21 17:05:05 i had net all working fine 2020-11-21 17:05:18 i installed it, rebooted, now wlan0 is gone 2020-11-21 17:06:55 oh, I think if you install linux-firmware-amdgpu it uninstalls linux-firmware-all 2020-11-21 17:06:58 or something like that 2020-11-21 17:07:02 apparently it's booting with "nomodeset". I'm not sure what that is but it might be bad bc its throwing hella warnings 2020-11-21 17:07:05 OHHH YEAH 2020-11-21 17:07:08 probably you need linux-firmware-iwlwifi or something 2020-11-21 17:07:17 when i installed it i saw it drop a lot of stuff 2020-11-21 17:07:20 ill try that thank you 2020-11-21 17:07:30 you also need to remove nomodeset to use graphics 2020-11-21 17:07:35 but that's unrelated to your wifi 2020-11-21 17:07:42 yeah where do i remove that lol 2020-11-21 17:07:53 /etc/syslinux-somethingorother 2020-11-21 17:08:02 grep -r nomodeset /etc 2020-11-21 17:08:03 alright thanks 2020-11-21 17:08:48 I don't think you need to explicitly install linux-firmware-amdgpu 2020-11-21 17:09:04 It's installed by default 2020-11-21 17:09:13 ohhhh 2020-11-21 17:09:16 so thats the issue then 2020-11-21 17:09:27 because yeah when i install it it drops a lot of stuff 2020-11-21 17:09:29 like removes it 2020-11-21 17:09:32 yes 2020-11-21 17:09:41 most firmware packages are installed implicitly 2020-11-21 17:09:48 or all of them basically 2020-11-21 17:10:04 If you install one explicitly, the implicit dependency is no longer required 2020-11-21 17:10:17 ohhh 2020-11-21 17:10:28 man apk is wild but it's also really efficient 2020-11-21 17:19:12 okay that worked 2020-11-21 17:19:54 my nomodeset thing is in /etc/default/grub 2020-11-21 17:20:04 do i just remove it from there and thats it? 2020-11-21 17:20:13 or do i gotta do some stuff with grub after to save it 2020-11-21 17:21:35 also is it normal that /dev/dri is empty? 2020-11-21 17:21:54 Remove it, then `grub-mkconfig -o ` 2020-11-21 17:21:54 I think that has to do with nomodeset 2020-11-21 17:22:23 yeah figured i had to do something like that thanks 2020-11-21 17:22:57 okay fingers crossed 2020-11-21 17:23:22 hooo i think it worked 2020-11-21 17:23:25 you guys are amazing 2020-11-21 17:23:54 YESSSS /dev/dri not empty anymore 2020-11-21 17:23:59 and my screen is huge now 2020-11-21 17:24:12 now let's see if i can install sway 2020-11-21 17:24:26 Talking about grub, on my desktop for some reason it add some default boot parameters that I just can't get rid of, including nomodeset 2020-11-21 17:24:40 I have to manually edit `/boot/grub/grub.cfg` on every kernel update to get rid of it... 2020-11-21 17:24:54 oh that sucks 2020-11-21 17:25:01 grub-mkconfig worked fine for me 2020-11-21 17:25:08 Yes works on my laptop as well 2020-11-21 17:25:17 On my desktop it does add my stuff, it just doesn't remove the default stuff 2020-11-21 17:25:31 No clue why, configs between those two machines are basically the same 2020-11-21 17:25:37 weird 2020-11-21 17:33:07 yooooo sway is working 2020-11-21 17:33:14 thank you guys i love you 2020-11-21 17:34:32 nice 2020-11-21 17:39:41 how can I make my alpine lbu USB work in more than one computer? 2020-11-21 17:39:59 the mountpoints are different on my laptop than on my desktop so the apkvol doesn't get installed 2020-11-21 17:40:16 I tried mounting the UUID to /media/sdc1 but that didn't work 2020-11-21 17:42:13 on my laptop it's sda1 but on my desktop it's sdc1 so I'm not sure what to do 2020-11-21 17:48:24 so I read the page on local apk cache 2020-11-21 17:48:48 can I put the cache somewhere else in the filesystem and include it with `lbu include` so that it works on multiple systems 2020-11-21 17:49:19 the example says to put it at /media/sdX1/cache but that won't work if the drive letters change 2020-11-21 17:56:43 usually the cache is stored directly on USB 2020-11-21 18:18:13 ikke: but if I do that it gets a different drive letter depending which computer I use it in 2020-11-21 18:18:25 so it doesn't work in my laptop 2020-11-21 18:18:36 isn't the usb drive mounted as /media/usb? 2020-11-21 18:18:52 no it was mounted as /media/sdc1 2020-11-21 18:19:01 should it be mounted as /media/usb? 2020-11-21 18:19:20 I think alpine should automatically mount it as /media/usb 2020-11-21 18:19:59 it was automatically mounting as /media/sdx 2020-11-21 18:20:03 *sdx1 2020-11-21 18:20:14 x is c on my desktop and a on my laptop 2020-11-21 18:22:43 that was causing issues because it restored the /etc/apk/cache symlink and it was linked to /media/sdc1/cache but alpine automounted it to /media/sda1 2020-11-21 18:22:56 so I'm not really sure how to fix that 2020-11-21 18:24:11 can I change where it automounts to? 2020-11-21 18:24:35 can confirm has been installed from official iso and happen the same with r8169 2020-11-21 18:27:17 ikke: can I use UUIDs with lbu, or is that not supported yet? 2020-11-21 18:27:20 im reading irclogs, about mps with timo-k 2020-11-21 18:27:56 can I modify an automount config to make it mount to /media/uuid-here or something like that? 2020-11-21 18:30:01 codebam: If I read the code correct, I think you should be able to specify it in /etc/fstab 2020-11-21 18:32:24 okay I tried that once, let me try again 2020-11-21 18:34:08 ikke: where should I put the mountpoint? is /dev/sdc1 fine? 2020-11-21 18:34:16 I mean 2020-11-21 18:34:21 /media/sdc1 2020-11-21 18:38:08 That doesn't make a lot of sense 2020-11-21 18:39:52 how can install kernel from edge. 2020-11-21 18:39:54 just kernel. 2020-11-21 18:42:09 ikke: sorry so I mounted it by uuid to /media/sdc1 and it works fine on my desktop where I created it. In my laptop it restores everything except apk cache it seems 2020-11-21 18:42:17 hostname and etc configs are all there 2020-11-21 18:42:37 codebam: where does /etc/apk/cache point to? 2020-11-21 18:42:56 /media/sdc1/cache 2020-11-21 18:43:25 which is a bad link because it's now sda1 2020-11-21 18:43:29 yes 2020-11-21 18:43:42 is there a way I can fix that? 2020-11-21 18:44:21 So you first need to make sure it's mounted to stable path 2020-11-21 18:44:34 And I don't recmomend to use /dev/sd for that 2020-11-21 18:45:08 so I would mount by uuid to say /media/alpine-persist ? 2020-11-21 18:45:28 something like that 2020-11-21 18:47:51 do I need to lbu include /media/alpine-persist? 2020-11-21 18:48:16 as an empty directory, yes, because the directory needs to exist 2020-11-21 18:48:37 hmm 2020-11-21 18:48:57 okay cool 2020-11-21 18:53:05 ikke: just a quick one. I noted that seafile/sehub used to be supported in alpine, but the package has been discontinued 2020-11-21 18:53:25 I wonder whether anybody knows if it still works on 3.12 2020-11-21 18:53:37 (I mean by building it from scratch) 2020-11-21 18:57:01 how do I add it as an empty directory 2020-11-21 18:57:26 I excluded /media/alpine-persist/cache 2020-11-21 18:57:56 but how do I make sure commit doesnt commit the apkvol's inside that directory? 2020-11-21 18:59:58 codebam: that's why I was doubting 2020-11-21 19:00:34 KatolaZ: I think you would just have to try 2020-11-21 19:00:47 ikke: thanks :) 2020-11-21 19:00:49 But the last commit already mentioned that it doesn't work 2020-11-21 19:00:53 6e5499bca18c723547152560886ab3bb043c6e8f 2020-11-21 19:01:01 ok 2020-11-21 19:01:12 thanks a lot ikke, much appreciated 2020-11-21 19:03:26 ikke: it wont mount to alpine-persist 2020-11-21 19:03:52 I used mount -a and it didnt do anything 2020-11-21 19:04:46 I had to umount it from /media/sdc1 before running mount -a to get it to mount 2020-11-21 19:05:09 the apk cache symlink works now but none of the packages got installed during boot 2020-11-21 19:05:29 is there a command to just install all the packages in apk cache? 2020-11-21 19:07:42 Hello boys 2020-11-21 19:07:46 So basically 2020-11-21 19:07:54 Can't install Sway 2020-11-21 19:08:00 codebam: are they in /etc/apk/world? 2020-11-21 19:08:05 Says that it's missing and required by world 2020-11-21 19:08:13 powerman2206: did you add the community repo? 2020-11-21 19:08:20 Uh 2020-11-21 19:08:22 I guess not 2020-11-21 19:08:24 Wiki time 2020-11-21 19:08:26 ikke: yeah they are 2020-11-21 19:08:34 powerman2206: /etc/apk/repositories 2020-11-21 19:08:42 actually apk upgrade restored them 2020-11-21 19:08:49 I guess that works 2020-11-21 19:09:11 Ok thanks 2020-11-21 19:09:17 codebam: I wonder what's mounting them as /dev/sdx in /media in the first place 2020-11-21 19:10:00 yeah is there a daemon thats doing that? I think if i disable it it won't restore the apkvol though 2020-11-21 19:13:27 So uh, how do I configure elogind? 2020-11-21 19:13:45 Sway won't launch because of something having to do with logind 2020-11-21 19:14:18 powerman2206: enable the rc service 2020-11-21 19:14:29 install elogind and enable and start it 2020-11-21 19:14:34 then log out and in 2020-11-21 19:15:09 Time to read the Arch wiki on how OpenRC services work 2020-11-21 19:16:03 that works enough I guess 2020-11-21 19:16:11 Arch wiki best wiki 2020-11-21 19:16:19 just have to manually mount to install packages 2020-11-21 19:16:19 Huh, still the error 2020-11-21 19:16:30 "User has no sessions" 2020-11-21 19:16:34 powerman2206: read the wiki page on sway on the alpine wiki 2020-11-21 19:16:45 Did 2020-11-21 19:17:05 It just says "use elogind idc" but the Alpine wiki itself has no page for elogind 2020-11-21 19:18:27 Ah, had to reboot 2020-11-21 19:18:55 Black screen, great 2020-11-21 19:26:37 powerman2206: did you try run it with "XDG_RUNTIME_DIR=/tmp sway" and added user to group "input" and "video"? 2020-11-21 19:29:23 Yees 2020-11-21 19:31:26 It might be the drivers 2020-11-21 19:39:43 Hm, not it 2020-11-21 19:39:59 Well god dammit boys how do I switch to Alpine if I can't even get a compositor running 2020-11-21 19:59:54 do there exist a fork of alpine linux that uses -O3 rather than -Os ? 2020-11-21 20:00:36 Not that I'm aware of 2020-11-21 20:00:40 Apachez: no, and -O3 is pretty crappy for system wide use 2020-11-21 20:00:56 Hello71: but -Os is the worst when it comes to performance for system wide use 2020-11-21 20:01:15 Apachez: no, -O3 usually is 2020-11-21 20:01:20 cache size 2020-11-21 20:01:38 depends on the arch being used 2020-11-21 20:02:28 regardless, I already had -O2 shot down on the basis that it's not "small simple secure" 2020-11-21 20:02:50 about 19% performance hit by using Os compared to O2/O3 2020-11-21 20:03:00 hence "fork" 2020-11-21 20:03:14 "fast, small, simple and secure" :) 2020-11-21 20:04:57 Apachez: small, simple,secure (where you see fast) 2020-11-21 20:05:10 mps: they want fast as well 2020-11-21 20:05:12 small is at the first position 2020-11-21 20:05:31 "fast" 2020-11-21 20:05:50 I don't see 'fast' on web 2020-11-21 20:06:04 They are not saying it's there 2020-11-21 20:06:12 mps: which part of "fork" was it you missed? 2020-11-21 20:06:24 Apachez: no one 2020-11-21 20:06:30 mps: I think you did 2020-11-21 20:06:31 ? 2020-11-21 20:06:55 https://alpinelinux.org/about/ 2020-11-21 20:07:02 mps: do there exist a fork of alpine linux that uses -O3 rather than -Os ? 2020-11-21 20:07:02 Hello. before i got disconnected i saw someone had the same issue i used to have regarding sway. Are they still in here? 2020-11-21 20:07:13 I never claimed alpine is fats 2020-11-21 20:07:15 I never claimed alpine is fast 2020-11-21 20:07:16 Apachez: I miss a loot on alpine :) 2020-11-21 20:07:19 amdman6: powerman2206 2020-11-21 20:07:25 Eh? 2020-11-21 20:07:53 powerman 2020-11-21 20:07:54 I just wondered if there existed a flavour of alpine where size wasnt the main goal but performance but everything else was the same in terms of management of the system etc... hence the keyword: fork 2020-11-21 20:07:57 what's the issue you have 2020-11-21 20:08:04 so 2020-11-21 20:08:27 I try to run Sway 2020-11-21 20:08:30 yeah 2020-11-21 20:08:31 Or i3, whatever 2020-11-21 20:08:36 And it just gives a black screen 2020-11-21 20:08:50 do you use amd 2020-11-21 20:08:55 It's a VM 2020-11-21 20:08:57 Apachez: I guess you just have to recompile the packages with the flags that you want :) 2020-11-21 20:09:00 oh 2020-11-21 20:09:20 well what i found on my install is that there was a setting by default that disabled my graphic drivers 2020-11-21 20:09:30 nomodeset 2020-11-21 20:09:41 but that should have been removed already 2020-11-21 20:09:45 yeah. I had to remove that and then remake my grub config 2020-11-21 20:09:47 but maybe not if you use grub 2020-11-21 20:09:52 Yeah but like 2020-11-21 20:09:59 I don't have an /etc/default/grub 2020-11-21 20:10:09 ikke: I just hoped somebody already did that :P 2020-11-21 20:10:15 I don't even know what I use, Alpine just installed whatever 2020-11-21 20:10:32 powerman2206: do you have /etc/update-extlinux.conf? 2020-11-21 20:10:42 Yeah 2020-11-21 20:11:03 Ok I got rid of the thing 2020-11-21 20:11:04 What now? 2020-11-21 20:11:56 got rid of what? 2020-11-21 20:12:10 nomodeset 2020-11-21 20:12:20 ok 2020-11-21 20:12:29 Do I gotta update something or..? 2020-11-21 20:12:34 what i did to find where it is was grep -r nomodeset /etc 2020-11-21 20:13:05 powerman2206: yes 2020-11-21 20:13:21 Well uh, what do I gotta run? 2020-11-21 20:13:47 i use alpine extended and it used grub by default. I installed it with setup-alpine 2020-11-21 20:14:00 Ah 2020-11-21 20:14:05 Ok hold on I'm gonna reinstall that 2020-11-21 20:14:09 powerman2206: wait 2020-11-21 20:14:22 Bro my cursor is hovering over "delete" 2020-11-21 20:14:24 amdman6: your system is using EFI I guess 2020-11-21 20:14:35 powerman2206: using the extended image does not make a difference 2020-11-21 20:14:38 man i swear software is smart 2020-11-21 20:14:39 You stopped me half a second before I clicked it 2020-11-21 20:15:06 yeah ikke is a lot more informed than me abt this subject 2020-11-21 20:15:17 amdman6: just slightly :) 2020-11-21 20:16:08 powerman2206: update-extlinux, but you need to provide some parameters 2020-11-21 20:16:40 I'm listening 2020-11-21 20:18:32 oh, I think you can just plain call 'update-extlinux' 2020-11-21 20:19:09 Also while we're here before the reboot, what's the thing I gotta do so that I can reboot and shutdown and stuff as the regular user 2020-11-21 20:19:16 I gotta use sudo for that rn 2020-11-21 20:19:23 I'm starting to love no systemd 2020-11-21 20:19:51 powerman2206: that's the elogind part, but I don't have experience with that 2020-11-21 20:20:18 i found out that i didn't need elogind to run sway 2020-11-21 20:20:31 amdman6: they want to shutdown as a normal user 2020-11-21 20:20:42 Hm, unable to create backendDRM 2020-11-21 20:20:49 I saw on their page that you need to suid it in order to run without systemd and stuff 2020-11-21 20:21:17 or compile one their dependencies by yourself i believe 2020-11-21 20:21:21 I guess this is the part where I gotta install correct drivers 2020-11-21 20:21:29 So which drivers are needed for a VM? 2020-11-21 20:21:49 what hypervizor? 2020-11-21 20:22:00 uh, KVM? 2020-11-21 20:22:02 btw make sure it's not already installed before you install it 2020-11-21 20:22:15 one of https://pkgs.alpinelinux.org/packages?name=xf86-video-*&branch=edge&arch=x86_64 2020-11-21 20:22:16 because it might remove a lot of stuff that you need 2020-11-21 20:22:28 powerman2206: I think xf86-video-qxl then 2020-11-21 20:22:52 sway is probably one of a few compositors that do not depend on systemd stuff 2020-11-21 20:22:59 oh pog 2020-11-21 20:23:30 Hm, looks like I already had it installed 2020-11-21 20:24:19 X doesn't work either 2020-11-21 20:24:57 theres a command to setup x stuff by default 2020-11-21 20:25:07 Oh right I forgot about that 2020-11-21 20:25:10 setup-xorg-base 2020-11-21 20:25:14 setup-xorg-base 2020-11-21 20:25:16 ya 2020-11-21 20:25:19 Already did that 2020-11-21 20:26:26 if one wants to avoid eudev, more work is necessary to get Xorg to work 2020-11-21 20:26:42 Dude at this point I just want some UI 2020-11-21 20:26:49 Sway, i3, whatever 2020-11-21 20:26:59 i found sway easier to install 2020-11-21 20:27:11 but it's up to you i guess 2020-11-21 20:27:13 Oh yeah? Tell that to the black screen 2020-11-21 20:27:24 miskatonic: libudev-zero 2020-11-21 20:27:27 But yeah I already use Sway on my Arch host so I wanna use it in the VM too 2020-11-21 20:28:02 And I wanna distrohop to Alpine but it's kinda a pain in the ass rn 2020-11-21 20:28:19 well 2020-11-21 20:28:25 i tried that a couple times 2020-11-21 20:28:31 then i realised the way to make me switch 2020-11-21 20:28:38 was to have no easy backup 2020-11-21 20:28:50 i have installed alpine like 20 times this week 2020-11-21 20:28:59 You did what now 2020-11-21 20:29:00 learnt some stuff 2020-11-21 20:29:40 yeah i just backed up some stuff from my main pc 2020-11-21 20:29:53 cleaned disk 2020-11-21 20:29:56 popped alpine 2020-11-21 20:29:59 learnt from it 2020-11-21 20:30:12 I might try OpenSUSE 2020-11-21 20:30:21 If Alpine doesn't work, I mean 2020-11-21 20:30:55 alpine works its just gonna be a lot of googling and asking questions 2020-11-21 20:31:10 ah nooooo open$u$e is systemd-infested to the core 2020-11-21 20:31:15 but you get a lot of knowledge from it. It's worth it in my opinion 2020-11-21 20:31:16 I guess Arch spoiled me 2020-11-21 20:31:35 Why hate systemd tho 2020-11-21 20:32:17 as far as i know. something about it being very big, slow and exploitable 2020-11-21 20:32:35 Exploitable? 2020-11-21 20:34:23 yeah just google "systemd CVE" 2020-11-21 20:35:34 https://nosystemd.org I see 2020-11-21 20:36:11 Yeah. a lot of the non-bsd stuff is dead 2020-11-21 20:36:35 Alpine has a pretty big community and has been around for years 2020-11-21 20:36:37 Welp, my mind is easily changed 2020-11-21 20:36:39 Alpine time 2020-11-21 20:36:50 Yeah man just go hard on i t 2020-11-21 20:36:55 sometimes youll feel stuck 2020-11-21 20:36:57 happened to me 2020-11-21 20:37:08 Ok so some guy on reddit said that they had to enable the necessary driver in the kernel 2020-11-21 20:37:10 but you always have to keep trying 2020-11-21 20:37:41 no you don't; sometimes, a different distro is a better fit for a given situation 2020-11-21 20:37:52 let's not be fanatics here 2020-11-21 20:38:09 Ok my mind changed again 2020-11-21 20:38:13 OpenSUSE tiem 2020-11-21 20:38:26 Dammit I'm like a girl 2020-11-21 20:38:29 powerman2206: I have no issues with xorg on qemu myself, btw 2020-11-21 20:39:27 "What do you want to eat" *Oh idk tacos* "ok let's go eat tacos" *no I want chinese* "fine, we'll buy chines-" *hold on now, what about italian?* 2020-11-21 21:03:11 why do you want to italians? 2020-11-21 21:03:23 I prefer to eat animals 2020-11-21 21:03:24 they left 2020-11-21 21:04:36 the italians? 2020-11-21 21:05:08 No, the chinese 2020-11-21 21:09:05 any recommendations on openvpn clients? 2020-11-21 21:09:34 I tried networkmanager with networkmanager-openvpn but then realised i had to change a lot of stuff that already worked fine 2020-11-21 21:09:40 so i uninstalled that 2020-11-21 21:13:04 just plain openvpn? 2020-11-21 21:13:06 why not go for wireguard while you are at it? 2020-11-21 21:13:09 or that 2020-11-21 21:13:26 yeah fair 2020-11-21 21:13:46 thanks 2020-11-21 22:23:12 yo so like 2020-11-21 22:23:51 whats up with /dev/net/tun 2020-11-21 22:24:42 modprobe tun 2020-11-21 22:25:21 ohhhh 2020-11-21 22:25:30 man you guys are smart 2020-11-21 22:45:25 echo tun > /etc/modules or somesuch 2020-11-21 22:47:15 ya >> 2020-11-21 22:47:18 thanks 2020-11-22 00:11:57 hmm apparently openvpn doesn't make a /etc/openvpn/openvpn.conf by default. Not sure if it should even do that but its complaining about it 2020-11-22 00:37:17 nvm had to put my config in there 2020-11-22 00:37:23 big brain shit 2020-11-22 01:28:54 hmm thats weird 2020-11-22 01:29:39 openvpn is telling me that block-outside-dns is unrecognized 2020-11-22 03:16:24 current version of alpine on rpi3, anyone else gettings this? alpine daemon.err acpid[2654]: /dev/input/event0: No such file or directory 2020-11-22 09:48:18 Aight I'm giving Alpine a second shot 2020-11-22 09:48:31 Well I'd like to 2020-11-22 09:48:36 But nothing works again 2020-11-22 09:49:32 I run Sway, black screen 2020-11-22 09:52:18 then first try without any complications like wayland or compositors, just plain x with a trivial wm 2020-11-22 09:53:13 or you can try to debug what goes wrong but there are a lot of things that can cause black screen 2020-11-22 09:53:44 Dammit, time to install X bloat 2020-11-22 09:55:53 So X says "no screens found" 2020-11-22 09:55:58 nsz: you confused me, I thought I'm reading #musl :) 2020-11-22 09:57:24 powerman2206: did you run setup-xorg-base 2020-11-22 09:57:32 Oh 2020-11-22 09:57:43 I did but that was in another VM lmao 2020-11-22 09:58:19 Ok now X also gives a black screen 2020-11-22 09:58:25 WIll look at the logfile brb 2020-11-22 09:58:32 running X/Wayland in VM is not good idea for newcomers to alpine 2020-11-22 09:58:49 powerman2206: did you run update-extlinux after removing nomodeset? 2020-11-22 09:58:59 Oh fuck that too 2020-11-22 09:59:04 Y'boys gotta update that 2020-11-22 09:59:17 nomodeset has been removed by default 2020-11-22 09:59:25 wait what 2020-11-22 09:59:28 please, don't use 'slang' here 2020-11-22 09:59:39 Am I using an outdated ISO or something? 2020-11-22 09:59:47 mps: why? 2020-11-22 09:59:57 I think that's how I mention people witl Weechat 2020-11-22 10:00:04 because this is not good idea, also 2020-11-22 10:02:13 9b6425b05c4e914dbf848c234717b51a79d45ad9 2020-11-22 10:03:30 hm 2020-11-22 10:03:55 Idk why it's here by default then 2020-11-22 10:04:14 If IRC had /shrug I'd send it now 2020-11-22 10:05:07 Anyways, removing that didn't work 2020-11-22 10:05:26 and you reboot after you run update-extlinux? 2020-11-22 10:05:35 Yees 2020-11-22 10:06:04 apk add xf86-video-modesetting 2020-11-22 10:06:35 Looks like I already have it 2020-11-22 10:08:16 Weechat died for a sec there 2020-11-22 10:08:45 Here's the X log file if it helps https://termbin.com/w5l0 2020-11-22 10:09:18 why are people addicted so much to wayland? 2020-11-22 10:09:28 Because it's pog 2020-11-22 10:09:34 And X is insecure and slow bloat 2020-11-22 10:10:05 In my VM I have xf86-video-mesa, xf86-video-qxl and xf86-video-modesetting 2020-11-22 10:10:18 miskatonic: people want new and new and new 2020-11-22 10:10:39 https://youtu.be/GWQh_DmDLKQ this video made me switch 2020-11-22 10:10:52 But nevermind that, I'll try installing tha packages ikke said 2020-11-22 10:11:09 Xorg is more stable and works better 2020-11-22 10:11:30 shut 2020-11-22 10:12:37 ikke: xf86-video-mesa doesn't exist 2020-11-22 10:12:51 sorry, vesa 2020-11-22 10:14:39 Wayland gives backend error, X black screen 2020-11-22 10:15:22 Y'know I could just split my SSD in half and install Alpine to that 2020-11-22 10:17:28 Actually here I'm gonna do it 2020-11-22 10:17:51 powerman2206: Is the fbcon module loaded? 2020-11-22 10:18:10 How to I check? 2020-11-22 10:18:15 lsmod | grep fbcon 2020-11-22 10:18:29 Negative 2020-11-22 10:18:34 modprobe tiem 2020-11-22 10:18:40 no 2020-11-22 10:18:44 oh 2020-11-22 10:18:45 it should not 2020-11-22 10:19:10 At this point I just think it's the VM 2020-11-22 10:19:29 Alpine can install to specific partitions, yeah? 2020-11-22 10:19:46 For me it started working after I removed nomodeset and rebooted 2020-11-22 10:19:57 I use startx to start xorg 2020-11-22 10:20:25 I'll just install it on bare metal 2020-11-22 10:20:29 But I gotta know 2020-11-22 10:20:35 just mount the partition(s) beforehand and then point the setup script to the mountpoint 2020-11-22 10:20:38 but, for me it's using modesetting, not qxl 2020-11-22 10:21:08 My SSD currently has 5 partitions, so will Alpine give me an option to choose which one to install to? 2020-11-22 10:21:31 powerman2206: it says swrast_dri.so is missing 2020-11-22 10:21:43 maybe you need mesa-dri-gallium? 2020-11-22 10:21:45 (not sure though) 2020-11-22 10:23:53 AH 2020-11-22 10:23:55 WORKS 2020-11-22 10:23:59 So I guess that was it 2020-11-22 10:24:17 nice 2020-11-22 10:24:21 https://pkgs.alpinelinux.org/contents?file=swrast_dri.so&path=&name=&branch=edge 2020-11-22 10:24:57 Also I think the Alpine package mirrors are dying 2020-11-22 10:25:04 which one? 2020-11-22 10:25:15 Oh wait that's just me torrenting Xubuntu, my bad 2020-11-22 10:25:36 We are monitoring (most) alpine mirrors 2020-11-22 10:26:29 Now it's time to download my dots 2020-11-22 10:28:42 how do i get a service to run at boot? i ran rc-update add hell, and confirmed that hell was listed in `rc-update`, but it still doesn't run at boot 2020-11-22 10:28:56 i have `need net` in the service, 2020-11-22 10:30:43 usually I've seen that on wlan systems people forget to add wpa_supplicant to boot 2020-11-22 10:31:00 artok: i use ethernet, i use a virtual network adaptor 2020-11-22 10:31:18 i have / mounted as read-only in my fstab, could that be interfering with it? 2020-11-22 10:31:31 having some logs around? 2020-11-22 10:31:39 which logs would you like first? 2020-11-22 10:36:56 you first enable logger in /etc/rc.conf 2020-11-22 10:39:27 then you have /var/log/rc.log that should catch stdout stderrs 2020-11-22 10:53:22 ok, i will try setting / to be mounted rw, then rebooting. if that fixes it, i will try setting rc.conf to log to /tmp/ then reboot 2020-11-22 11:12:26 Hello boys 2020-11-22 11:12:51 My username is different because I'm an an Xubuntu live boot rn, talking from KiwiIRC 2020-11-22 11:13:14 But anyways, I tried to install Alpine but it doesn't let me pick a partition to install to 2020-11-22 11:13:21 Only to nuke the entire disk 2020-11-22 11:15:16 https://wiki.alpinelinux.org/wiki/Installing_Alpine_on_HDD_dualbooting found this, will trz 2020-11-22 11:19:29 to install to a particular partition, mount the partition and setup-disks to the mountpoint 2020-11-22 11:20:52 same goes if you want to install to a manually partitioned whole disk. 2020-11-22 11:22:08 for dualboot, it is also necessary to set up a bootloader appropriately 2020-11-22 11:23:22 docs.alpinelinux.org 2020-11-22 11:25:02 Ok I'm here again, this time from my phone 2020-11-22 11:25:22 I can't figure out how to install Alpine without a bootloader 2020-11-22 11:25:56 Or does it have to install with GRUB? 2020-11-22 11:26:29 Because I'd like it to install withoit anything so that I can add it through Arch because everything is nice and configured there 2020-11-22 11:26:40 there are several possibilities, depending on UEFI or BIOS 2020-11-22 11:28:03 there is an environment variable read by setup-disks, and it specifies the bootloader to be installed. It can be set to none, if I remember 2020-11-22 11:29:22 or arch-chroot into your arch installation with a live disk after having installed alpine to reconfigure and reinstall grub2 from arch 2020-11-22 11:30:14 Huh, that was weird 2020-11-22 11:30:25 Couldn't send messages 2020-11-22 11:31:06 miskatonic: but yeah it's UEFI 2020-11-22 11:35:35 Y'know I'll just try installing GRUB 2020-11-22 11:35:54 For EFI you need grub afaik 2020-11-22 11:36:17 Yes, I already have GRUB installed 2020-11-22 11:37:41 Do I gotta mount my boot partition to /mnt/boot for this to work? 2020-11-22 11:37:48 Or will that break Arch? 2020-11-22 11:39:24 https://wiki.archlinux.org/index.php/GRUB#Dual-booting 2020-11-22 11:39:48 Oh I gotta do it manually 2020-11-22 11:39:51 But you see 2020-11-22 11:39:57 I am yet to install it 2020-11-22 11:40:28 I can't find how to install it without a bootloader 2020-11-22 11:43:01 for EFI systems, systemd-boot might work. it doesn't have the same issues as regular systemd, and it's a separate project 2020-11-22 11:43:24 i also find it easier to configure than GRUB 2020-11-22 11:43:40 and it's less bloated, to boot 🥁 2020-11-22 11:43:51 Look, don't wanna sound like a jerk, but that doesn't answer my question 2020-11-22 11:44:06 no it's all good, tbh i didn't mean to answer your question 2020-11-22 11:44:21 I've heard of something called rEFInd. Is that similar to systemd-boot? 2020-11-22 11:44:24 Also I don't wanna fuck around with that if I don't even know if it'll boot Windows AME on another partition 2020-11-22 11:44:37 i think miskatonic answered your question earlier, but i'm not sure if you saw 2020-11-22 11:44:43 to install to a particular partition, mount the partition and setup-disks to the mountpoint 2020-11-22 11:44:44 same goes if you want to install to a manually partitioned whole disk. 2020-11-22 11:44:44 for dualboot, it is also necessary to set up a bootloader appropriately 2020-11-22 11:44:45 did you see this? 2020-11-22 11:44:50 No 2020-11-22 11:44:55 IRC client got fucky 2020-11-22 11:45:21 Ok lemme try something 2020-11-22 11:45:45 I never used xfce. Dies the general x11 logfile say something? 2020-11-22 11:46:24 oops wrong channel 2020-11-22 11:47:01 ikke: apparently syslinux supports EFI too 2020-11-22 11:48:43 What do I gotta put in to have the latest kernel instead of lts in the setup-disk script? 2020-11-22 11:49:00 The wiki says to use -k but not what to put in 2020-11-22 11:50:46 Nevermind that, installing GRUB tries to install it in BIOS mode 2020-11-22 11:50:49 Not UEFI 2020-11-22 11:50:58 So now I gotta fix that somehow 2020-11-22 11:55:34 Screw this, I'll just stick to Arch 2020-11-22 11:55:40 Thanks for trying, boys 2020-11-22 11:55:52 screw what and why? 2020-11-22 11:55:58 Alpine 2020-11-22 11:56:07 Can't install it on UEFI 2020-11-22 11:57:15 Oop, here I am 2020-11-22 11:57:20 helo 2020-11-22 11:57:38 So uh yeah 2020-11-22 11:57:57 I'll just reinstall Arch if my current install gets too bloated somehow 2020-11-22 11:58:09 Will see if Alpine will be right for me in the future 2020-11-22 11:58:15 Goodbye, dudes 2020-11-22 12:38:30 rip 2020-11-22 12:38:55 artok: ok, i have mounted /var/log rw, and rebooted 2020-11-22 12:39:11 there is nothing interesting in /var/log/messages. 2020-11-22 12:39:28 the others i see are acpid.log, dmesg, and wtmp. would you like me to check those? 2020-11-22 13:05:58 artok: what's weird is, `networking` is started, enabled at boot, and provides `net`, but my service that depends on `net` is not. 2020-11-22 13:09:50 i'll ask on the mailing list 2020-11-22 13:10:54 rc.log ? 2020-11-22 13:19:09 artok: no such file or directory 2020-11-22 13:19:38 i have it set to the default, which is indeed /var/log/rc.log 2020-11-22 14:34:18 glibc has an option in /etc/gai.conf to prefer ipv6. is this possible with musl ? 2020-11-22 14:38:34 I think ipv6 is already preferred, not? But no, there is no gai.conf for musl 2020-11-22 14:41:45 hello guys im reading gentoo wiki Automatic virutal console login 2020-11-22 14:42:04 OpenRC section but cannot get working auto login on alpine 2020-11-22 14:42:29 somebody can give a hand how this is properly setup for autologin 2020-11-22 14:43:33 hechos: You need to install agetty 2020-11-22 14:43:48 hmm let me see. 2020-11-22 14:43:57 which is part of util-linux 2020-11-22 14:44:25 already got installed util-linux 2020-11-22 14:44:29 ok 2020-11-22 14:44:36 then in /etc/fstab 2020-11-22 14:44:39 I mean 2020-11-22 14:44:42 then in /etc/inittab 2020-11-22 14:45:00 fstab for what? 2020-11-22 14:45:04 ^ 2020-11-22 14:45:06 ttyS0::respawn:/sbin/agetty -L 115200 ttyS0 linux --login-pause --autologin root --noclear 2020-11-22 14:45:10 inittab 2020-11-22 14:45:12 did you know that scallops have 200 eyes? 2020-11-22 14:45:25 I don't even know what a scallop is 2020-11-22 14:45:36 hechos: and change ttyS0 to desired tty 2020-11-22 14:46:12 mps: you are on void too right? 2020-11-22 14:46:29 ikke: they look like this https://www.mcgowanandsons.com/images/thumbs/0000218_sea-scallops-hudson-bay-u-10-wild-caught-.jpeg 2020-11-22 14:46:46 hechos: no 2020-11-22 14:46:50 ikke: thanks i catch up/ 2020-11-22 14:47:20 hmm im confused with other nick mps 2020-11-22 14:47:24 sorry 2020-11-22 14:47:39 np 2020-11-22 15:13:26 already add rc-update add agetty default 2020-11-22 15:13:39 but cannot get autologin what more need to be done? 2020-11-22 15:14:02 runlevel to boot or default? 2020-11-22 15:14:25 hechos: You should not start it as a service 2020-11-22 15:14:30 You need to change /etc/inittab 2020-11-22 15:15:23 ikke: change lines and even add to tty1 but nothing happen. 2020-11-22 15:16:37 kill -HUP 1 2020-11-22 15:16:42 hechos: How does your inittab look like? 2020-11-22 15:16:52 and logout from tty 2020-11-22 15:18:55 # ttyS0::respawn:/sbin/agetty -L 115200 ttyS0 linux --login-pause --autologin alpine --noclear 2020-11-22 15:18:57 tty1::respawn:/sbin/agetty 38400 tty1 linux --login-pause --autologin alpine --noclear 2020-11-22 15:19:15 of course te second line is last try. 2020-11-22 15:19:20 tty1::respawn:/sbin/getty 38400 tty1 2020-11-22 15:19:22 arg 2020-11-22 15:19:30 ? 2020-11-22 15:19:31 tty1::respawn:/sbin/getty 38400 tty1 -a 2020-11-22 15:19:43 It posted on paste, which is anoying 2020-11-22 15:19:57 tty1::respawn:/sbin/agetty 38400 tty1 -a 2020-11-22 15:20:09 ikke: getty will not work for autologin 2020-11-22 15:20:42 ah, you fixed it 2020-11-22 15:20:50 iknow, about getty., need alternate 2020-11-22 15:20:53 ^ 2020-11-22 15:20:56 aggetty 2020-11-22 15:20:58 on void happen the same. 2020-11-22 15:21:07 yes, I see 2020-11-22 15:21:51 hechos: it works fine for me on ttyS0 and tty1 2020-11-22 15:22:11 well another shoot in the dark. 2020-11-22 15:22:17 do you another getty on same tty? 2020-11-22 15:22:20 gone 2020-11-22 15:22:58 I told that I should leave this channel, became quite annoying 2020-11-22 15:26:30 and bakc 2020-11-22 15:26:44 mps: dont tell me why, but now is working. just restart computer and get login 2020-11-22 15:26:58 thanks ikke, mps. 2020-11-22 15:28:39 hechos: are you using windows? 2020-11-22 15:30:11 ahh? 2020-11-22 15:30:29 from microsoft you say? 2020-11-22 15:31:07 you don't need to restart machine for changes in userspace, only when upgrading kernel 2020-11-22 15:31:21 mps: tell you dont know why. 2020-11-22 15:31:38 hechos: probably you did not do the SIGHUP like mps suggested 2020-11-22 15:31:49 just work on restart. logout from user and leave on prompt to input username and password. 2020-11-22 15:32:32 what men SIGHUP 2020-11-22 15:32:43 kill process? 2020-11-22 15:32:58 sorry my english is getting better. lol. 2020-11-22 15:33:38 'kill -HUP 1' after changes in inittab to 'take effect' 2020-11-22 15:33:59 hechos: you send a HUP signal to the process 2020-11-22 15:34:13 how 2020-11-22 16:50:14 kinda a noob sounding question but bare with me 2020-11-22 16:50:32 who here runs a DE in alpine ....and do you run a low end DE? 2020-11-22 16:50:34 desktop environment 2020-11-22 16:50:48 spectrwm 2020-11-22 16:50:51 its just alpine is so sharp i keep coming back to thinking about it 2020-11-22 16:50:55 that's technically not a DE 2020-11-22 16:51:10 hmm yeah close enough :) 2020-11-22 16:51:13 ACTION googles 2020-11-22 16:51:38 desktop environments get in the way 2020-11-22 16:53:30 I'm not sure what qualifies as a DE. Does it have to be bundled together ? Because if not, I built a DE for myself, and use it daily 2020-11-22 16:55:42 yeah im starting to get into that boat. i think to me its all about the userland gui tools that you find in the menus 2020-11-22 16:55:50 unified display settings, etc 2020-11-22 16:56:54 i think if i ever get my dream monitor (50+ inches) i will need to go to a tiling window manager. 2020-11-22 16:57:12 does anyone here have a large screen? 2020-11-22 16:57:53 22 inch here 2020-11-22 17:01:10 I have big monitor but put it in garage, it is not much usable 2020-11-22 17:02:48 (1920x1080)x2 resolution 2020-11-22 17:08:11 no big screen, dwm. 2020-11-22 17:10:18 i assume you guys load up the big heavy browsers yeh? chrome and/or firefox and/or one of the other ones 2020-11-22 17:10:34 Fx here 2020-11-22 17:10:36 sorry for the 200 questions. 2020-11-22 17:11:08 a mobile file browser/? 2020-11-22 17:11:56 well, still better than ie6 2020-11-22 17:12:09 ranger vifm mc 2020-11-22 17:12:41 qutebrowser for me. 2020-11-22 17:12:49 min aslo like too. 2020-11-22 17:12:56 also 2020-11-22 17:14:38 ooooh interesting. some using webkit and some lean stuff. neat 2020-11-22 17:15:33 thanks fellas. this kinda helps me a lot. it helps to talk to people about stuff like this aye. cant get any perspective just googling this up and itd take forever to try everything 2020-11-22 17:15:59 ACTION offers everyone a fruit-burst 2020-11-22 17:17:04 min browser is nice. 2020-11-22 17:17:14 but think so is not in repos. 2020-11-22 17:17:26 based on electron.. 2020-11-22 17:17:37 easy to compile anyways. 2020-11-22 17:17:48 npm has a lot of work. 2020-11-22 17:18:12 ohh., no musl no.. glibc only. for min browser. 2020-11-22 17:18:45 guys i know im using suckless 2020-11-22 17:19:20 but what is package have template to make Pictures,Video,Music xdg-xxx??? 2020-11-22 17:20:46 xdg-user-dirs 2020-11-22 17:23:05 thanks Cogitri 2020-11-22 17:23:41 is edge 2020-11-22 17:23:43 right? 2020-11-22 17:24:46 https://pkgs.alpinelinux.org/packages?name=xdg-user*&branch=edge 2020-11-22 17:27:59 Cogitri: right 2020-11-22 17:30:02 but the problem is edge installed unstable sofware. 2020-11-22 17:58:43 guys what is the best way to run xorg as non root? 2020-11-22 19:53:50 Out of curiosity, what is the reasoning behind supporting a seemingly exotic architecture like s390x, and why is MIPS not tested in the CI? 2020-11-22 19:55:24 Newbyte: s390x is sponsored 2020-11-22 19:55:40 and we have some dependency issues for mips that prevents us to run CI for it 2020-11-22 19:56:26 Makes sense. Thank you for the answer 2020-11-22 20:09:37 also as a related issue i think there are issues obtaining mips hardware 2020-11-22 20:11:42 Stallman once used a mips-based laptop 2020-11-22 20:14:03 yes, loongson, but embargoes and protectionism and whatont 2020-11-23 00:18:55 Im trying to get GRAV setup under Alpine (using nginx and php). nginx and php are working fine with test pages but grav will not start. the debug webpage states: 2020-11-23 00:18:58 "Undefined constant 'PHP_SESSION_ACTIVE'" 2020-11-23 00:19:25 I have just tried under my gentoo desktop and it is fine so the grav tarball is fine. is there a package that support this? 2020-11-23 01:58:53 I just installed alpine in a VM, and `apk add vim` gives me ERROR: unsatisfiable constraints 2020-11-23 01:59:10 is there an installation step I failed to do or something? 2020-11-23 01:59:28 we need to know the constraints 2020-11-23 01:59:33 please paste them on a paste service and send here 2020-11-23 02:00:13 I think the problem is I tried to do it in the ISO instead of running setup-alpine. I should have checked the installation instructions first, my mistake 2020-11-23 02:22:19 is there a tutorial on getting to a graphical desktop manager running? 2020-11-23 03:20:59 yes but they're mostly outdated and wrong 2020-11-23 03:21:14 https://docs.alpinelinux.org/user-handbook/0.1a/Working/post-install.html has something 2020-11-23 03:21:48 it's basically setup-xorg-base; apk add alpine-desktop 2020-11-23 03:24:29 ncopa: it doesn't really matter, but what was https://git.alpinelinux.org/alpine-conf/commit/setup-xorg-base.in?id=1f84d5c1dff14036f525b6f6cb9d7467cc66c077 about? 2020-11-23 03:25:18 ah, I got dates wrong. modesetting was only integrated in 2015, not 2014 2020-11-23 03:25:21 ncopa: never mind 2020-11-23 03:28:40 i wonder if the ddxs should be removed from setup-xorg-base entirely 2020-11-23 03:29:23 does any distro still install them by default? 2020-11-23 03:33:19 Hello71, `apk add alpine-desktop`: ERROR: unsatisfiable constraints: alpine-desktop (missing): required by: world[alpine-desktop] 2020-11-23 03:33:49 /community/s/^#// /etc/apk/repositories 2020-11-23 03:34:20 hmm strange, I did this but it got re-commented 2020-11-23 03:35:28 I got the same error 2020-11-23 03:43:27 created https://gitlab.alpinelinux.org/alpine/alpine-conf/-/merge_requests/8 2020-11-23 03:43:31 andrewrk: apk update 2020-11-23 03:43:51 wait 2020-11-23 03:44:06 even docs.ao is already out of date -.- 2020-11-23 03:44:36 https://git.alpinelinux.org/aports/commit/community/alpine-desktop?id=59ed4dcbaef9dec859eb014a003cb7a4c89780b0 2020-11-23 03:44:53 also I just filed https://gitlab.alpinelinux.org/alpine/alpine-conf/-/merge_requests/8 2020-11-23 03:50:11 I'm trying to make a portable linux binary that works in multiple different distros so I just want a bog-standard alpine setup 2020-11-23 03:55:50 since alpine-desktop was removed, there is no standard gui anymore 2020-11-23 03:56:16 but you can install gnome or kde or lxde or xfce 2020-11-23 03:56:33 unless you are on mips or some other platform where alpine does not have rust yet 2020-11-23 04:08:35 I tried xfce but then when I run it I get "cannot open display" 2020-11-23 04:09:01 do I have to manually run X? 2020-11-23 04:19:41 I think you're supposed to put it in your .xinitrc and run startx 2020-11-23 04:19:50 or install a DM 2020-11-23 06:21:24 so I've been using alpine a while now and I still don't really get the "unsatisfiable constraint" error message from apk. sometimes it's just saying "use the edge repository or similar. but I have no idea what this is telling me to do 2020-11-23 06:21:29 https://gist.github.com/LAC-Tech/f3ad13ea05150eb1500f428ed66e2d72 2020-11-23 06:21:57 chiefly, it asking for a specific .so file 2020-11-23 06:25:12 Are you mixing edge and stable? 2020-11-23 06:25:21 seems like you are 2020-11-23 06:26:08 Which is not supported 2020-11-23 06:26:14 ah 2020-11-23 06:26:29 ldc-runtime needs a version if a library that is only in edge 2020-11-23 06:26:59 but dmd is in community 2020-11-23 06:27:08 regardless it looks like I've messed up my package management a bit 2020-11-23 06:29:04 repo pinning should only be used in very specific cases 2020-11-23 06:33:58 LACampbell: what does grep '^@' /etc/apk/world return? 2020-11-23 06:34:17 just grep @ /etc/apk/world 2020-11-23 06:36:40 andrewrk: it is some steps. setup-xorg-base, adduser username video, adduser username audio, adduser username input 2020-11-23 06:37:03 check if dbus and udev are running 2020-11-23 06:38:03 apk add 'prefered window manager', apk add 'prefered X display manager' 2020-11-23 06:38:08 startx 2020-11-23 06:39:15 what's the dbus and udev step? 2020-11-23 06:39:34 dbus is not running 2020-11-23 06:39:40 setup-xorg-base add them 2020-11-23 06:39:47 hmm I did that 2020-11-23 06:40:26 also, does udev is running 2020-11-23 06:40:51 ok so I did apk add mate-desktop, what's the display manager for it? 2020-11-23 06:41:44 not sure, never run mate on alpine. but I usually use 'slim' X dm 2020-11-23 06:41:51 ok I'll try that 2020-11-23 06:41:51 apk add slim 2020-11-23 06:42:36 after running startx I get a red screen that ends with "waiting for x server to shut down (II) server terminated successfully" 2020-11-23 06:42:51 lightdm is also packaged if someone want 'light' dm 2020-11-23 06:43:05 I tried slim 2020-11-23 06:43:18 apk add xf86-video-modesetting 2020-11-23 06:43:49 and, apk add xf86-input-libinput 2020-11-23 06:44:04 oh I found the error in the xorg log file 2020-11-23 06:44:19 AIGLX error: dlopen of /usr/lib/lxorg/modules/dri/swrast_dri.so failed 2020-11-23 06:44:26 ah 2020-11-23 06:44:36 apk add mesa-dri-gallium 2020-11-23 06:44:52 deja vu 2020-11-23 06:45:02 this is in virtualbox btw 2020-11-23 06:45:16 (we need to write these guide this days, ikke ) 2020-11-23 06:46:36 ah, virtualbox. huh never run anything in it, so don't have experience and not sure what steps needed for it to run X 2020-11-23 06:46:37 after apk add mesa-dri-gallium: https://imgur.com/kywCoAR.png 2020-11-23 06:47:09 ikke: that grep doesn't return anything 2020-11-23 06:47:23 I am going to see if I can remove all @edge and @testing things from my install 2020-11-23 06:47:43 I'm trying to test out a portable linux binary that is able to open a window and load the graphics driver. I wanted to see if my solution worked for alpine linux, where the system libc is musl 2020-11-23 06:48:29 andrewrk: are you installed linux-lts or linux-virt kernel? 2020-11-23 06:48:30 andrewrk: what does cat /proc/cmdline return? 2020-11-23 06:49:14 mps, I'm guessing lts 2020-11-23 06:49:35 I did standard x86_64 from here: https://alpinelinux.org/downloads/ 2020-11-23 06:50:01 aha, and there is '/dev/dri/card0'? 2020-11-23 06:50:08 ikke, https://imgur.com/v3pZBcU.png 2020-11-23 06:50:16 nomodeset 2020-11-23 06:50:32 that's the issue 2020-11-23 06:50:49 is it using grub or extlinux? 2020-11-23 06:52:15 not sure how to determine that 2020-11-23 06:52:28 do you have /etc/update-extlinux.conf? 2020-11-23 06:53:02 ikke: you mean grub or syslinux 2020-11-23 06:53:40 ikke, yes, update-extlinux.conf exists 2020-11-23 06:54:08 this is a completely fresh install with default settings from VirtualBox. you could reproduce this fairly easily I think 2020-11-23 07:02:05 andrewrk: remove nomodeset from default_kernel_opts 2020-11-23 07:02:13 and then run update-extlinux 2020-11-23 07:02:40 can you break down that first instruction for me? 2020-11-23 07:06:28 who 'manages' pkgs status on repology.org, linux versions are false there, we already have 5.9.10 2020-11-23 07:27:53 mps: it's updated automatically periodically 2020-11-23 07:29:40 it is wrong about linux pkg 2020-11-23 07:30:13 Yes, I see 2020-11-23 07:30:32 https://pkgs.alpinelinux.org/packages?name=linux-lts&branch=edge 2020-11-23 07:30:37 here I still see 5.4.78 2020-11-23 07:31:13 https://repology.org/repository/alpine_edge 2020-11-23 07:31:45 Sorry, wrong link 2020-11-23 07:32:06 https://repology.org/project/linux-edge/versions 2020-11-23 07:32:08 This seems correct 2020-11-23 07:32:19 ok, it is not important, just noticed it 2020-11-23 07:32:54 It says 5.4.78 for linux-lts, which is correct 2020-11-23 07:33:51 yes, I saw this 2020-11-23 07:35:34 andrewrk: so in /etc/uppdate-extlinux.conf, there should be a setting called default_kernel_opts 2020-11-23 10:39:05 I'm using the glibc compat layer in https://github.com/sgerrand/alpine-pkg-glibc 2020-11-23 10:39:25 however due to some problems glibc programs compiled against C++ could not be ran 2020-11-23 10:39:30 s/ran/run/g 2020-11-23 10:44:18 I'm going to posting logs 2020-11-23 10:44:23 s/posting/post/g 2020-11-23 10:44:52 please use a paste service (https://tpaste.us for example) 2020-11-23 10:45:09 got it, thought using pastebin 2020-11-23 10:45:40 ohhh my simple C++ program works with quirks 2020-11-23 10:46:21 program: https://pastebin.com/2dPD7D6F 2020-11-23 10:46:58 note that we also have https://pkgs.alpinelinux.org/package/edge/main/x86_64/libc6-compat 2020-11-23 10:47:17 output https://tpaste.us/N8Ow 2020-11-23 10:47:34 ikke: got it, but the name is a bit non-intuitive 2020-11-23 10:48:10 ikke: not very willing to add a new signature into the /etc/apk/... 2020-11-23 10:49:26 my program works without warning now 2020-11-23 10:52:01 Error relocating /home/[redacted]/software/pycharm/jbr/bin/../lib/jli/libjli.so: __strdup: symbol not found 2020-11-23 10:52:10 does it not support JVM? 2020-11-23 10:52:40 did a brief search and the answer was mostly negative 2020-11-23 11:00:05 I'm trying to run typora now 2020-11-23 11:00:32 however many internal symbols aren't found 2020-11-23 11:00:48 any solutions? 2020-11-23 11:00:49 https://pastebin.com/6k1F0XFe 2020-11-23 11:01:39 only libc6-compat is installed 2020-11-23 11:05:52 ikke: according to https://github.com/gliderlabs/docker-alpine/issues/149 the libc6-compat package in the official repo is actually more experimental... 2020-11-23 11:06:16 however when I use https://github.com/sgerrand/alpine-pkg-glibc to run typora it segfaults 2020-11-23 11:06:44 https://tpaste.us/x15Q 2020-11-23 11:21:19 I see Ariadne is already helping you in #-devel 2020-11-23 11:28:34 ikke: got it, so is edge an rolling distro? 2020-11-23 11:30:53 tpanmajia: no, edge is development branch 2020-11-23 11:31:19 oh 2020-11-23 11:31:32 how does it different from a rolling one 2020-11-23 11:31:41 but most of use edge as 'rolling' release 2020-11-23 11:31:53 essentialy the same? 2020-11-23 11:31:59 edge is always going on 2020-11-23 11:32:01 but if you want stable then use latest stable 2020-11-23 11:32:21 yes, it goes and likes to break :) 2020-11-23 11:32:34 oh 2020-11-23 11:33:30 may edge stuff be installed under /usr/local instead of directly under user, similar to what freebsd does with ports? 2020-11-23 11:34:03 miskatonic: you can install in chroot or container 2020-11-23 11:34:42 installing under /usr/local will not work, I think 2020-11-23 11:35:29 installing what kind of stuff? 2020-11-23 11:35:58 I read it as 'whole distro' 2020-11-23 11:36:21 packages from edge. especially testing 2020-11-23 11:36:45 miskatonic: it will be useless 2020-11-23 11:36:51 it's likely not 'whole distro' 2020-11-23 11:37:23 roughly speaking install critical stuff would be useless... 2020-11-23 11:37:29 miskatonic: packages should not install things under local 2020-11-23 11:37:35 but ordinary things such as games are fine 2020-11-23 11:37:47 oh packages 2020-11-23 11:37:58 local are meant for non-packaged things 2020-11-23 11:39:17 miskatonic: tpanmajia: it is somewhat explained on wiki.a.o 2020-11-23 16:46:52 Hi, I need to develop C code and roll out APK packages. Looking for a good way to build APKBUILD into a local repository; eg. so I can do "make apk" 2020-11-23 16:48:13 radiomark: abuild -r should be enough 2020-11-23 16:48:15 Have an APKBUILD and do abuild -r 2020-11-23 16:48:45 it uses $(dirname $PWD) as a repo name 2020-11-23 16:49:32 Right, but some of the complicatations are having to update version numbers in the APK, and checksums" 2020-11-23 16:51:52 Ah, sorry I see my question was confuding. In this case "local repository" is a Git repository containing program source code 2020-11-23 16:52:02 *confusing 2020-11-23 16:52:57 So I want to do "make apk" in my program source code Git repository, and end up with an APK, as this would save me time, rather than a two-stage process 2020-11-23 16:54:05 checksums are only used for entries in source= 2020-11-23 16:54:21 if you don't add the files to source, updating checksums should not be required 2020-11-23 16:54:42 and you can dynamically obtain pkgver somewhere 2020-11-23 16:55:22 Are there any good examples of this sort of thing (or even a better workflow that is fast) 2020-11-23 16:55:41 I have historically done this with RPM; a Makefile generates a .tar.gz and passes it into an RPM .spec file 2020-11-23 16:55:54 But all resides in the same Git repository 2020-11-23 16:56:29 I'm not aware of any examples 2020-11-23 16:57:03 radiomark: an alternative would be to use nfpm (a go tool) 2020-11-23 16:57:19 it can generate APKBUILD files as well based on a yaml manifest 2020-11-23 16:58:46 Interesting, looks like fpm explains what it's trying to do 2020-11-23 16:59:15 I think I will need high degree of control of the APKBUILD (we are standardised on Alpine, so the intent is to use it, not lowest common denominator between distributions) 2020-11-23 16:59:25 nod 2020-11-23 16:59:45 It should not be too difficult 2020-11-23 17:00:06 Yes, making APKBUILD is not difficult, it's just trying to make the process smooth 2020-11-23 17:00:07 have a separate directory 2020-11-23 17:00:15 put the APKBUILD in there 2020-11-23 17:00:21 Better to have a process that is simple as possible than to automate a complicated one 2020-11-23 17:00:24 put the source tar in there 2020-11-23 17:00:37 Yeah, something like that 2020-11-23 17:01:28 I'll get started, let's see. If it's horrible, I'll reconsider 2020-11-23 17:02:04 Thanks for the suggestion 2020-11-23 17:14:48 modern distros like arch/alpine/even gentoo use a different model than deb/rpm 2020-11-23 17:14:53 you can't just copy paste your workflow 2020-11-23 17:16:10 How is the model different? 2020-11-23 17:17:00 at least on debian, the packaging information is patched into the source 2020-11-23 17:17:02 I can adapt to a new model if it's different, but APKBUILD is very similar to RPM .spec file unless I miss some fundamentals. I'm finding it faster and less boiler-plate, but conceptuallt similar, no? 2020-11-23 17:17:16 less so with rpm I guess 2020-11-23 17:28:38 Hello 2020-11-23 17:28:53 you guys have any recommendations on code editors? 2020-11-23 17:29:00 Thanks, I am not so familiar with Debian, but I always thought it was separate, like RPM 2020-11-23 17:29:34 I noticed vscode and atom weren't on the package manager not even the community thing 2020-11-23 17:29:59 and I'm too lazy to build vsc from source. I was thinking nvim 2020-11-23 17:32:43 Visual Studio Code via flatpak 2020-11-23 17:33:31 ohhhhh thats a good way yeah thanks 2020-11-23 17:33:54 bro alpine really is minimal 2020-11-23 17:34:13 i had to install libc-dev n shi 2020-11-23 17:37:31 thanks 2020-11-23 17:53:03 I think !13825 ready to be merged, x86 will pass after builder upload 2020-11-23 18:24:26 hello. Is it normal that setup-dns changes are not permanent? 2020-11-23 18:25:11 nameserverman6: if you use dhcp, it will overwrite /etc/resolv.conf 2020-11-23 18:25:21 oh 2020-11-23 18:25:27 any way to stop that? 2020-11-23 18:25:38 yes 2020-11-23 18:25:48 how 2020-11-23 18:25:52 /etc/udhcpc/udhcpc.conf 2020-11-23 18:26:08 🤝 2020-11-23 18:26:11 thanks 2020-11-23 18:26:27 set RESOLVE_CONF=no 2020-11-23 18:26:43 sorry 2020-11-23 18:26:46 RESOLV_CONF=no 2020-11-23 18:26:52 thank you 2020-11-23 18:47:53 weird its still changing them 2020-11-23 20:36:33 Hi, I would like to try installing Alpine. I already have linux on another partition, can I use this + chroot? https://wiki.alpinelinux.org/wiki/Alpine_newbie_install_manual#by_using_from_linux_already_started_to_new_partition In the wiki there are two dead links. 2020-11-23 20:36:59 Does anybody know more about this method? is it documented elsewhere? 2020-11-23 20:42:50 kradi333: what do you want to achieve with it? 2020-11-23 20:46:03 any reason there's no static gtk+3.0 libs? 2020-11-23 20:46:53 any reason there would be? 2020-11-23 20:47:31 To build a static executable that depends on gtk+3.0 2020-11-23 20:48:36 "anyway static linked gui lib is architecturally impossible" 2020-11-23 20:50:11 why? 2020-11-23 20:52:27 i would be surprised if it worked since it tries to dlopen things 2020-11-23 20:53:07 and rely on ld.so ordering the ctors in various libs (those will not be ordered with static linking) 2020-11-23 20:56:13 there seems to be some actions on the gnome gitlab wrt static builds 2020-11-23 20:56:50 https://gitlab.gnome.org/GNOME/gtk/-/issues/2248 2020-11-23 20:58:19 the problem is not just the build system 2020-11-23 21:02:28 @ikke I want to install Alpine, without using a CD or USB or other media 2020-11-23 21:03:38 and you just want a chroot? 2020-11-23 21:03:45 But now I 've found this, I think that is it https://wiki.alpinelinux.org/wiki/Alpine_Linux_in_a_chroot 2020-11-23 21:03:56 yes, that's probably a better guide 2020-11-23 21:04:55 First a chroot, then configure grub (which is already there to boot my other linux), and then I am done. Is it not so? 2020-11-23 21:41:49 Is there a way to list my packages with which repo they came from? "alpine info -a" just lists the names of them all 2020-11-23 21:43:35 apk policy pkgname 2020-11-23 21:44:31 TIL that's what policy means, thanks mps 2020-11-23 21:45:48 LACampbell: main, community, testing (or out of aports if there are such pkgs) 2020-11-23 21:46:58 mps: yeah I messed up my installation and I have packages from all 3 of those, trying to root them out 2020-11-23 22:14:28 Hi all... tried installing Alpine from the x86 2020-11-23 22:14:58 agh 2020-11-23 22:15:39 Hi all... tried installing Alpine from the x86_64 extended image, but the installer wanted to use the whole disk 2020-11-23 22:16:10 I wanted to install to a single partition, just to try it out 2020-11-23 22:18:48 Is there a supported way to do this? My first thought was just to format the partition and dump minirootfs on it 2020-11-23 22:27:31 oldleather: docs.alpinelinux.org 2020-11-23 22:35:39 mps: ah, thanks. Didn't see that linked on the site. Also found a section of the wiki that I didn't see previously, so I have some things to try. 2020-11-23 23:10:32 wait wtf there's a handbook? 2020-11-23 23:10:55 Very basic\ 2020-11-23 23:10:57 I've just been trawling the wiki for months 2020-11-23 23:11:40 still ikke it's great to have that project started 2020-11-23 23:15:11 it's also already outdated 2020-11-23 23:16:46 andrewrk: did you fix it yet? 2020-11-24 01:33:37 just installed latest alpine and then tried to install docker on it. I followed these isntructions several times: 2020-11-24 01:33:42 https://wiki.alpinelinux.org/wiki/Docker 2020-11-24 01:33:53 sudo service docker status: stopped 2020-11-24 01:34:16 even if I restart it... All docker commands result in: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? 2020-11-24 01:37:18 how can I run my own alpine build server? 2020-11-24 01:37:25 so I can build my own packages 2020-11-24 02:01:08 rc-status says docker fialed, but rc-service docker status says stopped 2020-11-24 04:17:38 I deleted all my edge and testing packages, but I still get weird "unsatisfiable contraints" when trying to install something from main 2020-11-24 04:23:59 alright bugger it I am going to reinstall. and pay careful attention between edge, and testing or whatever 2020-11-24 04:24:40 Only that error ? 2020-11-24 04:27:42 https://gist.github.com/LAC-Tech/a9ee0e0b31df0106892d2e3e1279ee91 well those errors 2020-11-24 04:27:54 so yeah I've messed things up downloading stuff from edge willy nilly 2020-11-24 04:29:27 oh sweet alpine has 'doas'. I can kick sudo to the curb 2020-11-24 05:44:27 COVID-1984: what happens if you run dockerd directly? 2020-11-24 07:54:39 I know you will all be eactly as excited about this as I am -- I now have Alpine (well, postmarketOS) running on my Pinebook Pro! 2020-11-24 07:56:18 couple of quick Q's... 2020-11-24 07:56:37 1. how do I remap caps lock to control (in console)? 2020-11-24 07:56:47 2. how should I check the battery? 2020-11-24 07:59:27 3. I have set /etc/profile.d/locale.sh to LANG=en_US.UTF-8 but I'm still getting funky characters when using Terminus (ter-124b)... /etc/conf.d/consolefont mentions charset map files in /usr/share/consoletrans, but there are no such files... any ideas how I can get sleek UTF-8 chars in Terminus? 2020-11-24 08:00:08 also, MartijnBraam is my hero 2020-11-24 08:01:41 rnkn: I mean I think that's fairly exciting. I'm pretty sure terminus can't do CJK 2020-11-24 08:03:31 LACampbell: it's just the progress meter for apk I want in UTF-8 2020-11-24 08:03:48 LACampbell: but thanks for sharing in my excitement 2020-11-24 08:05:40 i thought musl only recognizes "C.UTF-8" 2020-11-24 08:05:59 (beyond the standard C and POSIX locales) 2020-11-24 08:06:52 I'm am sure I have apk's progress bar looking right on my RPi4, but checking that means digging it out and setting it up 2020-11-24 08:07:32 you can try LC_ALL=C.UTF-8 apk add foobar 2020-11-24 08:07:40 on whatever terminal you see the problem 2020-11-24 08:08:39 although it may be the terminal's fault 2020-11-24 08:10:28 nsz: hmm, I still get funky chars with both LC_ALL=C.UTF-8 and LC_ALL=en_US.UTF-8 2020-11-24 08:10:29 rnkn: alpine is not pmOS, you should ask at pmOS channel because they add tweaks and custom configs 2020-11-24 08:10:47 mps: oh of course, thanks 2020-11-24 08:12:07 though would be nice to have ready made remap for caps lock to ctrl and some other keys :) 2020-11-24 08:13:02 mps: my interneting only points to systemd things 2020-11-24 08:13:16 (for remapping capslock) 2020-11-24 08:14:38 I have keymaps for nokia N900 (taken from pmOS) which do someting like this, but never took time to adapt it for my chromebooks 2020-11-24 08:15:07 I'm thinking to patch kernels for remaping keys 2020-11-24 08:15:17 and never did that, also 2020-11-24 08:21:54 mps: a week or so ago I think you mentioned having vlock configured with the power management thing... ac___? 2020-11-24 08:22:39 ah, acpid 2020-11-24 08:23:19 rnkn: that must a months or so, when I mentioned vlock here 2020-11-24 08:24:59 and acpid yes, I have some tweaks with /etc/acpi.map and actions for different things, wifi on/off, phones plugged/unplugged, suspend2ram ... 2020-11-24 08:25:54 lid closed, tablet mode on/off, pen insert/remove 2020-11-24 08:27:24 how do I find the keycode for e.g. fn-esc? 2020-11-24 08:27:46 evtest 2020-11-24 08:29:39 nice 2020-11-24 08:37:37 it would be nice if alpine had a man.alpinelinux.org site like openbsd and void 2020-11-24 08:49:55 n.b. don't echo mem > /sys/power/state on a Pinebook Pro... 2020-11-24 08:50:07 what happens? 2020-11-24 08:52:26 damn okay n.b. don't echo deep > /sys/power/mem_sleep on a PBP either... 2020-11-24 08:52:47 the former puts the PBP to sleep, but upon waking it wakes for a few seconds, then shuts down 2020-11-24 08:52:54 the latter just shuts down the PBP 2020-11-24 09:04:08 rnkn: similar as on my acer R13 chromebook with previous kernels, but with 5.10-rc series it works fine 2020-11-24 09:20:28 rnkn: I'm looking for a real physical mcachine to alpine on. I run it on WSL which... well it involves windows 2020-11-24 09:21:02 Maybe a virtual machine? 2020-11-24 09:21:20 yeah I might look into that 2020-11-24 09:21:26 but I do all my paid dev work on alpine 2020-11-24 09:39:00 LACampbell: my RPi4 works pretty well with alpine 2020-11-24 09:39:40 thanks for the help ppl 2020-11-24 10:19:44 ikke: thanks... that shows a bit more, but not sure of the cause: https://paste.laravel.io/e61cee60-e7d9-4328-bcfe-0319a4e35cbf 2020-11-24 10:21:04 maybe alpine isn't the distro for me if it can't defaultly run docker 2020-11-24 10:21:29 COVID-1984: it surely can 2020-11-24 10:21:40 We run docker extensively on quite some servers with no special setup 2020-11-24 10:21:55 ikke: the errors are in my paste link 2020-11-24 10:22:11 Yes, looking at them 2020-11-24 10:22:14 I'm on the very latest alpine version btw 2020-11-24 10:22:26 COVID-1984: what does uname -r return? 2020-11-24 10:22:39 5.4.77-0-virt 2020-11-24 10:22:50 ok 2020-11-24 10:22:56 running in a VPS 2020-11-24 10:23:08 maybe it is too small of a VPS... hmmm "micro" 2020-11-24 10:24:03 COVID-1984: ls -l /lib/modules 2020-11-24 10:24:45 5.4.79-0-virt & grub-2.04-19-linode.img 2020-11-24 10:24:52 Ok, you need to reboot 2020-11-24 10:24:55 The kernel was upgraded 2020-11-24 10:25:01 ohhhhh 2020-11-24 10:25:19 common practice on alpine to never upgrade the kernel unless you can reboot right after? 2020-11-24 10:25:37 Yes, or make sure you load all the modules you need 2020-11-24 10:25:50 or have the kernel package backed up and extract the modules from there after upgrade 2020-11-24 10:26:08 is there a way to run apk upgrade without upgrading the kernel? 2020-11-24 10:26:15 or just don't do apk upgrade unless you plan on rebooting? 2020-11-24 10:26:22 You can hold the kernel package 2020-11-24 10:26:44 apk add linux-virt=5.4.77-r0 2020-11-24 10:27:14 thanks a lot ikke 2020-11-24 10:27:23 do you do automatic upgrades? 2020-11-24 10:27:28 no 2020-11-24 10:28:01 what's the best way to keep an alpine production server you think? 2020-11-24 10:28:19 use lts, just upgrade & restart every few months? 2020-11-24 10:28:20 not use edge :) 2020-11-24 10:28:42 is that it? 2020-11-24 10:28:49 cool 2020-11-24 10:29:07 Well, stable branches still get new kernels, so it does not solve that problem of course 2020-11-24 10:29:58 how often do you apk upgrade? 2020-11-24 10:31:06 Once a month or so 2020-11-24 11:50:17 just to chime back in for anyone interested, in order to get unicode chars with terminus-font (ter-1*.psf.gz) one needs to `apk add kbd` and uncomment the consoletranslation line in /etc/conf.d/consolefont 2020-11-24 11:52:14 still investigating caps->control 2020-11-24 12:07:18 rnkn: ofc, we do this for long time :) 2020-11-24 12:12:18 mps: well why'd you keep it urself? 2020-11-24 12:14:08 because it is basic and I couldn't imagine that someone who come here don't know these things 2020-11-24 12:16:48 I doubt that we have to tell user 'move mouse 20 points left, then press left button on your mouse' 2020-11-24 12:21:40 What is obvious for one person might not be for the other 2020-11-24 12:25:17 ikke: I think you understand what I mean 2020-11-24 12:28:05 scratch my previous comment about unicode, I just hadn't enabled unicode in rc.conf because ¯\_(ツ)_/¯ 2020-11-24 13:49:08 ive been linuxing for like 20 years and i only just found out about kernel variables and /etc/sysctl.conf 2020-11-24 13:49:57 ACTION pours champagne into his hat 2020-11-24 13:50:02 ACTION puts hat on head 2020-11-24 13:50:34 i'll be here if anyone needs me 2020-11-24 13:51:09 :) 2020-11-24 13:52:02 whats the recomended crond for alpine 2020-11-24 13:52:29 Naib: it have by default busybox crond 2020-11-24 13:53:10 ahh ok, just going through making my containers and I wanted some backup routines to isolate some mysql data 2020-11-24 15:36:02 alright im here. 2020-11-24 15:36:09 r8169 guy. 2020-11-24 15:36:23 yes we know y ou 2020-11-24 15:36:41 sorry guys. and thanks for your time. 2020-11-24 15:36:42 the trouble maker :p 2020-11-24 15:37:00 to repeat here: on linux-edge 'CONFIG_ACPI_REV_OVERRIDE_POSSIBLE=y' is set already 2020-11-24 15:37:50 hechos: could you try with linux-edge 2020-11-24 15:38:07 yeah you right im looking right know /boot/config-lts. 2020-11-24 15:39:11 how can mix latest-stable and just only linux-edge kernel from testing repo. 2020-11-24 15:39:29 clandmeter: i know, im trying to learn every day! 2020-11-24 15:39:50 hechos: you can 'mix' them safely 2020-11-24 15:40:08 well how can due? 2020-11-24 15:40:22 got right know on /etc/apk/repositories 2020-11-24 15:40:27 all on edge. 2020-11-24 15:40:29 just install it and you will have both in boot menu 2020-11-24 15:40:50 well need to add testing. 2020-11-24 15:40:52 no, linux-edge is testing repo 2020-11-24 15:40:59 yes :) 2020-11-24 15:41:00 doas mc 2020-11-24 15:43:51 when we at kernels, does it make sense to have 'CONFIG_DRM_VBOXVIDEO' enabled in virt kernels? 2020-11-24 15:44:21 'KMS driver for the virtual Graphics Card used in Virtual Box virtual machines' 2020-11-24 15:44:57 i dont know if you talk to me, but im running os as real hardware 2020-11-24 15:45:12 I doubt but I don't have any experience with VBOX VMs 2020-11-24 15:45:32 hechos: no to you, but general audience 2020-11-24 15:45:48 okey cool, sorry. 2020-11-24 15:45:56 np :) 2020-11-24 15:46:14 need to restart trouble make go away for couple of seconds... 2020-11-24 15:46:21 lol 2020-11-24 15:50:09 mps: My experience on Arch is that this is troublesome because each new version of vbox requires updated drivers 2020-11-24 15:51:29 ikke: it is now in kernels 2020-11-24 15:51:31 yes 2020-11-24 15:52:13 I already enabled it for 5.9 linux-edge 2020-11-24 15:52:36 but not sure is it useful in linux-edge-virt kernels 2020-11-24 15:52:39 What I'm trying to say is that newer versions of vbox most likely require newer kernel modules than the ones provided by linux 2020-11-24 15:52:53 you need modules for guests as well 2020-11-24 15:53:04 vboxvideo is for guests 2020-11-24 15:53:15 yes 2020-11-24 15:53:24 I mean for guests 2020-11-24 15:53:52 to rephrase: is it useful for guest kernels 2020-11-24 15:54:11 yes 2020-11-24 15:54:20 vboxvideo is used by guest kernels 2020-11-24 15:54:22 aha 2020-11-24 15:54:35 You don't need the vbox video driver on the host 2020-11-24 15:55:11 On my linux guest, I have vboxsf, vboxvideo and vboxguest loaded 2020-11-24 15:55:12 ok, but what about virt kernels which are (I think) intended for virtual servers 2020-11-24 15:55:25 virtual servers are guests, right? 2020-11-24 15:55:34 yes 2020-11-24 15:55:45 So I have a virtual server running on virtualbox 2020-11-24 15:55:54 and I need those 3 modules I mentioned earlier 2020-11-24 15:56:12 but you can run 'normal' kernels in virtual machines 2020-11-24 15:56:17 sure 2020-11-24 15:56:41 But why do you have a -virt image? 2020-11-24 15:56:50 and -virt kernels 2020-11-24 15:56:56 hmm, maybe left it enabled to escape one more bug/issue report :) 2020-11-24 15:57:37 ikke: to make four combinations of installs :) 2020-11-24 15:57:45 to have* 2020-11-24 15:57:57 so if it is one kernel where it makes sense to enable vboxvideo, it would be -virt 2020-11-24 15:58:58 nod* (though I don't understand this word but I saw you use it often) 2020-11-24 15:59:17 To shake your head in agreement 2020-11-24 15:59:21 nodding 2020-11-24 15:59:32 aha 2020-11-24 15:59:35 no happen the same with last kernel 2020-11-24 15:59:48 insmod /lib/modules/5.9.10-1-edge/kernel/drivers/net/phy/realtek.ko 2020-11-24 15:59:51 insmod /lib/modules/5.9.10-1-edge/kernel/drivers/net/ethernet/realtek/r8169.ko 2020-11-24 16:00:19 okey so how can make script to do this at boot? 2020-11-24 16:00:31 hechos: realtek devices are 'bad things' 2020-11-24 16:00:50 mps: i know., but this asus mobo as this piece of s... 2020-11-24 16:00:53 hechos: read /etc/local.d/README 2020-11-24 16:02:08 I have also one realtek ethernet on usb dongle which when unplugged and plugged again kernel doesn't see even when unloading/loading module 2020-11-24 16:02:46 mps: i know im think the same as you, realtek sucks. 2020-11-24 16:03:02 but is what i have here on this xeon 2020-11-24 16:03:05 server 2020-11-24 16:03:13 but it works after reboot, or after resume from suspend2ram 2020-11-24 16:03:22 crazy. 2020-11-24 16:03:58 yes, synonym for some device makers and realtek is one of them 2020-11-24 16:04:21 but dont know why and can figure out how this things work fine on void for example or freebsd. 2020-11-24 16:05:49 don't know and I don't waste time on these OSes 2020-11-24 16:07:43 so .start can be a POSIX sheel script right? 2020-11-24 16:08:14 right 2020-11-24 16:09:11 well got to learn POSIX 2020-11-24 16:09:30 always using bash make a bad depedencies. 2020-11-24 16:10:23 it dont know but dyalanaraps from kisslinux as a nice book about posix right? 2020-11-24 16:11:10 no is pure bash. 2020-11-24 16:19:29 don't worry, also I started to learn posix shell when switched to alpine, and still didn't moved past 'lezzione zero' 2020-11-24 16:19:57 yeah is clomplex 2020-11-24 16:27:16 imo its the realtek drivers that are shit, the hardware is just meh 2020-11-24 16:28:33 not that this matters to most, in the end, the shit shines through 2020-11-24 16:33:04 lucky me I never have problem with any realtek so and keep in mind that those are only chips and much more depends from implementation them in end product what can rly suck 2020-11-24 16:38:02 luck or not comparing the performance to another nic in the same system? idk 2020-11-24 16:40:23 I didnt say anythign about performance, realtek is cheap and working for me fine but if I expect high traffic and rock solid stability then for sure would take something on intel chip... 2020-11-24 16:41:52 shit software make whole system unstable 2020-11-24 16:42:09 think so, you guys are the gurus here 2020-11-24 16:47:12 hechos: did you remove from features things which you added? some of them were network related and maybe load them in different order causing problem 2020-11-24 16:48:52 yes 2020-11-24 16:51:56 hechos: and ran mkinitfs? 2020-11-24 16:52:00 eh, quit 2020-11-24 16:52:12 probably back in a hot minute 2020-11-24 16:58:17 ACTION uploaded an image: 20201124_115600_2256754064946257375.jpg (103KiB) < https://matrix.org/_matrix/media/r0/download/kde.org/5ddd5f523e4533c0a67990fe6dc00a357ab203e0/20201124_115600_2256754064946257375.jpg > 2020-11-24 16:58:17 How should I fix this? 2020-11-24 16:59:15 cat /etc/resolv.conf 2020-11-24 16:59:19 codebam-matrix: dns issue? 2020-11-24 17:00:05 ipv6? 2020-11-24 17:01:15 1.1.1.1, 1.0.0.1, 8.8.8.8 2020-11-24 17:01:34 I think someone hacked me 2020-11-24 17:01:39 ACTION uploaded an image: 20201124_120118_5847310048911476537.jpg (37KiB) < https://matrix.org/_matrix/media/r0/download/kde.org/e6e9271681db068ab15ff387f20b6bc10ccc7dd5/20201124_120118_5847310048911476537.jpg > 2020-11-24 17:01:46 ACTION uploaded an image: IMG_20201124_115828.jpg (80KiB) < https://matrix.org/_matrix/media/r0/download/kde.org/aed6f3f94221f72c8fca1aef0055889a9802c820/IMG_20201124_115828.jpg > 2020-11-24 17:01:58 So dumbass you may get an OS update 2020-11-24 17:02:00 ACTION uploaded an image: IMG_20201124_115814.jpg (38KiB) < https://matrix.org/_matrix/media/r0/download/kde.org/074de7863eee183fc7c9f9f9a43a13215977c734/IMG_20201124_115814.jpg > 2020-11-24 17:02:15 Please help me 2020-11-24 17:02:31 I swear I didn't do anything to this 2020-11-24 17:02:57 I installed alpine yesterday and when I started installing packages to make my system fully secure using my yubikeys this happened 2020-11-24 17:03:36 This is all logged on Freenode and Matrix bridges 2020-11-24 17:06:17 if you are sure your network working fine then could try with different mirror 2020-11-24 17:59:35 Hello71, no, I switched to testing using void linux. but I would be interested getting alpine running too if you were willing to hold my hand 2020-11-24 18:05:28 andrewrk: iirc you want to run alpine in VM/qemu? 2020-11-24 18:05:45 yeah in virtualbox 2020-11-24 18:05:57 ideally I'd run it on real hardware but I'm doing this for N distros so that's less of an option :) 2020-11-24 18:06:13 huh, I don't have experience with Vbox 2020-11-24 18:06:36 for qemu I can help 2020-11-24 18:07:02 can I come back here and take you up on that some other time? I'm unblocked on the thing I wanted to test, but at some point I am going to want to test alpine too- 2020-11-24 18:07:36 sure 2020-11-24 18:08:21 just one question, you want gui in VM? 2020-11-24 18:09:09 what was the name of package which people have to install manualy to have gui in vbox? mesa-dri-gallium? 2020-11-24 18:09:50 MY-R: probably 2020-11-24 18:09:52 I think so, at least on qemu with qxl it was necessary 2020-11-24 18:10:29 andrewrk: please note that name :P 2020-11-24 18:10:34 qxl is not necessary but it is best option to use for guis in qemu 2020-11-24 18:11:27 mps, yes the thing I am testing is a portable linux binary that can open a window and do graphics (e.g. for games) using the vulkan graphics driver 2020-11-24 18:12:32 andrewrk: ok, noted, I will add steps to setup gui in qemu 2020-11-24 18:13:46 (two years ago I made windows 10 running in qemu with qxl and drivers for win from redhat) 2020-11-24 18:14:28 only zig 0.6.0 in alpine so far 2020-11-24 18:15:15 yZ5vlALg86lP: yes, we decided to upgrade after 3.13 alpine release 2020-11-24 18:17:37 ah, yeah i guess llvm11 is a challenge 2020-11-24 18:18:06 I made from rpi4 my main router, Im wondering how upgrade will look 2020-11-24 18:18:39 yZ5vlALg86lP: yes, llvm11 2020-11-24 18:18:52 makes sense 2020-11-24 18:18:58 when is 3.13? 2020-11-24 18:19:11 should be soon, no? 2020-11-24 18:19:20 about one month 2020-11-24 18:19:24 hmmm 2020-11-24 18:19:50 Still some blockers though 2020-11-24 18:20:51 will ifupdown-ng replace busybox one? 2020-11-24 18:21:07 no on next release 2020-11-24 18:21:49 3.14 or 3.13.1? :D 2020-11-24 18:22:09 3.13.0 2020-11-24 18:22:15 next stable 2020-11-24 18:22:21 it's already in edge 2020-11-24 18:22:31 oh so yes, will be repalced 2020-11-24 18:22:42 no 2020-11-24 18:22:59 included? :P 2020-11-24 18:23:11 (I dislike pkgs with -ng in name) 2020-11-24 18:23:25 MY-R: it will be included, ofc 2020-11-24 18:23:31 :) 2020-11-24 18:23:41 everyone could install it 2020-11-24 18:23:46 -ng stands for "not good" ? 2020-11-24 18:23:58 or Next Generation! 2020-11-24 18:24:18 artok: ah, good, never thought of that :) 2020-11-24 18:24:29 but for most 'yes' 2020-11-24 18:24:43 -not-"Getting installed by mps" 2020-11-24 18:25:00 its "no go" 2020-11-24 18:25:05 aversion to syslog-ng? :P 2020-11-24 18:25:22 wsinatra: :) 2020-11-24 18:26:04 I installed ifupdown-ng for tests 2020-11-24 18:26:54 though I upgraded old ifupdown for next stable alpine 2020-11-24 18:27:53 we have to preserve 'safe' upgrade path for our users 2020-11-24 18:28:19 true 2020-11-24 18:30:55 Hey, has anyone tried installing guix on alpine? Doesn't look like there's an official package. 2020-11-24 18:31:48 not I, but I'd be interested in seeing it ported 2020-11-24 18:33:03 Well, I found some instructions on installing it manually, so I'll see how that goes. 2020-11-24 18:33:49 (is it time to fork alpine, I wonder) 2020-11-24 18:34:34 mps: isn't that the knee jerk reaction 90% of people come to when their glibc thing doesn't work? 2020-11-24 18:34:56 I just like having toys to play with, and don't want to leave the alpine ecosystem to play with them 2020-11-24 18:36:30 I wasn't thinking of a fork, I heard that guix can operate in addition to built in package managers 2020-11-24 18:37:21 wsinatra: I mean opposite, make alpine small and simple 2020-11-24 18:38:32 mps: too many things getting added for your likes? It's definitely a lot larger than when I started using it a few years ago 2020-11-24 18:39:19 is easy, remove "community" from apk/repositories :D 2020-11-24 18:39:53 MY-R: sounds as solution :) 2020-11-24 18:40:00 heh 2020-11-24 18:42:36 one question: how do I install groupadd? guix can't find it. 2020-11-24 18:45:35 apk add shadow 2020-11-24 18:46:16 I tried that, but it says it's missing. 2020-11-24 18:46:30 "required by: world(shadow)" 2020-11-24 18:46:43 does that mean I need to add a repository? 2020-11-24 18:47:37 yes, community 2020-11-24 18:49:01 :P 2020-11-24 18:49:05 ACTION semi-bricked alpine machine 2020-11-24 18:49:15 I think I know how to recover it 2020-11-24 18:49:17 I certainly hope so 2020-11-24 18:49:32 Thanks a bunch, that solved a lot of problems I've been having. 2020-11-24 19:03:10 How am I actually supposed to be using LBU? 2020-11-24 19:03:33 Do I set it up right away after installing on a flash drive? 2020-11-24 19:03:49 Also what does "data" mean in the installer? 2020-11-24 19:03:54 When selecting disks 2020-11-24 19:13:26 I installed alpine as sys then ran setup-alpine in the booted system and used my USB as the lbu 2020-11-24 19:13:38 Now how do I use this properly? 2020-11-24 19:13:55 I mounted it to /media/usb and used the default cache 2020-11-24 19:14:13 It got a bunch of packages and then I ran lbu commit to commit it 2020-11-24 19:14:44 Now when I want to restore the backup do I just reinsert the USB and run lbu revert? 2020-11-24 19:18:51 ACTION uploaded an image: 20201124_141838_7241517351900724717.jpg (145KiB) < https://matrix.org/_matrix/media/r0/download/kde.org/52215654fb45d1dd3d7ac65953dd68f676a05912/20201124_141838_7241517351900724717.jpg > 2020-11-24 19:18:55 Why am I getting bad signatures? 2020-11-24 19:24:39 ACTION uploaded an image: 20201124_142427_8206518342105880548.jpg (150KiB) < https://matrix.org/_matrix/media/r0/download/kde.org/a1ba780537bfb8bbd3872181d85dcc3dd1884027/20201124_142427_8206518342105880548.jpg > 2020-11-24 19:32:34 Never mind they were self signed lbu packages from my last install 2020-11-24 19:32:38 Sorry I'm trying to figure this out 2020-11-24 19:51:28 ACTION uploaded an image: Screenshot_20201124-145107.png (230KiB) < https://matrix.org/_matrix/media/r0/download/kde.org/8bb217457d45454cd198fcb19cd9289ea2195c91/Screenshot_20201124-145107.png > 2020-11-24 19:51:31 https://developers.yubico.com/yubico-pam/Authentication_Using_Challenge-Response.html 2020-11-24 19:52:00 Where would the proper PAM files be on Alpine, and how do I run `pam-auth-update`? 2020-11-24 20:09:50 I'm adding lines to `/etc/pam.d/base-auth` but it's not working 2020-11-24 20:15:33 You need to install shadow 2020-11-24 20:15:39 the default login does not support pam 2020-11-24 20:20:09 oh okay. installing shadow thank you 2020-11-24 20:21:06 awesome that worked, thanks! 2020-11-24 20:22:54 cool 2020-11-24 20:25:46 ACTION sometimes just feels like a parrot, just repeating what others have found :P 2020-11-24 20:26:45 https://xkcd.com/903/ 2020-11-24 20:36:02 Does doas use pam? 2020-11-24 20:36:09 or do I need sudo for that 2020-11-24 20:36:25 I don't think it uses pam 2020-11-24 20:36:31 i'm fairly certain it doesn't 2020-11-24 20:36:43 so yes, you'd need sudo 2020-11-24 20:37:14 It doesn't seem to read from base-auth 2020-11-24 20:37:15 Okay I'll use sudo 2020-11-24 20:37:52 doas does not depend on libpam 2020-11-24 20:38:21 On the gentoo wiki it says it's a USE flag so I guess we just build it without 2020-11-24 20:38:31 that's fine sudo will work 2020-11-24 20:38:56 yes 2020-11-24 20:39:07 as most people don't want pam 2020-11-24 20:39:19 and doas is seen as a no-frills sudo replacement 2020-11-24 20:39:32 Makes sense 2020-11-24 20:39:46 "--without-pam" 2020-11-24 20:39:49 yup 2020-11-24 20:39:56 I like pam. How else could I auth with a yubikey 2020-11-24 20:40:14 doas comes to Alpine? 2020-11-24 20:40:38 it's already there 2020-11-24 20:40:39 sudo still isn't using base-auth 2020-11-24 20:40:49 note that there are 2 projects called doas 2020-11-24 20:41:06 this is the openbsd version ported to linux 2020-11-24 20:41:21 https://www.openwall.com/lists/oss-security/2020/11/24/3 2020-11-24 20:42:18 According to the Arch Wiki it reads from /etc/pam.d/su but base-auth is in there and it's still not working 2020-11-24 20:42:46 base-auth is where I have the lines for yubikey u2f authentication (which works for getty auth) 2020-11-24 20:43:17 I don't know PAM config, so I cannot help you there 2020-11-24 20:43:32 I guess I shouldn't use sudo anyways. I'll just remove it and use su when I need to do updates 2020-11-24 20:45:35 sorry why aren't you using sudo 2020-11-24 20:58:38 potential security vulnerabilities, plus I can't get it to work with pam 2020-11-24 20:58:56 so I'll just use root in getty for doing updates and system maintenance 2020-11-24 20:59:32 what kind of security vulns do you mean compared to using root as ssh login? :P 2020-11-24 20:59:58 sorry, what security vulnerabilities 2020-11-24 21:00:10 if you know something about sudo that I don't, I'd love to hear about it 2020-11-24 21:00:38 especially compared to having a root password set 2020-11-24 21:03:23 c705 knows more about security than theo de raadt will learn in his whole life 2020-11-24 21:04:18 I don't know about that. I'm a hobbyist at best 2020-11-24 21:04:28 I would _love_ to hear about this sudo vulnerability though 2020-11-24 21:04:28 but I know 2020-11-24 21:04:46 security is illusion, as is life 2020-11-24 21:05:02 that's an overly simplistic way of looking at it 2020-11-24 21:05:27 security comes mostly from process, policy, and the behavior of your employees. not some magical piece of software 2020-11-24 21:05:45 mostly policy though 2020-11-24 21:05:45 everything is insecure, but some things are more insecure than others 2020-11-24 21:06:08 it's relative. insecure compared to what? what's the threat model? 2020-11-24 21:06:35 the recent CVE-2019-14287 requires a very unusual configuration 2020-11-24 21:07:00 the pwfeedback one is more interesting but relatively hard to exploit with modern mitigations 2020-11-24 21:08:12 CVE-2020-27780 looks interesting as well, but it's already patched out 2020-11-24 21:09:55 codebam-matrix: 'doas' is really nice 2020-11-24 21:10:07 (instead of sudo). it's another openBSD port, like tmux 2020-11-24 21:14:37 can someone help me fix sudo pam? 2020-11-24 21:14:58 it doesn't seem to be using /etc/pam.d/su 2020-11-24 21:21:06 uh 2020-11-24 21:21:31 codebam-matrix: why would it use that 2020-11-24 21:21:42 I'm assuming you read the well documented PAm docs 2020-11-24 21:22:16 I'm not sure. I was reading the arch wiki sudo page 2020-11-24 21:22:19 It said to modify that 2020-11-24 21:23:00 Where are these? 2020-11-24 21:25:05 do I need sssd? 2020-11-24 21:27:12 On boot it does DHCP for all my networks and it takes like a whole minute. Is there some way I can do that in the background so it doesn't delay bootup? 2020-11-24 21:50:57 you can configure the ip statically? 2020-11-24 21:51:18 codebam-matrix: your citations looks really retard over here, just a note 2020-11-24 21:51:26 it looks like this Where are these? 2020-11-24 21:51:44 better if it looked like this instead c705: Where are these? 2020-11-24 21:51:50 just my €0.05... 2020-11-24 22:08:23 I can change it 2020-11-24 22:11:22 please do 2020-11-24 22:28:34 codebam: quick google search would have sufficed 2020-11-24 22:28:34 http://www.linux-pam.org/Linux-PAM-html/Linux-PAM_SAG.html 2020-11-24 23:25:02 but how does this work for sudo? 2020-11-24 23:25:30 does anyone know what packages I need to get U2F/FIDO working in Firefox? 2020-11-24 23:25:50 I added the udev rules from the yubico arch linux package but it's not working 2020-11-24 23:36:06 are you even attempting to read their documentation. I followed it and have no problems 2020-11-24 23:54:16 c705: I just don't see where it talks about sudo? 2020-11-24 23:59:59 how do I restore an lbu backup? 2020-11-25 00:06:08 hey everyone, I was looking into alpine linux, and was wondering a little bit about how apk handles packages. does it distribute binaries, or is it a source based distrobution? I was checking the about page, and it's a little vaguely worded 2020-11-25 00:18:18 yxprogramming: on https://alpinelinux.org/ look at top right corner and click link with "packages", the only missing packages (the one which need build by self) are those with weird license which not allow to redistribute in binary form 2020-11-25 00:27:34 I guess I was more curious about if it was possible to build packages from source while still using apk to manage the system 2020-11-25 00:27:43 but it seems like apk distributes binaries 2020-11-25 00:30:58 Is this correct? 2020-11-25 00:46:23 yxprogramming: is possible to build by self and have own local/remote repository 2020-11-25 00:47:46 so it would be possible to use apk to build my system from source? I use a pretty old pc so efficiency is a big deal for me, hence wanting source pacakges 2020-11-25 00:49:33 it is possible but doubt if worth effort 2020-11-25 00:50:18 okay, thank you 2020-11-25 00:50:26 Alpine by default is pretty snappy 2020-11-25 00:50:35 aaand quit, bleh 2020-11-25 03:11:38 BugHunter1000: welcome 2020-11-25 03:13:22 c705 Hey there 2020-11-25 03:13:26 I got curious. 2020-11-25 03:14:09 i hope I didn't scare you off earlier 2020-11-25 03:14:37 i always feel that way chatting to people too haha 2020-11-25 03:17:09 i have so many questions i had never even heard of this distro but you're sponsored by gigabyte and linode like what 2020-11-25 03:17:56 we are? 2020-11-25 03:18:35 https://alpinelinux.org/sponsors/ 2020-11-25 03:19:02 Well i'll be arsed 2020-11-25 03:21:26 is there a special case i'm hitting doing setup-xorg-base xfce4 where it says something about world[xfce4] ? 2020-11-25 03:21:53 like i go to install it, but it complains the thing im installing is a required dep of world[the thing im installing] 2020-11-25 03:22:13 "unsatisfiable constraints" 2020-11-25 03:22:18 BugHunter1000: did you setup-apkrepos 2020-11-25 03:23:00 i ran the base setup-alpine script which i think runs that, but i just did it explicity and same issue 2020-11-25 03:23:34 https://wiki.alpinelinux.org/wiki/Xfce_Setup 2020-11-25 03:23:38 ^ is that up to date? 2020-11-25 03:23:43 i doubt it 2020-11-25 03:23:50 i told you, the documentation is whack 2020-11-25 03:24:06 " Warning: This wiki entry was tested on Alpine 3.6.2. It might not work on other versions as X-org support is not officially supported (only community/testing repositories)." 2020-11-25 03:24:14 so, definetely not 2020-11-25 03:24:33 are you on a vm? 2020-11-25 03:27:30 yeah and i saw i need the guest additions for that 2020-11-25 03:27:52 but they say it only matters for starting not actually fetching xfce 2020-11-25 03:27:58 BugHunter1000: To be exact, that message simply means [the thing you're installing] wasn't found in the repo. There are a few reasons for that, like if you never did an `apk update` on a fresh install or the pacakge is in a repo you don't have enabled. 2020-11-25 03:28:03 i cant fetch is the issue atm 2020-11-25 03:28:43 guest additions? 2020-11-25 03:28:55 reboot the vm, start from scratch 2020-11-25 03:29:18 did that, same issue twice now 2020-11-25 03:29:19 are you trying to install it, or use it as a ramdisk. alpine supports both 2020-11-25 03:29:27 i want to actually install it 2020-11-25 03:29:32 https://wiki.alpinelinux.org/wiki/Installation 2020-11-25 03:29:43 https://wiki.alpinelinux.org/wiki/Alpine_newbie_install_manual 2020-11-25 03:29:51 yeah those are where i started 2020-11-25 03:30:00 its just the xorg stuff that i think is outdated in the docs 2020-11-25 03:30:12 probably 2020-11-25 03:30:15 you want xfce? 2020-11-25 03:30:38 for now 2020-11-25 03:30:42 is the community repo safe? 2020-11-25 03:30:44 i was trying to avoid 2020-11-25 03:30:55 yes 2020-11-25 03:31:21 you need to add the communiuty repo, i forgot about that 2020-11-25 03:31:28 then apk update 2020-11-25 03:31:34 then apk add xfce4 2020-11-25 03:44:15 hey sorry got pulled away 2020-11-25 03:44:27 how do we moderate Community in Alpine? 2020-11-25 03:44:37 is it like the Arch AUR where anything goes? 2020-11-25 03:45:58 also: is there a desktop env that is more standard like gnome or kde that doesn't need the community repo opened? 2020-11-25 03:49:22 it's not exactly like the aur, that's more like /testing. community is accepted packages from testing supported by teh community 2020-11-25 03:50:46 xorg is in main, you could just use that 2020-11-25 04:42:21 thats a little campy for a daily driver 2020-11-25 04:42:40 i gotta say it's a little spooky that the repos are using http (vs https) 2020-11-25 04:53:56 BugHunter1000: why 2020-11-25 04:55:10 i just think we're to the point in network tech that encrypting all comms is a good and feasible idea 2020-11-25 04:55:23 sniffing and mitm'ing data is very easy now 2020-11-25 04:55:35 in fact if it 2020-11-25 04:55:55 's not encrypted you can get back a payload you didn't ask for - do we do any validation that the packages we pick up are kosher? 2020-11-25 04:56:26 BugHunter1000: yes 2020-11-25 04:56:46 the packages are signed by the repo key which apk checks 2020-11-25 04:56:56 #2, there are https repos avaliable 2020-11-25 04:58:01 yeah the whole http vs https thing isn't really relevent if you're checking the files you dl 2020-11-25 04:58:38 it's not like you're sending sensitive data across the link that you can't verify 2020-11-25 05:00:37 thats good, but i'd still rather pick an https in the name of fingerprinting 2020-11-25 05:00:51 we dont currently seem to configure with any https options, can i just stick an s in there? 2020-11-25 05:03:15 BugHunter1000: fingerprinting? 2020-11-25 05:04:06 if you're using any of the main repos, you'll be fingerprinted off the fact you're using those servers 2020-11-25 05:04:20 not to mention if you're using a web browser of any sort 2020-11-25 05:04:42 don't worry though, because nobody cares 2020-11-25 05:06:46 i'm rebooting, i'll be back 2020-11-25 05:28:05 i feel like you give up more info broadcasting in the clear "HEY I WANT ALPINE STUFF" than you do "HEY I WANT ALPINE STUFF" 2020-11-25 05:28:12 but that's pretty much just pedantic opsec 2020-11-25 05:28:18 you're probably right 2020-11-25 05:30:22 i know i'm right 2020-11-25 05:30:36 for what it's worth, i use an https repository 2020-11-25 05:30:44 lol! 2020-11-25 05:31:06 did you just stick an s onto the one the configurator gave you or is it secret arcane knowledge for wizards 2020-11-25 05:31:11 i mean, it costs me nothing to use it, why wouldn't I? 2020-11-25 05:31:24 BugHunter1000: mirrors.alpinelinux.org 2020-11-25 06:44:40 It appears "cvechecker" does not work. I installed Firefox, your repos have it at v81 however on doing the following, despite this: https://www.mozilla.org/en-US/security/advisories/mfsa2020-45/ no vulns are detected: 2020-11-25 06:45:09 find / -type f -perm -o+x > /tmp/cvecheck.tmp 2020-11-25 06:45:25 cat /proc/version >> /tmp/cvecheck.tmp 2020-11-25 06:45:38 pullcves pull 2020-11-25 06:45:50 cvechecker -b /tmp/cvecheck.tmp 2020-11-25 06:45:54 ^ no output 2020-11-25 06:49:21 BugHunter1000: I guess you should ask upstream 2020-11-25 06:49:24 https://github.com/sjvermeu/cvechecker 2020-11-25 07:10:37 Is there a way to inform apk that I've 'make install'ed a specific version of a package? 2020-11-25 07:11:11 I'm trying to recreate a build environment, and for that I need ocaml 4.2, which is older than the oldest official package. 2020-11-25 07:11:35 I downloaded the source and built it. 2020-11-25 07:11:44 QDX45: then it's not a package 2020-11-25 07:11:57 Yeah 2020-11-25 07:12:10 But it's the version that I need 2020-11-25 07:12:33 And when I try to install other packages that depend on it, apk tries to install a newer version of it 2020-11-25 07:12:53 How do I tell apk that I've already got that installed? 2020-11-25 07:12:59 it's ocaml. 2020-11-25 07:13:19 If I try to install opam, apk will try to install ocaml 4.12 2020-11-25 07:14:07 QDX45: I don't think you can trick apk into beleiving that something you have built and installed should be treated like a standard apk package :) 2020-11-25 07:14:13 If ocaml 4.2 existed in the apk repos, I would have pinned it 2020-11-25 07:14:17 but maybe I am wrong 2020-11-25 07:14:34 Is there a way to create a local apk package, maybe? 2020-11-25 07:14:49 I just need apk to see the package and version number and 'move along' 2020-11-25 07:16:19 https://wiki.alpinelinux.org/wiki/Creating_an_Alpine_package 2020-11-25 07:16:24 this should be current I guess 2020-11-25 07:17:16 That's incredibly complicated. Is there any way to fudge the local apk database? 2020-11-25 07:17:30 The proper way: create an APKBUILD for 4.2, build, install and pin it 2020-11-25 07:17:36 I don't mind doing it manually and breaking stuff. 2020-11-25 07:18:16 the quick and dirty way: create a dummy package with one file somewhere called ocaml-4.2, install and pin. 2020-11-25 07:18:30 Good point. :) I'll try that. 2020-11-25 07:41:20 ikke done, good luck, i love the idea of testable operating systems 2020-11-25 07:42:03 i would say that having something to automate the find / cat commands would be good in the future for it 2020-11-25 07:48:12 So the grub install scripts are a little bugged at least for my system, it always enters nomodeset and duplicates some options like ro and the modules array 2020-11-25 09:33:59 alacritty was upgraded to 0.6.0 wayland users don't need to set WINIT_UNIX_BACKEND=x11 anymore 2020-11-25 09:34:20 close all existing alacritty instances though otherwise "fun" will follow 2020-11-25 12:34:30 I love alpine. I spend all day working with software I hate, but at least I get to run it on an OS that is simple, gets out of my way and just works 2020-11-25 12:44:30 True, some of the features are things that I very much desired in other distros primarily virtual packages, though there are minor regressions I very much love and agree with apk 2020-11-25 15:05:06 When am I supposed to use setup-lbu? Do I do it right after booting the first time? 2020-11-25 15:05:46 codebam: Normally it's already setup during the installation 2020-11-25 15:13:40 So before rebooting? 2020-11-25 15:14:29 If I set it up in the Live ISO wouldn't it not work for the installed system? 2020-11-25 15:14:47 Is it correct to use it right after booting for the first time? 2020-11-25 15:15:11 In most cases, you don't manually run setup-lbu 2020-11-25 15:30:16 I want to keep alpine on my laptop drive though? 2020-11-25 15:30:30 Could you explain what the typical usage would be? 2020-11-25 15:30:44 Do you mean I should only use lbu for diskless installations? 2020-11-25 15:31:15 What should I use my hard drive for? 2020-11-25 15:31:37 Yes, LBU is meant for diskless or sometimes hybrid) setups 2020-11-25 15:32:02 If I select data what does that do. Ideally I want a system that's verified on each boot with the latest kernel 2020-11-25 15:32:30 The system boots from the boot media (live image), and lbu is used to restore a committed state 2020-11-25 15:32:36 If I do that I can't use the latest kernel though? 2020-11-25 15:32:57 codebam: correct, the kernel is the one that is stored on the boot media 2020-11-25 15:33:32 Okay well that's fine 2020-11-25 15:33:38 I might do it like that 2020-11-25 15:33:38 With a data setup, the disks are used for /var 2020-11-25 15:33:51 so everything in /var is persisted across reboots 2020-11-25 15:34:05 One more question, when I set this up how can I keep a backup of my LBU? 2020-11-25 15:34:27 It's a single file that is stored on the boot media 2020-11-25 15:34:30 I guess I could dd it the first time then rsync it 2020-11-25 15:34:35 so if you back that file up, you can restore it 2020-11-25 15:34:41 Oh true actually 2020-11-25 15:34:47 Okay I'll just do that 2020-11-25 15:34:53 Thank you 2020-11-25 15:35:02 What does setting up a disk as "data" do? 2020-11-25 15:35:55 it formats it and mounts it on /var 2020-11-25 15:38:02 I was reading the wiki, so when I set it up as data with lbu do I just boot up using the live iso and it should mount /var? 2020-11-25 15:38:44 yes 2020-11-25 15:39:31 Okay awesome, that's what I'll do then 2020-11-25 15:39:33 Thank you! 2020-11-25 15:43:24 ikke sorry for bothering you so much, but I set it up as data and put my configs and cache on /media/usb, then ran lbu commit, but when I rebooted nothing persisted? 2020-11-25 15:44:36 did you verify that those files were actually tracked (with lbu status)? 2020-11-25 15:47:33 No but I think it worked this time 2020-11-25 15:47:47 Last time it gave an error but this time it installed a bunch of packages 2020-11-25 15:47:59 Never mind 2020-11-25 15:48:16 I'm going to eat breakfast and I'll figure this out when I get back 2020-11-25 16:00:23 I have a new machine that needs kernel 5.8... does there exist an edge image I can use to install? 2020-11-25 16:00:39 I'm digging through the FTP right now but maybe someone has a quick answer 2020-11-25 16:05:13 Okay so it committed /etc/shadow and world 2020-11-25 16:05:27 I'm going to reboot now and it should restore 2020-11-25 16:06:24 This still isn't working 2020-11-25 16:06:34 It reboots but doesn't mount anything and nothing is restored 2020-11-25 16:07:47 Can someone help me figure out why installing as data and setting up lbu isn't restoring anything? 2020-11-25 16:08:21 It looks like it was restoring but nothing got copier over, default root password and no software 2020-11-25 16:11:59 tehcloud: linux-edge in testing 2020-11-25 16:12:24 5.9.x currently 2020-11-25 16:12:29 is there any installation media or do I have to make my own and/or boot up something else and chroot the Alpine installation media? 2020-11-25 16:12:53 not on any install media 2020-11-25 16:14:04 alright... chrooting it is then 2020-11-25 16:14:41 This is what I did 2020-11-25 16:15:14 `mkdir /media/sdb && mount -t btrfs /dev/sdb /media/sdb` 2020-11-25 16:15:24 then I ran setup-alpine 2020-11-25 16:15:42 I got to the disks step and I selected my internal nvme and used it as data 2020-11-25 16:15:56 Then it asked for configs, I selected sdb 2020-11-25 16:16:01 Then pressed enter for cache 2020-11-25 16:16:14 Then lbu status to make sure it was there 2020-11-25 16:16:18 lbu commit to commit it 2020-11-25 16:16:21 Then I reboot 2020-11-25 16:16:34 tehcloud: linux-edge is only for x86_64, armv7, aarch64 and virt variant for x86_64 2020-11-25 16:16:35 It reboot into a blank live iso with nothing restored 2020-11-25 16:17:07 How canci make sure lbu restores my data during bootup? 2020-11-25 16:17:27 s/canci/can I/g 2020-11-25 16:17:55 codebam: did you run setup-alpine? 2020-11-25 16:17:59 Am I doing something wrong? 2020-11-25 16:18:11 yeah, this machine is x86_64 2020-11-25 16:18:20 ikke: yeah I did setup-alpine with data after I mounted the usb 2020-11-25 16:18:25 I built a Zen 3 system :) 2020-11-25 16:18:38 I selected sdb which is where I mounted it inside /media/ 2020-11-25 16:18:56 maybe I'll try with the UUID 2020-11-25 16:20:57 Is it okay to write a spoof package that provides a particular dependency that has no right to exist the system and has numerous circular-deps 2020-11-25 16:23:41 Still nothing when I switched /dev/sdb to it's UUID 2020-11-25 16:23:56 In fstab before I ran lbu commit 2020-11-25 16:26:21 hello guys im here trouble maker. 2020-11-25 16:28:15 libdav1d.so.4 required by ffmpeg-libs-4.3.1-r2 give me a errors to install 2020-11-25 16:28:56 are you mixing releases (ie, edge and stable)? 2020-11-25 16:29:26 oh yeah 2020-11-25 16:29:47 yesterday works. 2020-11-25 16:29:52 today no. 2020-11-25 16:30:06 If you mixe releases, that's totally expected 2020-11-25 16:30:10 edeg/community 2020-11-25 16:30:34 hoo. 2020-11-25 16:30:56 okey gone move al to latest-stable. 2020-11-25 16:30:58 if you need things from edge, you should switch completely to edge 2020-11-25 16:31:32 yeah need things like micro editor and couple stuff. 2020-11-25 16:31:42 okey will try. 2020-11-25 16:31:47 thanks iike. 2020-11-25 16:34:58 ikke: bad news, move all to edge and happen samething. 2020-11-25 16:35:19 on stable happen to. 2020-11-25 16:35:23 I had this same error. I cleaned out my world to fix it. I think there's a problem with edge right now with certain packages when upgrading directly from stable 2020-11-25 16:35:55 I'd say update to edge before applying your world file 2020-11-25 16:36:20 ikke what am I doing wrong? I changed to a UUID and it's still not working 2020-11-25 16:36:37 It worked in diskless mode but I want /var to be persistent 2020-11-25 16:36:47 codebam: heh 2020-11-25 16:36:50 http://dup.pw/alpine/aports/b1b0176223d2 2020-11-25 16:36:59 things are upgraded as we speak 2020-11-25 16:37:05 maybe I'll set up lbu in diskless first and then do it 2020-11-25 16:37:40 oh, okay my bad. I'm not sure. I had the same error when I changed repos to edge and restored my world file and tried to update all in one go 2020-11-25 16:44:38 please can someone help me set this up. I can't even get lbu to work now 2020-11-25 16:44:47 nothing is restoring 2020-11-25 16:45:00 I even used a UUID in my fstab 2020-11-25 16:45:20 is there an apkovl file generated on you usb drive? 2020-11-25 16:45:29 Is the usb drive writable? 2020-11-25 16:45:47 (the iso's are not writable) 2020-11-25 16:45:58 yes there's an apkvol 2020-11-25 16:46:10 wait should I delete it before I set up lbu? 2020-11-25 16:46:13 no 2020-11-25 16:46:27 it'll overwrite it? 2020-11-25 16:46:32 It should 2020-11-25 16:46:40 I had been using this drive for lbu on my installed copy of alpine 2020-11-25 16:46:50 I'm going to rename it just to be sure 2020-11-25 16:47:01 But maybe delete it if it's a complete different system 2020-11-25 16:47:09 yes it is 2020-11-25 16:47:17 okay I'll delete it 2020-11-25 16:52:41 deleted it and rebooted and it's still not working 2020-11-25 16:52:46 nothing restored 2020-11-25 16:52:52 hechos: how you upgraded to "edge" whole system? 2020-11-25 16:53:27 it just says 0% and doesn't restore it 2020-11-25 16:54:14 I setup-alpine again using data and /media/usb after deleting it 2020-11-25 16:54:44 it's not restoring anything. I don't know what I'm doing wrong, I'm following all the documentation 2020-11-25 16:55:08 I'll try without the UUID I guess 2020-11-25 16:57:40 MY-R: happen on edge and latest-stable. 2020-11-25 16:57:58 Please can someone help me? 2020-11-25 16:58:04 define repositories to edge 2020-11-25 16:58:25 hechos: did you run apk update; apk -i -a upgrade 2020-11-25 16:58:36 try with -a and check if wanna upgrade something else 2020-11-25 16:58:49 codebam: maybe should go a little less fast 2020-11-25 17:00:21 I'm doing everything right though? 2020-11-25 17:00:28 At least I think I am 2020-11-25 17:00:51 i dont know. right now bunch of packages are missing like shadow,weechat. 2020-11-25 17:01:04 may it be under haevy maintenance 2020-11-25 17:01:12 cdn from uk. 2020-11-25 17:03:27 codebam: so after you run alpine-setup 2020-11-25 17:06:02 ikke: yeah? 2020-11-25 17:07:17 THen what 2020-11-25 17:07:19 step by step 2020-11-25 17:08:56 Okay I set keyboard to us, us 2020-11-25 17:09:33 Set up interfaces all with dhcp, put in my wifi password even though I'm installing with ethernet plugged in 2020-11-25 17:10:04 Selected busybox instead of chrony 2020-11-25 17:10:27 Chose 1 for mirrors (the cdn) 2020-11-25 17:10:35 Selected none for sshd 2020-11-25 17:10:52 Selected my nvme drive and chose data for disks 2020-11-25 17:11:23 Selected usb for configs and chose the default apk cache directory on usb 2020-11-25 17:11:42 Then it didn't show any output and dropped me out 2020-11-25 17:11:50 lbu status showed it set up 2020-11-25 17:12:07 After that I was changing my fstab to try to get it to work but I can't figure it out 2020-11-25 17:12:21 Why are you changing fstab/ 2020-11-25 17:12:52 I was putting a UUID because it's a laptop so I thought it wouldn't detect the right drive letter 2020-11-25 17:13:20 Or at least sometimes the USB was sdb, sdc, sdd 2020-11-25 17:14:05 I'll try with the defaults 2020-11-25 17:15:04 ok, but that should not matter for this issue 2020-11-25 17:17:11 Hello, I was following this guide (https://wiki.alpinelinux.org/wiki/Create_a_Bootable_USB#Format_USB_stick) for an RPi install, but it was kind of confusing because the Alpine download page only has .tar.gz downloads and not .iso (like the wiki references). 2020-11-25 17:17:41 codebam: ok, but then you make changes 2020-11-25 17:17:48 what does lbu status say? 2020-11-25 17:18:20 brendon: this guide is not for rpi 2020-11-25 17:18:25 I was able to use fdisk and tar xf to create a bootable USB myself, but I am wondering if the wiki should be updated to point to the .iso's or explain how to do it with a .tar.gz (I am willing to make these changes) 2020-11-25 17:18:37 Ah, but it is linked to from the RPi install page 2020-11-25 17:18:42 There are no iso's for RPis 2020-11-25 17:18:44 lbu status shows all the changed files in etc 2020-11-25 17:18:52 codebam: ok, that's good 2020-11-25 17:18:55 "the RPi install page"? 2020-11-25 17:19:07 oh, the link is broken 2020-11-25 17:19:12 Step 2 in prep https://wiki.alpinelinux.org/wiki/Raspberry_Pi 2020-11-25 17:19:24 ok, and then you do lbu commit? 2020-11-25 17:19:37 I used the defaults (didn't change the fstab, mounted to /media/lbu) this time and it still didn't restore anything 2020-11-25 17:19:39 yes 2020-11-25 17:19:51 and then lbu status shows everything clean? 2020-11-25 17:20:03 too fast again 2020-11-25 17:20:31 yes should I redo it? 2020-11-25 17:20:41 I'll do it again just to be sure 2020-11-25 17:20:46 yes, want to verify every step 2020-11-25 17:20:46 okay 2020-11-25 17:20:48 but maybe 2020-11-25 17:20:54 you can first inspect the apkovl 2020-11-25 17:21:10 It's just a gzipped tarbal 2020-11-25 17:21:11 okay I'll look at the apkvol 2020-11-25 17:22:47 I am willing to document how I formatted the SD card for the RPi, but I have not contributed before. 2020-11-25 17:22:51 okay I extracted it and it has this 2020-11-25 17:24:27 etc: apk, conf.d, fstab, hostname, hosts, keymap, lbu, localtime, network, passwd-, resolv.conf, runlevels, shadow, shadow-, wpa_supplicant, zoneinfo 2020-11-25 17:24:39 that's all 2020-11-25 17:25:56 Does it contain any of your changes? 2020-11-25 17:26:39 yeah hostname contains the hostname and root has a password in shadow 2020-11-25 17:27:07 the fstab contains the changes too 2020-11-25 17:27:37 would it be because the drive is formatted as btrfs? 2020-11-25 17:28:33 what drive? 2020-11-25 17:28:42 So far, everything is mostly on the usb drive 2020-11-25 17:28:55 the usb drive 2020-11-25 17:29:06 the one I'm mounting for configs 2020-11-25 17:29:08 yes 2020-11-25 17:29:09 perhapsa 2020-11-25 17:29:58 what should I reformat as? is ext4 fine? 2020-11-25 17:30:07 yes 2020-11-25 17:30:19 okay 2020-11-25 17:31:57 should I just setup-alpine until it chooses mirrors so I can install e2fsprogs? 2020-11-25 17:39:26 ikke okay I reformatted it as ext4 and mounted it 2020-11-25 17:39:45 I went through the installed and stopped at disks 2020-11-25 17:39:54 installer* 2020-11-25 17:40:56 codebam: I missed the start, are you installing a rpi2 ? 2020-11-25 17:41:32 no I'm trying to install using data mode with a usb for configs 2020-11-25 17:42:03 https://wiki.alpinelinux.org/wiki/Alpine_setup_scripts#setup-disk 2020-11-25 17:44:35 ACTION uploaded an image: 20201125_124415_5794276170142549714.jpg (110KiB) < https://matrix.org/_matrix/media/r0/download/kde.org/c1db97d373ea7b67c62713e8d5aba28d66565569/20201125_124415_5794276170142549714.jpg > 2020-11-25 17:44:38 Is this warning okay? 2020-11-25 17:45:15 ACTION uploaded an image: IMG_20201125_124449.jpg (120KiB) < https://matrix.org/_matrix/media/r0/download/kde.org/cece68f53fec3f771f289ece76dd3f684d4e9e0b/IMG_20201125_124449.jpg > 2020-11-25 17:45:43 can you just type the error message. i'm sure no one is thrilled about trying to copy that awful link 2020-11-25 17:46:10 codebam: I think that's a default warning from mkfs 2020-11-25 17:46:45 ACTION uploaded an image: IMG_20201125_124611.jpg (104KiB) < https://matrix.org/_matrix/media/r0/download/kde.org/64db35ce1971b85abdfca0790f3bffe0957c6c2a/IMG_20201125_124611.jpg > 2020-11-25 17:46:58 ikke: oh okay 2020-11-25 17:47:05 that's what lbu status says 2020-11-25 17:47:25 should I commit? 2020-11-25 17:47:45 yes 2020-11-25 17:53:06 after you commit, verify that the apkovl has the files that have been committed 2020-11-25 17:54:22 then just reboot? 2020-11-25 17:54:28 or is there anything else I needed to do 2020-11-25 17:55:38 did you check the apkovl? 2020-11-25 17:56:40 lbu commit -d 2020-11-25 17:56:42 lbu status 2020-11-25 17:56:56 protip include /home too if you create new accounts 2020-11-25 17:57:49 Well, the first step is actually getting lbu to restore anny committed changes, which didn't succeed so far 2020-11-25 17:59:26 ikke: strange right now same setup with mix repos work perfectly. 2020-11-25 17:59:43 hechos: probably because of the commit that I linked to 2020-11-25 17:59:46 ikke: maybe is my connection dont know. 2020-11-25 17:59:48 that rebuilt all the dependencies 2020-11-25 17:59:57 ohh, 2020-11-25 18:00:22 well im try to help for small side, but keep testing... 2020-11-25 18:00:55 im mind about report like this things. 2020-11-25 18:05:02 ikke: I'll check the apkvol now then reboot 2020-11-25 18:07:34 okay they were in the tar so now I can reboot? 2020-11-25 18:12:30 So is there anyway aside from setting LD_LIBRARY_PATH through which a dir say /usr/local/lib can be given precedence over /usr/lib, I suppose ldconfig would do that but I haven't looked much into it 2020-11-25 18:15:20 codebam: yes 2020-11-25 18:15:44 ikke: that worked 2020-11-25 18:15:54 I'm not sure what changed but it works now so thank you! 2020-11-25 18:23:51 when I boot the live iso with lbu do I need to keep that drive inserted or does it load it into RAM? 2020-11-25 18:24:08 the live USB, not the lbu 2020-11-25 18:25:47 just verified, installing xfce in qemu vm is so easy 2020-11-25 18:28:38 codebam: the modloop is mounted 2020-11-25 18:28:51 after you unmount that, you can remove the usb drive 2020-11-25 18:28:58 (rc-service stop modloop) 2020-11-25 18:33:50 ikke: and it's all in RAM? 2020-11-25 18:33:54 cool 2020-11-25 18:33:59 except the modloop ofcourse 2020-11-25 18:34:05 (so you cannot load new kernel modules) 2020-11-25 18:34:24 what does that mean? 2020-11-25 18:35:28 If you attach hardware that requires new kernel modules (or run software that needs them), it does not work 2020-11-25 18:35:41 ohh okay 2020-11-25 18:35:58 can I restart the modloop using that service? 2020-11-25 18:36:04 or do I need to reboot 2020-11-25 18:36:43 I think you could just start it again 2020-11-25 18:43:40 Where does apk track package versions? I'm trying to fudge something so apk doesn't install the wrong version. 2020-11-25 18:44:15 How dyou mean? 2020-11-25 18:44:24 Last night the advice I got was to make a dummy package, but the wiki page seems to have some omissions and I can't figure it out. 2020-11-25 18:44:39 I need ocaml version 4.02.3 2020-11-25 18:44:51 The earliest version in the package repo is 4.08 2020-11-25 18:45:03 So I downloaded the source and 'make install'ed it 2020-11-25 18:45:14 But, I need to install opam, which has ocaml as a dependency 2020-11-25 18:45:38 So even though I have ocaml 4.02.3 installed, apk tries to install ocaml 4.12 2020-11-25 18:45:53 I just need to tell apk that I've already got the version of ocaml that I want. 2020-11-25 18:46:03 If the package was available, I'd pin it. 2020-11-25 18:46:10 try to add ocaml=4.02.3 as dependency 2020-11-25 18:46:18 oh 2020-11-25 18:46:19 Doesn't exist. 2020-11-25 18:46:22 Tried taht 2020-11-25 18:46:24 yea 2020-11-25 18:46:33 then don't add it as dependency at all? 2020-11-25 18:46:54 Then when I 'apk add opam', I'll get ocaml 4.12 installed 2020-11-25 18:47:50 Why not build ocaml 4.02.3 as a package? 2020-11-25 18:48:02 Tried 2020-11-25 18:48:23 Can't figure it out. The wiki page seems incomplete 2020-11-25 18:49:00 Just spent the last couple hours trying to do that, or even to just make a dummy package labeled ocaml-4.02.3 2020-11-25 18:49:23 And just lowering the version here? https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/community/ocaml/APKBUILD 2020-11-25 18:50:05 I don't yet understand how the apkbuild stuff works. 2020-11-25 18:50:49 That page looks like what I need to mess with the package, but after working through the alpine wiki page on making packages, I don't know what do do with that file 2020-11-25 18:51:06 How would I use that link? 2020-11-25 18:51:20 So you read this? https://wiki.alpinelinux.org/wiki/Creating_an_Alpine_package 2020-11-25 18:51:36 Just spent a couple hours on that page. 2020-11-25 18:52:03 Is there anything specific that is unclear? 2020-11-25 18:52:24 the APKBUILD is a file that describes how to build a certain project and how to package it 2020-11-25 18:52:35 I follow the instructions, but I get errors I don't understand. 2020-11-25 18:53:07 Is the APKBUILD supposed to be in a directory by itself? 2020-11-25 18:53:42 When I run abuild -r, what directory should I be in, and what else should be in that directory? 2020-11-25 18:54:34 Can I download the APKBUILD you linked, put it in an empty directory, and use abuild -r to create the package? 2020-11-25 18:55:03 easiest is to clone aports 2020-11-25 18:55:22 Yeah, did that too 2020-11-25 18:55:36 then you navigate to community/ocaml in that dir 2020-11-25 18:55:40 in that repo 2020-11-25 18:59:19 :( 2020-11-25 19:03:33 well that was annoying. Pulled up the github repo for aports and crashed my computer. 2020-11-25 19:03:37 Sorry for disappearing. 2020-11-25 19:04:09 What do I do after navigating to community/ocaml in the aports git? 2020-11-25 19:07:12 first try to build that version with abuild -r 2020-11-25 19:09:55 anyone get adb server running from android-tools? 2020-11-25 19:10:20 you need to run adb start-server as root for some reason 2020-11-25 19:10:49 Thanks 2020-11-25 19:11:57 Seems to be building without issue so far 2020-11-25 19:12:45 caskd: running as doas and get could not install *smartsocket* listener: Address not available 2020-11-25 19:13:15 caskd: I think you need a udev rule to be able to run it as non-root 2020-11-25 19:14:01 yeah 2020-11-25 19:15:06 what example for udev rule, ,,, 2020-11-25 19:15:51 https://wiki.archlinux.org/index.php/Android_Debug_Bridge#Adding_udev_rules 2020-11-25 19:17:17 So once this test run of abuild -r finishes, can I just change the version number in APKBUILD, and it'll download the correct source version from the ocaml repo? 2020-11-25 19:17:36 After I use lbu revert do I need to commit that or do I just reboot? 2020-11-25 19:17:47 QDX45: after you change the version number, you need to run abuild checksum 2020-11-25 19:17:57 oh, ok. 2020-11-25 19:18:09 then abuild -r? 2020-11-25 19:18:12 yes 2020-11-25 19:18:21 And, does abuild -r generate the .apk package? 2020-11-25 19:18:50 yes 2020-11-25 19:19:06 awesome, thank you. That makes a lot more sense. 2020-11-25 19:20:10 heh. failed b/c no space left. I'll keep working on it. Thanks for your help! 2020-11-25 19:20:30 yw 2020-11-25 19:20:43 the package is installed in ~/package/community/ 2020-11-25 19:21:22 never mind I just reboot 2020-11-25 19:21:24 that's cool 2020-11-25 19:28:29 Hi all :-) 2020-11-25 19:29:42 Is there an issue for s390x runners on gitlab.alpinelinux.org ? 2020-11-25 19:30:06 kmmndr: s390x is a behind due to dependency issues 2020-11-25 19:30:16 Not sure if you refer to that (missing packages) 2020-11-25 19:30:35 https://gitlab.alpinelinux.org/kmmndr/aports/-/jobs/255041 2020-11-25 19:31:03 The jobs are allways failing as the container seems to be unable to download source file 2020-11-25 19:31:08 oh, hmm 2020-11-25 19:31:43 that has been happening for a while for some reason 2020-11-25 19:34:54 for me the s390x ones segfault on compression for some reason lmao 2020-11-25 19:35:27 i mean ppc64 2020-11-25 19:35:36 when I run `setup-udev` and commit with lbu I can't find network devices anymore during boot 2020-11-25 19:35:54 is there something I can do about that so that I can have working udev? I want to install sway 2020-11-25 19:36:14 or do I need to setup-udev on each boot? 2020-11-25 19:36:21 I would not assume so 2020-11-25 19:36:34 anything in dmesg? 2020-11-25 19:36:51 I can commit and check. I'll revert when it breaks 2020-11-25 19:36:56 just a second 2020-11-25 19:37:37 all that setup-udev does is disable mdev and enable+start udev udev-postmount udev-trigger udev-settle 2020-11-25 19:38:01 well idk it breaks my network devices on lbu 2020-11-25 19:38:21 ACTION uploaded an image: 20201125_143805_3059045726838739000.jpg (80KiB) < https://matrix.org/_matrix/media/r0/download/kde.org/8cec4ef8e150f698fcff42882b319e5084e72e58/20201125_143805_3059045726838739000.jpg > 2020-11-25 19:38:22 I'll get dmesg 2020-11-25 19:39:12 codebam: what does `ip link` return 2020-11-25 19:39:18 it might be that udev renames the interfaces 2020-11-25 19:39:43 Only lo 2020-11-25 19:39:51 hm, ok 2020-11-25 19:40:02 what should I look for in dmesg 2020-11-25 19:40:16 anything about interfaces 2020-11-25 19:40:26 I can pastebin it in a second. I just need to save it to a backup and revert 2020-11-25 19:40:36 since I don't have network here 2020-11-25 19:42:05 Hmm, seems that mdev is still stared 2020-11-25 19:42:08 instead of udev 2020-11-25 19:47:47 my bad I messed up backing it up. I'll grab another dmesg 2020-11-25 19:54:15 ACTION uploaded an image: IMG_20201125_145355.jpg (124KiB) < https://matrix.org/_matrix/media/r0/download/kde.org/08311d3859f2d59bc212d6633e4f82e207e4c294/IMG_20201125_145355.jpg > 2020-11-25 19:54:16 What's with this versioning? 2020-11-25 19:55:45 which one ? 2020-11-25 19:55:51 the ones with 'h' ? or the ones with _alpha and _rc ? 2020-11-25 19:56:15 yeah were going from g to h? 2020-11-25 19:56:51 what are those? 2020-11-25 19:56:58 it is how openssl releases versions 2020-11-25 19:57:12 just pretend there is another field to MAJOR.MINOR.PATCHVER 2020-11-25 19:57:31 and apparently you switched from stable to edge 2020-11-25 19:58:31 oh okay cool 2020-11-25 19:58:39 weird but okay 2020-11-25 20:00:57 yeah I did that initially actually. I needed to if I wanted to use pcsc-lite and other software for my yubikey 2020-11-25 20:01:02 as well as sway 2020-11-25 20:04:59 Did you fix your interface issue? 2020-11-25 20:06:12 awesome, I got Alpine on my new machine and running the linux-edge kernel 2020-11-25 20:06:28 Well reverting and using setup-udev works until a reboot but sorry I'll grab a dmesg for you 2020-11-25 20:08:01 I grabbed a diff too if you want to check that after the dmesg 2020-11-25 20:45:23 when a new ISO comes out how should I migrate LBU? 2020-11-25 20:46:21 setup-disk with the new iso should work 2020-11-25 20:47:05 wouldn't that wipe my lbu configs? 2020-11-25 20:47:27 oh just disk 2020-11-25 20:47:33 sorry 2020-11-25 20:47:36 not setup-disk 2020-11-25 20:47:38 setup-bootable 2020-11-25 20:47:58 oh okay awesome. thank you 2020-11-25 20:48:15 just wanted to make sure I could update to new releases easily 2020-11-25 20:51:36 ACTION uploaded an image: IMG_20201125_155116.jpg (95KiB) < https://matrix.org/_matrix/media/r0/download/kde.org/31b6ebae8d16aa63b9efa2b693231de7a4664be0/IMG_20201125_155116.jpg > 2020-11-25 20:51:40 Why am I getting bad signatures? 2020-11-25 20:52:16 I can't find the package I need 2020-11-25 20:55:13 Rebooting fixed it 2020-11-25 21:04:39 The dmesg for the setup-udev issue I was having: http://ix.io/2Ftn 2020-11-25 21:20:50 What packages do I need to be able to decrypt with my smartcard (yubikey) as a secret key? 2020-11-25 21:21:06 Or actually never mind I think I know how 2020-11-25 21:55:05 My root user is able to read my smartcard but my regular user isn't. Is there something I can do to fix this? 2020-11-25 21:55:31 `gpg --card-status` works as root but not as a regular user 2020-11-25 21:57:12 you need to add the udev rules 2020-11-25 21:57:33 once again, per the _documentation_ you should _read_ on the yubico website 2020-11-25 21:58:12 Oh okay I have those ready to be copied I just didn't realize that's why 2020-11-25 21:58:20 I thought that was just for U2F 2020-11-25 21:58:25 I'll read more of the docs sorry 2020-11-25 22:51:53 c705 where can I find those udev rules? I found ones for U2F in the libfido2 package but it's not in the Alpine repos 2020-11-25 22:53:09 We have py3-fido but no libfido2 so it doesn't do anything 2020-11-25 22:53:37 * We have py3-fido2 but no libfido2 so it doesn't do anything 2020-11-25 22:53:42 Or at least I think so 2020-11-25 22:53:52 If that's bindings like the other packages 2020-11-25 22:56:12 Actually I can't tell 2020-11-25 22:56:29 I think that package is required for Firefox and Chromium support though. At least according to the Arch Wiki 2020-11-25 22:57:59 I'll see if I can figure out how to package that once I get set up 2020-11-26 02:18:16 What's the equivalent package for python-rrdtool for Alpine Linux? 2020-11-26 02:20:44 Can't seem to install it via py3-rrd, py3-rrdtool, or py-rrd, py-rrdtool 2020-11-26 02:22:59 there does not seem to be one 2020-11-26 02:50:23 apk add python-dev rrdtool-dev 2020-11-26 02:50:33 pip3 install rrdtool 2020-11-26 03:08:28 --user 2020-11-26 04:33:59 how do I give my user permissions to use my yubikey? I added udev rules for the key for group plugdev? 2020-11-26 05:41:56 is your user member of plugdev? 2020-11-26 05:41:59 codebam: ^ 2020-11-26 06:47:40 good news everyone! I have solved mapping caps->ctrl in console, you may now all sleep soundly 2020-11-26 06:49:26 I just woke up :P 2020-11-26 06:50:05 solution was to make a custom.map with: include "xkb/us.map"; keycode 58 = Control; set keymap=custom in /etc/conf.d; rc-update add loadkeys 2020-11-26 08:19:10 Hi all :-) 2020-11-26 08:19:35 Are there issues with package builders ? 2020-11-26 08:20:19 There are builders 'stuck' on broken packages 2020-11-26 08:20:24 but there should be no general issues 2020-11-26 08:20:35 kmmndr: are you talking about the actual builders, or CI? 2020-11-26 08:20:37 I was talking about s390x yesterday, but as my merge request has been approved, it seems that more architecture are failing 2020-11-26 08:20:57 https://pkgs.alpinelinux.org/packages?name=gcompris-qt&branch=edge 2020-11-26 08:21:46 kmmndr: check https://build.alpinelinux.org/ 2020-11-26 08:22:56 @ikke: Interesting ! 2020-11-26 08:23:39 Does these hosts serve as gitlab-ci runners too ? 2020-11-26 08:23:54 no 2020-11-26 08:23:59 separate hosts 2020-11-26 08:25:11 Ok, then packages are generated using these hosts and there might be a queue, a different queue than gitlab-ci runners queue 2020-11-26 08:25:25 yes 2020-11-26 08:25:43 but if packages depend on other packages that have not been built yet, CI will fail 2020-11-26 08:25:59 so it's best to create a single MR for these kinds of packages if feasible 2020-11-26 08:26:42 @ikke: thank you very much for your explanations :-) 2020-11-26 08:35:51 kmmndr: you're welcome 2020-11-26 08:37:00 how ought one decide which processes should use a supervisor vs just openrc? 2020-11-26 08:37:46 rnkn: the opinions are devided on that one 2020-11-26 08:37:51 divided* 2020-11-26 08:38:26 what's the ikke opinion 2020-11-26 08:39:26 I have not yet understood what those supervisors do. Are they as all-intrusive as systemd? 2020-11-26 08:39:40 no 2020-11-26 08:39:54 it's just an extra process that monitors the supervised process 2020-11-26 08:40:06 and tells openrc if it's still running or not 2020-11-26 08:40:12 (more reliable than pid-files) 2020-11-26 08:40:36 who supervises the superviser processes...? 2020-11-26 08:41:10 rnkn: no clue :) 2020-11-26 08:41:32 they supervises itself :P 2020-11-26 08:41:46 ofc, no but couldn't resist 2020-11-26 08:41:58 rc-update add alanmoore 2020-11-26 08:42:43 if I'm using alpine (ahem, postmarketOS) for a laptop, should I setup s6? 2020-11-26 08:44:41 idea to add supervisors to openrc is not good, imo 2020-11-26 08:45:31 Honestly I like the initd setup for processes that are supervised a lot better then unsupervised ones 2020-11-26 08:45:38 pid1 should be only supervisor 2020-11-26 08:45:49 what is the specific niche of postmarket? 2020-11-26 08:45:51 openrc as pid1 is not a good supervisor 2020-11-26 08:46:10 ikke: openrc is not, ofc 2020-11-26 08:46:33 so for now, we have to do with the means we have 2020-11-26 08:46:59 I'd like my service manages to at least reliably tell me when processes are running or not 2020-11-26 08:47:10 and plain openrc fails that 2020-11-26 08:47:36 (otherwise rc-service zap would not be a thing) 2020-11-26 08:47:43 yes bu that doesn't mean it is a good idea, still 2020-11-26 08:47:56 but* 2020-11-26 08:48:37 It's the best option we have atm 2020-11-26 08:49:14 note that I'm not talking about automatically restarting, just telling whether the service is running or not 2020-11-26 08:49:58 ok 2020-11-26 08:50:42 if that is only design flaw in nowadays computing I will be really 'calm' 2020-11-26 08:53:19 I'm just using postmarketOS because the path to getting alpine working on Pinebook Pro has been pretty slow 2020-11-26 08:55:04 (postmarketOS is just alpine + stuff) 2020-11-26 08:56:18 (we're working on that 😉) 2020-11-26 08:58:02 miskatonic: postmarketOS is basically Alpine Linux, but for phones and tablets. We use the same repositories as Alpine but with an extra one on top that provides device packages, some in-development-still stuff and some mobile specific stuff 2020-11-26 09:01:43 so postmarket should profit more from a supervision suite than plain alpine, as manual intervention in the case of a ceased daemon is more difficult on tablets 2020-11-26 09:02:34 Sure. We're not going to deviate from what Alpine uses though, imo that's more work than the benefits would bring us 2020-11-26 09:03:32 (I say phones and tablets btw, but it's more the non-traditional computers. We support interfaces for Smart TV's as well for example) 2020-11-26 09:04:02 and ARM-based laptops ;) 2020-11-26 09:06:41 Well not really, we don't focus on laptops. We rather have those supported by Alpine directly 2020-11-26 09:06:57 But in the case of the Pinebook Pro it was easier to get it working on Alpine first. We're upstreaming that to Alpine though 2020-11-26 09:07:06 *get it working on postmarketOS first 2020-11-26 09:07:11 in almost all these cases, the typical user is not an experience Unix sysadmin 2020-11-26 09:09:36 send me one PBP and alpine will work on it 'out-of-the-box' 2020-11-26 09:10:45 Afaik the last thing we need for the PBP to work on Alpine is arm-trusted-firmware built with rk3399 support, so getting an arm-none-eabi cross-compiler into main 2020-11-26 09:11:18 that will not happen, as you know already 2020-11-26 09:12:21 current solution would be to rip out arm32 code from ATF 2020-11-26 09:14:04 mps: wasn't the issue that the SP needed the arm32 firmware? 2020-11-26 09:15:17 ikke: someone on #linux-rockchip explained in details how to 'cut out' this code from ATF and make u-boot for rk3399 2020-11-26 09:15:48 but I don't have machine to test this 2020-11-26 09:17:51 I would happily buy one PBP right now but it is complicated for me to do that 2020-11-26 09:19:41 mps: do you mean that you believe alpine works out-of-the-box on a PBP, or it would if you had one to test on? 2020-11-26 09:21:17 hey says that the ATF can be modified so that it does not need cross-compilation and still work 2020-11-26 09:21:34 and if he had a PBP, he would do the work 2020-11-26 09:21:44 (right?) 2020-11-26 09:21:49 christmas is coming soon... 2020-11-26 09:23:06 ikke: right 2020-11-26 09:24:16 rnkn: I have money to buy it and would happily buy it, but ordering, shipping, custom procedures are problem 2020-11-26 09:25:05 I'd like to enable zram-init; looking at /etc/init.d/zram-init it says it requires swap, and there appears to be two services, swap & swapfile 2020-11-26 09:25:22 swapfile is enabled, swap not 2020-11-26 09:25:44 could someone elucidate on the difference? 2020-11-26 09:25:44 rnkn: you don't need swapfile (or partition) for zram-swap 2020-11-26 09:26:43 just install zram-init and configure it in /etc/conf.d/zram-init 2020-11-26 09:26:57 so I should disable swapfile service? 2020-11-26 09:27:27 that is on you, you can use booth at the same time 2020-11-26 09:28:23 but using swap file or partition on e/mmc doesn't sounds as good idea 2020-11-26 09:29:21 because eMMC is just as fragile as SD cards with excess i/o? 2020-11-26 09:30:03 ikke you still need arm-none-eabi for the m0 pmu co-processor on the pbp 2020-11-26 09:30:22 rnkn: right 2020-11-26 09:31:01 dstzd: or be able to install that from the arm32 repo 2020-11-26 09:31:04 but i'm not sure how necessary that m0 is because it's supposed to be like a low-level suspend mcu or something i don't really know how usefull or necessary it actually is.. since suspend to ram is broken anyway on rockchip stuff without bsp uboot 2020-11-26 09:31:14 well damn 2020-11-26 09:32:17 dstzd: suspend2ram works very well on my rk3399 chromebook 2020-11-26 09:32:31 yeah bsp kernel and bsp uboot 2020-11-26 09:32:33 probably 2020-11-26 09:32:36 ? 2020-11-26 09:32:43 and on other my chromebooks 2020-11-26 09:32:44 mps: but you're running 5.10 kernel aren't you? 2020-11-26 09:33:00 rnkn: yes 2020-11-26 09:33:16 but I started from 5.0 kernels 2020-11-26 09:33:27 i think you only need bsp-uboot for it to work right now actualy 2020-11-26 09:33:53 how does one obtain this bsp-uboot? 2020-11-26 09:34:41 dstzd: I don't have u-boot DTS for my rk3399 gru-kevin chromebook, so I use kernel partition to boot 2020-11-26 09:35:23 sorry for the endless Q's, but... how do I turn off the display (e.g. echo VALUE > /sys/class/... ) ? 2020-11-26 09:35:36 idk how the chromebooks do it.. but on the pbp you need BSP uboot for it to work. 2020-11-26 09:38:04 Hi, it seems that the kernel driver for my GPU isn't loading in the virtual guest, according to this Sway GitHub issue: https://github.com/swaywm/sway/issues/5839 2020-11-26 09:38:04 Here is my dmesg from the guest: https://gitlab.com/-/snippets/2043287 - at first sight, I cannot see anything wrong there, but maybe someone with a better eye would be able to help 2020-11-26 09:38:49 what hypervisor? 2020-11-26 09:39:28 ah, it's in that isseu 2020-11-26 09:40:20 fourstepper: can you try to install mesa-dri-gallium? 2020-11-26 09:40:32 Sure, on it 2020-11-26 09:40:48 hmm 2020-11-26 09:40:53 is hypervisor something like bhyve of freebsd fame? 2020-11-26 09:41:12 http://arvanta.net/alpine/ 2020-11-26 09:41:15 miskatonic: kvm, virtualbox, vmware 2020-11-26 09:41:37 mps: you should add removing nomodeset to there 2020-11-26 09:41:54 fourstepper: check /etc/update-extlinux.conf if nomodeset is added to the kernel parameters 2020-11-26 09:41:56 isn't it removed already? 2020-11-26 09:42:01 only in edge 2020-11-26 09:42:11 iirc 2020-11-26 09:42:24 ahm, it worked on 3.12 in qemu 2020-11-26 09:42:37 fourstepper: grep nomodeset /proc/cmdline 2020-11-26 09:42:40 will look later today 2020-11-26 09:42:56 mps: when I set up my 3.12 vm when it was just released, I still had to remove it 2020-11-26 09:43:00 etiquette question - if I want to ask a maintainer a question, is there a mailing list I should do it on? or is direct email fine? 2020-11-26 09:43:12 LACampbell: direct e-mail should be fine 2020-11-26 09:43:23 thanks ikke 2020-11-26 09:45:29 ikke: nomodset doesn't seem to be added 2020-11-26 09:47:42 fourstepper: apk version xf86-video-qxl 2020-11-26 09:49:01 Installed: Available: 2020-11-26 09:49:01 xf86-video-qxl-0.1.5-r6 = 0.1.5-r6 2020-11-26 09:49:28 it's under "Installed" 2020-11-26 09:50:12 yes, that's good 2020-11-26 09:51:50 did you try again after installing the gallium driver? 2020-11-26 09:56:00 ikke: yeah I did try - https://gitlab.com/-/snippets/2043300 here is the log from when starting sway and ls /dev/dri 2020-11-26 10:03:14 On my vm I have xf86-vidoe-vesa installed as well, can you try that? 2020-11-26 10:03:22 xf86-video-vesa 2020-11-26 10:10:51 do you guys stick with the default /bin/ash shell? it does everything I want, but a lot of scritps hardcode bash instead of sh, which is annoying but a fact of life 2020-11-26 10:11:56 yes, not a lot to do about that 2020-11-26 10:12:11 You can install bash but still use ash a a default shell :) 2020-11-26 10:12:26 On most systems, I keep ash, but on my build container I use lxc 2020-11-26 10:12:30 I mean, zsh :P 2020-11-26 10:13:17 aha! lxc shell 2020-11-26 10:13:19 sneaky 2020-11-26 10:13:23 :D 2020-11-26 10:13:48 I leave the ash as login-shell for root and as /bin/sh. Direct root login is mostly not necessary. 2020-11-26 10:14:05 I've been told permission denied in apk could be due to zfs 2020-11-26 10:14:15 I will try creating a container on different storage later 2020-11-26 10:14:28 maybe it will fix my apk! and I will be able to pmbootstrap 2020-11-26 10:16:23 my user login shell of choice is MirOS Korn Shell, a hard fork of Openbsd's. 2020-11-26 10:16:50 why? 2020-11-26 10:17:41 oh right, i guess I can have bash installed for scripts that need it but don't need to replace ash for daily use 2020-11-26 10:18:07 it is lighter than bash, but still allows for command line history and tabcom 2020-11-26 10:18:45 huh ash does both those things 2020-11-26 10:19:17 I can control-r to search shell history, default alpine install 2020-11-26 10:20:58 ikke: tried to test now installing the *-vesa driver, rebooted, still no /dev/dri - is it possible that selinux would be intercepting with this from the host? 2020-11-26 10:21:05 Let me test 2020-11-26 10:22:08 For me /dev/dri/card0 appeared when I removed nomodeset 2020-11-26 10:22:17 So not sure why it's not appearing for you 2020-11-26 10:29:52 ikke: selinux intercepting would make no sense, there is no reason why it should do that, but tried even without it - /proc/cmdline still has no "nomodset" in it, card still not present on the system 2020-11-26 10:30:00 guest system, that is 2020-11-26 10:31:23 fourstepper: oooh 2020-11-26 10:31:26 still _has_ 2020-11-26 10:31:31 oh 2020-11-26 10:31:34 no nomomodeset 2020-11-26 10:34:01 doesn't have is the correct wording 2020-11-26 10:34:22 at least less confusing :) 2020-11-26 10:40:43 I could try a different card emulation, perhaps?... 2020-11-26 10:41:12 I sadly don't have access atm to my system where i have my VM 2020-11-26 10:41:18 I have in about 40 minutes 2020-11-26 10:49:06 That's alright, thank you for the help :) Just ping me if you find anything relevant - I unforunately don't have any physical hardware that I could test on, but would still love to test how an alpine desktop could work for me 2020-11-26 10:49:38 It should work fine on qemu 2020-11-26 10:59:08 hopefully that will be the case soon :) 2020-11-26 11:01:28 fourstepper: is mesa installed? 2020-11-26 11:01:37 just "mesa? " 2020-11-26 11:01:42 * just "mesa" ? 2020-11-26 11:02:06 added, rebooting 2020-11-26 11:11:13 still nothing 2020-11-26 11:11:45 I am like 99% sure that it is going to be something brainlessly stupid 2020-11-26 11:13:28 hello again, using evtest I found that fn-esc is KEY_SLEEP, and I've created a script at /etc/acpi/SLEEP/00000001 to run `vlock -a` but no dice... any ideas? 2020-11-26 11:13:52 (I'd like to run `vlock -a` when pressing fn-esc) 2020-11-26 11:15:31 (I've also tried /etc/acpi/KEY_SLEEP/00000001) 2020-11-26 11:42:12 rip matrix bridge 2020-11-26 11:42:39 "Bridge terminating on SIGTERM" 2020-11-26 12:02:44 rnkn_: 00000080 not 00000001 2020-11-26 12:03:28 though not sure vlock will work, but will know when you report back :) 2020-11-26 12:06:06 uhm, strings on busybox doesn't shows SLEEP. you should create /etc/acpi.map file and set keys and scripts there 2020-11-26 12:06:18 fourstepper: can you check `lsmod | grep virtio_gpu`? 2020-11-26 12:06:49 that's empty 2020-11-26 12:06:57 @ikke 2020-11-26 12:08:25 Can you try to modprobe that? 2020-11-26 12:08:30 modprobe virtio_gpu 2020-11-26 12:09:18 modprobe virto_gpu 2020-11-26 12:09:18 modprobe: FATAL: Module virto_gpu not found in directory /lib/modules/5.4.72-0-lts 2020-11-26 12:09:34 virt_i_o 2020-11-26 12:09:39 you missed the i 2020-11-26 12:09:41 ah.. 2020-11-26 12:10:02 no output with that 2020-11-26 12:10:10 from * 2020-11-26 12:10:18 yes, that's expected 2020-11-26 12:10:38 can you check if you have /dev/dri now? 2020-11-26 12:10:53 still no /dev/dri 2020-11-26 12:10:58 :( 2020-11-26 12:11:22 I can try to reboot, maybe it takes that for propagation? Probably gotta save the kernel module load somewhere? 2020-11-26 12:11:23 How do you start your vm? 2020-11-26 12:11:30 from virt-manager 2020-11-26 12:11:37 hmm, ok, now experience with that 2020-11-26 12:11:43 I directly invoke qemu 2020-11-26 12:13:39 fourstepper: you can add it to a file in /etc/modules-load.d 2020-11-26 12:14:05 but usually it should take effect immediately when you load the module 2020-11-26 12:14:19 but maybe that the module is loaded is indication something is missing 2020-11-26 12:14:33 fourstepper: what does lspci return? 2020-11-26 12:14:58 https://pastebin.com/2WRCiiCA 2020-11-26 12:15:21 can you add pciutils and do the same? 2020-11-26 12:17:41 thought it was a bit cryptic :D https://pastebin.com/d25Hieyg 2020-11-26 12:18:26 VGA compatible controller: Red Hat, Inc. QXL paravirtual graphic card 2020-11-26 12:18:35 Ye lol 2020-11-26 12:18:48 I just have a generic vga card 2020-11-26 12:24:31 ikke: in qemu VM I posted link, nomodeset is present, but Xorg works fine, (with qxl) 2020-11-26 12:24:34 fourstepper: I switched to qxl now 2020-11-26 12:24:56 Now I have the same vga card 2020-11-26 12:25:02 nice 2020-11-26 12:25:30 but /dev/dri/card0 exists :( 2020-11-26 12:27:14 btw, I installed linux-edge-virt and use qemy-system-x86-64 2020-11-26 12:29:03 fourstepper: lsmod | grep qxl 2020-11-26 12:29:20 it says for me: "Kernel driver in use: qxl" 2020-11-26 12:29:44 doesn't return anything for me.. 2020-11-26 12:30:17 trying the Generic VGA now 2020-11-26 12:37:01 Still dead https://pastebin.com/mUsFmFEg 2020-11-26 12:37:49 Hello everybody 2020-11-26 12:38:02 I use alpine linux sever 2020-11-26 12:38:23 i installed openhab in the docker and i don't have access to the serial port 2020-11-26 12:38:30 please tell me how I can access the serial port 2020-11-26 12:47:03 ikke: without nomodeset in kernel cmdline and qemu '-vga virtio' parameter VM got /dev/dri/card0 (and rest) but X dies with SIGABRT 2020-11-26 12:47:24 with '-vga qxl' all works fine 2020-11-26 12:47:33 I have it working with -vga virtio 2020-11-26 12:48:00 I'm speaking about 3.12 alpine 2020-11-26 12:48:05 me too 2020-11-26 12:49:11 we are not at the same geolocation, at least one difference :) 2020-11-26 12:51:28 @ikke could you share the command that u use to bring qemu up? 2020-11-26 12:51:39 or rather the VM under qemu 2020-11-26 12:53:29 qemu-system-x86_64 -name alpine-3-12,process=alpine-3-12 -daemonize -enable-kvm -cpu host -smp cores=2 -m 1024M -spice port=5940,disable-ticketing -usb -device usb-tablet,id=input0 -vga qxl alpine-3-12.img 2020-11-26 12:53:49 before I had -vga virtio 2020-11-26 12:56:32 mps: you're right, /etc/acpi/SLEEP/0000080 didn't work either 2020-11-26 12:56:50 is there some documentation on acpi, like anywhere? 2020-11-26 12:56:57 * acpid 2020-11-26 13:00:40 rnkn: I forgot where, but it is simple 2020-11-26 13:01:45 rnkn: here is one from one of my machines https://tpaste.us/7g06 2020-11-26 13:02:43 fourstepper: I'm not sure if that matters, but I use setup-xorg-base to setup the graphical system 2020-11-26 13:02:57 Which DE u use? 2020-11-26 13:03:33 none 2020-11-26 13:03:40 I just use plain awesomewm 2020-11-26 13:03:49 mps: that's your acpi.map file? 2020-11-26 13:03:55 yes 2020-11-26 13:04:26 put it as /etc/acpi.map 2020-11-26 13:04:49 and create scripts in /etc/acpi 2020-11-26 13:05:11 @ikke right, awesome - sway runs on Wayland, the only required package for it to work should be xorg-server-xwayland for running Xwayland apps 2020-11-26 13:05:13 rnkn: for example, /etc/acpi/do-nothing 2020-11-26 13:05:19 This should not be a problem 2020-11-26 13:06:27 mps: ah cool, thanks 2020-11-26 13:06:46 I will try updating to the edge kernel 2020-11-26 13:07:03 I still wish I could have found this out myself though, with just `apk add acpid-doc` or the like 2020-11-26 13:07:09 time to learn 'zola' and start writing alpine/linux docs 2020-11-26 13:07:57 What is zola? 2020-11-26 13:08:15 static site generator? 2020-11-26 13:08:20 rnkn: acpid -h will show your basic 2020-11-26 13:08:24 ikke: yes 2020-11-26 13:08:51 I wasted time with hugo but found that zola is a lot simpler 2020-11-26 13:09:11 and zola is quite fine for writing docs 2020-11-26 13:19:04 this sounds as good for wasting time https://github.com/letoram/arcan 2020-11-26 13:19:50 lets try make apk :) 2020-11-26 13:25:08 :D 2020-11-26 13:26:02 well, even after updating everything to edge it still doesn't work - I guess I will keep on trying later 2020-11-26 13:26:10 Perhaps I could also test on a different computer too 2020-11-26 13:26:39 Maybe I try to set it up from scratch tonight 2020-11-26 13:31:47 If you would like to try with sway as well, the wiki looks like it makes sense: https://wiki.alpinelinux.org/wiki/Sway - I would only recommend adding elogind to the setup there 2020-11-26 13:32:45 btw which image did you use for the installation of the previous one? I used the standard ISO 2020-11-26 13:35:59 me too 2020-11-26 13:42:38 If using userspace drivers for video, do I have to at any point reboot the system during the setup if I only wanted to test running from a usb stick? 2020-11-26 14:19:51 alpine needs reboot only on kernel upgrades 2020-11-26 14:27:15 "userspace drivers"? 2020-11-26 14:31:12 ACTION suspects attempts to use nvidia binary driver 2020-11-26 14:32:19 nope... backlog suggests not the case :p 2020-11-26 14:33:26 thanks @mps 2020-11-26 14:33:26 In that case, running off of a USB stick could be a possibility for trying out even full desktop environment installs 2020-11-26 14:33:27 With userspace drivers I meant things like video drivers 2020-11-26 14:33:46 > free video drivers ofc 2020-11-26 15:11:47 yay installed alpine linux for the first time, and i am impressed 2020-11-26 15:12:39 it was rather painless and quick 2020-11-26 15:13:12 nice 2020-11-26 15:25:03 zapland, enjoy watching your CPU cores actually doing nothing while idling 2020-11-26 15:28:17 and not crashing twice before i even get firefox running like fedora somehow managed xD 2020-11-26 15:54:30 and yay arm-none-eabi-gcc working from edge repo 2020-11-26 15:54:33 very nice 2020-11-26 15:59:50 Would someone be able to help me fix the issue I was having yesterday on lbu where running setup-udev and committing would cause the network devices to not get detected on the next reboot? 2020-11-26 16:03:42 The dmesg is here http://ix.io/2Ftn 2020-11-26 16:06:30 how does the Alpine security team stack up to arch / gentoo / rhel / deb etc? you guys seem really committed to security but i don't have any information on the day-to-day 2020-11-26 16:40:24 Hey all.. was running 3.12.1 no problem, then decided to upgrade to edge, again no problem.. but when edge got a kernel update seems like it didn't do a grub-mkconfig , so I dealt with that and thought I did something wrong.. then last night there was another kernel update for edge.. and again it didn't reboot on it's own.. after I got legs under 2020-11-26 16:40:24 it again and back into the machine.. I did a grub-mkconfig -o /boot/grub/grub.cfg then rebooted and all was as it should be.. is that an "known" edge problem? or am I doing something wrong? tia.. 2020-11-26 17:52:28 ikke I added the group plugdev and added my user to it but it's not showing up 2020-11-26 17:52:30 I made sure to run setup-udev 2020-11-26 17:52:47 would it be because I didn't reboot after setup-udev (because I can't) 2020-11-26 17:52:50 What is not showing up? 2020-11-26 17:53:37 are my packages supposed to restore themselves automatically after rebooting or should I have to run apk upgrade? 2020-11-26 17:54:01 the former 2020-11-26 17:54:29 I guess I could include them in my lbu backup 2020-11-26 17:54:31 is that bad practice? 2020-11-26 17:54:49 the installed package list is in /etc/apk/world, which is included by default 2020-11-26 17:55:01 on boot, it should restore the packages in that lest 2020-11-26 17:55:06 list 2020-11-26 18:00:35 Same issue as yesterday that when I ran setup-udev and committed /etc to my lbu backup the system would boot without any network devices 2020-11-26 18:01:03 ikke: so I should just restore from cache on each reboot? 2020-11-26 18:02:04 /dev/sdX gets mounted on each reboot and I have to umount whatever drive letter got mounted there before I could mount my lbu that mounts by UUID. is there a way I can fix that? 2020-11-26 18:02:10 If you need to do it manually, something is not right 2020-11-26 18:02:26 also sdX because the drive letter changes because it's a laptop 2020-11-26 18:02:41 Being a laptop or not does not make it cahnge 2020-11-26 18:02:44 change 2020-11-26 18:02:48 The order of which it gets mounted in might 2020-11-26 18:02:57 can I turn off automounting or will that break things? 2020-11-26 18:03:03 I'll try 2020-11-26 18:03:10 When I was still using lbu, it the usb disk was always mounted as /media/usb 2020-11-26 18:03:16 afaik, it should still do that 2020-11-26 18:03:41 I have it mount to /media/usb but it mounts on boot as /media/sdX 2020-11-26 18:03:47 it creates the directory 2020-11-26 18:03:56 for whatever drive letter it is 2020-11-26 18:04:13 I think that's some sort of automounting daemon? 2020-11-26 18:04:56 There is localmount, which mounts disks in fstab on boot 2020-11-26 18:10:09 My lbu USB is mounting to /media/sdb on each boot 2020-11-26 18:10:21 I have to umount it before I can use lbu 2020-11-26 18:11:01 I have it mounting in the fstab by UUID but it doesn't mount to /media/alpine_usb like I have it set 2020-11-26 18:11:47 I umount /dev/sdb then `mount -a` or just use lbu 2020-11-26 18:11:58 I'm not sure if I'm doing that right though. I'd prefer if it wasn't mounted in the first place so I could just run mount -a 2020-11-26 18:19:32 is this a init daemon I can disable? 2020-11-26 18:20:30 ACTION uploaded an image: 20201126_131952_7759664905205897726.jpg (68KiB) < https://matrix.org/_matrix/media/r0/download/kde.org/c0395e73eac01500271e93bebc691e687c4e1b6f/20201126_131952_7759664905205897726.jpg > 2020-11-26 19:45:37 is there anything specific that has to be done to let flatpaks be installed without the root user? 2020-11-26 19:46:08 I am coming from fedora where all operations are made by the non-privileged user 2020-11-26 19:48:16 I use all flatpaks as user 2020-11-26 19:49:26 There also is the '--user' option. 2020-11-26 20:02:14 Is there anything to flag the MR as 'ready to be processed'? Pressing 'Approve' or something? Or is it just waiting for the reviewers? 2020-11-26 20:04:28 just waiting 2020-11-26 20:04:34 Someone should pick it up 2020-11-26 20:05:37 yes, but it needs days for every little change... like bumping pkgrel. 2020-11-26 20:06:28 We're focussing on getting the 3.13 release out 2020-11-26 20:06:38 What MR are you waiting on? 2020-11-26 20:07:10 ive updated mariadb.. more as a testrun. My main package will be zoneminder. 2020-11-26 20:08:45 and i probably need much more interaction there. 2020-11-26 20:09:43 but its not urgent indeed... 2020-11-26 20:20:11 I've created two packages: 'zoneminder' and 'zoneminder-nginx-mariadb' (meta). There already is an outdated 'community/zoneminder' package. How should i post the MR? As 'testing/zoneminder: upgrade to 1.34.22'? Can i put both packages in one MR? 2020-11-26 20:21:20 Risk64: if zoneminder is already in community, you should not duplicate it in testing 2020-11-26 20:22:03 but it should better go there for a testing phase i guess... 2020-11-26 20:22:21 the edge (master) branch is already for testing 2020-11-26 20:22:32 testing/* is for new packages 2020-11-26 20:22:39 ok 2020-11-26 20:23:02 Do you have an arch background? 2020-11-26 20:23:16 my main os, yes. 2020-11-26 20:23:28 right, there they put new versions in testing first 2020-11-26 20:54:26 sometimes 2020-11-26 21:16:13 has anyone tried building AOSP and/or lineage on alpine linux? 2020-11-26 21:18:23 ikke, mps: so… pyinstaller's test suite takes over an hour to run, so the runner kills the process before testing is finished 2020-11-26 21:18:53 it does work, but the tests are… intensive 2020-11-26 21:18:59 hmmm 2020-11-26 21:19:10 should I disable some of the tests so that it actually completes? 2020-11-26 21:19:10 is there some way to turn of expensive tests? 2020-11-26 21:19:16 ikke: hypothetically, yes 2020-11-26 21:19:29 there's no way to turn off all tests which are specifically expensive 2020-11-26 21:19:47 but I can disable individual tests; so I could, in theory, disable the part of the test suite that is stupidly heavy 2020-11-26 21:20:07 but, those are the system tests (called “functional” tests by the specific test suite); the most useful ones 2020-11-26 21:20:13 right 2020-11-26 21:20:17 the unit tests take no time, but unit tests are generally garbage :) 2020-11-26 21:20:36 and generally not the reason we run them 2020-11-26 21:20:58 yeah 2020-11-26 21:21:45 Any idea how long the full tests run? 2020-11-26 21:21:50 ikke: no clue 2020-11-26 21:21:56 but it takes >1hr on any platform 2020-11-26 21:22:03 including x86_64 2020-11-26 21:22:24 also worth noting that there are several failed tests in there; I've disabled several I know fail as I've seen them 2020-11-26 21:22:48 I was kind of hoping I could see a full test run so I could disable all the tests in one feel swoop instead of having to disable each as I see it 2020-11-26 21:22:51 Do you know why they fail? 2020-11-26 21:22:55 but, since the suite never finishes… 2020-11-26 21:22:57 ikke: I don't 2020-11-26 21:23:04 ikke: but they fail on other distros as well 2020-11-26 21:23:15 namely, on Arch (my main machine right now) 2020-11-26 21:23:22 hmm, ok 2020-11-26 21:23:25 so, not due to glibc or similar 2020-11-26 21:23:35 so, I'm more inclined to think that this test suite is just over-zealous 2020-11-26 21:23:48 (its documentation is also out-of-date, which supports that conclusion) 2020-11-26 21:24:00 I've set the timeout for https://gitlab.alpinelinux.org/HalosGhost/aports to 2h 2020-11-26 21:24:40 okay, I'll run it 2020-11-26 21:25:57 ikke: if it actually completes, I'll go through and disable all the failing tests, give it one more run 2020-11-26 21:26:26 ikke: thank you for that; if it passes after that, should my MR disable the test suite wholesale (or the functional tests) to save some power? 2020-11-26 21:26:58 We prefer to keep them enabled 2020-11-26 21:27:14 sounds fine to me 2020-11-26 21:27:19 but it's a tradeoff 2020-11-26 21:27:27 indeed it is 2020-11-26 21:27:38 ACTION will check on the tests in a couple hours :P 2020-11-26 21:27:48 ikke: I really appreciate your help to get a few things into the repos 2020-11-26 21:27:56 np 2020-11-26 21:28:29 But it would be good to try ask upstream why these tests are failing :) 2020-11-26 21:29:33 I'll take a closer look 2020-11-26 21:30:09 it feels like a really long list of failing tests but that's largely because there are just so many tests 2020-11-26 21:37:45 also, arch just disables the test suite wholesale because of the failures :P 2020-11-26 21:37:49 (in the AUR) 2020-11-26 21:38:19 yes, but arch generally does not run a lot of tests 2020-11-26 21:38:38 true 2020-11-26 21:38:49 which might have something to do with its reputation for instability :P 2020-11-26 21:39:16 arch is very stable for me :) 2020-11-26 21:39:48 as it has been for me for several years (with a few exceptions) 2020-11-26 21:39:52 but it was not always so 2020-11-26 21:39:58 and there are occasional, significant breakages 2020-11-26 21:40:13 Well, yes, it's a rolling release distro, so there are breakages 2020-11-26 21:40:24 but I've been running it for 8+ years now 2020-11-26 21:40:34 I think I'm not far behind you 2020-11-26 21:40:37 one sec 2020-11-26 21:40:49 oh 2020-11-26 21:40:55 hmm, almost exactly the same time 2020-11-26 21:41:03 I started using Arch just before the systemd transition 2020-11-26 21:41:11 ~2011/2012 2020-11-26 21:41:13 yeah, me as well 2020-11-26 21:44:09 well, of the three tasks I wanted to accomplish today, I've managed to accomplish all three 2020-11-26 21:44:20 and it's only 15.44 HGST 2020-11-26 21:44:25 so much time left 2020-11-26 21:45:00 nice feeling 2020-11-26 21:45:10 I got to abandon Arch on my main desktop recently, since I don't have an nvidia card now 2020-11-26 21:45:16 now can use a proper musl distro :) 2020-11-26 21:45:40 tehcloud: I'm excited for my pbp to become my main device (alpine will then be my primary distro) 2020-11-26 21:46:09 tehcloud: but my main machine will likely remain arch for a while as a gaming machine 2020-11-26 21:46:23 I was never a fan of Arch, but I had to leave Debian after the package quality went downhill and didn't know where else to go as far as glibc distros 2020-11-26 21:47:00 though, I'll likely do a fresh install to get it closer to only what I need 2020-11-26 21:49:02 i wish abuild didn't depend by default on build-base 2020-11-26 21:49:17 as not *everything* needs gcc or such 2020-11-26 21:50:03 caskd: I'm planning on writing a brief script to use that installs alpine-sdk/build-base and then runs `abuild -r`, and uninstalls them at the end 2020-11-26 21:50:11 i should add a option that removes that dependency from the default deps 2020-11-26 21:50:23 caskd: that way, I don't need to have all that installed all the time, but can still build everything without issue 2020-11-26 21:50:33 hg: isn't abuild-rootbld for that? 2020-11-26 21:50:42 not familiar with that 2020-11-26 21:50:44 sounds interesting 2020-11-26 21:50:49 (I'm very new to alpine) 2020-11-26 21:50:57 it basically supports building packages in a chroot 2020-11-26 21:50:58 it's for building packages 2020-11-26 21:51:06 and is integrated into abuild 2020-11-26 21:51:13 interesting 2020-11-26 21:51:17 the kind of stuff you probably don't need to care much about unless you're a dev/packager 2020-11-26 21:51:25 tehcloud: I'm both :) 2020-11-26 21:51:30 lol... yeah, me too :p 2020-11-26 21:51:46 well, dev at least... packager soon 2020-11-26 21:51:55 I have a few things in testing right now 2020-11-26 21:52:07 though, I think sx is probably ready to move to community 2020-11-26 21:52:11 caskd: it's better then to have to specify gcc / make and other dependencies for the majority of packages 2020-11-26 21:52:37 ikke: well, i should really add a option like !defaultdeps 2020-11-26 21:52:53 ikke: personally, I'd like an option for abuild that assumes build-base/alpine-sdk are implicit deps or not 2020-11-26 21:53:06 as some stuff doesn't even use gcc/autoconf or such 2020-11-26 21:53:20 should be pretty easy to add 2020-11-26 21:53:31 as abuild is just a shell script 2020-11-26 21:56:16 someone should really document so:lib feature 2020-11-26 21:57:05 s/so:lib feature/everything/ 2020-11-26 21:57:08 lol 2020-11-26 21:57:30 c705: well, yes but there's A LOT of undocumented stuff 2020-11-26 21:57:40 so like, where do you even start lol 2020-11-26 21:57:50 somewhere, anywhere 2020-11-26 21:58:12 the bigger issue is someone needs to verify the documentation is accurate. shit documentation is worse than no documentation at all 2020-11-26 21:58:45 I think vague documentation is better than incorrect documentation :) 2020-11-26 21:58:52 otherwise, I agree 2020-11-26 21:59:10 vague ≠ inaccurate, necessarily 2020-11-26 21:59:19 that's fine, but the inaccurate documentation is bad. even if there's anheader saying it's accurate 2020-11-26 21:59:19 i want to do that BUT I STILL DIDN'T GET UPDATED ABOUT THE PASSWORD PROBLEM ON MEDIAWIKI 2020-11-26 21:59:27 since i cannot reset it 2020-11-26 21:59:41 I would offer to help, but I get no support from the devs 2020-11-26 22:04:11 caskd: password reset should be fixed 2020-11-26 22:12:02 ikke: yay, it works 2020-11-26 22:12:19 welp, tommorow i have 3 hours to spare, i know what i'm doing 2020-11-26 22:14:07 damn, the temp password doesn't work 2020-11-26 22:14:59 nvm, now it works 2020-11-26 22:15:07 phew 2020-11-26 22:45:16 c705 you think the distro is good even though the team is unreachable? 2020-11-26 22:45:31 kinda worrying as data points go 2020-11-26 22:46:23 alpine linux? 2020-11-26 22:46:40 oh, i'm in ##alpine-linux..lol 2020-11-26 22:46:57 the code is decent, it's just very undocumented and confusing 2020-11-26 22:58:05 hello, maybe a silly question but i hope someone can help. 2020-11-26 22:58:15 please ask it 2020-11-26 22:58:37 if i did cat /etc/os-release on a 3.5 or 3.6 or 3.7 release, what would the version_id be? 2020-11-26 22:58:44 woudl it be 3.6 2020-11-26 22:58:48 or 3.6.0 2020-11-26 22:59:27 it's an INI file with several fields 2020-11-26 22:59:36 i tried using dockers but they are all 3.5.3 or similiar 2020-11-26 23:00:14 well, so you answered your own question then 2020-11-26 23:00:28 when version 3.13 is release, is the versioning 3.13 or 3.13.0 2020-11-26 23:00:52 in the /etc/os-release or /etc/alpine-release 2020-11-26 23:00:54 3.13.x 2020-11-26 23:02:27 i found it here. they have never release a non patch version. https://wiki.alpinelinux.org/wiki/Alpine_Linux:Releases 2020-11-26 23:02:52 but this is specifically what i was after 3.12.0 2020-11-26 23:02:57 ..great 2020-11-26 23:03:10 sorry you didn't understand the question 2020-11-26 23:03:38 no, i understood it, and answered it 2020-11-26 23:03:58 I wonder how well haskell programs handle musl 2020-11-26 23:05:33 probably finee? 2020-11-26 23:06:09 if your program is using the existing system interfaces, it'll be fine. I don;t think you write low level code with haskell, but maybe i'm wrong 2020-11-26 23:06:20 how do you use cabal, xmonad isnt in alpine packages. and cabal install xmonad is throwing aan error even as root. but then i;d have to install X too. . furget it 2020-11-26 23:06:47 ah sudo cabal update on first install 2020-11-26 23:07:47 if you want to see odd, do stuff like build half your kernel modules with glibc then realize you want to run alpine instread, dont bother 'make clean' and be sure some of the userspace help utils like the firmware loader are on one or the other 2020-11-26 23:08:17 the only thing I'm interested in at the moment is taskell 2020-11-26 23:08:20 I wish it were written in C 2020-11-26 23:08:26 but, I work with what I'm given :) 2020-11-26 23:08:54 haskell only has a small C runtime to do the lazy evaluation thunks and other stuff i think. most of it is probaly hasskkell compiled w/ ghc 2020-11-26 23:09:13 indeed 2020-11-26 23:09:43 * Missing (or bad) header file: HsNet.h 2020-11-26 23:09:44 This problem can usually be solved by installing the sys 2020-11-26 23:09:54 probably need to intall a few hundred -dev packages for this stuff to build... 2020-11-26 23:10:02 can you do wildcards, apk add *-dev 2020-11-26 23:10:44 poka: try it 2020-11-26 23:10:52 dont actually do *-dev 2020-11-26 23:10:56 what dev package would be 'network' though 2020-11-26 23:11:07 no idea what you're talking about 2020-11-26 23:12:42 ok, apk add ghc ghc-dev cabal && cabale install taskell. it works 2020-11-26 23:12:46 maybe 2020-11-26 23:13:41 nixos chroots are probably still the way of choice for solid long-tail haskell supppoort 2020-11-26 23:14:09 or whatever nixxos container-management suite, ppl are constantly mentioning diff ones on fediverse/lobstrs/HN , too many to try 2020-11-26 23:15:31 poka: do you have a question, or are you just rambling on about god knows what 2020-11-27 01:33:08 c705: i want oyu to fuck off and die 2020-11-27 01:33:09 and ban me 2020-11-27 02:00:47 well 2020-11-27 02:00:50 that was fun and productive 2020-11-27 02:09:43 lol wtf was that! 2020-11-27 02:09:50 fusion: 🤷 2020-11-27 02:11:18 c705: you all right? 2020-11-27 02:13:35 oh, yeah didn't even notice 2020-11-27 02:14:05 to be fair, it's not exactly a strictly on-topic channel, but poka was super out-of-line 2020-11-27 02:14:47 i've been in a pretty poor mood lately, so i've been pretty snappy with people 2020-11-27 02:14:53 probably not a good look on my part 2020-11-27 02:15:16 ): 2020-11-27 02:15:34 c705: sorry to hear that; what's up? 2020-11-27 02:16:28 c705 i think you're cool 2020-11-27 02:16:39 ah, it's pretty long winded but my dad died and i ended my relationship with my boyfriend 2020-11-27 02:16:46 BugHunter1000: thanks, i appreciate that 2020-11-27 02:17:18 c705: that's awful. ): 2020-11-27 02:17:19 i'm just feeling really lost right now, and i've been upset a lot and been taking it out on people online 2020-11-27 02:17:29 c705, your comments would only be taken badly by someone who themselves is already on edge 2020-11-27 02:17:35 yeah, it's really brutal 2020-11-27 02:17:49 if you said the same to me, I'd just look at it as "taking the piss" 2020-11-27 02:17:51 c705: need anything? 2020-11-27 02:18:22 hg: time, i guess. i should also learn more about myself. 2020-11-27 02:18:56 c705: makes sense. I hope all goes well for you 2020-11-27 02:19:06 c705: ping me if you ever want to chat 2020-11-27 02:19:17 thanks, i'll be okay. and for sure, i appreciate that 2020-11-27 02:29:16 tehcloud so like anyone in #archlinux then 2020-11-27 02:59:16 ACTION hasn't been to an #al channel in a minute 2020-11-27 02:59:22 I'm technically an op in a few of them… 2020-11-27 02:59:39 or I was when I was last there anyway :) 2020-11-27 03:06:58 eh ops is a curse lol 2020-11-27 03:07:06 "not my problem" and all that 2020-11-27 03:08:16 lol 2020-11-27 03:10:57 in the right situation being opped is worse than getting banned 2020-11-27 03:11:07 like if you feel morally obliged n all anyway 2020-11-27 03:15:02 haha 2020-11-27 03:15:09 I took it very seriously for quite some time 2020-11-27 03:15:45 then, I wrote an IRC bot that you would give a command, and it would randomly give you {-,+}{o,v,q,b} or kick you 2020-11-27 03:15:58 so, clearly, my taking-it-seriously reduced at some point :) 2020-11-27 03:16:02 nice 2020-11-27 03:16:10 called it hatroulette 2020-11-27 03:16:12 was very proud 2020-11-27 03:16:17 one of the rooms i hang had this thing happen where idk 2020-11-27 03:16:25 someone opped everyone at once 2020-11-27 03:16:34 and that was a recurrent event 2020-11-27 03:16:53 and then actual drama happened lol 2020-11-27 03:17:16 lol 2020-11-27 03:17:38 i've seen that so many times now tho, in the end the group just splits and you have like this venn diagram of people across 2 rooms 2020-11-27 03:17:49 ppl in one group, people in the other, and ppl in both groups 2020-11-27 03:17:52 and its dumb 2020-11-27 05:39:26 good morning 2020-11-27 05:39:57 please help me change the permission root root 166 /dev/ttyACM0 into root dialout 166 /dev/ttyACM0 2020-11-27 05:49:03 adria_: I think you should be able to add that to /etc/mdev.conf 2020-11-27 05:50:11 please tell me how to do it 2020-11-27 05:52:24 If you look at that file, you see some other examples with dialout 2020-11-27 05:53:28 copy one of those lines, but use ttuACM* 2020-11-27 05:58:14 I don't understand, I'm new to Linux 2020-11-27 05:58:37 nano /etc/mdev.conf 2020-11-27 05:59:53 Do you see a line with ttyUSB[0-9]? 2020-11-27 06:07:20 yes 2020-11-27 06:07:53 copy that line 2020-11-27 06:08:17 (in the same file) 2020-11-27 06:09:08 ttyACM0[0-9] root:dialout 0660 @ln -sf $MDEV modem 2020-11-27 06:09:34 yes 2020-11-27 06:09:41 ok 2020-11-27 06:09:57 wait 2020-11-27 06:10:05 remove that 0 before the [0-9] 2020-11-27 06:10:10 crw-rw---- 1 root dialout 166, 0 Nov 27 08:07 /dev/ttyACM0 2020-11-27 06:10:19 ls -l /dev/ttyACM* 2020-11-27 06:10:26 seems to work? 2020-11-27 06:11:12 I need to install opehab in the docker 2020-11-27 06:11:21 openhab 2020-11-27 07:15:38 Does anyone have a recommendation for a SoHo/home ink tank printer that is Linux/Alpine friendly please? 2020-11-27 07:33:38 ikke:thank you for help 2020-11-27 07:33:41 it doesn't work to access serial port 2020-11-27 07:34:04 I'm going back to debian server 2020-11-27 08:01:43 @ikke just an update - I was trying to get it working in Virtualbox as well and then installed on a "kinda spare" drive, where the same thing was happening - black screen after launching sway - so I went on the wiki, followed the steps here: https://wiki.alpinelinux.org/wiki/Intel_Video - will try to follow similarly with different drivers (in a VM) and see if it works as well 2020-11-27 11:53:51 How is the stability of running edge repositories in general? Is it similar to Arch or somewhat different? I am mostly absolutely fine with rolling release, just asking for personal experiences primarily from the desktop 2020-11-27 11:54:20 fourstepper: It might be a bit more unstable then arch 2020-11-27 11:54:48 Things are updated directly in edge on alpine 2020-11-27 11:55:35 As in there's no testing repo 2020-11-27 11:56:54 Is it standard to pin packages for, let's say, desktop environments and desktop stuff overall from the edge and then run system level stuff from stable? 2020-11-27 11:57:04 no 2020-11-27 11:57:08 that's not supported 2020-11-27 11:57:18 library updates on edge would break those desktop packages 2020-11-27 11:57:51 I see. So it's either unstable or stable 2020-11-27 11:57:54 yes 2020-11-27 11:58:28 Thanks a lot 2020-11-27 11:59:50 I suppose repository pinning as described here could be viable and similar to what I proposed above? https://wiki.alpinelinux.org/wiki/Alpine_Linux_package_management (Repository pinning) 2020-11-27 12:00:05 It's really unsupported though 2020-11-27 12:00:20 It may break at any moment when we do an incompatible change in edge 2020-11-27 12:01:12 say your desktop program needs libfoo-5.0, but the rest of the system needs libfoo-4.8 2020-11-27 12:01:38 Yeah it makes sense, I am just trying to think about how stable would edge be for daily use :D 2020-11-27 12:01:56 cant libfoo5 stuff be installed in a chroot? 2020-11-27 12:03:18 sure, that would require one to setup a seperate chroot for edge 2020-11-27 12:03:26 or use docker, lxc, etc 2020-11-27 12:03:35 flatpack :P 2020-11-27 12:04:40 is using a secondary package management like pkgsrc or guix, again in a chroot, possible? 2020-11-27 12:07:26 I guess I could also just compile stuff interesting to me from source, such as sway and wlroots 2020-11-27 12:10:11 may wayland compositors be installed in a user's home dir or do they need root for installation? 2020-11-27 12:15:15 I think it requires the linker to know where to find all the libs 2020-11-27 13:38:36 midasi: I assume either homebrew or nix might work, or yeah, either of those two. But i can't see it being worth it. 2020-11-27 14:24:42 there's no such thing as "system level stuff" 2020-11-27 15:29:09 If I boot up a Raspberry Pi Zero W with Alpine, can I use its serial connection out of the box or do I have to configure it first in usercfg.txt ? 2020-11-27 15:29:40 ForeverNoob[m]: I think you need to config it 2020-11-27 15:31:18 k, I'll check it out. 2020-11-27 15:32:06 here is script I made for installation on rpi zw https://tpaste.us/ma6V 2020-11-27 15:33:29 be careful with devices to not format your disks 2020-11-27 15:35:23 oh neat, that's pretty handy, thanks! 2020-11-27 15:35:41 and you're supposed to run this script from Alpine too? 2020-11-27 15:36:04 yes 2020-11-27 15:36:44 but it should work on other linuxes, though I didn't tested because I use only alpine 2020-11-27 15:37:29 cool, yeah I usually modify scripts to my own use cases. 2020-11-27 15:38:28 sure, it is wise to inspect them first 2020-11-27 17:58:07 Does Alpine have a security mailing list or RSS? 2020-11-27 18:03:26 BugHunter1000: https://gitlab.alpinelinux.org/alpine/aports/-/issues?scope=all&utf8=%E2%9C%93&state=opened&label_name[]=tag%3Asecurity 2020-11-27 18:06:22 ikke: thanks, i'm not sure how to get the rss button to work, is there a mailing list for advisories specifically? 2020-11-27 18:06:37 (or just security on Alpine in general?) 2020-11-27 18:06:44 No 2020-11-27 18:07:23 when i say i don't know how to get the rss button to work, i clicked it, downloaded the atom, but it appears to be just a duplicate listing of the page, and not a feed link? 2020-11-27 18:10:02 I get an xml file back with the issues and descriptions 2020-11-27 18:11:23 ah I got it, i had to inspect and build it from the root url and the link in the text, to use with an rss reader 2020-11-27 18:12:25 how shocking to find that kde connect is vulnerable 2020-11-27 18:12:26 Yeah, the link is just a page, the rss link is on that page 2020-11-27 18:12:52 its almost as if installing an interoperability layer in your window manager to talk to the least secure phone os on the planet will give you a bad time 2020-11-27 18:13:46 but that doesn't look like an Alpine specific problem? or is it, we pulled that into "core" because it's part of kde so technically it's one of our packages? 2020-11-27 18:14:16 Those are vulnerabilities in packages that we provide 2020-11-27 18:26:26 Thanks for the help ikke. 2020-11-27 22:55:34 hello guys 2020-11-27 22:56:09 i got bash installed but is not im my software list, how know if depend on a package? 2020-11-27 22:56:56 apk info -r bash 2020-11-27 22:57:25 alsaconf is 2020-11-27 22:57:34 required to have sound ? 2020-11-27 22:57:44 or can avoid alsaconf/ 2020-11-27 22:57:46 ? 2020-11-27 22:58:23 I think you should be able to do without 2020-11-27 22:58:36 maybe it was required for their connection :P 2020-11-27 22:59:01 how are you ikke today? 2020-11-27 22:59:17 My day is almost over 2020-11-27 23:25:16 ikke: cool get rest 2020-11-27 23:25:34 so cannot remove alsaconf right? 2020-11-27 23:28:36 I mean, ALSA is pretty much a requirement on Linux if you want audio. 2020-11-28 00:08:11 I'm kinda stuck at "Enable serial console login on USB gadget serial node" (https://www.tal.org/tutorials/raspberry-pi-zero-usb-serial-console) - There the guide instructs me to "ln -s /lib/systemd/system/getty@.service getty@ttyGS0.service" but does that mean I have to link my system's getty@.service into Raspberry Pi's "ROOT/etc/systemd/system/getty.target.wants" ? 2020-11-28 00:09:26 because in the ROOT/etc/systemd/system/getty.target.wants there's already getty@tty1.service which is a symlink to ROOT/lib/systemd/system/getty@.service 2020-11-28 00:10:25 I am confuus :( 2020-11-28 00:11:46 alpine doesn't use systemd, this guide is not appropriate for alpine 2020-11-28 00:12:10 oh DAMNIT 2020-11-28 00:12:16 completely wrong channel, sorry 2020-11-28 00:14:20 this is what I get on a Friday night when simultaneously listening to a youtube review and trying to get a serial on a RPi working -_- 2020-11-28 00:17:30 ForeverNoob[m]: better be careful when playing with V+ on gpio! 2020-11-28 00:18:15 s/with/around 2020-11-28 00:19:34 MY-R: oh yeah absolutely, I've heard devices getting blown up like that. But that's why I'm trying to connect to RPi ZW serial by setting it to a USB OTG gadget mode. This way you can just use a USB <-> USB connection to the Pi. 2020-11-28 00:20:44 :) 2020-11-28 02:18:21 better just use alpine 2020-11-28 02:38:15 hello ch# 2020-11-28 02:38:34 what is the best way to make a customized iso of alpine? 2020-11-28 02:51:08 hechos: clone aports, use scripts unser scripts/ 2020-11-28 02:51:26 yes i found but 2020-11-28 02:53:07 get errors unsatisfiable contraints: 2020-11-28 02:55:08 need to repository set. 2020-11-28 02:55:11 think so. 2020-11-28 04:23:22 is there much difference between Alpine and Void? 2020-11-28 04:26:34 Plasmoduck, Alpine is more minimal 2020-11-28 04:26:55 packages pull in less deps 2020-11-28 04:27:13 musl-only vs glibc or musl 2020-11-28 04:28:02 depends how much hair splitting you want to do though, they both fall into the category of more minimalist distros without systemd 2020-11-28 04:29:23 Nice 2020-11-28 04:29:43 I come from a FreeBSD/OpenBSD background so I think Alphine would suit me most. 2020-11-28 04:30:07 Alpine suits me because it is the most BSD-like Linux distro I've found 2020-11-28 04:30:20 I was on FreeBSD back in the old days as well 2020-11-28 04:30:44 I'm still using it now on my 27" iMac 2020-11-28 04:32:40 hehe yea i come from freebsd and i like alpine a lot so far 2020-11-28 04:32:47 FreeBSD matland 12.1-RELEASE FreeBSD 12.1-RELEASE MATDESKBSD amd64 2020-11-28 04:33:05 ^ that my main desktop, go figure 2020-11-28 04:33:31 I used it in the 4.x days, then it started to go downhill slowly, seems to have improved a bit lately though 2020-11-28 04:33:50 I still use it to make sure my C sources build there 2020-11-28 04:34:24 lol tehcloud I love your nick 2020-11-28 04:37:21 i have very little issues running freebsd as main desktop OS 2020-11-28 04:38:00 all comes down to what software you're using day to day 2020-11-28 04:38:20 i want youtube, text editor and all the chat things mainly 2020-11-28 04:38:24 and dev stuff 2020-11-28 04:38:43 yeah, I just need a simple tiling window manager, decent dev tools, ability to play music 2020-11-28 04:39:01 the alpine box i set up now will probly be used to build android 2020-11-28 04:39:09 I'm sitting on this computer with 64GB of RAM and I'm operating it like it has 1GB 2020-11-28 04:39:10 mpd 4 lyf 2020-11-28 04:39:33 not sure if that's gonna be smooth sailing just yet, all the recommendations for building android is toward ubuntu 2020-11-28 04:39:51 and the instructions tell to apt get a ton of things 2020-11-28 04:39:54 do any of y'all use a chroot for glibc stuff? 2020-11-28 04:42:21 is it possible to run glibc stuff w/ chroot? 2020-11-28 04:43:02 I've never done it... might try it tomorrow :p 2020-11-28 04:45:37 I like to have some debian like distro in qemu in case of compiling openwrt images, android stuff etc 2020-11-28 04:46:58 docker done good job with that too 2020-11-28 05:05:47 is there a way for a shell script to figure out with the current terminal has its inversescreen boolean on|off ? 2020-11-28 05:16:19 This is happening only on alpine: when I do `nc -l 5000`, port 42317 is being opened 2020-11-28 05:16:24 Does anyone know what's going on? 2020-11-28 05:17:41 alpinata: can't replicate 2020-11-28 05:19:27 try a different netcat 2020-11-28 05:27:17 Ok figured it out. I had nc version mismatch *facepalm* 2020-11-28 05:27:35 in one of the nc versions, port has to be specified with -p and is OPTIONAL 2020-11-28 05:27:47 why u do dis 2020-11-28 05:34:11 alpinata: GNU hates everyone 2020-11-28 05:37:05 -l is specifiying the port. don;t know what wacky ass implementation you're using 2020-11-28 05:42:11 c705: busybox version uses -p PORT 2020-11-28 05:42:42 nc -l 5000 works totally as expected listening on 5000 2020-11-28 05:42:50 fairly sure i'm using busybox 2020-11-28 05:43:11 what does nc -h report? 2020-11-28 05:43:24 * nc --help 2020-11-28 05:43:43 oh nevermind then 2020-11-28 05:45:10 using OpenBSD port for some reason 2020-11-28 05:45:24 maybe i'm adding it during my ansible madness. oh well 2020-11-28 05:48:07 pretty sure openBSD is the canonical, and GNU is the bastardisation 2020-11-28 05:48:17 see above, GNU hates everyone 2020-11-28 05:48:26 it's okay, i hate them too 2020-11-28 05:51:09 hehe 2020-11-28 06:16:22 thats the same fun as when you end up with the ntpd daemon :) 2020-11-28 06:16:37 totally wrong syntax and at first you dont understand why it wont accept the conf file :D 2020-11-28 06:38:39 Hi, is there any reason that torbrowser-launcher is not in the repos? 2020-11-28 06:38:49 Is it just no one has gotten around to packaging it? 2020-11-28 06:55:25 likely the latter 2020-11-28 07:02:25 ah cheers. Thank you c705 2020-11-28 07:02:31 np 2020-11-28 07:02:44 Im gonna look into packaging it this evening cause some users were asking for it 2020-11-28 07:03:08 hopefully it'll build on musl 2020-11-28 07:03:15 it's a firefox clone, so I don;t see why it wouldn;t 2020-11-28 07:04:38 ya same 2020-11-28 08:44:11 probably because browsers are one of the most expensive to maintain 2020-11-28 12:28:46 hello guys 2020-11-28 12:29:17 need to set repository on aports/scripts/mkimage.sh 2020-11-28 12:29:50 is for build a custom alpine iso 2020-11-28 12:38:38 nevermind im get --help. 2020-11-28 13:17:51 im getting erros using mkimage.sh 2020-11-28 14:12:36 is there a way i can tell apk to always install -doc and -dev packages? 2020-11-28 14:12:56 or alternatively a way to pull in -man -doc for everything 2020-11-28 14:12:58 for doc there is apk add docs 2020-11-28 14:13:06 for -dev there is nothing 2020-11-28 14:13:34 for dev there is the developer to make a script to do it xD 2020-11-28 14:14:19 will it pull the -doc for new installs if docs is installed or do i re-run when need docs for new stuff? 2020-11-28 14:14:26 the former 2020-11-28 14:14:34 neat 2020-11-28 14:15:21 i wish it also existed for -dev but heh, most other linux doesn't necessarily do better 2020-11-28 14:16:03 It's just that there is little reason to install all -dev packages 2020-11-28 14:16:08 at least -dev is consistent 2020-11-28 14:16:08 apk add archlinux 2020-11-28 14:16:19 i recall opensuse having -dev -devel -headers xD 2020-11-28 14:16:47 my reason to get all -dev would be i have space and i'm lazy :P 2020-11-28 14:17:01 certainly less need than -doc, i need manpages all the time 2020-11-28 14:17:08 Wait until you hear about -static, -libs and the interactions between them 2020-11-28 14:17:25 lol, OpenSuSE... 2020-11-28 14:17:43 the distro nobody uses but still seems to keep on truckin' 2020-11-28 14:17:52 hey, i used opensuse for a good while 2020-11-28 14:17:57 it's... passable 2020-11-28 14:18:06 you're the first person I've run into who has used it in recent times 2020-11-28 14:18:26 what tired me from it is that you have to add so many extra repos to get trivial stuff and they end up incompatible because not all of them are maintained 2020-11-28 14:18:42 I run into Fedora, Ubuntu, and Arch people in "real life" mostly 2020-11-28 14:18:56 i like rpm tbh 2020-11-28 14:19:04 it's not terrible 2020-11-28 14:19:15 but i don't particularly think fedora and opensuse are all that great as a whole package 2020-11-28 14:19:27 on the whole ubuntu seems to give less problems 2020-11-28 14:19:31 I operate a lot of CentOS at work 2020-11-28 14:20:04 centos is weird 2020-11-28 14:20:12 server that hosts my webpage runs it 2020-11-28 14:20:17 systemd is the common problem of those distros 2020-11-28 14:20:43 i don't recall any problems i ever encountered directly from systemd 2020-11-28 14:21:01 altho maybe it explains fedoras seazures when i tried it on this lappy 2020-11-28 14:21:33 it crashed during install and then when installed it crashed again and i did it away 2020-11-28 14:22:07 crashed as in locked up solid, didn't check if i could ssh in or so 2020-11-28 14:22:27 something goodly wrong for sure lol 2020-11-28 14:23:16 I've had a lot of problems with systemd... 2020-11-28 14:23:30 i'd like opensuse if their main repository was more complete, well curated and less messy 2020-11-28 14:23:48 alpine manages far better even tho less popular... 2020-11-28 14:24:30 i mean like i can get arm-none-eabi-gcc without adding some third party stuff 2020-11-28 14:24:57 not so much on opensuse, you can get it, from one of a dozen community repos that may or may not be totally broken 2020-11-28 14:25:30 nothing worse than using community repos, or in Ubuntu land "PPAs" 2020-11-28 14:25:47 it's the rough equivalent to downloading programs off the web and double-clicking in Windows :p 2020-11-28 14:25:49 it's okay if it stays within sensible limits 2020-11-28 14:26:30 i don't like the way ubuntu is going with snaps... can only have 1 repo at same time and they publicly state there is no intention to add the option 2020-11-28 14:26:59 PPAs sound bad though 2020-11-28 14:27:22 opensuse has "one click install" to emulate the windows "experience" xD 2020-11-28 14:27:24 Ubuntu is honestly as bad as Windows 2020-11-28 14:27:36 idk man it's just weird debian 2020-11-28 14:28:02 if you avoid snaps and PPAs and disable the sneaky auto update and automount it's usable ish 2020-11-28 14:28:03 I call it 'schnapps' because you have to be drunk to suggest suggest such a thing as the preferred package management 2020-11-28 14:28:16 if only it tasted as good 2020-11-28 14:29:06 it's more likely to come from the expression "oh snap!" 2020-11-28 14:29:57 not a fan of any of those types of things 2020-11-28 14:30:00 there is also AppImage 2020-11-28 14:30:07 at some point i liked ubuntu for handling multilib better than derpian 2020-11-28 14:30:14 I had some random guy come into my github issues page and demand I start packaging an AppImage 2020-11-28 14:30:18 back when 32bit was like a thing still 2020-11-28 14:30:25 I told him to fuck off, I only do source releases 2020-11-28 14:30:31 hahaha 2020-11-28 14:30:43 wtf is an appimage even? 2020-11-28 14:30:58 similar to snappy and flatpak 2020-11-28 14:31:21 i remember working with some people that had shit they were developing in a docker container 2020-11-28 14:31:28 wasn't meant to stay in a docker container forever 2020-11-28 14:31:33 C++ stuff 2020-11-28 14:31:54 and they did system("this") system("that") all over the place 2020-11-28 14:31:57 and they are all inspired by the appstores of popular smartphone vendors 2020-11-28 14:32:07 including downloading zips from the internet and extracting them to... / 2020-11-28 14:32:25 thing was supposed to be some firewall/antispam security woowoo 2020-11-28 14:32:27 we have #alpine-offtopic channel for such discussions 2020-11-28 14:32:39 i should join it, had no idea 2020-11-28 14:38:14 somebody are using aports/scripts ? 2020-11-28 14:41:57 yes, it's used to build alpine :) 2020-11-28 14:42:04 But I haven't used it personally 2020-11-28 15:00:43 tehcloud: Yeah, I'm using chroot for glibc applications and although it works very well, not all applications are working (piper, which requires active d-bus connection). 2020-11-28 15:01:14 shhhum, do you have some kind of distro installed in there? 2020-11-28 15:01:38 tehcloud: Yeah, I have Arch Linux installed. 2020-11-28 15:02:18 good to know 2020-11-28 15:02:20 For convenience sake. 2020-11-28 15:02:36 I have some commercial closed source binaries I may want to run 2020-11-28 15:02:41 (games) 2020-11-28 15:02:45 :^) 2020-11-28 15:02:50 Yeah, me too. 2020-11-28 15:04:03 ACTION uses windows 7 for those 2020-11-28 15:33:51 Has anyone here installed `zig` (the language) version 0.7.0 on alpine? 2020-11-28 15:34:04 If so, how. I'm looking to move base distros to alpine I dont see it in the package list 2020-11-28 15:34:41 zig will be upgraded after 3.13 alpine release 2020-11-28 15:35:03 for now we have zig 0.6.0 2020-11-28 15:35:58 when is the 3.13 release planned? 2020-11-28 15:36:25 next month 2020-11-28 15:36:45 what defines a new release date? 2020-11-28 15:36:59 Apachez: We have a 'fixed' release schedule, basicaly twice per month 2020-11-28 15:37:01 like is it statically every even monthdate or so? 2020-11-28 15:37:02 year* 2020-11-28 15:37:04 kk 2020-11-28 15:37:10 may and november 2020-11-28 15:37:27 But sometimes it's a bit delayed due to circumstances 2020-11-28 15:40:10 there is a standard set of apk's in the image, if I will never use ppp and the others can I just delete those or will the system become unhappy? Also do I have to run something to reindex which apk's are available (there is a zip file in the same dir) ? 2020-11-28 16:09:46 ikke: im getting error using mkimage.sh 2020-11-28 16:10:23 Can't open for reading, No such file or directory 2020-11-28 16:11:30 already installed squash-tools and xorrosp 2020-11-28 17:12:18 hrm where to get the font that the default xdm config is missing? 2020-11-28 17:12:53 i think it's the ttf version of Helvetica 2020-11-28 18:06:04 `apk add sway` doesn't work.. what? 2020-11-28 18:06:18 unsatisfiable constraints by world[sway] 2020-11-28 18:06:43 You probably did not enable the community repo 2020-11-28 18:11:38 gotcha 2020-11-28 18:11:50 is this page still up-to-date for wayland with AMD GPUs? https://wiki.alpinelinux.org/wiki/Radeon_Video 2020-11-28 18:11:58 Specifically the 5000 series, e.g. 5700XT 2020-11-28 18:13:29 I wouldn't know 2020-11-28 18:19:53 i doubt it 2020-11-28 18:20:49 apk add linux-firmware-amdgpu ; apk add xf86-video-amdgpu 2020-11-28 18:21:08 that's sufficient. you don't have to touch kernel mode settings 2020-11-28 18:37:54 someone can help with this? 2020-11-28 18:38:10 Can't open for reading, No such file or directory 2020-11-28 18:38:12 140447087885640:error:02001002:system library:fopen:No such file or directory:crypto/bio/bss_file.c:69:fopen('','r') 2020-11-28 18:38:14 140447087885640:error:2006D080:BIO routines:BIO_new_file:no such file:crypto/bio/bss_file.c:76: 2020-11-28 18:38:16 unable to load key file 2020-11-28 18:52:31 hechos: What were you trying to do when that happened? 2020-11-28 19:08:21 xordspar0: using mkimage.sh to due a custom iso 2020-11-28 20:35:36 ayo 2020-11-28 20:35:54 something weird going on with my alpine. I set everything up and all well but now PNG images look weird 2020-11-28 20:36:03 there's no transparency just stripes 2020-11-28 20:43:44 jasonv53: what viewer? 2020-11-28 20:44:02 i dont know im on firefox 2020-11-28 20:45:00 like all transparency is replaced with some weird stripes 2020-11-28 20:45:05 always different color 2020-11-28 21:11:56 any thoughts here? https://github.com/sjvermeu/cvechecker/issues/53 2020-11-28 21:12:47 Just have a bit of patience 2020-11-28 21:14:29 no worries 2020-11-29 02:13:30 https://datagubbe.se/noconf/ I'm seeing a lot of articles like this recently. They make some valid points, then they come to linux and gloss over it because they think everything has to be some systemd snap package pile of crap. alpine solves all the problems he mentions for me 2020-11-29 02:22:00 LACampbell: looks like rambling to me 2020-11-29 02:22:18 lots of bitching, no real solutions 2020-11-29 02:25:38 still has a point when it comes to graphical stuff 2020-11-29 02:25:59 I was happy enough with gtk2 apps, then they had to ruin it all. now I outsource a lot of stuff to the terminal 2020-11-29 02:34:01 i've never been a big fan of guis anyways 2020-11-29 02:34:09 if i'm doing something more than once, i'm orchestrating it 2020-11-29 03:56:39 c705: I still prefer GUIs for some things. anything visual I hate using text configs. also file browsing, though i think there's some 'new generation' CLI ones now 2020-11-29 03:56:59 but system stuff, yeah I like dirt simple config files 2020-11-29 04:25:30 howdy! does anyone using alpine who has the vkcube program working correctly (to prove drivers are installed correctly) willing to test a portable linux binary that I made which is supposed to make a vulkan hello world triangle on any linux distro? 2020-11-29 04:30:14 andrewrk: hey there; I'm afraid I don't, but I wanted to say you're incredible and do great work, and I hope life is going well 2020-11-29 04:30:37 thanks for the kind words halosghost 2020-11-29 04:32:40 ❤ 2020-11-29 07:38:38 so whose cruel joke was it to have docs.alpinelinux.org but not mention it on the homepage? 2020-11-29 07:44:37 rnkn: it is work in progress and as such is not yet official, and not a joke 2020-11-29 07:45:47 mps: was jk, I realise it's not a joke, but even in its current state it provides exponentially better docs than the wiki 2020-11-29 08:00:07 mps: changing subject, thanks to your guidance I was able to add brightness controls to acpi, but as you guessed, KEY_SLEEP will not do anything; any idea why? 2020-11-29 08:05:18 rnkn: I can't know why it doesn't work in your, especially if you don't post any data. first does evtest detect it properly and if how is it defined in your acpi.map file 2020-11-29 08:12:40 of course, sorry, pls bear with me a sec... 2020-11-29 08:13:25 I will be afk for some time 2020-11-29 08:15:31 no rush, I can ask another day 2020-11-29 08:48:40 mps: if you're still around, here's my acpi.map: http://ix.io/2FTg 2020-11-29 08:48:40 2020-11-29 08:49:34 and the lock-screen script is just: http://ix.io/2FTh 2020-11-29 08:50:00 rnkn_: and what evtest show when you press sleep button 2020-11-29 08:51:25 type 1 (EV_KEY), code 142 (KEY_SLEEP), value 1 2020-11-29 08:55:40 can you put some debug commands in your lock-screen script like 'echo something >> somewhere' 2020-11-29 08:56:05 to see does it invoke script 2020-11-29 08:57:58 huh, okay it does in fact trigger the script (I echoed some text to a /tmp file) 2020-11-29 08:58:36 maybe vlock needs to have its path explicitly set? 2020-11-29 08:58:41 so, acpid works, probably vlock is the issue 2020-11-29 09:00:18 yep, and /usr/bin/vlock -a does not work :( 2020-11-29 09:02:21 well, I don't have much experience how vlock works from scripts 2020-11-29 09:04:24 can you link me to your suspend script? 2020-11-29 09:05:18 it is simple 'echo mem > /sys/power/state' 2020-11-29 09:05:44 oh right, yeah that just shuts down my PBP 2020-11-29 09:06:25 does your script works when you invoke it from cli 2020-11-29 09:06:46 it does indeed 2020-11-29 09:07:04 so vlock seems to need a tty 2020-11-29 09:07:13 yes 2020-11-29 09:07:40 it can run only on consoles 2020-11-29 09:09:28 I tried adding TTY=/dev/tty0 but could not trick it 2020-11-29 09:14:07 setsid sh -c '/usr/bin/vlock -a' 2020-11-29 09:14:09 ^ no dice 2020-11-29 09:23:11 success! I found physlock and just used that instead 2020-11-29 09:27:51 heh, i thought to propose it to you but was not sure because never tried it 2020-11-29 09:29:39 yeh I'd prefer just to use vlock, because I overvalue minimalism, but okay, this works 2020-11-29 11:51:45 out of curiosity, how many people would you say are part of the alpine "core team"? 2020-11-29 11:58:06 rnkn: depends on how many you think works at the NSA? ;) 2020-11-29 12:00:50 because Alpine is the NSA distro of choise? 2020-11-29 12:01:00 that would be pretty cool 2020-11-29 12:02:02 well it got a sane design :) 2020-11-29 12:02:07 no systemd as a starter =) 2020-11-29 12:02:28 slim and lightweight and by that easily to go through for assurance 2020-11-29 12:04:10 Apachez: what's the NSA link tho? 2020-11-29 13:44:02 hi guys. 2020-11-29 14:39:49 qemu is metapackage? 2020-11-29 14:42:14 required by: qemu-5.1.0-r1[so:libnettle.so.8] qemu-system-x86_64-5.1.0-r1[so:libnettle.so.8] 2020-11-29 14:42:35 should be installed by apk add qemu? 2020-11-29 15:10:22 Is there a simple way to connect to a remote CUPS server with networked printer without installig CUPS locally? 2020-11-29 16:30:46 hi all, I noticed a bunch of kubernetes packages in testing; is there a writeup somewhere of how these could be used? 2020-11-29 16:32:26 I doubt it, stuff in testing is typically in the "barely exists" phase 2020-11-29 16:33:33 That sort of documentation usually comes much later, if ever 2020-11-29 16:35:56 qman__: thanks :-) I was maybe a bit optimistic trying to stand-up a single node bare metal k8s cluster on alpine; wanted to simply use minikube, but it seems to be binary incompatible with alpine due to glibc/musl differences 2020-11-29 16:36:13 Your best bet right now is checking out what's in the package, reading the manuals in the -doc package if there is one, and possibly looking up the maintainer 2020-11-29 16:38:08 You might look into k3s, it's also designed for that sort of setup, not sure if it works on alpine though 2020-11-29 16:38:25 I'm planning to do an RKE cluster myself but it's a ways off 2020-11-29 16:38:32 Mm, I saw a post about that.. k3s, is stat made by Ranger? 2020-11-29 16:38:43 Rancher, yeah 2020-11-29 16:54:18 Damn, K3S is impressive 2020-11-29 16:54:31 Thanks for the tip qman__ 2020-11-29 17:56:29 rann, there's a write-up here: https://twitter.com/alainvanhoof/status/1328079879292809216 2020-11-29 17:56:33 https://t.co/X9qAWaSPCj?amp=1 2020-11-29 18:28:06 rann: You might also be interested in podman for a single-node k8s cluster. It's not actually Kubernetes, but it is compatible with Kuberentes config. It's daemonless and optionally rootless, so it's a lot easier to set up. 2020-11-29 18:39:57 fcolista: thanks! will take a look 2020-11-29 18:41:41 xordspar0: can you export that as a service and talk to it as if it's a remote cluster? 2020-11-29 18:50:26 Hi 2020-11-29 18:52:15 Is it still needed to run a diffrent kernel for Wireguard? 2020-11-29 18:58:21 feuerteufel: What do you mean "different kernel"? For linux-lts you should install separate module (package) - wireguard-lts, while linux-edge has wireguard support built-in. 2020-11-29 19:01:46 I'm Running a "5.4.72-0-virt" and there ist also a package "wireguard-virt" installed. So that is alll I need? 2020-11-29 19:02:21 That "Wireguard-virt" is not a kernel? 2020-11-29 19:04:06 feuerteufel: You're running alpine in VM? 2020-11-29 19:04:07 I also find a "/lib/modules/5.4.78-0-virt/extra/wireguard.ko" 2020-11-29 19:04:19 yes 2020-11-29 19:04:40 feuerteufel: yes, linux-virt plus wireguard-virt 2020-11-29 19:05:18 or, if you are 'brave' linux-edge-virt for x86_64 VMs 2020-11-29 19:05:39 Yeah then, wireguard-virt is all you're need. 2020-11-29 19:06:18 Great, thx 2020-11-29 19:07:15 So I'm able to go on whith the wiki ... 2020-11-29 19:11:42 Is that the one to use? 2020-11-29 19:11:48 https://wiki.alpinelinux.org/wiki/Configure_a_Wireguard_interface_(wg) 2020-11-29 19:16:36 feuerteufel: yes, iirc 2020-11-29 19:17:16 Ok, thx 2020-11-29 19:17:49 i use it that way 2020-11-29 19:20:21 I'll try ;) 2020-11-29 20:22:12 So I started asking about this in the devel channel, but after some more tinkering and reflection I think I went the wrong way and asked in the wrong channel. :) In a nutshell, I am trying to set the console's resolution to 800x480@60. No matter what I've tried (e.g., fbdev, drm, uvesafb, etc) I cannot get the resolution to anything other than 2020-11-29 20:22:13 800x600. I'm using VirtualBox and the latest stable version (3.12?) of Alpine. The last thing I tried to do was to set the video kernel option in /etc/update-extlinux.conf, without any luck. 2020-11-29 20:26:48 hiu guys 2020-11-29 20:28:13 doesnt understood how to add utilities to a customized iso, need to edit apkovl? 2020-11-29 20:32:29 apkovl? 2020-11-29 20:34:53 halosghost: yes my bad. 2020-11-29 20:35:32 hechos: I was asking what you meant. I don't know what apkovl is 2020-11-29 20:35:54 aports/scripts 2020-11-29 20:36:15 already make own recipe and genapkovl-liveiso.sh 2020-11-29 20:36:19 for give a example. 2020-11-29 20:36:40 @halos 2020-11-29 20:36:42 already add to /etc/apk/world utilities. like mc or vim 2020-11-29 20:36:42 https://wiki.alpinelinux.org/wiki/Alpine_local_backup 2020-11-29 20:37:29 dohpaz42: cool 2020-11-29 20:37:44 im doing something wrong when boot iso mc doesnt appear installed on liveiso. 2020-11-29 20:45:09 already add to overlay in separated lines but doesnt appear on /etc/apk/world 2020-11-29 20:46:03 dohpaz42: turn off nomodeset and set virtualbox to vboxsvga 2020-11-29 21:09:25 Hello71 as near as I can tell, nomodeset is not set already. And changing to vboxsvga does not seem to help. I added the mode for my desired resolution to /etc/fb.modes, and fbset tells me there is an invalid argument; despite my copying the default output of fbset and just modifying the geometry. 2020-11-29 21:21:25 Hello71 in fact, I lose /dev/fb0 switching out to anything other than the VMSVGA virtualbox driver. 2020-11-29 21:33:22 anyone know how can due to utilities appear on live system? 2020-11-29 21:34:16 apkovl="genapkovl-custom.sh" should be difine on custom recipe? 2020-11-29 23:12:23 If I'd like to use Flatpak on Alpine, do I need to have KDE (or gnome)? 2020-11-29 23:30:51 Of course not, why would you need that? 2020-11-29 23:30:59 Just `apk add flatpak` and you're done 2020-11-29 23:33:24 Ok, thank you for the hint. I think I'll opt for xfce then 2020-11-29 23:58:03 oh flatpak 2020-11-30 00:02:36 got problems installing qemu 2020-11-30 00:02:41 ERROR: unsatisfiable constraints: 2020-11-30 00:02:43 so:libnettle.so.8 (missing): 2020-11-30 00:02:45 required by: qemu-5.1.0-r1[so:libnettle.so.8] qemu-img-5.1.0-r1[so:libnettle.so.8] 2020-11-30 00:02:47 qemu-system-x86_64-5.1.0-r1[so:libnettle.so.8] 2020-11-30 00:02:49 y 2020-11-30 00:06:10 i think it is broken on edge for now 2020-11-30 00:12:44 Hmm, can I use appimage on Alpine? I just saw a github issues thread talking about support 2020-11-30 00:13:05 I mean if something is packed as appimage 2020-11-30 00:15:43 Hello71: yeah all day. 2020-11-30 00:38:46 It looks they don't run yet because of musl, but there is work in progress. It's getting there I guess 2020-11-30 08:42:51 mps: one more question s'il vous plais! how do you measure your battery level? (I understand you're on a Chromebook not PBP, so it may not be the same..) 2020-11-30 08:43:20 or if anyone else wants to chime in re measuring battery level in alpine, that would be cool 2020-11-30 08:45:09 egrep . /sys/class/power_supply/sbs-9-000b/* 2020-11-30 08:45:30 cat /sys/class/power_supply/sbs-9-000b/capacity 2020-11-30 08:45:38 etc 2020-11-30 08:46:08 et cetera 2020-11-30 08:47:21 I have small lua applet which calculates batterry statuses and shows them in awesome wm status bar 2020-11-30 08:47:39 rnkn: ^ 2020-11-30 08:47:48 I think there are built-in plugins for that as well 2020-11-30 08:47:51 Well, I knwo 2020-11-30 08:47:55 I use them :P 2020-11-30 08:48:16 ikke: yes, but I always have to adapt them 2020-11-30 08:48:46 I have time_to_empty_now in there (different battery ofc) but looks like nothing where I could do a simple `echo 'CHARGE / charge_full' | bc` to get a percentage 2020-11-30 08:48:56 mps: yeah, undestand if it's not x86 2020-11-30 08:49:18 all mah stuff: http://ix.io/2G0y 2020-11-30 08:49:18 2020-11-30 08:49:39 ikke: right, most of software is written for x86 in mind 2020-11-30 08:49:52 voltage maybe..? 2020-11-30 08:50:17 rnkn: it is left to your imagination 2020-11-30 08:52:08 "computer, how much battery change do you have?" 2020-11-30 08:52:15 "concentrate and ask again" 2020-11-30 08:52:32 "better not tell you now" 2020-11-30 08:53:00 The imagination is strong in this one :P 2020-11-30 08:54:43 all we see as reality is imagination in reality 2020-11-30 08:56:19 ah so I think I missed the obvious 2020-11-30 08:57:13 mps: "All that we see is but a dream within a dream"? 2020-11-30 08:57:16 scale=2; voltage_now / charge_full | bc 2020-11-30 08:59:15 detha: reality is what we see in deepest sleeping without dreams 2020-11-30 09:10:54 mps: you run alpine linux on a chrome book? dope 2020-11-30 09:11:59 LACampbell: what 'dope' means 2020-11-30 09:12:45 and yes I run alpine on chromebook*S* for years 2020-11-30 09:13:18 mps: similar to 'cool' 2020-11-30 09:13:29 "Saying something is cool. Most heard in big cities." 2020-11-30 09:13:30 ikke: thanks 2020-11-30 09:14:07 speaka from Blade runner :) 2020-11-30 09:14:34 'spika' actually 2020-11-30 09:15:08 mps: so you've wiped chrome OS and it runs straight on the hardware, or is it some chroot thing? 2020-11-30 09:15:49 LACampbell: straight on hardware, what else 2020-11-30 09:16:23 mps knew the lingo, every good cop did, but he wasn't gonna make it any easier on him 2020-11-30 09:17:31 mps: idk I looked into "chromebook as cheap linux machine" a few times, and the search results were basically full of some goofy solution where chrome OS is still on the machine. so it's cool to hear you can wipe it 2020-11-30 09:23:43 LACampbell: here for examples https://archlinuxarm.org/platforms/armv8/rockchip/samsung-chromebook-plus 2020-11-30 09:24:41 https://archlinuxarm.org/platforms/armv7/samsung/samsung-chromebook-2 2020-11-30 09:24:49 and there are more 2020-11-30 09:58:09 exit 2020-11-30 09:59:29 hmm, joined to say exit and then leave again? :P 2020-11-30 10:10:30 thought it was a shell :) I'm sure I've done similar 2020-11-30 10:21:55 Question: Botched update to edge, messed up dependencies apk upgrade gives Error: unable to select packages libffi-3.2.1-r6 conflicts with libffi-3.3-r2 - any resources on how to resolve? Sorry for long text, not sure of format on irc 2020-11-30 10:37:36 rpn: and you've tried `apk fix`? 2020-11-30 10:46:51 rnkn: yes, to no avail 2020-11-30 10:48:50 well that was my one idea 2020-11-30 10:49:13 unless you have libffi-3.2.1 in your /etc/apk/world somehow 2020-11-30 10:51:00 rnkn: thank you. No, there is a line 'libffi', but no version given. 2020-11-30 10:53:10 rpn: any virtual packages? 2020-11-30 10:57:29 rnkn: like? No virtualization-stuff, installed on a netbook 2020-11-30 11:03:45 rnkn: Just read the apk-docs, no, I haven't used that feature 2020-11-30 11:18:23 Is there a way to try rebuilding/adding the packages with either libffi-3.2.1-r6 or conflicting libffi-3.3-r2 ? 2020-11-30 11:26:53 you could try `apk info -r libffi` then remove those 2020-11-30 11:28:07 rpn: Do you have any python packages in /etc/apk/world? 2020-11-30 11:28:31 The issues is that some package in world that is not upgraded is holding the upgrade of libffi back 2020-11-30 11:30:12 thanks! that sounds like it - python3 and python2 are there 2020-11-30 11:30:27 That should not be an issue 2020-11-30 11:30:31 anything starting with py- 2020-11-30 11:30:59 rpn: apk version -l '?' 2020-11-30 11:31:02 what does that return? 2020-11-30 11:31:43 ikke: a lot of packages with py2-* and py3-* 2020-11-30 11:33:12 Many of the py2- packages have been removed (as part of the deprecation of python2) 2020-11-30 11:33:29 ikke: "apk version -l '?'" returns a lot of packages, mostly vlc stuff 2020-11-30 11:33:48 Those are all packages that are not present anymore in the repo 2020-11-30 11:34:01 I think it was needed to build something from git at one point 2020-11-30 11:34:29 Then it's best to remove them 2020-11-30 11:34:58 ikke: Ok thanks very much 2020-11-30 11:35:18 protip: if you want to install packages because they are needed for building something, you can use something like: apk add -t foo-deps pkg1 pkg2 2020-11-30 11:35:32 this will create a virtual package called foo-deps that pulls in those dependencies 2020-11-30 11:35:42 afterwards you can just remove foo-deps and they are all uninstalled 2020-11-30 11:38:03 ikke: thanks I just read about virtual packages. Is there a way to update the packages wich were removed from the repo to newer ones? Or are the packages not updated and I have to search alternative software? 2020-11-30 11:41:04 In most cases, they are not present 2020-11-30 11:41:31 In rare cases, we didn't add the replacement in the package 2020-11-30 11:55:07 I fail with removing the packages, vlc can't be removed because of vlc-xorg and vice versa; the help says force is deprecated. how to break the circular ref? 2020-11-30 11:58:43 try to remove them both at the same time 2020-11-30 11:59:50 ikke: won't work. World updated, but the following packages are not removed due to: vlc-xorg: vlc vlc: vlc-xorg 2020-11-30 12:00:32 hmmm 2020-11-30 12:00:51 ikke: And other packages seem to be necessary for my drivers? llvm9-libs: mesa-dri-intel xf86-video-intel 2020-11-30 12:01:22 rpn: what does apk info -r vlc-xorg and apk info -r vlc return? 2020-11-30 12:01:33 Sorry for the noob-questions, btw. and thank you very much for the time 2020-11-30 12:01:47 no problem, these things can be tricky 2020-11-30 12:02:04 xf86-video-intel should still be available: https://pkgs.alpinelinux.org/package/edge/main/x86_64/xf86-video-intel 2020-11-30 12:02:13 apk info -r vlc-xorg 2020-11-30 12:02:13 vlc-3.0.9.2-r0 2020-11-30 12:02:13 vlc-xorg-3.0.9.2-r0 is required by: 2020-11-30 12:02:37 vlc-qt-3.0.9.2-r0 2020-11-30 12:02:44 apk info -r vlc 2020-11-30 12:02:44 vlc-xorg-3.0.9.2-r0 2020-11-30 12:02:44 vlc-3.0.9.2-r0 is required by: 2020-11-30 12:02:59 Sorry for copy-paste, hope that's ok 2020-11-30 12:03:12 Use a pastebin like https://tpaste.us next time :) 2020-11-30 12:03:26 ikke: will do! 2020-11-30 12:03:30 is vlc-qt present in /etc/apk/world? 2020-11-30 12:04:35 yes 2020-11-30 12:05:04 ok, try to remove all three at the same time (and later you can install vlc again if you want) 2020-11-30 12:07:36 that worked! 10 removed packages to go... 2020-11-30 12:19:04 ikke: there are a lot of dependencies for xorg and xfce touched if I try to purge the rest of the missing packages https://tpaste.us/oPgE 2020-11-30 12:23:36 rpn: mdocml is now mandoc 2020-11-30 12:23:50 man has been removed 2020-11-30 12:24:34 rpn: apk info -r llvm9-libs 2020-11-30 12:25:08 llvm9-libs-9.0.0-r1 is required by: 2020-11-30 12:25:10 mesa-dri-intel-19.2.7-r0 2020-11-30 12:41:44 ikke: do we have a notion of "replaces" in the package format of APK? That's something quite nice in Debian 2020-11-30 12:42:13 telmich: yes, we do 2020-11-30 12:42:15 and provide 2020-11-30 12:42:18 provides* 2020-11-30 12:53:46 ikke: How should I proceed? There is a mesa-dri-intel package in edge, but upgrade won't work because of the libffi-conflict. 2020-11-30 12:59:16 rpn: ok, let's start there 2020-11-30 12:59:44 apk info -r libffi 2020-11-30 13:01:09 ikke: https://tpaste.us/jn4o 2020-11-30 13:01:46 apk info -r mozjs60 2020-11-30 13:02:47 ikke: https://tpaste.us/DM7z 2020-11-30 13:04:11 try apk add -l libffi 2020-11-30 13:05:44 ikke: https://tpaste.us/BEJ4 :( 2020-11-30 13:23:44 ikke: does my world-file help to narrow down the issue? 2020-11-30 13:24:17 I think you need to do the same trick as you did with vls 2020-11-30 13:24:20 vlc 2020-11-30 13:25:23 apk del mesa-dri-intel llvm9-libs mozjs60 2020-11-30 13:27:59 looks like I messed my packages up very much https://tpaste.us/by1J 2020-11-30 13:30:27 apk del mesa-dri-intel llvm9-libs mozjs60 xf86-video-intel 2020-11-30 13:30:37 maybe skip mozjs60 for now 2020-11-30 13:30:43 That worked 2020-11-30 13:30:51 ok, cool 2020-11-30 13:31:01 https://tpaste.us/7gM6 2020-11-30 13:32:12 what does `apk upgrade` do now? 2020-11-30 13:33:08 So I basically have to purge everything in apk version -l '?' - output until upgrade works and then re-install the packages that replace the functionality - if I find them? 2020-11-30 13:33:39 Yuo 2020-11-30 13:33:42 yup 2020-11-30 13:34:19 You can install xf86-video-intel again now 2020-11-30 13:34:20 https://tpaste.us/1JXZ 2020-11-30 13:34:56 so wayland-libs-client and wayland-libs-server 2020-11-30 13:35:31 hmm 2020-11-30 13:37:05 that is like the whole of the desktop/gui stuff https://tpaste.us/praE 2020-11-30 13:41:02 The other packages have a lot of dependants, too https://tpaste.us/W7xK 2020-11-30 13:42:04 can you paste the latest output of apk info -l '?' 2020-11-30 13:44:00 apk info won't take that flag, apk version -l '?' is here https://tpaste.us/g6g5 2020-11-30 13:49:04 sorry, yes 2020-11-30 13:49:39 so mozjs60 is now mozjs78 2020-11-30 13:51:02 How do I upgrade it and the depending packages? Thanks again for your time, I have a lot to learn about package-management 2020-11-30 13:52:58 ikke: polkit needs it https://tpaste.us/ejPB - should I try to upgrade that to latest? 2020-11-30 14:01:05 ikke: looks like i need to re-install all desktop-related stuff 2020-11-30 14:15:55 apk del --rdepends pkgname 2020-11-30 14:20:10 mps: thanks 2020-11-30 14:22:45 ikke: thank you again, upgrade is working, I just have to install my desktop-environment stuff 2020-11-30 14:39:14 sudo apk list *xfce4* 2020-11-30 14:39:35 sorry, thanks again @all i need sleep 2020-11-30 14:39:51 rpn: o/ 2020-11-30 16:13:05 How do I raise resource limits for services? 2020-11-30 16:13:24 I tried using /etc/security/limits.conf and limits.d, but the settings don't seem to be applied at all. I already installed the shadow package 2020-11-30 16:13:30 What else do I need to do? 2020-11-30 16:13:37 pam does not affect services 2020-11-30 16:13:52 The values weren't even set for my interactive user session 2020-11-30 16:13:54 check the comment in /etc/rc.conf 2020-11-30 16:14:09 How do I do that then? 2020-11-30 16:15:21 You can set rc_ulimit in /etc/conf.d/ afaik 2020-11-30 16:15:31 Ah, ty 2020-11-30 16:15:35 And for interactive users? 2020-11-30 16:15:47 Then pam + shadow should work 2020-11-30 16:16:20 ulimit -n 4096 in .profile? (4096 is max what can set by default) 2020-11-30 16:16:32 I am logging in as root over SSH and my nofile should be 16000 (that's set in limits.conf), but it doesn't affect the login 2020-11-30 16:16:55 hmm, maybe for ssh you need to do something as well 2020-11-30 16:18:06 Thermi: UsePam yes in /etc/ssh/sshd_config? 2020-11-30 16:18:10 (it defaults to no) 2020-11-30 16:19:31 Thermi: and install openssh-server-pam 2020-11-30 16:19:37 Ah, ty 2020-11-30 16:21:46 MY-R: people after want to increase hardlimits, not softlimits 2020-11-30 16:21:58 nope 2020-11-30 16:21:59 doesn't work 2020-11-30 16:22:09 oh 2020-11-30 16:22:10 nvm 2020-11-30 16:24:32 ikke: I couldnt get work that on alpine with pam/shadow/limits.d etc so 4096 was max what I could set without previous not working tools, always better than default 1024 2020-11-30 16:24:50 but it was time ago, maybe something changed 2020-11-30 18:02:15 can someone explain me what protected-paths.d does? does it prevent apk from changing the files? 2020-11-30 18:02:50 caskd: it's for lbu 2020-11-30 18:03:00 it tells lbu what files to include in the apkovl 2020-11-30 18:32:32 alright, keep learning finally got custom iso but for testing purpose neeed qemu works and for now cannot got 2020-11-30 18:33:40 Failed to bind socket: Address not available 2020-11-30 20:20:08 hey guys can anyone explain to why am i gettin error "ERROR: APKINDEX.tar.gz: BAD signature" on second package build ? 2020-11-30 20:20:21 Hello 2020-11-30 20:20:34 Why some packages like https://pkgs.alpinelinux.org/packages?name=xorg-server-xwayland are not available for all arch? 2020-11-30 20:20:35 hi 2020-11-30 20:21:27 not all arch are supported wayland. think so. 2020-11-30 20:21:57 i successfully builded package named alpine-fpm-7.3.8-r0.apk, and after i tried to build another ona named alpine- 2020-11-30 20:21:57 nginx-1.16.1-r0.apk 2020-11-30 20:24:58 TheFatal: somethigns with signature abuild-keygen -i - 2020-11-30 20:24:59 a 2020-11-30 20:25:39 im not sure but thinkso is from something like that 2020-11-30 20:27:35 mimi89999: it is currently being moved from main to community 2020-11-30 20:27:43 made a custom iso and when try to install os apk give me missing required by: world 2020-11-30 20:28:07 /etc/apk/repositories is prorperly setup. 2020-11-30 20:28:25 Hello71: Will the armv7 builds come back? 2020-11-30 20:28:29 wait few hours and try again 2020-11-30 20:28:39 https://git.alpinelinux.org/aports/tree/community/xorg-server/APKBUILD#n8 2020-11-30 20:29:03 OK 2020-11-30 20:29:13 So moving it triggered a rebuild? 2020-11-30 20:29:28 yes 2020-11-30 20:31:53 But the `mips64` package seems to still be in main 2020-11-30 20:31:58 if you are in rush then switch to 3.13 for now 2020-11-30 20:32:28 mips builders are not working 2020-11-30 20:32:46 I have armv7 2020-11-30 20:33:02 hm, i think 3.13 is actually still in progress 2020-11-30 20:33:06 it is 2020-11-30 20:33:32 there is no 3.13 directory available yet 2020-11-30 20:33:38 yeah 2020-11-30 20:34:38 hechos any idea how to fix it ? 2020-11-30 20:35:17 TheFatal: have no idea, just start working on custom iso and need to make key to build these. 2020-11-30 20:35:39 TheFatal: copy the public rsa key in ~/.abuild to /etc/apk/keys 2020-11-30 20:35:46 TheFatal: last week have to build b43 firmware and need signature so 2020-11-30 20:36:01 ikke: hi dude. 2020-11-30 20:36:14 how are you today? 2020-11-30 20:36:28 A bid of a headache, but doing fine 2020-11-30 20:36:30 bit* 2020-11-30 20:36:40 lol, take it easy. 2020-11-30 20:37:16 im dealing with this custom iso and apk cannot see packages from external repositories. 2020-11-30 20:38:57 hechos: you need to specify --repository 2020-11-30 20:39:39 custom iso is succesfully build. 2020-11-30 20:40:33 but something in my custom iso has config and when try to install operating system or to chroot apk show missing dependencies. 2020-11-30 20:41:09 did you specify --repository? 2020-11-30 20:41:38 o yeah and even use file config repositories. 2020-11-30 20:41:50 Where did you point --repository to? 2020-11-30 20:42:44 MAIN=http://dl-cdn.alpinelinux.org/alpine/latest-stable/main 2020-11-30 20:43:04 hmm, ok, that looks goo 2020-11-30 20:43:06 good 2020-11-30 20:43:47 yeah rare on void script work fine, but from this iso dont work. never try this script on official iso. 2020-11-30 20:43:48 so can you check /etc/apk/repositories when get these missing dependencies? 2020-11-30 20:48:11 hmmm 2020-11-30 20:48:43 somethings strange here cache -> /media/usb/cache 2020-11-30 20:48:58 ohh is mounted on /media my usb. 2020-11-30 20:49:00 damm. 2020-11-30 20:49:01 guys, it seems its working now 2020-11-30 20:49:13 TheFatal: How you fix? 2020-11-30 20:50:18 jus coppied rsa pub to /etc/apk/keys as ikke said 2020-11-30 20:50:31 ty guys 2020-11-30 20:50:37 TheFatal: aha thanks for the tip. 2020-11-30 20:50:52 cya 2020-11-30 20:50:53 if you use abuild-keygen -ain, it will automatically install it 2020-11-30 20:51:37 ikke: yeah made a script to prepare dependencios to build custom iso. 2020-11-30 22:02:59 Is the armv7 builder running? 2020-11-30 22:03:34 builder or CI host? 2020-11-30 22:04:06 package builder 2020-11-30 22:05:22 yes, it's working on openjdk8 2020-11-30 22:32:20 https://build.alpinelinux.org/ 2020-11-30 22:37:22 build failed... that aint good 2020-11-30 22:37:33 aarch64 failed 2020-11-30 22:37:41 It failed Firefox 2020-11-30 22:37:50 yes, someone needs to look at it 2020-11-30 22:39:08 I remember that Firefox failed in Debian recently. 2020-11-30 22:43:05 it failed all kind of stuff as it seems 2020-11-30 22:50:46 ikke: apk can install packages on live system but faild dependencies on chroot. 2020-11-30 22:52:43 even when add to /etc/apk/repositories new address repositories, cannot resolve depends to install to an chroot. 2020-11-30 23:06:28 Is there a list of all failed builds? 2020-11-30 23:06:46 they are announced in #alpine-commits 2020-11-30 23:07:20 https://irclogs.alpinelinux.org/%23alpine-commits-2020-11.log 2020-11-30 23:07:43 oh, that's not helpfull 2020-11-30 23:07:49 the bot does not log itself 2020-11-30 23:09:07 yes :) 2020-11-30 23:09:31 else my local log files would be too big 2020-11-30 23:09:46 well, my local log file would contain it 2020-11-30 23:45:52 In need of some help , trying to follow this guide on a vm , and I am stuck on installing the alpine-base 2020-11-30 23:46:03 apk add --root=/mnt/root --initdb $(cat /etc/apk/world) 2020-11-30 23:47:15 running that command returns: unsatisfiable constraints 2020-11-30 23:48:06 https://imgur.com/a/iMHh3nH