2022-12-01 04:23:56 is there a way to roll back updates? 2022-12-01 05:37:04 sure, restore from your backup ;) 2022-12-01 05:47:36 🙈 2022-12-01 06:08:44 @cache_return: You might want to look at Nix or Guix package managers for that. 2022-12-01 06:15:23 @jhjacobs: I was oogling this board recently: https://news.ycombinator.com/item?id=33109979 2022-12-01 07:33:04 ForeverNoob: thats inderd the article that got me interested :-) 2022-12-01 11:03:11 Hello 2022-12-01 11:03:33 I need help with IPv6 configuration with Alpine 3.16 2022-12-01 11:03:56 I have a VPS with Alpine 3.16 2022-12-01 11:04:12 dhcp gets correct values from ipV4, but fails with ipv6 2022-12-01 11:04:34 I installed dhcpd 2022-12-01 11:04:48 but I get no IPv6 2022-12-01 11:05:43 tried everything, even static, but is very confusing 2022-12-01 11:06:59 I get "no ADDRESS FOR THIS INTERFACE" from dhcpd 2022-12-01 11:07:15 from dhcpcd 2022-12-01 11:11:15 I always get "Dec 1 11:19:01 vps-ionos3 daemon.err dhcpcd[3198]: eth0: DHCPv6 REPLY: No addresses available for this interface." 2022-12-01 11:16:57 is the dhcp server configured to assign one? 2022-12-01 11:19:52 ipv4 is opk 2022-12-01 11:20:02 the ISP tells me that DHCP6 is enabled 2022-12-01 11:23:22 tried static 2022-12-01 11:23:26 does not work 2022-12-01 11:23:31 I am puzzled 2022-12-01 11:26:14 if you have static ip's, you don't need dhcp, right? 2022-12-01 11:30:13 the VPS is a VMWARE server: it assigns the virtual machine a static IPs via DHCP usually 2022-12-01 11:30:37 works with IPv4, the ISP tells me that should work with IPv6 but it doesn't 2022-12-01 11:31:06 on the manual of Alpine I read: "IPv6 DHCP Configuration Alpine's use of ifupdown-ng supports three DHCP clients: udhcpc, dhclient, and dhcpcd. Of these, only dhcpcd can interact with both DHCP and DHCPv6 from the same process, which ifupdown-ng requires. Thus the IPv4 DHCP configuration given above will also result in the use of DHCPv6, but only if you install the dhcpcd package. (The ifupdown-ng scripts prioritize dhclient over u 2022-12-01 11:31:23 so I installed dhcpcd 2022-12-01 11:31:35 I get v4 ip but not v6 ip 2022-12-01 11:31:41 why do you want dhcp on ipv6? 2022-12-01 11:31:47 it's usually not the kinda setup you want 2022-12-01 11:32:00 vmware may assign its vm ip's using dhcp, but they should be static to the os inside 2022-12-01 11:32:59 my ISP tell me that is providing the IPv6 via DHCP - tried STATIC and it does not work either 2022-12-01 11:33:19 they sent me the UBUNTU config 2022-12-01 11:33:27 ok 2022-12-01 11:34:06 auto lo eth0 iface lo inet loopback allow-hotplug eth0 iface eth0 inet static  address INDIRIZZO-IPv4-PRINCIPALE/32 iface eth0 inet6 manual pre-up sleep 5 up dhclient -6 -nw -v eth0 post-up sleep 5; /sbin/ip -family inet6 route add default via fe80::1 dev eth0 pre-down /sbin/ip -family inet6 route del default via fe80::1 dev eth0 down dhclient -6 -r -v eth0 2022-12-01 11:34:38 wyk72: then they are probably giving you a single /128 and not routing a /64 to you like it was mean to 2022-12-01 11:34:54 this is the UBUNTU config 2022-12-01 11:35:30 they give me 2001:8d8:1800:8213::/64 as subnet 2022-12-01 11:36:13 and 2001:8d8:1800:8213::1 as static IP 2022-12-01 11:36:31 But it does not work if you give yourself a static IP in that range? 2022-12-01 11:36:34 next-hop should be fe80::1 2022-12-01 11:36:38 no 2022-12-01 11:37:03 lesigh 2022-12-01 11:48:39 is it normal that I get "inet6 addr: fe80::250:56ff:fe0d:c027/64 Scope:Link" as ipv6 ip ? 2022-12-01 11:48:53 makes no sense to me 2022-12-01 11:50:14 it's a normal link-local so yes 2022-12-01 11:50:26 The kernel automatically assigns you one 2022-12-01 11:50:43 with ipv6, you communicate with the router over the link-local subnet 2022-12-01 11:51:06 oh I see 2022-12-01 11:51:39 it's a mistery to me: Ubuntu works Alpine no 2022-12-01 11:51:58 I can try with dhclient 2022-12-01 11:52:01 What does not work? 2022-12-01 11:52:32 dhcpv6 works with Ubuntu 20.20 (dhclient) 2022-12-01 11:53:08 a line like: dhclient -6 -nw -v eth0 2022-12-01 11:53:40 no idea how I should I use it on alpine, package is present but I get an error 2022-12-01 11:54:10 Can't bind to dhcp address: Address in use Please make sure there is no other dhcp server running and that there's no entry for dhcp or bootp in /etc/inetd.conf. Also make sure you are not running HP JetAdmin software, which includes a bootp server. 2022-12-01 11:54:34 How much Microsoft is behind Linux development these days? 2022-12-01 11:55:33 They had that one Linux distro about ten years ago... Opensuse or something like that. 2022-12-01 11:56:16 WTF 2022-12-01 11:56:21 dhclient works 2022-12-01 11:56:32 I get this adress: inet6 addr: 2001:8d8:1800:8213::1/128 Scope:Global 2022-12-01 11:56:44 dhcpcd no 2022-12-01 11:56:49 dhclient gets an ip 2022-12-01 11:56:54 wtf 2022-12-01 11:58:57 and gets resolv.conf correctly 2022-12-01 11:59:50 yeah, dhcpv6 is a mess 2022-12-01 12:01:25 About 5G... what it means to Linux? Nothing new? 2022-12-01 12:01:40 so I should remove dhcpcd and use dhclient...there is a way not to modify ifupdown-ng ? 2022-12-01 12:02:13 M32573i12[m]: nothing at all, as none of that stuff happens on the host computer 2022-12-01 12:05:59 Oh... my bad. I thought it was all about MS. 2022-12-01 12:06:12 cache_return: it depends on how you configured stuff, apk may have re-run your initramfs generation 2022-12-01 12:06:43 and if you made some changes there that didn't persist in that way, the initramfs was likely re-generated without 2022-12-01 12:06:51 (bit of a usability failure...) 2022-12-01 12:06:59 Shiz: it did, but why should that bork everything? 2022-12-01 12:07:08 Wikimafia lol.. 2022-12-01 12:07:41 random snarking is not particularly desired here, keep it to yourself 2022-12-01 12:07:54 I seem to remember that the wifi worked "out of the box" 2022-12-01 12:07:56 cache_return: if the initramfs was regenerated without the mdadm and wifi modules you need, it will bork stuff 2022-12-01 12:07:57 Yes sir 2022-12-01 12:08:20 dmesg doesnt even show it trying to load the wifi 2022-12-01 12:08:30 i am a bit vague on the specifics, but check your features= in /etc/mkinitfs/mkinitfs.conf 2022-12-01 12:08:38 (been a while since I used alpine's stock initramfs) 2022-12-01 12:10:30 and your modules= in /etc/update-extlinux.conf 2022-12-01 12:10:50 (presuming you use extlinux as bootloader) 2022-12-01 12:17:43 I will look at this, but it seems so weird. Why would it fail to build the wifi module that was in the initial installation? ugh. 2022-12-01 12:17:56 makes total sense for raid, though. 2022-12-01 12:20:21 Do you still own huge ITX case computers? 2022-12-01 12:49:32 cache_return: yeah, it seems like a weird bug for sure 2022-12-01 12:49:49 hopefully someone more familiar with alpine-conf mechanics can chime in :) 2022-12-01 14:00:48 Q: How do I tell crond to only run stuff in `/etc/periodic/15min/` ? I've already deleted all dirs there except that one and restarted crond. 2022-12-01 14:02:08 ForeverNoob: remove them from regular crontab 2022-12-01 14:02:19 # crontab -e 2022-12-01 14:04:47 Cool, I'll try that, thanks! 2022-12-01 14:09:08 Do you have old alpine distros installed? I have old ubuntu from 2006. Are those old distros any good today? 2022-12-01 14:14:40 "Do you have old alpine distros..." <- Probably not... maybe I have to try... if it works. 2022-12-01 14:15:33 I feel so old because I was playing with Linux already in 2003. We talked about same stuff you guys today :) 2022-12-01 14:16:22 M32573i12[m]: perhaps move to the alpine-offtopic channel? 2022-12-01 14:17:32 minimal: Oh. You are tough. Alpine only and nothing related. Ok. 2022-12-01 14:23:29 Yes, like everywhere there are offtopic channels for such things 2022-12-01 14:25:23 M32573i12[m]: it's a courtesy for people here trying to respond to people who need help 2022-12-01 16:38:27 I am making my first package, newapkbuild packagename made a folder with the APKBUILD and a folder src 2022-12-01 16:38:38 do I put the unpacked source in src? 2022-12-01 16:40:56 scorpion2185[m]1: no, you define the source in the APKBUILD (the url to the source archive) 2022-12-01 16:41:03 apk will fetch and unpack it 2022-12-01 16:42:14 If this is something just for yourself you want to build locally, then you could put it manually there 2022-12-01 16:42:46 in /var/cache/distfiles/ ? 2022-12-01 16:42:48 abuild clean (which is automatically run after abuild -r, will remove the src dir for example 2022-12-01 16:43:27 make: *** No targets specified and no makefile found. Stop. 2022-12-01 16:43:27 >>> ERROR: smlock: build failed 2022-12-01 16:43:57 scorpion2185[m]1: you need to set builddir to the directory where the unpacked source is located 2022-12-01 16:44:14 the default is "$srcdir/$pkgname-$pkgver/ 2022-12-01 16:45:21 I have that set, how do I know where is it unpacked ? 2022-12-01 16:45:56 scorpion2185[m]1: run abuild unpack, then check the src/ directory 2022-12-01 16:47:12 only $pkgname 2022-12-01 16:47:37 then set pkgdir="$srcdir/$pkgname" 2022-12-01 16:47:43 sorry 2022-12-01 16:47:46 builddir=".." 2022-12-01 16:48:16 `WARNING: Ignoring ~/packages//apps: No such file or directory` 2022-12-01 16:48:16 What's the double /? 2022-12-01 16:49:06 linux treats double // as / 2022-12-01 16:51:25 is it simply ~/packages/apps then? 2022-12-01 16:52:51 yes 2022-12-01 16:53:20 I am missing: `17 | #include ` 2022-12-01 16:53:44 do I need the headers? 2022-12-01 16:54:10 https://pkgs.alpinelinux.org/contents?file=vt.h&path=%2Fusr%2Finclude%2Flinux&name=&branch=edge 2022-12-01 16:57:05 should that go to the makedepends? 2022-12-01 16:57:20 is there a wildcard for the headers package? 2022-12-01 16:57:45 yes, it should go in makedepends, no, there is no wildcard 2022-12-01 16:58:17 or do you mean for pkgs.alpinelinux.org? 2022-12-01 16:59:23 yes I'd like to make it in a way that it is suitable for official alpine 2022-12-01 16:59:27 But for makedepends, you need to list concrete specific packages 2022-12-01 17:00:11 because for example on pmOS you have linux-postmarketos-allwinner-dev as headers 2022-12-01 17:00:26 it is linux-headers 2022-12-01 17:01:19 linux-headers should not be kernel flavor specific (afaik) 2022-12-01 17:08:48 it seems stuck at `>>> smlock*: Running postcheck for smlock` 2022-12-01 17:18:46 something wrong with the postcheck 2022-12-01 17:22:16 can you show the complete output? 2022-12-01 17:24:52 ikke: https://paste.centos.org/view/c00a38a5 2022-12-01 17:26:08 I do have packages/apps/ in my home now but it states "No such file...." 2022-12-01 17:26:30 ah wait do I miss `options="!check" # has no tests` ? 2022-12-01 17:27:54 for now it's still a warning, so it should not cause the build to fail 2022-12-01 17:28:45 in any case, normally postcheck should tell you what the issue is if it found any 2022-12-01 17:28:56 that it just exits means something unpexected happens 2022-12-01 17:30:09 it is stuck there 2022-12-01 17:30:29 scorpion2185[m]1: can you try to run abuild with -v 2022-12-01 17:30:45 and -r? 2022-12-01 17:30:49 yes 2022-12-01 17:35:04 https://paste.centos.org/view/8ef66b21 2022-12-01 17:35:50 that does not help.. 2022-12-01 17:36:15 wondering what's going on 2022-12-01 17:37:28 what environment are you building this in 2022-12-01 17:39:58 env? 2022-12-01 17:40:21 do you need to set one? 2022-12-01 17:51:09 abuild-keygen -a -i ? 2022-12-01 17:57:52 ikke: other part https://paste.centos.org/view/5381e72b 2022-12-01 18:06:40 hey guys 2022-12-01 18:08:43 I was trying the full disk encryption secure boot guide from the wiki, but I'm not doing with lvm, instead I'm doing with btrfs. I got everything setted up but I can't figure out one step, the creation of /root/grub-pre.cfg. I don't know what to put on the root part, can anyone help me? 2022-12-01 18:09:24 I'm basically with a btrfs partition instead of lvm, haven't created subvolumes yet 2022-12-01 18:10:00 Actually I was planning to do an installation without subvolumes first 2022-12-01 18:10:10 I'm on a vm btw, testing before installing 2022-12-01 18:10:15 can you experiment with a vm? 2022-12-01 18:10:19 o 2022-12-01 18:10:48 I never made this type of installation lol 2022-12-01 18:11:15 I tried to follow that guide and failed, for what it's worth 2022-12-01 18:11:19 I opened the luks partition as cryptroot, so it's on /dev/mapper/cryptroot 2022-12-01 18:11:20 I think it might be a bit out of date 2022-12-01 18:11:39 last edit was november 30 2022-12-01 18:11:56 I ended up doing a regular install instead with `setup-alpine` and asking it to set up an encrypted root for me, and that worked 2022-12-01 18:11:57 I don't even want swap, just the root and boot 2022-12-01 18:12:33 elly: I thought on doing this, but as the alpine has a tutorial for fde I decided to try it out 2022-12-01 18:12:42 setup-alpine does not set up lvm for you (I think) so if you do want lvm you probably will need that guide 2022-12-01 18:12:56 but if you don't want lvm, just encrypted root, `setup-alpine -m sys` and tell it you want an encrypted root when it asks 2022-12-01 18:13:03 it has a lvm option actually 2022-12-01 18:13:40 elly: I want a boot and btrfs partition, going to do the rest with subvolumes 2022-12-01 18:13:49 no swap 2022-12-01 18:13:59 maybe zram later 2022-12-01 18:14:02 scorpion2185[m]1: can you try: FAKEROOT= abuild -r 2022-12-01 18:14:05 or swapfile 2022-12-01 18:14:17 gotcha 2022-12-01 18:14:23 good luck :) 2022-12-01 18:14:31 thanks 2022-12-01 18:18:20 marshallishere: that wiki article looks suspect to me, I don't understand why it is creating a grub-pre.cfg file 2022-12-01 18:20:32 are we talking about https://wiki.alpinelinux.org/wiki/LVM_on_LUKS ? 2022-12-01 18:20:58 elly: I assume this: https://wiki.alpinelinux.org/wiki/Full_disk_encryption_secure_boot 2022-12-01 18:21:09 or about https://wiki.alpinelinux.org/wiki/Setting_up_a_laptop 2022-12-01 18:21:13 ha, there are several guides :) 2022-12-01 18:21:33 wel lhe said "secure boot", i.e. UEFI Secure boot 2022-12-01 18:21:33 imo, all of these are obsolete since setup-alpine got encrypted root support 2022-12-01 18:21:57 elly@ setup-disk doesn't do UEFI Secure Boot 2022-12-01 18:22:36 elly: but setup alpine doesn't allow me to do btrfs and creates a swap partition 2022-12-01 18:22:43 I don't want this to happen 2022-12-01 18:23:15 marshallishere: you can pass a swap size of "0" to setup-disk AFAIK to have no swap partition 2022-12-01 18:23:24 hmm 2022-12-01 18:24:15 it doesn't do btrfs though I think 2022-12-01 18:24:16 anyway that guide in the "Configuring LUKS" section is calling "cryptsetup luksFormat" with no version specified, which means its LUKS v2 (from memory) 2022-12-01 18:24:20 I am using ext4 2022-12-01 18:25:11 but later in the gruide with the "custom" grub-pre.cfg file it loading Grub's "luks" module which is for LUKS v1, not v2 2022-12-01 18:26:39 hmm suspect 2022-12-01 18:27:16 and its having /boot as part of the rootfs partition (and so encrypted) but booting from a encrypted LUKS *v2* partition does not work with current Grub... 2022-12-01 18:28:20 actually I think it works but you need to set custom encryption algorithms, I think that the luksFormat command does this 2022-12-01 18:28:25 support for encrypted v2 boot was supposed to have been introduced in Grub 2.06 but it doesn't work and only some (but not all required) patches are in Grub mainline and so are unlikely to appear in next Grub release (2.16?) due to shortly 2022-12-01 18:32:00 marskallishere: with luksFormat you can do "--type luks1 or "--type luks2" 2022-12-01 18:32:25 if you don't specify either I believe the version of cryptsetup in Alpine 3.17/Edge defaults to luks2 2022-12-01 18:32:59 I saw on 'setup-disk --help' that it can support btrfs with some sort of ROOTFS, I tried using this as a variable but it didn't work, what is this option? 2022-12-01 18:33:33 minimal: If the setup works with btrfs I will use the setup 2022-12-01 18:33:38 easier lol 2022-12-01 18:34:32 marshallishere: ROOTFS=btrfs setup-disk .. 2022-12-01 18:35:48 https://gitlab.alpinelinux.org/alpine/alpine-conf/-/blob/master/setup-disk.in#L9 2022-12-01 18:36:44 oh 2022-12-01 18:36:46 makes sense 2022-12-01 18:36:49 going to try 2022-12-01 18:39:10 just checked cryptsetup source, luks v2 is the default 2022-12-01 18:39:35 so that wiki guide makes no sense 2022-12-01 18:41:58 it worked 2022-12-01 18:43:45 so, there's any way of passing these parameters for the setup-alpine? This way the system installs properly configured 2022-12-01 18:44:45 marshallishere: as they are environment variables, you can do the same for setup-alpine 2022-12-01 18:44:46 marshallishere: ROOTFS=btrfs SWAP_SIZE=0 USE_CRYPT=1 setup-disk ? 2022-12-01 18:45:00 those are mentioned in "setup-disk -h" from memory 2022-12-01 18:47:03 thanks guys 2022-12-01 18:47:32 one more question, when I use kde and install the partitionmanager it doesn't seems to recognize the disks, but gparted does recognizes 2022-12-01 18:47:36 what could be the problem? 2022-12-01 18:48:27 what/which partition manager? 2022-12-01 18:49:02 the kde one 2022-12-01 18:49:07 I wonder if it's something to do with access to the disk devices? 2022-12-01 18:49:30 hmm 2022-12-01 18:52:25 the btrfs and swap worked as expected, thanks guys 2022-12-01 19:23:08 Is it possible to install Alpine Linux on Android devices? 2022-12-01 19:23:29 M32573i12[m]: there is a related project called postmarketOS, which does 2022-12-01 19:23:52 Cool 2022-12-01 19:26:24 M32573i12[m], not exactly what you asked but I would like to tell you I installed Alpine Linux on Android (Meta Quest 2 VR Headset) by enabling developer mode, sideloading android apk of termux, qemu, emulate aarch64 AlpineLinux.iso 2022-12-01 19:27:14 So you can install apks, while you install apks 2022-12-01 19:27:36 weirdness huh? 2022-12-01 19:27:54 sometimes I dont even hear what I'm saying sometimes 2022-12-01 19:28:02 I have a brandnew laptop where I installed Alpine Linux and sway. I realize that sway is not starting and a lot of kernel modules as well but doing a service udev-trigger restart is fixing everything as all the discovered modules are started. so I added udev in default but if I don't add udev-trigger in default I got the same situation after everyboot, which make sense to me, so my question is a good practice to add udev-trigger in default 2022-12-01 19:28:02 and so let udev detect the required module for the system to work perflectly or better to add all the module manually? 2022-12-01 19:29:50 ugh! im too tired for this shit :) 2022-12-01 19:30:10 ikke: that doesn't help? 2022-12-01 19:30:33 Solarbaby, wouldn't chroot be a lot faster than qemu? 2022-12-01 19:31:19 blt[m]: setup-devd udev indeed does all of that for you 2022-12-01 19:31:28 trigger+settle+postmount 2022-12-01 19:31:36 Habbie, Yeah totally faster but I don't have root on the quest 2.. just what they call developer mode is the stripped down access they give me 2022-12-01 19:31:45 oh, right, chroot doesn't work in termux 2022-12-01 19:32:18 I'm rooting for pkvm to come to the quest kernel and then maybe qemu will get faster 2022-12-01 19:32:39 Habbie: one needs proot for termux. 2022-12-01 19:32:54 psykose: yes thanks I saw this script but it is a one time script or doest it populate something? 2022-12-01 19:33:03 it does what you are doing 2022-12-01 19:33:30 how should I call that after every boot? 2022-12-01 19:34:17 hey, I installed librewolf through flatpak and my font is really bad, can anyone help? 2022-12-01 19:34:18 https://envs.sh/Qsr.png 2022-12-01 19:34:24 Ermine, ah, learned a thing, thanks! 2022-12-01 19:35:14 ikke: I tried `FAKEROOT= abuild -r` same as before. 2022-12-01 19:35:33 can I remove the postcheck since it is stuck there? 2022-12-01 19:35:41 no 2022-12-01 19:36:52 blt[m]: you call it once? it adds what you are to the correct runlevels and you never use it again 2022-12-01 19:36:55 it's a 5 line script 2022-12-01 19:36:56 psykose: ok I am reading the code, it seems indeed that it does what I need and push that into sysinit 2022-12-01 19:37:40 it seems that I have to force udev-trigger after the reboot but I will try it again, like my modules are not loaded 2022-12-01 19:39:09 psykose: it is supposed to add the udev-* but it does not 2022-12-01 19:40:15 what exactly do you type 2022-12-01 19:40:40 setup-devd 2022-12-01 19:40:40 udev 2022-12-01 19:40:40 y 2022-12-01 19:41:06 and what does rc-update show after 2022-12-01 19:41:23 it doesnt show anyting related to udev.... 2022-12-01 19:41:38 blt[m]: are you using Alpine in run-from-ram or run-from-disk (Sys-mode) 2022-12-01 19:41:40 but I see the code it is suposed to do line 82 to 85 2022-12-01 19:41:51 minimal: sys-mode 2022-12-01 19:42:22 could you pastebin your whole console output 2022-12-01 19:42:28 should I try mdev instead? 2022-12-01 19:45:41 blt[m]: so you have the eudev package installed? 2022-12-01 19:45:58 yes 2022-12-01 19:46:14 and "setup-devd udev" gave no errors? 2022-12-01 19:46:27 https://paste.debian.net/1262552 2022-12-01 19:47:24 try is as root directly? 2022-12-01 19:47:27 s/is/it/ 2022-12-01 19:47:28 minimal meant to say: try it as root directly? 2022-12-01 19:47:31 https://paste.debian.net/1262553 2022-12-01 19:47:50 yes I did the exact same command as root just before same result 2022-12-01 19:48:02 which alpine version? 2022-12-01 19:48:08 3.17 2022-12-01 19:48:41 strange, I use "setup-devd udev" often 2022-12-01 19:50:23 if you run `rc-update add --quiet udev` yourself does it change anything 2022-12-01 19:51:09 oh yes it solve the issue, I know how to do it manually but my point is that setup-devd is supposed to do that... 2022-12-01 19:53:46 strange 2022-12-01 19:53:50 i tested it myself and it works 2022-12-01 19:54:11 I solved the font issue installing xdg-desktop-portal-gtk 2022-12-01 19:54:22 i guess you can set -x in the script and see why it fails :) 2022-12-01 19:57:33 it doesn't seem -x to work? 2022-12-01 19:57:53 just for info, I just rebooted and yes adding theses manually fix all the issues :) 2022-12-01 19:58:10 but still don't understant why setup-devd is not working on my case 2022-12-01 19:58:47 blt[m]: what happened when you tried "-x" exactly? 2022-12-01 20:01:58 minimal: so you meant setup-devd -x correct ? 2022-12-01 20:02:49 blt[m]: nope, psykose was suggesting setting the "shebang" line at the top of setup-devd to include "-x" to trace the shellscript 2022-12-01 20:03:25 you can also do sh -x /sbin/setup/devd 2022-12-01 20:03:37 setup-devd* 2022-12-01 20:17:22 ikke: can you try to build it? it is a little package or someone else 2022-12-01 20:25:07 scorpion2185[m]1: can you share it? 2022-12-01 20:34:04 ikke: https://paste.centos.org/view/d6ee09a9 2022-12-01 20:36:17 Not sure if that comes from paste.centos.org, but if I download the raw output of that paste, it appears it has dos line endings 2022-12-01 20:36:21 does it have for you? 2022-12-01 20:36:52 Also, it appears the checksums are missing 2022-12-01 20:37:41 also, checking the source, ' 2022-12-01 20:37:44 'cannot retrieve password entry (make sure to suid smlock)' 2022-12-01 20:37:53 suid programs require a security review 2022-12-01 20:38:03 (we try to avoid them) 2022-12-01 20:39:35 suid? didn't see that , I didn't copy the checksum 2022-12-01 20:40:30 scorpion2185[m]1: for me it outputs >>> ERROR: smlock*: Found executable files with SUID bit set: 2022-12-01 20:40:34 That's from postcheck 2022-12-01 20:40:39 not sure why you didn't see the message 2022-12-01 20:40:45 ssh? 2022-12-01 20:41:00 sorry? 2022-12-01 20:41:18 I did it from ssh 2022-12-01 20:41:26 Me too 2022-12-01 20:42:32 how do you fix the executable file with SUID? 2022-12-01 20:43:12 Centos doesn't seems to be Alpine Linux discussion 2022-12-01 20:43:26 M32573i12[m]: this has nothing to do with centos 2022-12-01 20:43:40 i find their pastebin nice 2022-12-01 20:44:13 ikke: Sure, you make the rules 2022-12-01 20:44:33 it is just a pastebin service 2022-12-01 20:50:02 scorpion2185[m]1: You can remove suid, but that means you need to run it as root 2022-12-01 20:59:47 hey guys, I was trying to follow the secure boot guide but when I get to the 'apk fix kernel-hooks' it gives me an error because I don't have /boot/efi, but I've used the script setup-disk to install alpine 2022-12-01 21:02:16 do I need to make manual partitions? 2022-12-01 21:03:04 https://wiki.alpinelinux.org/wiki/UEFI_Secure_Boot 2022-12-01 21:03:06 the guide 2022-12-01 21:04:09 Do you have EFI system partition? If yes, mount it at /boot/efi . 2022-12-01 21:04:27 I have a vfat partition mounted at /boot 2022-12-01 21:05:33 I think the installer didn't create the EFI partition 2022-12-01 21:05:52 I guess this is the EFI partition. 2022-12-01 21:05:56 M32573i12[m]: where is the centos discussion 2022-12-01 21:11:56 Ermine: I tried to set the /etc/fstab to be /boot/efi and it didn't work, also I think this is the normal boot, alpine isn't creating an efi partition by default 2022-12-01 21:12:44 do you have EFI directory on that partition by the way? 2022-12-01 21:12:49 yep 2022-12-01 21:13:34 what is its contents? 2022-12-01 21:13:55 s/is/are/ 2022-12-01 21:13:55 Ermine meant to say: what are its contents? 2022-12-01 21:15:25 there's a directory called boot with a bootx64.efi and a directory called alpine with a grubx64.efi 2022-12-01 21:16:04 That means this is EFI system partition and it was detected by the installer. 2022-12-01 21:16:35 but it didn't create the partition itself, it just placed in the folder 2022-12-01 21:16:40 kernel-hooks except it to be mounted at /boot/efi, though. 2022-12-01 21:16:50 so, what can I do? 2022-12-01 21:20:06 did you add /boot/efi to your fstab? 2022-12-01 21:20:13 nope 2022-12-01 21:20:14 marshallishere: you installed (via setup-disk) with encryption, right? so the ESP partition is used for both ESP and as /boot 2022-12-01 21:20:44 hmm 2022-12-01 21:20:54 and how can I fix the problem with kernel-hooks? 2022-12-01 21:21:14 marshallishere: as was mentioned earlier you are using a "guide" that is outdated and also may not be accurate 2022-12-01 21:22:14 makes sense 2022-12-01 21:22:17 marshallishere: you didn't answer my question, you are using EFI with encryption installed via setup-disk, correct? 2022-12-01 21:22:30 yes 2022-12-01 21:22:53 so you have 2 partitions, an ESP partition and a LUKS partition 2022-12-01 21:22:58 yes 2022-12-01 21:23:21 the 1st partition is mounted as what, /boot ? 2022-12-01 21:23:29 yes 2022-12-01 21:24:04 and inside that you have a EFI directory (so visible as /boot/EFI" ? 2022-12-01 21:24:22 marshallishere: open /etc/kernel-hooks.d/secureboot.conf and set output_dir to /boot/EFI/alpine ? 2022-12-01 21:24:32 s/?/./ 2022-12-01 21:24:32 Ermine meant to say: marshallishere: open /etc/kernel-hooks.d/secureboot.conf and set output_dir to /boot/EFI/alpine . 2022-12-01 21:25:32 okay 2022-12-01 21:28:09 it a case issue, the directory inside /boot is "EFI" correct, but secureboot.hook is referring to it in lowercase 2022-12-01 21:28:36 ? 2022-12-01 21:29:08 that's it 2022-12-01 21:29:16 Worked? 2022-12-01 21:29:31 I haven't tested, need to leave 2022-12-01 21:29:35 later I'll come back 2022-12-01 21:29:39 bye 2022-12-01 21:29:44 Well, bye 2022-12-01 21:31:20 Auto-detection would be cool, but it requires parsing /etc/fstab or /proc/mounts iiuc. 2022-12-01 21:32:46 if/when secure boot support gets added to setup-disk this will all be ironed out 2022-12-01 21:33:12 can someone help me figure out how to recover from apk update? I have no modules loaded after update and reboot. 2022-12-01 21:33:57 at least according to lsmod 2022-12-01 21:34:33 did your system boot, or are you in emergency shell? 2022-12-01 21:34:46 it booted 2022-12-01 21:35:13 but no wifi, so I'm down in the dungeon with usb keyboard 2022-12-01 21:35:13 does dmesg or syslog say why aren't modules loaded? 2022-12-01 21:35:42 dmesg doesnt look like its trying to load e.g. the wireless card 2022-12-01 21:35:42 cache_return: standard kernel? I'd assume it would need some modules loaded in order to boot 2022-12-01 21:36:28 could you pastebin all the logs and all your commands 2022-12-01 21:36:48 minimal: yes, 5.15.55-0-rpi4 2022-12-01 21:36:49 how can i get a list of top-level packages that nothing else depends on ? i.e. what would be the minimum of what i need for an equivalent re-install 2022-12-01 21:37:06 psykose: let me figure out how to do that without internet 2022-12-01 21:37:14 ah, RPI has a lot of stuff compiled in rather than loadable 2022-12-01 21:37:20 Piraty: cat /etc/apk/world 2022-12-01 21:37:45 cache_return: did you try loading something manually? 2022-12-01 21:37:55 isn't that the list of manual packages, which then would contain the ones that other depend on still ? 2022-12-01 21:37:58 psykose: any blocker for mesa 22.3.0 i can help with? 2022-12-01 21:38:01 there are probably 20 ways to do that without internet on the actual device, given how you are currently on it 2022-12-01 21:38:04 bl4ckb0ne: it being .1 2022-12-01 21:38:42 Piraty: afaik this is a list of packages you ordered to install. 2022-12-01 21:38:47 (as always we wait for the .1, that's all) 2022-12-01 21:38:52 alrighty 2022-12-01 21:39:12 cache_return: can you paste approximate relevent error messages? 2022-12-01 21:39:17 cache_return: which Alpine version are you on? 3.16? also, aarch64 or armv7? 2022-12-01 21:39:52 minimal: 3.16 aarch64 2022-12-01 21:39:54 minimal: btw does secure boot infrastructure exist on Alpine for a year now? 2022-12-01 21:41:13 cache_return: v3.16 currently has the 5.15.78 kernel, so how did you update to 5.15.55? 2022-12-01 21:43:48 Ermine: there have been some tools packaged for a while (secureboot-hook first packages July last year) but secure boot is not official supported (there's an Issue open in alpine-conf to have it added AFAIK) 2022-12-01 21:44:22 minimal: it's the kernel in the 3.16.1 iso iirc 2022-12-01 21:44:53 psykose: ah, ok, but an update would have used the repos though, right? 2022-12-01 21:44:59 shrug 2022-12-01 21:46:06 s/update/upgrade/ 2022-12-01 21:46:06 minimal meant to say: psykose: ah, ok, but an upgrade would have used the repos though, right? 2022-12-01 21:46:27 as "apk update" only updates the package indexes 2022-12-01 22:07:56 all I know is that I installed a month or two ago and just recently did update and upgrade because I was installing nextcloud 2022-12-01 22:08:18 it rebuilt the initramfs and niw here I am 2022-12-01 22:08:32 what logs do people want besides dmesg? 2022-12-01 22:34:18 dmesg: http://sprunge.us/ecJ6e8 2022-12-01 22:34:35 psykose: ^ 2022-12-01 22:36:36 I am on a 3.17 and I can't seem to save the nftables status, this is what i do and what the result is: https://pastebin.com/sCv82vKc 2022-12-01 22:38:01 cache_return: hmm 2022-12-01 22:38:20 not sure why it wouldn't have brcm stuff there 2022-12-01 22:39:52 all i could really suggest is upgrading to the latest versions (the classic) but that is a little hard without direct networking 2022-12-01 22:40:25 for reference i also have a pi4 and mine looks like https://img.ayaya.dev/uxfZI7FMyiUA 2022-12-01 22:40:51 garo: what do 'nft list counters' 'nft list limits' 'nft list quotas' output? 2022-12-01 22:48:12 if you look at the initscript and the conf.d file, I think you'll find the explanation; since 3.17, the initscript does not save the ruleset by default; it can be told to do this, but equally you can just write ruleset files by hand and load them, since the syntax to the nft command is basically the same as what goes in the file (though you can define tables and chains in the file without having to 2022-12-01 22:48:12 use the add command) 2022-12-01 22:49:25 the initscript defaults to saving counters, limits, and quotas, and from the commands in your pastebin, you have none of those, and thus the file is empty, because there's nothing to save of those types 2022-12-01 22:53:53 the default /etc/nftables.nft includes /etc/nftables.d/*.nft, and you can put whatever snippets you want in there; you can redefine the same tables and chains multiple times, and as long as they don't have conflicting definitions, nft will merge them in definition order; so you can have little snippets for each logical grouping of rules 2022-12-01 22:58:15 You mention that it doesn't save it by default, but i did run "/etc/init.d/nftables save" manually 2022-12-01 22:59:37 Then which command should i run to create the .nft files ? 2022-12-01 23:04:06 psykose: this was _caused by_ updating, though. 2022-12-01 23:10:27 i am not sure how you can "update" into a kernel from 5 months ago that is not even in the repositories 2022-12-01 23:10:43 the only way you can update to that kernel version is by flashing the 3.16.1 iso 2022-12-01 23:11:22 or having a really out of date mirror somewhere, i guess 2022-12-01 23:12:27 debugging why that didn't actually update would probably yield the answer 2022-12-01 23:15:02 garo: the save function is used whether you execute it as a command or during stop, the behavior is the same 2022-12-01 23:15:40 (stop does some extra things, of course, and save is only run on stop if enabled) 2022-12-01 23:17:05 But that still doesn't generate the .nft files :-( 2022-12-01 23:17:16 and that's intentional 2022-12-01 23:17:25 So which command does ? 2022-12-01 23:17:38 you can write them by hand, the format is not bad 2022-12-01 23:20:53 the output of 'nft list ruleset' can also be used, but note that if your input file has regular file comments (not rule comments), those would be missing from the list ruleset output, so it's not going to be a loseless roundtrip 2022-12-01 23:21:09 Would literally copying line 5 to 8 to a new file /etc/nftables.d/forward-443-t-o10443.nft work ? 2022-12-01 23:21:24 yes 2022-12-01 23:22:50 but you can also do it in a better style: table ip nat { chain prerouting { type nat hook prerouting priority -100; tcp dport 443 redirect to :1443; } } 2022-12-01 23:22:52 The syntax of my 3 commands is not the same as the one that 'nft list ruleset' outputs, do both work ? 2022-12-01 23:23:00 yes 2022-12-01 23:23:02 with newlines as appropriate 2022-12-01 23:23:58 Ok, thanks ! 2022-12-01 23:34:52 cache_return: which repo (site) did you use for updating? as well as the kernel being old for v3.16 the init (from mkinitfs) is old too... 2022-12-01 23:46:52 cache_return: also note it is telling you to run fsck on the boot partition 2022-12-02 00:00:13 minimal: I will check the repo and get back to you. the fsck warning has been there since intial install. I would fsck, clean the dirty bit, and it would be back next boot every time. 2022-12-02 00:04:32 mirror.clarkson.edu 2022-12-02 00:05:23 it has linux-rpi4-5.15.78 currently for 3.16 and seems to be up to date 2022-12-02 00:22:43 cache_return: sounds like it's not being cleanly unomunted during shutdown/reboot 2022-12-02 00:29:37 maybe it updated something other than the kernel which broke module loading. I can try to get it some internet later and try ro update again. 2022-12-02 00:30:34 minimal: yes, I agree not unmounting correctly, but it wasn't causing a problem so I passed on examining it. 2022-12-02 00:33:47 cache_return: wasn't causing a problem.....yet. Continuing to mount/use it without fsck could gradually make things worse 2022-12-02 00:35:42 cache_return: "apk -Ua upgrade" ? 2022-12-02 00:42:15 I'm back 2022-12-02 00:56:25 will try 2022-12-02 01:27:08 is this correct/up to date? https://wiki.alpinelinux.org/wiki/Alpine_Package_Keeper#Upgrading_"diskless"_and_"data"_disk_mode_installs 2022-12-02 01:27:46 was I supposed to do update-kernel after apk upgrade? 2022-12-02 01:27:58 because I did not do that. 2022-12-02 01:33:23 cache_return: ah, you're using run-from-ram, kernels are handled differently for that.........don't use run-from-ram myself 2022-12-02 01:33:51 minimal: no, sysmode 2022-12-02 01:34:05 so this doesn't apply? 2022-12-02 01:35:51 update-kernel is only for run-from-ram AFAIK 2022-12-02 01:36:11 that wiki does mention "diskless" 2022-12-02 01:38:24 I didn't know what data disk referred to 2022-12-02 01:38:56 although I will say that sysmode conversion was pretty iffy for this device, so that cpuld be a cause of this. 2022-12-02 01:42:20 cache_retrurn: it is still unclear how your update ended up with out-of-date packages 2022-12-02 01:44:08 my working theory is that the kernel did not update 2022-12-02 01:44:29 that the running kernel is the pre-update kernel 2022-12-02 01:45:03 does the /lib/modules/ directory exist? 2022-12-02 02:15:18 it does 2022-12-02 02:16:54 Wait, let me check the version 2022-12-02 02:21:50 nope! it's /lib/modules/5.15.78 2022-12-02 02:22:05 and kernel *.55 2022-12-02 02:22:34 so it updated the modules but not the kernel itself 2022-12-02 02:22:52 that's why modules don't load - there are no modules for the current kernel version 2022-12-02 02:23:10 yes 2022-12-02 02:23:24 the RPI's boot partition is mounted as /boot ? 2022-12-02 02:23:40 it should be, let me check 2022-12-02 02:25:52 /dev/mmcblk0p1/ is mounted at /media/mmcblk0p1 and /boot is a symlink to that 2022-12-02 02:26:35 so a "ls -l /boot" shows initramfs-rpi4 and vmlinuz-rpi4 files? 2022-12-02 02:27:10 oops "ls -l /boot/" (slash on the end 2022-12-02 02:27:17 yes. 2022-12-02 02:27:42 and the dates of those files are old or look like when you did the upgrade? 2022-12-02 02:27:55 one was last updated yesterday when I did the update (initramfs) and the other last updated on 11/11 2022-12-02 02:28:09 vmlinuz 2022-12-02 02:28:15 that's the kernel 2022-12-02 02:29:22 so then in the /boot/config.txt file what's the values of "kernel=" and "initramfs=" ? 2022-12-02 02:29:47 in the "[cm4]" section if there is one 2022-12-02 03:07:52 it says "kernel=boot/vmlinuz-rpi4" and "initramfs boot/initramfs-rpi4" 2022-12-02 03:08:14 not /boot and not initramfs= 2022-12-02 03:09:39 cache_return: ok, so if you do a "ls -l /boot/boot/" are you seeing DIFFERENT (size / dated) vmlinuz and initramfs files? 2022-12-02 03:34:52 minimal: both files are there, but with different sizes and dated 10/16 2022-12-02 03:35:14 cache_return: right, that's the problem then 2022-12-02 03:35:57 so (a) when the new kernel was installed it was written to /boot/ and a generated/regenerated initfs also to /boot 2022-12-02 03:36:26 however the RPI's bootloader is configured to load kernel & initramfs from "boot/" (relative to the boot partition) 2022-12-02 03:36:38 so it loads an older set of files ;-) 2022-12-02 03:36:58 meanwhile the installation of the newer kernel resulted in the old version kernel modules being deleted 2022-12-02 03:40:20 I can try replacing with /boot in config.txt 2022-12-02 03:40:52 would like to just remove /boot/boot. Not sure why it exists. 2022-12-02 03:41:23 cache_return: no, you don't use "/boot" in config.txt as that would refer to the existing boot directory on the boot partition 2022-12-02 03:42:07 also you need to be careful changing where you tell config.txt to load kernel and initram as there may be other files in there it wants to load also 2022-12-02 03:42:19 because it is read before rootfs is mounted? 2022-12-02 03:42:29 okay, then do what? 2022-12-02 03:42:39 it is not read by Linux, it is read by the RPI's own bootloader 2022-12-02 03:43:09 change to kernel=vmlinuz-rpi4? 2022-12-02 03:44:21 is there a way to test these vmlinuzes to see what kernel version is in them? 2022-12-02 03:44:46 that would read the vmlinuz from the top-level of the boot partition - note my point about other files though.....you'd have to check config.txt, usercfg.txt, etc to see what files are loaded from where 2022-12-02 03:45:05 you don't want to end up with a non-booting system 2022-12-02 03:45:22 honestly the problem seems to be that config.txt will be overqritten by updates 2022-12-02 03:45:44 "file /boot/vmlinuz-rpi4" 2022-12-02 03:46:31 file: not found 2022-12-02 03:46:58 I'd need to check my notes but (from memory) config.txt is not changed once an installation is done (as it is not packaged by Alpine, it is created by the setup scripts instead) 2022-12-02 03:47:11 I'd have to doublecheck though, I'm just relying on memory 2022-12-02 03:47:19 ah, you don't have "file" installed 2022-12-02 03:47:29 the text of it says it will be overwritten 2022-12-02 03:47:44 file didn't come with the image 2022-12-02 03:47:58 cache_return: don't believe everything you read ;-) Though like I said I'd have to doublecheck 2022-12-02 03:49:21 the default does have it like that 2022-12-02 03:49:23 sounds like either kernel=vmlinuz-rpi4 or removing /boot/boot and doing ln -s /media/mmcblk0p1 /boot/boot 2022-12-02 03:49:24 don't remember why though 2022-12-02 03:49:32 ah right 2022-12-02 03:49:43 there is a boot -> . symlink isn't there 2022-12-02 03:49:44 psykose: yeah I know it has that message, but I don't think it is actually accurate 2022-12-02 03:49:54 so boot/vmlinuz just points to vmlinuz in cwd 2022-12-02 03:50:04 and for some reason it's an actual folder here 2022-12-02 03:50:10 no idea why it was set up with the symlink though 2022-12-02 03:50:41 so I should replace it with the symlink? 2022-12-02 03:50:45 minimal: yeah it's only mkimg that makes it so nothing overrides it 2022-12-02 03:50:48 cache_return: sure 2022-12-02 03:50:49 cache_return: older Alpine versions had stuff in boot subdirectory, then a RPI Bootloader bug was discovered that caused problems if the boot partition was labelled "boot" and so a change was made to but stuff in top-level 2022-12-02 03:50:57 aha 2022-12-02 03:50:59 that was the one 2022-12-02 03:51:03 good memory 2022-12-02 03:51:15 I suffeted from that bug on initial install 2022-12-02 03:51:31 personally i just edit the file to have no boot/ prefix 2022-12-02 03:51:44 and have no boot anything in there 2022-12-02 03:51:46 cache_return: your problem is as it's a CM4 you couldn't install from scratch using SDcard with setup-disk 2022-12-02 03:51:52 but i'm more confident with doing random stuff :) 2022-12-02 03:52:18 oh, I know 2022-12-02 03:52:30 I'm trying to remember what settings control where to find overlays (as I'm guessing you have an them inside the boot subdir) 2022-12-02 03:53:07 psykose: for a RPI4 is easy to try risk stuff as you just pull the SDcard, in his case he's boot off builtin flash 2022-12-02 03:53:11 I'm going to nuke /boot/boot for a symlink 2022-12-02 03:53:23 minimal: no overlays in /boot/boot 2022-12-02 03:53:31 only in /boot 2022-12-02 03:53:44 so what else is in /boot/boot apart from the kernel and initramfs files? 2022-12-02 03:53:52 sure, rm -r boot, ln -s . boot 2022-12-02 03:54:37 minimal: system map, bootcode, config-rpi4, fixup.dat, start.elf 2022-12-02 03:54:54 psykose: *selectively* good memory, I switched to zswap to fit more in ;-) 2022-12-02 03:55:11 ;) 2022-12-02 03:55:51 cache_return: is there bootcode, fixup, and start.elf also in the top-level of boot partition? 2022-12-02 03:56:30 yes but different ones 2022-12-02 03:56:46 I assume newer in top-level 2022-12-02 03:57:06 those are files the bootloader uses, rather important ;-) 2022-12-02 03:57:09 actually, some could be same but with different dates. 2022-12-02 03:58:00 the system map and config-rpi4 come with the kernel package so there'll be versions already in top-level 2022-12-02 03:59:00 no system map in /boot 2022-12-02 03:59:20 so *in theory* changing the config.txt references to remove "boot/" from both kernel and initramfs should be ok 2022-12-02 03:59:37 ln -s . boot operarion not permitted 2022-12-02 03:59:58 no system map? strange, its not critical AFAIK, just used for "debug info" if the kernel panics, right psykose? 2022-12-02 04:00:01 ole root permissions needed just like every other step here 2022-12-02 04:00:08 minimal: yeah, used for nothing 2022-12-02 04:00:10 cache_return: boot is FAT, you can't symlink 2022-12-02 04:00:23 ah that too 2022-12-02 04:00:24 hmm 2022-12-02 04:00:29 I am root 2022-12-02 04:00:52 oh, wow I did not know that. 2022-12-02 04:00:57 i guess you just edit the files then and remove the boot 2022-12-02 04:01:03 cache_return: no, I mean symlinking ("ln -s" is a Unix/Linux filesystem thing, not a FAT filesystem thing 2022-12-02 04:01:04 i forgot the whole rest of the other setup :) 2022-12-02 04:01:09 I guess so. 2022-12-02 04:01:39 psykose: yeah I'm working from memory too, I don't often tinker with RPI bootloader setup once I got things the way I like them 2022-12-02 04:01:59 more stable than i expect it to be really 2022-12-02 04:02:06 i just set some overclock ages ago and it's still there 2022-12-02 04:02:26 here we go... 2022-12-02 04:08:24 "now playing Simon & Garfunkel's The Sound Of Silence" ;-) 2022-12-02 04:08:37 cache_return: so? 2022-12-02 04:19:07 that was it. It worked. 2022-12-02 04:20:24 good news 2022-12-02 04:25:25 thanks for the help 2022-12-02 04:25:38 as usual 2022-12-02 05:13:15 clandmeter: ping. inquiry: for whatever reason packages in Adélie which had contributions from you had elided your email address. is this something you requested, and if so is it something you'd like to remain the case? 2022-12-02 08:26:46 Yo, when is the next LTS kernel update gonna hit? I'm trying to test my unattended upgrade script on real hardware lol 2022-12-02 08:28:19 probably after it is released and not before it exists 2022-12-02 08:31:01 Hmm, I think you're on to something. I must investigate this further. 2022-12-02 09:09:44 Hello, I have a question. Is there an option to not to install any bootloader during initial setup? 2022-12-02 10:04:41 plop 2022-12-02 10:05:01 installing shadow-login does not seem to read /etc/environment (at least from ssh) 2022-12-02 10:06:06 normally sshd doesn't invoke `login` at all (it used to be an option, but no longer is) 2022-12-02 10:06:12 even though pam_env is included in /etc/pam.d/system-login 2022-12-02 10:06:17 I've tried in tty as well 2022-12-02 10:17:55 Ermine: hey, it worked. 2022-12-02 10:18:18 I think I'm ready to try on real hardware 2022-12-02 15:01:46 Hi! Can I find a list of alpine repository signing keys for a specific alpine version/architecture somewhere? 2022-12-02 15:08:20 eeijat: setup-disk currently always installs a bootloader (well apart from for Raspberry Pi which has one builtin, but it does create config for that). 2022-12-02 15:08:55 eeijat: why would you not want a bootloader installed/configured? what exactly are you trying to do? 2022-12-02 16:13:04 msrd0: usually it's in an alpine-keys package in the repos 2022-12-02 16:14:05 see here: https://gitlab.alpinelinux.org/alpine/aports/-/blob/aab68f8c/main/alpine-keys/APKBUILD#L13 2022-12-02 16:14:13 you can also select a specific version tag from the dropdown 2022-12-02 16:59:57 minimal, I use EFI stub and so any bootloader on my machines is dead weight (I'm not sure if its the right words anyway I just don't need them) 2022-12-02 17:02:37 eeijat: right, I assumed that's what you were doing. At some point in the future setup-alpine/setup-disk might support using EFISTUB but it currently does not 2022-12-02 17:03:33 so for now you'd have to install with Grub used and then afterwards remove it and manually setup EFISTUB instead 2022-12-02 17:11:48 minimal, yes that's what I'm doing for now. And such an option could be very helpful, thanks for respond 2022-12-02 17:19:03 ikke: how can I remove suid, so I can package it? that app needs root indeed IIRC 2022-12-02 17:19:38 chmod u-s $pkgdir/path/to/smlock 2022-12-02 17:36:39 to the bin? 2022-12-02 17:38:09 yes 2022-12-02 17:39:53 the bin was in pkg 2022-12-02 17:40:13 yes, so $pkgdir 2022-12-02 17:40:13 pkg is in the same folder of the APKBUILD. it is stuck in the postprocess again 2022-12-02 17:40:38 scorpion2185[m]1: is it hanging or does it stop? 2022-12-02 17:40:46 hanging 2022-12-02 17:46:20 can you check with (h)top what is happening (in another session, while it's hanging)? 2022-12-02 18:03:07 Another question, can I somehow uninstall unused firmware from a working system? Not by hand and one by one I mean 2022-12-02 18:06:38 eeijat: are you talking about multiple linux-firmware-* packages? 2022-12-02 18:07:07 if so then "apk add linux-firmware-none" and then you can remove whichever of the other linux-firmware-* packages you do not need 2022-12-02 18:16:28 minimal, thanks again I'll try it later 2022-12-02 19:44:44 ikke: what should I search? 2022-12-02 19:50:48 ACTION uploaded an image: (30KiB) < https://matrix.org/_matrix/media/v3/download/matrix.org/rFHBHGKQicLNKVcBRnssTQOh/2022-12-02_20-50-26.png > 2022-12-02 19:50:54 ikke: I found that ^ 2022-12-02 19:53:37 If you press `t`, or `f5`, you get a hierarchical view of the processes 2022-12-02 20:03:03 xargs scanel --nobanner --etype ET_EXEC 2022-12-02 20:03:03 scanel --nobanner --etype ET_EXEC /path/smlock/usr/bin/smlock 2022-12-02 20:03:03 sed s|ET_EXEC ~/path/smlock/pkg/smlock|\t| 2022-12-02 20:27:17 running scanelf, wondering what it's hanging on 2022-12-02 20:28:05 can you install strace, and then try: strace -p -f -o scanelf.strace 2022-12-02 20:28:18 maybe after 10 seconds or so cancel it 2022-12-02 20:30:05 cancel strace or abuild -r? 2022-12-02 20:30:41 strace 2022-12-02 20:57:31 ikke: `8419 semop(0, [{sem_num=0, sem_op=-1, sem_flg=SEM_UNDO}], 1 ` 2022-12-02 21:08:02 Raspberry Pi 1 is that armhf or armv7 ? 2022-12-02 21:08:16 I am already assuming aarch64 won't work... 2022-12-02 21:13:18 armhf 2022-12-02 21:13:48 and no, aarch64 would not work 2022-12-02 21:20:15 armhf is with armv7 with extra floating point right ? 2022-12-02 21:21:27 no, it's armv6 2022-12-02 21:26:27 so in short: aarch64 > armv7 > armhf and a pi1 only supports armhf 2022-12-02 21:34:19 yes 2022-12-03 01:45:17 hello, how do I disable the bold-is-bright in the console? 2022-12-03 01:45:31 I think it's known as ANSI bold or something... 2022-12-03 01:45:57 my aim is to have the regular text display as bright white so I can see it in daylight 2022-12-03 02:11:03 (and by console I mean vt not terminal emulator in X) 2022-12-03 08:36:49 plz plz plz enable amlogic on linux-lts aarch64, thank you 2022-12-03 08:42:28 you can open an issue for what you want enabled 2022-12-03 09:55:29 re: ^ aarch64 > armv7 > armhf <-- and where does armv7l fit ? 2022-12-03 10:01:47 the names don't mean anything 2022-12-03 10:02:52 armv7l is just armv7, the l is 32-bit 2022-12-03 10:18:03 ok, thanks 2022-12-03 13:04:45 Hello. After some of updates screensharing stop works in my firefox on linux edge. Is it known issue? 2022-12-03 13:04:55 or maybe something wrong with my setup... 2022-12-03 14:31:51 hi all - have a host machine on 3.17.0. trying to get octoprint working but i can't seem to see the usb connected printer via /dev/tty? can anyone help? 2022-12-03 14:32:23 cowboy_spike: do you see anything appearing in dmesg when you connect the printer? 2022-12-03 14:34:10 ikke: yes - can see the 3d printer 2022-12-03 14:35:09 sorry not familiar with tty / serial / usb stuff 2022-12-03 14:37:21 cowboy_spike: I'm not familiar with octoprint 2022-12-03 14:37:27 What do you expect to happen exactly? 2022-12-03 14:37:41 Usually a serial device is something like /dev/ttyS* 2022-12-03 14:38:21 in setting up octoprint, it's looking to connect via /dev/tty 2022-12-03 14:38:37 default is /dev/ttyASM0 2022-12-03 14:39:02 cowboy_spike: in a terminal, can you show the output from `ls /dev/tty*` 2022-12-03 14:39:31 yes 2022-12-03 14:41:15 all the tty are not linked to anything 2022-12-03 14:42:56 i got it working with a different machine (debian) using the default octoprint config using /dev/ttyASM0 2022-12-03 14:43:17 my guess is i need to do something to get the usb connection to appear via /dev/tty ? 2022-12-03 14:44:33 under alpine there is no /dev/ttyASM0 2022-12-03 14:45:20 cowboy_spike: can you show the output that appears in dmesg on the debian system? 2022-12-03 14:46:01 cowboy_spike: perhaps some kernel module, but we'd need to know which 2022-12-03 14:47:41 [899078.369667] usb 2-1.6: new full-speed USB device number 3 using ehci-pci 2022-12-03 14:47:41 [899078.469683] usb 2-1.6: Product: Original Prusa i3 MK3 2022-12-03 14:47:41 [899078.469671] usb 2-1.6: New USB device found, idVendor=2c99, idProduct=0002, bcdDevice= 1.30 2022-12-03 14:47:41 [899078.469679] usb 2-1.6: New USB device strings: Mfr=1, Product=2, SerialNumber=3 2022-12-03 14:47:41 [899078.469685] usb 2-1.6: Manufacturer: Prusa Research (prusa3d.com) 2022-12-03 14:47:41 [899078.469687] usb 2-1.6: SerialNumber: CZPX3322X004XK78960 2022-12-03 14:47:45 sorry for the spam 2022-12-03 14:50:59 does this work: ls /lib/modules/$(uname -r) 2022-12-03 14:54:13 5.15.80-0-lts 2022-12-03 14:55:26 but does that directory exist? 2022-12-03 15:04:12 yes 2022-12-03 15:04:45 oh wait no, it doesn't 2022-12-03 15:05:11 ok, it means you have to reboot 2022-12-03 15:05:20 oh ok i see it now 2022-12-03 15:05:27 it has a bunch of modules 2022-12-03 15:05:59 So the output of uname -r is 5.15.80-0-lts, and /lib/modules/5.15.80-0-lts exists? 2022-12-03 15:06:09 yes 2022-12-03 15:06:18 it also a kernel dir 2022-12-03 15:06:35 ok 2022-12-03 15:11:22 cowboy_spike: can you run: modinfo ehci-pci? 2022-12-03 15:12:01 modinfo: ERROR: Module ehci-pci not found. 2022-12-03 15:12:10 guessing i need to add that module 2022-12-03 15:12:45 cowboy_spike: ls -l /lib/modules/5.15.80-0-lts/kernel/drivers/usb/host/ehci-pci.ko.gz 2022-12-03 15:13:24 it's there 2022-12-03 15:13:40 ok, try modprobe ehci-pci as root 2022-12-03 15:14:23 modprobe: FATAL: Module ehci-pci not found in directory /lib/modules/5.15.78-0-lts 2022-12-03 15:15:35 cowboy_spike: can you please verify again the output of uname -0r 2022-12-03 15:15:39 uname -r 2022-12-03 15:16:24 You need to reboot 2022-12-03 15:16:30 the installed kernel is newer then the running kernel 2022-12-03 15:17:10 cowboy_spike: I suspect the output of uname -r is 5.15.78-0-lts, not 5.15.80-0-lts 2022-12-03 15:17:10 rebooting now 2022-12-03 15:18:29 modprobe: FATAL: Module echi-pci not found in directory /lib/modules/5.15.80-0-lts 2022-12-03 15:19:09 ehci-pci 2022-12-03 15:19:38 But I suspect it will automatically load it now if you plugin the printer 2022-12-03 15:19:51 yeah nothing comes back 2022-12-03 15:20:00 ecchi pci 2022-12-03 15:20:10 cowboy_spike: that means it works 2022-12-03 15:20:16 the modprobe, that is 2022-12-03 15:20:20 but just replugging would be fine 2022-12-03 15:20:32 cowboy_spike: can you verify that /dev/ttyASM0 exists now? 2022-12-03 15:20:55 yes! 2022-12-03 15:20:58 thanks all! 2022-12-03 15:21:17 cowboy_spike: Details matter 2022-12-03 15:21:25 yes thanks ikke 2022-12-03 16:15:40 I see ibm-plex-nerd fonts being prepared here: https://git.alpinelinux.org/aports/tree/community/nerd-fonts-stable/APKBUILD, but I don't see them at pkgs.a.o 2022-12-03 16:18:02 Ermine: https://pkgs.alpinelinux.org/package/edge/community/x86_64/font-ibm-plex-mono-nerd 2022-12-03 16:18:45 font-ibm-plex-nerd is provided by font-ibm-plex-mono-nerd 2022-12-03 16:18:59 ikke: ah, my bad, thank you 2022-12-03 19:39:15 If anyone's struggling with no auto-mount of NAS/SMB/NFS volumes at boot despite being in FSTAB (like I did for months), you just need rc-update add netmount boot. Got that one at random in my Local feed on Mastodon, so that was a gift from the Universe 2022-12-03 19:39:39 I thought I needed pam_mount and the associated rules and have not been able to figure out packaging that 2022-12-03 19:41:07 I don't see an initd for boltctl, is there a bestpractice to start it automaticaly ? I realized that my usb port and other are not working if I am not doing a botcl list or any other command as it is starting /usr/libexec/boltctl, it is not a problem of authorize nor enroll but just that the service is not started, I was thinkg on adding an udev rule but there is maybe a better way? 2022-12-03 19:44:27 Saijin_Naib: wouldn't pam_mount be for doing automounts upon user login, rather than on system boot? 2022-12-03 19:45:24 I think so, like USB drives and other GVFS stuff, right? 2022-12-03 19:45:48 I was fine with that, anything to not have to drop into a root shell before logging in, running mount -a, and then going back to normal login 2022-12-03 19:46:49 blt[m]: the bolt package does install a udev rule, 90-bolt.rules 2022-12-03 19:48:16 Saijin_Naib: haven't looked at it, was just pointing out that I'd not expect to use login-time functionality to mount at boot time 2022-12-03 19:53:02 minimal: thanks, in fact I see it now (I was looking to /etc/udev/rules.d and not in /lib/udev/rules.d, so it is strange that it is not working... I am checking the rule/name to understand the reason 2022-12-03 19:55:35 blt[m]: the rule appears to be written with systemd in mind 2022-12-03 19:56:06 yes I saw the TAG as well... 2022-12-03 19:56:28 blt[m]: not just the tag, it refers to a systemd bolt.service 2022-12-03 19:56:41 which obviously doesn't exist on Alpine 2022-12-03 19:57:09 I see so that is the issue 2022-12-03 19:59:05 blkt[m]: also /usr/share/dbus-1/system-services/org.freedesktop.bolt.service refers to systemd bolt.service 2022-12-03 20:03:05 So, I have an Alpine system with grub and os-prober installed, but it doesn't want to detect other systems. 2022-12-03 20:08:08 minimal: I made a new rule SUBSYSTEM=="thunderbolt", RUN+="/usr/libexec/boltd" which is working but am not an udev expert so it is perhaps a dirty way 2022-12-03 20:12:13 Ermine: is grub-mkconfig running os-prober ok? 2022-12-03 20:20:25 Ermine: in /etc/default/grub did you set GRUB_DISABLE_OS_PROBER=false ? 2022-12-03 20:26:42 minimal: yes, I've added this line. And there are log lines from os-prober in /var/log/messages. 2022-12-03 20:27:11 Ermine: what happens if you run "os-prober" manually? does it discover the other OSes? 2022-12-03 20:28:17 you should get output of 1 line per OS 2022-12-03 20:38:13 minimal: it discovers Arch Linux (but there is another Alpine and Adélie on the disc) 2022-12-03 20:39:21 Ermine: so it is not a Grub issue, it is a os-prober issue 2022-12-03 20:40:08 I suspect it might not find either of those due to the "non standard" naming of kernel and/or initramfs files 2022-12-03 20:41:19 Arch's os-prober works and finds everything. 2022-12-03 20:41:55 Ermine: that proves nothing, it might have different logic for searching 2022-12-03 20:43:49 Ermine: e.g. the 90fallback file has rules for various forms of initramfs naming 2022-12-03 20:44:07 perhaps the Arch and Alpine versions of that file have differing rules 2022-12-03 20:48:04 Ermine: os-prober is a shell script, so run with "-x" to debug it? 2022-12-03 20:50:02 minimal: tried diff on /usr/lib/os-prober in Alpine and Arch, no difference except newns binary. 2022-12-03 20:53:47 minimal: here's the log: https://pastesite.org/view/b3585c5b 2022-12-03 20:57:54 Any reports of wifi working worse/crash a lot in edge versus 3.16? I use iwl driver on an old Lenovo laptop (x220 tablet) 2022-12-03 20:58:10 unrznbl[m]: nothing reported so far 2022-12-03 21:00:12 Cool. I was getting lots of noise in dmesg/syslog and Wi-Fi was definitely flaky on and off. I’ll try and reinstall 3.16 maybe :) thanks! 2022-12-03 21:01:59 Ermine: no idea, I don't have any Alpine machines with other OSes/distros on them to test 2022-12-03 21:02:20 but when I run it in a Alpine-only system it (obviously) gives no results 2022-12-03 21:03:58 Ermine: try modifying the 1st line of /usr/bin/os-prober to append " +x" and run it, you'll get more output (will need to do " 2> logfile") 2022-12-03 21:07:51 minimal: ok, will do it tomorrow. 2022-12-04 06:03:17 uhhh... did the plugdev group not exist in Alpine before and now it needs to? 2022-12-04 08:20:10 existed for a while 2022-12-04 08:20:25 not that many things use it 2022-12-04 12:05:06 why are some dependencies of inkscape left out? 2022-12-04 12:05:06 specifically the ones for the extraction as an image 2022-12-04 12:05:07 It depends on some python packages 2022-12-04 13:46:00 Does anyone have any experience with running dual-stack IP? 2022-12-04 13:46:58 If mean with having both ipv4 and ipv6 present, sure 2022-12-04 13:47:01 if you mean* 2022-12-04 13:47:30 I'm trying to get Alpine Linux working in an IPv6-only Vultr server, and while I don't have a public IPv4 address, I should be able to access other IPv4 addresses. But I can't. 2022-12-04 13:47:43 And I'm wondering if anyone has any idea how that would happen 2022-12-04 13:48:07 I can connect to the IPv6 Internet just fine 2022-12-04 13:48:15 Does vultr use NAT64 2022-12-04 13:48:17 ? 2022-12-04 13:48:42 don't think so 2022-12-04 13:48:51 Yeah, I'm pretty sure it doesn't 2022-12-04 13:48:52 you have to set up your own things to reach v4 2022-12-04 13:48:59 can't reach any v4 addresses otherwise 2022-12-04 13:49:14 Oh, so that's normal? 2022-12-04 13:49:17 yeah 2022-12-04 13:49:35 v4 and v6 are completely distinct and don't imply anything to eachother 2022-12-04 13:49:46 plenty of ways to work with allowing one to reach the other but not by default 2022-12-04 13:49:52 I thought I just had to share an IPv4 address with a bunch of other servers, like a personal computer behind your average home router 2022-12-04 13:50:04 that implies nat64 2022-12-04 13:50:04 that would imply you have a v4 address, but you don't 2022-12-04 13:50:14 It says I have one in Vultr settings 2022-12-04 13:50:19 100.68.85.140 2022-12-04 13:50:31 and did you add that to your VPS? 2022-12-04 13:50:39 that would mean it's not v6-only :p 2022-12-04 13:50:40 That sounds like cgnat 2022-12-04 13:50:49 you have to somehow get that to your interface configuration 2022-12-04 13:51:05 Perfect, this sounds like something I can actually work on solving 2022-12-04 13:51:19 100.64-127 is cgnat yeah 2022-12-04 13:51:44 i guess what they mean by v6only is only v6 publically routable 2022-12-04 13:51:55 That's what I expected 2022-12-04 13:52:19 i would except the usual dhcp or whatever to work and give that as a v4 address for you, so if not you have to look around there 2022-12-04 13:52:23 expect* 2022-12-04 13:53:18 I have DHCP set up for both IPv4 and IPv6, though I've also tried configuring it statically based on the Debian configuration Vultr provides 2022-12-04 13:53:47 Thanks for the help, I just wanted to make sure this wasn't an Alpine thing before bugging Vultr about an OS they don't officially support 2022-12-04 13:54:51 if `ip a` shows that 100.x address on the iface you should be able to reach v4 2022-12-04 13:55:04 You also need a default route 2022-12-04 13:55:11 inet 100.68.85.140/18 brd 100.68.127.255 scope global eth0 2022-12-04 13:55:23 ip route show default 2022-12-04 13:55:30 ah yes 2022-12-04 13:55:46 baza:~# ip route show default100.68.64.0/18 dev eth0 scope link src 100.68.85.140 2022-12-04 13:56:01 OK, so I forgot you can't do multiline IRC messages, but you get the idea 2022-12-04 13:56:05 now try something like `ping -4 google.com` and ping -6 to compare 2022-12-04 13:56:15 that's not a default route 2022-12-04 13:56:16 IPv6 works, IPv4 doesn't 2022-12-04 13:56:30 When I type "ip route show default", that's the result 2022-12-04 13:56:39 it should show 'default via dev ..' 2022-12-04 13:57:01 What's the IPv6 equivalent? 2022-12-04 13:57:04 `ip route add default via ` 2022-12-04 13:57:15 ip -6 route show default 2022-12-04 13:57:40 Got it 2022-12-04 13:57:51 So, how do I designate a default route? 2022-12-04 13:57:56 ^^ 2022-12-04 13:58:10 Wait, does that persist? 2022-12-04 13:58:21 no 2022-12-04 13:58:38 typically you add that to /etc/network/interfaces 2022-12-04 14:11:07 hello there everyone 2022-12-04 14:11:47 i wanted to ask if anyone around here knows what the hex characters represent in /var/cache/apk/APKINDEX.ac15ed62.tar.gz? 2022-12-04 14:12:13 I have these APKINDEX.*.tar.gz files on different systems, where the hex characters are different, but the file sha256 is the same 2022-12-04 14:12:31 any idea what those hex characters refer to? thanks a bunch folks! 2022-12-04 14:24:53 apkcacher: I'm not entirely sure myself 2022-12-04 14:25:09 trying to find it in the source, but cannot find exactly where it is done 2022-12-04 14:26:50 oh, just found it 2022-12-04 14:26:52 https://gitlab.alpinelinux.org/alpine/apk-tools/-/blob/master/src/database.c#L578 2022-12-04 14:27:25 So it is a checksum 2022-12-04 14:28:48 apkcacher: but no idea why it might be different even when the index files are equal 2022-12-04 14:35:52 ikke: that is really strange. let me upload two screenshots, one sec 2022-12-04 14:45:08 ikke: this is from a docker container after running apk update: https://ibb.co/XW6W3Bs 2022-12-04 14:45:36 ikke: this is from a live system booted from an usb stick after running apk update: https://ibb.co/Y0bt2mZ 2022-12-04 14:46:35 ikke: both are alpine 3.17. the hex characters in filename differ, md5sum is the same... 2022-12-04 15:22:02 apkcacher: I noticed that too, how many diffrent mirror links are there in repositories file ? 2022-12-04 15:27:19 vkrishn: Just the main and community repos for x86_64 (default mirror) 2022-12-04 15:29:35 does changing mirror + apk update add another APKINDEX.. file ? 2022-12-04 15:31:32 vkrishn: yeah maybe the repo endpoint is mixed into the checksum. let me check that quick 2022-12-04 15:35:33 I can think of one reason for this behaviour, sometimes mirrors are not in sync, so this is needed to track what went wrong 2022-12-04 15:40:26 but, fun part is, now you have three of them 2022-12-04 15:47:11 vkrishn: I added the yandex mirror and got another APKINDEX.$hex.tar.gz. Same sha256. Here is a pic of my repos file and the APKINDEX files on my system: https://ibb.co/QJv1KLv 2022-12-04 15:47:44 it's not sha256 of the file itself 2022-12-04 15:48:22 panekj: yeah I figured that. otherwise of course that part would be identical too like the sha256 checksum is. 2022-12-04 15:48:38 most likely the repo endpoint is somehow incorporated into that hash input 2022-12-04 16:01:03 I tried 3.17 with my thinkpad x220 and it didn’t find my wifi access points. I was having unstable iwlwifi with edge, so far 3.16 is stable and finds my APs just fine. So workaround is good just maybe back of mind that there might be a regression somewhere there. :) thanks for awesome alpine! Love using it day to day on this laptop and all my phones (well, except my iPhone:() 2022-12-04 16:17:13 hi, is there some dropbear or similar alternative for unlock LUKS remotely officially supported? 2022-12-04 16:19:11 donoban: nope, I raised a MR quite some time ago to add this to mkinitfs but it was never merged 2022-12-04 16:20:14 quite some time == more than 1 year ago 2022-12-04 16:20:42 oh, do you think it stills working? 2022-12-04 16:21:46 donoban: the patches would probably need some minor changes, however I would not recomend using it - if you do then any update of the mkinitfs or dropbear packages would "remove" the changes 2022-12-04 16:22:47 well, I need to find some solution 2022-12-04 16:23:18 there is no solution in Alpine presently AFAIK 2022-12-04 16:24:07 you could perhaps look at switching from mkinitfs to dracut and use hooks for dracut, but dracut is in testing - i.e. only available on Alpine Edge 2022-12-04 16:25:35 I will try to look at your MR first, there was no expectation for merging it? 2022-12-04 16:26:38 is https://gitlab.alpinelinux.org/alpine/mkinitfs/-/merge_requests/86 ? 2022-12-04 16:26:41 the issue was around lack of a testsuite for mkinitfsm and the risk of changes breaking it 2022-12-04 16:27:27 yes that's the MR, plus there is another change to Dropbear to go along with it (no MR raised for that as I was waiting for the mkinitfs one to be merged first) 2022-12-04 16:28:16 donoban: have a look at https://github.com/dermotbradley/alpine-remote-LUKS-unlock 2022-12-04 16:28:58 but as I say, once you start making local changes to mkinitfs then how will you cope with mkinitfs package updates? 2022-12-04 16:31:27 hmm.., looking at the git history, probably once it works the majority of changes won't affect my setup, so I could stick with the working version 2022-12-04 16:33:33 donoban: then you'd miss any fixes/exhancements that would appear in newer mkinitfs versions, plus miss any dropbear fixes or version updates 2022-12-04 16:36:27 yes, I just feel that is not too frequently 2022-12-04 16:37:03 maybe I can to setup a cryptkey initfs, reboot and remove the initfs containing the key 2022-12-04 16:37:32 donoban: your choice but I would not rely on such a feature unless it was part of the official Alpine packages. 2022-12-04 16:37:48 it has it's downsides but it seems more simple to achieve 2022-12-04 16:37:55 how does that permit remote unlocking? 2022-12-04 16:38:16 storing the key on the unecrypted boot partition 2022-12-04 16:38:22 just before doing the reboot 2022-12-04 16:39:32 I thought you specifically wanted remote unlocking 2022-12-04 16:41:28 that seems like a very bad idea? once the key hits disk in plain reliably removing it is very hard 2022-12-04 16:41:41 seems like it will undermine the utility of FDE 2022-12-04 16:41:42 yeah, I log remotely via ssh, create the initramfs with the keys, reboot, crossfingers, log again and remove the initramfs 2022-12-04 16:42:06 elly: well it is *not* FDE if boot is unencrypted... 2022-12-04 16:42:07 yes, that it's the most important downside 2022-12-04 16:42:59 minimal: somehow, somewhere, there must be an unencrypted thing to load and run to do the decryption, so I think that's still in the spirit of FDE 2022-12-04 16:43:36 donoban: how will you log in remotely unless you modify the initramfs to run dropbear? and if you modify it to do so then why bother with copying key when you can just prompt for passphrase (which is what my MR does) 2022-12-04 16:43:36 uhM, luks slots are not reusable? 2022-12-04 16:43:57 minimal: I mean logging into an already booted system 2022-12-04 16:44:20 wich I booted with the keyboard 2022-12-04 16:44:47 elly: it is PDE, partial disk encryption, unless you use Grub's FDE support for an encrypted fs holding /boot. Even then if the machine is UEFI-based it is still PE as the ESP partition has to be unencrypted 2022-12-04 16:45:00 I see 2022-12-04 16:45:21 but the grub bootloader itself is still unencrypted on disk? 2022-12-04 16:45:44 so a BIOS-based system (assuming 1 disk) could be FDE using Grub, a UEFI system would be PDE 2022-12-04 16:45:55 yeah, grub still remains unencrypted no matter what 2022-12-04 16:46:04 whether it's in the bios mbr or in the uefi partition 2022-12-04 16:46:12 that still sounds partial under your definition 2022-12-04 16:46:12 but it's still useful against "steal disks and never return them" attacks 2022-12-04 16:46:14 at least the core image needs to be unencrypted so the UEFI/BIOS can load it 2022-12-04 16:46:20 these distinctions are meaningless 2022-12-04 16:46:24 indeed 2022-12-04 16:46:40 UEFI provides Secure Boot if you need to ensure that GRUB won't boot if it was tampered with 2022-12-04 16:46:46 to avoid tampering, involve a TPM or something (either with secure boot, or without) 2022-12-04 16:46:54 what really matters is whether your private data is encrypted when the machine is off, the rest is semantics :P 2022-12-04 16:47:35 grawity: in a BIOS system Grub's in the MBR, whereas with UEFI it's in the ESP partition/filesystem. So I was talking in terms of filesystems :-) 2022-12-04 16:47:46 sure, sure 2022-12-04 16:47:53 yes I'm backpedalling ;-) 2022-12-04 16:52:41 the big difference is if you are using a key stored in the initramfs to automatically unlock other filesystems - if the filesystem your /boot is on is unencrypted then someone with physical access to the machine when it's powered down could get hold of the key, whereas if /boot is part of an encrypted filesystem it prevents that. Obviously secure boot should then be used if available to detect tampering of the bootloader 2022-12-04 16:54:08 right, but the initramfs doesn't have to be on the EFI System Partition -- that's a separate thing from /boot 2022-12-04 16:55:36 grawity: yes it doesn't have to be (though currently setup-disk for UEFI with an encrypted rootfs does place /boot on the ESP partition) 2022-12-04 16:56:36 frawity: plus support for encrypted /boot is only in Grub and only if its "FDE" support is activated and if LUKSv1 is used 2022-12-04 17:31:33 Saklad5: are you using cloud-init on Alpine with Vultr? 2022-12-04 17:40:46 Hello! I have a question regarding diskless installation, which I am currently trying to set up with the generic ARM image on an SBC 2022-12-04 17:41:19 At the end of the setup-alpine script (basically just picking default options) I get a warning 2022-12-04 17:44:34 "WARNING: Ignoring http://dl-cdn.alpinelinux.org/alpine/v3.17/main: No such file or directory" 2022-12-04 17:45:06 Is this intentional? As far as I can see, it comes from the "apk cache sync" at the end of the script 2022-12-04 17:46:35 This warning does not happen if I run "apk update" and re-run "apk cache sync" 2022-12-04 17:59:52 I don't think that's normal 2022-12-04 18:14:22 I just noticed that while going through setup-apkrepos, it gives me this error: 2022-12-04 18:14:34 "Updating repository indexes... ERROR: http://ftp.halifax.rwth-aachen.de/alpine/v3.17/main: temporary error (try again later)" 2022-12-04 18:14:56 Any idea what may have caused it? It successfully got a dhcp lease 2022-12-04 18:15:29 bananicorn: dns? 2022-12-04 18:15:30 dns issues? 2022-12-04 18:15:40 bananicorn: did you disable ipv6? 2022-12-04 18:15:49 bananicorn: isn't it obvious? the "try again later" message indicates that particular server was not reachable then 2022-12-04 18:16:18 no, it's not obvious that a "try again later" means anything to do with dns for people that have not read every errno in the book :-) 2022-12-04 18:16:25 minimal: The error is obvious, the cause is not :) 2022-12-04 18:16:30 yeah but there are like 10 things that might have caused that unreachability 2022-12-04 18:16:39 As I mentioned, running apk update afterwards worked fine 2022-12-04 18:17:08 bananicorn: it sounds like you had some temporary network issue (or network was not fully working yet) 2022-12-04 18:17:34 I vaguely remember having an issue like this with the board before 2022-12-04 18:17:54 It would be strange to have this repeatedly occur if it was random, I tried over multiple times 2022-12-04 18:18:05 i had such issues before, it was due to my local dns server disabled ipv6 AAAA reply 2022-12-04 18:18:17 and musl it not happy with that 2022-12-04 18:18:30 disabled as in it started replying with "no such domain"? 2022-12-04 18:19:00 i have dnsproxy set --no-ipv6 2022-12-04 18:20:00 my local dns server is dnsmasq + dnsproxy(provides DOH) and i set them --ipv6-disabled 2022-12-04 18:20:14 remove that, then everything works again 2022-12-04 18:21:23 I will try setting a different dns server during setup 2022-12-04 18:22:19 musl seems to be very strict on dns reply. 2022-12-04 18:23:18 just checked my note, the error was : bad address mirrors.alpinelinux.org 2022-12-04 18:24:49 ^^ just my piece of share. i am not sure your issue was dns related or not. 2022-12-04 18:26:29 how do you disable ipv6 in dnsmasq 2022-12-04 18:26:46 filter-aaaa something like that 2022-12-04 18:27:17 --filter-AAAA 2022-12-04 18:27:25 Remove AAAA records from answers. No IPv6 addresses will be returned. 2022-12-04 18:27:43 i think it was added since 2.86? 2022-12-04 18:28:05 just looked at dnsproxy 2022-12-04 18:28:07 > --ipv6-disabled If specified, all AAAA requests will be replied with NoError RCode and empty answer 2022-12-04 18:28:09 well 2022-12-04 18:28:18 that is beyond completely wrong so i am not surprised 2022-12-04 18:28:23 jesus christ 2022-12-04 18:29:00 well, at least that's better than faking a NxDomain rcode 2022-12-04 18:29:08 and I've seen some dns resolvers do that 2022-12-04 18:29:16 i don't know the underlying details. but yeah, i removed them. 2022-12-04 18:29:21 hah, sure 2022-12-04 18:29:59 NoError + empty answer is what you normally get when the domain legitimately has no v6 addresses, so ... it's ugly in principle but I can't see it causing problems 2022-12-04 18:30:14 (why *do* people use filter-ipv6 though?) 2022-12-04 18:30:43 I hope, someday, that IPv4 dies in a fire 2022-12-04 18:31:41 grawity: i thought disable ipv6 will prevent AAAA query to save time, but i was wrong. the query will be sent anyways 2022-12-04 18:31:50 The behaviour I am seeing is quite bizzare, I don't think it's DNS because I can ping random IPs just fine, over both v4 and v6 2022-12-04 18:32:11 Please, for the love of God, never turn off IPv6 2022-12-04 18:32:12 Is there anything hardware or driver related that could be causing this? 2022-12-04 18:32:13 bananicorn: ping ip has nothing to do with DNS 2022-12-04 18:32:20 you should ping domain 2022-12-04 18:32:23 sorry I mean domain 2022-12-04 18:32:26 not IPs 2022-12-04 18:34:23 bananicorn: can you reproduce the issue everytime? 2022-12-04 18:34:45 Unfortunately it seems like yes, but I'll give it another round for good measure 2022-12-04 18:35:31 bananicorn: you may want to turn on verbose or debug message on your dns servers if there is any 2022-12-04 18:35:55 and watch them while reproducing the issue 2022-12-04 18:36:50 or you can force /etc/resolv.conf to use "nameserver 1.1.1.1" and try again 2022-12-04 18:37:05 minimal: here's the log of os-prober: http://erminea.space/paste/os-prober.log 2022-12-04 18:37:06 I will do the latter, I don't have any special dns setup 2022-12-04 18:40:17 Happened again, even with the google nameserver 2022-12-04 18:41:41 Is there a hardware or driver issue that could cause the first request to fail? 2022-12-04 18:41:50 bananicorn: which mirror? the official one? 2022-12-04 18:42:12 any mirror, tried the official one and the rwth aachen mirror 2022-12-04 18:42:36 try https? 2022-12-04 18:43:21 will try :) 2022-12-04 18:58:17 Okay that just worked for some reason 🤷 2022-12-04 18:58:23 I'll try a few more times, wish me luck 2022-12-04 18:59:20 well, if https works fine, then your ISP is doing something weird. 2022-12-04 19:00:51 the world is full of dns hijacking and plain http violation. be careful 2022-12-04 19:03:12 I remember having this issue with this particular board several years ago, in a different state in Germany with a different ISP 2022-12-04 19:03:29 I don't know how https solved it, but I'll take it 2022-12-04 19:06:07 Thanks for the idea :) 2022-12-04 19:11:34 Ermine: are you running with eudev? do you have the "full" version (rather than Busybox one) of blkid installed? 2022-12-04 19:12:10 eudev - yes, blkid - not sure, most probably it is busybox version. 2022-12-04 19:12:48 Ermine: realpath $(command -v blkid) 2022-12-04 19:16:57 Ermine: try installing blkid package and see if that makes any difference 2022-12-04 19:17:33 Ermine: I see common.sh using "blkid -o value -s TYPE" which busybox's blkid will not handle 2022-12-04 19:27:18 minimal: it didn't help. 2022-12-04 19:27:43 Hi, I've got a problem with udev and sound devices. I use sway and recently re-read the wiki page (had some other problem which is now fine... I hope). I did `setup-devd udev` as instructed but now /dev/snd/* is owned by root:root not root:audio and the permissions are 600 not 660 so non-root users can't access sound devices even if they're part of the audio group. Changing the 2022-12-04 19:27:45 permissions manually works but isn't saved. Changing (back?) to mdev makes the permissions right, but then sway and udev needing stuff doesn't work. I can't see anything obviously wrong in udev rules (don't think I've changed anything). Any ideas? 2022-12-04 19:28:32 Ermine: II think it helps to have proper blkid installed but suspect there's other issues as well 2022-12-04 19:29:26 Ermine: which devices/partitions do you have other Linux distros on? 2022-12-04 19:30:37 Ermine: and what filesystem type(s) are you using? e.g. I don't think it handles ZFS 2022-12-04 19:34:31 sda1 is ESP, sda2 is Adélie Linux, sda3 is Alpine Linux, sda4 is another Alpine Linux from which I manage bootloader, sda5 is Arch Linux. Every distro uses ext4 file system. 2022-12-04 19:53:20 Ermine: do you have the grub-mount package installed? if not then try installing that and run the test again 2022-12-04 19:59:54 minimal: it worked, thank you! 2022-12-04 20:03:59 so grub-mount and blkid are missing dependencies for os-prober 2022-12-04 20:04:52 basically it seems to use grub-mount (which uses fuse) to mount unmounted partitions to check them - without grub-mount installed then obviously it cannot discover other OSes on partitions it cannot mount 2022-12-04 20:07:12 surprised no-one's noticed this before now as it's been packaged for 2+ years 2022-12-04 20:08:20 I do regularly see messages about os-prober not working for whatever reason, but I never cared about it because I have no dual-boot systems 2022-12-04 20:09:49 ikke: me neither, so Ermine: will you raise an MR to add the missing deps to os-prober? 2022-12-04 20:12:30 ah, indeed there's an issue from 1 year ago that mentioned the missing grub-mount dep: #12956 2022-12-04 20:21:15 minimal: yes, I'll make it. 2022-12-05 04:04:22 Does Alpine Linux include GRSec/PaX kernel hardening btw ? 2022-12-05 05:04:55 obsed_: no. 2022-12-05 07:44:24 so, can it? 2022-12-05 08:14:51 Since recent updates, sound isn't working anymore using pipewire 2022-12-05 08:15:55 pipewire-launcher outputs this code from pipewire-pulse, 536870912, and Pavucrontol only shows a dummy device 2022-12-05 08:16:35 `aplay -l` also outputs "no soundcards found..." 2022-12-05 08:20:18 What's pipewire-launcher? 2022-12-05 08:20:58 Nvm 2022-12-05 08:22:04 Do you use wireplumber or pipewire-media-session? 2022-12-05 08:22:47 I am running edge on latest updates and pipewire is working fine for me 2022-12-05 08:23:02 With wireplumber 2022-12-05 08:29:12 I've tried both 2022-12-05 08:29:55 pipewire-launcher is the alpine script for managing pipewire 2022-12-05 08:32:15 Well, aplay -l is working for root, but my user is in the audio group 2022-12-05 08:33:47 Which audio-related packages do you have installed? Could there be a conflict? 2022-12-05 08:38:26 alsa stuff and pipewire + pipewire-pulse 2022-12-05 08:39:10 The alsa stuff might be the issue, I think I had problems with pipewire when I still had alsa installed 2022-12-05 08:39:47 Well, it wasn't recognizing the audio group because somehow elogind was installed 2022-12-05 08:39:58 Removed it and is working again 2022-12-05 08:40:05 Alright, glad to be wrong^^ 2022-12-05 08:40:22 Thank you bananicorn anyways :D 2022-12-05 08:40:26 Np :P 2022-12-05 09:44:38 Hey, maybe someone has experience with integrating RAUC update system into Alpine Linux? I see it is here package for that but is this all that I need? what about A/B partitioning and SW/HW watchdog for error detection after an update? Do I need to configure this manually? 2022-12-05 11:58:06 Is it expected that apk info --contents works only for installed packages? 2022-12-05 12:00:31 Yes 2022-12-05 17:31:42 oh.. yeah.. audio.. back to my own audio problems, brb 2022-12-05 17:34:45 so, alsa is out, pipewire is in? 2022-12-05 17:41:23 nice! got sound! 2022-12-05 17:41:37 now, Alpine can be my daily driver for my desktops <3 2022-12-05 17:46:03 Can I force apk to not install package dependencies? 2022-12-05 17:46:29 no 2022-12-05 17:49:42 do flatpak programs? access the local .config dir? or do i need to modify that? 2022-12-05 18:00:36 hmz, audio seems a bit of a hit and miss thingy 2022-12-05 18:02:25 What's wrong with your audio? 2022-12-05 18:02:50 it depends :) now it works.. but when i reboot, it may not find the audio device 2022-12-05 18:02:58 and when i reboot then, suddenly it works again :) 2022-12-05 18:03:24 Do you have udev installed and how do you launch pipewire? 2022-12-05 18:03:46 oh! thank you :) udev was not installed 2022-12-05 18:04:06 and piwire launches through the pipewire-session package? 2022-12-05 18:04:21 pipewire-media-session :) 2022-12-05 18:04:29 i followed the wiki on that 2022-12-05 18:04:44 Use wireplumber. I've written this in bold. 2022-12-05 18:05:05 yes, thats installed too 2022-12-05 18:07:41 oh, i dont have the pipewire-media-session :| 2022-12-05 18:07:46 been messing so much with it.. 2022-12-05 18:08:01 You don't need pipewire-media-session. 2022-12-05 18:09:13 bno, i read that :) 2022-12-05 18:09:36 ACTION waves hands like Obi-Man. 2022-12-05 18:10:08 ACTION doesnt know Obi :) thats Star Wars, not my thing 2022-12-05 18:10:27 obiwan picard, from stargate 2022-12-05 18:10:54 :D 2022-12-05 18:11:04 somehow, obiwan returned 2022-12-05 18:11:04 that would be obiwan teal'c 2022-12-05 18:11:15 obiwan picard is from star trek 2022-12-05 18:11:27 jh81: it's a joke 2022-12-05 18:11:37 hm? 2022-12-05 18:11:58 indeed 2022-12-05 18:12:02 jh81: conflating 3 series, provoking all of the fans 2022-12-05 18:12:27 humor isnt something i am good in, as you see ;-) 2022-12-05 18:13:39 Well, anyway, don't use pipewire-media-session and use wireplumber. 2022-12-05 18:13:50 got it :) 2022-12-05 18:16:31 jh81: for reference, https://www.youtube.com/watch?v=k1rlThKe1qo 2022-12-05 18:17:44 Jeff Vader? ;-) Eddie Izzard reference that I guess many people won't get 2022-12-05 18:17:57 "Death Star Canteen" 2022-12-05 18:18:11 if only i got what i want that easily :) 2022-12-05 18:24:55 Anyway, now my problems: os-prober doesn't seem to generate other Alpine's configuration correctly. 2022-12-05 18:27:15 1) It does not append necessary kernel parameters (modules= and rootfstype=); 2) It does not remove '^' between initrd files (so config has e.g. 'initrd /boot/intel-ucode.img^/boot/initramfs-lts) 2022-12-05 18:27:42 As for the second part, I've seen fixes upstream. 2022-12-05 18:30:24 Ermine: (1) would be a case of grub's template, in /etc/grub.d/, for other OS's not "knowing" to do this I assume 2022-12-05 18:49:11 kill 7847 2022-12-05 18:52:15 unit 7847 destroyed. 2022-12-05 19:07:23 yeah sorry, i failed to see which window had focus 2022-12-05 19:08:01 psykose: *explosion sounds and effects* 2022-12-05 19:08:14 :) 2022-12-05 19:24:02 Hello @ all 2022-12-05 19:25:36 I'm Using a edge installation on one of my VM, there I'm not able to start crond. 2022-12-05 19:27:06 The reason is, the machine say's, syslod is not runing but it is > 1503 root 0:00 /sbin/syslogd -t 2022-12-05 19:28:53 any idea's? 2022-12-05 19:31:34 How do you start crond? 2022-12-05 19:33:59 I tried "rc-service crond [start|restart]" both of them dosn't worked 2022-12-05 19:35:26 https://tpaste.us/KeQb < here with "start" 2022-12-05 19:36:55 https://tpaste.us/vy0L < that is up when I try to start syslogd 2022-12-05 19:42:15 what happens if you do "/etc/init.d/syslog stop; /etc/init.d/syslog start" ? 2022-12-05 19:44:28 Moment pls. 2022-12-05 19:47:19 https://tpaste.us/DBdo 2022-12-05 19:47:52 https://tpaste.us/BkZy 2022-12-05 19:48:07 Same thing ... 2022-12-05 19:48:25 Is it just me, or is something seriously messed up with libav in 3.17? ffmpeg/mpv/vlc all have unresolved symbols. 2022-12-05 19:51:09 feuerteufel: how can it already be stooped when you try and stop it yet already running when you try and start it? 2022-12-05 19:51:41 are you sure that "stop" is actually stopping it? 2022-12-05 19:52:17 it can happen at edge cases where "stop" doesn't remove the pid file or other. "/etc/init.d/ zap" 2022-12-05 19:52:38 nangel: that would probably be caused by having some library from a different release like when mixing stable with edge 2022-12-05 19:52:40 I'm not 2022-12-05 19:52:59 should check if the thing that normally provides the missing symbols comes from the same repos 2022-12-05 19:53:28 Hello. Is there a place where I can view the package policy? Looking for when alpine will or will not introduce major versions of pacakges, like will bind only rev to a major on a new alpine release or could 3.16 for example allow bind to get a major revision with breaking changes. I believe it's the former, only new versions like edge and 3.18 would get major revisions of packages, and then older versions like 3.16 get patches an 2022-12-05 19:53:29 maybe minor release updates? 2022-12-05 19:53:59 generally no majors in release branches 2022-12-05 19:54:03 ok, I am religious about not running edge on my production machine - "edge" is only for the dev vm's. But as long as it is "just me", something to look into 2022-12-05 19:54:22 you can post some output of the missing symbols real quick in a pastebin 2022-12-05 19:55:07 Is killing syslogd an option? 2022-12-05 19:55:44 nangel: just to be sure, did you use --available when upgrading? 2022-12-05 19:56:16 It can happen that some packages are held back during upgrade to satisfy dependencies 2022-12-05 19:57:00 Btw. syslog and cron are both from Busybox ... 2022-12-05 19:57:28 ikke: no 2022-12-05 19:57:36 psykose: https://pastebin.com/FzdDhmBf 2022-12-05 19:57:46 nangel: so it can be you still have some packages from 3.16 2022-12-05 19:58:00 now `apk policy mpv ffmpeg-libs` 2022-12-05 19:58:25 ah and ffmpeg 2022-12-05 19:59:29 ikke: --available replaced a bunch of stuff, but mpv and ffmpeg still are not happy 2022-12-05 20:00:23 AFICT, "--available" just replaced the existing packages with the ones installed. 2022-12-05 20:00:37 That's possible 2022-12-05 20:00:55 no, if it replaced anything it means it now installed the 3.17 ones instead of the 3.16 ones (even if the versions look the same) 2022-12-05 20:01:10 but if they worked anyway there isn't much of a difference there 2022-12-05 20:01:28 nangel: what about those policy commands that psykose asked about? 2022-12-05 20:01:48 (heh... ok... /me is working on 'documentation' in place of SpaceToast... LOTS of catching up here. :) thanks) 2022-12-05 20:02:46 (the reason that happens is when you remove the 3.16 repositories and add the 3.17 ones, things don't actually reinstall to the 3.17 versions unless there is an actual reason (dependency constraints for sonames, etc)) 2022-12-05 20:02:55 with -a it swaps everything 2022-12-05 20:03:19 nangel: our release notes always advise people to use --available ;-) 2022-12-05 20:03:47 if we kept perfect track for every dependency constraint one wouldn't even need -a, but sadly aside from so: links there aren't many 2022-12-05 20:03:59 and it's a ton of work to get right 2022-12-05 20:04:03 yeah 2022-12-05 20:04:27 @psykose thanks that is what I figured 2022-12-05 20:04:32 apk policy: https://pastebin.com/3uqDe31U 2022-12-05 20:04:50 so ffmpeg is held back 2022-12-05 20:04:57 ikke: Yeah, I've been ... distracted ... for a couple years. :) 2022-12-05 20:04:58 just the libs 2022-12-05 20:05:06 you have ffmpeg-libs from 5.0 2022-12-05 20:05:08 rest on 5.1 2022-12-05 20:05:27 now as for why, ehh 2022-12-05 20:05:27 try apk add ffmpeg-libs=5.1.2-r1 2022-12-05 20:07:04 That will break my x264-libs... ok. You gave me enough pointers to figure this out. 2022-12-05 20:07:17 @psykose, @ikke Thanks! 2022-12-05 20:07:33 now you have to see why x264-libs doesn't upgrade, same process :) 2022-12-05 20:07:57 @psykose: :D 2022-12-05 20:09:16 +100 points it is handbrake.... which I am listed as "Maintainer" 2022-12-05 20:09:26 heh 2022-12-05 20:09:30 Just put the "cone of shame on me... I will be ok" 2022-12-05 20:09:40 minimal: Ermine: --> https://pastebin.com/sYny4RrM 2022-12-05 20:10:02 nangel: handbrake is testing, which implies edge :P 2022-12-05 20:10:41 maybe you built it yourself locally and it has never been rebuilt 2022-12-05 20:10:42 I killed syslogd after that starting of crond works ... 2022-12-05 20:12:19 would be, on edge it's built against ffmpeg4 instead so it would be separate 2022-12-05 20:14:10 feuerteufel: which version of busybox ? 2022-12-05 20:14:31 ikke, psykose: THANKS: apk del handbrake-gtk; apk upgrade --available; all is good 2022-12-05 20:14:45 glad to help :) 2022-12-05 20:14:52 Now to think where in the "offical user documentation" this will go 2022-12-05 20:15:05 Upgrading to new releases 2022-12-05 20:15:08 try, cat /etc/conf.d/syslog, then do, syslogd -h 2022-12-05 20:15:09 vkrishn: busybox-1.35.0-r29 2022-12-05 20:15:27 (in-place upgrades) 2022-12-05 20:15:39 then check if default option given in conf.d/syslog is available 2022-12-05 20:17:25 SYSLOGD_OPTS="-t" 2022-12-05 20:17:54 5415 root 0:00 /sbin/syslogd -t 2022-12-05 20:18:22 Is it that what you mean? 2022-12-05 20:18:41 there had been changes in busybox 1.24 and 1.31 2022-12-05 20:19:11 if syslogd -h shows its available then thats not the problem 2022-12-05 20:19:33 ikke: did you see the xtrace log? 2022-12-05 20:19:39 busybox syslogd -h 2022-12-05 20:19:53 scorpion2185[m]1: no, I have not 2022-12-05 20:20:17 `8419 semop(0, [{sem_num=0, sem_op=-1, sem_flg=SEM_UNDO}], 1 ` 2022-12-05 20:20:20 oh ok 2022-12-05 20:20:24 that I have seen 2022-12-05 20:20:39 that's all the content of the file 2022-12-05 20:20:50 vkrishn: -t Strip client-generated timestamps 2022-12-05 20:21:15 scorpion2185[m]1: I believe that's a semaphore it's waiting on, which implies some kind of deadlock, but not sure 2022-12-05 20:22:01 scorpion2185[m]1: do you recall what process had pid 8419> 2022-12-05 20:22:44 scanelf 2022-12-05 20:25:09 scorpion2185[m]1: what kind of environment are you running this in? 2022-12-05 20:25:49 I didn't set any env I simply put the files in my home 2022-12-05 20:26:16 I mean host / os 2022-12-05 20:26:46 OS: postmarketOS v22.06.3 aarch64 2022-12-05 20:26:46 Host: Pine64 PinePhone (1.2) 2022-12-05 20:27:15 are you by chance running this inside a pmbootstrap chroot 2022-12-05 20:27:38 no 2022-12-05 20:32:01 scorpion2185[m]1: can you try FAKEROOT=true abuild -r` 2022-12-05 20:32:17 apparently defining it null (`FAKEROOT= abuild -r`, does not override it) 2022-12-05 20:33:34 And it also stays working after a reboot! Tks to everybody for helping! 2022-12-05 20:35:10 scorpion2185[m]1: not sure, but I suspect some kind of fakeroot issue, hence trying to bypass it 2022-12-05 20:35:35 it finished I think 2022-12-05 20:36:08 where is the package if ~/packages//apps/aarch64: No such file or directory 2022-12-05 20:36:39 right, problem is probably that setting fakeroot to true kind of disabled it 2022-12-05 20:36:52 I mean, disabled the packaging part 2022-12-05 20:37:24 As a test, can you change this line? https://gitlab.alpinelinux.org/alpine/abuild/-/blob/master/abuild.in#L25 2022-12-05 20:37:31 remove the 2nd : 2022-12-05 20:37:38 so : ${FAKEROOT="fakeroot"} 2022-12-05 20:37:41 /usr/bin/abuild: cd: line 1800: can't cd to ... 2022-12-05 20:38:39 after you did that, you should be able to do `FAKEROOT= abuild -r` 2022-12-05 20:39:45 now i have the error that you had `>>> ERROR: smlock: Found executable files with SUID bit set:` 2022-12-05 20:40:08 yeah, so seems like fakeroot is the issue then 2022-12-05 20:40:33 only abuild -r works too 2022-12-05 20:43:55 In this case of SUID what would you do? 2022-12-05 20:44:15 removing it is one opton 2022-12-05 20:44:18 option 2022-12-05 20:44:39 patching the code? 2022-12-05 20:45:18 in package() chmod u-s $pkgdir/path/to/smlock 2022-12-05 20:45:23 after installing it 2022-12-05 20:45:56 GN8 @ all 2022-12-05 20:46:00 o/ 2022-12-05 20:50:24 so, one could take one of those N4 system thingy's with 4 ethernet ports on them, put Alpine on it, and build a switch? 2022-12-05 20:50:59 thanks it made it now. 2022-12-05 20:51:39 jh81: sure, should be possible 2022-12-05 20:51:53 alpine would mostly be the control plane 2022-12-05 20:52:06 I'm Alpinizing my house :) 2022-12-05 20:56:45 what app can I use to open a device on vnc? X11 2022-12-05 20:57:13 remmina 2022-12-05 20:57:14 on ssh xfontsel shows the fonts of the guest 2022-12-05 20:57:29 doesn't remmina need a vnc server? 2022-12-05 20:58:45 On the guest do I set VNC plugin and on the pinephone VNC listener? 2022-12-05 20:59:29 I was told that remmina needs it 2022-12-05 21:03:49 https://askubuntu.com/a/248194 2022-12-05 23:00:14 hola 2022-12-06 08:54:16 hi there!... (full message at ) 2022-12-06 09:02:47 is your alpine-keys up to date 2022-12-06 09:03:02 ok: I think you're running old system with old alpine-keys. 2022-12-06 09:10:02 actually i am trying to run https://github.com/gliderlabs/docker-alpine/blob/master/builder/scripts/mkimage-alpine.bash inside docker controller 2022-12-06 09:10:23 ok meant to say: actually i am trying to run https://github.com/gliderlabs/docker-alpine/blob/master/builder/scripts/mkimage-alpine.bash inside docker https: 2022-12-06 09:10:23 s/controller/https://github.com/gliderlabs/docker-alpine/blob/master/builder/Dockerfile/ 2022-12-06 09:14:30 your 'alpine:latest' image is probably out of date 2022-12-06 09:14:47 will change to edge 2022-12-06 09:14:57 no, you just have to pull it again 2022-12-06 09:15:14 i pulled it 1 hour ago 2022-12-06 09:15:29 so from this point it is fresh 2022-12-06 09:15:30 then it's not out of date and something else is the issue :) 2022-12-06 09:18:07 but it pulls edge repositories, not 3.17 2022-12-06 09:19:23 that part is fine 2022-12-06 09:39:21 I don't have such issue if run script mkimage-alpine.bash with ARCH=x86. 2022-12-06 09:42:34 will try to add to container the follwoing keys: https://pkgs.alpinelinux.org/package/edge/main/riscv64/alpine-keys 2022-12-06 09:50:08 ah right 2022-12-06 09:50:15 indeed they are only present on that arch 2022-12-06 09:51:57 it looks that after downloading and untar of these keys the scipt stops to work for both x86 and riscv arch ) 2022-12-06 10:10:43 anyone happen to know how the node_exporter service is called after you install prometheus-node-exporter ? 2022-12-06 10:10:53 or is there a way i can find this out? 2022-12-06 10:11:44 oh, its called node-exporter (duh) 2022-12-06 10:12:23 the -_ alternation is confusing :p 2022-12-06 10:14:28 probably needs some ‾ 2022-12-06 10:15:02 prometheus‾node_exporter 2022-12-06 10:15:35 :D 2022-12-06 10:28:00 oh well, all things to write documentation for :-) 2022-12-06 10:40:14 jh81: apk info -L prometheus-node-exporter 2022-12-06 10:40:34 shows the file list of a installed package 2022-12-06 10:41:13 (apk info -L prometheus-node-exporter-openrc for the init stuff) 2022-12-06 11:22:18 thanks :) 2022-12-06 11:23:00 now im busy with powerdns 2022-12-06 11:34:48 hmz, no wiki for the powerdns server 2022-12-06 11:42:34 someone needs to teach me how to write proper wiki pages :-)\ 2022-12-06 11:45:30 you look at an existing one that looks correct 2022-12-06 11:45:40 and just copy the markup for the correct layout 2022-12-06 11:45:51 good point :-) 2022-12-06 11:47:08 It's mediawiki, so there should be plenty of sources 2022-12-06 11:59:22 jh81, anything i can help with regarding powerdns? 2022-12-06 12:13:44 why it can be that after installing some packages it is trying to do post-install or trigger action? Is it possible to skip these post-install and trigger?... (full message at ) 2022-12-06 12:22:17 where can i get the information about post-install and other scripts? it looks like I can use option "--no-scripts" to skip them but I would like to understand what is going on in these scripts and can I skip them 2022-12-06 12:25:12 Habbie no, it works flawlessly it seems :) 2022-12-06 12:25:19 jh81, always good to hear :D 2022-12-06 12:25:44 why? 2022-12-06 12:28:00 i'm the maintainer of pdns/pdnsrec/dnsdist in alpine, upstream maintainer of pdns, former upstream maintainer of rec and dnsdist 2022-12-06 12:28:05 (i work at powerdns) 2022-12-06 12:28:12 ahhh nice :) 2022-12-06 12:28:52 :) 2022-12-06 12:29:16 its my first real work with dns servers :) 2022-12-06 12:31:45 on Alpine, anyway 2022-12-06 12:37:46 i only had problems with the sql file thats missing, but i found it online :) thats why i want to make a wiki page for powerdns :) 2022-12-06 12:56:07 there is no apk-tools in official alpine docker image? 2022-12-06 12:57:02 ah yes there is, it must be something wrong in the gitlab ci/cd runner 2022-12-06 15:30:15 which one package provides /usr/include/sys/types.h ? If believe https://pkgs.alpinelinux.org/contents?file=%2Fusr%2Finclude%2Fsys%2Ftypes.h&path=&name=&branch=edge then there is no one package that provides types.h header. 2022-12-06 15:30:34 musl-dev 2022-12-06 15:32:23 markand: hmm? 2022-12-06 16:15:47 hello world :) 2022-12-06 16:18:17 can someone help me figure this one out ? lsof -i on linux mint shows only the pid number and on alpine shows the complete info 2022-12-06 16:19:24 correction lsof -t -i 2022-12-06 16:23:43 dsl400: try apk add lsof 2022-12-06 16:24:12 ah, busybox? 2022-12-06 16:25:11 woooot ?! so lsof is not lsof until you add lsof :))) 2022-12-06 16:26:50 dsl400: one of the reasons that Alpine is such a small distro is that by default it uses Busybox versions of a lot of common commands that may not be as feature-full as the "usual" versions of those commands 2022-12-06 16:27:38 dsl400: if you do "lsof --help" note the 1st line mentioning Busybox... 2022-12-06 16:28:09 thanks guys ... you gave me back a few days 2022-12-06 16:42:53 sooo.. do i need to add anything special for usb to work? today at work i tried connecting a dock with usb-c to which an external monitor is hooked (i'm on a laptop) but that didnt work.. 2022-12-06 16:43:06 thankfully i still have my arch system, but heh 2022-12-06 16:44:34 jh81: dock with external monitor connected via USB-C? so then the dock contains a graphics chip 2022-12-06 16:45:22 hmm no i think not? 2022-12-06 16:45:52 jh81: the laptop only connects to dock via USB-C? 2022-12-06 16:46:00 i'll show you a pic next week :D 2022-12-06 16:46:03 yes 2022-12-06 16:46:13 so it is graphics via USB 2022-12-06 16:46:29 which is either old proprietary DisplayLink 2022-12-06 16:46:35 ok well, i'll believe whatever you say on that front :) 2022-12-06 16:46:36 or it's something else tunneled over the connector 2022-12-06 16:46:40 in which case it's not USB at all 2022-12-06 16:46:47 or newer graphics-over-USB-C - which needs specific support 2022-12-06 16:46:56 i think that 2022-12-06 16:47:06 so that will not work with alpine? 2022-12-06 16:47:26 so if its working with Arch then find out what graphics driver it is using there 2022-12-06 16:47:44 *makes notes* 2022-12-06 16:48:15 hmm afaik, if it's displayport-over-usbc, it should behave like just another DP output of the iGPU ... I wonder if docks do pcie-over-thunderbolt though 2022-12-06 16:49:42 jh81: werre you talking about a separate laptop running Arch? or Arch running on the same laptop as Alpine that worked? 2022-12-06 16:49:49 arch on the same laptop :) 2022-12-06 16:50:01 i'm in dual boot for the time beeing 2022-12-06 16:50:14 anyways, i'll ask my collegue to make some pics tomorrow :) 2022-12-06 16:50:21 ok, was just checking as not all laptops with USB-C ports support graphics via that 2022-12-06 16:50:45 but in theory, *some* dock should work? 2022-12-06 16:50:59 si then its a matter of figuring out which one, and getting it? 2022-12-06 16:51:01 jh81: pics? you just need to look at stuff like "dmesg" and "lsmod" in Arch to see what it uses for graphics 2022-12-06 16:51:23 yes, but i wont be back at the officve for another two weeks or so :) 2022-12-06 16:51:52 jh81: pics won't be much use to solve the issue 2022-12-06 16:52:43 not true, it will show me the model :) 2022-12-06 16:53:52 but i was thinking, maybe i needed to install a package and enable a service :) 2022-12-06 17:08:45 hmz 2022-12-06 17:53:39 What is the "clean" way to turn off a Alpine ? poweroff, init 0, halt, shutdown -h now or maybe just politely asking "Goodevening, computer. Would you be so kind to stop working so hard ? You deserve some rest." 2022-12-06 17:54:11 poweroff is what I use 2022-12-06 17:56:14 garo: there is no "shutdown" command provided by busybox, only poweroff/halt/reboot 2022-12-06 17:56:48 garo: you could also use a ACPI shutdown signal (e.g. via power button) if you have acpid running 2022-12-06 17:57:28 Does it cleanly stop all running processes ? 2022-12-06 17:57:33 yes 2022-12-06 17:58:30 And what is "clean" ? Like "systemctl stop", "kill" or maybe even "kill -9" ? 2022-12-06 17:58:46 just make sure you have acpid running (or tiny-power-button kernel module if a VM) 2022-12-06 17:59:02 gare: there is no "systemctl" on Alpine, it does not use Systemd 2022-12-06 17:59:31 "service stop" in that case 2022-12-06 17:59:59 I am using too many distro's... Hard to keep apart :-( 2022-12-06 18:00:18 What exactly are you asking? an ACPI shutdown via acpid requests init to stop all services in a "clean" fashion 2022-12-06 18:00:36 acpid wouldn't work. It's on a pi where i have no shutdown button 2022-12-06 18:00:55 so then use poweroff 2022-12-06 18:01:10 ok, thx 2022-12-06 18:02:03 though technically on a RPI a poweroff will not turn off power to the RPI, it will sit in a low-power state 2022-12-06 18:06:52 Couldn't the same be said about a modern pc ? 2022-12-06 18:07:21 Their clock is still running and they will liston for a wol packet 2022-12-06 18:08:56 no, the cpu turns off and so does the dram 2022-12-06 18:09:02 garo: not to the same extent, where you power off a PC the CPU is powered down (it's the NIC that handles watching for WoL packets, the RTC runs off battery). On a RPI after "power down" the CPU is still receiving power and in some sort of "loop" state 2022-12-06 18:09:11 and all/most of the other peripherals 2022-12-06 18:38:16 too many distro's is why i want to Alpinize everything :D 2022-12-06 18:55:35 What is the intended method of binding privileged ports in OpenRC services? 2022-12-06 18:55:42 In this case, Caddy? 2022-12-06 18:59:26 Saklad5: you configure Caddy to bind to the port? 2022-12-06 18:59:45 the caddy binary has cap_net_bind_Service capability set 2022-12-06 19:00:37 How do I set that on a manually-built binary? 2022-12-06 19:00:54 setcap? 2022-12-06 19:01:01 Great, thanks 2022-12-06 19:01:25 (the question mark is because i don't really use alpine much and might be missing something) 2022-12-06 19:01:41 setcap cap_net_bind_service=+ep 2022-12-06 19:01:42 And the "Great" is because I can probably work it out from there 2022-12-06 19:02:07 I'm not about to run a command without verifying for myself that it does what I think it does, after all 2022-12-06 19:02:07 good :) 2022-12-06 19:02:13 very good 2022-12-06 19:03:56 get your stunt double to try it for you first ;-) 2022-12-06 19:04:17 good, no? https://wiki.alpinelinux.org/wiki/Power_DNS 2022-12-06 19:05:30 jh81, can i suggest PowerDNS for the title? 2022-12-06 19:06:18 well sure, but i dont think i can change that now anymore? 2022-12-06 19:06:35 no idea 2022-12-06 19:06:36 never mind, found it 2022-12-06 19:06:44 pdns-backend-sql3 should be pdns-backend-sqlite3 2022-12-06 19:06:56 pdns-doc has /usr/share/doc/pdns/schema.sqlite3.sql 2022-12-06 19:07:03 https://wiki.alpinelinux.org/wiki/PowerDNS 2022-12-06 19:07:05 which is the sample schema i assume you say needs downloading 2022-12-06 19:07:06 :) 2022-12-06 19:07:09 oh! 2022-12-06 19:07:11 nice 2022-12-06 19:07:12 indeed 2022-12-06 19:07:34 also contains the pgsql/mysql/mssql ones 2022-12-06 19:07:48 typo's galore 2022-12-06 19:08:41 jh81, you forgot 'mkdir /var/lib/powerdns' 2022-12-06 19:09:45 a link to https://doc.powerdns.com/authoritative/guides/basic-database.html would make sense - "here's the non-alpine version of what we're doing here, it's slightly longer" 2022-12-06 19:09:56 yeah, its still a WIP :) 2022-12-06 19:10:07 yes, certainly not calling it lame, just trying to help :) 2022-12-06 19:10:51 much apreciated :) its my first time contributing any documentation at all :) 2022-12-06 19:13:04 :) 2022-12-06 19:13:41 Do you have a website of your own? 2022-12-06 19:15:34 well.. that didnt go well.. 2022-12-06 19:29:44 hmm? 2022-12-06 19:35:58 never mind :) did some cosmetic changes, added some links to web gui's 2022-12-06 19:54:31 am i correct in thinking, that all installed packages are listed in /etc/apk/world ? 2022-12-06 19:56:01 lots of questions, this paddawan has 2022-12-06 19:56:35 no, that's the list of world packages 2022-12-06 19:56:40 ow 2022-12-06 19:56:50 dependencies of those packages are not listed there though 2022-12-06 19:56:59 all installed is `apk info` 2022-12-06 19:57:08 ahh okay :) 2022-12-06 19:58:01 i can pipe that to a file,. then use it in puppet for compliancy :) 2022-12-06 20:36:46 Hello @ all 2022-12-06 20:40:11 I found on one more server the problem "crond is not running" but this time on a stable one "3.17.0" and this time , I also fond log entry's in "/var/log/messages" 2022-12-06 20:40:45 https://pastebin.com/2GNwq23G <-- Here are the log entry's 2022-12-06 20:42:55 Is there something you guy's want me to do before I run the workaround (kill syslog)? 2022-12-06 21:12:11 Nothing, I guess. 2022-12-06 21:17:22 Ok, so fyi ... 2022-12-06 21:17:44 Workarround done 2022-12-06 21:17:52 https://pastebin.com/VaGTSg9n 2022-12-06 21:23:15 Better paste --> https://pastebin.com/TTdid08S ... ;) 2022-12-06 21:49:43 hello all! 2022-12-06 22:36:06 Is there a better way to automate upgrading than sticking an Ash script with "apk upgrade" in /etc/periodic/daily? 2022-12-06 22:44:39 why would you ever want automatic upgrades? 2022-12-06 22:45:02 (out of curiosity; as for the question, i don't think there's a better way) 2022-12-06 22:48:49 Because I don't want to babysit a server to get security updates 2022-12-06 22:49:50 alpine doesn't have a security updates only feature, afaik 2022-12-06 22:49:57 I'll pin versions and use RSS/Atom feeds to deal with breaking changes, but for the most part I want to let things update themselves' 2022-12-06 22:50:58 I'm not going to use the edge repositories or anything 2022-12-06 22:51:22 Anyway, that brings me to my next question: is there a way to randomize the time of day that cron jobs run? 2022-12-06 22:51:33 I know some versions of crontab have that, but I'm not sure if Busybox does 2022-12-06 22:51:55 This is to avoid hammering the repositories, you see 2022-12-06 22:52:03 sleep and $RANDOM, if your shell has that 2022-12-06 22:52:31 Never knew that existed 2022-12-06 22:52:38 ya, you can just tack a random sleep onto the start of the command in your crontab 2022-12-06 22:52:58 yes, some cron's already float their execution time if you run them "daily" 2022-12-06 22:53:04 -' 2022-12-06 22:53:28 What are the bounds on $RANDOM, then? 2022-12-06 22:53:42 I'm certain that isn't part of POSIX 2022-12-06 22:53:44 that would depend on the shell's implementation 2022-12-06 22:53:55 it's generally a lot more than you would want a job to maybe wait 2022-12-06 22:54:12 bash's is 0-32767, but you can modulus it 2022-12-06 22:54:36 (or multiply it, but usually not) 2022-12-06 22:54:56 I don't know of a posix-y way to do this; if it was me and I cared a great deal about posix strictness I might write the obvious tiny C program to sleep for a random interval 2022-12-06 22:59:11 I only care about POSIX insofar as I don't want to care about things breaking with updates 2022-12-06 22:59:57 proceeds to automate updates 2022-12-06 23:02:21 anyway, something like awk 'BEGIN{ srand(); printf "%d\n", rand() * 256 }' should be posix compatible 2022-12-06 23:02:27 lopid: alpine has *mostly* security updates on stable releases 2022-12-06 23:03:39 > proceeds to automate updates 2022-12-06 23:03:44 I'm pinning stable versions 2022-12-06 23:04:48 I don't need POSIX compatibility here, I just need documentation telling me exactly what it is right now 2022-12-06 23:06:26 …I'm going to have to check Busybox's source code for this, aren't I 2022-12-06 23:07:46 Saklad5: `# define RAND_BASH_MASK 0x7fff` 2022-12-06 23:07:48 it's 32-bit signed positive 2022-12-06 23:07:54 16* 2022-12-06 23:07:58 32767 is the max 2022-12-06 23:08:00 so 0-32767 2022-12-06 23:09:30 You're sure the minimum is 0? 2022-12-06 23:10:10 That seems to be what Bash does, so I'll assume that's true here 2022-12-06 23:10:12 Thanks 2022-12-06 23:14:52 i'm not sure, no 2022-12-06 23:15:07 but it wouldn't really matter unless you're trying to divide by the number or something 2022-12-06 23:15:25 a mere modulo 1000 and sleep with it would be ok 2022-12-06 23:16:14 Does "apk upgrade" run updates if the cache is expired? 2022-12-06 23:16:33 no, pass -U 2022-12-06 23:17:19 That says it is an alias for "--cache-max-age 1" 2022-12-06 23:19:04 What's the default cache max age? 2022-12-06 23:20:13 This would be easier if "man 8 apk-upgrade" actually seemed to work. I'm guessing I have to install that documentation separately 2022-12-06 23:21:27 4 hours 2022-12-06 23:21:44 Which means a daily "apk upgrade" will be fine without an argument 2022-12-06 23:22:15 Where was that information, by the way? 2022-12-06 23:23:59 believe it or not, the source 2022-12-06 23:24:07 (there are no docs for it) 2022-12-06 23:31:04 Yeah, I figured 2022-12-06 23:31:16 Well, here's hoping it doesn't change in a patch release 2022-12-06 23:31:55 …On second thought, I'll explicitly set it to a day 2022-12-06 23:32:01 No need to risk it 2022-12-07 00:48:04 got big screen flickering on external monitor with 'i915 0000:00:02.0: [drm] ERROR CPU pipe D FIFO underrun: soft,transcoder' on Alder Lake, am using enable_psr=0 and playing with multiple intel_idle.max_cstate but can't make it work, it is almost unusable, anyone on the same situation who found a working solution ? (am on 3.17 with latest 5.15.81) 2022-12-07 09:24:20 Hi, I’m trying to setup an alpine instance, I need to add some users when some packages are installed and lock them when the packages are removed. I’m used to the GLEP81 (https://www.gentoo.org/glep/glep-0081.html) way of doing things, is there any standard way on alpine or should I hack my own solution with existing tools? 2022-12-07 09:30:49 hoel: if you are trying to create your own package, you may want to use pre-install and post-delete scripts to create and lock users respectively. 2022-12-07 09:31:21 Ermine: And what if several packages depend on the same user? 2022-12-07 09:34:46 hoel: hmm... this question is harder to ask. But, as I see from the link you provided, Gentoo makes special packages for users/groups. I don't think this is impossible here, but somebody more clever than me may provide a better solution. 2022-12-07 10:33:07 Ermine: okay, thanks a lot for your help, I’ll wait and see if someone has another solution, and in the meantime I’ll make a package per user/group. :) 2022-12-07 11:07:27 hoel: create a meta package only providing the user and let all packages depend on it? 2022-12-07 11:08:18 since it is not in world (as long you do not use apk add to install it), it would be removed if no other package depends on it 2022-12-07 11:54:55 liske: Yeah, that’s what I’m heading towards, indeed. 2022-12-07 13:08:05 jh81, s/pdns-docs/pdns-doc/ 2022-12-07 13:08:30 jh81, and I'm not sure the packagelist link at the bottom should point to 3.17 specifically 2022-12-07 13:08:42 jh81, for web frontends, you could link to https://github.com/PowerDNS/pdns/wiki/WebFrontends 2022-12-07 13:39:43 Has anyone a clue how to get gdb inside gnome builder going? I am using CMake and even with config-opts=-DCMAKE_BUILD_TYPE=Debug and loading the symbold from the .o file i get a permission denied error 2022-12-07 13:42:59 i got it working :) 2022-12-07 13:43:49 but i still have to manually add "file ...../program" to gdm console in gnome-builder 2022-12-07 14:40:21 Hi, anyone knows how do do USB-C video out on pinebook pro? 2022-12-07 14:42:37 *to do 2022-12-07 14:48:36 I'm using postmarketOS, but I think a lot of things are the same as alpine linux 2022-12-07 14:53:30 is it ok that in musl-dev libc.so is link to ../../lib/ld-musl-x86_64.so.1 instead of ../../;lib/libc.musl-riscv64.so.1 2022-12-07 14:53:49 s/x86_64/x86\_64/, s/-riscv64./-*./ 2022-12-07 14:58:30 ok, at this point, just repeat the corrected question i think :) 2022-12-07 15:02:06 the question is why libc.so from musl-dev points to ../../lib/ld-musl-x86_64.so.1 instead of ../../lib/libc.musl-x86_64.so.1? 2022-12-07 15:05:24 they are all the same file 2022-12-07 15:05:46 so it doesn't really matter 2022-12-07 15:06:02 looks like there is a regression somewhat in 3.17 either in mpv, linux or I don't know but mpv is stuttering a bit on a raspberry pi 4 looping a video 2022-12-07 15:06:05 it wasn't on 3.16 2022-12-07 15:06:05 got it thanks. 2022-12-07 17:31:17 I have a packages/apps/aarch64/APKINDEX.tar.gz in my home. can I add it as a repo? 2022-12-07 17:31:32 yes 2022-12-07 17:31:58 add /home//packages/apps to /etc/apk/repositories 2022-12-07 17:32:20 I packaged smlock, simple mobile lock, fork of a fork of slock. so maybe is someone interested? 2022-12-07 17:33:15 no aarch64 part? ikke 2022-12-07 17:34:00 scorpion2185[m]1: no, apk will automatically append that based on the arch it's built for 2022-12-07 17:34:31 more like what is in /etc/apk/arch 2022-12-07 17:34:38 no 2022-12-07 17:34:55 You can change that, but it will not fetch for another arch 2022-12-07 17:35:13 🤔 2022-12-07 17:35:44 everyone can make packages for alpine? maybe this is more a pmos app 2022-12-07 17:41:33 this application looks like a shitpost 2022-12-07 17:42:23 it comes from suckless so.... 2022-12-07 17:43:35 ikke: is that expected behaviour? 2022-12-07 17:48:45 I don't think it's anywhere documented that apk uses /etc/apk/arch 2022-12-07 17:48:58 it's documented in the code 2022-12-07 17:49:06 it uses it 2022-12-07 17:49:33 hmm, it seems it does now 2022-12-07 17:49:37 I recall it didn't 2022-12-07 17:49:41 :> 2022-12-07 17:49:46 fetch https://dl-cdn.alpinelinux.org/alpine/edge/main/aarch64/APKINDEX.tar.gz 2022-12-07 17:49:54 (on x86_64) 2022-12-07 17:50:11 ok, TIL 2022-12-07 17:50:17 https://gitlab.alpinelinux.org/alpine/apk-tools/-/issues/10761 2022-12-07 17:50:24 i believe you refer to that? 2022-12-07 17:51:17 No, I recall testing changing /etc/apk/arch 2022-12-07 18:14:52 hm 2022-12-07 20:44:12 so, my display conumdrum.. turns out its a situation where the usb devices go into the back of the monitor, which then connects with the laptop through USB-C 2022-12-07 20:49:39 jh81: the monitor connects to laptop via USB-C? not a docking station as you said yesterday? 2022-12-07 20:49:52 exactly 2022-12-07 20:50:03 i thought there was a dock, but there is none 2022-12-07 20:50:17 i should pay more atention at the office.. 2022-12-07 20:50:59 and this is used to send display output to monitor as well as monitor providing USB hub for other devices? 2022-12-07 20:52:09 exactly 2022-12-07 20:52:45 jh81: well you said it worked with Arch so see what/how it worked with Arch in order to try and get it working with Alpine 2022-12-07 20:52:51 and this works OOB on Arch, so i should figure out what driver arch uses? 2022-12-07 20:52:58 got it :) 2022-12-07 20:53:01 yes I said this yesterday 2022-12-07 20:53:06 exactly 2022-12-07 20:53:07 lsmod, dmesg, etc 2022-12-07 20:53:15 you did, but then i was still talking dock ;-) 2022-12-07 20:53:30 also X or Wayland config 2022-12-07 20:57:53 noted :) 2022-12-08 10:34:17 Hey, do you have any tips on how to install Alpine (I use 3.17.0) on x86_64 device without monitor output? I have access only to serial. I tried to boot from isolinux by typing console=ttyS0,115200n8 but I didn't see any output on that - isolinux is the last boot stage where i can do or see anything 2022-12-08 10:38:22 michalkotyla: check https://www.kernel.org/doc/html/latest/admin-guide/serial-console.html and make sure you got use the correct device (you can specify multiple) 2022-12-08 10:39:41 > So if you don’t have a VGA card in your system the first serial port will automatically become the console. 2022-12-08 10:42:03 Piraty: thanks, I will try all of available options from your link 2022-12-08 10:44:52 Piraty: can you confirm that, but I am not sure now: in isolinux shell (after "boot: " prompt) i should type