2018-05-22 06:38:25 anyone fluent in python related alpine issues? 2018-05-22 09:09:49 Hello 2018-05-22 09:10:00 i am running alpine linux, in proxmox qemu container 2018-05-22 09:10:21 but i ca'nt send acpi shutdown 2018-05-22 09:12:23 acpid is installed an running 2018-05-22 10:22:59 marnej, if that is the case then there might be a problem getting the shutdown signal through 2018-05-22 10:46:13 Hi guys im gaving some trouble with Alpine Linux I was wondering if you could help with, im following the wiki to make a custom alpine with mkimage, the build builds and produces my iso file, but when I try and boot it up I get an error /sbin/init not found in new root, launching recovery shell, then goes onto to say sh can't access tty. 2018-05-22 10:47:13 I do have some of my own custom packages but these are built correctly and signed, with my key in /etc/apk/keys which is also present in the newly generated iso images, as in the recovery shell i get a limited prompt and can see it in there along with the alpine devel keys 2018-05-22 10:47:42 that's the only issue I have been able to get from this error on the net so im not sure why it wont boot now 2018-05-22 11:11:46 TBB: acpid -fd does'n get any acpi event 2018-05-22 11:19:11 marnej: yeah, that's what I was suspecting. Is there a control socket available for signaling the vm when you start it? 2018-05-22 11:48:29 TBB: where can i found it ? :-) 2018-05-22 11:48:35 it is on host, or guest ? 2018-05-22 11:48:42 btw. i am using proxmox 2018-05-22 11:51:30 I have no idea what proxmox is, but you also use qemu, and qemu uses at least some unix socket(s) for communicating with the guest 2018-05-22 11:52:26 okay, now I know on a very very basic level what proxmox is 2018-05-22 11:52:58 proxmox is virtual host, whjich uses qemu and lxc for virtualization 2018-05-22 11:53:32 it probably has a uniform way of how it controls vm's, so the quest, I guess, is to figure out whether/how it uses such sockets for controlling the vm in question 2018-05-22 11:53:55 there's probably a vm specific directory somewhere under which you might find it 2018-05-22 11:54:27 i have kvm command here ... 2018-05-22 11:55:42 basically the way to signal a vm to shut down is to just netcat a specific command to that control socket and if there's acpid at the other end, it'll receive it 2018-05-22 12:00:28 ok so i found 2 sockets ... 2018-05-22 12:00:38 one for qemu guest agent i hope 2018-05-22 12:03:55 hi everyone. I have to use alpine v3.6 repo but unfortunatelly it contains postgres 9.6.9 which is not good for me. i would like to use 10.4 insted of 9.6.9 without changing the repo. what is the easiest way to do this? 2018-05-22 12:04:46 <_ikke_> You'd have to build 10.4 for 3.6 yourself 2018-05-22 12:06:08 if it's available in later repos then you can find the APKBUILD for it in aports and see if you can just abuild -r it 2018-05-22 12:08:11 SirCmpwn: as a callback to something we talked about months ago, I'm now basically completely an i3 user and once I get the time to switch to Wayland I'll be a sway user 2018-05-22 12:10:26 TBB how are you running alpine on proxmox in lxc or a kvm? proxmox is just debian which the proxmox hypevisor, you could look for the same issue in a debian context to find an answer 2018-05-22 12:10:54 cryptos: I'm not running it all, just trying to help out marnej here 2018-05-22 12:10:59 *at all 2018-05-22 12:11:15 but your advice is solid 2018-05-22 12:12:24 doesn't proxmox just use lxc/kvm? 2018-05-22 12:12:32 yes 2018-05-22 12:12:34 i am pretty sure it isn't a hypervisor by itself 2018-05-22 12:12:38 its just a fancy gui 2018-05-22 12:12:41 mm 2018-05-22 12:12:56 i'm familiar with it from 2011-2014 2018-05-22 12:13:08 i was, rather 2018-05-22 12:13:13 yup. but as it uses kvm it uses its options, one of which is probably the vm control socket 2018-05-22 12:13:13 but you need to make sure acpid is availble on the host and vm to recieve signals 2018-05-22 12:13:39 not sure if it's needed in the host, but it is definitely necessary in the vm 2018-05-22 12:13:51 yes i used it a while back in v4 an djust setup a new v5 box the other day its still pretty much the same with some ui changes 2018-05-22 12:13:58 It's not a hypervisor by itself. 2018-05-22 12:14:52 yep that was wrong wording its a virtualisation administration tool 2018-05-22 12:16:32 did you start the kvm as a qemu agent or not? 2018-05-22 12:16:32 yeah it is fancy virtualizaton gui 2018-05-22 12:16:37 using lxc and qemu 2018-05-22 12:16:52 my alpine is runnin in qemu 2018-05-22 12:17:03 because of i need some dockers runnin in iot 2018-05-22 12:17:15 but when you created the vm did you select the option for it to be a qemu agent or not 2018-05-22 12:17:31 if you go to the server in proxmox and look at the infomation it should say 2018-05-22 12:18:14 yeah i hjave agent set 2018-05-22 12:18:22 also installed agent inside alpine 2018-05-22 12:18:28 but now it does't work .. 2018-05-22 12:18:38 (i changed kernel from protected to vanilla ... 2018-05-22 12:18:55 mine all run without without the qemu option enabled 2018-05-22 12:20:47 promox can start/shutdown/ kvms without the qemu agent option enabled and additional packages installed inside the guest 2018-05-22 12:21:16 ie its not required, i just tried with debian 9 and alpine edge images 2018-05-22 12:22:16 cryptos: hm ... 2018-05-22 12:22:23 how installed ? 2018-05-22 12:22:26 from cd ? 2018-05-22 12:22:37 installed what? 2018-05-22 12:22:43 alpine in qemu 2018-05-22 12:22:43 the host or guest? 2018-05-22 12:22:47 guest 2018-05-22 12:22:57 in proxmox 2018-05-22 12:23:47 i just wget the alpine image to the image folder which is something like /var/lib/lx/images (double check that) the iso is then avalible from the proxmox gui when you click create vm and select an iso 2018-05-22 12:25:34 iso path=/var/lib/vz/template/iso 2018-05-22 12:26:41 how are you creating/starting the vm from cli or gui? 2018-05-22 12:27:10 hm, i run alpine only from iso 2018-05-22 12:27:15 and try to do "shutdown" 2018-05-22 12:27:20 but nothing's happens :-) 2018-05-22 12:27:26 (runnin livecd in qwmu) 2018-05-22 12:27:31 3.7 2018-05-22 12:28:05 /var/lib/vz/template/iso/alpine-extended-3.7.0-x86_64.iso 2018-05-22 12:28:38 but are you starting it from the gui or the host cli? 2018-05-22 12:28:50 gui 2018-05-22 12:29:54 have you tried running it without the acpi agent option? and have you tried fully installing alpine with alpine-setup 2018-05-22 12:30:08 yeah, i have one running instllation 2018-05-22 12:30:18 now, i am trying only livecd - for test :-) 2018-05-22 12:30:38 qemu agent : No 2018-05-22 12:30:55 proxmox 5.2-1 2018-05-22 12:31:55 root@pve:/var/lib/vz/template/iso# qm shutdown 100 2018-05-22 12:31:56 trying to acquire lock... 2018-05-22 12:31:56 can't lock file '/var/lock/qemu-server/lock-100.conf' - got timeout 2018-05-22 12:31:56 root@pve:/var/lib/vz/template/iso# 2018-05-22 12:32:18 when i try to shutdown from cli 2018-05-22 12:35:13 Got it ! 2018-05-22 12:35:31 what does grub.cfg say? 2018-05-22 12:35:50 nice what was it 2018-05-22 12:36:03 oh lol 2018-05-22 12:36:29 now, once it shutdown one server 2018-05-22 12:36:47 only once :-) 2018-05-22 12:37:28 i changed "protecition" to on - in proxmox 2018-05-22 12:40:27 not sure why that would work as that just prevents you from deleting a vm until you uncheck that option again 2018-05-22 12:40:40 but if it works it works! 2018-05-22 12:41:22 yeah, but it doesn't work 2018-05-22 12:41:28 it just once shutdown it :-) 2018-05-22 12:43:20 so does your guest in grub.cfg have acpi=on; and does the same behavior happen when shutting it down from the gui? 2018-05-22 12:43:57 cryptos: does't use grub - selunux 2018-05-22 12:44:23 marnej: do you mean syslinux? 2018-05-22 12:44:32 syslinux :-) 2018-05-22 12:44:43 SELinux is something completely different ;) 2018-05-22 12:44:53 yeah, i know 2018-05-22 12:45:03 it about security 2018-05-22 12:45:23 when you do qm shutdown $id pass the --skiplock option 2018-05-22 12:46:06 i added acpi=on into kernel params 2018-05-22 12:46:15 can't lock file '/var/lock/qemu-server/lock-100.conf' - got timeout 2018-05-22 12:46:15 root@pve:/var/lib/vz/template/iso# qm shutdown 100 --skiplock 2018-05-22 12:46:47 root@pve:/var/lib/vz/template/iso# qm shutdown 100 --skiplock true 2018-05-22 12:47:37 do u have one pve, or cloud ? 2018-05-22 12:47:56 cluster 2018-05-22 12:48:45 no i use the free version but on a hp bladesystem so a 16 HA/fenced cluster 2018-05-22 12:49:07 free verrsion have also cluster solution :-) 2018-05-22 12:49:22 so u have clustered proxmox servers .. . 2018-05-22 12:49:26 have you tried rebooting the host? 2018-05-22 12:49:30 yes 2018-05-22 12:49:32 yeah 2018-05-22 12:49:40 i can do again :-) 2018-05-22 12:49:52 how about ls -l /proc/acpi in the guest 2018-05-22 12:49:58 is the acpi process running? 2018-05-22 12:50:06 yeah, it is 2018-05-22 12:50:15 but acpid -fd hear nothing 2018-05-22 12:51:10 thing is the way proxmox is built its an encompassing system, so you have to do the "proxmox way" of doing things rather going directly to the tool 2018-05-22 12:52:18 i'll try another livecd ... 2018-05-22 12:52:31 is there anything in DMESG proxmox-syslog vm-syslog that can help you debug further? 2018-05-22 12:52:56 i'll take a look after boot :-) 2018-05-22 12:53:22 I would try a full install rather than a liveCD it would make sense for me to not have acpi functionality working in a liveCD 2018-05-22 12:54:58 lets try anarchy :-) 2018-05-22 12:55:07 my favorti archlinux instlla 2018-05-22 13:10:55 is there anyone experienced in building alpine / packages from source able to help me debug something, im trying to create a custom alpine installation for a embedded project, i've got some custom packages which i've built and signed with my key but when i try building the image it says on one of three custom package, error package no such file or directory then .apk: BAD signature. APKINDEX.tar.gz: No such file or directory 2018-05-22 13:11:12 the same apkindex installs all the other custom packages fine 2018-05-22 13:21:04 cryptos: in livecd of anarchylinux - there acpi shutdown worsk fine 2018-05-22 13:23:38 are you trying the virtual live CD or standard liveCD? 2018-05-22 13:24:06 I've been wondering, is there a reason busybox-extras does `busybox --install` in a script during installation instead of doing it during packaging, so the symlinks for all commands are in the package? Then would also appear in the file search on the website. 2018-05-22 13:25:55 cryptos: anarchy-1.0.0-x86_64.iso 2018-05-22 13:28:45 cryptos: re: mkimage, you should add 'set -x' to those aports/scripts and possibly /sbin/mkinitfs /sbin/update-kernel to see through steps 2018-05-22 13:30:05 and make sure your host system up-to-date with the whichever repositori you use for mkimage, either official one or your custom 2018-05-22 13:31:51 once I messed up the busybox versions and there's no /bin/sh in the new root, so /sbin/init couldn't run due to #!/bin/sh, changing to #!/bin/busybox works, just an example of debugging this init thing 2018-05-22 14:57:53 tmh1999 what do you mean by set -x? and mkimage im using the one from the latest version of aports 2018-05-22 16:11:31 hello fellow mountaineers 2018-05-22 16:12:40 <_ikke_> ohai 2018-05-22 16:14:29 if I want to start a service, many times... how would I do that? 2018-05-22 16:17:45 <_ikke_> qrvpzvb: can you elaborate what you mean with many times? 2018-05-22 16:18:38 many instances of a service, at the same time 2018-05-22 16:19:10 <_ikke_> You can symlink the service with .instancename appended to it 2018-05-22 16:22:37 ah, that's clever 2018-05-22 16:23:12 <_ikke_> the same counts for the conf.d file 2018-05-22 16:25:28 It depends if the initd supports it 2018-05-22 16:30:24 so it's like the 'service@whatever' that a certain other init/manager/os/everything supports? 2018-05-22 16:43:58 right? 2018-05-22 16:44:51 <_ikke_> yes 2018-05-22 16:47:01 great, that's exactly what I was looking for 2018-05-22 17:14:14 cryptos: edit the scripts, and add 'set -x' so it will show you what commands you are running to better debug 2018-05-22 18:38:05 is there an apk option to install a package witho a directory, something like root = /mydir? 2018-05-22 18:41:48 black-clover: yes, --root 2018-05-22 18:43:32 Hello, i'm trying to debug a repository issue. I have a complete alpine mirror sitting on an EFS drive. When I mount that drive locally, and point my repositories file to it, `apk update` fails. When serve the same files over http, and point my repo to that instead, it works. 2018-05-22 18:44:15 how does it fail? 2018-05-22 18:44:18 https://kopy.io/JAzey 2018-05-22 18:44:44 What's weird is if I `ls -la` on the APKINDEX.tar.gz, copied from the error line, it shows the file exists 2018-05-22 18:45:02 jn__: thanks 2018-05-22 18:46:02 hmm, could your index file contain packages that are not in the repository? 2018-05-22 18:46:20 TBB, sure, however the *exact same set of files* works if served over http instead 2018-05-22 18:46:45 it's literally just an rsync of the official mirror 2018-05-22 18:47:03 there are functional differences between files considered local and files considered remote, that much I know 2018-05-22 18:47:24 I'm having troubles finding which apline packages proves python wxwidgets 2018-05-22 18:48:49 black-clover: there doesn't seem to be one 2018-05-22 18:49:01 https://pkgs.alpinelinux.org/packages?page=1&branch=edge&name=wx* shows nothing python-related 2018-05-22 18:49:14 https://pkgs.alpinelinux.org/packages?name=*wx*&branch=edge rather 2018-05-22 18:49:50 thats the problem I'm trying to install a package which requires wxwidgets and pip gives me errors trying to build it 2018-05-22 18:51:05 if I remember correctly, and I could very well remember wrong, wxgtk pretty much provides the same functionality 2018-05-22 18:51:20 but python bindings, that I can't say much about 2018-05-22 18:52:59 I installed all the possible packages but checking the /usr/lib/python2.7 dir can find the proper wx files installed 2018-05-22 18:53:27 and python bindings are what the program requires 2018-05-22 18:55:51 TBB, figured it out, which is nearly impossible from the error message. The local filepath had a leading space 2018-05-22 18:57:15 damn, yeah, it's right there in the error message :D 2018-05-22 19:40:14 hi there everyone 2018-05-22 19:40:22 wow this is an active community 2018-05-22 19:41:04 I have followed https://wiki.alpinelinux.org/wiki/XFCE_Setup to setup a gui but I am getting a black screen and then the fall back to terminal interface asking me for root un and password. 2018-05-22 19:41:17 There is a 'no scree founf' error in lxdm.log 2018-05-22 19:43:16 'no screens found(EE)' 2018-05-22 19:43:24 xorg needs to be configured 2018-05-22 19:49:35 sorry for getting disconnected 2018-05-22 19:49:42 did anyone say anything for me? 2018-05-22 19:50:04 is there any mtp file system package to mount MTP devices on AL repos 2018-05-22 19:50:49 X^RegProg: did you setup-xorg-base 2018-05-22 19:51:22 mps: by running the setup-xorg-base command? 2018-05-22 19:51:50 yes 2018-05-22 19:51:58 yes I did do that 2018-05-22 19:52:05 if you new to Alpine 2018-05-22 19:52:25 which display manager you use 2018-05-22 19:52:50 lxdm 2018-05-22 19:52:56 ah, there is libmtp but I can't find mtpfs package 2018-05-22 19:53:19 X^RegProg: what happens when you start it 2018-05-22 19:55:23 that error: the screen goes black, then I am back to the terminal. When I check the lxdm.log it says no screens were found 2018-05-22 19:57:02 mps: ^ 2018-05-22 19:57:21 look at /var/log/Xorg.0.log 2018-05-22 19:57:30 see if there errors 2018-05-22 19:58:06 missing drivers or something else 2018-05-22 20:02:30 mps: thank you for helping me by the way. The same error in the xorg log file. No displays found. 2018-05-22 20:02:40 sorry 2018-05-22 20:02:43 no screens found 2018-05-22 20:05:08 X^RegProg: look for errors in Xorg.0.log file 2018-05-22 20:05:32 There must be something why it exit 2018-05-22 20:06:53 found mtpfs on https://github.com/cjd/mtpfs built and it works 2018-05-22 20:07:25 how to make Alpine package from git repo 2018-05-22 20:09:28 mps: here are the errors: "open /dev/dri/card: Bo such file or directory" "open /dev/fb: No such file or directory" "sceen deleted because of no matching config section" " Device(s) detected, but none match those in the config file." "No screens found" 2018-05-22 20:12:06 did you installed xf86-video-xx appropriate driver for your card 2018-05-22 20:13:56 mps: I don't know which one I should have installed. how can I check for that? This is ona virtualbox machine 2018-05-22 20:14:17 I don't know what graphics driver to install so I installed vmware as suggested by that guide 2018-05-22 20:14:59 do you use VM or hardware for installation 2018-05-22 20:15:13 VM 2018-05-22 20:15:43 ah, so 2018-05-22 20:15:57 what, QEMU or XEN 2018-05-22 20:15:57 so what mps? 2018-05-22 20:16:06 install them both? 2018-05-22 20:16:30 which one you tried 2018-05-22 20:17:00 xf86-video-vmware 2018-05-22 20:17:03 and intel 2018-05-22 20:18:01 no, VM type, qemu or xen 2018-05-22 20:18:14 I don't know 2018-05-22 20:18:23 how can I check for that? 2018-05-22 20:19:14 how do you started virtual machine during installation 2018-05-22 20:20:26 ah, I see, you use virtualbox 2018-05-22 20:20:35 mps: He is on a "VirtualBox" 2018-05-22 20:20:55 kvm 2018-05-22 20:20:57 I don't have any experience with it, don't know even what is it 2018-05-22 20:21:09 I am on kvm mps 2018-05-22 20:21:24 I use qemu/kvm for VMs to test OS 2018-05-22 20:21:39 what is virtualbox then 2018-05-22 20:22:13 virtualbox is just the provider of the virtualization environment. you can simply ignore it. But I am using KVM paravirtualization 2018-05-22 20:22:17 nowadays kvm is qemu, and kvm is just kernel driver 2018-05-22 20:22:40 ok qemu then 2018-05-22 20:22:48 if you say it is equal to KVM 2018-05-22 20:22:55 ok, how do you start VM, from CLI or some GUI 2018-05-22 20:22:59 cause I am not sure what it is 2018-05-22 20:23:06 some GUI 2018-05-22 20:23:33 never used GUI for that, but from CLI 2018-05-22 20:23:47 Is there really a difference? 2018-05-22 20:23:57 quite :) 2018-05-22 20:24:02 :) 2018-05-22 20:24:08 you see what happens 2018-05-22 20:24:13 so you saying cause I a gui I am not worthwhile? 2018-05-22 20:24:23 :) 2018-05-22 20:24:30 no, I don't say anything about you 2018-05-22 20:24:35 LOL 2018-05-22 20:24:36 ok 2018-05-22 20:24:45 so where should I go from here? 2018-05-22 20:24:49 I'm talking about my preference 2018-05-22 20:24:54 I see 2018-05-22 20:25:13 if you are ready to use cli I can give you a hint 2018-05-22 20:25:39 I am fully prepared to go for it but I don't know how to force virtualbox to go cli 2018-05-22 20:25:49 I could really use a hint 2018-05-22 20:26:27 if the virtualbox is just gui around qemu then you could start qemu from terminal, probably 2018-05-22 20:28:24 what does apkovl even mean? 2018-05-22 20:29:16 X^RegProg: ah, I looked on net, virtualbox is something from oracle 2018-05-22 20:29:27 didn't know 2018-05-22 20:29:39 That's amazing 2018-05-22 20:29:55 you are a special soul. Yes it is from oracle 2018-05-22 20:30:05 a virtualization management environment kind of thing 2018-05-22 20:31:36 there's the guest additions or however it's called 2018-05-22 20:31:38 I can't see that it is 'connected' to qemu or xen, it is something from Sun 2018-05-22 20:31:54 it is not QEMU or KVM 2018-05-22 20:32:00 it has its own kernel module too 2018-05-22 20:32:06 its like vmware workstation/player 2018-05-22 20:32:12 but I can be wrong because I read now about it first time 2018-05-22 20:32:15 (execpt not as good) 2018-05-22 20:32:21 but also easier 2018-05-22 20:32:33 virtualbox is a lot easier to use that qemu,y ea 2018-05-22 20:32:48 don't have any experience with vmware or virtualbox 2018-05-22 20:33:27 X^RegProg: sorry, I can't help you with virtualbox because I don't know anything about it 2018-05-22 20:33:46 is there a bot here to refer to the wiki? 2018-05-22 20:34:20 in any case, X^RegProg have you https://wiki.alpinelinux.org/wiki/VirtualBox_guest_additions ? 2018-05-22 20:34:27 mps: I understand. Thank you anyways 2018-05-22 20:34:41 you are welcome 2018-05-22 20:34:48 qrvpzvb: I have. I totally did that as well. 2018-05-22 20:34:53 But still have the problems 2018-05-22 20:35:04 when you switch to qemu maybe then I could be of some help :) 2018-05-22 20:45:33 X^RegProg: do you have the "base" drivers? 2018-05-22 20:45:45 modesetting and vesa and the like? 2018-05-22 20:46:56 qrvpzvb: What are the base drivers? 2018-05-22 20:47:13 I think I should have modesetting 2018-05-22 20:47:22 but I am not sure 2018-05-22 20:47:28 have you rebooted? 2018-05-22 20:47:37 like a million times now 2018-05-22 20:49:14 hmm, are you sure you have the guest additions? 2018-05-22 20:49:16 yeap modesetting is installed 2018-05-22 20:49:43 feuerteufel: tnx, didn't noticed your msg about virtualbox 2018-05-22 20:49:44 I am installing vesa now 2018-05-22 20:51:50 qrvpzvb: https://wiki.alpinelinux.org/wiki/VirtualBox_guest_additions < This guide says I should have "virtualbox-additions-grsec" installed, but after I tried the mirrors I couldn't find that package, so I did a search and I have installed "virtualbox-guest-additions" 2018-05-22 20:52:08 qrvpzvb: Could this probably be the problem? 2018-05-22 20:52:22 dunno, I can't find the -grsec one either 2018-05-22 20:52:30 yeap! 2018-05-22 20:52:53 qrvpzvb: so this is the problem most likely, right? 2018-05-22 20:53:41 no idea really 2018-05-22 20:54:08 it seems that the vbox kms driver was mainlined 2018-05-22 20:54:25 what do you mean mainlined? 2018-05-22 20:54:45 like, it's in the kernel itself you don't have to download the module from oracle 2018-05-22 20:54:54 oh 2018-05-22 20:55:14 I installed the vesa driver too, still the prblem 2018-05-22 20:55:23 though my kernel is 4.9 2018-05-22 20:55:34 don't know about yours 2018-05-22 20:55:56 mine is 4.9.65-1-hardened 2018-05-22 20:56:04 #2 Alpine 2018-05-22 20:56:24 same here 2018-05-22 20:56:32 You have gui? 2018-05-22 20:56:32 is there even an rolling alpine? 2018-05-22 20:56:48 in any case, the module was added in 4.13 it seems 2018-05-22 20:56:58 so that's unfortunate 2018-05-22 20:57:17 I only using it on a server so no gui 2018-05-22 20:57:51 you are lucky 2018-05-22 20:57:59 :) ina sense 2018-05-22 20:58:14 I hope you didn't messup your server because of me 2018-05-22 20:59:52 X^RegProg: try to install linux-vanilla kernel instead of hardened 2018-05-22 21:00:28 I had problems with X server with qemu when user hardened kernel 2018-05-22 21:00:30 wait 2018-05-22 21:00:46 there seems to be a virtualbox-guest-additions-hardened 2018-05-22 21:01:15 virtualbox-guest-modules-hardened 2018-05-22 21:01:30 and also a virthardened 2018-05-22 21:01:33 don't know the difference 2018-05-22 21:02:04 what's a virt kernel? 2018-05-22 21:02:19 with hardened kernel (grsec) you have to set some flags for Xorg to run in VM 2018-05-22 21:02:42 virt kernel are trimmed version for use in VMs 2018-05-22 21:02:49 ah, ok 2018-05-22 21:03:45 for me, vanilla kernels worked (and works) in VMs without problems 2018-05-22 21:03:48 so if I install the hardened additions is it possible it will solve the problem? 2018-05-22 21:04:02 well, try it 2018-05-22 21:04:03 X^RegProg: not sure 2018-05-22 21:04:32 if you are novice to the linux system, better is to install vanilla kernel 2018-05-22 21:09:35 what's an apkovl again? 2018-05-22 21:11:01 <_ikke_> a tarball, which contains files / dirs that will be writter over the filesystem 2018-05-22 21:11:38 can you have it install packages? 2018-05-22 21:12:08 <_ikke_> because /etc/apk/world can be part of it, yes 2018-05-22 21:15:46 where can I find more about /etc/apk/world? 2018-05-22 21:16:22 <_ikke_> it's the file that apk uses to store what packages have been explicitly installed 2018-05-22 21:17:58 sure but still... is there any kind of manual for apk, other than the wiki? 2018-05-22 21:18:10 <_ikke_> only apk -h 2018-05-22 21:18:14 <_ikke_> they are working on man pages 2018-05-22 21:18:33 ah, cool 2018-05-22 21:19:17 documentation has been our "biggest" selling point 2018-05-22 21:19:25 :) 2018-05-22 21:20:00 <_ikke_> lol 2018-05-22 22:00:46 still building this image the error when booting now is "cant access tty, job control turned off" is this some error due to busy box? 2018-05-22 22:00:52 there's a new sndio aport; shouldn't it have a init.d script? 2018-05-23 03:08:37 hello, anyone who has installed wxpython on alpine? 2018-05-23 11:33:42 running from USB is a thing right? 2018-05-23 11:34:14 <_ikke_> yes 2018-05-23 11:37:16 anyone managed to get firefox working? 2018-05-23 11:37:39 the normal version that is, in testing 2018-05-23 11:39:59 currently i'm seeing this https://dpaste.de/ruHU/raw 2018-05-23 11:40:14 so I just Create a Bootable USB and use that as my bootdrive? 2018-05-23 11:40:33 maybe ncopa knows something seeing as he is maintainer 2018-05-23 11:41:28 <_ikke_> qrvpzvb: yes, that's the idea. Note that if you just write the iso to a usb disk, the filesystem on the disk will be read-only, making it harder to use lbu to persist changes 2018-05-23 11:43:51 _ikke_: and to get around that I can "burn" Alpine on another USB, boot from that and install on the one that I want to actually use ? 2018-05-23 11:46:38 <_ikke_> alpine has a setup-bootable script that prepares a usb disk, but that requires you to already run alpine 2018-05-23 11:46:53 <_ikke_> I usually manually copy the files on the disk and make it bootable 2018-05-23 11:58:44 sillysausage: it looks like you are mixing repos 2018-05-23 12:02:08 ncopa yeah i have done so 2018-05-23 12:02:19 but with a tag @testing and @edge 2018-05-23 12:02:38 actually i'm not using any packages from those right this moment i noticed firefox isn't in the main or community repository 2018-05-23 12:03:32 unless i use firefox-esr 2018-05-23 12:07:00 oh i see, there's no "firefox" package in 3.7 2018-05-23 12:07:08 only edge 2018-05-23 12:08:15 i haven't used alpinelinux as a desktop for a while, since 3.3 actually 2018-05-23 12:08:30 when it was in community 2018-05-23 12:11:30 you have firefox-esr in community 2018-05-23 12:12:57 yeah that's what i'm using currently it will do fine :) 2018-05-23 12:13:11 i wasn't used to there being two packages seeing as i've not used alpine in a while 2018-05-23 12:20:24 exit 2018-05-23 12:45:58 :q 2018-05-23 12:46:06 oops 2018-05-23 14:49:35 hi, what exactly does `apk audit` mode do? I'm reading https://wiki.alpinelinux.org/wiki/Alpine_Linux_package_management but it doesn't really say... ? 2018-05-23 14:50:42 it seems like it requires some options and shows what has changed in a dir? I was hoping I could use it to see all files that were installed by a package, is that possible? 2018-05-23 14:50:45 It audits the directories for changes 2018-05-23 14:51:35 if you want to see all files installed by a package, you can go to pkgs.alpinelinux.org, search for a package (search takes wildcards) and the select the package, and then view contents. 2018-05-23 14:51:55 or search for a package on the contents tab in pkgs. 2018-05-23 14:51:59 pkgs.alpinelinux.org* 2018-05-23 15:00:55 ok, thanks. trying to see if the python2-2.7.14 package comes with pip (can't seem to find it) 2018-05-23 15:06:15 hmm, so I guess pip is not packaged with the apk version of python2-2.7.14? (despite what https://pip.pypa.io/en/stable/installing/ says?) :/ 2018-05-23 15:06:22 https://pkgs.alpinelinux.org/contents?file=*pip*&path=&name=python2&branch=v3.7&repo=main&arch=x86_64 2018-05-23 15:11:04 hello 2018-05-23 15:11:53 could someone please copy php5-memcache and php5-imagick from 3.4/3.5's repo to 3.6 and 3.7? 2018-05-23 15:23:42 <_ikke_> pax_rhos: sorry, what? 2018-05-23 15:41:42 probably wants those packages for more recent releases 2018-05-23 15:55:53 yeah 2018-05-23 15:56:39 should php5-* packages add their configs to php-fpm? 2018-05-23 16:18:44 Uh, firefox-60.0.1 broken for anyone else? 2018-05-23 16:18:57 Can't open any page. 2018-05-23 16:19:13 Even after removing ~/.mozilla :( 2018-05-23 16:19:38 Ah, turns out, it was firejail 2018-05-23 16:28:02 does alpine linux's busybox install not include telnet client as shown in https://busybox.net/downloads/BusyBox.html ? 2018-05-23 16:32:34 is GRUB or Syslinux ? 2018-05-23 16:34:08 bn_work: busybox is split into two packages, one that contains the bare necessities and one that contains the extras 2018-05-23 16:35:00 telnet is in busybox-extras 2018-05-23 16:35:14 TBB: what is considered the "bare necessities" ? is there a list somewhere? 2018-05-23 16:36:05 <_ikke_> bn_work: https://git.alpinelinux.org/cgit/aports/tree/main/busybox/busyboxconfig 2018-05-23 16:36:41 run busybox-extras from cli and it will show what contains 2018-05-23 16:37:01 <_ikke_> telnet is in busybox-extras because it's considered insecure 2018-05-23 16:37:20 <_ikke_> just like ftp and rsh 2018-05-23 16:38:55 does anyone actually use telnet client for its intended purpose? the common use case seems to just use to test if a port is open, which is what I wanted to do... but no matter, it looks like `nc` is at least available I guess 2018-05-23 16:39:27 It appears that on my install, there's both syslinux and grub... is the first only used when on legacy (BIOS) systems and the other for UEFI ones? 2018-05-23 16:39:49 <_ikke_> bn_work: yeah, nc is a better choice for that 2018-05-23 16:41:07 bn_work▸ sometimes I use it to watch star wars in ascii 2018-05-23 16:41:21 lol 2018-05-23 16:42:42 programmerq: https://asciinema.org/ 👍 2018-05-23 16:43:49 I remember when I started using linux back in the 90s telnet was fairly de facto. I remember figuring out how to show keystrokes over tcpdump and I thought "neat!" 2018-05-23 16:48:08 programmerq: I thought ANSI demos were pretty cool, then I found oscilloscope demos O_o (and here I thought lissajous patterns were already neat!) 2018-05-23 16:49:30 yeah, come to think of it I used telnet for its intended purpose back then too, had forgotten about that 2018-05-23 17:02:24 Wow those are pretty cool 2018-05-23 17:02:29 Any favorites? 2018-05-23 17:18:33 my Commodore 64 can't unfortunately handle SSH sessions reasonably well so yeah, there's still use for telnet :) 2018-05-23 17:19:29 problem with alsa, as root works, added user "abc" to /etc/group audio, checked if user "abc" belongs to audio and still alsa doesn't work for the user 2018-05-23 17:19:54 I remember the first time I tried installing ssh, my distro didn't have scripts set up to generate the keys on demand so it wouldn't start. 2018-05-23 17:23:14 black-clover, and you did log in as abc after adding the user to the audio group? 2018-05-23 17:23:46 yes 2018-05-23 17:24:23 TBB: i guess is a permission issue but not specific to audio 2018-05-23 17:28:07 that could very well be, so your checklist would be to start with the actual device node permissions, see if they're right and next check the user permissions to, I don't know, alsa related stuff in the user's home directory or something? 2018-05-23 17:35:18 TBB:ok will check that, i think its a user permission thing because with sudo alsamixer it works 2018-05-23 18:06:31 Hi 2018-05-23 18:06:42 Why aren't there any packages in http://mirror.yandex.ru/mirrors/alpine/v3.8/community/x86_64/ ? 2018-05-23 18:09:11 because 3.8 is not out yet 2018-05-23 18:10:09 that would explain it 2018-05-23 18:12:26 is there something i can subscribe to to get emails when it is? 2018-05-23 18:32:00 <_ikke_> sy: https://alpinelinux.org/atom.xml 2018-05-23 18:43:42 _ikke_: perfect, thanks 2018-05-23 18:53:24 sup ya'll. getting an error: unsatisfiable constraints when trying to install opencv-dev via apk. thought I would ask here first. =) 2018-05-23 19:12:08 it's in edge; are you using the correct pinning to install it? 2018-05-23 19:12:59 in other words, whatever name you have for edge testing repo, did you use apk add opencv-dev@edge-testing (replace edge-testing with whatever name you use for it in your repository config) 2018-05-23 19:18:32 I didn't try edge. will do so now. thank you 2018-05-23 19:20:27 np 2018-05-24 09:06:10 does anyone here has a write permission to aports repo? 2018-05-24 09:06:18 *have 2018-05-24 09:06:28 *has 2018-05-24 09:39:48 /NAMES 2018-05-24 14:26:32 how to get unicode to work in tmux? 2018-05-24 14:40:04 nvm 2018-05-24 16:20:31 Anybody know a way to change the font in tty? 2018-05-24 16:22:14 setfont worked the last time i tried it 2018-05-24 16:28:34 fattredd: /etc/conf.d/consolefont has the config, rc-update add consolefont applies it 2018-05-24 16:29:16 Nice. Thanks guys 2018-05-24 16:30:46 TBB: aah, persistent configuration is of course nicer :) 2018-05-24 17:11:40 Hmm... When I run setfont I'm getting an error 2018-05-24 17:12:02 setfont: ioctl 0x4b72 failed: Invalid Argument 2018-05-24 17:26:20 No idea what's wrong 2018-05-24 18:10:18 win 17 2018-05-24 18:10:20 dammit 2018-05-24 18:10:26 fattredd: in which tty did you run setfont? 2018-05-24 18:10:40 (aka. what does "tty" say there?) 2018-05-24 18:25:52 ./dev/tty1 2018-05-24 18:34:47 fun fact in most clients you can send a message starting with / by using two // 2018-05-24 18:49:21 Not mIRC apparently 2018-05-24 18:49:59 you have to hold ctrl or something like that when using mirc 2018-05-24 18:56:34 /testing 2018-05-24 18:56:40 well there you go 2018-05-24 18:56:52 Golly, that WAS fun 2018-05-24 22:39:21 hi 2018-05-24 22:39:37 dl-5 is offline due to a power outage. i'm waiting on a response from the dc as they're working on it 2018-05-24 22:46:24 ok, it's back online 2018-05-24 22:46:27 l8r 2018-05-25 00:55:13 hello, i'm having wird problem with firefox-esr, there are no bars and the widgets are all wrong, istalles the faenza pkg but no change 2018-05-25 01:45:58 hello. anyone who can help me with a firefox widgets problem? 2018-05-25 04:34:53 black-clover, I would love to know the reason for this problem as well, I randomly hit the same problem and it is probably the most fucking annoying problem I've had with Alpine so far 2018-05-25 04:38:02 TBB: yeah there are some little problems, probably due to the novelty of the distro and the unusual libs , but all in all is a very neat distro. a reliable browser is a main question, i installed conkeror to run with the firefox engine but that too acts strange so i think the issue is related to firefox widgets 2018-05-25 04:38:53 it's a gtk related problem 2018-05-25 04:39:14 gtk theming in Alpine is broken somehow 2018-05-25 04:39:58 that said, here's the usual disclaimer: it just might be fixed in edge 2018-05-25 04:40:57 TBB: good to know which browser do you use now in alpine? 2018-05-25 04:45:08 chromium; I don't like it but what can you do 2018-05-25 04:49:14 TBB: that'd be 64 bit, I run 32 and use netsurf which is very limited 2018-05-25 06:43:45 Dear Alpine, my first IRC message ever. So I've following short questions as preparation for planning a new infrastructure for a client. 2018-05-25 06:44:09 <_ikke_> cw789: welcome 2018-05-25 06:44:17 hello 2018-05-25 06:44:38 1. When will LXC 3.0 will be available on Alpine? 2018-05-25 06:46:32 <_ikke_> cw789: due to alpine working on the next release (3.8), there is a bit of a feature freeze right now 2018-05-25 06:46:56 2. Alpine 3.8 will not have a hardened Kernel, is this right? Why did you guys make this decision? Will this mean Alpine Releases will came more frequently, with newer Kernels? Is there any timeline when 3.8 will be released? 2018-05-25 06:47:57 <_ikke_> cw789: The harned kernel that was being used was unmaintanable, they could not patch it for spectre/meltdown 2018-05-25 06:48:03 <_ikke_> hardened* 2018-05-25 06:48:45 <_ikke_> THe other questions I cannot answer myself 2018-05-25 06:51:50 Ok. Thanks for welcoming me and answering the first parts of my questions. 2018-05-25 10:31:47 can anybody please review my PR to update nano to 2.9.7? 2018-05-25 10:33:16 github.com/alpinelinux/pull/4295 2018-05-25 10:34:07 nobody said anything for over a week 2018-05-25 10:35:07 markweston: right now there's a feature freeze (somewhat) going on 2018-05-25 10:35:24 it will most certainly be dealt with, even if after 3.8 2018-05-25 10:36:05 ugh, it has two features I really want that I myself helped to introduce 2018-05-25 10:36:59 one is the 'afterends' nanorc option which I sent a patch to implement 2018-05-25 10:37:20 and there was a bug fixed that I reported 2018-05-25 10:37:46 Why "ugh"? 2018-05-25 10:37:46 before 2.9.7 you could not rebind a key to toggle linenumber display 2018-05-25 10:38:18 I really want it to be merged and it's a feature freeze 2018-05-25 10:45:54 You could always just install the package you've just written ;) 2018-05-25 11:25:11 ahhhh. repackaged a stable community package that required deps in pinned repos (how's that even possible), aaaaaand by installing those deps broke my X :D 2018-05-25 11:25:46 lesson is: mix and match, have a bad time 2018-05-25 11:26:05 not my fault if a stable package requires edge to even build 2018-05-25 11:26:16 that's a packaging fuckup of epic proportions 2018-05-25 11:28:09 this is exactly why I wrote a complete system that both replaces Alpine installer and sandboxes build environment so this can't happen... only this time I did the mistake of not using it :P 2018-05-25 11:28:29 "trust your feelings, Luke" 2018-05-25 11:35:24 and the last time I ran full edge I got a system that wiped out the first 16 KB of the / partition 2018-05-25 11:36:17 which was hilarious to me but less than for my colleagues who used it as a surfboard 2018-05-25 12:24:48 TBB: which package are you referring to? 2018-05-25 12:29:04 cryptos: re mkimage, still have problems ? 2018-05-25 13:38:39 duncan^: turns out the fuckup of epic proportions is on my side 2018-05-25 13:39:27 I've managed to somewhat restore the system into a usable state, but two problems remain: logging out from an i3 session no longer works and switching from tty to tty now takes several seconds... 2018-05-25 15:05:26 pfft. why do packages listed in depends="" get installed for build time if there are other *depends* variables for exactly that purpose? 2018-05-25 16:10:30 hi, any reason why `libcurl` package switched to libressl? this breaks it running in any application linked to openssl as seen in https://bugs.alpinelinux.org/issues/8923 2018-05-25 16:12:06 <_ikke_> hydrogen[m]: mostly because most of alpine is linked against libressl 2018-05-25 16:13:33 it would probably be easiest to see if we can switch our application to libressl, though this is a bit of a scary issue due to the lack of symbol versioning 2018-05-25 16:14:06 <_ikke_> hydrogen[m]: as far as I can see, that commit just links it to a newer version of libressl 2018-05-25 16:14:49 oh, ouch, actually our main dependent on openssl is the nodejs library 2018-05-25 16:14:54 also, hm, really? 2018-05-25 16:15:03 perhaps I was comparing to an even older version of libcurl ldd output 2018-05-25 16:15:13 or perhaps older libressl has more compatible ABI to openssl 2018-05-25 16:55:24 yes, it turns out we can't switch our binary to run with only libressl 2018-05-25 16:56:00 it's non-trivial to port nodejs to libressl, and we run that in-process 😕 2018-05-25 19:21:21 Hello guys I'm thinking about setting up an Alpine host as a virtualization server but I'm not sure if I should go with KVM or Xen. I'm planning on running virtual machines and LXC containers and I know libvirt can be used to manage that but what would you guys recommend? 2018-05-25 19:53:47 Hello! I’m trying to install zbar but I get the following error : https://dpaste.de/swUK/raw 2018-05-25 19:54:06 Is the package broken or should I upgrade my system first before trying to install it? 2018-05-25 20:01:58 I just setup samba on alpine linux and tried to use the linux 'guest' account as my samba 'guest' account, only to discover something special about uid 405 and samba not interacting nicely. I can't see that being a samba bug, so I'm curious where I might find out why the 'guest' account with uid 405 might be restricted on alpine linux and where such configuration exists 2018-05-25 20:06:43 hey 2018-05-25 20:07:04 is docker available for alpine from main repo by apk add ? 2018-05-25 20:07:18 andrzej: yes 2018-05-25 20:07:36 andrzej: `apk search docker` :) 2018-05-25 20:07:41 andrzej: for future reference, try 'apk search docker' or type the query in to pkgs.alpinelinux.org 2018-05-25 20:07:56 superduck: what do you mean by “samba not interacting nicely” ? 2018-05-25 20:08:14 actually I don't have any alrpine running, thats why asking here 2018-05-25 20:08:41 Youbi: Are you using Edge while installing zbar? 2018-05-25 20:08:56 Youbi: samba guest accounts cannot write to /mnt/share when it is owned guest:users and Samba is configured guest account = guest. 2018-05-25 20:09:17 Youbi: However when I change the uid in /etc/passwd of guest from 405 to 400, samba starts working 2018-05-25 20:09:36 I have some Athlon64 x2 machine on which I wish to run alpine because it will be much faster than installing there CentOS :) 2018-05-25 20:09:50 or Fedora 2018-05-25 20:10:15 duncan^: I’m using edge yup 2018-05-25 20:10:38 superduck: strange Oo 2018-05-25 20:10:39 Edge is rolling release, try the latest packages 2018-05-25 20:10:53 hazward: I'd go with KVM 2018-05-25 20:11:02 superduck: perms are sometimes tricky to handle with samba/nfs shares :/ 2018-05-25 20:11:31 Youbi: this isn't a permission issue, it's a literal uid modification /samba interaction issue 2018-05-25 20:11:31 Youbi: are you on edge to install zbar ? 2018-05-25 20:11:37 andrzej: oh ok :) then pkgs.alpinelinux.org might be helpful, as stated by duncan^ :) 2018-05-25 20:12:01 tmh1999: Yup, edge, as advised by duncan^ I’ll upgrade and try again 2018-05-25 20:12:04 Maybe pax, anyone know how I can view pax controls that might exist? 2018-05-25 20:12:13 Youbi: thanks 2018-05-25 20:12:25 best of luck 2018-05-25 20:13:43 I’ve little hope, my imagemagick and imagemagick-dev pkgs are up to date :/ 2018-05-25 20:17:49 superduck: depends on how they were set; pax flags can be set in either extra attributes or in the binary header 2018-05-25 20:18:15 paxctl for the latter, maybe paxmark for the former? 2018-05-25 20:20:36 duncan^ tmh1999 : nope, uptodate and zbar package still has unsatisfiable constraints :/ 2018-05-25 20:22:53 TBB: my issue is that uid 405 when assumed by samba cannot write to a uid 405 owned directory 2018-05-25 20:23:30 The 'guest' account is uid 405 on my system. If I change it's uid to 400, samba works. Change it back to 405, broken. 2018-05-25 20:25:55 Youbi: Report it on bugs.alpinelinux.org 2018-05-25 20:26:05 or email the maintainer 2018-05-25 20:26:43 If anyone can help with what hardening Alpine does so I can find out why uid 405 is special, that'd be fantastic. 2018-05-25 20:26:55 Yep, I’ll report it and assign to the maintainer if possible :) 2018-05-25 20:27:01 Thanks for your help anyway :) 2018-05-25 20:27:02 I'm running a linux-hardened kernel, is that still have grsec permissions? 2018-05-25 20:27:18 <_ikke_> in 3.7 it still has 2018-05-25 20:27:32 <_ikke_> after that, there won't be a hardened kernel anymore for the time being 2018-05-25 20:28:50 Youbi: paste your /etc/apk/world ? 2018-05-25 20:31:07 _ikke_: Alpine is ditching the hardened kernel patches? 2018-05-25 20:31:21 https://dpaste.de/YfMw/raw tmh1999 2018-05-25 20:32:12 : Alpine has to 2018-05-25 20:32:30 superduck: Are you updating everything to use the new uid after you change it in /etc/passwd? 2018-05-25 20:32:41 That is, chowning the guest-owned files and reloading/restarting samba? 2018-05-25 20:33:15 pardis: Yes, I've got a dummy /var/tmp/share I'm updating /etc/passwd, chown /var/tmp/share, restart samba, smbclient -U% -c 'put file file1' 2018-05-25 20:33:35 That is really quite odd 2018-05-25 20:33:40 What is the specific error smbclient gives you when it fails? 2018-05-25 20:33:58 NT_STATUS_ACCESS_DENIED opening remote file \foobar23 2018-05-25 20:34:24 Trying to rename test.txt to foobar23 in that use case. 2018-05-25 20:34:31 Ah, of course it would translate the error into something Windowsy 2018-05-25 20:34:48 I'm trying to understand what in alpine linux might be configured that would limit the guest account in a special fashion. 2018-05-25 20:34:50 It might be worth stracing samba to see what the actual error the kernel gives back is (and which syscall fails) 2018-05-25 20:34:59 That's likely to be a useful hint as to where to look 2018-05-25 20:35:12 vi /etc/passwd ; chown guest: /var/tmp/share ; service samba restart ; sleep 2 ; smbclient -U% //localhost/public -c 'put /root/test.txt foobar1' 2018-05-25 20:35:44 I switch from uid 405 to uid 400 for the 'guest' user, and that smbclient put works, I change from 400 to 405, it fails. And now to pull out strace. 2018-05-25 20:35:58 Or looking at the samba logs, if the error is in there (I don't use samba so I'm not sure how verbose it is) 2018-05-25 20:36:33 I haven't gotten anything meaningful out of samba logs, and I might need to ptrace a fork execed instance unless I can forground samba 2018-05-25 20:36:39 Youbi: imagemagick was upgraded recently and those who depend on it might not have been built with it. 2018-05-25 20:36:51 Oh :/ 2018-05-25 20:37:01 Just posted an issue on the bug tracker :) 2018-05-25 20:37:06 okay cool 2018-05-25 20:37:08 You can strace a running daemon with strace -p (you may need to specify -p multiple times if there are multiple workers, and of course -f is always helpful) 2018-05-25 20:37:17 I’ll email the maintainer and just wait. 2018-05-25 20:42:23 guys good evening, I installed the package easy-rsa though I can't seem to be able to find the binaries clean-all, build.dh and pkitool 2018-05-25 20:42:28 what am I doing wrong? 2018-05-25 20:44:49 those are, according to pkgs.alpinelinux.org content search, in package py-fedmsg 2018-05-25 20:45:09 in such cases the easiest is to check the APKBUILD what and how is being packaged 2018-05-25 20:47:49 thanks TBB 2018-05-25 20:47:51 :) 2018-05-25 21:15:43 pardis: It's not a syscall that fails, but a change in arguments to an open call with O_CREAT when uid != 405 and omitting O_CREAT when uid == 405. 2018-05-25 21:17:28 I can't imagine samba has some deep loathing of uid 405, that'd be too weird. More likely my alpine install has some setting that's restricting uid 405, and I can't fathom what might be causing it. I used to use grsec, but I downloaded gradm and it said I don't have a grsec kernel, so I'm not sure what other RBAC or MAC controls Alpine might have enabled without my knowledge. 2018-05-25 21:18:11 tmh1999: why does alpine have to stop providing linux-hardened? I understand grsec not being publicly available, but what about the gentoo hardened patches? 2018-05-25 21:18:16 It's just as unlikely that Alpine is arbitrarily restricting specific uids 2018-05-25 21:18:40 It's better to work towards a logical conclusion based on the evidence 2018-05-25 21:18:54 Does the file you're trying to access exist? If not, of course open without O_CREAT is going to fail 2018-05-25 21:18:57 I'm checking out the samba source code right now. 2018-05-25 21:19:06 No, no it doesn't. 2018-05-25 21:19:35 Which is why that call fails, but more importantly is not that the call fails, but the logic preceding it that determines why they don't attempt an O_CREAT with the open. 2018-05-25 21:20:00 Indeed 2018-05-25 21:21:02 There's probably a stat call and some setegid seteuid that might be related. 2018-05-25 21:26:04 there's some X.509 DN's with CN=405 that's disturbing.... RSSubscriber-Display,CN=405 2018-05-25 21:51:31 how can I download an apk with apk? i.e. keep it in a cache under /var/cache/apk? 2018-05-25 21:51:46 apk fetch 2018-05-25 21:53:10 Is there anything special about the assignment of the guest user to uid 405? 2018-05-26 08:29:04 Anybody knows Alpine roadmap regarding gcc? Both 3.7 and edge are stuck with gcc 6.4.0, is it ok? 2018-05-26 08:32:15 meh 2018-05-26 11:34:51 hewwo UwU 2018-05-26 12:52:21 krant: we need upstream to merge it before we can do anything : https://github.com/richfelker/musl-cross-make/pull/40 2018-05-26 13:55:46 hello 2018-05-26 13:56:32 what is the reason why a package is present in repos of older versions of alpine but is not present at all in the repos for more recent versions of alpine? 2018-05-26 13:57:08 <_ikke_> wewlad: might be because it became unmaintained 2018-05-26 13:57:34 _ikke_: but couldn't it at least be just copied? 2018-05-26 13:57:41 maybe it works 2018-05-26 13:58:17 You can always pull it out of the aports git history and build it yourself 2018-05-26 13:58:20 Then you can find out if it works or why it doesn't 2018-05-26 13:59:12 <_ikke_> wewlad: It usually means there has been a build issue. Packages that juist build correctly are kept 2018-05-26 14:03:58 _ikke_: oh 2018-05-26 14:04:04 that's probably the case then 2018-05-26 14:04:26 <_ikke_> wewlad: what package are you talking about? 2018-05-26 14:04:41 php5-imagick is not present in alpines 3.6 and 3.7, also those repos have a more recent version of imagemagick 2018-05-26 14:05:12 <_ikke_> so that's a subpackage 2018-05-26 14:05:18 well, yeah 2018-05-26 14:05:53 I also wish any repo would have php5-memcached, but they don't, there's only php7-memcached since alpine 3.6 :( 2018-05-26 14:07:19 same issue with php5-memcahe being absent since 3.6 (memcached version increased in 3.6 and in 3.7) 2018-05-26 14:30:47 how to set src in APKBUILD for github repo without any release 2018-05-26 14:31:08 <_ikke_> mps: that's a challenge 2018-05-26 14:31:25 no, real one 2018-05-26 14:31:34 https://github.com/cjd/mtpfs 2018-05-26 14:31:48 zero releases 2018-05-26 14:33:00 maybe open a ticket on github to make it into a release? seems the last commit was in 2016. 2018-05-26 14:33:34 or fork it and make your own release 2018-05-26 14:33:49 zNVxxliww5gP: thought to fork it and make release, but I don't have github account 2018-05-26 14:34:23 qman__: thought so, but look my previous msg 2018-05-26 14:34:37 so make one 2018-05-26 14:34:43 it's free and takes about five minutes 2018-05-26 14:35:19 cannot explain but I feel some gut aversion to open github account 2018-05-26 14:35:51 it's great for making issues though 2018-05-26 14:36:13 that sounds like a personal problem 2018-05-26 14:36:25 you can always clone it and release it on another platform 2018-05-26 14:36:30 in the case of mentioned mtpfs I made local tarball and solved problem 2018-05-26 14:37:28 but noticed that it doesn't have any release, so the question popped up 2018-05-26 14:53:31 google will buy github 2018-05-26 14:53:33 mmw 2018-05-26 14:55:26 wewlad: huh, mu gut feelings are right :( 2018-05-26 14:56:14 freedom warrior, aren't ya? 2018-05-26 14:56:59 well, google take free tech extend and monetize 2018-05-26 14:57:11 good for them 2018-05-26 14:57:13 xmpp to hangout 2018-05-26 14:57:33 for them yes but for rest of the us, is it? 2018-05-26 14:57:42 money rules the world, who'd have thought 2018-05-26 14:58:44 maybe, but money cannot move world 2018-05-26 15:01:44 There's no evidence Google is going to buy Github. 2018-05-26 15:03:55 so the last 10 lines are words in the wind 2018-05-26 15:05:06 duncan^: hope that you are right 2018-05-26 15:52:20 hello. i tried installing xfce on alpine. long story short, it boots to a black screen and freezes until power cycle. is there a way to boot into a command prompt to disable it or is there a better way? thanks :) 2018-05-26 15:53:06 why would you do that? 2018-05-26 15:54:43 wewlad: because it boots then freezes 2018-05-26 15:55:14 I mean why would you try to install xfce on alpine? 2018-05-26 15:57:00 g1i7ch: Does Ctrl+Alt+F1 not even work to switch to a text console? 2018-05-26 15:57:04 It sounds like X is just broken 2018-05-26 15:57:19 pardis: correct 2018-05-26 15:57:36 Try editing the kernel boot parameters to add -s, which should get you into single-user mode 2018-05-26 15:57:36 i was thinking boot live cd -> edit something? 2018-05-26 15:57:42 Or that 2018-05-26 15:57:56 how would I do that pardis ? 2018-05-26 15:58:17 I think 'e' normally goes into edit mode in GRUB 2018-05-26 15:58:19 Not sure if you're using syslinux 2018-05-26 15:58:42 grub? 2018-05-26 15:58:56 people do use alpine outside of docker? 2018-05-26 15:59:01 yes im using grub and yes its e 2018-05-26 15:59:27 wewlad: it's a dual-core 1Ghz laptop from ~2009 so yea :P 2018-05-26 15:59:35 If you want to go the live CD route, I'd just mount the root filesystem and chroot into it 2018-05-26 15:59:38 Then you can use rc-update as normal 2018-05-26 16:00:10 does it... does it support any drivers? 2018-05-26 16:00:23 It's just Linux 2018-05-26 16:00:33 It's not like it's difficult to support hardware, you just configure it in 2018-05-26 16:00:41 wewlad: i think thats my issue, its not loading the correct driver for the cideo card 2018-05-26 16:00:46 linux is a kernel, it doesn't support anything except for CPU 2018-05-26 16:01:10 its mentioned in some X log i dont remember which 2018-05-26 16:01:15 wewlad: No, that's wrong 2018-05-26 16:01:22 wewlad: it supports most of the rest of the hardware too... 2018-05-26 16:01:24 The kernel is what supports most hardware 2018-05-26 16:01:31 With the exception of some X userspace drivers 2018-05-26 16:01:38 it's not a microkernel, it's a fat kernel :) 2018-05-26 16:01:42 even wi-fi? 2018-05-26 16:01:45 yes 2018-05-26 16:01:50 Well, sort of 2018-05-26 16:01:54 You generally need userspace support for WPA 2018-05-26 16:01:58 But the actual wifi card drivers are in the kernel 2018-05-26 16:02:08 and most of the wifi handling too 2018-05-26 16:02:14 I had to install some packages on debian to install drivers for my motherboard's chip 2018-05-26 16:02:21 chipset* 2018-05-26 16:02:45 That's more likely to have been firmware than drivers 2018-05-26 16:02:58 Debian separates the non-free firmware out of the normal kernel package 2018-05-26 16:03:01 yeah, firmware. What's the difference? 2018-05-26 16:03:09 Drivers run on your CPU, firmware runs on the device 2018-05-26 16:03:27 wewlad: I'm running Alpine on few workstations, X and what not, as primary working boxes 2018-05-26 16:04:05 and that's after nearly 20 years with Debian experience 2018-05-26 16:04:06 mps: do you build most of the software yourself? 2018-05-26 16:04:12 no 2018-05-26 16:04:15 just some 2018-05-26 16:04:31 can it run 'heavy' software? 2018-05-26 16:04:35 like a web browser 2018-05-26 16:04:40 or wine 2018-05-26 16:04:44 or PhpStorm 2018-05-26 16:04:46 and it works on the x86 (32bit) x86_64 and aarch64 2018-05-26 16:04:59 Like I said, it's just Linux, it can run anything Linux can run 2018-05-26 16:05:02 So yes 2018-05-26 16:05:09 Although for some proprietary stuff you may need a glibc chroot 2018-05-26 16:05:17 I don't need wine and don't know what is PhpStorm 2018-05-26 16:05:52 well, that's amazing 2018-05-26 16:06:41 I'm not only one who runs Alpine as primary working box 2018-05-26 16:06:56 there are a lot of us 2018-05-26 16:07:15 I'm a weirdo too, I use FreeBSD for my home workstation 2018-05-26 16:07:32 I've also run it on my laptop before, although these days I run it in OpenBSD's vmm (in which it works great as well) 2018-05-26 16:07:38 it's more mainstream than alpine, I guess, but since it's not a linux - it's more freaky 2018-05-26 16:09:23 I must admit that I left my old Debian in the LXC container (just in case) which I sometimes run through Xephyr 2018-05-26 16:09:52 rc-update and rc-status not found ... whta do i do now? 2018-05-26 16:10:33 but, most work I do with Alpine, libreoffice, gimp, evince, firefox, mpv etc. you know 2018-05-26 16:10:35 What is $PATH set to? 2018-05-26 16:12:27 wewlad: How is it "freaky" 2018-05-26 16:12:44 it is an OS. It is Unix-like. You run it on your computer. It runs programs. 2018-05-26 16:12:57 that's not "freaky" at all. 2018-05-26 16:13:37 well, it can't run skype, for example 2018-05-26 16:13:41 or steam 2018-05-26 16:14:11 luckily, at least browsers work 2018-05-26 16:14:23 wine doesn't 2018-05-26 16:14:40 You can run Skype or Steam in a chroot if you really want 2018-05-26 16:14:50 But that's just because they're dynamically linked against glibc 2018-05-26 16:14:55 no, there are no skype/steam for freebsd 2018-05-26 16:15:03 Oh, I thought you were talking about Alpine 2018-05-26 16:15:18 FreeBSD can probably still run Skype or Steam, though 2018-05-26 16:15:21 It has Linux binary emulation 2018-05-26 16:15:25 But I've never tried 2018-05-26 16:15:33 it has linux binary emulation, but it doesn't work 2018-05-26 16:15:41 who searches for apkovls and where? 2018-05-26 16:15:44 because the emulation itself is just not enough 2018-05-26 16:15:57 you need linux libs 2018-05-26 16:16:10 Which you could get with a Linux chroot 2018-05-26 16:16:12 and that's something completely not covered by any docs and nothing really works 2018-05-26 16:16:46 pardis is there something i can edit in /init ? 2018-05-26 16:18:31 g1i7ch: /etc/runlevels 2018-05-26 16:19:44 there is no /etc/runlevels :O 2018-05-26 16:19:58 add 'init=/bin/bash' to kernel command line 2018-05-26 16:20:41 ok, did you installed openrc 2018-05-26 16:20:55 i dont remember tbh i followed the wiki 2018-05-26 16:21:40 openrc should be there in a standard installation 2018-05-26 16:21:45 If you don't have /etc/runlevels, you aren't running Alpine 2018-05-26 16:22:17 pardis: uname -a says I am 2018-05-26 16:22:19 IIRC, /etc/runlevels are in alpine-base or alpine-baselayout 2018-05-26 16:22:23 and it's the only thing 2018-05-26 16:22:28 on this hdd 2018-05-26 16:23:19 i added single to the kernel boot params 2018-05-26 16:23:50 and booted into some shell, not sure what tbh ive never done this 2018-05-26 16:24:50 how did you installed AL on that disk? from tar.gz or iso boot image 2018-05-26 16:25:09 and what ARCH it is? 2018-05-26 16:25:44 mps iso boot image 2018-05-26 16:25:57 x86_64 2018-05-26 16:25:57 and, setup-alpine? 2018-05-26 16:26:01 yes 2018-05-26 16:26:22 strange then. Did it finished successfully 2018-05-26 16:26:40 i.e. asked you to reboot 2018-05-26 16:26:45 yea; i used it for ~a week before deciding to screw it up by installing xfce4 :P 2018-05-26 16:26:49 yup 2018-05-26 16:27:08 i even installed some stuff like git, python, etc. 2018-05-26 16:27:35 hmm, which kernel you use hardened or vanilla 2018-05-26 16:28:23 X have some problems with hardened kernes, in my experience. I had always to tweak it, till I switched to vanilla 2018-05-26 16:28:33 It looks like Alpine's initramfs will drop you into a single-user shell *before* switching root 2018-05-26 16:28:45 s/kernes/kernels/ 2018-05-26 16:28:45 hardened 2018-05-26 16:29:14 i think im gonna scrap xfce4 and just use cmdline :P 2018-05-26 16:29:24 Is there anything mounted at /sysroot? 2018-05-26 16:29:25 apk is here can i just remove it? 2018-05-26 16:29:26 anyway, you could boot to cli? 2018-05-26 16:29:28 errr no nevermind 2018-05-26 16:29:29 If so, try /sysroot/etc/runlevels 2018-05-26 16:29:34 lemme check 2018-05-26 16:29:49 nothing is in /sysroot 2018-05-26 16:30:21 g1i7ch: did you installed it to disk 'mode' 2018-05-26 16:31:02 mps im not sure i think i booted the live cd then setup-alpine 2018-05-26 16:31:11 or maybe setup-disk then setup-alpine i dont remember :( 2018-05-26 16:31:43 or, whatever you did, add 'init=/bin/sh' to boot kernel parameters and you tweak it then 2018-05-26 16:33:11 setup-alpine starts setup-disk for you 2018-05-26 16:33:50 IIRC 2018-05-26 16:33:59 let me ask again, who searches for apkovls and where? 2018-05-26 16:34:04 is it just init? 2018-05-26 16:41:03 sorry about that on 2018-05-26 16:41:07 so reboot, press e at grub, add /bin/sh to init section? 2018-05-26 16:50:40 g1i7ch: well, can't remember right but it should be something like to add 'init=/bin/sh' 2018-05-26 16:51:54 just tried, no go still boot to black screen and ctrl-alt-f1 does nothing :/ 2018-05-26 16:52:03 mps: initrd=/bin/sh? 2018-05-26 16:52:10 no wait nevermind that doesnt make sense 2018-05-26 16:52:17 no. init=/bin/sh 2018-05-26 16:53:58 on the same line as linux /boot/vmlinuz-hardened ? 2018-05-26 16:54:09 *at the end 2018-05-26 16:54:34 yes, something like 'modules=sd-mod,usb-storage,ext4 nomodeset rootfstype=ext4 initrd=initramfs-vanilla init=/bin/sh' 2018-05-26 16:55:09 initrd is on a seperate line does that matter? 2018-05-26 16:55:25 is it grub or syslinux 2018-05-26 16:55:40 grub 2018-05-26 16:55:44 ah, so 2018-05-26 16:56:51 then on the line which begins with 'linux' 2018-05-26 16:57:13 'linux /boot/vmlinuz-virt root=LABEL=rootfs modules=sd-mod,usb-storage,ext4 init=/bin/sh' 2018-05-26 16:57:21 just example 2018-05-26 16:57:45 that's what i tried the first time, no go... 2018-05-26 16:58:50 really, never happened to me that it can't boot to shell with this option 2018-05-26 16:59:15 ' linux /boot/vmlinuz-hardened root=UUID="blah" modules=sd-mod,usb-storage,ext3 quiet init=/bin/sh ' 2018-05-26 16:59:15 even if the filesystem isn't clean 2018-05-26 17:00:08 remove 'quiet' from command line to see what happens during boot 2018-05-26 17:00:34 ok ; what about '/bin/ash' ? isn't almqust the default for alpine? 2018-05-26 17:01:20 it is busybox actually, and yes it is ash 2018-05-26 17:01:41 starting busybox starting slim -> black screen and unresponsive 2018-05-26 17:02:05 if you installed bash you can specify it also, what I prefer to do 2018-05-26 17:03:05 eh, also I have slim as display manager 2018-05-26 17:04:39 mps same thing, non responsive 2018-05-26 17:05:55 you removed 'quiet' parameter? 2018-05-26 17:06:44 yup 2018-05-26 17:07:08 can you see any error message during boot, then 2018-05-26 17:07:54 no, it just boots normal (well other than being non responsive :( ) 2018-05-26 17:08:02 maybe something like 'can't find bin/ash' or whatever like that 2018-05-26 17:13:15 hmm, I must admit that I never tried this on Alpine with grub, just with syslinux 2018-05-26 17:14:46 nope, just re-checked and no error messages :/ 2018-05-26 17:14:53 thanks for the help mps :) 2018-05-26 17:15:06 trying to think what to do next 2018-05-26 17:15:49 well, could be that Alpine initram somehow bypass 'init' parameter 2018-05-26 17:16:58 simple step would be to boot from iso image (cd or flash) mount that disk and edit/remove slim start script in /etc/init.d 2018-05-26 17:17:09 dirty hack but should works 2018-05-26 17:17:16 work 2018-05-26 17:18:42 gonna give that a go. sec. 2018-05-26 17:19:39 ok. I'm going to coffe :) 2018-05-26 17:29:29 mps: there is no start script in /etc/init.d for slim... could that be the problem? 2018-05-26 17:29:47 although im still axing it :P is it apk remove slim then rc-update ? 2018-05-26 17:31:38 init= is processed by the kernel itself, before executing anything in the initramfs 2018-05-26 17:33:16 g1i7ch: did you installed Alpine in diskless, data or disk mode 2018-05-26 17:33:26 dont remember 2018-05-26 17:35:06 if the Alpine isn't installed in sys mode, it doesn't put anything in the disk, just in lbu 2018-05-26 17:36:19 if you want to have it in 'normal' installation reinstall it in sys mode 2018-05-26 17:37:35 i dont have lbu 2018-05-26 17:45:24 ok i found slim in /mnt/etc/init.d i think i cd'ed into the wrong dir 2018-05-26 17:45:34 mps: just deleting the file will work or do i need to do a rc-update ? 2018-05-26 17:48:33 it should be enough to delete file, but would be to remove symlink from /mnt/etc/runlevels/default 2018-05-26 17:49:18 s/would be/would be better/ 2018-05-26 17:50:05 so you could later try to start slim with /etc/init.d/slim start 2018-05-26 17:51:52 rc-update just add/del symlinks in /etc/runlevels subdirs 2018-05-26 17:53:27 what about /mnt/etc/runlevels/defualt/dbus ? 2018-05-26 17:53:33 it s a broken symlink anyway 2018-05-26 17:55:30 gonna reboot and give it a go 2018-05-26 17:57:14 all symlinks are broken because root filesystem is mounted under /mnt and not / 2018-05-26 17:58:11 ahhh 2018-05-26 17:58:24 of course, if you didn't mount hard disk with another Alpine 2018-05-26 17:58:37 WORKED! :D thank you so much mps and pardis :D:D 2018-05-26 17:58:59 it booteD and i can login normally :D 2018-05-26 17:59:04 thanks again :D 2018-05-26 17:59:11 you are welcome 2018-05-26 20:35:03 weird, I'm ugins docker image of nextcloud:fpm-alpine, it is based on image php:7.1-fpm-alpine3.7, which is based on alpine:3.7, but `cat /etc/alpine-release` returns `3.4.6`, why? 2018-05-26 20:44:29 <_ikke_> wewlad: nextcloud doing something weird 2018-05-26 20:44:47 <_ikke_> php:7.1-fpm-alpine3.7 shows the right release, but nextcloud:fpm-alpine shows an older release 2018-05-26 20:45:20 <_ikke_> yeah, they switched to older repositories 2018-05-26 20:45:35 <_ikke_> cat /etc/apk/repositories 2018-05-26 20:45:36 their app is a failure as well :/ 2018-05-26 20:45:41 <_ikke_> http://dl-cdn.alpinelinux.org/alpine/v3.4/main 2018-05-26 20:46:36 > `php:7.1-fpm-alpine3.7 shows the right release` yeah, although php images suck too, I've also checked those - they use correct version 2018-05-26 20:50:46 _ikke_: but how could that happen? I don't see anything related in their Dockerfile 2018-05-26 21:14:33 <_ikke_> wewlad: where is the dockerfile? 2018-05-26 21:16:05 <_ikke_> wewlad: this one? https://github.com/nextcloud/docker/blob/7a5bf34195dd82b0cfa9ce3c5d64055be9d80a45/13.0/fpm-alpine/Dockerfile 2018-05-26 21:25:55 _ikke_: yeah 2018-05-26 21:26:30 https://github.com/nextcloud/docker/blob/master/13.0/fpm-alpine/Dockerfile shorter url 2018-05-26 21:29:05 guys where would I want to place a group of iptables rules to have them auto loaded at boot? 2018-05-26 21:29:32 I added them in /etc/iptables/iptables.rules but no go 2018-05-26 21:29:49 iptables is already loaded as default run level 2018-05-26 21:31:34 nevermind I will make a local.d script 2018-05-26 22:21:07 alpine 3.4 has broken php5-fpm :/ 2018-05-26 22:21:45 main config file (/etc/php5/php-fpm.conf) does work, but it fails to include configs 2018-05-26 22:46:37 oh lawd 2018-05-26 22:46:46 I just figured out what's happening 2018-05-26 22:46:51 this is ridiculous 2018-05-26 22:49:19 alpine should modify its php5 packages to fix this issue 2018-05-26 22:49:58 php-fpm.conf SHOULD NOT contain pool definitions, otherwise you can't define www pool by including a conf file 2018-05-26 23:08:43 Latrina: you have to enable iptables service by : # rc-update add iptables default and save your rules in /etc/iptables/rules.save 2018-05-26 23:09:05 you can read script at /etc/init.d/iptables and configuration file at /etc/conf.d/iptables 2018-05-26 23:09:10 yeah got that sorted alreadt 2018-05-26 23:09:15 thanks :) 2018-05-26 23:09:16 +1 2018-05-26 23:09:41 I am using iptables-restore to restore the preloaded rules 2018-05-26 23:09:50 that's also a way 2018-05-26 23:10:21 and using local.d to load the syntax rules on boot 2018-05-26 23:11:49 the 3rd way is adding 'post-up iptables-restore < /etc/iptables/rules-save' to your main interface directive in /etc/network/interface 2018-05-26 23:12:28 oh I didnt know that 2018-05-26 23:12:34 that is also convinient 2018-05-26 23:12:48 thanks for the tips 2018-05-26 23:12:54 good luck 2018-05-26 23:12:59 :) 2018-05-27 00:54:07 Hello chat 2018-05-27 00:54:59 Trying to start this up take a look if you would https://www.hublinux.com/ 2018-05-27 00:56:05 Care to explain what it is? 2018-05-27 00:56:29 and how it is relating to #alpine-linux in some way? 2018-05-27 01:55:57 Hey, im trying to add a openrc service to an alpinelinux docker container, but it does not seem to be willing to autostart when I start the container 2018-05-27 01:56:52 containers are not used that way 2018-05-27 01:56:55 I don't think containers use OpenRC... 2018-05-27 01:57:19 Or any init system. That's just not how containers generally work 2018-05-27 01:58:11 hmm right 2018-05-27 01:59:05 it should be a CMD or ENTRYPOINT then, 2018-05-27 06:17:57 sphrak: Yes. There's no init inside a container unless you start one. 2018-05-27 07:50:56 I want to run alpine as part of a CI building musl and libc-test 2018-05-27 07:51:38 Should I expect any issues, is it intended to for this development purpose / usa case? 2018-05-27 07:52:22 We'd like to use the musl-gcc and musl-clang wrappers with -static 2018-05-27 07:52:39 It's very possible though, that this is not going to work right? 2018-05-27 07:53:22 use case* 2018-05-27 10:07:36 is it possible to retrieve the kernel and initramfs seperately in order to do a qemu installation with kernel boot parameters? 2018-05-27 10:08:31 this is what I am doing with debian as a workaround for qemu -curses not working properly, and then I can specify a tty and -nographic 2018-05-27 10:12:57 Alright, nvm. I have a machine that doesn't require the workaround 2018-05-27 10:28:11 graff: of course, mount -o loop your-iso-image.iso /mnt 2018-05-27 10:28:59 cp /mnt/boot/{vmlinuz-whatever,initram-whatever} some-dir/ 2018-05-27 10:29:06 umount /mnt 2018-05-27 13:18:35 graff: I'm using the alpine docker image to ensure my program builds and runs with musl, works great 2018-05-27 13:45:40 hi 2018-05-27 13:45:53 how do I get groupadd and useradd on alpine 3.4? 2018-05-27 13:47:23 nvm 2018-05-27 14:43:39 hello 2018-05-27 14:43:55 what's the path for user crontab file in alpine? 2018-05-27 15:26:21 the location of the crontab files is not alpine specific, but depends on the cron package you have installed. 2018-05-27 16:24:27 When visiting https://pkgs.alpinelinux.org/packages it gives you the option to go the now deprecated forums 2018-05-27 16:24:44 to go to* 2018-05-27 16:29:59 <_ikke_> nekOwOseam: right, that should be fixed 2018-05-27 16:55:57 so, who is "searching" for apkovls and where? 2018-05-27 16:57:58 <_ikke_> ? 2018-05-27 16:58:22 like, when booting 2018-05-27 16:58:47 <_ikke_> ah 2018-05-27 16:58:52 is it the initrd that searches? 2018-05-27 16:58:53 <_ikke_> the initrd 2018-05-27 16:59:07 so it doesn't happen again 2018-05-27 16:59:34 <_ikke_> https://git.alpinelinux.org/cgit/mkinitfs/tree/initramfs-init.in 2018-05-27 17:03:55 it's a bit of a read 2018-05-27 17:04:12 but I'd assume that apkovls are only found in the same partition as the initrd? 2018-05-27 17:04:32 and only during boot 2018-05-27 17:06:01 <_ikke_> yes, only during boot 2018-05-27 17:06:17 <_ikke_> Not sure if it has to be the same partition as the initrd though 2018-05-27 17:06:25 <_ikke_> you can even specify it as a cmdline arg 2018-05-27 17:09:56 what does the ovl mean? 2018-05-27 17:10:55 <_ikke_> overlay 2018-05-27 17:12:52 ah, you can specify a specific devices to find the apkovl 2018-05-27 17:12:53 zNVxxliww5gP: i just use crontab -e usually 2018-05-27 17:13:10 could strace that and see where it looks too 2018-05-27 17:13:11 it can even be read from the network 2018-05-27 17:13:26 <_ikke_> qrvpzvb: right 2018-05-27 17:13:34 kpcyrd: how clean can that setup be? 2018-05-27 17:13:54 I don't want a lot of silliness with wasting time with new technologies. outside of gitlab itself 2018-05-27 17:14:19 we spent a long time to get this set up right, and now i'd like the actual .gitlab-ci.yml files to be dead simple 2018-05-27 17:14:53 and easily transferable to other projects in the case that someone else wants to reuse it 2018-05-27 17:16:10 graff: https://github.com/kpcyrd/sniffglue/blob/master/ci/build.sh#L27-L28 2018-05-27 17:16:24 graff: https://github.com/kpcyrd/sniffglue/blob/master/docs/Dockerfile.musl 2018-05-27 17:16:51 that's what I use to ensure it builds on musl 2018-05-27 17:17:38 kpcyrd: it does seem pretty simple. I will research it a bit. was on my list of things to do 2018-05-27 17:18:08 I wanted actual VMs for my set of fringe tests (alpine, gentoo-musl, void and nixos) 2018-05-27 17:18:15 but perhaps docker will be better 2018-05-27 17:20:03 (btw that is with clang + gcc on x86 and x86_64 so I need 8 OS and 16 tests for this part of our CI) 2018-05-27 20:42:44 This distro looks like Arch with security in mind? 2018-05-27 21:00:46 I would like to see if anyone has a write-up or video they would like to post here https://www.hublinux.com/ about Alpine 2018-05-27 21:46:13 hello 2018-05-27 21:50:50 !edge 2018-05-28 03:32:40 When running setup-alpine it ends after /mnt/boot is device /dev/vda1 by telling me of an ERROR: .setup-apkrepos (missing): 2018-05-28 03:32:59 thus no ramdisk is created it seems, and I can't reboot. 2018-05-28 03:47:17 https://paste.pound-python.org/show/9T0k8HWjEP0dsxkNEEPK/ 2018-05-28 03:54:21 Vaelatern try f to find the fastest mirror 2018-05-28 03:54:38 I have in the past, and had the same result 2018-05-28 03:55:48 What log file or other verbose output can I enable? I have another hour then I give up on the entire project for good, and I don't want to do that 2018-05-28 03:58:46 I'm installing inside OpenBSD's vmm 2018-05-28 03:58:55 And I'm using the virt live image, if that matters 2018-05-28 04:06:04 And the script exists, the setup-apkrepos script 2018-05-28 04:06:26 it works fine, what does the . signify? 2018-05-28 04:20:39 Turns out the problem was not enough space 2018-05-28 04:36:58 <_ikke_> Vaelatern: files starting with a '.' are files that are hidden by convention 2018-05-28 04:37:15 Yeah, but pkgnames for complaining? 2018-05-28 04:38:22 <_ikke_> sorry? 2018-05-28 04:38:59 the string: .setup-apkrepos (missing): 2018-05-28 04:40:51 <_ikke_> I'm not sure, sorry 2018-05-28 04:41:50 Why might a package be unsatisfiable? I'm trying to apk add mpv 2018-05-28 04:42:20 I guess mpv isn't on alpine o.O 2018-05-28 04:42:59 <_ikke_> You need to add the community repo 2018-05-28 04:43:08 <_ikke_> it's not added by default 2018-05-28 04:43:23 <_ikke_> edit /etc/apk/repositories, copy the repo line, and change main to community 2018-05-28 04:43:39 <_ikke_> Vaelatern: https://pkgs.alpinelinux.org/packages?name=mpv&branch=v3.7&arch=x86_64 2018-05-28 04:48:50 Does alpine support resolv.conf.head ? 2018-05-28 04:49:11 I'll test it and find out :) 2018-05-28 04:53:37 I can't see in the wiki... does alpine support adding a user with lower privileges? I'm going to run an X11 app and don't want to do it as root all that much 2018-05-28 04:55:32 <_ikke_> You can just add normal users, yes 2018-05-28 04:55:36 <_ikke_> addusers 2018-05-28 04:55:42 useradd... ahh, it's addusers 2018-05-28 04:55:53 <_ikke_> sorry, adduser 2018-05-28 05:02:56 Brilliant. What is the most alpine-esque way of running a process (mpv, needing networking already up, so after bootup) under a de-elevated user? What wiki page should I read? 2018-05-28 05:03:18 I appreciate you folks being so kind with my noob questions. I don't know what I'm doing on most distros these days 2018-05-28 05:03:38 oooh, you guys have asterisk. I should finish packaging that 2018-05-28 05:05:17 running a process as non-privileged user? 2018-05-28 05:05:31 su, obviously, but I want to run them on bootup 2018-05-28 05:05:59 rc.local probably happens too early in boot, before networking is up in most distros 2018-05-28 05:06:27 so run a process/service at boot as non-privilege user ? I think just put in /etc/init.d/ and start running as user/group. 1 sec. 2018-05-28 05:07:57 add a service at /etc/init.d/normal-user-service, and write something like this in start() : start-stop-daemon --start --user your-user --group your-group --stdout /dev/null --stderr /dev/null --background --chdir /your/script/dir --exec yourscript.sh 2018-05-28 05:11:33 something like this http://tpaste.us/EkER 2018-05-28 05:11:40 Vaelatern : ^ 2018-05-28 05:12:22 of course rc.local would work 2018-05-28 05:12:25 The dhcp service has 'need net', is that what you mean by 'networking'? 2018-05-28 05:12:53 probably the same, I can't say. Try it. 2018-05-28 05:13:09 Ok 2018-05-28 05:13:38 if you add your service at 'default' runlevel ( rc-update add yourservice default) then it should be run after network is up as network is at 'boot' runlevel 2018-05-28 05:13:53 boot is before default 2018-05-28 05:14:08 check sshd service as an example 2018-05-28 05:15:46 so probably no need need net or need networking 2018-05-28 05:22:49 Thanks! Now I'm down a $DISPLAY rabbit hole :) Let's see if I find the light... 2018-05-28 06:38:44 You don't need to define your own start function. Read https://github.com/OpenRC/openrc/blob/master/service-script-guide.md 2018-05-28 08:11:21 Hm, what backup utility do you guys use? My previous one (borgbackup) is currently broken. 2018-05-28 08:17:10 <_ikke_> azarus broken in what sense? 2018-05-28 08:17:32 _ikke_: Doesn't work at all. See: https://bugs.alpinelinux.org/issues/8893 2018-05-28 08:18:37 <_ikke_> to be honest, I still need to look into a proper backup solution for my personal things 2018-05-28 08:19:22 I think borg to be good, but it's kinda big and it breaks in funny ways like this 2018-05-28 08:20:37 And I'd kinda like if my backup solution had less dependencies, as borg has weird compiled python deps, which are fragile :/ 2018-05-28 08:21:41 <_ikke_> backups solutions should be reliable, not break every other update 2018-05-28 08:21:50 Exactly. 2018-05-28 08:22:38 I might try switching to rsnapshot, it seems mature, and has few (okay, perl, but that's ok) dependencies 2018-05-28 08:23:30 <_ikke_> I think I have experience with that one, but that was 5/6 years ago 2018-05-28 08:23:43 It hasn't changed much since then ;) 2018-05-28 08:24:21 <_ikke_> that one works with hardlinks, right? 2018-05-28 08:24:34 Like other rsync based solutions, yes 2018-05-28 08:24:41 <_ikke_> heh :P 2018-05-28 08:25:15 although I really like how borg deduplicates and compresses everything, it makes backups quite a bit smaller... 2018-05-28 08:25:23 Especially for VM images and stuff 2018-05-28 08:31:37 <_ikke_> There is also bup (based on how git works), but I have no experience with it 2018-05-28 08:32:22 Me neither... Might try it, but it doesn't allow for pruning old backups. 2018-05-28 08:32:32 which kinda makes it unsuitable for me 2018-05-28 08:32:50 (it also isn't packaged, but I could do that) 2018-05-28 08:33:59 <_ikke_> There is some support for that, but it's marked as experimental 2018-05-28 08:35:52 ... I tend not to use features that might wreck the stuff I'm trying to keep safe 2018-05-28 08:36:12 <_ikke_> right, understood 2018-05-28 08:36:36 (it kinda conflicts with the whole point of making backups, doesn't it?) 2018-05-28 08:39:19 <_ikke_> Yup, fully agree 2018-05-28 08:41:25 And solutions like backuppc just seem just so overengineered and bloated to me :/ 2018-05-28 08:44:28 seems easier to fix your backup solution, maybe 2018-05-28 08:44:58 but to answer the initial question, I've used rsnapshot, rdiff-backup and duply (which uses duplicity) 2018-05-28 08:45:01 koollman: haven't been making backups (argh) in a long while, so this might be the oppertunity to switch 2018-05-28 08:45:20 also, fix won't happen until a new release of borgbackup 2018-05-28 08:45:40 https://github.com/borgbackup/borg/pull/3767/files seems easy :) 2018-05-28 08:46:21 yup, but still, such breakage doesn't really inspire trust 2018-05-28 08:46:44 and now twiddling my thumbs for a new release doesn't really make me all to happy either 2018-05-28 08:47:01 s/to/too/ 2018-05-28 08:47:13 right. most of my backups are now made directly with rsync and some shell scripts 2018-05-28 08:47:55 duplicity doesn't seem to packaged for alpine, i might do it 2018-05-28 08:51:17 overengineering and bloat are hardly things to consider when doing backups, just as a sidenote 2018-05-28 08:51:31 being able to restore is 2018-05-28 08:52:04 so far I'm pretty satisfied with borg, it hasn't eaten my data and saved my bacon a couple of times already 2018-05-28 08:52:06 TBB: agreed. but how easy is it to restore a backup made with software that breaks when you most need it? 2018-05-28 08:52:40 that falls into the category of being able to restore doesn't it :) 2018-05-28 08:53:35 TBB: right. and complicated software with many deps tends to break more often than software (or scripts, whatever) with few dependencies. 2018-05-28 08:53:49 agreed? 2018-05-28 08:55:02 depends 2018-05-28 08:55:28 (that's why I added "tends to break", not "definitely breaks" ;p ) 2018-05-28 08:58:32 if the backup format is 'files as they existed' or 'in a tarball', it is easier, in general 2018-05-28 08:58:58 if it's 'very specific one-off format that no other tool can read', then it can get harder to restore when you have real troubles 2018-05-28 08:59:21 and of course, it's not a valid backup unless you test restores from time to time :) 2018-05-28 09:00:02 for me tar is enough and always works, though combined with rsync for remotes 2018-05-28 09:00:10 agreed. rdiff-backup looks interesting then; since it uses normal files 2018-05-28 09:26:06 duplicity has worked well for me. 2018-05-28 11:32:45 the tarsnap stuff is well thought out, too. 2018-05-28 13:34:59 elo. Can you confirm alpine linus has no package for opennebula 2018-05-28 13:35:26 <_ikke_> https://pkgs.alpinelinux.org/packages?name=*nebula*&branch=edge 2018-05-28 13:36:00 ok, thx 2018-05-28 14:53:18 Hi. I am trying to do a disk installation of Alpine. Because I added cryptsetup to the mkinitfs configuration after setup-disk finished, I wanted to run mkinitfs after chrooting into the installation mount. That fails on the pipe that contains 'lddtree'. (It seems that 'lddtree' outputs usage information instead of what it should output.) 2018-05-28 14:59:23 Something successfully generated an initramfs during setup-disk (I think apk somehow called mkinitfs), so perhaps I am doing something wrong? 2018-05-28 15:09:46 Oh, I was missing /dev in the mount. 2018-05-28 17:15:22 hello to all 2018-05-28 17:16:07 does any body knows whem new release date for ver3.8? 2018-05-28 17:17:56 does avery body have a raspizero w with alpinelinux on it? 2018-05-28 17:18:04 sorry for my english 2018-05-28 17:19:31 I tried a few hours to configure for opencv projects 2018-05-28 17:20:16 in my VM Alpine works great, in my rasp_pi_zero_w it have a lot of bugs 2018-05-28 17:20:40 does any body have configured for rasp with success? 2018-05-28 17:23:45 Im trying to use rasp for CV projects and still nothing, alpinelinux was the only linux small to be in a sdcard 2GB 2018-05-28 17:24:10 "a lot of bugs"? 2018-05-28 17:24:21 yes Xe 2018-05-28 17:24:46 starts with the dev/ttyS0 2018-05-28 17:24:50 how so? 2018-05-28 17:25:09 at root 2018-05-28 17:25:48 I need to add a line in config.txt to stop doing 2018-05-28 17:26:27 and Xe I dont know to setup wifi 2018-05-28 17:26:54 I used my network adapter to update rasp 2018-05-28 17:28:12 does alpinelinux uses wpa config file to record SSID? 2018-05-28 17:30:21 my question about the new version 3.8 release was because I will have the latest kernel and modules withou the need to download 2018-05-28 17:33:50 or update my alpine again, it takes 4h only for update 2018-05-28 17:36:52 hello ??? 2018-05-28 20:43:45 wpa configuration is pretty much the basic way to configure it. I can't really help with Raspberry Pi. 2018-05-28 22:04:59 hmm, it looks like lvm2-extra installs /sbin/fsadm while lvm itself looks for /usr/sbin/fsadm 2018-05-28 23:14:10 They left 2018-05-28 23:14:14 already 2018-05-28 23:42:09 who did? 2018-05-28 23:54:14 hey _ikke_ 2018-05-29 07:15:25 is it expected that 'ps' shows processes from all users? on other systems ps by default shows only processes for the current user (edge) 2018-05-29 07:16:33 <_ikke_> depends whether you have a hardened kernel or not 2018-05-29 07:17:16 well, not anymore (switched to vanilla after hardened was deprecated/removed). regardless though, man ps shows 'By default, ps shall select all processes with the same effective user ID as the current user and the same controlling terminal as the invoker.' 2018-05-29 07:18:33 my ps is synlink to busybox 2018-05-29 07:18:35 <_ikke_> right 2018-05-29 07:18:42 <_ikke_> difference between bb ps and proctools ps? 2018-05-29 07:19:08 dunno, but the man doesn't seem in sync to the actual ps 2018-05-29 07:19:30 <_ikke_> bb tools don't have a manpage iirc 2018-05-29 07:19:37 <_ikke_> just the built-in help 2018-05-29 07:19:49 technically there's a (sparse) man for all of bb commands 2018-05-29 07:19:54 <_ikke_> right 2018-05-29 07:20:22 anyway, after the move to vanilla, IMO ps doesn't behave as expected 2018-05-29 07:20:43 could be a bb config option? 2018-05-29 07:20:48 <_ikke_> what if you install proctools ps ? 2018-05-29 07:21:02 do you know the package name? 2018-05-29 07:21:31 "procps" ? 2018-05-29 07:21:32 <_ikke_> procps 2018-05-29 07:21:49 yeah, as expected 2018-05-29 07:23:05 it appears that bb ps only opts are -O 2018-05-29 07:23:16 (busybox ps --help) 2018-05-29 07:23:35 <_ikke_> yeah, bb only implements a minimal set of options 2018-05-29 07:23:46 <_ikke_> You should not expect them to behave as their full counter-parts 2018-05-29 07:24:03 for ps. it does provide different levels of compliance for different packages 2018-05-29 07:24:11 applets* 2018-05-29 07:26:03 well.. new bb adds -T for threads, but seemingly that's about it 2018-05-29 07:28:56 hey. since today we're seeing errors like these in our builds: build/temp.linux-x86_64-3.6/_openssl.c:2472:7: error: 'X509_VERIFY_PARAM_set1_host' redeclared as different kind of symbol 2018-05-29 07:29:04 I assume because of a libressl-libssl update 2018-05-29 07:32:16 <_ikke_> That would make a lot of sense 2018-05-29 07:37:00 seems to be the case on both 3.6 and 3.7 - what can I do? lock the libssl package at the old version somehow? 2018-05-29 07:41:42 nope, everything depends on the latest version of libssl 2018-05-29 07:45:42 time to switch away from alpine then I guess 2018-05-29 07:47:32 <_ikke_> :-( 2018-05-29 07:49:11 was libressl dropped? 2018-05-29 07:49:36 <_ikke_> It was updated, causing more incompattibilties I believe 2018-05-29 07:50:01 <_ikke_> abi changes 2018-05-29 07:50:08 so "libssl" is a newer version of libressl? 2018-05-29 07:51:16 <_ikke_> Alpine has libssl1.0, and libressl 2018-05-29 07:51:26 <_ikke_> but almost all packages are built against libressl 2018-05-29 07:53:23 where should I report a bug for this? 2018-05-29 07:53:42 so did the update require more than negligible fixes for packages? 2018-05-29 07:54:22 <_ikke_> avih: https://bugs.alpinelinux.org 2018-05-29 07:55:20 <_ikke_> AndreasLutro: ^ 2018-05-29 07:56:21 so curl, strongSwan and maybe apache? doesn't seem too much, assuming it covers most of the issues 2018-05-29 07:59:49 would be nice to reproduce this libressl linker bug 2018-05-29 08:06:02 is this related? https://github.com/libressl-portable/portable/issues/381 2018-05-29 08:07:26 it seems that X509_VERIFY_PARAM_set1_host is exposed since feb 10 in libressl for backward compatibility reasosn. 2018-05-29 08:08:24 AndreasLutro: is it possible that you have multiple conflicting ssl libraries installed? is your build environment clean? 2018-05-29 08:09:32 no. I tried installing openssl-dev next to libressl and it won't let me becaue of conflicts 2018-05-29 08:10:16 I'm making a minimal dockerfile to reproduce it now 2018-05-29 08:13:17 https://bpaste.net/show/e30bfa93ed71 2018-05-29 08:24:53 hmmm, the repos only have py-cryptography-2.1.4 2018-05-29 08:27:27 I'm not interested in installing python dependencies from alpine packages anyway 2018-05-29 08:34:32 yeah. py-cryptography is a pain in the ass if you want to install it yourself 2018-05-29 08:48:58 is it? I've pip installed it for ages and not had any problems until now 2018-05-29 09:06:13 AndreasLutro: it never worked for me, mostly because it tries to run stuff in /tmp which is noexec for me. also other stuff like pax was interfering. so i always copied the alpine package contents into the virtualenv 2018-05-29 09:07:21 /tmp being noexec is interesting. but you could just change the pip tmp directory to make that work 2018-05-29 09:17:17 hey people im getting this error when trying to build an alpine iso, initially the mkimage script looked like it was working successfully producing an iso but when I go to boot the iso it get a kernel panic and drops into a recovery shell, doing the build again with a more verbose output i see this error pop up 2018-05-29 09:17:37 libburn : SORRY : Failed to open device (a pseudo-drive) : Permission denied 2018-05-29 09:17:37 libburn : FATAL : Burn run failed 2018-05-29 09:17:38 xorriso : FATAL : -abort_on 'FAILURE' encountered 'FATAL' during image writing 2018-05-29 09:18:06 libisofs: MISHAP : Image write cancelled 2018-05-29 09:18:06 xorriso : FAILURE : libburn indicates failure with writing. 2018-05-29 09:18:06 xorriso : NOTE : -return_with SORRY 32 triggered by problem severity FATAL 2018-05-29 09:18:35 anyone know how to remedy this? im building it in an alpine container if that makes any difference 2018-05-29 10:25:02 hi all, am i understanding correctly that a new stable release is planned to happen soon? 2018-05-29 10:26:13 <_ikke_> intcat: yes, they're working hard on it, but there are still some issues to solve 2018-05-29 10:26:24 looks like building it in a container xorriso cant mount the iso on a loopback device, but building it in the chroot directly on my machine, still produces and ico that can't boot. the boot sequence gets to "installing packages to root filesystem" which it completes 0% then fails to a recovery shell anyone know how to solve this? 2018-05-29 10:27:12 _ikke_: alright, thanks. was considering playing around with alpine on my raspi, but i can wait a few days :) 2018-05-29 10:27:29 <_ikke_> it will probably take more than a few days 2018-05-29 10:27:36 ah 2018-05-29 10:41:42 yeh, in the words of Remedy Entertainment: "When it's done" 2018-05-29 10:47:35 tip for packagers: whatever external tools you use in your pre/post scripts, using them means you -must- include those tools in the runtime dependencies of the package! 2018-05-29 10:49:31 and the same applies to build time dependencies. hence, developing packages in an environment that has -anything- besides the barest of essentials installed is irresponsible and causes rather annoying problems at system install time 2018-05-29 10:55:20 <_ikke_> rite 2018-05-29 10:55:34 <_ikke_> though travis should give you early feedback on that 2018-05-29 10:55:47 <_ikke_> at least, for the last part, not the first issue 2018-05-29 10:56:48 the problem with that is, if you lack a binary that's needed in package() for example and that specific command fails and there's a next command after that, the function never throws an error 2018-05-29 11:05:32 <_ikke_> doesn't abuild set -e? so it should fail in that case, right? 2018-05-29 11:06:10 there's another problem with that wrt. how far -e reaches in shell scripts 2018-05-29 13:07:38 _ikke_: fyi, while i know others think differently, imo set -e is generally non portable, unless you know for a fact the shell and version you're using. there are various issues related to set -e which are inconsistent among shells 2018-05-29 13:08:19 same goes for -u as it's not always supported (e.g. bb hush) 2018-05-29 13:09:45 as few examples, debian posh fails with "$@" if -u is set, bb hush fails for false || echo OK with -e, and there are others 2018-05-29 13:10:37 though generally bash, bb ash and dash are ok. i'm guessing bsd sh too 2018-05-29 13:10:43 <_ikke_> avih: aren't packages built with ash though? (unless someone replace /bin/sh with something else)? 2018-05-29 13:10:55 no clue 2018-05-29 13:11:05 yes, with ash 2018-05-29 13:11:08 it was a general comment. i'm not familiar with alpine build systems 2018-05-29 13:11:10 <_ikke_> Right 2018-05-29 13:11:32 bb ash is generally ok 2018-05-29 13:11:36 <_ikke_> This was specific about how packages are built in alpine, and there -e is used (instead of having to append || return 1 to everything 2018-05-29 13:12:12 i recall this "modernize build" commits, yes. didn't realize it was about changing the || return 1 to set -e 2018-05-29 13:13:40 personally i'm a bit torn between using set -e and testing every command. i want -e to work well, but it's just not portable enough. 2018-05-29 13:15:03 <_ikke_> But in this case it suffices 2018-05-29 13:15:17 it basically means you have to settle on a specific shell 2018-05-29 13:17:17 shells also change though. e.g. busybox ash and hush got a lot of changes for bb 1.29 . mostly for the better, obviously, but a change is a change 2018-05-29 13:18:28 (hush became a lot more usable, and ash got mostly parsing improvements for ${...} constructs and quoting) 2018-05-29 13:18:33 true, I got burned by one such busybox ash change, can't remember the specifics anymore tho 2018-05-29 13:21:38 also re set -e, it can be very tricky, as it doesn't always produce an error, or sometimes later than one might expect, depending on the context where the error is 2018-05-29 13:22:04 is this hush the one with some sort of tcl support in it? 2018-05-29 13:23:55 i don't think so. busybox hush, plain posix shell yet another implementation 2018-05-29 13:32:02 https://www.opennet.ru/docs/FAQ/soft/hush-faq.html - this is what I came across. that would be pretty much my dream shell as I've got over 20 years of TCL under my belt :) 2018-05-29 13:32:55 I'd probably permanently stop complaining about things I find lacking in shells if I had that one 2018-05-29 15:13:10 hi im trying to boot an alpine standard iso on virtual box and it doesnt boot showing an error "end kernel panic, not syncing attempting to kill init" does anyone know what this is and how to fix? 2018-05-29 15:13:28 generic initramfs failure 2018-05-29 15:15:12 how do I go about debugging as I dont get any recovery shell from this? 2018-05-29 15:29:04 kev_: i book alpine in vbox and have no issues. which kernel did you get? did you set the system to 32/64 bits as the ISO? 2018-05-29 15:29:18 which ISO* ? 2018-05-29 15:29:53 I built the iso myself following the instructions from the wiki 2018-05-29 15:30:06 its just vanillia/standard 2018-05-29 15:30:28 did you also try running a pre-built ISO ? 2018-05-29 15:33:22 yes the prebuilt works but i am trying to build from source, im assuming the scripts in aports work 2018-05-29 16:48:07 Hi channel! Has anyone had issues installing the cryptography Python package on Alpine 3.7 after yesterday's libressl updates? 2018-05-29 16:48:53 It seems that on a previous version of ressl, compilation worked, but we're not experiencing compiler errors. 2018-05-29 16:49:03 s/not/now 2018-05-29 16:59:47 AndreasLutro had also the same issue. maybe he even posted a bug to b.a.o 2018-05-29 19:26:43 does alpine have a package for spice agent? 2018-05-29 19:32:10 <_ikke_> futune: not sure what the spice agent exactly is 2018-05-29 19:32:13 <_ikke_> https://pkgs.alpinelinux.org/packages?name=spice*&branch=edge 2018-05-29 20:36:14 hey 2018-05-29 20:36:23 why does linux make xconfig not work on alpine 2018-05-29 20:36:32 "/usr/lib/gcc/x86_64-alpine-linux-musl/6.4.0/../../../../x86_64-alpine-linux-musl" 2018-05-29 20:36:39 "/bin/ld: scripts/kconfig/qconf.o: undefined reference to symbol 'libintl_textdomain' 2018-05-29 20:36:39 " 2018-05-29 20:36:48 "//usr/lib/libintl.so.8: error adding symbols: DSO missing from command line 2018-05-29 20:36:48 collect2: error: ld returned 1 exit status" 2018-05-29 20:37:47 usually errors like that indicate a system that has a mix of stable and edge packages 2018-05-29 20:38:23 this is uh 2018-05-29 20:38:43 Is it ok to talk about pmOS (stable alpine-based) compilation problems on here 2018-05-29 20:38:57 gconfig is just fine 2018-05-29 20:39:01 that only happens with xconfig 2018-05-29 20:58:06 _ikke_, spice agent is a daemon which runs on virtual machines 2018-05-29 20:59:16 if you are using a spice client on the hypervisor, having the agent on the guest lets you have mouse integration, clipboard sharing, usb-passthrough, and more 2018-05-29 20:59:38 I think all those packages in your link are for the spice client, though, not the agent 2018-05-29 21:07:45 futune, I could be completely wrong about this, but I seem to remember spice stuff having been part of libvirt 2018-05-29 21:08:46 TBB, sorry, it's a bit complicated. The spice stuff is split in 3 parts, client, server, and agent 2018-05-29 21:08:53 the libvirt stuff would be server 2018-05-29 21:09:04 (I expect) 2018-05-29 21:09:49 I saw some talk of a package called spice-vdagent on a blog post from 2015, but I don't see that package when searching for spice now 2018-05-29 21:14:27 I remember that package 2018-05-29 21:14:49 that's roughly when my experiments with Alpine started 2018-05-29 21:24:03 my hunch is it's either integrated completely into qemu or some other component and therefore deprecated 2018-05-29 21:24:32 but I have nothing to back it up with, just that there seems to be a lack of fairly recent links about the topic 2018-05-29 21:24:35 is there anyone who was successful with installing alpine for desktop use with nouveau drivers? 2018-05-29 21:25:42 TBB, on other systems it requires a separate package, but I can always try to see if it "just works" here 2018-05-29 21:26:35 plantroon: yup 2018-05-29 21:26:50 futune: yeah, and I do remember that package was available for Alpine too at some point 2018-05-29 22:33:49 TBB, it appears to not "just work" :/ 2018-05-29 22:40:53 TBB: I cannot get nouveau to work. Upon installing it, when starting Xorg, it just says no screens found. Are there any additional steps I need to take? 2018-05-29 22:42:15 plantroon: i tried but without success 2018-05-30 00:20:51 hello everyone... yesterday, the `libressl` version was updated, so builds from the `cryptography` library will fail (https://github.com/pyca/cryptography/pull/4234) - this means that any ansible installation will fail as well. Do you suggest any workaround for this besides downgrading to Alpine 3.5 or earlier? 2018-05-30 02:43:19 ACTION facepalms 2018-05-30 02:43:38 hey, what do you know!? libressl broke something! 2018-05-30 02:43:51 rodrigods: are you on 3.6 or 3.7? 2018-05-30 05:48:41 Is there any good way to automatically mount a usb device at boot? 2018-05-30 05:48:58 I tried putting it in fstab, but that doesn't seem to work 2018-05-30 05:49:28 presumably becausethe device isn't detected by the time it's trying to mount it 2018-05-30 06:05:03 I'm considering editing /lib/mdev/usbdisk_link to run mount -a, but I'd rather not if there's a better option 2018-05-30 06:19:01 when i do a wget http://dl-cdn.alpinelinux.org/alpine/v3.7/releases/aarch64/alpine-minirootfs-3.7.0-aarch64.tar.gz 2018-05-30 06:19:14 and then try to untar it i don't get a boot/ dir 2018-05-30 06:20:44 $ tar -xf alpine-minirootfs-3.7.0-aarch64.tar.gz tar: ./dev/null: Cannot mknod: Operation not permitted tar: Exiting with failure status due to previous errors 2018-05-30 06:20:56 should I just do it as root or something? 2018-05-30 06:21:41 I'd like to boot this in qemu and use it as part of my musl and hlibc test suite / CI 2018-05-30 06:22:31 I got the x86_64 and x86 images working, and I would like to get as many alpine arches as i can 2018-05-30 06:22:37 but a bit unsure how to proceed 2018-05-30 06:27:33 also wondering if there is a channel for owl linux 2018-05-30 06:27:49 the musl based open wall distro. i'd like to try and run that and void too 2018-05-30 07:30:58 Hi, any estimate for PHP 7.2 in the main repos? 2018-05-30 07:33:00 <_ikke_> It's in edge right now, so the next release (3.8) of alpine should include it 2018-05-30 07:33:09 <_ikke_> Hard to tell when exactly 3.8 will be released though 2018-05-30 07:33:50 Hm, I see. Thanks _ikke_. So no rough estimates for 3.8? 2018-05-30 07:34:18 <_ikke_> I'm not sure what the blockers are right now, nor how long it would take to solve them 2018-05-30 09:57:36 uhm, i made an (until now personal) aport for adding XDG_* variables to alpine systems 2018-05-30 09:57:39 https://github.com/c3d2/aports/tree/master/extra/xdg-base-dirs 2018-05-30 09:58:07 its useful to instruct programs to place their data in designated directories instead of cluttering the home directory 2018-05-30 09:58:20 is this sort of thing generally merge-able into mainstream alpine? 2018-05-30 09:58:32 in terms of, do you want it? 2018-05-30 12:50:24 liwakura: possibly, but preferable after v3.8 release 2018-05-30 12:50:52 graff: maybe you can: tar --exclude dev/null .... 2018-05-30 12:54:17 ncopa: Do we have an approximate date for the 3.8 release? 2018-05-30 12:56:30 AGiardini[m]: a wild guess: 2 weeks 2018-05-30 12:56:54 Nice :) thanks :) 2018-05-30 12:57:14 im sorry we havent been able to deliver it yet 2018-05-30 12:57:17 should be out already 2018-05-30 12:57:56 Was there a reason for lbu to use tar and not cpio and not git? 2018-05-30 13:00:44 please can anyone help me get nouveau to work? Upon starting X it says no screens found :( what steps do I need to take? 2018-05-30 13:11:22 superduck, lbu can probably work with both cpio or tar and both are included in busybox so no extra deps. 2018-05-30 13:14:12 superduck, afaik lbu was initially designed for tmpfs systems and to be able to save config state, not specific for config versioning. 2018-05-30 13:17:55 adding git would add a lot of dependencies so it would be better suited to use other tools which use git instead of lbu if you need adv versioning. 2018-05-30 13:20:33 clandmeter: deps make sense to give it the axe, however if those can be pruned, might be nice to give more capability to lbu, i.e. branches and version control if desired. 2018-05-30 13:22:29 i dont think it will ever happen 2018-05-30 13:24:55 superduck, why would you want to add it to lbu instead of using tools designed for this task like etckeeper? 2018-05-30 13:32:54 clandmeter: One tool to rule them all? 2018-05-30 13:33:42 ah you mean systemd 2018-05-30 13:40:42 o/ 2018-05-30 13:41:43 superduck: i did cd /; git init previously 2018-05-30 13:41:47 and added stuff from /etc 2018-05-30 13:41:54 and i dont feel bad about it, tho^^ 2018-05-30 13:42:15 clandmeter: No, that's Linux 2018-05-30 13:42:32 clandmeter: systemd is just a mistake that happens to run on linux 2018-05-30 13:46:23 superduck: i dont think git existed when lbu was written 2018-05-30 13:46:28 clandmeter: lbu/mkinitfs are intimately tied together and are stuck on tar usage, so changing to cpio requires changing both tools. etckeeper is interesting in that it maintains permissions/ownership, however I think a cpio archive of touched / tracked files might suit my needs better than etckeeper. i.e. git + mkdir /tmp/.tmp ; (cd /tmp/.tmp ; touch `git ls-files`) ; git clone / /tmp/.tmp 2018-05-30 13:46:41 ncopa: wow 2018-05-30 13:46:57 :) 2018-05-30 13:48:06 <_ikke_> ncopa: was lbu from before 2005? 2018-05-30 13:49:37 i think alpine is around 11-12 years old now? 2018-05-30 13:49:37 etckeeper looks kinda like junk, doesn't integrate with your local package manager to provide diffs from previous/current package provided default configs, so its meh 2018-05-30 13:51:23 lbu sources moved to git in 2006 apparently. used svn before that 2018-05-30 13:52:38 ncopa: absolutely! the work that you are doing is amazing! :) 2018-05-30 13:55:45 AGiardini[m]: thanks. im glad you like it 2018-05-30 13:57:40 hi people, is there any proprietaryor non-free software or in Apline Linux at all? 2018-05-30 13:58:17 I have no problems with software not following FSF guidelines but I really hate proprietary software 2018-05-30 13:59:47 d9867eb: we have a non-free repository which we dont provide any pre-compiled packages for 2018-05-30 14:00:16 so users can build things like adobe-flashplayer packages themselves 2018-05-30 14:00:26 ncopa: is that turned off by default? 2018-05-30 14:00:51 it's a git repo for the build scripts so you get it by cloning the aports repository 2018-05-30 14:01:06 yes. our builders does not build those, so if you want that you have to build it yourself 2018-05-30 14:01:23 ok thanks 2018-05-30 14:01:42 we may have some linux firmware that can be considered non-free too 2018-05-30 14:01:45 in linux-firmware package 2018-05-30 14:01:49 damn 2018-05-30 14:02:21 is the source code provided for them? 2018-05-30 14:02:46 for firmware binaires? i dont think so 2018-05-30 14:03:02 i gotta go. have a nice evening 2018-05-30 14:03:07 ok I am not intrested in alpine 2018-05-30 14:03:10 thanks anyway 2018-05-30 14:03:29 ncopa: bye 2018-05-30 14:14:42 https://sourceforge.net/projects/apk-tools has a nice review :) 2018-05-30 14:20:18 <_ikke_> lol 2018-05-30 14:41:11 Hi everyone. I guess you're already aware with some issues whe installing some packages of alpine 3.6? (bad checksum) 2018-05-30 14:43:46 <_ikke_> asyd: are you using dl-cdn? 2018-05-30 14:44:06 <_ikke_> What packages do you have issues with? 2018-05-30 15:18:06 _ikke_: libressl* 2018-05-30 15:18:16 and yeah I"m u sing dl-cdn (it's not the default) 2018-05-30 15:18:18 +? 2018-05-30 15:19:23 _ikke_: https://dpaste.de/gEw2 2018-05-30 15:25:21 <_ikke_> They have just updated libressl to fix something probably because of that (dl-cdn caches files, so there might be a mistmatch between the index and the file being provided 2018-05-30 15:25:34 <_ikke_> dl-cdn is only the default on docker images, otherwise you are asked to choose one 2018-05-30 15:26:48 ok 2018-05-30 15:28:10 there is no way to use an env var to override the mirror used? 2018-05-30 15:39:22 asyd: changing mirror won't help. the maintainers are offline, it should be fixed early tmr :) 2018-05-30 15:40:18 or maybe I'm wroing, try master.alpinelinux.org or rsync.alpinelinux.org 2018-05-30 15:43:14 ah ok 2018-05-30 15:44:04 <_ikke_> well, other mirrors other than dl-cdn don't have this issue 2018-05-30 15:44:20 <_ikke_> it's just the caching behaviour of dl-cdn (fastly) that causes this 2018-05-30 15:45:09 <_ikke_> so a simple 'RUN echo http://dl-4.alpinelinux.org/alpine/... >etc/apk/repositories' should be enough 2018-05-30 15:47:18 well I'll wait CDN to be fixed and then I'll update my ci/cd jobs to use a custom from image 2018-05-30 16:39:50 wait 2018-05-30 16:40:01 I'm using zfs 2018-05-30 16:40:18 but I'm on hardened kernel 2018-05-30 16:41:03 at least, that's what uname says 2018-05-30 16:44:59 <_ikke_> how long should I wait? :p 2018-05-30 16:56:12 hello folks, this afternoon I suddenly started getting "ERROR: libressl-dev-2.5.5-r0: BAD signature" on alpine3.6 when installing postgresql-dev 2018-05-30 16:56:19 is this a known issue perhaps? anything gone wrong when pushing packages recently? 2018-05-30 16:56:39 <_ikke_> andreaf: yeah, they reverted a package without bumping pkgrel, which dl-cdn cannot handle (due to caching) 2018-05-30 16:57:08 <_ikke_> easiest for now is to (temporarily) use a different mirror 2018-05-30 16:57:37 @_ikke_ cool, thanks 2018-05-30 18:26:34 andreaf: should be fixed now 2018-05-30 18:27:28 <_ikke_> ncopa: \o/ 2018-05-30 18:29:55 @ncopa @_ikke_ thanks! 2018-05-30 18:32:55 can anyone help with nouveau no screens found issue? Should nouveau even work properly on Alpine? 2018-05-30 18:33:54 I mean, it would be enough if you had any nVidia card working with Xorg on Alpine. That's all I need and maybe some hints on what to do other than installing X itself and the driver 2018-05-30 18:39:00 plantroo1: I tried to play with nouveau driver but without success 2018-05-30 18:40:05 my problem is that I have optimus notebook and cannot disable intel card, and try with nvidia only 2018-05-30 18:41:33 mps: yea :( no success here either, I don't even know where to start debugging. The module nouveua is loaded, I can start Xorg with vesa driver but not nouveau. :( 2018-05-30 18:41:50 plantroo1: I dont have nvidia myself. but it may be helpful if you have some error messages? 2018-05-30 18:42:25 can you: apk add tpaste && tpaste < /var/log/Xorg.0.log 2018-05-30 18:43:10 is there a gpg cli equivalent to abuild-sign? 2018-05-30 18:46:43 plantroo1: in my case X detects nvidia card but for some reason which I forgot don't want to use it and switches to intel 2018-05-30 18:51:23 mps: ah, I have a little different problem. No screens found message comes from Xorg log, it's the only non-standard message there. But I will grab the full log and post link here once I have access to the PC. Thanks for now. I love alpine, ncopa, great distro! 2018-05-30 19:00:18 thanks 2018-05-30 19:01:23 I've faced some issue with abuild-keygen -a -i. It does not create the keys and prints the following message: 2018-05-30 19:01:37 ~ $ abuild-keygen -a -i 2018-05-30 19:01:37 >>> Generating public/private rsa key pair for abuild 2018-05-30 19:01:38 Enter file in which to save the key [/home/rpsene/.abuild/-5b0eef27.rsa]: 2018-05-30 19:01:38 Error relocating /usr/bin/openssl: X509_VERIFY_PARAM_set1_ip_asc: symbol not found 2018-05-30 19:01:38 Error relocating /usr/bin/openssl: X509_VERIFY_PARAM_set1_host: symbol not found 2018-05-30 19:01:38 Error relocating /usr/bin/openssl: X509_VERIFY_PARAM_set1_host: symbol not found 2018-05-30 19:01:38 Error relocating /usr/bin/openssl: X509_VERIFY_PARAM_set1_ip_asc: symbol not found 2018-05-30 19:01:39 >>> Installing /home/rpsene/.abuild/-5b0eef27.rsa.pub to /etc/apk/keys... 2018-05-30 19:01:39 cp: can't stat '/home/rpsene/.abuild/-5b0eef27.rsa.pub': No such file or directory 2018-05-30 19:02:00 Is this a know issue or am i missing something? 2018-05-30 19:59:21 rpsene: apk upgrade -U -a 2018-05-30 19:59:24 should fix it 2018-05-30 20:00:06 we pushed some changes to libressl recently that may have broken things, but it should be ok now 2018-05-31 00:13:21 so, it looks like mono doesn't like grsec 2018-05-31 00:16:50 i think a different way of saying this that mono requires weakened security settings 2018-05-31 00:17:09 yeah 2018-05-31 00:17:50 are there any know fixes? 2018-05-31 00:18:07 the workaround is to disable mprotect 2018-05-31 00:18:32 really? executable stack? that's so 80ies 2018-05-31 00:19:16 but not surprising probably its a jit engine in there. 2018-05-31 00:21:42 executable *stacks* are rather unnecessary for a JIT 2018-05-31 00:23:42 is there a way to read syslog other than cat /var/log/messages ? 2018-05-31 00:24:24 I've been using systemd for as log (heh) as I can remember 2018-05-31 01:16:41 does the alpine:3.7 docker image has syslog enabled? 2018-05-31 01:16:52 i dont see any file in /var/log 2018-05-31 01:40:29 <__number5__> dodobrain: you use `docker logs container_id` for logs 2018-05-31 01:45:05 im not wanting to look directly at the logs myself. i have a python application that fails to start that says it cannot configure the 'syslog' handler for logging 2018-05-31 01:45:14 the same program works without issue on deb/ubuntu 2018-05-31 01:45:44 but i think the error is elsewhere before that exception happens. i'll ask in #py 2018-05-31 01:55:15 hello, anyone is having problems with firefox widgets? 2018-05-31 02:59:33 could i get some helpt trying to boot http://dl-cdn.alpinelinux.org/alpine/v3.7/releases/aarch64/alpine-uboot-3.7.0-aarch64.tar.gz 2018-05-31 02:59:36 with qemu 2018-05-31 02:59:54 the usual tty settings I am trying aren't getting me anything but a blank screen 2018-05-31 03:01:00 or wait, actually this is the one i was having problems unpacking 2018-05-31 03:01:33 I think basically this is the only really solid dsitro that supports aarch64 with musl 2018-05-31 03:01:52 and If I can't get this working I guess I will start my own musl distro 2018-05-31 03:02:06 because i have a nice recipie for aarch64 that I know works 2018-05-31 03:02:23 so, not a threat. just trying to show how dire it is that I get this one up and running for CI 2018-05-31 03:03:35 i don't know if you guys have a qemu recpie for testing this maybe? or perhaps it is used with docker in a way I don't understand? 2018-05-31 03:05:02 alright, I am a bit confused, that one doesn't actually seem to include boot/ 2018-05-31 03:07:15 ok, then i have some other questions too. sorry 2018-05-31 03:07:17 http://dl-cdn.alpinelinux.org/alpine/v3.7/releases/ppc64le/alpine-vanilla-3.7.0-ppc64le.iso 2018-05-31 03:07:38 should this iso be directly bootable in qemu? like it has a bootloader and everything? 2018-05-31 03:07:59 I have not been able to get it to boot, but am going to try and track down a version of qemu that will boot it -- if so 2018-05-31 03:08:22 maybe the problem with my qemu version is that it is not supporting little endian corrctly 2018-05-31 03:09:13 you probably want qemu-ppc64le :p 2018-05-31 03:09:18 qemu-system-ppc64le rather 2018-05-31 03:09:36 yeah they don't have that on my distros package set 2018-05-31 03:09:39 damn 2018-05-31 03:09:55 I will ook around and see if I can get it. thanks solar 2018-05-31 03:10:02 btw are you able to get it to boot? 2018-05-31 06:25:13 what's the package to get ar? 2018-05-31 06:25:57 the archiver to make static libs? 2018-05-31 06:26:00 probably you get it with gcc 2018-05-31 06:26:45 is there not a standalone version? 2018-05-31 06:27:37 probably not 2018-05-31 06:28:55 oh, it's actually binutils 2018-05-31 06:33:07 binutils is the one that actually contains ar yeah 2018-05-31 06:33:18 but usually i get a copy of ar just by installing gcc 2018-05-31 06:33:44 i do an apk add git gcc make bash and then that is everything I need for gitlab to build musl or hlibc 2018-05-31 06:34:03 (hlibc is my project) 2018-05-31 06:34:48 anyway, binutils, mpfs, mpc and gmp are all integral parts of gcc 2018-05-31 06:35:04 binutils contains ar, strings, readelf, objdump et cetera 2018-05-31 06:35:22 mpfr, mpc and gmp are the bignum libraries that gcc uses 2018-05-31 07:08:24 graff: some time ago I tried qemu on aarch64. It boots but never succeeds to mount fs 2018-05-31 07:09:09 graff: I'm talking about aarch64 host 2018-05-31 07:41:11 hey, I see this as resolved but the new libressl-dev package still hasn't been uploaded to 3.7? https://bugs.alpinelinux.org/issues/8939 2018-05-31 08:55:29 Any idea, pls? https://pastebin.com/dNFDsxay I am trying to run .net app on Alpine. Thanks 2018-05-31 08:56:28 strace isn't installed on your system, completely unrelated to .net 2018-05-31 08:57:20 I have strace installed... I dont know how to debug it.. :( Something is missing... bash: ./Ombi: No such file or directory 2018-05-31 08:57:34 yaeh that's strace working fine AndreasLutro 2018-05-31 08:57:46 the binary is looking for glibc and not musl i bet 2018-05-31 08:57:57 jesus, musl again :( 2018-05-31 08:58:42 these are normal issues for using an alternative libc 2018-05-31 08:59:06 I guess that https://github.com/sgerrand/alpine-pkg-glibc will not help, right? 2018-05-31 08:59:20 it might 2018-05-31 08:59:23 or trying gcompat 2018-05-31 08:59:48 ah I misread horribly, herp derp 2018-05-31 09:00:22 muhaha: precompiled apps for "linux" often don't work on alpine 2018-05-31 09:00:54 and that's because they were compiled with the assumption that glibc is there, which it isn't on alpine 2018-05-31 09:01:18 it's not alpine's fault nor musl's fault, it's to be expected 2018-05-31 09:02:55 Ok. well. Thanks 2018-05-31 09:51:43 slt 2018-05-31 12:25:55 o/ 2018-05-31 12:26:00 I'm trying to get Alpine to run properly in VirtualBox under Windows. 2018-05-31 12:26:19 how does it fail? 2018-05-31 12:26:22 The problem I have is with the guest additions. 2018-05-31 12:26:43 jn__: It all works, but I can't get higher video resolution. 2018-05-31 12:27:04 what kernel, shadowdaemon 2018-05-31 12:27:19 I've just changed to virthardened. 2018-05-31 12:27:33 3.7 or edge? 2018-05-31 12:28:06 did you install virtualbox-guest-modules-virthardened? 2018-05-31 12:28:14 that *seems* to be the package 2018-05-31 12:28:25 azarus: Edge I think. 2018-05-31 12:28:36 jn__: I also installed that too. 2018-05-31 12:28:50 edge doesn't have the hardened kernel anymore 2018-05-31 12:28:59 shadowdaemon: well -- i recommend switching to linux-virt 2018-05-31 12:29:13 But I can't seem to remove virtualbox-additions-hardened for some reason. 2018-05-31 12:29:23 what's the error message 2018-05-31 12:29:27 azarus: Yeah, I was guessing that might work. 2018-05-31 12:30:31 azarus: It just fails, I can't remove the old kernel because of virtualbox-additions-hardened, and virtualbox-additions-hardened doesn't show up with "apk info -v" either. 2018-05-31 12:31:41 well -- try removing everything virtualbox related, install linux-virt, install the appropriate modules, reboot 2018-05-31 12:32:26 Okay thanks, I'll give it a go. 2018-05-31 12:32:37 also, virtualbox also needs a service running in the guest afaik 2018-05-31 12:33:04 Yeah, the service is running, modules are loaded. 2018-05-31 12:44:48 hi all. how does one go about adding certs from private CA to local keystore? 2018-05-31 12:52:04 BugeyeD: On Gentoo I put my private CA cert in /usr/local/share/ca-certificates and then run update-ca-certificates. 2018-05-31 12:52:39 I think the script looks in /usr/local/share/ca-certificates by default, but I can't remember for sure. 2018-05-31 13:00:41 shadowdaemon: looking for similar function on alpine ... i'm running alpine as base in docker, but have been so far unable to find the proper way to register a private ca ... i have this solved for ubuntu and centos, hoping i don't have to write my own for alpine 2018-05-31 13:08:59 BugeyeD: You don't have update-ca-certificates? 2018-05-31 13:09:39 shadowdaemon: i do not. if you do, on alpine, can you determine which package provides it? 2018-05-31 13:11:14 I think it would be in ca-certificates. 2018-05-31 13:12:44 shadowdaemon: yep, just found that. i suppose i *assumed* that was installed alongside the ssl_client but alas, it was not ... 2018-05-31 13:12:57 Heh, yeah odd. 2018-05-31 13:13:29 thanks for taking the time 2018-05-31 13:13:43 No worries. 2018-05-31 13:35:00 anyone can tell why the javac in openjdk7 (and openjdk8) is not in the /usr/bin but in the usr/lib/jvm/java-1.7-openjdk/bin/ 2018-05-31 13:35:15 because you can have multiple java? 2018-05-31 13:36:03 but in both version 'java' is in the /usr/bin 2018-05-31 13:38:34 asyd: I thought like you, that the have multiple version of java is the reason for such decision but after some thinking I concluded that the adding version to command would be better, i.e. javac7 javac8 etc… 2018-05-31 13:41:48 and what about all build process that expect javac ? :) 2018-05-31 13:43:58 right question. I just wrote what it looks better solution to me, but the best is ti have just one version installed 2018-05-31 13:44:08 and the is everything ok 2018-05-31 13:44:45 ln ? 2018-05-31 13:45:06 we don't have multiple gcc and other compilers/interpreters 2018-05-31 13:45:23 ln is bad idea 2018-05-31 13:45:33 shell alias is better 2018-05-31 18:39:06 hello 2018-05-31 19:03:17 Hello 2018-05-31 19:03:44 <_ikke_> hello 2018-05-31 19:04:14 sy: hi guys, do you know the situation with firefox widgets is? 2018-05-31 19:04:56 Going to go for a FDE via chroot with remote unlock with that dropbear initramfs module 2018-05-31 19:04:59 wish me luck 2018-05-31 19:05:45 sy: dont know what that is but good like to you 2018-05-31 19:06:33 well thanks 2018-05-31 19:07:01 at this point i have about 5 guides open i'm actively following and i can honestly say: neither do i 2018-05-31 19:09:07 sy: I'm new to alpine, just installed it last week cause i was curious about it. it's a truly original and promising distro but definitely make for people who like to read and learn, which is fine. i have pages of notes from the install alone, so i hear you. 2018-05-31 19:09:35 black-clover: heh. I was like that when I first tried arch 2018-05-31 19:09:54 I actually thought alpine was a bit more intermediate, but the install is ridiculously simple in comparison 2018-05-31 19:10:01 so i jumped into the deep end a bit there 2018-05-31 19:10:37 but you're headed in the right direction, alpine is one of the last real oses out there, without the infringingment of systemd 2018-05-31 19:13:47 sy: I like quite a few things about alpine, the minimalism, the fragmentation of packages, the musl-busybox approach. its all refreshing. my problem is trying to use it as a desktop when perhaps its not meant to be one, or at least not particularly, so a few apps which are basic for me arent there or not there yet 2018-05-31 19:16:55 i tried alpine on the desktop recently and it's actually not that bad 2018-05-31 19:17:01 it's more server oriented IMHO 2018-05-31 19:17:13 (i use it on all my servers minus the one that runs OpenBSD) 2018-05-31 19:19:13 well this is embarrasing I just set up my system on my swap partition 2018-05-31 19:20:41 thats a new one, but having a HD split out myself i understand you. few days nights ago i installed arch over another distro by mistake too. 2018-05-31 19:20:58 ah wait no i didn't 2018-05-31 19:21:08 it was the boot partition 2018-05-31 19:22:45 is there an alpine linux mono package for armhf? 2018-05-31 19:23:00 sy:as for alpine, my only problem is firefox-esr having strange widgets, no address bars show up, i guess its a library problem. and there arent any other reliable browsers in the repo. also i miss wxpython. for the rest the few apps i use are there and works just fine 2018-05-31 19:23:12 <_ikke_> apparently not, only for x86* arches 2018-05-31 19:23:54 black-clover: writing APKBUILD files is quite easy :) 2018-05-31 19:24:23 <_ikke_> right, but getting projects to build properly not always :-) 2018-05-31 19:24:24 (not trying to imply that you *should* do that, but if you want to, just try it) 2018-05-31 19:24:43 _ikke_: right 2018-05-31 19:25:22 i have tried to adapt some apkbuild for wxpython and also pid but it seems something is not ther or maybe i made it worng 2018-05-31 19:25:46 i tried cross compiling it but i dont know what im doing 2018-05-31 19:26:02 is there someone that can compile it for me? 2018-05-31 19:27:20 jn__: do you know if a firefox fix is in the cards? 2018-05-31 19:27:44 black-clover: i don't 2018-05-31 19:28:39 <_ikke_> quaddle: The reason those packages aren't there is most likely that there is some kind of issue building it for that arch 2018-05-31 19:29:32 jn__: is there any other full featured browser for x86? I installed conkeror but since it uses firefox engine it shows the same problems 2018-05-31 19:30:35 'most likely', is there a change that it is possible? 2018-05-31 19:30:51 <_ikke_> there is a non-zero chance it's possible, yes 2018-05-31 19:32:18 hello, could you please help me figure out why nouveau does not work? Here is xorg log: http://tpaste.us/Yv6P 2018-05-31 19:33:19 <_ikke_> quaddle: https://git.alpinelinux.org/cgit/aports/commit/?h=c3ae7a69b00d06d85b438fe59ea33379ec38140e 2018-05-31 19:34:12 setup-disk -m sys / << can this work? 2018-05-31 19:34:21 or do I need to do it from outside? 2018-05-31 19:36:38 @_ikke_ so that was 2 years ago, still no fix? 2018-05-31 19:38:09 black-clover: icefox? 2018-05-31 19:38:16 or seamonkey 2018-05-31 19:38:34 <_ikke_> I guess no one bothered enough for it. Note that it's still in testing, so apparently no one is actively using it apparently 2018-05-31 19:39:28 black-clover: firefox-esr and firefox works for me without any problem 2018-05-31 19:39:39 on three machines 2018-05-31 19:39:51 sy__: i havent found them in the repo, LOL. but i'll certainly try them as soon as i boot into alpine tonight. 2018-05-31 19:40:27 mps: on x86? i think firefox is 64 bits only 2018-05-31 19:40:42 also, tried chromium and it worked but I removed it because I don't like it 2018-05-31 19:41:00 I want to use it, dont care to much about updates. 2018-05-31 19:41:27 <_ikke_> quaddle: understood, but it's apparently not trivial to do so 2018-05-31 19:41:33 it worked on x86, but I removed X from it completely and made small server on it 2018-05-31 19:42:09 that was previous year, and I'm not sure how it works todays 2018-05-31 19:42:55 mps: i'm looking at the package page now and chromium is 64 bits only. I tried to adapt the apkbuild for firefox 60 to x86 but didnt work 2018-05-31 19:43:57 cannot tell what is the state now, but it worked for me, and on armhf too 2018-05-31 19:44:17 firefox-esr I mean 2018-05-31 19:45:22 Would be nice if someone could try it again for me 2018-05-31 19:45:29 mps: right now on x86 firefox-esr shows no bars and fonts are weirds, I trieds to install all fonts for it but no change 2018-05-31 19:45:44 <_ikke_> quaddle: I would not have a way to myself 2018-05-31 19:45:57 sy:seamonkey seems to be 64 bit only 2018-05-31 19:46:09 black-clover: I have seen that once but under qemu and x86_64 VM 2018-05-31 19:46:53 I don't have x86 with X so couldn't check 2018-05-31 19:47:11 i have tried abuild -r its sees to do something, but i dont know how to get the package after that 2018-05-31 19:48:28 maybe I will try to install X on x86 to see if it works 2018-05-31 19:48:42 give me few hours 2018-05-31 19:50:04 mps: x and everything worked like a charm on my x86 box, only firefox-esr is weird. sure i'd love to know if the issue is mine and can be fixed somehow or is general 2018-05-31 19:50:13 black-clover: oh, sorry, I cannot because I removed HD for something else. sorry again 2018-05-31 19:50:39 in http://wiki.alpinelinux.org/wiki/Setting_up_disks_manually#Encryption, what means "# also check the root= setting" ? 2018-05-31 19:50:49 mps: ok, no problem 2018-05-31 19:54:15 is there anyone who is running firefox-esr on x86 presently? 2018-05-31 19:57:45 does this look about right ?default_kernel_opts=quiet dropbear=2222 cryptdm=crypt cryptroot=/dev/sda2 ip=xx.xx.180.166::xx.xx.180.1:255.255.255.0::eth0 2018-05-31 19:57:59 black-clover: i do. 2018-05-31 19:58:42 oh, x86? no, i do x86_64. sorry 2018-05-31 20:00:02 zNVxxliww5gP: ok, the problem might be mine or the x86 pkg 2018-05-31 20:02:44 Firefox had issues the last time I tried to use it, but that was a long time ago, on alpine 3.2 2018-05-31 20:05:07 qman__:what kind of issues? mine works fine, except no address bars, weird fonts and no widgets 2018-05-31 20:06:07 Similar, context menus were weird and had no text, some things just didn't show up, etc 2018-05-31 20:06:41 qman__: could you fix it at the time? 2018-05-31 20:06:52 No 2018-05-31 20:07:51 qman__:LOL, it seems strange that such an issue lasted from 3.2 to the present 3.7 2018-05-31 20:21:05 extlinux: no previous syslinux boot sector found -- should this happen? 2018-05-31 20:29:45 you need to add the necessary fonts i guess. 2018-05-31 20:46:25 zNVxxliww5gP: i added the faenza firefox fonts and all i could find. I installed conkeror, which uses firefox engine, and it also shows some weird widgets and address bars 2018-05-31 20:48:17 well crap it didnt work 2018-05-31 20:48:49 and to think i wanted to do lvm and raid as well 2018-05-31 20:54:26 sy: where are you trying to install alpine? 2018-05-31 21:02:58 nah, you need some more regular fonts, the ones that are usually installed by default on other linuxen 2018-05-31 21:04:15 Hi. Is there some way to enable access to /sys/kernel/debug on a hardened kernel? 2018-05-31 21:05:42 zNVxxliww5gP: I think I got all those and gtk libs to, other broswers like midori or netsurf look fine 2018-05-31 21:14:46 do you have msttcorefonts? 2018-05-31 23:35:18 Does anyone have v3.7.0 running on a raspberry pi 3b and 3b+? 2018-05-31 23:36:44 I can successfully run `setup-alpine`, but it doesn't boot up after i reboot.