2020-07-01 04:20:07 ah, bummer. i only just noticed that the aws-cli package is version 1 2020-07-01 06:42:05 hi there 2020-07-01 06:42:44 someone has an idea why I can't add my google account into GNOME? it opens the webpage to authenticate through google form, but after typing my address it simply says "sorry an error occured" 2020-07-01 06:54:40 markand: Huh, that worked for me a few months ago 2020-07-01 06:54:55 I'll check if when I'm Home 2020-07-01 07:29:34 So am in a bizarre situation. Pulling a disk from raid causes Alpine to go to the recovery prompt. 2020-07-01 07:48:49 Booted memory stick to partition new drive and rebuild array. Would installing syslinux be required? 2020-07-01 08:57:39 So WD red shr disks are slooooow 2020-07-01 11:35:10 which is better w3m or elinks? 2020-07-01 12:06:42 elinks is closer to the definition of a browser, whereas w3m is more like a "viewer" 2020-07-01 12:06:42 Based on that you can pick whatever suits your requirements better 2020-07-01 12:55:19 Is there a link to the process fo requesting certain software is added to the repositories? 2020-07-01 12:56:24 It's a matter of creating a ticket here: https://gitlab.alpinelinux.org/alpine/aports/-/issues 2020-07-01 12:59:30 Okay thanks. Will get this server configured and determine if there is a real need. sshl is one. 2020-07-01 13:06:41 EF, sshl or sslh? 2020-07-01 13:10:25 Hi. 2020-07-01 13:21:52 guys: l 2020-07-01 13:21:53 ocalhost:~# cat > test << EOF 2020-07-01 13:21:53 EOF 2020-07-01 13:21:53 # $(cat /etc/alpine-release | cut -d'.' -f1,2) 2020-07-01 13:21:53 -ash: : not found 2020-07-01 13:21:53 $(cat /etc/alpine-release | cut -d'.' -f1,2) 2020-07-01 13:21:54 localhost:~# cat test 2020-07-01 13:21:54 # 2020-07-01 13:21:55 v3.8 2020-07-01 13:21:55 localhost:~# 2020-07-01 13:21:56 here why the first line give me error? 2020-07-01 13:25:20 Do you happen to have carriage returns in there? 2020-07-01 13:33:57 I'm trying to rebuild the boottime apk index included with the iso, but I get this error on bootup: "package mentioned in index not found" 2020-07-01 13:34:46 I've generated a pub/priv key pair and stuck them in /etc/apk/keys, and I'm thinking that might not be the right spot. 2020-07-01 13:44:44 hello, i extrated the displaylink driver for ubuntu, and while installing manually it asks me a methotd on how it can be launched 2020-07-01 13:45:04 Please set an environment variable SYSTEMINITDAEMON to 'upstart', 'systemd' or 'runit' before running the installation script to force one of the options. 2020-07-01 13:45:29 i know alpine has not systemd, but what about upstart or runit? 2020-07-01 13:46:53 It uses openrc, which is none of those. You can install runit independent of openrc, and then let runit manage your displaylink driver launching. 2020-07-01 13:48:18 superduck: brb 2020-07-01 13:54:52 MY-R: sslh, always get it backwards 2020-07-01 13:56:15 i installed runit 2020-07-01 13:56:33 how can i set this environment variable? 2020-07-01 13:56:58 export SYSTEMINITDAEMON=runit ? 2020-07-01 13:57:00 EF, package is in EDGE testing: https://pkgs.alpinelinux.org/packages?name=sslh*&branch=edge 2020-07-01 14:02:03 ok thanks. Am on 3.12 at the moment. 2020-07-01 14:10:44 how can I enable DKMS? 2020-07-01 14:12:58 hi all can apk download from password protected site? 2020-07-01 14:13:32 i tried /root/.netrc but not helped 2020-07-01 14:14:37 indy: did you try http://user@pass:whatever/ 2020-07-01 14:14:51 no 2020-07-01 14:16:19 Hello71, another problem is that password contains '@' sign 2020-07-01 14:16:26 and it is https 2020-07-01 14:16:51 I think basic auth does not support username containing : 2020-07-01 14:16:56 ikke i resolved putting a echo in first line after the EOF of the cat line.. the problem was lack of bash in busibox fisrt minutes after install.. i cannot be installed .. thanks any way.. 2020-07-01 14:17:00 probably some servers are more picky 2020-07-01 14:22:40 Hello71: (If you check Orange's blackhat talk about parsers you'll learn that implementations essentially ignored the RFC and proceeded to do the dumbest possible things they could) 2020-07-01 14:23:04 well I already know that URL parsing is done as shit as possible 2020-07-01 14:23:24 and I would be surprised if authentication was done better for some reason 2020-07-01 14:23:56 Hm, but my opinion has shifted from misinterpretation to the reckless and malicious 2020-07-01 14:25:23 E.g. a specification might say "the colon has to be last", to which implementations ignore and parse a colon however they want. "A header must be terminated by CR LF", implementations do whatever they hell they like 2020-07-01 14:26:13 Even curl, as per that talk, can't even reliably parse a url whereby the bug report essentially told Orange to ensure you only give valid urls to curl 2020-07-01 14:30:03 Unsatisfied dependencies. Missing component: DKMS. <-- Any chance to fix this? 2020-07-01 14:49:42 id4rk: Maybe a bit of context would help 2020-07-01 14:51:32 Cogitri: scroll up 2020-07-01 14:52:04 Ah, oops 2020-07-01 15:02:40 I'm tying to make DisplayLink driver work. 2020-07-01 15:05:30 I'm just trying to efi load alpine 3.12; however the screen stays black and the t490s then reboots; booting ubuntu, the grub menu is shown 2020-07-01 15:06:05 I'm just reporting this, because it has happened for all devices I recently tried to install alpine to -> something is not good with the efi loader on many systems 2020-07-01 15:06:34 hi, everyone 2020-07-01 15:27:33 I think alpine uses grub for efi by default 2020-07-01 15:27:43 did you disable secure boot 2020-07-01 15:55:44 I am gonna use musl as main install and see what happens 2020-07-01 16:04:52 what's a ultra ligth, non-mem hogger, torrent for musl? 2020-07-01 16:05:53 I'm running Alpine on a Raspberry Pi and am trying to find out how to persistently add a custom init script. lbu does not track /etc/init.d and I don't know how to convince it otherwise 2020-07-01 16:06:25 My goal here is to get console autologin. For that I'd like to have a copy (or symlink) of /etc/init.d/agetty as agetty-autologin.tty1 2020-07-01 16:07:14 I'm pretty much a noob here as Alpine is my first exposure to OpenRC and I've not been able to find an anwer on the wiki or elsewhere 2020-07-01 16:07:42 fruchti: also look into /etc/inittab 2020-07-01 16:08:35 moosl: what has that to do with it? 2020-07-01 16:09:14 ikke: there are options for console login, plenty 2020-07-01 16:12:33 Oh, thanks, that's a lot easier actually! 2020-07-01 16:12:48 moosl: I missed that part :) 2020-07-01 16:12:58 You need agetty for autologin though 2020-07-01 16:13:02 bb getty does not support it 2020-07-01 16:13:05 ikke: I recalled that part from past battles 2020-07-01 16:14:08 ikke: Yeah, used agetty and had it working in no time 2020-07-01 16:15:07 While I'm here… Is there a straight-forward way to defer network connections until after console login? 2020-07-01 16:15:38 fruchti: rc-update del 'whatever netwoking service' 2020-07-01 16:15:59 fruchti: look at 'rc-update show' or play 'rc-update' 2020-07-01 16:16:26 moosl: I guess moving them from 'boot' to 'default' won't make a difference? I'd still like to be able to SSH into the RPi 2020-07-01 16:16:49 I just won't need to usually and not having the boot time hit would be nice 2020-07-01 16:17:37 adjust it to your own needs, if default is to much you could prolly do a simple script to trigger it late. 2020-07-01 16:48:12 Anyone able to provide assistance with how to build an APKINDEX that doesn't break apk? 2020-07-01 16:51:06 Well, I'm not sure about that, but for a subpackage I can not give a name like foo-bar() ? It must be _foo_bar and in subpackages list I have to made a transformation $pkgname-foo-ba:_foo_bar ? 2020-07-01 17:09:55 Anyone know how to address "package mentioned in index not found" with a custom APK repository? I think it's a bad APKINDEX, but maybe not. 2020-07-01 17:17:46 superduck: sorry I have no idea about custom repos in apk 2020-07-01 17:27:47 superduck: I just use abuild. It will add the package in ~/packages with a proper APKINDEX 2020-07-01 17:30:00 Looks like I might need this extension: abuild-sign --installed 2020-07-01 17:46:27 does windoze10 suffer mental retardation? 2020-07-01 17:47:21 on an underpower machine musl is able to play 720p60 smoothly with 2GB ram, while windoze10x32 chokes and with 4GB of ram 2020-07-01 17:47:39 aiee, yet another chromebook converted to Alpine linux with kernel 5.7 \o/ 2020-07-01 17:47:55 Acer R13 2020-07-01 17:49:14 am about to do this on intel tablet as m$$10 gives really weird issues. 2020-07-01 17:52:11 mps: I heard that new chromebooks are not linux-friendly 2020-07-01 17:53:41 ehm, right, and even old ones are not friendly 2020-07-01 17:54:26 too much locked for making normal linux on them 2020-07-01 17:56:21 but I didn't found anything better with arm cpus to run linux and move it around, using them as notebooks about 5 years 2020-07-01 17:57:06 mps: you can run linux on androids without a problem 2020-07-01 17:57:42 plenty of excellent rooted devices out there 2020-07-01 17:58:07 moosl: this type of devices are not useful to me 2020-07-01 17:58:54 I want big screen, keyboard, touchpad, usb ports etc, like normal notebooks 2020-07-01 17:59:07 oh I see. 2020-07-01 17:59:22 but arm based 2020-07-01 18:01:01 my current notebook is less than 1Kg weight, have long time on battery, screen resolution 2400 x 1600 2020-07-01 18:01:42 with alpine on arm64, ofc 2020-07-01 18:03:01 unowe[d]: what notebook is that? sounds pretty decent 2020-07-01 18:04:34 mps: what about battery life? 2020-07-01 18:04:43 samsung chromebook one plus, https://www.samsung.com/us/computing/chromebooks/12-14/xe513c24-k01us-xe513c24-k01us/ 2020-07-01 18:05:46 moosl, and what did you use to play that video on windows and alpine? 2020-07-01 18:06:02 moosl: depends on work, compiling shorten time fast, but normal use keep it about 6-7 hours 2020-07-01 18:06:24 mps: ha ha! arm macbook 2020-07-01 18:06:43 MY-R: youtube 720p60 vids 2020-07-01 18:07:30 firefox? chromium? gpu acceleration on or off? 2020-07-01 18:08:08 MY-R: firefox 2020-07-01 18:08:25 firefox 2020-07-01 18:08:30 no GPU drivers, panfrost for mali is still buggy 2020-07-01 18:09:03 MY-R: I assume the wintel tablet turns it on by default 2020-07-01 18:09:27 not always 2020-07-01 18:11:42 so turn it on in firefox prefernces? 2020-07-01 18:14:25 i'll check, it doesn't matter because soon muls will nuke windoze 2020-07-01 18:59:24 mps, because of your performance edge kernel I had to install cpupower package! ;) to allow my cpu to drop frequencies down when idle :D 2020-07-01 19:01:21 but also learnt that intel_pstate doesnt support governors like "ondemand" :P 2020-07-01 19:02:56 MY-R: you are free to fill issue/bug about that 2020-07-01 19:05:05 moosl: btw, I forgot that my first arm based 'notebook' was asus transformer TF101 (iirc) with docking add on, long time ago 2020-07-01 19:05:37 it isnt a problem and not even sure if got some power usage impact because didnt notice any higher temperatures on cpu even if freqs were all time max 2020-07-01 19:05:45 I installed debian on it and used it about 4 years as notebook 2020-07-01 19:07:55 MY-R: yes, I wanted this kernel to be small and because that not much features are enabled, but I'm open to hear suggestions and ideas from anyone 2020-07-01 19:08:25 and, as you know, every alpine developer can make tweaks and push 2020-07-01 19:10:28 When an abuild build success but the installation part failed, can I restart only the installation part withotu the need to rebuild fro mthe beginning ? I tried abuild package , but look like it's not the right command 2020-07-01 19:11:40 abuild rootpkg 2020-07-01 19:11:50 abuild index 2020-07-01 19:11:59 abuild -h 2020-07-01 19:12:10 mps, in my case I learnt something new but not sure how it work on for example ARM boards, arent temperatures there higher when idle and set default to "performance" ? 2020-07-01 19:12:37 yes 2020-07-01 19:12:48 but people like performance 2020-07-01 19:13:09 thx I know abuild -h, but sometime s Ican have some difficulties to understand things. Now, it's more clear for me 2020-07-01 19:13:14 and there are modules for those who want to change that 2020-07-01 19:15:22 yep 2020-07-01 19:17:04 mps: so i guess upsteam fixed grub. that was nice of them ;) 2020-07-01 19:17:36 nowadays people don't care about energy usage but abour performance and features 2020-07-01 19:17:40 also, i believe i already know the answer to this, but does apk do integrety checks on packages that i'm pulling in from apd add 2020-07-01 19:17:51 yes 2020-07-01 19:18:14 try removing the keys from /etc/apk/keys :) 2020-07-01 19:18:35 ikke: these keys are part of alpine-base or apk-tools I imagine? 2020-07-01 19:18:46 alpine-keys is a separate package 2020-07-01 19:18:48 but yes 2020-07-01 19:18:53 I see. cheers! 2020-07-01 19:19:58 Actually I lied. grub still broken (upstream I assume) 2020-07-01 19:26:56 mps: uh... think you should talk to the overwhelming majority of Linux system owners (cloud + Android) 2020-07-01 19:33:39 I have a foo-dev and a foo-bar-dev which both are subpackages from foo and some files I want to foo-bar-dev are automaticaly installed in foo-dev. The foo-dev() is not explicitly written in the apkbuild. I have two ideas to move my files from foo-dev to foo-bar-dev. I'm asking first because the compilation is long. Can I inside a subpackage do a mv "pkgdir-dev"/a/b/c "subpackage"/a/b/ or should I have to write the foo-dev() 2020-07-01 19:33:40 in the apkgbuild 2020-07-01 19:35:43 if you place foo-bar-dev before foo-dev, then you can move it from $builddir to $pkgdir before they have been moved to foo-dev 2020-07-01 19:36:09 in subpkgs 2020-07-01 19:36:35 or from $pkgdir to $subpkgdir I mean 2020-07-01 19:37:18 ha! ok so even of the foo-dev is not written in the apkbuild, there are always first in the foo package, but the move is done automatically from foo to foo-dev 2020-07-01 19:37:37 there is a default_dev function that does that 2020-07-01 19:39:05 thx a lot ikke, I will take a look at this function 2020-07-01 19:39:34 there is also a helper function called amovre 2020-07-01 19:39:37 amove 2020-07-01 19:39:54 it can make it easier to move a file to another dir, including the parent directories 2020-07-01 19:40:24 thx 2020-07-01 19:56:25 hi 2020-07-01 19:56:31 Oh it looks like albr hasn't died yet 2020-07-01 19:56:37 heh 2020-07-01 19:56:50 but not a lot of activity 2020-07-01 19:57:26 I see 2020-07-01 22:50:16 Hello, I am having an issue and was hoping someone is available to help me. 2020-07-01 22:50:50 I have VMWare Workstation 14. I downloaded both the virtual and standard ISOs for Alpine 3.12.0. The checksums match so I know the downloads are good. Whenever I try to install either version in a new VM, it never boots from the ISO. I don't have any issue booting other ISOs. Pressing ESC to specify boot device nor changing BIOS settings makes a 2020-07-01 22:50:50 difference, and really, it should boot from CD by default anyway. I'm not sure what's the matter. Any ideas? 2020-07-01 23:01:27 Aaaaand a success report: 2020-07-01 23:02:09 I'm running alpine on the T490s. After changing the USB port (!) the loader worked in uefi mode 2020-07-01 23:24:45 howdy. I am curious what the status of grub2 support is with Alpine Linux, sufficient to support a completely encrypted /boot partition? The threads I've been reading give conflicting results, as it looks like grub 2.06 has not yet been integrated into Alpine yet? 2020-07-01 23:25:35 anyone using alpine in bhyve (freebsd vm) to watch netflix? 2020-07-01 23:26:55 godot: grub doesn't really require distro support... 2020-07-01 23:27:07 joe9: didn't you just ask about this in #freebsd 2020-07-01 23:28:10 Well, pulling grub-current and doing the install would result in subsequent package updates nuking that config, no" 2020-07-01 23:28:12 ? 2020-07-01 23:31:12 Hello71, on that forum to check if there was a way to do natively on FreeBSD. I cannot find any reference to widevine and FreeBSD. So, want to check if I can use alpine in a vm instead. 2020-07-02 05:16:33 Is there an updated definitive howto for persistent disk install for rpi3? 2020-07-02 05:17:20 I've tried the howto currently on the wiki a few times but something doesn't seem right. 2020-07-02 05:21:56 MrPotatoBob[d]: hello! anyone here use alpine as a desktop os, hows the experience? 2020-07-02 05:32:04 Me, it is pretty decent 2020-07-02 09:33:19 Are there any limitations to using syslinux with a seperate /boot and encrypted root please? 2020-07-02 10:00:46 if I have only an apkovl from a usb that was setup nicely 2020-07-02 10:01:22 now I wish to re-create said config, so since I have the apkovl, I setup alpine on a new usb (setup-bootable), and then remount as rw and copy the apkovl 2020-07-02 10:02:43 I reboot, now my settings are back, but some kernel modules are not loaded and other things. So I think maybe its the missing cache, I setup apk cache and I see all my programs downloaded into the cache. Still not like the original USB though.. is there an obvious step I missed? 2020-07-02 10:06:43 To answer my own question, possibly but even the higher security option in the wiki works with a non-encrypted /boot (mine is on raid1 too). 2020-07-02 10:31:37 can you somehow manually verify apk packages for another architecture? 2020-07-02 10:32:19 when running "apk verify someaarch64package" on an x86_64 system i get an UNTRUSTED back 2020-07-02 10:32:40 x86_64 packages work fine 2020-07-02 10:37:11 where is the best place to get the alpinelinux logo? 2020-07-02 10:37:38 been browsing through https://gitlab.alpinelinux.org/alpine not sure which repo 2020-07-02 10:44:17 i guess i could just edit https://alpinelinux.org/alpinelinux-logo.svg 2020-07-02 10:53:32 Hi again. I am trying to figure out what level of support Alpine Linux has for GRUB2 / grub 2.06, to facilitate a completely encrypted /boot partition? And in the event this is not a natively supported package, what issues there would be with pulling grub 2.06 manually during the install in terms of future package updates? 2020-07-02 10:56:17 As it looks like the most current grub integration is grub-2.04-r1.apk but from what I understand grub 2.06 is needed for encrypted /boot 2020-07-02 11:03:03 godot, 2.04 working just fine with fully encrypted /root , if using BIOS (MBR) then can have just one single partition with LUKS, for EUFI stuff of course need extra unencrypted partition with /boot/efi 2020-07-02 11:03:52 but installation process is more manual and done in chroot 2020-07-02 11:05:22 and if I remember correctly 2.04 don't have LUKS2 support like 2.06 2020-07-02 11:09:56 do I need to import some keys to verify packages for another architecture? 2020-07-02 11:11:27 yes, each arch has its own keys 2020-07-02 11:11:51 are these the keys under /etc/apt/keys ? 2020-07-02 11:12:05 https://gitlab.alpinelinux.org/alpine/aports/-/tree/master/main/alpine-keys 2020-07-02 11:12:05 if so what package do i need to install for other archs? 2020-07-02 11:12:38 OleTange: Each arch only has the keys relevant for that arch 2020-07-02 11:13:54 sure, but what if i need to cross verify from one arch for another arch? I guess there is a key package for each arch, so I coulkd just extract those to /etc/apk/keys and it should work, no? 2020-07-02 11:14:07 yes 2020-07-02 11:14:19 or get it from aports 2020-07-02 11:15:29 ikke: does it make sense to copy over an apkovl (diskless) from one usb to another (after running setup-bootable on the second one) ? 2020-07-02 11:16:11 Sure 2020-07-02 11:16:49 because I've been trying to do that but the new usb always has problems loading kernel modules etc, as soon as I delete the apkovl it returns to normal. I extracted the tar.gz and I dont see any files that might cause this 2020-07-02 11:17:51 problem is sometimes even the original usb fails to load some kernel modules, (after booting, if I say modprobe amdgpu it works).. dont know why it has this unpreditable behaviour, any idea? 2020-07-02 11:18:17 tried multiple USBs btw, and even an sd card 2020-07-02 11:18:32 to try rule out failure on the usb itself 2020-07-02 11:20:17 Thanks MY-R. Yes you are correct, only LUKS1 support is available with current grub-2.04, but /boot encryption is supported. 2020-07-02 11:20:48 MY-R: do you have any resources for chroot install? 2020-07-02 11:21:01 Or is that a part of the normal install process? 2020-07-02 11:21:15 the bar that extracts the cache(?) ie right before kernel loads and openrc shows the messages about services starting, this bar sometimes zips very fast (here it fails to load kernel modules), other times it goes slower and here everything loads correctly 2020-07-02 11:24:27 godot, you can try with that but there is many steps which could just omit but it will give you some point of view https://wiki.alpinelinux.org/wiki/Setting_up_a_laptop 2020-07-02 11:24:46 Thanks MY-R! 2020-07-02 12:00:42 godot, here you can use as a help that, is step by step and working fine: http://prettypasta.org/X0T33xs 2020-07-02 12:01:08 Thanks MY-R, I am going through the laptop link you sent now too. 2020-07-02 12:02:28 dunno how that laptop link will work for you, that second link is basic and simple stuff 2020-07-02 12:37:48 MY-R: have you ever done this setup with a fake raid (software) setup? It looks like the wiki discourages encryption or LVM for /boot if it's a RAID configuration. 2020-07-02 12:38:25 Your /boot partition should either not be on RAID, or else be on a RAID1 array, with no further layers of encryption or LVM. (Alpine's default bootloader extlinux can't handle either. Grub2 can handle /boot being on LVM.) The usual practice is to create a small (32--100 MB) partition for /boot. That can be a mirrored (RAID1) volume, however this is just for post-init access. 2020-07-02 12:42:56 godot, nope 2020-07-02 12:45:48 godot, but should work: https://wiki.archlinux.org/index.php/Dm-crypt/Encrypting_an_entire_system#LUKS_on_software_RAID 2020-07-02 12:46:33 I dont have any setup with qemu to check it for now 2020-07-02 12:53:18 Thanks MY-R! 2020-07-02 12:54:31 I am running /boot unencrypted on a raid 1 array and everying else on raid10 + luks + lvm using syslinux. Works fine. Grub was a PiTa, all on raid 10 was a PiTa... 2020-07-02 12:55:58 if security is that much of a concern, get an USB stick that uses AES with a PIN code and use that as your /boot 2020-07-02 12:56:53 Yeah and Dell Tower fakeraid makes it worse. They market this as a full RAID controller but it presents two drives instead of RAID volume 2020-07-02 12:57:35 godot: just use mdadm or lvm as softraid. 2020-07-02 12:57:46 EF: which one is preferable? 2020-07-02 12:58:04 I am running LUKS1 with this, hopefully. So probably LVM? 2020-07-02 12:59:45 Depends on your usecase. mdadm with luks on top and lvm on that is simple. lvm raid with seperate luks containers is also simple but requires some extra work to overcome multiple keys 2020-07-02 13:00:55 Have a read on what order to use lvm, luks and raid. It can make a lot of difference apparently. 2020-07-02 13:03:23 it shouldn't even require extra work; you'll get a device mapper entry you can then luks to your heart's content 2020-07-02 13:16:37 Thanks EF and TBB 2020-07-02 13:34:33 So I just downgraded a rig from edge to 3.12 and I'm getting `Error code: NS_ERROR_NET_INADEQUATE_SECURITY` on all HTTPS websites now 2020-07-02 13:34:43 Does someone else have the same erro? 2020-07-02 13:39:19 Cogitri: try creating a new profile 2020-07-02 13:41:28 Seems like that didn't change anything about that 2020-07-02 13:42:00 Sites like GitHub work but FF complains about weak encryption so I guess it can't use the right encryption algos for some reason? 2020-07-02 13:51:23 I heard in ff 78 there were some changes 2020-07-02 16:11:21 Does anyone have recommendations for putting sshd in my initramfs? I'd like to remotely luksOpen the root partition. 2020-07-02 16:12:09 From what I could tell mkinitfs handles decryption via a binary executable and doesn't have any hooks for alternative authentication mechanisms. 2020-07-02 16:33:50 Ok, so I've got a Dell Precision Tower which has a fakeraid type array; whenever I go to use mdadm I am getting the error that /dev/sda1 appears to be part of a raid array. It looks like dmraid is used for this type of configuration, as from what I understand fakeraid still uses software raid, but whenever a drive fails the replaced drive can be repopulated via BIOS without the need for software raid recovery. So does Alpine support any dmraid type 2020-07-02 16:33:50 configurations? 2020-07-02 16:43:51 godot: you can go into the bios and change it to AHCI mode for the sata ports 2020-07-02 16:44:06 much easier than trying to make fakeraid work 2020-07-02 16:48:50 And then use mdadm? But wouldn't that defeat the point of being able to reconstruct the RAID array via BIOS instead of OS-based recovery? 2020-07-02 16:51:05 godot: you should check if there is linux support for the hardware raid. See this which outlines the usual problems 2020-07-02 16:52:06 Okay, my copy and paste is broken 2020-07-02 16:52:07 it looks like there is a dmraid package in the Alpine package repo, I just haven't found any resources for how that would be implemented during install. How close is Arch linux to Alpine in terms of the install process? 2020-07-02 16:52:30 https://forums.freebsd.org/threads/dell-boss-vd-raid1.73878/ 2020-07-02 16:53:39 godot: why would you want to reconstruct an array via BIOS? 2020-07-02 16:53:53 that takes the machine down, whereas doing OS based recovery has the machine up 2020-07-02 16:54:00 EF: yeah that's the problem. This controller does not present both drives as a single drive, either in RAID1 or striped RAID0. Both /dev/sda and /dev/sdb show up; but as long as one drive is still healthy, a replacement can be repopulated via device BIOS instead of mdadm-based recovery. 2020-07-02 16:54:27 also, you can recover on other machines with mdadm, with BIOS you're hosed into having to recover with another controller of the same kind (which can be harder to acquire than just another box with sata ports) 2020-07-02 16:54:46 nacelle: good point. This is actually just my workstation, so whatever is easiest to recover is the goal. 2020-07-02 16:54:55 you want to avoid fake raid 2020-07-02 16:55:09 ok 2020-07-02 16:55:16 Also read https://linux.die.net/man/8/dmraid 2020-07-02 16:55:57 Try to work out what chipset you have. There is a how-to dmraid on Arch's wiki 2020-07-02 16:56:24 ok thank you 2020-07-02 16:56:37 hello 2020-07-02 16:57:01 My HP gen8 has a b120i which is not supported and the driver is propriatory (RedHat/Cent/Windows...) 2020-07-02 16:57:02 Could someone tell me how to do proxy settings so that it's compatible with apk? 2020-07-02 16:57:26 I tried to get this info from several github issue threads but no luck 2020-07-02 16:57:44 I'm trying to build a docker image behind a proxy with basic authentication 2020-07-02 16:57:57 setup-proxy? 2020-07-02 16:58:15 EF, I don't understand I'm sorry 2020-07-02 16:59:44 What do you mean by setup-proxy? 2020-07-02 17:00:49 ah ok so that's a program 2020-07-02 17:02:28 which is not available in docker images of alpine 2020-07-02 17:02:47 or at least not in 3.12 2020-07-02 17:03:44 it's part of alpine-conf, which is not installed by default on docker images indeed 2020-07-02 17:04:06 https://docs.docker.com/network/proxy/ 2020-07-02 17:12:32 Not sure if that has anything to do with it 2020-07-02 17:12:40 But I already set that one to the correct values 2020-07-02 17:13:19 I just find it puzzling that no one really seem to know how to use apk from behind a proxy. I mean even in the github issues people are just guessing. 2020-07-02 17:13:26 Yeah, it's more about the docker client to use a proxy 2020-07-02 17:14:12 setting http_proxy and https_proxy in the environment should be enough 2020-07-02 17:14:26 but apparently it isn't 2020-07-02 17:15:15 did you write export 2020-07-02 17:15:39 and did you do docker run -e 2020-07-02 17:16:10 docker run -it alpine:3.12 sh 2020-07-02 17:16:20 godot: the raid chipsets tend to be terrible 2020-07-02 17:16:24 and exported the http_proxy and https_proxy variables 2020-07-02 17:16:29 and apk update after 2020-07-02 17:16:42 did you try wget 2020-07-02 17:16:45 https://gitlab.alpinelinux.org/alpine/apk-tools/-/blob/master/libfetch/http.c#L801 2020-07-02 17:16:51 wget inside or curl/wget outside 2020-07-02 17:17:05 I get some "ERROR: http://dl-cdn...: Permission denied" error 2020-07-02 17:17:13 https://gitlab.alpinelinux.org/alpine/apk-tools/-/blob/master/libfetch/http.c#L764 2020-07-02 17:17:14 wget works 2020-07-02 17:17:15 also weren't you here earlier asking about a weird password 2020-07-02 17:17:18 curl I don't have 2020-07-02 17:18:28 hmm 2020-07-02 17:19:07 When I try to hit http://dl-cdn.alpinelinux.org/alpine/v3.12/main 2020-07-02 17:19:12 with wget that works 2020-07-02 17:19:14 Hello71: I'm still trying to figure out what support this chipset has. The dmraid docs seem to indicate that mdadm should be used if the BIOS can't reconstruct the RAID without extra software which makes sense. 2020-07-02 17:19:49 But http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz gives a 403 2020-07-02 17:20:16 inad922: are you sure your proxy is not filtering binary stuff? 2020-07-02 17:20:19 like tar.gz? 2020-07-02 17:21:13 "virus checking" 2020-07-02 17:21:33 I don't know but I'm on RHEL7 behind the proxy and I just installed some newer packages with nix and that seems to work and it works from the nix cache which are binaries 2020-07-02 17:22:33 Hah 2020-07-02 17:22:37 You might be right 2020-07-02 17:22:43 I mean I drop out of docker 2020-07-02 17:22:52 ...and it works... 2020-07-02 17:22:57 And from RHEL7 from behind the proxy I try to wget the same url 2020-07-02 17:23:02 and it doesn't work there either 2020-07-02 17:23:06 yep 2020-07-02 17:23:13 ... 2020-07-02 17:23:15 so the issue is in the proxy conf, most probably 2020-07-02 17:23:30 I don't have control over that 2020-07-02 17:23:43 ACTION shrugs 2020-07-02 17:24:21 inad922: your sysadmin is "protecting" you from doing something dangerous :) 2020-07-02 17:25:03 KatolaZ, Sure. 2020-07-02 17:25:27 Also I picked a random file from a github project release 2020-07-02 17:25:32 again .tar.gz 2020-07-02 17:25:39 and I can wget it 2020-07-02 17:25:48 So that might not be the case 2020-07-02 17:34:48 Ok, so if I change the link above to https it works. How can I make apk to download files via https rather than http 2020-07-02 17:38:52 /etc/apk/repositories 2020-07-02 18:05:24 Yeah well 2020-07-02 18:05:29 I figured that in the meantime 2020-07-02 18:05:42 Not sure who is making the alpine images on docker hub 2020-07-02 18:06:09 But if it's you guys could you change the links in /etc/apk/repositories from http to https? 2020-07-02 18:06:52 I mean my proxy drops any request for a binary if it goes through http rather than https. 2020-07-02 18:07:08 our dl-cdn only recently got valid https certificates 2020-07-02 18:07:12 It's not that I played with this for 2 hours but I guess other people have similar issues 2020-07-02 18:07:20 Hello71, Ah I see. 2020-07-02 18:07:25 your proxy is extremely broken then 2020-07-02 18:07:42 Nah, it's working fine 2020-07-02 18:07:49 I think it's doing the right thing 2020-07-02 18:08:15 no. 2020-07-02 18:08:32 Why? 2020-07-02 18:11:36 first off, blanket file type blocks are dumb. maybe there is some argument for blocking mismatched mime/content, but blanket blocks are dumb 2020-07-02 18:11:55 second, blocking only http and not https is a huge waste of time and resouces 2020-07-02 18:11:59 r 2020-07-03 03:32:01 finally found out the culprit ! 2020-07-03 03:32:25 it was the symlink (/etc/apk/cache) 2020-07-03 03:34:08 see my earlier ramdisk setups was on usb that had an extra partition (sdc1 vfat for alpine, sdc2 ext4 for storage).. this caused setup-bootable to refer to my partition with sdc1 (instead of the usual "usb"). 2020-07-03 03:35:02 on the new installation, I only had a single partition on the usb, so when I restored the apkovl (which was setup for sdc1), "usb" was broken on it. I updated lbu.conf and apk.conf, just that symlink 2020-07-03 04:42:38 abenz: ok, nice 2020-07-03 04:43:47 ikke: :) 2020-07-03 04:54:39 ikke in Dutch means 'I' or 'uncle'? trans isn't clear 2020-07-03 04:55:23 'I', it doesn't mean uncle 2020-07-03 04:56:20 google translate can be sometimes really wrong :) 2020-07-03 04:58:11 interesting thing is that my nick on some other chat system is also 'I' but in my language and written in script (alfabet) of second one lang :) 2020-07-03 05:00:37 heh 2020-07-03 05:00:46 cyrillic? 2020-07-03 05:10:02 yes, Russian, single letter 'Я' 2020-07-03 05:10:49 is this a good resource to install alpine desktop? 2020-07-03 05:10:54 https://wiki.alpinelinux.org/wiki/Desktop-notes 2020-07-03 05:11:54 joe9: it depends what 'desktop' means for you 2020-07-03 05:13:02 but, yes, it is fine guide for setup of basics 2020-07-03 05:14:48 yunfan: good morning. As of last night my working environment is intel (i386, amd64) free. only arm boxes 2020-07-03 05:14:49 I am trying to set up a linux system for my kids to watch netflix. 2020-07-03 05:15:16 Other than firefox and a point-and-click desktop, nothing much is needed. 2020-07-03 05:15:22 joe9: afaik, alpine doesn't have all needed for netflix 2020-07-03 05:15:36 oh, shit. 2020-07-03 05:15:40 thanks. 2020-07-03 05:15:57 something like closed source plugin is needed for netflix 2020-07-03 05:16:08 widewine? 2020-07-03 05:16:21 and it doesn't run on musl libc 2020-07-03 05:16:32 ok, thanks for pointing it out. 2020-07-03 05:17:24 hmm, that could be good excuse to disallow children from bad content :) 2020-07-03 05:18:48 give books to children, paper and pencils or let them to play outside 2020-07-03 05:19:51 widevine indeed 2020-07-03 05:21:32 ah nice ikke, my memory works though I never tried this and morning coffee not yet finished :) 2020-07-03 06:13:15 morning, ive downloaded the aarch64 image and flashed it on a sd card, the jetson nano had a v8 arm cpu, does not seem to boot 2020-07-03 06:37:27 I’m unable to delete an outdated/old package: linux-hardened: 2020-07-03 06:37:49 alpine:~# apk info | grep hard 2020-07-03 06:37:49 linux-hardened 2020-07-03 06:37:51 alpine:~# apk del linux-hardened 2020-07-03 06:37:52 OK: 961 MiB in 158 packages 2020-07-03 06:37:53 alpine:~# apk info | grep hard 2020-07-03 06:37:54 linux-hardened 2020-07-03 07:53:59 pheoxy: it may be a dependancy issue. Have a read on "apk info" https://wiki.alpinelinux.org/wiki/Alpine_Linux_package_management 2020-07-03 08:50:59 Hello, we opened several issues on gitlab.a.o months ago. We recently also attached .patch files. What can we do to get them priotized and included into 3.12.1? 2020-07-03 08:53:04 most of them are only minor changes 2020-07-03 08:56:46 midasi: creating merge requests for them will certainly help 2020-07-03 09:01:42 ikke: we fixed the issues in your enterprise build environment. from there we cannot merge it to gitlab. that's the reason we created patches 2020-07-03 09:02:31 How is making a MR different from posting a patch for you? 2020-07-03 09:03:06 Reviewing patches in issues on Gitlab isn't really fun compared to MR 2020-07-03 09:06:14 cogitri: To create a merge request we need a public fork of gitlab afaik... 2020-07-03 09:07:29 You need to fork the repository, apply the patch on some branch and push that 2020-07-03 09:07:51 exactly, but cannot do that in our enterprise environment. it doesn't allow to push 2020-07-03 09:08:20 midasi: not over http(s)? 2020-07-03 09:08:34 I assume I can do it as well manually in the gitlab UI 2020-07-03 09:08:41 let me check that 2020-07-03 09:08:49 push over https should work 2020-07-03 09:10:49 well, there are some security restrictions, but we can try again... 2020-07-03 12:34:48 What kind of mixer do you use for changing the volume? It seems alsamixer does not render correctly for me on alpine 2020-07-03 12:35:33 Goooooooooood morning #alpine-linux. After a night a fitful wrestling with that demon spawn from hell referred to as fakeraid on Intel RSTe, I have the following issue whenever I enable a RAID1 set with ondisk metadata detected by dmraid: 2020-07-03 12:35:44 (I don't need pulse or anything, just want to tune the microphone) 2020-07-03 12:36:03 telmich: never had any issue with alsamixer on alpine 2020-07-03 12:36:20 RAID set "isw_ecijjbfbcg_Volume0" already active 2020-07-03 12:36:20 ERROR: Unable to register a device mapper event handler for device "isw_ecijjbfbcg_Volume0" 2020-07-03 12:36:44 The relevant pastebin: https://pastebin.com/fUDpVRR3 2020-07-03 12:36:52 Any ideas? 2020-07-03 12:37:32 mps: mine looks like this: https://www.nico.schottelius.org/temp/2020-07-03-143626_849x706_scrot.png 2020-07-03 12:37:56 very consistent in every Alpine installation I have seen so far 2020-07-03 12:38:26 huh, looks ugly 2020-07-03 12:38:55 :-) 2020-07-03 12:39:03 I always thought that was a locale issue on alpine and took it as the default, but hearing you it should work is interesting 2020-07-03 12:39:14 Hello guys ! I need help.. I'm trying to boot with a separate usr partition but I doest not work. I don't have binaries before userspace. I can't find any usr feature on mkinitfs. How should I do ? 2020-07-03 12:39:35 no, for me it works and looks nice even over networks on servers 2020-07-03 12:39:46 nico: works for me 2020-07-03 12:40:43 ReedWade_: do you have any clue on where the process fails? 2020-07-03 12:41:05 like, could you read stdout from /init.sh? 2020-07-03 12:41:10 Correction: it works in the console, it does not work in urxvt 2020-07-03 12:41:25 afontain_: by example I got "md5sum is missing, which suggests /usr is not mounted" 2020-07-03 12:42:00 I think usr should be mounted before all this 2020-07-03 12:42:10 telmich: and xterm? or other terminals 2020-07-03 12:42:41 What terminal are you using? I don't even have xterm installed atm 2020-07-03 12:42:44 nico: could be related to the fact that urxvt is the only terminal I know to store his terminfo in /usr/share/terminfo/ in Alpine 2020-07-03 12:43:02 It works in xterm 2020-07-03 12:43:28 you could try to create a symlink for debug purposes 2020-07-03 12:43:36 yes, urxvt want to be special 2020-07-03 12:43:43 afontain_: I think I'll just forfeit this separate usr partition 2020-07-03 12:44:04 I've never had the need for a separate usr partition 2020-07-03 12:44:47 I've done this but this seems not commun and not supported by all 2020-07-03 12:44:59 nico: for f in /usr/share/terminfo/r/*; do ln -s "$f" /etc/terminfo/r/"$(basename "$f")"; done 2020-07-03 12:45:13 maybe add a -v too 2020-07-03 12:45:39 /etc? that's interesting 2020-07-03 12:47:22 ok, just symlinked, but it dose not change anything 2020-07-03 12:47:42 well, so that's one thing ruled out I guess 2020-07-03 12:47:43 stracing it it actually opens the terminfo file 2020-07-03 12:47:47 echo $TERM? 2020-07-03 12:47:51 So it might be the right pacth 2020-07-03 12:48:09 rxvt-unicode-256color 2020-07-03 12:48:17 oh, is this one of the length issue? 2020-07-03 12:48:35 looks fine 2020-07-03 12:48:35 we install some rxvt terminfos in ncurses-terminfo-base 2020-07-03 12:49:05 hmm. trying export TERM=rxvt-unicode does not fix it 2020-07-03 12:49:11 nico: did it actually symlink something btw? 2020-07-03 12:49:19 Yes, I symlinked them 2020-07-03 12:49:48 And alsamixer opened it, I can see it in the strace output 2020-07-03 12:50:51 ACTION uploaded an image: fractal-pasted-image (5KB) < https://matrix.org/_matrix/media/r0/download/gnugen.ch/KsltxjoazjKiOvixwbRbTvrY > 2020-07-03 12:50:53 wfm 2020-07-03 12:50:55 (with urxvt) 2020-07-03 12:51:18 what? 2020-07-03 12:51:23 wow 2020-07-03 12:52:04 I setup the colours and remove the scrollbar in my .Xresources of urvt and I also setup a font 2020-07-03 12:52:08 I'll check if that is the issue 2020-07-03 12:52:41 removing font setting does not fix it 2020-07-03 12:53:15 removing the scrollbar and co also does not fix it 2020-07-03 12:53:34 and finally resetting the colours also does not fix it 2020-07-03 12:53:43 I also have rxvt-unicode-256color as TERM 2020-07-03 12:53:50 It works for you even without symlinking? 2020-07-03 12:53:56 yes 2020-07-03 12:54:14 does TERM=linux alsamixer work better? 2020-07-03 12:54:45 Does not change it 2020-07-03 12:55:08 seems like it may not be terminfo then 2020-07-03 12:55:16 Just checked the strace, it correctly accesses l/linux terminfo 2020-07-03 12:55:23 which version of alpine btw? 2020-07-03 12:55:40 I've got edge 2020-07-03 12:56:08 I'm on edge 2020-07-03 12:56:15 But I've had this problem since at least 3.11 2020-07-03 12:56:20 Probably even 3.09 2020-07-03 12:56:28 `apk upgrade -a`? 2020-07-03 12:57:03 did not fix it 2020-07-03 12:57:06 also, `find / -name *.apk-new` 2020-07-03 12:57:19 (have fun) 2020-07-03 12:58:03 or install st 2020-07-03 12:58:06 :) 2020-07-03 12:58:08 apk-new: some grub/chrony/motd/group/passwd/hostname changes 2020-07-03 12:59:30 it also works in st 2020-07-03 12:59:42 I'm now diffing the strace of alsamixer in xterm vs rxvt-unicode 2020-07-03 13:02:05 No differences until it comes to the escape sequences 2020-07-03 13:03:33 mps: can st resize the font dynamically? That's the only feature I use in rxvt-unicode frequently 2020-07-03 13:04:44 telmich: yes, but my locally built st 2020-07-03 13:04:47 :) 2020-07-03 13:05:01 it actually...wow 2020-07-03 13:05:49 damnit 2020-07-03 13:05:50 that one is nice 2020-07-03 13:06:22 if you are ready to build it yourself I can post aports patch 2020-07-03 13:06:23 ok... just need to fix its colours and then years of urxvt can be left behind 2020-07-03 13:06:40 font resize works in the default install 2020-07-03 13:06:54 c-s-pgup/pgdown 2020-07-03 13:07:22 yes, they added that in last releases 2020-07-03 13:08:08 hmm, it does not honour St.background 2020-07-03 13:08:50 xresource patch is not integrated 2020-07-03 13:09:37 Ah, I see, it comes as a patchset 2020-07-03 13:12:21 is it possible to change the colours w/o xresources? 2020-07-03 13:12:51 I assume that would involve recompiling 2020-07-03 13:13:38 quite a nice journey... I actually wanted to find out why my mic in firefox does not work :-) 2020-07-03 13:14:07 lol 2020-07-03 13:14:29 AHAAAA 2020-07-03 13:14:30 it works in chromium 2020-07-03 13:14:54 btw while we are talking about terminals, do someone know a good wayland-native terminal? 2020-07-03 13:16:44 I know there is is gnome-terminal, alacritty and termite 2020-07-03 13:16:58 I used alacritty with sway 2020-07-03 13:17:26 alacritty is quite exigent on the openGL support, so it doesn't work on pinephone 2020-07-03 13:17:37 telmich: st is best used if you build it yourself with patches you want/need 2020-07-03 13:18:38 I think I am hitting https://bbs.archlinux.org/viewtopic.php?id=252378 2020-07-03 13:20:25 Why do I need a terminal anyway? I've emacs! 2020-07-03 13:21:03 telmich: ah, then why do you need OS :) 2020-07-03 13:21:37 You know it is possible to use init=/usr/bin/emacs ... ;-) 2020-07-03 13:21:45 It actually works 2020-07-03 13:22:30 yes, and vim ;P 2020-07-03 13:22:55 init=X 2020-07-03 13:23:22 https://www.nico.schottelius.org/temp/2020-07-03-152251_2559x1420_scrot.png 2020-07-03 13:23:58 You know it always comes down to https://xkcd.com/378/ 2020-07-03 13:43:16 Can someone tell me how to umount /media/usb without root or sudo? I added `user` option in fstab and mounting is working now, but I can't unmount. 2020-07-03 13:48:00 question: from the Alpine install image running from USB, is there any way to reset to factory defaults, unload all packages etc without having to reboot 2020-07-03 13:49:12 echo alpine-base >/etc/apk/world; apk fix 2020-07-03 13:49:31 It does not reset the entire tempfs, just the installed packages 2020-07-03 13:51:32 yes u | update-conf 2020-07-03 13:51:58 ikke: thanks. Does that unload all packages from running memory as well? I am trying to quickly iterate through a build script without having to reboot 2020-07-03 13:52:10 godot: no, it does not 2020-07-03 13:52:19 so reboot is the only option I take it 2020-07-03 14:11:48 I added busybox-suid, but umount from user account still doesn't work (mount works). Any hints? 2020-07-03 14:12:24 umount: can't unmount /media/usb: Operation not permitted 2020-07-03 15:18:46 is it possible to re-compile entire installation? 2020-07-03 15:19:11 with -march and -mtune? 2020-07-03 15:19:25 sure 2020-07-03 15:19:38 although at that point you might as well install gentoo 2020-07-03 15:20:15 Hello71: well, gentoo's is a bit loosely put together, alpine feels more tightly fit 2020-07-03 15:20:52 uh 2020-07-03 15:21:15 is there a guide or something, or an easy way? 2020-07-03 15:22:10 I have the suspicion that the generic download is making musl underperform 2020-07-03 15:23:46 I doubt it'll make a massive difference in anything but really, really CPU intensive things 2020-07-03 15:24:49 See e.g. https://openbenchmarking.org/embed.php?i=1901086-SP-GCC9COMPI66&sha=22b4335&p=2 2020-07-03 15:25:49 So I'd say selectively just recompiling a few things which take up a lot of CPU time for you should suffice 2020-07-03 15:28:24 mm.. negligible margins 2020-07-03 15:28:40 but x264 is the worst example to compile. 2020-07-03 15:29:27 it's already heavily optimized in upstream. 2020-07-03 15:30:21 I wonder if there are such benchmarks with -Os 2020-07-03 15:31:44 akp -o "gcc options" re-compile 2020-07-03 15:31:48 *apk 2020-07-03 15:32:15 that way we would clear any doubts 2020-07-03 15:33:06 most importalty, firefox LTO + musl would rock!! 2020-07-03 15:33:14 wait, that works? 2020-07-03 15:33:20 are we gentoo now? 2020-07-03 15:36:26 no 2020-07-03 15:39:00 Well, you can set your own flags in /etc/abuild.conf and then recompile as usual with abuild 2020-07-03 16:05:40 telmich: I forgot that we already have st with xrdb patch in testing, apk info st-xrdb 2020-07-03 16:06:18 Uhh, nice! 2020-07-03 16:06:29 I will upgrade it later today to 0.8.4 2020-07-03 16:13:50 testing 2020-07-03 16:14:10 OMG 2020-07-03 16:14:17 it works instantly 2020-07-03 16:14:18 nice 2020-07-03 16:14:20 fresh 2020-07-03 16:14:21 love it 2020-07-03 16:15:38 It feels so good - https://www.nico.schottelius.org/temp/2020-07-03-181431_956x1041_scrot.png 2020-07-03 16:16:33 a terminal a gray background :o 2020-07-03 16:17:04 Maybe some background: when I started using Linux with fvwm2, I really liked the background colour. Many Linux distros and terminals later I was actually looking for the "original" configuration and years later discovered that is lightyellow2. Since then all my terminals and emacs are configured that way 2020-07-03 16:17:59 does st have link detection? 2020-07-03 16:18:32 ikke: url detection? 2020-07-03 16:20:15 telmich: just tested upgrade with new xresources patch, build flawlessly 2020-07-03 16:21:42 I did not notice that your #eeeed1 was slightly yellow btw 2020-07-03 16:21:45 ha.. 2020-07-03 16:22:07 patching my cdist configuration for my notebooks to include st settings in .Xresources 2020-07-03 16:26:49 telmich: in about 15-30 minutes upgraded 0.8.4 st-xrdb will on mirrors 2020-07-03 16:36:06 mps: That you can select urls and copy them / open in browser 2020-07-03 16:36:41 aha, thought so. there is a patch for this on st site 2020-07-03 16:37:00 So you always end up having to build / host your own package of st 2020-07-03 16:37:31 yes, I have local build with patches I need and want to use 2020-07-03 16:37:48 even some my private for tweaking some things 2020-07-03 16:38:37 most important for me is change I made to use it on HHK (Happy HAcker Keyboard) 2020-07-03 16:39:16 no other term fits this like st 2020-07-03 16:56:29 Nice - I'll certainly not run apk upgrade in a while loop until then... 2020-07-03 17:25:10 telmich, you might like the plan9 colours. very similar to that background. 2020-07-03 17:56:41 Ok I give up. I have been trying to nail down this issue for hours without any luck. When populating efi using setup-disk -m sys /mnt/, I am getting the following error although both udev and eudev packages are installed: 2020-07-03 17:57:14 Looks like it's some type of a path issue, but strace doesn't show an error stat'ing udevadm 2020-07-03 17:57:26 /var/cache/misc/device-mapper-udev-2.02.186-r1.post-install: line 4: udevadm: not found 2020-07-03 17:57:58 And I can't seem to catch this file in /var/cache/misc during the install if I suspend it, it must be written quickly then deleted. 2020-07-03 17:58:00 Any ideas? 2020-07-03 18:13:07 what happens when you run udevadm 2020-07-03 18:13:53 Hello71: it runs fine. It's on the path 2020-07-03 18:14:16 what is the difference between udev and eudev packages? 2020-07-03 18:14:33 https://git.alpinelinux.org/aports/tree/main/lvm2/device-mapper-udev.post-install 2020-07-03 18:14:40 well you shouldn't install both 2020-07-03 18:14:44 Ah 2020-07-03 18:14:49 but it shouldn't explode 2020-07-03 18:14:51 That might be it 2020-07-03 18:15:19 so which one is the better package to install? 2020-07-03 18:15:47 http://google.com/search?q=udev+vs+eudev 2020-07-03 18:16:03 Thanks Hello71 2020-07-03 18:33:57 Ok, another issue. When building mkinitfs.conf with base feature, that's not being found in /usr/local/bin/base /sbin/base etc. So what is the base feature? Is there a resource that describes all mkinitfs features? 2020-07-03 18:36:52 godot: do you mean /etc/mkinitfs/features.d/ ? 2020-07-03 18:37:32 ikke: echo features="ata base ide scsi usb virtio ext4 lvm cryptsetup cryptkey raid" > /mnt/etc/mkinitfs/mkinitfs.conf 2020-07-03 18:37:52 mkinitfs -c /mnt/etc/mkinitfs/mkinitfs.conf -b /mnt/ $(ls /mnt/lib/modules/) 2020-07-03 18:38:20 /etc/mkinitfs/features.d/base.files 2020-07-03 18:38:21 ==> initramfs: creating /mnt/boot/initramfs-lts 2020-07-03 18:38:22 cp: can't create '/tmp/mkinitfs.dgmHGm/lib/modules/5.4.43-1-lts/': No such file or directory 2020-07-03 18:38:22 cpio: --no-auto-root Do not automatically prefix input ELFs with ROOT: No such file or directory 2020-07-03 18:38:22 cp: can't create '/tmp/mkinitfs.dgmHGm/lib/modules/5.4.43-1-lts/': No such file or directory 2020-07-03 18:39:50 weird. So why is mkinitfs stat'ing /sbin/base as if it's a binary? 2020-07-03 18:41:41 mkinitfs is a shell script, so you can inspect it 2020-07-03 18:42:52 ah ok, thanks ikke 2020-07-03 18:46:09 shell quoting doesn't work that way 2020-07-03 18:46:33 echo 'features="ata base ide scsi usb virtio ext4 lvm cryptsetup cryptkey raid"' > /mnt/etc/mkinitfs/mkinitfs.conf 2020-07-03 18:47:02 the way you've written it puts "features=ata base ide scsi usb virtio ext4 lvm cryptsetup cryptkey raid" in /mnt/etc/mkinitfs/mkinitfs.conf 2020-07-03 18:47:20 which means to run the command "base" with the variable "features=ata" and arguments "ide scsi usb virtio ext4 lvm cryptsetup cryptkey raid" 2020-07-03 18:47:30 gah, my bad. should have been echo'ing into the file 2020-07-03 18:47:36 thanks Hello71 2020-07-03 18:48:44 echo """features="ata base ide scsi usb virtio ext4 lvm cryptsetup cryptkey raid"""" > /mnt/etc/mkinitfs/mkinitfs.conf 2020-07-03 18:49:08 seems one " too many on the right side 2020-07-03 18:49:12 that also won't work but for slightly different reasons 2020-07-03 18:49:39 this isn't python 2020-07-03 18:49:42 haha 2020-07-03 18:49:51 I'm rusty on shell scripting 2020-07-03 18:50:19 godot, learn plan9port's rc. It is simple and easy to remember. 2020-07-03 18:50:45 What package is that? 2020-07-03 18:50:48 I think only python uses """ 2020-07-03 18:51:14 joe9: at that rate you might as well use xonsh or something 2020-07-03 18:52:43 echo features="\""ata base ide scsi usb virtio ext4 lvm cryptsetup cryptkey raid"\"" > /mnt/etc/mkinitfs/mkinitfs.conf 2020-07-03 18:54:46 echo 'features="ata base ide scsi usb virtio ext4 lvm cryptsetup cryptkey raid"' 2020-07-03 18:55:05 I hope it works in asj 2020-07-03 18:55:14 s/asj/ash/ 2020-07-03 18:56:09 echo features='"a b c"' 2020-07-03 18:56:18 features="a b c" 2020-07-03 18:56:25 ikke: ash? 2020-07-03 18:56:38 POSIX sh 2020-07-03 18:56:43 well actually I think since bourne shell 2020-07-03 18:56:52 well, close then :) 2020-07-03 18:56:59 mps: yes 2020-07-03 18:57:26 single quote, literal string 2020-07-03 18:57:38 /msg shbot b# echo a='"abc def"' 2020-07-03 18:58:57 /msg shbot b# echo a='"abc def"' 2020-07-03 19:00:49 uh 2020-07-03 19:01:52 I accidentally copied a space :P 2020-07-03 19:03:01 also try /msg shbot triggers. it has some shells that are not that easy to install, like old ksh and bash 2020-07-03 21:17:27 Hello ... just installed alpine edge + jack + audacity + ardour from edge testing ... I am seeing problems with memlock in limits.conf 2020-07-03 21:18:06 changed it to @audio hard memlock unlimited 2020-07-03 21:18:21 but still same problem 2020-07-03 21:19:44 anybody ?? 2020-07-03 21:23:46 how young are you that you can't wait more than 1.3 minutes? 2020-07-03 21:24:27 I wish !! 2020-07-03 21:26:13 I bet older than U btw !!!! ;) 2020-07-03 21:26:44 unowe[d]: after hearing that I have my doubts 2020-07-03 21:26:56 unowe[d]: > I am seeing problems with memlock in limits.conf 2020-07-03 21:26:57 unowe[d]: can you elaborate? 2020-07-03 21:27:19 sure ... 2020-07-03 21:27:50 xfce4 ... run qjackctl 2020-07-03 21:28:13 as user foo in audio 2020-07-03 21:28:15 group 2020-07-03 21:28:54 jack complaints about not being able to lock 8xxxxxx amount of memory 2020-07-03 21:29:33 same when running ardour! 2020-07-03 21:33:31 "Cannot lock down 82280346 byte memory area (Out of memory)" 2020-07-03 21:33:42 exact jack message 2020-07-03 21:34:48 Ok, but it tells you what the issue is 2020-07-03 21:34:52 Out of memory 2020-07-03 21:37:03 that's misleading, mlock returns ENOMEM when exceeding RLIMIT_MEMLOCK 2020-07-03 21:37:17 this is specified by POSIX 2020-07-03 21:37:43 grharry: did you log out and log in again after editing the file 2020-07-03 21:37:52 8G ram on board 2020-07-03 21:38:09 yes did logout logged in ... 2020-07-03 21:38:11 rebooted 2020-07-03 21:38:13 and all 2020-07-03 21:38:14 also try changing soft limit as well as hard 2020-07-03 21:38:42 did it for user foo 2020-07-03 21:38:51 logged out 2020-07-03 21:38:54 logged in 2020-07-03 21:39:01 ulimit -l = 64 2020-07-03 21:39:38 Mem: 7 0 6 0 1 7 2020-07-03 21:39:42 free -h 2020-07-03 21:39:46 sorry ... 2020-07-03 21:39:50 free -g 2020-07-03 21:40:05 swap all free 16G 2020-07-03 21:44:20 I don't think alpine supports limits.conf unless you install linux-pam 2020-07-03 21:44:29 also please stop spamming the enter key 2020-07-03 21:45:26 man ... give me a break ! 2020-07-03 21:46:11 linux-pam is installed 2020-07-03 21:47:40 :-X 2020-07-03 21:48:07 s/install linux-pam/use pam/ 2020-07-03 21:59:38 authpriv.err : PAM unable to dlopen(/lib/security/pam_elogind.so): Error loading shared library /lib/security/pam_elogind.so: No such file or directory 2020-07-03 22:05:39 Nope ... 2020-07-03 22:07:02 no luck ... I presume u have no idea ... so good night !!! and :-X 2020-07-03 22:46:37 i did an apk upgrade and the xorg no longer works: graphics comes up but no input 2020-07-03 22:47:07 i'm still investigating it seems no input device is detected, if somebody has an idea what it is let me know 2020-07-03 22:47:42 Maybe you upgraded your kernel modules but not your vmlinuz (e.g. because you forgot to mount /boot)? 2020-07-03 22:47:50 Then it can't load the modules for your input devices 2020-07-03 22:48:47 That happened a few times for me already and played out exactly like what you described: graphics output works thanks to the vesa driver which is built into the kernel but input devices don't since they're built as modules 2020-07-03 22:49:25 hm can be 2020-07-03 22:52:22 thanks i think i need 'apk add linux-lts' 2020-07-03 22:56:11 hm no that didnt fix it yet 2020-07-03 22:57:19 is you boot partition mounted under /boot 2020-07-03 22:57:47 and 'apk add -u linux-lts' to upgrade pkg 2020-07-03 22:58:54 and after kernel upgrade reboot is needed because old modules are removed 2020-07-03 23:00:23 well does the input work in tty 2020-07-03 23:00:27 also, udev and dbus should be runing 2020-07-03 23:00:37 input works on tty 2020-07-03 23:00:46 i'm typing on console now 2020-07-03 23:01:03 I think you need to install xf86-input-libinput now 2020-07-03 23:01:05 i see now udev or evdev messages in the Xorg log and i'd expect some there 2020-07-03 23:01:15 let me see 2020-07-03 23:01:18 I recall the keyboard driver was removed 2020-07-03 23:01:35 but not sure if that means base xorg doesn't support keyboard at all 2020-07-03 23:03:07 nowadays in most cases xf86-input-libinput is enough 2020-07-03 23:05:01 it didnt fix it 2020-07-03 23:05:14 right but I don't think that comes with xorg-server 2020-07-03 23:05:28 oh, the replacement is evdev 2020-07-03 23:06:00 i have xf86-input-evdev 2020-07-03 23:06:04 which is also packaged separately on alpine, but usually comes bundled with xorg-server 2020-07-03 23:06:10 (and now *-libinput too) 2020-07-03 23:06:27 paste your xorg log 2020-07-03 23:07:18 xf86-input-evdev is not needed in most cases 2020-07-03 23:08:53 nsz: do you kernel modules loaded 2020-07-03 23:09:31 well I'm saying that evdev is the direct replacement of keyboard 2020-07-03 23:09:37 libinput is recommended but not built-in 2020-07-03 23:09:39 e.g. i have evdev loaded 2020-07-03 23:09:49 but i dont know what modules i have to look for 2020-07-03 23:09:59 there are also device nodes in /dev/input 2020-07-03 23:10:30 Hello71: no, libinput is enough 2020-07-03 23:10:42 mps: seems like you are contradicting what I am not saying 2020-07-03 23:10:57 heh :) 2020-07-03 23:10:57 I am aware that both evdev and libinput can do all mouse/keyboard input 2020-07-03 23:11:06 ok 2020-07-03 23:11:56 nsz: if you don't have some special hardware it should work out-of-the-box 2020-07-03 23:12:02 but evdev is more "traditional"/"core", so it is more of a direct replacement than libinput, which is more "external" compared to fully built-in keyboard driver 2020-07-03 23:12:20 uhm 2020-07-03 23:13:11 http://port70.net/~nsz/tmp/Xorg.0.log 2020-07-03 23:14:33 seems like evdev and libinput drivers are not being loaded? 2020-07-03 23:14:40 also fwiw modesetting usually works better than intel 2020-07-03 23:15:01 unless you really need fast xrender for some reason 2020-07-03 23:15:29 yes, X didn't tried input drivers 2020-07-03 23:17:02 533.601] (II) The server relies on udev to provide the list of input devices. 2020-07-03 23:17:37 next msg I see first time ' If no devices become available, reconfigure udev or disable AutoAddDevices.' 2020-07-03 23:22:24 I mean, noticed it first time 2020-07-03 23:23:29 nsz: for some reason your X server didn't tried to load any input driver 2020-07-03 23:23:52 yes that's how it seemed to me too 2020-07-03 23:24:27 i straced it and it seems to stat all sorts of things in the /usr/lib/xorg/modules directories but dont load anything from under input/ 2020-07-03 23:24:38 well it's based on udev reporting 2020-07-03 23:25:07 ok so how do i debug udev? 2020-07-03 23:25:48 dunno 2020-07-03 23:26:32 I'm not sure is that could be issue but are in input group 2020-07-03 23:27:02 are you in input group* 2020-07-03 23:27:05 no 2020-07-03 23:27:32 how do i ask udev what devices it sees? 2020-07-03 23:28:18 udevadm monitor 2020-07-03 23:29:39 what does it supposed to print? 2020-07-03 23:30:33 changes it detects, from kernel 2020-07-03 23:31:02 but if nothing changes? 2020-07-03 23:31:16 how does xorg uses it to load input drivers? 2020-07-03 23:31:42 example, KERNEL[151936.242161] change /devices/platform/ff200000.spi/spi_master/spi2/spi2.0/cros-ec-dev.0.auto/cros-usbpd-charger.4.auto/power_supply/CROS_USBPD_CHARGER1 (power_supply0' 2020-07-03 23:32:14 i suspect some udev related package may be missing or some related xorg config is missing 2020-07-03 23:32:15 mps asked good question, is your user in "input" group? 2020-07-03 23:32:22 no 2020-07-03 23:32:26 so add it 2020-07-03 23:32:28 you can start 'udevadm monitor' and unplug/plug mouse 2020-07-03 23:32:36 why? 2020-07-03 23:32:37 relogin and enjoy 2020-07-03 23:32:48 and how do i debug this when it works? 2020-07-03 23:33:29 i mean there is nothing on my system that runs as 'input' 2020-07-03 23:34:09 ls -l /dev/input/ 2020-07-03 23:34:49 MY-R: you are faster, yes that 2020-07-03 23:35:09 all root owned 2020-07-03 23:35:19 and adding myself to input didnt fix it 2020-07-03 23:35:23 huh 2020-07-03 23:35:29 (and i didnt see any eperm in strace) 2020-07-03 23:35:35 strange 2020-07-03 23:35:40 all inputs should be in "input" group by default 2020-07-03 23:35:49 try evtest 2020-07-03 23:36:17 here is my ls -l /dev/input/, https://tpaste.us/BjPb 2020-07-03 23:36:34 I think missing required input group would result in some xorg log message 2020-07-03 23:36:55 not skipping load entirely 2020-07-03 23:37:06 no 2020-07-03 23:37:40 once you find which device it is, paste udevadm info -n /dev/input/eventN 2020-07-03 23:38:05 well /dev is devtmpfs so it's whatever the kernel puts there 2020-07-03 23:40:14 mdev.conf have input section where it changes groups 2020-07-03 23:40:38 http://port70.net/~nsz/tmp/event1.info.txt 2020-07-03 23:40:59 for example, mouse[0-9] root:input 0640 =input/ 2020-07-03 23:41:53 thaaaat is why user have to be in groups like "input" and "video" 2020-07-03 23:41:57 sorry I can't help anymore now, I'm actually sleeping now, must go to bed. good night 2020-07-03 23:42:08 ok thanks 2020-07-03 23:42:29 i also have root:input lines there 2020-07-03 23:42:58 maybe mdev.conf is not processed for me.. 2020-07-03 23:44:53 do i need mdevd? 2020-07-03 23:47:07 it is settled with /etc/init.d/mdev 2020-07-03 23:53:30 doesn't udev block mdev 2020-07-03 23:54:59 nsz: does evtest print the right keys if you select the keyboard? 2020-07-03 23:56:47 yes 2020-07-03 23:57:01 (when run as root) 2020-07-03 23:59:56 should it work as normal user? 2020-07-04 00:00:38 well it should be able to read it if you put your user in input 2020-07-04 00:00:41 did you remember to log out 2020-07-04 00:01:34 i dont have the input devices in 'input' group 2020-07-04 00:01:46 so being in the input group does not help 2020-07-04 00:02:03 i'm not sure what should change the group on the devices 2020-07-04 00:09:39 udev or mdev 2020-07-04 00:10:55 kinda strange, what interface is your keyboard on? 2020-07-04 00:10:57 laptop? 2020-07-04 00:13:14 should 'libinput list-devices' command list something? 2020-07-04 00:14:12 probably 2020-07-04 00:15:48 isn't PNP0C0C the power button 2020-07-04 02:04:15 i still dont know why this is happening but the fix was 'for i in /sys/dev/char/13:*;do udevadm test $i;done' 2020-07-04 02:05:07 i.e. simply test the input char devices with udevadm and then udev does its magic and then everything works 2020-07-04 02:05:40 but i still dont know why i have to trigger it manually or how to debug this at all 2020-07-04 02:39:18 I think you need to disable mdev 2020-07-04 02:40:01 enable one of mdev and udev and if you use mdev then probably uninstall udev 2020-07-04 07:23:09 Hello71: mdev is 'essential' for alpine, should be disabled or removed 2020-07-04 07:24:50 it have line 'provide dev' in init script, which says all 2020-07-04 07:25:28 and udev works fine with mdev, udev is started later 2020-07-04 07:34:10 mdev sets 'static' date in /dev on boot, and udev later set/change dynamically added/removed devices (mostly) 2020-07-04 07:34:38 so, they works fine in 'tandem' 2020-07-04 07:35:14 though some people run quite fine complete system without udev, even X 2020-07-04 08:20:03 X was around well before udev 2020-07-04 08:22:40 and well before most of current users :) 2020-07-04 08:23:13 hrmm, also true I guess, idk 2020-07-04 08:23:24 ACTION goes back under his smooth protective rock 2020-07-04 08:23:30 and we needed to edit XF86Config by hand... 2020-07-04 08:23:34 :P 2020-07-04 08:24:28 and that was not bad at all ;) 2020-07-04 08:24:38 soon there will be people to say they didn't even see X, short of XWayland 2020-07-04 08:25:00 I did edit the xorg.conf manually though 2020-07-04 08:25:40 s/even/ever, maybe? 2020-07-04 08:26:06 all my working life I read that C, Unix, Keyboards ... will soon be obsoleted :) 2020-07-04 08:26:44 meh, people are learning C 2020-07-04 08:28:40 you know, if it wasn't for Alpine, it wouldn't have seen some init that wasn't systemd 2020-07-04 08:28:45 there is saying, 'those who don't know/understand history are condemned to discover it, poorly' 2020-07-04 08:29:31 when I switched to Arch, it was already systemd and my phone was already systemd! 2020-07-04 08:29:37 (jolla phone) 2020-07-04 08:30:14 mps: https://katolaz.net/p/c-queen.jpg 2020-07-04 08:30:17 :P 2020-07-04 08:31:05 :) 2020-07-04 08:36:11 shame Jolla's in the state it is 2020-07-04 08:36:51 gotta appreciate still getting updates tho, no other phone (OS) maker does that 2020-07-04 10:03:21 under what name is enlightenment available in apk? 2020-07-04 10:03:37 apk search e17/enlight doesn't yield any results. 2020-07-04 10:08:50 I don't think it's available in Alpine 2020-07-04 10:16:57 also missing rox desktop manager 2020-07-04 10:17:18 those are excellent candidates for musl 2020-07-04 10:17:20 tbh 2020-07-04 10:20:15 mind blowing!! --> https://www.youtube.com/watch?v=I1aoRQhqM1k 2020-07-04 11:12:03 ah this is the right channel - cool 2020-07-04 11:12:15 good morning all 2020-07-04 11:12:26 how to install / setup man pages in alpine-linux? 2020-07-04 11:13:18 apk add mandoc and then apk add $package-doc 2020-07-04 11:14:09 oh... excellent ! thank You so much ! 2020-07-04 11:16:12 or apk add docs to automatically install them for all installed packages 2020-07-04 11:22:20 even better! thank you ikke 2020-07-04 11:23:29 oh.. even libraries.. yeah, not needed. 2020-07-04 11:44:34 What do I add to /etc/network/interfaces to get this command: "ip -6 route add dev br0"? 2020-07-04 11:45:13 Or do I have to use if-up to run iproute2 manually? 2020-07-04 11:45:33 'up /sbin/ip address add dev ....' 2020-07-04 11:46:05 'up /sbin/ip route add ....' 2020-07-04 11:46:15 or anything you need 2020-07-04 11:52:14 Ok thanks 2020-07-04 11:54:19 Are all the syntax from Debian's interfaces supported? 2020-07-04 11:56:56 golb: I think yes 2020-07-04 11:57:04 but not 100% sure 2020-07-04 12:05:58 mps: you dont use any x86 device? 2020-07-04 12:15:08 yunfan: well, I have one old asus tablet with phone (phonepad) which I use sometimes, and it is x86 with android 2020-07-04 12:15:49 and my customers/clients x86 servers 2020-07-04 12:16:41 mps: i got a atom based box recently 2020-07-04 12:16:57 and i had got a usb2serial adapter 2020-07-04 12:16:59 but I'm not owner of these servers 2020-07-04 12:19:08 I hope I will not have to by x86 anymore 2020-07-04 12:19:36 buy* 2020-07-04 12:32:08 i hope so, but the real life is not follow my wish :[ 2020-07-04 12:46:47 real life is useless if people don't follow their wishes and dreams 2020-07-04 12:57:33 That's what buddhism tells us; the purpose of life is to satisify our desires 2020-07-04 12:59:15 hmm, my understanding of Buddhism is more aligned with Bodhisattvas moto, to save all conscious beings 2020-07-04 13:00:32 and to reach truth however it is hard to achieve that 2020-07-04 13:02:04 to satisfy our desires is westernization of Buddhism 2020-07-04 13:03:17 (some would tell 'plain lies') 2020-07-04 14:30:04 is there some way to allow rootless shutdown and reboot in Alpine? Short of adding /sbin/reboot and friends to sudoers? 2020-07-04 14:30:27 elogind? 2020-07-04 14:30:44 acpid? 2020-07-04 14:31:33 ACTION sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/eefvvtKfLOzKtDEeOEKuQFCK > 2020-07-04 14:31:45 ^ elogind seems installed 2020-07-04 14:32:46 sudo rc-service elogind start && reboot doesn't seem to work either 2020-07-04 14:33:04 acpid is started too 2020-07-04 14:33:16 You shouldn't have to start elogind, it's started automatically during login 2020-07-04 14:33:18 I'll have a look to elogind config, then thanks for the pointer 2020-07-04 14:33:38 That service file is just there in case you want to have elogind controlled by OpenRC 2020-07-04 14:33:49 You probably have to install polkit-elogind 2020-07-04 14:34:04 And the right polkit helper for your desktop (e.g. polkit-gnome), then it should just work 2020-07-04 14:34:47 huh, how much layers for simple tasks as shutdown/reboot :P 2020-07-04 14:37:36 well, I was really thinking of the /sbin/reboot command 2020-07-04 14:39:05 mps: Well, it's two layers: elogind doing the shutdown and asking polkit whether that user really is permitted to do so 2020-07-04 14:39:37 'echo poweroff >> /etc/acpi/PWRF/00000080' 2020-07-04 14:39:52 it's a bit weird to have gnome able to shutdown, the power button shutting down thanks to elogind, but /sbin/reboot not able to reboot 2020-07-04 14:40:45 Ah well, GNOME uses elogind, whereas reboot doesn't then I guess 2020-07-04 14:41:04 worst case, `alias reboot="sudo /sbin/reboot"` is good enough, I guess 2020-07-04 14:41:05 mps: doesn't that only handle the power button? 2020-07-04 14:41:26 afontain_: try "loginctl reboot" 2020-07-04 14:41:58 ikke: yes, but there are other buttons which can be used, VOLUMEDOWN for example 2020-07-04 14:43:17 or, 'awful.key({ }, "XF86PowerOff", function () os.execute('systemctl suspend -i') end),' in awesome wm. 2020-07-04 14:43:30 ikke: I think you understand this 2020-07-04 14:44:51 Cogitri: this is actually a good idea 2020-07-04 14:45:33 mps: yes, I use it myself (on arch) 2020-07-04 14:45:49 mps: but afontain_ was asking about the reboot command 2020-07-04 14:46:19 well, ideally, the reboot command would also work 2020-07-04 14:46:45 but that's already an improvement over raw polkit or sudoers 2020-07-04 14:46:52 I'm just giving some ideas, not final solution 2020-07-04 15:05:44 ppsspp not in apk :-( 2020-07-04 15:07:21 https://pkgs.alpinelinux.org/packages?name=ppsspp&branch=edge 2020-07-04 15:07:22 ? 2020-07-04 15:07:54 :) 2020-07-04 15:09:28 is it possible to add ONE package of edge without having to convert the entire thing to edge? 2020-07-04 15:09:46 mixed branches 2020-07-04 15:10:07 it is possible, and sane, if you build it locally 2020-07-04 15:10:24 otherwise, well, it will break someday 2020-07-04 15:13:20 rofl! build logs on the site? 2020-07-04 15:13:23 Yes, mixing branches is probably the one thing that causes the most breakage for users 2020-07-04 15:14:41 well, you don't really need to build it on the computer you'll use it on 2020-07-04 15:14:57 but you should build it yourself for this release 2020-07-04 17:29:22 /b 18 2020-07-04 17:29:26 erm 2020-07-04 17:40:14 GITEA wiki documented https://wiki.alpinelinux.org/wiki/Alpine_newbie_developer:_gitea 2020-07-04 20:36:03 ░░☰☰☰ did openssh-server recently get built without PAM support or is the 'UsePAM' option removed from openssh entirely now? ░░☰☰☰ 2020-07-04 20:36:19 whoops 2020-07-04 20:36:36 but yeah 2020-07-04 20:37:38 I don't see any changes in our package related to PAM 2020-07-04 20:37:54 odd 2020-07-04 20:38:10 i'll check openssh changelogs 2020-07-04 20:38:47 < afontain_> otherwise, well, it will break someday 2020-07-04 20:38:52 hasnt broken on me and i do that on a lot of systems 2020-07-04 20:39:00 and if something breaks its usually reversible 2020-07-04 20:39:02 6caa7e901fb0f63eefe2fde5be54687223709262 2020-07-04 20:39:08 ah ok thanks 2020-07-04 20:39:14 that's 3 years ago though 2020-07-04 20:39:23 oh wild 2020-07-04 20:39:29 yeah i use pam for 2fa 2020-07-04 20:39:58 huh? i have that installed already 2020-07-04 20:43:21 openssh-server-pam pkg 2020-07-04 20:43:35 thats the one i have installed 2020-07-04 20:44:03 openssh-server-pam-8.1_p1-r0 2020-07-04 20:44:23 openssh-server-pam-8.3_p1-r0 2020-07-04 20:44:42 stable 3.12 2020-07-04 20:45:59 ah let me see 2020-07-04 20:49:03 mps yep now im on 8.3 and it works, thanks 2020-07-04 20:49:29 np :) 2020-07-04 20:53:58 opal : it mostly depends how much you rely on it, I guess 2020-07-04 20:54:17 I did pull python packages from edge in the past 2020-07-04 22:18:54 If I am claiming ownership of a package, do I need to bump the revision? 2020-07-04 22:20:03 yes 2020-07-04 22:20:36 that way, the package db gets updated 2020-07-04 22:20:43 ah, thank you ikke 2020-07-04 22:50:39 c3r38r170[d]: Hi? 2020-07-04 22:59:00 does sound over displayport work on alpine? 2020-07-04 22:59:22 anyone with firefox on alpine? could you check if you can use netflix? 2020-07-04 22:59:33 I asked this question yesterday and was told that it would not work. 2020-07-04 22:59:51 I found that it needs ffmpeg. I am not sure if he had ffmpeg installed. Hence, want to check. 2020-07-04 23:00:09 joe9: it requires widevine, which does not work with musl 2020-07-04 23:00:24 that is what I thought. 2020-07-04 23:00:33 but, it is being bundled with firefox and google-chrome now. 2020-07-04 23:00:43 not separately, hence, wanted to check. 2020-07-04 23:02:00 ikke, you know these things better. are you sure about that? there is no way to use a firefox binary executable from some other distro on alpine? 2020-07-04 23:02:12 something like flatpack might work 2020-07-04 23:02:13 or, google-chrome? 2020-07-04 23:02:22 Wait, how comes a website depends on a low level lib? 2020-07-04 23:02:41 DRM 2020-07-04 23:04:46 https://github.com/void-linux/void-packages/issues/6164#issuecomment-450681572 :) 2020-07-04 23:04:49 ikke, have you tried firefox with ffmpeg installed? 2020-07-04 23:05:13 no 2020-07-04 23:05:36 is it possible to install ffmpeg on alpine? 2020-07-04 23:06:21 Oh wait, are you talking about the Netflix app, not the website? 2020-07-04 23:06:51 https://pkgs.alpinelinux.org/packages?name=ffmpeg&branch=edge 2020-07-04 23:07:02 c3r38r170: no, it's the website 2020-07-04 23:07:02 no, I am talking about the website. 2020-07-04 23:07:08 the app is obsolete. 2020-07-04 23:07:19 Then I can't believe it. 2020-07-04 23:07:25 c3r38r170: widevine is google's DRM plugin 2020-07-04 23:07:40 I'll have to look up what DRM is, thanks. 2020-07-04 23:07:52 ikke, is firefox built with musl libc on alpine? 2020-07-04 23:08:14 joe9: the entire platform is musl 2020-07-04 23:08:39 and, there is no google-chrome on alpine. 2020-07-04 23:08:56 nope 2020-07-04 23:09:00 so, that seals it. I guess. Thanks and Sorry for the bother. 2020-07-04 23:09:03 because that's only built for glibc 2020-07-04 23:09:13 That's so weird. 2020-07-04 23:09:25 Wait, remember to try flatpak or something similar. 2020-07-04 23:09:35 If you want oc. 2020-07-04 23:10:24 Hey, I have a question. I am currently installing Alpine and I am at the NTP part, which one do you recommend me? 2020-07-04 23:10:48 busybox, openntp, chrony...? none...? 2020-07-04 23:11:02 I tend to go with chrony 2020-07-04 23:11:14 But whatever floats your boat :) 2020-07-04 23:11:18 if there was a recommended one, then it would be suggested as the default 2020-07-04 23:11:23 ACTION coughs 2020-07-04 23:11:28 lol 2020-07-04 23:11:36 Hello71: I think chrony is the default suggested one :P 2020-07-04 23:11:37 I see, thanks! 2020-07-04 23:11:41 Yes hahhaa 2020-07-04 23:11:44 ikke: that's the joke 2020-07-04 23:11:52 woosh 2020-07-04 23:11:58 interesting that ntpd isn't an option 2020-07-04 23:12:08 Isn't it busybox? 2020-07-04 23:12:12 "busybox" 2020-07-04 23:12:27 I mean real ntpd 2020-07-04 23:12:36 I see. 2020-07-04 23:12:45 I think busybox ntpd only does sntp? or is that systemd 2020-07-04 23:13:21 I guess I could choose none and get ntpd later, but... will it be a proble to not have any NTP for some minutes? 2020-07-04 23:13:45 no 2020-07-04 23:13:45 anyone else configure logwatch on alpine? 2020-07-04 23:13:46 yes, your clock will start going backwards 2020-07-04 23:13:52 lol 2020-07-04 23:14:04 I cannot seem to get sshd service to be monitored by logwatch 2020-07-04 23:14:05 lol 2020-07-04 23:14:19 amom: no, the package is just for fun, nobody uses it 2020-07-04 23:14:26 amom: well there's an actual question now 2020-07-04 23:14:40 Hello71: sorry. I type in multiple lines 2020-07-04 23:14:46 it's a really bad habit 2020-07-04 23:14:48 it would be more helpful if you provided some error message though 2020-07-04 23:14:49 shit, I did it again 2020-07-04 23:15:03 there's no error message 2020-07-04 23:15:16 did you start it and check /var/log/messages 2020-07-04 23:16:17 it just quietly ignores my sshd.conf in /etc/logwatch/conf/services 2020-07-04 23:17:08 I did test changing the parameters for zz-disk_space cause by default zz-disk_space uses df flags not in busybox 2020-07-04 23:17:12 c3r38r170: ntp would be pretty useless if it only worked while your computer was on and stopped working whenever it's off 2020-07-04 23:17:13 and I managed to fix that 2020-07-04 23:17:53 /var/log/messages has nothing. 2020-07-04 23:17:54 if you keep it off at least 16 hours a day then that's only 33% reduction in error, which is pretty useless 2020-07-04 23:18:38 dunno. I guess make sure you read the manual and if that still doesn't work try strace 2020-07-04 23:18:41 or debug options 2020-07-05 00:22:57 hey does anyone know how to limit the ram usage of domain 0 on the xen livecd? 2020-07-05 00:23:28 I'm trying to start a guest but it's complaining about being out of ram I think 2020-07-05 02:35:55 I tried to reinstall by using chroot. The issue is, rescue disk detected different device (starting with sdb), but when booting with Alpine before, it started with sda. This becomes a problem when installing boot loader. How can I change the device name so the bootloader thinks it is sda instead of sdb? 2020-07-05 02:47:28 golb: you can't rely on predictable disk names. you can use the uuids instead by using the symlinks in /dev/disk/ instead 2020-07-05 03:03:57 I use UUID for fstab. The issue is grub, for instance, detected it and decided to boot from hd1, not hd0. 2020-07-05 03:04:21 Grub uses UUID for detecting root partition though. 2020-07-05 03:07:31 Note that I have no access to console. So can't enter any option at boot prompt. 2020-07-05 04:43:36 Im trying to use rsnapshot to backup my alpine homeserver. Anytime I run it, I get: /usr/bin/rsync returned 255 while processing root@momi.ca:/etc/ 2020-07-05 04:43:55 the computer running rsnapshot is running void. 2020-07-05 04:44:22 I can go into my root user and rsync /etc/nginx/nginx.conf from my server but my rsnapshot cannot 2020-07-05 04:53:40 I think I fixed it. Idk how 2020-07-05 09:37:50 hi all. I have a script that outputs to /var/log/foo.log and although I was in "rw" mode when I first touched this file and although executing "lbu commit -d" this file does not survive a reboot. After a reboot the file /var/log/foo.log is not there anymore. How can I solve this?any help appreciated 2020-07-05 11:03:03 Should /etc/fstab inside initramfs the same as /etc/fstab on the host? 2020-07-05 12:47:31 What do I need to do in order to get the `w` command working on Alpine Linux (kernel linux-virt)? I installed it with the procps package, but it always shows an empty list, even though there're several users logged in 2020-07-05 12:48:52 musl doesn't support it 2020-07-05 12:51:06 ikke: ok, thanks 2020-07-05 12:52:26 you can install utempter and recompile all utmp/wtmp packages 2020-07-05 12:52:38 er, not utempter, the other one 2020-07-05 12:55:52 utmps, iirc 2020-07-05 12:58:02 Right, I'll give it a try later, ty 2020-07-05 14:12:56 Bad day today. Alpine didn't install on my bare metal server at OVH. Failed on VMWare Workstation either at initramfs. 2020-07-05 15:34:39 hey, if someone could have a look at https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/8689, it would be nice. I believe it is ready to be merged 2020-07-05 15:35:36 CI is failing, but I believe it is for unrelated questions 2020-07-05 15:50:04 Seems like olm's test fail pretty hard, "afontain_" (https://matrix.to/#/@freenode_afontain_:matrix.exqa.de) 2020-07-05 15:50:07 https://gitlab.alpinelinux.org/afontain/aports/-/jobs/159140#L522 2020-07-05 15:52:21 hmm, indeed 2020-07-05 17:20:38 exit 2020-07-05 17:20:43 oops new client i suck 2020-07-05 17:48:25 has someone built cinnamon desktop on alpine? 2020-07-05 18:45:25 Hi. Does alpinelinux have something like Debian's update-alternatives? I found an some old mailing list items discussing implementing it, but the trail ran dry. 2020-07-05 18:46:03 dashavoo: no 2020-07-05 18:47:37 OK thanks ikke. I was just checking whether there was a more "official" way before changing the iptables symlink to point to xtables-nft-multi instead of xtables-legacy-multi. 2020-07-05 18:55:19 better use /usr/local/sbin 2020-07-05 20:25:40 is there a apkbuild linter? 2020-07-05 20:25:50 0yes 2020-07-05 20:25:51 maxice8: 9767 has been rebased per your request. Sorry it took so long, life's been a bit more exciting than I would have liked in my neck of the woods 2020-07-05 20:26:02 adu: if you're on alpine, install atools 2020-07-05 20:26:07 then there is apkbuild-lint 2020-07-05 20:58:22 what's a good musl torrent client? 2020-07-05 21:00:09 The same as on glibc ? 2020-07-05 21:00:41 which one? 2020-07-05 21:01:22 You can use Transmission, I guess 2020-07-05 21:04:06 i love aria2c 2020-07-05 21:09:26 let's try 2020-07-05 21:09:47 u0jQx9gPyrYg: jeez, what a weird nick, password generated? 2020-07-05 21:15:28 moosl: most of the time yes. sometimes i encode secret messages in my nick... 2020-07-05 21:16:45 he he 2020-07-05 21:37:35 I thought it is pet name :) 2020-07-05 21:48:01 I am running into a problem with alpine upgrade. Current version is 3.8. While trying to upgrade anything I get ERROR: unsatisfiable constraints: 2020-07-05 21:48:02 required by: world[nextcloud-videoplayer] 2020-07-05 21:48:17 I could not find any documentation nor posts on how to resolve this issue. 2020-07-05 21:48:57 I should add, error occurs inside an LXC container. 2020-07-05 21:49:06 Host upgrade ran fine. 2020-07-05 21:56:34 Well, that package has been removed since then, so you should go ahead and remove it from your world 2020-07-05 22:02:28 Cogitri remove how? 2020-07-05 22:03:29 from /etc/apk/world, for example 2020-07-05 22:04:50 TBB, Cogitri, Thanks. 2020-07-05 22:57:03 What package has the headers for libcrypto1.1? 2020-07-06 00:58:59 What does "Has /home/... in rpath" mean? 2020-07-06 02:58:02 How do I add a description to a patch? 2020-07-06 02:58:05 "APKBUILD:Patch file ./xar.patch is missing a description" 2020-07-06 07:28:24 mps: the usb2serial works on x86 too :D 2020-07-06 07:31:59 the only problem is the postman must cause some of the components flexible, which will cause the kernel crash for ever, so i had bought another second hand board,hope it will well work 2020-07-06 07:38:26 yunfan: good, you are now hardware hacker 2020-07-06 07:38:29 :) 2020-07-06 07:39:23 bu careful with connecting proper pins and proper voltage levels 2020-07-06 07:39:35 s/bu/be/ 2020-07-06 07:40:42 mps: nope, i am just a hardware monkey, i havnt even done a solder work 2020-07-06 07:41:01 these devices work on all architectures where drivers are compiled/included 2020-07-06 07:41:35 yunfan: everyone starts by making first steps 2020-07-06 07:42:30 but now i could make my own usb boot disk :D , no need to put up with the iso image's default configuration 2020-07-06 07:43:29 the default config from grub dont provid console on serial port 2020-07-06 07:43:32 and you can hack your boards without attaching keyboards and monitors to them 2020-07-06 07:43:51 mps: yes, that;s the main purpose 2020-07-06 07:44:21 when my board arrived, i will try to build a 3 disk nas based on alpine 2020-07-06 07:44:34 yes, that's true, and I advocating long time to have serial console by default on all install media and tarballs 2020-07-06 07:44:39 its all garbage parts :] 2020-07-06 07:45:32 mps: a question, if the board dont have a com port, and i gave it a usb2ttl adapter, will the system use this as the console device? 2020-07-06 07:46:29 few days ago I took from my garage old linxsys WRT54G wifi router which is not used for about 5-6 years, attached serial console and tested it boots 2020-07-06 07:47:08 and I got old/new wifi AP :) 2020-07-06 07:47:49 yunfan: most (if not all) SBCs have serial console, but on some you have to solder pins on them 2020-07-06 07:48:25 you have to read documentation for any of them you work with 2020-07-06 07:49:34 where serial console is located, which pin is for what, what are voltage levels, speed (baud rate) of it etc 2020-07-06 07:50:58 openwrt.org have good docs for some of them, sunxi.org have for allwinners (sunxi) devices 2020-07-06 07:53:17 hmm, reading your question again, you connect usb part of usb2serial to your computer (workstation), not to SBC 2020-07-06 07:53:34 mps: well i mean x86 board 2020-07-06 07:53:50 one is e350 apu 2020-07-06 07:54:02 to SBC you connect these pins on adapter 2020-07-06 07:54:05 which had 4 sata 2 ports and 2 usb3 ports 2020-07-06 07:54:13 just enought for my disks 2020-07-06 07:54:26 SBC is easy on such works 2020-07-06 07:54:47 the only problem is the well tested cb2 boards is still too expensive 2020-07-06 07:55:54 I don't used x86 SBC boards for decades, so I don't know these new ones 2020-07-06 08:05:40 so, we know that alpine 3.12 works good on at least 10 arm devices and our infra team can add arm servers to this number 2020-07-06 08:23:26 mps: its just works, the setup scripts still need to be fixed 2020-07-06 08:25:14 nice to hear 2020-07-06 09:15:59 can alpine/musl be localized? 2020-07-06 09:16:25 if I install 'man pages' will it install many languages? 2020-07-06 09:16:34 I am not sure how's localization sorted out in musl 2020-07-06 09:18:08 also, is it to bloody to use edge? 2020-07-06 09:19:17 I use edge on all of my systems, and it tends to work just fine 2020-07-06 09:19:52 But be ready to deal with breakage in case it does happen 2020-07-06 09:20:57 Cogitri: is it a hassle to convert from stable to edge? I prefer not re-installing 2020-07-06 09:21:45 Just replace "v3.12" with "edge" and run "apk upgrade -a" 2020-07-06 09:23:59 before upgrade run 'apk update' 2020-07-06 09:24:05 replace where? 2020-07-06 09:24:18 in some file? 2020-07-06 09:24:29 "/etc/apk/repositories" 2020-07-06 09:26:07 today 'good read' => wiki.alpinelinux.org ;) 2020-07-06 09:41:05 mps: I am learning this new fangled apk/musl 2020-07-06 09:43:39 I wonder how was it designed. The use is rather simple, no simple as under-feature, but simplicity in operation. Compaer to suse's yast, and apt-get which feel clunky as hell. 2020-07-06 09:44:01 moosl: it is not musl, by coincidence alpine is based on musl but it could be even on glibc 2020-07-06 09:44:43 Hi guys 2020-07-06 09:45:58 👋 2020-07-06 09:46:23 I've got a Talos 2 mainboard and want to use Alpine as root system but I have issues booting the Alpine image on it, can someone help me? I have a stack trace 2020-07-06 09:46:31 Seems like it crashes in some DMA operation 2020-07-06 09:46:50 https://0bin.net/paste/SjHSEyLvlwCGHxhc#1xYVY-iDlIf7g7YUkGAidkElNt5O0JaT/VkWdCEW9w1 2020-07-06 09:48:08 is that alpine kernel? 2020-07-06 09:49:32 Yes 2020-07-06 09:50:07 The current image from alpinelinux.org 2020-07-06 09:50:08 'Linux version 5.5.0-openpower1 (root@raptor-build-public-staging-01) (gcc version 6.5.0 (Buildr' doesn't look like any alpine kernel 2020-07-06 09:51:01 Uhm... Ok, so the crash might happen before the Alpine kernel is loaded so the firmware kernel crashes? 2020-07-06 09:55:36 Cogitri: firefox works on edge? 2020-07-06 09:55:50 I am assuming edge uses musl 1.2 2020-07-06 09:55:57 oh, and 32bit 2020-07-06 09:59:15 Ok, so I got it working. We have a SAS expander card in our setup and without the card it just boots. And now I can see that the crash happens before the kexec to Alpine... Thanks for your time! 2020-07-06 10:01:18 moosl: Use pkgs.alpinelinux.og to see what version of musl edge uses (hint: not 1.2) 2020-07-06 10:01:25 cgroot: Glad you got it solved :) 2020-07-06 10:01:44 And yes, FF works, I use it as my main browser 2020-07-06 10:03:49 moosl: if you build musl 1.2 and install it should work. it works on my 4 machines, 2 armv7 and 2 aarch64 2020-07-06 10:04:07 Cogitri: thanks! Now I need to debug the PCI card... 2020-07-06 10:05:01 zomg!! changing repo is dead easy!! in apt-get and others you have to change files in a thousand places. 2020-07-06 10:06:08 mps: does musl run better than bloatdroid on the arms? 2020-07-06 10:06:49 bloatdroid? 2020-07-06 10:07:58 android? 2020-07-06 10:08:04 yeah 2020-07-06 10:08:28 well, there's a project that does just that and boots and thousands of arm devices 2020-07-06 10:08:36 (postmarketOS) 2020-07-06 10:08:45 so I'd say it works fine 2020-07-06 10:08:47 moosl: no, you can't install android apks but only alpine apks :) 2020-07-06 10:09:09 except when you install afontain_s anbox 2020-07-06 10:09:10 I was trying to run youtube on firefox on android and the thing heated up some much black thick smoke was comming out of the speakers. 2020-07-06 10:09:32 afontain_: Am I right? 2020-07-06 10:09:34 moosl: wow 2020-07-06 10:09:41 what phone is this? 2020-07-06 10:09:43 mps: It is possible 2020-07-06 10:09:54 4core 2GB 2020-07-06 10:09:58 mps: quite confusing by the way :P 2020-07-06 10:10:16 the test was ONE app, firefox. 2020-07-06 10:10:19 afontain_: heh, why I expect this :) 2020-07-06 10:11:03 afontain_: the smoke is a metaphor. It just heated up so much. 2020-07-06 10:11:32 moosl: yes, I use alpine on 32bit boxes as desktop for about two years 2020-07-06 10:11:32 "yeah, you install apk with `apk add ./something.apk`, but you should install this one with `adb install ./something.apk` after a `apk add cmd:adb`" 2020-07-06 10:12:07 so no excuse, I am abusing alpine on an underpowered cpu and is blazing fast. 2020-07-06 10:12:49 actually most responsive GUI desktop is armv7 on old samsung peach-pi exynos 5800 board with emmc card 2020-07-06 10:13:10 mps: which DE/WM? 2020-07-06 10:13:22 awesome wm 2020-07-06 10:13:33 but also tested with xfce 2020-07-06 10:13:49 mps: how many cores? is it the big.little things? 2020-07-06 10:14:04 my son use xfce on armv7 2020-07-06 10:14:19 yes, it is big.little 2020-07-06 10:14:20 mps: i'll be back, I have to reboot into edge, later I'll ask you about gcc cflags for arm. 2020-07-06 10:14:39 cflags for big.little are tricky as hell 2020-07-06 10:15:09 I hate rebootings 2020-07-06 10:27:51 I am back 2020-07-06 10:28:18 mps: so about the arm big.little cflags? how do u use them? 2020-07-06 10:29:16 I use this only when build kernels for these machines 2020-07-06 10:29:44 oh, no the apks? 2020-07-06 10:29:47 and don't activate it often 2020-07-06 10:30:33 are you sure it is needed for usespace 2020-07-06 10:30:39 so edge booted just fine 2020-07-06 10:30:45 I am impressed 2020-07-06 10:32:48 rofl! free -m used: 375 buff/cache: 353 2020-07-06 11:50:58 Hi 2020-07-06 11:51:59 I have created a APKBUILD for libqb https://github.com/ClusterLabs/libqb, but failed for subpackage-dev with >>> ERROR: libqb-dev*: usr/lib/pkgconfig/libqb.pc: pkgconf version 2.0.0-yank is invalid 2020-07-06 11:52:04 Any idea what the problem 2020-07-06 11:53:52 here is the apkbuild http://dpaste.com/2QX4NHB 2020-07-06 11:55:42 That it's 2.0.0-yank and not 2.0.0 2020-07-06 11:55:46 (hmm, could people use text/plain paste services) 2020-07-06 11:56:47 It's not possible to tell whether 2.0.0-yank is a more/less recent version than 2.0.0-somethingElse, so the version is rightfully marked as invalid 2020-07-06 12:13:13 got it, I took the wrong source archive 2020-07-06 13:32:41 nice ranger available 2020-07-06 13:48:40 trying to run docker with overlay2 and it can't find the aufs kernel module 2020-07-06 13:48:48 does this need to be installed separately? 2020-07-06 13:49:22 aufs is old and deprecated (never part of mainline linux) 2020-07-06 13:49:46 hmm, must be a red herring then 2020-07-06 13:56:11 "aufs is the preferred storage driver for Docker 18.06 and older, when running on Ubuntu 14.04 on kernel 3.13 which has no support for overlay2." 2020-07-06 13:57:41 yeah looks like the issue I'm running into is actually overlay2 not working on top of zfs 2020-07-06 13:58:02 which is unfortunate, because the software I need to run in docker doesn't seem to support the zfs backend :P 2020-07-06 14:01:11 is there a reason why alpine doesn't have xfs option during install? 2020-07-06 14:01:28 I need live resizing feature 2020-07-06 14:03:16 Probably because no one implemented it 2020-07-06 14:03:28 Also keep in mind that XFS can only grow 2020-07-06 14:03:55 "gjabell" (https://matrix.to/#/@freenode_gjabell:matrix.exqa.de): huh, applications can opt to not support a storage backend? 2020-07-06 14:04:11 I think you can also copy date only from xfs to xfs. 2020-07-06 14:04:47 well it's kubernetes in docker, think it's more an issue with kubernetes than them not supporting a backend 2020-07-06 14:05:30 "nponaraHAa" (https://matrix.to/#/@freenode_nponaraHAa:matrix.exqa.de): That's only the case if you use xfs-send 2020-07-06 14:07:30 nponaraHAa: is your nick cyrillic try in latin 2020-07-06 14:09:12 пропагаНДа :) 2020-07-06 14:09:23 mps: I had the exact same feeling 2020-07-06 14:09:38 at least, that it was meant to resemble cyrilic 2020-07-06 14:09:47 propagaNDa 2020-07-06 14:10:22 what makes you think so? 2020-07-06 14:10:27 ACTION hides 2020-07-06 14:11:24 maybe we live in same or neighboring country 2020-07-06 14:12:00 irc doesn't allow unicode in nicks 2020-07-06 14:12:11 I know 2020-07-06 14:12:18 I wonder if other platforms such as discord allow full unicode use. 2020-07-06 14:12:50 or matrix 2020-07-06 17:01:54 Guys, I want to install Alpine on a 16GB SD card 2020-07-06 17:02:15 should I make a 16GB bootable partition? 2020-07-06 17:02:49 I've heard bootable partitions are normally about 500mb - 1GB 2020-07-06 17:03:05 then why would you make a 16GB boot partition 2020-07-06 17:03:09 don;t be ridiculous 2020-07-06 17:03:11 you can do whatever you please 2020-07-06 17:03:17 as long as it works for you 2020-07-06 17:03:31 what is a "bootable partition" 2020-07-06 17:04:02 I ran for years with a single data partition containing /boot and everything else 2020-07-06 17:04:05 So 500MB bootable FAT32 and rest ext4 would work right? 2020-07-06 17:04:14 back in the days of MBR 2020-07-06 17:04:14 @tehcloud 2020-07-06 17:04:24 that would work 2020-07-06 17:04:36 there are lots of ways you can do this, try different methods out and see what's best for your use case 2020-07-06 17:05:00 Thanks. I want to set up a server 2020-07-06 17:05:25 Can alpine boot from usb on RPI3? 2020-07-06 17:06:12 never tried it 2020-07-06 17:07:16 ok. thanks mate 2020-07-06 17:10:32 w00t he left, it's just the kernel 2020-07-06 17:10:46 uh? 2020-07-06 17:10:59 congrats for what? 2020-07-06 17:11:32 w00t!? 2020-07-06 17:11:39 it's an automatic response :P 2020-07-06 17:12:48 ah yeah, I've see in other channels 2020-07-06 17:12:54 it was a fad a few years ago 2020-07-06 17:13:49 It's just a fun quirk, it normally does quite usefull things :) 2020-07-06 17:14:14 eb7fa7a3a01c265db26584e6754695bd2cdb5302 2020-07-06 18:12:16 Guys, there is no py3-flask in apk search 2020-07-06 18:12:25 am I missing something? 2020-07-06 18:12:41 There's no pip 2020-07-06 18:13:10 There's no emacs !!!!!!!!!!! 2020-07-06 18:14:16 enable the community repo? 2020-07-06 18:14:16 yes there is !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!11 2020-07-06 18:14:59 (one exclamation mark at most is sufficient) 2020-07-06 18:18:23 Aah ok 2020-07-06 18:25:20 after so much answers 'enable community repo', maybe we should reconsider enabling it by default on installation 2020-07-06 18:31:44 mps: next step: enable testing as well 2020-07-06 18:31:58 :) 2020-07-06 18:32:11 And while we're at it, build testing for stable releases 2020-07-06 18:32:27 not much people ask for testing 2020-07-06 18:32:43 they mix stable and edge to get testing packages 2020-07-06 18:33:17 I have split mind about testing 2020-07-06 18:33:20 maybe just make a suggestion of enabling the other repos when a package isnt found? 2020-07-06 18:34:04 testing could be enabled as pinned 2020-07-06 18:34:33 so, user must use 'apk add pkgname@testing' 2020-07-06 18:35:04 but that will fail on builders and CIs 2020-07-06 18:35:17 Better something in the installer 2020-07-06 18:35:45 yes, better idea 2020-07-06 18:36:29 Pinning is bound to break at some point too though 2020-07-06 18:36:45 yeah, I don' think we should encourage testing for normal usage 2020-07-06 18:37:03 I'd rather have apk print that mixing releases is unsupported and have a --allow-broken-mixed-releases flag for apk which you need to pass to mix releases or smth 2020-07-06 18:37:14 name doesn't sounds encouraging at the end 2020-07-06 18:37:42 that's the goal 2020-07-06 18:37:51 testing name, I mean 2020-07-06 18:38:02 The goal is to test the packages 2020-07-06 18:38:20 yes, but name says it is 'testing' 2020-07-06 21:53:41 anyone know off the top of their head the udhcpcd equivalent to dhcpcd.conf's 'nohook resolv.conf'? 2020-07-07 03:55:01 oh its just called udhcpd not udhcpcd 2020-07-07 03:57:53 guessing its handled with /usr/share/udhcpc/default.script ? 2020-07-07 03:59:14 dhcpcd is like udhcpc, udhcpd is like dhcpd 2020-07-07 03:59:18 yes it is confusing 2020-07-07 03:59:32 and yes 2020-07-07 03:59:51 you can also just install dhcpcd if you want 2020-07-07 04:00:27 or write your own script. not sure how to configure it though 2020-07-07 04:06:30 mps: a package like apt-suggestions would be nice 2020-07-07 04:06:52 'foo' is not installed but can be installed with apk from the 'testing' repository 2020-07-07 04:15:47 Hello71 yeah if my change doesnt work i'll just switch to dhcpcd, but i think unsetting RESOLV_CONF should do the trick 2020-07-07 04:16:44 it's helpful to get comfortable with busybox's stuff when i find myself working on a router system or something where dhcpcd would be a stretch to install 2020-07-07 05:44:32 "maldridge" (https://matrix.to/#/@freenode_maldridge:matrix.exqa.de): I think the problem with having smth like apt-suggestions is that we'd need to fetch a list of packages and what repo they're in and that list would probably be about as big as the entire repo tarball is 2020-07-07 05:46:02 well yes, that is the problem with the original apt setup as well 2020-07-07 05:47:14 and why void provides this as a seperate package, but I think that apk could do it by doing the search in the cmd: namespace 2020-07-07 06:21:49 maldridge: Cogitri: as you know apk format don't have 'suggest/recomend' (or any tag) so such option/program would be hard to implement, maybe only with external DB 2020-07-07 06:23:21 but such external DB will always 'out-of-date', (who will maintain it) 2020-07-07 06:25:16 another option could be something which will read https://pkgs.alpinelinux.org/packages and filter according some search criteria 2020-07-07 06:25:31 like apk-file 2020-07-07 06:25:57 pkgs.a.o doesn't offer an API though and it's not integrated into apk so next to no one will know about it and use it 2020-07-07 06:26:11 mps: pretty sure that all such systems like that are implemented with an external database 2020-07-07 06:26:19 parse html :) 2020-07-07 06:26:22 as there is a mapping of cmd to pkg 2020-07-07 06:26:46 If we want people to not complain about missing packages which are in community we'll need apk to tell them what they need to do to get that pkg 2020-07-07 06:26:51 void's is regenerated on a crontab, I suspect something similar would be necessary to do for an apk pkg as well 2020-07-07 06:27:26 Because most people just don't bother reading the docs anymore and just try things until it works 2020-07-07 06:27:55 actually, I'm for status quo 2020-07-07 06:28:41 (who cares for users who are lazy to read the docs) 2020-07-07 06:29:42 it is hard to have small and simple, and at the same big and easy to use 2020-07-07 06:29:52 same time* 2020-07-07 06:30:49 It would be lovely if pkgs.a.o accepted wildcards 2020-07-07 06:31:09 EF: it does 2020-07-07 06:31:25 Even says so in the placeholder for the search :D 2020-07-07 06:32:40 It doesn't for me. Searching for "i3" in v3.12, everytihng else default, I get "No item found..." 2020-07-07 06:33:43 Search for i3* 2020-07-07 06:33:47 Okay, ignore me! Mean partial searches. My error 2020-07-07 06:36:25 Tbh that surprised me at first too 2020-07-07 06:46:51 < Cogitri> "maldridge" (https://matrix.to/#/@freenode_maldridge:matrix.exqa.de): 2020-07-07 06:46:55 did matrix-to-irc just get more busted 2020-07-07 06:50:51 Huh, did it? 2020-07-07 06:51:06 seems like the nick mentions changed 2020-07-07 06:51:10 Ohh, maybe that's RiotX being very mediocre at quoting 2020-07-07 06:51:14 oh ok 2020-07-07 06:51:23 opal: Is it back to normal with this? 2020-07-07 06:51:27 yes 2020-07-07 06:51:33 Alrighty then 2020-07-07 06:51:35 yep 2020-07-07 06:51:43 Thanks for the heads up :) 2020-07-07 06:51:57 I better not use RiotX's built-in quoting then 2020-07-07 06:51:58 np 2020-07-07 06:52:01 heh 2020-07-07 06:52:10 seems like every client has a different way to quote 2020-07-07 06:52:18 or tab complete 2020-07-07 06:53:00 well, im getting alpine 3.12 armhf to try on my pi 2020-07-07 08:53:10 ay it works 2020-07-07 08:53:23 nice 2020-07-07 09:03:28 and why void provides this as a seperate package, <...> --- which package? 2020-07-07 09:03:56 xlocate, which uses an external database for exactly the reasons that were described above 2020-07-07 09:04:12 ah yes 2020-07-07 09:04:20 daily indexed i think 2020-07-07 09:04:52 wasn't sure what you were talking about 2020-07-07 09:05:19 I'm kind of opposed to automatically suggesting what package to install for a command unless it's opt-in. The delay it introduces (at least on ubuntu) is quite anoyg 2020-07-07 09:05:22 anoying* 2020-07-07 09:05:47 hmm, it was always opt in on debian I thought 2020-07-07 09:06:00 On Ubuntu it's enabled by default 2020-07-07 09:06:01 it printed some message about missing the suggestions package last time I tried 2020-07-07 09:06:49 Well, that already means the mechanism is active 2020-07-07 09:07:24 or a default handler provided by a much slimmer package needs to be present 2020-07-07 09:12:00 yes, on debian and derivatives 'recomends' installed by default 2020-07-07 09:12:39 user have to disable this explicitly if don't want these pkgs installed 2020-07-07 09:15:02 I accidentally used make install for a package I installed via apk and had trouble with removing the mess make made. I ran apk audit --system to see packages that were broken. As long as there are no results when I run apk audit --system, i am ok right? 2020-07-07 09:15:21 specifically worried about stuff from the make command lingering on my system 2020-07-07 09:16:54 make uninstall? 2020-07-07 09:17:41 mps: there was part of the make file that had make uninstall unfortunately 2020-07-07 09:18:03 then 'by hand' 2020-07-07 09:19:56 lol ya, thats what I did 2020-07-07 09:26:07 oh well 2020-07-07 09:26:15 I am having issues with znc disconnecting. 2020-07-07 09:26:25 Does anyone else have that issue on musl? 2020-07-07 09:26:38 well, everyone is using musl here.... My bad 2020-07-07 09:37:46 lmao 2020-07-07 09:45:01 is edge like a rolling release? 2020-07-07 09:45:11 yes 2020-07-07 09:45:18 excellent! 2020-07-07 09:45:42 dumb mainstream distros, haven't discovered musl yet 2020-07-07 09:46:09 They have, they just prefer glibc 2020-07-07 09:52:26 debian have for more than 3 years musl 2020-07-07 10:13:32 It's not just musl. apk is a treat to use 2020-07-07 10:15:18 and !systemd 2020-07-07 10:15:45 ^ that too 2020-07-07 10:36:34 mps: there's a debian musl iso? 2020-07-07 10:36:39 I wish to try it. 2020-07-07 10:36:48 I need like a stand alone apt-get 2020-07-07 10:45:05 no, musl lib and gcc deb pkg 2020-07-07 10:46:19 I used it to build go programs when I was on debian and worked with go 2020-07-07 14:02:12 i need bluetooth libbluetooth-dev, but apk add can't find those. how do i get them? 2020-07-07 14:02:56 Is that part of bluez? 2020-07-07 14:03:30 It seems so: https://pkgs.alpinelinux.org/contents?branch=edge&name=bluez-dev&arch=x86_64&repo=main 2020-07-07 14:03:33 i'm not sure. i need it for pip3 install pybluez to work 2020-07-07 14:03:34 bluez-dev 2020-07-07 14:03:44 that package contains libbluetooth.so 2020-07-07 14:03:53 i'll try. 2020-07-07 14:04:19 thanks! 2020-07-07 14:04:56 yw 2020-07-07 16:13:16 edge actually fixed some GL things. nice. 2020-07-07 16:14:09 does alpine got xfs support or I have to download something? 2020-07-07 16:19:04 my installed kernel package includes the xfs.ko module, but xfsprogs is a separate package 2020-07-07 16:21:03 so mount should handle it without problems? 2020-07-07 16:31:01 is it giving you an error message? 2020-07-07 16:34:13 never mind 2020-07-07 19:06:15 ACTION resists the temptation to install texlive/latex 2020-07-07 19:07:15 is there some metapackage? 2020-07-07 19:08:43 I don't see the extra latex packages 2020-07-07 19:08:58 what about math, science and the rest of stuff? 2020-07-07 19:16:50 nponaraHAa: What a coincidence, just two hours ago I installed latex. 2020-07-07 19:17:28 I think it was `texlive-full` the package name I used. 2020-07-07 19:17:44 shiroyasha: is xetex reccomended even though it's not used? it complains if missing 2020-07-07 19:18:11 shiroyasha: thanks, its there. 2020-07-07 19:22:31 Yeah I got some xetex/luatex errors with the `texlive` package, but the `texlive-full` fixed them. At least for my usecase. 2020-07-07 19:32:47 :( mount needs explicit -t ?? 2020-07-07 19:33:00 bb mount, yes 2020-07-07 19:33:33 mps: wow, maddening. It should have some warning or something. 2020-07-07 19:34:09 mps: a week of pulling my hair 2020-07-07 19:34:26 :) 2020-07-07 19:35:18 I ended up typing random options 2020-07-07 19:35:45 Cogitri: I tried to clarify some points of confusion on your page on root ZFS with encryption but I don't have access :( 2020-07-07 19:58:22 Huh, ikke ^ ? 2020-07-07 19:58:29 where does one get iwlwifi firmware on alpine? i am trying to frantically find the package but i just cant find it 2020-07-07 19:58:50 Not sure how permissions work in the wiki 2020-07-07 20:00:16 Cogitri: What are you refring to? 2020-07-07 20:00:39 wiki access? 2020-07-07 20:01:15 registration is open, and you should be able to edit pages 2020-07-07 20:01:27 but the first 5 hours you are not allowed to post links 2020-07-07 20:03:32 https://pkgs.alpinelinux.org/contents?file=iwlwifi*&path=&name=&branch=edge&repo=main&arch=x86_64 2020-07-07 20:04:25 but i already have this package 2020-07-07 20:04:39 yet it doesnt work 2020-07-07 20:07:41 what network card do you have? 2020-07-07 20:08:09 some intel dual band, but my networking menus are empty overall 2020-07-07 20:08:11 not even wired shows up 2020-07-07 20:08:15 not that i look at it 2020-07-07 20:08:48 but i do have networkmanager setup with iwd 2020-07-07 20:41:47 ikke: oh, I will wait a bit more and try then. I thought it said some smaller time. 2020-07-07 21:01:58 Cogitri: trying to mount the rpool/ROOT/alpine after a reboot, but I'm getting permission denied as root. I did the zfs load-key -a step 2020-07-07 21:02:11 Can you help ? 2020-07-07 21:06:17 And it asked you to enter a password? 2020-07-07 21:11:05 eydaimon: ^ 2020-07-07 21:26:48 is diskless install default for raspberry pi builds just because of limited writes to sd card? 2020-07-07 21:27:50 And because setup-disk doesn't know how to deal with these devices 2020-07-07 21:30:36 ah 2020-07-07 21:30:58 well it's a nice way to get me to learn the ins and outs of diskless installs 2020-07-07 21:31:03 think i'll stick with it 2020-07-07 21:32:50 hm i'm shopping for a router. openwrt immediately comes to mind when dealing with routers but i suppose alpine would work just as well or even better since i'm used to it? 2020-07-07 21:33:01 any known caveats compared to openwrt? 2020-07-07 21:33:13 other than i guess decreased arch support 2020-07-07 21:33:36 you should be just fine 2020-07-07 21:33:43 no fancy web interface :) 2020-07-07 21:33:43 (with alpine) 2020-07-07 21:33:46 i'd probably be fine building against a different arch if the crossdev process is easy 2020-07-07 21:33:52 yeah i dont need a webui so thats fine 2020-07-07 21:38:00 Cogitri: yes, it asked me and I got a few failures followed by a successful response 2020-07-07 21:38:11 ( I had the password slightly wrong 😅 ) 2020-07-07 21:42:41 I just replaced my old home router with a PC Engines apu3c4 running alpine 2020-07-07 21:42:42 filesystem 'rpool/ROOT/alpine' can not be mounted: Permission denied 2020-07-07 21:43:27 oh yeah my friend said he heard good things about pc engines 2020-07-07 21:45:18 -sigh- I think they're a bit slow, but otherwise ok if you really need low power 2020-07-07 21:46:56 4 cores but 1GHz... fast enough for me 2020-07-07 21:47:05 Hey there, I'm looking to rebuild the Alpine Xen ISO but with Xen 4.14-rc5. I've found the Alpine image building script for VM targets, is there a similar script available for the Alpine Xen ISO? Or an ISO building document? 2020-07-07 21:47:18 and way faster than the old Soekris 2020-07-07 21:56:15 Cogitri: I just destroyed it and started over 2020-07-07 22:22:10 I think there was an issue with the password. Does ZFS not like passwords ending with a space perhaps? 🤔 2020-07-07 22:41:01 is using LUKS any easier ? 2020-07-07 22:41:26 i'd say luks is more apt for the purpose of encryption 2020-07-07 22:41:37 but thats just me and my stupid unix philosophy 2020-07-07 22:42:32 but is it easier ? 2020-07-07 22:42:38 try it 2020-07-07 22:42:55 ive never used zfs 2020-07-07 22:57:36 https://wiki.alpinelinux.org/wiki/LVM_on_LUKS ? 2020-07-07 23:05:41 opal: openwrt is designed as target-specific with buttload of patches and target-specific customizations (e.g. flash size) 2020-07-07 23:06:59 also for example vendor-specific firmware images 2020-07-07 23:07:47 hopefully we can get some new zen apus, but until then they're horribly slow 2020-07-07 23:10:34 is fdisk scriptable ? 2020-07-07 23:12:15 oh, looks like sfdisk is 2020-07-07 23:12:28 eydaimon, sure, and looks like this... echo -e "o\nn\np\n1\n\n\nt\n7\na\nw" | fdisk 2020-07-07 23:13:32 and at end device path | fdisk /dev/sdX 2020-07-07 23:15:36 "sfdisk is a Scripted version of fdisk" 2020-07-07 23:15:48 maybe easier :) 2020-07-07 23:16:30 want to see if I can script Cogitri's ZFS encryption doc... doing it by hand is time consuming 2020-07-07 23:23:36 :) 2020-07-07 23:29:24 MY-R: printf '%s\n' o n p 1 '' t 7 a w 2020-07-07 23:29:35 maybe more '' 2020-07-07 23:30:56 :P 2020-07-08 01:54:55 Following the instructions in https://wiki.alpinelinux.org/wiki/Alpine_Linux_in_a_chroot but there is no /usr/share/syslinux/mbr.bin 2020-07-08 01:55:01 so how do i make it bootable ? 2020-07-08 01:55:26 also, could someone share the contents of their two first lines of /etc/apk/repositories ? 2020-07-08 01:55:53 this doesn't even work 2020-07-08 01:56:42 pretty sure you need to run extlinux 2020-07-08 02:03:02 what ? 2020-07-08 02:03:16 Hello71: can you still share your two first lines of the file ? 2020-07-08 02:03:20 eydaimon, be sure you have installed "syslinux" package if using it 2020-07-08 02:03:30 MY-R: thank you 2020-07-08 02:04:07 nm, I got the line I needed 2020-07-08 02:05:14 or maybe not, is the line not http://dl-cdn.alpinelinux.org/alpine/v3.3/community/ ? 2020-07-08 02:05:40 3.3? 2020-07-08 02:07:14 oops 2020-07-08 02:07:16 http://dl-cdn.alpinelinux.org/alpine/v3.12/community/ 2020-07-08 02:07:32 thank you 2020-07-08 03:04:25 Cogitri: apk add linux-vanilla fails because there's no linux-vanilla package. Is there something else I should do instead ? 2020-07-08 03:10:06 I'm following Cogitri's instructions and the /boot dir is empty. Would linux-vanilla install there ? 2020-07-08 03:10:53 oh there are a few files there now. but I don't see any vmlinuz 2020-07-08 03:13:06 eydaimon, use "linux-lts" package 2020-07-08 03:15:21 MY-R: cheers mate :) 2020-07-08 03:15:40 "linux-vanilla has been removed. Install linux-lts when upgrading." that is from changelog of v3.11 2020-07-08 03:16:37 you are welcome :) 2020-07-08 03:17:36 going to reboot and cross my fingers :P If it works, I'll improve the docs :) 2020-07-08 03:47:18 Is there a mailing list for alpine linux security advisories? 2020-07-08 03:48:19 theres one for security advisories in general, dont think alpine operates anything specific for its packages though 2020-07-08 03:50:00 Hello71 yeah openwrt is maybe what i'll go with, kinda need a working router. i can play with alpine on a router im not actually using for my internet 2020-07-08 03:50:10 when i get one for that purpose which may be a while 2020-07-08 03:52:46 Hello71: I recommend openwrt too. I love luci is the best webgui for a router I have used. installing and using openwrt was plug and play all the way through 2020-07-08 03:54:12 opal: I cannot seem to find that mailing list. Do you have a link? 2020-07-08 03:55:28 nvd runs rss feeds, it isnt actually a mailing list 2020-07-08 03:55:54 oh rss is good too 2020-07-08 03:56:19 https://nvd.nist.gov/vuln/data-feeds 2020-07-08 04:23:58 says missing operating system. I guess I will try more tomorrow :/ 2020-07-08 04:33:22 dd bs=440 count=1 conv=notrunc if=/mnt/usr/share/syslinux/mbr.bin of=/dev/sda 2020-07-08 04:33:26 is this still valid ? 2020-07-08 04:34:34 sounds right 2020-07-08 04:35:56 even for old bios ? 2020-07-08 04:36:31 "old bios"? 2020-07-08 04:36:58 nevermind 2020-07-08 06:21:00 opal: depends how many ethernet ports you need for router an/or do you need wifi, but I'm using alpine on arm32 SBC about two years now 2020-07-08 06:21:23 well, friend said she would give me a standalone wifi AP 2020-07-08 06:21:31 so the router itself wont need that capability 2020-07-08 06:21:45 so far im using two eth ports but i'd like to have growing room 2020-07-08 06:22:03 its personal use so nothing crazy 2020-07-08 06:22:06 not like im rack mounting this 2020-07-08 06:22:29 also my internet plan is horse shit, nowhere near gbit 2020-07-08 06:22:44 (but if i move somewhere with gbit i'd like to be able to use that easily) 2020-07-08 06:23:03 (also LAN is a consideration) 2020-07-08 06:23:44 I'm switched from armbian to alpine 2 years ago on my old lamobo R1 (arm 32bit, 5 ports, allwinner SOC) 2020-07-08 06:24:11 mm 2020-07-08 06:24:29 yeah the tradeoff i'm most considering is "geared toward routers" vs "something i've used on desktop and server before" 2020-07-08 06:24:43 i feel i can learn openwrt fairly easily but do i benefit that much from doing so 2020-07-08 06:24:47 also, my internet is ADSL, and local net 100Mbit 2020-07-08 06:25:03 i love the alpine community and devel cycle, i can feel free to push to aports or spin my own repo 2020-07-08 06:25:07 like, i know it already 2020-07-08 06:25:18 actually I tried openwrt on this board but was not satisfied 2020-07-08 06:25:22 mm 2020-07-08 06:25:28 what missed the mark for you 2020-07-08 06:26:05 openwrt is to much trimmed down, I mean most software is bare minimum 2020-07-08 06:26:19 too much* 2020-07-08 06:26:28 ah 2020-07-08 06:27:17 for example, I need full postfix and dovecot functionalities, not bare minimum 2020-07-08 06:34:05 oh youre using software such as that 2020-07-08 06:34:19 i plan to have stuff like tor, i2pd, yggdrasil, wireguard 2020-07-08 06:34:52 stuff i can easily share through my lan and route transparently 2020-07-08 06:34:55 privoxy 2020-07-08 06:35:00 privoxy's light as hell so that isnt an issue 2020-07-08 06:35:09 dns 2020-07-08 09:14:52 alpine linux supports displaylink video docking stations? 2020-07-08 09:15:04 they are usb 2020-07-08 09:32:58 Puku puku[d]: hey folks, wondering if someone might be able to answer some of my questions regarding alpine linux. 2020-07-08 09:32:58 Puku puku[d]:  2020-07-08 09:33:00 Puku puku[d]: I have a jailbroken kindle paperwhite 3 and am able to run alpine linux with DE on it. would it be possible to use run Anbox on this and then in turn be able to use 3rd party android ebook readers? 2020-07-08 09:38:49 someone has an idea for my wpa_supplicant problem described here? https://lists.alpinelinux.org/~alpine/users/%3C20200707131302.GA27249%40kiwi%3E 2020-07-08 10:12:15 hi 2020-07-08 10:14:52 so.. i booted custom alpine and i see that modloop hasn't been mounted, append line seems ok, cat proc/cmdline confirms, squashfs loaded, any ideas? 2020-07-08 10:38:48 anyone active here? 2020-07-08 10:39:35 AnOddOne: there are people active, but at least I don't know what the issue is 2020-07-08 10:40:37 k, ty 2020-07-08 12:33:51 hey, does anybody know if there's any info about how the rpi image is built? I'm trying to make my own version with newer kernel for rpi4 but I don't know how initramfs is built exactly in this case and also I don't know where to get modloop 2020-07-08 12:36:14 amom: openwrt does some weird and sketchy things, and their packaging system is meh 2020-07-08 12:36:32 kytart: https://gitlab.alpinelinux.org/alpine/aports/-/tree/master/scripts 2020-07-08 12:37:55 @ikke: lol totally missed that, looks promising. Thanks, I'll take a look! 2020-07-08 12:49:40 I'm trying to put the following lines in an APKBUILD, but the # is interpreted as a comment, which I don't want. How can I fix it? 2020-07-08 12:49:45 https://bpa.st/QM3Q 2020-07-08 12:50:10 quote it 2020-07-08 12:50:12 "^#" 2020-07-08 12:59:41 ikke: After that change, when running checksum, the script still fails. I can do "^# <<'EOF'" and it passes, but I don't know if that runs the same command. 2020-07-08 13:00:24 no 2020-07-08 13:00:27 it would not 2020-07-08 13:00:40 you should put the second quote after the # 2020-07-08 13:01:11 alternatively, I think you can write it « ^\# » 2020-07-08 13:01:38 French quoting :) 2020-07-08 13:01:56 afontain_: grep -v "^#" <<'EOF' does not work. Neither does escaping the pound 2020-07-08 13:02:00 indeed 2020-07-08 13:02:35 but both "^\#" and `^\#` could have been ambiguous 2020-07-08 13:02:56 :) 2020-07-08 13:02:56 bovis: are you sure there isn't a problem elsewhere? 2020-07-08 13:03:17 What error do you get? 2020-07-08 13:05:53 afontain_: After removing that code from the script, it runs without an error. 2020-07-08 13:06:07 ikke: line 125: syntax error: unexpected end of file (expecting ")") 2020-07-08 13:06:36 how about removing the quotes around 'EOF'? 2020-07-08 13:06:42 That's the error without making any changes to what I presented originally. 125 is the final line of the file 2020-07-08 13:07:08 how did you end your heredoc? 2020-07-08 13:07:20 easiest is probably to link the source 2020-07-08 13:07:57 afontain_: Removing those quotes doesn't help. Same error I just showed. 2020-07-08 13:08:16 well, add them back I guess 2020-07-08 13:08:20 could have been that 2020-07-08 13:08:33 I'm sure your error is several lines down 2020-07-08 13:09:01 Here's the entire script: https://bpa.st/AP7Q 2020-07-08 13:09:37 It's a direct copy of this, https://git.alpinelinux.org/aports/tree/community/wine/APKBUILD , but with the one change I've made we're discussing now 2020-07-08 13:09:57 ` EOF` 2020-07-08 13:10:02 ^ that's your error 2020-07-08 13:10:18 EOF must be the only thing on the line ever 2020-07-08 13:10:20 no spaces 2020-07-08 13:11:26 afontain_: Yes the checksum runs without error now 2020-07-08 13:11:29 Thank you 2020-07-08 13:20:34 Puku puku[d]: The `alpine-desktop` package doesn't exist anymore? 2020-07-08 13:21:48 59ed4dcbaef9dec859eb014a003cb7a4c89780b0 2020-07-08 13:21:53 Indeed 2020-07-08 13:25:31 Puku puku[d]: what's the alternative? I don't see a setup script 2020-07-08 13:25:38 setup-xorg 2020-07-08 13:25:49 you need alpine-conf installed 2020-07-08 13:26:12 Puku puku[d]: install alpine-conf, then run setup-xorg-base again? (ive ran it once already) 2020-07-08 13:26:16 ah ok 2020-07-08 13:26:18 https://wiki.alpinelinux.org/wiki/Desktop-notes 2020-07-08 13:26:22 then no, no need to run it again 2020-07-08 13:26:41 Puku puku[d]: Cheers, will follow along those notes 2020-07-08 13:26:41 But you have to choose what desktop setup you want 2020-07-08 14:36:32 Anyone here have any success using the apkovl=http://server/hostname.apkovl.tar.gz initramfs options? 2020-07-08 14:48:20 Puku puku[d]: afontain_: Would you able to give a little more info on this please? I'm up to the point where I've place the image in the correct location. What commands to run from that point? 2020-07-08 14:50:20 albr: arch? 2020-07-08 14:50:53 or rather puku puku, but I doubt pings will get through 2020-07-08 14:53:11 Puku puku[d]: arch? I'm trying to get it working on Alpine Linux 2020-07-08 14:53:24 Puku puku: what isn't it doing precisely? also afontain means CPU type, arm, x86? 2020-07-08 14:54:15 Puku puku[d]: wsinatra: x86, I am testing on vmware player 2020-07-08 14:54:16 yeah. It's also the one that's given by the `arch` command 2020-07-08 14:54:29 32bits? 2020-07-08 14:54:59 Puku puku[d]: afontain_: Oh right, I understand what you mean now. It's x86_64 2020-07-08 14:55:08 ah 2020-07-08 14:55:12 good 2020-07-08 14:55:23 Puku puku[d]: I've done apk add anbox. Then copied the android.img to the correct location. 2020-07-08 14:55:27 Puku puku[d]: Not sure what to do from that point. 2020-07-08 14:55:34 did you start the service? 2020-07-08 14:55:39 do you know how openRC works basically? 2020-07-08 14:55:43 rc-service start anbox-container-manager 2020-07-08 14:56:07 it's what "start the service (anbox-container-manager)" is about 2020-07-08 14:56:11 if the manager isn't running you can't run the anbox container, if you want that to be persistent you need to also do rc-update add anbox-container-manager 2020-07-08 14:57:37 Puku puku[d]: Okay, I managed to start the service with `rc-service anbox-container-manager start` and have added it to be persistent. 2020-07-08 14:57:55 oh yeah I always get that backwards, my bad 2020-07-08 14:58:26 Puku puku[d]: I now run anbox-launch? 2020-07-08 14:58:29 run anbox-launch and it should work, assuming you have an android.img in /usr/share/anbox with the right perms 2020-07-08 14:59:00 Puku puku[d]: I did not set any perms, what perms do I set on the android.img? 2020-07-08 14:59:59 I've got mine as 644 but also owned by my user 2020-07-08 15:00:12 -rw-r--r-- 1 wsinatra wsinatra 325902336 Jul 7 08:43 android.img 2020-07-08 15:01:11 you'll probably also want this https://www.f-droid.org/ since the base container doesn't come with a whole lot installed in it, f-droid at least gives you a FOSS app store to work with 2020-07-08 15:01:20 of course, you can just adb install whatever into the container once it's done 2020-07-08 15:02:12 Puku puku[d]: I think I've not set it up right, when I launch 'anbox-launch' it just hangs on the 'Starting...' screen. 2020-07-08 15:02:35 It takes a bit to actually launch the container 2020-07-08 15:03:12 that said, I'm not sure how well it'll play inside of a VM, I've only tested it on hardware up to this point 2020-07-08 15:03:46 Cogitri: any idea why it would fail to boot after following your instructions ? 2020-07-08 15:05:28 Define "fail to boot" please :) 2020-07-08 15:06:03 Puku puku[d]: wsinatra: I'll let it sit for a while, but it looks pretty dead hehe 2020-07-08 15:07:12 Puku puku: I actually pulled up an Alpine VM in qemu to test it there, and it went through in about a minute 2020-07-08 15:07:50 that's on 2 vCUPs & 4G ram, but it's only using 1G for the LXC container + an XFCE4 desktop env 2020-07-08 15:08:24 Puku puku[d]: wsinatra: I see, I think I may have some other underlying issues, probably due to not having installed Alpine properly. The anbox window has now self closed too. 2020-07-08 15:08:26 Not sure what kind of hardware you're trying to test it on though, which might have something to do with it. 2020-07-08 15:08:48 Cogitri: one sec, I'll get you the exact wording 2020-07-08 15:08:53 If you pull up a terminal and issue anbox-launch through there you'll get some level of error output at very least 2020-07-08 15:09:34 Puku puku[d]: Oh you are right: "Application manager service is not running yet" 2020-07-08 15:09:49 Cogitri: Sorry I realize it was vague. It says: Missing Operating System, reboot and select proper boot device 2020-07-08 15:10:06 rc-status will show you your running/enabled services 2020-07-08 15:10:36 You might just need to restart the lxc manager, if you had your initramfs rebuilt recently (like after a large upgrade) you might also need to reboot 2020-07-08 15:10:51 that happens pretty regularly with container/vm systems 2020-07-08 15:12:00 Puku puku[d]: wsinatra: "rc-service lxc-manager start" ? 2020-07-08 15:12:17 should just be rc-service anbox-container-manager start 2020-07-08 15:12:26 that needs to be done to let you launch the anbox container 2020-07-08 15:12:33 since it's all kind of self contained 2020-07-08 15:12:37 Puku puku[d]: Yep, that one is running 2020-07-08 15:13:27 If you run ip addr, do you have an anbox0 interface? 2020-07-08 15:13:56 Puku puku[d]: Yes, I do 2020-07-08 15:14:28 Well at least part of it is definitely working then. restart the service and try to run anbox-launch from the terminal again 2020-07-08 15:14:41 if it can bring up that interface it should in theory work just fine 2020-07-08 15:15:21 Puku puku[d]: "Application manager service is not running yet" I may not have set up my Alpine install correctly? Is this application manager referring to another component of the OS? 2020-07-08 15:17:19 No I don't think that's the case, that error is specific to anbox 2020-07-08 15:17:24 https://github.com/anbox/anbox/issues/1149 2020-07-08 15:17:44 that said a lot of people see it, some suggest installing linux-headers, some suggest change cgroup settings 2020-07-08 15:19:54 eydaimon: sounds like your EFI can't find something to boot from? 2020-07-08 15:20:12 Cogitri: it's an old machine which uses BIOS 2020-07-08 15:29:02 Ah, no clue then, haven't used BIOS for years now 2020-07-08 15:29:17 But I guess it needs something to find your bootloader or smth 2020-07-08 15:32:15 Cogitri: I was under the impression that BIOS can read MBR just fine. Also, the regular alpine install boots just fine 2020-07-08 15:32:29 well, I know BIOS can read MBR just fine :) 2020-07-08 15:34:21 Well, that msg means it doesn't even get into the bootloader, I guess 2020-07-08 15:40:00 Cogitri: that's what it would seem. SO in addition to writing the MBR diwh bs=440 count=1 conv=notrunc if=/mnt/usr/share/syslinux/mbr.bin of=/dev/sda is there something else? vmlinuz is installed on /boot at /dev/sda1. I'm not sure how to tell if the MBR is found or something else is missing 2020-07-08 15:43:52 Sorry, I really have no clue about MBR or anything BIOS, but I don't think it should differ in the ZFS setup compared to normal Alpine 2020-07-08 15:44:07 Maybe the /boot partition overwrote it or smth? 2020-07-08 15:45:45 Not sure. it's the last step I performed :/ 2020-07-08 15:46:54 I'll try grub 2020-07-08 15:48:49 eydaimon: for syslinux as I said you also need to run extlinux 2020-07-08 15:48:58 also I think you need to set the boot flag on the partition 2020-07-08 15:49:29 also technically BIOS doesn't read MBR at all. it just reads the first sector into memory and jumps to it 2020-07-08 15:49:45 which I guess is the original sense of MBR, but not the modern sense 2020-07-08 15:55:35 Hello71_:I missed that, sorry. I did run extlinux. and bootflag is set 2020-07-08 15:57:24 Guess we'll need to support Flutter applications and libraries at some point in the future https://ubuntu.com/blog/canonical-enables-linux-desktop-app-support-with-flutter 2020-07-08 16:03:18 Oh dear 2020-07-08 16:05:47 Well I can postpone that until I personally need it 2020-07-08 16:07:04 Haha exactly 2020-07-08 16:08:01 as long as it's better than electron 2020-07-08 16:11:22 ACTION uploaded an image: fractal-pasted-image (18KB) < https://matrix.org/_matrix/media/r0/download/gnugen.ch/TVlpqFVDogQoxrGSORKOkAvY > 2020-07-08 16:11:43 the day you don't need anbox anymore 2020-07-08 16:11:44 Not very ambitious 2020-07-08 16:12:18 ^ wtf this is running on GTK3 2020-07-08 16:13:25 well, if the ecosystem is relying on snap… 2020-07-08 16:13:30 hmm. If I run modprobe zfs in chroot I am met with this error: modprobe: FATAL: Module zfs not found in directory /lib/modules/5.4.0-26-generic but the path is: /lib/modules/5.4.43-1-lts 2020-07-08 16:13:42 is that to be expected ? 2020-07-08 16:14:00 or am I crazy to load zfs in chroot? 2020-07-08 16:14:13 yes, it doesn't make sense 2020-07-08 16:14:29 the module version needs to match the kernel that is running 2020-07-08 16:14:45 ie, uname -r 2020-07-08 16:14:59 ok. I was trying to get grub going since the other way is failing, but no luck I guess 2020-07-08 16:20:33 maybe this explains why I have issues: 2020-07-08 16:20:35 Device Boot Start End Sectors Size Id Type 2020-07-08 16:20:37 /dev/sda1 * 2048 206847 204800 100M 83 Linux 2020-07-08 16:20:39 /dev/sda2 206848 1250263039 1250056192 596.1G 83 Linux 2020-07-08 16:20:41 sorry for spam 2020-07-08 16:20:51 it wouldn't let me start on sector 1 2020-07-08 16:21:02 could that be a problem ? 2020-07-08 16:21:16 isn't that expected? 2020-07-08 16:21:29 you have to write the partition table somewhere 2020-07-08 16:32:16 oh nevermind I guess it is. the instructions even shows. it just wasn't letting me choose sector one with fdisk but the results shows 2048 2020-07-08 16:39:14 what are you trying to do anyways 2020-07-08 16:42:46 get alpine to boot ( https://wiki.alpinelinux.org/wiki/Alpine_Linux_with_root_on_ZFS_with_native_encryption ) 2020-07-08 16:44:35 since the steps there failed, I wanted to try grub. but grub complained about various things that I tried to address (and failed) 2020-07-08 16:44:42 you said you were doing https://wiki.alpinelinux.org/wiki/Alpine_Linux_in_a_chroot 2020-07-08 16:45:19 oh, this is a bad guide 2020-07-08 16:45:23 well, both of these 2020-07-08 16:50:08 oh, I see. June 1 was two weeks before 3.10 release 2020-07-08 16:51:24 all you need to do now is use alpine 3.10+ (3.12 recommended obviously) iso and then skip setup-disk partitioning 2020-07-08 16:53:26 Hello71: omg ❤️ 2020-07-08 16:53:34 I will try that. thank you :) 2020-07-08 16:53:46 maybe you can fix what you have now but it might be easier to restart 2020-07-08 16:54:14 it got gimp, inkscape, krita 2020-07-08 16:54:26 there's everything in here 2020-07-08 16:54:38 Hello71: I'll give it a shot :) 2020-07-08 16:55:23 for example DISKOPTS='-m sys /mnt' 2020-07-08 16:55:27 my barebones alpine is gaining weight :( 2020-07-08 16:55:33 see https://git.alpinelinux.org/alpine-conf/tree/setup-alpine.in and https://git.alpinelinux.org/alpine-conf/tree/setup-disk.in 2020-07-08 16:56:56 keepassxc is borked :D 2020-07-08 16:57:01 is anyone else having issues with libvirtd? I start the service but cannot connect with virsh -c. I want to blame upstream for this 2020-07-08 16:57:26 I'd share logs but I'm a bit busy now. Just wanted to take a poll and see if anyone else is having issues or if I'm doing something silly 2020-07-08 16:58:19 Can confirm that I don't see any problems on the 3 edge systems I've got libvirt on 2020-07-08 17:01:16 wsinatra: interesting..you're just doing /etc/init.d/libvirt start? Did you ahve to do any mods after apk adding the packages? 2020-07-08 17:02:58 Yeah haven't had to do anything weird, everything's status quo over here 2020-07-08 17:07:24 interesting. thanks for your observations 2020-07-08 17:07:49 if you wouldn't mind, would you share your package list? maybe i'm missing a dep or something 2020-07-08 17:09:30 I used an ansible playbook to setup all three systems, but specifically I have this as for setting up libvirt 2020-07-08 17:10:12 libvirt-daemon qemu-img qemu-system-i386 qemu-system-x86_64 qemu-system-arm qemu-system-aarch54 netcat-openbsd dbus polkit virt-manager 2020-07-08 17:10:18 I'm using ansible myself. Seems to be unstable 5.49 was fine, but with 5.50 now it's kaput 2020-07-08 17:10:25 cheers, let me take a look 2020-07-08 17:11:05 Hello71: is that part of the setup then? The setup-disk partitioning ? 2020-07-08 17:11:14 I've got the same thing, but maybe i'm not starting dbus early enough. I haven;t really put all that much effort into looking at my issue yet..been a bit busy 2020-07-08 17:11:18 setup-alpine calls setup-disk 2020-07-08 17:11:43 wsinatra: thanks for your insight though. I'll look into this a bit later 2020-07-08 17:12:31 Hello71: 👍 2020-07-08 17:12:34 Hmm, I just checked the libvirtd version on mine, it's 6.5.0, looks like that's only one release behind, and 6.6.0 isn't out yet even. 2020-07-08 17:12:56 me too 2020-07-08 17:13:21 service starts OK, nothing funny in the logs, but both virsh and libvirt-manager can't connect to qemu 2020-07-08 17:14:37 rc-service libvirt restart 2020-07-08 17:14:43 libvirtd* 2020-07-08 17:14:56 Hello71: no dice. If only it was that easy ;) 2020-07-08 17:15:09 anything in any of the logs? Sounds like the way to go? 2020-07-08 17:15:15 I suspect virtlogd as well, but I am unsure 2020-07-08 17:15:17 actually, is your user part of libvirt or kvm? 2020-07-08 17:15:20 doesn't libvirt use a local socket 2020-07-08 17:15:22 can't remember which group it is 2020-07-08 17:15:23 not dbus 2020-07-08 17:15:27 user is in libvirt, not kvm, 2020-07-08 17:15:46 wsinatra lp wheel audio kvm docker libvirt abuild <- that's a difference then, try adding to kvm 2020-07-08 17:16:05 Wilco - I'll add to kvm 2020-07-08 17:16:09 I'm not sure that's actually necessary, but it's consistent across my machines 2020-07-08 17:16:32 I should see if root can connect actually 2020-07-08 17:16:35 Hello71: I honestly don't remember. Pretty sure it does use a socket and the dbus is for something else 2020-07-08 17:16:55 for polkit maybe? 2020-07-08 17:16:56 find /var -type s 2020-07-08 17:18:17 will try much of this later on. cheers friends 2020-07-08 17:18:23 too bad i'm not in CET ): 2020-07-08 17:19:34 Good luck! Happy to help if I can, I'm floating around here most days, just mention me if you see my nick 2020-07-08 17:27:10 Hello71: it's asking me what type of install to do ... sys, data, lvm. I'm worrying about pickin gthe wrong option and erasing the partitions. Does the choice come later ? I don't recall 2020-07-08 17:27:36 setup-disk default creates a new partition table 2020-07-08 17:33:50 Hello71: so how do I skip setup-disk ? 2020-07-08 17:33:58 it didn't seem to be an option during the setup 2020-07-08 17:33:59 press ctrl-c 2020-07-08 17:34:05 oh it's the last step ? 2020-07-08 17:34:18 Yes 2020-07-08 17:34:18 https://git.alpinelinux.org/alpine-conf/tree/setup-alpine.in 2020-07-08 17:34:35 well if you use sys then it is 2020-07-08 17:35:15 so how do I get it to do the rest of the setup to get the ZFS enc to work ? 2020-07-08 17:35:22 sorry if this is a stupid question 2020-07-08 18:38:54 Guys, there are so many packages for uwsgi 2020-07-08 18:39:21 I use http=0.0.0.0:2653 2020-07-08 18:39:56 in my configuration file and it complains of socket option is missing 2020-07-08 18:40:20 I installed uwsgi-http but error won't go away 2020-07-08 18:40:49 I think some plugin has to be installed but don't know which 2020-07-08 18:41:56 This configuration without a socket has worked for others 2020-07-08 19:00:18 . 2020-07-08 19:00:55 Was off for a while. Any solutions on uwsgi http socket problem 2020-07-08 19:03:04 Huh, just works for me, I only installed uwsgi 2020-07-08 19:03:42 I use it for searx 2020-07-08 19:12:04 https://stackoverflow.com/questions/36474030/uwsgi-as-http-server-in-config-ini-option-is-called-http-socket-not-http/36474210#36474210 2020-07-08 19:12:10 For when they come back 2020-07-08 20:17:19 Will busybox ever use PAM? Or will it always try and handle things internally 2020-07-08 20:19:10 I'm trying to figure out how to get /bin/su to use PAM so that I can enable 2-factor authentication 2020-07-08 20:20:07 webstrand: use sudo 2020-07-08 20:23:30 c705: I was actually trying to avoid installing sudo. But even if I did, the /bin/bbsuid binary could be used to bypass the 2nd factor, right? 2020-07-08 20:28:51 if that were the case, sudo would be useless. so I'm guessing no 2020-07-08 20:29:14 Busybox could use pam, we just don't build it with pam to not pull in libpam into the base docker container 2020-07-08 20:29:35 I guess maybe we could offer a busybox-pam edition 2020-07-08 20:30:06 I wouldn't mind switching to sudo, I really have nothing against it. But I'm not sure how I'd go about disabling `su` then? 2020-07-08 20:30:16 disabling su? 2020-07-08 20:30:35 If I delete it, it'll just get recreated next time the busybox post install hook gets run. 2020-07-08 20:30:48 why do you want to? 2020-07-08 20:31:01 hmm 2020-07-08 20:31:06 I see 2020-07-08 20:31:09 ikke: I want to force 2-factor authentication with PAM. If `su` doesn't use PAM to auth, then it can bypass 2fa 2020-07-08 20:31:30 you can probably do chmod 600 on it 2020-07-08 20:31:42 or remove setuid 2020-07-08 20:32:19 oh no, for bb it's symlink to the general setuid binary 2020-07-08 20:32:22 that's the confusing part: /bin/bbsuid need the setuid for other commands, such as mount/unmount 2020-07-08 20:32:52 yeah 2020-07-08 20:33:03 so just removing su would be moot anyway 2020-07-08 20:33:12 because bbsuid would still exist 2020-07-08 20:33:44 webstrand: https://github.com/gliderlabs/docker-alpine/issues/101 2020-07-08 20:33:51 is this what you're concerned about? 2020-07-08 20:34:04 all you need to do is lock root's password: passwd -l root 2020-07-08 20:36:40 but you could still login as other users if you know their password 2020-07-08 20:39:32 c705: I think I see what you're getting at. Right now, I think I want root to have a valid password, though. 2020-07-08 20:39:52 I'll have to think about locking it, and using user passwords to escalate 2020-07-08 20:40:01 webstrand: imo, root should always be locked and sudo policies set for as little access as you require in your container 2020-07-08 20:40:09 then sudo up from the regualr user 2020-07-08 20:40:26 but do whatever you need to, be my guest 2020-07-08 20:40:42 why do you assume docker containers? 2020-07-08 20:41:02 ah, that's one difference. I'm running alpine on bare metal 2020-07-08 20:41:23 so root pw is not a bad idea in case you get locked out 2020-07-08 20:41:30 ikke: either way, my recommendation would be the same 2020-07-08 20:41:37 ^^ 2020-07-08 20:42:15 ikke: if you get locked out, init=/bin/sh or single user mode. it's sightly more of a pain, but a bit safer 2020-07-08 20:42:29 does require downtime 2020-07-08 20:42:36 which might or might not be an issue 2020-07-08 20:42:38 ikke: I suppose so 2020-07-08 20:43:26 idea of root password doesn;t sit well with me. especially if there is more than 1 admin 2020-07-08 20:43:36 not particularly an issue. Rebooting is already a pain due to an encrypted rootfs. I shouldn't be locking myself out, though. 2020-07-08 20:43:39 but obviously, you do whatever you need to do, right? 2020-07-08 20:47:01 another option would be to use a passwd hashing algorithm thats unsupported by busybox 2020-07-08 21:06:22 trying and failing to install ejabberd on armhf https://wowana.me/paste/m0EmN3.txt 2020-07-08 21:07:07 opal: combining edge and stable is not supported 2020-07-08 21:07:13 i tried without edge/main and edge/community as well 2020-07-08 21:07:48 and you have different repos pinne with the same name, not sure how that's supposed to work 2020-07-08 21:08:45 I think each repository should have a unique name if you use pinnign 2020-07-08 21:09:13 but as you see, apk does not try to find the dependencies in the pinned repos 2020-07-08 21:09:31 and those dependencies might even conflict with already installed packages 2020-07-08 21:10:20 opal: did you try on a complete edge system? 2020-07-08 21:16:56 no, i'd rather just roll my own repo entirely since i'm probably better off anyway. would like to get off openrc while im at it 2020-07-08 21:17:08 nod 2020-07-08 21:17:14 >and you have different repos pinne with the same name, 2020-07-08 21:17:18 was just trying it to see if it worked 2020-07-08 21:17:31 >apk does not try to find the dependencies in the pinned repos 2020-07-08 21:17:31 I don't think it would solve this issue 2020-07-08 21:17:32 ah 2020-07-08 21:17:46 what would you use instead of openrc? 2020-07-08 21:17:49 s6 2020-07-08 21:17:52 aha, ok 2020-07-08 21:17:54 no im not saying it would solve this issue 2020-07-08 21:17:59 just wanted to do it anyway 2020-07-08 21:18:32 might as well play with stuff while im not using my pi for anything serious, perfect opportunity 2020-07-08 21:18:46 ive used s6 for a user session so far, running it from xinitrc and it's worked fine for that purpose 2020-07-08 21:18:56 gonna see how s6-rc and s6 as init works for a system install 2020-07-08 21:19:25 I can't recally why anymore, but I've heard that using s6 as a general init system doesn't work that well 2020-07-08 21:19:46 well, s6-rc is supposed to solve the service dependency issue 2020-07-08 21:19:53 other than that i cant think of possible pitfalls 2020-07-08 21:20:06 Ah, right, that might have been the issue I've heard 2020-07-08 21:20:23 cgroups and other stuff can be managed externally 2020-07-08 21:20:30 so that shouldnt be an issue 2020-07-08 21:21:03 yeah, that along with static linking everything, perfect excuse to spin up a local repo :> 2020-07-08 21:22:24 How do you manage security updates with statically compiled binaries? 2020-07-08 21:22:37 sounds like a lot of work having to rebuild everythign constantly 2020-07-08 21:23:32 You don't, you pray 2020-07-08 21:25:06 That's apears to me one of the biggest downsides of statically compiling everything 2020-07-08 21:25:30 Even though it's every attractive due to not having to deal with dependencies 2020-07-08 21:30:03 opal: s6-rc looks pretty neat, do you know if there's an existing distro using it? 2020-07-08 21:37:45 not that i know of 2020-07-08 21:38:36 ikke well it's something a source-based distro would be better at, yeah 2020-07-08 21:43:00 Hello71: did you see my stupid question ? 2020-07-08 21:49:13 didn't I already say to format yourself and then do setup-disk /mnt 2020-07-08 21:49:20 I guess not exactly 2020-07-08 21:55:59 ikke: there was some analysis of that whole issue here: https://drewdevault.com/dynlib.html 2020-07-08 21:58:12 Yes, I've read that 2020-07-08 22:09:09 Hello71: thank you for clarifying :) 2020-07-08 22:15:24 nshp thanks for the link, havent seen it 2020-07-08 22:15:34 just seen uh, i think cat-v's writeup and maybe a few others 2020-07-08 22:15:47 both articles in defense for dynamic linking and against it 2020-07-08 22:17:20 how does alpine build process handle relinking against libraries whose ABIs change (qt comes to mind) 2020-07-08 22:17:53 Rebuild the package to link against the new version 2020-07-08 22:18:02 is this a manual process 2020-07-08 22:18:04 yup, so a pkgrel bump for all dependencies 2020-07-08 22:18:05 yes 2020-07-08 22:18:08 ouch 2020-07-08 22:18:18 there are tools that list what depencies there are 2020-07-08 22:18:28 ap (lua-aports) for example 2020-07-08 22:18:40 It is mostly automated 2020-07-08 22:19:10 and apkgrel to update the pkgrel of packages 2020-07-08 22:19:19 so it's quite easay to script 2020-07-08 22:19:22 easy* 2020-07-08 22:21:18 ap revdep qt5-qtbase-dev lists 372 packages 2020-07-08 22:21:52 i see 2020-07-08 22:23:09 would this scale for the purpose of static linking or am i better off with a package manager that's more aware of backtracking dependencies 2020-07-08 22:23:41 i know alpine is trying to add more -static packages so maybe this is something that could be improved 2020-07-08 22:23:45 unsure what your take is 2020-07-08 22:23:58 -static packages are mostly for static libraries some people use 2020-07-08 22:24:08 and they are added on demand and should be removed after some time 2020-07-08 22:24:11 ah 2020-07-08 22:24:19 maxice8: why after some time? 2020-07-08 22:24:44 Because they are unwanted and are only added after someone asks and people don't stick forever 2020-07-08 22:26:18 opal: ncopa is planning to build a next-gen version of ap, so I think things in that regard should only improve 2020-07-08 22:26:23 i was under the impression that static binaries were a lasting effort in alpine as of late 2020-07-08 22:26:26 but I think even ap already should get you pretty far 2020-07-08 22:26:35 ah ok 2020-07-08 22:26:46 ap being what here 2020-07-08 22:26:52 im conditioned to think of "activitypub" every time i hear it 2020-07-08 22:26:53 There are certain static stuff like busybox 2020-07-08 22:27:08 opal: it's a tool provided by lua-aports 2020-07-08 22:27:14 o 2020-07-08 22:27:32 it provides repo-wide data 2020-07-08 22:27:47 im gonna have to look more into this 2020-07-08 22:28:28 the alpine builders rely heavily on ap 2020-07-08 22:33:30 maxice8: +1 2020-07-08 22:33:41 mps: right on time 2020-07-08 22:33:51 :) 2020-07-08 22:33:58 you know 2020-07-08 22:35:21 Hello71: just to be even more clear (sorry to bother you), would I still create /mnt as zfs and subdir /mnt/boot as ext4 ? Also, I can't load zfs ... modprobe fails because it's not in modules.dep 2020-07-08 22:35:36 did you apk add zfs 2020-07-08 22:35:41 aye 2020-07-08 22:35:49 hm. 2020-07-08 22:35:52 zpool.ko is in that file, but not zfs.ko :/ 2020-07-08 22:35:57 try depmod -a 2020-07-08 22:36:40 can't open modules.dep read-only filesystem 2020-07-08 22:37:28 if I use the live CD, is setup-alpine available there ? 2020-07-08 22:37:32 in the chroot ? 2020-07-08 22:39:15 I have no clue what you're '+1'-ing though mps 2020-07-08 22:39:34 maxice8: take it and run with it :) 2020-07-08 22:39:48 maxice8: removing -static :) 2020-07-08 22:39:59 a pet-peeve from mps 2020-07-08 22:43:07 I think we want it for different reasons 2020-07-08 22:43:20 yes 2020-07-08 22:47:28 A temporary alliance then someone backstabs the other 2020-07-08 22:58:39 eydaimon: ... didn't I already say to use the alpine chroot 2020-07-08 23:13:50 Hello71: not explitly and because I can't load ZFS, I am verifying 2020-07-08 23:13:56 explicitly 2020-07-08 23:14:04 uh, s/chroot/iso/ 2020-07-08 23:14:08 sorry 2020-07-08 23:14:20 heh :) 2020-07-08 23:29:15 hi all. couple questions, is there any way to track the status of an edge package making it into a release? looking forward to cloud-init and hoping it makes it in this year ehe. also, is it normal for *-dev packages of libraries to not include archive files for static linking? 2020-07-08 23:32:48 Hello71: well, since I can't load ZFS, I'm a bit stuck doing it that way, no ? 2020-07-08 23:32:53 http://google.com/search?q=alpine+linux+release+cycle 2020-07-08 23:33:09 eydaimon: I forget how installing modules on the iso works 2020-07-08 23:34:25 anyone here who would know ? 2020-07-08 23:35:24 I searched on the wiki but I don't see anything obvious 2020-07-08 23:38:06 check ./modloop 2020-07-08 23:38:16 taht's where my modules land from the iso 2020-07-08 23:38:24 c705: thank you 2020-07-08 23:39:04 oh, I see. you're supposed to download the extended iso 2020-07-08 23:39:10 https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/scripts/mkimg.standard.sh#L32 2020-07-08 23:47:02 oh I was confused about the distinction between edge/main and edge/testing. it's been in edge/testing for several years based on git logs 2020-07-08 23:51:20 Weird question about terminology. Is the "aports" term specific to Alpine's "aports tree", or is it some generic term? I'm making my own custom Alpine repositories for private packages (nothing from the official repos), so I'm not sure if it makes sense to call the Git repository "aports" too, or think of something else. 2020-07-09 00:10:04 I think aports is just short for alpine-ports 2020-07-09 00:15:21 Hmm yeah I'll just call it `ports` and move on. 2020-07-09 01:19:34 Hello! I am trying to build the unmaintained/gajim package manually (both to try it out on my pinephone, and maybe to get it back to maintained eventually?) but when I run abuild -r it complains that it can't find py3-nbxmpp, which is also in unmaintained. Is there any way I can get abuild to search in the unmaintained dir for dependencies? 2020-07-09 01:21:20 abuild doesn't build recursively 2020-07-09 01:21:54 Oh! I thought from the wiki that it did. It only installs recursively from things included in the main archive? 2020-07-09 01:26:40 this is tangential but if you dont need the administrative features gajim provides, try dino 2020-07-09 01:26:53 it isnt the best but neither is gajim, and dino works well enough 2020-07-09 01:27:45 opal: dino is what I'm using on pinephone right now, yeah 2020-07-09 01:28:00 but I want to try gajim. It's much more featureful and I'm more used to it 2020-07-09 01:28:29 ah 2020-07-09 01:49:37 looks like zfs-lts (based on pkgs.alpinelinux.org) contains zfs.ko. Trying to install it using iso is giving me a lot of failures (failed to rename lib/something → lib/somethingelse 2020-07-09 01:54:55 any idea how I'd go about resolving that? It doesn't give me the full path so I don't know what directories I could create to fix it 2020-07-09 04:18:19 I want to switch to alpine. now :/ 2020-07-09 04:18:22 need to get over this hurdle 2020-07-09 04:48:21 eydaimon: you need to pastebin the full error message for someone to be able to actually help you. 2020-07-09 04:52:01 ikke i cant install ejabberd even when fully switching to edge 2020-07-09 04:52:07 same dependency errors 2020-07-09 04:53:49 opal: right, I can reprpo 2020-07-09 04:53:56 repro* 2020-07-09 04:54:05 ah 2020-07-09 04:54:16 the deps get removed at some point or what 2020-07-09 04:54:28 I do recall a change in these dependencies 2020-07-09 04:54:41 It might be that they are just now part of erlang itself 2020-07-09 04:54:45 no longer subpackages 2020-07-09 04:55:23 f65b878adaf5996b64bf8f6b11d04cbbceca865e 2020-07-09 04:57:57 53aebeddaa4ae6901b1c40652c1cdd21b57106cb 2020-07-09 04:58:00 that's the actual change 2020-07-09 05:06:05 without those dependencies it fails to build for me though 2020-07-09 05:06:09 linking error 2020-07-09 05:06:26 "cannot find -lerl_interface" 2020-07-09 07:11:48 hey guys 2020-07-09 07:12:03 I suspect my rare boot failures are due to my disks being mixed up 2020-07-09 07:12:12 I'm using diskless mode btw 2020-07-09 07:12:46 does it seem like a good idea to replace fstab entries, and modify grub.cfg to use UUIDs instead of the current block (sdc1) style naming? 2020-07-09 07:19:27 yes, it seems 2020-07-09 07:22:13 my debian-configured grub uses uuid btw 2020-07-09 07:23:59 by uuid has been the prerred way in most distros for a while now 2020-07-09 07:24:05 preferred 2020-07-09 07:24:19 (like, maybe 20 years or so) 2020-07-09 07:25:16 boot failed, I modified grub.cfg (using UEFI), and fstab. Also updated /etc/apk/repos and relinked /etc/apk/cache to point to right place 2020-07-09 07:25:20 what am I missing? 2020-07-09 07:25:40 it says mounting /dev/sdc1 failed.. so sdc1 is stated somewhre I didnt modify 2020-07-09 07:26:24 what say that? 2020-07-09 07:36:09 syslinux 2020-07-09 07:36:23 I updated syslinux.cfg and added: root=UUID=xxx 2020-07-09 07:36:50 but it fails again, this time with "mounting UUID=xxx on /sysroot failed: invalid argument" 2020-07-09 07:37:45 I recall that bb mount does not support uuids 2020-07-09 07:38:53 where can I change the current "sdc1" to "usb" ? 2020-07-09 07:39:23 maybe /dev/disk/by-uuid the way to go then 2020-07-09 07:40:53 or install util-linux 2020-07-09 07:42:00 abenz: iirc, you can specify alpine_dev to the kernel parameters 2020-07-09 07:42:12 https://unix.stackexchange.com/questions/502610/alpine-persistent-disk-mounted-to-media-sda-even-though-fstab-has-media-usb 2020-07-09 08:06:56 ikke: specifying alpine_dev (in syslinux.cfg) made no difference.. 2020-07-09 08:07:08 I still get error mounting /dev/sdc1 failed 2020-07-09 08:08:31 I put that at the end of append, retrying with alpine_dev being first 2020-07-09 08:09:49 order should not matter 2020-07-09 08:10:29 but if I look at https://gitlab.alpinelinux.org/alpine/mkinitfs/-/blob/master/initramfs-init.in#L333, that's the only reference to it, so it might no longer be used 2020-07-09 08:11:00 I will try root=/dev/disk/by-uuid next 2020-07-09 08:11:03 is this the right format? 2020-07-09 08:12:20 Unless you have udev, I don't think those nodes exist 2020-07-09 08:12:33 "ls: /dev/disk: No such file or directory" 2020-07-09 08:12:53 I would just install util-linux to get the full mount command 2020-07-09 08:13:01 than you should be able to specify UUID in fstab 2020-07-09 08:14:05 I cant boot into my diskless usb now 2020-07-09 08:14:22 syslinux tries to find /dev/sdc1 which no longer exists 2020-07-09 08:14:39 I have to add disks until the usb becomes sdc1 to regain access 2020-07-09 08:15:17 this is why I'm trying to avoid this frequent change by using uuids.. 2020-07-09 08:29:45 I just ran grep -rn '.' -e '/dev/sdc1' on my usb and didnt get any hits 2020-07-09 08:30:00 that means sdc1 is embedded into some binary/processed file 2020-07-09 08:30:18 I guess I need to rerun syslinux to regenerate those files with the updated config 2020-07-09 08:30:26 is this assumption correct? 2020-07-09 08:32:11 usually one does update-grub 2020-07-09 08:32:52 Not for diskless setups 2020-07-09 08:35:37 upon this failed boot, I tried exploring the available commands 2020-07-09 08:35:47 sdc1 is infact the right partition 2020-07-09 08:36:00 and when I attempt to mount it to /sysroot, I get: invalid arguments 2020-07-09 08:36:17 so the failure is not caused by wrong device name 2020-07-09 08:37:39 hey everyone, just looking to confirm - are any of these organizations in any way official? https://hub.docker.com/u/alpine, https://github.com/alpine-docker? 2020-07-09 08:42:05 dominykas: no 2020-07-09 08:42:20 https://github.com/alpinelinux/ 2020-07-09 08:42:29 thank you 2020-07-09 08:42:36 and https://hub.docker.com/u/alpinelinux 2020-07-09 08:43:56 once I removed root=UUID=xxx from grub.cfg it worked 2020-07-09 08:44:46 my fstab has entries for UUIDs though 2020-07-09 08:45:10 I will restart a few times and if it doesn't fail, the solution was simply to update fstab without touching grub.cfg or syslinux.cfg 2020-07-09 08:48:15 3 reboots and it works, I think its fixed. Thanks for the help :) 2020-07-09 08:49:50 so what was the final solution? 2020-07-09 08:50:12 remove /dev/sdXX from fstab, replace with UUIDs 2020-07-09 08:50:20 ok 2020-07-09 08:50:30 nice 2020-07-09 08:51:55 I have to mention, if you use setup-bootable on a usb drive with more than one partition (say one for alpine and one for storage) it will default to using /dev/sdXx. Only if its a single partiton stick, will it use /media/usb..etc 2020-07-09 08:52:53 mine has an ext4 partition for storage, so I had to update /etc/apk/repo, and /etc/lbu/lbu.conf, and /etc/apk/cache ---> /media/usb/cache 2020-07-09 08:53:03 and that is the full solution in detail :) 2020-07-09 09:40:05 solutions in detail are great solutions, like long cat is long 2020-07-09 09:54:06 Guys, in FreeBSD, I used to add ddclient_enable=YES at /etc/rc.conf 2020-07-09 09:54:25 I use inadyn at Alpine 2020-07-09 09:54:46 How can I do this in Alpine? 2020-07-09 09:56:34 Do what exactly? 2020-07-09 09:57:07 Start inadyn daemon in background at boot 2020-07-09 09:57:27 rc-update add inadyn 2020-07-09 09:58:08 I need to reboot then right? 2020-07-09 09:58:14 Thanks 2020-07-09 09:58:30 if you just want to start it 2020-07-09 09:58:38 you can run rc-service inadyn start 2020-07-09 09:58:48 (asuming the service name is called inadyn) 2020-07-09 09:59:29 Yes, it is. 2020-07-09 09:59:33 Thanks man 2020-07-09 10:56:28 There are so many uwsgi plugins guys. I'm confused 2020-07-09 10:56:47 My site redirects http to https but it doesn't load 2020-07-09 10:57:39 I have used https=0.0.0.0:2554,example.com.cer,example.com.key 2020-07-09 10:57:54 configuration for https 2020-07-09 10:58:38 and does curl --resolve 127.0.0.1:2553:example.com https://localhost:2554 work? 2020-07-09 10:58:45 Do I need additional plugin for https, I have installed uwsgi-sslrouter 2020-07-09 10:58:46 sorry 2020-07-09 10:58:51 2554 in the first case as well 2020-07-09 10:59:18 lalo-salamanca: I would suggest putting something on front of it that does the tls part 2020-07-09 11:00:24 ? I use just uwsgi. I don't want to use nginx 2020-07-09 11:01:32 lalo-salamanca: did you try the command I suggested? 2020-07-09 11:02:52 I don't understand that command. I'm reading curl help 2020-07-09 11:05:03 No I don't think this is the problem. I'll look into this with curl 2020-07-09 14:19:14 omg, the extended ISO. re-reading helps sometimes. 2020-07-09 14:21:03 Marquel: there was context form above. but Hello71 had already given me the solution :/ 2020-07-09 14:28:21 If I fetch a package to a local directory and run sha512sums package-name.tar.gz, then that should give me the same 512sums that I see in the APKBUILD file of the commit referenced by the packages PGKINFO. Is that correct? 2020-07-09 14:29:13 no 2020-07-09 14:29:46 are there plans to put ZFS in the standard ISO ? 2020-07-09 14:29:47 ikke: OKay, that is good. So how does it really work? How can I manually verify a package with what I have installed? 2020-07-09 14:30:19 dustfinger: the hashes in the APKBUILD verify the upstream sources 2020-07-09 14:31:21 Okay, thank you. I will check that as well. How about the package itself. Is there anyway of verifying the downloaded package? Or perhaps the individual binaries in the downloaded package? 2020-07-09 14:36:47 Cogitri: busybox also provides /bin/login which needs to be replaced to be PAM-safe. It might be a good idea to have a busybox-pam, just for safety's sake. 2020-07-09 14:37:14 dustfinger: it's broken now, but once fixed, you can use abuild-gzsplit to properly extract the package 2020-07-09 14:37:22 then you can verify it's signature manually 2020-07-09 14:37:43 or you can use apk verify on the package 2020-07-09 14:57:39 webstrand: apk add linux-pam 2020-07-09 14:58:16 mps: That doesn't cause busybox to be built against PAM, which is the problem here 2020-07-09 14:58:40 we don't need pam (any) in base installations 2020-07-09 14:58:50 mps: that's not what's being asked 2020-07-09 14:59:03 ikke: aha. sorry then 2020-07-09 14:59:05 webstrand: Can you maybe open an issue for that on our Gitlab? I don't have time to look into it right now (and make sure it doesn't break login :) 2020-07-09 14:59:20 Cogitri: sure 2020-07-09 14:59:25 what was question, I don't see original 2020-07-09 14:59:34 mps: it started yesterday alreayd 2020-07-09 14:59:45 mps: sorry, it was sometime yesterday. I was just following up with my discoveries 2020-07-09 14:59:54 ah, have to look backlog, sorry again 2020-07-09 15:00:05 mps: the basic idea is to require 2fa 2020-07-09 15:00:09 I'm trying to add 2fa, but have run into trouble with su and login 2020-07-09 15:00:10 for things like su 2020-07-09 15:00:37 hmm, understand now 2020-07-09 15:00:43 ikke: yah, I just looked at the source for apk verify. Thank you foro your time and for letting me know about abuild-gzslit, I will take a look at that also. 2020-07-09 15:01:02 so, su doesn't work without pam? 2020-07-09 15:01:34 the issue is, it uses it's own auth and bypasses pam. So whatever 2fa I configure doesn't get applied 2020-07-09 15:02:20 su and login from busybox intended to work without pam 2020-07-09 15:03:14 mps: Yes, but you need PAM for it to work with your PAM config.. 2020-07-09 15:03:29 mps: but if you've enabled PAM, they represent a vulnerability, since they ignore PAM config 2020-07-09 15:03:30 And we don't enable PAM to not increase the size of the Docker baseimage 2020-07-09 15:03:43 then why linux-pam wouldn't be installed 2020-07-09 15:04:14 Cogitri: Do you think this is out-of-scope for this distro? I could switch to gentoo 2020-07-09 15:05:13 and I think we should not 'enable' pam in base installs 2020-07-09 15:07:02 webstrand: you can fill bug/issue report as Cogitri told, so more people can be involved in discussion 2020-07-09 15:08:43 If I included a patch to build busybox-pam, would you find that useful? 2020-07-09 15:10:01 busybox already have to much patches, and maintainer expressed it is not good idea to add more 2020-07-09 15:10:23 but, sure you can post patch for discussion 2020-07-09 15:10:25 sorry, I mean a patch to the APKBUILD, not an additional busybox patch 2020-07-09 15:10:51 ah, config option? then it could be easier, maybe 2020-07-09 15:11:31 yeah, busybox has support for PAM, it just needs to be built with CONFIG_PAM=y 2020-07-09 15:11:44 Yes, it's one config switch we have to change and it wouldn't end up in the base install, I guess we'd need a separate package 2020-07-09 15:12:30 maybe for busybox-extra 2020-07-09 15:12:45 you wouldn't want to build it as a subpackage? 2020-07-09 15:14:25 Wouldn't the subpackage replace files from the mainpackage? 2020-07-09 15:14:26 bug/issue report would be best to discuss this futher 2020-07-09 15:14:47 not all devs are here 2020-07-09 15:14:49 sure. trying to hunt down my gitlab account 2020-07-09 15:15:42 and that will be relatively important change so broader discussion will be needed 2020-07-09 15:16:33 though I can express my position right now, i dislike pam 2020-07-09 15:17:28 Well, you don't have to install the busybox-pam package then, I guess 2020-07-09 15:19:13 Cogitri: :) 2020-07-09 15:19:48 I dislike whole idea called 'pam' 2020-07-09 15:20:01 apparently, gitlab deleted my account >.< 2020-07-09 15:20:10 Wut? 2020-07-09 15:20:41 mps: Well, PAM is pretty neat, how would you manage 2fa, kerberos, settings things during login in a generic way otherwise? 2020-07-09 15:20:54 pam is bad for security, imo 2020-07-09 15:21:02 ikke: I noticed that the .SIGN.RSA.*.pub is not an RSA file. Is that normal. It is binary and full of unprintable bytes 2020-07-09 15:21:45 s/is not an RSA file/is not an RSA public key/ 2020-07-09 15:21:52 I alredy elaborated my position about pam few times, so I'd rather not repeat again 2020-07-09 15:22:46 dustfinger: why can't it be? It's jusr not encoded in printable characters 2020-07-09 15:23:25 Most likely DER encoded 2020-07-09 15:23:30 Not PEM 2020-07-09 15:23:39 ikke: okay, I never thought about that. Thanks again! 2020-07-09 15:23:44 PEM 2020-07-09 15:24:05 mps? 2020-07-09 15:24:16 PEM encoded 2020-07-09 15:24:26 https://www.cryptosys.net/pki/rsakeyformats.html 2020-07-09 15:24:45 Thanks! 2020-07-09 15:25:01 PEM, encoded would be base64 encoded 2020-07-09 15:25:41 But for something that is rarely read by humans DER encoding makes more sense I guess 2020-07-09 15:25:45 hmm, DER then 2020-07-09 15:29:34 ikke: yes, it is DER 2020-07-09 15:32:20 has anybody tried alpine in m$$10.dll WSL thingy? 2020-07-09 15:32:48 only very briefly 2020-07-09 15:37:21 did it work? 2020-07-09 15:38:01 yes 2020-07-09 15:38:25 ikke: I wonder if it would be a bettor choice than cygwin 2020-07-09 15:58:47 ikke: I just phished myself... I thought I was logging into gitlab.com, not a privately hosted instance. 2020-07-09 16:10:46 password manager 2020-07-09 16:16:41 Hello71: oh, I have one. I was confused enough that I defeated its protection and manually copied my password out. 2020-07-09 18:25:23 has anybody attempted to do this? run firefox in fbdev 2020-07-09 18:25:53 the thing just devours ram 2020-07-09 18:27:34 Hey all, I'm trying to build a Docker container for the UPX utility (https://github.com/upx/upx) and I'm trying to build it with Alpine Linux. Building with Alpine version 3.10 works, but when I try to upgrade to 3.11, I get a compile error with the following error message: /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: cannot find -lz \n collect2: error: l 2020-07-09 18:27:35 ery unfamiliar with building large C/C++ projects, so you might have to dumb it _waaaaaaaaaay_ down for me. 2020-07-09 18:27:35 d returned 1 exit status \n make: *** [Makefile:87: upx.out] Error 1 \n. If you want to try building the container on your local system, the dockerfile is here: https://raw.githubusercontent.com/distortedsignal/Dockerfiles/add-upx/upx/Dockerfile. I'm curious what changed between version 3.10 and version 3.11 that causes this to break this build. I am very unfamiliar with the upx codebase, and I'm v 2020-07-09 18:28:12 Looks like my error message got hit by the linebreak demon, so I'll add them back in. 2020-07-09 18:28:26 distortedsignal: compile what where? 2020-07-09 18:28:41 distortedsignal: are you missing zlib-dev? 2020-07-09 18:29:47 I don't think so - lines 13-17 of the linked dockerfile reduce to "apk add --no-cache build-base git ucl-dev zlib-dev" 2020-07-09 18:30:38 < nponaraHA>…the thing just devours ram 2020-07-09 18:30:42 idk sounds like firefox 2020-07-09 18:31:19 distortedsignal: you know we have upx in the repositories? 2020-07-09 18:31:24 https://pkgs.alpinelinux.org/packages?name=upx&branch=v3.11 2020-07-09 18:31:36 opal: I read somewhere on firefox site it already reccomends 8GB minimum of system ram. 2020-07-09 18:32:18 opal: alpine have been selectively OOM killing firefox tabs. Which quite surprising. 2020-07-09 18:32:47 somehow doesn't kill firefox entirely but searches bloated tab and kills them. 2020-07-09 18:32:56 I didn't know that was possible. 2020-07-09 18:33:00 check dmesg 2020-07-09 18:33:06 its likely the oomkiller doing that 2020-07-09 18:33:11 and not just one tab but a tab group 2020-07-09 18:33:15 opal: I did, that's what I am saying. 2020-07-09 18:33:21 @nponaraHAa - I'm trying to compile the upx utility inside of a container that is the alpine linux image. I feel like the dockerfile does a pretty good job of explaining what I'm trying to do. 2020-07-09 18:33:24 opal: exactly tab groups 2020-07-09 18:33:39 its how firefox's content processes work, they each control a set of tabs 2020-07-09 18:33:50 this has been a thing ever since firefox rolled out e10s 2020-07-09 18:34:09 distortedsignal: any reason you are trying to compile it yourself? (just curious) 2020-07-09 18:34:13 interesting behaviour 2020-07-09 18:34:43 https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/community/upx/APKBUILD 2020-07-09 18:34:43 so, e10s works properly on musl now? 2020-07-09 18:34:46 ikke: I was about to ask the same at risk of looking dumb 2020-07-09 18:34:48 thats cool i guess 2020-07-09 18:34:55 firefox on alpine runs even with 2GB of ram 2020-07-09 18:35:08 i have firefox capped to a 2gb memory cgroup 2020-07-09 18:35:19 it "runs" but heavy tabs will cause issues 2020-07-09 18:35:30 and, well, the web is full of unavoidable heavy tabs 2020-07-09 18:35:33 god i hate the web 2020-07-09 18:35:36 but really it isn't all firefox fault, but insane js and flashy whatnots on webpages. 2020-07-09 18:35:39 ikke: It's an interesting exercise. I want to run this on a company-owned build server, and I think the only way I'm going to be able to sneak this on is if I compile it/export it myself. 2020-07-09 18:35:47 ok 2020-07-09 18:35:49 one example level1tech forums. 2020-07-09 18:35:54 firefox could more-aggressively garbage collect but it isn't 2020-07-09 18:36:02 Look at that APKBUILD, perhaps it has some clues 2020-07-09 18:36:11 reddit needs hundreds of MBs 2020-07-09 18:37:29 I'll check it out - thanks ikke. 2020-07-09 18:56:07 I'm receiving a "prepare_subpackages failed" error with an APKBUILD. Where should I begin looking to resolve the issue? Here's the build file: http://sprunge.us/wJn6mj 2020-07-09 18:56:48 bovis: what is the exact error? 2020-07-09 19:02:45 ikke: Here are the last several lines of the build output http://sprunge.us/mnLAct 2020-07-09 19:03:07 I'm seeing "prepare_subpackages" about 40 lines from the bottom 2020-07-09 19:10:35 the source is missing 2020-07-09 19:13:28 «««ERROR: wine-libs*: Found textrels:»»» 2020-07-09 19:19:49 ikke: I have the source of the local tar.gz. The package builds fine. This is the only source that's listed in previous APKBUILDs for wine. 2020-07-09 19:20:02 Cogitri: I don't know how to resolve that issue. 2020-07-09 19:21:06 Ideally ask upstream to fix it 2020-07-09 19:21:13 bovis: I tried to build it from the APKBUILD, but that obviously fails 2020-07-09 19:21:20 In the meantime you can add "options="textrels"" 2020-07-09 19:21:43 https://wiki.gentoo.org/wiki/Hardened/Textrels_Guide 2020-07-09 19:21:54 ikke: I downloaded the xz file from winehq, packaged it locally, and built it locally 2020-07-09 19:28:09 https://flameeyes.blog/2016/01/16/textrels-text-relocations-and-their-impact-on-hardening-techniques/ 2020-07-09 19:53:59 how do I setup my card before setup 2020-07-09 19:54:10 what card> 2020-07-09 19:56:47 wifi 2020-07-09 19:58:44 Is your wificard recognized? 2020-07-09 20:00:24 no it doesn't come up in iwconfig 2020-07-09 20:04:00 and neither does ip link? 2020-07-09 20:05:07 nope just lo 2020-07-09 20:05:14 did you use the standard or extended image? 2020-07-09 20:05:26 So no ethernet port either? 2020-07-09 20:08:07 standard yep and no ethernet either 2020-07-09 20:08:26 Maybe you should try the extended image 2020-07-09 20:08:33 it has more things by default 2020-07-09 20:16:41 ikke Cogitri: My build worked with "options=textrels" added. Here's an APKBUILD linked to the Wine source I used here locally, if you'd like to try it for any reason: http://sprunge.us/Xov0Lc 2020-07-09 20:17:25 Unfortunately I'm also seeing a problem now where, when I run "winecfg" for instance, or any other wine command, nothing happens. It's like hitting enter on a blank line in the console. 2020-07-09 20:17:39 If that's more a winehq matter, I'll ask about it there. 2020-07-09 20:25:46 echo $? 2020-07-09 20:28:51 0 2020-07-09 20:44:30 how do i set up my credit card 2020-07-09 20:58:33 opal: talk to your bank 2020-07-09 20:59:03 new cards come with a bloody sticker on them instructing you on what to do 2020-07-09 21:49:03 Hey Guys, anybody ever experienced the Problem udhcpc no leasebug when installing? 2020-07-09 22:18:43 Is virtualenv for py2 packaged in 3.12? Or something that provides pip for py2? 2020-07-09 22:28:11 pretty sure most/all py2 stuff is being pruned out of repos 2020-07-09 22:28:42 py-pip isn't available? 2020-07-09 22:43:05 maxice8: doesn't seem so. python2 is, but not supporting stuff beyond setuptools. But using py2-setuptools' easy_install to get virtualenv yields a broken virtualenv tool. 2020-07-09 22:44:45 python2 -m ensurepip 2020-07-09 22:48:27 then using that pip to install virtualenv will work better, you think? 2020-07-09 22:58:04 yes 2020-07-09 22:58:15 assuming ensurepip actually works on musl 2020-07-09 22:59:21 virtualenv is kind of old now. if you're using python3 (you should unless you're maintaining legacy), then python3 -mvenv is the way to go 2020-07-09 23:02:21 excellent, thanks, I think it's working. It's not so much that I am/want to use py2, but I'm generating containers to demo some tooling, and that tooling has some py2 support, and I want the containers to have proper instructions. 2020-07-09 23:03:00 understood 2020-07-10 06:40:47 Ok. So I tried to debug my problem. 2020-07-10 06:41:20 When I try export FLASK_APP=myapp.py 2020-07-10 06:41:34 then flask run 2020-07-10 06:41:53 Server runs on 127.0.0.1:5000. 2020-07-10 06:42:16 curl 127.0.0.1:5000 gives my index page 2020-07-10 06:42:28 But same thing with uwsgi doesn't 2020-07-10 06:43:27 There are so many packages on uwsgi here. Please tell me which to install for core server 2020-07-10 06:44:41 https://stackoverflow.com/questions/62814165 2020-07-10 12:16:27 MrPotatoBob[d]: Anyone know how I can add a user with the usal permessions? 2020-07-10 12:16:31 MrPotatoBob[d]: Usual* 2020-07-10 12:18:11 unowe[d]: https://wiki.alpinelinux.org/wiki/Setting_up_a_new_user 2020-07-10 12:18:12 unowe[d]: you can also see the groups here you can add to the user 2020-07-10 12:20:06 MrPotatoBob[d]: Thanka 2020-07-10 12:20:09 MrPotatoBob[d]: Thanks 2020-07-10 13:50:23 Is there any font package in alpine that supports emoji? I checked for the ones seen on https://wiki.archlinux.org/index.php/fonts#Emoji_and_symbols but apk search did not find any 2020-07-10 13:51:12 telmich: https://pkgs.alpinelinux.org/package/edge/community/armv7/font-noto-emoji ? 2020-07-10 13:56:11 err.. I was blind, thanks, @ikke 2020-07-10 14:00:11 for subpackages, is there any way to set subpackage specific variables, such as replaces or provides? 2020-07-10 14:02:58 Yes, just define them in the subpackage's function 2020-07-10 14:03:16 oh, neat. thanks 2020-07-10 14:18:10 mps: i just installed alpine to my sata disk for the pc 2020-07-10 14:18:26 i think the setup script should be adjust for it use the whole disk currently 2020-07-10 14:18:51 i knew this before, so i had choose a second disk, but for others , its quite incovenient 2020-07-10 14:35:57 Hmm. I created a package `busybox-pam` which has provides="busybox-1.32.0" 2020-07-10 14:36:01 It replaces base busybox perfectly, but running `apk add busybox` doesn't let me switch to the non-pam version. 2020-07-10 14:36:46 I think you need to remove busybox-pam again 2020-07-10 14:36:47 is this fixable? Or would base busybox need a different package name to be selectable? 2020-07-10 14:36:54 does that work? 2020-07-10 14:37:01 apk del busybox-pam? 2020-07-10 14:37:16 (only do it on a trashable system :)) 2020-07-10 14:37:42 oops :) 2020-07-10 14:38:03 now to figure out how to recover 2020-07-10 14:38:21 apk add busybox? 2020-07-10 14:38:42 lol 2020-07-10 14:39:02 Fwiw you probably want "provides=busybox-$pkgver=r$pkgrel" 2020-07-10 14:39:05 that results in an error. Looks like tar still works 2020-07-10 14:42:03 if you still have ash open can't you just do cp /proc/self/exe /bin/busybox 2020-07-10 14:42:23 busybox --install 2020-07-10 14:42:23 yep. I also had a copy in the pkg dir 2020-07-10 14:42:47 Is there a way to print the "1 error" from apk? It's still failing to install busybox 2020-07-10 14:58:39 ah, I just needed to reinstall the version of busybox in the repos. 2020-07-10 14:59:08 apk fix 2020-07-10 14:59:57 apk fix was producing this error: (1/1) [APK unavailable, skipped] Reinstalling busybox (1.32.0-r0) 2020-07-10 15:00:23 I'm not sure why. busybox was already installed. downgrading to the repo version cleared the error, though. 2020-07-10 15:02:11 anyone use Widevine plugin for Firefox? I'm getting segfault on /usr/lib/firefox/libxul.so. i'm running Alpine Linux edge, linux 5.7.8 and gnome 3.36.4 2020-07-10 15:05:09 It looks like, when I install busybox-pam, a virtual busybox package gets installed along with it? Which is why `apk add busybox` doesn't work. 2020-07-10 15:05:37 But why can I purge busybox-pam, the only provide for the virtual busybox package? 2020-07-10 15:05:48 it should produce conflicts 2020-07-10 15:06:22 wago: I don't think widevine works on musl, or does it? 2020-07-10 15:09:32 Cogitri: not sure? I'm new to Alpine. It seems like it does not work, but I thought i would check here. 2020-07-10 15:09:59 quick question. everytime I reboot my alpine server it re-writes /etc/network/interfaces. I have commented out one of my bond interfaces to do some testing and at reboot, it's uncommented again. ideas? 2020-07-10 15:10:37 wago: To be honest, I haven't tested it since I just didn't expect it to work from the start, so maybe I'm wrong about it 2020-07-10 15:10:57 But FF without the widevine plugin certainly works fine on GNOME for me 2020-07-10 15:13:54 that's true, i haven't seen any other issue with FF yet. I have a DAC hooked up over USB to the Alpine laptop and was using it for Tidal music (before I switched to Alpine). 2020-07-10 15:16:05 Huh, what a coincidence, I started using Tidal yesterday :) 2020-07-10 15:16:28 I use it via MellowPlayer's flatpak and Widevine works great in that 2020-07-10 15:17:28 on Alpine? 2020-07-10 15:20:57 I've been using Tidal since 2015. I rationalize the subscription as it being "my" constantly updated music collection. but if they vanish in the middle of the night, there goes the collection :) anyway. i will check mellowplayer out. 2020-07-10 15:21:21 Yes 2020-07-10 15:21:58 See https://mellowplayer.readthedocs.io/en/stable/users/install.html#flatpak and the other widevine support section in there 2020-07-10 15:23:56 hmm. i see that. thanks for the pointer, i will check it out. 2020-07-10 15:32:53 howudodat: disk install or disk less? 2020-07-10 15:43:21 it's interesting that widevine works with mellowplayer. MellowPlayer is looking for kde, and i only have gnome installed on that laptop. I will maybe try it later when i have more time. it looks like libwidevinecdm.so references strtoll_ and strtoull_l which are in glibc but not in musl. if i had the source it would be an easy fix i think, but it's a closed source DRM thing from google. :) 2020-07-10 15:43:34 yunfan: yes, but alpine is 'simple, small' and setup-alpine is intended for small systems, and to be simple 2020-07-10 15:44:04 yunfan: so, simple things are easy and complicated things are possible 2020-07-10 15:44:43 ikke: diskinstall 2020-07-10 15:45:15 howudodat: strange, I cannot think of anything out-of-the-box that would overwrite /etc/network/interfaces 2020-07-10 15:45:35 https://pastebin.com/YdHyVFey 2020-07-10 15:45:52 modloop 2020-07-10 15:45:56 so that indicated run-from-ram 2020-07-10 15:47:30 yeah, this is interesting (it's not my server, helping someone with an issue). I dont see a mountpoint for / 2020-07-10 15:47:58 I'm wondering if it's booting from usb? 2020-07-10 15:48:05 yes, that's most likely 2020-07-10 15:48:32 /media/usb is present 2020-07-10 15:48:53 yes it is present, and tmpfs is mounted on / 2020-07-10 15:49:10 https://pastebin.com/cuhBWdhj 2020-07-10 15:49:10 so yes, it's run-from-ram / live usb 2020-07-10 15:49:28 so that explains why your change is not persisted 2020-07-10 15:50:32 wago: I feel like it's fine to use MellowPlayer in GNOME too, it integrates well with the desktop with MPRIS 2020-07-10 15:50:44 I use it all the time for playing music 2020-07-10 15:51:46 ikke, the usb has a couple of apk's then /apks /boot /cache ldlinux.c32 and ldlinux.sys I dont spot anything that looks like a rootfs or expandable image 2020-07-10 15:52:00 is there an apkovl file? 2020-07-10 15:54:43 ikke: no 2020-07-10 15:54:49 ls -l 2020-07-10 15:54:56 (hah, oops sorry) 2020-07-10 15:55:10 ok 2020-07-10 15:56:01 ikke: I might have found one 2020-07-10 15:56:10 how do I know if this is getting extracted? 2020-07-10 15:56:10 This looks like hybrid setup 2020-07-10 15:56:17 try lbu status 2020-07-10 15:56:35 /var is mounted on disk, rest is in ram 2020-07-10 15:56:55 U etc/network/interfaces 2020-07-10 15:57:00 yes 2020-07-10 15:57:13 so when you make changes, you need to run lbu ci (lbu commit) to commit them 2020-07-10 15:58:24 lbu commit updates the apkovl file 2020-07-10 15:58:29 so the next time you boot, it gets applied again 2020-07-10 16:00:28 mps: i hope it could use only 1 partitions :D 2020-07-10 16:01:39 ikke: cool, I am rebooting now 2020-07-10 16:03:38 yunfan: boot partition is always good to have 2020-07-10 16:04:14 Wow, it's so much easier to setup alpine with ZFS encrypted on root now. I'm going to do it a second time and update the documentation. 2020-07-10 16:04:21 Hello71: ☝️ thank you so much 2020-07-10 16:04:23 but the script dont provide the options, looks like i had to read the code of it 2020-07-10 16:04:30 export SWAP_SIZE=0 will skip create swap partition 2020-07-10 16:05:39 yunfan: and actually it is possible to install all on one partition, it is explained somewhere on wiki 2020-07-10 16:05:48 mps: also i had installed X and i3wm too, and got firefox run perfectly 2020-07-10 16:05:55 it only lack of my chinese input method 2020-07-10 16:06:05 but for non-chinese, i think its perfect 2020-07-10 16:06:20 mps: aha, will check it 2020-07-10 16:06:46 nothing is perfect, especially 'crap' called computers/software 2020-07-10 16:07:43 yunfan: this https://wiki.alpinelinux.org/wiki/Setting_up_disks_manually 2020-07-10 16:07:52 mps: thx 2020-07-10 16:08:57 it is not out-of-the-box working guide but by reading this you will know what are steps 2020-07-10 16:09:06 mps: these partitions job is easy to me, i think the most headache issue is install for uefi support 2020-07-10 16:09:43 yunfan: yes, uefi is idiotic invention 2020-07-10 16:10:11 there's no chsh command for alpine I notice. How are users changing shell ? 2020-07-10 16:10:12 mps: ok . i could use it at my own risk, its another harddisk i founded in my parent's garbage box :D 2020-07-10 16:10:36 eydaimon: editing /etc/passwd ? 2020-07-10 16:10:39 eydaimon: apk add shadow 2020-07-10 16:11:08 but better is that what yunfan proposed :) 2020-07-10 16:12:20 Yes, but I asked how users change shell. Only root can edit /etc/passwd :) 2020-07-10 16:12:26 I tried to be specific 😅 2020-07-10 16:12:42 I fail 2020-07-10 16:12:49 yunfan: re Chinese input is the real issue on alpine, I agree 2020-07-10 16:13:14 eydaimon: shadow pkg contains chsh 2020-07-10 16:13:15 mps: thank you for shadow :) 2020-07-10 16:14:35 one can search for commands and in which pkg they are by 'apk search cmd:chsh' for example 2020-07-10 16:14:50 mps: i am trying to solve that from other side 2020-07-10 16:15:45 mps: there were firefox extentions to change textarea tag into a vim/emacs invoking which i think could be study to change to a js input method 2020-07-10 16:16:01 yunfan: sorry I don't have any idea how input for Chinese and similar scripts/langs works at all 2020-07-10 16:16:24 mps: its not a problem to me, because the display works :D 2020-07-10 16:17:07 i wrote all my code comments in english since the broken support of input method from a decade 2020-07-10 16:17:54 ikke: that worked thanks, I have added that to my documenation 2020-07-10 16:19:04 yunfan: I've seen some effort to add Chinese input to alpine but didn't touched it or even read it 2020-07-10 16:19:46 I dislike to read software which I don't understand (if I understand anything :) ) 2020-07-10 17:07:15 "The researchers also found that none of those passengers in the two buses who wore face masks were infected. 2020-07-10 17:07:17 They said it vindicated the decision to ask people to wear a face mask in public." 2020-07-10 17:07:19 oops 2020-07-10 17:07:40 sorry 😅 2020-07-10 17:07:52 I meant to paste this: df: /sys/kernel/debug/tracing: Permission denied 2020-07-10 17:08:02 why do I get this when running df ? 2020-07-10 17:23:09 eydaimon: what environment? 2020-07-10 17:24:04 ikke: regular user: https://i.postimg.cc/KYNqtjQ0/Screen-Shot-2020-07-10-at-10-06-24.png 2020-07-10 17:24:17 ikke: after regular boot 2020-07-10 17:25:06 drwx------ 29 root root 0 Jul 10 09:02 /sys/kernel/debug/ 2020-07-10 17:25:28 ikke: install via extended iso 2020-07-10 17:25:45 dr-xr-xr-x 2 root root 0 Jul 4 09:41 /sys/kernel/debug 2020-07-10 17:25:45 fresh install. just did it today 2020-07-10 17:26:15 using this image: alpine-extended-3.12.0-x86_64.iso 2020-07-10 17:26:31 oh I think I know why 2020-07-10 17:26:41 I'll reinstall and see if it happens again 2020-07-10 18:13:45 that's normal 2020-07-10 18:14:00 er 2020-07-10 18:47:01 hi, im running alpine within docker and i'm trying to play some sound. root can play sounds fine. regular user cannot. 2020-07-10 18:47:09 i added it to the audio group 2020-07-10 18:47:50 getting error: Can't open default sound device! and error: Found no driver out of [alsa,oss] working with device . 2020-07-10 18:50:06 if anyone has an idea.. 2020-07-10 19:18:33 did you pass through /dev/snd 2020-07-10 19:18:41 also dmix won't work 2020-07-10 19:18:45 nor pulse 2020-07-10 19:28:22 yeah, root inside the container can play sound. 2020-07-10 19:30:20 i guess ill just run stuff as root there -_- 2020-07-10 19:30:24 thanks anyway 2020-07-10 19:31:02 bad idea, but do what you will 2020-07-10 19:32:18 it's in a container that's not exposed to the internet so yeah i think its fine 2020-07-10 19:32:59 yes, uaccess won't work in a container unless you run udev 2020-07-10 19:32:59 i mean its better as a regular user sure, but considering i cant get it to work with that... 2020-07-10 19:33:01 if you say so 2020-07-10 19:33:17 Hello71 i mounted /dev/snd under devices 2020-07-10 19:33:24 so put some effort into getting it to work instead of giving up and exposing a secrity hole 2020-07-10 19:33:37 c705 how is this a security hole 2020-07-10 19:34:01 fwiw it's pretty easy to get out of a container as root 2020-07-10 19:34:08 otoh it's not that hard to get out as non-root either 2020-07-10 19:34:19 Hello71: trivial, even 2020-07-10 19:34:25 root in the container is root out of the container 2020-07-10 19:34:28 if you have an idea how to get it to work, i'd love to hear you. 2020-07-10 19:35:00 https://docs.docker.com/engine/security/security/ 2020-07-10 19:44:11 there's no need to convince me it's better off running as a normal user. 2020-07-10 19:45:47 did you try just chown -R user:user /dev/snd 2020-07-10 19:47:04 that'll prevent other apps from accessing it. 2020-07-10 19:53:52 with help of #docker i solved it. it a docker related issue not alpine. 2020-07-10 19:53:59 sorry for bother you and thanks for the help 2020-07-10 19:54:08 to* 2020-07-10 19:57:27 yes 2020-07-10 19:57:38 as I said, uaccess requires udev 2020-07-10 21:34:03 my alpine VM seems to have broken itself. booting up I get: 2020-07-10 21:34:27 mount: mount /dev/sda2 on /sysroot failed: No such file or directory 2020-07-10 21:34:54 it drops me to initramfs emergency shell, which shows /dev/sda2 and /sysroot both exist 2020-07-10 21:35:07 and if you run mount -a there? 2020-07-10 21:35:23 nothing happens. no error, but /sysroot is not mounted 2020-07-10 21:35:37 and mount /dev/sda2 /sysroot? 2020-07-10 21:35:43 and running # mount /dev/sda2 /sysroot still yields No such file or directory 2020-07-10 21:36:24 https://i.imgur.com/7BPfptz.png 2020-07-10 21:37:08 dmesg 2020-07-10 21:38:32 mount errors get dumped in dmesg, because... ugh 2020-07-10 21:39:00 Maybe you don't have the required helper binary for your FS installed 2020-07-10 21:39:43 dmesg is clear 2020-07-10 21:40:35 ugh... ext4fs isn't built in to the kernel? :/ it doesn't look like the module is in the initramfs. 2020-07-10 21:41:06 Hm, mkinitfs has the ext4 feature enabled by default IIRC 2020-07-10 21:47:27 I wish apk had at least basic config file determination (don't keep apk-new if the new file is identical to the old base) 2020-07-10 21:47:31 that is why I set ext4 and f2fs =y in linux-edge for armv7 and aarch64 2020-07-10 21:48:50 thinking to do same for x86_64 2020-07-10 21:49:35 please do. idk how this even happened, it was running fine, then I upgraded 3.11.2 to 3.11.6, rebooted, and boom 2020-07-10 21:50:07 it wasn't even 3.11->3.12, which I was afraid of doing for this reason... 2020-07-10 21:50:28 (I was bitten by some LVM bug when upgrading a cluster from, iirc, 3.5 to 3.6) 2020-07-10 21:50:50 awilfox: linux-edge is in testing and is not used by install media or script 2020-07-10 21:51:00 oh. 2020-07-10 21:51:19 linux-lts is in main and it is used 2020-07-10 21:51:49 I think I will just boot a distro kernel with -kernel option in qemu, to try and recover this VM 2020-07-10 21:51:53 though I agree with youj= 2020-07-10 21:51:57 uhm 2020-07-10 21:52:00 with you 2020-07-10 21:52:29 most used FS drivers should be =y in kernel config 2020-07-10 21:53:28 haha, that is a weird prompt: Alpine Linux 3.11.6 Kernel 5.4.5-mc0-adelie-easy on an x86_64 (/dev/tty1) 2020-07-10 21:53:49 :) 2020-07-10 21:54:04 looks like that did get me in though. now I should be able to fix up mkinitfs config. 2020-07-10 21:58:09 that worked-ish... I had to manually modprobe ext4 in the initramfs shell, but after that it worked fine 2020-07-10 21:59:35 going to try upgrade to 3.12 and see if that helps 2020-07-10 22:00:45 if you ext4 in /etc/mkinitfs/mkinitfs.conf it should work 2020-07-10 22:00:55 fetures, I mean 2020-07-10 22:01:07 I did. 2020-07-10 22:01:17 but I know you know this better than me :) 2020-07-10 22:01:35 it did not help :/ still drops to emergency shell and requires me to modprobe ext4 2020-07-10 22:01:39 on 3.12 now 2020-07-10 22:01:51 uhm 2020-07-10 22:02:22 is the linux-lts upgraded during upgrade 2020-07-10 22:02:36 yes. and then mkinitfs trigger ran and generated new initramfs 2020-07-10 22:02:54 hm 2020-07-10 22:03:10 strange 2020-07-10 22:03:24 features="ata base ext4 keymap kms virtio" 2020-07-10 22:03:36 didn't had these issues in few last upgrade cycles 2020-07-10 22:05:01 I tried rerunning `mkinitfs` myself and now /dev/sda isn't even found \o/ 2020-07-10 22:05:04 stupid qestion, but did the bootloader use upgraded kernel and initramfs 2020-07-10 22:05:42 it shows in dmesg as scsi 0:0:0:0 Direct Access ATA QEMU HARDDISK 2020-07-10 22:05:45 but nothing about 'sda' 2020-07-10 22:06:22 maybe scsi need to be added to features 2020-07-10 22:06:28 yeah. I looked, and there's only one (vmlinuz-lts and initramfs-lts) 2020-07-10 22:07:22 I 'ditched' my last x86_64 box where I had qemu's so can't check now 2020-07-10 22:07:48 mhm, I'm more "at home" on power hardware myself, but I need this x86_64 thinger for work 2020-07-10 22:09:02 ah, on one of my linode VM (qemu) i have this 'features="ata base ide scsi usb virtio ext4"' 2020-07-10 22:10:48 (now wonder why usb and and ide are there) 2020-07-10 22:13:42 cat /sys/block/sda/device/model => QEMU HARDDISK 2020-07-10 22:13:47 I didn't put usb but I put ide and scsi in and now it's back to normal 2020-07-10 22:13:51 that is, I have to modprobe ext4 2020-07-10 22:13:54 but everything else works 2020-07-10 22:15:35 that should be investigated 2020-07-10 22:16:08 out of curiosity, why do you don't use linux-virt kernel for VM 2020-07-10 22:18:38 looking at git log, wrong assumption: I thought only 'linux-lts' package would track 5.4 branch 2020-07-10 22:18:50 I do not trust linux branches that are not LTS any more, after so many data losses 2020-07-10 22:19:41 linux-virt is also 5.4 LTS 2020-07-10 22:20:02 yes I see that 2020-07-10 22:21:53 about data loss, ime there is no much differences in kernels I use 2020-07-10 22:45:44 In a 32-bit chroot on this 64-bit laptop, running "wineserver" segfaults with this: https://bpa.st/OQKQ 2020-07-10 22:46:02 Running the same version of wine 5.0.1 in the 64-bit natively, it runs fine. 2020-07-10 22:46:10 Am I doing something wrong in my chroot? 2020-07-10 22:48:10 awilfox: I think you need to specify modules=ext4 on kernel command line 2020-07-10 22:48:22 or load-modules or something 2020-07-10 22:49:10 hm, not sure why the kernel doesn't do it. try checking sysctl kernel.modprobe 2020-07-10 22:52:06 Hello71: yes, I forgot this, 'modules=sd-mod,ext4 rootfstype=ext4' 2020-07-10 22:52:29 but also kernel should auto-probe the modules 2020-07-10 22:52:41 even without udev 2020-07-10 22:53:04 not sure 2020-07-10 22:55:03 last time I tested this without adding explicitly needed module in APEND for boot loader kernel didn't loaded them 2020-07-10 23:05:40 maybe modprobe is not in /sbin in alpine initramfs 2020-07-11 03:05:55 do people use something other than sudo on alpine technically? I always noticed it was a bit weird to set up a user account, what with sbin not being in the path etc 2020-07-11 03:33:35 OK, here are the new instructions for encrypted ZFS on root with alpine. Anyone Want to check it out before I update the old wiki? https://gist.github.com/danielb2/597c175145d6b1ee39207668807d2e3d 2020-07-11 03:33:40 Cogitri: ☝️ 2020-07-11 09:27:06 hi, i'm running 3.12.0 diskless. when i do 'rm /etc/runlevels/boot/hwclock ; lbu commit" then the overlay archive does not contain that symlink as expected. but when i reboot afterwards, that file shows up again. why is that? 2020-07-11 09:35:25 eydaimon: I think it'd be best to include the "Installing Alpine Linux" section should still contain that you need to enable openRC services, add features to mkinitfs.conf, set rootfstype and need to install the zfs package 2020-07-11 09:45:42 hansili: it gets restored by apk 2020-07-11 09:46:07 hansili: I'm not sure if lbu can explicitly commit a deletion of a file 2020-07-11 09:46:25 most likely not 2020-07-11 09:47:01 hmm 2020-07-11 09:47:22 on the other hand, /etc/runlevels/boot/hwclock is not managed by apk 2020-07-11 09:52:25 ikke: yes, and for /etc/runlevels/default it works just fine. 2020-07-11 10:29:58 ikke: why alpine extend version dont provide wireless-tools package default? 2020-07-11 10:30:12 yunfan: I don't know 2020-07-11 10:32:51 the download page said it's Most common used packages included. Suitable for routers and servers. 2020-07-11 10:33:05 but for routers, i thinks wireless tools is a basic needs 2020-07-11 10:59:34 ikke: which apk does include /etc/runlevels/boot/hwclock? (i couldn't find it.) 2020-07-11 11:00:21 hansili: /etc/runlevels/boot/hwclock symlink target is owned by openrc-0.42.1-r10 2020-07-11 11:00:36 apk info -W /etc/runlevels/boot/hwclock 2020-07-11 11:00:38 the target, but not the symlink itself 2020-07-11 11:01:37 mps and ikke: thanks 2020-07-11 11:01:45 ok, apk info -W /etc/init.d/hwclock 2020-07-11 12:05:54 does muls benefit from LTO? 2020-07-11 12:17:02 LTO isn't dependant on the libc 2020-07-11 12:47:43 Cogitri: it boots fine without all of those. Also, I do add the zfs package here: https://gist.github.com/danielb2/597c175145d6b1ee39207668807d2e3d#add-needed-packages 2020-07-11 12:47:58 Cogitri: since it boots fine, do I need the mkinitfs etc ? 2020-07-11 13:06:46 what firewall do you ya'll use ? 2020-07-11 13:09:40 unowe[d]: ufw gets the job done well] 2020-07-11 13:11:03 awall 2020-07-11 13:11:47 It boots fine, but zfs won't mount any volumes but your root volume without the OpenRC services 2020-07-11 13:12:02 He next kernel upgrade your system won't boot without the zfs features 2020-07-11 13:12:19 I use ufw as well, it's super easy to setup 2020-07-11 13:44:11 ufw ? 2020-07-11 13:45:14 Cogitri: you mean these things, right? rc-update add zfs-import sysinit rc-update add zfs-mount sysinit Edit the /etc/mkinitfs/mkinitfs.conf 2020-07-11 13:46:38 Yup 2020-07-11 13:46:56 https://pkgs.alpinelinux.org/package/edge/community/x86/ufw 2020-07-11 13:48:58 Cool, thanks for pointing that out :) 2020-07-11 13:49:27 thank you on suggesting ufw 2020-07-11 13:51:19 firewall doesn't really improve security in most applications 2020-07-11 13:53:01 Can be useful to avoid accidentally exposing services to the internet tho 2020-07-11 13:53:05 not sure what you mean, but my NAS will be accessible to the outside. I only want to be able to SSH in and no one to be able to access my services from outside the network. What else woudl I use the firewall for ? 2020-07-11 13:55:29 Cogitri: nice, ufw has the same syntax as ipfw (a FreeBSD firewall I use) 2020-07-11 13:55:42 it's a winner :) 2020-07-11 13:58:27 better to use bind addresses 2020-07-11 13:58:40 Hello71_: tell me more :) 2020-07-11 14:03:58 You could make services only listen on certain addresses, e.g. 127.0.0.1:port instead of letting it listen on 0.0.0.0 (so any address) 2020-07-11 14:04:51 Or add two interfaces to your NAS and then have one go into your private net with all services listening on that and one interface that goes to your NAT and only sshd listens on that interface 2020-07-11 14:05:16 But IMHO a firewall still doesn't hurt, if only to prevent you accidentally misconfiguring a service and as such leaving it exposed 2020-07-11 14:05:17 Ah. I guess I could do that, but I don't know that all services allow that configuration. wildcarding is allowed so I can use internal network, right ? 2020-07-11 14:07:44 In my case I only have sshd listening and nginx (which is a reverse proxy for everything else), so it wasn't hard to set that up 2020-07-11 14:09:45 I have at least 6 I don't want to be exposed 2020-07-11 14:14:17 So I have a fork of aports, how do I add packages, do I add them to testing, commit, then make a merge request? 2020-07-11 14:16:32 yes 2020-07-11 14:38:00 Hello71_: but firewall is a 'good selling product' :) 2020-07-11 14:38:06 what? 2020-07-11 14:38:48 you can get a lot of money by selling firewall 2020-07-11 14:45:58 jokes aside, firewall can be very useful, and it is 2020-07-11 14:47:58 ping (icmp echo) rate limiting, ssh access only from particular addres/networks/ports, auto block ssl/password crackers etc 2020-07-11 14:52:34 and also blocking various unexpected ports being open to the internet that you don't know about.... 2020-07-11 14:53:03 it's called defense-in-depth 2020-07-11 14:59:19 yes, control outgoing traffic also, especially if there devices in local network which 'call home' 2020-07-11 15:11:16 Cogitri: I updated the gist 2020-07-11 15:19:16 how do I get info about a package with apk ? 2020-07-11 15:19:22 like what's the home url etc 2020-07-11 15:19:50 dero 2020-07-11 15:20:02 apk info... I made a typo and typed zfs info 😂 2020-07-11 15:20:03 apk info $pkg 2020-07-11 16:36:28 visual mode doesn't seem to work in neovim. vim shows it just fine. What could cause that ? 2020-07-11 16:50:32 seems like its neovim 2020-07-11 17:13:35 but I have neovim running on macos and freebsd with no such issues 2020-07-11 17:13:47 so maybe linux only problem ? 2020-07-11 17:59:01 really liking alpine :) 2020-07-11 17:59:26 Cogitri: you OK with me updating your doc as it stands with that update ? 2020-07-11 18:02:16 Sure, looks good. Thanks for working on it 2020-07-11 18:20:28 Using the chroot script on the alpine website (https://wiki.alpinelinux.org/wiki/Chroot#Performing_the_chroot), I'm unable to connect to dbus. What else should the script do to get it running? The error, for example, is here: https://bpa.st/V5FQ 2020-07-11 18:27:26 connect to dbus... where? 2020-07-11 18:32:36 Hello71_: I don't know what you're asking. Can you be more specific? 2020-07-11 18:45:38 i need some help fixing ImportError: Error loading shared library ld-linux-armhf.so.3: No such file or directory. i installed libc6-compat. 2020-07-11 18:47:54 Cogitri: I forgot I didn't follow the instructions. turns out that /etc/mkinitfs/mkinitfs.conf already had zfs in it :) one less step to do. and sure, you're welcome 2020-07-11 19:04:27 is there a telnet command on alpine? 2020-07-11 19:04:43 I cannot find anything in the default for which telnet or netcat. 2020-07-11 19:05:08 I just want to check if I can connect to a port on the same machine. Something simple. 2020-07-11 19:06:33 openbsd-netcat 2020-07-11 19:21:13 joe9: busybox-extra have it, also latest screen 2020-07-11 19:23:59 mps, ikke, thanks. 2020-07-11 19:47:07 the busybox-extra telnet, can it read from stdin and send the commands to the telnett'ed port? 2020-07-11 19:47:24 I am trying to figure out if I can use that telnet in a pipe 2020-07-11 19:48:03 https://unix.stackexchange.com/questions/86556/testing-remote-tcp-port-using-telnet-by-running-a-one-line-command 2020-07-11 19:48:14 it is barebone telnet client, afaik. never tried anything except basic usage 2020-07-11 19:49:09 for this some of netcat version looks more apropriate 2020-07-11 19:49:12 mps, I am trying to connect to a tcp server running on alpine. Something basic to test connectivity. The first command that the tcp server exists is this string 2020-07-11 19:49:23 API\0\0\0v100..1 2020-07-11 19:49:41 And, I cannot figure out how to send that with the telnet client on alpine. 2020-07-11 19:49:57 mps, ok, thanks. will check netcat 2020-07-11 19:50:17 openbsd-netcat can be easily 'scripted' 2020-07-11 19:50:46 ok, will try that. Thanks. 2020-07-11 20:42:03 I need to send some NUL characters from a shell script, read -c /dev/zero. read on alpine does not have the -c. Just curious if there is any other tool that can do something similar. 2020-07-11 20:43:14 got it, echo -e 2020-07-11 20:44:37 dd if=/dev/zero bs=1 count=1 2020-07-11 20:44:51 mps, that works too. cool. Thanks. 2020-07-11 21:02:15 hey ladies, gentlemen and others 2020-07-11 21:03:00 tried to use efibootmgr while chrooted to my broken shit, but was not able to use it, got error 'no efivar in this filesystem' or something like that 2020-07-11 21:03:28 what could cause that? wrong mounting some parts? or is it normal behaviour in chroot 2020-07-11 21:04:04 I mounted just root and efi, did not touch any sys or other things 2020-07-11 21:04:53 I already reinstalled, whole issue was with grub obviously bc. that crap is useless 2020-07-11 21:06:02 also found one interesting things ... default install somehow put 'acct' accounting package in world and install it :) not sure in what step it come there 2020-07-11 21:32:54 helby, if I remember correctly (and it's been a while since I've done UEFI stuff on Alpine) there's a specific erivarfs mount that needs to exist to gain access to efi variables; it can be dangerous to your system so it's often mounted read-only 2020-07-11 21:34:25 TBB: thought something like that, thanks 2020-07-11 21:35:44 (why I wrote erivarfs instead of efivarfs, I have no idea, must be I should be asleep already) 2020-07-11 21:36:17 I did not notice ;) 2020-07-11 21:36:40 ah, you read around typos without noticing, I do the same thing :) 2020-07-11 21:36:55 that 'chrooting' then reinstalling took a lot of energy from me :d 2020-07-11 21:37:19 I tried to save some work, but then deciced just backup home and install crap again :) 2020-07-11 21:38:01 now thinking to get rid of grub, but ... 2020-07-11 21:38:38 first need to change /boot/efi nonsense to just /boot but I am afraid fstab will be broken then 2020-07-11 21:38:58 also not sure what will put vmlinuz and other crap inside of /boot 2020-07-11 21:39:24 mkinitfs will do? 2020-07-11 21:42:46 for fuck sake if wiki is not dump 2020-07-11 21:44:36 usually /boot yes, and whatever does the early boot into /boot/efi, that's pretty much how the spec does it. but like I said I haven't been doing much of UEFI+Alpine lately, it's been one and a half years since the last time 2020-07-11 21:46:09 what else if not uefi 2020-07-11 21:46:14 it's 2020 :) 2020-07-11 21:47:03 well, my work laptop is uefi but it runs Ubuntu for work reasons, and my other system, also an Ubuntu, is UEFI without Secure Boot so I don't even know exactly how it boots 2020-07-11 21:49:11 TBB probbly like my with shitty grub 2020-07-11 21:49:21 I turned off secure boot to, as it was useless 2020-07-11 21:49:38 don't tell me about ubuntu, have one mail server with that crap, it's ... 2020-07-11 22:11:39 I'm not sure about this one, but basically you could just use the kernel as the boot binary and provide it with parameters via efi boot params 2020-07-11 22:12:24 and if you're feeling really courageous, you can combine the kernel and the initramfs into one. but that probably goes beyond what mkinitfs can handle 2020-07-11 22:18:57 TBB yes, I will try, maybe tommorow, I used just direct boot for years with any distro 2020-07-11 22:19:15 TBB: see fucking bootloader as something not necessary at all 2020-07-11 23:57:36 is there any place I can find more details on what these options do? od [-aBbcDdeFfHhIiLlOovXx] [-t TYPE ] [ FILE ] 2020-07-11 23:58:35 got it. 2020-07-12 00:36:18 R&[d]: When installing apks within a chroot, how would I get them to install in the main environment instead of the temp sandbox? 2020-07-12 01:06:18 albr_: Sorry, I don't have an answer to your question. But I'm curious about how you enter the chroot. Do you use a script? I'm just trying to diagnose issues with my own chroot, and a comparison could be helpful. 2020-07-12 01:16:31 R&[d]: Yes I used a slightly modified script from https://github.com/alpinelinux/alpine-chroot-install/blob/master/alpine-chroot-install 2020-07-12 01:19:39 albr_: I can't get my chroot to recognize dbus. Do you do anything in particular in your script to make dbus work? 2020-07-12 01:27:01 R&[d]: I don't have any idea what dbus refers to on a Linux platform, but I read your earlier question. What does 'dbus start' do? 2020-07-12 01:44:54 albr_: "dbus start" returns 'not found', but running "dbus-launch" gives me this successful output: https://bpa.st/4GBA 2020-07-12 01:45:39 Running an application to access dbus *after* running dbus-launch, though, doesn't help. I still see an error that it fails to connect to a dbus session. 2020-07-12 05:00:42 I get a segmentation fault when running git log 2020-07-12 05:00:48 Im running aarch64. 2020-07-12 05:01:07 I have tried compiling git using aports. It passed the tests fine. 2020-07-12 05:01:22 I then ran `doas apk fix -d --repository /home/anjan/packages/main/ git` 2020-07-12 05:01:29 still having the segfault 2020-07-12 05:01:45 I also have the segfault when running other git commands (git status, etc.) 2020-07-12 05:01:54 any help? 2020-07-12 05:10:14 interesting 2020-07-12 06:27:10 amom: https://gitlab.alpinelinux.org/alpine/aports/-/issues/11717 2020-07-12 06:27:25 Seems like it only happens on aarch64 though, never had git crash for me on x86_64 2020-07-12 06:27:51 Could you please install git-dbg and musl-dbg and then get a stacktrace of git crashing? 2020-07-12 06:28:28 Cogitri: sure give me a second 2020-07-12 06:30:52 Im just happy someone else has this bug. It was driving me up a wall 2020-07-12 06:38:17 Cogitri: sorry, Im a linux brainlet. How do I cat all text output to a file? 2020-07-12 06:38:24 it's not catting some of the text 2020-07-12 06:38:27 I tried > and 2> 2020-07-12 06:39:07 > file 2>&1 2020-07-12 06:39:23 the second part means "and two will send to the same place as 1" 2020-07-12 06:39:31 it must come afterwards 2020-07-12 06:39:39 ohhhh 2020-07-12 06:39:42 thank you afontain_ 2020-07-12 06:40:11 the bash shortcurt is &> btw 2020-07-12 06:40:17 (there's |& too) 2020-07-12 06:40:34 thanks. Im gonna add all that to my personal notes 2020-07-12 06:40:37 super helpful 2020-07-12 06:40:46 (which is different from &|) 2020-07-12 06:43:54 Cogitri: https://paste.sr.ht/~anjan/ec77277704f6dd61fc7396b4cc5c8812090b0cce 2020-07-12 06:45:09 amom, cogitri: https://gitlab.alpinelinux.org/alpine/aports/-/issues/11717 2020-07-12 06:48:30 Uh, that's the strace, I wanted the backtrace (so attach gdb to the process) 2020-07-12 06:50:49 Cogitri: sorry. Im not familiar with that 2020-07-12 06:51:30 gdb --args git log 2020-07-12 06:51:31 run 2020-07-12 06:52:37 I installed the git-dbg package 2020-07-12 06:52:45 but i still get (No debugging symbols found in git) 2020-07-12 06:54:14 https://paste.sr.ht/~anjan/1c2ef470dc16e87c1ce3960b0fa508c713f5908a 2020-07-12 06:54:23 that is the backtrace I did anyways... 2020-07-12 06:54:26 Cogitri: 2020-07-12 06:55:40 Not really useful without the debugging info...hmm, why does it not find it 2020-07-12 06:59:36 Cogitri: Im gonna watch a movie, feel free to ping me. git-send-email is being buggy for me as a result of this i think and it's annoying for the project maintainer. 2020-07-12 07:02:19 I'll see if I can reproduce this later today 2020-07-12 07:22:02 amom: is this happening with a specific repository only, or in general? 2020-07-12 07:22:03 amom: Cogitri: git works fine on my few aarch64 installation, 3.12 and edge, native install and in lxc 2020-07-12 07:26:44 at least disas around $pc and print the regs 2020-07-12 07:27:32 or provide the binary so somebody else can look at the instructions 2020-07-12 07:28:12 although we would need a info proc map at least 2020-07-12 07:29:32 ikke: I am using alpine edge 2020-07-12 07:29:42 aarch64 2020-07-12 07:29:56 I cannot use stable because Im using sxmo on pinephone 2020-07-12 07:30:02 amom: does it happen with git for alpine aports as well, or only self-built version? 2020-07-12 07:30:49 amom: and with repository, I meant git repository 2020-07-12 07:32:22 ikke: I have tried compiling git from source using aports 2020-07-12 07:32:27 only once noticed problem but that was with not full upgraded system 2020-07-12 07:32:32 and installing from alpine's repos 2020-07-12 07:33:00 git passes all checks when compiling from source btw 2020-07-12 07:36:01 So that means this issue doesn't happen in general 2020-07-12 07:36:13 Did you try in another git repo? 2020-07-12 07:36:30 In the issue I linked above, it appeared after quite a lot of work 2020-07-12 07:36:41 like "print every commit in aports" 2020-07-12 07:36:52 but it's a bit random 2020-07-12 07:36:58 I could not reproduce btw 2020-07-12 07:41:14 ikke: yes, ive tried it in another git repo 2020-07-12 07:41:29 afontain_: certain git commands dont work no matter the repo or how many times I try 2020-07-12 07:41:43 ik for some ppl it sometimes segfaults and other times it doesnt 2020-07-12 07:42:03 hmm 2020-07-12 07:46:43 so run it under gdb and print out the state at the segfault 2020-07-12 09:01:44 h 2020-07-12 09:02:10 git crashing for someone? odd 2020-07-12 09:10:24 Yup 2020-07-12 10:44:53 amom: what is the rest of the gdb output 2020-07-12 10:45:42 Hello71: that's literally all the gdb output 2020-07-12 10:45:55 these addresses look kinda funny, but I guess that's how arm works? 2020-07-12 10:46:17 amom: I mean going up, not down 2020-07-12 10:46:53 ya, going up too 2020-07-12 10:54:24 so... you don't have GNU gdb (GDB) 9.2, Copyright (C) 2020 Free Software Foundation, Inc., License GPLv3+: GNU GPL version 3 or later ... 2020-07-12 10:55:51 ahttps://paste.sr.ht/~anjan/a76cf4deb9b727b53577be98f32127c314806b1a 2020-07-12 10:56:03 https://paste.sr.ht/~anjan/a76cf4deb9b727b53577be98f32127c314806b1a 2020-07-12 10:56:40 Hello71 you dont invoke with `gdb -q`? 2020-07-12 10:56:42 :^) 2020-07-12 10:57:55 amom: do you have /usr/lib/debug/usr/bin/git.debug? 2020-07-12 10:58:17 Hello71: yes 2020-07-12 10:58:49 try gdb /usr/libexec/git-core/git-log, and then symbol-file /usr/lib/debug/usr/libexec/git-core/git-log.debug 2020-07-12 10:59:46 Hello71: https://paste.sr.ht/~anjan/b2f31e458f701dbe9264ed3558d292aa4b89479e 2020-07-12 11:05:44 strange but alright 2020-07-12 11:06:00 Cogitri, nsz: ^ 2020-07-12 11:07:44 So something to do with notes 2020-07-12 11:07:50 amom: does that repo has any notes recorded? 2020-07-12 11:08:45 also what version of alpine are youusing 2020-07-12 11:12:16 Hello71: "I'm using alpine edge" 2020-07-12 11:12:34 missed it, only saw mps 2020-07-12 11:13:37 Good that you have a backtrace now, I guess it's time to report it usptream then 2020-07-12 11:13:46 Unfortunately I'm too busy to do that 2020-07-12 11:14:19 ikke: this happens on any repo I use 2020-07-12 11:14:38 hmm 2020-07-12 11:14:43 doesnt matter what I do. Running git log on a bare repo, I get a segfault. Running git status, I get a segfault 2020-07-12 11:14:51 ok 2020-07-12 11:15:35 What version of git? 2020-07-12 11:15:45 the latest version from alpine edge 2020-07-12 11:15:52 sorry. ssh isnt working rn 2020-07-12 11:16:00 oh it's cause im using crust 2020-07-12 11:16:03 1 sec 2020-07-12 11:16:39 Did you try older versions to see if it happens therE? 2020-07-12 11:16:50 2.27.0 would that be 2020-07-12 11:16:52 git version 2.27.0 2020-07-12 11:16:57 I am currently using 2020-07-12 11:17:05 lemme see if I have an older version in my cache 2020-07-12 11:17:27 I only have 2.27.0 2020-07-12 11:17:44 last change to notes.c was in 2.26.0 2020-07-12 11:17:51 but a very minor chnage 2020-07-12 11:18:40 ikke: it's 4:30 am here 2020-07-12 11:18:43 ah ok 2020-07-12 11:18:43 Im gonna go to sleep 2020-07-12 11:18:57 https://tpaste.us/wn0P 2020-07-12 11:19:01 I will hop on irc tomorrow. If you find something, please post in the gitlab issue 2020-07-12 11:19:19 Im happy to help test any patches or troubleshoot more 2020-07-12 11:19:22 odd that the backtrace would stop at the {, given the assert 2020-07-12 11:19:40 and even if NDEBUG is set, display_notes_trees isn't null, because sb != sb@entry 2020-07-12 11:19:52 wait 2020-07-12 11:20:09 Hello71: Yes, I found that odd to 2020-07-12 11:20:16 hence verifying the version 2020-07-12 11:20:37 how does sb=0xffffffffe818 2020-07-12 11:21:20 ? 2020-07-12 11:30:12 Hello, anyone installed "bind-dev" and has it running as a recursive? 2020-07-12 11:42:53 bind-dev are build-time dependencies 2020-07-12 11:43:22 https://pkgs.alpinelinux.org/contents?branch=edge&name=bind-dev&arch=x86_64&repo=main 2020-07-12 13:15:54 why do ppl only print a backtrace after segfault 2020-07-12 13:16:43 usually you need to see the surrounding code (either the source or the instructions, the latter is always available) 2020-07-12 13:17:10 and preferably the register state too as well as the file mappings (so you know what is where and how memory is protected) 2020-07-12 13:17:11 nsz: because that's where gdb stops :) 2020-07-12 13:17:45 and for most people, that's about all they know when using gdb 2020-07-12 13:17:53 :) 2020-07-12 13:18:06 right 2020-07-12 13:18:30 not that I know a lot more, tbh 2020-07-12 13:18:41 me neither 2020-07-12 13:19:36 and most upstream instructs such: press 'r' and when it stops type 'bt' 2020-07-12 13:21:30 i would add 'info proc map; info reg; disas $pc-40,+80' 2020-07-12 13:21:38 ($rip on x86) 2020-07-12 13:22:35 $rip instead of $pc? 2020-07-12 13:25:43 makes sense to have rip in report 2020-07-12 13:26:22 ikke: yes 2020-07-12 13:26:30 ok 2020-07-12 13:26:41 e.g. such info usually makes it clear if it's a stackoverflow 2020-07-12 13:27:01 because you see sp in the regs and the stack access at the segfaulting instruction 2020-07-12 13:28:06 Trying to debug a sigbus error now on armhf, see what info I can get 2020-07-12 13:28:43 probably some unaligned access 2020-07-12 14:20:52 does this work on alpine? --> MOZ_WEBRENDER=1 2020-07-12 14:21:11 from the article --> https://www.phoronix.com/scan.php?page=news_item&px=WebRender-For-Some-Linux 2020-07-12 14:22:00 I guess you could try, but keep in mind that webrenderer is still experimental on Linux 2020-07-12 14:28:30 I am using it on GNOME Wayland and don't notice much difference 2020-07-12 14:28:42 about:support shows me I'm using WebRender 2020-07-12 14:29:47 maxice8: i might give another try at sway/wayland since I've switched to edge 2020-07-12 14:30:09 Use GNOME Wayland, it is great 2020-07-12 14:30:14 Switched from sway :D 2020-07-12 14:30:36 maxice8: in stable sway never was able to show any menu 2020-07-12 14:30:44 I could only move the mouse 2020-07-12 14:31:01 nothing else, no right/left clicks, no mouse 2020-07-12 14:31:09 huh 2020-07-12 14:35:22 ikke ncopa clandmeter all the documentation about setup install modes are gone from the wiki page.. many users modify too much the install page.. and seem are focused for windosers users! 2020-07-12 14:37:35 oh no the user Sb1 modified so many that page and now imortant informatio are gone.. i mean.. if any info will be changed the previous must be in some wehere! 2020-07-12 17:16:18 i installed the kernel headers and tried to compile v4l2loopback but got an error saying "/lib/modules/5.4.51-0-lts/build: No such file or directory.", will I have to compile the kernel manually for the headers? 2020-07-12 17:17:57 you might have to reboot 2020-07-12 17:18:44 after upgrading your kernel, the /lib/modules directory doesn't contain `uname -r` anymore 2020-07-12 17:18:54 no idea if it's supposed to work though 2020-07-12 17:18:56 i rebooted already 2020-07-12 17:19:58 actually, isn't that something that uses DKMS? 2020-07-12 17:20:28 i'm not sure 2020-07-12 17:20:34 but DKMS isn't in the alpine repos 2020-07-12 17:20:36 because last time I looked, DKMS wasn't supported on Alpine 2020-07-12 17:20:38 is it not supported? 2020-07-12 17:20:42 that sucks 2020-07-12 17:20:43 and likely still isn't 2020-07-12 17:20:45 why is that? 2020-07-12 17:20:49 just curious 2020-07-12 17:21:18 because it's complicated maybe? 2020-07-12 17:21:46 or because an important part of DKMS users are things like proprietary NVidia drivers that won't work anyway? 2020-07-12 17:22:04 ahh 2020-07-12 17:22:04 well 2020-07-12 17:22:12 i don't know really 2020-07-12 17:22:26 maybe this isn't the channel to ask this, but 2020-07-12 17:22:30 what about anbox? 2020-07-12 17:22:36 it refuses to run 2020-07-12 17:22:42 i'll go and ask on their channel 2020-07-12 17:24:56 picmyk: did you install linux-lts-dev 2020-07-12 17:25:18 hello on both sides btw 2020-07-12 17:25:26 yes 2020-07-12 17:25:35 well actually i had not installed linux-lts-dev 2020-07-12 17:41:48 that worked Hello71, thank you 2020-07-12 19:10:53 I'm looking at doing `zfs set sharenfs=on ...` and getting an error. https://github.com/openzfs/zfs/issues/4534 based on this people fix it by doing `apt install nfs-kernel-server`. what's the alpine linux equivalent ? 2020-07-12 19:11:25 nfs-utils ? 2020-07-12 19:13:37 oh, looks like it was 2020-07-12 19:13:42 I asked too soon 2020-07-12 19:14:57 indeed 2020-07-12 19:15:02 https://packages.ubuntu.com/bionic/amd64/nfs-kernel-server/filelist 2020-07-12 19:15:09 https://pkgs.alpinelinux.org/contents?branch=edge&name=nfs-utils&arch=x86_64&repo=main 2020-07-12 19:20:08 anything else I need to do after besides `service nfs-share start` ? 2020-07-12 19:20:22 I'm getting an error when running showmount 2020-07-12 19:27:38 oops 2020-07-12 19:27:55 if someone answered, kiwi asked me to refresh, and then I had to login again 🤦 2020-07-12 19:28:06 so I missed any answer 2020-07-12 19:28:12 no 2020-07-12 19:29:57 any idea ? 2020-07-12 19:30:21 did you export something? 2020-07-12 19:31:00 there is also a rpc service 2020-07-12 19:32:20 https://wiki.alpinelinux.org/wiki/Setting_up_a_nfs-server 🙌 2020-07-12 19:32:42 and I had been searching for zfs sharing ... 2020-07-12 20:04:37 I don't suppose there's a zfs expert around... looks like the zfsonlinux implementation is a bit different than the one from freebsd. For freebsd, I would run: zfs set sharenfs="-mapall=daniel -network 192.168.0.0 -mask=255.255.0.0" titan/foobar, for example, but if I do that on alpine, I get: cannot set property for 'titan/foobar': 'sharenfs' cannot be set to invalid options 2020-07-12 20:34:32 how do I get all man-pages installed? apk add man-pages and I still do things like man exports, and there's no entry 2020-07-12 20:34:42 apk add docs 2020-07-12 20:34:48 gracias 2020-07-12 20:35:50 If you just wanted it for nfs-utils, you could also install just nfs-utils-doc 2020-07-12 20:36:05 ohh. good to know. thank you :) 2020-07-12 20:36:28 does add docs install it only for installed packages ? 2020-07-12 20:36:35 it looks like it 2020-07-12 20:36:35 yes 2020-07-12 20:36:42 neat 2020-07-12 20:41:29 oh. most is only available in edge? 🤔 2020-07-12 20:41:44 most of what? 2020-07-12 20:43:47 https://pkgs.alpinelinux.org/package/edge/testing/x86_64/most 2020-07-12 20:43:53 it's my favorite PAGER 2020-07-12 20:44:02 aha :P 2020-07-12 20:44:12 a who 2020-07-12 20:44:15 more → less → most :) 2020-07-12 20:44:24 a who's on first kind of situation 2020-07-12 20:44:38 seems like yes 2020-07-12 20:44:39 oh hehe 2020-07-12 20:44:43 it's in testing 2020-07-12 20:44:50 just added edge temporarilyh and added it 2020-07-12 20:45:03 so it would need to be moved to community before it gets part of stable releases 2020-07-12 20:45:12 (mixsing is officially not supported :)) 2020-07-12 20:45:22 understood :) 2020-07-12 20:46:28 damn how is the alpine container so small? 2020-07-12 20:46:51 busybox, splitting out lots of things 2020-07-12 20:47:11 (ie, docs, language files, etc) 2020-07-12 20:47:14 yeah but libc is 4MB lighter weight than libc in void-musl 2020-07-12 20:47:22 I've killed all of that other stuff 2020-07-12 20:47:31 No idea there 2020-07-12 20:47:37 compiling with -Os instead of -O2 ? 2020-07-12 20:48:00 maybe... but 4MB? 2020-07-12 20:48:08 (out of 4.5MB) 2020-07-12 20:48:10 that's a lot 2020-07-12 20:48:28 alpine: -rwxr-xr-x 1 root root 596528 May 22 17:57 ld-musl-x86_64.so.1 2020-07-12 20:48:56 void: -rwxr-xr-x 1 root root 4475024 Jun 8 08:36 libc.so 2020-07-12 20:49:10 (libc on the musl image is a symlink to ld-musl) 2020-07-12 20:49:14 is it stripped? 2020-07-12 20:49:15 er on the alpine image 2020-07-12 20:53:37 bougyman: just compiled on alpine: 4006840 Jul 12 20:52 libc.so 2020-07-12 20:54:15 stripped: 596416 Jul 12 20:53 libc-stripped.so 2020-07-12 20:54:17 so yes 2020-07-12 20:54:23 yup 2020-07-12 20:54:23 it's symbol stripping 2020-07-12 20:55:03 gotcha 2020-07-12 20:55:07 thanks! 2020-07-12 20:55:15 so that plus busybox does it. 2020-07-12 21:44:36 lol #philosophy bougyman? 2020-07-12 22:24:23 do android virtual devices work? 2020-07-12 22:52:34 in case someone is super curious about my earlier zfs sharenfs question, the answer is something like this: zfs set sharenfs="rw=@192.168.0.0/16,sync,all_squash,anonuid=1000,anongid=10,no_subtree_check" rpool/titan/zster 2020-07-12 23:05:34 How can I clean up some unnecessary packages? I'm unable to delete certain things, yet they don't have any dependencies: http://ix.io/2rtQ 2020-07-12 23:14:59 apk del py3-flask-login py3-flask 2020-07-12 23:17:34 lunaphyte: World updated, but the following packages are not removed due to: py3-flask: py3-flask-login 2020-07-12 23:17:41 It just doesn't work. 2020-07-12 23:35:16 weird, just an empty dependency list 2020-07-12 23:36:50 Yup 2020-07-12 23:37:04 phew. finally got automount working on macos. There seems to be some difference in the NFS protocol between linux and freebsd. I had to add resvport to /etc/auto_master on the /net line 2020-07-13 00:55:01 Hi, I have existing LVM on my laptop, with separate home. How would I go about installing this without wiping and redoing my partitioning? 2020-07-13 01:46:49 lp2skyline: I've heard it's possible, probably have to learn some tools 2020-07-13 01:50:47 lp2skyline: probably something like $(lvreduce home) 2020-07-13 03:14:42 imo... if the data is valuable enough that you dont want it destroyed, make a backup. outside of that, be very careful about what you're doing with that. preserving a partition while installing around it is never really a fun time even when it does go ok. 2020-07-13 03:15:32 and if you have lvm with /home outside of lvm, I would seriously rethink why you're using lvm in the first place :-) 2020-07-13 03:34:27 I meant I have 2 partitions under the LVM. root and home 2020-07-13 03:35:02 Thank you for the informations though. I'll work on this tomorrow. I'll probably have more questions before I install. 2020-07-13 06:58:10 hello, is there a command to recreate the apk database? i'm on edge and after an update of a few packages i get a FDB format error when i run any apk command 2020-07-13 07:01:35 i can just reinstall as I am just testing it out on a vm, no big deal, I checked the wiki but couldnt find an option like "-f" to force the database recreation when using apk update 2020-07-13 07:07:38 perhaps `apk fix`, but no clue if that works 2020-07-13 07:09:54 https://pasteboard.co/JhqmO8U.jpg 2020-07-13 07:10:00 same error 2020-07-13 07:11:17 the dir /var/lib/apk is empty, is that normal? 2020-07-13 07:13:07 it's empty for me is well 2020-07-13 07:14:57 js_msi: the db is in /lib/apk/db 2020-07-13 07:26:43 Cogitri: did you get a chance to reproduce my git issue? 2020-07-13 07:37:40 Unfortunately no, pretty busy right now :/ 2020-07-13 07:40:22 No worries! Cogitri 2020-07-13 07:40:42 Is it only pinephone where this happens? 2020-07-13 07:44:29 I tried on my braveheart without success, at least 2020-07-13 07:45:28 reproducing without success? 2020-07-13 07:46:53 yeah, it just worked 2020-07-13 07:48:04 Maybe this really just is caused by the DRAM overclocking on the Pinephone? 2020-07-13 07:55:52 I was wondering that too, that's why I did send a suggestion for a second test where ag is asked to scan every file on the system 2020-07-13 07:57:10 Cogitri: do note however, that the new version of uboot does not overclock anymore 2020-07-13 07:57:11 hmm 2020-07-13 07:57:29 amom: how old is your install? 2020-07-13 07:58:43 afontain_: how can I check that> 2020-07-13 08:00:29 hmm 2020-07-13 08:01:01 `busybox ls -l /etc/hostname`? 2020-07-13 08:01:46 look for the modification date 2020-07-13 08:02:22 10 Jun 2 2020-07-13 08:02:30 2020? 2020-07-13 08:03:33 yup, too old 2020-07-13 08:05:00 should be flashed with a `dd if=u-boot-sunxi-with-spl.bin of=/dev/sdX bs=8k seek=1` 2020-07-13 08:05:30 afontain_: is that file in / ? 2020-07-13 08:05:41 I did install crust on this install 2020-07-13 08:05:59 /usr/share/u-boot/pine64-pinephone? 2020-07-13 08:06:03 so I did end up flashing uboot. however, the git problem existed before I installed crust 2020-07-13 08:06:12 weird 2020-07-13 08:06:35 I'd advise to try flashing the latest version of uboot 2020-07-13 08:06:44 though it may not help 2020-07-13 08:07:08 `apk upgrade -a` will drop your locally built version 2020-07-13 08:07:10 dd if=/usr/share/u-boot/pine64-pinephone/u-boot-sunxi-with-spl.bin of=/dev/mmcblk2 bs=8k seek=1 2020-07-13 08:07:19 for eemc right? 2020-07-13 08:07:27 looks reasonable 2020-07-13 08:09:28 that fixed it 2020-07-13 08:09:45 wait no 2020-07-13 08:09:48 it fixed git log 2020-07-13 08:09:53 git show segfaults 2020-07-13 08:10:18 maybe I just need to refresh git's index 2020-07-13 08:10:21 1 sec 2020-07-13 08:11:12 still segfaulting git show =( 2020-07-13 08:11:20 and git log is now segfaulting too 2020-07-13 08:11:44 latest version? 2020-07-13 08:11:48 did you reboot? 2020-07-13 08:12:00 which revision of the pinephone? 2020-07-13 08:12:30 afontain_: braveheart 2020-07-13 08:12:32 I did reboot 2020-07-13 08:12:39 latest version of everything 2020-07-13 08:12:57 for git: 2.2.27 2020-07-13 08:13:03 I mean 2.27.0 2020-07-13 08:14:04 can you try to run ag as in the issue? 2020-07-13 08:15:34 afontain_: Im sorry, I dont have the link to the issue handy 2020-07-13 08:15:51 I cant find it in the recent emails or recent issues on gitlab 2020-07-13 08:16:15 https://gitlab.alpinelinux.org/alpine/aports/-/issues/11717 2020-07-13 08:16:54 much appreciated ikke 2020-07-13 08:17:11 I still had it in my IRC history :) 2020-07-13 08:18:12 afontain_: I am getting 1 error on apk 2020-07-13 08:18:17 ERROR: File not found: /usr/share/dtb/allwinner/sun50i-a64-pinephone-1.1 allwinner/sun50i-a64-pinephone-1.2.dtb 2020-07-13 08:18:22 ERROR: postmarketos-mkinitfs-0.12.3-r0.trigger: script exited with error 1 2020-07-13 08:18:27 when I run doas apk fix 2020-07-13 08:18:43 could that be related to this? 2020-07-13 08:18:59 in theory, 1.2 is not your revision 2020-07-13 08:19:10 but did you upgrade -a? 2020-07-13 08:19:38 1 sec 2020-07-13 08:20:51 ok done. Should I reboot? 2020-07-13 08:51:24 I'd reflash before rebooting 2020-07-13 08:56:34 afontain_: no luck 2020-07-13 11:06:45 hi all 2020-07-13 11:07:37 what's the lightest (in terms of configuration and disk space) way of allowing an alpine box to send email via a MTA in its own network (and to which it has open relay access)? postfix, or is there something lighter? 2020-07-13 11:12:19 rapha: ssmtp? 2020-07-13 11:12:43 depends what you actually need 2020-07-13 11:12:52 postfix is also small 2020-07-13 11:12:56 mps: just to send the occasional cron mail to my backup address 2020-07-13 11:13:08 ssmtp looks perfect, thank you! 2020-07-13 11:13:36 also nice archlinux wiki page, that's always a boon 2020-07-13 11:13:44 for such things I also use ssmtp 2020-07-13 11:16:55 hmm ... for testing from the command line, is there a package other than sendmail that has mail(1)? 2020-07-13 11:17:43 ah, mailutils perhaps 2020-07-13 11:18:10 ssmtp contains sendmail 2020-07-13 11:22:44 mps: unfortunately it seems to put question marks around the hostname it uses for HELO and is being rejected because of that. is there a way to get it to not do that? 2020-07-13 11:25:06 ooooh 2020-07-13 11:25:17 okay, you MUST not put quotes around the hostname in the config file 2020-07-13 11:25:19 intricate 2020-07-13 11:26:22 man ssmtp will tell you difference with the 'normal' sendmail 2020-07-13 11:40:10 kind of liking the one from mailutils 2020-07-13 11:40:15 it has -A and -s 2020-07-13 11:40:38 `mail`, that is; not `sendmail` 2020-07-13 15:26:04 the last firefox update removed the .desktop file for me? or at least rofi isn't finding it anymore 2020-07-13 15:26:29 No, it added StartupWMClass=firefox 2020-07-13 15:26:42 so Wayland can correctly associate the Window with the Icon 2020-07-13 15:30:04 oh okay I see 2020-07-13 15:31:16 like idk it's only showing these now https://0x0.st/it06.png (the flatpak packages) 2020-07-13 15:31:39 is the flatpak taking prevalence over the regular package now because of startupwmclass? 2020-07-13 15:32:10 I can still start it from the command line so not a big issue 2020-07-13 17:15:42 R&[d]: @bovis inside a chroot Executing dbus-1.10.28-r0.post-install 2020-07-13 17:15:43 R&[d]: Failed to generate UUID: Could not open /dev/urandom: No such file or directory. So that’s one of your problems, no random number generator dev inside an Alpine chroot. https://discordapp.com/channels/661832166946373642/661834182934265883/731681148538716271 2020-07-13 17:33:39 unowe[d]: they can't see Discord links from IRC 2020-07-13 17:56:27 female[d]: when will the bridge be kill 2020-07-13 20:19:50 How do I run alpine linux under Crostini? 2020-07-13 20:21:08 What is Crostini? 2020-07-13 20:21:33 Chrome OS's virtual machine 2020-07-13 20:21:45 ikke ^ 2020-07-13 20:22:45 How do you run other OS' on Crostini? 2020-07-13 20:23:28 I'm having a hard time with that myself. I can only figure out how to run the default Debian. 2020-07-13 20:23:43 If I can figure this out, I'll write a wiki page :) 2020-07-13 20:24:12 https://wiki.archlinux.org/index.php/Chrome_OS_devices/Crostini 2020-07-13 20:24:16 this is for Archlinux 2020-07-13 20:24:48 Do I just replace everything with alpine? 2020-07-13 20:24:53 Apparently these are just containers, not VMs? 2020-07-13 20:25:06 Ohh 2020-07-13 20:26:02 The link on that wiki to linuxcontainers.org also contains alpine images 2020-07-13 20:26:05 ACTION runs alpine on chromebooks natively :) 2020-07-13 20:26:18 What's mps? 2020-07-13 20:26:27 Or who? 2020-07-13 20:26:33 mps is mps :) 2020-07-13 20:26:36 me, I think 2020-07-13 20:26:48 Do you run alpine under Crostini? 2020-07-13 20:26:55 no 2020-07-13 20:27:00 Oh 2020-07-13 20:27:06 no ChromeOS, just Alpine 2020-07-13 20:27:22 I installed alpine on few chromebooks 2020-07-13 20:27:33 Oh okay. Yeah I'm looking to install it inside ChromeOS 2020-07-13 20:27:43 i.e. removed cromeos 2020-07-13 20:30:56 there were some guides on net how to run some linux distros in chromeos in chroot but I didn't tried any of these 2020-07-13 20:52:35 I'm following the guide to install Arch Linux on Crostinil, except with Alpine (https://wiki.archlinux.org/index.php/Chrome_OS_devices/Crostini#Replacing_the_default_Debian_Linux_container_with_Arch_Linux). 2020-07-13 20:53:03 So I got to the step where I needed to create a container: 2020-07-13 20:53:08 vmc container termina arch https://us.images.linuxcontainers.org archlinux/current 2020-07-13 20:53:25 I replaced that with alpine and: 2020-07-13 20:53:26 Error: routine at frontends/vmc.rs:477 `container_create(vm_name,user_id_hash,container_name,source)` failed: failed to create container: `FAILED`: failed to get alias: Alias 'images:alpine/3.12' doesn't exist 2020-07-13 20:53:47 The command I ran was: 2020-07-13 20:54:05 vmc container termina alpine https://us.images.linuxcontainers.org images:alpine/3.12 2020-07-13 20:54:56 Why is it not working >:( 2020-07-13 22:28:55 I have alpine on my phone too lol 2020-07-13 22:28:59 in a chroot 2020-07-13 22:29:08 Nice 2020-07-13 22:29:34 I think alpine is my new go to distro for everything tbhj 2020-07-13 22:29:36 *tbh 2020-07-13 22:29:50 Nice++ 2020-07-13 22:30:41 :) 2020-07-13 23:02:06 The Arch Linux Wiki has a page on installing Alpine Linux under Crostini (https://wiki.archlinux.org/index.php/Chrome_OS_devices/Crostini#Replacing_the_default_Debian_Linux_container_with_Arch_Linux), and I think it would be pretty great if the Alpine Linux wiki did too, because I struggled to install Alpine Linux, and I instead installed Arch 2020-07-13 23:02:06 under Crostini because it was the most well documented option. 2020-07-13 23:02:41 Is there a place I can open an issue? I already did on the Gitlab documentation project 2020-07-14 01:45:07 R&[d]: http://uk.alpinelinux.or 2020-07-14 01:45:08 R&[d]: g/alpine/v3.8/main/x86/python3-3.6.9-r1.apk appears to have BAD signature. 2020-07-14 01:45:28 R&[d]: http://uk.alpinelinux.org/alpine/v3.8/main/x86/python3-3.6.9-r1.apk appears to have BAD signature. 2020-07-14 01:54:03 R&[d]: http://uk.alpinelinux.org/alpine/v3.8/main/x86/python3-3.6.9-r1.apk appears to have BAD signature. Plus I can’t get more than 31% downloaded after trying all day. 2020-07-14 01:59:02 maybe try a different mirror 2020-07-14 04:12:47 R&[d]: > maybe try a different mirror 2020-07-14 04:12:48 R&[d]: @c705#0000 you don’t know me, but I’ve been ‘doing’ Linux for a very very very long time. Such a cookie cutter solution is on the verge of being morally inappropriate; in fact, it’s right along the same lines as, ‘Why not just “wait” in another queue’. Absolutely discounting the irrelevant fact that I already HAD copies from several other ‘mirrors’ which also reported BAD signatures, a SOMEWHAT bette 2020-07-14 04:12:51 R&[d]: https://cdn.discordapp.com/attachments/661834182934265883/732449490497175642/image0.png 2020-07-14 06:21:05 the fact that you posted the same thing 3 times in varying formats really sells that you've been "doing" linux for a "very very very" long time 2020-07-14 06:31:47 it has to be said tho that I've rarely encountered similar problems with any other distribution 2020-07-14 06:32:14 not that it would've prevented me personally from ever working with Alpine 2020-07-14 09:31:41 Hey guys, any idea if I should this report to alpine bugs? https://pastebin.com/B3sefvTq .. I ofcourse found https://github.com/gliderlabs/docker-alpine/issues/191 but we are not using any authentication on proxy 2020-07-14 12:01:42 R&[d]: # mount -t proc proc /proc 2020-07-14 12:01:43 R&[d]: ~ # mount -t sysfs sys ./sys -o nosuid,nodev,noexe 2020-07-14 12:01:44 R&[d]: c,ro 2020-07-14 12:01:45 R&[d]: mount: mounting sys on ./sys failed: Invalid argument 2020-07-14 12:01:46 R&[d]: ~ # 2020-07-14 12:01:48 R&[d]: https://cdn.discordapp.com/attachments/661834182934265883/732567495042400286/image0.png 2020-07-14 12:05:01 R&[d]: # mount -t proc proc /proc 2020-07-14 12:05:01 R&[d]: ~ # mount -t sysfs sys ./sys -o nosuid,nodev,noexec,ro 2020-07-14 12:05:03 R&[d]: mount: mounting sys on ./sys failed: Invalid argument 2020-07-14 12:05:04 R&[d]: ~ # 2020-07-14 12:05:05 R&[d]: https://cdn.discordapp.com/attachments/661834182934265883/732567495042400286/image0.png 2020-07-14 12:06:36 R&[d]: # mount -t proc proc /proc 2020-07-14 12:06:36 R&[d]: ~ # mount -t sysfs sys ./sys -o nosuid,nodev,noexec,ro 2020-07-14 12:06:38 R&[d]: mount: mounting sys on ./sys failed: Invalid argument 2020-07-14 12:06:39 R&[d]: https://cdn.discordapp.com/attachments/661834182934265883/732567495042400286/image0.png 2020-07-14 12:08:17 R& does ./sys exist? 2020-07-14 12:09:08 and it seems you need to do mount -t sysfs none ./sys .. 2020-07-14 12:12:01 R&[d]: ~ # mount -t sysfs none ./sys 2020-07-14 12:12:01 R&[d]: mount: mounting none on ./sys failed: Invalid argument 2020-07-14 12:12:03 R&[d]: ~ # ls ./|grep sys 2020-07-14 12:12:04 R&[d]: sys 2020-07-14 12:14:37 R&[d]: ~ # mount -t sysfs none ./sys 2020-07-14 12:14:37 R&[d]: mount: mounting none on ./sys failed: Invalid argument 2020-07-14 12:14:39 R&[d]: ~ # ls ./|grep sys 2020-07-14 12:14:40 R&[d]: sys 2020-07-14 12:14:41 R&[d]: https://cdn.discordapp.com/attachments/661834182934265883/732570746005618788/image0.png 2020-07-14 12:17:16 from `man sysfs`: 'mount -t sysfs sysfs /sys 2020-07-14 12:17:17 ' 2020-07-14 12:40:48 R&[d]: RtFm, said ikke. 2020-07-14 12:40:49 R&[d]: https://cdn.discordapp.com/attachments/661834182934265883/732577334791766026/image0.png 2020-07-14 12:41:34 R& Hey, I'm trying to help you 2020-07-14 12:41:41 but I will stop as you are not appreciating it 2020-07-14 12:42:44 R&[d]: RtFm, said ikke. 2020-07-14 12:42:45 R&[d]: ~ # mount -t sysfs sysfs /sys 2020-07-14 12:42:46 R&[d]: mount: mounting sysfs on /sys failed: Invalid argument 2020-07-14 12:42:47 R&[d]: https://cdn.discordapp.com/attachments/661834182934265883/732577334791766026/image0.png 2020-07-14 12:45:43 R&[d]: Your augmentation of the command from ./sys to /sys produces identical commands, and yet I’m the one being shown the manual. Don’t doubt that I was fully ready to cast doubt on all my own intelligence. 2020-07-14 12:47:48 R&[d]: Your augmentation of the command from ./sys to /sys produces identical commands, and yet I’m the one being shown the manual. Don’t doubt that I was fully ready to cast doubt on all my own intelligence, considering that iggy had already swung a haymaker at it -which didn’t connect. 2020-07-14 15:01:29 is there a way to get pkg info on something that's not installed ? like homebrew for macos ? 2020-07-14 15:01:43 from terminal, that is 2020-07-14 15:01:49 ( apk ) 2020-07-14 15:02:24 apk info 2020-07-14 15:10:25 I tried that on a package i don't have installed, and it showed nothing 2020-07-14 15:10:43 apk info ufw, for example 2020-07-14 15:11:02 oh 🤦 2020-07-14 15:11:06 that's not the right name 2020-07-14 15:11:45 oh, it is the right name, it's only on edge 2020-07-14 15:14:40 Indeed 2020-07-14 17:25:45 I don't find resize2fs in e2fsprogs in alpine install live, is this normal? 2020-07-14 17:26:02 e2fsprogs-extra 2020-07-14 17:26:11 you rock maxice8 2020-07-14 18:10:22 malade_mental: a way to find the answer for questions like this I've been using is to go to pkgs.alpinelinux.org and searching contents to find the package it belongs to 2020-07-14 18:11:08 malade_mental:https://pkgs.alpinelinux.org/contents?file=resize2fs&path=&name=&branch=v3.12 2020-07-14 18:56:31 did the recent qt upgrade break qutebrowser's UI for anyone else? 2020-07-14 19:05:37 PureTryOut[m]: ^ 2020-07-14 19:09:17 Cogitri: are you good at ufw ? 2020-07-14 19:10:04 Good enough to start it and allow ssh and HTTPS apparently :D 2020-07-14 19:10:44 I don't use Qutebrowser so I wouldn't know. Break in what way? Does it not launch at all? Could you check the logs gjabell? 2020-07-14 19:13:36 it launches fine but the UI is a bit broken (status bar is too short, tabs titles don't show up at all) 2020-07-14 19:13:43 doesn't seem to be any issues in the logs 2020-07-14 19:14:03 I tried downgrading from 1.13.0 => 1.12.0 and it didn't fix it so I *think* it's a qt issue and not a qutebrowser issue 2020-07-14 19:15:32 Cogitri: looks like by default it disallows ssh but it allows me to do a curl request and get a response on some random port which is weird. I'm wanting to deny traffic from everywhere to all ports, then enable them for specific ones. I thought ufw deny in from 0.0.0.0/32 to 192.168.0.0/16 would work, but i can still run curl http://192.168.0.20:7878 2020-07-14 19:16:22 Hi, I'm looking for information on procmail in alpine 3.12. It looks like it was removed. Google didn't help me to find current information, could someone please point me to the removal info or is it an oversight? 2020-07-14 19:17:24 ufw default deny incoming There we go 2020-07-14 19:18:26 errr.... no, I can still curl 2020-07-14 19:18:27 wtf 2020-07-14 19:19:12 Maybe it needs a restart after that? 2020-07-14 19:20:37 guest68: 52d979af44a8cda5d06b478bde496b0b91d7670a 2020-07-14 19:20:47 yeah, maybe 2020-07-14 19:21:33 nope 2020-07-14 19:22:39 I'm thinknig it's because there's an established connection already 2020-07-14 19:22:44 because it was open in my browser 2020-07-14 19:23:12 because when I tried using: python3 -m http.server 8000, I couldn't connect to 8000 2020-07-14 19:27:38 Cogitri, awesome, thanks! 2020-07-14 19:37:18 uhhh 2020-07-14 19:38:06 Cogitri: I have another clue. I am running a docker service on 7878. If I stop the service on docker, use python3 -m http.server 7878, then the port is blocked. But then I stop that and restart the docker service, then the port is accessible again. 2020-07-14 19:38:15 Does docker have some magic powers that can override the firewall?? 2020-07-14 19:38:56 between stopping the python service which was inaccessible, and starting the docker service, I did nothing to the firewall 2020-07-14 19:39:10 I made sure the python service was accessble while the firewall was down 2020-07-14 19:40:16 I think docker sets iptables rules too, yes 2020-07-14 19:40:27 it does 2020-07-14 19:41:49 ahh. mystery solved 2020-07-14 19:43:14 so iptables and ufw have access to the same .. erh, stuff ? 2020-07-14 19:43:52 ufw uses iptables 2020-07-14 19:44:14 it's a front-end for iptables 2020-07-14 19:44:21 "On Linux, Docker manipulates iptables rules to provide network isolation" -- https://docs.docker.com/network/iptables/ 2020-07-14 19:44:22 confirmed 2020-07-14 19:45:04 note that it should only set rules for forwarding / nat 2020-07-14 19:45:27 given that I can access it from another host, I'd say it does more 2020-07-14 19:46:08 "It is possible to set the iptables key to false in the Docker engine’s configuration file at /etc/docker/daemon.json" 2020-07-14 19:46:11 I shall try and see 2020-07-14 19:50:00 well, lunch is over. it will have to wait 2020-07-14 20:23:42 hi, I got wrong version /etc/os-release - did I had a failure on upgrade? 2020-07-14 20:24:14 root@alpine:/# egrep ^[^#]+[0-9]\. /etc/issue /etc/alpine-release /etc/os-release /etc/apk/repositories 2020-07-14 20:24:16 /etc/issue:Welcome to Alpine Linux 3.12 2020-07-14 20:24:18 /etc/alpine-release:3.11.0 2020-07-14 20:24:20 /etc/os-release:VERSION_ID=3.11.0 2020-07-14 20:24:22 /etc/os-release:PRETTY_NAME="Alpine Linux v3.11" 2020-07-14 20:24:24 /etc/apk/repositories:http://dl-cdn.alpinelinux.org/alpine/v3.12/main 2020-07-14 20:25:02 I had version 3.11 and made a "apk upgrade --awailable" 2020-07-14 20:26:48 what does apk version alpine-base return? 2020-07-14 20:29:40 alpine-base-3.12.0-r0 = 3.12.0-r0 2020-07-14 20:30:18 does /etc/alpine-release.apk-new exist? 2020-07-14 20:30:23 OK, seems like some packages just missing an update (like /etc/os-release and /etc/alpine-release) 2020-07-14 20:30:42 well, it's alpine-base that contains those files 2020-07-14 20:31:16 root@alpine:/# cat /etc/alpine-release.apk-new 2020-07-14 20:31:17 3.12.0 2020-07-14 20:31:25 rgith 2020-07-14 20:31:33 so you probably touched those files 2020-07-14 20:31:37 so apk didn't overwrite them 2020-07-14 20:31:52 Run update-conf to merge them 2020-07-14 20:31:57 didnt touch anything 2020-07-14 20:33:05 update-conf just say I changed /etc/hostname (yes I did) 2020-07-14 20:42:05 ah, now I got it. I should just figure out update-conf is working. Everything is fine now. 2020-07-14 20:42:47 Thanks! 2020-07-14 20:44:34 yw 2020-07-15 08:00:22 Good morning... 2020-07-15 08:01:54 Tonight one of my Alpine 3.12 based routers had a 'network hiccup' - and this seems to have caused it: e1000e 0000:01:00.1 eth6: Reset adapter unexpectedly 2020-07-15 08:02:36 Now this interface is a part of a bond interface and 4 hours later, the other interface in that bond (also e1000e) did the same... 2020-07-15 08:04:47 I've looked up several possible causes and workarounds, and one of them was to disable 'pcie_aspm' (kernel boot parameter pcie_aspm=off) - however, the 'dmesg' output on my router doesn't mention ASPM anywhere (unlike the examples I've found) - does Alpine kernel 5.4.43-1-lts perhaps has this off by deafult? 2020-07-15 08:09:22 danci1973: zgrep ASPM /proc/config.gz 2020-07-15 08:10:19 There is no /proc/config.gz ... 2020-07-15 08:10:45 Hmm.. 2020-07-15 08:11:02 This is a USB / ramdisk install, maybe that's why? 2020-07-15 08:16:33 modprobe configs 2020-07-15 08:31:40 Thanks, didn't think that would be a loadable module. :) 2020-07-15 08:32:24 Seems like ASPM is enabled by default (CONFIG_PCIEASPM=y CONFIG_PCIEASPM_DEFAULT=y). 2020-07-15 11:38:17 did your dmesg overflow 2020-07-15 12:07:10 Does apk list -t only show triggers of installed packages? 2020-07-15 12:11:32 probably 2020-07-15 12:26:43 dustfinger: you mean 'apk info -t', not list 2020-07-15 12:27:50 'apk info -t pkgname' 2020-07-15 12:41:31 Yes, that is what I meant. Sorry. I was curious because I created a list of all installed packages in one file and a list of all packages not installed in another. I grepped the trigger URI from both sets and found that the set of all not installed packages did not yield any triggers. So I concluded that either I have all the packages with triggers installed, or apk info -t does not show triggers for packages that are not installed. 2020-07-15 12:41:41 I was wondering which was the case. 2020-07-15 12:46:28 hm, maybe: apk info -t `apk info` 2020-07-15 12:52:23 Actually, I made a mistake when I ran that command pipe. I am going to fix and try again. I don't think my list of not installed packages was complete. 2020-07-15 13:13:10 Yah, for the set of all trigger URIs, I have a package that contains a trigger that references each of those URIs. https://termbin.com/6dy4. There actually only 21 URIs being watched by triggers, so it is not that astounding. I was just surprised that there was not some others. I was trying to determine if there existed a package with a trigger for a specific URI, so I wanted to look at all the ones that I did not already have 2020-07-15 13:13:10 installed. 2020-07-15 17:12:28 which packages are included in the "Extended" install over the "Standard"? 2020-07-15 17:12:39 I can't seem to find that information on either the website or the wiki 2020-07-15 17:20:04 https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/scripts/mkimg.standard.sh#L33 2020-07-15 19:20:51 is nheko's package broken for anyone else? 2020-07-15 19:21:51 broken in what sense? 2020-07-15 19:22:18 seems to be missing a shared library (libmatrix_client.so.0.3.0) 2020-07-15 19:22:30 although nothing seems to provide that, which is odd 2020-07-15 19:22:55 Maybe a package that got removed? 2020-07-15 19:23:48 hmm could be 2020-07-15 19:23:53 mtxclient-0.3.1 2020-07-15 19:24:06 apk search so:libmatrix_clien 2020-07-15 19:24:15 ah, :) 2020-07-15 19:24:37 ahh, it got bumped to 0.3.1 2020-07-15 19:24:41 that'd explain it haha 2020-07-15 19:25:06 does nheko just need a rebuild then? 2020-07-15 19:25:08 packages in testing do not always get bumped 2020-07-15 19:25:12 yes, probably 2020-07-15 19:25:13 doubt it 2020-07-15 19:25:24 mtxclient was updated on Jun 17 2020-07-15 19:25:24 doubt what? 2020-07-15 19:25:49 nheko April 25th 2020-07-15 19:25:58 huh 2020-07-15 19:26:34 then yeah a build is needed again 2020-07-15 19:27:35 should I open an issue or can someone kick off a build 2020-07-15 19:27:42 Might also want to find out why their soname is .so.X.Y.Z and not .so.X 2020-07-15 19:28:25 would it make sense to call it mtxclient-libs btw? 2020-07-15 19:28:32 mtxclient sounds like it's an application 2020-07-15 19:31:51 iirc dalias made something with that or similar name, mail client with DANE check 2020-07-15 19:33:23 ah no, https://github.com/richfelker/mxclient 2020-07-15 20:03:47 Hi guys, does anyone know how to install a self-signed SSL certificate into Alpine Linux? 2020-07-15 20:05:46 Orcs53: probably dump it in /etc/ssl/certs 2020-07-15 20:06:02 depends on your application using TLS 2020-07-15 20:08:11 I will look into that 2020-07-16 06:59:17 @ikke it looks like nobody has taken a look at https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests?scope=all&utf8=%E2%9C%93&state=opened&search=%5D+community%2Fgo 2020-07-16 06:59:38 doesnt the both MR show up in https://gitlab.alpinelinux.org/alpine/aports/-/issues/11743 ? 2020-07-16 09:31:00 hello, how long does it usually takes to be package rebuilt and available for download after new commit in aports git? 2020-07-16 09:31:57 15-30 minutes till it appears on mirrors 2020-07-16 09:32:26 but depends how big is build queue 2020-07-16 09:33:29 can take hours sometimes 2020-07-16 09:35:44 Hmm I see. There is new commit for sasl2 since yesterday. New version is availabel for armv7 for example (https://pkgs.alpinelinux.org/package/edge/main/armv7/cyrus-sasl) but aarch64 has still old version (https://pkgs.alpinelinux.org/package/edge/main/aarch64/cyrus-sasl) 2020-07-16 09:38:11 It is more than 24 hours since commit 2020-07-16 09:38:28 these builders are 'out-of-luck' now 2020-07-16 09:38:45 Ok, thanks for answer 2020-07-16 09:39:02 currently rearrangement is in progress 2020-07-16 09:39:37 aarch64 builder is hanging now though 2020-07-16 11:43:52 Just discovered Alpine Linux, I think it could be good for our servers to replace CentOS .. I am automating the building of install images 2020-07-16 11:44:04 Is there a way to enable network/SSH on boot of the install ISO? 2020-07-16 12:11:19 setup-sshd should do that 2020-07-16 12:12:49 And setup-interfaces for networking. 2020-07-16 12:13:45 Not sure how scriptable they are though 2020-07-16 12:14:11 And those look like interactive commands 2020-07-16 12:24:30 https://git.alpinelinux.org/alpine-conf/tree/setup-sshd.in 2020-07-16 12:25:48 Alternatively you can make a custom install image by editing mkimage: https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/scripts/mkimage.sh 2020-07-16 12:26:11 You would create a custom profile 2020-07-16 12:34:02 Is mkimage.sh part of the scripts to build the distribution .iso ? 2020-07-16 12:39:13 The packer example at https://wiki.alpinelinux.org/wiki/Packer_installation recommends to manually set up the interface 2020-07-16 12:39:22 Which I have now got working 2020-07-16 12:39:55 I am left with a final problem which is how to do ACPI shutdown of the 'host' ? The "halt" command just stops but doesn't switch off 2020-07-16 12:41:16 There should be a poweroff command I think 2020-07-16 12:41:23 aha 2020-07-16 12:41:26 That could be it 2020-07-16 12:41:28 Thanks 2020-07-16 14:34:33 aarch64 build is ready, thanks! 2020-07-16 14:35:11 sonicpp: np 2020-07-16 15:40:55 ACTION has installed alpine 2020-07-16 15:40:57 https://www.youtube.com/watch?v=o6F6u5TIUbI 2020-07-16 16:01:55 root@nami /mnt# mount -t nfs luffy:/titan /mnt/titan 2020-07-16 16:01:57 mount.nfs: rpc.statd is not running but is required for remote locking 2020-07-16 16:01:59 mount.nfs: Either use '-o nolock' to keep locks local, or start statd. 2020-07-16 16:02:01 mount.nfs: Protocol not supported 2020-07-16 16:02:03 sorry for spam 2020-07-16 16:02:08 any idea how to deal with this ? 2020-07-16 16:02:21 I can't find statd in any package 2020-07-16 16:02:42 I am only just getting to grips with Alpine distribution, but usually this is 'rpcbind' service 2020-07-16 16:02:54 thank you radiomark :) 2020-07-16 16:03:09 it's already installed 2020-07-16 16:03:25 apk search cmd:rpc.statd 2020-07-16 16:03:46 nfs-utils pkg 2020-07-16 16:04:03 service rpc.statd start 2020-07-16 16:04:04 there we go 2020-07-16 16:04:18 apk search cmd! 2020-07-16 16:04:29 that's a nice one either way 2020-07-16 16:10:16 hey, does anyone know if I can specify an existing apkovl instead of using the genapkovl scripts when using the aports mkimage scripts? 2020-07-16 16:51:25 hi, gnome-session shows this error: Failed to create proxy for timedated 2020-07-16 16:51:34 then it exit 2020-07-16 16:53:54 (on WSL) 2020-07-16 16:54:13 yes :) 2020-07-16 16:55:29 it is a common thing, happened with other distros i tried 2020-07-16 17:02:10 I have seen gnome-session can use a lot of systemd related stuff (timedated is in systemd). I need some option to pass to gnome-session , so that it is not dependent on systemd related stuff 2020-07-16 17:04:13 I started service dbus and udev as root, then as user I started gnome-session 2020-07-16 17:16:02 xfce works perfectly on wsl, the problem with all the distros i tried is the dependence of gnome on systemd stuff . Now gnome in Alpine works without systemd , so systemd is not necessary for gnome. But when i start it typing: gnome-session, it use a 'systemd mode', searching for systemd stuff. mode 2020-07-16 17:16:55 searching for systemd stuff 2020-07-16 17:17:59 I should start gnome with gdm, i have read that in the documentation. But gdm doesn't work in WSL 2020-07-16 17:18:29 alpine is not best choice for these systemd 'oriented' software 2020-07-16 17:19:12 but gnome works in alpine without WSL ? 2020-07-16 17:19:35 I think it works, though never tried 2020-07-16 17:20:30 (don't see reason to use small and simple distro to run bloat on it) 2020-07-16 17:31:35 If it works gdm should automagically pass the right options to gnome-session. There are other distros, as Devuan (which I haven't tried) that have not systemd and have gnome. Tried alpine WSL today, very easy to get started, very simple and clean. Has not systemd and this is a bonus for me. apk is the fastest and cleanest package manager i 2020-07-16 17:31:36 tried, similar to pacman but better. I love also abuild 2020-07-16 17:34:09 nice to hear :) 2020-07-16 17:34:59 is the fellow I was chatting with about KVM/libvirtd in here? 2020-07-16 17:35:31 Anyways status update: it's been stable for the last week or so but I don;t want to get my hopes up. Gotta do some more testing 2020-07-16 17:41:47 if i want try gnome, and then remove gnome is simple as typing apk add gnome, apk del gnome. Install and removes all the packages in 5 minutes! The only problem, related to WSL is that i can't use gdm to start gnome, and i don't know the right options gdm use to start gnome-session without searching for systemd. So i can't start it, as with other 2020-07-16 17:41:47 WSL distros 2020-07-16 17:43:04 gnome-session has a --session option, don't know what gdm uses 2020-07-16 17:45:09 Dunno if it will help in this particular case, but Arch's documentation is usually really great, section on manual starting gnome: https://wiki.archlinux.org/index.php/GNOME#Manually 2020-07-16 17:55:38 the problem with arch, which is a nice distro, is that is has systemd (the documentation reflects that). So even with these exports gnome rely on systemd and doesn't start. The alpine way should be to start it with gdm, which passes the right options. If gnome works with Alpine, it should not depend on systemd and this is a very valuable fact, 2020-07-16 17:55:39 that is important even for the other distro How can i find the options gdm uses ? 2020-07-16 18:31:58 Anyone has tried gnome in Alpine? It works ? 2020-07-16 18:32:43 Guest69: I'm running Gnome 3 on my Pinebook Pro (Postmarket OS) 2020-07-16 18:33:39 You start it with gdm? 2020-07-16 18:34:01 I think so though I'm not sure lol 2020-07-16 18:34:51 I downloaded an image and it was all set up 2020-07-16 18:38:02 How is this Alpine related ? 2020-07-16 18:39:35 Ah... postmarket OS is Alpine for phones! 2020-07-16 18:39:43 Interesting! 2020-07-16 18:47:05 I'm using GNOME on all of my setups with Alpine and it works for me (but I'm the maintainer, so it'd be weird if it didn't work for me :) 2020-07-16 18:52:19 is anyone super familiar with the mkimage script in aports? 2020-07-16 18:53:14 wow, so i may help me. How can i start gnome via command line and not using gdm? 2020-07-16 18:53:56 you may help me 2020-07-16 18:54:20 https://wiki.archlinux.org/index.php/GNOME#Manually this should work I think, but I only ever used GDM 2020-07-16 18:55:56 how can i find the options gdm use in Alpine to start gnome? I think it is different from arch, which is systemd based 2020-07-16 18:56:27 Sorry? 2020-07-16 18:58:15 arch uses systemd, alpine doesn't use systemd , I tried starting gnome with this guide and doesn't work 2020-07-16 18:59:16 The manually section of that wiki article should be the same for both Arch and Alpine 2020-07-16 18:59:22 tried gnome-session --builtin 2020-07-16 19:00:12 error in gnome initial setup 2020-07-16 19:00:33 Failed to create proxy for timedated 2020-07-16 19:04:47 Hm, did you install the gnome package or just gnome-shell? 2020-07-16 19:05:03 installed gnome 2020-07-16 19:05:08 The GNOME package has a dep on openrc-settingsd and that should provide that interface 2020-07-16 19:13:12 when i installed gnome didn't installed that dependency. It it is necessary maybe should be included. It shows same error 2020-07-16 19:14:11 Well, it gets installed with the gnome metapackage 2020-07-16 19:14:37 are you sure? 2020-07-16 19:14:54 are you sure? 2020-07-16 19:14:55 And shouldn't be necessary for running, it might be a warning but certainly isn't fatal 2020-07-16 19:15:24 ok, i didn't have that 2020-07-16 19:17:00 anyway, i installed it, exported the variables as says the arch wiki, then gnome-session 2020-07-16 19:17:50 the error is the same 2020-07-16 19:19:22 can i disabela gnome-initial-setup? 2020-07-16 19:19:32 can i disable gnome-initial-setup? 2020-07-16 19:22:42 I think there was some kernel parameter to disable it 2020-07-16 19:38:06 ah, ok, I can't try that for now. Tried Alpine on WSL, I have to partition and install the real thing. First impression is that it is very amazing. Simple and clean. Thank you ! . 2020-07-16 21:12:59 Should I be using syslinux for VM hosts if I am aiming for simplicity? Or is it just really for the installer 2020-07-16 21:18:15 radiomark: whatever works and what you prefer 2020-07-16 21:21:54 GRUB just feels a bit unweildy 2020-07-16 21:24:12 Thought I'd give it a go as I don't need menus or other kernels in a VM environment 2020-07-16 21:29:10 i need `festival` but can't find it under `apk`, any ideas? 2020-07-16 21:59:10 Great, I'm booted. Is there any way to disable the setting of the console mode? I just want to continue with the old-school BIOS console mode 2020-07-16 21:59:21 Tried "vga=none" doesn't seem to have an effect 2020-07-16 22:08:36 tartar: build it 2020-07-16 22:09:13 radiomark: you mean the consolefont? not sure what you mean by "old-school BIOS console mode" 2020-07-16 22:09:48 No, not the font. During bootup, syslinux doesn't set the mode, it follows the bios. Half way through boot, the kernel or similar switches screen mode 2020-07-16 22:09:57 (this is with the console btw., no X) 2020-07-16 22:12:10 radiomark: I think I know what you're talking about. This happens to me when the gfx card driver loads. You could find the module that's doing it and blacklist it. If that works, there is probably an option to do what you want 2020-07-16 22:12:33 radiomark: nomodeset on the kernel cmdline? 2020-07-16 22:12:49 or modeset..I forget which one switches on BIOS control of VGA 2020-07-16 22:12:54 radiomark: in my case it's the nouveau module 2020-07-16 22:13:06 I think you're right, it's actually later in /etc/modprobe.d/kms.conf 2020-07-16 22:13:17 I don't actually want this; can I trace which package installed that file? 2020-07-16 22:14:03 Looks like 'nomodest' also achieves it 2020-07-16 22:14:11 *nomodeset 2020-07-16 22:17:20 try it and see 2020-07-16 22:17:31 Yes, that's what I mean -- nomodeset works 2020-07-16 22:26:22 Thanks 2020-07-16 22:45:32 c705 as if it was this simple. there's no gmake. 2020-07-16 22:46:33 tartar: yes there is 2020-07-16 22:46:34 https://pkgs.alpinelinux.org/package/edge/main/x86/make 2020-07-16 22:47:55 apk add make && gmake: -ash: gmake: not found 2020-07-16 22:48:27 i give up. idk why i even bothered with alpine. 2020-07-16 22:48:43 see ya 2020-07-16 22:49:26 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=956431 2020-07-16 22:49:37 I installed grub-imageboot and put the iso under /boot/images/ then did update-grub 2020-07-16 22:49:37 It shows up in the grub menu but doesn't boot; any ideas? 2020-07-17 01:48:46 trying to mount my zfs created drive on macos but I get this: https://i.postimg.cc/SsB1DBt9/Screen-Shot-2020-07-16-at-18-47-15.png anyone know how to correctly get one to mount on both macos as well as linux ? 2020-07-17 02:20:27 it seems pretty self explanatory 2020-07-17 02:21:32 and what's your wise answer ? 2020-07-17 02:22:04 would I ask if I knew ? 2020-07-17 02:23:29 I can try to make it without the attributes, but there it looks like it should work to at least mount read-only 2020-07-17 02:23:36 note the input/output error however 2020-07-17 05:32:05 eyda|mon: The ZFS version you created the pool with is too new 2020-07-17 05:32:32 You have to create it on the host that has the lowest version (so supports the least features) 2020-07-17 05:32:55 And make sure you don't upgrade the pool on any host but the oldest host, otherwise you'll be in the same situation again 2020-07-17 12:26:56 regarding the i/o error you should ask the zfs on mac people 2020-07-17 13:22:59 ahoy 2020-07-17 13:24:44 👋 2020-07-17 13:27:48 I haven't used irc for a looong time :> 2020-07-17 13:59:07 Has anyone managed to build glibc-2.31 on alpine ? 2020-07-17 13:59:13 I have a system running Alpine 3.12 that has 3 interfaces: wan, lan0, and lan1. I wish to bridge lan0 and lan1 into br0, and give br0 an address from DHCP. However, both lan0 and lan0 still give themselves addresses that I cannot seem to remove, and I can't seem to give br0 a DHCP address (so I can't use it to connect to the network unless I set it 2020-07-17 13:59:13 statically). Any ideas for this? See: https://www.reddit.com/r/linuxquestions/comments/hsg8dd/bridged_networking_on_alpine_linux/ for more details 2020-07-17 14:48:38 running: `dd if=/dev/random of=data1.bin bs=1M count=10` is there a reason this takes forever ? I tried with both zfs encrypted and ext4 2020-07-17 14:49:39 JonasRC: hello, welcome 2020-07-17 14:49:56 Thank you 2020-07-17 14:49:58 eyda|mon: lack of entropy 2020-07-17 14:50:40 JonasRC: oneinsect is working on a glibc port of alpine 2020-07-17 14:50:47 sorry 2020-07-17 14:50:55 cool :) 2020-07-17 14:50:58 That was meant for Guest83 2020-07-17 14:51:01 oh no 2020-07-17 14:51:04 still you :P 2020-07-17 14:51:10 hahaha :) 2020-07-17 14:51:20 eyda|mon, use urandom and/or install "haveged" and start it as a service 2020-07-17 14:51:28 MY-R:thank you 2020-07-17 14:52:49 dd for linux doesn't output how fast it wrote ? 2020-07-17 14:53:05 not by default 2020-07-17 14:53:19 not busybox one 2020-07-17 14:53:24 you may use pv (pipe viewer) 2020-07-17 14:54:13 dd from coreutils got something like "status=progress" 2020-07-17 14:54:44 thank you both 2020-07-17 14:55:30 I need to do some benchamrking because the performance i"m seeing isn't what I'm expecting 2020-07-17 14:55:46 trying to figure out if it's a case of encrypted zfs or if this machine is old and crappy 2020-07-17 14:56:25 so want to figure out a nice standard test I can run on the same machine under both circumstances 2020-07-17 14:56:37 geli + zfs vs encrypted zfs 2020-07-17 14:56:48 Don't forget that linux can cache things 2020-07-17 14:56:56 (geli is freebsd version of luks) 2020-07-17 14:57:07 well, it's equivalent, not version 2020-07-17 14:57:24 ikke: how can I account for that ? 2020-07-17 14:58:30 coreutils dd has oflag=direct 2020-07-17 14:58:39 I believe that should skip any caching 2020-07-17 14:59:11 yes, I use it to measure raw speed of block devices 2020-07-17 15:00:21 ikke: sweet thank you 2020-07-17 15:06:24 hm, so it's 3x speed on linux with encrypted zfs using dd and urandom 2020-07-17 15:23:14 JonasRC: the port is fairly complete just waiting for one more final build before putting everything out in open 2020-07-17 15:23:21 may be 10 more days 2020-07-17 15:23:37 thanks ikke: for remembering me 2020-07-17 15:24:24 Ofcourse :-) 2020-07-17 15:24:44 Awesome! :) 2020-07-17 15:24:54 Any issues ? 2020-07-17 15:25:09 I tried building it but i got some errors. 2020-07-17 15:25:58 lol i have been building since like eternity, the main problem is with glibc itself 2020-07-17 15:26:29 each iteration they bring something new like recently they are phasing out libcrypt so i was forced to use libxcrypt 2020-07-17 15:26:49 hei 2020-07-17 15:27:26 so much more better with musl 2020-07-17 15:27:35 w00t mame in alpine 2020-07-17 15:27:39 but then glibc is needed till musl takes over the world 2020-07-17 15:27:46 is anybody familiar with tyrian game? 2020-07-17 15:27:55 no 2020-07-17 15:27:59 what is that game 2020-07-17 15:28:06 do you want to package it for alpine? 2020-07-17 15:28:22 oneinsect: those are some ambitious goals for an insect 2020-07-17 15:28:28 yes 2020-07-17 15:28:34 damn bugs everywhere 2020-07-17 15:28:44 oneinsect: it's a fairly standarnd game in any distro 2020-07-17 15:28:49 lol 2020-07-17 15:29:36 oneinsect: one interesting thing about comparing musl and glibc is the mentality of each project. 2020-07-17 15:29:53 1995 game from Epic (my previous employeer) 2020-07-17 15:30:02 yes indeed 2020-07-17 15:31:15 i may port railroad typcoon one day to alpine 2020-07-17 15:31:32 tycoon* 2020-07-17 15:31:45 any fans here? 2020-07-17 15:32:08 The Railroad_Tycoon_(series)? 2020-07-17 15:34:54 me! 2020-07-17 15:34:57 haha 2020-07-17 15:35:01 :-P 2020-07-17 15:42:22 not in alpine either, another standard game in distros 2020-07-17 15:42:41 hmmmm 2020-07-17 15:43:17 oneinsect: if gaming isn't sorted out on alpine it will never take over the world 2020-07-17 15:43:40 it will be sorted this August 2020-07-17 15:44:05 i will work on it once glibc port is complete 2020-07-17 15:44:15 what's special about august? 2020-07-17 15:44:56 lol...i will get time thats all 2020-07-17 15:45:25 I see 2020-07-17 15:45:38 wishlist: dolphin, gngeo, psx2, desmume 2020-07-17 15:46:00 I use alpine for containers :) 2020-07-17 15:46:04 will be granted 2020-07-17 15:46:50 emulators are extremely important as they benchmark any lib C implementation. 2020-07-17 15:46:53 what's involved in the glibc port? 2020-07-17 15:47:19 does the whole package repository need to be rebuilt? 2020-07-17 15:47:25 yes it has to be 2020-07-17 15:47:33 there more than 10,000 packages 2020-07-17 15:47:38 is this going to be a hard fork of alpine? 2020-07-17 15:48:07 or will there be Alpine Classic(tm) and Alpine Glibc(tm) 2020-07-17 15:48:16 uh? 2020-07-17 15:48:24 are you kidding me? 2020-07-17 15:48:27 abuild, apk-tools etc will remain same but the APKBUILDS of packages will need modification 2020-07-17 15:48:46 as most have patches which needs to be removed and new ones added 2020-07-17 15:48:57 oneinsect: wait, did you mean glibc port as porting alpine to glibc on not the other way around? 2020-07-17 15:49:37 oneinsect: will the APKBUILDs be shared between alpine musl and alpine glibc? 2020-07-17 15:49:40 i am build a fresh alpine os from scratch where every package is build against glibc 2020-07-17 15:49:43 pure glibc only 2020-07-17 15:49:46 no musl at all 2020-07-17 15:49:51 building* 2020-07-17 15:49:53 lol 2020-07-17 15:50:02 oneinsect: what's the motivation? 2020-07-17 15:50:11 oneinsect: you might as well add systemd 2020-07-17 15:50:19 noooo 2020-07-17 15:50:23 neverrrrr 2020-07-17 15:50:31 i hate systemd 2020-07-17 15:50:39 i needed it for a project of mine 2020-07-17 15:50:41 oneinsect: you want to infect alpine? 2020-07-17 15:50:45 deep learning project 2020-07-17 15:50:58 no there is an unofficial port 2020-07-17 15:51:01 oohh.. got it 2020-07-17 15:51:02 nothing to do with Alpine 2020-07-17 15:51:07 this is an* 2020-07-17 15:51:09 pet project 2020-07-17 15:51:15 exactly!!! 2020-07-17 15:51:44 oneinsect: but, wouldn't it be more interesting port something like linuxmint, devuan, opensuse to musl? 2020-07-17 15:52:07 rah: APKBUILDS will not be probably shared, i mean they are not compiling as is 2020-07-17 15:52:44 they have 1000s of packages 2020-07-17 15:53:03 the human effort needed is enormous 2020-07-17 15:53:33 besides companies NVIDIA etc are never supporting musl 2020-07-17 15:53:42 I wish they could have 2020-07-17 15:53:52 but this is only temporary 2020-07-17 15:54:15 oneinsect: have musl devs approached these companies for some sort of support? 2020-07-17 15:54:38 I believe they do now and then 2020-07-17 15:54:42 the motivation isnt there 2020-07-17 15:54:51 by companies like NVIDIA 2020-07-17 15:54:56 so this is a hard fork of alpine which, for now, uses the same tools as alpine and has a package repository which is a hard fork of alpine's package repository 2020-07-17 15:55:34 yes correct 2020-07-17 15:55:42 good luck 2020-07-17 15:56:07 ha ha ha 2020-07-17 15:56:13 the tools are same and they will be in sync but only packages will be rebuilt 2020-07-17 15:56:20 lol 2020-07-17 15:56:25 thanks 2020-07-17 15:56:27 oneinsect: such a waste of a wonderfull August 2020-07-17 15:56:42 indeed 2020-07-17 15:56:44 :P 2020-07-17 15:57:11 Haha :) 2020-07-17 15:57:30 oneinsect: just out of curiosity, what kind of code compiles on glibc but doesn't compile on musl? 2020-07-17 15:57:38 for example M4 2020-07-17 15:57:46 requires a patch to compile on glibc 2020-07-17 15:57:55 and gcc 10.1 2020-07-17 15:57:58 O_o 2020-07-17 15:58:09 M4 as in the macro processor used by autoconf et al? 2020-07-17 15:58:13 yes 2020-07-17 15:58:33 requires a patch to compile on glibc or requires a patch to compile on musl? 2020-07-17 15:58:48 requires a patch to compile on glibc 2020-07-17 15:58:53 with musl its fine 2020-07-17 15:58:56 m4-1.4.18-glibc-change-work-around.patch 2020-07-17 15:59:00 google that 2020-07-17 15:59:26 update for glibc libio.h removal in 2.28+ 2020-07-17 15:59:31 I take it M4 isn't a GNU program then 2020-07-17 15:59:33 I need glibc to run factorio server 2020-07-17 15:59:39 musl is perfectly fine 2020-07-17 16:00:00 JonasRC: You can also look into something like flatpack 2020-07-17 16:00:04 you shall soon have it 2020-07-17 16:00:14 yes flatpack is a very good alternative 2020-07-17 16:00:28 flatpack? 2020-07-17 16:00:31 M4 is a GNU 2020-07-17 16:00:43 flatpak I mean 2020-07-17 16:00:48 https://www.flatpak.org/ 2020-07-17 16:01:09 rah: code that use Glibc-isms 2020-07-17 16:01:15 flatpak is amazing :D 2020-07-17 16:01:41 maxice8: REALLY?!!!111 2020-07-17 16:01:52 yes 2020-07-17 16:02:15 odd that a GNU program doesn't compile with glibc 2020-07-17 16:02:44 presumably that's temporary until the next release 2020-07-17 16:03:44 oneinsect: gcc 10 was only released recently, how come that can't compile on glibc? 2020-07-17 16:04:00 some issues rah: 2020-07-17 16:04:09 there have some changes in gcc 10 2020-07-17 16:04:25 let me give you an example 2020-07-17 16:06:46 please do 2020-07-17 16:07:02 (while I wait for my "apk add xonotic extremetuxracer quakespasm supertuxkart" to download everything) 2020-07-17 16:09:15 take gdbm package as an example i am forced to e will need to inject -fcommon into CFLAGS via /etc/abuild.conf before compiling in gcc 10.1 2020-07-17 16:09:31 forced to inject* 2020-07-17 16:10:00 oneinsect: LOLOLLO 2020-07-17 16:10:01 https://bugs.gentoo.org/705898 2020-07-17 16:10:08 gdbm-1.18.1-gcc-10.patch 2020-07-17 16:10:19 so the mess is way bigger 2020-07-17 16:10:20 that got absolutely nothing to do with glibc 2020-07-17 16:10:38 i mean not with glibc ofcourse M4 had an issue with glibc 2020-07-17 16:10:43 just giving an example 2020-07-17 16:10:51 there are issues with both glibc and gcc 10.1 2020-07-17 16:11:15 oneinsect: fcommon is a non issue and not musl/glibc dependent 2020-07-17 16:12:05 oneinsect: read this --> https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common 2020-07-17 16:12:39 I don't code, but from what I understand is about having duplicate headers on your project 2020-07-17 16:12:54 but it compiles fine on gcc 9.3 2020-07-17 16:13:20 oneinsect: add -fnocommon with gcc, same error 2020-07-17 16:13:21 they flipped the default in 10.1 2020-07-17 16:13:28 yes indeed 2020-07-17 16:14:12 but i have complaints with gcc 10.1 2020-07-17 16:14:12 oneinsect: that's a problem in compiling other programs with gcc 10, not a problem with gcc 10 itself 2020-07-17 16:14:22 have NO* 2020-07-17 16:14:24 the gdbm issue 2020-07-17 16:14:39 there are other issues i documented 2020-07-17 16:15:00 its glibc which is messy 2020-07-17 16:15:05 gcc 10.1 is fine 2020-07-17 16:15:13 i mean not as clean as musl 2020-07-17 16:15:29 troll!! 2020-07-17 16:15:35 hence i cannot directly use the same APKBUILDs 2020-07-17 16:15:38 as musl 2020-07-17 16:15:40 troll alert!! 2020-07-17 16:16:30 lol did you mean me komnpomat: 2020-07-17 16:17:09 oneinsect -> troll -> (in folklore) an ugly creature depicted as either a giant or a dwarf. 2020-07-17 16:17:11 you're not making a lot of sense 2020-07-17 16:17:19 its okie 2020-07-17 16:17:32 may be i am not making writing clearly 2020-07-17 16:18:21 When did they mess up glibc? 2020-07-17 16:18:51 wait, there was a time when glibc wasn't a mess? :-) 2020-07-17 16:18:58 i honestly dont mind, didnt take it heart, all i am trying to do is just compile those packages against glibc and gcc 10.1 2020-07-17 16:19:05 thats all 2020-07-17 16:20:44 cool 2020-07-17 16:20:47 good luck 2020-07-17 16:21:23 may be problem is not the right word 2020-07-17 16:21:33 or messy or clean 2020-07-17 16:21:45 may be those are not right words to express the issues i am facing 2020-07-17 16:21:49 sorry for that 2020-07-17 16:23:11 I would suggest to be on the look out for opportunities to permit APKBUILDs to be shared 2020-07-17 16:23:31 i will upload them to github in a few days 2020-07-17 16:24:27 I will offer some unsolicited advice 2020-07-17 16:24:49 creating software is great, and sharing software on the Net is great too 2020-07-17 16:24:52 :D thank you! 2020-07-17 16:25:29 but much, much greater than creating and sharing software is creating software that can be maintained 2020-07-17 16:25:40 indeed 2020-07-17 16:25:45 100% agree 2020-07-17 16:26:31 in this instance, what that means is that creating a hard fork of alpine is great but changing alpine so that it can cope with either musl or glibc is orders of magnitude greater 2020-07-17 16:27:27 yes rightly put! 2020-07-17 18:18:27 I am attempting to bridge two of three network interfaces on my Alpine 3.12 system: br0 enslaves lan0 and lan1. I want lan0 and lan1 to have no address, and br0 to have an address from DHCP. Currently the config I have that matches the documentation on the topic gives lan0 and lan1 addresses from DHCP or APIPA, and br0 nothing (unless statically 2020-07-17 18:18:27 set). Any ideas? https://www.reddit.com/r/linuxquestions/comments/hsg8dd/bridged_networking_on_alpine_linux/ 2020-07-17 18:25:56 vpseg: lan0_net="null" in /etc/conf.d/net 2020-07-17 18:28:26 komnpomat, I still get an IP on lan0 after that entry 2020-07-17 18:31:22 webstrand: hi. were we chatting about libvirt last week? 2020-07-17 18:32:05 vpseg: getting two ips on two different nics via dhcp is not a trivial thing to do. why do you want dhcp on the inside? 2020-07-17 18:32:55 (normally, it should be a static IP on the inside and it -serves- dhcp to a subnet) 2020-07-17 18:33:03 nacelle, I am getting DHCP on lan0 and nor br0. I need DHCP to set the address for br0, NOT either lan interface. 2020-07-17 18:33:08 or a static IP and you have another DHCP server 2020-07-17 18:33:16 no, why are you setting br0 with it? 2020-07-17 18:33:38 i'm ignoring your lower level issue and focusing on the "what in the heck are you doing here?" thing 2020-07-17 18:33:48 My DHCP server is not running on this box 2020-07-17 18:33:55 ok? 2020-07-17 18:34:03 can you do a static on br0? 2020-07-17 18:34:48 I _can_ but I want DHCP for the bridge. This isn't and x y problem, I have this working on another distro but Alpine is being difficult 2020-07-17 18:34:56 ah ok 2020-07-17 18:39:40 and your box does what with two default routes? 2020-07-17 18:40:44 i suspect on the box that you have it working that you have two dhclient confs, one of them custom that ignores the gateway, but ... why are you here asking if you knew that? eh? 2020-07-17 18:48:29 i'm having libvirt stability issues. last night it worked, now it's not working again. nothing in the logs at all. if i strace virsh commands it hits the libvirtd socket and hangs. is anyone else having libvirtd issues? I want to blame either upstream or openrc for this, but i'm really not sure. 5.4.52-0-lts, thanks 2020-07-17 18:48:50 It's upstream 2020-07-17 18:48:55 I swear nothing changed between last night and now except packages in edge, haven't looked at the changelog yet 2020-07-17 18:48:58 Cogitri: for sure? 2020-07-17 18:49:09 https://gitlab.alpinelinux.org/alpine/aports/-/issues/11602#note_102715 2020-07-17 18:49:23 Cogitri: thank you so much, this has been driving me nuts for 2 weks or so now 2020-07-17 19:27:59 vpseg: try installing iproute2 2020-07-17 19:28:07 and I guess bridge-utils while you're at it 2020-07-17 19:38:04 br0_net="null" 2020-07-17 19:38:19 oh wait. 2020-07-17 19:38:33 br0_net="dhcpd" 2020-07-17 19:38:53 wat 2020-07-17 19:41:32 my bad, module_br0="udhcp" config_lan0="null" config_lan1="null" 2020-07-17 19:43:13 vpseg: are you still here? 2020-07-17 19:43:54 c705: hanging is a symptom of borked libs 2020-07-17 19:44:36 unable to initialize properly, since libvirt depends on so many things as long as one needed is borked will prolly hang 2020-07-17 19:44:53 c705: how to troubleshoot? convert your libvirt to command line 2020-07-17 19:45:18 komnpomat: I did, and already stated that strace shows the socket hanging 2020-07-17 19:45:52 i'm not debugging upstream, once I saw the bug on upstream, it's their problem to fix 2020-07-17 19:46:14 Will read more tonight, but now I have #52 on libvirt 2020-07-17 19:46:22 c705: sorry I didn't read above. 2020-07-17 19:46:53 now libvirtd and musl are fighting about it 2020-07-17 20:07:21 Q: if I run mkimage.sh from aports/scripts/mkimage.sh, am I compiling the kernel during that process? My guess is yes 2020-07-17 20:07:55 I would not expect so 2020-07-17 20:08:32 Hmm..OK 2020-07-17 20:08:48 One of these days, I'm gonna have to hack that script 2020-07-17 20:21:00 komnpomat Thank you, I'll check that 2020-07-17 20:39:57 vpseg: do you have docs installed? then check /usr/share/doc/netifrc 2020-07-17 20:40:32 Okay, thank you 2020-07-18 13:20:13 Hey guys, static build of ffmpeg (https://www.johnvansickle.com/ffmpeg/) can't seem to resolve dns addresses in alpine. Can anyone test this? 2020-07-18 13:21:17 Outputs "[tcp @ 0x6770240] Failed to resolve hostname bitdash-a.akamaihd.net: System error" 2020-07-18 13:23:04 seems to be linked with this error https://sourceware.org/bugzilla/show_bug.cgi?id=10652 2020-07-18 13:29:13 That's a bug report for glibc and not musl though? 2020-07-18 13:47:17 yeah, because it's a static build, so it does not link to musl. What I was wondering was why does this happen only on alpine 2020-07-18 13:52:29 I don't think static builds against glibc are truly static, so binaries might not function correctly if you don't use glibc in your host system 2020-07-18 13:59:02 Cogitri: you are right 2020-07-18 14:00:34 that is reason why devs build true static binaries with musl 2020-07-18 14:09:14 ugh that's a shame 2020-07-18 14:09:43 had to use debian docker image instead, and it's pita 2020-07-18 14:10:09 alpine simplifies things magically, you feel it when you use other distro images 2020-07-18 17:02:33 what's the equivalent in busybox of 'sort -h'?? 2020-07-18 17:02:46 there is no equivalent 2020-07-18 17:07:21 sooo 2020-07-18 17:07:25 what then? 2020-07-18 17:09:13 If you need it, install coreutils 2020-07-18 17:09:23 That contains the full sort program 2020-07-18 17:10:51 crazy 2020-07-18 18:16:23 So if I install alpine with zfs on root encrypted, it works fine. But if I add new HDDs, then it refuses to boot saying it can't fine the rpool for alpine. I can disconnect the drives for it to prompt for zfs password and boot as before. Any ideas how to fix this ? 2020-07-18 18:18:16 eydaimon: which tool do you use to create your intrd image? 2020-07-18 18:18:52 eydaimon: booting zfs with multiple pools works just fine, either extra zfs or non-zfs drive 2020-07-18 18:19:25 it does, but not when I add extra devices later 2020-07-18 18:19:26 https://wiki.alpinelinux.org/wiki/Alpine_Linux_with_root_on_ZFS_with_native_encryption 2020-07-18 18:19:29 I followed the instructions here 2020-07-18 18:26:17 komnpomat I suspect if I reinstall with those devices connected, I will not have that problem, but I would like to understand the issue incase I need to connect more devices later 2020-07-18 18:27:02 technically there shouldn't be 2020-07-18 18:27:23 I can reboot and show the exact error if that's helpful 2020-07-18 18:29:53 eydaimon: update zfs cache perhaps? 2020-07-18 18:30:22 eydaimon: either way zfs+encryption you need to rebuild your intitrd 2020-07-18 18:32:26 komnpomat why would I need to rebuild my initrd when it boots fine without the additional devices ? 2020-07-18 18:32:36 how does one update zfs cache ? 2020-07-18 18:33:01 https://www.dropbox.com/s/ak4du3dosnunmqv/2020-07-18%2011.30.14.jpg?dl=0 2020-07-18 18:33:04 that's the error 2020-07-18 18:33:20 eydaimon: the additional devices DO make changes in zfs 2020-07-18 18:33:40 so every time I add a new device, I need to rebuild my initrd ? 2020-07-18 18:33:43 eydaimon: zfs isn't easily hotpluggable 2020-07-18 18:34:33 eydaimon: wow that sucks, I will keep this in mind whenever I try encryption 2020-07-18 18:34:37 eh ? that's the point of zfs. that it's replacable on the fly. I can connect them while it's running after booting with them disconnected, and import them just fine. Am I misunderstanding ? 2020-07-18 18:34:54 zfs is very easily hotpluggable 2020-07-18 18:38:15 also, initrd isn't available on the /boot filesystem, it's available on root, which is encrypted zfs. So it doens't make sense to tamper with initrd 2020-07-18 18:38:37 it would be something on /boot that changes 2020-07-18 18:40:14 well, since no one knows i"ll just reinstal. not like it takes long 2020-07-18 18:43:21 actually, I'll wait a bit more to see if someone else knows Cogitri perhaps ? 2020-07-18 18:43:37 ikke is always resourceful too :) 2020-07-18 18:44:07 my knowledge around zfs is basically 0 :) 2020-07-18 18:44:46 😱 2020-07-18 18:45:16 any idea who would know this type of thing ? 2020-07-18 18:45:36 I had the same problem with my experimental machine, and reinstalling with the disk connected solved the issue 2020-07-18 18:46:51 eydaimon: that got to do with zfs cache 2020-07-18 18:47:17 eydaimon: or actually your kernel command line 2020-07-18 18:47:32 but again I am not familiar with the encrytion set up 2020-07-18 18:50:44 so how do I fix the zfs cache ? 2020-07-18 18:50:45 Ah? 2020-07-18 18:51:28 Cogitri I was going to reinstall to fix the issue, but I deicded to wait more because I want to understand the issue 2020-07-18 18:51:50 Cogitri do you have any idea ? 2020-07-18 18:51:59 Fix ZFS cache? 🤔 2020-07-18 18:52:14 You mean to import the pool? 2020-07-18 18:52:15 eydaimon: the thing is that I am not familiar with encryption so I don't know which kernel command line are needed 2020-07-18 18:52:22 Cogitri I added some HDD's with zfs on after rebooting, and it seems the loader gets confused. https://www.dropbox.com/s/ak4du3dosnunmqv/2020-07-18%2011.30.14.jpg?dl=0 2020-07-18 18:52:43 eydaimon: most likely the extra drives is upsetting some probing and throwing it out of order. 2020-07-18 18:52:52 komnpomat the reinstall on the experimental machine that works now doesn't show any extra commands tha tI can tell but I'm not sure where to look 2020-07-18 18:53:01 komnpomat that's what I think too, but I don't know how to fix 2020-07-18 18:53:30 You can import by disk id too, no need to use the cache 2020-07-18 18:53:41 eydaimon: there are various ways of setting zfs kernel command line, some more losely some more strict. 2020-07-18 18:56:04 Cogitri yeah, but it's confusing it on boot. I can't import during boot time 2020-07-18 18:56:16 Cogitri did you see the screenshot ? 2020-07-18 18:57:02 eydaimon: if you unplug the drive boots? 2020-07-18 18:57:25 komnpomat indeed 2020-07-18 18:58:07 " I can disconnect the drives for it to prompt for zfs password and boot as before." 2020-07-18 18:58:26 https://forums.freebsd.org/threads/gptzfsboot-error-128-after-adding-new-disks.65677/ 2020-07-18 18:59:33 "So after a lot of experimenting I figured out what the problem was. It looks like FreeBSD was probing all disks and was throwing the error when one of them didn't have a valid partition table. " This may be my issue. One of the disks is encrypted with FreeBSD's GELI 2020-07-18 19:01:30 nope. no good 2020-07-18 19:03:10 although it does work if I disconnect the drive that has zfs on only 2020-07-18 19:27:30 `exlinux --install /boot` also failed 2020-07-18 19:46:51 eydaimon: wipefs -a 2020-07-18 19:54:54 on what device ? the boot device or the other ZFS device ? 2020-07-18 19:55:58 wipefs: error: /dev/sda: probing initialization failed: Resource busy 2020-07-18 19:57:40 eydaimon: wait! 2020-07-18 19:58:02 eydaimon: in the formatted disk that's giving you issues 2020-07-18 19:58:20 wipefs erases ALL signatures of a hdd 2020-07-18 19:58:22 there's no formatted disk that's giving me issues. The one that's giving me issues is a second drive with zfs 2020-07-18 19:58:41 it wasn't connected when I did the original install 2020-07-18 19:59:36 eydaimon: this is what I would do, boot without the drive, plug it and import it, the rebuild your initrd/boot/grup whatever. 2020-07-18 19:59:39 then reboot 2020-07-18 20:00:05 komnpomat I mentioned this earlier, but the initrd file isn't even accessible at mount time, so how can that play a part ? 2020-07-18 20:00:54 eydaimon: redo that wiki guide about zfs+encrytion. 2020-07-18 20:01:06 oh nvm 2020-07-18 20:01:10 in other words, repeat the guide but with the drive added this time 2020-07-18 20:01:14 you mean /dev/initrd ? 2020-07-18 20:01:40 dunno, whatever the guide says. 2020-07-18 20:02:05 komnpomat I know it will work if I do that. I said so earlier. I appreciate your help, but I'm getting the impression you aren't reading what I write 2020-07-18 20:02:40 eydaimon: I think the zfs cache is added to the initrd image, so when you added the new drive the zfs cache info in the initrd is missing that. 2020-07-18 20:03:12 can I not update the initrd some other way ? 2020-07-18 20:03:31 komnpomat also, I wrote the guide based 😅 2020-07-18 20:04:01 eydaimon: with dracut 2020-07-18 20:04:09 dracut ? 2020-07-18 20:04:58 apologies about your comments about initrd. I thought it was in /etc 😳😳😳 2020-07-18 20:05:27 w00t 2020-07-18 20:05:41 the initrd is what the kernel uses to boot up 2020-07-18 20:06:16 early boot files, I am most certain for encrytion is needed, and for zfs for that matter. 2020-07-18 20:07:21 kernel -> initrd (with early boot files) -> system 2020-07-18 20:07:49 if initrd is the issue, can't I regenerate it ? 2020-07-18 20:08:15 eydaimon: exactly, that's what I was trying to do, so it'll pick up the updated zfs cache. 2020-07-18 20:09:59 Did I miss a step ? How do I do that ? 2020-07-18 20:10:12 eydaimon: initrd packs early boot files, extra modules and so on. 2020-07-18 20:11:04 eydaimon: dracut. but bear in mind each guide got their own way of doing it. So make sure you adapt all the encrytion bits to dracut 2020-07-18 20:11:32 eydaimon: or use whatever alpine uses which I don't know how it builds an initrd 2020-07-18 20:12:08 what is dracut ? 2020-07-18 20:14:29 anybody else? 2020-07-18 20:14:47 ls -l /dev/initrdls: cannot access '/dev/initrd': No such file or directory 2020-07-18 20:15:05 it doesn't even exist 2020-07-18 20:15:31 eydaimon: I haven't delved deeper into alpine, I use stock alpine settings without anything fancy. 2020-07-18 20:15:55 komnpomat follow my guide :) it was easy. just adding another drive later is confusing 2020-07-18 20:16:07 eydaimon: ls /boot 2020-07-18 20:17:06 System.map-lts config-lts initramfs-lts ldlinux.sys libutil.c32 mboot.c32 vesamenu.c32 boot@ extlinux.conf ldlinux.c32 libcom32.c32 lost+found/ menu.c32 vmlinuz-lts 2020-07-18 20:19:19 mkinitfs is to create init ramdisk 2020-07-18 20:19:41 I was looking at the manpage for that after seeing that in setup-disk 2020-07-18 20:21:51 but I don't know where to go with that 2020-07-18 20:22:58 I reckon setup-disk has to do something to get things to work 2020-07-18 20:27:10 setup-disk adds persistent thingies 2020-07-18 20:30:27 well, I'm just going to reinstall 2020-07-18 20:30:36 seems no one knows the answer 2020-07-18 20:36:11 google might, and I don't even know your original question 2020-07-18 20:38:18 So if I install alpine with zfs on root encrypted, it works fine. But if I add new HDDs, then it refuses to boot saying it can't fine the rpool for alpine. I can disconnect the drives for it to prompt for zfs password and boot as before. Any ideas how to fix this ? 2020-07-18 20:38:25 ☝️ that 2020-07-18 20:38:50 https://www.dropbox.com/s/ak4du3dosnunmqv/2020-07-18%2011.30.14.jpg?dl=0 ← the error 2020-07-18 20:40:23 have you tried doing something like moving the new disk into a different position on the motherboard? (maybe its coming up earlier?) 2020-07-18 20:41:39 normally something thats coming up in a scan order on a modern system is either positionally inserted wrong for the expected order, or the new disk has an existing filesystem on it thats being picked up 2020-07-18 20:41:42 it's /dev/sda isn't that the first disk ? 2020-07-18 20:42:00 that is, thats what you dont want, right? 2020-07-18 20:42:05 you want your existing disks to be first 2020-07-18 20:42:05 it is what I want 2020-07-18 20:42:10 the new disk shouldnt be 2020-07-18 20:42:12 that's where the OS is installed 2020-07-18 20:42:16 no, the new disk is /dev/sdd 2020-07-18 20:42:30 but thats after boot order 2020-07-18 20:42:35 not boot loader stuff 2020-07-18 20:43:24 so if its not positional (which isnt very likely in 2020, but eh, i'm troubleshooting blindly), do you need anything on the disk you're inserting? have you wiped it if not? (cat /dev/zero > /dev/sdd ) , etc. 2020-07-18 20:43:26 I can try moving it, but that doesn't feel like a real fix 2020-07-18 20:43:43 I need everything on the disk I'm inserting 2020-07-18 20:43:59 its already zfs? 2020-07-18 20:44:14 how about using disk by id ? 2020-07-18 20:44:18 it's already zfs 2020-07-18 20:44:24 or by partuuid 2020-07-18 20:44:28 then this is proabbly a zfs specific issue 2020-07-18 20:44:34 both are zfs 2020-07-18 20:44:36 i would check in a zfs channel, not here 2020-07-18 20:44:42 the root drive, and the new drive 2020-07-18 20:44:52 OK 2020-07-18 20:45:14 i would also ask yourself why zfs if its like this, but ymmv :-) 2020-07-18 20:45:34 zfs is hip 2020-07-18 20:45:45 zfs was hip a decade ago 2020-07-18 20:47:06 zfs is still hip 2020-07-18 20:47:27 because it's an awesome fs 2020-07-18 20:47:34 At least for servers/NASes it's still pretty widespread 2020-07-18 20:48:02 and because who hasn't had a drive fail? being able to just add a new one when one fails in a sliver is SUPER useful 2020-07-18 20:48:17 s/sliver/mirror 2020-07-18 20:49:01 granted, I don't need to have zfs on root. But when I lookd at LUKS on root, that looked more complicated than encrypted ZFS 2020-07-18 20:49:03 to set up 2020-07-18 20:54:49 well crap. reinstalling didn't work. it's still getting confused 2020-07-18 20:55:27 did it by id ? 2020-07-18 20:55:53 what do you mean did it by id ? 2020-07-18 20:55:57 not by /dev/sd? 2020-07-18 20:56:40 artok: I follow this https://wiki.alpinelinux.org/wiki/Alpine_Linux_with_root_on_ZFS_with_native_encryption 2020-07-18 20:57:25 I guess one alternative is to remove the drives every time I boot 😅 2020-07-18 20:57:28 use uuid instead of /dev/sda2 for example 2020-07-18 20:57:41 artok does your nick mean "heart" ? 2020-07-18 20:57:55 no 2020-07-18 20:58:02 artok not sure that makes sense to do given the installation instructions there 2020-07-18 20:58:04 Arto is my real name 2020-07-18 20:58:21 ah 2020-07-18 20:58:30 last name starts with K 2020-07-18 20:58:55 nice name. I like short names 2020-07-18 20:58:55 but using UUID everywhere, fstab etc is recommended anyways 2020-07-18 20:59:46 you mean instead of `/dev/sda` here I would use echo -e "/dev/sda1: start=1M,size=100M,bootable\n/dev/sda2: start=101M" | sfdisk --quiet --label dos ? 2020-07-18 20:59:47 for example 2020-07-18 20:59:52 given that manual 2020-07-18 21:00:06 er, well, replace it everywhere with id 2020-07-18 21:00:11 or where exactyl would I use the ID ? 2020-07-18 21:00:23 when creating the pool? 2020-07-18 21:01:12 just guessing, but that usually does the job 2020-07-18 21:02:19 for example if I have bunch of USB memory attached on my rpi4, using UUID is needed in the kernel commandline to be able to mount correct partition to root 2020-07-18 21:02:23 and others also 2020-07-18 21:02:42 makes possible to have your disk in any order 2020-07-18 21:16:56 interesting 2020-07-18 21:18:17 arto how do I get the id ? 2020-07-18 21:18:25 artok 2020-07-18 21:19:16 blkid 2020-07-18 21:19:29 thanks 2020-07-18 21:19:31 I'll give it a shot 2020-07-18 21:19:42 alpine is luckily a breeze to install :) 2020-07-18 21:19:46 Just deleting /etc/zfs/cache and importing by if should just work though 2020-07-18 21:19:53 s/if/id/ 2020-07-18 21:20:17 Cogitri I'll try that first 2020-07-18 21:21:29 can I use that ID anywhere in place of /dev/sda then ? 2020-07-18 21:22:14 I'm also curious that it worked on my experimental setup first. 2020-07-18 21:23:22 OK, changing drive location did work 2020-07-18 21:24:11 Just do `zpool import -d /dev/disk/by-id $poolname` 2020-07-18 21:24:14 so that would explain that 2020-07-18 21:24:32 Afterwards your pool will always be imported by drive ID instead of /dev/sd* name 2020-07-18 21:24:34 Cogitri it works even when it's mounted ? cool 2020-07-18 21:25:07 I think you need to export and then import with the that command 2020-07-18 21:26:06 ok 2020-07-18 21:28:07 should I use that in /boot/extlinux.conf too then ? 2020-07-18 21:28:22 or maybe it's enough to just specify the ID there ? 2020-07-18 21:28:37 right now it's: APPEND root=rpool/ROOT/alpine modules=sd-mod,usb-storage,zfs nomodeset quiet rootfstype=zfs 2020-07-18 21:28:45 so APPEND root=32e1ba5d/ROOT/alpine modules=sd-mod,usb-storage,zfs nomodeset quiet rootfstype=zfs 2020-07-18 21:28:47 instead ? 2020-07-18 21:29:29 actually, not sure that makes sense 2020-07-18 21:36:47 Cogitri the disk isn't listed in /dev/ and /dev/disk doesn't exist 2020-07-18 21:38:16 not when booting from the alpine iso anyway 2020-07-18 21:40:33 blkid doesn't even give an id 2020-07-18 21:48:02 what's the `sh: active: unknown operand` mean ? 2020-07-18 22:01:15 I take back what I said about it working when changing drive location. that bay wasn't connected 2020-07-18 22:02:06 I'm stuck 2020-07-18 22:02:24 luckily it's easy to remove the drive from the bay, and I never reboot 2020-07-18 22:02:37 so I guess if I have to reboot, I can just remove it 2020-07-18 22:02:46 or them, rather 2020-07-18 22:29:35 Is there anyway to reliably install Nvidia drivers? I want to use Alpine on my laptop, although alpine might not be the right distribution for me. 2020-07-18 22:33:12 eydaimon: personally I would recommend just using a fat/ext4 /boot 2020-07-18 22:33:19 er 2020-07-18 22:33:23 sorry, ignore that 2020-07-18 22:33:40 got you confused with someone else 2020-07-18 22:40:29 sometimes I'm someone else 😂 2020-07-18 22:55:01 is https://wiki.alpinelinux.org/wiki/Classic_install_or_sys_mode_on_Raspberry_Pi still pretty up-to-date if I want to migrate a copy of an existing Ras Pi installation to a persistent one? 2020-07-18 22:55:26 pretty much all I'm trying to do is make a dev environment where I can build things with golang & GCC and run them on the diskless Ras Pi install 2020-07-18 23:20:39 hodapp: i would take it with a grain of salt 2020-07-19 00:54:10 /filter add joinquit * irc_join,irc_part,irc_quit * 2020-07-19 00:54:11 oops 2020-07-19 02:54:09 lp2skyline: I'm considering installing alpine on my laptop too. I really like it as a web and dev server. not sure how many limitations I'll run into with a desktop though 2020-07-19 02:54:28 all I know is I am sick to death of debian and its awful package management 2020-07-19 02:54:41 LACampbell, I moved from Debian to Alpine 2020-07-19 02:54:52 now I'm about 7 months in 2020-07-19 02:55:17 I use it on a really cheap Chromebook type laptop and due to its minimalism it runs very well 2020-07-19 02:57:06 tehcloud: anything that was more difficult? the usual shit - wifi drivers/trackpad/sound/video 2020-07-19 02:57:36 I had an issue with my trackpad but it was fixed by someone modifying the default kernel build options to support it 2020-07-19 02:58:04 if you're a relatively experienced Linux operator you should be fine 2020-07-19 02:58:26 it may remind you of many things Debian hid from you 2020-07-19 02:58:39 but it's nothing insurmountable 2020-07-19 02:59:12 if I compare alpine on the server vs debian on the server, i don't feel like debian hides anything. I feel like it just badly papers over stuff and puts lipstick on a few pigs 2020-07-19 02:59:19 but desktop is usually a different story 2020-07-19 02:59:24 good to hear though 2020-07-19 02:59:44 it depends on what you want out of a desktop OS really 2020-07-19 02:59:54 I'm happy with a tiling window manager and a terminal as my file manager 2020-07-19 03:00:11 getting GNOME working might take a little extra effort 2020-07-19 03:00:20 or that monstrosity they call KDE 2020-07-19 03:00:23 nah, I'll probably just use openbox or something 2020-07-19 03:00:33 but you can run gtk and qt apps, right? 2020-07-19 03:00:38 yeah 2020-07-19 03:00:57 are you a developer? 2020-07-19 03:01:08 yes. so I will have to bite the bullet and learn vim properly :D 2020-07-19 03:01:12 reason I ask is because I chose Alpine partially for musl 2020-07-19 03:01:35 developing software against musl can often reveal how shitty of a programmer you are 2020-07-19 03:01:39 lol 2020-07-19 03:01:43 makes your software stronger :p 2020-07-19 03:02:02 I'm a web dev, so it's all pretty much invisbile to me. if a browser can run on it, I'm good 2020-07-19 03:02:32 I already use it to run some node.js monstrosity for work, in WSL 2020-07-19 03:03:01 how is WSL? 2020-07-19 03:03:32 mostly fine. but it can only run in its little window 2020-07-19 03:03:38 I wrote multimedia oriented application recently that has some issues on Windows and I'm thinking about just seeing how WSL does 2020-07-19 03:03:46 I honestly miss linux on the desktop. windows 10 feels so limited in comparison 2020-07-19 03:04:14 it runs perfectly on Linux and the 4 most popular BSDs but not Windows :p 2020-07-19 03:04:33 full disclaimer, I don't do any cross compiling 2020-07-19 03:04:37 not actually sure how that works 2020-07-19 03:04:49 like if you can compile a windows EXE from WSL 2020-07-19 03:05:03 this is a C++ or C thing right? 2020-07-19 03:05:10 ISO C99 2020-07-19 03:05:23 2 external deps, SDL and epoxy 2020-07-19 03:05:37 my problems may be SDL problems 2020-07-19 03:07:09 I used to do cross platform native dev with qt. I can't even remember how it worked 2020-07-19 03:08:44 I've done some Qt stuff in the past, can't say I had fun :p 2020-07-19 03:08:55 I'm kind of a C religious extremist 2020-07-19 03:09:11 ha! 2020-07-19 03:09:17 yeah Qt was... interesteing 2020-07-19 03:10:13 I mean C++ is complex enough by itself, it could get a bit overwhelming with that + Qts own object system that uses macros 2020-07-19 03:10:58 I find most of these big libs suck 2020-07-19 03:11:13 I'm using SDL which sucks, but it's the best option for what I need 2020-07-19 03:11:24 if GLFW3 can give me force feedback I'll switch 2020-07-19 03:13:13 haha me too re: big libs. I suppose it's no coincidence we both find ourselves using alpine 2020-07-19 03:13:21 it's that kind of aesthetic 2020-07-19 03:13:45 the thing for me is - I love a good abstraction. but it has to be a really good one. if it's a shit one, it's worse than no abstraction 2020-07-19 03:13:47 yeah, there are many different tastes in technology 2020-07-19 03:14:09 some people think bloated and complex is a remarkable achievement, while others think it is shit 2020-07-19 03:14:23 some people view minimalism as more elegant 2020-07-19 03:14:59 have you grown to kind of hate software and just want less of it? less code, less libraries 2020-07-19 03:15:04 some people legimately prefer the Corolla to the Escalade 2020-07-19 03:15:16 lol, oh yeah... extreme minimalist in every area of my life 2020-07-19 03:15:27 current goal is to reduce my belongings to nothing but a computer and cooking utensils 2020-07-19 03:15:39 haha 2020-07-19 03:15:53 well I am not quite that minimalist :) 2020-07-19 03:16:12 the thing is I do front end dev. not sure if you're familiar of it, but it's a horrible mess of worthless bloated abstractions 2020-07-19 03:16:41 are you in embedded or systems dev? 2020-07-19 03:17:24 I'm a sysadmin by profession, C programmer by hobby, mostly because nobody will hire me for programming jobs because C programming jobs are hard to come by :p 2020-07-19 03:17:41 and yes, very familiar with web software stack :( 2020-07-19 03:18:56 yeah I guess even embedded programming is a lot of C these days 2020-07-19 03:19:08 a lot of it is also C++ 2020-07-19 03:19:38 sysadmin! I miss those. in my market they all want developers doing "dev ops" 2020-07-19 03:19:47 well, that is actually what I do :p 2020-07-19 03:19:50 sysadmin evolved into that 2020-07-19 03:20:07 that's why I moved out of back end dev 2020-07-19 03:20:12 basically sysadmins had to learn to program 2020-07-19 03:20:13 I respect sysadmins enough to know I am not one 2020-07-19 03:20:30 I feel like sysadmins learning programming is better than vice versa 2020-07-19 03:20:37 lol.... yes 2020-07-19 03:21:11 but since I do both I understand the pitfalls of getting stuck in one or the other paradigm 2020-07-19 03:21:37 most admins don't appreciate the level of skill required to write good code 2020-07-19 03:21:49 most programmer don't appreciate the skill required to manage infrastructure 2020-07-19 03:22:12 alpine linux is part of my 'sysadmin' strategy, if you could call it that. it's so primitive 2020-07-19 03:22:23 to deploy, it's one rsync command 2020-07-19 03:22:25 I love it 2020-07-19 03:22:27 it will teach you a lot 2020-07-19 03:22:35 so will Gentoo :p 2020-07-19 03:22:38 I tried to get into docker and AWS and... 2020-07-19 03:25:19 I spent about 5 years in AWS daily 2020-07-19 03:25:32 can't say I like where this industry is going 2020-07-19 03:26:37 do you think serverless is a fad? 2020-07-19 03:26:38 my main issue is that I worry about relying on these cloud vendors to dictate everything based on business goals, and it becoming harder to do things independent of them 2020-07-19 03:27:03 you pretty much have to use AWS or one of the lesser competitors these days 2020-07-19 03:27:09 serverless is not a fad 2020-07-19 03:31:03 then I've made the right decision to leave backend :) 2020-07-19 03:33:29 Frontend devs get overpaid right now, it's like "data scientists" a few years back 2020-07-19 03:33:35 anything that overpays is a great bet 2020-07-19 03:33:52 ride that wave and go to the next overpaying job 2020-07-19 03:34:27 now the definition of data scientist is getting more stringent, but before it was anyone who could write Python and took a stats course :p 2020-07-19 03:37:41 it really depends on the market. front end devs dont seem to get any more than other devs 2020-07-19 03:37:58 I'm self employed now though, so it's less about what I do technically and more about the problems I can solve 2020-07-19 03:37:58 but as you know, their work is significantly easier 2020-07-19 03:38:09 than what? 2020-07-19 03:38:14 although, they do deal with far more pain with the shitty JS libs that exist 2020-07-19 03:38:15 I've done desktop, backend, and front end dev 2020-07-19 03:39:00 well, I guess I'm talking about what I've seen personally but every area of dev has varying levels of complexity 2020-07-19 03:39:20 I'd say a lot of front end dev complexity is self imposed 2020-07-19 03:39:32 I've done some WebGL stuff so I've seen how ugly things can get there :p 2020-07-19 03:40:23 I felt like win forms desktop apps were probably the easiest 2020-07-19 03:40:50 a lot of it depends on what you're actually writing too 2020-07-19 03:41:19 yeah. I'm doing web apps, so there's not much focus on design for me 2020-07-19 03:41:35 I used to work with GTK a lot 2020-07-19 03:41:46 but then I revolted and said no more UI toolkits again 2020-07-19 03:42:10 gtk3 got me into using so many command line programs, because all my favourite gtk2 apps either disappeared or looked like shit 2020-07-19 03:42:38 yep, I'm going to learn curses soon 2020-07-19 03:42:45 that's the closest I'll go to a UI toolkit 2020-07-19 03:43:08 wxwidgets seems alright. but I'm not sure what the market for desktops apps still is in 2020 2020-07-19 03:43:12 plus curses apps make you look leet 2020-07-19 03:43:58 I don't want to go around the electron route. I've got no problem with html/css/js, but I do have a problem with starting a new chrome instance for an app. I mean chrome is practically an OS 2020-07-19 03:44:16 well, it's going in that direction... everything in the browser 2020-07-19 03:44:22 I don't think electron is a long term thing 2020-07-19 03:44:25 I honestly think embedded and systems and programmers would make the best front end devs 2020-07-19 03:44:29 it's like the transition 2020-07-19 03:44:34 I think back end devs kind of ruined it :p 2020-07-19 03:45:18 I realized a long time ago that Windows 3.11 was a faster and smoother experience than what I was using at that time 2020-07-19 03:45:32 and that is still the case if you make that comparison at many points in time 2020-07-19 03:45:49 what do you mean? 2020-07-19 03:46:04 basically there seems to be this threshold we are willing to handle for application startup and fluidity 2020-07-19 03:46:52 this is kind of how I ended up with Alpine 2020-07-19 03:46:59 ahh 2020-07-19 03:47:06 just the basics, no bullshit running in the background 2020-07-19 03:47:13 there are only a few areas where this matters anymore 2020-07-19 03:47:15 I can make it feel lightning fast 2020-07-19 03:48:13 in many ways I think we're making everything worse on the web these days too 2020-07-19 03:48:18 "WE USE COOKIES" 2020-07-19 03:48:31 yes, yes... I know :p 2020-07-19 03:56:56 haha, I have a plugin for that 2020-07-19 03:57:00 "I don't care about cookies" 2020-07-19 03:57:36 the weird thing about the web is - there's so much data showing that slow websites negetiavely impact bounce rate, which then has an effect on sales 2020-07-19 03:57:44 but website performance isn't a big topic 2020-07-19 03:58:36 if it's not there in a second or two, then it is assumed down 2020-07-19 04:01:20 or people just get frustrated then go to your competitor 2020-07-19 04:01:29 but how do you make sites fast? it's not doing what facebook does... 2020-07-19 07:34:24 guess i'll bump my raspi to alpine edge 2020-07-19 07:34:37 i want to use it "in production" but its just my personal shit, im not hosting any other users on it 2020-07-19 07:34:47 if something goes wrong then it isnt the end of the world 2020-07-19 07:43:46 tehcloud: there are also notcurses https://nick-black.com/dankwiki/index.php/Notcurses 2020-07-19 07:43:58 looks interesting 2020-07-19 12:02:53 Hey guys! I can't believe it's true, but Alpine is absolutely the best choice out of any distribution of anything in the whole world to run on a crappy 32 bit laptop from 2005.. 2020-07-19 12:03:10 I've tried NetBSD, FreeBSD, Void, NixOS. None compare. 2020-07-19 12:04:06 NixOS wouldn't boot because of the 256MB of ram. FreeBSD chugs and can't do Wayland. NetBSD's packaging is a nightmare, and it uses the most ram out of all of them. Void is probably going to die in the not too distant future. 2020-07-19 12:04:19 tried openbsd? :p 2020-07-19 12:04:34 ive actually been planning to get an x200 soon and install openbsd 2020-07-19 12:04:50 Well, at least FreeBSD had some immense issues with libdrm and the intelGPU, the BSDs just aren't an optino. 2020-07-19 12:04:53 option* 2020-07-19 12:05:10 Can OpenBSD do wayland stuff opal ? 2020-07-19 12:05:18 and yes ive not liked void in my experience. runit is a plus but the package manager isnt great, maintainership isnt great, they do all their work on github 2020-07-19 12:05:25 poor support for server packages 2020-07-19 12:05:31 wayland isnt a priority for me 2020-07-19 12:05:35 so idk 2020-07-19 12:05:42 Well that's the least of its issues. It's really crazy how fast they're moving and how many packages they support. 2020-07-19 12:05:52 I just don't think it's going to be around for very long. 2020-07-19 12:05:53 ive used wayland and it has some stoppers in my use case before im able to switch and commit to it 2020-07-19 12:06:19 Ya but this is on a laptop from 2005. I want it to run Sway and just one application :D 2020-07-19 12:06:29 matthewcroughan: news to me, thanks :p 2020-07-19 12:06:37 which application, emacs? 2020-07-19 12:06:59 Universal GCODE Sender 2020-07-19 12:07:08 never heard of it 2020-07-19 12:07:16 Sends GCODE to CNC Routers and machinery 2020-07-19 12:07:44 leah2 ah i remember you being a void proponent 2020-07-19 12:07:45 I'm happy to do things from a tty too lmao 2020-07-19 12:07:55 >G-code (also RS-274), which has many variants, is the common name for the most widely used computer numerical control (CNC) programming language. 2020-07-19 12:07:55 this? 2020-07-19 12:07:59 no, i'm just a maintainer :p 2020-07-19 12:08:18 I was so surprised to find a package for Hikari in there 2020-07-19 12:08:27 you werent a maintainer on any of the packages i had issues with then, lucky you 2020-07-19 12:08:32 ;) 2020-07-19 12:09:16 Oh lol on 32 bit I saw some crazy warnings with xbps regarding elf binaries. 2020-07-19 12:09:35 There's' no doubt in my mind that Void is like someone doing heroin who's going to die soon. 2020-07-19 12:09:57 You can't maintain that many packages, that fast, so close to upstream. That's what NixOS is for :D 2020-07-19 12:10:06 i dont see why we are more likely to die now than 3 years ago, but perhaps you know something i dont 2020-07-19 12:10:15 The traditional distro model where you have maintainers and central repos like that just can't function very well IMO 2020-07-19 12:10:29 come on we all know any distro without a proper mailing list isnt worth its salt :> 2020-07-19 12:10:31 At least not whilst remaining secure and quality. Just my opinion. 2020-07-19 12:10:32 every distro in existance is like that :p 2020-07-19 12:10:47 exherbo isnt 2020-07-19 12:10:53 yes, exherbo is dead 2020-07-19 12:10:58 exherbo has a small main set and designed to be used with overlays 2020-07-19 12:11:06 Yes, but your quality and security must go down with quantity, unless you're decentralized in the way nixpkgs are. 2020-07-19 12:11:17 nixpkgs is not decentralized 2020-07-19 12:11:22 very much so it is. 2020-07-19 12:11:24 void accepts lots of PR too 2020-07-19 12:11:27 there is no difference 2020-07-19 12:11:43 https://github.com/colemickens/nixpkgs-wayland 2020-07-19 12:11:47 No, there's a big difference. 2020-07-19 12:11:58 The difference is that I can just go to this guy's wonderful collection of wayland apps and use them. 2020-07-19 12:12:03 I need not rely on any one distribution of LInux. 2020-07-19 12:12:12 you can add custom repositories with anything 2020-07-19 12:12:23 i do it all the time 2020-07-19 12:12:28 Yes, but that relies upon a package manager 2020-07-19 12:12:33 it relies upon a distro of linux, this doesn't 2020-07-19 12:12:34 is nix not one? 2020-07-19 12:12:38 you can also do your own void repo, which is not as easy as it should be, admittedly 2020-07-19 12:12:39 NixOS is. 2020-07-19 12:12:44 but it's still work to maintain that 2020-07-19 12:12:46 no, nix is the package manager 2020-07-19 12:12:50 nix, the package manager, doesn't care what distribution you're on. 2020-07-19 12:12:56 nor does apk 2020-07-19 12:13:00 nor does dpkg 2020-07-19 12:13:02 yes it does, nothing is going to work 2020-07-19 12:13:07 yes they do, nothing is going to work 2020-07-19 12:13:13 you have no clue what youre talking about and im just going to /ignore you now 2020-07-19 12:13:23 that's quite rude :( 2020-07-19 12:14:29 If you care about the concept there is a paper on it which I read 8 pages of earlier, since I wanted to start understanding what I was talking about. 2020-07-19 12:15:20 have there been any attempts to bring ghc package to 32bit? 2020-07-19 12:15:21 I think this discussion doesn't belong here 2020-07-19 12:15:41 Ya, I didn't come here to talk about that :D 2020-07-19 12:16:10 I was actually just going to ask how I can modify `setup-alpine` to use a different FS for the rootfs 2020-07-19 12:16:34 I'm looking through the scripts and they dereference a whole lot, so does anybody know what's actually happening in them? 2020-07-19 12:16:41 matthewcroughan: the common way to do that is to not let it setup a disk, then setup your root fs, and then run setup-disk 2020-07-19 12:17:02 I think the installer should ask what fs the user wants to use, maybe I could implement that 2020-07-19 12:17:52 I couldn't find documentation about doing this sort of thing on the wiki, maybe it's best not to modify the script and just detail how to do this?> 2020-07-19 12:18:35 maerwald: Not to x86 if you mean that, but to aarch64 2020-07-19 12:18:51 I'll put things more simply too. If I `grep -r 'mke2fs /sbin/` I will not find anything useful. Yet the scripts call it somehow. 2020-07-19 12:18:58 I'm really confused as to how it ends up getting called. 2020-07-19 12:19:17 But currently it's kinda stale because bootstrapping ghc isn't fun and I currently don't have time to pull it off 2020-07-19 12:19:30 Are there any tools that'll help me figure this out? Since the scripts in /sbin/ absolutely call mke2fs somehow, but it's two layers deep, and nothing does it directly. 2020-07-19 12:19:50 For when grep isn't enough, there must be a tool that assists with this, out of complete curiosity! 2020-07-19 12:20:24 Cogitri: cross compiling from 64bit might work 2020-07-19 12:20:56 so no need to bootstrap, but there were a few bugs for ghc cross compilers afair 2020-07-19 12:21:06 (template haskell mostly) 2020-07-19 12:25:03 another idea is using https://github.com/redneb/ghc-alt-libc 2020-07-19 12:25:24 which are linked against musl, but built on gentoo, so there are those ncurses issues 2020-07-19 12:25:43 and I've experienced segfaults with them trying to build ghc 2020-07-19 12:26:52 Unfortunately I have basically 0 knowledge of Haskell, not sure if someone in the dev team has the expertise/time to set it up 2020-07-19 12:28:00 ikke that seems not to work 2020-07-19 12:28:13 I can't "use the disk" without "deleting it" and formatting it with ext4 which is the default for setup-disk 2020-07-19 12:28:29 I've partitioned and formatted my disks to my liking, setup-disk seems not to offer anything important, am I misunderstanding? 2020-07-19 12:28:32 Cogitri: is there a way to install 8.0.2 from v3.6 on edge? 2020-07-19 12:28:57 then I could build a i386 cross compiler for 8.0.2 and bootstrap the rest from there 2020-07-19 12:31:37 AH. I keep using sys like a dummy. Getting data and sys mixed up/ 2020-07-19 12:33:22 maerwald: I guess if no solibs have changed you can just install it via apk add $archive 2020-07-19 12:38:07 https://pkgs.alpinelinux.org/package/v3.6/community/x86_64/ghc doesn't show the url to the archive 2020-07-19 12:38:27 ikke No. This did not seem to work. `setup-disk` simply formats your disk as ext4 no matter what you do. 2020-07-19 12:38:43 Whether I have partitioned or made an f2fs filesystem prior to running `setup-disk` does not matter. Can you help with this? 2020-07-19 12:41:11 >f2fs is not suitable for partitioning 2020-07-19 12:41:20 `setup-disk -s 0 ROOTFS=f2fs` 2020-07-19 12:42:23 It looks it up under /sys/block/*/device 2020-07-19 12:42:39 setup-disk works fine 2020-07-19 12:42:48 I tested it few times 2020-07-19 12:42:54 Ya I just didn't understand what the help was telling me 2020-07-19 12:43:18 When it says "If BOOTFS is provided" it's not immediately obvious to people who aren't that technical that you mean to state BOOTFS= 2020-07-19 12:43:34 there is wiki guide how to use setup-disk 2020-07-19 12:43:47 I'm looking at it now, it's verbose and directed at different circumstances 2020-07-19 12:43:52 matthewcroughan: that it's written in capitals means it's an environment variable 2020-07-19 12:43:58 it does not accommodate what I want to do, which is use f2fs. 2020-07-19 12:44:05 maerwald: Currently you have to go to https://alpine.global.ssl.fastly.net/alpine/v3.6/ and then go to the right dir to download them directly 2020-07-19 12:44:15 ikke Semantics like that aren't obvious to most people, even people that have been using Linux for 2-3 years like me. 2020-07-19 12:44:26 I got it, but I don't think people under my exp level would get it. 2020-07-19 12:44:27 sure it worked for me with f2fs rootFS 2020-07-19 12:44:40 matthewcroughan: ROOTFS=ext4 setup-disk 2020-07-19 12:44:41 mps Really? It's telling me f2fs isn't a valid FS type. 2020-07-19 12:44:46 matthewcroughan: ROOTFS=f2fs setup-disk 2020-07-19 12:45:05 Oh I'm a complete and utter dummy. 2020-07-19 12:45:15 See, if you said environment variable, I'd have done that. I thought it was an argument.. 2020-07-19 12:45:24 When it says "PROVIDE THIS" you do not assume envvar... 2020-07-19 12:45:55 The help states "If BOOTFS, ROOTFS, VARFS are specified" it could be anything. It does not necessarily mean envvar 2020-07-19 12:46:29 It can certainly be improved, but it's just a very common convention under linux programs 2020-07-19 12:46:35 There are things that expect it on the other side as an argument, rather than something parsed by the shell. I understand this, I just think it would be better stated as calling it an envvar 2020-07-19 12:47:01 I can submit a PR 2020-07-19 12:49:37 ikke Can I do `ROOTFS=f2fs setup-alpine` and therefore not have to run `setup-disk` separately? 2020-07-19 12:49:53 matthewcroughan: Yes, I think so 2020-07-19 12:50:08 But I cannot provide `-s` to rnot have swap :D 2020-07-19 12:50:13 correct 2020-07-19 12:50:35 Everything should be envvars then, no parameters. 2020-07-19 12:51:40 Or ask the user during setup-disk 2020-07-19 12:52:00 Ya probably worthwhile. I'll look into it, I'm going to do a lot of installation so I'll look at the scripts properly eventually 2020-07-19 12:52:04 export SWAP_SIZE=0 2020-07-19 12:52:16 Oh there is a var for it, thank you. Guess nothing needs to be done then. 2020-07-19 12:52:20 then swap will not be created 2020-07-19 12:52:26 Really all that needs to be done is documenting these use cases properly, is all. 2020-07-19 12:52:43 Since you can find that out by reading the help for setup-disk but not on the wiki, where I'm reading prior to even reading the help./ 2020-07-19 12:53:05 mps or did you find that on the wiki? 2020-07-19 12:53:45 seems alpine has no cross toolchains 2020-07-19 12:54:00 reading source, it is shell at the end 2020-07-19 12:54:27 maerwald: no, alpine build native 2020-07-19 12:54:41 ok, in lxc 2020-07-19 12:54:54 I can't parse that sentence 2020-07-19 12:54:58 Lxc is still native 2020-07-19 12:55:28 ikke: yes ofc, but wanted to give more info 2020-07-19 13:03:02 mps when I do `ROOTFS=f2fs setup-disk` I end up with mounting /dev/sdb2 on /mnt failed invalid argument 2020-07-19 13:03:27 -v doesn't provide more info 2020-07-19 13:05:48 I think f2fs still have bug for dependencies loading 2020-07-19 13:06:12 What does that mean? It ran fine on Void, for example. What is the bug you're referring to? 2020-07-19 13:06:44 I did install by creating partition, making fs with mkfs.f2fs, mounting and runnig setup-disk 2020-07-19 13:07:24 it runs mkfs just fine, it just does not mount something at some stage 2020-07-19 13:07:38 I never posted fix for f2fs to upstream and actually not sure if I still have it somewhere 2020-07-19 13:09:09 mps where do I need to mount things? 2020-07-19 13:10:14 ah mkfs.f2fs required -f O.o 2020-07-19 13:12:41 I usually mount under /mnt 2020-07-19 13:13:06 I did not need to mount it. If I mounted it, then I wouldn't be able to use setup-disk on it, because it wouldn't be available in the menu. 2020-07-19 13:13:37 All I needed to do was manually make the FS, since setup-disk doesn't provide`mkfs.f2fs -f` only `mkfs.f2fs` which fails, therefore `mount` has nothing to mount. 2020-07-19 13:14:26 I also wonder if Alpine takes into account MBR vs GPT 2020-07-19 13:14:33 And DOS 2020-07-19 13:14:35 setup-disk require mounted FS 2020-07-19 13:14:45 no, setup-disk mounted the FS for me 2020-07-19 13:14:53 ok 2020-07-19 13:15:04 Watynecc[d]: Hello 2020-07-19 13:15:16 matthewcroughan: for which purpose? 2020-07-19 13:15:50 komnpomat Well I had a disk that was formatted previously as GPT, and if Alpine does nothing that disk is going to not boot, but the installation will appear succesful 2020-07-19 13:16:14 mps actually, you're right. Now that Alpine has booted, there is this error 2020-07-19 13:16:21 Filesystems couldn't be fixed, rc: Aborting! 2020-07-19 13:17:16 weird error from a brand new install 2020-07-19 13:17:24 komnpomat I'm using f2fs 2020-07-19 13:17:40 oh I see, some exotic filesystem 2020-07-19 13:17:44 mps mentioned that there is a "bug for dependencies loading", which lines up with what I've just done 2020-07-19 13:17:56 no it's not exotic, it improves perf massively on flash drives 2020-07-19 13:18:04 it's used on samsung phones for example 2020-07-19 13:18:17 it stands for flash friendly filesystem 2020-07-19 13:18:34 matthewcroughan: since it's your root filesystem, why don't you include it in the kernel rather than a module? 2020-07-19 13:18:55 That would mean I have to compile my own kernel. 2020-07-19 13:19:06 Alpine doesn't compile it in. I guess that's the issue. Whereas Void Linux does? 2020-07-19 13:19:26 matthewcroughan: ok then in command line set it to load before anything else 2020-07-19 13:19:42 how do I do that? Initramfs stuff right? 2020-07-19 13:19:44 It's quite common to build all these filesystems as modules 2020-07-19 13:19:47 I've only dabbled once or twice with that 2020-07-19 13:20:11 need to put 'f2fs' in /etc/mkinitfs/mkinitfs.conf and rebuild initramfs, probably 2020-07-19 13:20:54 In arch it's mkinitcpio.conf in /etc 2020-07-19 13:20:56 what is it in alpine? 2020-07-19 13:21:01 matthewcroughan: the syntax is weird, hold on 2020-07-19 13:21:04 Oh sorry didn't read mps, thanks! 2020-07-19 13:21:26 that's really not too different from arch hah! 2020-07-19 13:21:43 mps f2fs is already in there. 2020-07-19 13:21:55 you can try to add f2fs at APPEND line in boot loader in modules list 2020-07-19 13:22:11 the contents of that file on my system are features="ata base ide scsi usb virtio f2fs" 2020-07-19 13:22:39 then something else is the issue 2020-07-19 13:23:13 my /boot is empty 2020-07-19 13:23:15 :thinking: 2020-07-19 13:23:26 is that irregular? How the hell did I boot haha 2020-07-19 13:24:19 ah no it's to do with the environment I'm in, strange 2020-07-19 13:24:24 APPEND root=UUID=8d5496bd-e1a2-4488-9a62-49f07ff3ec01 modules=sd-mod,usb-storage,f2fs nomodeset quiet rootfstype=f2fs 2020-07-19 13:24:34 nope, rootfstype=f2fs is in there right, along with f2fs 2020-07-19 13:24:43 who knows what the issue is 2020-07-19 13:25:11 sounds like fsck is the issue 2020-07-19 13:25:18 if the /boot empty maybe you forgot to install boot loader 2020-07-19 13:25:33 References to "dmvpn-1.2.1-r0 = 1.2.1-r0 2020-07-19 13:25:35 arg 2020-07-19 13:25:38 no, it's not empty, the shell I'm put in after failed boot prohibits me from using /boot/ in any way 2020-07-19 13:25:44 I can't mount /dev/sda1 for example 2020-07-19 13:26:05 ya fsck is the issue ikke 2020-07-19 13:26:23 "Filesystems couldn't be fixed" is the first actual error 2020-07-19 13:26:50 So might mean you need f2fs-tools in the initramfs? 2020-07-19 13:27:04 matthewcroughan: perhaps add some delay, is the usb slow? 2020-07-19 13:27:15 No way, like I said, I ran void linux just fine with f2fs on root 2020-07-19 13:28:56 try echo '/usr/sbin/f2fs.fsck' >>/etc/mkinitfs/features.d/f2fs.files 2020-07-19 13:29:02 and than regenerate initramfs 2020-07-19 13:29:16 how do you regen the initramfs on alpine? o.O 2020-07-19 13:29:23 sorry if I'm too much of a noob here 2020-07-19 13:29:45 mkinitfs -o /boot/ 2020-07-19 13:29:54 not too different from arch again, nice :D 2020-07-19 13:30:07 hahaha 2020-07-19 13:30:14 I modified /etc/fstab and disabled fsck and it works fine 2020-07-19 13:30:16 funny 2020-07-19 13:30:27 But you probably need to include dependencies for f2fs.fsck too 2020-07-19 13:30:41 https://pkgs.alpinelinux.org/contents?branch=edge&name=f2fs-tools-libs&arch=x86_64&repo=main 2020-07-19 13:32:13 matthewcroughan: I suspected it had to do about fsck 2020-07-19 13:32:27 matthewcroughan: I don't think it makes sense 2020-07-19 13:32:31 what I said 2020-07-19 13:32:36 ikke: it does 2020-07-19 13:32:44 I mean, it being part of initramfs 2020-07-19 13:32:46 i've seen this before. 2020-07-19 13:33:24 So what does f2fs.fsck represent? 2020-07-19 13:33:38 ikke: what's the option in fstab to tell to do the fsck? the numbers right at the end? "0 0" or "0 1" 2020-07-19 13:33:44 because /usr/sbin/f2fs only matches 3 files. f2fs_io f2fscrypt f2fstat 2020-07-19 13:33:50 there is no .fsck 2020-07-19 13:34:05 komnpomat 0 0 == no fsck 2020-07-19 13:34:12 0 1 of course means fsck 2020-07-19 13:34:26 matthewcroughan: https://pkgs.alpinelinux.org/contents?branch=edge&name=f2fs-tools&arch=x86_64&repo=main 2020-07-19 13:34:26 matthewcroughan: perhaps doesn't find fsck 2020-07-19 13:34:50 matthewcroughan: fsck.f2fs 2020-07-19 13:35:00 I swapped the order 2020-07-19 13:35:02 Ah I have that package but do not have that ool 2020-07-19 13:35:06 usr/sbin/fsck.f2fs 2020-07-19 13:35:12 Yes, I do not have that 2020-07-19 13:35:18 Probably because I'm on i686 :D 2020-07-19 13:35:39 matthewcroughan: which type of flash drive? regular usb sticks? 2020-07-19 13:35:46 Yes, doesn't matter 2020-07-19 13:36:04 matthewcroughan: if you include fsck.f2fs in initramfs, you need /usr/lib/libf2fs.so.7 as well 2020-07-19 13:36:07 ikke I do not have /usr/sbin/f2fs.fsck despite having f2fs-tools installed 2020-07-19 13:36:14 matthewcroughan: better than ext4, xfs, zfs? (on flash) 2020-07-19 13:36:25 it's fsck.f2fs 2020-07-19 13:37:14 ikke: it's not there 2020-07-19 13:37:26 komnpomat very much so yes 2020-07-19 13:37:34 -rwxr-xr-x 1 root root 157912 Oct 1 2019 /usr/sbin/fsck.f2fs 2020-07-19 13:37:40 I just installed f2fs-tools 2020-07-19 13:37:48 I am on i686 too, and apk search fsck doesn't show f2fs 2020-07-19 13:37:58 You said earlier the other way around 2020-07-19 13:38:06 I just corrected it, that's the problem/ 2020-07-19 13:38:08 matthewcroughan: yes, I noticed later 2020-07-19 13:38:20 I also mentioned that I said it wrong 2020-07-19 13:38:43 Ah ok 2020-07-19 13:38:54 So it's in there now, I'll regen my initramfs, and that should be it? 2020-07-19 13:39:05 also include the lib I mentioned 2020-07-19 13:39:14 when you say include, what do you mean? 2020-07-19 13:39:16 install it? 2020-07-19 13:39:23 In f2fs.files 2020-07-19 13:39:23 It's installed, but what part of the lib do I need to put in the initramfs? 2020-07-19 13:39:34 which particular thing? 2020-07-19 13:39:48 /usr/lib/libf2fs.so.7 2020-07-19 13:41:37 maybe that is not necessary 2020-07-19 13:41:51 I don't see libraries explicitly installed for anything else 2020-07-19 13:42:18 Learning a lot just by doing this, thanks for the help guys :) 2020-07-19 13:43:11 Oh no hahaha it's not booting anymore 2020-07-19 13:43:22 oink 2020-07-19 13:43:25 was vmlinuz-lts the wrong thing to put at the end of -o? 2020-07-19 13:43:34 yes 2020-07-19 13:43:39 lol that was THE kernel 2020-07-19 13:43:41 yes 2020-07-19 13:43:44 so where am I supposed to put it? 2020-07-19 13:44:24 so much fun :D 2020-07-19 13:44:44 mkinitfs -o /boot/initramfs-lts 2020-07-19 13:45:00 I'm an extra special kind of braindead. 2020-07-19 13:45:09 At least I have an opportunity to change it before booting into the system/ 2020-07-19 14:00:01 ikke Neither of your solutions worked, so I'm going to give up and run without fsck for now haha 2020-07-19 14:00:10 sadface 2020-07-19 14:00:31 But the fact that fsck is controlled by /etc/fstab kind of already means it has nothing to do with initfs 2020-07-19 14:00:56 oh, interesting 2020-07-19 14:01:46 you think it's as simple as symlinking /usr/sbin/fsck.fs2fs -> /usr/bin/fsck 2020-07-19 14:01:52 no 2020-07-19 14:02:22 fsck defers to these fsck.* programs 2020-07-19 14:02:58 God damn 2020-07-19 14:03:07 I'm just marvelling at that 21M ram usage on this 2005 laptop 2020-07-19 14:03:41 of which HTOP is taking up the most ram on system hahaha 2020-07-19 14:04:03 sshd second most. Perhaps lower with dropbear? O.o 2020-07-19 14:06:26 I'll bet musl helps a lot on this old thing, more than I think. 2020-07-19 19:55:21 komnpomat: did you see my comment about not being able to import the zpool using -d ? the boot ISO doesn't allow it 2020-07-19 20:23:22 like even with the full install, `/dev/disk` is empty 2020-07-19 20:23:25 should it be ? 2020-07-19 20:24:27 ikke: is that populated for you ? 2020-07-19 20:25:00 ls: /dev/disk: No such file or directory 2020-07-19 20:26:56 🤔 2020-07-19 20:27:11 https://www.reddit.com/r/zfs/comments/hsed8q/zfs_pool_degraded_smart_data_disagrees/fy9weon/ see they say the same thing here 2020-07-19 20:28:55 since /dev/sda can change depending on reboot, is there anything static in alpine ? 2020-07-19 20:29:02 uuid 2020-07-19 20:29:47 how can I use that ? 2020-07-19 20:30:07 in what context/ 2020-07-19 20:30:11 I'm not familiar with zfs 2020-07-19 20:30:24 I need to do this: 2020-07-19 20:30:26 sudo zpool export poolname 2020-07-19 20:30:28 sudo zpool import poolname -d /dev/disk/by-id 2020-07-19 20:30:58 So I use blkid to get the uuid, but how do I specify a drive using it ? 2020-07-19 21:44:32 eydaimon: do you mean a LiveCD? 2020-07-19 21:46:21 /dev/disk empty? quite impossible 2020-07-19 21:48:12 komnpomat: it's empty for me and ikke 2020-07-19 21:50:09 I believe it's udev that creates those entries, which is not installed by default 2020-07-19 21:50:33 mdev I think 2020-07-19 21:52:51 hmm, udev, ikke is right 2020-07-19 22:01:26 shouldn't zfs support UUID directly 2020-07-19 22:02:07 eydaimon: what does 'zpool status' say? 2020-07-19 22:02:25 eydaimon: use a livecd with proper zfs support 2020-07-19 22:18:58 Watynecc[d]: hello? 2020-07-19 22:32:18 komnpomat: sda2 ONLINE 0 0 0 2020-07-19 22:32:44 ikke: what do I install to get those entries ? 2020-07-19 22:33:03 komnpomat: if I boot with like ubuntu and use those, will it work with alpine after ? 2020-07-19 22:36:31 zfs-udev ? 2020-07-20 07:41:34 eydaimon: eudev actually 2020-07-20 07:42:26 eydaimon: possibly zfs-udev too 2020-07-20 09:16:59 Watynecc[d]: komnpomat: hello 2020-07-20 09:52:38 albr_: hei 2020-07-20 09:56:18 It appears the GHC package has a missing dependency on binutils-gold. If you run `ghc --info` you will see '("ld command","ld.gold")' and then get link errors in certain circumstances (like bootstrapping another ghc) 2020-07-20 10:45:26 is there something like pretend in apk installer? 2020-07-20 10:46:03 what would it do? 2020-07-20 10:46:13 show what deps will install 2020-07-20 10:46:20 ah, dry run 2020-07-20 10:46:28 I am concern installing mpv will pull trillion deps 2020-07-20 10:46:40 apk add --simulate 2020-07-20 10:47:20 geez, libdvd libcdio 2020-07-20 10:47:40 I wish there was a minimal mpv without dvd/cd legacy stuff 2020-07-20 10:49:20 it wants to install 18 packages 2020-07-20 10:51:22 yes, I also dislike so much deps 2020-07-20 10:51:56 Any dep you don't need is one too many, but if a dep is missing, you are sol 2020-07-20 10:53:48 libxscrnsaver libcdio libcdio-paranoia libdvdcss libdvdread libdvdnav lua5 libpulse 2020-07-20 10:54:06 all those could be removed for a no-frills basic mpv 2020-07-20 10:54:21 and call it mpv-minimal 2020-07-20 10:54:30 or, any dep more which are not useful today is more bloat :) 2020-07-20 10:55:00 komnpomat: yes, I thought to do that but didn't found time 2020-07-20 10:55:27 and, wanted to have mpv and mpv-full 2020-07-20 10:55:53 ha ha, great I am not the only one 2020-07-20 10:56:32 and there are more pkgs which I think to make base and full 2020-07-20 10:56:37 vim for example 2020-07-20 10:57:55 maerwald: Could you please open an issue for that? 2020-07-20 10:58:24 Cogitri: but then again... ld.gold produces broken binaries with ghc on musl 2020-07-20 10:58:50 https://gitlab.haskell.org/ghc/ghc/-/issues/17508 2020-07-20 10:58:56 https://sourceware.org/bugzilla/show_bug.cgi?id=23856 2020-07-20 11:02:02 Ah right, the bug I commented on but then forgot about again :D 2020-07-20 11:02:16 I think we had something similiar with ldc 2020-07-20 11:02:31 Can we configure ghc to use bfd/lld by default? 2020-07-20 11:02:39 yes 2020-07-20 11:03:09 LD=ld.bfd ./configure --disable-ld-override 2020-07-20 11:03:47 and additionally you may need "LD_STAGE0 = ld.bfd" in mk/build.mk 2020-07-20 11:04:26 then you can check after installation what `ghc --info` reports 2020-07-20 11:04:51 Ah, nice. Mind opening an issue/MR with that info? :) 2020-07-20 11:04:53 I find this automagic ld.gold selection terrible 2020-07-20 11:05:10 good build systems should always use ld only 2020-07-20 11:05:21 unless the user says something different 2020-07-20 11:06:24 I still have to do some tests 2020-07-20 11:58:58 Hey, 2020-07-20 11:58:58 I couldn't find any references online 2020-07-20 11:58:58 Just wanted to know which compilation options (hardening) Alpine Linux employs when building packages e.g -fstack-protector-strong vs -fstack-protector-all 2020-07-20 12:02:16 TL;DR: stack-protector-all has a pretty huge performance impact in comparison to -strong and isn't useful most of the time 2020-07-20 12:03:05 Since -strong already covers most cases where a stack overflow might happen 2020-07-20 12:13:46 Ok, thanks. I guess it's pretty safe for me to assume Alpine cranks up all the hardening options 2020-07-20 12:16:26 not all but reasonable ones 2020-07-20 14:15:28 komnpomat: thanks 2020-07-20 14:30:23 c705: Nope, I was asking about PAM support in the busybox package 2020-07-20 14:33:53 Speaking of, has anyone had the time to look at my ticket for busybox-pam? Or did I put it in the wrong issues list? 2020-07-20 14:42:02 I thought you were working on it, so I didn't take a second look 2020-07-20 15:13:51 What do I need to do to make postgreSQL accept connections from the local network instead of just the local machine? StackOverflow and such suggests editing `pg_hba.conf` and `postgresql.conf` which I did in multiple locations, but none of those files seems to make any difference, it just keeps listening on 127.0.0.1 only 2020-07-20 15:14:14 did you restart postgres? 2020-07-20 15:23:20 PureTryOut[m]: you have to enable listening interfaces in postgresql.conf 2020-07-20 15:24:15 and access rights for users/groups/networks/auth_methods in pg_hba.conf, then restart 2020-07-20 15:25:50 stgresql/pg_ident.conf' # ident configuration file 2020-07-20 15:25:54 stgresql/pg_ident.conf' # ident configuration file 2020-07-20 15:26:01 hmm 2020-07-20 15:26:30 listen_addresses and port 2020-07-20 15:31:16 there's no telnet package ? How do I get telnet ? I use this for debugging all the time. 2020-07-20 15:31:57 eydaimon: netcat-openbsd or busybox-extra 2020-07-20 15:32:31 though few weeks ago I enabled telnet option in screen also 2020-07-20 15:32:48 didn't tested it much 2020-07-20 15:32:50 mps: they give me the telnet command ? I didn't see it when searching pkgs 2020-07-20 15:33:25 only busybox-extra have telnet cmd 2020-07-20 15:33:40 others can be used in telnet mode 2020-07-20 15:34:01 oh? I never tried netcat in telnet mode 2020-07-20 15:34:07 how do I do that ? 2020-07-20 15:34:18 gfuess i'll install and man :) 2020-07-20 15:34:26 nc host 23 2020-07-20 15:35:48 doesn't give me a prompt to type when connecting to http 2020-07-20 15:35:55 for example 2020-07-20 15:36:16 apk add busybox-extra → ERROR: unsatisfiable constraints: busybox-extra (missing): required by: world[busybox-extra] 2020-07-20 15:36:58 I've never ran into a distro that doens't have a telnet package. Can we add that? 2020-07-20 15:37:37 busybox-extras 2020-07-20 15:38:23 MY-R: see my line above 2020-07-20 15:38:31 busybox-extras 2020-07-20 15:38:36 oh now it worked 2020-07-20 15:38:43 missing 's' 😅 2020-07-20 15:38:55 thank you 2020-07-20 15:39:06 :] 2020-07-20 15:39:24 copy/paste ftw 2020-07-20 15:40:17 omg, i forgot the name of my favorite portscanner 2020-07-20 15:40:53 nmpap, that's the one 2020-07-20 16:34:12 hello ladies, gentlemen and others 2020-07-20 16:34:33 Is there any alternative to sway for a wayland out there? something not so bloated :) 2020-07-20 16:35:18 trick question 2020-07-20 16:35:44 cage? (disclaimer: not what you likely want) 2020-07-20 16:36:03 waymonad? (if you're into haskell) 2020-07-20 16:36:13 sway but without default config? 2020-07-20 17:12:23 I stripped config to a minimum, but overal is not very lighweight as simple tilling wm 2020-07-20 17:12:44 also little thing like swaybg running for nothing, on some distros it's optional 2020-07-20 17:13:01 or if I remember well, I did not have it somewhere 2020-07-20 17:13:33 fuck put background to tilling wm is nonsense, and put some package for it ... 2020-07-20 17:21:13 if there is dwm thingie for wayland, i might give it a shot 2020-07-20 17:22:39 there is some kind of dwl :) dwm for wayland 2020-07-20 17:23:06 i was okay with sway, however was few days on openbsd and used cwm and found it probably more practical 2020-07-20 17:24:09 but all that fakery with xorg after long time, it was killing me 2020-07-20 17:26:14 > also little thing like swaybg running for nothing, on some distros it's optional 2020-07-20 17:26:14 well, if you don't have it in your config, it won't run 2020-07-20 17:26:24 (whoops matrix replies) 2020-07-20 17:27:13 helby: what do you mean by "fakery"? 2020-07-20 17:28:23 yes, it runs 2020-07-20 17:28:32 eve I don't have anything related to it in config 2020-07-20 17:29:12 so yes, maybe it was not optional on some distro, probably just did not run 2020-07-20 17:29:21 but now I am looking and processes and it's not running 2020-07-20 17:29:35 so maybe when I checked it last time, I did some shit what activated that crap 2020-07-20 17:30:14 afontain_: fakery, I mean fuckering - tweaking all that Xresource .xsession xterm xinitrc .... crap! 2020-07-20 17:30:32 fuck and .... xterm 2020-07-20 17:31:06 ah, yes 2020-07-20 17:31:09 understandable 2020-07-20 17:32:01 oh now I see what activated swaybg 2020-07-20 17:32:15 'sway reload' activates that crap 2020-07-20 17:32:38 but sitll I did not realized how sway is big compared to what id does 2020-07-20 17:32:43 * it does 2020-07-20 17:48:04 error: collect2: fatal error: cannot find 'ld' -- is that something known? 2020-07-20 17:48:44 https://bsd.to/n9GQ/raw 2020-07-20 18:10:23 I don't think so, but I don't use use Haskell 2020-07-20 18:10:39 But we built cabal with it, so I guess ghc is functional? 2020-07-20 18:17:31 this is with an official bindist 2020-07-20 18:17:55 I can't figure out what's going on there... ld definitely is available 2020-07-20 20:11:27 oh actually someone made an s6-overlay thats neat 2020-07-20 20:15:07 mps: I did that, made no change 2020-07-20 20:30:05 PureTryOut[m]: can you telnet to host and port 2020-07-20 20:33:39 hello 2020-07-20 20:33:54 how to configure keyboard layout once installed? 2020-07-20 20:36:33 /sbin/setup-keymap: cd: line 17: can't cd to //usr/share/bkeymaps: No such file or directory 2020-07-20 20:40:40 linux-pine: can you check with 'apk info -e kbd-bkeymaps' is keymaps pkg installed 2020-07-20 20:45:43 installing it 2020-07-20 20:46:28 oh, it's dns issue 2020-07-20 20:46:31 let me fix that first 2020-07-20 20:57:23 it works, thanks 2020-07-20 20:57:31 although I'm not finding my keyboard layout in the list 2020-07-20 21:00:29 something rare? 2020-07-20 21:00:37 or special? 2020-07-20 21:05:38 mps http://0x0.st/iwzV.png 2020-07-20 21:07:10 I'm not sure what key layout it is 2020-07-20 21:07:49 pt-br 2020-07-20 21:09:09 maybe just 'br' 2020-07-20 21:37:03 well, that wouldn't make sense 2020-07-20 21:37:20 but now some keys work, thanks anyway 2020-07-20 22:19:19 Cogitri: I've successfully bootstrapped 32bit GHCs, based on the gentoo musl ones. The 8.0.2 was even without libtinfo split 2020-07-20 22:19:50 bindists that is... not alpine pkgs 2020-07-20 22:20:03 you could use them to build alpine packages 2020-07-20 23:03:19 funnily enough, we discussed the topic of bootstraping ghc a few hours ago 2020-07-20 23:30:24 anyone know of a guide to using apk on another distro? 2020-07-20 23:30:55 sure, install Adelie and use apk there :P 2020-07-20 23:31:04 heh 2020-07-20 23:31:16 assuming though you meant with the apk repos from alpine, perhaps you could flesh out your question 2020-07-20 23:31:45 I want to download some .apks from another system 2020-07-20 23:31:58 (so apk fetch) 2020-07-20 23:32:45 I believe you can just install and configure it and it will work 2020-07-20 23:34:08 maybe I need to try that in a chroot then 2020-07-20 23:35:00 might just be faster to run a vm with alpine actually 2020-07-20 23:35:27 or a docker container *cough* 2020-07-20 23:36:56 or use wget if you don't need index aware retrieval 2020-07-20 23:37:22 I wanted the full tree of deps too 2020-07-20 23:43:09 ERROR: Cannot open TUN/TAP dev /dev/net/tun: No such file or directory (errno=2) 2020-07-20 23:43:52 ¯\_(ツ)_/¯ 2020-07-20 23:44:07 isn't tun at /dev/tun on Alpine? 2020-07-20 23:46:04 no such file or directory, afontain_ 2020-07-20 23:47:09 you may need to modprobe it? 2020-07-20 23:47:34 (litterally `modprobe tun`) 2020-07-20 23:48:11 that did the trick, yes 2020-07-20 23:48:12 thanks 2020-07-20 23:54:01 Options error: --up script fails with '/etc/openvpn/update-resolv-conf': No such file or directory (errno=2) 2020-07-20 23:57:09 this looks like a missing dependency 2020-07-20 23:57:24 openvpn needs something related to resolvconf 2020-07-20 23:57:33 and it isn't finding it 2020-07-21 00:05:29 meh, just commented out the resolvconf part on the ovpn config file, and it worked 2020-07-21 00:09:54 but now I don't have any name resolution working 2020-07-21 00:15:56 https://forums.openvpn.net/viewtopic.php?p=61374&sid=04f1230321d127045c2bd9958a1afe0c#p61374 2020-07-21 00:16:06 apparently Alpine doesn't provide a "decent repo" 2020-07-21 00:25:36 Ok, this is how I fixed it: 2020-07-21 00:25:44 first, you need to install busybox 2020-07-21 00:25:49 apk add bash 2020-07-21 00:26:23 then do "nano /etc/openvpn/update-resolv-conf" 2020-07-21 00:27:45 paste this: https://dpaste.com/DGP22SA8W 2020-07-21 00:28:14 and finally make it executable: "chmod +x /etc/openvpn/update-resolv-conf" 2020-07-21 00:30:22 and that's how you make openvpn work in Alpine 2020-07-21 09:39:57 afontain_: you can basically use ghcup now to bootstrap a 32bit package 2020-07-21 09:40:03 10:37 pocke ah fuck 2020-07-21 09:40:03 10:37 pocke i just realised i didnt turn off caching on chromium 2020-07-21 09:40:03 10:38 pocke bundle.js is like 80% of the total size 2020-07-21 09:40:03 10:37 pocke so it had already had bundle.js 2020-07-21 09:40:04 10:37 pocke that explains the speed difference lol 2020-07-21 09:40:04 10:38 spark ah, well... there we go? all solved? 2020-07-21 09:40:04 10:38 pocke yeah 2020-07-21 09:40:05 10:38 spark not much we can do about a lack of edge caching. at least we arent on 10s page loads anymore 2020-07-21 09:40:05 10:39 spark used to be that way as there was no bundling at all... 2020-07-21 09:40:06 10:39 pocke haha yeah 2020-07-21 09:40:06 10:39 pocke you know how sites like the new reddit overhaul 2020-07-21 09:40:07 10:39 pocke loads a sort of blank, yet partially theme'd/shaped page before it actually starts downloading the content 2020-07-21 09:40:07 10:40 pocke that's the sort of thing i was thinking in terms of loading the forms first before the other heavy content 2020-07-21 09:40:08 10:40 pocke so the user can immediately start filling out a field even though the page isnt fully loaded 2020-07-21 09:42:00 sorry for that accident 2020-07-21 09:42:01 hiro: ? 2020-07-21 09:42:14 ah. ok 2020-07-21 09:42:20 happens 2020-07-21 09:42:26 i /wc 'ed when i realised i pasted a huge thing accidentally 2020-07-21 09:42:36 :D 2020-07-21 12:27:17 so this wiki entry mentions putting stuff in /etc/crypttab > https://wiki.alpinelinux.org/wiki/LVM_on_LUKS 2020-07-21 12:28:08 but thats just wrong? crypttab is never used in normal setup? its some systemd stuff and the 'real' way to do it is adding entrys to /etc/conf.d/dmcrypt and add dmcrypt to boot? 2020-07-21 12:29:57 also the procedure described in "Syslinux with BIOS" doesn't work, as one is supposed to chroot into a directory, which doens't have /dev bind mounted so calling 'update-extlinux' just fails. 2020-07-21 12:31:30 gentoo wiki comes to the rescue. but its sad, that the only resource to make fde on alpine is proned with so many errors. 2020-07-21 12:35:45 also the entry for installing a bootloader > https://wiki.alpinelinux.org/wiki/Bootloaders#Installing_Syslinux 2020-07-21 12:36:54 it mentions writing gptmbr.bin to the mbr. but doesn't say a thing about adding the legacy bootable flag to the '/boot' partition. so it also just doesn't work. 2020-07-21 12:37:04 syslinux/gentoo wiki to the rescue again. 2020-07-21 12:38:15 i think it may be better to just redirect people to the real resources instead of having really misleading, untested and by the time frustrating wiki articles. 2020-07-21 12:40:00 your observations are right but I think wiki is not official guides/docs 2020-07-21 12:40:53 and wiki can be edited/added/fixed by anyone who are ready to do that 2020-07-21 12:42:04 so, would be nice if you add your notes or write correct guide, ofc if you have time and will 2020-07-21 12:42:26 sorry for sounding a bit 'ranty'. what are the official guides/docs? with much of the stuff inhereted from other distros (gentoo, debian) its somehow not very clear to me where to look. 2020-07-21 12:42:54 alpine doesn't have much of official docs 2020-07-21 12:43:12 only this https://docs.alpinelinux.org/user-handbook/0.1a/index.html 2020-07-21 12:44:37 thanks. didn't know there were any official docs :) 2020-07-21 12:45:34 they seem pretty barebone. repeating what the autoinstaller does and one page about openrc and apk. 2020-07-21 12:46:48 https://docs.alpinelinux.org/user-handbook/0.1a/Installing/manual.html#_partitioning_your_disk 2020-07-21 12:47:14 and, yes, it is not 'exhaustive' guide 2020-07-21 12:48:22 but alpine is mostly used by developers and experienced admins/users (not important but wanted to note that) 2020-07-21 12:50:13 alpine doesn't have so much develepors and contributors like big distros, and most are concentrated on improving software and less about docs 2020-07-21 12:51:09 The docs should get better eventually, but someone has to dedicate the time to do so 2020-07-21 12:54:37 well then maybe i can't dodge and have to write an improved fde article. hope i can carve out the time in the next few days before i forget eveything again. 2020-07-21 12:56:34 rest of the distro seems rock solid so i was very sad about misleading docs, which hopefully may excuse my rant a bit. 2020-07-21 12:58:58 don't worry about your rant, we know that docs are 'not so good' :) 2020-07-21 13:16:10 hello ladies, gentlemen and others 2020-07-21 13:16:47 Any idea what can cause firefox crash during watching video https://dpaste.org/h3OW/slim 2020-07-21 13:17:36 that crash is not just random, it's all the time I watch a video in a browser for a minute approx 2020-07-21 13:17:38 Is that DRM video? 2020-07-21 13:17:46 no idea 2020-07-21 13:17:58 can be that? 2020-07-21 13:18:08 We've had crashes with widevine enabled, but I haven't ever had FF crash on me with other media (or at all really) 2020-07-21 13:18:35 I have disabled widevine, but tried also with fresh profile and it crash the same 2020-07-21 13:19:14 I think it did not happen on the same system with sway/wayland 2020-07-21 13:19:28 now I am on X/cwm 2020-07-21 13:19:37 and it happens :) 2020-07-21 13:20:58 hard to watch pornhub then :/ 2020-07-21 13:30:04 I have relatively lean system and after change to X from wayland something maybe missing, no idea what is related to 2020-07-21 13:37:28 testing it now in sway/wayland and it does not happen 2020-07-21 13:38:36 Huh 2020-07-21 13:41:32 I get that second error NS_ERROR_DOM_MEDIA_METADATA_ERR but nothing crashing or any visible issue 2020-07-21 13:41:37 on sway/wayland 2020-07-21 13:42:05 I have no idea what these errors even mean and what it is related to, so cahnging window manager can do something? 2020-07-21 13:42:34 bc. still cwm is from openbsd, there can be some 'security' magic :D 2020-07-21 13:42:43 will try another wm 2020-07-21 13:53:17 openbsd isnt the pinnacle of software security just to let you know 2020-07-21 13:53:30 they do focus on it but they arent immune to bugs 2020-07-21 13:53:34 or poor design 2020-07-21 13:54:33 I know 2020-07-21 13:55:38 their 'security' many times fuck up usage of something 2020-07-21 14:26:38 now that shit does not happen after tried in sway and other X wm ... 2020-07-21 14:26:57 I don't know, uninstalled all and back to cwm but it did not happen 2020-07-21 14:28:48 maybe I miss some lib package for X or whatever ... 2020-07-21 17:22:52 we gonna see how alpine perfroms in the real worldz 2020-07-21 17:24:45 mm.. standard or extended? 2020-07-21 17:27:39 no information or details --> Most common used packages included. 2020-07-21 17:46:09 so after some long time I am again back to xorg and all that X fakery is here :) 2020-07-21 17:46:36 I am little bit lost with xf86-video-intel/modesetting mesa-gallium mesa-classic crap 2020-07-21 17:47:12 I would not fuckering with that much and install just bare minimum if system run, but somehow have crashes in firefox during video play 2020-07-21 17:47:33 komnpomat: extended is for when you need extra packages before you can get online 2020-07-21 17:47:34 crashes/freezing that does not happen in wayland 2020-07-21 18:10:16 helby: rock solid here 2020-07-21 18:10:56 komnpomat: I don't know, maybe I miss some Xsomething 2020-07-21 18:11:03 ikke: do i need to reboot or something to get the devs populated in /dev/disk after installing udev ? I've started the service but I see nothing there 2020-07-21 18:11:23 komnpomat: the same system, issue on xorg, but not wayland 2020-07-21 18:12:01 komnpomat: that fucking firefox freeze the way, can't even close it from wm, just to kill it 2020-07-21 18:12:31 komnpomat: I don't know why I came back to X again ;) 2020-07-21 18:13:01 komnpomat: oh I know, sway is 5MB! wm 2020-07-21 18:14:21 interesting 2020-07-21 18:14:31 sway didn't work for me, never 2020-07-21 18:15:48 for me without a touch, that I like on sway/wayland, not any fakery in setting, driver or anything, started sway and done 2020-07-21 18:17:04 I've never had an issue with sway 2020-07-21 18:17:15 I don't have NVidia drivers, so maybe that's why 2020-07-21 18:17:42 well, just mouse cursor sometimes missing there :) 2020-07-21 18:17:53 but only in videos 2020-07-21 18:18:17 ah, yes, the mouse cursor thing 2020-07-21 18:18:28 I've had some issues with swayidle though 2020-07-21 18:18:48 no, swaylock actually 2020-07-21 18:21:39 eydaimon: might be that you need config that creates those entries 2020-07-21 18:21:48 eydaimon: https://unix.stackexchange.com/a/86775/10643 2020-07-21 18:21:59 ikke: thanks much 2020-07-21 18:30:14 helby: which package did you add? I will try right now 2020-07-21 18:34:44 helby: which commands installs sway flawlessly? 2020-07-21 18:40:13 komnpomat: try 'apk add sway' ;) 2020-07-21 18:41:24 btw. you don't need to leave your X 2020-07-21 18:41:41 u can open sway from other tty, not fakering like in X ;) 2020-07-21 18:41:58 helby: sway pulls all the other deps? 2020-07-21 18:42:04 well actually u can even open in inside your X 2020-07-21 18:42:20 helby: what about starting from scratch? 2020-07-21 18:42:23 komnpomat: something yes, probably not your gpu driver /mesa 2020-07-21 18:42:30 does it need a menu, terminal? 2020-07-21 18:42:39 komnpomat: do u need terminal? :) 2020-07-21 18:42:55 komnpomat: some font, terminal is useful 2020-07-21 18:43:01 helby: you said 'sway that's it' 2020-07-21 18:43:13 I am concerned about missing pieces 2020-07-21 18:43:34 u will see :) 2020-07-21 18:45:13 komnpomat: if u install font and some terminal, ideally alacritty that it works even without your config then you are okay and it runs 2020-07-21 18:46:00 komnpomat: just remember sway is 50 times bigger ehan some small wm :) 2020-07-21 18:46:06 it's monster like i3 2020-07-21 18:46:24 :( 2020-07-21 18:46:43 helby: how to tweak grub command line? 2020-07-21 18:46:54 what u want to tweak there? 2020-07-21 18:46:58 do I need to run /etc/mkinitrd? 2020-07-21 18:47:00 delete whole fucking grub 2020-07-21 18:47:06 add some stuf 2020-07-21 18:47:14 add staff to grub? 2020-07-21 18:47:43 things 2020-07-21 18:47:53 example? 2020-07-21 18:48:27 there is some shit /etc/default/grub 2020-07-21 18:48:55 and /etc/grub.d 2020-07-21 18:49:06 how to redo the initrd? 2020-07-21 18:49:09 custom section for people who wanna some bullshit 2020-07-21 18:49:26 eydaimon: hei, where you the one making initrd? 2020-07-21 18:49:42 mkinitfs 2020-07-21 18:50:06 just run that crap as root 2020-07-21 18:50:17 I bet you will not boot again 2020-07-21 19:06:01 I found it, it was in the backlog 2020-07-21 19:06:19 is it me, or alpine's boot isn't that much verbose? 2020-07-21 19:08:24 in grub u have 'quiet' optin, so u don't see tons of messages 2020-07-21 19:10:50 good call 2020-07-21 19:10:51 thanks 2020-07-21 19:20:27 fucking google 2020-07-21 19:20:46 again mark my emails as spam with even warnign that similar email was used to steal info bla bla 2020-07-21 19:21:09 can't do shit about it, server and all headers are top notch 2020-07-21 19:28:56 a header can top notch? 2020-07-21 19:29:01 how? 2020-07-21 19:31:40 I meant my mail sever is well set up 2020-07-21 19:32:01 with all dkim spf dmarc, headers return-path everythins is done the way, that can't improve it more 2020-07-21 19:32:24 komnpomat: nope. I had the zfs boot issues 2020-07-21 19:32:31 komnpomat: or have rather 2020-07-21 20:08:23 btw. fuck X I am back to wayland :) 2020-07-21 21:18:43 shouldn't `apk search cmd:telnet` list telnet under busybox-extras ? 2020-07-21 21:24:50 apk info --who-owns $(which telnet) 2020-07-21 21:25:40 adu: does that work with packages you don't have installed too ? 2020-07-21 21:25:54 eydaimon: looks like it doesn't work for bb applets 2020-07-21 21:26:52 eydaimon: no 2020-07-21 21:27:38 eydaimon: yes 2020-07-21 21:28:55 I don't have vis, but apk search cmd:vis shows vis, beside other pkgs which have cmd beginning with 'vis' 2020-07-21 21:30:34 and it works for coreutils 'applets' but not for busybox 2020-07-21 21:30:38 interesting 2020-07-21 21:32:27 mps: I was specifically asking about busybox. If ikke hadn't told me telnet was part of busybox-extras, I wouldn't have a way of knowing 2020-07-21 21:32:46 I think it wold be useful if busybox commands were indexed too 2020-07-21 21:33:17 I think I told you that 2020-07-21 21:33:28 they're a bit of a special case aren't they 2020-07-21 21:33:53 yes, bb applets are 'instantiad' on install 2020-07-21 21:35:22 heh, I was right '2020-07-20 17:33............. mps| only busybox-extra have telnet cmd' 2020-07-21 21:35:37 mps: oh, perhaps. thank you for that :) 2020-07-21 21:35:47 so without you, I would have been lost 2020-07-21 21:36:07 np, I just checking how my memory works :) 2020-07-21 21:36:22 TBB: yes, special cases, but doesn't mean it can't be done. telnet is somethign people will look for 2020-07-21 21:38:32 I could add one 'advice', if you can't find command type 'busybox | grep cmdname' 2020-07-21 22:52:36 mps: thanks 2020-07-21 23:04:37 Hello! 2020-07-21 23:04:55 welcome 2020-07-21 23:05:14 I'm using Alpine 3.12 which comes with clang v10, but actually I'd like to be using clang v9 which Alpine 3.11 used... 2020-07-21 23:06:07 Is there a way to install clang v9 with Alpine 3.12 without recompiling clang etc? 2020-07-21 23:22:39 https://superuser.com/questions/1055060/how-to-install-a-specific-package-version-in-alpine 2020-07-21 23:23:09 this seems to work for installing clang v9 from Alpine 3.11 into Alpine 3.12 ... 2020-07-21 23:29:48 is it a package? I believe you can do apk add clang=9 .. whatever version 2020-07-21 23:29:53 or maybe apk add clang<10 will work 2020-07-21 23:30:13 simon: ☝️ 2020-07-21 23:31:01 yep, that's what the link suggests: 1. add previous Alpine repo. 2. apk add 'clang<10' :-) 2020-07-21 23:54:16 when it breaks you get to pick up the pieces 2020-07-21 23:59:10 :-) 2020-07-22 03:57:17 ikke: I didn't learn anything from the stackexchange on udev :/ i still don't know how to access by disk 2020-07-22 06:01:45 lol --> floppy:x:11:root 2020-07-22 06:01:58 why still around? 2020-07-22 06:54:57 wow, segfaulting hard 2020-07-22 10:32:23 komnpomat: probably because nobody removed it 2020-07-22 10:39:25 Historical fact: The floppy inspired today's "save icon", often confused with the representation of a vending machine. Infact, they were a thin, bendable "floppy" magnetic disk that was encased in a harder plastic cover. 2020-07-22 10:40:36 They were called floppies because they used to be quite floppy. But the later smaller ones had a harder case, and hence, not that floppy 2020-07-22 10:42:02 Right, but the material inside was always floppy. The case on the larger 5" and even 8" ones were particularly floppy, though, indeed. 2020-07-22 10:49:35 Hi, I'm probably missing something terribly stupid but with the update to erlang 23 in 53aebeddaa4ae6901b1c40652c1cdd21b57106cb most of the subpackages have been removed. I've been looking for information that all these packages appear to have been merged into plain "erlang". Is there some documentation out there I have missed? Maybe some info in 2020-07-22 10:49:36 the upgrade notes for 3.12? 2020-07-22 11:01:25 It's something that possibly could have been mentioned in the release notes, but u 2020-07-22 11:01:36 it's not easy to capture all significant changes 2020-07-22 11:02:46 The libraries are still present, so it's more like a logistical change than a functional one 2020-07-22 11:06:56 Count Geiger[d]: How do I get a startup service to actually wait for the network to come online? I have added `need "net network-online"` to the service, but as soon as udhcp times out, it starts the service, and then I get my IP adress a few seconds later. 2020-07-22 11:08:08 https://github.com/OpenRC/openrc/blob/master/service-script-guide.md#be-wary-of-need-net-dependencies 2020-07-22 11:11:16 komnpomat: ncopa: floppy driver got some improvement in a latest kernels 2020-07-22 11:15:00 Count Geiger[d]: Thanks for the link, but as I said, the problem is that dhcpd times out, forks to background and then says network is started, which makes my service start as well. I have tried using network-online, but i don't seem to be able to get it to run at all, regardless of whether I add it to a runlevel or not. Does net-online (the rc-script that provides network-online, from what I can tell) need to be invoked in a diff 2020-07-22 11:18:57 It's called net-online, not network-online 2020-07-22 11:22:14 Count Geiger[d]: I have tried both, but in the net-online-script it has a `provide network-online` which I assume is the keyword I should be basing my dependency on? Either way, I have tried both, but the service doesn't get started regardless of which runlevels I try to put it in. 2020-07-22 13:42:18 I see that thunderbird is available in edge branch, testing repository 2020-07-22 13:42:31 is it safe to assume this will be included in the next version of alpine? 2020-07-22 13:42:45 its not available in 3.12 2020-07-22 13:42:46 No, as long as it's in testing, it won't be part of a stable release 2020-07-22 13:42:57 I see 2020-07-22 13:43:15 is there a good GUI email client that I can use? I'm open to using any 2020-07-22 13:43:25 .. that is included in 3.12 2020-07-22 13:44:54 I use Evolution on all of my machines 2020-07-22 13:47:44 Cogitri: that looks good enough for my needs, thanks 2020-07-22 14:17:06 abenz: claws also is gui and is simple 2020-07-22 14:48:29 mps: claws seems like a better fit for an openbox user 2020-07-22 14:48:31 cheers 2020-07-22 14:53:05 yes, and it not resources hungry like other gui clients 2020-07-22 14:55:04 I just came to say THANKS, because crontab's @reboot works! 2020-07-22 14:55:12 THANK YOU VERY MUCH for Alpine Linux 2020-07-22 14:55:17 <3 2020-07-22 14:55:23 :D 2020-07-22 14:55:56 I love its nobullshit approach 2020-07-22 14:56:10 got my stuff running in no time, and learned a lot in the process 2020-07-22 14:58:34 nice to hear 2020-07-22 16:25:15 anyone here have a working nagios setup on Alpine? I for the life of me can't get lighttpd to serve it correctly, just end up with 403 forbidden errors.. 2020-07-22 16:38:22 So, i have a networking question... I'm trying to share my server's ipv6 with my home using wireguard and routing. When I try to ping out i see the packets going from my home all the way out the internet but packets don't come back 2020-07-22 16:53:38 Hello, is there anyone able to help me with dcron on Alpine? It doesn't create cron.d in /etc/cron.d -- so doesn't conform to the man page. It also doesn't run any cron job inside a manual made /etc/cron.d location. There also isn't any log output at /var/log. Has anyone got any experience with this? 2020-07-22 16:54:04 To confirm, the service is running 2020-07-22 17:01:48 the day alpine adds support to systemd I live stream my hands getting guillotined 2020-07-22 17:03:09 big letdown with qemu here 2020-07-22 17:03:35 whereas in gentoo musl it works flawlessly 2020-07-22 21:20:44 Cogitri + firneds: random question, if I notice a new longterm linux-lts dropped on kernel.org, should i submit an MR bumping the linux-lts package or is there some automated process that covers that? 2020-07-22 21:24:33 c705: this is on ncopa to decide when and which kernel will be introduced to alpine 2020-07-22 21:25:04 understood 2020-07-22 21:25:42 we expect that the new LTS will be released in september-october 2020-07-22 21:25:57 oh, i meant for edge 2020-07-22 21:26:21 yes, I'm talking about edge 2020-07-22 21:27:06 https://www.kernel.org/category/releases.html 2020-07-22 21:27:07 i mean 5.4.53 was released today, but the packages are refing to 5.4.52. We'll wait until September to bump that? 2020-07-22 21:27:22 ah, that 2020-07-22 21:27:37 this is upgrade 2020-07-22 21:27:46 not like i'm in a rush, just seeing if I can be helpful 2020-07-22 21:28:12 this is usually done by ncopa or someone from kernel team 2020-07-22 21:28:37 and we are fast at that :) 2020-07-22 21:28:45 should I reboot for musl 1.1.24-r9 -> 1.2.0-r0 ? 2020-07-22 21:29:04 mps: sweetness 2020-07-22 21:29:06 I already noticed that I have to upgrade linux-edge tomorrow 2020-07-22 21:29:22 yeah you guys are usually within 24h I find 2020-07-22 21:29:26 codebam: not needed, but you can 2020-07-22 21:29:37 i just wait to build my stuff until the new upgrade releases 2020-07-22 21:29:38 okay, cool :) 2020-07-22 21:30:14 if I install linux-edge will that just add another boot entry to grub? 2020-07-22 21:30:46 it should, but I'm not 100% sure 2020-07-22 21:30:54 I'm gonna find out, brb :) 2020-07-22 21:31:28 i don't see linux-edge in any repos. where is it? 2020-07-22 21:31:54 c705: testing 2020-07-22 21:31:55 ah, i see it, nevermind 2020-07-22 21:31:58 yup 2020-07-22 21:33:16 yep just added another entry, awesome 2020-07-22 21:34:07 for some reason the tty font is different on edge than lts. doesn't bother me, just something I noticed. did they change the default font in the kernel recently? 2020-07-22 21:34:09 i have encountered a very wierd phenomenon. virsh/libvirt just hang and do nothing. libvirtd is definitely started. /var/log/libvirt/libvirtd.log says nothing. 2020-07-22 21:34:34 bndeter_: yeah, that's a known bug. let me link you the issue 2020-07-22 21:35:11 codebam: they should be same 2020-07-22 21:35:12 bndeter_: https://gitlab.alpinelinux.org/alpine/aports/-/issues/11602 2020-07-22 21:35:35 workaround is to kill the extra libvirtd process that spawns off of the openrc service start 2020-07-22 21:35:48 idk then. the one in edge is less blocky and looks more like a display font 2020-07-22 21:36:37 c705: thanks. was very confused. 2020-07-22 21:37:09 bndeter_: yeah, no kidding. i spent 3 weeks trying to figure it out myself 2020-07-22 21:37:11 i think i tried everything. and somehow this issue dodged my googling. 2020-07-22 21:37:54 codebam: fonts have different settings :) 2020-07-22 21:38:41 c705: did you automate the process killing by any chance? :D 2020-07-22 21:38:48 yep 2020-07-22 21:39:27 works like a charm. unfortunately upstream doesn't see this as a bug, so might have to be doing that for a while 2020-07-22 21:39:37 until libvirt wants to conform to POSIX again 2020-07-22 21:41:22 seems confusing. just reading the issue log. 2020-07-22 21:41:45 bndeter_: https://gitlab.com/libvirt/libvirt/-/issues/52 is the upstream bug 2020-07-22 21:42:01 dalias put it quite well, though most of it goes over my head 2020-07-22 21:43:49 the way i see it, long story short, they write non conforming code that violates POSIX, but works somehow in glibc. musl has problems with their non conforming code. they don;t se an issue because "they don't target musl systems" 2020-07-22 21:49:02 c705: heh, we are fast kernel, just pushed linux-edge-5.7.10 :) 2020-07-22 21:49:23 didn't wanted to wait tomorrow 2020-07-22 21:49:36 c705: i'm at the iptables part of the issue. somehow i'm really confused this is not a bigger/common issue. 2020-07-22 21:50:01 neat-o. i think i'll start using edge kernels now that I know there's a package 2020-07-22 21:50:23 bndeter_: as far as i'm concerned, it is a big issue for musl based systems. keep on reading 2020-07-22 22:06:05 c705: I forgot to tell that you can create MR for linux-lts but then you should try add all dependent packages and linux-rpi 2020-07-22 22:06:54 mps: yeah, i'm too dumb for that right now. i'll leave it up to the professionals. I'd like to get more involved at some point though 2020-07-22 22:07:17 ok, np 2020-07-22 22:52:17 c705: spicy issue thread. nice read. makes me consider avoiding libvirt alltogether and qemu the stuff myself. 2020-07-22 22:53:08 bndeter_: i've half thought about it 2020-07-22 22:53:18 i'm hoping someone bigger than us complains and they get their shit together 2020-07-22 22:54:16 yeah that would be nice. but also sad, that it would take that. would not increase my confidence in the tool. 2020-07-22 22:56:20 i think i understood enough of the technical part to be concerned about the maintainers attitude. 2020-07-22 22:56:50 upstream is usually like that 2020-07-22 22:57:42 the guy who amde xscreensaver code bombed debian back in like 2015 and left a nasty message for us all about how our operating system was shit 2020-07-22 22:57:52 f_cking developers man.. 2020-07-22 23:05:46 yeah there is some xscreensaver popcorn action in my memory. 2020-07-22 23:06:58 c705: any chance i can copy+paste your workaround? or are you just using this? > https://gitlab.alpinelinux.org/alpine/aports/-/issues/11602#note_97838 2020-07-22 23:07:56 yeah, hold on a sec 2020-07-22 23:09:24 https://termbin.com/f097 2020-07-22 23:09:38 it ain't pretty but it works 2020-07-22 23:09:55 first command find the pid of the exta process, second kills it 2020-07-22 23:11:53 c705: thanks a lot :) that regains me a few minutes back after i tried debugging for hours :D 2020-07-22 23:12:35 bndeter_: yeah, believe me, i spent so much time trying to debug this myself. I thought it was something I was doing because generally alpines maintainers are decent 2020-07-22 23:12:53 c705: that works in glibc because glibc specifically has partial account for AS-unsafe code in MT forks. Its not something that should be relied upon because its a side effect of other unspecified bugs in glibc 2020-07-22 23:13:10 maldridge: yeah, totally agree 2020-07-22 23:13:55 as to why libvirt has this bug, I'd say obstinance from developers that don't want to publicly admit they drew a line in the sand without fully understanding the implications of that line 2020-07-22 23:14:02 (and then tripping over it a few lines later) 2020-07-22 23:14:43 maldridge: it's even in their own documentation according to what dalias posted 2020-07-22 23:15:04 i can't pretend I fully understand it, but if they break posix, then what did they expect? 2020-07-22 23:15:32 this line in the send looks pretty freshly drawn ;) 2020-07-22 23:17:44 I'd discuss more in -offtopic, but fwiw I think jwz was fully justified in their unmaintained splash screen notice 2020-07-22 23:19:08 maldridge: i don't but we'll leave it at that 2020-07-22 23:20:59 c705: before i copy the commands into another script. whats the language/tool you used in the workaround? it doesn't look familiar to me 2020-07-22 23:21:25 that's ansible 2020-07-22 23:21:33 bndeter_: oh, this is an ansible yaml file. you can just copy the shell commands if you'd like 2020-07-22 23:24:41 okey thanks. was just curious an obviously didn't use it before. 2020-07-22 23:25:55 https://ansible.com has more information if you're curious 2020-07-22 23:26:33 i will just paste in into a service, thats depends on libvirt before i open the magic box of another automation tool :D 2020-07-22 23:26:57 ansible is incredibly powerful, but like all foot-cannons its best aimed at someone else 2020-07-22 23:28:07 maldridge: i 2020-07-22 23:28:52 i will probably not be able to dodge it alltogether, but i try to delay it as far as i can :D 2020-07-23 00:10:11 if i have this rule in iptables: -A sshguard -s 112.85.42.0/24 -j DROP, why would I see this in my /var/log/messages just a few minutes ago? Failed password for root from 112.85.42.87 2020-07-23 00:17:39 eydaimon: do you have an accept rule before the drop? 2020-07-23 00:17:52 might want to share in a pastebin `iptables -nvL` output 2020-07-23 00:20:45 c705: thanks 2020-07-23 00:20:52 can I send it in private to you ? 2020-07-23 00:22:11 sure 2020-07-23 00:23:35 eydaimon: you don;t have a jump rule to sshguard 2020-07-23 00:24:04 c705: what's a jump rule? Sorry I've never used iptables before 2020-07-23 00:24:16 I know ipfw decently :P 2020-07-23 00:24:42 eydaimon: oh..right. I don't know the firewall you're using, but it uses iptables in the backend 2020-07-23 00:25:02 c705: ufw 2020-07-23 00:25:05 it looks like you created a ruleset called `sshguard` but you are not directing traffic anywhere to that ruleset 2020-07-23 00:25:10 c705: well, sshguard uses iptables directly 2020-07-23 00:25:32 https://sshguard.net/ is good stuff, FYI 2020-07-23 00:25:38 oh, i see. you need to configure ufw to pass traffic into that ruleset 2020-07-23 00:25:47 you know what's even safer? not running ssh! 2020-07-23 00:26:34 c705: ok, let's say I stop using ufw. then what do I do ? 2020-07-23 00:26:57 then you'd have to configure iptables 2020-07-23 00:27:28 https://wiki.archlinux.org/index.php/Iptables 2020-07-23 00:27:28 oh, iptables -A INPUT -j sshguard 2020-07-23 00:27:48 -A will append the rule. it needs to come before the drop rule 2020-07-23 00:27:51 i freaking read this in the docs when I was setting up the other day 2020-07-23 00:27:56 but I guess I missed it 2020-07-23 00:28:02 well, there ya go 2020-07-23 00:28:17 -j is a jump FYI 2020-07-23 00:28:19 thanks for looking 2020-07-23 00:28:22 np 2020-07-23 00:28:25 you werent born with iptables skills burnt into your grey matter??!?! 2020-07-23 00:28:29 yupp, I rember that in the man-page :) 2020-07-23 00:28:36 nacelle: 🤣🤣🤣 2020-07-23 00:29:30 mps: i don't know if you're still around, but any idea why xtables-addons-lts exists but not xtables-addons-edge 2020-07-23 00:30:09 if I play some crap with ffplay, does it should open a new window by default if option -nodisp is not present? 2020-07-23 00:30:17 i mean, can I just add xtables in userspace? 2020-07-23 00:30:37 helby: no idea, but you can ask ##linux as well 2020-07-23 00:30:54 can't get how to play video with it in wayland 2020-07-23 00:31:01 not sure if it's related to wayland ;) 2020-07-23 00:31:10 wayland works now ? 2020-07-23 00:31:31 wayland always worked. but it has some pretty significant features missing you'd might expect 2020-07-23 00:31:51 anything better than fakery with xorg 2020-07-23 00:31:58 always is a stretch, I remember when it was announced ... 2020-07-23 00:32:16 I can't get this thing with ffplay 2020-07-23 00:32:22 recently, anyways 2020-07-23 00:32:27 it looks like it playing video but somehow in background somewhere 2020-07-23 00:32:30 I remember when ubuntu first got it as part of the distro ... etc 2020-07-23 00:32:35 does not open that extra window with it 2020-07-23 00:32:44 helby: it's not an alpine related question, feel free to ask ##linux that has more traffic 2020-07-23 00:32:59 c705: no thank you :) 2020-07-23 00:33:13 eydaimon: ubuntu introducing it was stupid. I don;t think it's stable enough to introduce it in a main distro 2020-07-23 00:34:15 c705: yeah, perhaps. I waited for it for years hoping it would make linux have a really decent desktop comperable with macos or something 2020-07-23 00:35:06 does macOS include the screen isolation as well? 2020-07-23 00:35:12 I kind of doubt that 2020-07-23 00:36:28 doesn't matter to me. it's a proper window manager. Even android ... but it's been awhile since I ran X on a desktop 2020-07-23 00:37:06 wayland isn't a window manager though 2020-07-23 00:37:16 window server then 2020-07-23 00:37:44 last time I used X professionally was back in 2007 on FreeBSD. I thought my machine was starting to run a bit sluggish. Turns out I only had 256mb of ram 😂 2020-07-23 00:38:21 still getting: Failed password for root from 112.85.42.87 2020-07-23 00:38:40 and that'a fter adding that: iptables -A INPUT -j sshguard 2020-07-23 06:06:47 is there a way to flush all the rules and start clean with iptables ? 2020-07-23 06:29:52 --flush -F [chain] Delete all rules in chain or all chains 2020-07-23 08:15:58 Don't forget to reset policies before that 2020-07-23 08:16:07 if the default policy is DROP, you lock yourself out 2020-07-23 08:20:11 (-F does not reset the default policies of each chain) 2020-07-23 08:32:54 Hello! I cannot get bitlbee to use any user but "nobody" in Alpine. What am I doing wrong? 2020-07-23 08:33:42 How are you specifying another user to use? 2020-07-23 08:34:47 nobody:nobody seems hardcoded in the initd file 2020-07-23 08:35:08 "User = bitlbee" in the config. 2020-07-23 08:35:12 As always. 2020-07-23 08:35:16 Hm. 2020-07-23 08:35:36 that requires it to start as root 2020-07-23 08:35:38 which it doesn't 2020-07-23 08:35:51 It doesn't? 2020-07-23 08:35:53 no 2020-07-23 08:35:57 it starts as nobody 2020-07-23 08:36:10 Why did Alpine change that? 2020-07-23 08:36:31 It's a best practice to not start daemons as root if they don't require it 2020-07-23 08:36:47 Is it safe to run bitlbee as nobody? 2020-07-23 08:37:51 Yes, that's kind of it's purpose 2020-07-23 08:39:04 Thanks! 2020-07-23 08:39:12 Hmm, this does give a different perspective though: https://askubuntu.com/a/674397/1733 2020-07-23 08:40:18 I read about that before. It didn't sound safe to run bitlbee as nobody, but I trusted you. :P 2020-07-23 08:41:12 Well, it's not unsafe to use the user nobody 2020-07-23 08:42:07 Okey. :) 2020-07-23 08:42:29 it's basically just another user on the system 2020-07-23 08:43:36 That answer says basically that it's usefulness diminished when you run more than one daemon as the same user 2020-07-23 08:43:45 disminishes* 2020-07-23 08:44:06 I'm only using WeeChat. It's a tiny client with like two things running on it. 2020-07-23 08:45:04 I would not worry too much about it 2020-07-23 09:22:17 I changed my cache folder to an external disk with setup-apkcache. How do I delete the old read only folder? 2020-07-23 09:22:46 the cache folder should not be read-only 2020-07-23 09:23:18 Oh 2020-07-23 09:23:23 It is for some reason. 2020-07-23 09:24:39 It's set to "ro" in fstab. 2020-07-23 09:25:19 On what disk / device? 2020-07-23 09:25:21 `/dev/mmcblk0p1` to be precise. 2020-07-23 09:29:05 The disk is full and the old cache is about 200 MB in size, so it would be nice if I could remove it. 2020-07-23 09:29:28 Where is that disk mounted? 2020-07-23 09:30:33 /dev/mmcblk0p1 29.7G 139.2M 29.6G 0% /media/mmcblk0p1 2020-07-23 09:32:25 ok, you can do: mount -oremount,rw /media/mmcblk0p1 2020-07-23 09:32:30 that should mount it writable again 2020-07-23 09:33:35 Nope. 2020-07-23 09:35:09 flick the switch on your mmc card perhaps :) 2020-07-23 09:35:43 I don't tink thos tiny cards have one. 2020-07-23 09:35:45 those 2020-07-23 09:36:02 I'm pretty sure I wouldn't be able to save anything to it then either. 2020-07-23 09:39:28 But how can you write anything to it if it's mounted ro? 2020-07-23 09:40:22 How do I know? I'm not the one who created Alpine. :P 2020-07-23 09:41:18 rootfs is tmpfs, that's not persisted 2020-07-23 09:41:51 I assume this a run-from-ram system, given that you are using sd cards 2020-07-23 09:42:00 Yes 2020-07-23 09:42:48 what does blkid /dev/mmcblk0p1 return? 2020-07-23 09:43:54 /dev/mmcblk0p1: UUID="D7BE-67A6" TYPE="vfat" 2020-07-23 09:44:09 ok, vfat should be writable at least 2020-07-23 09:44:12 and dmesg | tail? 2020-07-23 09:44:33 [10239.046428] FAT-fs (mmcblk0p1): error, fat_free_clusters: deleting FAT entry beyond EOF 2020-07-23 09:45:28 aha, so it's mounted ro due to a filesystem error 2020-07-23 09:45:28 [10239.046444] FAT-fs (mmcblk0p1): Filesystem has been set read-only 2020-07-23 09:45:33 yes 2020-07-23 09:45:37 Yep. 2020-07-23 09:46:01 So you need to fix that first 2020-07-23 09:46:10 if possible 2020-07-23 09:46:55 make sure dosfstools is installed 2020-07-23 09:47:07 then try to run fsck /dev/mmcblk0p1 2020-07-23 09:48:42 Hey Guys, I'm seeing a lot of BAD SIGNATURE on the arm repo `ERROR: py3-dbusmock-0.19-r0: BAD signature` for example, but also others. amd64 seems to be fine; any idea when this is resolved (and where the problem lies?) 2020-07-23 09:49:02 * Hey Guys, I'm seeing a lot of BAD SIGNATURE on the armv7 repo `ERROR: py3-dbusmock-0.19-r0: BAD signature` for example, but also others. amd64 seems to be fine; any idea when this is resolved (and where the problem lies?) 2020-07-23 09:49:26 oliv3r[m]: https://lists.alpinelinux.org/~alpine/devel/%3C20200721171650.48fa63a4%40ncopa-desktop.copa.dup.pw%3E 2020-07-23 09:51:19 to get around it, either use a different mirror (our cdn mirror cached the old packages), or wait for us to have purged them 2020-07-23 09:51:53 ikke: It fixed some things, but I can't mount it as rw. 2020-07-23 09:52:49 thanks ikke; so different mirror is a good idea; how long will the purging of the CDN take you reccon? 2020-07-23 09:53:38 oliv3r[m]: puring itself doesn't take long, but because package are still being rebuild (after they have been fixed), it will have to be done regularly 2020-07-23 09:54:12 ok; so a few days at least to be running 'normally' again 2020-07-23 09:54:45 ikke: Running it two more times seems to have fixed it. 2020-07-23 09:56:57 I'm not sure how to fix the full tmpfs though? 2020-07-23 09:57:55 So I can save the changes to the 'disk'. 2020-07-23 09:58:14 lbu commit 2020-07-23 09:59:09 I know, but something is full so I can't save the changes. 2020-07-23 09:59:24 gzip: short write: No space left on device 2020-07-23 09:59:26 tar: write error: Broken pipe 2020-07-23 09:59:28 Problems creating archive. aborting 2020-07-23 09:59:36 Then you would need to make space first :-/ 2020-07-23 09:59:42 Where? 2020-07-23 09:59:51 I don't know 2020-07-23 10:00:00 verify what is on the sdcard 2020-07-23 10:00:00 I have 29.6G free space on my sdcard. 2020-07-23 10:00:41 yes, so something must have taken that space 2020-07-23 10:01:11 df shows me that I have 29.6G free to use. 2020-07-23 10:04:04 https://dpaste.org/Z2Uo/slim 2020-07-23 10:18:31 I'm relly close to scrapping this Pie and renting a VPN so I can use something properly. 2020-07-23 10:25:51 Hund: can you check /etc/lbu/lbu.conf? 2020-07-23 10:26:47 I found the issue. 2020-07-23 10:26:54 It was me. Who would have guessed. :P 2020-07-23 10:27:49 I added the folder /home to be included and then forgot to exclude it when I moved /home to the external disk, which have about 90GB of data it wanted to compress on the 32GB card. 2020-07-23 10:35:37 Hund: aha, that explains 2020-07-23 10:35:45 :) 2020-07-23 13:38:02 how would i e.g. add wireguard-rpi kernel module? i can bindmount /boot but do i have to manually create a squashfs and replace the modloop file? 2020-07-23 13:41:28 mps: I'm transferring all my email accounts over to claws, thanks again for the recommendation. Do you happen to know a good irc client that follows the same minimalist philosophy? I'm using hexchat atm 2020-07-23 13:50:43 abenz: no, I use only text mode user clients whenever possible, currently my IRC client is irssi, though I used weechat for some short time before switched to irssi 2020-07-23 13:51:31 of the gui IRC clients I tried hexchat looks best, in my experience 2020-07-23 13:51:36 I see 2020-07-23 13:52:04 hexchat ye, is best if talk about gui, very configurable 2020-07-23 13:54:40 A question regarding firefox+drm on alpine: it seems watching netflix is not possible / the DRM plugin crashes on 3 unrelated alpine notebooks when I try to play a movie - does anyone know the background to this? 2020-07-23 13:55:37 ACTION gave up trying to play DRM video on Alpine Linux. 2020-07-23 13:56:10 probably widevine and musl 2020-07-23 13:59:12 abenz: I use quassel IRC, it isn't minimalist, but it the UI is typical classic design and it has a split core/UI design, so you can use it like a built in bouncer 2020-07-23 13:59:57 I'm also using claws mail and it's clunky at best, though I'm guessing it works better if you have less email than I do 2020-07-23 14:00:19 telmich: I think Ariadne was looking into that 2020-07-23 14:00:23 one thing that's not obvious from the start is that claws mail can only do one thing at a time 2020-07-23 14:00:42 hell does "minimalist" mean here anyway 2020-07-23 14:01:15 not using all ram :P 2020-07-23 14:01:20 well, to me that means irssi 2020-07-23 14:01:44 i use quassel as well 2020-07-23 14:02:19 unfortunately there aren't many options for GUI email clients on alpine 2020-07-23 14:02:41 Ariadne: how far did you come in terms of DRM/firefox? 2020-07-23 14:02:48 285M 0:30.30 claws-mail 2020-07-23 14:02:54 its used up to 700mb 2020-07-23 14:02:55 I have to say mu4e is one of the best mail clients I have been using so far 2020-07-23 14:03:15 telmich: need libxul debug symbols to dig further ;/ 2020-07-23 14:03:17 (which is available in alpine) 2020-07-23 14:04:52 found file which provide binaries/plugins with widevine, so I doubt that can do anything without sources: https://github.com/mozilla/gecko-dev/blob/master/toolkit/content/gmp-sources/widevinecdm.json 2020-07-23 14:07:29 Ahh, there are blobs involved that are potentially linked against glibc? 2020-07-23 14:07:47 yep 2020-07-23 14:08:43 ok. In this regard I appreciate being on musl to see the effects, even if it stops me from procrastinating 2020-07-23 14:16:42 qman__: thunderbird is very bloated 2020-07-23 14:17:10 so claws mail, when compared to thunderbird, looks/feels very minimalist and light on resources 2020-07-23 14:17:18 yeah compared to tbird its great 2020-07-23 14:17:20 If you are running from a RAM disk you can't modify the modloop. 2020-07-23 14:17:20 You can get around it by unpacking the modloop, mount the unpacked modules folder and then installing wireguard. 2020-07-23 14:17:26 ah, thats the only way? 2020-07-23 14:17:46 now im starting to feel the pain of diskless 2020-07-23 14:20:13 nico: it works well for games too. It doesn't work so well for IRC/Matrix though. 2020-07-23 14:21:13 afontain: true, for matrix I also use a browser - I have it open for other web stuff [tm] anyway 2020-07-23 14:21:22 oh telmich is nico 2020-07-23 14:21:25 oof 2020-07-23 14:34:41 folks, a quick question. Will alpine with syslog-ng work as netconsole receiver when the sender is a Debian host? 2020-07-23 14:35:00 do I need to build the kernel module or anything else for it to work? 2020-07-23 14:39:18 hm, I tried reinstalling iptables and cleaning out everything, but if I do that it complains saying i need to "First create some rules", but I didn't need to do that on first run. What's different ? 2020-07-23 14:40:05 Latrina it should speak the same stuff 2020-07-23 14:40:13 netconsole is pretty simple iirc 2020-07-23 14:40:31 cool opal, thanks :) 2020-07-23 15:10:00 I will give it a go 2020-07-23 15:43:07 opal: sorry for the confusion, I'm still connected via irc + matrix, did not yet disconnect from IRC 2020-07-23 16:09:59 hi friends. any idea why xtables-addons-edge does not exist when xtables-addons-lts does? the script i'm using (mkimage.sh) is trying to add xtables add ons but since xtables-addons-edge doesn;t exist, it's failing 2020-07-23 16:10:24 furthermore, can I just add xtables in userspace instead of with the kernel? what impact will this have? 2020-07-23 16:14:46 which package to add for missing characters? 2020-07-23 16:14:56 a lot of site showing missing characters 2020-07-23 16:20:47 c705: because I don't want to make third party drivers or modules for linux-edge, and no one asked with elaborate write why they are needed 2020-07-23 16:23:03 mps: what am I going to lose if I skip xtables-addons? 2020-07-23 16:24:13 if you didn't used it in your config you lose nothing 2020-07-23 16:24:29 firewall config, I mean 2020-07-23 16:25:02 use what exactly? i'm using iptables 2020-07-23 16:25:41 yes, iptables with userspace extensions in xtables addons 2020-07-23 16:26:10 I'm also using iptables but never needed xtables 2020-07-23 16:26:28 ok, i'll just delete it and give it a shot I guess 2020-07-23 16:26:49 I imgine I can just add xtables as a standalone package and modprobe it later if I needed it, no? 2020-07-23 16:27:53 'apk info -L xtables-addons' will tell you which extensions it contains 2020-07-23 16:28:04 thanks 2020-07-23 16:28:27 btw, linux-edge is not replacement for linux-lts 2020-07-23 16:29:15 linux-edge is more for testing new features and for users who need new kernels with these new features 2020-07-23 16:30:05 and it is optimized more for performance (workstations) than linux-lts which is for broad use cases 2020-07-23 16:30:22 yeah, good point. I would like the kernel availiable in my boot though 2020-07-23 16:30:26 mps: why not replacement? it's stable kernel 2020-07-23 16:30:37 I also use linux-lts on most servers, except those where I need new features 2020-07-23 16:31:02 and for my workstation. my servers will still run lts 2020-07-23 16:31:47 helby: because alpine have to backport fixes to kernel for two years at least, and LTS is best suited for this 2020-07-23 16:32:12 mps: but u don't need any backport for edge I suppose 2020-07-23 16:32:44 with non-LTS which disappears fast this would be hard and time consuming 2020-07-23 16:32:53 how disappears? 2020-07-23 16:33:03 it will be just upgraded 2020-07-23 16:33:04 helby: edge will next stable 2020-07-23 16:33:33 edge is already stable 2020-07-23 16:33:55 heh 2020-07-23 16:34:03 helby: look here https://www.kernel.org/ 2020-07-23 16:34:55 there are no 5.5 and 5.6, soon 5.7 will disapper when 5.9 arrive 2020-07-23 16:35:11 it's not yes, but edge in alpine will be upgraded not? 2020-07-23 16:35:35 linux-edge or alpine edge? 2020-07-23 16:35:47 linux-edge on alpine edge :) 2020-07-23 16:36:16 so 5,7 will become 5,8 and then 5,9 or not? 2020-07-23 16:36:24 yes, that is plan, whenever new stable is released it should be soon on alpine edge 2020-07-23 16:36:31 so 2020-07-23 16:36:41 where is a problem with edge then? 2020-07-23 16:37:05 terminology, edge is alpine development version 2020-07-23 16:37:14 like long term is supported for some time, edge is infinite supported ;) 2020-07-23 16:37:32 and linux-edge is kernel which will be always in alpine edge, never in stable 2020-07-23 16:38:42 but at the same time linux-lts will be also always in alpine edge as next kernel for next alpine stable 2020-07-23 16:39:28 that was annoying during installation, that no edge installer 2020-07-23 16:39:39 had to install stable old crap, then update 2020-07-23 16:39:54 or did not find a way how to do directly edge 2020-07-23 16:42:01 that could be done by creating chroot of egde repos directly, but I think install stable then upgrade is easier and less error prone 2020-07-23 16:42:45 yes, chroot is not so cool, especially with only one machine available 2020-07-23 16:43:21 last time I tried to chroot and remove fucking grub, I had to reinstall :) 2020-07-23 16:44:34 only grub can crate so many folder in /boot 2020-07-23 16:44:37 folders 2020-07-23 16:44:54 fuck grub should be banned! 2020-07-23 16:46:08 just dont use it 2020-07-23 16:46:32 pretty simple 2020-07-23 16:47:35 tbh, I switched back to grub 2020-07-23 16:47:54 interesting, how come 2020-07-23 16:48:00 im happy with syslinux 2020-07-23 16:50:02 I found I had less trouble getting it to work with efi 2020-07-23 16:50:41 maybe it's because I'm more used to it 2020-07-23 16:55:27 the issue is, that I had to change also efi partition to be just /boot not stupid /boot/efi 2020-07-23 16:55:41 that I tried last time I was not able to boot :) 2020-07-23 16:56:15 not sure how to do that a proper way? just format as vfat and change fstab is enough? 2020-07-23 16:56:43 then I would like just add an entry with efibootmgr obviously without any bootloader 2020-07-23 16:57:16 but how will linux/mkinitfs know where to put these entries 2020-07-23 16:58:27 I mean thse ssytem.map, config, initramfs and vmlinuz crap 2020-07-23 17:17:13 I go try :) 2020-07-23 17:17:45 just not sure if without changing fstab and right know keep boot at boot/efi I should put 'efi/ in path while in efibootmgr 2020-07-23 17:18:34 or probably copy right know these shits to /boot/efi 2020-07-23 17:20:00 see u after reboot, I hope :) 2020-07-23 17:33:09 the issue is ... nothign is creating System.map config and vmlinuz in efi 2020-07-23 17:33:20 mkinitfs does just initramfs 2020-07-23 17:52:32 okay fuck it for now, no good time to risk noboot ;) 2020-07-23 17:53:08 did not find a word in alpine docs about efistub boot 2020-07-23 17:54:41 for fuck sake, 90% of wiki should be deleted already 2020-07-23 19:25:08 which package provides pdf printing for lp? i can't seem to find it :| 2020-07-23 19:47:45 seems i have a bigger problem :D 'lp: Unsupported document-format "text/plain"' 2020-07-23 19:48:45 i may have to add some stuff in addition to the ppd file i extracted from the debian package for my printer. 2020-07-23 19:49:29 has anyone expirience with those brother printer drivers? they provide .deb package. 2020-07-23 19:58:36 do i really have to install these packages somehow > https://support.brother.com/g/b/downloadlist.aspx?c=us_ot&lang=en&prod=hll8250cdn_all&os=128 2020-07-23 20:01:15 the alternative seems to try su execute brothers wierd installer tool. 2020-07-23 20:01:36 which will probably not work with musl. 2020-07-23 21:28:22 of course I had to reinstall bc. somehow fucked up that boot without grub 2020-07-23 21:29:50 chroot is so complicated on alpine, that of course I don't remember what everything and how to mount 2020-07-23 21:29:53 so ... 2020-07-23 21:31:22 right now I have to somehow survive with 17MB useless bootloader 2020-07-23 21:53:08 I have this shit in tty, not sure how it appears there now ..."Kernel·has·no·file·descriptor·comparison·support:·Function·not·implemented" 2020-07-23 22:04:16 Hello! 2020-07-23 22:04:20 https://wiki.alpinelinux.org/wiki/Installing_Oracle_Java 2020-07-23 22:04:24 this doesn't work? 2020-07-23 22:04:53 "If nothing comes up install it: apk add paxctl" 2020-07-23 22:05:29 ERROR: unsatisfiable constraints: 2020-07-23 22:05:29 required by: world[paxctl] 2020-07-23 22:05:29 paxctl (missing): 2020-07-23 22:12:30 it looks like this documentation is obsolete 2020-07-23 22:12:38 any idea how to run java on current versions? 2020-07-23 22:18:32 apk search openjdk, and select version to install 2020-07-23 22:19:58 mps no result 2020-07-23 22:20:49 did you enabled community repo 2020-07-23 22:21:01 no 2020-07-23 22:21:33 read wiki about installation and settings extra repos 2020-07-23 22:22:23 linux-pine: btw, do you run alpine on some of the pinebook arm64 boxes 2020-07-23 22:22:55 no, mps 2020-07-23 22:32:44 it worked, mps, thanks! 2020-07-23 22:37:48 np 2020-07-23 22:57:34 helby: apk add arch-install-scripts and arch-chroot if you dont want to manually bind mount everything. 2020-07-23 23:04:32 root@luffy /t/docker (docker) [1]# apk upgrade 2020-07-23 23:04:34 1 error; 1910 MiB in 504 packages 2020-07-23 23:04:39 I keep seeing this erorry. how can I find out what this is ? 2020-07-23 23:06:09 try apk fix 2020-07-23 23:06:13 i'm no expert, but woult try apk fix -s first :) 2020-07-23 23:08:02 ok. apk fix didn't solve it, but I will try fix -s 2020-07-23 23:08:26 (1/1) Reinstalling groff-doc (1.22.4-r0) 1 error; 1910 MiB in 504 packages 2020-07-23 23:08:39 if without the -s it just keeps trying to reinstall groff-doc 2020-07-23 23:09:05 -s is simulate, it wouldn't do anything 2020-07-23 23:09:14 except maybe reporting 2020-07-23 23:09:22 how do i force delete a package ? 2020-07-23 23:09:35 apk del --force hasn't worked 2020-07-23 23:24:15 bndeter_: oh shit, if I knew that 2020-07-23 23:24:46 that will mount all crap and chroot inside just with 'arch-chroot' then I can fuck it up how I want? :d 2020-07-23 23:25:20 bndeter_: nice btw, wasn't aware that we had arch-chroot 2020-07-23 23:25:47 bndeter_: btw. install it where? on rescue usb? 2020-07-23 23:29:14 for fuck sake, it's archlinux installing script 2020-07-23 23:31:18 arch-chroot isn't 2020-07-23 23:31:55 arch-chroot is not as package 2020-07-23 23:33:39 ... if that wiki is not so useless ;) 2020-07-23 23:33:50 ikke: was also pleasently suprised when i found it. 2020-07-23 23:35:04 helby: i can't/didn't really follow what you do/try, so am not able to answer your question. 2020-07-23 23:36:44 bndeter_: already reinstalled but before fucked up bootloader /boot and shit around, so wanted chroot from install usb of alpine and repair it 2020-07-23 23:37:08 bndeter_: but that requires more than just mount efi and ext4 boot 2020-07-23 23:37:27 so as it's complicated I did not know what to do, so reinstalled 2020-07-23 23:38:55 my issue with fucking up boot came , that I wanted to get rid of grub, then mount efi as /boot instead of default /boot/efi put there all that vmlinuz initram crap, add entry to uefi with efibootmgr but during boot got error that can't boot /root and showed me sh console where keyboard did not work at all 2020-07-23 23:39:25 that's my story and it's only bc. nobody helped me here! 2020-07-23 23:40:27 so I blame these 400 unhelpful users here :) 2020-07-23 23:41:01 and of course stupid outdated wrong wiki 2020-07-23 23:41:04 if you want to repair you main system you have to 'apk add arch-install-scripts' on the live stick. and then 'apk add -P /mnt/ bash'(or wherevery you mounted the main os. then arch-chroot /mnt and begin repair as normal. 2020-07-23 23:41:39 archlinux chroot works on alpine too? 2020-07-23 23:41:53 yes, it's just a helper script 2020-07-23 23:41:56 oh 2020-07-23 23:41:57 its just a script. 2020-07-23 23:42:12 I bet first it will cry about not bash in a system 2020-07-23 23:42:22 it makes some bind mounts in addition to chrooting, so you can access /dev/sd* and install bootloader stuff. 2020-07-23 23:42:27 and 20 other gnu tools? 2020-07-23 23:42:55 only bash, as you can see in my previous message. 2020-07-23 23:43:01 good to know that it works, bc. chroot on arch was okay for me all the time 2020-07-23 23:43:10 arch-chroot is king 2020-07-23 23:43:27 will be I able to install that bash in that broken system? 2020-07-23 23:43:30 Much better for newbies, too, because trying to use chroot directly just asks for pain and suffering 2020-07-23 23:43:37 you can also use /bin/sh instead 2020-07-23 23:43:42 oh okay 2020-07-23 23:43:58 yes you could also define another shell if you like. 2020-07-23 23:44:17 You can start any program in the chroot you want 2020-07-23 23:44:22 so I will just run script after intallation form that usb and it will mount all sys proc and other crap ye? 2020-07-23 23:44:37 I was already in chroot, but mounted just efi and root 2020-07-23 23:44:49 so it was not enough 2020-07-23 23:45:17 arch-chroot mounts, dev, proc, sys (maybe tmp, too) 2020-07-23 23:45:19 I was able to install something, but grub always ends with error bc. something was not mounted obviously 2020-07-23 23:45:24 cool 2020-07-23 23:45:55 and how arch-chroot know about alpine shits? 2020-07-23 23:46:06 it doesn't 2020-07-23 23:46:07 It doesn't and doesn't need to because it doesn't do distro specific shits 2020-07-23 23:46:09 and it doesn't need to 2020-07-23 23:46:10 generally 2020-07-23 23:46:27 And yeah, it doesn't need to 2020-07-23 23:47:01 Alpine <> Arch is basically just userspace 2020-07-23 23:48:45 it still does not look a way 2020-07-23 23:48:58 it even requires some gnu coreutils 2020-07-23 23:49:12 h it will install it 2020-07-23 23:49:16 okay 2020-07-23 23:49:27 n 2020-07-23 23:49:54 so now is maybe time for second atempt to get rid of grub 2020-07-23 23:50:35 the main issue is probably that /dev/...1 is mounted at /boot/efi 2020-07-23 23:50:46 why? 2020-07-23 23:50:48 it did not help if I just changed it in fstab for /boot 2020-07-23 23:51:10 The files need to be in the right place, not just for EFI but also where the package maintainer expect them to be 2020-07-23 23:51:13 bc. mkinifs and linux is installed on /boot and it sound logical to use that 2020-07-23 23:51:41 EFI directory doesn't need to contain linux and the initramfs 2020-07-23 23:52:02 Just needs to contain the EFI bootloader you want to use and it then needs to find the boot dir 2020-07-23 23:52:08 or boot partition 2020-07-23 23:52:09 so I changed in fstab mount /dev/nvme0n1p1 crap on /boot then installed linux and everything was there, all that system.map vmlinuz and initrd 2020-07-23 23:52:34 but I wanted to use directly uefi / efistub 2020-07-23 23:52:46 You don't want that, really 2020-07-23 23:52:46 so just added entry with efibootmgr directly to uefi 2020-07-23 23:53:02 why not? I never needed any bootloader 2020-07-23 23:53:04 it's useless 2020-07-23 23:53:20 kernel include efistub, uefi is able to load kernel directly 2020-07-23 23:53:28 why use 17MB grub? 2020-07-23 23:53:37 there is no one reason, just to be idiot 2020-07-23 23:53:52 If the kernel is broken you won't be able to just boot another one. You'll have to either use external tools and boot from an external source to change the efi config to boot another one or permanently have another stub setup 2020-07-23 23:54:27 I always have just one kernel 2020-07-23 23:54:37 so grub will not help here anyway 2020-07-23 23:54:37 No native support for fallback initramfs or other stuff to fall back to. You'll need to hand weave that into your efi boot order 2020-07-23 23:54:52 default alpine did not any fallback 2020-07-23 23:55:01 or any other option during grub boot 2020-07-23 23:55:01 Then that's your own downfall. I have had broken kernels several times in the last years already. 2020-07-23 23:55:13 it's just add stupid bootloader which complicate things 2020-07-23 23:55:19 I had to boot linux-lts then and revert linux back to an old version 2020-07-23 23:55:30 never happened to me 2020-07-23 23:55:38 I hope you'll never have. 2020-07-23 23:55:48 how can be kernel broken? 2020-07-23 23:56:14 Fails to prepare devices, initialize or use devices correctly such that the system can not continue booting or the init system fails initializing the system 2020-07-23 23:56:40 but for that case, there is chroot probably 2020-07-23 23:56:41 Fails to boot before control is passed to the user. No shell, no UI 2020-07-23 23:56:56 For which you will need an external source to boot from 2020-07-23 23:57:12 yes, get it, u right 2020-07-23 23:57:20 If you have a different, known good kernel, to boot from, you don't need that external source in that specific case. 2020-07-23 23:57:37 *a different, known good, kernel, ... 2020-07-23 23:57:40 well, that's possible with efistub too 2020-07-23 23:57:44 just adding two entries 2020-07-23 23:57:55 not any bloated bootloader needed 2020-07-23 23:57:56 You'll have to manually create it is what I wrote 2020-07-23 23:58:07 yes with one command 2020-07-23 23:58:14 With complex syntax 2020-07-23 23:58:28 that's true, still don't remember it 2020-07-23 23:58:29 Don't take me for a fool, I did such things some time ago 2020-07-23 23:58:46 there is something like just efibootmgr -c but somehow it never worked bc. I don't know it requires shity setup 2020-07-23 23:58:50 I reverted back to using GRUB when there was more trouble than it was worth 2020-07-23 23:58:59 every trouble is bc. of grub 2020-07-23 23:59:03 Ah, no 2020-07-23 23:59:09 yes :) 2020-07-23 23:59:18 17MB bootloader for fuck sake? 2020-07-23 23:59:38 17 MB on nonvolatile storage in size of Gigabytes? 2020-07-23 23:59:45 Peanuts. 2020-07-23 23:59:53 storage is not important 2020-07-23 23:59:57 Not worth my time to save just 17 MB 2020-07-24 00:00:00 but what a bunch of code is it 2020-07-24 00:00:12 not about size, but code what do shit, just boot 2020-07-24 00:00:31 and add some second to boot time 2020-07-24 00:00:49 of course also it's another point what can break in a system 2020-07-24 00:01:04 bc. with direct boot, u have zero problem 2020-07-24 00:01:08 You got to decide what your time is worth to you. I have to get back to beating ZFS 2020-07-24 00:01:23 oh yeah, grub, zfs and encryption 2020-07-24 00:01:27 there are problems 2020-07-24 00:01:41 complicated things ... 2020-07-24 00:01:43 Depends on how bad the EFI is (pretty bad, all the 6-8 EFI versions I have had the fun to deal with) 2020-07-24 00:01:51 hf 2020-07-24 00:01:52 good effort 2020-07-24 00:02:40 shit, before I tried without changing crap in /etc/fstab and it booted well 2020-07-24 00:02:58 then I removed grub, mounted /boot instead /boot/efi and it was gone 2020-07-24 00:03:07 if I know why it failed 2020-07-24 00:03:45 if I keep it mounted how it is in /boot/efi and manualy copy these entries from /boot it will work, but I will once forget to copy them and will need that script ;0 2020-07-24 00:09:42 I will do it later, some day when nothing to do, bc. I am not sure how all these works 2020-07-24 03:48:36 do we have wireguard in linux-edge? 2020-07-24 03:49:07 I have wireguard-lts but I don't think that works with linux-edge? 2020-07-24 04:00:15 so how do i deal with the apk errors ? 2020-07-24 04:00:49 oh derp. I had edge uncommented 2020-07-24 04:01:26 probably didn't help things 2020-07-24 04:05:15 all fixed ;) 2020-07-24 06:30:50 codebam: wireguard driver is in kernel as of 5.6 version, so not needed external wireguard-edge 2020-07-24 08:06:55 I'm having trouble with networking on Alpine edge after an update a couple of days ago and also on completely new systems 2020-07-24 08:06:59 on boot eth0 remains down and udhcpc fails to get a lease 2020-07-24 08:07:04 /etc/network/interfaces has a very simple auto eth0 iface eth0 inet dhcp 2020-07-24 08:07:09 `ifup eth0` does not enable the interface and thus udhcpc fails 2020-07-24 08:07:12 I have to manually run `ip link set eth0 up` and only after that `ifup eth0` can successfully run DHCP 2020-07-24 08:38:08 Hello all 2020-07-24 09:02:21 mtneug: Not sure but maybe you can add `pre-up ip link set eth0 up` to your eth0 settings in `/etc/network/interfaces`. 2020-07-24 09:07:11 But I don't know if you can do that with DHCP. 2020-07-24 09:12:02 shiroyasha: mmh this seems to work. thx. 2020-07-24 09:12:31 still wondering what change actually caused this 2020-07-24 09:19:35 what package am i missing when there are no pretty icons/symbols in gui applications? 2020-07-24 09:20:19 some icon package 2020-07-24 09:20:44 just a random one? or does it need configuration? 2020-07-24 09:20:50 running sway atm. 2020-07-24 09:22:29 bndeter_: probably adwaita-icon-theme 2020-07-24 09:22:35 ikke: can you recommend a basic package for the average slowpoke? 2020-07-24 09:22:58 helby: thanks that sounds familiar. is it default somewhere? xfce? 2020-07-24 09:23:57 bndeter_: on many distros it's even dependency of gtk+3 2020-07-24 09:24:16 bndeter_: default for gnome I think 2020-07-24 09:27:33 fancy it just plugs in. no wm restart. not even application restart. 2020-07-24 09:54:31 A lot of prometheus tools are in Alpine, however the blackbox exporter isn't. Is this just "nobody has done it yet" or is there a specific reason why the blackbox exporter is missing? 2020-07-24 09:55:09 telmich: hard to tell if someone tried it or not 2020-07-24 09:55:38 I was just puzzled, because the prometheus ecosystem looks 90% complete 2020-07-24 12:39:45 Trying to set up a server for use by trusted people only but providing Nextcloud. Wireguard, xmpp server on two multiplexed ports of my choosing. 2020-07-24 12:40:09 Is Docker necessary/wise? 2020-07-24 12:40:47 Or is a there a less involved way? Any recommendations welcome 2020-07-24 12:45:51 docker is probably the less involved way to do that 2020-07-24 12:46:25 you could install each service on the server itself though, there's no reason you can't manually configure those services and have them resident on the same box 2020-07-24 12:49:33 Yup, I just have them setup manually right now 2020-07-24 12:50:08 Although I should switch to using Ansible or something in the future, setting this machine up again in case of a reinstall will be a royal pain otherwise 2020-07-24 12:51:19 So it not being a mission critical machine, bare metal should be adequate? 2020-07-24 12:55:23 Ansible playbooks have an appropriate name, because they're mostly just that: play stuff :p 2020-07-24 12:55:31 you could use something like virt-manager to create VMs, if your system is recent then it most likely has hardware virt which has negligible difference on performance 2020-07-24 12:56:05 the advantage is you can set things up, clone the VM, take snapshots etc 2020-07-24 12:56:17 few clicks on GUI, no docker or friends needed 2020-07-24 12:56:55 Hm, I'd say just bare metal with some FS which allows snapshots (e.g. BTRFS/ZFS) will be fine 2020-07-24 12:57:11 virtualization is yet another thing you have to setup that might break 2020-07-24 12:57:44 no its a safety net, that allows rapid redeployment if needed 2020-07-24 12:58:38 but hey, this like a vi vs nano thing, you will get different opinions 2020-07-24 13:00:38 RAID the important data, using some level of configuration management to ensure the state of the box 2020-07-24 13:01:03 ansible is probably the most accessible there, but shell scripts would be fine too. More than one way to skin a cat 2020-07-24 13:01:08 My box is RAID10 2020-07-24 13:01:14 +10 in that case 2020-07-24 13:02:12 Personal take, if I was building something like this I would use some form of containerization or virtualization, to isolate the services from the host 2020-07-24 13:02:36 But, it isn't necessary in the slightest if you don't want to bother learning yet another thing to throw up a nextcloud instance for your friends 2020-07-24 13:06:54 Thanks for the advice. May start bare metal then slowly migrate to Docker. It seems you can use the configs, dbs etc., stored on the host anyhow. Everything sensitive will pnly be accessible via Wireguard anyhow. 2020-07-24 13:08:38 Docker probably won't make things more secure, but it sure makes deploying easier (and more reproducible) 2020-07-24 13:10:13 docker'd services are essentially just nat'd hosts. So your host system is acting as a nat gateway, and routing traffic directed that way into the docker nat 2020-07-24 13:11:16 which means network traffic has to ingress into your system before reaching the containers, which isn't exactly secure. Setup something like F2B to reject stuff at mangle and you've got an OK setup, but don't rely on docker as secure by design 2020-07-24 13:16:40 I'm moving from Synology so learning lots but wish to ensure the box is secure first and the additional work to learn Docker doesn't seem worth the time at the moment despite its deployment benefits. 2020-07-24 13:17:49 I made the same move, though for me it was from a Synology to a RHEL8 hypervisor that got turned into a glorified NFS server/build system, and just recently rebuilt again as Alpine 2020-07-24 13:18:11 Don't fret over docker, make it a goal to learn when you want to learn it's great industry knowledge 2020-07-24 13:20:02 It took me a week to get Alpine installed as raid10 doesn't work (I coundn't make it0 so have a hybrid Raid1/10 system. 2020-07-24 13:22:20 IT isn't my industry but I'm persistent 2020-07-24 13:24:58 pray anyone kindly tell me why kbd-bkeymaps has xkeyboard-config as makedepends? 2020-07-24 13:25:51 xkeyboard-config then pulls xkbcomp and others since it has them as makedepends and then xkbcomp pulls libx11-dev etc 2020-07-24 13:25:56 ooh my 2020-07-24 13:26:12 That's a good mentality to have. I actually wrote about rebuilding my nas, which is here http://lambdacreate.com/ if you're curious. 2020-07-24 13:26:27 Though I didn't setup nextcloud or anything like that, just a simple Samba + raid type deal 2020-07-24 13:28:12 can i avoid xkeyboard-config from kbd-bkeymaps APKBUILD 2020-07-24 13:29:01 oneinsect: you could try and rebuild kbd-bkeymaps without xkeyboard-config on your glibc implementation, but that seems like extra effort 2020-07-24 13:29:17 maybe a .post-install to remove the package and then see what breaks when you do so? 2020-07-24 13:29:38 yeaaa 2020-07-24 13:30:00 Bash, Binutils, Bison, Check, Coreutils, Flex, GCC, Gettext, Glibc, Gzip, Make, Patch, and Sed should be enough to build kbd-bkeymaps 2020-07-24 13:30:18 but still trying to understand the rational behind including xkeyboard-config 2020-07-24 13:30:27 wsinatra: thanks i will try to do that 2020-07-24 13:30:27 Pull the APKBUILD and try and rebuild it without the xkeyboard-config 2020-07-24 13:30:31 yes 2020-07-24 13:30:37 i will do it 2020-07-24 13:31:01 speaking from experience, sometimes I throw stuff in my packages that don't belong because it just worked, and I equated package building as a sign that whatever I did was necessary 2020-07-24 13:31:08 I imagine there are others doing the same :) 2020-07-24 13:31:42 hmmmm 2020-07-24 13:31:42 wsinatra: couple of typos. Code section one, is should be mdadm and code section three, "should" be >> when scanning into /etc/mdadm.conf to save the dafault file content 2020-07-24 13:31:43 https://www.archlinux.org/packages/core/x86_64/kbd/ 2020-07-24 13:32:41 EF: thanks for pointing that out! I think the find command is off too, pretty sure that should be -exec instead of exec 2020-07-24 13:32:48 need to be more diligent when I write 2020-07-24 13:34:04 even gentoo doesnt list that as dependency https://gitweb.gentoo.org/repo/gentoo.git/tree/sys-apps/kbd/kbd-2.3.0-r1.ebuild 2020-07-24 13:34:06 but anyway 2020-07-24 13:34:10 sorry for the long rant 2020-07-24 13:34:18 i will follow your advise wsinatra: 2020-07-24 13:35:34 oneinsect: I'm curious to see the results, let me know what you find! 2020-07-24 13:35:47 wsinatra: Think the mdadm monitoring stuff is included in the default mdadm.conf and just requires uncommenting/modifying two lines 2020-07-24 13:37:08 Really? I didn't notice anything when I set this up, but I have a tendency to over engineer things 2020-07-24 13:37:14 phew! yeaa i will share soon 2020-07-24 13:37:26 going package by package now to establish the core set of packages 2020-07-24 13:38:56 now now 2020-07-24 13:38:57 https://src.fedoraproject.org/rpms/kbd/blob/master/f/kbd.spec 2020-07-24 13:39:10 fedora wants xkeyboard-config 2020-07-24 13:39:13 same as alpine 2020-07-24 13:39:20 strange 2020-07-24 13:39:29 for building kbd 2020-07-24 13:39:34 EF: right you are, since I overwrote my mdadm.conf with the --scan info I didn't realize there was configuration settings for it 2020-07-24 13:39:58 I'll have to edit the post with that information, that's a much more direct way to handle things 2020-07-24 13:40:41 oneinsect: if it's packaged like that upstream of RHEL, and it stays that way back into RHEL, then there's likely a reason for it 2020-07-24 13:41:17 wsinatra: meaning? i mean this is fedora right? 2020-07-24 13:42:50 RHEL's the defacto enterprise distro, dunno what implications it has for this specific package, but they pay a significantly large team to vet/test this stuff 2020-07-24 13:43:03 hmmmm 2020-07-24 14:26:13 oneinsect: thanks for rant. we should check this 2020-07-24 14:30:43 b2ed890e7f876a42229e6181268828c2493c972c 2020-07-24 14:31:07 > main/kbd: generate (binary) keymaps from X.org keyboard-config 2020-07-24 14:31:16 That added the dep 2020-07-24 14:42:21 main/kbd: generate (binary) keymaps from X.org keyboard-config 2020-07-24 14:42:30 why doesnt some other distro do that? 2020-07-24 14:42:57 i mean keymaps dependency pulls in significant packages 2020-07-24 14:44:54 I guess the X keymaps could be split off into another okg 2020-07-24 14:45:46 Cogitri sire would you be kind enough to do the honours of splitting it 2020-07-24 14:47:16 kind sire, kindest of the kind sires 2020-07-24 14:47:22 :D 2020-07-24 14:58:39 Ah, currently kinda busy due to GUADEC, I might be able to take a look at the weekend 2020-07-24 14:59:34 thanks 2020-07-24 15:06:00 https://www.happyassassin.net/posts/2013/11/23/keyboard-layouts-in-fedora-20-and-previously/ 2020-07-24 15:06:16 more on console kbd package and xkb package 2020-07-24 15:06:33 keyboard layout maps 2020-07-24 15:12:08 Cogitri: hi, carg-zsh-completion installs to usr/share/zsh/site-functions/_cargo/_cargo instead of usr/share/zsh/site-functions/_cargo (I've mislaid my gitlab.a.o credentials, why I write here) 2020-07-24 15:12:37 *cargo-zsh-completion 2020-07-24 21:04:40 is there any program I can use on alpine linux to check services/programs that need to be restarted 2020-07-24 21:04:53 similar to `checkrestart` on ubuntu 2020-07-24 21:05:37 http://manpages.ubuntu.com/manpages/trusty/man1/checkrestart.1.html 2020-07-24 21:08:01 not as polished, but I use this: 'lsof | grep -e DEL | grep lib | sort -u -k1,1' (requires full lsof, not bb lsof) 2020-07-24 21:16:33 that doesn't include if the program itself is updated 2020-07-24 21:16:39 that's (deleted) 2020-07-24 21:27:14 Filter on lib and bin then 2020-07-24 21:27:21 though 2020-07-24 21:27:36 not sure if replaced files are considered deleted 2020-07-24 21:33:16 that's the point of install(1) 2020-07-25 07:52:52 hi everyone. I'm trying to install py3-biopython. The package is listed in https://pkgs.alpinelinux.org/packages?name=*biopython*&branch=edge but apk tells me it's not available. 2020-07-25 07:53:26 is there something I'm missing to be able to install it? 2020-07-25 07:53:34 py3-scikit-learn is in the same situation 2020-07-25 07:56:49 Unode, you need to enable testing repository in /etc/apk/repository 2020-07-25 07:57:02 MY-R: ah, thanks 2020-07-25 07:57:08 /etc/apk/repositories 2020-07-25 07:57:19 I'm already using alpine:edge in docker so I was confused on that. 2020-07-25 08:00:00 MY-R: thanks all working now. 2020-07-25 08:00:18 ye can imagine, if packages in testing are stable enough and well maintained then can create pull request or issue on gitlab to ask maintainer if can move it to "community" repo 2020-07-25 08:00:55 Unode, you are welcome :) 2020-07-25 09:55:42 unowe[d]: hi all, what provides `man` now? the FAQ says to add `man`, which seemingly does not exist anymore (https://pkgs.alpinelinux.org/packages?name=man&branch=edge&arch=x86_64) `ERROR: unsatisfiable constraints: man (missing): required by: world[man]` 2020-07-25 09:56:33 unowe[d]: I have the edge and 3.12 repos available on my system as well, neither have `man` 2020-07-25 09:58:06 https://pkgs.alpinelinux.org/contents?file=man&path=%2Fusr%2Fbin&name=&branch=edge&arch=x86_64 2020-07-25 09:58:20 mandoc or man-db 2020-07-25 09:58:49 mandoc is better, we should remove man-db 2020-07-25 10:03:29 unowe[d]: ah, thanks. didn't realise it moved to `mandoc` 2020-07-25 10:42:55 I have two drives with luks keyfiles that should be encrypted _after_ the system is booted (since the boot drive is decrypted with a password on boot) 2020-07-25 10:43:14 are there any additional steps other than adding those drives as crypttab entries? 2020-07-25 10:43:42 so far they aren't being decrypted automatically, not sure if it's because the system is trying to decrypt them before the base system has been mounted, since the keyfile is in /etc 2020-07-25 10:43:52 Guys I have been wondering. Was Alpinelinux originally forked from gentoo? Or am I completely wrong? 2020-07-25 10:44:15 What makes you think that? 2020-07-25 10:44:40 I seem to remember someone told me it awhile ago, but than I look at it and uses busybox 2020-07-25 10:44:52 so I can't find much correlation between the two outside of OpenRC 2020-07-25 10:44:56 No, it's not a fork 2020-07-25 10:45:22 I mean I know it isn't anymore. But was it ever? 2020-07-25 10:45:33 https://web.archive.org/web/20160514053441/https://osdir.com/ml/linux.leaf.devel/2005-08/msg00039.html 2020-07-25 10:45:40 That was the initial anouncement 2020-07-25 10:46:01 thanks 2020-07-25 10:46:25 Latrina: I'm just curious what made you think it was, or ever was. :) There's usually a reason. ;) 2020-07-25 10:46:35 btw, I have been using alpine for the past 4 years, but for some reason I always kept on wondering about this 2020-07-25 10:46:50 Arahael, OpenRC I think... 2020-07-25 10:47:05 Latrina: The init system? 2020-07-25 10:48:29 yes 2020-07-25 10:48:37 that I think is what fooled me 2020-07-25 10:48:52 gjabell, add "dmcrypt" to start at boot time (rc-update add dmcrypt boot) and check /etc/conf.d/dmcrypt basically need 3 lines, target=data, source='UUID=12345-1235-etc', key='/yourkeyfilepath' 2020-07-25 10:49:36 Latrina: Ah, fair enough. Linux distributions in general do copy from each other quite a lot. If you look at the confluence page for OpenRC, you'll note that gentoo and alpine aren't the only systems that use it. 2020-07-25 10:51:51 true that 2020-07-25 10:54:38 yes, I remember leaf on floppy :) 2020-07-25 10:55:08 MY-R thanks, that worked perfectly! 2020-07-25 10:55:20 I tested it after it was 'released' for some time but stopped and forgot 2020-07-25 10:56:06 and now I use it exclusively, how the life is unpredictable :) 2020-07-25 10:56:33 gjabell, good job, you are welcome :) 2020-07-25 11:00:22 gjabell, and dont need crypttab file (not even sure if anything read it) just line in fstab 2020-07-25 11:00:41 hmm ok 2020-07-25 11:00:58 does the encrypted boot drive refer to crypttab? 2020-07-25 11:02:01 nope 2020-07-25 11:02:29 ok, guess it's just extra in the wiki haha 2020-07-25 11:02:51 in different distributions that file is put in initrd, Alpine not using it 2020-07-25 11:03:05 ah gotcha 2020-07-25 11:03:41 another question since you might know; what's the proper way to autoimport zfs pools after boot? 2020-07-25 11:03:55 in this case I have the two luks volumes mirror in a zfs pool but not as the boot device 2020-07-25 11:04:51 I have no idea, my zfs knowledge is equal zero in Linuxes :) 2020-07-25 11:05:02 no worries, thanks anyways :) 2020-07-25 11:05:18 np 2020-07-25 11:06:46 gjabell, and remember to use disks/partitions UUIDs as much possible 2020-07-25 11:09:24 yeah think I have UUIDs set everywhere I can set them 2020-07-25 11:09:32 don't want to get bitten from that again :P 2020-07-25 11:10:19 heh :) 2020-07-25 11:35:18 specing: is your Ada steam-a-like up on the net anywhere 2020-07-25 11:35:25 (continuing an old conversation from #freegamer) 2020-07-25 11:35:30 ? 2020-07-25 11:35:36 rah: nope 2020-07-25 11:36:27 it's an unfinished gui mockup in GTK Glade + minimal Ada to load that gui, and it exists on my disks only 2020-07-25 11:43:47 is nfs been messed up for anyone else on edge? 2020-07-25 11:44:10 since I upgraded yesterday (and not for awhile) clients just hang on mount 2020-07-25 11:45:58 specing: ok 2020-07-25 13:28:29 Hi @ all, I'm looking for procmail. Can't find it, am I to blind? 2020-07-25 13:29:01 feuerteufel: I think it is removed some time ago 2020-07-25 13:29:06 procmail hasn't been updated in 20 years 2020-07-25 13:37:15 I know, but it works great ... 2020-07-25 13:41:05 But anyway, Thx 2020-07-25 14:02:19 maybe it could be added from some distro where it is maintained 2020-07-25 14:02:35 people ask for it from time to time 2020-07-25 14:05:29 the latest patch i see floating around is in the linux from scratch patch set, it appears to just be an aggregation of patches from debian and fedora bug trackers though 2020-07-25 14:05:31 Also I can't fint an alternative 2020-07-25 14:05:36 ~2018 2020-07-25 14:05:46 only 7k of changes 2020-07-25 14:05:59 they are CVE fixes though 2020-07-25 14:30:09 It still was in 3.11 2020-07-25 14:33:09 Is there a way to install it from 3.11 into my 3.12 installation? 2020-07-25 14:34:15 yes, but it might not work 2020-07-25 14:38:39 feuerteufel: I think it will work 2020-07-25 14:38:49 only deps is musl 2020-07-25 14:39:18 Yes, that's what I yust found 2020-07-25 14:41:06 So yust open up the 3.11 entry in the /etc/apk/ repositories? 2020-07-25 14:41:23 You want it pinned 2020-07-25 14:41:59 I would rather download apk from alpine and install it from apk, and not mess with pinning 2020-07-25 14:54:41 Is there a special directory where the "procmail-3.22-r4.apk" has to be? 2020-07-25 14:56:19 no 2020-07-25 14:56:53 apk add procmail-3.22-r4.apk, that's all, whenever you put it 2020-07-25 14:59:19 Yea, thx! got it! 2020-07-25 15:01:18 does it work? 2020-07-25 15:02:07 At least "procmail -v" work's 2020-07-25 15:02:43 Now I have to configure und install the rest I need 2020-07-25 15:03:38 nice, maybe you should fill bug/pkg request on gitlab.a.o 2020-07-25 15:04:03 solar is right: 2020-07-25 15:04:16 procmail v3.23pre 2001/09/13 2020-07-25 15:04:21 ;) 2020-07-25 15:04:38 ok, almost 20 years :D not quite 2020-07-25 15:05:02 yes, it is old, but if it works and don't have sec issues I don't see why it can't be packaged 2020-07-25 15:05:30 especially if users find it useful 2020-07-25 15:06:42 hehe, I'm over 60 years old and still working :-)) 2020-07-25 15:08:06 the known CVEs have patches available, i would just worry about any future bugs going unsolved, not having an active maintainer 2020-07-25 15:08:50 feuerteufel: heh, also I'm :) 2020-07-25 15:11:40 solar: But everywhere you looking some stuff about filtering mails (wikis, howtos) it say's " use procmail ... :-)) 2020-07-25 15:12:35 it would be good if somebody took up maintaining it. maybe modernizing the code :) 2020-07-25 16:09:55 One more today ... I'm trying tu install a Printer like it is descriped here: 2020-07-25 16:10:10 https://wiki.alpinelinux.org/wiki/Printer_Setup 2020-07-25 16:11:05 I'm not able to install cups-pdf ... 2020-07-25 16:12:39 The Wiki say's to use the one out of testing, bzut I can't get zhis to work, any hint's? 2020-07-25 16:13:14 WARNING: The repository tag for world dependency 'cups-pdf@testing' does not exist 2020-07-25 16:13:14 apk add cups-pdf@testing 2020-07-25 16:13:14 ERROR: Not committing changes due to missing repository tags. Use --force-broken-world to override. 2020-07-25 16:15:38 . 2020-07-25 16:16:05 Did you add a pinned repo to /etc/apk/repositories? 2020-07-25 16:16:14 @test http://... 2020-07-25 16:16:35 No 2020-07-25 16:17:01 @testing http://dl-cdn.alpinelinux.org/alpine/edge/testing 2020-07-25 16:17:17 I'll try 2020-07-25 16:20:28 Thx, it works 2020-07-25 17:58:24 just had kernel problem on one cloud provider of xen VM, using x86_64 linux-virt alpine stable 2020-07-25 17:59:00 solved with linux-virt from edge 2020-07-25 17:59:53 didn't had time to look deeply at problem because server needs to work 2020-07-25 18:00:40 writing this here if someone have/could have same problem 2020-07-25 19:57:21 anyone know why the amdgpu drivers don't show up in the linux-virt modules? 2020-07-25 19:57:39 do I need to switch the VM to lts? 2020-07-25 20:03:11 linux-virt is minimal for VM, there is no much drivers 2020-07-25 20:03:54 gjabell: and yes, you can use linux-lts in VM if you need some drivers or features from it 2020-07-25 20:04:19 ah that seemed to fix it, thanks :) 2020-07-25 22:05:55 hmm, rsync seems to be broken atm 2020-07-25 22:06:03 does anyone else get an error trying to rsync anything? 2020-07-25 22:15:27 hello 2020-07-25 22:15:41 anyone care to help a lost fellow ? 2020-07-25 22:16:04 I'm trying to install virtualbox guest addition from the iso 2020-07-25 22:16:17 (the one from the repos is too old 2020-07-25 22:16:21 any hints ? 2020-07-26 00:31:39 is it possible to replace busybox syslogd with rsyslog? 2020-07-26 00:35:58 winny: yes 2020-07-26 01:04:59 does anyone remember the name of that small templating engine like gomplate except not 38MB? 2020-07-26 07:21:32 hey, a patch i sent is failing on x86 and armv7 with the same error, i dont understand it though would anyone mind taking a look? https://gitlab.alpinelinux.org/amcgrath/aports/-/jobs/172089 2020-07-26 07:24:06 I take it that if you have very new hardware only supported by, say linux 5.7, the best course of action is compiling linux yourself? 2020-07-26 07:30:58 mouldysammich: Edge is currently being rebuilt for musl 1.2, so the repos are a bit incomplete on 32-bit arches, sorry for the inconvenience 2020-07-26 07:31:24 azarus_: we have linux-edge in the testing repo, which is 5.7 2020-07-26 07:33:23 ikke: oh, very nice. thanks! 2020-07-26 07:35:08 Cogitri: Ah cheers! 2020-07-26 11:51:21 Hi, i'm ne to alpine. Is it possible that there is a bug on x86 edge right now? I got a system with cryptsetup and lvm and it does not boot correctly after upgrading to edge. root get mounteted as ro and run does not get mountet because superuser privileges are missing. 2020-07-26 11:51:34 downgrading to main fixed everything 2020-07-26 11:51:44 quite possible 2020-07-26 11:52:19 Alpine just switched to musl-1.2 which caused breakages on 32 bits arch 2020-07-26 11:52:22 We upgraded edge musl to 1.2, which requires us to rebuild all packages, (and fix any breakage) 2020-07-26 11:53:42 ah ok, so i'll stay away from edge right now. Thanks :) 2020-07-26 14:47:09 hmm, libvirtd service seems to never stop 2020-07-26 14:48:43 https://gitlab.alpinelinux.org/alpine/aports/-/issues?scope=all&utf8=%E2%9C%93&state=opened&search=libvirt 2020-07-26 14:50:38 ah nice 2020-07-26 14:56:22 upstream sure is not nice about bugs in their code 2020-07-26 14:56:40 https://gitlab.com/libvirt/libvirt/-/issues/52 2020-07-26 15:07:05 :/ 2020-07-26 15:31:11 how up to date are packages typically in alpine ? 2020-07-26 15:31:37 edge is reasonably up-to-date 2020-07-26 15:31:57 is there a reason not to use edge ? 2020-07-26 15:32:11 it can be unstable from time to time 2020-07-26 15:32:54 how far behind would stable be? weeks ? days ? depends totally on the package ? 2020-07-26 15:33:15 I notice nnn is behind by two weeks, but it's not really a prominent program 2020-07-26 15:33:27 well, stable will only receive bugfixes / security fixes 2020-07-26 15:34:11 in what way does edge mainest as being unstable ? 2020-07-26 15:35:22 from bugs in the newest versions to temporary library mismatches 2020-07-26 15:35:49 right now, we've upgraded to musl-1.2, which affects all 32-bits arches in the sense that they need to be rebuilt and bugs fixed 2020-07-26 15:36:10 so lots of packages might be missing still 2020-07-26 15:40:16 thanks for answering :) 2020-07-26 15:43:22 ikke: are there any goals to get packages updated faster in stable? like macos does a pretty good job of keeping things I use up to date? ANd finally, how can I help ? 2020-07-26 15:43:51 it's a matter of policy 2020-07-26 15:44:36 Stable is stable because it doesn't get (feature) updates 2020-07-26 15:44:53 bug fix updates are backported of course, but not much else 2020-07-26 15:46:08 hm, but userland programs wouldn't make the OS unstable. Like keeping a program like nnn wouldn't mess with the stability of th eOS 2020-07-26 15:46:37 but there is no distinction there ? 2020-07-26 15:46:56 no 2020-07-26 15:47:01 ok :) 2020-07-26 15:47:18 Yes, but userland programs suddenly crashing on stable isn't what stable is for 2020-07-26 15:48:18 not judging, just wanting to understand the distro's policy and reasoning 2020-07-26 15:48:31 this is for my NAS so stable is good for my use-case 2020-07-26 15:50:07 If you really need the latest version of a certain program, it's relatively easy enough to build that yourself against a stable release 2020-07-26 15:50:12 what is "the OS" 2020-07-26 15:50:15 how do you define it 2020-07-26 15:50:22 linux is a bazaar 2020-07-26 17:07:44 eydaimon: I run stable but include a few non-critical packages from @edge and @testing through repository pinning https://wiki.alpinelinux.org/wiki/Alpine_Linux_package_management#Repository_pinning 2020-07-26 17:08:05 so it is possible to mix, but you may be on your own if you break things this way 2020-07-26 17:08:07 oo, thank you 2020-07-26 17:08:13 I have just one package from edge I think 2020-07-26 17:08:43 but this is a useful doc 2020-07-26 17:09:06 very cool 2020-07-26 17:10:44 Keep in mind that mixing repos is unsupported and will break at some point (when we do incompatible changes in edge vs your release, e.g. a major version bump in one of the libs) 2020-07-26 17:12:08 Cogitri: right, but in this case it looks package specific. So for example, I'm using `most` from edge since it's not even available elsewhere. At least then I can have it for now 2020-07-26 17:12:30 Cogitri: and I would only do it for a few packages I really need to be up to date 2020-07-26 17:12:36 which I think should be pretty safe 2020-07-26 17:13:45 Sure, just be careful 2020-07-26 17:14:01 aye aye capt'n :) 2020-07-26 17:19:53 doesn't work exactly like how i imagined. I was thinking I could tag specific apps to a repo. But I ran apk list -u, and it showed updates for other apps too 2020-07-26 17:22:02 which means that I don't really understand the pinning :/ 2020-07-26 17:23:14 oh, I had left edge on by accident in the past ... I wonder if that made a difference 2020-07-26 17:28:01 oh but it doesn't upgrade 2020-07-26 17:29:40 although list -u doesn't seem to distinguish is all. would be useful if list -u included the mask so it was possible to see 2020-07-27 10:18:50 mm.. no soulseek??!!! 2020-07-27 11:13:16 <[twisti]> is ... is alpine unable to use ping ? i find it hard to believe, but "docker run --rm -it alpine ping www.google.de" says "ping: bad address 'www.google.de'". what gives ? 2020-07-27 11:13:48 sounds like dns isn't working inside your ct 2020-07-27 11:14:00 or network connectivity 2020-07-27 11:14:07 have you checked yet? 2020-07-27 11:16:30 <[twisti]> i dont know what a ct is. i can ping from the host perfectly fine 2020-07-27 11:17:13 container, the docker guest 2020-07-27 11:19:05 <[twisti]> ah, yeah. i agree, it looks that way. but my guest is just a bare alpine 2020-07-27 11:19:35 can you ping an ip address? 2020-07-27 11:20:28 <[twisti]> yes 2020-07-27 11:20:41 [twisti]: https://tpaste.us/0Pg6 2020-07-27 11:21:21 so presumably your alpine guest has misconfigured or unconfigured dns 2020-07-27 11:21:32 more like your host 2020-07-27 11:21:32 <[twisti]> ikke: could you share (if it contains no secret) the output of "docker run --rm -it alpine cat /etc/resolv.conf" ? theres an issue that mentions a relationship 2020-07-27 11:21:44 ikke does docker just pass thru dns to the host ? 2020-07-27 11:21:49 i thought it had a bridged virtual network 2020-07-27 11:22:27 [twisti]: nameserver 8.8.8.8\n nameserver 8.8.4.4 2020-07-27 11:22:44 <[twisti]> ikke: same here :| 2020-07-27 11:22:45 solar: docker reuses the dns from the host 2020-07-27 11:23:04 you can also override it through parameters to the docker daemon 2020-07-27 11:23:19 [twisti]: can you ping 8.8.8.8/8.8.4.4 ? 2020-07-27 11:23:21 but you could still replace resolv.conf in the ct to override that, it's just writing the file out at ct start yes ? 2020-07-27 11:23:31 <[twisti]> nslookup shows some interesting additional info: docker run --rm -it alpine nslookup www.google.de -> nslookup: write to '8.8.8.8': Host is unreachable 2020-07-27 11:23:46 solar: resolv.conf is read-only 2020-07-27 11:23:50 <[twisti]> yes, i can ping 8.8.8.8 fine 2020-07-27 11:24:27 n/m that. you can modify resolv.conf 2020-07-27 11:27:23 [twisti]: seems some kind of network issue. 2020-07-27 12:44:28 hey guys 2020-07-27 12:44:51 I keep getting "filesystem unmounted properly...etc" on my alpine usb 2020-07-27 12:45:00 do I need to do something special? diskless mode btw 2020-07-27 12:45:18 I simply issue reboot and unplug the usb before the system reboots into its other OS 2020-07-27 12:45:51 but after alpine has already shut down? 2020-07-27 12:47:49 I see openrc logs flashing by quickly with a couple red ones (I think those are the fs unmounts), its at this point (when I see the system cycling) I unplug the usb 2020-07-27 12:47:58 so I don't unplug it then issue reboot 2020-07-27 12:49:36 Do you have the mount-ro service enabled? 2020-07-27 12:50:01 Maybe it doesn't remount the rootfs as ro before shutting down and as such the fs gets dirtt 2020-07-27 12:50:08 s/tt/tt/ 2020-07-27 12:50:14 ty* I can't type :D 2020-07-27 12:50:34 is it correct that postfix does not some with qshape on alpine linux? 2020-07-27 12:51:40 Cogitri: it says status: stopped 2020-07-27 12:52:01 What does rc-update say? 2020-07-27 12:52:04 I'm using plain diskless mode, I wasnt aware I needed to make any tweaks/modifications 2020-07-27 12:52:25 Well, I'm just guessing here, I don't use diskless on any of my machines :) 2020-07-27 12:52:38 mount-ro ------------- shutdown 2020-07-27 12:52:45 If that does turn out to be the error it's a bug we should fix 2020-07-27 12:52:49 ah hm 🤔 2020-07-27 12:53:09 so it is run during shutdown, not sure how the FS ends up getting dirty then 2020-07-27 12:53:57 I see 2020-07-27 12:54:14 ws2k3: Dunno, please make a bug report at https://gitlab.alpinelinux.org/alpine/aports/issues/new and go into more detail, then we can discuss it with the postfix maintainer 2020-07-27 12:54:25 would an abrupt shutdown weeks ago (eg due to system getting stuck) cause the fs to be dirty? 2020-07-27 12:54:49 I mean would it persist all this time and I need to run fsck on the partition on a different system (since I cant do it on a mounted system) 2020-07-27 12:55:40 ws2k3: seems not 2020-07-27 12:55:48 https://pkgs.alpinelinux.org/contents?file=qshape&path=&name=postfix&branch=edge&repo=main&arch=x86_64 2020-07-27 12:58:29 abenz: Ah yes, you'd have to run fsck once to make sure the FS is OK again 2020-07-27 12:59:44 i see ikke i will create a gitlab issue about it 2020-07-27 14:57:24 Heya guys, I'm building rust for my own distro based on alpine's rust build recipe https://git.alpinelinux.org/aports/tree/community/rust/APKBUILD however I'm getting this error: http://pktsurf.in/p/rust.error.txt . Prior to the build I created the common glibc-based symlinks also. Any ideas? 2020-07-27 15:00:42 I guess the tarballs you downloaded for bootstrapping are built against glibc instead of musl 2020-07-27 15:01:12 Cogitri: so the symlinking will not work? 2020-07-27 15:01:33 Well no, symlinking musl to what glibc supports doesn't make it glibc 2020-07-27 15:01:43 I googled the same errors, and it seems they fixed that for the x86_64 builds. 2020-07-27 15:04:31 fixed what exactly? 2020-07-27 15:06:59 ikke: this one: identical error, https://stackoverflow.com/questions/58766740/how-can-i-target-my-rust-application-and-its-dependencies-to-musl and this: https://github.com/rust-lang/rust/pull/58575 2020-07-27 15:08:55 You're using the -gnu tarballs linked against glibc though 2020-07-27 15:09:06 You have to use the -musl ones (or Alpine's tarballs) 2020-07-27 15:18:03 Cogitri: ok, I attempted to fix this issue by correcting the configure options, and it appears to be downloading the rust-std tarball correctly at least, but fails to download rustc and cargo musl tarballs because they don't exist on the server: http://pktsurf.in/p/rust.error.1.txt and here's their directory: https://static.rust-lang.org/dist/2020-05-07 ... wonder how alpine is building for aarch64 in 2020-07-27 15:18:06 this case. 2020-07-27 15:19:51 We have the rust-bootstrap package 2020-07-27 15:20:04 That practically is just the rust package itself, so we bootstrap the rust package from the rust package 2020-07-27 15:20:44 Can you be kind enough to provide a link to it? I can't find it anywhere in git.alpinelinux.org. 2020-07-27 15:21:14 It's just in the rust APKBUILD via `provides="rust-bootstrap"` 2020-07-27 15:22:07 Oh. 2020-07-27 15:22:26 See the Rust apks from https://alpine.global.ssl.fastly.net/alpine/edge/community/aarch64/ for what packages we bootstrap from 2020-07-27 15:23:53 Cogitri: fyi: https://dl-cdn.alpinelinux.org now works 2020-07-27 15:24:09 no need to use that fasly domain name anymore 2020-07-27 15:24:58 Oh, I just grabbed that from mirrors.alpinelinux.org 2020-07-27 15:24:59 I guess the URL should be updated there 2020-07-27 15:25:08 Nice that it works now :) 2020-07-27 15:26:40 fastly supports custom domains now via lets encrypt 2020-07-27 15:26:43 so that's nice 2020-07-27 15:26:54 (not sure how long they support it, may have been a while already) 2020-07-27 15:35:46 Cogitri: I can't seem to figure out how to do this bootstrapping thing. Is there a separate build recipe for this? Cos I'm running almost the exact same commands as your build recipes, and this thing is getting over my head. 2020-07-27 15:36:47 Cogitri: this is my build script: http://pktsurf.in/p/rust.SMBuild.txt 2020-07-27 15:37:21 Everything we do is contained in the rust APKBUILD 2020-07-27 15:37:37 We just use the system's rust package, we don't bootstrap from tarballs 2020-07-27 15:37:49 Sorry, I don't have much time to help due to GUADEC right now 2020-07-27 15:39:03 skyroveRR: The initial bootstrap was done a long time ago. Nowadays we bootstrap by using an existing rust compiler package from the alpine repositories 2020-07-27 15:40:17 ikke: oh, so the starting point will be grabbing the rust-1.44.1-r0.apk from https://alpine.global.ssl.fastly.net/alpine/edge/community/aarch64/ ? And then.... ? 2020-07-27 15:40:32 you need to install that somehow 2020-07-27 15:41:02 if you don't use apk, you probably need to untar it to / 2020-07-27 15:41:05 6c8381ba967cd3842484965f3f7c1200a42a5539 is how I bootstrapped Rust on Alpine 2020-07-27 15:41:17 ACTION pokes algitbot 2020-07-27 15:42:04 I think algitbot has been disabled in #alpine-linux a few months ago 2020-07-27 15:42:15 oh 2020-07-27 15:42:32 clandmeter: ^ on purpose? 2020-07-27 15:44:36 hello 2020-07-27 15:45:06 skyroveRR: https://gitlab.alpinelinux.org/alpine/aports/-/commit/6c8381ba967cd3842484965f3f7c1200a42a5539 2020-07-27 15:45:29 i am confused. When using a go binary to make curl requests (by actually using "net/http"), the binary seems to find CA certificates within alpine:edge. However this happens even if "ca-certificates" are not installed. I see installing curl installs ca-certificates. 2020-07-27 15:45:39 are there any root certificates shipped by default with alpine:edge? 2020-07-27 15:50:02 /etc/ssl/cert.pem, which is owned by ca-certificates-cacert 2020-07-27 15:50:47 Oh, that's old :/ 2020-07-27 15:50:58 ikke: i was about to ask about `/etc/ssl/cert.pem` 2020-07-27 15:51:12 it works, though 2020-07-27 15:51:35 yeah, that file works, just not the package that owns it 2020-07-27 15:52:00 in edge it's called ca-certificates-bundle 2020-07-27 15:53:36 ikke: so what does `ca-certificates` add? 2020-07-27 15:54:41 bash-5.0# apk list -I | grep -i cert 2020-07-27 15:54:44 ca-certificates-cacert-20190108-r0 x86_64 {ca-certificates} (MPL-2.0 GPL-2.0-or-later) [installed] 2020-07-27 15:54:46 i see now 2020-07-27 15:54:47 this comes by default 2020-07-27 15:55:20 ikke: alright. I'll have a look. Thanks for the assistance thus far. 2020-07-27 15:59:05 ikke: how did you find the package that owns the file? 2020-07-27 16:03:29 apk info -W /etc/ssl/certs/cert.pem 2020-07-27 16:03:43 ca-certificates.pem 2020-07-27 16:24:46 ikke: nope 2020-07-27 16:25:18 algitbot: ping 2020-07-27 16:26:03 Don't know 2020-07-27 16:26:09 Maybe holidays 2020-07-27 16:26:36 The script is not enabled I guess for this channel 2020-07-27 16:26:54 You can symlink it 2020-07-27 17:02:25 ikke: thank you. `apk info -W` will help me in many situations 2020-07-27 17:04:10 Cogitri: I see. will do that, thanks 2020-07-27 17:50:25 anyone know if openrc has a way to handle running init scripts on user login? 2020-07-27 17:50:36 It doesn't 2020-07-27 17:51:19 didn't think so based on my failure to find anything indicating otherwise, but it was worth asking :) 2020-07-27 17:51:23 it's a system init service 2020-07-27 17:51:35 probably best way to handle that stuff is profile? 2020-07-27 17:51:38 Would be super great to have something like systemd-user though 2020-07-27 17:51:51 It's certainly by far not the best thing, but the easiest 2020-07-27 17:52:13 The best would be having a proper service manager, you could use something like runit or s6-rc, but that'll be rather annoying to setup 2020-07-27 17:52:36 that's sounds painful, I like my openrc :( 2020-07-27 17:53:42 might have to just suck it up and go with it. My use case is to run a modified version of anbox-container-manager which points to different user android images 2020-07-27 18:57:36 the Anbox container manager is a system service, run as root 2020-07-27 18:57:45 well, on Alpine at least 2020-07-27 18:58:13 sudoedit /etc/init.d/anbox-container-manager 2020-07-27 22:08:58 hi how does it select the arch here? https://hub.docker.com/_/alpine 2020-07-27 22:09:24 -> Supported architectures: (more info) amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, s390x 2020-07-27 22:26:16 Hello 2020-07-27 22:26:37 which build do you recommend for ? RK3328 (NanoPi R2S) 2020-07-28 00:06:41 , 2020-07-28 05:00:37 Anyone used the edge cloud-init package? 2020-07-28 06:06:51 What does stack a runlevel mean? 2020-07-28 06:12:56 Looking at the rc-update help 2020-07-28 06:14:37 'runlevel stack'? 2020-07-28 06:16:21 Is like a grouping? 2020-07-28 06:16:58 I have never come across the term before 2020-07-28 06:52:24 Hi, I want to use setup-disk to install on an root dir, but don't want to copy the host's apk world 2020-07-28 06:52:54 https://github.com/alpinelinux/alpine-conf/blob/master/setup-disk.in I don't find where host's world was passed to the rootfs 2020-07-28 06:53:07 Is this possible ? 2020-07-28 07:38:08 Figured out, this is caused by lbu package, use miniroot as apkvol solved the problem 2020-07-28 08:30:33 PhoenixMage: I use the cloud-init package in an OpenStack cloud environment 2020-07-28 08:32:07 though network configuration is deactivated 2020-07-28 08:32:28 I can't recall the problem, but my VM image is configured to use DHCP anyway so I didn't need cloud-init to manage networking 2020-07-28 09:08:43 hello, I've searched trying to reset root password but didn't find a solution. how should I do it on Alpine? I've booted into single mode but what ever I do there wouldn't work. everything mounted rw 2020-07-28 09:11:54 mtneug: Did you set all the init scripts to run at boot level? 2020-07-28 09:12:48 yes 2020-07-28 09:12:50 uaa: Single user still asks for the root password doesnt it? 2020-07-28 09:13:06 no 2020-07-28 09:13:25 What doesn't work? 2020-07-28 09:13:38 mtneug: Cool thanks, thats what I was trying to find out since I couldnt find any documentation 2020-07-28 09:13:51 I typically use init=/bin/sh 2020-07-28 09:13:52 PhoenixMage: you may need to install cloud-utils-growpart separately 2020-07-28 09:14:46 mtneug: I am using f2fs as its a raspberry pi and it doesnt support resizing through cloud-init that I could see 2020-07-28 09:15:52 Thanks for the heads up though 2020-07-28 09:16:50 uaa: like ikke I use init=/bin/sh and I usually run sync to make sure its written to disk before I reboot 2020-07-28 09:19:31 do I need to remount / ? 2020-07-28 09:20:11 You did not tell us yet what error you are getting 2020-07-28 09:20:18 So we have no clue 2020-07-28 09:20:45 I'm unable to reset the root password 2020-07-28 09:21:00 it's seems like it's empty. like disabled or something 2020-07-28 09:23:35 did they just leave? lol I have parts turned off 2020-07-28 09:23:44 yes, they did 2020-07-28 09:23:50 And now they are back 2020-07-28 09:24:11 a bug in my system forced me out, sorry 2020-07-28 09:24:26 hope no one said something bad while I'm away 2020-07-28 09:24:39 lots of gozzip 2020-07-28 09:24:52 :-X 2020-07-28 09:25:01 uaa: You boot to single user mode and type "passwd" put in your new password and then reboot but the password doesnt work? 2020-07-28 09:25:14 WE need more info 2020-07-28 09:25:20 I type passwd root 2020-07-28 09:25:34 I open /etc/password I see change 2020-07-28 09:25:41 but after reboot nothing there 2020-07-28 09:25:59 /etc/passwd doesnt store passwords 2020-07-28 09:26:11 Do you use a run-from-ram system? 2020-07-28 09:26:16 no 2020-07-28 09:26:29 yeah I guess it's in /etc/shadow 2020-07-28 09:26:43 not ram 2020-07-28 09:26:52 unless I missed up something while installing 2020-07-28 09:27:15 You shouldnt need to specify a user but it shouldnt hurt either 2020-07-28 09:27:44 I'd try again and run a sync after running passwd 2020-07-28 09:28:01 do I have to remount / < this 2020-07-28 09:28:11 Just out of curiousity, how do you boot to single user? 2020-07-28 09:28:11 I think I'm using LVM not sure if it's related 2020-07-28 09:28:19 no, that should not matter 2020-07-28 09:28:36 I edit grub and add single or init=/bin/sh 2020-07-28 09:28:54 ok, one of those is single user mode the other isnt 2020-07-28 09:29:12 which one? 2020-07-28 09:29:46 When you add single you get single user mode, when you add init=/bin/sh you are essentially bypassing booting 2020-07-28 09:30:32 bypassing the normal init system 2020-07-28 09:30:54 I get this message "sh: can't access tty; job control turned off" not sure if it's related to this 2020-07-28 09:31:01 no I"m on single again. what should I do? 2020-07-28 09:31:06 remount something? 2020-07-28 09:31:12 or just change the password? 2020-07-28 09:31:13 Only if things are mounted ro 2020-07-28 09:31:26 I don't see things mounted ro 2020-07-28 09:31:27 but if passwd doesn't give an error message, then that was not the case 2020-07-28 09:31:41 no error 2020-07-28 09:32:09 apparently there is not shadow file so it's stored in /etc/passwd right? 2020-07-28 09:32:40 most time, this is caused by rootfs not mount 2020-07-28 09:32:57 uaa: there should be a shadow file 2020-07-28 09:34:18 I think the installation might be corrupt. I'll re install,, what do you think? 2020-07-28 09:35:23 https://imgur.com/a/YqE7jhZ 2020-07-28 09:38:26 try apk fix alpine-baselayout 2020-07-28 09:40:10 error: unable to lock database no such file or directory 2020-07-28 09:40:32 error: failed to open apk database: similar error 2020-07-28 09:41:05 sounds like something is corrupted indeed 2020-07-28 09:41:13 did anything happen to this system? 2020-07-28 09:41:42 not sure, I installed it a month ago then forgot it 2020-07-28 09:42:06 sorry for bothering I'll try to create new one 2020-07-28 09:59:08 Anyone know where the patches at https://dev.alpinelinux.org/archive/rpi-patches/ come from? 2020-07-28 10:05:52 They are somehow based on https://github.com/raspberrypi/linux iirc, but not sure if there is any customization 2020-07-28 10:08:15 this patches are created by genpatch() in linux-rpi APKBUILD, I think 2020-07-28 10:09:58 is there a reason we use patches rather than just release tarbals? 2020-07-28 10:23:00 Q about packages: I'd like to contribute a package to community i think i've got the APKBUILD file and patches done should i simply attach these to the `feat` request ? 2020-07-28 10:23:17 pablonut: best would be to make a merge request 2020-07-28 10:23:26 pablonut: but note that packages initially start in testing 2020-07-28 10:23:43 after you or someone confirmed the package is working stable, it can be moved to community 2020-07-28 10:24:23 perfect - which repo would that need to go on ? 2020-07-28 10:24:34 guessing abuild 2020-07-28 10:24:37 aports 2020-07-28 10:24:44 https://gitlab.alpinelinux.org/alpine/aports 2020-07-28 10:25:02 abuild is just the tool to build packages :) 2020-07-28 10:25:14 ahh yeah sorry my bad :P 2020-07-28 10:25:23 no worry 2020-07-28 10:28:52 ikke: I don't know, ncopa can give answer to this question 2020-07-28 10:29:16 but I hope with linux 5.9 mainline will work with RPis 2020-07-28 10:30:30 PhoenixMage: rpi patches are diffs between https://github.com/raspberrypi/linux and mainline release 2020-07-28 10:31:07 sometimes i merge v5.4.y into latest rpi and push a upload a diff 2020-07-28 10:31:34 that is when i want push new mainline kernel release but rpi has not yet updated 2020-07-28 12:49:31 av[d]: Has anyone gotten f2fs working as their thier root partition? 2020-07-28 12:50:38 yes 2020-07-28 12:51:23 av[d]: What kind of install did you have? 2020-07-28 12:51:46 manual, on arm32 SBCs 2020-07-28 12:52:15 av[d]: I'm currently livebooting of a USB with persistence using `lbu` and I'm having trouble figuring out how to switch my root partition to f2fs 2020-07-28 12:52:42 add f2fs to /etc/mkinitfs/mkinitfs.conf 2020-07-28 12:52:54 for example, 'features="ata base ext4 kms mmc raid usb f2fs"' 2020-07-28 12:53:35 I'm not sure how to do that for run-from-ram installs 2020-07-28 12:54:07 av[d]: I don't even have a `/etc/mkinitfs/mkinitfs.conf` 2020-07-28 12:54:49 run-from-ram uses tmpfs :) 2020-07-28 12:58:56 av[d]: Is there a way to change the tempfs configuration to use f2fs? 2020-07-28 12:59:20 That does not make sense 2020-07-28 12:59:23 tmpfs is in ram 2020-07-28 12:59:35 av[d]: Oh, tru 2020-07-28 13:00:42 av[d]: Idk what's happening then. My home partition is already using f2fs but I'm getting major lock-ups indicating my USB drive's endure taking a hit from all the random read/writes. 2020-07-28 13:00:54 av[d]: endurance* 2020-07-28 13:54:46 luks with correct key, device mapper not show up 2020-07-28 13:55:11 APPEND is. modules=sd-mod,usb-storage,ext4,encrypt nomodeset quiet cryptroot=UUID=99e003a0-1418-4e97-9f8f-24fb52ee8250 cryptdm=cryptroot 2020-07-28 13:56:37 entered emergency shell, manul cryptsetup open and mount is working 2020-07-28 14:09:12 need help https://unix.stackexchange.com/questions/600743/luks-device-mapper-not-show-up-after-entered-password 2020-07-28 14:10:15 I can check in a bit what boot args I have set on my laptop 2020-07-28 14:16:41 anybody have a script handy to manage apk-new files? maybe something like dispatch-conf on gentoo? or sysmerge on freebsd? 2020-07-28 14:17:20 update-conf 2020-07-28 14:17:59 wener[m]— it smells like cryptsetup hasn't unlocked the disk 2020-07-28 14:23:39 wener[m]— can you manually run cryptsetup in the rescue shell? 2020-07-28 14:24:07 also did you edit /etc/mkinitfs/mkinitfs.conf 2020-07-28 14:24:17 winny: I can manually cryptsetup open, mount ad /sysroot and boot 2020-07-28 14:24:37 yes, add cryptsetup in /etc/mkinitfs/mkinitfs.conf 2020-07-28 14:25:04 so you ran 'cryptsetup luksOpen /dev/disk/by-uuid/99e003a0-1418-4e97-9f8f-24fb52ee8250 cryptroot' (i think that's how the mkinitramfs initramfs will do it) 2020-07-28 14:26:23 yes, here is how I manual open https://i.stack.imgur.com/BalR9.png 2020-07-28 14:26:33 ikke— cheers, for what it's worth, is there some documentation i missed? 2020-07-28 14:26:47 could you try the above 2020-07-28 14:26:47 I think this should be handled by initramfs or something 2020-07-28 14:27:05 the initramfs doesn't know about a sda2, it knows about a uuid 2020-07-28 14:27:24 winny: No idea, i've also learned it from someone else 2020-07-28 14:27:25 I use UUID= 2020-07-28 14:27:38 dont have udev that mount /dev/disk/by-uuid 2020-07-28 14:28:25 maybe this is the problem 2020-07-28 14:29:42 oh maybe it's using nlplug-findfs 2020-07-28 14:30:16 / # cryptsetup open UUID="99e003a0-1418-4e97-9f8f-24fb52ee8250" cryptroot 2020-07-28 14:30:16 Device /dev/disk/by-uuid/99e003a0-1418-4e97-9f8f-24fb52ee8250 does not exist or 2020-07-28 14:30:16 access denied. 2020-07-28 14:31:41 But if initram can not found by uuid, is should not ask for password in the first place 2020-07-28 14:32:53 https://github.com/alpinelinux/mkinitfs/blob/961726b6aeb8e12176009675f22ed0ffc2b26e14/initramfs-init.in#L443-L482 2020-07-28 14:34:08 for what it's worth here is one of my alpine boxes's default_kernel_opts in update-extlinux.conf: default_kernel_opts="nomodeset quiet rootfstype=ext4 cryptroot=UUID=3cb7aacf-4975-466b-bb6d-92a13ad60496 cryptdm=rootCrypt cryptdiscards cryptkey" 2020-07-28 14:35:07 thanks 2020-07-28 14:38:46 you could try passing debug_init=1 seeing if that gives you any better hints 2020-07-28 14:40:16 After add cryptdiscards , the dm showed up 2020-07-28 14:40:29 hi all, I am using alpine linux in an open source side project of mine, called https://github.com/chrisvel/wreeto_official 2020-07-28 14:40:55 There's an issue with rubygems and IPv6 which is open for some time and I can't find a solution https://github.com/chrisvel/wreeto_official/issues/5 2020-07-28 14:41:23 strange, that should have no bearing on its available wener[m], but glad it worked, maybe another step you did helped too? 2020-07-28 14:41:56 unfortunately there is no gai.conf in alpine, so I have been searching for an alternative and couldn't find something useful. Any help will be appreciated 2020-07-28 14:44:30 trying to build a reproducable setup image https://github.com/wenerme/alpine-image 2020-07-28 14:44:50 If this is caused by other tweak, will find out 2020-07-28 14:45:37 sounds like you are good hands, if it is related to cryptdiscards it smells like a bug 2020-07-28 14:47:36 Seems not related to cryptdiscards, removed cryptdiscards, add root=, not it boot up 2020-07-28 14:47:39 now it boot up 2020-07-28 14:55:22 wener[m]— here's a diff of my update-extlinux.conf https://0x0.st/ixPW.diff showing what was necessary to make my ext4 on lvm2 on luks on md root bootable (besides the edits needed to /etc/mkinitfs/mkinitfs.conf 2020-07-28 15:15:19 winny: My setup is almost the same, but I don't use lvm, the result is simpler 2020-07-28 15:15:57 Here is my setup, 60 line of shell, https://github.com/wenerme/alpine-image/blob/master/scripts/loopdev-luks.sh 2020-07-28 15:21:57 ScottHamilton[d]: Hello, I have pkg-config problem with ruby bundler on a docker container. bundler tries to build eventmachine but it gets an error when checking openssl's pkg-config : 2020-07-28 15:21:58 ScottHamilton[d]: here is the relevant output of /usr/lib/ruby/gems/2.7.0/extensions/x86_64-linux-musl/2.7.0/eventmachine-1.2.7/mkmf.log : 2020-07-28 15:21:59 ScottHamilton[d]: "pkg-config --exists openssl" 2020-07-28 15:22:00 ScottHamilton[d]: package configuration for openssl is not found 2020-07-28 15:22:01 ScottHamilton[d]:  2020-07-28 15:22:03 ScottHamilton[d]: What I don't understand it that pkg-config --exists openssl returns 0, I've added set PKG_CONFIG_PATH to /usr/lib/pkgconfig and ensured /usr/lib/pkgconfig/openssl.pc exists. What's going wrong? 2020-07-28 16:08:34 zoinks[d]: Does anyone how I can download `php-libxml` 2020-07-28 16:13:23 zoinks[d]: I got it nvm 2020-07-28 16:27:56 hey fellas. loving alpine so far. ran into an issue with cmake tho 2020-07-28 16:28:12 it wont work with libarchive. it just buggers up saying it cant read libarchive 2020-07-28 16:28:33 had to apk del cmake and then apk add icmake 2020-07-28 16:28:46 from the thingie doodad repository 2020-07-28 16:29:04 testing 2020-07-28 16:29:55 altho that kinda doesnt work for this thing im tryiung to build heh 2020-07-28 16:45:53 im trying to build cmake on my alpine 2020-07-28 16:46:18 tho its running in a virtual machine that doesnt have vm acceleration and is already on an ancient cpu 2020-07-28 16:48:06 WeblordPepe: Won't work with libarchive, how? 2020-07-28 16:48:45 it gives errors saying that its the wrong executible format or wrong binary format. sorry its way up in my terminal now. will have a look 2020-07-28 16:49:04 Sounds like wrong arch 2020-07-28 16:49:17 something about libexpat not working right 2020-07-28 16:50:01 yeah tho i havent specified any wired arches or nothin. just on x86_64 2020-07-28 16:52:42 cmake libexpat.so.1: Exec format error (needed by /usr/lib/libarchive.so.13) 2020-07-28 16:53:00 then it has a bunch of complaints about various XML functions not being found 2020-07-28 16:53:29 such as 2020-07-28 16:53:31 Error relocating /usr/lib/libarchive.so.13: XML_Parse: symbol not found libarchive 2020-07-28 16:54:37 Is it built against musl? 2020-07-28 16:54:40 or glibc? 2020-07-28 16:55:51 the thing im building? or cmake? im super new to alpine so i couldnt tell ya how cmake was built here (except that its from the testing branch it looks like?) - the actual thing im trying to use cmake for is a doom port. but i type cmake anywhere and its the same complaints 2020-07-28 16:57:01 /usr/bin/cmake: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-musl-x86_64.so.1, stripped 2020-07-28 16:58:34 im really liking this OS tho. the package manager is so fast. its seems so ...i dunno tidy or something. straight forward. having some troubles here sure but the OS itself is so free of garbage 2020-07-28 16:59:10 im running the whole thing at the moment inside a VM on an old amd athlon2 that doesnt have virtualization extensions so its all software emulation and its still fast 2020-07-28 16:59:33 tho im compiling cmake now on it so that ... that is not so fast 2020-07-28 17:00:20 can you check ldd libexpat.so.1 2020-07-28 17:00:35 It seems like libexpat is the issue 2020-07-28 17:05:18 sure thing. one sec 2020-07-28 17:06:13 /lib/ld-musl-x86_64.so.1: /usr/lib/libexpat.so.1.6.11: Not a valid dynamic program 2020-07-28 17:06:22 alpine:~/cmake-master# file /usr/lib/libexpat.so.1.6.11 2020-07-28 17:06:22 /usr/lib/libexpat.so.1.6.11: data 2020-07-28 17:06:29 that file response doesnt fill me with confidence 2020-07-28 17:07:37 readelf: Error: Not an ELF file - it has the wrong magic bytes at the start 2020-07-28 17:07:58 dun dun ddaaaAa 2020-07-28 17:08:55 sorry if this is the wrong place to dump a bug report - im pretty new & couldnt figure anything online & not signed up to anyting or what not 2020-07-28 17:09:30 i live on planet debian and this is my first trip off-world in a lot of years 2020-07-28 17:21:20 libexpat is functional for me 2020-07-28 17:21:37 ldd /usr/lib/libexpat.so.1.6.11 2020-07-28 17:21:42 libc.musl-x86_64.so.1 => /lib/ld-musl-x86_64.so.1 (0x7f3ddd67a000) 2020-07-28 17:48:17 hmm 2020-07-28 17:48:34 wanna md5sum it? 2020-07-28 17:48:48 a40d89eb685cbf20299f2f58ead1e9a9 libexpat.so.1 2020-07-28 17:48:51 thats me 2020-07-28 17:49:08 0752cdb959724964cd0b7200aa773026 2020-07-28 17:49:25 lddtree is pretty cool. i just found it 2020-07-28 17:49:36 try lddtree /usr/bin/cmake 2020-07-28 17:49:41 what a cool tool 2020-07-28 17:50:45 nice 2020-07-28 17:51:27 seems like your libexpat.so.1 library is corrupt somehow 2020-07-28 17:51:32 I'm trying to bump graphviz to 2.44.1, however when building with `abuild -r` I get the error message `>>> ERROR: graphviz: builddeps failed` and no more details 2020-07-28 17:51:36 How would I debug this? 2020-07-28 17:51:50 ikke: can i have your one? :P 2020-07-28 17:52:06 WeblordPepe: try apk fix expat 2020-07-28 17:52:16 ACTION tries 2020-07-28 17:52:29 telmich: try apk fix 2020-07-28 17:52:32 oh shit it goes 2020-07-28 17:52:50 heh thanks ikke 2020-07-28 17:53:00 thanks man 2020-07-28 17:53:04 no problem 2020-07-28 17:53:22 ohh... tons of texlive errors like this: `ERROR: texlive-20200406-r0: trying to overwrite usr/share/texmf-dist/fonts/enc/dvips/base/dvips-all.enc owned by texmf-dist-2020.55416-r0.` 2020-07-28 17:53:37 ah, that has been fixed in the mean time, I believe 2020-07-28 17:53:46 at least, someone was looking at it 2020-07-28 17:54:01 Cogitri: 2020-07-28 17:54:34 Yes, I think there's a MR to fix it now 2020-07-28 17:54:42 Gonna look into it once FF is done building 2020-07-28 17:54:48 Sorry for the breakage 2020-07-28 17:55:31 texlive suddenly started to provide the same files as texmf-dist 2020-07-28 17:59:38 hmm how would one get openGL libraries for building shiz ? not sure which package 2020-07-28 18:00:01 mesa right 2020-07-28 18:00:10 ? 2020-07-28 18:01:16 :) 2020-07-28 18:01:24 haha i didnt see someone here was actually called shiz 2020-07-28 18:02:00 hi :P pleased to meet you 2020-07-28 18:06:06 what does $pkgdir usually refer to? A temporary installation / root directory? 2020-07-28 18:07:17 ah, found it, it pkg/ inside the directory 2020-07-28 18:09:06 usually refereed to pkg/ 2020-07-28 18:12:59 wener[m]: no need to quote on irc 2020-07-28 18:15:41 It would be nice if the quote would stay in the matrix world, because here it is quite useful, but I can see it is not very natural in irc 2020-07-28 18:17:12 telmich: yes 2020-07-28 18:18:54 I was also wondering whether it makes sense to have a "native" alpine linux matrix channel, but I see the problem of community splitting with that 2020-07-28 18:24:28 maybe this isn't bad idea :P 2020-07-28 18:37:18 Wait...there is actually already #alpinelinux:matrix.org 2020-07-28 18:39:30 Different question: for some reason bumping graphviz from 2.44.0 to 2.44.1 is not straight forward and even after adding missing groff dependency, the configure does not find Python.h - is this a common pitfall? 2020-07-28 19:51:48 Watynecc[d]: My GPU make sound i want to stop it how do that 2020-07-28 19:57:43 Watynecc[d]: thanks irl 2020-07-28 19:57:47 Watynecc[d]: irc* 2020-07-28 20:47:09 does alpine have any packages for h264/5 support in qtwebengine? 2020-07-28 20:48:54 https://gitlab.alpinelinux.org/alpine/aports/-/issues/11331 2020-07-28 21:04:49 hmm 2020-07-28 21:04:54 guess I'm running into the same issue then 2020-07-29 01:06:30 Anyone seen it where udhcpc attempts to get an address but the interface is down and it doesnt try to bring it up? 2020-07-29 01:06:57 I essentiall have to "ip link set eth0 up" then restart networking 2020-07-29 01:17:50 ncopa3: Thanks for the info on those patches, any idea if Alpine is going to go 5.7? 2020-07-29 03:47:41 after adding "blacklist kvm" to /etc/modprobe.d/blacklist.conf i noted kvm is still loaded on subsequent boots, is there a different way to ensure a module isn't loaded? 2020-07-29 04:14:25 adding stuff to blacklist==... does not appear to do what one might think either 2020-07-29 04:20:03 ah I think i want modules_blacklist=... 2020-07-29 04:21:07 anyway, interesting issue -- this machine i have hangs on "Requesting system reboot". 2020-07-29 04:54:52 mps: ok, I use riot, the quote is handy, haha 2020-07-29 04:57:08 winny: maybe be cause by acpid not started ? 2020-07-29 05:25:12 huh i didn't think to check that 2020-07-29 05:26:10 i found after swithing the machine to uefi mode halt/rebooting works, but now i have to get this thumb drive bootable under grub and uefi. this particular machine is a bit picky about uefi stuff 2020-07-29 05:39:24 winny: Make a grub.efi file and make that your default uefi boot? 2020-07-29 05:46:04 Is syslinux efi working 2020-07-29 05:47:54 i'm not really sure what did the trick, i looked in efibootmgr, and i had around 100 entries for bogons (from an old fedora install many years ago), wiped those, and manually added one to boot grub 2020-07-29 05:48:57 good tips, i'll remember that for next time (it'll be sooner than i like, too!) 2020-07-29 05:49:29 i tried to get syslinux efi working on a another box with alpine, but was unsuccessful, would be very interested in using that too 2020-07-29 05:50:25 I want to try uefi on qemu, but qemu with uefi is kind of hard 2020-07-29 05:53:46 wener[m] I didn't know syslinux was working on an efi version 2020-07-29 05:55:39 I thought syslinux was dead 2020-07-29 05:56:07 given that the most recent release was 6 years ago 2020-07-29 06:01:57 winny what is this syslinux efi thing you speak of? 2020-07-29 06:16:27 adu— https://wiki.gentoo.org/wiki/Syslinux#Making_Syslinux_known_to_EFI 2020-07-29 06:16:36 https://wiki.syslinux.org/wiki/index.php?title=Install#UEFI 2020-07-29 06:16:48 I did not try very hard, to be honest 2020-07-29 06:29:11 wener[m]: I believe quoting is good for matrix, but here it looks ugly 2020-07-29 06:37:16 winny, why not just rename it BOOTX64.efi 2020-07-29 06:38:49 that's also a good question adu 2020-07-29 06:39:01 then you don't need to add a boot entry 2020-07-29 06:39:51 https://wiki.syslinux.org/wiki/index.php?title=Install#UEFI 2020-07-29 06:39:59 that's what the official docs say 2020-07-29 06:40:27 honestly I didn't know there was existing code for this 2020-07-29 06:40:32 i had done than on my elitebook, actually, because grub-install never made itself bootable no matter what i did 2020-07-29 06:41:49 i wish i could get back the lost months due to dealing with various pcs and misconfigured efi 2020-07-29 06:44:45 I'm kind of a UEFI expert, and it's a mess 2020-07-29 06:45:12 pretty much the biggest bug in UEFI is the E 2020-07-29 06:46:34 It's just so huge, and there are so many variants and versions and vendors that it's almost impossible to get right 2020-07-29 06:50:23 my personal opinion is that there will probably be some kind of stretchy standard in the future, and BIOS and UEFI are going to be points on a spectrum 2020-07-29 06:53:54 my personal favorite bootloader is the UEFI shell with a shell script that calls linux with the options that you want, no syslinux, no grub 2020-07-29 07:01:31 I boot grub efi from my various SBCs just for consistency 2020-07-29 08:02:06 PhoenixMage: we try to stick to LTS kernels 2020-07-29 08:03:05 We have linux-edge in testing for linux latest stable kernels 2020-07-29 08:24:01 mm... ---> Error relocating /usr/bin/links: __mktime64: symbol not found 2020-07-29 08:24:19 komnpomat: what arch? 2020-07-29 08:24:20 Error relocating /usr/bin/links: __utimes_time64: symbol not found 2020-07-29 08:24:26 32bit 2020-07-29 08:24:34 alpine edge 2020-07-29 08:24:37 oh well 2020-07-29 08:24:39 what version of musl is installed? 2020-07-29 08:24:46 You need to make sure you have musl-1.2 2020-07-29 08:24:51 how to check 2020-07-29 08:24:58 do you use a docker container? 2020-07-29 08:25:12 no, full install 2020-07-29 08:25:14 ok 2020-07-29 08:25:20 just do a full system upgrade 2020-07-29 08:25:22 apk upgrade -U 2020-07-29 08:25:58 komnpomat: https://lists.alpinelinux.org/~alpine/devel/%3C20200721171650.48fa63a4%40ncopa-desktop.copa.dup.pw%3E 2020-07-29 08:27:21 now upgrading 2020-07-29 08:27:37 which means rebooting :( 2020-07-29 08:27:40 you need to add -a (--available) as well 2020-07-29 08:28:55 after upgrade? 2020-07-29 08:29:16 No, just run that command again with -a 2020-07-29 08:29:18 ERROR: sway-1.5-r0: BAD signature 2020-07-29 08:29:24 lawl 2020-07-29 08:29:38 ok 2020-07-29 08:29:39 Yeah, that's mentioned in the e-mail as well 2020-07-29 08:30:25 Can you try again? 2020-07-29 08:31:05 I will, I am waiting to finish the earlier command 2020-07-29 08:31:10 nod 2020-07-29 08:37:12 now it's replacing 2020-07-29 08:39:34 ikke: thanks a lot! your genious! 2020-07-29 10:14:34 winny: some older implementations have broken variables, so you need to specify grub-install --removable 2020-07-29 10:15:04 also regarding your reboot problem you should try adjusting reboot= kernel parameter 2020-07-29 10:26:52 hello 2020-07-29 10:27:14 I am using alpine linux in an open source side project of mine, called https://github.com/chrisvel/wreeto_official 2020-07-29 10:27:18 There's an issue with rubygems and IPv6 which is open for some time and I can't find a solution https://github.com/chrisvel/wreeto_official/issues/5 2020-07-29 10:27:23 unfortunately there is no gai.conf in alpine, so I have been searching for an alternative and couldn't find something useful. Any help will be appreciated 2020-07-29 10:47:14 isn't gai.conf glibc specific 2020-07-29 10:49:07 I have no idea, what does it mean If it's glibc specific ? 2020-07-29 10:51:50 cvicpp: seems like an issue on the host 2020-07-29 10:52:09 THe Dockerfile seems to install fine for me on an ipv4 only host 2020-07-29 10:52:29 Will test it also on a ipv6 capable host 2020-07-29 10:53:37 │(12:10:33) Я: rekao bih da jeste ▒│ 2020-07-29 10:53:52 crap, sorry 2020-07-29 10:53:55 :P 2020-07-29 10:54:03 Thanks, it makes sense If it's related to binding of docker's & host's networks 2020-07-29 10:54:03 https://www.man7.org/linux/man-pages/man5/gai.conf.5.html 2020-07-29 10:55:58 cvicpp: I mean to say it is not defined by POSIX or I can't find 2020-07-29 10:56:11 yeah, it's something glibc specific 2020-07-29 10:56:19 but it would only be a workaround 2020-07-29 10:56:38 create empty file :) 2020-07-29 10:59:58 cvicpp: yes, working on an ipv6 capable host as well 2020-07-29 11:00:19 Issue is that for some reason you get an ipv6 dns record back while you cannot connect over ipv6 2020-07-29 11:00:56 that ipv6 address is @ fastly 2020-07-29 11:01:09 i just pinged an engineer over there to see if the issue is on their side :) 2020-07-29 11:02:15 maybe 2020-07-29 11:02:37 nice serendipity 2020-07-29 11:54:54 solar: thanks 2020-07-29 13:54:16 I'm getting http://ix.io/2sBu from `certbox --nginx` command on AWS. Anyone know how can I fix this? 2020-07-29 13:54:50 /etc/alpine-release says `3.13.0_alpha20200626`. 2020-07-29 13:57:11 vejetary1: hmm, cannot reproduce it on alpine:edge (docker) 2020-07-29 13:58:00 I don't know why this happens either. It wasn't doing this when I first get Let's Encrypt certificate. 2020-07-29 13:58:11 Maybe it got broken whe I did a system update. 2020-07-29 14:01:18 ikke: I did another update & upgrade & re-install the package now, but still doesn't work. :'( 2020-07-29 14:05:59 solar: sorry to interrupt, but do you have any updates ? 2020-07-29 14:06:18 no 2020-07-29 14:06:22 it's 7am 2020-07-29 15:52:28 Is it necessary to add root and non-OS in the cryptdm= in update-extlinux.conf? Cannot see to get the non-OS luks volume to decrypt automagically by using crypttab? 2020-07-29 15:54:06 My sentence is gibberish. Root and non-OS luks volumes and cryptdm in the default kernel options! 2020-07-29 15:56:01 Still not sure if I understand what you mean 2020-07-29 15:57:21 I have two luks volumes. The root one gets decrypted automatically at boot. The second is a data volume and it doesn't get decrypted automatically 2020-07-29 15:57:44 Can make the volume decrypt on the cli. 2020-07-29 15:59:00 Apart from detailing the second luks volume in crypttab, is there anywhere else it is required, i.e. default_kernel_opts in update-extlinux.conf? 2020-07-29 16:04:34 EF you want the root system to decrypt a non-OS volume after system start is that right? 2020-07-29 16:05:32 Yes please 2020-07-29 16:06:31 if you are using a keyfile you should be able to add an entry to /etc/conf.d/dmcrypt and then do rc-update add dmcrypt boot 2020-07-29 16:06:55 I had the same question the other day :P 2020-07-29 16:07:14 apparently crypttab is ignored (at least for this case) 2020-07-29 16:08:56 Would that apply to swap which is an lvm partition on the root luks or just the second luks? 2020-07-29 16:09:39 hmm I think unless you have swap separately encrypted it should already be decrypted with the root luks 2020-07-29 16:09:54 so at that point you'd just need an fstab entry for swap 2020-07-29 16:11:09 the setup I used this with was: root drive encrypted with LUKS that requires entering a password to unlock, plus two data drives encrypted with a LUKS key that should get decrypted (and mounted) automatically (ie not having to enter passwords for them) 2020-07-29 16:11:13 Okay thanks. Swap is being ignored too but that's tomorrow's problem I guess. Thanks for the help. Simple when you know how 2020-07-29 16:11:38 yeah, couldn't find anything on the wiki for it unf, might should add a page 2020-07-29 16:12:15 for swap you should just be able to have something like `/dev/mapper/swap swap swap defaults 0 0` in your /etc/fstab 2020-07-29 16:12:43 (replacing /dev/mapper/swap with whatever the path is from lvm) 2020-07-29 16:12:50 Mine is luks on raid10 for root, raid1 for /boot and a raid1 with luks for some config data. Aim is for root to be decrypted by a key on an sd card which they exposes the keyfile in /root/key for the second luks volume. 2020-07-29 16:15:14 Why make it simple! Haha. If syslinux booted raid10 non of this would be an issue 2020-07-29 16:16:12 ah, yeah :P 2020-07-29 16:16:41 I opted for a non-raid root drive with zfs mirror for the data drives; I figure as long as I keep good backups + write down the config steps then it's not a huge deal if the root drive dies 2020-07-29 16:16:58 it's for a server anyways so all the real stuff (ie VMs) is on the data drives 2020-07-29 16:28:01 mine is a synology replacement in a domestic servery-ish setup but nothing public or mission critical. 2020-07-29 16:38:44 o/ 2020-07-29 16:38:53 is there a tool like archiso but for alpine? 2020-07-29 16:39:17 Well, what does archiso do? 2020-07-29 16:39:53 Cogitri: it takes a package list that you craft (along with some configurations) and generates a liveusb image 2020-07-29 16:40:11 so I could, hypothetically, generate a custom liveusb for installation 2020-07-29 16:40:26 (in particular, so I can install alpine on a pinebookpro with LUKS with very little hassle) 2020-07-29 16:40:44 (a solid bit of documentation on how to accomplish that install would be a reasonable replacement) 2020-07-29 16:41:31 alot: The documentation is the missing part, but there is a scripts directory in aports which contains the scripts used to build the isos 2020-07-29 16:41:55 ikke: interesting 2020-07-29 16:42:17 ikke: and the isos are valid for liveusb as well as spinning media? 2020-07-29 16:42:21 yes 2020-07-29 16:42:26 excellent 2020-07-29 16:42:40 that seems like an option 2020-07-29 16:57:32 Hello71: thanks. I had used the --removable flag which might had done the trick. TIL about the reboot parameter 2020-07-29 17:02:47 alot: technically, postmarketOS already allows installing almost-Alpine on a pinebook pro with very little hassle 2020-07-29 17:04:11 note that it's a bit less minimal than Alpine, for example, you'll have chronie (ntp client) installed by default 2020-07-29 17:07:19 Hi!I need a little help. I have an ODROID H2 + SBC and would like to use it with Alpine. However, I could not find a solution for my network card. It contains an RTL8125, which in turn recognizes it as r8169. There is also a description of how to set it up, but I would like to use it from USB and I would like to ask for your help. Thank you very 2020-07-29 17:07:19 much in advance and sorry for my bad English! 2020-07-29 17:09:11 Anyone using Searx with Morty on Alpine? 2020-07-29 17:15:06 ggg: is this driver supported in mainline kernels 2020-07-29 17:17:44 Is it normal for ash to not read ~/.profile when I switch to that user with `su`? 2020-07-29 17:17:58 vejetary1: 'su -; 2020-07-29 17:18:01 vejetary1: 'su -' 2020-07-29 17:18:07 What do you mean? 2020-07-29 17:18:26 I use rtl8152 but can't see rtl8125 in kernel config 2020-07-29 17:18:34 ikke: What do you mean? 2020-07-29 17:18:40 vejetary1: man su 2020-07-29 17:18:54 vejetary1: you need to pass '-' to su to get a login shell 2020-07-29 17:18:56 oh, login shell... 2020-07-29 17:18:57 @mps thanks your answer, but i think no, not supported :( . 2020-07-29 17:19:02 dang it 2020-07-29 17:19:28 ggg: then we don't support it 2020-07-29 17:19:33 mps .These are the links that contain the description for Ubuntu:https://wiki.odroid.com/odroid-h2/hardware/install_ethernet_driver_on_h2plushttps://wiki.odroid.com/odroid-h2/hardware/install_r8125_dkms#tab__using_a_installation_script 2020-07-29 17:20:29 uh, what is real url 2020-07-29 17:20:30 hopefully one day Realtek will start properly supporting Linux 2020-07-29 17:20:32 mps And isn't there a chance that it will work somehow in diskless-mode? 2020-07-29 17:20:38 Oh 2020-07-29 17:20:53 DKMS: https://wiki.odroid.com/odroid-h2/hardware/install_r8125_dkms#tab__using_a_installation_script 2020-07-29 17:21:04 And the driver: https://wiki.odroid.com/odroid-h2/hardware/install_ethernet_driver_on_h2plus 2020-07-29 17:21:37 Sorry, but i am not a linux guru :( 2020-07-29 17:22:41 alpine doesn't have dkms but looks like this driver could be built 'manually' 2020-07-29 17:23:43 mps Can you possibly help me make it work 2020-07-29 17:23:54 See rtl8821ce-lts for an example, although ncopa doesn't prefer to add out-of-tree drivers 2020-07-29 17:25:58 ikke: also I don't understand why you introduced it 2020-07-29 17:26:20 because we don't have dkms :) 2020-07-29 17:26:41 :D 2020-07-29 17:26:45 So end-users have a hard time getting alpine to work with their hardware 2020-07-29 17:27:11 ggg: so I can follow ikke reasoning :) 2020-07-29 17:28:12 @mps If I understand correctly, shouldn't I even hope for it? 2020-07-29 17:28:26 joke aside, you need to install linux-lts or linux-edge, and linux-lts-dev or linux-edge-dev, depends which kernel you use 2020-07-29 17:29:23 follow instructions on wiki to unpack driver 2020-07-29 17:29:24 https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/community/rtl8821ce-lts/APKBUILD 2020-07-29 17:29:58 then tweak Makefile or autorun.sh script 2020-07-29 17:30:11 looks like it is not complicated 2020-07-29 17:30:36 right now I don't have much free time to test this 2020-07-29 17:31:17 that APKBUILD is for a similar driver, you can try to adopt it for the driver that you need 2020-07-29 17:31:44 yes, I think ikke is right 2020-07-29 17:32:19 but that will require setting complete alpine devel system 2020-07-29 17:32:29 yup 2020-07-29 17:35:04 why nlplug-findfs hang event if the dev is showed up 2020-07-29 17:36:24 vm is ok, but hang on machine 2020-07-29 17:36:36 nlplug-findfs -p /sbin/mdev UUID 2020-07-29 17:37:08 ACTION uploaded an image: image.png (2424KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/rZbOZBlmtKRBApNtPsgkMhjh > 2020-07-29 17:37:33 blkid 2020-07-29 17:37:33 echo Need $UUID 2020-07-29 17:37:33 nlplug-findfs -p /sbin/mdev $UUID 2020-07-29 17:45:07 never looked 'in' dkms inner working, but iiuc they have base dkms pkg and for each driver separate dkms-some-driver pkg? 2020-07-29 17:46:07 mps: this is the repo that arch uses for the rtl8821ce driver: https://github.com/tomaspinho/rtl8821ce/ 2020-07-29 17:46:08 Wow, it doesn't seem easy ... And do this again every time when i update? Do I understand correctly? 2020-07-29 17:46:21 Yes, for every kernel upgrade 2020-07-29 17:46:38 But once you have the package, that should be relatively easy 2020-07-29 17:47:43 well, whole idea with dkms looks strange, you must have running/installed kernel for which you have to build driver 2020-07-29 17:48:05 The idea is that kernel modules are automatically rebuilt when you upgrade the kernel 2020-07-29 17:48:24 so you need to have a dev environment installed 2020-07-29 17:48:59 would it work on alpine, because we remove old kernel on upgrade 2020-07-29 17:49:00 So it would use an apk trigger to start it 2020-07-29 17:49:04 yes 2020-07-29 17:49:07 that doesn't matter 2020-07-29 17:50:02 Are you sure, ikke? What if you upgrade the kernel and then install a dkms module that you want to load into the current kernel? 2020-07-29 17:50:07 I have some scripts which I used to build some out-of-tree modules but I always first reboot and then run these scripts 2020-07-29 17:51:41 let me try this what ggg need 2020-07-29 17:51:44 telmich: the same as if you want to load in-tree modules after upgrading 2020-07-29 17:53:51 True. This was/is actually my biggest complaint about arch linux and one of the great things about Debian, that loading kernel modules always works. Is there any plan/notion/general support for fixing this in Alpine mid term? 2020-07-29 17:54:38 no, I will not, they require me to enter mail :( 2020-07-29 17:54:40 telmich: I haven't heard any concrete plans for it 2020-07-29 17:55:21 this is non-free driver, sorry ggg 2020-07-29 17:55:55 shouldn't it be GPL if it's based on the kernel? 2020-07-29 17:57:10 GPL compliance even includes just sending it per snail-mail 2020-07-29 17:57:21 I didn't looked further if I have to enter my mail, or any data, to download it 2020-07-29 17:58:23 ikke: is this same driver as ggg asked 2020-07-29 17:58:46 ikke: sorry 2020-07-29 17:58:54 I missed something 2020-07-29 17:59:26 mps: https://github.com/kac89/r8125 2020-07-29 18:01:38 sorry, that does not include the source itself 2020-07-29 18:01:45 hmm, this looks better 2020-07-29 18:03:02 this look familiar :) https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=r8125 2020-07-29 18:03:25 yes, that's the same file 2020-07-29 18:06:27 running autorun.sh gives 'find: /lib/modules/5.4.34-0-lts/kernel/drivers/net/ethernet: No such file or directory' which is good sign 2020-07-29 18:18:05 hmm, ggg left and I found solution to her/his problem :) 2020-07-29 18:18:21 it is not complicated ;) 2020-07-29 18:19:55 perhaps they will come back 2020-07-29 18:20:15 I've built the rtl8821ce driver someone who was here on-and-off all the time 2020-07-29 18:20:48 hah, i was looking for the same driver :) 2020-07-29 18:20:56 hei 2020-07-29 18:20:59 foudn this one: https://github.com/TallGuy74/r8125 2020-07-29 18:21:08 lawl 2020-07-29 18:21:17 xorg failing hard with latest upgrade 2020-07-29 18:21:48 as a result am in sway now 2020-07-29 18:21:53 weirdest thing ever 2020-07-29 18:23:01 woah! alacritty smoothiest! 2020-07-29 18:24:20 u0jQx9gPyrYg: did you manage to build it? 2020-07-29 18:25:16 not yet, but i'll have to. but first i have to setup a system for building it... 2020-07-29 18:25:37 right 2020-07-29 18:25:45 at least this one seems to be a local guy judging from the name ;) 2020-07-29 18:25:55 I've got ' error: implicit declaration of function 'pci_set_mwi' [-Werror=implicit-function-declaration]' errors 2020-07-29 18:26:08 u0jQx9gPyrYg: heh 2020-07-29 18:27:08 guys, i'm lost to why my wifi chip on a c720 (ath9k) isn't loading the firmware, ip a only show loopback, I've installed linux-firmware-ath9k_htc using another machine 2020-07-29 18:27:20 the modules show 2020-07-29 18:27:39 in /lib/modules 2020-07-29 18:27:50 did you try to modprobe it? 2020-07-29 18:33:20 Hi again. Im so sorry, but my net was down :( 2020-07-29 18:33:57 :) 2020-07-29 18:35:21 The last time I saw this was https://github.com/kac89/r8125 2020-07-29 18:35:36 ggg: mps was looking it 2020-07-29 18:37:24 ggg: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=r8125 2020-07-29 18:40:05 Sorry for my stupid question, but should I be able to make a package of this? 2020-07-29 18:40:17 yes 2020-07-29 18:40:34 any other users of sway? 2020-07-29 18:40:48 you need to install linux-lts-dev and alpine-sdk 2020-07-29 18:41:32 by the way, latest upgrade killed /etc/default/grub 2020-07-29 18:41:33 download this driver, unpack it, tweak Makefile and build it 2020-07-29 18:41:42 that's all 2020-07-29 18:41:48 so now I can't have custom kernel command 2020-07-29 18:42:59 And then can it be installed smoothly from a package? Can I do the package in docker too? 2020-07-29 18:43:13 no, no package 2020-07-29 18:43:22 by 'hand' 2020-07-29 18:43:44 to make package will need some more time, which I don't have now 2020-07-29 18:44:23 any sway experts around? cursor is upside down 2020-07-29 18:44:26 maybe u0jQx9gPyrYg will make it 2020-07-29 18:45:12 well, it should be easy enough to create a package out of it 2020-07-29 18:46:00 Seriously? And will it get into the aports? If so, how much time does that usually be? 2020-07-29 18:46:17 oh, gone 2020-07-29 18:46:32 a bit impatient :) 2020-07-29 18:46:51 ggg: That's what we discussed earlier 2020-07-29 18:47:07 people who need drivers are usually impatient :) 2020-07-29 18:47:17 These drivers should ultimately be included in Linux upstream 2020-07-29 18:48:38 Don’t get mad, I’m a very beginner on a topic like this :( 2020-07-29 18:48:58 ggg: no worry 2020-07-29 18:49:06 afaik this driver should be in 5.4 but 5.7 latest... 2020-07-29 18:50:03 So is it the fastest to make for myself? However, another question will come soon :). How can I use it in diskless-mode? 2020-07-29 18:50:19 if you want to run it on a odroid h2+ then some of the device ids are off in 5.4 i think. 2020-07-29 18:50:48 ggg: if you make it as a package and include it in the package cache, it can just be installed like other packages on boot 2020-07-29 18:51:06 another option is to commit the kernel module with lbu 2020-07-29 18:53:44 u0jQx9gPyrYg: I don't see it in 5.7 2020-07-29 18:55:53 hmm, some refs in drivers/net/ethernet/realtek/r8169_main.c 2020-07-29 18:56:04 yeah. 2020-07-29 18:56:16 but that looks like a different driver, not? 2020-07-29 18:56:37 but i heard theres an A and a B revision. and those are not compatible. so maybe i'm wrong about support in 5.4 for the B revision 2020-07-29 18:57:16 for mkimage.sh (aports/scripts), how can I add modules to the initramfs? Is it enough to add /etc/modules and /etc/modules-conf.d/ to the apkovl I have alongside my mkimg script? 2020-07-29 18:58:42 /etc/mkinitfs/mkinitfs.conf and /etc/mkinitfs/features.d/ 2020-07-29 18:58:43 btw there's a howto and exra info on the odroid wiki for this device: https://wiki.odroid.com/odroid-h2/hardware/install_ethernet_driver_on_h2plus#how_to_install_ethernet_driver_on_h2_plus 2020-07-29 18:59:35 ikke: I'm using the scripts at the directory I mentioned which ios creating all this in a chroot I believe 2020-07-29 19:00:28 Are you saying it's enough to have mkinitfs.conf on my host? Will these scripts read the entries in the file on my host even if they're building in a chroot? 2020-07-29 19:00:42 no mentioning of B version in drivers/net/ethernet/realtek/r8169_main.c, only A 2020-07-29 19:00:57 c705: not sure if it uses the one on the host 2020-07-29 19:00:59 I don't think so 2020-07-29 19:01:25 ikke, sry modprobe complains that the module can't be found despite it existing in the path 2020-07-29 19:02:54 c705: in the profiles it defines what features are incldued 2020-07-29 19:03:01 but I guess they come from the package 2020-07-29 19:03:03 ikke: i didn't think it did which is why I asked if having the same contents in my apkovl would be enough 2020-07-29 19:03:49 ikke: yes, correct, but I specifically need a particular module with a particular config in the initramfs. I am hoping it's enough to include it in the apkovl file (i'll try tonight) 2020-07-29 19:04:23 high level question i guess is: is the apkovl file applied inside the chroot before the initramfs is built 9i'm hoping yes) 2020-07-29 19:05:09 I don't know enough about this to be able to confirm 2020-07-29 19:05:51 I assume you mean the initramfs that's part of the iso? 2020-07-29 19:06:13 ikke: is there some other way I can more easily make my own isos? Eventually I was going to make my own script for this (on the list), but if there's some other better documented way, I'm all ears 2020-07-29 19:06:19 ikke: yes, correct 2020-07-29 19:06:47 c705: I'm only aware of that mkimage.sh script 2020-07-29 19:06:56 Jesus guys, push very well! But I didn't understand a word of it anymore :) 2020-07-29 19:07:45 ikke: yeah, me too. I wish it was better documented. One day, i'll work on acghieving that (also on the list ;-) ) 2020-07-29 19:08:01 maybe i'll learn to type properly as well..let's see 2020-07-29 19:09:22 That's something we all could probably do :P 2020-07-29 19:14:47 ggg: if no one make it remind me on weekend, I will try to find some time for it 2020-07-29 19:15:09 mps: did you solve that build error? 2020-07-29 19:15:17 sounds like some header is missing 2020-07-29 19:16:46 no, I didn't and I stopped there 2020-07-29 19:17:07 should pass -Wno-error to gcc 2020-07-29 19:17:48 ok 2020-07-29 19:18:05 it is implicit-function-declaration warning 2020-07-29 19:18:16 yes, which means the function prototype is missing, right? 2020-07-29 19:18:28 I think so 2020-07-29 19:19:50 I added pciutils-dev and linux-headers but didn't helped 2020-07-29 19:19:57 https://www.kernel.org/doc/html/latest/driver-api/pci/pci.html 2020-07-29 19:20:41 I don't even know what to say :). Thank you very much, though I was very afraid it would be much harder or slower. Thank you very much and very grateful. 2020-07-29 19:20:43 hmm, so source doesn't include proper headers? 2020-07-29 19:22:45 mps: where did you get this error? 2020-07-29 19:22:59 with 'make' 2020-07-29 19:23:06 I mean, where in the source 2020-07-29 19:23:08 in src subdir 2020-07-29 19:25:07 ikke: https://tpaste.us/DDdd 2020-07-29 19:38:23 dayum!! 2020-07-29 19:38:31 alactritty fast as hell!! 2020-07-29 19:40:14 mps: include/linux/pci.h:int __must_check pci_set_mwi(struct pci_dev *dev); 2020-07-29 19:40:36 that's for linux 5.4, so it should be defined 2020-07-29 19:41:41 my /etc/defaults/grub.conf disappeared with latesnt edge upgrade 2020-07-29 19:41:46 any thoughts? 2020-07-29 19:42:53 xopowo: I don't see any package that included that file 2020-07-29 19:43:34 xopowo: you mean /etc/default/grub? 2020-07-29 19:43:55 afontain_: yeah, the reason I'm interested in alpine rather than arch is specifically for the minimality 2020-07-29 19:44:04 namely, I want to only install the things that I specifically want 2020-07-29 19:44:12 it's going to be… a very minimal system 2020-07-29 19:46:09 ikke: exactly, I did had modyfied it but with the latest upgrade it has vanished 2020-07-29 19:46:32 xopowo: is grub still installed? 2020-07-29 19:46:46 And I find it unlikely that the upgrade removed it, especially if you modified it 2020-07-29 19:46:48 dunno, isn't the default bootloader? 2020-07-29 19:47:16 xopowo: depends, syslinux is the default in most cases. grub is mostly used when you have uefi 2020-07-29 19:48:03 xopowo: https://pkgs.alpinelinux.org/contents?file=&path=%2Fetc%2Fdefault&name=grub&branch=edge&repo=main&arch=x86 2020-07-29 19:48:06 it still exists 2020-07-29 19:48:38 ikke: can I add kernel command option to syslinux? 2020-07-29 19:52:39 xopowo: /etc/update-extlinux.conf 2020-07-29 19:53:52 ikke: our linux-headers missing PCIE_LINK_STATE_* declarations 2020-07-29 19:54:42 at least on armv7 2020-07-29 19:55:08 ikke: thanks, apparently that's what's installed, since update-extlinux.conf is there 2020-07-29 19:55:24 хорошо :) 2020-07-29 19:55:43 xopowo: also check /boot 2020-07-29 19:55:56 for what? 2020-07-29 19:56:16 mentions of grub or ext/syslinux 2020-07-29 20:18:44 mps: seems like the Makefile does not support MODULES_DIR / KVER 2020-07-29 20:19:31 hmm, BASEDIR 2020-07-29 20:19:59 yes, needs changes or passing through make 2020-07-29 20:20:30 BASEDIR := /lib/modules/5.4.54-0-lts 2020-07-29 20:21:35 #include "/usr/src/linux-headers-5.4.54-0-lts/include/linux/pci.h" 2020-07-29 20:21:40 it just builds for me 2020-07-29 20:22:02 nice :) 2020-07-29 20:22:10 I will stop then 2020-07-29 20:22:11 Did you use the one from TallGuy74? 2020-07-29 20:22:36 no, from arch linux source in PKGBUILD 2020-07-29 20:23:03 ah ok 2020-07-29 20:23:13 I used that one 2020-07-29 20:23:34 good, u0jQx9gPyrYg was right about it 2020-07-29 20:24:45 But it tries to install it to / 2020-07-29 20:25:06 but I'll just manuall install it 2020-07-29 20:25:12 just make modules 2020-07-29 20:28:03 mps: it uses kernels modules_install, do you happen to know how to override where it installs? 2020-07-29 20:29:29 yes, look at linux-lts or linux-edge, I can't tell from the head 2020-07-29 20:30:06 make INSTALL_MOD_PATH="${pkgdir}" modules_install 2020-07-29 20:30:18 right 2020-07-29 20:30:37 Wonder if that works from an outer Makefile invocation 2020-07-29 20:31:09 it should, I use it from some scripts to build custom kernels 2020-07-29 20:31:16 ok 2020-07-29 20:32:15 but iirc $pkgdir should be absolute path 2020-07-29 20:32:53 it is 2020-07-29 20:33:32 hmm, not needed, I have this 'pkgdir=".."' in one script 2020-07-29 20:33:57 nice, it works 2020-07-29 20:34:51 I have an APK now :) 2020-07-29 20:34:55 you can look at my armv7 and aarch64 lxc's under ~/kernel dir 2020-07-29 20:34:59 :) 2020-07-29 20:35:54 ggg: https://tpaste.us/BjZb 2020-07-29 20:36:07 huh, ncopa will start to harass you :P 2020-07-29 20:36:19 I don't say I submit it 2020-07-29 20:36:47 someone probably will 2020-07-29 20:37:05 We need something like dkms 2020-07-29 20:37:14 I agree 2020-07-29 20:38:07 but I'm too tired to think anything, going afk 2020-07-29 20:38:18 o/ 2020-07-29 20:53:39 sway pros around? 2020-07-29 20:53:47 is there a way to change resolution? 2020-07-29 20:54:06 never used sway before 2020-07-29 20:54:15 it's kinda neat 2020-07-29 20:54:41 ikke: Xorg crashing hard with latest edge upgrade, something about timer or timing 2020-07-29 20:54:45 hold on 2020-07-29 20:55:14 (EE) client bug: timer event2 debounce short: scheduled expiry is in the past (-3 2020-07-29 20:55:17 ms), your system is too slow 2020-07-29 20:55:24 I don't think sway (the window manager) manages the resolution of the screen 2020-07-29 20:55:28 (EE) client bug: timer event2 debounce short: scheduled expiry is in the past (-3 2020-07-29 20:55:38 ikke: not, its unrelated 2020-07-29 20:55:49 resolution issue is for sway. 2020-07-29 20:56:05 sway working fine, latest upgrade broke hard xorg 2020-07-29 20:56:18 in desperation I got sway up and running. 2020-07-29 20:56:43 some discoveries such as alactritty butter smooth rendering 2020-07-29 20:59:10 xopowo: Little bit Searxing let me to this: https://www.reddit.com/r/swaywm/comments/fskmd6/how_to_change_screen_resolution/ and from there, to this: https://github.com/swaywm/sway/wiki#display-configuration 2020-07-29 20:59:35 I hope it is enough for you as I can't test it right now. :D 2020-07-29 21:00:08 vejetary1: I forgot to mention that I already got that on sway conf 2020-07-29 21:00:20 u0jQx9gPyrYg: https://tpaste.us/BjZb this is the APKBUILD for that driver btw 2020-07-29 21:01:06 u0jQx9gPyrYg: Did you accidentally set your password as username or something? :D 2020-07-29 21:01:21 vejetary1: some people like random usernames 2020-07-29 21:01:38 ikke: I was just kidding, lol. 2020-07-29 21:01:41 vejetary1: actually thanks because I had the output with the wrong caps 2020-07-29 21:01:57 xopowo: You're more than welcome, my good sir. 2020-07-29 21:02:08 it was autogenerated by firefox 2020-07-29 21:02:33 let's see if tmux survives killing sway 2020-07-29 21:02:42 it should 2020-07-29 21:03:17 IT will. 2020-07-29 21:03:25 But don't kill the server or the session. 2020-07-29 21:03:53 Just close your terminal through its "Close icon" or close shortcut/whatever, you get the idea. 2020-07-29 21:04:07 Or just do `C-b d` to detach (default keys). 2020-07-29 21:04:27 it will on alpine, probably. 2020-07-29 21:04:39 it wouldn't on systemd without modifications in how its run. 2020-07-29 21:04:58 I didn't know that. 2020-07-29 21:05:17 Well, I don't use systemd on any of my machines. :D 2020-07-29 21:05:27 I have to run ubuntu on my $dayjob laptop. 2020-07-29 21:05:32 so I have systemd-run --user --remain-after-exit tmux -S /tmp/0 new-session -d zsh stuff all over. 2020-07-29 21:06:02 bougyman: I run tmux in archlinux, and I have never run into that 2020-07-29 21:06:30 ikke: Maybe Arch has some saner defaults for systemd. 2020-07-29 21:06:38 ikke: you probably have KillUserProcesses=no in logind.conf 2020-07-29 21:06:49 There's a few ways to do it. None of them are "normal" defaults for systemd. 2020-07-29 21:06:55 Like I heard that Arch does not use Google's NTD servers by default (which systemd does). 2020-07-29 21:07:02 bougyman: right, it's commented out (so default) 2020-07-29 21:07:10 ikke: then that shouldn't work. 2020-07-29 21:07:24 If you start a tmux in an x session and kill that x session, the tmux should die. 2020-07-29 21:07:31 It has to, systemd kills the whole process group 2020-07-29 21:07:47 Yes, I'm aware of that, but iirc, tmux has always survived for me 2020-07-29 21:07:52 wild 2020-07-29 21:08:27 I've seen this exact problem crop up in #archlinux (and #ubuntu, and #systemd) many times. 2020-07-29 21:08:33 hmm 2020-07-29 21:08:58 which is all offtopic because alpine doesn't use systemd. Sorry I'm ranting. 2020-07-29 21:08:58 bougyman: LAWL!!! 2020-07-29 21:09:19 it shouldn't kill it 2020-07-29 21:09:23 bougyman: Good to know, though. Thanks. 2020-07-29 21:09:26 xopowo: I thought it should? 2020-07-29 21:12:17 basically this: https://unix.stackexchange.com/questions/490267/prevent-logoff-from-killing-tmux-session, but I have no idea why it's working for me 2020-07-29 21:13:14 so sway didn't kill it 2020-07-29 21:13:20 bougyman: mm.. are you young? 2020-07-29 21:14:03 the idea is not to kill your work and being able resume under any other circumstances 2020-07-29 21:14:17 bougyman: extremely important, systemd is doing it wrong again 2020-07-29 21:14:42 also relevant: https://github.com/tmux/tmux/issues/428 2020-07-29 21:15:07 xopowo: no, not young. 2020-07-29 21:15:57 I might be the oldest person in this channel. 2020-07-29 21:16:47 ikke:thanks! very cool 2020-07-29 21:16:49 bougyman: ok, it wasn't meant to demean or anything. But I thought a young person would not know the purpose of screen/tmux/dtach 2020-07-29 21:17:10 Of course I do. That's why the systemd behavior was so odd. 2020-07-29 21:17:20 I don't normally use systemd, so when it happened to me I was surprised. 2020-07-29 21:17:33 It's a different philosophy 2020-07-29 21:17:36 I follow #systemd, cause I have to know what's up with it, but I generally don't use it. 2020-07-29 21:18:12 I use voidlinux on most things. But my dayjob mandates ubuntu and amazon linux 2, and then we use alpine containers. 2020-07-29 21:18:32 This user finds it for example completely reasonable that everything gets killed: https://github.com/tmux/tmux/issues/428#issuecomment-222353206 2020-07-29 21:19:02 ikke: are you sure it's the same i was looking at? i'm into the rtl8125b - this looks like something else 2020-07-29 21:19:38 u0jQx9gPyrYg: it is at least based on the repo that you linked to 2020-07-29 21:27:19 i linked to this: https://github.com/TallGuy74/r8125 - the apk is based on the other repo linked by someone else: https://github.com/kac89/r8125 2020-07-29 21:28:36 u0jQx9gPyrYg: "source="$pkgname-$_commit.tar.gz::https://github.com/TallGuy74/r8125/archive/$_commit.tar.gz"" 2020-07-29 21:56:16 ooooh, ikke i only parsed until this line: url="https://github.com/tomaspinho/rtl8821ce" 2020-07-29 22:00:40 yeah, I accidentally left that from the package I copied 2020-07-29 22:04:13 is there already a fix in the work to make libvirt not hang? > https://gitlab.alpinelinux.org/alpine/aports/-/issues/11602 2020-07-29 22:04:42 i found the workarounds, but is there a discussion about a serious fix? upstream seems not to care at all. 2020-07-29 22:11:02 xopowo: a way to change resolution is wdisplay, packaged. There is also the command line wrender 2020-07-29 23:54:56 hbug__: correct, upstream doesn't care to write to POSIX standards 2020-07-29 23:55:15 though I have not noticed the bug myself in a few days for whatever reason 2020-07-30 03:47:01 mtneug: Are you using cloud-init to install any packages (like ansible for the next level config)? 2020-07-30 06:57:44 PhoenixMage: I'm not entirely sure if I ever did this with Alpine. 2020-07-30 06:58:23 I use Packer to build Alpine VM images and install all packages in that way 2020-07-30 07:00:20 in regular intervals, the VM is then replaced with a new image (i.e. immutable infrastructure) 2020-07-30 07:01:37 mtneug: what is the hueristic you drive machine replacement with? 2020-07-30 07:04:28 hbug___: libvirt has been discussed some days back, and while fixing libvirt and maintaining it would be possible, it takes effort and it's a problem with limited dev resources... would be better to send patches upstream, but like you said, upstream doesn't care 2020-07-30 07:05:20 one of the devs had a good understanding of what kind of care libvirt needs tho 2020-07-30 07:29:28 maldridge: this approach is relatively new for me. Currently, I build a new VM image in CI every week and replace the VM using Terraform. 2020-07-30 07:31:09 The Alpine VM is more or less a test for this approach. It is not running critical user-facing services. 2020-07-30 07:37:03 mtneug: All good I found the packages module on cloud-init, worked a treat 2020-07-30 08:07:55 ah, a bit harsh for replacement, but does work 2020-07-30 08:35:13 PhoenixMage: you can always use runcmd for custom actions not covered declaratively 2020-07-30 08:38:39 maldridge: would you recommend something else? I think Terraform supports rolling updates and a properly configured load balancer should lead to zero downtime. 2020-07-30 08:53:29 I tend to work with fleets that are large enough where an autoscaller and an orchestrator can cycle machines out over a period of time with no downtime 2020-07-30 08:53:35 but those solutions aren't practical for all use cases 2020-07-30 08:53:38 Something is funky with pdflatex since the upgrade today 2020-07-30 08:53:42 It's running at 100% cpu and does not return 2020-07-30 08:54:43 And it creates a lot of .vrb files 2020-07-30 09:01:07 nvm, was a broken org mode file 2020-07-30 09:07:45 afontain_: weird --> ERROR: wdisplays-1.0-r1: BAD signature 2020-07-30 09:08:33 and 'wrender' doesn't exist 2020-07-30 09:09:59 notice that I only said wdisplays was packaged 2020-07-30 09:10:30 not that wrender was too 2020-07-30 09:11:06 The bad signature error is because your mirror is syncing 2020-07-30 09:11:25 try again, it'll work after some tile 2020-07-30 09:11:30 *time 2020-07-30 09:11:45 http://ftp.halifax.rwth-aachen.de/alpine/edge/main 2020-07-30 09:12:43 perhaps I should change mirrors 2020-07-30 09:15:56 afontain_: you seem to be knowledgeable with sway 2020-07-30 09:16:07 is there a way to turn off mouse focus? 2020-07-30 09:21:34 xopowo: what do you mean with mouse focus? 2020-07-30 09:22:57 in `man 5 sway`, see focus_follows_mouse 2020-07-30 09:38:12 hbug___: what afontain just suggested 2020-07-30 09:38:18 I wonder if it's true 2020-07-30 09:53:20 another question does sway support shading? 2020-07-30 09:53:50 if swap is not automounted with fstab line but works with swapon -a, any suggestions on how do I start to debug it? 2020-07-30 09:54:32 I just realized I don't have a application bar 2020-07-30 09:55:20 What is the purpose of the Virtual install? 2020-07-30 09:55:27 installation image* 2020-07-30 09:55:41 virtual machines 2020-07-30 09:55:50 I get it, but like why? 2020-07-30 09:55:54 vejetary1: perhaps optimise, with the modules and all for virtual machines 2020-07-30 09:56:09 vejetary1: give it a try, it's free and quick 2020-07-30 09:56:12 maybe qemu-guest stuff? 2020-07-30 09:56:13 the kernel, mostly, it has all the virtual i/o stuff in it 2020-07-30 09:56:13 Is it something like for VPS, or VirtualBox testing? 2020-07-30 09:56:47 By VirtualBox, I mean also QEMU and all other programs that I forgot their name. 2020-07-30 09:57:00 vejetary1: there are a bunch of kernel modules that help the vm images perform better. 2020-07-30 09:57:44 Does VMs do something different that requires specific kernel modules in order to get better performance? 2020-07-30 09:58:10 And does that cover say VPSes as they are also Virtual Machines? 2020-07-30 09:58:12 vejetary1: yes, such as vhost-net, vhost-socket, etc. 2020-07-30 09:59:02 virtio drivers, qxl display driver, virtio-vga, virtio-net, m$$10.dll own performance options, xen options, virtualbox modules, etc 2020-07-30 09:59:30 Do you have any possible anwser to my secon question, too? xopowo 2020-07-30 10:00:12 VPS that's a cloud root hosting? 2020-07-30 10:00:30 Yes. 2020-07-30 10:01:07 vejetary1: then most definately, inform yourself which virtualization is the hosting using and apply those. 2020-07-30 10:01:38 however, most generix images tend to work albeit not in their optimal mode perhaps. 2020-07-30 10:01:49 many distros now offer cloud images. 2020-07-30 10:02:30 Then is Virtual installation image for cloud computing? 2020-07-30 10:02:50 vejetary1: either inforem which technology does the hosting use, or boot a liveISO and do some hardware probing. 2020-07-30 10:03:05 Let me see. 2020-07-30 10:03:53 vejetary1: that's relative and depends on your goals and case scenario. 2020-07-30 10:04:39 vejetary1: since qemu can emulate whole physical hardware, so you want cloud computing using real hardware emulation for whatever reason you can do it. 2020-07-30 10:05:13 vejetary1: boot a liveCD, then some 'dmesg', 'lspci' and the like. 2020-07-30 10:08:39 It says "KVM emulation". xopowo 2020-07-30 10:11:07 vejetary1: excellent, then the cloud image is worth a shot 2020-07-30 10:11:45 Which one is the could image one? Virtual one? 2020-07-30 10:13:23 xopowo: ^ 2020-07-30 10:13:53 vejetary1: yeah 2020-07-30 10:14:10 Thanks a lot. ^^ 2020-07-30 10:46:26 What are some up-to-date tips or guides on how to install Alpine Linux 3.12 as Xen dom0 with UEFI and GRUB? I'm stuck at the point where XEN boots but instead of running Linux it just relinquishes the console and reboots. I can't see anything bad in the log so I don't know where to begin troubleshooting 2020-07-30 10:46:46 Thing is, the `alpine-xen` iso boots just fine. 2020-07-30 10:54:25 Ashpool: so where's the problem again? 2020-07-30 10:58:43 After GRUB boots a Xen entry, Xen outputs some log messages on the screen, which to me look like a totally normal startup sequence. After that, I would expect the installed OS to launch. Instead, the screen goes blank and the server reboots, leaving me with no idea on how to debug my configuration. 2020-07-30 10:59:39 I can show my bootloader config. I can also upload a Xen log, but it's going to be in form of an .avi video, since the whole thing is happening on a remote server to which I have IPMI access only. 2020-07-30 11:18:58 Okay, so swap needs rc-update add swap! 2020-07-30 12:29:09 hello. I'm trying to create a Dockerfile based on the alpine image that installs a specific version of GHC, but doing 'RUN apk add --no-cache ... ghc=8.6.5-r0', I get ERROR: unsatisfiable constraints: ghc-8.8.3-r0: breaks: world[ghc=8.6.5-r0]. but I didn't ask for 8.8.3-r0; this is the newest one in alpine, but not the one I'm looking for. :) 2020-07-30 12:31:01 I know there's a Docker image called 'haskell:8.6.5', but this uses Cabal 2.4.0.0 and I specifically need 3.x. I thought I'd go the minimal way and only add stuff, rather than subtract. 2020-07-30 12:42:18 We don't provide all versions of ghc 2020-07-30 12:42:52 3.6.5 is only avaible in alpine:3.11 2020-07-30 12:43:13 We don't have multiple versions of packages in the same repo 2020-07-30 13:01:56 ikke, ahh, so I'd have to use a specific version of alpine to reach a specific version of GHC. good to know. 2020-07-30 13:08:35 ikke, thanks. :) 2020-07-30 13:09:06 no pronlem 2020-07-30 14:05:24 Hey guys! I'm back, I'm the Realtek 8125 NIC dude: P. 2020-07-30 14:18:44 alpine has mips64, is mips64le or mips64be ? 2020-07-30 14:25:09 wener[m]: afaik, it's BE 2020-07-30 14:27:30 yes, i'ts BE 2020-07-30 14:41:35 thanks 2020-07-30 14:53:57 ggg: did you build it using APKBUILD which ikke prepared 2020-07-30 15:37:31 mps I'm sorry, I missed that. Although I’ve never done this on Alpine before, I’m happy to try. Where can I find info and files? 2020-07-30 15:38:37 ask ikke, he probably have it 2020-07-30 15:39:37 https://tpaste.us/BjZb 2020-07-30 16:51:42 hey it looks like there is something wrong in 3.12 2020-07-30 16:51:45 apk add gnome ends with: 2020-07-30 16:51:46 ERROR: unsatisfiable constraints: 2020-07-30 16:51:46 so:libvncserver.so.1 (missing): 2020-07-30 16:51:47 required by: gnome-remote-desktop-0.1.8-r0[so:libvncserver.so.1] 2020-07-30 16:52:51 or maybe it's the mirror, let's try another 2020-07-30 17:18:56 Looks like a build / package issue with libvncserver 2020-07-30 17:19:11 https://pkgs.alpinelinux.org/contents?file=libvncserver.so.1&path=&name=&branch=v3.12 2020-07-30 17:19:39 It's installed under lib64 2020-07-30 17:29:20 markand: I think this should fix it: https://tpaste.us/WRXY 2020-07-30 17:30:35 strange that edge does not have this issue 2020-07-30 17:31:09 aha 2020-07-30 17:31:16 10f8ef02b1e254a838c16ce53a39abd9ba341418 2020-07-30 17:33:54 markand: I backported that fix 2020-07-30 17:33:59 should be fixed soon 2020-07-30 20:53:42 Hey Guys, I know I asked this before :) but what was the 'bad signature' reason on the main alpine cdn again? I see the package was rebuilt on the 22nd (memtester in this case) on edge/testing and while it's fine on a diff mirror, the cdn still shows it as bad. Is there anything we can do to help 'fix' this bad signature errors on the CDN? 2020-07-30 21:06:20 https://lists.alpinelinux.org/~alpine/devel/%3C20200721171650.48fa63a4%40ncopa-desktop.copa.dup.pw%3E 2020-07-30 21:18:29 ah right, the checksum cache ... how long is that cache going to be used for. I reccon 7 days is quite long already? 2020-07-30 21:19:03 so nothing we can do to help; but having a mirror be 'wrong' for a week is quite annoying :) 2020-07-30 21:31:49 Ah well, it wasn't that way for a week, but as we rebuild packages it keeps getting invalidatrd for the new packages 2020-07-30 21:32:03 You could use a non CDN mirror for now, then it should work 2020-07-30 21:32:07 ikke: Hi Ikke! I tried to compile based on APKBUILD, but unfortunately it ran into an error. What have I done wrong? 2020-07-30 21:32:19 https://tpaste.us/gkDm 2020-07-30 21:32:44 hopefully we'll work out something with fastly soon to so this doesn't happen again, sorry for the inconvenience, oliv3r[m] 2020-07-30 21:35:39 ggg: you run it as root? 2020-07-30 21:38:06 mps: Yes, why? Is that wrong? 2020-07-30 21:38:44 yes, it is wrong 2020-07-30 21:39:06 first clone git.alpinelinux.org/aports 2020-07-30 21:39:17 cd aports/testing 2020-07-30 21:39:52 mkdir rtl8125-lts 2020-07-30 21:40:05 cd rtl8125-lts 2020-07-30 21:40:19 copy ikkes APKBUILD there 2020-07-30 21:40:28 then run 'abuild -r' 2020-07-30 21:40:50 you will probably need to fix _KVER in APKBUILD 2020-07-30 21:42:57 I have said this before, but that a repository can end up in that state sounds like a bad method used to sync 2020-07-30 21:43:43 and I've had to deal with that problem in a previous project of mine, basically had to come up with another sync method for package distribution 2020-07-30 21:46:50 ikke, thanks :) 2020-07-30 21:46:56 ggg: you want this module for armv7 ? 2020-07-30 21:47:36 or x86_64? 2020-07-30 21:48:20 mps: x86_64 2020-07-30 21:48:40 aha, ok. it still fails on armv7 2020-07-30 21:49:17 mps: What is the correct _kvar value? uname -r is ok? 2020-07-30 21:51:16 no 2020-07-30 21:52:19 if you run abuild -r it will tell you what version you should set 2020-07-30 21:53:22 for current aports, _kver=5.4.54, _krel=1 2020-07-30 21:54:05 ok, i understand. i rewrite _krel from 0 to 1, thanks 2020-07-30 21:55:31 and you are building on alpine edge not 3.12-stable? 2020-07-30 21:56:21 grep -i version /etc/os-release 2020-07-30 21:56:27 VERSION_ID=3.12.0 2020-07-30 21:56:58 cat /etc/apk/repositories #/media/sda/apkshttp://dl-cdn.alpinelinux.org/alpine/v3.12/main 2020-07-30 21:57:09 then the _kver and _krel will be something else 2020-07-30 21:58:23 uhm, that will require more work, 'git checkout 3.12-stable' in aports iirc 2020-07-30 21:59:15 Sorry, i told you, i'am a very noob :( 2020-07-30 22:00:02 someone more familiar with git than me could help 2020-07-30 22:01:27 it is not important if you are inexperienced till you are ready to try and learn 2020-07-30 22:01:45 we all were novice one day :) 2020-07-30 22:02:25 https://tpaste.us/evoa 2020-07-30 22:03:48 mps: The value of _kver had to be rewritten to 5.4.43 and then it ended :) . What do you think? 2020-07-30 22:04:07 :) 2020-07-30 22:04:21 success, congrats 2020-07-30 22:06:04 Thanks :) . And now? 2020-07-30 22:06:11 look under ~/testing/x86_64 dir 2020-07-30 22:07:21 sudo apk add --allow-untrusted ~/path_to_apk_filename 2020-07-30 22:10:25 sudo apk add --allow-untrusted packages/testing/x86_64/rtl8125-lts-5.4.43-r1.apk [sudo] password for ggg: (1/1) Installing rtl8125-lts (5.4.43-r1)Executing busybox-1.31.1-r19.triggerExecuting kmod-27-r0.triggerOK: 1051 MiB in 180 packages 2020-07-30 22:10:53 It looks like it went well too :) 2020-07-30 22:17:24 hi. couple more questions about mkinitfs. Am I correct in assuming that /etc/modules.d/* is copied to the intramfs via the 'base" feature in mkinitfs/features.d? Also is the order of the features in mkinitfs.conf preserved (ie: the first feature of the list is run first)? 2020-07-30 22:18:12 c705: I think only modules listed in mkinitfs.conf feature 2020-07-30 22:22:09 mps: It also works :). And now what? 2020-07-30 22:22:41 ggg: sudo depmod 2020-07-30 22:23:01 sudo modprobe what_is_module_name 2020-07-30 22:23:10 and good night :) 2020-07-30 22:29:27 mps: Thank you very much! And should i do that before each update? 2020-07-31 03:04:14 Hello, how can I use "apk add fio" to get a static binary? 2020-07-31 03:08:21 some packages have {name}-static 2020-07-31 03:09:12 / # apk add fio-static 2020-07-31 03:09:15 ERROR: unsatisfiable constraints: 2020-07-31 03:09:17 fio-static (missing): 2020-07-31 03:09:19 required by: world[fio-static] 2020-07-31 03:09:28 Hmm, is there a docker image that provide static world? 2020-07-31 03:09:56 I thought alpine always provides a way to build static binary... 2020-07-31 03:10:03 maybe you could compile it yourself 2020-07-31 03:10:43 amosbird: you might be thinking of golang 2020-07-31 03:11:20 oh 2020-07-31 03:11:25 almost every single package links with musl dynamically, so I'm not sure where you got that idea 2020-07-31 03:11:34 ok 2020-07-31 03:11:57 could you help me with this fio-static? 2020-07-31 03:12:02 sure 2020-07-31 03:12:10 I don't think I'm capable of doing that 2020-07-31 03:12:21 https://github.com/axboe/fio 2020-07-31 03:13:39 You're looking at the wrong thing 2020-07-31 03:13:40 https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/community/fio/APKBUILD 2020-07-31 03:13:55 That's the alpine build file 2020-07-31 03:14:07 What I would do is modify that to build statically 2020-07-31 03:15:02 oh! 2020-07-31 03:15:27 i'm completely new to alpine. Could you help me modify that build? 2020-07-31 03:15:48 the way to build fio staticly is EXTFLAGS="-static" make 2020-07-31 03:17:25 what platform are you on? 2020-07-31 03:17:49 alpine? 2020-07-31 03:18:28 yes 2020-07-31 03:18:37 archlinux running alpine docker 2020-07-31 03:18:50 I'd like to use alpine to build fio static to run on centos 7 2020-07-31 03:19:09 So I use dabuild 2020-07-31 03:19:23 but abuild works from within docker 2020-07-31 03:19:27 hmm, could you clarify? 2020-07-31 03:19:52 git clone https://gitlab.alpinelinux.org/alpine/aports.git 2020-07-31 03:20:11 cd aports/community/fio 2020-07-31 03:20:16 vi APKBUILD 2020-07-31 03:20:22 abuild 2020-07-31 03:20:35 wait no, there are deps, so abuild -r 2020-07-31 03:20:44 does it run on archlinux or alpine? 2020-07-31 03:21:22 alpine 2020-07-31 03:21:38 if you are doing it from archlinux, try docker-abuild (or dabuild, that's what I use on mac) 2020-07-31 03:22:00 interesting 2020-07-31 03:22:27 https://github.com/alpinelinux/docker-abuild 2020-07-31 03:26:35 amosbird: so you might just need to modify the build() function 2020-07-31 03:27:02 but you may also have to change all it's deps to build statically too 2020-07-31 03:27:42 adu: yeah,... 2020-07-31 03:27:50 but thoes deps... 2020-07-31 03:27:54 I don't know ... 2020-07-31 03:28:40 https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/main/libaio/APKBUILD 2020-07-31 03:29:31 adu: hmm 2020-07-31 03:29:33 oh zlib-static exists 2020-07-31 03:29:39 you wouldn't need to rebuild that 2020-07-31 03:29:55 ok... 2020-07-31 03:30:00 Receiving objects: 0% (580/615522), 140.01 KiB | 6.00 KiB/s 2020-07-31 03:30:05 ..... bad network 2020-07-31 03:31:02 oof 2020-07-31 03:33:09 amosbird: also have you tried https://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/f/fio-3.1-1.el7.x86_64.rpm 2020-07-31 03:37:41 adu: I don't have root ... 2020-07-31 03:37:45 on that centos machine 2020-07-31 04:15:23 Irony at its finest, went to add apk suppot to ansible package_facts, turns out its already added just in a newer version then Alpine packages 2020-07-31 04:22:57 And that would be because someone had the same idea 2 weeks ago :/ 2020-07-31 04:25:24 hi! i installed alpine 3.12 and i couldn't find man command. why isn't shipped with this version? should i use v3.11? 2020-07-31 04:26:04 Its not shipped by default 2020-07-31 04:26:12 apk add man 2020-07-31 04:26:19 Perhaps 2020-07-31 04:26:23 already did it 2020-07-31 04:26:27 says missing 2020-07-31 04:26:32 https://pkgs.alpinelinux.org/packages?name=man&branch=v3.12 2020-07-31 04:26:57 i couldn't find it there neither 2020-07-31 04:27:39 apk add mandoc 2020-07-31 04:28:11 oh 2020-07-31 04:28:25 so then the name was changed 2020-07-31 04:28:27 Changes are that the man page for the command you are trying to man isnt installed either 2020-07-31 04:28:57 tbh I usually google 'man ' saves hassle 2020-07-31 04:30:31 glats: If you are after a missing command try 'apk search ' or https://pkgs.alpinelinux.org/contents 2020-07-31 04:30:58 ok. thankj you 2020-07-31 04:31:07 np 2020-07-31 07:08:53 glats: apk search cmd:man 2020-07-31 08:10:17 Cogitri no pressure; I know using a different mirror works around it ;) but if there's something technical we can do to help for now, and something technical for the future? e.g. if there's a breaking change, 'for pkg in APKBUILD sed pkgver=n+1; git add/push; done' for example :) 2020-07-31 08:10:55 Well, we usually always increase pkgrel, so this should be a non-issue normally 2020-07-31 08:11:35 But we didn't do this for this ports-wide rebuild of packages for 32-bit since that'd have meant that everyone would have had to reinstall their system :) 2020-07-31 08:11:44 Since we'd have had to bump pkgrel on every package 2020-07-31 09:05:38 Is there a length or character limit of a password of a user in Alpine? 2020-07-31 10:01:40 vegankumpir: once on irssi somebody told me that his password was several gigabyets. 2020-07-31 10:02:49 to put it into perspective, how many characters takes to fill 1GB? 2020-07-31 10:03:16 GB or GiB? 2020-07-31 10:04:42 regular internet 1GB, like 1GB mkv movie. 2020-07-31 10:04:44 "GB or GiB": answering the real question :D 2020-07-31 10:04:53 xopowo: depends on the encoding, but in ascii, each character is 1 byte 2020-07-31 10:05:14 no, he mentioned he used different utf8 codepoints 2020-07-31 10:05:48 so let's say 8kb per unicode character 2020-07-31 10:06:13 sorry 8b 2020-07-31 10:06:56 a bound is "somewhere between 250 000 000 characters and than 1 100 000 000" 2020-07-31 10:07:02 s/than / 2020-07-31 10:07:22 damn you were faster than I 2020-07-31 10:08:12 well, I rounded up because I didn't want to pull out a calculator 2020-07-31 10:08:15 vegankumpir: 250 000 000 characters is enough for you? and that's not the hard limit. 2020-07-31 10:08:47 A character could take up multiple unicode codepoints though 2020-07-31 10:08:48 that's also ridiculously big 2020-07-31 10:08:49 xopowo: Fairly enough, my good sir. ^^ 2020-07-31 10:09:19 to the point it doesn't make it more secure 2020-07-31 10:12:19 afontain_: why not? now it could even be more convenient with NVME, store the /etc/passwd in a separate nvme device. 2020-07-31 10:12:31 (the actual upper bound is 1 073 741 824 chars) 2020-07-31 10:12:43 login 250 000 000 characters effortlessly 2020-07-31 10:12:59 have you heard of hashing before? 2020-07-31 10:13:14 your password is not actually stored on disk 2020-07-31 10:13:17 and that's good for security 2020-07-31 10:13:27 afontain_: You mean as plain text? 2020-07-31 10:13:51 or even encrypted 2020-07-31 10:14:06 Well, it is stored as hash. 2020-07-31 10:15:04 vegankumpir: so is not that you're short of options 2020-07-31 10:15:13 here's what's stored if your password is "hi" and the system is setup to use a sha512 $6$rATLSwTzGObI9Rnr$gXWC4eyn9sn8bNnT8H9xfyY1dorZt6tRy9Ayv2BZ3aFI0M.lD7WPbux0NIGPUWN99.yhd5ZkGLwmL8d.aEnKR1 2020-07-31 10:15:16 I wanted to know. 2020-07-31 10:15:30 ha ha ha!! 2020-07-31 10:16:24 due to the salt, it's different for everyone though 2020-07-31 10:16:43 good point 2020-07-31 10:17:06 here the salt is rATLSwTzGObI9Rnr, if I'm not mistaken 2020-07-31 10:22:16 xopowo: why not it's not more secure? because since the hash is 512bits, and you'll have to cram 1GB into 64B, your many 1GB passwords will actually match 2020-07-31 10:23:29 (well, still only one in 2⁵¹² = 13407807929942597099574024998205846127479365820592393377723561443721764030073546976801874298166903427690031858186486050853753882811946569946433649006084096 chance for each) 2020-07-31 10:23:51 just type 2^512, no need to be posh about it ;) 2020-07-31 10:25:37 s/your // 2020-07-31 10:25:38 and you don't even force the attacker to try 1GB passwords (which are slower to check), because it *might be* that "hi" produces the same hash for this salt 2020-07-31 10:26:45 TBB: lol 2020-07-31 10:31:27 wow, hashing 1GB of data is is actually very fast 2020-07-31 10:31:46 dd if=/dev/urandom bs=1GB count=1 | tr '\n' '\t' | busybox time openssl passwd -6 -noverify -stdin 2020-07-31 10:31:59 sys 0m 0.00s 2020-07-31 10:59:12 afontain_: is it hashing each character or 1GB as continous data? 2020-07-31 11:01:54 xopowo: it works with blocks of 512 bits 2020-07-31 11:02:35 or 256 for sha256 2020-07-31 11:04:56 sorry, for sha256 the block size is 512, for sha512 it's 1024 2020-07-31 12:10:34 https://github.com/alpinelinux/mkinitfs/blob/master/mkinitfs.in#L197 I think the feature dir should set after the getops, otherwise, this always use the none chroot feature.d 2020-07-31 12:12:01 sorry, ignore me. 2020-07-31 12:12:41 need to set -P to override that 2020-07-31 12:27:41 Is aconf a cli based admin tool for Alpine? 2020-07-31 12:55:06 Anybody else have firefox freeze often? 2020-07-31 12:55:35 EF: https://pkgs.alpinelinux.org/package/edge/main/x86_64/aconf 2020-07-31 12:58:49 azarus_, is freezing usually after reboot when running first time and website got some audio/video? 2020-07-31 12:59:56 MY-R: indeed 2020-07-31 13:00:43 azarus_, check your "dmesg" if dont have something with IRQ bdl_pos_adj blablabla 2020-07-31 13:01:02 hello 2020-07-31 13:01:19 EF: I wanted to see what it is, but it has not been moved to gitlab.alpinelinux.org 2020-07-31 13:02:09 MY-R: I'll try to recreate it and check my dmesg. 2020-07-31 13:02:40 azarus_, just grep it and be sure you played onece or twice something on youtube for example 2020-07-31 13:03:49 EF: it seems to be something web-based: https://git.io/JJaJJ 2020-07-31 13:04:16 MY-R: what would be the resolution, if any? 2020-07-31 13:04:32 azarus_, got something like "hda-intel: IRQ timing workaround is activated for card #0. Suggest a bigger bdl_pos_adj" ? 2020-07-31 13:04:52 MY-R: not yet. 2020-07-31 13:05:14 Ah, so a bigger bdl_pos_adj would fix it? 2020-07-31 13:05:38 problem is that first time when it doing that auto adjust then firefox ye freezing, when close it then still in background sitting some firefox audio process so that is why cant run it without killall firefox 2020-07-31 13:06:26 @EF: alpine-conf can setup various things, it is used in most how-tos... https://gitlab.alpinelinux.org/alpine/alpine-conf 2020-07-31 13:06:32 azarus_, and yes, need increase it, I was checking some values like 2.2 1.4 etc etc but still same and value 64 done the job, no more freezes and that message in logs 2020-07-31 13:07:28 MY-R: Okay, I'll try that. Thanks! 2020-07-31 13:07:28 how can I use dabuild to fio ? 2020-07-31 13:08:24 azarus_, just create for example /etc/modprobe.d/zzz-alsa.conf and put there "options snd-hda-intel index=0 bdl_pos_adj=64" dont need put index=0 if your card order is just fine 2020-07-31 13:11:41 how can I build https://github.com/axboe/fio statically 2020-07-31 13:12:35 you'd need a $pkgname-static or $pkgname-dev subpackage in your APKBUILD 2020-07-31 13:12:50 wsinatra: no 2020-07-31 13:12:50 but just a rough look, the default hooks for that might pick that up 2020-07-31 13:12:59 -static is for libs 2020-07-31 13:13:16 I couldn't remember if it was -static or -dev, thanks for clearing that up mps :) 2020-07-31 13:17:26 wsinatra: please could you help me? 2020-07-31 13:18:40 wsinatra: this is what I want to change in alpine 2020-07-31 13:20:02 -static should be static binaries, and static libs should go to -dev 2020-07-31 13:22:33 I mean, that makes sense if you ask me, it's easier to remember 2020-07-31 13:22:44 amosbird: do you know if there's an Arch Linux AUR package for it? 2020-07-31 13:22:58 (I know that seems like an odd question, but if there is it's useful) 2020-07-31 13:23:33 wsinatra: I can count on your vote when I raise this on ML :) 2020-07-31 13:24:01 hahaha I'm all for logical changes :) 2020-07-31 13:24:31 IMO, it would be better too. There isn't much sense in having a development tool split (you have the header, but you can't use it? why?) 2020-07-31 13:25:06 historical mistake, which no one want to start fixing 2020-07-31 13:25:12 I think it's a call back to the lightweight mindset 2020-07-31 13:25:23 Always has been that way kind of thing 2020-07-31 13:25:55 I intentionally don't add -static for libs I packaged 2020-07-31 13:27:04 though fixing that will not be fast and easy, a lot of pkgs have $libname-static in makedepends 2020-07-31 13:28:33 Yeah no joke, I'm working on a jemalloc package right now which has it 2020-07-31 13:29:12 iirc, nothing depends on jemalloc so it is easy 2020-07-31 13:29:38 wsinatra: look at MRs, someone already working on it 2020-07-31 13:33:36 Oh really? 2020-07-31 13:34:18 huh I don't see anything when I search through the MRs for jemalloc 2020-07-31 13:34:46 got the # for it? Because I already have a working package for it, I just couldn't push anything until my Nagios changes went through 2020-07-31 13:35:02 (because I'm dumb and don't branch my aports fork before I make MRs..) 2020-07-31 13:35:08 https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/9020 2020-07-31 13:35:57 but, imo jemmaloc is not good for general use, maybe some specialized apps 2020-07-31 13:36:29 Oh it's in unmaintained, that makes sense 2020-07-31 13:36:50 I was trying to port Mastodon specifically. Wanted to build an Alpine Mastodon container 2020-07-31 13:37:00 especially when dalias releases new musl with malloc-ng 2020-07-31 13:37:24 but I hate compiling source in docker containers when I can just push packages to aports for everyone. Seems like backwards thinking to not build the package 2020-07-31 13:39:13 I honestly don't have a usecase for jemalloc outside it being a dep for mastodon haha 2020-07-31 13:41:47 I don't know how Mastodon works but I doubt it need jemalloc 2020-07-31 13:43:07 That might be true, I'm mostly basing that guess work off of their official Ubuntu based container 2020-07-31 13:43:30 The package itself will build without it, so it could just be something inside the container that needs it. I just haven't gotten that fair figuring it out 2020-07-31 13:43:42 wsinatra: what do you mean? 2020-07-31 13:43:52 I have dabuild at hand 2020-07-31 13:44:03 but I don't know how to build a static fio package 2020-07-31 13:45:30 I was going to suggest using toAPK to convert the AUR package to APKBUILD to start with, it likely would just need some tweaks after that. 2020-07-31 13:46:18 if you have a subpackages="$pkgname-dev" in your APKBUILD the default_dev() function should pick it up 2020-07-31 13:46:32 in most cases that is, assuming it needs no tweaks. Are are you not asking about packaging? 2020-07-31 13:46:57 I forget not everyone in here is actually working to package things, since it's more of a help channel 2020-07-31 13:47:56 ..... 2020-07-31 13:48:07 I don't know anything of your sayings ... 2020-07-31 13:48:11 I just need a static fio 2020-07-31 13:48:48 if alpine linux cannot help me build static fio, I will try another distro... 2020-07-31 13:49:12 I submit fio to alpine 2020-07-31 13:49:40 wener[m]: awesome 2020-07-31 13:49:47 could you help me to build a static fio 2020-07-31 13:49:57 I think fio only depends on musl 2020-07-31 13:50:04 wsinatra: fyi, I also prefer to be able to install packages rathat than compile from source in containers :) 2020-07-31 13:50:08 Not only musl 2020-07-31 13:50:09 it has a lot deps 2020-07-31 13:50:23 s/rathat/rather/ 2020-07-31 13:50:34 you can build anything full static on alpine, but not easy 2020-07-31 13:50:44 wener[m]: ok.... 2020-07-31 13:50:57 what's distro is better for this kind of job? 2020-07-31 13:51:02 last I build a full static core miner, need to change the cmake, make the musl static link 2020-07-31 13:51:28 @ikke: at least I'm not the only one. That was the justification for the Nagios updates, I didn't realize we were using the 2013 version until I started to dockerize our instance at work 2020-07-31 13:51:36 alpine is the best choose, because you can static link musl, other disto's libs is not easy to static link 2020-07-31 13:51:45 ok... 2020-07-31 13:51:56 so what's the way of building static fio 2020-07-31 13:52:02 could anyone help me out? 2020-07-31 13:52:22 gentoo has a flag of saying static-libs, then emerge magically works everything out 2020-07-31 13:52:31 I wish alpine does that too but for executable 2020-07-31 13:52:49 amosbird: you can pass --build-static to configure 2020-07-31 13:52:52 start from https://git.alpinelinux.org/aports/tree/community/fio/APKBUILD?id=cf191c9b5b350effa46c027bc7cd2a348c772fd6 , tweak the flag 2020-07-31 13:52:53 Not sure if that's enough though 2020-07-31 13:53:11 ...... 2020-07-31 13:53:22 I don't know how to begin 2020-07-31 13:53:31 https://github.com/axboe/fio/blob/master/configure#L178 2020-07-31 13:53:37 makedepends="linux-headers zlib-dev coreutils libaio-dev" doesn't look like static 2020-07-31 13:53:45 and I don't know which to change 2020-07-31 13:54:27 some -static will not static link libc, just be carefull 2020-07-31 13:54:34 google, gcc static link 2020-07-31 13:55:30 I guess this is out of everyone's pay grade T_T. I give up 2020-07-31 13:56:30 If you don't know how to build a package, then start from that, next step is static build. 2020-07-31 14:02:20 fully static bins can be built on musl even on other glibc based distros 2020-07-31 14:04:09 on alpine adding '-static' to CFLAGS is usually enough 2020-07-31 14:36:23 there's some work ahead any time you learn to do new things; I found Alpine to be quite packaging friendly 2020-07-31 14:44:18 I found alpine is the only disto that I can find out and understand almost anything, lol 2020-07-31 15:15:36 ScottHamilton[d]: Hello I'm trying to use the isso self hosted commenting server in a Docker image. But when I run the container, I get : ``` 2020-07-31 15:15:36 ScottHamilton[d]: ImportError: cannot import name 'SharedDataMiddleware' from 'werkzeug.wsgi' (/usr/lib/python3.8/site-packages/werkzeug/wsgi.py) 2020-07-31 15:15:37 ScottHamilton[d]: ```. Do you knwo what could go wrong? (the same works on ubuntu image) 2020-07-31 16:54:07 ScottHamilton[d]: So seems like this SharedDataMiddleware class location changed since release 0.15.6 of werkzeug whereas isso requires werkzeug>=1.0.0 2020-07-31 17:31:39 hey fellas im just sorta looking at LXC and realized its probably more simpler than docker or at least more straight forward 2020-07-31 17:33:38 am i missing something with lxc-create? like im sitting on a debian system and wanting to fire up an alpine container 2020-07-31 17:34:07 i see theres like template names. is this a debian thing? or is lxc-create sniffing for template names from some repo 2020-07-31 17:34:10 i dunno how this works 2020-07-31 17:40:24 oh wow cool so my distro (debian) just has a bunch of templates for lxc-create. fascinating 2020-07-31 17:40:41 zomg it has an alpine one. wonderful 2020-07-31 17:42:10 yikes what a huge script. surely this was created with some tool 2020-07-31 17:44:03 ACTION discovers distrobuilder 2020-07-31 17:46:02 lxc is nice. I built my own build system on top of lxc once. 2020-07-31 17:49:47 neat 2020-07-31 17:50:27 im wanting to setup a doom server in a lxc for funsies and learning. sorta fell off the docker boat cos it seems people just use it for shipping messy programs 2020-07-31 17:50:48 'it works on my computer' so they ship their whole computer, instead of making lean portable applications 2020-07-31 17:50:54 thats how i see it anyway 2020-07-31 17:55:17 Hey 2020-07-31 17:55:31 So what's the recommended way of overlaying changes on top of alpine, if I wanted something to run baremetal? 2020-07-31 17:56:10 Or if I wanted to provide something to install on top of Alpine, a collection of packages, that will remain working forever. 2020-07-31 17:56:48 I could provide them a non-specific bash script that does `apk add thing thing2 thing3` but that seems like it would be a mistake 2020-07-31 17:57:23 Is the right answer to use Docker and provide them with a dockerfile? 2020-07-31 17:58:16 Not only a Dockerfile, sorry. I mean a Dockerfile source PLUS an image they can download from the hub, and then it doesn't even matter what distro I'm on. 2020-07-31 18:06:20 mattewcroughan: I think the multiarch/qemu package does that 2020-07-31 18:06:26 err docker container, not package 2020-07-31 18:07:32 wsinatra Well it's kind of pointless what distribution you choose then though, isn't it :P 2020-07-31 18:08:34 The reason being is that I want to make a video "Making a VST Workstation with Alpine Linux + Docker on an Atomic Pi" 2020-07-31 18:09:36 If I made an Alpine based container that did all of this, they could probably run it just fine on any distribution right? Kinda sad that distros don't matter on the host anymore, in a way :D 2020-07-31 18:10:02 Oh I wasn't suggesting that you use the qemu package, but it produces binfmt mounts on the host and populates them with emulators, which sounds ISH like what you wanted 2020-07-31 18:10:15 Hmm, could you explain that a bit more? 2020-07-31 18:10:16 binfmt? 2020-07-31 18:10:22 or I interpreted it that way, since you said you wanted to overlay packages on top of alpine 2020-07-31 18:10:28 I guess I assumed host 2020-07-31 18:10:36 I want to do stuff on Alpine that is going to work in 2025 2020-07-31 18:10:49 I want to be able to abandon the project and just have it work so that people can pick it up 2020-07-31 18:10:58 https://hub.docker.com/r/multiarch/qemu-user-static/ 2020-07-31 18:11:06 this is the container I was referencing 2020-07-31 18:11:52 Since docker containers are typically pulled from dockerhub, assuming docker doesn't stop existing, you should be okay to build and push. Though anything 5 years old with no updates would be pretty security poor haha 2020-07-31 18:12:09 Yeah this isn't about security, this is about making some things work 2020-07-31 18:12:18 Can you give me more details on the project? Maybe if I understand more I can make better suggestions :) 2020-07-31 18:12:36 I have a board, x86. I want to run Alpine on it, apk add a bunch of packages, then show people how easy that was 2020-07-31 18:12:47 But I want this to work well into the future without providing them an ISO 2020-07-31 18:13:19 I don't wanna have to update things, although I will. 2020-07-31 18:13:28 This is why I'm saying, docker images are fine, right? 2020-07-31 18:13:47 hey cool im looking at VSTs in linux too 2020-07-31 18:13:53 if the hub goes away, sure, screwed. But for as long as that's around, my static build will be too? 2020-07-31 18:14:18 but then if Github goes away, so does my project, so yknow, we can only get so redundany 2020-07-31 18:14:24 bigger problems arise if either go 2020-07-31 18:15:00 I mean, is it possible to use docker to produce an ISO someone could flash to a USB stick? 2020-07-31 18:15:02 i dont use github. got my own server 2020-07-31 18:15:25 ya but with git it doesn't matter, since you can use both github and your own server as remotes and just sync to both 2020-07-31 18:15:32 yeah 2020-07-31 18:15:40 more the better with git 2020-07-31 18:15:48 i like your thinking though i also want stuff to last for decades 2020-07-31 18:16:05 nothing has enough longevity anymore 2020-07-31 18:16:17 It's hard. The only way to make that possible is to have an artifact like an ISO that does not rely upon services or registries like the docker hub 2020-07-31 18:16:51 when i make programs that need libraries i statically link in the libraries -often i copy the source code of the library itself into my program 2020-07-31 18:16:59 This way, if the hub or github go down, you've still got that build artifact, hopefully stored somewhere with the project sources 2020-07-31 18:17:17 Yes, exactly, it's just like that. I want a static build of my distribution that I'm building on top of Alpine. 2020-07-31 18:17:46 matthewcroughan: if you look in gitlab.alpinelinux.org under the aports repo there's a directory labelled scripts which contains all of the scripts used to build the ISO images for alpine 2020-07-31 18:18:10 i feel that all this docker stuff is gonna bite people in the backside. you wanted to ship a program ya made, but only made it available as some image that requires a balls load of other things to even go 2020-07-31 18:18:20 so yes, what you're wanting is probably feasible. The exact logistics I'm not certain of it, but the tooling to at least build custom Alpine ISOs is there 2020-07-31 18:18:36 Yes, and that's not easy 2020-07-31 18:18:56 every OS i install expect 10 year out of it 2020-07-31 18:18:59 Whereas if I have a docker image, it's easy. I just need to figure out if it's possible to store and host those artifacts/images myself. 2020-07-31 18:19:12 I can host my own docker hub, but what do the resultant builds look like? Tarballs? 2020-07-31 18:19:35 Well if you were hosting your own dockerhub, but the end goal was shipping an ISO to people 2020-07-31 18:19:39 why not just host the ISO too? 2020-07-31 18:19:48 and use the docker containers as CI/CD builders 2020-07-31 18:19:56 that's more the intention of the system anyways 2020-07-31 18:19:57 It's all too complex, I do not plan on hosting my own dockerhub, I'm stating that I *can* 2020-07-31 18:20:22 I'm saying that if I can just provide the image in the case of the hub going down, and my Dockerfiles don't work anymore since alpine has updated, then things will be fine 2020-07-31 18:20:54 10 years from now, my Dockerfile that says `FROM alpine:3.1.2 RUN apk add ardour6` will cease to function, right? 2020-07-31 18:21:07 But the image that was built when that worked should still be something I can give to people, just like the iso 2020-07-31 18:21:26 depends if docker hub still exists :) 2020-07-31 18:21:35 Does it? Why? 2020-07-31 18:21:36 If you have a built container that people can pull down, that would work. Attempting to rebuild it wouldn't work if you couldn't get the host alpine:3.12 to build on 2020-07-31 18:21:53 Docker builds OCI container images, right? Can't I just distribute that OCI image for usage with whatever tool? E.g Podman, Buldah 2020-07-31 18:21:55 if docker hub doesn't exist, where would you get alpine:3.1.2 from? 2020-07-31 18:21:57 Buildah* 2020-07-31 18:22:17 That's not what I am saying. I am saying that I should be able to distribute the OCI image I build 10 years ago. 2020-07-31 18:22:19 We still have http://ancient.alpinelinux.org/alpine/ 2020-07-31 18:22:25 sure 2020-07-31 18:22:31 I think so 2020-07-31 18:22:33 I just need to understand what the caveats of that are 2020-07-31 18:22:41 Or how to even do it. Is it a tarball? 2020-07-31 18:22:51 standards might have shifted 2020-07-31 18:22:56 kernel support 2020-07-31 18:23:08 Heh. So the ISO image is just the best method. 2020-07-31 18:23:16 A lot more work, but will work forever. 2020-07-31 18:23:21 though, the docker image is just a tar 2020-07-31 18:23:25 with layers 2020-07-31 18:23:44 work forever is arbitrary 2020-07-31 18:23:48 Maybe I should just keep things up to date. Doesn't require much maintenance. 2020-07-31 18:23:57 matthewcroughan : it's much harder to update, too 2020-07-31 18:23:58 nothing will work forever, drivers in your ISO might not be compatible with hardware down the line. 2020-07-31 18:24:13 Yes, that is not what I am saying. 2020-07-31 18:24:30 I want to take a snapshot, and have it work forever on all x86 cpus today. 2020-07-31 18:24:31 Not in the future. 2020-07-31 18:25:05 Future proofing isn't a thing, obviously lol. 2020-07-31 18:26:17 There's two approaches here. One sees me generating an ISO, at which point I am making my own distro instead of building on top of Alpine. 2020-07-31 18:26:33 The other approach sees me telling people instructions that hopefully work in the future. 2020-07-31 18:26:59 provide a metapackage? 2020-07-31 18:27:05 Explain? 2020-07-31 18:27:08 What is it that you're implementing on said system? 2020-07-31 18:27:34 It's more of a "Here's some cool apps that go together, here's how easy alpine makes it" 2020-07-31 18:27:34 If it's a collection of packages, that produce X looking system, or Y consumable product, just package the software 2020-07-31 18:27:38 wsinatra : oh, nice idea 2020-07-31 18:27:52 metapackage is your solution my friend, build on Alpine edge and you won't have to fuss much 2020-07-31 18:28:00 you could even contribute the metapackage to aports 2020-07-31 18:28:14 https://wiki.alpinelinux.org/wiki/APKBUILD_meta:Meta 2020-07-31 18:28:21 I don't understand quite though, how would this be better than a Dockerfile? 2020-07-31 18:28:28 a metapackage is just an APKBUILD that installs a series of packages 2020-07-31 18:28:33 It would be worse, since this means it will not work on any distribution of Linux. 2020-07-31 18:28:42 The metapackage is only useful for Alpine. 2020-07-31 18:29:16 well, technically, if you base on some Alpine stable, it's lower maintainance 2020-07-31 18:29:22 AHhh 2020-07-31 18:29:27 https://gitlab.com/postmarketOS/pmaports/-/blob/master/device/community/device-nokia-n900/APKBUILD 2020-07-31 18:29:33 more in depth metapackaging ^ 2020-07-31 18:29:39 Okay. So, can I make a metapackage for personal usage, and not contribute it to APORTS? 2020-07-31 18:29:45 sure easily 2020-07-31 18:30:05 Alright, sounds awesome. I've been exposed to this a bit in Arch which does the same thing in some places 2020-07-31 18:30:23 In 10 years, my metapackage will fail right? 2020-07-31 18:30:41 As will all 3.1.2 isos, since they will call out to servers which will fail because of the fact that their mirrors are way too new 2020-07-31 18:30:45 postmarketos-ui-* are also metapackages 2020-07-31 18:30:52 In general, there is no way to make things last that long other than maintenance 2020-07-31 18:31:00 I think my goal is impossible, and a fools errand 2020-07-31 18:31:12 Maintenance is the only way to guarantee any sort of longevity. 2020-07-31 18:31:34 Yeah I'm convinced of that. 2020-07-31 18:31:47 afontain_ how do I get `postmarket-ui` packages on base Alpine? 2020-07-31 18:32:32 you can grab the postmarketOS repos, but I would suggest just looking at their pmaports repos for examples 2020-07-31 18:32:48 it's a fork of alpine built to deploy on phones, which might not meet your use case 2020-07-31 18:32:53 Let's say I want to get the APKBUILD for `device-nokia-n900` from the repo wsinatra linked 2020-07-31 18:33:02 How do I add that to my repos? 2020-07-31 18:33:07 do I put it in /etc/apk/repositories? 2020-07-31 18:33:25 https://engineering.fundingcircle.com/blog/2015/04/28/create-alpine-linux-repository/ 2020-07-31 18:33:34 this is a pretty good write up on making your own APK repo 2020-07-31 18:34:00 you can copy the APKBUILDS from Alpine's aports, and how them on your own HTTP server, and direct distros to that if you wanted 2020-07-31 18:34:10 I do precisely this at work for our Alpine workstations 2020-07-31 18:34:12 Well, you can also "just" create the package 2020-07-31 18:34:41 I would most definitely not want to do that. 2020-07-31 18:34:46 haha yeah abuild -r the APKBUILD and then just install whatever_package.apk --allow-untrusted with apk 2020-07-31 18:34:53 though it's amazing to see how easy it is to set that infrastructure up 2020-07-31 18:35:08 but I think hosting makes sense based on the "distribute it" desire 2020-07-31 18:35:19 I only want that to be true *if* things are down 2020-07-31 18:35:28 if things aren't down, no maintenance for me 2020-07-31 18:35:32 abuild already creates a repo 2020-07-31 18:35:36 but then this means that I may as well just stay up to date, since it requires work *either way* 2020-07-31 18:35:41 just point a webserver to it, and you can install it from everywhere 2020-07-31 18:35:49 distribute the public key, and it's even trusted 2020-07-31 18:36:00 that stands for nothing unless it implements TuF 2020-07-31 18:36:09 https://github.com/theupdateframework/specification/blob/master/tuf-spec.md#1-introduction 2020-07-31 18:36:36 I don't want to bother with key rotation, creating more trust is no good, I'd rather trust the alpine packages. 2020-07-31 18:36:46 All too complex for what I want to teach people :P 2020-07-31 18:36:52 heh 2020-07-31 18:36:54 I just wanna mainly show how cool Alpine is 2020-07-31 18:37:36 The way I see it. If I make a repo, distribute packages, etc. That is *more* work than just keeping my damn instructions up to date. 2020-07-31 18:37:42 upstream whatever metapackage into Alpine's testing repo 2020-07-31 18:38:09 wsinatra I did not notice metapackages existing. How do I browse all the metapackages in a web browser? 2020-07-31 18:38:22 https://pkgs.alpinelinux.org/packages 2020-07-31 18:38:54 I don't believe they're labelled differently, but I can suggest a few for reference. Such as nagios-plugins-all 2020-07-31 18:39:17 If I summon an alpine container now, can I use `apk` to search only metapackages? 2020-07-31 18:39:43 they're just kind of there, they exist as packages, it's the fact that they just install a collection of packages, instead of having a build,package, etc function in them that makes them different 2020-07-31 18:40:12 That's just asking for breakage haha. 2020-07-31 18:40:28 When stuff breaks, how do you know? 2020-07-31 18:40:41 Hello guys! I came back again :D. I did a diskless USB today and then tried to put up the builded package but failed unfortunately :( . https://tpaste.us/ObPb 2020-07-31 18:40:41 It seems like a massive risk to take, increasing the complexity. Is there a way you guys kjnow? 2020-07-31 18:40:43 know* 2020-07-31 18:43:47 what are you trying to bundle together that is so fragile? 2020-07-31 18:44:05 If your instructions work, but a metapackage doesn't, then isn't it broken by design? 2020-07-31 18:44:47 either you're maintaining the instructions, or a list of packages, but if a dependency breaks either you get the same result. This is a methodology for simplified distribution, not resilience 2020-07-31 18:46:03 Well I'm just pre-emptively scared of all the dependencies going missing. 2020-07-31 18:46:56 The only thing that conquers this fear atm is NixOS or Gentoo, right? :D 2020-07-31 18:47:08 If a package maintainer in Alpine stops doing their job, the package is moved to unmaintained, and anyone can take over 2020-07-31 18:47:15 All it takes is one rogue maintainer to nuke someone's metapackage. Am I mistaken? 2020-07-31 18:47:28 So if a dependency is lost, you can take ownership of it. Or ask someone to fix it in the community. 2020-07-31 18:47:30 And then if that meta package is important, we're soooooooo screwed. 2020-07-31 18:47:36 It's like satellites in space. 2020-07-31 18:48:01 If you're packaging this for something production grade, keep your own repo, build your own infra. Don't rely on something that's not in your control 2020-07-31 18:48:16 but the "easy" solution is relying on others good will 2020-07-31 18:48:28 Too true. 2020-07-31 18:48:37 It has gotten us to 2020 alive and well. 2020-07-31 18:49:13 We can rely on continental drift, the sun rising and setting, AND on people's good will. 2020-07-31 18:50:17 There's no less risk in using a different distro. Even if it's Debian, or Ubuntu 2020-07-31 18:50:27 the company/foundations could be bought or stopped. 2020-07-31 18:50:53 Linux torvalds could die tomorrow in a freak accident. The world has a funny way of still going on, and you realistically can't plan for every scenario 2020-07-31 18:51:53 Linus Tech Tips 2020-07-31 18:52:18 Linus Sebastian could die tomorrow and Linux would still go on :'( 2020-07-31 18:53:24 The advantage of distributions is actually the men and women behind it. That's what drives them updgraded, working and well 2020-07-31 18:53:47 Yep, and your metapackage dependencies will break, and either someone will fix it for you, or you can get into the nitty gritty of FOSS and contribute a fix yourself 2020-07-31 18:54:01 Distros are pretty smart. About as smart and useful as a compiler, for getting stuff done 2020-07-31 18:54:17 Unlike with vendor owned stuff, where your fancy smart glasses no longer work because google bought the company that made them and bricked them 2020-07-31 18:54:23 Except its cogs are flesh and blood :P 2020-07-31 18:54:57 Y'all ain't got the Hikari window manager packaged. 2020-07-31 18:55:13 matthewcroughan: patches welcome :P 2020-07-31 18:55:20 That's what I'm thinking 2020-07-31 18:55:32 The more I observe, the easier it seems to look to do that. 2020-07-31 18:56:07 So how do I actually provide a package to you guys? Is it like Arch with its PKGBuilds? 2020-07-31 18:56:10 I can speak for postmarketOS, at least. We do use quite some metapackages. We do add packages on top of Alpine and keep using Alpine's repos 2020-07-31 18:56:16 matthewcroughan: yes, very similar 2020-07-31 18:56:33 On the high level, since I don't have time to do it rn, do I just provide you build instructions? 2020-07-31 18:57:01 matthewcroughan: fastest way to get it in alpine is to provide a merge request against aports 2020-07-31 18:57:36 pmOS has reached the size where if the lead developer was to die, or the two lead developers were to die, the project would live on 2020-07-31 18:59:14 afontain_ that's good feels right there :) 2020-07-31 18:59:36 matthewcroughan: if an AUR package exists for Hikari you can use toAPK to convert it to an APKBUILD 2020-07-31 19:00:05 Hmm, how though? Does it not matter whether it's a binary vs source based aur package? 2020-07-31 19:00:07 warning though, it will need tweaking. Not all the build functions carry over, and there will likely be formatting issues (only 4 character tabs allowed, but toAPK produces spaces) 2020-07-31 19:00:16 and policy differences 2020-07-31 19:00:35 the APKBUILDs are flat files, they're build instructions 2020-07-31 19:00:40 Alpine is a lot like Arch, in a few ways. I dig it. 2020-07-31 19:01:11 wsinatra: I think matthewcroughan is aware of that, as it's very similar to Arch' PKGBUILDs 2020-07-31 19:01:25 But in Alpine it's a lot easier to contribute packages for others 2020-07-31 19:01:27 fair point 2020-07-31 19:01:28 wsinatra AUR packages come in -bin and -git variety. So it's hikari-git or hikari-darcs 2020-07-31 19:01:34 or hikari-bin if it's just a binary file 2020-07-31 19:01:43 the other problematic thing is that yes, hikari doesn't use git, it uses darcs. 2020-07-31 19:01:45 I'd advise pushing as much as possible to Alpine, as it's much less of a maintainance burden that way 2020-07-31 19:02:03 second what afontain_ said, much much easier 2020-07-31 19:02:03 It does mean you need to maintain it though :) 2020-07-31 19:02:18 CI 2020-07-31 19:02:45 matthewcroughan: we prefer to use releases as much as possible 2020-07-31 19:03:26 ikke: true 2020-07-31 19:03:35 matthewcroughan: as a matter of fact, abuild does not support directly cloning from git 2020-07-31 19:04:03 I'm free to do CI though right? It should require basically no maintenance if I just have a CI script that does all the procedure for me? 2020-07-31 19:04:20 matthewcroughan: Not sure what you mean wiht a CI script 2020-07-31 19:04:41 When a github release is pushed, trigger a script to run which ultimately deploys to Alpine a new release of the package. 2020-07-31 19:05:20 Assuming nothing breaks, it's typically a simple matter of changing the package version and pushing a MR to aports 2020-07-31 19:05:26 New versions are deployed by pushing new versions of APKBUILds to aports 2020-07-31 19:05:36 We do have our own CI to test build the packages 2020-07-31 19:05:36 If something changes in the package release, and it breaks, you'll have to fix that before the MR will be accepted 2020-07-31 19:05:57 https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests 2020-07-31 19:06:58 ikke yes, but let's say I have my own CI system. Is anything going to stop me using it? 2020-07-31 19:07:08 intentional barriers to automation? 2020-07-31 19:07:35 We do not directly accept packages 2020-07-31 19:07:45 I don't know what that means. 2020-07-31 19:08:02 Can I have a script run whilst I'm asleep that triggered due to something someone else did on github, and have that merge without my intervention? 2020-07-31 19:08:03 Yes or no? 2020-07-31 19:08:36 That means that you can't push packages to Alpine's repos without Alpine's approval 2020-07-31 19:08:36 matthewcroughan: if that script would create a merge request against aports, and someone who has permission to merge, merges it, then yes 2020-07-31 19:08:47 Great, that answers it. 2020-07-31 19:08:53 All I need is git right? 2020-07-31 19:09:19 APKBUILD + Git, just like the AUR? 2020-07-31 19:09:37 yes 2020-07-31 19:09:56 Well, technically I'm not even sure you need git 2020-07-31 19:10:07 Do you guys do binary packages? Or must we include build instructions that actually build from source? 2020-07-31 19:10:19 matthewcroughan: build from source preferably 2020-07-31 19:10:33 depends if you upstream to Alpine 2020-07-31 19:10:40 ie, unless there are good reasons not to, build from source 2020-07-31 19:10:42 But in the case of a GoLang application, where a static binary is built by *our* procedure, what then? 2020-07-31 19:11:26 You can always do whatever you want in your own repos 2020-07-31 19:11:33 In a way it's more secure, since that binary is verifiable to *us* the creators of the package, rather than alpine itself 2020-07-31 19:11:35 We want users to be able to build things from source 2020-07-31 19:11:45 creators of the binary* 2020-07-31 19:12:31 Yeah okay that makes sense, I'm just thinking about the fact that you guys could could easily modify gpg this way and we'd never know 2020-07-31 19:12:46 you distribute the binaries that you claim you build from the same source that's available on aports 2020-07-31 19:12:58 but there is no trustless way of verifying that indeed you have built from the correct sources 2020-07-31 19:12:59 matthewcroughan: we are working on supporting reproducable builds 2020-07-31 19:13:13 well, reproducible builds would help 2020-07-31 19:13:16 which means that anyone can build from the same source, and verify that they would get the same binary 2020-07-31 19:13:25 ah yeah that's cool 2020-07-31 19:13:36 Actually yeah that's absolutely the best of both worlds 2020-07-31 19:13:49 matthewcroughan: What we want to avoid is that upstreams get lazy and make it hard for others to build from source because they can just use the binary distributions anwya 2020-07-31 19:13:52 anyway 2020-07-31 19:13:55 So do you guys do TuF yet? 2020-07-31 19:14:04 matthewcroughan: first time I've heard of it 2020-07-31 19:14:23 matthewcroughan: chef works that way for example 2020-07-31 19:14:30 I can link you to a talk that explains it superbly well. Docker images are signed by a service called Notary which implements TuF for docker images. 2020-07-31 19:14:31 very difficult for others to build 2020-07-31 19:14:50 https://www.youtube.com/watch?v=JvjdfQC8jxM 2020-07-31 19:15:10 heh, +1 for the youtube title 2020-07-31 19:15:26 The TL;DR is that this allows mitigation of compromise. 2020-07-31 19:15:52 You can revoke keys by rotating them, you get an offline and and online key that are needed for complete compromise, and replay attacks are prevented. 2020-07-31 19:16:25 The signing key for key rotation is offline, so your entire service cannot be compromised unless both are present. 2020-07-31 19:16:49 And of course, there's a concept of freshness. Keys expire and require rotation. 2020-07-31 19:19:31 The docker hub and images and docker cli handle TuF. He gives a live demo of compromising a docker image, 2020-07-31 19:19:39 Watching it now 2020-07-31 19:20:00 :D 2020-07-31 19:20:25 One concept he's mentioning is about replay attacks, which on it's own, is valid 2020-07-31 19:21:52 But it does require you to have an infrastructure that keeps these signatures alive 2020-07-31 19:22:14 He talks about this later. 2020-07-31 19:22:26 ok 2020-07-31 19:22:27 Towards the end, hold on for it. It's smart, you have a server doing that. 2020-07-31 19:22:42 because of the offline key, compromise to that server is mitigatable anyway. 2020-07-31 19:23:12 yeah, just worried about forced depracation of older versions 2020-07-31 19:27:29 offline - online keys sounds a lot like what GPG already has, the main key + subkeys (there is ofcourse more to it, but the concept sounds similar) 2020-07-31 19:27:49 or CA root keys + intermediate keys 2020-07-31 19:33:16 he uses alpine in this talk actually, and compromises the alpine base image as an example 2020-07-31 19:33:47 oh nvm, thought he would based on his slide 2020-07-31 19:37:58 Well, I don't think Alpine is vulnerable to the "mixing version in an unexpected way" attack 2020-07-31 19:39:17 doesn't pmOS explicitly do this to ensure certain packages are sourced from pmOS and not alpine? 2020-07-31 19:39:34 I remember qemu was packages with pkgver=9999 a ways back 2020-07-31 19:41:38 Well, it's a different repository you trust 2020-07-31 19:44:18 matthewcroughan: certainly an interesting model 2020-07-31 19:44:42 matthewcroughan: ncopa mentioned he wanted to update the way we do package signatures 2020-07-31 19:45:57 afontain_: that's true, no complaints of course, just thought it was interesting 2020-07-31 20:04:52 ikke wsinatra do you know of any ways to preseed an alpine image? 2020-07-31 20:05:04 Basically, I don't want to bother installing, ever again, using alpine-setup. 2020-07-31 20:05:17 I want to flash the media, go in there, enable ssh, disable ram mode. 2020-07-31 20:11:20 setup-alpine -c will create an answer file for you 2020-07-31 20:11:32 I don't really want to boot into the system. 2020-07-31 20:11:37 I want to do this before the system boots. 2020-07-31 20:11:59 an APKVOL might be a good way to go about that then 2020-07-31 20:12:06 You know how Raspbian works, right? 2020-07-31 20:12:34 Most of what you do is modifying the sd card, then plugging it into the pi, power it on. Alpine should be like this as much as possible, IMO 2020-07-31 20:12:39 APKVOL? 2020-07-31 20:14:08 yeah the lbu program lets you create a sort of snapshot called an APKVOL and restore from it. Though it's meant to be used with run from ram builds 2020-07-31 20:14:27 Yeah, I just want to flash alpine and that's it. Lol. 2020-07-31 20:14:30 I've build build systems for SBCL using that and Qemu, and it works decently 2020-07-31 20:14:38 Raspbian works like this. OpenWRT works like this. 2020-07-31 20:15:13 Right that's kind of what this does. the APKVOL lives on an SD card and is bootstrapped into the Alpine image on boot. It contains a localized APK repo and other persisted data (such as system configurations) 2020-07-31 20:16:31 I've just flashed `alpine-std 3.12.0 x86` 2020-07-31 20:16:47 I want now, before I boot the media up, to set its hostname, tell it to use dhcp, enable ssh 2020-07-31 20:17:14 I see one partition. I've mounted it, there's 3 folders inside it. `apks` `efi` `boot`. 2020-07-31 20:18:02 wsinatra is there a doc on APKVOL? 2020-07-31 20:18:22 https://wiki.alpinelinux.org/wiki/Alpine_local_backup ah 2020-07-31 20:18:41 you mean APKOVL? 2020-07-31 20:19:04 but apkovl is for run-from-ram 2020-07-31 20:19:07 This is still no good. This seems not to have any impact on first-boot behavior. 2020-07-31 20:19:17 And like ikke just stated, it only relates to run from ram. 2020-07-31 20:19:50 sorry dyslexia, but yeah the APKOVL is what I meant 2020-07-31 20:20:26 What I want, is a way to install to a disk, without having to launch alpine from boot media. 2020-07-31 20:20:54 I could do that on a container on my laptop, I guess :/ 2020-07-31 20:21:10 You guys should provide such media for modification. 2020-07-31 20:22:01 When I flash OpenWRT to any disk, that's it. It's done. There is no installation procedure, that was the installation procedure :D 2020-07-31 20:22:12 If I want to change things, I just modify the FS. 2020-07-31 20:22:18 matthewcroughan: I started to work on it unofficially but didn't finished yet 2020-07-31 20:22:46 Nice! 2020-07-31 20:22:52 you know how much different SBCs are around 2020-07-31 20:23:13 How does that impact things? 2020-07-31 20:23:48 for example for each SBC different u-boot is required 2020-07-31 20:24:14 I don't get how a disked rather than diskless would make this problem worse? 2020-07-31 20:24:22 The diskless media won't boot on that either, right? 2020-07-31 20:24:30 different boot params, drivers, dtbs 2020-07-31 20:24:36 yes, how does this matter? 2020-07-31 20:24:43 time 2020-07-31 20:24:51 the current boot media, already does not work on those systems? 2020-07-31 20:25:01 How would providing a disked version make this worse? 2020-07-31 20:25:54 whoever have time is free to do that 2020-07-31 20:27:50 matthewcroughan: something like minirootfs but gpt+ext4 instead of tar+gz? 2020-07-31 20:28:28 I have no idea what you mean, since I'm not seeing the issue :P 2020-07-31 20:28:43 adu: miniroot is for docker/lxc 2020-07-31 20:28:51 mps: I understand that 2020-07-31 20:29:10 but it's the closest thing to a preinstalled version in the downloadable packages 2020-07-31 20:29:50 adu: then 'normal' tarballs are better 2020-07-31 20:30:15 you can't boot from tarballs 2020-07-31 20:30:41 are you sure :) 2020-07-31 20:31:15 I use tarballs to test releases 2020-07-31 20:31:51 made some scripts to unpack and 'flash' to sdcards, put in box and boot 2020-07-31 20:32:26 mps: so If matthewcroughan dd's a tarball to disk then the installation process is complete? 2020-07-31 20:32:43 heh, funny 2020-07-31 20:32:59 you are kidding with me 2020-07-31 20:33:19 Are you Russian? I want to know 2020-07-31 20:33:33 That sentence sounds like something a Russian speaking English would say :D 2020-07-31 20:33:43 no, we don't have images ready to be 'dd'-ed to media 2020-07-31 20:33:57 matthewcroughan: me? 2020-07-31 20:34:36 well, there are bootable ISOs 2020-07-31 20:35:31 Yes mps 2020-07-31 20:35:42 afontain_ the bootable iso is not enough, that's not what I want. 2020-07-31 20:35:52 no, not Russian though I speak Russian 2020-07-31 20:35:56 I honestly don't understand why we still use a format associated with a media that no longer exists 2020-07-31 20:36:05 Like I said. When I dd openwrt isos to disk, they are done. The installation is 100% complete, I can now modify the filesystem of the disk and make my changes, *then* boot it 2020-07-31 20:36:08 matthewcroughan: I'm Serbian 2020-07-31 20:36:56 but most of aren't native English speakers 2020-07-31 20:37:04 most of us* 2020-07-31 20:39:31 alpine doesn't have much developers for arm arches 2020-07-31 20:39:59 afaik only I started to work on images which could be dd-ed 2020-07-31 20:40:17 and I have limited number of SBCs to test 2020-07-31 20:40:53 My board is the atomic pi. 2020-07-31 20:41:13 I just really don't want to tell people "Flash alpine to a usb, then get a usb hub, then boot it and run alpine-setup, then reboot" 2020-07-31 20:41:39 matthewcroughan: are you a compsci teacher? 2020-07-31 20:41:43 Why not just "flash alpine to your usb disk, modify the filesystem here, then boot your alpine install" 2020-07-31 20:41:58 adu No, I just want to make a youtube video that utilises alpine for running ardour6 and using VSTs in it. 2020-07-31 20:42:47 which should just be as simple as flashing alpine to a disk, setting the hostname, enabling ssh, then booting it. 2020-07-31 20:43:01 Just like Raspbian, PostmarketOS, OpenWRT. 2020-07-31 20:44:52 The amount of pain involved in installing Alpine to RPis really has crossed firmly into the territory of ridiculous. 2020-07-31 20:45:24 Really? Is it that bad? :D 2020-07-31 20:46:02 https://wiki.alpinelinux.org/wiki/Classic_install_or_sys_mode_on_Raspberry_Pi 2020-07-31 20:46:54 But why though :( 2020-07-31 20:46:59 RPis are based on broadcom, so what could be expected 2020-07-31 20:47:07 And half of that is wrong. 2020-07-31 20:47:52 mps: yeah, no, that's not an excuse when Broadcom has made it clear they only accept Linux. And when FreeBSD is easier to install on a RPi4 than Alpine. 2020-07-31 20:47:55 But why do we have to boot the device to configure stuff at all? I'm not getting it. 2020-07-31 20:48:20 matthewcroughan: because there is no actual installed image for rpi, only a live image. 2020-07-31 20:48:32 I like setup-alpine, I think it's useful and convenient. But when I'm doing this over and over, I just wanna flash the rootfs and modify some stuff. 2020-07-31 20:48:52 RootWyrm_ ? I can't even figure this out for x86 2020-07-31 20:48:57 How do I do it? There is no page on it afaik 2020-07-31 20:49:22 The x86 stuff will install to disk, been long enough that I've forgotten the steps because I just clone a VM. 2020-07-31 20:49:22 pmOS installs as sys on raspberry pi 2020-07-31 20:49:42 RootWyrm_ Oh my aching head :D 2020-07-31 20:49:59 Where is the download page for the rootfs so I can just flash it to disk? 2020-07-31 20:50:15 :) 2020-07-31 20:50:19 IIRC that won't work 2020-07-31 20:50:41 But why gdi 2020-07-31 20:50:47 Can't remember if it was because the rootfs was wrong or broken or what. 2020-07-31 20:50:52 https://wiki.alpinelinux.org/wiki/Installation#2._Dump.2C_burn_or_flash_the_image 2020-07-31 20:51:01 We need to burn step 2.3 2020-07-31 20:51:09 rootfs is a tarball, what you need is a gpt image 2020-07-31 20:51:30 adu: uh, no, definitely not correct. 2020-07-31 20:51:32 Step 2.3 should be definable, in a file in /boot/ 2020-07-31 20:51:47 the SoC firmware literally cannot support GPT 2020-07-31 20:52:04 but also minirootfs doesn't have linux kernel 2020-07-31 20:52:10 (unless you want to get into UEFI which you don't.) 2020-07-31 20:52:22 I should be able to provide an answer file, pre-emptively, to a disk that is not yet booted. Then boot it, and have the installation procedure ran through on the disk I used to boot. 2020-07-31 20:52:31 RootWyrm_: why don't you want UEFI? 2020-07-31 20:52:33 Which is also moot because the kernel doesn't live on the rootfs _anyway_ 2020-07-31 20:53:03 adu: https://github.com/pftf/RPi4 - have fun 2020-07-31 20:53:16 adu: p.s. it can and will brick hardware. 2020-07-31 20:53:51 RootWyrm_: what firmware does the Rpi come with? 2020-07-31 20:54:27 obnoxious u-boot blobs. 2020-07-31 20:56:42 u-boot at least has partial UEFI support 2020-07-31 21:02:13 RootWyrm_: u-boot does support GPT, what do you mean by "the SoC firmware literally cannot support GPT"? 2020-07-31 21:04:27 I would suggest you go actually read the technical documentation on the RPi boot process. 2020-07-31 21:13:23 Is pmbootstrap portable to many different places? 2020-07-31 21:13:31 whoops wrong channel 2020-07-31 21:16:05 Are there any distributions that do what I'm asking? I can't use alpine if it requires user interaction to setup like this. 2020-07-31 21:16:23 It's so funny that OpenWRT looks like my only option hahaha 2020-07-31 21:16:36 Raspbian is hardware specific, and OpenWRT is for damned routing. 2020-07-31 21:17:20 It's not a big ask. I just want to flash alpine-3.1.2.iso to my disk. Then boot it. Then ssh into it. Then do my stuff. No installation. 2020-07-31 21:17:41 All within a literal 240 second timespan. The whole thing. 2020-07-31 21:18:13 This setup-alpine step is a waste of time, in my opinion. 2020-07-31 21:18:50 pmbootstrap makes things like this, but it requires pmbootstrap. Why do we need this dependency? It seems like this could be worked around. 2020-07-31 21:20:39 well, you need something to do your setup 2020-07-31 21:20:51 though you can build an image with pmbootstrap beforehand 2020-07-31 21:20:54 Yes, but why should it involve me, the user? 2020-07-31 21:21:11 http://images.postmarketos.org/ 2020-07-31 21:21:16 E.G when I flash raspbian, everything is done. If I want to enable ssh I `touch /boot/ssh` **BEFORE** booting the machine. 2020-07-31 21:21:55 well, that's what pmbootstrap does 2020-07-31 21:21:58 I do not want to have to pull a keyboard out to ssh into a machine. 2020-07-31 21:22:06 Yes, but then I need pmbootstrap. 2020-07-31 21:22:17 The reason I need pmbootstrap is because Alpine isn't standard enough not to need abstraction. 2020-07-31 21:22:51 FreeBSD is about as basic too. If I want to turn FreeBSD's boot media into a *real freeBSD*. I can do it. All I need to do it, before even booting the disk. 2020-07-31 21:23:00 I don't need freebsd-bootstrap 2020-07-31 21:23:09 All I need to do is remove rc.conf 2020-07-31 21:24:08 How many steps are required to install alpine? Far too many, in my opinion. We can do better. 2020-07-31 21:24:35 No interactive installation, I don't want it. How do we get rid of it? 2020-07-31 21:25:08 Obviously setup-alpine is nice and convenient. But I do not want to use it for the 20th time. I want simple static setups. Even Arch for Arm is like this! 2020-07-31 21:25:46 Check it out https://archlinuxarm.org/platforms/armv6/raspberry-pi 2020-07-31 21:29:09 I don't want another dependency (pmbootstrap) to do this. I want to be able to mess with this with simple posix utilities. 2020-07-31 21:29:36 define this 2020-07-31 21:30:06 as I said, you can build an image with pmbootstrap beforehand 2020-07-31 21:30:15 There are no docs, that I can find, that tell me how I could replace pmbootstrap with mv, cp, mount, tar. Yet it should be possible. 2020-07-31 21:30:29 I do not want to use pmbootstrap. 2020-07-31 21:30:39 Pmbootstrap is a dependency. It messes up my host system. 2020-07-31 21:30:52 I wand an image, that I tar, move some files, nothing more. No chroots, no nonsense. 2020-07-31 21:31:02 well, no it, it doesn't 2020-07-31 21:31:16 it will only touch ~/.local/var/pmbootstrap 2020-07-31 21:31:23 That's too much lol. 2020-07-31 21:31:31 I don't want yet another piece of software on my host. 2020-07-31 21:31:42 (well, and ~/.config/pmbootstrap.cfg) 2020-07-31 21:31:47 Yes, too much for me. 2020-07-31 21:32:00 No dotfiles, no python. No chroots. Just posix please. 2020-07-31 21:32:13 well, it can touch another directory if you prefer 2020-07-31 21:32:21 No. Why do I need this utility? 2020-07-31 21:32:24 python and chroot are required though 2020-07-31 21:32:32 Then I'm not using it. 2020-07-31 21:32:45 I would rather use Docker and `FROM alpine:3.1.2` and do the install in there. 2020-07-31 21:32:59 hey, you choose if you want to use it, I've never said you need it 2020-07-31 21:33:00 At least that way, there are no disgusting crumbs left behind. 2020-07-31 21:33:27 I'm asking for an explanation of how pmbootstrap works, so I don't have to use pmbootstrap. 2020-07-31 21:34:09 pmbootstrap doesn't install itself on the target system 2020-07-31 21:34:19 so no crumbs left 2020-07-31 21:34:55 at some point your requirement are quite exigents, though: 10 years without any maintainance, TUF, no dependencies, doesn't write any file… 2020-07-31 21:35:00 pmbootstrap is required. Pmbootstrap is now on my laptop. I don't want it on my laptop. Why did I need it in the first place? 2020-07-31 21:35:21 at some point, it's not actually possible 2020-07-31 21:35:27 Why can't I do it the same as every other compliant and standard distribution? 2020-07-31 21:35:44 I bet you I can. You just don't know how, because it's not clear. 2020-07-31 21:36:02 It's just not in the docs because nobody but me wants it lol 2020-07-31 21:36:42 well, pmbootstrap allows you to use any distribution to build the image. You can also dd the image from any distribution. That was one of your requirements 2020-07-31 21:36:55 ? 2020-07-31 21:37:00 Have you ever used a pi? 2020-07-31 21:37:30 Have you ever had the experience of just making *all* of your assumed changes to the disk you just flashed, before even booting it, and not even having to ssh into the machine? 2020-07-31 21:37:43 Better yet, have you experienced not having to install anything, just flashing it to disk and booting it? 2020-07-31 21:37:53 that's not what postmarketOS uses 2020-07-31 21:38:06 also, you were talking about x86 two hours ago 2020-07-31 21:38:30 There is no difference between the experience on ARM vs X86 in this same exact regard, with OpenWRT. 2020-07-31 21:38:38 Architecture literally does not matter here. 2020-07-31 21:38:39 At all. 2020-07-31 21:38:57 well, it's the case on postmarketOS too 2020-07-31 21:39:31 the basics of pmbootstrap, is that it grabs a static version of apk (for example from http://dl-2.alpinelinux.org/alpine/edge/main/x86_64/apk-tools-static-2.10.5-r1.apk), install the packages the user wants, and flash that rootfs, makes an image out of it, whatever you want 2020-07-31 21:39:40 https://openwrt.org/docs/techref/targets/start 2020-07-31 21:39:46 If I download any of these images. All I have to do is flash it. 2020-07-31 21:39:54 That is the installation procedure. There is no setup-alpine. 2020-07-31 21:40:11 If I want, I can make modifications to /etc just by mounting it and playing with files. 2020-07-31 21:40:16 I think this discussion is OT here 2020-07-31 21:40:19 Then, I plug the disk in and boot. *done*. 2020-07-31 21:40:27 I want this same experience with alpine. 2020-07-31 21:40:51 > /etc just by mounting it and playing with files. You can do that with any distro 2020-07-31 21:40:59 Yes. But not before you install it. 2020-07-31 21:41:05 In this case, there is no installation procedure. 2020-07-31 21:41:09 yeah, let's move to #alpine-offtopic 2020-07-31 21:41:13 or anything else 2020-07-31 21:42:13 pmOS? :) 2020-07-31 21:43:02 well, it's not really about pmOS either 2020-07-31 21:43:39 afontain_: right, but you understand I think 2020-07-31 22:11:46 >disgusting crumbs 2020-07-31 22:11:48 >docker 2020-07-31 22:46:46 matthewcroughan: you can use an answer-file for the alpine-setup crap, feed it to an openrc firstboot script, but still doesn't solve for lack of actual rpi images 2020-07-31 22:48:36 I may actually get time to poke at that this weekend. 2020-07-31 23:44:44 RootWyrm_ It's not for the RPI 2020-07-31 23:44:51 I do not want this for the RPI. I want this for all platforms. 2020-07-31 23:45:12 I want to be able to flash it with no setup procedure, then the first boot *is* the installed system. It's just a better way of working. 2020-07-31 23:45:35 This way, I have an installed system within 240 seconds, if that. 2020-07-31 23:45:52 No monitor, keyboard or serial required. And I can SSH in after first boot. 2020-07-31 23:46:23 pmbootstrap allows me to do it. It's a fine tool. I would just prefer that this be possible to do without it.