2016-06-01 00:17:12 hi guys, does anyone using amd gpu on alpine? 2016-06-01 00:50:13 I've been running Alpine on a system where the primary disk is sda, but just booted it up on another and it is sdg, there a way to fix fstab so its constant? 2016-06-01 00:50:39 Or a syslinux option? 2016-06-01 01:08:34 Any tips on getting amd/driver gpu working in xorg? 2016-06-01 01:47:49 skazz: it's usually best to use UUIDs/labels for disks if you can 2016-06-01 01:49:54 /dev/sd* devices are not guaranteed to be stable (same thing is true about eth* interfaces) 2016-06-01 01:52:51 Yeah, I guessed that ofc, but was wondering if I could move the same install between two different hardware setups... I guess I would need the inttramfs or whatever it is at the start, to mount the booting system drive as /media/boot ... but I would still need to do something to fstab to mount the current boot disk 2016-06-01 01:54:03 Anyway, giving up getting alpine working on my desktop pc again, just wont ever like my amd gpu... I might try it on my laptop again this week 2016-06-01 01:54:24 you can use UUID/labels in fstab 2016-06-01 04:41:34 skrzyp: I htink most people (myself included) don't run alpine on laptops baremetal 2016-06-01 04:41:51 ? 2016-06-01 04:42:03 sorry, that message was meant for skazz 2016-06-01 04:42:05 who has left 2016-06-01 04:42:12 autocomplete fail 2016-06-01 05:31:18 Query: Is it safe to migrate from Alpine Linux 3.3 to Alpine Linux 3.4? 2016-06-01 05:31:26 Assuming that I am running a PHP webapp 2016-06-01 06:09:49 Hello. Anyone active in here atm? 2016-06-01 07:58:03 hey ho! does 3.4 image have UEFI boot? 2016-06-01 08:04:46 echose 2016-06-01 08:05:06 ohh look at my lovely nick 2016-06-01 10:36:18 booted the new iso on my macbook! 2016-06-01 10:36:43 but I dont see /sys/firmware/efi, so Im guessing it booted in legacy mode? 2016-06-01 10:36:49 does anyone know? 2016-06-01 10:37:15 obviously there was a UEFI hook somewhere or it wouldnt have booted 2016-06-01 10:38:25 Im only using the live USB not- got dvtm, w3m, etc. loving the simplicity 2016-06-01 10:39:10 Ill have to fund a way to make a gummiboot install 2016-06-01 10:40:19 ok Ill dig some more on my own. thanks anyway 2016-06-01 12:37:42 does anyone know it has to boot in uefi mode in order to make a uefi install? 2016-06-01 12:37:57 sorry why it has to boot in uefi* 2016-06-01 12:38:42 could I just copy the /sys/firmware/efi folder from another install? 2016-06-01 12:40:55 could I install the files- then chroot into the install from a UEFI live image- then 'gummiboot install' ? 2016-06-01 12:41:32 I know someone said they installed from legacy, then fixed the uefi boot from windows 2016-06-01 12:41:52 although I would have to fix it from another linux 2016-06-01 12:47:09 if I include all time lost- my macbook probably cost me five times its price tag in lost time 2016-06-01 13:11:55 does the alpine kernel have EFISTUB? 2016-06-01 13:15:41 <^7heo> so, okay; there's that geary package, and I cannot install it. 2016-06-01 13:16:17 <^7heo> I had the same problem with firefox some time ago. 2016-06-01 13:26:44 ^7heo what's your error? 2016-06-01 13:30:10 ^7heo: Could it be that apk just does nothing although it's supposed to install the given packages? 2016-06-01 13:31:50 No error no nothing - apk just exits silently as if the package was already installed and up to date 2016-06-01 13:32:38 In my case I wanted to install updated versions using 'apk add -u', 'apk version' properly showed the new package version being available but nothing happened. 2016-06-01 13:33:13 Manually downloading the file and installing the local .apk worked. 2016-06-01 13:34:17 <^7heo> ScrumpyJack: ERROR: unsatisfiable constraints: 2016-06-01 13:34:24 <^7heo> I tried an upgrade. 2016-06-01 13:34:30 <^7heo> Lemme reboot, brb 2016-06-01 13:34:37 <^7heo> hallo ncopa_ 2016-06-01 13:37:55 <^7heo> okay, how to upgrade a package? 2016-06-01 13:38:16 <^7heo> installed: libetpan-1.7-r0 ; available: 1.7.2-r0 2016-06-01 13:38:26 <^7heo> doesn't upgrade with fix or upgrade or fix -r 2016-06-01 13:38:45 ^7heo, try fix -uo 2016-06-01 13:38:47 err 2016-06-01 13:38:48 fix -u 2016-06-01 13:38:51 ^7heo: 'apk add -u' 2016-06-01 13:38:51 <^7heo> ok 2016-06-01 13:39:08 <^7heo> doesn't do anything different 2016-06-01 13:39:18 <^7heo> I just get the "OK: xxxx MB in XX packages" 2016-06-01 13:39:20 see 'apk add --help' 2016-06-01 13:39:21 <^7heo> nothing else 2016-06-01 13:39:35 did you add it from .apk file first? 2016-06-01 13:39:47 ^7heo: That's exactly my issue, I don't have a clue, either. 2016-06-01 13:39:53 <^7heo> fabled: if I initially installed it from a local .apk? 2016-06-01 13:40:06 yes, then apk stores the files hash and keeps it 2016-06-01 13:40:22 <^7heo> fabled: I only installed a local apk file for mplayer. 2016-06-01 13:40:26 <^7heo> all the rest comes from the online repos. 2016-06-01 13:40:29 use "apk upgrade -a" to reset it, or edit /etc/apk/world and remove the "<>[hash]" after the package 2016-06-01 13:40:41 should probably add some "fix -a" to do the same for single package 2016-06-01 13:40:49 <^7heo> wow, /etc/apk/world. 2016-06-01 13:40:51 <^7heo> THAT simple. 2016-06-01 13:40:54 <^7heo> thanks :) 2016-06-01 13:43:54 <^7heo> also, I can't find makewhatis. 2016-06-01 13:43:58 <^7heo> so, there's that. 2016-06-01 13:44:04 <^7heo> (man and man-pages are both installed) 2016-06-01 13:46:01 /usr/sbin/makewhatis is owned by mdocml-apropos-1.13.3-r5 2016-06-01 13:47:48 <^7heo> thanks. 2016-06-01 13:48:36 <^7heo> works much better now. 2016-06-01 13:49:10 <^7heo> it also seems that arandr has been removed. 2016-06-01 13:49:12 <^7heo> (the package) 2016-06-01 13:50:46 arandr-0.1.9-r0 is available (at least in v3.3). 2016-06-01 13:51:11 <^7heo> I don't see it =/ 2016-06-01 13:51:14 <^7heo> dafuq. 2016-06-01 13:51:51 <^7heo> okay... I get it better now, I didn't realize, I was in edge, not 3.4 2016-06-01 13:51:55 <^7heo> s/was/am/ 2016-06-01 13:52:59 <^7heo> it's also available in edge. 2016-06-01 13:53:01 <^7heo> why can't I see it?! 2016-06-01 13:53:13 <^7heo> http://pkgs.alpinelinux.org/packages?name=arandr 2016-06-01 13:54:12 <^7heo> $ sudo apk add arandr 2016-06-01 13:54:16 <^7heo> http://ix.io/Ntx 2016-06-01 13:54:42 <^7heo> is my /etc/apk/world file likely corrupted? 2016-06-01 13:55:51 ^7heo: arandr is in the community repo, do you have that enable in your /etc/apk/repositories? 2016-06-01 13:56:02 <^7heo> nope, thanks for the reminder. 2016-06-01 13:57:03 ACTION upgrades from 3.3 to 3.4 now. 2016-06-01 13:57:39 <^7heo> I wasn't aware of that community repo 2016-06-01 13:57:43 <^7heo> is that new-ish? 2016-06-01 14:06:22 No, not really. 2016-06-01 14:20:07 <^7heo> Now I have another issue, with geary: unknown tokenizer: unicodesn 2016-06-01 14:23:07 <^7heo> does anyone know if a package is missing or something? 2016-06-01 14:24:11 anyone use nix with alpine? 2016-06-01 14:26:24 <^7heo> is the FTS4 module compiled in the sqlite binary? 2016-06-01 14:27:41 <^7heo> ok yes, -DSQLITE_ENABLE_FTS4 2016-06-01 14:37:40 <^7heo> apparently, it has to be loaded with: sqlite> .load unicodesn.sqlext 2016-06-01 14:38:00 <^7heo> and ofc, I don't know what package holds the unicodesn.sqlext.so file, if any. 2016-06-01 14:38:04 <^7heo> hmm... 2016-06-01 14:38:09 <^7heo> does anyone uses geary on alpine 2016-06-01 14:38:10 <^7heo> ? 2016-06-01 15:09:37 <^7heo> okay, so possibly, there's a bug somewhere. 2016-06-01 15:26:04 hey all :) congrats on getting 3.4.x out of the door! 2016-06-01 15:29:57 Is there an Alpine-blessed way to build a custom kernel? (4.6.x) 2016-06-01 17:18:07 hot to install lua-sec-prosody? 2016-06-01 17:18:13 s/hot/how/ 2016-06-01 17:19:45 prosody-0.9.10-r2 is installed but cant install lua-sec-prosody because prosody has a dependencie on lua5.1-sec-0.6-r0 :/ 2016-06-01 17:20:14 ah. lua-sec-prosody is from 2014. nevermind 2016-06-01 18:58:57 how to resolve the following error which occurs when I try to upgrade to v3.4 from v3.3? http://pastebin.com/raw/fhjpXZUd 2016-06-01 22:09:23 Hi all, I am trying to run Alpine under Virtualbox and downloaded the newest release for virtual machines. When I try to install a xfce graphical environment, it looks like no video device is detected. Can someone help me with fixing this problem? 2016-06-01 22:10:39 my system contains a Intel i5-Skylake CPU with integrated Intel graphics. Can it be a problem of the kernel version 4.4 not supporting the graphics? 2016-06-01 23:51:04 hi. is perf (the monitoring tool) packaged somewhere? I can't find it 2016-06-02 01:43:27 Hey guys. Is there an alpine cloud image (with cloud-init, acpid) or should be done manually? 2016-06-02 01:45:54 There's a cloud-init package. 2016-06-02 01:54:33 hi all, I am trying to boot tinycorelinux (tinycorelinux.net) as a domU on Xen. I am getting this error: `xc: error: elf_xen_note_check: ERROR: Will only load images built for the generic loader or Linux images (Not '' and ''): Invalid kernel` any ideas? 2016-06-02 01:55:01 I know this is apline's channel, but am looking for help. thanks! 2016-06-02 03:19:36 Nilium: Thank you. 2016-06-02 04:41:41 hi all, I installed dnsmasq on alpine 3.3.3. I also added it to rc-update `rc-update add dnsmasq default` but when I restart alpine, `service dnsmasq status` shows that it is `stopped`. How do I start dnsmasq on boot. Also if I am using dnmsaq I don't need `udhcpd` right? how do I uninstall udhcpd. thanks! 2016-06-02 06:10:47 ironpillow, dnsmasq != udhcpc 2016-06-02 06:11:12 dnsmasq = dhcp server 2016-06-02 06:11:20 udhcpc = dhcp client 2016-06-02 07:32:26 morning 2016-06-02 08:45:40 just curious - unpacked ffmpeg-libs-3.0.2-r1.apk with gzip -d and recompressed it with gzip -c, file size went from 11158145 to 6696949... what happened? :p 2016-06-02 09:03:47 huh? 2016-06-02 09:05:52 could it be that you compress with gnu gzip and with -9? 2016-06-02 09:06:22 yeah, is another inplementation of gz used for the public repos? 2016-06-02 09:07:21 I tried with -1 as well but the file is still roughly half the size of the original 2016-06-02 09:08:22 we have some additional information 2016-06-02 09:08:25 checksums etc 2016-06-02 09:08:38 but i think its strange that difference is that big 2016-06-02 09:08:52 i suppose difference will be bigger if you have many small files in archive 2016-06-02 09:09:13 fabled: andy idea why this happens`^^^ 2016-06-02 09:09:56 shouldn't all the file metadata and checksums be inside the tar though? so it would be unaffected by recompressing the tar itself, and number of files shouldn't matter either 2016-06-02 09:16:50 embedded in tar fields 2016-06-02 09:16:58 gnu gzip will strip this 2016-06-02 09:18:22 oh dear... thanks for the warning :> 2016-06-02 09:19:02 i think we stuff in pax markings and checksums or similar in tar extended fields 2016-06-02 09:49:01 well fwiw can confirm it halves the size of apk files with a few large files too (mesa-dri-nouveau) 2016-06-02 09:54:25 that is worth have a look at 2016-06-02 09:54:41 trfl: care to write a ticket about it? bugs.alpinelinux.org 2016-06-02 09:54:43 so i dont forget 2016-06-02 09:55:41 aight sure thing 2016-06-02 09:56:51 oh and while i'm here... alpine+xfce runs great on laptops too :) 2016-06-02 09:58:53 cool :) 2016-06-02 10:02:25 i use alpine+xfce as my primary work desktop 2016-06-02 10:06:11 can someone help me with getting X to work for Alpine 3.4 inside a Virtualbox VM? 2016-06-02 10:06:47 no video devices are detected and thus no drivers work (neither vesa, nomodesetting, nor vmware, or intel) 2016-06-02 10:10:31 trfl, do note that gunzip+gzip:ing .apk will yield broken file 2016-06-02 10:10:45 but i assume the biggest differente is bb gzip vs. gnu gzip 2016-06-02 10:14:56 yeah i figured it would be a bad idea, in fact it kinda happened by mistake :p (xdelta3 autounpacking) 2016-06-02 10:15:05 just curious about the file size diff is all 2016-06-02 10:23:53 we've been meaning to improve the .apk a little bit and include potentially some other compressions too 2016-06-02 10:28:02 aight cool 2016-06-02 10:28:47 i'll skip making that isssue in the bug tracker then, since it's due to the packer 2016-06-02 10:29:55 yes, apk format is currently sensitive to the gzip archive boundaries 2016-06-02 10:30:20 yes, .apk is concatenation of 3 gzip files 2016-06-02 10:31:58 no worries, clearly it works well enough :) 2016-06-02 10:32:45 yeah, it's good. i'd just like to make it even better ;) 2016-06-02 11:03:17 nobody who can help me :/ 2016-06-02 11:58:04 christianju: Have you checked /var/log/Xorg.0.log ? 2016-06-02 12:00:19 christianju: Did you install some of the xf86-video* packages? 2016-06-02 12:09:54 jomat: yes 2016-06-02 12:10:14 k3l: I have tested my graphics with Xorg -configure 2016-06-02 12:11:09 anybody here who has an Alpine desktop environment running the system inside Virtualbox 2016-06-02 12:11:10 ? 2016-06-02 12:16:55 [ 3841.062] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so 2016-06-02 12:16:57 [ 3841.062] (EE) Failed to load /usr/lib/xorg/modules/drivers/vesa_drv.so: Error relocating /usr/lib/xorg/modules/drivers/vesa_drv.so: VBEExtendedInit: symbol not found 2016-06-02 12:18:19 https://bugs.alpinelinux.org/issues/3691 2016-06-02 12:23:02 christianju: I haven't used AL with X (be it VM or real HW), but IIRC vmware drivers were (or used to be?) recommended for use within VB. 2016-06-02 12:26:40 [ 4456.854] (II) Loading /usr/lib/xorg/modules/drivers/vmware_drv.so 2016-06-02 12:26:41 [ 4456.857] (EE) Failed to load /usr/lib/xorg/modules/drivers/vmware_drv.so: Error relocating /usr/lib/xorg/modules/drivers/vmware_drv.so: fbCreateDefColormap: symbol not found 2016-06-02 12:31:48 christianju: the order of loading is important with xorg and musl. not sure thats your issue, but it looks like it. 2016-06-02 12:32:46 #5478 seems a bit similar 2016-06-02 12:33:35 fabled: you never commented on #5369, would that be an option? 2016-06-02 12:35:55 LZ4 is quite performant, but Yann Collet has some better stuff already if we don't need to be superfast, like zstd 2016-06-02 12:36:24 https://github.com/Cyan4973/zstd 2016-06-02 12:36:49 not sure how well it is optimized for ARM atm 2016-06-02 12:38:17 xz could be also considered, because even xz -1 is a great rival for gz -9 2016-06-02 12:39:17 i guess it depens if speed or size matters. 2016-06-02 12:41:27 for packages only small size and fast decompression matters 2016-06-02 12:41:55 compression time is a secondary thing 2016-06-02 12:42:38 ok, low decompression memory usage is also preferable 2016-06-02 12:44:07 i dont care that much for size, but im not sure faster decompression would speedup apk. 2016-06-02 12:52:47 LZ4 is extremely cheap on CPU, strictly IO-bound compression with worse ratio than zlib. it's good for a lot of things, mostly real-time compression/decompression. but it's not that great for storage if decompression speed is not of utmost imporance. 2016-06-02 13:13:48 i have not looked into which formats we should support. but i think we should look at some alternative. 2016-06-02 13:13:53 xz seems to be coming popular 2016-06-02 13:14:08 bz2 was the rival - but it has pretty large memory requirements even for decompress at times 2016-06-02 13:23:48 lrzip might be worth it, too: http://ck.kolivas.org/apps/lrzip/ 2016-06-02 13:36:40 bzip2 was terrible. even author stated it himself once on his blog. 2016-06-02 15:38:37 przemoc: do you have the link to that blog post? would be an interresting read 2016-06-02 16:10:28 leo-unglaub: I would have to look for that. I remember that I wanted to find it once years after reading and I didn't manage to do so. 2016-06-02 20:34:25 hi all, I am following https://wiki.alpinelinux.org/wiki/Create_Alpine_Linux_PV_DomU but using the newly released `alpine-virt-3.4.0`. I am unable to start the alpine vm as domU. Thanks! 2016-06-02 20:49:43 anyone ? 2016-06-02 20:56:48 Hi everyone, I've been out of touch for a while with Alpine. I have what might seem like a stupid question, but has ZFS made it to Alpine yet? 2016-06-02 21:11:27 Fuzal, it's almost there again. it can't import zpools iirc atm, but there's hope that this will be fixed soonish 2016-06-02 21:22:19 anyone got alpine-virt-3.4.0 working as domU on xen? I followed this https://wiki.alpinelinux.org/wiki/Create_Alpine_Linux_PV_DomU but I can't get it to bootup. thanks 2016-06-02 21:23:20 bDEK2NLtrzOd: ill see if i can do some testing tomorrow and see where the issue happends. 2016-06-02 21:28:44 can't find a package for apache bench. anyone know of something similar that can be used in alpine? 2016-06-02 21:29:14 oops, it's under the apache2-utils package apparently. 2016-06-02 21:30:04 hi, I installed dnsmasq and added it to rc-update on default run-level. but when I reboot, dnsmasq is stopped. how do I start dnsmasq service on startup. thanks 2016-06-02 21:31:40 what does rc-status say? 2016-06-02 21:33:10 clandmeter: rc-status does not show dnsmasq. it shows sshd, cron, acpid, chronyd under default runlevel 2016-06-02 21:34:33 `rc-update show` => shows `dnsmasq | default` 2016-06-02 21:37:02 are you running from ram? 2016-06-02 21:37:28 I am running alpine as domU on xen 2016-06-02 21:38:27 this alpine-3.3.3 2016-06-02 21:39:25 rc-update add servicename should work 2016-06-02 21:40:26 rc-update: dnsmasq already installed in runlevel `default'; skipping 2016-06-02 21:41:04 still rc-status does not list dnsmasq 2016-06-02 21:46:50 clandmeter: any other reasons why it might not be working (not showing up on rc-status) 2016-06-02 21:58:00 Hi, nginx requires recompiling with some added ./configure flags in order to install "modules", is there any way I can do this cleanly using the package manager? 2016-06-02 22:41:52 suppose if there is a version with said flags enabled (like nginx-full on some distros) 2016-06-02 23:39:49 hi all trying to install alpine-3.4.0 on xen as domU but getting these errors: `libxl: error: libxl_dom.c:37:libxl__domain_type: unable to get domain type for domid=42` `xl: unable to exec console client: No such file or directory` `libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus: console child [16754] exited with error status 1` 2016-06-02 23:51:00 it's working in alpine-3.3.3 2016-06-02 23:55:05 bDEK2NLtrzOd: Thank you sir for your update :) 2016-06-03 00:06:45 any help? 2016-06-03 01:26:24 hi all trying to install alpine-3.4.0 on xen as domU but getting these errors: `libxl: error: libxl_dom.c:37:libxl__domain_type: unable to get domain type for domid=42` `xl: unable to exec console client: No such file or directory` `libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus: console child [16754] exited with error status 1` it's working fine when using alpine-3.3.3 2016-06-03 01:53:12 anyone ^? 2016-06-03 02:17:29 is there any plan for a mariadbclient-dev type package? It seems far from ideal that the only way to get the mariadb-dev is to install the entire mariadb server 2016-06-03 02:19:09 http://bugs.alpinelinux.org/issues/4768 was closed with no actual resolution, along with http://bugs.alpinelinux.org/issues/4759 2016-06-03 06:44:07 I am looking to install the libmysqlclient-dev package in order to satisfy an application dependency, It seems that all mysql packages have been replaced by mariadb packages. The new name of the package i need to install is mariadb-dev I believe, when I install it I am able to bundle my mysql gem so that's cool, however mariadb-dev installs a full mariadb 2016-06-03 06:44:07 server and that not desired. 2016-06-03 07:08:56 anyone has success with Alpine Linux on an ODROID? 2016-06-03 07:32:13 ScrumpyJack: A friend of mine runs it on his odroid 2016-06-03 07:34:43 I'm toying with the idea of using the new UX4+Alpine as an office desktop 2016-06-03 09:37:19 <^7heo> if I'm the maintainer of a package in alpine 2016-06-03 09:37:27 <^7heo> is it possible to get direct commit access for that package? 2016-06-03 09:37:38 <^7heo> or do I still have to go through the ML and all? 2016-06-03 09:39:26 not sure you can get it per pkg 2016-06-03 09:39:32 ncopa: is that possible? 2016-06-03 09:40:08 i think perms are per path, so maybe thats also possible. 2016-06-03 09:40:09 it is possible technically 2016-06-03 09:40:19 <^7heo> would it be possible otherwise to use something like gogs (it's the package that I would rather adopt btw) to have PRs? 2016-06-03 09:40:27 <^7heo> because PRs are awesome. 2016-06-03 09:40:43 you can use github if you like 2016-06-03 09:40:49 <^7heo> there's a github repo? 2016-06-03 09:40:52 lol 2016-06-03 09:41:05 <^7heo> I only know http://git.alpinelinux.org 2016-06-03 09:41:05 since some times yes 2016-06-03 09:41:08 https://github.com/alpinelinux/aports 2016-06-03 09:41:11 <^7heo> Sorry for asking then. 2016-06-03 09:41:16 np :) 2016-06-03 09:41:25 we dont merge in github 2016-06-03 09:41:26 thought everybody knew. 2016-06-03 09:41:31 <^7heo> How often is that mirrored? 2016-06-03 09:41:31 nor do we push there 2016-06-03 09:41:34 but its git... 2016-06-03 09:41:39 <^7heo> or sync'ed 2016-06-03 09:41:43 realtime 2016-06-03 09:41:43 so we can pull from github PRs 2016-06-03 09:41:55 its synced by trigger 2016-06-03 09:42:06 so when we push to git.a.o, it gets automatically pushed to github 2016-06-03 09:42:10 its our "backup" 2016-06-03 09:42:13 <^7heo> hook on http://git.alpinelinux.org? 2016-06-03 09:42:21 <^7heo> good 2016-06-03 09:42:22 kind of yes 2016-06-03 09:42:32 <^7heo> So I'm gonna fork the github one 2016-06-03 09:42:36 <^7heo> and submit my packages there. 2016-06-03 09:42:39 jirutka also attached travis. 2016-06-03 09:42:44 <^7heo> \o/ 2016-06-03 09:42:45 <^7heo> YES. 2016-06-03 09:42:59 <^7heo> I went away from the community for some time 2016-06-03 09:43:05 wb! 2016-06-03 09:43:06 <^7heo> to cool off 2016-06-03 09:43:15 <^7heo> because of my opinions on arch and all 2016-06-03 09:43:21 <^7heo> but I still want to contribute and all 2016-06-03 09:43:25 <^7heo> (yeah, and all) 2016-06-03 09:43:29 <^7heo> (twice) 2016-06-03 09:43:43 <^7heo> anyway, yeah, gonna maintain those redshift and gogs package to start with. 2016-06-03 09:45:07 <^7heo> quid of grsec btw? 2016-06-03 09:45:10 <^7heo> can we still rely on it? 2016-06-03 09:47:23 i think ncopa and fabled maintain it. 2016-06-03 09:48:22 <^7heo> yeah, but I mean, security wise, since the "twiter incident" 2016-06-03 09:48:46 i have no idea, somebody with grsec knowhow should comment on it. 2016-06-03 09:49:19 <^7heo> ok 2016-06-03 09:51:24 i think media blew up "twitter incident" out of perspective 2016-06-03 09:51:44 he left twitter 2016-06-03 09:52:38 <^7heo> probably; but the reaction of the grsec developer(s) isn't really engaging either 2016-06-03 09:53:24 <^7heo> btw clandmeter I'm really sorry, it turns out that I already forked the aport repo a long time ago (summer 2014); I just forgot about it. 2016-06-03 09:53:56 :D 2016-06-03 09:55:00 <^7heo> so main/linux-grsec/kernelconfig.x86_64 has been removed? 2016-06-03 09:55:50 renamed to config-grsec.x86_64 iirc 2016-06-03 09:55:58 <^7heo> ok thanks 2016-06-03 09:56:29 <^7heo> wow, friday feels slow. 2016-06-03 09:56:44 worse than monday? :) 2016-06-03 09:57:38 <^7heo> Well, on monday, I have slept the whole week end 2016-06-03 09:57:44 <^7heo> on friday, I have worked the whole week... 2016-06-03 09:57:45 <^7heo> so... 2016-06-03 09:59:49 <^7heo> ncopa: can the alpinelinux/aport github repo contain extra files (compared to the git.a.o repo?) 2016-06-03 10:02:55 <^7heo> https://github.com/alpinelinux/aports/pull/107 2016-06-03 10:03:02 <^7heo> My first contribution :) 2016-06-03 10:03:09 <^7heo> (in 2 years or so) 2016-06-03 10:19:45 <^7heo> So, I would like to say that the travis file fails if the contribution isn't a package. I think it's important to fix that first. 2016-06-03 10:40:44 ^7heo: no, githup repo does not have more than git.a.o 2016-06-03 10:40:50 its a 1:1 clone 2016-06-03 10:46:20 <^7heo> ncopa: so there's the .travis folder in the git.a.o? 2016-06-03 10:46:39 http://git.alpinelinux.org/cgit/aports/tree/.travis 2016-06-03 10:47:33 <^7heo> ncopa: I would like to add a README.md file; is it a problem? 2016-06-03 10:47:44 no 2016-06-03 10:47:54 problem is what you put in the README.md 2016-06-03 10:48:24 you should not only put github specific info there 2016-06-03 10:49:06 when we add README.md there will automatically show up an "About" tab on git.a.o/cgit/aports 2016-06-03 10:50:19 <^7heo> yeah I was thinking about that. 2016-06-03 10:50:29 example: there is an "about" tab here: http://git.alpinelinux.org/cgit/hosted/pingu/ 2016-06-03 10:50:51 so the content of the aports' README.md must be generic 2016-06-03 10:51:17 as it will the "About" page for http://git.alpinelinux.org/cgit/aports/ 2016-06-03 10:53:52 <^7heo> Okay, so I created https://github.com/alpinelinux/aports/pull/108 2016-06-03 10:54:08 <^7heo> Which hopefully solves the issue with the failing travis build on https://github.com/alpinelinux/aports/pull/107 2016-06-03 10:54:28 <^7heo> And then I'll Submit a new PR with a different README.md based on what you just said. 2016-06-03 10:56:53 <^7heo> oh it doesn't solve the issue yet. 2016-06-03 11:00:50 <^7heo> The issue comes from the fact that if you don't submit a package, travis will fail anyway. 2016-06-03 11:04:54 <^7heo> ncopa: as soon as the PR is accepted, I'll contribute the README.md 2016-06-03 11:32:11 <^7heo> So, I'm going for lunch; it would be awesome if anyone could merge the PR 108 asap :) 2016-06-03 11:32:20 <^7heo> So I can send the other PR and forget about all this. 2016-06-03 11:32:46 <^7heo> oh it's assigned to jirutka 2016-06-03 11:33:27 <^7heo> meh, it's on a branch, I hope I won't forget to send it in then. 2016-06-03 11:33:33 <^7heo> bbl, mahlzeit. 2016-06-03 12:08:22 <^7heo> How to manage when a package needs an httpd; without putting a specific httpd in the deps? 2016-06-03 12:08:30 <^7heo> is there a virtual httpd package to use for that purpose? 2016-06-03 12:14:57 <^7heo> Has honestly anyone ever ran gogs from the testing repo? 2016-06-03 12:15:04 <^7heo> because... it doesn't run. 2016-06-03 12:15:16 <^7heo> even when nginx is installed first and the user install doesn't crash 2016-06-03 12:15:30 <^7heo> there's a typo in a template that prevents it from starting 2016-06-03 12:32:04 How can I get a package to an Alpine Installation that is behind a VPN with no internet access (or the VPN client as the VPN is locked down)? 2016-06-03 12:32:37 It's to a machine that has a Memory Install, but I assume I cannot just drop the apk file into the /meda/disk/cache folder 2016-06-03 12:32:45 and then apk add it from that 2016-06-03 12:39:54 Hello, can anyone tell me if this is the right way to build a python with debugging symbols? https://github.com/python-pillow/Pillow/issues/1935#issuecomment-223567698 objdump -t tells me always "no symbols found" 2016-06-03 12:42:40 Buenas tardes. Soy nuevo en Alpine... Acabo de instalarlo en una VM... 2016-06-03 12:42:54 ¿Cuáles son las usu/pwd para entrar? 2016-06-03 12:43:48 usuario: usu=root pwd= 2016-06-03 12:45:08 Muchas gracias Skazz... 2016-06-03 12:45:18 a ver qué pinta tiene.. 2016-06-03 12:45:48 Dont even know the language, was thinking spanish but never taken lessons and no translator help =P 2016-06-03 12:46:26 VM=virtual machine, usu/pwd entrar=username/password entry 2016-06-03 12:48:37 Can someone please help me install this package with apk... If I just grab a apk file, how can I copy it to an alpine install and get it to install it with no internet access? 2016-06-03 12:51:31 clandmeter: Very sorry to disturb you but I am in a pinch with a live project, customer is having an issue and i really need to install a package with apk to a machine that has no internet access (and cannot be routed one) ... Is there a way for me to download the apk in question, copy it over scp and install it on the other end and commit it with lbu? 2016-06-03 12:53:52 I assume it would be something with --allow-untrusted? Or do I need an index too? ... Maybe I should just install a mirror from the machine connecting to the VPN and have it provide a repository over an SSH tunnel, but that would take alot of time ... Ill look at that for now I guess 2016-06-03 12:57:59 Does the whole APKINDEX.tar.gz have to be validated, or can I just grab it and the package(s) I need, throw them in a folder and add that as a repository soruce locally? 2016-06-03 12:58:08 skazz: no you can specify the apk directly 2016-06-03 12:58:20 if its from an officla mirror, then it should be trusted. 2016-06-03 12:58:36 but you will need the deps aswel 2016-06-03 13:00:12 <^7heo> clandmeter: I fixed the gogs package 2016-06-03 13:00:17 <^7heo> https://github.com/alpinelinux/aports/pull/111 2016-06-03 13:01:08 <^7heo> hmm, wait, I'm gona push -f with me as a maintainer. 2016-06-03 13:01:24 ^7heo: can you use a similar git subject as we use on our tree? 2016-06-03 13:01:39 <^7heo> clandmeter: I'll check the log yes. 2016-06-03 13:02:40 <^7heo> clandmeter: what about now? 2016-06-03 13:05:35 <^7heo> I'm gonna test the apk locally too. 2016-06-03 13:05:50 <^7heo> (not only if it builds, but if it installs fine and doesn't cause any error) 2016-06-03 13:06:06 <^7heo> and then I'll submit a second PR to have it up to date. 2016-06-03 13:06:28 <^7heo> but it's better to have an outdated version working than an outdated version not working. 2016-06-03 13:08:45 ^7heo: you can remove the prepare function completely, and rename all $_builddir to $builddir 2016-06-03 13:08:57 or would you like me to comment on github? 2016-06-03 13:09:22 <^7heo> ok 2016-06-03 13:09:32 <^7heo> gimme a sec', I'm correcting the patch so it builds 2016-06-03 13:09:41 <^7heo> for some reason it downloads the source in src/src/... 2016-06-03 13:11:08 <^7heo> damn I missed a cd 2016-06-03 13:11:10 <^7heo> anyway 2016-06-03 13:11:13 <^7heo> now it builds. 2016-06-03 13:11:19 <^7heo> and then I'll try it out on my server. 2016-06-03 13:13:20 <^7heo> where is abuild building the APKs? 2016-06-03 13:14:38 <^7heo> clandmeter: is the prepare function now embedded in abuild? 2016-06-03 13:14:43 <^7heo> is that why you tell me to remove it? 2016-06-03 13:15:11 correct 2016-06-03 13:15:24 any patches in source will be applied 2016-06-03 13:15:28 <^7heo> done. 2016-06-03 13:15:37 <^7heo> sent with push -f on my branch 2016-06-03 13:15:42 and it uses $builddir 2016-06-03 13:15:55 <^7heo> yeah, corrected that too. 2016-06-03 13:16:13 not sure that apkbuild is still uptodate 2016-06-03 13:16:20 <^7heo> ? 2016-06-03 13:17:48 its go 2016-06-03 13:17:50 its crap :) 2016-06-03 13:18:01 <^7heo> oops :P 2016-06-03 13:18:09 <^7heo> my pre.install script is making some weird output 2016-06-03 13:18:19 <^7heo> I should silence it. 2016-06-03 13:18:24 a recent example of a go pkg is http://git.alpinelinux.org/cgit/aports/tree/testing/lego/APKBUILD 2016-06-03 13:18:52 ^7heo: your install script looks a bit hackish 2016-06-03 13:19:17 <^7heo> the pre-install isn't supposed to be signed? 2016-06-03 13:19:30 <^7heo> clandmeter: it's because it wants to do something stupid. 2016-06-03 13:19:41 its not checked for sums no 2016-06-03 13:19:47 <^7heo> ok 2016-06-03 13:19:52 <^7heo> yeah sorry that's what I meant. 2016-06-03 13:19:56 <^7heo> Anyway 2016-06-03 13:20:14 <^7heo> the pre-install script is checking if the group is existing 2016-06-03 13:20:34 www-data should always exist 2016-06-03 13:20:50 <^7heo> not if nginx or apache2 are missing 2016-06-03 13:21:01 are you sure? 2016-06-03 13:21:04 <^7heo> yes. 2016-06-03 13:21:04 itsnt it in the base install? 2016-06-03 13:21:09 <^7heo> no. 2016-06-03 13:21:15 <^7heo> not on 3.4.0 I installed yesterday 2016-06-03 13:21:28 <^7heo> I know because it crashed. 2016-06-03 13:21:37 <^7heo> hence my "hack" 2016-06-03 13:21:39 <^7heo> anyway 2016-06-03 13:21:42 <^7heo> the version I sent works. 2016-06-03 13:21:54 you are right 2016-06-03 13:22:30 <^7heo> So yeah 2016-06-03 13:22:34 <^7heo> with the PR 111 2016-06-03 13:22:36 <^7heo> gogs works again. 2016-06-03 13:22:49 <^7heo> and then I'll put it up to date later. 2016-06-03 13:27:16 <^7heo> alright, so that should be it. 2016-06-03 13:29:38 <^7heo> doesn't jirutka come to IRC? 2016-06-03 13:30:02 he is 2016-06-03 13:30:05 in #alpine-devel 2016-06-03 13:30:08 <^7heo> ah 2016-06-03 13:30:12 <^7heo> maybe I should go there too 2016-06-03 13:30:31 yes, entrance is free 2016-06-03 13:30:53 <^7heo> clandmeter: especially if I want to contribute 2016-06-03 13:33:07 HI guys, I would be really grateful, if someone could tell me if this is the correct way of building a python with debug symbols? https://github.com/python-pillow/Pillow/issues/1935#issuecomment-223567698 2016-06-03 13:33:28 (from an alpine abuild perspectiv) 2016-06-03 13:34:41 blaggacao: almost. instead of setting CFLAGS you can do: 2016-06-03 13:34:46 ENV DEBUG=1 2016-06-03 13:35:07 alternatively you can modify the APKBUILD and add $pkgname-dbg to subpackages 2016-06-03 13:35:21 and it will spit out a -dbg apk 2016-06-03 13:35:22 OK, thanks! I was thinking of that and make a PR. 2016-06-03 13:35:57 I think more peolpe would be greateful in the future for this. I'll take on that tonight after work. 2016-06-03 13:36:04 blaggacao: do you have a reproducer? testcase? 2016-06-03 13:36:46 I'm trying to construct one, the problem was debuung didn't work due to lack of kernel priviledges... (things to know..) 2016-06-03 13:37:16 did you file a bug on bugs.a.o? i think i saw something about py-willow 2016-06-03 13:37:22 pillow 2016-06-03 13:37:35 I have a little less straight forward build infrastructure, I need to make code somhow publicily available first and untangle the docker build tree.. 2016-06-03 13:38:22 is it python2? 2016-06-03 13:38:30 sorry for my ignorance: "bugs.a.o"? 2016-06-03 13:38:32 looks like we have a python-dbg already 2016-06-03 13:38:37 it is python 2.7.11 2016-06-03 13:38:46 can you apk add python-dbg? 2016-06-03 13:39:45 what kernel is it? alpine kernel? 2016-06-03 13:39:46 just saw it on edge yeay!! 2016-06-03 13:39:59 it is MobyLinux 2016-06-03 13:40:00 i think its in 3.4 too 2016-06-03 13:40:14 thats not grsec 2016-06-03 13:40:22 so you should not have pax issues 2016-06-03 13:40:39 ok, this answers the wquestion i filed in the docker windows forum.. 2016-06-03 13:40:48 https://forums.docker.com/t/is-mobylinux-build-with-pax-grsec/14156 2016-06-03 13:42:23 This is somewhat good news, and pushes responsibility to the libraries :D 2016-06-03 13:43:46 OK, here is what I will do: Install official python-dgb instead of my very artesanal own build attempt and try to gdb further on the issue. The maintainer of Pillow is very helpful on the topic, and based on the gdb backtrace, libmusl seemd to him like a "red herring" at first sight... 2016-06-03 13:45:00 i think i messed with pillow recently 2016-06-03 13:45:07 here is the backtrace, if you want to have a look: https://gist.github.com/blaggacao/c081658dea0e7b95cb006a1b1673786f but I'll try hard to document the issue better and narrow it down as much as is within my powers 2016-06-03 13:45:11 http://bugs.alpinelinux.org/issues/5548 2016-06-03 13:47:23 https://github.com/python-pillow/Pillow/issues/1850 2016-06-03 13:47:29 i think this issue is unrelated 2016-06-03 13:48:20 I think too, i din;t had compile time errors with python 2.7.11 and Pillow==3.2.0 --global-option="build_ext" --global-option="--enable-tiff" --global-option="--enable-freetype" 2016-06-03 13:50:02 I am looking to install the libmysqlclient-dev package in order to satisfy an application dependency, It seems that all mysql packages have been replaced by mariadb packages. The new name of the package i need to install is mariadb-dev I believe, when I install it I am able to bundle my mysql gem so that's cool, however mariadb-dev installs a full mariadb 2016-06-03 13:50:02 server and that not desired. 2016-06-03 13:51:05 acerna: you can do soemthign like: RUN apk add mariadb-dev && gem install ... && apk del mariadb-dev 2016-06-03 13:51:24 that is, run apk add mariadb-dev and apk del mariadb-dev in same "RUN" 2016-06-03 13:51:34 @ncopa I'll have to work on this later, will try with python-dbg and try to prepare a replication set of dockerfiles and code... 2016-06-03 13:51:38 right for layering purposes 2016-06-03 13:51:42 THANKS! 2016-06-03 13:51:57 blaggacao: do you have the testimage.png? 2016-06-03 13:52:03 or does it happen with any .png 2016-06-03 13:52:49 ncopa, any idea if there is any plan to create a lib only package that can be installed similarly to how lib mysql was previously? 2016-06-03 13:53:19 acerna: not following. how was lib mysql previously? 2016-06-03 13:53:51 i thikn there are a mariadb-libs 2016-06-03 13:53:54 it only happens in a very special sequence of testimage.png, on the same testimage as standalone it didn't fails, there must be some contextual external effects... it's quite a shitty bug :D 2016-06-03 13:54:34 ncopa, according to this https://bugs.alpinelinux.org/issues/4768 running an apk add libmysqlclient-dev used to just install the mysql client libs previous to 3.2 before the cutover to mariadb packages 2016-06-03 13:54:40 blaggacao: it could be stack overflow 2016-06-03 13:54:45 huh? 2016-06-03 13:55:20 ncopa: that first run dbg sounds like a bug? 2016-06-03 13:55:48 clandmeter: no. its a design "problem" 2016-06-03 13:56:03 the subpackages will move the binaries out to other dirs 2016-06-03 13:56:20 when -dbg splitting happens, some of the files might have been moved 2016-06-03 13:56:24 but hum 2016-06-03 13:56:28 should be possible to fix that 2016-06-03 13:57:13 if subpackage does not have any binary (maybe only headers and symlink in -dev and main pages in -doc) then its no problem 2016-06-03 13:57:45 i tend to do the -dbg first, in case subpackages with binaries are added later 2016-06-03 13:58:24 ncopa, I tried mariadb-libs however it's doesn't satisfy my bundle dependencies for the mysql gem. The only thing that seems to work is mariadb-dev 2016-06-03 13:58:51 ncopa: ok, but maybe add a check if dbg exists and its not the first issue a warning. 2016-06-03 14:00:41 acerna: there have never been any libmysqlclient-dev package 2016-06-03 14:01:59 acerna: the bug/problem is that i full mariadb is pulled in together with mariadb-devb 2016-06-03 14:03:50 ncopa, agreed the workaround you proposed is not unreasonable by any means seems like it should work in the meantime, i'd be happy to create a bug report for this 2016-06-03 14:05:25 looking at it now... 2016-06-03 14:05:40 mariadb, main package contains pkg/mariadb/usr/lib/libmysqld.so.18 2016-06-03 14:12:38 ncopa, yeah that must be it until mariadb-dev is install the bundle fails with: /usr/lib/gcc/x86_64-alpine-linux-musl/5.3.0/../../../../x86_64-alpine-linux-musl/bin/ld: cannot find -lmysqlclient 2016-06-03 14:16:57 what, mariadb is 145MB 2016-06-03 14:21:12 acerna: i totally see your point 2016-06-03 14:21:23 here is how i will fix it 2016-06-03 14:21:52 i rename current mariadb-libs to mariadb-client-libs, then add another mariadb-libs 2016-06-03 14:22:00 which has the server libs 2016-06-03 14:22:33 that way we can still keep the mariadb-dev, which is automatically created 2016-06-03 14:22:49 awesome! 2016-06-03 14:22:50 but it will not pull in the full mariadb server package 2016-06-03 14:23:00 that will solve my problem nicely 2016-06-03 14:23:03 and you'll save 145MB 2016-06-03 14:23:28 always be shrinking! 2016-06-03 14:24:27 thanks so much for the help, this will be great for us 2016-06-03 14:24:46 i pushed to edge 2016-06-03 14:24:58 i think may be worth push to 3.4-stable too 2016-06-03 14:25:06 145MB is bad enough 2016-06-03 14:27:20 My solution to copy the APKINDEX from the mirror and the selected packages I wanted, put them into /media/mmcblk0p1/update/testing/armhf, apk update and then apk add worked ... But why was it requiring testing when I added /media/mmcblk0p1/update as the mirror? 2016-06-03 14:27:57 Does it read testing from the index file and then try to re-resolve the folder? 2016-06-03 14:32:16 https://www.irccloud.com/pastebin/vfhUVcaL/ 2016-06-03 14:32:56 ^ncopa: should I expec to see that package already? 2016-06-03 14:56:34 Hi all. What is latest in terms of getting emacs compiled? Is it easiest just to run from a chroot environment with glibc at the moment? 2016-06-03 14:57:45 ncopa: I see it now... giving it a shot 2016-06-03 16:09:04 hi, is there a way to say apk to install python-2.7.7 and also apply that to the dependencies it pulls? out of the box, it tries to pull the most current dependcies which of course won't work. 2016-06-03 16:19:16 alpine doesn't use systemd in any fashion, correct? well, by default I mean. 2016-06-03 16:19:26 no 2016-06-03 16:34:32 <_ikke_> correct 2016-06-03 18:45:12 hi all, having trouble with: http://lists.alpinelinux.org/alpine-user/0075.html. any help would be much appreciated. thanks! 2016-06-03 19:04:05 hi 2016-06-03 19:04:47 yo 2016-06-03 19:05:33 quick question, can sdcard be formatted fat32 on windows for alpine or only on linux? 2016-06-03 19:07:08 <_ikke_> windows will work 2016-06-03 19:07:16 <_ikke_> (fat32 is a windows file system) 2016-06-03 19:07:28 yea, was just wondering :) 2016-06-03 19:07:31 thanks 2016-06-03 19:29:05 Hi, i'm trying to create my first openrc service file, but it get's stuck at "starting punfed": https://punpun.xyz/serv.txt 2016-06-03 19:29:09 anyone knows what I'm doing wrong here? 2016-06-03 19:29:13 when commenting in the startstopdeamon line it does start but openrc repords it as "crashed" somehow 2016-06-03 19:29:16 even though it isn't 2016-06-03 19:32:05 ÛN#ÜN/wc 2016-06-03 19:41:55 hi, i installed dnsmasq and added it to rc-update but it is not showing up in rc-status AND dnsmasq service is "stopped" after reboot. 2016-06-03 21:15:23 hi all, having trouble with: http://lists.alpinelinux.org/alpine-user/0075.html. any help would be much appreciated. thanks! 2016-06-03 21:42:03 Question about "nslookup" in Alpine Linux, with respect to Docker. I was going through "Docker in Action", and a simple example to look up the current hostname resulted in a message saying "nslookup: can't resolve '(null)': Name does not resolve", even though it did do the lookup. I found that adding "localhost" as the second parameter resolves that. I 2016-06-03 21:42:03 was looking for some background on this. 2016-06-03 21:44:27 has anyone run into the nginx package in 3.4 not having a `/run/nginx` by default? it looks like the change was made when all of the nginx packages were rewritten 2016-06-03 21:44:49 including creating an nginx.initd, which I am guessing uses start-stop-daemon to handle the pidfile stuff 2016-06-03 21:45:00 rather, does a checkpath --directory --owner nginx:nginx ${pidfile%/*} in the init file 2016-06-03 21:47:23 it means anyone who doesn't use the openrc based init file won't have the right directory, and just running `nginx` doesn't work unless the directory is created. not the end of the world, but not friendly! 2016-06-04 05:10:04 This gdb stuff is quite a hard nut, can anybody tell why I get this? https://github.com/python-pillow/Pillow/issues/1935#issuecomment-223736747 2016-06-04 05:10:58 I already tried any of set sysroot | set solib-search-path and the like they recommend on google... 2016-06-04 14:25:50 mh... is there a reason why I can't use /script in irssi? irssi + irssi-perl installed 2016-06-04 15:03:04 Lemming: Have you tried '/load '? 2016-06-04 15:06:34 seems to do something different than /script load: 2016-06-04 15:06:51 17:04 -!- Irssi: Error loading module nickserv/core: Error loading shared library /usr/lib/irssi/modules/libnickserv_core.pl.so: Nosuch file or directory 2016-06-04 15:12:34 ah, found it. needed to load libperl_core.so manually :/ 2016-06-04 15:26:15 yup, echo '/LOAD perl' >>~/.irssi/startup 2016-06-04 18:43:36 hi all, I am trying to run alpine linux 3.4.0 as domU on xen 4.6.0 and I am getting this errors: `libxl: error: libxl_dom.c:37:libxl__domain_type: unable to get domain type for domid=35` `xl: unable to exec console client: No such file or directory` `libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus: console child [14207] exited with error status 1`. thanks! 2016-06-04 18:43:54 http://lists.alpinelinux.org/alpine-user/0075.html#start75 2016-06-04 20:27:21 hi, just tried to upgrade to 3.4 but got the error "no space left on device" during upgrading linux-firmware. my tmp has 100M, home 400M... guess tmp is the issue here...is there an option to upgrade with home mount point as temp dir? 2016-06-04 20:28:11 I never had this issue on upgrades in the past. 2016-06-05 16:06:17 I noticed we now have a virtualbox-addons-grsec package, which includes vboxvideo.ko but not vboxvideo.so meaning it is useless for xorg, is that corrrect? 2016-06-05 20:05:06 yo folks! 2016-06-05 20:05:53 I'm having an issue when running the docker cli inside of a docker container 2016-06-05 20:05:54 http://i.imgur.com/4izKoOR.png 2016-06-05 20:06:08 when I run 2016-06-05 20:06:14 `rc-service docker start` or `service docker start` 2016-06-05 20:06:27 it it says that `service` was not found 2016-06-05 20:08:28 does anyone have an idea on what's going on? 2016-06-05 20:12:45 see here: http://i.imgur.com/guSsGXy.png 2016-06-05 20:34:17 hi, if I want to run a service with custom flags, how should I do this 2016-06-05 20:34:26 the init.d file has this: command_args="$CADDY_OPTS" 2016-06-05 20:34:33 where do I specify CADDY_OPTS? 2016-06-05 23:25:42 Anybody here handy with u-boot? I've been struggling to get Alpine up and running on a system for a few days now, and I'm not sure where to go from here. -_- 2016-06-05 23:26:44 I can boot the device into Debian, but... that's not what I want. ;p 2016-06-05 23:30:17 Looking at the contents of the "Generic ARM" download on the alpine downloads page, that archive contains a DTB for this board at boot/dtbs/exynos5422-odroidxu4.dtb, so I'm reasonably confident it should work, and it's just an operator error. 2016-06-05 23:32:29 The real problem is that I have no video output from the device, so I'm working (partially) blind. 2016-06-05 23:47:54 Hello guys! This is Valdecir from São Paulo, Brazil. I would like to say thanks for the Alpine Linux project! 2016-06-05 23:48:04 I would like to contribute to the project translating the documentation to Brazilian Portuguese. 2016-06-05 23:48:14 I'm not sure if here is the right place to ask this kind of question. If any of you could please point me the right direction, I will be more than happy to help 2016-06-05 23:57:25 @Homelaber_ That's an awesome thing to offer! I'm not sure where to point you, though. I've looked over https://wiki.alpinelinux.org/wiki/Alpine_Linux:Contribute but nothing there suggests a process for coordinating things like this. 2016-06-05 23:58:17 The docs are pretty clear that it's welcome, though. 2016-06-06 00:09:53 @colstrom Thanks! Alpine is becoming very popular among Brazilians! 2016-06-06 00:11:16 I have a Blog about Homelabing and Virtualization written in Brazillian Portuguese and I'm about to post a review and how to about Alpine. Most of the content is already translated from the wiki to Portuguese. 2016-06-06 04:25:09 high again... where can i read about the different distributed flavors (vanilla/xen/virt/extended)? 2016-06-06 06:03:47 how to loop through text labels, i.e. for i in ( "a" "s" "d" ) ... 2016-06-06 06:09:56 Which shell? 2016-06-06 06:11:52 for item in foo bar baz; do echo $item; done is reasonable in most shells. 2016-06-06 07:52:51 OxFEEDBACC: if you're using a mouse, mouseover the flavours for some flavour-text 2016-06-06 07:56:15 k, ScrumpyJack... interesting "feature"... thank god i'm not a ratpoison user ;-) I still think a short wiki article would be helpful... anyway, thanks... 2016-06-06 08:10:36 OxFEEDBACC: yes, that's something we should do 2016-06-06 08:14:40 i would... but i don't think i know enough details (yet)... 2016-06-06 08:17:11 Query: Saw this in the upgrade notes: PHP packages have been renamed from php to php5. 2016-06-06 08:17:29 Is there anything that I need to do on my system with php on 3.3 before I upgrade to 3.4? 2016-06-06 08:50:14 OxFEEDBACC: git clone git://git.alpinelinux.uk/alpine-mksite 2016-06-06 08:50:55 there is a short README in there that should get you going 2016-06-06 08:55:53 "mksite" --> about making wiki pages? 2016-06-06 08:58:05 fatal: Unable to look up git.alpinelinux.uk (port 9418) (Name or service not known) 2016-06-06 09:33:47 OxFEEDBACC: sorry, it's git clone git://git.alpinelinux.org/alpine-mksite 2016-06-06 09:36:30 oh, wow... and in what way would that README help me? 2016-06-06 09:50:47 the website is in that repo. make changes to any file, then get the site build dependancies (the apk add at the top of that readme) 2016-06-06 09:50:57 go back to the root of the repo and run make 2016-06-06 09:51:16 the resulting site will be in the directory _out 2016-06-06 09:59:02 Query: Ran apk add ruby2.2 on Alpine Linux 3.4, how come running any sort of "gem " errors out with: -ash: gem: not found 2016-06-06 12:20:25 rubygems may not be part of the base ruby 2016-06-06 12:26:26 FYI: Hey community in the current build of alpine linux iwlist ist missing this makes setup-interfaces fail which makes it impossible to configure wifi access during installation. 2016-06-06 12:29:59 please fill an issue on bugs.alpinelinux.org, if it's not already there 2016-06-06 12:47:36 <^7heo> btw, re: -conf packets - I think it's a good idea, to provide packets with -bin -conf and -doc. 2016-06-06 12:47:53 <^7heo> s/packet/package/ 2016-06-06 12:48:02 <^7heo> we could also have as a virtual package that installs two, optionally 3 of them. 2016-06-06 12:48:09 <^7heo> based on the apk preferences. 2016-06-06 12:48:45 <^7heo> virtual packages would be useful in specifying dependencies to a service without forcing the implementation on the user. 2016-06-06 17:27:40 hey guys, I'm trying to run alpine on Raspberry Pi (the original one, rev. B), I got it up and running fine, connected via eth0 2016-06-06 17:28:13 however, I'm struggling with the fact that ssh'ing as root does not seem to work - I do get the ssh password prompt - all is good there (running openssh), however root is not allowed to login 2016-06-06 17:28:17 <^7heo> I have exactly that setup running @home. 2016-06-06 17:28:32 I did try PermitRootLogin yes in ssh_config 2016-06-06 17:28:34 <^7heo> if you read the sshd_config file you will get why. 2016-06-06 17:28:42 <^7heo> you need to commit the changes. 2016-06-06 17:29:03 <^7heo> the rPi isn't using the same read/write filesystem as a normal computer. 2016-06-06 17:30:23 ^7heo: will try, thank you. First time trying to run stuff on RPi - it's very likely I've missed something! 2016-06-06 17:37:46 <^7heo> yeah, lemme give you the link. 2016-06-06 17:38:50 <^7heo> K4rolis: http://wiki.alpinelinux.org/wiki/Raspberry_Pi#Persistent_storage 2016-06-06 17:39:14 <^7heo> wait, no, that's not the right link,. 2016-06-06 17:40:02 <^7heo> but still, the instruction is lbu_commit 2016-06-06 17:40:22 <^7heo> ah no, lbu commit 2016-06-06 17:40:32 <^7heo> http://wiki.alpinelinux.org/wiki/Raspberry_Pi#Installation 2016-06-06 17:40:34 <^7heo> see there. 2016-06-06 17:40:41 <^7heo> "Once the installation is complete, commit the changes by typing lbu commit" 2016-06-06 17:41:01 <^7heo> any change you make to the system has to be saved using 'lbu commit'. 2016-06-06 17:41:39 yup, that's done - I reckon I'm just mis-configuring openssh (which is also something I haven't done before) 2016-06-06 17:41:47 the only two lines I've got uncommented are Host * 2016-06-06 17:42:04 and PermitRootLogin yes 2016-06-06 17:42:23 no luck :/ 2016-06-06 17:43:06 <^7heo> K4rolis: are you sure there's only one 'PermitRootLogin' instruction in your sshd config? 2016-06-06 17:43:12 <^7heo> K4rolis: are you sure you restarted the sshd? 2016-06-06 17:47:06 let me double check, I did try both /etc/init.d/sshd restart and actual reboot of the device before; what I also just tried is indenting the PermitRootLogin yes, which was previously un-indented - no luck there either. Where could I find the log of openssh? /var/log/auth.log does not seem to exist which is something a quick google search brought up 2016-06-06 17:47:46 I was wondering if an initrd(or initramfs)/vmlinuz are available to just download and netboot - I saw https://wiki.alpinelinux.org/wiki/Talk:PXE_boot but the download page seems to be just the iso 2016-06-06 17:58:06 ^7heo: it was an embarrassing mistake.... edited /etc/ssh/ssh_config instead of /etc/ssh/sshd_config... :D 2016-06-06 17:58:15 thank you anyway! 2016-06-06 18:00:30 <^7heo> no worries :) 2016-06-06 18:00:35 <^7heo> and that's a common mistake, mind you. 2016-06-06 22:22:37 hi! 2016-06-06 23:18:04 seems 3.4 apache2 package has a bug in it. It no longer creates the apache group, however it still lists it in the default httpd.conf 2016-06-06 23:18:10 you won't see it if you upgraded 2016-06-06 23:43:46 also lists it as the default group for the apache user 2016-06-07 00:09:22 What is stopping me just adding a valid APK file to the cache folder of a memory install? I noticed the name of them is "PACKAGENAME-VER-REL.APKINDEXHASH.apk" ... So I look at another testing package like xterm-324-r0.ac571e6f.apk ... Why doesn't just dropping in x11vnc-0.9.13-r0.ac571e6f.apk work? 2016-06-07 00:10:17 skazz: why not just use the abuild tool? 2016-06-07 00:10:46 or just tell it to skip cache and throw the file in a local dir? 2016-06-07 00:10:55 and add that local dir to your repositories file? 2016-06-07 00:11:09 These are closed-loop live systems, I just wanted to add the package and lbu commit the apk add operation to make it a part of the install 2016-06-07 00:11:55 I can add a copy of the apkindex.tar.gz into a folder with the packages I want and add that as a repository, but that will break the package dependencies if I commit it 2016-06-07 00:12:09 although it might not if the folder is at the end of the list and not towards the start 2016-06-07 00:14:17 boingolov: You mean add it to the directory /media//apks//* ? There is a APKINDEX file I would have to update no? 2016-06-07 00:16:40 Guess I'll just use x11vnc on a temporary basis (apk adding from incomplete repository folder and not lbu commiting) until I've tested an entire new firmware version release to push out 2016-06-07 00:29:30 What else does the cache do? When I do apk add , other than installing the package, it adds it to /etc/apk/world and downloads a copy to the cache folder no? But why can't I just add it to the cache folder myself and then do apk add offline? 2016-06-07 00:30:20 Also if I do 'apk del ' it does not delete it from the cache unless I do somthing to purge it, and if I do not commit the change to /etc/apk/world at next reboot it will just install as normal 2016-06-07 00:32:49 Easiest solution cannot be 'download the APKINDEX.tar.gz + selected packages from the online mirror, copy those files to a folder on the device, add that folder to /etc/apk/repositories, apk update and then you can apk add the packages (But not commit them unless having it at the end of the repositories wont cause 'not found' errors next reboot) 2016-06-07 04:11:32 does alpine not support wtmp? 2016-06-07 04:36:17 Hello. I'm new and love the distro, but I'm having problems with X. 2016-06-07 04:36:41 could anyone help me figure this out? 2016-06-07 04:37:23 In sort, my keyboard and mouse aren't being detected by X. 2016-06-07 04:53:36 so. A reboot is necessary for X to work. That was the problem for me. 2016-06-07 07:31:32 bougyman: no, musl libc does not support wtmp/utmpx 2016-06-07 21:59:50 I am giving Alpine a try in the desktop. It is sort of working! I am following https://wiki.alpinelinux.org/wiki/XFCE_Setup 2016-06-07 22:00:53 except that apk add alpine-desktop says unsatisfiable constraints: so:libetpan.so.17 missing. Any idea why? 2016-06-07 22:09:38 There is also "required by: claws-mail-3.13.2-r1[so:libetpan.so.17]" . I suspect there is a dependency issue on edge. 2016-06-07 22:31:20 alpine:~$ sudo debootstrap --verbose --no-check-certificate --arch amd64 stable ./chroot http://ftp.fr.debian.org/debian 2016-06-07 22:31:46 dies on me while installing the 1st package 2016-06-07 22:32:17 I: Validating zlib1g 1:1.2.8.dfsg-2+b1 2016-06-07 22:32:17 I: Chosen extractor for .deb packages: dpkg-deb 2016-06-07 22:32:17 I: Extracting acl... 2016-06-07 22:32:27 then exits 2016-06-07 22:34:45 missing dependency: dpkg-deb (subprocess): unable to execute decompressing archive member (xz): No such file or directory 2016-06-07 22:34:59 apk add xz :P 2016-06-07 22:46:57 dpkg-1.18.7-r0 should require xz in order to allow debootstrap to operate properly 2016-06-07 22:51:37 How to generate the "mandoc.db" file ? 2016-06-07 23:01:53 OK found it: apk add mdocml-apropos 2016-06-07 23:02:00 That's totally not obvious 2016-06-07 23:30:38 Hmmm "addgroup lighttpd" seems to be required before lighttpd will start. 2016-06-07 23:30:45 That's totally not obvious 2016-06-07 23:37:41 Hey, if I'm running my server inside VirtualBox... how can I access from outside? Is anyone familiar with how their NAT works? 2016-06-07 23:43:56 Hello I'm currently running Alpine in a chroot but I often IO ERROR when I run apk update && apk upgrade 2016-06-07 23:46:11 I've edited my file to include the main and community repositories but I still get errors. I also have a problem when running setup-alpine, there's a // in the path for setup-keymap 2016-06-07 23:52:36 HazWard: did you get all the /proc /sys /dev and other stuff in the mounts all neat for your chroot? There's some fiddly bits to get it right. 2016-06-07 23:53:23 Yeah done all that 2016-06-07 23:54:06 That's why I went to VirtualBox, cos I could never get those bits 100% right 2016-06-07 23:54:36 I have a connection issue why my device. Everything's good now 2016-06-08 00:24:48 Hmmm, OK I have lighttpd working when I start manually with "rc-service lighttpd start" and I have the VirtualBox network operational so I can get web pages from outside the server, and I also used the "rc-update add lighttpd default" so it should start on reboot, also "rc-update -a" does show it in the list as a default service. 2016-06-08 00:25:35 However, when doing a reboot test, I still find the need to start it manually. Does not automatically start (nor apparantly is it even attempting to). 2016-06-08 00:27:31 Also "rc-status -a" will completely ignore the lighttpd service, as if it does not exist (neither listed as started nor stopped). 2016-06-08 00:30:09 Is there a missing step somewhere? Even with "rc-status -s" the lighttpd is missing from the list. 2016-06-08 01:18:13 Hmm, seems like having the clock wrong at boot causes OpenRC to mess up the file /run/openrc/deptree which in turn causes some services to vanish from the status and also never start. 2016-06-08 01:20:14 Seems like a handy feature... silent failure for random reasons relating to clock skew and not consistently repeatable. 2016-06-08 02:14:33 Hello I have pre-build packages for Archlinux (a tar.gz) and I'd like to know if it it possible to install it on Alpine? 2016-06-08 02:15:11 They are pretty obscure packages and I can't find the files used to build them 2016-06-08 08:17:14 I am trying to use singularity https://github.com/gmkurtzer/singularity on alpine 3.4 x86_64 and I am running into grsec issue 2016-06-08 08:18:07 Jun 8 07:20:50 alpine kern.alert kernel: [29028.432281] grsec: From 192.168.122.1: denied mount of proc as /mnt/proc from chroot by /mnt/bin/mount[mount:20498] uid/euid:0/0 gid/egid:0/0, parent /usr/sbin/debootstrap[debootstrap:16723] uid/euid:0/0 gid/egid:0/0 2016-06-08 08:22:01 grsec does not allow mounts inside chroot by default 2016-06-08 08:22:09 the knob in /proc/sys/kernel/grsecurity/chroot_deny_mount can change that 2016-06-08 08:28:25 ok, I will try 2016-06-08 08:32:58 I now get: [33290.217162] grsec: From 192.168.122.1: denied chmod +s of /mnt/bin/mount.dpkg-new by /mnt/usr/bin/dpkg[dpkg:28807] uid/euid:0/0 gid/egid:0/0, parent /usr/sbin/debootstrap[debootstrap:24546] uid/euid:0/0 gid/egid:0/0 2016-06-08 08:35:26 kernel.grsecurity.chroot_deny_chmod -> 0 ? 2016-06-08 08:36:18 yes 2016-06-08 08:40:14 thx 2016-06-08 09:40:24 hey how can you change shell on alpine? 2016-06-08 10:18:19 planet_en: chsh or edit /etc/passwd 2016-06-08 10:19:02 ScrumpyJack: chsh doesn't work on alpine 2016-06-08 10:31:41 works for me 2016-06-08 10:33:35 http://tpaste.us/3qwa 2016-06-08 10:44:03 using 3.4 with docker I have a problem with executing a script. It's in my path but it won't start: sh: "slimerjs: not found" It works when I install bash but that's not the same, right? 2016-06-08 10:49:46 ok, gotcha, #!/bin/bash 2016-06-08 12:30:08 fyi, www.alpinelinux.org is presenting certificate for alpinelinux.org (invalid). might be time for a wildcard cert? 2016-06-08 12:32:03 letsencrypt :) 2016-06-08 12:34:35 Hi all 2016-06-08 12:35:16 Anybody here have experience trying to get >1Gbps throughput from an HTTP server on Alpine? 2016-06-08 18:33:25 hey, is there anything else I must install apart from gcc to be able to compile simple "int main() { return 0; }" ? I get this: http://asmblr.net/scrot/2016-06-08-203336_1920x1080_scrot.png 2016-06-08 18:35:09 amade: maybe overkill but you could try -> apk add alpine-sdk 2016-06-08 18:37:09 tru_tru: thanks, probably libc-dev was the thing I needed, it was installed by this command 2016-06-08 18:50:01 I'm trying to use a node process manager (pm2) and adding that to the openRC startup system. I've generated a gentoo startup script in /etc/init.d, but rc-update nor rc-status can find it. What am I missing? 2016-06-09 06:40:10 Hello everyone. Does anyone knows how to install opengl lib in a docker container using alpine linux ? Thank you 2016-06-09 07:50:39 howdy all... does apk packaging differentiate between "essential" docs/share files and just "extraneous" ? 2016-06-09 15:54:56 hi guys, are there anyone using alpine linux 3.4 with nvidia gpu and proprietary drivers? 2016-06-09 16:04:47 There's just no good Unix elitism any more. =( 2016-06-09 16:05:17 That joie de vivre where people without a custom kernel and zealous optimization are mocked and ridiculed. 2016-06-09 17:17:18 suppose you could say it means the mainline kernel has come ways from the unix ones since you no longer have to compile it youraelf to get certain optimizationa 2016-06-09 17:33:28 run-time tuning was a ~2002-2004 feature depending on the unix flavour :) 2016-06-09 17:33:55 but i recently met a redhat support guy who also thought you'd need to reboot for adding devices.. 2016-06-09 17:34:27 maybe we can say the defaults are a lot saner now 2016-06-09 17:36:23 I still wish the "server" distros had ksplice built-in 2016-06-09 17:36:31 or something similar 2016-06-09 17:48:53 Diftraku, that's to me? 2016-06-09 18:03:26 just in general 2016-06-09 19:02:36 ahoi 2016-06-09 20:09:27 what's the command to determine current version of alpine from shell? 2016-06-09 20:12:35 found it: cat /etc/alpine-release 2016-06-10 00:19:32 is there an alternative to install 400MB of mariadb to get the mysql-client-dev headers? https://bugs.alpinelinux.org/issues/4768 2016-06-10 03:30:47 stonith: you could rework the packages and submit a patch / pull request 2016-06-10 03:35:00 I was able to use the Connector C source instead 2016-06-10 20:57:32 Hello I have 3 ethernet ports on my computer but I would like to use one of them as a WAN port and use the 2 others as LAN ports to share internet with other devices 2016-06-10 20:57:49 Should I bond or bridge the interfaces? 2016-06-10 22:31:51 hey is rsync://rsync.alpinelinux.org/alpine/ working ? 2016-06-10 22:31:57 Im following https://wiki.alpinelinux.org/wiki/How_to_setup_a_Alpine_Linux_mirror 2016-06-10 22:32:03 but the rsync command is timing out 2016-06-10 22:32:12 I'm trying to create a local mirror 2016-06-10 22:32:26 hazward: i'd say neither... use ip forwarding and nat... 2016-06-10 22:36:17 nat2610: is the initial sync timing out because it takes longer than 10 mins? 2016-06-10 22:36:36 I don't see any data syncing 2016-06-10 22:37:52 let me add some verbosity to confirm 2016-06-10 22:40:52 I only did a dry run, but I do get a file list from the server 2016-06-10 22:40:56 so it's there, at least 2016-06-10 22:41:13 hmm I don't get that far :/ 2016-06-10 22:41:30 I'm at receiving file list … 2016-06-10 22:41:35 and it's been in that state for 5mn 2016-06-10 22:42:08 switchy: was this using rsync.alpinelinux.org port 873 ? 2016-06-10 22:43:43 nat2610: yeah, I just did rsync -anuv rsync://rsync.alpinelinux.org /tmp 2016-06-10 22:43:49 starts spitting out a file list after a few secs 2016-06-10 22:46:34 switchy: I do see a bit of traffic (using tcpdump) at first then nothing 2016-06-10 22:46:39 the file list never comes back 2016-06-10 23:35:54 strange, i can start many urxvts in xorg, but when i start firefox, or libreoffice or conky (havent' tried anything else yet) it crashes my X 2016-06-10 23:40:55 nCn9Ow35Ffww: look in /var/log/Xorg.0.log ... 2016-06-10 23:41:35 nothing, only init messages, x starts correctly 2016-06-10 23:41:46 when it crashes, there's no log added. 2016-06-10 23:42:32 ~/.xsession-errors ? 2016-06-10 23:43:19 doesnt exist 2016-06-10 23:43:59 kewl... 2016-06-10 23:44:15 chromiums 2016-06-10 23:44:19 starts though 2016-06-10 23:44:43 oh, google shit :-/ good luck then... 2016-06-10 23:45:27 jah, i wanted firefox (wich is also googleshit btw). i find it strange though, that chromium does not crash x, while all others do 2016-06-10 23:46:22 since when is firesux google shit? 2016-06-10 23:52:12 most of their income comes from google. they are just a subsidiary of google, one canadian tentacle... 2016-06-10 23:52:35 anyway, strange,but it starts also firefox now 2016-06-10 23:53:15 maybe a shm problem... i never trusted that... 2016-06-10 23:53:20 libreoffice still crashes 2016-06-10 23:53:39 what's your ram constraints? 2016-06-10 23:53:43 dmesg 2016-06-10 23:55:51 when x crashes all i got is a blinking - in the top right corner in text mode, no vt changing works, totally unresponsive, only power button initiates shutdown sequence 2016-06-10 23:55:56 yeah, i've had it on my netbook (2G ram) sometimes (e. g. when running kdiff3 on a big ISO image) ... it started to swap out as it could, but not fast enough to prevent OOM to kick in... sometimes it just hit the X11 server... dang :-/ 2016-06-11 00:17:02 hmmm, if i disable xft in conky it doesnt crash my xorg 2016-06-11 00:19:30 hi I am building a lib with clang and got the error that is not available. So in cmake I added include_directories(/usr/lib/gcc/x86_64-alpine-linux-musl/5.3.0/include) 2016-06-11 00:19:56 now it is giving me another error -- /usr/lib/gcc/x86_64-alpine-linux-musl/5.3.0/include/mmintrin.h:48:72: error: unknown attribute '__artificial__' 2016-06-11 00:20:19 is there a way to get the clang version of xmmintrin.h ? 2016-06-11 00:25:57 i'd guess clang would just use what any gcc-related package provides... 2016-06-11 00:30:12 OxFEEDBACC: so adding gcc include directory explicitly for clang is fine? 2016-06-11 00:30:39 any ideas how to get rid of this '__artificial__' error? :) 2016-06-11 00:31:22 i'm not so into that... but what i've done in C, i could do with clang as i could do it with gcc... no explicit settings or imports have ever been necessary... 2016-06-11 00:33:34 From the gcc docs, "This attribute is useful for small inline wrappers that if possible should appear during debugging as a unit. Depending on the debug info format it either means marking the function as artificial or using the caller location for all instructions within the inlined body." 2016-06-11 00:33:45 mmintrin.h is only available under gcc include and usually non-system include dirs need to be specified with -I (which cmake's include_directories translates to) 2016-06-11 00:34:36 yes, if it's non-system, then you must explicitly request it... sorry... 2016-06-11 00:36:42 that quote is from http://stackoverflow.com/a/20111110 ... read more there... if i understand correctly, you can just drop it... for some performance sacrifice, maybe, but what... better running slower than not running at all ;-) 2016-06-11 00:36:47 gcc's xmmintrin.h header includes gcc's mmintrin.h header, which has __artificial__ attribute which seems unrecognized by clang. That's why I was thinking about using clang's intrinsic headers with clang compiler. 2016-06-11 00:37:30 this is not used in the user code, it is in gcc's include header 2016-06-11 00:38:13 you could try to override its definition with -D__artificial__ or so ... but don't ask me for details on how to do that with cmake... 2016-06-11 00:39:08 (if it's overridable at all, that is) 2016-06-11 00:39:22 or i could use clang's intrinsic instead and don't get bothered by adding multiple symbols to make the gcc header work 2016-06-11 00:39:49 yeah, if you can manage to do that, sure... 2016-06-11 01:01:11 the solution was -> 'apk add clang-dev' now i have /usr/lib/clang/3.8.0/include/xmmintrin.h 2016-06-11 01:01:24 thanks to the folks in #musl channel 2016-06-11 01:05:15 good to know... thanks to you for your efforts... (even though i think i'll never need it) 2016-06-11 01:09:53 pity that there's no "devs" meta-package like there's a "docs" one... 2016-06-11 02:02:24 how do i read out apk's extended headers on platforms that don't actually know them? 2016-06-11 02:05:33 i found https://www.gnu.org/software/tar/manual/html_node/PAX-keywords.html, but it appears to only tell how to create them, not how to read them... 2016-06-11 17:02:17 hi, do anyone try to compile alpine on bananapi router (bananapi r1)? 2016-06-11 22:36:22 ocaml lwt won't build w/ alpine 2016-06-11 22:39:39 http://sprunge.us/QedW 2016-06-12 00:20:55 I'm having a problem with the prosody package. I added it and when I try to start it I get errors in the logs that it can't find LuaSec. I've installed all 3 apks of lua-sec (5.1, 5.2, and 5.3, just to be sure), but I still get the same errors. Anyone else have errors with prosody and ssl/tls? 2016-06-12 00:24:03 I have prosody installed and running on a different machine/distro (although a slightly older version, 0.9.8), and I've never seen this problem. 2016-06-12 00:25:51 Anyone else having any problems with prosody? 2016-06-12 00:37:00 i don't find prosody in the 3.4 repos... is it something in the community repo that hasn't been ported yet? 2016-06-12 00:38:10 Not that I know of. I have the edge and 3.2 repos 2016-06-12 00:38:21 I don't have any community repos. 2016-06-12 00:38:42 ic... that's weird :-/ 2016-06-12 00:38:47 Sorry, I have the edge and 3.2 main and testing repos, to be more precise. 2016-06-12 00:39:09 and prosody is located in which? 2016-06-12 00:40:23 Hmm... I'm not familiar enough with apk to know how to get it to print which repo a found package comes from.. :( 2016-06-12 00:42:10 Is there a command/switch for that? 2016-06-12 00:42:12 well... same here... i just unpacked the APKINDEX.tar.gz archives and grepped the resulting APKINDEX files... 2016-06-12 00:42:24 Ah 2016-06-12 00:42:30 i bet there is... ;-) but don't ask me.... 2016-06-12 00:42:31 You didn't try apk search prosody? 2016-06-12 00:43:09 For me, apk search prosody shows results 2016-06-12 00:43:15 i don't even have a running alpine system/VM at the moment :-/ 2016-06-12 00:43:31 ah 2016-06-12 00:44:22 Here we go: http://pkgs.alpinelinux.org/packages?name=prosody&branch=&repo=&arch=&maintainer= 2016-06-12 00:44:44 It's in edge testing. 2016-06-12 00:45:12 ah, right... i could have done an online search, too :-/ 2016-06-12 00:45:30 yeah, and there you see: repository "testing" 2016-06-12 00:45:46 Yes, that's what I said, edge testing. ;) 2016-06-12 00:45:58 that might explain why things go wrong... maybe its dependency information is incomplete... 2016-06-12 00:46:34 Well, that may be true, but this particular dependency is actually installed. 2016-06-12 00:46:56 As I said, I have lua-sec (as well as other dependency packages, such as lua-socket), installed. 2016-06-12 00:47:22 no, you said "edge and 3.2 main and testing repos" ... that's a difference... 2016-06-12 00:47:57 I'm sorry, but which repos I have has nothing to do with what packages I have installed, only with where they come from. 2016-06-12 00:48:41 well, if the dependence info is not complete, you gotta try out... use ldd to check required libs, or ltrace/strace to see which files it tries to open that aren't there... 2016-06-12 00:49:41 yes, that's right... and i was wondering where they come from, since i don't find prosody in neither main nor community... 2016-06-12 00:50:36 I'm sorry, but you're way off track. Prosody isn't a compiled binary, nor a library. It's lua scripts *only*. 2016-06-12 00:50:48 It's not possible to ldd or readelf -d on that. 2016-06-12 00:50:51 still, a package in testing may have dependencies in main/community, as packages in community could have dependencies in main... i'd just find it strange if a package in main had a dependency in any other repo... 2016-06-12 00:52:43 sorry that i don't know prosody in details... well... then it might be helpful to look at the scripts and find which other scripts or lib it "require"s... and find out how to provide them... 2016-06-12 00:54:49 or just wait until one of the maintainers becomes aware of your problem and tries to apply a fix... 2016-06-12 00:55:18 which would be preferable, since it'd solve the same problem for all users... 2016-06-12 00:55:32 anyway, just my 5 pence... 2016-06-12 02:24:44 Hello. I'm having the hardest time getting the most basic things to work. 2016-06-12 02:25:06 can anyone help? 2016-06-12 02:26:10 rawf: Any details? 2016-06-12 02:27:22 well for one, I can not get text or icons to work correctly in firefox. 2016-06-12 02:28:03 I'm not using firefox, but what do you mean "work correctly"? 2016-06-12 02:28:23 none of the UI in firefox has any text, only webpages render text. 2016-06-12 02:29:10 also, if I use 'git diff' I see a bunch of escape codes instead of the correct +/- symbols. They're probably color escape codes. 2016-06-12 02:29:35 flux_control: do you use a different browser? 2016-06-12 02:30:11 For firefox, you might want to check the ui settings. I'm pretty sure there's an option for whether to show only icons, icons+text, or only text. 2016-06-12 02:30:32 rawf: Yes. Most of the time I use w3m. 2016-06-12 02:30:34 flux_control: for instance, all tabs are blank because no text shows up. 2016-06-12 02:30:41 yes, I like w3m aswell. 2016-06-12 02:31:09 Are you expecting them to have text on the tabs? Do other versions of firefox include text there? 2016-06-12 02:31:18 yes. 2016-06-12 02:31:29 error messages and confirmation messages are also all blank. 2016-06-12 02:31:41 Ah, that's a bit different then 2016-06-12 02:32:04 If there's no text in a dialog box and you just get a button to push with no message, that's definitely busted. :) 2016-06-12 02:32:32 I'm really torn, because I really like the lbu system. 2016-06-12 02:32:45 but so much seems to be broken. 2016-06-12 02:33:05 Unfortunately, I don't think I can help much with your firefox issues. Alpine isn't my main distro, and I don't use firefox normally even on my main distro. 2016-06-12 02:33:12 For git, I *might* be able to help. 2016-06-12 02:33:16 what is your main distro? 2016-06-12 02:33:20 What's your setting of PAGER? 2016-06-12 02:33:25 rawf: Source Mage 2016-06-12 02:33:57 less 2016-06-12 02:34:38 Try setting it to less -R (I have mine set to less -FRX). The -R enables interpretation of ("safe") escape codes. 2016-06-12 02:34:57 Don't forget to export it after setting it. 2016-06-12 02:35:32 in alpine, -R is an invalid option 2016-06-12 02:35:35 You can also change the setting in /etc/profile (or /etc/profile.d/* depending on where/how you set up your profiles) to affect all users system-wide. 2016-06-12 02:36:00 rawf: More accurately, in busybox. ;) You can apk add less for the non-busybox version. 2016-06-12 02:36:16 I'm pretty new to busybox 2016-06-12 02:36:49 If you have initramfs or initrd environments, those probably run busybox (but not guaranteed). 2016-06-12 02:37:10 thanks, just replacing less fixed the git problem. 2016-06-12 02:37:16 :) 2016-06-12 02:37:24 do you know about locales or the lack off? 2016-06-12 02:37:26 of* 2016-06-12 02:37:28 Sorry I can't help with the firefox problem. 2016-06-12 02:37:53 Yeah, alpine lacks them because it uses musl-libc, and musl-libc shuns locales in favor of just doing everything in utf-8. 2016-06-12 02:38:24 I haven't played with glibc on alpine, but possibly apk add glibc will give you regular locale support. 2016-06-12 02:38:44 One of the reasons I'm using alpine is to experiment with musl, actually, so I don't want to try adding glibc. ;) 2016-06-12 02:42:40 I really like the ram-mode / lbu's 2016-06-12 02:42:50 Ah, there is no glibc apk it seems. 2016-06-12 02:42:59 indeed. 2016-06-12 02:43:19 I'm downgrading to a different release, hoping that things are pieced together a bit better there. 2016-06-12 02:43:26 I'm not an alpine expert, so I don't know if maybe there's some other apk for adding glibc. If not, you'd have to build your own. 2016-06-12 02:44:16 I doubt alpine releases will affect locale support. Like I said, that's an issue with musl-libc itself, which is an entirely different C stdlib than glibc. 2016-06-12 02:44:37 not for locale matters 2016-06-12 02:44:52 ok 2016-06-12 02:44:53 just out of the box, using the setup scripts creates broken gui-land. 2016-06-12 02:45:42 I didn't use the setup scripts myself, as I'm used to doing all the setup myself anyway. ;) But I also didn't set up GUI on alpine, as I'm using it as a server box. 2016-06-12 02:46:10 normally I set everything up myself. 2016-06-12 02:46:22 but since I had so many broken things, I decided to test the auto-stuff. 2016-06-12 02:47:16 where I only got more broken things. 2016-06-12 02:49:40 I did make a nice ram-usbstick that is just for making a portable SSH client or SSH server that creates a tunnel to one of my servers for remote access. 2016-06-12 02:50:15 but the gui portion of alpine seems to be infested with bugs. 2016-06-12 02:59:04 well. firefox works in version 3.0, and $LANG is set correctly 2016-06-12 03:01:12 Interesting 2016-06-12 03:01:19 I wonder what happened 2016-06-12 03:01:33 What is your LANG set to there? 2016-06-12 03:01:50 en.utf-8 2016-06-12 03:02:03 I think. I already rebooted to try out a custom setup. 2016-06-12 03:06:40 although, now I'm wondering if my problems are mirror dependent. 2016-06-12 03:06:59 is nl.alpine the primary server? 2016-06-12 03:21:53 rawf: I believe nl.alpinelinux.org is the primary. 2016-06-12 03:22:11 I could be wrong though. 2016-06-12 03:31:43 well now I'm going to test if using the latest release with the primary mirror will provide bugfree results 2016-06-12 03:32:01 Cross your fingers? :) 2016-06-12 03:48:31 nope, same problems 2016-06-12 10:21:41 I just discovered Alpine, it's AWESOME!! Any of you running it as a main webserver ? also, which stack are you using ? 2016-06-12 10:30:53 trending: which stack? 2016-06-12 10:32:19 pickfire: I meant Apache, Lighttpd or maybe Nginx 2016-06-12 10:32:45 trending: I use nginx on alarm, maybe I might try out alpine 2016-06-12 10:33:14 pickfire: alarm ? 2016-06-12 10:33:23 trending: arch linux arm 2016-06-12 10:33:32 ah okay 2016-06-12 10:34:58 pickfire: I'm trying to run LAMP with Alpine to see if I can use it as a webserver for some projects, it's super lightweight, perfect for small 64mb or 128mb boxes 2016-06-12 10:35:14 Wow, even smaller than my current computer 2016-06-12 10:35:16 1GB 2016-06-12 14:41:03 Hi, I just got a new laptop, how do I add alpine to it? 2016-06-12 14:41:10 I currently only have rpi2 2016-06-12 15:39:49 hi everyone, new here, new to alpine 2016-06-12 15:53:35 Okay, finally setting up 2016-06-12 20:29:39 Hi there! 2016-06-12 20:52:21 Is there a way to use linux-libre in Alpine Linux? 2016-06-12 20:58:52 Pof: There's not package for it, yet. Build a libre kernel from source or preferably a package for it. 2016-06-13 08:21:01 hello 2016-06-13 08:23:31 i will use the remember password function in alpine, but dont get it. i use the empty .pine-passfile 2016-06-13 18:12:08 hey I was asking the same Q on Friday but didn't got the bottom of it… anyone is able to create an alpine pkg mirror 2016-06-13 18:12:47 <_ikke_> What do you mean? 2016-06-13 18:12:52 I'm following that doc https://wiki.alpinelinux.org/wiki/How_to_setup_a_Alpine_Linux_mirror 2016-06-13 18:13:04 but the rsync commands never start getting the fie list 2016-06-13 18:13:06 it just hangs 2016-06-13 18:49:33 nat2610: try adding -PHSv to the rsync command to be get more verbose output 2016-06-13 18:50:19 nat2610: works for me -> 147468 files to consider 2016-06-13 18:50:54 rsync.alpinelinux.org -> fr.alpinelinux.org -> 212.47.247.118, ymmv 2016-06-13 19:25:36 ey guys, I'm running a KVM VM directly from Alpine ISO, it has a USB image for apkovl and cache. apkovl works fine, but I doesn't load cache packages on boot :\ 2016-06-13 19:26:03 s/but I/but it/ 2016-06-13 19:26:50 Question, is lvm2 not included in the apt-cache as apart of the install image? Trying to setup manual LVM 2016-06-13 19:27:39 <_ikke_> alpine does not use apt-cache.. 2016-06-13 19:31:13 _ikke_: to add to that Alpine doesn't use apt, it uses the apk package manager 2016-06-13 19:31:54 is this setup fine? KVM with CDROM-> alpine.iso and USB vfat image for apkovl and cache? 2016-06-13 19:31:58 <_ikke_> I know :-) 2016-06-13 19:32:08 I could put the iso contents on the USB, but I feel more flexible this way 2016-06-13 19:32:45 _ikke_: i guess I should have mentioned donoban, was trying just piggy back off what you stated, not imply you didn't know that :P 2016-06-13 19:33:53 uhM 2016-06-13 19:35:39 there also another problem, after rebooting some times I noticed /media/usb/cache was empty 2016-06-13 19:37:20 then I tried apk upgrade having /media/usb mounted and I returned an error because it was read-only.. I remounted with write permissions and tried again 2016-06-13 19:37:35 now it has some packages there, but after booting them are not installed... 2016-06-13 19:37:52 or the scheme I'm using is wrong or there is some bug 2016-06-13 19:45:50 is https://wiki.alpinelinux.org the proper place to find up to date docs on alpine linux ? 2016-06-13 19:47:08 <_ikke_> yes 2016-06-13 19:54:07 can I set the debug level booting from an ISO? 2016-06-13 19:54:27 I made some progress with the rsync issue with creating an alpine linux mirror. If I run my rsync on Alpine linux it works 2016-06-13 19:54:32 but not if it's CentOs 2016-06-13 19:55:01 I can't figure out if it's on purpose and if so why 2016-06-13 20:00:14 _ikke_ sry the apk repo 2016-06-13 20:14:31 So I was following this... https://wiki.alpinelinux.org/wiki/Setting_up_Logical_Volumes_with_LVM and it appears that the LVM2 Package was apart of the installer at some point, am I wrong in that assumption? 2016-06-13 20:26:55 systWo: I believe it still is, 2016-06-13 20:27:09 check the 'setup-*' tools 2016-06-13 20:33:14 systWo: I don't have a alpine system in front of me 2016-06-13 20:33:18 there may be setup-lvm ? 2016-06-13 20:33:39 unfortunately I don't see it in /sbin 2016-06-13 20:33:53 I'll play around with a VM at home 2016-06-13 20:34:07 somehwere I have the steps I took to do it 2016-06-13 21:20:26 systWo: oh you know what' look at setup-disks & possibly setup-alpine 2016-06-13 21:20:46 I think setup-disks has an option where it will auto build partitions with lvm & then install 2016-06-13 22:34:32 I can't install either xfce or mate, it tells me that they're missing 2016-06-13 22:47:07 Hi! Is there a way to search the repositories for a package which contains a filename? 2016-06-13 22:49:14 amukherjee_ : https://pkgs.alpinelinux.org/contents 2016-06-13 22:49:26 oh i totally missed that tab at the top 2016-06-13 22:50:49 Thanks! 2016-06-13 22:51:45 i had problems finding it, too… you're welcome 2016-06-14 02:45:49 what kind of debugging is available for services? how can I see what a service spits out on stderr, for example? 2016-06-14 02:46:04 log files 2016-06-14 02:46:30 so I'd have to configure each individual service to log to a particular file? 2016-06-14 02:48:39 or the log file for services? 2016-06-14 03:25:13 konobi, what's that? 2016-06-14 03:32:14 switchy: https://wiki.gentoo.org/wiki/OpenRC 2016-06-14 04:07:22 without wanting to appear being elitist, but that doc is full of shit... 2016-06-14 04:09:01 wow... dug myself a grave :-D 2016-06-14 05:02:11 OxFEEDBACC, yeah, I find it a bit lacking 2016-06-14 05:34:58 OxFEEDBACC: I like the nick 2016-06-14 05:35:49 although now it is a bit odd, realizing that it is ox feedback. 2016-06-14 08:21:05 hi, could you confirm if this setup is right? VM booting from alpine iso on a CD-ROM, and a vfat USB device storing apkovl and cache 2016-06-14 09:07:33 lbu works fine but cache fails :\ 2016-06-14 09:26:41 since it doesn't install cache package, some services don't start at boot 2016-06-14 09:26:55 I have to apk update and upgrade, and then manually start them 2016-06-14 12:45:09 hi, where can i find sources for alpine generic kernel? (i want to compile the kernel for lamobo r1 board) 2016-06-14 12:48:18 t00thless: in our git 2016-06-14 12:48:30 depending on the kernel 2016-06-14 12:48:58 should be somewhere here http://git.alpinelinux.org/cgit/aports/tree/main 2016-06-14 17:48:41 I need latex, but iiuc it's only in the testing branch? https://pkgs.alpinelinux.org/packages?name=texlive&branch=&repo=&arch=&maintainer= 2016-06-14 17:48:51 How do I enable testing from a Dockerfile I wonder 2016-06-14 19:22:04 I think that I discovered the problem, if the usb is unmounted, /etc/apk/cache is not found, and apk cache xxxx says apk cache is not enabled 2016-06-14 19:22:41 since the usb is noauto on /etc/fstab, it is not mounted at boot and it boots like there is no cache 2016-06-14 19:23:12 I think that setup-apkcache should handle this... 2016-06-14 19:34:42 or maybe, if /etc/apk/cache points to /media/usb/cache , it should be mointed before use cache 2016-06-14 19:34:46 any idea? 2016-06-14 19:59:42 ncopa : Hi, how are you doing? I am the guy compiling the musl-gcc toolchain for s390x in order to bring alpine to s390x machines. I am having this problem, hope you can help me. The s390x port of musl just went out unoffically and I am using musl-cross script collection from GregorR to build. I have this problem at building gcc stage 1 (after binutils, haven't come to linux kernel, musl, gcc stage 2 yet). The error can be found in 2016-06-14 19:59:42 https://github.com/tmh1999/musl-cross/tree/master/log/s390x. You can check my modifications to GregorR's code in the last 2 commits of that repo. I know this has nothing to do with musl, but if you have any idea on this problem, I'd be gladful. Thank you. 2016-06-14 20:31:46 tmh1999: any plans on trying to getting musl-gcc to cross compile for other architectures as well? 2016-06-14 20:32:42 tmh1999: also not just common cross compile but like what I think aboriginal linux does & compile "natively" in a virtual machine 2016-06-14 20:33:45 tmh1999: would be really nice to make it easier to compile alpine to any (well a decent number) architectures for bootstrapping into that architecture 2016-06-15 03:35:15 systmkor : To be honest, I am not planing on doing on other architecture. I am sorry :( 2016-06-15 03:35:29 tmh1999: that's okay, figured I would ask :P 2016-06-15 03:35:49 damn, that was fat 2016-06-15 03:35:51 *fast 2016-06-15 03:35:52 lol 2016-06-15 03:39:23 tmh1999: could you at least document the process 2016-06-15 03:39:42 I've tried doing some cross compiling before but ran into verious bumps along the way 2016-06-15 03:39:55 and didn't really have the spare time to sink my teeth into why 2016-06-15 03:40:24 you can read the code of the repo I forked from : https://github.com/tmh1999/musl-cross. 2016-06-15 03:40:37 it's pretty simple I think 2016-06-15 03:44:25 tmh1999: that's pretty much the documentation that I was thinking of 2016-06-15 03:44:29 so it's already done 2016-06-15 03:44:30 noice 2016-06-15 03:44:54 tmh1999: props dude 2016-06-15 03:45:21 good luck :) 2016-06-15 03:45:37 tmh1999: so what's the architecutre you are shooting for? 2016-06-15 03:45:42 s390x it is 2016-06-15 03:46:25 putting alpine on a IBM mainframe machine? 2016-06-15 03:47:06 the idea is to have docker image of alpine on IBM (mainframe) system Z. so we need a toolchain first. 2016-06-15 03:47:18 slick 2016-06-15 03:49:14 SoldierOfFortran has been doing some pretty cool security research related to SystemZ 2016-06-15 03:51:10 yeah, good to know 2016-06-15 03:51:58 do you work on System Z commonly? 2016-06-15 03:52:56 commonly? 2016-06-15 03:53:27 I am just an intern for open mainframe project, working on this. 2016-06-15 03:53:34 as in on a day to day or weekly bases? 2016-06-15 03:53:53 *basis 2016-06-15 03:54:06 no, this is my first encounter with them. 2016-06-15 03:54:48 what's your impression so far 2016-06-15 03:55:22 I still haven't really figured out what the real differences are between a mainframe and just a distributed cluster of machines with a computation set that has batch processing 2016-06-15 03:56:07 a mainframe focus on delivering vast IO ops rather than computational ops I think 2016-06-15 03:56:30 unlike GPU 2016-06-15 03:57:38 m'kay 2016-06-15 03:58:52 I am just an amateur and learning on this, so... Have fun googling lol 2016-06-15 03:59:47 yah, definitely some pretty archane systems & archtectures 2016-06-15 07:00:47 it seems that my problem is different, on boot apkovl is being loaded from /media/sda1 instead /media/usb 2016-06-15 07:01:06 I hope it works poiting /etc/apk/cache to /media/sda1/cache 2016-06-15 07:02:54 yes! it works 2016-06-15 07:05:44 now I used the alpine-virt image, all working fine nice :) 2016-06-15 08:17:43 hi there 2016-06-15 08:18:17 just found out that busybox crond doesn´t provide the _at_ command 2016-06-15 08:19:04 anybody aware of another way or a pkg to to run commands once at a dedicated time 2016-06-15 09:41:27 mirac: i saw someone made an 'at' package 2016-06-15 10:18:07 ncopa: after setting setup-apkcache to usb, it doesn't work because alpine mounts the usb on /media/sda1 2016-06-15 10:18:17 should we consider this a bug? 2016-06-15 10:18:52 it's a KVM/libvirt VM 2016-06-15 10:21:01 donoban: yes 2016-06-15 10:21:03 i think its a bug 2016-06-15 10:21:06 /dev/usbdisk points to sda1 2016-06-15 10:21:33 as a workaround I changed /etc/apk/cache from /media/usb/cache to /media/sda1/cache 2016-06-15 10:21:43 yes 2016-06-15 10:21:46 but hum 2016-06-15 10:21:51 its a bug 2016-06-15 10:21:53 do you want I report to the bugtrack? 2016-06-15 10:21:57 would be nice 2016-06-15 10:21:58 also 2016-06-15 10:22:09 it shoudl work even if you boot from normal disk 2016-06-15 10:22:16 which is not on usb bus 2016-06-15 10:22:26 i think some of the code might be hardcoded to usb 2016-06-15 10:22:44 uhM, I think it search all drives for apkovl 2016-06-15 10:22:44 but we need to make it work with any device, mmc, sata, scsi, whatever 2016-06-15 10:22:45 also for cache? 2016-06-15 10:23:13 i think it only uses the cache stored in apkovl 2016-06-15 10:23:28 but it might be a bit tricky to solve this 2016-06-15 10:23:33 on the same device? 2016-06-15 10:23:50 or what points /etc/apk/cache inside the apkovl? 2016-06-15 10:24:11 it will use the /etc/apk/cache symlink from the apkovl 2016-06-15 10:24:13 i think 2016-06-15 10:25:00 i'm not surprised its broken 2016-06-15 10:25:00 I think it should be "easy" for fix if the apk-cache code just tries to mount the usb if /etc/apk/cache points to something like /media/usb 2016-06-15 10:25:24 but 2016-06-15 10:25:25 maybe check if there is an entry on /etc/fstab for that path 2016-06-15 10:25:31 hm 2016-06-15 10:25:32 yes 2016-06-15 10:25:55 currently we will find all devices that blkid recognizes 2016-06-15 10:26:05 and mount and look for .boot_repository 2016-06-15 10:26:07 and apkovl 2016-06-15 10:26:35 but the name blkid finds might be different from what is stored in fstab 2016-06-15 10:26:56 and the name used in fstab should win, if there are any 2016-06-15 10:27:02 hm 2016-06-15 10:27:42 I have two entries, one for cdrom and another for usbdisk 2016-06-15 10:27:58 i wonder if we should remove the usbdisk 2016-06-15 10:28:06 it was a hack 2016-06-15 10:28:14 and both with noauto,ro , I've tried to change usb to auto,rw but it breaks the apkovl load 2016-06-15 10:28:43 ok 2016-06-15 10:28:50 I'm not sure what it breaks but I had to restore it to noauto 2016-06-15 10:28:51 i think it would be nice if you post the details on bugs.a.o 2016-06-15 10:28:57 some testcases 2016-06-15 10:29:12 ok, I will do 2016-06-15 10:29:15 that i can easily reproduce 2016-06-15 10:29:35 it would be great if you have time to dig into the code and suggest a fix too 2016-06-15 10:29:55 hehe, I can dig something into the code 2016-06-15 10:30:05 but then I don't know how to build an initird/iso etc.. 2016-06-15 10:30:19 so It's pretty... 2016-06-15 10:30:20 hehe 2016-06-15 10:30:49 can I boot with debug enabled from ISOLINUX? 2016-06-15 10:31:13 without doing a custom iso 2016-06-15 10:34:38 donoban: depends. there was a bug in 3.3.x -> 3.4.0 release in syslinux 2016-06-15 10:34:50 which i fixed recently 2016-06-15 10:35:26 you can try the http://dev.alpinelinux.org/~ncopa/alpine/alpine-edge-160614-x86_64.iso 2016-06-15 10:36:02 but what I had to do to see messages at boot? 2016-06-15 10:36:19 s/had/have 2016-06-15 11:32:45 hi, i am having trouble compiling static linked psycopg2.. seems to miss some ssl libraries, can anyone help? 2016-06-15 11:32:49 here is log- http://pastebin.com/kKcc6WNm 2016-06-15 13:03:20 <_ikke_> One alpine server did not boot properly because during boot it mounted another usb disk as /dev/usbdisk, which does not contain the boot files 2016-06-15 13:03:26 <_ikke_> How can we prevent this in the future? 2016-06-15 13:03:56 uhm, it seems related with my cache problems 2016-06-15 13:04:27 <_ikke_> yeah, it did sound familiar to me 2016-06-15 13:05:38 in your case, the usb which has apkovl and cache is the same from you are booting right? 2016-06-15 13:05:49 <_ikke_> yes 2016-06-15 13:06:04 <_ikke_> The other usb disk is just for additional files 2016-06-15 13:06:46 so it should be forced to set /dev/usbdisk to it, however ncopa is also considering removing /dev/usbdisk 2016-06-15 13:06:58 <_ikke_> yeah, I read that 2016-06-15 13:18:39 _ikke_: do you know if alpine stills using nlplug-findfs.c ? 2016-06-15 13:18:53 I don't know the git scheme and I can't find it 2016-06-15 13:20:17 ah 2016-06-15 13:20:22 http://git.alpinelinux.org/cgit/mkinitfs/tree/ here is 2016-06-15 13:20:25 I will take a look later 2016-06-15 14:09:19 _ikke_: I think there is a solution for you 2016-06-15 14:10:43 http://git.alpinelinux.org/cgit/mkinitfs/tree/initramfs-init.in#n76 2016-06-15 14:11:26 edit your fstab and change /dev/usbdisk for your USB UUID 2016-06-15 14:13:24 <_ikke_> Right, so explicitly add /dev/usbdisk 2016-06-15 14:13:44 I don't find where /dev/usbdisk is created, have you idea? 2016-06-15 14:14:03 <_ikke_> Nope 2016-06-15 14:43:01 donoban: it is mdev that creates it 2016-06-15 14:43:22 _ikke_: if both disks are on usb bus, then which becomes /dev/usbdisk is by random 2016-06-15 14:43:36 basically, it is the disk that gets discovered 2016-06-15 14:44:33 i think also that same problem applies to which usb becomes sda or sdb 2016-06-15 14:46:01 the initramfs script is supposed to let fstab win 2016-06-15 14:46:15 ncopa: I see two ways for fixing the problem with apk cache. 1, ensure that the usb is mounted on /media/usb instead /media/sda1 (mkinit / initramfs / ¿mdev?) and 2, edit apk so it tries to mount it on /media/usb if it detects it's a path likely to be umounted 2016-06-15 14:46:27 so in theory, you can add an UUID=xyz-xyz entry in fstab 2016-06-15 14:47:15 _ikke_: you can also use LABEL=somelabel in fstab 2016-06-15 14:47:34 <_ikke_> For /dev/usbdisk ? 2016-06-15 14:47:54 eg change "/dev/usbdisk /media/usb" in fstab to something like: "UUID=... /media/usb ..." 2016-06-15 14:48:04 replace the /dev/usbdisk with UUID=... 2016-06-15 14:48:08 should work 2016-06-15 14:48:28 donoban: other option is 2016-06-15 14:48:56 ncopa: I'm looking here http://git.alpinelinux.org/cgit/apk-tools/tree/src/database.c#n1588 2016-06-15 14:49:09 is this supposed to mount the cache device? 2016-06-15 14:49:10 have a magic file in cache, and if it is found try fix the /etc/apk/cache symlink 2016-06-15 14:49:40 donoban: i think apk is ok 2016-06-15 14:49:58 apk will just use whatever /etc/apk/cache symlink points to 2016-06-15 14:50:22 so i think it is enough that the initramfs script mounts things where it is supposed to 2016-06-15 14:50:30 other option is that we find the bootdevice 2016-06-15 14:50:50 and have a special mount point for that 2016-06-15 14:50:59 IIRC, device where apkovl is stored, is mounted and unmounted on each lbu_commit 2016-06-15 14:51:01 right? 2016-06-15 14:51:18 eg when we find the boot device we always mount it on /media/bootdev or similar 2016-06-15 14:51:19 yes 2016-06-15 14:51:31 lbu will mount/umount as needed 2016-06-15 14:51:34 well, it doesn't help on my case. I'm booting from a CDROM and I have the apkovl and cache on USB 2016-06-15 14:51:36 that we might need fix too 2016-06-15 14:51:44 ok 2016-06-15 14:51:46 right 2016-06-15 14:51:56 I thought cache works the same way, mounted and umounted when needed 2016-06-15 14:52:09 i think it does not 2016-06-15 14:52:25 i think it only remounts as rw 2016-06-15 14:52:30 since we mount it ro by default 2016-06-15 14:52:58 maybe this would be more simple if setup-apkcache scripts and similar 2016-06-15 14:53:06 don't ask for USB, and use directly UUIDS and labels 2016-06-15 14:53:12 yes 2016-06-15 14:53:27 same with lbu 2016-06-15 14:53:41 lbu config is hardcoded to be under /media 2016-06-15 14:53:47 and it needs to be configured in fstab 2016-06-15 14:54:17 what has harcoded? the path for apkovl? 2016-06-15 14:54:33 the path and the device? 2016-06-15 14:54:45 path prefix for mount 2016-06-15 14:54:54 its hardcoded to /media/... 2016-06-15 14:55:27 it might be an idea to use label 2016-06-15 14:55:35 LABEL or fallback to UUID 2016-06-15 14:55:42 and 2016-06-15 14:55:59 when configured, make it appear in fstab 2016-06-15 14:56:09 well, at least (thanks to the mkfinds and nlplug-finds) apkvol is not failing 2016-06-15 14:56:30 maybe would be better start migrating setup-apkcache to UUID/labels 2016-06-15 14:56:46 the problem is how to keep backwards compat 2016-06-15 14:57:03 uhM 2016-06-15 14:57:27 so that things work when people upgrade 2016-06-15 14:57:28 using some apkovl and cache with and older alpine iso? 2016-06-15 14:57:36 ah 2016-06-15 14:57:48 like, in your case with cdrom, can only replace the cdrom 2016-06-15 14:58:03 but 2016-06-15 14:58:35 when replacing cdrom, (eg upgrade) the /etc/apk/repositories will point to old repo 2016-06-15 14:58:38 I think it could be done just adding the UUID/label freature 2016-06-15 14:58:47 without breaking current system 2016-06-15 14:58:52 yes 2016-06-15 14:58:54 one more factor 2016-06-15 14:59:04 in case a user has some opinion about where to put it 2016-06-15 14:59:20 then the user should be able to set that in fstab or similar 2016-06-15 14:59:38 things like relatime? 2016-06-15 14:59:52 if user for example wants to store it in /media/i-want-my-cache-here/cache 2016-06-15 15:00:11 and add /media/i-want-my-cache-here to fstab 2016-06-15 15:00:13 it should work 2016-06-15 15:00:19 so things in fstab should win 2016-06-15 15:01:03 also, what do call the mountpoint for label/uuid? 2016-06-15 15:01:15 currently i think we create /media/UUID=..../ 2016-06-15 15:01:31 we could use /media/$label 2016-06-15 15:01:34 if label was found 2016-06-15 15:01:47 the label is something related to the filesystem? 2016-06-15 15:01:51 yes 2016-06-15 15:02:00 you set label of filesystem 2016-06-15 15:02:19 ok ok, label always would be more readable so if possible /media/$label 2016-06-15 15:02:27 for example: mkfs.vfat -n alpineboot /dev/sdX1 2016-06-15 15:02:38 if don't /media/$UUID , I think most distributions do this way 2016-06-15 15:02:43 then when that usb is inserted in windows or osx, it will show up as alpineboot 2016-06-15 15:02:53 yes, mine is Alpine hehe 2016-06-15 15:03:32 uhM 2016-06-15 15:03:58 but now setup-apkcache doesn't asks for a device, it asks for a path 2016-06-15 15:04:06 yes 2016-06-15 15:04:20 because you can actually set up cache even on traditional harddisk install 2016-06-15 15:04:44 then will it cache downloaded packages in that dir 2016-06-15 15:04:53 so if you apk del && apk add again 2016-06-15 15:05:00 it will pick it from cache instead from network 2016-06-15 15:05:15 if I had it on /media/alpine/cache , alpine device is unmounted, and I run apk add xxxx, will be automounted? 2016-06-15 15:05:27 no 2016-06-15 15:05:35 well, it will be mounted most of the time 2016-06-15 15:05:53 cache will be disable if /etc/apk/cache symlink points to non-existing directory 2016-06-15 15:06:48 re magick cache dir 2016-06-15 15:07:09 we could for example create an empty file called .apk_cache 2016-06-15 15:07:11 or similar 2016-06-15 15:07:14 in the cachedir 2016-06-15 15:07:20 then, during boot 2016-06-15 15:07:34 we look for that, similar the way we look for .boot_repository and apkovl 2016-06-15 15:07:48 and if found, we can adjust the /etc/apk/cache symlink 2016-06-15 15:08:03 uhM, nice way too 2016-06-15 15:08:08 to point to the found cache 2016-06-15 15:08:23 re upgrades 2016-06-15 15:08:38 you gave me an idea, while talking about this 2016-06-15 15:09:01 what if we in apkovl store the alpine version (we kind of already do in /etc/apk/repositories) 2016-06-15 15:09:30 then during boot, we compare the booted alpine version with the one in apkovl 2016-06-15 15:09:37 so we can detect upgrades 2016-06-15 15:10:05 and if we upgrade, then we could trigger some upgrade code during boot 2016-06-15 15:10:07 like 2016-06-15 15:10:25 uhM 2016-06-15 15:10:27 edit the /etc/apk/repositories 2016-06-15 15:10:32 /etc/fstab 2016-06-15 15:10:35 to point to new version 2016-06-15 15:10:47 then after network started, we call apk upgrade 2016-06-15 15:10:53 then we start the rest of the system 2016-06-15 15:11:06 hehe sounds beatiful 2016-06-15 15:11:27 that way we would discard the old versions in the cache 2016-06-15 15:11:33 and fetch new version from network 2016-06-15 15:11:39 before the daemons are started 2016-06-15 15:12:06 but we dont do lbu commit 2016-06-15 15:12:19 so you can easily revert to old in case things breaks 2016-06-15 15:12:23 could do a apkovl backup also 2016-06-15 15:12:29 re-insert the old iso 2016-06-15 15:12:38 and reboot, without doing lbu commit 2016-06-15 15:12:43 for the user does lbu_commit and notice and error later 2016-06-15 15:13:15 yes, user will be able to lbu diff to get an overview what was modified 2016-06-15 15:13:20 before he lbu commit 2016-06-15 15:16:21 so it should be done at initramfs-init.in? 2016-06-15 15:16:40 looking for .apkovl dirs/devices 2016-06-15 15:19:12 yes 2016-06-15 15:19:16 i think so 2016-06-15 15:19:30 another idea 2016-06-15 15:19:52 we could let nlplug-findfs add the devices by label/uuid to fstab 2016-06-15 15:20:43 and then merge them to the system fstab 2016-06-15 15:22:02 remove /media/sdaX and /media/usb and change all them for /media/label-uuid? 2016-06-15 15:22:29 yes, something like that 2016-06-15 15:23:15 but i dont know if we want modify the system fstab 2016-06-15 15:23:21 unless doing while upgrade 2016-06-15 15:24:12 at least we can add the the /media/label-uuid on new installs, when there are no apkovl 2016-06-15 15:26:14 maybe it could be done apart from init scripts 2016-06-15 15:26:26 so you can add or remove devices and refresh your fstab 2016-06-15 15:29:02 and init scripts call it on boot 2016-06-15 16:05:11 is there some way to avoid upgrading when doing an apk add? 2016-06-15 16:05:24 for example I just want to install python, not also upgrade nodejs 2016-06-15 16:05:50 hi, i am wonder if anybody can help me.. I'm trying to compile kernel from alpine github accoung, but when i try to run command ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- sunxi_defconfig, then I get error bash: sunxi_defconfig command not found.. so how I can cross compile alpine kernel? 2016-06-15 16:14:15 or optionally specify that I don't want to upgrade a package 2016-06-15 16:25:22 Klowner: i think apk add python should just install python, and not upgrade node 2016-06-15 16:26:05 you can also make nodejs version "stick" with apk add 'nodejs=x.y.z-r0' 2016-06-15 16:26:32 unrelated, 2016-06-15 16:26:49 I created a wiki page on how to create UEFI boot usb 2016-06-15 16:26:55 https://wiki.alpinelinux.org/wiki/Create_UEFI_boot_USB 2016-06-15 16:27:08 it would be nice if someone with english skills had a review 2016-06-15 16:28:03 ncopa: could It use secure boot? 2016-06-15 16:28:27 not sure, i doubt 2016-06-15 16:29:34 dont we need to sign it with microsoft key? 2016-06-15 16:29:47 ok, uhM 2016-06-15 16:29:48 ncopa: thanks, that seems to work by adding 'nodejs=ver' 2016-06-15 16:30:17 I don't know too much about secure boot, I though you can change your bios keys and sign your own 2016-06-15 16:30:31 i think that depends on the bios 2016-06-15 16:30:46 not all hw producers let you edit the keys afaik 2016-06-15 16:30:54 ok ok 2016-06-15 16:31:01 but i dont know 2016-06-15 16:31:09 i havent really investigated 2016-06-15 16:31:37 afaik, the entire idea with "secure boot" was vendor lockin 2016-06-15 16:33:00 so that MS could make deals like: "if you only add our keys to your HW, then you get discount..." 2016-06-15 16:33:32 I see... 2016-06-15 18:27:10 hi guys, anyone of you running alpine as a domU on xen? preferably Debian (jessie) dom0? 2016-06-15 18:27:28 the kernel refuses to boot for me... 2016-06-15 18:40:39 kernel in alpine 3.3 seems to work but not 3.4... hmm 2016-06-15 18:42:42 could you paste some log radhus? 2016-06-15 18:43:47 coming up. 2016-06-15 18:46:00 donoban: https://gist.github.com/radhus/f0be4b00e08b09da5a0084035f630867 :) 2016-06-15 18:50:19 I have no idea :\ 2016-06-15 18:51:09 I booted alpine on Xen/Qubes some time ago, it had some problems but it worked 2016-06-15 18:51:45 I'm gonna try with 3.4 virt 2016-06-15 18:52:00 nice, would be interesting to see your results :) 2016-06-15 18:53:25 1 moment 2016-06-15 18:58:10 starting.. 2016-06-15 18:58:14 it boots 2016-06-15 18:58:43 ok, are you running qubes? 2016-06-15 18:58:48 yes 2016-06-15 18:59:15 whats your xen version there? xl info|grep xen_version 2016-06-15 18:59:44 4.6.0 2016-06-15 18:59:57 alright, debian jessie has 4.4.1. 2016-06-15 18:59:59 do you have to specify a kernel and ramdisk 2016-06-15 19:00:03 on domu.cfg? 2016-06-15 19:00:25 could you try to boot without it? 2016-06-15 19:00:30 hm, I could perhaps use PV-grub if the ISO has a grub config 2016-06-15 19:00:45 but I dont want to run hvm with booting through an emulated bios and such 2016-06-15 19:00:53 ah 2016-06-15 19:00:55 I'm running an HVM 2016-06-15 19:01:34 aha 2016-06-15 19:01:58 I don't know if vmlinuz-virtgrsec is pvop compatible 2016-06-15 19:02:22 I discovered alpine-virt yesterday 2016-06-15 19:02:25 ah yeah I havn't really checked that 2016-06-15 19:02:49 maybe you can boot other distro kernel 2016-06-15 19:02:51 hehe seems like this is my issue: http://forum.alpinelinux.org/forum/installation/alpine-virt-340-installation-domu-fails-xen-46 2016-06-15 19:03:07 yeah I run a lot of debian domUs which works 2016-06-15 19:04:00 uhM, and the same you are doing for 3.4, works with 3.3? 2016-06-15 19:04:14 yeah, although that was on another machine i'm not on right now 2016-06-15 19:04:18 but should be easy to test 2016-06-15 19:04:39 :) 2016-06-15 19:06:17 Kernel 4.1.20-0-grsec on an x86_64 (/dev/hvc0) 2016-06-15 19:06:20 booting :) 2016-06-15 19:06:57 alpine 3.4? 2016-06-15 19:07:05 Hello, I'm missing the samba-dc package in the 3.4 branch. Was it renamed or desupported? 2016-06-15 19:07:16 donoban: thats alpine 3.3 thats working 2016-06-15 19:08:01 uhM 2016-06-15 19:08:16 could you try normal alpine 3.4 version instead virt version? 2016-06-15 19:08:32 sure 2016-06-15 19:09:38 same issue unfortunately 2016-06-15 19:09:49 :( 2016-06-15 19:10:37 oh, just got it booting with pvh=1 2016-06-15 19:10:53 wonder how stable that is considering pvh support entered xen in the version my dom0's at 2016-06-15 19:11:10 hehe, give it a try 2016-06-15 19:13:35 ah, radhus is not an HVM VM 2016-06-15 19:13:53 oh no yes it is 2016-06-15 19:13:55 sorry hehe 2016-06-15 19:14:01 :D 2016-06-15 19:15:12 well seems like pvh works and I might be able to live with that :) 2016-06-15 19:18:13 is there a way to add already installed packages to a virtual package? 2016-06-15 19:50:42 I'm getting a cert error on https://www.alpinelinux.org 2016-06-15 20:00:06 interesting 2016-06-15 20:00:57 <_ikke_> SAN is missing 2016-06-15 20:01:04 <_ikke_> www.alpinelinux.org 2016-06-15 20:01:09 <_ikke_> only alpinelinnux.org 2016-06-15 20:01:40 i wonder if we can do 301 redirect before certificate is checked? 2016-06-15 20:01:59 <_ikke_> No, not on SSL 2016-06-15 20:01:59 redirect it to alpinelinux.org (without www) 2016-06-15 20:02:11 makes sense 2016-06-15 20:02:12 <_ikke_> SSL connection is established before an http request is done 2016-06-15 20:02:35 <_ikke_> That's why SNI was needed 2016-06-15 20:02:43 being able to do redirect before cert check would be stupid :) 2016-06-15 20:02:47 <_ikke_> yup 2016-06-15 20:03:01 so sorry for a stupid question :) 2016-06-15 20:04:47 clandmeter: i suppose its a job for you to add www.alpinelinux.org to the cert? 2016-06-15 20:06:56 ey ncopa, I had another idea. Instead using an empty .apkcache file, it could have the path of the cache dir relative to the device 2016-06-15 20:08:48 if you have a device for var, and there you have apk/cache , your .apkcache would have /apk/cache , when the init scripts find the .apkcache on the root of the device, they will look on fstab where should it mounted (/var e.g.) and then set /etc/apk/cache to $mountpoint/$apkcache 2016-06-15 20:09:16 so the init scripts doesnt need to look on subdirs searching .apkcache files 2016-06-15 20:10:07 the .apkcache will be consisten wherever the device is mounted 2016-06-15 20:13:44 i was thinking to resolve that in initramfs init 2016-06-15 20:14:30 donoban: i think first step would be to try fix the bug at hand with minimal redesign 2016-06-15 20:14:48 second step will be to think how to fix it properly 2016-06-15 20:14:50 yes hehe 2016-06-15 20:15:09 would be nice to have it fixed for v3.4.1 2016-06-15 20:16:17 what do you think is the best way for first step? 2016-06-15 20:21:45 is there a way to add already installed packages to a virtual package? Or maybe a better solution to this: http://pastebin.com/raw/Yuq4F3e0 2016-06-15 20:38:36 ncopa: should be fixed now. 2016-06-15 20:46:50 that was quick 2016-06-15 20:46:51 thanks! 2016-06-15 20:51:34 ncopa: for minimal redesing maybe could do something for avoid /dev/sda1 being mounted on /media/sda1 if /dev/usbstick points to /dev/sda1 2016-06-15 20:53:10 s/usbstick/usbdisk 2016-06-15 21:14:41 I cant find where /media/sda1 dir is created and mounted 2016-06-15 21:16:51 I got it 2016-06-15 21:18:03 http://git.alpinelinux.org/cgit/mkinitfs/tree/nlplug-findfs.c#n580 2016-06-15 21:19:01 ncopa: a simple check if devname equals to /dev/usbdisk there would probably fix my problem 2016-06-15 21:19:20 even better 2016-06-15 21:19:31 a check if the device is on fstab 2016-06-15 21:19:43 ahh, is this the "/media" you said was hardcoded? 2016-06-16 07:18:43 hi to all! Guys, can I build and run BOINC client on the Alpine? 2016-06-16 07:19:33 it's coded on C? 2016-06-16 07:20:09 I think C/python. not sure 2016-06-16 07:21:55 https://github.com/BOINC/boinc 2016-06-16 07:22:03 c++ 2016-06-16 07:23:30 they only share windows binaries? 2016-06-16 07:25:11 no, for Linux exists also https://boinc.berkeley.edu/download.php. Do you think it will working well? 2016-06-16 07:25:38 well, you should try to build it with musl 2016-06-16 07:26:51 lol, I only see windows binarys for download. 2016-06-16 07:27:17 but it doesn't matters, if there were linux binaries them wouldn't work on alpine 2016-06-16 07:27:41 Download BOINC 2016-06-16 07:27:41 for Linux x64 (3.25 MB) 2016-06-16 07:27:41 BOINC 7.2.42 2016-06-16 07:27:59 https://boinc.berkeley.edu/dl/boinc_7.2.42_x86_64-pc-linux-gnu.sh 2016-06-16 07:28:06 ok 2016-06-16 07:28:16 maybe it detects something of my browser and thinks I'm using windows 2016-06-16 07:28:46 you have to download the code and try to build it using muslc 2016-06-16 07:28:59 ok, I see 2016-06-16 07:29:05 if all works ok you can consider doing an apport script 2016-06-16 07:30:33 an APKBUILD https://wiki.alpinelinux.org/wiki/APKBUILD_Reference 2016-06-16 07:31:26 thanks 2016-06-16 08:18:09 ncopa: I think this would be the best. First force mdev (or whatever creates /dev/usbdisk symlink) to use the boot device to be /dev/usbdisk, regardless it's sda,sdb,etc..., then force nlpug_findfs to mount /dev/usbdisk on /media/usb 2016-06-16 08:18:25 this will fix both problems, mine and _ikke_ 2016-06-16 08:18:40 and be minimal redesing and compatible with all versions 2016-06-16 09:31:36 donoban: that was not a bad idea 2016-06-16 09:32:16 the problem is waht to do with /dev/usbdisk when you are booting from a CDROM and you have some usb devices 2016-06-16 09:32:51 i think we can letting boot device get preference 2016-06-16 09:33:11 that is, if usb is boot device, then force set usbdisk symlink 2016-06-16 09:33:28 currently it will only create /dev/usbdisk symlink unless it is already created 2016-06-16 09:33:37 where is it done? 2016-06-16 09:33:44 some mdev script 2016-06-16 09:33:47 i have mkinitfs repository 2016-06-16 09:34:08 it is a bit hackish 2016-06-16 09:34:09 and 2016-06-16 09:34:27 at the time it is executed, we dont know yet which is the boot repo 2016-06-16 09:34:28 h 2016-06-16 09:34:29 hm 2016-06-16 09:34:40 nlplug-findfs will trigger uevents 2016-06-16 09:34:51 which will make mdev execute 2016-06-16 09:35:08 which will trigger the symlink creation script 2016-06-16 09:35:29 if we move the symlink creation to nlplug-findfs? 2016-06-16 09:35:44 this happens while nlplug-findfs is looking for the .boot_repository and apkovl 2016-06-16 09:35:45 no 2016-06-16 09:35:59 i dont want nlplug-findfs be aware of that symlink 2016-06-16 09:36:39 http://git.alpinelinux.org/cgit/aports/tree/main/busybox-initscripts/usbdisk_link 2016-06-16 09:36:54 and how could it force /dev/usbdisk to be mounted on /media/usb if it's /dev/sda1? 2016-06-16 09:37:04 http://git.alpinelinux.org/cgit/aports/tree/main/busybox-initscripts/mdev.conf#n39 2016-06-16 09:37:49 nlplug-findfs will mount /dev/sda1 2016-06-16 09:38:11 we do a mount --move later if needed 2016-06-16 09:38:22 that is, if the mounted device is found in fstab 2016-06-16 09:39:13 uhM 2016-06-16 09:39:28 it will be mounted as /dev/sda1 and fstab will contain /dev/usbdisk 2016-06-16 09:40:02 so what we coudl do is that we in initramfs init look for /dev/usbdisk, check if it points to the boot dev, and if not, check if boot dev is on usb bus 2016-06-16 09:40:23 if boot dev is on usb bus, then update the /dev/usbdisk symlink 2016-06-16 09:40:37 but i still find it hackish 2016-06-16 09:41:00 the less hackish would be doing the link right on creation 2016-06-16 09:41:10 its not possible 2016-06-16 09:41:29 because we dont know what is on the device when its created 2016-06-16 09:41:47 and can't be created on another place? 2016-06-16 09:42:06 i suppose it could 2016-06-16 09:42:07 but 2016-06-16 09:42:10 hum 2016-06-16 09:42:23 the idea was that it was the firsst found usb disk 2016-06-16 09:42:24 so 2016-06-16 09:42:28 you could boot from a sata disk 2016-06-16 09:42:35 when you plug in your usbstick 2016-06-16 09:42:41 it would show up as /dev/usbdisk 2016-06-16 09:43:00 and you would be able to mount /media/usb 2016-06-16 09:43:01 and that is handled by mdev? (I have no idea about mdev :\) 2016-06-16 09:43:12 yes, mdev handles it 2016-06-16 09:43:20 mdev is the hotplug handler 2016-06-16 09:43:26 when kernel gets hotplug event 2016-06-16 09:43:33 "new device sda1" 2016-06-16 09:43:38 ok I will read something about it and think more on this 2016-06-16 09:43:39 it will execute mdev 2016-06-16 09:43:56 mdev will see that the DEV matches the config line in mdev.conf 2016-06-16 09:44:16 which says that it should set permissions to root:disk 0660 2016-06-16 09:44:27 and execute external script /lib/mdev/usbdisk_link 2016-06-16 09:44:32 ok I see 2016-06-16 09:45:10 we should try get rid of /dev/usbdisk 2016-06-16 09:46:54 hehe yes 2016-06-16 09:48:46 I think /dev/usbdisk problems are also similar to /media/usb 2016-06-16 09:49:09 is nice for /media/cdrom or /media/floppy because is really strange to have more than 1 device 2016-06-16 09:54:57 ncopa: anyway I was thinking on fix this minor problems with minimal redesign, a better solution would be /media/label-uuid 2016-06-16 10:03:02 yes 2016-06-16 10:11:25 where should be /media/sda1 moved to /media/usb? 2016-06-16 10:11:34 if /dev/usbdisk points to /dev/sda1 2016-06-16 10:18:09 uhM 2016-06-16 10:19:31 ncopa: maybe this http://git.alpinelinux.org/cgit/mkinitfs/tree/initramfs-init.in#n214 should understand that /dev/usbdisk means /dev/sda1 2016-06-16 10:20:02 maybe it needs to check if an fstab entry is a link and use the reference instead 2016-06-16 10:20:18 I think its the simplest solution 2016-06-16 14:05:11 Hello everyone 2016-06-16 14:07:01 What can I use (except sed) to replace environment variables in shellscripts? I'm looking for something similar to envsubst ( https://www.mankier.com/1/envsubst ) 2016-06-16 14:07:35 and do something like /bin/ash -c "envsubst < /etc/nginx/conf.d/mysite.template > /etc/nginx/conf.d/default.conf && nginx -g 'daemon off;'" 2016-06-16 14:10:00 I saw there's no `envsubst` package for Alpine :( 2016-06-16 14:10:08 not even in edge 2016-06-16 14:10:41 dminca: you can open a package request for it 2016-06-16 14:10:49 sounds like an easy to build package in that case 2016-06-16 14:10:52 $ apk info --who-owns $(which envsubst) 2016-06-16 14:10:53 /usr/bin/envsubst is owned by gettext-0.19.7-r3 2016-06-16 14:10:56 or 2016-06-16 14:10:58 that :) 2016-06-16 14:11:23 awesome kl3 darkfader , thanks guys :) 2016-06-16 14:12:07 and how can I install it from other source? 2016-06-16 14:12:15 dminca: You're welcome. 2016-06-16 14:12:19 apk add ... ? 2016-06-16 14:13:03 gettext is in the main repo, just do 'apk add gettext' 2016-06-16 14:13:39 yay ! I got envsubst, thank you kl3 :D 2016-06-16 14:14:09 :) 2016-06-16 19:32:46 Hello. I am running an alpine lxc container and when I start glxgears or any OpenGL application udev tries to load my video driver (while it is already loaded on the host) on and fails. It works on ubuntu, debian and gentoo (using openrc) with the same lxc config. Any idea why? 2016-06-16 19:33:44 Or where to look? 2016-06-17 01:51:22 anyone used alpine on a virtualbox vm? 2016-06-17 01:51:32 i'm trying to run X and getting a black screen 2016-06-17 04:21:30 Is the acf webpanel supposed to be slow? 2016-06-17 06:43:38 morning climbers. Happy Friday! 2016-06-17 08:34:23 hi 2016-06-17 08:34:34 any feedback about alpine+btrfs or btrfs in general? 2016-06-17 08:35:09 donoban: Works like a charm for me 2016-06-17 08:35:29 I was excited about doing a btrfs raid 10 2016-06-17 08:35:48 but I read something discouraging it for VM images and databases 2016-06-17 08:36:24 kl3: what do you think about hosting VM with it? 2016-06-17 08:42:36 donoban: I never used RAID functionality with btrfs, neither did I set up some kind of VM hosting, ever. 2016-06-17 08:43:41 donoban: Generally, CoW can come in quite handy if you're duplicating big files which will see only small changes. 2016-06-17 08:43:43 have you noticed problems with fragmentation? 2016-06-17 08:48:26 btrfs is indeed not the right filesystem for databases or any system really with (constantly) high disk load: btrfs uses snapshots when writing changes to files for consistency reasons, which is nice if you want to avoid file corruptions and what not. However, databases tend to have many small changes quite frequently, meaning you system would rather have a hard time doing that on btrfs. 2016-06-17 08:48:46 (Correct me if I'm wrong) 2016-06-17 08:48:57 donoban: No. 2016-06-17 08:49:37 thats what I'm thinking currently 2016-06-17 08:50:29 also btrfs seems best suited for SSD disks where fragmentation is less/no problematic 2016-06-17 08:50:55 Other file systems can handle SSDs just fine as well. 2016-06-17 08:51:44 now I'm thinking between ext4 for simplicity or raw LVM which can be useful for snapshots and maybe some performance increase 2016-06-17 08:52:17 But yes, one could also argue that SSDs benefit from btrfs' transparent compression. 2016-06-17 08:53:13 donoban: LVM/ext4 should provide everything you need is pretty much rock solid besides that. 2016-06-17 08:54:14 ok 2016-06-17 08:55:43 donoban: Just have a look on the web, there are plenty of articles about (not) using btrfs. You can also visit #btrfs @freenode as well. 2016-06-17 08:56:19 I did, some suggested me using btrfs with nodatacow, others suggest using raw LVM or ext4 2016-06-17 08:56:23 hehe 2016-06-17 08:57:05 it's rare, whats the ideal usecase for btrfs? desktop usage, text documents, images, photos, video, etc...? 2016-06-17 08:57:35 There is no such "ideal usecase" for btrfs, I'd say. 2016-06-17 08:57:48 why do you use it? 2016-06-17 08:59:14 Because I wanted to try it out. 2016-06-17 08:59:26 hehe 2016-06-17 10:15:04 I've setup OpenVPN through this, https://wiki.alpinelinux.org/wiki/Setting_up_a_OpenVPN_server But when I connect, I don't get the same IP as my server 2016-06-17 10:22:13 ChainsawBaby: do you mean using some "what is my ip service"? 2016-06-17 10:22:44 donoban I check icanhazip.com, and it's the IP of my own internet 2016-06-17 10:23:09 could you tpaste "route -l -n"? 2016-06-17 10:23:15 on your client 2016-06-17 10:23:46 soryr just route -n 2016-06-17 10:24:09 I think you probably have two default gw 2016-06-17 10:24:22 your original and the VPN 2016-06-17 10:24:45 donoban on my server or my mac? 2016-06-17 10:24:53 on mac 2016-06-17 10:25:12 I'm not sure if the command works, what OS are you running? 2016-06-17 10:25:52 on mac it doesn't give anything. On the server I get http://kopy.io/Twnqj#j918AaJuOeet0e 2016-06-17 10:26:23 OS X 10.11.5 on my mac, and latest Alpine on the server 2016-06-17 10:27:06 try: netstat -nr on mac 2016-06-17 10:29:47 On mac, http://kopy.io/wyYKj 2016-06-17 10:30:38 I don't know too much about mac 2016-06-17 10:30:44 but it seems that you have two default wg 2016-06-17 10:30:48 s/wg/gw 2016-06-17 10:31:02 try removing: default 192.168.2.1 UGSc 135 2418 en0 2016-06-17 10:31:08 I don't know how 2016-06-17 10:32:09 <_ikke_> ChainsawBaby: You need to add push "redirect-gateway" to your config 2016-06-17 10:32:16 <_ikke_> if you haven't already 2016-06-17 10:32:52 <_ikke_> You can only have one default gateway 2016-06-17 10:33:09 _ikke_ just on the server, right? 2016-06-17 10:33:27 <_ikke_> ChainsawBaby: Yes, though you can also do it per client if you only want it for certain clients 2016-06-17 10:36:11 <_ikke_> You can also do push "redirect-gateway def1" 2016-06-17 10:37:12 _ikke_ when I add push "redirect-gateway def1" or just push "redirect-gateway" I don't have internet 2016-06-17 10:37:42 ChainsawBaby: even ping 8.8.8.8? 2016-06-17 10:37:44 <_ikke_> You need to setup nat on your server 2016-06-17 10:37:55 <_ikke_> Your server will not automatically forward the traffic 2016-06-17 10:38:35 This is my openvpn.conf http://kopy.io/3zh6g#gzVqwCt9Mo8P6K and my client.conf http://kopy.io/D1lH8#9S95zQpF6PENnN 2016-06-17 10:38:59 <_ikke_> That has nothing to do with openvpn directly 2016-06-17 10:39:08 <_ikke_> It's not an openvpn setting 2016-06-17 10:40:11 <_ikke_> ChainsawBaby: https://community.openvpn.net/openvpn/wiki/BridgingAndRouting 2016-06-17 10:43:44 Ah, ok. I'll have a go at it later then 2016-06-17 10:44:17 <_ikke_> If I recall, it's two settings 2016-06-17 10:44:52 <_ikke_> sysctl -w net.ipv4.ip_forward=1 2016-06-17 10:45:53 <_ikke_> iptables -t nat -A POSTROUTING -s 10.0.0.0/24 -o -j MASQUERADE 2016-06-17 10:54:22 _ikke_ do you know if there's a lot of configuring to do to get ipv6 too? 2016-06-17 11:17:38 ChainsawBaby: try same with ipv6 and ip6tables 2016-06-17 12:49:16 hey guys\ 2016-06-17 12:49:26 what does apk add --virtual do ? 2016-06-17 12:50:30 I've looked through the wiki but couldn't find anything about it 2016-06-17 12:50:51 saw in this context: apk add --no-cache --virtual .build-deps 2016-06-17 12:57:42 dminca: it's explained in the help message: > Instead of adding all the packages to 'world', create a new virtual package with the listed dependencies and add that to 'world'; the actions of the command are easily reverted by deleting the virtual package 2016-06-17 14:04:17 I am wondering something, is there a good reason why I should _not_ run alpine on my server (on the hardware) ? 2016-06-17 14:04:46 is there any benefit to running CentOS on the hardware? 2016-06-17 14:05:45 because I use alpine for virtual machines, and for docker containers. But now I'm setting up my server freshly and just started thinking 'why not alpine everywhere?' 2016-06-17 14:17:38 tostr: i did that too, it's nice 2016-06-17 14:17:49 most recent thing i found missing was mcelog 2016-06-17 14:17:57 to properly decode cpu/ecc errors 2016-06-17 14:18:12 i was about to port it, don't remember why i stopped 2016-06-17 14:18:42 and recently i stopped being able to monitor my raid controller, which i had had to use a debian chroot for 2016-06-17 14:18:58 so, a few icky bits, but nothing that doesn't go away if one does something about it 2016-06-17 14:19:33 benefits outweighed it by a lot 2016-06-17 15:45:31 tostr, the only thing, that I don't run alpine on production server is too much updates 2016-06-17 17:09:17 I am working on porting a postgres docker container over from using debian:jessie to alpine:3.4. I just discovered that alpine has two separate directories, /run and /var/run unlike debian where /var/run is a symlink to /run. Does anyone know why that is? 2016-06-17 17:12:52 <_ikke_> deinspanjer: historical reasons. It's only since recent they're merged together 2016-06-17 17:25:52 _ikke_: So you think in some future version of alpine, /var/run will become a symlink similar to how debian is treating it? 2016-06-17 17:27:10 alpinelinux.org ERR_CONNECTION_TIMED_OUT via remote administration on my work PC approx. 25 miles away from my place it actually works 2016-06-17 17:27:14 what gives? 2016-06-17 17:35:15 Was my network banned or something this is weird. :/ 2016-06-17 17:36:33 I can also connect from my ds in Germany but not from my local network come on ... 2016-06-17 17:50:14 ? 2016-06-17 18:03:37 <_ikke_> deinspanjer: Not sure 2016-06-17 23:09:06 Has anyone set up automatic mounting of encrypted external storage with alpine? If yes, how did you do it? I could probably use udev rules, crypttab(8), autofs(5) or some selfmade script but I'm unsure which way is the best to go. 2016-06-17 23:11:10 I just want to decrypt and mount a specific device using LUKS and keyfiles whenever I attach it. 2016-06-17 23:52:54 kl3: If you are going to store the key right on the box why bother? Anybody who gets access can steal the key and defeat the crypto. 2016-06-17 23:53:41 All your doing is making a really good way to lose all your data (by accident) for 0 more security. 2016-06-18 00:00:10 nixdork: I've lost if someone gains physical access anyway, but no: I've taken well care of handling the keyfile. Whenever said external storage is to be decrypted and mounted after attaching it, the keyfile will be made available, otherwise it's unaccessible. 2016-06-18 05:33:38 Hey, is anyone around who could help me find the appropriate network drivers for my laptop? I don't really know how this stuff works so any pointers would be welcome. 2016-06-18 05:35:40 Seems like the ethernet driver should be in the kernel, no? But the device doesn't appear with 'ip link' and I'm having trouble intrepreting lspci. 2016-06-18 05:45:54 I have modified /etc/network/interfaces as per (https://wiki.alpinelinux.org/wiki/Configure_Networking#Ethernet_Configuration) but still no luck after reboot. 2016-06-18 05:58:15 darkfader: t00thless: thanks for the input! 2016-06-18 06:17:02 So it seems like there are supposed to be a few additional prompts during installation with setup-alpine before the option of manual configuration. Since I wasn't shown those prompts, I guess it can't identify the devices. 2016-06-18 06:19:44 The BCM4312 isn't a surprise but the ethernet should be Marvell. Arch wiki says to use "sky2 module", but I assume that's Arch specific. 2016-06-18 06:22:44 Or maybe not, but I don't know how to install it. 3: 2016-06-18 06:43:48 So I've found a file sky2.ko in /lib/modules/4.4.11-0-grsec/kernel/drivers/net/ethernet/marvell/. It doesn't seem to be there in the V.M. image but maybe it's not being used on the laptop? 2016-06-18 06:48:24 I don't see any mention of Sky or Marvell in /etc/modprobe.d/* 2016-06-18 07:02:29 'modprobe sky2' seemed to work and the interface state changes to up after a while since it's set for D.H.C.P. The light on the switch turns on but it's not receiving an I.P. address. 2016-06-18 07:03:24 When I unplug the cable, the interface disappears, which is ok, but it only reappears every other time I plug it in. 2016-06-18 07:03:31 Like literally every second time... 2016-06-18 07:04:24 Guessing that's related to not deactivating the old driver and I'm trying to figure out what D.H.C.P. client is supposed to be running. 2016-06-18 07:07:00 Also ip link shows eth0 but ifconfig does not. Maybe related to use of modprobe? 2016-06-18 07:09:20 iface was not found but ifup started broadcasting discover packets and it seems to have worked! 2016-06-18 07:20:27 Pinging external addresses so all seems well and eth0 appeared in ifconfig. Config file created to activate sky2 in /etc/modprobe.d for udev. Great learning experience. :p 2016-06-18 07:23:11 Hi, I'm new to alpine os, i'm trying to run my own haskell tcp server, and i'm getting the error - "getProtocolByName : does not exist (no such protocol name: tcp) 2016-06-18 07:26:57 Here are a couple links I just Google'd up: 2016-06-18 07:27:05 https://github.com/fpco/haskell-scratch/issues/2 2016-06-18 07:27:11 https://github.com/bos/wreq/issues/5 2016-06-18 07:27:18 Sorry I can't be of more help. 2016-06-18 07:28:25 surly i googled before setting up the vpn just to connect here, Thanks for finding for me 2016-06-18 07:28:45 Yeah, I think those should help you narrow it down a bit at least. 2016-06-18 07:29:27 I just don't know anything about haskell or the server/client software you're using. 2016-06-18 07:29:52 I assume it doesn't take a port number? 2016-06-18 07:30:31 sure it does, it's simply translated to C to think of that this way 2016-06-18 07:31:09 the server works on my ubuntu, i'm trying to make it work there 2016-06-18 07:31:30 so* 2016-06-18 07:32:02 Yeah, it's all research. I've been talking to myself here for the past two hours. 2016-06-18 07:33:54 lol 2016-06-18 07:37:30 Well, I'm off for now. Be back another day. Sorry for the spam, hopefully it helps someone eventually. 2016-06-18 09:47:47 hey is there some trick to get alpine to read sysctl and/or sysctl.d files? 2016-06-18 09:48:48 i'm trying to disable ipv6 but stuff there is not used unless i specifically do sysctl -p 2016-06-18 09:48:54 which means it doesn't work after boot 2016-06-18 10:15:41 Hi there, I am trying to boot alpine linux iso file with grub2 loopback. However the problem I am having is that it goes into the emergency shell and /sbin/init is not found. 2016-06-18 10:15:59 apparently it's sysctl service not starting even though it's added to autostart 2016-06-18 10:16:04 Can anyone tell me how I need to configure the boot options? 2016-06-18 10:16:28 starting it manually works just fine 2016-06-18 10:16:45 I currently have this... 2016-06-18 10:16:47 menuentry "Alpine Linux (musl)" { 2016-06-18 10:16:48 loopback loop /boot/iso/alpine.iso 2016-06-18 10:16:50 linux (loop)/boot/vmlinuz-grsec isoloop=/boot/iso/alpine.iso modloop=/boot/modloop-grsec modules=loop,squashfs,sd-mod,usb-storage,ext4 2016-06-18 10:16:51 initrd (loop)/boot/initramfs-grsec 2016-06-18 10:16:53 } 2016-06-18 11:35:25 Hey everyone. I installed Docker from the 3.4 community repo and started it but running docker ps tells me that it cannot connect to the daemon, any ideas? 2016-06-18 11:37:49 Just tried with edge community repo btw, same results 2016-06-18 11:40:50 Running `docker daemon &` seems to solve it now that I check, but that does not solve the problem for every reboot 2016-06-18 11:42:20 dicker needs its daemon too be running 2016-06-18 11:42:43 so if you want it up at bout you'll need to enable it 2016-06-18 11:43:10 I mentioned that I did start it in my first comment, via its service. 2016-06-18 11:43:33 However the docker cli only seems able to contact the daemon if started from a shell with the mentioned command 2016-06-18 11:43:59 some invocation of rc-update should work for that 2016-06-18 11:44:33 I used rc-update to start the daemon on boot 2016-06-18 11:44:47 Then used service docker start to start it 2016-06-18 11:44:57 what runlevel is it in 2016-06-18 11:45:00 boot 2016-06-18 11:45:07 As recommended by the wiki 2016-06-18 11:45:46 And now I rebooted for the third time and it's working. 2016-06-18 11:45:55 ... huh, what rl are the rest of your services in, also boot? 2016-06-18 11:46:14 Fresh install. 2016-06-18 11:46:38 But really, I just rebooted for the third time and it's working. wtf happened is beyond me. 2016-06-18 11:46:50 Anyway, praise the gods and all that. Thanks for the help :) 2016-06-18 11:47:23 does it work every time or is it nondeterministic from your perspective 2016-06-18 11:47:55 Rebooting again just to check, one sec 2016-06-18 11:48:30 Yep, working. 2016-06-18 11:48:49 All I did between one thing and another was attempting to run gpasswd and usermod to add root to the docker group 2016-06-18 11:48:56 Both fruitless, as neither binary exists on Alpine. 2016-06-18 11:51:39 should never be need to add root, but busybox adduser can do that 2016-06-18 11:52:04 I learnt afterwards about it. But didn't get to try it anyway. 2016-06-18 12:15:18 any ideas why starting sysctl fails on boot? 2016-06-18 12:16:54 i haven't touched the runlevel or anything it just fails on clean install 2016-06-18 13:01:14 i mean there just has to be a better way than just blacklisting the entire module right? 2016-06-18 14:40:57 Hello I'm trying to compile something but log4cxx-devel is needed. Is there a package in the repos I can't find one 2016-06-18 14:45:52 Hello, i have built a custom iso alpine-virt with some custom packages from a docker container. But i can't boot with it after, anyone can help me please ? 2016-06-18 15:24:52 Melck: what do you mean, you can't boot with it? What happens? 2016-06-18 15:47:17 @hazward I create vm with virtualbox and connect iso to cdrom, then i have this error: /sbin/init not found in new root ... 2016-06-18 15:50:19 https://www.dropbox.com/s/ncmm2cw51v84x1w/S%C3%A9lection_068.png?dl=0 2016-06-19 00:45:06 hello 2016-06-19 00:45:35 # 2016-06-19 00:45:41 sorry about that 2016-06-19 00:45:44 i need a bit of help. for starters Ive tried everything i possibly can think of but i cnet figure this out. I want to install alpine linux on my raspberry pi and their wiki (https://wiki.alpinelinux.org/wiki/Raspberry_Pi) says to copy all the files int he tar.gz that they give into an sd card thats been formatted into fat32 and makes as bootable. I did that an bothe the read an green light show up on the pi, but noting shows u 2016-06-19 00:54:51 hello? 2016-06-19 00:54:57 is there anyone that can help me? 2016-06-19 07:41:37 Hi, which package provides stdio.h? Is there a tool to answer this kind of question? 2016-06-19 07:45:58 (i.e. what do I need (beside of gcc) to compile a simple hello-world c programm.) 2016-06-19 08:00:36 oh, found the package in the forum: musl-dev 2016-06-19 08:26:20 build-base meta package is what you're interested, if you want to compile some C/C++ programs. among its dependencies there is this libc-dev, which nowadays depends on musl-dev you mentioned. 2016-06-19 08:35:17 is there a general tool to answer the question "which package provides $file"? (like 'apt-file search' on debian or 'pacman -Fs' on arch) 2016-06-19 08:39:05 `apk info -W /path/to/file` but it only works for already installed packages 2016-06-19 08:39:38 but there is also: http://pkgs.alpinelinux.org/contents 2016-06-19 09:19:42 info -W does not really help, if you want to know which packages to install. But that webpage seems to be exactly what I was looking for. thanks a lot. 2016-06-19 11:21:33 is there an easy way to check the configuration of the running kernel in alpine? (there seems to be no config file in /boot and /proc) 2016-06-19 11:23:47 $ apk info --who-owns /boot/config* 2016-06-19 11:23:47 /boot/config is owned by linux-vanilla-4.4.7-r0 2016-06-19 11:23:47 /boot/config-grsec is owned by linux-grsec-4.4.6-r1 2016-06-19 15:34:21 I still searching on my problem with a virtual USB disk being mounted on /media/sda1 instead /media/usb , also /dev/usbdisk entry on /etc/fstab being ignored 2016-06-19 15:37:00 initramfs-init.in is coherent with fstab, but it only relocates root and devices used by /tmp/repositories (also /etc/apk/repositories?) 2016-06-19 15:38:01 however, /dev/sda1 is being mounted by nlplug-findfs which ignores complety fstab, since sda1 is not my boot device it's not relocated by initramfs-init.in 2016-06-19 15:42:48 I see three posible solutions: do nlplug-findfs respects fstab, or remount correctly later with initramfs-init.in (maybe best way could be check all fstab entries and relocate all which are at wrong places), or also get rid of nlplug-findfs calls to mount() and centralice all them on initramfs-init.in 2016-06-19 15:42:58 any opinion? 2016-06-19 15:51:40 well, last option is less viable, nlplug needs mount for search apkovl, boot devices and apk cache, it could let this devices umounted but is not a great advantage. Better solution seems 2, check all fstab and fix unproperly mounted devices 2016-06-19 16:09:27 apache2 is same with httpd in alpine ? 2016-06-19 16:10:01 or httpd is the daemon name of apache 2016-06-19 16:12:32 by default httpd is a busybox http server 2016-06-19 16:12:35 IIRC 2016-06-19 16:14:27 but you have apache packages also dminca 2016-06-19 16:15:17 donoban aaaa I see now 2016-06-19 16:15:39 but what's IIRC ? 2016-06-19 16:16:38 "if i remember correctly" 2016-06-19 16:17:02 ah :)) 2016-06-19 16:17:06 oke 2016-06-19 16:17:24 I googled that and got other gibberish 2016-06-19 16:17:40 (using duckduckgo) 2016-06-19 16:18:14 but what's httpd different from apache ? 2016-06-19 16:18:40 it should have few mods and support for languages/extensions 2016-06-19 16:18:53 really I don't know 2016-06-19 16:19:00 try it :P 2016-06-19 16:19:30 good point lol 2016-06-19 16:19:44 well, if it's easier than nginx, then could work out 2016-06-19 20:20:46 Anyone know where to look for why http://pkgs.alpinelinux.org/package/edge/main/x86_64/zfs build log is missing (and apk add can't find the package) 2016-06-20 06:58:19 Hi, I see the php:alpine linux package does not include apache2, is this for a reason? 2016-06-20 07:26:13 Are there any plans to add the php7-apache2 package instead of php5-apache2 ? 2016-06-20 07:42:47 How can I install rotatelogs ? 2016-06-20 07:58:11 is that an apache module or something totally different 2016-06-20 07:58:51 It is included with apache2 when installing on debian 2016-06-20 08:01:15 blimey, I've not used apache in such a long time, prolly not the best person to offer help 2016-06-20 08:01:52 looks like a binary that takes a file as stdin and does stuff 2016-06-20 08:02:03 do you have a source? 2016-06-20 08:03:49 forget that. it looks like rotatelogs is in apache2-utils, along with a bunch of other stuff 2016-06-20 09:00:51 ScrumpyJack: lemme check 2016-06-20 09:01:07 docs: https://httpd.apache.org/docs/2.4/programs/rotatelogs.html 2016-06-20 09:20:14 No php7 packages in alpine yet? :/ 2016-06-20 10:11:20 yes, but in testing 2016-06-20 10:12:37 I'm trying to generate a custom initramfs with a modified initramfs-init.in 2016-06-20 10:12:47 but I boot and I don't notice my changes 2016-06-20 10:14:45 I'm doing: mkinitfs -i /home/donoban/mkinitfs/initramfs-init.in -o initramfs-virtgrsec 2016-06-20 10:14:51 and then I move it to /boot 2016-06-20 10:15:03 on a sys-install VM 2016-06-20 10:15:52 prehaps grep INITRD extlinux.conf ? 2016-06-20 10:16:21 INITRD initramfs-virtgrsec 2016-06-20 10:37:26 ScrumpyJack: lol, it was "quiet" problem ;) I though rc-messages come from initramfs-init.in 2016-06-20 11:31:13 ScrumpyJack: http://svn.apache.org/repos/asf/httpd/httpd/trunk/support/ 2016-06-20 13:12:45 nindustries: are you still looking for rotatelogs in alpine linux or have you found it 2016-06-20 13:21:18 ScrumpyJack: haven't found it yet 2016-06-20 13:23:49 nindustries: apk add apache2-utils 2016-06-20 13:24:20 then do "apk info -L apache2-utils" to see what that package provides 2016-06-20 13:24:34 it contains rotatelogs 2016-06-20 13:25:17 http://tpaste.us/3qRa 2016-06-20 13:26:48 cool! Thanks ScrumpyJack 2016-06-20 13:33:14 ScrumpyJack: For some reason, -L returns nothing 2016-06-20 13:33:22 while apk info does 2016-06-20 13:33:37 apk info -L 2016-06-20 13:35:27 ScrumpyJack: http://pastie.org/pastes/10884067// 2016-06-20 13:36:07 Is there a log4cxx package? I'm trying to compile something and log4cxx is needed 2016-06-20 13:41:37 nindustries: did you do apk add apache2-utils ? 2016-06-20 13:42:35 ahh, no, afterwards 2016-06-20 13:42:37 that will be it 2016-06-20 13:45:36 Hi, i have installed alpine on virtual machine and add package open-vm-tools. But when i look status of service, its crashed and when i run vmtoolsd manually, i have this error: Segmentation fault (core dumped) 2016-06-20 13:46:31 Someone knows why it partially working ? 2016-06-20 13:47:08 So guys, my pdo_pgsql is giving some problems.. IDeas? http://pastie.org/pastes/10884101/text 2016-06-20 13:47:45 Melck: used to work when i last used them, but it's been like a year since i ran on vmware; i think in vbox i didn't bother to install them 2016-06-20 13:47:54 do you see anything helpful in dmesg? 2016-06-20 13:50:45 yeah 2016-06-20 13:51:18 i upload a screenshot 2016-06-20 13:53:06 https://www.dropbox.com/s/zzzl0tdk5q8mbzt/S%C3%A9lection_069.png?dl=0 2016-06-20 13:53:55 hmm no, i can't tell anything more from it 2016-06-20 13:54:34 next step either doing an strace or opening a bug :) 2016-06-20 13:54:50 i can't think of much else you can do 2016-06-20 13:55:20 I posted it on github https://github.com/gliderlabs/docker-alpine/issues/187 2016-06-20 14:00:14 hello! what is the expected release time of Alpine Linux that has PHP 7 packages in the main repo? 2016-06-20 14:03:58 ^^ I want to know this too 2016-06-20 14:12:26 ged15: at the moment they are in edge/testing. if you can use that repo and test the php7 packages, that would go a long way to help push them into main 2016-06-20 15:25:07 Melck: i dunno if this is related: http://bugs.alpinelinux.org/issues/5105 2016-06-20 19:47:14 ncopa : Hi, I am wondering what is the correct way to cross-compile apk tool. I am trying to do so using the source code (building lua) and in the middle of building openssl, zlib, libfetch. Is it the right way or the proper way is to use Aport/APKBUILD ? 2016-06-20 19:48:38 fyi, I already have a cross-compiled base toolchains (gcc, musl, binutils) targeting s390x and busybox. Now working on apk tool. 2016-06-20 21:08:55 Hello. I plan on migrating my media server to Alpine, but when I run glxgear in an Alpine 3.3 lxc container it freezes, while it works on other distros with same config. Running gdb, freeze seems to come from musl when calling the fork system call. Should I be worried, or is Alpine working fine on bare metal? 2016-06-20 21:17:48 tmh1999: you can skip apk-tools lua 2016-06-20 21:17:51 lua bits 2016-06-20 21:18:01 in src/Makefile set LUAAPK=no 2016-06-20 21:18:04 or so 2016-06-20 21:18:23 what about openssl & zlib ? 2016-06-20 21:18:55 & libfetch too 2016-06-20 22:01:11 This is a tribute for Alpine guys who helped me alot :) https://ubuntulinuxx.wordpress.com/2016/06/20/nginxphp7-on-alpine-linux/ 2016-06-20 22:01:39 Thanks guys 2016-06-20 23:53:39 It seems Alpine's git(1) package is missing the 'send-email' command since 'git send-email --help' says "git: 'send-email' is not a git command. See 'git --help'.", yet git-doc contains the manpage git-send-email(1). 2016-06-20 23:54:01 that's sometimes in a package called git-extra, git-extras 2016-06-20 23:54:05 does alpine have that? 2016-06-20 23:54:43 bougyman: Thanks, there's a git-email package, I'll try that. 2016-06-21 05:18:46 hi, did anyone manage to run matlab on alpine? 2016-06-21 07:05:03 X-posting this here; https://bugs.alpinelinux.org/issues/5761 2016-06-21 11:40:11 hello, i haven't updated in a while and I get this error after doing "apk upgrade" 2016-06-21 11:40:31 ERROR: unsatisfiable constraints: Huh? Error reporter did not find the broken constraints. 2016-06-21 11:41:34 this is my /etc/apk/repositories file 2016-06-21 11:41:34 http://pastebin.com/2cYiLCNh 2016-06-21 12:53:17 ncopa : [About cross-compiling apk-tools] I set LUAAPK=no. Cross-compile libfetch.a. Add -I/usr/include to CFLAGS in Make.rules (if I don't it complains missing openssl/*.h). Edit src/apk_defines.h to have __s390x__ alongside __arm__, __i386__, etc. And now I have this error while doing $ make : http://pastebin.com/GF2zJ4dT. What do you think ? 2016-06-21 13:05:26 I am looking at your apk-tools's APKBUILD and there is this line : sed -i -e 's:-Werror::' Make.rules 2016-06-21 13:05:30 and it works 2016-06-21 13:10:59 I just wonder, I do neccessarily need to build openssl and zlib targeting s390x, right ? 2016-06-21 13:12:38 as far as I understand, I must. 2016-06-21 15:46:09 tmh1999: zlib for sure, ssl is a bit more optional 2016-06-21 15:47:42 darkfader : so I just remove openssl from PKGDEPS in src/Makefile ? 2016-06-21 15:53:17 for a start 2016-06-21 15:53:30 you'll surely need it later 2016-06-21 15:53:55 ah apk-tools, yeah hmm 2016-06-21 15:54:00 the signing might need it 2016-06-21 15:56:43 looks like I will need it eventually 2016-06-21 15:57:10 darkfader : thanks! 2016-06-21 15:58:19 tmh1999: np! good luck, hopefully apk-tools are easier to port than pkgsrc :> 2016-06-21 15:58:38 cool thing you're doing there 2016-06-21 15:59:34 right, it's a fun work 2016-06-21 15:59:38 :) 2016-06-21 16:00:19 I am trying to dodge openssl for now because the s390x port of musl is still in progress 2016-06-21 16:00:31 some functions have not been implemented yet 2016-06-21 16:11:50 tmh1999: you are welcome in #alpine-devel for those questions 2016-06-21 16:12:15 ncopa : noted ! 2016-06-21 16:12:21 tmh1999: you do need openssl and zlib and libfetch (from bsd) 2016-06-21 16:12:43 tmh1999: have you started at ppc64 port? 2016-06-21 16:13:01 ppc64? no 2016-06-21 16:15:47 there are some old scripts for bootstrapping new arch here: http://dev.alpinelinux.org/~tteras/bootstrap/ 2016-06-21 16:17:14 Hum.. I noted that link but haven't thought about it. 2016-06-21 16:17:22 Okay I'll see. 2016-06-21 18:31:44 Is there an easy way to get Nginx with http2 support with Alpine? 2016-06-21 18:37:55 is there support for that in upstream? 2016-06-21 18:46:35 I have a C++ project which builds fine on Debian and Arch, but fails on alpine with error: "code model kernel does not support PIC mode" from gcc. Is there anything special with the alpine gcc which might cause that error? 2016-06-21 18:55:26 michas, we enable PIC by default unless -D__KERNEL__ is defined 2016-06-21 18:55:45 try adding -fno-PIC expliitly, or defining -D__KERNEL__ 2016-06-21 18:57:22 oh, good to know. thx! 2016-06-21 18:58:03 I'm curious. What is the advantage of enabling PIC by default? 2016-06-21 18:58:38 it is needed for PIE 2016-06-21 18:58:45 PIE is needed for full ASLR 2016-06-21 18:58:48 so it's a security feature 2016-06-21 18:59:17 ncopa: it's just an nginx build flag 2016-06-21 18:59:29 something like --enable-httpv2 or something 2016-06-21 19:00:00 --with-http_v2_module 2016-06-21 19:00:17 https://bjornjohansen.no/enable-http2-on-nginx 2016-06-21 19:02:15 ncopa: Nginx on edge is v1.10.x and you need at least v1.9.5, so it should just be a build flag to enable it on edge :) 2016-06-21 19:03:31 Oh shoot, it might be enabled, I just realized this router isn't Alpine yet. Shoot, please disregard me. I'm in the process of moving my routers off of OpenWRT and onto Alpine :) 2016-06-21 19:34:03 Hi, I'd like to put a git status in my bash promt, but __git_ps1 seems not to be available. which file from which package do I need to source? 2016-06-21 19:43:43 hi.... 2016-06-21 19:44:20 just tried to install alpine 3.4 onto my RaspberryPi as sys-install 2016-06-21 19:45:24 is anybody here who did that? 2016-06-21 19:45:45 i justed worked through the wiki-page. 2016-06-21 19:46:15 and everything looks right. 2016-06-21 19:46:26 but after reboot it is not able to boot 2016-06-21 20:47:05 hello, i haven't updated in a while and I get this error after doing "apk upgrade" 2016-06-21 20:47:13 ERROR: unsatisfiable constraints: Huh? Error reporter did not find the broken constraints. 2016-06-21 20:47:18 this is my /etc/apk/repositories file 2016-06-21 20:47:23 http://pastebin.com/2cYiLCNh 2016-06-21 20:59:23 mixing v3.1 repo with edge is not really supported 2016-06-21 21:01:51 robin666: i believe some package in v3.1 depends on something in v3.1 repo but the resolver probably picks a newer version from edge for some other dependency, which does not provide what first package needs 2016-06-21 21:02:10 for example package A and B depends on libX 2016-06-21 21:02:31 in v3.1 libX has version Y 2016-06-21 21:02:40 in edge the libX has version Z 2016-06-21 21:02:55 and they are not ABI compatible 2016-06-21 21:03:32 so apk cannot make both package A and B happy, because you cannot install both versions of libX at the same time 2016-06-21 21:04:35 thank you, i commnted the edge line and now i get errors because I installed owncloud from the edge repo 2016-06-21 21:04:48 do you think it's ok to just use --force? 2016-06-21 21:05:11 thats normally not a good idea 2016-06-21 21:05:26 would probably be better to upgrade to v3.4 2016-06-21 21:06:00 or backport owncloud to v3.1 (build the apk on a v3.1 build box) 2016-06-21 21:06:43 can i just not upgrade without upgrading owncloud? 2016-06-21 21:22:59 i thought you wanted newest owncloud from edge? 2016-06-21 21:23:41 robin666: what version of owncloud do you want? 2016-06-21 21:23:57 v3.2 has owncloud 8.1 2016-06-21 21:24:15 v3.3 has owncloud 8.2 2016-06-21 21:24:34 v3.1 has owncloud 7.0 2016-06-21 21:24:48 v3.4 has owncloud 9.0 2016-06-21 21:36:16 the one i have right now is owncloud 8.2.5 2016-06-21 21:36:33 so i guess I should uninstall my owncloud@edge and install the regular one? 2016-06-21 21:36:44 maybe upgrade to owncloud v3.3 2016-06-21 21:36:57 sorry, i mean 2016-06-21 21:37:01 upgrade to alpine v3.3 2016-06-21 21:37:36 i can't upgrade though, since I get the error about owncloud 2016-06-21 21:38:08 i think you need to remove @edge from repos and apk add -U owncloud 2016-06-21 21:38:49 or manually edit /etc/apk/world and replace the owncloud@edge with owncloud 2016-06-21 21:38:53 and then apk upgrade -U -a 2016-06-21 21:47:27 ok i did dthat and succesfully downgraded owncloud 2016-06-21 21:47:34 then i changed out the repo for 3.4 instead of 3.1 2016-06-21 21:47:41 now i get this error upgrading: 2016-06-21 21:47:42 luna:~# apk upgrade 2016-06-21 21:47:42 ERROR: unsatisfiable constraints: 2016-06-21 21:47:42 Huh? Error reporter did not find the broken constraints. 2016-06-21 21:48:34 http://pastebin.com/hy6d7Wfh 2016-06-21 21:58:05 nvm, i read the wiki on upgrading 2016-06-22 12:39:34 have i muted this channel by mistake? it's awefully quiet here 2016-06-22 12:59:37 <_ikke_> ScrumpyJack: Looks not 2016-06-22 13:09:34 yay! 2016-06-22 13:26:47 last time i checked i wasn't able to run prosody on 3.4. does it work now? 2016-06-22 13:28:57 something about lua couldn't find luasec 2016-06-22 13:34:27 Lemming, did you notified that in bugs.alpinelinux.org ? 2016-06-22 13:47:57 fcolista: http://bugs.alpinelinux.org/issues/5262 2016-06-22 13:55:05 Lemming, thanks. Can you post your prosody config file? 2016-06-22 14:06:50 fcolista: https://0.jmt.gr/?718990a7e704ee60#+PIQjJ0Lm7lwjB+OZZTklsxCmyq60gx5n3a9Uralj58= 2016-06-22 14:07:01 or do you mean attached to the bug? 2016-06-22 14:08:15 a config file that allows to replicate the issue 2016-06-22 18:05:01 I remember reading a short discussion about data compressor alternatives for gzip currently being used as default in apk files: Has it actually been considered to change? It seems to me http://lzip.nongnu.org/ is a proper replacement for gzip. 2016-06-22 18:07:16 xz would be the most logical choice though, and several distros already take advantage of it 2016-06-22 18:08:18 TBB: Why xz? 2016-06-22 18:09:02 excellent compression ratio, basically. also newer versions of xz take advantage of parallel threads when compressing. 2016-06-22 18:11:26 TBB: I'd probably chose anything but xz. 2016-06-22 18:11:48 out of curiosity, why's that? 2016-06-22 18:12:00 See http://lzip.nongnu.org/lzip_benchmark.html for a short explanation. 2016-06-22 18:15:15 thanks, that was an interesting read. Unfortunately, I don't have the expertise to comment on those claims 2016-06-22 19:27:16 Hello, when I install a php extension (pdo in this case), how can I link it correctly? 2016-06-22 19:27:44 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/pdo.so' - Error loading shared library /usr/lib/php/modules/pdo.so: No such file or directory in Unknown on line 0 2016-06-22 19:28:03 i checked and the pdo.so file is not there, even though I installed it with "apk add php5-pdo" 2016-06-23 00:43:31 kl3: hey do you know if there is anymore documentation going into more detail how lzip file format is better than xz's 2016-06-23 00:44:05 rather than just saying xz is complex & allows for proprietary stuff & extra features 2016-06-23 00:44:20 kl3: and that lzip is simpler and does one thing only 2016-06-23 00:45:35 kl3: if something like that is compiled together it would probably make it a lot easier for main Alpine maintainers to make an informed decision rather than having to learn both formats intametly first then do there own examination 2016-06-23 08:38:51 is there a way to get alpine to always produce a full debug binary? 2016-06-23 08:48:21 <^7heo> konobi: ? 2016-06-23 08:52:29 konobi: you can do: export DEBUG=1 2016-06-23 08:53:06 then abuild will build with debugging symbols in all packages 2016-06-23 08:53:40 ey ncopa, I investigated the initramfs script, it's relocating only devices used on /etc/apk/repositories file 2016-06-23 08:54:02 I'm thinking on change it and check the all mounted devices, and relocate which have a entry on fstab 2016-06-23 08:54:32 that sounds like a good idea 2016-06-23 08:54:41 I will send it when I have it 2016-06-23 08:55:03 I don't have too much time and I'm pretty bad with bash script :\ 2016-06-23 08:55:18 ncopa: would that be usable with a binary repo? 2016-06-23 08:55:44 konobi: you would be building your own binary repo 2016-06-23 08:56:14 the other option would be to always provide a -dbg package 2016-06-23 08:56:25 yeah, that's fine. I'd also be running each binary through a conversion process to make the dwarf info into CTF 2016-06-23 08:56:49 CTF? 2016-06-23 09:02:18 capture the flag 2016-06-23 10:23:56 ncopa: https://github.com/MessageSystems/ctf 2016-06-23 11:26:49 systmkor: I guess I can compile a list of differences/(dis)advantages. 2016-06-23 11:31:53 Oh, and I forgot to actually link to the parallel version of lzip: http://www.nongnu.org/lzip/plzip.html 2016-06-23 16:43:58 hello, is this a place to ask for some advice in creating a bootable usb for alpine? 2016-06-23 16:46:31 hope so... 2016-06-23 16:47:47 robinmasters: what is your exact problem? 2016-06-23 16:48:09 to create the bootable usb you just need to download the iso and dd it on to your usb drive 2016-06-23 16:49:03 i am using latest version, and i have tried using rufus on windows, dd on linux on both SDC cards and usb thumbdrives and regardless of what i try, i always get: "Mounting boot media failed." I tried following the instructions to "alpine_dev=usbdisk" but that didn't exist in my cfg 2016-06-23 16:52:05 are you using the correct arch? 2016-06-23 16:52:20 yes, x86_64 2016-06-23 16:52:34 and dd did work correctly? no error code? 2016-06-23 16:52:41 thats correct 2016-06-23 16:53:00 hmm, and you boot from the corrct device? 2016-06-23 16:53:30 yes, i believe so, thats how i get that error 2016-06-23 16:53:43 i only have 1 bootable device too 2016-06-23 16:57:11 just out of curiosity, what device are you trying to boot? 2016-06-23 17:00:25 its a usb thumbdrive, i don't have any other device. if i take same device and transfer centos7.iso to it, it boots fine. 2016-06-23 17:00:41 is there a better way to answer your question? 2016-06-23 17:03:24 There is, but you indirectly gave me the information I was after... centos7 boots fine both the DOS way and the UEFI way, I'm not sure if Alpine still supports the UEFI (or GPT partition) way 2016-06-23 17:03:33 I mean, already supports 2016-06-23 17:06:37 i have the bios set to legacy so "no UEFI". it reads the device, the error is related to this: http://wiki.alpinelinux.org/wiki/Create_a_Bootable_USB#Wrong_Device_Name 2016-06-23 17:07:34 but in the syslinux.cfg im missing elements that don't match up to this: append initrd=/boot/grsec.gz alpine_dev=usbdisk:vfat modules=loop,cramfs,sd-mod,usb-storage quiet 2016-06-23 17:07:56 I'm not really of much help regarding this, I went for a custom installer from the get-go, one I wrote myself 2016-06-23 17:09:12 IC, thanks 2016-06-23 18:46:06 alpine comes with chromium browser preinstalled right? 2016-06-23 18:46:51 surprised it's so small 2016-06-23 18:47:13 soiled: no, it does not 2016-06-23 18:47:37 there is no xorg/desktop environment preinstalled 2016-06-23 18:49:39 oh, ok 2016-06-23 19:10:48 kl3: thank you, it would be cool for Alpine to maintain a list of reasons behind changes as it progresses 2016-06-23 19:10:52 rather than just telling someone to go read email & chat-logs 2016-06-23 19:22:07 systmkor: the release log contains some informations 2016-06-23 19:45:23 leo-unglaub: yes, but I meant more technical detailed explenations behind bigger changes or changes going against the current "de-facto" standard 2016-06-23 19:45:55 hmm, most of them are in the git log 2016-06-23 19:46:26 you propobly mean something like https://www.openbsd.org/plus.html 2016-06-23 19:46:28 ;) 2016-06-23 19:46:29 leo-unglaub: doesn't necessarly always really be a write up but at least pointing to articles 2016-06-23 19:46:33 they are, but it's not proper release management to make users read git logs 2016-06-23 19:47:06 you make a proper release announcement that lists new features and changes to existing ones 2016-06-23 19:48:36 leo-unglaub: more like this http://www.openbsd.org/papers/asiabsdcon2016-rcd-paper.pdf 2016-06-23 19:48:58 well, thats an entire talk 2016-06-23 19:49:06 that would be a lot of work for every feature 2016-06-23 19:49:21 leo-unglaub: doesn't really have to be that formal, just more of some semblance of general idea & at least pointing to information that have the detailed reasons behind it 2016-06-23 19:49:34 leo-unglaub: oh yah, not every just any major changes 2016-06-23 19:51:26 leo-unglaub: in some ways it's like documenting code you write 2016-06-23 19:53:09 leo-unglaub: while you can always go back and read through just the code to figure out what you did, it's a huge time saver down the line to just put together a few paragraphs, links, or diagrams to explain what your trying to do 2016-06-23 19:54:41 leo-unglaub: nice talking, gotta grab some grub 2016-06-23 20:19:27 systmkor: Agreed. I think reading the file format specifications for both lzip[0] and xz[1] already gives a decent overwiew. 2016-06-23 20:19:32 [0]: http://www.nongnu.org/lzip/manual/plzip_manual.html#File-format 2016-06-23 20:19:45 [1]: http://tukaani.org/xz/xz-file-format.txt 2016-06-23 20:38:16 kl3: okay cool, I'll go take a look at those 2016-06-23 20:38:56 kl3: any thoughts on creating a list of benchmark tests, for us to verify compression, speed, & ease of software integration? 2016-06-23 20:44:15 systmkor: Be careful when comparing such algorithms on different machines/processors, especially when multithreaded. But sure, I could do some tests on different machines. 2016-06-23 20:45:18 kl3: well yes, that's why I was wondering if you had one in mind so that the maintainers would already have something they could utilize or use as reference to verify that it helps with their workflow 2016-06-23 20:47:54 lzip's project page already contains a couple of tests, but I'll gladly run some more on multiple machines to have "better" test results. 2016-06-23 20:49:52 kl3: well definitely, make it automated if not too hard :P 2016-06-23 20:50:29 Hm, any thoughts on why Alpine's ldconfig(8) doesn't accept any arguments although it's manpage shows them? 2016-06-23 20:50:31 get everyone in chatroom run testss :P 2016-06-23 20:50:58 ─> ao $(which ldconfig) 2016-06-23 20:50:59 /sbin/ldconfig is owned by musl-utils-1.1.14-r10 2016-06-23 20:52:24 kl3: check to see who owns the man page 2016-06-23 20:54:12 systmkor: You're right: /usr/share/man/man8/ldconfig.8.gz is owned by man-pages-4.06-r0 2016-06-23 20:55:44 kl3: yah I forget if that ldconfiz is assuming binutils ldconfig or something? 2016-06-23 20:56:17 I've also ran into some inconsistancies between binutils & MUSL detecting dynamically loaded libraries for a given executable 2016-06-23 20:59:39 kl3: has anyone done an algorithmic time & space complexity analysis of lzip & xz 2016-06-23 21:00:01 systmkor: Idk. 2016-06-23 21:21:22 Hm, I installed some library from source into the /usr/local namespace and when trying to build some other application depending on that library, the linker cannot find it. So I looked into /sbin/ldconfig being a simple shell script: It basically eats up all command line arguments and only does something if directories other than /ib and /usr/{local/,}lib are passed, so I assume Alpine already takes 2016-06-23 21:21:23 care of self compiled libraries. 2016-06-23 21:22:28 In order to build my application I now installed the library into /usr rather than /usr/local and everything works as expected; am I missing something when trying to use self built libraries? 2016-06-23 21:40:08 kl3: as far as I remember coming across making or playing with alpine ports, nothing that is intended to be through the standard system installation of apk is really intended to be in /usr/local 2016-06-23 21:40:19 kl3: that's overly simplistic 2016-06-23 21:45:48 systmkor: Well yeah, that's how it's supposed to be: The distribution's binaries go to /usr while self compiled stuff usually goes into /usr/local. My problem is that Alpine seems to ignore libraries in /usr/local/lib by default and '/sbin/ldconfig' ignores it as well. 2016-06-23 21:46:04 *if I'm not mistaken 2016-06-23 21:46:29 kl3: idk, for me I find it much cleaner just to build an APORT 2016-06-23 21:46:37 for what I'm wanting to install 2016-06-23 21:46:46 but I admit that's a decent amount of overhead 2016-06-23 21:49:37 systmkor: Yeah, I'm using almost 30 programs built from source, creating and managing aports for them would be a PITA 2016-06-23 21:50:03 kl3: that said, once you've integrated them into an APORT future management is much easier 2016-06-23 21:51:38 systmkor: That probably depends on the software being built, I'd say. 2016-06-23 21:52:28 kl3: true, that said it would be a great dogfooding exercise to see how to make it easier to create an APORT & integrating it in with a software project 2016-06-23 21:57:17 systmkor: Since you seem to have build aports before, mind doing so for lzlib and (p)lzip? 2016-06-23 21:57:32 kl3: yah sure 2016-06-23 21:59:10 kl3: I'll need to do that after work today 2016-06-23 22:00:14 Great, thanks :) 2016-06-23 22:02:21 systmkor: There already exists an lzip-1.17 package in edge, but 1.18 is the newest version. 2016-06-23 22:02:52 kl3: pulling the aports git repo is the easiest way to see what already exists as an aport 2016-06-23 22:03:09 kl3: okay cool, I'll do a version bump on that and then make (p)lzip a package as well 2016-06-23 22:03:37 Sounds great! plzip requires lzlib. 2016-06-23 22:04:01 kl3: I miss-read that, got it 2016-06-23 22:45:16 the battery stats for the i3 status bar try to pull from /sys/class/power_supply/BAT1/uevent which isn't readable by anyone other than root. Is there a way to get this info for normal users? 2016-06-23 22:46:15 emerson: That's done by grsec, either use a vnilla kernel, run the script as root, change grsec's settings or create a sudoers entry. 2016-06-23 22:48:12 hm, didnt think of the sudoers entry 2016-06-23 22:48:15 thanks 2016-06-24 00:36:05 emerson: the other way would be creating a grsec policy to allow a specific role to be allowed the necessary permissions 2016-06-24 01:15:19 Hey all. I'm new to Alpine; I just picked up AWS, and I noticed that Alpine would be a great fit for it. I can't seem to build my own AMI, though. Has anyone had success following this? https://wiki.alpinelinux.org/wiki/Install_Alpine_on_Amazon_EC2 I try it with 3.4.0 and it errors on instance start (starts then stops). 2016-06-24 03:50:48 jyaworski: might be helpful if you paste the specific errors 2016-06-24 03:59:48 jyaworski: for what it's worth, extlinux is the default boot loader now 2016-06-24 06:53:47 Hi, I installed alpine and then switch to edge repo 2016-06-24 06:54:09 It said that I need to manually upgrade the kernel in the wiki, how do I do that? 2016-06-24 08:11:19 anyone need cheap labour? 2016-06-24 08:19:26 my usual response would be ':D' but probably isn't applicable right now 2016-06-24 08:20:18 not after the latest news... 2016-06-24 08:25:07 ScrumpyJack: How cheap is your cheap? 2016-06-24 08:26:11 the depends on how low the pound goes 2016-06-24 08:27:00 may go pretty low after the brexit 2016-06-24 09:11:40 i think we can sum it up as "we're all fucked for 3-4 years, no matter if we're in eu or uk" 2016-06-24 09:12:28 one of the first times i just wanna cover my eyes and stick fingers into my ears 2016-06-24 09:28:49 well it's done now, and it's going to make my life much more expensive. 2016-06-24 09:30:37 let's watch to see if the dominoes fall 2016-06-24 09:44:06 ScrumpyJack: So how much? 2016-06-24 09:44:19 I think my work is even cheaper 2016-06-24 09:44:23 Not even in pound 2016-06-24 11:30:14 hello, i have a new computer that i can't get alpine to boot from. "Mounting boot media failed". I have the bios updated to latest version and its boot option set to legacy. I can take the alpine usb stick to a number of computers and it boots fine. I cant take a number of other linux OSes like centos and ubuntu and I can get them to boot on this new computer. So it is something specific with alpine and this bios combo 2016-06-24 11:31:11 does anyone have a suggestion on how i can alternatively get alpine running on this computer? 2016-06-24 11:31:56 btw, meant to say "can take a number of other linux OSes.." 2016-06-24 11:42:47 robinmasters: what do you boot from? 2016-06-24 11:42:49 cdrom? 2016-06-24 11:42:50 usb? 2016-06-24 11:42:53 harddisk? 2016-06-24 11:42:58 what alpine version? 2016-06-24 11:43:22 boingolov I'd really like to paste errors, but there's no log or console. It's completely silent. 2016-06-24 11:43:43 robinmasters: i think maybe the upcoming 3.4.1 release will fix it 2016-06-24 11:44:10 I'd like to state that an official AMI would be awesome. ;) 2016-06-24 11:44:10 latest alpine version 2016-06-24 11:44:34 i was booting from a usb stick 2016-06-24 11:45:32 when is 3.4.1 due? 2016-06-24 11:46:45 i was planning to ship it today 2016-06-24 11:47:36 oh. might not happen 2016-06-24 11:47:39 maybe you could wait till monday? 2016-06-24 11:47:51 there are are a few bigger updates needed 2016-06-24 11:49:00 sure i can wait until monday 2016-06-24 11:49:21 I was talking to ncopa ;) 2016-06-24 11:49:43 oh lol 2016-06-24 11:49:46 Are there any known problems with getting Firefox 47 to run on Alpine? I see that only Firefox 46 is available.. 2016-06-24 11:50:26 wogiz: i need rebase the patches 2016-06-24 11:50:38 or the build faild 2016-06-24 11:50:40 i dont remember 2016-06-24 11:50:47 it will require a bit work 2016-06-24 11:50:51 which is why it is delayed 2016-06-24 11:51:00 i waanted get 3.4.1 out first 2016-06-24 11:51:12 ahh okay 2016-06-24 12:02:28 Another thing that I have been thinking about. Are there any reason why this line: #ttyS0::respawn:/sbin/getty -L ttyS0 115200 vt100 in /etc/inittab could not be uncommented by default? respawn could be changed to askfirst and it would not take any resources. It would make sense as Alpine is used much in embedded and as server OS. 2016-06-24 12:03:01 Then one do not need to make a custom ISO image to get a serial console 2016-06-24 12:03:51 or VNC on Xen 2016-06-24 12:04:56 wogiz: if you add console=ttyS0 to boot cmdline, then it will be added 2016-06-24 12:05:16 it helps if you boot from usb or sd or similar 2016-06-24 12:05:28 from cdrom not so much 2016-06-24 12:05:39 the reason its not enabled by default is that I was scared 2016-06-24 12:05:51 you have no idea what is plugged into the serial port 2016-06-24 12:07:23 That's right, but those with physical access own the machine anyway 2016-06-24 12:08:08 the thinking was, what if someone uses alpine to troubleshoot/rescue some machine? 2016-06-24 12:08:53 if someone asked me to rescue a machine which controls something via serial port 2016-06-24 12:09:06 i might use alpine 2016-06-24 12:09:17 and might get a surprise 2016-06-24 12:09:29 i agree its unlikely to happen 2016-06-24 12:09:32 but still 2016-06-24 12:09:59 <^7heo> So, I don't want to bitch too much 2016-06-24 12:10:06 that makes sense 2016-06-24 12:10:11 <^7heo> but I still have no support for cherry keyboards in alpine 2016-06-24 12:10:57 wogiz: fixing it is relatively simple too, you simply edit boot/syslinux/syslinux.cfg and add console=ttyS0 2016-06-24 12:11:30 if you need burn new iso, then you can still extract files from iso, edit same file and create new iso from dir 2016-06-24 12:11:31 <^7heo> it's a little sucky with laptops (since the laptop keyboard works it's fine) 2016-06-24 12:11:41 so its relatively easy to fix 2016-06-24 12:11:44 <^7heo> but it's really annoying with servers and such 2016-06-24 12:11:59 ^7heo: i am pretty sure i added cherry keyb support 2016-06-24 12:12:08 what kernel do you use? grsec or vanilla? 2016-06-24 12:12:08 <^7heo> ncopa: I am pretty sure too 2016-06-24 12:12:13 <^7heo> grsec 2016-06-24 12:12:18 alpine 3.4.0? 2016-06-24 12:12:24 <^7heo> yeep 2016-06-24 12:12:30 <^7heo> 4.4.10-0-grsec 2016-06-24 12:12:36 <^7heo> 11-0 sorry 2016-06-24 12:13:07 it does not work after a full bootup? 2016-06-24 12:13:08 <^7heo> it's fine, I can use the laptop kb 2016-06-24 12:13:22 <^7heo> but the corded kb doesn't input anything 2016-06-24 12:13:37 <^7heo> well, I have another issue, I'm installing alpine on my new work laptop 2016-06-24 12:13:47 <^7heo> and the boot script says "Doesn't mount" 2016-06-24 12:13:57 <^7heo> so I didn't get a "full bootup" yet. 2016-06-24 12:14:05 boot from usb? 2016-06-24 12:14:18 or cdrom 2016-06-24 12:14:58 i think it might be #5479 2016-06-24 12:16:47 <^7heo> usb. 2016-06-24 12:17:23 <^7heo> nah, I can actually use the shell that drops 2016-06-24 12:17:27 <^7heo> so, not the same issue 2016-06-24 12:17:34 does it boot if you add usbdelay=5 to boot prompt? 2016-06-24 12:17:51 ncopa: you're right, i have used Alpine for troubleshooting multiple times so it's not impossible that the scenario could happen, i understand the reason now, thanks 2016-06-24 12:18:10 just testing ii, it is rather neat 2016-06-24 12:18:11 <^7heo> ncopa: I can't even see the boot prompt. 2016-06-24 12:18:14 <^7heo> I'll try. 2016-06-24 12:18:54 <^7heo> what's key to edit the options? 2016-06-24 12:18:56 <^7heo> tab? 2016-06-24 12:19:29 tab 2016-06-24 12:19:42 then: grsec usbdelay=5 2016-06-24 12:19:57 <^7heo> okay 2016-06-24 12:20:23 <^7heo> Same 2016-06-24 12:20:27 <^7heo> "Mounting boot media failed" 2016-06-24 12:22:01 <^7heo> do you know where the mounting happens? 2016-06-24 12:22:09 <^7heo> can I edit that script? 2016-06-24 12:22:15 <^7heo> because I could debug it then 2016-06-24 12:22:49 i believe its here: http://git.alpinelinux.org/cgit/mkinitfs/tree/initramfs-init.in#n388 2016-06-24 12:22:57 do you have working console there? 2016-06-24 12:23:06 run cat /proc/cmdline 2016-06-24 12:23:18 to verify that the usbdelay=5 was actually added 2016-06-24 12:23:19 <^7heo> ok 2016-06-24 12:23:26 then you run: blkid 2016-06-24 12:23:38 and see if your boot device shows up 2016-06-24 12:23:40 <^7heo> I don't actually see the delay. 2016-06-24 12:23:50 so it was not added 2016-06-24 12:23:51 oh 2016-06-24 12:23:53 i know why 2016-06-24 12:23:55 <^7heo> ok? 2016-06-24 12:24:06 its a bug in syslinux+gcc5 2016-06-24 12:24:08 <^7heo> and I can totally mount my boot device manually... 2016-06-24 12:24:11 which also is fixed 2016-06-24 12:24:29 <^7heo> so, what's the next step for me? 2016-06-24 12:24:35 wait for 3.4.1 2016-06-24 12:24:41 <^7heo> I need the system today =/ 2016-06-24 12:24:42 i'm pretty sure its fixed 2016-06-24 12:24:44 ok 2016-06-24 12:24:51 you can use my temp iso 2016-06-24 12:24:52 <^7heo> I'm gonna dl 3.3 then 2016-06-24 12:24:58 <^7heo> and upgrade from there. 2016-06-24 12:25:18 <^7heo> at least 3.3 is known to be stable. 2016-06-24 12:25:33 http://dev.alpinelinux.org/~ncopa/alpine/alpine-edge-160614-x86_64.iso 2016-06-24 12:25:53 fix should be in there ^^^ 2016-06-24 12:25:55 but yes 2016-06-24 12:25:58 <^7heo> you'd use that instead of 3.3? 2016-06-24 12:26:08 only if 3.3 does not boot 2016-06-24 12:26:08 <^7heo> I plan to use edge anyway for my daily use... 2016-06-24 12:26:12 <^7heo> ok 2016-06-24 12:26:56 i will just fix a couple of bugs and then tag 3.4.1 2016-06-24 12:27:00 hopefully today 2016-06-24 12:29:36 <^7heo> oh 2016-06-24 12:29:48 <^7heo> I hope I will fix tmux's UTF-8 detection soon 2016-06-24 12:30:03 <^7heo> it's annoying to have to alias tmux to tmux -u all the time 2016-06-24 12:31:39 ^7heo: Set your environment variables, see http://bugs.alpinelinux.org/issues/5363 2016-06-24 12:32:47 <^7heo> kl3: no, that's just solving the problem by hiding it. 2016-06-24 12:33:04 ^7heo: How's that? 2016-06-24 12:34:07 <^7heo> kl3: checking for env variables isn't the proper way to detect if the locale is UTF-8 2016-06-24 12:35:11 <^7heo> there's nl_langinfo() for that. 2016-06-24 12:35:52 <^7heo> and if nl_langinfo() fails, then it makes sense to getenv("LC_ALL") 2016-06-24 12:36:21 Hi guys, I'm having an issue with groups (I think). The command groups lists all the groups that my user has been added to, but running groups without a username only lists a single group, the group I made for my user. On my other systems, both versions of the command lists all the groups my user is a member of. I added my user to more groups by editing /etc/group. The reason I as is that my user doesn't seem to be 2016-06-24 12:36:22 considered a member of the audio group 2016-06-24 12:36:25 <^7heo> e.g. https://github.com/tmux/tmux/pull/464#issuecomment-228299050 2016-06-24 12:37:12 *ask 2016-06-24 12:37:47 <^7heo> corebob: did you check the behavior documented in POSIX 2016-06-24 12:37:48 <^7heo> ? 2016-06-24 12:38:15 The behaviour of what? 2016-06-24 12:38:44 ^7heo: As nicm says: nl_langinfo() is useful *as well*, but should not be used exclusively. 2016-06-24 12:38:45 <^7heo> groups 2016-06-24 12:39:00 <^7heo> kl3: where did I say it should be used exclusively? 2016-06-24 12:39:45 ^7heo, no 2016-06-24 12:40:04 ^7heo: You kind of imply it by saying "there's nl_langinfo() for that and if nl_langinfo() fails, then it makes sense to getenv("LC_ALL")" 2016-06-24 12:41:09 Imho environment variables should always be used/respected because that's how you usually configure such things as locales, charsets and encodings. 2016-06-24 12:43:04 <^7heo> kl3: I imply nothing. 2016-06-24 12:43:14 <^7heo> kl3: I say what I say; if there's something unclear, feel free to ask. 2016-06-24 12:43:41 <^7heo> kl3: I would actually detect nl_langinfo() first 2016-06-24 12:43:51 <^7heo> since the locale is set in the beginning 2016-06-24 12:44:02 <^7heo> (of the main()) 2016-06-24 12:44:18 <^7heo> but if that fails, getenv is a sane fallback. 2016-06-24 12:44:26 ^7heo: Agreed. 2016-06-24 13:00:33 <^7heo> ncopa: 3.3.3 fails to display any image. 2016-06-24 13:00:41 <^7heo> I guess I'll have to try the new edge iso. 2016-06-24 13:04:50 If cloning anything from git.alpinelinux.org how can one be sure of the integrity? 2016-06-24 13:05:31 without encryption i would think that mitm is possible? 2016-06-24 13:08:09 wogiz: Integrity is provided by the way how git works. 2016-06-24 13:10:21 <^7heo> is there a way to setup alpine with an encrypted root, with lvm, via setup-alpine? 2016-06-24 13:10:28 <_ikke_> wogiz: By either using ssh or https or other encrypted tunnel. plain git protocol is indeed prone to mitm 2016-06-24 13:10:45 <_ikke_> wogiz: unless you use signed commits / tags 2016-06-24 13:12:25 _ikke_: it seems that https is not available for git.alpinelinux.org, how about signed commits / tags? 2016-06-24 13:12:45 wogiz: The authors would have to sign their comits. 2016-06-24 13:13:27 <^7heo> ncopa: the cherry bug only happens with the initram-fs drop-in fallback shell. 2016-06-24 13:13:38 <^7heo> it works fine with the normal shell. 2016-06-24 13:14:22 kl3: but won't you need something to verify the signatures 2016-06-24 13:14:45 <_ikke_> You need a verified public key 2016-06-24 13:16:48 if i clone git://git.alpinelinux.org/aports how can i check that nothing have been tampered with? 2016-06-24 13:17:08 <_ikke_> verifying hashes against a trusted source 2016-06-24 13:21:12 the only trusted source i can think of is the local repository of the developers 2016-06-24 13:22:18 chain-of-trust can also be applied. 2016-06-24 13:26:41 <_ikke_> git.alpinelinux.org does not support https, so that's no help either 2016-06-24 13:29:28 so as longs as https is not available for subdomains of alpinelinux.org, there is no feasible way of verifying cloned repos 2016-06-24 13:42:32 i have read some more about git and it seems that my example: git://git.alpinelinux.org/aports will never be secure, because the git protocol does not support encryption.. 2016-06-24 13:44:48 <_ikke_> git:// itself not, correct 2016-06-24 13:44:56 <_ikke_> git relies on the transport to be secure 2016-06-24 13:45:00 <_ikke_> like ssh, https 2016-06-24 13:57:36 if i understand correctly, the git client can use multiple transport protocols local, http(s), SSH, and git. Git is a protocol by itself that does not support any form of encryption, if one need to verify the remote server the repo should be available over https or SSH, but git protocol do not use https as that would be like saying ftp use www, or am I wrong? 2016-06-24 13:59:18 ^7heo, about the groups, there seems to be some kind of stack based strategy going on, and the shadow package has some utilities I can use to solve my problem. Btw, is there a copy of the POSIX standard available free of charge somewhere? 2016-06-24 14:04:07 <^7heo> corebob: sure: http://pubs.opengroup.org/onlinepubs/9699919799/nfindex.html 2016-06-24 14:06:58 ^7heo, Thanks, appreciate it 2016-06-24 15:21:45 wogiz: HTTPS is utterly broken, you don't really want to rely on it. 2016-06-24 15:24:29 this is a bold statement 2016-06-24 15:26:22 jvoisin: To be precise, I'm referring to it's trust model with all those corrupt CAs out there. 2016-06-24 15:26:47 that's sensible 2016-06-24 15:29:46 And then there are a bunch of technical weaknesses, just search https://media.ccc.de for tags like SSL or HTTPS to get a quick overview. 2016-06-24 15:30:30 Don't get me wrong, I'm happy to have encrypted connections to websites/services, but that doesn't mean I trust/can rely on them at all. 2016-06-24 15:32:22 i mean.. you're using the internet now aint'cha 2016-06-24 15:32:33 it's a shitty situation for sure. 2016-06-24 15:32:54 soiled: Of course I'm using it, it's the only one we have. 2016-06-24 15:33:49 have there ever been movements to create an alternate, open-sourced internet? 2016-06-24 15:34:01 or whatever, not sure exactly what it'd be called 2016-06-24 15:34:34 if you're an ISP startup I guess you have to adhere to certain rules/restrictions set by some gov't agency 2016-06-24 15:34:43 which is where things usually take a turn for the worse 2016-06-24 15:35:08 just another day in the USSA 2016-06-24 15:36:41 kl3 re the ca/trustmodell i think it's rather a fault of the browservendors. you could e.g. pin certs, and then you don't have the trustmodel problems you refer to. 2016-06-24 15:37:35 soiled: Well, for example, people are working on decentralized and distributed networks/services to replace exisiting centralized ones. 2016-06-24 15:38:18 also more a problem with browsers than https is js (browser code) allows many attacks on https (becasue they can generate traffic) that are not applicable to tls in general 2016-06-24 15:38:26 nCn9Ow35Ffww: Sure, but that's extremely inconvenient, alomst noone does that. 2016-06-24 15:38:51 kl3: tor eg uses tls with very short term keys, no CA is involved 2016-06-24 15:38:53 nCn9Ow35Ffww: That's a completely different issue, but yes. 2016-06-24 15:41:32 And even if you disabled all the certificates in your browser and manually went through every single one of them each time you visit a (new) website, you're absoloutely unable to verify anything that's in them, because you're supposed to trust arbitrary entities which take "care" of that. 2016-06-24 15:42:00 for random sites yes. 2016-06-24 15:42:49 but even for them i quite like the convergence approach, to bad it died because the browser vendors are accomplices with the ca-crooks. 2016-06-24 15:44:46 (i still operate 6 convergence nodes though) 2016-06-24 16:01:28 composer depends on php5, php5-phar and php5-json, meaning it blocks upgrades as php5 has been renamed to php (iirc) 2016-06-24 16:01:40 what's the easiest way to fix this? 2016-06-24 16:19:42 alright my bad, it's because the installed php packages I have are still named php-pkgname while they should be php5-pkgname 2016-06-24 16:19:53 so to rephrase, what's the correct way of switching those out? 2016-06-25 09:58:48 systmkor: Have you had a look at those new aports? 2016-06-25 11:29:28 systmkor: I'll make aports for lzlib and plzip now; seems to be a good reason to get into packaging for alpine :) 2016-06-25 13:39:04 So I installed the git-email package and configured git as described in http://wiki.alpinelinux.org/wiki/Development_using_git#Email_configuration in order to send my patches, but 'git send-email patches --nothread' just stalls after printing my patches' filenames. 2016-06-25 13:54:52 Nvm, it was a stupid typo. 2016-06-25 21:57:13 anyone here run docker on alpine? 2016-06-25 21:57:21 i just installed the package and it doesn't work :( 2016-06-25 21:57:34 i get: 2016-06-25 21:57:37 docker: Error response from daemon: rpc error: code = 2 desc = "oci runtime error: could not synchronise with container process: no such device". 2016-06-25 21:58:50 maybe i need to upgrade my outdated kernel 2016-06-25 22:12:40 hello 2016-06-25 22:28:29 ok that fixed it 2016-06-25 22:28:35 so it's just incompatible with older kernels 2016-06-26 22:23:34 Hey, I'm trying to run the xen live CD (alpine-xen-3.4.0-x86_64.iso). My computer doesn't even boot properly. 2016-06-26 22:24:33 I first tried in a VM (qemu on linux and VirtualBox on Windows). Since I couldn't boot, I assumed it was a problem related to Xen not runing on real hardware 2016-06-26 22:25:46 I then dd'd the ISO to an USB drive, and plugged it in a -relatively recent- laptop. Same problem 2016-06-26 22:26:45 The only things I found on the internet related to my problem is http://forum.alpinelinux.org/forum/installation/unable-install-34xen-dl380g4-clocksource who seems to have a similar problem (0 answers) 2016-06-26 22:29:48 I also tried to start with a "normal" install, and add xen on top of it by following the wiki. Instructions seems outdated (/boot/extlinux.cfg is already modified when installing Xen. It refers to non-existing files...), and I have a different problem this way: OS cannot mount /proc/xen (this is why I gave up and try going with the xen-ready ISO) 2016-06-26 22:50:18 :q 2016-06-27 00:47:29 Anyone had luck with this? ec2 AMI. http://wiki.alpinelinux.org/wiki/Install_Alpine_on_Amazon_EC2 2016-06-27 00:48:33 that's rather old but if you're familiar with installation-via-dd it's not too difficult 2016-06-27 00:50:30 ammunta I followed it exactly, and my instance appears to die. Any advice? 2016-06-27 00:51:51 I booted a local alpine instance and made the amazon.apkovl.tar.gz and copied it to target, with all the grub stuff. They mention 2.4.5 though; I'm using 3.4.0. 2016-06-27 00:55:31 I'm a bit new to AWS, but I suspect it's the grub instructions. 2016-06-27 01:03:08 It actually gives me no console output.... 2016-06-27 01:25:28 Somewhat different guide here, FYI: https://gist.github.com/kennwhite/d89174749ce468f7c455 2016-06-27 06:20:11 hello, I recently updated from 3.1 to 3.4 and I've been having some issues. At boot I see the error "error: modloop failed to start" 2016-06-27 06:20:25 I'm wondering for starters if this has to do with anything 2016-06-27 07:01:31 hi, Im getting this error when trying to format a mdamd raid 2016-06-27 07:01:36 /dev/md0 is apparently in use by the system; will not make a filesystem here! 2016-06-27 07:02:03 I can't reboot, is there something I could try? 2016-06-27 08:31:20 what does cat /proc/mdstat 2016-06-27 08:32:51 say 2016-06-27 08:36:51 ScrumpyJack: finally I rebooted 2016-06-27 08:37:26 now it works fine but it ignores my /etc/mdadm.conf and assembles it on /dev/md127 instead /dev/md0 2016-06-27 08:37:39 now I have this problem with libvirt error: Control groups not supported on this platform: No such device or address 2016-06-27 10:21:33 almost all stuff I found about this error it's related with Alpine, however I don't found a succefull fix 2016-06-27 10:21:39 Mo0O: do you remeber it? 2016-06-27 10:45:56 donoban: just through libvirt out the window as quickly and as aggressively as possible 2016-06-27 10:47:38 *throw 2016-06-27 10:50:33 bad experiences with it? 2016-06-27 10:52:56 and what could i do with this? 2016-06-27 10:52:57 [ 9837.736119] qemu-system-x86[6546]: segfault at 7b8dba9b8500 ip 00000e7babeab907 sp 00007b8dba9b8500 error 6 in qemu-system-x86_64[e7babcca000+553000] 2016-06-27 10:52:57 [ 9837.736138] grsec: From 46.25.127.3: Segmentation fault occurred at 00007b8dba9b8500 in /usr/bin/qemu-system-x86_64[qemu-system-x86:6546] uid/euid:0/0 gid/egid:0/0, parent /bin/busybox[init:1] uid/euid:0/0 gid/egid:0/0 2016-06-27 10:52:57 [ 9837.736188] grsec: From 46.25.127.3: denied resource overstep by requesting 4096 for RLIMIT_CORE against limit 0 for /usr/bin/qemu-system-x86_64[qemu-system-x86:6546] uid/euid:0/0 gid/egid:0/0, parent /bin/busybox[init:1] uid/euid:0/0 gid/egid:0/0 2016-06-27 12:18:18 donoban: do you have a simple way to reproduce it? 2016-06-27 12:31:40 oh, btw, doesn't necessarily apply to donoban's case but I've been porting certain packages to Alpine and noticed some packages just don't like the -Os CFLAG, it in some rare cases produces packages that segfault 2016-06-27 12:32:53 alpine:~$ git clone https://github.com/gmkurtzer/singularity 2016-06-27 12:32:53 Cloning into 'singularity'... 2016-06-27 12:32:53 fatal: unable to access 'https://github.com/gmkurtzer/singularity/': Unknown SSL protocol error in connection to github.com:443 2016-06-27 12:33:40 curl on the same url -> curl: (35) Unknown SSL protocol error in connection to github.com:443 2016-06-27 12:33:59 but wget -O - https://github.com/gmkurtzer/singularity/ works fine 2016-06-27 12:34:44 alpine 3.4 x86_64 installed last week and freshly updated 2016-06-27 12:36:51 ncopa: I think it's very easy to reproduce, just install libvirt/virt-manager and try to create a VM 2016-06-27 12:37:02 I think I would try with vanilla kernel 2016-06-27 12:44:21 me too; of course a long term solution would be to provide a grsec policy file for it, but that means a bit of extra work 2016-06-27 12:45:11 not sure if Alpine as a distribution does this; EL variants, supporting selinux, usually have ready-made policy configs in separate packages 2016-06-27 12:49:08 I tried disabling protections with paxctl without success 2016-06-27 12:49:44 it's a bit of a hit and miss type of process, paxctl 2016-06-27 12:52:13 I've tried disabling all, also modifying ulimits -c 2016-06-27 12:52:56 - PaX flags: ---s-m-x---- [/usr/bin/qemu-system-x86_64] 2016-06-27 12:52:56 SEGMEXEC is disabled 2016-06-27 12:52:56 MPROTECT is disabled 2016-06-27 12:52:56 RANDEXEC is disabled 2016-06-27 12:53:08 # qemu-system-x86_64 --help 2016-06-27 12:53:08 Segmentation fault 2016-06-27 12:53:11 hehe 2016-06-27 12:55:19 I think it works before I touch paxctl 2016-06-27 12:58:05 qemu-system-x86_64-gtk works for me here 2016-06-27 12:58:21 that is qemu-2.6.0-r1 2016-06-27 12:58:35 donoban: what qemu is it? from alpine v3.4? 2016-06-27 12:59:39 yes, main alpine v3.4 2016-06-27 13:00:25 does work if you run it from cmdline? 2016-06-27 13:00:28 why gtk? 2016-06-27 13:00:42 uhM, yesterday I've started a VM with it from cmdline 2016-06-27 13:00:43 so i have graphical interface 2016-06-27 13:00:55 now let me try 2016-06-27 13:01:14 what exact version of qemu is it? 2016-06-27 13:01:17 apk version qemu 2016-06-27 13:01:22 there was a fix pushed today 2016-06-27 13:01:28 qemu-2.5.1-r3 2016-06-27 13:02:04 does qemu-2.5.1-r4 work? 2016-06-27 13:02:16 where is it? on testing? 2016-06-27 13:02:20 edge? 2016-06-27 13:02:36 `apk upgrade -U` should be enough 2016-06-27 13:02:41 its in 3.4 branch 2016-06-27 13:02:57 nothing, maybe my mirror is outdated 2016-06-27 13:03:07 liskamm.alpinelinux.uk 2016-06-27 13:03:28 it may show up in an a couple of hours 2016-06-27 13:03:59 ok, now it's updated 2016-06-27 13:04:14 I can run it now 2016-06-27 13:04:19 let me try with libvirt... 2016-06-27 13:05:18 same 2016-06-27 13:06:01 http://tpaste.us/2KWb 2016-06-27 13:08:32 with cmdline it works, qemu-system-x86_64 --name lol -m 512 --cdrom alpine-3.4.0-x86_64.iso 2016-06-27 13:08:32 VNC server running on '127.0.0.1:5900' 2016-06-27 13:11:48 I need to move some big sparsed files, busybox cp doesn't handle sparse, and rsync has some CPU bottleneck 2016-06-27 13:11:55 what could I try? 2016-06-27 13:24:58 apk add coreutils 2016-06-27 13:25:13 and you get gnu coreutils' cp 2016-06-27 13:29:32 does dd support sparse files? 2016-06-27 13:35:57 donoban: i've been through all of libvirt code and had to use it in anger. it's an atrocious peice of garbage and imho, extremely dangerous. 2016-06-27 13:47:55 konobi: ack, libvirt is a nightmare, threw back virtualization a few years just so RH could make more money 2016-06-27 13:48:06 TBB: yes, but not very efficiently 2016-06-27 13:48:12 i've got some doc on it, moment 2016-06-27 13:48:45 generally, dd if=/dev/zero of=blah count=1 seek=10240 or so if it's a new one 2016-06-27 13:48:51 here's for more complex scenarios 2016-06-27 13:48:57 http://confluence.wartungsfenster.de/display/Adminspace/OpenNebula+Import+VM+as+sparse 2016-06-27 13:49:11 (going through cp to ensure as sparse as possible) 2016-06-27 13:49:28 http://confluence.wartungsfenster.de/display/Adminspace/Making+half-sparse+VM+images mixing sparse and not sparse 2016-06-27 14:01:21 uhM, do you suggest another way for handle VM's which can be used for non-geek users? 2016-06-27 14:01:57 docker? 2016-06-27 14:02:13 uhm docker is about lxc or also VM's? 2016-06-27 14:02:31 containers 2016-06-27 14:03:19 donoban: there's very little reason to need a full VM these days 2016-06-27 14:06:22 are Windows VM's 2016-06-27 14:06:48 ugh 2016-06-27 14:06:58 hehe 2016-06-27 14:07:19 well, you could always run qemu with kvm inside a container 2016-06-27 14:10:24 I'm gonna try to get the qemu command that libvirt executes and grsec kills 2016-06-27 14:17:18 arf I will try with vanilla 2016-06-27 15:58:36 donoban: jirutka made some init.d scripts to start/stop qemu machine 2016-06-27 15:58:53 i havent looked at it, but i suppose it will let you autostart vms at boot 2016-06-27 15:59:03 and start/stop vms as if they were a service 2016-06-27 15:59:33 donoban: i dont think its grsec that kills it 2016-06-27 15:59:33 uhM, I will check it 2016-06-27 15:59:36 it said segfault 2016-06-27 15:59:49 grsec only prevent generation of core 2016-06-27 15:59:57 core dump 2016-06-27 16:00:02 ouch 2016-06-27 16:00:24 you can get the dump by setting: ulimit -c unlimited 2016-06-27 16:00:41 in /etc/conf.d/libvirtd you can add: rc_ulimit="-c unlimited" 2016-06-27 16:01:26 half a year ago I ran windows in libvirt/qemu daily 2016-06-27 16:01:38 so i know it used to work 2016-06-27 16:02:27 and it wrked pretty well too 2016-06-27 16:02:49 used virtio drivers, spice display driver 2016-06-27 16:03:08 [29064.026363] qemu-system-x86[7784]: segfault at 6e31dcc17500 ip 000003a57c653907 sp 00006e31dcc17500 error 6 in qemu-system-x86_64[3a57c472000+553000] 2016-06-27 16:03:08 [29064.026382] grsec: From 46.25.127.3: Segmentation fault occurred at 00006e31dcc17500 in /usr/bin/qemu-system-x86_64[qemu-system-x86:7784] uid/euid:0/0 gid/egid:0/0, parent /bin/busybox[init:1] uid/euid:0/0 gid/egid:0/0 2016-06-27 16:03:35 I do run into problems with spice on linux virtuals and haven't quite figured out what the problem is 2016-06-27 16:03:44 it should use VNC 2016-06-27 16:03:49 eventually I will, of course 2016-06-27 16:04:01 are you sure is not grsec ncopa? 2016-06-27 16:06:18 yes 2016-06-27 16:06:20 well 2016-06-27 16:06:24 99% sure 2016-06-27 16:06:36 you can disable pax to verify 2016-06-27 16:06:41 pax_softmode=1 2016-06-27 16:06:46 uhM, it seems hard to debug 2016-06-27 16:06:52 in /proc/sys/kernel/pax something 2016-06-27 16:07:02 I replaced boot foolder for try with vanilla kernel 2016-06-27 16:07:26 echo pax_softmode=1 /proc/sys/kernel/pax/softmode 2016-06-27 16:07:44 echo 1 /proc/sys/kernel/pax/softmode 2016-06-27 16:07:50 with >, right? 2016-06-27 16:07:58 yes 2016-06-27 16:08:02 i'm in a mtg now 2016-06-27 16:08:27 same crash 2016-06-27 16:09:29 also works as kernel boot parameter, that one 2016-06-27 16:32:45 donoban: checked the system logs... grsec should be giving you more thorough information if it's blocked something 2016-06-27 16:33:33 /var/log/messages? 2016-06-27 17:14:11 it worked 2016-06-27 17:14:35 I changed some options of the xml, I'm not sure what option exactly fixed it, but probably was changing graphics from vmvga to cirrus 2016-06-27 17:19:45 all settings disabled! 2016-06-27 17:19:54 whoops 2016-06-27 17:21:05 Hi, I begin to using Docker and it says that runs with a lightweight containers. But when I see e.g., jboss/wildfly image I can see that it relies on the CentOS 7 image. I suppose that it run the entire distro with all the default running services and default OS file footprints, so I think that all these set should be reduced in order to lightweight OS. Do you know if exist another way to get good performance of a lightweight OS? 2016-06-27 17:21:30 donoban: oh yeh, device settings, makes perfect sense. I did google stuff when you mentioned your problem and ran into some AV hardware related problems like yours 2016-06-27 17:24:06 well I hope that I could migrate all them, I will continue later ty for your help guys 2016-06-27 17:24:52 donoban: ah... probably don't have the vmware hardware extensions in qemu 2016-06-27 17:26:03 I suppose spice + qxl is the way to go 2016-06-27 17:26:21 although, it too has its problems... but then, what doesn't? 2016-06-27 18:16:22 ola 2016-06-27 18:16:32 i try to install alpine linux 2016-06-27 18:16:55 when i must select a harddisk is ask for sys, data lvm ? 2016-06-27 18:17:41 but with all of the at erase disk it says "failed to add partition: invalid argument 2016-06-27 18:24:11 I'm having an issue using alpine with docker, is this the right place for help? 2016-06-27 18:28:18 yes 2016-06-27 18:28:30 some days ago someone had problems with docker, too 2016-06-27 18:28:40 I don't know if there was a solution 2016-06-27 18:29:27 shawnva: And keep in mind that this is IRC… can take quite some time until someone comes online to answer 2016-06-27 18:29:46 cool, better late than never :p 2016-06-27 18:30:08 I was running docker 1.9 with this as the first thing in the dockerfile http://pastebin.com/9SaWRQXe and it was working fine 2016-06-27 18:30:56 I tried to build it on a different machine that was running docker version 1.11 and `apk add ...` was failing to include the php packages 2016-06-27 18:31:35 I ran it again locally and it worked (version 1.9, --no-cache) so I updated (to docker version 1.12) and it fails with the exact same issue 2016-06-27 18:31:45 it seems to not be able to find the php packages. 2016-06-27 18:32:06 I don't think it's really a docker issue, but that's the only thing I know of that's changed 2016-06-27 18:32:53 here's the full log http://pastebin.com/QS4MxZ5Y 2016-06-27 18:33:45 shawnva: Oh, afaik the php-* packages were renamed to php5-* and php7-* … perhaps that already solves your problem :-) 2016-06-27 18:39:57 @jomat cool thanks, looks like that'll solve the issue 2016-06-27 18:40:34 glad I could help :-) 2016-06-27 19:16:56 I think that I discovered the problem with qemu/libvirt 2016-06-27 19:17:24 Serial pty device is doing them crash 2016-06-27 19:18:06 uhM 2016-06-27 19:18:29 now it started one with serial device, :( 2016-06-27 19:29:25 Hi, I begin to using Docker and it says that runs with a lightweight containers. But when I see e.g., jboss/wildfly image I can see that it relies on the CentOS 7 image. I suppose that it run the entire distro with all the default running services and default OS file footprints, so I think that all these set should be reduced in order to lightweight OS. Do you know if exist another way to get good performance of a lightweight OS? 2016-06-27 19:32:43 there are ways; the question is how much work are you willing to put into it 2016-06-28 07:10:05 ey ncopa, all working fine, it seems that my VM's had some properties from Ubuntu install 2016-06-28 07:41:55 Hello 2016-06-28 07:42:29 I am having an issue where apk does not seem to respect http proxy settings 2016-06-28 07:42:34 Anybody who can shed some light? 2016-06-28 07:44:06 I can run "export http_proxy=x.x.x.x:yyyy && export https_proxy=x.x.x.x:yyyy && wget http://dl-cdn.alpinelinux.org/alpine/v3.4/community/x86_64/APKINDEX.tar.gz" 2016-06-28 07:44:16 That works just fine and I can untar the tar.gz file it downloads 2016-06-28 07:44:36 However when I try replacing the wget with apk update I just get 2016-06-28 07:44:51 fetch http://dl-cdn.alpinelinux.org/alpine/v3.4/community/x86_64/APKINDEX.tar.gz ERROR: http://dl-cdn.alpinelinux.org/alpine/v3.4/community: network error (check Internet connection and firewall) 2016-06-28 07:46:22 sx 2016-06-28 07:46:25 z 2016-06-28 07:46:29 Oops sorry 2016-06-28 10:19:10 are u going to upgrade kernel? I saw security announces from Debian and Ubuntu 2016-06-28 10:21:38 Alpine is well known for its extremely slow kernel update cycle :P 2016-06-28 10:21:43 (yes, I'm being sarcastic) 2016-06-28 10:23:44 hehe 2016-06-28 10:24:02 <_ikke_> I think because they rely on grsec patches? 2016-06-28 10:25:44 that is one factor for sure, grsecurity releases their patchset when they feel it is ready 2016-06-28 12:34:27 "extremely slow" 2016-06-28 12:34:34 thanks... that was encouraging... 2016-06-28 12:35:00 i pushed 4.4.14 kernels yesterday 2016-06-28 12:35:14 the rpi kernel is currently building 2016-06-28 12:35:20 <^7heo> ncopa: he placed the tag on the next line. 2016-06-28 12:35:31 once we get new arm build server up it should be faster 2016-06-28 12:37:34 unfortunally people dont understand irony/sarcasm so they will conclude that alpine is slow on updating - while ubuntu is not 2016-06-28 12:37:45 in this case, i dont know, because i havent checked 2016-06-28 12:38:27 but generally, i think we do relatively good when it comes to sec fixing 2016-06-28 12:39:15 i dont think we are generally slower than ubuntu or redhat 2016-06-28 12:39:33 and i would not be surprised if we are faster in average 2016-06-28 12:43:24 <_ikke_> relevant: https://en.wikipedia.org/wiki/Poe%27s_law 2016-06-28 12:45:44 ncopa: I specifically used a second sentence to underline the fact the previous one was sacrasm, as I know from experience smileys just don't work. I have no complaints about kernel update speed, on the contrary :) 2016-06-28 12:46:59 the poe's law link above explains the problem :) 2016-06-28 12:47:09 i think i'll add a smile on everything i say :) 2016-06-28 12:47:19 just in case :) 2016-06-28 12:51:39 Anyone running on AWS? I'm trying to figure out how exactly Amazon does OS checking. They don't accept imports of 'unsupported' OSs, and doing an install-via-ebs isn't that fun. 2016-06-28 12:53:18 jyaworski: maybe create an issue on AWS support, and request for alpine support? 2016-06-28 12:53:30 if many enough asks for it they may provide it 2016-06-28 12:54:41 I suppose anything is possible. They seem to only provide 'major' OSs. 2016-06-28 12:56:37 hello guys have a good day 2016-06-28 12:56:57 i am trying to compile new software in alpine-linux 2016-06-28 12:57:14 but always produce an error 2016-06-28 12:57:53 what is the exact error? 2016-06-28 12:58:20 system.h:125:23: fatal error: asm/types.h: No such file or directory 2016-06-28 12:58:32 try add linux-headers 2016-06-28 12:59:02 hi copa thanks i try to build coovachilli 2016-06-28 12:59:41 because apk add not start chilli 2016-06-28 13:00:57 ncopa: you are faster on average than Debian, which is also faster than ubuntu :P 2016-06-28 13:01:54 donoban: thanks but its not my fault 2016-06-28 13:02:08 i think rnalrd does a great job there too 2016-06-28 13:04:25 thankyou for quick answer i am pass this error but now new errors 2016-06-28 13:04:38 sorry for alien english 2016-06-28 13:04:42 and new error is? 2016-06-28 13:05:32 d/usr/include/netinet/if_ether.h:96:8: error: redefinition of struct ethhdr 2016-06-28 13:05:39 oh 2016-06-28 13:05:42 that is tricker 2016-06-28 13:05:57 oh 2016-06-28 13:06:10 can you find theexact file that pulls that in? 2016-06-28 13:06:24 ok 2016-06-28 13:06:27 In file included from system.h:128:0, 2016-06-28 13:06:29 from chilli.h:24, 2016-06-28 13:06:31 from chilli.c:21: 2016-06-28 13:06:38 i think it can be worked around by moving "#include " to the end 2016-06-28 13:06:42 check system.h 2016-06-28 13:06:55 you have some #include lines 2016-06-28 13:06:59 move those down 2016-06-28 13:07:08 so they are at the end of the #include <....> 2016-06-28 13:07:21 that is, include linux headers last 2016-06-28 13:07:55 yes many lines here like #include 2016-06-28 13:08:22 move those so down a bit 2016-06-28 13:08:32 you mean move end of line of file 2016-06-28 13:08:37 no 2016-06-28 13:08:51 there are more #include which are not linux/* 2016-06-28 13:09:03 yes 2016-06-28 13:09:07 move the linux/* includes below the other includes 2016-06-28 13:09:16 ok 2016-06-28 13:09:18 so linux headers are included last of the includes 2016-06-28 13:12:54 i was look your text 2 years ago 2016-06-28 13:13:03 about coovachilli 2016-06-28 13:13:16 I'm writing release notes for 3.4.1. is this ok? http://wwwtest.alpinelinux.org/posts/Alpine-3.4.1-released.html 2016-06-28 13:13:37 anything anyone thinks should be mentioned in release notes? 2016-06-28 13:14:36 no 2016-06-28 13:14:50 https://bugs.alpinelinux.org/issues/3102 2016-06-28 13:15:43 the default settings wont start chilli 2016-06-28 13:16:07 the error is unknown option uid 2016-06-28 13:16:26 sounds like a relatively simple thing to fix 2016-06-28 13:17:08 system stuck this message 2016-06-28 13:17:10 system:~# /etc/init.d/chilli start 2016-06-28 13:17:12 * Caching service dependencies ... [ ok ] 2016-06-28 13:17:14 * Starting CoovaChilli Captive Portal ... 2016-06-28 13:21:28 i think this try to find freeradius 2016-06-28 13:21:46 i installed but i cant find any freeradius configuration files 2016-06-28 13:21:56 normally in /etc/freeradius 2016-06-28 13:23:13 ok thanks for help 2016-06-28 13:23:22 i'm sorry i cannot help you more 2016-06-28 13:23:34 maybe tomorrow if you ping me then 2016-06-28 13:23:48 ok 2016-06-28 13:23:54 Hi, Im not getting an answer on my bug.. ideas what I'm doing wrong ? https://bugs.alpinelinux.org/issues/5761 2016-06-28 13:24:06 This is in an official alpine image 2016-06-28 13:24:15 i will try 2016-06-28 13:24:19 thanks 2016-06-28 13:26:36 nindustries: that looks like underlinking issue 2016-06-28 13:26:49 or the pdo_pgsql needs to be rebuilt 2016-06-28 13:27:02 i dont have time to look at it now 2016-06-28 13:27:10 will try remember it tomorrow 2016-06-28 13:28:08 nindustries: i think the ldd errors are no real errors 2016-06-28 13:28:24 i think those modules are supposed to be dlopen'ed from php 2016-06-28 13:28:37 in which case you would have all those php symbols 2016-06-28 13:29:15 nindustries: can you load the modules from php? 2016-06-28 13:36:34 ncopa: Well it crashes 2016-06-28 13:36:42 That's the reason I used ldd 2016-06-28 13:42:34 ncopa Amazon apparently doesn't want me to write a forum post about requesting alpine; it won't let me post at all. I'll try tomorrow. For now I'm messing with /etc/os-release. 2016-06-28 13:46:34 Also 3.4.1 looks good to me. 2016-06-28 13:55:29 AWS checks more than /etc/os-release it seems. 2016-06-28 15:34:05 Hi all. Anybody using Alpine with xfce4? If so - what email client do you use? 2016-06-28 15:36:29 mutt ;p 2016-06-28 16:01:38 emerson, :-) 2016-06-28 16:02:14 I guess we lost some packages when moving to musl. We had midori before - I can't seem to find it now when upgrading my laptop to alpine 3.4 2016-06-28 16:02:47 looks like it's in the community repo 2016-06-28 16:02:53 openssl s_client -connect chat.freenode.net:6697 2016-06-28 16:02:55 oops 2016-06-28 16:03:01 http://pkgs.alpinelinux.org/package/v3.4/community/x86_64/midori 2016-06-28 16:05:58 emerson, Thanks. But it does not seem to be on the mirrors 2016-06-28 16:08:59 i see it on http://dl-2.alpinelinux.org/alpine/v3.4/community/x86_64/midori-0.5.11-r0.apk 2016-06-28 16:09:57 ah, it isn't built for arm 2016-06-28 16:10:02 that might be why 2016-06-28 17:02:42 thanks emerson! You solved it for me. Turns out I haven't been following on what repositories there is (and their details) 2016-06-28 17:02:50 cool! 2016-06-28 17:02:54 I did not have the 'community' added 2016-06-28 17:03:01 ACTION didn't know it was there 2016-06-28 17:03:23 Added it to /etc/apk/repository and now I found midori (and most likely some other useful tools aswell) - so thanks! 2016-06-28 17:16:32 what was the procedure for returning the favour and adding new packages to Alpine's aports again? (just a link to the wiki will do fine) 2016-06-28 17:17:07 <_ikke_> This: https://wiki.alpinelinux.org/wiki/Creating_an_Alpine_package ? 2016-06-28 18:54:57 ACTION cracks knuckles and starts to figure out what sort of upgrade process alpine has 2016-06-28 18:55:50 <_ikke_> For an update like this, I would think apk update && apk upgrade 2016-06-28 18:55:57 me too. testing that now 2016-06-28 18:59:53 apk upgrade -U -a --simulate 2016-06-28 19:00:02 and then remove -U and simulate 2016-06-28 19:00:06 if everything was fine 2016-06-28 19:53:01 I tried Alpine-xen-3.4.1's iso, and I still can't boot it. (VM and real hardware) Does anyone here managed to boot a xen ISO after 3.3.3 ? 2016-06-28 19:56:01 XeR: not me, i manually installed xen 2016-06-28 19:56:10 maybe royger 2016-06-28 19:57:28 I tried that as well... but I had error messages at boot stating that it /proc/xen did not exist. I managed to install alpine-xen-3.3.3 but it's not the latest version :( 2016-06-28 19:59:57 i can help you get the normal thing working 2016-06-28 20:00:15 by the error message you have one of two possible issues 2016-06-28 20:00:24 a) didn't install xen-hypervisor package 2016-06-28 20:00:42 b) didn't change the boot entry in extlinux.conf to the xen kernel 2016-06-28 20:00:53 (and update-extlinux) 2016-06-28 20:01:19 this piece: 2016-06-28 20:01:19 default=xen-grsec 2016-06-28 20:01:27 Oh I need to run update-extlinux ? This was not mentionned on the wiki :( 2016-06-28 20:01:42 it depends on the order 2016-06-28 20:02:19 it's triggered by some things but generally it has to be run after you change the file in /etc 2016-06-28 20:02:50 let me know if it works, i'll try to actually do some stuff 2016-06-28 20:03:38 Yeah, my problem definitely comes from this file... I edited the one from /boot, and not the one from /etc. Let me restart from a clean install and I'll tell you if it works :) 2016-06-28 20:04:07 ah hmm 2016-06-28 20:04:14 well then there's two probs 2016-06-28 20:04:25 the one in /boot should've been "okish" 2016-06-28 20:04:35 but anyway, /etc/ + update is proper way 2016-06-28 20:10:36 Hmmm... now I don't have the /proc problem. But I'm stuck in the boot loop again :( 2016-06-28 20:10:49 Any way to recover the logs ? 2016-06-28 20:15:00 yuck 2016-06-28 20:15:16 probably not, if it's the xen watchdog that kills it 2016-06-28 20:15:17 ah wait 2016-06-28 20:15:26 did you set dom0_mem? 2016-06-28 20:16:01 No, how much should I set it o ? 2016-06-28 20:16:03 to* 2016-06-28 20:16:07 i had to remove that on my last update 2016-06-28 20:16:14 no, if not then it's something else 2016-06-28 20:16:16 gah 2016-06-28 20:17:30 do you see any linux kernel messages or just xen? 2016-06-28 20:18:22 https://xer.forgotten-legends.org/upload/bin/2016/06/28/Alpine%20Linux%20%28Xen%29-2016-06-28T20-11-09-936624200Z.webm || I took a video : first I try to boot with xen on 3.4, then I downgrade and it works 2016-06-28 20:18:26 Only xen messages 2016-06-28 20:18:33 i'll watch, sec 2016-06-28 20:19:08 (Last message talks about CPU, so I tried with 4 CPU, but it didn't work either) 2016-06-28 20:19:58 this day sucks, i can't play it, chrome just shows me the boot menu 2016-06-28 20:21:06 now 2016-06-28 20:21:06 sec 2016-06-28 20:22:11 ok so it seems to crash the instant before it loads the kernel 2016-06-28 20:22:19 please hit tab on the boot loader 2016-06-28 20:22:33 it'll let you edit the command line 2016-06-28 20:22:54 this looks in fact exactly like the issue i had where i needed to remove the dom0_mem parameter. 2016-06-28 20:23:10 i just wanna be sure it's not this because then we got a good way to solve it 2016-06-28 20:23:25 if it's not then you'll have to ask again tomorrow when someone deeper in xen is around 2016-06-28 20:23:28 I have xen_opts=dom0_mem=256M in update-extlinux.conf 2016-06-28 20:23:55 ok please remove that and update-extlinux again 2016-06-28 20:24:02 like xen_opts="" 2016-06-28 20:24:18 we might win :) 2016-06-28 20:25:06 Nope :( 2016-06-28 20:25:30 ok then please double check by looking at the boot argument 2016-06-28 20:25:33 (the tab thing) 2016-06-28 20:25:48 and if it's not that, i don't know what else to try 2016-06-28 20:26:44 .com32 mboot.c32 xen.gz --- vmlinuz-grsec root=UUID=... modules=... quiet --- initramfs-grsec 2016-06-28 20:27:31 ok that should work 2016-06-28 20:27:40 could be a vbox issue but i find that unlikely 2016-06-28 20:28:29 Even though I did not try by removing xen_opts, I had the same problem on my laptop 2016-06-28 20:28:48 :( 2016-06-28 20:28:50 (I switch to VBox because it's much faster to test) 2016-06-28 20:29:08 makes sense :) 2016-06-28 20:29:34 yeah so sadly i have no idea what problem you hit, please ask again tomorrow, when royger is around 2016-06-28 20:29:55 I tried to replace quiet by console=ttyS0 to get kernel logs, but it looks like it crashes just before the kernel kicks in :( 2016-06-28 20:30:10 It's okay, I appreciate your help, thanks again :) 2016-06-28 20:30:33 yeah this is a xen issue 2016-06-28 20:30:43 or a wrong kernel path issue at best 2016-06-28 20:30:59 there's not a single line of linux output in your video 2016-06-28 20:32:31 I'm a bit astonished that nobody met this error before, and that it occurs on my laptop AND on VirtualBox 2016-06-28 20:32:53 But heh, I'm probably unlucky :p 2016-06-28 20:33:16 I have trouble trying to run UI tests inside a docker container 2016-06-28 20:33:39 I've added x11vnc, xvfb and gtk+ but I still get an error 2016-06-28 20:33:53 like DISPLAY isn't set 2016-06-28 20:34:11 org.eclipse.swt.SWTError: No more handles [gtk_init_check() failed] 2016-06-28 20:34:25 that's usually when there's no display... 2016-06-28 20:34:30 Maybe I should try with an Ubuntu image 2016-06-28 20:53:34 has anybody had success getting shared folders to work with open-vm-tools in VMware? 2016-06-29 02:42:53 hello there 2016-06-29 07:11:26 hello there too 2016-06-29 07:32:18 I do not remember who, but did you have time to look at my bug report? 2016-06-29 07:35:38 which one? 2016-06-29 08:49:38 <_ikke_> https://bugs.alpinelinux.org/issues/5761 2016-06-29 08:50:00 <_ikke_> brooqs said he would try to look at it 2016-06-29 08:51:22 riight 2016-06-29 08:51:39 thanks _ikke_ 2016-06-29 09:01:56 it looks like those aports need a rebuild against updated libraries in the repos 2016-06-29 09:14:39 Hi, I had found out that https://wiki.alpinelinux.org/wiki/Alpine_Linux:Site_improvements seems seriously outdated, it's last edited 4 years ago. 2016-06-29 10:05:28 pickfire: maybe we just dleete it? 2016-06-29 10:46:01 talking about site improvements... It would be nice to have similar to debian https://packages.debian.org/ for pkgs.alpinelinux.org 2016-06-29 10:46:35 e.g.: https://packages.debian.org/xfce 2016-06-29 12:45:09 I think I saw a mention of mdev rule changes regarding some devices, probably display adapters 2016-06-29 13:08:30 uhM 2016-06-29 13:08:52 I can't assemble /dev/md0 2016-06-29 13:09:15 I get it assembled readonly on /dev/md127 but I cant luksOpen it 2016-06-29 13:12:24 * ERROR: mdadm-raid failed to start 2016-06-29 13:13:29 it worked after stoping /dev/md127 2016-06-29 13:18:28 anyone have a suggestion how to resize/move an ntfs and a fat partition? 2016-06-29 13:18:48 seems like recent parted no longer support move and rezise 2016-06-29 13:36:59 ncopa: use windows? 2016-06-29 13:41:41 i dont think windows will be happy when i move the C: partition 2016-06-29 13:41:53 its the windows partition i want move 2016-06-29 13:42:18 the problem is that windows created the EFI boot partition too smal 2016-06-29 13:42:31 i need have space there for my kernels 2016-06-29 13:42:53 so need to shrink the windows ntfs paritition, move it a bit forward 2016-06-29 13:43:03 move the "reserved" partition that is in between 2016-06-29 13:43:09 and finally extend the efi boot partition 2016-06-29 13:48:29 why wouldnt that work in windows? 2016-06-29 13:59:28 *ncopa uses windows*! 2016-06-29 14:00:07 several Angels just died 2016-06-29 14:03:57 no worries ScrumpyJack, they were business angels, all of them 2016-06-29 14:22:28 hi everyone 2016-06-29 14:23:48 can someone explain me how different is the docker haproxy:alpine official image 2016-06-29 14:23:54 this -> https://github.com/docker-library/haproxy/blob/6298ef75a7eddeae3b8fbf5137e6eba69a41ff81/1.6/alpine/Dockerfile 2016-06-29 14:24:38 from doing just "FROM alpine:latest ---- RUN apk add haproxy" inside Dockerfile? 2016-06-29 14:24:57 why compile it if there is a package for it? 2016-06-29 14:58:08 hi guys. I'm new to Alpine. I just installed it in a VM and I'm trying to add some useful packages 2016-06-29 14:58:34 unfortunately, I get ERROR: unsatisfiable constraints: and I'm stuck 2016-06-29 14:59:42 what package? 2016-06-29 14:59:45 alpine:~# apk add apache2-2.4.20-r2 2016-06-29 14:59:55 apache2-2.4.20-r2 (missing): 2016-06-29 14:59:59 just apache2 2016-06-29 15:00:07 it adds the version for you 2016-06-29 15:01:02 emerson: many thanks, it works wniderfully 2016-06-29 15:01:17 you're welcome 2016-06-29 15:31:52 Yeah, I also think that the wiki page need adjustment. 2016-06-29 15:53:01 oh wow… now I got a server without the ability to boot into a rescue system… so my headless alpine install has to work at the first try:-) 2016-06-29 15:58:53 live dangerously, live to the max 2016-06-29 16:27:46 perhaps I'll just prepare two images in a vm to wget -O/dev/sd[ab] them… 2016-06-29 16:28:34 or even one… 2016-06-29 21:40:01 It seems that Xorg dummy driver (used by xpra) is broken on edge: [ 86107.330] (EE) Failed to load /usr/lib/xorg/modules/drivers/dummy_drv.so: Error relocating /usr/lib/xorg/modules/drivers/dummy_drv.so: fbPictureInit: symbol not found 2016-06-30 04:40:22 Hello. I just found out about Alpine and I loved the sound of a security-based distro with good xen-support. Cant wwait to try it out! 2016-06-30 04:41:47 If using Alpine as the dom0, the alpine-xen-3.4.1-x86_64.iso is the way to go yes? 2016-06-30 04:48:46 Hello everyone. Is there any particular reason why alpinelinux.org isn't served over HTTPS? 2016-06-30 05:38:36 Is it possible to compile i386 binaries on the x86_64 root? I just found that if I set -m32 for gcc, sizeof(uint64_t) returns 32 (unsigned long). 2016-06-30 09:55:44 Has anyone used alpine before to send mail? I've build a ruby script that needs to send out a simple mail. I've looked at the wikis tutorials and how to section for mail, but wasn't sure which one I need. 2016-06-30 10:07:39 sure, i send emails with alpine every day :) 2016-06-30 10:08:07 i dont know about ruby but i assume there is some smtp library 2016-06-30 10:08:22 otherwise there is ssmtp that will give you an /usr/sbin/sendmail 2016-06-30 10:08:34 altneratively you can run your own MTA, eg install postfix 2016-06-30 10:13:19 Great, the library I'm using defaults to sending mail via SMTP on localhost:25 2016-06-30 10:13:50 The problem is I'm getting sendmail: can't connect to remote host (127.0.0.1): Connection refused 2016-06-30 10:15:39 because you dont run a local MTA 2016-06-30 10:15:40 It just seems like the daemon is not running. I'm using the official ruby:2.3.1-alpine docker image if that makes a difference. 2016-06-30 10:16:18 ok, then you probably dont want run another service in the same container 2016-06-30 10:16:32 can you configure it to use other smtp server? 2016-06-30 10:16:37 your ISP or similar 2016-06-30 10:17:10 otherwise you probably need create another container with postfix 2016-06-30 10:18:34 you will have to configure an external smtp server or set up your own. it is not really an alpine problem 2016-06-30 10:18:34 ok, thanks for the input so far, this is really helpful! I think I'd probably prefer using another container running postfix. 2016-06-30 10:18:54 i dont know what the best practices is there 2016-06-30 15:56:39 hello 2016-06-30 15:57:16 I'm doing a review of alpine-linux. does alpine have a user contributed package repository? 2016-06-30 16:00:20 there's the community repository, yes 2016-06-30 16:02:09 <_ikke_> But the packages there still need to be accepted by the maintainers, right? 2016-06-30 16:03:09 most probably yes; naturally anyone can start a package repository outside the main project as well if necessary 2016-06-30 16:03:32 <_ikke_> yes, but that's true for (almost) any distribution 2016-06-30 16:03:35 I must admit I don't know what the review process for community ports is exactly 2016-06-30 16:05:54 ok thank you 2016-06-30 16:06:37 <_ikke_> archlinux has the AUR< which contains the package definitions contributed by the community, but no approval process 2016-06-30 16:07:16 hey guys 2016-06-30 16:09:30 a question regarding packages and running from memory: i thought it was trivial to add a package from online repo to your sd/usb, then rebuild the index and install locally 2016-06-30 16:10:19 but now it's not working for me and i'd like to get confirmation that this is the way to go ... 2016-06-30 18:53:38 evening 2016-06-30 19:45:19 does anyone know what year alpine linux was first released? 2016-06-30 19:46:55 <_ikke_> Around 2005 apparently (that's when they forked) 2016-06-30 19:49:34 <_ikke_> https://osdir.com/ml/linux.leaf.devel/2005-08/msg00039.html 2016-06-30 19:53:35 oh yeah ncopa, I think I've seen you say something about fixing mdev rules for display adapters? ... it appears as if a similar fix hasn't been done to udev yet 2016-06-30 19:53:58 fixing as in changing the device rights to root:video from root:root