2022-01-01 00:18:16 i have alpine 3.15 running on a raspberry pi, and sometimes it becomes inaccessible via ssh. (it's connected by wifi.) 2022-01-01 00:18:52 i want to get wpa_supplicant to log things, but the alpine-packaged version doesn't seem to support the -f argument. 2022-01-01 00:18:56 any tips on logging wifi events? 2022-01-01 00:19:22 i've also had this issue occasionally 2022-01-01 00:20:02 with nl80211, most relevant wifi messages are printed to kernel log 2022-01-01 00:21:42 i don't get anything in /var/log/messages. (this machine is a broadcom wifi chip though.) 2022-01-01 00:22:31 Ah I hear Broadcom isn't the best when it comes to running it on linux 2022-01-01 00:29:45 i vaguely recall that alpine doesn't save kernel log to /var/log/messages by default 2022-01-01 00:31:51 dmesg log is a separate file and i have no idea what persists it 2022-01-01 00:32:06 bootmisc i think 2022-01-01 00:33:28 ah, it moves /var/log/dmesg to /var/log/dmesg.old on boot if you set previous_dmesg=yes in the conf.d 2022-01-01 00:34:19 although the log is only the boot log 2022-01-01 00:34:22 and not persistent dmesg 2022-01-01 00:35:39 mmhmm 2022-01-01 00:37:36 so if one wanted to have some actual persistent dmesg, what would one do 2022-01-01 00:38:52 rc-update add klogd default 2022-01-01 00:39:11 or boot, doesn't matter that much 2022-01-01 00:39:56 you may also want to disable bootmisc and adjust syslog.conf 2022-01-01 00:41:18 ah, klogd seems to be exactly what i want 2022-01-01 00:41:33 thanks! 2022-01-01 00:41:42 same... i think the issue was the wifi 'power saving'. 2022-01-01 00:44:55 i don't think power saving is it 2022-01-01 00:45:01 which rpi exactly 2022-01-01 00:45:11 rpi zero 2 w 2022-01-01 00:46:03 not sure about zero 2. on zero 1 the wifi totally dies from time to time 2022-01-01 00:47:05 is it truly unexplained? 2022-01-01 00:50:35 well there might be a solution somewhere but i haven't bothered investigating because i rarely use it 2022-01-01 00:51:02 i basically use it for checking if packages work on arm and that's it 2022-01-01 00:52:13 i'm trying to build a sort of embedded thing using a zero 2. 2022-01-01 00:52:25 so i really want the wifi to be reliable. 2022-01-01 04:10:29 Happy new year! 2022-01-01 04:11:06 same to you 2022-01-01 06:39:16 Thanks for all the help this last year, everyone 2022-01-01 07:39:21 Happy new year, thanks for making Alpine Linux possible! 2022-01-01 11:52:59 are wireless/bt keyboards quite secure? (or could ppl potentially see everything u type) 2022-01-01 11:54:00 https://security.stackexchange.com/questions/143664/bluetooth-keyboard-security 2022-01-01 15:03:45 when there's a kernel update, the new replaces the old, and the old is removed. is there some setting that won't remove the old kernel, leaving the old around in case one needs to boot into it? 2022-01-01 15:04:42 no, there is not 2022-01-01 15:05:32 must we use a separate boot disk if there's something wrong with the new kernel? 2022-01-01 15:05:59 https://lists.alpinelinux.org/~alpine/devel/%3C86c7a81e-1640-7f82-9e13-dfdbe1aad07b%40gmail.com%3E 2022-01-01 15:12:21 ikke: 2 things that don't sync up about that thread… 1. I'm logged into my 3.15 box and its using grub not syslinux as stated in the email. 2. kernels are agnostic to the userland as opposed to the other way around so why not do the common approach of taking the running kernel, moving it to old and put the new one into place and now grub has the running one and its last booted kernel one available? 2022-01-01 15:12:57 Tenkawa: syslinux is optional, but the default 2022-01-01 15:13:25 ikke: it wasn't on my install, I used all defaults 2022-01-01 15:13:35 Tenkawa: probably because you use eufi 2022-01-01 15:13:44 yes I did 2022-01-01 15:13:51 good point 2022-01-01 15:14:17 But that does not really matter for this point 2022-01-01 15:14:25 that is suggested further down the thread 2022-01-01 15:14:31 no but the second part does 2022-01-01 15:15:03 even syslinux supports it 2022-01-01 15:15:10 keeping oldkernel is indeed a separate issue from versioned userland libraries 2022-01-01 15:15:21 but they kind of fall into the same generic management boat, even if entirely different 2022-01-01 15:15:27 but yes, it's easier to implement the kernel stuff 2022-01-01 15:15:40 I can't speak very well for x86 arch (I only do it on arm) 2022-01-01 15:16:12 i would feel a lot safer having a known working backup kernel available 2022-01-01 15:16:39 that's why i keep both edge and lts installed 2022-01-01 15:16:58 ikke: I'm just now starting to learn alpine so my apologies if I stumble on its internals 2022-01-01 15:17:22 3.15 = lts? 2022-01-01 15:17:29 linux-lts and linux-edge 2022-01-01 15:17:34 I've mostly been a Debian/Slackware/Redhat/Centos user since 93 2022-01-01 15:17:35 You can think of all kinds of solutions, but someone needs to implement them in a satisfying manner 2022-01-01 15:17:46 also nice mr closing spree ikke :-) 2022-01-01 15:18:04 psykose: heh, these were all draft MRs older than 6 months 2022-01-01 15:18:08 yep, i noticed 2022-01-01 15:18:24 They can reopen them again if they decide to work on it 2022-01-01 15:18:49 i just have linux-virt 2022-01-01 15:18:55 That's old :) 2022-01-01 15:18:57 there is edge virt as well 2022-01-01 15:19:00 oh 2022-01-01 15:19:01 ACTION still gets chills every time he hears the term "MR"… too much of a reminder of my job when I was a SCCS admin lol 2022-01-01 15:19:02 virt, nm 2022-01-01 15:19:19 so i'm using lts already? 2022-01-01 15:19:27 yes 2022-01-01 15:19:41 It's not exactly the same, but the same version 2022-01-01 15:19:46 ok 2022-01-01 15:22:06 so if something goes wrong at boot after a new lts release, i'd have to find another boot medium, mount my system, and somehow install the previously working kernel manually? 2022-01-01 15:40:17 installing the previous kernel wouldn't be possible unless you had it in apk cache or found an older mirror 2022-01-01 15:49:18 so one could be fucked? 2022-01-01 15:51:06 perhaps 2022-01-01 15:52:33 You can install a kernel from an older repository 2022-01-01 15:52:40 That's what I did for one of our servers 2022-01-01 15:53:21 ah, that works as well 2022-01-01 15:54:08 hm 2022-01-01 15:56:27 why does pushing to gitlab.a.o take 50 years for me since yesterday 2022-01-01 15:56:44 for me would that just be linux-virt, or more? 2022-01-01 15:58:59 yes, the same kernel 2022-01-01 16:07:05 year 2022 problem 2022-01-01 16:07:50 traceroute can't even trace to gitlab, impressive routing 2022-01-01 16:14:19 the last hop is seemingly the dc the gitlab is in, so i have no idea why it vanishes into a hole afterward 2022-01-01 16:14:50 yeah definitely appear to be blocking icmp 2022-01-01 16:15:19 regardless of the block any regular git pushing takes like 2 minutes to start a connection 2022-01-01 16:15:26 but i assume it's just me as other would have complained 2022-01-01 16:15:42 yeah my "normal" connections to them seem fine 2022-01-01 16:15:47 yep 2022-01-01 16:16:38 ok if I use tcp traceing I get right to them 2022-01-01 16:17:06 its something udp/icmp related thats bogging down bad 2022-01-01 16:20:03 even a icmp echo gets there 2022-01-01 16:20:48 appears that udp is the only one blocked 2022-01-01 16:20:56 its hanging 2022-01-01 16:21:01 does git not only use tcp 2022-01-01 16:21:08 (blocked/broken) 2022-01-01 16:23:17 it "shouldn't" but I'm reading the logging can… 2022-01-01 16:23:24 ah no, i see 2022-01-01 16:23:28 if i block ipv6 2022-01-01 16:23:30 everything works fine 2022-01-01 16:23:34 :^) 2022-01-01 16:23:41 and gitlab may have their logs setup that way 2022-01-01 16:23:53 ikke: i think you made some error on the ipv6 gitlab setup :p 2022-01-01 16:23:54 ipv6 is a pita 2022-01-01 16:24:43 I have 6 ipv6 addresses I have to change everytime I need to update anything here 2022-01-01 16:24:52 its a nightmare 2022-01-01 16:26:08 psykose: I might have broken it again with a firewall 2022-01-01 16:26:27 i can test the changes if at least a fetch/push works if you wanna toggle some knobs 2022-01-01 16:38:19 I ran into it myself as well, just need to figure out how to setup awall 2022-01-01 16:39:01 mhm 2022-01-01 16:44:39 how're you feeling after yesterday 2022-01-01 16:47:43 Hi maintainers, I'd like to know if OpenRc will be continued on Alpine ? https://gitlab.alpinelinux.org/alpine/alpineconf-cfp/-/issues/4 : See Ariadne Conill contribution "this should be good for bringing home the message why we want to replace OpenRC." Happy new year ! 2022-01-01 16:48:29 the plan is to eventually replace it with s6 2022-01-01 16:49:12 probably an initial working solution by 3.17-3.18 or so, openrc will still be maintained alongside for a bit of time 2022-01-01 16:50:26 note that that issue is not actually a request to switch init systems but a proposal to schedule a talk at AlpineConf 2022-01-01 16:52:54 as I understand it, there is absolutely no plan to ever support systemd 2022-01-01 16:54:25 please. it is 1st jan 2022-01-01 16:55:06 *cringes* 2022-01-01 16:55:13 raven523: mostly because systemd does not support musl 2022-01-01 16:55:29 don't say things like that 2022-01-01 16:55:51 hasn't systemd invaded enough things? 2022-01-01 16:59:39 Thanks. the cited contribution was ambiguous in context (proposal of systemd talk). I'm now reassured :) 2022-01-01 17:01:13 you shouldn't jump to conclusions because you see one comment in one issue in one non-code repository that mentions systemd and is critical of openrc 2022-01-01 17:01:41 if there were actually a plan to switch to systemd there would be a lot more noise about it 2022-01-01 17:05:03 systemd no matter what feelings are about the usability is also very heavy and would seem to go against everything this distribution is trying to achieve even if it could be used yes? 2022-01-01 17:06:56 I would agree 2022-01-01 17:08:07 No jump, no conclusions ; just question ... 2022-01-01 17:08:30 but openrc is missing proper supervision support, and sysadmins and service developers expect to have supervisors now, so it would make sense to switch to a minimal and better designed supervisor like s6 2022-01-01 17:09:21 I'm sorry if I'm being overbearing about this. I'm just tired of systemd causing flamewars 2022-01-01 17:10:45 Catalyst_2201: no worries here. I'm new to Alpine myself and finally finding a distrib to get closer to my old unix roots 2022-01-01 17:11:42 raven523: heh just think how bad it was in plain sysvinit back in my 1980's years lol 2022-01-01 17:13:52 raven523: Do you have any good information explaining the supervisor aspect of something like s6 versus what we have currently with OpenRC? I don't understand enough to know what benefits/issues each may carry, and I'd like to understand this layer more 2022-01-01 17:14:49 Saijin_Naib[m]: openrc by default is not able to monitor when processes die and respond automatically by restarting the dead service 2022-01-01 17:15:12 it can integrate with s6 or other supervisors, but it's not the default behavior 2022-01-01 17:16:48 there's a good explanation of suprervision here: https://skarnet.org/software/s6/overview.html 2022-01-01 17:18:31 Thank you. Is that the same as the developer here? Interesting! 2022-01-01 17:18:46 I think soa 2022-01-01 17:20:15 yes 2022-01-01 17:25:38 re: systemd, we talked to lennart years ago, in the alpine 2.x days, and again early in the 3.x days. he was only interested in supporting glibc, not uclibc or musl. 2022-01-01 17:26:52 he suggested that we fork systemd and maintain our own musl support patches, which we could do, but we would rather spend that effort to build something more suited to our own tastes 2022-01-01 17:46:36 there was a blog post some months ago about creating a new init daemon 2022-01-01 17:46:49 is there any news about it ? will it be done ? has it started ? 2022-01-01 17:47:06 is it still waiting for money ? 2022-01-01 17:47:30 s6, by our very own skarnet 2022-01-01 17:49:24 Earlier today I had an issue where I could not make new ssh connections to my rpi zero 2 w (with Alpine 3.15.0 aarch64, connected on wifi), but when I pinged the router from a shell on the rpi zero, it started accepting incoming connections again. I don't see anything in /var/log/messages that could explain this. Is there any way of adding additional debug-level logging about wifi events? 2022-01-01 18:16:58 why switch to s6? 2022-01-01 18:18:18 imagine openrc but the supervision actually works 2022-01-01 18:22:29 Will AplineConf be online event? 2022-01-01 18:23:33 also maybe a bit smaller :] 2022-01-01 18:32:50 will existing systems with openrc be able to upgrade and get s6, or will it require a reinstall? 2022-01-01 18:33:29 it should be possible to switch without reinstalling. I did that on my Adelie VM 2022-01-01 18:33:38 ah, nice. very cool 2022-01-01 18:39:58 Has anyone hands-on with it? Is the UX similar to OpenRC? I find it pretty easy to use 2022-01-01 18:54:58 s6 as it's right now is not a full init system. skarnet is working on expanding it 2022-01-01 19:00:13 https://skarnet.com/projects/service-manager.html 2022-01-01 19:30:20 rdavidson: disable wifi power saving on the rpi 2022-01-01 21:22:03 Hello erentar 2022-01-01 21:55:58 wej: any idea how to do that reliably? it turns on on each boot, and i can't seem to control it in /etc/network/interfaces 2022-01-01 21:58:05 `iw dev wlan0 set power_save off` works i think, and you can use the `local` openrc service 2022-01-01 21:59:13 /etc/local.d/README tells you more about how local works, but you just put a script in there named like disable-powersave.start and make it +x, and execute that in it 2022-01-01 21:59:28 then rc-update add local default 2022-01-01 22:02:39 feels like a hack :( 2022-01-01 22:04:35 not much of one, it's just running something post boot 2022-01-01 22:06:25 you can probably also do it in some ifupdown-ng post script, maybe if-up.d is the right place, but i'm not sure about those 2022-01-02 03:08:26 should I put fonts in ~/.fonts or ~/.local/share/fonts? 2022-01-02 03:10:57 they are both read by fontconfig to my knowledge 2022-01-02 06:01:34 Hi everyone, this is my first post on IRC :-) 2022-01-02 06:02:26 I am stuck in my project, where I would like to install some software from the source code :-(, during installation there are many warnings 2022-01-02 06:03:42 The software I would like to install is 1-wire from https://github.com/owfs/owfs, I have gathered all the information I can about my problem in one document so I do not spam this group too much 2022-01-02 06:04:19 Link to the document https://docs.google.com/document/d/1ImWH9wQX54GDlgb44vuCpooxYgolmKU-MAjvSu4sfjM/edit?usp=sharing 2022-01-02 06:05:00 The document is writable so it is possible to write comment and what I should try next 2022-01-02 06:06:41 Jorgen_Schou_DK: FYI general best practice is to put the error messages in a pastebin (for example tpaste.us) and put the steps you tried directly here (in IRC). 2022-01-02 06:08:48 Jorgen_Schou_DK: As far as your problem goes, I would recommend using the release tar.gz from https://github.com/owfs/owfs/releases/ (currently named owfs-3.2p4.tar.gz) so that you don't need to run ./bootstrap, which is only needed to generate the ./configure script, but the release tar will have ./configure already included. 2022-01-02 06:16:09 Ok I will try owfs-3.2p4.tar.gz instead :-) and next time I will post the error on tpaste.us 2022-01-02 06:18:12 Thank you for pointing me in one direction :-) 2022-01-02 07:56:33 hm, turning off internet/bt and using slock to lock computer at night, using 'doas ip link set eth0 down' for turning off internet, i leave irssi on (without internet), day after irc seems to disconnect/lag a lot :S 2022-01-02 07:57:38 i turn off/on modem to fix it, i guess i also turn off irssi 5m or so ... thought it was the modem reboot that helped, but maybe its irssi restart? 2022-01-02 08:08:15 ah, NOT fixed :/ 2022-01-02 10:13:54 anyone know about the unstable internet problem after disabling internet for the night? is it some power saving hangup? 2022-01-02 10:14:09 (seems to work after reboot) 2022-01-02 10:14:28 it might not be specific to alpine… 2022-01-02 11:52:52 Hello 2022-01-02 11:52:52 im trying to build / install a newest version of https://github.com/matrix-org/pantalaimon becouse in the repository there is 8.3 and its broken, im trying for 3 days and i cant do it. pip has been running for 20+ hours, setup install gives me error: gcc: internal compiler error: Segmentation fault signal terminated program cc1 any ideas? :( 2022-01-02 11:52:53 the arch is arm7 2022-01-02 11:54:38 myndyui132: Can you share how you are building it? 2022-01-02 11:55:22 just like in the link, with setup.py and pip, nothing worked with system libraries so i created a virtualenv and there i do it 2022-01-02 11:55:57 On alpinelinux you typically want to use packages from the repositories 2022-01-02 11:56:22 the version 8.3 is outdated, there are many bugs and cant be used. the newest version is 10.2 2022-01-02 11:56:33 I mean dependencies 2022-01-02 11:57:11 the not work, there are conflicts, diffrend and outdated versions 2022-01-02 12:23:27 Can you share more details? 2022-01-02 12:28:47 perhaps it ran out of resources? 2022-01-02 12:29:09 no 2022-01-02 12:29:10 i got it 2022-01-02 12:29:12 wget https://gitlab.alpinelinux.org/z3ntu/aports/-/jobs/581850/artifacts/raw/packages/testing/armv7/pantalaimon-0.10.3-r0.apk 2022-01-02 12:29:13 wget https://gitlab.alpinelinux.org/z3ntu/aports/-/jobs/581850/artifacts/raw/packages/testing/armv7/pantalaimon-ui-0.10.3-r0.apk 2022-01-02 12:29:13 apk add pantalaimon*.apk 2022-01-02 12:29:18 thats the wey 2022-01-02 12:30:39 aha aha 2022-01-02 12:32:03 hi 2022-01-02 12:33:05 does anyone has experience with this error setting up sound? " Audio Port: ASoC: no backend DAIs enabled for Audio Port" 2022-01-02 12:37:38 Does not ring a bell 2022-01-02 12:37:43 :D 2022-01-02 12:38:28 yeah 2022-01-02 12:40:47 it's [ 3.950595] input: bytcr-rt5651 Headset as /devices/pci0000:00/808622A8:00/bytcr_rt5651/sound/card0/input0 2022-01-02 12:42:26 setting up sound was soo smooth with tinyalsa (and remembering to give permission) 2022-01-02 12:42:38 dunno if i can even say i set it up 2022-01-02 12:42:56 let's try :) 2022-01-02 12:46:43 (i only used it for mixing to mute/unmute ;p, but can use for volume too) 2022-01-02 12:47:06 I think that this hardware needs something special 2022-01-02 12:47:22 this seems pretty old https://github.com/tinyalsa/tinyalsa 2022-01-02 12:47:25 ops 2022-01-02 12:47:48 https://github.com/plbossart/UCM/issues/13#issuecomment-340125512 2022-01-02 12:49:01 donoban: its in repo 2022-01-02 12:49:12 old and works is good :] 2022-01-02 12:49:25 tinyalsa? I've already installed it, I don't see it helps here 2022-01-02 12:49:42 localhost:/home/donoban# tinyplay alarm.wav 2022-01-02 12:49:44 failed to open for pcm 0,0 2022-01-02 12:50:20 try 'tinymix controls' 2022-01-02 12:50:38 uhM, 2022-01-02 12:50:42 im not skilled enough to help others btw :p 2022-01-02 12:50:46 Number of controls: 245 2022-01-02 12:51:01 https://tpaste.us/vg85 2022-01-02 12:51:07 i "only" have 35 2022-01-02 12:51:20 oh, you need .alsarc maybe 2022-01-02 12:51:28 or config/alsa/alsarc 2022-01-02 12:52:20 I need an alsa tutorial :D 2022-01-02 12:53:08 yeah! 2022-01-02 12:53:49 maybe pulse helps i dunno (i dont use it) 2022-01-02 12:54:05 but it's a headless mini computer 2022-01-02 12:54:13 I just want to run spotifyd there 2022-01-02 12:57:04 re-reading I didn't say that tinyalsa was old, I was refering to the github comment 2022-01-02 13:00:11 ah i see 2022-01-02 13:26:40 Does anyone else see the "firefox is already running but is not responding" error on their alpine systems? I have 3 systems that work fine, but in the fourth, I always get this message when firefox *is* running 2022-01-02 13:27:11 So technically the error message might be correct, but I am not getting why firefox is not reacting to a new process and whether that's SHM or other means that fail 2022-01-02 13:29:36 nico[m]: Has something to do with dbus, I had the same issue on a new system 2022-01-02 13:29:59 ooh, "good" to read 2022-01-02 13:30:03 I am currently reading the strace of firefox, not so pretty 2022-01-02 13:30:56 So I did not have dbus-x11 installed, now retrying with it 2022-01-02 13:31:19 (guessing this might be the issue because of: `[pid 6164] execve("/usr/sbin/dbus-launch", ["dbus-launch", "--autolaunch", "8dd606765bf54d120610f98b6008ad12", "--binary-syntax", "--close-stderr"], 0x7f3218012700 /* 36 vars */) = -1 ENOENT (No such file or directory)`) 2022-01-02 13:32:36 That solved it, that was a good pointer ikke ! 2022-01-02 13:32:50 nico[m]: thanks, good to know 2022-01-02 13:32:59 I wasn't exactly sure how I fixed it 2022-01-02 15:05:06 Hello again, i've just had another failed boot, fyi i have been coming home to kernel panics, and i had to plug an alpine usb and run fsck to get my system running again. Today, i had to restart the machine, there was no changes made but i've noticed some connectivity problems, so i just log in as root, run the reboot command and then i'm met up 2022-01-02 15:05:06 with the same error that happened 4 times over the two monts, "mount: mounting /dev/sda3 on /sysroot failed: No error information". I've run the extended self checks the disk have and they say the disk is ok. How can i prevent this from happening in the future, i need this mahine running 24/7. 2022-01-02 15:06:05 nothing in /var/log/messages or dmesg? 2022-01-02 15:06:34 can i see them inside recovery shell? 2022-01-02 15:06:47 once mounted 2022-01-02 15:07:07 it can't mount it, i'll try to see them after i fsck it again 2022-01-02 15:07:25 is smart enabled? 2022-01-02 15:07:43 is it enabled as default? 2022-01-02 15:08:01 i didn't touch anything about the disk except running self checks using smartctl 2022-01-02 15:08:08 that's smart 2022-01-02 16:45:07 I don't see anything suspicious in the /var/log/messages 2022-01-02 16:46:15 Root logs in and restarts the machine as usual, other than that its only periodic runs and the shutdown stuff 2022-01-02 16:49:36 https://transfer.sh/uji6A2/messages.txt 2022-01-02 16:49:37 https://transfer.sh/8qYwxh/dmesg.txt 2022-01-02 16:50:45 18:13:27 the first message after coming back up? 2022-01-02 16:51:29 first message is Dec 24 03:30:00 2022-01-02 16:51:54 let me see 2022-01-02 16:52:05 and what point did it reboot? 2022-01-02 16:52:09 should be 19:xx 2022-01-02 16:52:23 Jan  2 17:58:57 server auth.info login[7941]: root login on 'tty1' 2022-01-02 16:52:29 this is when root logs in to restart 2022-01-02 16:52:47 19:42:08 is when server is back up 2022-01-02 16:52:51 this log is from december 2022-01-02 16:53:04 it goes to jan 2 2022-01-02 16:53:07 so today 2022-01-02 16:53:16 that's not what https://transfer.sh/uji6A2/messages.txt shows me 2022-01-02 16:53:26 download it, and check again 2022-01-02 16:53:36 bah 2022-01-02 16:53:45 preffer pastebin? 2022-01-02 16:54:12 anything that shows the bare file 2022-01-02 16:54:31 bare file is https://transfer.sh/uji6A2/messages.txt it just has an extension 2022-01-02 16:54:42 remove it and its your pure curl uploaded messages file 2022-01-02 16:55:10 https://transfer.sh/uji6A2/messages ? 2022-01-02 16:55:26 i mean after you download it 2022-01-02 16:55:45 i'm not going through more steps to view a file that should be shown as is already 2022-01-02 16:56:00 okay let me upload to hastebin 2022-01-02 16:57:10 https://www.toptal.com/developers/hastebin/urozocubak.apache 2022-01-02 16:57:23 this is what is inside the messages 2022-01-02 16:57:54 17:59:51 is when the server restarts but fails 2022-01-02 16:58:00 19:42:08 2022-01-02 16:58:07 is when i get it back up 2022-01-02 16:59:33 indeed, nothing detected 2022-01-02 17:00:11 how is someone able to log in if the kernel has panicked? 2022-01-02 17:00:38 The kernel panicked before 2022-01-02 17:00:44 The results were same 2022-01-02 17:00:48 I restarted today 2022-01-02 17:00:51 Results are same 2022-01-02 17:01:06 So it just randomly makes /dev/sda3 unusable 2022-01-02 17:01:26 And i notice it only if i restart or it just panics 2022-01-02 17:02:08 ok. this log just shows normal procedure of someone shutting it down, then it coming up some time later 2022-01-02 17:02:41 it didn't start up, i had to plug in a alpine usb and run fsck on the /dev/sda3, then it started up 2022-01-02 17:03:03 ah, and that happened between 18:00:12 and 19:42:08? 2022-01-02 17:03:06 Yes 2022-01-02 17:03:22 ok, well, we determine there's nothing untoward in this log :) 2022-01-02 17:04:24 Yeah, this is very strange 2022-01-02 17:04:58 i may have had something similar where a drive sometimes wasn't detected well enough for a system to boot, and sometimes was. i think that was a hardware problem 2022-01-02 17:05:12 but you say it always works fine after a fsck? 2022-01-02 17:05:32 Yep, every time i fsck, it boots up, runs for some time until i need to fsck again 2022-01-02 17:05:49 can you try a different drive? 2022-01-02 17:06:16 I don't have any spare drives that hasn't failed atm 2022-01-02 17:06:41 maybe a full bad block check might show something 2022-01-02 17:07:01 i did extensive check using smartctl, nothing showed up, i can try again 2022-01-02 17:07:35 which fsck? e2fsck? 2022-01-02 17:07:51 e2fsck 2022-01-02 17:07:56 with -c? 2022-01-02 17:08:13 nope, just fsck.ext4 /dev/sda3 2022-01-02 17:08:35 try -c next time, before bed 2022-01-02 17:08:53 and -y maybe 2022-01-02 17:09:14 what does those parameters do? 2022-01-02 17:10:04 -c checks for bad blocks, -y auto fixes anything, if possible 2022-01-02 17:10:06 man e2fsck 2022-01-02 17:10:37 Will try next time 2022-01-02 17:13:15 Just in case, i started another extensive test using smartctl /dev/sda --smart=on 2022-01-02 17:13:45 The drive has no uncorrectable errors, no reallocated sector counts, it's as good as it can be 2022-01-02 17:14:29 * smartctl /dev/sda --test=long 2022-01-02 17:25:08 when the machine is shutdown in an orderly fashion then the rootfs is "clean" once it has been unmounted, I don't see how it can then have fsck errors at next boot unless it is a drive issue 2022-01-02 17:25:35 obviously if the machine panics/crashes that is another matter 2022-01-02 21:21:54 FWIW, I had a similar issue (different results, but basically kernel panic and no reason why). Disk was fine, although similar issues with fsck. Replaced RAM and problem went away. Couple months later, decided to put the old RAM back in before throwing it away. Machine has been up 47 days, no problems. I suspect if I had just reseated the RAM, it might have solved the problem. 2022-01-02 21:29:05 "Don't use the computer to do things that can be done efficiently by hand" - Richard Hill (From Jon Bentely's "Programming Pearls") 2022-01-02 21:30:04 s/Bentely/Bentley/ 2022-01-02 21:30:04 nangel meant to say: "Don't use the computer to do things that can be done efficiently by hand" - Richard Hill (From Jon Bentley's "Programming Pearls") 2022-01-02 21:55:25 Hi. can you run apk system updates through gnome-software 2022-01-02 21:57:09 i think there is an apk plugin for gnome-software 2022-01-02 21:57:47 merely opening gnome-software prompted me for things related to that 2022-01-02 21:57:48 i dunno 2022-01-02 21:59:12 well consider this: normally system updates through gnome-software would reboot into a sepcial systemd target in order to install the updates without breaking stuff. but because alpine doesn't use systemd, i 2022-01-02 21:59:32 *i'm really wondering if someone made the effort to port this to openrc 2022-01-02 21:59:35 did you try actually pressing the buttons 2022-01-02 22:00:37 nope, didn't get gnome to work properly last time i tried and i want to know if features i want work before investing effort again 2022-01-02 22:02:14 I've had reasonable success using GNOME Software to install both flatpak and APK, but I had to run it once as root first. Otherwise, it would error out on permissions on a directory 2022-01-02 22:11:14 Saijin_Naib[m]: this is such a weird issue to have. i actually think one of the next versions of alpine should be dedicated to polish one desktop environment, no matter if it's gnome, kde or anything else. the state of desktop in alpine is weird imo, i had quite a few issues (can't really name them all anymore), it would be really cool to make it a very nice option for desktop use 2022-01-02 23:24:05 thank you for volunteering 2022-01-02 23:25:19 polish desktops? 2022-01-02 23:25:24 what if you dont speak polish? 2022-01-02 23:32:56 use any RTL language instead for maximum bugs 2022-01-03 00:14:46 I'm having a hard time to use my builtin-card reader, I have enabled the mmc_* kernel modules, and now dmesg outputs to me: error -110 whislt initializing SD card 2022-01-03 00:15:25 the card works fine on my camera, but appears that it refuses to even detect on my computer 2022-01-03 00:16:30 what is the filesystem on it? 2022-01-03 00:16:59 does it even get a device name assigned? 2022-01-03 00:17:07 like so you can do cfdisk -l /dev/sdX 2022-01-03 00:18:34 It doesn't get a device name 2022-01-03 00:20:10 i've had errors like that a bunch of times and it was the fault of the card/sd-microsd adapter i was using 2022-01-03 00:20:20 like if i held it in and pressed it it would detect lol 2022-01-03 00:20:49 hm 2022-01-03 00:21:41 which is kind of weird because on the camera it works perfectly fine 2022-01-03 00:21:47 but it could be that too 2022-01-03 00:40:35 normally I'd expect a MMC (i.e. SD card) to how up as a /dev/mmcblk0 device, unless you are using it via a SDcard-to-USB adaptor 2022-01-03 00:40:46 s/how/show/ 2022-01-03 00:40:46 minimal meant to say: normally I'd expect a MMC (i.e. SD card) to show up as a /dev/mmcblk0 device, unless you are using it via a SDcard-to-USB adaptor 2022-01-03 00:48:02 yes, but it doesn't appear any new device as /mm* 2022-01-03 00:55:17 what make is the card reader? Realtek? 2022-01-03 01:02:28 electrotupi: ^^^ 2022-01-03 02:17:34 If I'm making a bootable USB is there a standard way to include packges that are not in the extended iso? 2022-01-03 02:43:35 mkimage.sh 2022-01-03 02:49:56 I was thinking of just including an apk cache directory but I suppose this could work 2022-01-03 03:24:59 you can also use apks dir or lbu 2022-01-03 03:49:54 It looks like lbu assumes a working network conection, and stuffing the extra apks into /apks on the USB would be fine, but I'm not sure how to handle the APKINDEX 2022-01-03 04:44:42 Where is the mapping from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz to /etc/apk/cache/APKINDEX.066df28d.tar.gz in particular what is 066df28d 2022-01-03 08:00:14 is there much security difference between using syncthing/bt/usb-cable to transfer files to/from an android phone? (prob in itself a security risk but eh) 2022-01-03 08:22:09 bluetooth is probably the least secure of those and could have the transfer sniffed by another device. iirc syncthing uses bittorrent for p2p transfers. maybe if you were on wifi someone can spy on something. in that case, usb would probably be most secure. 2022-01-03 08:28:08 i don't think sniffing encrypted packets off wifi is very useful 2022-01-03 08:58:27 Hwllo. Where can I read to work out what "use logger dns" in depends for inadyn's init script? Thanks, 2022-01-03 08:59:42 if you are asking because you get a warning related to use dns not doing anything, you can ignore it 2022-01-03 09:02:12 No, trying to learn what stuff means and how to tweak init files 2022-01-03 09:02:30 but what 'use' means, is that it will start the service providing use before it if it's in the same runlevel 2022-01-03 09:02:48 nothing provides dns by default, so it gives you a warning that it's missing 2022-01-03 09:04:39 it doesn't matter if you're not actually running dns- all dns resolution is implicitly working because it's just requesting stuff from /etc/resolv.conf, but if you had an actual local resolver, those services provide dns so the resolver can start first, i.e. dnsmasq 2022-01-03 09:04:47 https://github.com/OpenRC/openrc/blob/master/service-script-guide.md says "use is a soft dependency - if dns, logger or netmount is in this runlevel start it before, but we don't care if it's not in this runlevel. " 2022-01-03 09:04:49 even then some of them are missing that line, as it's mostly not super useful 2022-01-03 09:05:12 openrc does not do actual service readiness so these dependencies have always been pretty valueless 2022-01-03 09:05:18 it's refering to a sample depend() that has "use dns logger netmount" 2022-01-03 09:07:24 Ok, think that makes sense. Thanks everyone. I am trying to track down where it logs. 2022-01-03 09:09:24 probably syslog 2022-01-03 09:09:29 so /var/log/messages 2022-01-03 09:27:43 Hello! 2022-01-03 09:28:45 Does Alpine clear the /tmp directory regularly? I found that some Linux distributions cleans up tmp directory periodically but couldn't find what Alpine Linux does wrt that 2022-01-03 09:29:14 the default is off 2022-01-03 09:29:31 the script that clears it is /etc/init.d/bootmisc, default enabled, but you need to set wipe_tmp in the conf.d for it 2022-01-03 09:29:47 ok, thanks 2022-01-03 09:30:02 I'm trying to find out why some files keeps disappearing 2022-01-03 09:30:15 dissappearing in between boots? 2022-01-03 09:30:33 it's not uncommon to have /tmp mounted as tmpfs and hence never use any real storage as well 2022-01-03 09:30:38 check your /etc/fstab if it has that 2022-01-03 09:30:53 and anything relying on /tmp being persistent is a bug in the program 2022-01-03 09:31:40 No, we have some PHP software which writes to /tmp. We've been trying to see if it's bug in the code but cannot find anything 2022-01-03 09:31:48 But I'll check what you suggested 2022-01-03 09:32:52 We have Docker image based on Alpine 2022-01-03 09:33:09 bootmisc cleans some known files even if wipe_tmp is unset 2022-01-03 09:33:31 containers don't even run openrc on startup 2022-01-03 09:33:35 do they? 2022-01-03 09:34:23 the tmp just starts empty, and stays with whatever is in it as the container exists 2022-01-03 09:37:47 psykose: thank you. 2022-01-03 09:38:00 ^_^ 2022-01-03 09:39:32 Miika--: if it's a docker container then pretty much none of this applies, and something dissappearing is probably the application doing something wrong, but i can't say for sure 2022-01-03 09:40:35 does that mean one should not modify the init.d file but the create/modify a conf.d one instead? 2022-01-03 09:41:08 conf.d is only useful to create variables for init.d 2022-01-03 09:41:35 in this case there doesn't seem to be much to modify 2022-01-03 09:41:45 the dns warning is harmless, unless there was some other issue 2022-01-03 09:44:20 psykose: ok, thanks, will do some more debugging 2022-01-03 09:45:19 Miika--: for /tmp itself you can see if it's container disk or tmpfs (ram only) by looking at `mount` output, with the latter showing a tmpfs mounted on /tmp 2022-01-03 09:45:56 i am not sure how tmpfs works with containers, but maybe it being tmpfs means if the container is paused it is cleared? idk how container memory works, or if it being disk backed is even a safe assumption without tmpfs 2022-01-03 09:46:38 if 'most' files are there but only something random dissappears then it's 99% an application deleting or not writing/flushing the file properly 2022-01-03 09:52:30 If I exec mount, I get only rootfs entry 2022-01-03 09:53:32 But yea, we do some more debugging. Thanks for your help! 2022-01-03 11:05:41 hey all, I'm a new Alpine user and was going to use it as a lightweight KVM host through virt-manager. I'm not the most knowledgable, especially when it comes to VMs/KVM etc. and even less so with OpenRC. I'm facing an issue where, in virt-manager, it says it can't connect to virtqemud-sock. I tested out User Sessions and they work perfectly, but for what I need a regular network is required. does anyone have any idea what could be causing this 2022-01-03 11:06:49 and if not, does anyone have some troubleshooting tips? I tried looking this up online already but a lot of it didn't help me much 2022-01-03 11:07:24 do you have the virtqemud service running 2022-01-03 11:07:58 aside from that afaik you need polkit(or something) to run vms from a regular user, otherwise you need to execute the libvirt stuff as root 2022-01-03 11:09:32 sorry, what's the correct command to see if a service is running? (tried rc-status) 2022-01-03 11:10:00 also I'll look into polkit, that sounds like it could be the issue here 2022-01-03 11:11:51 it would be in the rc-status output sure 2022-01-03 11:11:58 or rc-service virtqemud status 2022-01-03 11:17:56 says "Permision denied" when used via doas, I'll rerun the command later on a higher privledged user. but what you said about polkits is correct, that seems to be my issue. thanks :-) 2022-01-03 13:16:26 psykose: the default doesn't seem to log so just to bump the log verbosity up that's all. 2022-01-03 13:38:24 Does the /lib/apk/db/installed file have the same information that would be produced by apk info -v? Is /lib/apk/db/installed always written to when packages are updated? 2022-01-03 13:48:55 Hi, I am considering replacing arch on my pi4 with alpine (diskless). After reading through the wiki for a bit I am kinda confused about how kernel updates are done. As I understand it I'll have to somehow monitor when a new alpine version is out and then manually replace the old image on the sd card with the new one (and update repo urls etc.). This seems kinda tedious or am I missing something? 2022-01-03 13:50:20 There is an update-kernel script 2022-01-03 13:58:03 https://wiki.alpinelinux.org/wiki/Package_management states that the update-kernel script requires 8GB of free memory, my pi does not have that. 2022-01-03 14:11:32 alpine too big! 2022-01-03 14:11:43 weird my current system is about 2GB 2022-01-03 14:18:34 anyone know of a guide for tunneling traffic from only a specific program through wireguard, on linux? 2022-01-03 14:18:42 it's easier to just configure the program to bind on the desired address/interface 2022-01-03 14:19:05 Hello71: rtorrent has the option: 2022-01-03 14:19:06 -b Bind the listening socket to this IP 2022-01-03 14:19:59 should it be enough to set up a wireguard interface and provide the corresponding ip address to rtorrent -b? 2022-01-03 14:23:14 pinsl: if you run from ram check setup-bootable 2022-01-03 14:24:30 as described on this wiki page? https://wiki.alpinelinux.org/wiki/Upgrading_Alpine#Upgrading_Alpine_Linux_on_other_removable_media_.28such_as_CF.2FUSB.29 2022-01-03 14:25:42 this page describes rtorrent's "bind" option: 2022-01-03 14:25:46 http://web.archive.org/web/20160316051653/http://www.ichimonji10.name/blog/1/ 2022-01-03 14:25:57 "rTorrent binds to this IP address. It listens for incoming traffic at this IP address, and outbound traffic uses this IP address as a source address." 2022-01-03 14:26:06 that sounds good but it's an outdated blog post 2022-01-03 14:26:46 of course the official documentation has the bind and network.bind_address.set options marked TODO: https://rtorrent-docs.readthedocs.io/en/latest/cmd-ref.html 2022-01-03 14:26:50 maybe I should just use transmission 2022-01-03 14:29:31 it may possibly work but i think on linux you need to set up policy routing rules 2022-01-03 14:30:09 ip route add default dev wg0 table 10000 && ip rule add src wgip lookup 10000 2022-01-03 14:30:50 otherwise iirc with default sysctls linux will try to use wg ip for default interface (eth0 or whatever) 2022-01-03 14:31:10 also this method probably leaks dns 2022-01-03 14:31:29 so maybe a netns would be easier 2022-01-03 14:33:59 could be 2022-01-03 14:47:11 @clandmeter, does setup-bootable work with pi images? they are not isos 2022-01-03 14:48:21 hi, i was trying to install `postmarketos-ui-sxmo-de-sway` from a PostmarketOS Edge Pinephone and i got the error:... (full message at https://matrix.org/_matrix/media/r0/download/matrix.org/rptyPDVtGDlTFHDJzWDtCOkn) 2022-01-03 14:49:33 * hi, i was trying to install `postmarketos-ui-sxmo-de-sway` from a PostmarketOS Edge Pinephone and i got the error:... (full message at https://matrix.org/_matrix/media/r0/download/matrix.org/ZAqlfFeCLHNkWccwdlQjxTjZ) 2022-01-03 14:54:32 pinsl: not sure, but you can also manually replace the kernel and related files. 2022-01-03 14:58:42 @clandmeter, is that really the way this is supposed to be done? I'd like kernel updates to be easy and reliable. Should I run maybe alpine in sys-mode? 2022-01-03 15:02:43 hello, any idea how I can install both python 3.10 et 3.09 on the same laptop ? (for testing) 2022-01-03 15:03:11 use a virtualenv? 2022-01-03 15:04:06 pinsl: yes thats how its supposed to work, although we used to only have iso images. 2022-01-03 15:04:59 looking at the script, you can also extract the tarball and use that as source 2022-01-03 15:06:13 but i would backup your config.txt and related modified files 2022-01-03 15:06:42 jvoisin: Tks, I am already in a venv and I try to run: `apk --allow-untrusted add ./python3-3.9.5-custom.apk` and system replies: ` breaks: world[python3> Ok but if the kernel is only updated when a new alpine release is available doesn't that mean that kernel updates are less frequent? 2022-01-03 15:09:11 (that is when running diskless and not sys-mode) 2022-01-03 15:12:19 not every new kernel is backported 2022-01-03 15:12:38 but if you run edge, yes it will be less frequent 2022-01-03 15:20:11 @clandmeter, that seems to make it less secure than e.g. arch where kernel updates are more frequent. Does apk tell me when there is a new alpine release? 2022-01-03 16:07:04 apk is not aware of alpine releases 2022-01-03 16:07:22 An alpine release mostly means new bootmedia 2022-01-03 16:10:38 @ikke, and new kernel right? 2022-01-03 16:12:01 The repos already get new kernels in the meantime, but if you mean for run-from-ram systems, you either use update-kernel or update the boot medium 2022-01-03 16:17:18 @ikke, Ok, I am just not sure if diskless alpine is the right choice for my raspberry pi. Kernel updates seem slow and the kernel update process tedious. Would you recommend a sys-mode setup? 2022-01-03 16:18:00 just fyi, the @ is not part of the name and just means that person is an op (and you don't need to type it to ping them) 2022-01-03 16:18:44 pinsl: The issue is that we do not officially support a sys install for raspberry pi's yet as far as I know 2022-01-03 16:19:06 any idea why I can't install linux-firmare-intel on dellXPS ? First boot with live usb key. I have a permission folder error. 2022-01-03 16:19:12 I have maybe missed smthg 2022-01-03 16:19:29 bdju, ah thanks. I'm new to irc... 2022-01-03 16:22:19 ikke: is a dikless install considered to be insecure? The pi will be reachable from the internet. 2022-01-03 16:23:29 Whether it's reachable from the internet depends on your network setup, not the way you install it 2022-01-03 16:24:24 yes of course I just mean because the kernel is older 2022-01-03 19:11:33 vlp[m]: linux-firmware cannot be installed on live usb. it already comes with basic firmware; if you need additional firmware you can use extended 2022-01-03 19:11:48 note that linux-firmware-intel doesn't contain sof firmware 2022-01-03 19:12:58 Hello71: tks ! You mean that I should finish the install on the laptop in order to install new firmware ? 2022-01-03 19:23:35 you can 2022-01-03 19:24:22 I have an XPS w/ a AX1650 network card and I imagine that I need Intel ucode 2022-01-03 19:29:45 alpine-standard is supposed to come with firmware for all supported wifi cards 2022-01-03 19:42:07 I even try with the extended and from the live usb, wifi card is not recognized. In the `mesg` I have `iwlfifi Direct firmare load for iwwifi failed` 2022-01-03 19:42:50 s/mesg/dmesg/ 2022-01-03 19:42:50 vlp[m] meant to say: I even try with the extended and from the live usb, wifi card is not recognized. In the `dmesg` I have `iwlfifi Direct firmare load for iwwifi failed` 2022-01-03 20:18:40 ive tried many wireguard tutorials... and i have yet to get it working on Alpine :| 2022-01-03 20:33:26 jhjacobs81: does wg-quick do what you want? 2022-01-03 20:43:43 well, it says wg-quick: `wg0' already exists 2022-01-03 20:45:03 and yet.. no data is beeing send or recieved 2022-01-03 20:45:16 so maybe i am somehow messing up with awall 2022-01-03 20:53:45 jhjacobs81: is the wg0.conf known to work? 2022-01-03 20:53:55 i had to comment out the DNS line in mine to get it working 2022-01-03 20:54:32 then to test out the new config: wg-quick down wg0; wg-quick up wg0 2022-01-03 20:56:07 all i have is: https://pastebin.com/C2Ykf2DH 2022-01-03 20:57:47 is ListenPort necessary for you? i don't have that 2022-01-03 20:58:12 i have to do some IRL stuff now but i'll check the logs when i get back, good luck! 2022-01-03 20:58:20 have fun :) 2022-01-03 22:51:33 i have returned, still wire-un-guarded jhjacobs81 ? 2022-01-03 22:53:09 i think you might want "AllowedIPs = 0.0.0/0, ::/0" under [Peer] 2022-01-03 22:54:05 AllowedIPs — a comma-separated list of IP (v4 or v6) addresses with CIDR masks from which incoming traffic for this peer is allowed and to which outgoing traffic for this peer is directed. 2022-01-03 22:54:54 sorry, i meant "AllowedIPs = 0.0.0.0/0, ::/0" 2022-01-04 05:06:47 Does this error always mean Out Of Memory?... (full message at https://matrix.org/_matrix/media/r0/download/matrix.org/yEckwXXHHTpqvOfvuNgRmwII) 2022-01-04 05:07:06 I'm having a nightmare of a time building this package locally with 4GB RAM and 4GB SWAP 2022-01-04 05:11:08 you could watch your memory while building it 2022-01-04 05:11:24 killed by signal is more indicative, but i don't know if there's more output 2022-01-04 05:11:32 you should probably not truncate logs like that 2022-01-04 05:11:41 Nah, that seems to be all that's printed to the terminal when I'm building it in venv 2022-01-04 05:12:48 Ah, I'll capture the full console log then 2022-01-04 05:13:06 RAM goes up significantly, but only like 100MB of swap gets used before it quits 2022-01-04 05:13:28 I'm not aware that this has been built/packaged against MUSL. Could it possibly be an error that GLIBC ignores? 2022-01-04 05:15:00 its probably failing to compile 2022-01-04 05:15:15 highly unlikely its running out of memory with 8GB 2022-01-04 05:18:19 ACTION sent a code block: https://matrix.org/_matrix/media/r0/download/matrix.org/JRZjxNxVZcyyUhQdTiDsqYYl 2022-01-04 05:19:01 We have (I believe) all of the packages it depends upon packaged, so this has me stumped 2022-01-04 05:19:48 this looks like a py3.10/cython error 2022-01-04 05:20:41 Mmm, okay. Is this something that should be reported upstream to Python or rasterio? 2022-01-04 05:22:33 its already fixed 2022-01-04 05:22:52 https://github.com/rasterio/rasterio/pull/2334 2022-01-04 05:22:57 just not on the latest tag 2022-01-04 05:23:24 although not sure if that mattered given the cython version in aports 2022-01-04 05:23:30 lemme do some more testing 2022-01-04 05:23:36 Oh, wow. Thank you 2022-01-04 05:27:12 build fine on master 2022-01-04 05:27:47 Hah, awesome. So that one tweak to the project.toml is all I need for now? 2022-01-04 05:28:36 that tweak doesn't actually do anything as the system cython is already that (new) version, and i think if you have an older one it should fail with a version check 2022-01-04 05:29:21 i can build the latest tag too 2022-01-04 05:30:23 Ahh, it must be something broken in the current stable tag of 1.2.10 that is fixed in master/1.3a2 then, right? 2022-01-04 05:35:04 i checked only a2 2022-01-04 05:35:57 Perfect. I'm working on 1.2.10 right now, so if it fails it has to be something fixed in 1.3a2 2022-01-04 05:43:05 isn't it already in the repos 2022-01-04 05:43:19 https://pkgs.alpinelinux.org/package/edge/community/x86_64/py3-rasterio 2022-01-04 05:43:46 😑 2022-01-04 05:43:58 As of today, apparently. I've been fighting thist stupid thing for days haha 2022-01-04 05:44:47 it was actually added in december 2019 2022-01-04 05:45:04 Then I have no idea. I could have sworn I searched for it 2022-01-04 05:45:26 it does show up in apk search rasterio 2022-01-04 05:45:39 happens :p 2022-01-04 05:46:46 I'm sorry for wasting your time with this 2022-01-04 05:46:57 Thank you as ever for the assistance, however 2022-01-04 05:47:04 hehe 2022-01-04 05:47:12 i even made a working apkbuild from scratch 2022-01-04 05:47:23 -_- Shit, I'm sorry 2022-01-04 05:48:05 i should've checked first 2022-01-04 05:48:36 granted, it was only like 10 minutes anyway 2022-01-04 05:48:51 Nah, that's plenty of time wasted chasing down something someone already worked on 2022-01-04 05:49:06 I don't know what's up with me. 2022-01-04 05:49:08 10 minutes lost on gay fanfics for sure 2022-01-04 05:49:30 More interesting than the vagaries of py3 packaging no doubt 2022-01-04 05:49:40 i looove python3 2022-01-04 05:49:49 I can't tell if sarcastic or not haha 2022-01-04 05:49:52 :) 2022-01-04 05:50:06 Better or worse than rust or node packaging? 2022-01-04 05:50:31 Dang, Holger is really holding down the front for geospatial software 2022-01-04 05:50:40 he works in geo 2022-01-04 05:50:46 alpine has almost no node related things 2022-01-04 05:50:53 and a ton of rust things because we don't try and split crates 2022-01-04 05:51:35 as long as it's not trying to split them it's pretty alright on the rust side 2022-01-04 05:51:41 Makes sense he maintains all this. I might have to hit him up for some other packages... 2022-01-04 05:52:22 GRASS would be amazing, but that APKBUILD was not kind to me 2022-01-04 05:52:49 Same for SAGA. Then maybe native MUSL QGIS, which would be quite something 2022-01-04 05:52:51 love the grass 2022-01-04 05:52:57 haha, indeed 2022-01-04 05:57:18 Is this what the cython error looks like? Or is this different?... (full message at https://matrix.org/_matrix/media/r0/download/matrix.org/UtNOsuNiKdWAcSLmBgZGEQAC) 2022-01-04 06:00:27 looks like it, not sure 2022-01-04 06:05:39 https://github.com/Toblerity/Fiona/issues/1043 2022-01-04 06:05:57 Looks like it, and looks like it should not happen with cython > 0.29.21, so... I hate this haha 2022-01-04 06:09:55 do you have pip3 in world 2022-01-04 06:10:10 I do, and this was in a clean venv 2022-01-04 06:10:18 apkbuilds don't run in venv 2022-01-04 06:10:18 I just re-tried outside of venv and it fails the same way 2022-01-04 06:10:24 and in venv your world doesn't matter 2022-01-04 06:10:44 with pip they install random stuff with pip based on the project file, and so you might have cython you don't expect 2022-01-04 06:10:59 just don't use venv and build it normally with global cython, no global pip 2022-01-04 06:11:10 if you want to not remove py3-pip then use rootbld with a working apkbuild 2022-01-04 06:11:36 That will keep it from pulling random stuff during the build? 2022-01-04 06:11:41 Alright, I'll try that 2022-01-04 06:11:44 not having pip installed will prevent it 2022-01-04 06:11:53 but rootbld also blocks network by default yeah 2022-01-04 06:12:32 it's also a useful way to catch some dependencies lazily, you add py3-pip and run it in rootbld, and the failed network request tells you what you're missing :p 2022-01-04 06:12:49 Oh, that sounds quite helpful 2022-01-04 06:12:59 but all of them are just specified in requirements.txt and such as well, it's just another method 2022-01-04 06:13:07 Someone fixed up one of my APKBUILDS because I apparently missed a dependency, so yeah, any help that way is great 2022-01-04 06:13:27 the flatseal package 2022-01-04 06:13:28 requirements /should/ normally have all of them, or the equivalents in pyproject.toml 2022-01-04 06:14:01 Yeah, and fortuantely both Fiona and Rasterio have great docs that spell out the dependencies as well for checking 2022-01-04 06:15:41 in the flatseal case you can literally see 'webkit' mentioned in a single random file, so they're not being very clear there 2022-01-04 06:15:56 How would I check for what cython is in a venv? Would pip3 list show cython? 2022-01-04 06:16:04 it should 2022-01-04 06:16:31 but i would recommend not using venvs to do this 2022-01-04 06:16:43 Yeah, I nuked it after you told me to 2022-01-04 06:17:01 a working rootbld that passes is really all you need for the build part, and runtime deps is, well, just making sure to check what is imported 2022-01-04 06:17:12 the projects make this easy or hard depending, as you noticed 2022-01-04 06:17:13 I'm just seeing where it shows up and what one. It only shows cython with pip3 list, so global, or the APK of cython 0.29.24 2022-01-04 06:17:35 pip3 list in venv shows the venv deps 2022-01-04 06:17:43 DId you save my flatseal then? 2022-01-04 06:17:52 outside of venv it's the global ones 2022-01-04 06:17:53 save? 2022-01-04 06:18:06 Yeah, it wasn't showing cython in venv, but it is now outside of it 2022-01-04 06:18:27 Save, fix up. I guess I can dig throguh the commit history to see who fixed it up haha 2022-01-04 06:23:53 it was jirutka 2022-01-04 06:26:56 Many thanks to them, then. 2022-01-04 07:23:47 hmm today internet seems fine after being offline for the night ... weird... 2022-01-04 11:51:41 I have no wifi on the pi 400 even though brcmfmac is loaded, any idea? (same config works fine on a normal pi 4) 2022-01-04 11:53:25 aah looks like brcm/brcmfmac43456 is missing 2022-01-04 13:15:03 leah: can mblaze/mrep add the -body text file above the original mail quote? 2022-01-04 18:10:02 Can someone explain the translation from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz to /etc/apk/cache/APKINDEX.066df28d.tar.gz in particular what is 066df28d 2022-01-04 18:11:04 That's something I've been wondering myself 2022-01-04 18:11:28 me too 2022-01-04 18:11:58 And why does the ISO ship with a stripped down index instead of just snopshotting the full index? 2022-01-04 18:12:55 To reduce the iso size 2022-01-04 18:14:04 but the index is 633K 2022-01-04 18:15:47 Yes, but it would refer to packages that do not exit on the iso, wouldn't it? 2022-01-04 18:16:17 Yeah, but then you could just drop them into /apks on the USB boot media 2022-01-04 18:16:31 instead of having to jump hoops to resign things 2022-01-04 18:18:06 that is bound to break though 2022-01-04 18:18:14 as packages are updated, signatures will no longer match 2022-01-04 18:21:37 I guess but I could update all the packages that have been updated in the overlay 2022-01-04 18:22:09 but you would need to update the index as well 2022-01-04 18:22:26 Yeah but that already has a valid signature 2022-01-04 18:22:40 not for the updated packages 2022-01-04 18:22:45 if you want to include those 2022-01-04 18:23:40 If I pull in the latest APKINDEX and the latestes packages into /apks it should still work right? 2022-01-04 18:24:06 You can try 2022-01-04 18:24:59 I'm just trying to make boot media that supports ssh hardware tokens (nitrokey) by default and re-signing things seems rediculous 2022-01-04 18:25:34 If you can add the full APKINDEX later yourself, you can also do it now yourself 2022-01-04 18:26:18 Alright I'm going to try doing it that way 2022-01-04 18:27:03 i have a security concern 2022-01-04 18:27:08 are these all fixed by now? https://www.cvedetails.com/vendor/16697/Alpinelinux 2022-01-04 18:29:06 These seem to be all related to apk-tools, they have been fixed 2022-01-04 18:30:10 these are apk-tools cves from 3 years ago, except for the one marked explicitly fixed in secfixes from last year 2022-01-04 18:30:13 so yes, all fixed 2022-01-04 18:31:57 thanks :) 2022-01-04 18:42:00 lucid: apparently it's a checksum of the index 2022-01-04 18:49:04 It's a truncated sha1sum, but not sure of what 2022-01-04 18:50:48 I couldn't figure out how to reproduce it 2022-01-04 18:51:00 but I didn't try very hard 2022-01-04 18:51:25 It's not the sha1sum of the APKINDEX file itself, or the index text file in the archive, or the repo url 2022-01-04 20:32:25 I'm trying to play something with bytcrrt5651 2022-01-04 20:33:22 I don't know if it needs something with ucm or asound.state 2022-01-04 20:33:45 why ucm is on /usr/share/alsa/ucm2 instead only ucm? 2022-01-04 20:36:31 uhM 2022-01-04 21:02:41 I'm gonna try with linux-edge 2022-01-04 21:08:49 well, alsa stills not working but wifi ap seems faaaaaster 2022-01-04 21:36:36 Hi all :-) 2022-01-04 21:36:39 PureTryOut: I've issues when running qt5-multimedia application on Gnome, the entire session crash. Any idea ? 2022-01-04 21:37:36 I suspect that it may be related to Xorg/Wayland as these application are working fine on i3/xorg 2022-01-04 21:50:58 Uh, no 🤔 They work fine on KDE Plasma Wayland 2022-01-04 22:47:25 apk fails to draw progress bar if using ter-u28b font: https://imgur.com/a/fpq3sBD . Should I report bug to apk or terminus-founts? 2022-01-04 22:49:22 it does the same to me with like any font, i don't think it's an apk issue 2022-01-05 04:43:35 hi, my /usr/bin/Xorg isn't suid, is this normal? 2022-01-05 04:44:11 yes 2022-01-05 04:44:26 running startx as a normal user causes X to start but is frozen, but running as root works normally 2022-01-05 04:44:34 my user is in the video group 2022-01-05 05:10:24 ah should my user also be in the input group? 2022-01-05 05:10:46 probably 2022-01-05 05:11:05 getting permission denied on /dev/input/event* stuff 2022-01-05 05:11:13 yep 2022-01-05 05:11:19 and probably the same for audio as well 2022-01-05 05:12:58 yeah 2022-01-05 05:14:21 yay it worked 2022-01-05 05:14:23 thanks 2022-01-05 05:15:07 i had forgotten that no input group causes it to freeze instantly 2022-01-05 05:15:51 ig it was working fine, just sitting waiting for the input which it couldn't receive :P 2022-01-05 07:58:15 Hi :-) 2022-01-05 07:58:43 Is there a gnome expert here ? :-) 2022-01-05 07:59:44 Gnome is crashing whenever I start a qt5-multimedia application 2022-01-05 07:59:49 Cogitri: any idea ? 2022-01-05 08:02:17 gnome experts only? 2022-01-05 08:03:11 lopid: no of course :-) 2022-01-05 08:05:14 Are you using gnome too ? if yes, what's happening when you start a qt5-multimedia application ? (save your jobs before) 2022-01-05 08:05:43 no. anything in the x log? 2022-01-05 08:06:08 You may try `kristall` for example 2022-01-05 08:06:34 X logs ? gnome is using wayland 2022-01-05 08:06:39 (by default) 2022-01-05 08:06:52 then whatever log wayland uses 2022-01-05 08:07:11 I guess you use gnome+xorg ? 2022-01-05 08:07:45 no 2022-01-05 08:39:23 When I start a qt5 application with QT_QPA_PLATFORM=wayland environment variable, it does not crash gnome session. Could it be related to Xwayland ? 2022-01-05 09:30:32 kmmndr: Possibly, I think GNOME doesn’t like it when it can’t spawn X in XWayland 2022-01-05 09:31:09 w/o journald it’s generally kind of a pain to get logs of Shell though. I think we had this problem when X was broken because of the rootless changes too 2022-01-05 09:31:22 Maybe you can try launching in X11 mode and see if the GDM log says anything useful 2022-01-05 10:43:39 hey, I have this error while trying to upgrade from 3.14 to 3.15: http://ix.io/3L5g 2022-01-05 10:44:55 could you post /etc/apk/world too 2022-01-05 10:45:58 here it is : http://ix.io/3L5h 2022-01-05 10:49:49 this is probably caused by a package in that list not being built against the new versions 2022-01-05 10:50:00 a bunch of those are not from aports, idk which one it could be 2022-01-05 11:04:16 alright, noob questions, if I'm starting with the miniroot tarball, 1) what should I install to have module autoloading? it seems neither the ethernet NIC drivers nor ipv6.ko are being loaded on boot; 2) what's supposed to apply /etc/hostname? 3) what's the correct way to have rootfs mounted rw -- fstab like debian, or kernel command line like arch? 2022-01-05 11:19:52 grawity, eudev is the way to go usually 2022-01-05 12:45:20 Cogitri[m]: Are you using Gnome using Xorg ? 2022-01-05 12:47:49 Gnome is tightly bound to Systemd, and that could be somewhat experimental on Alpine, but appart from that bug on Qt5 applications, it's working for me :-) 2022-01-05 12:50:28 https://bpa.st/ZOGQ 2022-01-05 12:50:40 I guess this is why apk fails to upgrade, not sure why apk info libffi list two versions of it 2022-01-05 12:51:07 can I cheat apk so it no longer think there is libffi-3.3 ? 2022-01-05 12:58:07 okay finally did the trick by editing /lib/apk/db/installed 2022-01-05 13:03:44 grawity: the list of "standard services" is at https://gitlab.alpinelinux.org/alpine/mkinitfs/-/blob/master/initramfs-init.in#L641 2022-01-05 13:03:50 yes, this is a highly unintuitive location 2022-01-05 13:04:57 i think previously both /etc/init.d/hostname and ifupdown set hostname; now the standard configuration uses only /etc/init.d/hostname 2022-01-05 13:05:12 see https://gitlab.alpinelinux.org/alpine/alpine-conf/-/blob/master/setup-hostname.in 2022-01-05 13:08:14 not sure about rw. probably the answer is in initramfs-init somewhere 2022-01-05 13:08:34 but either way, mkinitfs doesn't support fsck in initramfs: https://gitlab.alpinelinux.org/alpine/mkinitfs/-/issues/15 2022-01-05 13:28:50 are kernel parameters that I add to cmdline.txt on the raspberry pi overwritten by an image upgrade? 2022-01-05 13:34:31 Hello71: thanks, I see there's an /etc/init.d/root as well but I'm not sure which runlevel to add it to 2022-01-05 13:35:57 if it's not in initramfs-init, it's not normally used by alpine. seems like it could be used if no initramfs and also using ext* (where fsck ro-root is allowed) 2022-01-05 13:36:30 hmm I guess bootmisc>localmount has it as a dependency anyway 2022-01-05 13:36:39 oh, possibly 2022-01-05 13:38:34 there's some discussion going around about getting rid of bootmisc, but probably it will just wait for openrc replacement with something else 2022-01-05 13:43:19 good old "misc" 2022-01-05 15:06:00 Can the Linux-Surface kernel be used to make Alpine work on a Microsoft Surface tablet? Has anyone tried? 2022-01-05 18:05:14 does alpine have rsd 2022-01-05 18:05:17 rsh* 2022-01-05 18:06:51 Not that I can find 2022-01-05 18:07:04 busybox-extras doesn't contain it either 2022-01-05 18:08:09 lame 2022-01-05 18:10:12 bleb: you mean rsh as in remote shell? or as in restricted shell? 2022-01-05 18:10:29 remote shell 2022-01-05 18:10:49 don't think many linux distros have remote shell these days as the whole rlogin/rsh etc utilities were deemed somewhat unsafe 2022-01-05 18:11:09 use ssh instead? 2022-01-05 18:11:23 ssh is bottlenecking my cpu 2022-01-05 18:11:50 so I need something less cpu intensive for rsync 2022-01-05 18:11:58 and I don't need encryption 2022-01-05 18:12:06 and running rsyncd? 2022-01-05 18:12:27 no would that help 2022-01-05 18:12:44 bleb: nc (netcat) ? 2022-01-05 18:13:11 can I do rsync -e nc ? 2022-01-05 18:13:42 not sure, never tried, some discusion here: https://superuser.com/questions/1330291/use-rsync-with-nc-as-transport-layer 2022-01-05 18:14:07 wondering why ssh is "bottlenecking" your CPU 2022-01-05 18:14:35 because it's old and ssh uses advanced crypto 2022-01-05 18:15:45 depending on your SSH settings 2022-01-05 18:16:18 rijndael is over two decades old, it's not exactly newfangled anymore 2022-01-05 18:17:11 gigabit nics are newfangled 2022-01-05 18:17:15 and actually it's much faster than 3des which is much older 2022-01-05 18:17:36 bleb: what are you running on that ssh is bottlenecking your cpu? Really curious what kind of specs you're using there 2022-01-05 18:17:51 hp n40l 2022-01-05 18:18:24 AMD Turion(tm) II Neo according to lscpu 2022-01-05 18:19:34 bleb: HP Microserver? ;-) 2022-01-05 18:19:38 yes 2022-01-05 18:19:40 gen7 2022-01-05 18:19:44 have one here too 2022-01-05 18:20:34 guess I'll try that nc thing 2022-01-05 18:20:42 oh yeah those were fun little NAS's 2022-01-05 18:20:43 if that doesn't work I'll have to compile rsh 2022-01-05 18:22:50 https://nakkaya.com/2009/04/15/using-netcat-for-file-transfers/ if rsync over netcat doesn't work, though I don't see why it wouldn't 2022-01-05 18:24:32 oh I could use rsh in a debian chroot 2022-01-05 18:25:05 durrendal: I'm guessing the wish to use rsync is to either reduce data transfer (only copy required parts) or to preserve timestamps 2022-01-05 18:25:41 or just run rsyncd 2022-01-05 18:25:56 does rsyncd allow a transport without encryption? 2022-01-05 18:27:07 bleb: it uses its own protocol AFAIK 2022-01-05 18:27:36 worth a try 2022-01-05 18:31:20 it still uses the rsync protocol, but instead of using it over ssh, it's just over tcp. no encryption available 2022-01-05 18:31:45 (nor auth. it's unsafe. but that's a feature in this case :) ) 2022-01-05 18:37:14 maybe all linux distros should remove rsyncd 2022-01-05 18:37:34 why would they ? 2022-01-05 18:37:41 because it's unsafe 2022-01-05 18:37:55 well, if you use it badly 2022-01-05 18:39:02 It can be used safely for read-only 2022-01-05 18:39:06 ie, pull, not push 2022-01-05 18:43:31 in alpine the default config is read only, with chroot, without any directory shared. Pretty safe :) 2022-01-05 18:46:51 ok using rsyncd nearly trippled the throughput 2022-01-05 18:46:54 thanks yall 2022-01-05 18:47:12 still well under gigabit, might look for other bottlenecks 2022-01-05 18:54:19 +200% throughput is a decent first optimization ;) 2022-01-05 18:57:31 the first optimization was plugging the nas into my gigabit switch instead of my old ass router 2022-01-05 18:57:37 that gave about 100% :) 2022-01-05 19:05:14 now seems to be cpu limited by rsync so probably can't do any better 2022-01-05 19:11:46 rsync is pretty slow 2022-01-05 19:16:57 well, it's slow when the files are similar. otherwise it's reasonably fast 2022-01-05 19:17:39 if the files are similar then it's fast compared to the alternative (cp) 2022-01-05 21:16:30 i'm having trouble with dtoverlays on alpine 3.15 on a raspi 3. specifically: vc4-kms-v3d makes the screen go black and ssh never becomes available. with vc4-fkms-v3d it seems to work (the other one worked fine on 3.14). and the hifiberry-dacplus overlay doesn't seem to do anything at all. i'm not 100% sure my setup between 3.14 and 3.15 is identical though. any tips on what to 2022-01-05 21:16:31 try except retrying with 3.14? 2022-01-05 21:47:43 Hello, does one of you succeed in using the Killer Wi-Fi 6 AX1650i on Alpine ? 2022-01-05 23:31:40 vlp[m], do you know if it works in other distros? 2022-01-05 23:44:49 afaik it uses the ax200/ax210 firmware 2022-01-05 23:45:34 which is in linux-firmware-other or something 2022-01-05 23:45:50 aside from that i have a regular ax210 and it works fine, and is basically in the same class of chips 2022-01-05 23:58:09 "which is in linux-firmware-other..." <- The card is not detected with the live-usb on my laptop 2022-01-05 23:58:38 "vlp, do you know if it works..." <- Yes, on debian it does 2022-01-05 23:59:12 i don't remember if the iso image has all of linux-firmware 2022-01-05 23:59:23 but the only thing you need to have a working wifi card for the most part is the firmware 2022-01-05 23:59:30 and the kernel module 2022-01-06 00:00:00 evening all, just carried out a clean install of 3.15 in a VM, and chsh is missing? no dice with an apk search, not sure if I'm missing a package, can't find mention in the docs. Pointers appreciated, thanks 2022-01-06 00:00:19 but this uses iwlwifi like all of the intel cards, and the firmware is packaged, so it should work like debian, though i don't know this cards specifics 2022-01-06 00:01:08 psykose: Intel provide the firmware: https://www.intel.com/content/www/us/en/support/articles/000005511/wireless.html 2022-01-06 00:02:13 yes, that is in linux-firmware-other 2022-01-06 00:02:54 though i think it is included in the isos, but you should post the entire dmesg 2022-01-06 00:06:55 'Direct Firmware Load for iwlwifi-Qu-c0-hr-b0-66.ucode failed with error - 2' 2022-01-06 00:07:24 joshaspinall, you can search for missing commands with 2022-01-06 00:07:29 apk search cmd:chsh 2022-01-06 00:07:34 The answer: apk add shadow 2022-01-06 00:09:17 Nulo: thanks for the tip. However, apk search cmd:chsh returns no results, as does apk add shadow (no such package). 2022-01-06 00:09:59 joshaspinall, you're probably missing APK repos then? setup-apkrepos 2022-01-06 00:10:25 It's on community 2022-01-06 00:11:05 aha, that would do it. Was seeing how far I could get to a functional setup with main 2022-01-06 00:11:39 vlp[m]: that is not posting an entire dmesg 2022-01-06 00:14:24 psykose: You are right :) but I have to type it from my mobile as my laptop is on the live usb. But I'll get a RJ45 to have an internet connexion and paste the full dmesg! 2022-01-06 00:14:57 sure :) you can also try and fully install and see if that would fix it, but i don't know the specifics of this card 2022-01-06 00:15:05 Nulo: all good after adding community and installing the shadow package, many thanks 2022-01-06 00:15:13 oh and 2022-01-06 00:15:22 psykose: Yes, I'll try this! 2022-01-06 00:15:28 joshaspinall, you don't _need_ chsh, you can just edit /etc/passwd :P 2022-01-06 00:16:43 that specific firmware file from the fail is not packaged, and i also can't find it on the intel site, but i think there are more things to check, and sometimes it tries multiple firmware in the loader 2022-01-06 00:16:47 Nulo: old habits and all that! 2022-01-06 00:20:24 you also need shadow if you plan on using the pam login stuff with linux-pam 2022-01-06 00:20:38 though i have no idea how well it works 2022-01-06 00:23:07 "that specific firmware file from..." <- Thanks, I'll start with a full install! 2022-01-06 10:17:33 Hi everyone. I upgraded a KVM VM running alpine 3.15 but now it fails to boot. Says "no working init found". I'm sure it's just something with the kernel parameters but what? 2022-01-06 10:32:32 DrNil: How does the VM boot? MBR Grub, EFI or raw vmlinuz? 2022-01-06 10:33:48 ktprograms: good question ... I set it up using setup-alpine. Did not pay any attention to that. 2022-01-06 10:40:42 ktprograms: The /boot partition contains an extlinux.conf which seems to be autogenerated. Is that a raw vmlinuz boot or a grub boot then? 2022-01-06 10:40:56 DrNil: Are you using qemu to run the VM? Also is there anything non-basic like a rootfs other than ext4 or stuff? 2022-01-06 10:41:05 extlinux is technically neither 2022-01-06 10:42:12 ktprograms: Yes I'm running qemu (libvirtd FWIW). I should probably add that the VM was running fine before I attempted an update this morning. 2022-01-06 10:42:15 it's basically syslinux, isn't it 2022-01-06 11:00:41 DrNil: Are you using ext4 for your root fs? Is there /sbin/init there and is it symlinked to /bin/busybox? 2022-01-06 11:05:40 ktprograms: yes it's an ext4 volume and init is a symlink to busybox 2022-01-06 11:12:45 Meanwhile I found that the update-extlinux.conf was empty. I tried restoring it from another alpine VM and ran update-extlinux after booting from the install iso and chrooting into the VM image - to no avail, though :-( 2022-01-06 23:55:50 https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/28432 if anyone could take a look would be great 2022-01-06 23:56:15 https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/28432 if anyone could take a look would be great 2022-01-07 02:12:15 hello! does iHD driver works on alpine linux? 2022-01-07 02:12:53 aka intel media driver 2022-01-07 10:42:25 how does alpine know here to load the apkovl from on startup? 2022-01-07 10:52:54 And so! Today i took the plunge! Our first production server running Alpine 🥰 2022-01-07 11:26:40 × 2022-01-07 11:27:27 \o/ 2022-01-07 11:27:38 ACTION shakes heads 2022-01-07 11:35:05 hello, I install alpine on 2 different laptop: 1st is 100% ok, for the 2nd: same process but grub didn't copy any module into /boot/grub/x86_64-efi so it didn't boot 2022-01-07 11:35:18 s/hello, I install alpine on 2 different laptop: 1st is 100% ok, for the 2nd: same process but grub didn't copy any module into /boot/grub/x86_64-efi so it didn't boot/hello, I've installed alpine on 2 different laptop: 1st is 100% ok, for the 2nd: same process but grub didn't copy any module into /boot/grub/x86_64-efi so it didn't boot/ 2022-01-07 11:35:18 vlp[m] meant to say: boot/boot/grub/x86_64-efi so it didn't boot 2022-01-07 12:08:19 fixe with a grub-install.... strange because I didn´t run grub-install on 1st laptop 2022-01-07 12:08:24 s/fixe/fix/ 2022-01-07 12:08:24 vlp[m] meant to say: fix with a grub-install.... strange because I didn´t run grub-install on 1st laptop 2022-01-07 12:17:02 s/a/b 2022-01-07 12:17:02 Apachez meant to say: like so you cbn do cfdisk -l /dev/sdX 2022-01-07 14:04:00 pinsl: mkinitfs 2022-01-07 14:28:01 Hello71: ah so it searches for "*.apkovl.tar.gz*" in /media 2022-01-07 14:28:07 possibly 2022-01-07 15:40:57 lopid why the head shaking? 2022-01-07 15:55:34 not at you 2022-01-07 15:55:43 Ahhh :) 2022-01-07 15:55:48 head nodding to you :) 2022-01-07 15:55:52 still., ;-) 2022-01-07 15:56:08 head shaking is usually not good ;-) 2022-01-07 16:05:45 next project is our firewall replacing it with Alpine and Awall :) 2022-01-07 16:12:11 "head shaking is usually not good" That depends on where you're from. :) 2022-01-07 16:27:18 and which head you're shaking 2022-01-07 16:43:34 Ariadne: did you find someone to record AlpineConf 2022? If this is not the case, I can (probably) record it 2022-01-07 17:24:30 hello, is there a guide on installing alpine with btrfs? I've only found guides on using btrfs on alpine. 2022-01-07 17:31:44 QOKPDWIWOP: afaik it's a matter of setting up btrfs yourself, and then calling setup-disk on the new root 2022-01-07 17:31:51 but no experience with it myself 2022-01-07 17:32:53 Could I follow an guide on arch and then just call setup disk? 2022-01-07 17:33:37 The installation is all install scripts, I kinda wish there was an all manual version 2022-01-07 17:34:14 QOKPDWIWOP: I have some instructions on that as part of a guide I'm making for something else; let me singulate them quickly. Although I tested it on 3.13, didn't check if there were any changes since then. 2022-01-07 17:41:46 QOKPDWIWOP: This should at least get you started. I think it will work, but haven't verified after I pulled out some unnecessary items. https://nickersondevices.com/projects/Quick%20Alpine-on-BTRFS.html 2022-01-07 17:48:35 thanks nickersonm for pointing me in a direction, I'll see where I get with this 2022-01-07 18:31:11 the hdmi output of my aarch64 pi4 gets stuck on the rainbow splashscreen when I set hdmi_force_hotplug=1 in config.txt 2022-01-07 18:31:31 does anyone have an idea why? 2022-01-07 19:20:41 what would be the nicest way to make transmission-daemon run in my vpn network namespace? 2022-01-07 19:22:23 edit /etc/init.d/tranmission-daemon and add 'ip netns exec vpn' after --exec and before /usr/bin/transmission-daemon ? 2022-01-07 19:22:48 or would I need ip netns exec vpn before all the start-stop-daemon commands? 2022-01-07 19:23:01 or is there a better way 2022-01-07 19:28:38 actually start-stop-daemon --exec only takes a single argument, so I guess I would need to make my own transmission-daemon wrapper script that calls it with ip netns exec vpn, yes? 2022-01-07 19:33:11 maybe i'll just use rtorrent 2022-01-07 19:33:15 I hate how they fucked it up though 2022-01-07 19:37:34 there's qbittorrent 2022-01-07 19:40:16 you can use qbittorrent and bind it to wg0 in the interface, which is the easiest way i would guess 2022-01-07 19:40:23 or whatever other torrent client that supports that 2022-01-07 20:03:55 good evening 2022-01-07 20:04:40 anyone knows why /dev/zvol is missing on my alpine zfs root install? I have also installed zfs-udev 2022-01-07 20:14:07 nevermind it popped up 2022-01-07 20:50:02 not seeing qbittorrent in the alpine repos 2022-01-07 20:50:24 and if it means installing Qt on my headless nas I'm not doing it 2022-01-07 20:52:05 there are other headless bittorrent programs 2022-01-07 20:52:09 prolly just use rtorrent for now, wouldn't want a modified transmission init script to get messed up by an update 2022-01-07 20:52:20 lopid: but do they support binding to an interface 2022-01-07 20:52:29 probably 2022-01-07 20:52:50 well rtorrent and transmission don't, only an address 2022-01-07 20:53:47 it's in testing/ 2022-01-07 20:56:12 and it depends on qt 2022-01-07 20:57:36 transmission + stig is really nice, or deluged + deluge-gtk is alright 2022-01-07 20:57:48 bleb: there's a nogui package 2022-01-07 20:57:57 qbittorrent-nox 2022-01-07 20:57:58 it depends on qtcore 2022-01-07 20:58:11 ah yes 2022-01-07 20:58:13 damn it 2022-01-07 20:58:17 and transmission depends on gtk 2022-01-07 20:58:21 and deluge depends on python 2022-01-07 20:58:23 and so it goes 2022-01-07 20:58:41 there's https://synapse-bt.org/synapse/ in the repos fwiw 2022-01-07 20:59:29 transmission-daemon does not depend on gtk 2022-01-07 21:03:43 can synapse bind to an interface 2022-01-07 21:07:37 doesn't look like it per the config 2022-01-07 21:08:15 bleb: You were probably on the right track with using a netns. Not even nginx can specify a particular interface as far as I know. 2022-01-07 21:17:32 hello quick question: I can acces to my gpg smartcard from root but notre from my user, I imagine that there is a group that can use smartcard but I can't find its name 2022-01-07 21:18:20 will dmesg tell you whats missing? 2022-01-07 21:20:40 "sure :) you can also try and..." <- (BTW u were right, it works after a full install, dunnu why the firmware is not loaded from the live usb but it does from the full install) 2022-01-07 21:21:03 because the entire uncompressed firmware is like over 1GB 2022-01-07 21:21:15 i think maybe some is excluded from live 2022-01-07 21:34:27 Apachez nothing :/ 2022-01-07 21:41:16 god rtorrent config is so embarrassingly bad... 2022-01-07 21:55:10 Huh? Nginx can bind to an interface to listen on yes? Just use 1.1.1.1:80 instead of 80 2022-01-07 21:56:32 https://serverfault.com/questions/930345/nginx-listen-on-specific-interface#955274 2022-01-07 21:57:08 Or am i mistaken the comment? 2022-01-07 22:00:00 that is an address 2022-01-07 22:00:44 which functions the same, up to the point the ip on the interface changes 2022-01-07 23:16:19 Ermine: okay :) 2022-01-08 00:00:25 or if two interfaces have the same address, or one interface has multiple addresses 2022-01-08 00:02:18 You can call bind() on a socket only with IP address, not interface name. The socket API doesn't expose the concept of interfaces. 2022-01-08 00:04:14 setsockopt() with SO_BINDTODEVICE 2022-01-08 00:04:18 except SO_BINDTODEVICE 2022-01-08 00:04:28 and also IP_somethingorother 2022-01-08 00:05:09 oh, also ipv6 scope ids 2022-01-08 00:18:49 Ah. Somehow missed that. 2022-01-08 00:24:44 That's Linuxism, right? Can't find it anywhere in POSIX. 2022-01-08 00:26:03 given it's actual usefulness, yes 2022-01-08 00:26:13 IP_BOUND_IF exists on some other platforms 2022-01-08 00:29:46 Ideally daemons would support listening on preopened sockets so one wouldn't be limited by what flags daemon can set. 2022-01-08 00:32:34 ideally posix would add that option 2022-01-08 00:32:49 That too. 2022-01-08 00:34:00 moving it to a socket works of course, but then the thing that opens the socket does the work instead, it's just moving it up the chain 2022-01-08 00:34:23 same deal with the uspci or somesuch model (tcpserver?) 2022-01-08 00:35:04 ucspi* 2022-01-08 00:35:55 not a bad thing to have options of course 2022-01-08 00:39:33 Well, you only have to have one executable supporting all the various OS-specific features instead of patching everything and extending respective config formats. 2022-01-08 00:39:57 Plus makes privdrop a lot easier. 2022-01-08 00:40:55 on paper, until a random person just wants to install a program and putting `bind = eth0` becomes much less work for the user than maintaining the extra programs and setting them up correctly 2022-01-08 00:42:50 df -h 2022-01-08 06:06:10 does apk keep log files anywhere? I looked into the wiki and in a few man pages (e.g. apk, apk-add) but couldn't find anything 2022-01-08 06:06:29 I am thinking of something equivalent to /var/log/pacman.log in Arch 2022-01-08 06:06:51 the closest I could to do keep logs is to install etckeeper and then do cd /etc/etckeeper; git log 2022-01-08 06:07:21 It doesn't, but I heard a rumor that APK 3.0 might have that. 2022-01-08 06:08:25 xordspar0: thanks for confirming, just checking if I didn't miss anything obvious 2022-01-08 06:37:11 after running ip link set eth0 2022-01-08 06:37:52 after running 'ip link set eth0 up' should dhcp run by itself? 2022-01-08 06:38:57 hope im not talking too soon but if i do 'rc-service networking restart' instead it seem to set up the net right and im not lagging on irc 2022-01-08 06:57:21 frag what is the status of eth0? 2022-01-08 06:58:15 void_interest: now it seems to be working like it should 2022-01-08 06:59:04 Oh OK, cool, glad to hear it. Out of curiosity, did you run "dhcpcd eth0" or did it automtically configure itself? 2022-01-08 07:00:01 void_interest: when i ran 'rc-service networking restart' dhcpcd ran itself, but not if i did 'ip link set eth0 up' 2022-01-08 07:00:20 then i had to do 'doas udhcpc' 2022-01-08 07:00:33 not sure if thats different from dhcpcd eth0 2022-01-08 07:04:21 Maybe I am missing something but I wouldn't have thought running udhcpc alone without any flags would have done anything. I am obviously wrong though as it clearly fixed your issue. As for whether it's different, I think udhcpc is a client whereas dhcpcd is a daemon. 2022-01-08 07:05:40 Anyway, I'm going to sleep. All the best. :-) 2022-01-08 07:27:13 oh i meant 'doas udhcpc' ... mixing those two :S 2022-01-08 07:29:05 networking service starts udhcpc 2022-01-08 07:29:10 just setting link up doesn't 2022-01-08 07:34:14 where is 'rc-service networking restart' defined? 2022-01-08 07:34:41 etc/init.d/networking 2022-01-08 07:34:58 which runs ifup/ifdown for things 2022-01-08 07:35:23 it doesnt contain 'restart', is that just 'stop' and then 'start'? 2022-01-08 07:35:39 yes 2022-01-08 07:35:46 aha :] 2022-01-08 12:59:56 Is the gitlab buildserver for aarch64 down? One of my builds is pending since ~20 minutes. 2022-01-08 13:00:32 fraolt: no, just a queue 2022-01-08 13:00:58 ok, thx! 2022-01-08 14:00:07 how can i setup a folder in which to use --root with? I tried: apk add --root $PWD --arch aarch64 --initdb, but it didnt seem to actually find any packages, it did create a directoy layout though 2022-01-08 14:00:18 "OK: 0 MiB in 0 packages" 2022-01-08 14:00:43 add a package to that command 2022-01-08 14:01:19 i think there was also something else that i don't remember 2022-01-08 14:01:27 i tried that too, but "util-linux-misc (no such package):" 2022-01-08 14:01:51 so I wondered if it needed a repo url, since im using a different architecture 2022-01-08 14:02:22 hm no, seems the repos aren't arch specific 2022-01-08 14:05:35 you might also find use from https://github.com/alpinelinux/alpine-chroot-install 2022-01-08 14:06:27 also you need to add repos to the chroot/etc/apk/repositories 2022-01-08 14:06:29 i think 2022-01-08 14:06:48 that's the only difference in this script, so i guess they are empty 2022-01-08 14:07:07 I just manually downloaded the APK, that might be ok for now 2022-01-08 14:09:16 oh it's not statically linked, hm 2022-01-08 14:09:43 just do it properly 2022-01-08 14:19:21 j`ey: You need to specify a repository 2022-01-08 14:19:37 -X https://dl-cdn.alpinelinux.org/alpine//main 2022-01-08 14:19:42 and indeed a package, for example alpine-base 2022-01-08 14:20:11 that was the one 2022-01-08 16:14:42 What is the correct way to report security issues? 2022-01-08 16:20:24 lucid: open a confidential issue on gitlab 2022-01-08 16:22:03 what's cool about alpine? 2022-01-08 16:47:00 Ok, I guess someone will get to it eventually 2022-01-08 16:50:19 lucid: did you open an issue? I don't see it yet 2022-01-08 17:14:46 does anyone know how to set the hdmi resolution on an aarch64 pi4 with vc4-kms-v3d? hdmi_mode no longer works 2022-01-08 17:24:24 I'm trying to login as root, but it never lets me enter a password at the login screen and then just says 'invalid password for 'root'' 2022-01-08 17:25:40 (I pretty much just untarred the minimal root fs onto my disk) 2022-01-08 18:02:02 How do I make coffee with apk? 2022-01-08 18:02:27 does logging in as root require PAM, or OpenRC or antyhing to be running? 2022-01-08 18:03:34 j`ey: no PAM required or openrc required 2022-01-08 18:03:41 "pretty much" 2022-01-08 18:04:04 ikke: hmm 2022-01-08 18:06:35 it's v weird, because Im getting https://git.busybox.net/busybox/tree/loginutils/login.c?h=1_35_stable#n521 although it says 'invalid password for root *on* host', I dont see where 'on' is coming from, looked at the alpinelinux patches and it's not in there either 2022-01-08 18:07:31 oh nvm, fromhost has it 2022-01-08 18:14:52 right, adding UNKNOWN to my securetty lets me login, which means this call is failing: https://git.busybox.net/busybox/tree/loginutils/login.c?h=1_35_stable#n389 2022-01-08 18:16:16 pinsl: apk fetch -f coffee 2022-01-08 18:16:36 ok, this is probably due to missing openrc then, https://elixir.bootlin.com/busybox/1.27.2/source/libbb/platform.c#L202 2022-01-08 18:16:40 proc isn't mounted 2022-01-08 18:17:16 ikke: haha nice thanks 2022-01-08 18:18:40 Hi there guys 2022-01-08 18:18:57 Having a little bit of problem here with setting up CUPS here... 2022-01-08 18:19:45 I basically have this very barebones server on which I have installed cups but i can't seem to access its web interface from my computer to setup printer and sharing... 2022-01-08 18:21:20 The port 641 is opened after i did a quick nmap scan.. The cups daemon is running.. I will post my configuration file 2022-01-08 18:22:25 printer:~# cat /etc/cups/cupsd.conf # # Configuration file for the CUPS scheduler. See "man cupsd.conf" for a # complete description of this file. # # Log general information in error_log - change "warn" to "debug" # for troubleshooting... LogLevel warn PageLogFormat # Only listen for connections from the local machine. #Listen localhost:631 Port 631 Listen /run/cups/cups.sock # Show shared printers on the local network. 2022-01-08 18:22:41 actually nm ill post a link to the file 2022-01-08 18:24:57 my cups configuration file: 2022-01-08 18:24:59 https://bin.disroot.org/?4dfd8797ab47d676#A2rnjTu2aEGiuUNxDzXV7uCqAMHXPiELvNB3YL9TmbPc 2022-01-08 18:28:38 I await your response guys on this cups issue... thanks am very new to alpine here.. 2022-01-08 18:28:48 Presumably both your server and your client device are in the 192.168.1.0/24 netblock? 2022-01-08 18:28:55 yes 2022-01-08 18:29:22 my laptop has 192.168.1... ip similarly the server as well.. 2022-01-08 18:29:58 going to the server's ip: http://192.168.1.20:641 i should get cups web interface but it doesnt give out anything.. 2022-01-08 18:31:52 Nope. 2022-01-08 18:31:56 You have 631 configured. 2022-01-08 18:32:32 wow 2022-01-08 18:32:50 lol stupid typo xD 2022-01-08 18:33:02 hehe, it happens 2022-01-08 18:33:10 anyway I gotta run; hopefully that's all your issue was 2022-01-08 18:33:15 thanks very much :=) 2022-01-08 18:33:19 i can access it now 2022-01-08 18:33:45 what normally creates the symlinks in etc/runlevels? 2022-01-08 18:34:43 rc-update 2022-01-08 18:34:58 (or the initial ones by setup-alpine) 2022-01-08 18:35:20 ah setup-alpine is what I was looking for 2022-01-08 18:46:44 what service mounts proc? 2022-01-08 19:20:38 ikke: any idea how proc is mounted? 2022-01-08 19:22:53 probably one of these: https://gitlab.alpinelinux.org/alpine/mkinitfs/-/blob/master/initramfs-init.in#L641 2022-01-08 19:24:02 hm, i grepped all over etc/init.d, but can't find it :/ 2022-01-08 19:25:19 maybe openrc does it itself 2022-01-08 19:27:20 yeah it's in /lib/rc/sh/init.sh 2022-01-08 19:30:30 hey everyone, just got Alpine up and running (newbie here) and I'm having trouble with pipewire. I followed the guide in the wiki, and did some troubleshooting myself, but I can't figure out how to get things working. when I run `pw-cat -p --list-targets` it doesn't detect anything, although alsa does. the wiki says this can be a config issue with pipewire, but how can I fix it? I can't find anything online 2022-01-08 19:31:22 also, I recieve this message when starting pipewire; `Failed to open module /usr/lib/wireplumber-0.4/libwireplumber-module-logind: Error loading shared library /usr/lib/wireplumber-0.4/libwireplumber-module-logind.so: No such file or directory` - I installed and set up wireplumber like the wiki said to, so not sure what's causing that 2022-01-08 19:32:19 (I'm using XFCE if that matters, installed by following the XFCE guide in the wiki) 2022-01-08 20:00:24 (I also recieve some rtkit warnings and "could not set nice-level to -11: No such file or directory", "could not make thread realtime: No such file or directory") 2022-01-08 22:03:44 `apk fetch -vv --arch aarch64 gpg` doesn't do what I expect, is there a way to download an apk for another arch? 2022-01-08 22:07:21 afaik only in a chroot for that arch 2022-01-08 23:23:02 hey, I'm trying to debug an issue with my system rebooting randomly, is there any way to save dmesg to a persistent file so I can see the messages after a reboot? 2022-01-08 23:24:57 It's persisted in /var/log/dmesg, but I think that would be overwritten at each boot 2022-01-08 23:28:20 yeah it is 2022-01-08 23:28:27 should I just set a crontab to back it up somewhere? 2022-01-08 23:34:42 i recommend klogd+syslogd 2022-01-08 23:42:10 Hello, I tried to launch nextcloud client and I ve this error: /usr/lib/libQt5Network.so.5: _ZSt28__throw_bad_array_new_lengthv: symbol not found 2022-01-08 23:47:45 spiralw: http://www.infotinks.com/linux-netconsole-module-send-dmesgconsolelogs-to-remote-system/ 2022-01-08 23:48:08 I don't know if it works, but the module loads on my alpine box... so the module is there... 2022-01-09 00:02:14 got distracted but looks like klogd is what I want. thanks Hello71 2022-01-09 00:23:13 spiralw: there is a config setting to keep the last dmesg logfile - lemme check 2022-01-09 00:23:54 set rc_logger="YES" in /etc/rc.conf 2022-01-09 00:24:48 oops, sorry getting confused between the rc output and dmesg :-) 2022-01-09 00:26:05 I guess you could write a init.d that runs late in the boot to rotate the /var/log/dmesg.log file 2022-01-09 14:54:20 Hi guys. I upgraded my server from alpine 3.11 => 3.12 => 3.15, and now have problems starting my lxc containers. The first error message says: 2022-01-09 14:54:34 cgfsng - cgroups/cgfsng.c:cg_legacy_set_data:2675 - No such file or directory - Failed to setup limits for the "devices" controller. The controller seems to be unused by "cgfsng" cgroup driver or not enabled on the cgroup hierarchy 2022-01-09 14:54:45 Has anyone a quick idea on how to fix that? 2022-01-09 14:55:00 the error message used "setup" like that? 2022-01-09 14:55:20 Yes... 2022-01-09 14:55:52 I checked my container config, there is nothing special... I also didn't see anything suspicious in the common configs. 2022-01-09 14:56:26 https://termbin.com/hi1y 2022-01-09 14:56:34 This is an example container config 2022-01-09 14:57:23 I didn't touch the common configs in /usr/share/lxc/config 2022-01-09 14:57:47 pinknet: do you have the cgroups service running? 2022-01-09 14:58:51 ikke: Yes, it says it is started. 2022-01-09 14:59:25 pinknet: cat /proc/cmdline 2022-01-09 14:59:49 ikke: BOOT_IMAGE=vmlinuz-lts root=/dev/mapper/vg0-rootfs modules=sd-mod,usb-storage,ext3,ext4,lvm,raid,mdadm,ext4 quiet initrd=initramfs-lts 2022-01-09 15:00:15 grep lxc /etc/apk/world 2022-01-09 15:00:20 Hm... The cgroup thing looks weird... a findmnt brings: https://termbin.com/af26 2022-01-09 15:00:33 hmm, nice, findmnt 2022-01-09 15:00:38 TIL 2022-01-09 15:00:46 ikke: lxc lxc-bash-completion lxc-doc lxc-download lxc-lvm lxc-templates lxc-templates-legacy lxc-templates-legacy-alpine py3-lxc 2022-01-09 15:01:19 https://tpaste.us/bVLL 2022-01-09 15:01:22 I'm not sure, but I think there are some cgroups missing, aren't they? 2022-01-09 15:01:29 yeah, compare to that output 2022-01-09 15:01:30 Yeah. 2022-01-09 15:01:49 uname -r 2022-01-09 15:02:27 ikke: 5.15.12-0-lts 2022-01-09 15:02:33 ok, looks alright 2022-01-09 15:02:44 trying to do /etc/init.d/cgroups restart: https://termbin.com/hr2u 2022-01-09 15:03:11 hmm, sounds like something created files at those locations? 2022-01-09 15:04:16 Hey, does crond (from BusyBox, the one shipped by default) uses sshd to run user's crontabs ? 2022-01-09 15:04:35 No, it works without having sshd installed 2022-01-09 15:04:52 using sshd would be weird 2022-01-09 15:05:29 It runs as root, it can just exec as a specific user 2022-01-09 15:07:42 ikke: Hm, I found a weird fstab entry, i deactivate it and reboot. 2022-01-09 15:07:58 I'm seeing ssh connexions at the same time that cron runs jobs, but maybe it's just that my computers are synched 2022-01-09 15:08:02 none /sys/fs/cgroup cgroup rw,relatime,cpuset,cpu,cpuacct,blkio,memory,devices,freezer,net_cls,perf_event,net_prio,hugetlb,pids,clone_children 0 0 2022-01-09 15:09:44 ikke: Thank you very much, that fstab entry was the problem! It's always nice to not be completely alone debugging such things on sundays. Appreciate it. 2022-01-09 15:09:57 :-) 2022-01-09 15:10:01 I know the feeling 2022-01-09 15:10:49 Anyway, I'm having some trouble with my rpi4: it randomly stops, I can't find anything relevant in /var/log. From what I can tell, none of the web services work, ssh connections persist if they had been launched before, but I cannot reconnect and I get an I/O error when trying to ls or cd. Lights still blink on the hdds/ssds/leds on the rpi himself. 2022-01-09 15:11:02 As you might've gathered, I help with the Alpine Infra itself, so I appreciate it myself that I can get some feedback when I'm stuck 2022-01-09 15:11:30 xaltsc: Anything in dmesg? 2022-01-09 15:12:36 ikke: It's hard to tell, I don't have access to it and have to reboot it manually, so the dmesg gets lost 2022-01-09 15:13:00 ikke: Yes, thats always helpful. I'm also glad that you also use lxc containers e.g. for building, so I can rely on some expertise in that field. 2022-01-09 15:13:24 Well, I'm far from an expert on LXC :-D 2022-01-09 15:13:45 If that's relevant, I never got acpid to work 2022-01-09 15:17:40 Hi, 2022-01-09 15:17:40 It seems to work fine. But I noticed that 'docker stats' does not report the metrics for "MEM USAGE / LIMIT", "MEM %", "BLOCK I/O" 2022-01-09 15:17:40 I did a out of curiosity short crosscheck with an Ubuntu server cgroup V2 unified mode enables and there 'docker stats' works fine. 2022-01-09 15:17:40 The difference I observed is that 'cat /sys/fs/cgroup/docker/+++ContainerIDs+++/cgroup.procs' reports "read error: Not supported". 2022-01-09 15:17:40 I'm currently try out cgroups V2 in unified mode on Alpine 3.15 (5.15.4-0-rpi4) with Docker, '/etc/rc.conf' --> rc_cgroup_mode="unified" 2022-01-09 15:17:40 But this read error for 'cat cgroup.procs' only happens on the docker containers' level in the file system. On all other levels it just reports the process PIDs like it should. 2022-01-09 15:17:42 Has anyone seen this behaviour too? 2022-01-09 15:20:34 ikke: It was enough to help :) Thanks again, and have a nice sunday! 2022-01-09 15:20:52 pinknet: you as well 2022-01-09 16:04:51 im getting /usr/libexec/iwd died' when trying to start the iwd service, any way to get more info? 2022-01-09 16:05:09 or figure out if maybe im missing some dependencies? 2022-01-09 16:06:32 ah, i just ran that manually and it printed an error 2022-01-09 18:50:10 with ash, can I avoid something going into my history? in bash, starting a command with a space stops that 2022-01-09 18:52:16 related to that, does ash not support alt+. for "last parameter" like readline does? :( 2022-01-09 18:52:33 Nope 2022-01-09 18:52:41 (I miss it as well) 2022-01-09 18:53:27 hmm gonna add bash then, or ksh or something 2022-01-09 18:55:58 made this usb stick specifically for booting old systems that barely have 128 MB of memory (and boot over usb 1.1), but I see it's only using a tenth of that anyway, so bash will fit 2022-01-10 02:02:31 hey, I just updated to alpine edge and modprobing stuff tries to find in a /lib/modules folder for old kernel version. how do I get modprobe to find the new kernel version? 2022-01-10 02:04:03 have you rebooted yet? 2022-01-10 02:04:08 oh 2022-01-10 02:04:12 I have not. lemme do that 2022-01-10 02:12:36 yep, works now, ty 2022-01-10 02:20:30 nice. you're welcome 2022-01-10 08:23:50 o/ 2022-01-10 08:24:16 I have a raspberry pi case that triggers a KEY_POWER event, for some reasons it looks like it does a hard shutdown rather than sending appropriate signal to openrc's init 2022-01-10 08:42:10 after installing rsyslog I stopped syslog (busybox) this stops crond. crond requires "logger" rsyslog's init script provides "logger". any idea why crond would be stopped if it requires "logger" and this is provided by rsyslog? 2022-01-10 08:50:58 nevermind... it seems the service deps are based on the services configured to run and I had both syslogd/rsyslog :| 2022-01-10 09:38:12 Hey folks, could you please guide me if there is docs about alpine repository format? 2022-01-10 09:38:53 https://docs.alpinelinux.org/user-handbook/0.1a/Working/apk.html#_repositories_and_mirrors like this? 2022-01-10 09:53:41 Yeah, looks like it fits :) 2022-01-10 09:53:46 thank you! 2022-01-10 09:53:56 np 2022-01-10 09:57:34 However this doc doesn't describe the repository layout - I just want to build my own repo 2022-01-10 10:05:00 maybe this wiki page? https://wiki.alpinelinux.org/wiki/Creating_an_Alpine_package#Testing_the_package_locally 2022-01-10 10:07:03 The repo is just a directory of packages with an index 2022-01-10 10:07:22 Which can be generated with apk index 2022-01-10 10:07:41 But abuild builds one as well for every package it builds 2022-01-10 10:10:45 Got it, so I just need to store .apk files in the particular directory and then run "apk index" and that is... Am I right? 2022-01-10 10:12:40 and abuild-sign on the index 2022-01-10 10:12:57 Got it, thanks 2022-01-10 10:13:24 AKMS appears to not be working on edge atm due to a gcc version mismatch. 2022-01-10 10:13:24 While that gets resolved, is there an easy way to downgrade GCC? APK complains about breaking world when I try :) 2022-01-10 10:13:46 Hmmm I've opened index file and I see some field like in I have in debian "Releases" file (timestamp, architecture and etc). I guess, there the only way to check this index format - check out the code, isn't it? 2022-01-10 10:13:47 there is no easy way to downgrade it 2022-01-10 10:13:57 as gcc also comes with libstdc++, etc 2022-01-10 10:14:41 ah, yeah 2022-01-10 10:14:53 Guess I'll wait for the next kernel build, then. 2022-01-10 10:15:16 yeah, gcc got updated in the past few days sadly 2022-01-10 10:25:58 rip wifi on lts for now again 2022-01-10 10:26:03 need a akms module 2022-01-10 10:32:34 What module is missing? 2022-01-10 10:34:26 the one for rtw89 i believe 2022-01-10 11:25:17 im having issues with ssl/https. running 'apk update' I get: certificate verify failed 2022-01-10 11:25:29 I have ssl_client and ca-certificates-bundle installed, what else might it be? 2022-01-10 11:25:36 ah, the date! 2022-01-10 12:56:20 why is "lbu diff" following symlinks? 2022-01-10 12:58:14 lbu calls diff with the --no-dereference flag (https://git.alpinelinux.org/alpine-conf/tree/lbu.in#n688) 2022-01-10 12:58:29 is that a bug in busybox diff? 2022-01-10 13:07:47 https://pastebin.com/huduq0Q7 2022-01-10 15:59:32 can default gnome run on Alpine? 2022-01-10 17:13:52 Hello 2022-01-10 17:16:24 Hello! 2022-01-10 17:16:36 What's the best way to add/use /etc/cron.d/* on Alpine? Busybox cron doesn't seem to look for it. 2022-01-10 17:17:53 Maybe look at dcron? 2022-01-10 17:18:13 Ok :) ill do. 2022-01-10 17:18:38 there is also cronie, but that's in testing 2022-01-10 17:18:42 On my Gentoo box I use cronie, I think. But I guess it is mostly the same thing? 2022-01-10 17:28:00 /etc/periodic? 2022-01-10 17:29:09 you can add another in root's crontab 2022-01-10 17:30:13 cron.d is more flexible 2022-01-10 17:44:00 Oh didn't think to look for /etc/periodic :) 2022-01-10 17:44:30 I don't need anything fancy, just a basic recurring timer for some maintenance tasks 2022-01-10 17:44:43 then periodic, yes 2022-01-10 17:45:37 Great. I'll look tomorrow again. Thanks. Appreciate it. 2022-01-10 18:08:11 Does anyone know of default gnome runs on Alpine? I mean.. can i run any gnome program, or do they need to be compiled? 2022-01-10 18:08:39 what's the problem? 2022-01-10 18:08:44 why would they not? 2022-01-10 18:09:43 of course they need to be compiled at some point. i see 202 "gnome" packages in the repo already 2022-01-10 18:15:49 Okay :-) 2022-01-10 18:16:40 I am considering moving from macOS back to Linux. Im a Debian man by nature, only recently starting to use Alpine due to the small foodprint and security and so on 2022-01-10 18:16:54 so i am considering it on my desktop as well :) 2022-01-10 18:28:24 you can ! 2022-01-10 18:28:44 just finished a full install, works perfectly (with a little help from this chan !) 2022-01-10 18:47:01 Nice :-) 2022-01-10 21:16:12 Hi everybody 2022-01-10 21:24:45 I need to create a APK file to learn . A simple library named libplist 2022-01-10 21:25:44 I create APK http://ix.io/3LOk but when i run abuild -r It says buildeps failed 2022-01-10 21:26:10 I disable makedepends but i have the same error 2022-01-10 21:26:15 captainchris: try to run apk fix 2022-01-10 21:26:30 ok 2022-01-10 22:05:52 And how to find the path for the file github to source. Example https://github.com/libimobiledevice/libplist/v2.2.0/realease .... 2022-01-10 22:06:39 If you go here:https://github.com/libimobiledevice/libplist/releases/tag/2.2.0 2022-01-10 22:06:43 https://github.com/libimobiledevice/libplist/releases/tag/2.2.0 2022-01-10 22:06:43 scroll down to assets and copy like to tar.gz 2022-01-10 22:06:51 tar.bz2 in this case 2022-01-10 22:07:21 ah, right, my bad, thought about automatic source tarball :) 2022-01-10 22:09:19 Ok thx 2022-01-10 22:09:23 yeah, but if upstream provided archives, it's usually better to use those 2022-01-10 22:14:57 https://git.alpinelinux.org/aports/tree/community/libplist/APKBUILD If i see this APKBUILD look at the url source. And if I go to release I don't have the same URL 2022-01-10 22:15:10 https://github.com/libimobiledevice/libplist/archive/$pkgver.tar.gz 2022-01-10 22:15:19 https://github.com/libimobiledevice/libplist/archive/refs/tags/2.2.0.tar.gz 2022-01-10 22:15:45 refs/tags is not important in the url ?? 2022-01-10 22:15:59 captainchris: afaik, it's a recent github change 2022-01-10 22:16:01 GitHub changed it recently 2022-01-10 22:16:09 ok 2022-01-10 22:16:22 url with refs/tags is new format apparently 2022-01-10 22:16:29 yes 2022-01-10 22:16:31 Ok understood 2022-01-10 22:16:50 thank you very much for your help 2022-01-10 22:17:26 and thank you for your jobs and good job for this beautiful distro 2022-01-10 22:17:37 and you probably want the url with bz2 endingas ikke mentioned 2022-01-10 22:19:06 ok but it's just to learn how to write APKBUILD 2022-01-10 22:19:16 understand the mechanism 2022-01-10 22:20:46 just making sure I didn't mislead you about the URL :) 2022-01-10 22:22:17 Ok so I'm going to sleep 2022-01-10 22:22:31 thx guys and see you soon 2022-01-11 06:06:58 hey everyone! i'm running a gnome install on a thinkpad t450 using wayland and after the screen dims or the computer goes to sleep and i wake it up back again the screen won't turn back on unless i switch to another tty and switch back to the tty gnome is in. is there any way i can fix this? 2022-01-11 14:18:05 Hi everybody 2022-01-11 14:18:23 I have some question about APK pkg creation 2022-01-11 14:19:51 Doest it necessary to create -doc subpackage if there is man page or I can't ommit ? I created a package -dev and -doc, it is working prefectly but if i remove $pkgname-doc. I have error and no package was created ? 2022-01-11 14:25:13 Always create a -doc subpackage when there is something to put in there 2022-01-11 14:25:15 Why would you not want it? 2022-01-11 14:25:26 The fact it errors out already indicates it's required 2022-01-11 14:27:20 PureTryOut: no it's just a question 2022-01-11 14:27:36 I'm learnig to create APKBUILD 2022-01-11 14:31:22 the error you probably get is 'uncompressed manpages found' 2022-01-11 14:31:30 just leave the -doc subpackage 2022-01-11 14:32:06 psykose: if i remove the -doc subpackage there are no packages created 2022-01-11 14:32:16 yes, so leave it in there instead of removing it 2022-01-11 14:32:23 yes 2022-01-11 14:32:36 alternatively you can delete the uncompressed manpages from pkgdir 2022-01-11 14:32:41 i have no idea why you would want to do that 2022-01-11 14:32:56 it's an 'error' to have uncompressed manpages in the final package 2022-01-11 14:33:09 the -doc default split function compresses them and splits them to a -doc subpackage for you 2022-01-11 14:33:17 And now I try to create a pkg for wyeb https://github.com/jun7/wyeb. But there are no releases on github. How can i do to get the source ?? 2022-01-11 14:33:29 other docs that get autosplit such as html pages don't throw an error if they are in main package, but it's the same thing 2022-01-11 14:33:46 well it has no releases 2022-01-11 14:34:10 you would want a tarball of a specific commit and a pkgver of 0_git20211110 or whatever the date is 2022-01-11 14:36:00 get upstream to make a release. If you can't, use `https://github.com/jun7/wyeb/archive/$_commit/wyeb-$_commit.tar.gz` as the url and add a variable to the APKBUILD called `$_commit` that contains the commit hash you want to download 2022-01-11 15:02:13 hmm, it seems that if I enable sshd at 'default' runlevel, the login screen takes 2s longer to be reached 2022-01-11 15:05:30 oh.. I deleted /etc/init.d/sshd instead of the one in runlevels, how can I get that back? 2022-01-11 15:10:18 reinstall the ssh package 2022-01-11 15:10:39 j`wy: "apk fix --reinstall openssh-server" (if that's the package you are using) miht do it - but it might also loose any config file changes you've made 2022-01-11 15:10:49 i suppose so, i modified sshd_config.. yeah what minimal said 2022-01-11 15:11:26 j`ey: why not use "rc-update del " rather than mucking about with runlevel links directly? 2022-01-11 15:12:14 also "takes 2s longer to be reached" - 2secs longer than what? (e.g. which other runlevel) 2022-01-11 15:14:04 minimal: I didnt know about rc-update del, thats why! 2022-01-11 15:14:11 minimal: 2s longer than if sshd is disabled 2022-01-11 15:15:43 j`ey: ok. So if you don't need sshd then just disable the service. If you do need sshd then you should leave it at the default runlevel rather than moving it to another runlevel 2022-01-11 15:16:40 im just surprised that enabling it, stops the console/tty login from appearing 2022-01-11 15:17:29 j`ey: stops? or delays? 2022-01-11 15:17:50 sorry delays 2022-01-11 15:19:34 j`ey: OpenRC (by default) runs init.d services sequentially rather than in parallel 2022-01-11 15:19:57 so if it decides to start sshd before another service then you may notice a delay 2022-01-11 15:20:34 when first run sshd will create SSH host keys which might take a little time (depending on the type of machine its running on) 2022-01-11 15:20:53 fair enough, i guess also the inittab stuff in busybox is serial 2022-01-11 15:27:34 j`ey: not sure but assume so, think the getty stuff does not start until once "default" runlevel is reached but no sure how it is sequenced in relation to init.d services 2022-01-11 15:27:57 does openrc have any logs? I noticed a serivce was stopped, when I wasnt expecting it to be 2022-01-11 15:31:26 j`ey: edit /etc/rc.conf and uncomment the "rc_logger" entry 2022-01-11 15:31:30 then reboot 2022-01-11 15:32:32 minimal: thanks, and where does it put them? 2022-01-11 15:34:15 file is /var/log/rc.log 2022-01-11 15:35:47 thanks 2022-01-11 16:03:17 Does the alpine kernel have problems with i2c touchpad recognition? 2022-01-11 16:06:39 Adding it manually to the i2c ACPI driver and its saying the device is busy 2022-01-11 16:06:59 :( 2022-01-11 16:31:45 This is for a framework laptop, from what I see the kernel is built with the required modules its just not being recognized? 2022-01-11 16:32:07 The Gentoo lists these modules: https://wiki.gentoo.org/wiki/Framework_Laptop 2022-01-11 16:32:16 And it seems to work fine on void musl 2022-01-11 18:20:12 Hello together, im building my own custom iso for my rpi with mkimg.sh, i also wrote a genapkvol.sh for my custom configuration. this works fine, I unzip the gernerated tar to my sdcard and copy the apkvol.tar.gz to the root of the sd card. Now i have the problem as soon as i setup lbu to store the backups on the sdcard, do a lbu backup and reboot it says `Loading user settings from /media/mmcblk0p1/._pinewall.apkovl.tar.gz: 2022-01-11 18:21:44 Anyway, is this the correct approach? for what i want is a custom img, i can flash to the sdcard, and when i change something i want to do a lbu commit, otherwise i simply reboot and am back on custom img? 2022-01-12 11:01:27 i suppose Deepin Desktop Environemtn doesnt work yet on Alpine :D 2022-01-12 11:04:49 I'm sure it'll work, just needs packaging. Go ahead 😉 2022-01-12 13:30:05 How does one remove a user from secondary group in alpine? Does busybox really not have a command for that? 2022-01-12 13:33:06 delgroup: "Delete group GROUP from the system or user USER from group GROUP" 2022-01-12 13:33:40 Hello71: yeah... thanks, for some reason that is the only command I did not think of trying 2022-01-12 16:37:31 The volume.c function here (https://git.suckless.org/slstatus/files.html), that prints master system volume in a status bar, looks for /dev/mixer for its information. Alpine doesn't appear to have /dev/mixer, and what I try from /dev/snd/ doesn't work with the script. What's the equivalent of /dev/mixer, or how do I get it? 2022-01-12 16:45:56 bovis: FWIW you can run amixer to get the values via script 2022-01-12 16:47:54 It opens /dev/snd/control* and does bunch of ioctls. 2022-01-12 17:02:20 Hi everybody 2022-01-12 17:03:23 when I type man -k ls or man -l ls I have the error BADARG: bad command line argument 2022-01-12 17:03:45 I didn't find solution on the web 2022-01-12 17:05:49 -l takes a filename 2022-01-12 17:06:15 you get BADARG with -k, too? 2022-01-12 17:12:15 CcxWrk: Thanks. I see those values in the amixer output. Any idea why /dev/snd/control* doesn't work as a replacement in the script I posted? I get "not a tty" errors when trying to use it. 2022-01-12 17:13:45 what script? 2022-01-12 17:31:16 lopid: https://git.suckless.org/slstatus/files.html volume.c found here. The function in there doesn't work when given the argument "/dev/snd/control*" that's on my computer. What's the difference between /dev/mixer and a /dev/snd/control* ? 2022-01-12 17:32:34 oh. that's the source to a compiled program, not a shell script 2022-01-12 17:32:56 is the asterisk supposed to be part of the filename? 2022-01-12 17:33:37 Apologies for the term confusion. My system has /dev/snd/controlC0. Perhaps it's different on other systems. 2022-01-12 17:34:18 The source there looks for a generic /dev/mixer or some equivalent, which is what I initially asked about to find. 2022-01-12 17:34:41 lopid yes with -k too 2022-01-12 17:34:43 will a symlink work? 2022-01-12 17:35:03 …if you aren't able to recompile it 2022-01-12 17:35:38 lopid: You can input any value you like. I've tried /dev/snd/controlC0. Compilation works fine. Output though gives a "not a TTY" error when that argument is used. 2022-01-12 17:36:40 is it a problem with /dev/snd/controlC0 or with something else? 2022-01-12 17:36:50 It's not that "/dev/snd/controlC0" isn't the exact text "/dev/mixer", it's that the former apparently can't be used in place of the latter regarding its functionality. I don't know the difference between the two. 2022-01-12 17:37:49 CcxWrk: Pointed to amixer using /dev/snd/controlC0 as its source for information. Amixer works fine here and gives the output you'd expect, so it's not broken. 2022-01-12 17:38:06 oh. so it's a different device functionally even 2022-01-12 17:38:14 Seems to be 2022-01-12 17:52:20 lopid: man points to mandoc 2022-01-12 17:52:22 did anything ever come of that OpenRC replacement? 2022-01-12 17:55:02 not yet 2022-01-12 18:24:42 j`ey: still work in progress 2022-01-12 18:25:52 ikke: is it public? 2022-01-12 18:26:36 I don't think so, only info is here: https://skarnet.com/projects/service-manager.html 2022-01-12 18:26:58 https://github.com/skarnet/s6 2022-01-12 18:28:00 yeah, that's all I saw 2022-01-12 19:34:55 CcxWrk lopid: To answer my own question, https://alsa.opensrc.org/Snd-mixer-oss can be loaded with modprobe and emulates /dev/mixer, which works well after it's loaded. 2022-01-12 19:35:10 How can I then load snd-mixer-oss automatically at boot? 2022-01-12 19:36:24 /etc/modules-load.d looks the place 2022-01-12 19:39:50 `echo snd-mixer-oss > /etc/modules-load.d/snd-mixer-oss.conf`, according to /etc/init.d/modules. add any args on the same line 2022-01-12 19:41:09 Thank you 2022-01-12 20:59:47 Hello everyone, I tried to install Alpine on hardware, but I couldn't contine the setup because the setup didn't detect my wireless interface. 2022-01-12 21:01:53 How can I fix this? 2022-01-12 21:08:22 I'm trying to configure alpine linux on a raspberry pi 3A+ (no ethernet port and 1 usb)... 2022-01-12 21:09:08 setup-interfaces finds my wifi network, and I type in the password, but it doesn't seem to work 2022-01-12 21:10:36 on top of that, wpa_cli "could not connect to wpa_supplicant" 2022-01-12 21:10:36 iirc it is broken with wpa3 2022-01-12 21:10:45 write wpa_supplicant.conf manually 2022-01-12 21:14:22 okay, that worked (after rc-service networking restart) 2022-01-12 21:20:24 so is setup-alpine just broken? 2022-01-12 21:21:26 eh 2022-01-12 21:21:34 setup-interfaces wifi always kinda sucked 2022-01-12 21:22:20 not that the rest of alpine-conf is great but at least it mostly does the right thing 2022-01-13 08:24:18 Hi all :-) 2022-01-13 08:25:13 I do have a very strange bug on firefox, I cannot browse anything and it doesn't even seems to access network 2022-01-13 08:25:44 Any other browser works fine, it is not a system network problem 2022-01-13 08:25:55 I think I have the same issue on non-alpine as well 2022-01-13 08:26:08 firefox is using loads of CPU 2022-01-13 08:26:21 and tabs keep loading 2022-01-13 08:26:52 I tried safe-mode (without any session or extension) it is the same 2022-01-13 08:27:33 I can't figure any special thing I may have done as it was perfectly fine yesterday 2022-01-13 08:27:40 kmmndr: seems to he http3 2022-01-13 08:27:51 hum ... good catch ! 2022-01-13 08:27:58 https://news.ycombinator.com/item?id=29918052 2022-01-13 08:28:24 i just had that happen randomly and fail any new connections until i restarted it 2022-01-13 08:29:00 though without doh 2022-01-13 08:29:09 disabling network.http.http3.enabled works 2022-01-13 08:29:20 Thank you very much !! 2022-01-13 08:29:49 Thank you as well for mentioning it 2022-01-13 08:29:53 I thought it was a local issue 2022-01-13 08:34:06 DoH enable automatically is arguable 2022-01-13 08:34:38 (enabled) 2022-01-13 08:34:38 Ahuh 2022-01-13 08:39:59 also seems it's time to bump ff to 96 2022-01-13 08:40:06 just sorted out the patches 2022-01-13 08:41:08 needs new icu as well 2022-01-13 08:41:09 sigh 2022-01-13 08:41:13 guess that comes first 2022-01-13 08:41:21 Fun times 2022-01-13 08:41:25 >=70.1 2022-01-13 08:52:01 how does one do rebuilds against something like this when all the packages combined don't fit into one ci 2022-01-13 09:02:22 ikke: ^ 2022-01-13 09:05:27 Usually someone builds all the packages locally, and when they've done that, push it in one go (so would require direct push access) 2022-01-13 09:05:55 sure, but that's just skipping ci anyway 2022-01-13 09:05:59 yes 2022-01-13 09:06:15 about the same as me opening an mr and cancelling the jobs and it getting merged 2022-01-13 09:06:25 which is fine by me, though then you get to pick up the broken edge pieces 2022-01-13 09:06:37 yes, which happens from time to time 2022-01-13 09:06:44 major pythhon upgrades etc 2022-01-13 09:06:51 wanna go for it or is it a bit too extreme :p 2022-01-13 09:08:12 Thinking about it a bit, if we have a good way to chunk packages, we could have something that creates multiple build jobs and use the cache to carry forward built packages 2022-01-13 09:09:23 we can throw in an icu upgrade into multiple mrs and just rebuild it in multiple places since it's just testing 2022-01-13 09:09:29 then drop it from each afterward 2022-01-13 09:10:25 For now that could work 2022-01-13 09:10:29 the chunking is always quite manual since there is no real heuristic for build time 2022-01-13 09:11:06 Yeah 2022-01-13 09:58:24 But maybe it can be a first good step 2022-01-13 09:58:46 To do it by number 2022-01-13 09:59:32 i can go open all the mrs if you want me to 2022-01-13 11:16:40 Let me try something 2022-01-13 11:18:31 sure thing 2022-01-13 14:10:26 kmmndr: Can you please review !29348 ? (You're the maintainer of flightgear right?) Thanks! 2022-01-13 15:43:07 hi 2022-01-13 22:37:11 Hello. I've been using aports for the first time and I've got non-descriptive issue. I'm trying to build bash for alpine-3.14. I cloned aports repo, switched to 3.14-stable branch, then I did `cd main/bash; abuild unpack; abuild build`. And `build` fails with lines like: make: 'y.tab.c' is up to date. \n make: /bin/sh: Operation not permitted \n zcrayfish make: *** [Makefile:747: builtins/builtext.h] Error 127 \n >>> ERROR: bash: build failed 2022-01-13 22:37:42 just run `abuild -r` 2022-01-13 22:38:21 I've tried it as well - the same issue 2022-01-13 22:38:29 let me re-run it, just in case 2022-01-13 22:38:46 yes, the same: >>> ERROR: bash: build failed 2022-01-13 22:39:02 make: /bin/sh: Operation not permitted 2022-01-13 22:39:07 make: *** [Makefile:747: builtins/builtext.h] Error 127 2022-01-13 22:39:35 if it's important: alpine-3.14 is running within docker 2022-01-13 22:39:49 it is 2022-01-13 22:39:52 https://wiki.alpinelinux.org/wiki/Release_Notes_for_Alpine_3.14.0#faccessat2 2022-01-13 22:39:59 I would use rootbld personally 2022-01-13 22:40:06 but I doubt it'd help here 2022-01-13 22:51:54 aha, I have Docker Desktop < 3.3.0. I guess this is the issue 2022-01-13 22:53:08 Actually, my initial motivation was to investigate why bash builtin `test -r ` does not work correctly with my old Docker. Is it due to this `faccessat2` concern? 2022-01-13 22:53:24 it could be 2022-01-13 22:53:30 or it could be anything else without some error output 2022-01-13 22:53:40 but i would guess it's that, i dunno 2022-01-13 22:53:43 that thing breaks a lot of things 2022-01-13 22:54:40 and bash builtin `test -r` works fine before alpine 3.14 2022-01-13 22:55:01 why don't ya upgrade your docker desktop and find out if that magically fixes it :p 2022-01-13 22:55:06 and... even with the latest alpine with my old docker /usr/bin/test -r works correctly, but bash builtin does not 2022-01-13 22:55:24 why don't you just try doing any of this and see if it fixes it 2022-01-13 22:55:36 yes, I know that docker upgrade will fix it - it's been tested already :) 2022-01-13 22:55:41 then it's solved 2022-01-13 22:56:01 I just wanted to find out the root cause, but now I see that it does not worth time 2022-01-13 22:56:21 that is most likely the root cause if it's only on alpine >=3.14 2022-01-13 22:56:24 as per the release notes 2022-01-13 22:56:28 thank you for such a quick support 2022-01-14 07:12:24 ~ 2022-01-14 13:34:24 Good morning. Alpine newbie with a new install (3.15.0 EXTENDED) on a Toshiba laptop not seeing that consoleblanking is working. Does consoleblanking (in /etc/sysctl.conf or elsewhere) work in Alpine? 2022-01-14 13:35:55 when I added it to /etc/sysctl.conf, I received the error message: 'consoleblank' is an unknown key. 2022-01-14 13:51:31 ead: add it to your kernal command line in grub/syslinux "consoleblank=600" 2022-01-14 13:56:13 MY-R: Thank you. No grub on this system (strangely). Looking into syslinux... 2022-01-14 13:57:00 I think grub is default when using UEFI 2022-01-14 13:59:05 In the meantime, (re UEFI, this is a BIOS boot setup, instead), I'm in the middle of waiting to see if my addition of consoleblank=600 to /boot/extlinux.conf will do the trick... 2022-01-14 13:59:50 yo could set it to 30 seconds first :) 2022-01-14 14:00:01 MY-R: True. (-: 2022-01-14 14:00:50 Side note: I appreciate your assistance, MY-R. 2022-01-14 14:03:15 MY-R: Woot! Perfect. That worked. (-: 2022-01-14 14:03:35 ead: no problem :) 2022-01-14 14:05:35 I changed the line in /etc/update-extlinux.conf from << default_kernel_opts="quiet rootfstype=ext4" >> to << default_kernel_opts="consoleblank=600 rootfstype=ext4" >>. 2022-01-14 14:07:47 no quiet? :) 2022-01-14 14:08:51 Then ran update-extlinux, then rebooted. Nah, I like noisy. I want to see all the molecules of a system as it's booting. (-: 2022-01-14 14:10:49 MY-R: Thank you for making my very first contact with the Alpine community pleasant. And a great success. 2022-01-14 14:11:24 ead: well, that "noise" can always check with "dmesg" command after all and then wont miss any openrc boot logs with services etc :) 2022-01-14 14:12:14 ead: you are welcome and enjoy! 2022-01-14 14:12:34 (-: 2022-01-14 14:47:45 I have an issue with latest kernel: I get the message "Module has invalid ELF structures" from kernel/dmesg 2022-01-14 14:47:59 uname -a Linux immortal-btrfs 5.15.12-0-lts #1-Alpine SMP Fri, 31 Dec 2021 13:23:07 +0000 x86_64 Linux 2022-01-14 14:48:21 is it a known issue? 2022-01-14 14:48:45 [ 3.937822] input: PC Speaker as /devices/platform/pcspkr/input/input18 [ 3.954528] Module has invalid ELF structures [ 3.955287] Module has invalid ELF structures [ 3.955611] iTCO_vendor_support: vendor-support=0 [ 3.960626] Module has invalid ELF structures [ 3.961122] Module has invalid ELF structures [ 3.961587] iTCO_wdt iTCO_wdt.1.auto: Found a Panther Point TCO device (Version=2, TCOBASE=0x0460) [ 3.961818] iTCO_wdt iTCO 2022-01-14 14:51:38 it's a RAM installation i.e. overlay, done with setup-bootable 2022-01-14 14:51:53 after the update-kernel script I get those errors 2022-01-14 14:52:06 Alpine 3.15 2022-01-14 14:52:33 is something to worry about? 2022-01-14 15:24:07 wyk72: see issue #13427 2022-01-14 15:24:28 (not resolved yet, but there might be some updates in the future) 2022-01-15 00:22:19 How do you tell "setup-disk" to use /boot/efi for ESP and /boot for grub files? 2022-01-15 00:28:18 it's the default behaviour when using EFI from what i can see 2022-01-15 00:28:47 https://gitlab.alpinelinux.org/alpine/alpine-conf/-/blob/master/setup-disk.in#L320 2022-01-15 00:29:07 So you just have to pass the root mountpoint, then it takes care of the rest 2022-01-15 00:29:14 you might need to use env "USE_EFI=1" though 2022-01-15 00:30:18 ah, I see. nice 2022-01-15 02:05:03 how do I change shells in alpine linux? there is no chsh and adding shadow doesn't work because it says it doesnt exist 2022-01-15 02:06:11 hays: edit /etc/passwd? :P 2022-01-15 02:07:07 hmm ok i try not to do that in case the distro wants to do something additional 2022-01-15 02:32:22 any advice on how to update /etc/motd every time i boot 2022-01-15 02:32:44 (before it is displayed) 2022-01-15 02:33:37 cronjob or perhaps rc service 2022-01-15 02:40:17 hmm i didn't know cron could run at boot 2022-01-15 02:56:13 hays, it's an extension, @reboot 2022-01-15 04:04:01 hays: there is chsh if you install the shadow package 2022-01-15 04:04:41 hays: shadow is in "community" so I guess you do no have that defined in your /etc/apk/repositories 2022-01-15 04:26:02 yep that was it 2022-01-15 04:26:32 thanks--gettting by bearings here.. much is different 2022-01-15 06:14:19 What is luk1 and luk2 in grub? https://wiki.alpinelinux.org/wiki/LVM_on_LUKS#Grub_with_UEFI 2022-01-15 06:14:48 full disk encryption 2022-01-15 06:15:16 I'm using luks2, which is default, but there's a warning that concerns me: "Note: The method is still experimental and you may lose your access to you OS at the next OS update" 2022-01-15 06:16:08 luk is a typo? 2022-01-15 06:16:34 probably, but I'm not sure 2022-01-15 06:16:43 >to you OS 2022-01-15 06:16:56 that's a typo so if the same person wrote "Luk" instead of "Luks" then yeah most likely 2022-01-15 08:55:43 Hi everyone! 2022-01-15 08:55:43 I've been trying to install alpine on an UEFI system with nvme drive. Tried both setup-alpine and manual with setup-disk; they failed to install a bootloader. Trying to install grub manually always results in 'error: failed to get canonical path of `tmpfs`'. I also attempted to boot with an efistub, however it errored out with 'can't mount 2022-01-15 08:55:44 /dev/nvme0n1p2 to sysroot. File or directory doesn't exist'. Then I preceded with checking mkinitfs config (it originally included 'nvme') and rebuilding it. It resulted in system getting stuck at boot with a message like 2022-01-15 08:56:03 Hi everyone! 2022-01-15 08:56:03 I've been trying to install alpine on an UEFI system with nvme drive. Tried both setup-alpine and manual with setup-disk; they failed to install a bootloader. Trying to install grub manually always results in 'error: failed to get canonical path of `tmpfs`'. I also attempted to boot with an efistub, however it errored out with 'can't mount 2022-01-15 08:56:04 /dev/nvme0n1p2 to sysroot. File or directory doesn't exist'. Then I preceded with checking mkinitfs config (it originally included 'nvme') and rebuilding it. It resulted in system getting stuck at boot with a message like: 'Loaded initrd smth...' 2022-01-15 10:24:48 How do I mount usbs on alpine 2022-01-15 10:24:57 doas mount /dev/sdb1 /mnt 2022-01-15 10:24:59 does not work 2022-01-15 10:25:04 How does it not work? 2022-01-15 10:25:26 it says 2022-01-15 10:25:43 mounting /dev/sdb1 on /mnt failed: Invaild argument 2022-01-15 10:26:31 is the usb actually on sdb1 2022-01-15 10:26:36 does it contain a valid partition 2022-01-15 10:26:52 is the kernel module for the fstype of the partition loaded 2022-01-15 10:29:16 if it's bb mount, it does not automatically load all filesystem modules 2022-01-15 10:30:10 i wish they at least changed the error message to hint at that 2022-01-15 10:36:03 what is a bb mount 2022-01-15 10:36:22 busybox mount? 2022-01-15 10:36:50 yes 2022-01-15 10:37:17 yes it is busybox mount 2022-01-15 10:37:29 so how do I load all the kernel modules needed 2022-01-15 10:37:32 Do you know the filesystem? 2022-01-15 10:37:50 mount -t /dev/sdb1 /mnt 2022-01-15 10:38:07 or apk add utll-linux-misc 2022-01-15 10:39:01 no i do not know the fs 2022-01-15 10:39:13 how do multiple binaries with the same name work in alpine? 2022-01-15 10:39:19 does it just overwrite it? 2022-01-15 10:39:21 install conflict 2022-01-15 10:39:22 installing util-linux-misc fixed it 2022-01-15 10:39:25 thanks 2022-01-15 10:39:28 unless there is replaces= 2022-01-15 10:39:36 or one is a symlink 2022-01-15 10:40:01 ah, I'll look into replaces for uitl-linux-misc then 2022-01-15 10:40:09 what for? 2022-01-15 10:40:15 you can already install it 2022-01-15 10:40:19 unless you are thinking of something else 2022-01-15 10:40:30 I mean, at the APKBUILD to see how it works 2022-01-15 10:40:41 busybox uses symlinks 2022-01-15 10:40:56 it doesn't have any in the APKBUILD 2022-01-15 10:41:03 only for the previously named one for backwards compat 2022-01-15 10:41:10 oh, because busybox uses symlinks 2022-01-15 10:41:14 the reason same-names cause conflicts is because apk tracks the files 2022-01-15 10:41:20 symlinks are not, so it just overwrites 2022-01-15 10:41:21 yep 2022-01-15 10:41:28 or well 2022-01-15 10:41:33 symlinks after the install are not tracked 2022-01-15 10:41:43 busybox post-install/upgrade makes them 2022-01-15 10:41:57 i think a symlink file in the package would still conflict 2022-01-15 10:42:07 makes sense 2022-01-15 10:42:26 is there anyway for a user to interact with a mounted usb without having to use doas 2022-01-15 10:42:32 i cant even ls into /mnt 2022-01-15 10:43:08 uewbwe: depends on the filesystem 2022-01-15 10:44:00 I believe it is ntfs 2022-01-15 10:44:02 if it's an fs without unix permissions you can mount it as a user with -o uid=user 2022-01-15 10:44:12 then your user just owns the stuff 2022-01-15 10:44:19 since the actual perms are ignored 2022-01-15 10:44:39 i think ntfs was in that category, but it's been a while 2022-01-15 10:45:16 NTFS seems to not work 2022-01-15 10:45:19 only ext4 usbs 2022-01-15 10:45:58 Also is the grsec and pax stuff in the default kernel or do I have to install another kernel 2022-01-15 10:46:20 We don't have that anymore 2022-01-15 10:46:23 since they closed it 2022-01-15 10:46:29 so we don't have access to the patches 2022-01-15 10:46:55 didn't alpine try to recreate their own version of it? 2022-01-15 10:47:09 a clean room implementation 2022-01-15 10:47:20 no 2022-01-15 10:47:36 oh ok so is it just a regular linux lts kernel now 2022-01-15 10:48:05 yes 2022-01-15 10:48:37 Ok thanks 2022-01-15 10:49:51 also doas mount -o uid=user /dev/sdb1 /mnt does not work 2022-01-15 10:50:09 gives an error saying wrong fs type, bad options, bad superblock or other error 2022-01-15 10:50:18 not sure if that is because I am using ntfs 2022-01-15 10:50:29 add -t ntfs 2022-01-15 10:50:47 alpine had a fork of it for some time, since they closed it 2022-01-15 10:50:55 but it eventually became too much maintenance so it was dropped 2022-01-15 10:51:28 yes, because it was just one giant patch, rebasing was infeasible 2022-01-15 10:52:08 it doesn't get much easier to rebase things when it's multiple patches 2022-01-15 10:52:12 same amount of conflicts 2022-01-15 10:52:16 i added -t ntfs still gives me that error 2022-01-15 10:52:39 try the actual uid instead of a username 2022-01-15 10:52:54 psykose: yes, but context is more clear 2022-01-15 10:53:01 ah, sure 2022-01-15 10:53:22 also with multiple patches you sometimes have a conflict chained between all of them 2022-01-15 10:53:25 and it gets very annoying 2022-01-15 10:54:32 works thanks 2022-01-15 10:54:39 thanks for your help 2022-01-15 10:57:23 Wait final thing 2022-01-15 10:57:31 is there anyway to get the !! command working 2022-01-15 10:57:35 so you can do doas !! 2022-01-15 10:57:39 or is that bash only 2022-01-15 10:57:57 bash pretty sure 2022-01-15 10:58:19 but you can just do.. `C-p C-a doas ` and quickly retry 2022-01-15 10:58:50 Ok thanks 2022-01-15 13:41:33 I've submitted a MR for upgrading py3-waitress about a week ago. What's the appropriate way to have someone look at it to get it merged? Or should I just be more patient? 2022-01-15 13:41:36 https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/29321 2022-01-15 14:36:38 how do we update to use iptables-nft by default? 2022-01-15 15:18:15 Hello there, i'm launching dwm with startx but don't have any mouse/keyboard input. I've added my user to input & video groups and installed xf86-input-libinput and udev 2022-01-15 15:18:15 Does anyone know what should I change/configure? 2022-01-15 15:23:00 vasili: did you run setup-xorg-base OR setup-udev and reboot? 2022-01-15 15:30:12 Tried running setup-udev now. Didn't help 2022-01-15 15:30:13 I didn't run setup-xorg-base but installed all required packages 2022-01-15 15:30:48 did you login again? 2022-01-15 15:30:57 (what does `id` return) 2022-01-15 15:32:18 vasili: did you reboot? 2022-01-15 15:32:24 Oh, i forgot to reboot after setup-udev. Now everything seems working fine 2022-01-15 15:32:38 Thank you a lot : ) 2022-01-15 15:35:34 that script really need something like: echo 'echo "Please reboot!"' > /sbin/setup-udev 2022-01-15 15:43:47 I've installed and started udev itself but somehow skipped udev-postmount. 2022-01-15 15:43:47 Should I add a section about setup-udev to https://wiki.alpinelinux.org/wiki/Alpine_setup_script ? 2022-01-15 18:01:22 can I `apk list`, without seeing license info? 2022-01-15 18:05:55 apk list -I | cut -f 1,3 -d ' ', works 2022-01-15 19:18:27 which one is newer, the "docs" or the "wiki"? 2022-01-15 19:18:52 define newer :) 2022-01-15 19:19:09 yes 2022-01-15 19:19:12 And I doubt that's the actual question you want to ask 2022-01-15 19:19:29 both will continue to exist? 2022-01-15 19:20:48 Our current efforts are on expanding docs 2022-01-15 19:21:14 What will happen to the wiki we will decide afterwards, but there probably will be some kind of wiki 2022-01-15 22:52:04 Is rootless xorg possible on Alpine if I use xinit to start X? I came from Arch Linux, where systemd is used to achieve rootless xorg. 2022-01-15 22:55:18 Currently I have xorg installed through the script "setup-xorg-base", and the "xfce4" package. I'm running "startxfce4" as a normal unprivileged user, but it fails with "parse_vt_settings: Cannot open /dev/tty0 (Permission denied)" 2022-01-15 23:04:32 playing with alpine on a raspberry pi, is there any practical difference between (i) lbu include /var and (ii) a data disk installation? 2022-01-15 23:11:40 "alpine-desktop" package doesn't exist (yet?): https://docs.alpinelinux.org/user-handbook/0.1a/Working/post-install.html#_getting_a_graphical_environment 2022-01-16 00:13:02 To remap a key in console, loadkeys can load a custom key configuration 'loadkeys mychange.kmap'. How can I make that change persistent with every boot? 2022-01-16 00:16:31 launch that command at every boot ? create an init file and put it in the default rc 2022-01-16 00:16:43 s/rc/runlevel/ 2022-01-16 00:16:43 Lord meant to say: launch that command at every boot ? create an init file and put it in the default runlevel 2022-01-16 01:03:52 Hi! 2022-01-16 01:13:47 I am attempting to install Alpine on a librebooted thinkpad using full disk encryption by putting my boot sector on my bios flash chip. I'm trying to kit-bash these two guides to little success https://wiki.alpinelinux.org/wiki/Setting_up_a_laptop#Full_disk_encryption_with_with_cryptsetup-luks_volumes 2022-01-16 01:13:47 https://wiki.parabola.nu/Installing_Parabola_on_Libreboot_with_full_disk_encryption_(including_/boot) 2022-01-16 01:13:48 For test purposes I am just trying to install grub onto a flash drive (which I will later move to my on board flash) In that way I should be able to follow the alpine tutorial completely. Theres only one discrepancy, I am wanting to be promoted to type in my decryption key upon boot and the tutorial describes storing the decryption key on a flash 2022-01-16 01:13:48 drive. Dose anybody know how I would need to setup my openrc, dmcrypt, and fstab to achive this? Thank you very much! 2022-01-16 01:25:30 bovis: try looking at /etc/vconsole.conf 2022-01-16 01:26:39 https://superuser.com/questions/1320302/change-keyboard-layout-in-tty-permanently#1320304 2022-01-16 01:26:53 have not verified this works on alpine, not finding much on the wiki about it 2022-01-16 01:27:07 I think vconsole.conf is a systemd thing 2022-01-16 01:28:31 openrc on gentoo supports using the /etc/conf.d/keymaps file with the keymaps service: https://wiki.gentoo.org/wiki/Keyboard_layout_switching#OpenRC . I haven't tried this on alpine though 2022-01-16 01:29:16 on guix system you can do it via the config.scm file and similar for nixos, so I figured there's probably a way 2022-01-16 01:30:16 my personal approach these days is qwerty on the OS and then Workman layout in my keyboard's firmware, so I haven't messed with any of this stuff in a while 2022-01-16 01:31:17 I will try that, thanks 2022-01-16 02:03:27 Lord bdju: Looks like I create a .start file in /etc/local.d/ with the line '/usr/bin/loadkeys /etc/keymap/mykeymap.kmap'. Activating local scripts on the default runlevel will run my .start file at startup. https://wiki.gentoo.org/wiki//etc/local.d 2022-01-16 18:20:54 https://www.pine64.org/2022/01/15/january-update-more-news/ Alpine running on an e-ink device! 2022-01-16 19:10:14 oh nice, I was thinking about the monthly update a few days ago but then forgot to check for it 2022-01-16 22:37:25 Hi, I'm trying to bringup alpine-linux on a pinebook pro with the default mainline stable linux kernel (5.16.1). Everything is working just fine, except I noticed that there are some kernel modules missing for things like the battery fuel gauge (e.g. CONFIG_BATTERY_CW2015). The linux-edge aarch64 config doesn't include these kernel modules, so I can't just `apk upgrade` to a newer kernel. Is there a way to append an overrides list of kerne 2022-01-17 01:51:33 Is installing openssl needed for a bare minimum Alpine system? 2022-01-17 02:12:50 ktprograms: the openssl package is just a command-line app which isn't necessary. Or are you asking about other parts of openssl, such as libs subpackages? 2022-01-17 02:18:31 minimal: I just meant the openssl package. I do have all the libssl and stuff from alpine-base. Thanks for the info 2022-01-17 02:19:16 Is there any way to get apk to run all the triggers? I modified a file in /etc/mkinitfs/features.d and I want the initramfs to be regenerated. 2022-01-17 02:19:32 all the openssl package contains is 1 file: "/usr/bin/openssl". If anything you have installed requires that then it should have declared a dependancy to auto-install it 2022-01-17 02:19:48 run-from-ram or Sys-mode? 2022-01-17 02:20:00 for Sys-mode just run "mkinitfs" to generate initramfs 2022-01-17 02:20:08 s/generate/regenerate/ 2022-01-17 02:20:08 minimal meant to say: for Sys-mode just run "mkinitfs" to regenerate initramfs 2022-01-17 02:21:05 minimal: ok thanks. But for future knowledge, is there any way to re-run all *.trigger files from packages? 2022-01-17 02:22:00 Also because I'm doing a manual install by mounting the disk and using apk --root=/mnt, so I can't really use mkinitfs and stuff. 2022-01-17 02:22:17 Would using apk fix \* re-run all the triggers? 2022-01-17 02:22:30 wouldn't `apk fix * --reinstall` do that? 2022-01-17 02:22:40 only use --root to install apk-tools 2022-01-17 02:22:43 then use chroot 2022-01-17 02:24:55 ktprograms: I do that sort of manual install by chroot-ing into the /mnt directory once I've installed the base packages to do other stuff including modify mkinitfs.conf and running mkinitfs 2022-01-17 02:28:15 minimal: Hello71: Ok, I'll keep that in mind, but I think I'll try apk fix --root=/mnt \* first 2022-01-17 02:30:49 ktprograms: not sure how safe that is in general 2022-01-17 02:31:38 minimal: Why wouldn't it be? 2022-01-17 02:32:53 never tried that but in general if you're not chrooted into /mnt then something could potentially modify files on your host rather than inside /mnt 2022-01-17 02:33:18 Doesn't apk --root do a chroot? 2022-01-17 02:33:53 ktprograms: not sure, as to do so would require bind-mounting /sys /dev /proc from the host inside /mnt 2022-01-17 02:34:14 I see, thanks 2022-01-17 02:35:10 that's the point of chroot - you make /mnt look like / which means it needs those "top-level" directories with appropriate contents also 2022-01-17 02:38:08 So when you say chroot after installing alpine-base, you mean including bind-mounting /sys /dev /proc? 2022-01-17 02:41:26 ktprograms: one example would be this: https://github.com/alpinelinux/alpine-chroot-install 2022-01-17 02:41:37 another example would be my own script :-) 2022-01-17 02:43:21 ok, thanks 2022-01-17 12:29:45 Best way to install UV4L (https://www.linux-projects.org/uv4l/) on my pi (I'm running alpine 3.14.3 on a Raspberry Pi 3 Model B) ? 2022-01-17 13:03:50 no source code? 2022-01-17 13:25:43 Hello! 2022-01-17 13:26:37 hey 2022-01-17 13:26:41 Are aarch64 packets built on the matching architecture, or cross compiled from x86_64? 2022-01-17 13:26:49 metal 2022-01-17 13:27:01 if you mean packages or isos 2022-01-17 13:27:14 all of the packages are native, except riscv64 2022-01-17 13:27:14 the packages themselves 2022-01-17 13:27:18 both 2022-01-17 13:27:30 armv7/hf is technically emulated on aarch64 2022-01-17 13:27:32 same for x86 2022-01-17 13:27:35 but this is normal 2022-01-17 13:27:52 Ok, thanks for your answer :) 2022-01-17 13:28:31 the arm builder is quite huge, incidentally 2022-01-17 13:38:12 Hello71: There have a repo for Ubuntu. But I can't find any Sourcecode on their site. Strange. Their streaming server with JITSI stream extension reads very nice. But without source code ... 2022-01-17 14:18:32 Hi, was attempting to setup NetworkManager on a fresh install by following https://wiki.alpinelinux.org/wiki/NetworkManager but I can't seem to get it working. Trying to connect ot a network I get the error "Connection is not available on device wlan0 because device is strictly unmanaged". And indeed `nmcli device` lists every device as "unmanaged". Ethernet doesn't connect (automatically) either. 2022-01-17 14:19:08 did you remove devices from /etc/network/interfaces 2022-01-17 14:20:51 I did comment out all lines in /etc/network/interfaces 2022-01-17 14:29:39 did you reboot 2022-01-17 14:32:22 Yes, but did another one and checked the file again just to confirm and be sure. 2022-01-17 14:43:01 noob01344: do you have a `[device]` entry for wlan0 in `/etc/NetworkManager/NetworkManager.conf`? 2022-01-17 14:46:27 any ideas why I can't reach my server via its hostname? this always worked when I had arch on it. (udhcpc is running with `-x hostname:foo`) 2022-01-17 14:52:20 SamantazFox: no, only had the settings for `wifi.backend=iwd` under `[device]`. Is setting a device explicitly required? Looking at the manpage for `NetworkManager.conf` right now I tried to set `match-device=interface-name:wlan0` and `managed=1` followed by a reboot, but it's still listed as "unmanaged" 2022-01-17 14:55:50 noob01344: try `nmcli device wlan0 set managed yes` 2022-01-17 14:56:14 `nmcli device set wlan0 managed yes` 2022-01-17 14:56:26 my bad, mixed the order of the arguments 2022-01-17 14:59:27 Ok, tried it. State is still "unmanaged" afterwards, however the command does not print any error 2022-01-17 15:00:52 Ahhh, I ran into the same problem the other day, and I'm trying to remember how I fixed that.... 2022-01-17 15:03:56 Really caught me unaware, never had to do much configuring with NM. However on Alpine I've only used connman so far 2022-01-17 15:04:41 what wifi backend do you use? wpa_supplicant? 2022-01-17 15:05:01 iwd 2022-01-17 15:11:58 To try that too I stopped iwd and removed it from runleved, rebooted and tried `nmcli device set eth0 managed yes` too. But ethernet too won't budge 2022-01-17 15:12:48 (and removed `wifi.backend=iwd` from `NetworkManager.conf`) 2022-01-17 15:17:44 noob01344: do you have a `[keyfile]` section? 2022-01-17 15:18:12 with `unmanaged-devices` below 2022-01-17 15:19:22 No, at least not in `/etc/NetworkManager/NetworkManager.conf` and not written by me anywhere unless this is set somewhere by default? 2022-01-17 15:20:17 there shouldn't be anything, but check in `/usr/lib/NetworkManager/`? 2022-01-17 15:20:34 Otherwise, are you part of the `plugdev` group? 2022-01-17 15:23:41 `grep -R unmanaged-devices /usr/lib/NetworkManager` doesn't return anything at least. On the group: no, but I haven't created any users yet since the install is fresh, working as root, is root too required to be in the group? 2022-01-17 15:28:37 Afaik, root has already access to everything 2022-01-17 15:28:43 so it shouldn't be required 2022-01-17 15:29:13 Maybe try to use NM as a less privileged user? 2022-01-17 15:36:33 I'll give it a try 2022-01-17 15:41:26 btw. what network manager programs do people here use? or which are the most popular in general among alpine users 2022-01-17 15:51:38 default networking script (udhcpc) and iwd 2022-01-17 15:56:06 default in Alpine like https://github.com/ifupdown-ng/ifupdown-ng 2022-01-17 16:07:05 SamantazFox: Still no success unfortunately, thanks for the help nonetheless :) 2022-01-17 16:09:08 hmz 2022-01-17 16:12:10 @noob01344: erf :/ Good luck, hope you'll find the solution :) 2022-01-17 17:06:20 how do i find the APKBUILD for a package that is in edge/community? 2022-01-17 17:06:36 you go to aports/community/pkgname in git 2022-01-17 17:06:47 i'm looking there, but the folder isn't there 2022-01-17 17:06:48 or find the package on https://pkgs.alpinelinux.org/packages then click git repository on the package 2022-01-17 17:06:52 sometimes it's a subpackage 2022-01-17 17:06:55 ah, let me try that, thanks 2022-01-17 17:08:42 ok yeah, it's a subpackage 2022-01-17 17:09:42 so i'm trying to rebuild ffmpeg with an extra configure flag i need. i've got a private alpine repo already, so i'm patching the APKBUILD for ffmpeg and then running abuild and uploading the resulting .apk files to the repo. then I do apk -X url_of_my_repo add ffmpeg 2022-01-17 17:09:59 but it seems like i get ffmpeg from my repo and ffmpeg-libs from the official repo, because ffmpeg complains of a library configuration mismatch 2022-01-17 17:10:19 just add your repo to repositories 2022-01-17 17:10:29 if all the things are a newer version it will upgrade 2022-01-17 17:10:36 also you can probably mr the extra flag to aports 2022-01-17 17:10:39 unless it's something silly 2022-01-17 17:11:19 the only requirement is the repo serves files on http correctly, and the key stuff is signed with is under /etc/apk/keys with the same filename 2022-01-17 17:11:29 and then you just add a line into /etc/apk/repositories 2022-01-17 17:11:35 it's pulseaudio, not sure if it's desired or not (pulse is in aports, but i guess most alpine users are not using it) 2022-01-17 17:11:37 apk upgrade -Ua should work then 2022-01-17 17:11:41 that should be fine 2022-01-17 17:11:55 lots of things are linked against libpulse 2022-01-17 17:12:04 so is the issue with my approach that -X only applies to the packages listed on the command line and not their dependencies? 2022-01-17 17:12:13 not 100% sure but probably 2022-01-17 17:12:17 makes sense 2022-01-17 17:12:20 thanks for your help 2022-01-17 20:15:12 Is the s390x purely 64-bit, or will it run on the older machines as well? 2022-01-17 20:15:33 64 afaik 2022-01-17 20:16:07 older one is usually just s390 2022-01-17 20:30:41 that would make life easier, thanks 2022-01-17 22:05:43 hey, how does Alpine pack its initramfs? I tried unpacking and re-packing alpine's, and it doesn't boot 2022-01-17 22:06:28 just gets stuck on grub's "Loading initial rootfs" 2022-01-17 22:06:52 I tried packing it with `find . | cpio -o -H newc --quiet | gzip -9` (and a few other compression methods) 2022-01-17 22:06:56 spiralw: mkinitfs is the script you want to look at 2022-01-17 22:07:00 initfs_cpio in in /sbin/mkinitfs 2022-01-17 22:07:29 there is renumber-inodes too 2022-01-17 22:07:52 aside from that, perhaps it was the tree you made 2022-01-17 22:07:53 dunno 2022-01-17 22:08:08 the whole script is quite short 2022-01-17 22:08:30 yea I'm reading it now 2022-01-17 22:14:03 hmm, doesn't work even if I copy-paste the packing script from mkinitfs 2022-01-17 22:14:14 is there any way to get any more useful output from linux/grub? 2022-01-17 22:14:17 Anyone know how to fix installing an encrypted sys disk? Looks like everything goes fine on setup but on boot I get a mounting error and then it drops to a shell (specifically `mount: mounting UUID=... on /sysroot failed: No such file or directory`) 2022-01-17 22:14:52 ah, that is the exact thing i'm trying to fix as well 2022-01-17 22:15:21 sick lol 2022-01-17 22:16:31 What do you think the problem specifically is? I just got this and haven't really dug into it at all 2022-01-17 22:17:08 I don't know how the initramfs cryptsetup stuff works, so I have no clue honestly 2022-01-17 22:17:46 psykose: what's that you were talking about the tree? I unzipped the initramfs into a directory, and ran the cpio from the root directory of that 2022-01-17 22:17:54 ah 2022-01-17 22:18:05 curious are you using an NVME drive? 2022-01-17 22:18:24 I am, yes 2022-01-17 22:19:45 Gotcha, so that's tha problem 2022-01-17 22:43:04 spiralw: any progress? 2022-01-17 22:45:24 nope :/ 2022-01-17 22:45:59 I was trying to make my own initramfs and just run cryptsetup manually, but it doesn't seem to want to boot for whatever reason 2022-01-17 22:46:27 usually "Loading initial rootfs", like \Windows\system32\Mup.sys, does not indicate any particular issue with the initramfs packing 2022-01-17 22:46:46 and in fact, grub does not do any processing on initramfs; it is simply passed to linux as a blob 2022-01-17 22:46:49 I don't think it's an issue with the packing of the initramfs but what was packed in the first place 2022-01-17 22:46:54 well, the contents of the initramfs are the same as alpine's own one 2022-01-17 22:47:15 at least the one I am testing with 2022-01-17 22:48:43 so I do not understand what is possibly the error if not the packing 2022-01-17 22:48:54 oh 2022-01-17 22:49:09 trvv: there is bug with mkinitfs cryptsetup, it doesn't load nvme 2022-01-17 22:49:17 ah wait it is alpine-conf 2022-01-17 22:49:24 https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10498 2022-01-17 22:49:46 work around it by adding nvme to /etc/mkinitfs.conf features 2022-01-17 22:49:50 what I was implying yes yeah 2022-01-18 04:18:29 Good morning! 2022-01-18 04:24:05 So I've set up an encrypted alpine linux install on an efi machine, 3 partitions: encrypted root, /boot and /boot/efi. Works well however I noticed that after booting the mount options my root partition are mounted with differ from the settings I have in my `/etc/fstab` file, and that it is mounted from /dev/dm-0 instead of `/dev/mapper/croot` (name specified in GRUB_CMDLINE_LINUX_DEFAULT with `cryptdm=croot 2022-01-18 04:24:34 The latter I was able to fix by specifying `root=/dev/mapper/croot`, no more two mapped names. 2022-01-18 04:26:12 However to get the root mount options I want I had to set the kernel parameter `rootflags=` 2022-01-18 04:28:10 Is there a way to get the system to only use those from my `/etc/fstab` so I don't have to specify them across two places? 2022-01-18 04:29:10 I assume this has to do with the way mkinitfs detects encrypted partitions and how the fstab partition are remounted during the boot process? 2022-01-18 11:11:01 Hi ! Did you succeed in using Yubikey 2FA on Alpine ? 2022-01-18 11:11:49 I have updated the udev rules as mentionned on the yk website but it doesn't help 2022-01-18 11:16:58 are you talking about the udev rules that say GROUP= MODE=, or about the ones that say TAG+="uaccess" 2022-01-18 11:19:28 both 2022-01-18 11:19:40 On yk web site it is suggested to add: 2022-01-18 11:19:44 `# Yubico YubiKey 2022-01-18 11:19:46 KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="1050", ATTRS{idProduct}=="0113|0114|0115|0116|0120|0121|0200|0402|0403|0406|0407|0410", TAG+="uaccess", GROUP="plugdev", MODE="0660" 2022-01-18 11:20:05 410 is my model 2022-01-18 11:21:13 and, does /dev/hidraw* become owned by :plugdev? does it become mode 0660? 2022-01-18 11:22:07 crw-rw---- 1 root plugdev 239, 0 Jan 18 12:20 /dev/hidraw0 2022-01-18 11:22:09 crw-rw---- 1 root root 239, 1 Jan 18 10:35 /dev/hidraw1 2022-01-18 11:22:11 crw------- 1 root root 239, 2 Jan 18 10:35 /dev/hidraw2 2022-01-18 11:22:13 yes for 0 2022-01-18 11:23:03 are you in the plugdev group, then? 2022-01-18 11:23:10 assuming `udevadm info /dev/hidraw0` shows that it's the yubikey 2022-01-18 11:24:02 yes i am into plugdev 2022-01-18 11:24:20 how can I check that yubi is on hidraw0 ? 2022-01-18 11:58:37 vlp: have you checked lsusb ? 2022-01-18 11:59:15 yes, but I cannot find a link btw lsusb et hidraw: 2022-01-18 11:59:17 Bus 003 Device 003: ID 1050:0407 Yubico.com Yubikey 4/5 OTP+U2F+CCID 2022-01-18 12:01:52 and in your dmesg ? 2022-01-18 12:04:28 Ah yes in dmesg: 2022-01-18 12:04:30 id-generic 0003:1050:0407.0007: input,hidraw0: USB HID v1.10 Keyboard [Yubico YubiKey OTP+FIDO+CCID] on usb-0000:00:14.0-8/input0 2022-01-18 12:05:37 so plugdev est group owner of hidraw0 and yk is linked to hidraw 2022-01-18 12:06:27 and my user is in plugdev group 2022-01-18 12:07:44 not sure about the rest of the configuartion, but udev seems to be working as intended 2022-01-18 12:08:12 yes !! 2022-01-18 12:08:18 thanks for checking ! 2022-01-18 12:08:37 as root, it works, my pb is as user 2022-01-18 12:11:52 what do you get from `cat /dev/hidraw0`? 2022-01-18 12:58:32 noob01344: possibly 2022-01-18 13:42:59 nada 2022-01-18 13:45:27 if it doesn't report permission errors, good enough 2022-01-18 13:45:45 yes ! 2022-01-18 13:46:09 ah no as root I can read 2022-01-18 13:46:16 as user I can't 2022-01-18 13:46:30 that may be the root of my issue 2022-01-18 13:46:31 ok, so how do you know you're in that plugdev group? 2022-01-18 13:46:59 ➜ ~ ls -la /dev/hidraw0 2022-01-18 13:47:01 crw-rw---- 1 root plugdev 239, 0 Jan 18 12:20 /dev/hidraw0 2022-01-18 13:47:03 ➜ ~ id vlp 2022-01-18 13:47:05 uid=1000(vlp) gid=1000(vlp) groups=1000(vlp),7(lp),18(audio),23(input),27(video),85(usb),102(seat),103(gnupg),109(lpadmin),110(plugdev) 2022-01-18 13:47:22 It seems that I am in 2022-01-18 13:48:06 that actually says that the *next* login of the user 'vlp' will receive those groups 2022-01-18 13:48:25 but not that your *current* processes have them 2022-01-18 13:49:33 mhhmmm 2022-01-18 13:49:43 you mean that I should reboot ? 2022-01-18 13:49:58 at minimum you should log out (including exiting tmux/screen if that's running) and log back in 2022-01-18 13:49:59 no, if you see the group in `id` then it is currently there 2022-01-18 13:50:15 if you add yourself to a group it will not be present in `id` until you relog 2022-01-18 13:50:18 if it is then you have it 2022-01-18 13:50:26 I'll bet imaginary $5 that it is not currently there 2022-01-18 13:51:47 I am gonna try ! ++ 2022-01-18 13:56:08 it works ! Thanks for the help ! You won imaginary $5 ! 2022-01-18 13:57:08 each process can have different groups, `id` reports what it has right now, `id vlp` reports what the vlp user would have upon logging in 2022-01-18 13:57:48 good to know ! 2022-01-18 13:58:08 thanks again ! 2022-01-18 16:33:42 Hey everyone! I was wondering if there is a way to make an executable MOTD. That is, instead of a static text ("Welcome to Alpine!...") a shell script would be executed (e.g. `neofetch`). Is there a way to do this via `/etc/motd`, or should I just edit the `.profile`? 2022-01-18 16:42:12 yes you can 2022-01-18 16:42:27 my motd call Khal for the upcomming event 2022-01-18 21:36:07 Hi there 2022-01-18 21:36:54 Any ideas how would I chose zfs file type during the installation? 2022-01-18 21:44:06 frojnd: https://wiki.alpinelinux.org/wiki/Root_on_ZFS_with_native_encryption 2022-01-18 21:44:18 you will need the extended release 2022-01-18 21:47:15 bdju: wouldn't standard release has more packages? 2022-01-18 21:47:44 more than _extended_? 2022-01-18 21:49:36 the extended iso has more packages on the actual iso 2022-01-18 21:49:52 it has no bearing on what you get from mirrors afterward, but the stuff it has on iso is needed for zfs i guess 2022-01-18 21:50:20 Ok 2022-01-18 21:51:53 But first maybe try to get it on standard iso 2022-01-18 21:52:02 Maybe it's already on standard 2022-01-18 21:53:25 https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/scripts/mkimg.standard.sh#L38 2022-01-19 06:03:45 Is `chsh` not included in `util-linux` https://pkgs.alpinelinux.org/package/v3.15/main/x86_64/util-linux ? 2022-01-19 06:04:02 shadow 2022-01-19 06:04:20 https://pkgs.alpinelinux.org/contents?file=chsh&path=&name=&branch=edge 2022-01-19 06:04:25 it's in 'shadow` package 2022-01-19 06:04:35 oh got it, thanks! 2022-01-19 06:05:51 What's the reason for shadow being in community rather than main? 2022-01-19 06:13:11 Never had a good reason to have it in main 2022-01-19 06:14:53 Makes sense of course. Is there a more "alpine" way to achieve the things it provides, like chsh? 2022-01-19 06:15:03 edit /etc/shadow 2022-01-19 06:15:17 er 2022-01-19 06:15:19 the other one 2022-01-19 06:15:29 /etc/passwd 2022-01-19 06:15:41 passwd 2022-01-19 06:15:41 yeah 2022-01-19 06:15:49 shell is just the last thing and already there 2022-01-19 06:15:52 edit it to anything else 2022-01-19 06:25:30 Thanks 2022-01-19 08:15:11 ikke: that's nice. This means I can install alpine with zfs on my odroid xu4 which is armv7 2022-01-19 08:33:24 Hm... when I do modprobe zfs I get: modprobe: FATAL: Module zfs not found in directory /lib/modules/5.15.4-0-lts 2022-01-19 08:35:12 it's only in the extended iso by default which is only x86/64 2022-01-19 08:35:27 you either have to build your own or do like a 2 step install 2022-01-19 08:35:38 Ah I thought it was also in standard because of this: https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/scripts/mkimg.standard.sh#L38 2022-01-19 08:35:57 that is inside profile_extended() 2022-01-19 08:36:04 with arch="x86 x86_64" 2022-01-19 08:36:04 AAAaaaaH 2022-01-19 08:36:36 psykose: what did you mean with 2 step install? 2022-01-19 08:37:03 you like do an install to whatever media you boot off, install the zfs stuff, then set up zfs 2022-01-19 08:38:04 Ok will first try with extended iso and when fiddling with arm 2 step install 2022-01-19 08:38:44 well you can't use the extended iso on an armv7 device 2022-01-19 08:39:00 unless you build one yourself for armv7, the mkimg scripts can do that 2022-01-19 08:39:50 psykose: am trying to install in qemu :D 2022-01-19 08:39:58 First.. 2022-01-19 08:40:23 ah 2022-01-19 09:00:32 In order to switch to edge I just have to uncommend edge repos in the /etc/apk/repositories and apk udate and that's it? 2022-01-19 09:01:22 apk upgrade -Ua 2022-01-19 09:11:09 Sweet thank you 2022-01-19 14:48:17 frojnd: There are also many other ways to do a 2 step install. Alpine is very flexible. One time when I needed custom packages and I needed to configure the network, I made an Alpine chroot, installed packages, made an image with mkimage, booted the ISO in a VM, ran setup-network, saved changes with LBU, wrote the ISO and LBU data to a USB drive, and then finally installed on my 2022-01-19 14:48:19 actual server. 2022-01-19 14:48:57 Now that I know more I could probably do that in fewer steps, but I had a lot of fun, so it was ok. :) 2022-01-19 16:12:44 Can I run sway with qemu? 2022-01-19 16:13:10 I keep getting: unable to create backendn any DRM device 2022-01-19 16:16:55 i did this recently 2022-01-19 16:17:54 you need to make sure to install necesarry components like seatd/elogind and eudev/udev/systemd, as well as making sure to start these services 2022-01-19 16:18:21 i also had to run 'udevadm trigger' on startup everytime 2022-01-19 16:18:50 it might work at the boot runlevel as a rc-service though, haven't tried it yet 2022-01-19 16:19:08 also, when running qemu use '-vga virtio' 2022-01-19 16:19:39 >systemd 2022-01-19 16:19:42 uwotm8 2022-01-19 16:19:58 elogind 2022-01-19 16:19:58 yeah, ignore that, fair point, lol 2022-01-19 16:23:51 lyubov: hm I still can't run it hm. 2022-01-19 16:24:45 https://wiki.alpinelinux.org/wiki/Sway for a step-by-step guide to setup Sway 2022-01-19 16:25:00 Yeah following that guide 2022-01-19 16:25:04 i found that the onscreen errors were sometimes not the full errors. does looking at the file from "sway -d 2> sway.log" help? there should be at least one error message 2022-01-19 16:25:05 Ah, sorry 2022-01-19 16:25:23 lyubov: let me run it with -d 2 yes 2022-01-19 16:26:23 to be clear, 'sway -d' runs sway in debug mode, '2>' redirects standard error to the file 2022-01-19 16:26:37 Many errors 2022-01-19 16:26:56 https://termbin.com/hrkl 2022-01-19 16:27:12 frojnd: do you have anything in /dev/dri? 2022-01-19 16:27:39 ptrc: yes 2022-01-19 16:28:22 by-path card0 renderD128 2022-01-19 16:28:40 i also installed mesa-dri-gallim and mesa-dri-classic when i ran it 2022-01-19 16:28:52 I've installed mesa-dri-classic 2022-01-19 16:29:34 What's the difference between the two? wiki wasn't clear. I assumed gallium is for the newest intel cards? 2022-01-19 16:30:41 After installing mesa-dri-gallium I have new errors so I was missing drivers? 2022-01-19 16:30:47 have you run as root 'udevadm trigger'? assuming you are eudev? 2022-01-19 16:31:05 lyubov: no I haven't 2022-01-19 16:31:14 I mean not sure at what step actually 2022-01-19 16:31:31 try that, that was the last thing for me to get it working 2022-01-19 16:33:06 https://termbin.com/kqg1 I get: [ERROR] [swaybar/tray/tray.c:42] Failed to connect to user bus: No such file or directory 2022-01-19 16:35:52 [ERROR] [wlr] [render/egl.c:281] Software rendering detected, please use the WLR_RENDERER_ALLOW_SOFTWARE environment variable to proceed 2022-01-19 16:36:01 [ERROR] [wlr] [EGL] command: eglMakeCurrent, error: EGL_BAD_DISPLAY (0x3008), message: "eglMakeCurrent" 2022-01-19 16:36:12 [ERROR] [wlr] [render/gles2/renderer.c:742] Could not initialize EGL 2022-01-19 16:36:30 i think this is where it starts, right near the top 2022-01-19 16:37:28 one more question, and to be honest, i'm out of my depth here a bit, but does your host support kvm and have you run the vm with -enable-kvm? 2022-01-19 16:41:39 lyubov: Good point let me checek my modules 2022-01-19 16:43:53 in case it's helpful, here's my install log: https://termbin.com/m5o9 2022-01-19 16:44:31 Ok kvm is supported and am running with --enable-kvm 2022-01-19 16:45:18 lyubov: ok let me check that 2022-01-19 18:55:48 No good 2022-01-19 18:58:15 is it the same error? 2022-01-19 19:34:47 https://termbin.com/pgp8 2022-01-19 19:34:48 Same 2022-01-19 19:48:00 i guess i'm confused as to why it's still doing software rendering with -enable-kvm 2022-01-19 19:49:34 i was able to replicate your error using --enable-kvm....try with -enable-kvm 2022-01-19 19:49:41 it's really that pedantic 2022-01-19 20:31:17 Hm 2022-01-19 20:31:20 qemu-system-x86_64 alpine_image_ext -vga virtio -display gtk -m 2G -smp 4 -enable-kvm -nic user,hostfwd=tcp::10022-:22 & 2022-01-19 20:31:26 The same 2022-01-19 21:12:38 frojnd: sorry to hear that, at this point i'm not sure what else i can add, i think the only remaining error is the sofware rendering, which doesn't seem to be workable with sway out of the box. 2022-01-19 21:13:58 frojnd: even enabling it at the qemu and kernel level might not be doing anything if the motherboard doesn't support it. i guess my next step would trying the same steps on a baremetal host which i know has kvm support and kvm enabled 2022-01-19 22:29:03 quick one, does git.alpinelinux.org support IPv6 or is the problem on my end? 2022-01-19 22:33:12 wfm 2022-01-19 22:33:16 https at least 2022-01-19 22:34:27 thanks for checking 2022-01-20 02:00:26 is the fmt program packaged for alpine linux? 2022-01-20 02:00:38 I tried looking for it with apk-file but didn't find it 2022-01-20 02:08:16 I think it's in coreutils based on man, possible busybox doesn't have an analogue 2022-01-20 02:15:40 yeah it was in coreutils, thanks 2022-01-20 02:16:02 is there any better way to find a package based on a program name 2022-01-20 02:27:11 apk info cmd:fmt 2022-01-20 02:27:27 https://pkgs.alpinelinux.org/contents?file=fmt&path=&name=&branch=edge 2022-01-20 03:01:50 Hello71: nice 2022-01-20 03:02:00 is that cmd: feature documented? 2022-01-20 03:46:30 there is nothing special about the feature, it's just how virtual packages work 2022-01-20 03:46:39 afaict apk doesn't even explicitly know about cmd: and whatever 2022-01-20 03:47:05 it's just provides = arbitraryprefix:name=version (with =version being optional) 2022-01-20 03:47:17 and packages provide cmd:, so:, pc: 2022-01-20 03:47:32 at this point 2022-01-20 08:48:17 Hi. I want to set up an Alpine build host to customise kernels and some apps to deploy on other alpine instanses. What do I need to set that up - is there some documentation for this? 2022-01-20 08:49:39 by deploy you mean make installable packages? 2022-01-20 08:49:54 all you need to do is set up a repository and add a line for it in /etc/apk/repositories 2022-01-20 08:51:31 as for managing a repository, abuild* things do most of it, e.g. when you use abuild already it will be placing the built apks into e.g. ~/packages/main etc, and these folders make a valid repository if you serve the path over http 2022-01-20 08:53:03 a line like https://dl-cdn.alpinelinux.org/alpine/v3.15/main/ then expects to find a $CARCH/APKINDEX.tar.gz , and if you look at those folders you will see there is an architecture there already- how you want to host it or do stuff is up to you 2022-01-20 08:56:23 In general you only need alpine-sdk installed 2022-01-20 08:57:15 does alpine have a java that supports classfiles compiled w/ 61 2022-01-20 09:01:58 uh, versions 61 2022-01-20 09:03:36 yea it does 2022-01-20 09:03:55 isn't that java 17 2022-01-20 09:04:57 yea 2022-01-20 09:05:54 there is openjdk17 yeah 2022-01-20 09:10:48 psykose: I want to custom build btrfs-progs and the kernel to test a new feature 2022-01-20 09:11:08 But I don't want to set up the build environment on the machine itself, but want to do that in a VM instead. 2022-01-20 09:11:49 then install alpine-sdk in a VM 2022-01-20 09:11:58 :) Thanks. 2022-01-20 09:15:06 mind that you will have to set up a webserver and expose it somehow to all machines that need to access it 2022-01-20 09:15:13 or copy apk files between them 2022-01-20 09:16:46 Forza: Or you could try using the alpinelinux/build-base docker image if you'd prefer to build in Docker rather than a VM 2022-01-20 09:18:14 Thanks. I am not that familiar with docker, but a VM is fine. I use XCP-ng and it is easy enough to spin up new VMs from a template. 2022-01-20 09:18:24 https://www.erianna.com/creating-a-alpine-linux-repository/ if you want complete instructions 2022-01-20 09:18:48 Great =) Might be better. I had thought I could simply copy the apk files? 2022-01-20 09:18:56 you can 2022-01-20 09:23:01 But I do like the idea of a local repo :) Thanks for that link. 2022-01-20 10:30:35 How can I get pkg description? for example apk search lm_sensors -d won't print description, just empty line 2022-01-20 10:31:43 aha apk info 2022-01-20 11:05:23 What do people use for service sandboxing with openrc? I'm using bubblewrap atm, when i've used systemd there is the ProtectHome and similar options. Bubblewrap is just a bit verbose when writing services, but works ok. 2022-01-20 11:13:52 there is nothing good, aside from what you are doing yourself 2022-01-20 13:20:13 Hey there! I'm considering self-hosting some services with Alpine, what's packaged that you would recommend for building a server gateway like ngrok or boringproxy? Thanks in advance! 2022-01-20 13:25:39 you can see for yourself: https://pkgs.alpinelinux.org/packages 2022-01-20 13:32:41 I honestly was looking for some recommendations, since I thought boringproxy looked good but it's not available 2022-01-20 13:33:11 sure, I can build and maintain it myself, but then that's the whole work of a repo when it's likely Alpine already comes with something handy 2022-01-20 13:33:28 If you want open source and don't mind using node/npm, try https://theboroer.github.io/localtunnel-www/ 2022-01-20 13:34:51 one can package boringproxy 2022-01-20 13:47:10 e.g. !29773 2022-01-20 13:58:08 how was that packaged so fast 2022-01-20 13:58:09 wow 2022-01-20 13:59:25 not packaged till it's merged 2022-01-20 14:46:23 well that's the bureaucracy part, thanks a lot tho 2022-01-20 14:54:11 Hm 2022-01-20 14:54:26 hello, can anyone help a little with cups+hplip segfaulting to me? 2022-01-20 14:55:06 I borked up my zfs installation qemu wise and I decided to do it again. I removed image and created a new one but when executing echo -e "/dev/sda1: start=1M,size=100M,bootable\n/dev/sda2: start=101M" | sfdisk --quiet --label dos /dev/sda I get: Start sector 2048 out of range. Failed to add #1 partition: Result not representable 2022-01-20 14:55:11 Why is that? 2022-01-20 14:57:47 [ 119.007674] hp[3154]: segfault at 7f00986e7b74 ip 00007f0098c997ed sp 00007ffe3f3f7520 error 6 in ld-musl-x86_64.so.1[7f0098c5c000+48000] 2022-01-20 14:57:47 [ 119.007711] Code: 00 00 00 04 00 00 10 e8 52 ef ff ff 31 d2 4c 89 e6 bf 21 00 00 00 e8 a0 3d ff ff c7 05 2c 48 04 00 01 00 00 00 b8 01 00 00 00 <89> 45 3c f0 83 0c 24 00 e8 aa 1d 00 00 48 39 c5 75 17 8a 45 40 84 2022-01-20 14:58:11 Frantisek S, [20.01.22 13:07] 2022-01-20 14:58:11 D [20/Jan/2022:13:00:11 +0100] [Job 51] Started backend /usr/lib/cups/backend/hp (PID 3385) 2022-01-20 14:58:11 D [20/Jan/2022:13:00:11 +0100] [Job 51] Started filter /usr/lib/cups/filter/hpcups (PID 3384) 2022-01-20 14:58:11 D [20/Jan/2022:13:00:11 +0100] [Job 51] prnt/hpcups/HPCupsFilter.cpp 568: cupsRasterOpen failed, fd = 5 2022-01-20 14:58:11 D [20/Jan/2022:13:00:11 +0100] [Job 51] prnt/backend/hp.c 919: ERROR: null print job total=0 2022-01-20 14:58:13 D [20/Jan/2022:13:00:11 +0100] [Job 51] PID 3384 (/usr/lib/cups/filter/hpcups) stopped with status 1. 2022-01-20 14:58:15 D [20/Jan/2022:13:00:11 +0100] [Job 51] Hint: Try setting the LogLevel to "debug" to find out more. 2022-01-20 14:58:17 D [20/Jan/2022:13:00:11 +0100] [Job 51] PID 3385 (/usr/lib/cups/backend/hp) exited with no errors. 2022-01-20 14:58:19 D [20/Jan/2022:13:00:11 +0100] [Job 51] End of messages 2022-01-20 14:58:21 D [20/Jan/2022:13:00:11 +0100] [Job 51] printer-state=3(idle) 2022-01-20 14:58:23 D [20/Jan/2022:13:00:11 +0100] [Job 51] printer-state-message="Filter failed" 2022-01-20 14:58:25 D [20/Jan/2022:13:00:11 +0100] [Job 51] printer-state-reasons=none 2022-01-20 14:58:27 E [20/Jan/2022:13:03:34 +0100] [cups-driverd] Bad driver information file \"/usr/share/ppd/HP/*.ppd.gz\"! 2022-01-20 14:58:32 E [20/Jan/2022:13:03:40 +0100] [cups-driverd] Bad driver information file \"/usr/share/ppd/HP/*.ppd.gz\"! 2022-01-20 14:58:35 E [20/Jan/2022:13:03:47 +0100] [cups-driverd] Bad driver information file \"/usr/share/ppd/HP/*.ppd.gz\"! 2022-01-20 14:58:38 W [20/Jan/2022:13:04:11 +0100] [Job 51] Backend returned status -11 (crashed) 2022-01-20 14:58:40 W [20/Jan/2022:13:04:39 +0100] [Job 51] Backend returned status -11 (crashed) 2022-01-20 14:58:42 W [20/Jan/2022:13:06:38 +0100] [Job 52] Backend returned status -11 (crashed) 2022-01-20 14:59:59 frojnd: how large is /dev/sda ? (and I'm not sure what units sfdisk uses by default. Maybe remove the --quiet, too :) ) 2022-01-20 15:01:03 koollman: weird, I changed the image size by 1GB and now it works 2022-01-20 15:19:18 So I guess i'm gonna bork the image ... how can I automate process of setting up system in qemu? Like I would like zfs enabled, add some user and install some apps... 2022-01-20 15:24:07 you can do that manually and commit changes with lbu 2022-01-20 15:24:39 lbu? 2022-01-20 15:24:41 then you can load the resulting apkovl file via HTTP with "apkovl=" command line option 2022-01-20 15:24:45 https://wiki.alpinelinux.org/wiki/Alpine_local_backup 2022-01-20 15:47:16 Am trying to commit with `lbu commit` but I get instructions on how to do it. I made sure to export LBU_BACKUPDIR: /home/frojnd/lbu/ so why it won't commit? 2022-01-20 15:51:33 frojnd: perhaps you might find my script interesting, it doesn't (currently) support ZFS however as I've never used it: https://github.com/dermotbradley/create-alpine-disk-image 2022-01-20 16:02:30 I managed to do it by editing /etc/lbu/lbu.conf 2022-01-20 16:30:31 my hosting provider is currently migrating vm's, and my alpine host just stopped. they say, "usually these migrations have no affect on the VMs themselves it appears that there is an issue affecting alpine linux VMs running the virt kernel". just a heads up 2022-01-20 16:32:28 (qemu) 2022-01-20 17:03:49 lopid: sounds like they have no idea what happened 2022-01-20 17:04:13 so you had to restart the VM manually? 2022-01-20 17:11:10 it automatically started back up 2022-01-20 17:11:44 "Unfortunately we haven't been able to reliably reproduce this issue in order to investigate further." 2022-01-20 17:14:34 lopid: I thought the point of KVM migrations was that the VM was not aware of it at all so I don't see how there could be something Alpine-specific happening 2022-01-20 17:15:00 ACTION shrugs 2022-01-20 20:23:44 i have '/dev/vg0/swap swap swap defaults 0 0' at the bottom of my fstab, but it doesnt turn on before i do 'doas swapon /dev/vg0/swap' ... ? 2022-01-20 20:31:37 enable the swap service 2022-01-20 20:34:10 psykose: ah! 2022-01-20 23:03:59 do subpackages always just package different parts of the same build? 2022-01-20 23:04:26 sure 2022-01-20 23:04:35 sometimes build() builds multiple things 2022-01-20 23:04:44 see e.g. emacs 2022-01-20 23:05:57 ok this looks more complex, I'll try understand it thanks 2022-01-21 02:52:04 I added my user to the abuild group and logged out and back in again, now `groups` shows abuild outside of tmux but not inside it, even in new panes. can I fix that without losing my current panes? 2022-01-21 02:52:39 (sorry for the dumb possibly offtopic question, am impatiently waiting for a response in #tmux) 2022-01-21 02:52:49 su or newgrp 2022-01-21 02:53:05 it's slightly less off topic here 2022-01-21 02:53:12 you can use tmux-resurrect to save the layout and restore it later 2022-01-21 02:53:49 but also I'm out now. why don't you google "linux apply groups without logging out" 2022-01-21 04:36:17 thanks, I think I tried something similar a long time ago and it didn't work, but su or newgrp should 2022-01-21 04:38:10 oh dear. can someone temp ban endigma? 2022-01-21 04:56:05 it did! now for an even dumber Q: how do I fix `abuild-fetch: /var/cache/distfiles/snore-0.2 2022-01-21 04:56:07 .tar.gz.lock: Permission denied 2022-01-21 04:59:52 …`? groups says I'm in abuild 2022-01-21 05:12:53 asdflkj: Check that /var/cache/distfiles is writable by your user (either group abuild and group-writable, or owned by your user and user-writable) 2022-01-21 05:57:58 ktprograms: could you check which of those it on your system? (I think newapkbuild messed mine up before aborting when I was dumb and ran it as root) 2022-01-21 05:58:38 nvm, I didn't RTFWiki enough, sorry 2022-01-21 05:58:48 make sure /var/cache/distfiles is in abuild group, you are too, and it's g+s g+w 2022-01-21 05:58:52 and you are fine 2022-01-21 13:31:41 whats the -F option mentioned in busybox cut --help and manpage? "-d SEP Field delimiter for input (default -f TAB, -F run of whitespace)" ... seems -F is not an available option? 2022-01-21 13:32:19 would be nice with easier use of space as delimiter tho.. 2022-01-21 13:51:22 idk if i understand u correctly but u can use space as delimiter? cut -d" " 2022-01-21 13:56:16 Misthios: yes i know that, just confused that documentation mentions -F which doesnt seem to be an available option 2022-01-21 13:56:28 o 2022-01-21 13:56:36 (and that it would use blank as default delimiter iiuc) 2022-01-21 17:53:53 apk info cmd:spell displays aspell, but I don't have a spell command after installing it 2022-01-21 17:54:07 anyone know what's up with that / is there a package that actually provides a spell command? 2022-01-21 18:04:47 bleb: you wanted "apk search cmd:spell" 2022-01-22 01:37:13 Is jemalloc not supported on systems running a kernel with 16K pages? (CONFIG_ARM64_16K_PAGES=y) 2022-01-22 01:38:32 ripgrep sigabrt's with ': Unsupported system page size' and ': Unsupported system page size' 2022-01-22 03:35:15 it could be 2022-01-22 08:11:29 hey there ! I'm trying to have vulkan support on amdgpu. On void there is a vulkan-radeon package. Is there the corresponding on alpine ? 2022-01-22 08:11:40 and or amdvlk 2022-01-22 08:12:44 I'm now running amdgpu but vulkaninfo keep complaining 2022-01-22 08:17:19 I guess mesa-vulkan-ati was the package I needed 2022-01-22 12:31:29 Is there amd radv and amdvlk drivers on alpine ? 2022-01-22 12:32:05 nope 2022-01-22 12:32:23 at least i can't find amdvlk 2022-01-22 12:33:37 radv is part of mesa 2022-01-22 12:34:12 amdvlk might work in theory but i suspect nobody really wants to bother 2022-01-22 12:34:33 although apparently void has it so maybe it's not too bad? 2022-01-22 12:35:26 is it at least possible to run proton games throught flatpak steam ? 2022-01-22 12:35:43 okay so I guess my issues are elsewhere 2022-01-22 12:36:17 i have a million times 2022-01-22 12:36:22 but on intel 2022-01-22 12:36:55 and vulkaninfo works for me 2022-01-22 12:37:09 i would guess just whatever random vulkan packages should work with amd but i can't check that 2022-01-22 12:37:42 vulkaninfo and radeontop works 2022-01-22 12:37:47 so I guess my drivers are fine 2022-01-22 12:37:53 but steam proton games fails to start 2022-01-22 12:38:02 natives games as dota 2 works nicely 2022-01-22 12:38:13 some error output would be nice 2022-01-22 12:38:21 if you run steam from cli you will get console output 2022-01-22 12:38:32 https://paste.sr.ht/~stacyharper/85e12ece40d31db7fc24b96b16b74da72211d806 2022-01-22 12:38:41 for me the only real issues was nofile ulimit 2022-01-22 12:39:23 hm 2022-01-22 12:39:24 steam also re-try to install directx thing on restarts 2022-01-22 12:39:25 no real errors here 2022-01-22 12:39:38 i would try a different proton i guess, but not sure if it changes anything 2022-01-22 12:39:43 i usually use proton-ge 2022-01-22 12:39:46 it has a flatpak package too 2022-01-22 12:39:49 it tries to install vcs things 2022-01-22 12:39:52 oh nice 2022-01-22 12:39:53 lets try this 2022-01-22 12:40:14 restart steam after install, then it should be in compat settings in game properties as an override 2022-01-22 12:40:55 https://img.ayaya.dev/0hAnXf8scibE.png like this 2022-01-22 12:42:03 nice proton-ge seems to works 2022-01-22 12:42:06 the game start 2022-01-22 12:42:23 thanks alot 2022-01-22 12:42:52 neat 2022-01-22 14:01:58 hi, there is an old cve for libtar https://security.alpinelinux.org/srcpkg/libtar which seems fixed on 2014 https://github.com/tklauser/libtar/commit/dcac6905ab8eb251edd1308770c46783de88667a but there is no new release sine 2013 2022-01-22 14:02:52 I tried to patch the cve fix but it gives too many errors 2022-01-22 14:03:41 could be acceptable to just upgrade to the fix commit? 2022-01-22 14:04:23 I'm gonna ask upstream if they can release a new version 2022-01-22 14:44:30 I am alone or mpv got an issue ? ERROR: unable to select packages > so:libplacebo.so.157 2022-01-22 14:44:47 I tried to rebuild mpv agains last verion of libplacebo but it doesnt fixed the issue 2022-01-22 14:45:07 okay, it does, road to gitlab 2022-01-22 14:45:17 yeah, can confirm 2022-01-22 14:45:44 !29752 2022-01-22 14:46:22 !29849 2022-01-22 14:46:39 this clearly had a new soname 2022-01-22 14:46:56 unlucky 2022-01-22 14:47:41 apparently only mpv depends on it 2022-01-22 14:48:26 mhm 2022-01-22 14:49:13 strange, pkgs.a.o does not list mpv as a dependency 2022-01-22 14:50:23 that's really weird 2022-01-22 15:47:18 anyone got steam controller working on ble mode (bluetooth) ? It pair but no control on sway. It works perfectly when connected over usb. Do we need a specific bluez subpackage ? 2022-01-22 15:48:51 i dunno, ime it just works whyen paired 2022-01-22 15:57:44 psykose: nah I cant make it to works :( do you have any specific libinput or bluez subpackage ? 2022-01-22 15:58:03 nope 2022-01-22 15:58:17 i would assume the specific device is just not supported, but i have no idea 2022-01-22 15:58:38 the one i normally use pairs as an xbox controller and so uses xinput 2022-01-22 15:58:49 you can look around on google for the model and maybe find something 2022-01-22 15:59:56 I had it working on voidlinux and the same bluetooth dongle 2022-01-22 16:00:11 either a regression or a package I need to findout 2022-01-22 18:05:35 Ariadne: I managed to fix the issues with https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/29182 :) 2022-01-22 19:42:54 Hi there 2022-01-22 19:43:59 I just installed alpine on baraemetal. And I don't know how to set clock correctly. Am using sway and clock is 1h off... 2022-01-22 19:44:02 Any ideas? 2022-01-22 19:44:51 did you set /etc/localtime to the timezone you want 2022-01-22 19:44:52 If it's 1h off, it might be the a different timezone 2022-01-22 19:45:05 e.g. /etc/localtime -> /etc/zoneinfo/... with a symlink 2022-01-22 19:45:13 psykose: at installation I chose NTP 2022-01-22 19:45:18 that's not a timezone 2022-01-22 19:45:22 you still need to set a timezone 2022-01-22 19:45:24 that's just setting the clock itself 2022-01-22 19:45:27 Aha ok 2022-01-22 19:45:28 tz adds offsets 2022-01-22 19:45:44 ln -sfv /etc/zoneinfo/...yourtz /etc/localtime 2022-01-22 19:45:47 but "ntp" "slews" the time, where "chrony" can do a full step 2022-01-22 19:45:48 look through them 2022-01-22 19:45:52 ntp makes sure the utc time is correct, the timezone makes sure it shows the time in your local timezoine 2022-01-22 19:46:04 Gotcha 2022-01-22 19:46:16 setup-timezone also does it, but you need to know the name 2022-01-22 19:46:28 e.g. Europe/something or whatever, they are specific 2022-01-22 19:46:47 just walking the directory should give you something 2022-01-22 19:46:54 or you can tell me your country and i will tell you 2022-01-22 19:47:16 nangel: 'full step'? 2022-01-22 19:47:32 j`ey: change it in one go, instead of slowly adjsuting it 2022-01-22 19:47:36 setup-timezone did the job. 2022-01-22 19:47:43 awesome 2022-01-22 19:47:45 nice 2022-01-22 19:47:49 ikke: I see, so chrony just runs on boot or? 2022-01-22 19:47:54 chrony is a service 2022-01-22 19:48:00 a daemon that keeps running 2022-01-22 19:48:16 I need something for my time too, Im just setting it on boot manually, heh 2022-01-22 19:48:17 But you can set it up to adjust it right away when it starts 2022-01-22 19:48:35 you can also say that it only does that if the time is offset by more then x seconds 2022-01-22 19:48:40 what's the practical/user difference between chrony/ntp then? 2022-01-22 19:49:08 personally I like that chrony has a cli component that you can use to interact with it 2022-01-22 19:49:22 in "setup-alpine" you are asked for several choices for a time server. 2022-01-22 19:49:45 chrony is the default 2022-01-22 19:49:57 chrony was originally written for people with dial-up internet - where you could get time from well known NTP servers 2022-01-22 19:50:09 if chrony is the default, I'll install that next time 2022-01-22 19:50:23 And you could set it in off-line mode 2022-01-22 19:50:33 the main difference as far as usage is chrony blocks until set on start, busybox ntpd does not 2022-01-22 19:50:35 chrony can act as an ntp _server_ as well 2022-01-22 19:50:44 this is useful on shitty hardware where every boot has like 1990 2022-01-22 19:50:51 and then chrony knows how to keep track of "real time" when your computer is not connected to the internet, or off. 2022-01-22 19:50:52 but you can also adjust ntpd to do the same 2022-01-22 19:50:55 aside from that, shrug 2022-01-22 19:51:10 psykose: blocks as in, causes the boot to hang until it sets the time? 2022-01-22 19:51:18 psykose: +1 2022-01-22 19:51:19 yes, the runlevel will block 2022-01-22 19:51:37 so you start it at boot along with networking, and then it won't proceed to ur default services till time is correct 2022-01-22 19:51:38 useful 2022-01-22 19:51:55 there's no RTC driver for the platform im on currently, so I get the 1970 dates 2022-01-22 19:52:19 yup 2022-01-22 19:52:27 the rpi4 give me something similar, but like 3 months back or something 2022-01-22 19:52:54 there are things to save/load time on restart too 2022-01-22 19:53:05 but really if you have networking.. easier to just block on ntpd 2022-01-22 19:55:04 seems not ideal for a laptop 2022-01-22 19:56:03 then use chrony. Its written for that use case. 2022-01-22 19:56:51 No good choices... just which of the bad choices you can deal with. :) 2022-01-22 19:57:34 psykose and ikke are 100% correct, btw. 2022-01-22 20:00:21 but they said chrony blocks (maybe its configurable?) which wont be good if you want to use the laptop in a place without internet! 2022-01-22 20:01:49 then set the config to not do that 2022-01-22 20:01:59 or use the other.. they both have some level of config 2022-01-22 20:02:28 yup, will try it out soon(tm) 2022-01-22 20:57:01 chrony has a lot more functionality than Busybox's ntp - e.g. it support NTS 2022-01-22 20:59:12 psykose: with RPIs OpenRC "touches" a file as one of the last things it does during shutdown and this file's date/time is read and used to set the clock on next boot - so in the case of a reboot the clock will only be 30secs/1min wrong whereas when you said "but like 3 months back or something" that sounds like a RPI you shutdown and then didn't boot for a while so that's why the date/time was so wrong 2022-01-22 20:59:48 no, it happens on any reboot 2022-01-22 21:00:13 i had merely forgotten to set swclock or something 2022-01-22 21:00:20 psykose: you are talking about the "clock skew" messages? 2022-01-22 21:00:56 the 'everything is in the wrong time 2022-01-22 21:02:22 "clock skew" messages appear on console during boot of a RPI as first the date/time defaults to 1970, then OpenRC sets the date/time to that of the file I mentioned, which is the 1st skew, and then eventually if NTP is setup the date/time changes again once NTP sync occurs 2022-01-22 21:03:11 psykose: I'm assuming you have /etc/init.d/swclock enabled which I believe the Alpine RPI SDcard image does so 2022-01-22 21:04:26 i did not have it enabled at the time 2022-01-22 21:04:39 and i don't use the rpi image 2022-01-22 21:04:48 already solve'd 2022-01-22 21:05:14 and i know what clock skew is 2022-01-22 21:05:47 psykose: ah,, that explains it - you should enable the swclock init.d service if you want the clock to be set to date/time of last shutdown 2022-01-22 21:05:53 yep 2022-01-22 21:06:07 though realistically it changes nothing if everything waits for chrony 2022-01-22 21:06:15 and it is now 2022-01-22 21:06:29 by "clock skew" I was referring specifically to the OpenRC messages during boot/shutdown rather than the general principle of clock skew 2022-01-22 21:07:27 psykose: just don't enable NTS in chrony lol 2022-01-22 21:07:47 i want the time to be synced 2022-01-22 21:08:17 I don't see the connection with what I just said 2022-01-22 21:08:27 idk what you mean by don't enable nts 2022-01-22 21:08:53 or how it relates to setting the time 2022-01-22 21:09:03 NTS is a newer form of NTP - it uses authentication which relies on certs 2022-01-22 21:09:07 yes 2022-01-22 21:09:23 but if your local clock is wrong then cert stuff in general won't work 2022-01-22 21:09:27 How do you validate certs if your date is wrong? 2022-01-22 21:09:38 is the default chrony config to validate nts 2022-01-22 21:09:38 oh lol 2022-01-22 21:09:49 ikke: that's exactly the point I was making :-) 2022-01-22 21:10:00 same with DNSSEC and DoH/DoT 2022-01-22 21:10:18 they all rely on a reasonably accurate clock 2022-01-22 21:10:22 yea 2022-01-22 21:11:08 also don't enable TOTP for SSH on a RPI and then try and SSH in if the clock is wrong :-) 2022-01-22 21:11:16 eh 2022-01-22 21:11:24 heh, nice way to lock yourself out 2022-01-22 21:11:32 TOTP codes change every 30secs by default 2022-01-22 21:11:59 It does allow for some clock skew most of the time 2022-01-22 21:12:50 usually most places let 1 code either side of the current one work also - but that's not going to work if the system's clock is days/weeks/years wrong 2022-01-22 21:12:58 nope 2022-01-22 21:13:13 Then it's a guessing game: what time would my PI think it is 2022-01-22 21:13:20 1970 :-) 2022-01-22 21:13:50 won't what was Number 1 in the charts on Unix time 0 lol 2022-01-22 21:13:58 s/won't/wonder/ 2022-01-22 21:13:58 minimal meant to say: wonder what was Number 1 in the charts on Unix time 0 lol 2022-01-22 22:04:08 anyone got openbox working? I copied /etc/xdg/openbox/rc.xml to $HOME/.config/openbox/rc.xml, and changed all 'sans' to 'monospace', but I get no text, just square glyphs 2022-01-22 22:05:09 do you have fonts installed? 2022-01-22 22:06:04 I have some in /usr/share/fonts/misc 2022-01-22 22:11:47 j`ey: is good to define monospace/sans/serif/sans serif families by self with own .config/fontconfig/fonts.conf 2022-01-22 22:12:51 j`ey: and in "mis" you probably got bitmap fonts which since year or two doesnt work with pango, need regenerate them to different supported format 2022-01-22 22:13:03 misc* 2022-01-22 22:13:07 oh 2022-01-22 22:14:15 I think dejavu fonts are kind of default and for example firefox will use them automaticly 2022-01-22 22:14:47 or most probably cus it will create default rules... 2022-01-22 22:14:51 god I hate pango 2022-01-22 22:15:01 ok fc-match sans gives a pcf, which pango dosent support, as you said 2022-01-22 22:15:01 for killing bitmap fonts 2022-01-22 22:15:08 j`ey: yep 2022-01-22 22:15:39 bdju: agree but still can use them 2022-01-22 22:16:10 fc-list only lists misc fonts, even though I have /usr/share/fonts/ttf-dejavu 2022-01-22 22:16:43 j`ey: that is weir, try run as user: fc-cache -r -f -v 2022-01-22 22:17:30 I remember time ago some people didnt have access to font dirs, dunno what caused it 2022-01-22 22:18:38 hm, I wonder how I got dejavu, apk info -W /usr/share/fonts/ttf-dejavu, says noone owns it 2022-01-22 22:19:01 time ago firefox was installing it 2022-01-22 22:19:03 ACTION reinstalls ttf 2022-01-22 22:19:09 now maybe some xorg meta package or something 2022-01-22 22:19:45 works now 2022-01-22 22:20:16 ty MY-R 2022-01-22 22:20:37 oh, np if I help :P 2022-01-22 22:22:26 I've not delved into the conversion thing, but I changed terminal emulators to avoid pango so I could use bitmaps again 2022-01-22 22:22:28 j`ey: still, is nice to create some simple config so in every app can just set font name family and after if wanna change font then can edit that file 2022-01-22 22:22:32 j`ey: https://tpaste.us/dPql 2022-01-22 22:23:06 bdju: check above link what I did with Terminus font to have it back again :) 2022-01-22 22:23:23 MY-R: I'll check it out 2022-01-22 22:23:32 bdju: what emulator do you use now? 2022-01-22 22:23:56 in short just need convert it to .otb format and will work :) 2022-01-22 22:31:20 j`ey: I uhed alacritty for a whole, now I use foot 2022-01-22 22:31:29 s/uhed/used 2022-01-22 22:31:29 bdju meant to say: j`ey: I used alacritty for a whole, now I use foot 2022-01-22 22:31:33 ah nice 2022-01-22 23:00:22 jvoisin: done :) 2022-01-22 23:01:02 Ariadne: thank you very much :) 2022-01-23 07:57:08 Hello 2022-01-23 10:22:13 hey there. first time alpine user here. I'm trying to install alpine on a Raspberrypi Zero 2 W, following the wiki page, but I get stuck on the dreaded "rainbow screen". SD card is freshly partitionned and formated, and the pi works with raspbian. 2022-01-23 10:23:37 on boot, the led blinks twice. 2022-01-23 10:31:49 i'm using the armhf image btw 2022-01-23 10:38:05 ok, at least with aarch64 I get 7 flashes, "kernel image not found" 2022-01-23 10:41:43 alright, it boots after modifying usercfg.txt. Am I in uncharted territory with a pi zero 2 W and alpine ? 2022-01-23 10:44:20 probably, yes 2022-01-23 11:46:58 hi 2022-01-23 11:47:05 does alpine linux uses xterm ? 2022-01-23 11:47:53 enlight: It's a package that is available 2022-01-23 11:48:14 https://pkgs.alpinelinux.org/packages?name=xterm&branch=v3.15&arch=x86_64 2022-01-23 11:55:06 then what terminal emulator alpine uses by default ? 2022-01-23 11:55:19 there is no default 2022-01-23 11:55:20 enlight: what have you installed? 2022-01-23 11:55:27 i have installed nothing 2022-01-23 11:55:45 then install something 2022-01-23 11:55:47 wdym no default, terminal emulator runs the shell by default 2022-01-23 11:55:59 so there must be some terminal emulator running beneath the shell 2022-01-23 11:56:11 in xorg? 2022-01-23 11:56:38 by 'default' you are in a framebuffer where there is no terminal emulator 2022-01-23 11:56:41 add whatever you want 2022-01-23 11:56:52 no 2022-01-23 11:56:54 there is no gui 2022-01-23 11:57:04 at console? 2022-01-23 11:57:16 yes 2022-01-23 11:57:28 so you mean what shell is the default? 2022-01-23 11:57:30 thats ash 2022-01-23 11:57:37 agetty? 2022-01-23 11:57:38 i installed alpine linux from "miniroot file system package" 2022-01-23 11:57:46 my ash shell is default 2022-01-23 11:57:57 but a shell needs a terminal emulator to run. 2022-01-23 11:58:12 no 2022-01-23 11:58:12 no it doesn't 2022-01-23 11:58:13 no it doesn't 2022-01-23 11:58:30 example: " xterm is the standard terminal emulator for the X Window System. It allows users to run programs which require a command-line interface. If no particular program is specified, xterm runs the user's shell" 2022-01-23 11:58:49 a terminal emulator does run a shell, but a shell does not require one 2022-01-23 11:58:56 tell us what the problem is, rather than asking why a random solution you've chosen doesn't work 2022-01-23 11:58:58 by default you are not in the x window system so this has no relevance 2022-01-23 11:59:34 When you ssh into a server, there is no terminal emulator, but there is a shell 2022-01-23 11:59:47 so the shell is directly running 2022-01-23 12:00:03 There is a pseudo-terminal involved (pty) 2022-01-23 12:00:18 ah pty 2022-01-23 12:00:24 someone said framebuffer before 2022-01-23 12:02:05 ttys interact with a framebuffer 2022-01-23 12:02:26 hM, has pty really something to do or it is just an file representation of the pseudo terminal? 2022-01-23 12:02:27 framebuffer is just the bit you can see 2022-01-23 12:02:49 https://www.linusakesson.net/programming/tty/index.php 2022-01-23 12:03:25 pty , i found, is software implementation, like when you do ls in ssh, it transfers over pty 2022-01-23 12:03:42 ls /dev 2022-01-23 12:03:43 bsg loop4 ram11 sda tty14 tty28 tty41 tty55 ttyS2 2022-01-23 12:03:43 autofs loop2 ram1 random tty12 tty26 tty4 tty53 ttyS0 2022-01-23 12:03:43 btrfs-control loop5 ram12 sdb tty15 tty29 tty42 tty56 ttyS3 2022-01-23 12:03:43 block loop3 ram10 rtc0 tty13 tty27 tty40 tty54 ttyS1 2022-01-23 12:03:43 bus loop6 ram13 sg0 tty16 tty3 tty43 tty57 urandom 2022-01-23 12:03:45 cpu_dma_latency mapper ram15 shm tty18 tty31 tty45 tty59 vcs1 2022-01-23 12:03:45 console loop7 ram14 sg1 tty17 tty30 tty44 tty58 vcs 2022-01-23 12:03:47 cuse mem ram2 stderr tty19 tty32 tty46 tty6 vcsa 2022-01-23 12:03:47 fd net ram3 stdin tty2 tty33 tty47 tty60 vcsa1 2022-01-23 12:03:49 full null ram4 stdout tty20 tty34 tty48 tty61 vcsu 2022-01-23 12:03:49 fuse nvram ram5 tty tty21 tty35 tty49 tty62 vcsu1 2022-01-23 12:03:51 kmsg ppp ram6 tty0 tty22 tty36 tty5 tty63 vfio 2022-01-23 12:03:51 loop-control ptmx ram7 tty1 tty23 tty37 tty50 tty7 vhost-net 2022-01-23 12:03:53 loop0 pts ram8 tty10 tty24 tty38 tty51 tty8 vsock 2022-01-23 12:03:53 loop1 ram0 ram9 tty11 tty25 tty39 tty52 tty9 zero 2022-01-23 12:03:55 Please don't paste large output here 2022-01-23 12:03:56 why there are so many tty ? 2022-01-23 12:05:41 what is the purpose of terminal emulator if one can run shell directly ? 2022-01-23 12:05:55 i understand terminal multiplexer is different than terminal emulator 2022-01-23 12:07:58 enlight: do you mean a terminal emulator like xterm? 2022-01-23 12:08:31 yes 2022-01-23 12:09:30 well, they provide you a way for interact with the shell on an X system (it draws a window, title, the fonts, etc..) 2022-01-23 12:09:56 ah, and tmux is for non-gui ? 2022-01-23 12:10:24 tmux is a terminal multiplexer, like screen 2022-01-23 12:10:32 yes ik 2022-01-23 12:10:38 it has no relation with gui but you can use it also 2022-01-23 12:10:44 I use it for all my terminals 2022-01-23 12:10:49 if X/wayland crashes 2022-01-23 12:10:58 all my terminal process still running 2022-01-23 12:11:11 if I ssh from other computer, I can easy get any terminal already opened 2022-01-23 12:11:22 https://gnome-terminator.org/assets/images/terminator-vim-shells-dark-1.png 2022-01-23 12:11:44 this is terminal emulator, they can create multiple windows like tmux so i was saying in that sense 2022-01-23 12:12:00 tmux is for cli/non-gui 2022-01-23 12:12:06 but is not the same, multiple windows than terminals mutliplexed 2022-01-23 12:12:08 But if you terminate the interface, you loose them 2022-01-23 12:12:14 with tmus you can even see the same terminal in different windwos 2022-01-23 12:12:18 s/tmus/tmux 2022-01-23 12:12:18 donoban meant to say: with tmux you can even see the same terminal in different windwos 2022-01-23 12:12:43 ah 2022-01-23 12:12:58 maybe it's easy to understand if you test it 2022-01-23 12:13:16 also, in tmux, i can create split screen, then if i create 2-3 split screen, why it doesn't show in status bar like new tabs 2022-01-23 12:13:27 And with tmux, you can have many sessions 2022-01-23 12:13:40 So I have typically 1 or 2 terminals open 2022-01-23 12:13:41 what you mean by tab ? 2022-01-23 12:13:46 and then switch sessions 2022-01-23 12:13:54 tmux command- ctrl + b then c 2022-01-23 12:14:04 it creates new tab 2022-01-23 12:14:11 in tmux terminoly that are windwos 2022-01-23 12:14:14 if I'm not wrong 2022-01-23 12:14:40 you create mutiple windows, then in case of split screen, if i create 3 splitted screen, those are not windows ? 2022-01-23 12:14:50 those are called panes 2022-01-23 12:14:51 because im able to run 3 diff. prog in them 2022-01-23 12:14:56 panes 2022-01-23 12:14:58 windows consists of one or more panes 2022-01-23 12:15:09 ah 2022-01-23 12:15:11 cool 2022-01-23 12:15:27 but i have no use of sessions in tmux because im on physical device not on server 2022-01-23 12:15:40 so when i shut it down, all sessions are lost, maybe it is for remote task 2022-01-23 12:16:02 If you x session crashes for some reason, your tmux sessions still survive 2022-01-23 12:16:17 i don't use gui so no x session installed 2022-01-23 12:17:33 also, do you know mpv - https://mpv.io 2022-01-23 12:18:21 it is a media player for the command line, how does it work i.e. able to play media in command line without using X window system ? 2022-01-23 12:18:50 afaik it needs a graphical interface 2022-01-23 12:19:10 it uses framebuffer ? 2022-01-23 12:19:16 Yeah, I see 2022-01-23 12:20:21 does x window system uses framebuffer under the hood ? 2022-01-23 12:24:18 http://dri.sourceforge.net/doc/DRIbeginner.html 2022-01-23 12:56:17 issue with php8-fpm: /etc/init.d/php-fpm8 says one can symlink to it, in order to have a new service that uses a separate master process. this automatically loads a likewise named /etc/php8/php-fpm.d conf file. however, /etc/php8/php-fpm.conf loads all files in /etc/php8/php-fpm.d, which are loaded when one starts the php-fpm8 service. your new service's conf file should not be 2022-01-23 12:56:19 loaded when you start php-fpm8. a workaround is to edit /etc/php8/php-fpm8.conf to not load *.conf. a solution might be to have /etc/init.d/php-fpm8 look in a different location for your new master process's conf file 2022-01-23 13:01:04 you shouldn't start php-fpm8 yourself pretty sure 2022-01-23 13:01:18 just the linked one that is your actual application 2022-01-23 13:01:37 i.e. no `service php-fpm8 start` 2022-01-23 13:02:49 unless you actually have a generic php-fpm8 that you need to start 2022-01-23 13:03:13 hence "separate master process" 2022-01-23 13:24:17 hey, why there is no /dev/fb0 2022-01-23 13:35:20 It does exist for me 2022-01-23 14:26:01 HELO 2022-01-23 20:00:30 is there a way to LD_PRELOAD a .so globally in Alpine? 2022-01-23 20:01:21 mh, /etc/ld-musl-$(ARCH).path likely, thanks! 2022-01-23 21:59:59 How does one write openrc service that just runs some shell commands in a start() function? Is that possible? I've tried it but not it seems to be stuck (start, restart) in `.. is already starting` or (stop) in `stopped by something else`. Any tips? 2022-01-23 22:00:10 can cryptsetup encrypt a file/folder or only devices? 2022-01-23 22:01:14 graywolf: look at the local service 2022-01-23 22:01:54 frag: as far as I know only entire volumes / partitions 2022-01-23 22:02:13 ikke: That allows me to just drop scripts into /etc/local.d right? Can I use ebegin and friends from there? The script is supposed to have user visible output.. 2022-01-23 22:02:42 That does not seem like a service to me 2022-01-23 22:02:49 frag: look at ecryptfs, that is what I've used when I had a use case for directory-level encryption 2022-01-23 22:02:49 which is something that runs in the background 2022-01-23 22:03:14 ebegin and friends are meant for status messages 2022-01-23 22:03:50 ikke: Hm, maybe use are right: So to restate my use case: I want to check some preconditions on a booting system and give green/red feedback during boot onto the console depending on the result 2022-01-23 22:04:00 s/use/you/ 2022-01-23 22:04:00 graywolf meant to say: ikke: Hm, maybe you are right: So to restate my use case: I want to check some preconditions on a booting system and give green/red feedback during boot onto the console depending on the result 2022-01-23 22:04:23 Doesn't sound like a service to me 2022-01-23 22:04:43 but you might hack around openrc to get what you want 2022-01-23 22:04:59 ikke: Sure, I'm open to suggestions how to do it in different ways :) it does not have to be openrc service 2022-01-23 22:05:15 also, do people consider that bot useful? 2022-01-23 22:05:38 graywolf: I have no idea :) 2022-01-23 22:06:11 Fair enough :D Thanks anyway :) hmm, since it is single use system, maybe I'll just stash it into login script 2022-01-23 22:06:12 graywolf: yeah i used that too, but wanted to swith 100% to cryptsetup :] 2022-01-23 22:06:48 frag: out of curiosity, what is the use case for directory-level encryption when already using block level one? 2022-01-23 22:07:27 technically you could use loopback device I guess? basically luksOpen some raw file, mkfs it and mount, that would kinda give you cryptsetup for file/directory 2022-01-23 22:10:57 graywolf: hmm yeah was wondering that myself, BUT i guess if its on an open device connected to the internet i guess it would add extra security for the encrypted not opened 2022-01-23 22:12:53 if it's not usually opened, then yeah, I do see why it could be more safe 2022-01-23 22:13:11 graywolf: one example - on a running systems using LUKS if someone gets privs then they could look at contents of various users' dhome directories. If home dirs are also individually encrypted (i.e. fscrypt, gocryptfs) then only the home dirs of currently logged-in user's would be accessible to priv'ed user 2022-01-23 22:14:16 its an additional level of " encryption segmentation" 2022-01-23 22:14:43 minimal: I wonder how many systems are truly multiuser these days; I guess my home multimedia system kind of qualifies? But that is it for my (and my wife's devices). 2022-01-23 22:19:24 graywolf: I assume desktops/laptops are generally single user. Servers however I still expect to be multi-user (as in separate user accounts in use, even if by the same person for different tasks) 2022-01-23 22:21:45 Yeah, you would think so, right? I mean, no one could design a system where everyone just ssh root@... to all servers.. 2022-01-23 22:21:56 That reminds me, tomorrow is Monday so I have to work again :/ 2022-01-23 22:58:51 windows is muti user 2022-01-23 23:14:09 graywolf: using (short) passwords rather than keys too? ;-) 2022-01-24 08:22:13 Hey all, is anyone having issues with wireguard at the moment? For some reason my connection isn't working even though everything seems to be set up correctly 2022-01-24 08:22:26 It was working a few days ago too 2022-01-24 08:51:19 Found the issue, it was a small typo D: 2022-01-24 09:16:09 make a big typo next time 2022-01-24 09:47:21 hey, would there be a way of creating a socket from alpine's busybox shell that you could then feed into it's ssl_client? on upstream `busybox ssl_client` you could get away with two fifos, but I'm currently stuck on achieving the same in alpine 2022-01-24 10:08:45 weird question but does anyone know if the fifos generated from `mkfifo` changed between 3.14 and 3.15? https://github.com/francma/wob used to work smoothly on 3.14 but now it lags on 3.15 2022-01-24 11:33:10 gjabell: that would be entirely a kernel difference 2022-01-24 11:39:40 yeah that's what I figured, was wondering if anyone knows why that would happen though 2022-01-24 11:40:04 easiest way to test... downgrade to 3.14, ensure it's fast again, then add only the new kernel from 3.15 2022-01-24 11:40:16 if not that then it's something else 2022-01-24 11:42:49 it's also 0.11/0.12 between the two itself 2022-01-24 11:43:13 and the 0.12 release note claims it 'fixes sandbox on musl libc' 2022-01-24 11:43:48 but you would know more than me 2022-01-24 11:55:19 hmm yeah I'll try downgrading, I think I already checked the app versions and it didn't seem to change but I should double check 2022-01-24 12:17:00 What's the proper way to enforce a password policy in alpine? 2022-01-24 12:18:08 I suppose it uses pam but in Rhel you use /etc/security/pwquality.conf and in debian-like /etc/pam.d/common-password. Where should I do it? 2022-01-24 15:31:43 alpine doesn't use pam by default 2022-01-24 15:32:36 libpwquality does place an /etc/security/pwquality.conf, but i'm not sure if the default pam config will use this 2022-01-24 15:32:56 and for pam logins you need either shadow-login or util-linux-login 2022-01-24 15:33:38 Hello71: does it use some equivalent? 2022-01-24 15:33:58 psykose: thanks! will try it to see how it would work 2022-01-24 15:54:26 anyone using podman on alpinelinux? 2022-01-24 15:55:02 for some reason i see this error: 2022-01-24 15:55:02 > WARN[0000] "/" is not a shared mount, this could cause issues or missing mounts with rootless containers 2022-01-24 16:00:48 libpwquality does provide a pam_pwquality module but you'd have to reference this in your PAM configure files (once installing linux-pam and other appropriate packages as mentioned by psykose) 2022-01-24 16:26:09 hmm i think that error might be caused because i am using alpine linux diskless 2022-01-24 16:26:34 https://github.com/containers/podman/issues/12136#issuecomment-954580443 mentioned "mount --make-rshared /" 2022-01-24 16:26:38 and that seemed to fix it 2022-01-24 16:27:00 does "mount --make-rshared /" have any implications for alpinelinux? 2022-01-24 16:31:56 there is some info on 'man mount' Shared subtree operations 2022-01-24 16:39:54 i wonder if that option is actually even changable on alpinelinux 2022-01-24 16:40:15 like if i wanted to make root mount with `--make-rshared` all the time 2022-01-24 16:55:19 maybe you need to hack something on initfs, could it be defined on fstab? 2022-01-24 16:59:40 dngray[m]1: mabe you can set up using rootflags 2022-01-24 18:00:01 With last sway upgrade I experiment the same problem, with no suid sway segfaults regardless I have seatd running and I'm on seat group 2022-01-24 18:01:16 enabling suid it works nice, it complains about my locale es_ES.utf8 altought it is supposed to change running it with suid? 2022-01-24 18:01:39 here is a strace of it crashing http://ix.io/3Npf 2022-01-24 19:16:02 I saw that the post-install doc on the user handbook is still using sudo as reference. I can prepare a patch to update to use doas if it makes sense to do so 2022-01-24 19:17:44 no :( 2022-01-24 19:19:49 it does, sure 2022-01-24 19:21:33 nice! 2022-01-24 19:32:32 also, does #alpine-docs is a thing? 2022-01-24 19:32:42 or should the discussions and whatnot take place here 2022-01-24 19:34:23 ye 2022-01-24 21:45:30 Hi all, I try to run a 32bits app on alpine over 64bits (docker) but I get "sh: ./foo: not found", when I use ldd I get "/lib/ld-musl-x86_64.so.1: foo: Not a valid dynamic program", I try on debian (docker) and installing gcc-multilibs work fine but the image is very hevy concidering the app size, because that I want to run that on alpine, exist any way to run the app on similar form as debian?, thanks in advance. 2022-01-24 21:47:19 docker run --entrypoint linux32 --platform linux/i386 -it --rm alpine:3.15 2022-01-24 21:47:20 or something 2022-01-24 21:54:43 I try with --platform but the problem is the same, inclusive sthe command how a warning about the host architecture "WARNING: image with reference alpine was found but does not match the specified platform: wanted linux/386, actual: linux/amd64" 2022-01-24 21:55:14 logically is correct 2022-01-24 21:57:39 in my mind the idea is install something like 386 support like debian, but I dont find any similar, or maybe simplelly I can't do on alpine 2022-01-24 22:44:06 docker run i386/alpine 2022-01-25 07:41:10 Afaik --platform is more future proof 2022-01-25 08:47:33 New architectures like riscv64 do not get a repo namespace anymore (riscv64/* is used by Debian) 2022-01-25 09:14:18 hmz 2022-01-25 09:26:44 is there a way to set iptables on alpinelinux not to be legacy? 2022-01-25 09:27:19 what do you mean by that? 2022-01-25 09:28:04 ie to use iptables-nft by default 2022-01-25 09:28:31 Try `iptables -h' or 'iptables --help' for more information. 2022-01-25 09:28:31 iptables v1.8.7 (legacy): no command specified 2022-01-25 09:28:31 $ iptables 2022-01-25 09:28:34 for example 2022-01-25 09:28:43 oh, i see 2022-01-25 09:29:01 instead of 2022-01-25 09:29:02 iptables v1.8.7 (nf_tables): no command specified 2022-01-25 09:29:02 Try `iptables -h' or 'iptables --help' for more information. 2022-01-25 09:29:02 $ iptables-nft 2022-01-25 09:29:32 mine links to xtables-legacy-multi, i guess you can link to xtables-nft-multi 2022-01-25 09:29:48 i asked 8 months ago https://lists.alpinelinux.org/~alpine/users/%3C20210515133248.txheslwbqlzxzecn%40disroot.org%3E but nobody had an answer 2022-01-25 10:50:59 Alpine gives me headache :| 2022-01-25 10:51:32 probably because you ask it to hold zombies all the time 2022-01-25 10:56:02 well no.. i killed the zombies! 2022-01-25 11:18:38 i can't get wireguard to work even if my life depends on it :| 2022-01-25 11:24:03 then you should make a will 2022-01-25 11:33:08 hmm this mentions https://rancher.com/docs/k3s/latest/en/advanced/#additional-preparation-for-alpine-linux-setup 2022-01-25 11:33:17 but i found my diskless version of alpinelinux used grub not syslinux 2022-01-25 11:34:12 maybe i edit /media/sdi1/boot/grub/grub.cfg 2022-01-25 14:33:27 hello o/ which package is the ip command in? 2022-01-25 14:35:30 https://pkgs.alpinelinux.org/contents?file=ip&path=&name=&branch=edge 2022-01-25 14:36:45 or apk search cmd:ip 2022-01-25 14:39:32 'apk info cmd:ip' seems more accurattely 2022-01-25 14:44:11 does that search through non-installed packages as well? 2022-01-25 14:44:13 "i can't get wireguard to work..." <- how is that even possible 2022-01-25 14:44:33 PureTryOut: yes 2022-01-25 14:44:56 interesting. then what is the point of also having apk search? 2022-01-25 14:45:16 apk search cmd: doesn't actually find all of them 2022-01-25 14:45:17 but info does 2022-01-25 14:45:20 hah 2022-01-25 14:45:50 that doesn't explain the point of having apk search, only of having apk info lol 2022-01-25 14:46:12 aside from that search is substring for pkgdesc too 2022-01-25 14:46:15 to my knowledge 2022-01-25 14:46:45 PureTryOut (matrix.org): https://wiki.alpinelinux.org/wiki/Package_management#Overview 2022-01-25 14:46:59 search matches against wildcards, info doesn't 2022-01-25 14:47:22 ah, confusing 2022-01-25 14:47:39 so with cmd:xxx does it matches commands on that package? 2022-01-25 14:48:41 I don't want to be a dick but instead of pontificating how stuff might work, you could read the documentation 2022-01-25 14:50:31 hhmm, I was just surprised with search beacuase always saw info. Not really very interested on it :\ 2022-01-25 14:51:28 wiki is hardly a 'documentation' 2022-01-25 14:53:39 man pages, help output... 2022-01-25 14:53:55 lots of options 2022-01-25 15:37:08 somehow info cmd doesnt return subpackages 2022-01-25 15:38:12 command "mtr" 2022-01-25 15:43:44 the only provider for cmd:mtr is mtr so that seems correct 2022-01-25 15:46:12 psykose: ah ye, forgot that mtr with gtk support got changed bin name 2022-01-25 15:46:32 Hi, i installed alpine on an sd card with a raspi 4b and noticed that the system is running at 600mhz permanently. Official Raspberry Pi OS scales frequency depending on workload. Is there documentation on how to enable it or is it a bug? 2022-01-25 15:48:34 mfg: you can set your default governon manualy with /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor or use "cpupower" package 2022-01-25 15:49:10 mfg: and if I remember correctly default is schedutil which somehow doesnt play good with rpi4 2022-01-25 15:49:15 thx, i will try that :) 2022-01-25 15:49:49 mfg: echo ondemand | tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor 2022-01-25 15:50:23 is there a startup script or config where i can set this permanently? 2022-01-25 15:50:28 and with "cpupower" you can check /etc/conf.d/cpupower and then add/start service 2022-01-25 15:50:37 ah, thx :D 2022-01-25 15:51:26 with cpupower you will have service or can pass command above to /etc/local.d/somefile and be sure that got enabled service "local" 2022-01-25 15:51:56 mfg: cat /etc/local.d/README 2022-01-25 15:53:53 MY-R: thx for your help, now it works as it should :) 2022-01-25 15:54:19 mfg: you are welcome :) 2022-01-25 16:23:02 I know this has been asked many times but here it goes: How can I modify default iso or how can I automate installing of alpine and then also post installation process? 2022-01-25 16:23:59 I would like to automate as much as possible like installing zfs at installing process and in post installation like adding new user, installing additional packages, config files etc. 2022-01-25 16:32:51 as for the custom iso, i guess it is: https://wiki.alpinelinux.org/wiki/How_to_make_a_custom_ISO_image_with_mkimage 2022-01-25 16:33:29 i don't know how to run post installation scripts or something similar 2022-01-25 17:57:22 frojnd: for post-install automation there are things like cloud-init, puppet/ansible/salt 2022-01-25 18:35:28 Thank you mfg minimal 2022-01-25 18:35:46 how do i build multiple packages with abuild? also is there some kind of manifest i can create which lists all packages i want to create myself and feed that into abuild? 2022-01-25 18:36:18 mfg: no, abuild itself just builds a single package 2022-01-25 18:36:33 mfg: if you have a directory of packages, buildrepo can build them in the corect order 2022-01-25 18:36:46 is buildrepo part of alpine-sdk? 2022-01-25 18:36:54 If i'm thinking this right with custom iso I can add as many packages there in the custom iso part? 2022-01-25 18:38:01 mfg: no, you need to separately install it. It's part of lua-aports 2022-01-25 18:38:02 mfg, it's in lua-aports 2022-01-25 18:38:15 Ah okay thank you both :) 2022-01-25 18:52:05 What does apk section mean? https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/scripts/mkimg.standard.sh#L41 apks that are on iso or apks that are installed after setup-alpine ? 2022-01-25 18:52:44 on the iso 2022-01-25 18:53:26 How does this work? So apk is then being installed after I write apk add some_name ? from iso? 2022-01-25 18:54:12 What's the benefit of apks being on the iso rather than being installed out of mirrors? 2022-01-25 18:54:56 For offline installation? 2022-01-25 18:54:57 frojnd: mostly that you need them to even get to install alpine / network, but not all apks on the extended iso fulfill that purpose 2022-01-25 18:57:53 I mean what's the advantage when making a custom iso? 2022-01-25 18:58:07 maybe you are installing to a device with no networking 2022-01-25 18:58:18 or a device that needs the package to even gain it 2022-01-25 18:58:52 or you just want a fancy iso with your preferred set of things, for diskless 2022-01-25 18:59:09 Or you need some kernel module that's not present by default 2022-01-25 18:59:21 That part makes sense like zfs.. 2022-01-25 18:59:25 mhm 2022-01-25 18:59:27 I could add zfs for arm build 2022-01-25 18:59:40 not sure why -extended is only for x86_64 in that case 2022-01-25 18:59:51 and x86 2022-01-25 19:00:07 I suppose no one bothered to expand it for other arches 2022-01-25 19:00:27 And also mirror disk usage 2022-01-25 19:00:30 should've said 'extend' :p 2022-01-25 19:00:32 oh yes 2022-01-25 19:00:37 the extended ones are fat 2022-01-25 19:00:42 psykose: I was really refraining myself from that one ;-) 2022-01-25 19:00:46 haha 2022-01-25 19:16:11 frojnd: there are other approaches for tailoring an Alpine install than building a custom ISO... 2022-01-25 19:17:30 minimal: please do share :) 2022-01-25 19:18:08 well I build my own custom Alpine disk images so they just need to be dd'ed onto a HDD/SSD/SDcard 2022-01-25 19:18:19 there are various approaches 2022-01-25 19:20:28 Any clue how I can find ~60G that is somehow not returned by du, even after reboot? 2022-01-25 19:21:28 df says 93G used, du reports 32G 2022-01-25 19:21:45 might be some weird mount things 2022-01-25 19:21:54 ikke: what's the filesystem type? 2022-01-25 19:22:01 psykose: hmm, good suggestion 2022-01-25 19:22:16 normally i also stare at the tree with ncdu but i don't think that is mechanically different from du 2022-01-25 19:22:26 I had something like this with .git dirs which previously many copy from one partition to another 2022-01-25 19:22:36 manualy copy* 2022-01-25 19:23:04 minimal: ext4 2022-01-25 19:23:19 because I doubt ext4 reserved block by default could take so much 2022-01-25 19:23:29 ikke: ok, so that rules out anything like snapshots etc 2022-01-25 19:23:56 MY-R: from memory ext4 reserved is 5% 2022-01-25 19:24:05 yep 2022-01-25 19:24:31 psykose: bingo 2022-01-25 19:24:34 ikke: how pig partition? 2022-01-25 19:24:39 although 2022-01-25 19:24:43 big* 2022-01-25 19:24:51 there is data underneath, but not 60G worth 2022-01-25 19:25:03 MY-R: 106G 2022-01-25 19:27:50 ikke: any .git dirs? 2022-01-25 19:28:34 MY-R: not in /, and I checked every subdir of /, which would include any hidden directories 2022-01-25 19:29:05 ah sorry, dont have to be .git but a lot of dirs like aports? 2022-01-25 19:29:44 in my gentoo box du report 3 times bigger size than Thunar when checking size of cloned packages repository 2022-01-25 19:29:53 MY-R: I ran du -xsch bin boot etc home lib lost+found/ media/ mnt/ opt root sbin/ swap/ sys/ tmp/ usr/ var/ /srv | sort -h 2022-01-25 19:30:00 in / 2022-01-25 19:30:29 so it's in /srv, hmm 2022-01-25 19:31:14 so I think it's a mount order issue 2022-01-25 19:32:19 psykose: never tried ncdu before, it looks good 2022-01-25 19:37:10 ikke: oh ye I think that what I found time ago when was wondering about "du" output https://stackoverflow.com/a/5694854 2022-01-25 19:41:07 so with lot of small files it can report a pretty big differences 2022-01-25 19:41:28 yes 2022-01-25 19:41:43 but in this case, it has to do with a directory being shadowed 2022-01-25 19:42:42 so all fine? :P 2022-01-25 19:43:04 yes 2022-01-25 19:43:06 Well 2022-01-25 19:43:11 I need to find out how to fix this :P 2022-01-25 19:43:33 I think docker uses the directory already before the mount gets setup 2022-01-25 19:44:49 probably, docker, mounts, overlays etc 2022-01-25 19:50:30 ikke: change or addition of a "after X" entry to an init.d file? 2022-01-25 19:50:50 minimal: yeah, was thinking about that 2022-01-25 19:50:54 so after localmount I suppose 2022-01-25 19:53:18 ikke: yeah. I'm surprised its not already defined in the docker init.d file 2022-01-25 19:53:58 or maybe "need localmount"? not sure if you'd ever network mount your /var/lib/docker lol 2022-01-25 19:54:45 I think need localmount is too strong 2022-01-25 19:55:13 if localmount is enabled, it should come after it 2022-01-25 19:55:19 but it does not depend on localmount 2022-01-25 19:57:16 I never really understood the whole subtlety of openrc's "need/want/like/demand/suggest/recommend/ask-a-friend/ignore/whatever" :-) 2022-01-25 19:57:31 ask-a-friend is my favorite dep command 2022-01-25 19:58:04 https://github.com/OpenRC/openrc/blob/master/service-script-guide.md#the-depend-function 2022-01-25 19:58:07 psykose: with friends like these who needs alternative init daemons? ;-) 2022-01-25 21:06:59 the wiki says abuild -R is supposed to build the current package and all ist depoendencies, but it seems that is outdated (the help message also shows no -R) 2022-01-25 21:07:13 so how do i actually build a package and all its dependencies? 2022-01-25 21:08:03 -r 2022-01-25 21:08:25 mfg: either manually (for PKG in ap builddirs pkg1 pkg2 pkg3 pkg3; do (cd pkg && abuild -r) || break; done 2022-01-25 21:08:31 or use buildrepo, like I mentioned earlier 2022-01-25 21:08:49 mfg: where do you see -R? 2022-01-25 21:09:31 buildrepo builds all of main which would include llvm10 11 and 12 :D i would think that takes a veeeery long time, right? 2022-01-25 21:09:44 yes 2022-01-25 21:11:10 and specifying the packages manually: that means i have to read every pkg file (or grep out the depends="*" line, but how do i get the right order? do i have to do that manually? 2022-01-25 21:11:27 mfg: ap builddirs 2022-01-25 21:11:33 it returns the packages in build order 2022-01-25 21:11:46 is ap a cmd? 2022-01-25 21:11:59 yes, from lua-aports, the same package that has buildrepo 2022-01-25 21:12:23 j`ey: https://wiki.alpinelinux.org/wiki/Creating_an_Alpine_package#Build_the_package here it mentions -R right above the abuild -r 2022-01-25 21:12:35 But you are correct, -R is deprecated 2022-01-25 21:12:39 ahhh, okay 2022-01-25 21:12:39 or even removed 2022-01-25 21:19:20 yeah ap is definitely exactly what i needed :D thanks for pointing to it 2022-01-25 21:20:36 there is also ap revdep to get what packages you need to build before you can build the current package 2022-01-25 21:44:03 yeah, i found that. with those commands it is a really nice experience :D 2022-01-25 21:45:35 ap commands are fantastic 2022-01-25 22:40:26 has anyone tried running alpine 3.15 on beaglebone recently? - I can't get the included u-boot to work 2022-01-25 22:47:37 also, the docs mention that alpine includes a forked u-boot with tarball support? is there any more information about that somewhere? 2022-01-25 23:55:57 Hey guys, the version of firefox in the stable repos is woefully out of date 2022-01-25 23:56:07 the esr version is up to date 2022-01-25 23:56:28 I wonder if it's best if we just didnt ship the latest firefox (non-esr) in the community/stable releases 2022-01-25 23:58:06 pretty sure it's fine as is 2022-01-25 23:58:10 same as for chromium 2022-01-25 23:58:24 people can just install -esr 2022-01-25 23:58:33 unless you really want to move firefox to testing/ :p 2022-01-25 23:59:38 imo, the purpose of a distro is to ensure that software in the repos is recommended as far as security and such goes. 2022-01-25 23:59:51 after all, people choose a distro based on how it curates packages 2022-01-26 00:00:31 I dont think we should be recommending packages that we know we cant support quickly. web browsers are a huge hole in a system. 2022-01-26 00:01:09 yes, it's not really possible to support it at all in a stable release 2022-01-26 00:01:25 e.g. even in edge firefox is 1 version behind because it needs an icu update 2022-01-26 00:01:33 shrug 2022-01-26 00:01:47 psykose: it's 2 versions behind now 2022-01-26 00:01:49 i am not opposed to putting it in testing/, but i assume at least 2 people will complain about it 2022-01-26 00:02:02 no, just one 2022-01-26 00:02:20 firefox-94.0-r0 in repos 2022-01-26 00:02:23 96.0 is out 2022-01-26 00:02:25 i mentioned edge 2022-01-26 00:02:35 ohhh i see 2022-01-26 00:02:40 i know the community one is like 50 versions behind 2022-01-26 00:02:44 haha 2022-01-26 00:02:54 did no one backport it to stable? 2022-01-26 00:03:02 95 might be fine 2022-01-26 00:03:03 shrug 2022-01-26 00:03:09 96 will never see a backport 2022-01-26 00:03:11 or anything after it 2022-01-26 00:03:18 ya, I just really dont think it's advisable. Ill open a MR and maybe we can discuss 2022-01-26 00:03:23 sure 2022-01-26 00:03:34 I think it should be taken out for the next release. Kind of scary to recommend it to users 2022-01-26 00:03:41 thanks for the discussion! =) 2022-01-26 00:03:43 no opposition from me 2022-01-26 01:34:49 ncopa: any idea https://lists.alpinelinux.org/~alpine/users/%3C20210515133248.txheslwbqlzxzecn%40disroot.org%3E 2022-01-26 01:34:57 i asked about it back then, but nobody seems to know 2022-01-26 05:17:33 Does anyone have any experience building and packaging a kernel bisect as an APK using abuild? 2022-01-26 05:18:54 Saijin_Naib[m]: The better way would probably be to run the kernel building on the machine you want to test booting, then just do `make zinstall modules_install` and any other install targets you need. 2022-01-26 05:19:45 Otherwise, you could just manually perform the binary search algorithm with 5.11.x patch releases. 2022-01-26 05:19:48 ahh... That's going to be a challenge for this thing. 4GB RAM, N3450. Not likely to succeed, or will take nearly 48hrs like it did last time I tried 2022-01-26 05:20:36 Trying to do it on desktop (6700k/32GB RAM) 2022-01-26 05:21:15 Saijin_Naib[m]: Then try just changing the pkgver on this line https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/main/linux-lts/APKBUILD#L5 by manually binary searching the patch versions (between 5.11.0 and 5.11.22) 2022-01-26 05:21:37 https://en.wikipedia.org/wiki/Binary_search_algorithm 2022-01-26 05:21:37 [WIKIPEDIA] Binary search algorithm | "In computer science, binary search, also known as half-interval search, logarithmic search, or binary chop, is a search algorithm that finds the position of a target value within a sorted array. Binary search compares the target value to the middle element of the array. If they are not equal, the half..." 2022-01-26 05:22:03 there are a lot of commits in between versions 2022-01-26 05:22:04 It is some commit between 5.11.22 and 5.12.0 2022-01-26 05:22:10 I know that much 2022-01-26 05:22:13 and only an actual version is valid as a pkgver for the fetch 2022-01-26 05:22:16 can't do that 2022-01-26 05:22:26 I've built/tested every patch release I could from 5.11.22 on 2022-01-26 05:23:14 you could build/install it on the good machine and then make a tarball and move it manually each time 2022-01-26 05:23:48 make install INSTALL_PATH lets you put it in a folder 2022-01-26 05:23:56 and modules_install 2022-01-26 05:24:10 and INSTALL_MOD_PATH 2022-01-26 05:24:11 Would that tarball be valid to put into the folder under src and have the APKBUILD use that? 2022-01-26 05:24:20 not what i mean 2022-01-26 05:24:25 Oh, sorry 2022-01-26 05:24:25 i mean building it without abuild 2022-01-26 05:24:45 the only way to use abuild for bisects is changing the source= to something of a specific commit each time 2022-01-26 05:24:53 if you can find tarballs of specific commits sure 2022-01-26 05:25:10 not sure if the say github mirror commit tarballs work, but i would assume they are different from release 2022-01-26 05:25:13 no idea as i never checked 2022-01-26 05:26:37 Thank you 2022-01-26 05:26:38 Hmm, alright. Gives me something to poke at and see 2022-01-26 05:26:51 This is the most expensive cheap laptop of my life 🤣 2022-01-26 09:04:30 the pcre package uses https://ftp.pcre.org/pub/pcre/pcre-8.45.tar.bz2 as its upstream url, but ftp.pcre.org doesn't seem to exist anymore?! at least i'm only seeing timeouts while trying to connect to it 2022-01-26 09:18:48 Note that the former ftp.pcre.org FTP site is no longer available. You will need to update any scripts that download PCRE source code to download via HTTPS, Git, or Subversion from the new home on GitHub instead. 2022-01-26 09:18:55 from pcre.org 2022-01-26 09:19:23 We do have copies on https://distfiles.alpinelinux.org/distfiles 2022-01-26 09:19:38 it's released on GitHub nowadays https://github.com/PhilipHazel/pcre2/releases 2022-01-26 09:20:01 @ikke: nice 2022-01-26 09:20:16 PJ[m]: this is pcre2 isn't it? i need pcre 8.45 2022-01-26 09:20:27 https://sourceforge.net/projects/pcre/files/ 2022-01-26 09:20:51 thx :) 2022-01-26 09:21:01 "You can also download PCRE2 or the older, unmaintained PCRE library from an unofficial mirror at SourceForge:" 2022-01-26 09:43:47 hello 2022-01-26 09:44:26 what is the difference between standard distro and mini rootfs 2022-01-26 09:44:56 does standard contain GUI or extra packages 2022-01-26 09:47:54 ??? 2022-01-26 09:49:23 minirootfs is for containers and stuff, not for full systems 2022-01-26 09:49:39 it doesnt even have openrc 2022-01-26 09:50:12 but we can install later right? 2022-01-26 09:50:46 yup 2022-01-26 09:50:47 what is included in standard that makes it's size much huge than mini rootfs ? 2022-01-26 09:51:27 j'ey i am using alpine linux minirfs version as main, not having any issue, i don't know why need openrc or why we should install standard, what packages are missing ? 2022-01-26 09:53:29 is the standard that much bigger? 2022-01-26 09:53:45 openrc is for running services 2022-01-26 09:54:19 services? you can run in background using tmux, but okay like daemon 2022-01-26 09:54:34 what does the default /init provided do? 2022-01-26 09:55:13 standard is 159mb j'ey 2022-01-26 09:57:08 https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/scripts/mkimg.base.sh#L323 https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/scripts/mkimg.minirootfs.sh#L24 2022-01-26 09:58:01 also the standard is an iso, minirootfs is a tarball 2022-01-26 09:58:39 thhat's just compression packaging method 2022-01-26 09:59:08 standard has: alpine-base while minirootfs has: alpine-baselayout 2022-01-26 09:59:08 no iso is an actual file system type thing, compared to just the tarball 2022-01-26 09:59:36 what's ther diff. between alpine-base vs alpine-baselayout 2022-01-26 09:59:40 For example standard has kernel, kernel modules, alpine-conf for setting up an installation, openrc for services to run by default, networking set up with setup-interfaces 2022-01-26 10:00:00 enlight: https://git.alpinelinux.org/aports/tree/main/alpine-base/APKBUILD#n10 2022-01-26 10:01:24 ah 2022-01-26 10:01:43 i dont know which file is large that it increases size of 159mb 2022-01-26 10:01:49 like one file must be larger enough 2022-01-26 10:02:38 I'd say this is not a single file 2022-01-26 10:03:00 like ktprograms said the iso also has the kernel and a bootloader 2022-01-26 10:03:51 And firmware 2022-01-26 10:04:00 Is large too 2022-01-26 10:04:46 ah 2022-01-26 10:04:50 linux kernel 2022-01-26 10:04:57 so iso is for full installation 2022-01-26 10:05:00 Kernel modules and firmware is the bulk. It also includes other packages 2022-01-26 10:05:07 enlight: yes 2022-01-26 10:06:53 where is it mentioned in the code, about the linux kernel and firmware package 2022-01-26 10:10:28 time to update all linux installations again due to CVE-2021-4034 (pkexec local priv esc - part of polkit for Linux) 2022-01-26 10:11:12 public sploit released yesterday 2022-01-26 10:13:12 Apachez: I've already pushed a patched version 2022-01-26 10:13:32 To edge and 3.15 2022-01-26 10:13:39 enlight: i guess here? https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/scripts/mkimg.base.sh 2022-01-26 10:13:51 Not really sure what you're asking about or why 2022-01-26 10:23:34 hii 2022-01-26 10:23:42 i am using minirootfs, it doesn't have polkit 2022-01-26 10:23:47 so ig i dont have to isntall patch 2022-01-26 10:30:35 ?? 2022-01-26 10:32:49 nice story 2022-01-26 10:36:36 nice sotry? 2022-01-26 10:55:42 In your repo file do you guys use v3.15 or latest-stable? 2022-01-26 10:56:03 former 2022-01-26 10:58:39 https://isc.sans.edu/diary/rss/28272 https://github.com/berdav/CVE-2021-4034 2022-01-26 10:58:46 ikke: do you know which ver have this fixed? 2022-01-26 10:59:14 0.120-r2 for edge 2022-01-26 10:59:23 0.119-r2 for 3.15 2022-01-26 10:59:38 Sorry, -r8 for the latter 2022-01-26 10:59:55 I mean the one named 0.119 (of pkexc) in 3.14.2 isnt fixed I suppose? However this cve is from 2021-11-29 ? 2022-01-26 11:08:01 ok tnx 2022-01-26 11:08:12 ikke: its claimed that this is the fix in the source itself https://gitlab.freedesktop.org/polkit/polkit/-/commit/a2bf5c9 2022-01-26 11:08:18 "former" <- How come? 2022-01-26 11:10:34 so i don't get surprised 2022-01-26 11:17:45 Apachez: No, officially 3.14 community is EOL 2022-01-26 11:18:27 I was more thinking that the cve is from 2021-11-29 so perhaps this was already fixed but looking at the gitlab for polkit it seems like this was commited not until yesterday 2022-01-26 11:19:43 The CVE was made public yesterday 2022-01-26 11:19:57 at least, CVE-2021-4034 2022-01-26 11:20:43 It was discovered in November 2022-01-26 11:21:00 do i have to install patch also? 2022-01-26 11:21:08 im using alpine minirootfs 2022-01-26 11:21:35 No 2022-01-26 11:21:53 polkit is only used for certain desktop environment 2022-01-26 11:21:56 environments* 2022-01-26 11:22:09 what it is for those who have certina GUIs 2022-01-26 11:22:20 is it in window manager or display server ? 2022-01-26 11:22:21 seems to be in alpine even without a desktop installed 2022-01-26 11:22:42 at least the vuln pkexec is 2022-01-26 11:22:46 it's a privilege management software 2022-01-26 11:23:21 enlight: if you don't have 'polkit` installed then this doesn't concern you 2022-01-26 11:25:26 aight 2022-01-26 11:26:34 packages that pull in polkit: https://tpaste.us/bVBZ 2022-01-26 11:26:41 (either directly or recursively) 2022-01-26 11:31:37 or check with 'apk info -e polkit' 2022-01-26 11:33:24 as workaround just remove the setuid bit from pkexec, most polkit-using tools don't use pkexec 2022-01-26 13:46:38 hello 2022-01-26 13:46:44 i want to ask something 2022-01-26 13:46:52 ask :) 2022-01-26 13:46:59 does root filesystem fore wlan0 firmware or other firmwares ? 2022-01-26 13:47:10 but aren't firmware stored in ROM chip of the device ? 2022-01-26 13:47:24 and OS should only store device driver 2022-01-26 13:47:48 the devices usually get firmware uploaded into them 2022-01-26 13:47:50 many devices store firmware in ROM/flash, but also many don't store it and require the driver to upload it every time the device initializes 2022-01-26 13:48:13 like wifi card, network card ? 2022-01-26 13:48:21 having it in ROM means you cant fix issues 2022-01-26 13:49:12 nowadays come EPROM 2022-01-26 13:49:27 but their firmwares are created by the vendor? 2022-01-26 13:49:51 does linux also reverse engineer the properitary firmwares and create free ones ? 2022-01-26 13:49:51 yes 2022-01-26 13:49:55 no 2022-01-26 13:50:03 i mean linux team 2022-01-26 13:50:27 so, how they use free non-prop firmware? 2022-01-26 13:50:29 i think there are some projects doing that, I think there was some broadcom chips that people made custom firmware for? 2022-01-26 13:50:34 yes 2022-01-26 13:50:41 how? 2022-01-26 13:50:58 how what? 2022-01-26 13:51:03 let's imagine debian, arch, red hat distro 2022-01-26 13:51:13 do they ship with free firmware? 2022-01-26 13:51:40 not as in freedom 2022-01-26 13:51:47 https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/ 2022-01-26 13:52:50 but open-source 2022-01-26 13:52:58 not open source either 2022-01-26 13:53:13 the above repo has a bunch of closed source firmware 2022-01-26 13:53:23 what 2022-01-26 13:53:38 i thought true linux distro uses everyting free 2022-01-26 13:53:46 and ubuntu uses some closed source nvidia firmware 2022-01-26 13:54:02 then you thought wrong! 2022-01-26 13:54:13 technically you're not running closed-source software on your computer 2022-01-26 13:54:17 https://en.wikipedia.org/wiki/Linux-libre 2022-01-26 13:54:17 [WIKIPEDIA] Linux-libre | "Linux-libre is a modified version of the Linux kernel that contains no binary blobs, obfuscated code, or code under proprietary licenses. Binary blobs are software components with no available source code. In the Linux Kernel, they are mostly used for proprietary firmware images. While generally redistributable..." 2022-01-26 13:54:18 ..just the peripherals 2022-01-26 13:54:23 you're thinking of the nvidia driver, which isn't firmware 2022-01-26 13:54:56 well, maybe it is, but it's not just firmware 2022-01-26 13:54:58 what about firmware 2022-01-26 13:55:14 driver* 2022-01-26 13:55:28 do linux distro contains free drivers ? 2022-01-26 13:55:47 alpine doesn't package the propietary nvidia driver, apart from anything else it needs glibc 2022-01-26 13:55:48 if they ship the nvidia driver, no 2022-01-26 13:55:53 true GNU/Linux distro 2022-01-26 13:56:20 like if they have created free driver which is compatible with nvidia ABI 2022-01-26 13:56:21 enlight: see my above link about linux-libre 2022-01-26 13:56:51 the open source nvidia driver is called nouveau 2022-01-26 13:57:31 "in the linux kernel, they mostly used for proprietary firmware images." - i dont understand this. 2022-01-26 13:57:37 what kernel contains properitary ? 2022-01-26 13:57:52 since firmwares are stored in filesystem, not in kernel itself 2022-01-26 14:00:05 3 days and so many tutorials.. and i still cant get wireguard to work on Alpine :( back to Debian we must go :( 2022-01-26 14:00:24 j'ey ? 2022-01-26 14:03:01 enlight: nothing in the kernel itself, just the firmware 2022-01-26 14:15:09 enlight: if you want as much free software as possible you should use something like trisquel or GNU Guix, which uses Linux-libre as it's default kernel. This also means that you cannot use many modern peripherals (most wifi chips won't work) 2022-01-26 14:21:29 mfg: what about alpine linux standard 2022-01-26 14:21:40 no 2022-01-26 14:21:40 does it come with prop driver or free ones? 2022-01-26 14:21:59 alpine is not aiming to be 'free' 2022-01-26 14:22:14 oh i forogt, driver is included in linux kernerl, nothing with distro 2022-01-26 14:23:01 how can i check, what drivers are in my kernel? 2022-01-26 14:23:23 since i have intel cpu and nvidia gpu, im sure nvidia isn't supported 2022-01-26 14:23:35 if you want to see the drivers currently loaded: lsmod 2022-01-26 14:24:06 nouveau may be able to use your gpu, but certainly with inferior performance (if the gpu is new-ish) 2022-01-26 14:24:16 lsmod: 2022-01-26 14:24:17 Module Size Used by Not tainted 2022-01-26 14:25:18 doesn't show anything else 2022-01-26 14:25:21 Ah 2022-01-26 14:25:29 you mentioned you use the minirootfs right? 2022-01-26 14:25:32 yes 2022-01-26 14:25:58 but drivers are installed in linux kernel, alpine is unrelated to it, but how can i check 2022-01-26 14:26:00 how do you use it? with proot on another host? chroot? container? 2022-01-26 14:26:18 https://developer.download.nvidia.com/compute/cuda/opensource 2022-01-26 14:26:31 mfg: yes, WSL 2022-01-26 14:26:37 windows subsystem for linux 2022-01-26 14:26:48 now we are getting nearer to the solution :D 2022-01-26 14:27:03 and youre worried about proprietary? heh 2022-01-26 14:27:15 if you are running it in WSL afaik you don't even run a linux kernel, because the wsl is for linux on windows what wine is on linux for windows 2022-01-26 14:27:22 Linux version 5.10.60.1-microsoft-standard-WSL2 2022-01-26 14:27:26 it translates syscalls, so you actually are not using the linux kernel at all 2022-01-26 14:27:34 mfg, i am running WSL2 2022-01-26 14:27:39 that was the case, newer WSL is just a VM 2022-01-26 14:27:47 yes, bare metal hypervisor 2022-01-26 14:27:49 okay i guess it works different? i have never used WSL2 :( 2022-01-26 14:28:14 thx for the clarification then :) 2022-01-26 14:28:36 but if it's a vm what system is it running? 2022-01-26 14:28:38 so the structure in wsl2 is: hardware -> lightwegiht hypervisor --> linux kernel --> linux distro(userspace) 2022-01-26 14:29:01 windows 2022-01-26 14:29:41 windows is also running with same: hardware --> hypervisor --> nt kernel- windows 2022-01-26 14:30:09 it ships linux kernel, for wsl, version : Linux version 5.10.60.1 2022-01-26 14:30:34 are there different linux kernel ? because most drivers are usually in kernel, except some gpu 2022-01-26 14:30:52 nah that's not what i meant, i don't understand how/which kernel you used, because the minirootfs doesn't contain one. 2022-01-26 14:31:08 do all distro use same kernel ? then how do ubuntu include som prop. drivers, do they build kernel with prop. drivers added for their distro ? 2022-01-26 14:31:23 distros use different kernels 2022-01-26 14:31:31 different versions, different patches 2022-01-26 14:31:39 msg: i showed you structue, the hypervisor runs linux kernel, Linux version 5.10.60.1-microsoft-standard-WSL2 2022-01-26 14:32:04 j'ey: so they copy linux kernel source: and modify it to ship with their distro 2022-01-26 14:32:10 sry, i didn't see the microsoft-* suffix :| 2022-01-26 14:32:20 enlight: yes 2022-01-26 14:32:26 ah 2022-01-26 14:35:04 is there a file /proc/config or /proc/config.gz ? if so, you could see which options have been enabled when the kernel was built, this would include all drivers that this kernel supports 2022-01-26 14:35:53 definitely not a bare metal hv 2022-01-26 14:36:27 yes 2022-01-26 14:36:30 there is config.gz 2022-01-26 14:36:42 https://github.com/microsoft/WSL2-Linux-Kernel/tree/linux-msft-wsl-5.10.y/Microsoft 2022-01-26 14:36:46 i have to unzip after copying somewhere 2022-01-26 14:36:59 depending on your hardware these are the configs used for building this kernel 2022-01-26 14:37:24 ah 2022-01-26 14:37:41 this should be the same as what /proc/config contains 2022-01-26 14:37:51 and where are firmware stored in filesystem that i could check? 2022-01-26 14:38:12 there is no config, there is only config.gz 2022-01-26 14:38:24 enlight: /lib/firmware 2022-01-26 14:38:29 yeah zless /proc/config.gz should let you read it 2022-01-26 14:38:43 it is empty 2022-01-26 14:38:49 /lib/firmware is empty 2022-01-26 14:38:58 enlight: the majority of the questions you ask are generic Linux questions rather than Alpine-specific - they would be better asked in the Linux channel 2022-01-26 14:39:01 then you may need to install the package linux-firmware? 2022-01-26 14:39:13 mfg: unlikely it's needed for a vm at all 2022-01-26 14:39:17 don't actually do that 2022-01-26 14:39:23 is it? 2022-01-26 14:39:28 you can't passthrough devices to WSL 2022-01-26 14:39:33 i think, i should not, because i think, when i boot windows, it load the firmware in necessary device 2022-01-26 14:39:49 since firmware is loaded, linux kernel dont have to load firmware and can talk to it through drivers directly 2022-01-26 14:39:49 you arent using those devices from linux 2022-01-26 14:40:57 hm, makes sense :thinking: 2022-01-26 14:41:47 if not, how am i able to use internet in wsl, since it involves network card 2022-01-26 14:42:01 it's a vivrtual network card 2022-01-26 14:42:12 driver is included in kernel 2022-01-26 14:42:19 ah, so it acutally under the hood, does EXPORT 2022-01-26 14:42:31 to forward the packet to windows ? 2022-01-26 14:43:00 can't understand what you said, but most likely it is not 2022-01-26 14:43:27 it's just a virtual device that is connected to hyper-v vswitch 2022-01-26 14:43:42 acts as standalone network card 2022-01-26 14:43:51 and hyper-v is bare metal, then who loaded the firmware to network card ? 2022-01-26 14:44:12 hyper-v is not exactly bare metal 2022-01-26 14:44:13 btw: why does alpine not have /proc/config or /proc/config.gz? is it to keep the size down? 2022-01-26 14:44:17 or where is the output redirected from hyper=v switch 2022-01-26 14:44:33 to the network stack in Windows 2022-01-26 14:46:32 that's why firmware file is empty ? 2022-01-26 14:46:50 you didnt install linux-firmware, thats why its empty 2022-01-26 14:47:09 hyper-v network driver is included in linux kernel 2022-01-26 14:47:52 what will happen if i install linux-firmware, will it talk directly to hardware, or will still forward the packets to hyper-v switch? 2022-01-26 14:48:12 btw "Hyper-V is bare-metal and thus Type 1. Hyper-V is a type 1 hypervisor" on internet. 2022-01-26 14:48:24 nothing will happen apart from having firmware files installed 2022-01-26 14:48:37 mfg: Alpine kernel config is /boot/config-lts or /boot/config-virt instead 2022-01-26 14:48:51 so these hyper-v bare metal thing fake, using wrong term to confuse the consumers 2022-01-26 14:49:11 it doesn't matter to consumers 2022-01-26 14:49:19 minimal: oh, i see :D thx 2022-01-26 14:49:50 minimal: why these alpine config. are different? since filesystem are exposed by linux kernel, not alpine itself. so it should be same everywhere universally, unless patched 2022-01-26 14:51:00 you can have multiple kernels installed 2022-01-26 14:52:00 what ? 2022-01-26 14:53:16 you can have multiple kernels installed, each with their own config 2022-01-26 14:53:55 nah, i mean something else 2022-01-26 14:54:03 how come, since im using standard linux kernel 2022-01-26 14:54:13 'standard' 2022-01-26 14:54:13 in wsl, with alpine minirootfs 2022-01-26 14:54:16 it's not standard by any means but go on 2022-01-26 14:54:25 the file system interface is same for both of us 2022-01-26 14:54:26 it's patched by microsoft 2022-01-26 14:54:47 I still don't understand 2022-01-26 14:54:53 so wait 2022-01-26 14:55:12 you know, linux is file-based, settings are exposed by filesystem, 2022-01-26 14:55:18 by kernel 2022-01-26 14:55:56 so, in my system, my linux kernel is standard from linux website, curated by msft. 2022-01-26 14:56:02 but the config file is not created by kernel 2022-01-26 14:56:17 it is providing same file interface like, there is no /proc/config in my system, as well in your system 2022-01-26 14:56:26 enlight: thats an option when you build the kernel 2022-01-26 14:56:32 to have /proc/config.gz or not 2022-01-26 14:56:41 j'ey yes i know, and i understand, thanks 2022-01-26 14:56:49 those config. filese are not created by kernel 2022-01-26 14:57:46 how do i know, which files are created by kernel and which ain't ? 2022-01-26 14:58:31 btw, if i install something via apk, it install server other programs in /usr/bin , how would i know this program is installed by this package ? 2022-01-26 14:58:36 as someone already said, these questions are probably better asked on a generic linux irc channel 2022-01-26 14:58:51 is it written in package configuration /etc/passwd? 2022-01-26 14:59:06 /etc/passwd is not package configuration 2022-01-26 14:59:21 and you can check what package provides by running `apk info -a package_name` 2022-01-26 15:00:31 yeah, doesn't show anything 2022-01-26 15:00:45 apk info -a pod2html 2022-01-26 15:01:16 that's because pod2html is a program provided by perl package 2022-01-26 15:01:21 try -L, that shows the contents 2022-01-26 15:01:27 you can find it through `apk search cmd:pod2html` 2022-01-26 15:02:11 j`ey: `-a` is `--all` 2022-01-26 15:02:19 gives info about some package but not some others 2022-01-26 15:02:27 like pod2html , gio 2022-01-26 15:02:30 PJ[m]: ah 2022-01-26 15:03:27 `apk search cmd:gio` works for me 2022-01-26 15:03:42 `glib-2.70.1-r0` 2022-01-26 15:04:52 thanks 2022-01-26 15:06:12 <3 2022-01-26 15:27:17 "3 days and so many tutorials..." <- what couldn't you get working? 2022-01-26 15:27:45 https://wiki.alpinelinux.org/wiki/Configure_a_Wireguard_interface_(wg) 2022-01-26 15:27:46 seems some people are able to get it working 2022-01-26 15:27:53 https://www.cyberciti.biz/faq/how-to-set-up-wireguard-vpn-server-on-alpine-linux/ 2022-01-26 15:44:02 https://ariadne.space/2021/03/25/lets-build-a-new-service-manager-for-alpine/ interesting 2022-01-26 15:44:11 tbh the only thing wrong with alpine i always felt was openrc 2022-01-26 15:44:21 because openrc never really felt robust or maintained 2022-01-26 15:44:34 iirc one of the original authors is very sick too. 2022-01-26 15:45:07 https://en.wikipedia.org/wiki/OpenRC: Original author(s) Roy Marples 2022-01-26 15:45:15 i spoke with Roy Marples a few times on IRC 2022-01-26 15:45:38 i really hope he's doing better, he had some nasty cancer 2022-01-26 15:46:01 https://roy.marples.name/blog/tags/cancer/ 2022-01-26 15:46:31 last post i read was https://roy.marples.name/blog/posts/cancer_grows/ 2022-01-26 15:46:42 oh wow, there's a new one https://roy.marples.name/blog/posts/radiotherapy/ 2022-01-26 15:48:48 awe 2022-01-26 15:49:07 at what stage is his cancer 2022-01-26 15:50:12 there's other blog articles there 2022-01-26 15:50:30 sadly it's on his neck and inoperable 2022-01-26 16:06:34 yo yo yo oy 2022-01-26 16:06:39 oye yoe 2022-01-26 16:07:21 > No. OpenRC's startup sequence is full of race conditions. 2022-01-26 16:07:26 yes that's why i hate openrc so much 2022-01-26 16:07:31 https://skarnet.com/projects/service-manager.html 2022-01-26 16:08:04 tbh the only thing wrong with alpine linux is openrc, so s6 will be awesome of it can do those things 2022-01-26 16:08:05 Work is being done to provide a replacement (by skarnet), but it's going to take a while 2022-01-26 16:08:09 nod 2022-01-26 16:09:28 yeah, hope is maybe t hat will make things more "robust" 2022-01-26 16:09:39 ive always felt like my alpine linux machines could fall over 2022-01-26 16:11:08 i love alpine 2022-01-26 16:11:15 i am using it as my main os 2022-01-26 16:11:32 is there any problem with using minirootfs as main os ? 2022-01-26 16:11:46 ngl i don't use it as my main os, i use silverblue as my main os 2022-01-26 16:12:04 i moved from archlinux, and moved everything into containers 2022-01-26 16:12:10 i doubt it you can use any rootfs as 'main os' 2022-01-26 16:12:16 what i do like about alpine though is it has good podman support :D 2022-01-26 16:12:44 unless you mean WSL, then that's not a main os 2022-01-26 16:12:54 i mean, mainstream work 2022-01-26 16:13:22 the kerenl is 70mb :( 2022-01-26 16:13:33 is there lightweight linux kernel shipped anywhere? 2022-01-26 16:13:52 with all the unnecessary stuff removed, what takes most size ? 2022-01-26 16:14:11 i like minimalism 2022-01-26 16:14:20 unix* philosophy 2022-01-26 16:14:36 linux-virt is small 2022-01-26 16:14:38 31 MB 2022-01-26 16:14:59 great 2022-01-26 16:16:03 btw: a question related to kernel, why on alpine there is /lib while on others there is /lib64 2022-01-26 16:16:07 but it's meant only for virtualised systems, and it doesn't contain certain modules like sound 2022-01-26 16:16:16 is this folder created by alpine 2022-01-26 16:16:50 comes with alpine* 2022-01-26 16:17:51 ikke: is the replacement s6rc or something else? 2022-01-26 16:21:15 i saw this 2022-01-26 16:21:28 so i downloaded rootf.tar.gz extracted 2022-01-26 16:21:39 i see all folders like root bin lib usr var etc sib 2022-01-26 16:21:42 sbin* 2022-01-26 16:21:53 these are shipped via distro 2022-01-26 16:22:21 so how does when i do cat /proc/version it shows the kernel version ? 2022-01-26 16:22:31 since proc is empty and ik it's pseudo filesystem 2022-01-26 16:24:18 you should read kernel documentation 2022-01-26 16:32:20 which page 2022-01-26 16:33:08 https://www.kernel.org/doc/html/latest/filesystems/proc.html 2022-01-26 16:41:35 thans 2022-01-26 18:15:15 2022-01-26 18:15:16 2022-01-26 18:15:17 2022-01-26 18:15:17 2022-01-26 18:15:17 2022-01-26 18:54:24 hello 2022-01-26 18:58:35 hello 2022-01-26 18:59:44 this isn't the grand canyon 2022-01-26 19:02:39 cat /etc/inittab 2022-01-26 19:02:41 ::sysinit:/sbin/openrc sysinit 2022-01-26 19:02:41 ::sysinit:/sbin/openrc boot 2022-01-26 19:02:51 ::sysinit:/sbin/openrc boot 2022-01-26 19:02:51 ::wait:/sbin/openrc default::sysinit:/sbin/openrc sysinit 2022-01-26 19:03:14 this is what it shows, but there is no openrc in /sbin 2022-01-26 19:03:19 so it will ignore openrc ? 2022-01-26 19:04:58 you don't have the openrc package? 2022-01-26 19:05:02 enlight: you should ask your questions in one of the general Linux channels 2022-01-26 19:05:52 43.235 2022-01-26 19:06:01 no 2022-01-26 19:06:08 minirootfs doesn't include openrc 2022-01-26 19:06:14 oh 2022-01-26 19:07:55 it mightn't use that inittab, then 2022-01-26 19:07:55 lopid: he's running via WSL with minirootfs 2022-01-26 19:08:03 …oh 2022-01-26 19:08:29 have fun ;) 2022-01-26 19:10:20 what's the issue, init only helps if you have zombie process, while /bin/busybox has a minimal init 2022-01-26 19:10:49 which reads configuration from /etc/inittab and execute script form /etc/init.d 2022-01-26 19:12:20 lopid: is there any issue beside zombie, if i use busybox init and not other init. well busybox init eventually calls openrc, which isn't present 2022-01-26 19:42:06 there is actually an init, in root directry 2022-01-26 19:42:09 it's an executabel 2022-01-26 19:58:14 does anybody know of any guides on the internet on how to make your c programs smaller ? 2022-01-26 20:42:26 i wouldn't have thought to expect zombies in that case 2022-01-26 21:37:03 Can I somehow view the description of a package through the apk CLI? 2022-01-26 21:38:59 apk info 2022-01-26 21:39:31 thanks! 2022-01-26 21:39:41 or apk search -v if it's not locally somewhere, not sure if info works that well for non-installed 2022-01-26 22:11:57 or apk -va search! :D 2022-01-26 22:13:30 somehow without "-a" package like "rng-tools" cant be found :< 2022-01-26 23:43:09 hi, how does alpine know where to find the overlay file? I've got diskless setup where alpine is on one mmc partition and lbu/cache are on another, but my overlay isn't loading on boot 2022-01-26 23:43:36 the partition gets mounted at /media/mmcblk1p3 and the overlay file is there, it's just not loaded 2022-01-26 23:51:44 ah, I think I've figured it out -- it's loading the overlay from the installation image.. 2022-01-27 00:21:27 pattop: dubious magic 2022-01-27 00:22:02 the more technical answer is https://gitlab.alpinelinux.org/alpine/mkinitfs/-/blob/master/initramfs-init.in says nlplug 2022-01-27 00:42:48 Hello71: thanks 2022-01-27 02:20:27 Can anyone help me debug my packaging attempt for xiccd? I'm apparently mega-rusty now 2022-01-27 02:20:34 sure 2022-01-27 02:20:46 Thanks, as always 2022-01-27 02:20:49 ACTION sent a code block: https://matrix.org/_matrix/media/r0/download/matrix.org/JqiRHCKKQZuwHLabGSgRaJgM 2022-01-27 02:21:02 it's probably installing to /usr 2022-01-27 02:21:07 instead of $pkgdir/usr 2022-01-27 02:21:07 My user is in abuild, and I have built in this environment/machine before 2022-01-27 02:21:19 maybe you forgot DESTDIR 2022-01-27 02:21:31 I do not have that configured 2022-01-27 02:21:35 post the apkbuild 2022-01-27 02:21:41 Is that another option that gets passed to ./configure? 2022-01-27 02:21:46 install step 2022-01-27 02:21:59 usually something like `make DESTDIR="$pkgdir" install` for makefiles 2022-01-27 02:22:07 and a PREFIX=/usr , etc 2022-01-27 02:22:12 ACTION sent a code block: https://matrix.org/_matrix/media/r0/download/matrix.org/fHgUcFroDqyxKcqSIQsPdTQj 2022-01-27 02:22:24 yeah, move the make install to package() and add those 2022-01-27 02:22:38 by default it's installing to / 2022-01-27 02:22:43 which is of course, blocked 2022-01-27 02:22:52 Oh, that makes sense 2022-01-27 02:22:56 instead it should install to $pkgdir and then abuild packages it 2022-01-27 02:23:08 Is my version okay? I'm making it up since I'm using the last commit at that date 2022-01-27 02:23:16 0_git$date 2022-01-27 02:23:31 also don't put $pkgname in source=, just type it out 2022-01-27 02:23:58 and those ac* commands in prepare() can probably be replaced with `autoreconf -fi` 2022-01-27 02:24:53 and ./configure is usually in build() 2022-01-27 02:25:12 you can remove everything from depends= as it's probably traced anyway 2022-01-27 02:25:22 and delete the commented # lines 2022-01-27 02:25:48 and put that commit sha in a variables and use it in the source= and builddir= fields 2022-01-27 02:30:49 Do you mean use $date literally in the version string, or do you mean for me to treat that as a variable and type in the date of the commit? 2022-01-27 02:31:31 the thing you have already 2022-01-27 02:31:44 0_git20211219 2022-01-27 02:31:47 haha 2022-01-27 02:32:00 i think this is the fourth time i tell someone to put 0_git$something and they do it literally 2022-01-27 02:32:03 my apologies 2022-01-27 02:32:07 Sorry! I thought it would put the date of the build or something 2022-01-27 02:32:17 no, my bad 2022-01-27 02:33:48 ACTION sent a code block: https://matrix.org/_matrix/media/r0/download/matrix.org/wgsKFRyBZHvOgfSxlSINdnSa 2022-01-27 02:34:14 ACTION sent a code block: https://matrix.org/_matrix/media/r0/download/matrix.org/VLNPOHlxGJufEQZIFIdMrxmS 2022-01-27 02:34:39 ah 2022-01-27 02:34:58 Do I just touch those so they're there but empty? 2022-01-27 02:35:41 no, you should use the 0.3.0 release instead 2022-01-27 02:36:08 Oof... that one is 2+ years old at this point 2022-01-27 02:36:10 Is that acceptable? 2022-01-27 02:36:19 ugh, let me have a build myself real quick 2022-01-27 02:36:28 i'm really drunk so bare with me 2022-01-27 02:36:28 Sorry -_- 2022-01-27 02:36:49 Hey, that sounds like one way to put up with this, haha 2022-01-27 02:37:35 While you're drunk, you want to Maintain this in main/community since it should help every desktop environment we ship and well, I can barely package it so I'm not a good maintainer target 😛 2022-01-27 02:37:49 Just sign here on the dotted line... 2022-01-27 02:38:05 Looks like they removed these files literally the very next commit after the 0.3.0 tag: https://github.com/agalakhov/xiccd/commit/02c46831cf648a021e150eadebbc5749de1f6a6f 2022-01-27 02:38:54 Saijin_Naib[m]: I can probably give you a patch to remove the Makefile depending on these files 2022-01-27 02:39:01 And this wasn't a problem for me before because I wasn't using the autoreconf right? 2022-01-27 02:39:17 Saijin_Naib[m]: What do you mean? 2022-01-27 02:39:45 s/?/ by 'before'?/ 2022-01-27 02:39:45 ktprograms meant to say: Saijin_Naib[m]: What do you mean by 'before'? 2022-01-27 02:40:00 I feel like I was getting past this step before when I was using the first APKBUILD I posted before psykose helped me and I edited it to use autoreconf -fi 2022-01-27 02:40:10 yes, i was wrong 2022-01-27 02:40:13 Or it has nothing to do with it and I'm confused, which is likely 2022-01-27 02:40:33 https://img.ayaya.dev/5fhtR7o7XHSl 2022-01-27 02:40:34 there 2022-01-27 02:41:01 Saijin_Naib[m]: Is this error showing up in the make install, or the configure/compile? 2022-01-27 02:41:02 actually this https://img.ayaya.dev/JdvjYVOQviOX 2022-01-27 02:41:12 Anyway psykose seems to have figured it out 2022-01-27 02:41:20 now just add yourself to the top two fields and feel free to add it to aports 2022-01-27 02:41:34 ktprograms: thanks for being willing to help me with the patch, regardless! 2022-01-27 02:41:46 and add a newlines after package() between it and sha512 :) 2022-01-27 02:42:04 If we get it up there, should I open an issue asking if someone wants to maintain it in community or main so it can work alongside all our Desktop Environments? 2022-01-27 02:42:15 add it to testing/ first 2022-01-27 02:42:27 Make sure it works okay and folks want it? 2022-01-27 02:42:34 then if you feel like it move it to community/ before the 3.16 freeze 2022-01-27 02:42:40 yeah pretty much 2022-01-27 02:42:46 makes no difference where it is until a release 2022-01-27 02:42:52 Ahhh 2022-01-27 02:43:15 Thanks for that, by the way. That was probably a few more hours for me 😐️ 2022-01-27 02:44:59 ah, no one more thing 2022-01-27 02:46:45 ACTION uploaded an image: (45KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/jmzyryucfLAlfXpiFflhOons/image.png > 2022-01-27 02:46:46 You are a freaking genius 2022-01-27 02:48:11 https://img.ayaya.dev/e4xje78E6W2a 2022-01-27 02:48:12 ready 2022-01-27 02:49:54 hope your monitors are extra pretty and cute now 2022-01-27 02:50:41 A few steps closer to being able to use Alpine for all of my work and personal uses, yes 🙂 2022-01-27 02:50:57 feel free to ping me directly if you ever need help 2022-01-27 02:51:04 Oh, wow. Thank you 2022-01-27 02:51:34 I'll take you up on that if i don't get traction here first. I don't want to over-use that resource haha 2022-01-27 02:51:46 I have probably 20 things I'm mid-package on 2022-01-27 02:51:51 All in states of wtf am I doing 2022-01-27 02:52:37 it's alright :) 2022-01-27 02:52:45 good things take time 2022-01-27 02:53:10 psykose: regarding the libgrapheme APKBUILD, I've sent an email to the ML asking if it is a deliberated choice not to version the .so file or not 2022-01-27 02:53:12 also i think colord and polkit need to be explicitly in depends= as well now that i try to run this 2022-01-27 02:53:18 eletrotupi: sure 2022-01-27 02:53:19 Haha, fair enough. I owe you and everyone here who helped me something. Gotta figure that out some day 2022-01-27 02:53:37 I think they simply forgot to version, but let's see 2022-01-27 02:53:52 psykose: I might have missed that since I have both locally already, but that makes sense 2022-01-27 02:53:55 the issue with unversioned is it's a bit hard to upgrade dependents, but i also don't think anything is really using this 2022-01-27 02:54:12 Saijin_Naib[m]: yes, i generally have nothing from this stack myself so it's easy to see :) 2022-01-27 02:54:18 s/version/version it though/ 2022-01-27 02:54:18 eletrotupi meant to say: I think they simply forgot to version it though, but let's see 2022-01-27 02:54:34 yeah, it's a pretty new library 2022-01-27 02:54:56 first version was released last month, I think 2022-01-27 02:57:05 Hmm, can't import ICC profiles. That'll be fun to debug 2022-01-27 02:57:38 Saijin_Naib[m]: Any error messages? 2022-01-27 02:59:02 Failed to copy file, the profile was not added in time when using flatpak of Gnome Color Viewer 2022-01-27 02:59:05 ACTION uploaded an image: (9KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/GtpLTrtpOvQgPXnkgowhuZbG/image.png > 2022-01-27 02:59:37 Consistent to behavior before xiccd, but at least now Gnome Color Viewer pulls all the monitor EDID info and shows it is using a local icc profile 2022-01-27 02:59:48 So it seems xiccd is working, but something else is amiss 2022-01-27 03:00:20 But no, nothing printed to the console from xiccd during that operation 2022-01-27 03:00:43 Do I need to be in the xiccd group or something? 2022-01-27 03:01:22 Saijin_Naib[m]: No idea about that, but I wonder what 'not added in time` is meant to mean. 2022-01-27 03:01:46 that error is not present inside the xiccd codebase either 2022-01-27 03:01:51 so it's probably something else 2022-01-27 03:01:53 only thing that makes sense is that it tries to import the profile for x seconds and then quits 2022-01-27 03:02:09 i would guess it's part of colord 2022-01-27 03:02:28 Are you refering to https://www.flathub.org/apps/details/org.gnome.ColorViewer when you say Gnome Color Viewer? 2022-01-27 03:02:43 sadly i can't help you with this aprt 2022-01-27 03:02:45 part* 2022-01-27 03:02:52 ktprograms: yes. psykose Yeah, that makes sense because colord on terminal gave me that before xiccd as well 2022-01-27 03:03:04 No, that's great. We're still getting functionality we didn't have before! 2022-01-27 03:03:07 :) 2022-01-27 03:03:28 Saijin_Naib[m]: What exactly are you doing in Color Viewer that causes the error to show up? 2022-01-27 03:03:32 I mean, most folks aren't daily-driving alpine with a DE, right? I'm very much a corner case here 2022-01-27 03:04:07 ktprograms: Using the + on the bottom left to import an ICC profile for the monitor. In my case, one in my Desktop directory with an ICC profile I have full permissions to 2022-01-27 03:05:36 The error message seems to be coming from lib/colord/cd-client.c:944 2022-01-27 03:06:47 Seems that it's in a hangcheck 2022-01-27 03:06:54 i mean i use it on desktop 2022-01-27 03:07:04 just not with the whole batteries-included thing, just sway and my preferences 2022-01-27 03:07:20 and i use wlsunset for dimming instead 2022-01-27 03:07:33 don't really know what colour profiles are 2022-01-27 03:07:59 Saijin_Naib[m]: The comment above where the hangcheck method is used says 'watch for a new profile to be detected and added' (line 987 in the same file) 2022-01-27 03:08:16 psykose: Neither do I but I'm just looking at the code to see what's causing the error 2022-01-27 03:08:21 ktprograms: Hmm, thank you. I'll take a poke there... Maybe I need to add users to groups or something? 2022-01-27 03:08:32 either that or something else in the stack 2022-01-27 03:08:43 psykose: Very minimal setup! You probably don't need to worry about them if you aren't printing or editing graphics/video 2022-01-27 03:08:47 DE-related issues always take a while to debug 2022-01-27 03:08:53 Saijin_Naib[m]: yeah :) 2022-01-27 03:09:08 i do indeed not have working printing 2022-01-27 03:10:19 Me either, nor scanning 😭 But one day (hopefully). I just shuffle stuff via my NAS and do that from my Windows machine, but it's nice to have a good color calibration for when I'm doing the editing from this computer 2022-01-27 03:18:55 hmm weird that someone is patching https://pkgs.alpinelinux.org/package/edge/testing/x86_64/podman-compose 2022-01-27 03:19:01 but not actually updating it https://github.com/containers/podman-compose/tags 2022-01-27 03:21:02 i might see if i can fix that. 2022-01-27 03:37:31 okay for a pkgbuild which doesn't have "releases" 2022-01-27 03:37:33 but has tags 2022-01-27 03:37:42 https://github.com/containers/podman-compose/tags 2022-01-27 03:37:47 https://github.com/containers/podman-compose/archive/refs/tags/v1.0.3.tar.gz 2022-01-27 03:38:01 source="$pkgname-$pkgver.tar.gz::https://github.com/containers/podman-compose/archive/refs/tags/v$pkgver.tar.gz" 2022-01-27 03:38:04 need to update that u rl 2022-01-27 03:38:15 what's the first filename: $pkgname-$pkgver.tar.gz 2022-01-27 03:39:04 i'm updating this pkgbuild https://git.alpinelinux.org/aports/tree/testing/podman-compose/APKBUILD 2022-01-27 03:40:37 wait that URL should be right 2022-01-27 03:42:01 sounds fine to just bump the ver 2022-01-27 03:42:23 wait 2022-01-27 03:42:42 yeah 2022-01-27 03:45:36 is that the output filename? 2022-01-27 03:45:41 https://github.com/containers/podman-compose/archive/v1.0.3.tar.gz is what i am trying to download 2022-01-27 03:47:33 if you just up the pkgver that is the same url 2022-01-27 03:47:50 unless i am blind 2022-01-27 03:55:26 hmm yeah 2022-01-27 03:55:26 https://github.com/containers/podman-compose/archive/v1.3.0.tar.gz 2022-01-27 03:55:27 is not correct 2022-01-27 03:55:44 You are being redirected.⏎ 2022-01-27 03:55:47 cause it's not released 2022-01-27 03:55:49 1.0.3 is 2022-01-27 03:56:01 1.3.0 isn't 2022-01-27 03:58:36 oh 2022-01-27 03:58:37 god damn it lol 2022-01-27 03:59:01 thanks psykose 2022-01-27 03:59:05 :) 2022-01-27 04:01:22 must be blind 2022-01-27 04:02:11 nah 2022-01-27 04:02:16 just an average oversight 2022-01-27 04:02:20 nothing to feel bad about 2022-01-27 04:02:28 i do those all the time 2022-01-27 04:04:13 maybe i am going dyslexic lol 2022-01-27 04:05:05 nah 2022-01-27 04:05:11 everyone does these 2022-01-27 04:05:12 really 2022-01-27 04:06:44 dngray: You'll always make less mistakes than I will, so take heart 🤣 2022-01-27 04:08:30 transitioning away from docker to podman is my goal today 2022-01-27 04:13:04 What does that do for you, high-level? I just barely use docker 2022-01-27 04:13:19 podman has a rootless mode 2022-01-27 04:13:42 That sounds like a good thing 2022-01-27 04:13:51 no more usermod -aG docker $whoami 2022-01-27 04:14:31 yeah and podman also doesn't require a daemon runnning 2022-01-27 04:14:36 it also supports pods like kubernetes 2022-01-27 04:14:42 or k3s which i want to experiment with 2022-01-27 04:14:49 and podman 4 sounds awesome 2022-01-27 04:15:11 seems less opinionated too 2022-01-27 04:15:53 https://podman.io/blogs/2021/10/28/build-kubernetes-pods-with-podman-play-kube.html 2022-01-27 04:17:32 due out February https://github.com/containers/podman/blob/main/RELEASE_NOTES.md#400 2022-01-27 04:23:06 Saijin_Naib: oh did i use the wrong commit message? 2022-01-27 04:24:14 > Add missing dep py3-dotenv & bump pkgver to 1.0.3 2022-01-27 04:24:25 that's not really a good commit message 2022-01-27 04:25:04 testing/podman-compose: bump v1.0.3 & add missing dep 2022-01-27 04:25:08 is probably what i should make that? 2022-01-27 04:26:32 or is there some special syntax for alpine-linux merges i'm forgetting 2022-01-27 04:26:47 upgrade to 1.0.3 2022-01-27 04:27:08 do we mention missing deps? 2022-01-27 04:27:19 or just: 2022-01-27 04:27:19 > testing/podman-compose: upgrade to 1.0.3 2022-01-27 04:27:39 shrug 2022-01-27 04:27:44 you can make it two commits 2022-01-27 04:27:56 oh 2022-01-27 04:28:00 yeah maybe i should do that. 2022-01-27 04:53:51 now to create a PR with main alpinelinux 2022-01-27 04:56:18 for some stupid reason gitlab wants to keep doing the merge request from my branch 2022-01-27 04:56:21 into master of my branch 2022-01-27 04:56:41 even though i am on https://gitlab.alpinelinux.org/alpine/aports 2022-01-27 04:56:54 at Daniel Gray / aports 6 minutes ago 2022-01-27 04:56:54 pr-update_podman_compose 2022-01-27 04:56:54 You pushed to 2022-01-27 04:57:39 oh wait i think i got it now lol 2022-01-27 04:58:12 https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/30039 2022-01-27 04:58:16 i think that's right 2022-01-27 09:43:49 hello 2022-01-27 09:44:11 someone here? 2022-01-27 09:44:14 https://www.kernel.org/doc/html/latest/filesystems/proc.html 2022-01-27 09:44:42 why many of the subdirectory in /proc mentioned in this website are not present in my alpine ? 2022-01-27 09:45:29 the kernel is not compile with support for them? 2022-01-27 09:45:47 not everything has to be present 2022-01-27 09:45:52 the kernel is downloaded from official website 2022-01-27 09:46:08 which website 2022-01-27 09:46:14 kernel.org 2022-01-27 09:46:18 that doesn't affect the answer 2022-01-27 09:46:19 enlight: remeber that we said that the confiuration of the kernel matters 2022-01-27 09:46:33 there's no 'standard kernel' build 2022-01-27 09:46:52 yes, but the kernel form website, is unconfigured, should all the directory be present? 2022-01-27 09:47:07 if you downloaded it from kernel.org then what is present in /proc is a result of what you configured your kernel before build 2022-01-27 09:47:10 theres no such thing as an unconfigured kernel 2022-01-27 09:47:17 ah 2022-01-27 09:47:30 enlight: what one is missing from alpine? 2022-01-27 09:47:41 /proc/cwd 2022-01-27 09:47:58 /proc/fd , proc/root 2022-01-27 09:48:09 /proc/exe 2022-01-27 09:48:20 /proc/status 2022-01-27 09:48:34 thats not missing 2022-01-27 09:48:41 those are /proc//cwd etc 2022-01-27 09:49:34 found it, ty 2022-01-27 09:58:23 dngray[m]1 i tried several tutorials :-) im just not sure what it is that im doing wrong.. even to the point of "just cut 'n paste" 2022-01-27 10:03:33 maybe try to explain what you are seeing in console/log or what isn't exactly working 2022-01-27 10:08:38 fair enough :) 2022-01-27 10:09:03 i'll do that once i get back home :) 2022-01-27 10:09:31 maybe add it to my post on the alpine reddit, makes it easier for others to understand what im messing up >:) 2022-01-27 10:32:26 o/ 2022-01-27 10:33:02 if I want to run a script just after /etc/init.d/modules, I should add "need modules" inside my depend function of the given script? 2022-01-27 10:44:32 if the script actually depends on the modules service running, then yes 2022-01-27 10:45:00 If it's only a matter of ordering, you can use 'after' 2022-01-27 10:47:43 hello 2022-01-27 10:48:16 i am sshed into a router 2022-01-27 10:48:21 system type : Atheros AR934x 2022-01-27 10:48:24 processor : 0 2022-01-27 10:48:39 cpu model : MIPS 74Kc V4.12Linux version 2.6.32.71 (buildd@builder) (gcc version 4.1.2) #1 Wed May 23 17:55:48 EEST 2018 2022-01-27 10:48:53 how can i check which distro it is running, there is no /etc/issue file 2022-01-27 10:56:18 it says: Linux Kudra 2.6.32.71 2022-01-27 10:56:40 enlight: how is this related to alpine linux? 2022-01-27 10:58:30 okay:) 2022-01-27 11:00:51 i'm currently reading the gcc APKBUILD is it correct to LANG_GO=false abuild -r if i don't want this frontend to be built? 2022-01-27 11:04:16 yes it seems that way 2022-01-27 11:04:29 didn't know the ${var:=val} syntax 2022-01-27 11:26:49 hello everyone. I was wondering where the best place would be to ask user questions - I tried reddit, twitter, stackexchange and a raspberry forum, without much success. 2022-01-27 11:27:54 what's your question 2022-01-27 11:28:31 How to enable SPI and access RFID RC522 2022-01-27 11:28:44 I'm guessing you're on a pi? 2022-01-27 11:28:45 Is it okay to link a detailed write-up of what I tried? 2022-01-27 11:28:53 Correct on a RPi 3B 2022-01-27 11:29:04 A link is fine, just don't paste the full text here 2022-01-27 11:29:14 Thank you, https://www.reddit.com/r/AlpineLinux/comments/sbkgbb/how_to_enable_spi_interface_on_alpine/ 2022-01-27 11:29:15 [REDDIT] How to enable SPI interface on Alpine 3.15.0/Raspberry Pi 3B (self.AlpineLinux) | 5 points (0386.0%) | 0 comments | Posted by garliccheesier | Created at 2022-01-24 - 11:50:43UTC 2022-01-27 11:30:02 Hello, Is there any way to prevent openrc triggers in apk from running? 2022-01-27 11:31:35 For a start, the header missing problem can most likely be fixed by installing linux-headers 2022-01-27 11:32:11 garliccheese: ^ 2022-01-27 11:33:00 nice. thank you for the hint! I'm retrying the install as I'm writing this 2022-01-27 11:33:15 So there's no /dev/spidev? 2022-01-27 11:33:45 Is there spidev.ko somewhere in /lib/modules? 2022-01-27 11:34:16 https://stackoverflow.com/questions/35699752/linux-spidev-is-not-shown-in-dev 2022-01-27 11:34:53 Installation of spidev succeeds now! mfrc522 now fails, but I haven't looked into the error message yet. let me check for the `spidev` 2022-01-27 11:35:47 garliccheese: For your future info, if a program looks for a header in , that probably means you need to install linux-headers 2022-01-27 11:36:43 I have no "spidev.ko" in /lib/modules, but a spi-bcm2835.ko 2022-01-27 11:37:30 'find -name spidev.ko /lib/modules' shows nothing? 2022-01-27 11:37:51 Are you using the 64 bit kernel? 2022-01-27 11:38:28 "$ sudo find /lib/modules/ -name spidev.ko" returns nothing. I'm on "Linux chrome 5.15.4-0-rpi #1-Alpine SMP PREEMPT Mon Nov 22 09:13:17 UTC 2021 aarch64 Linux" (uname -a) 2022-01-27 11:44:22 ncopa: spidev.ko only seems to have been built for linux-rpi on armv7 and armhf: https://pkgs.alpinelinux.org/contents?file=spidev.ko&path=&name=linux-rpi&branch=edge&repo=main (but not aarch64) 2022-01-27 11:46:11 huh. so the Alpine on the architecture I am running does not support SPI? 2022-01-27 11:46:36 garliccheese: It is enabled in the config, but for some reason it's not included in the package 2022-01-27 11:46:51 that's surprising. I'm very grateful for your insight! 2022-01-27 11:47:28 Do you have any idea if that is something I should/could contact a dev about, maybe some build issue? 2022-01-27 11:49:33 kt already pinged maintainer about it 2022-01-27 11:50:11 oh wow. fantastic! Thanks everyone! 2022-01-27 11:59:16 ktprograms: i think we only use the upstream rpi defaults 2022-01-27 12:10:18 ikke, thanks! 2022-01-27 12:11:32 hey, was wondering if there's a process for suggesting additional packages to be added to the extended iso? specifically i was thinking about zstd, pv, sshfs, ncdu 2022-01-27 12:12:16 I'm currently bundling them manually so it's nbd, just curious 2022-01-27 12:20:57 ncopa: The problem isn't the config, in the build log it shows LD[m] and INSTALL lines for spidev.ko, but it doesn't seem to end up in the kernel package 2022-01-27 12:22:05 ktprograms: so I ran into an unknown issue with my project? I'm not sure I understand correctly - sorry! 2022-01-27 12:22:24 garliccheese: As a workaround, you can try installing linux-rpi4, the only difference seems to be that it has depends on linux-firmware-cypress, so you'll just end up with extra files on your disk. 2022-01-27 12:22:40 garliccheese: An unknown issue with the Alpine packaging/building systems 2022-01-27 12:23:11 fascinating! thank you very much for all the help! I'll give it a shot right away 2022-01-27 12:25:10 You'll probably have to change the kernel you use in config.txt 2022-01-27 12:28:00 ktprograms: Installing linux-rpi4 throws countless errors like "ERROR: linux-rpi4-5.15.4-r0: failed to rename lib/modules/5.15.4-0-rpi4/kernel/n[...]", I'll see to the config.txt for the kernel 2022-01-27 12:35:27 What is your rootfs type? ext4? 2022-01-27 12:40:14 ktprograms: I'll need to check, I followed the wiki for the setup. I just powered off the system and am looking at the config.txt. I guess I'll have to substitute the kernel from [pi3] with the kernel from [pi4], correct? 2022-01-27 12:41:38 Yes I think so. Haven't tried it before, though 2022-01-27 12:41:53 Partition one is "W95 FAT32 (LBA)", and partition two is ext4. I beleive with my current diskless setup, the partition two is not in use. 2022-01-27 12:41:57 I' 2022-01-27 12:42:10 I'll go ahead and try that. I'll report back in a minute, thank you. 2022-01-27 12:42:28 Oh you're using it diskless. Where is /lib mounted from/stored then? 2022-01-27 12:44:58 It's my first Alpine setup, so I'm a rather unsure. `tmpfs on / type tmpfs (rw,relatime,mode=755)`, so I assume from the base image (alpine-rpi-3.15.0-aarch64.tar.gz) i extracted to the first partition? 2022-01-27 12:45:16 why arch64 ? 2022-01-27 12:45:25 are you installing on router or phone ? 2022-01-27 12:45:38 use amd64 2022-01-27 12:45:46 enlight: raspberry pi 2022-01-27 12:45:55 enlight: RPi 3B; On the Wiki it says: "The aarch64 build should be compatible with Raspberry Pi 2 Model v1.2, Raspberry Pi 3 and Compute Module 3, and Raspberry Pi 4 model B" 2022-01-27 12:46:08 ah yes 2022-01-27 12:46:44 i need help, i logged in to a router, with default user:pass and it has dropbear ssh server running 2022-01-27 12:46:54 do you know, where can i check those default password ? 2022-01-27 12:47:08 /etc/dropbear/authorzed_keys is empty 2022-01-27 12:47:30 ~/dropbear-rsa and dropbear-dsa is only there 2022-01-27 12:47:31 enlight: The password would probably be the user's password. authorized_keys is for ssh keys, used for passwordless access 2022-01-27 12:49:07 ah 2022-01-27 12:49:33 /etc/shadow directory is not present and /etc/passwd contains two user 0:0 but their password are different 2022-01-27 12:50:29 How are you able to see these files if you don't know the password? 2022-01-27 12:50:45 the router password is deault and isn't changed 2022-01-27 12:50:56 garliccheese: FYI I have no experience with upgrading the kernel on a diskless install 2022-01-27 12:51:04 you can login to their web panel too with that password 2022-01-27 12:51:06 enlight: so... what's the problem? 2022-01-27 12:51:16 Do you want to change the password used when ssh-ing? 2022-01-27 12:51:18 i want to view the password using which i logged in via ssh 2022-01-27 12:51:36 How did you log in with ssh? Using the password, right? 2022-01-27 12:51:42 i tried to ssh via /etc/passwd doesn't work, but the one i have default pass works 2022-01-27 12:51:45 yes 2022-01-27 12:52:00 So now do you want to change the password or what? 2022-01-27 12:52:10 i want to view the password, where it is stored 2022-01-27 12:52:20 enlight: The password is not stored anywhere 2022-01-27 12:52:21 it is stored in hash format 2022-01-27 12:52:31 then, how dropbear ssh allow me to connect 2022-01-27 12:52:36 /etc/shadow is file btw 2022-01-27 12:52:41 it is not present 2022-01-27 12:52:55 the router is made via ubiquity 2022-01-27 12:53:09 running AirOS (based on linux) 2022-01-27 12:53:28 lighthttpd to login to web panel running 2022-01-27 12:53:34 with same ssh password 2022-01-27 12:53:43 ok, but why do you want to see the password hash 2022-01-27 12:53:54 just to know, where it is stored 2022-01-27 12:54:10 then consult vendor documentation 2022-01-27 12:54:21 enlight: this is an Alpine channel, you are asking questionds about a non-Alpine router. Please ask these in a general Linux channel 2022-01-27 12:54:42 wdym vendor, you mean AirOS documentation, but it is runing dropbear server so dropbear documentation ? 2022-01-27 12:54:51 minimal: i tried, #linux seems dead 2022-01-27 12:55:10 enlight: that is no reason to try and get Alpine people to help you with a non-Alpine issue 2022-01-27 12:56:47 ktprograms: curious case! I've tried booting from the rpi4 kernel/initramfs and install the linux-rpi4, which throws uncountable errors again, but initramfs is recreated. I'll keep an eye on new releases and hope that this spidev issue can be resolved soon, otherwise I'll try a different arch/image. Thank you very much for your help and insight! 2022-01-27 12:58:37 garliccheese: If you have no specific need to run 64 bit programs, try the armhf build (full reinstall will be needed) 2022-01-27 12:58:38 garliccheese: I believe there have been spidev problems with the version of the kernel Alpine is curently using 2022-01-27 12:58:48 Also any reason why you're not using sys mode? 2022-01-27 13:02:05 I have no reason to use 64bit, just wanted to match the image according to the wiki. I'll redo the setup with armhf! I had no reason to use diskless mode, but curiosity, as it seemed to set Alpine apart from other distros. 2022-01-27 13:03:12 garliccheese: Especially if you don't have much ram (I think the pi3 has at most 4GB), you won't be able to store much data (and that includes packages) 2022-01-27 13:03:44 garliccheese: use armv7 rather than armhf 2022-01-27 13:04:01 minimal: why? 2022-01-27 13:04:46 RPi is at 1GB max ;) The thing won't be doing much, except address a ~2MB sqlite database and a temperature sensor. I won't be even using more than ~100MB RAM. 2022-01-27 13:04:53 I meant RPi 3 2022-01-27 13:05:16 Oh only 1GB. Well it _should_ fit if that's all you're doing. 2022-01-27 13:06:17 I've monitored the RAM usage during some tests and I barely even used ~10% of the avilable RAM. Well below what Raspberry OS Lite used in the same scenario. 2022-01-27 13:06:45 ktprograms: isn't armhf an "older" form of distro build, I always associate it with "hard float" in pre-ARMv7 instruction set 2022-01-27 13:09:06 minimal: armhf (ARM hard float) refers to the ARMv7 architecture including the additional VFP3-D16 floating-point hardware extension 2022-01-27 13:09:23 from https://en.wikipedia.org/wiki/ARM_architecture#Floating-point_(VFP) 2022-01-27 13:09:24 [WIKIPEDIA] ARM architecture#Floating-point (VFP) | "ARM (stylised in lowercase as arm, formerly an acronym for Advanced RISC Machines and originally Acorn RISC Machine) is a family of reduced instruction set computer (RISC) architectures for computer processors, configured for various environments. Arm Ltd. develops the architecture and licenses it to..." 2022-01-27 13:09:56 Is that okay to see something like this "* start-stop-daemon: fopen `/var/run/sshd.pid': No such file or directory" after boot? I see this message for syslog, acpid, crond and other... Alpine 3.15 2022-01-27 13:11:33 ktprograms: and that article mentions that VFPv2 was optional in armv5 and armv6. 2022-01-27 13:13:42 ktprograms: so are you saying that Alpine armv7 packages are built as ARMv7 instruction without VFP support? 2022-01-27 13:14:03 From what I gather from the Alpine Wiki (https://wiki.alpinelinux.org/wiki/Raspberry_Pi), it states that armv7 is only supported for the RPi2 but armhf is supported for all RPis 2022-01-27 13:23:15 minimal: Yes, I think that's what it means, but I'm not certain 2022-01-27 13:23:42 ktprograms: the original RPI (v1) was Armv6, which I assume you would install armhf, not armv7, on 2022-01-27 13:24:17 this certainly implies that the Alpine armhf builds are not specific to armv7 CPUs 2022-01-27 13:24:29 I thought armhf is an extension of armv7 (more modern/featureful)? 2022-01-27 13:24:45 I'm not sure if armv6 is supported by alpine 2022-01-27 13:25:36 i hope to help, not confuse: *Debian* (and many distros) use armhf to mean 'armv7 hardfloat'. *Raspbian* (and Raspberry Pi OS) use armhf to mean 'armv6 hardfloat'. 2022-01-27 13:25:43 i don't know what naming alpine uses. 2022-01-27 13:25:55 Habbie: Interesting 2022-01-27 13:26:17 ktprograms, it is a terrible mess that the raspi community is stuck with - they should have called it armpi or something 2022-01-27 13:26:32 i certainly did not had armv6 hardfloat on my rpi 3b+ 2022-01-27 13:27:23 Oh wow what a hot mess, hahaha. Looks like I'll have to do some more testing on my Pi or I'll have to go back to rasperry os lite :'). 2022-01-27 13:27:35 alpine has armv6hf armhf and armv7hf (which is just armv7) armv7 2022-01-27 13:28:03 s/(.*)// 2022-01-27 13:28:40 Hello71: You didn't escape the brackets in your regex 2022-01-27 13:29:04 it's POSIX BRE 2022-01-27 13:29:33 Then why didn't the bot work? 2022-01-27 13:31:02 i think it doesn't support regex at all 2022-01-27 13:31:07 or flags 2022-01-27 13:45:11 Helo, I am interested in running Alpine on a small diskless server. The handbook mentions that diskless installation is not covered in the handbook. Can you please give me a pointer to a tutorial or sth? :) 2022-01-27 13:47:43 Is the "extended" image intended to be used for this? Why is it extended (larger?) if the purpose is to run from RAM? :D 2022-01-27 13:48:30 if so, it could be because it includes more things that you might need 2022-01-27 13:49:33 AnonymousCat: unlike most other "livecd" distros, alpine does not load all programs into ram at boot 2022-01-27 13:49:53 tiny core linux does the same but in a different way 2022-01-27 14:12:39 Looks like no one knows... :) 2022-01-27 14:33:27 AnonymousCat: maybe that will tell you something: https://wiki.alpinelinux.org/wiki/Alpine_local_backup 2022-01-27 14:34:39 normaly there is no point to use bigger isos until standard one boot fine 2022-01-27 14:35:38 nicknameisalreadyinuse: sounds like you have some franken-alpine 2022-01-27 14:36:47 thanks everyone, bye 2022-01-27 14:47:06 Hello71: what? 2022-01-27 14:49:43 WEEEELLLLLL.... i finally got *something* working in regards to wireguard :D 2022-01-27 14:52:56 time to start working on podman 4.0.0 release https://github.com/containers/podman/blob/main/RELEASE_NOTES.md#400 2022-01-27 14:53:16 somebody is fluent with init stuff ? Like initramfs-lts stuff ? init script ? 2022-01-27 14:55:45 does alpine have a bitcoin wallet in repo? 2022-01-27 15:04:05 MY-R, thanks, I guess I will just start by downloading one of the ISOs (I'll take the large one I think, because it explicitly mentions diskless usage) and see how far it will get me :D Just wanted to make sure that I RTFM before experimenting on my own 2022-01-27 15:11:00 AnonymousCat: The larger ISOs just include more packages locally. Standard is fine for diskless, although extended doesn't hurt if the disk space for the ISO is not an issue. 2022-01-27 15:19:07 damn i thought APKBUILDs supported git sources 2022-01-27 15:19:30 https://wiki.alpinelinux.org/wiki/Creating_an_Alpine_package#source 2022-01-27 15:25:44 that's PKGBUILD 2022-01-27 15:25:59 yeah i must be thinking of that lol 2022-01-27 15:40:26 whats podman? 2022-01-27 15:41:34 docker but no deamon and some other stuff 2022-01-27 15:42:38 oh, nice, i think 2022-01-27 16:07:45 erentarrrr 2022-01-27 18:50:07 hello 2022-01-27 18:50:17 there is an issue with alpine linux APK 2022-01-27 18:50:30 i am trying to do 'apk add dropbear' 2022-01-27 18:50:50 it installs dropbearconvert , dropbear-scp 2022-01-27 18:51:06 while it doesnot install dbclient, which was included in the package 2022-01-27 18:51:47 https://pkgs.alpinelinux.org/package/edge/main/x86/dropbear 2022-01-27 18:51:57 https://pkgs.alpinelinux.org/contents?branch=edge&name=dropbear&arch=x86&repo=main 2022-01-27 18:52:34 the link i sent, check subdirectory 2022-01-27 18:52:52 looks like you need apk adddropbear-dbclient 2022-01-27 18:53:24 https://pkgs.alpinelinux.org/package/edge/main/x86_64/dropbear 2022-01-27 18:53:33 j''ey yes i had to manually do that 2022-01-27 18:53:46 why it doesn't install by default even if it's mentioned in sub-directory 2022-01-27 18:54:10 because it's a separate package 2022-01-27 18:54:25 no issues here 2022-01-27 18:54:26 it's a subpackage 2022-01-27 18:54:56 ah 2022-01-27 18:55:15 i dont plan to run server, so ill install dbclient, dropbearconvert and dropbearkey, scp 2022-01-27 18:55:42 btw, another issue, when i am connected to server idle via dropbear, i have not generated key yet i just did 2022-01-27 18:55:51 'dbclient admin@x.x.x.x' 2022-01-27 18:56:11 after some time, if im idle, i disconnects : connect reset by peer 2022-01-27 18:57:02 connection* 2022-01-27 19:54:39 hii 2022-01-27 19:54:48 ? 2022-01-27 19:56:22 enlight: server may be configured to disconnect idling clients on timeout 2022-01-27 19:56:38 what, 2022-01-27 19:56:53 do you know where i can check the conf. the server is a mere router, 2022-01-27 20:00:26 usually under /etc 2022-01-27 20:00:36 let me try 2022-01-27 20:01:04 nope, not allowed 2022-01-27 20:01:20 ?? 2022-01-27 20:02:46 there is only authorized_key folder in dropkeys 2022-01-27 20:26:10 You can check dropbear's init script for parameters passed to dropbear 2022-01-27 20:27:20 Soory for repeating my question, but is there any way to prevent openrc triggers in apk from running? 2022-01-27 20:27:53 example? 2022-01-27 20:28:12 What are openrc triggers? Or do you mean install_if? 2022-01-27 20:53:16 when apk installs something, there can be a message 'executing openrc*.trigger' or something like that 2022-01-27 20:54:19 I don't think you can skip triggers 2022-01-27 20:59:20 Well... 2022-01-27 21:02:04 i don't think there is such thing as openrc*.trigger 2022-01-27 21:24:54 I feel like I saw one yesterday, but ok anyway 2022-01-28 05:47:55 Does anyone else using XFCE or another DE with gvfs note that after updates on Edge today that their regular user account isn't showing disks/volumes right anymore? 2022-01-28 05:48:43 If I log into XFCE as root, volumes are mounted per normal. Under my account (which is added to disks, plugdev, wheel, etc) it does not show them properly 2022-01-28 05:49:19 Is this a side effect of the pkexec mitigation, or am I just conflating things? 2022-01-28 05:51:13 ACTION uploaded an image: (698KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/LFVyzaIVlsMfqRlVAfiLAcfT/image.png > 2022-01-28 05:51:49 User desktop showing cdrom (not present), usb (not present) and filesystem root and EFI, which it normally does not. It should only be showing an unmounted but present microSDHC card 2022-01-28 05:55:22 ACTION uploaded an image: (137KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/iRotMJESiKzxFQosZOXZHpsF/Screenshot_2022-01-28_00-53-17.png > 2022-01-28 05:55:43 Root desktop showing the expected default configuration, and present but unmounted microSDHC 2022-01-28 10:48:44 Anyone here run edge as a daily driver? 2022-01-28 10:50:06 me 2022-01-28 10:51:14 me 2022-01-28 11:44:16 them 2022-01-28 12:25:32 not me 2022-01-28 12:43:56 guardant[m]: I run stable. It's pretty good. I just move stuff to community/ as I need it 2022-01-28 12:44:05 and compile via aports in the mean time 2022-01-28 12:44:47 anjan: Why do that instead of use edge? 2022-01-28 12:45:18 ktprograms: I like stuff not breaking and having to fix it. This is my work machine. 2022-01-28 12:45:28 It's only a couple packages anyways 2022-01-28 12:45:37 and I improve alpine stable. 2022-01-28 12:45:41 anjan: Ok makes sense. But doesn't compiling from testing have a risk of breaking? 2022-01-28 12:45:59 ktprograms: those packages are not crucial, just a bunch of games 2022-01-28 12:46:06 ah 2022-01-28 12:46:16 I carefully audit the packages Ive stored locally 2022-01-28 12:46:20 alpine is great for that 2022-01-28 12:46:33 I have tagged edge repos and install packages I need 2022-01-28 12:46:50 6 months release cycle is ideal. I can usually find a weekend in 6 months to upgrade and workaround potential issue 2022-01-28 12:46:58 alpine is my perfect os =D 2022-01-28 12:47:18 awesome 😄 2022-01-28 12:51:16 I’m running stable but not a huge fan of the outdated browser packages 2022-01-28 12:51:30 PJ[m]: How do you do these 2022-01-28 12:51:36 guardant[m]: ya, firefox-esr is up to date 2022-01-28 12:51:41 * How do you do this 2022-01-28 12:51:48 Would prefer chromium 2022-01-28 12:51:52 Or regular FF 2022-01-28 12:51:56 guardant: `@tag-name https://...` 2022-01-28 12:52:01 in /etc/apk/repositories 2022-01-28 12:52:11 then just `apk add package@tag-name` 2022-01-28 12:52:12 mixing repos is not recommended 2022-01-28 12:52:26 Might try it 2022-01-28 12:52:27 although Ive done the tagging myself 2022-01-28 12:52:33 Will this still update it tho 2022-01-28 12:52:50 suppose a library on edge updates and package is compiled against the new version 2022-01-28 12:52:54 guardant[m]: it will 2022-01-28 12:53:04 Alright thanks 2022-01-28 12:53:04 the only thing that might happen if there is ABI breaking change between software, which might or not make debugging issue painful 2022-01-28 12:53:07 Might try it 2022-01-28 12:53:09 according to edge branch for better or worse 2022-01-28 12:54:38 Yeah 2022-01-28 12:54:41 How stable it edge? 2022-01-28 12:54:44 Some have said more stable than arch 2022-01-28 12:54:45 Others have said not very stable at all 2022-01-28 12:54:47 I’d consider arch as pretty stable 2022-01-28 12:55:33 guardant[m]: It only has stable versions of packages, no beta/git versions, so in that sense it's quite stable 2022-01-28 12:56:11 On the other hand, in the middle of the Python 3.9 -> Python 3.10 upgrade, large parts of edge were broken 2022-01-28 12:56:13 I’m guessing things don’t break too much? 2022-01-28 12:56:33 Only in major upgrades of packages that are used widely 2022-01-28 12:57:47 guardant[m]: https://gitlab.alpinelinux.org/alpine/aports/-/issues/12960 this made me scared to run edge 2022-01-28 12:58:11 It was fixed before I even woke up but if I updated and ran into that before a meeting.... 2022-01-28 12:59:40 guardant[m]: as someone that used arch for 5 years, the no aur helps stability so it's more stable than arch. But the only way to be sure something will work from yesterday is to be conservative with upgrades 2022-01-28 13:00:03 edge > arch in terms of stability 100% 2022-01-28 13:00:08 Edge is mostly stable for me, except times when they update the kernel and gcc sfter it 2022-01-28 13:00:12 So my modules wont build 2022-01-28 13:00:19 But i keep edge kernel as backup 2022-01-28 13:02:57 anjan: I feel that edge is veeery stable but anyway you shouldn't use it if you are looking/expecting stability 2022-01-28 13:03:31 is there some package that you need from edge? 2022-01-28 13:09:10 For me I just want the up to date browsers 2022-01-28 13:09:16 Especially chromium 2022-01-28 13:09:32 that might be a problem 2022-01-28 13:09:35 Currently using flatpak Firefox which is slow to start 2022-01-28 13:09:46 Yeah 2022-01-28 13:10:44 Ff is blocked by icu at the moment 2022-01-28 13:19:27 What 2022-01-28 13:20:32 newer versions are blocked by icu, icu needs to be upgraded first 2022-01-28 13:21:38 there is also mr for moving ff from community to testing 2022-01-28 13:24:26 lol 2022-01-28 13:32:44 a well, while having ff-esr, it makes sense 2022-01-28 14:49:28 guardant: Me for almost 2 years now. Echoing others, it is quite stable with the exception of a literal handful of times where big libraries were updated 2022-01-28 14:50:27 Much like anjan said, if I wasn't obsessively using topgrade, I never would have been bit by most of them, but since I check at least once per session I updated packages mid-upgrade and things were rough for a day or so. System was totally stable, but in the few times I got bit, GNOME Builder was broken and I rely upon that a lot 2022-01-28 14:51:07 Like it way more than Solus's weekly sync, less issues, more reliable. Obviously way more up to date than any Debian-derived (including Siduction) 2022-01-28 18:36:07 Trying to understand something I've seen now a couple times on different servers. After a apk update / upgrade and reboot, crond evidently failed to start. rc-status shows crond stopped, a rc-service crond start results in: ..... start-stop-daemon: /sbin/syslogd is already Failed to start busybox syslog, ERROR: cannot start crond as syslog would not start . 2022-01-28 18:37:26 In the other cases I had not noticed it for a number of days and did another upgraded and restarted and things were fine. I have a server right now that is in this state that I don't need working again immediately, so I'm investigating the issue. Any thoughts? 2022-01-28 18:45:35 Entelin: fix your syslog? 2022-01-28 18:48:39 it looks like syslog returns an error when starting while already running. The other rc scripts return 0. 2022-01-28 18:50:14 for example chronyd when already running does not generate an error. So either syslogd is to blame, or the rc script 2022-01-28 18:51:23 going to upgrade again and see if there were changes with this 2022-01-28 18:52:09 https://gitlab.alpinelinux.org/alpine/aports/-/issues/13294 this looks the same 2022-01-28 18:52:55 Entelin: this is not a crond issue, its a syslogd issue so you need to focus on that 2022-01-28 18:53:05 yeah 2022-01-28 18:53:14 any service that depends on the syslogd service will exhibit the same situation 2022-01-28 18:55:15 indeed in that Issue I also indicated to the reporter that they needed to look at the syslog problem rather than cron 2022-01-28 18:55:23 the update touched busybox, and after reboot crond was started, and yes /etc/init.d/syslog now does not return an error 2022-01-28 18:55:54 I'm pretty sure this same issue was caused on at least two occasions 2022-01-28 18:56:15 once maybe a month ago, and again on the 20th 2022-01-28 18:56:43 anyway, I'll comment on that ticket 2022-01-28 19:03:45 Entelin: was there anything in the logfiles such as /var/log/messages? 2022-01-28 19:04:19 no, but I have a lot of stuff in there and I think it got rotated out 2022-01-28 20:59:35 When apk upgrade updates the running kernel, it wipes the running kernels modules off the system. Is there a way to prevent this? 2022-01-28 20:59:43 No 2022-01-28 20:59:49 The modules are part of the kernel package 2022-01-28 21:00:19 If you cache the packages, you could restore them afterwards 2022-01-28 21:00:42 So like, way back, I remember distros generally kept the modules until a manual delete. But these days distros wipe them. Why? this seems like a poor default? 2022-01-28 21:01:53 #12157 2022-01-28 21:02:01 I know arch behaves the same way, just deletes them 2022-01-28 21:02:19 Just a consequence of how the package managers work 2022-01-28 21:02:42 In most cases it's wanted bahiour (cleaning up files that are no longer in the new package) 2022-01-28 21:02:48 I wonder if I'm remembering a time when I was just compiling the kernel myself... 2022-01-28 21:02:49 but for kernel modules, it's an issue 2022-01-28 21:03:08 I used slackware for quite awhile 2022-01-28 21:04:02 then gentoo, so yeah maybe thats what I'm thinking 2022-01-28 21:05:08 https://lists.alpinelinux.org/~alpine/devel/%3C86c7a81e-1640-7f82-9e13-dfdbe1aad07b%40gmail.com%3E#%3C20210120102309.32fed780@ncopa-desktop.lan%3E as well 2022-01-28 21:06:26 hmm ok thanks 2022-01-28 21:07:54 won't be enough to remove them on next start? 2022-01-28 21:10:51 it could do that, but so could the user, or a cleanup script. The running kernel looks for /lib/modules/ right? So just keeping that directory is good enough. The kernel would be kept as well, and the grub entry kept so that if things don't go well, you can just pick the previous kernel and be good 2022-01-28 21:12:26 According to ikke's link apt works that way, so maybe that's also what I'm remembering. If modules are wiped you can get various kinds of issues of course until reboot. Things not mounting, new devices like usb sticks or whatever not working, etc 2022-01-28 21:12:47 on arch I just restore the modules from the running kernel after upgrading 2022-01-28 22:18:36 Entelin: there is a way to get rollbacks, atomic upgrades and boot environments in Alpine, but it's kinda complex: https://wiki.alpinelinux.org/wiki/Immutable_root_with_atomic_upgrades 2022-01-28 22:19:48 what would workaround the issue you've got, but obviously has it's own drawbacks 2022-01-28 23:40:20 genkitj: Thanks bookmarking that, ill have a look next week 2022-01-28 23:40:25 o/ 2022-01-29 13:05:54 I tried to create a page on x11vnc on the alpine wiki today and it errored out telling me to contact an admin to gain privileges to do this 2022-01-29 13:05:58 how can I do that? 2022-01-29 13:14:34 f1{_}ff}{: what is your username there? 2022-01-29 13:14:53 fluffeh 2022-01-29 13:16:53 should work now 2022-01-29 13:19:03 it works 2022-01-29 13:19:04 thanks 2022-01-29 13:24:48 how is it if I have a 3.14.2 installation and upgrade that into 3.15... are the local apk files replaced aswell so there is no difference compared to if I do a clean install from a 3.15 iso or will the 3.14.2 packages remain in the background and then 3.15 are added on top of those? 2022-01-29 13:27:58 Apachez: make sure you use --available, otherwise some packages may be held back due to dependencies 2022-01-29 13:28:08 But otherwise, it should be very similar 2022-01-29 13:28:17 tnx 2022-01-29 13:35:49 Apachez: Also ake sure that alpine-keys is upgraded properly as stated in the release notes: https://alpinelinux.org/posts/Alpine-3.15.0-released.html (Upgrade Notes section) 2022-01-29 13:40:09 And here for instructions how to fix it afterwards: https://wiki.alpinelinux.org/wiki/Release_Notes_for_Alpine_3.15.0#New_package_signing_keys 2022-01-29 13:40:50 ikke: Is it right that it says use the 3.14 repo? 2022-01-29 13:41:02 ktprograms: I wrote it when 3.15 was not available yet 2022-01-29 13:41:10 but it doesn't matter too much 2022-01-29 13:41:27 Is the correct version in 3.14? 2022-01-29 13:41:30 yes 2022-01-29 13:41:40 The keys have been backported to 3.11 2022-01-29 13:41:43 Ok that's fine then 2022-01-29 14:23:25 kt: tnx 2022-01-29 16:56:34 I get this error on mosh: The locale requested by LANG=C.UTF-8 isn't available here. 2022-01-29 16:57:48 "Running `locale-gen C.UTF-8' may be necessary." anynone know what could I do? locale-gen doesn't seem available on alpine 2022-01-29 17:01:11 musl does not have separate locales, C.UTF-8 is the default 2022-01-29 17:01:47 I think that I edited LANG in the past due this problem 2022-01-29 17:01:54 donoban: It works for me btw 2022-01-29 17:01:55 maybe the problem is on the host? 2022-01-29 17:02:08 could happen that the host doesn't support C.UTF-8? 2022-01-29 17:02:17 mosh to alpine server with LANG=C.UTF-8 2022-01-29 17:02:26 I mean, the server where I trie to connect 2022-01-29 17:02:30 it is centos 2022-01-29 17:02:34 Yes, that could be 2022-01-29 17:03:26 ok 2022-01-29 17:27:57 weird, if I manual run mosh-server and mosh-client it works fine :\ 2022-01-29 19:12:52 What happened with this group? https://gitlab.alpinelinux.org/team/mentors 2022-01-29 19:13:06 what about it 2022-01-29 19:13:12 it's still pingable 2022-01-29 19:38:01 It seems to be empty 2022-01-29 19:38:51 the members list is not 2022-01-29 19:38:52 https://gitlab.alpinelinux.org/groups/team/mentors/-/group_members 2022-01-29 19:39:50 Ermine: We use those groups just as 'user' groups 2022-01-29 19:39:57 not to host projects 2022-01-29 19:41:46 Got it 2022-01-29 20:45:44 Can I opt in as apprentice? 2022-01-29 20:51:37 Sure, though we do not yet have any program for mentees. In general, you can start contributing by making merge requests. You can either add new packages yourself or maybe try to fix / update some other packagtes 2022-01-29 21:14:09 if Ermine needs something to do, I noticed recently that dfu-programmer isn't packaged yet. no updates since 2015, builds fine. 2022-01-29 21:14:44 ikke, bdju: thank you 2022-01-29 21:19:35 Ermine: feel free to ask us questions here if you are uncertain about things 2022-01-29 22:10:12 hiiiii 2022-01-29 22:16:08 Hiii 2022-01-29 22:16:26 where is $PATH file in alpine linux 2022-01-29 22:16:41 there is no bashrc created by default and in /etc/profile is just empty 2022-01-29 22:16:54 bdju: why not use dfu-util? 2022-01-29 22:17:07 then create a bashrc or edit the profile and add stuff to it 2022-01-29 22:17:08 enlight: in /etc/profile, the default PATH is set 2022-01-29 22:17:12 adding stuff to ~/.profile should work 2022-01-29 22:17:22 enlight: /etc/profile is not empty 2022-01-29 22:17:31 same for ~/.bashrc if you use bash as a shell 2022-01-29 22:17:42 It comes with alpine-baselayout 2022-01-29 22:18:35 it is not empty but it is unmodified default 2022-01-29 22:19:15 alpine linux uses ash as shell by default, not bash 2022-01-29 22:20:36 yeah 2022-01-29 22:20:46 i see append path variable 2022-01-29 22:22:43 so instead of export PATH= , can i manually add in this profile file my path 2022-01-29 22:23:30 You can set it in ~/.profile if you want a different path 2022-01-29 22:23:37 you can also just add items 2022-01-29 22:23:47 export PATH="$PATH:/foo/bar" 2022-01-29 22:27:25 leah2: does that work for flashing a qmk layout hex file to hardware? never tried it 2022-01-29 22:28:18 sudo dfu-util -d 0483:df11 -a 0 -s 0x08000000:leave -D preonic_rev3_leah2-us-intl-caps.bin 2022-01-29 22:28:29 i think so 2022-01-29 22:29:17 hex or bin, idk 2022-01-29 22:41:55 ikke: okay :) 2022-01-29 22:42:51 Ermine: We also have a dedicated channel for developers (#alpine-devel), feel free to join 2022-01-29 22:43:20 ikke: yeah, I've already joined 2022-01-29 22:44:17 ok, good 2022-01-29 22:49:21 leah2: hm, the usual qmk compile command I do makes a hex, but I will check into that later. thanks for the info 2022-01-29 22:49:56 now that I look at my shell history, I have used dfu-util for flashing pinecil firmware 2022-01-29 22:50:03 again, a .bin, though 2022-01-29 22:51:44 make preonic/rev3:leah2-us-intl-caps:dfu-util 2022-01-29 22:51:53 that worked in 2020 2022-01-29 22:52:31 I usually do something like: qmk compile -kb ploopyco/trackball -km keymapname 2022-01-29 22:52:47 so if make makes a bin then I'll give that a go (after confirming whether dfu-util can do a .hex) 2022-01-29 22:53:22 cant you use qmk flash then? 2022-01-30 00:00:40 leah2: maybe. historically I couldn't get qmk tools set up properly on my main machine, so I'd compile on my remote arch server, stfp over the hex, then flash it from my Guix System machine. but I also set up qmk on my Pinebook Pro running postmarketOS now, so I might actually be able to do the whole process on there. haven't tried it yet 2022-01-30 01:02:37 anyone use any CAD software on alpine? what are the available options? I don't see FreeCAD 2022-01-30 01:03:27 freecad exists in edge/testing 2022-01-30 01:05:04 I used freecad with flatpak 2022-01-30 02:03:50 hm from postmarketOS edge I don't see it there. I thought all alpine stuff was available 2022-01-30 02:06:04 did you add the testing repository 2022-01-30 02:06:26 but i also have no idea how the postmarket repos work 2022-01-30 02:06:45 i see postmarket mrs all the time so i assume you're supposed to mix both? no idea 2022-01-30 02:10:56 good question. I haven't actually looked at the repo list 2022-01-30 02:11:19 I think of the repos as being upstream alpine + some downstream stuff specific to mobile devices to fix certain things 2022-01-30 02:11:34 mostly kernels 2022-01-30 02:12:06 ah 2022-01-30 02:12:19 yeah, just make sure alpine edge testing is in there 2022-01-30 02:12:28 edge/main, edge/community, edge/testing are all in my repositories file. and then the postmarketos repo also 2022-01-30 02:12:43 if you have 'http://dl-cdn.alpinelinux.org/alpine/edge/testing' then it should be fine 2022-01-30 02:12:44 shrug 2022-01-30 02:12:50 oh 2022-01-30 02:12:52 what is your arch 2022-01-30 02:12:54 it's http://dl-2.alpinelinux.org/alpine/edge/testing 2022-01-30 02:12:55 oh 2022-01-30 02:13:00 aarch64... yeeeeah 2022-01-30 02:13:04 that's maybe the issue 2022-01-30 02:13:08 it's only on x86_64 2022-01-30 02:13:18 alright thanks for checking 2022-01-30 02:13:21 because of opencascade 2022-01-30 02:13:55 I'm not sure what opencascade is, but *that* shows up in a package search 2022-01-30 02:16:09 I don't really need freecad, was just thinking if I got into cad stuff (for fun) I would probably use that. but I have other computers I could use also 2022-01-30 02:16:40 well opencascade is now enabled on other arches 2022-01-30 02:16:47 i think freecad could potentially be built on more 2022-01-30 02:17:12 you can ask the maintainer if you want 2022-01-30 02:17:18 hm, alright. I checked the AUR package build for freecad-git and it's also only x86_64 there 2022-01-30 02:17:41 prolly more than one dep 2022-01-30 02:17:41 how do I find out the maintainer? 2022-01-30 02:17:51 but also arch is not what i would consider to be a good source 2022-01-30 02:17:58 uhh listed on pkgs.a.o 2022-01-30 02:18:02 or ask them in -devel 2022-01-30 02:18:05 I just know how to check that for AUR stuff so I often look there for this sorta thing 2022-01-30 02:18:08 boomanaiden154 2022-01-30 02:18:55 what/where is pkgs.a.o? 2022-01-30 02:19:14 pkgs.alpinelinux.org 2022-01-30 02:19:21 oh 2022-01-30 02:19:22 but you can just join #alpine-devel and ask that person 2022-01-30 02:20:55 thanks 2022-01-30 02:27:07 I think in the MR for enabling freecad on more arches, it was stated that tests fail on aarch64 2022-01-30 02:36:20 ah, didn't see an MR yet 2022-01-30 02:36:28 https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/27710/diffs 2022-01-30 02:36:41 thanks 2022-01-30 02:36:46 Basically disables everything except x86_64 so the MR won't change anything 2022-01-30 02:36:58 Not sure why the tests fail on aarch65 2022-01-30 02:37:02 s/65/64 2022-01-30 02:37:02 ktprograms meant to say: Not sure why the tests fail on aarch64 2022-01-30 02:38:25 if I want to build a custom kernel/initramfs for an rpi using diskless install/apkovl (preferably *on* the rpi), can I get mkinitfs to put it together and drop those in /boot? 2022-01-30 02:41:35 bdju: Gentoo seems to have it working for all archs except amd64, but with quite a few patches: https://gitweb.gentoo.org/repo/gentoo.git/tree/media-gfx/freecad 2022-01-30 02:43:53 that is only amd64 2022-01-30 02:44:06 no other arches 2022-01-30 02:44:30 ~amd64 means keyworded unstable on amd64 2022-01-30 02:44:47 Oh right, sorry 2022-01-30 02:44:59 misread the ebuild docs 2022-01-30 02:46:04 I've never looked at an ebuild before. seems harder to parse than other stuff 2022-01-30 02:53:05 hmm, maybe I can use update-kernel -b, looks like it wraps mkinitfs and some other stuff 2022-01-30 09:31:50 #13483 2022-01-30 12:00:01 ikke: if I add package xyz to depends in APKBUILD, do I need to add xyz-dev to makedepends ? 2022-01-30 12:01:13 probably only if it's required to make it 2022-01-30 12:03:55 Ermine: In most cases, if you have pkg-dev in makedepends, you do not need pkg in depends 2022-01-30 12:04:03 abuild traces the runtime so dependencies automatically 2022-01-30 17:40:14 hey alpine ppl :) how are you doing? 2022-01-30 17:42:34 there is a nice project out ther called rqlite. distributed version of sqlite. they even do musl release builds for alpine. i wonder why it is not included in alpine packages. couldn't find it even in edge repo. 2022-01-30 17:43:08 sounds like nobody made a port 2022-01-30 17:44:34 gabes: we don't go out looking for things to package 2022-01-30 17:44:42 people package things when they need them 2022-01-30 17:44:55 Does it let you stuff a 4GB BLOB in an INT(1) column like sqlite does? 2022-01-30 17:46:37 @ikk i see thanks. so iiuc basically the rqlite team should make a pkg and propose to alpine. that's the work flow? 2022-01-30 17:47:06 gabes: typically someone who uses alpine and wishes to contribute and maintain the package 2022-01-30 17:47:21 Ah, it's actually backed by sqlite :/ 2022-01-30 17:48:47 I can try to package rqlite 2022-01-30 17:49:43 But I have zero experience with go 2022-01-30 17:50:00 Xion, did you see https://www.sqlite.org/stricttables.html ? 2022-01-30 17:52:24 i started to use rqlite and found it super weird to have a regular working "musl" release out there on github and not in alpine repo. it would be so nice to have this one. i wrote a working rc-init script for rqlite i could also share. 2022-01-30 17:52:52 It's nice to know that as of 2021 they finally have that as a non-default option... 2022-01-30 17:57:39 gabes: sometimes developers do not create packages for specific distro, leaving this work to distro maintainers 2022-01-30 18:01:43 Ermine i see, thanks. so i am actually at the right place then. 2022-01-30 18:55:18 gabes: btw they seem to provide pre-built standalone versions, are these suitable for you? 2022-01-30 18:57:30 i can package it if you want me to 2022-01-30 18:57:42 hii friends 2022-01-30 19:14:48 Ermine yes i am using the latest pre-built musl binary of rqlite. i noticed they just released a new major version and a following point release. i am gonna upgrade soon and check if everything works on my cluster. 2022-01-30 19:16:06 psykose that would be very nice, thank you 2022-01-30 19:45:55 gabes: does !30231 look usable to you 2022-01-30 19:53:07 psykose: I suppose in this case instead of installing everything in the main package and later moving it to each subpackage, you could just install it immediately in each subpkg 2022-01-30 20:02:45 sure 2022-01-30 20:05:39 psykose i am sorry, i am toally new to packaging. but i am gonna test it when ready. 2022-01-30 20:07:15 sure, it will be in edge/testing in a bit then 2022-01-30 20:07:51 also i am gonna use this opportunity to learn more about packaging. 2022-01-30 20:07:51 i started using alpine 2 years ago in my homelab. as i go and learn more i am converting more and more of my containers from ubuntu to alpine whenever possible. 2022-01-30 20:17:44 for a simple multi node service like rqlite, alpine is a perfect match. i was struggling with their docker build a lot and gave up. simple binary on alpine works flawlessly. also saved some resources to not have a docker instance on every node. 2022-01-30 20:19:05 where did the docs go? 2022-01-30 20:19:16 joecool: what docs? 2022-01-30 20:19:50 that's weird, loading now 2022-01-30 20:20:09 I was getting a nginx not found error everytime I went to docs.alpinelinux.org 2022-01-30 20:20:12 gabes: well, it's on edge testing if you want to try the repo version :) 2022-01-30 20:20:23 also note the client is in rqlite-client and rqlited is in rqlite 2022-01-30 20:20:50 after it builds anyway 2022-01-30 20:24:13 psykose i will try and report back if any issues found. big thanks for your effort. 2022-01-30 20:29:08 I'll then update this page: https://wiki.alpinelinux.org/wiki/APKBUILD_examples:Go 2022-01-30 20:33:02 psykose yeah i see now. it make sense to have multiple packages b/c on a node usually i only need the daemon - rqlited 2022-01-30 21:10:24 hi 2022-01-30 21:10:26 https://www.linuxjournal.com/content/virtual-machine-startup-shells-closes-digital-divide-one-cloud-computer-time 2022-01-30 21:51:04 enlight: this article is year old 2022-01-30 21:52:24 also this isn't leenode 2022-01-30 22:56:36 i'm trying to setup on rpi and the rootfs is coming up ro every time, making localmount service barf 2022-01-30 22:56:44 i think i followed the wiki instructions right 2022-01-30 22:56:48 what could cause this? 2022-01-30 22:56:59 if i remount it rw then start localmount service it runs 2022-01-30 23:50:48 dalias: /etc/init.d/root will remount it rw, its a dependacy of some other init.d services including localmount 2022-01-31 00:08:03 hm, wonder why it didn't then 2022-01-31 00:08:26 i got it to work by adding rootflags=rw to cmdline.txt on boot partition 2022-01-31 00:16:23 dalias: I must admit I'm using Sys mode (run-from-disk rather than run-from-Ram) on all my devices including RPIs. What I see is that initramfs's nlplug-findfs mounts root ro before then switching to openrc/busybox init and /etc/init.d/root then switches the ro to rw. 2022-01-31 00:18:49 dalias: the /etc/init.d/root has a dep on /etc/init.d/fsck 2022-01-31 00:19:06 so unless that failed I don't see why the rw remount wouldn't occur 2022-01-31 00:21:47 i'm also using run from disk 2022-01-31 00:22:04 run-from-ram would be crazy when you only have 1GB... 2022-01-31 00:24:50 dalias: strange then. Again I should cavest that I don't install using setup-alpine etc. I have my own script for creating tailored Alpine SD ready-to-boot images :-) 2022-01-31 00:24:57 s/cavest/caveat/ 2022-01-31 00:24:57 minimal meant to say: dalias: strange then. Again I should caveat that I don't install using setup-alpine etc. I have my own script for creating tailored Alpine SD ready-to-boot images :-) 2022-01-31 00:25:37 yeah i used it and followed the wiki insns 2022-01-31 00:26:30 I was going to suggest editing /etc/rc.conf to set rc_logger="YES" but obviously if root is RO that's not going to work :-) 2022-01-31 00:28:45 you could try adding a "sleep" to one of the init.d services to stop things scrolling of the screen and then have a look at the sequence of init.d services during boot 2022-01-31 00:29:04 you should see a "Checking local filesystems..." for init.d/fsck followed by 2022-01-31 00:29:18 "Remounting root filesystem read/write" 2022-01-31 07:35:52 i wonder when s6 will be ready to replace openrc 2022-01-31 07:36:02 maybe this year 2022-01-31 07:36:49 i noticed this gets used sometimes https://github.com/just-containers/s6-overlay 2022-01-31 07:49:28 dngray[m]1: openrc will be replaced when s6-rc v1 is ready 2022-01-31 07:49:48 right, that makes sense 2022-01-31 07:50:06 i wonder if gentoo will eventually replace openrc 2022-01-31 07:50:11 https://wiki.gentoo.org/wiki/S6-rc 2022-01-31 07:53:57 I don’t think they will 2022-01-31 07:54:01 At least not for a long time 2022-01-31 09:00:52 bdju: dfu-programmer is now available in testing 2022-01-31 09:07:48 da's.. positief! 2022-01-31 09:08:01 whoops 2022-01-31 09:35:25 so looking at terminus-font on alpine linux 2022-01-31 09:35:36 but it seems the default ones don't like alpine linux's apk update progress bar 2022-01-31 09:37:21 https://pkgs.alpinelinux.org/contents?branch=edge&name=terminus-font&arch=x86_64&repo=main 2022-01-31 09:37:25 which one would you suggest? 2022-01-31 09:38:32 i tried with ter-132n 2022-01-31 09:52:12 Maxim Karasev: what font do you mean not terminus? 2022-01-31 09:52:30 i just want a simple font that looks okay on hidpi, for tty 2022-01-31 09:54:00 hmm i don't think i have that 2022-01-31 09:54:26 oh wait maybe i do 2022-01-31 09:54:48 yeah 2022-01-31 09:56:22 oh 2022-01-31 09:56:26 i don't think those are consolefonts 2022-01-31 09:57:06 yeah you can't set those 2022-01-31 10:09:44 im just making myself a little alpine linux livecd 2022-01-31 10:09:46 live usb stick 2022-01-31 10:10:04 then i finally can get rid of my debian isos 2022-01-31 10:10:20 i really only use alpine linux and silverblue these days 2022-01-31 10:12:59 https://wiki.alpinelinux.org/wiki/Sway#Prerequisites which is better i wonder seatd or elogind 2022-01-31 10:25:22 i wonder how well flatpak works on alpinelinux 2022-01-31 10:25:36 oh probably not too well given it's musl based 2022-01-31 10:26:31 yeah that's the approach i went with 2022-01-31 10:26:39 don't k now much about it cos i am systemd user mostly lol 2022-01-31 10:26:49 yeah 2022-01-31 10:27:02 no problem once i chezmoi init/chezmoi apply 2022-01-31 10:28:39 yeah i would think so 2022-01-31 10:28:47 that's why i was thinking it would be perfect for alpine linux 2022-01-31 10:28:51 because firefox, is a bit behind 2022-01-31 10:35:03 dngray[m]1: Flatpak works well for me. It also seems to provide a glibc environment so that's good 2022-01-31 10:36:58 nice 2022-01-31 10:37:15 will work for a super small alpine install 2022-01-31 10:37:27 tbh i think getting things like flatpak working on alpine should be a priority 2022-01-31 10:37:40 that way devs can work on bits other than things like packing "some random app" 2022-01-31 10:37:58 so nice to see that works 2022-01-31 10:41:16 oh, no ktls support in nginx on alpine 2022-01-31 10:49:31 for the flatpaks i use it's the devs of the software 2022-01-31 10:49:40 but its good because i can install them in my homedir 2022-01-31 10:49:55 which is on a separate storage device 2022-01-31 10:50:28 now all i need to figure out is how to add my CA 2022-01-31 11:12:36 dngray[m]1: I think questions about s6 would have more informative answers if asked on #alpine-devel, skarnet 2022-01-31 11:12:50 is quite responsive there 2022-01-31 11:15:13 as I see on git, s6 has very active development, but s6-rc 1.0 branch has no commits since jul 2021 if I remember correctly 2022-01-31 11:15:48 perfection takes time 2022-01-31 12:40:08 cointop seem to suggest you should be able to just 'ssh cointop.sh', but im getting: Unable to negotiate with 35.174.113.238 port 22: no matching host key type found. Their offer: ssh-rsa 2022-01-31 12:41:22 well their suggestion was true *in the past*, but openssh moved on 2022-01-31 12:41:29 try -oHostkeyAlgorithms=+ssh-rsa 2022-01-31 12:42:13 related to recent OpenSSH versions dropping support for usage of SHA-1 in signatures 2022-01-31 12:43:21 grawity: nice :] 2022-01-31 13:01:20 Ermine: awesome! thanks for packaging it. 2022-01-31 13:38:07 hmm that's weird, i can't get pipewire to start 2022-01-31 13:39:31 https://wiki.alpinelinux.org/wiki/PipeWire 2022-01-31 13:39:35 like that 2022-01-31 13:40:46 trying to get pavucontrol to work 2022-01-31 13:40:49 i get audio which is weird 2022-01-31 13:41:09 but pavucontrol gives me t he connection to pulseaudio failed 2022-01-31 13:41:54 seems to be 2022-01-31 13:42:51 oh i might not have set that up 2022-01-31 13:46:56 hmm it thinks host is down 2022-01-31 13:52:11 heh you know what's weird mpv doesn't work when pipewire is started 2022-01-31 13:52:13 but works when it isn't 2022-01-31 13:52:19 i wonder if it falls back to using alsa directly 2022-01-31 13:56:46 figured it out 2022-01-31 13:58:18 no maybe not lol 2022-01-31 14:05:14 i thought it might have been i needed to do `export $(dbus-launch)` 2022-01-31 14:05:26 as `DBUS_SESSION_BUS_ADDRESS` wasn't set 2022-01-31 14:06:41 but yes obviously not working because sound doesn't work in firefox 2022-01-31 14:13:27 If u use Wayland its dbus-run-session 2022-01-31 14:14:48 Could you give me more info like desktop/wm and how u login 2022-01-31 14:19:59 https://clbin.com/5Rkkh 2022-01-31 14:20:03 seems to be the error im getting 2022-01-31 14:20:22 so i'm using: dbus-launch --exit-with-session sway 2022-01-31 14:20:33 and i have set it up exactly like that article 2022-01-31 14:20:49 as for sway, i used the first method https://wiki.alpinelinux.org/wiki/Sway with seatd 2022-01-31 14:21:13 dbus is certainly running 2022-01-31 14:21:51 weird there's multiple dbus-daemons running 2022-01-31 14:22:07 oh maybe not 2022-01-31 14:22:38 i also followed that part there https://wiki.alpinelinux.org/wiki/PipeWire#Installation_and_configuration 2022-01-31 14:23:23 i made sure `DBUS_SESSION_BUS_ADDRESS` was exported ie by running `export $(dbus-launch)` 2022-01-31 14:24:52 could u try rebooting and starting with dbus-run-session sway 2022-01-31 14:25:26 and if wireplumber does not work u could try the older pipewire mediasession 2022-01-31 14:32:44 i did notice this https://wiki.alpinelinux.org/wiki/Release_Notes_for_Alpine_3.15.0#PipeWire_doesn.27t_auto-start_a_session_manager_anymore 2022-01-31 14:33:57 okay i think pipewire does start 2022-01-31 14:34:04 but it doesn't detect anything but my microphone 2022-01-31 14:34:11 (when i manually start it) 2022-01-31 14:35:03 ah now i got it working! 2022-01-31 14:35:41 i changed the configuration profile to "Pro Audio" 2022-01-31 14:44:31 Nice 2022-01-31 14:46:11 ill try rebooting now entirely 2022-01-31 15:50:41 wonder if there's a nice way to set XDG_RUNTIME_DIR automatically. 2022-01-31 15:50:51 ie not in my *.rc file 2022-01-31 15:51:21 ideally i'd like to set XDG_DATA_HOME and XDG_CONFIG_HOME could do it in /etc/profile i guess 2022-01-31 15:51:45 want to set it for all users 2022-01-31 15:52:38 doesn't seem to be a standard way to set those things 2022-01-31 16:09:06 seems the way to do it is this https://wiki.alpinelinux.org/wiki/Wayland 2022-01-31 16:27:02 https://old.reddit.com/r/linux/comments/ln02y6/how_to_switch_to_pipewire_while_using_sway/gnz58c9/ looks like this is the way to start pipewire 2022-01-31 16:27:03 [REDDIT] Comment by cmason37 | 15 points | Posted at 2021-02-19 - 05:17:21UTC | If you're on `systemd`, `pipewire`, just like `pulseaudio`, shouldn't be started manually. The recommended way to start is to just enable the user socket `pipewire-pulse` like so: `systemctl --user enable --now pipewire.socket pipewire-pulse.socket`. […] 2022-01-31 16:27:51 so when not using elogind might be just worth starting it in sway startup section 2022-01-31 16:28:27 ngl these are the sorts of things that make me hate openrc lol 2022-01-31 16:28:55 is s6 has units then that i reckon will make a lot of these things "more systemd like" without being systemd so that should keep people happy who don't like systemd 2022-01-31 20:04:42 good evening, is there a way to commit all the installed packages and their configurations using `lbu`? 2022-01-31 20:05:12 zsoltiv_: how does that differ from what lbu does by default? 2022-01-31 20:05:27 AFAIK, it only commits /etc by default 2022-01-31 20:05:43 doesn't it? 2022-01-31 20:05:50 which includes /etc/apk/world, which is the list of installed packages 2022-01-31 20:06:22 (list of explicitly installed packages, dependencies are pulled in automatically) 2022-01-31 20:06:33 oh, i see 2022-01-31 20:07:09 so far, i've been `lbu inc`-ing the directories i wanted 2022-01-31 20:07:21 thanks for the heads up 2022-01-31 21:32:43 hello 2022-01-31 21:32:49 where is ncurses installed? 2022-01-31 21:32:57 i did apk add ncurses-devel 2022-01-31 21:32:58 apk info -L ncurses 2022-01-31 21:33:05 apk info -L ncurses-dev 2022-01-31 21:33:58 is there a binary too? 2022-01-31 21:34:18 i am trying to compile a program which depend on ncursesw, so i should include path of ncursesw.so ? 2022-01-31 21:34:49 https://pkgs.alpinelinux.org/contents?branch=edge&name=ncurses&arch=x86_64&repo=main 2022-01-31 21:35:38 once you have ncurses-dev installed, it should be able to find it 2022-01-31 21:39:10 it didn't find 2022-01-31 21:39:19 so i have to manually include path 2022-01-31 21:40:01 should i include path to=usr/include/ncurses.h ? 2022-01-31 21:40:33 include path are directories to look in 2022-01-31 21:40:40 not paths to files 2022-01-31 21:41:10 enlight: what is the error you are receiving? 2022-01-31 21:42:54 unable to find ncursesw library 2022-01-31 21:44:37 what are you building? 2022-01-31 21:44:49 /usr/lib and /usr/include should be used by default 2022-01-31 21:44:58 neomutt 2022-01-31 21:45:04 using ./configure 2022-01-31 21:47:57 could you post your world, what you typed, all the output, etc 2022-01-31 21:47:58 in a pastebin 2022-01-31 21:52:17 I had problems with ncurses when compiling stuff on alpine as well, I'll look up to see if I made a not of how to fix that 2022-01-31 21:52:31 s/not/note/ 2022-01-31 21:52:31 zico[m]1 meant to say: I had problems with ncurses when compiling stuff on alpine as well, I'll look up to see if I made a note of how to fix that 2022-01-31 21:53:06 Ah sorry about the edit, forgot I'm in irc 2022-01-31 21:54:40 what should i do? 2022-01-31 21:55:20 ??? 2022-01-31 21:55:56 gin 2022-01-31 22:45:40 it gives ncursesw not found 2022-01-31 22:45:47 also arch linux doesn't have 2022-01-31 22:45:51 tthe folder 2022-01-31 22:48:36 enlight: look at APKBUILD how Alpine doing it, so maybe you will figure it out something: https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/testing/neomutt/APKBUILD 2022-01-31 22:48:50 i added ncurses-dev and the neomutt ./configure finds it fine 2022-01-31 22:49:12 you need most of the makedepends in that apkbuild 2022-01-31 22:49:37 enlight: and install "alpine-sdk" package 2022-01-31 22:50:06 wh alpine sdk 2022-01-31 22:50:09 why* 2022-01-31 22:50:30 it doesn't find ncurses, i chcked /usr/include/lib and there is no ncursesw folder 2022-01-31 22:51:00 you probably missing some "auto" tools or whatever 2022-01-31 22:53:52 what 2022-01-31 22:54:02 can you make a tar.gz file 2022-01-31 22:54:10 annd send 2022-01-31 22:54:20 what? 2022-01-31 22:54:23 without manpage and nls 2022-01-31 22:54:35 can you build from source and send me the build ? 2022-01-31 22:54:43 install 2022-01-31 22:54:49 alpine-sdk and try build 2022-01-31 22:55:50 and who suggested me to use non-root user 2022-01-31 22:56:05 i have to evertime use su -c to execute a command and type my password 2022-01-31 22:56:07 that is trivial 2022-01-31 22:56:49 ... 2022-01-31 22:57:28 and sudo doesnt accept my local-user password ,which has no password 2022-01-31 22:57:40 also alpine-sdk doesn't have ncurses included 2022-01-31 23:00:40 it works the moment you add ncurses-dev 2022-01-31 23:00:49 what works, how can i test 2022-01-31 23:00:57 running ./configure of neomutt 2022-01-31 23:01:00 also i am on mini rootfs 2022-01-31 23:01:04 which is what you said you are doing 2022-01-31 23:01:11 psykose can you send me the BUILD 2022-01-31 23:01:17 i have no idea what that is 2022-01-31 23:01:18 of neomutt 2022-01-31 23:01:23 but the APKBUILD for it was posted above 2022-01-31 23:01:26 https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/testing/neomutt/APKBUILD 2022-01-31 23:01:30 this works 2022-01-31 23:01:46 feel free to add those makedepends and build it yourself 2022-01-31 23:01:50 great 2022-01-31 23:01:51 or set up abuild and build it 2022-01-31 23:01:55 it is in testing repo 2022-01-31 23:01:57 or add the edge/testing repositories and just apk add it 2022-01-31 23:02:06 so tell me command asap to add 2022-01-31 23:02:27 you add the edge repositories into /etc/apk/repositories 2022-01-31 23:02:35 nah 2022-01-31 23:02:40 there was another quick way 2022-01-31 23:02:47 well too bad 2022-01-31 23:02:51 anyway it looks like this https://img.ayaya.dev/TwyKZNEB82p2 2022-01-31 23:02:56 then you just `apk upgrade -Ua` 2022-01-31 23:03:02 and then you can `apk add neomutt` 2022-01-31 23:03:47 feel free to disregard the local paths and the #commented repo, the rest are what you should have 2022-01-31 23:04:07 apk add neomutt --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing/ 2022-01-31 23:04:10 this works:) 2022-01-31 23:04:32 it's more likely to break your system than actually work if the other repos are the 3.15 ones 2022-01-31 23:04:34 ok i installed it 2022-01-31 23:04:35 but sure, do whatever you want 2022-01-31 23:04:39 and it installed 32 library 2022-01-31 23:04:54 yes, it has that many dependencies 2022-01-31 23:05:04 it should have been statically linked 2022-01-31 23:05:14 no, it shouldn't have 2022-01-31 23:05:20 let me check where are those libs stored, i generally don't like my /usr/lib folder populated 2022-01-31 23:05:30 well then alpine is definitely not the distro for you 2022-01-31 23:05:35 because almost nothing is statically linked 2022-01-31 23:05:45 and will 'populate' the /usr/lib folder 2022-01-31 23:06:16 it has install libort and other libshit 2022-01-31 23:06:18 but thanks:) 2022-01-31 23:06:36 i find aerc better, but it doens't have local cache and no documentation. 2022-01-31 23:06:53 eventually i'll try patched mutt with sidebar 2022-01-31 23:11:03 psykose 2022-01-31 23:11:17 why use sudo eveytime if i have to type assword 2022-01-31 23:11:25 better not use root user directly ? 2022-01-31 23:11:31 not sure what you mean by everytime 2022-01-31 23:11:41 everytime i have to do apk 2022-01-31 23:11:45 yeah 2022-01-31 23:11:45 or edit /etc 2022-01-31 23:11:48 mhm 2022-01-31 23:12:00 also sudo deosn't accept account with no password 2022-01-31 23:12:15 it does if you configure it to 2022-01-31 23:12:19 is su -c better than sudo ? 2022-01-31 23:12:23 but that is the same as just being root all the time 2022-01-31 23:12:26 i dunno man 2022-01-31 23:12:30 you decide for yourself 2022-01-31 23:12:43 psykose: i mean, my use has no passord. it doesn't need pass to login 2022-01-31 23:12:49 then perhaps you should add one 2022-01-31 23:13:01 no, my local user doesn't have 2022-01-31 23:13:08 then add one 2022-01-31 23:13:09 or don't 2022-01-31 23:13:12 i'm not your mom 2022-01-31 23:13:18 if you want to always use root feel free 2022-01-31 23:13:25 my root has password so when i do sudo from local user, it ask for pass 2022-01-31 23:13:30 i press enter 2022-01-31 23:13:33 and says 2022-01-31 23:13:38 wrong password 2022-01-31 23:14:38 also, about MUSL these MUSL libraries are present in /lib, if i add glibc libraries there so all glibc compiled app will run here 2022-01-31 23:15:00 you can't do that without breaking your system 2022-01-31 23:15:09 wdym, without breakig? 2022-01-31 23:15:59 what else i have to include and what might get broken?