2019-02-01 08:56:11 tmhoang: is it really needed to set jobs=1 in czmq? 2019-02-01 08:56:57 clandmeter: czmq is kind of on hold I guess. I checked the tests good on s390x but ncopa found some tests failed on ppc64le. 2019-02-01 08:57:28 thinking about spin an QEMU emulation vm for ppc64le but still couldn't find time this. I could do on weekend. 2019-02-01 08:58:07 yep seems to fail 2019-02-01 08:59:50 strange thing cmake shows the bug while autotools dont. Running the same ctest commands. 2019-02-01 09:00:25 the sha1 functions they ship is the problem. 2019-02-01 09:00:33 would look closer this weekend 2019-02-01 10:14:40 AinNero: did you 'pushed' your fixes for non-free/b43-firmware to aports? 2019-02-01 10:48:36 mps: https://github.com/alpinelinux/aports/pull/5606 2019-02-01 10:58:10 how do i add opencl in alpine 2019-02-01 11:09:52 AinNero: sorry, emergency maintenance call. It is not yet merged to aports? 2019-02-01 11:10:02 no 2019-02-01 11:10:28 you don't have merge rights? 2019-02-01 11:11:26 no 2019-02-01 11:12:37 your fix is ok, I tested it when you put it there, so I think it should be merged. 2019-02-01 11:13:24 just noticed it cleaning my copy of aports 2019-02-01 11:18:08 AinNero: heh, looks like it merged right now :) 2019-02-01 11:18:30 its magic 2019-02-01 11:18:49 ^^ 2019-02-01 11:19:28 clandmeter: why your nick was in my mind when I saw it on #alpine-commits :) 2019-02-01 14:38:41 anyone know if openjdk in mixed mode or interpreted mode that has JIT support ? 2019-02-01 14:38:52 I guess it is mixed mode ? 2019-02-01 15:40:06 hmmmm 2019-02-01 15:41:25 reckon we could get CONFIG_RTL8723BS added to linux-vanilla? 2019-02-01 15:41:33 maybe a couple of others as well 2019-02-01 16:06:16 or should I just whip up a PR and let someone decide? 2019-02-01 18:08:51 Hello, I am having trouble updating a package. It used to have "option=!check", but now the test suite can be enabled with a configure switch. However, it seems that the check() function is being run before the build is finished. What could I possibly be doing wrong? 2019-02-01 18:09:04 clandmeter: am trying to get aarch64 efi boot media built but having a problem. do you have a second to advise please? 2019-02-01 18:11:05 <_ikke_> gdh: That doesn't make sense, abuild works synchronously 2019-02-01 18:11:41 _ikke_, I figured as much, but that seems to be what is happening. 2019-02-01 18:13:25 I still think it is because I did something wrong, though, not that it is *actually* what is happening. 2019-02-01 18:13:51 <_ikke_> gdh: perhaps you can share your aport? 2019-02-01 18:13:59 <_ikke_> eg. APKBUILD 2019-02-01 18:14:46 Before I do, I have a question that just came up: when I run `abuild checksum`, am I supposed to commit the result? 2019-02-01 18:20:09 If I do, that may be the problem; I did not realize that I might need to. 2019-02-01 18:21:58 gdh: if you changed something is src 'field' in APKBUILD then you should run 'abuild checksum' 2019-02-01 18:23:11 anyway, after changes in APKBUILD it is good to rerun 'abuild checksum' just in case 2019-02-01 18:23:59 or if you change patch files 2019-02-01 18:33:28 Ah, I think I know what the problem is. Does abuild run multiple tests in parallel? 2019-02-01 19:21:13 hi can somebody have final look on this (change for main/) https://github.com/alpinelinux/aports/pull/5527 and commit? thanks 2019-02-01 21:34:00 tar: Error opening archive: Failed to open '/dev/st0' 2019-02-01 21:34:01 hm 2019-02-01 21:34:08 why is it doing that... 2019-02-01 21:36:16 what on earth 2019-02-01 21:42:54 tape devices! long time no see 2019-02-01 21:43:10 it's generating a broken tar -C 2019-02-01 21:43:40 >>> softethervpn: Unpacking /var/cache/distfiles/softethervpn-pkgver.tar.gz... 2019-02-01 21:43:44 + gunzip -c /var/cache/distfiles/softethervpn-pkgver.tar.gz 2019-02-01 21:43:44 + tar -C /data/jwh/aports/testing/softethervpn/src -x 2019-02-01 21:43:45 tar: Error opening archive: Failed to open '/dev/st0' 2019-02-01 21:44:17 which tar is that? 2019-02-01 21:44:33 busybox I'm guessing 2019-02-01 21:44:37 but it needs -xf 2019-02-01 21:44:42 I think for busybox anyway 2019-02-01 21:44:55 argument order is wrong regardless :D 2019-02-01 21:46:02 hm 2019-02-01 21:46:11 oh 2019-02-01 21:46:19 not in the chroot my bad :D 2019-02-01 21:46:32 but the args are stil weird 2019-02-01 22:01:03 jwh: not a single compliant tar implementation will accept non-f 2019-02-01 22:01:07 without -f it defaults to tape devices 2019-02-01 22:01:11 always provide -f 2019-02-01 22:03:36 thats exactly my point ;) 2019-02-01 22:03:40 [21:43:10] < jwh> it's generating a broken tar -C 2019-02-01 22:03:57 question is why (tar was bsdtar, but why does it care?) 2019-02-01 22:04:06 and why does that cause it to miss -f 2019-02-01 22:05:34 obviously bsdtar is tar on my systems because I'm not a monster, bsdtar is the best tar :D 2019-02-01 22:07:13 sigh, project ships broken anyway 2019-02-01 22:07:26 submodules aren't included in github releases 2019-02-01 22:08:59 why do so many projects not ship source archives that *actuallY* work 2019-02-01 22:09:47 developers who don't reinit their environment between releases suck, as it means a new environment does not work like its intended 2019-02-01 22:22:55 SpaceToast: would you mind to look in small note I prepared about RDRAND and boot delay on released v3.9? 2019-02-01 22:23:32 here it is: http://tpaste.us/xpjD 2019-02-01 22:23:34 mps: sure, please pm it to me and I'll look at it once I get home (not too long) 2019-02-01 22:24:43 I think something like that will be needed in next few days or week 2019-02-01 22:34:18 https://gist.githubusercontent.com/joeholden/1a9b078e44cb1df65796bbe649dbd2ab/raw/96bad712aee661cb9c0d198ba526cd77225d16ab/gistfile1.txt 2019-02-01 22:34:21 :D 2019-02-01 22:34:57 are your eyes bleeding yet? 2019-02-01 22:37:00 jwh: why you don't put -C destdir 2019-02-01 22:37:05 for what? 2019-02-01 22:37:10 the extras/ 2019-02-01 22:37:11 ? 2019-02-01 22:37:14 tar 2019-02-01 22:37:48 destdir is where you want to extract, ofc 2019-02-01 22:38:51 just superficial note, didn't tried your APKBUILD 2019-02-01 22:39:01 well 2019-02-01 22:39:49 it's coincidence that right now I'm trying something like you but for different package 2019-02-01 22:41:51 what I'd ideally like is a way to cut the top dir off, a la patch -p1 2019-02-01 22:43:40 I don't see an option in busybox tar though 2019-02-01 22:45:44 I suspect that busybox tar support --wildcards option 2019-02-01 22:45:53 oh hm, good point 2019-02-01 22:46:44 add tar makedepends and use it's 'full power' ;) 2019-02-01 22:50:16 wait, it supports but moaning that it doesn't 2019-02-01 22:50:16 oh I'm blind, strip components is there 2019-02-01 22:53:14 nice that you found solution. going out for a little fresh air 2019-02-01 22:53:22 thanks 2019-02-01 22:53:53 yw 2019-02-01 22:54:53 updated gist, if someone could test it on non-x86 that would be nice <3 2019-02-01 23:11:44 mps: looked at your note - it's worded slightly weird, and is extlinux-specific 2019-02-01 23:12:41 because my wording I asked you for help 2019-02-01 23:12:54 :) 2019-02-01 23:13:23 I skipped grub because it is not default boot looder 2019-02-01 23:13:48 but we could add it to note 2019-02-01 23:13:58 it's generic, should add a note about adding it to whatever bootloader you use as cmdline arg 2019-02-01 23:14:12 although I didn't tried to boot with it 2019-02-01 23:14:25 can I see it? 2019-02-01 23:14:38 mps: let me quickly jot something down 2019-02-01 23:15:23 jwh: already posted here but here it is again http://tpaste.us/xpjD 2019-02-01 23:15:39 oh, my bad 2019-02-01 23:16:28 hm, should probaly also note that if you don't want to trust RDRAND but still want a sensible boot time, you can use rngd or haveged 2019-02-01 23:16:42 rngd can also optionally mix from rdrand 2019-02-01 23:17:16 yeah, doesn't it mentioned there \:) 2019-02-01 23:17:51 rngd will not start without some hardware source, iirc 2019-02-01 23:18:19 oh hm, thought it had multiple sources 2019-02-01 23:18:33 just haveged then I guess, as RDRAND isn't always available 2019-02-01 23:18:57 I thought to add note about haveged for machines without hardware entropy sources, but obviously I didn't 2019-02-01 23:19:42 mps: I'd do something closer to http://tpaste.us/YMww , but it's still kind of awkward 2019-02-01 23:19:45 haveged is simplest and easiest solution 2019-02-01 23:19:52 (I'm very tired right now, not exactly optimal) 2019-02-01 23:20:17 haveged has some unfortunate decisions in-code, I'd rather just trust my cpu (or wait a bit longer) 2019-02-01 23:20:32 I recall there was another daemon that was more appropriate, but I don't remember what it was 2019-02-01 23:20:50 SpaceToast: that only works if you have a cpu rng though 2019-02-01 23:20:54 SpaceToast: thanks, that is enough for short note, maybe add haveged 2019-02-01 23:20:55 lots of platforms don't 2019-02-01 23:21:08 mps: I... did? 2019-02-01 23:21:21 it is not intended to be comprehensive guide, at the end 2019-02-01 23:21:35 none of my vm hosts have rdrand for example, so the only acceptable solution is haveged 2019-02-01 23:21:51 SpaceToast: I see 2019-02-01 23:22:47 I'd imagine it's worse for people who have more things on boot, if its 30 seconds+ just for sshd, how bad is it going to be with lots of other stuff waiting for entropy? 2019-02-01 23:22:55 in last two days I answered that same questions few times, and not only I but also other people 2019-02-01 23:23:53 next time someone asks I will simply give url which SpaceToast just posted 2019-02-01 23:24:11 jwh: not much of a difference 2019-02-01 23:24:20 once you get ~128bits of entropy you can go for a very long time from then on 2019-02-01 23:24:29 yeah 2019-02-01 23:24:34 and sshd will wait for the 128bits 2019-02-01 23:24:45 so no real difference :) 2019-02-01 23:24:58 assuming you don't need more, yeah sure 2019-02-01 23:25:09 it'll be a couple of years before you need more 2019-02-01 23:25:15 you can go a very long time on 128 bits 2019-02-01 23:25:19 that's what I just said... 2019-02-01 23:25:26 anyway someone test my apkbuild on non-x86 2019-02-01 23:25:31 pretty please? 2019-02-01 23:25:33 we are not discussing perfect entropy now, I hope :) 2019-02-01 23:25:42 SpaceToast: hmmm 2019-02-01 23:25:44 my builder is still waiting for the patch :( 2019-02-01 23:25:56 SpaceToast: but consuming it means it empties, right? 2019-02-01 23:26:03 no 2019-02-01 23:26:16 all of your RNG goes through de-biasing and whitening, and gets fed into PRNG 2019-02-01 23:26:29 and that PRNG needs ~128bits 2019-02-01 23:26:32 ohhh, well that used to be the case? 2019-02-01 23:26:33 to go for a very long time. 2019-02-01 23:26:36 nope 2019-02-01 23:26:43 entropy is hard to estimate (duh) 2019-02-01 23:26:43 hm, maybe I'm thinking of non-linux 2019-02-01 23:26:51 non-linux is a lot saner than linux right now :) 2019-02-01 23:26:55 heh 2019-02-01 23:26:58 linux is stuck because they don't want to break userland 2019-02-01 23:27:01 tbf it always was 2019-02-01 23:27:05 what used to happen 2019-02-01 23:27:17 is urandom would be fed from the random pool 2019-02-01 23:27:21 yeah 2019-02-01 23:27:24 and the random pool would get blocked 2019-02-01 23:27:27 when the "counter" got too low 2019-02-01 23:27:31 but the counter doesn't mean anything 2019-02-01 23:27:39 https://www.2uo.de/myths-about-urandom - enjoy (this is mostly accurate) 2019-02-01 23:27:45 yeah thats what I meant 2019-02-01 23:29:21 the correct solution is to use getrandom(2) on linux and stop worrying 2019-02-01 23:29:29 but it's non-portable (being a syscall and all) 2019-02-01 23:29:35 also, getentropy(2) on openbsd (also good) 2019-02-01 23:29:49 yeah 2019-02-01 23:29:55 makes sense 2019-02-01 23:31:33 obviously the only true source of randomness is stupid lava lamps 2019-02-01 23:31:58 I wouldn't trust much besides photon superposition 2019-02-01 23:32:20 heh 2019-02-01 23:32:30 https://blog.cloudflare.com/lavarand-in-production-the-nitty-gritty-technical-details/ 2019-02-01 23:32:35 X-rays from nuclear fision, in the CPU :) 2019-02-01 23:32:38 some hairy hands nonsense there 2019-02-01 23:32:38 :D 2019-02-02 02:53:31 i have to add a route every time my interface comes up, the line is ¨ip route add 172.31.1.1 dev eth0¨. Where do i put this line in my interfaces file? 2019-02-02 03:02:40 leo-unglaub: post-up in the interface section 2019-02-02 03:02:55 I think there's supposed to be a thing dedicated to routes though, but I'm not sure if busybox ifupdown implements that 2019-02-02 03:04:37 SpaceToast, i already did that 2019-02-02 03:04:42 but is does not get executed 2019-02-02 03:04:59 considering I have an interface that does not work without post-up commands... 2019-02-02 03:05:05 I'll express my doubts 2019-02-02 03:05:21 hmm 2019-02-02 03:05:57 do i have to use an absolute path in that file? 2019-02-02 03:07:21 nope 2019-02-02 03:08:26 here's an example `post-down ip link del $IFACE` 2019-02-02 03:08:26 hmm, i had the same thing a couple of months back 2019-02-02 03:10:12 hmm, exactly like i have 2019-02-02 03:10:52 hmm, i an going to put the commands in my crontab with @reboot 2019-02-02 03:10:56 should do the trick as well 2019-02-02 03:11:27 if you say so ¯\_(ツ)_/¯ 2019-02-02 03:12:09 hmm 2019-02-02 03:15:36 is there something else i have to enable in order for this to work? 2019-02-02 03:17:56 only the usual ifupdown stuff 2019-02-02 03:18:07 so having the networking service in a runlevel 2019-02-02 03:19:05 hmm, that i have 2019-02-02 03:19:26 that is strange 2019-02-02 03:22:57 https://pastebin.com/raw/rB77jCKH <- thats my file 2019-02-02 03:23:14 when i execute the commands manually they work fine 2019-02-02 03:25:31 erm 2019-02-02 03:25:35 why do you need those at all? 2019-02-02 03:26:03 to get network connectivity in the datacenter 2019-02-02 03:26:25 have you consider not having a 255.255.255.255 netmask? 2019-02-02 03:26:31 just being on the same network as the gateway? 2019-02-02 03:26:45 no, the netmask is correct 2019-02-02 03:26:56 thats a new trend in datecenters here now, that is correct 2019-02-02 03:27:14 either way, this is the development channel 2019-02-02 03:27:24 pretty sure none of this has anything to do with alpine development :) 2019-02-02 03:27:28 please ask in #alpine-linux 2019-02-02 13:51:30 openrc-qemu is broken, we need https://github.com/jirutka/qemu-openrc/pull/4 2019-02-02 13:52:21 qemu is failing on options that got removed 2019-02-02 14:10:37 jirutka: are you still maintaining that code? 2019-02-02 15:27:19 the hiawatha package is currently broken. It needs a rebuild (together with mbedtls). Could someone of you please be so kind and bump the version on it so it can be installed again on edge? thanks! https://pastebin.com/raw/LgHdv3QY 2019-02-02 16:55:21 any know rationale for omitted file url scheme for curl in Alpine 2019-02-02 16:55:42 s/any/anyone/ 2019-02-02 16:55:42 mps meant to say: anyone know rationale for omitted file url scheme for curl in Alpine 2019-02-03 00:27:34 hm 2019-02-03 00:29:23 any suggestions before I open a PR for this? I'm not sure it's good enough (ignore lack of initd etc) https://gist.github.com/joeholden/1a9b078e44cb1df65796bbe649dbd2ab 2019-02-03 01:08:56 hi, hope this is not asecurity concern in al, https://blog.cryptographyengineering.com/2018/09/23/why-im-leaving-chrome/ 2019-02-03 01:11:07 vkrishn: we dont ship chrome 2019-02-03 01:11:19 not sure how chromium is related 2019-02-03 01:11:24 ah you spoke, you're it! 2019-02-03 01:12:36 chromium is OS on itself, about 630MB source tarball 2019-02-03 01:13:52 tried to fix it and build on Alpine but after some think asked myself: *for what* 2019-02-03 01:13:54 AinNero: ok, thanks, I don't either of them, just wondered 2019-02-03 01:14:03 mps: you're it too :D 2019-02-03 01:14:27 vkrishn: like, people warned about google and chrome 10 years ago, this is not a surprise at all 2019-02-03 01:16:04 actually don't use it for years, even on phone install firefox just in case although don't use browser on phone 2019-02-03 01:16:05 hm, I remember that particular bit of news 2019-02-03 01:16:14 and it hasn't actually manifested like people claimed 2019-02-03 01:17:06 unless you're already signed in, it won't continue to sign you in automatically 2019-02-03 01:17:07 looking in google last years I even stopped to us go-lang 2019-02-03 01:17:26 even if chrome itself is signed in with a sync account 2019-02-03 01:17:32 switched to crystal and trying to learn rust 2019-02-03 01:18:25 not that I trust mozilla but looks better for now at least 2019-02-03 01:19:08 both the non-MS options are actually worse 2019-02-03 01:20:13 rust looks quite fine, don't know why i ignored it for some years, awkward syntax to my eyes probably 2019-02-03 01:20:40 probably because we don't need another ruby? :) 2019-02-03 01:21:07 crystal is ruby like 2019-02-03 01:21:18 don't know why everyone feels the need to invent their own language with broken packaging and dependency management these days 2019-02-03 01:21:23 is it a perceived claim to fame? 2019-02-03 01:21:58 jwh: fully agree with you. C is best of languages, imo 2019-02-03 01:22:16 well its the foundation 2019-02-03 01:22:21 but everyone sucks at writing good C 2019-02-03 01:22:23 ok, forth is near 2019-02-03 01:22:36 because it requires you to actually do it properly and care about memory management, buffers, etc 2019-02-03 01:22:41 none of the hippy dippy languages do 2019-02-03 01:23:06 but there are choices that are C-like and hand hold you through memory management, like D 2019-02-03 01:23:31 one can use C within D 2019-02-03 01:23:35 the problem with C is there are order of magnitude less developers who knows than the developers who thinks they know C 2019-02-03 01:23:39 whilst getting all the benefits 2019-02-03 01:24:51 D is pretty nice 2019-02-03 01:24:51 oh, we are offtopic, sorry 2019-02-03 01:25:20 I honestly think a lot of the modern stuff is just kids unwilling to larn 2019-02-03 01:25:22 learn* 2019-02-03 01:25:36 also the reason why they keep making the mistakes everyone else did 2 decades ago 2019-02-03 01:25:39 lol 2019-02-03 01:25:52 the whole "we know better" attitude 2019-02-03 01:26:26 jwh: we have #alpine-offtopic channel 2019-02-03 01:26:45 thats nice :P 2019-02-03 01:27:00 anyway, someone check my apkbuild! 2019-02-03 01:27:18 I don't like it, but I can't come up with a cleaner way 2019-02-03 01:27:46 I looked lightly but don't have time to try it, you want it on arm? 2019-02-03 01:28:24 preferably, but also just the general structure and the horrible mess of extracting archives into the builddir 2019-02-03 01:30:23 maybe I will have some time tomorrow evening to try it on aarch64 2019-02-03 01:30:30 thanks 2019-02-03 01:31:10 but, for what is that package useful, don't we have enough VPN's already 2019-02-03 01:34:55 it's actually useful 2019-02-03 01:35:13 also its multiprotocol 2019-02-03 01:35:30 isn't it proprietary 2019-02-03 01:35:43 https://www.softether.org/3-spec 2019-02-03 01:35:44 no 2019-02-03 01:36:25 also it has features people use, like working AAA and stuff 2019-02-03 01:36:57 but at this point anything is better than the mess of tunnel types and total lack of any configuration support 2019-02-03 01:37:12 uh, I was probably tired last night when I looked at it 2019-02-03 01:37:35 it has it's own tunnel mode, but its still open source so it's no different from any other type 2019-02-03 01:37:48 I like theirs though, it's ethernet over https 2019-02-03 01:37:49 heh 2019-02-03 01:38:19 I prefer wireguard :) 2019-02-03 01:38:30 no thanks :D 2019-02-03 01:38:40 zero interop, not flexible 2019-02-03 01:38:57 but fast 2019-02-03 01:39:09 so are others though 2019-02-03 01:40:13 ok, give me your apkbuild, I'm behind aarch64 2019-02-03 01:40:34 https://gist.githubusercontent.com/joeholden/1a9b078e44cb1df65796bbe649dbd2ab/raw/cdf32054fe5dc00871b3d119aa495a9e2392eee5/gistfile1.txt 2019-02-03 01:40:49 has no init.d, just build testing atm, but it's easy enough to test startup 2019-02-03 01:41:25 I'll need to split it up into subpackages anyway as the package includes 3 components 2019-02-03 01:41:30 so people might want just the client etc 2019-02-03 01:42:44 ok, on that arm where I'm now link is slow 2019-02-03 01:44:25 oh ok 2019-02-03 01:46:29 oh 2019-02-03 01:46:33 I did a dumb on that version 2019-02-03 01:48:00 updated 2019-02-03 01:48:32 Configuring incomplete, errors occurred! 2019-02-03 01:48:53 hm, missing deps? 2019-02-03 01:49:16 http://tpaste.us/5woM 2019-02-03 01:49:32 there is log 2019-02-03 01:50:06 hm, thats not so useful 2019-02-03 01:50:44 there doesn't appear to be any errors in there 2019-02-03 01:50:46 I don't understand why it failed 2019-02-03 01:51:03 yeah it's not being verbose enough 2019-02-03 01:51:12 I did abuild checksum deps unpack prepare build 2019-02-03 01:52:15 Could NOT find Curses (missing: CURSES_LIBRARY CURSES_INCLUDE_PATH) 2019-02-03 01:52:41 maybe missing libcurses-dev 2019-02-03 01:54:35 oh 2019-02-03 01:54:38 hmmm 2019-02-03 01:54:43 did I do it wrong 2019-02-03 01:54:51 you should add ncurses-dev to makedepends 2019-02-03 01:55:05 [100%] Built target hamcore-archive-build 2019-02-03 01:55:05 yeah is missing 2019-02-03 01:55:23 I need to get a proper build script setup that does itvin a chroot 2019-02-03 01:55:26 so I don't miss deps 2019-02-03 01:55:30 it in* 2019-02-03 01:55:56 I have softethervpn-5.01.9668-r0.apk 2019-02-03 01:56:06 cool ok 2019-02-03 01:56:27 just need to tidy it up now and do init 2019-02-03 01:56:28 but I will not test if it is work 2019-02-03 01:56:39 runtime testing requires a lot of effort, so don't bother 2019-02-03 01:56:52 that is new: makedepends="cmake openssl-dev ncurses-dev readline-dev zlib-dev" 2019-02-03 01:57:31 yeah 2019-02-03 01:57:41 thought I might be missing something, thanks 2019-02-03 01:57:55 something else pulled it in on my build box, so I didn't pick it up 2019-02-03 01:57:58 ok, I'm tired, going to bed, good night 2019-02-03 01:58:08 night, thanks 2019-02-03 01:58:39 see you tomorrow :) 2019-02-03 10:04:06 Hi all, I am trying to setup a cross compiling server for alpine 3.8 using aports. The outcome is that I can cross compile a Docker apk for armhf with custom patches. Any pointers on the setup / process 2019-02-03 14:04:17 notlistening, I suggest to use chroot for that, much easy to setup 2019-02-03 16:49:05 hi there, do you know if it's possible using awall to set a policy for a port range? 2019-02-03 18:27:06 hi! Is there a solution to cross-compile a package for a specific non-native arch? say ARMv6? 2019-02-03 18:29:06 yes, thats how new architectures are bootstrapped 2019-02-03 18:39:21 AinNero: where can I find it? 2019-02-03 18:41:45 there is the scripts/bootstrap.sh in the aports 2019-02-03 18:42:06 but dont expect it to be easyt 2019-02-03 18:45:07 thanks! 2019-02-03 19:14:15 not in this case, but if its an already supported arch you could just use qemu user and binfmt 2019-02-03 19:18:25 jwh: I'm using docker, qemu and binfmt right now to try to build the mono package from testing for arm 2019-02-03 22:41:50 ncopa, #9958 needs you 2019-02-03 22:42:30 libssh2-dev always require libressl for some reason 2019-02-04 04:07:35 odd that rebuilding it doesn't help 2019-02-04 08:55:47 andypost: why do you think its related to libressl? 2019-02-04 09:54:40 could someone have a look if __EOF__ in 2019-02-04 09:54:40 https://git.alpinelinux.org/alpine-conf/tree/setup-alpine.in#n36 should be at start of the line, I get error like, 2019-02-04 09:54:43 syntax error: unexpected end of file (expecting "}") 2019-02-04 09:57:24 if its an issue, it might if in other scritps too, same formatting of here-documents 2019-02-04 10:02:41 Works for me 2019-02-04 10:03:05 Is your /bin/sh a symlink to busybox or something else? 2019-02-04 10:04:59 yes, I tried in al 3.7 2019-02-04 10:11:30 `setup-alpine -h` works for me on 3.7 too 2019-02-04 10:11:38 There must be something wrong with your setup 2019-02-04 10:20:36 try them, https://tpaste.us/Kgon , http://tpaste.us/oaNq 2019-02-04 10:30:56 I had edited, one of them at some point, was testing something, and added space, tab works now 2019-02-04 10:40:58 possibly a busybox issue 2019-02-04 11:35:00 is there an easy way to solve the upgrade issues at https://cloud.drone.io/dockhippie/alpine/1/3/2 and https://cloud.drone.io/dockhippie/alpine/1/2/2? 2019-02-04 11:41:26 tboerger[m]: looks like it's a little off relating to uh 2019-02-04 11:41:29 libcrypto 2019-02-04 11:41:52 i'd remove libressl, make sure openssl is installed, and run `apk fix` 2019-02-04 11:43:12 hum... i really pulled directly from `arm32v6/alpine:edge` and `arm64v8/alpine:edge` which are the official docker images for these architectures and just try to upgrade :( 2019-02-04 11:43:20 i will give it a try 2019-02-04 11:45:19 oh god... the arm64v8/alpine:edge comes with 3.7 repos configured 🤦 2019-02-04 11:51:04 tboerger[m]: the problem is they are based on rootfs tarball (i think) 2019-02-04 11:51:14 edge doesnt have such tarball 2019-02-04 11:51:34 yeah, just looked into some kind of build definiton of them 2019-02-04 11:51:51 Its on the list of things to fix. 2019-02-04 11:51:54 https://github.com/gliderlabs/docker-alpine/blob/c4f57192a21b4cccb746381ccfdcde4773ddf32a/versions/library-edge/x86_64/options compared to https://github.com/gliderlabs/docker-alpine/blob/c4f57192a21b4cccb746381ccfdcde4773ddf32a/versions/library-edge/armhf/options or https://github.com/gliderlabs/docker-alpine/blob/c4f57192a21b4cccb746381ccfdcde4773ddf32a/versions/library-edge/aarch64/options 2019-02-04 11:52:04 periodic edge snapshots 2019-02-04 11:52:37 just the question why they build amd64 differently :) 2019-02-04 11:53:33 andy shinn is not part of this channel :( 2019-02-04 11:54:08 i htink there is an issue on bugs.a.o 2019-02-04 12:03:24 https://bugs.alpinelinux.org/issues/9873 refers to https://github.com/gliderlabs/docker-alpine/pull/465 which haven't been merged :( 2019-02-04 12:04:24 and https://bugs.alpinelinux.org/issues/9925 is more or less a duplicate of 9873, just that it talks about i386 2019-02-04 12:52:25 clandmeter, because installing libssh2-dev installs libressl 2019-02-04 12:54:13 But when I do rebuild it tells about openssl but dependency in final package remains 2019-02-04 12:57:45 andypost[m]: hmm, do you work on 3.9 installed from scratch or upgraded 2019-02-04 12:59:09 mps using docker 3.9 and edge from official images 2019-02-04 12:59:20 I noticed that the libssh2 pulls libressl on not fully upgraded v3.9 2019-02-04 13:00:03 but after 'apk upgrade -a' then it doesn't, i.e. pulls openssl 2019-02-04 13:01:22 maybe this docker image have something which requires libressl. I had one package localy built which did that 2019-02-04 13:01:55 clandmeter: are you okay with me getting the openrc pr ( aports/pull/6183, aports/pull/6184) staying in aports, at least for 3.9.[1,2,3..] ? For getting it upstream to openrc, it might take a while .... 2019-02-04 13:05:32 mps, as it's reproducable on bare alpine images surely something wrong 2019-02-04 13:06:15 andypost[m]: which arch, x86_64? 2019-02-04 13:06:22 Yep 2019-02-04 13:06:54 hmm, strange, on my machine it ok. 2019-02-04 13:07:30 andypost[m]: its pkgconfig that pulls in libressl 2019-02-04 13:07:40 clandmeter: I was thinking of create a service like todclock besides hwclock so it wouldn't mess up with hwclock. 2019-02-04 13:07:45 and in aports libssh2 looks fine, maybe need trigger to rebuild and upload 2019-02-04 13:07:53 so it would avoid if arch else like ncopa mentioned the other day 2019-02-04 13:08:32 im not to happy with adding arch specific if ...else. what i was thinking is that we can probably do *tool specific* if ... else. or case $tool in ... 2019-02-04 13:08:43 mps as I added rebuild to PR but it does not help 2019-02-04 13:11:02 hmm, 'apk info | grep libressl' shows nothing on my machine 2019-02-04 13:11:50 and, 'apk version libssh2-dev' shows 'libssh2-dev-1.8.0-r4 = 1.8.0-r4' 2019-02-04 13:16:55 problem is both openssl and libressl provide libcrypto and similar. 2019-02-04 13:17:04 but the version of libressl is higher 2019-02-04 13:17:17 so it will always be selected instead of openssl 2019-02-04 13:19:43 im not 100% sure how to solve this. we could temp modify the pkgconf and add dependency to openssl-dev, but this problem is bigger than just libssh2. 2019-02-04 13:23:08 is there an easy way to get this 3.7 edge docker image fuckup solved? got an edge repositories file, but this fails of course: docker run -ti --rm -v $(pwd)/repositories:/etc/apk/repositories arm64v8/alpine:edge sh -c 'apk update && apk del -f libressl && apk add openssl && apk upgrade -a' 2019-02-04 13:23:20 ERROR: libcrypto1.1-1.1.1a-r1: trying to overwrite etc/ssl/openssl.cnf owned by libressl2.6-libcrypto-2.6.3-r0. 2019-02-04 13:26:39 tboerger[m]: did you upgrade to 3.9? 2019-02-04 13:27:05 clandmeter: i would like to -.- 2019-02-04 13:27:24 is that where the error came from? 2019-02-04 13:27:34 upgrade to 3.9 2019-02-04 13:30:52 looks like the replaces only cover the ones from 3.8 2019-02-04 13:31:07 i wonder if replaces supports wildcards 2019-02-04 13:31:49 currently the docker container contains a repositories file refering to v3.7, if i replace it with a repositories file refering to edge i'm not able to upgrade, if i replace it with v3.9 it also fails to upgrade: https://gist.github.com/tboerger/98a7ad9f2a33e1c62ca6f33a4e1255f2 2019-02-04 13:32:22 append an apk fix 2019-02-04 13:32:26 it should fix the issue 2019-02-04 13:32:38 after the upgrade? 2019-02-04 13:32:42 yes 2019-02-04 13:32:49 i know its not optimal 2019-02-04 13:33:12 so i need to ignore the exit code >0 2019-02-04 13:33:28 take the exit code of apk fix 2019-02-04 13:33:42 if thats still broken than something is still wrong 2019-02-04 13:33:46 docker run -ti --rm -v $(pwd)/repositories:/etc/apk/repositories arm64v8/alpine:edge sh -c 'apk update && apk upgrade -a || true && apk fix' 2019-02-04 13:34:10 yes but you could just do || apk fix 2019-02-04 13:34:31 true... thanks 2019-02-04 13:35:00 the upgrade path is designed from version to version, not skipping one... 2019-02-04 13:35:10 its a bug though 2019-02-04 13:35:44 andypost[m]: can you wait for a fix for that php issue? 2019-02-04 13:37:22 fabled: you around? 2019-02-04 13:37:40 clandmeter, yes (but on phone) 2019-02-04 13:38:00 fabled: i think we have an issue with pkgconfig with libressl and openssl 2019-02-04 13:38:17 they both provide the same, and libressl version is higher. 2019-02-04 13:39:07 it's a shame... alpine and ubuntu are the only arm docker images that nearly directly build without issues :( 2019-02-04 13:39:35 tboerger[m]: docker images will be fixed after ncopa gets back from holiday. 2019-02-04 13:39:36 hum. i remember talking about that with ncopa earlier 2019-02-04 13:39:39 ok, debian only got an issue on version 8 with arm64... but opensuse is such a huge mess 2019-02-04 13:40:13 yeah, now it seems to work for me. just the tiny upgrade issue for the edge image was blocking but that seems to work for now. 2019-02-04 13:41:17 https://cloud.drone.io/dockhippie/alpine/4 edge, 3.9, 3.8, 3.7 and 3.6 built with my additional packages on amd64, arm32v6 and arm64v8 <3 2019-02-04 13:45:15 fabled: was there any decision how to fix it? should we get rid of the libressl pkgconfig file? 2019-02-04 13:48:07 i don't remember what was he conclusion. or if there was any plan... maybe we just noticed the issue. 2019-02-04 13:49:01 i dont see any other other than removing libressl or the pc file? 2019-02-04 13:49:12 s/other/way 2019-02-04 13:49:12 clandmeter meant to say: i dont see any way other than removing libressl or the pc file? 2019-02-04 13:49:59 thanks for the help :) 2019-02-04 14:00:11 Looks like we need to add replaces in libcrypto 2019-02-04 14:00:11 ncopa: 2019-01-30 - 08:52:48 tell ncopa arm releases are incomplete 2019-02-04 14:00:34 :) 2019-02-04 14:00:45 we have 2019-02-04 14:00:50 but they are versioned 2019-02-04 14:01:01 can we use wildcards in replaces? 2019-02-04 14:01:16 i asume not 2019-02-04 14:01:17 Ok. I'll try get my laptop and an internet connection later today 2019-02-04 14:24:13 tboerger docker images for edge arm could get rebuild but as https://github.com/gliderlabs/docker-alpine/pull/465#issuecomment-456177202 images not ready 2019-02-04 14:25:41 Re #9959 I think we can add a soname prefix to libressl 2019-02-04 14:48:43 andypost: yeah, have seen that issue. but won't resolve my issue on short-term. for now i have worked around that. 2019-02-04 15:44:30 ncopa: doesnt look like soname prefix will change pc:name 2019-02-04 17:47:03 ugh, forgot how to do the supervise magic already 2019-02-04 17:51:48 jwh: you mean supervise with openrc? 2019-02-04 17:51:52 ye 2019-02-04 17:52:00 supervisor-daemon, remembered now :D 2019-02-04 17:52:31 I'm using runit, much beter than openrc supervise 2019-02-04 17:53:03 gotta work for most users though, otherwise i'd probably agree 2019-02-04 17:53:59 thought to send proposal to build runit busybox applets by default 2019-02-04 17:54:16 i.e. enable in busybox config 2019-02-04 17:54:25 hm, tricky to support both by default though right? 2019-02-04 17:54:52 no, if you don't need apk don't install it 2019-02-04 17:55:01 ah 2019-02-04 17:55:20 ok i've got a dilemma here 2019-02-04 17:55:48 do I a) start the applications the way they are intended to be, or use hacky methods to appease openrc and potentially put users in a situation where it isn't supported 2019-02-04 17:56:55 aha, you want it packaged and not for your personal use. then openrc is right path, I presume 2019-02-04 17:57:11 well, personal use too of course 2019-02-04 17:57:22 but its pretty decent software so everyone should be able to use it 2019-02-04 17:57:43 understand, but you are just another user of the package 2019-02-04 17:58:24 afterall, if I use it there is more chance of it being maintained - I guess thats true for most people/packages 2019-02-04 17:59:30 of course 2019-02-04 18:01:02 got a few decisions to make about how I do this 2019-02-04 18:01:58 the entire package is only 10MB, seems silly to split it up and try and get the file lists right for the sake of maybe a couple of MB 2019-02-04 18:02:13 since the shared libs/utilities take up a fair amount 2019-02-04 18:02:42 and really, they work in concert anyway so the roles aren't strictly defined 2019-02-04 18:07:58 jwh: smaller isn't silly. Alpine is small by design. 2019-02-04 18:08:49 Our decisions are always to try to keep things minimal as possible. 2019-02-04 18:09:59 well, it's also a balance between size and utility right? 2019-02-04 18:12:18 I'm just referring to your remark. Ofc it needs to make sense. 2019-02-04 18:15:17 I think 10mb is not so small, but compared to a similar app it could be. 2019-02-04 18:15:35 well its like 7 vpn protocols, server, bridge and client 2019-02-04 18:15:53 Ah that one 2019-02-04 18:15:55 but client and server might use bridge in common configs etc, so I'm not sure it makes sense 2019-02-04 18:23:05 guess I can submit it as-is and see if it draws any coments 2019-02-04 18:23:07 comments* 2019-02-04 18:59:34 clandmeter: you are right re sonameprefix and pc:* 2019-02-04 19:00:27 some options we have 2019-02-04 19:00:44 we could introduc a pcprefix, similar to sonameprefix 2019-02-04 19:01:34 and set libressl to use pcprefix="libressl:" so the provides becomes "pc:libressl:libssl" 2019-02-04 19:03:15 the other option is to add an explicit depends=openssl-dev to all the packages depending on pc:libssl, pc:libcrypto and pc:openssl 2019-02-04 19:04:00 an third option is to remove the pc:* provides from libressl package 2019-02-04 19:04:34 that way you would need to explicitly add libressl-dev to depends, or you would get the provides from openssl 2019-02-04 19:04:57 no, that wont work 2019-02-04 19:05:23 you'd end up depending on both libressl-dev and an automatic pc:libssl 2019-02-04 19:05:32 which would pull in openssl in addition 2019-02-04 19:41:30 Another option could be to add a priority system for pc: (and so and cmd... while we're at it) 2019-02-04 19:42:01 And let it resolve automatically (i.e if libressl is in world, it's preferred even if lower priority) 2019-02-04 19:46:09 that is an interesting idea 2019-02-04 19:47:00 i think we sort of have that already 2019-02-04 19:47:03 with versions 2019-02-04 19:47:15 it prioritizes the highest versino 2019-02-04 19:47:19 version* 2019-02-04 19:47:44 but will use the installed if it satisfies the dependency 2019-02-04 19:48:00 unless --update is added as option 2019-02-04 19:48:28 yes - apk prioritizes the highest version 2019-02-04 19:48:33 which suggests it can prioritize any metric 2019-02-04 19:48:49 what we need is to make apk explicitly use libressl-dev if that was the one that was used during build 2019-02-04 19:48:58 version numbers might not match for providers (e.g libressl and openssl, what we're running into), so it's not the best priority indicator 2019-02-04 19:49:25 we cannot use exact version numbers either 2019-02-04 19:49:29 so all that'd need to happen to make priorities a reality is just check if priority is a variable in APKBUILD, if yes, then use the highest "priority", if not, use highest version 2019-02-04 19:49:35 since libressl may get updated 2019-02-04 19:49:37 I'm envisoning something like niceness :) 2019-02-04 19:50:02 so APKBUILD could have priority=0 on libressl and priority=10 on openssl, so openssl would get autoselected unless libressl is already there 2019-02-04 19:50:27 i don think that is correct in this case 2019-02-04 19:50:58 if libressl was used during build then it must pick libressl, regardless of what is currently there 2019-02-04 19:51:05 hmm 2019-02-04 19:51:30 maybe an option to disable automatic so: pc: etc detection (which'd require them to be manually enumerated) then? 2019-02-04 19:52:15 yes, but its somewhat tricky 2019-02-04 19:52:19 to give an example 2019-02-04 19:52:37 libfoo is build with makedepends=libressl-dev 2019-02-04 19:53:03 libfoo-dev ends up with a depends=pc:libssl 2019-02-04 19:53:47 sure, but both of those are in foo/APKBUILD (or libfoo) 2019-02-04 19:54:25 so if that APKBUILD has options=!autodepend, the developer would need to do dev() { depends="libressl" default_dev } 2019-02-04 19:54:28 if we remove the provides=pc:libssl in libressl, how does abuild know that it also should be removed from libfoo-dev? 2019-02-04 19:54:55 we'd need options=!autodepend in libfoo 2019-02-04 19:56:09 and if we are aware of that there, then we could as well have done depends=libressl-dev 2019-02-04 19:56:35 this becomes sort of tricky when the dependeny is indirect 2019-02-04 19:57:33 well yes 2019-02-04 19:57:35 that's what I meant 2019-02-04 19:57:39 !autodepend would be in libfoo 2019-02-04 19:57:42 so what i want is to specify in the libressl APKBUILD, that every package that may end up on libressl-dev as dependency should automatically set !autodepend and instead depend on libressl-dev 2019-02-04 19:57:43 (foo/APKBUILD - see above) 2019-02-04 19:58:24 we sort of have this in with shared libraries 2019-02-04 19:58:44 are there any scenarios where pc: is not accompanies by an so:? 2019-02-04 19:58:54 yes 2019-02-04 19:59:29 if the provides=so:something is missing, abuild will resolve the dependency and automatically add the package hat provides the file as direct dependency 2019-02-04 19:59:43 this is from before we had support for provides in apk 2019-02-04 20:00:28 so, if we in libressl has a pcprefix="libressl:" and libressl-dev gets a provides="pc:libressl:libssl" 2019-02-04 20:01:25 then we during build of libfoo need to check if the needed libssl has a prefix or not 2019-02-04 20:01:49 s/has a prefix/has a pcprefix/ 2019-02-04 20:01:49 ncopa meant to say: then we during build of libfoo need to check if the needed libssl has a pcprefix or not 2019-02-04 20:02:08 and use the pcprefix if its there 2019-02-04 20:03:28 that way, if libfoo has makedepends="libressl-dev", it will when adding the depends to libfoo detect that it needs libssl pkg-config file 2019-02-04 20:03:58 but instead of blindly add pc:libssl (like it does now), it will check if the current installed .pc file has a pcprefix 2019-02-04 20:04:38 so, find the .pc file, find the what package provides that file, list the providers of that package 2019-02-04 20:04:57 and search for pc:*libssl 2019-02-04 20:05:17 and use what it finds as depends 2019-02-04 20:05:23 i think that would work 2019-02-04 20:06:09 but can we solve this in a simpler way? 2019-02-04 20:06:19 that does indeed sound pretty complex 2019-02-04 20:07:00 i dont like it beacause its complext 2019-02-04 20:07:33 a second option is to do: 2019-02-04 20:08:19 in libressl we add options="!autopc" (or "!autopcprovides" or whatever we end up call it") 2019-02-04 20:08:47 which will make abuild skip adding the provides=pc:* 2019-02-04 20:11:00 when abuild later build libfoo, it will see that it depends on a libssl.pc file, but instead of blindly add depends=pc:libssl, it will verify that something installed is actually providing it, and if not, it will find which package that provides the needed, currently installed, libssl.pc file, and add that as an explicit depends not libfoo-dev 2019-02-04 20:11:29 s/not/to/ 2019-02-04 20:11:29 ncopa meant to say: when abuild later build libfoo, it will see that it depends on a libssl.pc file, but instead of blindly add depends=pc:libssl, it will verify that something installed is actually providing it, and if to, it will find which package that provides the needed, currently installed, libssl.pc file, and add that as an explicit depends not libfoo-dev 2019-02-04 20:12:10 s/depends not/depends to/ 2019-02-04 20:12:10 ncopa meant to say: when abuild later build libfoo, it will see that it depends on a libssl.pc file, but instead of blindly add depends=pc:libssl, it will verify that something installed is actually providing it, and if to, it will find which package that provides the needed, currently installed, libssl.pc file, and add that as an explicit depends to libfoo-dev 2019-02-04 21:01:46 protonesso: i do remember you! 2019-02-04 21:02:38 how did you find here? 2019-02-04 21:03:31 Who are you 2019-02-04 21:04:34 AinNero 2019-02-04 21:05:41 you made pull requests with my commits in it between forks of sabotage linux 2019-02-04 21:05:52 i blocked you to stop the notification spam 2019-02-04 21:05:58 i think late 2016 or early 2017 2019-02-04 21:06:34 huge PITA 2019-02-04 21:10:57 oh 2019-02-04 21:11:50 Yeah I did it 2019-02-04 21:11:58 for fun 2019-02-04 21:12:20 AinNero: let's go to offtopic channel? 2019-02-04 21:17:28 ncopa: still here? 2019-02-04 21:17:35 im here 2019-02-04 21:17:42 nice :) 2019-02-04 21:17:54 what about $provider_priority 2019-02-04 21:17:54 for 15-30mins or so i think 2019-02-04 21:19:11 cant we somehow use? 2019-02-04 21:19:14 the problem with provider priority is that it may say that openssl-dev satisfies the dependency if libressl is missing, even if it at some point had higher priority 2019-02-04 21:19:54 we dont want one of them to be prioritized, we want one of them as exclusive dep 2019-02-04 21:20:34 ok 2019-02-04 21:21:29 ncopa: can you add tigervnc? 2019-02-04 21:21:44 probably, but not now 2019-02-04 21:21:52 I compiled it today on my pc 2019-02-04 21:21:56 maybe in two weeks or so 2019-02-04 21:22:39 im officially on vacation so i will only deal with emergencies 2019-02-04 21:23:03 ncopa: i have a patch (kind of ready) to add support for extra fw option in our release scripts. 2019-02-04 21:23:09 font-utils was broken when I was compiling xorg-server for tigervnc 2019-02-04 21:23:27 it would be nice if we could add it when we do 3.9.1 so we are able to fix rpi wifi. 2019-02-04 21:23:36 I was needed to recompile it 2019-02-04 21:23:59 and then autoreconf -fiv worked 2019-02-04 21:24:36 seems rpi fw will pull in another fw so modinfo doesnt detected this. 2019-02-04 21:24:37 clandmeter: ok 2019-02-04 21:24:42 ncopa: I think you should consider it 2019-02-04 21:25:01 also disable nls when you're building tigervnc package 2019-02-04 21:25:34 else you'll have errors with musl libintl 2019-02-04 21:25:47 protonesso: if font-utils is broken, can you please file a bug report on bugs.a.o with all the details and i´ll have a look at it when i get a chance (not now) 2019-02-04 21:26:06 I'll do it tomorrow 2019-02-04 21:26:09 ncopa: do we have a shortime solution to address the bootdelay issues because of lack of entropy? 2019-02-04 21:26:19 i mean as a note somwhere 2019-02-04 21:27:20 the best thing i can think of is to add it to a FAQ 2019-02-04 21:27:55 we have a FAQ on the wiki we could use til we have a better place 2019-02-04 21:28:07 unless SpaceToast has better idea 2019-02-04 21:28:27 would it be an option to detect entropy at boot and display a message if its low? 2019-02-04 21:28:47 hm 2019-02-04 21:28:50 sshd and ntpd needs some 2019-02-04 21:28:58 and wpa_supplicant 2019-02-04 21:29:11 i think on real hw we dont see it (yet) 2019-02-04 21:29:19 its mostly vm's 2019-02-04 21:29:22 i think it would be so much easier if we just enabled the "trust hw" by default 2019-02-04 21:29:28 it happens on my lappy 2019-02-04 21:29:34 with wpa_supplicant 2019-02-04 21:29:38 ah ok 2019-02-04 21:30:28 we could enable it by default and make it an option in the installed to opt-out 2019-02-04 21:30:41 but you like to skip questions in the installer :) 2019-02-04 21:31:10 yeah, i dont think we want ask questions in the installer 2019-02-04 21:31:13 hum... 2019-02-04 21:31:22 i think this is somewhat tricky 2019-02-04 21:31:56 i wonder if there are any other distro that choses to not trust the cpu? 2019-02-04 21:32:08 i guess they all select "trust cpu rng" 2019-02-04 21:32:18 which i think was the default previously 2019-02-04 21:32:46 im sure the outcome would not be acceptable for them. 2019-02-04 21:33:08 exactly 2019-02-04 21:33:23 it would be interesting to check what other distros do here 2019-02-04 21:34:19 if we chose to trust the cpu we have the argument that "all(?) other distros does, so we are not any worse, and if its a problem for you, then please add the needed boot option" 2019-02-04 21:35:29 i wonder if we could check in setup-alpine who much entropy there is and if we detect that it is too low, we set the boot option to trust cpu 2019-02-04 21:36:02 so the most common cases, like vms, things will work 2019-02-04 21:36:25 problem is upgrades 2019-02-04 21:36:37 but we at the same time make it visible for end user (via /proc/cmdline) that we have set it for them 2019-02-04 21:36:39 yeah 2019-02-04 21:37:20 hm 2019-02-04 21:37:42 i think we have an issue related to this 2019-02-04 21:39:40 i think a warning would kind of alarm systems that have upgraded. 2019-02-04 21:42:36 i cannot find the issue 2019-02-04 21:43:42 can you please create an issue on bugs.a.o, with the details, also mentioning that while this can be fixed via adding boot option from installer, it is a problem for upgraders 2019-02-04 21:43:52 and mark it "high" 2019-02-04 21:44:25 then we also have paper trail for any decision we do regarding this 2019-02-04 21:46:34 ncopa: SpaceToast and I made some short notes about boot delay regarding RDRAND, two days ago 2019-02-04 21:47:46 we started from here http://tpaste.us/xpjD and ended with this https://tpaste.us/YMww maybe could be useful 2019-02-04 21:48:47 its useful 2019-02-04 21:49:00 but i wonder if we should change our kernel config 2019-02-04 21:49:14 would be good to know what other distros do 2019-02-04 21:49:18 you decide, but imo we should not 2019-02-04 21:50:19 I stated it clearly in the first version of notes why, but I'm not one who have last words, I prefer some kind of consuses 2019-02-04 21:50:33 i guess the quick fix would be to add it to some FAQ 2019-02-04 21:50:40 and point users who gets affected 2019-02-04 21:50:43 eh, and SpaceToast reworded it nicely 2019-02-04 21:50:53 perfect 2019-02-04 21:51:06 im ok to add it to the official release notes for 3.9.0 2019-02-04 21:51:35 I think the best place would be to add it to release note, or better short link to that FAQ 2019-02-04 21:51:48 and send an email to alpine-use (and maybe alpine-devel), pointing to the FAQ 2019-02-04 21:52:19 very good idea, I think :) 2019-02-04 21:52:25 but it would also be nice if people who do `apk upgrade` gets some sort of warning about it 2019-02-04 21:52:51 yes, but I don't have idea how to add this 2019-02-04 21:53:18 i guess first step is to ad it to notes and FAQ 2019-02-04 21:53:23 and then send email about it 2019-02-04 21:53:27 so people are aware 2019-02-04 21:53:36 I agree 2019-02-04 21:53:53 i think we also should create a ticket on bugs.a.o, so people can follow the progress 2019-02-04 21:54:23 and can come with feedback or suggestions how to fix it 2019-02-04 21:54:25 there is a ticket, I think, maybe just add FAQ to it 2019-02-04 21:54:36 ok 2019-02-04 21:55:29 i could not find the other ticket 2019-02-04 21:55:34 thanks clandmeter! 2019-02-04 21:55:56 ok, good, then users can see that we are aware of the issue 2019-02-04 21:56:15 mps: can you please add your notes to the FAQ in wiki? 2019-02-04 21:57:18 let me elaborate a little my thought about that issue (RDRAND) in my not perfect English. Alpine is 'marketed' as Secure and if the something which is not agreed by big community would be source of criticism to Alpine 2019-02-04 21:57:29 i think whats really bad imho is that ppl would like to try alpine in a vm 2019-02-04 21:57:40 but they cant even boot it properly now :( 2019-02-04 21:57:47 will add it, in a ten/twenty minutes 2019-02-04 21:57:55 yes, its not good that its "broken" by default 2019-02-04 21:58:27 does vm's have rdrand? 2019-02-04 21:58:47 for VM's virtio-rng is solution 2019-02-04 21:59:28 mps: what if you vps provider doesnt expose the device? 2019-02-04 22:00:02 will virtio-rng be autoloaded? 2019-02-04 22:00:14 but, you all core devs should decide, whatever you agree, for me personally it is not problem 2019-02-04 22:00:26 or maybe I have to enable the device in my qemu 2019-02-04 22:00:38 i think thats what has to happen 2019-02-04 22:00:44 not sure though 2019-02-04 22:01:04 clandmeter: if the vps provider doesn't expose device than you have no choice anyway, or I'm wrong 2019-02-04 22:01:56 so, the big unknowns here is: "how big problem is it", "how bad is it to trust the hw rng" 2019-02-04 22:02:16 for VPS without emulated device there is haveged and also for physical devices without god source of entropy 2019-02-04 22:02:49 ok maybe i didnt catch your point mps 2019-02-04 22:02:55 ncopa: I feel somehow that that question will not be answered soon 2019-02-04 22:03:01 i thought you said its THE solution :) 2019-02-04 22:03:37 short term solution is to document how to workaround it if/when you are affected 2019-02-04 22:03:55 even if disabling is best, we cannot remove features without letting users know. 2019-02-04 22:03:55 long term will be to decide if we should change kernel config 2019-02-04 22:04:14 that question started a lot of heated discussions on many security list or forums for some years without clear conclusion 2019-02-04 22:04:26 imo it's better to trust it by default 2019-02-04 22:04:34 people react to things being slow by "speeding them up" 2019-02-04 22:04:43 often in ways that are much much worse than the thing that was originally being avoided 2019-02-04 22:04:46 that is what the kernel commit says. they pushed problem downstream 2019-02-04 22:05:00 (e.g see suggestions to run find / to "populate rng" when generating x.509 certs) 2019-02-04 22:05:21 I had idea to propose two lines in boot menu: boot secure and slow and another boot fast 2019-02-04 22:06:06 maybe better: "boot secure and maybe slow" and another "boot fast ???" 2019-02-04 22:06:50 the issue here is that secure doesnt need to be slow. 2019-02-04 22:07:14 clandmeter: you already added FAQ, nice 2019-02-04 22:07:26 i dont remember if I mentioned this issue on the alpine-devel mailing list? 2019-02-04 22:07:31 we should discuss it there 2019-02-04 22:07:40 yes, because that I added 'maybe' 2019-02-04 22:07:43 mps faq? 2019-02-04 22:08:03 no, in bugs.a.o 2019-02-04 22:08:36 ah ok 2019-02-04 22:08:37 yes 2019-02-04 22:08:40 i copied your info 2019-02-04 22:08:42 i will be afk for a couple of days 2019-02-04 22:09:06 I see, and not only my but SpaceToast also 2019-02-04 22:09:21 ncopa: do you have time to fix the sigs? 2019-02-04 22:09:39 do you have little time to ask state of llvm upgrade? 2019-02-04 22:10:06 clandmeter: not really. i think that may need to wait til i get access to my work computer (mid Feb) 2019-02-04 22:10:35 ok 2019-02-04 22:10:54 at least we can tell that to some users. they were asking for it. 2019-02-04 22:11:10 ok, just to tell that the llvm7 is broken with gcc 8.2 They plan to release llvm7.1.x but don't know when 2019-02-04 22:11:49 so, for now I will concentrate on llvm6 and other tools 2019-02-04 22:11:59 mps: sound good 2019-02-04 22:12:43 i think my first thing to do is fix the pkg-config provides issue in abuild (#9959) 2019-02-04 22:12:44 for now we don't have other choices. I actually build it and build new crystal with llvm6 2019-02-04 22:13:32 i think we will have to add support to abuild for pcprefix in abuild 2019-02-04 22:13:41 thinking aloud, maybe it would be better to send llvm questions to alpine-devel ML, than here? 2019-02-04 22:13:54 send it to alpine-devel 2019-02-04 22:14:04 then we also get the discussion archived 2019-02-04 22:14:12 ok, good night to all 2019-02-04 22:14:24 i need to go too 2019-02-04 22:14:39 clandmeter: big thanks! 2019-02-04 22:14:50 i owe you a couple of beers now... 2019-02-04 22:15:01 for breaking your holiday? 2019-02-04 22:15:03 :p 2019-02-04 22:16:29 Brahma or Antarctica would be fine ;-) 2019-02-04 22:44:31 mps, i added a simple howto regarding wireguard on wiki. i remember you asked for it. 2019-02-04 22:58:51 clandmeter: thanks, I see it 2019-02-04 23:04:00 no need for wg-quick, I see 2019-02-04 23:08:31 clandmeter: ip-route shouldn't be needed with address+netmask, and I use $IFACE in the {pre,post}-{up,down} segments 2019-02-04 23:08:34 otherwise looks good! 2019-02-05 08:38:20 clandmeter: so it seems the ntpd + sshd delay at boot time is due to lack of entropy as you mentioned earlier. Interesting, I missed that. 2019-02-05 08:40:12 sounds plausible 2019-02-05 08:40:34 install and run haveged, and consider enabling any hardware randomness sources if any are present 2019-02-05 08:41:21 tmhoang, on bare metal? 2019-02-05 08:41:41 rnalrd: I'm rolling in vms :D 2019-02-05 08:42:11 2019-02-04 21:47:46 we started from here http://tpaste.us/xpjD and ended with this https://tpaste.us/YMww maybe could be useful -> 2019-02-05 08:43:20 tmhoang, yeah, solved with rng-tools 2019-02-05 08:43:51 tnx, nice option 2019-02-05 08:44:16 yeah understood, thanks. I'm looking for the exact kernel cmdline because sometimes I need to boot via netboot (i,e. can't yet install rng-tools or haveged) 2019-02-05 08:45:41 or add pkgs= 2019-02-05 08:45:56 pkgs=rng-tools,haveged 2019-02-05 08:47:50 that wont start them afaik 2019-02-05 08:48:15 the cmdline is random.trust_cpu=on 2019-02-05 08:48:18 may or may not be helpful (it's for a RP) https://wiki.alpinelinux.org/wiki/Linux_Router_with_VPN_on_a_Raspberry_Pi#Random_number_generation 2019-02-05 08:48:39 more so how to configure rng-tools cos the documentation sucks 2019-02-05 08:48:57 clandmeter: that's the one 2019-02-05 08:50:05 doc ain't no suck :P 2019-02-05 08:50:17 no for rng-tools it did 2019-02-05 08:50:29 I mean edit it 2019-02-05 08:50:33 when i was using alpine linux 3.7 it stopped working when i upgraded to 3.8 2019-02-05 08:50:42 so yeah i wrote that wiki article there 2019-02-05 08:50:55 i mean upstream's documentation on rng-tools afaik 2019-02-05 08:51:18 hm. understood. thanks 2019-02-05 08:51:54 that bit there at the bottom changed 2019-02-05 08:52:03 ie RNGD_OPTS 2019-02-05 08:55:03 ScrumpyJack: https://git.alpinelinux.org/aports/tree/community/rng-tools/APKBUILD you should update the url 2019-02-05 08:55:27 sourceforge has no version 6 https://sourceforge.net/projects/gkernel/files/rng-tools/ 2019-02-05 08:56:12 looks like it's now on github https://github.com/nhorman/rng-tools 2019-02-05 08:56:38 yeah, the conf.d entry has needed a change since version 5 already IIRC 2019-02-05 08:57:05 conf.d entry was updated by me, and was included in v3.9 2019-02-05 08:57:27 ah 2019-02-05 09:17:59 AinNero: ^ 2019-02-05 09:18:57 ACTION grumbles 2019-02-05 09:19:23 you are the initramfs master :) 2019-02-05 09:19:33 i'd really like to have push access or a staging repo on g.a.o 2019-02-05 09:20:20 (for mkinitfs) 2019-02-05 09:21:39 seems like the staging area on g.a.o is rather unused.. 2019-02-05 09:22:09 what do you mean with staging area? 2019-02-05 09:23:48 own git tip where i can merge stuff in, and the head maintainer only merges that tip in 2019-02-05 09:24:10 differently from PRs that it usually contains several commits, probably also merged from other people 2019-02-05 09:24:29 <_ikke_> So you mean branch ACLs 2019-02-05 09:25:05 sort of. 2019-02-05 09:28:22 AinNero: you mean a staging repo to share with other users, or a user repo where you can push yourself and we pull from? 2019-02-05 09:29:06 for the record, we can provide user repos for users that contribute regularly. 2019-02-05 09:29:39 for aports it just easier to do PR based style cause it supports travis. 2019-02-05 09:29:56 mh 2019-02-05 11:52:59 gns3 is broken after the upgrade qt5 upgrade to 5.11 2019-02-05 11:53:59 http://pyqt.sourceforge.net/Docs/PyQt5/incompatibilities.html#pyqt-v5-11 2019-02-05 12:41:55 hm 2019-02-05 12:42:51 should really fix the installer so it works OOTB on v6 only 2019-02-05 12:46:39 or is it that the website(s) only have v4 2019-02-05 12:50:14 actually, this one won't even resolve anythign 2019-02-05 12:50:29 even though the nameserver given is reachable 2019-02-05 12:51:08 what gives? 2019-02-05 12:51:35 ohhh hang on 2019-02-05 12:51:48 ok 2019-02-05 15:36:57 if I have multiple init scripts, will -openrc package magic handle that ok? 2019-02-05 15:38:01 also I think I'm gonna seperate this out, but I'm not sure how to handle multiple packages in a single apkbuild - is there an example of another that does it cleanly? 2019-02-05 15:39:52 have a look at how hplip is packaged if your goal is to make separate packages instead of subpackages 2019-02-05 15:40:30 well i'd like to keep it in the apk build, but I can at least make it a bit more user friendly by allowing the client to be installed without the server 2019-02-05 15:40:35 if that make sense 2019-02-05 15:41:01 I'm strictly guessing (although it's a bit of an educated guess) that the magic is just splitting openrc files to a subpackage if they reside under /etc/init.d/ 2019-02-05 15:41:36 yeah, it makes sense, you could in that case just use -client and -server subpackages 2019-02-05 15:41:40 init files as well yeah, but a couple of libraries and some binaries 2019-02-05 15:41:51 yeah thats what I wanna do 2019-02-05 15:49:34 hm 2019-02-05 15:50:02 hplip doesn't really seperate them out, guessing -libs will just package libraries seperately? 2019-02-05 15:57:54 oh yeah, I selected that package as an example because it, IIRC, makes a completely separate package not named like standard subpackages 2019-02-05 15:58:21 oh right, yeah, hm 2019-02-05 15:59:11 rnalrd: oh now the czmq situation has not been resolved yet on s390x .... https://github.com/alpinelinux/aports/pull/6187 2019-02-05 15:59:20 hm 2019-02-05 15:59:22 yeah, just noticed 2019-02-05 15:59:35 not sure how i should do this then... 2019-02-05 15:59:59 never mind, we could just let the builder spitting failure for a few days until ncopa is back 2019-02-05 16:00:05 if that's ok for you 2019-02-05 16:00:08 unless the main package installs the client and -server is a subpackage 2019-02-05 16:00:44 I should have mentioned that in the comment for maintainers, like you. Would do next time, rnalrd. 2019-02-05 16:00:56 np, tnx 2019-02-05 16:01:10 I'm heading home. Nice a good night 2019-02-05 16:01:16 jwh, I'd use $pkgname as a meta package that installs both and package $pkgname-server and $pkgname-client separately 2019-02-05 16:01:16 *Have 2019-02-05 16:01:16 i should have double checked depends througly 2019-02-05 16:01:25 EoD here too 2019-02-05 16:01:25 cy 2019-02-05 16:01:27 cu* 2019-02-05 18:29:27 hello! I'm using alpine linux stable on raspberrypi 3 and I want to setup a personal router. For this, I would like to install openconnect, but I can see it is not packaged yet in official or community provided repos. Can you please add this package in one of your next releases? :) 2019-02-05 18:31:11 I also tried to join #alpine-linux, but I couldn't, for some reason... So I sincerely appologise if this is not the place to make such a request. 2019-02-05 18:32:01 submit a PR :D 2019-02-05 18:32:08 I want to congratulate you for this nice piece of work! 2019-02-05 18:32:56 <_ikke_> psih0man: What happens when you try to join #alpine-linux? 2019-02-05 18:34:01 _ikke_, it says that my nickname is not registered and I need to login. however, I am logged in with a username and a passowrd 2019-02-05 18:34:27 #alpine-linux :Cannot join channel (+r) - you need to be identified with services - see https://freenode.net/kb/answer/registration 2019-02-05 18:34:46 you're not identified 2019-02-05 18:35:27 I do not understand what identification means, aside from logging in with NickServ 2019-02-05 18:35:36 yes, that, but you aren't logged in 2019-02-05 18:35:56 you have to login each time you connect... 2019-02-05 18:36:39 I automatically log in. I'm using HexChat and I set it up to log me in each time I start i up.. Let me paste the log 2019-02-05 18:37:02 Try it manually 2019-02-05 18:37:04 you're really not logged in 2019-02-05 18:38:01 Add please don't paste in this channel 2019-02-05 18:38:45 You are right: I was not identified. Now I am and I successfully joined the other channel. 2019-02-05 18:38:47 oh phew, I thought I'd immediately gotten everything I had learnt about building go just then... 2019-02-05 18:38:48 Thank you. 2019-02-05 18:38:52 the horror 2019-02-05 18:39:02 ugh, forgotten* 2019-02-05 18:51:17 is there a post install message or something? 2019-02-05 18:53:55 <_ikke_> Nothing built-in afaik 2019-02-05 18:54:00 <_ikke_> Just an echo in a post-inst script 2019-02-05 18:54:39 ah that will do 2019-02-05 18:54:54 Which we prefer you don't use like that 2019-02-05 18:54:56 or I could just put some notes in conf.d, people should really check those before starting anyway 2019-02-05 18:55:45 just need to figure how to capture the stdout now and direct it somewhere useful 2019-02-05 18:56:06 unless openrc has something already that can capture it 2019-02-05 18:57:12 oh looks like it got something in .37 2019-02-05 18:58:04 not really sure how to apply that to init.d though 2019-02-05 19:07:00 right wel thats one more package off my list, even if it isn't ready yet 2019-02-05 20:49:45 ncopa: do you have a list on mkinitfs issues? 2019-02-05 21:05:42 im still working on a testing setup for mkinitfs 2019-02-05 21:05:59 because its rather painful to test several usecases manually 2019-02-05 21:08:00 AinNero: he wont be back for some time. 2019-02-05 21:08:11 oh. 2019-02-05 21:08:17 why? 2019-02-05 21:08:23 holidays 2019-02-05 21:08:56 oh, a dayjob maintainer 2019-02-05 21:16:40 clandmeter: the libressl/openssl issue seems trivial, but testing is difficult 2019-02-05 21:17:22 crazy, linux-vanilla ci job is still going 2019-02-05 21:17:53 it will probably timeout 2019-02-05 21:18:01 ah heh 2019-02-05 21:18:10 all that building for a one line change 2019-02-05 21:19:10 AinNero: i can test it locally, i just dont have time atm. 2019-02-05 21:19:49 like i said, currently working on a test suite with qemu and expect 2019-02-05 21:29:48 The job exceeded the maximum time limit for jobs, and has been terminated. 2019-02-05 21:29:49 heh 2019-02-05 21:48:29 anything special I should do when sending an aports patch that should be backported to 3.9? 2019-02-05 21:52:51 I'm just gonna mention it in the patch commentary 2019-02-06 08:19:02 rnalrd: please just leave all my current open issues as is and don't merge them. I'm waiting ncopa back for discussion. 2019-02-06 08:20:12 tmhoang, including the clocksource thing? 2019-02-06 08:20:19 yeah everything 2019-02-06 08:20:25 k 2019-02-06 08:20:36 that's my proposal, other dev want changes 2019-02-06 08:20:48 thanks 2019-02-06 08:20:53 yw 2019-02-06 11:26:38 is there a way to do something like `install_if="$pkgname && !$someotherpackage"`? 2019-02-06 11:29:02 <_ikke_> PureTryOut[m]: Can't seem to find an existing case 2019-02-06 11:29:39 Damn 2019-02-06 11:32:37 Oh I see abuild now supports git checkouts? That's awesome 2019-02-06 11:33:09 ... now? did i miss a change? 2019-02-06 11:41:31 Well, it didn't last time I checked, but that was quite a while ago 2019-02-06 11:42:02 I've been downloading tar archives when using specific commits, but that seems unessecary now. 2019-02-06 13:16:38 sigh, grub is awful 2019-02-06 13:18:21 there is syslinux for efi, but i dont know the reasoning while alpine doesn't use it 2019-02-06 13:21:05 i have no clue how to load all_video. 2019-02-06 13:24:32 if I have board with uefi I will try syslinux uefi 2019-02-06 13:25:11 i think the problem is that this box is booted via efi and grub doesnt load the correct video drivers 2019-02-06 13:30:38 we need a proper wiki entry for this crap 2019-02-06 13:31:33 i'd surely love to do this, but i still got enough work to do on mkinitfs 2019-02-06 13:32:13 what is the diff btween all_video and all other video drivers? 2019-02-06 16:33:51 Can someone please point me to any documentation on how to use github.com/alpinelinux/aports/scripts/bootstrap.sh? 2019-02-06 16:36:20 tomc: what are you trying to do? 2019-02-06 16:37:06 I'm trying to create a build environment to build armhf packages on an x86_64 host.# 2019-02-06 16:37:26 why not qemu? 2019-02-06 16:37:56 Because it's docker I'm trying to build and building it under qemu takes >8 hours. 2019-02-06 16:38:23 cross-compiling for many packages is broken, and thats not our fault 2019-02-06 16:38:50 the bootstrap mechanism is more to cross-compile the base system 2019-02-06 16:39:02 so the other packages can be compiled non-cross via qemu 2019-02-06 16:39:35 Understood. I'm happy hacking around the docker source to make it build, or to accept that it can't be done if it can't be done. But so far the bootstrap.sh script fails to build a gcc cross-compiler at all. 2019-02-06 16:40:59 is it a requirement to build it yourself? 2019-02-06 16:41:11 because there are armhf rootfs tarballs available 2019-02-06 16:42:24 But that won't include the cross-compiler, will it? 2019-02-06 16:43:16 no, with the rootfs, you use qemu and compile 'natively' 2019-02-06 16:45:18 have you previously made software to cross-compile? 2019-02-06 16:46:38 Yes, I've built a cross-compiler using crosstool-ng in an alpine docker container and used this to recompile docker. It's rather complicated though, because the resulting toolchain isn't multiarch-aware and so there is lots of hacking around pkgconfig files and so on. 2019-02-06 16:46:54 I was trying bootstrap.sh to see if it produced a more workable build environment. 2019-02-06 16:47:16 uhm, are you just after the toolchain? 2019-02-06 16:47:48 can you get a working docker without gcc at all? it's a Go program… 2019-02-06 16:48:08 It's a go program, but it uses CGO & so requires a working target C compiler. 2019-02-06 16:48:27 It depends on lvm2-dev, btrfs-progs-dev and libltdl. 2019-02-06 16:48:34 As C dependencies. 2019-02-06 16:50:02 RE: multiarch-aware 2019-02-06 16:50:12 you used -L and -I and sysroot? 2019-02-06 16:51:13 Yes. But the docker source uses pkg-config to set GCC options. And the libdevmapper pkg-config file has the library directory hard-coded as /lib. 2019-02-06 16:51:25 So it ends up trying to link the host libdevmapper.so. 2019-02-06 16:51:36 pkgconfig has a sysroot path for that 2019-02-06 16:52:20 iirc PKG_CONFIG_SYSROOT_DIR 2019-02-06 16:52:59 Well there you go, you live and learn. 2019-02-06 16:53:10 Thanks. 2019-02-06 16:53:31 Is the advice then definitely not to use an environment produced by bootstrap.sh to cross-compile apk packages? 2019-02-06 16:54:49 if you are able to make it work for your usecase, you might as well use it 2019-02-06 16:58:00 but its not an user-friendly interface for a task, its more like an instruction for experienced users where to start trying 2019-02-06 16:58:57 afk for a while 2019-02-06 17:00:15 Thanks for your help. 2019-02-06 19:23:24 ERROR: py3-six-1.11.0-r0: BAD signature 2019-02-06 19:23:26 on edge 2019-02-06 19:27:45 <_ikke_> apparently it has been reverter 2019-02-06 19:27:47 <_ikke_> reverted 2019-02-06 19:29:51 should I open a ticket on bugs.alpinelinux.org? 2019-02-06 19:29:55 <_ikke_> hold on 2019-02-06 19:31:26 <_ikke_> Can you try again? 2019-02-06 19:31:33 yup 2019-02-06 19:31:36 <_ikke_> ddevault: are you using x86_64? 2019-02-06 19:31:39 yes 2019-02-06 19:31:40 <_ikke_> ok 2019-02-06 19:31:50 works :) 2019-02-06 19:31:51 <_ikke_> I purged it from fastly 2019-02-06 19:31:52 thanks! 2019-02-06 19:31:58 <_ikke_> np 2019-02-06 19:32:55 v6? *runs* 2019-02-06 19:33:08 hm 2019-02-06 19:33:15 <_ikke_> ? 2019-02-06 19:33:21 I say fixed, but only in my isolated test case 2019-02-06 19:33:26 https://builds.sr.ht/~sircmpwn/job/26570 2019-02-06 19:33:31 failed in the real deal https://builds.sr.ht/~sircmpwn/job/26571 2019-02-06 19:33:35 lemme try again, maybe it's a fluke 2019-02-06 19:37:20 bizzare. It works when I apk add py-six but not when abuild -r picks it up 2019-02-06 19:37:49 oh! _ikke_ py3-six is separately broken 2019-02-06 19:37:55 I bet py2-six as well 2019-02-06 19:38:19 aye, it is 2019-02-06 19:38:22 <_ikke_> I purged all 3 2019-02-06 19:38:29 <_ikke_> py-six py3-six and py2-six 2019-02-06 19:38:34 <_ikke_> just now 2019-02-06 19:38:37 ty, let's see 2019-02-06 19:39:01 yep, all in working order. Thanks again! 2019-02-06 19:40:26 <_ikke_> \o/ 2019-02-07 00:01:30 ah this is perverse, having to boot arch to get alpine on these VMs 2019-02-07 04:09:44 anybody alive 2019-02-07 04:10:27 nope, only the undead roam these halls 2019-02-07 04:13:57 I am run Xen Dom0 on 3.9.0 release with a major caveat 2019-02-07 04:14:41 Namely two servers I have were originally installed with 3.5 xen-hardened kernel on the top of LVM SSD 2019-02-07 04:15:31 I was unable to replace hardened kernel with vanilla kernel during 3.7 to 3.8 upgrade 2019-02-07 04:15:57 due to the fact that xen-vanilla could not find volume groups. 2019-02-07 04:16:17 so I still have Linux xen1.int.autonlab.org 4.9.65-1-hardened #2-Alpine 2019-02-07 04:16:38 strange, sounds more like an initrd thing 2019-02-07 04:16:45 but I've never so much as touched xen 2019-02-07 04:17:00 I have not done anything fancy during the 3.5 installation. I was following installer options. 2019-02-07 04:17:32 I am fully aware that if I chose physical block device instead of LVM I would not have any problems replacing 2019-02-07 04:17:38 hardened kernel with vanilla 2019-02-07 04:17:50 I have done that on my test system. 2019-02-07 04:18:11 AinNero: any ideas? 2019-02-07 04:18:22 Is there anything I can do to replace obsolete hardened kernel with vanilla 2019-02-07 04:18:53 well I'm not actually sure what's wrong with your system 2019-02-07 04:18:58 vanilla kernel SHOULD have support for lvm 2019-02-07 04:19:05 more mkinitfs.conf 2019-02-07 04:19:09 yes 2019-02-07 04:19:12 features="ata base ide scsi usb virtio ext4 lvm" 2019-02-07 04:19:13 "could not find volume groups" isn't particularly descriptive 2019-02-07 04:20:24 Please check http://collabedit.com/8n9aj 2019-02-07 04:20:55 When I try to boot vanilla kernel boot process complain that can't find /dev/vg0/lv_root 2019-02-07 04:21:52 I meant to say that I get dropped to initramfs console 2019-02-07 04:23:08 I reported the "upgrade bug" https://bugs.alpinelinux.org/issues/9062 2019-02-07 04:23:46 The bug is very easy to reproduce. Just do a fresh installation of 3.7 xen with hardened kernel on the LVM instead of pure block device 2019-02-07 04:24:26 then try to upgrade by editing /etc/apk/repositories 2019-02-07 04:24:58 and running apk update, apk upgrade, sync, reboot. 2019-02-07 04:25:06 You will break your test system 2019-02-07 04:27:24 Also Ubuntu 18.04 netplan seems to break vif driver. I can't get Ubuntu 18.04.1 to run as DomU 2019-02-07 04:27:47 I am awaiting for 18.04.2 to released to try again. 2019-02-07 04:28:50 What would be the simplest way to backup existing configuration files and do a fresh installation? 2019-02-07 04:29:08 lbu? 2019-02-07 04:29:40 I am long time OpenBSD users but not very skilled with Alpine which I use only as Xen Dom0 2019-02-07 04:30:18 hmm, I'm not sure if lbu can do that, but I don't really use it 2019-02-07 04:30:28 lbu is meant for "diskless" style installs 2019-02-07 04:30:38 (where it backs up configuration files, and then loads them into tmpfs during boot) 2019-02-07 04:31:54 oko72: you see how your extlinux.conf has modules=sd-mod,usb-storage,ext4 ? 2019-02-07 04:32:51 can you try adding `dm-mod` to that list? 2019-02-07 04:32:59 (just as a test :) ) 2019-02-07 04:36:47 I can try adding dm-mod to the list but not tonight. I only have remote access to production systems 2019-02-07 04:37:02 Breaking them tonight might mean that I don't have a job tomorrow. 2019-02-07 04:37:12 ok, do try that, and/or anything AinNero suggests (an initrd contributor around here) 2019-02-07 04:37:36 I will hang around for AinNero suggestions 2019-02-07 04:38:09 Any comments on Ubuntu 18.04.1 netplan network problems. 2019-02-07 04:38:41 I have few Ubuntu 16.04 DomUs and I am holding upgrade for now 2019-02-07 04:38:54 netplan is stupid and never should have been made the default 2019-02-07 04:39:01 but that's not really related to alpine development :) 2019-02-07 04:39:02 +1 2019-02-07 04:39:10 +1 2019-02-07 04:39:34 I 100% agree with both statements but id doesn't hurt to ask 2019-02-07 04:40:13 there's always #alpine-linux (for alpine queries that are not development-related) and #alpine-offtopic (for anything you want!) 2019-02-07 04:40:27 I'm znc-detached from the former, but any channel I'm in, I can always be summoned to by mentioning my nickname 2019-02-07 04:43:45 I tried on #alpine-linux but no luck. I can live with broken 18.04 DomUs but I will have to do something about hardened kernel 2019-02-07 04:44:07 IIRC that thing is not going to be supported for a vary long time. 2019-02-07 04:44:23 I will have to replace it with vanilla one way or another. 2019-02-07 09:02:11 oko72: do you have /etc/mkinitfs/mkinitfs.conf.apk-new ? 2019-02-07 13:08:46 so I'm trying to build Qt4 (don't ask me why lol) but it fails in the packaging fase. `attr_set: No such file or directory. Could not set "pax.flags" for /home/pmos/build/pkg/qt/usr/bin/qmlviewer`. Is pax even used anymore? Could I just remove the `paxmark` command? 2019-02-07 13:10:13 correct 2019-02-07 13:25:54 what is kernel module name to get lvm working at boot time (getting /dev/vg0/lv_root up) ? 2019-02-07 13:39:15 dm-mod ? 2019-02-07 13:40:25 modprobe dm-mod 2019-02-07 13:42:15 clandmeter: yes sir 2019-02-07 13:42:38 after upgrading to edge, my alpine s390x box can't boot... investigating 2019-02-07 13:43:57 strange, any interesting output? 2019-02-07 13:50:14 /dev/vg0/lv_root can't be brought up. I'm trying to create a new initramfs by booting from netboot and chroot into the disk. 2019-02-07 13:51:25 I got a rescue shell here, # lsmod shows no dm_mod kernel module 2019-02-07 13:51:34 ehh 2019-02-07 13:51:42 wasnt there another user with similar issue? 2019-02-07 13:51:43 I should add "lvm" to /etc/mkinitfs/mkinitfs.conf and rerun mkinitfs 2019-02-07 13:51:49 same as https://bugs.alpinelinux.org/issues/9062 2019-02-07 13:51:51 ? 2019-02-07 13:52:02 clandmeter: yeah, now im panicking 2019-02-07 13:52:28 I got these all the time back when I'm dev-ing 3.7-3.8 s390x port but need to recal ... 2019-02-07 13:52:48 tmhoang: you upgraded from which version to which? 2019-02-07 13:52:52 from 3.9 2019-02-07 13:52:57 from 3.9 to edge 2019-02-07 13:53:07 no, let me remember ... 2019-02-07 13:54:07 I'm always on edge to be exact, and I just apk upgrade today. 2019-02-07 13:54:23 havent done so since 3.9.0 release 2019-02-07 14:05:23 so as I said, I netboot and mount the disk, chroot, downgrade kernel from 4.19.19(edge) to 4.19.18 (v3.9) and it boots for me ( thanks to presence of dm-mod.ko) 2019-02-07 14:05:46 so linux-vanilla in edge is missing dm-mod.ko or mkinitfs in edge is not including it 2019-02-07 14:06:24 https://pkgs.alpinelinux.org/contents?file=dm-mod.ko&path=&name=linux-vanilla&branch=edge 2019-02-07 14:06:38 i dont think its the kernel 2019-02-07 14:06:42 clandmeter: so it is mkinitfs business 2019-02-07 14:07:02 there had been 3 patches via aports 2019-02-07 14:07:46 between 3.9 and edge 2019-02-07 14:08:35 AinNero: Probably earlier than 3.9. I've always on edge and I don't remember exactly when was the last time I ran apk upgrade ... 2019-02-07 14:08:55 are you connected via serial? 2019-02-07 14:09:00 kind of 2019-02-07 14:09:20 could you capture the console/printk output when debug_init is enabled? 2019-02-07 14:09:32 debug_init is a kernel command line option 2019-02-07 14:09:36 I'm back to business with it :D 2019-02-07 14:09:52 don't want to apk upgrade again just to reproduce the bug :D 2019-02-07 14:09:52 sorry 2019-02-07 14:09:56 tmhoang: the module is not included in initramfs? 2019-02-07 14:10:02 yes sir 2019-02-07 14:10:10 I'm back to 4.19.18 2019-02-07 14:10:11 what does that mean? 2019-02-07 14:10:16 yes its not? 2019-02-07 14:10:19 :) 2019-02-07 14:10:22 not included :D 2019-02-07 14:10:28 oh, that would be the cause then 2019-02-07 14:10:45 yeah, since mkinitfs does not include dm-mod -> initramfs does not have it 2019-02-07 14:11:34 I could reproduce tonight when I'm off the clock ... 2019-02-07 14:16:20 tmhoang: is the lvm in your /etc/mkinitfs/mkinitfs.conf? 2019-02-07 14:16:35 because per default its not, but that wouldn't explain why it worked previously 2019-02-07 14:16:45 now yes 2019-02-07 14:17:32 that fixed it? 2019-02-07 14:17:54 usually setup-disk inserts it there 2019-02-07 14:19:34 hum... it was there. I don't remember if I insert it manually or setup-disk. 2019-02-07 14:20:30 hm, i'll try to reproduce later this day 2019-02-07 16:15:34 hi, since grsec is not being used, would adding 'aufs' as module still be an issue ? 2019-02-07 16:17:57 if its ok, I can add a request in bugs.a.o 2019-02-07 17:25:32 oko72: i updated from 3.8.2 to edge on a lvm system and could not reproduce your issue 2019-02-07 18:42:31 I'm trying to build a package that is looking for the "qtwaylandscanner" binary via cmake. Since this binary isn't in `/usr/bin` but in `/usr/lib/qt5/bin`, it can not find it and the compilation fails. I could manually symlink the binary to the right spot, but that is most definitely wrong. How would I work around this? 2019-02-07 21:11:36 can someone reproduce this? boot the 3.9.0 virt iso in qemu and try setup-alpine 2019-02-07 21:11:55 setup-apkrepos hangs on fetching the mirror list 2019-02-07 21:15:13 pcap dump shows that some communication is taking place: http://0x0.st/zsd5.txt 2019-02-07 22:01:08 Hello there, everyone! 2019-02-07 22:02:03 I have a slightly unusual question, is it ok if I ask it here? 2019-02-07 22:02:32 <_ikke_> Hard to tell without seeing the actual question ;-) 2019-02-07 22:06:32 Well, I have an idea of creating a rust-oriented linux distro (a toy one for now) and I have been looking for a good "platform" for it. I am trying to look for a very small distro, which can be very lightweight (small amount of packages, access to low-level configurations), has a permissive license and doesn't use systemd. Basically, I am looking for something as close to a bare kernel as possible. 2019-02-07 22:06:33 Alpine linux is an amazing project, so I wonder if it can become a foundation for my little project. 2019-02-07 22:07:21 <_ikke_> I don't see why not (not an official answer from Alpine Linux though) 2019-02-07 22:08:16 <_ikke_> only downside might be that alpine is based on musl 2019-02-07 22:09:32 Yeah, this is one of the reasons why I decided to ask here first. Does Alpine linux at all support usual dynamically linked binaries? 2019-02-07 22:10:08 <_ikke_> sure, enough projects use dynamically linked libraries 2019-02-07 22:10:51 In that case, were can alpine being based on musl start being a problem? 2019-02-07 22:11:06 skyne98: would you mind to tell a little more what you mean by 'rust-oriented linux distro' 2019-02-07 22:11:30 we have rust, and cargo, and they (usually) work 2019-02-07 22:11:40 <_ikke_> skyne98: when code depends on glibc features 2019-02-07 22:11:58 dynamically linked binaries work fine with musl - the reason static linking is mentioned a lot is because it's horribly broken with glibc, but not with musl 2019-02-07 22:13:43 mps: the general idea is to toy around with writing custom operating system elements from scratch in rust. Some of the interesting components are already available, such as full wayland server/client libraries, which makes it even more interesting 2019-02-07 22:14:08 Also rust because it's the only system language I can somewhat write code in 2019-02-07 22:14:35 you want to have linux kernel, libc and rest in rust, if i understood you 2019-02-07 22:15:26 mps: yes, in the beginning also some init system, device daemon and stuff like this 2019-02-07 22:15:29 i.e. all userspace written in rust 2019-02-07 22:15:43 exactly 2019-02-07 22:16:17 if you are interested in the general concept, I can share a small primer on google docs, but it's mostly ideas scribbled down on paper 2019-02-07 22:16:24 rust works fine on Alpine with musl, but only x86_64 for now 2019-02-07 22:17:33 you only have to start write code and keep in mind that you need llvm to build rust 2019-02-07 22:18:08 I think that in the beginning I can limit myself to using binaries built on the host system 2019-02-07 22:18:41 well, shell could work as init system also 2019-02-07 22:19:47 I agree, but writing my own init script and daemons goes way out of scope of my knowledge for now 2019-02-07 22:22:22 What will be the best place to start? Aports? 2019-02-07 22:22:47 <_ikke_> To start with what exactly? 2019-02-07 22:23:33 just finished patches for llvm6 batteries :) I deserve a little rest/siesta 2019-02-07 22:23:46 <_ikke_> mps: sleep tight ;) 2019-02-07 22:23:57 Have a nice sleep :) 2019-02-07 22:24:03 Thanks for your help, mps 2019-02-07 22:24:46 _ikke_: to setup a small repo which will allow me to make quick test builds, maybe introduce a couple of packages 2019-02-07 22:24:49 _ikke_: thanks, but I suspect that the some code from clang will stay in my head as was last night in bed :) 2019-02-07 22:25:14 <_ikke_> skyne98: I would create separate repositories to host the actual code 2019-02-07 22:25:37 <_ikke_> skyne98: then you could create APKBUILDS that fetch the code from those repos to create actual apks 2019-02-07 22:26:16 _ikke_: Hm, so basically make my own "repository"? 2019-02-07 22:26:21 skyne98: some basic codes in linux distro deserve rewrite in better C++, i.e. Rust 2019-02-07 22:26:51 basic daemons and utilities, I mean 2019-02-07 22:27:16 mps: maybe one day I will be able to rewrite a couple of important system binaries myself and be useful :D 2019-02-07 22:27:42 <_ikke_> skyne98: yes 2019-02-07 22:28:01 <_ikke_> skyne98: aports only hosts APKBUILD definitions + auxilery files 2019-02-07 22:28:30 some are already rewritten, and I find it quite interesting, even started to learn rust a more seriously 2019-02-07 22:28:58 _ikke_: my idea was to basically make one package with my own "package manager" (which doesn't yet exist) and then use it to set the system up 2019-02-07 22:29:15 mps: really? specifically in Alpine, or in the linux community in general? 2019-02-07 22:29:35 Alpine, before all. of course 2019-02-07 22:29:41 <_ikke_> skyne98: sure, that can work 2019-02-07 22:30:54 I'm working to bootstrap rust on ARM for Alpine. I have it working for aarch64 and armv7 but not yet ready for builders 2019-02-07 22:31:24 <_ikke_> going to sleep, night all 2019-02-07 22:31:32 _ikke_: good night 2019-02-07 22:31:45 good night :) 2019-02-07 22:31:59 mps: what are the complications? rustc itself doesn't want to be built with musl on arm? 2019-02-07 22:32:38 hmph 2019-02-07 22:32:43 upstream (to say mildly) is not friendly for musl on ARM's 2019-02-07 22:32:55 and for musl in general 2019-02-07 22:32:58 why is this box timing out for gpg key fetching 2019-02-07 22:33:40 weird 2019-02-07 22:34:17 mps: in my own experience, rust is still super funky with its musl builds. I haven't managed to build nearly any pure-rust libs using musl target, which quite weird, imho 2019-02-07 22:35:40 oh 2019-02-07 22:35:42 I built some test programs on x86_64, aarch64 and armv7 without big problems. Only big package which tried is firefox 2019-02-07 22:35:45 shady ipv6 support bites again 2019-02-07 22:35:46 sigh 2019-02-07 22:39:19 mps: I tried building gfx-rs, webrender and servo crates, which all seem very important to me 2019-02-07 22:39:32 also I have tried building alacritty 2019-02-07 22:39:48 nothing worked for me, unfortunately (out of the box) 2019-02-07 22:41:37 you mean on Alpine? 2019-02-07 22:42:52 nope, mostly on ubuntu 2019-02-07 22:42:59 I haven't used alpine ever (yet) 2019-02-07 22:45:37 umm 2019-02-07 22:45:38 lol 2019-02-07 22:46:20 I don't have to make/program anything in rust rihgt now but learning it at slow pace to use it for system programming when I will have to do such 'things' 2019-02-07 22:47:58 I wasted about year on golang in the hope that it could be system programming language, but I was wrong 2019-02-07 22:49:24 btw, guys, should I try using alpine instead of ubuntu? I am that kind of a person that always attracts towards interesting projects, but I am slightly afraid of jumping to alpine as my daily-driver (mostly because I have only recently started having a stable experience on linux, having learnt more stuff) 2019-02-07 22:51:12 skyne98: It took me about six months before I finally decide that I will use Alpine. Tried it in qemu, on arm SBC's and played with some time before full switch 2019-02-07 22:51:35 mps: what are the benefits? 2019-02-07 22:51:41 after more than twenty years of experience with debian 2019-02-07 22:52:46 benefits: as Alpine www page says: Small, Simple, Secure. And I would add Fast but really Fast! 2019-02-07 22:53:55 what about nvidia proprietary drivers? 2019-02-07 22:55:25 doesn't work, to put simply. Alpine have poor support for anything proprietary 2019-02-07 22:55:38 closed source, I mean 2019-02-07 23:00:25 that's some bad news, has anyone tried manually running the installer from Nvidia drivers website? 2019-02-07 23:02:01 it's that good old "glibc only" problem I guess; could work with the required compatibility layer, but the lack of a wiki article indicates nobody's managed to get it to work just yet 2019-02-07 23:03:26 what if you don't REALLY mind glibc that much? 2019-02-07 23:03:44 linux distro is a linux distro after all, right? 2019-02-07 23:04:58 skyne98: I tried, and after some time asked self: on what I'm wasting time. And now I fully understand Linus's comment "**** you, Nvidia" 2019-02-07 23:05:00 but then the question becomes, why Alpine at all... and I say that as someone who both likes running Alpine and would love to utilize his nVidia products beyond what nouveau has support for 2019-02-07 23:05:41 true, true 2019-02-07 23:06:32 but does nouveau support vulkan? 2019-02-07 23:06:38 I wonder 2019-02-07 23:08:19 I have a luck to have also Intel card on notebook so just disabled nvidia and 'forgot' that it is inside 2019-02-07 23:11:14 unfortunately I am dual xeon + gtx 1060, so it's my only graphics card 2019-02-07 23:18:28 skyne98: sorry, late is here. going to sleep. good night :) 2019-02-07 23:21:31 mps: good night, thanks for your time :) 2019-02-07 23:23:34 you are welcome, see you :) 2019-02-07 23:29:44 see you! 2019-02-07 23:41:27 ok, I go now too, guys, have a nice sleep 2019-02-08 01:49:36 Hi all just looking for pointers on how to cross compile aports, which tools/package etc I should use. 2019-02-08 01:49:54 no * & jokes please 2019-02-08 02:17:14 AinNero: yes I do have /etc/mkinitfs/mkinitfs.conf.apk-new 2019-02-08 02:21:31 AinNero: Of course you can't reproduce the issue from 3.8.2 to 3.9. You need to start with 3.7 xen-hardened on LVM and try to upgrade to 3.8. 2019-02-08 02:22:20 Even 3.7 to 3.8 on regular disk works OK. The case I am reporting is from 3.7 LVM xen-hardened to 3.8 xen-vanilla 2019-02-08 02:22:29 Then the things break 2019-02-08 02:25:49 AinNero: mkinitfs.conf.apk-new doesn't contain LVM 2019-02-08 02:25:57 AinNero features="ata base cdrom ext4 keymap kms mmc raid scsi usb virtio" 2019-02-08 02:26:06 I am guessing I need to add LVM there? 2019-02-08 02:32:36 AinNero: I am guessing I need to add lvm to mkinitfs.conf.apk-new and run mkinitfs 2019-02-08 09:06:20 oko72: lvm needs to be in mkinitfs.conf, the apk-new is what the package manager creates/changes upon update 2019-02-08 09:18:12 clandmeter, ncopa or anybody else: would be nice if you could take a look at this simple armv7 for nettle patch: https://github.com/alpinelinux/aports/pull/6256 2019-02-08 09:39:03 ollieparanoid[m]: is that problem for nettle or armv7 2019-02-08 10:15:55 mps: its mentioned in the pr 2019-02-08 10:27:25 clandmeter: ah, I see. it is only for main/nettle and not armv7 in general. 2019-02-08 10:31:30 I'm trying to build a package that is looking for the `qtwaylandscanner` binary via cmake. Since this binary isn't in `/usr/bin` but in `/usr/lib/qt5/bin`, it can not find it and the compilation fails. I could manually symlink the binary to the right spot before building, but that is most definitely wrong. How would I work around this? 2019-02-08 14:11:57 AinNero: but my mkinitfs.conf does contain lvm features="ata base ide scsi usb virtio ext4 lvm" 2019-02-08 14:12:39 however mkinitrs.conf.apk-new doesn't contain lvm 2019-02-08 14:12:58 thats to be expected, since apk-new is always the alpine default 2019-02-08 14:13:07 AinNero however mkinitrs.conf apk-new doesn't contain lvm 2019-02-08 14:13:44 AinNero: Any suggestions? 2019-02-08 14:14:14 AinNero: Should I run mkinitrs after apk add linux-vanilla? 2019-02-08 14:14:32 mkinitfs is run automatically if you add or update kernels 2019-02-08 14:14:51 AinNero: That is what I thought. 2019-02-08 14:15:32 So I have a reproducible problem. If you start with 3.7 on LVM (xen-hardened) and try to upgrade to 3.8 xen-hardened things will work 2019-02-08 14:15:47 i havent got around to test the xen image 2019-02-08 14:16:02 However once you add 3.8 xen-vanilla things will break 2019-02-08 14:16:41 i might test it later 2019-02-08 14:16:50 and the damn thing can't find logical vollume 2019-02-08 14:16:52 do the xen images also work in qemu? without kvm support? 2019-02-08 14:17:11 I have no idea I am running it on the physical hardware 2019-02-08 14:17:30 i dont have physical hardware to test it right now 2019-02-08 14:18:06 Also as long as you use plain block device instead of lvm upgrade from 3.7 xen-hardened to 3.8 xen-vanilla things will work as expected 2019-02-08 14:18:36 I can't believe I am the only one bitten by this. To make things funnier I really had no need for LVM. 2019-02-08 14:19:04 I am just alpine noob so I pick LVM as that is default for the Red Hat which we use on all computing nodes in the LAB 2019-02-08 14:19:13 calm down god dammit 2019-02-08 14:19:43 I am calm. Sorry if I came across as nervous. 2019-02-08 14:20:17 can you verify that the new initramfs (which doesn't boot) has the device mapper modules? 2019-02-08 14:20:30 I can just reinstall the server once I have more time but I would prefer to fix things. 2019-02-08 14:21:40 yeah, and im currently trying to figure out what is wrong that could be fixed 2019-02-08 14:22:26 which is difficult because i dont have physical hardware around 2019-02-08 14:22:35 so i could tell you some things you could check 2019-02-08 14:23:44 I just added linux-vanilla to 3.9 production server please see http://collabedit.com/5cwxh 2019-02-08 14:24:19 now 2019-02-08 14:25:35 is the lvm/dm module in initramfs-hardened? 2019-02-08 14:28:41 zcat /boot/initramfs-hardened | cpio -t | grep dm_mod 2019-02-08 14:33:44 eh, in initramfs-vanilla 2019-02-08 14:33:55 is the lvm/dm module in initramfs-hardened? 2019-02-08 14:34:04 zcat /boot/initramfs-vanilla | cpio -t | grep dm_mod 2019-02-08 14:34:25 69163 blocks 2019-02-08 14:34:41 looks like a binary file unless vi in the base can't display UTF 2019-02-08 14:35:39 dont know, initramfs have ever been binaries 2019-02-08 14:35:43 but thanks for the information 2019-02-08 14:36:04 but the hardened initramfs does have the kernel module? 2019-02-08 14:36:47 xen1:/boot# zcat /boot/initramfs-hardened | cpio -t | grep dm_mod 2019-02-08 14:36:56 82895 blocks 2019-02-08 14:37:28 But as I said it look gibberish when I try to see with vi 2019-02-08 14:37:28 ye, my mistake, its dm-mod, not dm_mod 2019-02-08 14:37:55 oko72_: what did you expect to see? 2019-02-08 14:37:56 xen1:/boot# zcat /boot/initramfs-hardened | cpio -t | grep dm-mod 2019-02-08 14:37:58 lib/modules/4.9.65-1-hardened/kernel/drivers/md/dm-mod.ko 2019-02-08 14:38:04 82895 blocks 2019-02-08 14:38:23 xen1:/boot# zcat /boot/initramfs-vanilla | cpio -t | grep dm-mo 2019-02-08 14:38:31 lib/modules/4.19.18-0-vanilla/kernel/drivers/md/dm-mod.ko 2019-02-08 14:38:39 69163 blocks 2019-02-08 14:39:10 Looks like both initramfs files do have dm-mo kernel module 2019-02-08 14:40:06 AinNero: For some reason I thought initramfs-hardened and initramfs-vanilla were plain text files. 2019-02-08 14:40:23 My bad 2019-02-08 14:40:34 Alpine Linux n00b 2019-02-08 14:40:51 initramfs is always a cpio archive, on linux in general 2019-02-08 14:41:04 oko72_: have you tried adding dm-mod to the list of modules= in your kernel command line yet? 2019-02-08 14:41:26 what SpaceToast said 2019-02-08 14:41:27 Using OpenBSD most of my adult life. This is a paid job 2019-02-08 14:42:02 you see how your extlinux.conf has modules=sd-mod,usb-storage,ext4 ? 2019-02-08 14:42:10 can you try adding `dm-mod` to that list? 2019-02-08 14:42:24 yeah, that thing I suggested when you first came in, and you said you'd do it later :) 2019-02-08 14:43:17 I didn't have a physical access to the machine. I could not effort to break production server over night. I will again have access in about 2 h 2019-02-08 14:43:25 is that what you want me to add? 2019-02-08 14:44:16 AinNero: I didn't realized SpaceToast just joined. I posted his exact words 2019-02-08 14:44:37 I never left 2019-02-08 14:45:18 AinNero: Do you want me to follow on SpaceToast suggestion? 2019-02-08 14:45:21 and by my count that happened ~33h ago 2019-02-08 14:45:45 oko72_: you can try that, but i would be surprised if that would make a difference 2019-02-08 14:45:57 dm-mod module is usually autoloaded by lvm activity 2019-02-08 14:46:26 you could test that out by editing the kernel command line during boot 2019-02-08 14:48:22 if the lack of loaded dm-mod would be the issue, then my home laptop wouldn't boot as well 2019-02-08 14:49:29 Got it. 2019-02-08 14:50:54 since the difference between vanilla and xen-vanilla is basically just the hypervisor, i think this might be a kernel bug 2019-02-08 14:51:48 I am glad to hear that I am not crazy. 2019-02-08 14:52:22 I just can't believe I am the only one running Xen on the top of LVM. No other people complained 2019-02-08 14:53:03 maybe you are the only one who did 2019-02-08 14:53:07 and as I said the upgrade 3.7 xen-hardened to 3.8 xen-vanilla goes fine as long as you have just a HDD not LVM 2019-02-08 14:53:28 LVM is an option in the installer 2019-02-08 14:53:36 yes 2019-02-08 14:53:36 yes 2019-02-08 14:53:37 I realized that I should just gone with defaults 2019-02-08 14:53:48 It was too late. 2019-02-08 14:54:01 I have 2 production servers and 2 dozens of virtual machines 2019-02-08 14:54:19 how is your wife doing? 2019-02-08 14:55:00 Sorry I am not following your last question. Is that some kind joke? 2019-02-08 14:58:05 i dont know, this seemed like smalltalk to me 2019-02-08 15:00:21 can we move this conversation to #alpine-linux please? 2019-02-08 15:00:29 this is not a support channel 2019-02-08 15:10:22 hi, how are things going here? 2019-02-08 15:12:19 ncopa: lvm problems during updates, we dont know stuff, im still working on an testing rig for mkinitfs 2019-02-08 15:12:32 shouldn' 2019-02-08 15:12:41 *..'t you be on vacation ? 2019-02-08 15:12:47 i still am 2019-02-08 15:20:12 AinNero: is it reported on bugs.a.o? 2019-02-08 15:20:43 the wget timeout? or one of the two lvm issues? 2019-02-08 15:22:26 i was thinking of the lvm issues 2019-02-08 15:23:26 there is #9062 2019-02-08 15:24:25 i wrote some expect scripts for qemu, but that was unable to reproduce 9062 2019-02-08 15:24:38 but instead resulted in a functional system 2019-02-08 15:26:38 i wonder if it related the dom0 thingy? 2019-02-08 15:27:43 i guess so. 2019-02-08 15:31:16 maybe xen is testable with qemu 2019-02-08 15:37:24 i think kvm supports nested virt with a kernel module option 2019-02-08 15:37:43 i have mixed success with it earlier 2019-02-08 15:39:27 i think i might push for serial console support per default even in vanilla images 2019-02-08 15:39:34 so i can test them via expect scripts 2019-02-08 15:39:54 i'll show you the code when you are back to work 2019-02-08 15:41:21 ugh, the internet connection here is not good 2019-02-08 15:41:47 im having problem even with downloading the last emails 2019-02-08 15:41:58 vacation is not for working 2019-02-08 15:42:26 also, vacation is essential for stress-testing the truck factor 2019-02-08 15:43:00 indeed 2019-02-08 15:43:08 ah,. bus factorm usually 2019-02-08 15:43:15 train factor for TempleOS tho 2019-02-08 16:22:43 I got the lvm issue yesterday. Mostly the cause is lvm is missing in the initramfs after upgrading kernel from 4.19.18 to 4.19.19. Dont know why "lvm" was removed in my mkinitfs.conf. Adding "lvm" back to it is fine though. 2019-02-08 16:31:00 tmhoang: i just updated my laptop to that version, i'll reboot it and hope it comes back up 2019-02-08 16:31:12 :D 2019-02-08 16:31:44 i have to grab it anyways later this day 2019-02-08 16:32:30 it's friday, take it easy and chill :D 2019-02-08 16:33:41 i got good news and bad news 2019-02-08 16:33:49 the good news, i can reproduce your issue 2019-02-08 16:33:58 the bad news, im off heading home. see ya! 2019-02-08 16:34:10 <_ikke_> o/ 2019-02-08 16:35:13 :D 2019-02-08 16:35:23 usb drive to rescue 2019-02-08 16:35:34 _ikke_ have a good one! 2019-02-08 17:00:35 yeah, its failing at boot 2019-02-08 17:00:40 no lvm2 binary in initramfs 2019-02-08 17:29:21 huh? how come? 2019-02-08 17:31:00 other issue: 3.9 netboot ends up with zlib: BAD Signature 2019-02-08 17:31:09 means apk is missing symbols 2019-02-08 17:52:20 i just had to fix my thoroughly broken arch system because of signature (gpg) issues :) 2019-02-08 17:53:34 <_ikke_> danieli: How did that happen? 2019-02-08 17:55:34 upgraded readline to 8, which gpg depends on 2019-02-08 17:55:50 i didn't fully explore it but 7 -> 8 broke it badly, and i had to reinstall 7 together with 8 2019-02-08 17:57:06 <_ikke_> I apparently already have readline 8 2019-02-08 18:01:29 i suspect my lvm problem is unrelated to tmhoang's issue 2019-02-08 18:01:49 "someone uninstalled lvm because they were unaware that the system was installed using lvm" 2019-02-08 18:21:22 i think the sed upgrade broke virtualbox-guest-modules-vanilla build 2019-02-08 18:28:46 sigh, ftp.gnu.org is down again 2019-02-08 18:28:54 http://ftp.gnu.org that is 2019-02-08 18:35:08 hey ncopa 2019-02-08 18:35:16 enjoying vacation? :D 2019-02-08 18:35:42 yeah, i am waiting for my OH, and am a bit bored... 2019-02-08 18:35:46 ah 2019-02-08 18:39:56 OT, can project leader have holidays ;) 2019-02-08 18:40:20 ofc we can 2019-02-08 18:40:33 its just that getting back from holidays is a very bad idea :) 2019-02-08 18:40:59 <_ikke_> haha :D 2019-02-08 18:41:05 so if you take vacation, you should probably not return :) 2019-02-08 18:42:48 btw, anyone have comments on my mail to alpine-devel about llvm 2019-02-08 18:43:25 i havent dared to open the email... 2019-02-08 18:44:28 understand, and not asked you in the first place, but others who are 'at work' 2019-02-08 18:45:55 i quick read it 2019-02-08 18:46:26 re llvm3.9 i think we shoudl ask the maintainer (jirutka?), im in favor of removing it if nothing depends on it 2019-02-08 18:47:08 i suggest that you ask maintainer, and if you dont get any answer within reasonable time (a week?), you just go ahead and remove it 2019-02-08 18:48:46 I built and tested all batteries on x86_64, aarch64 and armv7. could post aports patches but had a hope that someone will have something to say about my proposal, so didn't posted them yet. 2019-02-08 18:49:37 well, llvm3.9 not a issue now, it could stay there some time without problem 2019-02-08 18:49:56 i want it removed unless something is depending on it 2019-02-08 18:50:05 i think there was something, crystal or something 2019-02-08 18:50:15 or maybe julia 2019-02-08 18:50:44 didn't found anything in main, commuunity and testing 2019-02-08 18:51:33 may be its _llvmver=3.9 depends=llvm$_llvmver or similar 2019-02-08 18:51:45 yes, julia depends on it, but julia is in unmaintained 2019-02-08 18:51:53 but its no hurry 2019-02-08 18:51:56 as you said 2019-02-08 18:52:26 ping me again next week (wednesday) if you dont get any feedback 2019-02-08 18:52:43 I don't know anything about julia, maybe it depends on this exact version 2019-02-08 18:52:58 i think it did 2019-02-08 18:53:08 i think i asked in some github PR at some point 2019-02-08 18:53:26 but i dont remember the details 2019-02-08 18:53:54 my question is, should I post patches for version 6 of llvm tools 2019-02-08 18:54:25 i think i would have preferred llvm7, but it depends on how difficult it is to fix it 2019-02-08 18:54:44 so i´d ask upstream if they have a simple patch for the gcc 8 problem 2019-02-08 18:54:58 or if they recommend wait for 7.1 2019-02-08 18:55:07 llvm7 have problems with gcc 8.2 toolchain 2019-02-08 18:55:43 question is how difficult it is to fix it 2019-02-08 18:56:04 they announced release 7.1.x but when it will be released no one told 2019-02-08 18:56:04 if its a one-liner patch, then i think we should go for that 2019-02-08 18:56:27 so they probably already have the patch for the gcc 8 fix somewhere 2019-02-08 18:56:47 but if its complictated to backport the fix to 7.0, then i think we can just go ahead and do llvm6 2019-02-08 18:56:53 since its already working 2019-02-08 18:57:01 I looked at patch and to me it is not simple, and not sure if it final which would solve issues 2019-02-08 18:57:06 ok 2019-02-08 18:57:14 then lets go for llvm6 for now 2019-02-08 18:57:48 when they release 7.1 we can try to add it, and we should add it 2019-02-08 18:57:53 yeah 2019-02-08 18:59:00 i dont have my email set up for responding atm 2019-02-08 18:59:02 sorry 2019-02-08 18:59:02 rust, crystal (and ponyc, iirc) depends on llvm6 for now, so we have to have llvm6 for some time, that is my understanding 2019-02-08 18:59:47 although rust and crystal also works with llvm5, too 2019-02-08 19:00:12 didn't looked deeply in ponyc 2019-02-08 19:01:55 ncopa: np for not answering mail, you are on holidays at the end 2019-02-08 19:14:01 is there problem with patchwork.a.o ? 2019-02-08 19:14:51 uh, no. looks like it is a little slower than was earlier 2019-02-08 19:20:02 patches for llvm6 batteries are on patchwork.a.o 2019-02-08 21:35:23 py{2,3,}-six has a broken signature again 2019-02-08 21:35:34 <_ikke_> hmm 2019-02-08 21:37:10 <_ikke_> sigh, riht 2019-02-08 21:37:12 <_ikke_> right 2019-02-08 21:37:19 <_ikke_> it first got reverted, now it got upgraded again 2019-02-08 21:37:28 <_ikke_> but both versions existed already 2019-02-08 21:38:37 <_ikke_> Can you check now? 2019-02-08 21:38:57 yep, working on it... 2019-02-08 21:39:41 ncopa: when you get a minute, can you look at this? needs to land in 3.9 https://patchwork.alpinelinux.org/patch/4457/ 2019-02-08 21:39:49 _ikke_: good to go, thanks! 2019-02-08 22:09:45 Is there any chance at a bump to testing/lxd? 3.9 has a severe musl-related bug (whose fix I'd recommend backporting if it wasn't in testing) that's fixed in the (now-out) 3.10; I mentioned it to fcolista here a few times and marked it as out of data on pkgs.a.o, but it really should just be a version bump - it's kind of a blocker for my builder to be running :) 2019-02-09 06:23:24 SpaceToast: done 2019-02-09 06:24:02 clandmeter: thanks a lot! Will test tomorrow and get back to you :) 2019-02-09 16:19:01 hmph, was hoping 8723bs was enough for the bluetooth too but it's not having ti 2019-02-09 16:22:22 actually theres a bunch of bluetooth stuff missing 2019-02-09 17:04:44 \o/ 2019-02-09 17:09:07 i just added re-signing to abuild (locally) 2019-02-09 17:10:14 the heavy lifting is ofc done by somebody else.... 2019-02-09 17:10:27 ACTION points in fabled direction 2019-02-09 17:11:42 clandmeter: as an update, lxd 3.10 works just fine, including the bug fix, ty again :) 2019-02-09 17:12:26 10+ years and a few glasses of wine, and alpine keeps amazing me. still so much unknown ground to cover in our distro. 2019-02-09 17:12:46 SpaceToast: salut 2019-02-09 17:14:00 +e but thats the wine :) 2019-02-09 17:14:45 so it should be trivial now to build pkgs locally and resign them elsewhere. 2019-02-09 17:15:25 clandmeter: prost :) with a glass of good homemade red wine 2019-02-09 17:15:39 mps, we need that wine :) 2019-02-09 17:15:43 a bit early to be drinking here ^^ later, mayhaps! 2019-02-09 17:16:08 mps: you keep mentioning it, that means sharing! :) 2019-02-09 17:17:21 clandmeter: some of my friends from your country will visit me in a two week, I can send you a bottle if they are not thirsty to much 2019-02-09 17:17:34 haha 2019-02-09 17:17:40 good :) 2019-02-09 17:18:00 you live in nl, I think 2019-02-09 17:18:03 i have nothing to return though 2019-02-09 17:18:13 yes south 2019-02-09 17:19:06 eh, my friends (business partner) are also on south 2019-02-09 17:19:33 nice 2019-02-09 17:19:36 near Eindhoven 2019-02-09 17:19:44 i am in ehv 2019-02-09 17:20:15 tech center of the world... blablabla 2019-02-09 17:20:22 heh, chances are high that you will 'see' mentioned bottle :) 2019-02-09 17:21:09 i would save it for a special irc day :) 2019-02-09 17:22:04 will see with them if they are willing to be 'postman' 2019-02-09 21:22:57 is there some reason EDAC is not enabled on our kernels 2019-02-09 22:08:37 mps: I and others (currently rnalrd) are seeing sporadic segfaults when trying to build rust packages with cargo - anything I can do to help debug it? (seems to happen at random points during the build, I initially thought it was just the downloading section, but I had one during linking) 2019-02-09 22:13:34 SpaceToast: on x86_64? 2019-02-09 22:13:39 yes 2019-02-09 22:13:59 suddenly dropping (in various points of the build) with "Segmentation fault" or "Segmentation faultres" 2019-02-09 22:14:03 and with llvm5, i presume 2019-02-09 22:14:06 yeah 2019-02-09 22:14:17 just basic `abuild -r` 2019-02-09 22:14:20 how much memory you have 2019-02-09 22:14:23 48gb. 2019-02-09 22:14:38 (1 currently used) 2019-02-09 22:14:43 huh, then memory is not problem 2019-02-09 22:14:52 I would assume not :) 2019-02-09 22:15:07 the same package used to build just fine a month or two ago on a system with 2gb ram 2019-02-09 22:15:07 I had segfault during build with 6GB RAM 2019-02-09 22:15:19 so it's a new breakage 2019-02-09 22:15:34 I ran `apk upgrade -a` just in case, but the behavior's the same 2019-02-09 22:15:38 after adding 4GB issue is solved, i.e. no segfaults during build 2019-02-09 22:15:45 and it happens at random points, once even before the "fetching packages" started 2019-02-09 22:16:01 so it's "while cargo is running", not even "during build" necessarily 2019-02-09 22:16:14 I initially suspected openssl/libressl but it does happen during building too 2019-02-09 22:16:25 so I suspect llvm a bit more, but 5 is autoselected for cargo 2019-02-09 22:16:33 aha, so actually cargo segfaults 2019-02-09 22:16:52 yes, it's not rustc (at least as far as I can tell) 2019-02-09 22:17:05 it's possible rustc segfaults too, but cargo definitely does 2019-02-09 22:17:21 I can give you some APKBUILDs to run a few times (it's inconsistent) if you'd like 2019-02-09 22:17:33 didn't noticed that in my testing 2019-02-09 22:17:45 currently it's reproduced on at least two systems :/ 2019-02-09 22:17:56 it'd be interesting if yours didn't have any problems 2019-02-09 22:19:28 right now, I 'messed' rust build with some patches and trying to build with llvm6. will checkout it later and try build on edge 2019-02-09 22:19:41 ok, ty 2019-02-09 22:19:49 if I can help with any details, feel free to /query 2019-02-09 22:19:55 (and please do ping me if/when you figure it out) 2019-02-09 22:20:01 will see tomorrow, midnight is nearing heer 2019-02-09 22:20:09 nw 2019-02-09 22:20:16 man 2019-02-09 22:20:20 when did the kernel get so big 2019-02-09 22:20:26 jwh: progressively 2019-02-09 22:20:30 most of it is drivers though 2019-02-09 22:20:34 like 75%+ 2019-02-09 22:20:57 heh 2019-02-09 22:21:08 I can't figure out how to make ps show me the time I ran abuild 2019-02-09 22:21:28 don't think busybox ps does 2019-02-09 22:21:59 jwh 25251 0.0 0.0 1988 1500 pts/1 S+ 20:02 0:00 /bin/ash -e /usr/bin/abuild -r 2019-02-09 22:22:02 Sat Feb 9 22:21:54 UTC 2019 2019-02-09 22:22:11 sadface 2019-02-09 22:22:14 SpaceToast: just remembered I had segfaults building rust on aarch64 but that is in trying to bootstrap it 2019-02-09 23:14:56 Hey, guys, I am facing one interesting issue right now: trying to make my own versions of alpine-baselayout and alpine-base using a Docker container conflicts with the installed packages 2019-02-09 23:15:21 Is there a more correct way doing this? 2019-02-09 23:15:35 tag your repository, install the tagged version explicitly 2019-02-09 23:16:33 So they can somehow co-exist, even though they have file conflicts in the post-install scripts? 2019-02-09 23:17:03 they'll be mutually exclusive, of course 2019-02-09 23:17:08 but yours will replace the main repo one 2019-02-09 23:20:28 Ok, thanks for a good advice 2019-02-09 23:25:32 Is there a way to create a local empty repository for such cases? 2019-02-09 23:25:46 I wan't able to find anything in the documentation, unfortunatelly 2019-02-09 23:25:53 unfortunately* 2019-02-09 23:26:36 use any directory 2019-02-09 23:27:01 when you use `abuild -r` it'll be dropped into REPODEST, which is ~/packages by default 2019-02-09 23:27:14 can be overriden in /etc/abuild.conf and ~/.abuild/abuild.conf 2019-02-09 23:28:18 Oh, looks like it can also be overridden with a -p flag, can't it? 2019-02-09 23:28:56 capital -P, but yes 2019-02-09 23:54:12 Oh, I forgot to mention, my packages are named differently, does that influence anything by any chance? 2019-02-09 23:54:46 I suspect it won't allow using the tag trick mentioned above 2019-02-10 00:05:52 yeah, no ^^ 2019-02-10 00:06:28 you could use replaces= in the APKBUILD I think 2019-02-10 00:06:30 https://wiki.alpinelinux.org/wiki/APKBUILD_Reference#replaces 2019-02-10 00:10:01 I managed to overcome it by just purging alpine-baselayout beforehand 2019-02-10 00:10:10 I hope I broke nothing in the process :D 2019-02-10 01:29:30 bleh 2019-02-10 01:29:31 thats it 2019-02-10 01:29:35 ACTION turns off ipv6 on all alpine boxes 2019-02-10 01:29:40 it's just useles 2019-02-10 01:29:42 useless* 2019-02-10 08:56:55 sigh. 2019-02-10 13:49:49 Hey, guys! Good "morning" :D 2019-02-10 13:53:12 <_ikke_> hi 2019-02-10 13:53:15 A small question again, which package can cause problems with absence of /sbin/init? 2019-02-10 13:53:38 I am still in the process of making my own "alpine-base" and "alpine-baselayout" forks 2019-02-10 13:54:06 At the moment I can successfully build an ISO, but it fails to run /sbin/init 2019-02-10 13:54:28 <_ikke_> afaik it's the kernel / initramfs that tries to run that 2019-02-10 13:57:47 It's definitely trying to run it, but what package provides it? My suspicion falls on OpenRC and busybox-initscripts, but they seem to contain only daemon configurations 2019-02-10 13:57:51 Maybe I am just blind :D 2019-02-10 13:59:12 Ok, seems like the file is there, hmmm. Also the message is "/sbin/init not found in new root." 2019-02-10 14:32:37 Btw, where is init supposed to be in Alpine? 2019-02-10 14:32:49 I see an init file in a root of the initfs 2019-02-10 14:55:08 skyne98: see bootparam(7)'s section that starts with init= 2019-02-10 14:55:30 in alpine, the initramfs has a shell script in /init, and the system proper has a symlink in /sbin/init that points to busybox 2019-02-10 14:55:48 which will run busybox init and thus parse inittab, which will launch openrc 2019-02-10 15:16:00 Thanks for the info :) 2019-02-10 15:26:46 Hey guys, I'm trying to compile SuperTuxKart on Alpine and I'm running into this error 2019-02-10 15:27:08 https://bpaste.net/show/c7786c526029 2019-02-10 15:27:58 <_ikke_> seems to be a dependency on glibc 2019-02-10 15:28:53 Oh 2019-02-10 15:29:00 So I can't fix that? 2019-02-10 15:29:42 <_ikke_> maybe, maybe not 2019-02-10 15:31:08 <_ikke_> You can try to google for that type in combination with musl 2019-02-10 15:36:54 Alright, thanks for help 2019-02-10 15:52:36 SpaceToast: which version of cargo you have when rebuilding rust? 2019-02-10 15:53:20 Btw, guys, have you seen https://github.com/thepowersgang/mrustc? 2019-02-10 15:53:29 It claims it can build rustc and cargo 2019-02-10 15:54:07 mps: latest edge (since it's an edge builder using `abuild -r`) 2019-02-10 15:54:12 so 1.31.1-r1 2019-02-10 15:54:57 and rust is same version, I presume. 2019-02-10 15:55:09 yeah 2019-02-10 15:55:24 also notable that the segfaults are sporadic - they can happen anywhere during the build as long as cargo is running 2019-02-10 15:55:34 (during the download phase, build phase, or link phase) 2019-02-10 15:55:41 which version of rust you are trying to build 2019-02-10 15:55:45 I'm not building rust 2019-02-10 15:55:51 as I mentioned, I'm building rust-based packages 2019-02-10 15:56:00 ah, so. 2019-02-10 15:56:00 and getting segfaults in the process at random places 2019-02-10 15:56:17 do you have APKBUILD for that package 2019-02-10 15:56:26 I have several, and offered to send them to you :) 2019-02-10 15:56:39 can I PM? 2019-02-10 15:56:39 sorry, I missed that. 2019-02-10 15:56:46 ofc, you can 2019-02-10 16:13:22 Hm, I noticed another confusing thing. The iso script seems to install the initramfs packages with a --no-script flag while the alpine-baselayout and alpine-base both have scripts that set the system up (such as create an inittab) 2019-02-10 16:13:28 Am I missing something here? 2019-02-10 21:34:59 i'm a bit confused about the rust *-alpine-linux-musl* targets 2019-02-10 21:35:34 (from the apkbuild patches) 2019-02-10 21:36:17 would you mind to tel what is confusing 2019-02-10 21:36:31 they seem to pass their full target triple to llvm, but building llvm (in context of building rustc) doesn't seem to know what to do with them 2019-02-10 21:36:46 and the llvm apkbuild doesn't seem to have any relevant patches 2019-02-10 21:38:23 hmm, I'm not expert in llvm, but looks like it know what to do at the end 2019-02-10 21:41:59 yeah, i'm not claiming llvm can't build code for those triples or anything. just having problems building llvm itself in one of the steps of building rustc. 2019-02-10 21:42:05 ah well 2019-02-10 21:44:12 llvm is not built during rust building, on Alpine I mean 2019-02-10 21:46:12 did you looked prepare function in APKBUILD 2019-02-10 21:48:00 i think it's getting built because i'm trying to cross-compile? 2019-02-10 21:48:01 hm 2019-02-10 21:48:30 no, look 'rm -Rf src/llvm/' line 2019-02-10 21:49:09 oops, thanks mps 2019-02-10 21:50:07 foldedcascode: are you just curious about rust on Alpine, or you work with it 'something' 2019-02-10 21:50:09 although i think if i do that i may need to grab the target arch's llvm so it's available for linking, right? 2019-02-10 21:50:50 Alpine does native build 2019-02-10 21:50:52 figured i would try to get rust running on armhf alpine 2019-02-10 21:51:26 aha, I'm working on run it on aarch64 and armv7 2019-02-10 21:51:46 oh! how is that going for you? 2019-02-10 21:52:15 well, I have apk's but didn't tested it well 2019-02-10 21:56:29 cool! curious to see them if you've posted them somewhere 2019-02-10 21:56:47 gtg, ttyl 2019-02-10 21:58:15 last week I worked on llvm 6 for alpine so didn't had much time to test it. 2019-02-10 21:59:09 could put it somewhere, but have no idea where 2019-02-11 07:07:01 SpaceToast, hi 2019-02-11 07:07:49 mm, 'evening? 2019-02-11 07:12:39 what's up? 2019-02-11 07:13:05 (it's kind of 2 am here, and I've work in ~5-6 hours, so if it's nothing urgent I'll go back to sleep) 2019-02-11 07:51:17 morning fcolista 2019-02-11 07:51:33 hey danieli ! hi 2019-02-11 07:51:35 Hi SpaceToast 2019-02-11 07:51:36 sorry 2019-02-11 07:51:56 just to let you know that I pushed lxd 3.10 2019-02-11 07:52:11 sorry for the delay, i was away for 2 days 2019-02-11 08:09:52 fcolista: you pushed 3.10? 2019-02-11 08:21:29 yes 2019-02-11 08:52:11 fcolista: where? 2019-02-11 09:26:09 oh 2019-02-11 09:26:12 in my dreams 2019-02-11 09:26:19 It was in my local repo 2019-02-11 09:26:22 lol 2019-02-11 09:26:25 :D 2019-02-11 09:26:28 6be04380d37d935a30fc6c9e54efbe620a7a0f8a 2019-02-11 09:26:34 just saw you did it in git log 2019-02-11 09:26:49 while i remember I did it, and not seen that you were already did it 2019-02-11 09:27:19 heh 2019-02-11 09:27:20 ok 2019-02-11 09:27:22 gotcha 2019-02-11 09:27:38 i had to git stash due to py3-qt5 I was working with... 2019-02-11 09:27:53 that's why i rememeber to have done it.. 2019-02-11 09:30:07 ;-) 2019-02-11 09:39:57 i occasionally stash when i'm out working, and forget about it 2019-02-11 09:40:02 until someone pokes me 2019-02-11 09:47:43 hehe 2019-02-11 09:48:49 fyi: I requested RPi add Alpine to their downlaods page 2019-02-11 09:48:55 s/lao/loa 2019-02-11 09:48:55 danieli meant to say: fyi: I requested RPi add Alpine to their downloads page 2019-02-11 10:05:25 danieli: which page? 2019-02-11 10:05:42 raspberrypi.org/downloads 2019-02-11 10:05:50 ah ok 2019-02-11 10:06:21 i need to fix the images 2019-02-11 10:45:36 hi 2019-02-11 10:46:08 quick question: RPi3B+ is supported? 2019-02-11 10:47:11 <_ikke_> I believe it should, not certain though 2019-02-11 10:47:35 <_ikke_> "Designed for RPI 1, 2 and 3." 2019-02-11 10:47:47 looks like you have my same certainty :) 2019-02-11 10:47:55 <_ikke_> haha :P 2019-02-11 10:48:24 trying to boot one, now testing raspbian because no luck so far 2019-02-11 10:59:36 rnalrd: should be supported 2019-02-11 11:01:36 rnalrd: which issue do you have? 2019-02-11 11:22:42 ok raspian boots 2019-02-11 11:24:17 clandmeter, no video signal when attempting to boot with alpine-uboot-3.9.0-armv7.tar.gz 2019-02-11 11:24:38 uhm 2019-02-11 11:24:45 thats not made for raspbian 2019-02-11 11:24:53 doh 2019-02-11 11:24:55 the releases are incomplete 2019-02-11 11:25:01 ncopa needs to fix it. 2019-02-11 11:25:08 i have a working release if yhou like 2019-02-11 11:25:40 https://dev.alpinelinux.org/~clandmeter/other/alpine-rpi-190203-aarch64.tar.gz 2019-02-11 11:26:04 3B+ is 64-bit? 2019-02-11 11:27:00 Processor: Broadcom BCM2837B0, Cortex-A-53, 64-bit SoC @ 1.4 GHz 2019-02-11 11:28:00 nice, thanks!! 2019-02-11 11:28:04 aren't all RPi3 64bit? 2019-02-11 11:28:20 and limited some older ones too 2019-02-11 11:28:50 but that they didnt announce. 2019-02-11 12:30:02 that cortex a53 can do 32-bit afaik 2019-02-11 13:30:23 danieli: 64bit is not officially supported by rpi, so yes its 32bit capable. 2019-02-11 13:35:26 a53 could execute arm32 binaries, even under aarch64 as base system 2019-02-11 13:41:39 why would the base system matter in this regard? 2019-02-11 13:45:14 it doesn't, just wanted to note possibility to run 32bit binaries under 64bit system 2019-02-11 14:15:27 i believe the first releases of raspbian for the 3 were 32 2019-02-11 14:15:33 but later on, i'm pretty sure they rolled out 64 2019-02-11 14:30:24 http://www.raspbian.org/RaspbianFAQ#What_compilation_options_should_be_set_Raspbian_code.3F 2019-02-11 16:24:43 <_ikke_> ^ that's a feature :P 2019-02-11 16:25:09 :) 2019-02-11 16:25:12 i need to fix that 2019-02-11 16:25:23 added to my ever growing list 2019-02-11 16:25:26 <_ikke_> heh 2019-02-11 16:49:38 need some help? 2019-02-11 17:01:10 I messed one of my edge containers, couldn't build curl properly. it builds without errors but there is no /usr/lib/libcurl.so.4.5.0 which must be there 2019-02-11 17:01:42 'abuild deps' works fine 2019-02-11 17:08:17 anyone have idea how to fix it 2019-02-11 17:24:08 SpaceToast: built your exa APKBUILD 'three times in row' without any error on aarch64 2019-02-11 17:28:38 fd couldn't be built because this error: error[E0425]: cannot find value `MAP_32BIT` in module `libc` 2019-02-11 17:40:03 ripgrep built fine 2019-02-11 17:50:21 mps: are the changes/patches in edge on dl-cdn.a.o now? 2019-02-11 17:50:36 ("can I run an upgrade and test myself", rather) 2019-02-11 17:56:21 SpaceToast: not yet, have a problem with building curl and libcurl 2019-02-11 17:56:36 which look to be the issue to begin with ^^;; 2019-02-11 17:56:53 let me take a look at the MAP_32BIT real quick, but if it's not a segmentation fault that's fine 2019-02-11 17:57:06 the issue is how sporadic the failures are, so it's possible it's not solved (but I would hope it is!) 2019-02-11 17:57:12 only on x86_64, on aarch64 works with curl as it is 2019-02-11 17:57:27 that's... interesting 2019-02-11 17:57:37 also to me 2019-02-11 17:58:37 I patched curl, but have to fix my x86_64 edge build container 2019-02-11 17:59:35 but I'm 99% percent sure that the problem is curl and not cargo 2019-02-11 17:59:51 it does look like it, now 2019-02-11 18:00:12 that also means it's likely that other packages could be affected (just without anyone hitting the bad code so far) 2019-02-11 18:00:19 1% could be cargo+libcurl combo 2019-02-11 18:00:36 seems you are right 2019-02-11 18:00:39 it might be that cargo uses libcurl's http/2 functions 2019-02-11 18:00:44 which might be the source of the issue 2019-02-11 18:00:51 that is! 2019-02-11 18:01:24 I could post you patch for curl in a few minutes 2019-02-11 18:01:37 I'm currently at work (1pm here) 2019-02-11 18:01:49 if you could, can you git-send-email to toast@toastin.space, and I'll try compiling a copy myself? 2019-02-11 18:02:16 ah, ok. will post patch to patchwork.a.o then 2019-02-11 18:02:49 ok, could whatever you like 2019-02-11 18:02:52 ^^ ty 2019-02-11 18:03:05 I'll test with the patch on the build server 2019-02-11 18:03:11 probably this evening or tomorrow 2019-02-11 18:04:57 ok, will do something when preparing it to be clean 2019-02-11 18:47:56 setup-alpine also asks for dropbear as an alternate install, but may not be present in some isos, hope its ok ? 2019-02-11 18:52:00 vkrishn: `apk add --quiet $pkgs` happens in setup-sshd::41 2019-02-11 18:52:13 setup-sshd happens after setting up networking and repositories 2019-02-11 18:52:19 so it just needs to be in main 2019-02-11 18:52:29 which it is :) 2019-02-11 18:55:12 so if someone downloads alpine-virt-3.9.0-x86_64.iso, and tries to choose dropbear during setup, it would not work 2019-02-11 18:57:50 it would 2019-02-11 18:57:54 assuming they set up networking and apkrepos 2019-02-11 18:58:00 which you do want to set up if you're running setup-alpine anyway 2019-02-11 18:58:23 ok 2019-02-11 19:05:23 SpaceToast: https://patchwork.alpinelinux.org/patch/4497/ 2019-02-11 19:06:26 built exa four times in a row without problem with this patch applied to curl 2019-02-11 19:06:51 on x86_64? 2019-02-11 19:06:56 yes 2019-02-11 19:07:05 <_ikke_> commit message could use some improvement ;-) 2019-02-11 19:07:18 nice! 2019-02-11 19:07:42 _ikke_: wording commits is my big issue 2019-02-11 19:08:03 <_ikke_> Try to describe why you change things, not literally what you changed 2019-02-11 19:08:07 mps: I'll try it when I get home 2019-02-11 19:08:14 <_ikke_> for example, "bump pkgrel" is redundant 2019-02-11 19:08:15 any thoughts as to submitting it to upstream? 2019-02-11 19:08:34 <_ikke_> You want to explain why the fix needs to happen in the first place 2019-02-11 19:08:34 it is already upstream 2019-02-11 19:08:43 I took it from there 2019-02-11 19:09:02 oh, ok, so we're just waiting for a release, then? 2019-02-11 19:09:20 yes, I wrote in annotations that 2019-02-11 19:09:28 aha 2019-02-11 19:10:53 _ikke_: I explained a little bit more in annotation in mail 2019-02-11 19:11:18 <_ikke_> I see, though that won't be part of the actualy commit mesasge 2019-02-11 19:11:24 <_ikke_> actual* 2019-02-11 19:13:23 I know, the problem is to find right words i.e. translate to English words from my head and I'm like to look perfect and because that waste too much time on messages. 2019-02-11 19:13:42 ^^ 2019-02-11 19:13:51 if you want, I can give some polyglot hints 2019-02-11 19:14:16 SpaceToast: do whatever you think is right 2019-02-11 19:14:34 I find that if you dynamically translate what you want to say in your head, it'll never sound natural 2019-02-11 19:14:40 and it's a lot of work too :) 2019-02-11 19:14:55 right 2019-02-11 19:15:08 basically every language I've gotten to a comfortable point with, the "holy grail" is being able to think in it 2019-02-11 19:15:26 once you're able to think in a language (even if the thoughts are very simple), the rate of learning accelerates drastically 2019-02-11 19:15:35 and you avoid issues like mismatched syntax and so on 2019-02-11 19:16:12 probably you are right, but I don't have time to waste of fine points of the different language 2019-02-11 19:16:26 ¯\_(ツ)_/¯ 2019-02-11 19:18:18 I'm working on problem solving in different fields of human life so don't have enough resources/time to learn something what is not of primary importance for problems solving, sorry 2019-02-11 19:19:23 I don't really care either way, just offering advice on how to improve the thing you were lamenting :) 2019-02-11 19:19:37 to me is important that we understand each other and are willing to understand each other. then the problem solving become easier 2019-02-11 19:20:08 I didn't lamented, that was someone else who initiated that 2019-02-11 19:21:01 SpaceToast: please inform me of your results when you test issue 2019-02-11 19:21:48 sure :) 2019-02-11 19:23:31 <_ikke_> mps: how about something like: "main/curl: fix segfault when running cargo", and then add context in the body of the commit message 2019-02-11 19:28:46 <_ikke_> https://seclists.org/oss-sec/2019/q1/119 2019-02-11 19:28:55 <_ikke_> runc container break-out vulnerability 2019-02-11 19:30:53 _ikke_: perfect, I agree 2019-02-11 19:32:17 forgot to mention, I am looking for free webhosting+git+ssh, space 200mb should be ok, for moving my site insteps.net to it, any suggestions are welcomed 2019-02-11 19:32:46 <_ikke_> please don't spam this around 2019-02-11 19:33:04 _ikke_: should I rewrite it and send new patch? 2019-02-11 19:33:53 sorry, wanted to write on al-linux channel, but went otherway 2019-02-11 20:20:53 <_ikke_> Anyone knows why /bin/ash -c 'printf "\376\777" | xxd' returns something different than /bin/bash -c 'printf "\376\777" | xxd' 2019-02-11 20:30:04 <_ikke_> Looks like \777 is a bug 2019-02-11 20:38:41 <_ikke_> I see what is happening 2019-02-11 20:52:14 Which one is bugged? 2019-02-11 20:54:07 <_ikke_> \777 2019-02-11 20:54:23 <_ikke_> It tries to generate a bom 2019-02-11 20:54:31 <_ikke_> fffe 2019-02-11 20:54:44 <_ikke_> 777 is 511, which is >255 2019-02-11 20:55:06 <_ikke_> It appears most shells just truncate the value to 255 2019-02-11 20:55:23 <_ikke_> but ash interprets it as \77 + '7' 2019-02-11 20:56:18 ah 2019-02-11 21:33:02 AinNero: is there any chance of changing nlplug-findfs to make recuse_opts->maxdepth configurable (+ handling that in initrd)? 2019-02-11 21:33:11 looks like that was the issue I was running into :) 2019-02-11 21:33:40 (I'd need a value of 3, but making it user-configurable should make alpine much easier to multihost) 2019-02-11 21:34:09 perhaps even share that value for initramfs-init.in::244 2019-02-11 21:50:03 <_ikke_> Once some patches are applied I've got one sets of tests of the git test suite passing on alpine linux that fail now 2019-02-11 21:50:16 <_ikke_> Trying to get it passing completely 2019-02-11 23:01:42 hey all! cross-posting this from #alpine since i'm not sure which channel is more appropriate... 2019-02-11 23:01:46 i'm an engineer at linode (a vps provider based in philly), and we're working on adding alpine as one of our supported out-of-the-box distros 2019-02-11 23:01:54 i was wondering if anyone on the alpine team is interested in partnering up on the effort 2019-02-11 23:05:47 LBlaboon: come to #alpine-infra, and explain exactly what you need help with 2019-02-11 23:06:45 we prefer to keep anything and everything infrastructure there :) sorry to move you around so much 2019-02-11 23:07:35 it's all good! sorry for being noisy >.< 2019-02-11 23:08:05 it's fine, don't worry 2019-02-11 23:15:32 Hey guys! Small question again: is there a way to reference a local git repository for building a package? 2019-02-11 23:15:44 Or maybe just include a directory? 2019-02-11 23:16:06 The only way I am seeing right now is making a tarball each time and including it instead... 2019-02-12 05:15:20 mps: as an update - with the libcurl patch installed, I managed to build all of my packages 1st try, so I can move with updating them and adding new ones now; thanks! 2019-02-12 05:15:31 thankfully, it's in upstream already, so worst case we can just wait for the next release in-repos 2019-02-12 07:30:57 <_ikke_> SpaceToast: yeah, it might be easier to just wait for an upstream release 2019-02-12 07:31:04 <_ikke_> they seem to have short release cycles 2019-02-12 09:44:18 SpaceToast: please open a ticket 2019-02-12 11:12:53 anyone starting seeing TLS library problem on postfix / dovecot ? - ACCEPT_SR_CLNT_HELLO_C:wrong version number:ssl_srvr.c:857 (both client & server support TLS 1.2) 2019-02-12 15:14:15 hi everyone. 2019-02-12 15:15:59 i'm trying to build custom image for my rpi, however mkimage.sh complains that /edge/main/aarch64/APKINDEX.tar.gz has unknown signature. 2019-02-12 15:16:33 sh mkimage.sh --arch aarch64 --repository http://dl-cdn.alpinelinux.org/alp 2019-02-12 15:16:35 ine/edge/main/ --profile rpi 2019-02-12 15:17:29 that's the command i run. the script stops at: ERROR: http://dl-cdn.alpinelinux.org/alpine/edge/main/: UNTRUSTED signature 2019-02-12 15:17:58 : probably try different mirror would help 2019-02-12 15:21:38 tmhoang: i did try to use other mirrors just now. same problem. 2019-02-12 15:22:55 don't know if that is relevant but i'm building inside of a docker container. it's alpine:edge. 2019-02-12 15:23:49 : are you building this on a same arch (aarch64) host ? if not probably get the aarch64 key ? https://git.alpinelinux.org/aports/plain/main/alpine-keys/alpine-devel@lists.alpinelinux.org-58199dcc.rsa.pub 2019-02-12 15:27:10 tmhoang: yeah that did the trick, thanks. still some other error (grzip: invalid magic). 2019-02-12 15:27:38 tmhoang: i'm building on x86_64. 2019-02-12 15:29:00 besedad_: some people have been doing/running/building multi-arch thing with docker (i.e. smoothly running aarch64 containers on x86) but I have never tried. Probably something like FROM alpine:aarch64 or sort of. 2019-02-12 15:29:43 some other use qemu emulation (through tcg) to run alpine aarch64 host, then build the image in there. 2019-02-12 15:30:44 tmhoang: i think i'm bit confused. do i need to use same platform for which i am building iso/tarball for? 2019-02-12 15:31:38 tmhoang: because looking at the error (invalid magic), it seems mkimage expects gzip built fo aarch64. 2019-02-12 15:31:47 I think you have 2019-02-12 15:31:52 i think you have 2019-02-12 15:31:54 echo 2019-02-12 15:32:07 clandmeter 2019-02-12 15:32:14 thats why you also got the error with keys 2019-02-12 15:32:35 tmhoang: alright, that explains it. thanks a lot. 2019-02-12 15:33:13 besedad_ : btw next time if you have aarch64 in mind, summon the aarch64/arm* king, clandmeter. 2019-02-12 15:33:42 besedad_: is the image you are creating specific? 2019-02-12 15:34:07 tmhoang: that too much honor :) 2019-02-12 15:34:27 clandmeter: i want to preinstall specific packages so that the binaries are ready to use after boot. 2019-02-12 15:34:47 besedad_ : try the multi-arch docker path. It should work. 2019-02-12 15:35:13 (it's user-space emulation, I guess) 2019-02-12 15:36:25 besedad_: adding them to the image does not automatically install them. not sure you are aware. 2019-02-12 15:37:39 tmhoang: can you point me to the specifics? do you mean https://hub.docker.com/r/multiarch/alpine? 2019-02-12 15:38:54 clandmeter: no, i didn't know. so how do i make a package available in the image? i looked at gnepkovl-*.sh scripts, thinking that if i add desired packages in the list, it will all work out. 2019-02-12 15:39:12 think again :) 2019-02-12 15:39:49 alpine will boot tmpfs mode 2019-02-12 15:40:38 what is installed is defined by initramfs and optionally your ovl file which holds your world file. 2019-02-12 15:41:15 when you add more packages it only means the local repo on media will have them. 2019-02-12 15:41:32 so you dont need internet to query a remote repo 2019-02-12 15:42:46 hmm, i see. thank you for clarification. i think i could work with that. i coudl add a "first boot" script that installs the packages. 2019-02-12 15:43:33 i think what you are trying to do is already possible with a custom ovl file 2019-02-12 15:43:36 the reason i wanted the packages to be already installed is that there's a chance of no internet connection. so having the packages locally would work. 2019-02-12 15:44:57 right well then you need to create your own image. 2019-02-12 15:46:21 clandmeter: so ovl files work only for remote packages? 2019-02-12 15:46:36 no 2019-02-12 15:46:53 but if the packages are not in your local repo, you will need another repo. 2019-02-12 15:48:28 you can also setup apk cache 2019-02-12 15:48:46 it will cache the missing packages on your storage 2019-02-12 15:48:53 same place as your ovl ffile 2019-02-12 15:49:27 besedad_ : probably this : https://hub.docker.com/r/multiarch/alpine . But personally I would fire a qemu vm. 2019-02-12 15:54:12 clandmeter: okay, i'm probably wrong but. would it work if i would build my custom image with all the required packages included in it, modify the /etc/apk/world so that it lists the packages in order to automatically install them? 2019-02-12 15:54:32 yes that would work 2019-02-12 15:54:39 but you can already do that 2019-02-12 15:54:57 you dont need a custom image if you use apk cache 2019-02-12 15:54:59 clandmeter: sure i do, but that would not cover the scenario where there's no internet connection. 2019-02-12 15:55:20 it does, but we should probably discus this in #alpine-linux 2019-02-12 15:55:42 clandmeter: see you there. 2019-02-12 15:56:22 clandmeter: or maybe not, cause i have to be identified with the service. 2019-02-12 15:59:22 besedad_: https://wiki.alpinelinux.org/wiki/Alpine_Linux_package_management#Local_Cache 2019-02-12 15:59:36 but for more support i would prefer you use #alpine-linux 2019-02-12 15:59:50 thats what its for. 2019-02-12 16:00:45 clandmeter: thank you. i will try to read a bit before asking more questions. thanks guys, you were really helpful. 2019-02-12 17:43:08 AinNero: ty, enjoy ^ 2019-02-12 19:05:57 man, freenode is just awful 2019-02-12 19:07:32 <_ikke__> jwh: ah, you as well 2019-02-12 19:10:25 sup 2019-02-12 19:11:14 gonna have to pick out a server that doesn't suck rather than using the round robin 2019-02-12 19:12:49 you'd think since they're PIA now they could get a decent set heh 2019-02-12 19:15:53 doesn't help that irssi will try and stick to the same server either :( 2019-02-12 19:16:46 <_ikke__> weechat seems to have picked a different server 2019-02-12 19:17:41 heh 2019-02-12 19:18:21 it's mostly annoying as I still haven't enabled sasl auth, so most of my channels don't join 2019-02-12 19:18:21 <_ikke__> I did do a manual reconnect, so that might have contributed to that 2019-02-12 19:18:26 yeah 2019-02-12 19:18:31 <_ikke__> ah, yeah, i do have sasl 2019-02-12 19:18:35 <_ikke__> so easy 2019-02-12 19:18:43 yeah, just laziness heh 2019-02-12 19:20:23 <_ikke__> It's more work to not do it :P 2019-02-12 19:20:31 yeah, done it now :P 2019-02-12 23:35:18 does network/interfaces *really* still not support cidr notation? 2019-02-12 23:35:59 it wasn't excusable a decade ago, should be considered a crime now :D 2019-02-12 23:37:34 bleh, looks like debians version finally got it, but not busybox? 2019-02-12 23:45:19 busybox ifupdown hasn't really been maintained since 2006 or so 2019-02-12 23:45:43 I have a patch sitting that I'll be sending at some point that fixes a random memory leak that's been there since then 2019-02-12 23:46:24 heh 2019-02-12 23:47:16 wonder how difficult it would be to add proper support 2019-02-12 23:48:02 all it needs to do is figure out if the 'address' key ends in /[0-9]{1,3} 2019-02-12 23:48:10 I think, I was never any good at regex 2019-02-12 23:48:45 but then, if it uses ifconfig it's probably not going to work anyway as I don't think busybox ifconfig works properly like the old net tools version either 2019-02-12 23:49:07 something else that really shouldn't exist heh 2019-02-12 23:54:32 it uses ip(1) if it can find it 2019-02-12 23:55:36 ah, well in that case it should reall support it then, since the busybox version of ip can figure it out properly 2019-02-12 23:55:39 really* 2019-02-13 08:06:12 clandmeter, jirutka, ncopa : we have an issue with sip/qt5.12/python. 2019-02-13 08:06:26 sip is not shipped anymore with py3-qt5 2019-02-13 08:06:29 this breaks gns3 2019-02-13 08:07:01 py-sip now ships sip.py for qt5 2019-02-13 08:07:22 But requires different makefiles. 2019-02-13 08:07:26 This is what I've done: 2019-02-13 08:07:27 https://dpaste.de/bYnX/raw 2019-02-13 08:08:07 morning 2019-02-13 08:08:24 i remember sip mentioned here 2 weeks before 2019-02-13 08:09:14 since then we have upgraded qt from 5.11 to 5.12 2019-02-13 08:09:22 this behavior has been introduced with 5.11 2019-02-13 08:09:54 ah yes dalias mentioned it 2019-02-13 08:10:34 2019-01-28 20:38:03 any idea why my py3-sip package would lack the /usr/bin/sip program? 2019-02-13 08:10:34 2019-01-28 20:38:19 pkgs.alpinelinux.org says it's there but my installed package doesn't have it 2019-02-13 08:10:34 2019-01-28 20:43:56 somehow there's a broken py3-sip-4.19.13-r0 in addition to the one i should be getting py3-sip-4.19.5-r0 2019-02-13 08:10:34 2019-01-28 20:45:43 seems like we have 2 different py3-sip 2019-02-13 08:10:34 2019-01-28 20:46:11 one provided by community/py-sip and one provided by community/py3-sip 2019-02-13 08:10:35 2019-01-28 20:48:03 dalias: the /usr/bin/sip program comes with py-sip, which has 2 subpackages, py2-sip and py3-sip 2019-02-13 08:10:48 hmm paste would be better :) 2019-02-13 08:11:00 :) 2019-02-13 08:11:03 is this related? 2019-02-13 08:11:10 partially 2019-02-13 08:11:29 now this new APKBUILD ships /usr/bin/sip correctly 2019-02-13 08:11:41 and sip qt5 2019-02-13 08:12:38 but I would like to know if this is a correct approach 2019-02-13 08:16:36 did you copy and paste this from somehwere else? 2019-02-13 08:18:12 no 2019-02-13 08:18:19 ah ok from the original make 2019-02-13 08:18:25 I've used as base python-sip in arch 2019-02-13 08:18:52 https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/sip 2019-02-13 08:21:28 i think in general its ok 2019-02-13 08:22:10 clandmeter, this is what the APKBUILD produces: 2019-02-13 08:22:10 https://dpaste.de/CRT4/raw 2019-02-13 08:22:15 i think you dont need to copy 4x 2019-02-13 08:22:17 which LGTM 2019-02-13 08:22:39 if you need the python2 name you can simple symlink 2019-02-13 08:22:45 simply 2019-02-13 08:23:03 ah yes 2019-02-13 08:23:07 and CXXFLAGS="$CXXFLAGS" 2019-02-13 08:23:08 makes sense 2019-02-13 08:23:10 what is that? 2019-02-13 08:23:31 umh...that was there since ages. I've unotouched it 2019-02-13 08:23:48 and -fPIC is that set by default? 2019-02-13 08:23:59 same 2019-02-13 08:24:14 yes but by you so i wonder why 2019-02-13 08:24:16 :) 2019-02-13 08:24:43 old pkg needed that 2019-02-13 08:24:50 maybe now is not needed anymore 2019-02-13 08:27:58 fcolista: what is the reson they provide two makefiles? 2019-02-13 08:28:06 s/reson/reason/ 2019-02-13 08:28:06 clandmeter meant to say: fcolista: what is the reason they provide two makefiles? 2019-02-13 08:28:40 good question. 2019-02-13 08:28:42 This: 2019-02-13 08:28:43 $python configure.py --sip-module PyQt5.sip --no-too 2019-02-13 08:28:50 does not build /usr/bin/sip 2019-02-13 08:28:56 while $python configure.py 2019-02-13 08:29:08 does not build PyQt5.sip 2019-02-13 08:29:56 maybe: 2019-02-13 08:29:57 $python configure.py --sip-module PyQt5.sip 2019-02-13 08:30:04 builds both 2019-02-13 08:30:28 right 2019-02-13 08:30:29 yes 2019-02-13 08:31:11 so you probably dont need both 2019-02-13 08:31:14 https://dpaste.de/U0A0/raw 2019-02-13 08:31:17 much better now 2019-02-13 08:31:25 exactly 2019-02-13 08:31:28 my advise would be to check fedora 2019-02-13 08:31:33 https://src.fedoraproject.org/cgit/rpms/sip.git/tree/sip.spec 2019-02-13 16:50:35 umm 2019-02-13 16:50:43 libvirt-lxc is busted, sigh 2019-02-13 16:50:53 do any platforms actually work properly anymore :/ 2019-02-13 16:51:05 systemd broken it on at least arch too 2019-02-13 16:55:14 jwh, can you please provide a way to test it quickly? 2019-02-13 16:55:18 To reproduce the issue 2019-02-13 16:55:41 install it, try and start an lxc container - it's just missing cgroups by the looks of it, so probably not so bad 2019-02-13 16:56:15 https://gitlab.com/zorinsllc/vmthings/blob/master/lxc.sh - quick script 2019-02-13 16:56:31 needs lxc-download installed also 2019-02-13 17:00:15 hm 2019-02-13 17:00:39 "do any platforms actually work properly anymore :/" - lxd works pretty well now :D 2019-02-13 17:00:46 yeah 2019-02-13 17:00:48 not with libvirt, but on its own 2019-02-13 17:00:49 that was my net stop 2019-02-13 17:00:52 next* 2019-02-13 17:01:03 shame though, libvirt was always quite useful 2019-02-13 17:01:07 if you need any help with it, feel free to ask :) (but idk anything about the libvirt integration) 2019-02-13 17:01:13 to me, libvirt seems very painful 2019-02-13 17:01:44 well, I liked the semi sensible interface to multiple vm types (lxc, kvm etc) 2019-02-13 17:01:48 the point of lxd was to make lxc easier/faster to configure and interact with; libvirt feels like going backwards on that goal to me 2019-02-13 17:01:57 ah, yeah, if you need several backends it makes sense 2019-02-13 17:02:01 libvirt predated lxd though 2019-02-13 17:02:04 yes 2019-02-13 17:02:32 at the time there was *nothing* except your own wrappers around qemu 2019-02-13 17:03:30 better the devil you know or something, it's not the first time it's broken quite badly - theres a kernel default that was enabled without any testing it seems that breaks kvm too 2019-02-13 17:03:53 mhm 2019-02-13 17:03:59 lxd was actually broken on musl in general for a very long time 2019-02-13 17:04:06 but I noticed it and got upstream to fix it :D 2019-02-13 17:04:07 but only libvirt seems to do things in such an order/manner that triggers it 2019-02-13 17:04:30 but the actual kernel code is broken and nobody has fixed it 2019-02-13 17:05:42 that script needs adjusting for alpine anyway, but stil hm 2019-02-13 17:06:13 SpaceToast: can lxd do monitoring/stats, like disk/net/cpu etc? 2019-02-13 17:06:53 jwh: yes, `lxc info $CONTAINER` 2019-02-13 17:07:04 here's the data I currently got from running it on magni (my build server): 2019-02-13 17:07:42 IP list, Processes Running, CPU Usage (in seconds, since launch I think?), Memory Usage (current and peak), Network Usage (per-interface, bytes/packets received in lifetime) 2019-02-13 17:08:12 so you have more than VMs on some things, and less on others 2019-02-13 17:08:39 that will probably do, how sensible is the config? like I just want the container with an eth/tap/whatever interface thrown in a bridge on start 2019-02-13 17:08:41 you can also do cgroup stuff to limit how many CPU cores they can use, pin specific ones, limit memory usage, limit swap, limit IO (network/disk) speeds/usage, etc 2019-02-13 17:08:47 that's the default :) 2019-02-13 17:08:50 oh ok 2019-02-13 17:09:19 guess I should have a look 2019-02-13 17:09:23 by default it makes a local bridge, assigns an auto-generated (or user-specified) IP to it, and runs dnsmasq on the host 2019-02-13 17:09:30 oh, nooooooooooo 2019-02-13 17:09:35 can I turn all that of? 2019-02-13 17:09:37 off* 2019-02-13 17:09:38 yup 2019-02-13 17:09:41 I usually have it make an unconfigured bridge attached to the real network 2019-02-13 17:09:48 so it talks to my global dhcp server instead 2019-02-13 17:09:55 (full layer2 integration) 2019-02-13 17:09:59 yeah, thats all I want, eth0 is in a bridge, just want containers dumped into the same bridge 2019-02-13 17:10:11 you can do that, but I'd recommend using a second interface 2019-02-13 17:10:23 so you can have lxd manage the container-only bridge 2019-02-13 17:10:38 makes it happier, but you can have it use unmanaged bridges too 2019-02-13 17:11:03 hm, I'll see how upset it gets first :D 2019-02-13 17:11:05 it also integrates with zfs/lvm-thin/btrfs to make that stuff easier 2019-02-13 17:11:08 alright ^^ 2019-02-13 17:11:32 I definitely need to start using fresh containers for my aports checkouts anyway 2019-02-13 17:11:53 btw, if you need any more help, I'd recommend we move this to #alpine-offtopic :) 2019-02-13 17:11:57 but feel free to ping me whenever 2019-02-13 17:12:06 yeah 2019-02-13 17:12:15 I personally find lxd to be *the* optimal subserver solution and am willing to help people that want to use it 2019-02-13 17:12:24 I'll see if I can convince libvirt to be less upset first anyway, for the greater good or something 2019-02-13 17:12:25 (kind of like I find alpine to be great, and am willing to help people set it up) 2019-02-13 17:12:30 enjoy! 2019-02-13 17:12:56 it should probably work OOTB if it's in the repo heh 2019-02-13 17:13:06 it's in testing/ 2019-02-13 17:13:21 it only recently got fixed (thanks to me, upstream, and clandmeter) 2019-02-13 17:13:34 libvirt-lxc I mean, but yeah lxd being in testing makes sense 2019-02-13 17:23:02 bleh, can't even get it to try now... error: internal error: Failed to allocate free veth pair after 10 attempts 2019-02-13 17:24:40 that'll probably be busybox ip though 2019-02-13 17:25:07 on servers that actually do networking, one of the first things I do is `apk add iproute2` 2019-02-13 17:25:23 I'm considering adding ifupdown to that, since now that I've seen the sources of busybox's version.... 2019-02-13 17:26:18 if only iproute2 was enough, the networking config just isn't useful enough for anything except basic things 2019-02-13 17:26:21 :( 2019-02-13 17:27:11 not sure what the alternative is though 2019-02-13 17:27:21 you mean ifupdown? 2019-02-13 17:27:54 that, plus the syntax for expressing configs 2019-02-13 17:28:18 well, for cli networking config 2019-02-13 17:28:27 you have ifupdown variants, netplan.io, systemd-networkd... 2019-02-13 17:28:36 sure, but not on alpine heh 2019-02-13 17:28:40 you also have custom solutions like netifrc 2019-02-13 17:29:09 I do find some things lacking in ifupdown, but it tends to be better than the other ones IME 2019-02-13 17:29:19 but making a new thing "kind of like that" sounds like an interesting idea 2019-02-13 17:29:35 it's particularly lacking in ipv6, e.g PD has to be handled by dhcpcd by hand, for example 2019-02-13 17:29:35 well thats largely the problem, they're all lacking 2019-02-13 17:29:51 I ported netifd because I could 2019-02-13 17:31:01 but without any of the supporting stuff it's not particularly useful 2019-02-13 17:37:46 hi 2019-02-13 17:37:51 finally back 2019-02-13 17:38:24 <_ikke_> ncopa: o/ 2019-02-13 17:38:33 <_ikke_> Did you enjoy your trip? 2019-02-13 17:38:53 \o/ welcome back ncopa 2019-02-13 17:38:58 hm, so libvirt-lxc works on this other box, but not the one I tested on yesterday, awesome 2019-02-13 17:41:30 ncopa: hey 2019-02-13 17:45:46 yes, it was nice to be disconnected for a while 2019-02-13 17:47:28 so if the license is "custom", what should the value of license be in the apkbuild? 2019-02-13 17:49:09 Value? 2019-02-13 17:49:23 yes, what should it be set to 2019-02-13 17:50:01 wiki isn't actually clear, https://wiki.alpinelinux.org/wiki/Creating_an_Alpine_package#license 2019-02-13 17:50:49 I don't get your issue 2019-02-13 17:51:00 You set it to custom 2019-02-13 17:51:14 literally "custom" ? 2019-02-13 17:51:16 And include the file in doc 2019-02-13 17:51:17 thats what i'm asking 2019-02-13 17:51:21 Yes 2019-02-13 17:51:24 ok cool 2019-02-13 17:51:25 thanks 2019-02-13 17:51:48 We need a policy for that 2019-02-13 17:51:58 yeah 2019-02-13 17:52:04 I think the wiki is a good start 2019-02-13 17:52:32 it just needs a note clarifying what it should be if not SPDX/OSI 2019-02-13 17:53:17 custom should always include a license file in the aport 2019-02-13 17:53:31 I guess that makes sense 2019-02-13 17:53:46 yeah that's mentioned but doesn't explicitly say that it should be license="custom" 2019-02-13 17:53:55 it's somewhat left to the reader to guess 2019-02-13 17:54:19 We could add a notice in the license check 2019-02-13 17:54:52 But that's post write 2019-02-13 17:55:10 yeah 2019-02-13 17:55:36 maybe a check if it's custom, that there is a LICENSE file or similar in -doc would be useful as well as a note on the wiki 2019-02-13 17:55:48 I think SpaceToast will add a section in docs 2019-02-13 17:56:08 clandmeter: yup, that's planned, but that belongs in the developer handbook 2019-02-13 17:56:12 that's still a ways off :) 2019-02-13 17:56:35 Yes but closer than before 2019-02-13 17:56:44 for sure! 2019-02-13 17:56:56 Before was already uhm... Docs?? 2019-02-13 17:56:56 user handbook has now entered editing cycle 2019-02-13 17:57:01 oohhh 2019-02-13 17:57:14 once it's out I'm taking a month-ish break (avoid burnout etc) and then I start on the dev handbook :) 2019-02-13 17:57:20 Grr 2019-02-13 17:57:24 Autocorrect 2019-02-13 17:58:00 so I expect this to float up around mid-late april / early may, depending on what order I write the dev stuff in 2019-02-13 18:05:17 ncopa, I'll send you my patched to you for rpi tomorrow 2019-02-13 18:05:29 good! 2019-02-13 18:05:35 Patches... 2019-02-13 18:12:35 I think im gonna push musl update 2019-02-13 18:12:40 any reason to not do so? 2019-02-13 18:13:12 Holiday mood 2019-02-13 18:36:57 huh, now we have to check musl patches in packages 2019-02-13 19:13:52 mps? 2019-02-13 19:15:21 <_ikke_> ncopa: I think they mean that if we update musl, we need to check all existing patches that fix things for our current version of musl 2019-02-13 19:15:51 ncopa: I thought maybe not all patches could be applied cleanly and some will not be needed with upgraded musl 2019-02-13 19:16:07 i looked over them 2019-02-13 19:16:11 _ikke_: thank for help 2019-02-13 19:16:22 there is only one that i need to ask kaniini about 2019-02-13 19:16:30 for static PIR 2019-02-13 19:16:36 s/PIR/PIE 2019-02-13 19:16:36 ncopa meant to say: for static PIE 2019-02-13 19:16:50 huh, does grub not require extlinux anymore? 2019-02-13 19:17:12 ncopa: which patch is that 2019-02-13 19:17:21 kaniini: the handle-aux-at_base.patch 2019-02-13 19:17:30 i wonder if its reported upstream 2019-02-13 19:17:50 or if patch should be sent upstream 2019-02-13 19:18:10 jwh: correct, we now use grub-mkconfig instead 2019-02-13 19:18:36 ah good 2019-02-13 19:18:57 Reminds me 2019-02-13 19:19:08 I had issues wish grub 2019-02-13 19:19:08 kaniini: this one: https://git.alpinelinux.org/aports/tree/main/musl/handle-aux-at_base.patch 2019-02-13 19:19:27 ask dalias about it 2019-02-13 19:19:30 he gave it to me 2019-02-13 19:19:31 :) 2019-02-13 19:19:39 lol 2019-02-13 19:19:41 ok 2019-02-13 19:19:51 it is needed for certain glibc binaries 2019-02-13 19:20:45 _ikke_: please see PM 2019-02-13 19:25:44 kaniini: btw, i saw that your stack gap size increase patch got upstreamed 2019-02-13 19:28:15 I also noticed that doubling, is it good or bad? 2019-02-13 19:29:27 more memory will be used as first thing, but maybe stack will be safer 2019-02-13 19:32:05 its good 2019-02-13 19:33:40 yes, right now reread release notes about it, sounds good 2019-02-13 19:34:00 there was some stack gap vulnerability some time ago, which would jump over the page protecting stack 2019-02-13 19:34:25 i think there was only a single function in musl that used more than 1 page of stack 2019-02-13 19:34:49 so only that function was exploitable 2019-02-13 19:34:54 i dont remember which func it was 2019-02-13 19:35:12 with this patch we plugged that too 2019-02-13 19:35:34 hm, where is boot-time scripts/runlevels setup? adding alpine-base doesn't do it, is it in setup-alpine? 2019-02-13 19:35:51 initramfs 2019-02-13 19:36:08 well I mean, when installing to e.g a chroot (or in this case, another disk) 2019-02-13 19:36:21 for the base, rest is setup-alpine 2019-02-13 19:36:26 ah hm ok 2019-02-13 19:36:42 I expect better performance from this increase in stack size and guard size 2019-02-13 19:36:50 setup-alpine will use the running system 2019-02-13 19:36:58 its not ment to run from another os 2019-02-13 19:37:08 what I mean is: 2019-02-13 19:37:14 bash-4.4# rc-update 2019-02-13 19:37:14 bash-4.4# 2019-02-13 19:37:50 guess I can just add the same from the running system, was just hoping there might be a convenient bit I can get the defaults from 2019-02-13 19:38:24 initramfs-init has the basics 2019-02-13 19:38:47 https://github.com/alpinelinux/alpine-make-vm-image/blob/master/alpine-make-vm-image#L462 2019-02-13 19:38:50 I cheated :D 2019-02-13 19:39:04 yeah but that doesn't help when bootstrapping 2019-02-13 19:39:05 yes i was about to mention that. 2019-02-13 19:40:25 building llvm6 on musl 1.1.21 passed fine :) 2019-02-13 19:40:26 jwh: initramfs does that on the first boot, the setup-disk script will clone the running system 2019-02-13 19:40:32 ncopa: ahhhh 2019-02-13 19:40:53 thats what i just said :p 2019-02-13 19:41:18 I can't boot the installer on this box, so i'm installing from existing OS 2019-02-13 19:41:20 clandmeter: sorry for repeating you :) 2019-02-13 19:41:31 otherwise yeah I'd just use setup-alpine 2019-02-13 19:41:42 jwh: so you would need to copy the logic from initramfs 2019-02-13 19:41:59 i did the same on scaleway to make my own image 2019-02-13 19:42:10 i mean, manually add the services that are needed 2019-02-13 19:42:15 use regular apk add --root 2019-02-13 19:42:20 and do the other parts manually 2019-02-13 19:42:22 yeah thats what I did 2019-02-13 19:42:32 then you did good :) 2019-02-13 19:42:56 I *did* have an image that had all this done (and bios+efi boot), but it's nowhere to be seen now :( 2019-02-13 19:43:40 i did have efi issues on scaleway 2019-02-13 19:43:56 the naming of the efi loader is incorrect 2019-02-13 19:44:01 ah heh 2019-02-13 19:44:08 they do weird stuff 2019-02-13 19:44:15 we do distro/whatever.efi 2019-02-13 19:44:28 alpine/... 2019-02-13 19:44:31 yeah 2019-02-13 19:44:40 the default path is boot/boot$arch.efi 2019-02-13 19:44:42 im not sure it was the file or the parent dir 2019-02-13 19:44:49 yeah, that works 2019-02-13 19:44:59 efi is a mess regrading that. 2019-02-13 19:45:01 really whatever sets up the bootloader should copy it to the right place as well 2019-02-13 19:45:07 since efivars isn't always available 2019-02-13 19:45:10 or used.... 2019-02-13 19:45:23 good luck on a vm :) 2019-02-13 19:45:52 well thats why my image had it where it was expected, boot/bootia32.efi and bootiax64.efi or w/e 2019-02-13 19:45:57 can't remember the names 2019-02-13 19:45:59 ncopa: i also noticed vga issues with grub 2019-02-13 19:46:10 i needed to enable all_video or it wont show 2019-02-13 19:47:08 :q 2019-02-13 19:47:12 oops 2019-02-13 19:47:39 glad it wasnt my login prompt :) 2019-02-13 19:49:36 ha 2019-02-13 19:49:43 password123 2019-02-13 19:49:50 crap, that wasn't my terminal! 2019-02-13 19:49:59 wtf how did you know? 2019-02-13 19:50:09 i'm psychic when it comes to passwords :) 2019-02-13 19:50:13 hunter2 2019-02-13 19:50:44 <_ikke_> Why do I see *******? 2019-02-13 19:51:40 clandmeter: or I'm just doing password reuse attacks on you ;) https://haveibeenpwned.com/ 2019-02-13 19:52:01 _ikke_: because freenode automatically censors your password! 2019-02-13 19:52:31 <_ikke_> aha, wow, did not know that 2019-02-13 19:52:33 <_ikke_> :P 2019-02-13 19:52:46 <_ikke_> myawesomepassword 2019-02-13 19:54:44 wow! all I see is ********! 2019-02-14 01:00:26 hm 2019-02-14 01:01:07 I need to fix grub... did anyone have any thoughts on adding i386-efi? I'm not sure how to name it, i386_efi is *ugly* and really it should be part of grub-efi 2019-02-14 01:01:15 I have a diff somewhere 2019-02-14 06:29:20 hm, does it mention anywhere that if dhcpcd isinstalled that will be used instead? I can't find anything pertaining to it 2019-02-14 06:36:58 jwh: read from here onwards https://git.busybox.net/busybox/tree/networking/ifupdown.c#n98 2019-02-14 06:39:13 ahhhh its in busybox not alpine 2019-02-14 06:39:18 that explains why I couldn't find it :D 2019-02-14 06:40:11 thanks 2019-02-14 06:40:27 ACTION adds dhcpcd to default package list 2019-02-14 09:34:11 what do we think of using a fork to replace a dead project? 2019-02-14 09:34:16 knockd, in this instance 2019-02-14 09:40:30 danieli: if the fork is maintained, then ok with me 2019-02-14 09:41:30 ncopa: gotcha 2019-02-14 09:42:09 if you fork project you have to take responsibility to maintain it, but you know that. imo, forked or not it just important how it is maintained 2019-02-14 09:43:37 btw, Alpine have fwknop, which better fills my use cases than knockd 2019-02-14 09:50:17 ncopa: http://tpaste.us/aR6Z 2019-02-14 09:50:25 I'm at an airport so here you go, a patch 2019-02-14 10:11:57 danieli: heh i found out the problem :))))) 2019-02-14 10:12:31 danieli: IBM has some eco mode crap where they undervolt the memory (which works fine with *their* memory, but does not work so fine with IS memory configurations) 2019-02-14 10:12:48 i disabled said eco mode crap 2019-02-14 10:12:51 and life has been better 2019-02-14 10:20:29 danieli: there is a 0.8 tag, so i think we should use that instead of a specific git commit 2019-02-14 10:32:31 this repo has issues disabled. 2019-02-14 10:32:40 i sounds like a bad choice as upstream 2019-02-14 10:32:42 it 2019-02-14 11:28:21 have good and bad news re chromium 2019-02-14 11:28:30 good is that i managed update it to 72 2019-02-14 11:28:37 bad is that it is still broken :-( 2019-02-14 11:28:46 this chromium issue drives me nuts 2019-02-14 11:32:02 ncopa, I have a fix for GNS3. Edge is fine, but on 3.9-stable is still broken. I want to commit these two patches (cherry-picked from edge). Would you agree? 2019-02-14 11:32:02 https://dpaste.de/frbO/raw 2019-02-14 11:32:09 https://dpaste.de/kF0Y/raw 2019-02-14 11:44:57 fcolista: i guess thats ok 2019-02-14 11:45:11 there are some questionable whitespace changes in first commit 2019-02-14 11:45:18 tabs replaced with spaces 2019-02-14 11:50:13 aha, error: internal error: no cgroup backend available 2019-02-14 11:50:30 that was the error I was getting 2019-02-14 11:52:36 I can't figure out what its missing 2019-02-14 11:52:52 what are you trying to do? 2019-02-14 11:53:11 figure out why libvirt-lxc sometimes works, sometimes doesn't 2019-02-14 11:53:26 on one box it work(ed), now it doesn't 2019-02-14 11:53:39 cgroups service is started? 2019-02-14 11:53:42 for no apparent reason *except* a newer linux-vanilla 2019-02-14 11:53:46 hm 2019-02-14 11:54:21 ok thats odd, it wasn't started, or at least didn't start properly 2019-02-14 11:54:28 but it *did* before 2019-02-14 11:54:42 does it start properly now? 2019-02-14 11:54:47 yeah 2019-02-14 11:54:54 but what the hell, why did it stop 2019-02-14 11:54:59 make sure it starts at boot 2019-02-14 11:55:16 lxc depends on openrc 2019-02-14 11:55:18 err 2019-02-14 11:55:21 cgroups 2019-02-14 11:55:22 via openrc 2019-02-14 11:55:40 hm, libvirt should probably also depend on it 2019-02-14 11:55:45 so if you do things manually with lxc you need to do that mnaully too 2019-02-14 11:55:57 could be. 2019-02-14 11:56:09 wonder what was starting it before so that it was working 2019-02-14 11:56:13 i have no clue about libvirt, maybe in some sittuations its not neeed 2019-02-14 11:56:59 it's definitely needed for lxc, maybe other cases like kvm also if using namespaces 2019-02-14 11:58:01 yeah so, on the box it works OOTB on, cgroups isn't started by default either 2019-02-14 11:58:04 something starts it 2019-02-14 11:58:23 but... this new box is a direct copy of that, just that its been updated 2019-02-14 11:58:43 something has requested cgroups 2019-02-14 11:58:49 yeah 2019-02-14 11:58:51 scan your initd files for cgroups inclusion 2019-02-14 11:58:52 question is what has changed 2019-02-14 11:59:25 it's only mentioned by lxc, but that isn't enabled on either 2019-02-14 12:01:44 going to drive me mental lol 2019-02-14 12:03:00 maybe set openrc to debug and see what happens. 2019-02-14 12:03:04 not sure htat makes a diff. 2019-02-14 12:03:24 yeah I'll have to see if I can reproduce it properly 2019-02-14 12:11:18 how to fixes programs which needs libcurses.a, in Alpine we have libncursesw.a 2019-02-14 12:12:23 add link to libcurses.at to libncursesw.a or patch the program 2019-02-14 12:31:47 ok next thing, why isn't the mmc/sd slot on this working, kernel config looks like it should work 2019-02-14 12:32:12 it should look like.... 2019-02-14 12:32:14 [ 3.744958] mmc0: SDHCI controller on ACPI [INT33BB:00] using ADMA 2019-02-14 12:32:14 [ 3.761429] mmc1: SDHCI controller on ACPI [80860F14:00] using ADMA 2019-02-14 12:32:14 [ 3.781344] mmc2: SDHCI controller on ACPI [80860F14:02] using ADMA 2019-02-14 12:32:22 but mmc2 is missing on my alpine one 2019-02-14 12:32:30 identical devices, other has arch 2019-02-14 12:37:21 ncopa, let me fix the whitespace there 2019-02-14 13:17:04 are there any guides how to make dynamic and static packages of the compilers from the same APKBUILD 2019-02-14 13:17:46 I have seen and worked with static libs 2019-02-14 14:01:39 bleh screw it, libvirt-lxc is just hopelessly broken 2019-02-14 14:01:46 shutdown reboots, destroy errors 2019-02-14 14:02:11 doesn't work on systemd, and now not non-systemd 2019-02-14 14:02:12 gg 2019-02-14 14:13:19 compile time options are wrong anyway 2019-02-14 14:18:14 or at least, it needs some post-install loving 2019-02-14 14:58:33 SpaceToast: lxd needs bsdtar btw, busybox tar won't cut it 2019-02-14 14:58:39 or maybe gtar 2019-02-14 14:58:41 whichever 2019-02-14 14:59:23 just a dependency on gtar should do 2019-02-14 15:15:58 jwh: which alpine version are you on? 2019-02-14 15:16:56 edge 2019-02-14 15:17:31 is libvirt compatible with lxc v3? 2019-02-14 15:17:51 I'd hope so, it works... just not very well 2019-02-14 15:18:02 can't shutdown guests, can't destroy 2019-02-14 15:18:18 shutdown is reboot regardless of the config 2019-02-14 15:20:10 v3 has lots of changes, could be compat issue. 2019-02-14 15:20:27 hm perhaps 2019-02-14 15:21:14 it's broken in other absurd ways on other distros too though, so I've just given up on it as its not usable 2019-02-14 15:21:56 you'd think since its a redhat product now they'd get it working properly with systemd 2019-02-14 15:22:51 /0\ 2019-02-14 15:26:49 fcolista: yo 2019-02-14 15:26:58 fcolista: lxd needs a dependency on tar :D 2019-02-14 15:31:54 ok 2019-02-14 15:32:23 it passes --xattrs options that busybox tar doesn't understand 2019-02-14 15:35:47 jwh, jsut updated 2019-02-14 15:35:51 cool thanks 2019-02-14 15:36:08 thix lxd is too much integrated with systemd stuff 2019-02-14 15:36:21 in the long run, maintaining this will be a nightmare 2019-02-14 15:36:22 heh 2019-02-14 15:36:27 (also now...) 2019-02-14 15:36:45 yeah it's not looking promising for a bunch of projects 2019-02-14 15:37:49 how r u using lxd, if i can ask? 2019-02-14 15:38:07 not very well yet, trying to convince it to actually wor 2019-02-14 15:38:09 work* 2019-02-14 15:38:29 I've been using it just fine since the 3.10 bump as my main server multiplexer at home 2019-02-14 15:38:40 and I've been using it at work for something like 2 years 2019-02-14 15:38:42 \o\ 2019-02-14 15:39:00 SpaceToast, multiplexer server? 2019-02-14 15:39:05 it looks like people just have trouble remembering the subuid/gid stuff, since it's specific to (all) container servers 2019-02-14 15:39:07 (btw: bumped with tar) 2019-02-14 15:39:26 fcolista: just a term that means "running many servers on one system", meant to encompass VMs, paravirt and containers 2019-02-14 15:39:31 well, a user would expect lxd init && lxc launch whatever (as given by lxd) would just wor tbf (not including the subuid/gid bits) 2019-02-14 15:39:41 work* 2019-02-14 15:40:01 I got uh 2019-02-14 15:40:02 Error: Failed to run: /memfd:liblxc (deleted) forkstart special-mudfish /var/lib/lxd/containers /var/log/lxd/special-mudfish/lxc.conf: 2019-02-14 15:40:06 Try `lxc info --show-log local:special-mudfish` for more info 2019-02-14 15:40:08 log was empty 2019-02-14 15:40:20 strange 2019-02-14 15:40:28 I currently have lxd running quite well 2019-02-14 15:40:46 just nuked it, starting again 2019-02-14 15:40:56 ok, I was gonna ask for configs 2019-02-14 15:41:13 also lxd version (make sure you're on 3.10 or higher) 2019-02-14 15:41:15 just accepted the defaults, except using existing br0, rather than a new one 2019-02-14 15:41:34 lxd-3.10-r0 2019-02-14 15:41:39 whatever is in edge 2019-02-14 15:41:47 or testing, actually 2019-02-14 15:42:31 oh thats cool, it didn't even save the config 2019-02-14 15:43:12 jwh: http://dup.pw/aports/d1680677 2019-02-14 15:43:17 wonder if printing the preseed is whats breaking that, lets see 2019-02-14 15:43:41 fcolista: awesome 2019-02-14 15:43:46 it probably is, printing preseed is meant for setting up clusters 2019-02-14 15:43:53 (so you copy that to every system and set up all at once) 2019-02-14 15:43:57 yeah 2019-02-14 15:44:09 jwh, package is built. Just wait for having it available in the repo. 2019-02-14 15:44:16 ping me if i can do something else 2019-02-14 15:44:20 ^ same 2019-02-14 15:44:21 tinkerbell:~# lxc launch ubuntu:18.04 2019-02-14 15:44:21 Creating the container 2019-02-14 15:44:24 lets see 2019-02-14 15:44:27 I have to go do "waking up" stuff ^^ 2019-02-14 15:44:28 I'll leave in 15min 2019-02-14 15:44:32 okies 2019-02-14 15:44:38 I'll be back in ~an hour though 2019-02-14 15:44:49 I would use lxd with two host, actually, and zfs as storage 2019-02-14 15:45:02 well, I was going to investigate the clustering once it works locally 2019-02-14 15:45:03 trying also to do "live migration" among the nodes 2019-02-14 15:45:08 yeah 2019-02-14 15:45:15 that would be /cool/ 2019-02-14 15:45:25 preferably 3 so you can have a real quorum in your cluster :) 2019-02-14 15:45:26 thats what i'm looking forward too :D 2019-02-14 15:45:34 I might eventually get one running at $dayjob 2019-02-14 15:45:36 +1 SpaceToast :) 2019-02-14 15:45:40 (well I'll have two soon enough) 2019-02-14 15:45:40 hm can you have a vote-only node? 2019-02-14 15:45:45 at home one is just fine though 2019-02-14 15:45:50 jwh: sure, just don't put any containers on it 2019-02-14 15:45:53 ah 2019-02-14 15:45:55 fair enough 2019-02-14 15:45:58 hehe 2019-02-14 15:46:02 alright, so it failed in the same way, sigh 2019-02-14 15:46:15 sometimes, the coolest solutions are the easiest ;-) 2019-02-14 15:46:28 fcolista: it's honestly quite unfortunate that there are issues, at least for me, lxd has been undeniably best in-class 2019-02-14 15:46:40 http://ix.io/1B3D 2019-02-14 15:46:43 helpful :D 2019-02-14 15:46:53 SpaceToast, yeah... 2019-02-14 15:46:55 (compared to docker (though might not be same class), libvirt, lxc standalone, etc) 2019-02-14 15:47:10 I use lxc a lot 2019-02-14 15:47:14 but standalone 2019-02-14 15:47:16 it wasn't that long ago libvirt actually worked, and it was just delightful 2019-02-14 15:47:35 lxc standalone is kind of a pain to do a lot of things with, like shared volumes 2019-02-14 15:47:39 but its broken now, and doesn't work with recent systemd as it hijacks everything 2019-02-14 15:47:58 nspawn touching things it shouldn't, really 2019-02-14 15:48:04 jwh, after the "tar" issue, what else is broken with lxd in edge? 2019-02-14 15:48:33 thats the only thing for packaging, theres a lack of subuid/gid in shadow-uidmap but thats an easy fix realy 2019-02-14 15:48:34 fcolista: they think /etc/subuid should be auto-populated at least for root, but that's not your package afaik 2019-02-14 15:48:36 really* 2019-02-14 15:48:41 yeah 2019-02-14 15:49:00 SpaceToast, ok. That can be easily generated as a normal installation step, right? 2019-02-14 15:49:02 atm it won't even boot a container with the defaults (lxd managed bridge) 2019-02-14 15:49:25 fcolista: the issue is that that file's meant to be user-generated, so it's kind of... complicated 2019-02-14 15:49:37 jwh: try apk fix-ing liblxc and co 2019-02-14 15:49:42 yes, this is what I meant 2019-02-14 15:49:49 is something that the user does 2019-02-14 15:49:58 after they have installed lxd 2019-02-14 15:50:05 well... theres no harm in shipping a sane default for root at least 2019-02-14 15:50:11 normally, yeah, it just seems that no one is aware of it 2019-02-14 15:50:17 tbh, was better to say "configuration" step 2019-02-14 15:50:24 especially as lxd requires it even for root 2019-02-14 15:50:44 fcolista: perhaps we could print a post-first-install message suggesting users set it up? 2019-02-14 15:50:46 and its probably only a matter of time before other packages do the same 2019-02-14 15:50:53 APKBUILD can have triggers which come up with a README saying "hey this is what you need to do...." 2019-02-14 15:51:19 SpaceToast, exactly. Is not a post-install message, riather a trigger. But that was the idea, yes 2019-02-14 15:51:43 wait 2019-02-14 15:51:59 (deleted), looks like lsof or similar output? 2019-02-14 15:52:11 but either way, its supposed to have something there 2019-02-14 15:52:18 I don't use lsof often enough to know 2019-02-14 15:52:28 it appears in the config too 2019-02-14 15:52:35 yeah, so it looks like something's missing 2019-02-14 15:52:40 potentially lxc 2019-02-14 15:53:05 well, I need lxc to launch it, so its installed, did apk fix just in case, no errors though 2019-02-14 15:53:09 speaking of, make sure you have the cgroups service enabled (usually it goes into boot) 2019-02-14 15:53:14 lxc.hook.pre-start = /memfd:liblxc (deleted) callhook /var/lib/lxd 2 start 2019-02-14 15:53:14 lxc.hook.post-stop = /memfd:liblxc (deleted) callhook /var/lib/lxd 2 stop 2019-02-14 15:53:14 and the lxd service started 2019-02-14 15:53:30 that (deleted) shouldn't be there 2019-02-14 15:53:38 let me look at what I have 2019-02-14 15:53:40 otherwise it looks ok 2019-02-14 15:53:52 and yeah I got cgroups 2019-02-14 15:54:06 huh 2019-02-14 15:54:18 that `/memfd:liblxc (deleted)` should just be `/usr/sbin/lxd` 2019-02-14 15:54:32 at least that's what it is on my system 2019-02-14 15:54:39 but I have to go for that specified period now, bbl \o 2019-02-14 15:54:41 it looks like some hacky shell scripts generate it 2019-02-14 15:54:42 kk 2019-02-14 15:54:53 it's generated by go code :D 2019-02-14 15:55:00 same thing! 2019-02-14 15:55:08 also, just for completeness: 2019-02-14 15:55:12 tinkerbell:~# grep cgroup /etc/init.d/lxd 2019-02-14 15:55:12 tinkerbell:~# grep cgroup /etc/init.d/lxc 2019-02-14 15:55:12 need localmount sysfs cgroups 2019-02-14 15:56:35 same/similar cgroup setup in lxd might be useful 2019-02-14 15:57:37 tinkerbell:~# lsof | grep liblxc 2019-02-14 15:57:37 3222 /memfd:liblxc (deleted) /dev/null 2019-02-14 15:57:37 3222 /memfd:liblxc (deleted) /dev/null 2019-02-14 15:57:42 yeah its parsing lsof output 2019-02-14 15:57:45 how disgusting 2019-02-14 15:58:35 it's likely that because it failed before and the fd is still open, the terrible parsing is picking up the wrong output 2019-02-14 15:59:55 problem is, whatever startup does causes lots of left over fd's for deleted files 2019-02-14 16:03:55 unless.... I wonder 2019-02-14 16:05:04 nope not that 2019-02-14 16:08:52 what I wanna know is what ridiculous person decided parsing lsof was a good, and why its needed for a binary location?! 2019-02-14 16:08:57 good idea* 2019-02-14 16:15:25 jwh: have you tried `rc-service lxd restart`? 2019-02-14 16:15:34 it's possible that `apk fix liblxc` broke the fd 2019-02-14 16:18:22 its like that after a fresh boot 2019-02-14 16:18:47 I thought maybe it was busybox lsof ignoring flags (as it does), but real lsof doesn't work either 2019-02-14 16:19:08 but either way whichever dumbass added the code to parse lsof needs to be shot :D 2019-02-14 16:20:15 well I mean, it could be something else, but its persistent even if I replace lsof with a shell script 2019-02-14 16:20:29 doesn't that suggest it's *not* lsof? 2019-02-14 16:20:49 or do you mean that if you put `echo hello world` into /usr/bin/lsof it outputs that into lxc.conf? 2019-02-14 16:20:52 yes, but the string (deleted) (and the fd name) is from lsof 2019-02-14 16:20:56 maybe some built in thing I dunno 2019-02-14 16:21:06 so... not lsof, then 2019-02-14 16:21:12 just similar format 2019-02-14 16:21:25 well, it's go, so there is probably lsof written in go because why the hell not 2019-02-14 16:21:26 so they're parsing open fds (which is strange, but less strange than running lsof and capturing output) 2019-02-14 16:21:28 :D 2019-02-14 16:21:50 but actually, I think thats the format the kernel dumps it in too 2019-02-14 16:21:57 hmm 2019-02-14 16:22:07 sounds like you have some problems on your system 2019-02-14 16:22:22 fresh install should really not be this broken 2019-02-14 16:22:29 mine was a fresh install too 2019-02-14 16:22:34 and works fine 2019-02-14 16:22:52 what else do you have installed? 2019-02-14 16:23:00 because... 2019-02-14 16:23:23 for what is used compiler-rt in Alpine? nothing depends on it, as far as I found 2019-02-14 16:23:26 http://ix.io/1B3M 2019-02-14 16:23:34 http://tpaste.us/NKwB 2019-02-14 16:23:35 that should probably not be present just by lxd starting 2019-02-14 16:23:50 hm 2019-02-14 16:23:51 let me see 2019-02-14 16:24:09 `lsof | grep liblxc` has no output 2019-02-14 16:24:54 ignore the lxc-libs thing, that was during debugging for 3.10, shouldn't really affect anything 2019-02-14 16:24:55 hm 2019-02-14 16:25:30 (I have the "current" version installed atm, it's just a remnant in world; removed it and `apk add` didn't change anything) 2019-02-14 16:25:31 which runlevel do you have lxd in? 2019-02-14 16:25:48 default 2019-02-14 16:25:50 and cgroups in boot 2019-02-14 16:25:54 mmk 2019-02-14 16:26:26 http://sprunge.us/IIkzbr - openrc 2019-02-14 16:26:44 lxcfs isn't required btw, I had everything working without it 2019-02-14 16:26:47 so really, the same as me 2019-02-14 16:26:52 it's just so containers see hardware as per their caps 2019-02-14 16:26:58 yeah, as I said, something seems to be seriously wrong with your system 2019-02-14 16:27:01 sans lxcfs 2019-02-14 16:27:21 well it can't possibly be, since its installed from fresh 2019-02-14 16:27:22 lxcfs is a post-everything-works addition so htop and co. show containers their restrictions 2019-02-14 16:27:47 but either way... lxd really shouldn't need to be checking open fds if the path is literally /usr/sbin/lxd 2019-02-14 16:27:52 its dumb 2019-02-14 16:28:08 well, it's /usr/sbin/lxd *here* 2019-02-14 16:28:18 but in general it should probably use $PATH 2019-02-14 16:28:42 its just asking to fail by doing stupid things like that 2019-02-14 16:32:24 I wonder... if it was something that was broken during init and thats carried over to anything I create and thus whatever I do makes no odds :D 2019-02-14 16:35:12 maybe ¯\_(ツ)_/¯ 2019-02-14 16:49:44 so, just to prove a point 2019-02-14 16:49:53 entirely new VM on vultr 2019-02-14 16:50:42 setup-alpine, rc-update add cgroups boot, apk add lxd, rc-update add lxd, reboot 2019-02-14 16:50:48 those same deleted entries exist 2019-02-14 16:52:06 oh and switching to edge and apk -U upgrade -a before adding lxd, of course 2019-02-14 16:53:58 then I wonder why *my* system works well 2019-02-14 16:54:06 is it literally a brand new install? 2019-02-14 16:54:09 yup 2019-02-14 16:54:20 from 3.9 rc image 2019-02-14 16:54:27 literally installed specifically to host lxd 2019-02-14 16:54:29 hmmm 2019-02-14 16:54:42 only difference then is I'm installing from the release iso 2019-02-14 16:54:43 it was broken for a bit because lxd 3.9 had that musl issue 2019-02-14 16:55:03 are you using edge, or just testing for lxd? 2019-02-14 16:55:05 but it still worked, just the thing was broken 2019-02-14 16:55:07 I'm full edge 2019-02-14 16:55:26 ok, so whats the difference 2019-02-14 16:55:38 do you just do lxd init, lxc launch ? 2019-02-14 16:55:54 well lxd init happened a while ago, but yeah 2019-02-14 16:56:11 hm, previous version? 2019-02-14 16:56:20 yes, but I don't think they changed anything in the init code 2019-02-14 16:56:29 and erm, all it does is populate the default profile 2019-02-14 16:56:32 and storage/network 2019-02-14 16:56:44 hm 2019-02-14 16:56:52 and all my default profile does is say "storage there, network there" 2019-02-14 16:59:25 but you're really not supposed to have weird closed memfds 2019-02-14 16:59:42 lsof | grep memfd -> no output 2019-02-14 16:59:47 but for `fd` I do have a few, lxd-related 2019-02-14 17:00:03 http://tpaste.us/xpKD 2019-02-14 17:00:24 guessing it doesn't *parse* fds, it's just trying to find the invocator of the event handler (itself) 2019-02-14 17:00:31 but for some reason it's broken on your system 2019-02-14 17:00:31 yeah probably 2019-02-14 17:00:47 if its broken by setup-alpine, its probably broken on all systems 2019-02-14 17:00:48 heh 2019-02-14 17:00:50 which is seriously wrong ^^ 2019-02-14 17:00:51 question is why 2019-02-14 17:00:55 that's true I didn't use setup-alpine 2019-02-14 17:00:58 I set up my systems by hand 2019-02-14 17:01:02 (+ setup-disk) 2019-02-14 17:01:16 because I have... specific partitioning needs 2019-02-14 17:01:24 but how would setup-alpine break fds? 2019-02-14 17:02:31 well it doesn't, but thats the "proper" install method so if that doesn't work (didn't work with my normal setup by hand either, so using setup-alpine rules out something I did) 2019-02-14 17:02:58 it's so proper we're considering replacing/rewriting it ^^ 2019-02-14 17:03:09 speaking of "proper" install methods... 2019-02-14 17:03:39 the docs are actually in the editing cycle right now (still beta, I'll push it to 0.1b from 0.1a soon), if you wanna double check to make sure everything looks right 2019-02-14 17:04:09 hm, actually, what arch? 2019-02-14 17:04:18 x86_64 2019-02-14 17:04:49 alright, I'm out of ideas 2019-02-14 17:04:53 but yeah shoot me the docs and I'll have a look 2019-02-14 17:05:49 oh, sec, +g 2019-02-14 17:05:56 go, sorry 2019-02-14 17:06:25 not sure what/how much you got ^^ 2019-02-14 17:06:31 didn't notice your +g before sending 2019-02-14 17:06:56 still on from the stupid spambots 2019-02-14 17:18:43 would really help if the debug was... well, debug 2019-02-14 17:18:44 heh 2019-02-14 17:19:02 apparentl debug means "normal level of logging you'd expect" 2019-02-14 17:19:07 apparently* 2019-02-14 17:19:10 hold on re: debug 2019-02-14 17:19:23 for real debug you want 2019-02-14 17:19:25 --debug --verbose 2019-02-14 17:19:30 in /etc/conf.d/lxd 2019-02-14 17:19:44 I've got it running in a screen window with those flags 2019-02-14 17:19:52 still looks like normal logs heh 2019-02-14 17:20:04 the --verbose part is for lcx 2019-02-14 17:20:06 lxc* 2019-02-14 17:20:10 I need it to dump what its actually doing, without attaching it to strace or similar 2019-02-14 17:20:11 lxc's logs become erm... quite large 2019-02-14 17:20:13 hm 2019-02-14 17:21:07 at least, all --debug --verbose gets me is the api calls 2019-02-14 17:21:15 which is what I'd expect for default logging, not debug 2019-02-14 17:21:27 why is it *always* go applications that have shit debug/logging 2019-02-14 17:21:28 lol 2019-02-14 17:23:07 incidentally, lxcfs doesn't start anyway, cgmanager: Error mounting unified: No such file or directory 2019-02-14 17:23:21 erm... that sounds like you have broken cgroups 2019-02-14 17:23:32 yeah 2019-02-14 17:23:35 which'd certainly explain a lot 2019-02-14 17:23:47 this is what I was just thinking 2019-02-14 17:24:00 none on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate) 2019-02-14 17:24:12 that's all you got? 2019-02-14 17:24:15 yeah you got broken cgroups 2019-02-14 17:24:24 no, thats the unified one 2019-02-14 17:24:36 sec I'll pb 2019-02-14 17:24:54 http://ix.io/1B48 2019-02-14 17:25:01 you're supposed to have http://sprunge.us/GOCb2q 2019-02-14 17:25:16 I also have this in rc.conf http://sprunge.us/KegHjG 2019-02-14 17:25:20 looks about right 2019-02-14 17:25:26 oh hm 2019-02-14 17:25:37 let me check rc.conf 2019-02-14 17:25:58 hybrid appears to be the default anyway 2019-02-14 17:26:18 yeah yours appears to be hybrid 2019-02-14 17:26:36 rc_cgroup_controllers is "" though 2019-02-14 17:26:49 commented out, haven't touched rc.conf so whatever the default is 2019-02-14 17:27:58 not rc_cgroup_controllers, rc_controller_cgroups 2019-02-14 17:28:01 very different things 2019-02-14 17:28:05 oh my bad 2019-02-14 17:28:12 not confusing at all 2019-02-14 17:28:24 #rc_controller_cgroups="YES" 2019-02-14 17:28:27 so same, reall 2019-02-14 17:28:28 hm 2019-02-14 17:28:30 really* 2019-02-14 17:28:46 according to the comments the default is the same behaviour as hybrid and YEs 2019-02-14 17:28:51 actually wait, hold on 2019-02-14 17:28:54 I might have a custom lxcfs patch 2019-02-14 17:29:37 ah yeah 2019-02-14 17:29:41 remove the `depend cgproxy` 2019-02-14 17:29:44 that thing is dumb 2019-02-14 17:29:47 still trying to figure out where its picking up the stupid open fds from 2019-02-14 17:29:59 because it works if fixed manually 2019-02-14 17:30:02 well on my system there's a clear eventfd 2019-02-14 17:30:12 so it's using its own memory-internal fd 2019-02-14 17:30:14 well I mean, ignoring the ones on boot 2019-02-14 17:30:17 that's getting closed by *something* 2019-02-14 17:30:20 but lxc start 2019-02-14 17:30:31 but maybe it really needs lxcfs? 2019-02-14 17:30:56 it does not 2019-02-14 17:31:03 as I said, I had it running perfectly well w/o lxcfs 2019-02-14 17:31:12 what lxcfs does is it makes containers "see" their limitations 2019-02-14 17:31:17 ah 2019-02-14 17:31:19 e.g htop will show 1 cpu core if it's limited to 1 core 2019-02-14 17:31:23 w/o lxcfs it'll see all the cores 2019-02-14 17:31:29 ok, well I mean it's one less thing for it to get upset about if its there I guess 2019-02-14 17:31:40 that shouldn't do anything with eventfd 2019-02-14 17:31:58 well if I ignore all the other glaring problems and fix the config it generates, I'm hoping it'll be enough 2019-02-14 17:32:04 but I can't even find it in the source 2019-02-14 17:32:15 the abstraction is excessive 2019-02-14 17:32:49 oh also 2019-02-14 17:32:54 are you running this on the vanilla kernel? 2019-02-14 17:32:58 3 3847 3856 3 root txt REG 0,5 32014784 8095 /memfd:liblxc (deleted) 2019-02-14 17:33:01 3 3847 3856 3 root mem REG 179,3 720728 520494 /usr/lib/liblxc.so.1.5.0 2019-02-14 17:33:04 hm 2019-02-14 17:33:05 yeah 2019-02-14 17:33:06 is yours virt? 2019-02-14 17:33:08 no 2019-02-14 17:33:10 oh o 2019-02-14 17:33:11 ok 2019-02-14 17:35:09 you seem to be the first one to run into the whole memfd thing 2019-02-14 17:35:44 this is the closest thing I can find and I doubt it's related https://github.com/lxc/lxc/issues/1296 2019-02-14 17:35:54 might be time to submit a bug report? 2019-02-14 17:35:58 it's entirely possible that the way ubuntu sets it up, or the environment its launched in, is what its expecting 2019-02-14 17:36:06 but the actual fix is no so much dumbassery heh 2019-02-14 17:36:09 not* 2019-02-14 17:36:19 but.... I have it running on fresh alpine 2019-02-14 17:36:39 that I literally upgraded and rebooted yesterday! 2019-02-14 17:36:43 meh 2019-02-14 17:36:53 theres something different about our installs then 2019-02-14 17:37:19 if you don't see the same by installing and enabling lxd, then theres something very wrong 2019-02-14 17:37:24 since they should be 100% identical 2019-02-14 17:38:03 ok, let's try this 2019-02-14 17:38:27 I wanna know what the hell its doing with memfd and liblxc anyway 2019-02-14 17:38:41 liblxc is what actually does the containerization 2019-02-14 17:38:45 it looks dumb whatever its doing 2019-02-14 17:38:53 lxd is a wrapper (for cgroups, storage, etc) around lxc 2019-02-14 17:38:55 yeah but why is it mangling that with memfd 2019-02-14 17:38:57 `sha512sum $(which lxd) $(which lxc) /usr/lib/liblxc.so.1.5.0` 2019-02-14 17:39:15 sec 2019-02-14 17:39:19 http://sprunge.us/RdobhQ 2019-02-14 17:40:20 not a single one is the same as that 2019-02-14 17:40:22 oh but, -r1 2019-02-14 17:40:35 installed it after the tar dep got added 2019-02-14 17:40:43 that shouldn't change anything 2019-02-14 17:40:48 let me upgrade and reboot I guess 2019-02-14 17:41:05 they're not reproducible builds are they? 2019-02-14 17:41:17 no, we want to have reproducible builds eventually 2019-02-14 17:41:18 probably nonsense like timestamps 2019-02-14 17:41:22 but I don't see any reason they shouldn't be 2019-02-14 17:41:25 anyway, rebooting 2019-02-14 17:41:27 kk 2019-02-14 17:41:34 (it'll take a bit, 48gb of ram takes a bit to post) 2019-02-14 17:41:59 heh 2019-02-14 17:42:06 http://ix.io/1B4f 2019-02-14 17:42:19 thats from the vultr vm I setup to start with a clean environment 2019-02-14 17:42:41 untainted by my hardware or install mehods 2019-02-14 17:42:44 methods 2019-02-14 17:43:12 uh oh 2019-02-14 17:43:15 but they match the ones on my local machines 2019-02-14 17:43:23 sup? 2019-02-14 17:43:25 hello there! 2019-02-14 17:43:28 I can't start anything 2019-02-14 17:43:30 memfd problems :D 2019-02-14 17:43:33 :) 2019-02-14 17:43:43 so.... 2019-02-14 17:43:48 so someone broke something 2019-02-14 17:43:49 it was bumped a couple of days ago 2019-02-14 17:43:52 I bet it's lxc libs 2019-02-14 17:44:30 tinkerbell:~/lxd# grep -riH memfd 2019-02-14 17:44:30 tinkerbell:~/lxd# 2019-02-14 17:44:34 bleh 2019-02-14 17:44:42 everything is wrapped up in abstraction libs 2019-02-14 17:44:49 "fix CVE-2019-5736" 2019-02-14 17:44:52 hmmm 2019-02-14 17:45:04 ah what a surprise 2019-02-14 17:45:37 Merge pull request #5491 from brauner/2019-02-13/remove_cmdline_parsi... 2019-02-14 17:45:37 @stgraber 2019-02-14 17:45:37 stgraber committed 18 hours ago 2019-02-14 17:45:37 lxd: remove /proc/self/cmdline parsing 2019-02-14 17:45:37 @brauner 2019-02-14 17:45:38 brauner committed 19 hours ago 2019-02-14 17:45:40 :D 2019-02-14 17:45:40 sigh, runc fixes 2019-02-14 17:45:54 god damn morons 2019-02-14 17:45:59 can we get that in please? :D 2019-02-14 17:46:02 I want my builder back up ;-; 2019-02-14 17:46:10 honestly, take their computers away 2019-02-14 17:46:32 https://github.com/lxc/lxd/commit/2149bdaf895a1145d49e7627b50e0097678de189 2019-02-14 17:46:33 what 2019-02-14 17:46:33 the 2019-02-14 17:46:35 oh, that "fix CVE" patch is what ADDED the memfd stuff 2019-02-14 17:46:36 *fuck* 2019-02-14 17:46:39 lxd didn't have it originally 2019-02-14 17:47:12 there are some horrors in these diffs 2019-02-14 17:47:54 hm, when was that committed? 2019-02-14 17:48:00 Feb 12 2019-02-14 17:48:09 so tl;dr liblxc is broken right now 2019-02-14 17:48:28 ok 2019-02-14 17:48:40 I'll built it with (some) of the horribleness reverted and see 2019-02-14 17:48:42 build* 2019-02-14 17:48:58 ok 2019-02-14 17:49:08 please do send lxc-libs apk and I'll install locally 2019-02-14 17:49:12 although actually, with your box you might be faster :P 2019-02-14 17:49:50 my box can't build anything right now 2019-02-14 17:49:54 oh 2019-02-14 17:49:54 because my builder is the containre 2019-02-14 17:49:56 all in lxc? 2019-02-14 17:49:57 ... that I can't start 2019-02-14 17:49:57 ah heh 2019-02-14 17:49:58 yeah 2019-02-14 17:50:03 ok gimme a few 2019-02-14 17:50:14 the physical host is a minimal lxd master 2019-02-14 17:50:16 no local checkout as I nuked them to fix lxd... 2019-02-14 17:50:30 and it turns out it wasn't lxd all along :/ 2019-02-14 17:50:35 yup 2019-02-14 17:50:43 love wasting my time 2019-02-14 17:50:49 wonder how/if to even report this one 2019-02-14 17:51:00 and if maybe someone already has 2019-02-14 17:51:07 I'm ok with just keeping the older liblxc around for a while but erm 2019-02-14 17:51:12 well, need to figure specifically which bit breaks it 2019-02-14 17:51:17 (it's not like I run runc, right?) 2019-02-14 17:51:20 can maybe just patch that particular bit 2019-02-14 17:51:24 mhm 2019-02-14 17:51:28 if you could do that it'd be really helpful 2019-02-14 17:51:34 I'm kind of swamped right now :/ 2019-02-14 17:51:38 :( 2019-02-14 17:51:46 ($dayjob is moving offices and I'm the only admin, and the docs take a lot more time than you'd think) 2019-02-14 17:51:58 same heh, but having working containers would make my life a *lot* easier 2019-02-14 17:52:01 I had to get the musl fix done because yeah, but egh 2019-02-14 17:52:33 heh 2019-02-14 17:54:47 alright building, lets see 2019-02-14 17:55:25 at least the report itself should be simple; "this patch/commit breaks lxd" 2019-02-14 17:55:38 well 2019-02-14 17:55:48 it looks like there might actually be 2 issues 2019-02-14 17:55:56 memfd *and* the cmdline parsing thats generating garbage 2019-02-14 17:56:06 they've reverted the latter 2019-02-14 17:56:19 but first things first 2019-02-14 17:56:20 mhm 2019-02-14 17:56:24 let's get our containers working :) 2019-02-14 17:56:28 yes quite 2019-02-14 17:57:21 jwh: That was very British, quite :p 2019-02-14 17:57:37 oh hello 2019-02-14 17:57:38 ltns 2019-02-14 18:05:17 alright well its built, lemme see if its fixed 2019-02-14 18:05:27 insane size packages 2019-02-14 18:09:36 tinkerbell:~# lxd -dv 2019-02-14 18:09:36 Segmentation fault 2019-02-14 18:09:38 no then 2019-02-14 18:11:12 did you just undo clandmeter's commit? 2019-02-14 18:11:17 because I think that *should* work 2019-02-14 18:11:53 hm 2019-02-14 18:12:34 you know, this should affect all lxd installations once the new lxc version comes out, so it should get fixed on its own later (?) 2019-02-14 18:12:51 I was trying to fix the problem rather than downgrading, but I can certainly build that for you 2019-02-14 18:13:10 well getting things back to a working state sounds like a good idea 2019-02-14 18:13:18 yeah 2019-02-14 18:13:20 once that's done you can do security.nesting true on a dedicated container for fixing this 2019-02-14 18:13:21 ok 10 mins 2019-02-14 18:26:52 hm 2019-02-14 18:45:42 clandmeter: just fyi, the patch you added to lxc on Feb 12 broke lxd in horrible ways; jwh is going to open an issue with lxd and hopefully upstream will fix everything soon - just making sure you're informed 2019-02-14 18:46:14 wonder why ubuntu haven't noticed 2019-02-14 18:46:28 lack of testing or it just happens to work with their environment 2019-02-14 18:46:54 but I can't even see in the patch where it could possibly get the fds from 2019-02-14 18:46:57 jwh: I think it's because lxc hasn't had a release with the patch yet 2019-02-14 18:47:00 we added it early 2019-02-14 18:47:03 ah 2019-02-14 18:47:32 oh I missed the fd = heh 2019-02-14 18:48:29 alright, I'll open an issue, let them deal with it how they wish 2019-02-14 18:53:59 actually 2019-02-14 18:54:10 hes committed some related stuff since, I'll see if its fixed 2019-02-14 18:55:53 :D 2019-02-14 18:56:08 if it is I might just open an issue anyway, where is my apology D 2019-02-14 18:56:09 :D 2019-02-14 18:56:34 well, if it is, then the answer will be "why did you get stuff from git, just wait for the release" 2019-02-14 18:56:40 (and I'd actually agree with it in most cases) 2019-02-14 18:56:50 yeah 2019-02-14 18:56:51 people that run runc deserve it anyway :^) 2019-02-14 18:56:57 thats why I haven't opened an issue et 2019-02-14 18:56:58 yet* 2019-02-14 18:57:07 and heh, yeah 2019-02-14 18:57:15 the whole vulnerability was idiotic 2019-02-14 18:58:12 lol, the subsequent commits revert the large majority of that patch 2019-02-14 18:59:11 and then... the next one adds it back 2019-02-14 18:59:13 what a mess 2019-02-14 18:59:42 https://github.com/lxc/lxc/commit/cee55b59cd0f7446bae25d02bcd23805ce43aaa4 2019-02-14 19:00:01 gg on testing 2019-02-14 19:00:19 enjoy ^^ 2019-02-14 19:00:26 at least you have a very easy way to test it, right? 2019-02-14 19:00:38 build, reboot, see if it starts :d 2019-02-14 19:00:56 oh you don't need to reboot 2019-02-14 19:01:15 just apk add new_lxc-libs.apk, rc-service lxd restart, and try (re)starting a container 2019-02-14 19:01:18 all you need to do :D 2019-02-14 19:01:54 well I also wanna check what the state is on boot 2019-02-14 19:02:05 see if its hosed before even trying to start somerthing 2019-02-14 19:02:09 something* 2019-02-14 19:02:59 I'd say that you can skip the boot test until it works when just restarting 2019-02-14 19:03:13 I suspect it's a simple superset 2019-02-14 19:03:47 yeah probably 2019-02-14 19:03:59 well, I'll see if this is better 2019-02-14 19:13:26 ncopa: it doesn't look like the latest commits are in it 2019-02-14 19:13:36 sorry, I'm out travelling, and it's one hell of a shitty trip 2019-02-14 19:20:25 SpaceToast: still here? 2019-02-14 19:20:26 tinkerbell:~# lxc start good-panther 2019-02-14 19:20:26 tinkerbell:~# 2019-02-14 19:20:30 sort of 2019-02-14 19:20:31 but... can you test? 2019-02-14 19:20:35 sure, PM details 2019-02-14 19:20:46 I'll just upload r3, tryagain directory 2019-02-14 19:21:52 k, there 2019-02-14 19:22:12 jwh: what exactly is -r3? (what did you do) 2019-02-14 19:22:34 readded the patch clandmeter added, cherry picked subsequent fixes 2019-02-14 19:22:53 it would be *much* easier if every *fix* that guy committed didn't need another 4 commits to undo all the mess it makes 2019-02-14 19:22:55 it runs, let me reboot 2019-02-14 19:22:56 lol 2019-02-14 19:23:16 but I narrowed it down to 4 2019-02-14 19:23:24 well, 3 and a half patches I guess 2019-02-14 19:23:38 reboot gonna take a while, ofc 2019-02-14 19:23:39 I left them as-is though, rather than rolling them into one 2019-02-14 19:23:41 yeah 2019-02-14 19:24:44 seems to run fine 2019-02-14 19:24:51 so all patches should be removed next release, right? 2019-02-14 19:25:02 yeah, unless they make it worse again heh 2019-02-14 19:25:16 good news though 2019-02-14 19:25:16 but it just looks like he didn't test on musl before committing for the most part 2019-02-14 19:25:24 they don't use musl 2019-02-14 19:25:27 they work for canonical 2019-02-14 19:25:27 yea 2019-02-14 19:25:38 I should keep this -r3 and it'll PROBABLY get auto-replaced next release? 2019-02-14 19:25:42 in their defence they do appear to be trying to fix it to work on non-glibc 2019-02-14 19:25:52 yeah 2019-02-14 19:25:56 well yes, when I complained they fixed the musl thing :) 2019-02-14 19:26:01 they just don't officially test 2019-02-14 19:26:07 but this patch seems like it'd affect everything 2019-02-14 19:26:23 I'll throw the package up somewhere in a bit, so if someone wants to tidy it up and commit (hint hint) 2019-02-14 19:26:40 actually... 2019-02-14 19:27:00 I can throw the lxc-libs package alone on my builder if you'd like 2019-02-14 19:27:04 well on my storage 2019-02-14 19:27:06 whatever 2019-02-14 19:27:16 http://ix.io/1B4I 2019-02-14 19:27:21 diff against master 2019-02-14 19:27:29 wew 2019-02-14 19:27:54 no notes or comments, just hashes to lookup sorry 2019-02-14 19:32:03 have a million things to do and I need a nap before the race is on :( 2019-02-14 19:32:44 yeah 2019-02-14 19:32:48 have a good nap! 2019-02-14 19:33:09 well not just yet... it's not on until 2am or something my time 2019-02-14 19:35:34 at least I can return to what I started hours ago :D 2019-02-14 20:49:02 screw it, gonna open a pr, it's probably not up to standard but it's in testing anyway :D 2019-02-14 21:01:27 hi 2019-02-14 21:01:37 <_ikke_> o/ 2019-02-14 21:01:51 so i broke lxc? 2019-02-14 21:02:19 <_ikke_> did you? 2019-02-14 21:02:43 i think thats the summary of the above 2019-02-14 21:05:34 ubuntu broke lxc 2019-02-14 21:05:48 the runc fix broke it 2019-02-14 21:06:16 yeah, it seemed nasty enough to patch it in. 2019-02-14 21:06:35 but seems with some consequence 2019-02-14 21:06:39 yeah 2019-02-14 21:06:47 so you have a fix? 2019-02-14 21:06:59 well, I gathered the patches required to fix it, theres a diff against master here, http://ix.io/1B4I 2019-02-14 21:07:18 it's a bit horrible, but it will at least work until the next release comes with the fixes in 2019-02-14 21:13:10 if you need to apply something ping me 2019-02-14 21:14:34 well, that will apply to master as-is and work fine 2019-02-14 21:14:48 I can open a PR instead 2019-02-14 21:15:17 yes or git format pathc is also ok with some notes whats going on. 2019-02-14 21:15:33 whatever you prefer 2019-02-14 21:15:38 okies 2019-02-14 21:15:46 and thanks for getting to the bottom of this 2019-02-14 21:15:51 np 2019-02-14 21:50:59 clandmeter: https://github.com/alpinelinux/aports/pull/6337 2019-02-14 21:51:45 omg... 2019-02-14 21:52:16 thx jwh... 2019-02-14 21:52:48 I've still to understand why *buntu mess-up the container world 2019-02-14 21:54:33 jwh, nice! ill try to check it tomorrow. wife is waiting. 2019-02-14 21:58:20 okies 2019-02-14 23:03:28 fcolista: SpaceToast helped too 2019-02-14 23:03:31 :D 2019-02-14 23:03:53 fcolista: on the other hand, they did create both lxc and lxd 2019-02-14 23:04:24 imagine being stuck with just docker and runc :) 2019-02-14 23:04:59 he 2019-02-14 23:05:00 heh 2019-02-14 23:10:52 does anyone know why our dhcpcd has `persistent` enabled by default? 2019-02-14 23:10:58 it causes... "funny" ipv6 failures 2019-02-14 23:11:21 I installed that everywhere today actually so I had working v6... 2019-02-14 23:11:24 not seen anything yert 2019-02-14 23:11:26 yet* 2019-02-14 23:11:32 jwh: one day, you will see 2019-02-14 23:11:34 alternatively 2019-02-14 23:11:37 just disable that option 2019-02-14 23:11:39 before it's too late 2019-02-14 23:11:52 honestly the v6 support is so bad I don't have any expectations heh 2019-02-14 23:12:00 (still can't install from v6 either) 2019-02-14 23:12:42 basically, if dhcpcd (basically required for proper DHCPv6) has persistent on, it will fail to send its hostname in response to a DHCP6 RA 2019-02-14 23:12:49 because it'll assume that it's not reconfiguring 2019-02-14 23:12:53 but short of using something useful instead of udhcpc[6] by default, there isn't much to be done 2019-02-14 23:12:54 (even if the suppression isn't there) 2019-02-14 23:13:06 hm 2019-02-14 23:13:09 let me see 2019-02-14 23:13:18 so at some point you keep getting the address, but not the lease 2019-02-14 23:13:21 which breaks internal DDNS 2019-02-14 23:13:26 (among other side effects) 2019-02-14 23:13:39 do you have the M bit set? 2019-02-14 23:13:45 if you're using dnsmasq, just make sure you have `dhcp-client-update` in dnsmasq, and *no* `persistent` in dhcpcd.conf 2019-02-14 23:14:06 I have no idea :) 2019-02-14 23:14:09 I have a very specific setup (that also means android can't do v6) 2019-02-14 23:14:11 my RA is dnsmasq 2019-02-14 23:14:14 because android is terrible 2019-02-14 23:14:18 yeah android still doesn't have DHCPv6 2019-02-14 23:14:26 oh, yeah I have M 2019-02-14 23:14:34 I set the M bit in ra, so they will only get addresses from dhcpv6 2019-02-14 23:14:48 ah ok 2019-02-14 23:15:00 I have very specific desires for my internal networks :) 2019-02-14 23:15:03 slaac is no good 2019-02-14 23:15:08 tbh I've been rebooting stuff with lxc and whatnot today so nothing probably been up long enough 2019-02-14 23:15:29 (I want two simple things - ipv4 and ipv6, where ipv6 is globally reachable; and to be able to ping any system by its hostname *inside* of the network) 2019-02-14 23:15:31 yeah, I need a useful addressing policy and working dns resolution, so "standard" v6 setups are no good 2019-02-14 23:15:37 and I don't want no temporary addresses eithr 2019-02-14 23:15:40 (that latter requires DHCPv6) 2019-02-14 23:15:54 let me check my config 2019-02-14 23:17:19 do you know if there's an nmap script (or similar) to inspect RA bits? 2019-02-14 23:17:20 ah no I don't have client update, just the dhcp-range, dhcp-range=set=eth1,::1,::ff,constructor:eth1 2019-02-14 23:17:34 hm 2019-02-14 23:17:46 I think I saw one, but tcpdump should probably tell you 2019-02-14 23:20:27 yeah, hop limit 64, Flags [managed, other stateful], 2019-02-14 23:20:36 icmp6 and 'ip6[40] = 134' as your expression 2019-02-14 23:28:52 I like that go now runs out of memory (apparently, no oom) when building traefik 2019-02-14 23:31:06 2G of ram just to start linking, nice, not ridiculous at all 2019-02-14 23:31:48 make that 3 2019-02-14 23:36:18 jwh: found one, rdisc6 helps :D 2019-02-14 23:36:34 ah 2019-02-14 23:36:38 good to know 2019-02-14 23:36:51 so I have stateful address conf, stateful other conf, and on-link bits 2019-02-14 23:37:02 but yeah it's a dhcpcd issue, nothing less, nothing more 2019-02-14 23:37:24 how long do you see before it happens, just at lease expiry? 2019-02-14 23:37:36 at least lease expiry, which is min 2h 2019-02-14 23:37:37 ugh that made no sense 2019-02-14 23:37:42 ah ok 2019-02-14 23:37:42 I only noticed after like a week 2019-02-14 23:38:16 guess I'll have to wait for that fun 2019-02-14 23:38:54 is it really that hard to change 2 options? 2019-02-14 23:39:17 I wanna figure out why it breaks 2019-02-14 23:39:35 I'm pretty sure it just assumes it's already configured 2019-02-14 23:39:40 (since that's what the flag is for, after all) 2019-02-14 23:39:46 hm 2019-02-14 23:44:50 updated https://github.com/alpinelinux/aports/pull/6230 too 2019-02-14 23:52:29 btw, jwh, you got debian ifupdown running, right? 2019-02-14 23:53:07 no, didn't bother once I realised dhcpcd works 2019-02-14 23:53:25 or rather, once I realised busybox will exec it 2019-02-14 23:53:52 ah, ok 2019-02-14 23:53:59 I tried adding it (while debugging the dhcpv6 problem) 2019-02-14 23:54:02 it... seems rather broken 2019-02-14 23:56:20 yeah, honestly I've always hated the ifupdown stuff so 2019-02-14 23:56:43 I don't mind the idea, but the execution seems to be consistently lacking 2019-02-14 23:56:52 ... but I'm not crazy enough to dive into writing my own (yet?) 2019-02-14 23:57:14 well theres plenty that can be moulded, I had netifd running, but no config yet 2019-02-14 23:58:13 I'm thinking the issue is everyone focuses on "describing" things 2019-02-14 23:58:18 whereas I'd be down with shortcuts for executing 2019-02-15 00:00:32 heh 2019-02-15 00:00:50 well, you need a sensible way of expressing configs for anything other than very basic configs 2019-02-15 00:10:30 at least I got my prs all done before the race o/ 2019-02-15 09:06:11 anyone have idea does Alpine need to have compiler-rt 2019-02-15 09:15:50 hey, upgraded my alpine server, and elixir and erlang no longer work 2019-02-15 09:15:52 ~ iex dlsym: Resource temporarily unavailable [1] 2310 abort iex 2019-02-15 09:16:05 any ideas? 2019-02-15 14:01:47 guyyyys, #6337 :P 2019-02-15 14:01:54 PR that is 2019-02-15 15:22:12 hm, think I broke my kernele... 2019-02-15 15:22:17 depmod: can't open 'modules.builtin': No such file or directory 2019-02-15 15:22:21 depmod: WARNING: could not open /lib/modules/4.19.21-1-vanilla/modules.order: No such file or directory 2019-02-15 15:22:24 it is not amused 2019-02-15 15:22:31 unless upgrading broke it, hm 2019-02-15 15:22:54 huh, yeah, weird 2019-02-15 15:23:07 PR6337 2019-02-15 15:23:33 ummm 2019-02-15 15:23:36 pulll? 2019-02-15 15:23:43 exactly 2019-02-15 15:23:50 pr6337 2019-02-15 15:24:29 PR#6337 2019-02-15 15:24:36 lol 2019-02-15 15:25:51 bleh, I'm still missing something to get this bluetooth working 2019-02-15 15:26:15 its SDIO I believe, but I'm missing an mmc device 2019-02-15 15:26:33 I can't find the magic kernel symbol that covers it 2019-02-15 15:26:59 do you have other distro or kernel that detects it? 2019-02-15 15:27:15 yeah, arch does - so I'm comparing possibly related symbols 2019-02-15 15:27:21 then you could save the list of loaded modules 2019-02-15 15:27:23 but alas 2019-02-15 15:27:31 well they build a lot in, so that may not show up 2019-02-15 15:27:38 and compare with alpines loaded modules 2019-02-15 15:27:52 theres some HCIUART stuff missing, but it's not those 2019-02-15 15:28:12 its probably a kernel module 2019-02-15 15:28:15 unless... it needs to be built in and not a module and thats why its not working 2019-02-15 15:28:27 as pinctrl appears to be required, module on alpine but builtin on arch 2019-02-15 15:29:03 more tinkering, my work is never done :D 2019-02-15 15:29:17 are there any modules on arch that are not loaded with alpine? 2019-02-15 15:29:31 just checking 2019-02-15 15:30:38 nothing that looks obviously related, however... this is missing from kernel messages: 2019-02-15 15:30:45 [ 3.781344] mmc2: SDHCI controller on ACPI [80860F14:02] using ADMA 2019-02-15 15:30:55 which appears to be where the wifi+bluetooth is 2019-02-15 15:31:04 or at least the bluetooth, i think the wifi works 2019-02-15 15:31:17 i dont think thats blutetooth 2019-02-15 15:31:21 but that could also be the card reader... the bios switches them around at random 2019-02-15 15:31:25 mmc is memory card? 2019-02-15 15:31:33 yeah but you can interface over SDHCI 2019-02-15 15:31:38 not restricted to cards 2019-02-15 15:31:57 Im not sure how to get the topology from a running system 2019-02-15 15:32:16 maybe via /sys/ ? 2019-02-15 15:33:01 yeah its in here somewhere heh 2019-02-15 15:33:57 look in /sys/class/bluetooth/hci0/device/ 2019-02-15 15:34:41 oh its h5 2019-02-15 15:34:43 haaaaang on 2019-02-15 15:35:06 ncopa: have you few minutes? you are maintainer of compiler-rt, for what is used it on Alpine 2019-02-15 15:35:22 lrwxrwxrwx 1 root root 0 Feb 15 15:34 driver -> ../../../../../bus/serial/drivers/hci_uart_h5 2019-02-15 15:35:25 lrwxrwxrwx 1 root root 0 Feb 15 15:34 firmware_node -> ../../../../LNXSYSTM:00/LNXSYBUS:00/80860F0A:00/OBDA8723:00 2019-02-15 15:35:40 hci_uart_h5 2019-02-15 15:35:44 is the kernel module you need 2019-02-15 15:35:59 jwh> theres some HCIUART stuff missing, but it's not those 2019-02-15 15:36:03 yeah I need to find the symbol, theres nothing matching h5 in config.gz for arch 2019-02-15 15:36:12 Iirc this is vendor specific 2019-02-15 15:36:22 brb 2019-02-15 15:37:06 aha, think I found the missing one 2019-02-15 15:37:26 CONFIG_BT_HCIUART_RTL=y 2019-02-15 15:37:35 completely overlooked it 2019-02-15 15:38:06 oh wait no, I got that one 2019-02-15 15:44:52 ERROR: unsatisfiable constraints: 2019-02-15 15:44:52 ossp-uuid-1.6.2-r0: 2019-02-15 15:44:52 conflicts: util-linux-dev-2.33-r0[pc:uuid=1.6.2] 2019-02-15 15:44:52 satisfies: .makedepends-guacamole-server-0[ossp-uuid] fontconfig-dev-2.13.1-r0[pc:uuid] 2019-02-15 15:44:52 util-linux-dev-2.33-r0: 2019-02-15 15:44:52 conflicts: ossp-uuid-1.6.2-r0[pc:uuid=2.33.0] 2019-02-15 15:44:54 satisfies: glib-dev-2.58.1-r2[util-linux-dev] fontconfig-dev-2.13.1-r0[pc:uuid] 2019-02-15 15:45:47 oh fun 2019-02-15 15:45:56 need to bump pkgrel 2019-02-15 16:35:10 muahahahaha! 2019-02-15 16:35:11 got it 2019-02-15 16:36:01 well, kinda 2019-02-15 16:36:47 fixes the card reader so I'll send that 2019-02-15 16:52:19 is it possible to have conditionally files in src in APKBUILD? i.e. instead of a file name to put variable 2019-02-15 16:52:38 iirc yes 2019-02-15 16:53:15 jwh: do you know of package where I can look example 2019-02-15 16:54:03 hm 2019-02-15 16:54:20 APKBUILDs are shell scripts 2019-02-15 16:54:31 you can evaluate conditions, and based on those set or change variables. 2019-02-15 16:54:34 p4Wv1qn095FW: I know 2019-02-15 16:54:40 I think most use variables for package files,, like.... 2019-02-15 16:54:44 source="$pkgname-$pkgver.tar.gz::https://github.com/containous/traefik/archive/v$pkgver.tar.gz 2019-02-15 16:54:54 but will be checksum calculated properly 2019-02-15 16:55:20 should be expanded, so I guess 2019-02-15 16:55:22 try it and see 2019-02-15 16:56:08 yeah, for checksums you should have the file in the sources variable. and then in the prepare/build/package function you can leave them out if you want... 2019-02-15 16:56:10 that one I know and use it, I'm trying to include patch defined in variable 2019-02-15 16:57:58 hmm, source="abc.tar.gz", and then source="$source\nxxxx.patch" 2019-02-15 17:05:19 ah, community/ghc have this (and some other packages, even linux-vanilla). thanks for hints and help. everyday learn something new about Alpine 2019-02-15 17:23:45 hm 2019-02-15 17:24:15 wonder why this is bool not tristate, and if it could be tristate 2019-02-15 17:26:38 jwh: then it will not be bool, at least in binary numeric system. in trinary maybe bool could have tristate 2019-02-15 17:38:19 well 2019-02-15 17:38:22 n/y/m 2019-02-15 17:38:55 this is tristate, not Boolean 2019-02-15 17:40:16 this looks like from kernel or busybox and similar configs, where 'm' means 'module' 2019-02-15 17:40:21 yes 2019-02-15 17:40:33 its currently bool (y/n), I need to see if it can be y/n/m 2019-02-15 17:41:05 would you tell about package you are talking 2019-02-15 17:41:34 about what package* 2019-02-15 17:41:36 kernel symbol, CONFIG_PINCTRL_BAYTRAIL 2019-02-15 17:42:02 ah, some drivers cannot be built as module 2019-02-15 17:42:26 the others are tristate, so either its an oversight or it does something specific that rules it out being a module 2019-02-15 17:43:06 no, it is ok, simply it is not written as a module 2019-02-15 17:43:36 wonder if I could just get away with adding module declarations 2019-02-15 17:44:09 I suspect that is possible. did you looked at it's source 2019-02-15 17:44:27 yeah 2019-02-15 17:44:36 there are no declarations, gonna try now 2019-02-15 17:45:18 kernel modules need some initialization 'boilerplate' to be built as module 2019-02-15 17:45:34 yeah 2019-02-15 17:46:52 I didn't wrote module for about two decades, so forgot what is needed in init 2019-02-15 17:47:51 a lot of messing about :D 2019-02-15 17:48:55 am I being blind 2019-02-15 17:49:01 it is not to complicated, imo, but you need to understand how to convert it, and could be fine brain gymnastic at the end 2019-02-15 17:49:28 can't work out where .config is moved to 2019-02-15 17:49:41 s/not to/not too/ 2019-02-15 17:49:41 mps meant to say: it is not too complicated, imo, but you need to understand how to convert it, and could be fine brain gymnastic at the end 2019-02-15 17:50:48 well, even if its simple I'm not sure its worth carryin a patch, and I'm not versed with submitting anything upstream 2019-02-15 17:57:46 in what section it is in kernel config 2019-02-15 17:58:03 no idea in menuconfig, but its gpio -> pinctrl 2019-02-15 17:58:14 under intel, drivers/pinctrl/intel 2019-02-15 17:58:37 https://github.com/torvalds/linux/tree/master/drivers/pinctrl/intel 2019-02-15 17:59:28 it is for x86 only in config? 2019-02-15 17:59:35 yeah 2019-02-15 17:59:48 baytrail is an x86 soc 2019-02-15 18:01:28 if you enable it (set 'y') it should be included in it's 'super' driver 2019-02-15 18:01:40 yeah 2019-02-15 18:01:51 all the others can be built as a module though, sooooo 2019-02-15 18:03:55 I don't have now and x86 kernel build environment, so couldn't check 2019-02-15 18:04:10 s/and/an/ 2019-02-15 18:04:10 mps meant to say: I don't have now an x86 kernel build environment, so couldn't check 2019-02-15 18:04:47 well, I have the hardware thats why I'm checking :D 2019-02-15 18:13:46 if the pinctrl driver cannot be built as module then when you select CONFIG_PINCTRL_BAYTRAIL=y in will be in the kernel 2019-02-15 18:14:13 yes 2019-02-15 18:14:16 so, if the driver maintainers think that is right solution I don't see problem 2019-02-15 18:14:37 thats why I'm checking if it works as a module, perhaps someone can prod upstream 2019-02-15 18:14:38 build it as they made it 2019-02-15 18:14:52 since its a bit silly to build it in when the platforms it applies to is very very small 2019-02-15 18:15:44 it's on my list anyway :D 2019-02-15 18:16:38 well, some could be built as module and some not. If you don't want to rewrite it then build it as 'monolith' (included in kernel) 2019-02-15 18:19:18 well I guess its pretty small and everyone else builds it in, why not 2019-02-15 18:22:07 annoyingly the mmc driver doesn't actually complain, it just stays silent without that 2019-02-15 18:22:53 fixing it was on my list of things to do, but I was actually trying to fix bluetooth :D 2019-02-15 20:03:48 man, I really need a go expert to help me with this 2019-02-15 21:32:09 hey guys. i've built a custom image for rpi but since i do not have a monitor with hdmi i want to use ssh. i included openssh-server apk in the image and placed the name in /etc/apk/world. still i cannot access the server as if the configuration did not work (i'm using the default one). if the configuration is to blame here, what steps should i follow to change it? i assume "Listen 0.0.0.0" is all it takes. 2019-02-15 21:35:30 oh i also forgot to mention, that "rc_add sshd boot" is also in my genapkovl-* file. 2019-02-16 05:04:22 mpv is broken in edge due to ffmpeg ABI breakage 2019-02-16 05:04:24 rebuild is needed 2019-02-16 05:08:10 might also mention that I would like to see it rebuilt for both x86_64 and aarch64, though I'm sure eventually it'd be rebuilt for everyhting 2019-02-16 05:08:13 everything, even 2019-02-16 09:50:47 ddevault: fixed, thanks! 2019-02-16 16:53:17 nmeum: np 2019-02-16 16:53:26 I just realized that mpv on alpine still doesn't have wayland support, though 2019-02-16 16:53:30 I sent that patch like a year ago -_- 2019-02-16 21:08:23 Hi all 2019-02-16 21:10:47 I have a problem with mariabackup since version 10.3.12. On backup (mariabackup --backup --target-dir=/foo/bar) I get "Segmentation fault (core dumped)" 2019-02-16 21:11:31 When I'm using the mariabackup binary from version 10.3.11 (and mariadb server 10.3.12), backup is working fine. 2019-02-16 21:12:14 Does anyone use mariabackup and can confirm this? 2019-02-17 06:42:45 bleeeh, can't convince this armv7 to boot 2019-02-17 07:30:14 <_ikke_> jwh: try to be more convincing :p 2019-02-17 07:30:41 lol 2019-02-17 07:30:55 I gave up, pitfa without any console or video 2019-02-17 07:31:17 need some prebuilt images or at least tarballs that contain a working / (a la alarm) 2019-02-17 13:34:47 <_ikke_> Is it normal for packages to have a dependency on ca-certificates directly? 2019-02-17 13:50:31 god damn it, what the hell is missing from my kernel config 2019-02-17 13:50:48 gonna suck if I have to comb through every possible symbol 2019-02-17 14:04:29 [Feb 17 14:04:19] NOTICE[4909]: loader.c:1498 load_modules: 292 modules will be loaded. 2019-02-17 14:04:32 Segmentation fault 2019-02-17 14:04:33 hm 2019-02-17 14:04:37 well thats good 2019-02-17 14:33:42 \part 2019-02-17 14:35:45 _ikke_: yes 2019-02-17 14:36:49 <_ikke_> clandmeter: alright 2019-02-17 14:37:24 <_ikke_> Do we mind binary files (png) in aports? I do see a few of them existing already 2019-02-17 14:38:17 <_ikke_> https://github.com/alpinelinux/aports/pull/5177/files#diff-df4071786a21dd95a6d7b90f4b7ee5e3 2019-02-17 17:12:35 ncopa: I don't think the `iptables` package should have a file in `/usr/etc/ethertypes ` , maybe you should fix that :) 2019-02-17 17:12:53 `--sysconfdir=/etc` 2019-02-17 17:17:43 <_ikke_> z3ntu: feel free to submit a patch 2019-02-17 17:28:10 _ikke__ my experience with patches have been months of waiting, and this should be a trivial change for a maintainer to do 2019-02-17 17:30:48 _ikke_: I'd imagine the png files aren't from the original source (aka the submitter isn't the one that made them), so I'd personally rather they be in the sources list, right? 2019-02-17 17:31:00 (or extracted from the tarball, or what have you) 2019-02-17 17:31:13 we don't really want to be distributing potentially copyrighted content, after all 2019-02-17 17:31:21 and it's nicer to the git repo :) 2019-02-17 18:04:39 <_ikke_> SpaceToast: not sure what you suggest 2019-02-17 18:04:59 the submitter got that PNG from somewhere 2019-02-17 18:05:06 they didn't make it themselves 2019-02-17 18:05:16 source="https://wherever.they.got.it" 2019-02-17 18:05:34 it might even be in the release tarball, for all we know 2019-02-17 18:14:07 <_ikke_> It's not in the release tarball 2019-02-17 18:14:25 but it definitely isn't an original creation by the submitter. 2019-02-17 18:14:30 <_ikke_> I would not expect so, no 2019-02-17 18:14:32 meaning they got it *somewhere* 2019-02-17 18:14:44 and thus the apkbuild can get it from the same somewhere 2019-02-17 18:15:03 likely with fewer potential issues :) 2019-02-17 18:16:18 <_ikke_> We would still distribute the file if we would include it in the .apk file, so it doesn't make a lot of difference regarding copyriht 2019-02-17 18:16:22 <_ikke_> copyright 2019-02-17 18:16:34 <_ikke_> But I will ask the submitter 2019-02-17 18:16:57 I'm thinking of various bindist instances like with firefox, where they allow distributing certain things as long as they're from the "original source" 2019-02-17 18:17:00 but not otherwise 2019-02-17 18:17:56 <_ikke_> ok 2019-02-17 18:18:32 either way, we should make it clear to contributors that copyrighted content shouldn't be in; I'll try and remember that for when I get there re: docs 2019-02-17 18:18:44 but in the scenario it's not copyrighted, I'd still rather fetch things that are fetch-able 2019-02-17 18:21:04 <_ikke_> yes, I agree 2019-02-17 18:27:33 I give up 2019-02-17 18:27:50 whatever is missing from the alpine kernel config I can't find 2019-02-17 18:29:16 config its given never makes it into the actual build tree either, sigh 2019-02-17 18:35:49 don't have any more time to waste on it, especially as its fragile anyway due to no systemd 2019-02-17 18:48:27 well that's a new one, fragility due to no systemd :) 2019-02-17 18:54:54 not really, it's getting progressively worse 2019-02-18 02:56:11 Hi all, could somebody explain the difference between the version in : https://alpinelinux.org/downloads/. 2019-02-18 02:56:28 I know there is a small difference but I wanted to know more 2019-02-18 02:56:33 is the little text under the version names not sufficient? 2019-02-18 04:30:04 Not really, I wanted to know more :S 2019-02-18 04:30:24 Is it just what is package with the base ISO different ? 2019-02-18 04:30:43 mostly, yeah :) 2019-02-18 04:30:53 the virt one has a virt kernel (as it basically says) 2019-02-18 04:30:58 and the xen one has a xen kernel 2019-02-18 04:31:08 and the arch-specific ones are arch-specific 2019-02-18 04:33:25 What do you mean by arch specific ? 2019-02-18 04:34:01 cpu architecture specific - x86, x86_64, ARM etc 2019-02-18 04:34:42 the raspberry pi one won't run on x86 ;) 2019-02-18 04:35:09 Good, for my use case, I'm looking specificaly between standard and extended, the extended descriptions reads: Runs from RAM. Is this specific to that version ? 2019-02-18 04:39:35 no, it means that extended isos will usually be installed in ramdisk mode 2019-02-18 04:39:48 all alpine isos run from ram by default 2019-02-18 04:40:41 Ok, so the difference between these twos are just installed packages if I understand correctly 2019-02-18 05:27:21 <_ikke_> KH405: THe difference is in the amount of packages that are present on the iso 2019-02-18 05:27:31 <_ikke_> KH405: if you have an internet connection, the standard image suffices 2019-02-18 05:28:49 _ikke_: Thank you! 2019-02-18 08:03:15 could some look over this: https://github.com/alpinelinux/aports/pull/5814 the travis test fails but i have no idea why 2019-02-18 08:08:00 https://travis-ci.org/alpinelinux/aports/builds/493270231#L658 2019-02-18 08:09:26 xsteadfastx: https://travis-ci.org/alpinelinux/aports/builds/493270231#L521 2019-02-18 08:12:36 clandmeter: i know but here on my box i dont have a checksum error 2019-02-18 08:12:52 delete the local tarball and regen 2019-02-18 08:14:17 ok 2019-02-18 08:14:26 but with this error i have no idea what is going on 2019-02-18 08:14:30 or what i could do about it 2019-02-18 08:16:24 ok i think i know what the problem is... it needs a newer version of libunpp which is also in the PR 2019-02-18 08:22:06 thats what i checked right now on my box 2019-02-18 13:52:16 ncopa: i cannot build kicad due to a bug in glm: https://github.com/g-truc/glm/issues/832 - it can be fixed by reverting this patch: https://github.com/g-truc/glm/commit/68c7e7e50b934cd265251a0660096f1415647bbb - it is known upstream, but unfixed so far: https://bugs.launchpad.net/kicad/+bug/1804030 2019-02-18 13:52:51 would you update glm please? 2019-02-18 13:53:25 shall i open a bug on b.a.o for this? 2019-02-18 14:01:36 yes 2019-02-18 14:01:47 p4Wv1qn095FW: interesting, did you tried to patch glm and build it locally 2019-02-18 14:02:48 I intended to package kicad, but if you already did it you saved my time :) 2019-02-18 14:06:58 yes, you should check our aports-ugly repo: https://github.com/aports-ugly/aports/tree/master/ugly 2019-02-18 14:16:11 looks like your repo is related to electronics and radio 2019-02-18 15:15:36 mostly yes. but also other stuff 2019-02-18 15:19:17 mps and yes, kicad works since a long time in alpine, i've been using it with great joy 2019-02-18 15:19:48 are you HAM (radio operator)? I built svxlink on Alpine for use on radio repetear 2019-02-18 15:39:21 no, i am a freebander 2019-02-18 15:41:14 ok, anyway we share interest to electronics :) 2019-02-18 15:42:42 btw, thank you for kicad APKBUILD 2019-02-18 15:44:17 i'm into reversing/tracking/intercepting digital transmissions, ham voice/cw stuff is super boring at best, and super annoying most of the time... ;) 2019-02-18 15:45:26 todays ham is a digital at it's good part 2019-02-18 15:46:29 i once held a licence for gsm/umts though ;) 2019-02-18 15:47:30 and no, i don't want say that your interest is not good, it is really interesting but I don't have time to dive into it 2019-02-18 15:48:23 yeah, reversing a transmission is quite a lot of time. a lot 2019-02-18 15:49:14 reverse engineering anything requires time and strong will 2019-02-18 22:44:46 bah, all 3 of my PRs are still open :(( 2019-02-18 23:02:55 Hey there folks! 2019-02-18 23:06:39 heya 2019-02-19 03:35:36 danieli: just in case you haven't heard (you were interested in getting D into alpine as well, from what I recall) - D made it into GCC9 2019-02-19 03:35:44 so it may be easier to gte it in later :) 2019-02-19 08:19:07 uff 2019-02-19 08:19:08 https://github.com/greenbone/gvm-libs/releases 2019-02-19 08:19:27 they go from v9.0.0 to v1.0.0 rather than v.10.0.0 2019-02-19 08:19:30 why!?!?!?!!? 2019-02-19 08:20:14 haha 2019-02-19 08:20:29 because they have no idea how versioning works 2019-02-19 08:25:32 I think this might create issue with apk when it comes to upgrade it.. 2019-02-19 08:26:15 it will 2019-02-19 08:26:30 heh... 2019-02-19 08:26:32 uff 2019-02-19 08:26:52 probably create an issue for it on their github 2019-02-19 08:26:58 +1 2019-02-19 08:27:19 they changed the name too 2019-02-19 08:27:20 but i don't think they will change versioning just for sanity 2019-02-19 08:27:35 OpenVAS v9, next major -> GVM 1.0 2019-02-19 08:27:55 its werid, but at least its not OpenVAS v1 after OpenVAS v9 :D 2019-02-19 08:28:12 s/werid/weird 2019-02-19 08:36:03 opened an issue on GH..let's see how they will reply 2019-02-19 08:36:50 openvas-libs was already renamed as gvm-libs with 9.0.3 2019-02-19 08:37:07 so does not make any sense to set gvm-libs v1.0.0 2019-02-19 08:37:18 it's a downgrade for any package manager.. 2019-02-19 08:54:46 hehe I bet that this versioning thunghy gonna become a flame in GH .. 2019-02-19 08:54:54 *thinghy 2019-02-19 08:55:06 looks that openvas devels are quite sensitive.. 2019-02-19 11:01:51 blimey 2019-02-19 11:23:12 <_ikke_> conclusion, we only care what we do, not what others do, so it doesn't matter how we do our versions 2019-02-19 11:24:16 <_ikke_> oink 357 -> 364 PRs open on GH 2019-02-19 11:28:14 im somewhat dissatisfied that there is alot of useless stuff packaged 2019-02-19 11:28:20 like pip packages? 2019-02-19 11:30:00 <_ikke_> You mean projects from pip packaged? 2019-02-19 11:31:06 or just parts of the setup.py ecosystem 2019-02-19 11:32:06 almost every community/py-* is just an adaptor to convert setup.py pkg to apk 2019-02-19 11:33:27 <_ikke_> isn't every c project just an adopter of (c|auto)make to apk? 2019-02-19 11:33:56 but c is compiled, not just repacked 2019-02-19 11:34:08 python is a interpreter language 2019-02-19 11:34:13 *interpreted 2019-02-19 11:34:23 <_ikke_> But wouldn't it make sense to have a consistent package format? 2019-02-19 11:34:46 <_ikke_> If I install project foo, I should not have to run another package manager to get the rest of the deps 2019-02-19 11:34:50 that would be nice, but python already has the virtualenv/pip stuff 2019-02-19 11:35:06 <_ikke_> right, node has npm, ruby has bundler 2019-02-19 11:35:28 we dont re-package nom and bundles, either, right? 2019-02-19 11:35:34 *mpm 2019-02-19 11:35:42 <_ikke_> lol 2019-02-19 11:36:02 <_ikke_> We do repackage a lot of ruby gems as well 2019-02-19 11:36:57 <_ikke_> And we do see the extra work that is creating 2019-02-19 11:49:11 it makes sense to package them when they have arch depended code. 2019-02-19 11:50:39 _ikke_: im thinking of significantly lower the stale limit for the stale bot. 2019-02-19 11:50:59 somehow the modification time gets reset after some time. 2019-02-19 11:51:12 so setting it very high like we do now is useless. 2019-02-19 11:51:20 <_ikke_> clandmeter: hmm, ok, wonder what is triggering that 2019-02-19 11:51:33 <_ikke_> I do notice a lot of PRs have been updated by a force-push of algitbot 2019-02-19 11:51:46 i did some testing and if you go back few months the results turn up none 2019-02-19 11:52:37 yes but i also checked a few that have nothing in history but still is modified somehow 2019-02-19 12:05:55 oh, I love the gvm-libs drama, we don't care about you, but please, talk to us before changing your packaging name the next time, wtf 2019-02-19 12:10:23 jlanda, are you a openvas dev? 2019-02-19 12:10:41 *an 2019-02-19 12:10:42 not at all, I read you about it earlier today :D 2019-02-19 12:11:02 ah ok 2019-02-19 12:11:24 I've not intended to be rude on that post 2019-02-19 12:11:40 I just don't understand their last reply. On one hand they're saying that they don't care about third party packaging but at the same time they are asking you to talk to them before changing your package name 2019-02-19 12:12:41 I don't see a rude tone on your post, it looks more like a too defensive position on their side 2019-02-19 12:12:45 jlanda, yes. But I'm not going to reply, since it's useless and I don't want to argue. IMHO they have managed this renaming/reversionig very wrong. 2019-02-19 12:12:55 and a confusing repo management 2019-02-19 12:12:59 yeah, I agree 2019-02-19 12:13:12 gvm-libs is a new lib? then make a new repo, their free 2019-02-19 12:13:33 keep the openva-libs repo as openva-libs, set a deprecating note in the readme and point to gvm-libs brand new repo 2019-02-19 12:13:41 and there, use the versioning as you want 2019-02-19 12:13:47 that would be much better option 2019-02-19 12:13:54 but according with other distro, alpine was the only one haveing renamed openvas-libraries to gvm-libs. So I was too "quick" in doing that (even if i did it on dec 2017) 2019-02-19 12:14:14 now the page is no longer available, but they mentioned this "rename" 2019-02-19 12:15:15 <_ikke_> fcolista: waybackmachine? 2019-02-19 12:15:31 <_ikke_> Not sure if it matters to have the page though :) 2019-02-19 12:15:40 the fact is that the versioning they have choose has break (also) the consistency between package name and version 2019-02-19 12:16:27 _ikke_, I don't want to be picky. Their position is clear, I've done what I think was right, and renamed gvm-libs to openvas-libraries. 2019-02-19 12:16:31 I think that it's enough. 2019-02-19 12:16:55 We want to be kind with other devs, my point was not to "win" a topic. 2019-02-19 12:17:04 or an argument 2019-02-19 12:17:19 it was only intended to highlight what I believe was an error. 2019-02-19 12:17:53 was AND is 2019-02-19 12:18:37 AinNero: packages are great at filling air gaps, you only have one repo to maintine locally 2019-02-19 12:18:40 <_ikke_> :-) 2019-02-19 12:23:48 maintain, even 2019-02-19 15:34:05 anyone experienced issue with libxml2 upgrade from 2.9.8 to 2.9.9 2019-02-19 16:02:36 mps what kind of issue? 2019-02-19 16:14:13 <_ikke_> Hmm, in wonder what happened here: https://github.com/alpinelinux/aports/pull/6334/files 2019-02-19 16:15:14 crystal fails to pass tests with 2.9.9 downgraded libxml2 to 2.9.8 and it worked 2019-02-19 16:58:55 AinNero: I think it may or may not make sense to re-package language package managers, like pip, and ruby gems, depending on the application 2019-02-19 16:59:44 it is convenient for the end user to only need to deal with one package manager 2019-02-19 17:00:08 if user wants install docker-compose, then its convenient to only do: apk add docker-compose 2019-02-19 17:00:34 instead of: apk add python3 pip && pip install docker-compose 2019-02-19 17:01:16 you also end up with a broken system by using pip as well as packages 2019-02-19 17:01:19 there's also the question of various package managers having varying issues 2019-02-19 17:01:20 either use packages, or venv 2019-02-19 17:01:23 yeah, like with pip 2019-02-19 17:01:32 and venv-based installs break on python updates 2019-02-19 17:01:34 pip is probably the best example 2019-02-19 17:01:39 use may just want a single application or tool, and dont care what language it is implemented in 2019-02-19 17:01:44 similar story with cargo - you can't update all installed cargo packages, you have to go one by one 2019-02-19 17:02:13 if the language-specific package manager is properly (ideally) implemented, I wouldn't have any issues, but I'm not really aware of any like that 2019-02-19 17:02:14 venv does isolate you from a lot of those, since you can at least contain the exact python version and packages 2019-02-19 17:02:31 I mean it's dumb, but what you gonna do 2019-02-19 17:02:36 in that case i think it make sense to re-package as apk, including the deps 2019-02-19 17:03:01 the problem though, is there are 1000s of libraries 2019-02-19 17:03:19 in other cases you want a framwork, for your own application. lets say someone uses python flask to make a web app 2019-02-19 17:03:35 in that case, it does not really make sense to apk add py-* deps 2019-02-19 17:03:40 really people deploying projects should be using venvs from whatever source control they use 2019-02-19 17:03:42 and its probably better to go with pip 2019-02-19 17:03:56 same with other languages, global packages are a nightmare 2019-02-19 17:04:24 so i think it does not make sense to package all 10000 pips as apk 2019-02-19 17:04:31 yes 2019-02-19 17:04:47 now with python and perl its relatively easy to repack 2019-02-19 17:04:54 <_ikke_> Why is this an issue with all these languages, but not with C projects? 2019-02-19 17:05:03 <_ikke_> Is it because they are more mature and change less? 2019-02-19 17:05:07 but for ruby, its a nightmare 2019-02-19 17:05:08 it is with C libraries, just not as bad 2019-02-19 17:05:30 most try and keep some sort of compat and people tend to keep up with them 2019-02-19 17:05:31 other languages has introduced their own package management 2019-02-19 17:05:35 but openssl is a good example 2019-02-19 17:05:36 because C is less vulnerable to the lisp curse 2019-02-19 17:05:44 standard package manager that is 2019-02-19 17:05:45 and because C doesn't have a "real" package manager 2019-02-19 17:05:46 <_ikke_> lisp curse> 2019-02-19 17:05:46 curses, etc 2019-02-19 17:05:58 <_ikke_> ? 2019-02-19 17:06:01 C is old, and does not have any standard package manager 2019-02-19 17:06:11 same with c++ 2019-02-19 17:06:29 _ikke_: http://winestockwebdesign.com/Essays/Lisp_Curse.html 2019-02-19 17:07:12 there are less libraries written in C because writing things in C is harder; and as a result the things that do end up getting finished also tend to be more complete 2019-02-19 17:07:26 i think there have been some efforts for C and C++ package managers, but i dont think they ever catched on 2019-02-19 17:07:55 it's not really worth it for C, there aren't breaking changes with every update in most libraries 2019-02-19 17:08:01 not like these other languages 2019-02-19 17:08:14 package managers like rpm, deb etc have sort of solved the need for C package manager 2019-02-19 17:11:23 the difference is in who makes the packages, actually 2019-02-19 17:11:37 with pip, gem, etc, the developer makes and uploads/registers/whatever their package 2019-02-19 17:11:42 I once tried packaging something for Alpine that used C components that sort of came from a package repository 2019-02-19 17:11:43 in rpm/deb/etc it's the maintainers 2019-02-19 17:12:00 so I can see why C/C++ package managers keep trying to spring up, but it just doesn't work out 2019-02-19 17:12:01 it was the most horrific packaging effort I've ever had to go through 2019-02-19 20:56:31 I just enabled drone CI on aports pull requests. https://cloud.drone.io/alpinelinux/aports 2019-02-19 20:56:47 <_ikke_> \o/ 2019-02-19 20:56:47 if something is broken let me know. 2019-02-19 20:57:34 <_ikke_> At least this one allows you to copy things from the build log :-) 2019-02-19 20:58:04 <_ikke_> travis collapses the current section when you try to do that 2019-02-19 20:58:33 there is some logic in the build script for travis regarding collapsing. could be a feature. 2019-02-19 20:58:56 nice thing about drone is that it now supports 5 arches 2019-02-19 20:59:00 <_ikke_> yes, and the collapsing is not an issue, but you don't expect it to happen when you try to select text 2019-02-19 20:59:07 <_ikke_> yes, that's very nice 2019-02-19 20:59:09 mps also your favorite arches ;-) 2019-02-19 20:59:17 and it wont time out on larger projects 2019-02-19 20:59:26 so we can build kernels 2019-02-19 20:59:33 <_ikke_> s390 and ppc64le missing, kind of expected 2019-02-19 20:59:59 <_ikke_> s/s390/s390x/ 2019-02-19 21:00:18 ppc maybe in the future, but that depends on packet.net 2019-02-19 21:01:14 you can follow drone activity here: https://cloud.drone.io/alpinelinux/aports 2019-02-19 21:02:50 andypost[m]: did you add that label autoamtically? 2019-02-19 21:05:11 clandmeter: no, checking release notes and build now 2019-02-19 21:05:30 andypost[m]: did you see new CI? 2019-02-19 21:05:46 not yet 2019-02-19 21:07:25 oh, nice! 2019-02-19 21:07:39 https://cloud.drone.io/alpinelinux/aports/1 2019-02-19 21:07:48 yep 2019-02-19 21:08:10 btw s390x broken in chroot( 2019-02-19 21:08:37 curl any https fails with core dump 2019-02-19 21:08:59 you have a s390x container? 2019-02-19 21:09:28 no, I'm using chroot and only x86-64 in docker 2019-02-19 21:09:51 <_ikke_> how is that supposed to work? 2019-02-19 21:10:48 _ikke_: this one https://github.com/alpinelinux/alpine-chroot-install 2019-02-19 21:11:16 <_ikke_> ah, with qemu-user and binfmt 2019-02-19 21:11:19 <_ikke_> ok 2019-02-19 21:12:41 https://github.com/alpinelinux/alpine-chroot-install/commit/4ee1b1878a0f29160fdc4d5f8b3aee75c5576caa 2019-02-19 21:13:10 andypost[m]: ^ 2019-02-19 21:14:35 so it's not my local! cos I'm trying to resetup it now( 2019-02-19 21:24:53 clandmeter: you are talking about drone.io? I have seen your messages on infra when you started to work in it 2019-02-19 21:25:06 but didn't had time to look at it 2019-02-19 21:25:20 <_ikke_> mps: yes 2019-02-19 21:25:50 mps: its only active when you create pr's. i dont think you use github. 2019-02-19 21:26:04 I have it in my 'head' to look when find some time 2019-02-19 21:26:07 cloud.drone.io is github only 2019-02-19 21:26:43 ah, only github users can 'use' these drones 2019-02-19 21:27:18 btw, what is with idea to move to gitlab 2019-02-19 21:27:42 <_ikke_> There are no concrete plans 2019-02-19 21:28:12 <_ikke_> If we would move to gitlab, we want to self-host it, but it's quite complex to get running on alpine 2019-02-19 21:28:36 the idea is still and idea and is still interesting. 2019-02-19 21:28:52 we have somebody who is looking into it. 2019-02-19 21:29:06 why to self-host it? alpine doesn't self-host github too 2019-02-19 21:29:33 thats one of the reasons we dont like github 2019-02-19 21:29:52 eh, good, I agree here 2019-02-19 21:29:59 <_ikke_> there is not a lot of reason to switch from hosted git to hosted gitlab 2019-02-19 21:30:02 <_ikke_> hosted github* 2019-02-19 21:30:06 i mean not prefer. i do like github 2019-02-19 21:30:28 I remember that someone offered help with preparing gitlab, but forgot who was that 2019-02-19 21:33:00 and, for Alpine to self-host gitlab is the only solution to run debian/ubuntu (or something similar) under lxc, imho 2019-02-19 21:34:10 andypost[m]: you mentioned segfault with curl, is that with http2 or any version 2019-02-19 21:37:49 mps: gonna check, I did check only for packages from github, but any curl https;// fails, finsihing setup manually 2019-02-19 21:38:01 <_ikke_> mps: We can use the existing gitlab docker image 2019-02-19 21:38:11 <_ikke_> which runs on ubuntu iirc 2019-02-19 21:38:51 andypost[m]: I posted a patch to curl a week ago, iirc, which fixes segfaults in some urls 2019-02-19 21:39:55 _ikke_: that is also good option, but anyway not waste a time trying to make gitlab to run natively on Alpine 2019-02-19 21:40:39 mps, basically https://gist.github.com/andypost/650ab920ea0dac3296c40fb4b7ce1662 2019-02-19 21:41:46 what dmesg says after these fails 2019-02-19 21:42:38 and what is your curl apk version 2019-02-19 21:44:05 _ikke_: I'm using gitlab for 2 years as official docker image in 20ppl team without issues, it works well on 16GB ram machine and 8 cores x86-64 2019-02-19 21:44:13 clandmeter: your neighbors were here today :) 2019-02-19 21:45:16 mps: nice 2019-02-19 21:45:20 and did they agree? 2019-02-19 21:45:58 yes, of course, they will be at home in few days :) 2019-02-19 21:46:59 I will inform you when everything is on the place 2019-02-19 21:47:05 :) 2019-02-19 21:47:21 i will make room in my cellar :D 2019-02-19 21:47:56 huh, don't make a big one ;) 2019-02-19 21:48:18 mps: added as comment to gist 2019-02-19 21:49:29 mps, btw I got few reports about php7-curl which fails to fetch in parallel mode 2019-02-19 21:50:02 that is ubuntu kernel? 2019-02-19 21:50:06 did not dig yet, but that started last week 2019-02-19 21:51:39 mps 4.15.0-46-generic 2019-02-19 21:52:16 so, your build machine works in container on ubuntu? 2019-02-19 21:52:23 but used to try the same on deb with older kernel 2019-02-19 21:52:37 right now yes 2019-02-19 21:53:54 andypost[m]: SpaceToast had a similar issue and after upgrading curl to 7.64.0-r1 everything worked 2019-02-19 21:54:28 what version is curl on your build box 2019-02-19 21:55:47 7.58 2019-02-19 21:57:23 I thought it because pure connection (I'm in mountains now) but gonna try on scaleway 2019-02-19 21:57:57 ah, that version is about year ago, iirc 2019-02-19 21:58:17 that is not 3.9 or edge? 2019-02-19 21:59:40 finsihed setup s390x - it possible to install after I did change apk-repos to http 2019-02-19 22:00:45 then your problem is/was not related to the http2 issue in curl 2019-02-19 22:01:08 sorry for wasting your time 2019-02-19 22:01:24 mps: added one more comment to gist 2019-02-19 22:01:51 surely issue in curl 2019-02-19 22:05:15 now i see it is curl 7.64.0 but couldn't see pkgrel version. is it 7.64.0-r0 or 7.64.0-r1 2019-02-19 22:05:58 exactly curl-7.64.0-r1 2019-02-19 22:06:32 at least it's fresh install and apk info tell this 2019-02-19 22:06:37 could you give me some url which causes segfault 2019-02-19 22:06:54 goo.gl as I showed 2019-02-19 22:09:39 ah, didn't saw it. it works on aarch64, armv7 and x86_64 without problem 2019-02-19 22:12:52 looks I need to bump php7 to check it cos I can reproduce issue with php7-curl on multi connection 2019-02-19 22:24:24 hmm, nothing about that issue on their site, maybe this is s390x specific 2019-02-19 22:29:39 looks yep, cos other arches works fine 2019-02-19 22:49:53 clandmeter: is there limits for drone runs? 2019-02-19 23:24:43 so drone no longer works( https://github.com/alpinelinux/aports/pull/6415 2019-02-20 07:37:47 Morning 2019-02-20 07:37:58 I'm looking on GitHub 2019-02-20 07:38:17 clandmeter, morning. Looking @GH me too. Lot of PR. 2019-02-20 07:38:32 Seems webhooks return http 500 2019-02-20 07:39:03 I will check with drone ppl 2019-02-20 08:57:13 morning 2019-02-20 08:57:35 maybe we could run our own drone instance on our ppc64le machine? 2019-02-20 08:57:37 and s390x 2019-02-20 08:57:53 if we can combine it with lxc 2019-02-20 08:58:37 <@_ikke_> there is not a lot of reason to switch from hosted git to hosted gitlab 2019-02-20 08:58:55 there are a couple of reasons why hosted gitlab is better than hosted github 2019-02-20 08:59:49 one is that i believe that we can import issues from our current redmine into gitlab and keep the issue id (which means we can do simple redirects from existing URLs to new issue) 2019-02-20 08:59:59 that i dont think we can with github 2019-02-20 09:00:59 second reason is that with gitlab we have a better exit strategy. With gitlab we *can* move from hosted to self hosted if we for some reason would need/want that in future 2019-02-20 09:01:18 there is no easy way to export or move out from github 2019-02-20 09:01:28 so the lock-in with github is stronger 2019-02-20 09:01:50 <_ikke_> Right 2019-02-20 09:02:47 so i think hosted gitlab puts us in better position than hosted github 2019-02-20 09:03:33 i dotn think it will be easy to migrate from hosted to local gitlab. 2019-02-20 09:03:37 that said, im not 100% sure that we can keep the issue id from redmine if we go for hosted gitlab 2019-02-20 09:03:39 <_ikke_> Are you able to export from hosted gitlab to self-hosted gitlab? 2019-02-20 09:03:57 i assume it is possible, but i dont know 2019-02-20 09:04:00 i have not seen any tool to do that. 2019-02-20 09:04:15 i assume it to be easier than move out from github 2019-02-20 09:04:40 i think it would be better if we could run our own gitlab instance 2019-02-20 09:04:47 <_ikke_> One thing that's easier is that people are already used to the interface 2019-02-20 09:04:58 with github? 2019-02-20 09:05:08 <_ikke_> no, if we would have hosted gitlab and move to self-hosted 2019-02-20 09:05:19 right 2019-02-20 09:06:30 i think mort will look into create a gitlab docker image based on alpine 2019-02-20 09:08:30 i wonder if drone actually runs on those 2 arches. 2019-02-20 09:09:26 but it would be nice for our devs to be able to testrun on it. 2019-02-20 09:16:01 I'm deploying a couple of gitlab ce instances with https://github.com/sameersbn/docker-gitlab . It's based on ubuntu, but it could be a good place to copy some code from ;) 2019-02-20 09:16:49 _ikke_: bot gitlab ce and cloud gitlab can import projects/repos from another gitlab instance 2019-02-20 09:16:57 s/bot/both 2019-02-20 09:16:57 jlanda meant to say: _ikke_: both gitlab ce and cloud gitlab can import projects/repos from another gitlab instance 2019-02-20 09:18:21 jlanda: so you can mirgrate cloud to local installation? 2019-02-20 09:18:21 <_ikke_> jlanda: ok, good to know 2019-02-20 09:18:45 clandmeter: I haven't tryed it by myself, but in theory, yes 2019-02-20 09:20:04 you need to activate the gitlab.com oauth on your gitlab-ce instance during the migration 2019-02-20 09:20:34 it has an option to import from github too, but dunnot what the hell does with issues/PRs etc since github is not friendly to export those things 2019-02-20 09:21:09 i guess using github api you can come a long way. 2019-02-20 09:21:28 and can need a long time to import :D 2019-02-20 09:22:06 https://docs.gitlab.com/ee/user/project/import/gitlab_com.html 2019-02-20 09:22:28 ar, that's the ee version doc. s/ee/ce ;) 2019-02-20 09:27:25 ncopa, clandmeter: what is drone :D I must have missed that. 2019-02-20 09:27:47 https://drone.io/ 2019-02-20 09:27:50 https://cloud.drone.io/ 2019-02-20 09:28:26 interesting 2019-02-20 09:28:44 tmhoang: i added it to aports on github for pr's 2019-02-20 09:29:08 also, please let me know how/when you want to discuss the s390x tod clocksource (RTC thing) situation. 2019-02-20 09:34:46 i think they officially only support arm32/64 and amd64 2019-02-20 10:21:17 is there a move to gitlab? self-hosted? with CI/CD? 2019-02-20 10:25:17 <_ikke_> ScrumpyJack: There is a wish 2019-02-20 11:28:42 i think i figured out why chromium crashes 2019-02-20 11:31:27 i wonder if the issues we are having with drone are related to how we use github. 2019-02-20 11:33:13 <_ikke_> In what regard? 2019-02-20 11:33:35 its a mirror 2019-02-20 11:33:53 how do you plug drone to github? 2019-02-20 11:34:02 as a webhook? 2019-02-20 11:34:04 yes 2019-02-20 11:34:12 its automatic config 2019-02-20 11:34:36 if you go to webhooks and open the drone one you can see a history of postings 2019-02-20 11:35:02 the message that returns from drone is "not found" 2019-02-20 11:35:36 i wonder if the PR and a mirror would run at the same time it could conflict. 2019-02-20 11:36:12 if i rerun the webhook afterwards, it just works. 2019-02-20 11:36:51 i asked the author to take a look at the backend of some debug info. 2019-02-20 11:37:08 s/of/for 2019-02-20 11:37:08 clandmeter meant to say: i asked the author to take a look at the backend for some debug info. 2019-02-20 11:46:10 hmm 2019-02-20 11:46:22 does travis not run testsuites? 2019-02-20 11:48:07 i thought it does 2019-02-20 11:48:10 but i dont know 2019-02-20 11:49:56 looks like something is off 2019-02-20 11:50:04 seems to build much more than just the PR 2019-02-20 11:50:43 <_ikke_> example? 2019-02-20 12:14:37 chromium 72 breaks again with pthread stacksize issues, I think I'm going to remove the default pthread stacksize patch from voidlinux and use LDFLAGS to set a higher stack size 2019-02-20 12:23:47 i disabled drone for now. the changed file calculation is broken. 2019-02-20 12:24:14 <_ikke_> sad 2019-02-20 12:26:46 the not found seems drone cannot find our drone yml 2019-02-20 12:27:02 i wonder if its related to ppl who push with older master where its not included yet. 2019-02-20 12:45:40 duncaen: are you sure its pthread stack size? 2019-02-20 12:46:08 i am looking at chromium 72 as we speak 2019-02-20 12:46:20 and i have issues with crashes 2019-02-20 12:46:25 it worked with chelf 2019-02-20 12:46:31 hm I don't get crashes 2019-02-20 12:46:54 gmail just hangs with seccomp sandbox enabled 2019-02-20 12:47:26 same here 2019-02-20 12:47:38 http://sprunge.us/TAEwvx 2019-02-20 12:47:41 i think it crashes in sandbox 2019-02-20 12:47:52 attached strace to the renderer processes noticed these error patterns 2019-02-20 12:48:01 yea 2019-02-20 12:48:34 i once had a crash with --no-sandbox 2019-02-20 12:48:59 and I have had problems since chromium 71 2019-02-20 12:49:02 https://bugs.alpinelinux.org/issues/9808 2019-02-20 12:49:24 good idea to try setting stack size via elf 2019-02-20 12:50:08 2097152chelf -s 2097152 /usr/lib/chromium/chromium 2019-02-20 12:50:19 https://github.com/Gottox/chelf 2019-02-20 12:50:30 this works here 2019-02-20 12:51:18 hm but not consistently 2019-02-20 12:52:27 right 2019-02-20 12:52:44 the hangs/crashes is not consistent 2019-02-20 12:52:48 so i think its a race of some sort 2019-02-20 12:53:08 it tends to get better if i let it run for a while 2019-02-20 12:53:49 ok time to abort the build... 2019-02-20 12:54:05 the first thing I suspected was something about service workers 2019-02-20 12:54:47 but they are now starting after increasing the stack 2019-02-20 12:55:04 my impression is that it happens by random 2019-02-20 12:55:30 if it was stack size i would expect it to also happen with --no-sandbox 2019-02-20 12:55:57 duncaen: what version of chromium did you test? 2019-02-20 12:56:18 i saw that .109 has a fix for a race 2019-02-20 12:56:40 .109 2019-02-20 12:57:22 for me it sounds like it could be: https://chromium.googlesource.com/chromium/src/+/67cf2319fd490c620faedb606830752ef695450d 2019-02-20 12:57:44 but if it still happens with .109.... 2019-02-20 12:57:51 then its something else :-( 2019-02-20 12:58:19 sounds related 2019-02-20 12:58:52 but checked again the version in the running chromium, its .109 2019-02-20 12:59:17 another thing i suspect is the -fno-delete-null-pointer-check 2019-02-20 12:59:31 that it gets disabled somehow 2019-02-20 12:59:39 do you build with gcc or clang? 2019-02-20 12:59:50 clang again afaik 2019-02-20 12:59:58 i build with gcc 2019-02-20 13:01:45 im also trying to fix build on armv7 2019-02-20 13:01:46 now I can't get it to hang anymore with strace attached to the renderers 2019-02-20 13:02:08 but it happens if you dont have strace attached? 2019-02-20 13:02:24 it smells like a timing issue, a race of some sort 2019-02-20 13:02:58 yes it has to be some race, sometimes its then on the next restart its broken again 2019-02-20 13:03:44 would be really nice to have debugging symbols 2019-02-20 13:04:28 things that almost always triggers it for me: slack, login to google, google spreadsheet 2019-02-20 13:04:57 build chromium with debugging enabled will make it *huge* 2019-02-20 13:05:15 how do you attach strace to the renderers? 2019-02-20 13:05:40 chromium --allow-sandbox-debugging --renderer-cmd-prefix='strace -o strace -ff' 2019-02-20 13:05:49 in a directory where it can dump all the logs 2019-02-20 13:06:35 like /tmp 2019-02-20 13:06:37 nice 2019-02-20 13:06:40 if i attach gdb later to a hung tab its just in a futex syscall with 60 frames 2019-02-20 13:06:44 #0 0x00007f1b0f312c9e in __syscall_cp_c (nr=202, u=93998587999740, v=128, w=-2147483632, x=0, y=0, z=0) 2019-02-20 13:07:24 hm tmp is a good idea, I just did it in a normal directory, maybe this way it could trigger it again 2019-02-20 13:07:45 i once got a crash dump: https://bugs.alpinelinux.org/issues/9808#note-10 2019-02-20 13:08:25 but i dont know if its same issue 2019-02-20 13:09:43 i don't think i can get it to hang with --single-process or --disable-seccomp-sandbox 2019-02-20 13:10:22 it happened after a while 2019-02-20 13:10:35 relatively long time 2019-02-20 13:10:54 hum... yes, it does not happen with strace 2019-02-20 13:12:53 got it to hang with --disable-seccomp-filter-sandbox, but its the same syscall_cp_c with futex/202 2019-02-20 13:17:30 ok, then its not seccomp filter 2019-02-20 13:18:15 just adding --allow-sandbox-debugging does not seem to make problem go away 2019-02-20 13:18:40 yep 2019-02-20 13:18:52 but --single-process I think 2019-02-20 13:19:08 also --no-sandbox 2019-02-20 13:19:42 just got a crash 2019-02-20 13:19:47 [19483:19483:0220/141918.464300:FATAL:render_process_host_impl.cc(4071)] Check failed: render_process_host->InSameStoragePartition( BrowserContext::GetStoragePartition(browser_context, site_instance, false )). 2019-02-20 13:19:52 with --single-process 2019-02-20 13:20:29 http://sprunge.us/8qeztb 2019-02-20 13:23:45 this sucks, it might be related or maybe not because single-process is completely different 2019-02-20 13:25:23 I think if it would be related I would see the same failed check with multiple processes too 2019-02-20 13:27:50 i had other crash with --single-process 2019-02-20 13:31:32 no luck triggering the hang on a glibc system 2019-02-20 13:32:42 maybe we should ask for help in #musl 2019-02-20 13:47:02 hm yes might be something with pthreads 2019-02-20 13:47:47 do you have a tip how to find the pid of the process that hangs? 2019-02-20 13:50:29 tools -> task manager 2019-02-20 13:51:02 the process has multiple threads 2019-02-20 13:51:27 i'm currently attaching to them one by one to see where they are at 2019-02-20 13:52:51 they are either in __pthread_cond_timedwait or epoll_wait 2019-02-20 13:53:44 https://tpaste.us/eegb 2019-02-20 13:54:14 oh nice you have some symbols 2019-02-20 13:54:25 i found the binary in the out/Release dir 2019-02-20 13:54:34 before it was stripped 2019-02-20 13:55:01 thank for the task manager tip 2019-02-20 13:57:20 tail /proc/$HUNG_TAB/task/26*/wchan 2019-02-20 13:57:31 s/26*/*/ 2019-02-20 13:57:31 duncaen meant to say: tail /proc/$HUNG_TAB/task/*/wchan 2019-02-20 13:58:00 nice bot 2019-02-20 13:58:29 maybe the backtrace from the one that is in epoll_wait is useful 2019-02-20 13:58:48 #2 0x00007f77f6b9af38 in event_base_loop () at /lib/libevent-2.1.so.6 2019-02-20 13:58:57 maybe not 2019-02-20 13:59:03 hum 2019-02-20 13:59:07 may be different issue 2019-02-20 13:59:31 hum 2019-02-20 13:59:41 i think we use system libevent? 2019-02-20 13:59:48 instead of bundled libevent 2019-02-20 14:00:14 #2 0x00007f3ecdb28753 in __timedwait (addr=addr@entry=0x55c8838093fc, val=-2147483632, clk=clk@entry=0, at=at@entry=0x0, priv=priv@entry=128) 2019-02-20 14:00:27 i think the "val" there looks suspicious 2019-02-20 14:00:35 i think we should ask #musl 2019-02-20 14:18:38 ncopa: https://cs.chromium.org/chromium/src/v8/src/base/platform/condition-variable.cc?type=cs&g=0&l=18 2019-02-20 14:18:48 (V8_OS_LINUX && V8_LIBC_GLIBC) 2019-02-20 14:19:32 there are some other glibc specific instances 2019-02-20 14:19:49 which would probably work with musl 2019-02-20 14:21:17 oh thats interesting 2019-02-20 14:21:26 i will check that after lunch 2019-02-20 14:21:29 bbl 2019-02-20 14:54:05 ncopa: try chromium --js-flags="--single-threaded true" 2019-02-20 14:54:45 I think I can't reproduce it with --single-threaded 2019-02-20 15:16:42 got some feedback from nsz in #musl 2019-02-20 15:33:29 p4Wv1qn095FW: did you posted glm gcc patch about which we talked yesterday 2019-02-20 15:39:27 nope. i was hoping it would get picked up here, but if no progress i'll send a PR later this evening, if i don't forget about it. 2019-02-20 15:41:18 <_ikke_> Anoying when projects require git repositories to build (because they insist on being able to retrieve the commit hash) 2019-02-20 15:41:51 ok, I'm testing it locally so wanted to ask you if you will or you did. I didn't wanted to send patch if you plan to send it 2019-02-20 15:44:02 to me it looks like something similar is already there 2019-02-20 15:58:07 mps if you could test this, it would be awesome. but i presume it should work. 2019-02-20 15:58:22 just undo this: https://github.com/g-truc/glm/commit/68c7e7e50b934cd265251a0660096f1415647bbb 2019-02-20 16:00:37 p4Wv1qn095FW: it will few steps works, first I have to build kicad dependencies from your aports and if all passed then could try kicad at the end 2019-02-20 16:01:32 I just wanted to know would you take these steps, or you have plan to do 2019-02-20 16:02:07 if not, I will put that on my queue, to not forgot it 2019-02-20 16:08:20 i can, but only later today, and i possibly need to be reminded /o\ 2019-02-20 16:11:44 imo, it would be better if you do all that because you know what is needed. I just wanted to remind you and to ask if you plan to push all that, would be nice to have kicad on Alpine 2019-02-20 16:49:21 <_ikke_> Yay, amount of open PRs is going down :-) 2019-02-20 16:50:03 <_ikke_> It used to be almost 400 at the beginning of the month 2019-02-20 16:50:49 *cough* 2019-02-20 16:50:50 :D 2019-02-20 16:54:02 mps: i just kicked on a kicad build with the patched glm 2019-02-20 19:26:23 fyi https://coocoor.com/advisory/cve/CVE-2019-8912 2019-02-20 19:28:40 <_ikke_> Is that the issue someone wanted to reach out to Alpine about? 2019-02-20 19:45:58 no idea 2019-02-20 19:46:04 probably not? but it is possible 2019-02-20 19:46:06 ncopa: ? 2019-02-20 19:46:28 debians tracker @ https://security-tracker.debian.org/tracker/CVE-2019-8912 2019-02-20 20:43:07 ncopa: nsenter --pid=/proc/9499/ns/pid mount -t proc profs /tmp/proc works as workaround for pid namespaces without mount namespaces... 2019-02-20 21:04:32 i'm looking for a security contact for alpine 2019-02-20 21:05:00 we'd prefer not to put it in as a public github issue if there's a security contact 2019-02-20 21:09:14 <_ikke_> ace1: ncopa would be the security contact 2019-02-20 21:13:56 <_ikke_> ncopa@alpinelinux.org fyi 2019-02-20 21:16:58 bedankt ikke :) 2019-02-20 21:17:59 <_ikke_> :-) 2019-02-20 21:26:43 ace1: also: https://alpinelinux.org/keys/ncopa.asc 2019-02-20 21:26:52 :) 2019-02-20 21:27:36 <_ikke_> ah, was trying to find a public location for that 2019-02-20 21:28:00 <_ikke_> Where did you find that? 2019-02-20 21:28:04 googled "ncopa.asc" 2019-02-20 21:28:11 I recalled the filename but not the location 2019-02-20 21:28:18 <_ikke_> aha 2019-02-20 21:28:42 googled it with the double quotes, that is 2019-02-20 23:58:28 mps my test compile run correctly, i just created this PR for glm to fix this: https://github.com/alpinelinux/aports/pull/6426 2019-02-21 01:38:09 hm, bluez-deprecated doesn't include spdtool and stuff? 2019-02-21 01:38:14 how misleading 2019-02-21 01:38:28 oh it does nm 2019-02-21 07:41:09 duncaen: I may have a fix for the chromium/v8 deadlock 2019-02-21 08:34:40 did anyone here already play with go modules in aports? 2019-02-21 08:45:34 ncopa: nice, how did you find the bug? 2019-02-21 08:48:53 duncaen: with help from you, nsz and dalias ;) 2019-02-21 08:49:20 dalias and nsz helped me to find the 2 threads that was waiting on same mutex 2019-02-21 08:49:50 the backtrace from those shows what code is involved 2019-02-21 08:50:12 one thread is FlushOutputQueue: https://cs.chromium.org/chromium/src/v8/src/compiler-dispatcher/optimizing-compile-dispatcher.cc?q=v8::internal::OptimizingCompileDispatcher::FlushOutputQueue&sq=package:chromium&g=0&l=141 2019-02-21 08:50:46 and the other is CompileNext: https://cs.chromium.org/chromium/src/v8/src/compiler-dispatcher/optimizing-compile-dispatcher.cc?q=v8::internal::OptimizingCompileDispatcher::CompileNext&sq=package:chromium&g=0&l=126 2019-02-21 08:51:00 any idea why thhis was only triggered now and only with musl? 2019-02-21 08:51:07 no 2019-02-21 08:51:33 but i think it may be triggered by completely other factors (butterfly effect) 2019-02-21 08:51:44 bug can have been there for long time 2019-02-21 08:52:06 for example, the bug is not triggered if you run it via strace 2019-02-21 08:52:28 so like musl being a tiny bit faster in creating the threads compared to glibc could have triggered it? 2019-02-21 08:52:35 possibly 2019-02-21 08:52:52 or some other code part is slightly slower 2019-02-21 08:53:20 if you look at the CompileNext function 2019-02-21 08:53:28 hm right, maybe the namespaces add to it too and then trigger it, this is something that is weird 2019-02-21 08:54:07 the mutex is held from base::MutexGuard constructor 2019-02-21 08:54:58 and is released at the end of the context ie at the closing bracket } 2019-02-21 08:55:33 which means that it still holds the mutex when calling isolate_->stack_guard()->RequestInstallCode(); 2019-02-21 08:56:10 my fix thesis is: http://tpaste.us/nMeg 2019-02-21 08:56:38 which makes it release the mutex early, before messing with stack guard 2019-02-21 08:57:06 i have not reproduced the issue yet 2019-02-21 08:57:10 nice 2019-02-21 08:57:32 im not 100% sure its the proper fix, but my intuition tells me it could be the fix 2019-02-21 08:57:39 or workaround at least 2019-02-21 09:00:08 slack eats insanely much cpu 2019-02-21 09:00:17 this is not healty 2019-02-21 09:00:38 thats something I noticed with the hagging tabs too 2019-02-21 09:01:17 but i think this was just chromium trying to get a response from the locked process 2019-02-21 09:02:19 that what i thought too, but im not sure that is what happens 2019-02-21 09:02:20 hum 2019-02-21 09:02:23 slack crashed now 2019-02-21 09:04:04 i think crash is separate issue 2019-02-21 09:04:37 ok, i think im gonna push this with chromium-72 2019-02-21 09:04:49 but i will try fix the armv7 build first 2019-02-21 09:06:01 are you going to keep the pthread patch or add the ldflags? 2019-02-21 09:06:36 you mean pthread stack size? 2019-02-21 09:06:41 im gonna keep that 2019-02-21 09:07:03 it is possible we need a patch for v8 too 2019-02-21 09:07:36 yes 2019-02-21 09:07:43 hum... might actually be worth adding ldflag 2019-02-21 09:08:33 without the patch GetDefaultThreadStacksize would return 0 and then use the default 2019-02-21 09:08:44 just checking the other place now 2019-02-21 09:08:58 i saw v8 had pthread_create too 2019-02-21 09:09:21 I think v8 does the stack calculations already by itsel 2019-02-21 09:09:40 yes, but not sure how or where it gets its default from 2019-02-21 09:10:29 ah hm the kShutdownDetectorThreadStackSize still needs the patch because it uses PTHREAD_STACK_MIN, which would be still too small 2019-02-21 09:12:48 https://cs.chromium.org/chromium/src/v8/src/base/platform/platform-posix.cc?dr&q=file:src/v8+pthread_create&g=0&l=765 2019-02-21 09:12:54 yes this looks like it should be patched 2019-02-21 09:13:05 in the case when v8 wants the "default" 2019-02-21 09:13:41 yes, that is the section i was thinking of when i said that v8 may need to be patched 2019-02-21 09:14:16 i dont know what the stack_size is set to ro where it gets its value from 2019-02-21 09:17:01 p4Wv1qn095FW: nice, hope it will be soon pulled to aports 2019-02-21 09:21:52 I think stack_size is always 0 unless a --stack_size flag is passed 2019-02-21 09:22:28 hm there has to be another case, the flag has a default #define V8_DEFAULT_STACK_SIZE_KB 984 2019-02-21 09:26:21 can't find any case where its 0, they all default to the flag 2019-02-21 09:28:57 i ran a chelf on the binary and interestingly., slack has not crashed yet 2019-02-21 09:30:08 i think i also should report the deadlock upstram 2019-02-21 09:30:13 upstream* 2019-02-21 09:30:31 yes doesn't look musl specfic at all 2019-02-21 09:31:24 yes, i dont think its musl specific 2019-02-21 09:32:21 one thing I learned from this is, pid namespaces are weird 2019-02-21 09:32:29 yup :) 2019-02-21 09:32:31 not sure why they even use them 2019-02-21 09:32:58 maybe "suspending/resuming the set of processes" 2019-02-21 09:34:18 is it possible to run something setuid from a user pidnamespace to kill random root processe 2019-02-21 09:34:28 if the process uses /proc 2019-02-21 09:34:29 and i think a pid in that namespace cannot see process ouside the "container" 2019-02-21 09:35:40 yes "see" as in use kill(), but thats about it I think 2019-02-21 09:36:55 http://man7.org/linux/man-pages/man7/pid_namespaces.7.html see the "/proc and PID namespaces" 2019-02-21 09:39:15 duncaen: what is the ldflag to set pthread stack size? 2019-02-21 09:39:54 -Wl,-z,stack-size=2097152 2019-02-21 09:39:56 found it: -Wl,-z,stack-size=N 2019-02-21 09:40:39 only the base/threading/platform_thread_linux.cc patch can go 2019-02-21 09:41:13 i will keep it i think, because i need to backport it to our 3.9-stable branch 2019-02-21 09:43:24 https://cs.chromium.org/chromium/src/sandbox/linux/services/credentials.cc?dr=C&g=0&l=80 2019-02-21 09:43:44 the use of PTHREAD_STACK_MIN looks it could lead to bugs 2019-02-21 09:45:13 what is PTHREAD_STACK_MIN set to? 2019-02-21 09:45:57 ./include/limits.h:#define PTHREAD_STACK_MIN 2048 2019-02-21 09:46:37 so the buf is only 2k 2019-02-21 09:46:44 should be ok? 2019-02-21 09:47:00 i got another crashing tab 2019-02-21 09:47:14 its 16384 with glibc 2019-02-21 09:47:18 but I guess it doesn't matter 2019-02-21 09:49:03 looks like it does only chroot() chdir() and then exits 2019-02-21 09:53:20 nice! i think i made it build on armv7 2019-02-21 09:53:24 will try aarch64 too now 2019-02-21 09:55:14 btw, i remove the chromium-skia-harmony patch 2019-02-21 09:55:24 to be closer upstream 2019-02-21 10:00:22 https://cs.chromium.org/chromium/src/base/process/launch_posix.cc?type=cs&q=PTHREAD_STACK_MIN&g=0&l=685 2019-02-21 10:00:37 this one might be used as stack for longer running processes 2019-02-21 10:03:34 Is there a way to point specific package to dependencies as workaround for https://github.com/alpinelinux/aports/pull/6226#issuecomment-460379251 2019-02-21 10:08:42 duncaen: im reporting it upstream to v8 devs. is it true that the deadlock was not reproducible with --js-flags="--single-threaded true"? 2019-02-21 10:09:21 couldn't get it to hang this way, but who knows maybe its just a workaround and the issue actually exists 2019-02-21 10:09:35 even then 2019-02-21 10:10:36 makes sense 2019-02-21 10:10:49 it was a deadlock of two different threads waiting for the same mutex 2019-02-21 10:11:41 I did try many different flags flags that change threading, but couldn't find any other flag that fixed it 2019-02-21 10:11:44 --single-process 2019-02-21 10:11:46 ilation false --parallel-compaction false --parallel-pointer-update false --parallel-marking false --parallel-scavenge false --minor-mc-parallel-marking false" 2019-02-21 10:14:05 it makes prefect sense that it does not deadlock with single thread 2019-02-21 10:15:05 yep I think with all the parallel and concurrent flags disable there is still some thread which would dead lock 2019-02-21 14:41:43 I'm trying to build qt5-qtwayland for 3.9 for a private repository, but for whatever reason it fails with "Project ERROR: Could not find feature xkbcommon.". However, since the APKBUILD used is the same as the one in edge, this dependency is installed. The version of that dep is the same as in 3.9 and in edge it seems. What could cause it to fail in 3.9 but work fine in edge? 2019-02-21 16:03:10 huh, i get a "ERROR: texmf-dist-2018.48566-r0: BAD signature" from http://mirror.leaseweb.com/alpine/edge/ 2019-02-21 18:35:49 Could anyone help me out with my qt5-qtwayland issue? 2019-02-21 20:01:08 PureTryOut[m]: i have no clue whats wrong and I dont have time right now. Feel free to ping me tomorrow and I will have a look 2019-02-21 20:01:52 Thanks! 2019-02-21 20:01:59 Will do! 2019-02-21 20:16:16 thanks daniel i hadn't seen your message yesterday but we were able to contact nataneal and sent it encrypted, it would be great if you guys had a security page with that info on there for other researchers :) 2019-02-21 20:18:58 hey ace1, I'm writing the alpine docs - I think I'll add a note on that to the developer handbook (once it's there) in the contributing section :) 2019-02-21 20:51:55 thanks! 2019-02-21 21:07:47 >:( 2019-02-21 21:08:42 can we make a policy to not ship /run stuff via apk? 2019-02-21 21:09:08 <_ikke_> Doesn't that already exist? 2019-02-21 21:09:12 I'm confused - what kinda /run stuff? 2019-02-21 21:09:29 /run is canonically tmpfs so it should probably be handled the same as /tmp 2019-02-21 21:09:48 /run is sorta guaranteered to be non-persistent 2019-02-21 21:10:10 so is /tmp :) 2019-02-21 21:10:13 (well it's supposed to be) 2019-02-21 21:10:21 I think we clean /tmp on boot just in case it isn't tmpfs 2019-02-21 21:10:43 thats beside the point 2019-02-21 21:11:23 well, my point is that, whatever the case, we should probably treat /run like /tmp :) 2019-02-21 21:11:36 tmp is still disk on alpine, usually 2019-02-21 21:12:31 except it is not meant to be persistent, canonically is on tmpfs, and is cleaned on boot to emulate that; sure 2019-02-21 21:13:13 back to the topic 2019-02-21 21:13:21 people put /run into package 2019-02-21 21:13:32 which is an awful thing for quite many cases 2019-02-21 21:16:30 looks like there's actually no checking for /run *or* /tmp 2019-02-21 21:16:37 so we should probably check for all of those 2019-02-21 21:17:32 i'd argue to not put anything in /var as well and create it dynamically 2019-02-21 21:17:41 as long as we want to support data mode 2019-02-22 06:48:50 hello. is python3 apk broken on aarch64? everytime I try to run python3 interpreter it breaks with segfault. i tried 3.9 and edge. 2019-02-22 06:52:41 user___: i am not able to reproduce: ncopa-edge-aarch64:~/aports/community/chromium$ python3 -c "print('hello world')" 2019-02-22 06:52:41 hello world 2019-02-22 06:53:31 ace1: thanks for your email. i have some questions about it. How can i respond? 2019-02-22 06:59:05 ncopa: is there any way i can run diagnostics? i tried valgrind but that just spits out endless stream of malloc'd and invalid reads/writes. 2019-02-22 07:00:44 i noticed most errors come from libpython, which probably isn't surprising. 2019-02-22 07:33:36 this is some python unrelated problem. gdb too segfaults. perhaps something in libc? 2019-02-22 07:35:18 hmm, gdb embeds python. 2019-02-22 07:39:40 can you run it via strace? 2019-02-22 07:39:46 what kernel is it? uname -a 2019-02-22 07:50:26 ncopa kernel 4.19.18-0-rpi 2019-02-22 07:54:23 user___: what rpi is it? 2019-02-22 07:54:33 rpi 3b+ 2019-02-22 07:54:42 can you please report it on bugs.alpinelinux.org? with the above info 2019-02-22 07:54:57 i have an rpi somewhere here, but i dont have time to look at it right now 2019-02-22 07:55:00 hopefully next week 2019-02-22 07:55:03 i noticed someone else filed the bug here: https://github.com/gliderlabs/docker-alpine/issues/486 2019-02-22 07:55:12 is it okay to follow up there? 2019-02-22 07:55:32 i guess 2019-02-22 07:58:38 this has already been filed here too: https://bugs.alpinelinux.org/issues/9981 2019-02-22 09:31:05 clandmeter: ^ 2019-02-22 09:31:22 ? 2019-02-22 09:31:39 PM me 2019-02-22 09:32:33 please, I forgot to add :) 2019-02-22 09:36:03 you cannot now? 2019-02-22 11:02:23 Hi guys. I wonder if someone is working on a mirror like https://snapshot.debian.org/ which acts like an archive for packages. This could easily be used to produce reproducable docker images. 2019-02-22 11:03:02 BTW is there anything in addition to the mqtt subscription to be notified on package repository update? 2019-02-22 11:08:03 we want something like https://snapshot.debian.org/ but i dont think anyone is currently working on it 2019-02-22 11:12:42 ncopa: you told me to ping you today so you can have a look at my problem with building qt5-qtwayland for Alpine 3.9. So, ping 😄 2019-02-22 11:14:57 ncopa: Maybe I'm thinking to easy but: Wouldn't there be a master repo with all artifacts which is symlinked in the snapshot folders... 2019-02-22 11:15:08 Am I missing something? 2019-02-22 11:22:39 PureTryOut[m]: it builds for me 2019-02-22 11:24:03 <_ikke_> does moving a package from testing to community require a pkgrel dump? 2019-02-22 11:24:12 no 2019-02-22 11:24:21 <_ikke_> right 2019-02-22 11:25:02 That is on 3.9? 2019-02-22 11:25:09 PureTryOut[m]: yes 2019-02-22 11:25:16 Huh, even more weird... 2019-02-22 11:25:18 <_ikke_> https://github.com/alpinelinux/aports/pull/6358 asks for the package to be backported to 3.9 2019-02-22 11:25:21 x86_64 2019-02-22 11:25:38 any Idea what I can do to debug this? 2019-02-22 11:26:35 hm 2019-02-22 11:26:39 looking at this 2019-02-22 11:26:56 why was it added directly to community and not to testing repo first? 2019-02-22 11:28:06 Because we used it for a while in postmarketOS without problems. I asked about it in the PR but it got merged without questioning 2019-02-22 11:28:12 and yeah, in edge it actually works fine 2019-02-22 11:28:29 also, I just got it to compile on 3.9 when redirecting the console output to a file, but it failed again when not doing that... wtf 2019-02-22 11:29:39 depends="qt5-qtdeclarative libxcomposite wayland qt5-qtquickcontrols2" 2019-02-22 11:29:56 i would expect those be automatically detected by abuild 2019-02-22 11:30:37 http://tpaste.us/qKba 2019-02-22 11:30:37 Well all dependencies get installed according to apk, that isn't the problem. 2019-02-22 11:30:55 Huh, yeah redirecting the console output to a file somehow fixes this...? 2019-02-22 11:31:06 yes, thats not the problem, but thats not how we deal with dependencies either 2019-02-22 11:31:31 What do you mean? 2019-02-22 11:31:32 im am thinking of backporting it to v3.9 2019-02-22 11:31:38 Oh that'd be good 2019-02-22 11:31:52 and if we are to support this, then we should probably do the dependencies properly 2019-02-22 11:32:02 Sorry, what is not good about it atm? 2019-02-22 11:33:35 i think it explicitly pulls in libxcomposite, but i dont think it is actually using it 2019-02-22 11:33:38 from the build log: 2019-02-22 11:33:46 XComposite EGL ......................... no 2019-02-22 11:33:46 XComposite GLX ......................... no 2019-02-22 11:34:33 Ah, good call 2019-02-22 11:34:43 it also pulls in "wayland" package as explicit dependency, but i think it actually only needs: 2019-02-22 11:34:46 so:libwayland-client.so.0 2019-02-22 11:34:46 so:libwayland-cursor.so.0 2019-02-22 11:34:46 so:libwayland-server.so.0 2019-02-22 11:34:46 so:libwayland-egl.so.1 2019-02-22 11:35:13 meaning if nots libraries moves to another package (for example "wayland1.0") 2019-02-22 11:35:25 then is the depends="wayland" broken 2019-02-22 11:36:03 Ah ok, TIL. I should check that output better 2019-02-22 11:36:03 same applies to qt5-qtquickcontrols2 and qt5-qtdeclarative 2019-02-22 11:37:13 anyone has experienced that alpine on boot does not load sometimes the apkvol (alpine 3.9) 2019-02-22 11:37:47 boot from USB? 2019-02-22 11:38:08 fcolista: try add usbdelay=5 or similar as boot option 2019-02-22 11:38:30 yes froim USB 2019-02-22 11:38:39 is apkovl on the same usb as it boots from? 2019-02-22 11:38:55 yes 2019-02-22 11:39:03 3.9 has the second partition with efi 2019-02-22 11:39:08 in the root there's the apkovl 2019-02-22 11:39:19 is loaded randomly 2019-02-22 11:39:29 if you reboot, it starts from scratch 2019-02-22 11:39:36 after a second reboot, it loads the apkovl 2019-02-22 11:39:42 is it the same partition as it has the apks directory? 2019-02-22 11:40:24 no 2019-02-22 11:40:36 I cannot copy it because that partition is read-only 2019-02-22 11:41:08 can you remount it rw? 2019-02-22 11:41:08 making the ISO from alpine 3.9, it creates two partitions 2019-02-22 11:41:10 no 2019-02-22 11:41:15 cannot remount rw 2019-02-22 11:41:35 ok 2019-02-22 11:41:42 i find it weird 2019-02-22 11:42:08 i think what happens is that it finds apks direcotry (.boot_repository file) 2019-02-22 11:42:23 but finding the other partition takes too much time for some reason 2019-02-22 11:42:25 it's mounted read-only and cannot change it 2019-02-22 11:42:28 more than 1 sec 2019-02-22 11:42:47 and it times out as if there were no apkovl 2019-02-22 11:43:04 i think adding usbdelay=5 may solve it 2019-02-22 11:43:06 but I can't modify the syslinux.cfg 2019-02-22 11:43:09 since is RO 2019-02-22 11:43:34 it sais that is write-protected 2019-02-22 11:44:09 but if it uses efi, then it does not use syslinux? 2019-02-22 11:44:18 oh, you just puth the apkovl on the efi partition 2019-02-22 11:44:27 that's what I did 2019-02-22 11:44:36 the apkvol is in the second partition where there's only efi 2019-02-22 11:44:54 the first partition has apks/boot/etc... 2019-02-22 11:45:04 and is iso9660 2019-02-22 11:45:09 which is read-only 2019-02-22 11:45:27 i guess the best thing would be to recreate the bootable usb with setup-bootable 2019-02-22 11:45:28 i created the usb with dd using the 3.9 x86_64 iso 2019-02-22 11:45:43 unless you need it to boot with efi 2019-02-22 11:46:27 it does not start 2019-02-22 11:46:42 PureTryOut[m]: i think this is the proper way to do it: http://tpaste.us/NKJB 2019-02-22 11:46:50 i guess i need to disable efi boot from bios 2019-02-22 11:47:20 PureTryOut[m]: i think i will push that, and if it works for you I can backport it 2019-02-22 11:47:54 depends should normally be empty 2019-02-22 11:48:48 Yeah sure, I'd love it to be backported thanks! 2019-02-22 11:53:53 PureTryOut[m]: i also think your 3.9 env is broken somehow. do you use tmux? or lxc? 2019-02-22 11:53:58 i think i have seen something similar 2019-02-22 11:54:11 and it was resolved when i rebooted my lxc 2019-02-22 11:54:28 I do not. It's a clean chroot 2019-02-22 11:54:45 try "logout" from the chroot 2019-02-22 11:54:50 and enter again 2019-02-22 11:55:10 just exit you mean? I already rebooted my PC between yesterday and today, don't think this will make a difference lol 2019-02-22 11:55:12 it may also be something broken with your tty or /dev/null or similar 2019-02-22 11:55:19 ok 2019-02-22 11:57:30 fabled: what do you think about replace the community/rethinkdb/openssl-1.1-all.patch with the upstream patch from 2.4.0 branch? 2019-02-22 11:58:49 this one: https://github.com/rethinkdb/rethinkdb/commit/3156820e058cd410078a4c39d5a2a85f6b714c07 2019-02-22 11:59:07 i think they solve same thing 2019-02-22 12:05:31 how to add package from pinned @testing to makedepends in APKBUILD 2019-02-22 12:08:09 <_ikke_> Don't think that's supported 2019-02-22 12:10:41 thats not supported 2019-02-22 12:11:56 so, only solution is to have unpinned test in repositories? 2019-02-22 12:12:07 s/test/testing/ 2019-02-22 12:12:07 mps meant to say: so, only solution is to have unpinned testing in repositories? 2019-02-22 12:12:28 yes 2019-02-22 12:12:56 ok, thanks for explanation 2019-02-22 12:13:26 clandmeter: we want backport the modoopfw option to v3.9 right? 2019-02-22 12:13:29 for 3.9.1 2019-02-22 12:28:21 ncopa, replacing stuff with upstream versions sounds good 2019-02-22 12:33:28 thats what im thinking. can you please have a short look at it and see so they dont do anything obviously stupid? I see that your changes comes from high up upstream 2019-02-22 12:33:48 s/high/higher/ 2019-02-22 12:33:48 ncopa meant to say: thats what im thinking. can you please have a short look at it and see so they dont do anything obviously stupid? I see that your changes comes from higher up upstream 2019-02-22 12:37:26 ncopa, it's a bit different approach but looks like it fixes the same issues as i fixed 2019-02-22 12:37:52 ok, i'll push it and see what happens 2019-02-22 12:37:56 to edge that is 2019-02-22 12:41:03 could files pkgname.pre-install and pkgname.post-install be empty if they are not need to do anything during install/removal of package 2019-02-22 12:42:31 or they must have '#!/bin/sh ....' boilerplate in their content 2019-02-22 12:44:25 ok, I see that they must have that boilerplate 2019-02-22 12:47:54 <_ikke_> Couldn't you just remove them? 2019-02-22 12:49:20 tried but then 'abuild sanitycheck' says that the package is not 'sane' 2019-02-22 12:50:02 <_ikke_> mps: did you remove the entries from the APKBUILD as well? 2019-02-22 12:50:03 it is because there is pkgname.initd file probably 2019-02-22 12:50:27 pre and post install aren't in APKBUILD 2019-02-22 12:50:51 <_ikke_> lots of packages don't have a pre and post install script 2019-02-22 12:51:33 right, I know that and because that thought I can delete them from new package I'm preparing 2019-02-22 12:51:54 but looks like for 'daemon' packages the must exists 2019-02-22 12:52:51 I'm not sure in what just wrote, and hope that someone who knows will explain that better (for SpaceToast to add to dev guide :) ) 2019-02-22 12:53:37 <_ikke_> Doesn't make sense at all that it should be required for services 2019-02-22 12:54:34 really don't know, tried without them and abuild says the package is not sane 2019-02-22 12:55:28 tried with empty and then build passes but then install doesn't work saying: RROR: metalog-20181125-r0.pre-install: script exited with error 127 2019-02-22 12:55:53 with shebang boilerplate everything is fine 2019-02-22 12:57:45 <_ikke_> I've never had abuild complain about missing install files 2019-02-22 12:59:46 also I don't had for 'normal' packages, but have for server/daemon packages 2019-02-22 13:03:29 <_ikke_> mps: do you have an -openrc sub pakcage? 2019-02-22 13:03:31 <_ikke_> package 2019-02-22 13:04:15 didn't yet added but will add it 2019-02-22 13:04:49 I'm testing does it works first 2019-02-22 13:05:32 I mean, does binary works 2019-02-22 13:18:26 _ikke_: sorry, I was blind, pre and post were in install of the APKBUILD 2019-02-22 15:15:16 TBB: https://patchwork.alpinelinux.org/patch/4521/ 2019-02-22 15:34:12 ncopa pcprefix should be added only to *ssl packages? How to use it for php-ssh? 2019-02-22 15:58:58 we need more smart opinions here: https://bugs.alpinelinux.org/issues/9960 2019-02-22 16:01:55 andypost[m]: the pcprefix is just to make libressl's provides=so:libssl go away 2019-02-22 16:02:50 odc: maybe there missing note about virtio-rng for VM's? 2019-02-22 16:04:54 mps: "missing a note"? 2019-02-22 16:05:32 I know CoreOS has the virtio-rng module statically compiled, and they don't have the issue 2019-02-22 16:05:56 on Alpine it's a dynamic module 2019-02-22 16:06:06 maybe it makes a difference? 2019-02-22 16:06:24 so when libssh2-dev says it needs pc:libssl it will pick openssl-dev 2019-02-22 16:06:46 odc: that is quite possible 2019-02-22 16:06:53 hm, i managed the entropy shortage on my systems with -device virtio-rng-pci, using the virt flavour 2019-02-22 16:07:22 odc: for VM's virtio-rng should be added to modules, and yes on Alpine it is module, not built in kernel 2019-02-22 16:07:39 i tought, if we add capability to find arbitrary files to nlplug-findfs, we could preseed files on boot media 2019-02-22 16:07:42 I just got a notification that someone has a package flagged out of date. However, it isn't out of date and it's already the newest version out there (qt5-qtvirtualkeyboard). Can I just ignore it or can I somehow unflag it? 2019-02-22 16:09:08 I don't know if AWS EC2 provides virtio-rng, gonna check 2019-02-22 16:40:00 PureTryOut[m]: just ignore it 2019-02-22 16:40:08 it will reset on next update 2019-02-22 16:43:05 Ok 2019-02-22 16:43:29 Can I report the email adres for abuse then? The message is also just "Ya", seems like a troll to me 2019-02-22 17:00:36 looks like some people have entropy problems even with virtio-rng. And AWS has zero info on that subject :/ Action plan: try a kernel where virtio-rng is builtin and see if it changes anything. Else: provide rngd or haveged by default with virt images 2019-02-22 17:01:19 or at least with ec2 images 2019-02-22 17:05:46 ncopa: i'm sure regina will send you an answer soon but the Cisco Talos Vendor reporting key is 0x0E16F693 on public key servers (described here https://tools.cisco.com/security/center/resources/vendor_vulnerability_policy.html) also available on the bottom of this page https://www.talosintelligence.com/vulnerability_reports#disclosed 2019-02-22 17:07:48 odc: actually I patched kernel for ARM boxes without good source of entropy, changed/reverted crng init 2019-02-22 18:31:26 <_ikke_> In an lxc container that I've just updated: Error relocating /usr/bin/curl: curl_url_cleanup: symbol not found 2019-02-22 18:31:33 <_ikke_> Any idea how I can fix that? 2019-02-22 18:35:01 <_ikke_> curl and libcurl version seems to mismatch 2019-02-22 18:39:20 <_ikke_> How can I find what holds libcurl back? 2019-02-22 18:43:21 'apk info -r libcurl' could help 2019-02-22 18:44:00 <_ikke_> I decided to reinstall it (and as a resuld removing things that depend on it), and that fixed it 2019-02-22 19:47:21 SpaceToast: did you have some concepts for a mdev-based replacement for nlplug-findfs? 2019-02-22 20:01:22 AinNero: yes, but I'm a tad bit busy right now :) 2019-02-22 20:01:34 poke me again around 7pm EST (or anytime Sunday( 2019-02-22 20:01:48 we're moving offices at work right now and I obviously have to get everything set up before people start coming in 2019-02-22 20:09:33 Is the dev group here still using Buildroot as shown in the wiki? https://wiki.alpinelinux.org/wiki/Cross-Compiler_targeting_Alpine 2019-02-22 20:11:06 <_ikke_> afaik, the official builders not using a buildroot atm 2019-02-22 20:11:17 <_ikke_> s/not/are not/ 2019-02-22 20:11:17 _ikke_ meant to say: afaik, the official builders are not using a buildroot atm 2019-02-22 20:13:09 what toolchain is being used to build edge cross compiling for ARM on x86-64? 2019-02-22 20:13:25 <_ikke_> alpine is not cross-compiling 2019-02-22 20:13:32 <_ikke_> everything is built on native hardware 2019-02-22 20:14:17 I dont have any ARMHF machine up to tha task :( 2019-02-22 20:17:26 is it your armhf machine being used? 2019-02-22 20:19:45 <_ikke_> We use armv7 hardware, but don't know what exactly 2019-02-22 20:20:14 jammers: what you want to be tested 2019-02-22 20:20:38 I just need a static version of 'dialog' for armeabi and armhf. I tried buildroot, and the binary does run, but screen output is garbled 2019-02-22 20:21:28 I have one box but it is now armv7 2019-02-22 20:21:49 don't know if I can build armhf on it 2019-02-22 20:22:19 that bin would still run tho, not sure of performance hit if any for that app 2019-02-22 20:22:29 arm7 bin 2019-02-22 20:24:08 but dialog is small package and probably could be built on small SBC's, i.e. 1GB of RAM 2019-02-22 20:27:36 ugh, offsite with flakey wifi. 2019-02-22 20:29:15 would you mind making the arm7 static dialog binary? 2019-02-22 20:33:52 you mean armv7? 2019-02-22 20:34:48 do you have APKBUILD for static version 2019-02-22 20:36:11 aports version doesn't have flags/options for static version 2019-02-22 20:39:20 yes armv7, I was using buildroot, not APKBUILD, but could you pass the LD -static flag in the env? 2019-02-22 20:40:03 not familiar enough with APKBUILD internals to know where to change in inside 2019-02-22 20:40:07 huh, it needs libncursesw static first 2019-02-22 20:40:31 yes ncurses-lib static 1st 2019-02-22 20:42:54 ncurses-static, actually 2019-02-22 20:43:25 what CFLAGS should be set to build static dialog 2019-02-22 20:44:13 build libdialog.a but dialog is still dynamic 2019-02-22 20:44:47 CC='gcc -static' 2019-02-22 20:45:26 or CFLAGS='-static 2019-02-22 20:46:23 sometime have to go as far as make SHARED=0 CFLAGS='-static 2019-02-22 20:48:17 didn't work, still dynamic 2019-02-22 20:50:56 the clue may be in the busybox static APKBUILD configs 2019-02-22 20:51:24 here is changed APKBUILD http://tpaste.us/yPKg 2019-02-22 20:55:49 although, 'ldd dialog' shows just 'ldd (0xf7e0a000); 2019-02-22 20:57:59 email sent mps 2019-02-22 20:58:45 greylist in action 2019-02-22 20:59:45 did the binary run ok. easy test is dialog --yesno testing 20 30 2019-02-22 21:00:47 it works 2019-02-22 21:01:14 maybe need to add something to LDFLAGS 2019-02-22 21:03:01 something like ./configure LDFLAGS="-static" && make 2019-02-22 21:04:23 already tried and still same result 2019-02-22 21:07:24 maybe post #2 here : https://github.com/docker-library/golang/issues/152 2019-02-22 21:08:31 maybe '-extldflags "-static"' 2019-02-22 21:11:55 this will not work 2019-02-22 21:15:11 aha --enable-static \ like here: https://github.com/Francesco149/sharenix/commit/20cbd7a4dd44ae51430db892a7c04d956c3b76fc 2019-02-22 21:18:00 dialog configure doesn't have that option, first thing I looked for 2019-02-22 21:23:23 if the dyn ncurses, musl are not there, dialog should try to link with the static libs, I think this is how build-root overcomes some package deficiencies for its static builds 2019-02-22 21:26:29 ncurses-dev is needed because they contains header 2019-02-22 21:27:22 yes, I just mean build ncurses static only 2019-02-22 21:27:53 ncurses-static contains static libs of the ncurses 2019-02-22 21:29:19 for some reason linker links static libraries but add ldd and make final binary dynamic, only ldd is dynamically linked in 2019-02-22 21:33:33 I have no more ideas how to make it static 2019-02-22 21:35:03 so adding --enable-static \ had no effect in APKBUILD ? 2019-02-22 21:35:59 no, because dialog configure script doesn't have that option 2019-02-22 21:36:22 anyway, tried but as expected didn't worked 2019-02-22 21:38:18 if you run that binary in an empty chroot, does it work? 2019-02-22 21:39:09 empty chroot? how to do it 2019-02-22 21:40:37 put the file in an empty folder, cd to folder, chroot . dialog --help 2019-02-22 21:43:11 actually like this: chroot . /dialog -help 2019-02-22 21:43:17 it works 2019-02-22 21:46:01 I can test it as well if you email it :) 2019-02-22 21:47:04 are you sure? you will trust some random person from the net and run binary without proper check of some trojan inside 2019-02-22 21:55:39 will sandbox it :) 2019-02-22 21:57:11 ok, PM me 2019-02-22 21:58:21 email sent 2019-02-22 22:02:56 where, to some of alpine ML's 2019-02-22 22:03:51 to ms1*** gmail 2019-02-22 22:05:28 I suspect I'll receive it, don't have relation with gmail 2019-02-22 22:27:19 awww what, no android-tools for armhf? 2019-02-22 22:27:28 RIP 2019-02-22 22:28:01 broken or just untested? 2019-02-22 22:28:47 I think it is made only for x86_64 by upstream 2019-02-22 22:28:51 ah 2019-02-22 22:28:54 lamers 2019-02-22 22:30:39 you expected something else from them :/ 2019-02-22 22:30:46 I guess not lol 2019-02-22 22:31:04 but since like none of the android devices are x86 (and they don't even officially support x86), thats just rude 2019-02-22 22:31:34 there are x86 android devices, I own one 2019-02-22 22:31:54 an official one? 2019-02-22 22:32:00 or the android x86 project? 2019-02-22 22:32:14 oh, asus one 2019-02-22 22:32:30 with proper android? 2019-02-22 22:32:43 and yes, AOSP (android base) could be built for x86 2019-02-22 22:32:54 it is supported, afaik 2019-02-22 22:32:56 yeah AOSP doesn't really count 2019-02-22 22:33:08 theres way too much missing 2019-02-22 22:33:23 get screwed by google play protect now anyway 2019-02-22 22:33:48 I have one ASUS phonepad with x86 android officially supported I think 2019-02-22 22:34:08 hm, still 2019-02-22 22:34:10 very few devices 2019-02-22 22:34:36 maybe that will change with intels new stuff thoguh 2019-02-22 22:34:39 though* 2019-02-22 22:34:40 it was when bought, now I suspect it is 'end of life' 2019-02-23 00:20:04 mps: hm 2019-02-23 00:22:39 jwh: maybe it could be built on arm's 2019-02-23 00:22:58 I just built it 2019-02-23 00:23:13 apart from lxd not actually attaching the phone to the container... 2019-02-23 00:23:17 adb runs ok though 2019-02-23 00:23:42 heh, I tried on aarch64 but it failed 2019-02-23 00:24:04 hm, this is armhf 2019-02-23 00:24:09 probably should try on armv7 2019-02-23 00:24:28 wait what 2019-02-23 00:24:42 oh, wrong window 2019-02-23 00:24:50 but yeah, it works on arm anyway as arch build it 2019-02-23 00:25:22 ok, will try on armv7 later 2019-02-23 00:25:43 only thing I needed to do was change some errors to warnings 2019-02-23 00:25:51 but on aarch64 obviously needs patches or some tweaks 2019-02-23 00:25:51 but it should be fine 2019-02-23 00:26:04 probably the same thing 2019-02-23 00:26:26 -Wno-error=attributes 2019-02-23 00:26:31 it should probably be fixed 2019-02-23 00:26:37 tell me, you build it from aports testing 2019-02-23 00:26:39 but I didn't wanna look into boringssl 2019-02-23 00:26:43 yes 2019-02-23 00:26:52 just added the above to CFLAGS/CXXFLAGs 2019-02-23 00:27:09 don't care if other stuff is broken, only want adb so haven't tested the rest of it 2019-02-23 00:28:07 but since its built for ALARM I'd imagine its just fine 2019-02-23 00:29:37 wait, you built it on arch linux 2019-02-23 00:31:46 heh, on armv7 it passed 2019-02-23 00:31:52 no, on alpnie 2019-02-23 00:31:54 alpine 2019-02-23 00:32:35 I use alarm as a reference though, they've done most of the hard work :D 2019-02-23 00:32:43 http://ix.io/1BNM 2019-02-23 00:34:58 it passed 'abuild -r' on Alpine armv7 2019-02-23 00:37:35 lets try on aarch64 2019-02-23 00:38:19 ye 2019-02-23 00:38:30 I don't have any aarch64, only arm7 2019-02-23 00:38:34 armv7* 2019-02-23 00:39:14 I have arm's everywhere :) 2019-02-23 00:39:26 https://github.com/archlinuxarm/PKGBUILDs/tree/master/community/android-tools 2019-02-23 00:39:32 not sure if those patches are needed 2019-02-23 00:40:03 might be better if they are 2019-02-23 00:40:06 included 2019-02-23 00:40:07 '-Wno-error=attributes' is what is needed, at least for now 2019-02-23 00:40:19 aame on arm64? 2019-02-23 00:40:57 'abuild -r' passed also on aarch64 2019-02-23 00:41:29 ok cool 2019-02-23 00:41:31 huh, how I'm ignorant 2019-02-23 00:42:15 I wrote a hour or two ago it not possible 2019-02-23 00:43:34 it needs test with real hardware, and I will do that in next few days to see if it really works 2019-02-23 00:44:51 it late (or to early) here now, need to go to bed. 2019-02-23 00:45:38 jwh: thanks for big help to build this tool 2019-02-23 00:45:40 well, I have real hardware but I don't think lxd is working properly 2019-02-23 00:45:58 I attached my android phone but its not showing up, at least on alpine 2019-02-23 00:46:19 if you have real hardware why you need lxd to test it 2019-02-23 00:46:51 no alpine on my armv7 board, at least not until I've add a kernel aport 2019-02-23 00:47:05 its headless and I can't make the uart work, so no debug 2019-02-23 00:47:21 ah, so. build your own as I do for all of my arm's 2019-02-23 00:47:33 yeah, but without any console I can't see why it breaks 2019-02-23 00:47:35 so... 2019-02-23 00:48:33 eh, we can talk about that in a day or two, I'm tired now and is time for sleep. good night 2019-02-23 00:48:40 night 2019-02-23 00:49:09 oh 2019-02-23 00:49:14 it works after I stop/start 2019-02-23 00:49:16 guess hotplug is broken 2019-02-23 00:49:24 abuild:~# adb devices 2019-02-23 00:49:24 List of devices attached 2019-02-23 00:49:24 42006f40ccbdc4df unauthorized 2019-02-23 00:50:08 abuild:~# adb shell uptime 2019-02-23 00:50:08 01:50:04 up 1 day, 21:54, 0 users, load average: 3.63, 3.60, 3.58 2019-02-23 00:50:11 good enough for me 2019-02-23 09:56:04 <_ikke_> Looks like testing/py-pandas 0.23.4-r0 is hanging 2019-02-23 09:56:25 <_ikke_> builders are not doing a lot 2019-02-23 10:03:27 hi, what's the process to get a package out of testing, and moved to edge or an actual released Alpine? 2019-02-23 10:04:55 <_ikke_> are you the maintainer or just a user of that package? 2019-02-23 10:07:21 _ikke_: currently a user, I've got an updated APKBUILD for latest release 2019-02-23 10:08:54 <_ikke_> You can talk to the maintainer providing them feedback to say that the package works and can be moved to probably community 2019-02-23 10:09:25 _ikke_: the maintainer line is empty -> https://github.com/alpinelinux/aports/blob/master/testing/uboot-tools/APKBUILD 2019-02-23 10:09:38 <_ikke_> ah, it's unmaintained 2019-02-23 10:10:01 <_ikke_> are you willing to maintain that package? 2019-02-23 10:10:19 I'm happy to step up and maintain it in community 2019-02-23 10:11:44 <_ikke_> feel free to submit a pull request here https://github.com/alpinelinux/aports or provide a patch to the alpine-devel mailingl ist 2019-02-23 10:11:51 <_ikke_> alpine-aports I mean 2019-02-23 10:12:47 _ikke_: ack, thanks for the pointer 2019-02-23 16:02:53 this should be applied to alpine 3.9 https://github.com/alpinelinux/aports/pull/6225 2019-02-24 12:02:49 how to download github PR as patch from WEB interface? here is a patch https://github.com/crystal-lang/crystal/pull/7477/commits/a55796be911334f5a02f7407af1b6b6bb5219b53#diff-55a89fb13123f835270f1e54fa91ee6c 2019-02-24 12:03:32 it is related to upgrade of libxml2 and failed build of the crystal after that upgrade 2019-02-24 12:04:35 maybe I'm blind, but I don't see option on above url to download that patch (PR) as patch file 2019-02-24 12:06:13 same as almost everywhere else, just add .patch to the url 2019-02-24 12:06:26 commits etc 2019-02-24 12:07:34 meh, gitlab have 'plain diff' and 'email patches' 2019-02-24 12:08:09 .patch is *much* nicer 2019-02-24 12:08:19 since you can script it etc 2019-02-24 12:08:36 and no, for me adding .patch after url don't work, don't know why 2019-02-24 12:08:51 it does 2019-02-24 12:09:13 https://github.com/crystal-lang/crystal/pull/7477/commits/a55796be911334f5a02f7407af1b6b6bb5219b53.patch 2019-02-24 12:09:42 with wget got hml file 2019-02-24 12:10:21 [root@htpc ~]# curl -sL https://github.com/crystal-lang/crystal/pull/7477/commits/a55796be911334f5a02f7407af1b6b6bb5219b53.patch | head -n2 2019-02-24 12:10:24 From a55796be911334f5a02f7407af1b6b6bb5219b53 Mon Sep 17 00:00:00 2001 2019-02-24 12:10:25 From: Ary Borenszweig 2019-02-24 12:10:36 should be ok 2019-02-24 12:10:41 oh, must be something else, your url works 2019-02-24 12:10:52 did you remove the #? 2019-02-24 12:11:01 thats not part of the url so it won't work 2019-02-24 12:11:29 wget https://github.com/crystal-lang/crystal/pull/7477/commits/a55796be911334f5a02f7407af1b6b6bb5219b53.patch 2019-02-24 12:11:34 that worked 2019-02-24 12:11:51 was gonna ask if it was the redirect that broke it 2019-02-24 12:11:56 but guess not 2019-02-24 12:12:38 don't understand these github comlex fiddling with url's :( 2019-02-24 12:13:01 there are a few other shortcuts for .patch 2019-02-24 12:13:04 pretty handy 2019-02-24 12:13:29 I have many horrible shell aliases that use patch id to grab diffs and PRs from githube etc :D 2019-02-24 12:14:11 I presume they have it, but why they don't put url or button or 'copy patch url' to download patch on the PR page 2019-02-24 12:14:31 yeah dunno 2019-02-24 12:15:37 for people who do not use github much it is unintuitive, at least for me 2019-02-24 12:37:21 mps: just append .patch to pr number 2019-02-24 12:39:41 clandmeter: thanks, jwh already helped me 2019-02-24 12:40:32 that was for a commit 2019-02-24 12:40:43 latest libxml2 upgrade introduced that bug which I need to fix 2019-02-24 12:41:00 if in doubt, just add .patch :D 2019-02-24 12:41:04 it works in a lot of places 2019-02-24 12:41:08 ah, pr number, sounds better idea 2019-02-24 12:41:32 I think it also works in .. diffs too 2019-02-24 12:42:37 yes, got a PR number with .patch extension. Nice :) 2019-02-24 12:44:21 but still have to lament, why they didn't put button or something with a hint to download patch :/ 2019-02-24 15:05:47 how can I test my build on other platforms? My build is successful on x86_64, but fails von x86, aarch64, armhf, and armv7 2019-02-24 15:06:52 Well yeah, those are different architectures 2019-02-24 15:07:07 You have to build for each 2019-02-24 15:08:54 dnull, here is my problem: https://cloud.drone.io/alpinelinux/aports/54/4/2 2019-02-24 15:09:29 in order to find the solution for the build problem, I have to test locally; or should I push and see if drone.io can build? 2019-02-24 15:13:39 hjaekel: `armv8l-unknown-linux-musleabihf' machine `armv8l-unknown-linux' not recognized 2019-02-24 15:15:03 not sure, but probably should be aarch64 instead of armv8l 2019-02-24 15:17:13 mps, I already found this line; my solution strategy is mostly try and error, I can try aarch64 and see if it builds. Usually I need more than one try, and I don't want to push to GitHub each time 2019-02-24 15:19:13 mps, line 48 in my APKBUILD already tries to replace arm* with aarch32 2019-02-24 15:19:55 that drone.io service is new in Alpine and I don't have idea could it be used in 'try and error' workflow 2019-02-24 15:22:15 it's better than Travis, on Travis we only had x86_64 2019-02-24 15:23:20 yes, it looks better. ask clandmeter how you could use 'drones' 2019-02-24 15:23:20 <_ikke_> it's still 'beta' though 2019-02-24 15:23:29 <_ikke_> (for us) 2019-02-24 15:24:25 hjaekel: _jarch does not really seem used 2019-02-24 15:25:07 so the configure is not affected by that switch case 2019-02-24 15:25:47 AinNero, ups, you are right 2019-02-24 15:33:02 hjaekel: you also need update_config_sub 2019-02-24 15:34:24 clandmeter, what is update_config_sub? 2019-02-24 15:35:08 it updates config.sub 2019-02-24 15:39:56 hjaekel: do you need to overide the unpack function? 2019-02-24 15:44:36 clandmeter, I don't understand why I need to update the config.sub; where do I have to put update_config_sub? 2019-02-24 15:44:55 normally in prepare 2019-02-24 15:45:28 clandmeter, maybe the code I wrote in the unpack function can be better placed somewhere else... 2019-02-24 15:45:48 i wonder why you did that 2019-02-24 15:45:57 the only thing you need is the rename of the dires? 2019-02-24 15:46:05 s/dires/dirs 2019-02-24 15:46:39 yes, rename and move the dirs 2019-02-24 15:46:47 do that in prepare 2019-02-24 15:46:57 and append default_prepare 2019-02-24 15:47:04 OK 2019-02-24 15:47:13 you can find some refs in aports\ 2019-02-24 15:48:27 there are also some whitespace issues 2019-02-24 15:48:38 if you are doing a review of my APKBUILD please keep in mind that openjdk9 is only necessary for building openjdk10 and should be deleted afterwards... the final goal is openjdk11 2019-02-24 15:49:31 if its going to be commited lets do it the right way. 2019-02-24 15:50:07 i dont think the errors you have are related to drone. 2019-02-24 15:50:45 ok I will do it 2019-02-24 15:50:55 err 2019-02-24 15:50:59 not related 2019-02-24 15:51:00 no, the errors are related to my try and error workflow 2019-02-24 15:51:15 yeah its sunday 2019-02-24 15:51:19 my typing sucks 2019-02-24 15:51:49 but drone is new in our infra, so could be it has issues. 2019-02-24 15:52:05 but im glad we can catch arch issues like this. 2019-02-24 15:52:09 saves us some troubles 2019-02-24 17:50:00 ACTION sent a long message: < https://matrix.org/_matrix/media/v1/download/matrix.org/wZpGrgClOHjajkVwJVopgsQZ > 2019-02-24 17:52:45 matrix? 2019-02-24 17:52:58 oh right, it posts a link to a website containing long messages instead of posting them, I forgot 2019-02-24 17:57:02 who does deprive who? 2019-02-24 17:57:53 AinNero: the tool is commented out in the install phase upstream (bluez) 2019-02-24 18:00:31 i dont see the code for that 2019-02-24 18:04:48 https://git.kernel.org/pub/scm/bluetooth/bluez.git/commit/?id=56178b62564b26d3ff033fe7f5cae600e8826144 2019-02-24 18:06:25 why do you think someone from this channel would know? 2019-02-24 18:07:34 you should ask upstream 2019-02-24 18:08:25 I don't think it will be reverted upstream, and this is the distribution where I personally need it 2019-02-24 18:08:26 Arch ovewrites it downstream as well 2019-02-24 18:11:21 ah, so you want a patch included 2019-02-24 18:12:42 If you agree it's a good solution 2019-02-24 18:12:53 damn, matrix reply 2019-02-24 18:12:55 sorry 2019-02-24 18:14:39 im just a nobody here 2019-02-24 18:36:51 <_ikke_> can someone review this before I push this? https://github.com/alpinelinux/aports/pull/6470 2019-02-24 19:26:23 <_ikke_> I've pushed this to master, but it remains open: https://github.com/alpinelinux/aports/pull/6458 2019-02-24 19:59:34 it seems musl 1.1.21 breaks erlang 2019-02-24 19:59:41 very annoying 2019-02-24 21:52:03 jwh: did you tested android-tools on armhf or armv7 2019-02-24 21:53:01 they're the same thing 2019-02-24 21:53:43 just different name depending who you ask 2019-02-24 21:54:28 well, I mean build on armhf or armv7 2019-02-24 21:54:47 same answer 2019-02-24 21:54:48 lol 2019-02-24 21:55:17 and are they same thing is for arguments which I wont pursue here :) 2019-02-24 21:55:55 probably armhf 2019-02-24 21:55:59 whatever the default is 2019-02-24 21:56:01 anyway, on which arch you tested it 2019-02-24 21:56:26 abuild:~# apk --print-arch 2019-02-24 21:56:27 armhf 2019-02-24 21:56:34 eh, nice 2019-02-24 21:57:09 I finished building apk's on aarch64 and armv7 2019-02-24 21:57:27 oh cool aarch64 just has the same warning right? 2019-02-24 21:58:11 I've been using mine with adb for server type things, works fine 2019-02-24 21:58:17 and preparing patch for APKBUILD, asked you because want to add armhf in arch's and in flags in APKBUILD 2019-02-24 21:58:52 yes, both aarch64 and armv7 needs that flag 2019-02-24 21:58:58 if it builds on one it will build on the other 2019-02-24 21:59:07 so all good 2019-02-24 21:59:16 are you going to add that flag conditionally based on arch? 2019-02-24 21:59:16 but I don't have armhf to test if build works on it 2019-02-24 21:59:22 or just do it for every arch 2019-02-24 21:59:46 case "$CARCH" in ... etc 2019-02-24 21:59:47 not sure if its worth "fixing" (silencing) 2019-02-24 22:00:02 gcc should figure it out 2019-02-24 22:00:13 look here http://tpaste.us/jXv5 2019-02-24 22:01:07 maybe would be better to paste just diff? 2019-02-24 22:01:18 looks good 2019-02-24 22:01:37 *) as well 2019-02-24 22:01:39 diff is here http://tpaste.us/DL8a 2019-02-24 22:01:54 and just remove it from the cmake args 2019-02-24 22:02:02 because... 2019-02-24 22:02:19 non-armhf/aarch64 will have empty CXXFLAGS 2019-02-24 22:02:40 sure? 2019-02-24 22:02:43 or rather, empty in that apkbuild 2019-02-24 22:02:54 but if anyone wants to add other flags they'll have to change it 2019-02-24 22:03:13 you are right, because it will use defaults, I think 2019-02-24 22:03:14 doesn't really matter, just neater 2019-02-24 22:03:42 might want to add the same for CFLAGS 2019-02-24 22:03:46 but don't like to mess with ncopa's work to much :) 2019-02-24 22:04:11 it is not needed for CFLAGS 2019-02-24 22:04:49 yeah I know, but it means it doesn't need to be done if anything else needs adding (ime) 2019-02-24 22:06:28 my principle in change software is to be least possibly intrusive, i.e. step by step 2019-02-24 22:07:26 heh, I'm a fan of parity, doesn't really matter though 2019-02-24 22:08:13 for your pleasure I will try without flags on x86_64 2019-02-24 22:08:53 lol 2019-02-24 22:09:08 I'm all good as long as its built :D 2019-02-24 22:10:37 it uses c++ so CFLAGS are actually irrelevant there 2019-02-24 22:11:12 I mean, only c++ 2019-02-24 22:11:23 yeah, I meant for completeness 2019-02-24 22:12:19 it build on x86_64 with this APKBUILD http://tpaste.us/Bo89 2019-02-24 22:12:47 removed these two lines with CFLAGS and CXXFLAGS 2019-02-24 22:13:53 I thought it will, and they really are not needed there as you wrote, but again I don't like to mess what ncopa done 2019-02-24 22:14:00 nothing more 2019-02-24 22:15:28 I didn't say remove them 2019-02-24 22:15:58 I said they should have parity, as in if you have a case for CXXFLAGS, also include CFLAGS 2019-02-24 22:16:18 personal preference, so up to you 2019-02-24 22:17:06 no, I wanted to ask you will you send patched APKBUILD or I 2019-02-24 22:17:33 oh 2019-02-24 22:17:50 I'm easy either way 2019-02-24 22:17:56 you can take it if you want 2019-02-24 22:19:08 how do you say 'alea jacta est' 2019-02-24 22:20:59 the die is cast? 2019-02-24 22:21:16 "it is done" 2019-02-24 22:21:23 however you want, you discovered solution I just fixed APKBUILD and tested on few arch's 2019-02-24 22:22:28 I'm watching the race atm, so I can do it in a couple of hours if you don't 2019-02-24 22:23:07 probably better translation to English is 'the dice is cast' of the Caeser's 'Alea iacta est' 2019-02-24 22:23:51 well, dice is plural 2019-02-24 22:23:52 die is singular 2019-02-24 22:24:08 the translation is 'die' 2019-02-24 22:25:31 ah, thanks for explanation, I'm learning every day 2019-02-24 22:25:58 btw, it works on aarch64 2019-02-24 22:26:02 ah cool 2019-02-24 22:27:10 to not burden you more I will take responsibility to post patch, you enjoy watching race 2019-02-24 22:28:17 if you agree, of course 2019-02-24 22:28:54 dlsym: Resource temporarily unavailable 2019-02-24 22:28:55 hm, on erlang 2019-02-24 22:29:05 mps: yeah no problem, thanks 2019-02-24 22:29:25 race is just about over anyway, my driver is falling back :( 2019-02-24 22:31:20 meh, so we are at the start. to repeat if you want to make patch and send please do, you found solution and credits belong to you, I just helped a little 2019-02-24 22:32:13 just send a PR, no worries 2019-02-24 22:32:45 huh, ok, will do in minutes 2019-02-24 22:34:24 oh, sorry, you have github account? if so then please do it because I don't have and I have to send to patchworks.a.o and that is slower process for patches 2019-02-24 22:35:01 oh 2019-02-24 22:35:02 I'll make APKBUILD with armhf and post it to tpaste for you 2019-02-24 22:35:10 yeah I can do it 2019-02-24 22:37:56 wait few seconds for just one build cycle 2019-02-24 22:38:27 ok 2019-02-24 22:40:46 here it is: http://tpaste.us/xpQJ 2019-02-24 22:42:58 thanks, I'll do it soon 2019-02-24 23:02:18 hm 2019-02-24 23:02:24 I think you cut some bits out 2019-02-24 23:02:48 oh 2019-02-24 23:02:58 I completely missed its a diff :D 2019-02-24 23:08:34 what is needed for PR? complete file or diff 2019-02-24 23:09:26 it's ok I was being dumb 2019-02-24 23:09:34 drone is nice, more architectures 2019-02-24 23:09:48 https://github.com/alpinelinux/aports/pull/6472 2019-02-24 23:10:34 oh 2019-02-24 23:10:49 mps: CXXFLAGS are needed it seems 2019-02-24 23:11:35 or the x86 builder is broken, hm 2019-02-24 23:12:00 I didn't remove CXXFLAGS 2019-02-24 23:12:11 oh, right 2019-02-24 23:12:17 sorry, apparently I'm not all here 2019-02-24 23:12:55 ehhh, no excuse for 32bit x86 anymore anyway :D 2019-02-24 23:13:00 meh, forgot to bump pkgrel 2019-02-24 23:13:09 I'll bump it 2019-02-24 23:13:37 I don't have x86 build box 2019-02-24 23:14:11 maybe I should add lxc x86 container 2019-02-24 23:15:13 me neither 2019-02-24 23:15:22 I don't think it's related though 2019-02-24 23:15:28 I mean, it can't be 2019-02-24 23:16:23 x86 builder output is openssl linking related 2019-02-24 23:16:39 not I said the walrus 2019-02-24 23:19:55 walrus? sorry I'm self taught in English and seems that the English is your native language and I don't understand your fine points quite well 2019-02-24 23:20:26 to me walrus is polar animal and nothing more 2019-02-24 23:22:03 I don't think it's really a saying 2019-02-24 23:22:46 just means "not me" 2019-02-24 23:23:24 or not anything, really lol 2019-02-24 23:24:19 sorry, can't get it, but never mind, all good :) 2019-02-24 23:24:56 It was a line from a British TV show, I think it was a reference to a poem from alice in wonderland but I do not know literature that well 2019-02-24 23:26:31 I like Alice in wonderland, but read it just translated and not original 2019-02-24 23:27:18 heh 2019-02-24 23:28:16 hm, looks like force pushing kills the drone checks on the PR? 2019-02-24 23:28:46 go to work, if it cannot be built on x86 I will spin x86 lxc tomorrow and try 2019-02-24 23:29:16 some time I already contemplating to spin x86 container 2019-02-24 23:29:48 I can spin one up, I don't think it's related though... none of the build options actually changed and its openssl related aaaaannnnd its fine on x86_64 2019-02-24 23:31:08 here is late now, going to drink a glass of wine and go to bed 2019-02-24 23:31:38 ok, night 2019-02-24 23:32:04 good night to you and all 2019-02-25 06:25:46 I would like to install aarch64 on RPI3. I did find the instructions here https://wiki.alpinelinux.org/wiki/Raspberry_Pi for the armhf (32bit) but not for aarch64 2019-02-25 07:00:20 not a development question, grey_geek 2019-02-25 09:28:21 uhm, does alpine have official ZFS support? 2019-02-25 09:28:32 i'd like to add some test cases for setting up and using ZFS 2019-02-25 09:28:46 i think we sort of have 2019-02-25 09:28:54 i think we announced ZFS in some release notes 2019-02-25 09:30:06 hm, in 3.5.0 2019-02-25 09:30:45 seems like we dont have _FORTIFY_SOURCE in our default clang 2019-02-25 09:31:06 and it does not look like fortify-headers work at all with clang 2019-02-25 11:18:20 ncopa: any problem with https://tpaste.us/oaDq ? 2019-02-25 11:26:27 what is the usecase for it? 2019-02-25 11:26:33 <_ikke_> drone.io color output 2019-02-25 11:26:49 <_ikke_> Was about to mention that :D 2019-02-25 11:27:39 clandmeter: i guess it is ok 2019-02-25 11:28:47 i think we may need disable FORTIFY_SOURCE in qemu 2019-02-25 11:30:02 <_ikke_> ncopa: as a result of that qemu bug? 2019-02-25 11:30:07 yes 2019-02-25 11:30:23 the problem is that they depend on atomic operations some places 2019-02-25 11:30:34 and support for unaligned other places 2019-02-25 11:30:42 ncopa: drone doesnt have tty available but it does support colored output. so forcing is the only way i guess. 2019-02-25 11:30:57 and its not clear where atomic is needed and where unaligned is needed 2019-02-25 11:31:47 the current imlpementation for unaligned access happens to be atomic too on most systems so they use that 2019-02-25 11:59:17 stateless: It seems that the fortify-headers implementation breaks qemu. I wonder if we could use __builtin_memcpy instead of __orig_memcpy 2019-02-25 11:59:47 stateless: see this email thread: https://lists.gnu.org/archive/html/qemu-devel/2019-02/msg06183.html 2019-02-25 12:56:30 ncopa: aha yeah possibly 2019-02-25 12:56:41 clandmeter: I put you in Assignee field of the issue 10034 because you are maintainer of the libxml2. Is that ok? 2019-02-25 12:56:53 ncopa: do you have a local patch for this at the moment? 2019-02-25 12:57:31 stateless: i didnt dare to change fortify-headers, i just changed qemu for now 2019-02-25 12:57:34 ok 2019-02-25 12:57:53 https://git.alpinelinux.org/aports/commit/?id=228579f6c7663dc4107b1b418367e968513277f9 2019-02-25 12:58:14 stateless: but i think it has impact on perfomance in all other packages 2019-02-25 12:58:22 ncopa: does this affect other calls to memcpy in fortify headers? 2019-02-25 12:58:25 or only the memcpy override 2019-02-25 12:58:29 i dont know 2019-02-25 12:58:32 ok 2019-02-25 12:59:20 i also dont know the sideeffects it may have to call __builtin_memcpy directly from fortify-headers 2019-02-25 13:00:59 patch which closes #10034 is here: https://patchwork.alpinelinux.org/patch/4526/ 2019-02-25 13:03:05 ncopa: http://ix.io/1BZL 2019-02-25 13:03:12 i will add some more info into the commit once i understand the issue 2019-02-25 13:03:43 so qemu depends on certain atomicity guarantees that are not provided if you just call memcpy() but instead are guaranteed if you call __builtin_memcpy()? 2019-02-25 13:05:52 well, it is a bug in qemu, which uses a function that is supposed to be guaranteed to work on unaligned addresses, but does not really guarantee to be atomic 2019-02-25 13:06:17 it is implicitly atomic due to gcc optimizes away the memcpy call 2019-02-25 13:06:34 and some parts of qemu depends on this behavior 2019-02-25 13:06:49 so its qemu that is broken basically 2019-02-25 13:07:50 aha i see 2019-02-25 13:08:01 what i discovered while analyzing this is that with fortify-headers, gcc does not optimize away the memcpy call, which may have effect on performance 2019-02-25 13:08:03 ncopa: ok however, there is still a possible performance regression in fortify 2019-02-25 13:08:08 yes 2019-02-25 13:08:09 exactly 2019-02-25 13:08:30 ok i will create a patch for fortify that uses builtins 2019-02-25 13:09:31 there is assembly output here: https://lists.gnu.org/archive/html/qemu-devel/2019-02/msg06583.html 2019-02-25 13:11:00 what i notice is that gcc does not perform the bounds check at all on debian and fedora with -D_FORTIFY_SOURCE=2 2019-02-25 13:11:07 it gets optimized away 2019-02-25 13:12:22 $ sh -x test.sh -O2 2>&1| tpaste 2019-02-25 13:12:22 http://tpaste.us/Kgzb 2019-02-25 13:12:50 that is when I modify fortify-headers to use __builtin_memcpy 2019-02-25 13:13:41 note that there are no call to memcpy function there, but it still does the check, where glibc implementation does not 2019-02-25 13:13:47 aha 2019-02-25 13:16:08 i dont know if that is "fixable", or if its deisred to fix that 2019-02-25 13:17:51 ncopa: http://ix.io/1BZQ 2019-02-25 13:17:54 a preliminary patch i suppose 2019-02-25 13:19:11 do you want to include that as an external patch in your fortify-headers package, run with it for a while and then I can push it upstream and generate a new release? 2019-02-25 13:28:27 Yeah, i can do that 2019-02-25 13:32:53 i wonder if we should drop the check if size is less than 4 or similar 2019-02-25 13:33:09 i wonder how/why the check is optimized away on glibc 2019-02-25 13:35:50 another thing i discovered is that FORTIFY_SOURCE=2 does not work with clang at all 2019-02-25 13:37:06 i guess we need patch clang for that 2019-02-25 13:40:14 ncopa: aha i see, i can have a look at that 2019-02-25 13:40:24 i remember it was broken with clang 2019-02-25 13:40:49 i think this __builtin_va_arg_pack() ro similar 2019-02-25 13:40:51 iirc 2019-02-25 13:41:59 and i think an equivalent to this is missing for clang too: https://git.alpinelinux.org/aports/tree/main/gcc/gcc-4.9-musl-fortify.patch 2019-02-25 13:43:06 yeah possibly 2019-02-25 13:50:01 fcolista: i think py-pandas is broken for some reason 2019-02-25 13:50:13 it does not look like it creates the expected subpackages 2019-02-25 13:50:26 i dont know why 2019-02-25 13:51:10 ncopa, ok 2019-02-25 13:51:12 going to check 2019-02-25 13:55:27 fcolista: also have a look at this if you can: https://github.com/alpinelinux/aports/pull/6251 2019-02-25 13:56:47 pk 2019-02-25 14:03:02 i think im gonna disable py-pandas package meanwhile, it makes the builders busy all the time 2019-02-25 14:03:59 actually, im gonna revert it 2019-02-25 14:04:00 yes it takes forever.. 2019-02-25 14:55:22 stateless: apparently someone else has noticed fortify-source behavior: http://lists.alpinelinux.org/alpine-devel/6448.html 2019-02-25 14:56:31 yeah 2019-02-25 14:56:40 well hopefully with builtin_memcpy things are better performance wise 2019-02-25 20:23:46 ncopa: Hi, I see you're the maintainer of bluez, do you think it would be possible to patch it to install btmgmt? 2019-02-25 20:43:12 Mis012[m]: i guess I can do that. Are there any other distro that does that, so I can have a look at how they do it? 2019-02-25 20:44:12 ncopa: Arch linux I believe. 2019-02-25 20:45:22 <_ikke_> /usr/bin/btmgmt is owned by bluez-utils 2019-02-25 20:45:25 <_ikke_> (on archlinux) 2019-02-25 20:46:00 +1 2019-02-25 20:50:13 https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/bluez#n100 2019-02-25 20:50:21 i wonder if its broken from upstram 2019-02-25 20:50:32 s/upstram/supstream/ 2019-02-25 20:53:10 noinst_PROGRAMS += tools/btmgmt tools/obex-client-tool tools/obex-server-tool \ 2019-02-25 20:53:11 tools/bluetooth-player tools/obexctl 2019-02-25 20:53:11 2019-02-25 20:53:24 <_ikke_> Why do they mark it as noinst? 2019-02-25 20:54:17 they believe it's an internal debbuging tool and they believe that's a reason to not install it 2019-02-25 20:54:53 but there are certain needed features of it that are not available otherwise 2019-02-25 20:55:13 i think it would be good to report it upstream 2019-02-25 20:55:27 i dont know which of the tools that should be installed or not 2019-02-25 20:56:12 This one is needed to make bluetooth work on some devices 2019-02-25 20:56:41 Mis012[m]: i would appreciate if you could create an issue on bugs.a.o with the details. Then I can point to those details when I ask upstream about it 2019-02-25 20:56:59 if you're adding tools, can you add back all the "deprecated" ones that aren't infact deprecated as they're still maintained enough to work and don't have any replacement because bluez is an embarassing disaster 2019-02-25 20:57:02 :D 2019-02-25 20:57:36 <_ikke_> archlnux has a legacy package 2019-02-25 20:57:40 yeah 2019-02-25 20:58:23 this is an upstream problem though, calling them legacy or deprecated is absurd, as there is no replacement for them 2019-02-25 20:58:32 maybe the meant "regression" 2019-02-25 20:58:36 alpine has bluez-deprecated 2019-02-25 20:58:43 re btmgmt: https://www.spinics.net/lists/linux-bluetooth/msg70148.html 2019-02-25 20:58:58 yeah but really, shouldn't be 2019-02-25 20:59:19 ncopa: I know of one usecase, I'm sure there are more but their response to a similar request has been "if you really need it, do it downstream" which is what Arch did I guess 2019-02-25 20:59:59 apparently they made it install by default in 2017 2019-02-25 21:00:38 hmm, I wouldn't take Arch as reference, there are a lot of cruft 2019-02-25 21:01:19 pick and choose :D 2019-02-25 21:01:58 jwh: no, Arch is good distro but not a reference 2019-02-25 21:02:12 yes 2019-02-25 21:02:18 that is just my opinion, nothing more 2019-02-25 21:02:26 https://git.kernel.org/pub/scm/bluetooth/bluez.git/commit/Makefile.tools?id=56178b62564b26d3ff033fe7f5cae600e8826144 2019-02-25 21:02:59 it does not look like fedora is installing btmgmt either 2019-02-25 21:03:11 <_ikke_> "There are plans, so we remove them already before we implemented said plans" 2019-02-25 21:03:13 <_ikke_> right 2019-02-25 21:04:01 <_ikke_> makes a lot of sense 2019-02-25 21:04:08 ncopa: I linked that about 100 posts earlier. 2019-02-25 21:04:25 ikke: yeah, my exact reaction 2019-02-25 21:04:58 "Don't install btmgmt as there are plans for other tools to cover the likes of hciconfig, etc." 2019-02-25 21:05:01 ah yes 2019-02-25 21:05:02 ncopa: but I didn't pay any attention to dates, stupid me. thanks for the full timeline 2019-02-25 21:05:06 like the ~7 other utilities 2019-02-25 21:05:21 3 years or something, none have been replaced 2019-02-25 21:06:02 why can't we have nice things... 2019-02-25 21:06:15 because nobody has ported android bluertooth yet 2019-02-25 21:06:18 bluetooth* 2019-02-25 21:06:29 i had similar problem years ago 2019-02-25 21:06:40 a bit after bluez5 was out 2019-02-25 21:06:46 android bluetooth solely exists because GPL afaik 2019-02-25 21:06:49 i could not attach bt keyboards 2019-02-25 21:07:11 i ended up start writing xfce-bluetooth 2019-02-25 21:07:17 android ditched bluez because it was a waste of space and wrote their own 2019-02-25 21:07:19 but its still gpl 2019-02-25 21:07:27 and is probably not that hard to port 2019-02-25 21:07:38 wow what? 2019-02-25 21:07:42 but as soon i got my bt keyboard paried i lost motivation to finish xfce-bluetooth :) 2019-02-25 21:07:48 or parts of it were 2019-02-25 21:08:05 we need to fix bluez, not port Google's android stuff 2019-02-25 21:08:16 uh hm 2019-02-25 21:08:37 nobody can fix bluez, they're still going backwards 2019-02-25 21:08:57 i should continue tomorrow 2019-02-25 21:09:10 Mis012[m]: please file a bug on bugs.a.o or i will forget about it 2019-02-25 21:09:19 jwh: so fork? 2019-02-25 21:09:41 ncopa: thanks for a reminder, I forgot already :( 2019-02-25 21:10:02 nice to hear that its not only me who forgets about things :) 2019-02-25 21:10:16 you'd have to fork, either build on bluez4 which actually worked to a reasonable degree, or fork 5 and forward port a load of stuff 2019-02-25 21:10:20 and it'll still be a mess 2019-02-25 21:15:06 oh 2019-02-25 21:15:20 it looks like building the android stack on linux proper was actually supported previously 2019-02-25 21:15:27 interesting 2019-02-25 21:15:49 <_ikke_> ncopa: would it be a problem to run setup.py build_ext --inplace in a check stage? Running tests for py-zmq apparently requires that 2019-02-25 21:21:23 dunno what build_ext --inplace does and im on my way away from key 2019-02-25 21:21:27 keyb 2019-02-25 21:21:43 not healty sit so long day with keyboard 2019-02-25 21:22:08 <_ikke_> it builds the library in place so that it can used from the sourcedir (for testing) 2019-02-25 21:22:51 should note be any problem as long as it does not gets installed that way 2019-02-25 21:22:52 <_ikke_> afaik it does not affect the actual build, but it's a seperate build, but I'm not entirely sure 2019-02-25 21:22:58 <_ikke_> yeah 2019-02-25 21:23:00 <_ikke_> Was comparing 2019-02-25 21:26:34 <_ikke_> ncopa: if I look at the files that end up in pkg/ they are the same, so I don't think it would change that 2019-02-25 21:40:44 might have a new lxd bug, fcolista are you around? 2019-02-25 21:43:45 oh good 2019-02-25 21:43:48 I love lxd bugs 2019-02-25 21:44:14 that hash I made has some issues btw, but theres no way I'm digging into that horribleness when a new version will be out 2019-02-25 21:44:33 at least, I think they're related... may not be 2019-02-25 21:51:35 when I set up clustering (excite, eh?), it fails to bind to the address/port combo 2019-02-25 21:51:43 claiming it's already use 2019-02-25 21:51:50 I suspect it's being used by itself, for remote as is though 2019-02-25 21:56:06 oh 2019-02-25 22:29:39 ncopa: pingu's route handling is great, but it breaks nat; any suggestions? 2019-02-25 22:40:13 Nvm, looks like you just need to set the IP rule priority to be > built-in tables 2019-02-25 22:40:32 (I suspect that your workaround for source-pings doesn't actually matter/isn't needed) 2019-02-25 23:01:00 re: lxd I guess I'll just not do a cluster yet (I only have two hosts anyway, and it's recommended to have at least 3) 2019-02-25 23:08:33 I went with arch on my production (yeah yeah) lxd hosts in the end, couldn't wait around and hope they get it right 2019-02-25 23:08:46 but I still have a test one at home 2019-02-25 23:09:29 trying to find some cheap boxes atm for lab stuff, closer to 5VDC the better heh (tablet type socs etc) 2019-02-25 23:18:33 for me it was more ubuntu (canonical *is* devving lxd) or alpine 2019-02-25 23:18:52 ended up picking alpine 2019-02-25 23:18:56 about to finish getting it working 2019-02-25 23:19:59 I just cannot stand debian/ubuntu, so arch or alpine heh 2019-02-25 23:20:30 fine on containers for convenience when upstream projects supply apt repos (like mysql etc), otherwise nah 2019-02-25 23:24:26 ah 2019-02-25 23:24:32 lxd is my primary infrastructure handler 2019-02-25 23:24:37 ^^;; 2019-02-25 23:24:43 (at home, and now also at work) 2019-02-25 23:25:06 I can't stand libvirt, lxc solo is a pain in so many ways, and docker/k8s are... special, and don't fit a lot of use-cases (that I often have) 2019-02-25 23:25:18 pretty much the same 2019-02-25 23:25:38 so lxd is less convenience and more "something I'm actually going to use a lot" :) 2019-02-25 23:25:44 libvirt is broken anyway with lxc atm, far too many bugs with kvm too, but also I'm trying to go for containers 2019-02-25 23:25:52 yeah I recall this conversation 2019-02-25 23:25:53 and k8s does not fit my design at all either 2019-02-25 23:26:01 it's really too bad lxd has the occasional problems 2019-02-25 23:26:06 because it's really the optimal interface 2019-02-25 23:26:09 yeah 2019-02-25 23:26:17 also easy rest api+++ 2019-02-25 23:26:38 pretty much a requirement for anything new I build - gotta have a sensible API I can hook up to my monitoring etc 2019-02-25 23:29:07 what do you use your containers for? 2019-02-25 23:35:08 basically everything? 2019-02-25 23:35:17 lol fair enough 2019-02-25 23:35:26 anything that should be a server is a container, except for the gateway/dhcp/tftp/dns server (which is a single physical machine) 2019-02-25 23:35:30 kinda meant in what setting (home, work etc) 2019-02-25 23:35:38 all other physical servers are lxd hosts, and host all the actual stuff 2019-02-25 23:35:43 home *and* work, yes ;) 2019-02-25 23:35:49 ah 2019-02-25 23:35:52 at home I have a single dual-socket system 2019-02-25 23:36:02 @ work (where I am now) I was trying to get a cluster running, but no luck 2019-02-25 23:36:12 I have a hunch as to what I'm supposed to do and have decided I don't feel like doing it though 2019-02-25 23:36:22 lol 2019-02-25 23:36:28 but a bunch of remote-connected lxd hosts are fine too :) 2019-02-25 23:36:42 I'm not clustering atm due to the shared storage requirement 2019-02-25 23:36:49 and I don't really wanna run ceph on the lxd hosts 2019-02-25 23:37:23 you don't have to run ceph 2019-02-25 23:37:29 but... I build all the applications to fail, so they just have multiple instances 2019-02-25 23:37:31 you just need to have the same storage topography 2019-02-25 23:37:42 yeah 2019-02-25 23:37:52 but yeah, as an example, here's my @home topography (excluding clients) 2019-02-25 23:38:42 heimdall => gateway/tftp/dhcp etc; sauron => lxd host (everything from now on are containers); magni => builder; alfred => web server; gabriel => weechat relay host 2019-02-25 23:39:12 ah cool 2019-02-25 23:39:15 since you can use cgroups to specify basically any restriction (even more than virt in some cases, like num of procs allowed), I just use it as a much easier to access libvirt 2019-02-25 23:39:25 yeah 2019-02-25 23:39:31 (e.g alfred is limited to 1 cpu core and 1gb ram, magni... not so much) 2019-02-25 23:40:10 I'm not using restrictions atm, it's really just a convenient way to seperate/isolate applications 2019-02-25 23:40:22 same at home really 2019-02-25 23:40:48 but being able to limit resources is useful for my production stuff 2019-02-25 23:41:30 yeah :) 2019-02-25 23:45:08 just need to get the orchestration down for alpine containers + config etc 2019-02-26 00:36:18 hm, can I trigger another drone build for a PR without pushing? 2019-02-26 00:36:24 https://cloud.drone.io/alpinelinux/aports/75/1/2 2019-02-26 00:36:34 looks like the builder was/is broken? 2019-02-26 00:37:48 oh hm 2019-02-26 00:38:15 nope 2019-02-26 00:46:14 jwh: do you know where is the problem? which arch? 2019-02-26 00:47:05 i386 2019-02-26 00:47:15 just starting a builder to look 2019-02-26 00:47:22 but I don't think it's related 2019-02-26 00:47:40 ah yes. i586 2019-02-26 00:49:00 well, I will as soon as sshd starts 2019-02-26 00:49:02 ACTION rollseyes 2019-02-26 00:49:11 systemd is such a pain in the dick 2019-02-26 00:49:31 why it is i586, shouldn't it be x86 2019-02-26 00:50:00 dunno 2019-02-26 00:50:05 systemd? drone uses systemd? ughhh 2019-02-26 00:50:07 no 2019-02-26 00:50:15 my x86 lxd host does 2019-02-26 00:51:18 I had electricity outage this morning, till 15:00 so didn't installed x86 lxc container 2019-02-26 00:51:49 electric company had some works on their cables 2019-02-26 00:52:15 hope I will find some time tomorrow 2019-02-26 00:52:56 could you start drone on just one arch? i.e. skip x86 2019-02-26 00:53:14 for now, I mean, we will test it anyway 2019-02-26 00:53:36 I was trying to find an option to kick a build off but I don't think I can 2019-02-26 00:55:28 hmm, I had a day with a lot of my 'business' work, and in Alpine fixed the libxml2 and now testing different versions of crystal lang so don't have time and power to try android-tools on x86 2019-02-26 00:56:49 if you do not solve this x86 issue we can try tomorrow together, I'm now really tired 2019-02-26 00:57:16 yeah I'm kinda busy, got yet another box to piss about with because systemd is a waste of time these days 2019-02-26 00:57:20 really starting to not love it so much 2019-02-26 00:57:52 where you use systemd? 2019-02-26 01:05:26 systemd is funny :) 2019-02-26 01:05:42 some interesting ideas (as is usual with Lennart), but the details (design and implementation) are just awful 2019-02-26 01:06:14 then again, some things williamh does to openrc makes me want to fork it on the regular... 2019-02-26 01:06:26 I was one of the first users and proponents of systemd :( 2019-02-26 01:06:27 maybe one day alpine will be interested in forking it and I'll maintain/dev it ^^;; 2019-02-26 01:06:28 its failings are starting to outweight the benefit 2019-02-26 01:06:40 mps: well, the idea *is* interesting! 2019-02-26 01:06:57 it does this really good thing where it'll start half the system, then drop to an "emergency" console for some unimportant unit 2019-02-26 01:06:58 just... lennart bit off more than he could chew, and this time no large group jumped in to save it (like with pulse) 2019-02-26 01:07:08 rather than fail early 2019-02-26 01:07:15 yes, but where it ended is not interesting, really 2019-02-26 01:07:27 it could at least provide an ability to unfuck it remoely 2019-02-26 01:07:30 remotely* 2019-02-26 01:07:33 if it's gonna do stpid shit 2019-02-26 01:07:35 stupid* 2019-02-26 01:07:41 jwh: you mean ipmi, right? ;) 2019-02-26 01:07:50 but... it's still not s bad as busybox/openrc/alpine/whatever :D 2019-02-26 01:08:00 slight typo in interfaces, 0 networking 2019-02-26 01:08:10 just don't typo in interfaces! 2019-02-26 01:08:15 also, you know you can test your config, right? 2019-02-26 01:08:18 (ifup -n) 2019-02-26 01:08:18 it was main force which made me to switch to alpine 2019-02-26 01:08:24 it'll fail entirely even if its just an interface that doesn't appear quick enough 2019-02-26 01:08:27 like usb 2019-02-26 01:08:38 its uh 2019-02-26 01:08:51 not really good enough, but thats sysvinit heh 2019-02-26 01:08:53 jwh: also, if you have issues with openrc; ping me, I'll help (same with lxd) :) 2019-02-26 01:09:08 oh, you can use openrc-init to remove that :^) 2019-02-26 01:09:20 it's badly documented, and I'm not touching that codebase unless I get to refactor half of it 2019-02-26 01:09:25 it just needs better hotplug, but then init becomes everything else which we already have systemd for 2019-02-26 01:09:28 so 2019-02-26 01:10:47 for some reasons I'm starting to 'dislike' hotplug 2019-02-26 01:11:14 whatever is managing the system needs to be able to react to changes in config though 2019-02-26 01:11:24 can't just fire it once at boot and hope everything is ready 2019-02-26 01:11:42 but using networkmanager is just excessive (and hideous) 2019-02-26 01:11:56 I do find it kind of questionable that "usb nic" is coming into question in "can't debug it remotely" scenarios though 2019-02-26 01:12:06 was an example 2019-02-26 01:12:14 'someone' promised he will package iwd :) 2019-02-26 01:12:26 but certainly a case of where hardware might not be ready quick enough 2019-02-26 01:13:06 mps: you should whois me at some point, that'll be fun ;) 2019-02-26 01:13:09 also I will! 2019-02-26 01:13:14 I just have a lot of stuff before it on the todo list :/ 2019-02-26 01:13:25 for instance, in the last 4 days, I've worked for roughly 44h :D 2019-02-26 01:13:26 or if the user plugs in a nic after boot, it's pretty much expected that it'll work these days 2019-02-26 01:13:32 wait, 33h*, but still 2019-02-26 01:13:37 if 'someone' don't have time for iwd, maybe I will do it, i already prepared some thing 2019-02-26 01:13:46 feel free :) 2019-02-26 01:13:49 is iwd actually an improvement? 2019-02-26 01:13:50 do poke me re: openrc though 2019-02-26 01:14:00 jwh: it's a massive improvement to wpa_supplicant 2019-02-26 01:14:55 surely not featurewise though, wpa_supplicant can handle about a bazillion things 2019-02-26 01:15:03 i built connman-gtk as add-on to iwd 2019-02-26 01:15:12 I think I'd like it better if it didn't look like bluez config 2019-02-26 01:15:18 also incidentall an intel fuckup 2019-02-26 01:15:22 incidentally* 2019-02-26 01:15:26 TBB: I've yet to hear of a use-case that wpa_supplicant covers, but iwd didn't 2019-02-26 01:15:29 cli looks like bluetoothctl too 2019-02-26 01:15:51 if someone (maybe the one that said they'd try and do so) packaged D that'd be nice too ^^ 2019-02-26 01:15:58 iwd is big step forward, I hope 2019-02-26 01:16:02 but gdc is mainlining in gcc-9 2019-02-26 01:16:06 SpaceToast: you've surely read through the wpa supplicant example conf? that's a -lot- of ground to cover 2019-02-26 01:16:07 so that might make it much easier 2019-02-26 01:16:22 ACTION is just flapping his lips as usual 2019-02-26 01:16:24 TBB: I've read through wpa_supplicant.conf(5) 2019-02-26 01:17:42 WPA (personal and enterprise) - check; EAP-PEAP - check, EAP-TTLS - check, 802.1X - check 2019-02-26 01:17:54 EAP-TLS as well 2019-02-26 01:17:59 so that seems to cover basically everything 2019-02-26 01:18:18 but you also get some other stuff, like ad-hoc, being an AP rather than a client, etc 2019-02-26 01:18:37 SpaceToast: Rust lang eats a lot of my time which I have for Alpine 2019-02-26 01:18:50 mps: I can tell :( but you're doing a good job, so that's ok :) 2019-02-26 01:19:02 re: someone I meant danieli (who told me they'd try to get dmd and libphobos in) 2019-02-26 01:19:18 not good as I would like it to be 2019-02-26 01:19:33 I can certainly relate to that feeling 2019-02-26 01:19:49 still, you're very helpful, and no one's expecting perfection (I hope!) 2019-02-26 01:19:51 I did have a look at it but it wasn't trivial 2019-02-26 01:20:00 danieli: that's what I was worried about :/ 2019-02-26 01:20:03 remind me on wednesday when I'm home from work and I'll have another look 2019-02-26 01:20:08 alright, sure :) 2019-02-26 01:20:10 have you looked at gcc-9 btw? 2019-02-26 01:20:15 d is getting mainlined 2019-02-26 01:20:20 (might make things easier) 2019-02-26 01:20:28 yeah, I heard, but haven't looked it in the seams 2019-02-26 01:20:39 I've only kept up with the submission status, not how it's been done 2019-02-26 01:21:33 also i looked to gcc-9, seems it is in stage to be packaged right now, but I'm not expert on gcc 2019-02-26 01:21:59 gcc-9 isn't there yet 2019-02-26 01:22:18 in fact, it'll take until 9.3 for proper stability, but I'll be using it from 9.1 (which should come out... at some point?) 2019-02-26 01:22:37 no, I mean a plans about it 2019-02-26 01:23:04 gcc9 stage 1 is April 24 2019-02-26 01:23:42 oh wait that was last year 2019-02-26 01:23:48 stage 4 was Jan 4 2019-02-26 01:23:52 yeah, maybe it'll be 9.1 soon then 2019-02-26 01:24:07 yes, today is announced 8.3 and when reading bug fixes/improvements to 8.2 it looks hmm, a lot of things not 'fine' in 8.2 2019-02-26 01:24:30 GNU are erm... known for their "high quality" software, yes :/ 2019-02-26 01:24:39 unfortunately, llvm is very unlikely to mainline D 2019-02-26 01:24:46 hehe, right :) 2019-02-26 01:25:15 I see gcc-9:d as a (hopefully) convenient bootstrap tool 2019-02-26 01:26:01 having experience with all that good software I ask myself 'how anything work at the end' 2019-02-26 01:26:24 usually through sheer accident :D 2019-02-26 01:26:44 it's sad though, even with the amount of breakages llvm tends to have, it still looks oh so good in face of most GNU things :( 2019-02-26 01:27:13 I concluded that there must be some $DEITY which cares about all that :) 2019-02-26 01:27:40 a friend of mine's convinced I'm a minor deity, and I do care about the random things I make working... 2019-02-26 01:27:55 perhaps there are many other people like that that, through collective prayers for things to not fall apart, are keeping the world afloat~ 2019-02-26 01:28:11 anyway, we've gone offtopic now, I think, and I've resting to attend to :) 2019-02-26 01:28:14 \o till tomorrow 2019-02-26 01:29:17 right, going out to clear air and smoke one cigarette before going to bed. Good night to all 2019-02-26 04:45:27 Can someone please merge https://github.com/alpinelinux/aports/pull/6179 ? I'm finished with the openjdk9, 10 and 11 ports and would love to finally get them into alpine 2019-02-26 07:23:02 bratkartoffel: re openjdk10 and 11: https://github.com/alpinelinux/aports/pulls?utf8=%E2%9C%93&q=is%3Apr+is%3Aopen+openjdk 2019-02-26 07:32:58 SpaceToast, hi! 2019-02-26 07:37:34 ncopa: yes, I saw the other PRs by hjaekel. I'm currently taking a look on his changes, but I think he is missing some patches for other archs. I've also branches for 10 and 11 ready to be sent, I just wanted to wait for my 9 to get merged. 2019-02-26 08:12:37 bratkartoffel: https://cloud.drone.io/alpinelinux/aports/76/1/2 2019-02-26 08:22:52 bratkartoffel_: have a look at his crypto tests 2019-02-26 08:25:14 im gonna push your pr with a few modifications 2019-02-26 08:25:33 the pkgver is 9.0.4_p12 2019-02-26 08:25:47 and i will split the src.zip to its own subpackage 2019-02-26 08:26:23 i also reorder the package splitting so we dont need move back stuff in headless 2019-02-26 08:27:28 i also move the first lines in build() to prepare 2019-02-26 08:27:53 so it is possible to re-run `abuild build` multiple times 2019-02-26 09:04:40 ncopa: thanks for merging + enhancing this one. I see that the drone build fails due to timeouts von armv7 / armhf and due to a compile error on x86. I'll take a look at this after work. 2019-02-26 10:38:11 can anyone who have right to do scp upload to dev.alpinelinux.org, trigger snapshot for community/crystal, i.e. 'abuild snapshot' 2019-02-26 10:38:29 ok 2019-02-26 10:38:39 adding a new package to testing is just a matter to submit a PR and get it reviewed? 2019-02-26 10:39:06 clandmeter: in stable, forgot to add 2019-02-26 10:39:27 ACTION slaps mps with edge snapshot 2019-02-26 10:40:12 fabo: correct 2019-02-26 10:40:20 probably will work on edge, but would be better in stable, so we will know it works on stable with libxml2 patch from yesterday 2019-02-26 10:42:01 clandmeter: thanks 2019-02-26 10:47:17 mps: looks like its not using all threads 2019-02-26 10:47:36 only uses one core 2019-02-26 10:48:57 right, but didn't wanted to fiddle with this for now 2019-02-26 10:50:15 I planned to investigate this later (a lot later) 2019-02-26 10:50:40 ok. its just very slow now. 2019-02-26 10:51:06 it takes about 30 minutes on my box 2019-02-26 10:52:07 and, don't forget both arch's, x86_64 and aarch64 2019-02-26 10:52:26 i dont htink i have a stable aarch64 2019-02-26 10:53:27 oh i have 2019-02-26 10:53:33 ok, then on edge. 2019-02-26 10:53:44 aha, nice 2019-02-26 10:58:14 upload fails 2019-02-26 10:58:21 incorrect permissions of the target directory 2019-02-26 11:00:19 how I can help with this 2019-02-26 11:02:11 ok i moved x86_64 manually 2019-02-26 11:02:19 should be available now 2019-02-26 11:02:53 it is, I see it there 2019-02-26 11:03:05 aarch64 will take considerably longer. 2019-02-26 11:03:40 no problem, I'm not in hurry. Thanks for help 2019-02-26 11:33:09 clandmeter: aarch64 of the crystal static is there. Thanks, now I could start preparing new version APKBUILD 2019-02-26 11:33:57 yup 2019-02-26 11:47:38 clandmeter: fyi, forgot to tell that crystal isn't multi-threaded yet 2019-02-26 13:06:39 i think have a way to create vfat release image 2019-02-26 13:06:43 for efi 2019-02-26 13:07:19 would be nice to have an alpine-standard-aarch64.img 2019-02-26 13:07:32 and maybe even x86_64 2019-02-26 13:08:02 it is currently inconvenient to create a bootable efi image 2019-02-26 13:08:07 for aarch64 2019-02-26 13:09:08 i wonder if we should generate a grub.efi for our netboot release 2019-02-26 13:29:15 _ikke_: re community/memtester 2019-02-26 13:29:46 we normally add new packages to testing repo first 2019-02-26 13:30:14 only time when we add directly to community or main is when we update a main or community package that introduces new dependency 2019-02-26 13:37:25 ncopa: re aarch64 image with grub efi, what's your issue? we have such oe images for some boards 2019-02-26 13:53:29 fabo: the issue is that it is not trivial to create an alpine efi boot image for aarch64, if you dont have a aarch64 system handy 2019-02-26 13:53:55 none of our aarch64 release images gives you the boot.efi file 2019-02-26 13:54:55 so i was thinkgin that we could ship an alpine-aarch64.img disk image that you can simply dd 2019-02-26 13:55:20 ncopa: on oe, we create the boot image on x86. it requires dd/dosfstools/mtools 2019-02-26 13:56:09 which dev board is targeted? 2019-02-26 13:56:31 xgene atleast 2019-02-26 13:56:37 would be nice with something generic 2019-02-26 13:56:59 how do you create the grub efi file? 2019-02-26 13:58:17 and how do you create the GPT partitions? 2019-02-26 13:58:50 ncopa: with grub-mkimage (https://github.com/96boards/meta-96boards/blob/master/recipes-bsp/grub/grub-efi_2.%25.bbappend) 2019-02-26 13:59:27 ok 2019-02-26 14:00:32 ncopa: for the GPT partitions, we use gptfdisk (create an image with dd then use gptfdisk) 2019-02-26 14:01:07 it will require some work to make it more generic, but it could be worth looking as a starting point 2019-02-26 14:01:39 https://github.com/96boards/meta-96boards/blob/master/recipes-bsp/uefi/edk2-hikey_git.bb 2019-02-26 14:16:31 <_ikke_> ncopa: hmmm, I though it did that, sorry 2019-02-26 14:16:36 <_ikke_> ncopa: Maybe I confused PRs 2019-02-26 14:17:26 you did 2019-02-26 14:17:32 just not edited commit msg 2019-02-26 14:22:41 fabo: so as i understand, you generate the efi binary with grub-mkimage, which you mcopy into a fat parition image 2019-02-26 14:23:20 how do you get the fat partition image into the full disk image with GPT? 2019-02-26 14:27:33 looks like you dont 2019-02-26 14:27:52 looks like you create a partition table image, with only the partition table 2019-02-26 14:28:26 so i guess you need to dd if=ptable-linux-4g.img of=/dev/disk 2019-02-26 14:28:38 make kernel reload the partition table on /dev/disk 2019-02-26 14:29:01 and then dd if=boot.img of=/dev/ 2019-02-26 14:33:33 <_ikke_> ncopa: Indeed, I asked the author to move it to testing first, but the commit message wasn't updated 2019-02-26 14:35:58 so it got added to testing but commit message was wrong? 2019-02-26 14:36:44 not a big deal, but we should probably try be consequent on adding packages to testing only 2019-02-26 14:44:52 <_ikke_> yes, I agree 2019-02-26 14:44:57 <_ikke_> And yes, that's the case 2019-02-26 15:09:45 ncopa: correct, we don't a single full disk image 2019-02-26 15:10:02 +have 2019-02-26 18:38:42 is it considered as bad manner to post issue to bugs.a.o which will request upgrade of package and after that send patch for upgrade to patchwork.a.o 2019-02-26 18:39:23 simulating PR on github, actually 2019-02-26 18:39:32 :) 2019-02-26 18:39:45 depends a bit on how important the upgrade is 2019-02-26 18:40:38 mps: which patch is it? 2019-02-26 18:40:53 im trying to prioritize things fro v3.9 branch now 2019-02-26 18:41:03 ie bugfixes 2019-02-26 18:41:10 hmm, how one knows how it is important. for sender of the patch it is probably important but for other it could totally opposite 2019-02-26 18:41:45 crystal lang upgrade to 0.27.2, and it is for edge not stable 2019-02-26 18:42:11 ok, then it will have to wait a bit 2019-02-26 18:42:21 also, i woudl like to merge the llvm stuff you did 2019-02-26 18:42:34 I could send patch to patchwork.a.o but then I have to annoy you and other here about it 2019-02-26 18:42:49 send it to patchwork 2019-02-26 18:42:58 and feel free to annoy me after v3.9.1 is out 2019-02-26 18:43:14 regarding llvm, they announced version 8.0 for the end of this month 2019-02-26 18:43:26 right, i hope to merge llvm6 this week 2019-02-26 18:43:57 maybe we could skip llvm6? I don't have strong opinion yet 2019-02-26 18:44:39 if they release it on time and we test it and everything went fine, I mean 2019-02-26 18:45:26 but llvm7 is not on the horizon yet, i.e. it looks like it is far behind horizon :) 2019-02-26 18:46:15 and around 1 april we should have a feature freeze 2019-02-26 18:46:22 llvm 7.1 I mean, huh should look before pressing enter 2019-02-26 18:46:50 so gcc, clang and others should be frozen in the beginning of april 2019-02-26 18:47:27 is it realistic to have rust for more arches before beginning of april? 2019-02-26 18:48:04 aha, ok. we should consider llvm in a few days. Don't know any package which needs llvm7 or llvm8 2019-02-26 18:48:34 yes, i want do llvm this week 2019-02-26 18:48:42 need to get 3.9.1 out first 2019-02-26 18:48:45 rust will be ready for armv7 and aarch64, I hope 2019-02-26 18:48:58 i have fixed the release script for armv7 i think 2019-02-26 18:49:12 it works for some packages but didn't tested it a lot 2019-02-26 18:49:16 and made it generate efi executable for aarch64 2019-02-26 18:49:55 there is still a nasty bug in python3 that affects rpi3 aarch64 2019-02-26 18:50:08 https://bugs.python.org/issue36107 2019-02-26 18:50:34 I don't know python and have 'fear' to look at python packages 2019-02-26 18:50:36 oh, we should upgrade python to 3.7 also 2019-02-26 18:51:00 its pythons C code thats buggy i think 2019-02-26 18:51:12 sounds like buffer overflow 2019-02-26 18:51:20 what about iwd? I talked with nice iwd people on #iwd channel 2019-02-26 18:51:22 its a bit weird that it only affects rpi 2019-02-26 18:51:32 what is iwd? 2019-02-26 18:51:53 Internet Wireless Daemon 2019-02-26 18:52:13 https://iwd.wiki.kernel.org/ 2019-02-26 18:52:25 ah, that is intels wpa_supplicant replacement 2019-02-26 18:52:30 yes 2019-02-26 18:52:34 i was thinking of it today or yesterday 2019-02-26 18:52:42 we should make that work too 2019-02-26 18:52:58 I made apk of ell libs on which iwd depends 2019-02-26 18:53:27 and first version of iwd, but didn't tested it 2019-02-26 18:54:08 to repeat myself, I talked with iwd developers about packaging and ideas 2019-02-26 18:55:04 looks like kernel needs patches before 4.20 2019-02-26 18:55:19 for now they bundle ell libs with iwd but they have plan to make it separate because ell libs will be used for bluez and ophono 2019-02-26 18:56:07 I think kernel needs some options enabled and could work with 4.19, but not tested that 2019-02-26 18:57:19 I would like to hear from you and other Alpine developers which option is better:: package ell and iwd separately or in one apk 2019-02-26 18:57:58 knowing that in the future they will separate it and ell will be used for bluez and ophono 2019-02-26 18:58:37 although they make right now separate packages already 2019-02-26 18:59:26 im about to make an edge release 2019-02-26 18:59:36 eg a rolling snapshot release 2019-02-26 18:59:42 <_ikke_> the first one, right/ 2019-02-26 18:59:44 <_ikke_> ? 2019-02-26 18:59:47 <_ikke_> or did you make them earlier 2019-02-26 19:00:07 i did earlier 2019-02-26 19:00:15 last time was v160223 2019-02-26 19:00:19 2016 2019-02-26 19:00:35 i think i will tag it as v20180226 2019-02-26 19:00:58 which makes it more visible as snapshot 2019-02-26 19:01:03 <_ikke_> ah ok 2019-02-26 19:01:07 i wonder what I should use for alpine-base version 2019-02-26 19:01:21 its currently 3.9.0 2019-02-26 19:01:31 i was thinking 3.9.0_alpha1 2019-02-26 19:01:53 s/3.9.0/3.10.0/ 2019-02-26 19:02:08 3.10.0_alpha1 2019-02-26 19:02:19 or maybe 3.10_alpha1 2019-02-26 19:02:45 or maybe even 3.10_alpha 2019-02-26 19:02:46 <_ikke_> ok, so it's more like a pre-release then a rolling release snapshot 2019-02-26 19:03:05 it is actually a rolling release snapshot 2019-02-26 19:03:34 but as soon we get our 3.10 RC out, we will make version to 3.10 2019-02-26 19:04:04 and 3 (in 3.10) as smaller than the number 20190226 2019-02-26 19:04:10 so apk will not upgrade 2019-02-26 19:04:28 that is why i am thinking of use 3.10_alpha 2019-02-26 19:04:42 i could also call it 3.10_pre 2019-02-26 19:07:36 i dont remember if _pre is treated older or newer than _rc 2019-02-26 19:08:25 <_ikke_> by what 2019-02-26 19:08:27 <_ikke_> / 2019-02-26 19:08:29 <_ikke_> ? 2019-02-26 19:08:38 <_ikke_> apk? 2019-02-26 19:08:52 foo-1.0_rc1 and foo-1.0_pre1 2019-02-26 19:09:01 which will apk treat as the newest? 2019-02-26 19:09:24 <_ikke_> How would an aports tag affect apk? 2019-02-26 19:09:57 <_ikke_> is it because alpine-base follows aports tags? 2019-02-26 19:10:12 if i make pkgver=20190226 now 2019-02-26 19:10:28 and later change it to 3.10.0_rc1 2019-02-26 19:10:43 then will apk not upgrade from 20190226 2019-02-26 19:10:58 because it will treat the version number as higher 2019-02-26 19:11:05 <_ikke_> right 2019-02-26 19:11:11 <_ikke_> 20190226 > 3 2019-02-26 19:11:13 it will compare 20190226 with 3 2019-02-26 19:11:15 yes 2019-02-26 19:11:26 and if we do pkgver=2019.02.26 2019-02-26 19:11:31 <_ikke_> it still is 2019-02-26 19:11:35 apk will say that 2019>3 2019-02-26 19:11:51 so i think we need to set pkgver=3.10something 2019-02-26 19:12:11 3.10_alpha20190226 will work 2019-02-26 19:12:46 3.10_alpha, 3.10_beta and 3.10_pre will work 2019-02-26 19:13:21 cat >"$pkgdir"/etc/issue< Welcome to Alpine Linux ${pkgver%.*} 2019-02-26 19:13:38 we also generate the "welcome to Alpine" message from alpine-bas 2019-02-26 19:13:51 so what do we want to see when we boot edge snapshot? 2019-02-26 19:14:26 currently my edge desktop say "welcome to Alpine 3.9" 2019-02-26 19:15:23 it woudl be nicer with "Welcome to Alpine edge $date" 2019-02-26 19:16:28 do we want create iso image too? 2019-02-26 19:16:46 currently we only generate minirootfs and netboot 2019-02-26 19:17:59 <_ikke_> Does it make sense to generate an iso? 2019-02-26 19:18:17 it may be handy 2019-02-26 19:18:25 but it will also eat space on the mirrors 2019-02-26 19:18:27 ok 2019-02-26 19:18:35 lets not do that 2019-02-26 19:18:45 i think i will only generate minirootfs for now 2019-02-26 19:19:13 <_ikke_> trying to grasp the logic of apk_version_compare_blob_fuzzy 2019-02-26 19:20:01 $ apk version --test "1.0_rc1" "1.0_pre1" 2019-02-26 19:20:01 > 2019-02-26 19:20:26 <_ikke_> right, was looking for that 2019-02-26 19:20:55 static const char *pre_suffixes[] = { "alpha", "beta", "pre", "rc" }; 2019-02-26 19:22:24 i think 3.10_pre$datestamp is sort of nice 2019-02-26 19:24:01 we can also do 3.9_git20190226 2019-02-26 19:24:57 <_ikke_> right, postfix 2019-02-26 19:25:07 <_ikke_> makes sense 2019-02-26 19:25:39 but that will make 3.9.1 > 3.9_git20190226 2019-02-26 19:26:00 so i think we can only use _alpha, _beta or _pre 2019-02-26 19:26:08 ncopa: you asked for it :) https://patchwork.alpinelinux.org/patch/4527/ nice people in crystal lang community will be thankful because they could build static crystal applications only on Alpine 2019-02-26 19:26:18 <_ikke_> ncopa: right, was just testing that 2019-02-26 19:29:28 i think 3.10_pre20190226 is what looks best 2019-02-26 19:29:50 <_ikke_> ok 2019-02-26 19:30:02 _alpha is sort of good because it indicates that it is not stable 2019-02-26 19:30:30 but _alpha also sounds like its broken 2019-02-26 19:30:46 hmm maybe thats a good thing :) 2019-02-26 19:31:08 <_ikke_> https://github.com/RUB-NDS/TLS-Padding-Oracles 2019-02-26 19:32:51 _ikke_: does it affect libressl? 2019-02-26 19:32:59 seems like openssl 1.1.1 is not affected 2019-02-26 19:52:51 crystal is slow 2019-02-26 19:55:37 single threaded 2019-02-26 19:57:14 I tested it on both arch's (x86_64 and aarch64) before posted patch 2019-02-26 19:58:48 btw, I resolved dilemma about packaging iwd and ell. Debian, Fedora and Void make separate packages, only Arch have both in one 2019-02-26 19:59:15 I think we should make separate apk's. what do you think? 2019-02-26 20:48:14 yeah, i think you can split out the runtime libs 2019-02-26 20:49:54 <_ikke_> yay, all my packages are considered up-to-date by repology :) 2019-02-26 20:53:17 _ikke_: there is Alpine? didn't know 2019-02-26 20:53:40 <_ikke_> mps: Yes, Alpinelinux is tracked by repology 2019-02-26 20:54:03 <_ikke_> https://repology.org/projects/?inrepo=alpine_edge 2019-02-26 20:55:24 thanks 2019-02-26 20:56:10 ncopa: yes, for iwd pkcs8 missing in kernel 4.19 2019-02-26 21:07:49 mps: so it may make sense to add it to testing for now, and fix it properly on next kernel upgrade 2019-02-26 21:09:03 I think so, but will ask on #iwd channel. do you plan to upgrade kernel for next stable 2019-02-26 21:20:33 ncopa: this bug (Kernel 4.20+ is required for this feature.) in iwd is just a warning, not bug 2019-02-26 21:23:17 we can even patch 4.19 if we want to have 'WPA-Enterprise connections using TLS' in iwd 2019-02-26 22:28:20 iwd works on Alpine with kernel 4.19.18-0-vanilla. whoohoo 2019-02-26 22:31:03 \o/ 2019-02-26 22:31:09 mps: can it do AP mode? 2019-02-26 22:32:38 looks like it can, just built it, need to prepare apk and check all that configs 2019-02-26 22:33:08 just testing if iwctl works 2019-02-26 22:33:47 will need few days to check and prepare proper APKBUILD 2019-02-26 22:33:50 ah ok 2019-02-26 22:33:52 still, great job, ty :D 2019-02-26 22:34:54 last few days I worked on crystal lang, today it is finished, now I have to go back to rust and in meantime to test iwd 2019-02-26 22:50:50 SpaceToast: for now can't find how to set it in AP mode :( don't know is it possible at all. will see 2019-02-26 22:51:48 I know it's possible 2019-02-26 22:51:54 idk if you can make it persistent though 2019-02-26 22:52:19 in iwctl you can see it under the "Access Point:" section 2019-02-26 22:53:08 :(( 2019-02-26 22:53:10 sadface 2019-02-26 22:55:01 "Start an access point called "network name" with a passphrase" you mean 2019-02-26 22:56:56 to iwctl command 'ap wlan0 start "xyzasd" 123456qwertt' answer is 'No ap on device: 'wlan0'' 2019-02-26 22:57:28 and 'ap list' says 'No devices in access point mode available.' 2019-02-26 23:05:08 yeah you have to switch it to that mode 2019-02-26 23:05:16 something along those lines, I'm at work right now so I can't verify 2019-02-26 23:06:14 ok, no problem, we have some time before next freeze. good night 2019-02-26 23:06:35 meh, next Alpine edge freeze 2019-02-26 23:06:44 \o 2019-02-26 23:06:51 jwh: what's wrong? 2019-02-26 23:07:40 my PRs are still open without comments :P 2019-02-26 23:10:48 probably gonna close the lxd one 2019-02-26 23:11:01 should be a release in a week or so judging by previous ones 2019-02-26 23:19:14 Sadly there are tons of PRs open without comments 😞 2019-02-26 23:20:43 heh 2019-02-27 04:42:16 hi, is this an okay place to poke people about failing binary repo package builds? 2019-02-27 04:45:16 fwiw the wiki page is missing some information on apk, such as the --virtual option: https://wiki.alpinelinux.org/wiki/Alpine_Linux_package_management 2019-02-27 04:45:21 speak :D 2019-02-27 04:48:46 looks like libvpx update on edge today broke some things on arm 2019-02-27 04:49:13 or, maybe not just on arm 2019-02-27 04:50:17 https://build.alpinelinux.org/buildlogs/build-edge-armhf/community/vlc/vlc-3.0.6-r1.log is popping up for everything that depends on libvpx, seems like 2019-02-27 04:52:12 unrelated note, it'd be nice to have arm-none-eabi (GNU Arm Toolchain) part of the alpine packages (community, extra, or other) 2019-02-27 04:55:55 looks from here like they want libvpx.so.4, but the update built .6 2019-02-27 04:55:58 https://build.alpinelinux.org/buildlogs/build-edge-armhf/main/libvpx/libvpx-1.8.0-r0.log 2019-02-27 04:57:02 anyways, idk how this usually gets resolved, just wanted to bring it up 2019-02-27 06:48:48 foldedcascode: i was me who pushed it so I need to fix it ASAP 2019-02-27 06:49:07 things like this is why there are so many open PRs 2019-02-27 06:49:48 there was like 3 different open PRs for libvpx. I had to spend time on figure out which to pick 2019-02-27 06:49:58 and comment on the others 2019-02-27 06:50:38 the PR failed on travis, but was explained that it was due to too much time to build 2019-02-27 06:50:43 so i built it locally 2019-02-27 06:50:59 and it failed on one package 2019-02-27 06:51:10 gst-plugins-good 2019-02-27 06:51:15 which i spent time to fix 2019-02-27 06:51:24 and then i pushed 2019-02-27 06:51:45 only to find out that it was broken on many other arches.... /o\ 2019-02-27 08:04:03 ncopa: ah well. thanks for taking a look! 2019-02-27 08:17:02 foldedcascode: thanks for the poke 2019-02-27 08:17:36 and to answer that question, yes, its definitively ok to poke ppl about build failures here 2019-02-27 08:22:15 ncopa: when you are here, how we should ell libs package. ell is dependency for iwd about which we talked yesterday 2019-02-27 08:22:51 libell, ell-libs or just ell 2019-02-27 08:23:20 we will -dev package also 2019-02-27 08:24:47 in void linux it is named simply 'ell' 2019-02-27 08:25:56 in debian it is 'libell0' 2019-02-27 08:26:57 I'm personally for 'ell' and 'ell-dev' but want to hear what other thinks 2019-02-27 08:27:40 mps: is the ell sources shipped in its own source package, and will be its own APKBUILD? 2019-02-27 08:27:52 or is it shipped with iwd source package 2019-02-27 08:28:37 source is ell-version.tar.gz 2019-02-27 08:29:20 it is also bundled with iwd but will be split out when iwd 1.0 is released 2019-02-27 08:29:34 are there any binaries in addition to the libs? 2019-02-27 08:29:54 no, ell just libs 2019-02-27 08:30:04 then it makes no sense to split out ell-libs 2019-02-27 08:30:25 build it as "ell" and add "ell-dev" subpackage 2019-02-27 08:30:28 and -doc 2019-02-27 08:30:47 Debian, Fedora and Void already use separate packages of ell and iwd 2019-02-27 08:30:56 yeah, makes sense 2019-02-27 08:30:59 lets do that 2019-02-27 08:31:02 only Arch use bundled 2019-02-27 08:31:44 they don't have docs ready right now, but we could make something simple 2019-02-27 08:32:56 btw, did you read backlog of this channel from last night 2019-02-27 08:33:22 iwd works with kernel 4.19 on my test box 2019-02-27 08:37:45 i saw, very nice 2019-02-27 08:38:40 I'll try to finish ell APKBUILD today and post it 2019-02-27 08:38:41 damn, patchwork and github is a mess 2019-02-27 08:38:55 lots of duplicated stuff 2019-02-27 08:39:06 mps: did you see the clang stuff on github? 2019-02-27 08:39:22 no? give me url 2019-02-27 08:49:29 crazy idea: make a github webhook that searches patchwork for similar patches when new PR is created 2019-02-27 08:49:55 and I wonder if we can kick out patchwork if we get our own gitlab? 2019-02-27 08:51:38 mps: the reason i tend to look at github PRs over patchwork is that with github we have CI that runs a test compile for us 2019-02-27 08:51:45 and tells me if it builds or not 2019-02-27 08:51:59 which is half the work done already 2019-02-27 08:52:01 yes that was my idea also 2019-02-27 08:52:46 yes we should have proper ci 2019-02-27 08:52:54 we shbould not need t o build anything local anymore 2019-02-27 08:53:11 just a matter of fetching the PR and merge it 2019-02-27 08:53:16 if we like it 2019-02-27 08:57:46 ncopa: yes, I know, and only reason I didn't registered to github is the hope that Alpine will move to gitlab (soon) 2019-02-27 08:59:34 imo, gitlab is better than github and it is more 'safe' in case github finish their mission of the extend, embrace and extinguish 2019-02-27 09:02:25 clandmeter: I still thinks that is good to have local builds (as an option) where we can see and control build process. that fits better to my workflow 2019-02-27 09:03:13 mps: you always need to have an option for local builds, else you are no developer anymor ;-) 2019-02-27 09:03:57 of course, CI is good and useful for a lot of works 2019-02-27 09:29:41 <_ikke_> hmm, it misses a dependency 2019-02-27 09:30:26 sopel? 2019-02-27 09:31:14 <_ikke_> yes 2019-02-27 09:31:22 <_ikke_> unit tests didn't catch that apparently 2019-02-27 09:31:44 <_ikke_> pkg_resources.DistributionNotFound: The 'dnspython<3.0' distribution was not found and is required by sopel 2019-02-27 09:31:54 i always try to read the setup.py 2019-02-27 09:32:16 <_ikke_> right, good tip 2019-02-27 09:33:43 i was looking if there was a way to read it and alarm about missing deps. 2019-02-27 09:33:53 couldnt find much, but im not into python that much. 2019-02-27 11:21:50 <_ikke_> setup.py doesn't mention dnspython 2019-02-27 11:24:05 <_ikke_> ah, its in requirements.txt 2019-02-27 11:35:22 <_ikke_> .uptime 2019-02-27 11:35:22 I've been sitting here for 0:00:33 and I keep going! 2019-02-27 12:35:31 is there a toolchain guy that can take a look at https://bugs.alpinelinux.org/issues/10030 ? 2019-02-27 15:04:06 whee! edge builders are finally ok 2019-02-27 15:04:19 i think i better tag snapshot release before something new happens 2019-02-27 15:04:34 ugh.. 2019-02-27 15:04:40 and ofc something new already happened 2019-02-27 15:04:45 kernel 4.19.26 2019-02-27 15:08:07 :) 2019-02-27 15:08:58 ha, tagging snapshot release make builders behave funny :) 2019-02-27 15:09:41 partying hard? 2019-02-27 15:10:48 is this a first in regular series? 2019-02-27 15:11:46 clandmeter: what do you mean? 2019-02-27 15:13:00 you are tagging a edge snapshot i presume? 2019-02-27 15:13:10 we were talking about regular edge releases 2019-02-27 15:13:14 before 2019-02-27 15:26:16 yes 2019-02-27 15:26:33 yes i hope to tag edge snapshots monthly 2019-02-27 15:26:42 or bi-monthly 2019-02-27 15:26:48 or similar 2019-02-27 16:07:14 ncopa: I prepared APKBUILD for ell libs. anyone are willing to look at it before I post it to patchwork.a.o 2019-02-27 16:07:50 it is here: http://tpaste.us/RgM4 2019-02-27 16:08:11 comments and patches are welcome 2019-02-27 16:08:53 check is disabled because there is bug in unit tests which I reported upstrem. they will look at it 2019-02-27 16:38:37 The openjdk9 aport is really strange... Cross-Compiling for all archs works, but "real" compile on 32 bit qemu-systems fails 2019-02-27 17:13:25 mps: i think it looks good enough for merge, just need a comment in there explaning why check is disabled 2019-02-27 17:13:58 maybe even with url to upstream bug so its easy for next person to see if it can be enabled again 2019-02-27 17:18:59 don't have upstream url because I reported issue in #iwd IRC channel 2019-02-27 17:19:48 I can copy messages from irc but that will bloat APKBUILD, I fear 2019-02-27 17:20:24 anyway, most distro don't run check on it 2019-02-27 17:21:37 other option if someone knows how specific unit test could be removed from Makefiles to post patch for that 2019-02-27 17:22:25 btw, iwd works on Alpine stable with kernel 4.4.174, on my chromebook 2019-02-27 17:23:37 ncopa: so if you're going to backport qt5-qtwayland to 3.9, can I expect it in 3.9.1 or will it come earlier? 2019-02-27 18:50:39 I posted ell APKBUILD to patchwork.a.o https://patchwork.alpinelinux.org/patch/4528/ anyone interested please review 2019-02-27 18:51:43 SpaceToast: yes, iwd could be set in AP mode 2019-02-27 18:52:49 I have to prepare init script and config files for it, but it looks fine 2019-02-27 18:53:47 \o/ 2019-02-27 18:59:09 SpaceToast: look here: http://tpaste.us/9gnP address is obfuscated of course 2019-02-27 18:59:41 looks good! 2019-02-27 18:59:51 as usual, if you need help with anything openrc, do feel free to ask me :) 2019-02-27 19:00:20 that is thing which I searching for 2019-02-27 19:00:55 only that is missing 2019-02-27 19:01:38 right now I'm looking to gentoo init script 2019-02-27 19:02:46 it looks somewhat strange to my eyes, but I'm far from expert in that 2019-02-27 19:03:07 let me take a look at it 2019-02-27 19:03:31 could post url in ten minutes, right now I'm out 2019-02-27 19:03:45 no, no, looks about right 2019-02-27 19:03:54 https://gitweb.gentoo.org/repo/gentoo.git/tree/net-wireless/iwd/files/iwd.initd 2019-02-27 19:03:54 ah, ok 2019-02-27 19:03:55 this, right? 2019-02-27 19:04:06 I think it is 2019-02-27 19:04:15 yeah that looks about correct 2019-02-27 19:04:27 I'd also add a "before net", maybe, in the depends 2019-02-27 19:04:37 but this is what most services should generally look like 2019-02-27 19:04:47 do you think it can be used? 2019-02-27 19:05:00 if we have the same paths, sure 2019-02-27 19:05:38 ok, then I will stole it and put. we can fix it if something doesn't work for us 2019-02-27 19:06:00 yes, path is /usr/libexec/iwd 2019-02-27 19:06:59 and, btw, where to put dbus 'script' 2019-02-27 19:07:12 ? 2019-02-27 19:07:20 usr/share/dbus-1/system.d/iwd-dbus.conf 2019-02-27 19:07:38 wherever dbus will pick it up, I'd imagine 2019-02-27 19:07:49 I'm not that familiar with dbus, tbfh, beyond some unfortunate details 2019-02-27 19:07:51 system.d looks strange, but it works 2019-02-27 19:08:57 and I think we should not use ead for now, other distros also don't use it 2019-02-27 19:09:28 I'm not even sure what ead is 2019-02-27 19:09:44 ethernet auth daemon 2019-02-27 19:10:23 iwd for wired ethernet, at the end 2019-02-27 19:11:56 I think we should skip ophono and bluez in first version for Alpine 2019-02-27 19:12:11 anyway we don't have ophono 2019-02-27 19:12:22 mhm 2019-02-27 19:12:33 ead seems mostly separate, we can do that later for sure 2019-02-27 19:13:01 bluez would be good to have later - many laptop systems use bluetooth for at least one peripheral 2019-02-27 19:13:02 my mind agrees with you 2019-02-27 19:13:22 we currently have a pretty bad reputation when it comes to client-facing devices, and having bluez in-tree would be a step towards improving that :) 2019-02-27 19:13:30 yes, we should go in that step by step I think 2019-02-27 19:13:38 yeah, for now just iwd seems good - it's useful both on servers and clients 2019-02-27 19:14:20 nice that we agree, we will do that way 2019-02-27 19:14:42 sounds good to me :) 2019-02-27 19:14:49 I can post later APKBUILD for you if you want to look at it 2019-02-27 19:15:16 sure, I'll try and make sure there aren't any extraneous default overrides 2019-02-27 19:17:01 ok, see you later 2019-02-27 20:38:25 SpaceToast: would you like 'git format-patch' or APKBUILD and iwd.initd files 2019-02-27 20:38:58 I'm a bit busy right now (dealing with some "special" people atm :/) 2019-02-27 20:39:07 so feel free to git-format-patch to toast@toastin.space 2019-02-27 20:39:12 I'll reply by email once I've some time, ok? 2019-02-27 20:40:29 ok, we are not in hurry, but your review will be appreciated. so, easy :) 2019-02-27 20:50:46 <_ikke_> Anyone got a comment on https://github.com/alpinelinux/aports/pull/6442#issuecomment-468002915? 2019-02-27 20:52:37 I'm guessing that person, by "hashed zip", means a tarball of a specific commit? 2019-02-27 20:52:50 <_ikke_> danieli: yes, I assume that as well 2019-02-27 20:53:06 so... how do I trigger another drone build? :D 2019-02-27 20:53:11 you can replace ".zip" in that link with ".tar.gz" and use that, if there are no releases available 2019-02-27 20:53:57 <_ikke_> jwh: iirc, you have to push again. So something like git commit --amend -C@; git push --force-with-lease 2019-02-27 20:54:06 oh 2019-02-27 20:54:08 hmp 2019-02-27 20:54:10 hmph 2019-02-27 20:54:36 <_ikke_> danieli: hmm: http://pyropus.ca/software/memtester/old-versions/ 2019-02-27 20:55:05 well, https://cloud.drone.io/alpinelinux/aports/75/1/2 2019-02-27 20:55:12 theres nothing wrong with the port, builder sucks 2019-02-27 20:56:02 <_ikke_> drone.io is new for us, so of course there can still be issues 2019-02-27 20:56:26 well, it looks like a linker issue so either it just happened to build during a rebuild or something 2019-02-27 20:56:31 or its broken on x86 2019-02-27 20:57:01 I don't think it's drone related 2019-02-27 20:57:45 <_ikke_> danieli: do you happen to know how to get an archive from kernel.org (cgit)? 2019-02-27 20:58:09 <_ikke_> ah, found it 2019-02-27 20:58:19 ha 2019-02-27 20:58:22 that was quick 2019-02-27 20:58:39 roughly 37 seconds 2019-02-27 20:58:59 <_ikke_> But his comment was that it's more common to use snapshots than to download commit archives 2019-02-27 20:59:04 i sometimes use hashes 2019-02-27 20:59:06 oh, lol, that command broke it D 2019-02-27 20:59:07 :D 2019-02-27 20:59:23 <_ikke_> clandmeter: is there a preference? 2019-02-27 20:59:42 preference is to ask upstream to do a tag :) 2019-02-27 20:59:45 <_ikke_> heh 2019-02-27 21:00:00 https://cloud.drone.io/alpinelinux/aports/116 2019-02-27 21:00:01 RIP 2019-02-27 21:00:08 <_ikke_> apparently there used to be tagged releases, but the last one was from 2012 2019-02-27 21:00:09 making a snapshot makes no sense if you can fetch a hashed tarball 2019-02-27 21:00:25 <_ikke_> right, that was my feeling as well 2019-02-27 21:00:46 so I normally just add a _sha= to the apkbuild 2019-02-27 21:01:04 <_ikke_> right 2019-02-27 21:01:05 and set a proper version 0.whatetver_gitdate 2019-02-27 21:01:37 where the version would be the last known version 2019-02-27 21:01:39 <_ikke_> If I look here http://pyropus.ca/software/memtester/old-versions/ 2019-02-27 21:01:45 <_ikke_> 4.3.0 2019-02-27 21:02:57 <_ikke_> jwh: sigh :-) 2019-02-27 21:03:26 and why is it called mmc-utils? 2019-02-27 21:03:32 _ikke_: probably me :D 2019-02-27 21:03:44 oh 2019-02-27 21:03:57 its because drone fetches master first, then merges pr 2019-02-27 21:04:01 rebased, easymode 2019-02-27 21:05:08 jwh im looking at that atm 2019-02-27 21:05:25 oh 2019-02-27 21:06:37 meh, its still failing on x86 2019-02-27 21:07:01 but nothing changed for non-arm in my PR, so whatever heh 2019-02-27 21:08:42 <_ikke_> clandmeter: downside of our current rebase workflow is that I have a branches where I have no idea what was upstreamed and what not ;O 2019-02-27 21:08:44 <_ikke_> :P 2019-02-27 21:09:20 https://patch-diff.githubusercontent.com/raw/alpinelinux/aports/pull/6472.diff that's the pr btw, as you can see nothing touched except setting cxxflags for arm 2019-02-27 21:15:52 jwh: i wonder what happens here 2019-02-27 21:16:01 i just tried this locally and it just works 2019-02-27 21:16:28 _ikke_: what do you mean with "current rebase workflow"? 2019-02-27 21:17:34 <_ikke_> clandmeter: rebase every commit on top of master 2019-02-27 21:19:46 are you talking about drone? 2019-02-27 21:20:03 <_ikke_> no 2019-02-27 21:20:11 <_ikke_> the general aports workflow 2019-02-27 21:20:20 ah ok 2019-02-27 21:20:23 we have one? 2019-02-27 21:20:27 <_ikke_> yes 2019-02-27 21:20:40 clandmeter: sme 2019-02-27 21:20:42 same* 2019-02-27 21:20:52 jwh: im checking with drone ppl 2019-02-27 21:23:00 _ikke_: you have branches locally with changes which you dont know if they are merged? 2019-02-27 21:23:16 clandmeter: thx 2019-02-27 21:23:17 mps: sent you feedback, most of it is good, just a few small changes that would be good-to-haves 2019-02-27 21:23:48 <_ikke_> clandmeter: exactly 2019-02-27 21:23:54 clandmeter: also, please no longer worry about poking me re: turbo-paste; I wrote my own instead :) 2019-02-27 21:24:02 <_ikke_> clandmeter: I can probably use git cherry to get an idea 2019-02-27 21:24:35 SpaceToast: np, its trivial to make one. 2019-02-27 21:24:45 mostly, the devil's in the details :) 2019-02-27 21:25:41 _ikke_: the branches you have are your own or from github? 2019-02-27 21:26:09 <_ikke_> both :-) 2019-02-27 21:26:28 <_ikke_> mostly PRs that I applied locally or created locally 2019-02-27 21:26:55 <_ikke_> git cherry helps 2019-02-27 21:30:59 _ikke_: there is no one workflow for git i guess. ppl do it in different ways. 2019-02-27 21:31:28 you can fetch branches or you can fetch a diff and apply it to master directly 2019-02-27 21:31:44 <_ikke_> yes, but the end-result is the same 2019-02-27 21:31:50 <_ikke_> One linear branch 2019-02-27 21:31:55 yes? 2019-02-27 21:32:04 i dont see the issue here 2019-02-27 21:32:24 if you rebase your changes are on top? 2019-02-27 21:32:33 <_ikke_> Normally when you merge branches, you can ask git what branches have been merged or not 2019-02-27 21:32:42 <_ikke_> so you can easily see which can be removed and which not 2019-02-27 21:33:25 <_ikke_> But now there is no relation between the commits you created and the commits that actually make it to master 2019-02-27 21:37:08 _ikke_: how else do you want to see our workflow? 2019-02-27 21:38:26 SpaceToast: any hint how iwd init script works, there is no start/stop functions ? 2019-02-27 21:38:49 mps: you know how abuild has default dev(), openrc() etc functions? 2019-02-27 21:38:57 openrc has default start(), stop(), etc functions 2019-02-27 21:39:04 and you want to use them as often as possible. 2019-02-27 21:39:14 hah, thanks 2019-02-27 21:39:14 <_ikke_> clandmeter: one thing that might help, but probably a lot more involved, would be updating the topic branches where the PRs were created from 2019-02-27 21:39:16 this is a good introduction in case you're unfamiliar: https://github.com/OpenRC/openrc/blob/master/service-script-guide.md 2019-02-27 21:39:26 mps: I'll have a much more in-depth coverage of it in the developer handbook once I get to that 2019-02-27 21:39:42 but I'm still swamped at work (moving offices is quite the undertaking, and I'm the only ranking admin) 2019-02-27 21:40:04 can't wait for it, especially of this fine points with openrc 2019-02-27 21:40:27 thank you again for explanation 2019-02-27 21:41:53 I will adapt iwd according your suggestions. do you think it is ready for aports after these changes 2019-02-27 21:42:35 well, I'm not exactly an authority in that regard 2019-02-27 21:42:45 and, commented lines, I forgot to delete them, they were for testing connman 2019-02-27 21:42:46 <_ikke_> clandmeter: but I'm not actually asking for something to change 2019-02-27 21:42:48 but with my suggested changes it should be good imo, assuming it passes tests and runs (which it seems to) 2019-02-27 21:43:29 it passes and runs on aarch64 on kernel 4.4.174 2019-02-27 21:44:05 I getting a problem on Alpine 3.8 trying to run Freeswitch with Lua code. Cannot load lua-session with 'Error relocating'. Any ideas? 2019-02-27 21:44:07 and tried it on x86_64 with linux-vanilla 4.19.18 2019-02-27 21:44:08 user.err freeswitch[22910]: bd6e297b-09cf-4332-a7d6-153314eb7734 2019-02-27 01:40:32.973418 [ERR] mod_lua.cpp:203 error loading module 'socket.core' from file '/usr/lib/lua/5.2/socket/core.so': Error relocating /usr/lib/lua/5.2/socket/core.so: 2019-02-27 21:45:43 seems like a problem in lua-socket to me 2019-02-27 21:46:05 (not sure why I typed lua-session a minute ago) 2019-02-27 22:21:40 Nevermind, turned out to be a misconfiguration pointing to Lua 5.2 libraries when Freeswitch is build with lua5.3-dev. 2019-02-27 22:25:39 I've noticed installing the net-tools package causes a system with 2 ifconfig binaries, busybox is at /sbin/ifconfig and net-tools is at /bin/ifconfig, so depending on root/not-root you get a different program. Is that intentionally or a bug? 2019-02-27 22:34:52 ncopa: I posted iwd to patchwork.a.o https://patchwork.alpinelinux.org/patch/4529/ tested it a bit on x86_64 (4.19.18-0-vanilla) and aarch64 (kernel 4.4.174) 2019-02-27 22:35:42 SpaceToast: here is a aports patch: https://patchwork.alpinelinux.org/patch/4529 2019-02-27 22:43:10 btw, if someone wants to play with network-manager and iwd NM should be upgraded to 1.12 or better 1.14. 2019-02-27 23:11:07 jwh: still here? 2019-02-27 23:12:50 yo 2019-02-27 23:13:37 the android tools aport is yours? 2019-02-27 23:14:16 no, just an update to add it for arm 2019-02-27 23:14:28 yes i mean the PR 2019-02-27 23:14:32 oh, yes 2019-02-27 23:14:55 i think your history is not in line with regular aports 2019-02-27 23:15:02 it needs a rebase 2019-02-27 23:15:07 I rebased it and pushed again 2019-02-27 23:15:19 but that doesn't cause undefined references 2019-02-27 23:16:20 something is different 2019-02-27 23:16:32 there is literally nothing different 2019-02-27 23:16:37 if i pull your pr ref into aports it fetches a lot of stuff 2019-02-27 23:16:38 it builds on everything apart from x86 2019-02-27 23:16:49 oh, the history is probably broken 2019-02-27 23:16:50 err fetch 2019-02-27 23:16:54 but that doesn't explain the build being broken 2019-02-27 23:16:57 yes 2019-02-27 23:17:34 hmm 2019-02-27 23:17:41 i think im mixing pr's here 2019-02-27 23:17:52 did you get clone issues before? 2019-02-27 23:17:59 on drone 2019-02-27 23:18:03 only when I pushed without rebasing 2019-02-27 23:18:08 as it does fetch;merge 2019-02-27 23:18:12 exactly 2019-02-27 23:18:21 but I pushed rebased tree 2019-02-27 23:18:31 yes and then it worked i guess 2019-02-27 23:18:34 nope 2019-02-27 23:18:38 i mean the clone 2019-02-27 23:18:41 oh, yeah 2019-02-27 23:18:55 travis does a clean clone by the looks of it 2019-02-27 23:19:01 so it doesn't care about that 2019-02-27 23:19:16 right 2019-02-27 23:19:35 but... why is the x86 build broken on drone 2019-02-27 23:20:01 or is it just that I'm out of date and theres some package update thats broken it 2019-02-27 23:23:01 i havent looked into that yet 2019-02-27 23:23:16 well, it was last built 2 days ago so it must be fine 2019-02-27 23:37:57 clandmeter: I tested this on aarch64, armv7 and x86_64, all went fine 2019-02-27 23:39:38 it's not us :D 2019-02-27 23:41:43 jwh: don't understand. I tested it but you found solution. Sorry if I misunderstood you 2019-02-27 23:42:27 theres no problem, don't worry 2019-02-27 23:44:57 I just wanted to confirm your assertion that it works, nothing more :) 2019-02-27 23:45:39 well, it *did* 2019-02-27 23:45:45 just updated my i386 builder 2019-02-27 23:45:56 but either way, we didn't touch x86 2019-02-27 23:47:01 that's true. sorry I promised that I will install x86 lxc, but worked on ell lib and iwd 2019-02-28 00:01:28 >>> android-tools: Create android-tools-9.0.0_p33-r1.apk 2019-02-28 00:01:28 >>> android-tools: Build complete at Thu, 28 Feb 2019 00:02:23 +0000 elapsed time 0h 16m 0s 2019-02-28 00:01:32 still works fine 2019-02-28 00:01:52 something is off 2019-02-28 00:03:51 jwh: what arch? 2019-02-28 00:04:28 x86... 2019-02-28 00:05:48 heh, then it works. maybe drone doesn't work 'nice' 2019-02-28 00:06:09 it doesn't look like it builds with a fresh image 2019-02-28 00:06:18 so if something was broken when I raised the PR, it will stay broken 2019-02-28 00:09:46 do you have build log, it should where is the error 2019-02-28 00:13:46 https://cloud.drone.io/alpinelinux/aports/118/2/1 2019-02-28 00:13:53 theres no debug output, so just undefined references 2019-02-28 00:16:43 looks similar on all arch's but only x86 marked as failed 2019-02-28 00:17:57 no other arch has any errros 2019-02-28 00:17:58 errors 2019-02-28 00:19:31 seems boringssl have problem on Alpine x86 2019-02-28 00:19:38 it doesn't 2019-02-28 00:20:02 undefined reference to `ChaCha20_ctr32' 2019-02-28 00:20:15 theres nothing wrong with android-tools on x86, the builder is broken 2019-02-28 00:20:35 line 2634 2019-02-28 00:22:09 there is nothing wrong 2019-02-28 00:22:24 if it succeed on you physical x86 machine with edge installed then the problem is with builder probably 2019-02-28 00:22:51 its entirely possible it didn't get created properly, or theres a partial update or something 2019-02-28 00:23:29 https://pkgs.alpinelinux.org/package/edge/testing/x86/android-tools 2019-02-28 00:23:35 couple of weeks ago 2019-02-28 00:23:40 I see a lot of 'undefined reference' in log 2019-02-28 00:26:34 https://cloud.drone.io/alpinelinux/aports/120 2019-02-28 00:27:04 broken builder 2019-02-28 00:27:13 because... x86 works here 2019-02-28 00:27:22 and other arch, ofc 2019-02-28 00:28:18 hm 2019-02-28 00:28:35 should arch be amd64 for the x86 pipeline? 2019-02-28 00:29:36 no, it is x86, afaik 2019-02-28 00:30:44 the docs helpfully don't specify a list of possible arch 2019-02-28 00:30:56 amd64 might be the right one 2019-02-28 00:31:05 if it describes hardware not environment 2019-02-28 00:32:51 the amd64/x86_64 divide is always kind of confusing 2019-02-28 00:33:35 image: alpinelinux/alpine-drone-ci:edge-x86 2019-02-28 00:33:36 should be fine 2019-02-28 00:33:39 because x86 is intel's architecture, amd64 is x86 + amd's 64 bit extensions, but because it's an extension (even though it's quite essential), people like saying x86_64 (_64 being the extended part), but that immediately brings intel to mind because x86 is theirs :D 2019-02-28 00:33:56 it *should* be amd64, but linux has to be different etc 2019-02-28 00:33:56 :D 2019-02-28 00:34:08 everyone else calls it amd64 2019-02-28 00:34:34 it really depends on case-by-case 2019-02-28 00:34:37 amd64 always looked strange to me 2019-02-28 00:34:38 canonical calls it amd64, for example 2019-02-28 00:34:43 I mean OS 2019-02-28 00:34:45 but yes, amd64 is the technically correct name 2019-02-28 00:34:56 *BSD, windows, non-unices etc 2019-02-28 00:35:11 yeah, but I'm saying that even above OS level opinions differ 2019-02-28 00:35:18 (e.g on https://alpinelinux.org/downloads/ we use x86_64) 2019-02-28 00:35:30 well really distributions should just follow kernel convention 2019-02-28 00:35:36 far less problematic 2019-02-28 00:35:50 whatever uname -m says, thats what it is heh 2019-02-28 00:35:56 in short, "kind of confusing" :) 2019-02-28 00:36:03 except mips64, coz thats a weird one 2019-02-28 00:36:10 and arm variants... ;) 2019-02-28 00:36:39 although endianness isn't the same as arch, soooo 2019-02-28 00:37:14 anyway 2019-02-28 00:37:20 I can't debug why it doesn't work 2019-02-28 00:37:52 what arch you use on your machine, x86? 2019-02-28 00:38:00 i386 2019-02-28 00:38:04 because thats what it is D 2019-02-28 00:38:07 :D* 2019-02-28 00:38:25 but yes, x86 in alpine parlance 2019-02-28 00:38:32 not ambiguous at all 2019-02-28 00:39:13 if you work in these you have to accept that naming chaos 2019-02-28 00:39:34 I'm kind of lucky, all my stuff is amd64 :) 2019-02-28 00:39:46 well, you know why its absurd? 2019-02-28 00:39:53 PR has nothing to do with x86 2019-02-28 00:39:55 the separation *I* have to work a lot with is UEFI/BIOS 2019-02-28 00:40:05 it merely adds arm 2019-02-28 00:40:18 mayhaps it was broken all along ;) 2019-02-28 00:40:40 it's possible something broken it in the 14 days since it was last built 2019-02-28 00:40:43 broke* 2019-02-28 00:40:48 something is wrong with boringssl on x86 builder 2019-02-28 00:40:55 but then it builds fine on my x86 lxc 2019-02-28 00:41:58 anyway, sleepy time 2019-02-28 00:42:31 yes, good night all :) 2019-02-28 01:00:57 jwh: have you encountered the "fun" that is trying to run a systemd guest on a non-systemd lxd (or even lxc, really) host? 2019-02-28 01:07:28 yes 2019-02-28 01:07:40 I couldn't tell if I broke it or not though 2019-02-28 01:07:49 but it's probably just missing some cgroups 2019-02-28 01:07:58 but who needs debug in lxd right? 2019-02-28 01:08:03 or lxc 2019-02-28 01:18:30 man, adb needs to be able to read a config file 2019-02-28 01:18:38 or env or somerthing 2019-02-28 01:18:43 so I can persist forwars 2019-02-28 01:18:46 forwards 2019-02-28 01:19:11 jwh: it's a systemd thing 2019-02-28 01:19:18 systemd wants to have its own cgroupv1 cgroup 2019-02-28 01:19:27 also hm, what magic do I need to tell lxd/lxc to allow something like chrony to work 2019-02-28 01:19:43 I don't really want it touching system time, but ntp and stuff 2019-02-28 01:19:44 the default openrc cgroup isn't erm... configurable, so I had to write my own script for it :/ 2019-02-28 01:19:48 ah 2019-02-28 01:20:06 I'm gonna write a replacement to the openrc one and submit it upstream (or try to get it in tree if william wants nothing to do with it) 2019-02-28 01:20:17 but that was erm... unfortunate 2019-02-28 01:20:30 heh 2019-02-28 01:20:50 you can have my quick "hack" one if you have to do stuff 2019-02-28 01:20:57 but because of this I'm gonna be reinstalling the new ones at work with 'buntu 2019-02-28 01:21:01 just to avoid... problems 2019-02-28 01:21:19 at home it's fine, I can do whatever, but I don't want anyone at work to suffer because I'm doing experimental stuff 2019-02-28 01:21:49 running ones have arch on atm (partly because of systemd not working, partly because of not having chance to create an apkbuild for exynos kernel yet) 2019-02-28 01:22:03 mainline armv7 one is broken on this board at least 2019-02-28 01:26:21 bleh 2019-02-28 01:26:33 still no way to set capabilities for lxd? 2019-02-28 01:27:00 wonder if I can get away with setcap 2019-02-28 01:27:39 it's not really an lxd thing 2019-02-28 01:27:47 well 2019-02-28 01:27:53 linux doesn't have support for caps in an unprivileged filesystem namespace 2019-02-28 01:27:54 lxd is doing management, so 2019-02-28 01:27:57 oh hm 2019-02-28 01:27:59 you can set the container to be privileged 2019-02-28 01:28:03 and then it'll just work 2019-02-28 01:28:10 may have to do that 2019-02-28 01:28:11 but, that's what the other guys are doing, and it's not very nice, is it? ;) 2019-02-28 01:28:16 no 2019-02-28 01:28:21 suid isn't all that bad if it's in an unprivileged container, though 2019-02-28 01:28:28 so in most cases you can get away with that 2019-02-28 01:28:38 no bluetooth namespacing either :( 2019-02-28 01:28:41 also I wonder if you could privileged -> setcap -> poweroff -> deprivilege 2019-02-28 01:28:45 so I can't contain the horribleness 2019-02-28 01:28:54 thats what I'm just checking heh 2019-02-28 01:31:48 was hoping I coudl get away with setcap on unprivileged too, but nm 2019-02-28 01:32:17 yeah, kernel no likey 2019-02-28 01:32:45 kinda silly, cap should just work 2019-02-28 01:32:46 but heh 2019-02-28 01:43:00 hm 2019-02-28 01:43:06 still can't start chron 2019-02-28 01:43:07 chrony 2019-02-28 01:43:48 security.privileged: "true" 2019-02-28 01:46:10 hm, think setcap broke it 2019-02-28 01:50:27 hm, issue on github suggests it should work for privileged 2019-02-28 01:50:34 but the lxc container needs the cap not the file :D 2019-02-28 01:57:06 doesn't work either, gg 2019-02-28 04:20:32 if a package, foo, builds subpackages and the apkbuild has a 'provides=bar', do the foo-* packages implicitly have 'provides=bar-*' ? 2019-02-28 07:11:27 PureTryOut[m]: i just backported qt5-qtwayland to v3.9 2019-02-28 07:20:05 craftyguy: they shouldnt. if they do it is a bug 2019-02-28 07:21:42 what do you think abou this? I fint it controversial https://patchwork.alpinelinux.org/patch/4525/ 2019-02-28 07:49:36 ncopa: awesome, thanks! 2019-02-28 08:00:03 i saw that we have qt 5.12.0 in v3.9 and 5.12.1 in edge 2019-02-28 08:00:24 file a bug if you want upgrade v3.9 to 5.12.1 (if you have a specific problem with 5.12.0) 2019-02-28 08:47:54 ncopa: have to go to short travel, will look at iwd bugs afternoon or this night 2019-02-28 08:50:05 im gonna disable all archch except x86 and x86_64 for now i think 2019-02-28 08:54:34 ncopa: disable it, we will see later what is cause. sorry now have to go 2019-02-28 11:45:07 mps: i found a fix for it. works on all arches except ppc64le now 2019-02-28 14:51:17 Hello, in one of my servers running apache I see a process [kthrtld] which has a TCP connection to some server in Holland and the apache2 server shows a defunt status! 2019-02-28 14:51:33 obviously I am hacked ! 2019-02-28 14:51:50 anyone knows something about it ? 2019-02-28 14:56:01 Compromised?? In one of my servers running apache I see a process [kthrtld] which has a TCP connection to some server in Holland and the apache2 server shows a defunt status! Anybody seen something similar ? 2019-02-28 15:16:43 ... no patience? 2019-02-28 15:17:15 ncopa: the edge releases will not be signed? 2019-02-28 15:17:21 what, why not? 2019-02-28 15:18:03 well if he wants to automate it it would make it more difficult. 2019-02-28 15:18:34 the sigs are not here atm, so thats why im asking 2019-02-28 15:29:06 oh. i didnt think about that... 2019-02-28 15:31:24 thats what you have me for ;-) 2019-02-28 15:35:26 ncopa: so i can reply on a sig? 2019-02-28 15:54:02 s/reply/rely 2019-02-28 15:54:02 clandmeter meant to say: ncopa: so i can rely on a sig? 2019-02-28 15:55:12 im trying to fix boot.a.o. what is the topic to listen for new releases? 2019-02-28 16:10:35 $upload_msg "$rel/releases/$arch" 2019-02-28 16:10:52 so "edge/releases/#" 2019-02-28 16:11:09 or if you want a specific arch you can specify that 2019-02-28 16:11:28 im working on the official docker image release 2019-02-28 16:15:44 im pretty happy with result: https://github.com/ncopa/docker-brew-alpine 2019-02-28 16:40:33 ncopa: how can i listen for the latest-stable releases? 2019-02-28 16:55:54 ncopa: I apologize for problem I made posting iwd APKBUILD and forgot to run test (abuild chekck) on aarch64 and armv7, and just check on x86_64 2019-02-28 16:57:35 just read complete conversation from #iwd channel, you fixed it really fast 2019-02-28 17:01:46 small note, do we need linux-headers in makedepends? it we be pulled by glib-dev which pulls libffi-dev and this one pulls linux-headers 2019-02-28 17:11:09 s/it we/it will/ 2019-02-28 17:11:09 mps meant to say: small note, do we need linux-headers in makedepends? it will be pulled by glib-dev which pulls libffi-dev and this one pulls linux-headers 2019-02-28 18:45:53 interesting mentions of AL in context of managing security https://snyk.io/opensourcesecurity-2019/ 2019-02-28 18:52:15 Alpine Linux handles vulnerabilities differently than 2019-02-28 18:52:15 the other major distros, who prefer to backport sets 2019-02-28 18:52:16 of patches. At Alpine, they prefer rapid release cycles 2019-02-28 18:52:16 for their images, with each image release providing a 2019-02-28 18:52:16 system library upgrade. 2019-02-28 18:52:29 and no sec advisory program 2019-02-28 18:53:00 still an interesting mention, yeah 2019-02-28 19:06:28 clandmeter: you mentioned yesterday morning some PR on github regarding llvm/clang. I just looked at it and I'm puzzled. What is these PR? from some official developers or random people? 2019-02-28 19:08:02 I see there is even crystal PR for 0.27.2 2019-02-28 19:08:27 eh, PR for crystal 0.27.2 2019-02-28 19:10:25 I have feeling that I waste effort on these because I work alone and there are some people trying to do same. why we do not work together? 2019-02-28 19:10:58 probably because they don't know you exist 2019-02-28 19:11:05 just as you did not know they exist 2019-02-28 19:11:49 feel free to invite them and work on things together :) 2019-02-28 19:12:20 eh, I noticed jirutka there 2019-02-28 19:12:43 he doesn't talk around here very much 2019-02-28 19:12:51 so, he is still active, in some way with Alpine 2019-02-28 19:12:53 there was apparently some event before I came around that led to that 2019-02-28 19:13:09 my understanding is he avoids communication with other core devs since said event 2019-02-28 19:13:35 I remember what happened but thought he left Alpine 2019-02-28 19:14:43 I'm not even sure when it was :) I've been doing alpine-related things for quite a while now (at least ~1-1.5 years), but I haven't bothered to do anything with upstream until a few months ago 2019-02-28 19:14:49 and I was still involved with gentoo at the time, most likely 2019-02-28 19:15:02 (now I only really watch openrc and musl) 2019-02-28 19:15:29 either way, I'm pretty sure he still does things, though the scope may be different 2019-02-28 19:15:32 i don't think it is productive to discuss the situation with jirutka 2019-02-28 19:16:40 well, after all I think Alpine needs better collaboration platform desperately 2019-02-28 19:16:42 the discussion is about communication channels between various contributors, jirutka is a side-topic (due to said channels being broken) 2019-02-28 19:17:14 I've many ideas as to how we could better organize alpine, but I don't think anyone asked (nor plans to ask) me, so I'm mostly keeping them to myself :) 2019-02-28 19:17:15 mps: the issue is not collaboration platforms, the issue is ... something else entirely 2019-02-28 19:18:02 kaniini: I don't talk about jirutka case, but in general 2019-02-28 19:18:12 as for collaboration, yes 2019-02-28 19:18:17 better tools are needed 2019-02-28 19:18:33 but that specific case is not a good justification 2019-02-28 19:19:06 the issue is that he wishes to use these collaboration tools in a way which bends what is acceptable under the CoC 2019-02-28 19:19:21 mps, what you mean under platform? hosted gitlab/gitea/im? 2019-02-28 19:19:40 andypost[m]: I'm for gitlab, of course 2019-02-28 19:19:44 changing the tools would not change the problem 2019-02-28 19:20:04 in that case 2019-02-28 19:20:05 :) 2019-02-28 19:20:05 I agree with kaniini, it's more of a policy/direction problem 2019-02-28 19:20:15 it should be encouraged to communicate, rather than just throw patches into the pile 2019-02-28 19:20:33 yes, and 2019-02-28 19:20:48 I think we could benefit from some structure as well 2019-02-28 19:20:48 a lot of the reason why communication is not so great is actually because 2019-02-28 19:20:51 kaniini: problems will always arise with people who have strong will, but that could be solved. at the end we all are 'grown' people 2019-02-28 19:20:54 people would submit things for review 2019-02-28 19:21:01 and then other people who will go unnamed 2019-02-28 19:21:10 would come into the PR or whatever 2019-02-28 19:21:22 and start asking questions like "are you smoking crack?!?!?!?!?!?!" 2019-02-28 19:21:27 which is what lead to the CoC 2019-02-28 19:21:37 of course CoC is not a complete fix 2019-02-28 19:21:44 ah, I see 2019-02-28 19:21:52 and, the damage was already sustained of course 2019-02-28 19:22:18 I'm not for CoC, because I think it couldn't solve any serious problem 2019-02-28 19:22:36 so the compromise was eventually that [unnamed person] would be allowed to remain on core on the condition they do not interact with anyone 2019-02-28 19:23:07 which is a shame, but 2019-02-28 19:23:21 point being that there is no technical solution 2019-02-28 19:23:33 well, that's the specific case 2019-02-28 19:23:44 the general case (as in, the one that started the conversation) is quite different 2019-02-28 19:23:46 I'm for platform/workflow which allow and encourage more communication and more collaboration 2019-02-28 19:24:27 sure 2019-02-28 19:24:42 i am just saying that 95% of the time, the problem isn't that 2019-02-28 19:24:56 there is no techical solution for social problems and never will be. social problems should be resolved 'social' way 2019-02-28 19:25:06 what needs to be done is actually 'team maintenance' 2019-02-28 19:25:10 for most packages 2019-02-28 19:25:18 like other distros have done 2019-02-28 19:25:23 agreed 2019-02-28 19:25:29 but there is not yet consensus for it 2019-02-28 19:25:36 kaniini: I was going to suggest an approach towards that, yes 2019-02-28 19:25:40 and i rather spend my time working on things which have less friction 2019-02-28 19:25:42 once I got to documenting it in the developer parts :) 2019-02-28 19:25:53 and I would still rather go over / suggest it then ^^ 2019-02-28 19:26:01 but yes, this is an obvious problem area that needs to be solved 2019-02-28 19:26:14 well 2019-02-28 19:26:19 anyone can start a discussion 2019-02-28 19:26:27 yeah, it'll just be topical at the time 2019-02-28 19:26:30 you don't have to convince me :) 2019-02-28 19:26:40 (and the resolution will be needed, since I'll need SOMETHING to write down :D ) 2019-02-28 19:26:48 ^^ good to know kaniini 2019-02-28 19:27:39 however 2019-02-28 19:28:08 in my own personal opinion, i don't think it helps morale that the person who used to come into reviews and ask if people were smoking crack 2019-02-28 19:28:11 is still on core 2019-02-28 19:29:56 but as i said, i'd rather spend my time pursuing things which have less friction 2019-02-28 19:30:12 that is fair 2019-02-28 19:30:52 I'm not in favor for strict or rigid rules because I think we can work and manage some people who are not well socialy 'grown' 2019-02-28 19:31:42 imo, we need better communication and colaboration, be it platform or whatever 2019-02-28 19:31:56 mps: i would not define the Alpine CoC as 'strict' or 'rigid' 2019-02-28 19:32:09 it's worded quite strangely 2019-02-28 19:32:10 mps: it is, quite literally, "don't be a dick" spelled out in a more defined way 2019-02-28 19:32:19 but enforcement is clearly done appropriately, so I don't mind :) 2019-02-28 19:33:10 but yes 2019-02-28 19:33:13 my suggestion would be 2019-02-28 19:33:20 write up a proposal for team maintenance 2019-02-28 19:33:34 kaniini: that is quite acceptable. but for grown people I suspect that even this simple rule is needed. I is assumed in most if not all cultures over world 2019-02-28 19:33:58 mps: and as has been demonstrated, it is unfortunately needed 2019-02-28 19:34:02 kaniini: as mentioned, I already have one (not in writing, but it shouldn't take long to put it down); I'm just waiting until the user handbook is fully finished, published, and I start on the developer docs 2019-02-28 19:34:18 SpaceToast: okay, well 2019-02-28 19:34:25 in 2030 when this is done 2019-02-28 19:34:31 hah 2019-02-28 19:34:32 i'll give it my support 2019-02-28 19:34:41 I expect mid-late March 2019-02-28 19:34:44 hopefully 2019-02-28 19:34:58 user docs are content-complete (for now), I'm just editing them up to my standards 2019-02-28 19:35:09 after that I have to get the UI figured out, and that'll be it 2019-02-28 20:03:24 *cough* 2019-02-28 20:03:25 :D 2019-02-28 20:03:52 hey jwh, what's up? :) 2019-02-28 20:04:56 guess! 2019-02-28 20:05:07 you got something working 2019-02-28 20:05:09 what is it? 2019-02-28 20:05:11 no 2019-02-28 20:05:19 just grumbling at PRs again :D 2019-02-28 20:05:22 ah 2019-02-28 20:05:38 was just reading the drone log again 2019-02-28 20:05:44 can't see why it broke/breaks 2019-02-28 20:06:26 but since its fine and a no-op for the broken arch anyway, merge pretty please :D 2019-02-28 20:07:47 jwh: I installed x86 lxc and will look at problem, and not that I don't believe you but just want to see how it works in controlled ENV 2019-02-28 20:08:18 lol 2019-02-28 20:08:19 ok 2019-02-28 20:08:59 but now working to check llvm6 with gcc 8.3, when that finish I'll try android-tools 2019-02-28 20:09:37 SpaceToast: have you seen in testing? 2019-02-28 20:09:49 have I seen what? 2019-02-28 20:09:55 iwd *** 2019-02-28 20:10:08 ah, no 2019-02-28 20:10:17 as mentioned, I'm nonstop busy because of $dayjob->move() 2019-02-28 20:10:25 :( 2019-02-28 20:10:30 I'm only really partially here in between waiting for containers to come up / down / stuff to install / etc 2019-02-28 20:10:31 eh, understand you 2019-02-28 20:10:35 had a day off yesterday though! 2019-02-28 20:10:38 I'm really busy as well, sucks eh 2019-02-28 20:10:44 easy ~20+ commits to docs 2019-02-28 20:10:59 some invoices got paid today though, so I'm having tomorrow off :D 2019-02-28 20:11:01 I thought you want to try it ASAP 2019-02-28 20:11:16 oh, I'm sorry I gave you that impression 2019-02-28 20:11:26 I'm using my dedicated AP while I figure the iwd situation out 2019-02-28 20:11:46 really, then sorry because I bothered you with it 2019-02-28 20:12:11 next on my list: replacing prtg 2019-02-28 20:12:16 this will be a fun one 2019-02-28 20:12:28 oh pinging me is fine 2019-02-28 20:12:33 as long as it's not middle of the night for me :) 2019-02-28 20:12:37 SpaceToast: I thought you want to test it because of writing user docs 2019-02-28 20:12:43 (in case it isn't known, I'm in EST (-5)) 2019-02-28 20:12:56 that's on my TODO list, but I'm happy with the current contents of the user docs 2019-02-28 20:13:00 it'll be something I add in later 2019-02-28 20:13:16 atm I'm trying to edit them to a proper standard so they can be officially published :) 2019-02-28 20:13:20 EST -5, you live in Atlantic ocean? 2019-02-28 20:13:29 lol 2019-02-28 20:13:31 east coast 2019-02-28 20:13:37 Grenland? 2019-02-28 20:13:47 Montreal, Canad 2019-02-28 20:13:49 a 2019-02-28 20:14:01 I live on an island in the middle of a gigantic river :) 2019-02-28 20:14:06 ah, not far from Grenland :) 2019-02-28 20:14:16 not that far, no, but it's quite a bit north 2019-02-28 20:15:04 ugh, blogflare suck so bad 2019-02-28 20:15:08 because that you are active at late night from CET 2019-02-28 20:15:18 yes, it's not actually that late for me ^^ 2019-02-28 20:15:28 now, understrand 2019-02-28 20:15:38 I usually fall asleep before 2AM EST, which is 8AM CET 2019-02-28 20:15:51 so by the time you are likely to wake up I have likely fallen asleep 2019-02-28 20:16:11 nice to know to not bother you too early :) 2019-02-28 20:16:34 :) 2019-02-28 20:18:13 well.... I'm about to start my first production container, better work 2019-02-28 20:20:00 need to figure out what to replace PRTG with though, hm 2019-02-28 20:36:18 hm, lxd only works with simple bridges right? 2019-02-28 20:36:36 like, it's not even able to configure vlan aware bridges right? 2019-02-28 20:37:02 lxc used to support alot of different network configs 2019-02-28 20:37:27 well I'd imagine it still does, but lxd doesn't seem to be able to configure much on its own 2019-02-28 20:37:31 iirc also included openvswitch, which can do vlans and stuff 2019-02-28 20:38:03 yeah, I was gonna use ovs, but a vlan aware bridge will do just as well if lxd can be told to configure it 2019-02-28 20:38:29 doesn't look like it supports anything except host or adding veth to a bridge 2019-02-28 20:38:33 sigh 2019-02-28 20:38:41 you mean bindge an interface and also bridge all the vlan on top ov it? 2019-02-28 20:39:00 not quite, in modern kernels the bridge driver also supports vlans 2019-02-28 20:39:12 so you can just add interfaces to a bridge, then set pvid and tagged interfaces for bridge members 2019-02-28 20:39:16 rather than seperate bridges per vlan 2019-02-28 20:39:32 also supports vepa and pvlan type stuff etc 2019-02-28 20:40:00 and obviously its much faster than ovs as ovs slows right down if you use it as a l2 switch 2019-02-28 20:40:12 jwh: lxd can't manage vlan tags, but it can use prepared bridges 2019-02-28 20:40:30 yeah, I was hoping for at least bridge vlan support 2019-02-28 20:40:44 maybe I can make it exec something on start? 2019-02-28 20:40:44 you can always just make a bridge per vlan and save them as separate networks 2019-02-28 20:40:54 yeah I was trying to avoid that as its messy heh 2019-02-28 20:41:12 and of course you can just make vlans inside the container 2019-02-28 20:41:19 you just get the raw interface, after all 2019-02-28 20:42:01 yeah 2019-02-28 20:42:24 but the whole point of doing it in the bridge is that its still host controlled and it doesn't require guests to care (which they shouldn't really) 2019-02-28 20:43:12 [root@tinkerbell ~]# bridge vlan | grep veth 2019-02-28 20:43:12 vethWBFLWD 1 PVID Egress Untagged 2019-02-28 20:43:12 veth454ABP 1 PVID Egress Untagged 2019-02-28 20:43:17 guess manually isn't an option either :D 2019-02-28 20:44:50 the bridge driver pretty became a sort-of switch 2019-02-28 20:44:55 i wonder if #alpine-linux may be a better place for lxc configuration discussion 2019-02-28 20:44:59 probably 2019-02-28 20:45:10 i have tagged new snapshot release 2019-02-28 20:45:31 hm actually, maybe you can shed some light on this drone weirdness 2019-02-28 20:46:20 oh cool 2019-02-28 20:46:49 mps: i was wrong about the linux-headers depend, i think the problem i had was something else 2019-02-28 20:48:07 I opened a 2nd pr, did the same thing :( 2019-02-28 20:48:21 pretty sure its drone related but I can't fix it ofc 2019-02-28 20:50:59 ncopa: it is not problem as I see, linux-headers are pulled anyway because of libffi dependency 2019-02-28 20:52:19 I noted that just to learn how to set similar dependencies in future. btw, thank you for fast fix of ell. I was on trip and couldn't help 2019-02-28 20:52:44 and fix for iwd, of course 2019-02-28 20:53:41 ncopa: another note regarding llvm6, it passed on aarch64 with gcc 8.3, right now testing on x86_64 2019-02-28 20:56:51 ncopa: Can I do something to speed up the btmgmt issue? I don't have much else to work on tomorrow anyway 2019-02-28 20:57:49 mps: nice 2019-02-28 20:58:25 Mis012[m]: sorry but that have been down prioritized. 2019-02-28 20:58:44 Mis012[m]: you could possbly ask upstream about what plan they have for the alternative tool 2019-02-28 20:58:48 and what the status is for it 2019-02-28 20:59:03 might be its already done. it is years since they reverted the commit 2019-02-28 20:59:15 then you could ask them to include it again 2019-02-28 20:59:57 Good thing I don't have anything better to do :) 2019-02-28 21:00:08 if upstream still dont want to include btmbmt, then we could create a separate subpackage named bluez-btmgmt, or maybe just "btmgmt" 2019-02-28 21:00:22 i dont hitnk we want install all the tools like arch does 2019-02-28 21:00:39 Mis012[m]: what is with bluez, in what shape and state it is, do you know 2019-02-28 21:00:47 yeah, its good if you can help with communication with upstream 2019-02-28 21:01:12 bluez works sort of, at least with my apple keyboard 2019-02-28 21:01:23 I have no affiliation with bluez 2019-02-28 21:01:35 <_ikke_> mps: afaik, they are in the middle of a transition, but it's down halfway (already removing / deprecating things without providing alternatives) 2019-02-28 21:02:12 <_ikke_> See https://wiki.archlinux.org/index.php/Bluetooth#Deprecated_BlueZ_tools for an overview 2019-02-28 21:02:21 I'm asking because i read that it will be somehow 'integraded' with iwd 2019-02-28 21:03:04 i think bluetoothctl solved the problem with a simple agent, to pari/unpair, connect/disconnect etc 2019-02-28 21:03:22 it's a mess 2019-02-28 21:03:46 fully expect iwd to receive similar treatment 2019-02-28 21:03:54 since intel made bluez broken too 2019-02-28 21:04:28 I read that iwd intention is to be all radio/wireless devices controler in Linux 2019-02-28 21:04:51 again, why can't we have nice things :( 2019-02-28 21:04:58 read somewhere but forgot url 2019-02-28 21:05:20 mps: of course it is 2019-02-28 21:05:25 <_ikke_> ncopa: I have a bluetooth serial adapter that you need one of the deprecated tools to use 2019-02-28 21:05:35 because then they can exert their desires on it 2019-02-28 21:05:57 <_ikke_> I believe rfcomm. I haven't found a way to use the newer toosl to use it 2019-02-28 21:06:07 there isn't any newer tool 2019-02-28 21:06:18 same for the rest of the tools they deprecated 2019-02-28 21:06:23 _ikke_: shouldn't it be standard enough not to need userspace? 2019-02-28 21:06:25 it's ridiculous 2019-02-28 21:06:38 I stopped to play with bluetooth few years ago, wires are more stable :) 2019-02-28 21:06:39 you need rfcomm to expose serial over bluetooth 2019-02-28 21:06:43 there is no alternative 2019-02-28 21:06:59 <_ikke_> mps: Not sure how I would achieve that 2019-02-28 21:07:11 there is e.g bt hid subsystem 2019-02-28 21:07:17 i htink we have the deprecated tools in a separate package 2019-02-28 21:07:23 none of that will connect services 2019-02-28 21:07:37 it isn't a hid, for a start ;) 2019-02-28 21:07:54 some of them definitely 2019-02-28 21:08:12 argh my regex isn't working 2019-02-28 21:08:28 it's supposed to filter out that ridiculous quoting 2019-02-28 21:08:29 of course :P but usb to serial exposes tty as well 2019-02-28 21:08:38 what 2019-02-28 21:08:56 Mis012[m]: please do not quote, messages are already here 2019-02-28 21:09:07 not only do not quote, that is *horrible* 2019-02-28 21:09:10 what client is that 2019-02-28 21:09:15 jwh: it's matrix 2019-02-28 21:09:20 and this is why no one likes it 2019-02-28 21:09:20 oh, that nonsense 2019-02-28 21:09:21 explains it all 2019-02-28 21:09:27 I alway forget :/ 2019-02-28 21:09:45 not only is it ugly, it doesn't even have the full nick 2019-02-28 21:09:46 ... 2019-02-28 21:10:30 I did have matrix on my ignore list for similar reasons, since out of the 100s of matrix connections very few are real users because why bother when you can just use a normal client 2019-02-28 21:10:33 this is clearly irc, they could consider not using such format :( 2019-02-28 21:11:09 yes 2019-02-28 21:11:19 <_ikke_> Today my 4GB VM ran out of ram + swap because I kept slack open 2019-02-28 21:11:25 lol 2019-02-28 21:11:35 web 2.0 is awesome 2019-02-28 21:12:07 but Riot for android is not electron :) 2019-02-28 21:13:26 someone once said that alpine docker image is smaller than the docker web page :) 2019-02-28 21:13:43 :D 2019-02-28 21:13:48 due to its web 2.0 stuff 2019-02-28 21:14:08 lol 2019-02-28 21:14:12 probably 2019-02-28 21:14:31 ah, here it is 'Marcel Holtmann, the maintainer of the BlueZ Bluetooth daemon since 2004' and Marcel is also iwd developer 2019-02-28 21:14:45 https://www.linux.com/news/event/ELCE/2017/new-linux-wifi-daemon-streamlines-networking-stack 2019-02-28 21:14:53 I remember when I thought web 2.0 was a good idea... I feel old 2019-02-28 21:15:51 mps: ah that explains 2019-02-28 21:16:24 “We decided to create a wireless daemon that actually works on IoT devices,” 2019-02-28 21:16:25 GPLv3 pretty please 2019-02-28 21:16:38 hm 2019-02-28 21:16:46 <_ikke_> what is iwd btw? 2019-02-28 21:16:47 perfect combination 2019-02-28 21:16:48 thats the guy that broke bluez I think 2019-02-28 21:16:52 _ikke_: bluez, for wifi 2019-02-28 21:16:53 D 2019-02-28 21:16:53 I think they told something in that line on #iwd channel 2019-02-28 21:16:54 :D* 2019-02-28 21:17:09 it even has the same config and cli style 2019-02-28 21:17:26 whine 2019-02-28 21:17:27 same philosophy behind it 2019-02-28 21:17:28 _ikke_: Internet Wireless Daemon https://iwd.wiki.kernel.org/ 2019-02-28 21:17:36 you save state in a local database 2019-02-28 21:17:38 but good luck, it's all gonna be dbus 2019-02-28 21:17:45 eg you sabe which wifi you are connected to 2019-02-28 21:17:47 _ikke_: iwd is the official successor to wpa_supplicant 2019-02-28 21:17:50 by intel 2019-02-28 21:17:51 and when you restart it reconnects 2019-02-28 21:18:07 <_ikke_> SpaceToast: ah ok 2019-02-28 21:18:08 like... already happens with wpa_supplicant 2019-02-28 21:18:10 wpa_supplicant does not save any state 2019-02-28 21:18:12 just order networks 2019-02-28 21:18:31 and appeared today in testing, thanks to ncopa help :) 2019-02-28 21:18:33 or, like many tools already do, just write out the config on demand 2019-02-28 21:18:48 <_ikke_> I wonder btw when the fix readline for bluetoothctl, it's horribly broken 2019-02-28 21:18:55 <_ikke_> s/the/they 2019-02-28 21:18:55 _ikke_ meant to say: I wonder btw when they fix readline for bluetoothctl, it's horribly broken 2019-02-28 21:18:59 _ikke_: heh 2019-02-28 21:19:15 The daemon is difficult to use because it adds support for “just about every OS or wireless extension,” including many things that are never actually used, says Holtmann. 2019-02-28 21:19:19 it keeps biting me, as enter doesn't work 2019-02-28 21:19:31 Mis012[m]: what does, wpa_supplicant? 2019-02-28 21:19:45 I mean sure, who needs .1x 2019-02-28 21:19:47 :D 2019-02-28 21:19:48 i have some thoughts and ideas how to implement xfce-bluetooth, but i have never had the time to finish it 2019-02-28 21:19:57 jwh: yeah... 2019-02-28 21:20:10 iwd is intended for ophono and Ethernet (wired) Auth also 2019-02-28 21:20:31 lennart has nothing on this guy 2019-02-28 21:20:36 we need wpa_supplicant for bluetooth, not the other way around 2019-02-28 21:20:37 also, sim cards and 5G 2019-02-28 21:20:42 this guy is singlehandedly breaking all connectivity 2019-02-28 21:21:03 mps: whine 2019-02-28 21:21:19 Mis012[m]:who? :) 2019-02-28 21:21:22 you mean ofono thats alreasd broken 2019-02-28 21:21:25 already* 2019-02-28 21:21:36 and 802.1x that works absolutely fine and has done for many yers 2019-02-28 21:21:39 years* 2019-02-28 21:21:52 mps: me... smells like EEE 2019-02-28 21:21:53 jwh: tell me one software thing which are not broken 2019-02-28 21:21:58 all of these require dbus btw 2019-02-28 21:22:07 at some point it's not going to work on non-systemd 2019-02-28 21:22:09 just saying 2019-02-28 21:22:22 this discussion is not productive for development 2019-02-28 21:22:42 i wonder why the release i just tagged does not show up on master mirror 2019-02-28 21:22:46 something mube be broken 2019-02-28 21:22:51 it *is* about development though, someone will have to maintain it heh 2019-02-28 21:24:14 “We extended ELL with cryptographic support libraries instead of using OpenSSL, which is huge, and is not an easy interface,” 2019-02-28 21:24:22 lol 2019-02-28 21:24:30 jesus... 2019-02-28 21:24:52 it's not even funny 2019-02-28 21:26:28 ell already have utf8 utils 2019-02-28 21:26:52 which had interesting bugs that only appeared on some arches 2019-02-28 21:28:04 ok, so the new release snashot didnt show up because i didnt tag it 2019-02-28 21:28:09 stupid me 2019-02-28 21:28:26 <_ikke_> releases are hard 2019-02-28 21:28:29 i misspelled git -> gti 2019-02-28 21:28:33 and didnt notice 2019-02-28 21:28:49 it means i should probably just go to bed 2019-02-28 21:29:53 lol 2019-02-28 21:30:00 perhaps 2019-02-28 21:33:15 ncopa: llvm6 on x86_64 edge: 'apk update' 'apk upgrade' that means gcc 8.3 . then 'abuild deps unpack prepare build check' result is here: http://tpaste.us/aREq 2019-02-28 21:46:59 jwh: >>> ERROR: android-tools: build failed 2019-02-28 21:47:11 thats on my local x86 builder on lxc 2019-02-28 21:48:22 clandmeter: just tried on my local with same result 2019-02-28 21:59:48 jwh: android-tools fails locally on x86, boringssl is the problem 2019-02-28 22:00:11 hm 2019-02-28 22:00:18 on real x86 hardware? 2019-02-28 22:00:30 because it succeeds on x86 lxc 2019-02-28 22:00:36 <_ikke_> it's real hardware 2019-02-28 22:00:43 in fact 2019-02-28 22:00:43 no, lxc on x86_64 2019-02-28 22:00:49 I'm just not going to use x86 because its ambigious and silly 2019-02-28 22:00:51 i386 2019-02-28 22:00:59 ambiguous* 2019-02-28 22:01:08 mps: why does yours fail? 2019-02-28 22:01:10 mine does not 2019-02-28 22:01:21 and 2019-02-28 22:01:28 its packaged, so it builds fine 2019-02-28 22:01:29 like one on drone you posted last night 2019-02-28 22:01:38 mine does drone does and mps does. 2019-02-28 22:02:04 [root@tinkerbell ~]# lxc exec -- abuild-i386 uname -a 2019-02-28 22:02:05 Linux abuild-i386 4.20.12-arch1-1-ARCH #1 SMP PREEMPT Sat Feb 23 15:11:34 UTC 2019 i686 Linux 2019-02-28 22:02:56 see, x86_32 2019-02-28 22:03:01 x32? 2019-02-28 22:03:04 i3x6? 2019-02-28 22:03:29 anyway, not relevant to the PR, so don't care either way heh 2019-02-28 22:03:50 wait, you are building on ArchLinux? 2019-02-28 22:03:58 ... 2019-02-28 22:04:00 no 2019-02-28 22:04:16 Linux abuild-i386 4.20.12-arch1-1-ARCH 2019-02-28 22:04:32 containers share the host kernel, obviously 2019-02-28 22:05:01 then this info is useless 2019-02-28 22:05:14 no it isn't 2019-02-28 22:05:18 it shows arch 2019-02-28 22:05:19 <_ikke_> containers are not virtual machines, I cannot repeat that often enough :P 2019-02-28 22:05:41 hence why I asked if it was real hardware or not 2019-02-28 22:06:01 _ikke_: containers are virtual machines minus the suck ;) 2019-02-28 22:06:02 in case it was something that differs between i386 kernel and 32 bit userland on a 64bit kernel 2019-02-28 22:06:37 kernel doesn't play role in building 2019-02-28 22:06:46 ... 2019-02-28 22:06:50 k i'm out 2019-02-28 22:07:01 toolchain and libs are important 2019-02-28 22:07:16 what are toolchain and libs? 2019-02-28 22:07:17 userland 2019-02-28 22:07:18 jesus 2019-02-28 22:07:43 jwh: i need to correct myself, it does build. 2019-02-28 22:07:49 I know it builds 2019-02-28 22:07:50 :) 2019-02-28 22:08:07 I know it does because its in the repo 2019-02-28 22:08:25 clandmeter: edge or 3.9 2019-02-28 22:08:44 and the PR is a no-op for non-arm 2019-02-28 22:09:09 all this messing about is just muddying the ater 2019-02-28 22:09:10 not sure what happens on drone 2019-02-28 22:09:11 water* 2019-02-28 22:09:18 could be it runs in 64 bit mode 2019-02-28 22:09:22 need to check 2019-02-28 22:09:48 I just suggested that, but it would appear it spawns an amd64 container with 32bit userland 2019-02-28 22:09:55 which is how I'm building 2019-02-28 22:11:26 yes it does, i think drone doesnt support 32bit container 2019-02-28 22:11:39 so only userland is 32bit 2019-02-28 22:11:45 hm 2019-02-28 22:12:19 so could it be that terriblessl sees amd64 and completely manages to hose itself 2019-02-28 22:12:35 yes i think thhats what happens 2019-02-28 22:12:37 let me see.... 2019-02-28 22:12:41 takes uname 2019-02-28 22:12:46 and messes things up 2019-02-28 22:13:07 well thats a completely broken design choice by google (surprising!) 2019-02-28 22:13:26 i also see other distros ship a different version of boringssl 2019-02-28 22:13:47 ok so, whatever builds the packages that end up in the repo 2019-02-28 22:13:55 does that use a 32bit container? 2019-02-28 22:14:05 or is it a vm, or what? 2019-02-28 22:14:06 builder should be fine 2019-02-28 22:14:12 well it is, thats why I'm asking 2019-02-28 22:14:12 same as what i just did 2019-02-28 22:14:20 since it manages to build ok 2019-02-28 22:14:23 ok 2019-02-28 22:14:43 alright so boringssl is dumb, can at least fix it now 2019-02-28 22:15:06 i just copied the container so it didnt have correct lxc arch set 2019-02-28 22:15:40 so if uname -m is x86_64, does it work if you do linux32 abuild? 2019-02-28 22:15:56 yes my container is set to linux32 2019-02-28 22:16:03 and builders should also 2019-02-28 22:16:08 ok cool 2019-02-28 22:16:10 so hm 2019-02-28 22:16:20 should probably fix that in the drone ci config if possible 2019-02-28 22:16:33 i cant 2019-02-28 22:16:37 its not done by drone 2019-02-28 22:16:41 if they don't set arch, can at least run builds under linux32 2019-02-28 22:16:59 i could ask about it, maybe they can support it 2019-02-28 22:17:11 I was looking for a list of platforms they support but I couldn't find one in their docs 2019-02-28 22:17:19 docs are a bit vague 2019-02-28 22:17:21 yeah 2019-02-28 22:17:58 but if they really don't support 32bit containers, then modifying the build script is probably the only sensible way heh 2019-02-28 22:26:55 clandmeter: your theory is correct 2019-02-28 22:26:56 https://cloud.drone.io/alpinelinux/aports/146/1/2 2019-02-28 22:28:54 sooo 2019-02-28 22:28:59 mps: why does your lxc fail? 2019-02-28 22:29:15 is the arch wrong? 2019-02-28 22:30:16 really don't know, it is first time i installed x86 lxc and tried anything with it 2019-02-28 22:30:25 what does apk --print-arch say? 2019-02-28 22:30:32 x86 2019-02-28 22:30:32 and uname -m 2019-02-28 22:31:10 x86_64 2019-02-28 22:31:14 yeah 2019-02-28 22:31:18 same problem as the drone builder 2019-02-28 22:31:56 why build depends on uname at all 2019-02-28 22:32:04 exactly, it's broken 2019-02-28 22:32:31 it's probably doing something stupid based on what it thinks the arch is, rather than letting the compiler get it right 2019-02-28 22:33:09 this is good to know before I start to build other packages on x86 lxc 2019-02-28 22:33:25 your lxc isn't configured properly though really 2019-02-28 22:33:54 [root@tinkerbell ~]# lxc exec -- abuild-i386 uname -m 2019-02-28 22:33:54 i686 2019-02-28 22:34:02 could be, I converted it from chroot 2019-02-28 22:34:12 ah 2019-02-28 22:34:19 lxc should set the arch really 2019-02-28 22:34:35 if you do linux32 abuild, it will work 2019-02-28 22:34:37 apk --print says it is set 2019-02-28 22:34:51 apk doesnt look at uname 2019-02-28 22:35:09 but maybe somewhere in lxc config I have to set personality 2019-02-28 22:35:11 apk --print-arch you mean right 2019-02-28 22:35:22 yeah --print-arch isn't the same 2019-02-28 22:35:32 but the question is where to fix it 2019-02-28 22:35:35 thats the targetted arch it was build for 2019-02-28 22:35:45 look like they are synonim 2019-02-28 22:36:12 jwh: docker doesnt seem to have a x86 version 2019-02-28 22:36:27 so drone doesnt support it 2019-02-28 22:36:32 ah 2019-02-28 22:37:05 ill check with ncopa tomorrow 2019-02-28 22:37:11 clandmeter: btw, these drones looks nice, like looking in console/terminal during build 2019-02-28 22:37:32 could just add a condition to build.sh, if arch is x86, either exec under linux32, or just set UNAME_m etc if thats enough? 2019-02-28 22:38:08 its an option, but i like to discus it first. 2019-02-28 22:38:22 yeah 2019-02-28 22:38:24 im not much of a toolchain person. 2019-02-28 22:40:27 so drone uses https://download.docker.com/linux/static/stable/ 2019-02-28 22:40:43 which doesnt provide x86 2019-02-28 22:41:08 that explains why the drone config has platform: amd64 2019-02-28 22:41:17 should probably make sure it looks like 32bit for x86 heh 2019-02-28 22:45:02 bed time now. gnite 2019-02-28 22:45:06 night