2018-06-01 01:28:49 Hi there. 2018-06-01 01:30:00 I've got a weird problem. 2018-06-01 01:30:08 It won't let me upgrade transmission-daemon from 2.92 to 2.94 2018-06-01 01:33:15 When I try apk --upgrade transmission-daemon, I get: 2018-06-01 01:33:17 WARNING: This apk-tools is OLD! Some packages might not function properly. 2018-06-01 01:33:20 WARNING: The repository tag for world dependency 'transmisasdsion@main' does not exist 2018-06-01 01:33:22 ERROR: Not continuing with upgrade due to missing repository tags. Use --force to override. 2018-06-01 01:33:24 What should I do? 2018-06-01 01:33:50 Also, i've tried using --force to no avail. It just says that this apk-tools is OLD 2018-06-01 01:49:22 'transmisasdsion' looks like a typo 2018-06-01 01:49:39 looks like you removed certain tagged repos in the meantime? 2018-06-01 01:49:47 try apk del transmisasdsion@main 2018-06-01 01:53:21 Okay. It didn't throw an error, but if I go apk upgrade again, it shows the same error 2018-06-01 01:56:41 what's your /etc/apk/world look like? 2018-06-01 01:58:06 will --enable-wrapper work for making the musl-gcc scrip on alpine? 2018-06-01 01:59:00 it looks like in the musl configure it just goes to detect=yes and then checks for _GLIBC 2018-06-01 01:59:15 appears to * 2018-06-01 02:00:28 It had a bunch of weird stuff in it. 2018-06-01 02:00:34 Things that shouldn't be there. 2018-06-01 02:00:59 you can just delete it :P 2018-06-01 02:01:14 then run `apk fix` 2018-06-01 02:01:17 and then you can try again 2018-06-01 02:02:28 graff: --enable-wrapper=gcc should just work fine 2018-06-01 02:03:05 sifriya:~# apk fix 2018-06-01 02:03:06 WARNING: This apk-tools is OLD! Some packages might not function properly. 2018-06-01 02:03:08 ERROR: unsatisfiable constraints: 2018-06-01 02:03:10 cron (missing): 2018-06-01 02:03:12 required by: world[cron] 2018-06-01 02:03:36 there's no package just claled cron no 2018-06-01 02:03:45 looks like a very flaky /etc/apk/world... 2018-06-01 02:04:28 Alright, I removed cron too 2018-06-01 02:05:56 apk fix yields only two messages now 2018-06-01 02:06:21 WARNING: This apk-tools is OLD! Some packages might not function properly. 2018-06-01 02:06:23 OK: 1003 MiB in 137 packages 2018-06-01 02:06:24 y 2018-06-01 03:52:47 thestranjer that is normal 2018-06-01 03:53:11 The reason you see the warning is because you probably have an edge repo defined 2018-06-01 05:29:17 Okay, how can I get the latest version of a package, though? 2018-06-01 05:29:25 apk upgrade or apk update does not accomplish this 2018-06-01 05:37:22 thestranjer : where do you find the information of the latest version of a package ? 2018-06-01 05:37:44 https://pkgs.alpinelinux.org/package/edge/main/x86_64/transmission-daemon 2018-06-01 05:38:01 thestranjer : so enable edge repo in /etc/apk/repositories 2018-06-01 05:38:31 Actually I think I figured it out 2018-06-01 05:38:40 apk add transmission-daemon --update-cache --repository http://dl-3.alpinelinux.org/alpine/edge/main/ --allow-untrus 2018-06-01 05:38:42 ted --upgrade 2018-06-01 05:39:10 Apologies for requesting the level of handholding I did. I'm kind of ignorant on the inner workings of Alpine. 2018-06-01 05:39:42 take it easy :) 2018-06-01 05:41:26 So to be clear, to skip a lot of that, I can put http://dl-3.alpinelinux.org/alpine/edge/main/ into /etc/apk/repositories and it would obviate theneed to specify it with --repository on apk add calls? 2018-06-01 05:42:17 Wait, I just looked at /etc/apk/repositories, and it's there. Well, a dl-2 version is. 2018-06-01 05:43:18 Is there some kind of prioritization going on? 2018-06-01 05:44:03 what are you trying to do ? 2018-06-01 05:44:28 I was trying to upgrade Transmission from 2.92 to 2.94 2018-06-01 05:44:36 you can have edge repo at the bottom of your /etc/apk/repositories, and # apk add transmission-daemon@edge 2018-06-01 05:44:49 I'm assuming you are mixing edge packages with stable system 2018-06-01 05:45:01 For whatever reason, it wouldn't go to 2.94 until I specified in the command which repository to get it from. 2018-06-01 05:45:08 dl-2, dl-3, dl-cdn don't matter 2018-06-01 05:45:44 thestranjer : https://wiki.alpinelinux.org/wiki/Alpine_Linux_package_management#Repository_pinning 2018-06-01 05:45:56 Hey man thanks 2018-06-01 05:46:23 happy Alpine-ing 2018-06-01 05:46:28 Oh that's cool that makes sense. 2018-06-01 05:46:49 I'm kind of an Ubuntu noob for my end user machine, so I must admit ignorance on the details of Alpine. 2018-06-01 06:15:10 <_ikke_> mixing stable and edge does not always work well though (Due to different dependency versions) 2018-06-01 06:29:05 livin' dangerously o/ 2018-06-01 06:29:11 livin' on the edge 2018-06-01 08:40:14 hi all when i try build an alpine image in a docker container I get this error "libburn : SORRY : Failed to open device (a pseudo-drive) : Permission denied" im guessing the container doesnt have access to some /dev even though it was run privileged, is it possible to set the name of this pusedo device in xorissofs so I can mount in it my container 2018-06-01 09:07:43 Is it possible to tell apk to use a locally built version of python rather than installing python through apk, when required as a dependency? 2018-06-01 09:08:09 make a package 2018-06-01 09:10:51 Ok, will look into that, thanks 2018-06-01 12:21:06 whoami 2018-06-01 12:21:34 Hi, where do I go to register as an official mirror server? 2018-06-01 12:23:10 <_ikke_> marz: https://mirrors.alpinelinux.org/ lists an e-mail address you can use 2018-06-01 12:23:46 _ikke_: We have a mirror server we want to register as an official one 2018-06-01 12:24:17 _ikke_: Oh okay, it's here hehe 2018-06-01 15:33:52 what does it mean when a package is "flagged"? 2018-06-01 15:34:12 anotherjason: user/website reports that it's out of date 2018-06-01 15:35:08 Thanks azarus, my problem is that although gdal is listed as a package in edge, I am not able to install it.. 2018-06-01 15:35:10 https://pkgs.alpinelinux.org/package/edge/testing/x86_64/gdal 2018-06-01 15:35:24 getting gdal (missing) 2018-06-01 15:35:34 anotherjason: what's in your /etc/apk/repositories? 2018-06-01 15:36:09 gdal is also not listed here: 2018-06-01 15:36:10 http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/ 2018-06-01 15:36:34 <_ikke_> It's in testing 2018-06-01 15:36:34 because it's not in main 2018-06-01 15:36:51 <_ikke_> https://pkgs.alpinelinux.org/packages?name=gdal&branch=edge&arch=x86_64 2018-06-01 15:37:24 thank you all, this is for a docker image, so how can I go about adding the testing repo? 2018-06-01 15:37:46 <_ikke_> echo http://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/ >>/etc/apk/repositories 2018-06-01 15:38:04 Awesome! Thank you! 2018-06-01 15:38:38 (also maybe issue something like "apk add -U gdal" after that) 2018-06-01 15:39:25 alright, lemme give that a shot, it still isnt wanting to install gdal even with the testing repo added 2018-06-01 15:39:43 or just issue apk update 2018-06-01 15:42:51 ERROR: http://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/: No such file or directory WARNING: Ignoring APKINDEX.723a0e7e.tar.gz: No such file or directory 2018-06-01 15:43:06 apk update doesn't seem to be working 2018-06-01 15:43:45 <_ikke_> sorry, you should leave out the x86_64 part 2018-06-01 15:45:23 @_ikke, its working now, I really appreciate the help! 2018-06-01 16:27:50 hello, could you please help me figure out why nouveau does not work? Here is xorg log: http://tpaste.us/Yv6P ... the real question is, should it work or nouveau is just not compiled in the kernel? 2018-06-01 22:42:12 https://xkcd.com/1988/ 2018-06-01 22:42:24 11:36:34 because it's not in main 2018-06-01 22:42:26 dead irl 2018-06-02 04:24:11 Hey. I have some issues when I try to boot the alpine iso 2018-06-02 04:24:41 it kernel panics about 50% of the time before init, and the other 50% of the time it inits and then quits giving video output 2018-06-02 04:27:58 and it seems like these issues only happen when it's booting BIOS. None of these issue happen on my EFI laptop 2018-06-02 04:53:51 x 2018-06-02 07:38:18 hi all, I’m looking for a command line package security scanner for alpine docker containers. 2018-06-02 07:39:11 However, all I find is an old discontinued utility from 2013 (cvechecker) 2018-06-02 07:39:50 is there any utility out there for checking alpine packages in an alpoine docker container against the cve database? 2018-06-02 10:29:45 hey 2018-06-02 10:30:17 i have problem setting my network work 2018-06-02 10:30:24 dnsmasq is working 2018-06-02 10:30:51 giving ip to client but i cant ping server from client side 2018-06-02 10:31:06 any ideas what could be wrong ? 2018-06-02 10:45:05 that 2018-06-02 10:45:11 's not nearly enough information 2018-06-02 10:45:25 is alpine acting as your router in this instance juoza ? 2018-06-02 10:46:11 if so, cat /proc/sys/net/ipv4/ip_forward 2018-06-02 10:46:14 what's it set to 2018-06-02 10:46:43 do you have a default route set up to your ISP? can you ping from the router itself? 2018-06-02 10:47:11 do you have a proper connected route for your LAN interface? 2018-06-02 10:47:34 what does "ip route show" show? 2018-06-02 10:48:13 is the client pointed to the correct LAN address of the gateway you've set up? 2018-06-02 10:48:52 is there any iptables/nftables rules? 2018-06-02 10:50:50 is the internal subnet a globally routable block, or an internal network? 2018-06-02 10:51:01 if it's internal, is NAT set up properly? 2018-06-02 10:55:01 alpine is acting as router 2018-06-02 10:55:08 ip_forward is set to 1 2018-06-02 10:55:28 i just want to connect client (laptop) to server running alpine 2018-06-02 10:55:39 i dont care about internet at this stage 2018-06-02 10:56:38 i configured dnsmasq to listen at eth1 interface 2018-06-02 10:56:59 set the range for 192.168.9.50-150 2018-06-02 10:57:39 gave eth1 manually address of 192.168.9.2/24 2018-06-02 10:57:50 and pluged the cable in 2018-06-02 10:58:07 laptop got the ip from dnsmasq running on alpine 2018-06-02 10:58:31 but when i try to ping to 192.168.9.1 from laptop - it doesnt work 2018-06-02 10:58:53 mepholic: ^ 2018-06-02 10:59:33 pinging .1 but ip being .2 ? 2018-06-02 10:59:44 sorry, just mistyped it 2018-06-02 10:59:49 ok 2018-06-02 10:59:51 i tried to ping .2 2018-06-02 10:59:57 well 2018-06-02 11:00:07 is there any iptables rules? 2018-06-02 11:00:12 iptables -nvL 2018-06-02 11:00:40 there are, but they are concerning only other interfaces 2018-06-02 11:00:43 what does the route table on the client look like? 2018-06-02 11:00:49 i will paste it 2018-06-02 11:01:24 please use a pastebin of somesort 2018-06-02 11:01:29 y 2018-06-02 11:02:15 https://pastebin.com/y82DRCDu 2018-06-02 11:02:37 what is eth0/ 2018-06-02 11:02:39 please keep in mind that i'm trying to set up eth2 interface now 2018-06-02 11:02:46 also those rules are superfluous 2018-06-02 11:02:59 the default forward policy is to accept 2018-06-02 11:03:18 vpn is running on tun0 2018-06-02 11:03:31 yeah, those rules still make no difference 2018-06-02 11:03:40 and i want all traffic from eth0 to go through tun0 2018-06-02 11:03:42 aka vpn 2018-06-02 11:04:00 iptables will ACCEPT all packages in the forward state re: the default forward policy 2018-06-02 11:04:05 Chain FORWARD (policy ACCEPT 12 packets, 1646 bytes) 2018-06-02 11:04:20 s/packages/packets/ 2018-06-02 11:04:21 lmao 2018-06-02 11:04:27 im a little bit drunk sorry 2018-06-02 11:04:29 anyways 2018-06-02 11:04:41 so eth0 == internet, eth2 == lan? 2018-06-02 11:04:48 yes 2018-06-02 11:04:53 alright show me 'iptables eth2' 2018-06-02 11:04:53 no 2018-06-02 11:05:10 :/ eth0 lan, tun0 internet, eth2 another lan port 2018-06-02 11:05:20 fair enough 2018-06-02 11:05:29 i will bridge eth0 ant eth2 at some point 2018-06-02 11:05:41 are they different subnets? 2018-06-02 11:05:48 no 2018-06-02 11:05:52 ok cool 2018-06-02 11:06:20 so you're sure that the client is plugged into the same segment as eth2? 2018-06-02 11:06:36 hm.. what do you mean ? 2018-06-02 11:07:15 how is the client connected to eth2 2018-06-02 11:07:24 via lan cable 2018-06-02 11:07:35 06:57:38 gave eth1 manually address of 192.168.9.2/24 2018-06-02 11:07:39 did you mean eth2? 2018-06-02 11:07:43 or actually eth1? 2018-06-02 11:07:53 eth2 2018-06-02 11:07:55 ok 2018-06-02 11:07:55 sorry 2018-06-02 11:08:11 is the client connected to eth2 through a switch? or a direct cable? 2018-06-02 11:08:15 direct 2018-06-02 11:08:21 ok, is the link up? 2018-06-02 11:08:24 on both sides 2018-06-02 11:08:24 yes 2018-06-02 11:08:26 yes 2018-06-02 11:08:39 what address was the client given? 2018-06-02 11:10:50 re: 07:04:53 alright show me 'iptables eth2' 2018-06-02 11:10:55 inet 192.168.9.85/24 brd 192.168.9.255 2018-06-02 11:11:06 I'm retarded and like 5 beers deep, i meant ifconfig, not iptables 2018-06-02 11:12:15 sorry for confusion, it's actually eth1 2018-06-02 11:12:17 https://pastebin.com/uHNRSCj1 2018-06-02 11:12:29 ok 2018-06-02 11:12:31 you know what 2018-06-02 11:12:36 give me ifconfig -a 2018-06-02 11:12:57 if you have two addresses in the same subnet on different ethernet interfaces 2018-06-02 11:13:02 one of them will get a longer metric 2018-06-02 11:13:37 and the machine will reply to requests to the address on the interface with the longer metric through the interface with the shorter metric most likely 2018-06-02 11:13:59 https://pastebin.com/5VUJR1Uh 2018-06-02 11:14:12 yessir 2018-06-02 11:14:15 that's a problem 2018-06-02 11:14:22 show me "ip route show" 2018-06-02 11:15:23 https://pastebin.com/UQPQ5CMt 2018-06-02 11:15:39 ... 2018-06-02 11:15:43 i wonder how linux handles that 2018-06-02 11:15:46 without a metric 2018-06-02 11:15:55 lowest IP priority? 2018-06-02 11:16:12 that would still mean that the replys to your requests are coming out of eth0 2018-06-02 11:16:15 and not eth1 2018-06-02 11:16:49 so the solution to this problem is to just bridge the interfaces now 2018-06-02 11:17:00 hm 2018-06-02 11:17:06 also, the IP of eth1 is 192.168.9.15 2018-06-02 11:17:08 not .2 2018-06-02 11:17:18 juoza: out of curiosity 2018-06-02 11:17:23 yeah sorry , i was trying many things 2018-06-02 11:17:29 lost myself a bit 2018-06-02 11:17:38 what happens if you run tcpdump host 192.168.9.0/24 2018-06-02 11:17:39 er 2018-06-02 11:17:41 sorry 2018-06-02 11:17:53 tcpdump -i eth0 host 192.168.9.0/24 2018-06-02 11:18:08 and then ping 192.168.9.15 from the client 2018-06-02 11:19:01 it's gotta be either ignoring those packets, or forwarding them out whatever it thinks the default interface might be 2018-06-02 11:19:28 juoza: you understand that switching != routing, right? 2018-06-02 11:19:38 tcpdump: Mask syntax for networks only 2018-06-02 11:19:38 tcpdump: Mask syntax for networks only 2018-06-02 11:19:38 tcpdump: Mask syntax for networks only 2018-06-02 11:19:44 fuck sorry 2018-06-02 11:19:46 oh 2018-06-02 11:19:51 replace host with net 2018-06-02 11:19:53 in that command 2018-06-02 11:19:55 sorry 2018-06-02 11:21:19 anyways, you don't "route" packets from one host to another that are in the same exact subnet 2018-06-02 11:21:29 even if there's 2 interfaces on a macine in that subnet 2018-06-02 11:21:38 one of those interfaces HAS to take priority 2018-06-02 11:21:51 usually it's done by some sort of "connected route metric" 2018-06-02 11:21:57 ok... 2018-06-02 11:22:06 unsually, I don't see that in that route table you showed me 2018-06-02 11:22:27 i'm guessing that linux will choose an interface with a higher priority based on IP or something 2018-06-02 11:22:48 routing is a layer 3 technology that's used to move packets between subnets 2018-06-02 11:23:01 you want to switch the packets between those two interfaces it sounds like 2018-06-02 11:23:18 which means you need to remove the IP addresses from both interfaces 2018-06-02 11:23:27 use bridge-utils to create a bridge 2018-06-02 11:23:35 yeah 2018-06-02 11:23:52 brctl addbr lan0 2018-06-02 11:24:05 brctl addif lan0 eth0 2018-06-02 11:24:07 brctl addif lan0 eth1 2018-06-02 11:24:12 then assign an ip to lan0 2018-06-02 11:24:22 i know this, thx 2018-06-02 11:24:35 then hosts on both eth0 and eth1 will be able to reach the router 2018-06-02 11:24:38 the thing is i only have ssh connection to the router 2018-06-02 11:24:45 so i dont want to block myself out 2018-06-02 11:24:50 if something is not working 2018-06-02 11:25:01 write a script to do it :) 2018-06-02 11:25:06 :) 2018-06-02 11:25:23 i have 3 interfaces on router so my idea was to try it out on 2 of them 2018-06-02 11:25:28 you can even have it attempt to revert at some point if you haven't disarmed it 2018-06-02 11:25:36 and leave one as a backup 2018-06-02 11:25:36 by getting back into the machine successfully 2018-06-02 11:25:45 the only other option is to set eth1 to another subnet 2018-06-02 11:25:58 which _should_ work fine if you have routing set up properly 2018-06-02 11:26:15 ok i will try that now 2018-06-02 11:27:13 juoza: you understand why the configuration you showed me won't work now though, right? 2018-06-02 11:27:23 i just want to make sure I'm helping people learn things 2018-06-02 11:27:24 you know 2018-06-02 11:28:17 well, as i got it the problem was that it's in the same subnet 2018-06-02 11:28:22 and it's not bridged 2018-06-02 11:28:35 juoza: if those two interfaces were on the same network segment, that probably would have been fine. the problem was, because you did not bridge the interfaces, you created two separate unconnected network segments 2018-06-02 11:29:01 same network segment ie. both plugged into the same switch, with the client 2018-06-02 11:29:08 yeah 2018-06-02 11:30:03 :) 2018-06-02 11:30:22 can you comment my iptables rules 2018-06-02 11:30:37 comment how? 2018-06-02 11:30:43 my idea is that all home traffic goes through vpn 2018-06-02 11:30:57 so home router is connected to vpn 2018-06-02 11:31:20 are you building a little box that sits behind your router and gives all clients behind it internet access over vpn? 2018-06-02 11:31:23 and all the clients connecting to it gets to internet via vpn 2018-06-02 11:31:48 ok cool 2018-06-02 11:31:49 well, yes, except it's the main router 2018-06-02 11:32:03 i want all the traffic to be vpn'ed 2018-06-02 11:32:07 ok 2018-06-02 11:32:17 so one interface needs to be connected directly to your modem 2018-06-02 11:32:24 another interface will serve the lan 2018-06-02 11:33:10 the "wan" interface, connected to the modem will probably have a dhcp client/static IP, and a tun interface out to the vpn provider being served over it 2018-06-02 11:33:26 yes 2018-06-02 11:33:30 you want to ONLY route the VPN provider's IP address out eth0 2018-06-02 11:33:40 and then set the default route out tun0 2018-06-02 11:34:00 and then use iptables to set up overloading NAT from eth1 out tun0 2018-06-02 11:34:18 i lost it sorry :) 2018-06-02 11:34:23 where at? 2018-06-02 11:34:35 let's imagine there is only wan tun0 and eth0 2018-06-02 11:34:47 ok, so no lan? 2018-06-02 11:34:53 i got internet from local provider via wan 2018-06-02 11:34:59 right 2018-06-02 11:34:59 tun0 is my vpn tunnerl 2018-06-02 11:35:08 and eth0 is my lan 2018-06-02 11:35:17 how does that work 2018-06-02 11:35:20 if this is the router 2018-06-02 11:35:29 you need one interface connected to the WAN 2018-06-02 11:35:50 ok, let say wan interface is eth1 then 2018-06-02 11:36:00 is your modem giving you that 192.168.9.0/24 address? 2018-06-02 11:36:06 or a public IP? 2018-06-02 11:36:10 public ip 2018-06-02 11:36:23 so what's currently acting as the router? 2018-06-02 11:36:49 this alpine box 2018-06-02 11:37:02 just redirecting everything through vpn 2018-06-02 11:37:13 so this alpine box is currently plugged into the wan? 2018-06-02 11:37:17 yes 2018-06-02 11:37:26 it only has rfc1918 addresses on it's interfaces 2018-06-02 11:37:31 where's it's public IP? 2018-06-02 11:37:39 i edited it out 2018-06-02 11:38:31 ok... 2018-06-02 11:38:39 was it attached to another interface? 2018-06-02 11:38:51 yes 2018-06-02 11:38:57 which interface? 2018-06-02 11:38:57 but the question is 2018-06-02 11:39:07 how to do it in proper way 2018-06-02 11:39:09 via iptables 2018-06-02 11:39:28 I can't help you unless I understand EXACTLY how your network is set up 2018-06-02 11:39:30 how to make sure that all traffic from lan goes over vpn 2018-06-02 11:40:06 you realize that this thing is going to need to have a public IP address from your actual internet provider at some point, right? 2018-06-02 11:40:46 unless it's sitting inside an internal network with NAT routing outbound, there's a completely diffrent solution to that 2018-06-02 11:41:03 NAT+routing* 2018-06-02 11:41:21 but why it needs public ip ? this router acts as vpn client 2018-06-02 11:41:31 the problem is that you haven't clearly described your problem to me 2018-06-02 11:41:42 sorry , i try my best :) 2018-06-02 11:41:53 I don't think you actually accurately understand the problem space 2018-06-02 11:41:56 which device 2018-06-02 11:42:02 on the network that this box is on 2018-06-02 11:42:09 has a PUBLIC IP address 2018-06-02 11:42:13 with the internet provider 2018-06-02 11:42:21 NOT the VPN provider 2018-06-02 11:42:29 that is a completely separate thing 2018-06-02 11:42:48 do you have a dorkly little linksys router attached to the modem? 2018-06-02 11:43:00 nope 2018-06-02 11:43:07 one sec 2018-06-02 11:43:43 im using pc engines apu2c2 2018-06-02 11:43:45 is the public IP on the modem it'self, and the modem is giving internal IP addresses to all your clients? 2018-06-02 11:45:55 actually i think there are few routers in the network 2018-06-02 11:46:20 and my apline box is just getting local ip on wan port 2018-06-02 11:46:40 and behind alpine box im creating my own private lan 2018-06-02 11:46:50 that i want to reach internet via vpn 2018-06-02 11:47:10 the only thing you should call a WAN port is any port that has an IP address outside of the rfc1918 address blocks 2018-06-02 11:47:15 https://tools.ietf.org/html/rfc1918 2018-06-02 11:47:23 The Internet Assigned Numbers Authority (IANA) has reserved the 2018-06-02 11:47:24 following three blocks of the IP address space for private internets: 2018-06-02 11:47:26 10.0.0.0 - 10.255.255.255 (10/8 prefix) 2018-06-02 11:47:28 172.16.0.0 - 172.31.255.255 (172.16/12 prefix) 2018-06-02 11:47:30 192.168.0.0 - 192.168.255.255 (192.168/16 prefix) 2018-06-02 11:48:13 ok, so lets say i have cable coming to my place 2018-06-02 11:48:19 pl 2018-06-02 11:48:21 ok* 2018-06-02 11:48:25 it gives me 192.168.1.1 address 2018-06-02 11:48:27 what is the cable plugged into? 2018-06-02 11:48:29 ok 2018-06-02 11:48:33 that's your first problem 2018-06-02 11:48:44 why so ? 2018-06-02 11:48:47 you need to set your cable modem into bridged mode 2018-06-02 11:49:07 so it hands out a public IP address to whatever is plugged into it 2018-06-02 11:49:22 plug the apu2 (eth0) into the modem and NOTHING else 2018-06-02 11:49:30 juoza: is it an arris? 2018-06-02 11:49:46 go to http://192.168.100.1/ 2018-06-02 11:49:50 do you see anything? 2018-06-02 11:50:03 nope 2018-06-02 11:50:06 juoza: is this like a dormitory or something where many people share the same connection out? 2018-06-02 11:50:14 that's a common cable modem default config page 2018-06-02 11:50:15 teatime07: yes 2018-06-02 11:50:18 lol 2018-06-02 11:50:38 the thing is i dont have access to the modem 2018-06-02 11:50:49 ok that really shouldn't be a problem 2018-06-02 11:51:01 if you had clarified that earlier, it would have been easier to help 2018-06-02 11:51:08 sorry :) 2018-06-02 11:51:09 Hi guys 2018-06-02 11:51:20 so fuck it, lets call eth0 the "wan" port 2018-06-02 11:51:26 :) 2018-06-02 11:51:39 juoza: you CAN establish a VPN out of the network properly, right? 2018-06-02 11:51:42 is this openvpn or what? 2018-06-02 11:51:52 yes and yes, it openvpn 2018-06-02 11:51:57 ok cool 2018-06-02 11:52:03 so same rules as what I said before 2018-06-02 11:52:22 put the clients on a DIFFERENT rfc1918 block than eth0 2018-06-02 11:52:27 So I'm trying to set up a dedi with FDE and remote SSH unlock, but I have absolutely no remote console to go on. Would someone be able to review what I've done, to see if I've made a big blooper somewhere 2018-06-02 11:52:32 the clients being the machines connected to eth1 2018-06-02 11:52:38 yes 2018-06-02 11:52:51 find the IP addresses for your VPN provider 2018-06-02 11:52:55 Rebooting to recovery now, but just curious; has someone done this before? 2018-06-02 11:53:01 i think iproute2 might even be able to use a dns name 2018-06-02 11:53:11 remove the default route out eth0 to the internet 2018-06-02 11:53:50 and replace it with a route to your default gateway, routing traffic only to the ip/domain of the VPN server you connect to 2018-06-02 11:54:26 can i do it all just using .ovpn file ? 2018-06-02 11:54:29 ip route add via dev eth0 2018-06-02 11:54:33 possibly 2018-06-02 11:54:45 you can create connect scripts 2018-06-02 11:54:51 that are referenced from that file 2018-06-02 11:54:55 at least 2018-06-02 11:55:10 i haven't touched openvpn in a while, because it's garbage 2018-06-02 11:55:15 ;]] 2018-06-02 11:55:20 if it works for you, it works 2018-06-02 11:55:50 well it works now, i'm just confused how safe it is 2018-06-02 11:55:50 there's nothing really wrong with it other than the fact that it can't handle high bandwidth tasks very well 2018-06-02 11:56:06 i'd guess it's pretty safe 2018-06-02 11:56:13 i mean how safe my iprules are etc 2018-06-02 11:56:18 as long as strong ciphers are being used 2018-06-02 11:56:51 what would happen if vpn provider would go down and situations like this 2018-06-02 11:56:53 anyways once you create the route out your gateway, and prevent it from being the default gateway 2018-06-02 11:57:01 set up your vpn connection 2018-06-02 11:57:12 and set the default gateway on the apu2 out the tun0 device 2018-06-02 11:57:36 juoza: if you want to "play it safe" you should fail open 2018-06-02 11:57:43 which means, when the vpn provider goes down 2018-06-02 11:58:00 the devices behind the apu2 don't have an internet connection 2018-06-02 11:58:08 thats how it is now 2018-06-02 11:58:16 the thing is, for the solution i'm talking about 2018-06-02 11:58:23 since you don't have access to the modem 2018-06-02 11:58:53 any client you want to be on the VPN will probably have to have a static IP and it's gateway set to eth0 on the apu2 2018-06-02 11:59:12 or you could use eth1 and a separate subnet 2018-06-02 11:59:28 and get your own switch and just plug shit in off the back of it 2018-06-02 11:59:55 this part i dont get at all 2018-06-02 12:00:08 why access to the modem is needed in general 2018-06-02 12:00:27 it's not really, just messier in general if you don't 2018-06-02 12:00:57 ok 2018-06-02 12:01:02 you need to decide if you want your vpn clients to be on their own subnet, or to share the same internal subnet that the modem provides, and just have to specify a different default gateway 2018-06-02 12:01:19 i want to have my own private subnet 2018-06-02 12:01:22 without question 2018-06-02 12:01:27 ok 2018-06-02 12:01:48 so eth0 is connected to the modem subnet, probably on some 192.168.1.0/24 address 2018-06-02 12:01:57 yes 2018-06-02 12:02:09 eth2 is your own private subnet, probably 192.168.9.1/24 2018-06-02 12:02:12 yes 2018-06-02 12:02:13 or eth1 2018-06-02 12:02:15 whichever 2018-06-02 12:02:20 lets say eth1 2018-06-02 12:02:26 ok so on the modem subnet 2018-06-02 12:02:34 the modem sits at 192.168.1.1, right? 2018-06-02 12:02:37 yes 2018-06-02 12:02:56 ok so that's the next-hop route to get to the internet 2018-06-02 12:03:00 for the apu2 2018-06-02 12:03:34 normally, that'd be considered the "default route" but since you want to route your standard traffic out a vpn, it is not the default route in this case 2018-06-02 12:03:50 so what you wanna do is 2018-06-02 12:04:28 type something like: ip route add vpn.provider.com via 192.168.1.1 dev eth0 2018-06-02 12:05:00 aw 2018-06-02 12:05:06 iproute2 doesn't like dns names :( 2018-06-02 12:05:22 so must be ip of vpn provider 2018-06-02 12:05:25 so yeah just lookup the IP of the vpn server 2018-06-02 12:05:26 yeah 2018-06-02 12:05:28 yea 2018-06-02 12:05:32 ok thx 2018-06-02 12:05:49 now once that's set up 2018-06-02 12:05:58 you'll probably need nat 2018-06-02 12:06:23 from eth1 (the private subnet) to tun0 (the vpn provider) 2018-06-02 12:06:29 you'll also want to do 2018-06-02 12:07:30 ip route add default via (internal ip address of the vpn provider's next-hop route) dev tun0 2018-06-02 12:08:08 https://www.revsys.com/writings/quicktips/nat.html 2018-06-02 12:08:13 quick nat guide 2018-06-02 12:08:44 in this guide replace eth0 with tun0 2018-06-02 12:08:51 pretty much 2018-06-02 12:09:10 that should get you a mostly working setup 2018-06-02 12:09:26 https://pastebin.com/yryMWTiW 2018-06-02 12:09:32 that's what i have now 2018-06-02 12:09:48 well 2018-06-02 12:09:55 eth0 is your "external" interface 2018-06-02 12:09:59 connected to the modem 2018-06-02 12:10:07 eth1 is your "internal" interface 2018-06-02 12:10:12 connected to the private network 2018-06-02 12:10:31 you want to route the private network traffic out the VPN interface, which is tun0 2018-06-02 12:10:42 yeah, it's mess 2018-06-02 12:11:00 cause im using different interfaces that you are using in your explanation 2018-06-02 12:11:01 does what you have in the paste make sense for that scenario? 2018-06-02 12:11:04 but it's the same 2018-06-02 12:11:09 in the end 2018-06-02 12:11:13 i mean result 2018-06-02 12:11:18 ok 2018-06-02 12:11:31 well if you follow my shitty instructions, you should get a mostly working result 2018-06-02 12:11:40 tun0 is vpn, eth0 is my private lan 2018-06-02 12:11:47 i've done this in the past 2018-06-02 12:11:51 cool! thanks a lot 2018-06-02 12:11:54 huge help 2018-06-02 12:12:04 juoza: the private lan cannot be connected to the modem's network at all 2018-06-02 12:12:06 btw 2018-06-02 12:12:32 yep 2018-06-02 12:12:32 each interface on the back of that APU2 is completely separate 2018-06-02 12:12:53 is eth1 attached to the modem now? 2018-06-02 12:12:58 i just tried what you said about my first problem with dnsmasq working etc 2018-06-02 12:13:17 i created different subnet for interface 2018-06-02 12:13:22 cool 2018-06-02 12:13:24 and now it's all good 2018-06-02 12:13:25 workin? 2018-06-02 12:13:27 sweet 2018-06-02 12:13:28 just as you said 2018-06-02 12:13:31 :) 2018-06-02 12:13:48 now i just have to bridge few interfaces together 2018-06-02 12:13:53 no 2018-06-02 12:13:56 and use br0 instead 2018-06-02 12:13:59 no bridges in this setup 2018-06-02 12:14:26 i just want to utilize apu2 lan ports 2018-06-02 12:14:45 don't bother 2018-06-02 12:14:46 so i dont have to use external switch for connecting devices via cable 2018-06-02 12:14:51 get a separate switch 2018-06-02 12:14:57 linux bridging sucks 2018-06-02 12:15:07 tbh 2018-06-02 12:15:08 :D 2018-06-02 12:15:45 question is maybe it's good enough for me 2018-06-02 12:15:55 im not running anything special 2018-06-02 12:16:52 yeah 2018-06-02 12:17:07 bridging the two private network ports is perfectly fine 2018-06-02 12:17:34 just don't add the public (modem) port to the bridge 2018-06-02 12:17:46 or your DHCP server's will get angry at eachother 2018-06-02 12:18:18 no no 2018-06-02 12:18:28 just private network 2018-06-02 12:18:41 in this setup, the only thing that your apu2 will be able to directly access over the internet is the VPN server, even internet traffic originating from the APU2 should be routed out the vpn 2018-06-02 12:18:56 just gotta make sure that the routes are set up properly 2018-06-02 12:20:10 well, im using .ovpn file generated by provider and iptables rules from your NAT guide 2018-06-02 12:20:41 i tried to turn off vpn on provider side 2018-06-02 12:20:57 than i had no internet at my home 2018-06-02 12:21:13 and it was restored only when vpn went back on again 2018-06-02 12:21:13 you need to run those 'ip route add' commands I gave you 2018-06-02 12:21:44 or wait, you got it working? 2018-06-02 12:21:51 yes 2018-06-02 12:21:54 dope 2018-06-02 12:22:07 yo guess what I use as my home router 2018-06-02 12:22:08 i mean it works for few months already 2018-06-02 12:22:16 Handle 0x0001, DMI type 1, 27 bytes 2018-06-02 12:22:17 System Information 2018-06-02 12:22:19 Manufacturer: PC Engines 2018-06-02 12:22:21 Product Name: APU2 2018-06-02 12:22:23 Version: 1.0 2018-06-02 12:22:25 SKU Number: 4 GB 2018-06-02 12:22:35 :)) 2018-06-02 12:22:36 nice 2018-06-02 12:22:41 delorean:~# cat /etc/alpine-release 2018-06-02 12:22:43 3.7.0 2018-06-02 12:23:00 do you have console cable ? 2018-06-02 12:23:05 or how is it called 2018-06-02 12:23:28 was a bit pain in ass to install alpine without it :| 2018-06-02 12:23:36 yeah 2018-06-02 12:23:43 just get a null modem pl2332 2018-06-02 12:23:48 or whatever that chip's called 2018-06-02 12:24:20 https://www.amazon.com/StarTech-com-USB-Serial-Adapter-Modem/dp/B008634VJY 2018-06-02 12:24:41 you can probably find that cheaper 2018-06-02 12:24:59 you can get a standard db9 one for 10 bucks, but then you'd need to find a null modem adaptor 2018-06-02 12:25:23 if you have a computer with an actual serial port, you can just get a null modem cable for like 6 bucks 2018-06-02 12:25:33 like a db9 serial port 2018-06-02 12:25:39 that's what I did at least 2018-06-02 12:25:54 yeah, will get it one day 2018-06-02 12:26:25 if you set it up so that the network comes back up on boot 2018-06-02 12:26:37 and then just test non-persistant changes to the network config 2018-06-02 12:26:49 you can always just reboot it if you fuck up 2018-06-02 12:27:40 just don't save any network configs you're not sure of 2018-06-02 12:30:56 yep 2018-06-02 12:31:02 i will try it 2018-06-02 15:50:47 i'm trying to set up remote unlock for my encrypted disk 2018-06-02 15:50:56 does anything here stand out? http://ix.io/1c7e 2018-06-02 15:51:19 i'm installing alpine through a recovery boot and my dedi doesn't have any way i can see the console 2018-06-02 17:05:31 in pkgs.alpinelinux.org I can see that the newest openjdk is 8u161 when the latest one is 10.0.1 2018-06-02 17:33:06 ahh finally in 2018-06-02 17:33:24 guys I'm curious about how nginx runs in alpine 2018-06-02 17:33:42 I used the docker nginx image, which logs outs to stdout 2018-06-02 17:35:17 https://hastebin.com/sijutecaba.pl 2018-06-02 17:35:25 is that supposed to be like that? 2018-06-02 17:35:44 looks to me like the process starts then crashes immediately, then is started again 2018-06-02 17:36:15 seems to be happening rapidly enough that when I load my webpage outside of my docker container, all apears to be well 2018-06-03 03:08:24 hellohello 2018-06-03 04:12:44 hi all 2018-06-03 04:17:49 I'm trying to install Alpine on a USB: I built a vm with Alpine guest and I'm trying to install alpine from it on a USB key but when I run setup-alpine and I choose none for "apk cache directory" I get this error message: ERROR package cache is not enabled 2018-06-03 04:17:59 So do you know how to fix this 2018-06-03 04:47:09 "apk cache directory" 2018-06-03 04:47:25 ?? 2018-06-03 05:40:06 per the wiki, it says that we don't need apk cache when we do install on USB (diskless) 2018-06-03 05:43:13 Guest98467: so the boot media is the USB, and you want to run Alpine on it as diskless ? 2018-06-03 05:45:32 yes 2018-06-03 05:46:20 hum. let me try for one 2018-06-03 05:46:29 so to make things clear: I want to install AlpineLinux on a USB from a VM that is using alpine linux 2018-06-03 05:47:07 no 2018-06-03 05:47:17 I think if you choose diskless it's wrong 2018-06-03 05:47:25 you have to choose the disk that is your USB device 2018-06-03 05:47:38 diskless installation means 2018-06-03 05:47:44 you have a computer 2018-06-03 05:48:23 you plug in your bootmedia (USB, sd card) and you run setup-alpine, then you plug out your usb and your machine keeps running 2018-06-03 05:48:26 I have a laptop on which I want to boot AlpineLinux from the USB to test it 2018-06-03 05:49:01 so $dd the iso image on to the USB then 2018-06-03 05:49:21 why such complication ? 2018-06-03 05:50:21 no I didn't not do dd iso to USB because it was not instructed to do this but rather using a different procedure (https://wiki.alpinelinux.org/wiki/Create_a_Bootable_USB#Automated) 2018-06-03 05:50:36 so id dd method from the ISO also working? 2018-06-03 05:52:17 yes 2018-06-03 05:52:20 it should 2018-06-03 05:52:45 thanks I'll try it and see if it works 2018-06-03 05:53:15 you should read at : "Alpine Linux from 3.3.0 and later" 2018-06-03 05:53:33 Guest98467: ^ 2018-06-03 05:55:57 oops, I didn't see this one 2018-06-03 08:30:39 I installed alpine on OrangePi-One. I used the "Generic ARM" installation method with custom u-boot. It boots and works. Unfortunately ethernet interface is not showing at all. I think I need a more recent Linux Kernel. Is it possible to build a custom "Generic ARM" archive with a newer kernel? 2018-06-03 08:36:42 in short, of course, but ... do you know which module you need? and have you tried if the hwdrivers service manages to load it? 2018-06-03 08:40:19 TBB: thank you for your reply. No I was unaware of the hwdrivers service. I supposed there was a problem with the dtb file but I was unable to track its dts. I will check hwdrivers. In the meantime, do you know how should I procede to build a custom "Generic ARM" archive? Should I download the whole git and compile a portion of it? 2018-06-03 08:44:28 you basically need a system with the necessary build tool and the contents of the kernel directory of the aports git 2018-06-03 08:45:08 thank you 2018-06-03 10:12:46 TBB: I just checked hwdrivers. I runned setup-alpine and restarted hwdrivers services. I can see lo interface but not eth interface. I am unable to figure out of to see logs generated by hwdrivers. Is restarting hwdrivers sufficient to check if it can see the ethernet interface? Do you have any other suggestion? 2018-06-03 10:50:43 hello 2018-06-03 11:15:54 ola. There is no php7-zlib in Alpine 3.7, its not compiled yet as a package ? 2018-06-03 11:27:29 <_ikke_> muhaha: https://bugs.alpinelinux.org/issues/8299 2018-06-03 11:27:35 <_ikke_> apparently it's bundled statically 2018-06-03 11:29:06 ah, thanks! 2018-06-03 13:00:46 Hey, is there a way to make an Alpine Linux live CD? 2018-06-03 13:05:19 <_ikke_> The iso's are 'live' by default 2018-06-03 14:00:27 aggaz: did you check if your board's network intf need firmware/driver/modules ? 2018-06-03 16:04:57 I tried using LVM2 resizefs feature and it complained that /usr/sbin/fsadm was not found... which is true since it's in /sbin/fsadm, that's where lvm-extras puts it 2018-06-03 17:26:39 tmh1999: OK, here :) 2018-06-03 17:26:54 ACTION is a bit curious to understand the channel etiquette that made this the right channel :) 2018-06-03 17:27:05 tmh1999: Shall I summarize for the rest of the channel ? 2018-06-03 17:27:18 no need 2018-06-03 17:27:21 one sec I'm reading 2018-06-03 17:27:23 tmh1999: Cool :) 2018-06-03 17:27:36 tmh1999: There will be a brief pause while I spray set -x everywhere :) 2018-06-03 17:27:38 meanwhile passing 'set -x' to your script to get more debugging log 2018-06-03 17:27:46 tmh1999: totally :) 2018-06-03 17:31:43 did you rebuild your linux-rpi ? 2018-06-03 17:32:11 tmh1999: I have not intentionally rebuilt my linux-rpi yet... I'm still in the 'reproduce what is known' stage 2018-06-03 17:32:17 ok 2018-06-03 17:32:20 FYI... the error is: 2018-06-03 17:32:25 https://www.irccloud.com/pastebin/vVi5fVdR/ 2018-06-03 17:32:33 ACTION goes to wrap his head around it 2018-06-03 17:34:14 paste me your dockerifle 2018-06-03 17:35:20 Sure :) 2018-06-03 17:35:29 https://www.irccloud.com/pastebin/W1o14lhR/ 2018-06-03 17:37:31 tmh1999: Note: if you want to run it first you need to run: 2018-06-03 17:37:53 docker run --rm --privileged multiarch/qemu-user-static:register --reset 2018-06-03 17:38:04 Which sets up the multiarch build infrastructure 2018-06-03 17:38:31 tmh1999: Also: 2018-06-03 17:38:35 git rev-parse --short HEAD 2018-06-03 17:38:35 1f7dc26742 2018-06-03 17:38:52 ACTION thinks you now have everything to precisely recreate if that's what you are trying to do :) 2018-06-03 17:43:05 I think this is more like docker thing 2018-06-03 17:43:20 let me see if I can run alpine armhf on qemu on x86 2018-06-03 17:46:42 edwarnicke : this works ./mkimage.sh --arch armhf --profile rpi --repository http://dl-cdn.alpinelinux.org/alpine/edge/main 2018-06-03 17:46:54 tmh1999: Cool :) 2018-06-03 17:46:58 tmh1999: I'll go try that :) 2018-06-03 17:47:11 tmh1999: I've also been set -x ing update-kernel to get a better view there 2018-06-03 17:47:49 for the record, I want to correct myself that there's chroot thing as you mentioned earlier. not exactly chroot, but the scripts do create a new rootfs. 2018-06-03 17:47:51 tmh1999: This is revealing: 2018-06-03 17:47:52 apk add --quiet -p /tmp/update-kernel.dJMKoi/root --arch armhf --keys-dir /etc/apk/keys --repositories-file /tmp/mkimage.NpDiPB/apkroot-armhf/etc/apk/repositories --no-scripts alpine-base linux-rpi2 linux-firmware linux-rpi2 linux-firmware 2018-06-03 17:48:04 yes adding --repository helps 2018-06-03 17:48:12 tmh1999: Yep :) 2018-06-03 17:48:21 tmh1999: I appreciate the fix :) 2018-06-03 17:48:26 enjoy 2018-06-03 17:48:26 tmh1999: Let me try it, one moment 2018-06-03 17:50:32 tmh1999: So far so good :) 2018-06-03 17:50:39 ACTION waits for build to finish :) 2018-06-03 17:50:46 o/ 2018-06-03 17:51:04 funny how emulating arm leads to slow builds ;) 2018-06-03 18:02:27 tmh1999: Question... I noted the github repos are mirrors, but you suggested sending a github PR for changes... is GitHub PR against the mirrors the proper etiquette ? 2018-06-03 18:04:13 by github PR to aports I mean changes to anything or linux-rpi that allow support for rpi3+ which you find working. 2018-06-03 18:04:43 we're using github as main method to accepting patches, mailing list is not used very much 2018-06-03 18:07:18 tmh1999: perfect 2018-06-03 18:07:23 tmh1999: Build works FYI :) 2018-06-03 18:47:19 Hello, i'm about to try alpine, how well is zfs supported? 2018-06-03 18:47:57 not going to do zfs-on-root, but hope to have a partition that is a pool 2018-06-03 18:48:22 <_ikke_> I know there is at least some support for zfs, but don't ask me for details :-( 2018-06-03 18:48:24 <_ikke_> :-)* 2018-06-03 18:48:58 adamantium: you should ask _ikke_ for details 2018-06-03 18:49:10 lol wat 2018-06-03 18:54:13 one problem I had yesterday 2018-06-03 18:54:22 I want the installer to not use my entire disk 2018-06-03 18:55:14 is there a way to tell it to only install alpine to one partition, but still put the boot loader in the MBR ? 2018-06-03 19:00:59 adamantium: in that case you need to manually run setup-disk 2018-06-03 19:01:25 can i still use the rest of setup-alpine, i dont want to manual install everything 2018-06-03 19:01:31 when setup-alpine starts doing the disk setup (after asking ntp client), quit it and run setup-disk 2018-06-03 19:01:44 setup-disk is the last process of setup-alpine 2018-06-03 19:01:52 good to know! 2018-06-03 19:01:54 that was my question 2018-06-03 19:01:55 lool 2018-06-03 19:02:27 im going to use setup-disk /mnt 2018-06-03 19:03:07 my next problem is, i don't have parted or cfdisk, and can't figure out how to get them installed. Those are the tools im familiar with 2018-06-03 19:03:22 don't know if that works. try setup-disk /dev/sda1 if you wants to install on 1 partition 2018-06-03 19:03:57 you can install parted after quitting setup-alpine 2018-06-03 19:04:32 i tried e.g. apk add parted , yesterday, and it couldn't find it IIRC 2018-06-03 19:04:33 i've never tried running # setup-disk /path/to/partition before 2018-06-03 19:04:54 <_ikke_> what arch? 2018-06-03 19:04:57 parted in main repo 2018-06-03 19:18:09 setup-alpine didn't setup the networking / bring up dhcp 2018-06-03 19:18:52 x86 , virtual 2018-06-03 19:22:23 <_ikke_> it might not be present on the boot media 2018-06-03 19:23:00 trying standard now 2018-06-03 19:23:04 i think it is working 2018-06-03 19:24:15 ZFS works well, but there's no ZFS package for the "virtual" kernel (and arguably using ZFS in a VM misses most of the point anyway) 2018-06-03 19:24:22 With the standard image it should just work once you install the tools 2018-06-03 19:24:55 I even had ZFS on root working at one point, mostly just as a test, never did anything serious with it 2018-06-03 19:24:57 on the contrary, zfs on a VM can be used for cheap offsite backup for non-commercial situations 2018-06-03 19:24:59 :-) 2018-06-03 19:25:39 i prefer zfs send|recv > rsync / scp ... 2018-06-03 19:26:02 You can use LVM snapshots to accomplish the same thing, and that way is probably better tested since it's in the mainline kernel 2018-06-03 19:26:10 But I can see your use case, at least 2018-06-03 19:26:24 k 2018-06-03 19:28:12 pardis: will i need to enable any sort of zfs related services in openrc? I'm not doing zfs on root, just trying to install it on a partition... 2018-06-03 19:28:39 I don't believe so, but I'm not 100% certain of that 2018-06-03 19:28:46 i think you're right 2018-06-03 19:28:48 You can always just try it and see 2018-06-03 19:28:51 trying now 2018-06-03 19:29:17 what is alpine's prefferred filesystem 2018-06-03 19:29:26 ;-) 2018-06-03 19:29:40 (What does the installer use by default) 2018-06-03 19:29:51 Insofar as there is a "preferred" one, the installer uses ext4 by default 2018-06-03 19:29:57 k 2018-06-03 19:29:59 See /sbin/setup-disk 2018-06-03 19:30:03 thanks 2018-06-03 19:30:04 The installer is just a bunch of shell scripts 2018-06-03 19:30:09 i like it 2018-06-03 19:30:27 i do funtoo linux and void, but might replace void with alpine 2018-06-03 19:34:36 pardis: on the standard install iso, i have no mkfs.ext4 command ? 2018-06-03 19:35:48 Looks like setup-disk installs e2fsprogs for you automatically 2018-06-03 19:35:56 k 2018-06-03 19:36:24 In general, you can find out which package provides a particular utility using https://pkgs.alpinelinux.org/contents 2018-06-03 19:36:28 that was the one 2018-06-03 19:36:30 thanks 2018-06-03 19:36:39 good! 2018-06-03 19:36:40 :D 2018-06-03 19:40:13 pardis: what is the minimal space i can get away with do you think on alpine, keeping in mind zfs packages / modules installed as well. (Tryng to decide how large to make my / filesystem partition.) 2018-06-03 19:45:04 I dunno, my Alpine VM has about 1 GiB used on /, which includes a few hundred MB of stuff that wasn't there by default 2018-06-03 19:45:42 well on a fresh install, it used about 500MB yesterday i think 2018-06-03 19:46:08 k well thanks 2018-06-03 20:43:40 tmh1999: As far as I understand on ARM arch ethernet drivers should be integrated and loaded by the kernel, assuming that the dtb file is properly configured. Am I wrong? 2018-06-03 20:56:37 alpine setup-disk script did not install a boot loader? 2018-06-03 20:56:42 Anybody been here before? 2018-06-03 20:57:24 i did setup-disk /mnt ... it installed the OS, reboot and no boot loader. IIRC it mentioned I needed to possibly do some work on the MBR it said. 2018-06-03 20:58:06 so now i've loaded back into the ISO, mounted the filesystem in /mnt and the boot partition in /mnt/boot, and i've bind and chrooted in, and just trying to install a bootloader isn't working. 2018-06-03 20:58:25 i've tried to follow both the syslinux and the grub install instructions, neither one are installing according to the guide 2018-06-03 20:58:56 grub, i am most familiar with, is saying: error: cannot find a GRUB drive for /dev/sda2 2018-06-03 20:59:40 I'm trying to install it on the MBR, (legacy-bios and dos partition table) , using "grub-install /dev/sda" 2018-06-03 21:00:46 "check your device map" 2018-06-03 21:21:51 ok im trying again guys 2018-06-03 21:22:14 now, i just ran setup-alpine, then stopped, then mounted / at /mnt and /boot at /mnt/boot 2018-06-03 21:22:25 now i ran setup-disk /mnt 2018-06-03 21:22:53 now after it all finished, it says "you might need to fix the MBR to be able to boot" 2018-06-03 21:23:08 So, I would like to do that, i have googled for alpine docs to "fix the MBR" and come up empty 2018-06-03 21:23:30 so what gives 2018-06-03 21:26:13 missing operating system / no bootable device 2018-06-03 21:27:13 I can build my RPI images, but the kernels are not booting correctly yet (not even on RPI 3b, which works for the downloaded RPI images from the wiki). If you are interested, I've pushed my mkimage-docker.sh script: https://github.com/edwarnicke/aports/commit/130923392d5bbafcec32782eac3c5d1e51461c80 and once I *do* have a working image build, I'll push a PR 2018-06-03 21:27:39 tmh1999: ^^^^^ 2018-06-03 21:41:43 extlinux gives not a direcetory /boot 2018-06-03 21:42:01 is sunday a bad day to ask for assistance in here 2018-06-03 21:42:08 maybe i'll try again tomorrow. 2018-06-03 21:42:18 <_ikke_> adamantium: In the weekends it's more quiet here 2018-06-03 21:47:40 this is insane 2018-06-03 21:47:53 im going to let the installer make its preferred partitions and sizes and resize later myself. 2018-06-03 21:48:00 thanks anyways. 2018-06-03 21:48:26 Has support for the hardened kernel ended? 2018-06-03 21:49:25 <_ikke_> Truxx: yes 2018-06-03 21:49:55 <_ikke_> Truxx: It cannot be maintained anymore 2018-06-03 21:50:42 _ikke_: I see, thank you. Is there maybe somewhere a guide what to do if someone used it? 2018-06-03 21:51:43 <_ikke_> Truxx: You mean how to migrate? 2018-06-03 21:52:03 Yes, how to switch from hardened to the vanilla 2018-06-03 21:54:59 adamantium: dd bs=440 count=1 conv=notrunc if=/usr/share/syslinux/gptmbr.bin of=/dev/sdX 2018-06-03 21:55:32 if you want GRUB, and create /boot/grub/grub.cfg file 2018-06-03 21:56:00 https://wiki.alpinelinux.org/wiki/Bootloaders] 2018-06-03 21:56:03 mps the alpine doc says dd bs=440 count=1 conv=notrunc if=/usr/share/syslinux/mbr.bin of=/dev/sda 2018-06-03 21:56:04 https://wiki.alpinelinux.org/wiki/Bootloaders 2018-06-03 21:56:11 so i followed the doc. 2018-06-03 21:56:18 im not using GPT 2018-06-03 21:56:26 mbr.bin is syslinux 2018-06-03 21:56:42 <_ikke_> Truxx: cannot find any documentation atm 2018-06-03 21:57:07 _ikke_: Is it complicated? 2018-06-03 21:57:13 then, d bs=440 count=1 conv=notrunc if=/usr/share/syslinux/mbr.bin of=/dev/sda should work 2018-06-03 21:57:19 mps I wanted syslinux, i only tried grub because syslinux wasn't working 2018-06-03 21:57:36 but you must have /boot/extlinux.conf file 2018-06-03 21:57:58 syslinux usually works 2018-06-03 21:58:32 sorry, s/d bs/dd bs/ 2018-06-03 21:58:42 i understand 2018-06-03 21:58:44 well 2018-06-03 21:58:51 im trying to think what I should do. 2018-06-03 21:58:54 brb 2018-06-03 21:58:55 line should be: dd bs=440 count=1 conv=notrunc if=/usr/share/syslinux/mbr.bin of=/dev/sda 2018-06-03 21:59:37 ok let's do grub. 2018-06-03 21:59:51 first look do you have /usr/share/syslinux/mbr.bin file 2018-06-03 22:00:00 <_ikke_> Truxx: afaik, it's just a matter of installing linux-vanilla, but you might also need to change something in your boot setup 2018-06-03 22:00:04 im making the partitions right now. (I hit C-c at the point of setup-alpine to do with disks) 2018-06-03 22:00:54 export DISKOPTS="-m sys /mnt" 2018-06-03 22:01:40 and then setup-alpine could simplify process, but I didn't tried 2018-06-03 22:02:39 I did that procedure by 'hand' 2018-06-03 22:02:46 _ikke_: Ok, thx, I'll give it a try. 2018-06-03 22:03:07 setup-network ; setup-interfaces ; ifup eth0 2018-06-03 22:03:27 setup-apkrepos 2018-06-03 22:03:36 apk add util-linux e2fsprogs udev 2018-06-03 22:03:59 then I create partitions and: 2018-06-03 22:04:10 ok im at that point now. 2018-06-03 22:04:21 mount /dev/sdx /mnt 2018-06-03 22:04:36 i need to make a filesystem on it before mounting it 2018-06-03 22:04:49 sda1 is / sda2 is swap. thats it. 2018-06-03 22:04:54 thats all i want. 2018-06-03 22:05:01 create /mnt/boot, then mount boot partition with 'mount /dev/sdx /mnt/boot 2018-06-03 22:05:16 and finally setup-disk -m sys /mnt 2018-06-03 22:05:47 yes, of course, I also make.fsxx 2018-06-03 22:05:51 k 2018-06-03 22:05:52 well 2018-06-03 22:05:56 thats what i've been doing....... 2018-06-03 22:06:05 isn't it going to try and install syslinux and screw it all up 2018-06-03 22:06:05 typing from the head 2018-06-03 22:07:15 adamantium: It could be done, I did that method of install few time on different machines and architectures 2018-06-03 22:07:33 ok 2018-06-03 22:07:35 after this installs 2018-06-03 22:07:40 should i chroot into it 2018-06-03 22:07:43 to install grub 2018-06-03 22:07:44 ? 2018-06-03 22:07:47 s/time/times/, (self taught in English, bah) 2018-06-03 22:08:05 probably not 2018-06-03 22:08:18 well it needs a boot loader. 2018-06-03 22:08:29 setup-disk creates /boot/extlinux.conf for you, IIRC 2018-06-03 22:08:33 im using grub 2018-06-03 22:08:53 i swear to god this is broken 2018-06-03 22:08:54 I did just once with grub 2018-06-03 22:09:29 but I forgot exact procedure, only remember that I created /boot/grub/grub.cfg by hand 2018-06-03 22:09:37 sure fine 2018-06-03 22:09:37 but 2018-06-03 22:09:42 there is no bootloader in the MBR 2018-06-03 22:09:59 im hitting a bug 2018-06-03 22:10:06 you install bootloader with dd command 2018-06-03 22:10:22 dd bs=440 count=1 conv=notrunc if=/usr/share/syslinux/mbr.bin of=/dev/sdX 2018-06-03 22:10:29 it boostrapped the OS into /mnt, right 2018-06-03 22:10:30 now 2018-06-03 22:10:37 it says "might need to fix the MBR" 2018-06-03 22:10:38 where sdX is your disk 2018-06-03 22:11:38 huh, no, procedure is simple if you understand what you want to achieve 2018-06-03 22:12:40 extlinux --install /boot 2018-06-03 22:12:50 extlinux: Not a directory: /boot 2018-06-03 22:13:25 so again 2018-06-03 22:13:29 I ask, why doesn't syslinux work 2018-06-03 22:13:31 lol 2018-06-03 22:14:00 fdo you have /boot dir 2018-06-03 22:14:22 it's located at /mnt/boot 2018-06-03 22:14:27 which is why i asked if i needed to chroot. 2018-06-03 22:14:27 bah, new keyboard: s/fdo/do/ 2018-06-03 22:15:25 or do i need simply extlinux --install /mnt/boot 2018-06-03 22:15:26 ? 2018-06-03 22:15:26 adamantium: didn't tried with chroot, so not sure if it works 2018-06-03 22:15:40 do you see the predicament? 2018-06-03 22:15:43 Why not try and see what happens? I expect both should work, but it's easy enough to find out 2018-06-03 22:15:44 This isn't my first rodeo 2018-06-03 22:15:54 you could try and see if it works 2018-06-03 22:15:54 The bigger problem is that I don't think extlinux --install will do anything to the MBR (by design) 2018-06-03 22:15:55 i'll tell you now, chroot does not work. 2018-06-03 22:16:14 It sounds like you already have extlinux installed and just no MBR (if I understand your problem correctly) 2018-06-03 22:16:16 i'm finding that the official install instructions using setup-disk /mnt does not work 2018-06-03 22:16:27 i would report a bug, but this shouldn't be a new user job. 2018-06-03 22:16:58 Which instructions are you following? 2018-06-03 22:17:38 tweaking Alpine requires 'try and error' method 2018-06-03 22:18:48 I'm sorry for losing my patience. 2018-06-03 22:18:54 Okay, let's see here. 2018-06-03 22:23:58 So, in answer to your question, pardis I followed this : http://wiki.alpinelinux.org/wiki/Setting_up_disks_manually#Custom_partitioning 2018-06-03 22:24:26 and this https://wiki.alpinelinux.org/wiki/Install_to_disk 2018-06-03 22:25:04 Essentially: I booted the ISO, Then did: setup-alpine -- then I C-c on the first setup-disk related questions. 2018-06-03 22:25:20 So that configured all the locale, networking etc. 2018-06-03 22:25:44 Then I did apk add cfdisk xfsprogs 2018-06-03 22:25:57 then I partitioned the disk in legacy bios, DOS partition tables 2018-06-03 22:26:07 Then I created the filesystem 2018-06-03 22:26:18 I mounted root / to /mnt 2018-06-03 22:26:29 then I ran setup-disk /mnt 2018-06-03 22:26:49 then it gives a warning that your "MBR needs fix" 2018-06-03 22:26:55 So I followed this docs https://wiki.alpinelinux.org/wiki/Bootloaders 2018-06-03 22:27:05 I wanted to use syslinux. 2018-06-03 22:27:15 dd bs=440 count=1 conv=notrunc if=/usr/share/syslinux/mbr.bin of=/dev/sda 2018-06-03 22:27:26 At this point the docs break down 2018-06-03 22:27:31 extlinux --install /boot does not do anything 2018-06-03 22:27:38 reboot is fail to load a bootloader 2018-06-03 22:27:54 extlinux --install /mnt/boot does not do the trick either 2018-06-03 22:28:01 and neither does chroot and then extlinux --install /boot 2018-06-03 22:28:25 Any more questions? 2018-06-03 22:28:34 A couple of obvious questions: Is /dev/sda the correct disk to use for your computer? And did you mark the Alpine partition as bootable? 2018-06-03 22:30:05 pardis: Do you mean the boot flag? 2018-06-03 22:30:10 Yes 2018-06-03 22:31:45 it is using /dev/vda actually, which i specified during the original typing of commands 2018-06-03 22:32:04 IIRC i may not have specified the boot flag, that is very good thinking. 2018-06-03 22:32:16 edwarnicke: not even works on rpi3 ? interesting. maybe you can ask fabled - the maintainer of this stuff - if there's some magic trick in the process. he's not online now but should be next week, probably during working hours UTC time zone. 2018-06-03 22:33:04 adamantium: Do you still have the VM you installed? If so, you can just boot back into the ISO and check/set the boot flag 2018-06-03 22:33:12 hehe 2018-06-03 22:33:17 ACTION may have rage quit 2018-06-03 22:34:48 one more time 2018-06-03 22:34:51 for the glory 2018-06-03 22:54:08 tmh1999: Yeah... its weird... note: its definitely the kernel, because if I take my image and copy the files from boot/ on the image I download from the wiki, everything works fine on rpi3b. I'll ping fabled tomorrow. 2018-06-03 23:38:39 It says "as .config in the linux-4.15 folder" - on this page: https://wiki.alpinelinux.org/wiki/Custom_Kernel Where is that folder supposed to be 2018-06-03 23:38:44 ? 2018-06-04 00:58:04 mono keeps getting segfaulted by grsec 2018-06-04 01:05:05 but why? 2018-06-04 01:10:39 alright guys, apk install zfs && modprobe zfs 2018-06-04 01:10:48 modprobe: FATAL: Module zfs not found in directory /lib/modules/4.9.65-1-virthardened 2018-06-04 01:10:56 what is missing :\ 2018-06-04 01:11:11 s/install/add 2018-06-04 01:11:46 well, what is installed? 2018-06-04 01:12:49 i want to install zfs and modprobe it 2018-06-04 01:12:57 it isn't finding the kernel modules 2018-06-04 01:13:03 so how do i install the zfs kernel modules 2018-06-04 01:13:13 do you have zfs-hardened ? 2018-06-04 01:13:44 the docs mention a "zfs-virthardened" https://wiki.alpinelinux.org/wiki/Setting_up_ZFS_on_LUKS 2018-06-04 01:13:47 but it isn't found. 2018-06-04 01:14:16 try zfs-hardened 2018-06-04 01:14:18 ok yeah, it was zfs-hardened that i needed. 2018-06-04 01:14:19 thanks 2018-06-04 01:14:54 no problem 2018-06-04 01:14:59 how do i search packages with apk 2018-06-04 01:15:05 i could have found that myself if i knew how 2018-06-04 01:15:06 apk search 2018-06-04 01:15:21 thanks 2018-06-04 01:15:25 I'm currently wondering myself how ZFS works for me 2018-06-04 01:15:35 what do you mean 2018-06-04 01:15:36 even though I only have the "base" package 2018-06-04 01:15:55 I'm running a "diskless" install 2018-06-04 01:16:05 and I've no idea where it searches for modules 2018-06-04 01:16:24 modprobe zfs still isn't finding stuff 2018-06-04 01:16:26 i rebooted, too. 2018-06-04 01:16:36 i have zfs and zfs-hardened installed 2018-06-04 01:16:44 modprobe: FATAL: Module zfs not found in directory /lib/modules/4.9.65-1-virthardened 2018-06-04 01:19:28 linux-hardened and zfs-hardened versions mismatch ? 2018-06-04 01:20:13 both are at 4.9.65-1 on 3.7-stable tree 2018-06-04 01:20:38 i'm a new user of alpine, just trying to install zfs and get it loaded up. 2018-06-04 01:20:42 any idea? 2018-06-04 01:21:27 #apk update and #apk upgrade to latest changes ? what is your /etc/apk/repositories 2018-06-04 01:22:17 http://termbin.com/rqtm 2018-06-04 01:22:26 (update && upgrade had nothing to do) 2018-06-04 01:23:04 What does 'apk info -v | grep zfs' say? 2018-06-04 01:23:09 That should confirm what versions of the zfs packages you have 2018-06-04 01:23:22 Oh wait, hang on 2018-06-04 01:23:26 You're running a virthardened kernel 2018-06-04 01:23:27 I see now, 2018-06-04 01:23:28 yes. 2018-06-04 01:23:30 ZFS isn't packaged for the virt kernel 2018-06-04 01:23:30 thats the problem 2018-06-04 01:23:33 exactly 2018-06-04 01:23:44 how do i remove virt kernel 2018-06-04 01:23:48 ooh 2018-06-04 01:23:50 and use only hardened kernel 2018-06-04 01:24:16 First install the linux-hardened package, update your bootloader config and boot that so you know it works 2018-06-04 01:24:23 Then you can remove the linux-virthardened package 2018-06-04 01:24:42 ok, im not familiar with syslinux, is there a command to do this part for me like update-grub or grub-mkcofnig -o lol ... 2018-06-04 01:25:29 There's update-extlinux in Alpine, which uses /etc/update-extlinux.conf 2018-06-04 01:26:19 ok, i only see one kernel in /boot 2018-06-04 01:26:25 vmlinuz-hardnened 2018-06-04 01:26:42 LINUX vmlinuz-hardened is in /boot/extlinux.conf 2018-06-04 01:27:06 you dont have to update bootloader config 2018-06-04 01:27:07 virthardened is clearly in use (uname -a) 2018-06-04 01:27:34 is vmlinuz-hardned == linux-virthardened ? 2018-06-04 01:28:05 both linux-hardened and virt hardened kernels provide /boot/vmlinuz-hardened 2018-06-04 01:28:15 That isn't the case on my system 2018-06-04 01:28:24 I only have /boot/vmlinuz-virthardened 2018-06-04 01:28:33 interesting 2018-06-04 01:28:38 maybe pardis is right 2018-06-04 01:28:51 so update bootloader config then 2018-06-04 01:29:40 update-extlinux 2018-06-04 01:29:40 /boot is device /dev/vda3 2018-06-04 01:29:40 extlinux: no previous syslinux boot sector found 2018-06-04 01:30:18 Are you sure that what you have mounted at /boot now is the same thing you had at /mnt/boot when doing setup-disk earlier? 2018-06-04 01:30:30 It sounds like it's a different partition if your running kernel isn't there and there's no syslinux boot sector 2018-06-04 01:30:43 lol 2018-06-04 01:30:47 this might be 2018-06-04 01:31:09 i did some voodoo earlier 2018-06-04 01:32:16 Well, whatever partition has the boot flag on it should be mounted at /boot, since that's what your MBR will load from (so that one must have the syslinux boot sector) 2018-06-04 01:33:12 so, I personally have no linux package installed 2018-06-04 01:34:17 did I do something wrong or is that supposed to happen? 2018-06-04 01:34:35 That depends on your installation 2018-06-04 01:34:44 "diskless" 2018-06-04 01:35:31 I don't run diskless mode, but that sounds like it probably isn't a problem 2018-06-04 01:35:37 Moreover, if it were a problem then your system wouldn't boot at all 2018-06-04 01:35:52 sure, it does work 2018-06-04 01:36:02 but how am I supposed to upgrade the kernel? 2018-06-04 01:36:48 ok yeah my boot wasn't mounted 2018-06-04 01:36:53 i forgot to update fstab earlier 2018-06-04 01:37:09 and in stuff i had done earlier, it had created new /boot aparently 2018-06-04 01:37:19 let me get this mounted up... 2018-06-04 01:41:42 pardis:i need to force reinstall linux-hardened, apk add -f linux-hardened isn't doing it? 2018-06-04 01:43:12 del and then add i guess 2018-06-04 01:43:21 :D 2018-06-04 01:43:34 I have a zfs module but apk doesn't know which package put it there... 2018-06-04 01:45:18 ok pardis zfs is loaded now and my boot partition is mounted LOL 2018-06-04 01:45:30 thanks guys 2018-06-04 01:45:56 can anyone help with mono ? 2018-06-04 01:49:31 pardis: every time i reboot, i have to manually modprobe zfs to work with my pool. What is the alpine way to handle this? 2018-06-04 01:49:43 (Some distros have services they say in the docs to enable and whatnot) 2018-06-04 01:53:40 looks like im guessing rc-update add zfs-* ... 2018-06-04 01:54:53 ok yeah, great, cool! ALPINE! woot 2018-06-04 01:54:55 thanks again guys 2018-06-04 02:06:12 woot 2018-06-04 02:06:14 woot 2018-06-04 02:06:17 woot 2018-06-04 02:06:23 lol 2018-06-04 02:07:24 : check /etc/init.d/ to see any zfs services 2018-06-04 02:07:41 yup yup 2018-06-04 02:07:45 got it all going now 2018-06-04 02:07:49 oddly 2018-06-04 02:07:55 alpine uses 67MB of my ram 2018-06-04 02:08:21 void is using 45 2018-06-04 02:08:41 not sure how that happened. 2018-06-04 02:34:16 magic 2018-06-04 03:54:55 hello can someone pleas tell me how to start nginx in alpine? 2018-06-04 03:55:23 /etc/init.d/nginx start 2018-06-04 03:55:55 trying that 2018-06-04 03:56:18 you have to configure it mind you 2018-06-04 03:56:44 error /bin/sh: /etc/init.d/nginx: not found 2018-06-04 03:56:51 did you install it? 2018-06-04 03:57:02 I have installed and configured it via dockerfile 2018-06-04 03:57:14 wut 2018-06-04 03:57:28 I am running it in a docker container 2018-06-04 03:57:34 are you familiar with docker? 2018-06-04 03:57:37 no 2018-06-04 03:58:07 okay, I suspect several system utilities are removed in the docker version of alpine to keep its file size small 2018-06-04 03:58:23 that isn't a system utility 2018-06-04 03:58:23 i was hoping nginx had its own command, like nginx start 2018-06-04 03:58:34 that's nginx's init script 2018-06-04 03:58:35 init.d is not a system utility? 2018-06-04 03:58:42 the file comes with the nginx package 2018-06-04 03:58:50 thats odd 2018-06-04 03:58:53 no 2018-06-04 03:58:56 thats how it always works 2018-06-04 03:59:01 one moment ill go into the container to see 2018-06-04 03:59:08 your container sounds like it just doesnt have nignx 2018-06-04 03:59:10 nginx* 2018-06-04 03:59:14 or its setup in a very strange way 2018-06-04 03:59:22 and not just using the nginx package 2018-06-04 03:59:24 like it should 2018-06-04 04:00:39 I'm by no means a Docker expert, but init scripts do utilize the init system, and containers don't usually use it 2018-06-04 04:01:05 the init system can invoke init scripts 2018-06-04 04:01:24 not the other way around as you said 2018-06-04 04:01:24 they can, but how well do you think they work if it's not even being run? 2018-06-04 04:01:30 it doesn't even exist 2018-06-04 04:01:32 20:56 < birdbolt1> error /bin/sh: /etc/init.d/nginx: not found 2018-06-04 04:01:50 it can't run if it doesn't exist 2018-06-04 04:01:51 so 2018-06-04 04:01:52 ¯\_(ツ)_/¯ 2018-06-04 04:01:58 and containers generally do use init in my experience 2018-06-04 04:02:01 i just dunno about docker 2018-06-04 04:02:15 but typical container platforms do invoke init as the first process within the containerized environment 2018-06-04 04:02:45 I guess we'll just have to agree to disagree on that one then 2018-06-04 04:03:13 huh init.d folder doesnt even exist 2018-06-04 04:03:20 lovely 2018-06-04 04:03:43 i guess it was removed (what TBB siad here would hold tru) to make the docker image 2018-06-04 04:04:20 ideally, you run a single service in a docker container, so init.d would be counter intuitive. 2018-06-04 04:04:38 that's rather bizarre and honestly diverging from the base system enough to make it unsuitable to consider worth supporting 2018-06-04 04:04:47 this is some setup made by whomever made your template 2018-06-04 04:04:52 not a standard alpine deployment by any means 2018-06-04 04:05:11 docker has an "ENTRYPOINT" command which lets you run a starting script or command of your choice though 2018-06-04 04:05:19 virtual machines do run init, app containers probably not 2018-06-04 04:05:46 in my experience docker is unique if it does not run init 2018-06-04 04:05:52 every other container tech i know of does run init 2018-06-04 04:09:02 then you're not very familiar with application containers. what's the point of running a full init in an app container? 2018-06-04 04:09:19 that said, you of course -can- 2018-06-04 04:09:25 it just makes no sense 2018-06-04 04:09:33 using init.d scripts is not how you use nginx or any service with docker 2018-06-04 04:09:36 ¯\_(ツ)_/¯ 2018-06-04 04:09:51 i have tens of thousands of containers that operate in that fashion under my control 2018-06-04 04:09:52 must be unique 2018-06-04 04:10:08 you want your containers to be lean, and running an init serves no purpose in containers 2018-06-04 04:10:18 your host already runs one 2018-06-04 04:10:46 there's a wide difference between application containers and a "VPS" which is still just a container 2018-06-04 04:11:05 technically there's no such thing as init in docker containers. containers are just 1 process, they can't have init process running along with them. 2018-06-04 04:11:10 but I'll take a step back and say container is a word that seems to mean different things to different people 2018-06-04 04:11:36 and I'm as guilty as anyone of using that word differently in different contexts 2018-06-04 04:11:53 anyway tmh1999 2018-06-04 04:12:12 you can run multiple processes in a container, even in docker (as a quick google just demonstrated to me) 2018-06-04 04:12:21 as you expect you just use init as your entry point much like a VPS/container 2018-06-04 04:14:01 tmh1999, are u familiar with nginx in docker? 2018-06-04 04:14:18 do you even have an nginx binary 2018-06-04 04:14:21 my dockerfile installs it and i replace default config file with mine 2018-06-04 04:14:32 but then i cant start the server 2018-06-04 04:14:49 solar, yes, my dockerfile runs `apk update && apk add nginx` 2018-06-04 04:14:55 I'm as familiar as https://github.com/nginxinc/docker-nginx/blob/d377983a14b214fcae4b8e34357761282aca788f/stable/alpine/Dockerfile 2018-06-04 04:15:04 birdbolt1: then that process is failing 2018-06-04 04:15:07 because /etc/init.d/nginx does not exist 2018-06-04 04:15:39 this is where you should start to debug, not at nginx but why apk is not working 2018-06-04 04:15:46 make sure your networking is properly setup. 2018-06-04 04:15:54 like I said, there's nothing stopping you from running a full init in a container, but containers tend to be single-app containers in which running an init system makes no sense, especially if you're running many of them 2018-06-04 04:16:14 TBB: i agree, that's why an "app container" and a "VPS" are logically separate 2018-06-04 04:16:19 despite both just being the same technology 2018-06-04 04:16:20 yup 2018-06-04 04:16:42 there is no real technical distinction between the two outside of running init or not however 2018-06-04 04:17:26 solar: yeah you *can* run multiple processes/apps in a single container, but hey there are people who drive card with no hands : it's not how cars or containers are designed to be. Containers are designed to be running as single process/app and cars are designed to be running with drivers' hands on the wheel. But I'm no one to judge. 2018-06-04 04:18:00 let it be said, the nginx package has the init script, so I imagine the container creator has removed it 2018-06-04 04:18:06 that is a relatively new concept for containers, traditionally they have been full environments mainly because there is a separation of ownership between the host and the container tmh1999 2018-06-04 04:18:08 :P 2018-06-04 04:18:17 yeah I'm old ... 2018-06-04 04:18:23 let's move on 2018-06-04 04:18:42 lol 2018-06-04 04:18:47 i'd be happy if all my customers containers were just single processes 2018-06-04 04:19:00 this turned into quite the debate 2018-06-04 04:19:03 i wouldn't be sitting here fighting a ssh bruteforce hitting literally 4500 containers individually right now 2018-06-04 04:19:03 :( 2018-06-04 04:19:20 I'm here to learn, not sure which one of these sides to commit to memory as the right answers lol 2018-06-04 04:19:30 birdbolt1 your issue doesn't lie with nginx 2018-06-04 04:19:30 birdbolt1: debates are good as long as they don't get out of control :) 2018-06-04 04:19:32 apk isn't working 2018-06-04 04:19:39 that's where you need to start troubleshooting 2018-06-04 04:19:44 check out the github link I posted, it would help you to run your nginx container. after all that's how people run it 2018-06-04 04:19:45 the package never was installed 2018-06-04 04:19:53 anyways, i stole a bit of code from the official alpine-nginx docker build 2018-06-04 04:19:56 and it worked 2018-06-04 04:20:01 presumably that means apk update didn't fire 2018-06-04 04:20:21 CMD ["nginx", "-g", "daemon off;"] 2018-06-04 04:23:33 I wouldn't necessarily call app containers relatively new either; 0install is some 11 years old and the concept's been in full use in MacOS for I don't even know how long 2018-06-04 04:23:55 but saying that just falls under general discussion 2018-06-04 04:24:18 OS-level containerization is a 90s technology, but it's outdated by hardware virt in either case so we're just being pedantic here :P 2018-06-04 04:24:47 and now it's the future 2018-06-04 04:25:27 funny how things go in cycles; people usually smile at old timers when they say everything fashionable now is just a rehash of something they did decades ago 2018-06-04 04:25:28 boy i hope not 2018-06-04 04:26:18 while neither tech should be used for security purposes, hw virt has a much smaller attack surface :P 2018-06-04 04:26:29 well, I do see the upside: the way software is packaged for Linux now is in some ways completely reasonable but it's also what makes or breaks a distro 2018-06-04 04:26:48 application support or lack thereof 2018-06-04 04:27:32 ¯\_(ツ)_/¯ i guess that's where we're starting to drift apart, my experience with alpine has generally been maintaining my own packages and just using the distro as a nice bit of scaffolding :p 2018-06-04 04:28:08 I use Alpine that way as well, I maintain a derivative and package software for it 2018-06-04 04:28:28 but... imagine a distro without a full web browser 2018-06-04 04:28:38 Alpine is dangerously close to that 2018-06-04 04:29:07 i personally stopped using linux on the desktop due to that sort of issue 2018-06-04 04:29:24 i don't like most of the mainstream distros and working on alpine on the desktop would be too much of a hassle to me 2018-06-04 04:29:26 Chromium is such a bitch to package (and full browsers probably all are) that I wouldn't be surprised if Alpine stopped packaging it 2018-06-04 04:29:35 on the other hand mepholic is using it full time 2018-06-04 04:29:37 and gets by fine 2018-06-04 04:29:43 what browser are you using rn anyway mepholic 2018-06-04 04:29:46 lmao 2018-06-04 04:29:49 i'm on alpine 2018-06-04 04:29:54 er 2018-06-04 04:29:57 o right 2018-06-04 04:29:58 adelie 2018-06-04 04:30:00 you're on adelie rn 2018-06-04 04:30:00 but 2018-06-04 04:30:01 i forgot 2018-06-04 04:30:04 i'm using ff quantum 2018-06-04 04:30:12 which is an orphaned package from alpine 2018-06-04 04:30:17 it works fine 2018-06-04 04:30:46 we don't ship rust and some other things in adelie that are required for ff quantum 2018-06-04 04:30:56 because rust doesn't support all of our tier 1 architectures 2018-06-04 04:30:56 I just broke my dev system by installing ff quantum the other day :) 2018-06-04 04:31:10 TBB: i was on edge for the longest time 2018-06-04 04:31:15 y'all crazy 2018-06-04 04:31:18 ACTION pets his v3.7 repo 2018-06-04 04:31:36 solar: rolling release isn't terrible for desktop machines that you use every day 2018-06-04 04:31:39 well, it's also part of my job, checking out what's coming 2018-06-04 04:31:46 oh i know 2018-06-04 04:31:48 but some dumb breaking shit did get pushed to edge a few times 2018-06-04 04:31:50 i used arch for a long tiem 2018-06-04 04:31:56 i just got sick of it breaking eventually 2018-06-04 04:32:04 i wouldn't use edge on any of my servers 2018-06-04 04:32:04 heh, I was a Gentoo user for a good 16 years 2018-06-04 04:32:06 or anything 2018-06-04 04:32:12 no more! 2018-06-04 04:32:19 lol 2018-06-04 04:32:21 i used to be a rhel guy 2018-06-04 04:32:22 so 2018-06-04 04:32:26 same 2018-06-04 04:32:27 go ahead and throw tomatoes at me 2018-06-04 04:32:30 got sick of Perl updates breaking the system almost every time 2018-06-04 04:32:31 i still get forced to use it 2018-06-04 04:32:33 at work 2018-06-04 04:32:35 same 2018-06-04 04:32:35 *throws fresh tomatoes* 2018-06-04 04:32:50 i'm currently trying to make some 2.6.32 boxes run smoothly :( 2018-06-04 04:32:53 i was kind enough and they didnt splatter all over you :) 2018-06-04 04:32:55 this bruteforce is kicking me ass though 2018-06-04 04:32:57 I'm still partly a RedHat guy, if CentOS counts 2018-06-04 04:32:58 ew 2018-06-04 04:33:04 i have no choice 2018-06-04 04:33:06 its openvz 2018-06-04 04:33:10 ew 2018-06-04 04:33:12 i dont want to maintain it 2018-06-04 04:33:14 but i'm kinda forced 2018-06-04 04:33:15 :P 2018-06-04 04:33:16 is um 2018-06-04 04:33:26 LXC safe enough for hosting yet? 2018-06-04 04:33:29 LOL 2018-06-04 04:33:30 hell no 2018-06-04 04:33:37 rip 2018-06-04 04:33:38 there's an experimental vzkernel 4.9 2018-06-04 04:33:43 but hey, this is a job; any job comes with a certain amount of things we'd rather not do :D 2018-06-04 04:33:44 i havent tested it in detail yet 2018-06-04 04:33:48 but it seems pretty stable actually 2018-06-04 04:34:06 that's why it's a job, and that's why I get paid for it 2018-06-04 04:34:16 if i could get that running on an alpine host i'd move all my containers over in a heartbeat 2018-06-04 04:34:16 TBB: ff quantum has treated me fine for months 2018-06-04 04:34:21 i'm already running alpine on the metal and its fine 2018-06-04 04:34:29 its just these 2.6.32 guests that are getting their shit kicked in 2018-06-04 04:34:47 solar: i can help you with ovz on alpine 2018-06-04 04:35:00 thats a late-summer/fall project 2018-06-04 04:35:15 it has to be evaluated before we start the new management systems :\ 2018-06-04 04:35:56 jesus 2018-06-04 04:36:13 h 2018-06-04 04:36:16 christ 2018-06-04 04:36:31 h 2018-06-04 04:39:29 mepholic: yeah, the new firefox works fine, it's just that if you install it on Alpine, you should go full edge or you'll end up breaking your system 2018-06-04 04:39:49 you'll be one apk upgrade away from having an OS that can't run much of anything 2018-06-04 04:41:02 so, guess what I did right after restoring my dev workstation to a stable condition? 2018-06-04 04:41:17 (it's related to the earlier conversation) 2018-06-04 04:41:20 oh lmao 2018-06-04 04:42:05 I installed FlatPak and then installed Firefox as a flatpak 2018-06-04 04:42:23 never got it to run though... 2018-06-04 04:43:05 but that's what I'll be evaluating next: whether flatpak and/or ostree are at the point where they're usable 2018-06-04 04:43:26 how can i change my scheduler to noop 2018-06-04 04:44:02 TBB: i dicked with flatpak a bit as well 2018-06-04 04:44:04 no success 2018-06-04 04:44:14 i was trying to run steam 2018-06-04 04:44:16 :) 2018-06-04 04:44:25 I'm about to just make a ubuntu chroot 2018-06-04 04:45:04 the thing I've worked on for two years now is my very own container tool 2018-06-04 04:45:20 we do our Alpine installs using it exclusively 2018-06-04 04:46:34 adamantium: that's only one google away but you've got an entry called scheduler under /sys somewhere, cat it to see what you have available and echo into it to change the scheduler 2018-06-04 04:48:38 mepholic: I think flatpak would solve many of the problems of desktop Alpine, but of course it too would need some dedicated people 2018-06-04 04:49:13 TBB: yeah something like flatpak would help drastically 2018-06-04 04:51:45 yes, TBB I asked because strangely I get cat /sys/block/vda/queue/scheduler 2018-06-04 04:51:45 none 2018-06-04 04:52:25 you're using virtio 2018-06-04 04:52:31 the host side is where you would need to change the scheduler 2018-06-04 04:52:45 ok never mind then, that explains alot 2018-06-04 04:52:48 thanks 2018-06-04 04:54:05 TBB: two googles and an irc message from solar away 2018-06-04 04:54:13 ^_^ 2018-06-04 04:56:50 as an aside, I don't really know whether 'one google away' is a good expression for something easy, considering the origins of 'google'... 2018-06-04 05:13:43 hey do are any of u a bit familiar with connecting to ports across containers? 2018-06-04 05:13:59 I have been able to confirm django and uwsgi work fine in their container 2018-06-04 05:14:22 I have nginx in its own container configured to listen to uwsgi's ip and port 2018-06-04 05:14:37 and the connection keeps getting refused, like its not seeing it or something 2018-06-04 10:51:05 when grsec says "please investigate the crash report for ..." where can I find that report? 2018-06-04 11:07:12 l 2018-06-04 11:59:55 hi, does any one have experience using the mini_httpd server on alpine? Is it secure enough for serving static files over TLS? (i.e. no egregious problem with roughly default settings) 2018-06-04 12:00:25 karthanistyr, yes 2018-06-04 12:01:23 with setup-acf, you'll have a mini_httpd instance working over ssl 2018-06-04 12:01:35 with self-signed certificate of course 2018-06-04 12:01:47 https://pkgs.alpinelinux.org/package/edge/main/x86_64/mini_httpd It's flagged out of date though. At 1.27 it's missing fixes for some CVEs :/ 2018-06-04 12:01:51 http://www.acme.com/software/mini_httpd/ 2018-06-04 12:02:45 has been flagge out-of-date today 2018-06-04 12:03:25 Ok got it, so it must be on track for an update 2018-06-04 12:03:27 Thanks! 2018-06-04 12:07:27 does anyone have any experience running mono? 2018-06-04 12:07:29 on alpine? 2018-06-04 12:16:01 karthanistyr: 2018-06-04 12:16:02 https://git.alpinelinux.org/cgit/aports/commit/?id=d872daa0 2018-06-04 13:03:21 can I choose which libc to use? 2018-06-04 13:04:03 <_ikke_> Most packages are built against musl 2018-06-04 13:04:21 so I'd have to build them myself 2018-06-04 13:04:31 rebuilt them rather 2018-06-04 13:17:41 https://news.microsoft.com/2018/06/04/microsoft-to-acquire-github-for-7-5-billion/ 2018-06-04 13:17:55 is that true? or fake news again? 2018-06-04 13:18:37 <_ikke_> I think it's true 2018-06-04 13:37:02 I believe the official announcement comes in the beginning of the US working day 2018-06-04 13:37:41 well I think the news on news.microsoft.com is official ;p 2018-06-04 13:42:12 so, what're the alternatives 2018-06-04 13:45:04 https://blog.github.com/2018-06-04-github-microsoft/ 2018-06-04 13:46:13 if one didn't care about alternatives before just because github was a closed-source thing that never worked well with alternatives, why now? :) 2018-06-04 13:46:22 it's unlikely to get worse 2018-06-04 13:46:43 yup 2018-06-04 13:46:47 but, it's micro$oft ! 2018-06-04 13:46:50 they're evil 2018-06-04 13:46:58 they want to destroy open source 2018-06-04 13:47:04 lol 2018-06-04 13:47:31 darkfader: so true :) I don't understand why people move from github to gitlab/* 2018-06-04 13:47:59 gitlab is meh 2018-06-04 13:48:16 gitlab is (mostly) open source, but most people seem to be moving to the free hosted service 2018-06-04 13:48:22 the interface to git.alpinelinux.org is good, tough 2018-06-04 13:48:45 <_ikke_> cgit is not that good 2018-06-04 13:48:45 cgit, if you want it dynamically made 2018-06-04 13:48:47 isn't that just cgit? 2018-06-04 13:48:49 <_ikke_> yes 2018-06-04 13:48:57 stagit if you want it statically 2018-06-04 13:49:02 <_ikke_> gitea 2018-06-04 13:49:08 gitea is nice 2018-06-04 13:49:26 what's bad about cgit? 2018-06-04 13:49:57 i mostly used bitbucket and synced to github from there 2018-06-04 13:50:28 but the maintenance was a bit much, even though it was more comfortable to use 2018-06-04 13:50:33 how about that 2018-06-04 13:50:37 gogs or soething 2018-06-04 13:51:12 <_ikke_> gitea is a fork of gogs 2018-06-04 13:52:13 oh, ok 2018-06-04 13:52:32 in any case, has anyone tried mono in alpine? 2018-06-04 13:52:39 <_ikke_> I haven't 2018-06-04 13:52:41 the package in testing 2018-06-04 13:52:46 runs for a bit 2018-06-04 13:52:50 but then segfaults 2018-06-04 13:53:44 grsec: From x.x.x.x: Segmentation fault occurred at (nil) in /usr/bin/mono-sgen[mono:17377] 2018-06-04 13:54:52 isn't this a problem with grsec/pax or whatever 2018-06-04 13:55:47 looks like it 2018-06-04 13:56:03 however, testing/mono does apply paxmark 2018-06-04 13:56:13 <_ikke_> Just that grsec says it segfaults, doesn't mean its causing it 2018-06-04 13:56:29 fabled: Good day! tmh1999 tells me you are the maintainer for the Alpine RPI images. I tried to use one on my RPI 3b+ and discovered it won't boot (though Rasperian does) and on my RPI 3b it will boot, but the wifi drivers won't work. So in typical open source fashion I set out to fix it to contribute the patch back. 2018-06-04 13:57:06 fabled: I did finally get the image to build from aports, but at the end the image I built didn't boot even on the RPI 3b. 2018-06-04 13:57:24 there's a mono issue 2018-06-04 13:57:35 edwarnicke, nice. patches are welcome. 2018-06-04 13:57:35 that says it's muslc problem 2018-06-04 13:57:52 fabled: This is what I did to try to build: https://github.com/edwarnicke/aports/commit/130923392d5bbafcec32782eac3c5d1e51461c80 2018-06-04 13:58:38 fabled: It builds, but the image doesn't boot on RPI 3b (which your images do)... so since I hadn't succeeded in reproducing a working image for the 3b, I've not made progress on fixing it for the 3b+ or 3b wifi. 2018-06-04 13:58:44 fabled: Is there some magic trick I'm missing? 2018-06-04 13:58:56 edwarnicke, cross building images does not work because it's unable to execute scripts 2018-06-04 13:59:10 at least building the initramdisk will fail 2018-06-04 13:59:32 fabled: The commit I pointed you to uses a docker image that runs as armhf :) 2018-06-04 13:59:42 qemu? 2018-06-04 13:59:45 Yep 2018-06-04 13:59:46 this one https://github.com/mono/mono/issues/7167 2018-06-04 13:59:48 Its a slick trick 2018-06-04 13:59:58 ok 2018-06-04 14:00:20 I'm using --arch armhf --profile rpi 2018-06-04 14:03:09 fabled, talking about rpi, did you add some alpine specifics to the kernel configs? 2018-06-04 14:03:44 clandmeter, it's separate config, based on the rpi config and alpine config. 2018-06-04 14:03:48 fabled: If what I'm doing *should* work when buildling on actual armhf, I'll proceed with the assumption its the qemu, and try to figure out how to get it going on an RPI for build 2018-06-04 14:03:50 the multiarch docker image edwarnicke is using is pretty nice 2018-06-04 14:04:16 fabled, yes i know, i wanted to know what the alpine part is/was. 2018-06-04 14:04:24 oh btw, is there something to do to get alpine working on rpi 3b+ ? I tried the same image I used with model 3, but it can't boot 2018-06-04 14:04:50 clandmeter, mostly networking related iirc 2018-06-04 14:04:51 asys we're talking about it here 2018-06-04 14:05:07 i tried to upgrade rpi kernels but it fails. i think the rpi patch has some broken dep logic (like last time) 2018-06-04 14:05:32 wonder if we could create some script to just extend the default config. 2018-06-04 14:05:52 and add aarch64 kernel 2018-06-04 14:05:53 edwarnicke, asyd : maybe it needs newer boot blob from upstream? usually they add features to the boot loader when new hw comes out 2018-06-04 14:06:23 the firmware commit id used to build the image is in https://git.alpinelinux.org/cgit/aports/tree/scripts/mkimg.arm.sh 2018-06-04 14:08:34 fabled: I saw that :) fabled I even tried updating it locally :) 2018-06-04 14:09:42 fabled: What commit on aports did you build the image for download on the wiki from? 2018-06-04 14:09:51 oh thanks 2018-06-04 14:19:56 edwarnicke, which image? 2018-06-04 14:20:04 the images on main download page come from tags 2018-06-04 14:21:36 fabled: https://wiki.alpinelinux.org/wiki/Raspberry_Pi and http://dl-cdn.alpinelinux.org/alpine/v3.7/releases/armhf/alpine-rpi-3.7.0-armhf.tar.gz 2018-06-04 14:21:56 edwarnicke, the latter comes from v3.7.0 tag 2018-06-04 14:22:51 fabled: Perfect :) I'll try that :) 2018-06-04 14:27:35 ACTION feels a little silly that didn't occur to him ;) 2018-06-04 14:28:26 fabled: I'm excited to get Alpine working on RPI... I'd actually like to be able to treat RPI as a 'stateless' server... and use it to run containers for actual work. Alpine looks *ideal* for that :) 2018-06-04 14:30:08 what does EXPOSE actually do in a Dockerfile? 2018-06-04 14:30:59 <_ikke_> qrvpzvb: It tells that a specific port is being used by the container. When running the container docker will map that port to some random port on the host 2018-06-04 14:32:33 I see; I thought you had to always map them yourself 2018-06-04 14:34:33 edwarnicke: pcengines.ch 2018-06-04 14:34:56 and olinuxino 2018-06-04 15:07:57 is it not possible to use apk cache on another partition of the boot device? 2018-06-04 15:11:03 use symlink 2018-06-04 15:11:12 I did 2018-06-04 15:11:24 apk ignores this 2018-06-04 15:12:27 like /media/sda1 is where the base image is mounted then I have fstab mount /cache to /dev/sda2 but on reboot nothing is installed from the apk cache 2018-06-04 15:13:23 I have /etc/apk/cache -> /cache 2018-06-04 15:24:45 why not mount it on /etc/apk/cache ? 2018-06-04 15:24:58 wait 2018-06-04 15:26:23 well that is not persistent storage... which is why I want to store the cache on its own partition. 2018-06-04 15:28:06 mind you /media/sda1/cache works just fine. Im beginning to think it is because of the fs type. /dev/sda1 is fat32 and /dev/sda2 is ext4. 2018-06-04 15:28:22 or perhaps fstab is not mounting it correctly? 2018-06-04 15:30:48 or /dev/sda2 is being mounted after apk cache attempts to install 2018-06-04 15:31:56 probably 2018-06-04 15:32:46 anywhere I can look to confirm? 2018-06-04 15:41:26 you're on a diskless install? 2018-06-04 15:41:47 for me, I see /etc/apk/cache on my apkovl 2018-06-04 15:42:18 yes diskless 2018-06-04 15:42:31 using a CFast card 2018-06-04 15:42:48 oh but you said that apk disregards the symlink 2018-06-04 15:43:03 yes 2018-06-04 15:43:14 weird 2018-06-04 15:43:31 it is a symlink for me too 2018-06-04 15:43:42 though on my boot partition 2018-06-04 15:44:11 so like sda1 is where apk boot efi and apkvol.tar.gz is located. This mounts to /media/sda1 by default as read only. 2018-06-04 15:44:25 yes 2018-06-04 15:44:54 then when my apkovl restored /etc/fstab mounts /dev/sda2 to /cache which hold the apk cache 2018-06-04 15:45:24 the symlink is also there with /etc/apk/cache pointing to /cache 2018-06-04 15:45:32 but nothing is installed on boot 2018-06-04 15:46:41 on boot 2018-06-04 15:46:51 the install is from /media/sda1/apk 2018-06-04 15:47:02 as in when I reboot vim is not installed from world 2018-06-04 15:47:25 apk is supposed to install from world which looks to the apk cache to install it 2018-06-04 15:47:42 but it does not look to the cache or any remote repos 2018-06-04 15:47:48 even though it is listed in world 2018-06-04 15:48:38 yes /media/sda1/apks is the apks from the base image 2018-06-04 15:53:39 I've no idea 2018-06-04 15:53:52 changes sda2 to vfat just like sda1 and it still dont work... seems like it will only work from sda1 2018-06-04 15:53:53 I too wanted to have my cache elsewhere 2018-06-04 15:54:00 though I hadn't looked at it 2018-06-04 15:54:37 going to try one more thing 2018-06-04 16:03:24 nope again 2018-06-04 16:03:26 oh well 2018-06-04 16:17:28 tmh1999: pcengines.ch <- cool :) 2018-06-04 16:34:18 fabled: Did you build http://dl-cdn.alpinelinux.org/alpine/v3.7/releases/armhf/alpine-rpi-3.7.0-armhf.tar.gz on a RPI itself? If so, which version? 2018-06-04 17:05:27 Hi everyone. 2018-06-04 17:05:58 I'd like to ask for some tips on debugging an issue that its making me pulling hairs. 2018-06-04 17:06:27 I am trying to run a bash script on startup, and thus I made a script and placed it on /etc/init.d/ 2018-06-04 17:07:04 registered it via rc-update add svcName default 2018-06-04 17:07:10 but it never launches on startu 2018-06-04 17:08:10 I can find it with "rc-update show default" and also I find the created symlink under /etc/runlevels/default 2018-06-04 17:08:23 sorm_: put it to the /etc/local.d 2018-06-04 17:08:48 there is README file with instructions 2018-06-04 17:09:05 the script itself or the one that I placed in init.d/ ? 2018-06-04 17:09:08 oh 2018-06-04 17:09:10 let me check 2018-06-04 17:09:33 /etc/init.d is not for shell scripts 2018-06-04 17:19:38 mps: https://pastebin.com/zEt3LwmK 2018-06-04 17:19:47 that's what I have in the init.d 2018-06-04 17:20:14 should that one be in local.d instead? 2018-06-04 17:20:18 <_ikke_> no 2018-06-04 17:20:29 <_ikke_> but if it's a simple program, you don't need to define start / stop yourself 2018-06-04 17:21:10 I want to run either a .sh file with 2 lines, or copy a file and run it with python3 xD 2018-06-04 17:21:28 and I can't seem to understand how to do it on alpine 2018-06-04 17:21:58 so I thought the cleanest way was to use it as a service thus that file I created 2018-06-04 17:22:14 <_ikke_> https://github.com/OpenRC/openrc/blob/master/service-script-guide.md 2018-06-04 17:22:43 <_ikke_> sorm_: Are you actually starting a service, or do you want to execute some script? 2018-06-04 17:22:51 execute a script 2018-06-04 17:23:03 <_ikke_> Then a service is not appropriate 2018-06-04 17:25:49 in that case I assume the tutorial you've just sent me doesn't apply ? 2018-06-04 17:26:00 <_ikke_> correct 2018-06-04 17:26:12 <_ikke_> If all you want to do is execute script, why not just execute it? 2018-06-04 17:26:30 <_ikke_> Do you want it to happen at boot or something? 2018-06-04 17:26:36 yes, at boot 2018-06-04 17:26:52 should happen after nfsmount, but I don't think its a big problem 2018-06-04 17:27:11 <_ikke_> then you want to place the script in local.d and enable the local service 2018-06-04 17:34:29 fuck yea :D 2018-06-04 17:34:56 I'm ashamed to say I've been 10 hours at this 2018-06-04 17:37:24 _ikke_: Thanks so much! I owe you a cold one! 2018-06-04 18:06:01 edwarnicke, rpi images our built by our arm builders (aarch64 hardware) 2018-06-04 18:20:54 hello all 2018-06-04 18:23:04 hhello mairon 2018-06-04 22:59:36 does alpine have any other service managers than openrc in the repos? 2018-06-04 22:59:55 process supervisor 2018-06-04 23:00:20 I see on the wiki s6 2018-06-04 23:00:24 s6 should be somewhere 2018-06-04 23:54:00 rain1: runit, too 2018-06-04 23:54:24 ah nice 2018-06-05 01:32:11 I am struggling to import KVM image files into Xen Dom0 as described 2018-06-05 01:32:15 https://serverfault.com/questions/915186/importing-kvm-image-files-vda-drives-as-xen-image-files-xdva-drives 2018-06-05 01:32:36 Any hints? 2018-06-05 01:41:50 hi, I want to unlock luks using keyfile, anyone knows how to do? Thanks. 2018-06-05 01:43:15 There was a post "Mount LUKS on boot" at forum.alpinelinux.org, unfortunately the forum was closed :( 2018-06-05 04:05:36 Hi team, rabbitmq-server 3.6.x is EOL, can we update the apk to 3.7.5? I tried to flag it in the repo but it's not working for some reason 2018-06-05 05:41:22 how would i go about to get javascript working on alpine? 2018-06-05 06:15:20 wat 2018-06-05 06:15:47 <_ikke_> black-clover: you mean nodejs? 2018-06-05 06:17:25 I installed nodejs already, I mean i'm trying to enable javascripts on luakit browser 2018-06-05 07:35:45 > 08:17 < black-clover> I installed nodejs already, I mean i'm trying to enable javascripts on luakit browser 2018-06-05 07:36:11 somehow javascriptcore as shipped by webkitgtk2 doesn't work in conjunction with musl 2018-06-05 07:36:35 I didn't investigate this further by the void linux guys also run into this problem but didn't come up with a fix yet either 2018-06-05 07:36:38 *but the 2018-06-05 07:37:59 https://github.com/voidlinux/void-packages/issues/5360 https://bugs.alpinelinux.org/issues/8492 … 2018-06-05 07:45:33 8 2018-06-05 07:45:35 oops 2018-06-05 07:46:43 <_ikke_> 9 2018-06-05 08:11:53 ncopa[m] , ncopa how do I go about contributing an updated APKBUILD? 2018-06-05 08:12:33 I got the latest supported version of rabbitmq building as the one in the edge testing repo is EOL by upstream 2018-06-05 08:14:23 <_ikke_> terror: You can send it as a patch to the mailing list, or create a PR on github 2018-06-05 08:14:41 Github it is then, thanks _ikke_ 2018-06-05 08:20:41 Done 2018-06-05 10:12:49 *sigh* 2018-06-05 10:14:19 something has changed again, local packages produce an error about packages getting lost at boot, ssl related missing symbols at package time are encountered, and as the result an entire month-old build environment no longer works 2018-06-05 10:14:27 on what's supposedly latest-stable 2018-06-05 10:15:01 ah well, this is why I get paid doing this stuff 2018-06-05 10:18:24 TBB: hm, what's changed with latest-stable? 2018-06-05 10:50:46 I have no exact idea but at least apk acts differently regarding local packages; the ssl problem is well known by now I guess 2018-06-05 12:49:45 zofbot 2018-06-05 13:02:00 hello, I'm trying to setup alpine as a domU on xen7, starting the service gives this output * Detecting Linux distribution version ... [ !! ] 2018-06-05 13:02:42 any help on that? I've found a page on your forum but can't access it 2018-06-05 13:20:31 there was a link to that old forum somewhere... can't remember where it is now 2018-06-05 13:33:33 unfortunately that link is gone... 2018-06-05 13:33:45 https://forum.alpinelinux.org/forum/installation/installing-xenserver-tools 2018-06-05 13:42:41 Guest84174, http://dev.alpinelinux.org/~clandmeter/other/forum.alpinelinux.org/forum/installation/installing-xenserver-tools.html 2018-06-05 13:43:32 ^_^" thanks a ton clandmeter 2018-06-05 14:26:52 #worldchat 2018-06-05 14:36:17 <_ikke_> Roybent is spamming in multiple channels 2018-06-05 14:49:14 ncopa: do you know how my docker container can use su-exec on openshift? 2018-06-05 14:49:22 without allowing any container to use anyuser... 2018-06-05 15:25:37 Invitation Age of sail at #AdventuresofChat 2018-06-05 15:35:55 invitation to stop spamming 2018-06-06 13:04:14 fcolista: I see you're the maintainer of x2goserver. did you by any chance try x2goclient as well or did you just take maintainership of the contributed package? 2018-06-06 13:04:37 never tried 2018-06-06 13:05:07 ok. I'm trying but getting segfaults and wondered... 2018-06-06 13:05:37 guess I've got to up my game and figure this one out :) 2018-06-06 13:20:44 do I remember correctly that abuild pretty much automatically generates a debug package by simply specifying a -dbg subpackage? 2018-06-06 13:22:31 TBB: correct 2018-06-06 13:35:47 excellent 2018-06-06 13:55:11 okay, this is getting a bit too deep for me, a Qt application seems to segfault because of QString var ; var=QString::null ; 2018-06-06 14:09:39 ...which makes no sense whatsoever :) 2018-06-06 20:47:31 hi 2018-06-06 20:48:29 do you guys know if the vulnerabilities showed here https://bugs.alpinelinux.org/projects/alpine/issues also affect the docker container version of Alpine? 2018-06-06 20:49:15 there is no one answer to that question, as it'd depend on the specific situation 2018-06-06 20:49:35 a kernel vulnerability is not likely to be a problem in docker but something like those sdl2_image CVEs would be a problem 2018-06-06 20:49:41 right 2018-06-06 20:50:15 then yes - if the package is unmodified from alpine repositories, then it will share the same issue if it is unpatched and applies to the docker environment 2018-06-06 20:50:36 so the next question I guess is, does Alpine community shares the CVEs to mitre.org, or NVD, etc.? 2018-06-06 20:54:56 mitre is responsible for issuing cves 2018-06-06 20:55:35 if a vulnerability specific to alpine was reported to alpine's team directly, presumably they would request a cve id for it from mitre if the reporter hadn't already 2018-06-06 20:55:57 the majority of the vulnerabilities in the issue tracker are known CVEs not specific to alpine however 2018-06-06 21:22:41 solar, so isn't it possible that a community/company discovers a vulnerabilities but does not share it with mitre? Someone told me of such a case 2018-06-06 21:23:54 it's completely possible to disclose it without sharing with mitre 2018-06-06 21:24:24 however it's considered bad practice, typically if the reporter has not already obtained the CVE ID then the maintainers receiving the report will do so 2018-06-06 21:33:02 oh ok 2018-06-06 21:33:30 basically what I am doing is maybe a good suggestion to improve the classification of bug tracking 2018-06-06 21:34:02 I am trying to divide the security issue still open between 2 categories, OS and container 2018-06-06 22:16:09 they're the same thing 2018-06-06 22:16:22 you just need to be aware of the scope of each vulnerability 2018-06-06 22:16:42 and it's also highly dependent on what applications are in the container. 2018-06-07 04:46:29 Hi 2018-06-07 04:47:57 done a setup-disk -m sys /mnt on /dev/sda5 2018-06-07 04:48:27 need to get this into sda1 which is a UEFI 2018-06-07 04:49:20 /dev/sda1: LABEL="ESP" UUID="6CFC-F7BC" TYPE="vfat" PARTLABEL="EFI system partition" 2018-06-07 04:51:46 any setup tools? 2018-06-07 05:04:15 did as per https://wiki.alpinelinux.org/wiki/Bootloaders 2018-06-07 05:05:00 but the system still boots into to windows bootloader 2018-06-07 05:20:31 i believe no need for a bootloader install for a uefi boot 2018-06-07 08:11:35 thanks again for including the SC1100 driver in the last 32bit release, ncopa, scv. I finally got around to installing it on the Soekris net4801 i had been struggling with. runs smoothly from CF as ram-only now 2018-06-07 08:43:02 qoh: nice! 2018-06-07 08:50:15 :) 2018-06-07 08:50:44 running alpine on a PC engine migh be fun 2018-06-07 08:50:47 might* 2018-06-07 08:52:18 hi 2018-06-07 08:52:28 which package contains termio.h? 2018-06-07 08:52:59 i'm trying to build specific node version in alpine container and keep getting error termio,h not found after installing alpine-sdk, linux-headers and g++/gcc 2018-06-07 08:52:59 naquad: ncurses-dev, most likely 2018-06-07 08:53:04 naquad, check pkgs.a.o/contets 2018-06-07 08:53:12 naquad, check pkgs.a.o/contents 2018-06-07 08:53:19 naquad: but you can always check on https://pkgs.alpine.linux/contents 2018-06-07 08:53:34 <_ikke_> do we have alpine.linux? 2018-06-07 08:53:46 is there a way of getting some additional packages persisted to the CF card - or will i have to create a custom ISO every time i decide on permanently adding one to the system? most importantly i would need an sshd 2018-06-07 08:53:55 :) 2018-06-07 08:53:59 _ikke_: no .linux tld 2018-06-07 08:54:00 sadly 2018-06-07 08:54:04 typo 2018-06-07 08:54:06 thanks, trying with ncurses-dev installed 2018-06-07 08:54:10 <_ikke_> qoh: look at lbu 2018-06-07 08:57:35 didn't help :( it contains termioS.h but not termio.h 2018-06-07 08:58:21 termio.h is in the standard library, isn't it? 2018-06-07 08:58:38 do you have musl and musl-dev? 2018-06-07 08:59:23 yes 2018-06-07 08:59:38 <_ikke_> But if something explicitly asks for termio.h, that's not going to help, is it? 2018-06-07 09:00:07 at the host system termio.h is a stub including termios + ioctl 2018-06-07 09:00:10 _ikke_ lbu saves me all config files (/etc), but for packages I would have to check where each and every of their files are installed in order to explicitly include them, no? 2018-06-07 09:00:26 _ikke_ i mean /usr/bin/dropbear and such 2018-06-07 09:00:49 <_ikke_> no 2018-06-07 09:01:02 <_ikke_> each time you add a package, it's written to /etc/apk/world 2018-06-07 09:01:09 <_ikke_> lbu saves that, and on boot it gets restored 2018-06-07 09:10:49 _ikke_ looks like i am doing something wrong, then ... in setup-lbu i am choosing "usb" ... and setup-apkcache i am leaving to default (/media/usb/cache). 2018-06-07 09:11:06 however most things are ro 2018-06-07 09:11:37 <_ikke_> What do you mean with most things are ro? 2018-06-07 09:12:19 for example i have an IDE hard disk in the system. upon boot it is already "taken over" by alpine ... not allowing me to operate on it 2018-06-07 09:13:44 there is the CF (with alpine bootable on it) then theres a USB (~2 GB) and a hard disk (~55 GB). i intended to use usb for apkcache and lbu and the hdd for /var 2018-06-07 09:19:58 _ikke_ technically, can i have lbu on usb *and* apkcache on /media/usb/cache? 2018-06-07 09:24:08 <_ikke_> afaik, the cachedir is to store the packages in, the apkovl usually lives in the root of the media where you want to store it 2018-06-07 09:29:03 _ikke_ this is from the system -> fresh boot into unconfigured system, then running setup-alpine, then directly afterwards the commands you see there: http://ix.io/1cAF 2018-06-07 09:30:20 for some reason alpine mounts the HDD like this: /dev/sdb on /media/sdb type iso9660 (ro,relatime) 2018-06-07 09:30:59 what if you add it to fstab correctly and mount it? 2018-06-07 09:31:40 even though fdisk -l /dev/sdb clearly confirms that this the HDD with a sdb1 partition: 2018-06-07 09:32:24 /dev/sdb1 0,1,1 1023,63,32 32 117209087 117209056 55.8G 83 Linux 2018-06-07 09:35:52 clandmeter: as for the HDD i will try. as for the USB, it wont allow me to unmount 2018-06-07 09:36:09 modloop will prevent it 2018-06-07 09:37:01 if you stop the modloop service you can umount it 2018-06-07 09:38:12 clandmeter: what is the service for? 2018-06-07 09:38:32 modules loop mount 2018-06-07 09:39:48 ? 2018-06-07 09:41:33 clandmeter: ok. rc-service modloop stop unmounts it directly 2018-06-07 09:42:15 would be curious on what modloop is for. didnt find much in the wiki ... 2018-06-07 09:58:22 reading this explanation of modloop https://superuser.com/a/1316205 it makes no sense to me why stopping the service unmounts an "unrelated" disk ... 2018-06-07 10:03:46 anyone here with Qt app porting experience in musl environment such as Alpine? 2018-06-07 10:06:35 I basically finished yesterday unable to figure out what about that app caused the crash, the debugging result made no sense as such so ... I remember Qt being a bit of a pain in the ass before, needing small patches here and there 2018-06-07 10:09:46 so at the moment my only options to get that port working is to hit edge and hope 5.10 has a fix 2018-06-07 11:59:33 after working a lot of magic (workarounds to the install steps) the systsem now boots with the installed apks loaded (dropbear & chrony) 2018-06-07 12:00:12 however, alpine still takes over the hdd, mounting it at boot in an incorrect fashion: 2018-06-07 12:00:23 /dev/sdb on /media/sdb type iso9660 (ro,relatime) 2018-06-07 12:01:01 ... even though I ran setup-disk, chose that disk, had it initialized with the corresponding partitions (swap & ext4) ... 2018-06-07 13:20:07 apparently there was some strange code in the first sectors of the hard disk. i dd'd some /dev/zero there and re-rand setup-disk on it. now it's working 2018-06-07 14:19:37 so I tried, built x2goclient using edge and its 5.10 series of Qt... still the same segfault 2018-06-07 15:05:30 Hi all, someone success to do this ? / encrypted, /boot not encrypted, swap not encrypted. And to decrypt remotely from the initramfs (tinyssh or dropbear) ? It's pretty easy under Arch or Void, but hard to find a documentation or method for Alpine 2018-06-07 15:31:54 for information, i have found this : https://github.com/mk-f/alpine-initramfs-dropbear 2018-06-07 16:19:12 how do I set which modules to load on boot? 2018-06-07 16:49:10 qrvpzvb: Alpine is pretty much the usual Linux distro there. Add needed modules to /etc/modules. 2018-06-07 16:49:52 qrvpzvb: Of course, if you need them pre-kernel, you'll have to add them to the initrd 2018-06-07 16:50:53 Zipheir: I also have /etc/modules-load.d/ which doesn't belong to a package... I guess it's a leftover? 2018-06-07 16:52:36 qrvpzvb: No, that's a semi-standard https://www.freedesktop.org/software/systemd/man/modules-load.d.html 2018-06-07 16:53:25 yes, that's what I use in my arch box; obviously though, alpine doesn't use systemd 2018-06-07 16:53:53 qrvpzvb: Yeah, it's a little weird that Alpine provides it. 2018-06-07 16:55:00 I'll have to test if modules listed in modules-load.d conf files actually get loaded 2018-06-07 16:56:39 also, how would I make my "diskless" install into a "data" install ? 2018-06-07 16:56:39 AFAIK openrc just ignores it, since it's something the systemd clowns came up with 2018-06-07 16:56:59 will fstab work? 2018-06-07 16:59:27 I haven't worked with a diskless Alpine install yet, but I don't think editing fstab will be enough 2018-06-07 17:01:04 modules-load.d should be supported 2018-06-07 17:11:55 indeed it does 2018-06-07 18:11:56 openssl pkcs12 command from libressl doesn't read pkcs12 file, -in option is problematic 2018-06-07 19:22:30 any idea why the 3.8 rc1 was not built for ppc64le? 2018-06-07 19:22:31 http://dl-cdn.alpinelinux.org/alpine/v3.8/releases/ppc64le/ 2018-06-07 19:57:27 leitan: i dont know to be honest 2018-06-07 19:57:32 i think it was build, just not uploaded 2018-06-07 19:59:26 i'm investigating 2018-06-07 20:06:24 volid of iso is too long 2018-06-07 20:06:29 volume id 2018-06-07 20:06:42 needs to be <= 32 2018-06-07 20:06:44 its 33 2018-06-07 20:07:05 "alpine-standard 3.8.0_rc1 ppc64le" 2018-06-07 20:11:16 and i found another bug too 2018-06-07 21:20:55 Hi guys. 2018-06-07 21:21:34 <_ikke_> hai 2018-06-07 21:22:25 I'm looking at "How to setup a Alpine Linux mirror" and wondering what happened between v3.6 and v3.7 (34.4G -> 71.3G) 2018-06-07 21:23:44 My first guess was a new architecture became supported, but listing the contents of both doesn't prove that. 2018-06-07 22:34:51 wkoszek2: those two releases dont differ much 2018-06-07 22:35:14 44.3G vs 42.6G 2018-06-07 22:46:08 https://wiki.alpinelinux.org/wiki/How_to_setup_a_Alpine_Linux_mirror 2018-06-07 22:46:42 clandmeter: looks like it's 34.4G vs 71.3G 2018-06-07 22:46:55 clandmeter: Maybe the site is wrong. 2018-06-07 22:47:26 i probably made a mistake on wiki 2018-06-07 22:48:25 http://tpaste.us/05rK 2018-06-07 22:49:01 clandmeter: Ok. Thanks. Just wondering. 2018-06-07 23:03:11 hello, can't get java script enabled both in midori and luakit on alpine x86, see error at:https://pastebin.com/caPXJuv6 if you have tips email me at amc252@gmail.com thank 2018-06-07 23:44:51 lovely. my home (alpine) server is panicing on boot. 2018-06-07 23:45:07 and I'm somewhat brain dead from lack of sleep. 2018-06-07 23:45:51 unable to mount root fs on unknown-block(0,0) 2018-06-07 23:48:04 can't even find a usb drive 2018-06-08 00:15:55 anyone know anything about alpine suddenly not booting? I did nothing but occasional updates 2018-06-08 00:16:11 fsck not finding anything 2018-06-08 00:31:47 I get timeouts when trying to upgrade git 2018-06-08 00:32:24 (1/1) Upgrading git (2.15.0-r1 -> 2.15.2-r0) 2018-06-08 00:32:24 ERROR: git-2.15.2-r0: operation timed out 2018-06-08 02:31:43 hello 2018-06-08 03:13:23 hi 2018-06-08 03:14:24 imsomnio7: hi, do you run alpine of 64 or 32? 2018-06-08 03:14:43 i'm trying to install 32bit version 2018-06-08 03:15:06 for desktop use... and I've some problems and questions 2018-06-08 03:15:26 imsomnio7: i just did that a week ago 2018-06-08 03:16:04 could you intall firefox/libreoffice/thunderbird? 2018-06-08 03:16:28 i cant find them using apk.. and they where flagged as it shows in the web page 2018-06-08 03:16:36 i installed firefox but it has widgets problems 2018-06-08 03:16:44 (sorry my bad english) 2018-06-08 03:16:55 apk search firefox 2018-06-08 03:17:08 did that 2018-06-08 03:17:13 nothing outputs 2018-06-08 03:17:13 you can install firefox-esr only on 32 2018-06-08 03:17:53 the same... nothing after apk search firefox-esr or firefox 2018-06-08 03:18:24 maybe i should try changing the repo... 2018-06-08 03:18:26 imsomnio7> : please add community repository 2018-06-08 03:18:49 ah! how? 2018-06-08 03:18:49 have you updated the system? 2018-06-08 03:19:21 yes, just after setup-alpine, and some packages like openbox and xorg 2018-06-08 03:19:31 check your /etc/apk/repositories file. whichever repo has */main, add */community. Checkout the wiki.alpinelinux.org for more info. 2018-06-08 03:19:38 apk update 2018-06-08 03:19:53 then apk upgrade 2018-06-08 03:21:50 thm1999: I have a problem with midori and luakit, cannot enable scripts 2018-06-08 03:21:50 ha... well, that one was really easy... 2018-06-08 03:22:01 thanks! black-cover 2018-06-08 03:22:42 imsomnio7: no problem, I'm curious to see if you get the same widgets issue on your 32 install that i do 2018-06-08 03:23:10 imsomnio7:with firefox-esr that is 2018-06-08 03:23:58 i'll check in a minute 2018-06-08 03:24:14 great 2018-06-08 03:24:52 mmm do you know if this distro it's pae? anyway i dont think that i'll put more than 4GB to this machine... but still 2018-06-08 03:25:29 I don't know about that, you should browse the wiki 2018-06-08 03:34:17 black-clover : sorry I don't run neither of them :( Just write it down here some other dev/users might know answers to your problems :) 2018-06-08 03:35:50 tmh1999:thanks, I've left a message already but will try again 2018-06-08 03:46:53 if anyone can help me figure how to enable scripts on midori please check https://pastebin.com/caPXJuv6 to see error messages 2018-06-08 03:52:05 black-clover, hey.. yeap.. they look really bad. Going to settins configurations I can not see any of the buttons 2018-06-08 03:54:24 imsomnio7:yes firefox-esr 32 has widgets problems i couldnt solve, on midori scripts do not work, you can use netsurf in the meantime, which is minimal but works. i havent used thunderbird but sylpheed works fine 2018-06-08 03:58:57 damn... well, I can give it another shoot with 64bit versions... i'm going kamikaze with an edgy distro for patienceless and low end user|s ... but I think it's worth the pain for the minimal ram footprint... the thing is, that I can't leave "standar" software (thunderbird|firefox|libreoffice) 2018-06-08 04:01:25 imsomnio7: yes, as a desktop for 32 bit there seem to be a few problems, but it's definitely an original distro, don't know about 64 2018-06-08 04:05:43 thunderbird is missing from 32bit repos... i'll check edgy repos 2018-06-08 04:21:00 bye 2018-06-08 06:22:23 What's the policy to graduate packages from edge to stable? 2018-06-08 06:32:39 <_ikke_> terror: That happens on every new release 2018-06-08 06:33:33 <_ikke_> Every new release, a stable branch is created based on master 2018-06-08 06:34:15 Oh, that's cool. And from testing to community or main? 2018-06-08 06:35:12 <_ikke_> Up to the maintainer of the package to ask for promotion (or of they're a core developer, they can directly do it ofcourse) 2018-06-08 06:35:45 Makes sense 2018-06-08 07:39:30 How much work would it be to port Alpine to a new ARM device? Looking to get Alpine working on this: https://kobol.io/helios4/ 2018-06-08 07:49:54 azarus, can it run from vanilla kernel? 2018-06-08 07:55:07 clandmeter: probably not 2018-06-08 07:59:03 azarus, you will probably need to compile your own kernel. 2018-06-08 08:06:06 clandmeter: yup, the helios4 guys have their kernel tree here, with dts file: https://github.com/helios-4/linux-marvell 2018-06-08 08:06:29 maybe I can just rebase the changes they made onto linux-vanilla. 2018-06-08 08:07:38 the helios4 is supported upstream by armbian, but I have no experience with it :/ 2018-06-08 13:15:07 hmm, does musl use /etc/security/limits.conf at all? 2018-06-08 13:17:35 (I realise the question might not make any sense) 2018-06-08 13:22:48 test 2018-06-08 13:41:46 TBB: i think its a bash thing 2018-06-08 13:43:23 ah, the file is owned by linux-pam. prlimit reports different limits. 2018-06-08 13:50:17 I want to install OpenSCAD/FreeCAD; is the quickest option to use pacman? 2018-06-08 13:53:45 <_ikke_> markweston: pacman is archlinux, this is alpinelinux 2018-06-08 13:55:44 pacman is available in alpine linux repositories 2018-06-08 13:56:08 and there is no OpenSCAD/FreeCAD in alpine linux repositories 2018-06-08 13:56:33 <_ikke_> Right, but that does not mean you can install archlinux packages on alpine 2018-06-08 13:57:04 what is it useful for then? 2018-06-08 13:57:13 a package manager that cannot install packages? 2018-06-08 13:57:31 <_ikke_> It can install packages, but the packages would have to be tailored to alpinelinux 2018-06-08 13:58:00 openscad is in alpine-ugly: https://github.com/aports-ugly/aports/tree/master/ugly/openscad 2018-06-08 13:58:01 <_ikke_> If you would use archlinux repositories, it would try to install an entire archlinux system due to dependencies 2018-06-08 13:59:16 zNVxxliww5gP: thanks 2018-06-08 14:00:08 <_ikke_> markweston: and archlinux packages are built against glibc, whereas alpinelinux uses musl 2018-06-08 14:01:34 other package managers are mainly useful when you need to do something specific to other distributions; I for example do CentOS installs and such from Alpine using yum from aports 2018-06-08 14:02:14 are "ugly" aports hosted somewhere or do I have to build them myself? 2018-06-08 14:06:38 unsure, there might be a binary repo, but i don't know about it. building should be the quickest way to do it... 2018-06-08 14:15:30 so they refuse to merge it into mainline, even into testing branch, because they're too ugly? 2018-06-08 14:29:46 no, there was no attempt to merge any of this into mainline. so there wasn't neither a refusal from the alpine devs. 2018-06-08 14:32:09 the maintainers of aports-ugly maintain these packages, but have no time to live up to the high standards of the mainline repo. the packages work for them, aesthetics are not something they want to put much energy into. some of those packages might actually be totally ok and acceptable 2018-06-08 14:33:03 and i guess the maintainers would continue to maintain those packages in mainline if someone would put the energy into upstreaming them. 2018-06-08 14:34:01 at least i would continue to maintain openscad+deps if upstreamed 2018-06-08 14:35:28 btw openscad uses opengl and thus only runs on vanilla kernels, not -hardened 2018-06-08 14:37:28 yeah I use vanilla too; hardened breaks gdb as well 2018-06-08 14:40:41 gdb can be fixed with hardened. 2018-06-08 14:51:18 install: can't create '/home/mw/aports-master/ugly/opencsg/pkg/opencsg/usr/include/opencsg.h': No such file or directory 2018-06-08 15:31:45 markweston: what do you do to get that message? 2018-06-08 15:34:49 cd ~/aports-master/ugly/opencsg; abuild -r 2018-06-08 15:59:36 libreCAD seems to be easier to build 2018-06-08 16:05:35 very strange. 2018-06-08 16:09:13 what kind of infrastructure is used to building packages? 2018-06-08 16:09:20 I know of abuild 2018-06-08 16:09:44 but I'd rather not "litter" my server with all those dependecies 2018-06-08 16:11:33 alpine-sdk 2018-06-08 16:12:33 trying to build opencsg on a clean vm... 2018-06-08 16:13:23 qrvpzvb: you should not, you should have a clean chroot/vm for building stuff. otherwise the stuff that is on the main system might interact with the build 2018-06-08 16:13:23 qrvpzvb: checkout --virtual option in apk. you can add and remove deps in a blink of an eye. 2018-06-08 16:14:01 zNVxxliww5gP: that's what I'm asking, is there a script or something that automates that? 2018-06-08 16:14:55 all you need is a minimal alpine chroot/vm. for setting that up there is setup-alpine as a script i guess? 2018-06-08 16:15:36 <_ikke_> not sure if it would work for your case, but I use docker container to build my packages 2018-06-08 16:15:42 <_ikke_> very easy to get a clean environment 2018-06-08 16:23:29 markweston: it seems the pacakge needs the /usr/bin/install from coreutils not from busybox 2018-06-08 16:30:15 then that's a bug in the package 2018-06-08 16:30:33 it should add coreutils to the builddeps 2018-06-08 16:34:11 I have a squashfs image with alpine-base, build-base and abuild in it, I mount that with a tmpfs overlay and do my builds in it 2018-06-08 16:34:49 oh no, actually, I ditched the tmpfs because of some xattr related problems 2018-06-08 16:35:15 but it's still faster to set up the build chroot that way 2018-06-08 16:40:19 I'll give docker a try since I have it setup anyways 2018-06-08 16:47:42 markweston: no it should be adapted to busybox, not adding coreutils 2018-06-08 16:55:14 why? AFAIK install isn't even in POSIX 2018-06-08 16:55:28 <_ikke_> it should be :P 2018-06-08 16:58:58 mkdir and cp work for me 2018-06-08 17:00:03 <_ikke_> It's just nice to have it in one command 2018-06-08 17:00:23 <_ikke_> install -Dm0644 /file /foo/bar/file 2018-06-08 17:01:05 <_ikke_> rather than: mkdir -p /foo/bar/; cp /file /foo/bar/file; chmod 0644 /foo/bar/file; 2018-06-08 17:11:25 jesus it's been 30 minutes and libreCAD is still building 2018-06-08 17:11:28 fuck c++ 2018-06-08 17:46:11 relax lol 2018-06-08 17:47:53 cgal is missing cmake builddep as well by the way 2018-06-08 17:55:40 markweston: thanks. added 2018-06-08 17:56:11 did opencsg work out for you with coreutils? 2018-06-08 17:56:50 i submitted PRs to https://github.com/aports-ugly/aports 2018-06-08 17:56:54 yes it did 2018-06-08 17:58:54 oh that's your repository 2018-06-08 18:01:14 ;) 2018-06-08 18:01:28 thanks for your patience and your contributions! 2018-06-08 18:09:13 np 2018-06-08 18:27:24 Hello, can someone guide by resetting my root password? I cannot login into my VMware alpinelinux no more.. Is it possible to enter some rescue mode? 2018-06-08 18:28:28 <_ikke_> knal: you have to set init=/bin/ash on the cmdline when booting 2018-06-08 18:28:35 <_ikke_> knal: what bootloader do you have? 2018-06-08 18:28:42 <_ikke_> vmware right 2018-06-08 18:28:50 <_ikke_> do you see boot: appear when you boot/ 2018-06-08 18:28:52 <_ikke_> ? 2018-06-08 18:30:10 yeah 2018-06-08 18:30:18 its waiting for 'boot: ' 2018-06-08 18:30:28 I can enter something 2018-06-08 18:34:19 <_ikke_> you have to provide the kernel name, and then init=/bin/ash 2018-06-08 18:34:53 <_ikke_> try vmlinuz-vanilla init=/bin/ash 2018-06-08 18:38:08 ok let me try 2018-06-08 18:38:48 No such file or directory 2018-06-08 18:38:58 hmm 2018-06-08 18:39:50 I forgot the kernel 2018-06-08 18:40:55 iirc i used this guide: http://wiki.alpinelinux.org/wiki/Install_Alpine_on_VMware 2018-06-08 18:49:37 alpine-standard-3.7.0-x86_64.iso this was the iso 2018-06-08 19:06:53 _ikke_ any idea? 2018-06-08 19:26:17 interesting, when building openscad it failed to link with both cgal and opencsg despite both cgal-dev and opencsg-dev being in makedepends 2018-06-08 19:28:15 <_ikke_> markweston: does it need to be enabled? 2018-06-08 19:30:52 _ikke_: what do you mean? 2018-06-08 19:32:19 <_ikke_> markweston: some things you need to enable with ./configure for example 2018-06-08 19:34:32 on the installation page, on the wiki, it mentions three modes: diskless, data and sys; right now I've got a diskless install, how can I turn it into a data one 2018-06-08 19:34:50 turns out that /var is important and I'd like to keep it 2018-06-08 19:35:38 qrvpzvb: back /var up, reinstall, then restore /var 2018-06-08 19:36:17 <_ikke_> Isn't it just a matter of mounting /var in fstab? 2018-06-08 19:42:57 oh, so it's looking for -lCGAL when there is -lcgal 2018-06-08 19:45:02 no, that's not the problem, libCGAL.so is installed in /usr/lib64 and ld doesn't find it, probably looks only at /usr/lib 2018-06-08 19:47:09 Is it possible to install alpine on an rpi (specifically a Zero W) headless like raspberrypi-ua-netinst? :) 2018-06-08 19:49:46 strange. my alpine linux vm prints "[ 225.998880] serial8250: too much work for irq4 2018-06-08 19:49:49 " 2018-06-08 19:49:56 and doesn't act on the network anymore 2018-06-08 19:50:19 it's on QEMU/KVM, on a Alpine Linux host 2018-06-08 20:15:21 _ikke_: is it? I honestly don't know that's why I'm asking 2018-06-08 20:15:37 I thought that fstab may be "too late" during startup 2018-06-08 20:16:14 <_ikke_> qrvpzvb: I was wondering about it 2018-06-08 20:53:37 anyone know what would cause an alpine 3.7 install to suddenly panic on boot? 2018-06-08 20:55:06 only thing I've done with it is updates 2018-06-08 20:56:20 I booted from a usb drive, fsck'd the partitions & mounted them just fine 2018-06-08 20:57:14 kernel just says unable to mount root fs on unknown-block(0,0) 2018-06-08 20:59:47 Well, there's your problem 2018-06-08 21:00:10 Make sure root fs is actually where the bootloader config is pointing it 2018-06-08 21:00:34 And make sure you have all the necessary modules available to use the hardware it's on 2018-06-08 21:01:35 qman__: right. But I did nothing to this box but run updates. It sits idle all day. 2018-06-08 21:01:50 it's my currently unused home server 2018-06-08 21:02:33 Yes, and? 2018-06-08 21:04:24 qman__: I'm wondering if this is a known problem or bug that came with an alpine update 2018-06-08 21:05:52 Unlikely 2018-06-08 21:08:47 I haven't patched any VMs in a few weeks so I don't know for sure, but I haven't seen any other complaints 2018-06-08 21:08:56 If.you can reproduce, file a bug 2018-06-08 21:09:22 It's far more likely that you had a configuration issue 2018-06-08 21:11:34 qman__: like I said, other than updates, I haven't touched the box for weeks 2018-06-08 21:12:05 I suspected that a power outage may have caused FS corruption 2018-06-08 21:12:11 but fsck found nothing 2018-06-08 21:12:14 That doesn't mean you didn't have a configuration issue 2018-06-08 21:17:11 I guess I'm used to RH's never-change-anything attitude 2018-06-08 21:18:39 where a working box stays working until an OS version upgrade 2018-06-08 21:31:49 is there a way to install a linux kernel without pulling in the whole of linux-firmware? 2018-06-08 21:32:09 especially on linux-rpi, the transitive dependencies are a little ridiculous ;) 2018-06-08 21:38:45 hm, 135 MB total :) 2018-06-08 21:40:30 without that. alpine could be really nice to make small appliance distros 2018-06-08 21:52:07 I'm trying to reinstall extlinux, but I think either grsec or the hardened patches are preventing me. Is there a way to disable that temporarily? 2018-06-08 21:57:56 Yes, you can install the vanilla kernel and boot that, but that's very unlikely to be the problem 2018-06-08 21:58:03 Please describe the actual failure condition rather than your assumptions 2018-06-08 21:58:17 If grsec prevented extlinux installation then the Alpine installer would never have worked properly 2018-06-08 21:58:38 ACTION has to imagine time wasted due to grsec issues has to outweigh whatever possible security benefit by now 2018-06-08 22:11:45 pardis: I booted alpine on a usb drive. I mounted my partitions under /mnt, and rbind mounted proc, dev, & sys under /mnt. I then chroot'd /mnt and tried running update-extlinux. 2018-06-08 22:13:47 ... which says "extlinux: cannot open device /dev/sda1". dmesg says "grsec: From 10.1.1.109: use of CAP_SYS_RAWIO in chroot denied for /mnt/sbin/extlinux[extlinux:3039] uid/euid:0/0 gid/egid:0/0, parent /mnt/sbin/update-extlinux[update-extlinux:3023] uid/euid:0/0 gid/egid:0/0" 2018-06-08 22:14:50 I do feel like I'm forgetting something :/ 2018-06-08 22:15:55 Oh, that's just the grsec chroot restrictions 2018-06-08 22:15:58 There are sysctls for that 2018-06-08 22:16:05 I forget the name but 'sysctl -a | grep grsec' should show them 2018-06-08 22:16:15 Alternatively you could install extlinux from outside the chroot 2018-06-09 09:22:59 hello 2018-06-09 09:23:03 anyone here? 2018-06-09 09:23:26 I was wondering how do I run an appimage on alpine linux? 2018-06-09 09:28:04 what is an appimage? 2018-06-09 09:28:33 is that something binary you downloaded from a random site on the net? 2018-06-09 09:29:03 if so probably linked against glibc and only maybe supported, if you install gcompat. but no guarantees for binary stuff. 2018-06-09 09:29:05 yeah 2018-06-09 09:29:15 I am trying to use otter browser 2018-06-09 09:29:29 since chromium freezes system on exit 2018-06-09 09:29:54 no such file or directory 2018-06-09 09:30:07 even tho ls says it exists 2018-06-09 09:31:49 yeah, it tries to use the wrong loader, glibc is not available, and musl is a bit different. 2018-06-09 09:31:55 (my guess) 2018-06-09 09:32:25 that is normal and expected with downloaded binary stuff. 2018-06-09 09:32:32 how do I install gcompact? 2018-06-09 09:32:46 apk install gcompat 2018-06-09 09:33:05 thansk 2018-06-09 09:33:50 but no guarantee that it will work 2018-06-09 09:33:58 not a valid dynamic program 2018-06-09 09:34:09 if I recompile it will it work? 2018-06-09 09:35:57 yeah then it should work 2018-06-09 09:36:18 okay thanks man you're a lifesaver 2018-06-09 09:36:34 also this chromium freezing system on exit bug 2018-06-09 09:36:44 is it my laptop issue or known bug? 2018-06-09 09:36:51 i doubt that it will be easy to compile a cromium replacement. 2018-06-09 09:37:03 the bugs you can check on bugs.alpinelinux.org 2018-06-09 09:37:22 i use chromeium and it doesn't freeze my laptop 2018-06-09 09:37:30 although i also don't really ever quit it. 2018-06-09 09:37:54 nope. just tried it. doesn't freeze 2018-06-09 09:39:03 wikipedia says its qt with chromium 2018-06-09 09:39:19 i probably should be able to 2018-06-09 09:39:48 good luck ;) 2018-06-09 09:41:13 romai: chromium works on Alpine but only on x86_64 arch 2018-06-09 09:41:14 here goes nothing. 2018-06-09 09:41:44 I chose this life and this is what I'll do now 2018-06-09 12:06:50 Hello, can someone guide by resetting my root password? I cannot login into my VMware alpinelinux no more.. Is it possible to enter some rescue mode? 2018-06-09 12:10:32 knal: yes or just boot a iso and mount the root. 2018-06-09 12:11:12 knal: you can also append single to your cmdline. 2018-06-09 12:12:48 If i press f1 i get a terminal with 'boot: ' 2018-06-09 12:12:51 Key input 2018-06-09 12:13:07 what would you think is the easiest 2018-06-09 12:13:26 can you boot the installation iso? 2018-06-09 12:13:40 yeah I got it 2018-06-09 12:13:43 just attach it and boot it instead of the disk 2018-06-09 12:13:54 hmm would that work? 2018-06-09 12:14:02 why not? 2018-06-09 12:14:12 you can boot any device you like 2018-06-09 12:14:16 if its bootable. 2018-06-09 12:14:17 Will it not fresh install or overwrite my files? 2018-06-09 12:14:23 no 2018-06-09 12:14:35 if you use alpine iso you will be able to login and mount your disk 2018-06-09 12:14:48 How do I mount it? 2018-06-09 12:15:06 depend what your disk is 2018-06-09 12:15:28 mount /dev/sdaX /mnt or similar 2018-06-09 12:15:45 then chroot /dev/sdaX /bin/sh 2018-06-09 12:15:49 and update your password 2018-06-09 12:16:21 how would you boot without knowing the pass tho 2018-06-09 12:16:26 fdisk -l will list available disks. 2018-06-09 12:16:30 seems I'm misunderstanding this 2018-06-09 12:16:37 you need to boot from iso 2018-06-09 12:16:42 not from your disk 2018-06-09 12:17:02 download alpine linux iso 2018-06-09 12:17:23 edit your vmware settings and attach the iso as cdrom. 2018-06-09 12:17:36 go into vmware bios and set to boot from cdrom 2018-06-09 12:56:56 It is set as boot from cd but still asking for a pass 2018-06-09 12:56:57 hmmm 2018-06-09 15:24:33 clandmeter: Do you know any other methods to reset the pass? 2018-06-09 15:24:42 kind of lost here :-/ 2018-06-09 15:25:53 <_ikke_> single user mode 2018-06-09 15:27:24 how do I get to that? 2018-06-09 15:41:19 would it be possible to use openrc to manage user started services? 2018-06-09 15:41:58 per-user 2018-06-09 15:42:51 qrvpzvb: you can just copy /etc/init.d/ to /etc/init.d/-, edit it to run as the user you want it to run as 2018-06-09 15:43:10 (kinda messy tough 2018-06-09 15:43:12 )* 2018-06-09 15:43:53 yeah, it's not pretty 2018-06-09 15:44:39 i never had an experience where I said "yup, this is the proper way to do it" with user-services, with any init system 2018-06-09 15:44:53 be it runit, systemd, upstart or openrc 2018-06-09 15:45:34 well, systemd's approach seemed fine to me 2018-06-09 15:45:36 I don't know how to say this politely, but isn't that a bit limited thinking to say "I never"? 2018-06-09 15:46:05 I'm not saying there isn't a pretty way to do it, just that I've never seen one 2018-06-09 15:46:13 (totally subjective, fwiw) 2018-06-09 15:46:27 in any case, thankfully I only have a few servers 2018-06-09 15:46:39 so I'll probably do something like that 2018-06-09 15:49:17 runit/s6 can do it easily, just have svscandir once on ~/.services and you're good to go. 2018-06-09 15:50:14 also http://smarden.org/runit/faq.html#userservices 2018-06-09 15:50:39 I haven't used s6 2018-06-09 15:50:55 from I gather, it's an alternative to start-stop-daemon right? 2018-06-09 15:51:10 nope, it's an alternative to runit 2018-06-09 15:51:36 a superset of runit i'd say 2018-06-09 15:52:11 but... can't it be used by openrc ? 2018-06-09 15:52:29 sure, but how/why? 2018-06-09 15:52:53 what exactly is a "user started service" anyway? 2018-06-09 15:53:38 one that the user starts! 2018-06-09 15:53:52 <_ikke_> and runs under the user 2018-06-09 15:53:54 to be honest, that's not what I actually need 2018-06-09 15:54:30 how? automatically? like from .profile? 2018-06-09 15:54:44 that's the idea 2018-06-09 15:54:49 or manually? like sudo /etc/init.d/foo start? 2018-06-09 15:55:01 well. why don't u use .profile then? 2018-06-09 15:55:29 using sudo from .profile ? 2018-06-09 15:55:33 oh. "and runs under the user" is of course not applicable to sudo /etc/init.d/... 2018-06-09 15:55:37 let alone the fact, that it should run as the user 2018-06-09 15:55:49 so then you don't need sudo 2018-06-09 15:56:21 so you just start whatever you wnat to start in .profile and make sure it only starts once. 2018-06-09 15:56:36 you don't need openrc for this. 2018-06-09 15:57:22 it'd be nice to be able to start, stop and inspect it 2018-06-09 15:58:37 well, then svscandir on ~/.services would be a simple way to implement this. 2018-06-09 15:59:58 https://skarnet.org/software/s6/s6-svscan.html 2018-06-09 16:00:28 or http://smarden.org/runit/runsvdir.8.html 2018-06-09 16:00:38 pick your weapons 2018-06-09 16:00:47 i'll check it out 2018-06-09 17:44:32 Hi, I am trying to figure out if I can selectively commit changes using lbu. Has anyone wanted to do something similar? 2018-06-09 17:45:48 Basically, I have modified a bunch of stuff in /etc and I want to audit them individually before committing them but I have about 20 files so it's a bit risky committing them all at once. 2018-06-09 18:37:36 so 2018-06-09 18:37:56 https://0x0.st/s_ET.png my server seems to get stuck here, any ideas what the issue could be? 2018-06-09 18:38:14 i've just hit enter to accept that option 2018-06-09 18:38:45 <_ikke_> What boatloader is that? 2018-06-09 18:39:53 _ikke_: that's syslinux, the default bootloader 2018-06-09 18:40:12 sy: try hitting [Tab] and removing 'quiet' 2018-06-09 18:40:19 ah 2018-06-09 18:40:36 anything interesting? 2018-06-09 18:40:54 <_ikke_> azarus: I never recalled syslinux having a boot menu 2018-06-09 18:41:07 _ikke_: it always did...? 2018-06-09 18:41:22 it's the default alpine linux bootloader in a sys install 2018-06-09 18:43:02 azarus: so this is a dumb console so i cant actually select the quiet bit 2018-06-09 18:43:08 i'm gonan do it in extlinux 2018-06-09 18:43:36 ah, extlinux is a subproject of syslinux 2018-06-09 18:43:53 the difference is pretty much ambiguous in alpine 2018-06-09 18:49:13 extlinux: no previous syslinux boot sector found 2018-06-09 18:49:16 so is this bad 2018-06-09 18:51:28 so i forgot to mount /boot 2018-06-09 18:51:31 that would help 2018-06-09 18:52:40 does this look okay? http://ix.io/1cQo 2018-06-09 18:52:51 excuse the profanities 2018-06-09 19:01:10 azarus: same again, though my console could be freezing, it is a bit shit 2018-06-09 19:02:08 sy: what does the kernel say on bootup? 2018-06-09 19:02:15 ah, this is a xen guest? 2018-06-09 19:02:33 nope 2018-06-09 19:02:34 dedi 2018-06-09 19:02:42 a sec, it's dinnertime 2018-06-09 19:02:51 but i think i didnt remote virtio from the features 2018-06-09 19:02:54 is that important 2018-06-09 19:27:26 How can you enter single user mode? 2018-06-09 20:26:13 azarus: sorry to ping, but any ideas? 2018-06-09 21:17:25 sy: can you get a dmesg? 2018-06-09 21:17:54 also; "can't remove the quiet bit" why not? 2018-06-09 21:20:24 what's your hardware? 2018-06-09 21:34:00 azarus: managed to remove the quiet bit me thinks in update-extlinux.conf 2018-06-09 21:34:08 wouldnt let me do it because the cursor was going all over 2018-06-09 21:35:37 azarus: Intel Atom C2350. 1TB SATA 2018-06-09 21:35:41 nux andrzej 2018-06-09 21:35:45 damn 2018-06-09 21:35:50 https://oneprovider.com/dedicated-servers/paris-france top one 2018-06-09 21:36:02 sorry, mis-pasted from my window there 2018-06-09 21:36:43 Ah, so it's a virtual machine guest 2018-06-09 21:37:30 Ah, no, i'm wrong. But how are you accessing the console? 2018-06-09 21:54:00 azarus: tty.online.net things 2018-06-09 21:54:03 it's terrible 2018-06-09 21:54:09 they're a reseller 2018-06-09 21:54:16 hm. 2018-06-09 21:54:30 maybe the reason i stop getting output is that there stops being any 2018-06-09 21:54:50 maybe the console gets changed when the initramfs or kernel get loaded, is that possible? 2018-06-09 21:55:10 ah, alpine probably tries to engage graphic mode 2018-06-09 21:56:06 https://wiki.alpinelinux.org/wiki/Enable_Serial_Console_on_Boot 2018-06-09 22:13:49 buy a dedi they said 2018-06-09 22:13:52 it would be fun they said 2018-06-09 22:16:12 azarus: APPEND root=/dev/mapper/crypt modules=sd-mod,usb-storage,ext4,ext2 console=ttyS0,9600 cryptroot=/dev/sda2 cryptdm=crypt so it created this 2018-06-09 22:16:17 didn't edit directly though 2018-06-09 22:16:38 also SERIAL 0 9600 higher up 2018-06-09 22:19:31 https://0x0.st/s_6J.webm so this happens 2018-06-09 22:20:07 what a derpy shell 2018-06-09 22:29:58 https://0x0.st/s_6w.png well 2018-06-09 22:30:02 at least its pretty 2018-06-09 22:34:48 wow, your server provider is weird 2018-06-09 22:34:52 never seen that before 2018-06-09 22:35:40 https://0x0.st/s_6E.png its ok i fixed it 2018-06-09 22:35:58 so serial terminals are weird but im guessing this shouldnt happen 2018-06-09 22:36:31 even ignoring the shitty output, it does not progress past that screen 2018-06-09 22:38:54 poking in the dark, but can you try https://dl-cdn.alpinelinux.org/alpine/v3.8/releases/x86_64/alpine-standard-3.8.0_rc1-x86_64.iso 2018-06-09 22:39:09 it's way past midnight; i need to sleep 2018-06-09 22:39:18 good luck; and goodnight 2018-06-09 22:40:39 afraid i can't mount virtual media 2018-06-09 22:40:46 i installed this from an ubuntu recovery 2018-06-09 22:41:05 same here though, this is a problem for tomorrow (or rather, later today) 2018-06-09 22:48:52 aren't there distros that are based on alpine, other than https://postmarketos.org/ ? 2018-06-09 22:49:09 I swear I found one before 2018-06-09 22:49:15 adelie 2018-06-09 22:49:20 ahh that was it 2018-06-10 00:30:10 anyone know why eth0 (only lo) is not detected using this chroot installation method? https://wiki.alpinelinux.org/wiki/Installing_Alpine_Linux_in_a_chroot 2018-06-10 01:02:50 Why would you expect it to be? 2018-06-10 01:02:56 The chroot shares network devices with the host system 2018-06-10 01:03:14 If the chroot configured any network interfaces, it would clobber whatever the host was already using 2018-06-10 01:23:00 pardis: after install and reboot 2018-06-10 01:24:48 alpine installed from rescue mode in chroot, 2018-06-10 01:44:42 You aren't being very clear at all 2018-06-10 01:44:58 Are you trying to perform a normal disk installation of Alpine? Why aren't you using the standard installer for that? 2018-06-10 01:45:17 That procedure is intended for installing Alpine into a chroot on an existing system, not doing a bootable installation 2018-06-10 11:16:21 pardis: it is not possible to start from CD/ISO since dedicated server or VPS (kvm), eq https://www.online.net/fr/serveur-dedie 2018-06-10 11:17:38 the solution for install anything os is : start from rescue mode and install in chroot. it's easy for archlinux with bootstrap tar.gz and void linux with rootfs 2018-06-10 11:18:55 i know how to do it with alpine but it's more difficult at the end 2018-06-10 11:48:49 hello hello, quick question: i want to try alpine but i like to compile and patch my own kernels. should i be pulling down the vanilla iso? 2018-06-10 12:13:16 <_ikke_> storge: yes, the hardened kernel is not supported anymore 2018-06-10 12:41:08 why is the libiberty.a removed from binutils-dev-2.30-r4 2018-06-10 12:42:21 it was in version 2.30-r3 according to https://pkgs.alpinelinux.org/package/edge/main/x86_64/binutils-dev 2018-06-10 12:42:47 or I don't understand something about it 2018-06-10 12:50:25 oh, according to this url https://pkgs.alpinelinux.org/contents?branch=edge&name=binutils-dev&arch=x86_64&repo=main looks like it is in /usr/lib 2018-06-10 12:51:18 but 'apk info -L binutils-dev' doesn't show it and it is not there, actually 2018-06-10 12:52:25 any could help about this, to explain or to clarify situation 2018-06-10 12:54:34 s/any/anyone/ 2018-06-10 12:59:41 maybe this question is better for #alpine-devel ? 2018-06-10 13:32:18 <_ikke_> mps: It's usually quiet here over the weekend 2018-06-10 13:47:30 _ikke_: I see :). Tomorrow I'll repeat question about the issue 2018-06-10 14:33:47 Hi all 2018-06-10 14:37:31 I've been having some issues installing alpine on OneProvider these past few weeks 2018-06-10 14:37:45 I think that's like half of my billing period gone 2018-06-10 14:44:32 <_ikke_> What kind of issues? (not sure that I can help) 2018-06-10 14:56:16 welp nevermind i just logged in and it worked 2018-06-10 14:56:23 or i think so anyway 2018-06-10 14:57:12 welp nope just broke again 2018-06-10 14:57:27 so i'm trying to use FDE, and need to access the serial console to enter the code 2018-06-10 14:57:47 if i access the console too early it breaks it and it loops the kernel selection screen 2018-06-10 15:00:37 i'm not looking forward to setting up the dropbear remote unlock 2018-06-10 16:41:00 Hi. In Firefox on x86 I have many gtk.css theme parsing errors and window doesn't appear but I see it in the task list. How can I get Firefox work? 2018-06-10 16:43:25 Midori is not loading many sites that uses JavaScript 2018-06-10 16:43:54 sy, you could give betterinitramfs a shot, I have generally good experience with it 2018-06-10 16:44:09 it'll provide a prompt for the passphrase over its builtin sshd 2018-06-10 16:44:38 only issue I've had is it sometimes fails to unlock the volume (likely a race condition) so you have to type out the luks command yourself 2018-06-10 16:45:50 Nikolay[m], are you using firefox or firefox-esr? 2018-06-10 16:46:21 (and I'm assuming you are on alpine 3.7) 2018-06-10 16:46:36 firefox-esr 2018-06-10 16:47:01 odd, that runs perfectly here -- maybe it's your theme or window manager... are you using xfce? 2018-06-10 16:47:38 yes 2018-06-10 16:48:12 alright, only thing I can really think of is trying a different theme 2018-06-10 16:50:42 os-release saying that's I'm on 3.8.0_rc1 2018-06-10 16:51:58 I installed ISO from the main site then changed repos to edge 2018-06-10 16:53:33 Did I do something wrong? 2018-06-10 16:55:09 nah, right now in particular that's not an issue since 3.8 is right around the corner 2018-06-10 16:56:34 odd though, my 3.8.0_rc1 laptop does firefox-esr just fine, tried with the adwaita, clearlooks and greybird themes 2018-06-10 16:59:40 do you have all the fonts? maybe you need the mscorefonts? 2018-06-10 17:00:41 with adwaita theme there is no errors now 2018-06-10 17:01:03 but window still is not appearing 2018-06-10 17:01:31 Oh I was wrong 2018-06-10 17:02:07 Window is invisible 2018-06-10 17:02:26 just for the record, I have had a much more pleasant experience running chromium on my laptop - generally better performance, in particular in discord 2018-06-10 17:03:12 there is no chromium for x86 2018-06-10 17:03:26 in repos 2018-06-10 17:03:56 ...sorry, forgot about that detail :p 2018-06-10 17:04:56 In the alt tab menu I can see Firefox window 2018-06-10 17:05:44 maybe the process never exited so the theme didn't get reloaded? kill -9 $(ps | grep -E '[/]firefox' | awk '{print $1}') 2018-06-10 17:05:47 ACTION uploaded an image: VectorImage_2018-06-10_080509.jpg (430KB)  2018-06-10 17:07:28 oh one more thing to try... settings » window manager tweaks » compositor » disable display compositing 2018-06-10 17:07:34 in case it's a gpu thing 2018-06-10 17:08:33 oh 2018-06-10 17:08:43 it works 2018-06-10 17:08:47 nice! 2018-06-10 17:08:55 thanks 2018-06-10 17:09:02 np, glad to help o/ 2018-06-10 17:09:15 but there is no fonts 2018-06-10 17:09:22 ...lol 2018-06-10 17:10:08 do you have the msttfcorefonts installed? 2018-06-10 17:10:22 ACTION uploaded an image: VectorImage_2018-06-10_081003.jpg (154KB)  2018-06-10 17:10:32 i think those are kinda universal and might help. otherwise you have to figure out what fonts are missing. 2018-06-10 17:14:01 the ones I have installed are font-noto-emoji@test ttf-dejavu ttf-droid 2018-06-10 17:15:25 I also have a version of google noto installed, different from the one in the repos 2018-06-10 17:16:03 Hmm. There is still no fonts 2018-06-10 17:17:30 I think I can use Firefox like that 2018-06-10 17:18:27 On the pages fonts are displayed correctly 2018-06-10 17:53:50 firefox is too often killing pages 2018-06-10 17:54:02 even if opened 1 page with youtube 2018-06-10 17:55:11 and many images in low quality 2018-06-10 17:57:45 file upload window is all white 2018-06-10 17:59:46 unfortunately it's difficult to debug why firefox kills a page.. 2018-06-10 18:00:14 running firefox with MOZ_DISABLE_CONTENT_SANDBOX=1 makes it not do the seccomp sandbox 2018-06-10 18:01:44 ok thanks 2018-06-10 18:08:55 trfl: looks cool, is the install involved? 2018-06-10 18:10:16 not really, just have to make sure your kernel has everything needed to access the internet + your hard drives compiled in rather than as modules 2018-06-10 18:10:31 oh 2018-06-10 18:10:35 so you have to compile a kernel 2018-06-10 18:10:42 depends on your setup but yep 2018-06-10 18:10:55 dont the modules just need to be in the ramfs 2018-06-10 18:11:21 actually yeah - maybe i've been overcomplicating it :p 2018-06-10 18:11:26 like in mkinitfs.cong 2018-06-10 18:11:27 f 2018-06-10 18:11:29 features="ata base ide ext2 ext4 keymap scsi usb virtio cryptsetup" 2018-06-10 18:13:53 right anyway 2018-06-10 18:14:05 trfl: you got a system currently using that? 2018-06-10 18:14:20 yeah, a couple 2018-06-10 18:14:22 could i get a fstab + crypttab + mkinitfs + update-extlinux.conf 2018-06-10 18:14:27 for reference 2018-06-10 18:14:37 sure, let's see 2018-06-10 18:22:54 sy, https://ocv.me/doc/alpine/var/betterinitramfs-setup.tgz there's a slight chance that /etc/extlinux.conf doesn't configure correctly after a kernel update with this setup :p 2018-06-10 18:23:03 got it working by editing it by hand and forgot about it 2018-06-10 18:23:55 awesome, thanks 2018-06-10 18:23:58 nice domain 2018-06-10 18:24:01 o/ 2018-06-10 18:25:34 :O /boot before / in fstab 2018-06-10 18:27:18 ...I can only assume that doesn't actually matter, considering it works heh 2018-06-10 18:31:53 trfl: whats the difference between enc_root and root? 2018-06-10 18:34:20 so i've concocted this: 2018-06-10 18:34:23 default_kernel_opts="console=ttyS1,9600 rescueshell sshd sshd_port=2222 binit_net_if=eth0 binit_net_addr=163.172.62.16/24 binit_net_route=163.172.62.1/24 binit_net_gw=163.172.62.1 luks enc_root=/dev/sda2 root=/dev/mapper/crypt rootfstype=ext4 nomodeset" 2018-06-10 18:35:00 ah forgot to mention I've got luks inside softraid so enc_root is the assembled softraid (/dev/md0) and root is /dev/mapper/enc_root (the rootfs after decrypting) 2018-06-10 18:35:27 yep looks about right 2018-06-10 18:36:22 oh right 2018-06-10 18:36:38 so 2018-06-10 18:36:43 how do i install this thing 2018-06-10 18:36:47 it's trying to do ebuild 2018-06-10 18:40:04 iirc you can download the prebuilt initramfs and copy that over to /boot, you'll get essentially the same thing if you follow the build instructions on the github 2018-06-10 18:40:13 that'd be https://bitbucket.org/piotrkarbowski/better-initramfs/downloads/release-x86_64-v0.9.2.tar.bz2 2018-06-10 18:40:22 ah okay 2018-06-10 18:44:53 can't find the images in therer 2018-06-10 20:48:26 hi 2018-06-10 20:48:46 when i ssh into alpine and do git diff it comes out as garbage instead of colored 2018-06-10 20:48:50 like this [[32m+[[m[[32m min-height: 30px;[[m 2018-06-10 20:48:57 any tips on how to solve it? 2018-06-10 20:49:24 i think it has something to do with TERM, termcap, im not sure how to do anything about it though 2018-06-10 20:49:42 <_ikke_> rain1: install less 2018-06-10 20:49:53 <_ikke_> rain1: the busybox less can't handle it 2018-06-10 20:50:07 wow perfect, thank you very much 2018-06-11 05:39:15 Hi. How can I change timezone? 2018-06-11 05:39:54 I have only 1 zone in /etc/zoneinfo 2018-06-11 07:16:30 Nikolay[m]: setup-timezone maybe 2018-06-11 07:32:07 Nikolay[m]: you need to install tzdata for more zonefiles. setup-timezone does that for you 2018-06-11 07:37:18 let me suggest a radical approach 2018-06-11 07:37:27 less $(which setup-timezone) 2018-06-11 08:03:22 thanks 2018-06-11 10:37:30 about firefox fonts problem 2018-06-11 10:37:36 https://bugs.alpinelinux.org/issues/4248#note-4 2018-06-11 10:38:01 this fix helped me 2018-06-11 10:43:33 there is no language pack for firefox-esr in repos? 2018-06-11 12:08:51 Why are there people saying "we never really needed grsecurity anyway"? My understanding is that grsec was doing its 2018-06-11 12:08:51 research, sometimes making valid points than it came to a quarrel and now many linux folks don't like them. 2018-06-11 12:09:34 I wonder though about the necessity of those patches for current kernels... 2018-06-11 12:58:51 you're seeing some of grsec features being ported to the mainline kernel now that grsecurity no longer distributes its patch set 2018-06-11 12:59:26 but still, grsecurity was several years ahead of mainline 2018-06-11 13:01:04 if you follow @grsecurity on twitter you can also have popcorntime of all fuckups of the porters being pointed out 2018-06-11 13:03:03 sounds like the constructive style of grsecurity we've all learned to know and love 2018-06-11 13:05:30 still better than when they only post hashes. 2018-06-11 13:29:47 TBB: Last year Linus called those patches "garbage" though and it's kind of logical, that making mainline look bad is part of their business model. Still, I'm just curious about the quality resp. necessity of those patches 2018-06-11 14:07:42 noob question: why doesn't alpine linux offer torrent links to download the iso's? the downloads are small, but it would save a lot of bandwidth costs for all mirrors 2018-06-11 14:08:34 <_ikke_> most businesses shun torrents 2018-06-11 14:11:45 TBB: That's not true. Grsecurity do distribute the patch set, albeit to customers. 2018-06-11 14:12:17 and testers 2018-06-11 14:15:28 semantics, duncan^ - they're no longer in open distribution 2018-06-11 14:18:05 duncan^ I guess it was meant that they don't make the testing patches public - at least this is what I understand why there will be no more hardened kernel alpine 2018-06-11 18:18:33 can I hardcode an initrd in update-extlinux.conf ? 2018-06-11 20:23:21 hello ppl, anyone here to guide a RAM setup on the alpine extended edition setup? My goal is to have an system running from ram only and future reboots could bring me to the last state where system was... is it possible? 2018-06-11 20:24:15 <_ikke_> thug_b3e: yes, and very easy to do 2018-06-11 20:24:37 <_ikke_> Have a bootable usb disk (which is writable) 2018-06-11 20:24:42 <_ikke_> run setup-alpine 2018-06-11 20:25:00 yep ... boted into it and running the "setup-alpine" 2018-06-11 20:26:35 <_ikke_> ok 2018-06-11 20:26:53 <_ikke_> You don't want the sys install 2018-06-11 20:27:50 <_ikke_> thug_b3e: https://wiki.alpinelinux.org/wiki/Installation see diskless mode 2018-06-11 20:29:11 and use lbu to backup /etc 2018-06-11 20:29:40 <_ikke_> correct 2018-06-11 20:29:49 <_ikke_> Which setup-alpine will setup 2018-06-11 20:29:59 <_ikke_> https://wiki.alpinelinux.org/wiki/Alpine_local_backup 2018-06-11 20:39:28 ok... setup-alpine is now finished.... i changed root password ... but when I try to SSH the machine the root password wont apply... u know why? 2018-06-11 20:39:55 <_ikke_> thug_b3e: password login is most likely disabled by default 2018-06-11 20:39:57 <_ikke_> for root 2018-06-11 20:40:17 how to enable it? 2018-06-11 20:40:25 <_ikke_> /etc/ssh/sshd_config 2018-06-11 20:40:36 <_ikke_> look for PermitRootLogin 2018-06-11 20:42:42 yep found it ... deleted the "#" sign in fron of it ... 2018-06-11 20:42:55 now restart sshd service? 2018-06-11 20:43:12 <_ikke_> yes 2018-06-11 20:43:17 <_ikke_> rc-service ssh restart 2018-06-11 20:46:16 no joy :( 2018-06-11 20:47:02 <_ikke_> thug_b3e: did you verify that line didn't not contain 'prohibit-password'? 2018-06-11 20:47:42 <_ikke_> it should say: PermitRootLogin yes 2018-06-11 20:48:52 now it worked :) 2018-06-11 20:54:38 what type of lightweight xserver + do you suggest for a Dell R230 server? it has Matrox G200eW video integrated video in it.... 2018-06-11 20:54:59 <_ikke_> No experience with that 2018-06-11 20:55:15 ok... 2018-06-11 21:11:36 ok -rwxr-xr-x 1 root root 12246 Jun 12 00:08 alpwgun.apkovl.tar.gz with this file on usb it means that when I now reboot I continue where I was? correct? 2018-06-11 21:15:34 yep it did :) thx @_ikke_ 2018-06-11 22:30:01 Hi. I have a really strange problem with VT switching and X server. It is really slow. VT switch betwenn consoles take up to 20 seconds, and xinit starting for 40 seconds. 2018-06-11 22:30:21 Do you have any ideas on how I can debug that situation? 2018-06-11 22:35:36 According to Xorg.log it spend 10 seconds trying to "Adding drm device (/dev/dri/card0)" 2018-06-11 22:36:36 and then it spends 11 seconds on "intel(0): switch to mode 1600x900@60.0 on eDP1" 2018-06-11 22:38:24 I think, it is somehow related to multimonitor setup that I have, but my expirience is unsifficient to diagnose this problem 2018-06-11 22:58:52 laskin: What gpu? 2018-06-11 23:00:01 Also I noticed, that all is perfectly fine if I boot my notebook without dock and _then_ put it into dock. But if I boot it in dock, then all those problems arise. 2018-06-11 23:01:23 Archlinux works without problems though, but I want to migrate from it to Alpine 2018-06-11 23:14:50 does somebody know why I cant execute file in alpine x86_x64? 2018-06-11 23:15:17 -ash: ./filename: not found 2018-06-11 23:15:41 thug_b3e▸ probably refers to an interpreter in the #! that doesn't exist. 2018-06-11 23:18:33 what can I do to run my file? 2018-06-11 23:20:45 Fix the shebang link? 2018-06-11 23:20:48 *line 2018-06-11 23:21:01 Or install the needed interpreter. 2018-06-11 23:21:52 thug_b3e, or maybe executable file is for ARM, for example. Or any other non-x86 architecture 2018-06-11 23:27:13 ok ty 2018-06-11 23:29:00 probably it is linked against glibc, and not musl 2018-06-11 23:32:25 Or that 2018-06-12 03:06:04 Not sure if this belongs in #alpine-devel but I was curious what others thought of possibly adding a seccomp protections to alpine's busybox package? 2018-06-12 05:43:47 guys, does anyone of you use keepassxc? I tried to integrate it with browser and failed. Need help. 2018-06-12 07:53:08 there is no filezilla in repos 2018-06-12 07:53:26 is there some sftp clients in repos? 2018-06-12 07:54:03 Nikolay[m]: yes, scp :) 2018-06-12 07:54:04 lftp ? 2018-06-12 07:58:32 no gui applications? 2018-06-12 08:01:15 Nikolay[m], you could mount it with sshfs and use whatever you like. 2018-06-12 08:02:02 thanks 2018-06-12 10:22:31 hi all, i was looking to install alpine linux on my raspberry pi 3. the wiki page ( https://wiki.alpinelinux.org/wiki/Raspberry_Pi ) has a link to a forum discussion, however the forums have been end-of-lifed 2018-06-12 10:22:39 is there an archive of the forums somewhere? 2018-06-12 10:24:03 there is an archive here: http://dev.alpinelinux.org/~clandmeter/other/forum.alpinelinux.org 2018-06-12 10:24:15 but its a static archive 2018-06-12 10:25:01 that is fine, thank you, i just wanted to make sure i am aware of any issues etc :) 2018-06-12 10:27:05 (ps. if someone with wiki access wants to update that link to http://dev.alpinelinux.org/~clandmeter/other/forum.alpinelinux.org/comment/1084.html#comment-1084 i think it would help people) 2018-06-12 10:51:54 I have "[pulseaudio] module-udev-detect.c: Found 0 cards." Alsa works fine, manually added card works fine. But udev fail. Can somebody help me? 2018-06-12 10:59:09 Oh, setting up Alpine on desktop is such a PITA ): 2018-06-12 11:04:32 it hasn't been given the finish it needs, but then, considering how much "real" desktop distros spend effort into the finishing touches, I don't blame the devs for it 2018-06-12 11:06:02 I don't blame devs either. Alpine is my favourite server distro. I just starting to think, it is not meant for desktop. 2018-06-12 11:06:31 that statement tends to start interesting conversations here :) 2018-06-12 11:07:25 Is there a way I can use bluetooth from non-root user? 2018-06-12 11:08:01 depends maybe on the kernel you use 2018-06-12 11:09:14 re desktop: depends on your expectations, i am very happy with alpine on desktop, and i have zero pulseaudio (probably a reason for my happiness), if you want alpine on desktop look at adelie 2018-06-12 11:10:20 I'll remove pulseaudio at the same moment I find a way to use bluetooth audio without it. 2018-06-12 11:12:30 of course some enthusiasts could start a desktop task force of some sort, but then the question would be, which desktop to concentrate in, and I'm not a fan of that specific conversation :) 2018-06-12 11:29:43 Pulseaudio works fine if call udevadm trigger _after_ pulseaudio started. 2018-06-12 11:29:50 True hotplug, lol. 2018-06-12 11:31:26 do you by any chance have all the udev related services enabled at sysinit? 2018-06-12 11:33:13 bluetooth audio would be cool 2018-06-12 11:33:30 i mean, that something i'd like to have om my desktop too 2018-06-12 11:33:40 I just dont have the time to figure it out 2018-06-12 11:34:02 i think there is a theoretical possibility to do it with alsa only 2018-06-12 11:37:45 ncopa, theoretically, yes. but in 2018 alsa support for bluetooth devices and bluez support for alsa are obsoleted many years ago 2018-06-12 11:37:58 it is hard to swim against mainstream 2018-06-12 11:39:04 yeah 2018-06-12 12:58:27 pulseaudio can not access device info in /sys, because /sys and all down the tree is readable only for root 2018-06-12 12:58:56 does anybody know, where I can change those access rights? 2018-06-12 13:01:58 https://wiki.alpinelinux.org/wiki/Radeon_Video#Fixing_MESA-LOADER_errors 2018-06-12 13:02:03 this should help 2018-06-12 13:03:30 laskin: you need to use linux vanilla instead of hardened 2018-06-12 13:04:24 btw alpine i think is pretty good in swimming against mainstream ;) 2018-06-12 13:05:01 yes we are professional swimmers 2018-06-12 13:06:09 i have an Alpine certified label on my speedo 2018-06-12 13:06:20 zNVxxliww5gP, when I manually mount sysfs on /tmp/sss, then access rights are 777. 2018-06-12 13:06:38 so it is not immanent property of used kernel 2018-06-12 13:06:58 and you use -hardened? 2018-06-12 13:07:21 zNVxxliww5gP, yes, 4.9.65-1-hardened 2018-06-12 13:08:07 and the files inside /tmp/sss are accessible by non-root? 2018-06-12 13:08:08 laskin: https://wiki.alpinelinux.org/wiki/Radeon_Video#Fixing_MESA-LOADER_errors 2018-06-12 13:08:19 this will fix access rights to sys 2018-06-12 13:08:44 I just look at /etc/init.d/sysfs and there is the same command that I use when manually mount sysfs. But results are different. 2018-06-12 13:09:12 Nikolay[m], thank you. But it is not a "solution", it is just masking problem 2018-06-12 13:09:24 well in 3.8 there will be no hardened anymore 2018-06-12 13:09:46 so you might as well switch now and forfeit all the unnecessary struggles. 2018-06-12 13:10:22 yup. grsecurity protects /sys on its own and it can't be circumvented 2018-06-12 13:10:43 it can 2018-06-12 13:10:49 well you can disable it on boot 2018-06-12 13:10:55 grsec_sysfs_restrict=0 on cmdline 2018-06-12 13:11:05 zNVxxliww5gP: right, running grsec kernel on the end-user-system always was problematic, unless runner is not really skilled 2018-06-12 13:11:11 still rather pointless 2018-06-12 13:11:20 hence, ditch -hardened 2018-06-12 13:11:41 TBB, then why this protection doesn't work when I mount sysfs manually on different directory? 2018-06-12 13:11:59 i'm actually ok with running a desktop as user with sysfs protections enabled, but then i do not need opengl nor bluetooth audio 2018-06-12 13:12:17 "15:08:20 zNVxxliww5gP | and the files inside /tmp/sss are accessible by non-root?" 2018-06-12 13:12:35 ^^^ lasking you did not answer this 2018-06-12 13:14:35 laskin: that you'll have to take to team grsecurity 2018-06-12 13:15:01 I'm long time user of grsec but nowadays I don't use it anymore, not worth a hassle by my years of experience 2018-06-12 13:15:35 it's my opinion 2018-06-12 13:15:41 zNVxxliww5gP, yes, I can. That is my whole point. 2018-06-12 13:16:55 I guess the correct solution would be to disable sysfs protection and then create an access list for /sys but that's a lot of work 2018-06-12 13:17:10 access lists in general are a PITA to maintain 2018-06-12 13:20:38 hi everyone 2018-06-12 13:24:14 So, brave new world of vanilla kernel. 2018-06-12 13:24:29 Pulseaudio issues were fixed. 2018-06-12 13:25:14 Some of the grsec fixes will eventually land on vanilla. 4.18 should have a couple more of them already. 2018-06-12 13:36:13 from this Dockerfile -> http://dpaste.com/0E1A9RD i'm trying to run a container, but I keep getting those errors -> http://dpaste.com/1J69NRG 2018-06-12 13:36:48 seems some symbols missing, I don't know, anyone have an idea about how to solve it? 2018-06-12 13:39:34 the strange thing is that on my laptop (docker for mac - Version 18.03.1-ce-mac65 (24312)) it works, but on the company deploy server (Ubuntu 14.04.5 LTS, Docker version 17.12.0-ce, build c97c6d6), the build is succesful, but when the image runs those errors appears 2018-06-12 13:55:21 any help? 2018-06-12 13:59:01 luke_66, was this docker image the same on your laptop and deploy server? I mean, you build image once on your laptop, or you build image twice, on laptop and on server 2018-06-12 14:00:06 laskin: it's the same, I modified the docker-compose file to pull the image from the dockerhub repo instead of rebuilding it 2018-06-12 14:01:06 hm. that is really strange then. 2018-06-12 14:03:39 laskin: yes, it's a python/django project. so the problem seems to be gunicorn, since running the app with the django dev runserver works fine 2018-06-12 14:11:16 luke_66: are you 100% sure it's the same image? anyway, I believe this to be an error caused by glibc 2018-06-12 14:19:15 mijndert: it's the same image. 2018-06-12 14:20:47 mijndert: any suggestion about what to do if is a glibc realted error? 2018-06-12 14:27:57 What's the idiomatic way to automatically run a script at after the system has booted? Do I use openRC for this, or are there faster ways? 2018-06-12 14:29:17 sure, you can use OpenRC 2018-06-12 14:29:36 qrvpzvb: I get that, but are there quicker ways to achieve the same goal? 2018-06-12 14:30:01 by quicker do you mean easier? like, without having to write an init.d script etc? 2018-06-12 14:31:09 I just want to do: `docker start foo` after the machine has booted up.. that's all. Was hoping to avoid learning openRC for that if possible 2018-06-12 14:31:45 You could use the crontab @reboot 2018-06-12 14:31:52 oh! from what I've read, you're supposed to use docker restart policies 2018-06-12 14:32:08 Ah .. indeed! 2018-06-12 14:32:14 Yeah, usong docker's settings would be better 2018-06-12 14:32:17 docker run --restart=always 2018-06-12 14:33:22 yes, and then you just need to start the dockerd 2018-06-12 14:33:42 rc-update add docker 2018-06-12 14:33:50 already have that. Thanks! 2018-06-12 14:34:24 iron_houzi: /etc/local.d/README 2018-06-12 15:34:25 hello! It try to install bash but I get following error: 2018-06-12 15:34:28 alpwgun:~# apk add bash-4.4.19 ERROR: unsatisfiable constraints: bash-4.4.19 (missing): required by: world[bash-4.4.19] 2018-06-12 15:36:44 apk add bash 2018-06-12 15:37:26 alpwgun:~# apk add bash OK: 455 MiB in 230 packages 2018-06-12 15:37:35 and nothing happens 2018-06-12 15:45:33 hi all, im running 3.7.0 on a raspberry pi 3, getting the following issue: i can't stop the hwclock service. i enter `service hwclock stop` and it tells me "hwclock: can't open '/dev/misc/rtc': no such file or directory" and then "ERROR: hwclock failed to stop" 2018-06-12 15:48:21 anyone happen to be familiar with this issue? my googling didnt help :/ 2018-06-12 15:50:45 maybe rc-update del hwclock boot 2018-06-12 15:50:49 then reboot rpi 2018-06-12 15:51:25 that error message indicates a missing device which means a missing kernel module (unless it's built in) 2018-06-12 15:51:51 well rpi doesn't have a hardware clock thats why i was trying to stop the service :V 2018-06-12 15:52:07 in that case, follow Nikolay's advice 2018-06-12 15:52:18 yep, did so, thanks 2018-06-12 15:52:32 thug_b3e: means it's installed then 2018-06-12 15:53:02 ok 2018-06-12 15:53:16 but just in case, apk info | grep bash 2018-06-12 15:53:40 (add -v to the first command) 2018-06-12 15:56:04 alpwgun:~# apk info -v | grep bash bash-4.4.19-r1 2018-06-12 15:56:08 yep tis there ... 2018-06-12 15:56:26 thx TBB 2018-06-12 16:04:03 Hey all.. does anyone know how to get /var/log/messages to be the correct time? it's always one hour off.. (one hour behind..) 2018-06-12 16:07:27 are you using NTP? i think the daemon is called ntpd... otherwise check your UTC 2018-06-12 16:08:09 One hour behind sounds like a BST/GMT issue 2018-06-12 16:08:19 date and time is right.. just logging is wrong.. 2018-06-12 16:08:58 (I have about a dozen machines..) some physical and most virtual.. all have this issue.. 2018-06-12 16:09:28 alpine172:~# chronyc clients | wc -l 2018-06-12 16:09:28 903 2018-06-12 16:09:52 I even have one machine as a main ntp.. (so it's got proper time..) and it's logs are one hour off as well.. 2018-06-12 16:10:41 s/it\'s/its/g :P 2018-06-12 16:11:34 hwclock maybe? 2018-06-12 16:15:26 hmm, hwlock was weird.. I did some sync'ing.. rebooting it now.. 2018-06-12 16:19:08 has anyone ever PXE booted alpine? curious what your kernel boot args were 2018-06-12 16:19:47 /join #voidlinux 2018-06-12 16:43:50 <_ikke_> isn't busybox syslog always using utc? 2018-06-12 16:54:24 Does anybody have expirience with nvidia cards? 2018-06-12 16:55:07 /dev/dri/card0 : No such file or directory 2018-06-12 16:55:25 Nouveau module loaded 2018-06-12 18:37:43 are apkovl's restricted to files in /etc ? 2018-06-12 18:38:36 i need to deploy something in /boot, but it doesn't appear there after installing the system with setup-disk -o 2018-06-12 18:39:56 strfry: you can add directories/files with lbu_include 2018-06-12 18:49:45 oh, i actually had a problem with dependency checking in the makefile that generate the apkovl 2018-06-12 18:49:50 actually it works fine :) 2018-06-12 19:29:29 alpine 3.7 on rpi3: cannot install "shadow" package, even though the package site indicates it should be available 2018-06-12 19:30:02 `apk add shadow` -> ERROR: unsatisfiable constraints: shadow (missing): required by: world[shadow] 2018-06-12 19:30:20 am i doing something wrong? 2018-06-12 20:03:31 ah... forgot to enable community repo 2018-06-13 03:58:34 Is anyone working on DPDK & VPP on Alpine? 2018-06-13 03:58:53 Given the origins of Alpine, it's be a cool platform to build a router/firewall thing 2018-06-13 09:06:30 Hi everyone 2018-06-13 09:06:57 Does anyone had any success following this guideline to setup alpine in AWS: https://wiki.alpinelinux.org/wiki/Install_Alpine_on_Amazon_EC2 2018-06-13 09:07:26 I thought I had a success, but for some reason I can't login to the server 2018-06-13 09:08:35 I even tried to setup a password and not just ssh key pairs, still no success 2018-06-13 10:34:05 <_ikke_> jackmcbarn: by default it does not allow root login via ssh 2018-06-13 10:34:41 <_ikke_> j7k6: not sure if that's your issue, but sshd_config does not have AllowRootLogin set by default 2018-06-13 10:41:35 I am not using root 2018-06-13 10:41:42 I used alpine user 2018-06-13 10:41:51 ssh -i pem alpine@host 2018-06-13 10:42:07 I tried ssh and password, not of them worked 2018-06-13 10:42:31 I'll probably try to create again and check AllowRootLogin 2018-06-13 10:42:54 thanks :) 2018-06-13 10:42:58 <_ikke_> Would only matter if you used root though 2018-06-13 10:43:33 no, I'm not using root, but not sure if there are other option in sshd_config that's preventing me from logging in 2018-06-13 11:19:34 no luck 2018-06-13 11:21:48 currrently, I have my production running on docker, I want to try AWS autoscaling to fire up new ec2 instances, but I want to use alpine and it's not available in aws currently. 2018-06-13 11:22:24 it will be good to create an alpine image and set the autoscaling to deploy instances based on that image. :) 2018-06-13 11:23:01 I will stay here a little longer, I'm sure someone else is doing it. 2018-06-13 11:55:08 <_ikke_> Do you have console access to the vm? 2018-06-13 11:55:54 EC2 does not provide console access 2018-06-13 11:57:53 JayBau: It's annoying, but if you want an actual error message instead of guessing, you can attach your instance's root volume to a different instance, mount it and look in /var/log 2018-06-13 11:59:44 @_ikke_ that's what I am trying to accomplish, trying to login via ssh, not sure if that what's you meant by `console` 2018-06-13 12:00:01 @pardis I will definitely try your suggestion. thanks 2018-06-13 12:00:44 <_ikke_> JayBau: No, the console is usually a way to directly login to the server, without any network connection. It would allow you to inspect things 2018-06-13 12:00:49 <_ikke_> but apparently that's not possible 2018-06-13 12:01:23 @_ikke_ ah no, I am trying to have it on an AWS EC2 instance 2018-06-13 12:01:53 <_ikke_> Understood 2018-06-13 12:36:32 How can I install open-vm-tools and rc-update add it during the installation process? (pre first boot after doing setup-alpine) Having issues with the packer plugin I'm using needing that on first boot 2018-06-13 12:41:27 mgoodwin: guess you'll have to chroot into the newly installed system 2018-06-13 12:42:27 Is there a common path for that during the sys install 2018-06-13 12:42:38 trying to go through discovery of that now to get the right boot_command 2018-06-13 12:43:11 you don't need to manually chroot into the target system 2018-06-13 12:43:28 apk --root? 2018-06-13 12:43:28 you can tell apk to install a package to a specific basedir 2018-06-13 12:43:31 yep 2018-06-13 12:44:04 ah, right 2018-06-13 12:44:19 what about rc-update though 2018-06-13 12:44:45 manually place the symlinks? 2018-06-13 12:44:53 that'd be the best bet 2018-06-13 12:45:03 i'm pretty sure that's all rc-update does anyhow 2018-06-13 12:45:08 yeah, I could 2018-06-13 13:08:01 is this just for me? 2018-06-13 13:08:02 ERROR: freetype-2.8.1-r3: package mentioned in index not found (try 'apk update') 2018-06-13 13:09:12 (I did 'apk -U upgrade') 2018-06-13 13:10:21 did you apk update? 2018-06-13 13:10:22 ah, it's the mirror that's not fully updated yet, I guess 2018-06-13 13:10:30 yeh, that's possible 2018-06-13 13:10:49 TBB: that is what '-U' is for 2018-06-13 13:11:21 I must've seriously misunderstood the mirror syncing process because it just can't go offer an updated index to users if the conten't isn't there 2018-06-13 13:12:23 agreed, it doesn't feel right 2018-06-13 13:12:48 which mirror are you using? 2018-06-13 13:12:54 btw, I'm not using any of the dl-X.alpinelinux.org 2018-06-13 13:13:33 nmeum: ftp.acc.umu.se, since I wanted to fetch over https 2018-06-13 13:16:24 doesn't matter http or https, packages are signed and verified with keys in /etc/apk/keys 2018-06-13 13:16:44 apk -U upgrade means update then upgrade 2018-06-13 13:17:32 : There's a guide on wiki on how to install on aws 2018-06-13 13:17:46 I made it to google cloud too, still finding time to write up 2018-06-13 13:18:09 _ikke_ https://pastebin.com/dZYedLZs not really sure how to check /var/logs after mounting the disk, this is what I see after mounting the disk 2018-06-13 13:18:20 I just realized that I posted this in the wrong channel 2018-06-13 13:18:24 <_ikke_> JayBau: np 2018-06-13 13:18:51 tmh1999 I did follow that, although I cannot login via ssh, tried password and key pairs. 2018-06-13 13:20:00 now I don't have aws and I can't verify, but google cloud allows you to update a qemu raw disk and create a boot image/disk from it, which is very nice. 2018-06-13 13:20:20 s/update/create/g 2018-06-13 13:20:37 are you sure ssh port is open and you can reach the vm ? 2018-06-13 13:21:25 yes ssh port is open, but it's not accepting the key pair that I have installed, and the password 2018-06-13 13:22:25 I set "PermitRootLogin" to yes btw 2018-06-13 13:22:36 your aws account has firewall rules ? 2018-06-13 13:22:40 still trying what else can be done to make it work 2018-06-13 13:23:36 <_ikke_> The first step would be to find out why they're rejected in the first place 2018-06-13 13:23:37 if ssh port is open and you can reach it, then it's ssh problem. not alpine nor aws. my guess is you need to create firewall rule on your aws console/dashboard. 2018-06-13 13:26:14 ssh alpine@34.216.18.12 2018-06-13 13:26:21 ssh root@34.216.18.12 2018-06-13 13:26:49 tried both, I do get the login prompt 2018-06-13 13:27:04 <_ikke_> ok, so not a firewall issue 2018-06-13 13:28:07 PUB: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKytMNwtdNVVOMBR5rQhi84l5nwrU9S+W73laHv16ByGZPMDRCTa4OwuW4lmqiz0/+rqsYrTxZKfOzKP3hJelQCAlRbUHRaP2Lk8rOJ6n0kFeww7CRmrSew2nRZv8w0LWvNCy7cSwyIoMhxiI2DCKMlLnq3wKhvGtt3iQkGMmdCOWEtuPAyhZDKPx0htG3ihaBNcImr1bH2yC36CTKe59pi4ergLDHMhNvDZioGHQLbSvE3lkzzq25LvOF5JN0GRRvLTIZp9LRi7Jdpxp4QErYorNCZaQv72aa6hrNZh3lwRgOZC0njYposoJ0JmZIihRun/apMbdv7W9FzbCpiBu5 root@localhost 2018-06-13 13:28:17 PEM: -----BEGIN RSA PRIVATE KEY----- 2018-06-13 13:28:17 MIIEpQIBAAKCAQEAysrTDcLXTVVTjAUea0IYvOJeZ8K1PUvlu95Wh79egchmTzA0 2018-06-13 13:28:17 Qk2uDsLluJZqos9P/q6rGK08WSnzsyj94SXpUAgJUW1B0Wj9i5PKziep9JBXsMOw 2018-06-13 13:28:17 kZq0nsNp0Wb/MNC1rzQsu3EsMiKDIcYiNgwijJS56t8Cobxrbd4kJBjJnQjlhLbj 2018-06-13 13:28:17 wMoWQyj8dIbRt4oWgTXCJq9Wx9sgt+gkynufaYuHq4CwxzITbw2YqBh0C20rxN5Z 2018-06-13 13:28:18 M86tuS7zheSTdBkUby0yGafS0YuyXacaeEBK2KKzQmWkL+9mmuoazWYd5cEYDmQt 2018-06-13 13:28:20 J42KaLKCdCZmSIoUbp/2qTG3b+1vRc2wqYgbuQIDAQABAoIBAQCwzAMUjDmIgktE 2018-06-13 13:28:22 V3IdsJJAmloTu/ymY/T1xPFLh9us6jnH8A6ff3mwBNqiAwEU0Ai90Sn5aY6jbZ+5 2018-06-13 13:28:24 IpO0Jokx7M+y3b30A8SIW2EEOjBBt1W8Fd9qEaZGg7dNiK4SsOK0zJfzEselLdGF 2018-06-13 13:28:25 ...? 2018-06-13 13:28:26 MGfDFvFH/qHX0nVI7Cv8rR51Gecrr3hUN1oMmPhx/bhagnovdCspW6Hze6CIOcNm 2018-06-13 13:28:28 ny3FeQpZQgILkqINitQSqSwFAb61xLYtJAzm3yWyGvNlP4L0oIE5PjL1WLz9QePI 2018-06-13 13:28:30 qfFqloqdWCiEjB7BQPq02W7L7XNpv/o+VurwAIyhVoCogqnxicGhnRoIMe+Pgc/w 2018-06-13 13:28:30 uh.. 2018-06-13 13:28:32 7s5IimgBAoGBAOzXEt47KIjtW8lqGAw0rPTbdw6C39/W+Dn3X8qkcO0yVSa5zhxJ 2018-06-13 13:28:34 fK/WnrfBijTsF9n65ZYw6ZDAvaFyBj8U1AsdXVCBNTx2TAuj1oIIEPEXM9KEuUP0 2018-06-13 13:28:36 0I7mN48ZKPD8mTipdgFAe5ir5P2OzMNS2+oQ/UZPMtVO0cjie9Y2SsdxAoGBANsy 2018-06-13 13:28:38 n98URyFSsPq6c426kr4nnT6BMhcTdz6j/S9UZM89QCY99ArZICBKhRufKfAEJeE6 2018-06-13 13:28:40 w4YZR46XX5bBIHYecpqpD0Vewe+nULVf7XDYhyVVdSkEjXacC27e+aT8cjpbIBzE 2018-06-13 13:28:42 ahRblZRj93KxAKj2c8v4/YmwCj8/EVRKzs9gj8TJAoGBAIMG5aBeuCkwr6P5dv5h 2018-06-13 13:28:44 sgHw3KgBjZuHkWJ4Ud2JJhSD0QoQp0+M9FdPdBWTFEP9DaEBpjx2KPF1QDPuIjiJ 2018-06-13 13:28:48 7FmN0E82fF5Lz/xsksLzdXP78yaXWOuYqD02bixTrgvMo3PuhKNiqj4ncxM4Cl5R 2018-06-13 13:28:50 G+sdpRFdxXCvH250pjA3bx1xAoGBAMLjjutL3zZMjFhQwH7J3MC+/frd6chEoWgL 2018-06-13 13:28:52 bAfR1FPCFLArsziV9g9f0ltNt37UYU2Q7tjizxGDmxSxn4gF6EWEfLRj3LCUpZit 2018-06-13 13:28:54 srH7gqV6BtIyXwiPE0c/btz3KyShcrrBE8QH7cVi4FaT849GmIxJVDtATswO6fx1 2018-06-13 13:28:55 stahp 2018-06-13 13:28:56 Cs2tAAapAoGAUfEWfZYCJHuNXgmzS0Tz+Sw8p72DNxljox8+Z4jRaLQrfZTznmXg 2018-06-13 13:28:58 x/V3TNbUjiZQRF0BHCnC5BvKR2ezW/24De86jyVuZbww9n4Ay2Mm+ngXCGWXp9o6 2018-06-13 13:28:59 /o\ 2018-06-13 13:29:00 47gQ8nLGz5+DaL8OOMfYMmyzOkUUBpZpi7UV9SFAbI4j9oeeK1Hrh14= 2018-06-13 13:29:02 -----END RSA PRIVATE KEY----- 2018-06-13 13:29:04 darn, I spammed the channel, sorry 2018-06-13 13:29:14 just trying to maximize the things that I can share 2018-06-13 13:29:18 lol 2018-06-13 13:29:23 with a private key even 2018-06-13 13:29:25 you are sharing your private key? 2018-06-13 13:29:38 <_ikke_> JayBau: I would revoke that private key as fast as possible :) 2018-06-13 13:29:40 i would rm -rf this key asap 2018-06-13 13:29:45 <_ikke_> right 2018-06-13 13:29:46 well, it's just a test private key 2018-06-13 13:30:06 and just using a test aws account to figure this out :P 2018-06-13 13:31:56 I might look into google cloud if that's where it is working. but really, I've been using aws since it's day 1. 2018-06-13 13:43:00 anyway that is also a nice opportunity to switch to ed25519 keys, rsa keys are so 90ies... 2018-06-13 13:43:23 also much less noisy if you happen to paste them regularly ;) 2018-06-13 13:43:38 ed25519 keys are quite pasting-friendly 2018-06-13 13:43:43 which is nice 2018-06-13 13:43:54 <_ikke_> nod 2018-06-13 13:44:27 also, faster to check 2018-06-13 13:45:33 if you are depended on old junk, dont trow away your rsa keys. 2018-06-13 13:46:12 old junk being old firewalls or so that don't accept ed25519? 2018-06-13 13:47:16 junk you cant upgrade. 2018-06-13 13:47:29 never thought of changing it actually, like when I need to create key pairs, my hand will automatically type ssh-keygen -t rsa 2018-06-13 13:47:30 lol 2018-06-13 13:47:46 will try my best to adapt :) 2018-06-13 13:52:46 : if you keep poking me I will write the wiki for gcloud soon... It's pretty straightforward. Gcloud offer $300 or 365 days free ;) 2018-06-13 13:53:20 so when you're broke af, just clone another gmail ... 2018-06-13 13:54:24 JayBau: will your hand also automagically type '-b 4096'? 2018-06-13 13:56:40 haven't looked at google, but 300USD is a lot for just trying the exact thing that I want to happen. creating another gmail for 300 bucks? why not if it's for experimental purposes! :) 2018-06-13 13:57:13 omniuwo: mine sure does 2018-06-13 13:58:12 omniuwo: I stopped typing that part :P 2018-06-13 14:00:07 yeah, so you'd have a budget of $25/month. Lowest vm config is 1vCPU 0.6GB 10GB disk = $5/month. Good things happen when giants fight. 2018-06-13 14:02:34 I got linode instance too, 20USD free upon registration, 5$/month on the smallest instance. it's really good for presentation. after that 20$, simply register again. :-) 2018-06-13 14:03:32 thank God we are in this era, 7 or 8years ago, I am paying 200$+/month for VPS 2018-06-13 14:05:13 "hit" the big guys, they can afford to lose. linode seems to be trying to make a living :P 2018-06-13 14:05:32 lol 2018-06-13 14:08:31 don't know much about them, their ads is everywhere, worth a try though, not like cloudatcost. I spent 20USD for 4GB vCPU, 20GB disk and unlimited transfer, they claim it to be one time purchase like you will own it of the rest of your life. althought you will have to pay for maintenance 2018-06-13 14:08:50 and then your instance can't be reached 90% of the time lol 2018-06-13 14:14:53 Hi. I can't mount cdrom. Unknown filesystem type 'udf' 2018-06-13 14:17:06 modprobe udf.ko? 2018-06-13 14:18:02 Nikolay[m]: are you mounting a cd or dvd? 2018-06-13 14:18:36 cd 2018-06-13 14:19:00 zNVxxliww5gP: module not found 2018-06-13 14:19:07 try modprobe udf 2018-06-13 14:19:49 and then mount it again 2018-06-13 14:20:04 Oh I got it. I updated kernel 2018-06-13 14:20:18 And didn't reboot 2018-06-13 14:37:59 how can setup gvfs with thunar 2018-06-13 14:38:19 how can I* 2018-06-13 14:38:34 install gvfs and thunar-volman at least 2018-06-13 14:38:48 just a sec, I have something related to that on my disk 2018-06-13 14:39:15 I installed them 2018-06-13 14:40:00 ok. I think you need polkit as well. 2018-06-13 14:41:16 you probably want it for getting the chance to mount removable storage from the desktop or something like that? 2018-06-13 14:41:34 polkit is installed 2018-06-13 14:41:40 .s 14 2018-06-13 14:41:41 oups 2018-06-13 14:41:55 I need to mount android storage 2018-06-13 14:41:57 gvfs-mtp 2018-06-13 14:43:22 ah, okay. I haven't done that on Alpine. 2018-06-13 14:45:01 I thought android requires jmtpfs/mtpfs/mtp-tools 2018-06-13 14:46:11 seems to work with gvfs-mtp 2018-06-13 14:46:42 maybe add udisks2 as well 2018-06-13 14:47:23 that's basically the setup I have for one of my Alpine machines here and connecting the phone to it (it uses mtp as well) seems to work 2018-06-13 14:48:02 it still doesn't work 2018-06-13 14:48:20 Do I need to reboot? 2018-06-13 14:48:45 udisks2 in turn needs udev and if you want to give a regular user the permission to mount then udisks2 needs some extra configuration for that 2018-06-13 14:50:12 I should probably write a howto to the wiki about it 2018-06-13 14:52:24 I think I broke alpine linux 2018-06-13 14:54:38 No. It was trying to boot from cd 2018-06-13 14:56:29 after reboot it works fine 2018-06-13 14:56:29 thanks 2018-06-13 14:56:51 working with regular user without extra configuration 2018-06-13 14:59:23 cdrom is mounting but not mtp 2018-06-13 15:01:20 I started to work with apkbuild for mtpfs, but didn't finished yet 2018-06-13 15:02:49 But I can compile it myself right? 2018-06-13 15:04:00 yes, right 2018-06-13 15:04:15 https://github.com/cjd/mtpfs 2018-06-13 15:04:37 ./configure --disable-mad ; make 2018-06-13 15:05:03 if you don't need mad support, I don't 2018-06-13 15:05:12 thanks 2018-06-13 15:05:43 what is mad? 2018-06-13 15:06:17 and you need development environment installed plus libmtp-dev glib-dev for mtpfs 2018-06-13 15:06:45 apk info libmad 2018-06-13 15:06:55 A high-quality MPEG audio decoder 2018-06-13 15:08:09 cannot find install-sh, install.sh, or shtool 2018-06-13 15:08:33 apk add alpine-sdk 2018-06-13 15:09:11 and 'apk add abuild' would be useful 2018-06-13 15:10:02 abuild is a dependency of alpine-sdk 2018-06-13 15:10:18 thought so but was not sure 2018-06-13 15:10:34 there is still that error 2018-06-13 15:12:00 Nikolay[m]: please read at the wiki how to set up development environment and find which packages you need to install for particular packages 2018-06-13 15:12:56 before that I compiled freeciv fine 2018-06-13 15:13:42 you have to figure which packages are needed, I can't give list from the head 2018-06-13 15:15:28 if you compiled freeciv you understand how to build upstream software on linux, I presume 2018-06-13 15:17:39 What are you trying to compile? 2018-06-13 15:18:57 mtpfs 2018-06-13 15:19:31 ./configure && make && make install PREFIX="/" DESTDIR="~/.local/" should do it. You may have to run autoreconf etc to create the configure script. 2018-06-13 15:20:56 yep, you definitely need to run 'autoreconf --install' 2018-06-13 15:21:00 idk, I got even mtp to work without resorting to mtpfs 2018-06-13 15:22:21 in thunar "unable to open MTP device" 2018-06-13 15:22:50 the only thing I have added to what I described above is the udisks2 polkit configuration file 2018-06-13 15:23:12 well, that and plugdev group and added the user to that group 2018-06-13 15:23:49 I'm in plugdev 2018-06-13 15:24:18 btw, mtpfs is cli tool 2018-06-13 15:24:35 not a gui 2018-06-13 15:24:43 how can i setup that udisks2 polkit conf file 2018-06-13 15:25:10 yes I know 2018-06-13 15:26:36 https://github.com/coldfix/udiskie/wiki/Permissions - that's pretty much it 2018-06-13 15:26:53 thanks 2018-06-13 15:27:09 there's subject.isInGroup("storage") near the end; I've replaced that with plugdev 2018-06-13 15:28:27 okay 2018-06-13 15:31:23 do we have this in alpine linux https://packages.debian.org/stretch/ndisc6 2018-06-13 15:32:04 Is there any documentation anywhere that explains Alpine's packaging choices? Such as why 3.7 only has Postgres10 and not any of the other still supported major versions? 2018-06-13 15:37:44 nevermind. i better send files through email 2018-06-13 15:39:25 tya99: asks pkgs.alpinelinux.org 2018-06-13 15:39:47 file upload window is white -_- 2018-06-13 15:39:58 or apk search 2018-06-13 15:39:59 yeah unless it is called something else :S 2018-06-13 15:40:24 you can look for contents of pkgs not only pkg names there.... 2018-06-13 15:41:23 oh 2018-06-13 15:41:32 yw 2018-06-13 15:44:35 i don't think it is there 2018-06-13 19:35:57 #alpine-devel 2018-06-13 19:38:35 Hi, I'm trying to automate setup of some alpine vms, and I couldn't find a way to actually run the setup from virt-install. For Debian for example I can inject a preseed.cfg into the initrd. 2018-06-13 19:42:38 did you look into answer files? 2018-06-13 19:47:01 TBB: yeah, but I didn't find a way to automatically run the setup. I don't ever want to touch the console on that vm 2018-06-13 20:25:23 hi, have a problem with starting X (amd kabini hd 8180 video card). Xorg.0.log: https://dpaste.de/c8Sp/raw, /etc/X11/xorg.conf: https://dpaste.de/zosT/raw 2018-06-13 20:30:22 /etc/modules: af_packet, radeon, fbcon. features of /etc/mkinitfs/mkinitfs.conf contains kms. 2018-06-13 21:20:07 Hello to anyone. I am a new Alpine Linux user and I am trying to figure out how to get packages that are unavailable in the existing repositories. Basically compiling packages with GCC + musl I guess. 2018-06-13 21:22:52 <_ikke_> slowbrownfox: hey, welcome 2018-06-13 21:24:33 Hi. Thanks. 2018-06-13 21:25:16 How do you deal with packages not available on Alpine? 2018-06-13 21:35:04 First of all, have you enabled the community repo by uncommenting it in /etc/apk/repositories? That has some packages not available from main 2018-06-13 21:35:23 yes. Thanks. 2018-06-13 21:35:34 The testing repo has even more packages but those are only built for edge and not releases, but you can build them yourself for a release with abuild if you want 2018-06-13 21:35:49 Other than that you can either build software yourself (and maybe try to package it for Alpine), or use a chroot or container with some other distro 2018-06-13 21:36:27 Is the musl thing a big deal usually? I was thinking of trying to sometimes 'steal' a package from Void Linux because they also are musl based. 2018-06-13 21:36:53 musl tends to be a bigger deal with proprietary software that was compiled for glibc 2018-06-13 21:37:06 Yeah, it's the blobs that are the problem, usually. 2018-06-13 21:37:19 It is usually source-compatible, especially for software which has been ported to other systems like *BSDs 2018-06-13 21:38:04 I don't mind the compile times but I have never compiled anything with Linux before. I guess I need to install GCC and follow the glibc make instructions? Will it automatically use the musl c library in Alpine? 2018-06-13 21:38:27 Yes 2018-06-13 21:38:41 The standard './configure; make; sudo make install' will be sufficient for most software 2018-06-13 21:38:59 Does it often work to just follow the Make instructions? I also need to install GNU Make I assume. 2018-06-13 21:39:14 Oh ok. 2018-06-13 21:39:50 If you install the build-base package you'll get the stuff you need for compiling C and C++ software 2018-06-13 21:39:52 Including make and gcc 2018-06-13 21:40:25 I guess I should mess around with that for a while and see if I have any problems. What kind of problems typically pop up due to musl? 2018-06-13 21:40:53 Different headers than glibc, lack of ludicrous GNU extensions :) 2018-06-13 21:41:40 Hmm. Yeah I noticed something about headers in some Void Linux comments about one of the packages I want (GPM). 2018-06-13 21:42:30 You may want to look at https://wiki.musl-libc.org/functional-differences-from-glibc.html 2018-06-13 21:43:29 Ah. A very useful link. 2018-06-13 21:48:02 <_ikke_> slowbrownfox: also: https://wiki.alpinelinux.org/wiki/Creating_an_Alpine_package 2018-06-13 21:48:18 <_ikke_> in case you didn't found this already 2018-06-13 21:48:52 I looked into creating a package but I have never used git before and it looks awfully complicated. I want to learn that too, but I'd better start with just seeing if I can compile something for my own system. 2018-06-13 21:49:30 <_ikke_> yeah, the git part you can ignore for now 2018-06-13 21:49:36 <_ikke_> though the basics are not that hard 2018-06-13 21:50:11 I did look for a beginners guide to git, but for now I guess I should focus on seeing if I have any compilation problems. 2018-06-13 21:50:54 I expect that compiling GPM or GPM2 will be a lot easier than something like Englightenment. 2018-06-13 21:51:10 Englightenment 2018-06-13 21:51:23 Sigh. Enlightenment. 2018-06-13 21:51:49 honestly i'd suggest starting out with something like a suckless tool for building a package 2018-06-13 21:51:57 suckless tools are really good for being simple to package 2018-06-13 21:53:08 Do those tools need to be compiled from source in Alpine? 2018-06-13 21:53:29 generally you should prefer compiling things from source in general 2018-06-13 21:53:51 but, for Alpine you have to compile a lot more things from source due to the fact that Alpine doesn't ship with glibc 2018-06-13 21:54:05 Yeah I was reading that when considering Gentoo. I really don't mind compiling if it actually works. 2018-06-13 21:54:11 so binaries compiled against glibc don't always work (there's hacks, but they're hacks) 2018-06-13 21:54:31 <_ikke_> And if you want to contribute to Alpine, it almost always have to come from source 2018-06-13 21:55:09 (if the binary is statically linked however, you're probably fine but YMMV) 2018-06-13 21:55:37 But I thought dynamic linking was the rule with glibc and just in general these days. 2018-06-13 21:56:24 depends on what language is being compiled, what compiler is being used. Go for one prefers statically linked binaries when possible. 2018-06-13 21:57:07 Personally when I write my own programs I statically link as a rule because of the portability advantage. 2018-06-13 21:58:16 Dynamic linking sort of has to be the rule with glibc, since the library _really_ isn't designed with static linking in mind. 2018-06-13 21:58:25 <_ikke_> It does make it more difficult to keep things updated 2018-06-13 21:58:34 Yeah I was reading about that. Another holy war. 2018-06-13 21:59:09 That is why I like musl. At least the idea of it. And I guess it is smaller too. 2018-06-13 22:02:57 I noticed that Alpine beat even TinyCore in terms of memory footprint on a Raspberry Pi. Very impressive that. 2018-06-13 22:07:56 Looking for suckless build tools and found tcc (https://bellard.org/tcc/). Anyone using that? 2018-06-13 22:08:16 Ah, tcc. 2018-06-13 22:08:37 It's still developed, I think, but pretty randomly. 2018-06-13 22:09:17 Oh yeah. 5 years old and abandoned. 2018-06-13 22:10:06 Looks interesting though. Wonder how it compares to GCC now. 2018-06-13 22:10:41 There's also https://github.com/8l/scc by some ex-suckless people. 2018-06-13 22:11:11 (For members of fringe UNIX cults who think optimizing compilers were invented by Satan) 2018-06-13 22:13:47 I will never understand why people will but so much time into a project without bothering to explain to the world why they started it in the first place. 2018-06-13 22:13:52 put 2018-06-13 22:14:39 The 'why?' is usually 'yak shaving' 2018-06-13 22:14:42 The first thing I would want to do is explain to people what the point of my software project was. 2018-06-13 22:14:49 scc is for MSX retrocomputer 2018-06-13 22:14:56 its not useful for modern computers 2018-06-13 22:15:03 also the code is pretty awful 2018-06-13 22:15:28 Yeah. 2018-06-13 22:15:37 I created a minimal build tool to replace 'make' 2018-06-13 22:15:40 Yak shaving. Haha. Yeah I think the problem is programmers often hate writing documentation, but still a brief explanation is not that hard to write. 2018-06-13 22:15:57 it supports incremental builds but not parallel builds 2018-06-13 22:16:02 https://github.com/rain-1/makes 2018-06-13 22:16:02 scc lost me when the author started repeating the old 'optimization is the programmer's responsibility' bogus 2018-06-13 22:17:14 That looks interesting. 2018-06-13 22:17:32 slowbrownfox: You're missing the grumpy C snob mindset: the code _is_ the documentation, and if you don't understand it, fuck off :) 2018-06-13 22:18:06 Haha. They are expecting people to actually read their code? 2018-06-13 22:18:37 Also, comments are unnecessary because our code is perfect. 2018-06-13 22:19:11 Well that I can sympathize with, but I really think lots of comments is better practice. 2018-06-13 22:19:51 As well as some kind of overall strategy or pseudo-code document. 2018-06-13 22:20:10 I think it would be awesome if someone wrote a good quality minimal C compiler 2018-06-13 22:20:29 Well what do you think of the tcc project? 2018-06-13 22:20:41 these extremely powerful optimizing compilers like gcc and llvm have their place but I want something nice and simple too 2018-06-13 22:20:53 I like tcc... but it was definitely based on an IOCCC entry 2018-06-13 22:21:22 it's incredible that it's capable of building (early) gcc though! 2018-06-13 22:21:38 Given that C is a small, primitive*AHEM* simple language, you'd really expect there to be 500 options for compilers. 2018-06-13 22:22:00 Yeah it is a bit disappointing. 2018-06-13 22:24:52 it's a project I sort of want to do but know better :) 2018-06-13 22:25:07 it would really be a timesink 2018-06-13 22:25:21 It would be cool though. I really like minimalism. 2018-06-13 22:27:06 Are any of you using Wayland on Alpine? 2018-06-13 22:27:29 Nope, and I'm hoping it will never come to that. :-) 2018-06-13 22:27:53 Seems logical to me for a grsec distro. Or maybe The grsec distro. 2018-06-13 22:28:10 Alpine no longer uses grsec 2018-06-13 22:28:17 Yeah, those days are over. 2018-06-13 22:28:17 Wait what? 2018-06-13 22:28:18 And that's not really relevant to Wayland at all, regardless 2018-06-13 22:28:25 Wayland is more secure. 2018-06-13 22:28:34 Hah. 2018-06-13 22:28:44 in terms of shared processes 2018-06-13 22:28:59 sandboxing etc 2018-06-13 22:29:38 What was the last grsec version? 2018-06-13 22:30:14 Alpine 3.7's "hardened" kernel is based on the last public grsec patch 2018-06-13 22:30:18 3.8 will ship without a hardened kernel 2018-06-13 22:30:25 Wow 2018-06-13 22:30:34 Now that is disappointing. 2018-06-13 22:31:48 the latest intel secvulns are most of why IIRC 2018-06-13 22:32:50 grsec has been badly mishandled, it's probably not much of a loss. 2018-06-13 22:32:58 Well, no, the reason why is that grsec patches are no longer public and forward-porting them to newer kernels is non-trivial 2018-06-13 22:33:14 If it weren't the Meltdown/Spectre fixes that prompted it, there would have been another reason why a newer kernel was desirable sooner or later 2018-06-13 22:33:16 Even badly mishandled it was such a lovely idea 2018-06-13 22:34:04 How not to be security developers: https://www.theregister.co.uk/2017/08/03/linux_kernel_grsecurity_sues_bruce_perens_for_defamation/ 2018-06-13 22:35:10 We all have to make a living but it seems the grsecurity guys really screwed the pooch. 2018-06-13 22:35:52 If modern software has proven anything it is that the most important thing is to have users. Lots of them. Money can come later. 2018-06-13 22:36:43 If the most important thing were to have users, Ubuntu would be the best distro 2018-06-13 22:37:10 Well I meant in terms of making money eventually. Somehow. 2018-06-13 22:37:27 At least some users. 2018-06-13 22:39:07 Looks like grsecurity is going to end up with a handful of corporate clients and that's it. They soon will be irrelevant. 2018-06-13 22:39:38 And yet they created something wonderful. 2018-06-13 22:39:58 Which now the world will not be benefiting from. 2018-06-13 22:40:07 There's nothing stopping the grsec guys from selling their work, but their current closed-open-source thing is really likely to end up in a GPL lawsuit eventually. 2018-06-13 22:40:54 hi all i am trying to build a Docker image with alpine and i cannot find a package... libressl-dev is missing 2018-06-13 22:45:35 b0nn: apk add libressl-dev 2018-06-13 22:48:57 I really like grsec. I wonder how long I could safely use 3.7. 2018-06-13 22:49:16 b0nn▸ b0nn as far as I can tell, libressl was added in alpine 3.5. 2018-06-13 22:50:05 I assume I've got at least a year. 2018-06-13 22:50:25 Until 2019-11, I believe. 2018-06-13 23:13:24 I'd like to pay grsecurity for their new patches and then release them into the wild for free. 2018-06-13 23:13:39 But I doubt I can afford their prices. 2018-06-13 23:15:43 I wonder if grsecurity would sue a distro maintainer who included pirated grsec patches. 2018-06-13 23:20:02 They'd fall on their faces, since their patches are GPL'd. But they cut off the subscription of anyone who 'releases them into the wild'. 2018-06-13 23:22:05 Although a lawsuit would cost said distro maintainer a lot, and grsecurity have shown themselves to be fans of SLAPP... 2018-06-13 23:22:28 didn't copperhead OS do the same kind of model/ 2018-06-13 23:22:38 that whole idea of subverting the GPL is pretty skeezy 2018-06-13 23:22:41 https://www.whonix.org/blog/beyond-grsecurity-future-linux-security-brighter-ever 2018-06-13 23:23:43 Was just reading that. Whonix blog encouraging people to leak the privately released patches. Hehe. 2018-06-13 23:26:16 I don't think it's a big deal that the leaker's subscription would be terminated. Someone else would have to release them next time. 2018-06-13 23:27:55 sounds similar to the situation with IDA Pro :) 2018-06-13 23:28:27 Heh, that reminds me of what rms did in the 80s with working for two (proprietary) LISP machine companies at once and ensuring that all of one's good ideas got copied into the other's code. :) 2018-06-13 23:30:02 If I had more money I would definitely do it. Although my tiny income might give me a cheaper subscription price. I wonder how I could prove to the grsec guys that I am poor. Still there are no more grsec distros now. I would have to start one I guess. 2018-06-13 23:31:33 I vote that it be called Pure Garbage Linux, as a tribute to Linus' characterization of grsec. :-) 2018-06-13 23:31:44 Haha. Yeah I like that. 2018-06-14 00:12:10 The more I read about musl the more I like it. It is also a c++ library? 2018-06-14 00:13:12 nope 2018-06-14 00:14:11 Anything musl like for c++ then? 2018-06-14 00:15:26 http://libcxx.llvm.org/ perhaps? it's a bit smaller than GNU libstdc++ 2018-06-14 00:16:33 and permissively licensed 2018-06-14 00:17:14 Interesting 2018-06-14 00:18:21 https://cxx.uclibc.org/ (mentioned for completeness) 2018-06-14 00:19:05 That does seem more like what I was thinking of. An embedded C++ library. Cool. But still alpha. 2018-06-14 00:20:54 Seems that Alpine doesn't have it as a standard package 2018-06-14 00:22:38 Another tarball to download. 2018-06-14 03:45:07 is there i3status package for i3wm? 2018-06-14 03:46:16 i3wm and i3lock, but not i3status :s 2018-06-14 03:47:45 yes there is but it's probably still in edge 2018-06-14 04:23:52 Hi guys 2018-06-14 04:23:58 anyone does perl on Alpine ? what package you need to install in order to have use warning; ? 2018-06-14 04:28:16 okay it should be use warnings; instead of use warning; 2018-06-14 04:28:21 PEBKAC 2018-06-14 04:34:13 I have a 3.7 .apk files from main and community directories fetched 2018-06-14 04:34:53 I run a plain alpine:3.7 docker container and on 192.168.50.1 I run myself a mirror for these packages 2018-06-14 04:35:36 It all works OK until I try to install ruby-bundler. I do have its .apk file, and I can initiate the installation, but in the middle I get: 2018-06-14 04:39:50 ERROR: ruby-bundler-1.16.1-r0: package mentioned in index not found (try: 'apk update') 2018-06-14 04:44:26 Just another thing worth adding: I'm passing --allow-untrusted around, as it's coming from my mirror. 2018-06-14 04:57:19 That's how I index the .apk repos: https://gist.githubusercontent.com/wkoszek/ce45c4b443d93e9760de1a68e8213bb9/raw/6cd5ecb02bf1fb239283eb42b24f67f6faaa3fa0/apk_reindex 2018-06-14 05:37:35 Hm. The URLs I mirror are: http://dl-cdn.alpinelinux.org/alpine/v3.7/main/x86_64/ and http://dl-cdn.alpinelinux.org/alpine/v3.7/community/x86_64/ 2018-06-14 05:42:42 https://gist.github.com/wkoszek/7beb42c25f7bd41fc08ba03a58b29c84 <- I guess this indexing issue might be causing the problem 2018-06-14 06:08:13 wkoszek: unless you rebuilding .apk packages yourself (with your build keys), you would need --allow-untrusted. If you just mirroring to your local repo, I think that'd be fine. 2018-06-14 06:09:34 tmh1999: I'm passing that flag and it works OK. 2018-06-14 06:09:40 I've never tried running apk index 2018-06-14 06:09:52 okay everything works now ? 2018-06-14 06:10:16 but there are some packages missing from an index. I'm looking at this now, and it appears like some x86_64 packages are depending on x86 package? 2018-06-14 06:10:40 I don't understan why you need to apk index. you're just mirroring. just change your /etc/apk/repositories to your local repo and that's it. apk update and apk install 2018-06-14 06:10:57 no, x86 and x86_64 are separate 2018-06-14 06:11:03 make sure you rsync correct 2018-06-14 06:11:07 use rsync --delete 2018-06-14 06:11:59 All right. Let me try without reindexing. Originally I just mirrored .apk files 2018-06-14 06:13:46 okay. if you run apk index yourself, you will create a new APKINDEX.tar.gz from the list of your donwloaded .apk files. Obviously you'd need --alow-untrusted because you modify original APKINDEX.tar.gz. This is not necessary as you can just simply mirror :D 2018-06-14 06:14:06 just read again what apk index does 2018-06-14 06:14:29 now I realize why I used to mirror rather than index myself 2018-06-14 06:14:49 Somehow I believed the apkindex from the mirror will have dependencies on some other directories which I don't want to mirrior. 2018-06-14 06:14:59 So wanted to "recalculate" the index. 2018-06-14 06:15:57 main/APKINDEX.tar.gz will only list packages of main repo, same to community/ 2018-06-14 06:16:21 apk index yourself makes sense in case you don't want to mirror the whole repo 2018-06-14 06:17:57 that's my situation. but I guess you mean picking up .apk's selectively 2018-06-14 06:19:04 yeah. but I'd save my time rather than saving some local disk space :D 2018-06-14 06:19:56 Yeah, definitely. 2018-06-14 06:20:37 This is a little odd though. The index rebuilding - that looks like a straighforward operation. 2018-06-14 06:20:55 But I still got issue with e.g. 'py3httplib2', which I apparently don't have in the index. 2018-06-14 06:21:14 If you search 'py3httplib2' most hits you get from Google are in alpine's edge/x86 repo. 2018-06-14 06:22:01 On the 'live' docker session what you mentioned (using normal mirrored APKINDEX) worked ok. 2018-06-14 06:22:16 Let me see if I can build an image that way too and the ruby-bundler to install fine. 2018-06-14 06:23:46 wkoszek: https://pkgs.alpinelinux.org/packages?name=*py*httplib*&branch=v3.7&arch=x86_64 2018-06-14 06:25:16 tmh1999: All right. Mea culpa. 2018-06-14 06:25:56 All right. That worked. So essentially no rebuilding is necessary. 2018-06-14 06:26:16 Yeah :) 2018-06-14 06:33:39 sometimes pkgs.alpinelinux.org is not up to date, just checkout git source repo to see if that package is built for that arch or not 2018-06-14 06:33:40 https://git.alpinelinux.org/cgit/aports/tree/main/py-httplib2/APKBUILD 2018-06-14 06:33:59 noarch is kind of all arch. 2018-06-14 06:35:21 noarch(specificbinaries) 2018-06-14 06:38:37 yeah. "architecture independent" https://wiki.alpinelinux.org/wiki/APKBUILD_Reference 2018-06-14 06:38:57 I never tried to read abuild source to understand that magic though :D 2018-06-14 06:39:57 It's still weird it didn't work then. 2018-06-14 06:40:17 I have the file: 2018-06-14 06:40:17 $ find /Volumes/u128gb/alpine/ | grep py-httplib2 2018-06-14 06:40:18 /Volumes/u128gb/alpine//dl-cdn.alpinelinux.org/alpine/v3.7/main/x86_64/py-httplib2-0.10.3-r0.apk 2018-06-14 06:40:30 Oh well. 2018-06-14 06:41:20 find /Volumes/u128gb/alpine -name "py*httplib*" ? 2018-06-14 06:43:02 /Volumes/u128gb/alpine/dl-cdn.alpinelinux.org/alpine/v3.7/main/x86_64/py-httplib2-0.10.3-r0.apk 2018-06-14 06:43:05 /Volumes/u128gb/alpine/dl-cdn.alpinelinux.org/alpine/v3.7/main/x86_64/py3-httplib2-0.10.3-r0.apk 2018-06-14 06:43:08 /Volumes/u128gb/alpine/dl-cdn.alpinelinux.org/alpine/v3.7/main/x86_64/py2-httplib2-0.10.3-r0.apk 2018-06-14 06:48:04 it should work. 2018-06-14 06:49:08 I rerun the mirroring command and it worked OK and there were no complaints. 2018-06-14 06:56:56 anybody has an rpi1,2,3? 2018-06-14 06:57:18 please test current v3.8.0_rc3 2018-06-14 06:57:59 clandmeter: there's a couple of guys on the devel list and github were testing rpi 2018-06-14 06:58:29 ok? 2018-06-14 06:58:57 I mean you can ping them. 2018-06-14 06:59:36 Ok 2018-06-14 07:01:20 http://lists.alpinelinux.org/alpine-devel/6194.html 2018-06-14 07:51:53 i have an rpi2 2018-06-14 07:51:58 I can test tonight maybe 2018-06-14 07:52:05 surely tomorrow 2018-06-14 07:55:12 I have rpi 1b, i could test tomorrow in the evening 2018-06-14 08:03:30 thx 2018-06-14 08:06:12 ACTION will have to overwrite his OpenWrt installation with Alpine to test it ;p 2018-06-14 08:28:13 does anyone develop android apps on Alpine 2018-06-14 08:31:45 that'd take two fetishes instead of the usual one 2018-06-14 08:32:39 heh, I know, but I have to do that 2018-06-14 08:35:02 I can run Debian under lxc or qemu for such works, but doesn't hurt to ask if someone have do that 'native' with Alpine 2018-06-14 08:36:21 hello world! 2018-06-14 08:41:59 Hi. I have a weird problem. I use Alpine Linux on my dedicated server, and created an Alpine Linux container. If I start the container in foreground mode, everything is fine. If I start the container deamonized, it does not start the init process: https://pastebin.com/UYhFya6f 2018-06-14 08:42:01 Any ideas? 2018-06-14 08:44:34 I have a Q regardgin LBU usage .... I have in usb1 port flash installation media and lbu used to save there. Afterwards when I added second usb and rebooted and used lbu again I saw that it saves file to the second usb2 instead of usb1. My question is how to define that lbu uses only flash installation media which is in usb1. Thx in advance! 2018-06-14 08:52:32 Update: Apparently the container starts correct, but lxc-attach only chroots into the container and starts a shell, so I don't see the other processes started by init. Still, weird. 2018-06-14 08:52:54 misterunknown, use lxc-console or use ssh 2018-06-14 09:04:48 clandmeter: Well, I plan to use ssh anyway, but I wonder why lxc-attach obviously works different in other distros. On my old server (running Debian Stretch), lxc-attach behaves like a ssh session where I can see all running processes within the container. 2018-06-14 09:05:10 misterunknown, yes i think its a bug. 2018-06-14 09:06:28 i just read the man page and it looks like it is. 2018-06-14 09:07:05 i never tried it on another distro so i though it was a feature. 2018-06-14 09:08:00 clandmeter: Ok. So I guess I should open a bug report for the Alpine package? 2018-06-14 09:08:14 yes please 2018-06-14 09:08:34 mention it behaves differently on other distros 2018-06-14 09:08:48 thx! 2018-06-14 09:08:55 Ok. Thanks for your help! 2018-06-14 09:22:57 Hi all, is there any documentation that explains Alpines packaging process, who it chooses which major versions to support etc? The root of my question is why say Alpine 3.7 has Postgres 10, but not any of the 9.X versions which are still supported. 2018-06-14 09:25:08 there is no documentation. 2018-06-14 09:26:45 We dont support having multiple versions of a specific application (except in some rare cases). 2018-06-14 09:27:26 Oh! Why not? 2018-06-14 09:28:02 because it would be a mess and more work to maintain. 2018-06-14 09:32:25 Thats a shame. 2018-06-14 09:34:02 Elsmorian: If you need a specific version of a software, you can easily package it yourself. The Alpine package format is really nice and lightweight, and one of the reasons why I switched to Alpine Linux. 2018-06-14 09:34:04 Elsmorian: you can try to package it yourself 2018-06-14 09:34:07 you still can 1/ do it yourself 2/ pay someone to do it for you i guess 2018-06-14 09:34:11 (what misterunknown said) 2018-06-14 09:35:47 Just means it will bite people using Alpine in containers - you then can't keep you container up to date with security fixes and keep using a supported but not bleeding edge of software anymore. 2018-06-14 09:37:06 Yeah, thats a fair point, and I haven't tried it so I don't know how easy it is. But it takes time and will probably take more time than just using a debian slim image so people will probably just use that. 2018-06-14 09:37:37 so what you're saying is that because alpine doesn't have postgres 9 it sucks? 2018-06-14 09:38:10 no he prefers using debian and thats fine. 2018-06-14 09:38:27 we are not here to sell alpine. 2018-06-14 09:40:49 Heh, no! I'm saying its a unconventional stance to take, and in my particular case its a shame 2018-06-14 09:41:13 we understand its hard to build packages yourself, and its the same for us. not hard but takes time we dont always have with our limited resources. 2018-06-14 09:42:26 let me emphasize the 2nd option again: "pay someone to do it for you" 2018-06-14 09:43:55 Yeah, entirely fair. It might be worth explicitly stating that packaging policy somewhere, would imagine some people (especially coming from the container world) might not expect it. 2018-06-14 09:44:41 be our guest, we have a wiki for that :) 2018-06-14 09:51:30 Elsmorian: Well, I think you should really take a look at the Alpine packages. Postgres 10 is packaged, so you can orientate you on this package, to prevent possible pitfalls. 2018-06-14 09:52:49 I noticed that Alpine has the directFB package as well as the netsurf browser. Is there any built in frame buffer support for w3m or links? I was reading something about vesafb or uvesafb. 2018-06-14 09:57:54 I found this: https://wiki.alpinelinux.org/wiki/Uvesafb 2018-06-14 09:59:41 I guess the daemon is called v86d 2018-06-14 10:20:53 slowbrownfox: afaicr it's not a daemon it's a kernel module 2018-06-14 10:21:16 Ah ok. 2018-06-14 10:21:42 and i doubt that w3m/links have framebuffer support, it has to built with that support again. 2018-06-14 10:22:56 Well I think w3m when used with w3m-img can display images with the frame buffer. I think links might use svgalib. 2018-06-14 10:23:44 Alpine doesn't have a package called w3m-img though. So maybe I have to compile it from source. 2018-06-14 10:24:07 slowbrownfox: using abuild to build it is a good idea ;) 2018-06-14 10:24:17 (or well, creating a package for it) 2018-06-14 10:25:55 Hmm. If I use abuild I don't have to mess with git? 2018-06-14 10:26:27 slowbrownfox: how do you mean? git is used to keep track of aports 2018-06-14 10:26:50 but you can create an APKBUILD file in a non-git directory 2018-06-14 10:26:50 <_ikke_> abuild has some git integration, but it's not required 2018-06-14 10:26:54 Well I just read a page on building Alpine packages and there was a whole section on git. 2018-06-14 10:27:16 I just don't know how to use git, but of course I should learn. 2018-06-14 10:27:35 git is a pretty integral part of alpine package development, yes 2018-06-14 10:27:37 <_ikke_> just ignore it for now 2018-06-14 10:27:48 but you don't have to know it to create a package 2018-06-14 10:28:08 if you want to get it upstream, then yup, you probably have to know it a bit 2018-06-14 10:30:34 Seems like nearly every project is using git these days. 2018-06-14 10:31:08 I have never used any 'version control system' though. 2018-06-14 10:31:09 <_ikke_> It's popular indeed 2018-06-14 10:31:17 <_ikke_> good investment to learn one 2018-06-14 10:31:43 Yep. I will look for some kind of ultra-beginners guide. 2018-06-14 10:31:47 <_ikke_> https://git-scm.com/book/en/v2 2018-06-14 10:32:13 The first thing I was trying to figure out is what the point of any version control system is. Hehe. I have never worked with a team. 2018-06-14 10:32:50 <_ikke_> Even if you work alone, it can still be beneficial 2018-06-14 10:33:06 <_ikke_> http://tom.preston-werner.com/2009/05/19/the-git-parable.html 2018-06-14 10:33:16 <_ikke_> A story about how and why of version control 2018-06-14 10:33:47 Wow. Cool. 2018-06-14 10:34:31 slowbrownfox: if you work with 'things' in constant change then VCS is really helpful 2018-06-14 10:34:41 I really prefer the concept-first teaching method. 2018-06-14 10:34:55 <_ikke_> The parable does that 2018-06-14 10:35:02 Yeah I see that. 2018-06-14 10:35:28 and colaborating with others, VCS is must 2018-06-14 10:35:34 Version control is a very important tool in software development, helps you keep track of what you did, and lets you revert mistakes/see when you introduced them 2018-06-14 10:35:44 even when you're alone 2018-06-14 10:36:19 Better than just renaming files myprog2.3 etc huh? Hehe. 2018-06-14 10:36:36 azarus: even in writing texts, /etc/configs and most other changes 2018-06-14 10:36:37 <_ikke_> absolutely 2018-06-14 10:37:06 Yeah my renaming 'version control' method is a bit caveman. 2018-06-14 10:37:52 <_ikke_> a version control is basicaly a more structured way of doing that 2018-06-14 10:37:56 <_ikke_> +system 2018-06-14 10:38:01 much more structured 2018-06-14 10:39:36 personally, in informal speech I call VCS a 'holy grail' of the software 2018-06-14 11:07:12 hi - fresh install, ssh disconnects after a minute or two (over lan). Any ideas? 2018-06-14 11:07:33 <_ikke_> MTU issue? 2018-06-14 11:07:36 <_ikke_> firewall in between? 2018-06-14 11:08:03 <_ikke_> does it disconnect after being idle or just flat out after two minutes? 2018-06-14 11:08:07 no firewall, local lan 2018-06-14 11:08:59 I'm trying to install stuff. I issue a command and in 30-60seconds ssh is unresponsive. Disconnects a minute or so later 2018-06-14 11:09:08 how can I check mtu? 2018-06-14 11:10:10 <_ikke_> normally ping with a large payload and DF bit set 2018-06-14 11:10:13 hmm, I see this in the logs: `auth.info sshd[3372]: Timeout, client not responding.` 2018-06-14 11:10:13 there are keepalive mechanisms in ssh for that 2018-06-14 11:10:27 <_ikke_> right, but they should not be necessary in normal cirumstances 2018-06-14 11:10:30 which is weird - not even 30 seconds! 2018-06-14 11:10:44 <_ikke_> and seemingly, this is not due to being idle 2018-06-14 11:11:44 hmm - ok, so I hit enter at the cli every five seconds. Didnt help 2018-06-14 11:11:54 (i.e. disconnected after 30 seconds) 2018-06-14 11:13:04 <_ikke_> right, so it's not an issue for being idle 2018-06-14 11:13:28 correct 2018-06-14 11:14:24 <_ikke_> checked syslog? 2018-06-14 11:15:07 saw this: `auth.info sshd[3372]: Timeout, client not responding.` 2018-06-14 11:16:13 <_ikke_> So something is interfering with the traffic somehow 2018-06-14 11:17:02 yeah, apperntly 2018-06-14 11:19:50 <_ikke_> tried a packet sniffer? 2018-06-14 11:20:54 isnt it encrypted? Also, wouldnt have any idea what im looking for 2018-06-14 11:21:25 Feel in love with alpine for docker, first time im trying to for a server 2018-06-14 11:21:31 cant work without ssh though 2018-06-14 11:23:17 <_ikke_> mbrevda: it's encrypted, but you at least see if packets are coming through or not 2018-06-14 11:24:05 well - im issuing commands for the first x seconds, so obviously thats working (also, I can log in) 2018-06-14 11:24:14 <_ikke_> sure 2018-06-14 11:24:19 <_ikke_> but you can see how it progresses 2018-06-14 11:25:27 looking (although not sure for what) 2018-06-14 11:26:04 <_ikke_> mbrevda: on the server, start a sniffer 2018-06-14 11:26:15 oh, I did that locally 2018-06-14 11:26:30 <_ikke_> then ssh into the server, look for packets. Then when the connection drops, see if you still receive packets 2018-06-14 11:26:51 I see a tcp retransmission on the client side 2018-06-14 11:27:03 <_ikke_> continuously? 2018-06-14 11:27:28 no - just after 20-30 seconds 2018-06-14 11:27:48 <_ikke_> right, but after those 20-30 seconds, do you see them continuously? 2018-06-14 11:27:59 yes 2018-06-14 11:28:16 <_ikke_> ok, so the packets somehow don't arrive at the server anymore 2018-06-14 11:28:36 right 2018-06-14 11:28:53 <_ikke_> perhaps check netstat / ss for the specific connection 2018-06-14 11:30:05 what am I looking for? 2018-06-14 11:32:25 <_ikke_> ss | grep ssh 2018-06-14 11:33:27 `tcp4 0 260 x.x.x.x.54936 y.y.y.y.ssh FIN_WAIT_1` 2018-06-14 11:34:23 <_ikke_> Ok, but do that when you are just logged in, and then when the connection stops responding 2018-06-14 11:34:53 <_ikke_> perhaps a couple of times 2018-06-14 11:35:09 `tcp4 0 0 x.x.x.x.54961 y.y.y.y.ssh ESTABLISHED 2018-06-14 11:35:10 tcp4 0 312 x.x.x.x.54936 y.y.y.y.ssh FIN_WAIT_1` 2018-06-14 11:35:41 dropped, netstat is same 2018-06-14 11:36:16 <_ikke_> so it goes from ESTABLISHED to FIN_WAIT_1, already before the connection drops? 2018-06-14 11:36:36 could the FIN be from the previous connection? 2018-06-14 11:38:36 <_ikke_> just match the remote port 2018-06-14 11:40:24 meaning? 2018-06-14 11:41:09 <_ikke_> The remote port (54936, 54961) identifies the 'session' mostly 2018-06-14 11:42:43 <_ikke_> so one session is FIN_WAIT_1 (basically holding the port so that it cannot be reused for a while) 2018-06-14 11:44:18 So im trying to see what the state is when ssh times out? 2018-06-14 11:45:18 ssh is frozen, status is ESTABLISHED 2018-06-14 12:01:24 do you think switching to dropbear would help? 2018-06-14 12:21:59 looks like a hardware issue 2018-06-14 12:36:20 <_ikke_> right, I don't think this is an ssh issue, so switching would not help anything 2018-06-14 12:57:39 now I have managed to add bash as root ... but still I get an error while trying to run my file | -bash: ./filename: No such file or directory 2018-06-14 12:58:03 <_ikke_> thug_b3e: how are you executing it? 2018-06-14 12:58:04 the case it that it runs on other distro w/o any issues :( 2018-06-14 12:58:15 just typing ./ 2018-06-14 12:58:28 <_ikke_> what is the first line of that file? 2018-06-14 13:00:16 thats the case that I cant see it as it outputs me an endless unicode rows 2018-06-14 15:32:09 quit 2018-06-14 20:44:08 forgive the stupid question, but is root needed for installing alpine in a chroot? 2018-06-14 20:44:27 I haven't done an OS-in-a-chroot in many years 2018-06-14 20:48:21 <_ikke_> what do you mean? 2018-06-14 20:50:31 he means something like fakeroot probably... 2018-06-14 20:50:49 shodan45: i recommend not fucking around with it and just using root 2018-06-14 20:51:10 hiro: yeah, already decided the same 2018-06-14 20:51:28 I'm curious now. 2018-06-14 20:51:32 intel CPU's process isolation guarantees were a lie anyway ;) 2018-06-14 20:51:42 hiro: lol 2018-06-14 20:51:47 so why not have everything as root... 2018-06-14 20:51:58 if you need more separation use more computers 2018-06-14 20:55:38 in linux, chroot can only be called by root in the first place. You can of course fire up a non-root user inside the shell in the chroot. 'sudo chroot --userspec 1000:1000 alpineroot /bin/sh' seems to get me a shell as user 1000 2018-06-14 20:57:18 programmerq: there is fakeroot 2018-06-14 20:57:53 but perhaps it doesn't do proper chroot... 2018-06-14 20:58:04 never looked into it tbh, seemed retarded :P 2018-06-14 20:58:09 ah, I forgot about fakeroot. I haven't used it directly ever. 2018-06-14 20:58:19 good choice :P 2018-06-14 23:07:34 if I'd like to create an Alpine package, which depends on two other libraries that aren't available in the repo, should I create three packages or bundle them together? 2018-06-14 23:11:00 create multiple packages in a single pr (if you use github) 2018-06-14 23:14:04 clandmeter: great, thank you 2018-06-14 23:16:31 clandmeter: how about -dev libs and headers? 2018-06-15 01:12:55 i tried building the GPM cli general purpose mouse package but got errors. "syntax error near unexpected token __u32, linux/types. h" and "ITZ_CHECK_TYPE(__u32, linux/types. h) " 2018-06-15 01:14:37 anyone manage to get the mouse working in a console on Alpine? 2018-06-15 01:16:36 i installed autoconf and libtool but for all i know GPM has even more dependencies. 2018-06-15 08:31:11 tmux select-pane -R 2018-06-15 08:31:33 sorry 2018-06-15 08:59:46 if slowbrownfox comes back 2018-06-15 08:59:55 someone tell them they probably need linux-headers 2018-06-15 09:59:55 I am trying to get the frame buffer to work and followed the instructions at https://wiki.alpinelinux.org/wiki/uvesafb but the 6th step does not work for me. There is no update-extlinux.conf in /etc. 2018-06-15 10:01:47 My attempt at an x-less Alpine has so far been a huge failure. 2018-06-15 10:04:17 slowbrownfox: did you get gpm working? 2018-06-15 10:04:30 that looked like it just needed linux-headers 2018-06-15 10:04:34 No. I tried to compile it but got errors. 2018-06-15 10:04:50 linux headers? 2018-06-15 10:05:10 yes, the kernel headers package 2018-06-15 10:05:20 I tried to see what void linux did with it, but it is a bit over my head. I couldn't find any source files. 2018-06-15 10:05:46 Is that a package I can apk add? 2018-06-15 10:08:14 yes. 2018-06-15 10:08:32 https://pkgs.alpinelinux.org/packages?name=linux-headers&branch=edge 2018-06-15 10:09:01 ok. I just did apk add linux-headers 2018-06-15 10:11:29 I am not entirely new to linux but I am new to compiling on linux. I decompressed gpm-1.20.7 to /root. Probably not a great place for it. 2018-06-15 10:12:08 I will try to build it again. 2018-06-15 10:13:17 btw I just started using dvtm for console windowing and it is soo cool. Easier to use for me than tmux or screen. 2018-06-15 10:13:26 anyone feel like making a package for alpinelinux? I was quite surprised to not see https://packages.debian.org/stretch/ndisc6 in a distribution often used on routers 2018-06-15 10:32:47 Well adding linux-headers did something. I am getting a different errors now. 2018-06-15 10:33:22 The output is: 2018-06-15 10:34:16 make -C src dep 2018-06-15 10:34:41 mamke[1]: entering directory /root/gpm-1.20.7/src 2018-06-15 10:35:26 yacc /root/gpm-1.20.7/src/prog/gpm-root.y && mv y.tab.c prog/gpm-root.c 2018-06-15 10:35:40 /bin/sh: yacc: not found 2018-06-15 10:36:10 <_ikke_> slowbrownfox: did you install alpine-sdk / build-base? 2018-06-15 10:36:25 I installed build-base but not alpine-sdk 2018-06-15 10:37:33 I just installed alpine-sdk and rebuilt but it looks like mostly the same errors. 2018-06-15 10:37:37 <_ikke_> I think you need to add bison to makedeps 2018-06-15 10:37:58 <_ikke_> yea, alpine-sdk depends on build-base, which should contain the most used build tools, but bison is not in there 2018-06-15 10:38:02 <_ikke_> so you need to add it yourself 2018-06-15 10:38:10 <_ikke_> though 2018-06-15 10:38:17 <_ikke_> alpine-sdk depends on bison it says 2018-06-15 10:38:33 <_ikke_> So I would expect it to install bison 2018-06-15 10:38:42 Ok. I just added bison. 2018-06-15 10:38:49 Yeah I guess it wasn't installed. 2018-06-15 10:39:09 <_ikke_> so after installing alpine-sdk you didn't see bison being installed? 2018-06-15 10:39:24 _ikke_: it seems to me that slowbrownfox is building this manually without apk-tools 2018-06-15 10:39:44 they mentioned something about extracting a tarball to /root 2018-06-15 10:39:45 Nope. Well I wasn't really looking to see that but bison installed with apk add bison. 2018-06-15 10:40:05 <_ikke_> what alpine release are you using? 2018-06-15 10:40:38 3.7 2018-06-15 10:40:57 I am just following the instructions for compiling from the GPM site. 2018-06-15 10:41:25 That is ./autogen.sh && ./configure && make 2018-06-15 10:41:37 you would likely be better served by building an alpine package out of this 2018-06-15 10:41:45 instad of manually installing it from source 2018-06-15 10:41:47 But isn't it easier this way? 2018-06-15 10:41:51 <_ikke_> slowbrownfox: sorry, I was looking at the wrong package 2018-06-15 10:41:57 <_ikke_> so yeah, bison should be installed manually 2018-06-15 10:42:27 <_ikke_> slowbrownfox: building a package is only slightly more difficult than manually building / installing 2018-06-15 10:42:32 slowbrownfox: not in the long run. the way you're building it right now, it may break when the system upgrades. 2018-06-15 10:42:39 and yeah, what _ikke_ said 2018-06-15 10:43:09 Wow. All sorts of weird stuff are happening now when I compile with bison installed. 2018-06-15 10:43:20 slowbrownfox: also, are you only interested in doing what's easier, or are you interested in learning? 2018-06-15 10:43:35 Well both. 2018-06-15 10:43:46 But usually I try the easy way first. 2018-06-15 10:43:52 fair enough 2018-06-15 10:44:05 once you get it building, I suggest you learn how to build alpine packages 2018-06-15 10:44:08 <_ikke_> getting it to build is the first step anyway 2018-06-15 10:44:21 <_ikke_> but I usually do that while making the package 2018-06-15 10:44:35 <_ikke_> starting with specifying the source and adding the build steps 2018-06-15 10:44:41 yeah same, I incrmentally work on the APKBUILD 2018-06-15 10:45:02 Yeah. The only way this is going to work is with a lot of help because this is all quite over my head. So I will definitely try to post a GPM package. The least I could do. 2018-06-15 10:45:40 there's some helpful documentation here 2018-06-15 10:45:42 https://wiki.alpinelinux.org/wiki/Creating_an_Alpine_package 2018-06-15 10:45:56 <_ikke_> Yeah, I provided that link earlier 2018-06-15 10:46:08 <_ikke_> if you do newapkbuild you already get a template 2018-06-15 10:46:12 getting the initial environment set up is the "hardest" part 2018-06-15 10:47:33 I am getting so many errors now I don't even know what to do with the info. Pastebin I guess but I don't think I can do that from here. 2018-06-15 10:48:10 <_ikke_> pipe it to curl tpaste.us -F tpaste=<\- 2018-06-15 10:48:13 <_ikke_> pipe it to curl tpaste.us -F tpaste=\<- 2018-06-15 10:49:28 If I had GPM installed I could copy and paste. Hehe. 2018-06-15 10:50:05 I am running dvtm but I don't know if it has a clipboard. 2018-06-15 10:50:32 I will try to pipe the output. 2018-06-15 10:50:37 <_ikke_> you can also apk add tpaste and then to 'make | tpaste' 2018-06-15 10:51:15 i need to sleep, good night 2018-06-15 10:51:18 good luck slowbrownfox 2018-06-15 10:51:20 <_ikke_> mepholic: nite 2018-06-15 10:51:29 Thanks so much for your help! 2018-06-15 10:51:34 don't give up on the problem, search engines are your friend 2018-06-15 10:52:31 mepholic: good night! might the tcsh be with you :) 2018-06-15 10:59:37 Just checking to see if dvtm has a clipboard but apparently it relies on GPM to do that. 2018-06-15 11:00:10 I installed tpaste, but... 2018-06-15 11:03:04 So I would pipe (with |) the output of the ./autogen.sh && ./configure && make to tpaste? 2018-06-15 11:15:42 Got tpaste to work. Well sort of. It's pretty cool but it didn't capture the whole output. It did not get teh fatal compilation errors. 2018-06-15 11:16:24 http://tpaste.us/xeND 2018-06-15 11:16:58 it didn't capture this: 2018-06-15 11:17:44 prog/display-coords.c:40:57: fatal eror: gpm.h: No such file or directory #include 2018-06-15 11:18:14 It looks like it can't find a gpm.h header file. 2018-06-15 11:19:40 slowbrownfox: right, that means that the autogen.sh or configure doesn't work 2018-06-15 11:20:32 Is there a way to bypass the autogen.sh script? 2018-06-15 11:21:15 with a manually creating Makefile, yes but a lot of work 2018-06-15 11:21:24 Ah 2018-06-15 11:23:57 So this is the Gentoo Way? Hehe 2018-06-15 11:24:27 Fist time I've ever tried to compile anything in Linux. 2018-06-15 11:25:48 Alpine is a minimalist distro. I can't have been the first person to try to add console mouse support. 2018-06-15 11:29:51 Thought I should mention that dvtm does seem to have a scrollback buffer. ^g + pgup. It works. 2018-06-15 11:33:04 slowbrownfox: gpm is 'outdated' package and needs some patches to be built in 'modern' linux distro 2018-06-15 11:33:36 and that is with standard aka glibc based distro 2018-06-15 11:33:55 As in someone needs to write those patches for each distro? 2018-06-15 11:34:01 with musl it will probably need more work, tweaks and patches 2018-06-15 11:34:17 Void Linux has it. 2018-06-15 11:34:32 what is void linux 2018-06-15 11:34:43 a musl distro 2018-06-15 11:34:50 url? 2018-06-15 11:35:09 want to look to see 2018-06-15 11:35:54 www.voidlinux.eu 2018-06-15 11:36:10 tnx 2018-06-15 11:39:29 https://github.com/voidlinux/void-packages/tree/master/srcpkgs/gpm/patches 2018-06-15 11:39:39 I was just going to post that link. 2018-06-15 11:40:17 Looks like 6 patch files 2018-06-15 11:40:28 https://github.com/voidlinux/void-packages/blob/master/srcpkgs/gpm/template 2018-06-15 11:40:33 Well 5 2018-06-15 11:40:54 Interesting that there is a gpm_h patch 2018-06-15 11:41:06 this template looks like it could be useful to create APKBUILD from it 2018-06-15 11:42:03 about void linux, they could have better repo for their packages than github 2018-06-15 11:43:02 The content under files doesn't look that important. 2018-06-15 11:43:36 gpm.sh looks like something about disablying paste in tty 2018-06-15 11:44:18 patches should be applied to build gpm 2018-06-15 11:44:43 shouldn't be that difficult a task really 2018-06-15 11:46:30 The template refers to ncurses. So I tried installing that but still got the same errors on compile. 2018-06-15 11:47:17 Not difficult if you know what you are doing. I have no idea. I am just groping in the dark. 2018-06-15 11:48:10 The template file looks juicy though. 2018-06-15 11:49:01 slowbrownfox: just applied all patches and built gpm 2018-06-15 11:49:08 so it would work 2018-06-15 11:49:27 Wait what? You installed GPM on alpine? 2018-06-15 11:49:28 apply patches then ./autogen.sh 2018-06-15 11:49:57 then ./configure --prefix=/usr and finally make 2018-06-15 11:50:18 How do I apply patches? 2018-06-15 11:50:27 and it builds with some warnings 2018-06-15 11:51:06 download and patch -p0 < file-name.patch in the gpm build dir 2018-06-15 11:51:30 and if you intend to write an APKBUILD for it, I think default_prepare does that 2018-06-15 11:53:25 So patch is a command huh? Could not find a man page on it. 2018-06-15 11:53:47 slowbrownfox: tried to start it and it works but didn't tuned it because I don't use console a lot 2018-06-15 11:54:17 Wow. That is cool. 2018-06-15 11:54:38 So you executed the patch command 5 times? 2018-06-15 11:54:52 when I found some time I will test it because I thought to make it to have handy sometimes 2018-06-15 11:56:29 I don't start X in boot but by hand when I reboot my machines, which is rare in few last years, thanks to sleep/hibernate subsystem 2018-06-15 11:57:16 That is how I did with Arch Linux. 2018-06-15 12:18:37 how to tell abuild to use -p0 instead of -p1 when apply patches 2018-06-15 12:27:20 <_ikke_> mps: there is a variable you can set in the APKBUILD 2018-06-15 12:28:15 <_ikke_> mps: patch_args 2018-06-15 12:28:27 <_ikke_> https://git.alpinelinux.org/cgit/abuild/tree/abuild.in#n631 2018-06-15 12:31:27 I am still trying to find a direct link to those patches so that I can download them with wget or curl. 2018-06-15 12:31:37 Ah the console... 2018-06-15 12:36:53 _ikke_: should I add prepare function in APKBUILD and put arg there or could I set patch_args env var with '-p0' as value 2018-06-15 12:37:18 <_ikke_> mps: I think you should add it as a global variable 2018-06-15 12:38:17 <_ikke_> mps: https://git.alpinelinux.org/cgit/aports/tree/main/iproute2/APKBUILD#n16 2018-06-15 12:38:59 ah, looks like env var works 2018-06-15 12:39:52 but your example from iproute2 looks better 2018-06-15 12:40:10 <_ikke_> an env var is not something you can commit :-) 2018-06-15 12:41:46 right :) 2018-06-15 12:42:25 I managed to make APLBUILD for gpm, but just for patching and build 2018-06-15 12:42:43 <_ikke_> package should not be hard then 2018-06-15 12:44:56 I am still wgetting the patches. 2018-06-15 12:46:12 _ikke_: for simple software, maybe. But gpm needs some splits and texinfo and what not 2018-06-15 12:47:28 anyway, added package function with just 'make -j1 DESTDIR="$pkgdir" install ' and it worked till arrived to texinfo install 2018-06-15 12:48:02 enough for today, I have to work at real job now 2018-06-15 12:48:52 Got them. How does patch know which source files to patch? 2018-06-15 12:48:53 I will continue to work at it tommorow if I find time 2018-06-15 12:49:04 <_ikke_> slowbrownfox: it's in the patch itself 2018-06-15 12:49:04 Thanks so much, mps. 2018-06-15 12:50:16 Ok. I will patch p0 the 5 patches. 2018-06-15 12:50:20 I can post to tpaste unfinished APKBUILD if you want to play with it 2018-06-15 12:50:37 Please. Would be helpful. 2018-06-15 12:51:14 here it is http://tpaste.us/YvRw 2018-06-15 12:51:34 Thanks. 2018-06-15 12:56:25 Hmm. I can't seem to open the tpaste link in my android browser. 2018-06-15 12:57:30 Ah ok. Nevermind. 2018-06-15 12:57:36 Works now. 2018-06-15 13:08:55 Should the patch command take a long time to finish? My cpu is not super-old or anything. It's a Haswell I7-4770k. 2018-06-15 13:11:26 <_ikke_> slowbrownfox: No, it probably is waiting for input on stdin 2018-06-15 13:11:41 <_ikke_> patch -p1 < file.patch 2018-06-15 13:13:34 I think I am not executing the command properly. Is it patch -p0 < filename.patch? There is a less than sign? 2018-06-15 13:13:40 <_ikke_> yes 2018-06-15 13:14:27 It says only garbage was found in the patch input. Hmm. 2018-06-15 13:15:03 slowbrownfox: did you downloaded right patch file 2018-06-15 13:15:15 I will check the .patch file with less. 2018-06-15 13:15:46 Well it should be the right file but I never really used wget before. 2018-06-15 13:16:24 <_ikke_> wget should work 2018-06-15 13:16:28 <_ikke_> or curl -O 2018-06-15 13:16:50 I don't know what I downloaded but it isn't a patch. Sigh. 2018-06-15 13:17:12 some kind of html document I think. 2018-06-15 13:17:51 I will see if I can download the actual patches. 2018-06-15 13:18:37 I hope I didn't screw things up by trying to patch with an html file 2018-06-15 13:19:10 looks like I managed to build gpm apks gpm, gpm-dev and gpm-doc 2018-06-15 13:19:37 <_ikke_> slowbrownfox: Look for a 'raw' link 2018-06-15 13:22:24 Thanks, mps. Are you going to upload it somewhere? Will apk add gpm do something? 2018-06-15 13:23:03 <_ikke_> slowbrownfox: they probably will just be sharing the APKBUILD 2018-06-15 13:23:38 So there is more work to do in order to make it available. 2018-06-15 13:23:47 I mean with the package manager. 2018-06-15 13:23:53 <_ikke_> yes 2018-06-15 13:23:57 Ok. 2018-06-15 13:24:02 <_ikke_> it has to be contributed for review 2018-06-15 13:24:05 no, it is not finished. there should be added init script at least 2018-06-15 13:24:18 <_ikke_> once it's merged in, the builders will build it and upload it to a repo 2018-06-15 13:25:05 but, I installed gpm-1.20.7-r0.apk locally 2018-06-15 13:25:22 and it works by starting from cli 2018-06-15 13:26:32 Hi. I have a weird problem with my Alpine host system. Apparently it looses IPv6 connectivity after some time. I can fix that manually by disabling and reenabling ipv6 in the kernel and reset the address and default route. dmesg does not show any information. Any ideas how to debug this? 2018-06-15 13:27:52 mps, am I going to have to basically redo everything you did to get to that point? 2018-06-15 13:28:11 <_ikke_> slowbrownfox: no, if you have their APKBUILD, you can continue from there 2018-06-15 13:28:12 yes 2018-06-15 13:29:00 slowbrownfox: sory, you have to download patches which are in APKBUILD 2018-06-15 13:29:32 you should install bison and texinfo, also 2018-06-15 13:30:06 I didn't put texinfo in makedepends 2018-06-15 13:30:18 Already installed bison. Will install texinfo. I find it confusing that there are all of these dependencies that don't seem to be mentioned by the GPM project. 2018-06-15 13:30:51 In order to compile their source you need a lot of extra stuff. 2018-06-15 13:31:18 then you should run 'abuild checksum' to recreate checksums in APKBUILD 2018-06-15 13:31:22 And they did not feel it important enough to mention. 2018-06-15 13:31:50 well, that is open/free source ;) 2018-06-15 13:32:12 you have to learn, make error, learn again and so on 2018-06-15 13:32:36 Haha yeah, but still. If I put all that work into writing the code I'd want to make it easy to use. I guess the people usually compiling it for the big distros really know what they are doing though. 2018-06-15 13:33:54 slowbrownfox: don't feel bad about yourself. we all could learn that if we are ready to invest some time and energy 2018-06-15 13:34:19 well, most of us, to be clear ;) 2018-06-15 13:35:41 So the package manager will do something with the APKBUILD info? 2018-06-15 13:36:01 I guess I better read up on APKBUILD. 2018-06-15 13:37:41 yes, abuild fetch, abuild checksum, abuild prepare, abuild build and so on 2018-06-15 13:38:21 Ok. I will look for the documentation on that. 2018-06-15 13:44:29 slowbrownfox: new APKBUILD with makedepends filled is here http://tpaste.us/5Y8M 2018-06-15 13:47:54 mps, you are going to upload the apkbuild info somewhere though? 2018-06-15 13:48:13 Oh sorry. Didn't see that. 2018-06-15 13:48:22 Thanks so much! 2018-06-15 13:55:58 android firefox keeps turning my tpaste URL into a google search. Damn. I guess I should try to use tpaste from here. 2018-06-15 14:06:48 Well this is certainly a learning experience. I used wget -O apkbuild.txt http://tpaste.us/5Y8M and it worked beautifully. 2018-06-15 14:19:05 venturing out into meatspace for a while. Many thanks to mps and ikke. Looks like mousing in the console in Alpine is going to work. Not so sure about the frame buffer and Netsurf or w3m-img etc. 2018-06-15 14:40:42 Hey does anyone know any command to print out which files/directories are added when installing an alpine package 2018-06-15 14:41:41 <_ikke_> apk info -L 2018-06-15 14:42:05 tyvm 2018-06-15 14:43:01 @_ikke_: How would I make it print out after an installation? 2018-06-15 14:43:08 Or would I always have to chain it 2018-06-15 14:43:20 <_ikke_> There is nothing that automatically does that after the installation 2018-06-15 14:45:13 I see 2018-06-15 14:56:51 Hi. If I want to propose a systemwide change, like adding i2c group and making all i2c devices belong to that group? what is the procedure? 2018-06-15 14:57:20 Hi. If I want to propose a systemwide change, like adding i2c group and making all i2c devices belong to that group, what is the procedure? 2018-06-15 15:06:32 <_ikke_> laskin: perhaps an issue on bugs.alpinelinux.org? 2018-06-15 15:39:13 When I create APKBUILD, what should I write to makedepends? If program requires flex and bison should I write them to makedepends aor should I suppose that they are already present? 2018-06-15 15:39:26 What about autotools and automake? 2018-06-15 15:40:35 you should -always- add -any- package you need to build the package 2018-06-15 15:40:47 <_ikke_> except whats in build-base 2018-06-15 15:40:53 never assume it's already there unless it's in build-base or alpine-base 2018-06-15 15:41:11 same for runtime deps 2018-06-15 15:42:46 Ok, fine. 2018-06-15 16:50:23 has anyone ever written APKBUILD files that clone from a git and compute a pkgrel from that? 2018-06-15 16:50:49 i want to do that for CD purposes 2018-06-15 17:12:03 <_ikke_> CD? 2018-06-15 17:12:10 <_ikke_> continuous deployment? 2018-06-15 17:16:52 that's what your $build_number is for in your builder 2018-06-15 17:17:36 easiest that way; otherwise you'll be mapping commit id's to release numbers somehow 2018-06-15 17:41:25 <_ikke_> or git describe 2018-06-15 18:01:02 what does it mean "Found OpenRC directory (/etc/conf.d or /etc/init.d) but name doesn't end with -openrc" when building a package? 2018-06-15 18:01:34 Should I name every package that has init.d-script ending with -openrc? 2018-06-15 18:27:45 <_ikke_> laskin: you should probably create a subpackage for the openrc files 2018-06-15 19:18:25 I've made a pull request here https://github.com/alpinelinux/aports/pull/4523 Please review, if you have spare time. 2018-06-15 19:20:13 <_ikke_> I can review, but I cannot merge 2018-06-15 19:21:19 _ikke_, it is ok 2018-06-15 19:21:40 I need feedback to learn how to make good APKBUILDS 2018-06-15 19:21:48 <_ikke_> laskin: You are missing a dependency probably, linux/types.h cannot be found 2018-06-15 19:22:44 <_ikke_> linux-headers? 2018-06-15 19:22:55 <_ikke_> https://pkgs.alpinelinux.org/contents?file=types.h&path=*linux&name=&branch=edge&arch=x86_64 2018-06-15 19:26:57 >> cat /etc/apk/world | grep linux-headers >> echo $? 1 2018-06-15 19:27:26 I thought linux-headers is part of sdk ): 2018-06-15 19:27:52 <_ikke_> https://pkgs.alpinelinux.org/package/edge/main/x86_64/build-base 2018-06-15 19:28:21 <_ikke_> not sure why it's working for you 2018-06-15 19:28:57 <_ikke_> you can try apk info -W /usr/include/linux/types.h 2018-06-15 19:29:30 Apparently, I just have linux-headers installed as dependency for something else 2018-06-15 19:29:54 it _it_ installed, actually. Just not by me ): 2018-06-15 19:30:00 *is 2018-06-15 19:31:26 fixed, anyway 2018-06-15 19:33:08 Also, it seems like nobody uses this tool, as there are no package with it. So, I highly recommend to take a look. 2018-06-15 19:35:36 https://gist.github.com/alex-laskin/32396115558d6466064967e31a8fa48b 2018-06-15 19:37:14 Also, if I want to move my package from testing to community, issue on bug.alpinelinux.org again? 2018-06-15 19:39:28 <_ikke_> You can make a separate PR to do that 2018-06-15 19:56:57 _ikke_, oh. Indeed. Thank you. 2018-06-15 19:57:36 oh, laskin is your last name? 2018-06-15 19:58:04 funny how Alpine draws people with misleading nicknames and last names. laskin, in Finnish, means calculator 2018-06-15 19:58:25 <_ikke_> lol 2018-06-15 19:58:57 I'll save the rest of the people with such nicknames to protect the innocent 2018-06-15 20:06:11 TBB, its funny (8 2018-06-15 20:06:47 TBB, I'm from Russia thou, so Finnish nicknames sound strange for me too (; 2018-06-15 21:22:11 clandmeter: I think I discovered what was going on with my index building. 2018-06-15 21:22:24 For some reason 'wget' didn't mirror all of the files. 2018-06-15 21:22:46 So when I rsync'ed the directory, it fetched the missing pieces and afterwards index worked like a charm. 2018-06-15 22:11:38 travis build for my new package testing/autofs is failing with error 'The command "source .travis/common.sh alpine_run $USER .travis/build-pkgs" exited with 1." 2018-06-15 22:11:52 Please, help me understand this error. 2018-06-15 22:13:25 Are you sure that's the real error message? That sounds like it's just saying the command to run the build failed 2018-06-15 22:15:27 Indeed, the problem is a checksum mismatch 2018-06-15 22:15:40 "autofs.initd: FAILED" 2018-06-16 00:20:21 are package builds done with -hardened or -vanilla kernel? 2018-06-16 00:24:58 Thalheim: depends on the package 2018-06-16 00:25:31 Thalheim: or wait— do you mean kernel module packages where it really matters, or other packages? 2018-06-16 00:26:46 user-level package which bootstraps during build but fails to do so on hardened kernel 2018-06-16 00:27:26 ah 2018-06-16 00:31:25 jn__: is that acceptable? 2018-06-16 00:32:13 i'd consider this problem worth fixing 2018-06-16 00:33:13 to clarify, the package doesn't yet exist in Alpine repo; I was planning to submit it 2018-06-16 00:34:54 ah. new packages go through edge (or master, in git) anyway, and -hardened has been removed there 2018-06-16 00:35:02 at least AFAIUI 2018-06-16 00:36:37 jn__: thanks; is this documented anywhere? 2018-06-16 00:37:23 i don't know 2018-06-16 00:37:25 maybe in https://wiki.alpinelinux.org/wiki/Alpine_Linux:Contribute 2018-06-16 01:09:33 anyone ever use stlink or libusb related packages on alpine? been running into an issue with no relevant returns for the following: ```Error relocating /usr/lib/libstlink-shared.so.1: libusb_set_option: symbol not found``` 2018-06-16 01:10:26 stlink package exists in the edge/community branch/repo for anyone who wants to try installing it and running `st-info --version` to see if they run into the same issue 2018-06-16 01:10:59 on 3.7.0 fwiw 2018-06-16 04:59:00 pardis, thank you. But I've fixed checksums and still get the same error. Where that information about checksum error was from? I can't see it in build log. 2018-06-16 05:05:47 Oh. I missed that 'Raw log' button. 2018-06-16 05:19:32 What about parallel builds in APKBUILD? Is it acceptable to put 'make -j4' or 'make -j8' into APKBUILD, if it does not break build? 2018-06-16 05:19:54 <_ikke_> laskin: check /etc/abuild.conf 2018-06-16 05:20:59 _ikke_, thank you. I see now. 2018-06-16 12:13:55 so 2018-06-16 12:14:43 my initramfs needs to have drivers for my hard disk, right? 2018-06-16 12:15:05 i'm trying to use betterinitramfs to unlock my root 2018-06-16 12:25:40 SCSI drivers are usually built-in 2018-06-16 12:26:05 there's no /dev/sd* 2018-06-16 12:26:11 i've ssh'd into the initramfs 2018-06-16 12:26:14 should they be in there 2018-06-16 12:26:40 Is it some kind of exotic self-encrypting disk? 2018-06-16 12:26:47 no 2018-06-16 12:26:57 just plain uh 2018-06-16 12:27:04 how do i find out what kind of disk it is? 2018-06-16 12:27:09 Did you built the initramfs with support for LUKS and LVM? (I assume that's what you've done) 2018-06-16 12:27:18 i think its pretty old judging from how much i paidforit 2018-06-16 12:27:26 i didn't build it at all 2018-06-16 12:27:32 but i think it has luks 2018-06-16 12:27:41 i dont use lvm 2018-06-16 12:27:48 https://github.com/slashbeast/better-initramfs 2018-06-16 12:28:31 Mkinitfs https://wiki.alpinelinux.org/wiki/LVM_on_LUKS 2018-06-16 12:29:05 i just have a initramfs.cpio.gz 2018-06-16 12:29:10 point 2.6 2018-06-16 12:29:12 which i can't rebuild :S 2018-06-16 12:29:30 yeah i followed that the first time 2018-06-16 12:29:34 You can use mkinitfs instead. And it will unlock your disk. 2018-06-16 12:29:42 and it boots fine with the default initramfs 2018-06-16 12:29:56 OK, then go badger BetterInitramfs people for support 2018-06-16 12:30:17 Perhaps their initramfs is not built with support for LUKS 2018-06-16 12:30:25 maybe 2018-06-16 12:30:42 do you think there's a better way to unlock the root? 2018-06-16 12:30:55 It doesn't say it supports LUKS, looking at their README 2018-06-16 12:31:03 So I'd assume it doesn't. 2018-06-16 12:31:17 Perhaps it would be useful to make an issue on their github page? 2018-06-16 12:31:17 it says dmcrypt luks right in the beginning 2018-06-16 12:31:33 literally the first line of text on the github page 2018-06-16 12:31:52 So it does :P whoops 2018-06-16 12:31:57 but, that said, yeah, their problem :) 2018-06-16 12:32:50 so should my kernel have the drivers, or the initramfs? 2018-06-16 12:32:59 The initramfs is loaded by the kernel 2018-06-16 12:33:03 i see 2018-06-16 12:33:14 Maybe LUKS support is built as a module 2018-06-16 12:33:17 maybe https://github.com/mk-f/alpine-initramfs-dropbear is a better bet then 2018-06-16 12:33:19 my guess, based entirely on what little experience of mkinitfs I have, is they should be on the initramfs 2018-06-16 12:33:21 since you can rebuild it 2018-06-16 12:33:26 in that case, you'd need to install the module in the initramfs 2018-06-16 12:34:03 that's how the mkinitfs features work; and the kernel is probably compiled in a pretty modular fashion 2018-06-16 12:34:12 for that reason 2018-06-16 12:36:12 judging by the name only, yeah sy, that might be it if you need remote access to the early boot 2018-06-16 12:36:55 gonna give btrinitfs one more go 2018-06-16 12:37:20 Is there a reason you won't just use mkinitfs, given it worked? 2018-06-16 12:37:39 mkinitfs doesn't unlock the root remotely 2018-06-16 12:37:46 which is what i want 2018-06-16 12:37:56 to ssh into the initramfs and enter the passcode 2018-06-16 12:38:16 i dont want to use the serial console each time 2018-06-16 12:38:22 its really bad 2018-06-16 13:02:26 elo. How am I suppose to prepare an SDCARD with alpine-linux for an installation on ARM cubieboard2 machine ? 2018-06-16 13:03:52 I can't find a documentation for this purpose. 2018-06-16 13:09:28 ok thx 2018-06-16 14:01:09 how do i find out what to put for modules= in update-extlinux.conf ? 2018-06-16 14:01:31 looks like networking in the initramfs aint workin 2018-06-16 16:20:49 Hello :) 2018-06-16 16:23:14 Did someone tried to install alpinelinux 3.7.0 (armgf) on a raspberry pi 3 B+ ? 2018-06-16 16:26:16 sorry. I mean alpinelinux 3.7.0 armhf :) 2018-06-16 16:28:06 <_ikke_> I think some people were trying it out, but I don't know what the status was 2018-06-16 16:28:46 ok, thank you :) Work in progress I guess. 2018-06-16 16:54:17 shhr: try 3.8 ? 2018-06-16 16:54:43 iirc 3.7 won't work on rpi3+ 2018-06-16 16:56:37 alpine linux 3.8 ? 2018-06-16 16:58:15 <_ikke_> yes, but it's not released yet 2018-06-16 16:59:50 _ikke: ok, I'll wait :) 2018-06-16 17:29:26 try edge, isn't it practically 3.8 by now? 2018-06-16 17:35:34 at postmarketOS we have a PR open supporting the RPi 3B+. it uses the edge repositories though, which yeah is basically 3.8 at the moment 2018-06-16 17:35:34 seems to work fine 2018-06-16 17:40:13 PureTryOut[m], did you fix your rpi wifi issues? 2018-06-16 17:44:13 ROFL!!! https://imgur.com/gallery/yCUTYlr 2018-06-16 17:44:38 oops wrong chat lol 2018-06-16 17:45:15 clandmeter: nope 2018-06-16 17:45:45 it's not just wifi btw, ethernet is also bad, but just a little bit less 2018-06-16 17:51:40 PureTryOut[m], have you tried the latest firmware or did you use alpine fw? 2018-06-16 18:08:07 Alpine fw iirc 2018-06-16 18:08:11 actually no that's not true, I'll check 2018-06-16 18:08:29 nope we use a different one indeed. https://github.com/postmarketOS/pmbootstrap/blob/master/aports/temp/linux-firmware/APKBUILD 2018-06-16 18:12:46 ok. 2018-06-16 18:13:09 if normal network is also affected i guess its soemthing else 2018-06-16 18:14:15 i think most of the network part is kernel related. maybe its some sysfs setting. 2018-06-16 18:19:14 maybe? we're using the Alpine kernels now though afaik 2018-06-16 18:20:54 maybe compare it between raspbian and alpine 2018-06-16 19:34:39 it works fine on Raspbian, I ran that before for quite a long time 2018-06-16 19:38:55 TBB: thanks, I'll try :) 2018-06-16 19:41:04 TBB: But I'm not sure 3.8 can be downloaded. Just updated I guess. 2018-06-16 19:41:27 <_ikke_> 3.8 hasn't been released yet, only pre-releases 2018-06-16 19:45:12 please test our release candidates 2018-06-16 20:34:30 any known bugs in edge relative to rpc.idmapd high CPU usage? 2018-06-16 20:43:10 strace shows rpc.idmapd repeating the following calls: https://pastebin.com/JmYgw8ZS 2018-06-17 00:03:34 what does a virtual package that starts with a dot signify? 2018-06-17 00:20:18 sounds like build time dependencies usually 2018-06-17 00:41:44 yes but what does it mean? 2018-06-17 00:41:50 what does the dot mean? 2018-06-17 01:05:19 'temporary' 2018-06-17 01:05:27 it doesn't mean much, it's just style 2018-06-17 01:06:41 the dot is probably there to avoid colliding with the main namespace 2018-06-17 01:06:46 i guess 2018-06-17 01:07:06 but one can make temporary packages of any name 2018-06-17 01:07:15 e.g. I made one for a meta-package. 2018-06-17 01:25:53 when grsec says "From x.x.x.x: ...", what is that IP actually ? 2018-06-17 01:26:20 is it because the process that erred was started through my SSH ? 2018-06-17 08:16:53 anyone around with VLAN experience? 2018-06-17 08:17:02 i appear to be having some troubles 2018-06-17 08:17:17 i'm seeing this on boot 2018-06-17 08:17:18 RTNETLINK answers: File exists 2018-06-17 08:17:20 run-parts: /etc/network/if-pre-up.d/vlan: exit status 2 2018-06-17 08:17:25 for each one of my VLANs, ie 2, 3, 4 2018-06-17 08:17:54 my /etc/network/interfaces https://dpaste.de/Y7CS and ip a https://dpaste.de/hOH7 2018-06-17 08:18:09 my switch is configured like https://i.imgur.com/BR9Bp0l.png 2018-06-17 08:18:46 the idea is VLAN2 is routed to the ISP, VLAN3 is routed to the VPN and VLAN4 is routed nowhere 2018-06-17 08:19:13 i followed this documentation https://wiki.alpinelinux.org/wiki/Vlan 2018-06-17 08:53:37 i am seeing this error on boot https://i.imgur.com/HnTy76b.jpg 2018-06-17 09:06:08 Does anyone know arm assembly 2018-06-17 09:21:21 smallville7123: a little and not used it long time. But, why you ask that question on this channel 2018-06-17 09:22:26 Because it has chroot for arm 2018-06-17 09:22:54 ok, what is the question 2018-06-17 09:36:46 Does Alpine support the zero w yet? 2018-06-17 09:39:47 i think rp3 was the latest 2018-06-17 09:42:03 tya99: Thanks for the info :) I basically want to install alpine on a zero w without using hdmi, but I'm not sure if alpine has remote ssh ootb. 2018-06-17 09:42:29 i think it does 2018-06-17 09:42:31 leme check 2018-06-17 09:42:45 you might have to start the service 2018-06-17 09:43:26 So, I'm gonna need to hook it up to a screen. 2018-06-17 09:43:59 mmlb: it would depend im not sure if the raspberry zero has the same broadcom chip 2018-06-17 09:44:16 ie i see on my rp2 (with the latest version of alpine linux) 2018-06-17 09:44:32 bcm2710-rpi3-b 2018-06-17 09:44:51 the RP 2 was bcm2836 2018-06-17 09:44:59 The zero uses the same in the rpi 1. 2018-06-17 09:45:08 oh then it should 2018-06-17 09:45:39 mmlb: 2018-06-17 09:45:46 mpmc: i do see it in there 2018-06-17 09:45:56 bcm2708-rpi-0-w.dtb 2018-06-17 09:46:12 Awesome :) 2018-06-17 09:46:17 which the b and the b plus both had bcm2708 2018-06-17 09:47:59 tya99: Do you have any idea how I would go about enabling ssh without a screen? 2018-06-17 09:48:13 serial? 2018-06-17 09:48:31 or you could do it on a machine that does have a screen 2018-06-17 09:48:38 and then copy the provision file over 2018-06-17 09:48:41 to your pi 2018-06-17 09:48:53 like if you have some old x86 box set it all up there, lbu commit 2018-06-17 09:48:59 and copy the provision file over 2018-06-17 09:49:15 tya99: I'm new to alpine. I use Debian :) 2018-06-17 09:49:30 ah yeah 2018-06-17 09:49:44 assuming you're going to just extract the tarball for the RP image 2018-06-17 09:49:49 look up about lbu 2018-06-17 09:50:02 typically for routers we do ramdisk style 2018-06-17 09:50:17 https://wiki.alpinelinux.org/wiki/Alpine_local_backup 2018-06-17 09:50:45 basically you extract arm rp tarball, and then it merges your configs from your tar.gz apkprov (provision tarball) 2018-06-17 09:50:47 into your root 2018-06-17 09:51:04 changes you make to /etc that don't involve you committing are lost 2018-06-17 09:51:24 something you can't really do with debian which makes alpine great 2018-06-17 09:52:41 if you have any questions about alpine and RP i am happy to answer 2018-06-17 09:52:46 (if i can) 2018-06-17 09:55:57 tya99: I shall hook up my Pi0w to a screen & flash alpine. 2018-06-17 09:56:14 I'll use the 3.8-rc4 :) 2018-06-17 09:56:15 well you don't flash alpine as such 2018-06-17 09:56:21 you just extract the tarball 2018-06-17 09:56:30 That's what I meant ;) 2018-06-17 09:56:34 onto your sd card hah 2018-06-17 09:56:38 oh 2018-06-17 10:03:21 tya99: Stupid q, I'm guessing I just need to create a small fat32 partition? 2018-06-17 10:03:38 yep 2018-06-17 10:03:54 Any recommended size? 2018-06-17 10:03:57 single partition fat32 on sdcard 2018-06-17 10:04:32 https://wiki.alpinelinux.org/wiki/Raspberry_Pi 2018-06-17 10:06:55 That all seems rather simple. 2018-06-17 10:08:02 it is :P 2018-06-17 10:13:28 tya99: Once I've booted, how do I enable wifi? :p 2018-06-17 10:13:55 that i don't know specifically as ive not used wifi on a RP before 2018-06-17 10:14:17 i would assume you'd have to probe a module and use iwconfig 2018-06-17 10:14:30 tya99: I took a look at https://wiki.alpinelinux.org/wiki/Raspberry_Pi_3_-_Configuring_it_as_wireless_access_point_-AP_Mode I'm guessing I need some firmware. 2018-06-17 10:14:38 the documentation there will be pretty universal, wpa_supplicant etc 2018-06-17 10:14:44 Yep. 2018-06-17 10:15:03 I suppose I can copy those apks over to the apk folder. 2018-06-17 10:15:17 no don't do that 2018-06-17 10:15:23 the apks folder is basically like 2018-06-17 10:15:28 basic ones that come with it 2018-06-17 10:15:34 you'd want to put them in cache 2018-06-17 10:15:44 and set up a cache dir 2018-06-17 10:16:13 ie 2018-06-17 10:16:14 https://wiki.alpinelinux.org/wiki/Local_APK_cache 2018-06-17 10:17:13 those are just base ones /media/mmcblk0p1/apks/armhf 2018-06-17 10:17:19 that come with the alpine linux tarball 2018-06-17 10:17:32 tya99: I haven't even got it running yet. Basically I want to get it running, setup wifi :) 2018-06-17 10:17:49 oh yeah well then you could just apk install them 2018-06-17 10:17:57 i forget you don't have ethernet 2018-06-17 10:18:09 Yeah, that's the problem :p 2018-06-17 10:18:45 Could you look up what apks I'd need? :) I don't currently have alpine on any machine :p 2018-06-17 10:19:52 that wifi ap setup says raspberrypi-libs & linux-firmware-brcm, however there is no mention of wpa etc. 2018-06-17 10:22:15 OK wpa tools are in the apk folder! 2018-06-17 10:22:19 https://pkgs.alpinelinux.org/packages ;) 2018-06-17 10:25:36 tya99: OK, so I just need those two apks :) Everything else appears to be there. Any recommendations where I temporarily store those apks before install? 2018-06-17 10:26:06 somewhere in the root should be okay of your usb stick 2018-06-17 10:26:11 i mean sdcard 2018-06-17 10:26:21 or in a dir if you want it will be readonly 2018-06-17 10:29:29 OK I think that's everything, lets see if this boots. 2018-06-17 10:32:45 Bleh, need to find a micro-usb converter to plug in a keyboard >.< 2018-06-17 10:37:24 doesn't it have regular usb? 2018-06-17 10:37:36 No :p 2018-06-17 10:37:39 the RP2 had 4x usb ports on it 2018-06-17 10:37:51 1 hdmi and 1 ethernet 2018-06-17 10:38:01 no wifi but you could pop a module on the gpio pins 2018-06-17 10:38:17 i didn't bother i got a rtc clock instead 2018-06-17 10:38:26 tya99: https://www.raspberrypi.org/magpi/wp-content/uploads/2017/03/PI-Zero-W-Wireless-Antenna.jpg 2018-06-17 10:38:48 how much did u pay for it? 2018-06-17 10:39:14 They're about £10.50 with del. 2018-06-17 10:39:23 true that is pretty cheap 2018-06-17 10:41:43 rofl, found a microusb ethernet, but no converter >.< 2018-06-17 10:45:33 ncopa: u there? 2018-06-17 10:46:29 Would be awesome if Alpine included wifi for the Pis OOTB, maybe via usercfg :) 2018-06-17 10:46:37 ncopa: seeing as you wrote https://wiki.alpinelinux.org/wiki/Vlan i assume you've used them on alpine linux 2018-06-17 10:47:01 i am seeing these annoying rc errors when booting up interfaces with vlans https://i.imgur.com/HnTy76b.jpg 2018-06-17 10:47:29 my etc/network/interfaces https://dpaste.de/ctCm 2018-06-17 10:47:47 note where it starts on line 35 2018-06-17 10:47:51 Oooh, an RPI as a gateway, interesting. 2018-06-17 10:48:11 yeah i was following https://wiki.alpinelinux.org/wiki/Linux_Router_with_VPN_on_a_Raspberry_Pi 2018-06-17 10:48:21 and plan to deploy ipv6 and update it 2018-06-17 10:48:39 seeing as my vpn provider does dual stack ipv6 2018-06-17 10:48:53 and my isp does dual stack ipv6 prefix delegation 2018-06-17 10:49:23 i substituted the unmanaged switch out for a managed one 2018-06-17 10:49:31 Oooh, Alpine has unit too, but not for armhf. 2018-06-17 10:50:03 and am going to use VLANs as that only uses multiple IPs on one interface (which is bad because they would all share the same broadcast) 2018-06-17 10:53:38 i don't think i need the auto vlan section 2018-06-17 11:34:28 I notice that if i enter mount -? the list of options does not include an -L or --label even though the online man page for mount mentions those. 2018-06-17 11:34:57 I am trying to mount a drive by its label or maybe UUID. 2018-06-17 11:42:05 slowbrownfox: you are using busybox mount applet, which is trimmed down version of mount. Install util-linux and you will have 'real' mount 2018-06-17 11:42:25 Is this because busybox is using an older/smaller version of mount? 2018-06-17 11:42:51 tight 2018-06-17 11:43:02 sory, s/tight/right/ 2018-06-17 11:43:03 Sorry. Typed that before reading your message. 2018-06-17 11:43:47 Will doing that ruin the point of busybox? I guess I could live with using mount with a /dev/ 2018-06-17 11:44:22 I mean will it install a whole parallel set of commands? 2018-06-17 11:45:00 It would be nice if I could just install the full mount command on its own. 2018-06-17 11:46:38 you can build it then for yourself 2018-06-17 11:47:07 compile from source for just the mount command? 2018-06-17 11:47:14 right 2018-06-17 11:48:06 hmm. util-linux/mount.c 2018-06-17 11:48:08 but, first thing I do after installing (or even during install phase) is to add util-linux and coreutils 2018-06-17 11:48:48 Doesn't that ruin the whole point of busybox? 2018-06-17 11:49:01 busybox is really isn't useful if you have to login to the machine and do some work 2018-06-17 11:49:26 busybox is ok for some embeded or docker systems 2018-06-17 11:49:49 Well it is a bit difficult that I cant rely on normal man pages for busybox. 2018-06-17 11:49:53 not for wveryday use 2018-06-17 11:50:15 bah, s/wveryday/everyday/ 2018-06-17 11:50:23 Have you noticed how much size it adds? 2018-06-17 11:50:36 I mean to the disk and/or to ram? 2018-06-17 11:51:05 it uses only disk space if you don't run it 2018-06-17 11:51:57 It is particularly difficult for me as a linux noob, but I would imagine it might add a slight amount of security that standard commands are not available. 2018-06-17 11:51:59 apk info util-linux 2018-06-17 11:52:19 will show you how much space it uses 2018-06-17 11:53:36 Umm...looks like around 3MB of disk space. 2018-06-17 11:53:54 security is complex, and some people think that not having some useful things increase security, which is false assumption 2018-06-17 11:54:24 Well part of what I am trying to do with Alpine is keep attack surfaces to a minimum. 2018-06-17 11:54:44 Minimize installed apps to only what I really need etc. 2018-06-17 11:55:11 I guess the disk space is a non issue. 2018-06-17 11:55:29 I mean since I am not actually running on an embedded system. 2018-06-17 11:55:58 It's purely theoretical of course. 2018-06-17 11:56:20 to repeat myself, security is complex, and there is no simple solution for it 2018-06-17 11:56:27 the *only* point of busybox is disk space (it was created when embedded systems' "disk" space was about 1MB) 2018-06-17 11:57:18 Ok. I will install util-linux. At least I can rely on man pages then. 2018-06-17 11:57:41 busybox is usually outdated and as such is less secure than the newer packages, i.e. util-linux and coreutils 2018-06-17 11:57:53 Oh. Good point. 2018-06-17 12:00:53 I added util-linux and coreutils. Does that mean I can remove busybox? 2018-06-17 12:01:49 no 2018-06-17 12:02:17 util-linux doesn't contain all busybox applets 2018-06-17 12:03:02 /bin/sh ? 2018-06-17 12:03:49 teatime07: at least 2018-06-17 12:03:51 Damn. My ntfs partition did not mount but it looks like the command worked as expected. Some kind of i/o error. 2018-06-17 12:04:15 I did use -t ntfs-3g 2018-06-17 12:04:38 maybe partition is damaged 2018-06-17 12:04:58 or disk/medium 2018-06-17 12:05:10 It says $MFTMirr does not match $MFT (record 24) 2018-06-17 12:05:28 Sigh. 2018-06-17 12:05:31 don't have much experience with ntfs 2018-06-17 12:06:01 I put all the files I needed on an ntfs partition include the patch files for GPM and... 2018-06-17 12:06:53 slowbrownfox: You need to clean the partition 2018-06-17 12:07:03 use Windows chkdsk or similar 2018-06-17 12:07:04 I tried mount -a and got the same error. I added it to /etc/fstab already. 2018-06-17 12:07:20 Your partition is unclean 2018-06-17 12:07:24 Yeah I guess I had better do that. 2018-06-17 12:07:32 And back up the data 2018-06-17 12:07:47 (but I should not have to say this) 2018-06-17 12:08:05 Hehe. Yes well I have lost terabytes of data to not having backups. So... 2018-06-17 12:09:04 One of my drives is currently clicking intermittently. 2018-06-17 12:09:51 Anyway...thanks guys. I will have to come back later after checking that drive in windows. 2018-06-17 12:10:54 quit 2018-06-17 13:35:23 It appears that ntfs-3g has a bug related to Windows 10 NTFS partitions with 64k cluster sizes. Well maybe not a bug exactly. Windows 10 changed $MFT to $MFTMirr behavior I guess. 2018-06-17 13:36:25 The latest ntfs-3g has been updated to allow for Microsofts new behavior. There was also a patch released. 2018-06-17 13:37:15 I am not clear on whether MS just stopped mirroring with large cluster sizes or not. 2018-06-17 13:38:46 I guess I have to compile the latest version from source if I want to mount any of my large cluster NTFS partitions. 2018-06-17 13:41:10 I will try to do that. I wonder if I should report the current ntfs-3g as outdated. It isn't really, but this seems like a significant problem with the current ntfs-3g release. 2018-06-17 13:42:09 I wonder if the default linux ntfs driver would do better. 2018-06-17 13:51:44 Well that worked. The standard -t ntfs mount command worked. It appears only ntfs-3g has the problem. 2018-06-17 13:52:11 Since I only need read only access I will try it this way for now. 2018-06-17 17:10:56 I have 80 packages of linux-firmware-*. What is the best way to find out which of them are really needed for my hardware? 2018-06-17 17:15:47 laskin: lshw could help, but not a perfect 2018-06-17 17:16:34 so, manually. ok. 2018-06-17 17:18:08 you can boot machine and look at dmesg output and search in it where kernel/driver tries to load firmware 2018-06-17 17:19:43 but, maybe there are something which could do that but I don't know, though I had idea to find solution but never tried 2018-06-17 17:22:50 Do somebody ever tried to install nvidia proprietary drivers? I have quadro 3000m and nouveau seems do not support it. 2018-06-17 17:26:21 I tried, and built kernel modules but it doesn't work 2018-06-17 17:29:11 maybe I could build kernel part but I suspect it will work with userspace part which is proprietary. AFAIK it couldn't be rebuilt with musl 2018-06-17 17:29:31 so, I stopped to 'play' with it 2018-06-17 17:33:12 ok, I see. 2018-06-17 18:10:15 $ apk fetch --force coffee 2018-06-17 18:10:29 enjoy your apk-tools easter egg ;) 2018-06-17 18:15:33 made my day :) 2018-06-17 18:33:18 diskless install tends to confuse me... I've done it before but, I'm always stuck at saving the config 2018-06-17 18:33:48 the install disk is mounted read-only, and I can't seem to remount it to save the config to it 2018-06-17 18:39:20 <_ikke_> doggone: if you use the default iso, it's because it's isofs, which is read-only indeed 2018-06-17 18:39:40 <_ikke_> use setup-bootable to create disk that's writable 2018-06-17 18:40:15 I am having issues with mounting LUKS volumes. They mount fine from the install media, but when booting cryptsetup says there are no matching passphrases. Im using the us keymap, and nothing but standard letters. I also added a key that was nothing but numbers, which also fails. I then added a blank password, which also fails. All work fine from the install media. Any suggestions? 2018-06-17 18:41:15 s/standard letters/standard ASCII alphanumeric + symbols/ 2018-06-17 18:48:50 sounds like you might have something missing from your initramfs 2018-06-17 18:52:05 Yah, but what? All the crypto stuff looks to be there. Its driving me crazy. mkinitfs -l says its including all the crypto, but if its missing from /lib/modules for some reason... 2018-06-17 18:53:07 This is a fresh install, and everything should bloody well be there. Ill take a look at it when i get home. Thx. 2018-06-17 18:54:22 ikke[m]: thanks 2018-06-17 21:11:23 Now I'm running into the problem that my diskless Alpine is still considering /lib to be read-only (installing zfs modules). Does anyone know how to fix this? 2018-06-17 21:13:32 <_ikke_> doggone: /lib or /lib/modules? 2018-06-17 21:18:13 _ikke_: ah yes, it's only /lib/modules 2018-06-17 21:18:45 on tmpfs modules is readonly. you can work around it with overlayfs. 2018-06-17 21:19:53 you can read the modloop initd file for more info. 2018-06-17 21:20:46 clandmeter: thanks, I'll read further, reading bug #7285 too now which has the same problem partly 2018-06-17 21:21:48 I want to replace a FreeNAS installation with Alpine running in RAM from an SD card :) 2018-06-17 21:22:36 you have 2 options 2018-06-17 21:22:51 overlayfs or build your own initramfs with zfs included. 2018-06-17 21:23:09 overlayfs is easier and it supports easy upgrade. 2018-06-17 21:24:26 doggone: what is your problem? what is the error you are getting. 2018-06-17 21:26:01 installing zfs-vanilla (just testing right now) gives me a ton of errors on files in /lib/modules/... -- it's a read-only file system. 2018-06-17 21:26:27 I'll use overlayfs. The easiest option is fine for me. It's just a system that's supposed to rsync files to a zfs pool for back-up purposes 2018-06-17 21:26:36 Nothing fancy. 2018-06-17 21:29:07 it would be nice if this kind of configuration (run from RAM but save config on the current disk) was an option in the installer, 2018-06-17 21:29:46 it is 2018-06-17 21:29:55 the installer support run from ram installs. 2018-06-17 21:30:47 the "data" option assumes you have a separate disk, but I assume it's an inherent flaw because of isofs 2018-06-17 21:31:19 it's not really a problem, I don't mean to complain 2018-06-17 21:31:47 just took me a while to figure it out. There's a wiki page somewhere that I'll try to clarify a bit more 2018-06-17 21:31:58 choose none for tmpfs iinstall 2018-06-17 21:32:07 i think thats the option. 2018-06-17 21:32:59 I don't think "none" is documented; there's no explanation for it when you enter "?" 2018-06-17 21:33:18 but it is the default though 2018-06-17 21:33:27 what is the step before? 2018-06-17 21:33:37 i dont remember the steps from my head 2018-06-17 21:33:44 it will ask you if you want to install to disk 2018-06-17 21:33:49 you should choose no. 2018-06-17 21:35:52 the step before is "which NTP client to run" 2018-06-17 21:36:07 then it asks you which disk(s) you would like to use (? for help or none) 2018-06-17 21:36:47 none 2018-06-17 21:36:48 entering ? will say "The disk you select can be used for a traditional disk install or for a data-only install. The disk will be erased. Enter 'none' if you want to run diskless." 2018-06-17 21:36:57 thats run from ram 2018-06-17 21:37:49 I know, it's just a bit weird, since you will be using the current disk (the one you're installing from). It feels like it should be an option within sys/data/... 2018-06-17 22:25:41 <_j> Hi there 2018-06-17 22:27:06 <_j> So I've just installed alpine successfully with a luks-detached header (albeit a few hacky things) and I had a few questions... 2018-06-17 22:28:05 <_j> Firstly, is it possible to use stable with packages from aports/testing or is this going to clobber my system? 2018-06-17 22:29:33 we dont support it but its possible with repo pinning. 2018-06-17 22:29:54 <_j> clandmeter: okay, that's cool to know - thanks :p 2018-06-17 22:30:47 <_j> Secondly, I run my own kernel with no modules - is there any way to stop linux-vanilla/grub/mkinit from clobbering it? 2018-06-17 22:31:48 <_j> I'm currently running without the linux-vanilla package but it'd be nice to be able to install it so I can see when the kernel needs an update - I'd recompile manually 2018-06-17 22:32:43 <_j> Also, as a sidenote - GRUB doesn't include an /etc/default/grub by default! I've gotten around this by installing grub from void and copying the file from there... 2018-06-18 08:04:41 I need to do a sys install onto a 128MB disk. How do I install onto a single partition (instead of one partition for /boot and one partition for root). 2018-06-18 08:06:00 I think I need to have pre-created a partition (done), mkfs it for ext3 or ext4 (done). Now think I need to point the installer at it? 2018-06-18 08:09:23 Man I love how tight this distro is. Reading the source of /sbin/setup-alpine now to see if it gives me any hints. 2018-06-18 08:22:10 aero-224, check setup-disk 2018-06-18 08:22:46 aero-224: create your partition manually, mount it and run setup-disk with the mount point as arg 2018-06-18 08:23:02 for example, mount it on /mnt and run: setup-disk /mnt 2018-06-18 08:24:16 morning :) 2018-06-18 08:24:28 OK. Rebooting, re-mkfsing, one moment... 2018-06-18 08:37:42 Looks like it did the right thing. /boot is no longer a separate partition. 2018-06-18 08:37:51 ncopa: Thanks 2018-06-18 08:37:55 clandmeter: Thanks 2018-06-18 08:38:13 👍 2018-06-18 08:38:59 Next problem - 128MB seems too small to install alpine-standard-3.7.0-x86. Suggestions? 2018-06-18 08:39:18 I run out of storage before setup-disk finishes 2018-06-18 08:41:48 modules and firmware is probably to big. 2018-06-18 08:42:54 clandmeter: Yep. One of the first things I run out of space for is - lib/firmware/liquidio/lio_210nv_nic.bin 2018-06-18 08:43:59 aero-224, i think 3.8 has some function to not pull all fw. 2018-06-18 08:48:40 clandmeter: I feel like setup-disk replicates the current running config directly onto the new disk. (I.e. If I've apk added vim, vim shows up on the install target). 2018-06-18 08:48:58 correct 2018-06-18 08:49:07 Is that right? (If it is, I should be able to go nuke the firmware directory before I run setup-disk). 2018-06-18 08:49:52 i think firmware is a dependency of the kernel. 2018-06-18 08:50:02 so when you install it to the target disk it will be pulled in. 2018-06-18 08:50:37 And a df -h of / and /run should be a good indicator of whether setup-disk will succeed. 2018-06-18 08:51:27 i dont think you can make it work with the 3.7 installer and 128mb. 2018-06-18 08:51:40 :sad_face: 2018-06-18 08:52:18 will not work with 3.7 installer 2018-06-18 08:52:29 but should be possible with 3.8.0_rc4 2018-06-18 08:52:56 aero-224: do i you know if you need any firmware? 2018-06-18 08:53:00 Alright - so the leads to my next question... how do we get security updates / patches? 2018-06-18 08:53:06 apk upgrade 2018-06-18 08:53:44 you should be able to `apk add linux-firmware-none` before you do `setup-disk /mnt` 2018-06-18 08:53:54 at least with the v3.8.0_rc4 2018-06-18 08:54:11 I don't know if I need any firmware. This particular deploy that I'm trying is to a known set of thin clients. 2018-06-18 08:54:36 for 128MB you may need to build a custom kernel 2018-06-18 08:54:43 its the kernel that is big 2018-06-18 08:54:54 or hw drivers to be more specific 2018-06-18 08:55:21 They're all identical, VIA EDEN-based machines (pretty old). 2018-06-18 08:56:01 Mmmm... I should just stop doing this, and drop in a larger storage device - but I needed the pain to force me to understand things a little better. 2018-06-18 08:56:27 thats probably much easier, but maybe less fun :) 2018-06-18 08:56:45 128mb is a challenge 2018-06-18 08:56:48 clandmeter: totes 2018-06-18 08:57:16 you could check our kernel config and remove all modules that you dont need. 2018-06-18 08:57:51 but it takes some work to have a custom kernel. 2018-06-18 08:59:42 I haven't built a custom kernel in soooo long. 2018-06-18 09:01:53 Darn it; setup-disk must be pulling firmware from elsewhere (not the current running OS instance). 2018-06-18 09:02:03 correct 2018-06-18 09:02:21 it does 2 things 2018-06-18 09:02:32 There's no lib/firmware/liquidio/ inside the live install 2018-06-18 09:02:38 it will check the running world and replicate it to the disk. 2018-06-18 09:03:03 and it will copy your etc changes over it. 2018-06-18 09:04:04 ... and it also pulls firmware from a remote server on the internet? 2018-06-18 09:04:28 from a repository, could also be local. 2018-06-18 09:04:33 on media 2018-06-18 09:14:37 Alright. I'm going to take another run at this tomorrow. 2018-06-18 09:14:59 Any idea what the minimum storage space is? 2018-06-18 09:15:18 depends on what kernel you run 2018-06-18 09:15:28 linux-virt kernel needs less space 2018-06-18 09:15:40 3.7.0 standard x86 2018-06-18 09:16:03 (I presume I can't run virt on real hardware - or am I making a bad assumption there?) 2018-06-18 09:16:37 likely not 2018-06-18 09:16:45 but i guess it doends on the specific hardwarw 2018-06-18 09:17:12 I'm assuming virt only has the common VM drivers precompiled. 2018-06-18 09:17:20 correct 2018-06-18 09:17:24 which makes it smaller 2018-06-18 09:17:32 Makes sense to me. 2018-06-18 09:17:38 One way to find out... :) 2018-06-18 09:21:20 Doesn't even try to boot on real hardware - "Missing operating system" 2018-06-18 09:21:46 Thanks for the pointers. Going AFK... 2018-06-18 09:21:48 if you do setup-disk /mnt you also need to install the bootloader to the MBR 2018-06-18 09:22:12 ncopa: go on... :) 2018-06-18 09:22:12 apk add syslinux && dd if /usr/share/syslinux/mbr.bin of=/dev/sdX 2018-06-18 09:22:56 Brilliant. Love it. 2018-06-18 09:24:22 I do that by 'dd if=/mnt/usr/share/syslinux/mbr.bin of=/dev/sdX', without adding syslinux 2018-06-18 09:24:44 looks like syslinux is already installed by installer 2018-06-18 09:25:06 looks like it is possible to install it on 256MB with linux-vanilla and without firmware 2018-06-18 09:25:52 hum 2018-06-18 09:26:07 theoretically... 2018-06-18 09:26:15 also, I add 'bs=440 count=1 conv=notrunc' to dd during installing mbr 2018-06-18 09:38:12 hey 2018-06-18 09:38:37 /go alpine-devel 2018-06-18 09:40:04 hey im new, still arch and still systemd. Im cursed so that I only visit bad communities where someone has more rights than the others. That's why I started these introductions to bait the kings of their country. 2018-06-18 09:40:57 So i dont put my hopes in something only to realize it's bs behind the grand ideals 2018-06-18 09:41:30 with your distro so far i've only experienced convenience and effectivity. No fake seriousness like a chat irc channel. 2018-06-18 09:41:53 and to me it's all about the community 2018-06-18 09:45:21 so good luck to you and to me. I hope I'm a fruitful addition to your flock. 2018-06-18 09:45:27 and you to mine 2018-06-18 10:47:56 elo 2018-06-18 10:51:21 I'm starting alpine linux on my cubieboard2 from sdcard, but something block on the boot as you can see http://dpaste.com/2TGE7BA 2018-06-18 10:51:48 I'm using screen to connect through serial 2018-06-18 10:55:41 yann-kaelig: it works, you probably need to add getty for ttyS0 in /etc/inittab 2018-06-18 11:05:03 any RAID/storage nerds here? 2018-06-18 11:15:12 that's such a loaded question that I feel there's zfs attached to it somehow 2018-06-18 11:19:37 nope 2018-06-18 11:19:46 just trying to decide strip size for my desktop raid 2018-06-18 11:20:30 went with 256K, many people are recommending 64K for server workloads 2018-06-18 11:20:35 it's not too late to change it 2018-06-18 11:25:03 mepholic: defaults are good 2018-06-18 11:25:18 mdadm does it perfectly 99% of the time 2018-06-18 11:25:48 this is hardware raid 2018-06-18 11:26:09 the default was 256K in the wizard, the docs claimed the default was 64K 2018-06-18 11:26:17 which is really the only reason why I ask 2018-06-18 11:28:41 ah, idk then 2018-06-18 11:28:54 never bothered with hardware raid much before :< 2018-06-18 11:36:52 mm hardware raid, had a guy buy one raid card from me at like 3am once because i was the only one awake and his had broken 2018-06-18 11:37:00 use software unless you're a masochist :) 2018-06-18 11:39:07 or just keep backups and enjoy the speed 2018-06-18 11:40:40 hm, modern computers don't profit that much from offloading the work to a dedicated card 2018-06-18 11:41:24 Can I ssh to my cubieboard after a first start of alpine linux ? 2018-06-18 11:41:45 as root it ask me for a password, but I don't know the pass 2018-06-18 11:49:25 azarus: I'm using LSI cachecade with 2 ssd's in raid1 2018-06-18 11:49:39 mepholic: cool 2018-06-18 11:49:47 you'd probably get more out of a single nvme drive :) 2018-06-18 11:49:55 plus the 1GB oncard DRAM cache 2018-06-18 11:50:13 deebo: and 4TB of space? 2018-06-18 11:51:13 yann-kaelig: probably not in pristine install. You can mount sdcard on host system and change /etc/ssh/sshd_config to allow root access with password 2018-06-18 11:52:30 gotta love the "it's $currentyear, you're doing it wrong" crowd 2018-06-18 11:52:39 I know _almost_ exactly what I'm doing 2018-06-18 11:52:42 and why I'm doing it 2018-06-18 11:53:15 "oh, suggestions that might be helpful? my god, they think I'm wrong!!" 2018-06-18 11:55:03 I was asking for suggestions relevent to my specific situation. Find me a 4TB nvme disk for the $500 I paid for my current solution, and I'll eat my shoe 2018-06-18 11:56:28 I specifically migrated away from bcache and softraid because I was seeing performance problems, I test ran this card in a raid1 situation without caching and it kicked the pants off of the software alternative 2018-06-18 11:57:14 that monetary value includes all disks, controllers, cache licensing key, and bbu 2018-06-18 11:57:26 azarus ahaha 2018-06-18 11:58:05 mepholic is it the best solution for everyone or the perfect solution for you? 2018-06-18 11:58:41 in case of the latter(?) gratz bro 2018-06-18 11:59:02 but if you want to see the critical crowd it might just be that you are wrong here 2018-06-18 11:59:20 i don't know I just got here myself mepholic, but this community has shown signs not to be toxic. 2018-06-18 11:59:34 zava: I'm just pointing out that it's irritating when someone asks for advice on a specific thing, and people go on yak shaving about other unrelated things 2018-06-18 11:59:54 I'm glad when people aren't abusive 2018-06-18 11:59:56 with their comments 2018-06-18 12:00:04 which they are once hte im the best shit starts 2018-06-18 12:00:13 I have no idea what happened here 2018-06-18 12:00:39 on archlinux being belitteled is payment for getting support 2018-06-18 12:00:40 #alpine-linux isn't really the place for discussing hardware raid card defaults, mepholic 2018-06-18 12:01:03 because it doesn't really have anything to do with alpine, right? 2018-06-18 12:01:05 azarus: there's a lot of people in here that have different domains of expertise and I figured it was worth a shot 2018-06-18 12:01:17 ##hardware might help 2018-06-18 12:01:17 they odnt take pride in being unrealistically perfect I guess 2018-06-18 12:01:21 but if azarus doesnt know 2018-06-18 12:01:24 that being said, you're right, and we should stop talking about it 2018-06-18 12:01:28 he might just talk as if it was in the interests of everybody 2018-06-18 12:01:38 and it isnt 2018-06-18 12:01:40 no 2018-06-18 12:01:43 never stop talking in irc 2018-06-18 12:01:46 when someone says so 2018-06-18 12:01:53 and when youre banend for it, good 2018-06-18 12:02:03 then you jknow where you wouldnt have wanted to be anyway 2018-06-18 12:02:13 contrary to fearful belief, talking about issues longer doesnt make them bigger 2018-06-18 12:02:24 if the people doing it have some brains and arent rotten to the core 2018-06-18 12:02:39 mepholic: optimal strip size depends on your workload 2018-06-18 12:02:59 koollman: like i said, it's a desktop 2018-06-18 12:03:19 there's lots of music and video files, and I build a lot of code 2018-06-18 12:03:38 I always say, when you want something, get it 2018-06-18 12:03:49 code is small, music/video is large. lets say it would be "mixed-workload" :) 2018-06-18 12:03:56 there's large backups, and a very dynamic array of filesizes that occur 2018-06-18 12:04:00 who cares if its overkill, its fucking awesome 2018-06-18 12:04:06 its tech 2018-06-18 12:04:08 koollman: that was sort of my thought 2018-06-18 12:04:11 zava: weren't you just banned from #suckless? 2018-06-18 12:04:14 mepholic: I would go with 64K, and maybe do some relevant benchmarks if I had time :) 2018-06-18 12:04:15 yes 2018-06-18 12:04:17 gladly 2018-06-18 12:04:23 He insulted me 2018-06-18 12:04:24 koollman: I ended up with 256K 2018-06-18 12:04:26 i asked for an apology 2018-06-18 12:04:29 he banned me 2018-06-18 12:04:30 it's not technically too late 2018-06-18 12:04:42 zava: maybe spewing incoherently isn't doing you any favors 2018-06-18 12:04:49 azarus: but that'd you be on the lookout to punish someone 2018-06-18 12:05:00 no, just giving you advice 2018-06-18 12:05:06 azarus: is something i was kinda expecting after you told someone else to shut it for no reason 2018-06-18 12:05:08 already 2018-06-18 12:05:19 256K was the default in the raid setup utility, however the docs for the raid setup utility said that 64K was the default 2018-06-18 12:05:22 yes you are self absorbed and like to tell people what to think 2018-06-18 12:05:25 I was slightly confused by that 2018-06-18 12:05:27 and what to do 2018-06-18 12:05:39 youre being highly hostile dude, you should be careful not to show any more of that 2018-06-18 12:05:44 mepholic: docs and implementation go in different direction with time :) 2018-06-18 12:05:50 hf on ignore 2018-06-18 12:06:00 yup :) 2018-06-18 12:06:01 and be proud but silent member of sucka little less 2018-06-18 12:06:04 zava: how much spew you can chuck out per minute isn't a competition 2018-06-18 12:06:19 Im not going to read your last sentence 2018-06-18 12:06:25 goodbye good friend 2018-06-18 12:06:32 koollman: anyhow, I was figuring that since standard system block size is 512k, 256k strip size wasn't a bad option 2018-06-18 12:06:42 that way MY rationale for clicking OK on that at least 2018-06-18 12:06:54 protip: you must abandon your family if you want a shot at happiness 2018-06-18 12:07:11 thing is I just talk in chats, people lke you look for others to say something so you can comment on it 2018-06-18 12:07:55 mepholic: typical block size is 512 or 4k, not 512k 2018-06-18 12:08:08 zava: have you considered being on-topic and constructive? 2018-06-18 12:08:35 lmao koollman 2018-06-18 12:08:40 i always screw that up 2018-06-18 12:09:07 mepholic: assuming 4k (recent drive), you can reconsider the question as : do I use 16 or 128 blocs as a unit of operation in my card 2018-06-18 12:09:43 (or something in-between, too, if that's an option) 2018-06-18 12:10:29 there's a given amount of work per unit of operation, but there's a given latency to read or write a larger sized unit. And you want some balance 2018-06-18 12:10:36 ok so to be clear, any operation on a file less than 256k will gt written to it's own strip? 2018-06-18 12:10:48 or something along those lines? 2018-06-18 12:11:09 that's also a good point 2018-06-18 12:11:11 hm 2018-06-18 12:12:13 koollman: do you know what kind of performance damage I'd see when working with large files with a smaller strip size? less latancy for the data from disk -> os, but also less overall throughput? 2018-06-18 12:13:33 mepholic: yep. lower latency per access, but lower throughput. Although throughput can be pretty good if the card is fast and the disk is comparatively slow 2018-06-18 12:13:41 i'm thinking about just bumping down to 64k, that seems like the standard recommendation 2018-06-18 12:14:19 I would. And if I really doubt or wonder if I could improve ... measure it. This is just guessing, so far ;) 2018-06-18 12:14:26 yeah 2018-06-18 12:14:41 idk how many times I feel like nuking and recreating this array just to test out performance 2018-06-18 12:15:01 especially when I don't have a great idea of what will be optimal for my specific workload anyways 2018-06-18 12:16:19 i feel like I care most about compile speeds 2018-06-18 12:16:24 and that's generally smaller files 2018-06-18 12:16:49 koollman: thank you very much for your insights :D 2018-06-18 12:17:31 mepholic: strictly optimal size is stuff like "my database works with 64kB units of data" or "my backup software split operations in 4MB blocks". the rest is mostly a balance of "not too small or I waste computing power, not too large or I waste bandwidth when unneeded/increase latency" 2018-06-18 12:17:54 right 2018-06-18 12:18:11 not really running any super finnicky or perf sensitive software 2018-06-18 12:18:56 since this is all handled on a raid card that's way overspec for the job it's doing, I think 64k should be fine 2018-06-18 12:21:10 I'm interested in any benchmark you do on that card, too. I've wondered about paying for cache license for a while :) 2018-06-18 12:21:55 (ram is not getting much cheaper, and nvme/ssd drives are slowly decreasing in price... but I want faster access now! ;) ) 2018-06-18 12:24:43 koollman: you can buy a cachecade key for LSI cards on ebay for cheap 2018-06-18 12:24:51 i'll keep you in the loop 2018-06-18 12:24:57 once I get this system installed 2018-06-18 12:25:18 thanks again, I really appreciate it 2018-06-18 12:25:26 I'm working with nvme at work now ... and it feels really slow using my home hardware :) 2018-06-18 12:25:49 yeah, I understand 2018-06-18 12:26:08 like the first time going back to a spinning rust machine after using SSD's for years 2018-06-18 12:26:13 it's unbearable! 2018-06-18 12:52:49 sounds like something you can spend days on planning 2018-06-18 12:54:13 when someonemoved my computer I spilled water over it. Id like to have my laptop as my storage but its main now :/ 2018-06-18 12:54:36 so im gonna buy a powered usb hub to connect all the old drives 2018-06-18 12:55:11 because energypoop during gparted and a rootfs .. 2018-06-18 12:58:07 I wouldnt mention that someone moved it had I not asked for that person not to do it 4 times.because i put the pc there so no water/soda would spill into my computer 2018-06-18 12:58:20 what happens a day later of course 2018-06-18 12:58:37 I blocked that person 2018-06-18 13:19:15 by the way... if you buy a powered usb hub, make sure you get one that comes with a power supply that can give it enough power :) 2018-06-18 13:20:10 we bought some 10 port hubs here, usb3; the spec says each powered port needs to be able to give out a certain number of mA, but the power supply itself could only give the hub 60% of that 2018-06-18 13:21:14 I ended up spending quite some time trying to figure out why I couldn't just plug in 10 drives at once and use them :D 2018-06-18 15:16:06 omg good to know 2018-06-18 15:16:34 it's the only shop in this shopping town that has basic computer supplies. one of the guys that works there is a know it all the other is pretty nice 2018-06-18 15:16:48 I can only imagine the frustration 2018-06-18 15:16:55 argh 2018-06-18 15:17:10 do you have neough power now? 2018-06-18 15:21:33 for the usage scenario we had, we just dumped USB solutions entirely and went for Ethernet instead; so yes 2018-06-18 15:22:35 it was a lucky incident for me though; I had a workload of maybe six people at that point and was severely at the risk of burning out; that problem finally made project leaders realise we need more people in the team 2018-06-18 16:08:09 TBB: so they listen before it's too late? 2018-06-18 16:09:56 fortunately yes :) 2018-06-18 17:50:43 Hello. When executing 'git add --patch' I receive error message 'git: 'add--interactive' is not a git command' 2018-06-18 17:51:02 Anybody knows in what package it is now? 2018-06-18 17:57:16 git-perl. Not the most intuitive name. 2018-06-18 20:02:36 does alpine support kernel version 2.6.32 2018-06-18 20:04:09 smallville7123: isn't the 2.6.X series EOL for a few years now? 2018-06-18 20:04:26 Dunno 2018-06-18 20:04:44 we definitly don't have a 2.6.X kernel package 2018-06-18 20:05:52 2.6.39 seems to be EOL since August 2011, so maybe you should consider upgrading ;) 2018-06-18 20:06:47 ;-; 2018-06-18 20:07:58 smallville7123: if you only replace userspace, it might work 2018-06-18 20:08:33 smallville7123: but i strongly doubt there's an alpine package that contains kernel 2.6.x 2018-06-18 20:10:40 ;-; 2018-06-18 20:11:31 why is that sad, though? 2018-06-18 20:12:24 https://pkgs.alpinelinux.org/packages?name=linux-vanilla&branch=v3.3 <-- alpine 3.3 already had kernel 4.1 2018-06-18 20:18:59 How to compile Vim with x11 support? I tried to replace --without-x to --with-x in APKBUILD to no avail 2018-06-18 20:19:58 laskin: how does it fail? 2018-06-18 20:20:18 i guess you need to list the right build-dependencies too 2018-06-18 20:22:28 It doesn't fail. It builds fine. But vim --version lists with '-X11' 2018-06-18 20:22:38 and clipboard still not working 2018-06-18 20:23:07 ah. no idea, then 2018-06-18 20:40:07 libxaw-devel was missing, but configure thought its ok ): 2018-06-18 22:05:24 s/ 1 2018-06-19 01:06:11 clear 2018-06-19 01:06:16 Woops, sorry 2018-06-19 01:06:41 ACTION is in live-session and "can't tmux" 2018-06-19 05:41:19 hi 2018-06-19 05:41:22 hola 2018-06-19 05:41:54 alguien escribe en español? 2018-06-19 07:15:51 How do i enable networking in alpine armhf miniroot 2018-06-19 07:18:39 Asi cant find a resolve.conf 2018-06-19 07:18:43 as i* 2018-06-19 07:18:48 create it? 2018-06-19 07:18:53 resolv.conf* 2018-06-19 07:21:09 basic. either use dhcp for networking which takes care of it, or set up a static configuration and create resolv.conf manually 2018-06-19 07:22:43 Ok 2018-06-19 07:24:10 unistd.h no such file or directory 2018-06-19 07:29:37 https://dpaste.de/GJeK/raw 2018-06-19 07:32:47 smallville7123: https://pkgs.alpinelinux.org/contents here you can look for what package provides a needed file 2018-06-19 07:33:32 Ok 2018-06-19 07:44:32 Linux rpi 4.14.50-1-rpi #2-Alpine SMP PREEMPT Mon Jun 18 22:39:58 UTC 2018 aarch64 Linux 2018-06-19 07:44:45 we will have aarch64 rpi releases for 3.8 :) 2018-06-19 08:46:47 Does anyone know how to decode arm instructions 2018-06-19 09:13:16 clandmeter: Are you using mainline linux for the arm64 pi3? 2018-06-19 09:13:42 mainline with rpi patch. 2018-06-19 09:13:50 What kind of patch? 2018-06-19 09:14:05 I know raspberrypi maintains a fork on github. 2018-06-19 09:15:06 thats the patch 2018-06-19 09:15:29 ack 2018-06-19 09:16:17 In Devuan I used the 4.16 branch, fwiw. 2018-06-19 09:16:31 4.14 has flaky wifi, I'm unsure if it was fixed. 2018-06-19 09:17:23 we always stay with longterm. 2018-06-19 09:18:59 :nod: 2018-06-19 12:13:31 Hi. I have several Alpine host systems with many containers. What software do you use to manage multiple systems? At work we use puppet but this is a huge monster, which I want to avoid. 2018-06-19 12:15:26 misterunknown: this is not really alpine specific question, but i'd take a look at ansible 2018-06-19 12:15:49 it is probably the "smallest monster" 2018-06-19 12:22:39 kahiru: Thanks, I'll take a look. 2018-06-19 12:24:47 it there a timeline for 3.8? 2018-06-19 12:25:04 its almost boiling 2018-06-19 12:26:10 awesome, looking forward to it 2018-06-19 12:26:50 we are late, but thats more of a habbit. 2018-06-19 12:27:35 late for good purposes :D 2018-06-19 12:58:20 hello there; I try to have /dev/disk/by-uuid on my alpine; I did it once in the pass, the awnser was on the forum, somebody know which library I need to install ? 2018-06-19 12:58:57 bb00bb: you probably need udev 2018-06-19 12:59:02 (use setup-udev) 2018-06-19 13:00:38 dah make sense ;) 2018-06-19 13:02:16 wouah !!!!!!!! yes thank you@ararus 2018-06-19 13:03:41 you're welcome 2018-06-19 13:10:47 I thought that will fix my md's, but after creating few md like md0, md1, md2 than saving the detail into /etc/mdadm.conf with mdam --detail --scan /etc/mdadm.conf when I reboot my md start at md125 2018-06-19 13:15:52 somebody might point to me what i'm doing wrong ? 2018-06-19 13:17:10 can't remember exactly but I think it auto-allocates the md number if you don't specifically configure it 2018-06-19 13:17:14 bb00bb: Did you install Alpine linux via an different live system? I had this problem on a system where I installed Alpine from a Debian Jessie rescue system. 2018-06-19 13:17:38 in fact it's new hard drive I try to add 2018-06-19 13:17:47 the md I made a the install are fine 2018-06-19 13:20:58 bb00bb: Did you recreate the initfs? AFAIK, if you boot from a RAID device the initfs should know of all RAID device names. Otherwise it auto generates them. 2018-06-19 13:23:23 @misterunknown; initfs ? that's a good question :) I'll look for it 2018-06-19 13:25:30 is'nt it mkinitfs instead ? 2018-06-19 13:26:04 bb00bb: Sure, mkinitfs 2018-06-19 13:26:13 bb00bb: mkinitfs -c /etc/mkinitfs/mkinitfs.conf -b / 2018-06-19 13:27:09 bb00bb: Make sure you activated raid in /etc/mkinitfs/mkinitfs.conf 2018-06-19 13:31:12 @misterunknown u rock; i'll go update the wiki for that ;) 2018-06-19 13:33:23 hello. is alpine targeted mostly at desktop or server? also, does it have a package manager? 2018-06-19 13:34:00 talin: mostly server, but desktop also works good 2018-06-19 13:34:07 it does have a package manager, it's apk-tools 2018-06-19 13:34:47 cool, thank you 2018-06-19 13:52:53 Hello folks, wvdial is not available to install via apk add. Is there a way to request that it is? 2018-06-19 13:56:47 @rwgx1, wvdial still under active maintenance ? 2018-06-19 13:57:24 because the only ref I found is a archived repo : https://github.com/wlach/wvdial 2018-06-19 14:02:07 hey, I hope someone can help me connect the dots. I've got xfce installed on alpine 3.7 on a raspberrypi(v1). VLc is installed and I've made a non-root user. How can I get vlc to open at the users login as the only shell. no interface at all possible? 2018-06-19 14:06:56 @topcat, you means like a kiosk ? 2018-06-19 14:06:57 https://unix.stackexchange.com/questions/350906/simple-kiosk-startx-with-one-application-says-no-protocol-specified 2018-06-19 14:07:35 I'm not an expert, but I think you need at least a X 2018-06-19 14:08:06 yeh pretty much like that I guess. I've got X to run xfce, vlc connects to the stream I want. I'm just not sure how to put these 2 together 2018-06-19 14:09:48 at the link I sent to you, the person start vlc and connect it to a rtsp source 2018-06-19 14:11:28 and this one start a stream with VLC without the interface (https://superuser.com/questions/664826/play-vlc-stream-without-interface) 2018-06-19 14:24:05 Just been reading that. Looks right. just moving settings around to get it to actually open. it's putting all the right things in the terminal 2018-06-19 14:26:07 @bb00bb, thank you. Yes it is old but useful - it is in the ubuntu repositories. 2018-06-19 14:27:24 @bb00bb, the sshuttle package would be a good inclusion - I think. 2018-06-19 14:30:04 rwgx1: Well volunteered 2018-06-19 14:32:13 rwgx1: you could probably acomplish some of that "single kiosk application" functionality with some Xprofile scripts. 2018-06-19 14:32:32 @duncan - If anyone can provide a pointer or two, I would do it, or have a go. sshuttle is cool 2018-06-19 14:36:24 rwgx1: you could fill wishlist request at bugs.alpinelinux.org and explain why this packages is useful (instead of saying it's cool) so maybe someone of developers will package it 2018-06-19 14:39:03 mps: thanks for the suggestion, will do. 2018-06-19 14:40:30 rwgx1: sshutle vpn over ssh. right? 2018-06-19 14:42:24 mps: yes, I do this to access a whole subnet via a 'jumpbox', rather than port forwarding. 2018-06-19 14:42:53 understand, tnx 2018-06-19 14:49:48 does VLC 3 need qt5 not 4? 2018-06-19 14:59:53 Thanks for the advice, seems I have some issue with opening vlc to fix before I can actually answer my question. another time. 2018-06-19 20:28:49 Currently, does the abuild system ever create multiple APKs from a single source? 2018-06-19 20:29:44 depends a bit on what you mean by multiple apks 2018-06-19 20:30:36 add $pkgname-doc to the subpackages="" and you get a separate -doc.apk; add $pkgname-dbg and you get a debug symbols package, etc 2018-06-19 20:32:13 Ah, ok. Outside of 'ancillary' packages then. Does a single source compile to multiple packages that each have their own entry in an APKINDEX? For example in ubuntu, the "klibc" source creates both the libklibc.deb as well as klibc-utils, if that makes sense. 2018-06-19 20:33:23 I'm assuming based on your answer that is not the case in alpine 2018-06-19 20:33:57 it can do that; the ones I mentioned above are pretty much automatic as long as you specify them, but you can specify in an APKBUILD several packages and then write a packaging function for each 2018-06-19 20:35:11 Hrm, ok, ty TBB. 2018-06-19 20:36:45 the project I work for, for example, has certain tools and configs for various use cases in a single git repository and we just form the app APK and config APKs in the same build 2018-06-19 20:38:03 Is there a way to determine which source was used for any one apk? Trying to dedupe the building process, right now we do it by output package, however that sometimes means we build the same set of packages multiple times, since they are built from the same source. 2018-06-19 20:39:34 That's what i'm ultimately trying to solve 2018-06-19 20:40:08 that goes a bit beyond my skills, but abuild has some support for at least git checkouts and it does carry the commit id into the package metadata, if I'm not mistaken 2018-06-19 20:40:42 hrm, ok i'll investigate that then. ty again 2018-06-19 20:40:58 I would personally use a release manifest of some sort and keep track of what I've built before 2018-06-19 20:41:55 yea, that's a possibility, but in the case where a new package gets released, we won't know what it does before we build it, which means at least on "discovery" build is required 2018-06-19 20:42:28 and i'd rather not rely on a database that is outside of the packaging system if possible, but that's one avenue to solve this issue for sure 2018-06-19 20:43:08 you've probably read the APKBUILD reference by now? 2018-06-19 20:43:12 yea 2018-06-19 20:44:30 I don't see the information I need in APKINDEX file, so was hoping there was some other tooling I didn't know about, or even better 1source=1package, but that's not the case 2018-06-19 20:48:56 I think you're right though, I should be looking at the git repo information, that might have what I need. Cheers 2018-06-19 20:57:03 look at .PKGINFO that's inside the .apk tar package itself... I wish I could remember right away where the git related information was stored exactly 2018-06-19 20:58:20 ACTION looking 2018-06-19 20:59:32 I remember some of it ends up in the apk installed packages db when you install a package 2018-06-19 21:08:55 TBB, interesting. I see a "provides" field in the .PKGINFO, but it looks like it gives information on installed commands. I was about to search each APKBUILD for the "sub-package" field and see if I can find any that provide extra packages. If you'd like I can update you on progress 2018-06-19 21:28:49 TBB, so the answer is to just parse the APKBUILD files in the source /aports, and just create a collection that way (or parse it for every query, which is probably what we'll do) 2018-06-19 21:29:07 Thanks for your help 2018-06-20 01:34:25 TBB: thanks for the help the other day. i never did actually figure out what was wrong, but yet another drive wipe and reinstall did the trick. now i just have to get mpv and grsec to play nice with each other! 2018-06-20 07:30:19 Hi. I have problems using DHCP with DDNS, because the dhcp clients on my alpine containers start with the parameter "-x hostname:localhost". Where can I change this? I already changed the hostname in /etc/hostname and /etc/conf.d/hostname and /etc/hosts. 2018-06-20 07:32:40 Nevermind, the problem was in the /etc/network/interfaces (hostname localhost) -.-" 2018-06-20 08:33:55 Hi there. I'm writing a dockerfile that starts with python:3.6-alpine and installs my app. my app has some dependencies that i need to install first and i'm trying to understand how to write that in an optimised way that minimises image creation time and final image size 2018-06-20 08:34:26 I need git but only during the build, to clone repo's. I need to do this 3 times. Should I do RUN apk --no-cache --virtual .build add git && git && apk del .build every time or should i install git at the top and then remove at the bottom? 2018-06-20 09:34:35 Minty: I would install git once and remove it at the end. 2018-06-20 09:57:32 misterunknown: ok thanks. do i do that with just apk add --no-cache git 2018-06-20 09:57:42 6 2018-06-20 09:57:49 misterunknown: or should i do apk --no-cache --virtual .build add git 2018-06-20 10:17:06 https://paste.pound-python.org/show/ADtjLLAw6G6jC9lJmb2u/ what dependency am i missing? 2018-06-20 10:17:37 probably some headers 2018-06-20 10:18:15 cffi is a C extensions, so you need gcc, musl headers, and so more 2018-06-20 10:20:02 asyd: is there a complete list somewhere? 2018-06-20 10:20:41 try apk add gcc musl-dev make alpine-sdk 2018-06-20 10:21:58 asyd: what about build-base? 2018-06-20 10:22:06 https://wiki.alpinelinux.org/wiki/GCC 2018-06-20 10:22:36 oh, also python3-dev (if you're using python3) 2018-06-20 10:24:14 asyd: why do i need python3-dev? my base image is python:3.6-alpine 2018-06-20 10:24:19 anyone having issues with edge/vim-8.1? i tried downgrading to v3.7/vim-8.0 but im getting bad signature, and i dont have a cached package of edge/8.0 2018-06-20 10:24:40 Minty: because you need python headers 2018-06-20 10:24:43 8.1 seems to have issues loading runtime files for syntax highlighting 2018-06-20 10:25:56 asyd: i'm not sure what that means but are you sure that's not included in the python:3.6-alpine base image? 2018-06-20 10:26:11 just run apk add python3-dev and check ? 2018-06-20 10:32:23 asyd: i don't understand what i'm checking for 2018-06-20 10:35:27 opal: no problem here with vim, it works as usual 2018-06-20 10:36:32 vim-8.1.0026-r0 2018-06-20 10:37:25 opal: ah, you are using stable, but in stable there weren't problems with vim 2018-06-20 11:08:00 10:37.26 < mps:#alpine-linux> opal: ah, you are using stable, but in stable there weren't problems with vim 2018-06-20 11:08:12 im on edge but i was looking at stable repo to find version 8.0 of vim 2018-06-20 11:09:37 opal: in my experience vim works well on stable and on the edge 2018-06-20 11:10:12 hm alright 2018-06-20 11:10:41 and mixing stable and edge is not good idea, although I do ;) 2018-06-20 11:12:25 i'll try with -u NONE then if that doesnt work ill just delete all vim-related files and clean install it 2018-06-20 11:12:49 are 3.7 and edge signed by different keys or something 2018-06-20 11:13:32 opal: maybe you have something in your .vimrc which make a problem 2018-06-20 11:22:25 Is anyone able to take a look at this and suggest any changes / optimisations; https://paste.pound-python.org/show/jB7J61lPyjFSJuOHQqwf/? My built image is 430 MB and it takes about 3 minutes to build. This is in part because of the amount of python dependencies that my main app has but wondering if there's anything I can do to improve creation speed or final image size. 2018-06-20 11:35:42 oh shit mps it's a file in .local/share doing it 2018-06-20 11:36:00 dunno how it got there but i'll move it somewhere else to see if it fixes it 2018-06-20 11:36:23 my question about package signing still stands; maybe i can find my answer in the wiki though 2018-06-20 11:37:40 wait i thought it was .local/share 2018-06-20 11:37:43 i'll figure it out 2018-06-20 11:48:45 'apk policy vim' could help maybe 2018-06-20 11:51:03 oh no i see now, its looking at /usr/share/vim/vim80 not vim81 2018-06-20 11:51:12 ok 2018-06-20 11:51:19 idk how that happened 2018-06-20 11:52:34 ok fixed 2018-06-20 13:28:41 does anyone know if it's possible to get the gencat command on alpine linux? 2018-06-20 13:37:50 Hey alpine people, sorry for the slightly OT message but I'm working on a kubernetes distro using alpine as a host os and I'm in a tight race to win an logo for the project. I'd love if you could give me a thumbsup on this comment https://github.com/arasatasaygin/openlogos/issues/14#issuecomment-398411024 2018-06-20 13:38:07 aventx: is the source available? you could build it 2018-06-20 13:38:57 Minty: you should be doing the build in two stages 2018-06-20 13:39:12 @deedubs i'm attempting to build it currently. It's part of glibc 2018-06-20 13:39:15 higher in your dockerfile add requirements.txt and do the install of the deps 2018-06-20 13:39:45 then add the rest of the code AFTER the dep install, this will allow you to cache the result of the dep install unless requirements.txt changes 2018-06-20 13:40:47 i'm not actually doing it in a container. Just need to get a working binary that's compatible with alpine 2018-06-20 13:43:15 Yeah sorry that was for Minty. Have you looked at `libc6-compat` 2018-06-20 13:46:35 deedubs: No I haven't let me give that a look now 2018-06-20 14:16:09 Minty: still around ? 2018-06-20 14:16:21 tmh1999: yea sorry 2018-06-20 14:16:37 if you still need help on your Dockerfile, I'm looking in it 2018-06-20 14:16:49 tmh1999: thanks, that would help. just looking @ deedubs remarks also 2018-06-20 14:16:57 deedubs: what do you mean by 2 stages - 2 separate docker files? 2018-06-20 14:17:26 deedubs: but i can't put requirements.txt any higher because it depends on the apk installs... 2018-06-20 14:19:28 move this to the bottom `ADD . /titan/` 2018-06-20 14:19:55 your file seems fine, I'm not Docker expert, but I would RUN apk ad --no-cache --virtual .mybuild [list of packages] for all packages in the top of the file for 1 time only, then apk del .mybuild at the end. 2018-06-20 14:22:20 so docker builds cache layers, so you want to move things that don't change often to earlier in the build 2018-06-20 14:23:38 this is how we often do it in nodejs https://paste.pound-python.org/show/q50mub9Xdj1Zyc5K9Umn/ 2018-06-20 14:30:50 deedubs: hang on, i'm still not understanding how this will work 2018-06-20 14:31:08 deedubs: do you have my pastebin in front of you? can we talk about line numbers etc.? 2018-06-20 14:31:22 yes 2018-06-20 14:31:23 deedubs: so line 11 is dependent on line 9 and line 6. line 9 is not dependent on 6 2018-06-20 14:31:42 deedubs: but that just means that line 9 and 6 could be swapped which i don't think offers any benefit 2018-06-20 14:33:10 line 6 should be the last thing you do in your dockerfile 2018-06-20 14:33:19 deedubs: you're misunderstanding 2018-06-20 14:33:26 deedubs: again - LINE 11 is dependent on LINE 6 2018-06-20 14:33:35 no your misunderstanding 2018-06-20 14:33:39 line 11 is installing the files that are added from line 6 2018-06-20 14:33:43 you don't want to add all your code that high up 2018-06-20 14:33:51 you want to add JUST what you need on line 11 2018-06-20 14:33:52 deedubs: i need to! it's what i'm installing! 2018-06-20 14:33:54 so requirements.txt 2018-06-20 14:34:09 nope, requierments.txt installs the app itself 2018-06-20 14:34:13 the second line in requirements.txt is -e . 2018-06-20 14:34:14 We are having some storage issues (disk full) so some services (like git) are temporary having issues. 2018-06-20 14:34:41 oh, that's my lack of experience with python then 2018-06-20 14:34:53 can you not seperate your dep install from your code? 2018-06-20 14:35:07 i guess i could 2018-06-20 14:35:22 will that cause the installation of requirements to be cached? 2018-06-20 14:35:23 that's how you'll get 10 second docker builds 2018-06-20 14:35:26 yes 2018-06-20 14:35:27 why isn't the current installation being cached? 2018-06-20 14:35:41 nothing is changing in my app so why isn't docker cacheing that whole line 11 2018-06-20 14:35:49 or line 9 for that matter 2018-06-20 14:35:52 line 9 is not cached either - why not? 2018-06-20 14:35:59 becase you add your whole codebase so high up in your dockerfile 2018-06-20 14:36:06 but my codebase hasn't changed 2018-06-20 14:36:09 so why is docker not cache2018-06-20 20:18:24 does anyone know why fmask will not change from 0022 when mounting vfat. 2018-06-20 20:18:25 ? 2018-06-20 20:19:51 /dev/sda1 /media/sda1 vfat ro,relatime,fmask=0027,dmask=0022,errors=remount-ro 0 0 2018-06-20 20:19:54 does nothing 2018-06-20 20:19:59 in fstab 2018-06-20 21:13:23 Hi. Do you have any problems with playing videos in Firefox? I have only youtube playing fine, and all other sites failing ): 2018-06-20 21:14:34 Chromium works fine though. 2018-06-21 01:54:14 I had those once but since I downloaded some specific plugin for firefox it's been flawless 2018-06-21 03:19:28 Hi guys, we're looking forward to giving Alpine a go, but we are dependent on the newer kernel that's in the RC. Any idea when it might be released? :) 2018-06-21 05:45:38 MiggyX, we only ship longterm kernels 2018-06-21 05:58:08 clandmeter: My apologies, I thought 4.14 was in your RC6. Basically anything over 4.13 is fine :) 2018-06-21 10:14:55 hello 2018-06-21 10:15:20 is there anything to install to be abble to use charset cp1252 with zendpdf ? 2018-06-21 10:17:08 ok my problem is strange but i'm ok to answer 2018-06-21 10:22:54 we have apache php7 and zend2 on a alpine 2018-06-21 10:23:03 we try to use zendPdf 2018-06-21 10:23:33 when we try to create a pdf, we have a problem with text that never appear on pdf file 2018-06-21 10:25:28 in code i see that there's a iconv on text from UTF-8 to cp1252\\IGNORE 2018-06-21 10:25:59 if i change cp1252 to iso-8859-1 there's no problem so there's a problem with cp1252 for me 2018-06-21 10:26:12 i hope it's more clear, so if someone have any idea 2018-06-21 11:25:38 hello 2018-06-21 11:25:52 hello ! 2018-06-21 11:26:18 I'm trying alpine 3.7.0 in qemu, I have install xf86-input-{mouse,keyboard,evdev} but when I startxfce4, I don't have mouse or keyboard even though xfce4 starts correctly 2018-06-21 11:27:15 of I forgot to add dbus, perhaps it will work better with :P 2018-06-21 11:27:48 markand: dbus and udev 2018-06-21 11:28:19 udev is probably more significant to that problem than dbus 2018-06-21 11:28:32 thanks I add both 2018-06-21 11:29:49 hmmm still nothing (udev dbus running) 2018-06-21 11:31:24 maybe xf86-input-libinput? 2018-06-21 11:31:30 how do you start qemu? 2018-06-21 11:31:37 it is installed from setup-xorg-base 2018-06-21 11:31:45 ok 2018-06-21 11:31:47 qemu-system-x86_64 -enable-kvm -m 2G -smp 4 -hda ./alpine.img 2018-06-21 11:33:00 what's weird is that grep -i mouse /var/log/Xorg.0.log does not find anything (same for keyboard) 2018-06-21 11:33:37 okay it works with Xorg -configure'd file 2018-06-21 11:34:21 alpine-standard or alpine-virt? 2018-06-21 11:35:26 the standard :) 2018-06-21 11:36:52 deen i pleh eht teg ot redro ni siht od ot em dlot enoemos 2018-06-21 11:37:26 zava: no it just makes you look like a bloody dork 2018-06-21 11:38:41 takes one etc :) 2018-06-21 11:39:22 isn't adwaita supposed to be available from gtk+3? I don't see it in Xfce 4 settings 2018-06-21 11:39:32 haha xD 2018-06-21 11:39:48 11:39.37 [freenode] -!- ircname : Oh grow up :) 2018-06-21 11:39:50 you first TBB 2018-06-21 11:40:06 that was a necessity unfortunately 2018-06-21 11:40:20 markand, probably in a separate package 2018-06-21 11:42:58 ah yes it's in adwaita-gtk2-theme since this version of Xfce still use gtk2 though 2018-06-21 11:45:30 theming doesn't really work very reliable on XFCE+Alpine though; set an icon theme if you want but don't touch window theming, no matter what you do 2018-06-21 11:45:45 because as soon as you do you'll end up in trouble with gtk apps 2018-06-21 11:46:26 markand: i tried set up xfce in alpine v3.8 iwth alpine-virt 2018-06-21 11:46:30 and mouse works 2018-06-21 11:47:24 what didnt work was setup-udev since eudev was not installed 2018-06-21 11:47:40 so apk add eudev before running setup-xorg-base helped 2018-06-21 11:49:06 okay :) 2018-06-21 11:49:17 =(^.^)= 2018-06-21 11:50:36 try run setup-udev 2018-06-21 11:50:40 and reboot or similar 2018-06-21 11:51:13 I got it working from the Xorg -configure + copied to /etc/X11/xorg.conf :) 2018-06-21 11:51:20 but let me try evertheless 2018-06-21 11:52:26 i will fix setup-xorg-base 2018-06-21 11:54:04 setup-udev puts udev in default runlevel, IIRC 2018-06-21 11:56:07 I had to 'move' it to sysinit 2018-06-21 11:59:57 opal: I hide behind the dork-identity 2018-06-21 12:00:13 or rather 2018-06-21 12:00:21 ytitnedi-krod eht dniheb edih I :lapo 2018-06-21 12:27:52 don't lure his out tho, zava 2018-06-21 12:50:06 hello 2018-06-21 12:50:27 how can i know if font Helvetica is install on my system ? 2018-06-21 12:50:49 You would look for the font files in the relevant places 2018-06-21 12:51:18 (It probably isn't installed, given you're asking if it's installed, and it's not freely redistributable) 2018-06-21 12:55:23 duncan^: have you see my explaination about my problem i write before ? 2018-06-21 12:57:25 we have apache php7 and zend2 on a alpine we try to use zendPdfwe try to use zendPdf when we try to create a pdf, we have a problem with text that never appear on pdf file in code i see that there's a iconv on text from UTF-8 to cp1252\\IGNOREin code i see that there's a iconv on text from UTF-8 to cp1252\\IGNORE if i change cp1252 to iso-8859-1 there's no problem so there's a problem with cp1252 for 2018-06-21 12:57:31 me 2018-06-21 13:00:22 How is that related to your question about the Helvetica font? 2018-06-21 13:02:54 duncan^: i try to know if problem come from cp1252 of from font i try to use 2018-06-21 13:03:50 before i use ubuntu and we migrate to alpine and config is the same and i have this problem so i try to find why 2018-06-21 13:07:28 duncan^: do you have any idea about where can come problem 2018-06-21 13:09:35 No, sorry. 2018-06-21 13:10:35 thanks, it's a very strange problem 2018-06-21 14:13:05 hmm anyone know how to stop the APKINDEX files being updated on boot 2018-06-21 14:13:20 i'm running alpinelinux on a router so my WAN link isn't up yet when it tries to do that 2018-06-21 14:20:23 Why is GNU acct installed by setup-disk? 2018-06-21 14:43:09 tya99: does APKINDEX update on boot? sounds strange. 2018-06-21 15:23:38 i think apk refreshes index after x time. 2018-06-21 15:32:56 interesting. need to find the code segment that does it. 2018-06-21 17:21:25 hmm anyone had any issues with rngd since 3.8? 2018-06-21 17:22:02 was working in 3.7 for me but now i notice 2018-06-21 17:22:04 * start-stop-daemon: caught an interrupt 2018-06-21 17:22:12 * start-stop-daemon: /usr/sbin/rngd died 2018-06-21 17:22:23 i am not able to get anything really meaningful from it either 2018-06-21 17:22:35 i know it should be working because dmesg shows 2018-06-21 17:22:54 [ 0.559749] bcm2835-rng 3f104000.rng: hwrng registered 2018-06-21 17:23:09 its no longer a kernel module anymore obviously (another change i noticed from 3.7 to 3.8 2018-06-21 17:23:32 I've seen that happen on 3.7 as well 2018-06-21 17:23:44 my /etc/conf.d/rngd has RNGD_OPTS="--no-drng=1 --no-tpm=1 -o /dev/random -r /dev/hwrng" 2018-06-21 17:23:53 it's a raspberry pi so i don't have TPM 2018-06-21 17:25:34 hmmm i think its because it is trying to load from /dev/tpm0 2018-06-21 17:25:58 # rngd -f -d -o /dev/random -r /dev/hwrng --no-tpm=1 2018-06-21 17:26:00 rngd: unrecognized option `--no-tpm=1' 2018-06-21 17:26:14 # rngd -f -d -o /dev/random -r /dev/hwrng 2018-06-21 17:26:16 Unable to open file: /dev/tpm0 2018-06-21 17:26:18 Failed to init entropy source 1: TPM RNG Device 2018-06-21 17:26:20 might be why it's failing 2018-06-21 17:27:02 # rngd -f -l 2018-06-21 17:27:05 Entropy sources that are available but disabled 2018-06-21 17:27:07 None 2018-06-21 17:27:09 Initalizing available sources 2018-06-21 17:27:11 Available entropy sources: 2018-06-21 17:27:13 0: Hardware RNG Device 2018-06-21 17:27:15 hmm 2018-06-21 17:29:57 try the short option 2018-06-21 17:30:37 there isn't one 2018-06-21 17:31:03 its really not very helpful lol 2018-06-21 17:31:12 https://dpaste.de/CcRE 2018-06-21 17:31:18 ill be fucked if i can figure out how to do that 2018-06-21 17:31:35 i looked at x but it doesn't come up as an entropy source 2018-06-21 17:32:43 oh maybe -f 2018-06-21 17:33:16 hmm no that's foreground 2018-06-21 17:33:20 i think they removed it or something 2018-06-21 17:33:25 https://unix.stackexchange.com/questions/131045/how-to-modify-rngds-default-command-line 2018-06-21 17:36:19 https://www.reddit.com/r/archlinux/comments/3scm3x/created_a_new_wiki_entry_about_rngtools/cww99qj 2018-06-21 17:36:34 they must have removed it or some shit 2018-06-21 17:38:27 https://wiki.archlinux.org/index.php/Rng-tools 2018-06-21 17:38:28 -n and -d used to be the ones for TPM and DRNG 2018-06-21 17:38:44 version 5 2018-06-21 17:38:44 hmm 2018-06-21 17:38:59 -d is for debug now lol 2018-06-21 17:39:20 oh, oh. remove the options completely. 2018-06-21 17:39:25 -n, --include=n Enable the numbered entropy source specified 2018-06-21 17:39:42 what version are you running? 2018-06-21 17:39:44 ii have rngd 6 2018-06-21 17:39:53 what useless idiots 2018-06-21 17:39:55 :P 2018-06-21 17:40:12 # rngd -V 2018-06-21 17:40:15 rngd 6 2018-06-21 17:40:17 Copyright 2001-2004 Jeff Garzik 2018-06-21 17:40:19 Copyright 2017 Neil Horman 2018-06-21 17:40:21 Copyright (c) 2001 by Philipp Rumpf 2018-06-21 17:40:23 This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 2018-06-21 17:40:24 oh there's a version 6 now, I didn't even know 2018-06-21 17:40:24 hmm 2018-06-21 17:41:01 yep in 3.8 2018-06-21 17:41:16 did running it on the foreground not crash? 2018-06-21 17:41:35 because if it didn't then running it without options should be the solution 2018-06-21 17:41:58 yeah it just hangs 2018-06-21 17:42:05 on the fact it finds no tpm device 2018-06-21 17:42:21 i dont think it crashes unless u daemonise it 2018-06-21 17:42:32 yeah rngd -b 2018-06-21 17:42:35 makes it die 2018-06-21 17:43:06 please paste the options from v5 will you 2018-06-21 17:43:12 im curious to see whats changed 2018-06-21 17:43:59 https://sourceforge.net/projects/gkernel/files/rng-tools/ 2018-06-21 17:44:03 no version 6 in there 2018-06-21 17:44:09 so i don't know where that comes from 2018-06-21 17:44:29 ScrumpyJack: you're the maintainer :) 2018-06-21 17:45:15 looks like it is maintained elsewhere 2018-06-21 17:45:25 https://github.com/nhorman/rng-tools 2018-06-21 17:46:27 https://github.com/nhorman/rng-tools/releases 2018-06-21 17:47:24 he hasn't updated ChangeLog lol 2018-06-21 17:47:43 okay, first of all the conf.d file is plain wrong 2018-06-21 17:47:59 is it? 2018-06-21 17:48:04 what is supposed to be in there 2018-06-21 17:48:16 and second, the behaviour has changed. it seems to have 3 different entropy sources and you need to enable what you use and disable what you don't 2018-06-21 17:48:24 yeah 2018-06-21 17:48:36 so the options in /etc/conf.d/rngd need to just be changed i think 2018-06-21 17:48:41 the conf.d file has v5 syntax that is no longer used 2018-06-21 17:48:52 yup that's what i thought 2018-06-21 17:49:02 so now i have to figure out how to tell it to stop looking for TPM 2018-06-21 17:49:22 i will update our wiki when i figure it out because nobody seems to be using v6 :P 2018-06-21 17:49:39 so when you run it, lists you some devices it tries to use; -x with the index of the tpm should disable it 2018-06-21 17:50:11 and that's what you need to put in the rngd_opts of the conf.d file 2018-06-21 17:51:23 yeah that doesn't show the TPM device in rngd -l 2018-06-21 17:51:42 Available entropy sources: 2018-06-21 17:51:45 0: Hardware RNG Device 2018-06-21 17:51:55 # rngd -e0 -f -d -o /dev/random -r /dev/hwrng 2018-06-21 17:52:40 so i have to figure out how to put -x in there 2018-06-21 17:53:17 maybe -x1 2018-06-21 17:53:25 right after -e0 add -x1 and possibly -x2 if it still doesn't work 2018-06-21 17:53:45 gateway:~# rngd -e0 -x1 -f -d -o /dev/random -r /dev/hwrng 2018-06-21 17:53:48 Disabling 1: TPM RNG Device 2018-06-21 17:53:56 maybe flip it around 2018-06-21 17:54:21 not sure how the logic works, it can either disable all and enable the -e ones if you use that option, or enable all and disable the ones with -x 2018-06-21 17:54:41 this little emachine has no rng sources so I can't really check 2018-06-21 17:54:43 i thnk it is working :D 2018-06-21 17:54:51 coolness 2018-06-21 17:54:55 # rngd -x1 -e0 -f -d -o /dev/random -r /dev/hwrng 2018-06-21 17:54:57 Disabling 1: TPM RNG Device 2018-06-21 17:54:59 looks right 2018-06-21 17:56:16 w00t 2018-06-21 17:56:21 there's a chance the config wasn't changed because it needs to be configured per hardware and there was no sensible default... who knows 2018-06-21 17:56:25 now to document it so other people know! 2018-06-21 17:56:45 TBB: yeah well i just didn't expect the switches to be just "changed" 2018-06-21 17:56:58 if you have a bugs.a.o account, file a bug report 2018-06-21 17:56:59 if i was the author i would have put a warning out to syslog 2018-06-21 17:57:08 if old options are used 2018-06-21 17:57:24 assuming that they couldn't be put in a deprecated state somehow and then finally removed later down the track 2018-06-21 17:57:39 yeah i will do in the morning 2018-06-21 17:57:55 better go to bed before it is any later 2018-06-21 17:58:18 i need to tidy up that wiki article actually 2018-06-21 17:58:23 https://wiki.alpinelinux.org/wiki/Linux_Router_with_VPN_on_a_Raspberry_Pi 2018-06-21 17:58:36 a lot in there that could be in sub articles the rng stuff being one of those things 2018-06-21 17:58:56 i will put in bold that the options have changed since version 5 2018-06-21 22:20:49 in APKBUILD i have 'makedepends="libmtp-dev libusb-dev fuse-dev"'. Do I need to put 'depends="libmtp libusb fuse"' or will abuild do it automatically 2018-06-21 22:22:13 <_ikke_> You need to put it there afaik 2018-06-21 22:24:02 I did, and I've got next answer http://tpaste.us/6Dwl to 'apk info -R simple-mtpfs' 2018-06-21 22:24:26 so:libmtp.so.9 and libmtp 2018-06-21 22:24:48 <_ikke_> right, abuild will trace all the basic so deps indeed 2018-06-21 22:25:02 and same for libusb and fuse 2018-06-21 22:26:26 looks like it somehow conclude from makedepends what to put in depends for apk 2018-06-21 22:26:40 <_ikke_> no, not from the makedepends 2018-06-21 22:26:47 <_ikke_> it just looks at the binaries 2018-06-21 22:27:03 <_ikke_> and sees what dynamic libraries are requried 2018-06-21 22:27:32 ok, I will try now to build without depends to see what will happen 2018-06-21 22:29:17 with 'depends=""' (empty) I 2018-06-21 22:29:21 'sorry 2018-06-21 22:30:01 with 'depends=""' (empty) I've got next answer http://tpaste.us/VRJ1 to 'apk info -R simple-mtpfs' 2018-06-21 22:31:05 is that valid for apk which depends on the libmtp, libusb and fuse 2018-06-21 22:35:00 btw, 'apk info -r libmtp' shows simple-mtpfs in list of package which depends on libmtp 2018-06-21 22:36:01 anyone could give a hint? 2018-06-21 23:51:46 mps: that looks fine 2018-06-21 23:52:22 as _ikke_ said, apk automatically determines that stuff, and the libmtp/fuse/libusb packages have entries for those `so:lib*.so` entries 2018-06-22 03:31:18 anyone found the net.ipv4.tcp_tw_recycle=1 key appears to be unknown 2018-06-22 03:31:42 worked in 3.7 doesn't in 3.8 so i'd say it's something to do with the upgraded kernel 2018-06-22 03:34:09 i noticed it in https://wiki.alpinelinux.org/wiki/Sysctl.conf 2018-06-22 03:48:25 i think it might have gotten removed 2018-06-22 04:47:23 removed in linux 4.12 2018-06-22 08:24:58 hello 2018-06-22 08:25:11 how can i see if cron service is activated ? 2018-06-22 08:26:53 <_ikke_> rc-status cron 2018-06-22 08:27:07 thanks 2018-06-22 08:27:09 <_ikke_> or whatever the cron service is called 2018-06-22 08:27:28 rc-status is not found 2018-06-22 08:27:56 <_ikke_> are you in a container? 2018-06-22 08:28:14 hmm i noticed dhcpcd seems to be messing up the link local addresses on my ipv6 vlans 2018-06-22 08:28:25 if i have it in the default run level 2018-06-22 08:28:26 <_ikke_> and apparently rc-status does not take a service name 2018-06-22 08:28:34 _ikke_: yes 2018-06-22 08:28:34 if i don't and i run it after i get a shell then it seems to work fine 2018-06-22 08:28:45 https://i.imgur.com/zlXS437.jpg eg i noticed this while booting 2018-06-22 08:29:05 <_ikke_> Zmanu: containers typically don't have services running 2018-06-22 08:29:16 <_ikke_> Zmanu: that is, if you are using docker for example 2018-06-22 08:29:24 <_ikke_> You just start a single process 2018-06-22 08:29:25 and my interfaces https://dpaste.de/zSvB when i have dhcpcd running in the default run level 2018-06-22 08:29:58 _ikke_: yes i use docker 2018-06-22 08:30:13 if i wait until after the machine is booted and start it i notice they exist for eth0.2 and eth0.3, unlike here https://dpaste.de/zSvB 2018-06-22 08:30:44 dhcpcd really should only start after the interfaces are up 2018-06-22 08:30:51 so i think that might be a bug in the rc.d script 2018-06-22 08:31:13 _ikke_: i'm sure service don't run, but admin don't believe me so i try to have something to tell him it's not running 2018-06-22 08:31:35 should i report this on the bug tracker? 2018-06-22 08:33:50 _ikke_: so where service must be start and how may he do to use the good container ? 2018-06-22 08:37:11 <_ikke_> docker containers are not virtual machines. You just start a single process which runs isolated from the rest 2018-06-22 08:37:37 <_ikke_> Zmanu: You can however have this single process start other processes again (like crond) 2018-06-22 08:38:22 <_ikke_> Zmanu: so if you do something like docker run .. /bin/process, that process will be the only thing that runs inside this container, unless that process starts other things 2018-06-22 08:38:55 _ikke_: ok thanks for answer 2018-06-22 08:43:31 <_ikke_> tya99: https://git.alpinelinux.org/cgit/aports/tree/main/dhcpcd/dhcpcd.initd#n9 here it says it provides net 2018-06-22 08:43:51 <_ikke_> which seems to imply that it would take care of setting up the interfaces as well 2018-06-22 08:44:15 mm maybe i shouldn't set any interfaces then in /etc/network/interfaces 2018-06-22 08:44:21 and should let dhcpcd set them all 2018-06-22 08:44:50 it almost sounds like a race condition of a sorts 2018-06-22 08:45:04 the fact that eth0.4 has a scope link and eth0.2 and eth0.3 do not 2018-06-22 08:45:18 and they all do if i don't start dhcpcd until after i have sh# 2018-06-22 08:45:31 (all do come up) that is 2018-06-22 08:45:32 <_ikke_> tya99: Isn't it enough to set the ip address automatic in /etc/network/interfaces? 2018-06-22 08:45:56 well this machine IS a router so they should be static 2018-06-22 08:46:15 <_ikke_> why are you using dhcpcd then? 2018-06-22 08:46:45 to delegate prefix routes 2018-06-22 08:46:53 to hosts on my LAN side 2018-06-22 08:47:04 (ipv6 only) 2018-06-22 08:47:07 eg 2018-06-22 08:47:13 https://dpaste.de/3ePn 2018-06-22 08:47:24 <_ikke_> dhcpcd is the client daemon 2018-06-22 08:47:29 <_ikke_> not a dhcp server 2018-06-22 08:47:34 no that's correct 2018-06-22 08:47:40 but apparently you need it for the routes 2018-06-22 08:47:56 from the ppp connection 2018-06-22 08:48:25 which is why it's only operating on that one interface in ipv6 mode 2018-06-22 08:49:34 my interfaces look like so: https://dpaste.de/kbhT 2018-06-22 08:49:49 i am only delegating routes to eth0.2 2018-06-22 08:50:35 eth0.3 will be NAT66 out VPN so i'm not worried about configuring that interface 2018-06-22 08:51:24 it's used in conjunction with radvd 2018-06-22 08:53:54 _ikke_: i suppose dhcpcd providing net is right in some cases 2018-06-22 09:01:55 maybe i should use allowinterfaces 2018-06-22 09:23:06 tya99: about rng-tools. I've not been active in alpine linux for a while now (which depresses me somewhat) 2018-06-22 09:23:20 i hope to make time after the summer 2018-06-22 09:43:12 im going to update the doco in a bit 2018-06-22 10:35:52 hi all, i'm new to alpine linux and am thinking of using it to replace our cento's vm's. I have test image (virt image of v3.7), and i'm trying to configure syslog to output the time correctly. syslog appears to output the time 1 hour behind its actual time, i've tried running with "-Z" for the server, my /etc/localtime is pointing to my correct timezone, i've also tried installing the tzdata package and updating /etc/TZ with the correct 2018-06-22 10:35:52 timezone, but syslog always logs an hour behind. My timezone has DST and i'm thinking this is the issue, but I cannot, for the life of me, get syslog to log the correct time. date, on the otherhand, prints the correct time. Anyone have any ideas that I could try to get this working? 2018-06-22 10:37:22 Asgaroth: do you use busybox syslog or some other 2018-06-22 10:37:45 its the default alpine syslog, so i'm guessing its the busybox syslog 2018-06-22 10:39:15 bear with me on this, i've only been playing with alpine for about a week now, so still getting used to its setup, although i've been working with linux (RH/CentOS) for a couple years, so, if i get some alpine nomenclature wrong, appologies in advance 2018-06-22 10:39:31 that is the problem, busybox syslog doesn't work out of the box well 2018-06-22 10:40:16 no problem, we all are were new in some time 2018-06-22 10:40:20 a lot of things don't work (well) out of the box with busybox 2018-06-22 10:40:23 oh, i was hoping to keep the image minimal, is it recommend to switch to rsyslog or something like that? 2018-06-22 10:42:11 probably, there are few packages so you can select one which best fit your use case 2018-06-22 10:42:48 I did see some bugs on the alpine tracker with busybox syslog times, but they all seemed to get it sorted out if the either, disabled the "-Z" startup parameter, or byt installing the tzdata package and updating /etc/TZ, but that doesnt seem to be working for me :( 2018-06-22 10:45:39 well, looks like the idea is in that that the only valid time is UTC 2018-06-22 10:46:01 could be that idea is fixed in busybox syslog 2018-06-22 10:46:53 on a side note, is busybox syslog able to send messages to a central syslog server over tcp? i see it has a -R option but is that udp only? 2018-06-22 10:47:44 in my experience busybox applets are just first aid tools and not meant for serious task 2018-06-22 10:48:15 yeah, i saw that by default /etc/TZ is set to UTC, but the added "-Z" parameter to syslog is supposed to convert UTC to local timestamps, but my box is still an hour behind my timezone, which, i'm guessing is related to daylight savings time (currently active here) 2018-06-22 10:48:16 so, I usually install 'full' featured packages 2018-06-22 10:49:30 ahh okay, i might need to look at that then, i was hoping to keep the image a slim as possible, i guess it would still be smaller than a minimal centos installation 2018-06-22 10:50:25 don't know for centos but it is a lot smaller than debian, ime 2018-06-22 10:51:46 so I presume it will be smaller, and faster, uses less cpu and memory 2018-06-22 10:51:59 yeah, i'm trying to cut down on system disk image size (under vmware), currently with our base we're saving a couple gig per vm if we switch to alpine 2018-06-22 10:52:21 that is why I switched everything I can to Alpine 2018-06-22 10:53:34 i'm in that process now, i just need to get propper logging with stamps going, then i can start looking at applications. i'll take a look at the rsyslog package and see if i can switch busybox syslog out with rsyslog 2018-06-22 10:53:34 one of my VM uses less than 300MB 2018-06-22 10:54:00 and works quite well with 256MB RAM 2018-06-22 10:54:50 wow, thats small, our company policy so far is a base system disk template of 20GB, for the system disk, i'm currently testing a base alpine system disk of 1GB, add the savings up over a couple hundred vm's and its a big saving 2018-06-22 10:56:11 in the end, size depends what you have install and how much data you have to keep on disk, i.e. log history and what not 2018-06-22 10:57:53 yeah, the idea is to have all logs sent to a central system, none stored locally, then its down to app binary size, app data will be on a seperate disk, but yeah, just trying to get the basics sorted so i can create a template and move onto getting actual apps installed. 2018-06-22 10:58:47 the vm you're talking about above, is that a kvm, xen, bhyve, vmware vm? 2018-06-22 11:01:48 I have xen and kvm 2018-06-22 11:03:08 mail server - postfix and dovecot, http nginx and xmpp prosody is on KVM with 256MB ram 2018-06-22 11:03:19 all that on one VM 2018-06-22 11:04:12 nice, our mail server is on i want to move over, but i'm running qmail, need to see if there are packages for it in alpine 2018-06-22 11:07:07 many years ago I tried qmail, but switched to postfix. less hassle and it is really secure 2018-06-22 11:08:15 for more than 20 years and about 10 (or more) mail servers never had any security problem 2018-06-22 11:08:59 yeah, we use qmail on or relays, but perephiral services that require MTA's use postfix (switched from sendmail), i'd still keep qmail on our relays, love that qmail, rock solid 2018-06-22 11:09:21 problem:new user on wiki: "New users are not allowed to add ip addresses and phone numbers." | i tried to add the (archlinux) pacman command for querying updates (pacman -Qu) to page https://wiki.alpinelinux.org/wiki/Comparison_with_other_distros#Comparison_chart.2FRosetta_Stone || my wiki username: gima 2018-06-22 11:10:16 request: lift new user restriction on my username 2018-06-22 11:10:20 mps: how do you provision your vms? Do you have a template image that you clone? I'm trying to setup a small infrastructure with ansible playbooks, but right now I'm stumped after starting the VM. 2018-06-22 11:10:39 dafuq? pacman on alpine? my workstation is manjaro (arch derivative), but c'mon, i noob like me even knows alpine uses apk 2018-06-22 11:11:27 Asgaroth: the wiki page that i liked to has a comparison of commands between distros. the listing is missing the command to query updateable packages on archlinux (even though it's possible) 2018-06-22 11:11:32 Entroacceptor: installing with qemu and using it 2018-06-22 11:11:45 i use ansible in our centos infrastructure, but our build has addressing preconfigured, with alpine i guess you need to configure interfaces first and a ssh auth key for ansible to work 2018-06-22 11:11:46 nothing else 2018-06-22 11:11:52 :( that feels so clunky 2018-06-22 11:12:23 well, I do not provision big number of VMs 2018-06-22 11:12:44 so, that is ok for my use cases 2018-06-22 11:13:29 ahh, sorry, i didnt see it was a comparison page, my bad 2018-06-22 11:14:42 Entroacceptor: what do you want use for your VM ? KVM ? you can try some workaround with libvirt to manage some info that you will need for ansible ( networking for example ) 2018-06-22 11:15:34 Entroacceptor: sorry if i'm mis-understanding (joined mid-conversation), but you could configure your vm filesystem image without starting the vm. only after the image has been set up, you could use it as a base or as-is for vm:s or other vm filesystem images. for example using linux namespaces (runc/systemd-nsexec/docker/lxc/etc) 2018-06-22 11:17:11 in case of alpine, you could just download the released root filesystem image, or roll your own. it appears that you can just specify the destination directory with `apk` . eyeing this https://git.alpinelinux.org/cgit/alpine-iso/tree/Makefile 2018-06-22 11:17:21 jeanjack: yeah, kvm. I can do Debian machines with virt-install --initrd-infect preseed.cfg, the network config and ssh keys are in that preseed.cfg. Then ansible waits till the box is up and does the further configuration 2018-06-22 11:18:59 *initrd-inject 2018-06-22 11:20:48 Mag-en00b: yeah, but that script needs an alpine machine ready :D 2018-06-22 11:21:16 Entroacceptor: Where are you stumped ? 2018-06-22 11:36:15 jeanjack: in getting the network config and the ssh keys to the ansible machine. 2018-06-22 11:36:22 Entroacceptor: or if you use the rootfs image from alpine, you can use that as the image-to-be-created 2018-06-22 11:36:44 missing word: that the image-to-be-created 2018-06-22 11:40:41 ah, and its `systemd-nspawn` and not nsexec 2018-06-22 11:41:38 Mag-en00b: that's still unsatisfying, because I kind of don't want to remember binaries at all. But maybe I'll patch the ansible boot image to automatically run something 2018-06-22 12:01:18 can I define env variables in conf.d files? 2018-06-22 12:21:48 hmm 2018-06-22 12:21:54 i'm seeing This action has been automatically identified as harmful, and therefore disallowed. If you believe your action was constructive, please inform an administrator of what you were trying to do. A brief description of the abuse rule which your action matched is: New users are not allowed to add ip addresses and phone numbers 2018-06-22 12:21:57 on the wiki 2018-06-22 12:22:26 trying to update rngd section of an article to match new syntax and kernel version 2018-06-22 12:22:53 (random number generator is now built in, and syntax has changed for a command) 2018-06-22 12:23:16 https://wiki.alpinelinux.org/wiki/User:Ty99 is my wiki account 2018-06-22 12:27:32 im not sure why it thinks i am trying to add IP addresses or phone numbers :S 2018-06-22 12:43:58 is it current to have segmentation fault on alpine when it uses in docker, is there some configuration to do to not have this sort of problem 2018-06-22 12:51:15 <_j> Hi there 2018-06-22 12:52:36 <_j> Just wondering - is it possible to lbu commit/have an apkcache inside an encrypted partition? I've gotten alpine running inside a LUKS partition but I'd like to run it from ram if possible 2018-06-22 12:53:00 what would be encrypted in that case? the usb? 2018-06-22 12:53:12 I guess that's what you said 2018-06-22 12:53:31 nevermind me, I can't help anyways 2018-06-22 12:53:51 <_j> qrvpzvb: yep, the usb is encrypted with GRUB 2018-06-22 12:54:30 <_j> I had to install GRUB from voidlinux and copy over /etc/default/grub since it's not present in alpine's grub package 2018-06-22 12:57:27 <_j> Also, I disabled /etc/grub.d/10_linux.conf from calling extlinux 2018-06-22 12:58:01 <_j> And I'm using better-initramfs (based on alpine) instead of mkinit 2018-06-22 13:00:43 does alpinelinux use udev by default? 2018-06-22 13:05:33 <_j> tya99: it uses mdev, but if you install xorg it switches to eudev 2018-06-22 13:05:42 <_j> I guess you can probably use either 2018-06-22 13:06:01 yeah i don't have xorg, so it would be mdev (very snall machine) 2018-06-22 13:44:22 Hi guys. Is there already a timline when 3.8 would be released? 2018-06-22 14:04:12 how would i go about building arm packages on an x86_64 machine 2018-06-22 14:04:19 is that actually possible from within a VM 2018-06-22 14:04:51 ie i want to build a package for arm 2018-06-22 14:05:21 to test a patch, but i can't really do it on my arm machine 2018-06-22 14:06:29 <_ikke_> cw789: soon (TM) 2018-06-22 14:07:29 i need to try a patch for a port but i want to compile it on my dev environment (x86 machine) 2018-06-22 14:07:36 is it easy to build the package for armhf 2018-06-22 14:17:09 _ikke_: Thx. 2018-06-22 14:22:01 is there someway to stop alpinelinux from trying to update the cache before boot 2018-06-22 14:22:20 in my situation it is never going to be able to do so because ppp0 will be down at that point 2018-06-22 14:23:05 <_ikke_> apk --cache-max-age .. 2018-06-22 14:23:13 <_ikke_> Only way afaik 2018-06-22 14:34:35 guys when is 3.8 scheduled to be released 2018-06-22 14:36:19 #Koinange 2018-06-22 14:40:28 what should i go 2018-06-22 14:40:32 xfce or gnome 2018-06-22 14:40:44 it's only a virtual machine but i cbf setting anything up 2018-06-22 14:40:47 and want it all done for me 2018-06-22 14:41:38 https://wiki.alpinelinux.org/wiki/Gnome_Setup 2018-06-22 14:41:44 This material is work-in-progress ... 2018-06-22 14:41:46 It doesn't produce the result expected YET 2018-06-22 14:41:48 (Last edited by Ttrask on 25 Mar 2016.) 2018-06-22 14:41:50 hmm 2018-06-22 14:41:52 anyone done it since? 2018-06-22 14:41:56 guess ill go with gnome 2018-06-22 14:42:42 don't know for gnome but xfce works quite well and stable 2018-06-22 14:43:23 but if you prefer gnome try it and decide yourself 2018-06-22 14:44:08 yeah ill do that 2018-06-22 14:44:12 use xfce :P 2018-06-22 14:44:24 idk about the DE just want terminal and cp support with my host 2018-06-22 14:46:08 join channel in #Koinange #Hillbrow #SvayPak #Sonagachi #AngelesCity #PatpongPattaya 2018-06-22 14:47:06 tya99: I'm using awesome wm 2018-06-22 14:47:18 yeah i use i3wm on most of my machines 2018-06-22 14:47:24 and soon sway! 2018-06-22 14:48:02 https://github.com/swaywm/sway best wm 2018-06-22 14:48:14 I prefer awesome because can add 'applets' easy with lua 2018-06-22 14:48:26 is awesome migrating to wayland? 2018-06-22 14:48:45 applets like on your bar? 2018-06-22 14:49:08 right, I add whatever I need. 2018-06-22 14:49:37 and there are ready made in distro 2018-06-22 14:50:02 done ;) 2018-06-22 14:50:11 I can easy change what I need on my machines and add non existings 2018-06-22 14:50:14 oops wrong channel 2018-06-22 14:50:26 yeah i guess i don't really change mine all that often 2018-06-22 14:50:34 i have network, and disk space and thats about it 2018-06-22 14:50:40 the rest is notifications via dunst 2018-06-22 14:50:57 nor do I, but when need it is usually few lines of lua code 2018-06-22 14:51:34 i wonder if there's a wayland port of awesome in the works 2018-06-22 14:51:49 i have found hidpi screens a pain in the ass with awesome/i3 2018-06-22 14:52:00 because you bump up the font size in XResources 2018-06-22 14:52:13 but then you have to downgrade it in GTK because it bumps it up twice 2018-06-22 14:52:16 the scale that is 2018-06-22 14:52:28 hidpi? what resolution 2018-06-22 14:52:50 well currently im on 3840x2160 2018-06-22 14:52:57 on a 13.1" screen 2018-06-22 14:53:14 2400x1600 here 2018-06-22 14:53:27 i'm on a dell xps 2018-06-22 14:53:35 https://wiki.archlinux.org/index.php/HiDPI#GDK_3_.28GTK.2B_3.29 2018-06-22 14:54:23 ive been too lazy and am using gnome on it right now though 2018-06-22 14:54:26 and I have one big monitor 3840x2160 2018-06-22 14:54:54 the reason i haven't used sway every day is because of redshift 2018-06-22 14:55:04 redshift is built into gnome (they have their own thing) 2018-06-22 14:55:07 and it works quite well when connected over hdmi 2018-06-22 14:55:10 but redshift itself is incompatible with wayland 2018-06-22 14:55:17 and with awesome 2018-06-22 14:55:52 don't have much experience with wayland 2018-06-22 15:48:22 i used sway for quite a while 2018-06-22 15:48:30 but then I switched to dwm 2018-06-22 15:48:39 which is X11 only 2018-06-22 16:20:31 yeah 2018-06-22 16:21:11 i think my de will be openssh-server 2018-06-22 16:21:14 because i am lazy 2018-06-22 16:27:42 tya99: wiki is free to use, no need admin access. 2018-06-22 16:28:01 yeah it was just complaining about me 2018-06-22 16:28:06 but now it let me make the changes 2018-06-22 18:05:21 Anyone want to do a review of my AMI build setup? https://github.com/massivekube/machine-images/blob/master/build.sh? 2018-06-22 20:56:10 hey I started working with alpine this afternoon. 2018-06-22 20:56:23 i was hoping i were going to be quicker but alas 2018-06-22 20:56:37 it's me 2018-06-22 20:56:40 though, not you 2018-06-22 20:57:41 brb 2018-06-22 21:27:16 hmm im having issues setting steam and i3 up. i installed the alpine-desktop metapackage but Ithink now that might have made it more complicated 2018-06-22 21:29:42 I downloaded the steam-latest.deb and I have my steam installation from archlinux 2018-06-22 21:34:11 now im stuck with unsatisfiable things when apk upgrading 2018-06-22 21:49:18 i3 should work out of the box. steam is linked against musl and if gcompat doesnt work then it will not. what works is to make a debian chroot and run steam in there. 2018-06-22 21:49:32 980 2018-06-22 21:50:37 As I recall it, steam needs 32-bit libs 2018-06-22 21:50:39 ok that leaves me with the problem of unsatisfiable things 2018-06-22 21:50:42 and Alpine is not multilib 2018-06-22 21:50:44 yes it does 2018-06-22 21:50:46 lol 2018-06-22 21:50:58 I did all the right things 2018-06-22 21:51:06 but chroot should solve that right? 2018-06-22 21:52:06 I looked into /etc/apk/ and deleted steam-latest.deb from a list 2018-06-22 21:52:26 Why would you put that in /etc/apk 2018-06-22 21:52:33 That's not going to work under any circumstances 2018-06-22 21:53:06 Alpine does not use deb packaging, nor is that how one adds debian packages to a debian system 2018-06-22 21:53:39 i did not 2018-06-22 21:53:53 that you read into it 2018-06-22 21:54:17 You said you looked into /etc/apk, and deleted steam-latest.deb from a list, suggesting you added steam-latest.deb to the list in question. 2018-06-22 21:56:29 can that happen without me entering that directory/ 2018-06-22 21:56:46 by using apk add steam-latest.deb 2018-06-22 21:56:55 however wrong that is 2018-06-22 21:57:03 i dont believe in god 2018-06-22 21:57:41 so what is it going to be? I found the wikipage about chrooting arch 2018-06-22 21:57:50 I suspect you didn't do "apk add steam-latest.deb" because it would just say that that package doesn't exist. Instead, I think you may have added a temporary package by that name (apk supports virtual packages) 2018-06-22 21:58:12 i did, only with an absolute path 2018-06-22 21:58:21 and i tried verify 2018-06-22 21:58:50 so probably both. I just install the thing and then I try to get as far as possible before I give you a heart attack 2018-06-22 21:59:28 but eventually i will disgrace the holy bytes because Im a noob 2018-06-22 21:59:42 I hope you can forgive me 2018-06-22 22:00:01 forgive them oh lord for they know not what they are doing 2018-06-22 22:00:27 so if I admit htat I'm free of charge in theory 2018-06-22 22:00:36 Sorry, I don't understand what you're talking about any more. 2018-06-22 22:03:13 it seemed like I made you upset with carelessly causing malfunction within my system 2018-06-22 22:03:41 and I couldn't follow 2018-06-22 22:03:59 so I tried explaining why i won't feel bad for it 2018-06-22 22:05:18 zava: I don't think steam.deb will work in Alpine. And I guess the effort is a lot. 2018-06-22 22:06:43 I get the picture. I'm addicted to dota 2018-06-22 22:06:48 so this is painful 2018-06-22 22:07:23 and instead of making it work in a week i might just return to musl once it is more fitting to me. steam can't do that 32 bit thing forever now can they? 2018-06-22 22:07:29 deedubs: I don't know much about AWS, but don't they support uploading the whole qemu disk file or something? I ask that because I use google cloud, and they support it, and it's very easy to setup Alpine on their platform. 2018-06-22 22:07:34 zava, steam.deb will not work in alpine, period. You might be able to look at how archlinux install steam in the AUR, and then it *might* work, but still doubtful 2018-06-22 22:07:54 yes thanks for your honest estimation 2018-06-22 22:08:02 im not that far yet 2018-06-22 22:08:12 Ij ust started understanding gpg, ssh, pam and such 2018-06-22 22:08:16 oh and sed! 2018-06-22 22:08:36 i patched st after 4 weeks of trying so im proud ok 2018-06-22 22:08:45 but this is too big for now 2018-06-22 22:08:57 Or, zava, I have a better solution: https://flatpak.org/setup/Alpine/ 2018-06-22 22:09:08 https://flathub.org/apps/details/com.valvesoftware.Steam 2018-06-22 22:09:19 hf 2018-06-22 22:10:52 wait no clipboard ``` 2018-06-22 22:10:57 gotta type lol 2018-06-22 22:11:34 deedubs: if that works for you, then great! If I were you, I'd just use the official minirootfs: http://dl-cdn.alpinelinux.org/alpine/v3.8/releases/x86_64/alpine-minirootfs-3.8.0_rc8-x86_64.tar.gz 2018-06-22 22:13:11 Anyone here really good with the APKBUILD ecosystem? I have been trying to find a way to determine which packages a source will create. For example, the gcc source package creates quite a few .apks. I *thought* could just parse the "subpackages" line in an APKBUILD, but in gcc, for example, it's created over multiple lines. 2018-06-22 22:13:30 Is there some tooling or some other way to find this? Super stuck at the moment 2018-06-22 22:13:32 johnnyfive: It will create the package plus the subpackages 2018-06-22 22:14:12 I understand that, but how can I correlate packages <-> source package? 2018-06-22 22:14:28 if I wanted to query said information? 2018-06-22 22:15:40 but sorry one last thing, how do I get the apk business going again? 2018-06-22 22:15:57 zava: You need to actually tell us what's wrong with apk before we can help you 2018-06-22 22:15:58 zava, that's google-able bud 2018-06-22 22:16:07 true 2018-06-22 22:16:10 The source package is (nominally) suffixed by the subpackage type 2018-06-22 22:16:12 johnnyfive: 2018-06-22 22:16:28 sorry i cant copy paste right now 2018-06-22 22:16:32 and my memory is non existent 2018-06-22 22:16:38 ok ok 2018-06-22 22:16:41 ill figure it out 2018-06-22 22:16:43 OK, then either you find the error or you stay wondering 2018-06-22 22:16:44 thanks men! 2018-06-22 22:16:52 (and women) 2018-06-22 22:17:01 yes duncan that's what life usually gives you 2018-06-22 22:17:18 oh there i wasnt quite politically correct miss duncan 2018-06-22 22:17:21 duncan^, ok, so let's say I wanted to find what sub-packages the a2ps source creates. Awesome: https://github.com/alpinelinux/aports/blob/8b7e48dcaf6a2049edeffaa957db618e923b78ab/main/a2ps/APKBUILD#L12 2018-06-22 22:17:33 im really sorrey 2018-06-22 22:17:36 Now tell me how to do that in gcc: https://github.com/alpinelinux/aports/blob/8b7e48dcaf6a2049edeffaa957db618e923b78ab/main/gcc/APKBUILD 2018-06-22 22:18:29 johnnyfive: You see that supackages="$pkgname-dev $pkgname-doc". $pkgname is just a variable pointing to the pkgname, which is a2ps. So we have a2ps-dev and a2ps-doc. 2018-06-22 22:18:45 duncan^, sorry I wasn't clear, a2ps is easy. I get that 2018-06-22 22:19:16 Right, so for gcc, you see [ "$CHOST" = "$CTARGET" ] && subpackages="gcc-doc$_cross" 2018-06-22 22:19:21 yes 2018-06-22 22:20:55 this is logic - it's saying if variable CHOST is equal to variable CTARGET, then subpackages=gcc-doc$_cross. So it's a rather tortured way of building documentation for some cross arch if we're cross-compiling. 2018-06-22 22:21:29 Ok, awesome. However: https://github.com/alpinelinux/aports/blob/8b7e48dcaf6a2049edeffaa957db618e923b78ab/main/gcc/APKBUILD#L129-L153 2018-06-22 22:21:31 it might be easier if they'd written it as "if ... ; subpackages=gcc-doc$_cross" ( 2018-06-22 22:22:08 So unless I write an APKBUILD parser, there's no way to determine what subpackages will be built. That's what i'm hearing? Based on your knowledge? 2018-06-22 22:22:24 OK, there, we've already defined $subpackages. So we can redifine it in terms of the old variable with new content appended to it 2018-06-22 22:22:38 I guess it's probably best if you read up on shell scripting, as this is what it comes down to 2018-06-22 22:23:04 APKBUILDS are shell scripts 2018-06-22 22:23:20 ok nah no more energy to spend. ill do the openrc arch build so next time my body is ready 2018-06-22 22:23:32 gn8 2018-06-22 22:23:39 lololol ok. ty for your help 2018-06-22 22:24:08 Sorry if I came across negatively there, it wasn't the intention 2018-06-22 22:24:35 no, you're good man, I just think we're talking apples and oranges a bit 2018-06-22 22:27:29 anyone else around have some deep knowledge of the APKBuild system? Looking for a programmatic way to resolve packages to their source at the very least. 2018-06-22 22:28:25 We know that subpackages should be of the form [source package name]-[subpackage suffix] 2018-06-22 22:28:34 They are not all like that :) 2018-06-22 22:28:47 So you would chop off the last portion separated by a hyphon 2018-06-22 22:28:57 and then you'd have your source package name. 2018-06-22 22:28:58 "libgo" is built by the gcc source package 2018-06-22 22:29:10 so is "libgnat" 2018-06-22 22:29:18 neither of those follow that naming syntax 2018-06-22 22:30:19 Yeah, that's true. 2018-06-22 22:35:56 my only solution thus far is to run the APKBUILD with like 'bash -x APKBUILD', and capturing the last value of SUBPACKAGES, but that's so dirty 2018-06-22 22:42:38 hi all, on my alpine box i'm getting `vcs_info: function definition file not found` errors 2018-06-22 22:42:55 zsh version is 5.4.2, it should have this function 2018-06-22 22:44:44 it's running on a raspi (armhf) if that is relevant 2018-06-22 22:49:49 were these stripped from the alpine package? 2018-06-22 22:52:18 ah, forgive the noob question, still getting used to the way alpine packages are split up 😅 2018-06-23 08:11:46 Hey Guys! Has anyone made alpine linux run on any odroid device? 2018-06-23 09:32:39 martimcfly: some folks here, including me, tried to get it to run on c2 and failed if I recall 2018-06-23 09:32:42 sadly 2018-06-23 10:27:04 kahiru: is it A53 cpu 2018-06-23 10:29:28 I run Alpine aarch64 on Cortex-A53 box more than a year without problem, though with custom made kernel 2018-06-23 11:56:29 @mps oh cool 2018-06-23 11:56:57 Cortex-a53 which device is this? C2? 2018-06-23 11:58:07 the c2 is Amlogic ARM® Cortex®-A53(ARMv8) 1.5Ghz quad core CPUs 2018-06-23 11:58:54 mps: That sounds good! 2018-06-23 11:59:53 mps badly the c2 only provides usb 2.0 which would would limit my network expirience 2018-06-23 12:02:07 #mps how have you installed the general arm os on the sd card? 2018-06-23 12:02:54 I tried to make it run on xu4 with usb3.0 but it didn't boot. do i have to do any sd-card fusion like arch linux does on first installation? 2018-06-23 12:08:24 mps: I've overseen, that you've build a custom made kernel. Did you build it from Alpine Linux src or have you build it from another source? I ask because of the hardened kernel Alipne Linux promisses. 2018-06-23 12:10:51 If I build the kernel from another source without the patches I might loose the benefits or am i wrong? 2018-06-23 12:11:29 <_ikke_> martimcfly: note that hardened (grsec) kernels are no longer supported 2018-06-23 12:12:21 <_ikke_> martimcfly: mostly due to the extremely difficult work required to get them patched for meltdown/spectre 2018-06-23 13:56:54 martimcfly: sorry, I had a guests. Are you still there 2018-06-23 15:18:39 mps: what device do you have with that processor? 2018-06-23 15:20:00 azarus: it is chromebook samsung plus 2018-06-23 15:20:05 cool! 2018-06-23 15:20:28 but I tried it with archlinux and debian 2018-06-23 15:20:42 all works, but with custom kernel 2018-06-23 15:21:04 archlinux works with archlinux kernel 2018-06-23 15:21:20 but from external sd card 2018-06-23 15:22:23 and I tried Alpine aarch64 with acer chromebook and it worked without any serious issue 2018-06-23 15:22:45 there are few packages for aarch64 tough, right? :/ 2018-06-23 15:23:08 only problem are mali graphics drivers but that is problem for most linux distros 2018-06-23 15:23:37 some packages are missing, but not most 2018-06-23 15:23:44 firefox, for example? 2018-06-23 15:24:04 example is firefox, but firefox-esr works quite fine 2018-06-23 15:24:16 ah, awesome 2018-06-23 15:24:44 that is because rust lang is not ready for musl on arm 2018-06-23 15:25:08 ah, okay 2018-06-23 15:26:13 speaking 'from head' I see the rust missing is the only problem for my use case 2018-06-23 15:26:30 everything else is quite fine for me 2018-06-23 15:27:20 That's cool :) 2018-06-23 15:27:37 and I use Alpine aarch64 (arm64) dayli for about year 2018-06-23 15:28:07 it is faster and requires less disk (emmc) space than debian or archlinux 2018-06-23 15:28:09 I don't have *any* aarch64 devices :/ 2018-06-23 15:29:09 oh, and I use Alpine armhf on the some arm32 boards 2018-06-23 15:29:29 it also works fine on them 2018-06-23 15:30:06 and is a lot faster on arm32 boards then debian or archlinux 2018-06-23 15:31:49 azarus: I see that you post 'pull requests' by email to alpine-aports 2018-06-23 15:31:54 onyes 2018-06-23 15:31:55 yes* 2018-06-23 15:32:28 do you use new branch or master when creating 'pull request' 2018-06-23 15:32:37 i don't use pull requests anymore 2018-06-23 15:32:42 i send patches by email 2018-06-23 15:33:02 there are no pull requests when you're working with the mailing list 2018-06-23 15:33:14 understand, but I put it in quotes to give meaningful name 2018-06-23 15:33:19 ah, okay 2018-06-23 15:33:31 git send-email, I know 2018-06-23 15:33:35 you don't have to use branches, but it's better 2018-06-23 15:34:03 heh, I'm asking for advice 2018-06-23 15:34:33 I have ready one to send, and it is in master branch 2018-06-23 15:34:55 ACTION thought mps was talking about actual requests to pull from a git branch, a la git-request-pull 2018-06-23 15:35:33 but I have feeling that it would be better to use private branch, especially for new aports 2018-06-23 15:35:48 mps: you can create a new branch, then reset master 2018-06-23 15:35:49 jn__: sorry for confusion 2018-06-23 15:35:58 no problem :) 2018-06-23 15:36:15 azarus: tnx, I will try so 2018-06-23 17:11:05 mps: it should have Amlogic S905 Quad Core Cortex-A53, but I think the problem was with uboot 2018-06-23 17:11:07 or something 2018-06-23 17:34:45 kahiru: I don't know how odroid c2 boots, but I presume that you could use their default u-boot and their kernel also and just install Alpine on root partition 2018-06-23 17:35:02 maybe set some boot kernel parameters 2018-06-23 17:36:55 I'm afraid I don't understand it either... anyway I won't to do a clean install on it sometime soon so guess I'll try again with alpine 2018-06-23 17:44:43 also I would like to have it run from ram, whit makes the whole "use foreign kernel, initramfs and whatnot" thing a bit harder 2018-06-23 17:44:44 couple of questions 2018-06-23 17:44:46 https://i.imgur.com/W5NGUqx.jpg 2018-06-23 17:44:59 is there any way i can stop alpine linux from trying to update the cache at that point 2018-06-23 17:45:07 this is a router, no networking is up 2018-06-23 17:45:24 someone said the other day there was "no way to do that" then i say that is a bug 2018-06-23 17:46:24 second question is why do i see * rc is deprecated, please use openrc instead. 2018-06-23 17:48:50 i don't really have anything exceptional running 2018-06-23 17:49:12 https://dpaste.de/d98Y 2018-06-23 17:53:30 kahiru: if you want to run from ram you have to build that initramfs and kernel for your board 2018-06-23 17:56:53 I was afraid you'd say that 2018-06-23 17:57:50 well, there are no prebuilt Alpine images for different arm devices, except rpi 2018-06-23 17:58:49 but with some work generic one could be adapted to some of them 2018-06-23 18:15:55 https://bugs.alpinelinux.org/issues/8093 2018-06-23 18:16:01 apparently is the clock skew thing 2018-06-23 18:16:18 i have a hardware clock in my pi, but i think it is added too late 2018-06-23 18:16:46 because that /run/openrc directory is all 1970 2018-06-23 18:19:17 I'm back :) 2018-06-23 18:19:21 https://wiki.alpinelinux.org/wiki/Saving_time_with_Hardware_Clock#Binding_the_hardware_clock_device 2018-06-23 18:19:27 ah that's right i think hwclock runs after 2018-06-23 18:20:23 _ikke_: Does that mean that I can use any kernel to start the system? Or do I have to build it with certain modules? 2018-06-23 18:21:27 mps: from what base have you build your kernel? 2018-06-23 18:30:13 for chromebooks I use chromeos kernels, for A20 boards from mainline kernels 2018-06-23 18:30:39 oh, for arm32 samsung_exynos also from mainline 2018-06-23 19:56:53 Hi guys, having a little problem here: http://ix.io/1ex3 2018-06-23 20:17:54 Mixing edge and 3.7 isn't supported 2018-06-23 20:18:11 It might work some of the time, but in all likelihood you'll run into stuff in testing which depends on stuff from main/community in edge 2018-06-23 20:54:06 pardis: what can i do? 2018-06-23 20:55:05 Either upgrade your whole system to edge, or backport the package to 3.7 yourself (or you can build deluge without a package) 2018-06-23 20:55:20 If you're lucky, this is only a binary compatibility problem and it will just work if you build it from source 2018-06-23 21:41:35 mps: so you think I could not use archlinuxarm kernel for odroid? 2018-06-23 21:41:54 Sorry for the delays. I have to work at the house. 2018-06-23 22:05:45 martimcfly: no problem, we all have some other engagement 2018-06-23 22:07:34 martimcfly: in my experience you can use kernels from different distros but ones which is made for your board 2018-06-23 22:08:53 I tried lede/openwrt, armbian, archlinux and custom made for arm32 (allwiner a20) boards, and all worked 2018-06-23 22:09:30 I mean, kernels from mentioned distros 2018-06-23 22:09:53 and I mean with Alpine linux 2018-06-23 22:56:54 hi, is it possible to use the xen version of alpine distro to install onto usb flash and use the entire host machine resources for guest vms? 2018-06-23 23:11:45 dont see why not 2018-06-24 00:40:09 Thank you whoever added support to edge-rc8 for the Raspberry Pi Zero W! That has made Alpine so much easier to setup (rc6 didn't have this!) 2018-06-24 00:43:42 Sorry I was referring wlan0 setup 2018-06-24 00:51:18 Boo, hitting bug #8025 2018-06-24 05:20:26 hey is there any way to stop alpine trying to update aports before init? https://i.imgur.com/W5NGUqx.jpg 2018-06-24 05:20:54 there must be a switch or something i can change, this is on a router so the WAN link is always going to be down at that point 2018-06-24 06:39:41 it could be because it thinks my aports are old because the date is 1970 2018-06-24 06:39:51 because the hardware clock isn't yet added hmm 2018-06-24 06:40:23 Hi. Do anyone use dnssec-tools? Looks like package is broken somehow, but I can't understand why. 2018-06-24 07:12:32 <_ikke_> laskin: broken in what way? 2018-06-24 07:16:18 d /etc/apk/ 2018-06-24 07:16:36 sorry, wrong terminal 2018-06-24 07:27:04 _ikke_, I installed dnssec-tools, but zonesigner tells me that Can't locate Net/DNS/SEC.pm in @INC (you may need to install the Net::DNS::SEC module) 2018-06-24 07:28:07 and Can't locate Mail/Send.pm in @INC (you may need to install the Mail::Send module) 2018-06-24 07:28:53 Mail is ok, but I assume that Net/DNS/SEC should be in exactly that package, no? 2018-06-24 07:32:13 <_ikke_> probably 2018-06-24 07:42:29 _ikke_, oh, I found it in (surprize!) perl-net-dns-sec. But it is not in dnssec-tools dependencies, and I still can't find Mail::Send 2018-06-24 07:43:20 <_ikke_> hmm, I did look for a package that contained it, but couldn't find one 2018-06-24 07:43:46 <_ikke_> weird, now I do find it 2018-06-24 07:44:05 <_ikke_> probably case difference 2018-06-24 07:44:32 my first try was unsuccessful too 2018-06-24 08:18:59 hi, I'm looking forward to running alpine as a docker host. I've found out that a year or two ago it was a really rough trip, since a lot of docker containers segfaulted (err, a lot? nodejs did ;) ). I managed to run nodejs on alpine host without a hassle though - so should I continue? Or maybe it's safer to run alpine with glibc for docker host? 2018-06-24 08:27:24 mps: I understand. 2018-06-24 08:31:01 also - how to run a command on startup in alpine? just want to shove docker-compose ups from various dirs without the hassle of understanding openRC gimmicks ;) 2018-06-24 09:12:58 s00bie: switch to a regular kernel instead of hardened. 2018-06-24 09:13:04 i've had the same issues. 2018-06-24 09:13:54 also, you can configure containers to automatically startup. no need to call docker-compose after every reboot. 2018-06-24 09:15:14 thunfisch: ah, like in docker daemon (the startup config)? learn something every day :) thanks! 2018-06-24 09:15:33 no, just in the docker-compose file for each service you define. 2018-06-24 09:16:19 will it start them up after a reboot? I always thoght there is only a restart of containers in case a container stops :) 2018-06-24 09:16:35 https://docs.docker.com/compose/compose-file/#restart_policy 2018-06-24 09:16:57 depends on the value you set. using 'any' will also restart on boot. 2018-06-24 09:17:23 awesome, no need for init to set things up. love it! 2018-06-24 09:18:19 ah, sorry, that is the correct config key: https://docs.docker.com/compose/compose-file/#restart 2018-06-24 09:18:27 and 'always' 2018-06-24 09:19:12 though, you can use 'unless-stopped' if you want to be able to stop a container. 2018-06-24 09:32:20 hi there 2018-06-24 09:32:42 I've got this apk error: ERROR: py2-virtualenv-15.1.0-r0: failed to rename usr/lib/python2.7/site-packages/virtualenv-15.1.0-py2.7.egg-info.apk-new to usr/lib/python2.7/site-packages/virtualenv-15.1.0-py2.7.egg-info. 2018-06-24 09:32:51 do you know how can I fix that? 2018-06-24 09:33:29 <_ikke_> When do you get that? 2018-06-24 09:33:44 during: apk fix 2018-06-24 09:34:13 which I run because every install show me `1 error` message 2018-06-24 09:34:16 <_ikke_> Mo0O: what does ls -l /usr/lib/python2.7/site-packages/virtualenv-15.1.0-py2.7.egg-info return? 2018-06-24 09:34:53 ➤ ls -l /usr/lib/python2.7/site-packages/virtualenv-15.1.0-py2.7.egg-info 2018-06-24 09:34:56 total 24 2018-06-24 09:34:58 -rw-r--r-- 1 root root 3383 Apr 25 2017 PKG-INFO 2018-06-24 09:35:00 -rw-r--r-- 1 root root 1222 Apr 25 2017 SOURCES.txt 2018-06-24 09:35:02 -rw-r--r-- 1 root root 1 Apr 25 2017 dependency_links.txt 2018-06-24 09:35:04 -rw-r--r-- 1 root root 48 Apr 25 2017 entry_points.txt 2018-06-24 09:35:06 -rw-r--r-- 1 root root 1 Nov 16 2016 not-zip-safe 2018-06-24 09:35:08 -rw-r--r-- 1 root root 30 Apr 25 2017 top_level.txt 2018-06-24 09:35:22 (hope it's not that much flood :D ) 2018-06-24 09:35:56 <_ikke_> so it's a directory 2018-06-24 09:36:03 yes it is 2018-06-24 09:36:33 and virtualenv-15.1.0-py2.7.egg-info.apk-new is a file 2018-06-24 09:36:33 <_ikke_> to be sure, you are running apk fix as root, right? 2018-06-24 09:36:37 <_ikke_> hmm 2018-06-24 09:36:42 <_ikke_> so a d/f conflict 2018-06-24 09:36:43 yes as root 2018-06-24 09:36:57 looks like yes 2018-06-24 09:37:15 <_ikke_> You can move the existing directory somewhere else and try running apk fix again 2018-06-24 09:38:01 done, apk looks happy with that 2018-06-24 09:38:21 thanks a lot _ikke_ 2018-06-24 09:38:28 <_ikke_> n 2018-06-24 09:38:30 <_ikke_> p 2018-06-24 09:43:32 hmm anyone built any packages im having trouble with the last bit of my APORT the doc 2018-06-24 09:43:48 <_ikke_> tya99: ? 2018-06-24 09:44:07 https://dpaste.de/SYhV 2018-06-24 09:44:14 line 48 :P 2018-06-24 09:44:29 i looked at https://wiki.alpinelinux.org/wiki/APKBUILD_examples:Special_Subpackages_Doc 2018-06-24 09:44:40 basically im trying to copy the man files into the mandir 2018-06-24 09:44:52 <_ikke_> tya99: Is there a reason you are doing this manually? 2018-06-24 09:45:14 is there a nicer way? 2018-06-24 09:45:34 basically there's other files in there 2018-06-24 09:45:36 http://git.remlab.net/gitweb/?p=ndisc6.git;a=tree;f=doc;h=d46a5b8f01bb760a6d09ba864829088dffbb103a;hb=HEAD 2018-06-24 09:45:50 i don't want that Makefile.am to be copied 2018-06-24 09:46:03 <_ikke_> tya99: abuild has a default_doc function, which should already do at least most of the things for the doc subpkg 2018-06-24 09:46:11 ah 2018-06-24 09:46:17 maybe i should use that then 2018-06-24 09:46:37 <_ikke_> Just start without a doc() function, and check if that already does what you need 2018-06-24 09:48:18 should i call default_doc()? 2018-06-24 09:48:38 after my make function 2018-06-24 09:49:21 or does it just get called inside package() 2018-06-24 09:50:38 <_ikke_> tya99: abuild calls the doc() function if $pkgname-doc is defined, which itself calls default_doc, unless overridden 2018-06-24 09:50:43 <_ikke_> https://git.alpinelinux.org/cgit/abuild/tree/abuild.in#n1638 2018-06-24 10:28:39 ACTION sent a long message: < https://matrix.org/_matrix/media/v1/download/matrix.org/dYYqwVPjxdRbyvXwPOIosnKW > 2018-06-24 10:34:20 tya99: ^ 2018-06-24 10:49:32 oh :) thanks 2018-06-24 10:50:55 i can change the license to "GPL-2.0-or-later" 2018-06-24 10:50:58 because that's what it is 2018-06-24 10:52:37 hmm i wonder if debian made a mistake 2018-06-24 10:53:04 http://metadata.ftp-master.debian.org/changelogs/main/n/ndisc6/ndisc6_1.0.3-3_copyright 2018-06-24 10:53:13 it looks like that the author packaged it for debian 2018-06-24 10:54:06 http://git.remlab.net/gitweb/?p=ndisc6.git;a=history;f=COPYING;h=d511905c1647a1e311e8b20d5930a37a9c2531cd;hb=HEAD 2018-06-24 10:54:12 oh 2018-06-24 10:54:55 i think he just didn't update his website on the download bit 2018-06-24 10:56:14 yeah seems like that is the case 2018-06-24 10:56:47 hmm that last one 2018-06-24 10:56:49 - you can remove the builddir definition and reduce 'cd "$builddir/ndisc6-$pkgver"' to 'cd "$builddir"' 2018-06-24 10:56:55 if i do that it doesn't find the right directory 2018-06-24 10:56:57 ie 2018-06-24 10:57:15 /usr/bin/abuild: line 1: ./configure: not found 2018-06-24 10:57:56 i think its because 2018-06-24 10:57:59 /home/tya99/ndisc6/src/ndisc6-1.0.3 2018-06-24 10:58:02 its actually in a directory 2018-06-24 10:58:08 did you also remove 'builddir="$srcdir/"'? 2018-06-24 10:58:39 oops no :P 2018-06-24 10:58:59 there we go :) 2018-06-24 10:59:29 src/$pkgname-$pkgver <- is the default path 2018-06-24 11:00:06 so back to this doc thing, https://dpaste.de/mjUH 2018-06-24 11:01:08 i think abuild is trying to call doc() and not finding it 2018-06-24 11:01:14 that's why i manually tried to do it 2018-06-24 11:01:18 You got a small " issue on line 29 2018-06-24 11:02:05 oh 2018-06-24 11:02:06 ROFL 2018-06-24 11:02:09 hahaha 2018-06-24 11:02:27 i blame vim 2018-06-24 11:02:30 :D 2018-06-24 11:03:04 Line 46 you can remove " || return 1" 2018-06-24 11:04:36 done, but still seeing 2018-06-24 11:04:38 >>> ndisc6-doc*: Preparing subpackage ndisc6-doc... 2018-06-24 11:04:40 >>> ERROR: ndisc6-doc*: Missing /home/tya99/ndisc6/pkg/ndisc6-doc 2018-06-24 11:04:42 >>> ERROR: ndisc6*: prepare_subpackages failed 2018-06-24 11:05:05 looking at it 2018-06-24 11:05:12 the man files aren't being even found in pkg 2018-06-24 11:05:27 ie https://dpaste.de/tqWv 2018-06-24 11:06:12 in the package function you can move the file to the right "$pkgdir" location. One sec will find an example. 2018-06-24 11:06:24 right 2018-06-24 11:08:05 TBK[m]: much appreciated ;) 2018-06-24 11:08:25 i am curious about matrix 2018-06-24 11:08:40 i saw something mentioned about it on the Librem 5 phones 2018-06-24 11:09:12 https://git.alpinelinux.org/cgit/aports/tree/main/nodejs/APKBUILD#n89 2018-06-24 11:10:18 i probably dont need that either 2018-06-24 11:10:20 rm -rf "$pkgdir"/usr/share/ 2018-06-24 11:12:13 not the best example, my search foo is failing me atm 2018-06-24 11:14:45 ;P 2018-06-24 11:15:36 when in doubt look at the source https://github.com/alpinelinux/abuild/blob/v3.1.0/abuild.in#L1519 2018-06-24 11:19:13 maybe i should be using install instead of cp 2018-06-24 11:20:55 because without it, pkg looks like this https://dpaste.de/pnX2 2018-06-24 11:20:58 which is in the right spot 2018-06-24 11:22:39 hmmy current APKBUILD https://dpaste.de/aRym 2018-06-24 11:22:54 one thing i am noticing now is 2018-06-24 11:22:56 >>> ERROR: ndisc6*: Found /usr/var, localstatedir is most likely wrong 2018-06-24 11:23:09 seems to have gotten over doc 2018-06-24 11:25:02 mm must be this 2018-06-24 11:25:04 /home/tya99/ndisc6/pkg/ndisc6/usr/var/run 2018-06-24 11:25:24 which is empty 2018-06-24 11:25:31 i think it creates that for a log 2018-06-24 11:25:46 /usr/var/run sounds wrong though 2018-06-24 11:26:07 could that be an error in the makefile 2018-06-24 11:26:29 /home/tya99/ndisc6/pkg/ndisc6/usr/var/run/rdnssd should be in /var/run/rdnssd 2018-06-24 11:26:40 not /usr/var/run/rdnssd 2018-06-24 11:29:14 run ./configure --help to check the paths 2018-06-24 11:30:40 ah huh 2018-06-24 11:30:42 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 2018-06-24 11:31:00 ehh stuff is hard to spot somethimes line 19 should be --prefix=/usr 2018-06-24 11:31:07 you are missing = 2018-06-24 11:31:12 oh :P 2018-06-24 11:31:37 derp :P 2018-06-24 11:32:07 /bin/ash /home/tya99/ndisc6/src/ndisc6-1.0.3/admin/install-sh -d -- /home/tya99/ndisc6/pkg/ndisc6/usr/var/run/rdnssd 2018-06-24 11:32:12 yeah thats it there 2018-06-24 11:34:03 --sharedstatedir=/var 2018-06-24 11:34:06 should solve that 2018-06-24 11:35:27 maybe not 2018-06-24 11:36:14 https://dpaste.de/Gthx/raw that's configure --help 2018-06-24 11:38:24 https://dpaste.de/d3vP/raw that seems to be what is going wrong 2018-06-24 11:39:02 ddddddddur 2018-06-24 11:39:12 localstatedir not sharestatedir 2018-06-24 11:39:39 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 2018-06-24 11:40:35 that seems to have fixed that TBK[m] 2018-06-24 11:41:48 any advice for: 2018-06-24 11:41:51 >>> ERROR: ndisc6*: Found executable files with SUID bit set: 2018-06-24 11:41:53 /home/tya99/ndisc6/pkg/ndisc6/usr/bin/rdisc6 2018-06-24 11:41:55 /home/tya99/ndisc6/pkg/ndisc6/usr/bin/ndisc6 2018-06-24 11:41:57 /home/tya99/ndisc6/pkg/ndisc6/usr/bin/rltraceroute6 2018-06-24 11:42:31 i am guessing i use install -Dm for that 2018-06-24 11:45:29 the only thing i could find is 2018-06-24 11:45:33 options="suid" 2018-06-24 11:46:07 https://wiki.alpinelinux.org/wiki/APKBUILD_Reference#options 2018-06-24 11:46:31 but should i be doing that? 2018-06-24 11:46:41 yeah i just had that page open :) 2018-06-24 11:47:29 whelp there we go it's working 2018-06-24 11:47:31 hopefully ;) 2018-06-24 11:48:08 TBK[m]: options="suid" did fix it 2018-06-24 11:49:35 would i set myself as maintainer? 2018-06-24 11:49:53 yes 2018-06-24 11:50:00 right :) 2018-06-24 11:50:07 looks like its ready i tested it and it looks right 2018-06-24 11:50:16 https://dpaste.de/BG83/raw yum 2018-06-24 11:50:25 surprising how much easier these are to do than ebuilds 2018-06-24 11:50:47 i made it overcomplicated by doing things i didn't need to lol 2018-06-24 11:52:55 TBK[m]: thanks for your help! 2018-06-24 11:53:17 tya99: np 2018-06-24 12:32:28 ah crap 2018-06-24 12:32:45 https://lists.alpinelinux.org/alpine-aports/5444.html 2018-06-24 12:32:54 i didn't add myself as maintainer 2018-06-24 12:33:08 then when i did, and then i thought i resubmitted it was still wrong 2018-06-24 12:33:41 i think that's because i used 2018-06-24 12:33:43 git send-email --to alpine-aports@lists.alpinelinux.org -1 2018-06-24 12:34:47 personally I prefer to do PRs - https://github.com/alpinelinux/aports 2018-06-24 12:35:03 yeah true 2018-06-24 12:35:06 but i was lazy :P 2018-06-24 12:35:25 i think its cos -1 is head 2018-06-24 12:35:26 if i did 2018-06-24 12:35:29 git send-email --to alpine-aports@lists.alpinelinux.org 2018-06-24 12:35:32 it would probably have worked 2018-06-24 12:37:38 i might just leave it 2018-06-24 12:38:08 thunfisch: thanks! 2018-06-24 12:38:23 s00bie: all working like you want to? 2018-06-24 16:19:26 can I change the directory where abuild puts the source? Not the tarball, but the patched one where it builds? 2018-06-24 16:20:27 when I do `abuild fetch unpack prepare` something like always use /tmp for that. 2018-06-24 16:21:50 It's also annoying when something doesn install -dbg packages 2018-06-24 16:22:34 *doesn't work and I install -dbg packages. As there's no default path the patched source get's extracted to. 2018-06-24 16:23:57 So you need to tell gdb every single time where to find the source 2018-06-24 21:09:15 have the -hardened patches been dropped for v3.8? 2018-06-24 21:09:46 To my knowledge yes 2018-06-24 21:10:00 ah ok, good to know 2018-06-24 21:11:03 Grsecurity changed their policy and now demands money for the patches 2018-06-24 21:13:02 yep, I know about the controversy. I thought ncopa&friends were maintaining a fork 2018-06-24 21:13:37 I ran into some trouble with rspamd on 3.8_rc8, some problem with luajit and grsec 2018-06-24 21:13:47 so looking into it i couldn't find the grsec kernels anymore 2018-06-24 21:15:41 the current rspamd build's config files are borked, waiting for my PR to get accepted - https://github.com/alpinelinux/aports/pull/4588 2018-06-24 21:15:42 <_ikke_> doggone: The kernels were too hard to patch for spectre/meltdown 2018-06-24 21:17:13 TBK[m]: I just had to comment out the last lines of rspamd.conf (fuzzy worker) 2018-06-24 21:18:19 well, that gets it working at least 2018-06-24 21:19:19 ughh spectre/meltdown. I am still waiting for a fix in silicon with the next gen cpus. 2018-06-24 22:21:26 hmm.. NSD is suddenly taking up >100M RAM since 3.8 2018-06-24 22:23:54 Compared to v4.1.16 on 3.7? 2018-06-24 22:49:58 Hey folks, I'm building a hardware appliance with no keyboard/monitor. I need to create a custom installer for Alpine with a bunch of settings and configs. Is there a documented way to build your own installer? 2018-06-24 23:03:20 SuperPhly: you can use this: https://wiki.alpinelinux.org/wiki/How_to_make_a_custom_ISO_image 2018-06-24 23:04:00 I think when you use setup-alpine with a custom ISO, it will use that as a base for the installed system (?) 2018-06-24 23:04:52 Yeah, I sorta need to "inject" some steps/settings in the install process in an automated way. 2018-06-24 23:05:35 Basically, insert USB stick, turn machine on, wait 30s, machine turns off, remove usb stick, turn machine on, wait and it's ready to go. 2018-06-24 23:08:03 Can be done with a homebrewed script or something like cloud-init 2018-06-24 23:09:33 TBK[m]: nsd 4.1.16 on 3.7 uses ~35M RAM, nsd 4.1.22 on 3.8 uses ~107M 2018-06-24 23:10:28 it starts at 107 and stays that way, too 2018-06-24 23:12:35 this is consistent across several machines with different configs 2018-06-24 23:18:29 doggone: Do you have a 3.8 machine where you can test the 3.7 package? 2018-06-24 23:20:39 TBK[m] : How / where would I thread cloud-init in the install process? I don't have an external machine to operate on the appliance. 2018-06-24 23:20:47 This needs to be stand alone. 2018-06-24 23:21:15 I've got a pretty nice cloud-init script already made for RancherOS 2018-06-25 03:56:42 Linux us 4.9.65-1-hardened #2-Alpine SMP Mon Nov 27 15:36:10 GMT 2017 x86_64 Linux 2018-06-25 03:56:55 i aint getting my wifi up 2018-06-25 03:57:15 02:00.0 Network controller: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter (rev 01) 2018-06-25 03:57:33 am i missing on any firmware? 2018-06-25 03:58:09 btw,it worked on the install usb 2018-06-25 11:51:20 if you are missing fw dmesg should tell you most of the time. 2018-06-25 13:38:00 does anyone here know if numbered ipv6 routing tables in alpine are broken? i am seeing weird behavior when doing `ip -6 route add blackhole default table 1023` where the routing table entry does not get added to table 1023 but the default table (0): http://xor.meo.ws/iCGbrH35GrMbJj4VM90rpxXTo-Hz3oy1.txt 2018-06-25 13:38:50 note the "table 1023" part of the table entry when doing a "list table 0" 2018-06-25 15:59:42 Fusl: is it busybox `ip` or iproute2? 2018-06-25 16:00:04 you can can try `apk add iproute2` if you use busybox `ip` 2018-06-25 19:26:00 Hello, I'm on Alpine 3.7. I'd like to clarify one thing about the format of /etc/apk/repositories. 2018-06-25 19:26:04 Do I understand it correctly that if I found a package over here https://pkgs.alpinelinux.org/packages?name=py-scipy&branch=edge which I understand is http://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/ then adding http://dl-cdn.alpinelinux.org/alpine/edge/testing to /etc/apk/repositories should make it available to apk add? 2018-06-25 19:26:09 Naturally, assuming a prior apk update. Thanks. 2018-06-25 19:27:52 testing != community 2018-06-25 19:27:54 I'm asking because I added the line to /etc/apk/repositories, run apk update but 'apk search scipy' cannot find it, so I'm just wondering. 2018-06-25 19:28:19 Ah, I see it jn__ 2018-06-25 19:30:11 That did the trick, thanks jn__ 2018-06-25 19:31:54 cool :) 2018-06-25 19:35:45 <_ikke_> Note that combining edge + stable is generally not supported 2018-06-25 19:37:42 _ikke_: This is just for two packages that are a major hassle to compile manually, numpy and scipy 2018-06-25 19:37:59 <_ikke_> right, it's just that there might be a dependency mismatch 2018-06-25 19:39:07 Sure, understood, this all is in a context of a custom apk that is mostly self-contained Python server with just a handful of carefully chosen system dependencies, all of this is always installed on dedicated instances. 2018-06-25 19:39:22 So it is under control :) 2018-06-25 19:39:26 <_ikke_> alright 2018-06-25 19:40:21 Actually, I have another question, some time ago I found a freelancer in this channel with whom we created a series of scripts for Alpine that can be found here (under 'alpine') https://github.com/zatosource/zato-build/ 2018-06-25 19:41:16 This person is not currently available - I wonder if perhaps someone else is interesting in Alpine freelancing, possibly other systems / scripting / build tools too. 2018-06-25 19:41:39 If so, feel free to PM me. I hope this is not spam, it was not the last time I asked. 2018-06-25 19:49:25 In this commit the following commit, ncurses version number was updated to 6.0_p20171125. Why doesn't this version have the standard -r0 suffix? Is it implied? https://git.alpinelinux.org/cgit/aports/commit/?id=213b1c9e6d82e0a04339d69c8f868ff13c48775a 2018-06-25 19:50:13 <_ikke_> RedBoiledTurnip: the -r0 comes from $pkgrel 2018-06-25 19:50:31 @_ikke got it thanks 2018-06-25 20:06:36 Alternatively, do you think the alpine-user list would be a good place to look for a freelancer? This is a short-term task really, there is an abuild for 3.6 that needs to be ported to 3.7, but as always there is room for more if someone is interested. 2018-06-25 21:09:50 Do I have to do anything besides add my pubkey to /etc/apk/keys in order for my repo to be trusted? apk still says "UNTRUSTED signature" 2018-06-25 21:10:33 <_ikke_> No, that should be about it 2018-06-25 21:10:37 <_ikke_> not that the name does matter 2018-06-25 21:10:39 <_ikke_> note* 2018-06-25 21:10:44 please explain 2018-06-25 21:11:18 <_ikke_> the name of the keyfile should be the same as you sign it with 2018-06-25 21:13:37 ah, that was it. thanks _ikke_! 2018-06-25 21:36:30 clandmeter: Seeing as you're the maintainer for tvh on alpine any reason why there are no git master builds? 2018-06-25 21:37:02 mpmc: hi 2018-06-25 21:37:09 why would we want a git master build?/ 2018-06-25 21:37:44 For those who want to use git master? :p 2018-06-25 21:39:16 mpmc: we only do stable releases except if upsteam doesnt provide them. 2018-06-25 21:39:43 Ah, I suppose I could build it myself? 2018-06-25 21:40:47 Sure, you can take my apkbuild as example 2018-06-25 21:41:31 Cool :) 2018-06-25 21:41:36 GitHub provides tarballs of master 2018-06-25 21:41:52 Are there a lot of changes in master? 2018-06-25 21:42:25 I thought perexg tries to keep up with releases 2018-06-25 21:43:41 clandmeter: Stable is currently at v4.2.6-9 alpine only has 4.2.5 :p 2018-06-25 21:44:21 Ok I can upgrade it 2018-06-25 21:51:46 Also random q, is there a changelog for rcs? 2018-06-25 22:08:07 mpmc: check master 2018-06-25 22:08:23 it will show what happend between rcs 2018-06-25 22:08:47 mpmc: i just pushed updated tvh, should be on dl-cdn in about 15 min. 2018-06-25 22:08:47 <_ikke_> clandmeter: is it pure telling zabbix that the backup ran? 2018-06-25 22:08:51 <_ikke_> wrong channel 2018-06-26 10:48:46 is there a way to get the grsec patches applied to the arm version of alpine linux? would i need to patch and compile the kernel myself to do so? 2018-06-26 10:49:48 yes, basically 2018-06-26 10:50:52 alternatively you could get their support package as well, they'd probably provide you with the kind of configuration you want. but that'll cost you. 2018-06-26 10:53:06 hmm.. how would i go for compiling the kernel? (never did that before). would i take the vanilla kernel, diff it with the arm kernel to get a patch, apply grsec patches to the vanilla and then the created arm patch to the result and then compile that? 2018-06-26 10:54:51 I imagine it to be simpler - get vanilla, patch with grsec and build 2018-06-26 10:55:16 and the result would work on a raspberry pi? 2018-06-26 10:56:13 just curious as the armhf download says to include the pi kernel 2018-06-26 11:06:49 there is no grsec for arm iirc 2018-06-26 11:07:52 or was it aarch64. i remeber there was something arm missing. 2018-06-26 11:16:42 clandmeter: so what could i do in terms of system hardening if i plan to put a little webserver on my pi? i mean beside all the attack vectors that this will bring up, i mean what can i do to prevent/make harder further exploitation (priv escalation) if someone gets shell access somehow to the webservers worker process. 2018-06-26 11:17:36 If you do what OpenBSD do, then you should chroot the web server to the location that the web server is serving files from. 2018-06-26 11:18:02 That would lock a user who gets a shell via the web server to the files within the chroot 2018-06-26 11:22:04 noudle: most web servers (at least sane ones) support chrooting 2018-06-26 11:22:25 darkhttpd is a very simple, alpine supported choice 2018-06-26 11:23:27 but there are many, many more 2018-06-26 11:23:38 (webserver are like the "hello world" of networking code) 2018-06-26 11:23:46 webservers* 2018-06-26 11:27:13 It's a close call between web servers and FTP servers for your first networking project probably 2018-06-26 11:28:19 oh yup 2018-06-26 11:28:53 Mine was more or less a web server. 2018-06-26 11:29:01 was actually an implementation of RFC 2324 2018-06-26 11:31:04 usb coffee pots? :P 2018-06-26 11:37:20 Networked coffee pots. Used an ESP 8266 and a stepper motor to control it 2018-06-26 11:37:22 was a lot of fun 2018-06-26 11:37:36 connected to an arduino 2018-06-26 11:50:39 cool :D 2018-06-26 11:55:38 thanks for the chroot tip 2018-06-26 11:56:34 but would that prevent (as an example) someone from uploading a local kernel exploit and running it? eg that kernel exploit presents the attacker with a root shell, would he be able to escabe the chroot? 2018-06-26 11:58:49 Theoretically, yes. But if you have an attacker like that, I don't think a chroot would be much of a challenge to them anyway 2018-06-26 11:59:53 hmm thats true 2018-06-26 12:02:17 so maybe i should let the webserver worker process run as a user that cant execute any command to upload something to the server or execute any files/executables that i dont whitelist plus the chroot. 2018-06-26 12:02:52 and make the webserver config file read only 2018-06-26 12:08:09 but there is nothing like grsec for alpine linux armhf (meaning alpine linux for the raspberry pi)? 2018-06-26 12:08:22 Yes, that's probably the best. In essence, that's what OpenBSD does with the www user. They have as few permissions as possible 2018-06-26 12:08:58 noudle, GRSec have closed their patches but CopperheadOS are maintaining a linux-hardened repository 2018-06-26 12:11:13 ah thanks, i'll have a look. 2018-06-26 12:11:49 as far as ive seen theat is not meant to be put on a pi right? 2018-06-26 12:14:03 ncopa: iproute2 does it correctly 2018-06-26 12:14:53 hir0: did you mean this? https://github.com/AndroidHardeningArchive/linux-hardened 2018-06-26 12:18:17 I think that is it. Since Copperhead company is in flux atm 2018-06-26 12:18:48 I think that is it. Since the Copperhead company is in flux atm 2018-06-26 12:19:09 aren't some of the hardenings in grsecurity actually for arm as well? 2018-06-26 12:20:04 Fusl: busybox is a simplified version so if you need to do something more advanced, then you have the option to install iproute2. I'm glad it works for you 2018-06-26 12:20:28 with regards to your web service, you could also run it in an isolated chroot, there are some security benefits to that approach 2018-06-26 12:20:52 (indeed I am surprised that Linux distros don't already isolate most of their OS level services) 2018-06-26 12:21:40 or run it in a container (docker/lxc) 2018-06-26 12:21:50 chroot was never intended to be a security feature 2018-06-26 12:22:46 noudle: i would recommend static pages if possible. then there are no server size code execution 2018-06-26 12:23:21 I use the term isolated chroot to describe a container, because that's what they mostly are - namespace isolated chroots 2018-06-26 12:23:35 my mistake 2018-06-26 12:24:34 ncopa: i will keep that in mind, tho i guess that will not be entirely possible 2018-06-26 12:33:41 I've upgraded an old docker image from debian to alpine. After the upgrade our log messages are truncated to 1k. The only thing I can find online is someone who has the same issue... https://serverfault.com/questions/870811/rsyslog-truncate-message-also-with-maxmessagesize 2018-06-26 12:33:50 Any clue why this is happning? 2018-06-26 12:41:04 noudle, looks like it but I haven't built a kernel for a while 2018-06-26 12:41:36 at least not since copperhead started looking bad 2018-06-26 12:42:50 ncopa: its just weird to me that it does work as expected when doing ipv4 numbered tables but not when doing ipv6 2018-06-26 12:42:56 but i can work with iproute2 2018-06-26 12:44:25 yeah. the other option is to send a patch to busybox 2018-06-26 12:44:50 i will unfortunately not have time to look at it anytime soon :-/ sorry 2018-06-26 12:45:10 it does not sound too hard to fix 2018-06-26 12:45:32 but iirc the busybox iproute code is a bit messy 2018-06-26 13:09:27 oh wow 3.8 is much easier to install 2018-06-26 13:09:42 none of this grsec chroot crap messing it up 2018-06-26 13:11:06 im glad someone is glad while the rest of us are missing grsec messing things up :) 2018-06-26 13:11:23 i suppose ;P 2018-06-26 13:11:38 but having to mess with sysctls during installation was a right hassle to be honest 2018-06-26 13:11:41 i belong the the latter group. also the chroot stuff can be easily handled by echoing stuff in sysfs 2018-06-26 13:13:04 mostly echo 0 > /proc/sys/kernel/grsecurity/chroot_deny* and then echo 1 > ... solves 99% of the problems 2018-06-26 13:13:35 snot: that looks like a weird issue. can you please file an issue at bugs.alpinelinux.org? 2018-06-26 13:16:59 ncopa, do you know if there's an equivalent to grsec out there? I know copperheadOS but that's potentially going to be gone soon as well 2018-06-26 13:17:12 no such thing 2018-06-26 13:17:14 however 2018-06-26 13:17:29 at least some grsec features are being ported to the kernel 2018-06-26 13:17:48 if I remember correctly 4.18 should have some of them in 2018-06-26 13:22:06 hir0: as far i know, there is nothing like grescurity out there 2018-06-26 13:24:42 damn, that's a shame. Here's to hoping someone starts developing patches again 2018-06-26 13:24:56 there pretty much isn't, just some small efforts in porting its features 2018-06-26 13:28:40 so old school kernel optimisation might make a bit of a comeback 2018-06-26 13:33:08 hir0: spender and pipacs are continuing developing the patches. they are just not publicly available anymore 2018-06-26 13:33:37 and i do not really have faith in upstream devs getting it "right" 2018-06-26 14:13:05 I have the feeling securing the Linux kernel is not where the future is at 2018-06-26 14:13:43 there's a reason why Google's getting rid of Linux/Android 2018-06-26 14:21:34 and this is why I'm personally interested in both the insulation of services and applications and doing it using fully virtualised systems using kernels other than Linux 2018-06-26 16:01:32 a good start would be people paying attention to the garbage code they are writing 2018-06-26 16:05:26 Good day, I probably know the answer but is does alpine have meltdown and specre mitigation? 2018-06-26 16:11:08 Can I use the apk from 3.7 to install 3.8 to another partition? 2018-06-26 16:14:50 yes 2018-06-26 16:15:30 loosh, the two are not exclusive really :) 2018-06-26 16:21:35 ncopa: was that directed at nekocentral or at me? 2018-06-26 16:23:53 what mercury^ said 2018-06-26 16:26:40 follow up question: the command would be `apk -p /mnt add -X https://blabla/3.8 --initdb' ? 2018-06-26 16:27:12 Probably `-U' as well. 2018-06-26 16:38:36 hey, is it possible to use setup-bootable with filesystem other than fat/ntfs? 2018-06-26 17:39:18 wasnt there a status image of the CDN servers 2018-06-26 17:46:04 Status image? 2018-06-26 18:45:46 yea it was a image of server with a colored dot for up or down cladmeter 2018-06-26 18:47:06 found it 2018-06-26 20:15:40 Is there any apk command to remove unused dependencies/does del remove all optional dependencies of a certain package? 2018-06-26 20:17:58 also is there any plans on switching from openrc? it's pretty bulky with the sysv dependency 2018-06-26 20:21:06 del does a pretty good job at it yeh 2018-06-26 20:22:27 I can't say anything about switching away from openrc, but what I do know is there's a dev with an alternative to it who contributes to Alpine, so who knows 2018-06-26 20:22:38 but that's just my personal speculation 2018-06-26 20:22:49 I'm not a contributor, disclaimer 2018-06-26 22:21:08 Any suggestions on integrating cloud-init on an alpine auto-installer? 2018-06-27 01:48:41 3.8 removed linux-hardened, how can I upgrade ? 2018-06-27 01:57:39 wener: install linux-vanilla 2018-06-27 01:58:49 then boot into linux-vanilla and uninstall hardened 2018-06-27 01:58:50 ? 2018-06-27 02:13:46 wener: that should work, i think 2018-06-27 02:15:29 how can i change the next boot kernel without screen ? just edit /boot/extlinux.conf ? 2018-06-27 03:07:23 Hi, what does "End of support for hardened kernel (unofficial Grsecurity)" mean? https://alpinelinux.org/posts/Alpine-3.8.0-released.html 2018-06-27 03:08:11 It means 3.8 has no hardened kernel 2018-06-27 03:08:47 but what does it means for sysadmins? does it mean all grsec related features are being deprecated? disabled? does it mean that from now on alpine is no longer using grsec ever again? does it mean 3.8 doesn't even have grsec? 2018-06-27 03:09:12 i.e. is it all SELinux now? (or not even..?) 2018-06-27 03:09:28 It means 3.8 doesn't have grsec, since there is no hardened kernel 2018-06-27 03:09:47 You can probably enable SELinux if you want to 2018-06-27 03:10:41 this is craziness, so any grsec related sysctl stuff will now do nothing? and there's no blog post warning about this? or how to migrate to SELinux? 2018-06-27 03:11:28 hardened kernel (grsec patches) =/= selinux 2018-06-27 03:11:35 It's been inevitable for some time, since grsec stopped providing public patches before even 3.7 2018-06-27 03:11:49 I'd expect trying to set grsec sysctls to fail, since those sysctls no longer exist 2018-06-27 03:11:58 and what about `paxctl` commands in Dockerfiles? will those now break? 2018-06-27 03:12:16 As far as I know, those just set xattrs on the files, so probably not 2018-06-27 03:12:57 alpine might as well be a package manager now. :( 2018-06-27 03:13:09 ???? 2018-06-27 03:13:11 paxctl uses either xattrs or a header of its own; you're supposed to use paxmark now anyway 2018-06-27 03:14:04 Actually, nothing in Dockerfiles can break because of this, since Dockerfiles should work on any kernel 2018-06-27 03:14:06 actually if I remember right it's a kernelconfig option but anyway... yeah, grsecurity is gone, they painted themselves into a corner and that's it 2018-06-27 03:14:31 Building an Alpine-based docker image doesn't depend on running Alpine as the host system 2018-06-27 03:14:32 ok, well, the docs on this are virtually non-existent as far as i can tell, and with this sort of support... no documentation on an upgrade path, removing one of the primary reasons to use alpine... i have little reason to use alpine now except `apk`, and that I can get while running alpine in a container on top of fedora 2018-06-27 03:15:13 yeah, i'm running alpine as a host system, because of grsec. but now there's pretty much no reason to run alpine as a host system 2018-06-27 03:15:48 so you might as well just be a package manager for docker images :-\ 2018-06-27 03:16:01 Well, you have other options 2018-06-27 03:16:06 then buy a grsecurity subscription and build a kernel with them 2018-06-27 03:19:28 without grsec, and without being able to offer support for your users who use alpine as a host system, i'm not sure why you guys are offering alpine as a host system 2018-06-27 03:21:20 that's pretty harsh 2018-06-27 03:21:28 I'm sure a refund can be arranged 2018-06-27 03:22:39 well, think about it. grsec was one of the major features of alpine and why people chose to use it as a host system. now that's gone, without so much as a blog post to help users out on how to convert their setups, and we're left with... apk? 2018-06-27 03:23:24 yes, it was a major selling point for Alpine, but by no means is it the only selling point 2018-06-27 03:23:32 as was not the package manager 2018-06-27 03:25:01 well, no blog post / upgrade guide means users are left without much support on upgrading and converting their setups, so that means they have no reason to expect future upgrades to go smoothly either. and most people use alpine with docker anyway, so a minimal fedora install + docker + apk is all users need. i can't think of a reason left to use alpine as a host system 2018-06-27 03:25:16 (or arch linux, a lot of people seem to like that) 2018-06-27 03:25:36 you still get a compact, sensibly packaged Linux distribution that's based on a relatively more secure libc, avoids systemd like plague, and overall tends to do things their own way when it seems to make more sense than the convention 2018-06-27 03:26:35 i'm libc someting that docker alpine containers benefit from? if so there's no reason to use alpine on the host? and docker replaces the need for systemd 2018-06-27 03:26:45 *isn't 2018-06-27 03:27:06 as far as binary only distributions go I find Alpine still rather comfortable for my needs that are customization related 2018-06-27 03:27:30 (and I most definitely don't want to ship anything like Arch or Gentoo with compilers included etc) 2018-06-27 03:28:02 you still need an init system tho :) 2018-06-27 03:28:16 and yes, your docker images contain that libc 2018-06-27 03:29:13 ok, so if i'm using containers i get alpine's libc, and with docker i don't need to care about systemd or alpine's init 2018-06-27 03:29:21 so... no need to use alpine on the host 2018-06-27 03:29:28 but yeah, reasonably compact, reasonably secure, those are still pretty strong points 2018-06-27 03:30:19 actually, if you mainly use docker or other containerisation, Alpine makes a good minimal host for that stuff 2018-06-27 03:30:36 ... once you get your containerisation solution configured to actually do something ... 2018-06-27 03:30:55 but alpine doesn't help out with SELinux setup, whereas fedora does 2018-06-27 03:31:17 Fedora might be getting some help from a commercial vendor... 2018-06-27 03:31:46 and fedora seems to keep its linux kernel up-to-date more frequently than alpine. plus they're reliable when it comes to upgrade time, no surprises, and they offer support 2018-06-27 03:32:12 and, frankly, the way SELinux is used on RHEL-based distros is quite different from how Grsecurity was used on Alpine 2018-06-27 03:33:40 the kernel upgrade cycle on Alpine is twofold. long term kernels only, and grsecurity politics must have messed up even that for some time 2018-06-27 03:34:04 Alpine is a small project after all, you're basically comparing it to the biggest commercial Linux vendor in the world 2018-06-27 03:34:29 and I'm not talking about Canonical, although I bet they wish I were :P 2018-06-27 03:35:43 ok, well, it's clear i made a bad decision in using alpine as my host system, and now i need to spend several days switching to something more reliable and (now more secure) like fedora. i'll probably keep my docker images as alpine... just because converting them would be a pain. ... my suggestion to y'all as a user is to abandon trying to be a host system, because there are plenty of other minimal systems out there 2018-06-27 03:35:43 that do a better job, and focus on what you're good at, which is being a Docker container target + package manager, as much as you probably don't want to hear that 2018-06-27 03:36:18 upgrade reliability wise... I maintain a very small derivative distro, and QA already with that small subset is hell. RHEL has the whole long term support thing in their business model, has had it like forever, has paying customers to fund QA etc... 2018-06-27 03:37:34 I wouldn't go as far as claiming Fedora to be more secure though, and its long term support is probably worse than that of Alpine. For LTS you either go RHEL, Centos or Ubuntu 2018-06-27 03:38:01 from the professional admin point of view 2018-06-27 03:38:49 but trust me, I've been working on Alpine related matters for about three years now, and I have my pet peeves and grievances about it too :) 2018-06-27 03:39:07 Docker EE only supports CentOS, Oracle Linux, RHEL, SLES, Ubuntu 2018-06-27 03:39:54 no matter what you use, some things will always deliver less than your ideal; the question is, what imperfections can you somewhat comfortably live with... 2018-06-27 03:40:12 Can any OS 100% support ones ideals? 2018-06-27 03:40:18 I use Docker CE.. i don't have "enterprise needs" so fedora seems fine for me... at least so far. anyway, i gtg, thanks for the chat, i wish y'all luck with the project 2018-06-27 03:40:37 TBK[m]: I imagine the guy developing, was it, TempleOS, is quite happy with his :) 2018-06-27 03:40:41 hehe, you were too fast 2018-06-27 03:42:08 random stuff on my search result page, "TempleOS has no process isolation, so it's completely unaffected by Spectre and Meltdown. I'm starting to think there's a lot of wisdom in its design." 2018-06-27 03:42:33 well, I mean, that's a point of view, sure! 2018-06-27 03:42:36 ah I remember reading about TempleOS 2018-06-27 03:43:51 I have my eye on Redox 2018-06-27 03:44:06 microkernel is more my cup of tea 2018-06-27 03:47:25 is that one of those L4 kernels? 2018-06-27 03:48:42 ah, not quite. got it confused with those. the name is familiar but I haven't looked at it in detail 2018-06-27 03:50:25 looks interesting otherwise, but Rust-only limits its usefulness (although there are certain benefits to it) 2018-06-27 03:51:21 what's your impression TBK[m], how far are they with the project? 2018-06-27 03:51:57 I have not dug deeply into the kernel design as of yet. The docs only mention that they where "largely inspired" by MINIX 2018-06-27 03:51:59 asking because it looks like I could come up with some specific use cases for it 2018-06-27 03:52:31 pre-beta ish 2018-06-27 03:53:12 some versions of their iso boots without a hitch, others do not... 2018-06-27 03:54:56 they have many side projects, one of them being a filesystem inspired by ZFS 2018-06-27 03:56:35 oh and implementing a POSIX C standard lib in rust - relibc 2018-06-27 03:57:56 okay, I think I might have a closer look; one of the things I work on is evaluating things like this from a security standpoint 2018-06-27 03:59:16 most of the guyes behind the project are also making pop!_os 2018-06-27 08:23:43 Hello, does anyone know how to clean linux-hardened after installing vanilla? I can't seem to be able to delete it. 2018-06-27 08:28:42 q3cpma: apk del linux-hardened does not work? 2018-06-27 08:28:56 mps: Just tells me OK: 854 MiB in 209 packages 2018-06-27 08:29:13 (doesn't change the number of packages, of course) 2018-06-27 08:29:24 don't know why. I did that this way 2018-06-27 08:29:57 mps: What's annoying is that del -vv doesn't tell much more 2018-06-27 08:31:27 yes, that annoying about apk 2018-06-27 08:36:27 q3cpma, is it still listed in apk info? 2018-06-27 08:36:44 clandmeter: yes 2018-06-27 08:37:04 which kernel do you currently use? vanilla? 2018-06-27 08:37:20 I chose vanilla via syslinux, but it defaults to hardened 2018-06-27 08:37:51 q3cpma, can you apk -U upgrade -a? 2018-06-27 08:38:17 clandmeter: Did nothing (OK: ...) 2018-06-27 08:39:00 can you paste your world file? 2018-06-27 08:39:38 acct 2018-06-27 08:39:38 alpine-base 2018-06-27 08:39:38 at 2018-06-27 08:39:38 cgit 2018-06-27 08:39:38 at-doc 2018-06-27 08:39:41 chrony 2018-06-27 08:39:43 coreutils 2018-06-27 08:39:45 not here 2018-06-27 08:39:46 curl 2018-06-27 08:39:47 pastebin pls 2018-06-27 08:39:48 drill 2018-06-27 08:39:49 pastbin 2018-06-27 08:39:51 e2fsprogs 2018-06-27 08:39:53 gptfdisk 2018-06-27 08:39:56 joe 2018-06-27 08:39:58 joe-doc 2018-06-27 08:40:01 lighttpd 2018-06-27 08:40:03 linux-grsec 2018-06-27 08:40:06 linux-vanilla 2018-06-27 08:40:08 lvm2 2018-06-27 08:40:11 lvm2-doc 2018-06-27 08:40:13 man 2018-06-27 08:40:16 mediainfo 2018-06-27 08:40:18 nano-syntax 2018-06-27 08:40:21 ncurses-terminfo-base 2018-06-27 08:40:23 openntpd 2018-06-27 08:40:26 openntpd-doc 2018-06-27 08:40:27 /o\ 2018-06-27 08:40:28 openssh 2018-06-27 08:40:31 openssh-doc 2018-06-27 08:40:33 pciutils 2018-06-27 08:40:36 procps 2018-06-27 08:40:38 rsync 2018-06-27 08:40:41 rtorrent 2018-06-27 08:40:43 sgdisk 2018-06-27 08:40:46 smartmontools 2018-06-27 08:40:48 smartmontools-doc 2018-06-27 08:40:51 sudo 2018-06-27 08:40:53 syslinux 2018-06-27 08:40:56 tmux 2018-06-27 08:40:57 ACTION needs to explain himself more carefully 2018-06-27 08:40:58 unbound 2018-06-27 08:41:01 util-linux 2018-06-27 08:41:03 util-linux-doc 2018-06-27 08:41:06 wget 2018-06-27 08:41:08 xfsprogs 2018-06-27 08:41:11 xfsprogs-doc 2018-06-27 08:41:13 Whoops 2018-06-27 08:41:16 Sorry 2018-06-27 08:41:18 Should I add it manually? 2018-06-27 08:41:27 apk add tpaste 2018-06-27 08:41:27 I understand the concept of world file (I main Gentoo), but such an inconsistent state may be solved that simply, right? 2018-06-27 08:41:38 tpaste < /etc/apk/world 2018-06-27 08:42:13 https://pastebin.mozilla.org/9088566 2018-06-27 08:42:22 Sorry, pastebin doesn't like tor because of CF 2018-06-27 08:42:51 remove linux-grsec 2018-06-27 08:43:01 Ahhhhh 2018-06-27 08:43:14 Makes sense 2018-06-27 08:43:29 and make sure you have vanilla kernel in boot afterwards. 2018-06-27 08:43:32 What's the difference with linux-hardened? Is one a meta package 2018-06-27 08:43:43 its a rename 2018-06-27 08:43:51 we cannot and we do not ship grsec anymore 2018-06-27 08:43:56 clandmeter: It's in /boot/extlinux.conf 2018-06-27 08:44:22 update it to use vanilla. 2018-06-27 08:44:35 clandmeter: It's already in here 2018-06-27 08:45:03 so what is your question? 2018-06-27 08:45:06 clandmeter: Well, thanks 2018-06-27 08:45:11 Nothing, it's solved 2018-06-27 08:45:17 good :) 2018-06-27 08:45:39 one satisfied spammer ;-) 2018-06-27 08:46:20 Bye 2018-06-27 09:31:03 perhaps the 3.8.0 release page could hint at an archived mail discussion about grsec/linux-hardened? 2018-06-27 09:41:08 would it be this thread? https://lists.alpinelinux.org/alpine-devel/5626.html 2018-06-27 09:46:58 hi 2018-06-27 09:47:06 is there mono in repo? 2018-06-27 09:48:50 Gnjurac: apparently there is in edge https://pkgs.alpinelinux.org/packages?name=mono&branch=edge 2018-06-27 09:49:42 hmm i need latests 5.12 :( 2018-06-27 09:50:05 but ty i didet know how to find that paackege search website 2018-06-27 09:53:49 it took me some time to understand that I needed to use wildcards in the search on pkgs.alpinelinux.org 2018-06-27 09:59:58 another thread about grsec/linux-hardened https://lists.alpinelinux.org/alpine-devel/5745.html 2018-06-27 11:49:43 Hello. I am installing alpine linux 3.8 on an orange-pi-one by using generic-arm distribution. In the past (v3.7) alpine booted and to be able to use serial I had to add "console=ttyS0,115200n8" on extlinux.conf. Now this does not work anymore. I suppose alpine boots but I can not access the console. s something changed? What can I do? 2018-06-27 12:15:17 tricky, maybe you could put the sd-card in your pc and look at /var/log/dmesg 2018-06-27 12:33:47 omniuwo: thank you for replying. correct me if I am wrong, if I had not performed lbu-commit I should not be able to find new files in the sd-card, right? 2018-06-27 12:47:51 aggaz: I know of but am not familiar with lbu, sorry 2018-06-27 13:15:55 Is there an ETA on the alpine 3.8 image being available in the docker registry? 2018-06-27 13:18:33 aggaz: Do you have serial output? Or were you getting video output before 2018-06-27 13:19:17 aggaz: Do you see anything at all after the extlinux loads the kernel, initramfs and dtb? 2018-06-27 13:25:57 duncan^: I have a serial output until kernel start, I can see u-boot and a message "starting kernel", then serial output stops. With alpine version 3.7 I had the same behaviour, but I was able to get a console by modifying extlinux.conf. Now, with version 3.8 this does not work anymore. 2018-06-27 13:26:37 I can see that it loads both the kernel and the dtb 2018-06-27 13:27:25 problem is that console serial output is not enabled by default, and serial output is visible only until u-boot calls the kernel 2018-06-27 13:35:05 hey, anybody here ? using fresh 3.8 iso dd'd on usb, and when booting from uefi all I get is a grub cli. any pointers ? 2018-06-27 13:36:09 please provide more info - arch, env... 2018-06-27 13:37:05 x86_64 on a laptop 2018-06-27 13:37:21 aggaz: Have you verified that serial port exists in Alpine's kernel version, e.g. it might have changed with newer kernels? 2018-06-27 13:37:41 (for instance, OMAP used to use ttyS0 and so on then switched to ttyO0 and so on) 2018-06-27 13:37:48 duncan^: no, actually I don't know how to do that 2018-06-27 13:38:21 should I read the code of the kernel? 2018-06-27 13:38:26 how does it work? 2018-06-27 13:42:28 wohoo, I'm feeling so alive, now it's -my- turn to be the container n00b... 2018-06-27 13:43:50 can't for the life of me figure out how to get lxd containers to gain an IP address :) 2018-06-27 13:44:09 ACTION feels dumb 2018-06-27 13:51:45 and my google-fu is weak, I just keep hitting the -host- side network configuration documents 2018-06-27 14:18:52 aggaz: just guessing here, but perhaps you need to enable uart, add "enable_uart=1" to cmdline, or there is a name change and ttyS0 is called something else.. 2018-06-27 14:25:37 could 2018-06-27 14:25:49 it actually be related to this? https://git.alpinelinux.org/cgit/aports/commit/?h=v3.8.0&id=e8239a22217649f892f5dab5e70f0047e94deb6a 2018-06-27 14:26:56 Hello71: Good thing you came and utterly corrected how wrong I am with whatever you read into my statement. 2018-06-27 14:27:04 wrong channel im sorry 2018-06-27 14:27:42 He was exasperated at me using fish and bash in one sentence for those that are curious 2018-06-27 14:54:31 omniuwo: thanks, I will try adding enable_uart. It would be nice to be able to understand the actual name of the tty* device but I can not imagine a way without booting the kernel :) 2018-06-27 15:04:14 aggaz: well, can't you hook it up with an hdmi monitor and a usb keyboard? =) 2018-06-27 15:06:35 omniuwo: I doubt hdmi will work... but I will try... 2018-06-27 16:05:37 hello everyone 2018-06-27 16:05:55 probably going to buy a RPi 3 Model B+ just for alpine 2018-06-27 16:06:24 been wanting to test it extensively for a long time 2018-06-27 17:09:51 Hi all! 2018-06-27 17:10:05 So I'm reading this https://www.digitalocean.com/community/tutorials/how-to-set-up-multi-factor-authentication-for-ssh-on-ubuntu-16-04 and have a bit of a funky setup 2018-06-27 17:10:21 I've got a chip and pin card reader that i use for ssh 2018-06-27 17:10:52 and i'd like to ssh from a computer which doesnt support it and i've selected to use pubkey+challenge response with TOTP 2018-06-27 17:11:21 thing is, I want to immediately allow access with one key, and ask for a verification code with another 2018-06-27 20:14:08 hi 2018-06-27 20:14:16 i broke my remote ssh unlock 2018-06-27 20:14:19 https://0x0.st/s95x.png 2018-06-27 20:15:07 when it boots it just takes me into the initramfs 2018-06-27 20:15:35 and running dropbear manually works as normal except it doesnt do anything after i enter the passphrase 2018-06-27 20:16:04 my cmdline is default_kernel_opts="console=ttyS1,9600 rootfstype=ext4 dropbear=2222 cryptroot=/dev/sda2 cryptdm=crypt ip=163.172.62.16::163.172.62.1:255.255.255.0::eth0" and im using https://github.com/mk-f/alpine-initramfs-dropbear on vanilla 2018-06-27 20:36:49 sy: perhaps try cryptsetup-luksOpen and then mount your / onto /sysroot manually 2018-06-27 20:49:35 teatime07: it's a 100+ character password and i cant paste into this tty 2018-06-27 20:54:24 sy: so if I understand correctly, when you run dropbear manually, you can ssh in, and then ..? 2018-06-27 20:54:27 okay so 2018-06-27 20:54:28 yes 2018-06-27 20:54:35 managed to unlock and mount over /sysroot 2018-06-27 20:54:50 this is terrible but i dont mind having a broken system as long as it boots 2018-06-27 20:54:53 now i just exit? 2018-06-27 20:54:54 or run init 2018-06-27 20:55:19 i'd start with trying to exit, it should pick up where it left off 2018-06-27 20:58:04 oh thank god 2018-06-27 20:58:39 serves me right for trying to reboot a perfectly working system 2018-06-27 20:59:28 yea, about half the time i update/tweak and reboot my router i have to go dig up a serial cable to fix stuff... 2018-06-27 21:00:51 can you tell what went wrong on your server? 2018-06-27 21:02:23 well to begin with i tried to use 2fa 2018-06-27 21:02:35 it worked but i decided to use without-password for root logins 2018-06-27 21:02:42 little did i know that doesn't work with pam 2018-06-27 21:02:54 and since i don't use sudo, i had just locked myself out of my server 2018-06-27 21:04:15 then remote unlock magically stopped working which isnt reakky surprising 2018-06-27 21:04:21 that's quite a bit more complicated than anything i've ever tried 2018-06-27 21:04:32 i didnt make the initramfs to include the dropbear things 2018-06-27 21:04:46 but when i did that then everything else broke 2018-06-27 21:04:50 it did include dropbear since you ran it from there... 2018-06-27 21:04:58 ah sorry 2018-06-27 21:05:03 yeah i remade it manually from recovery 2018-06-27 21:05:32 now i'm happy to say the most complicated issue i'm facing is mysql not starting 2018-06-27 21:06:03 but yeah, i'll stick to using chip and pin to satisfy my 2-factor needds 2018-06-27 21:06:32 i think it's worth getting this working in the long run 2018-06-27 21:07:06 but i'd start setting this up on a physical machine at home 2018-06-27 21:07:09 2 factor? 2018-06-27 21:07:26 or encrypted root w/ ssh 2018-06-27 21:07:33 2 factor 2018-06-27 21:07:50 if thats all youll ever use its great 2018-06-27 21:08:11 encrypted root depends on the remote setup 2018-06-27 21:08:11 i have a card reader so i can avoid the inconvenience of it and keep the security 2018-06-27 21:08:30 https://wiki.alpinelinux.org/wiki/Two_Factors_Authentication_With_OpenSSH with 2fa try this guide 2018-06-27 21:08:52 make sure you've got a root mosh session or similar available 2018-06-27 21:09:45 i actually really don't like the phone/google-auth thing 2018-06-27 21:10:03 me neither its terrible 2018-06-27 21:10:10 you can get a hardware otp token 2018-06-27 21:10:21 it requires me having a smartphone, and that's exactly the first thing that gets stolen and/or broken 2018-06-27 21:10:28 or even better an openpgp smart card 2018-06-27 21:10:35 well anything you use can get stolen 2018-06-27 21:10:38 if it's a second factor 2018-06-27 21:10:42 except fingerprints 2018-06-27 21:10:50 but it's pretty hard to use those for remote logins 2018-06-27 21:10:53 yea but smartphones are the obvious targets for pocket thieves 2018-06-27 21:11:05 yeah 2018-06-27 21:11:20 2fa was meant to be a backup for me 2018-06-27 21:11:33 i've got a bunch of yubikeys and also gnuk, which I use wherever i can 2018-06-27 21:11:58 i can log in with either trezor or openpgp smart card+pin and if i lose both of those i can use my phone alongside my n900 to ssh in and add new keys 2018-06-27 21:12:07 so effectively a gnupg token 2018-06-27 21:12:18 that's very nice 2018-06-27 21:12:37 but i cant do the last part because i abandoned that 2018-06-27 21:12:49 my backup plan is more involved and it involves physical digging 2018-06-27 21:13:00 if i lose both of those 2018-06-27 21:13:07 nice to find a fellow paranoid 2018-06-27 21:13:10 :) 2018-06-27 21:13:29 i'm nowhere as paranoid as i'd like to be 2018-06-27 21:13:56 i'll probably tear down all my infra and start again with generating my keys on an airgap 2018-06-27 21:14:09 those were the best 4 hours i spent on a raspberry pi 2018-06-27 21:14:18 :) 2018-06-27 21:14:36 i had this quite neat setup where background noise was added into the entropy pool after some kaminsky debiasing 2018-06-27 21:14:52 atmospheric noise* 2018-06-27 21:15:03 you can easily do that with a tv tuner :) 2018-06-27 21:15:15 you lost me there, i guess i should add some stuff to my evening reads 2018-06-27 21:16:28 here you go https://www.jfry.me/articles/2015/gpg-smartcard/ 2018-06-27 21:16:30 exact guide i used 2018-06-27 21:16:52 https://begriffs.com/posts/2017-05-17-openbsd-workstation-guide.html and this is where it all started (i have this exact model card reader) 2018-06-27 21:17:22 yup, the jfry guide is how my keys were generated (airgapped) 2018-06-27 21:17:29 heh 2018-06-27 21:17:33 what did you use? 2018-06-27 21:17:48 yubikey 4 2018-06-27 21:18:07 huh 2018-06-27 21:18:13 on yubikey generation? 2018-06-27 21:18:21 what if you lose it? 2018-06-27 21:18:29 nope, the keys were generated on the machine 2018-06-27 21:19:02 the main key is not even on the yubikey 2018-06-27 21:19:06 just the subkeys 2018-06-27 21:19:27 you use an sbc as your airgapped machine? 2018-06-27 21:19:28 i have a backup somewhere (doesn't involve digging though) 2018-06-27 21:19:43 i need to bury more backups 2018-06-27 21:19:55 no, a pc 2018-06-27 21:20:24 considering using a http://www.jaguarboard.org/index.php/com_virtuemart_menu_configuration/products/buy/jaguarboard/207/jaguarboard-detail.html next time 2018-06-27 21:20:30 i did mine on a pi i had 2018-06-27 21:36:36 reading the begriffs post: for the purpose of generating the keys i don't consider tails os as a requirement 2018-06-27 21:37:26 there's plenty of ARM boards which are perfectly fine, some of them have completely open hardware (beaglebones) 2018-06-27 21:37:35 yeah 2018-06-27 21:37:41 i thought that 2018-06-27 21:37:50 tails is a bit over the top 2018-06-27 21:37:55 and if you are really paranoid, you can use buildroot to compile the whole linux+ from source 2018-06-27 21:38:02 as long as it's sandboxed you can use Windows 2018-06-27 21:38:09 if you really want to 2018-06-27 21:38:38 well open hardware removes any possibility of "bios" or "efi" doing any nasty stuff 2018-06-27 21:38:45 ew 2018-06-27 21:38:47 yeah 2018-06-27 21:39:00 like the lenovo firmware which installs some tracker on windows 2018-06-27 21:39:10 jeez 2018-06-27 21:39:38 yeah when my keys expire next year in going to generate new ones on open hardware 2018-06-27 21:39:59 maximum paranoia 2018-06-27 21:40:09 well, i think at this point in time it's not so bad 2018-06-27 21:40:21 might even switch to the faster, ed25519 supporting YubiKey 2018-06-27 21:40:39 e.g. raspberries have some closed binary blobs but i'm pretty convinced they're not malicious 2018-06-27 21:40:59 probably™ 2018-06-27 21:41:01 there just isn't enough people doing this sh*t we do for the big boys to care 2018-06-27 21:41:19 enough to write some malware that attacks this 2018-06-27 21:42:42 - is there a yubikey that does ed25519 ? 2018-06-27 21:42:49 i'd want that 2018-06-27 21:42:51 i think the 4 does 2018-06-27 21:43:00 my Trezor does 2018-06-27 21:43:09 can't program in the keys though 2018-06-27 21:43:21 I'm guessing it's linked to the recovery phrase 2018-06-27 21:43:53 can't find it 2018-06-27 21:55:00 sy: good chat, need to sleep now 2018-06-27 23:46:08 is there a rules I can read, or is it ok to ask help questions here? 2018-06-27 23:47:04 whatever, don't want to waste too much time of your time so I'll just ask. If this isn't the place let me know. 2018-06-27 23:47:36 I'm trying to get xorg running and I keep getting: Failed to load module "nvidia" (module does not exist, 0) 2018-06-27 23:49:06 when I try to do "X -configure" I get: open /dev/dri/card0: No such file or directory. 2018-06-27 23:50:01 lspci shows it as 0a:00.0 VGA Compatible controller 2018-06-27 23:51:10 I created /etc/X11/xorg.conf.d/10-nvidia.conf and made sure that the line "BusID "PCI:a:0:0" was in it 2018-06-27 23:51:41 Oh, and I have xf86-video-nouveau installed also, should have mentioned that 2018-06-27 23:53:29 also ran setup-xorg-base 2018-06-27 23:53:50 crabFuel: Nouveau should just work 2018-06-27 23:54:55 Are you trying to make a proprietary driver work? 2018-06-27 23:55:24 sy: Which yubikey supports ed25519? 2018-06-27 23:56:10 I think... none of them do, actually 2018-06-27 23:56:35 duncan^: I'm trying to use nouveau but it isn't being used for some reason. 2018-06-27 23:56:44 also, I don't think any of them do 2018-06-27 23:56:49 crabFuel: Does Nouveau support your card? 2018-06-27 23:57:19 https://nouveau.freedesktop.org/wiki/FeatureMatrix/ 2018-06-27 23:58:00 duncan^: oh... I have a 1080ti, so maybe not. I will check. 2018-06-27 23:58:59 it does not. 2018-06-27 23:59:09 I guess that's the issue, then. 2018-06-27 23:59:17 that could be the problem... haha. I just upgraded from a 660, so I didn't even think of that. Thanks. 2018-06-28 00:01:15 as per yubico I think they said they probably won't support it because it's "not a standard ecdsa curve" 2018-06-28 00:01:54 I can't remember their exact reason but I saw it in some bug report. 2018-06-28 00:02:22 It is not in the OpenPGP standard but hopefully it will be. 2018-06-28 00:12:10 is xf86-video-nv the official nvidia drivers? 2018-06-28 00:17:52 No 2018-06-28 00:18:48 that's the "old" userspace nv driver. It might work, but it is essentially deprecated in favor of nouveau. And Matthew Garret argued the kernel portion was obfuscated and not really a free driver. 2018-06-28 00:19:42 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=383465 2018-06-28 00:20:16 maybe not the kernel portion then... 2018-06-28 00:21:37 cool, thanks duncan^. I'll get it from the nvidia website then. 2018-06-28 00:22:57 if that works. Maybe there is userspace portion of Nvidia drivers that's only linked to glibc, and gcompat may or may not work. 2018-06-28 00:30:03 I'm getting a "./nvidia-installer: not found" when I run it. 2018-06-28 00:30:39 like it's not putting the files in the right place when it runs. I actually don't see them so I don't know where they are going. 2018-06-28 00:31:05 I guess ask Nvidia for support 2018-06-28 00:32:05 They do not support Linux, except out of tree, so they ought to support it and debug it. 2018-06-28 01:09:33 anybody know the name of the package for the official nvidia drivers? I can't get them to work with the ones I downloaded. 2018-06-28 01:09:47 and the nvidia people were not as helpful as I had hoped. 2018-06-28 01:12:09 I don't think they're packaged 2018-06-28 01:24:48 dang. 2018-06-28 01:24:55 thanks for all of your help duncan^ 2018-06-28 06:04:05 crabFuel: use nouveau drivers 2018-06-28 06:04:15 (if they support your card) 2018-06-28 06:04:21 it's actually supported under Alpine 2018-06-28 07:12:49 Hi. I have trouble starting lxc containers which use systemd as the init system, namely a debian stretch container. Apparently systemd can't start any processes, because lxc-ps just shows "{systemd} /sbin/init" as a running process. Any ideas whats wrong? 2018-06-28 07:19:24 The debug log of the container contains no errors. 2018-06-28 08:07:16 Solved it: Apparently /sys/fs/cgroup/systemd was not mounted, so I did it manually: "mount -t cgroup -o none,name=systemd cgroup /sys/fs/cgroup/systemd" 2018-06-28 08:07:37 Now these containers start without problems. 2018-06-28 09:20:35 I do get them to run without running the container's init, it just means that you'll have to run some things at start time instead 2018-06-28 09:21:38 well, the container -does- have another init in it, which doesn't run systemd at all 2018-06-28 11:58:13 TBB: Indeed, but this particular container is administrated by a collegue, and he wants to have systemd for several reasons. I could use sysvinit instead, but this is ugly since Debian more or less forces systemd. 2018-06-28 12:04:41 yeah, I can see why he'd want that 2018-06-28 13:10:58 hello 2018-06-28 13:11:35 hi 2018-06-28 15:25:01 azarus: Theo nouveau drivers do not support my card yet. I have the 1080 TI wihch doesn't even look like it har partial support. 2018-06-28 16:05:47 crabFuel: sad thing. The binary driver isn't guaranteed to work on Alpine either 2018-06-28 16:06:05 (likely it won't work) 2018-06-28 16:51:12 in the alpine for django, are there any already existing groups such as debian's www-data? 2018-06-28 16:51:24 sorry, alpine for docker 2018-06-28 22:01:21 could somebody help me out with upgrade to 3.8 gone wrong 2018-06-28 22:02:33 my starting point was 3.7 hardened-kernel which was previously used by Xen Dom 0 2018-06-28 22:03:00 I updated repos to 3.8 and did the upgrade but noticed that machine is still using old 4.9-65-1 kernel 2018-06-28 22:03:14 apk add linux-vanilla 2018-06-28 22:03:36 reboot 2018-06-28 22:03:46 and I no longer can ssh to machine 2018-06-28 22:04:28 I don't have physical access to the machine at the moment but I should have in next couple of days. 2018-06-28 22:05:13 I am guessing I will be able to use grub menu to boot into the working kernel. 2018-06-28 22:05:57 is there a way for me to get this running with linux-vanilla kernel as my understanding that hardened kernel will no longer be supported 2018-06-28 22:06:04 am I missing something 2018-06-28 22:07:41 should I have run apk upgrade after adding vanilla-kernel. 2018-06-28 22:07:51 Was I wrong to try to switch the kernels? 2018-06-28 22:35:07 oko_: No, you weren't wrong. 2018-06-29 00:07:10 @duncan so why I can't see the machine on ssh 2018-06-29 00:55:01 hey all, I got a (hopefully) quick question. I can't start lxc containers. I'm running lxd on a bare metal alpin install. when I try to start a container I get "failed initializing cgroup support". Do you know why that may be happening? 2018-06-29 00:55:26 I set subuid/subgid to lxd:1000000:1000000000 2018-06-29 00:55:45 also tried lxd:100000:65536 and restarted the lxd service still nothing. 2018-06-29 00:55:52 I'm running with sudo. 2018-06-29 01:54:20 hey, i need some assistance installing alpine 2018-06-29 01:55:03 I followed these instructions: https://wiki.alpinelinux.org/wiki/Installing_Alpine_on_HDD_dualbooting 2018-06-29 01:56:10 Under ' Installing files manually 2018-06-29 01:56:10 ' i replaced linux-hardened by linux-vanilla 2018-06-29 01:56:51 And finally updated my grub2 2018-06-29 02:00:07 It finds my hdd, including /devsda3, but when it tries to mount /dev/sda3 to /sysroot(?) it says 'not found' and initramfs drops me into a rescue shell 2018-06-29 03:46:32 crabFuel: interesting, I've played with lxd for about a week on Alpine now and I haven't seen that specific error... cgmanager running? 2018-06-29 03:47:29 anybody alive? 2018-06-29 03:48:17 I broke a working Dom0 today by trying to replace linux-hardened kernel with linux-vanilla after upgrade to 3.8 2018-06-29 03:48:36 I just saw somebody else having similar problem 2018-06-29 05:02:30 oko_: what's the problem ? I upgrade my 4 server yesterday, no problem. This is my note https://github.com/wenerme/wener/tree/master/tricks/ops/os/alpine#38 2018-06-29 08:34:06 is there a lue5.3 debugger in the repos? 2018-06-29 09:08:32 If I understand it correctly, I won't be able to use kodi on Raspberry Pi? https://pkgs.alpinelinux.org/packages?name=kodi&branch=edge&arch=armhf 2018-06-29 09:09:47 Hello 2018-06-29 09:11:16 ncopa: could you rebuild Kodi for ARMs? 2018-06-29 09:12:11 It's probably the only thing that blocks me from moving from Raspbian to Alpine on my Pi. 2018-06-29 11:23:22 hello all, please recomend `timeout` command alternative for alpine linux 2018-06-29 11:23:45 i can't find package with this useful util 2018-06-29 11:26:28 found: apk add coreutils 2018-06-29 12:23:39 fedd1: busybox also has a timeout command, but it uses different syntax 2018-06-29 12:41:06 currently trying this https://wiki.alpinelinux.org/wiki/Create_a_Bootable_USB with the recent download (http://dl-cdn.alpinelinux.org/alpine/v3.8/releases/x86/alpine-standard-3.8.0-x86.iso) to create a bootable usb. however, using 'setup-bootable' or the manual approach result in "no operating system found" when booting the usb. copying the .iso using dd just results in a blinking cursor when booting the usb.. 2018-06-29 12:41:13 so what am i supposed to do now? 2018-06-29 12:43:01 the .iso does work in virtualbox (so i could use the setup-bootable script from there), but not when dd'ed onto the usb. hmm 2018-06-29 12:59:14 nvm got it 2018-06-29 13:04:06 Hello. Having trouble finding security guides/info in the Alpine wiki. Any recommendations? 2018-06-29 13:14:26 because of the freenode, gentoo and other compromises last night, alpine is still fine? 2018-06-29 13:31:46 hi 2018-06-29 15:01:57 hello 2018-06-29 15:15:01 aaand solved 2018-06-29 15:15:10 RTFD wins again 2018-06-29 16:14:48 out of curiosity is there a reason for using a dot into a package name, other than avoiding possible collisions? 2018-06-29 16:14:49 https://github.com/jfloff/alpine-python/blob/master/3.6/Dockerfile#L52 2018-06-29 16:14:57 cf. --virtual .build-deps 2018-06-30 07:10:25 not much traffic here 2018-06-30 10:20:46 Hi. I'm trying to configure a bridge on Alpine. The goal is to have a multi-homed system with just one NIC. So I created a bridge and attached the physical NIC and a virtual interface to it. The virtual interface cannot access the network though. What am I missing 2018-06-30 10:20:52 ? 2018-06-30 10:23:20 what exactly do you mean by multi-homed? 2018-06-30 10:23:26 and how did you create the bridge? 2018-06-30 10:31:17 a virtual interface for a virtual machine? 2018-06-30 10:31:30 addresses on the bridge and on the vif inside the vm? 2018-06-30 10:33:03 mepholic: I mean having multiple IP addresses (on different interfaces). I created the bridge in /etc/network/interfaces 2018-06-30 10:33:28 omniuwo: No. Virtual interface just because it's "present in hardware". 2018-06-30 10:33:30 that's still like 0 information 2018-06-30 10:33:41 and completely not helpful for us to help you 2018-06-30 10:33:59 show me some configurations 2018-06-30 10:36:17 This is my interfaces conf: http://dpaste.com/1J7GJ9M 2018-06-30 10:36:41 I'm running Alpine in an LXC container (in its own netns). 2018-06-30 10:37:11 On the host I have a dnsmasq running that does DHCP and auto-registers leases in it's own DNS. 2018-06-30 10:37:54 What I wanna do is having multiple interfaces with different hostnames so that I can reach the container under different hostnames. 2018-06-30 10:38:54 Manis: it might help if you declare the bridge after the virtual interface 2018-06-30 10:38:59 if you do brctl show 2018-06-30 10:39:01 or whatever 2018-06-30 10:39:07 is vhost0 even in there? 2018-06-30 10:39:17 i think this file is processed in order 2018-06-30 10:41:33 The vhost0 interface exists http://dpaste.com/2WF998S 2018-06-30 10:43:45 great, that's helpful, but also not what I asked you to do 2018-06-30 10:43:46 It is not attached to the bridge by default though. I used to do that manually using brctl. 2018-06-30 10:44:05 I'm just trying to swap the order in the interfaces conf 2018-06-30 10:44:19 yes, so you likely need to put the vhost interface lines above the br0 interface lines in the config 2018-06-30 10:44:41 Yep, that worked. 2018-06-30 10:44:53 Now the br0 has both eth0 and vhost0 attached. 2018-06-30 10:45:04 since the config is declarative, and processed in order, no vhost0 interface exists when it's creating the br0 interface on bringing up the network 2018-06-30 10:46:35 Manis: so keep in mind, if you're putting multiple IP's on the same subnet, interface metric will come into effect, and replies to any assigned IP will be sent out the interface with the lowest metric 2018-06-30 10:46:37 iirc 2018-06-30 10:47:08 if you're putting multiple IP's from different subnets on there, then STOP, because you shouldn't be using bridging for that 2018-06-30 10:47:14 that's what layer 3 routing is for 2018-06-30 10:49:44 The goal is having IPs from the same subnet. The metric might play a role, but both br0 and vhost0 have a metric of 1 set. 2018-06-30 10:50:03 I just added an IP to vhost0 and tried to ping br0 without success http://dpaste.com/0049WQ6 2018-06-30 11:17:11 the br0 takes control for both eth0 and vhost0 Manis 2018-06-30 11:17:21 add that IP to br0 2018-06-30 11:17:44 you probably don't even need the bridge or the vhost if you just want multiple IP's on one interface 2018-06-30 11:17:52 because that is definitely possible 2018-06-30 11:18:46 Although there are textbooks that suggest it's not possible to have multiple IP addresses on a single interface, it should be noted they are decades out of date 2018-06-30 11:18:50 Yeah. I want to request them via DHCP though (using different hostnames). I dunno if that's possible with only one interface. 2018-06-30 11:19:39 https://superuser.com/questions/344733/getting-2-ip-addresses-on-one-network-card-using-dhcp 2018-06-30 11:19:39 The problem might be something completely different. Maybe dummy interface are really just dummies and do not work afterall. 2018-06-30 11:20:21 DHCP isn't magical and you should be able to configure multiple IP addresses on a single interface pretty easily. 2018-06-30 11:21:45 The key here is different hostname. The only way I know of to set the hostname to send via DHCP is to make an interface-specific config in dhclient.conf. But it might work with a macvlan interface as mentioned in the linked stackoverflow article. 2018-06-30 11:21:52 Will try that. 2018-06-30 11:25:08 Manis: virtual interfaces sound like the best bet for you 2018-06-30 11:25:17 not dummies 2018-06-30 11:25:23 and you don't need a bridge for those 2018-06-30 11:32:29 macvlan works perfectly. Thanks a lot :-) 2018-06-30 11:32:48 Does the interfaces file by chance support a hostname option? 2018-06-30 11:40:02 i think so 2018-06-30 11:40:11 not sure exactly how that works 2018-06-30 11:40:12 ¯\_(ツ)_/¯ 2018-06-30 11:40:22 Why do you need a separate hostname for each IP address? 2018-06-30 11:41:29 If you've got something at the end of the IP address (say, a virtual machine), you might as well specify it in local DNS or have the virtual machine in question send the hostname (I think it should... but I'm not sure) 2018-06-30 12:09:27 duncan^: I want to run a web server with multiple vhosts in my Alpine container and have set the dnsmasq as a DNS server on my host system. I don't really need different IP addresses, I just want to have multiple hostnames so that I can connect to the web servers vhosts without having to adjust /etc/hosts or so on the host. 2018-06-30 12:30:20 The hostname option only seems to work when dhclient is not installed. 2018-06-30 12:30:32 It works with udhcpc 2018-06-30 15:10:45 hi, how come standard debian commands for nginx like `nginx -t` dont work? 2018-06-30 15:11:36 i notice theres nothing like `/etc/init.d/whatever` either 2018-06-30 15:12:17 are there alpine style alternatives? i havent been able to find them 2018-06-30 15:19:26 i'm running into this bootloader problem on ARM again 2018-06-30 15:19:48 setup-disk absolutely wants to use syslinux, which is x86-only 2018-06-30 19:11:19 2018-06-30 19:11:21 2018-06-30 19:11:23 2018-06-30 19:11:25 e 2018-06-30 19:11:27 2018-06-30 19:11:29 mm mm mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm mmmmmmmmmm 2018-06-30 19:11:31 mmmmmmmm 2018-06-30 19:11:42 uuh 2018-06-30 19:11:47 cat got my keyboard 2018-06-30 19:11:49 whoops. 2018-06-30 19:38:58 catposting 2018-06-30 20:06:24 2018-06-30 21:22:28 ran into this issue when running pypy's unit tests: https://my.mixtape.moe/yhmyih.png 2018-06-30 21:22:48 guessing that's a musl bug? 2018-06-30 21:28:11 trfl: can't see much on your screenshot 2018-06-30 21:28:32 pypy uses CPP unit tests? whut? 2018-06-30 21:29:15 pypy has a c interface it uses to provide some features, for instance date conversion using the system libc 2018-06-30 21:29:50 the segfault occured when trying to print a date with year 12345, which is reproducible with this simple c++ program 2018-06-30 21:31:23 ACTION tries to reproduce 2018-06-30 21:31:29 what happens on a glibc system? 2018-06-30 21:32:37 >Sun Aug 31 05:00:02 65983175 2018-06-30 21:32:42 at least it doesn't crash :p 2018-06-30 21:34:49 Wed May 2 00:00:00 CEST +12345 2018-06-30 21:34:50 Wed May 2 00:00:00 CEST +12345 2018-06-30 21:34:55 wow that's weird 2018-06-30 21:36:20 huh, it works just fine in C but not in C++ 2018-06-30 21:36:54 trying to install alpine 3.8 to /mnt by chroot method as described https://wiki.alpinelinux.org/wiki/Installing_Alpine_Linux_in_a_chroot 2018-06-30 21:37:50 ./apk.static --progress -X https://nl.alpinelinux.org/latest-stable/main -U --allow-untrusted --root /mnt --initdb add alpine-base 2018-06-30 21:38:31 after about 2 or 3 minutes, it fails with an error indicating there is no alpine-base 2018-06-30 21:38:49 (I checked the repo with my browser from another system and it is there 2018-06-30 21:39:13 obviously, I am doing something wrong 2018-06-30 21:39:41 looks like it is doing a fetch for APKINDEX.tar.gz 2018-06-30 21:39:50 and it just hangs there until it fails 2018-06-30 21:39:55 tia 2018-06-30 21:40:43 did you copy in the /etc/resolv.conf from outside the chroot? if that fails, it won't be aware of which packages are available, and retrieving the packages to set up the system would likely also fail 2018-06-30 21:41:07 oh! 2018-06-30 21:41:15 thanks, it did say that, but I forgot to do that... 2018-06-30 21:41:56 trying again now 2018-06-30 21:42:14 trfl: I can bring it to segfault in c 2018-06-30 21:42:15 azarus, ok nvm it does crash for both gcc and g++ (got my terminals mixed up) https://ocv.me/dev/?repro/ 2018-06-30 21:42:23 heh 2018-06-30 21:43:01 is apk.static always this quiet, even with -vvvvv? 2018-06-30 21:43:19 and --progress doesn't seem to do anything either 2018-06-30 21:45:30 trfl: still fails "unsatisfiable constraints" alpine-base missing 2018-06-30 21:46:37 changed https to http; it fails right away 2018-06-30 21:46:44 does it succeed in retriving APKINDEX now? try this in the chroot: curl -O https://mirror.leaseweb.com/alpine/latest-stable/main/x86_64/APKINDEX.tar.gz 2018-06-30 21:47:23 I'm using nl.alpinelinux.org 2018-06-30 21:47:28 does that matter? 2018-06-30 21:47:32 I'm in the US 2018-06-30 21:47:46 nah, either should be fine -- only difference should be the download speed 2018-06-30 21:48:04 http fails, apparently because it is not valid address 2018-06-30 21:48:14 so must be http. Can I use ftp:// 2018-06-30 21:48:16 ? 2018-06-30 21:48:42 trfl: it doesn't segfault for me when I use gcc, but it does when using tcc 2018-06-30 21:48:45 weird 2018-06-30 21:48:50 if that curl command fails, you're out of luck anyways -- how about ping mirror.leaseweb.com 2018-06-30 21:49:22 ping works 2018-06-30 21:49:38 the other way around you mean azarus? gcc is what does it on my end, but then again I'm on 3.7 2018-06-30 21:49:39 does it matter where I do the curl from? I am not "inside" a chroot anyway 2018-06-30 21:49:49 yes it matters, has to be done within the chroot 2018-06-30 21:50:03 so I need to do a "chroot /mnt" first? 2018-06-30 21:50:15 or rather hang on, let me doublecheck the guide :p 2018-06-30 21:50:21 merely cd'ing won't help... 2018-06-30 21:50:26 trfl: i am on edge 2018-06-30 21:50:51 ...no, sorry, we are still outside the chroot 2018-06-30 21:51:39 sorry, curl is not available 2018-06-30 21:54:28 trfl: I have /dev mounted on /mnt/dev 2018-06-30 21:55:02 the volumes mounted in /mnt are lvm and they are active 2018-06-30 21:55:13 root is ext2, the rest are ext4 2018-06-30 21:55:44 all sounds good, nothing that could explain your lack of internet connectivity regardless 2018-06-30 21:55:53 I can't think of any reasons it wouldn't work sorry 2018-06-30 21:55:58 I can ping anywhere 2018-06-30 21:56:04 no problem with connectivity 2018-06-30 21:56:20 well http and https doesn't work though, so it's something up that alley 2018-06-30 21:56:28 ping isn't over tcp 2018-06-30 21:58:49 generally, if you can ping, you can tcp... 2018-06-30 21:58:55 (generally) 2018-06-30 22:00:59 I've not done anything to the net stack 2018-06-30 22:10:53 problem seems to be bash 2018-06-30 22:11:15 when chroot starts, it looks for bash and can't find it in chroot world 2018-06-30 22:11:20 so it hangs and fails 2018-06-30 22:11:34 exiting bash to ash works 2018-06-30 22:25:57 there's no /boot in my chroot 2018-06-30 22:26:17 setup-boot seems to be for "media" (not a disk?) 2018-06-30 22:26:24 how to make my alpine bootable? 2018-06-30 22:43:55 setup-alpine generally aids you in that procedure 2018-06-30 23:04:58 bozonius: are you trying to install AL in chroot and use it from chroot or to install it to be bootable 2018-06-30 23:16:43 install to be bootable 2018-06-30 23:18:38 azarus: setup-alpine wanted to clobber an entire disk! 2018-06-30 23:19:22 is there an install-boot or setup-boot for an already-installed chroot? 2018-06-30 23:19:48 bozonius: isn't that the point of installing to disk? 2018-06-30 23:20:08 not if I want multiboot 2018-06-30 23:20:11 you want to boot to a chroot? 2018-06-30 23:20:16 not sure if thats even possible 2018-06-30 23:20:19 I already have other stuff installed in other partitions 2018-06-30 23:20:24 ??? 2018-06-30 23:20:42 it must be; there is even a wiki page for dual boot 2018-06-30 23:21:15 doubt it; but i'll go to sleep now 2018-06-30 23:21:48 https://wiki.alpinelinux.org/wiki/Installing_Alpine_on_HDD_dualbooting 2018-06-30 23:22:23 bozonius: that's just a traditional disk install 2018-06-30 23:22:35 which is sort of what I am looking for 2018-06-30 23:22:44 but instead of dual boot, multi-boot 2018-06-30 23:22:55 you can do that, but you cannot boot into a chroot 2018-06-30 23:23:16 just have multiple disks and/or partitions 2018-06-30 23:23:30 I don't want to ongoing. I want to boot into alpine, or boot into another linux, or another distro, etc 2018-06-30 23:23:47 well you can 2018-06-30 23:23:52 the problem was that it wanted to clobber the ENTIRE disk not just a partition 2018-06-30 23:24:12 it presented only my 2 physical hard disks, not partitions of those disks 2018-06-30 23:24:18 I tried it several times 2018-06-30 23:24:43 ah, well, you can just format the disk/partition yourself, "setup-disk -m sys /" 2018-06-30 23:24:55 that's all there is to it 2018-06-30 23:25:06 setup-disk -m sys /mnt ? 2018-06-30 23:25:14 bozonius: depends, but yes, maybe 2018-06-30 23:25:25 also, you probably need to configure your bootloader 2018-06-30 23:25:29 and that installs the boot also? 2018-06-30 23:25:41 np on the bootloader part 2018-06-30 23:25:49 the boot? you mean /boot? 2018-06-30 23:25:52 just want to make sure it installs linux and grub 2018-06-30 23:25:55 right /boot 2018-06-30 23:26:06 it won't install grub, syslinux is the default 2018-06-30 23:26:14 sorry... syslinux 2018-06-30 23:26:20 (I forget where I am sometimes) 2018-06-30 23:26:52 if grub is already installed, can I configure that to boot alpine? 2018-06-30 23:26:55 sure 2018-06-30 23:26:57 ok 2018-06-30 23:26:59 thanks 2018-06-30 23:27:07 np 2018-06-30 23:27:09 goodnight 2018-06-30 23:29:54 much appreciated 2018-06-30 23:29:57 good night