2021-07-01 08:34:02 Q: So if you copy `/etc/apk/repositories` and `/etc/apk/world` to a fresh new install, and then do `apk fix`, all the packages which were on the old machine will get installed onto the new machine? 2021-07-01 08:45:17 A: yes 2021-07-01 09:00:49 O: That's pretty sweet! 2021-07-01 11:07:56 Ah, [m] is matrix, not gender :P 2021-07-01 11:08:12 yes 2021-07-01 11:11:40 lol 2021-07-01 11:18:36 the matrix has them 2021-07-01 12:34:38 sorry, Matrix bridge just went bork. 2021-07-01 12:35:21 how is it with firefox in stable? will be updated sooner or later? now I see 89.0 and there is already 89.0.2 2021-07-01 13:55:46 Why apk install/upgrade hooks don't propagate environment variables from the parent apk process? 2021-07-01 14:09:06 do you mean why don't they inherit? have you exported the variable? 2021-07-01 14:11:29 I did 2021-07-01 14:11:41 But the hook didn't get it 2021-07-01 14:12:19 unfortunately i don't know about apk hooks 2021-07-01 14:33:08 Hope it's ok to ask questions about busybox ash here: What is the best way to disable the creation of ~/.ash_history? 2021-07-01 14:33:11 My current solution is setting HISTFILE to /dev/null based on https://git.busybox.net/busybox/tree/shell/ash.c?h=1_33_stable#n14504 2021-07-01 14:36:38 Coming from bash, I thought unset-ing HISTFILE would do the trick but nevertheless, the code says otherwise. 2021-07-01 15:22:28 hi, was anyone recently updating alpine over many releases, like 3.11 -> 3.14? is there anything worth paying extra attention for such move? 2021-07-01 15:37:06 przemoc: I would start from reading "upgrade/release notes" https://tpaste.us/EMLR 2021-07-01 15:41:23 Just came across this in the SUSv3 spec: "If the HISTFILE variable is not set, the shell may attempt to access or create a file .sh_history in the directory referred to by the HOME environment variable." 2021-07-01 15:42:09 "Implementations may choose to disable the history list mechanism for users with appropriate privileges who do not set HISTFILE ; the specific circumstances under which this occurs are implementation-defined." 2021-07-01 15:47:21 MY-R: re hwclock/osclock with RPI diskless, it is a part of the initramfs shellscript that enables the hwclock init.d 2021-07-01 15:52:25 minimal: so running mkinitfs after remove hwclock will help or it always detect diskless setup and put hwclock in services? 2021-07-01 15:53:29 MY-R: https://gitlab.alpinelinux.org/alpine/mkinitfs/-/blob/master/initramfs-init.in#734 2021-07-01 15:53:54 oops, https://gitlab.alpinelinux.org/alpine/mkinitfs/-/blob/master/initramfs-init.in#L734 2021-07-01 15:54:25 ye Im reading that now 2021-07-01 15:56:12 so ye, running mkinitramfs is enough BUT it isnt even installed by default and doubt that people doing it on diskless mode 2021-07-01 15:56:21 well I'm not sure how the behaviour differs between diskless and sys-mode - that code should enable hwclock in both cases but when I'm using sys with osclock enabled then hwclock isn't being run 2021-07-01 15:56:32 and need to mount fat aprtition as writable an dlink /boot to /media* stuff 2021-07-01 15:57:44 oh ye like I said, need do few steps with link and mount and install mkinitfs package to regenerate initramfs, but good to know :) 2021-07-01 15:59:13 not familiar with diskless but I assume any enabled init.d scripts are stored in the LBU file rather than the initramfs 2021-07-01 15:59:49 the symlink is 2021-07-01 16:00:22 complete /etc by default 2021-07-01 16:01:26 minimal: in diskless mode initramfs image is provided in .tar.gz image so is pregenerated and exist in read only fat partition 2021-07-01 16:01:48 ok, some day must sit down and try diskless mode :-) 2021-07-01 16:08:36 minimal: so you running this if wanna generate initramfs :) https://tpaste.us/0wN6 2021-07-01 16:09:48 MY-R: thanks, I'd like to add diskless alpine images generation to my script in the future 2021-07-01 16:11:32 :) 2021-07-01 16:14:02 MY-R: haven't gotten back to the LUKS2 stuff yet - stuck investigating a LUKS-related nlplug-findfs issue 2021-07-01 16:35:18 ansimita: I think your reading of the busybox ash code is correct. I don't see a way to explicitly disable the history file (other than compiling the feature out). 2021-07-01 16:47:09 it'd be nice if it was a commandline switch 2021-07-01 16:47:36 but, bloat 2021-07-01 16:50:08 minimal: what issue!? all else working fine! :P 2021-07-01 16:50:54 MY-R: its to do with the remote LUKS unlock stuff I'm working on 2021-07-01 16:55:51 minimal: ah, so unencrypted /boot and some ssh module? I remember dracut was working fine in other distributions 2021-07-01 16:58:00 MY-R: yeah dropbear providing ssh in initramfs. The SSH part is working fine but then when nlplug-findfs is called to deal with luks its (currently) not working for me.....doing fiddly debugging currently. Once its sorted I'll be raising MRs for mkinitfs and dropbear to add it 2021-07-01 17:27:50 Any special instructions on how to access the Pi ZW via USB TTL (serial) cable? Under Raspbian / Raspberry Pi OS, usually that is done via raspi-config in order to prepare the OS. What is the equivalent of that for Alpine? 2021-07-01 17:29:05 minimal: oh nice, good luck! :) 2021-07-01 18:18:31 AppAraat[m]: https://www.raspberrypi.org/documentation/configuration/uart.md 2021-07-01 18:19:05 you can also use g_serial or g_ether 2021-07-01 18:24:01 Hello71: yeah the `enable_uart=1` I'm familiar with (AFAIK it's a setting for the SoC), but I've found out that the OS also has to be prepared in a way. For example on Raspbian you have to let systemd know that you're assigning a tty or something. That's what the raspi-config does. 2021-07-01 18:24:18 But if Alpine doesn't need all of that and works just like that out of the box then that's even better. 2021-07-01 19:32:22 can't remember 2021-07-01 19:32:51 if it does need configuration then systemctl enable serial-getty@ttyS0 is equivalent to echo mumblemumble >> /etc/inittab or console=ttyS0 2021-07-01 19:33:02 actually console=ttyS0 is systemd too 2021-07-01 19:33:24 although mkinitfs does it differently from systemd 2021-07-01 19:45:48 I'd expect you'd need to add the serial device to /etc/inittab for a getty, and add console= to the RPI command line config in config.txt. Aren't the RPI serial devices /dev/AMA0 etc 2021-07-01 19:47:47 AppAraat: ^^^^^^ 2021-07-01 19:50:51 minimal: I'm not sure about the `console=` part, as I can't find that anywhere here: https://www.raspberrypi.org/documentation/configuration/device-tree.md 2021-07-01 19:51:26 but I'll try. This is all new territory for me. I don't think I've even connected to a Pi over UART running Raspbian. 2021-07-01 19:54:42 "console=" is a general Linux cmdline parameter to tell it what device the console is on, typically on PCs it would be "console=tty1" by default, so on a PC if you want a serial console you either change that to "console=ttyS0,115200" to prepend that before an existing "console=tty1". For RPI the serial device naming is different, have a look in /dev at the names of the tty files 2021-07-01 19:56:38 xordspar0: yeah. Setting HISTFILE to '/' (a directory) seems to work too as it causes open() to fail. 2021-07-01 20:48:59 Does anybody know where the synching configuration is located when running from OpenRC? 2021-07-01 20:49:05 I can't seem to find it 2021-07-01 21:01:33 figbert: I believe it's in /var/lib/syncthing. Normally it's in the user's directory under .config/syncthing, and the openrc service sets the user's directory as /var/lib/syncthing. 2021-07-01 21:03:15 xordspar0: thank you – it's there! 2021-07-01 21:05:50 Maybe the service should be updated so that the config file is at /etc/syncthing. Syncthing takes a -config X option. 2021-07-01 21:10:24 ugh... spent half an hour troubleshooting why my Pi wouldn't show any output on the display and it turns out the display cable wasn't connected properly -_- 2021-07-01 21:11:27 AppAraat[m]: that is how Im charging phone :P 2021-07-01 21:12:11 in 3.14, i've lost the ability to passthrough usb devices though libvird. I can add the devices and start the machine, OK, no errors, but I can't use the passed though devices in the VM. Anyone know offhand if there's another package I need to add now while I keep troubleshooting? 2021-07-01 21:12:57 MY-R: huh? By connecting it to your display? :p 2021-07-01 21:14:28 AppAraat[m]: connecting cable to phone but forgeting connect charger to socket :P 2021-07-01 21:14:40 lmao yeah been there done that :p 2021-07-01 21:14:52 that's like a weekly occurance for me 2021-07-02 01:18:34 Perhaps not the right question, but do any of the current ARM64 builds include Hyper-V patches to run as a Hyper-V guest? 2021-07-02 08:59:03 Is there a way to slim down alpine-base even more? I'm trying to make an ultra-light VM optimized for very fast boot times. One idea I had was to make openrc run in parallel, but I would like to slim down the base system 2021-07-02 09:02:07 MY-R: thanks, somehow over all these years I haven't noticed (or maybe forgot?) there were release notes on wiki 2021-07-02 09:02:07 you've no doubt reduced the extlinux timeout already 2021-07-02 09:04:01 you could probably put everything in the initrd if you don't need persistence 2021-07-02 09:22:51 lopid: Yes, I suppose I could do that, since all the persistent data will be on a separate disk 2021-07-02 09:24:40 only really need alpine-baselayout, busybox, alpine-keys, and apk-tools. the rest you could do an overlayfs for. 2021-07-02 09:27:51 Sheila: Is there something like https://github.com/alpinelinux/alpine-make-vm-image but more customizable? Perhaps something that bootstraps via apk.static 2021-07-02 09:28:08 That would be ideal I think 2021-07-02 09:29:39 not that I'm aware of, but perhaps someone else would know. 2021-07-02 09:30:27 well. horizon, maybe, but I'm not sure it does HDD images. disc images and rootfs tarballs, sure, but… 2021-07-02 09:31:55 Oh hmm, will look into it 2021-07-02 09:35:05 Sheila: wait nvm, alpine-make-vm-image already bootstraps, I suppose I could just customize it further 2021-07-02 12:12:49 przemoc: not only you who didnt notice that "wiki" link which imho should be better exposed and not "hiden" in middle of release page between many other links 2021-07-02 15:01:33 are pipeline posting packages somewhere? 2021-07-02 15:01:50 because it would help me not burning my raspberry pi when building large packages :D 2021-07-02 16:36:34 Ristovski: you might be interested in https://github.com/dermotbradley/create-alpine-disk-image 2021-07-02 16:36:40 its a work-in-progress 2021-07-02 17:01:17 minimal: oh nice, thanks! 2021-07-02 17:02:11 Ristovski: must push an update to the git repo later today - have reworked quite a lot of stuff. 2021-07-02 17:04:28 minimal: oh fancy, it supports encryption? 2021-07-02 17:05:47 Ristovski: the encryption stuff is what I've been working on the past 2 weeks - so its not up-to-date in the repo. Let me push a revised version. 2021-07-02 17:06:54 it supports full encryption (including /boot) with Grub and all-but-boot encryption with Syslinux and RPI. Having probs with LUKS v2 currently so its all using LUKS v1 at present. 2021-07-02 17:07:05 minimal: I've been meaning to write my own custom `init` (or maybe I can make it into an openrc service?) that can read a decryption password from a virtio socket (passed by firecracker) 2021-07-02 17:07:59 Ristovski: have been working on remote unlocking of LUKS via Dropbear SSH but that's not ready yet 2021-07-02 17:08:04 oh nice 2021-07-02 17:08:24 seems like i'm not the only one with these niche needs lol 2021-07-02 17:09:03 its based on an Ansible playbook I've been using for about a year for all my RPIs, physical machines and VMs 2021-07-02 17:35:51 Ristovski: just pushed latest changes to the repo 2021-07-02 17:37:53 minimal: Very nice! Will definitely check out 2021-07-02 17:39:11 currently I can only vouch for QEMU & Virtualbox VMs working as that's what I routinely test. Need to find time to test the rest 2021-07-02 17:41:22 I will be quite busy the next few weeks, but I could probably try and get firecracker integration working when I (finally) get free time 2021-07-02 17:42:04 Have been meaning to look at firecracker for a while but have too many other things on the go :-) 2021-07-02 17:45:47 I used to use qemu with microvm (https://github.com/qemu/qemu/blob/master/docs/system/i386/microvm.rst) but then realized firecracker is more lightweight than having a full qemu install (and qemu is annoying to strip out), its literally a 3.8MB static binary and has all the things I need (including nice stuff like virtio-vsock and other virtio goodies) 2021-07-02 17:48:11 It also manages to boot my minimal kernel a bit faster than qemu, wasn't able to figure that one out, the configuration is /identical/. But I don't hate myself enough to sit down and figure out why that happens :P 2021-07-02 17:49:04 in my script, for VMs I tweak the initramfs to (try) and have only the needed drivers for stuff like virtio. I've built a local Alpine package for a more stripped down linux-virt package (removing drivers not relevant for VMs), need to find the time to raise a PR to try and get some or all of the changes included. 2021-07-02 17:49:59 Ristovski: doesn't Firecracker have a stripped down BIOS (e.g. does it even have PCI?) so obviously the kernel init would be quicker if the BIOS supports less functionality 2021-07-02 17:51:09 minimal: it should be nearly identical with `microvm`, I even run qemu with 'pit=off,pic=off,rtc=off', dmesg output is nearly identical (different order of some memory regions etc) 2021-07-02 17:57:47 Ristovski: Firecracker apparently doesn't have a BIOS at all (whereas QEMU does) so that would make some sort of difference in startup times 2021-07-02 17:58:07 Indeed, I suppose that could be it 2021-07-02 19:21:02 if you want microvm to be extra fast you need -bios qboot.bin 2021-07-02 19:40:26 Hello71: yeah, true, however firecracker claims not to have any BIOS at all so I'd expect it to be faster (whether measurable or not) than microvm at startup as a result 2021-07-02 20:23:33 Are rng-tools required for a Pi ZW? https://wiki.alpinelinux.org/wiki/Raspberry_Pi_Zero_W_-_Installation#Create_cache_folder_and_add_rng-tools_packages 2021-07-02 20:24:53 "I decided to not install the rngd related packages at this point to see how a reboot looked, answer is not good. The dhcp request just times out. Running setup-alpine again at this point also doesn't work." - Is the rng on the Pi _so_ bad? :S 2021-07-02 20:27:37 it's no bother to install and run haveged, which I tend to do anyways 2021-07-02 20:29:43 haveged adds dubious security 2021-07-02 20:30:03 instead of rng-tools? I'd favor that for the fact it only has 1 dependency instead of 3 like with rng-tools 2021-07-02 20:30:34 but I'm very much anything except an expert on crypto 2021-07-02 21:13:07 haveged is obsolete since 5.6 anyways apparantely 2021-07-02 21:22:26 TIL 2021-07-02 21:23:36 AppAraat: rng-tools supports both the HWRNG and also jitterentropy-rng 2021-07-02 21:23:42 so no need for haveged 2021-07-02 21:24:46 but yes need for rng-tools 2021-07-02 21:25:18 (I'm still getting used to the fact of adding packages I want to the sdcard before booting it and connecting to the wifi :p) 2021-07-02 21:26:48 In any case, this guide might be out of date: https://wiki.alpinelinux.org/wiki/Raspberry_Pi_Zero_W_-_Installation - since new instructions are here: https://gitlab.alpinelinux.org/alpine/aports/-/issues/12353#note_164623 2021-07-02 21:27:16 This guide already seems to reflect that: https://wiki.alpinelinux.org/wiki/Raspberry_Pi_-_Headless_Installation 2021-07-02 21:28:01 well you need something to keep feeding entropy, rngd will feed from both the RPI's hwrng and from jitterentropy-rng (which is similar to haveged), plus it supports other entropy sources if you have them 2021-07-02 21:29:16 I'm still wondering why that isn't possible OOTB on a Pi ZW, but as I said I am a huge crypto noob. 2021-07-02 21:29:32 AppAraat: "cat /proc/sys/kernel/random/entropy_avail" will give you an idea of how much entropy is available at any point in time 2021-07-02 21:29:34 actually, scratch crypto :p 2021-07-02 21:29:58 These devices do not have a lot of sources of entropy 2021-07-02 21:30:20 AppAraat: out of the box? well you need something to keep feeding entropy into /dev/random, that's what rngd (or haveged) do 2021-07-02 21:31:28 but where do they then get it from? :D 2021-07-02 21:31:50 my laptop is hovering around 4k entropy btw, is that good? 2021-07-02 21:31:52 ikke: kernel gets some entropy from network activity and keyboard activity, plus RPI has its HWRNG. Obviously if you're using a RPI as a headless server then there will no no keyboard activity 2021-07-02 21:32:14 Apparaat: as a rule of thumb anything above 1000 is "good" 2021-07-02 21:33:13 minimal: event the zero? 2021-07-02 21:33:27 ok then, my alpine VM is around 125 lol 2021-07-02 21:33:39 now if you're using a lot of crypto stuff that can affect available entropy. Ideally you want rngd running early on first boot, *before* you host's SSH keys are created 2021-07-02 21:34:10 ikke: dunno about the Zero, never used one. I'm think of the RPI 2/3/4 2021-07-02 21:34:46 AppAraat: alpine VM running on QEMU/KVM? If so then you should enable the virtio rng so it gets entropy from the host machine 2021-07-02 21:35:29 yes, QEMU/KVM. But wouldn't my entropy also increase if I install rng-tools? 2021-07-02 21:35:40 (instead of virtio rng) 2021-07-02 21:36:49 well its a *virtual* machine so for jitterentropy-rng/haveged which rely on the slighty-unpredictable behaviour of physical CPUs a virtual CPU will be less unpredicatible 2021-07-02 21:37:42 so run qemu with "-object rng-random,id=rng0 -device virtio-rng-pci,rng=rng0,max-bytes=1024,period=1000" 2021-07-02 21:37:53 and load the virtio_rng module in the VM 2021-07-02 21:39:20 On Alpine rng-tools "out-of-the-box" takes its entropy from 2 sources: jitterentropy and HWRNG - if you use those qemu options then you'll have a /dev/hwrng, if you don't use them then you won't and so will only have 1 source 2021-07-02 21:39:24 ah ok so it's also kernel mod that needs to be loaded by the guest? 2021-07-02 21:39:43 I'm the Alpine rng-tools package maintainer BTW :-) 2021-07-02 21:40:03 oh nice, I was checking it out just now :p 2021-07-02 21:41:50 AppAraat: actually its slightly confusing - the jitterentropy-rng kernel module is used for the kernel's own "special" (early init?) pool, whereas rngd uses libjitterentropy which effectively has the same code as the kernel module but rngd uses it to then top-up the normal entropy pool 2021-07-02 21:42:38 I'm using virt-manager, and I've noticed in "Add hardware" I can add the hosts /dev/urandom or /dev/random btw 2021-07-02 21:43:09 (or any other custom rng daemon exposed as a /dev/ file) 2021-07-02 21:44:20 have a read of https://fedoraproject.org/wiki/Features/Virtio_RNG 2021-07-02 21:45:55 "entropy starvation" is _such_ a weird concept to wrap my head around. 2021-07-02 21:46:15 like... how on earth can you run out of randomness ??? 2021-07-02 21:46:23 AppAraat: not sure about virt-manager, I tend to use qemu cli directly 2021-07-02 21:46:46 yeah that's one of my goals too 2021-07-02 21:47:21 actuall virtsh but it's kind of light on guides 2021-07-02 21:47:27 because there are different types of RNGs - a PRNG (pseudo-RNG) is not really random, its "sort of" random one its been seeded, the entropy pool is used to seed it 2021-07-02 21:48:24 also if you run a lot of crypto stuff (VPN or SSL or SSH) and check the available entropy you'll see it drop over time if you don't have enough entropy 2021-07-02 21:49:40 AppAraat: did I mention before my script to build Alpine disk images? :-) 2021-07-02 21:49:58 entropy is both mysterious and cool 2021-07-02 21:50:09 minimal: no but I am very interested :D 2021-07-02 21:50:30 Apparaat: https://github.com/dermotbradley/create-alpine-disk-image 2021-07-02 21:50:50 for now only properly tested with QEMU and Virtualbox VMs 2021-07-02 21:51:18 it will set up all the RNG-related stuff 2021-07-02 21:51:59 wow sweet :D 2021-07-02 21:53:19 so using this you can basically create an image which is ready to yeet over to an sdcard which can be used in a Pi directly? 2021-07-02 21:54:02 unfortunately no armhf yet, but the concept is super cool 2021-07-02 21:56:49 AppAraat: yeah I previously used an Ansible playbook to create disk image to "dd" onto SD cards for my RPIs, this script is intended to do the same, I just haven't had time to focus on completing the RPI work. What would you use armhf with? Its not much work, in theory, for me to add other arches 2021-07-02 21:57:22 for the Pi ZW 2021-07-02 21:57:48 but then again for learning purposes I want to create my own script which does that first 2021-07-02 21:57:57 hmm, can the wireless adapter act as a source of entropy? 2021-07-02 21:58:03 plus it uses cloud-init so with the physical machine images there's a small partition containing the cloud-init YAML files so you can either those before 1st boot to define hostname/network details/timezone/etc and it gets autoconfigured then during 1st boot 2021-07-02 21:58:03 sounds like a good source 2021-07-02 21:58:23 s/either/edit/g 2021-07-02 21:58:23 minimal meant to say: plus it uses cloud-init so with the physical machine images there's a small partition containing the cloud-init YAML files so you can edit those before 1st boot to define hostname/network details/timezone/etc and it gets autoconfigured then during 1st boot 2021-07-02 21:58:57 that's pretty cool 2021-07-02 21:59:17 is it also possible to define which packages get added? As in, not downloaded but transferred from local disk? 2021-07-02 21:59:31 ikke: or perhaps even a mic if it's available? 2021-07-02 21:59:37 ikke: vague think I've seen someone doing that a while ago. rngd does support cheap USB SDR (soft-defined radio) devices where you tune them to a unused frequency as the "static" noise is somewhat random 2021-07-02 22:00:01 right 2021-07-02 22:01:19 AppAraat: with cloud-init you mean? Sure, in the user-data.yaml file you can use the "packages:" section to list what additional stuff you want added 2021-07-02 22:01:56 oh I just meant in general, but that's pretty cool yeah 2021-07-02 22:02:22 ikke: Cloudflare (still I think) have a wall of Lava Lamps on shelves in their HQ's lobby with webcam(s) pointing to them as Lava Lamps are a good source of entropy (the hot wax inside moves in unpredictable ways) 2021-07-02 22:02:34 yeah, that's pretty cool (or hot0 2021-07-02 22:02:44 lol 2021-07-02 22:04:25 radio static includes some "solar system noise", I'd assume in theory WiFi unused channels might too but there's probably more chance of real traffic appearing on any WiFi channel 2021-07-02 22:06:23 "rngd -l" shows the possible entropy sources (note there's 2 alternative Alpine packages "rng-tools" (with a small set) and "rng-tools-extra" (with things like the SDR support)) 2021-07-02 22:12:03 ikke: there was a guy in NL who used to write several small daemons for getting entropy from different devices (e.g. sound card input, webcams). With a cheap-n-nasty webcam if you block the lens (so it can't see anything) and turn up the gain the chip "tries" to make out an image from the darkness and they result is a degree of entropy) 2021-07-02 22:14:06 oh that's pretty cool 2021-07-02 22:14:30 I bet you could do the same with mic background hum 2021-07-02 22:15:15 https://wiki.alpinelinux.org/wiki/Raspberry_Pi_-_Headless_Installation#1_-_Prepare_the_SD_card - "Use the a command to toggle the partition as bootable." - This is meaning the first partition in this case, correct? 2021-07-02 22:18:21 AppAraat: its the small FAT partition, typically the 1st one (not sure if it must always be the 1st) 2021-07-02 22:18:57 ah ok, I'll add that to that wiki article later. 2021-07-02 22:19:08 yeah it needs to be FAT in order to boot apparently 2021-07-02 22:19:26 #justweirdpithings 2021-07-02 22:32:00 AppAraat: hopefully I'll find time to test my script for RPI images in a week or so 2021-07-02 22:33:31 oh that's ok, right now I'm just messing around with it anyway 2021-07-02 22:34:24 I'll try to follow the "manual" methods first and then transition to using more automation tools (like your image builder) 2021-07-02 22:39:22 btw, is there a way to download packages from https://pkgs.alpinelinux.org/ ? 2021-07-02 22:40:29 what do you mean exactly? you want to store the files locally somewhere? 2021-07-02 22:41:06 yeah, in order to include them in the /boot/cache in order to install them after first boot on the Pi ZW 2021-07-02 22:41:20 https://wiki.alpinelinux.org/wiki/Raspberry_Pi_Zero_W_-_Installation#Create_cache_folder_and_add_rng-tools_packages 2021-07-02 22:42:10 basically like a web based apk fetch :p 2021-07-02 22:45:57 well you could manually fetch the files from one of the mirrors (https://mirrors.alpinelinux.org/) but then you'd also have to figure out the dependancies and also fetch them 2021-07-02 22:46:38 just the dependencies? Or also dependencies of dependencies etc. etc. 2021-07-02 22:47:33 yupe :-) you'd have to do the work manually that "apk add" automatically figures out lol 2021-07-02 22:47:51 :O 2021-07-02 22:48:34 oh in case of rng-tools it's pretty straight-forward. Both jitterentropy-library and libcrypto1.1 depend on musl, which should be installed already by default. 2021-07-02 22:49:20 BTW in that article, just above the section you referenced, it talks about entries to put into usercfg.txt. I seem to remember that "gpu_mem=" *only* works if its in config.txt file, I could be wrong but I think thats the case 2021-07-02 22:49:31 c705: not exactly but pretty close 2021-07-02 22:51:16 minimal: actually it's more confusing than that, there's mini-jitterentropy (my name) which is used always, crypto/jitterentropy which is used for i think internal users (ipsec?) and userspace 2021-07-02 22:53:25 minimal: Seems so yeah: https://www.raspberrypi.org/documentation/configuration/config-txt/memory.md 2021-07-02 22:57:08 ah, in config.txt it says in last line `include usercfg.txt` 2021-07-02 22:57:52 In fact: https://paste.debian.net/plain/1203193 2021-07-02 22:59:03 Hello72: yeah and the guy who wrote jitterentropy-rng also wrote libjitterentropy and jitterentropy-rngd (userspace daemon). I used to maintain jitterentropy-rngd until I enabled the jitter support in rng-tools. I noticed that (at least then) his jitterentropy-rngd did *not* depend on libjitterentropy but rather he'd pasted basically the same library code into the jitterentropy-rngd source :-( 2021-07-02 23:00:21 AppAraat: yes config.txt includes usercfg.txt but my point was that I *think* the cpu setting MUST be in config.txt or else it is not acted upon (somnething to do with the bootloader can only set it early in boot before it loads any included files) 2021-07-02 23:00:30 s/cpu/gpu/g 2021-07-02 23:00:30 minimal meant to say: AppAraat: yes config.txt includes usercfg.txt but my point was that I *think* the gpu setting MUST be in config.txt or else it is not acted upon (somnething to do with the bootloader can only set it early in boot before it loads any included files) 2021-07-02 23:03:26 hmm ok, well in any case I'll hopefully find out soon enough once I finally boot this thing. 2021-07-02 23:03:52 it shouldn't really matter all too much considering the RAM usage of Alpine :p 2021-07-02 23:04:49 I wonder why that guide also mentions downloading `sysfsutils` 2021-07-02 23:05:11 it's definitely not a dependency of `rng-tools` 2021-07-02 23:11:05 AppAraat: from memory I think it was a dependancy but the rng-tools author rewrote the bit of code (4 or 5 months ago?) to remove the need for sysfsutils 2021-07-02 23:11:38 oh cool, in that case I'll remove that from that article. 2021-07-02 23:12:10 omg... I'm downloading all kinds of stuff like wpa_supplicant and its deps but apparently there's already lot of stuff in the Pi armhf image: https://paste.debian.net/plain/1203194 2021-07-02 23:12:29 AppAraat: yeah 6.12 removed that: https://github.com/nhorman/rng-tools/releases/tag/v6.12 2021-07-02 23:18:14 minimal: IMO rng-tools should also get added to the Pi armhf image. 2021-07-02 23:18:32 it just makes much more sense 2021-07-02 23:20:16 true. Don't have any armhf devices here so haven't looked at it. Smallest RPI I have is an RPI2 :-) 2021-07-02 23:21:35 oh you should check out the Pi ZW then, it's so deliciously tiny! And super power efficient too. I can power one with my 20 Ah powerbank for like a week or so. 2021-07-02 23:23:32 I'm more into RPIs with POE as network servers 2021-07-02 23:24:31 yeah IIRC for that you'd need to add a PoE adapter to it, increasing the cost. 2021-07-02 23:24:59 (like... considerably even, almost double the amount of a Pi ZW) 2021-07-02 23:25:08 plus an RTC 2021-07-02 23:25:21 RTC = real time clock? 2021-07-02 23:25:24 yupe 2021-07-02 23:25:55 oh I never really thought about the purpose of it, why are you using it? 2021-07-02 23:28:48 I use RPIs as homebuild "blades" - each mounted vertically on a board and connected to a POE switch to run network services such as DHCP, DNS, Radius, Docker, etc 2021-07-02 23:34:18 oh cool, like a Pi cluster? 2021-07-02 23:34:35 and you sync clocks among them using an RTC/ 2021-07-02 23:34:38 ? 2021-07-02 23:36:32 the RTCs are to keep accurate time (even if you sync swclock with NTP when you reboot the PIs clock goes back to 1970 during boot until it regains NTP sync) 2021-07-02 23:37:27 I actually use some RPIs as my NTP servers for the local network (have a RPI with GPS hat for getting time) 2021-07-02 23:37:58 some of the RPIs are in a cluster but some of them are just standalone servers 2021-07-02 23:40:14 ah yeah I've noticed that clock reset on the pi 2021-07-02 23:40:29 so that's what an RTC can be used for! 2021-07-02 23:41:09 you can get RTCs for RPI for about $5/£5 2021-07-02 23:42:48 yea but for the purposes of my usage I don't think I'll be needing one any time soon :p 2021-07-02 23:43:27 also... first boot, yay! https://paste.debian.net/1203198/ 2021-07-02 23:43:37 I must say, alpine is booting incredibly fast, like wow. 2021-07-02 23:43:49 (I mean, compared to Raspbian) 2021-07-02 23:53:07 interesting, I think I can hear some noise from the Pi ZW during disk activity. Maybe it's capacitor whine or something. 2021-07-02 23:55:16 disk activity? or SDcard activity? 2021-07-02 23:56:18 yeah I meant SD 2021-07-02 23:57:13 notice the "clock skew detected" message in your boot output? That's because of the absence of an RTC 2021-07-02 23:58:21 nice, it hasn't even booted up and it's already skewing lol 2021-07-03 00:00:45 yeah its due to an OpenRC "fudge" - immediately at power on the clock defaults to 1970. When OpenRC runs it checks if the time if older than the timestamp of one of its files (that it "touch"s on shutdown) and if so gives that skew message. 2021-07-03 00:01:32 aah, that's pretty smart. 2021-07-03 00:01:48 i.e. it spots if time has gone backwards 2021-07-03 00:02:38 yeah but I guess in this case timestamps were preserved in the FS somehow because it couldn't touch anything on shutdown since it was the first boot. 2021-07-03 00:03:06 which would mean that timestamps get preserved in FAT32 2021-07-03 00:03:24 then (from memory) it sets the system time to the date/time of that file......which is sort of fine if you just rebooted as the clock will be only 1 or 2 mins slow - but if you shutdown the RPI 1 week ago and turn it on now then the time will be 1 week wrong..............until you run NTP client to update the clock 2021-07-03 00:04:28 AppAraat: its the date/time of the relevant file, i.e. when you do an "ls -l" anywhere you see the last changed date/time of files, it uses one of its own files at shutdown to "tag" that date/time 2021-07-03 00:05:51 yeah but in this case how could touch a file upon shutdown if it hasn't been shutdown before? 2021-07-03 00:06:03 *could it touch a file 2021-07-03 00:06:44 right, but that file already has a date/time from when the Alpine image was built 2021-07-03 00:07:49 yeah that's what I meant, and as such I today learned that FAT32 apparently preserves this date/time for files. 2021-07-03 00:47:05 what's the easiest way to add x-bash-completion for each x in /etc/apk/world if x-bash-completion exists? 2021-07-03 01:41:09 apk add bash-completion 2021-07-03 04:48:14 I booted up my laptop today and after entering grub I get: "mount: mounting /dev/mapper/vg0-root on /sysroot failed: I/O error." And then I get launched into an initramfs emergency shell. My laptop was booting fine yesterday. Anyone have any advice for how to proceed? 2021-07-03 06:32:36 minimal: hmm, despite starting rngd, entropy is still 10x smaller it seems: https://paste.debian.net/1203213/ 2021-07-03 06:36:17 And at some point the setup-alpine actually stops rngd: https://paste.debian.net/1203214/ 2021-07-03 07:13:55 If there's not sufficient entropy, does the process of generating cryptography simply take longer, or is it also inherently less secure when finally generated? 2021-07-03 08:28:18 I'm getting some kind of weird circular conflict with util-linux-misc: https://paste.debian.net/1203217/ anyone know how to fix this? 2021-07-03 11:52:00 hi I've been trying to install alpine on a raspberry pi and I've run into some issues. I was wondering if the current headless guide is working. My issues occur when the setup-alpine runs and tries to install to the disk 2021-07-03 12:02:49 We do not support install to disk 2021-07-03 12:02:53 On rpi 2021-07-03 12:07:07 https://wiki.alpinelinux.org/wiki/Raspberry_Pi_-_Headless_Installation 2021-07-03 12:07:12 does that work? 2021-07-03 12:07:19 using sys mode? 2021-07-03 12:07:28 People have managed to get disk setup to work 2021-07-03 12:07:46 how would you recommend running a rpi? on a different os? 2021-07-03 12:12:18 Aftershock: what is the exact issue you are running into? 2021-07-03 12:12:39 I'm just retrying now 2021-07-03 12:13:05 it says ERROR tempory issue please try again later 2021-07-03 12:13:11 or something similar 2021-07-03 12:13:16 That's a network / dns issue 2021-07-03 12:13:23 when it install the file system to disk 2021-07-03 12:13:36 I'm manually selecting mirrors this time 2021-07-03 12:13:50 I can install things with apk add like normal 2021-07-03 12:39:28 can I mkfs.ext4? or do I need to install an apk for that file system type 2021-07-03 12:39:41 apk add e2fsprogs 2021-07-03 12:39:54 yo thanks 2021-07-03 12:41:14 note that the boot partition needs to be fat 2021-07-03 12:48:43 do you have an example of cmdline.txt 2021-07-03 12:49:00 under /media/mmcblk0p1/ 2021-07-03 12:50:59 modules=loop,squashfs,sd-mod,usb-storage quiet console=tty1 2021-07-03 12:53:03 root=mmcblk0p2 2021-07-03 12:53:04 ? 2021-07-03 12:53:36 should I put a space after tty1 before that 2021-07-03 12:55:57 Yes 2021-07-03 12:56:08 also it should be root=/dev/mmcblk0p2 2021-07-03 12:56:18 holy 2021-07-03 12:56:25 that was it 2021-07-03 12:56:25 ok 2021-07-03 12:56:35 Are you doing a sys mode install? 2021-07-03 12:56:43 yeah 2021-07-03 12:56:52 following this 2021-07-03 12:56:53 https://wiki.alpinelinux.org/wiki/Classic_install_or_sys_mode_on_Raspberry_Pi 2021-07-03 12:57:02 first time messing with alpine 2021-07-03 12:57:06 It's kinda broken 2021-07-03 12:57:08 mostly an archie boi 2021-07-03 12:57:18 You need to format in fat32 iirc otherwise it won't boot 2021-07-03 12:57:27 mine seems to boot 2021-07-03 12:57:37 huh 2021-07-03 12:57:37 after fixing that cmdline.txt 2021-07-03 12:57:45 I have a vfat boot 2021-07-03 12:58:02 hmm actually though p2 is boot 2021-07-03 12:58:20 so think its going straight off ext4 2021-07-03 12:59:14 how would I tell if my system is currently booting off the ext4 sys partition 2021-07-03 12:59:24 or if it is in diskless mode? 2021-07-03 12:59:37 lsblk? 2021-07-03 13:00:00 It should show if the sys partition is mounted to / 2021-07-03 13:01:30 mmcblk0p2 179:2 0 29.3G 0 part / 2021-07-03 13:01:38 that's it right? 2021-07-03 13:02:00 Yep 2021-07-03 13:02:09 alright 2021-07-03 13:02:14 feeling good 2021-07-03 13:02:15 ahahah 2021-07-03 13:02:26 thanks for the help appreciate it 2021-07-03 13:03:13 Does Wi-Fi work after sys install? 2021-07-03 13:03:22 I'm using eth 2021-07-03 13:03:25 :( 2021-07-03 13:03:29 but I believe it should 2021-07-03 13:04:11 At least, does `ifconfig wlan0` work? 2021-07-03 13:04:51 sick it has doas 2021-07-03 13:05:04 error fetching interface information: Device not found 2021-07-03 13:05:06 :/ 2021-07-03 13:05:16 I had the same :( 2021-07-03 13:05:28 but I think I need to enable wifi in usercfg.txt 2021-07-03 13:05:31 let me check 2021-07-03 13:08:51 so I can clone this ssd so I don't need to set this up again on like 12 other rpis? 2021-07-03 13:11:08 Aftershock: should be possible, yes 2021-07-03 13:14:53 There doesn't seem to be an option to enable wifi 2021-07-03 13:15:43 I think you need to install some broadcom drivers 2021-07-03 13:15:58 Maybe the alpinelinux.org/downloads image is somehow different from the one you get with setup-disk? 2021-07-03 13:17:45 https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/scripts/mkimg.arm.sh 2021-07-03 13:20:31 yeah I got lost a bit 2021-07-03 13:20:54 I was hoping to be able to set up a rpi as a hotspot/wifi extender 2021-07-03 13:21:02 maybe can't with alpine 2021-07-03 13:21:31 do you think alpine is a good choice for servers? 2021-07-03 13:21:34 should be able to 2021-07-03 13:21:55 I run many servers and previously ran them all on fedora 2021-07-03 13:22:11 but looking to switch 2021-07-03 13:22:33 Don't you need 2 wifi adapters for an extender? 2021-07-03 13:22:38 tossing between alpine/rocky/void/arch 2021-07-03 13:22:54 ikke: I don't know 2021-07-03 13:23:25 I haven't tried it yet, my brother was tring to set one up 2021-07-03 13:23:40 he normally uses his laptop as an extender 2021-07-03 13:23:46 why arch? arch on a server is ... risky 2021-07-03 13:23:53 they are a bit too bleeding edge 2021-07-03 13:23:54 like using ethernet plug 2021-07-03 13:24:01 I've been running arch on a server for years 2021-07-03 13:24:27 i did as well... until their "upgrade" policy screwed everything 2021-07-03 13:24:34 yeah I mean as much as there is errors that you can get usually they only need a bit of manual fixing 2021-07-03 13:24:49 but yeah I kind like rocky as it is very solid 2021-07-03 13:24:56 centos 2021-07-03 13:25:42 only problem is rpm is probably not as good as deb/pacman 2021-07-03 13:26:04 im waiting to see what Ansys and co do w.r.t. centos vs rocky. but whatever the direction for the host system, the 10+ containers for webapps will be alpine :) 2021-07-03 13:26:28 I was thinking of using a alpine kvm host 2021-07-03 13:26:35 is that a dumb idea? 2021-07-03 13:26:43 I don't think so 2021-07-03 13:37:04 Looks like setup-disk is missing some files in / like bcm2837-rpi-3-b.dtb 2021-07-03 13:37:21 Probably that's why wifi didn't work 2021-07-03 13:39:55 hmm yeah ok 2021-07-03 13:57:14 kevint: yes the util-linux-misc issue was a side-effect of my MR to create the util-linux-misc subpackage. I did raise another MR, !22651, a week ago to fix this but it ha not been merged yet. 2021-07-03 13:58:07 welllllllll searx doesn't like alpine 2021-07-03 13:58:12 damn 2021-07-03 14:00:40 Aftershock: yes Alpine makes a great server OS. I have a script that I'm working on for building Alpine server images so that you just "dd" the created image onto disk or SDcard. RPI support in not tested yet. Its at https://github.com/dermotbradley/create-alpine-disk-image 2021-07-03 14:01:08 nice 2021-07-03 14:01:37 have you run it as a kvm host for multiple virtual machines? 2021-07-03 14:04:14 Aftershock: I've been focusing more on containers but have a partly-finished OS config for running Nomad which can manage both containers and VMs 2021-07-03 14:07:52 AppAraat: with your low entropy did you check which sources rngd was using? "rngd -l" should show you which are enabled. Also BTW cat-ting /proc/sys/kernel/random/entropy_avail too often can itself reduce entropy a little as whenever any binary is run (such as "cat") the ASLR (address randomisation) security feature uses a small amount of entropy 2021-07-03 14:11:57 Hello :) 2021-07-03 14:13:52 I am currently figuring out how to build a custom image that includes eg. the ZFS kernel module so that I can install alpine's root on ZFS. I know the Extended ISO exists, but I am using this as an opportunity to learn how to build a custom image while I am at it and have my own selection of pre-installed APKs. 2021-07-03 14:14:39 bananicorn: look at the scripts dir in aports 2021-07-03 14:14:46 it contains the scripts that builds the images 2021-07-03 14:14:50 I have written my own mkimg.zfs.sh file already 2021-07-03 14:14:56 ok 2021-07-03 14:15:12 I am struggling with configuring it correctly though, I seem to be unable to load the ZFS kernel module 2021-07-03 14:15:44 Perhaps I am forgetting something, since the mkimage.sh guide and the extended alpine iso contains a bunch of other stuff too 2021-07-03 14:16:03 When running "modprobe zfs" I get "module zfs not found in modules.dep" 2021-07-03 14:16:07 can you show what you have so far? 2021-07-03 14:16:16 I'll show you a paste of my mkimg.zfs.sh 2021-07-03 14:17:32 https://bin.disroot.org/?5895919613def196#2vXnqqFTGRQKBV4cxnmQNaWVuJpVLDuAKYJzESB1HN3m 2021-07-03 14:17:38 Thanks for taking the time ikke :) 2021-07-03 14:19:07 I did "apk add zfs e2fsprogs" on the booted system, do I need to add e2fsprogs to the mkimg profile too? Not sure if that is the issue 2021-07-03 14:21:47 bananicorn: you need to install zfs-lts as well 2021-07-03 14:21:52 zfs is just userspace 2021-07-03 14:21:57 zfs-lts contains the kernel modules 2021-07-03 14:22:10 You mean I need to do that on the booted system? 2021-07-03 14:22:40 bananicorn: You mean booted from the image? 2021-07-03 14:22:52 Yeah 2021-07-03 14:23:14 Or where do I need to add zfs-lts? 2021-07-03 14:23:39 Oh, I see mkimage.base.sh already takes care of that 2021-07-03 14:24:00 If I do "apk add zfs-lts" on the booted image, I just get a whole lot of "file not found" errors and some others too 2021-07-03 14:24:13 and a lot of "failed to rename x to x" 2021-07-03 14:24:32 and some errors relating to /lib/modules being read-only 2021-07-03 14:24:45 yeah, that makes sense, modloop is read-only 2021-07-03 14:27:37 I am not sure what is missing either way, it would be great if you have any other ideas. I have tried to use the "extended" profile and the mkimage.sh wiki page as references (since they also contain zfs) but as I mentioned, I am quite confused about what is needed and what is unrelated 2021-07-03 14:28:44 it appears that the zfs module is missing from the modloop, but I'm not entirely sure why 2021-07-03 14:31:41 ikke: While building the image, I can see this: 2021-07-03 14:31:47 >>> mkimage-x86_64: Building zfs 2021-07-03 14:32:00 >>> mkimage-x86_64: --> kernel x86_64 lts ffc2d40827ebb1aebf924c1eb54a58e8d5434f0f linux-lts l 2021-07-03 14:32:00 inux-firmware wireless-regdb xtables-addons-lts zfs-lts 2021-07-03 14:32:00 Warning: extra firmware " " not found! 2021-07-03 14:32:26 Not sure what the extra firmware warning is about, but it clearly seems to be including zfs-lts :/ 2021-07-03 14:46:57 My issue may be caused by an outdated build machine, don't look into it too much before I tried again after an update :) 2021-07-03 14:53:49 ikke: It was indeed an issue of my build machine, it was still running 3.13... 2021-07-03 14:55:05 I noticed that it was building the kernel with zfs-lts before downloading it from the mirror that I specified, so I thought that it might be using the wrong version, which would explain why it does not show up for the current kernel of v3.14 2021-07-03 14:55:51 After installing zfs-lts locally and upgrading to 3.14, I built it again, gave it another shot and voila, "modprobe zfs" works just fine on the resulting image. 2021-07-03 14:56:02 Thanks for your support anyway ikke! :) 2021-07-03 14:57:25 NP, glad you found it 2021-07-03 16:53:17 hello I got some problem installing alpine on my pi zero w with sys mode 2021-07-03 16:53:52 What's the problem? 2021-07-03 16:54:09 linux-firmware-brcm package have symlink from cypress folder but linux-rpi didnt depend on linux-firmware-cypress 2021-07-03 16:54:35 i am using v3.14 2021-07-03 16:55:06 oh this is fixed on edge 2021-07-03 16:55:27 sorry for bothering 2021-07-03 16:58:37 will this get fixed on v3.14? 2021-07-03 17:01:33 I don't think Alpine will patch already released version 2021-07-03 17:03:13 mmh thank you 2021-07-03 17:09:49 yyp: yes it will, if security issues or bugs are found 2021-07-03 17:09:57 Just no major package upgrades or new packages 2021-07-03 17:10:09 Makes sense 2021-07-03 18:40:21 minimal thanks for linking that issue! 2021-07-03 18:41:51 kevint: seems like ikke merged it after he saw my posting on here so it should be rolled out the the mirrors by now 2021-07-03 18:42:05 :) 2021-07-03 18:42:10 Great, thank you 2021-07-03 18:43:09 sorry for the issue in the first place, unfortunately no matter how much you test stuff locally some problem can always sneak in 2021-07-03 18:47:43 no kidding. I test things twice and I always still manage to have problems get by 2021-07-03 18:51:42 c705: maybe we need a new repo called "extremely-edgy" that stuff goes into first ;-) 2021-07-03 23:25:37 I'm doing some custom things using the mkimage script: I gather this is the same way the official releases are built? 2021-07-03 23:26:02 are the build logs public at all? I'd like to see if my output matches up as I'm having some issues 2021-07-03 23:26:29 I know the rest of aports has public build logs, but I can't find the mkimage logs 2021-07-04 09:35:35 did something change with 4.14? I no longer get wlan0 on my pi 4 after updating 2021-07-04 09:35:56 dmesg complains about brcmfmac not able to find the brcmfmac43455-sdio.bin 2021-07-04 09:36:06 to my surprise I see that it's a symbolic link to cypress? 2021-07-04 09:36:10 lrwxrwxrwx 1 root root 31 Jul 4 2021 /lib/firmware/brcm/brcmfmac43455-sdio.bin -> ../cypress/cyfmac43455-sdio.bin 2021-07-04 09:38:16 and indeed it works by installing linux-firmware-cypress now 2021-07-04 18:15:48 Hi. I want to install alpine on my laptop. Which version has ext4 filesystem support? 2021-07-04 18:16:05 every version 2021-07-04 18:16:24 i believe ext4 is the default 2021-07-04 18:16:47 I tried standard and extended and couldn't mount my partitions. /proc/filesystems doesn't list ext4 2021-07-04 18:17:40 modprobe ext4 2021-07-04 18:17:47 or mount -t ext4 .. 2021-07-04 18:18:07 ok, i'll try it 2021-07-04 19:04:24 i've mounted my efi partition to /mnt/boot but setup-disk is installing grub like its mbr 2021-07-04 19:04:43 how do i make it onstall to efi directory? 2021-07-04 19:04:54 did you boot with UEFI? 2021-07-04 19:05:26 yes, my laptop only supports uefi 2021-07-04 19:05:56 gera: I use `apk add efibootmgr grub-efi; BOOTLOADER=grub; USE_EFI=1; setup-disk -m sys ` 2021-07-04 19:09:08 nickersonm: still installing as mbr\= 2021-07-04 19:12:08 how did you determine you are using efi 2021-07-04 19:12:16 and what do you mean "like its mbr" 2021-07-04 19:13:08 gera: 3.14? and you can check EFI functionality via `efibootmgr` which will list the EFI boot entries 2021-07-04 19:13:34 mount | grep efi 2021-07-04 19:15:17 nickersonm: https://files.catbox.moe/0m3fwc.jpg 2021-07-04 19:15:34 maybe i should chroot and do grub-install? 2021-07-04 19:17:08 gera: oh yes, I forgot that portion 2021-07-04 19:17:09 chroot $MNT grub-install --target=x86_64-efi --efi-directory=/boot 2021-07-04 19:17:09 chroot $MNT grub-mkconfig -o /boot/grub/grub.cfg 2021-07-04 19:17:09 for n in proc sys dev etc/resolv.conf; do mount --rbind /$n $MNT/$n; done 2021-07-04 19:17:09 chroot $MNT apk del syslinux 2021-07-04 19:18:03 maybe --bootloader-id=alpine also 2021-07-04 19:21:41 should the correct mount point for rfi be /boot/efi instead of /boot ? i dont think grub and kernels should be on efi part 2021-07-04 19:21:48 efi* 2021-07-04 19:22:58 gera: this is what I've recently used. I just modified it for ext4, so there could be mistakes with the root FS or mounting root, but it's otherwise been successful: https://rentry.co/gcnww 2021-07-04 19:26:08 gera: Grub doesn't need the kernel/initramfs in the same directory as its EFI config, so mounting the ESP partition on /boot/efi makes sense. 2021-07-04 19:26:42 whereas with Syslinux UEFI support the kernel/initramfs need to be in the same directory as Syslinux files so there I had to mount the ESP partition as /boot 2021-07-04 19:29:45 i installed grub and it boots 2021-07-04 19:29:59 ty nicketsonm for your script 2021-07-04 19:30:12 i used /boot/efi as mountpoint 2021-07-05 02:23:18 Hi guys so I have a problem with my rpi4. Basically a long time I go I set it up as a traditional sys-based installation(I don't think that's relevant but I'll leave it just in case). Today I upgraded the distro to 3.14.0, however now the kernel can't find the wlan broadcom firmware blob on my device 2021-07-05 02:24:32 Ah wait 2021-07-05 02:24:43 ``` 2021-07-05 02:24:45 ∅ /run/media/me/d1839b0f-103a-4651-afc9-b6e13f5d0bf8/lib/firmware/brcm 2021-07-05 02:24:45 ❯ file brcmfmac43455-sdio.bin 2021-07-05 02:24:45 brcmfmac43455-sdio.bin: broken symbolic link to ../cypress/cyfmac43455-sdio.bin 2021-07-05 02:28:32 linux-firmware-cypress not installed? 2021-07-05 02:28:41 Someone mentioned that earlier. 2021-07-05 02:28:44 Yes after installing `linux-firmware-cypress` it works now :) 2021-07-05 02:28:53 sweet 2021-07-05 12:11:21 maybe we should backport that 2021-07-05 13:28:35 I'm updating a CI pipeline from alpine 3.12 to alpine 3.14 and, for some reason I cannot figure out, ruby-related things are acting broken when the 3.14 image is run on my CI host. has anyone seen ruby acting like $PATH is messed up? 2021-07-05 13:29:45 I call ghi which crashes saying `No such file or directory - git (Errno::ENOENT)` (ghi execs git internally); I installed ruby-irb and it crashes on start with `No such file to load -- irb/error.rb (LoadError)` so I can't even debug what ruby is doing that easily :) 2021-07-05 13:30:06 Check the 3.14 release notes 2021-07-05 13:30:20 Especially the wiki part 2021-07-05 13:31:16 I'm looking at https://wiki.alpinelinux.org/wiki/Release_Notes_for_Alpine_3.14.0 - are you referring to the faccessat2 part? 2021-07-05 13:32:02 Or am I just on the totally wrong page haha 2021-07-05 13:33:04 No, that indeed 2021-07-05 13:33:25 Not sure if that is the issue, but a likely culprit 2021-07-05 13:33:46 Well it would explain why I can't repo on my laptop with the same exact image 2021-07-05 13:34:07 Ok, so alpine 3.14 just can't be used properly on CI providers that don't offer docker 20, such as circleci 2021-07-05 13:36:41 I'm going to verify my side with 3.13 for now but it's a bit annoying because 95% of my pipeline is working fine, there's just a legacy ruby step at the very end that isn't happy :) 2021-07-05 13:37:32 So this may be a newb thing, but here goes. I have used Alpine Linux with XFCE for my main desktop computer for years now. I recently decided I wanted to switch to DWM. So I downloaded the source for DWM and Dmenu and St. Compiled and installed them. Then I went through the wiki about DWM and installed all the deps that it said were necessary. But now, when I startx, I get an 2021-07-05 13:37:34 error and it won't start. I get `/dev/dri/card0: permission denied` and this is on an ASUS EeePC 1005HAB 32-Bit... I only join the channel because my search-fu skills have come to an end and I'm not sure what is causing this... it is probably something simple that I'm overlooking. Any ideas? 2021-07-05 13:43:42 herag: is your user in the video group 2021-07-05 13:44:15 ... omg... I'm an idiot... hold on... let me check. If this is it... feel free to ban me forever. 2021-07-05 13:50:31 trylletre: Okay, so now the log output says `xf86EnableIOPorts: failed to set IOPL for I/O {Operation Not Permitted` as the first EE 2021-07-05 13:51:17 perhaps also the input group if you didnt have that either, but i dont know about that error specifically 2021-07-05 13:51:40 you also need udev/mdev, at least per the 3.14 changelog as X doesnt have root anymore 2021-07-05 13:53:36 I did add input to my user groups. Oh, okay. I will tinker with both of those ideas. I need to setup my permissions again anyway. I was just trying to get DWM setup before I did that, but I guess I shouldn't cut corners. I'll check back when I have my groups all sorted and udev/mdev, if I don't already have those. I'm a former Slackware user, so I'm very accustomed to all these 2021-07-05 13:53:38 things happening automagically for me. :D 2021-07-05 14:12:27 trylletre: okay... it worked. Adding input worked... I think. I added a bunch groups actually, but input was one of them. I don't know why I always forget about Linux permissions. Thank you so very much! 2021-07-05 14:12:48 happy to help :) 2021-07-05 19:34:19 Hi all :-) 2021-07-05 19:34:36 Is there something wrong on gitlab ? 2021-07-05 19:34:53 I'm trying to create a MR having only 1 commit 2021-07-05 19:35:11 But it seems to include many more from master 2021-07-05 19:35:27 kmmndr: link? 2021-07-05 19:36:20 ikke: https://gitlab.alpinelinux.org/kmmndr/aports/-/commits/ruby-build 2021-07-05 19:38:08 https://gitlab.alpinelinux.org/kmmndr/aports/-/merge_requests/new?utf8=%E2%9C%93&merge_request%5Bsource_project_id%5D=544&merge_request%5Bsource_branch%5D=ruby-build&merge_request%5Btarget_project_id%5D=1&merge_request%5Btarget_branch%5D=master 2021-07-05 19:39:18 kmmndr: You need to create the merge request against the right project 2021-07-05 19:39:19 Arff ... I'm a silly boy, thanks for you help 2021-07-05 19:39:33 No problem, when I followed your link, and create an MR, I got the same 2021-07-05 19:40:06 If you go to branches, and there create an MR, it seems to create it against your local master, which is behind 2021-07-05 19:40:32 instead, you need to make it against alpine/aports 2021-07-05 19:40:37 That's it, and I haven't seen it at first glance 2021-07-05 19:43:01 Is there a quick tip to build many package at once ? 2021-07-05 19:43:55 For example, when a package require multiple dependencies from testing, built and added in the same MR 2021-07-05 19:45:11 something like git diff | grep APKBUILD | sort by commit 2021-07-05 19:46:50 https://gitlab.alpinelinux.org/alpine/infra/docker/alpine-gitlab-ci/-/blob/master/overlay/usr/local/bin/build.sh#L115 2021-07-05 19:49:31 Great, thanks again ikke ! :-) 2021-07-06 10:52:44 hello, I'm trying to run rspamd but it segfaults every time I start it, what could be the problem? 2021-07-06 10:53:11 anything useful when you run it manually? 2021-07-06 10:53:20 nope, just "Segmentation fault" 2021-07-06 10:53:43 running it with su rspamd -s /bin/sh -c 'rspamd --no-fork' 2021-07-06 10:54:10 from whence was it installed? 2021-07-06 10:54:44 just apk add rspamd 2021-07-06 10:54:48 i'm on alpine 3.14 2021-07-06 10:55:58 raspberry pi version if it matters 2021-07-06 10:56:43 dalz: did you upgrade recently? 2021-07-06 10:58:00 it's a very recent install, and i ran apk update and upgrade when installing 2021-07-06 10:58:23 did you run upgrade -a? 2021-07-06 10:58:25 update-conf 2021-07-06 10:58:52 clandmeter: trying it now 2021-07-06 10:59:04 OK: 786 MiB in 315 packages 2021-07-06 10:59:13 lopid: no output 2021-07-06 10:59:30 apk -U upgrade -a 2021-07-06 10:59:35 thats what i normally use 2021-07-06 10:59:42 fwiw mine won't start because the cpu doesn't suppose ssse3 instructions 2021-07-06 10:59:46 support 2021-07-06 11:00:06 clandmeter: still nothing 2021-07-06 11:00:32 which arch are you running? 2021-07-06 11:01:04 aarch64 2021-07-06 11:02:15 oh well 2021-07-06 11:02:17 https://github.com/rspamd/rspamd/issues/3563 2021-07-06 11:04:05 can you examine the coredump on musl? 2021-07-06 11:06:23 if by "examine" you mean "follow some instructions" sure, otherwise i think it's out of my reach :) 2021-07-06 11:06:32 how do i get the core dump? 2021-07-06 11:06:33 uname -c unlimited 2021-07-06 11:06:36 then run it again 2021-07-06 11:07:05 uname: unrecognized option: c 2021-07-06 11:07:15 sorry, ulimit, not uname 2021-07-06 11:07:33 :p 2021-07-06 11:07:42 still segfaults 2021-07-06 11:07:50 yes 2021-07-06 11:07:51 yes, but now there should be a coredump file 2021-07-06 11:07:55 but you will have a core 2021-07-06 11:08:09 in your working directory by default 2021-07-06 11:08:32 ok i see it 2021-07-06 11:18:37 looks like it segfaults on v3.14 but not on edge 2021-07-06 11:21:57 let me try 2021-07-06 11:22:56 strace says it wants to open /var/lib/rspamd//b24672aa66af71b15f4d08d7edeaa5a31068f47e6937c1f791c9c77a17c0042c.hsmp but its does not exist and then sigsegv 2021-07-06 11:34:40 upgraded to edge and now it doesn't boot anymore :D 2021-07-06 11:36:55 nevermind i turned it off and on again and it works now 2021-07-06 11:37:00 rspamd runs fine 2021-07-06 11:37:06 thanks everyone 2021-07-06 11:44:22 dalz: glad you fixed it, but we do not advise running on edge. 2021-07-06 11:44:49 if you want you can create an issue on gitlab.a.o and somebody could have a look at it later when they have time. 2021-07-06 11:50:02 clandmeter: i was using arch linux before i think i'll be fine ;) 2021-07-06 11:50:11 but sure i'll file an issue 2021-07-07 00:24:45 hello! I was wondering how should ruby dependencies be handled on alpine? should we follow similar to how python handle dependencies? 2021-07-07 02:03:09 Has anyone had trouble building python wheels in alpine? I feel like I'm doing something wrong. I've tried to install py3-lxml but pip still complains that lxml is missing and if I try to build lxml it fails. 2021-07-07 02:03:37 same for apks like cython 2021-07-07 02:03:44 pip can't seem to see them 2021-07-07 02:54:25 Aftershock: ten bucks says you're mixing release and edge 2021-07-07 02:54:34 eletrotupi: #alpine-devel 2021-07-07 14:01:32 Hello 2021-07-07 14:02:01 I'm tryiing to find what is an apk database , where can I find it or how can I create it 2021-07-07 14:04:08 /lib/apk/db 2021-07-07 14:14:05 I like this a lot 2021-07-07 14:17:11 ACTION blushes 2021-07-07 14:17:50 well, I missed something, this folder doesn't exist and from the content search on the alpine website can not find any of the files in this folder. 2021-07-07 14:18:57 apk-tools doesn't contain anything like a /lib/apk/db, I don't know where to look 2021-07-07 14:20:50 how is this /lib/apk/db created 2021-07-07 14:30:20 Am I the only one with a 502 bad gateway for git.alpinelinux.org ? 2021-07-07 14:32:18 No our monitoring system indicates it as well 2021-07-07 14:44:35 yann-kaelig▸ 'lib-apk-db' appears in /lib/libapk.so.3.12.0 so I would venture a guess that apk itself creates those files as it does its operations. 2021-07-07 14:45:22 Unless you create a chroot from scratch, you should already have it 2021-07-07 14:47:23 hey ncopa -- a few years ago you gave a presentation on the history of alpine linux. Do you have slides for that anywhere? 2021-07-07 14:47:56 or anything similar-- I'd like to do a similar presentation at my current company for some of the junior tech folks 2021-07-07 14:48:25 it's not a chroot from scratch but I have built abuild and apk-tools-static on another distro. I tried to build apk-tools but it failed with ERROR: Failed to open apk database: No such file or directory. Obviously there is something I do not understand with this apk database 2021-07-07 14:49:03 Huh, just when building apk-tools? 2021-07-07 14:50:22 programmerq: which presentation? the one at dockercon? 2021-07-07 14:51:01 ncopa▸ I seem to recall something being presented internally. You just went over the basic history and how apk is tiny and fast and awesome and why libmusl was chosen. 2021-07-07 14:51:28 if there's another set of slides with that same vibe, I'll be happy. 2021-07-07 14:52:32 ikke: That was my fault, I have enabled the check part and that why apk-tools failed. Thx 2021-07-07 14:53:12 (internally when we were both at docker-- sometime within the first year that you were there, if I recall correctly) 2021-07-07 14:54:30 right. i think i remember. I doubt i still have the slides but I will have a look 2021-07-07 14:55:06 it's not a big deal-- don't go out of your way. It's a pretty informal presentation I'm wanting to do. 2021-07-07 14:55:34 if you do share anything I would super appreciate it. :) 2021-07-07 14:56:26 yann-kaelig: FYI, apk has an option to initialize a new DB 2021-07-07 14:56:39 programmerq: im a bit impressed that you still remember it. My memory is that everyone was sleeping except for one or two who was giving attention to be polite :D 2021-07-07 14:56:55 I was joined over zoom 2021-07-07 14:57:24 but that was honestly when I started really paying attention to alpine and dug into apk 2021-07-07 14:57:29 and now apk is my favorite 2021-07-07 14:57:35 :) 2021-07-07 15:07:36 All right. Time to migrate to Alpine Linux for my main Linux laptop. 2021-07-07 15:12:00 Slence: best wishes! 2021-07-07 15:13:34 ncopa: Thanks. Can't be worse than installing OpenBSD ;) 2021-07-07 15:14:10 But, the minimalism is appealing to me, and since I tinker a lot with postmarketOS/sxmo, I might as well get the base linux daily driven as well. 2021-07-07 15:25:12 Hi all. I am trying to install qemu on 3.14 but it cannot find the packages. Is there something special that needs to be done? 2021-07-07 15:26:30 "apk update && apk add qemu" works on a fresh 3.14 for me. 2021-07-07 15:27:32 I get a no such package. 2021-07-07 15:28:07 right now I am running the standard image, but I did try the virt as well. 2021-07-07 15:28:37 and apk search qemu shows only vde2 and xen 2021-07-07 15:29:45 is it in the community repo? 2021-07-07 15:30:01 Yes, you need to make sure you have the community repository enabled 2021-07-07 15:31:16 there you go... I am not thinking :) Community is still remarked out 2021-07-07 15:31:18 thank you! 2021-07-07 15:46:11 Hello, I need some assistance, I'm trying to write a script that will run when the system is powering off but not rebooting. I've setup /etc/local.d and now I need how to determine if this is a poweroff or reboot. Runlevels are the same for both so I need something else. Thanks. 2021-07-07 15:52:19 darkelvenangel: isn't it better to use a service in the shutdown runlevel? 2021-07-07 15:54:12 ikke: possibly, however when I was testing reboot seem to also use the shutdown runlevel 2021-07-07 15:54:28 Yeah, not sure if you can differentiate between that 2021-07-07 15:56:29 maybe there's something in /sys or /proc that you can examine 2021-07-07 15:58:07 Ah, thank you. Do you know if Alpine uses runlevel numbers like Gentoo does? 2021-07-07 15:58:30 Ah, everything seems to work fine. Just some issues getting dwm to run with startx in .profile. 2021-07-07 15:58:59 I followed the guide at https://wiki.alpinelinux.org/wiki/Dwm. Assuming I did something wrong, but not sure what. Perhaps just some X error with resolution or whatnot. 2021-07-07 15:59:11 they both use openrc, so… maybe 2021-07-07 15:59:50 afaik we only use named runlevels 2021-07-07 16:01:07 "Fatal server error. no screens found". 2021-07-07 16:01:14 Yeah, probably some X-related stuff. 2021-07-07 16:01:18 I've try logging the named runlevels so if that's the case it's not going work. 2021-07-07 16:02:25 The guide says to use sudo, but I assume it should not matter that I use doas instead. 2021-07-07 16:02:44 no, that should not matter 2021-07-07 16:02:54 Right, so do I need to do some X configuration to get it working? 2021-07-07 16:03:00 X does not seem to recognize my screen. 2021-07-07 16:03:11 Maybe some missing graphics drivers? 2021-07-07 16:03:51 do you have the correct graphics drivers installed?" 2021-07-07 16:03:57 check the xorg log 2021-07-07 16:04:39 It is trying to load modules fbdev (does not exist) and vesa (module does not exist) and it gets permission denied on /dev/dri/card0. 2021-07-07 16:04:51 Ah, are you member of video? 2021-07-07 16:05:18 No, I have followed https://wiki.alpinelinux.org/wiki/Dwm 1:1. 2021-07-07 16:05:31 Nothing beyond that, so I need to add my user to 'video' group. Gotcha! 2021-07-07 16:06:18 and relog in 2021-07-07 16:07:10 There we go. That did it. Thanks for the help! 2021-07-07 16:07:18 May I suggest adding that part to the dwm guide? 2021-07-07 16:07:27 Or maybe I just missed it in the adduser section. 2021-07-07 16:07:37 so how is the openRC replacement coming? Alpine might want the alternative sooner than later after gentoo just canned opentmpfiles 2021-07-07 16:07:51 Naib: Waiting for funding 2021-07-07 16:08:01 the update said tehre is funding 2021-07-07 16:08:54 but since opentmpfiles is an openrc project and they just sat on a CVE for years... they pulled the plug and the alterantive is systemd-tmpfiles but that uses alot of systemd code and it might not work with musl 2021-07-07 16:10:14 Ah. Touchpad does not work. On to fixing that then. :) 2021-07-07 16:10:21 Naib: source? 2021-07-07 16:10:32 Slence: input group :) 2021-07-07 16:10:37 https://bugs.gentoo.org/751415 2021-07-07 16:10:44 and make sure you have input drivers 2021-07-07 16:11:04 ikke: Oh, I see. Thanks! 2021-07-07 16:11:06 https://gitweb.gentoo.org/repo/gentoo.git/log/sys-apps/opentmpfiles?showmsg=1 2021-07-07 16:11:19 all versions got hard-masked on gentoo 2021-07-07 16:12:04 Naib: in any case, the first focus of the new service manager is to handle services 2021-07-07 16:12:46 ikke: idd, it was always neferious why packages needed to start supporting systemd tmpfile but it snuck in ... 2021-07-07 16:13:19 skarnet differentiates between service handling and policy handling 2021-07-07 16:14:05 good :) gentoo contorted them with the direction of openrc 2021-07-07 16:14:26 rather then ensuring things were done completly, simply and well 2021-07-07 16:15:11 https://skarnet.com/projects/service-manager.html#plan 2021-07-07 16:21:13 Ok. Up and running now with dwm. Thanks! 2021-07-07 16:22:07 The font seems to assume I am 19 years old with 20/20 vision, so increasing that by like 500x is the next task on the todo. :) 2021-07-07 16:22:44 more that it assumes you're using a 640x480 CRT 2021-07-07 16:23:06 :D 2021-07-07 16:23:35 I am very very happy with how minimal this install is and how it assumes nothing regarding packages I may or may not want. 2021-07-07 16:24:02 One thing that has kept me away from Linux Distributions for a long time is systemd and bloat in most dists. 2021-07-07 16:24:18 This solves both of my issues. 2021-07-07 16:24:19 Slence: you called? ;-) 2021-07-07 16:24:22 Thanks for creating this! 2021-07-07 16:25:17 minimal: Hah! Trust me, I know what it feels like to have a nick that often gets hilighted. For a long time, my away.log was full of "SILENCE, I KEEL YOU". Now it's mostly people talking about the ircd command /SILENCE. 2021-07-07 16:25:32 I may need glasses but I can't see anything from the apk man page or even with apk --help about how to initialise a new database 2021-07-07 16:38:12 I am very happy with this install. 2021-07-07 16:48:49 What's the recommended way for installing different locales for st? 2021-07-07 16:49:00 Need SE keyboard input, as defined during setup-alpine. 2021-07-07 16:49:21 Or, not just for st but as the default keyboard input 2021-07-07 16:50:48 musl-locales? 2021-07-07 16:53:24 Ah, setup-keymap. 2021-07-07 16:53:42 At this point I would happily welcome a "RTFM!". 2021-07-07 16:53:46 I deserve it. 2021-07-07 16:57:58 Hmm. Is it not supposed to work after setup-keymap and defining the layout I want? 2021-07-07 16:58:18 loadkmap file looks fine. 2021-07-07 17:02:32 yann-kaelig: somehow that option is missing from the help 2021-07-07 17:02:47 apk add --initdb --allow-untrusted 2021-07-07 17:09:17 thx a lot ikke, you saved my day 2021-07-07 17:09:43 st does not seem to respect loadkmap file at all, despite restarting. 2021-07-07 17:09:50 Nor does other programs. 2021-07-07 17:09:56 so, it's working, I can build and install apk package on my non alpine distro, that nice and very interesting 2021-07-07 17:10:11 Am I missing something here? 2021-07-07 17:11:34 https://techoverflow.net/2021/05/17/how-to-change-keyboard-layout-in-alpine-linux/ 2021-07-07 17:11:54 That one tells me it should work automagically and be persistent across reboots, but it doesnt work with or without reboot. 2021-07-07 17:11:58 It worked fine during setup-alpine. 2021-07-07 17:12:02 But that did not persist. 2021-07-07 17:17:30 which one of consolekit2 and elogind is used by default on Alpine ? 2021-07-07 17:17:36 setup-keymap only controls console keymap 2021-07-07 17:17:42 x keymap is separate 2021-07-07 17:17:55 for confusing and mostly dumb historical reasons 2021-07-07 17:18:00 yann-kaelig: none 2021-07-07 17:18:05 :) 2021-07-07 17:18:20 but consolekit and consolekit2 are obsolete 2021-07-07 17:19:29 Hello71: Ah, so, how do I fix X keymap then? Just export LANG etc_ 2021-07-07 17:19:31 etc? 2021-07-07 17:19:46 no, that's for output 2021-07-07 17:19:57 consolekit2 is obsolete yes, but it actually started being maintained again funnily enough 2021-07-07 17:20:03 huh 2021-07-07 17:20:06 yann-kaelig: Alpine uses neither "by default" 2021-07-07 17:20:26 does rootless x actually work? i think that's the only thing people actually care about 2021-07-07 17:20:35 PureTryOut: didn't I say that already 2021-07-07 17:22:38 I guess you did 🤷‍♂️ 2021-07-07 17:24:42 Sorry, I was not clear enough. Taking a look at plasma, there is no dependency with elogind or consolekit2. Maybe it's somewhere else, or the user has the choice ? 2021-07-07 17:25:43 you might not need either? you can run X with just mdev/udev and the right permissions in rootless without elogind/ck 2021-07-07 17:25:46 Hello71: Most of the guides I find online suggest setup-keymap should solve this for me, but I take it thats not the case? 2021-07-07 17:26:17 To be clear, what Im after is SE keyboard layout. 2021-07-07 17:26:22 Slence: for xorg use setxkbmap inside the x session 2021-07-07 17:26:35 Thanks! Will try that. 2021-07-07 17:31:12 Ah, great. That worked. 2021-07-07 17:36:55 you might also want to specify -model pc104 or 105 depending on your keyboard 2021-07-07 17:37:06 most se keyboards are 105, im unsure on what default gets picked 2021-07-07 17:37:43 yann-kaelig: plasma depends on polkit-kde-agent, which depends on polkit-qt which depends on polkit-elogind 2021-07-07 17:37:52 And well that last one pulls in elogind 2021-07-07 17:39:10 trylletre: The default worked fine for me. Thanks anyway. :) 2021-07-07 17:39:19 Just running setxkbmap on login now. 2021-07-07 17:39:33 And dwmstats, because that's also nice to have. 2021-07-07 17:39:45 So, all good now. Working perfectly. 2021-07-07 18:22:45 Does ifupdown-ng support bridge definitions, or do I need to use the 'bridge' package? I see 'bridge' just installs openrc scripts to call `brctl`. 2021-07-07 18:41:57 I changed the path of the REPODEST in abuild.conf and I removed the old path but now when I initialise a db I get a WARNING: Ignoring /home/yann-kaelig/repo/v3.14/main/apkbuild: No such file or directory . How can I remove this warning, I cheakced in /var/cache/apk but there is nothing 2021-07-07 18:42:35 checked* 2021-07-07 18:43:38 Where is this path still recorded ? 2021-07-07 19:13:04 well, I lost to much time with apkbuild, it's a shame but to much thing s are done in the shadow. not the package builder I'm looking for. :( 2021-07-07 19:13:18 thx 2021-07-07 20:45:44 Alpine is doing wonders to my battery life. 2021-07-07 20:46:20 Or perhaps it's dwm. 2021-07-07 20:53:04 Hello. Quick question, what is upgrade story for firefox? Does it stay on major version at the time of alpine version release or are the upgrade done in all supported versions (of alpine)? 2021-07-07 20:58:11 firefox is in community, which is supported at the moment at most until the next release 2021-07-07 20:58:14 is there a start-stop-daemon flag that reads envvars from a file to put them into the environment of the running service? 2021-07-07 20:58:35 or at least one to passthrough stuff in the current environment to it 2021-07-07 20:59:06 i'm in a bit of a "god is dead" kind of situation where I need that behavior and I don't see a flag for it in the manpage 2021-07-07 21:01:46 i don't know about start-stop-daemon, but can you source an env file? 2021-07-07 21:02:21 that's what i do currently 2021-07-07 21:02:27 oh 2021-07-07 21:02:29 it seems to shed that 2021-07-07 21:03:00 here's the openrc script in question: https://github.com/tailscale/tailscale/blob/main/cmd/tailscaled/tailscaled.openrc 2021-07-07 21:03:31 you'll have to export them 2021-07-07 21:03:48 as in `export source`? 2021-07-07 21:04:00 no, export each var that is sourced 2021-07-07 21:04:30 but there is potentially an uncountable number of things in that file being sourced 2021-07-07 21:04:38 ACTION nods 2021-07-07 21:04:54 basically i want the behavior that systemd's [Service].EnvironmentFile has 2021-07-07 21:06:32 you could mark each var for export in the sourced file itself 2021-07-07 21:06:36 does openrc-run support $() expansions? 2021-07-07 21:07:02 ikke: Ok but are newer versions backport to the current stable (at the moment 3.14)? Because for example for postgresql afaik they are not, so for firefox it should be the same? But I'm not sure it is, therefore I am asking. 2021-07-07 21:08:15 if it's posix it should 2021-07-07 21:08:16 set -a before and set +a after seemed to do what i want 2021-07-07 21:08:29 graywolf: they can be backported, but it's the responsibility of the maintainer to do that 2021-07-07 21:09:24 ah, right 2021-07-07 21:09:41 Xe: right, that's how I would solve it 2021-07-07 21:10:10 Does that mean that to have "safe" (for some definition of safe) firefox version I should go for -esr, since that should be supported at the same version mostly by firefox upstream? (I realize that maintainer still needs to release new version of the package and all of that) 2021-07-07 22:15:08 Does anyone have an opinion on using libvirt vs. using lxd + qemu directly? Primarily Alpine containers, perhaps some alpine-on-rpi or Debian-on-x64 VMs. 2021-07-07 22:18:46 I run LXD containers directly on a bare metal instance of Alpine Linux 2021-07-07 22:23:15 Hello! 2021-07-07 22:23:39 I'm new to alpine linux, am setting up a machine following this webpage. 2021-07-07 22:23:41 https://wiki.alpinelinux.org/wiki/LVM_on_LUKS 2021-07-07 22:23:46 onelegend: using `lxc` to manage, or something else? 2021-07-07 22:24:02 Using the gpt method. 2021-07-07 22:24:38 The problem I'm running into is that when I follow the steps exactly, the resulting grub config seems to missing modules that i'm used to seeing in FDE setups 2021-07-07 22:24:49 and sure enough, when I try and boot, I get a 2021-07-07 22:25:09 error:disk 'lvmid/' not found. 2021-07-07 22:26:05 Following the steps again just leads to the same non-booting setup for me, and I'm not sure how to manually fix the grub config (if that even is the problem here.) 2021-07-07 22:27:01 Hey guys.. I have some strange problem.. when I am running Nextcloud on my Odroid-C2 with docker images (using arm64v8/alpine) I am getting Segmentation fault when I try to run php index.php in docker... but when I gzip it, untar it on x86 machine and run it with x86 images everything is working well.. 2021-07-07 22:27:12 can it be that my Odroid is corrupted? 2021-07-07 22:27:22 or it's some bug in alpine or php? 2021-07-07 22:46:12 Who on earth wrote this stuff: http://harmful.cat-v.org/society/sweden 2021-07-07 22:46:16 And who hurt that person. 2021-07-07 22:46:22 Why is it linked from suckless? 2021-07-07 22:46:25 So many questions. 2021-07-07 22:47:16 wow, someone posted some dumbass shit on the internet?! unbelievable!! 2021-07-07 22:47:25 better get AP in here 2021-07-07 22:48:41 Well, it's linked from suckless so it seems someone supports the view there. But, I will ask in #suckless. 2021-07-07 22:53:00 wow people have opinions?! and they link to thinks on their webpage?!?! 2021-07-07 22:55:58 you can ask in #cat-v 2021-07-07 22:56:07 at your own risk 2021-07-07 22:57:53 I think I will pass. I am now fairly sure that whoever is behind cat-v is doing some serious meth. 2021-07-07 22:58:19 I have never seen a collection of more clueless teenage rage before. 2021-07-07 22:58:36 did you look at the harmful.cat-v.org landing page? 2021-07-07 22:59:27 c705: This is not opinions. This is poorly informed rage disguised as fact. 2021-07-07 22:59:32 invoked: yes. 2021-07-07 22:59:47 It claims to be "not politically correct". It would have been enough with "not correct". 2021-07-07 23:00:14 right. so, opinions being what they are, you also have yours. 2021-07-07 23:00:34 Slence: same difference 2021-07-07 23:00:46 invoked: These are not opinions. 2021-07-07 23:00:58 invoked: An opinion is "i think oranges are tasty". 2021-07-07 23:01:03 i guess you didn't read the landing page then. 2021-07-07 23:01:07 I did. 2021-07-07 23:01:21 you obviously didn't. 2021-07-07 23:01:25 yes, yes they are. staged as fact, nonetheless, but unless you take everyting someone says at face value (i don't recommend) then it is an opinion 2021-07-07 23:01:46 invoked: What part do you feel I missed? 2021-07-07 23:01:52 "this is my humble contribution to attempt to collect all the things that bother me", for starters 2021-07-07 23:01:57 yes 2021-07-07 23:01:59 anyways, what's your point. what do you want us to do about it? 2021-07-07 23:01:59 I read that. 2021-07-07 23:02:00 "This is my humble contribution to attempt to collect all the things that bother me, the goal is not to offend anyone but entertain and try to dispel widespread silly ideas that infest our minds and perhaps in while doing that make the world a bit more reasonable and pleasant place to live in. 2021-07-07 23:02:05 " 2021-07-07 23:02:27 Well, #suckless is a better place to ask, but they also forward to #cat-v. I do not understand why this crap is linked from suckless. 2021-07-07 23:02:34 you really should share your opinions in #cat-v 2021-07-07 23:02:35 and how does alpine-linux relate to this? 2021-07-07 23:02:44 shouldn't this discussion be in #alpine-offtopic ? 2021-07-07 23:02:53 c705: It does not. #suckless is the place for this. Now im just replying to you. 2021-07-07 23:02:58 So I guess we should all change channel. :) 2021-07-07 23:03:03 good idea 2021-07-07 23:05:14 and also my problem is doing this - https://pastebin.com/TqypRdmA 2021-07-07 23:05:47 for me it looks like some issue with memory module, but on another hand everything else is working well there.. 2021-07-07 23:36:37 dowNz: Also, I -just- discovered the offtopic channel. My apologies. 2021-07-07 23:36:54 Slence: no worries :-) 2021-07-07 23:55:41 mkey.. downgraded to alpine:3.11 and working well.. 2021-07-07 23:58:13 3.12 working as well 2021-07-08 00:00:26 3.13 as well.. strange.. 2021-07-08 00:02:29 and 3.14 = Segmentation fault 2021-07-08 02:09:46 I think I found what was tripping up my insta 2021-07-08 02:10:03 grub-install --target=x86_64-efi --efi-directory=/boot/efi 2021-07-08 02:10:06 produces 2021-07-08 02:10:14 sh: /etc/default/grub: line 5: cryptkey: not found 2021-07-08 02:10:14 Installing for x86_64-efi platform. 2021-07-08 02:10:14 Installation finished. No error reported. 2021-07-08 02:10:56 but my GRUB_CMDLINE_LINUX_DEFAULT looks like cryptroot=UUID= cryptdm=lvmcrypt cryptkey 2021-07-08 02:22:03 Ok, now grub works successfully 2021-07-08 02:22:25 but when I boot, screen freezes on Loading initial ramdisk 2021-07-08 02:33:05 sshd is enabled to start at boot 2021-07-08 02:33:22 but no route to host, so I think it is a true freeze and not a display freeze 2021-07-08 02:33:59 my mkinitfs.conf is 2021-07-08 02:34:19 ata base ide scsi usb virtio ext4 lvm cryptsetup cryptkey 2021-07-08 02:34:41 and I am booting a laptop, from a sata connected ssd 2021-07-08 02:35:02 is there anything I am missing that is crashing at the ramdisk? 2021-07-08 02:54:11 adding kms and keymap to initrd features worked 2021-07-08 02:54:16 I wish I knew why 2021-07-08 02:56:52 hey everyone - i'm getting the dreaded "Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.13/main: temporary error (try again later)" error while trying to build one of our repositories. Odd thing is that it's only affecting one of our repositories, others are working fine on the same build server. Before anyone asks, it's a 64-bit build not 32-bit so it's not subject to the libseccomp bug in alpine 3.13. :) I'm 2021-07-08 02:56:52 at a loss for debugging this one. curling the server works fine, curling our own package mirror works fine too. Using the package mirror causes the same error as the regular alpine package host. 2021-07-08 02:57:47 Forgot to mention, the error occurs when trying to `apk update` or really do anything with `apk`, like `apk add`. Thanks! 2021-07-08 02:58:27 Fun fact though... while reading through the source for apk fetch, I found the easter egg for `apk fetch coffee` and `apk fetch coffee --force` :D 2021-07-08 03:30:31 Ugh... solved. `docker build --network host -t ...` :facepalm: 2021-07-08 03:45:22 hpooray 2021-07-08 13:34:10 ok today I learned: apk del * works as expected and is not a good idea 2021-07-08 13:35:17 Right... 2021-07-08 14:54:30 :D 2021-07-08 14:55:52 reminds me of that time where i did apk del * on stage (with /etc/apk/world backed up and a copy of a static busybox) to show how to do a restore using /etc/apk/world 2021-07-08 14:56:13 how would i discover which package provides EXTERN.h? i know the answer is perl-dev, only because i have a vm that happens to have that already installed. https://pkgs.alpinelinux.org/packages?name=*EXTERN.h&branch=v3.14&arch=x86_64 shows no results 2021-07-08 14:56:17 except that xfce4-terminal didnt like that at all 2021-07-08 14:56:49 apk info --who-owns /path/to/EXTERN.h 2021-07-08 14:57:00 that works if the package is installed 2021-07-08 14:57:19 yup. if its not installed you'll have to search pkgs.alpinelinux.org 2021-07-08 14:57:38 what query would i use? the ones i tried showed no results 2021-07-08 14:58:14 click on "contents" at the top 2021-07-08 14:58:17 https://pkgs.alpinelinux.org/contents?file=EXTERN.h&path=&name=&branch=edge 2021-07-08 14:58:54 ah! thank you 2021-07-09 02:18:53 i manually installed a program with its man page under /usr/local/share/man 2021-07-09 11:59:03 ok 2021-07-09 14:18:34 and, i was wondering, how would i get that to show up in when i type man ? 2021-07-09 14:19:11 now i get "man: No entry for castget in the manual." 2021-07-09 14:25:42 the man(1p) man page doesn't describe where it looks for pages or how to make it look in a particular place 2021-07-09 14:25:49 so i'm not sure where else to look for documentation 2021-07-09 14:27:13 bleb: I can't see any file called 'castget' included in any alpine package, where is it from? 2021-07-09 14:27:27 generally, you want -doc 2021-07-09 14:29:26 sorry, there i posted some background info much earlier 2021-07-09 14:29:32 i manually installed a program with its man page under /usr/local/share/man 2021-07-09 14:29:54 now i'm trying to get it to show up in the manual 2021-07-09 14:30:31 looks like there is a man man page in section 1, though it defaults to the posix page from section 1p 2021-07-09 15:47:08 you probably want MANDATORY_MANPATH in /etc/man_db.conf or somesuch to contain /usr/local/share/man ? 2021-07-09 15:47:27 bleb: ^ 2021-07-09 18:05:16 Anyone here use lxd on Alpine? I assume you use the package on edge/testing? 2021-07-09 18:09:27 that's the only pre-built package avaliable 2021-07-09 18:13:17 Yeah, wondering if people actually using it prefer that or compile their own. The package seems good, except some possibly unnecessary dependencies that I'll check (iproute2 for one, I have ifupdown-ng already). 2021-07-09 18:15:24 they are complementary 2021-07-09 18:16:19 ikke: oops, thanks for pointing that out. Got iproute2 confused with ifupdown2. 2021-07-09 19:45:19 Hey, quick question, is there any sensible alternative to "systemctl is-system-running --wait" with openrc? 2021-07-09 19:49:59 what does that do? 2021-07-09 19:52:43 /bin/true 2021-07-09 19:52:44 Checks if all services have been launched sucessfully and blocks if still starting up. Closest thing I know is "! rc-status -c" but that doesn't wait for starting services 2021-07-09 19:53:13 imo is-system-running is not that well defined 2021-07-09 19:53:29 or more precisely it's an antipattern 2021-07-09 19:53:41 but why though? 2021-07-09 19:53:51 the only init with an existential crisis 2021-07-09 19:55:25 you can wait for starting services by making your own service and depending on something you need cant you 2021-07-09 19:55:38 i cant think of why you would specifically need something like 'all the services are started' 2021-07-09 19:57:11 to verify that a host has booted up again sucessfully after a reboot 2021-07-09 20:02:52 i think you can use a `after *` in the depend() of a service 2021-07-09 20:02:55 unsure how well that works 2021-07-09 20:03:23 and then let that service touch a file in /dev/shm and wait for that? could work, but not too pretty :/ 2021-07-09 20:04:20 since it runs last everything before it is started, so unless the priors crash you can make it do what you want to do normally 2021-07-09 20:04:36 im unsure on how is-system-running works in regards to things failing some time later after starting 2021-07-09 20:05:48 Depends. If the failure occurs before the system gets "ready" it fails right away, if the failure occurs after the system has been ready for some time, it will be unnoticed 2021-07-09 20:06:13 and the thing I want to do is resume a script executed from ssh 2021-07-09 20:08:43 if you want to check a service 2021-07-09 20:08:45 then check a service 2021-07-09 20:09:06 it's the same broken thinking as network-online 2021-07-09 20:17:33 the "after *" thing seems to work, thanks a lot trylletre. Still not ideal, maybe s6-init will provide something better when it comes 2021-07-09 20:19:37 glad you found something working at least :) 2021-07-09 20:22:33 in runit you'd just append something to /etc/runit/1, if i understand what veecue is trying to do 2021-07-10 02:37:22 you probably want MANDATORY_MANPATH in /etc/man_db.conf or somesuch to contain /usr/local/share/man ? 2021-07-10 02:37:33 trylletre: are you getting that from some documentation somewhere? 2021-07-10 02:37:53 dont see anything about MANDATORY_MANPATH in man.conf(5) or mandoc.db(5) 2021-07-10 02:37:58 man 5 manpath 2021-07-10 03:11:54 hmm dont have that, haven't installed man-db 2021-07-10 03:12:03 wonder what that's for... 2021-07-10 03:15:38 oh i do have man-db but its an older version, maybe the new version has manpath(5) 2021-07-10 03:16:08 maybe i just have weird things 2021-07-10 03:17:39 i dont have man.conf for instance, but that does mention the manpath 2021-07-10 03:18:06 to be honest- no idea how the man stack works myself :) 2021-07-10 03:20:29 i was trying to figure out what is the default man search path 2021-07-10 03:20:35 i dont have man.conf either 2021-07-10 03:21:32 man(1) makes multiple references to "standard directories" and a "standard search path" but never says what it is 2021-07-10 03:22:50 i tried putting MANDATORY_MANPATH /usr/local/share/man in /etc/man_db.conf and running makewhatis; still no man page for castget 2021-07-10 03:30:20 running mandb works for me 2021-07-10 03:31:01 if you echo $MANPATH do you see the path 2021-07-10 03:33:22 when you run a man command its using that path from the env, so if its not there it wont check the correct paths, but idk what sets it for your shell env system-wise 2021-07-10 03:48:18 jk i thought "installed size" meant the amount currently taken up by an installed package 2021-07-10 03:48:32 it's actually the size that _would_ be taken up if the package were installed 2021-07-10 03:48:37 so i never had man-db 2021-07-10 03:48:58 but after updating i for some reason have the man page manpath(5) 2021-07-10 03:51:27 ah, in my confusion i had installed man-db-doc manually 2021-07-10 03:51:50 still don't know the purpose of man-db, since man pages are working fine without it 2021-07-10 03:52:36 only its hard to identify where the system gets its default man search path, or what it is 2021-07-10 03:57:31 if you manually set it and it works i guess everything is fine 2021-07-10 04:04:01 hello everyone! nice to see you after the move to oftc 2021-07-10 04:05:48 trylletre: looks like man-db is one man system and mandoc is another; alpine has a package for each 2021-07-10 04:06:08 yep 2021-07-10 04:06:10 hi atka 2021-07-10 04:06:42 ohhh but the docs package requires mandoc? 2021-07-10 04:12:42 anyone install alpine on luks in the last couple months? I'm using my old notes that worked in the past but the last 2 attempts have failed to unlock after grub. anything changed? 2021-07-10 04:19:04 bleb: hello to you! 2021-07-10 08:30:03 atka do you get any specific error? 2021-07-10 08:30:30 I'm using alpine on luks fine right now, installed a few months ago 2021-07-10 08:31:36 I get to grub but after trying to boot linux-lts I get dumped into recovery console 2021-07-10 08:31:42 here's my notes I'm using 2021-07-10 08:31:43 https://p.teknik.io/PiLgZ 2021-07-10 08:41:07 Hmm maybe you need `GRUB_PRELOAD_MODULES="luks cryptodisk part_gpt` and `GRUB_ENABLE_CRYPTODISK=y` ? 2021-07-10 08:41:35 This is the guide I followed, it uses lvm though but that still might apply: https://wiki.alpinelinux.org/wiki/LVM_on_LUKS#Grub_with_UEFI 2021-07-10 08:42:04 thanks for the info 2021-07-10 08:42:24 I've never needed that before and been using alpine with luks for a few years 2021-07-10 08:42:38 but haven't done a fresh install for abit 2021-07-10 08:42:49 Ah okay I see 2021-07-10 08:43:45 well I guess I haven't done a fresh instal since 3.13.1 whenever that was 2021-07-10 08:43:58 I'll git that guide a try and see if it works, thanks again! 2021-07-10 08:44:06 s/git/give 2021-07-10 08:44:06 atka meant to say: I'll give that guide a try and see if it works, thanks again! 2021-07-10 08:44:23 heh, thats pretty cool 2021-07-10 08:48:49 No problem, hope it helps! 2021-07-10 12:34:04 I'm trying to use setup-interfaces to connect to my wireless network, but when the script scans for networks, it doesn't find mine. 2021-07-10 12:34:23 What kind of network is it? 2021-07-10 12:34:35 It's an open network. 2021-07-10 16:16:34 Oh, by the way, I forgot to mention: when setup-interfaces lists the networks, it renders "\x00" multiple times on two lines. One has more "\x00"-s than the other. 2021-07-10 16:17:07 I don't know why that is. Maybe it is detected some network with a non-Latin name? Seems unlikely. 2021-07-10 16:18:00 And it seems to be listing a printer... not a network... what? 2021-07-10 16:18:24 Nevermind, there is no printer. 2021-07-10 16:21:05 atka: in your set of commands, shouldn't "cryptdm= " be "cryptdm=cryptroot"? 2021-07-10 16:23:42 atka: also kevint's suggestions are for full encryption (inc. /boot) whereas your notes are for encrypting only rootfs 2021-07-10 17:14:21 jaafarrc: i believe this is caused by poorly programmed hidden networks 2021-07-10 17:15:01 My network isn't hidden, though. 2021-07-10 17:15:09 what is your wireless card? and network config? n? a? ac? 2021-07-10 17:15:30 What do you mean "n" "a" "ac"? 2021-07-10 17:17:40 Hello71: ? 2021-07-10 18:49:57 Hey, I think I fixed my problem. I found alternative way to connect to the Wi-Fi, so, that's cool. 2021-07-10 19:45:03 minimal: "cryptdm= " can be any name you want, I made my notes generic in case someone else wanted to do something different. 2021-07-10 19:45:34 atka: yes but I was pointing out that no value was specified for cryptdm 2021-07-10 19:46:03 minimal: I did notice that kevint's suggestion included encrypted boot, and will probabably retry and set it up that way next try. 2021-07-10 19:46:32 atka: as I mentioned, his suggestion is for when you also want /boot encrypted 2021-07-10 19:47:00 I've been doing a lot of LUKS testing recently so if you have a particular issue I can likely help 2021-07-10 19:47:54 BTW there seems to be some issue with LUKS v2 (including /boot) encryption - I haven't gotten that working yet, seems like an GRUB 2.06 issue 2021-07-10 19:48:01 ok, thanks for the offer. I was just curious if something has changed since 3.13.1, as that had happened on an old void install, over the years the syntax had changed slightly 2021-07-10 19:48:21 oh, that's nice to know 2021-07-10 19:48:28 I think its likely a GRUB 2.06 change in behaviour 2021-07-10 19:49:07 I noticed a few luks 2 issues, for instance a system that only has 1 gb of ram cannot unlock my luks 2 disks but can unlock my v1 disks no problem 2021-07-10 19:49:34 notice anything like that? 2021-07-10 19:50:25 actually you might be hitting an issue I'm currently investigating - GRUB with encrypted root and unencrypted /boot (i.e. separate partition) where I think the grub.cfg created is not right - it need to look on the unencrypted /boot for kernel and initramfs but it seems to be looking at encrypted root partition 2021-07-10 19:51:49 atka: I've got scripting to create encrypted disk images: https://github.com/dermotbradley/create-alpine-disk-image 2021-07-10 19:53:41 have you tried specifying --boot-directory=/boot and --efi-directory=/boot/efi in grub? 2021-07-10 19:53:59 atka: might be related to Argon - with LUKS1 there's only PBKDF2 whereas for LUKS2 there is either PBKDF2, Argon2i and Argon2id. I think one of the Argons is the default for LUKS2 and those are *designed* to be memory intensive as part of their security 2021-07-10 19:54:26 you could try selecting PBKDF2 for LUKS2 and it should use less memory 2021-07-10 19:54:45 minimal: thanks, that makes sense, it did give me a memory related error 2021-07-10 19:55:38 from the cryptsetup manpage: "For Argon2i/id, there is also memory cost (memory required during the process of key derivation)" 2021-07-10 19:57:16 thanks, I'm sure that is what the issue was 2021-07-10 19:57:21 FWIW for my chromebook, I need to use `cryptsetup luksFormat --pbkdf-memory 131072 --type luks2 "${DEV1}${PART}2"` (not running Alpine, but using GRUB + LVM-on-LUKS) 2021-07-10 19:57:55 Without the pbkdf-memory reduction from default, it can't unlock anything. 2021-07-10 20:00:17 how much ram do you have? I haven't noticed it on systems with 4gb or more but my system with 1gb had issues 2021-07-10 20:00:20 nickersonm: haven't gotten that far with LUKS2 on Alpine - there's something fishy with GRUB 2.06 as in the grub.cfg that it creates the "insmod luks2" and "cryptomount -u" stuff is missing whereas its correctly put in grub.cfg when using LUKS1 2021-07-10 20:01:00 atka: iirc my chromebook only has 2GB 2021-07-10 20:01:47 nickersonm: nice to know, that could cause some issues for sure like use in a minimal vm etc 2021-07-10 20:03:05 atka: again from the manpage: "The parameters can be time, memory and parallel cost." Choose your weapon! :-) 2021-07-10 20:03:09 minimal: ah; I have not played around much with Alpine and LUKS, as I mostly just use Alpine on VMs (plus a new physically secured NAS I'm working on now) 2021-07-10 20:03:38 minimal: time it is! 2021-07-10 20:04:10 nickersonm: as mentioned above I've scripted the creation of Alpine disk images for VMs, Cloud, and physical machines and LUKS is one of the options for the disk images 2021-07-10 20:04:33 so I've been testing lots of scenarios recently... 2021-07-10 20:04:43 thanks for the info minimal , nickersonm , I have to run but will be around 2021-07-10 20:05:14 atka: have a look at the script I mentioned - you'll see the cryptsetup options I'm using 2021-07-10 20:05:26 minimal: k, will do 2021-07-10 20:08:00 minimal: yeah, I have your github repo starred to investigate once I start working on deploying Alpine VMs to replace my web infrastructure (currently 3 badly aging manually managed debian instances) 2021-07-10 20:10:31 nickersonm: what your intended VM host "mechanism"? I've only extensively tested QEMU (cli) and Virtualbox so far 2021-07-10 20:12:27 minimal: current development hypervisor is Hyper-V, soon to be replaced with LXD-on-Alpine (maybe QEMU as well if I need it); deployment will be to DigitalOcean or Vultr 2021-07-10 20:14:13 haven't looked at Hyper-V (I've no Windows boxes anymore), so its possible the kernel modules referenced in the script for Hyper-V might ned tweaked 2021-07-10 20:15:33 alpine-virt boots fine with no tweaks fwiw. I imagine I'll end up needing QEMU for fully packaging the VMs, though. 2021-07-10 20:17:03 nickersonm: I was referring to my script where I tweak the initramfs config for various situations to only contain relevant kernel modules (so a disk image for QEMU doesn't have any Hyper-V/Virtualbox/etc drivers in its initramfs) 2021-07-10 20:17:50 Oh, for initramfs, yeah. 2021-07-10 20:19:02 plus I do have config to disable the loading of some kernel modules as well again depending on the disk image type 2021-07-10 20:20:08 So I create a /etc/modprobe.d/disable-drivers-modules.conf file 2021-07-10 20:21:06 very true to your handle :) 2021-07-10 20:23:37 nickersonm: yes and no :-) Using cloud-init brings in python deps but for me its worth the increase in size for the flexibility that cloud-init provides. Plus it helps security, by some unmeasurable value, to prevent unrequired/unexpected kernel modules from loading 2021-07-10 20:27:37 nickersonm: you might be interested in the remote (i.e. SSH-based) LUKS unlocking I've been working on 2021-07-10 20:34:56 minimal: have you seen alpine-lift? Provides basic cloud-init functionality. I've not looked in to it in detail yet, but it's something I have bookmarked to consider for my future web infrastructure. 2021-07-10 20:36:49 nickersonm: looked at it (and all the other cloud-init alternatives) in the past. It (and the others) may be more lightweight that cloud-init but none of them have anywhere near the degree of functionality and breadth of DataSources as cloud-init 2021-07-10 20:38:01 Yeah, definitely much simpler 2021-07-10 20:38:08 if there was a Golang equivalent (with most/all functionality and DataSources) of cloud-init I'd be interested 2021-07-10 21:05:55 Hi. Just out of the box after installing alpine, the keyboard barely works (no shift key, actuall shift key is altgr). 2021-07-10 21:06:14 problem seems to be I'm missing the kbd-bkeymaps package 2021-07-10 21:07:00 did you answer setup-keymap correctly? 2021-07-10 21:07:17 Yes, but setup-keymap has erros in it. 2021-07-10 21:07:29 As in, there is a error message it could not cd 2021-07-10 21:07:59 indeed sounds like the installation went awry 2021-07-10 21:08:00 to //usr/share/bkeymaps (yes, //") 2021-07-10 21:20:23 I think there is a bug in the de-T3 keymap 2021-07-10 21:20:43 de-de works fine. de-T3 has broken shift keys. 2021-07-11 02:59:49 hello, anyone running btrfs on luks as their main filesystem? 2021-07-11 03:36:20 nm, got it to boot finally 2021-07-11 03:51:23 on another topic, anyone running any wayland tiling wm besides sway? I am kinda wanting to try wayland again but I'm more of a dwm fan than i3 fan. 2021-07-11 06:24:11 I use river 2021-07-11 06:29:44 do you find it to be pretty stable? 2021-07-11 06:34:37 Misthios: and no pango from the looks of it which is nice. 2021-07-11 07:06:24 Yeah havent had a problem yet, only problem i had was alpine not being able to build a newer version due to a newer zog version which requires a newer llvm version 2021-07-11 07:09:12 Misthios: ah, ok, thanks for the feedback. I just really want dwm for wayland but the current alternatives seem to have issues. I might give river a try though 2021-07-11 07:22:55 Hf 2021-07-11 10:27:54 atka: I use it bot with plain boot partition 2021-07-11 10:28:31 ah you fixed it great 2021-07-11 12:32:59 how can i tell what changed in alpine-baselayout 3.2.0-r15 -> 3.2.0-r16? 2021-07-11 12:33:22 having difficulty identifying it from https://git.alpinelinux.org/aports/log/main/alpine-baselayout 2021-07-11 12:49:12 lopid: git diff $(git log --oneline -2 -Gpkgrel=15 -- main/alpine-baselayout | tail -n 1 | cut -d\ -f1)..$(git log --oneline -2 -Gpkgrel=16 -- main/alpine-baselayout | tail -n 1 | cut -d\ -f1) -- main/alpine-baselayout/ 2021-07-11 12:49:36 I think that is correct? Also, there is probably more easy way, so someone will possibly enlighten us both 2021-07-11 12:50:10 without checking out the source code 2021-07-11 12:51:29 ah no idea then 2021-07-11 12:52:05 thanks anyway 2021-07-11 13:27:17 How do I check if a certain package is installed with apk? 2021-07-11 13:27:55 apk info -I package 2021-07-11 13:32:18 lopid: I just get a help page. 2021-07-11 13:32:49 list, ssorry 2021-07-11 13:35:00 Okay, thanks. 2021-07-11 16:30:07 Hey, I'm trying to use Sway, and it doesn't work at all. If start Sway, it prints two lines and completely freezes the tty; I can't go to any other tty nor can I Ctrl+C or Ctrl+D. 2021-07-11 16:44:09 Nevermind, I fixed the freezing but Sway still doesn't work. 2021-07-11 20:51:46 donoban: would you mind sharing your btrfs subvolume scheme? I'm tryning to come up with a decent flat layout. I'm aiming for having snapshots of / and /home, but was thinking of having a subvolume for docker containers and snapshots as well. Do you mount your top-level anywhere? 2021-07-12 10:26:27 atka: my scheme is very simple, I have @ROOT and @HOME, initially I wanted to use @ROOT based on 3.13 and @EDGE on edge but docker created his own subvolume in '/var/lib/docker' inside @ROOT, so if you want to have an indepently docker subvolume, create it and adjust your fstab before instaling and run docker stuff 2021-07-12 10:29:54 atka: I remember that I had some problem for enable compression, like fstab option being ignored 2021-07-12 13:59:41 in /etc/profile, HOSTNAME is set, but not marked for export 2021-07-12 16:27:11 https://termbin.com/0qz3 2021-07-12 16:27:28 This is the error I get when I try to run any Qt5 Flatpak. 2021-07-12 16:35:49 why wayland? 2021-07-12 16:36:18 Because I use it. 2021-07-12 16:42:33 lopid: I use Sway. 2021-07-12 16:43:32 By the way, I could just run the Qt5 apps with Xwayland, but that's a hacky workaround I don't like, and the apps I'? using do support Wayland natively. 2021-07-12 16:44:24 I'mz 2021-07-12 17:02:31 there's some QT env var you need to set, iirc, one minute 2021-07-12 17:02:58 QT_QPA_PLATFORM=wayland 2021-07-12 17:03:00 do you set that? 2021-07-12 17:03:49 with flatpak there is some way you have to pass it on the commandline when you run it 2021-07-12 17:04:09 i'm not in a position to dig that up, but it's something like --env=var=foo 2021-07-12 17:06:00 but tbh, if the flatpak is built properly you shouldn't have to do that 2021-07-12 17:20:24 invoked: Yes, I've set it already. 2021-07-12 17:21:16 Actually, if I *un*-set it, it would just render with Xwayland after failing to use Wayland directly. 2021-07-12 17:25:51 i thought you were trying to do pure wayland 2021-07-12 17:26:13 (or i had assumed you had xwayland disabled, bad assumption either way) 2021-07-12 17:26:31 Yes, I am doing pure Wayland. 2021-07-12 17:26:48 invoked: I'm just telling you what happens if I un-srt. 2021-07-12 17:26:54 unset it* 2021-07-12 17:26:54 gotcha 2021-07-12 17:27:55 --env=var=foo doesn't seem to do anything 2021-07-12 17:47:16 flatpak run --env=QT_QPA_PLATFORM=wayland 2021-07-12 17:47:30 i think that's how it works, but i'm not checking :) 2021-07-12 17:50:02 although, if the package isn't built with wayland support then it's not going to magically work 2021-07-12 17:57:37 That also didn't work. :( 2021-07-12 18:11:58 like i said, it's one thing if upstream says they support wayland. how it's packaged on flathub/et al is something else. 2021-07-12 18:12:35 i didn't look at your paste. flatpak (at the time you install something) will probably explicitly list if it supports wayland (along with X11 and what else) 2021-07-12 18:12:54 if it doesn't, it probably won't 2021-07-12 18:22:04 donoban: thanks a lot, that is very useful info! 2021-07-12 18:22:45 invoked: It lists that? How do I check? 2021-07-12 18:29:32 jaafarrc: it's at install time. flatpak will list out what permissions it needs for the package before you say Y. wayland will be listed if it's explicitly supporting it. 2021-07-12 18:29:53 Alright. 2021-07-12 18:30:00 it'll list other things like, "ipc" "network" so on 2021-07-12 19:14:53 donoban: fyi when it comes to mount options and subvolumes, only mount options on the first mounted subvolume on the btrfs filesystem will be honored. so if you had a subvolume without compression mount options get mounted first the others won't be mounted with the compression options. also the compression won't apply to current files only new ones after the fact. I dunno if thats what you were running into but just letting you kn 2021-07-12 19:48:33 invoked: Thank you so much. 2021-07-12 23:49:28 how do I get tput? 2021-07-12 23:58:47 jaafarrc: tput is part of ncurses 2021-07-12 23:59:00 Ok, thanks. 2021-07-13 13:42:16 apk add cmd:tput 2021-07-13 13:58:56 yeah, i should have put it that way. 2021-07-13 14:00:13 explicitly adding cmd: can cause issues when upgrading though 2021-07-13 14:00:21 ran into that a few times 2021-07-13 14:14:32 might want to add -i to that 2021-07-13 14:14:39 and/or -s 2021-07-13 14:57:55 hello 2021-07-13 14:58:12 is it possible that something recently broke with regards to checkpath / /run? 2021-07-13 14:58:21 Just upgraded knotd and I am getting this: 2021-07-13 14:58:33 * checkpath: /run/knot/: could not open knot: No such file or directory 2021-07-13 15:05:27 nvm, I was on an old version from 3.12 2021-07-13 18:55:47 Sorry for asking again, but does anyone have a clean solution to specificy `mount --make-shared /sys` and `mount --make-shared /run` to take place every boot? 2021-07-13 18:56:49 I guess there is no mount option for that that you can set in fstab? 2021-07-13 19:07:07 ikke: you guessed correctly 2021-07-13 19:08:19 Also /run and /sys are probably be mounted outside of the fstab approach 2021-07-13 19:09:23 there is a sysfs service 2021-07-13 19:10:11 and that has sysfs_opts 2021-07-13 19:10:23 hmm, seems hardcoded 2021-07-13 19:11:00 I think openrc itself handles /run 2021-07-13 19:42:07 Kinda fixed: https://code.ungleich.ch/ungleich-public/ungleich-k8s/-/tree/master/alpine-linux 2021-07-13 19:48:46 I'm having an odd issue resolving hostnames in a local (wireless) network, ping and other tools can't resolve the hostname, but tools like nslookup, dig, and host have no issue when I query the exact nameserver I specified in /etc/resolv.conf: https://download.anaproy.nl/resolveissue.txt 2021-07-13 19:49:00 Does anyone see what I'm missing? 2021-07-13 19:50:34 epson6fb191.home is resolved by the nameserver? 2021-07-13 19:50:56 looks like it 2021-07-13 19:51:51 ping and other tools use the libc DNS implementation, while nslookup, dig, host, and the rest of the BIND tools use an internal implementation. 2021-07-13 19:51:52 i have not had this problem, using dnsmasq 2021-07-13 19:52:29 hmmm, but the internal implementation should also simply rely on /etc/resolv.conf right? 2021-07-13 19:52:30 Another tool that uses the libc impl is `getent ahosts`. It may give you move details. 2021-07-13 19:52:46 ah, thanks for the tip, I didn't know that one 2021-07-13 19:54:03 the fact that NetworkManager set up the connection shouldn't be an issue right? 2021-07-13 19:54:22 I didn't see anything out of the ordinary in its configuration either 2021-07-13 19:57:57 I'm not sure, but I would be surprised if that caused a problem. 2021-07-13 19:58:29 musl libc DNS does have a few limitations, but I can't tell if those apply in your case. https://wiki.musl-libc.org/functional-differences-from-glibc.html#Name-Resolver/DNS 2021-07-13 19:58:34 the odd thing is also that everything else (external hostnames) resolves just fine, it's just the internal ones 2021-07-13 19:59:03 ah thanks, I'll read that 2021-07-13 20:01:30 the paragraph about 'domain' and 'search' could be relevant 2021-07-13 20:08:40 Yes...Alpine has had search support since 3.4, circa 2017. I'm not sure about the ndots part because I don't know where that is configured. 2021-07-13 20:09:54 in resolv.conf it seems 2021-07-13 20:10:37 well, I'll have to try solve it further tomorrow cause the remote system is down now... 2021-07-13 20:13:22 Ah, looking at the source code it seems the default ndots is 1 if it's not set. So that means that only domains with 0 dots get searched normally unless you add ndots configuration to your resolv.conf. 2021-07-13 20:14:12 Hopefully that gives you some things to try. Good luck tomorrow. 2021-07-13 20:14:22 that explains why i don't have a problem - using no dots 2021-07-13 20:15:33 I guess the domain "home" counts as 0 dots 2021-07-13 20:16:13 at least I have some things to try when the system is back up again 2021-07-13 20:33:26 does anyone here use alpine for desktop 2021-07-13 20:34:24 that was a short visit, and I wanted to say yes to irj22 2021-07-13 20:34:39 ^ same 2021-07-13 20:34:56 you can say it to me if you'd like 2021-07-13 20:35:01 I just installed it today, everything works good so far 2021-07-13 20:35:48 lopid: I am using Alpine on almost all desktops! 2021-07-13 20:35:56 cor! 2021-07-13 20:35:58 (even though technically they are notebooks...) 2021-07-13 20:36:11 why did you both choose alpine? 2021-07-13 20:36:53 lopid: because apk is great :) 2021-07-13 20:37:37 you chose it for the package manager? 2021-07-13 20:38:39 Not only because of the package manager of course, but that was the main feature for me 2021-07-13 20:38:49 The community is really good as well 2021-07-13 20:39:00 :) 2021-07-13 20:43:35 err, maybe not because of a package manager, but because of good packaging in general. I just want to make a package for everything I touch because it works so nicely unlike my previous Arch + AUR + duct tape setup :D 2021-07-13 20:45:06 one day i'll get around to that, too 2021-07-14 01:10:59 hm, gitlab.alpinelinux.org is getting gateway timeout to me, anyone else experiencing issues? 2021-07-14 01:32:34 same 2021-07-14 02:35:40 busybox ash has its own implementation of test 2021-07-14 02:35:50 is there any way to get documentation for this? 2021-07-14 02:38:53 ah so with coreutils installed, /usr/share/man/man1 contains both test.1.gz and test.1p.gz 2021-07-14 02:39:24 test.1.gz has the coreutils man page, i assume test.1p.gz has the posix man page, which busybox probably approximates 2021-07-14 02:39:58 but is there any way to access test.1p.gz through the man command? 2021-07-14 02:40:23 aman 1p test 2021-07-14 02:40:29 *man, not aman 2021-07-14 02:40:53 man: No entry for test in section 1p of the manual. 2021-07-14 02:40:58 man 1p test works for you? 2021-07-14 02:41:08 oh right the system I tried that on is gentoo 2021-07-14 02:41:39 do you know if it has mandoc or man-db 2021-07-14 02:41:54 probably man-db 2021-07-14 02:43:01 it looks like busybox test is documented in man busybox 2021-07-14 02:43:54 ... or not. The other commands are documented, but not test 2021-07-14 02:44:12 lol 2021-07-14 02:49:13 after switching to man-db, man 1p test works 2021-07-14 02:49:36 but ofc man-db is not supported by the docs package so its not worth it to switch 2021-07-14 02:55:50 did you try man /usr/share/man/man1/test.1p.gz 2021-07-14 02:56:08 another point of confusion: how does busybox decide when to use a builtin and when to check if $PATH leads to something else 2021-07-14 02:58:24 maybe some of the "applets" are actually shell builtins, and ash uses those without checking in $PATH 2021-07-14 07:14:45 test.1p.gz comes from the package man-pages from https://www.kernel.org/doc/man-pages/ and test.1.gz from the package coreutils-doc 2021-07-14 07:23:44 bleb: I don't think ash has test as a builtin, rather it will use what's in your path, which could be busybox test 2021-07-14 07:24:53 omni: i'm aware of the origin of the different man pages. problem is that mandoc can't access the 1p page if both are installed. 2021-07-14 07:24:54 from within ash, try 'apk info -W $(which test)' or 'apk info -W $(which \[)' and you'll know 2021-07-14 07:26:17 omni: this points me to coreutils test, which supports -l to get the length of a string, but the version that ash is actually using doesn't support it 2021-07-14 07:27:15 so it seems some busybox applets are shell builtins which prevent the use of an external program of the same name 2021-07-14 07:27:40 that's odd 2021-07-14 07:28:05 ${#var} is the proper way to get length of the string 2021-07-14 07:29:08 https://busybox.net/downloads/BusyBox.html doesn't say much more for test than "Check file types, compare values etc. Return a 0/1 exit code depending on logical value of EXPRESSION" 2021-07-14 07:30:52 yyp: right 2021-07-14 07:31:14 omni: i wonder if that page eventually filters down to the busybox man page 2021-07-14 07:31:57 current version doesn't document test 2021-07-14 07:32:46 busybox is underdocumented anyway 2021-07-14 07:33:12 and i think the builtin superseding a program in $PATH is pretty normal, at least it says so in test(1) 2021-07-14 07:33:35 mandoc being unable to find test(1p) seems like a real problem though 2021-07-14 07:34:32 I have a patched version of man-pages package, where mandoc is able to find {0,1,3}p pages 2021-07-14 07:34:51 oh cool 2021-07-14 07:34:56 what had to change 2021-07-14 07:35:31 (i assumed it was a mandoc problem because man-db was able to find them) 2021-07-14 07:37:07 I removed a part of prepare that moved man{0,1,3}p into man{0,1,3} (removing p) 2021-07-14 07:38:27 I installed the man-pages package and get the 1p pages, but I don't have coreutils-doc with competing section 1 pages installed 2021-07-14 07:39:36 so I get TEST(1P) when 'man test' or 'man 1 test' 2021-07-14 07:39:46 (just in case, my patched version is here: https://git.sr.ht/~yerinalexey/apkbuilds/tree/main/item/local/man-pages/APKBUILD) 2021-07-14 07:40:27 yyp: what happens if you install coreutils-doc? 2021-07-14 07:40:37 but 'man -s 1p test' and it says "man: No entry for test in section 1p of the manual." 2021-07-14 07:41:23 omni: yeah that's what i get, except with coreutils-doc i simply can't access test(1p) 2021-07-14 07:42:22 bleb: because you'll get the coreutils-doc test(1) instead, right? 2021-07-14 07:43:49 omni: right 2021-07-14 07:44:15 bleb: even if you have coreutils-doc, you can access test(1p) with `man 1p test` 2021-07-14 07:44:15 and with man-db instead of mandoc, man 1p test works 2021-07-14 07:45:45 yyp: nice 2021-07-14 07:48:18 yyp: is there any downside to your change to the man-pages package? 2021-07-14 07:48:26 have you tried getting it merged 2021-07-14 07:51:06 It may be broken with man-db; no, didn't try merging it upstream 2021-07-14 08:02:25 i might try it with man-db tomorrow to see 2021-07-14 08:03:16 yyp: your repo's readme speaks of "prolog man pages," I think you may have meant POSIX 2021-07-14 10:21:19 Anyone uses fish shell ona remote server? 2021-07-14 10:21:28 I can't seem to configure the shell 2021-07-14 10:26:02 when writing in fish_config I see this: https://imgur.com/a/QOqKmUX 2021-07-14 10:54:44 hello all, what is the "best" ARM download for raspi 2 model b? armv7? 2021-07-14 10:55:02 or just armhf? 2021-07-14 10:56:53 A 900MHz quad-core ARM Cortex-A7 CPU 2021-07-14 10:56:58 so armv7 should work 2021-07-14 10:58:09 ok thanks 2021-07-14 10:58:22 is there some advantage to armv7 over armhf? 2021-07-14 10:58:30 More packages 2021-07-14 10:58:44 armhf is loosing support upstream, so more packages are disabled 2021-07-14 10:59:49 And I guess architectural advantages as well 2021-07-14 11:01:40 armv7 it is then! 2021-07-14 11:13:55 thanks, time to test out Alpine 2021-07-14 17:01:34 Hello, what kernel version does 3.14.0 come with? 2021-07-14 17:04:17 Hiho: https://pkgs.alpinelinux.org/packages?name=linux-lts&branch=v3.14 2021-07-14 17:04:40 Thanks! 2021-07-14 17:28:22 how can I bring up networking without waiting for udhcpc at boot 2021-07-14 17:30:07 do you mean setup manual configuration? 2021-07-14 17:30:30 static ip/gateway/etc... 2021-07-14 17:30:57 No, when I boot I have to wait for udhcpc to discover, is there a way that that can be daemonized or something so it runs in the background instead and continues booting 2021-07-14 17:32:14 Change runlevel 2021-07-14 17:32:24 To what? 2021-07-14 17:32:38 Ehm default? 2021-07-14 17:32:50 Thanks! 2021-07-14 17:34:52 ijohnr: from memory udhcpc does run in background (eventually) after a few tries in the foreground. If you have static network config defined in /etc/network/interfaces then it udhcpc shouldn't be running 2021-07-14 17:36:33 he left :\ 2021-07-14 17:40:21 ijohnr: from memory udhcpc does run in background (eventually) after a few tries in the foreground. If you have static network config defined in /etc/network/interfaces then it udhcpc shouldn't be running 2021-07-14 17:40:44 Is there a way to have it immediately run in the background 2021-07-14 17:40:52 I am using dhcp 2021-07-14 17:41:24 ijohnr: and then what about all the other services that depend on "net"? 2021-07-14 17:41:57 I don't think I have any other services that depend on it 2021-07-14 17:43:01 and if I do I can disable them 2021-07-14 17:44:14 ijohnr: is it really a problem to wait for 1 or 2 secs for DHCP to complete (assuming you actually have a DHCP server) 2021-07-14 17:44:45 This is not a server, it is a desktop, so it becomes a problem when I have to wait that long everytime I boot 2021-07-14 17:46:56 is 1 or 2 seconds "long"? 2021-07-14 17:47:13 Long enough to be nuisance, especially on a laptop 2021-07-14 17:47:31 I don't see an option for udhcpc to do what you want, you could install one of the the DHCP clients that may provide a way 2021-07-14 17:47:47 s/the the/the other/ 2021-07-14 17:47:47 minimal meant to say: I don't see an option for udhcpc to do what you want, you could install one of the other DHCP clients that may provide a way 2021-07-14 17:49:17 ok, is there a way to use dhcpcd with /etc/network/interfaces 2021-07-14 17:49:33 yes, install it 2021-07-14 17:50:02 assuming you're using a recent Alpine release (with ifupdown-ng as it autodetects multiple DHCP clients) 2021-07-14 17:51:04 Is there a way to make dhcpcd run in the background with the networking service? 2021-07-14 17:51:19 look at /usr/libexec/ifupdown-ng/dhcp script - it detects dhcpdc, dhclient, and udhcpc. I'm using dhcpdc here 2021-07-14 17:52:12 oops, dhcpcd 2021-07-14 17:52:38 because dhcpcd doesn't fork to the background immediately be default 2021-07-14 17:53:14 I don't see any option for dhcpcd to background initially but booting a VM here a min ago it literally got its IP via DHCP in approx 1 second, hardly a long time to wait... 2021-07-14 17:53:31 is there any client that can? 2021-07-14 17:54:49 you're spending more time trying to resolve this "problem" that you'll probably be waiting for DHCP at boot for the next 10 years...... 2021-07-14 17:54:57 s/that/than/ 2021-07-14 17:54:57 minimal meant to say: you're spending more time trying to resolve this "problem" than you'll probably be waiting for DHCP at boot for the next 10 years...... 2021-07-14 17:55:47 I'm a perfectionist, it's why I am using linux 2021-07-14 17:58:26 All im looking for is a way do make dhpc immediately fork into the background 2021-07-14 17:59:03 well either the existing software supports that or it doesn't - in which case you'll have to rewrite it 2021-07-14 17:59:26 neither udhcpc nor dhcpcd appear to support *immediate* backgrounding 2021-07-14 17:59:51 I guess I'll try to modify udhpc or dhcpcd and upload a fork request upstream 2021-07-14 18:00:34 udhcpc & 2021-07-14 18:00:59 or speed up your DHCP server? 2021-07-14 18:01:24 Hello: YES, how can I make /etc/networking/interfacing run that automatically 2021-07-14 18:01:42 minimal: its on a netgear router, that's not really an option 2021-07-14 18:01:59 ijohnr: I already pointed you to the ifupdown-ng script that runs udhcpc - any changes would go there 2021-07-14 18:04:24 ok I'll try it now 2021-07-14 18:11:07 ok, I got it to run in the background, how can I make the output of dhcpcd silent 2021-07-14 18:11:21 I've already tried adding > /dev/null at the end 2021-07-14 18:11:27 >/dev/null 2>&1 2021-07-14 18:11:42 thank you 2021-07-14 18:15:41 YES! that worked, alpine is suprisingly good on the desktop 2021-07-14 18:30:59 Can you setup dwm with a custom config on apkbuild 2021-07-14 20:02:31 Even though I added acf-openssh the tab isn't showing up in acf 2021-07-14 20:02:54 Hey, how do I get QtGtkStyle? It's like some sorta plugin for Qt5 that makes the Qt theme mimic the GTK theme. 2021-07-14 20:04:51 Do you mean /usr/include/QtGui/QGtkStyle 2021-07-14 20:05:12 I guess. 2021-07-14 20:05:54 its in qt-dev 2021-07-14 20:06:40 I can't seem to find that package. 2021-07-14 20:07:22 https://pkgs.alpinelinux.org/contents?file=QGtkStyle&path=&name=&branch=edge 2021-07-14 20:07:30 Cannot find a package that has it either 2021-07-14 20:07:36 https://pkgs.alpinelinux.org/package/v3.3/main/x86/qt-dev 2021-07-14 20:07:44 v3.3... 2021-07-14 20:07:50 https://pkgs.alpinelinux.org/contents?repo=main&page=27&arch=x86&branch=v3.3&name=qt-dev 2021-07-14 20:07:56 oh, wrong version 2021-07-14 20:07:58 that's ancient :D 2021-07-14 20:12:16 ijohnr: What's the right version, then? 2021-07-14 20:13:03 well it's not in 3.14 or edge so I dont know 2021-07-14 20:20:25 Aw, man. 2021-07-14 20:27:17 "aw, man" -- classic linux user's lament 2021-07-14 20:28:24 True. 2021-07-14 20:50:41 Is there an official forum for alpine linux? 2021-07-14 20:52:11 No\ 2021-07-14 20:52:30 Why not? 2021-07-14 20:52:59 We had one, but it was a wasteland 2021-07-14 20:53:50 There is a mailing list 2021-07-14 20:54:02 Ah, too bad, but I guess irc and the wiki work pretty well, plus it seems like a lot of poeple post a question on a forum and just never follow up, so maybe it's for the best 2021-07-14 20:55:32 a web forum would work if all posts older than a year were purged continuously 2021-07-14 20:55:40 well, possibly. 2021-07-14 20:56:31 even those with useful answers? 2021-07-14 20:56:53 that's stackexchange's job. dispense answers from 10 years ago and let users blindly apply them 2021-07-14 21:01:30 I have still had some good answers from the arch and gentoo forums from the late 2000's 2021-07-14 21:25:24 Hi, Any idea what gid: 8, group: mem is used for? https://git.alpinelinux.org/alpine-baselayout/tree/group 2021-07-15 00:09:35 What is the usecase of system group: mem (gid:8) in Alpine Linux? 2021-07-15 06:36:48 nothing in my alpine systems have gid=8 2021-07-15 08:17:39 ksr: what does ls -l /dev/mem show? 2021-07-15 08:17:55 I'm guessing it's the same as kmem in debian 2021-07-15 08:18:13 root:root in my alpine 2021-07-15 08:18:44 Can be a remnant of grsec? 2021-07-15 08:19:26 "sudo find / -group mem 2> /dev/null" = no results 2021-07-15 09:00:16 it's a remnant of for sure, does git blame say anything interesting? 2021-07-15 09:05:45 Was imported into aports already with that group 2021-07-15 09:05:52 e1a9254211b885e6e44538e53dc3f9f341f261f0 2021-07-15 09:10:45 I have root:kmem 2021-07-15 09:36:45 hi. I have a question on virtual packages handling with apk. I have a package that depends on a virtual provides, that is fulfilled by one or more "real" packages. However when I try to install that said package, I get "unsatisfiable constraints". Please check https://gist.github.com/thresheek/f0a8283559254f1b4bef5139646e5694 for actual output. I wonder if there can be a workaround to force apk 2021-07-15 09:36:51 to choose the most recent version? 2021-07-15 09:37:37 (those packages are coming from my own repositories, so I can fix them on my own) 2021-07-15 09:38:01 Does adding a provider_priority help? 2021-07-15 09:42:55 ikke, thanks! that looks like just what I'd need. I guess I can bump it the same as pkgrel and then downgrade when a new pkgver arrives. 2021-07-15 10:06:19 does anybody know what is the properly way for handling power (basically put the computer to sleep) with sway or other minimal desktops? I would like to only put it to sleep if it's running from battery 2021-07-15 10:09:21 perhaps xfce4-settings-manager can do it for you 2021-07-15 10:09:37 uhM 2021-07-15 10:09:49 though that might require an xfce power daemon… 2021-07-15 10:10:36 I wonder if using swayidle I can run any command 2021-07-15 10:11:05 so maybe a simple solution is a script, if running_batteri, pm-suspend 2021-07-15 10:11:51 I prefer to avoid another desktop dependency 2021-07-15 10:13:10 maybe something in /proc and/or /sys can tell you that 2021-07-15 10:14:15 /sys/class/power_supply/BAT0/status 2021-07-15 13:13:15 does anyone have experience with booting the ipxe kernel from grub? 2021-07-15 13:13:41 trying to get alpine to boot on a device without putting the minimal base onto it 2021-07-15 13:31:36 Can't decide between gentoo and alpine for my desktop. I want to try replacing windows entirely on it, and I assume doing so requires enough applications I might prefer being able to run glibc applications 2021-07-15 13:32:42 Alpine still uses the LTS kernel, right? 2021-07-15 13:36:05 5.10.43 right now 2021-07-15 13:36:46 so, yes 2021-07-15 13:37:22 I guess not everything's so bad about LTS; does that include wireguard, yet? 2021-07-15 13:37:34 yes 2021-07-15 13:37:43 i can't think of any new features i'd care about 2021-07-15 13:39:17 i had musl trouble only with tinyfugue, but i don't use it for my desktop 2021-07-15 13:39:31 and has anyone ever done a daily driver installed in data-disk mode instead of system-disk mode? 2021-07-15 13:39:56 does the performance increase even matter with modern kernels caching so much in ram? 2021-07-15 13:40:56 run-in-ram is not primarly meant for performance 2021-07-15 13:42:32 so if i run it in ram, does that mean ALL filesystem changes sit in ram until lbu? even stuff like bookmarks from firefox? 2021-07-15 13:42:40 or do those touch disk in data-disk mode 2021-07-15 13:46:57 if your home is mounted on a disk, then they are persisted 2021-07-15 13:47:24 root is mounted as tmpfs, so anything that is not mounted on a disk is ephemeral unless persisted with LBU 2021-07-15 15:38:28 getreal: if you need some glibc dependant apps you can use flatpak/lxc/docker/vms... 2021-07-15 15:38:54 Really? Can I run appimage garbage using that kind of thing? 2021-07-15 15:40:02 uhM AppImage should work too 2021-07-15 15:42:56 https://github.com/AppImage/AppImageKit/issues/1015 2021-07-15 15:44:05 hehe maybe don't :D 2021-07-15 15:48:55 i don't get the decision criteria between alpine and gentoo though. musl isn't first class with gentoo, and besides everything else being done very differently (openrc aside) 2021-07-15 15:49:31 "as a desktop" is overly broad when compared these two systems. 2021-07-15 15:49:38 invoked: both really provide a lot of decent choice, and the groups behind them are usually wildly more helpful than any other group i've seen online 2021-07-15 15:50:44 i can't stand the arch crowd (who can?), and anything with systemd as its default is obviously out of the question. i've been burned by windows for the last time, so why would i take the same dive with sinisterd? 2021-07-15 15:52:43 sure, if it's choice you're after, gentoo is less opinionated and there are more options there. blueness is a good steward also. that said i think alpine out of the box just works better. 2021-07-15 15:52:51 as a desktop though, it's a whole other thing. 2021-07-15 15:54:28 aye, though like i've had in the past, alpine was perfectly fine on my laptop, doing all i asked it to do 2021-07-15 15:54:49 the desktop might be a bit more demanding, but as long as amd drivers work at-all i don't think i'll have many problems 2021-07-15 15:55:16 the gentoo for desktop thing was just if i got really dedicated to choosing everything, but alpine's packages are almost always new enough that it's not important to compile 2021-07-15 15:56:49 yeah, like i said musl isn't first class on gentoo. either way, a desktop on a musl system, you should be ready to solve your own problems 2021-07-15 15:58:38 in some way, none of software development is ever solving your own problem. 2021-07-15 15:59:27 as long as VMs work, i presume it's not impossible on a desktop to do most of what i care about regardless of what's going on. 2021-07-15 16:02:17 Hello, I've installed bash on alpine 3.14 with bash-completion and getting: -bash: syntax error near unexpected token `(' error when pressing tab. Anyone encountered this? 2021-07-15 16:07:24 uhM, I can't reproduce it 2021-07-15 16:09:31 maybe it's a bug in one of the -bash-completion packages. you could try removing the ones you have installed one by one until the problem clears up 2021-07-15 16:09:36 graywolf: does it happens whatever you have written in the command line? 2021-07-15 16:12:36 donoban: seems to happen only with vim 2021-07-15 16:12:45 (like: vim ../) 2021-07-15 16:13:00 Will try to remove it 2021-07-15 16:13:50 it doesn't fail here 2021-07-15 16:14:06 maybe do you have some strange filename? 2021-07-15 16:16:43 No that I know of. Ok, but closing the terminal (ssh session) and reconnecting fixed it. 1. I feel stupid for not trying that first 2. I do not like transient errors like this :/ 2021-07-15 16:16:52 Sorry 2021-07-15 16:20:26 hehe no worries 2021-07-15 17:20:12 thinking about deniable encryption, how does that work with backups? 2021-07-15 17:20:21 seems like that's a bit of a hassle. 2021-07-15 17:20:49 what does deniable encryption have to do with backups? 2021-07-15 17:22:23 think about it 2021-07-15 17:35:10 i seriously have no clue 2021-07-15 17:39:30 ACTION thinks about it 2021-07-15 20:06:08 i also don't quite see what it has to do with backups specifically 2021-07-16 00:05:49 plausible deniable backups? 2021-07-16 00:06:26 when you fail to restore from backup you can just say you didn't have them in the first place and noone can prove you wrong 2021-07-16 01:27:08 danieli: Doesn't have a /dev/mem in my docker instance. Yeah, I assume it's similar to kmem in other distros. 2021-07-16 01:30:09 Thanks everyone for looking at mem group. 2021-07-16 01:32:44 My use case is a very odd one where, I have to use GID:8 in a Alpine Linux docker instance so that it plays nicely with a mapped FS. I was just evaluating whether there are any security risks of using GID:8 (mem) in Alpine Linux. Looks like there's none. Because I couldn't find anything owned by that group or any other mentions of "mem" group apart form /etc/group files. 2021-07-16 01:38:56 lmfao, omni 2021-07-16 01:39:19 danieli: if i have encrypted backups laying around, they're encrypted. they're encrypted data that can be rubberhosed 2021-07-16 01:39:46 deniable encryption is about avoiding coercion, so all deniably encrypted data must be also deniably backed up. 2021-07-16 01:45:27 of course you don't have /dev/mem in docker 2021-07-16 01:45:42 kmem is totally different and also doesn't exist anymore 2021-07-16 01:45:56 if you're using recent kernel then use idmap 2021-07-16 07:58:06 Is there a way to use efibootmgr/EFISTUB straight out of the gate, without setting up grub at all, but still using the defaults from setup-alpine for other things? 2021-07-16 08:39:15 hello everyone 2021-07-16 08:39:20 I have a question 2021-07-16 08:39:39 I'm in trouble with ZFS on Alpine Linux 2021-07-16 08:40:03 when I install the system it keeps installing the wrong kernel and I don't know why 2021-07-16 08:40:25 what's "the wrong kernel"? 2021-07-16 08:40:26 the release for 3.14 is 5.10.43-0-lts 2021-07-16 08:40:54 but after the setup script I get kernel 5.10.50-0-lts 2021-07-16 08:41:02 and it screws up my ZFS setup badly 2021-07-16 08:41:15 because modules are missing 2021-07-16 08:41:35 and also in the mkinitfs features there's something wrong 2021-07-16 08:42:26 the file /etc/mkinitfs/features.d/zfs.modules ha a reference to a non-existant module -> extra/zpios 2021-07-16 08:42:38 sounds like the zfs package has jumped ahead? 2021-07-16 08:42:49 that is not present anymore in the extra category of modules 2021-07-16 08:43:03 it's kinda messy 2021-07-16 08:44:20 zfs 2.0.3-r1? 2021-07-16 09:34:00 ksr: ah, you didn't mention that it's a container and not a real machine, it won't have that device in that case 2021-07-16 09:35:34 Hello71: hahaha, i didn't see your reply (or that the person left) when i wrote that :) 2021-07-16 13:41:11 Is setup-alpine just a big ol' bash script? 2021-07-16 13:42:36 yes 2021-07-16 13:42:37 well 2021-07-16 13:42:43 posix sh, but yes 2021-07-16 13:42:59 (with a bith of allowance from ash :P) 2021-07-16 14:00:08 ikke: And I can't configure efistub with this, I presume? 2021-07-16 14:00:26 Also, can I change to data/sys/lvm modes AFTER setting up without much effort? 2021-07-16 14:01:36 afaik, setup-disk does not support efistub 2021-07-16 14:01:46 aww 2021-07-16 14:01:58 maybe i could just read how setup-alpine works and hope it's self-documented 2021-07-16 14:02:04 and do my own line by line setup 2021-07-16 14:02:18 Look at sstup-disk 2021-07-16 14:02:39 setup-alpine calls several other scripts 2021-07-16 14:03:18 oh, that's fun 2021-07-16 14:05:55 when did pipewire get popular? i've heard a lot of people switching to it on other distros 2021-07-16 14:06:08 getreal: you can do `setup-alpine`, choose 'none' for disk selection, and then do your own disk setup. Or set up to disk as usual and do your own EFISTUB installation. For a BTRFS filesystem, I personally run `setup-alpine` with 'none' disk, set up the target with BTRFS subvolumes etc., then do `setup-disk -m sys $MNT`. 2021-07-16 14:07:09 is there a way to cheat and still get a data install with arcane setups like that? 2021-07-16 14:07:43 getreal: `setup-disk -m data $MNT` 2021-07-16 14:07:50 hell ye. 2021-07-16 14:07:58 https://wiki.alpinelinux.org/wiki/Alpine_setup_scripts#setup-disk 2021-07-16 14:08:22 But with a data installation, you still boot from the bootmedia, right? 2021-07-16 14:08:48 ah, really? i had no clue 2021-07-16 14:09:30 oh, you can do setup-bootable and copy it to a partition. 2021-07-16 14:09:52 "In data disk mode, the boot device may also remain the initial (and possibly read-only) installation media, or be copied to a partition (e.g. /dev/sdXY) with setup-bootable. " per wiki/Installation 2021-07-16 15:11:54 ah fuck i just realized i have to set stuff up manually anyway to do uefi because i've got the board on uefi only 2021-07-16 15:12:02 alright, i'm gonna do this over the weekend 2021-07-16 15:50:45 getreal: this is how I do an EFI install https://rentry.co/ieuxd 2021-07-16 15:52:25 is there a solution to the firefox problem of: Unable to load hand2 from the cursor theme spam in terminal when hovering over anything which would trigger a cursor icon change 2021-07-16 15:52:49 tried to find cursor themes and even installed some to no effect 2021-07-16 17:55:16 test 2021-07-16 18:04:52 test passed 2021-07-16 18:11:47 :D thanks 2021-07-16 19:36:32 is there a package that creates the plugdev group or do I have to make it myself 2021-07-16 19:38:13 ther are packages that create it, but they are not generic packages 2021-07-16 19:42:05 seems that plugdev was not the group I was looking for 2021-07-16 20:11:18 wondering if there is an intentional reason for not having a gdb-arm-none-eabi package? there are a few others already: gcc, newlib... https://pkgs.alpinelinux.org/packages?name=*arm-none-eabi&branch=edge&arch=x86_64 2021-07-16 20:36:29 out of curiosity, anybody got drm content to play on a browser? 2021-07-16 20:37:49 I'm trying to make my Wacom driver work. I have xf86-wacom-input and the wacom_w8001.ko, and, the computer still doesn't seem to recognize my Wacom. (It's a Wacom Intuos Art.) 2021-07-16 20:38:23 s/my Wacom driver/my Wacom tablet/ 2021-07-16 20:38:23 jaafarrc meant to say: I'm trying to make my Wacom tablet work. I have xf86-wacom-input and the wacom_w8001.ko, and, the computer still doesn't seem to recognize my Wacom. (It's a Wacom Intuos Art.) 2021-07-16 20:39:17 (I forgot to mention: wacom_w8001.ko is a kernel module I have.) 2021-07-16 20:42:06 Do you see anything in dmesg?\ 2021-07-16 20:43:42 ikke: dmesg says "new usb device, Product: Intuos PTS, Manufacturer: Wacom Co.,Ltd". 2021-07-16 20:45:14 so it is recognized 2021-07-16 20:46:19 Well, if I run `libwacom-list-local-devices` from the `libwacom` package, I get: `Failed to find any devices known to libwacom.` 2021-07-16 21:22:09 ikke: So, I can't tell. 2021-07-16 21:29:09 jaafarrc: do you run libwacom-list-local-devices as root? 2021-07-16 21:29:21 Oh, I didn't. 2021-07-16 21:29:35 Still... 2021-07-16 21:31:45 https://github.com/linuxwacom/libwacom#adding-tablet-descriptions-to-libwacom 2021-07-16 21:31:49 this might be helpful 2021-07-16 21:32:25 jaafarrc: ^ 2021-07-16 21:34:40 -> use libwacom-list-devices 2021-07-16 21:36:35 Hmmm, this is interesting. 2021-07-16 21:37:55 lemontree: My computer recognized my Wacom as "Intuos PTS" with PID (Product ID) 033c. If I use `libwacom-list-devices", I can see "Wacom Intuos Pen & Touch Snall" with PID 033c. 2021-07-16 21:38:11 s/Snall/Small/ 2021-07-16 21:38:11 jaafarrc meant to say: lemontree: My computer recognized my Wacom as "Intuos PTS" with PID (Product ID) 033c. If I use `libwacom-list-devices", I can see "Wacom Intuos Pen & Touch Small" with PID 033c. 2021-07-16 21:39:31 so basically you need to follow the steps in the readme it seems 2021-07-16 21:40:06 (i think this readme describes kind of your situation) 2021-07-16 21:45:43 lemontree: It looks like there's a .tablet file for my tablet already, but, if I run `libwacom-update-db`, I get: Unable to find udev base directory: /etc/udev/hwdb.d 2021-07-16 21:45:49 (I use eudev) 2021-07-16 21:47:19 did you run that as root? eudev things can be skipped when using root, so if that works you know you need to add a udev rule 2021-07-16 21:47:51 lemontree: I did run it with root already. 2021-07-16 21:52:29 sorry, i don't know much but i'd try to look what the script does and fix things it expects 2021-07-16 21:52:37 for instance, here is your error thrown: https://github.com/linuxwacom/libwacom/blob/master/tools/libwacom-update-db.py#L229 2021-07-16 21:52:50 (i think) 2021-07-16 21:54:02 lemontree: Alright, I guess the Wacom can wait. 2021-07-16 21:55:01 hm, but i think at least this error is simple to fix: just create /etc/udev/hwdb.d 2021-07-16 21:56:50 I assume that's a directory. 2021-07-16 21:57:58 yes probably 2021-07-16 21:58:08 Btw, I don't seem to have /etc/libwacom. 2021-07-16 22:00:57 lemontree: I also ran `doas libwacom-update-db /etc/libwacom` after creating the directory, and I get "no such file or directory: 'systemd-hwdb'." 2021-07-16 22:02:20 yes this is also explained in the README it seems: https://github.com/linuxwacom/libwacom#libwacom-110-and-newer 2021-07-16 22:02:27 Copy the .tablet file into /etc/libwacom and run the libwacom-update-db tool: 2021-07-16 22:04:44 Is /etc/libwacom a file or a directory? 2021-07-16 22:05:01 ah, regarding systemd-hwdb: that is this: https://man.archlinux.org/man/systemd-hwdb.8.en - maybe you can try to understand what this systemd thing does and look what the replacement on alpine linux is 2021-07-16 22:05:42 then you can create a custom libwacom-update-db.py file which works correclty for alpine and send a merge request for that to alpine packages 2021-07-16 22:06:24 jaafarrc: ah even better you can try --skip-systemd-hwdb-update 2021-07-16 22:06:59 look what nice things you can find when looking at the source code https://github.com/linuxwacom/libwacom/blob/master/tools/libwacom-update-db.py#L196 2021-07-16 22:07:38 Oh, that's cool. 2021-07-16 22:07:58 It told me to unplug and replug my device; I did that, but... nothing. 2021-07-16 22:08:20 Also, I still don't know if /etc/libwacom is a file or a directory. 2021-07-16 22:08:20 nad the answer to if /etc/libwacom is a file or dir is here: https://github.com/linuxwacom/libwacom/blob/master/tools/libwacom-update-db.py#L185 2021-07-16 22:09:35 and now i need to go to bed - but i have shown you the method to fix your problem. basically try to understand how things work 2021-07-16 22:09:39 good luck 2021-07-16 22:10:00 lemontree: Still nothing... 2021-07-16 22:10:16 And I don't know how to read Python. 2021-07-16 22:12:54 i too don't know how to read python but you can learn it 2021-07-16 22:13:07 you can read english that is enough 2021-07-16 22:18:30 Oh, my God... why. 2021-07-16 22:23:03 Alright... next question: Can I downgrade from edge to stable? 2021-07-16 22:59:21 Thanks a ton, nickersonm; I'll look into that while I'm back and forth for work 2021-07-16 22:59:47 Ah wait, you still using dat grub 2021-07-16 22:59:51 I'll modify from there. 2021-07-16 23:24:23 jaafarrc: unless you specifically need something only in xf86-input-wacom you're probably better off with xf86-input-libinput 2021-07-16 23:24:48 you can downgrade at your own risk 2021-07-16 23:24:52 apk upgrade -a 2021-07-16 23:25:31 Do I need the libinput package for xf86-input-libinput? 2021-07-16 23:36:29 https://pkgs.alpinelinux.org/package/edge/community/x86_64/xf86-input-libinput Depends: libinput-libs 2021-07-16 23:36:47 https://pkgs.alpinelinux.org/contents?branch=edge&name=libinput&arch=x86_64&repo=community Contents: /usr/bin/... 2021-07-16 23:45:14 Oh, my God, I didn't pay attention to that. That's embarrasing, I'm sorry. 2021-07-17 00:04:06 bl4ckb0ne: only on flatpak Firefox :( 2021-07-17 00:07:58 Ah wait, I'll have to modify quite significantly, as setup-disk doesn't actually allow linux to be its own bootloader 2021-07-17 00:34:14 kevint: yeah i saw that the widevine lib segfaults on musl 2021-07-17 00:34:26 well at leasti have a reason to move out of spotify 2021-07-17 00:48:15 Actually does the kernel built for alpine come with CONFIG_EFI_STUB=y? 2021-07-17 00:51:10 I swear it did previously, or my last time doing this wouldn't have worked 2021-07-17 01:52:04 I love Alpine Linux 2021-07-17 04:02:37 me too! 2021-07-17 08:25:20 who doesn't? :D 2021-07-17 16:01:56 I know a lot of people run alpine linux in their docker containers, but I use alpine linux to run docker! 2021-07-17 16:05:20 reasonable 2021-07-17 17:22:36 ACTION < https://matrix.org/_matrix/media/r0/download/matrix.org/UypUgcOHYiHSrLNJdWeHAcnG/message.txt > 2021-07-17 17:23:40 please, for the irc users here, do not use the matrix multiline feature for the entire message 2021-07-17 17:23:46 we just get an url without context 2021-07-17 17:25:03 Lorenzoas3ii[m]: What is the command you are executing? 2021-07-17 18:15:54 yes, what is the command and have you preloaded any of the official signing keys? 2021-07-17 18:54:59 2021-07-17 18:55:15 oh sorry 2021-07-17 18:56:19 ACTION < https://matrix.org/_matrix/media/r0/download/matrix.org/vFBQpJZFSNinGJNecqMXagcc/message.txt > 2021-07-17 18:58:16 Where do you have the keys for this repositoy? 2021-07-17 18:58:29 You can try adding --hostkeys, which should copy the keys from your host 2021-07-17 18:59:55 sorry, I'm noob with alpine, I'm following https://wiki.alpinelinux.org/wiki/How_to_make_a_custom_ISO_image_with_mkimage 2021-07-17 19:05:26 Did you try adding --hostkeys? 2021-07-17 19:05:34 nothing changed 2021-07-17 19:06:32 Hey, I'm here for my Wacom tablet again. So, it's does get recognized, it does have a udev entry, it just that nothing happens when I try to use the tablet. 2021-07-17 19:12:13 ACTION < https://matrix.org/_matrix/media/r0/download/matrix.org/zszPMuGosYnrhSoSRwPjvGtB/message.txt > 2021-07-17 19:12:56 Lorenzoas3ii[m] < https://matrix.org/_matrix/media/r0/download/matrix.org/zszPMuGosYnrhSoSRwPjvGtB/message.txt > 2021-07-17 19:27:48 ACTION < https://matrix.org/_matrix/media/r0/download/matrix.org/lcqacgUiXdcJpnojakKRhVbt/message.txt > 2021-07-17 19:29:29 https://tpaste.us/DXDX 2021-07-17 19:31:01 damn matrix bridge... sorry 2021-07-17 19:41:21 sh mkimage.sh --tag "v3.14" --outdir ~/iso-aarch64 --arch "aarch64" --repository "repo-main" --repository "repo-community" --profile "rpi" 2021-07-17 19:41:24 maybe if I don't insert links the message will be sent as normal text 2021-07-17 19:41:59 it's because you're trying to send like 5 lines at a time 2021-07-17 19:42:36 although who knows, the bridge mangles that as well it seems (like the link is cut off for example) 2021-07-17 19:43:49 (now I have to go, here it is evening, tomorrow I'll read the possible answers) 2021-07-17 21:24:02 ijohnr is gone, but I'm guessing acf-openssh didn't show up after installing it because his session was cached in /tmp/. Remove the session or wait until it expires, and the new tab will appear. 2021-07-17 21:24:32 tdtrask: good to know 2021-07-17 22:28:15 fluix: most likely a copy paste issue 2021-07-18 06:23:04 is bluetooth a2dp audio working? 2021-07-18 06:26:29 Skaface: I believe it does 2021-07-18 06:31:26 Skaface: you'll need pulseaudio-bluez, maybe add yourself to the bluetooth group, I don't remember exactly the steps on alpine 2021-07-18 06:32:09 yep im working through it, i needed pulseaudio-modules-bt from testing 2021-07-18 06:32:13 thankyou 2021-07-18 06:33:12 np, good luck! 2021-07-18 06:42:10 Skaface: I don't know the status of pipewire on alpine, but that will be how bluetooth audio will be supported in the future, the pulseaudio-modules-bt is now deprecated, should still work fine though for now. 2021-07-18 07:37:31 Are you the maintainer for darktable on alpine, ikke? Can we get 3.6 in edge? 2021-07-18 07:37:46 I can 2021-07-18 07:38:18 Thanks, comrade. I'm excited for some new features after I figure out the whole "install efi without grub upon first setup" situation 2021-07-18 07:38:49 Though I also have considered trying to figure out full disk encryption. How do LVM and btrfs interface? 2021-07-18 07:39:17 as far as I understand, with btrfs you do not need something like lvm 2021-07-18 07:40:34 fucksmokers: btrfs is instead of lvm + fs 2021-07-18 07:41:16 fucksmokers: I've been diving into btrfs + alpine recently if you have any questions, also with luks 2021-07-18 08:09:00 hi all! 2021-07-18 08:20:58 atka: interesting. how does the actual workflow for signin in work for you? how is it decrypted? 2021-07-18 08:24:16 And in the modern day, do people still recommend putting /home on a different part? Maybe I could just encrypt /home and have things be alright. 2021-07-18 08:32:42 fucksmokers: you can decrypt in grub if you want full disk encryption (minus efi partition if using uefi) 2021-07-18 08:33:33 fucksmokers: you can also just have encrypted root and unencrypted boot and boot/efi 2021-07-18 08:33:36 Damn. Why couldn't I use the initramfs to do that and then use the kernel as the efistub? 2021-07-18 08:34:18 I'm not sure about that, I use grub personally 2021-07-18 08:34:47 Any reason why? 2021-07-18 08:34:51 but if using btrfs you'll not have a separate home partition but different subvolumes 2021-07-18 08:35:07 I suppose you just prefer exploits like hitting backspace 28 times? ;P 2021-07-18 08:35:19 iiiinteresting 2021-07-18 08:35:32 so i'd just do efi and then "the rest," and maybe a swap partition? is a partition better than a file on an ssd? 2021-07-18 08:36:01 eh, I just use a swapfile, but you can do a swap subvolume on btrfs 2021-07-18 08:36:46 i'll have to do more review on how all of that then interfaces with the rest of setup 2021-07-18 08:36:58 feels weird interfacing with scripts like that sometimes 2021-07-18 08:37:34 also that grub exploit won't do anything if you are using luks 2021-07-18 08:37:48 and was patched anyway 2021-07-18 08:40:10 basically I do luks on my drive, then setup a btrfs filesystem on the luks container, then make all my subvolumes for / /boot /home etc 2021-07-18 08:41:02 umount the toplevel btrfs and then mount the / subvolume and do a sys install to mount, chroot in and finish up 2021-07-18 08:41:35 i was just bringing up how i can't see the software as that good or necessary when stuff like that sits around; it's part of a general ethos that if i don't need it, i don't install it 2021-07-18 08:41:50 huh; very interesting 2021-07-18 08:42:27 I understand, I'm usually very minimal in my setups but grub just works and I've been using FDE for quite awhile 2021-07-18 08:44:41 very interesting; i'll keep that in mind 2021-07-18 08:45:39 and evil maid attacks or someone with physical access that is knowlegeable about linux vulerabilities are very improbable 2021-07-18 08:45:58 for me anyway 2021-07-18 09:00:36 fucksmokers: I'm barely awake and headed to bed, have a good one. 2021-07-18 09:01:03 Same! I'm gonna try finishing this up tomorrow. 2021-07-18 09:02:19 fucksmokers: alright, I'll be around, good luck! 2021-07-18 15:54:12 Hey, I accidentally disconnected yesterday while asking a question. 2021-07-18 15:55:00 Basically: my Wacom tablet gets recognized (according to dmesg and /proc/bus/input/devices) but trying to move the mouse with the tablet doesn't do anything. 2021-07-18 15:55:27 Are you member of the input group? 2021-07-18 16:08:00 yes. 2021-07-18 16:08:25 ikke: `$ groups` `input video wheel` 2021-07-18 16:09:02 Not sure if required, but do you have xf86-input-wacom installed? 2021-07-18 16:09:50 I was told I was better off `xf86-input-libinput`, and I *did* have xf86-input-wacom, but it didn't change anything. 2021-07-18 16:09:57 ok 2021-07-18 16:10:27 If I `find` my kernel's modules directory, I can see a Wacom module. 2021-07-18 16:11:15 jaafarrc: does modprobe show the module being loaded? 2021-07-18 16:11:24 How do I check? 2021-07-18 16:11:28 modprobe 2021-07-18 16:11:54 modprobe what? 2021-07-18 16:11:59 sorry, lsmod 2021-07-18 16:12:03 my bad 2021-07-18 16:13:52 ikke: Nothing comes up when I `doas lsmod | grep wacom`. 2021-07-18 16:27:51 By the way, I only have wacom_w8001, not just wacom. 2021-07-18 16:27:59 So, I think I need to compile this? 2021-07-18 16:38:12 Hmmm, input-wacom wiki says wacom_w8001.ko is for older stuff and wacom.ko is for newer stuff. I have no idea when my model was released. 2021-07-18 16:39:26 did you try modprobe wacom? 2021-07-18 16:40:07 Yes, I modprobe'd wacom_w8001 (wacom doesn't exist, only wacom_w8001) does. 2021-07-18 16:40:19 ok 2021-07-18 16:40:28 Not sure then 2021-07-18 16:40:37 Hmmm, maybe I need xf86-input-libinput? I use Wayland, so, I dunno. 2021-07-18 16:49:13 If I don't use grub, how does the kernel get updated? 2021-07-18 16:49:39 if you use wayland then xf86-* is totally irrelevant 2021-07-18 16:49:42 note the xf86 2021-07-18 16:49:56 fucksmokers: grub doesn't "update the kernel" 2021-07-18 16:50:02 correct 2021-07-18 16:50:06 but if you update the kernel 2021-07-18 16:50:10 Hello71: I know. 2021-07-18 16:50:19 then grub would change its settings, right 2021-07-18 16:50:27 check libinput debug-events 2021-07-18 16:50:38 Where do I check those? 2021-07-18 16:50:46 fucksmokers: usually, unless you don't have grub 2021-07-18 16:50:49 or are using arch 2021-07-18 16:50:51 or a custom config 2021-07-18 16:50:51 and additionally, my curiosity becomes "if I put the kernel elsewhere (/boot/efi), how the hell does it get updated later" 2021-07-18 16:50:58 jaafarrc: run the command "libinput debug-events" 2021-07-18 16:51:04 since i plan to just efistub the kernel 2021-07-18 16:51:08 Oh. 2021-07-18 16:52:08 Huh, the command doesn't exist. 2021-07-18 16:52:59 install it 2021-07-18 16:53:08 Yeah, I did. 2021-07-18 16:53:09 it's for debugging 2021-07-18 16:53:19 not required for normal use 2021-07-18 16:54:29 Alright, I ran that command, I plugged in my tablet, and my tablrt pops up as event19. 2021-07-18 16:56:22 yes but do you get events 2021-07-18 16:56:32 What do you mean? 2021-07-18 17:08:51 fucksmokers: EFI -> EFI entry you can write with efibootmgr -> efistub or bootloader 2021-07-18 17:08:51 fucksmokers: Maybe this article helps you a bit with configs and understanding: https://wiki.archlinux.org/title/EFISTUB#Using_UEFI_directly 2021-07-18 17:10:01 fucksmokers: You put you kernel *somewhere* and then let your software point to that. There are some more or less canonical paths, but you can at least configure the EFI and the most bootloaders I know off to nearly any path in /boot or the ESP. 2021-07-18 17:13:28 As I'm thinking about this, if the kernel updates, there's likely a script that gets called as well--when the package updates, my worry is that I'm gonna be moving my kernel and initramfs into places the package doesn't install it to, so something might break or be held back 2021-07-18 17:13:52 I did it once before, but don't know how package management works enough to be certain about that. 2021-07-18 17:14:53 There is a trigger in apk 2021-07-18 17:16:12 btw, I just merged the darktable upgrade, it should be available soon in edge 2021-07-18 17:23:43 ah hell yeah 2021-07-18 17:23:44 thanks ikke 2021-07-18 17:23:46 Do you shoot? 2021-07-18 17:23:59 zNo 2021-07-18 17:24:07 fucked up 2021-07-18 17:24:12 maybe one day 2021-07-18 17:24:28 Hello71: Sorry; got disconnected. And no, I do not get events. 2021-07-18 17:24:41 only device_added? 2021-07-18 17:24:54 Yeah. 2021-07-18 17:28:02 I wonder if I can send a message from Matrix. 2021-07-18 17:28:08 You can 2021-07-18 17:28:13 Yes! 2021-07-18 17:34:30 jaafarrc: then the problem is with your kernel driver, not userspace 2021-07-18 17:34:41 check dmesg 2021-07-18 17:35:42 It detects Wacom. 2021-07-18 17:36:07 As in, my tablet. 2021-07-18 17:43:36 Matrix me is still here. 2021-07-18 17:45:29 i don't see it 2021-07-18 17:45:56 What do you not see? 2021-07-18 17:46:11 matrix you 2021-07-18 17:46:41 Oh. 2021-07-18 17:46:45 I'm over here. 2021-07-18 17:46:51 ah 2021-07-18 17:47:01 :) 2021-07-18 18:52:40 Hello, was the lfm package removed or was it never in the repos? I thought I had it installed before but it doesn't seem to be on the repositories. lfm stands for "Last File Manager". 2021-07-18 18:56:03 Seems to have never been in the repository 2021-07-18 18:57:57 There is lf 2021-07-18 19:01:36 Sad 2021-07-18 19:37:11 aynone using fetchmail here? is there better alternatives? 2021-07-18 19:39:06 I would like to run fetchmail or similar with their own uid but then have a maildir on my home folder, if possible also store my credentials in my home dir 2021-07-18 19:41:36 donoban: what do you use it for 2021-07-18 19:41:50 20 years ago i switched from fetchmail to getmail 2021-07-18 19:41:58 i'm not saying it's better; i'm just saying it also exists and worked well for me 2021-07-18 19:42:55 ikke: nothing special, sync my riseup account with IMAPS 2021-07-18 19:43:14 Habbie: I read about it but it seems not packaged in alpine 2021-07-18 19:43:48 donoban, ah, it's in pip 2021-07-18 19:47:18 ok 2021-07-18 19:50:32 I used isync for a while, it's packaged for alpine too 2021-07-18 19:51:22 thanks I will take a look tomorrow 2021-07-18 20:05:22 imapsync is in the repo, but i don't know what it is 2021-07-18 20:27:18 i used to, I just use mutts builtin imap client now 2021-07-18 20:29:08 in my opinion, unless you are running a mail server, you might as well just use the mail server you already have with your email address? 2021-07-18 21:05:00 Hello71: I've discovered something interesting: everytime I reboot, wacom_8001.ko is not loaded. I have to enable it everytime I boot. (my tablet still doesn't work, though.) 2021-07-18 21:15:52 Jaafarhehim[m]: echo "wacom_8001" >> /etc/modules I believe 2021-07-18 21:16:09 I'll try that. 2021-07-19 01:09:05 i'm trying to get cwm to work on alpine, but i can't get xinit to work without using doas to log in as root 2021-07-19 01:11:12 add user to input and video group 2021-07-19 01:11:15 and use startx instead of xinit 2021-07-19 01:11:22 or better, use sx 2021-07-19 01:27:07 startx doesn't work either 2021-07-19 01:27:21 but i'll try adding the user to the input and video groups 2021-07-19 01:29:20 Hello71, i should just edit /etc/group, right? 2021-07-19 01:29:41 addgroup is better 2021-07-19 01:29:51 i did say "and" 2021-07-19 01:41:27 i can use startx as a user now 2021-07-19 01:41:48 i can't use sx though, i set it to use my xinitrc 2021-07-19 01:42:15 which is just exec cwm & xsetroot -solid steelblue 2021-07-19 01:42:37 xsetroot is installed so idk why it would throw an error 2021-07-19 01:43:10 i don't think you can exec & 2021-07-19 01:43:14 or at least it doesn't make sense 2021-07-19 01:43:42 actually it's exec cwm on one line, and then xsetroot -solid steelblue 2021-07-19 02:24:24 hello, I'm a bit confused with alpine's three modes. I want to set up a server for a few things like email, web, and media. I'll have a separate hard drive for media and things outside of the OS. the speed of diskless mode sounds appealing, but are there any downsides in my scenario? 2021-07-19 02:53:00 also, i think there's a discrepancy in the documentation here https://wiki.alpinelinux.org/wiki/Installation#Data_Disk_Mode and here https://alpine-linux.readthedocs.io/en/latest/getting_started.html 2021-07-19 02:53:32 data and sys modes are swapped? 2021-07-19 03:02:28 hmm yeah they seem swapped on one site 2021-07-19 03:02:35 i think readthedocs.io is incorrect 2021-07-19 07:35:14 I've always just done a traditional install with alpine. I can't be bothered syncing all the time 2021-07-19 08:53:50 Hey, I've read about the news of plans on replacing openrc in alpine, is that in execution or planning or anything but abandoned? 2021-07-19 08:53:50 Also, I've wondered why alpine uses busybox init instead of the openrc-init that is in the system anyway. Could trim a little size off by removing the init part of busybox. 2021-07-19 08:54:36 https://skarnet.com/projects/service-manager.html 2021-07-19 08:54:39 See the update at the top 2021-07-19 08:55:02 I don't know the reasons for bb init stead of openrc-init 2021-07-19 08:55:11 instead* 2021-07-19 08:55:16 nice, thanks 2021-07-19 13:53:11 i think most of the reason is that openrc-init is fairly new 2021-07-19 13:53:26 and afaik doesn't have any major improvements 2021-07-19 13:53:39 iirc openrc-init came after openrc yeah 2021-07-19 13:53:51 but it's still in the system, so I'd think one has to go 2021-07-19 13:55:17 why 2021-07-19 13:55:41 alpine has a history of minimizing size 2021-07-19 13:55:53 going as far as to even use the `-Os` flag for packages 2021-07-19 13:55:53 but for 22 KB? 2021-07-19 13:56:00 -Os saves a lot more space than that 2021-07-19 13:56:19 you can make a MR to move openrc-init to a subpackage if you want 2021-07-19 13:57:35 I don't know how much space busybox init takes 2021-07-19 14:00:05 https://git.busybox.net/busybox/tree/init/init.c says 10 kb 2021-07-19 14:01:01 Moving it to a subpackage would most likely take up more space 2021-07-19 14:02:02 isn't the per-package overhead only /lib/apk/db/installed size? 2021-07-19 14:02:30 ~400 bytes/packages 2021-07-19 14:03:10 I also take mirror storage into account 2021-07-19 14:15:43 thanks for the info 2021-07-19 19:52:10 Hey I'm working with packer and cloud-init to create an alpine linux template for my homelab. It's working great but I enable udhcpd/c during setup which helps me get packages which is perfect. Now I have cloud-init on the server I no longer need udhcpd to run. Not sure if I'm blind or not but I'm struggling to find a way to stop it running at boot. 2021-07-19 19:53:00 Could someone give me a bit of assistance? 2021-07-19 19:53:35 does `rc-update del udhcpc` work? 2021-07-19 19:54:52 i checked an alpine box i have, i just see the 'networking' service on boot, that's the only seemingly relevant one 2021-07-19 19:55:15 ridiculous nick 2021-07-19 19:55:47 It's not a part of the runlevel so that doesn't seem to do it 2021-07-19 19:56:32 does it get added? 2021-07-19 19:58:04 No, you can't add it yourself even 2021-07-19 19:58:13 danieli 2021-07-19 21:22:42 i'm back 2021-07-19 21:24:57 i have a question about mounting a network drive having spaces in the name 2021-07-19 22:03:18 Hi, I have a prebuilt binary for aarch64. I would like to build an APK for it, but I am on a x86_64 machine. This fails with the error: "Package not available for the target architecture (x86_64). Aborting.". 2021-07-19 22:05:40 Is it possible to tell abuild that I am cross-building and to allow the package to not match the architecture of the computer it is built on? 2021-07-19 22:24:57 MORNING BOYS 2021-07-19 22:25:10 How do custom initramfses work with alpine? 2021-07-19 22:26:53 is atka around? 2021-07-19 22:29:24 This is weird... 2021-07-19 22:30:47 ACTION < https://matrix.org/_matrix/media/r0/download/matrix.org/rTjLzMkDaoOCUJMzbgBLNDWn/message.txt > 2021-07-19 22:31:29 I don't seem to be on the list of users who are part of wheel according to `/etc/group`, but `groups` tells me I am. 2021-07-19 22:42:24 spacejam: hello 2021-07-19 22:44:59 atka: so you're using btrfs, and no lvm on the disk you've encrypted, right? 2021-07-19 22:45:20 correct 2021-07-19 22:45:39 one thing i don't get about the linux boot process is that i'm unsure how the decryption of the full disk works. how does grub decrypt the drive and not take ten years to decrypt it 2021-07-19 22:45:56 and if grub's doing the unlocking, how does it pass info to the kernel to just do the decryption from there? 2021-07-19 22:46:34 as I understand grub asks for your key and passes it to the kernel which then decrypts it 2021-07-19 22:47:04 so it passes it in as a kernel param to the kernel code, which is where i'm confused: if you're encrypting your whole disk, how's the kernel available to grub 2021-07-19 22:48:03 and my next question is also regarding the linux boot process again: does the initramfs just chroot to the real fs? how's that even work? 2021-07-19 22:49:44 I don't know how the whole process works on a lower level, you'd have to dig into the grub documentation for that 2021-07-19 22:49:49 ah, interesting. 2021-07-19 22:49:51 I used this as a resource https://wiki.archlinux.org/title/GRUB#Encrypted_/boot 2021-07-19 22:50:04 and /boot is just a btrfs volume for you? 2021-07-19 22:50:17 do you have the device-mapper stuff at all when btrfs does the voluming? 2021-07-19 22:51:28 yes, /boot is a btrfs subvolume, yes you need the device mapper stuff as btrfs is on top of luks and does not yet have its own encryption 2021-07-19 22:52:31 when we say on top of luks, do we mean that we still have to do all of the cryptsetup stuff, and you just do the dm-crypt plain mode on the whole volume? 2021-07-19 22:53:43 yes, you have to create a luks container on your disk, unlock and mount said container, then create the btrfs filesystem within that container 2021-07-19 22:54:23 and then subvolumes within the btrfs filesystem 2021-07-19 22:54:24 ah, but that's SEPARATE from lvm 2021-07-19 22:54:31 i think i'm starting to hate acronyms again 2021-07-19 22:54:32 I don't use lvm at all 2021-07-19 22:54:55 yeah, i think i was merging the "container" and "volume" concepts in my head 2021-07-19 22:55:01 and then being like "wtf do i need a container for" 2021-07-19 22:55:31 yeah, luks container with filesystem and subvolumes inside 2021-07-19 22:55:40 sec 2021-07-19 23:30:39 Having the worst time setting up alpine as a router. 2021-07-19 23:31:03 Switching to awall, has helped. 2021-07-19 23:31:44 Still not passing packets though. Not forwarding. 2021-07-19 23:32:12 Anyone have experience with awall and multiwans. 2021-07-20 00:05:35 what's your routing like? have you enabled IP forwarding in the kernel? 2021-07-20 00:20:56 I don't seem to be on the list of users who are part of wheel according to `/etc/group`, but `groups` tells me I am. 2021-07-20 00:21:08 (i bumped my question, if that's okay) 2021-07-20 00:30:05 danieli: ip forwarding is enabled at the kernel level. 2021-07-20 00:33:00 danieli: I have dual wans, both are provided by other routers. dsl modem and a mifi modem. then I have one Lan. 2021-07-20 00:34:55 anoduck: did you enable nat 2021-07-20 00:35:17 Jaafarhehim[m]: did you log out and in again 2021-07-20 00:35:43 Jaafarhehim[m]: run 'cat /etc/passwd | grep $user' are you a member of wheel there? 2021-07-20 00:36:07 Hello71: via modprobe, yes. 2021-07-20 00:36:16 what? 2021-07-20 00:36:49 actually neither of those make sense 2021-07-20 00:37:20 although it is possible to have wheel be your primary group, it would be a number 2021-07-20 00:39:07 Hello71: there is a kernel module for nat. I don't believe there is a configuration variable for nat, or it might not be needed. 2021-07-20 00:40:22 Hello71: configuration variable via sysctl, for clarification. 2021-07-20 00:41:17 there are ten kernel modules for nat: https://pkgs.alpinelinux.org/contents?file=*nat.ko&path=&name=&branch=edge&arch=x86_64 2021-07-20 00:41:41 if you exclude *conntrack*.ko, xt_state.ko, etc 2021-07-20 00:42:07 it would be insane if loading the nat module magically natted all traffic 2021-07-20 00:42:16 you need to configure it in the firewall 2021-07-20 00:43:22 alpine linux provides standard kernel and userspace facilities like netfilter, iptables, and nftables. awall is an optional added package to make certain configurations easier 2021-07-20 00:43:29 otherwise it is exactly identical to other linux distros 2021-07-20 00:43:53 Hello71: I enables iptables_nat, per awall setup instructions. 2021-07-20 00:44:30 if you're reading anything on the wiki it's probably obsolete 2021-07-20 00:45:25 Hello71: well, that is irritating... 2021-07-20 00:45:29 although actually specifically for iptables it might still be up-to-date-ish 2021-07-20 00:45:32 notwithstanding nftables 2021-07-20 00:45:53 I don't have nftables installed 2021-07-20 00:48:54 I will enable xt_nat.ko since awall uses xtables for something. 2021-07-20 00:49:36 I allow pass all from Lan to anywhere. 2021-07-20 00:50:06 Drop from inet to inet 2021-07-20 00:50:21 Inet being wan 2021-07-20 00:51:18 Allow _fw to inet 2021-07-20 00:51:35 Allow ping across all 2021-07-20 00:57:46 Ip6 is disabled 2021-07-20 01:01:44 It should be working, I replaced all cables, bought a new switch, and tested the cables. The only thing I can think of is hardware issues. But if it were, then ethernet should be not working, not just solely failing to forward. 2021-07-20 01:02:51 My routes might be botched. But none were set manually 2021-07-20 01:09:37 nf_nat, xt_nat, iptables_nat, ipset are all enabled 2021-07-20 01:16:00 Kernel mod wise. 2021-07-20 01:17:11 Working on enabling adp-router policy. Needs variable adp_lan_interfaces defined. 2021-07-20 01:27:30 modprobe rarely enables anything in network 2021-07-20 03:45:58 The only module that does not appear to be loaded is xt_nat.ko. I will use insmod, to ensure that it is. After that and enabling the adp_router rule. I will be stretching for ideas of what could be the issue. 2021-07-20 03:46:44 A rule in awall policies refers to adp_config. Does anyone know where that file is located? 2021-07-20 04:10:59 Hello i was wondering how to open another session on Alpine linux Ish? 2021-07-20 04:29:32 I am going to start swapping out ethernet cards and see if it makes a difference. I had the router working on Ubuntu, then they discontinued support for x86. Debian still supports it, but I have enjoyed working with alpine for several years now. It should be a cinch. Lightning storm has turned into a nightmare. 2021-07-20 04:30:09 Network has been down for nearly two weeks. 2021-07-20 04:30:34 Ah, FML... 2021-07-20 05:15:20 anoduck: sorry for your trouble, I don't have any experience with your particular setup, I have built a few alpine routers but they were pretty basic, iptables, dnsmasq etc 2021-07-20 05:16:39 maybe try a simple setup and see if that works? 2021-07-20 07:46:47 anyone know anything about openvpn client configuration on alpine re: openrc and such? 2021-07-20 07:50:11 nbastin: you can add an openvpn.conf and start the service iirc. 2021-07-20 07:50:46 yeah I mean I have that part, although I guess if I want openvpn. to work, I have to symlink the rc script myself? (not super familiar with openrc yet) 2021-07-20 07:51:10 yes 2021-07-20 07:51:15 you need to create the symlink 2021-07-20 07:51:49 I was getting some odd behaviour, which seems to be related to PEER_DNS being set in the init script - is there some way I'm supposed to cleanly change this, or do I just edit it? 2021-07-20 07:52:41 peerdns is set to yes per default 2021-07-20 07:52:59 yeah I'm just wondering how I change that 2021-07-20 07:53:04 conf.d 2021-07-20 07:53:07 (aside from just editing the file...) 2021-07-20 07:53:19 I can't use conf.d because tap clients can't have peer dns, so the conf is invalid 2021-07-20 07:53:23 /etc/conf.d/openvpn 2021-07-20 07:53:26 oh 2021-07-20 07:53:26 add a conf.d file and set what you want 2021-07-20 07:53:31 that side, not the openvpn.conf 2021-07-20 07:53:31 ok 2021-07-20 07:53:33 its sourced 2021-07-20 07:53:49 it needs the same naming as the init.d 2021-07-20 07:53:52 yea 2021-07-20 07:54:03 ah, thanks 2021-07-20 07:54:32 np, we are the wiki service :) 2021-07-20 07:54:40 :-/ 2021-07-20 07:54:44 I did look at the wiki, I promise.. :-) 2021-07-20 07:56:28 ok that seems happier, although it still reports that it isn't working even though it is... 2021-07-20 07:56:59 * WARNING: openvpn.ntn has started, but is inactive 2021-07-20 07:57:02 I'm not sure what that's trying to tell me 2021-07-20 07:57:09 but it seems quite incorrect 2021-07-20 07:57:36 Probably the process is behaving differently than the service is configured to 2021-07-20 07:58:55 the tap is attached to an ovs bridge, so who knows what kind of confusion I'm creating.. :-) 2021-07-20 07:59:24 I really just want the system to bring the vpn up automatically, which I need to test in a reboot, but seems to be working now 2021-07-20 07:59:27 thanks for your help 2021-07-20 07:59:28 No, I had the same behavior 2021-07-20 07:59:34 So it's not related to your usage 2021-07-20 07:59:37 ah 2021-07-20 07:59:41 But never dug into why it happened 2021-07-20 08:02:00 also anyone know if there's a way to get interface configuration to wait for ovs to start? 2021-07-20 08:02:51 hrm, this script does say before net, so I'm not sure what the issue is... 2021-07-20 08:03:49 https://github.com/OpenRC/openrc/blob/master/service-script-guide.md#be-wary-of-need-net-dependencies 2021-07-20 08:04:27 yeah, I'm familiar with that (in general, and I even read that page yesterday), but this is sortof the reverse 2021-07-20 08:05:03 I'm having a problem where it tries to configure an interface before it exists, because ovs isn't started 2021-07-20 08:05:10 or...finished starting, maybe, I'm not sure 2021-07-20 08:05:21 will have to look into it more 2021-07-20 09:50:23 is ovs an openrc daemon as well? 2021-07-20 09:50:25 depend ovs? 2021-07-20 10:26:09 atka: thanks for the response, sorry for the late reply. After testing out / removing hardware, and removing the secondary Wan, I still had no improvements. I actually lost the ability to ssh into the router after this test. So, I have decided to return to as close to the last working configuration as possible. Which means installing debian and configuring shorewall. It is already handling the additional Wan interface better. 2021-07-20 10:26:09 So, I think it is a driver issue not supported/covered by alpine. 2021-07-20 10:39:46 All of which is sad, because I have loved alpine since first boot. Preferred Linux for years, since 1.x.x. 2021-07-20 10:40:37 uhM, anoduck what you try to do works fine on debian? 2021-07-20 10:40:58 anoduck: maybe if you figure out what driver is missing, we could enable it 2021-07-20 11:52:36 Doesn't seem to be listing any groups? 2021-07-20 11:56:03 Oh, wait, it has `10` in the GID section, and `wheel`'s GID is `10`. 2021-07-20 12:06:14 This is where I would ask for help yes? 2021-07-20 12:06:35 about what? 2021-07-20 12:07:04 Driver issue 2021-07-20 12:07:14 in alpine linux? 2021-07-20 12:08:31 amdgpu loads but the screen is garbled but vesa which did work no longer loads because "vesa: Refusing to run on UEFI" 2021-07-20 12:08:47 Yes 2021-07-20 12:08:57 yes 2021-07-20 12:09:27 did you recently update? 2021-07-20 12:10:10 I had to reinstall because kde sleep for some reason killed my system 2021-07-20 12:10:51 But the driver that worked was vesa. And amdgpu does not. 2021-07-20 12:13:52 Vesa also does not appear in /lib/modules 2021-07-20 12:15:01 But amdgpu does 2021-07-20 12:15:27 Despite being blacklisted and uninstalled 2021-07-20 12:17:28 i'm willing to bet $20 that there is nothing wrong with alpine and anoduck actually needs to read a linux networking tutorial and learn about iptables, tcpdump, ip route get, etc 2021-07-20 12:17:51 Soomppp: what does "screen is garbled" mean 2021-07-20 12:18:16 you also can't uninstall amdgpu kernel driver 2021-07-20 12:18:23 It looks like vomit. Some parts black other parts in random colors 2021-07-20 12:18:31 most likely you are confusing it with xf86 driver 2021-07-20 12:18:46 what do you mean "amdgpu loads" 2021-07-20 12:20:04 If I run starts it says it's using amdgpu. But amdgpu doesn't work. So if I blacklist it to try and use vesa which did work. Then there is nothing in law, lspci or dmesg saying a driver is in use. 2021-07-20 12:20:35 But starts will give no errors about operation if I cancel out from tty 2021-07-20 12:21:00 startx* (autocorrect) 2021-07-20 12:21:21 how did you blacklist 2021-07-20 12:21:29 do you have "screen is garbled" in tty or only in x 2021-07-20 12:21:34 more details. 2021-07-20 12:21:38 In grub which is what I did before 2021-07-20 12:22:02 what *exactly* did you do and what *exactly* were the results 2021-07-20 12:22:10 I have the garble in X only tty is fine 2021-07-20 12:22:47 modprobe.blacklist=amdgpu and previously it would use vesa 2021-07-20 12:23:51 And everything worked beford 2021-07-20 12:28:31 Soomppp: did you check Xorg.0.log? 2021-07-20 12:30:28 I have. The system loads vesa. Then unloads it and loads fb 2021-07-20 12:33:25 huh, apparently busybox does support modprobe.blacklist 2021-07-20 12:33:40 did you check that amdgpu is actually unloaded 2021-07-20 12:33:55 i bet something is wrong with your hardware 2021-07-20 12:38:07 It wasn't listed in lshw or lspci when I would check lsmod 2021-07-20 12:39:14 The thing that bothers me is that vesa does work. Its loaded at boot in the uefi (chromebook) but alpine can not load it because uefi 2021-07-20 12:54:36 probably you are confused by different uses of "vesa" 2021-07-20 12:54:43 same with "amdgpu" 2021-07-20 15:21:26 So I am running alping as docker container and found out if I get the kernel packages (linux-lts, linux-lts-dev), their version differs from that in the container (uname). How can I force it to match the container version? 2021-07-20 15:22:05 uhM, you should get the host kernel version 2021-07-20 15:23:39 donoban: should can a funny word: https://paste.centos.org/view/6e4ba378 2021-07-20 15:25:16 uhm 2021-07-20 15:25:56 Exactly 2021-07-20 15:26:00 Linux 9d324dae2231 4.18.0-240.22.1.el8_3.x86_64 is a centos kernel? 2021-07-20 15:26:09 Yeah 2021-07-20 15:26:19 the docker containers don't run their own kernel like a virtual machine 2021-07-20 15:26:26 they share the host kernel 2021-07-20 15:28:17 I agree. So, is my issue due to this host kernel version not matching what alpine has available? 2021-07-20 15:28:28 xy problem 2021-07-20 15:28:48 you don't need to worry about that 2021-07-20 15:29:00 do you need some special hardware access for the container? 2021-07-20 15:29:09 like gpu passtrhough 2021-07-20 15:30:39 donoban: building netmap 2021-07-20 15:32:13 i don't know it, is it like a kernel module? 2021-07-20 15:34:53 Yep 2021-07-20 15:36:49 uhM, I think that it's possible but will have to deal with the miss version problem and run the container on privileged mode 2021-07-20 15:38:47 Would you also know if the pf_packet module is available for alpine? 2021-07-20 15:40:44 I don't see anything starting with pf_ https://pkgs.alpinelinux.org/contents?file=pf_*&path=&name=&branch=edge 2021-07-20 15:46:48 sorry; I meant pf_ring. Per https://packages.ntop.org/ they do not have it for alpine. So, I might have to change the OS in my container 2021-07-20 15:48:10 you'd need to install any kernel modules at the host level since the host is the thing running the kernel. 2021-07-20 15:49:32 since it looks like pf_ring is licensed proprietary software, the userspace application may not run in the alpine userspace if it's a glibc binary only. 2021-07-20 16:05:07 aiui the new ntop sucks 2021-07-20 16:42:06 you can build ntopng from source on alpine to use it in a container 2021-07-20 17:05:04 Hello71: Dude, I will take your bet. Your attitude is antagonistic. 2021-07-20 17:06:31 Hello71: you were literally 0 help. 2021-07-20 17:11:54 donoban: I suspect it has something to do with the iseego Mifi driver. Debian supported it before alpine, and I suspect it has to do with forwarding packets in the presence of another Wan. But, I could be wrong, have not finished setup yet, and a power surge blew out the computer it sits beside. 2021-07-20 17:25:35 I can't speak for alpine specifically as I haven't done any remotely complex routing with it, but the driver should not matter with regards to routing and switching if you're using generic hardware 2021-07-20 21:23:34 danieli: I don't know. Honestly, grabbing at straws at this point, because it should have worked. Like I said before, I built the router on Ubuntu, before Ubuntu stopped support of i386 architecture. 2021-07-21 02:06:31 clear 2021-07-21 02:06:48 i'm using alpine linux x64 and recently installed netsurf 2021-07-21 02:08:22 however whenever i open it text doesnt display 2021-07-21 02:08:26 it's just a bunch of boxes 2021-07-21 02:08:41 missing fonts 2021-07-21 02:08:51 how could i fix that? 2021-07-21 02:08:58 install more fonts 2021-07-21 02:09:10 it's kind of a battle with Alpine honestly, but you only have to do it once 2021-07-21 02:10:49 where does netsurf look for fonts? 2021-07-21 02:11:35 search the package repo and install font packages 2021-07-21 02:11:46 usually they will have the substring "ttf" in them or "font" 2021-07-21 02:13:22 sometimes I still see the boxes, but typically it's from languages I can't read anyway 2021-07-21 02:14:10 any recommendations? 2021-07-21 02:14:27 i'm not very picky on fonts 2021-07-21 02:15:56 https://termbin.com/xhl7 2021-07-21 02:15:58 that's what I've got 2021-07-21 02:16:24 that's just a simple grep for ttf and font, some of those are not fonts :p 2021-07-21 02:16:44 thinking about installing the xfree86 font package 2021-07-21 02:23:45 so text works, but it doesn't seem like netsurf can display some images 2021-07-21 02:23:56 what do i need to install for that 2021-07-21 02:26:01 good question 2021-07-21 02:26:16 when you run netsurf from a terminal emulator, the error messages might indicate something 2021-07-21 02:26:31 i just put it into xterm and no errors come back 2021-07-21 02:26:34 missing libs, errors, etc 2021-07-21 02:28:13 i don't get any error messages, but some images, like the ones shown on the netsurf guides, show fine 2021-07-21 02:28:31 maybe netsurf just has a lot of limitations... never used it personally 2021-07-21 02:28:37 looks cool though 2021-07-21 02:28:41 this is the first time i've tried it 2021-07-21 02:28:47 it might be because i'm using cwm 2021-07-21 02:28:53 that might add some additional errors 2021-07-21 02:29:01 idk 2021-07-21 02:29:17 probably not 2021-07-21 02:31:06 https://www.netsurf-browser.org/about/screenshots/images/gtk2-bbc.png 2021-07-21 02:31:11 oi bruv, it displays the beeb 2021-07-21 02:35:51 it's weird how some images work and others don't 2021-07-21 02:36:16 the link you gave worked fine 2021-07-21 02:41:28 i'd use surf but i don't really want to compile webkit 2021-07-21 02:43:11 all browsers suck some serious ass 2021-07-21 02:43:24 please let me know if you find a solution to this problem :p 2021-07-21 02:43:35 except lynx 2021-07-21 02:43:54 i'd use lynx over everything else if it had image support 2021-07-21 02:44:12 aren't there some notcurses browsers out there? 2021-07-21 02:45:37 idk 2021-07-21 02:45:46 this is the first time i've heard of notcurses actually 2021-07-21 02:46:13 so maybe I'm wrong but the way I see this problem is that it takes way too much effort to maintain a browser, and that means money is involved, and that means anyone making a browser is not truly respecting your privacy 2021-07-21 02:46:19 or there are other weird caveats 2021-07-21 02:46:50 idk there's ungoogled-chromium and icecat 2021-07-21 02:55:50 Has anyone done User Mode Linux on Alpine? There's a libvirt-uml package, which implies that it can be a thing, but there's no actual package for uml and trying to build myself fails to compile with "undefined reference to `__sprintf_chk'" (https://gitlab.com/yjftsjthsd-g/docker_uml/-/jobs/1439938458#L1418) 2021-07-21 03:00:29 i'm having issues with SDL2's audio backend, it keeps saying there's no audio device 2021-07-21 03:00:48 SDLTexture rendering doesn't work as well 2021-07-21 03:07:26 Hi, I'm trying to copy a disk partition from one Mac to another. The recipient is booted from an Alpine installer on a flash drive, and the donor is in Thunderbolt target disk mode. I can see a new entry under /sys/bus/thunderbolt/devices, but nothing new in /dev/sd*. How do I get device files for the target drive? 2021-07-21 03:09:30 The recipient's drive is larger than the donor's, so the recipient drive will be partitioned, and I can install Alpine on the spare partition if necessary. 2021-07-21 04:42:23 jjuran does it maybe show up under /dev/disk/* ? I don't have TB, but I wouldn't expect it to show up as /dev/sd* unless it's actually SATA-like 2021-07-21 05:35:52 yjftsjthsd: I thought maybe the trick might be to boot with Thunderbolt already connected, and to my surprise the Mac booted into the system on the target disk. I then booted into the Recovery partition instead, and I'm using dd in Terminal to copy the image onto a second internal drive in the recipient machine. So I can't answer your question yet. 2021-07-21 05:42:46 It should have been done (or nearly so) by now, but apparently the recovery OS puts the machine to sleep when idle, where "idle" includes a dd process actively writing to disk. 2021-07-21 05:50:34 Ew. Darwin's an... interesting OS... 2021-07-21 05:50:40 Good luck:) 2021-07-21 06:05:15 Thanks 2021-07-21 07:09:13 yjftsjthsd: Nope, no /dev/disk* 2021-07-21 09:11:42 anoduck: do you can test that the hardware just works before dealing with routing/forwarding? 2021-07-21 09:42:55 hellp ppl 2021-07-21 09:43:12 t 2021-07-21 09:43:24 I have a question: the setup-disk script, which version of kernel tried to install? 2021-07-21 09:43:52 I ran it today and installed kernel 5.10.51 2021-07-21 09:44:02 last week was 5.10.50 2021-07-21 09:44:09 the week before 5.10.43 2021-07-21 09:44:44 this screws up completely my setup because mkinitfs fails to "compile" properly with proper modules tree 2021-07-21 09:46:21 if I try to boot from a zfs volume, the zfs modules don't make it into the initram, because they are not in sync with the kernel, if it changes every now and then, randomly 2021-07-21 09:46:49 it's very comfusiong to say the least 2021-07-21 09:56:54 if you want stability, stick to a point release (e.g. 3.14) rather than edge. 2021-07-21 09:57:45 that's what I did 2021-07-21 09:58:00 but the setup installs always a different kernel 2021-07-21 09:58:04 my apk point to 3.14 2021-07-21 09:58:21 not edge 2021-07-21 09:58:47 are you looking at /etc/apk/repositories? 2021-07-21 09:58:55 yup 2021-07-21 09:59:17 I stick to 3.14 and LTS kernels/zfs 2021-07-21 09:59:34 my next recommendation, anyway, would be generating a disk image to work from instead of running `setup-alpine` every time you need to install, and using that image as a base. 2021-07-21 10:00:31 We do not promise fixed point releases 2021-07-21 10:00:41 that's what I did: i downloaded the ISO, installed it, but when generating the initram, it gets a different kernel! 2021-07-21 10:00:45 to me this is nonsense 2021-07-21 10:01:11 it seems the setup script downloads a different kernel from the apk during install 2021-07-21 10:01:18 it gets messy 2021-07-21 10:01:18 Most people expect an up-to-date kernel within the LTS release 2021-07-21 10:02:14 I can agree, but what if I need a mkinitfs with other features into it , like ZFS or nvme or other stuff 2021-07-21 10:02:38 the mkinitfs.conf is ratyher standrd, and lacks most of the features 2021-07-21 10:04:44 during install, the vmlinuz image is a 5.10.34 kernel, but into the mkinitfs you get 5.10.50, with wrong zfs modules and the rest, so the system gets screwed at boot 2021-07-21 10:05:04 it's a total mess 2021-07-21 10:05:48 adding features asap to mkinitfs.conf ? 2021-07-21 10:30:58 setup-disk has some checks if nvme or others are needed and add them to mkinitfs.conf automatically 2021-07-21 10:31:33 wyk72: if you upgrade your system, zfs should follow the kernel. 2021-07-21 10:34:56 I need something more "manual" I guess 2021-07-21 10:40:41 you could use a rootfs image… 2021-07-21 10:54:47 wyk72: do you use aports zfs package? 2021-07-21 10:56:43 no I just use the standard .iso (3.14 x86-64) 2021-07-21 10:56:52 I am trying to use extended 2021-07-21 10:56:58 to get zfs out of the box 2021-07-21 10:57:22 but still, when it installs, it gets differente kernel/modules into mkinitfs 2021-07-21 10:57:29 and I find it very very strange 2021-07-21 10:57:50 and anso 2021-07-21 10:57:56 the package gummiboot moved to edge 2021-07-21 10:58:06 for whatever reason 2021-07-21 10:58:26 I find it difficult to track packages going bach and forth from repositories 2021-07-21 10:58:32 it gets tricky 2021-07-21 10:58:57 sometimes edge sometimes testing sometimes community 2021-07-21 10:58:59 omg 2021-07-21 10:59:04 it's so weird 2021-07-21 11:11:41 im playing around with alpine and qemu. i tried the netboot variant to install something... but alpine-setup doesnt find any harddrives i added to qemu. no problem with the standard iso and qemu. lacks the virt kernel moduldes for harddrives? 2021-07-21 11:47:30 alpine-virt was fine for me 2021-07-21 12:05:01 lopid: even when using setup-alpine and harddrives? 2021-07-21 12:06:01 yes: -device virtio-blk-pci,drive=disk0,iothread=io1 -drive if=none,id=disk0,file="$image",aio=threads,cache.direct=on 2021-07-21 12:06:44 -object iothread,id=io1 2021-07-21 14:35:23 Using wpa_cli, I'm seeing my network as connected, but I can't ping. Done add_network and enable_network, the ssid is correct, it's open so key_mgmt is set to none. Reassociating didn't help. What can I do next? 2021-07-21 14:37:30 bovis: do you have an IP? Do you have a default route? 2021-07-21 14:41:19 Ikke: IP is shown as 192.168.1.6. Unsure how to answer your second question. 2021-07-21 14:41:47 ip route show 2021-07-21 14:43:01 or "ip r" for short 2021-07-21 14:43:06 Yes 192.168.1.1 2021-07-21 14:43:32 Can you ping that IP? 2021-07-21 14:44:53 Ikke: To 192.168.1.1 there's 100 percent packet loss 2021-07-21 14:45:19 then your problem is on L2 or L1 2021-07-21 14:45:22 what does your arp table show? 2021-07-21 14:45:40 can you see your router in the output of "arp -a"? 2021-07-21 14:46:08 (or "ip neigh") 2021-07-21 14:47:28 ip neigh / ip n works too 2021-07-21 14:48:07 i think the full name of that one is "neighbour" fwiw 2021-07-21 14:48:14 ACTION nods 2021-07-21 14:48:38 arp -a shows: ? (192.168.1.1) at on wlan0 2021-07-21 14:49:06 seems like your computer doesn't know your router's MAC address in that case, suggesting something is wrong with the physical link or on the ethernet layer 2021-07-21 14:49:16 what does "ip l" say about the link itself? 2021-07-21 14:49:18 danieli: this is wireless 2021-07-21 14:49:38 ikke: oh right, i forgot for a second 2021-07-21 14:51:11 Lopid: ip neigh: FAILED 2021-07-21 14:51:59 danieleli the link to wlan0 is up 2021-07-21 14:57:42 anything useful on the router? 2021-07-21 15:00:37 lopid I don't have access to any equipment. This computer successfully connects to my home router. I'm in a public space at the moment. 2021-07-21 15:02:04 do you need to go to a special web page to be let on the network, or something? 2021-07-21 15:04:33 lopid Not here. Library with an open network and no splash page. 2021-07-21 15:42:23 Ikke lopid Daniele: 'udhcpc -i wlan0' made things work. Why was that step necessary? 2021-07-21 15:43:06 bovis: didn't you have an IP on the wlan0 interface yet? 2021-07-21 15:44:40 wpa_supplicant only manages the wireless part, it does not request IP addresses 2021-07-21 15:45:25 ikke: 'ip addr show' showed an ip for my device previously. Looks much different now. 10.26... instead of 192.168... 2021-07-21 15:45:50 So apparently you still had on old (static?) address on there 2021-07-21 15:46:53 Must have been. Crap I forgot about the static IP. 2021-07-21 15:49:10 Thanks. I appreciate the guidance. 2021-07-21 16:44:39 what kernel hardening measures does alpine linux provide nowadays? I believe in the past grsec and PaX were used, and I was wondering if there was something similar being used instead 2021-07-21 16:55:40 onelegend: I believe it's just a standard mainline kernel these days. https://git.alpinelinux.org/aports/tree/main/linux-lts?h=master 2021-07-21 16:55:56 it is 2021-07-21 16:55:57 yeah, there's a few patches but that's it. 2021-07-21 17:04:11 well, building it with muslc and some protection gcc flags could be considered "hardening"? 2021-07-21 17:04:28 kernel does nothing with musl 2021-07-21 17:04:38 ahh lol 2021-07-21 17:04:49 I didn't know 2021-07-21 17:05:05 a lot of hardening only makes sense if alpine is the host, anyway 2021-07-21 17:05:16 muslc/glibc are like a layer upper linux? 2021-07-21 17:07:22 it's also not muslc 2021-07-21 17:10:47 donoban the C library is the lowest level user space library for C applications in userspace. 2021-07-21 17:11:51 the kernel has zero library dependencies and is fully self-contained. 2021-07-21 17:12:18 ok I see 2021-07-21 17:12:40 the syscalls are exposed by the kernel with kernel headers? 2021-07-21 17:13:04 syscalls are exposed by interrupts and the amd syscall_enter instruction 2021-07-21 17:13:50 yeah, there's no C stuff that is required for an application to use a syscall. non-C applications, for example, run fine on a linux kernel. They can make syscalls too. 2021-07-21 17:14:40 I'm not sure if syscall numbers are exposed in headers, are they ? 2021-07-21 17:14:42 you could have a non-C kernel on an x86_64 system that implements syscalls and its userspace applications could be in any language and use those syscalls 2021-07-21 17:15:45 I think the posix standard may define what syscalls are and both the kernel and userspace implementations follow that. 2021-07-21 17:16:23 man 2 syscalls 2021-07-21 17:16:23 of course, linux has some differences from vanilla posix, but the linux userspace application compilers would be aware of those 2021-07-21 17:16:40 that's my understanding, but I'm also remembering back to my very few computer science classes years ago. 2021-07-21 17:17:10 but a userspace application doesn't interact with the kernel via C library linking at all. 2021-07-21 17:17:12 hehe thank you all 2021-07-21 17:17:32 the kernel headers are really only needed if you want to compile something for that particular kernel, like a third party module. 2021-07-21 17:18:20 so both kernel and C lib have same syscalls defined in their own headers 2021-07-21 17:18:26 lists syscalls but not numbers 2021-07-21 17:18:48 it may be the compiler and not the C library. I'm not sure where that actually is. 2021-07-21 17:18:53 that's suspicious 2021-07-21 17:20:38 donoban good way to put it 2021-07-21 17:21:06 yup, it's the C library. 2021-07-21 17:21:09 neat 2021-07-21 17:21:23 this is why I like IRC questions. I like having something that compels me to think. :) 2021-07-21 17:22:52 hehe I felt a little idiot thinkg that kernel could be build with glib or musl but It's nice too :D 2021-07-21 17:24:51 donoban there's nothing that stops a kernel from being linked with a userspace library, just that it needs to be a static lib 2021-07-21 17:25:35 uhM, but in theory it doesn't use all self-included code? 2021-07-21 17:25:58 do you mean that you could add some lib if you want? 2021-07-21 17:26:12 the kernel does use printf, time and others 2021-07-21 17:27:30 yes you could ... in theory ... but the kernel doesn't call it's own functions as printf/time/etc 2021-07-21 17:27:47 but kprintf/kwhatever 2021-07-21 17:29:03 https://kernelnewbies.org/FAQ/LibraryFunctionsInKernel 2021-07-21 17:30:15 t0d0 add "read kernelnewbies faq" :D 2021-07-21 17:31:54 yes, but see that they mentioned that you can 'adapt' libraries for kernel use 2021-07-21 17:32:29 it's just like they said 'error prone' 2021-07-21 17:33:35 gotcha 2021-07-21 18:57:13 glib isn't the same thing as glibc either 2021-07-21 18:58:24 hi, i have problem with dns. In my configuration there is 2 nameserver in resolv.conf, first resolve my internal domain and second don't. On any other image everythigh works, but on alpine curl can't resolv internal domain in this configuration. 2021-07-21 18:58:47 someone know how to solve this? 2021-07-21 18:59:15 snickers: https://www.openwall.com/lists/musl/2015/09/15/2 2021-07-21 19:00:48 summary: you should not rely on the order of nameservers in resolv.conf 2021-07-21 19:03:49 ok thanks 2021-07-21 19:04:20 more examples: https://github.com/kubernetes/kubernetes/issues/78138 2021-07-21 21:04:37 have one more problem, I've got some server that return serverfial for all domain that don't have AAAA record, can I prefer ipv4 over ipv6 in alpine? 2021-07-21 21:07:33 don't know about prefer, but you can disable ipv6 at the kernel level 2021-07-21 21:09:24 i try but it don't help. 3.12 works without prblem but 3.13 can't resolve A record for domain that return serverfail for AAAA record 2021-07-21 21:10:25 snickers: ask #musl 2021-07-21 21:10:40 if you're using unbound you can set 'do-ip6: no' under 'server:' 2021-07-21 21:10:58 But these are known issues, dns servers should not return SRVFAIL 2021-07-21 21:11:01 in those cases 2021-07-21 21:11:17 but sadly there is a lot of broken software 2021-07-21 21:11:53 i can't chaneg DNS configuration so try to solve this on alpine level 2021-07-21 21:14:01 i think in either case (what i suggested, or with ipv6 disabled in the kernel) that doesn't stop ip6 dns lookups 2021-07-21 21:14:12 from a dns record pov 2021-07-21 21:15:34 I wonder if dnsmasq can filter that behavior 2021-07-21 21:17:00 probably. 2021-07-21 21:23:00 i searched and found https://gist.github.com/noseka1/6b7cbeca199db9c4823324bc31214bb2 2021-07-21 21:23:48 there's probably a few ways of solving it, but that's one way i guess. 2021-07-21 21:24:43 I'll try 2021-07-22 00:38:42 What's up? Looks like if I want to 1) not use grub and 2) set up btrfs, I shouldn't use setup-disk. Is this a reasonable assumption? I'm looking through the script and seeing only grub-efi integration for USE_EFI. 2021-07-22 00:39:08 I suppose I could just manually modify setup-disk to do what I need, now that I think about it. That's the nice part about it being bash. 2021-07-22 01:38:41 I'm super late but GNU unifont is a good font to have, it has glyphs for every printable code point in the Unicode Basic Multilingual Plane (BMP), but as tiny bitmaps so the .ttf is only 12 Mb (and other formats 1 Mb) 2021-07-22 02:44:13 Hey does anyone know how mdef determines which order to assign the network card devices? 2021-07-22 02:44:25 mdev 2021-07-22 03:05:36 what's the most secure operating system 2021-07-22 03:05:38 alpine linux 2021-07-22 03:05:40 ez 2021-07-22 03:06:27 openbsd, just ask them 2021-07-22 03:18:36 i don't think mdev adjusts network interface names at all 2021-07-22 03:19:24 skintimidation: you can pass a mounted path instead of a device 2021-07-22 03:19:47 basically using only half of setup-disk 2021-07-22 03:19:58 i kind of feel setup-disk should be split into two scripts to make it more clear that you can use one half and not the other 2021-07-22 03:20:12 Hello71: Looks like that'll still run grub-install for me 2021-07-22 03:20:36 When I can use efibootmgr alone instead; which I should just modify to not use setup_grub()... 2021-07-22 03:20:43 hm. 2021-07-22 03:21:11 i think you might be right 2021-07-22 03:21:15 make it three scripts then :p 2021-07-22 03:21:20 Looks like I could just make a $BOOTLOADER case with my specific settings 2021-07-22 03:21:28 yes 2021-07-22 03:21:40 but i think efibootmgr is too system-specific to make a generic script 2021-07-22 03:21:43 Yeah, in my head, I wish I knew more fundamentally, at the high level, what the linux installation process was all about 2021-07-22 03:22:02 https://wiki.archlinux.org/title/installation_guide 2021-07-22 03:22:32 Ah, will this be a little more along the lines of alpine's compared to the gentoo wiki? 2021-07-22 03:22:39 Gentoo is really informative, but goddamn 2021-07-22 03:22:50 haven't read the gentoo handbook in a long time 2021-07-22 03:23:44 next in mind is how i make sure btrfs can actually run; is that where i chroot and install the obviously required packages? 2021-07-22 03:24:14 the gentoo instructions are also relevant but many sections can be skipped. for example you can skip the section on compiling your own kernel and use a distro kernel instead 2021-07-22 03:25:15 alpine is interesting in that it normally uses neither the arch method of $pkgmgr --root install base nor the gentoo method of unpacking a prebuilt tarball, and instead semi-clones the existing system 2021-07-22 03:25:37 it would probably be nice if alpine had an arch-chroot equivalent 2021-07-22 03:25:55 or if util-linux got a linux-chroot or something 2021-07-22 12:39:31 Another big question: Am I reading this correctly? It seems like if you pass a mounted root to setup-disk, it overrides your choice of bootloader to syslinux. 2021-07-22 12:40:32 nope, it doesn't; it uses the test builtin to check for syslinux; my bad 2021-07-22 13:15:37 If I'm not using syslinux, update-extlinux.conf isn't necessary, right? 2021-07-22 13:31:05 it's used for grub config generation 2021-07-22 13:31:09 because ugh 2021-07-22 13:31:11 I'm also curious how mkinitfs.conf gets pulled into the mix, as I can't find it being used anywhere in the script 2021-07-22 13:31:28 Hello71: lol, so if i'm not planning on using grub, i'll just avoid that 2021-07-22 13:31:51 it's unfortunate that now it's all abstracted behind grub-install 2021-07-22 13:33:38 initramfs is totally separate 2021-07-22 13:34:10 other distros also have initramfs 2021-07-22 13:34:25 except default gentoo i guess 2021-07-22 13:35:02 right--i'm just writing my own simplified script to run instead of setup-disk, so i'm working through it and understanding what exactly puts stuff in the order needed 2021-07-22 13:35:17 and it looks like grub_install or something similar does a lot of stuff that isn't detailed in the script 2021-07-22 13:35:32 er, grub-install 2021-07-22 13:36:13 additionally on linux, if you've got a swapfile instead of a partition, do you just put that in the fstab? 2021-07-22 13:38:00 i don't see a part in the script [inside of install_mounted_root()] that calls swapon, so i'm not sure how it konws where the swap is at all 2021-07-22 13:38:13 knows, even; i suppose i can just configure that after first boot 2021-07-22 13:39:15 other docs say it's called on boot, but what script calls that, so i can modify it? 2021-07-22 13:57:36 coreos had a thing called ignition which allows you to manipulate disks during initramfs 2021-07-22 13:57:45 not sure what happened to that since redhat bought them 2021-07-22 13:58:22 but that might be interesting for you? i dunno. 2021-07-22 13:59:14 i don't think so; how are swapfiles used on other systems? does swapon do a persistent change to some config somewhere? 2021-07-22 13:59:29 what normally sets swap during a standard boot? 2021-07-22 14:00:42 that's normally after initramfs. the point of initramfs is to mount the root filesystem 2021-07-22 14:01:04 anyway i was just suggesting ignition if you were doing something weird during boot related to disks 2021-07-22 14:01:20 i didn't carefully read what you wrote 2021-07-22 14:04:10 ah, i see. 2021-07-22 14:04:41 but no one types in "swapon /dev/sda3" or whatever on boot, so what script in a normal alpine install actually calls that? or does it need to? 2021-07-22 14:07:27 that's handled by init, which in your case is probably openrc, which means the localmount service 2021-07-22 14:07:56 that will read fstab and if you have a line for swap in there, it mounts it at that time 2021-07-22 14:08:30 bios -> bootloader -> kernel -> initramfs -> init 2021-07-22 14:08:52 mounting swap is part of init (regardless of whatever init system you're using) 2021-07-22 14:09:24 oh, sweet 2021-07-22 14:09:38 so swapfiles are just files mounted as swap instead of partitions? 2021-07-22 14:09:49 do they need to have special settings like loopback or whatever, then? 2021-07-22 14:10:04 they can be whatever you want 2021-07-22 14:10:10 (i'll have to generate my own fstab instead of using setup-disks) 2021-07-22 14:10:13 huh, wild 2021-07-22 14:11:00 if you're using btrfs, it's a file on a subvolume made for swap specifically 2021-07-22 14:11:32 (caveats apply) 2021-07-22 14:11:38 it just depends on how you want to arrange your disks 2021-07-22 14:11:49 that was another part of where i was confused; can i use btrfs to make the volumes FROM the live environment, without it getting confused on my current livedisk root as well? 2021-07-22 14:12:25 you can make subvolumes at any time 2021-07-22 14:12:35 assuming there's a btrfs fs there 2021-07-22 14:13:08 huh, interesting. in that case, i'll just make the gpt disk, an esp, and then a big partition 2021-07-22 14:13:29 and then btrfs can have the last partition, right? i can't think of another partition i need to care about 2021-07-22 14:13:34 yeah but doing swap on a subvolume in btrfs has to be done a specific way 2021-07-22 14:13:36 so read up on it 2021-07-22 14:13:43 if that's what you're going to do 2021-07-22 14:13:52 do modern SSDs still need to have their partitions undersized somewhat so they can recover from wear? 2021-07-22 14:14:27 skintimidation: SSDs typically have disk-managed excess space 2021-07-22 14:14:34 yeah, i definitely have to do swap on the subvolume if i do it the way i mentioned, as the swapfile existing on my main subvolumes would disable some other utilities (snapshotting, etc) 2021-07-22 14:15:14 oh, ok, nickersonm. and they won't take any unallocated stuff for themselves afterward? 2021-07-22 14:16:36 skintimidation: they tend to do better with more free space, but the various full-write tests I've seen didn't impact performance terribly with modern SSDs. Always model-dependent, though. Unless you're going to use the disk at 90% capacity, don't bother downsizing the partitions. It's free space that they care about, not partitioned space. 2021-07-22 14:17:14 Ah, sweet. 2021-07-22 14:17:28 skintimidation: also, don't forget to disable CoW (chattr +C) on any swapfiles you make on btrfs (or mount nodatacow, which it sounds like you might be doing). Easiest to just have a swap partition imo, or just use a small zram swap if you have plenty of real RAM. 2021-07-22 14:17:33 Alright, quick nap before I come back. Thanks for the help so far. 2021-07-22 14:18:20 what's a zram swap? 2021-07-22 14:18:27 like with real RAM? 2021-07-22 14:19:05 onelegend: yea, it's essentially a compressed ramdisk used as swap 2021-07-22 14:19:05 the swap-on-btrfs thing is nice to have if you're running luks on raw disk. (i know, corner case, but interesting.) 2021-07-22 14:19:31 onelegend: https://fedoraproject.org/wiki/Changes/SwapOnZRAM#zram_Basic_function 2021-07-22 14:19:59 ah 2021-07-22 14:22:06 invoked: i settled on using ATA security for my fde; i can set that up at any time, luckily 2021-07-22 14:22:19 it just relies on the research i did for this particular drive being accurate 2021-07-22 14:22:21 lol 2021-07-22 14:22:23 invoked: oh yeah, unpartitioned btrfs [on unpartitioned luks] 2021-07-22 14:22:47 for paranoia reasons :) 2021-07-22 14:23:26 but then if you're going to go that far, you'll want a removable bootloader 2021-07-22 14:23:39 so on and so forth 2021-07-22 14:24:06 evil maids exist! 2021-07-22 14:24:28 https://wiki.alpinelinux.org/wiki/Gaming_on_Alpine 2021-07-22 14:24:42 I love how the person who wrote the article is like "Gaming on Alpine is a thing" 2021-07-22 14:25:20 yeah, i was thinking about that quite earlier, which is why i settled on ata security--the drive doesn't even present itself without the password, and you can disable the master pass, and modern controllers properly tie the password to the encryption key cryptographically, lmao 2021-07-22 14:25:43 i don't trust on-device security 2021-07-22 14:25:58 but that's me. too many years of garbage to even bother giving it more chances 2021-07-22 14:28:13 invoked: i think i can agree in a lot of ways; i'm worried that eventually something in the firmware will explode and lock me out of the data forever unless i get an xray machine or some shit, lol 2021-07-22 14:28:16 but that'll just encourage me to do proper backups, right? RIGHT? 2021-07-22 14:28:19 then again, if crucial would just publish their firmware source, i'd be able to check if it was using some real crypto for the drive, as well 2021-07-22 14:28:34 it's unfortunate, since the diagram in my head of "CRYPTO ON CRYPTO" seems so wasteful compared to "good crypto once" 2021-07-22 14:29:10 well. the thing is, most of the time, the device manufacturers don't take security seriously. it's just marketing 2021-07-22 14:29:36 it's a thing many of them just tack on so they can charge more for it 2021-07-22 14:30:38 and by the time anyone in the security field has an opportunity to inspect the device and find it's crap, everyone has moved on 2021-07-22 14:31:37 so imo, stick with what works across everything, and gets regular attention: software 2021-07-22 15:29:25 ACTION < https://matrix.org/_matrix/media/r0/download/matrix.org/xRLRZntgOfwBLvJkEaHIdtPE/message.txt > 2021-07-22 15:30:08 dekedro[m]: https://tpaste.us/r6eL 2021-07-22 15:31:12 dekedro[m]: http://vpaste.net/vZImh 2021-07-22 15:31:19 https://tpaste.us/PrMx 2021-07-22 15:32:44 regarding your problem, yes, I get it as well 2021-07-22 15:35:04 Sorry, my bad, I will try to not use multiline next time. About krita: Looks like a bug, I will open issue on gitlab 2021-07-22 15:35:30 It probably needs to be rebuilt 2021-07-22 15:36:25 quazip-1.1-r0 provides: 2021-07-22 15:36:27 so:libquazip1-qt5.so.1.0.0=1.1 2021-07-22 15:36:51 Doesn't look like rebuild will help, no? 2021-07-22 15:42:16 invoked: "part of init" is not really correct 2021-07-22 15:42:41 alpine uses busybox init, not openrc-init. busybox init invokes openrc, but not as pid1 2021-07-22 15:43:22 skintimidation: i don't think ssds ever actually required undersized partitions 2021-07-22 15:43:47 if that were true, then making a too-big partition would permanently damage the ssd 2021-07-22 15:44:01 > modern controllers properly tie the password to the encryption key cryptographically 2021-07-22 15:44:57 no they don't. most drives don't even advertise that the ATA password is used for encryption, and even the ones that do usually suck balls: https://www.ieee-security.org/TC/SP2019/papers/310.pdf 2021-07-22 16:01:49 Hello71: fair. i'm on runit, but i was attempting to explain the overall boot process 2021-07-22 16:02:18 more specifically to their question about how swap gets handled 2021-07-22 18:03:10 I distinctly remember krita not working at all on my laptop ages (last year) ago. 2021-07-22 18:05:19 any article on ata security. 2021-07-22 18:05:19 Hello71: Just for the ultimate dox, I actually read that paper and emboldened my feelings about it. The Crucial MX100 failed to cryptographically secure the key with the password. The MX200 actually did this, and the only way the researchers could get an "easy gotcha" exploit on the MX200 was if you didn't clear the master-pass, and they say "it's unlikely to be cleared," which is true if you aren't actually serious about reading 2021-07-22 18:06:13 I'm using the MX500, and I do realize that it's possible that the controller being a later generation might have rolled back the security, but I'm hopeful enough that the two-datapoint trend I saw made it through the rest of development. ;D 2021-07-22 18:06:39 or use luks and have actual security 2021-07-22 18:10:15 LUKS 2021-07-22 18:10:26 skintimidation: in the past several vendors implementation of drive encryption have been shown to be woeful 2021-07-22 18:16:54 Hello71: The problem again with luks is that real full-disk encryption involves me doing EVEN MORE crazy shit to avoid grub 2021-07-22 18:17:27 minimal: Right--though it's a case by case thing, and that paper seemed to not analyze the underlying encryption much, sadly 2021-07-22 18:18:15 my bad, they verified that it was the mx300 that was good. they progressively got better over three drives 2021-07-22 18:18:24 which i think is sufficient to project going forward 2021-07-22 18:18:33 minimal: what's your reason(s) for avoiding Grub? 2021-07-22 18:18:42 s/minimal/skintimidation/ 2021-07-22 18:18:42 minimal meant to say: skintimidation: what's your reason(s) for avoiding Grub? 2021-07-22 18:19:00 heh; you answered it in your typo, minimal. ;P 2021-07-22 18:19:17 if i can just use the kernel to boot, then i'll just use the kernel to boot 2021-07-22 18:19:54 I assume you want to use drive (hardware) encryption to handle the fact that the ESP partition can't be encrypted 2021-07-22 18:20:46 so instead you'll be at the mercy of the drive vendor's (in)competence 2021-07-22 18:20:57 right, and then if you use grub i learned that it can't decrypt luks2, and what the hell 2021-07-22 18:22:21 skintimidation: re: luks2, you mean on Alpine? yeah there's something wrong with grub-mkconfig on Grub 2.06 regarding luks2, I started investigating it - basically its not putting "insmod luks2" and "cryptmount -u ....." into the generated grub.cfg. I need to find some more time to develop a fix for it 2021-07-22 18:22:24 i'm probably safer saying it here, but being at the behest of gnu (in)competence is also part of the grub problem--i know it works, but then you get ludicrous bugs like the 28-backspace auth bypass 2021-07-22 18:23:58 and at the entire end of all of it, there's just no need to use grub when i don't change the options very often and the kernel can boot its own damn self; i hear you can also just put in an initramfs into your kernel to do all of the decryption, etc, etc, and i was considering moving things off of a disk, but i'm much closer to actually getting my system up and running with the model i have in my head 2021-07-22 18:24:15 because i guarantee i'm going to fuck it up given the resources i've read and how sparse they are for modern implementations 2021-07-22 18:25:02 the fact that there is no single resource that does anything regarding encryption with UEFI boot that doesn't involve grub, for example, makes it just hella impossible to parse how i'd go about tying together two guides, since there's no documentation telling me at a higher level what needs to be where 2021-07-22 18:25:15 yes initramfs in Alpine handles decryption - in a FDE conifg that's *after* Grub itself has decrypted /boot to get at the kernel and initramfs files 2021-07-22 18:25:40 (not accessed well by someone who's been using google for apparently too long before they started making it impossible to find anything) 2021-07-22 18:25:41 or in the situation of "everything but /boot encrypted" then the initramfs also takes care of it 2021-07-22 18:25:50 i can't even find in the alpine scripts where the initramfs is created 2021-07-22 18:26:33 skintimidation: I've been doing Alpine encryption with Syslinux as well as Grub, including UEFI. Obviously with Syslinux you can't encrypt /boot 2021-07-22 18:27:03 BTE I recently submitted a mkinitfs MR for adding SSH-based remote encryption unlock at boot time 2021-07-22 18:27:08 s/BTE/BTW/ 2021-07-22 18:27:08 minimal meant to say: BTW I recently submitted a mkinitfs MR for adding SSH-based remote encryption unlock at boot time 2021-07-22 18:27:33 initramfs is created by the mkinitfs tool 2021-07-22 18:32:48 skintimidation: you might be interested in the script I'm working on to see how I set up Grub and Syslinux including for encryption 2021-07-22 18:33:13 I have some alpine server with ssh unlocking but I need to look careful when upgrading kernel 2021-07-22 18:34:05 donoban: your own custom code? I submitted this 1 week ago: https://gitlab.alpinelinux.org/alpine/mkinitfs/-/merge_requests/86 2021-07-22 18:35:03 well I configured it using some example, maybe the wiki, but I remeber that std upgrade breaks it 2021-07-22 18:36:07 donoban: breaks it how exactly? the initramfs should be auto re-generated when kernel updates. Are you using run-from-ram or data mode? I'm only using "sys" based installs 2021-07-22 18:36:42 how would remote encryption unlock work anyway? 2021-07-22 18:36:50 some pxe server running a minimal ssh situation? 2021-07-22 18:36:59 I think that it just ignores it, the standard initramfs generation ignores that module/freature... so I needed to run a custom mkinitfs command 2021-07-22 18:37:15 I didn't boot it in months hehe 2021-07-22 18:37:32 I tried to do some routing experiment 2021-07-22 18:37:48 skintimidation: nope, initramfs start dropbear and waits for a key-connection, then prompts you are usual for passphrase, then unlocks LUKS as usual, kills dropbear, and boot continues as usual 2021-07-22 18:38:12 I guess that your solution is properly integrated with kernel upgrades 2021-07-22 18:39:27 how do you do any initramfs modifications like that? 2021-07-22 18:39:47 skintimidation: https://gitlab.alpinelinux.org/alpine/mkinitfs/-/merge_requests/86 2021-07-22 18:40:23 though its been a week with no comments/feedback - mkinitfs development seems to be infrequent so it might be weeks or months before this gets merged (if at all) 2021-07-22 18:41:21 I think that also a LUKS handling option for setup-disk would be nice 2021-07-22 18:42:19 donoban: I thought setup-disk handled LUKS? Haven't used it in more than 1 year, I create my own (encryped) disk images using my own script 2021-07-22 18:44:28 I think that it doesn't handle LUKS setup 2021-07-22 18:44:54 you have to luksFormat, luksOpen... and then call setup-disk 2021-07-22 18:45:07 donoban: maybe I could interest you in my script then :-) 2021-07-22 18:46:10 what is your script? 2021-07-22 18:46:38 https://github.com/dermotbradley/create-alpine-disk-image 2021-07-22 18:47:01 need to push an update to it shortly - am finishing up a major restructuring of it at present 2021-07-22 18:47:33 it designed to create server-oriented disk images that you then write to SSD or HDD using "dd" 2021-07-22 18:48:02 uhM 2021-07-22 18:49:04 skintimidation: for a grub alternative, I know systemd-boot does FDE just fine; you may want to look in to gummiboot on alpine. Not sure what support or capability there is, but there is a package. 2021-07-22 18:49:26 i can just use the kernel 2021-07-22 18:49:27 i don't see why that's a bad idea 2021-07-22 18:50:14 gummiboot is also unmaintained and also doesn't support encrypted /boot 2021-07-22 18:50:43 it looks nice minimal 2021-07-22 18:50:49 skintimidation: that would work as long as you pass command options like "cryptroot=UUID" etc to the initramfs 2021-07-22 18:50:51 imo encrypted /boot is useless in 99.99% of cases 2021-07-22 18:51:37 donoban: thanks. The rework will make things somewhat simpler/run less code with root privs 2021-07-22 18:53:40 Hello71: encrypted /boot might have made more sense in the past (with BIOS) but as UEFI needs an encrypted ESP partition it makes less sense now 2021-07-22 18:53:53 s/an encrypted/an unencrypted/ 2021-07-22 18:53:53 minimal meant to say: Hello71: encrypted /boot might have made more sense in the past (with BIOS) but as UEFI needs an unencrypted ESP partition it makes less sense now 2021-07-22 18:54:03 what is the threat model 2021-07-22 18:55:25 worry that kernel and/or initramfs could be modified - these days SecureBoot is intended to "take care" of that without needing encryption 2021-07-22 18:56:47 skintimidation: you may find this informative: https://www.cogitri.dev/posts/04-secure-boot-with-unified-kernel-image/ 2021-07-22 19:06:50 nickersonm: 1 thing in that article that isn't clear/doesn't make sense to me is regarding "--loader "\alpine.efi" the location of the Unified Kernel Image, in relation to the EFI partition, since we used /boot/alpine.efi then we set it to \alpine.efi" 2021-07-22 19:07:50 as I'd expect that the contents of the ESP partition with be a "EFI" dir with at least a "boot" subdir of that - so unless EFI/boot is mounted onto /boot then /boot/alpine.efi would not appear as EFI/boot/alpine.efi in the ESP partition 2021-07-22 19:08:41 minimal: looks like they mounted sda1 as /boot, and generated the kernel image on /boot/alpine.efi 2021-07-22 19:08:54 imo easier to just boot off usb on a keyring than mess with any of that stuff, unless you're paranoid about usb and put nail polish on all the ports. but you'd still need to know (somehow) that your bios wasn't tampered with. 2021-07-22 19:09:11 which is close to impossible 2021-07-22 19:09:29 nickersonm: right, but to be UEFI-compliant sda1 would need to contain "EFI/boot" directory hierarchy 2021-07-22 19:10:24 minimal: No need for an EFI subdirectory explicitly afaik? They're essentially just passing "/dev/sda1/alpine.efi" as the EFI boot option. Perhaps it's noncompliant with the spec, but works with most implementations? 2021-07-22 19:10:29 invoked: bios? I thought we were talking about UEFI 2021-07-22 19:11:33 nickersonm: it certainly wouldn't be interchangable with any other bootloader. Not sure about the spec - think I looked at it once a couple of years ago and almost lost the will to live ;-) 2021-07-22 19:12:54 nickersonm: I've even seen some discussion of uppercase/lowercase/case-independant issues with the naming of "EFI/BOOT" vs "EFI/boot" paths in some vendors UEFI implementations 2021-07-22 19:13:22 minimal: Hah. I've not dared that. Re. other bootloaders, yeah - the author cleaned up everything else and only has the unified kernel image 2021-07-22 19:14:56 nickersonm: I haven't (yet) tried creating ESP partitions smaller than 128MiB as apparently that's the smallest the standard permits 2021-07-22 19:18:11 minimal: I didn't realize that. I use 100MB for my EFI VMs, from following standard BIOS partitioning and transitioning to EFI instead 2021-07-22 19:20:21 nickersonm: actually from a quick search it seems that 100MiB is a Microsoft recommendation for Windows, not sure where I got 128MiB from - again I guess to be sure of what the min is involves looking at the spec :-( 2021-07-22 19:22:09 In any case, my EFI VM has 288k actual usage on /boot/efi and 20.8MB on /boot (not a separate partition), so any MB seems like more than enough 2021-07-22 19:30:41 nickersonm, yeah I wanted to have the ESP partition, um, minimal in size :-) Have a brief look at UEFI 2.5 spec and it doesn't define the layout of the ESP filesystem in much detail: "For more information about the EFI file system and file image format, visit the web site from which 2021-07-22 19:30:41 this document was obtained". Doh! 2021-07-22 19:32:54 minimal: hah. Depending on your bootloader, you might be able to get away with a 1MB EFI partition - it sounds like UEFI is ill-defined or at least ill-implemented enough that the best test is to try it and see if it works. 2021-07-22 19:34:22 nickersonm: more details relevant to the dir structure: "An EFI system partition that is present on a hard disk must contain an EFI defined directory in the 2021-07-22 19:34:22 required to be stored in any specific location in the EFI system partition." 2021-07-22 19:34:22 subdirectories below EFI. Applications that are loaded by other applications or drivers are not 2021-07-22 19:34:22 root directory. This directory is named EFI. All OS loaders and applications will be stored in 2021-07-22 19:35:20 so a "EFI" top-level directory is required (for a hard disk) with bootloader inside that but seems that files loaded by a bootloader don't themselves have to be inside "EFI" 2021-07-22 19:35:52 minimal: Thanks for looking it up; sounds like the article from earlier should have used /EFI/alpine.efi 2021-07-22 19:38:16 nickersonm: I'm interested in getting my understanding of this straight as I had Syslinux booting via UEFI in the recent past with a ESP partition and a /boot partition where I had to copy the kernel/initramfs across to the ESP (as Syslinux UEFI only supports loading files in the same directory as itself). I then decided to instead have just a ESP partition and to bind-mount /efi/boot/ as "/boot" to avoid the need to copy kernel/initramfs 2021-07-22 19:38:16 across after every update but its not currently working... 2021-07-22 19:41:45 minimal: yeah, I don't see why the ESP can't just be mounted as /boot; I've seen that in some guides. 2021-07-22 19:44:18 nickersonm: its a Syslinux-specific issue - Syslinux's own files need to be in EFI/boot/ in the ESP partition and (due to Syslinux) kernel/initramfs need to be in the same directory - so EFI/boot on partition needs to be (bind)mounted at /boot for Alpine to place/update kernel/initramfs files 2021-07-22 19:44:54 if Grub or something else is used its not an issue 2021-07-22 19:46:16 minimal: ah, I see. I wasn't able to get EFI working with syslinux after a bit of effort, likely related to that. grub worked just fine, so I didn't bother investigating in detail. 2021-07-22 19:47:31 yeah I had it working in my script (with seperate ESP and /boot parts) and then changed it to use the simgle ESP plus bind-mount menthod but haven't had the time to track down what exactly broke with that change 2021-07-22 19:48:19 There's no install script for Syslinux UEFI - you have to copy the right files across manually 2021-07-22 19:50:59 Yeah, I was following https://wiki.alpinelinux.org/wiki/Bootloaders#EFI and https://wiki.archlinux.org/title/syslinux#UEFI_Systems 2021-07-22 19:55:42 nickersonm: me too :-) In the Arch box in the "UEFI Systems" the 2nd bullet point is both right (1st sentence) and sort-of-wrong/misleading (2nd sentence) as if you mount ESP part as /boot/ then you'd have to copy kernel/initramfs from /boot to /boot/EFI/syslinux/ everytime they change (hence my bind-mount idea) 2021-07-22 19:57:10 s/box/article/ 2021-07-22 19:57:11 minimal meant to say: nickersonm: me too :-) In the Arch article in the "UEFI Systems" the 2nd bullet point is both right (1st sentence) and sort-of-wrong/misleading (2nd sentence) as if you mount ESP part as /boot/ then you'd have to copy kernel/initramfs from /boot to /boot/EFI/syslinux/ everytime they change (hence my bind-mount idea) 2021-07-22 20:06:11 I'm pretty certain I don't need a unified kernel image for my setup, luckily. 2021-07-22 20:08:57 It's really crazy how much this is revealing to me that the only method of doing anything with machines anymore is patching together a series of guides. Any search I come up with is just inundated with guides that do x, when all I want to do is y. 2021-07-22 20:08:59 It would be so nice if there was some more central resource that contained the variations that each distro did for how linux is supposed to work, since I'm pretty sure linux IS supposed to work (like that). lol 2021-07-22 20:13:58 that's what linux fram scratch is for 2021-07-22 20:14:47 Do UUIDs refer to drives or partitions? 2021-07-22 20:14:50 Oh, there are PARTUUIDs 2021-07-22 20:28:51 minimal: so would this script you're working on let you LUKS encrypt your own colocated server, or something similar? 2021-07-22 20:29:17 How does the key get safely delivered? Is it just through the fact that ssh is secure, or is there another layer I'm not sure of? 2021-07-22 20:34:31 you need to authenticate the host key 2021-07-22 20:34:49 in that case it's roughly as secure as entering it at the console 2021-07-22 20:34:50 Which device is the host in that case? 2021-07-22 20:34:54 both subject to evil maid attacks 2021-07-22 20:35:38 How would the evil maid get the deets when you're remoting in? You're saying they'd still be able to set up a new firmware that reads your authkey, I suppose? 2021-07-22 20:36:29 So you'd just have to also secure-boot your image in that case, right? One thing I don't get is how secure boot can't just be overwritten by the evil maid--isn't it in the firmware of the booting device? Or is it verified on the encrypted /root? 2021-07-22 20:36:39 er, encrypted root. encrypted /. those are the terms i meant. 2021-07-22 20:39:42 aiui you can store key (or partial key) on tpm 2021-07-22 20:40:22 in theory if evil maid comes to reset your keys, the tpm will also reset, which you can detect from os 2021-07-22 20:40:29 although i'm not sure exactly now 2021-07-22 20:40:30 how 2021-07-22 20:42:43 very interesting; i was thinking maybe they'd replicate your setup on a new board that doesn't have those things, or something like that 2021-07-22 20:43:07 i better start checking my keyboard for hardware keyloggers more often, lmao 2021-07-22 20:43:19 I really hope I can cobble this together today. I've been without a main rig for like a week. 2021-07-22 20:51:37 OH, was thinking about this in the shower: I don't know at all what's going on here: https://github.com/itoffshore/alpine-linux-scripts/blob/master/setup-disk#L284 2021-07-22 20:52:31 does this 1) package up the current livedisk 2) put it in /tmp/ovlfiles and then 3) later unpack the live system into the new root? 2021-07-22 20:53:33 because i only see it do that ONE time, and i don't know where you'd later use the ovlfiles 2021-07-22 20:54:13 $repoflags $pkgs <$ovlfiles 2021-07-22 20:54:13 oh, from here? apk add --root "$mnt" $apkflags --overlay-from-stdin \ 2021-07-22 21:02:29 skintimidation: You're talking about the remote unlocking? For a "normal" machine you need to be at the console/have access to the console to unlock a LUKS partition at boot time, with the remote unlock feature when a machine boots it then during the early start of the initramfs it pauses booting whilst waiting for an SSH connection to be used to give the LUKS passphrase. So it could be used for a headless server (e.g. with no screen or 2021-07-22 21:02:29 keyboard) or could be used with a VM/Cloud server where you have no console access. The ssh connection used SSH-keys only (the initramfs has an authorized_keys file that you configure) 2021-07-22 21:03:11 kinda fun. 2021-07-22 21:03:32 good work on that script; wish i wasn't going a completely different direction, lmao 2021-07-22 21:03:59 i'll keep it in mind for future installs outside of me house, though, because that's exactly the kind of thing i wouldn't think about that i should more often 2021-07-22 21:05:49 Hello71: a TPM is like a HSM (Hardware Security Module) but without all the physical protection. Its more akin to a credit card, debit card, SIM card where its "hard" (but not impossible) to extract keys from it 2021-07-22 21:06:34 awww shit that thing 2021-07-22 21:07:05 you're not supposed to store your private keys in there 2021-07-22 21:07:11 well you are 2021-07-22 21:07:14 I'm starting to think I might not even use btrfs 2021-07-22 21:07:21 but you shouldn't store your disk encryption keys in the TPM 2021-07-22 21:07:22 skintimidation: I see notice someone else has combined remote unlock with wireguard VPN for ssh-over-VPN unlocking 2021-07-22 21:07:45 but if i don't choose btrfs from the start, conversion later might not work--I guess snapshotting can be useful for what I wanted, where I could fuck around and then undo stuff 2021-07-22 21:08:30 onelegend: On Windows I believe Bitlocker disk encryption relies on the TPM. 2021-07-22 21:08:45 winblowz 2021-07-22 21:09:00 it does indeed rely on that 2021-07-22 21:10:32 onelegend: using a TPM is just a way to try and "lock" a disk to a specific machine so if someone steal the physical disk, rather than the whole computer, then they can't decrypt it 2021-07-22 21:10:56 tpm is useful for knowing if something that shouldn't have changed has changed 2021-07-22 21:11:19 you can use it for secure boot 2021-07-22 21:11:43 yeah, I'm just talking about it in the context of disk encryption 2021-07-22 21:12:07 minimal: would you use a TPM to store the key? 2021-07-22 21:13:02 haven't used a TPM but I believe you could use it as part of the key derivation 2021-07-22 21:13:51 look up matthew garrett's talks on tpm (@mjg59 on twitter) 2021-07-22 21:14:11 no thanks lol. I 2021-07-22 21:14:25 I appreciate the help tho invoked 2021-07-22 21:14:41 invoked: yes I've read some of his articles in the past 2021-07-22 21:15:25 https://github.com/shpedoikal/tpm-luks 2021-07-22 21:15:30 nice repo 2021-07-22 21:16:11 its an example of how to store a LUKS key on a TPM 2021-07-22 21:16:56 you can write to the TPM? 2021-07-22 21:17:26 onelegend: did you look at the README? 2021-07-22 21:18:12 onelegend: can i help you? 2021-07-22 21:18:30 c705: you're the same boi from libera right? 2021-07-22 21:18:39 sure 2021-07-22 21:21:11 invoked: https://lca2020.linux.org.au/schedule/presentation/64/ is it this one? 2021-07-22 21:21:11 oh yeah? sign this message: 2021-07-22 21:21:16 (kidding) 2021-07-22 21:21:57 YOOOO 2021-07-22 21:22:05 i dunno... i'm not on a machine that i can look at that link. but he's been doing tpm and other security topics for a long time. 2021-07-22 21:22:20 power management also. 2021-07-22 21:22:25 thanks 2021-07-22 21:27:45 <[[OneLegend]]> ok 2021-07-22 21:27:55 <[[OneLegend]]> the group function works differently in oftc 2021-07-22 21:28:59 where does alpine usually put the kernel and stuff when i first install? is it provided from the apkoverlay? just curious so when i copy it and do the efibootmgr stuff i'm not doing anything goofy 2021-07-22 21:35:38 Oh, this might be a useful question, too: I see in setup-disk that grsec is changed for max chroots, but then they don't chroot at all--they just mount /proc and /dev 2021-07-22 21:35:44 so is that necessary? 2021-07-22 21:36:06 is grsec still in Alpine? 2021-07-22 21:36:46 that's something else that i figured wasn't actually true 2021-07-22 21:42:41 [[OneLegend]]: no, and please cut that out. if you want to group a bunch of shit, open another client 2021-07-22 21:42:57 <[[OneLegend]]> ? 2021-07-22 21:43:09 <[[OneLegend]]> umm no thanks 2021-07-22 21:46:12 The biggest thing I don't get now is how you can setup grub BEFORE you install all the packages with apk--how do they get the kernel and stuff? Is it just the one already on the livedisk? 2021-07-22 21:46:57 <[[OneLegend]]> the livedisk 2021-07-22 21:47:42 <[[OneLegend]]> you're operating from a livedisk anyways, so that shouldn't be a problem 2021-07-22 21:47:47 okay, so I'll add that to my script 2021-07-22 21:47:50 things are COMING TOGETHER, BOYS. 2021-07-22 21:47:58 <[[OneLegend]]> :) 2021-07-22 21:49:37 i think the part i don't understand is if efibootmgr's gonna do the copying for me, or if it just does the config and i need to do the copying--i'll probably just do both, lmao 2021-07-22 22:37:33 Nope, I'm convinced i do the copying 2021-07-23 01:52:01 how do you install opengl? i tried using apk list but didn't find anything 2021-07-23 01:56:16 i figure i'll just use glfw 2021-07-23 01:56:51 that could have been solved with a wiki search 2021-07-23 01:56:55 I think you want mesa 2021-07-23 01:57:26 specifically mesa-gl 2021-07-23 02:01:38 i was trying to compile CSE2, which allows you to use GLFW3 or SDL2 as a backend platform for rendering 2021-07-23 02:01:52 hello, just trying to install Alpine on a Raspberry Pi, what is the correct way to go with the disk selection part? 2021-07-23 02:02:20 (the docs here https://wiki.alpinelinux.org/wiki/Raspberry_Pi don't cover setup-alpine at all, just says to run it). 2021-07-23 02:04:46 oh, well I don't know what I did before but it's working now. 2021-07-23 02:04:50 k 2021-07-23 02:05:07 no question then :) 2021-07-23 02:05:21 setup-alpine does pretty much everything and gives you decent control over everything except disk partitioning 2021-07-23 02:05:48 i guess that's what setup-disk is for 2021-07-23 02:23:41 diskless mode seems nice on Raspberry Pi, but how hard would it be to set up a persistent /home ? 2021-07-23 02:54:47 I wish raspberry PI had an SSD bay or something. I know people will say that defeats the purpose but I don't care. I want a tiny minimal linux computer :P 2021-07-23 03:03:57 LACampbell: buy a different computer? 2021-07-23 03:11:31 suggestions? :p 2021-07-23 03:12:03 small cheap desktop computer with SSD that we know linux will run well on. I dunno how many there are 2021-07-23 03:13:58 if you can, try to find an AMD-based version of Intel's compute sticks. 2021-07-23 03:15:15 I used one for working on Adélie for about a year, then Meltdown happened. 2021-07-23 03:23:51 those little things have proper SSDs in them!? 2021-07-23 03:24:03 no, just eMMC 2021-07-23 03:24:41 I'm sure you could find a somewhat bulkier version of the concept that has an m.2 slot, though. 2021-07-23 03:30:07 I'm actually not too clued up on the big difference between eMMC and 'proper' SSDs 2021-07-23 03:32:13 well. SD cards are just MMC in a proprietary package, so eMMC is almost invariably a soldered-on SD card. 2021-07-23 03:45:32 ah 2021-07-23 03:45:39 that clarifies it 2021-07-23 04:07:12 Does btrfs save all of its volume stuff inside the filesystem itself? 2021-07-23 04:07:19 How does it all get loaded up at boot? 2021-07-23 04:20:21 hmm; is gptfdisk not in the repos? 2021-07-23 04:20:41 ah, looks like it's in edge? interesting 2021-07-23 04:43:40 If I move to edge, though, doesn't that change which kernel I'm running and everything else? Can I change to edge and run apk update/upgrade to get that moved over without fucking up my install? 2021-07-23 04:45:22 no, you should not combine different versions 2021-07-23 04:46:14 gptfdisk is in stable releases as well 2021-07-23 04:46:18 https://pkgs.alpinelinux.org/packages?name=gptfdisk&branch=v3.14 2021-07-23 04:59:14 ikke: running "apk add gptdisk" says there's no such packge 2021-07-23 04:59:24 package, even. 2021-07-23 04:59:40 you mentioned gptfdisk, not gptdisk 2021-07-23 05:23:46 my bad; gptfdisk* 2021-07-23 05:29:04 what repos do you use? 2021-07-23 05:35:44 ikke: just the livedisk 2021-07-23 05:36:25 ah, so I guess a standard image without network connection? 2021-07-23 05:39:35 ikke: it's got net, luckily 2021-07-23 05:39:49 oh wtf, now it doesn't 2021-07-23 05:40:30 Make sure there is an online repository enabled in /etc/apk/repositories 2021-07-23 05:41:22 yeah lemme run setup-alpine and then not run setup-disk 2021-07-23 05:41:31 i can avoid that just through saying "none" at the disk prompt, right? 2021-07-23 05:41:42 yes 2021-07-23 05:42:34 will do; glad you're online, ikke. did you write the setup scripts? 2021-07-23 05:42:42 no, I did not 2021-07-23 05:50:07 ah, damn. 2021-07-23 05:50:40 but you're so familiar with it by now i assume that you're able to tell me if my script is gonna asplode my computer 2021-07-23 05:51:01 do you use btrfs? 2021-07-23 05:51:04 nope 2021-07-23 05:54:19 shiiii. 2021-07-23 05:54:34 well, that shouldn't matter too much if i go from there 2021-07-23 05:54:41 are you still using grub/syslinux and bios boot? 2021-07-23 05:54:59 i can't remember if you use alpine at all on desktop 2021-07-23 05:55:34 Not on my desktops atm, I do have alpine vms 2021-07-23 05:58:57 ah, interesting. 2021-07-23 05:58:59 what's the stuff about "where to store configs"? 2021-07-23 06:00:01 weird; i don't see that in my copy of setup-disks 2021-07-23 06:01:00 https://gitlab.alpinelinux.org/alpine/alpine-conf/-/blob/master/setup-lbu.in 2021-07-23 06:03:49 ah, i likely don't need that for a sys install? 2021-07-23 06:03:53 son of a bitch, apk cache directory mount was a big fail 2021-07-23 06:03:56 resource busy 2021-07-23 06:04:24 no, you only need it on a run-from-ram system 2021-07-23 06:04:53 the apk cache directory is optional 2021-07-23 06:06:41 ah, schweet. good to know. 2021-07-23 06:07:16 and you can always set it up later 2021-07-23 06:07:29 it's just a symlink from /etc/apk/cache to the location where you want to store it 2021-07-23 06:11:52 ah, hell yeah. 2021-07-23 06:12:19 what does this line in setup-disk do? lbu package - | tar -C /mnt -zxv > "$ovlfiles" 2021-07-23 12:10:15 magic 2021-07-23 13:37:45 man tar hand hook tar door 2021-07-23 13:38:22 oh wait, okay 2021-07-23 13:38:41 actually no, i still don't know the last part 2021-07-23 13:41:34 if $ovlfiles is an empty string, does > put its value in the variable somehow, or does that get expanded first? if you pass an empty string to the file destination for >, wtf happens 2021-07-23 13:42:53 wat is this "nonexistent directory" shit 2021-07-23 13:52:43 if ovlfiles is empty, you will get an error when writing to such a filename 2021-07-23 13:57:26 yep, just realized from the script it's set right before 2021-07-23 13:57:28 https://gitlab.alpinelinux.org/alpine/alpine-conf/-/blob/master/setup-disk.in#L503 2021-07-23 13:57:35 i'm just "can't read city" or something 2021-07-23 13:57:42 which means i'll brb after a nap 2021-07-23 16:33:02 am i the only one getting warnings when using git-bash-completion? one day i'll look into it 2021-07-23 19:34:50 I'm trying to create bootable media with RaspberryPi. I boot on USB and create bootable media on SD Card. Should that work? I get Resource busy for /dev/sda1 when I run setup-bootable 2021-07-23 19:36:27 are you booting from usb with the sdcard slot unpopulated? I believe some pis can do that if you first boot from sd card and then configure it to do so. 2021-07-23 19:36:54 a workaround might be to boot, and then plug an sd card -> usb adapter into a usb port and then work with the card on that block device 2021-07-23 19:38:13 Thank you. Will try 2021-07-23 19:50:15 does anyone know if it's possible to get v9fs (plan 9 fs over network) to work properly as a /home? some applications misbehave because they fail to create special files such as pipes at their desired locations in /home. 2021-07-23 19:59:09 greatwielder[m]: i keep all my 9 stuff separate, but if you're feeling resilient, you can ask in #cat-v 2021-07-23 19:59:32 someone there might be using it that way. 2021-07-23 20:01:46 or email 9fans, i guess... 2021-07-23 20:02:18 ACTION is not advocating anything 2021-07-24 01:10:00 my vps only has the standard iso; is it possible to "crossgrade" to virtual? (or might I not want to?) 2021-07-24 01:15:01 i think its just a more stripped down kernel 2021-07-24 01:15:13 if it works fine i wouldn't bother 2021-07-24 01:22:52 oh, it was as easy as apk add linux-virt and apk del linux-vanilla 2021-07-24 01:26:52 my next question was going to be if I could jump multiple versions, but that seems to have worked 2021-07-24 04:11:01 ajin: which VPS offers alpine? 2021-07-24 04:18:12 at least Linode does 2021-07-24 04:21:00 nice 2021-07-24 10:11:39 anyone here using tinydm? 2021-07-24 10:12:15 scaleway does as well 2021-07-24 10:12:22 LACampbell: ^ 2021-07-24 10:13:39 thinking more, many VPSes allow you to just upload an ISO. 2021-07-24 10:14:21 yes, or you can even install it over an existing OS 2021-07-24 10:16:22 donoban: all UI's on postmarketOS use it 2021-07-24 10:17:46 PureTryOut1: I installed it but it seems that fails to start without any error 2021-07-24 10:18:52 when it works, does it have some kind of password prompt? Maybe I'm better using autologin, since I have full disk encription I think that it would be fine to get a desktop directly on startup 2021-07-24 10:19:54 It does not no, the point is to auto login 2021-07-24 10:20:14 Did you set a graphical session it should start? 2021-07-24 10:20:44 no, I check the init file and /etc/conf, I didn't find where specify it 2021-07-24 10:20:52 We do `tinydm-set-session -s /usr/share/wayland-sessions/plasma-mobile.desktop` for Plasma Mobile for example 2021-07-24 10:21:07 If you don't use `tinydm-set-session` once then tinydm won't know what graphical session to start 2021-07-24 10:23:07 ok thanks PureTryOut1 , let me try 2021-07-24 10:23:31 it would be nice to add some man-doc 2021-07-24 10:24:31 tinydm: session set: /usr/share/wayland-sessions/sway.desktop 2021-07-24 10:24:36 let's check next reboot :) 2021-07-24 10:29:55 PR's for docs welcome 😉 2021-07-24 10:33:01 yeah I would like to help, is this a good starting point? https://gitlab.com/postmarketOS/pmaports/-/issues/823 (skipping ligthdm comments) 2021-07-24 10:34:39 Uh that issue isn't relevant anymore now we have tinydm 2021-07-24 10:34:56 https://gitlab.com/postmarketOS/tinydm/ is now the place to be 2021-07-24 10:35:25 I'm off for now, if you have more questions you can ask them in #devel:postmarketos.org (or #postmarketos-devel on OFTC) 2021-07-24 10:35:37 it linked to the issue More information: 2021-07-24 10:35:39 pmaports#823 2021-07-24 10:35:45 lol 2021-07-24 10:36:38 I will try to write a wiki page which is more eaiser to check and modify, and when it's ok try to create a tinydm-doc package 2021-07-24 10:36:57 pmOS has his own wiki? 2021-07-24 10:39:22 well, really it doesn't need too much info 2021-07-24 10:39:54 just that you need to call tinydm-set-session 2021-07-24 11:14:09 hi 2021-07-24 11:14:37 any chance to build driver for rtl8814au? 2021-07-24 11:14:48 Is that an in-tree driver? 2021-07-24 11:15:10 don't think so 2021-07-24 11:15:39 i'm trying to build it but not lucky 2021-07-24 11:15:47 3.14 2021-07-24 11:18:35 make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.10.43-0-lts/build M=/srv/service1/drivers/rtl8812au modules 2021-07-24 11:19:01 make[1]: *** /lib/modules/5.10.43-0-lts/build: No such file or directory. Stop. 2021-07-24 11:19:42 when I try to install linux-lts-dev I've got an error 2021-07-24 11:21:25 what error? 2021-07-24 11:22:02 ERROR: Failed to create lib/modules/5.10.52-0-lts/build: No such file or directory 2021-07-24 11:22:02 ERROR: linux-lts-dev-5.10.52-r0: failed to rename lib/modules/5.10.52-0-lts/.apk.7799b9831755df9b8d2bd7bcfbd82d8dc23a1898c8802be2 to lib/modules/5.10.52-0-lts/build. 2021-07-24 12:43:38 PureTryOut1: thanks! it works :) 2021-07-24 14:50:19 does anybody know how to enable predictable interface names over the traditional ethX naming scheme? 2021-07-24 14:50:43 I'm not sure where to start looking - is this part of the kernel config? or is it something in userspace? 2021-07-24 14:52:04 userspace 2021-07-24 14:59:04 afaik its udev that does it in other distros with a 80-net-name-slot.rules 2021-07-24 16:12:49 GreyDev: predictable names should be enabled by default. Adding "net.ifnames=0" to kernel cmdline (i.e. via your bootloader's config) will *disable* predictable names and use the old ethX format 2021-07-24 16:31:05 GreyDev: apk add eudev-netifnames 2021-07-24 16:31:18 also setup-udev etc 2021-07-24 16:38:12 thanks for your help both 2021-07-24 16:38:26 haven't got it working yet but it's a start 2021-07-24 16:38:58 did you setup-udev 2021-07-24 16:39:29 where might I find that script? I don't see it in /sbin/ with the other setup-* scripts 2021-07-24 16:40:36 this is a fresh install (well... run from RAM) of a the regular iso 2021-07-24 16:41:08 so clean boot and add eudev-netifnames, and that is where I am 2021-07-24 16:41:43 AH never mind 2021-07-24 16:41:47 just had to add eudev as well 2021-07-24 16:45:23 Hello. Some files in the GitLab seem to consistently give error 500 when trying to view them, e.g. https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/community/radicale/radicale.pre-install and https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/community/radicale/radicale.initd -- I've also had this before with other files. 2021-07-24 16:48:22 Seems to run into a timeout 2021-07-24 16:50:11 in the meantime, use e.g. https://git.alpinelinux.org/aports/tree/community/radicale/radicale.pre-install 2021-07-24 16:50:18 Gitlab::Git::CommandTimedOut 2021-07-24 16:59:11 GreyDev: seems mdev doesn't handle persistent names "out-of-the-box" but you could add a rule to /etc/mdev.conf to call nameif and then create a /etc/mactab to map MAC addresses to the names you want 2021-07-24 16:59:27 that's if you don't want to use udev/eudev 2021-07-24 17:22:27 Sheila: thanks, didn't know there's another web frontend 2021-07-24 17:58:50 Yeah, we keep it because file browsing in other front-ends is not really performant, or even limits the amount of entries 2021-07-24 18:29:52 donoban: no problem, have fun with it! 2021-07-24 19:27:52 hi all! I'm new to alpine, and wondering what the best way to get security updates is - would it be https://lists.alpinelinux.org/lists/~alpine? In other words, what would be the best way of finding out things like the kernel patch status for CVE-2021-33909? Thank u !!! 2021-07-24 19:28:28 Well, the kernel is kind of an exception 2021-07-24 19:29:03 https://lists.alpinelinux.org/lists/~alpine 2021-07-24 19:29:15 see: security-announcements 2021-07-24 19:29:24 not very active though 2021-07-24 19:29:25 Yes, but we do not make a lot of anouncements there 2021-07-24 19:29:40 In general, here you can view the patch status of packages: https://security.alpinelinux.org/ 2021-07-24 19:29:52 But we do not track CVEs for the kernel 2021-07-24 19:33:09 secfixes-tracker will eventually post to security-announcements, right 2021-07-24 19:33:45 eventually(tm) 2021-07-24 19:33:48 I think the goal was to create issues in gitlab 2021-07-24 19:35:40 That's all very helpful! Really appreciate all the info, and keep up the excellent work 2021-07-24 19:36:20 i'm guessing that most people who would sub to security-announcements is already getting oss-security (et al) so on some level it's just duplicative 2021-07-24 19:36:53 i don't use arch much anymore, but i still get a blast of ASAs every couple of weeks which are completely redundant. 2021-07-24 21:14:59 i totally fooking thought that i was on the oftc one. 2021-07-24 21:21:51 How's everyone been? 2021-07-24 21:25:40 Doing alright 2021-07-24 21:26:23 hell yeah 2021-07-24 21:26:42 I got everything working so far, ikke; had to chroot to fix forgetting my root passwd because it had been a few days 2021-07-24 21:26:48 but getting my stuff going with efibootmgr 2021-07-24 21:27:30 WITHOUT first installing grub 2021-07-24 21:27:33 and it worked, by golly 2021-07-24 21:28:01 Dunno if I can generalize the system setup enough to help you guys out, though, by contributing back to the build scripts 2021-07-24 21:28:09 because it was, overall, pretty simple. 2021-07-24 21:43:51 weird unexpected behavior: after installing, only one of my monitors shows anything (the other doesn't mirror), and it's only like 1/10th of the screen space 2021-07-24 21:44:03 oh shit let's see if it mounted boot 2021-07-24 21:56:48 Interesting. Does the "upgrade to edge" guide on the wiki recommend rebooting? I needed to reboot (or maybe do something else) before running mkinitfs again 2021-07-24 22:27:22 so im battling with a problem... I have a PXE network boot working, but there doesnt seem to be a way for it to install programs from the apk cache, rather than a repository 2021-07-24 22:46:54 i'm totally unsure how to fix that, skaface, but i feel for you 2021-07-24 22:47:07 always crazy when there's a solution that you feel like should be simple, but can't quite hack 2021-07-24 23:02:56 the only option i can think of is somehow creating a local mirror of only the packages i have installed 2021-07-24 23:03:17 like a apk cache sync but make an actual package mirror 2021-07-24 23:04:09 im not sure if thats easily accomplished though 2021-07-24 23:08:45 also, skaface, if you setup-apkcache and then reboot, shouldn't it be installing those programs directly from the cache on boot? 2021-07-24 23:09:42 yeah it should, but i think the initramfs only auto mounts usb type media, it wont automount and use a nfs mount 2021-07-24 23:18:47 oh, is that where the cache would be, skaface? 2021-07-24 23:20:28 who was that cool guy whose name started with an m-- was it mla? 2021-07-24 23:20:46 there's one dude who was a great guy and helped me set up my laptop ages ago; i just can't remember what's necessary to get x to start bspwm, etc etc 2021-07-24 23:21:33 yes, ive been working around the problem by including the local cache directory in the apkovl file, but that would keep the cache in ram unless i clear it 2021-07-24 23:21:58 i guess i could make it empty the cache in a startup script 2021-07-24 23:22:05 that will work 2021-07-24 23:24:50 i believe in you. 2021-07-24 23:30:36 have you looked at how the standard media installs from local repo in the first place 2021-07-24 23:32:15 hello71, wassaaaaap 2021-07-24 23:32:20 pls no 2021-07-24 23:32:41 lmao 2021-07-24 23:32:45 no, i got it working; didn't you see? 2021-07-24 23:32:53 the only thing i need to do now is figure out x 2021-07-24 23:33:05 which means just mounting and copying my dotfiles i'm p sure 2021-07-24 23:39:05 Do you guys use doas or sudo? 2021-07-24 23:45:22 doas, sudo's bloat makes it too insecure 2021-07-24 23:47:31 but it would be nicer if apk had separate commands (not subcommands) for searching, etc. so some they could be nopass and apk del &c not 2021-07-24 23:48:36 it depends. i'm not advocate for either one, but doas does not cover all the sudo use cases. 2021-07-24 23:51:48 LACampbell: virmach.com I just wanted someone who hosted out of the data center right by my house. it's a lot cheaper than $60/month for 1U 2021-07-24 23:52:51 (the question was what vps offers alpine) 2021-07-24 23:53:10 that must have awesomely low lag 2021-07-24 23:53:35 lovely low lag* 2021-07-24 23:53:58 yahoo pings less than 2ms. they must be in the building 2021-07-24 23:56:01 I'm in NZ, options are limited, so my server is about 4 hours away by plane :) it's fine with mosh though 2021-07-24 23:56:14 (typing on it right now) 2021-07-24 23:56:18 2ms pings must be great for timing attacks :> 2021-07-24 23:56:34 pings from my house are < 40ms so good but within usual internet infrastructure tolerances. I'm hosting a podcast for locals, that's why I figured I might as well keep it close 2021-07-24 23:57:31 it's kvm so I'm sure it depends on whatever else happens to be going on 2021-07-24 23:57:49 you can pay extra for a second network port 2021-07-25 00:01:24 ajin: those are crazy ping response times :) practically accessing your hard disk! 2021-07-25 00:01:59 maybe you can run a long cable out your window, see if they mind 2021-07-25 00:02:47 this is a great episode of On The Metal podcast: https://oxide.computer/podcasts/kenneth-finnegan 2021-07-25 00:13:51 What are the sudo usecases you're thinking of, invoked? 2021-07-25 00:17:18 jeffreybenzos[m]: I use doas. no strong reason, smaller config file & binary size just feels right (also a big reason why I use alpine) 2021-07-25 00:19:13 sudo does a lot, also has a plugin system for complicated enterprise configs. 2021-07-25 00:19:44 doas is better for people who just have an install where it's just their workstation or something. 2021-07-25 00:20:09 Oh, cool. 2021-07-25 00:20:16 Do I need chsh, or can i just modify passwd 2021-07-25 00:21:13 you can always just modify passwd. 2021-07-25 00:24:42 turns out i can't, invoked. i'm incompetent and have to figure out how to use doas other than just adding my user to wheel 2021-07-25 00:24:43 let's goooo 2021-07-25 00:28:24 echo 'permit :wheel as root' >> /etc/doas.conf 2021-07-25 00:30:06 on OpenBSD there are nice, commented example configs in /etc/examples, eg. /etc/examples/doas.conf, but unfortunately I don't think those are packaged for alpine (even in *-doc, where I think they should be) 2021-07-25 00:31:31 openBSD is really well thought out 2021-07-25 00:33:44 if only libertybsd wasn't dead it would be practically perfect in every way (tm) 2021-07-25 00:34:38 *cough* plan9 2021-07-25 00:35:18 iveqy: nah, too much rat wagging 2021-07-25 00:35:40 invoked:* 2021-07-25 00:38:25 someday I'll make a WildeBSD with pure free software, more copyleft and no clang, and it will be perfect 2021-07-25 00:45:09 asdflkj: when I become a billionaire I'll hire openBSD devs to write man pages for alpine and everything will be OK 2021-07-25 00:46:08 no, linux (as in Linux(tm)) sucks 2021-07-25 00:47:11 meh, alpine made me realise I never disliked linux, I disliked GNU :D 2021-07-25 00:47:38 same here. 2021-07-25 00:47:47 opposite for me 2021-07-25 00:47:54 Do I need xf86 ati if I've got amdgpu? 2021-07-25 00:48:02 no 2021-07-25 00:48:14 startx is mad and looking for ati 2021-07-25 00:48:25 dunno why it's asking for it, and then it gives me an error because it's like "bro ast and ati bro" 2021-07-25 00:48:34 check your /etc/X11/xorg.conf and /etc/X11/xorg.conf.d 2021-07-25 00:48:47 can I just remove those lines? included vesa? 2021-07-25 00:48:49 are you sure your GPU works with amdgpu? 2021-07-25 00:49:16 rx 480? 2021-07-25 00:49:29 in general you should not have /etc/X11/xorg.conf. If it doesn't exist, xorg will try to configure itself automatically when it starts and will read all of the files in /etc/X11/xorg.conf.d 2021-07-25 00:49:35 rx 480 definitely works with amdgpu 2021-07-25 00:49:52 lemme just kill it real quick 2021-07-25 00:49:53 or rename it 2021-07-25 00:50:17 uh oh, it's not even in there. 2021-07-25 00:50:26 just xinit in there 2021-07-25 00:50:56 (a directory) 2021-07-25 00:51:05 that's probably fine. I forget whether you need (e)udev running for xorg to detect the GPU correctly 2021-07-25 00:51:52 is xf86-video-amdgpu installed? 2021-07-25 00:52:01 i swear it was. how can i double-verify 2021-07-25 00:52:15 apk info xf86-video-amdgpu 2021-07-25 00:52:35 It gives me a description 2021-07-25 00:52:48 Says installed size: 180 KiB; is that always in there? 2021-07-25 00:53:36 yeah, no clue if this actually tells me i fit's installed, since i just ran `apk info bash` and `apk info john` (one installed, one not-installed package) and they look the same 2021-07-25 00:53:43 jeffreybenzos[m]: unless you have a reason to run xorg maybe consider wayland 2021-07-25 00:54:11 mostly to avoid wayland, lmao 2021-07-25 00:54:22 i just hate drew devault, and my senses of hating specific devs has done wonders so far 2021-07-25 00:54:57 hate is a strong word 2021-07-25 00:55:46 anyway wayland is not drew and vice versa. 2021-07-25 00:56:14 he's definitely a big force in it, though, but i also just don't like wayland's restructuring where there's been some big Ls done 2021-07-25 00:58:50 some protocol stuff that i can't even remember because of how it all happened like three years ago 2021-07-25 01:01:29 I don't understand how he can rant about rust unportability and be blind to all of wayland's #include 2021-07-25 01:01:51 lol 2021-07-25 01:01:58 i'm saving that one for my next tirate 2021-07-25 01:02:01 tirade, even 2021-07-25 01:02:19 brb, fun, but then i'll be back and wondering how 2021-07-25 01:02:31 raven523: I verified it was installed, by the way. Unsure what else 2021-07-25 01:02:33 but i'll be back 2021-07-25 01:02:51 this was on funny imo: https://news.ycombinator.com/item?id=27253430 2021-07-25 01:03:21 s/on// 2021-07-25 01:03:21 asdflkj meant to say: this was funny imo: https://news.ycombinator.com/item?id=27253430 2021-07-25 01:10:56 i can't wait for people to blame whatever happens with xorg on wayland for taking away developer interest. 2021-07-25 01:11:19 the culty people on either side need to find new hobbies 2021-07-25 01:11:23 xorg is in legacy anyway now, right? 2021-07-25 01:11:42 i thought i read about how it's not going to receive updates any further, or something 2021-07-25 01:12:02 it'll get patched if vulns get found, but beyond that, nobody is doing the work 2021-07-25 01:12:08 xorg is basically complete 2021-07-25 01:12:18 xenocara still gets updates afaik 2021-07-25 01:13:43 Oh, interesting. Yeah, I didn't think there was much to update. I'd use some replacement that was done in rust or something. :^) 2021-07-25 01:14:57 Kinda crazy that the server almost instantly errors out. Hmm 2021-07-25 01:15:04 xenocara has more focus on security, simplicity, and correctness, like any OpenBSD stuff 2021-07-25 01:15:47 Does it work as some sort of dropin, or are there few programs that support it? 2021-07-25 01:16:16 I think it's fairly drop in because x11 is a standard 2021-07-25 01:17:25 maintaining portability to linux/et al is not a goal of xenocara. 2021-07-25 01:18:46 https://paste.ee/p/JQSyJ here's my xorg log 2021-07-25 01:19:03 fortunately gnu portability to bsd is a goal of hyperbola, may it reach prod long before hurd (*crosses fingers*) 2021-07-25 01:21:13 I had about the same problem with xorg on alpine a couple weeks ago, now I'm vacation and have given up for the time being 2021-07-25 01:22:46 lmao asdflkj; so you weren't using it? 2021-07-25 01:22:52 iirc using vesa and adding startx to a bunch of groups made x start, but not respond to any input 2021-07-25 01:23:06 fun...? 2021-07-25 01:23:17 wish the error was more descriptive 2021-07-25 01:23:56 yeah, I'm more productive when I can't watch videos or even see comment indentation on the orange site 2021-07-25 01:24:35 super true, though i intend to use this as the main machine, which means memes are a must 2021-07-25 01:24:40 unless i can run firefox in a framebuffer... 2021-07-25 01:24:46 (kidding; i'd like to game etc etc) 2021-07-25 01:25:07 you can run links2 in a fb iirc :) 2021-07-25 01:25:52 actually I wonder if netsurf works there, that could be awesome 2021-07-25 01:26:33 lol 2021-07-25 01:27:08 but goshdarnit, now I realize I can probably read the orange site without X (with links2), now this channel owes me $$$ in productivity loss 2021-07-25 01:30:07 i fully expect xenocara to have a reverse-xwayland (wayxorg?) at some point 2021-07-25 01:30:29 if it hasn't already been at least discussed 2021-07-25 01:31:28 not sure how that would work without seams, tho 2021-07-25 01:31:58 that'll be nice if any good software ever gets made wayland only, but that's kinda oxymoronic imo 2021-07-25 01:32:50 Oh, another curiosity: At some point, linux stopped using both of my screens and mirroring them 2021-07-25 01:33:05 Even on the live boot disk, it's now only using one of my screens for the console, and not the entire screen 2021-07-25 01:34:35 xorg won't go away. it'll probably be a slow burn of declining interest, and before there's any real consensus about this stuff, we'll just be trying to not go the way of the dinosaurs. 2021-07-25 01:35:48 invoked: the problem with wayland applications is that they are inherently more tied to DE/compositor because the core protocol is so anemic. You can emulate a generic X WM; Wayland, less so. 2021-07-25 01:37:16 And the unpleasant reality is that Xorg is likely being retained by people (myself included) because it provides functionality that Wayland can't or won't ever see implemented. 2021-07-25 01:37:27 you'd probably emulate wlroots bc it's designed to work for more than one de 2021-07-25 01:38:23 xorg'll probably be similar to sysv init 2021-07-25 01:39:36 rcf: sure, if eg network transparency is something you want/need 2021-07-25 01:39:54 i'm not arguing for or against either one. i am arguing against cults, tho 2021-07-25 01:40:55 it'll shrink to a tiny niche, but still have a decent and fairly similar obsd implementation (xenocara/openrc) as an alternative to the nasty newish freedesktop thing (wayland/systemd) 2021-07-25 01:47:07 Yep, sigabort still happening after double-checking I had the firmware installed and configured x to only look for amdgpu 2021-07-25 01:47:19 still some random sigabort 2021-07-25 01:48:20 This may get me to try wayland, invoked. ;D 2021-07-25 01:52:23 is your user added to groups like video? 2021-07-25 01:53:08 let's double-check 2021-07-25 01:53:35 yeah, we're in there, asdflkj 2021-07-25 02:00:47 jeffreybenzos[m]: rereading the irc logs, I think what finally made my xorg start was installing f86-video-vesa 2021-07-25 02:01:35 IIUC that's unnaccelerated but may be less buggy 2021-07-25 02:02:19 very interesting; would i still be able to use my gpu for other stuff? 2021-07-25 02:02:33 or will that just default to the lower perf for everything 2021-07-25 02:02:59 everything I (not an expert) think 2021-07-25 02:04:21 s/ I/, I/ 2021-07-25 02:04:21 asdflkj meant to say: everything, I (not an expert) think 2021-07-25 02:07:39 yep, sadly no big fix there 2021-07-25 02:52:12 asdflkj: have you tried the modesetting driver? 2021-07-25 02:52:26 I don't remember 2021-07-25 02:52:40 I'm away from the computer I wanted alpine on right now 2021-07-25 02:53:07 ah ok, well give that a go next time 2021-07-25 02:53:48 ok, thanks for the tip 2021-07-25 03:00:48 skaface: modesetting driver? 2021-07-25 03:01:35 pkg search modesetting, or kms? 2021-07-25 03:01:44 s/pkg/apk/ :P 2021-07-25 03:01:44 asdflkj meant to say: apk search modesetting, or kms? 2021-07-25 03:05:06 looks like it's in xf86-video-modesetting, asdflkj 2021-07-25 03:05:22 probably 2021-07-25 03:16:25 Thanks for the slant advice, skaface; seems like that works 2021-07-25 03:17:44 but now i have to wonder if amdgpu is just borked 2021-07-25 03:17:50 which is so sad 2021-07-25 03:58:34 invoked: Is there a way to just use everything I've previously used, but with xwayland in the middle of it? 2021-07-25 04:20:19 asdflkj: why do you need to run apk search as root 2021-07-25 04:20:55 you don't, good point 2021-07-25 04:21:18 and this is exactly why complex sudo policies are bad, because if you allow anybody to apk search *, that's arbitrary privesc via apk search -X 2021-07-25 04:21:50 or why complex software is bad 2021-07-25 04:22:21 xf86-video-modesetting doesn't contain anything 2021-07-25 04:22:30 the package description is "dummy package for compat - can safelu be removed" 2021-07-25 04:22:40 maybe it has a useful hook? 2021-07-25 04:23:08 no 2021-07-25 04:23:24 hooks kinda suck, i wish we had less of them 2021-07-25 04:25:52 oh, interesting, hello71 2021-07-25 04:26:24 it doesn't even install some package that's been renamed? 2021-07-25 04:28:37 it's very clear, it's dummy package for compat 2021-07-25 04:28:42 lmao 2021-07-25 04:28:43 modesetting driver was moved to xorg-server 2021-07-25 04:29:00 it wasn't clear when i read it, as i thought it meant a "dummy" that just did a small set of things 2021-07-25 04:29:11 since the word "dummy" is super abused now, and doesn't really mean "utterly empty" 2021-07-25 04:29:21 notwithstanding the typo, "can safelu be removed" is also clear 2021-07-25 04:29:27 but that's from someone who hasn't read it in other packages, of course 2021-07-25 04:29:47 in theory you could use xf86-video-vesa and still have opengl, but in practice if modesetting doesn't work then your opengl is probably totally busted 2021-07-25 04:30:07 except maybe nvidia? 2021-07-25 04:31:08 then i've gotta change my modules around and remake initfs, right? 2021-07-25 04:31:12 can try, at least 2021-07-25 04:31:17 no 2021-07-25 04:31:24 xorg ddx is totally unrelated to kernel modules 2021-07-25 04:31:31 also, to clarify, modesetting worked for me 2021-07-25 04:31:39 if you were just talking to asdflkj though, no clue on his side 2021-07-25 04:31:52 i just wanna be able to run darktable with opencl 2021-07-25 04:32:46 I won't have access to the pc I was trying to install alpine on until after the vacation I'm on right now 2021-07-25 04:33:02 when you set swapiness to 200, does this mean anon pages get swapped in preference to cache? 2021-07-25 04:33:02 just gimme your address asdflkj 2021-07-25 04:33:05 i'll go figure it out 2021-07-25 04:33:18 jeffreybenzos[m]: 127.0.0.1 2021-07-25 04:33:25 would the nomodeset kernel option prevent X from using modesetting? 2021-07-25 04:33:38 wtf our graphics cards look the same!! 2021-07-25 04:33:59 hmm, try 0.0.0.0 2021-07-25 04:34:01 skaface: everywhere i've read said it does. 2021-07-25 04:34:22 asdflkj: i'd /part normally for the joke, but i'm on matrix so it's a pain 2021-07-25 04:34:24 yeah i would assume so 2021-07-25 04:34:49 i'm gonna call amd and demand them to fix it 2021-07-25 04:35:16 opencl is a totally different beast 2021-07-25 04:35:27 orly? oh boy 2021-07-25 04:35:28 and mesa opencl sucks and in particular doesn't work for darktable 2021-07-25 04:35:40 something jpeg something 2021-07-25 04:35:56 Skaface: nomodeset was removed from default config 2021-07-25 04:35:59 but yes 2021-07-25 04:36:14 greatwielder[m]: could be 2021-07-25 04:37:11 you need rocm for proper opencl support, and i doubt anyone's dared to try it on musl 2021-07-25 04:37:27 theoretically it should work but the code quality is shit so i doubt it 2021-07-25 04:37:49 lol 2021-07-25 04:38:17 when you use swap priority, what happens when the highest priority swap device gets filled? will the oldest memory in it get moved to the lower priority swap device to make room? 2021-07-25 04:39:56 I found that with zram you can make a ridiculously good trade for some cpu to more than double your ram, I wanna be greedy and set up another zram tier and use zstd for it. 2021-07-25 04:41:45 server with 512 gb ram is juggling a dbs thats ttaking 1.3 tb ram, latency barely increased. 2021-07-25 04:53:25 interesting 2021-07-25 05:16:31 switched over to trying to figure out setting ata security, accidentally set user security on a different drive that won't unfreeze now, and the drive i set to maximum security isn't prompting for a pass 2021-07-25 05:16:32 lmao 2021-07-25 07:00:25 ikke: do you get a segfault with the newest darktable? 2021-07-25 07:04:09 Totally could be because I'm in the modesetting driver and thus lack glamor 2021-07-25 07:07:18 nevermind, modesetting supposedly supports glamor, but yeah, both alacritty and darktable aren't loading with that setup 2021-07-25 07:07:25 i will away to shleep 2021-07-25 07:07:39 I'll test it later 2021-07-25 07:21:24 thanks a bunch, ikke 2021-07-25 07:21:32 but i'm p sure it's just me and my broken amdgpu situation 2021-07-25 07:22:21 oh cool, someone already flagged veracrypt because it's old as hell 2021-07-25 07:30:31 ahh ive been messing with this all afternoon.. when my monitor goes into sleep mode, every minute the backlight turns on, displays "no input" then turns off again 2021-07-25 07:30:43 at exact 1 minute intervals 2021-07-25 07:31:31 lmao, it just wants to shake hands as often as possible 2021-07-25 07:39:05 not when im trying to sleep! 2021-07-25 12:01:23 greatwielder[m]: i don't think swap priority is used that much 2021-07-25 12:01:48 usually if you have a real swap device you should use zswap 2021-07-25 12:02:17 jeffreybenzos[m]: modesetting *uses* glamor 2021-07-25 12:02:53 x programs don't interact with glamor at all, they use xrender or opengl 2021-07-25 12:03:40 on linux if you need to open a tcrypt container just use cryptsetup 2021-07-25 12:42:05 cryptsetup can handle veracrypt? that's good to know; i'll look into it 2021-07-25 12:42:26 especially now that i have to consider my options now that the drive is like "heehee no security options detected AT ALL BRO" 2021-07-25 15:14:39 When writing openrc service file, how can I log stdout/err? By program (gunicorn) should just log to stdout(err?), but I do not see anything in /var/log/message; Is there some extra variable I need to set? 2021-07-25 15:17:13 openrc has no system for capuring stdin/stdout 2021-07-25 15:17:21 stdout/stderr* 2021-07-25 15:20:22 Ah, so I want to use output_log and error_log to set the log file if I read the manpage correctly? 2021-07-25 16:07:37 graywolf: yes, I suppose so 2021-07-25 17:15:23 hey everyone 2021-07-25 17:15:39 quite some people around here, awesome! 2021-07-25 17:16:07 wanted to ask whether anyone has practical experience of aarch64 installations on anything else than raspberry pi 2021-07-25 17:16:40 im struggling with a nanopi r2s in particular, which i see has a dtb in the official alpine release, but no u-boot... :( 2021-07-25 17:16:45 the postmarketos peeps might be able to help you since it runs aarch64 2021-07-25 17:17:03 that's a good idea! 2021-07-25 17:17:06 pinephone postmarketos* 2021-07-25 17:17:18 do they also have IRC? how could i contact them? 2021-07-25 17:19:38 some are here, they probably will reply as soon as they can 2021-07-25 17:26:10 how do i compile a browser that requires the header file sys/cdefs.h 2021-07-25 17:26:40 i have libc6-compat and the glibc compat package installed 2021-07-25 17:26:57 you need bsd-compat-headers 2021-07-25 17:27:11 https://pkgs.alpinelinux.org/contents?file=cdefs.h&path=&name=&branch=edge 2021-07-25 17:27:34 do you guys have any kind of bounty program by the way? 2021-07-25 17:27:51 no, we have not 2021-07-25 17:28:01 i mean where people could post issues / questions they would love to see resolved / answered 2021-07-25 17:28:17 that would probably be gitlab issues 2021-07-25 17:28:19 and offer a contribution to the "alpine foundation" if there is any :) 2021-07-25 17:29:22 yes i know about the gitlab issues option 2021-07-25 17:29:32 We do not have any system for that 2021-07-25 17:30:29 is anyone interested in pulling something like that off? 2021-07-25 17:30:52 i love alpine linux myself, and we heavily use it at the company where i work as well 2021-07-25 17:31:10 could pull some strings, no promises though. just an idea 2021-07-25 17:31:13 We do not have a foundation or other legal entity yet which can receive donations 2021-07-25 17:31:33 We are looking if we could set something up, but nothing concrete yet 2021-07-25 17:31:49 sounds good 2021-07-25 17:32:22 is there anyone who could be contacted regarding this? i think my guys at the firm would love it 2021-07-25 17:34:12 Any one of the council members, ncopa, clandmeter or me 2021-07-25 17:40:32 what's the difference between PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP and PTHREAD_MUTEX_INITALIZER? 2021-07-25 17:41:53 i'm trying to compile the browser i mentioned earlier and one of the c files failed to compile bc PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP and PTHREAD_MUTEX_ADAPTIVE_NP were unrecognized 2021-07-25 17:42:32 PTHREAD_MUTEX_INITIALIZER and PTHREAD_MUTEX_STALLED were suggested instead of the unrecognized functions 2021-07-25 17:43:05 awesome, thank you @ikke, will get back to you on this! 2021-07-25 17:44:41 i tried searching the web but didn't find anything on the adaptive initializer 2021-07-25 17:48:06 update: i did find something, but it says that the adaptive mutexs are used for something called SMP 2021-07-25 17:49:55 as in they're used under SMP, not for it 2021-07-25 17:59:32 i'm not really concerned about the mutex initializers now as PTHREAD_MUTEX_INTIALIZER is in the code 2021-07-25 17:59:55 i'm more concerned about PTHREAD_MUTEX_STALLED vs PTHREAD_MUTEX_ADAPTIVE_Np 2021-07-25 19:34:26 is there a legal entity representing alpine these days or still none? 2021-07-25 19:34:35 at least a TSC of sorts is a step up 2021-07-25 19:34:52 ah you just said that, i missed it, my bad 2021-07-25 19:34:59 nevermind me :) 2021-07-25 19:38:25 :) 2021-07-25 19:38:42 https://gitlab.alpinelinux.org/alpine/council/-/issues/6 2021-07-25 19:39:10 hopefully it'll allow for bigger orgs to justify donating to alpine, and that it in turn will make it easier for some of the core devs to justify spending time on alpine 2021-07-25 19:39:23 consulting as a side gig isn't necessarily super lucrative 2021-07-25 20:23:47 Today I will get distracted and not debug the amd gpu. 2021-07-25 21:05:44 Whoops; meant to ask here. Can I downgrade all of my packages from the versions in edge to the versions in 3.14? 2021-07-25 21:07:25 change the repository in /etc/apk/repositories, and then run apk upgrade -U --available 2021-07-25 21:07:48 Oh, --available included. Got it. 2021-07-25 21:08:06 yes, otherwise it would not downgrade any packages 2021-07-25 21:08:26 Makes sense. Looks like polkit is mad 2021-07-25 21:08:27 surprise 2021-07-25 21:09:00 and then, if i read this correctly, ikke, I can select certain packages from the edge repo when I want to use those? 2021-07-25 21:10:27 technically you could, but it's not really supported 2021-07-25 21:10:38 mostly due to different versions in dependencies 2021-07-25 21:12:22 Ah, interesting, ikke 2021-07-25 21:12:42 Turns out downgrading to 3.14 didn't fix my amdgpu issue. All out of ideas until the looking glass discord tells me the secrets 2021-07-25 21:18:33 jeffreybenzos[m]: what kind of issue do you have? 2021-07-25 21:18:40 i am using the amdgpu driver as well 2021-07-25 21:19:36 caskd: launching x gives a completely unhelpful sigabort error 2021-07-25 21:19:49 works with modesetting driver instead, but then "lol no GL context" so half my applications don't work 2021-07-25 21:19:59 i don't think that's necessarly a amdgpu issue 2021-07-25 21:20:17 do you have any logs and do you use startx? 2021-07-25 21:20:23 it's the only time that the issue crops up (when removing amdgpu, modesetting kicks in and x actually starts) 2021-07-25 21:20:26 yeah, i do, caskd 2021-07-25 21:21:45 https://paste.ee/p/K8vET for your viewing pleasure, caskd 2021-07-25 21:21:58 thanks 2021-07-25 21:22:03 obviously setting the 20-amdgpu.conf with the mandatory driver selection for amdgpu cleans that up a bit 2021-07-25 21:23:49 that's for sure not a amdgpu issue 2021-07-25 21:23:58 it is already loaded by the time it aborts 2021-07-25 21:24:28 you don't think so? hmm. to clarify, the reason why i say it's an amdgpu issue is because i can uninstall amdgpu and the problem goes "away" (modesetting works) 2021-07-25 21:24:37 that's odd 2021-07-25 21:24:50 it seems like the glamoregl causes it 2021-07-25 21:24:51 and by that I obviously mean that modesetting "works" 2021-07-25 21:25:11 if it's all synchronous, then i agree with you 2021-07-25 21:25:34 afaik, yes, but it could be a underlying issue that's not logged 2021-07-25 21:26:07 absolutely. i'm sorry to cut off good help, but i've got a remote obligation 2021-07-25 21:26:23 that's kind of inspiring, though i don't know if i can choose another egl provider to test this hypothesis 2021-07-25 21:26:28 i assume that's exactly configurable 2021-07-25 21:26:51 on my host, when that loads the driver enables the X accel with glamor in my logs 2021-07-25 21:27:01 so i suspect that's the problem 2021-07-25 21:27:26 loads, the driver 2021-07-25 22:00:35 caskd: re: your mailing list comment about Syslinux not supporting UEFI - it does but you have to set it all up manually 2021-07-25 22:01:31 minimal: i mean... that's one more reason to not make it bootloader specific 2021-07-25 22:01:43 that's exactly why i argued against it 2021-07-25 22:03:10 caskd: ah ok, if was you use of the word "if" when you said "If syslinux supported UEFI" that I was picking up on 2021-07-25 22:03:33 thanks for letting me know 2021-07-25 22:04:01 i didn't think syslinux is uefi capable 2021-07-25 22:06:40 it is but it has limitations that make it fiddly 2021-07-25 23:26:59 i wish that the alpine_dev= would mount that device to a standard mount point, no matter the media.. like /media/alpine or something. It seems pretty difficult to put a copy of a pre-configured system onto a different type of media 2021-07-25 23:41:04 why on earth would they make the routine that mounts devices on startup a compiled C program rather than a shell script? 2021-07-25 23:42:37 what's the apk command for "why is this package installed" 2021-07-25 23:42:50 apk del 2021-07-25 23:42:53 ... kind of 2021-07-25 23:43:05 lmao 2021-07-25 23:44:04 Skaface: as i recall it only prints the device 2021-07-25 23:49:15 interesting; wayland-libs-{four packages} is used by a bunch of stuff? why is the wayland section req'd when i'm only using xorg 2021-07-25 23:51:00 Kinda looks like I can use mesa-egl instead? Is that right? 2021-07-25 23:52:42 Oh, interesting? xorg-server owns libglamoregl.so, and glamor-egl tries to provide its own 2021-07-25 23:53:24 The dependency goes mesa-egl->glamor-egl, so I assume that's not gonna work to just rip out glamor, though it's also interesting to see that it has co-ownership 2021-07-26 02:14:24 wayland-libs-* is used by a bunch of stuff because a lot of stuff supports wayland and instead of writing wayland-specific versions they just shoved it on to their existing codebases. 2021-07-26 03:01:05 lmfao, you guys are not going to believe this shit. 2021-07-26 03:01:14 So I install all the stuff to try sway. Try running sway. Doesn't work. 2021-07-26 03:01:19 Now startx is working fine. 2021-07-26 03:01:26 mind is fucking reeling at what I'm missing 2021-07-26 03:03:09 To clarify, it's working WITH amdgpu, now 2021-07-26 03:24:19 would it surprise you if i did believe that shit 2021-07-26 03:24:43 invoked: i am absolutely shooketh 2021-07-26 03:26:31 but yeah, i had bad luck on some of the hardware i tried it on too, didn't care to mess about with it enough to fix it 2021-07-26 03:27:54 lmao, invoked 2021-07-26 03:28:26 i guess i can try paring it down later. one thing i'm curious about now is if i can actually try out custom-install stuff by making a progressively bigger script--where i just boot the live image and then see if i can boot shit from there 2021-07-26 03:28:46 so that i can finally one day have a clean ACTUALLY MINIMAL install that i get everything working on, while still being able to boot my main mostly-working cruftbox 2021-07-26 03:41:06 however, ikke, darktable still crashes 2021-07-26 03:56:19 Anyone here using pipewire? ALSA itself was fine for me in the past, but I'm curious. 2021-07-26 04:18:37 Looks like alsa's missing a particular "/usr/share/alsa/ucm2/ucm.conf" 2021-07-26 04:32:19 jeffreybenzos[m]: can you open an issue on gitlab.alpinelinux.org/alpine/aports? 2021-07-26 04:54:51 Yeah, for darktable? I can try. 2021-07-26 04:55:02 Also, interesting. The alsa situation is not giving me audio despite my user being in the audio group 2021-07-26 06:16:11 Was a typical situation where alsa trolled me and reordered the cards. 2021-07-26 08:57:50 i moved to pipewire, and had all sorts of problem with bluetooth audio 2021-07-26 08:58:01 in arch, not alpine 2021-07-26 08:59:02 audio was stuttering, 500ms delay 2021-07-26 08:59:16 messing with it for ages, ended up going back to pulseaudio 2021-07-26 08:59:51 my other pc, it works ok, but my speakers thump whenever it starts playing audio 2021-07-26 09:02:51 i found a post in their dev forums about that issue, but it wasnt resolved because the developers were just arguing with each other about the "right" way to do it 2021-07-26 09:02:53 so im not sold 2021-07-26 09:26:34 looool, skaface 2021-07-26 09:26:43 unfortunate to hear that it wasn't perfect 2021-07-26 09:26:55 https://gitlab.alpinelinux.org/alpine/aports/-/issues/12869 no clue if i did it right, ikke,b ut here she goes 2021-07-26 09:26:57 but** 2021-07-26 09:27:04 Yes, I got the notification, thanks 2021-07-26 09:27:26 jeffreybenzos: I've been using Pipewire as the main audio service on my laptop for quite a while, works fine 2021-07-26 09:27:26 fyi, it's the -dbg package, if available, that normally has the debug symbols 2021-07-26 09:27:41 I'm just experiencing one bug but the main dev can't reproduce it 😢 2021-07-26 09:28:11 ikke: yeah, i've got that in there, but then darktable-dbg doesn't actually do it--i bet it's something like "darktable --mode=debug" or some garbo 2021-07-26 09:28:52 it was darktable -d, if i recall, and lol, still no debug already in there 2021-07-26 10:45:53 hey 2021-07-26 10:46:17 does anyone have experience setting up btrfs as the root filesystem for alpine? 2021-07-26 10:46:54 I've tried several different ways but grub refuses to boot after I setup the disk 2021-07-26 10:49:35 I followed the wiki for alternate mount points and I exported the use efi=1 setting as well as packages mentioned to install to a custom partitioning scheme 2021-07-26 10:54:03 Aftershock: i do use it 2021-07-26 10:54:23 Do you use GPT or MBR? 2021-07-26 10:54:45 gpt and efi 2021-07-26 10:55:10 so grub just straight up doesn't load at all or is it that the initramfs cannot mount it? 2021-07-26 10:55:30 grub will load 2021-07-26 10:55:44 but it says unrecognised filesystem 2021-07-26 10:56:10 and plonks into a recovery shell 2021-07-26 10:56:28 and I can't ls the disks 2021-07-26 10:57:00 do you have /boot on btrfs? 2021-07-26 10:57:27 I was mounting a vfat partition for the bootloader 2021-07-26 10:57:37 at /mnt/boot 2021-07-26 10:57:57 and then a btrfs root subvolume to /mnt 2021-07-26 10:58:04 and grub was set to use that with --boot-directory ? 2021-07-26 10:58:17 on grub-install? 2021-07-26 10:58:20 well I did the install to /mnt 2021-07-26 10:58:28 so that should be the root 2021-07-26 10:59:02 right, but it seems like grub didn't set up the stage 1 bootloader properly so it cannot load configs and the rest from the vfat partition 2021-07-26 10:59:36 hmmm 2021-07-26 10:59:54 can you chroot into your installation and run grub-install manually with that argument set and everything mounted? 2021-07-26 11:00:03 that should fix it 2021-07-26 11:00:27 Aftershock: I set mine up that way 2021-07-26 11:00:29 I also don't use grub at all. 2021-07-26 11:00:41 refind? 2021-07-26 11:00:44 Nope. 2021-07-26 11:00:50 Fuck a bootloader. The kernel boots itself. 2021-07-26 11:00:58 heh? 2021-07-26 11:01:13 you just straight up load the kernel? 2021-07-26 11:01:17 yes 2021-07-26 11:01:28 can I run setup-disk to /mnt and then chroot and run the grubinstall 2021-07-26 11:01:32 linux is the best 2021-07-26 11:01:46 you need to do anything special for that? 2021-07-26 11:01:46 did you already do anything significant to your install, aftershock? 2021-07-26 11:01:54 Aftershock: you don't have to re-run it if you already installed it 2021-07-26 11:02:01 hell no, other than giving up on grub 2021-07-26 11:02:06 I think I reformatted 2021-07-26 11:02:16 in that case, you do have to then 2021-07-26 11:02:41 jeffreybenzos[m]: what format is your rootfs? is the fs driver built into the kernel? 2021-07-26 11:03:01 booting without initramfs seems sketchy to say the least 2021-07-26 11:03:05 should I be using fdisk or gptfdisk for the formatting 2021-07-26 11:03:14 boot the live disk, add btrfs to your kernel modules, mkinitfs with esp mounted to /boot, and i think you're almost golden after installing and using efibootmgr 2021-07-26 11:03:20 Aftershock: anything works as long as you can set up everything properly 2021-07-26 11:03:31 gdisk lets you format gpt disks easily 2021-07-26 11:03:57 jeffreybenzos[m]: oh, so you use the host bootloader 2021-07-26 11:04:00 i see 2021-07-26 11:04:23 that's not that portable though and if you need to switch the drive between devices it's going to be annoying 2021-07-26 11:04:41 https://wiki.archlinux.org/title/EFISTUB#efibootmgr by the way, do not use partuuid, that's fuckin dumb and misleads you 2021-07-26 11:04:54 use the UUID. 2021-07-26 11:05:04 i got hung up on that shit for so long and it was having such a hard time 2021-07-26 11:05:05 can I use a btrfs subvol for swap? 2021-07-26 11:05:11 i think i even--let me grab my cmdline 2021-07-26 11:05:21 yes 2021-07-26 11:05:24 that's what i'm currently doing 2021-07-26 11:05:28 Aftershock: yes you can 2021-07-26 11:05:40 cool 2021-07-26 11:05:43 see the wiki on what you have to do (set nocompression, chattr +C, etc) 2021-07-26 11:05:49 i set all of that shit up in the live environment 2021-07-26 11:05:56 jeffreybenzos[m]: afaik PARTUUID doesn't work on current mkinitfs, will look into it eventually 2021-07-26 11:05:57 before rebooting 2021-07-26 11:06:02 i just mount with LABELs 2021-07-26 11:06:05 man fuck partuuid anyway 2021-07-26 11:06:11 yeah i think i might have the label on there? 2021-07-26 11:06:24 you can check with blkid 2021-07-26 11:06:46 is it stabler than grub? 2021-07-26 11:07:08 /is it worth doing? 2021-07-26 11:07:11 root=UUID=[[my rootuuid]] rw rootflags=subvol=volume/root modules=btrfs initrd=\intel-ucode.img initrd=\initramfs-lts 2021-07-26 11:07:18 efibootmgr? Aftershock 2021-07-26 11:07:23 i think that actually just lets you do it without even modifying mkinitfs or whatever 2021-07-26 11:07:24 yeah 2021-07-26 11:07:37 aftershock: it boots quickly and alpine is good enough that you can fix stuff from live environments really easily 2021-07-26 11:07:44 so i would recommend doing it, despite other people not doing it like i did 2021-07-26 11:07:52 it's not portable though 2021-07-26 11:07:53 i have yet to use luks to properly encrypt my disk 2021-07-26 11:07:59 I'm using it as headless server 2021-07-26 11:08:04 but that would be the next option and then it's gonna be just fuckin RAW BTRFS ALL THE WAY 2021-07-26 11:08:05 oh neat 2021-07-26 11:08:05 so if you boot the drive on multiple systems, it's not going to work 2021-07-26 11:08:21 and its a pain to connect a screen to 2021-07-26 11:08:22 caskd: what do you mean? 2021-07-26 11:08:40 you install the boot option in the local NVRAM 2021-07-26 11:08:51 and if you go on anoter host, you won't have tht 2021-07-26 11:08:52 psh, you just take your live disk with you 2021-07-26 11:08:58 the media has grub :^) 2021-07-26 11:08:58 yeah damn currently booting the ssd to my laptop 2021-07-26 11:09:03 that's not what everyone wants to do 2021-07-26 11:09:11 it's true 2021-07-26 11:09:19 for example i have a portable HDD with my system on it 2021-07-26 11:09:25 me too 2021-07-26 11:09:25 so efibootmgr wouldn't work 2021-07-26 11:09:27 but marrying your drive to your machine is an important security moment, for consideration here 2021-07-26 11:09:36 a portable hdd? very interesting 2021-07-26 11:09:50 yep, i can use anyone's hardware with my software 2021-07-26 11:09:51 nvme ssd with enclosuer 2021-07-26 11:09:56 as long as i can boot from it 2021-07-26 11:10:00 Aftershock: exactly 2021-07-26 11:10:05 that's what i plan to do next 2021-07-26 11:10:06 the idea i've got is slightly more portable: putting all boot on a liveusb and then the disk is fully cray cray, but that'll be int he future 2021-07-26 11:10:14 literally plug into anyones pc and yeet all their data 2021-07-26 11:10:18 anyone's hardware? WRONK 2021-07-26 11:10:23 anyone's x86_64, maybe 2021-07-26 11:10:38 and even that's not true for certain things, like driver setups 2021-07-26 11:10:44 well, ignoring arch and that kind of stuff of course 2021-07-26 11:10:47 so funny when I show people that I can access all their stuff without even trying 2021-07-26 11:11:00 that seems like a use case for just putting it on a flash drive to me 2021-07-26 11:11:04 why a big hdd? 2021-07-26 11:11:04 jeffreybenzos[m]: if you got the right things in the initramfs you're good to go on most hardware 2021-07-26 11:11:14 ssd is quite small 2021-07-26 11:11:22 i'm getting closer to just fucking off the initramfs altogether 2021-07-26 11:11:32 but that's counter to the next step of just not having initramfs on the current situation 2021-07-26 11:11:37 booting without initramfs is harder than you think 2021-07-26 11:11:48 but go at it if you want 2021-07-26 11:11:52 harder than cramming it all into the kernel? 2021-07-26 11:12:13 wait will my SSDs UUID stay the same if I plug it into a different system 2021-07-26 11:12:23 it's a universally unique identifier 2021-07-26 11:12:27 yes 2021-07-26 11:12:32 so it should work then? 2021-07-26 11:12:36 yes 2021-07-26 11:12:38 the efibootmgr 2021-07-26 11:12:40 just in this universe 2021-07-26 11:12:45 the efibootmgr? 2021-07-26 11:12:47 fair 2021-07-26 11:13:02 efibootmgr wouldn't work otherwise because efibootmgr is installing it to your local mobo's nvram with all the options involved 2021-07-26 11:13:16 so I need an efi partition 2021-07-26 11:13:21 yes, with a bootloader 2021-07-26 11:13:24 and then the rest can be btrfs 2021-07-26 11:13:25 for a portable setup 2021-07-26 11:13:27 you will still need an efi partition with efibootmgr 2021-07-26 11:13:37 jeffreybenzos[m]: efibootmgr is optional 2021-07-26 11:13:52 efi can find efi partitions automatically and boot from them 2021-07-26 11:14:01 to clarify, "WITH EFIBOOTMGR, YOU WILL STILL NEED AN EFI PARTITION" 2021-07-26 11:14:02 just like bios 2021-07-26 11:14:06 aye 2021-07-26 11:14:09 yeah ok 2021-07-26 11:14:10 ah okay 2021-07-26 11:14:26 efibootmgr isn't something put into the esp, so it wouldn't make sense to read it the way you did anyway, lole 2021-07-26 11:14:31 I don't run setup disk anymore then or? 2021-07-26 11:14:42 i did not run setup-disk 2021-07-26 11:14:50 but i did have a big ol script i hacked together instead 2021-07-26 11:15:06 i think you can run setup-disk /mnt (after mounting your filesystems to /mnt) 2021-07-26 11:15:11 but that does grub as the installer 2021-07-26 11:15:28 so instead, i can go grab that shitty script that isn't even complete, if you want it 2021-07-26 11:15:49 I just want to boot to alpine on the ssd lol 2021-07-26 11:16:10 anything that can make that happen with btrfs is a godsend at this point 2021-07-26 11:16:51 if that's all you care about, then you can, if i recall correctly, set everything up how you want it 2021-07-26 11:16:56 then run setup-disk /mnt 2021-07-26 11:16:56 setup-disks sets up the common install with ext4 root, swap and all and a bootloader 2021-07-26 11:17:05 with everything you've made (subvols etc) on /mnt 2021-07-26 11:17:10 so, for btrfs you will need a manual setup 2021-07-26 11:17:21 caskd: not when it calls install_mount_whatever; i'm PRETTY SURE it supports btrfs 2021-07-26 11:17:27 but that was a few days ago when i was reading through 2021-07-26 11:17:29 it does? 2021-07-26 11:17:30 to the script 2021-07-26 11:17:53 i did it manually, so at least i can say the manual way works 2021-07-26 11:17:55 ^^' 2021-07-26 11:17:58 yeah it seemed to insall without complaining to a /mnt formatted to btrfs 2021-07-26 11:18:16 did you mount esp to /boot 2021-07-26 11:18:24 yeah 2021-07-26 11:18:32 to /mnt/boot 2021-07-26 11:18:38 what's your fstab look like 2021-07-26 11:18:44 are you doing a nested subvol situation or a flat one 2021-07-26 11:18:45 it seemed fine 2021-07-26 11:18:51 mix 2021-07-26 11:19:00 top level is flat 2021-07-26 11:19:00 how dare you 2021-07-26 11:19:00 alright 2021-07-26 11:19:08 well boot the fuckin thing and tell me if it worked 2021-07-26 11:19:13 but I hvae a root partition 2021-07-26 11:19:26 and a top level home partition that mounts under that 2021-07-26 11:19:38 top level flat is the easiest and allows very flexible changes 2021-07-26 11:19:39 maybe thats just normal flat idk 2021-07-26 11:20:01 i have both root and home as subvol of subvolid=5 2021-07-26 11:20:04 but with a root subvol for the / 2021-07-26 11:20:20 yeah 2021-07-26 11:21:23 it did boot to grub btw 2021-07-26 11:21:38 just grub was saying unable to read filesystem 2021-07-26 11:22:10 alpine is now a btrfs-first distribution 2021-07-26 12:15:33 hmm; fzf autocompletion in bash isn't working (the hooks for ctrl-t, alt-c, and the ** situation aren't, at east). 2021-07-26 12:16:16 does bash not source everything in /etc/profile.d? 2021-07-26 12:17:38 oh, only when started as a login shell. 2021-07-26 12:42:16 the only system file bash looks at is /etc/profile, and yes, only when as login 2021-07-26 13:43:13 are the kernel panic logs stored somewhere? 2021-07-26 13:52:53 on the screen /s 2021-07-26 13:53:32 or the RAM 2021-07-26 13:53:33 They may be written to a serial port as well 2021-07-26 13:53:53 i remember trying to recover kernel panic logs from the ring buffer in ram once 2021-07-26 13:53:56 :P 2021-07-26 14:22:56 Hi guys 2021-07-26 14:43:59 ended up reinstalling alpine 2021-07-26 14:47:07 that's a feeling bl4ckb0ne, there's nothing quite the same 2021-07-26 14:47:42 true, this one boots fine 2021-07-26 17:48:27 hi guys 2021-07-26 17:48:37 hope everyone is doing ok 2021-07-26 17:49:19 is there a way to buil a custom module or to copy one already done to the right place in a diskless system? 2021-07-26 17:49:26 v3.14 2021-07-26 17:50:15 Ditronics: you can set up an overlay for modloop 2021-07-26 17:50:38 i'm searching for that info for days 2021-07-26 17:50:49 check /etc/conf.d/modloop 2021-07-26 17:51:05 aha 2021-07-26 17:51:17 any link with info avaiable 2021-07-26 17:51:19 ? 2021-07-26 17:51:56 No, that's all I have for you 2021-07-26 17:52:01 Just set it to something non-zero 2021-07-26 17:52:18 well, a particular size, ofcourse 2021-07-26 17:52:40 ok, i'll try 2021-07-26 17:52:49 and thanks !! 2021-07-26 17:53:08 The comment in that file is a bit misleading, as it implicates that a size of 0 is valid 2021-07-26 17:54:02 I see 2021-07-26 17:54:16 now it is 0 already 2021-07-26 17:54:31 yes 2021-07-26 17:54:37 the size must to be any number or a particular one? 2021-07-26 17:54:43 the ram size ? 2021-07-26 17:55:13 The size of the overlayfs, and as it's tmpfs, it will be taken from ram 2021-07-26 17:56:02 aha 2021-07-26 17:56:46 so I set it, then reboots and there will be a space to add the module? 2021-07-26 17:57:14 yeah, you should be able to install it into /lib/module/* 2021-07-26 17:57:41 it must be expressed on what, mb, kb, gb? 2021-07-26 17:58:01 whatever mount -o size= accepts 2021-07-26 17:59:07 I see, let me try ! 2021-07-26 18:14:55 jeffreybenzos[m]: just running darktable in my VM, no segfault 2021-07-26 18:22:03 jeffreybenzos[m]: n/m I was not on edge, on edge it fails to start for me 2021-07-26 19:38:36 Hello. I was randomly searching for updates on one of my Alpine Linux containers. I happened to use traefik a reverse proxy, which I have installed unsing Alpine edge repo. There is no update for it at the moment as it seems, however I noticed that if doing a quick search for *traefik* on pkgs.alpinelinux.org yields no results. Has Traefik been 2021-07-26 19:38:36 removed from the edge repositories? 2021-07-26 19:40:17 Apparently it has been moved to unmaintained 2021-07-26 19:40:45 hmm 2021-07-26 19:41:05 was going to say the same https://gitlab.alpinelinux.org/alpine/aports/-/tree/master/unmaintained/traefik 2021-07-26 19:42:17 hmm ok, that might answer that. how does "unmaintaned" status work for Alpine in brief? Is there a chance for a package landing back to edge/testing in the near future (due to reasons of course)? 2021-07-26 19:42:35 gopher22: it can if someone is willing to maintain i 2021-07-26 19:42:37 it 2021-07-26 19:42:44 I'm considering it 2021-07-26 19:42:51 I see, thank you 2021-07-26 19:44:47 I think one of the main strenghts of Alpine was the abundance of the availability of "state of the art" software, like Traefik, for ex. But of course it is understandable that behind these privileges is all manpower.... 2021-07-26 19:45:17 Yup, someone has to do the work to maintain it 2021-07-26 19:46:32 nevertheless, I do hope that these packages won't go down /dev/null and someone would pick them up to mend them, if not the original developer. I wish I could help, but I'm not a dev either unfortunately 2021-07-26 19:47:13 checking if it builds atm 2021-07-26 19:48:10 gopher22: you don't have to be a dev to maintain help out with packages 2021-07-26 19:48:18 just use it and submit MRs 2021-07-26 19:48:53 I know... but still, I think one should at least have a minimal dev 'mindset' affinity 2021-07-26 19:52:51 I recently started to "Alpinze" all my LXC containers, previously/currently using Debian/Buster, but moving on making these more lightweight. I don't really like Docker, LXCs are the way for me, at least. Alpine is the OS of choiche at the moment, not only for obvious reasons known :) but also for the wealth of available packages under edge/testing 2021-07-26 19:54:33 ugh, anoying, the release tarball of traefik has all files in the root 2021-07-26 19:54:34 many people have started out just helping with packages before they knew anything about dev mindset. you have to start somewhere :) 2021-07-26 19:54:59 invoked agreed :) 2021-07-26 19:55:42 the only way you learn anyhow is to just submit things, get feedback on what you submitted, et al 2021-07-26 19:56:00 ikke should be under /etc/traefik for configuration at least. that is where traefik looks for the "root 2021-07-26 19:56:14 I mean the source archive 2021-07-26 19:56:14 or yaml static config files 2021-07-26 19:56:59 source archives usually have the files in a subdirectory 2021-07-26 19:57:07 So when you unpack it, it does not clobber you CWD 2021-07-26 19:57:21 PWD* 2021-07-26 19:57:31 ah yes yes, understood 2021-07-27 02:29:05 hey i tried installing nvidia drivers through the alpine package and a lot of packages got purged, now wifi doesn't work 2021-07-27 02:29:28 when i try "ip link set wlan0 up" it comes up as ioctl 0x8913 failed:no such device 2021-07-27 02:30:17 how would i get the wifi drivers for my laptop, it was automatically installed over the network before 2021-07-27 02:33:02 >installing nvidia drivers through the alpine package 2021-07-27 02:33:29 it was the linux-firmware-nvidia package 2021-07-27 02:39:58 is there a way to install the iwlwifi firmware from apk 2021-07-27 02:43:50 iwlwifi firmware is located in linux-firmware-other 2021-07-27 02:44:19 but you should try to recover whatever package was deleted 2021-07-27 02:44:32 you might be missing more than just wifi 2021-07-27 02:45:14 how would i see the packages that were purged? 2021-07-27 02:45:26 does pkgs.alpinelinux.org show that? 2021-07-27 02:45:34 at least possible ones? 2021-07-27 02:46:06 if you have only one package which you removed/installed, it would show whatever conflicts happened 2021-07-27 02:46:12 but for more, not really 2021-07-27 02:49:42 ok so dmesg says that only the regulatory and wifi drivers are missing 2021-07-27 02:50:45 do i have to restart for the iwlwifi driver to load? 2021-07-27 02:51:49 you can also modprobe and restart mdev 2021-07-27 03:00:51 how exactly would i restart mdev? i tried looking at the gentoo wiki and the mdev help page, along with the openrc man page 2021-07-27 03:00:59 and i don't see anything about restarting services 2021-07-27 03:02:01 do i just do openrc shutdown mdev and then openrc init mdev? 2021-07-27 03:08:43 /etc/init.d/mdev stop/start/restart 2021-07-27 03:13:51 that didn't help, so i just decided to clone the linux-firmware tree and placed it in /lib/firmware 2021-07-27 03:31:17 ... 2021-07-27 03:31:43 "eh, let's just download this random crap" 2021-07-27 03:31:51 "what are 'updates' anyways" 2021-07-27 03:50:53 Anyone on here using steam on alpine? 2021-07-27 03:52:50 luckily, lopid, it runs $script for everything in profile.d named .sh 2021-07-27 03:52:52 so i'll fix that 2021-07-27 03:53:02 ikke: yeah, same. thanks for the traceback; maybe I can bug their devs about it? no clue. 2021-07-27 04:10:45 Looks like fzf-bash-completion isn't actually causing anything to be completed on my setup. Am I missing something I should be doing? 2021-07-27 04:21:21 jeffreybenzos[m]: I've been trying to debug it, but for some reason, it does not crash when I built in from source from their repo 2021-07-27 04:22:05 lmao 2021-07-27 04:22:21 well, i guess i could do that for the time being; is there an easy way to reversibly set that up? 2021-07-27 04:22:25 so trying to figure out what's going on 2021-07-27 04:22:27 (i've just got some photos i'd like to throw through the grinder) 2021-07-27 04:23:04 do you need 3.6.0? 2021-07-27 04:23:14 What worked for me was installing 3.4.1.1 from v3.14 2021-07-27 04:23:17 at least, for now 2021-07-27 04:25:21 3.6 has their new color balance rgb module, which is key to a workflow of me getting better faster 2021-07-27 04:25:27 but i can always fall back 2021-07-27 04:25:59 ok 2021-07-27 04:26:20 there's no way for me to just pull in a single package from 3.14 like that, right? 2021-07-27 04:27:00 apk -X https://dl-cdn.alpinelinux.org/alpine/v3.14/community add darktable=3.4.1.1-r0 2021-07-27 04:28:35 oh, very interesting. 2021-07-27 04:30:57 note that this is not really supported in the long run, as dependencies might change 2021-07-27 04:31:10 but for now, edge and v3.14 are close enough 2021-07-27 04:32:07 for building it from source, I cloned both aports and the darktable repository (the latter with --recursive to also get submodules) 2021-07-27 04:32:41 apk add alpine-sdk, to get the needed tools 2021-07-27 04:33:16 in aports/community/darktable, I ran abuild deps, so that all the required dependencies are installed 2021-07-27 04:34:06 in that aports repo are also two patches that are required 2021-07-27 04:36:54 mind is breaking open thinking that the build system just does all that for you 2021-07-27 04:48:16 One thing I'm thinking is that it might have to do with some of the build flags that abuild sets that are not set when I build it manually 2021-07-27 04:48:37 So I could try to repeat that 2021-07-27 05:36:23 hey so I installed alpine on an intel cpu machine, is there anything I need to do when switching the cpu to amd? 2021-07-27 05:37:28 I finally got it to boot in btrfs 2021-07-27 05:38:07 just can't boot when its in the machine 2021-07-27 05:58:54 lmao; what? 2021-07-27 05:58:56 and yes 2021-07-27 05:59:12 you should use the amd-ucode.img instead of the intel-ucode.img in your kernel params 2021-07-27 05:59:22 initrd=\amd-ucode.img 2021-07-27 06:14:58 I'm still using grub, is there somewhere I can change the micro code for grub? 2021-07-27 06:15:14 I know you don't use it so 2021-07-27 06:15:21 might not be able to help 2021-07-27 06:15:30 it'd be changing the kernel line IN grub, but it might not even be in there 2021-07-27 06:16:01 should it still boot if it was wrong? 2021-07-27 06:16:08 or if it was missing? 2021-07-27 06:16:28 I don't have a screen on the server I'm putting it in 2021-07-27 06:16:52 you can check cat /proc/cmdline to see what your kernel stuff was 2021-07-27 06:17:01 i think it should 2021-07-27 06:17:58 does alpine automatically use eth0 when available if it wasn't there during install? 2021-07-27 06:19:08 that was part of setup-interfaces 2021-07-27 06:19:17 check /etc/networking/interfaces 2021-07-27 06:19:27 my bad 2021-07-27 06:20:09 it says: 2021-07-27 06:20:59 auto lo; iface lo inet loopback ; ; auto wlan0 inet dhcp ; 2021-07-27 06:21:05 ; is newline 2021-07-27 06:21:49 so I'll need to setup an ethernet interface? 2021-07-27 06:22:27 yeah cmdline doesn't list any microcode 2021-07-27 06:23:43 yeah, you'd need to set up something simple like 2021-07-27 06:24:03 same concept, auto wlan0 inet dhcp 2021-07-27 06:42:44 no, it just runs /etc/profile 2021-07-27 06:43:28 can I copy the wlan0 configuration for eth0 (replacing wlan0 with eth0) 2021-07-28 20:26:53 hi everybody 2021-07-28 20:31:14 www.nohello.com 2021-07-28 20:37:59 hellow 2021-07-28 20:38:34 s/hellow/hello 2021-07-28 20:38:34 atka meant to say: hello 2021-07-28 21:16:13 lopid: shut up. 2021-07-28 21:16:25 that made sense when channels were bustling 2021-07-28 21:16:30 this is a completely different era 2021-07-28 21:16:38 how's life, captainchris? 2021-07-28 21:17:27 2013 was such a different time on irc that posts like that increased productivity (stupidly, at the sacrifice of humanity), and resulted in what we have now. 2021-07-28 21:18:35 ..what we have now? 2021-07-28 21:19:05 Hey Jeffrey 2021-07-28 21:19:48 What do you think of alpine linux 2021-07-28 21:19:50 ?? 2021-07-28 21:19:56 Alpine Linux is great 2021-07-28 21:20:32 I'm under void linux and I hesitate to go under alpine for minimal linux distribution 2021-07-28 21:20:45 if only there was a way to have a pandemic without anybody dying. i've never been more productive or had a better diet 2021-07-28 21:21:09 alpine is my go to distro for most things, server, laptop etc. I used to be on void but alpine is like a better void to me. 2021-07-28 21:23:53 I 'm loving minimal software like suckless tools. 2021-07-28 21:24:05 And i want minimal distribution 2021-07-28 21:24:23 I hesistate between sta.li openbsd and alpine 2021-07-28 21:30:35 did you have a question or what? 2021-07-28 21:32:53 openbsd has been around longer and is arguably still more opinionated 2021-07-28 21:33:50 there is no upstream for openbsd 2021-07-28 21:34:37 ACTION stops polluting the channel with that 2021-07-28 21:38:20 c705: just have a goddamned conversation, holy shit 2021-07-28 21:38:22 if you don't want to participate then just fuck off already 2021-07-28 21:38:29 my god 2021-07-28 21:38:34 captainchris: sorry, i've been cooking some chili, so i was distracted 2021-07-28 21:38:42 i love alpine, mostly for similar reasons 2021-07-28 21:40:16 sta.li seems kind of interesting. one thing that i don't think suckless captures well is the orchestration of these tools into larger projects, and that's what I want to see more of; that's why places like alpine's chats are useful 2021-07-28 21:40:42 chris: what hardware are you running? 2021-07-28 21:40:47 openbsd is fun 2021-07-28 21:40:56 do you care about using a browser or any gui tools? 2021-07-28 21:42:09 A old intel i5 proco with asrock amdgpu and 8 gb of ram 2021-07-28 21:45:30 openbsd might support the former, but i don't know about your graphics 2021-07-28 21:45:40 i have amdgpu running fine on alpine, though i haven't tried opencl yet 2021-07-28 21:45:44 i hear there's some process available 2021-07-28 21:46:19 invoked: it's been nice until more of my friends became busier than they were even pre-pandemic. 2021-07-28 21:46:19 work is insane for some 2021-07-28 21:46:26 seems like the bosses are just running people to make up for lost time 2021-07-28 21:57:07 i'll respond -> #alpine-offtopic 2021-07-28 21:57:25 that channel should be nuked 2021-07-28 21:57:30 this is not 2012; there are only 300 people here 2021-07-28 21:57:43 no one uses these logs incompetently enough to lose track of a conversation 2021-07-28 21:58:30 you can stop using it anytime. 2021-07-28 21:59:10 splitting these things up is ludicrous when there is no one active 2021-07-28 21:59:26 concentrate conversation so it actually happens once in a while or you'll face the same burnout everyone else faces 2021-07-28 21:59:30 true 2021-07-28 22:00:47 if i told you there are mailing lists, you'd probably complain those aren't active enough 2021-07-28 22:01:19 nope; i'm complaining equivalently that you're splintering one mailing list into 80, and also complaining that mailing lists aren't at all equivalent to instant flippant chat 2021-07-28 22:01:34 have you looked in the mirror lately 2021-07-28 22:09:42 oh, i should be able to see good conversation with other meaningful human beings in the mirror? 2021-07-28 22:09:48 cmon, man; how does that even compute 2021-07-28 22:10:01 jeffreybenzos[m]: you should log off and go outside or something 2021-07-28 22:11:04 i've been between cooking chili and being outside this entire time; these reflexes of yours are showing heavily that you don't know how to connect with someone, and you just rattle off a list of support-like answers instead of engaging with them 2021-07-28 22:11:12 literally, guys, come the fuck on, get it together 2021-07-28 22:11:52 read the scrollback and tell me you're not just describing yourself 2021-07-28 22:12:10 that's a deflective measure and nothing more. it doesn't invalidate my point whatsoever. 2021-07-28 22:12:16 jeffreybenzos[m]: i dont necessarily disagree with you but i find it quite funny your name is jeffrey benzodiazepines 2021-07-28 22:12:27 trylletre: likewise 2021-07-28 22:12:42 nice. matrix didn't send this line, c705: that's a deflective measure and nothing more. it doesn't invalidate my point whatsoever. 2021-07-28 22:12:51 it did send 2021-07-28 22:12:55 this is either someone who doesn't have a frontal cortext or the worlds worst troll. anyways, i really don't give a shit. bye 2021-07-28 22:13:29 trylletre: ah, matrix just sucks, lol 2021-07-28 22:13:54 well matrix just got 30m so maybe it'll get better! 2021-07-28 22:13:56 never used it myself 2021-07-28 22:14:04 matrix is cool 2021-07-28 22:14:07 I like it 2021-07-28 22:15:13 onelegend: it works fine as a chat program, but element and the irc bridges are a bit bogged 2021-07-28 22:16:46 there's this dope client called cinny 2021-07-28 22:16:53 it's still a work in progress but it's really ncie 2021-07-28 22:17:01 https://cinny.in/ 2021-07-28 22:22:26 oh hell yeah, onelegend 2021-07-28 23:06:24 this cam out 10 hours ago? 2021-07-28 23:06:27 s/cam/came 2021-07-28 23:06:27 fluix meant to say: this came out 10 hours ago? 2021-07-28 23:13:36 I'm in. 2021-07-28 23:13:41 I wonder how much better it is. I like the interface. 2021-07-29 09:28:10 I got another human being using alpine. soon we'll be as big as ubuntu 2021-07-29 09:31:31 ikke: did you make a change to the dt package? i see there's an -r1 now? 2021-07-29 09:31:47 yes, but it was merged before I verified it actually worked 2021-07-29 09:34:27 Hi all, i spent many dayz to setup wireguard between alpine and iphone. 2021-07-29 09:35:01 lol; it seems to be crashing for me. 2021-07-29 09:35:35 Yes, I just set CXXFLAGS, but I suppose I should be setting other relevant flags as well 2021-07-29 09:36:05 the darktable guys weren't as impressed as i was that -Os alone shrinks the binary by like a billion times 2021-07-29 09:36:20 i was wondering why stuff on alpine downloaded and installed so insanely quickly; i think i have my answer 2021-07-29 09:36:32 Well, what also helps is that we strip debug symbols 2021-07-29 09:36:57 https://pkgs.alpinelinux.org/package/edge/community/x86_64/darktable-dbg 2021-07-29 09:37:11 76MB for the symbols 2021-07-29 09:37:40 I failed again and again, i wonder if somebody have working wireguard configs somewhere. 2021-07-29 09:43:39 i'm loving this, since playing with alpine, i now have my desktop system on a USB stick that loads into ram which I can boot my home and work pc's from 2021-07-29 09:43:56 no more setting up and maintaining separate systems 2021-07-29 09:44:03 so good 2021-07-29 09:45:06 ikke: how are the symbols literally so big 2021-07-29 09:48:05 skaface82: how big's your install? it's really nice that the system and all of the programs i actually care about are smaller than a windows install disk, before decompression 2021-07-29 09:49:20 1.2Gb 2021-07-29 09:53:08 Nice; a good drive would take like 10-20 to load all of that in RAM anyway. 2021-07-29 09:54:34 its given me a new way of thinking really, like if i need to use say gimp, i just apk add gimp, do what i need to do, and next reboot its gone. keeps the system so clean 2021-07-29 09:56:13 and the packages are cached on the usb stick for next time i need to use it 2021-07-29 10:01:03 It's why I wanted to do some sort of situation where I pull an image off of disk into RAM, only operate there, and then flush to disk if I ever invoke any changes I actually want to commit. 2021-07-29 10:02:22 it makes so much sense 2021-07-29 10:04:36 i was trying to get a network PXE boot thing going, but I gave up as I couldn't find a way to stop it from sourcing the packages from an internet mirror on each boot 2021-07-29 10:05:15 but now i have a few usb sticks, and a script that backs up/restores the apkovl.tar.gz to my NAS so I can easily keep my sticks in sync 2021-07-29 10:08:42 my next project will be my virtual machine server, I think ill make a USB alpine image for that so that the hypervisor system just runs from ram, keeping the SSD drive just for operating system images 2021-07-29 19:09:55 hey uhh is there an easy way to install alpine on an x86_64 system over a serial console? 2021-07-29 19:10:17 it doesn't look like grub is configured to use ttyS0 in the default image 2021-07-29 19:10:21 https://wiki.alpinelinux.org/wiki/Enable_Serial_Console_on_Boot 2021-07-29 19:10:39 this system is entirely headless 2021-07-29 19:10:45 no vga output 2021-07-29 19:10:56 it just has a serial port 2021-07-29 19:11:09 I've installed a system over serial recently 2021-07-29 19:11:20 You do need to change the boot medium, though 2021-07-29 19:11:32 do I need to rebuild an iso with the correct grub config? 2021-07-29 19:11:42 i mean, i obviously need to get those params in there somehow 2021-07-29 19:12:35 ikke: any suggestions re: boot medium? 2021-07-29 19:13:57 How do you use the ISO? 2021-07-29 19:14:57 As an USB you can just modify the contents (but not if it's isofs) 2021-07-29 19:15:58 hmmm 2021-07-29 19:16:33 i dd'd the extended iso to a usb drive 2021-07-29 19:16:52 though I just popped open the back of my t440p and it looks like I have a free minipcie slot 2021-07-29 19:16:56 if you have an alpine system, you can use setup-bootable 2021-07-29 19:17:13 I wonder if I can just shove the msata drive in there and dump a rootfs on there 2021-07-29 19:17:22 then you get a bootable and writable usb disk 2021-07-29 19:17:45 ikke: the files i need to modify are on a iso9660 filesystem 2021-07-29 19:17:52 i thought that was inherantly RO 2021-07-29 19:18:01 yes, that's why I suggested using setup-bootable 2021-07-29 19:18:06 which copies the files from the iso 2021-07-29 19:18:11 ah 2021-07-29 19:18:23 im on adelie right now 2021-07-29 19:18:36 i'll just set up an alpine chroot for this 2021-07-29 19:18:49 It's part of alpine-conf 2021-07-29 19:18:51 (this is for a pcengines apu3 btw) 2021-07-29 19:19:00 ty ikke 2021-07-29 19:19:09 I appreciate the advice 2021-07-29 19:19:58 then you can change the boot config to enable the serial device 2021-07-29 19:20:19 But I think what I did is to manually change the kernel cmdline on boot 2021-07-29 19:20:21 through serial 2021-07-29 19:22:03 So I did not even modify the boot medium 2021-07-29 19:23:51 i do actually get an isolinux prompt 2021-07-29 19:24:04 right 2021-07-29 19:24:06 oh hmm 2021-07-29 19:24:15 If you press tab, you can edit the cmdline 2021-07-29 19:24:20 why's there a grub config on the boot medium? 2021-07-29 19:24:29 er, the iso rathet 2021-07-29 19:24:32 rather* 2021-07-29 19:34:13 %n on %B%F{white}%m%f%b %~ %B%F{green}%#%f%b setup-bootable alpine-extended-3.14.0-x86_64.iso /media/sdb1 2021-07-29 19:34:13 cat: can't open '/media/sdb1/.new/.alpine-release': No such file or directory 2021-07-29 19:34:18 ok lol 2021-07-29 19:35:06 doesnt look like it's actually extracting the iso 2021-07-29 19:39:30 oh it does, it's just that the current release iso's don't contain a .alpine-release file 2021-07-29 19:39:36 that seems like a possible regression 2021-07-29 19:42:07 oh, interesting 2021-07-29 19:46:38 yeah this script is entirely broken without that file 2021-07-29 19:46:58 if i try to add it beforehand to .new the script will remove .new when it starts up 2021-07-29 19:47:22 it | die's out on failure when trying to copy the file 2021-07-29 19:48:16 https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/scripts/mkimage.sh#L169 2021-07-29 19:49:45 jeffreybenzos[m]: pushed a new version that should actually work 2021-07-29 19:49:52 Tested it in my VM 2021-07-29 19:54:13 ikke: plot twist: .alpine-release is in the actual iso, and I can see it if I loopmount the iso, although it doesn't look like uniso is extracting it 2021-07-29 19:55:18 uniso is what the setup-bootable script is using 2021-07-29 19:56:04 hmm, that's also part of alpine-conf 2021-07-29 19:56:25 how do i check what package provides a file again? 2021-07-29 19:56:40 https://pkgs.alpinelinux.org/contents?file=uniso&path=&name=&branch=edge 2021-07-29 19:57:00 ok yup 2021-07-29 19:57:07 There is also a 3rd party tool that provides a command line tool for that 2021-07-29 19:58:05 im gonna do something sketchy 2021-07-29 19:58:38 ok nvm this isn't flexible at all 2021-07-29 19:59:03 in the script it does something like: (cd "$destdir"/.new; exec ${UNISO:-uniso}) < "$src" 2021-07-29 19:59:16 this should probably just loopmount the iso 2021-07-29 19:59:41 i can't really shim a loopmount into $UNISO based on how that's written 2021-07-29 20:00:14 tl;dr: this script appears to be hosed 2021-07-29 20:00:39 im just gonna try and see if I can get isolinux to give me a way to edit the kernel args 2021-07-29 20:00:42 brb 2021-07-29 20:01:09 you can always just do it manually 2021-07-29 20:01:25 yeah that'll be last ditch effort 2021-07-29 20:01:31 extract the iso, copy the files 2021-07-29 20:01:46 install syslinux 2021-07-29 20:02:14 it's just a lot of work for a param which I think should probably be default in the installer 2021-07-29 20:03:05 I can't picture a scenario where sending stuff out a serial port on system install would be an issue 2021-07-29 20:03:50 I guess it could screw with industrial control system stuff if someone tries to do some maintanence in field 2021-07-29 20:04:10 or print out a few pages of bullshit on a serial printer if one happens to be attached 2021-07-29 20:05:05 unless of course syslinux or the kernel will complain and die if no serial port is found. I'm not actually sure about that. 2021-07-29 20:06:12 https://gitlab.alpinelinux.org/alpine/aports/-/issues/9324 2021-07-29 20:06:46 lol 2021-07-29 20:07:04 so im suffering because some john doe couldn't handle his log being blown up 2021-07-29 20:07:41 Read the message from ncopa 2021-07-29 20:08:23 yeah, ncopa's reply implies that it's intentional and possibly should still be that way 2021-07-29 20:08:39 is this ONLY on the virt image though? 2021-07-29 20:09:22 On the virt image, it _is_ enabled 2021-07-29 20:09:29 at least, according to that post 2021-07-29 20:10:22 https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/scripts/mkimg.standard.sh#L80 2021-07-29 20:10:32 And then there is always the question of what serial device to use 2021-07-29 20:10:43 Is it always going to be ttyS0? 2021-07-29 20:20:39 ya on these devices 2021-07-29 20:21:04 I mean, in general 2021-07-29 20:21:27 i mean, in my experience when I've wanted to do installs via serial it has been 2021-07-29 20:22:05 most BMC's will pass through ttyS0 to the bmc itself, so you can do everything from the bmc management console 2021-07-29 20:22:27 though they also usually have VGA support so it's not like necessarily needed in that case 2021-07-29 20:22:44 lots of hypervisors will also watch ttyS0 for kernel logs and stuff 2021-07-29 20:23:05 which is almost definitely why it's enabled in the virt image 2021-07-29 20:23:15 anyways, thanks for the help, I'll give the virt image a shot 2021-07-29 20:28:59 Hi everybody 2021-07-29 20:29:53 I have a little problem with app like qjackctl tuxguitar vimb qutebrowser. I have a big font ugly and I don't know how to change it 2021-07-29 20:30:31 I have install font update my fc-cache but always the same font 2021-07-29 20:32:09 Just installing a font does not cause it to be used 2021-07-29 20:32:16 You need to set it somewhere 2021-07-29 20:32:23 where that is depends on your environment 2021-07-29 20:32:30 ikke: lmao so it's booted and im in 2021-07-29 20:32:58 this needs intel igb drivers 2021-07-29 20:33:41 the virt image basically only has drivers for virtio, hyperv, amazon ena, intel e1000 and some intel virtual functions 2021-07-29 20:33:56 sooooo... it booted but I have no network to install from :D 2021-07-29 20:34:06 yes, that's the ideaeh 2021-07-29 20:34:14 idea behind the virt image 2021-07-29 20:34:23 it's not meant to boot real hardware 2021-07-29 20:35:29 I am of the opinion that all the installers should support ttyS0, but that's just me 2021-07-29 20:35:47 unless you're actually booting from a cd-rom, it's not that hard to create a fat partition and run syslinux 2021-07-29 20:36:03 but where, when i can change font in application that does'nt take effect 2021-07-29 20:37:57 that's not particularly end-user friendly Hello71 2021-07-29 20:38:42 neither is serial 2021-07-29 20:38:49 lol. 2021-07-29 20:40:45 I'm not even suggesting that a getty for ttyS0 should be installed by default on the actual installed system for anything other than virt 2021-07-29 20:45:02 users that have systems like the pcengines apu's (hardware with a serial port and no vga port) should check their gettys before rebooting out of the installer if they know they need it 2021-07-29 20:45:45 also, alpine being a lightweight operating system, I would suspect there'd be an interest in supporting smaller embedded systems 2021-07-29 20:45:50 such as router hardware 2021-07-29 20:46:25 That's kind of alpine linux' origins 2021-07-29 20:46:26 the iso needs to support data mode 2021-07-29 20:46:37 Hello71: what do you mean by data mode? 2021-07-29 20:46:37 your mom need to support data mode 2021-07-29 20:46:44 *plonk* 2021-07-29 20:51:33 since grsecurity is no longer and PIE and stack smach protection is pretty common amongst distributions, what security features still set apart this distro? 2021-07-29 20:52:08 not that much. still have some like -Wl,-z,now etc 2021-07-29 20:53:02 Hello71: did you mean: The ISO 13490 standard is an extension to the ISO 9660 format that adds support for multiple sessions on a disc. Since ISO 9660 is by design a read-only, pre-mastered file system, all the data has to be written in one go or "session" to the medium. Once written, there is no provision for altering the stored content. ISO 13490 was created to allow adding more files to a writeable disc such as CD-R in multiple sessions. 2021-07-29 20:53:28 I wonder if I could do something like that to the alpine iso lol 2021-07-29 21:03:34 lol ikke I just used the extended image and figured out all I needed to do was "lts console=ttyS0,115200" 2021-07-29 21:03:43 maybe there should just be a wiki entry on this 2021-07-29 21:04:09 Hello71: can I get a list or more info on this? 2021-07-29 21:05:25 thexzoron: alpine uses musl-libc which is a much simpler codebase than glibc, and also focuses on more explicit posix compliance 2021-07-29 21:06:05 meph: yes, that's what I referred to earlier 2021-07-29 21:06:27 ikke: i know, I can see now that I made this much more difficult than I needed to 2021-07-29 21:06:54 but hey, at least I discovered the fact that the setup-bootable script seems broken 2021-07-29 21:08:08 Can you open an issue for that in the alpine-conf project? 2021-07-29 21:08:17 yup 2021-07-29 21:11:44 err sorry for the errant highlight 2021-07-29 21:19:15 ikke: IT'S ALIVE 2021-07-29 21:19:26 i'll thank you with some random dumb timelapse i'm gonna make from some clouds in a little 2021-07-29 21:21:32 Is there a reason why nf_conntrack_bridge.ko is only included for mips64? 2021-07-29 21:23:00 My poor VMs need to bridged for IPv6 and they're sad because they can't make outgoing connections :( 2021-07-29 21:34:15 What font is everyone using? 2021-07-29 21:34:54 Comic Sans MS 2021-07-29 21:45:37 iosevka 2021-07-29 21:45:48 jetbrains mostly 2021-07-29 22:57:04 jetbrains is surprisingly good 2021-07-29 23:09:47 to my eyes it's nice. 2021-07-29 23:11:41 reasonable 'g' glyphs. i really cannot abide the squiggly 'g' in other fonts. yes i have weird hangups. 2021-07-29 23:53:28 i stick to droid sans mono 2021-07-29 23:53:40 at times fira code 2021-07-29 23:54:04 used to use hasklig for a while but i didn't really need it just for the ligatures so i quit using it 2021-07-30 01:50:48 hey so I have an install that I need to run in BIOS mode instead of UEFI because my gpu doesn't support GOP 2021-07-30 01:51:04 can I do this without needing to reinstall 2021-07-30 01:51:28 I have GPT partitioned disk 2021-07-30 02:06:26 i don't have direct experience with this, but i think you would just reconfigure grub 2021-07-30 02:06:42 aftershock: see https://wiki.alpinelinux.org/wiki/Bootloaders#Installing_Syslinux 2021-07-30 02:06:44 but i don't know how that interfaces with your particular scripts, so definitely wait until someone better joins in 2021-07-30 02:07:11 aftershock: assuming you want to use syslinux, of course. 2021-07-30 02:07:22 I don't mind 2021-07-30 02:07:28 if its easy I'm happy 2021-07-30 02:07:32 Which you probably do, because GRUB requires repartitioning to boot BIOS from GPT 2021-07-30 02:07:39 I'll tske a look 2021-07-30 02:07:52 (it's the default for BIOS installs) 2021-07-30 02:08:30 I'm trying to use btrfs which is why I can't use the default install 2021-07-30 02:10:13 what does this have to do with your gpu? 2021-07-30 02:11:40 apparently if your gpu is old enough it won't implement the graphics output protocol required to boot the bios in uefi mode 2021-07-30 02:11:47 also "default install"? 2021-07-30 02:12:05 through setup-disk 2021-07-30 02:12:12 eh? normally you can still boot in uefi mode with csm emulation for option rom 2021-07-30 02:12:28 mine won't for some reason 2021-07-30 02:12:31 if your mobo can't do that it's real crap (i mean they all are, but yours is more crap than usual) 2021-07-30 02:12:33 I take it this is also an early UEFI implementation. 2021-07-30 02:12:39 Which means yes, it is probably really crap 2021-07-30 02:12:43 msi pr vdh 2021-07-30 02:13:00 i think if it can't do that then it should still allow booting and have the os initialize it 2021-07-30 02:13:01 (unless you just like using ancient GPUs in more modern systems, I won't judge) 2021-07-30 02:13:03 but again, crap firmwares 2021-07-30 02:13:06 and I flashed it 2021-07-30 02:13:41 rcf: my 6950 works fine in asrock b450 pro4 2021-07-30 02:13:59 well ancient gpu doesn't matter if its just a server 2021-07-30 02:14:06 efi mode and all, but it won't let you turn off legacy option roms, and if you do it temporarily bricks it 2021-07-30 02:14:13 yeah my gtx 560 says no 2021-07-30 02:14:17 i think it needs a manual bios reset 2021-07-30 02:14:35 Hello71: I have some experiences with early Insyde UEFI that have taught me that expecting things to work -- no matter how reasonable -- can be a lost cause. 2021-07-30 02:14:52 I'm just gonna try the install in bios mode 2021-07-30 02:14:59 heh, i also have an insyde efi that won't boot from internal efi or some shit 2021-07-30 02:15:13 or it needs to be mbr formatted or something ridiculous, i don't recall exactly 2021-07-30 02:15:56 i tried flashing it externally but wound up accidentally breaking the bios chip, and i can't be assed to buy a new one 2021-07-30 02:16:10 aftershock: if you're willing to reinstall I'd try installing syslinux and configuring it, I think it works with btrfs. 2021-07-30 02:16:18 aftershock: if it fails, oh well, you can just reinstall. 2021-07-30 02:16:23 If it works... you've saved yourself some trouble. 2021-07-30 02:16:43 rcf: iirc it works as well as syslinux does in general, which is "mostly, as long as you're using a typical configuration and don't poke it" 2021-07-30 02:16:50 Indeed. 2021-07-30 02:17:10 unfortunately syslinux is pretty unmaintained, even more so than grub 2021-07-30 02:17:29 which is also basically unmaintained 2021-07-30 02:17:34 ok thanks yeah I'll try syslinux 2021-07-30 02:17:59 nobody wants to write reliable 16-bit real mode x86 code anymore, whodathunkit 2021-07-30 02:18:15 I use refind on my main machine 2021-07-30 02:18:16 aftershock: don't do that on irc, it's quoting people 2021-07-30 02:18:19 works ok 2021-07-30 02:18:36 refind works better than syslinux or grub because it intentionally doesn't do much 2021-07-30 02:18:52 it's a boot manager, not a boot loader 2021-07-30 02:19:04 best way to write software is to punt the work to someone else 2021-07-30 02:19:11 true 2021-07-30 02:19:25 i only wish the big software companies did that more 2021-07-30 02:21:05 how do you reply to someone on irc? 2021-07-30 02:21:19 < > doesn't work? 2021-07-30 02:21:49 : implies that nick said something. nick: is how you address someone. 2021-07-30 02:22:00 oh ok 2021-07-30 02:22:02 thanks 2021-07-30 04:45:56 quit 2021-07-30 04:46:57 dramatic exit :) 2021-07-30 08:48:09 hey im trying to run libvirt, I have changed libvirtd.conf to set the group to libvirtd, restart the service, and the permissions on libvirt-sock are still root:root 2021-07-30 08:48:35 it seems like its not reading libvirtd.conf on startup? 2021-07-30 08:49:36 is the socket ownership supposed to change? 2021-07-30 08:53:13 as far as im aware.. i set unix_sock_group = libvirtd 2021-07-30 08:53:30 oh 2021-07-30 08:56:50 sorry i meant libvirt 2021-07-30 09:09:52 Skaface82: I use libvirt here 2021-07-30 09:10:10 $ ls -la /var/run/libvirt | tpaste 2021-07-30 09:10:10 https://tpaste.us/aZZZ 2021-07-30 09:10:29 srwxrwx--- 1 root libvirt 0 Jul 30 08:38 libvirt-sock 2021-07-30 09:10:45 weird 2021-07-30 09:11:10 is your config file at /etc/libvirt/libvirt.conf ? 2021-07-30 09:11:12 let me see how it is configured 2021-07-30 09:11:28 ohhh its libvirtd.conf 2021-07-30 09:11:51 never mind Ive got it 2021-07-30 09:11:56 yeah, there you go :) 2021-07-30 09:11:56 but thanks 2021-07-30 09:12:04 np 2021-07-30 13:52:17 when doing rc-update add srv, is default added by default to the end? 2021-07-30 13:53:27 greatwielder[m]: It just creates a symlink, there is no ordered list 2021-07-30 14:17:19 functionally, there is no difference other than the association with a list? what about ordering? 2021-07-30 15:38:11 Hi everybody 2021-07-30 15:40:09 hi 2021-07-30 15:41:07 hi captain chris 2021-07-30 16:01:57 I have a problem with suckless slstatus it returns me a segfault due to musl 2021-07-30 16:02:30 file containing a list of commands to execute on startup 2021-07-30 18:02:35 Re everybody 2021-07-30 22:06:56 is there a trick in /etc/network/interfaces to configuring ovs bridge ports? 2021-07-30 22:07:11 I have an interface v42-mgmt, and a block in /etc/network/interfaces for it with a static ip, but ifup does not do anything 2021-07-30 22:07:48 I have a functionally similar block for eth2, and that works fine 2021-07-30 22:11:12 if I use --force it works, there's something about the lock file already existing, even though it's not actually configured 2021-07-30 22:12:19 3.14? 2021-07-30 22:12:25 yeah 2021-07-30 22:13:45 all the interfaces defined in /etc/network/interfaces have /run/ifstate.*.lock files, whether they're actually configured or not 2021-07-30 22:13:52 which seems to block any subsequent ifup from working 2021-07-30 22:17:28 Ariadne: ^ 2021-07-30 22:18:45 those are deleted on exit of ifupdown 2021-07-30 22:18:57 you can just delete them 2021-07-30 22:19:44 sure, although I'm wondering why it doesn't work on boot 2021-07-30 22:19:48 when presumably they are not there.. :-) 2021-07-30 22:20:00 something seems to write them there, but not succeed at actually bringing the interfaces up 2021-07-30 22:24:00 anyhow I gotta run, I'll poke at this some more later 2021-07-31 01:31:48 okay 2021-07-31 01:32:11 try ifup -v and also post your /etc/network/interfaces 2021-07-31 01:32:28 (to a pastebin not here) 2021-07-31 01:34:24 Ariadne: unrelated, but cute hair! 2021-07-31 01:43:38 lol 2021-07-31 01:44:37 which one 2021-07-31 01:49:37 trylletre: which one 2021-07-31 01:50:00 the new hair colors 2021-07-31 01:50:09 the cretan princess? 2021-07-31 01:50:33 but specifically hair #43,756 on the left side of the head :) 2021-07-31 02:19:44 how is it possible that I have edge/testing in my apk repositories (and have just updated), but `apk search --no-cache ocaml-camlp5` gives no results? 2021-07-31 02:20:29 https://gitlab.alpinelinux.org/alpine/aports/-/tree/master/testing/ocaml-camlp5 2021-07-31 02:20:33 hasn't been updated recently or anything 2021-07-31 02:21:49 ah, got it, sorry! looks like no architectures are enabled in the APKBUILD 2021-07-31 02:22:55 yep, the last commit lists that its incompatible with some ocaml version 2021-07-31 02:23:01 p4 exists instead 2021-07-31 02:31:25 Hi all. I'm experiencing some difficulty in getting iSCSI to work properly in alpine. 2021-07-31 02:31:25 3.12.7 2021-07-31 02:31:25 nexus [~]# cat /etc/alpine-release 2021-07-31 02:31:25 nexus [~]# iscsiadm --version 2021-07-31 02:31:25 iscsiadm version 2.1.2 2021-07-31 02:31:27 Logging in to [iface: default, target: iqn.2021-07.lan.abyss:apps-iscsi, portal: abyss,3260] 2021-07-31 02:31:27 nexus [~]# iscsiadm --mode node --targetname iqn.2021-07.lan.abyss:apps-iscsi --portal abyss --login 2021-07-31 02:31:29 It all looks correct, but I don't get a new block device to mount. 2021-07-31 02:31:29 Login to [iface: default, target: iqn.2021-07.lan.abyss:apps-iscsi, portal: abyss,3260] successful. 2021-07-31 02:31:31 nexus [~]# fdisk -l 2021-07-31 02:31:31 Disk /dev/sda: 64 GB, 68719476736 bytes, 134217728 sectors 2021-07-31 02:31:33 65536 cylinders, 64 heads, 32 sectors/track 2021-07-31 02:31:33 Units: sectors of 1 * 512 = 512 bytes 2021-07-31 02:31:35 Device Boot StartCHS EndCHS StartLBA EndLBA Sectors Size Id Type 2021-07-31 02:31:39 Any insights as to what I may be doing wrong, please? 2021-07-31 04:02:49 how should I package a library that doesn't ship anything other than development files? if I follow the normal subpackage setup, the main package will be empty 2021-07-31 04:53:40 riverdc, look at pybind11 2021-07-31 04:53:50 riverdc, that package is header-only, too 2021-07-31 04:55:41 Huh. Seems like it's not header only at all, although it's supposed to be. 2021-07-31 04:55:52 Ah. Tests. 2021-07-31 04:57:03 it's an ocaml library and it looks like the existing ocaml library packages don't even have a -dev subpackage 2021-07-31 04:57:21 i realized it wouldn't be completely header only as well, because there are some shared objects 2021-07-31 04:59:28 Okay, and I realized there are python files in the main package 2021-07-31 04:59:35 so pybind11 isn't header only at all. 2021-07-31 05:00:31 riverdc, if the shared objects are usable without the headers of the -dev package, they should be packaged seperately 2021-07-31 06:00:06 guhhhh, firefox's audio is completely bugged 2021-07-31 06:00:16 tried to install pipewire to fix it, but nope 2021-07-31 06:11:21 no clue how applications even plug in to pipewire instead of alsa, actually 2021-07-31 07:05:42 jeffreybenzos[m]:you can either enable alsa emulation with pipewire or use the pipewire-pulse tool for pulseaudio emulation 2021-07-31 07:16:34 wej: how do either of those work? the wiki seems to be incorrect 2021-07-31 07:16:44 can't see anything about with-alsa on the pipewire wiki anymore 2021-07-31 07:18:21 as for alsa, it is basically copying of some config file to the alsa config dir /etc/conf.d/alsa 2021-07-31 07:18:35 it is explained here: https://github.com/PipeWire/pipewire/blob/master/INSTALL.md 2021-07-31 07:18:59 for pulseaudio you just need to run pipewire-pulse and it should work 2021-07-31 07:20:47 oh, instead of running pipewire &? 2021-07-31 07:20:57 i'm running that in bspwmrc; is there somewhere else it should be run? 2021-07-31 07:37:49 jeffreybenzos[m]: no, in addition to it. it is basically a proxy that translates between the pulseaudio protocol and pipewire 2021-07-31 07:38:13 running it with the start of your session should be okay 2021-07-31 07:39:03 Just to be sure what you're saying, you want me to change bspwmrc to first do pipewire &, and then do pipewire-pulse &? 2021-07-31 07:39:17 seems like my flatpak stuff is working fine just doing pipewire-pulse & 2021-07-31 07:42:51 yep 2021-07-31 07:43:21 that is weird. you could check if there is a pipewire process running elsewhere 2021-07-31 07:52:44 Hi everybody 2021-07-31 07:53:53 I installed nyxt browser but when I don't have nyxt binary. How I can list files with apk ?? 2021-07-31 07:54:10 apk info -L nyxt 2021-07-31 07:55:26 yes man 8 apk-info 2021-07-31 07:55:34 sorry 2021-07-31 07:56:14 I read man 8 apk-index and I didn't found informations 2021-07-31 07:56:46 TranceKat: I actually tested out iscsi on alpine yesterday 2021-07-31 07:57:10 i followed the same steps as you, and it created all of the /dev/sda1 2 3 etc. 2021-07-31 07:58:20 TranceKat: it looks like a blank unpartitioned device? 2021-07-31 07:58:41 do you need to create partitions and format them? 2021-07-31 08:04:52 i don't think so, wej: ps aux was just giving me the basics 2021-07-31 08:05:08 unless pipewire is the big part here 2021-07-31 08:05:30 i see pipewire run on its own, and then also pipewire-media-session, and then pipewire -c pipewire-pulse.conf 2021-07-31 08:06:28 so you do have a pipewire process running? 2021-07-31 08:06:32 aye. 2021-07-31 08:06:57 then everything should be fine, i thought you only had pipewire-pulse running 2021-07-31 08:08:06 Hmmmm. Interesting 2021-07-31 08:08:16 At least now we both don't know. 2021-07-31 10:30:05 hey, im trying to install rpcsvc-proto and also nfs-utils, but I get an error saying nfs-utils trying to overwrite usr/bin/rpcgen owned by rpcsvc-proto 2021-07-31 11:30:05 hmm i resolved it, im not sure how 2021-07-31 12:57:19 riverdc: i have proposed moving this package to unmaintained: https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/23041 2021-07-31 18:31:30 Ariadne: if you're around at any point, https://termbin.com/1rs3 is my /etc/network/interfaces, https://termbin.com/rj9v is ifup -v v200-ntn (I was doing v42-mgmt last time, but I already forced that up) 2021-07-31 18:32:31 fwiw https://termbin.com/rzz9 is ovs-vsctl show 2021-07-31 18:33:07 nbastin: can you open a bug at https://github.com/ifupdown-ng/ifupdown-ng 2021-07-31 18:33:41 since you’re doing vlan stuff i rather have the person who wrote the vlan code look at this 2021-07-31 18:33:54 sure, although I'm not entirely sure what to report - is there any way to get it to log the equivalent of -v at boot? 2021-07-31 18:34:11 uhh 2021-07-31 18:34:14 (absent just modifying it) 2021-07-31 18:34:15 no idea :/ 2021-07-31 18:34:36 ok, I can just modify it to +x and write stderr to a file 2021-07-31 18:35:15 because it's on boot where something goes awry, I think...it fails now just because the lock files are already there, but they either shouldn't be there or the interfaces should be up 2021-07-31 19:08:34 is there a reason that "search" is not in apk --help, or should I file a ticket somewhere? 2021-07-31 19:12:52 nbastin: it should've been recently fixed 2021-07-31 19:16:16 yeah I finally found the issue and merge request, thanks 2021-07-31 19:17:00 although I'm not sure that fixed it... 2021-07-31 19:17:10 since it only modified the man pages 2021-07-31 19:18:32 maybe I'm reading this wrong, but 10746 in apk-tools says apk --help does not mention the command, but the MR that closed the issue doesn't change that 2021-07-31 19:19:26 unless --help is somehow derived from apk.8.scd 2021-07-31 19:21:19 Yes, they are linked 2021-07-31 19:21:31 ok 2021-07-31 19:22:02 There is a lua script that embeds the man page 2021-07-31 19:22:41 yeah I finally worked my way through that part of the build....it was more complex than I figured.. :-) 2021-07-31 19:28:55 what's the command to explode firefox into little pieces 2021-07-31 19:31:59 rm -rf / 2021-07-31 19:38:07 I'm trying to start postgres for the first time with rc-service postgresql start 2021-07-31 19:38:17 unning bootstrap script ... 2021-07-31 19:35:50.962 GMT [12972] LOG: invalid value for parameter "log_timezone": "US//Eastern" 2021-07-31 19:38:20 2021-07-31 19:35:50.963 GMT [12972] LOG: invalid value for parameter "TimeZone": "US//Eastern" 2021-07-31 19:41:09 maybe this is because I install alpine 3.10, but then updated to 3.14? 2021-07-31 19:42:57 /etc/timezone doesn't exist, so I don't know how postgres even knows my timezone 2021-07-31 19:47:45 apparently postgres only accepts EST5EDT for my timezone 2021-07-31 19:49:33 sorry for bothering everyone 2021-07-31 20:01:15 or more likely it doesn't like multiple slashes 2021-07-31 20:01:59 ikke: we're almost there. not even installing pipewire has fixed the firefox audio 2021-07-31 20:02:20 if i use apk del to nuke it, does that remove profiles, etc? 2021-07-31 20:02:29 i don't think i have anything really in there yet 2021-07-31 20:02:43 but i assume uninstalling and reinstalling doesn't always work anyway 2021-07-31 20:02:44 profiles are generally under home and not deleted 2021-07-31 20:04:07 under ~/.mozilla or something, and cache under ~/.cache/mozilla, but i doubt itll fix it anyway 2021-07-31 20:04:13 same 2021-07-31 20:04:37 yeah, no dice 2021-07-31 20:04:46 and chromium has random tab crashes 2021-07-31 20:04:52 but at least sound works 2021-07-31 23:37:02 problem: authentication request to the driver failed -- when connecting to a wifi access point, following: wpa_supplicant step