2015-01-01 23:05:09 where should 32 bit libraries be installed on 64 bit Alpine ? /usr/lib32 ? 2015-01-02 08:29:38 Good Morning and a Happy New Year! 2015-01-02 15:35:50 Hello there 2015-01-02 15:38:13 I need little help in freeswitch + bluebox on Alpinelinux 2015-01-02 15:38:44 I followed tutorial from wiki http://wiki.alpinelinux.org/wiki/2600hz 2015-01-02 15:39:28 Everything seems to be fine when installing 2015-01-02 15:39:51 But when I try to acces bluebox from browser 2015-01-02 15:39:59 I get an error 2015-01-02 15:40:25 Warning: require(/usr/share/webapps/bluebox/bluebox/config/config.php): failed to open stream: No such file or directory in /usr/share/webapps/bluebox/system/core/Kohana.php on line 413 2015-01-02 15:40:53 Fatal error: require(): Failed opening required '/usr/share/webapps/bluebox/bluebox/config/config.php' (include_path='.:/usr/share/pear') in /usr/share/webapps/bluebox/system/core/Kohana.php on line 413 2015-01-02 15:41:09 I installed also php-pear 2015-01-02 15:41:34 and set it up 2015-01-02 15:41:34 but the error is the same 2015-01-02 15:41:58 do you have an idea what is the reason of this aerror? 2015-01-02 15:42:05 THANKS 2015-01-02 15:46:39 Laurentius1977, which files do you have in this dir? /usr/share/webapps/bluebox/bluebox/config/ 2015-01-02 15:49:12 cobfig.php.dist database.php.dist email.php.dist locale.php.dist session.php.dist telephony.php.dist upload.php.dist 2015-01-02 15:49:21 these are all the files 2015-01-02 15:49:43 copy config.php.dist to config.php and customize it 2015-01-02 15:50:20 ok, I will do that 2015-01-02 15:50:29 thank you a lot 2015-01-02 15:50:45 yw Laurentius1977 2015-01-02 16:04:25 It opened the installer page, but wit another error 2015-01-02 16:04:29 An error was detected which prevented the loading of this page. If this problem persists, please contact the website administrator. 2015-01-02 16:04:46 >bluebox/views/installer/welcome.php [1]: 2015-01-02 16:05:06 Non-static method form::open_section() should not be called statically, assuming $this from incompatible context 2015-01-02 16:11:39 Someone encountered the same error in Arch Linux https://aur.archlinux.org/packages/bluebox-git/ 2015-01-02 16:22:04 the .preinstall.sh script ran with no problems... 2015-01-02 19:03:47 I reinstalled all again on a clean environment 2015-01-02 19:03:59 it seems that the error persists 2015-01-02 19:04:04 Non-static method form::open_section() should not be called statically, assuming $this from incompatible context 2015-01-02 19:04:39 I think there is a problem in php-5.6 2015-01-02 19:04:51 I google it 2015-01-02 19:05:11 strange 2015-01-02 19:05:43 Does anyone have a clue about it, please... 2015-01-02 19:06:38 if someone can replicate the error would be great appreciated 2015-01-02 19:07:40 I followed the steps from wiki http://wiki.alpinelinux.org/wiki/2600hz 2015-01-02 19:08:41 I installed also php-pear and made a "pear install DB" 2015-01-02 19:09:09 no succes here 2015-01-02 19:12:46 or do you know a GUI for freeswitch that works? I will try also acf-freeswitch but I think it's not fine grained like bluebox 2015-01-03 02:54:03 firstofall wishing you a nice new year 2015-01-03 02:54:20 second, since it's worrying at the moment, any idea about this: 2015-01-03 02:54:20 vgxen_raid10-vfile--data0: event registration failed: 18696:3 libdevmapper-event-lvm2raid.so dlopen failed: Error loading shared library libdevmapper-event-lvm2raid.so: No such file or directory 2015-01-03 02:54:33 comes when i do lvconvert -m 1 /dev/vgxen_raid10/vfile-data0 2015-01-03 02:55:01 daveh0003:~# find / -name libdevmapper-event-lvm2raid.so 2015-01-03 02:55:01 /lib/device-mapper/libdevmapper-event-lvm2raid.so 2015-01-03 02:55:01 daveh0003:~# ls -l /lib/device-mapper/libdevmapper-event-lvm2raid.so 2015-01-03 02:55:02 -r-xr-xr-x 1 root root 10032 May 13 2014 /lib/device-mapper/libdevmapper-event-lvm2raid.so 2015-01-03 02:55:16 does exist but shitty devmapper is probably blind 2015-01-03 02:56:02 does the symbol error matter?: 2015-01-03 02:56:03 http://hastebin.com/oxufiqedad.coffee 2015-01-03 22:26:51 if I accidentally upgraded a package, how can I downgrade it again? 2015-01-03 22:29:19 and, on that note, does anyone have the 3.14.20-1-grsec package lying around ;) 2015-01-03 22:31:04 ah, it's on the 3.0.5 ISO 2015-01-03 22:32:48 ahills, you can look in your local package cache 2015-01-03 22:32:54 /var/cache/pacman 2015-01-03 22:33:17 Wait 2015-01-03 22:33:24 I thought I was on #archlinux for a second 2015-01-03 22:33:26 Sorry :) 2015-01-03 22:33:27 I translated that to apk, but there are no .apks in there 2015-01-03 23:31:41 Why does avahi depend on dbus? 2015-01-04 00:18:06 ThatTreeOverTher: "for IPC with client applications" according to http://avahi.org/wiki/DownloadAvahi 2015-01-04 00:20:01 dne, what's funny is that says it's optional (and apk agrees); however, `avahi-daemon` refuses to start without D-Bus 2015-01-04 00:29:17 I mean, if that's what it takes, then forget it, I'll just set a static IP and write it down... 2015-01-04 00:31:38 the package seems to be built w/o "--disable-dbus" which I assume means it will depend on dbus 2015-01-04 00:32:33 ah. I believe I can handle a little recompile. Easier than setting up dbus, anyway 2015-01-04 01:01:24 strange. When compiling avahi, I got an error that gcc couldn't create executables. config.log: http://ix.io/fAk 2015-01-04 01:01:39 couldn't even finish the `./configure` properly. 2015-01-04 14:43:06 Hi guys 2015-01-04 14:43:40 Who are using i3 window manager? 2015-01-04 14:45:15 I have a problem with it 2015-01-04 14:49:09 anyone? 2015-01-04 14:49:26 o/ 2015-01-04 14:49:36 0/ 2015-01-04 14:50:11 Could you help me? 2015-01-04 15:05:09 dunno 2015-01-04 18:54:43 is there a way to get a more recent firefox by pinning packages? what's involved? 2015-01-04 19:34:17 and is anyone working on packaging chromium? :) 2015-01-04 19:48:59 packaging chromium was discussed sometime ago ... chromium seems to ship it's own libraries for anything and everything iirc ... https://bugs.alpinelinux.org/issues/285 2015-01-04 19:49:07 I don't think anyone is working on it 2015-01-04 19:50:17 regarding firefox, I'm not sure if I understand you correctly. is the current package version outdated? 2015-01-04 19:52:46 current package is 31 i think 2015-01-04 19:52:52 latest seems to be 34 2015-01-04 19:53:24 i don't really follow firefox so i may be mistaken. i'd prefer to be using chromium if it were packaged 2015-01-04 20:20:29 can you create a bug report @ redmine.alpinelinux.org for the outdated firefox package please? 2015-01-04 20:20:54 i think it's known that the package doesn't follow bleeding edge 2015-01-04 20:22:18 34 seems to be stable :) 2015-01-04 20:22:51 aah ... 31 seems to be the ESR release 2015-01-04 20:22:56 https://www.mozilla.org/en-US/firefox/organizations/faq/ 2015-01-04 20:24:20 :/ 2015-01-05 10:57:06 interesting to read, https://tools.ietf.org/html/rfc7435.txt 2015-01-05 13:05:27 ahoi 2015-01-05 13:39:04 what are some use cases of Alpine Linux? The wiki has some suggestions, but what have you used it for? 2015-01-05 13:41:08 Phiphler, as server is a beauty 2015-01-05 13:41:42 web,mail,firewall,gateway,database,etc,etc,etc .... 2015-01-05 13:41:44 how recent are the packages compared to other server oriented distributions? 2015-01-05 13:42:46 hi 2015-01-05 13:43:17 we have stable releases and edge (rolling release, like Arch) 2015-01-05 13:43:29 I see these very active boys, so I guess it's roling release, but honestly I'm not sure 2015-01-05 13:43:53 so "edge" by definition gets the most recent versions 2015-01-05 13:44:23 stable releases are every 6 months 2015-01-05 13:44:45 ok that seems nice! Is there a list of packages somewhere or should I just install it in a VM and start querying? 2015-01-05 13:44:55 http://wiki.alpinelinux.org/wiki/Releases 2015-01-05 13:45:30 http://forum.alpinelinux.org/packages 2015-01-05 13:45:51 http://forum.alpinelinux.org/packages 2015-01-05 13:46:48 oh nice, the forum link on the site didnt work for me for some reason 2015-01-05 13:48:17 there is also this: http://git.alpinelinux.org/cgit/aports/tree/ 2015-01-05 13:53:16 Phiphler: My Infrastructure is based on currently 17 Alpine Linux Servers 2015-01-05 13:53:39 jomat: do you provide professional services with those servers? 2015-01-05 13:54:07 Phiphler: There are webservers, gateways, postgresql-servers, resolvers, vpn-enpoints, ... 2015-01-05 13:54:17 Phiphler: that's just hobby :-) 2015-01-05 13:55:02 Phiphler: Hi. Similar to Jomat here but with 10 servers only ;) And it's my main professional infrastructure 2015-01-05 13:55:46 jomat: do you have backup schemes deployed with those servers? Backing up other peoples data is something I've been interesting in doing, since I keep having to fix friends and family members computers 2015-01-05 13:55:46 Phiphler: not yet, that's stoll on my todo-list... but i think it will be bacula 2015-01-05 13:55:50 *still 2015-01-05 13:57:02 cool stuff 2015-01-05 13:58:13 Phiphler: i work for a hosting company with a few hundret debian/ubuntu servers (company policy) where we run bacula 2015-01-05 13:58:39 The missing piece is RBD support in the kernel and qemu-KVM to be able to deploy a CEPH cluster with Alpine ;) 2015-01-05 13:59:11 Jean-Scotch: qemu-KVM should work 2015-01-05 13:59:15 qemu-kvm works great but without RBD support 2015-01-05 13:59:46 ah, ok :-) 2015-01-05 15:42:15 if I want to run a small server with Alpine, possibly with some Owncloud, small scale mail server and backups, what amount of RAM should I be aiming at? 2015-01-05 15:47:03 Phiphler, i'm running owncloud, pgsql, roundcube, postfix, DMVPN hub in 384MB RAM 2015-01-05 15:47:37 that's a disk install 2015-01-05 15:47:37 whoa, Im impressed. I tried running Owncloud on a raspberry pi and it choked 2015-01-05 15:47:53 run-from-ram i'd aim at least 512MB 2015-01-05 15:50:01 well, if you are using owncloud you are gonna need a disk as well to store your data 2015-01-05 15:50:28 yes, but you can still run-from-ram 2015-01-05 15:50:38 and have only /var on disk 2015-01-05 15:50:38 Phiphler: I'm running tftp, rtorrent, NFS, minidnla and conserver on a 256MB rpi and it works perfectly fine, you just need a big swap parition on a USB disk 2015-01-05 15:51:03 I usually do streaming from there to my ps3 and it is very stable 2015-01-05 15:52:22 royger: It was in fact not Alpine but arkOS I was running which caused the problems. arkOS is like "server-for-dummies", but Alpine has pretty decent documentation so I might try it instead 2015-01-05 15:53:11 I'm not very good at Linux yet, I need some kind of guide to set stuff up properly (Arch was my first distro :P ) 2015-01-05 15:54:10 I'm runnign something called raspbian or similar, by the time I set this up alpine was not available on arm, and I don't what to do it all again from scratch 2015-01-05 15:55:30 mayby I will just try to make a big swap on my arkOS install then. How big is the swap you are using? 2015-01-05 15:58:06 4GB 2015-01-05 15:58:45 royger: ill scrape up a stick of that size and give it a try! Thanks for the advice 2015-01-05 16:00:01 swap on usb sticks is slooooow and eats up your usb stick 2015-01-05 16:00:15 you could also try to swap on a nfs share 2015-01-05 16:00:45 jomat: nfs is sadly not an option in this case, and its a raspberry pi so swap on the SD card would be even slower 2015-01-05 16:01:01 jomat: how about swap on a USB 2.0 harddrive? 2015-01-05 16:01:11 thats faster :-) 2015-01-05 16:01:44 lets try that first then 2015-01-05 16:02:03 if you have some hd on your pi i'd suggest to use a partition/lv/swapfile on that :-) 2015-01-05 16:04:26 if you use a sd/usb stick as swap it will last from christmas to new year 2015-01-05 16:06:03 3 months for my last 16 G stick :-( 2015-01-05 16:17:36 wow 2015-01-05 16:18:17 are usb sticks so unreliable? 2015-01-05 16:21:20 flash memory has a very limited amount of write cycles 2015-01-05 16:22:05 reading is afaik no problem, but writing destroys them 2015-01-05 17:36:54 Phiphler: welcome to apline linux :) 2015-01-05 17:37:00 apline? 2015-01-05 17:37:12 Apline 2015-01-05 17:37:16 Alpine 2015-01-05 20:58:58 hello 2015-01-05 20:59:20 is there a tutorial on howto run alpine on the raspiberry pi? 2015-01-05 20:59:38 i think so 2015-01-05 20:59:44 it's not too tricky 2015-01-05 20:59:49 hang on 2015-01-05 21:02:51 i did not find one. i just created two partitions, one vfat(boot) and one ext2 and copy all files from the tgz onto the vfat partion. but it does not boot. 2015-01-05 21:03:00 arg, can't find it. you'll need a sd card with a fat32 partition (W95 FAT32 in fdisk) with fat filesystem on it 2015-01-05 21:04:06 i have done mkfs.vfat is this ok to? 2015-01-05 21:04:38 should be. have you set the boot flag on the partition? 2015-01-05 21:04:49 yep 2015-01-05 21:05:07 can you check the partition type in fdisk? 2015-01-05 21:06:56 ;o) you are good, it was wrong, it said linux swap... 2015-01-05 21:07:09 changed it to b(w95 fat32) 2015-01-05 21:07:17 cool 2015-01-05 21:07:54 thanks much will give it a try now :o) 2015-01-05 21:11:28 let us know how you get on 2015-01-05 21:12:58 thx ScrumpyJack that was the problem... it boots know 2015-01-05 21:13:10 -k 2015-01-05 21:14:20 i will digg deeper into configuration etc. tomorrow. its really nice to see a musl based distro with grsec kernel on the raspberry 2015-01-05 21:22:07 bye and thx 2015-01-06 04:37:56 jomat: actually that was true with SLC NOR flash memories, NAND and MLC both bring troublesome reads too, even adjeccent reads can flip bits etc.; the block relocation chips will rewrite read areas rather often for that reason... 2015-01-06 04:38:53 basically the higher information density, the bigger error rates 2015-01-06 04:40:54 also there's bunch of "recycled" od "refurbished" memories in usb sticks, so it's quite a lottery on how will one last 2015-01-06 05:21:56 i'm getting a 404 on alplinelinux.org/packages 2015-01-06 07:55:04 bougyman: should be fixed now 2015-01-06 07:55:04 thanks 2015-01-06 08:24:12 morning 2015-01-06 08:25:42 morning :) 2015-01-06 08:51:55 morning 2015-01-06 08:57:08 does anyone know why there are always two "unreachable default dev lo table unspec proto kernel metric 4294967295 error -101" routes? they are also there when no interface is up and no route/ip address is configured 2015-01-06 08:57:42 ipv6 works great ... but I don't know why these routes are there 2015-01-06 08:58:07 they only show up by using "ip -6 route show table all" 2015-01-06 09:53:22 CcxCZ, I wished there were USB ram sticks, nice for AL use 2015-01-06 10:05:21 even 1-2gb would be very nice 2015-01-06 10:19:37 CcxCZ: thx for the infos, didn't know those facts 2015-01-06 11:24:46 nice , all low power, http://download.intel.com/newsroom/kits/ces/2015/pdfs/5th_Gen_Intel_Core_Factsheet.pdf 2015-01-06 11:29:55 hi. is anyone using SSD storage with alpine? i'm interested in changing io scheduler to deadline (it is provided as kernel modules on alpine: kernel/block/deadline-iosched.ko). is there a good way to modify sysfs on boot in alpine - some hidden corner of openrc? 2015-01-06 11:36:14 or should i go with just simple script as "echo deadline > /sys/block/sda/queue/scheduler" in /etc/local.d/ ? 2015-01-06 11:42:48 will check that in a minute 2015-01-06 11:47:36 seems to work, cat /sys/block/sda/queue/scheduler -> noop cfq [deadline] 2015-01-06 11:50:05 melville: there's iirc no hidden way to set sysfs on boot 2015-01-06 11:50:30 was there a distro that allows it? i have some memory of something... not much :) 2015-01-06 11:51:17 melville: http://dev.nuodb.com/techblog/tuning-linux-io-scheduler-ssds 2015-01-06 11:51:31 Add "elevator=noop" to the GRUB_CMDLINE_LINUX_DEFAULT line. 2015-01-06 11:51:41 should also work with deadline I guess 2015-01-06 11:53:45 plueschopath deadline is a kernel module in alpine - don't think it will work when passed as option to kernel 2015-01-06 11:54:20 ah... 2015-01-06 11:55:28 what i'm using right now, seems to work: http://pastebin.com/dut7UeSD 2015-01-06 11:57:15 ah nice... 2015-01-06 11:57:29 I don't know if there is a "better way" to do it. 2015-01-06 12:02:04 I think I found a solution for fog/blizzard related car issues on road, use tiny NFC devices, embedded in middle of road, every 2-3meters, maybe loaded with AL 2015-01-06 12:02:11 or just wait for smart car's ;-) 2015-01-06 13:04:08 http://source.2600hz.org/browse/bluebox may be down, http://repo.2600hz.com/bluebox/bluebox-v1.0.3.rpm of year 2011 2015-01-06 13:18:42 awesome, http://www.hpcwire.com/off-the-wire/mellanox-introduces-new-40-gigabit-ethernet-nics-supporting-ocp-2-0-specification/?utm_source=rss&utm_medium=rss&utm_campaign=mellanox-introduces-new-40-gigabit-ethernet-nics-supporting-ocp-2-0-specification 2015-01-06 13:18:54 does anyone happen to buy one ? 2015-01-06 13:31:27 with these kinda flow, definetly need bigger storage, ;) 2015-01-06 13:32:00 http://www.techradar.com/us/news/computing-components/storage/hoarders-rejoice-a-360tb-1-million-year-storage-option-has-arrived-1165462 2015-01-06 13:32:20 we might have entered another minor disruptive phase :-)) 2015-01-06 14:12:05 is anyone using tmpfs as /tmp on alpine? wondering what flags are commonly used e.g. nosuid, nodev... 2015-01-06 14:17:25 i think i do 2015-01-06 14:17:41 well, no. 2015-01-06 14:18:06 too sleepy to think :/ 2015-01-06 14:18:24 normally mode 1777 and yes, nosuid, nodev, noexec 2015-01-06 14:18:35 noexec normally bites me every year but it's healthy 2015-01-06 14:18:39 whohoo, suddenly Alpine 3.1.1 %) 2015-01-06 14:18:59 melville: you can use smth like rw,nosuid,nodev,relatime,size=787208k,mode=755 2015-01-06 14:19:23 what's also helpful is to separate the mysql or php tempdirs (noexec, too) 2015-01-06 14:19:31 does this look ok? http://wwwtest.alpinelinux.org/posts/Alpine-3.1.1-released.html 2015-01-06 14:22:21 ncopa: we have *got* to go that mqtt mirror sync thing - soo cool 2015-01-06 14:24:35 ScrumpyJack: we need -w options for busybox flock 2015-01-06 14:24:53 support for -w in busybox flock 2015-01-06 14:25:01 ncopa, announcement seems to be fine, guess you should wait for someone else to proofread it 2015-01-06 14:25:13 melville: thanks 2015-01-06 14:25:15 yeah 2015-01-06 14:25:30 someone english native that can proofread it? 2015-01-06 14:25:41 reading now 2015-01-06 14:26:00 thanks darkfader, i was also thinking about going data mode, not sure how well it would work for desktop 2015-01-06 14:26:46 alpine or Alpine, but it should consistent 2015-01-06 14:27:35 in fact i'd lean towards sticking to Alpine Linux as much as possible 2015-01-06 14:27:57 s/with the alpine vanilla iso image/with the Alpine Linux vanilla iso image 2015-01-06 14:29:50 the rest is fine 2015-01-06 14:30:05 thanks! 2015-01-06 14:30:07 piushed 2015-01-06 14:30:08 pushed 2015-01-06 14:32:15 could anyone please dl the 3.1.1 vanilla iso and check that it actually boots? 2015-01-06 14:32:29 i have tested it in my dev env 2015-01-06 14:32:30 so i believe it works 2015-01-06 14:32:36 ok 2015-01-06 14:32:36 but would be nice to doublecheck 2015-01-06 14:33:12 mirrors aren't synced :) 2015-01-06 14:33:25 hi, question, why was support for sdl disabled for qemu? http://git.alpinelinux.org/cgit/aports/commit/main/qemu/APKBUILD?id=42d989462bd7ee65aa08eed229fb34d0e4dcf587 2015-01-06 14:34:18 Evil_Bob: it went out with the gtk support together. 2015-01-06 14:34:23 ncopa: it's on the site, but noone can download it. perhaps we should wait an hour or so before updating the page, that the repos are synced :) 2015-01-06 14:34:48 ScrumpyJack: try nl.alpinelinux.org/alpine/v3.1/releases/ 2015-01-06 14:34:52 yeah got iy 2015-01-06 14:35:11 Evil_Bob: we removed x11 support alltogether 2015-01-06 14:35:22 i'm trying to build a qemu-fb version that still supports fb and a qemu-gtk version that runs with gtk. but i fail to do it correctly using subpakcages, so i wait for some more educated people to point out what i'm doing wrong. 2015-01-06 14:35:38 tvvdhSL5hEBn: i will look at it soonish 2015-01-06 14:35:55 hopefully today 2015-01-06 14:35:55 but i'll try flush the patch queue first 2015-01-06 14:35:55 no probs 2015-01-06 14:35:57 do you stuff 2015-01-06 14:35:57 and finish the 3.1.1 release 2015-01-06 14:36:15 i downgraded qemu to old versions until then. 2015-01-06 14:36:20 tvvdhSL5hEBn: i just recompiled with --enable-sdl works like i want again for me, i just wondered why 2015-01-06 14:36:57 smaller dedicated packages. none of us really wants x11 as a dependency ;) 2015-01-06 14:37:22 having to use spice or vnc seems silly, atleast in my humble opinion 2015-01-06 14:37:40 Evil_Bob: we wanted get rid of X11 deps 2015-01-06 14:37:54 you can run it graphically with spice, even if cumbersome 2015-01-06 14:38:00 or with virt-manager 2015-01-06 14:38:07 (even if that is *bloaty*) 2015-01-06 14:38:26 but once we link in x11 libs you cannot run without it 2015-01-06 14:38:26 brb 2015-01-06 14:39:07 spice seems to suck in a short test, but thanks for giving an explanation anyway :) 2015-01-06 14:40:49 Evil_Bob: what feature of sdl do you like/use in a virtual environment? 2015-01-06 14:42:09 ScrumpyJack: nothing in particular, i just want simplfy want to run it in a window 2015-01-06 14:43:00 ScrumpyJack: using VNC over a unix domain socket might be an option, but the VNC clients in ports are horrible 2015-01-06 14:43:41 the Alpine Linux ports? 2015-01-06 14:43:41 Evil_Bob: i use virt-manager 2015-01-06 14:43:41 gives pretty nice ui 2015-01-06 14:43:47 but it eats *lots* of ram 2015-01-06 14:43:58 virt-manager + libvirt 2015-01-06 14:44:00 cool, ill give it a try 2015-01-06 14:44:02 if you like a particular VNC client, we can make a aport if you like 2015-01-06 14:44:27 and i do agree that it would be nice with a quick and dirty qemu for x11 2015-01-06 14:44:33 i used the gtk interface 2015-01-06 14:44:40 which is pretty nice 2015-01-06 14:44:48 so the plan is to have a qemu-gtk subpackage 2015-01-06 14:45:04 :) 2015-01-06 14:45:26 someone sent me a patch for sdl with framebuffer but i havent had time yet to look at it 2015-01-06 14:45:49 ScrumpyJack: cant think of a particular one i like, but the last one i used was tigervnc (which required some manual patching) :) 2015-01-06 14:46:15 for qemu use, spice is nicer 2015-01-06 14:47:34 vanilla 64bit boots 2015-01-06 14:47:47 perfect 2015-01-06 14:47:49 thanks! 2015-01-06 14:47:54 i assume 32 bit does too 2015-01-06 14:49:11 can't see the 32bit version 2015-01-06 14:49:23 ok found it 2015-01-06 14:49:43 http://nl.alpinelinux.org/alpine/v3.1/releases/x86/alpine-vanilla-3.1.1-x86.iso 2015-01-06 14:49:51 oh 2015-01-06 14:49:59 i now have a manual step... 2015-01-06 14:50:13 the signing... 2015-01-06 14:50:23 by the way my Alpine Linux mirror has been working nicely for a month or so now 2015-01-06 14:50:23 ncopa, did you change the markdown parser ? or updated ? 2015-01-06 14:51:10 vkrishn: no? 2015-01-06 14:51:15 why? 2015-01-06 14:55:08 I see validation error fixed 2015-01-06 14:55:33 http://wwwtest.alpinelinux.org/posts/Alpine-3.1.1-released.html 2015-01-06 14:59:22 ok, maybe the markdown txt is different 2015-01-06 15:01:17 the perl Markdown.pl does not produce the error 2015-01-06 15:48:54 is there a mirror I can download Alpine x86 from? The link on the main page is down. 2015-01-06 15:49:40 http://nl.alpinelinux.org/alpine/MIRRORS.txt 2015-01-06 15:50:06 rnalrd: thank you 2015-01-06 18:55:29 flockport seems like an interesting project trying to make using LXC less annoying. The are even interested in Alpine. Are there any considerations I should have over running non security oriented distros inside of Alpine? 2015-01-06 21:59:22 hey all 2015-01-06 21:59:36 for some reason I can't get qemu to launch an SDL graphical display anymore 2015-01-06 21:59:40 it just creates a VNC server 2015-01-06 21:59:57 I just made sure my packages are updated and running 3.1.1 2015-01-06 22:00:13 running the linux-grsec kernel and was failing on my custom kernel prior 2015-01-06 22:01:31 I have installed all the SDL packages apart of main/ 2015-01-06 22:02:20 this behavior wasn't happening to me a couple of weeks ago, and I can't think of anything I have changed that would alter qemu's behavior 2015-01-06 22:02:45 the packages changed 2015-01-06 22:02:52 sdl/gtk display targets were removed from qemu recently as to kill depedency on x11, there was discussion about it today. 2015-01-06 22:03:06 you can use vnc/spice for time being 2015-01-06 22:03:09 there's efforts to do seperate fb and x11 packages 2015-01-06 22:04:07 or downgrade qemu package 2015-01-06 22:04:35 :/ 2015-01-06 22:05:00 relevant msg from ml: http://lists.alpinelinux.org/alpine-devel/4431.html 2015-01-06 22:05:06 it would be nice if qemu solved this by having a separate program/process for the graphics display 2015-01-06 22:05:31 i.e. run the UI in a separate program from the emulator and communicate over shared memory and whatnot 2015-01-06 22:06:31 i think there was some effort do split some features into shared libraries: http://wiki.qemu.org/Features/Modules 2015-01-06 22:06:53 "Network block drivers (curl, iscsi, rbd, ssh, glusterfs) can be built as shared library modules with "--enable-modules" configure option. " from changelog for qemu 2.0 2015-01-06 22:07:21 guess it is still far from providing gtk/sdl as separate library 2015-01-06 22:09:40 we'll have seperate packages in short time i hope 2015-01-06 22:10:10 for x11 and for fb, and lacking any direct gfx support, only vnc 2015-01-06 22:15:41 well i tried using gtk-vnc 2015-01-06 22:15:51 but i can't seem to find the binaries 2015-01-06 22:16:10 i checked in arch and they are saved as gvnc and i think gvnc-capture or something 2015-01-06 22:16:55 if you don't need the graphic interface, you can also say -display curses or similar 2015-01-06 22:20:58 i have to do windows crap for an uncle of mine 2015-01-06 22:21:07 so sadly will need graphical display 2015-01-06 22:25:38 i used spice some time ago 2015-01-06 22:25:45 http://www.linux-kvm.org/page/SPICE 2015-01-06 22:26:00 well do you happen to know what gtk-vnc 2015-01-06 22:26:04 installs it's binary as 2015-01-06 22:26:19 i don't know how to get apk to show installed files for a package 2015-01-06 22:26:21 apk info -L gtk-vnc ? 2015-01-06 22:26:24 like for pacman 2015-01-06 22:26:25 okay 2015-01-06 22:26:42 without question mark 2015-01-06 22:27:01 yah 2015-01-06 22:27:03 that did it 2015-01-06 22:27:07 no /bin or /usr/bin 2015-01-06 22:27:10 just library files 2015-01-06 22:27:47 found it 2015-01-06 22:27:51 gvncviewer 2015-01-06 22:27:57 seperate package i guess? 2015-01-06 22:28:05 yup 2015-01-06 22:28:44 "gtk-vnc is a VNC viewer widget for GTK. It is built using coroutines allowing it to be completely asynchronous while remaining single threaded. It provides a core C library, and bindings for Python (PyGTK" 2015-01-06 22:29:06 to gtk-vnc is just one of the generic libraries from gtk 2015-01-06 22:29:14 got it 2015-01-06 22:29:17 yah it works 2015-01-06 22:31:10 thanks 2015-01-06 22:37:26 "apk --help" is your friend e.g. you can use something like "apk --help info" to get specific help for that part of apktools 2015-01-06 22:37:50 a side not 2015-01-06 22:37:52 note 2015-01-06 22:40:33 thank you :D 2015-01-06 22:40:39 oh and to get qemu to use kvm 2015-01-06 22:40:55 other than having the kvm kernel module loaded what-else do I need to do 2015-01-06 22:42:52 you need kvm-intel or kvm-amd kernel module afair and then just pass -enable-kvm 2015-01-06 22:43:26 there is also kvm user group, but don't remember if it was needed 2015-01-06 22:43:48 pass -enable-kvm for qemu? 2015-01-06 22:43:55 yeah 2015-01-06 22:45:44 strange i get a black screen with the new blue windows logo 2015-01-06 22:45:46 and that's it 2015-01-06 22:46:57 i have tried -vga std & vmware but no difference from default 2015-01-06 22:51:18 std is default right now i think 2015-01-06 22:51:23 since qemu 2.2 2015-01-06 22:51:32 you can try -vga cirrus 2015-01-06 22:56:12 i think that did it 2015-01-06 22:56:21 or just waiting long enough 2015-01-06 22:56:22 hizza 2015-01-06 22:56:39 you can check in monitor if kvm is on 2015-01-06 22:56:51 how do I do that? 2015-01-06 22:57:47 also I can't wait for steam OS to curb stomp Windows & Linux finally gets a good office suite 2015-01-06 22:58:02 burn Microshaft, burnn..... :P 2015-01-06 22:58:34 next time you can use "-monitor stdio" to attach monitor to terminal 2015-01-06 22:58:41 and then "info kvm" 2015-01-06 22:59:12 should return "kvm support: enabled" or so 2015-01-06 23:00:06 ah m'kay 2015-01-06 23:00:17 well i did make sure kvm module was loaded 2015-01-06 23:00:26 and -enable-kvm was there with no errors spat out 2015-01-06 23:00:34 but yah next-time i'll check that 2015-01-06 23:01:03 oh btw I made 1st run of having libressl port-package for Alpine 2015-01-06 23:01:25 i need to go back and fix it, since I forgot to properly put in dependencies in the APKBUILD 2015-01-06 23:01:28 and such 2015-01-06 23:02:13 you should notice if kvm acceleration is of or not by speed of emulation alone 2015-01-06 23:04:16 would it best for me to mask libressl as openssl and build packages from source 2015-01-06 23:04:21 to see if they work? 2015-01-06 23:04:25 for a full stack test 2015-01-06 23:04:51 so for example ssh compiles using the libressl-dev rather than openssl-dev 2015-01-06 23:07:12 yup kvm is enabled 2015-01-06 23:08:59 you can ask around if anyone played with libressl on alpine yet (wouldn't be surprised) 2015-01-06 23:09:22 there was also some conversation on ml: http://lists.alpinelinux.org/alpine-devel/index.html#msg4285 2015-01-06 23:10:34 melville, that was me :P 2015-01-06 23:11:28 oh and I am working on porting a friends password manager that he built to Alpine, it's wicked 2015-01-06 23:19:17 i'm contemplating on running alpine from ram (probably data mode) - not sure how it will work for desktop, and then using something like /home/username/persistent mounted on another partition 2015-01-06 23:24:25 melville, document on the wiki? 2015-01-06 23:28:17 you mean that i should document how it goes? 2015-01-06 23:29:09 yes please 2015-01-07 07:42:29 morning 2015-01-07 07:42:44 hi 2015-01-07 07:42:55 qemu + spice should work as a temp work around for no qemu with sdl 2015-01-07 07:43:20 qemu-system-x86_64 -enable-kvm -m 512 -boot d -cdrom ~/Downloads/alpine-mini-3.1.1-x86_64.iso -spice port=5930,disable-ticketing 2015-01-07 07:43:34 spicec -h localhost -p 5930 2015-01-07 07:43:51 dalias: btw, i have an issue with qemu-2.2 and musl libc 2015-01-07 07:43:56 oh? 2015-01-07 07:44:27 they use some internal field for pthreads i think 2015-01-07 07:44:34 thats not defined in posix 2015-01-07 07:44:50 can you show me? 2015-01-07 07:45:09 host_sevp->_sigev_un._tid = tswap32(target_sevp->_sigev_un._tid); 2015-01-07 07:45:19 generating a sprunge 2015-01-07 07:45:31 http://sprunge.us/QSMJ 2015-01-07 07:45:42 ... 2015-01-07 07:45:52 its for linux user so i think they need pass the internal field 2015-01-07 07:48:10 i think its here: http://git.qemu.org/?p=qemu.git;a=blob;f=linux-user/syscall.c;h=aaac6a25ce21d944455da48d2cf46b11ea7642f1;hb=refs/heads/master#l5016 2015-01-07 07:49:49 i think they need it for SIGEV_THREAD_ID 2015-01-07 07:49:57 but its a bit above my head 2015-01-07 07:53:50 was introduced here: http://git.qemu.org/?p=qemu.git;a=patch;h=c065976f2bca9b87bc699c5fdeb4d3ff1299b8c4 2015-01-07 08:22:11 they should just define a struct kernel_sigev or something for it 2015-01-07 08:22:27 the userspace struct is different from the kernel struct here 2015-01-07 08:27:44 hmm no tex packages for alpine? 2015-01-07 08:28:38 btw on main page 2015-01-07 08:28:46 http://dl-4.alpinelinux.org/alpine//v3.1/releases/x86_64/alpine-3.1.1-x86_64.iso.asc is 404 2015-01-07 09:01:27 dalias: i just signed the isos 2015-01-07 09:01:41 its a manual step in the release process 2015-01-07 09:01:48 that i forgot to put on my release checklist 2015-01-07 09:02:44 no tex packages unfortunally 2015-01-07 09:02:56 i think i looked at building tex and it was a big monster 2015-01-07 09:03:01 :) 2015-01-07 09:03:08 since nobody had asked for it then... 2015-01-07 09:03:13 i just gave up 2015-01-07 09:03:43 i can have another look if you need/want it 2015-01-07 09:03:44 i use it in preparing report documents for some work i do 2015-01-07 09:03:50 ok 2015-01-07 09:03:52 but i can run it on another machine for now 2015-01-07 09:04:13 i'll give it another try later 2015-01-07 09:09:35 hi, I just went through a fresh install of 3.1.1 in diskless mode and don’t seem to be able to keep hostapd and libnl installed between reboots?! booting from SD card 2015-01-07 09:10:19 another machine with setup but running 3.1.0 works fine :/ 2015-01-07 09:10:24 *same setup 2015-01-07 09:22:27 eppa: you need enabl apk cache 2015-01-07 09:22:52 for example: 2015-01-07 09:22:58 mkdir /media/usb/cache 2015-01-07 09:23:10 ln -s /media/usb/cache /etc/apk/cache 2015-01-07 09:23:16 apk sync 2015-01-07 09:24:18 ncopa: the /media/usb/cache directory exists and looks like it contains some packages 2015-01-07 09:24:33 and the /etc/apk/cache symlink already exists 2015-01-07 09:24:54 are the hostapd and libnl package there? 2015-01-07 09:25:00 yeah 2015-01-07 09:25:19 hum, then i dont know... 2015-01-07 09:25:28 smells like a bug 2015-01-07 09:28:30 ncopa: hmm ok thanks 2015-01-07 09:35:14 eppa: would be nice if you could find out whats going on 2015-01-07 09:42:11 ncopa: yeah am investigating 2015-01-07 11:21:06 yt y 2015-01-07 13:32:04 pygrub doesn't exist in the new xen :( 2015-01-07 13:33:28 What is the process for adding the /boot/grub/menu.lst or getting it to boot the first time? usually I use pygrub to boot, pvgrub requires the menu.lst to be in place 2015-01-07 13:44:28 Frosh: there's the "compat-pvgrub" package, but it didn't work well that for me (e.g. it has hardcoded "root (hd0)") 2015-01-07 13:44:47 and on alpine the vmlinuz & initrd filenames usually don't change when the kernel is upgraded anyway 2015-01-07 13:45:21 dne: they did change from v3.0 -> v3.1 2015-01-07 13:45:28 vmlinuz and initrd names 2015-01-07 13:45:38 oh? 2015-01-07 13:46:28 vmlinuz-grsec 2015-01-07 13:46:40 but i dont think it affects disk-installs 2015-01-07 13:47:12 ok 2015-01-07 13:48:07 didn't have my own proper install until 3.1 anyway :) 2015-01-07 13:49:31 the way I do it for debian is during installation, i create the menu.lst, but its a hassle if I forget, so I was wondering if there is an alternative, incase I forget to create menu.lst during the install 2015-01-07 14:20:14 how does running ubuntu/debian etc in LXC work in Alpine Linux? Any problems with the hardened kernel? 2015-01-07 14:21:22 I have one Debian-Container on my Alpine hosts running Wordpress/MariaDB/ngnix/php-fpm for my gf... no problems 2015-01-07 14:22:19 jomat: kewl. I like LXC a lot, Docker just has too many problems and full virtualization is a bit heavy 2015-01-07 14:22:35 same here :-) 2015-01-07 14:22:49 same here (i havent done any docker though) 2015-01-07 14:23:01 there might some issues with debootstrap though 2015-01-07 14:23:22 if Im not mistaken Alpine already implements some kind of access restriction for every installed program? Is there a security advantage in running stuff inside of LXC? 2015-01-07 14:23:39 yes, the lxc templates shipped with alpine seem to be problematic 2015-01-07 14:23:55 i installed that debian thing somehow manually 2015-01-07 14:24:13 Phiphler: we have grsecurity which has some access control support 2015-01-07 14:24:18 i havent really used it 2015-01-07 14:25:01 lxc is not a security feature 2015-01-07 14:25:07 The guys over at flockport seem to have taken notice of Alpine and started publishing Alpine based containers 2015-01-07 14:25:15 ah thats nice 2015-01-07 14:25:23 i heard of flockport today 2015-01-07 14:25:48 and i'd think that alpine containers for things like flockport would make much sense 2015-01-07 14:26:06 since base tools are significantly smaller 2015-01-07 14:26:24 i think minimal debian is 110MB or so 2015-01-07 14:26:30 while alpine is 10 2015-01-07 14:26:33 10MB 2015-01-07 14:26:37 ncopa: they made a blogpost about how much smaller the containers became. Using Alpine as a host makes a lot of sense as well with the security minded stuff 2015-01-07 14:26:47 it's really tiny 2015-01-07 14:26:51 yup 2015-01-07 14:27:00 do you have a blog post? 2015-01-07 14:27:04 link to blog post 2015-01-07 14:27:53 probably http://www.flockport.com/new-micro-containers-based-on-alpine-linux/ 2015-01-07 14:28:18 ah 2015-01-07 14:28:24 i think saw some email on that 2015-01-07 14:28:25 yes thats it 2015-01-07 14:28:47 nice :-) 2015-01-07 14:29:37 yes 2015-01-07 14:30:03 i knew alpine would give smaller containers but i never knew exactly how it compared to others 2015-01-07 14:30:07 very nice with some numbers 2015-01-07 14:32:09 re debootstrap 2015-01-07 14:32:15 i saw some bug on it 2015-01-07 14:32:35 #3523 2015-01-07 14:32:42 algitbot: hello? 2015-01-07 14:32:49 http://bugs.alpinelinux.org/issues/3523 2015-01-07 16:25:57 http://alpinelinux.org/packages is still 404ing 2015-01-07 16:28:44 forum.alpinelinux.org/packages 2015-01-07 16:40:16 the link on the wiki points to the 404'd one, thanks 2015-01-07 17:03:56 anyone successful building ruby with rvm? 2015-01-07 18:36:55 hello all 2015-01-07 18:37:29 is anyone using enlightenment as desktop with alpine 2015-01-07 18:37:30 ? 2015-01-07 18:43:42 is enlightenment even packaged in alpine? 2015-01-07 18:43:56 e17 afaik 2015-01-07 18:44:20 http://nl.alpinelinux.org/alpine/edge/testing/x86_64/enlightenment-0.17.0-r0.apk 2015-01-07 18:53:40 ooh. 2015-01-07 18:53:43 nice 2015-01-07 18:55:12 quite old 2015-01-07 18:56:31 karasz, i updated the packages once, and tested it. there was some issues had never time to finish it. 2015-01-07 18:58:20 so xfce is the one more used? 2015-01-07 18:58:56 I think a lot of people here use i3, I prefer awesome 2015-01-07 18:59:13 xfce4 here; i think ncopa runs that too 2015-01-07 20:03:20 twm here, since you're asking :) 2015-01-07 20:14:10 Ok, I can't generalize who's using which wm %) 2015-01-07 20:16:13 jomat: maybe the i3 and awesome users don't speak up because you already mentioned those wms :) 2015-01-08 01:07:34 anyone know if this should work: 2015-01-08 01:07:34 daveh0003:/sys/fs/bcache/fd765fb2-d8c8-40e7-8ae6-0e386b8f8630/stats_total# for lv in /dev/vgxen_raid10/* ; do lvconvert -f --mirrorlog core $lv ; done Conversion operation not yet supported. 2015-01-08 01:07:39 (nvm the path) 2015-01-08 01:07:56 i see it's in the redhat lvm regression tests but on alpine it seems to fail 2015-01-08 07:17:58 morning 2015-01-08 07:18:01 xfce4 here 2015-01-08 07:19:01 darkfader: "Conversion operation not yet supported" 2015-01-08 07:19:20 what are the requirements for "conversion operation"? 2015-01-08 07:20:13 it might be all you need to do is modprobe 2015-01-08 09:01:49 dm-mirror probably 2015-01-08 09:25:52 silly question. I want to add my keys to /etc/apk. I have a package of my key and i'm adding it like this 2015-01-08 09:26:05 apk add sj-keys --allow-untrusted @st.ilet.to 2015-01-08 09:26:16 is that the correct syntax? 2015-01-08 09:36:35 i get this -> http://sprunge.us/bXjV 2015-01-08 09:44:01 ScrumpyJack, apk add --allow-untrusted sj-keys@st.ilet.to 2015-01-08 09:47:41 thanks fabled 2015-01-08 10:45:00 what's the best way to install alpine with custom partitioning? 2015-01-08 10:46:00 if i create partitions before setup-alpine, will the script see them and give me the option to chose or will is use the entire disk 2015-01-08 10:46:30 ScrumpyJack: use apk -p 2015-01-08 10:51:23 jomat: the changes the root of package install. I want to use setup-alpine 2015-01-08 10:51:27 ScrumpyJack "setup-alpine -q" and then you mount your custom partitions under /mnt and then "setup-disk /mnt" - i'll try to find an wiki article in a minute on thus 2015-01-08 10:51:49 i've seen something on the wiki 2015-01-08 10:52:09 http://wiki.alpinelinux.org/wiki/Setting_up_disks_manually 2015-01-08 10:52:54 but it's short for custom paritioning 2015-01-08 10:53:15 I'll play around and improve that section 2015-01-08 10:53:42 http://wiki.alpinelinux.org/wiki/Installing_Alpine_on_HDD_dualbooting 2015-01-08 10:53:47 this is a bit better 2015-01-08 10:56:12 and here description of "setup-alpine -q" (quick mode) and also setup-disk: http://wiki.alpinelinux.org/wiki/Setup-alpine#setup-alpine 2015-01-08 10:56:47 hope this helps 2015-01-08 10:58:09 setup-disk works nicely when you mount your custom partition under /mnt 2015-01-08 10:59:03 first you start with your root paritions e.g. "mount /dev/sda1 /mnt", then you mount other partitions like /home "mkdir -p /mnt/home && mount /dev/sda2 /mnt/home" and so on 2015-01-08 11:01:54 thanks, i'll try iy 2015-01-08 11:02:01 s/iy/it 2015-01-08 11:04:46 Ah ok. the setup-* scripts do too much unwanted stuff for me, so my prefered way is apk -p /mnt/target add alpine-base mkinitfs syslinux linux-grsec ... 2015-01-08 11:05:20 ah, that sounds interesting. do you have notes? 2015-01-08 11:07:22 fabled: the video-decoder.apkvol.tar.gz has stuff you prolly don't want in there 2015-01-08 11:07:30 oh? 2015-01-08 11:07:39 i tried to look at it, but i made it in a bit of rush 2015-01-08 11:07:45 nameserver 10.252.5.129 in resolv.conf 2015-01-08 11:07:57 dhcpcd will overwrite it, but yes 2015-01-08 11:08:49 could remove the fi keylayout too 2015-01-08 11:09:06 are you in finland? 2015-01-08 11:09:10 yes 2015-01-08 11:13:13 need to go for a while 2015-01-08 11:13:15 back later 2015-01-08 11:13:44 jomat - apk can be definitly also used, it is probably even more flexible e.g. chrooted installation 2015-01-08 11:50:37 that is quite nice hardware, supposed price is $139: http://www.intel.com/content/www/us/en/compute-stick/intel-compute-stick.html 2015-01-08 11:55:52 so what, it just plug into a hdmi port? 2015-01-08 11:58:40 for power? 2015-01-08 11:59:34 http://www.tomsguide.com/us/intel-compute-stick-hands-on,news-20215.html 2015-01-08 11:59:37 some more specs 2015-01-08 11:59:58 bluetooth, wifi 2015-01-08 12:01:53 i think it is powered via usb 2015-01-08 12:02:22 mhm, maybe i'm wrong 2015-01-08 12:06:44 "and while a micro USB port supplies the power, Intel aims to fully power the stick through the HDMI connection in the future." via http://www.extremetech.com/computing/196912-intel-compute-stick-transforms-any-hdmi-screen-into-a-desktop-computer 2015-01-08 12:16:37 ScrumpyJack: you can answer 'none' on disk question in setup-alpine. then you manually partition your disks 2015-01-08 12:16:49 you mount up your disk layout the way you want it 2015-01-08 12:17:02 then finally you run: setup-disk /path/to/mountpoint 2015-01-08 12:17:23 i'll do that 2015-01-08 12:17:25 setup-disk will detect lvm and raid 2015-01-08 12:18:01 it will expect /boot be ext* so it can run extlinux 2015-01-08 12:18:43 you might need create the MBR manually 2015-01-08 12:19:33 so i can have /boot in partition 1 ext4 and everything else in partition 2 used as a pvdisk? 2015-01-08 12:22:02 anybody wanting to publish their indoor data ;) 2015-01-08 12:22:04 http://docs.opengeospatial.org/is/14-005r3/14-005r3.html 2015-01-08 12:23:14 melville, the linux version would be cheaper, $89, nice 2015-01-08 12:24:15 hmm, no tsocks in repros 2015-01-08 12:26:14 ah, but 1gb ram, instead of 2gb 2015-01-08 12:30:21 ScrumpyJack: should work..1 2015-01-08 12:49:40 ScrumpyJack: yes, /boot as ext4 and the rest as something should just work 2015-01-08 13:43:09 fabled: got omx running, thanks for the flavor files 2015-01-08 13:43:55 the apkvol didn't work for me, but i used the principle 2015-01-08 13:44:23 strange. 2015-01-08 13:44:25 ok, but nice. 2015-01-08 13:44:59 not your fault, that's because I'm behind a proxy, with no dhcp. 2015-01-08 13:45:16 the is no af_packet module on my rpi 2015-01-08 13:45:28 which was in your apkvol 2015-01-08 13:46:02 my rpi want to change root password when i ssh to it :( 2015-01-08 13:46:20 hmm 2015-01-08 13:46:49 do you have a "higher def" stream for new24 :) 2015-01-08 14:11:55 ScrumpyJack, no, i just took it from some public web site 2015-01-08 14:12:14 i'm using the same overlay against my private rtmp server 2015-01-08 14:13:58 ssh is asking me to change my root password every connection 2015-01-08 14:14:24 on the al-pi 2015-01-08 14:18:44 i think its my clock :) 2015-01-08 14:20:08 1970 2015-01-08 14:55:41 fabled: rc-update add omxplayer default and then rc-service omxplayer start just start omxplayer but nothing shows 2015-01-08 14:55:57 if i start it on the cmd, it's fine 2015-01-08 15:11:38 ScrumpyJack maybe service is missing something like DISPLAY=1.1 omxplayer 2015-01-08 15:13:37 perhaps. i just used fabled's 2015-01-08 15:14:38 crom I'm not using X 2015-01-08 15:14:44 crow even 2015-01-08 15:14:57  2015-01-08 15:18:31 ScrumpyJack ok seems its not even needed: The advantage of the OMXplayer is that you don't need to start an X server to play a video. It fully uses the GPU capabilites of the Raspi, which makes it a fast and reliable player for full HD video. It also plays sound with the video. 2015-01-08 15:44:42 crow: yup, loving it at the moment. it's player bbc24 on a monitor in my openspace at work 2015-01-08 15:44:59 i does seem to die every so often 2015-01-08 18:25:58 ScrumpyJack, hey :D 2015-01-08 18:39:03 systmkor: hey 2015-01-08 19:49:45 hello 2015-01-08 19:50:49 I'd like to try linux-pam and nss-pam-ldapd but I cannot make it work and do not find any doc aboutit :( 2015-01-08 19:51:14 does anyone have some pointer? 2015-01-08 19:57:15 hey da 2015-01-08 19:58:24 i'm tryng to get alpine onto my rasberry... 2015-01-08 19:59:23 and it seemed that there is no way to do a "sys" installion 2015-01-08 20:33:53 ScrumpyJack, did you get a chance to check out gitian? 2015-01-08 23:00:13 I suppose I have to recompile busybox to enable PAM ? 2015-01-09 07:31:33 Mirsc: there is no need to install alpine linux for the rpi. 2015-01-09 07:35:47 but you prolly figured that out by now :) 2015-01-09 10:14:08 I suppose I have to recompile busybox to enable PAM ? 2015-01-09 10:56:55 Jean-Scotch: i think so yes 2015-01-09 10:58:35 ncopa: ok. thanks. Will do that. and will build pam_mkhomedir also (see #3681); it's only one file to compile... 2015-01-09 11:00:10 would it be an idea to ship pam_mkhomedir with pam itself? 2015-01-09 11:00:14 its a single file 2015-01-09 11:00:19 a single commit 2015-01-09 11:01:57 seems like pam_mkhomedir is shipped with pam? 2015-01-09 11:02:17 pkg/linux-pam/lib/security/pam_mkhomedir.so 2015-01-09 11:10:11 ha! ok. great! 2015-01-09 11:37:21 i have an abuild query 2015-01-09 11:38:11 i can build a source using ./configure make manually, but not using abuild containing the same command 2015-01-09 11:38:32 anyone seen this sort of thing? 2015-01-09 12:27:49 hi ncopa 2015-01-09 12:28:15 ncopa: I'm having abuild issues 2015-01-09 12:28:20 ok? 2015-01-09 12:29:04 i can build on manually, but abuild can't 2015-01-09 12:29:21 what error do you get? 2015-01-09 12:29:25 ScrumpyJack: how does the APKBUILD look like? 2015-01-09 12:29:35 simple 2015-01-09 12:29:39 it could be that CC is set in abuild 2015-01-09 12:29:49 it could be that MAKEFLAGS is set from abuild 2015-01-09 12:30:19 http://sprunge.us/FALN 2015-01-09 12:31:02 what is the error you get? 2015-01-09 12:31:32 btw, you should do: source="$pkgname-$pkgver.tar.gz::https://github.com/..../v1.8.gz" 2015-01-09 12:31:41 its a rc 2015-01-09 12:31:43 so 2015-01-09 12:31:51 pkgver=1.8_rc1 2015-01-09 12:32:00 _ver=${pkgver/_/-} 2015-01-09 12:32:33 http://sprunge.us/fHTO 2015-01-09 12:32:35 source="$pkgname-$_ver.tar.gz::https://github.com/vgough/encfs/archive/v$_ver.tar.gz" 2015-01-09 12:32:50 ./.libs/libencfs.so: undefined reference to `libintl_gettext' 2015-01-09 12:33:02 it should add -lintl to linker flags 2015-01-09 12:33:15 or gettext-dev should not be installed at build time 2015-01-09 12:33:35 i get the same error without gettext-dev 2015-01-09 12:33:59 and it works manually :( 2015-01-09 12:34:04 thats weird 2015-01-09 12:34:21 if I run build() manually, it compiles fine 2015-01-09 12:34:34 and if you do abuild build? 2015-01-09 12:34:41 (i was going to fix source later) 2015-01-09 12:34:51 I'll try 2015-01-09 12:35:18 it seems that it autodetects gettext from configure script 2015-01-09 12:35:27 and use it 2015-01-09 12:35:32 but does not add -lintl 2015-01-09 12:36:04 i think what happens is 2015-01-09 12:36:06 some error with abuild build 2015-01-09 12:36:15 during configure it will find gettext headers 2015-01-09 12:36:28 and say, oh we have gettext, lets use it 2015-01-09 12:36:31 then it will check 2015-01-09 12:36:40 do i need to add -lintl? 2015-01-09 12:37:13 and the way it check is to look for symbols in libc by linking a test app without -lintl 2015-01-09 12:37:35 in linking works it will think, og libs provides libintl, i dont need append -lintl 2015-01-09 12:37:49 because musl libc has a limited implementaton of libintl 2015-01-09 12:37:59 earlier it had none 2015-01-09 12:38:25 so back then the configure script would figure out that, linking without -lintl failed and then append -lintl 2015-01-09 12:38:27 i still don't see what it doen't behave like that when built manaully 2015-01-09 12:38:29 ofcourse 2015-01-09 12:38:40 i have no idea if this is the case 2015-01-09 12:38:50 the configure part will tell you that 2015-01-09 12:40:25 check output from configiure 2015-01-09 12:40:34 look for gettext or nls or intl 2015-01-10 16:29:24 It should be possible to see in which order openrc will start all the things... but I don't find anything about it. Tips appreciated :-) 2015-01-10 16:30:37 rc-update show 2015-01-10 16:32:12 Hm. That doesn't show networking at all, but it is still started: http://pastebin.com/0dQSkfjD 2015-01-10 16:32:46 http://pastebin.com/KWEiLyj6 <- rc-update show 2015-01-10 16:35:43 my problem is, that postgres will only listen on lo that way... 2015-01-10 16:36:41 and adding "after networking" to depend() in the postgres init script doesn't help either... 2015-01-10 16:37:32 ok, rc-update add networking changes the situation. 2015-01-10 16:41:34 yes - networking is not installed by default in alpine (nor alpine lxc containers) 2015-01-10 16:41:48 as a service 2015-01-10 16:48:14 yep, that's ok. But why is it still started, and why is it started after a service that depends on networking? 2015-01-10 17:22:09 I have pb compiling busybox with PAM. the linker does not find libpam even if it is installed and linux-pam-dev required in the APKBUILD. I found that ohter distro encounter same behavior but cannot find a working solution. 2015-01-10 17:22:45 i did open a post on the forum but I have little hope from there http://forum.alpinelinux.org/forum/installation/pb-compiling-busybox-pam 2015-01-10 18:18:46 how hard it is to do an alpine install with disk encryption? 2015-01-10 18:19:17 is there some ready made solution for partitioning, cryptsetup, extlinux boot settings,.. ? 2015-01-10 18:25:45 I think there are some howtos in the wiki. And it works straight forward. Just ensure to add sth. like alpine_start=lvm,cryptsetup to the kernel parameters if you use encrypted volumes in a lvm (and not the other way round, lvm on an ancrypted disk) 2015-01-10 18:26:31 ok i'll try it 2015-01-10 18:38:11 @nsz - http://wiki.alpinelinux.org/wiki/LVM_on_LUKS 2015-01-10 18:38:50 i dont want lvm 2015-01-10 18:39:13 but i found the docs on the wiki 2015-01-10 18:42:45 you will probably need to 'mkinitfs -c $MNT/etc/mkinitfs/mkinitfs.conf -b $MNT ' rather than 'apk fix...... ' to generate the initramfs 2015-01-10 20:35:05 hello. I found a description on how to *run* alpine from pxe. but is there a possibility to run only the installer via pxe? 2015-01-10 20:39:12 hi 2015-01-10 20:41:31 schoppenhauer: should be possible, but I don't know the installer... I always bootstrapped my stuff... you should be able tu run alpine-setup by hand if that's what you need 2015-01-10 20:41:40 *to 2015-01-10 20:41:47 jomat: ok. thx. 2015-01-10 20:44:21 schoppenhauer: another way is to fetch and extract the apk-tools-static package (.apks are just renamed .tar.gz files) and install base packages to a mounted future root filesystem: apk install --root /mnt/target alpine-base syslinux linux-grsec 2015-01-10 20:45:35 jomat: unfortunately, I am not expierienced with alpine yet. 2015-01-10 20:46:01 but its size would make it a good candidate for an old thinclient which I want to use as print server 2015-01-10 20:46:28 schoppenhauer: What do you want to achieve with a bootable pxe installer? Is it a single installation or do you need a pxe setup for many hosts? 2015-01-10 20:47:01 jomat: a single installation. the thinclient has no drives (except the internal flash-drive) and does not boot from usb-sticks. 2015-01-10 20:47:34 if it's just the one thin client you want to install: try it the manual way... mount the flash drive with a grml or whatever live system, or mount it with a card reader on your notebook 2015-01-10 20:47:40 jomat: I'm currently installing debian with an usb-stick attached, but I'd like to have a configuration without th eneed of an usb stick 2015-01-10 20:47:50 jomat: ok. 2015-01-10 20:48:00 jomat: thx! 2015-01-10 20:48:10 i assume it is one partition, no encryption, no raid, no lvm? 2015-01-10 20:50:00 schoppenhauer: and then to make everything bootable, you need to install a bootloader in the mbr... alpines default bootloader is extlinux, but I use grub (that's left over from debian) in my notebook to boot it 2015-01-10 20:50:24 yes. 2015-01-10 20:50:30 and ssh and cups 2015-01-10 20:50:38 schoppenhauer: there are also some wiki pages: http://wiki.alpinelinux.org/wiki/Setting_up_disks_manually 2015-01-10 20:50:48 http://wiki.alpinelinux.org/wiki/Installing_Alpine_Linux_in_a_chroot 2015-01-10 20:50:52 http://wiki.alpinelinux.org/wiki/Replacing_non-Alpine_Linux_with_Alpine_remotely 2015-01-10 20:51:54 If you still have questions, just ask - I installed my servers this way *without* the ability to see the vga output :-) 2015-01-10 20:53:48 ++ 2015-01-10 20:53:50 thx 2015-01-10 20:55:05 schoppenhauer: aaaand finally, here was a similar topic 2 days ago: http://irclogger.com/.alpine-linux/2015-01-08#1420714421 :-) 2015-01-10 21:09:01 there is a todo in http://wiki.alpinelinux.org/wiki/Setting_up_disks_manually 2015-01-10 21:09:05 Todo: Does adding the --update option to extlinux ... suffice to make /boot/extlinux.conf be regenerated? Or do we need to manually tweak that file, or run update-extlinux, as well? 2015-01-10 21:09:15 the answer is no 2015-01-10 21:09:43 you have to do the tweaks manually as far as i can see 2015-01-10 21:10:11 update-linux does not seem to be configurable for this situation 2015-01-10 21:13:03 the crypt device got mapped to /dev/mapper/crypt i assume this was done through the cryptdm=crypt kernel param, it would be nice if that was documented 2015-01-10 21:13:10 just clearing this up: are packages in alpine linked statically or dynamically? 2015-01-10 21:15:40 um i think most binaries are dynamically linked 2015-01-10 21:19:35 nsz: Yeah I thought that was it, a friend was just suprised when I mentioned that alpine used musl since he thought musl could only be used statically 2015-01-10 21:20:43 that was 3 years ago.. 2015-01-10 21:21:03 (the last time musl didnt support dynamic linking) 2015-01-10 21:26:36 (a few things wouldnt work on alpine without dynlinking, eg xorg requires a working dlopen, most script languages need that too) 2015-01-10 23:25:11 Hi! I just installed alpine on my home machine :) 2015-01-10 23:25:27 I was wondering why Tor isn't in the main repositories. 2015-01-10 23:27:09 ok, got it, enabled "testing" and bam! :) 2015-01-11 09:38:36 hello 2015-01-11 09:38:48 I'm looking after kpartx 2015-01-11 09:39:01 how to fin din which package a file gelongs? 2015-01-11 09:39:11 *belonogs 2015-01-11 09:39:15 belongs 2015-01-11 09:43:23 found it : it's in multipath-tools 2015-01-11 09:43:46 but my question remains valid about finding specific binaries... 2015-01-11 09:52:15 Jean-Scotch: hello 2015-01-11 09:52:26 hi 2015-01-11 09:53:12 apk info who-own /path/to/binary 2015-01-11 09:53:14 opos 2015-01-11 09:53:24 apk info who-owns /path/to/binary 2015-01-11 09:53:42 thks 2015-01-11 09:54:44 apk info --who-owns /path/to/binary 2015-01-11 09:54:49 (butterfingers) 2015-01-11 09:55:50 ;) i's sunday morning after all 2015-01-11 09:55:56 or using shorter version with "apk info -W /path/to/binary" 2015-01-11 09:56:55 "-h" flag is your friend when it comes to apk tools e.g. "apk info -h" will give you hints specific to info 2015-01-11 09:59:46 I'm currently struggling with LVM to emulate an usb key to launch a KVM-alpine... I use regularly alpine in KVM from LVM but with regular disk install. But this time I want to run from tmpfs... 2015-01-11 10:00:52 to make some comparaison between FS on NBD. 2015-01-11 10:04:18 blimey, that is specific 2015-01-11 11:41:21 i have a boot issue: i have a new disk, i havent put it into my laptop yet, i installed alpine on it through qemu and external usb->sata converter 2015-01-11 11:42:13 boot works in qemu, but when i boot the laptop from the external disk it fails: at mount time the specified disk device is not available 2015-01-11 11:43:41 it takes some time until the usb storage gets initialized and the /dev/sdb device appear 2015-01-11 11:44:02 so is there a way to delay the 'mounting root' operation? 2015-01-11 11:45:19 when the mount fails i get into the initramfs shell where i can manually do the cryptsetup, mount /sysroot then continue (because by that time /dev/sdb is available) 2015-01-11 11:45:35 so it is only a timing issue 2015-01-11 11:46:20 (i have to go now, but will check back in an hour or two) 2015-01-11 11:55:43 based on the logs i think the mount happens around 1.5s and the disk appears at 2.8s 2015-01-11 12:00:33 btw extlinux finds the boot partition of the external disk just fine, but linux is slow to find it 2015-01-11 12:11:43 nsz: try passing usbdelay=N (N in seconds) to the kernel command line 2015-01-11 13:16:37 ok 2015-01-11 14:40:53 dne: thanks usbdelay worked 2015-01-11 14:42:32 btw is there a list of kernel params the init system uses? 2015-01-11 15:53:57 nsz: not that I've seen. I had a look in the source to find that one: http://git.alpinelinux.org/cgit/mkinitfs/tree/initramfs-init.in 2015-01-11 17:27:22 btw /sys/class seems to be only accessible by root (i guess it's a grsec feature) how can a user access acpi info such as battery status? 2015-01-11 18:49:49 anyone managed a usb stick install with multiple partitions ? 2015-01-11 18:51:46 multiple partitions on the usb stick? 2015-01-11 18:52:35 should work, doesn't it? 2015-01-11 18:54:16 yes it should (i got it working with a /boot and encrypted / partition but that was a bit fiddly) 2015-01-11 18:55:37 should i be setting syslinux.cfg to /dev/sdb1 (or /dev/sdb) 2015-01-11 18:55:59 (sda is a windows drive) 2015-01-11 18:57:49 i think if it's the 'where to boot from' option then sdb1 2015-01-11 18:58:03 ok 2015-01-11 18:58:16 if it's the 'where to cat mbr.bin' then /dev/sdb 2015-01-11 18:58:50 i think you only need /dev/sdb for mbr, every other option is a partition with the filesystem set up 2015-01-11 18:59:03 right 2015-01-11 19:02:41 syslinux.conf? you mean extlinux.conf? 2015-01-11 19:03:15 And the APPEND root= should be your partition of the rootfs 2015-01-11 19:03:16 well if he boots from fat filesystem then i think it's syslinux 2015-01-11 19:04:07 ah, didn't see the FAT :-) 2015-01-11 19:06:02 yes syslinux - trying to make a bootable usb with a fat32 partition 1 & LVM partition 2 (for testing xen) 2015-01-11 19:07:58 as xen doesn't seem to boot in vmware 2015-01-11 19:08:47 or in kvm inside vmware 2015-01-11 19:34:46 Does "whois" work for anyone in here? 2015-01-11 20:26:49 whois: can't connect to remote host (204.74.78.75): Connection refused 2015-01-11 20:27:05 maybe try 'jwhois' 2015-01-11 20:27:43 host 204.74.78.75 2015-01-11 20:27:43 75.78.74.204.in-addr.arpa domain name pointer host-78-75.centergate.com. 2015-01-11 20:37:43 jomat, it works but you need to specify whois server address, you can find list of such servers here: http://www.nirsoft.net/whois-servers.txt 2015-01-11 20:38:16 example (which works for me): $ whois -h whois.pir.org alpinelinux.org 2015-01-11 20:39:15 ah thx... do you know how the normal whois looks up the correct server from such a list? does it query one from the internet, or is there usually such a list shipped with it? 2015-01-11 20:40:19 "Most modern versions of whois try to guess the right server to ask for the specified object. If no guess can be made, whois will connect to whois.networksolutions.com for NIC handles or whois.arin.net for IPv4 addresses and network names. " 2015-01-11 20:40:30 via manpage from http://www.computerhope.com/unix/uwhois.htm 2015-01-11 20:40:41 thx 2015-01-12 07:10:59 Evening / morning all. Has anyone encountered this same bug when running X? http://bugs.alpinelinux.org/issues/3691 2015-01-12 09:23:45 Hi. I try to mkfs.xfs with external journal but it does not let me do it with external journal. with internal one it's fine. Is it a bug or a wanted feature? 2015-01-12 09:28:22 Jean-Scotch: what are the requirements for external journal? 2015-01-12 09:29:38 ncopa: just to pass some device: mkfs.xfs -l logdev=device1 device2 2015-01-12 09:30:56 I checked the APKBUILD of xfsprogs and I see nothing there about disableing anything 2015-01-12 09:31:03 no special kernel compile option is needed? ro some compiletime option for xfsprogs? 2015-01-12 09:31:12 or* 2015-01-12 09:31:52 does anybody know who made the https://registry.hub.docker.com/u/alpinelinux/base/ image? 2015-01-12 09:37:41 I'm looking at it after it at the moment... will report my findings 2015-01-12 14:15:46 in fact, other -l options (for tuning journal with mkfs.xfs) are giving errors also. 2015-01-12 14:16:22 for now, I will use the defaults but will continue to look after this topic 2015-01-12 17:49:46 The web forums are far too quiet, so here I inquire: 2015-01-12 17:50:39 Are there any performance or scalability implications to using Alpine with musl on large-RAM servers that aren't virtualisation hosts? 2015-01-12 17:52:14 I'm running some test guests, but haven't concluded whether Alpine has any applicable advantages over Debian for large AMD64 hosts. 2015-01-12 18:09:13 ehlo, traveller. 2015-01-12 18:11:22 250-hello 2015-01-12 18:13:33 I don't type 8BITMIME either. 2015-01-12 18:13:40 m_jones: I don't understand the question... are you asking if musl is 64-bit compatible? 2015-01-12 18:13:51 ahills: no 2015-01-12 18:14:25 I'm working on a project that will run kernels on metal with 256GB and larger ram 2015-01-12 18:14:38 If the Linux kernel supports it, ... 2015-01-12 18:15:17 I like what I see from preliminary use of Alpine, but I'm trying to decide if there are any quantifiable and defendable advantages of using it over Debian. 2015-01-12 18:15:37 The package manager is much, much better 2015-01-12 18:15:40 Yes, the stock kernel is newer and has pax and grsec, which are notable 2015-01-12 18:15:48 for creating your own packages 2015-01-12 18:16:26 I see no performance analysis of musl vs. glibc, and that can be dependent on architecture ISA 2015-01-12 18:16:27 Doesn't Debian package a grsec+PaX kernel? 2015-01-12 18:16:48 but before I start looking at the inline asm in musl for applicability to Haswell I thought I'd ask around ;) 2015-01-12 18:16:51 http://www.etalabs.net/compare_libcs.html 2015-01-12 18:17:28 I never looked for pax+grsec in Debian. Let me check 7.7... 2015-01-12 18:18:04 kernel-patch-grsecurity2 - transitional package for Debian Lenny linux-patch-grsecurity2 - grsecurity kernel patch 2015-01-12 18:18:15 maybe not in my repos. Won't bing it now. 2015-01-12 18:18:21 I'm assuming that people other than you will want to access these machines 2015-01-12 18:18:43 it's a webservices application, so shell shouldn't matter 2015-01-12 18:18:47 I use Debian and Alpine at work, both, on many hosts 2015-01-12 18:19:16 The thing that surprises people on Alpine boxes is busybox coreutils and ash vs. GNU coreutils and bash 2015-01-12 18:19:37 So, on the Alpine boxes, I have an MOTD with a "Notes for operators" 2015-01-12 18:19:42 although now that you mention it, love the ash. Bash was always an expediant decision for /bin/sh from the earliest days, but that wasn't recognised by the broader community and a lot of people got used to it. 2015-01-12 18:19:49 Yeah, I like ash a lot 2015-01-12 18:20:04 plus shellshock. 2015-01-12 18:20:06 I also love the busybox commands, they have a very consistent interface 2015-01-12 18:20:24 Anyways, leaving an MOTD is enough for my coworkers, who are all at least moderately comfortable on the command line 2015-01-12 18:20:53 But bash used to be 10 times slower and 20 times the memory footprint according to one (analysis? comment?) from the last century. 2015-01-12 18:21:16 Most of the machines don't need further configuration ever, though, so if you're going to be installing new packages frequently, it may be worth sticking with Debian for the likelihood that several users of the machine will be able to find all the software packages they need 2015-01-12 18:21:25 ahills: that feedback is useful. I use motd for op notes and change-control also. 2015-01-12 18:21:52 For me, it really comes down to how many operators the machine will have... if it's me and my team, Alpine, if it's broader, Debian 2015-01-12 18:22:02 Right now I'm planning on making packages either way, apk or apt/deb 2015-01-12 18:22:15 apk makes package creation fun! 2015-01-12 18:22:31 you can run your own repo trivially 2015-01-12 18:22:42 The only conflict I've had with busybox is missing the operator -ls from find 2015-01-12 18:22:52 never used it 2015-01-12 18:22:59 but I'm mostly a BSDer 2015-01-12 18:23:36 You can still apk add findutils :-) 2015-01-12 18:23:36 I was as well, and might be again. I haven't checked to see if BSD offers more performance in this application. 2015-01-12 18:23:43 that supports -ls :-) 2015-01-12 18:24:11 Free, Net, Open, Dragonfly, and BSD/OS on more archs than you can count. I'm starting to sound like a greybeard. 2015-01-12 18:25:21 I'm aware of that etalabs.net comparison but it wasn't clear to me of the practical implications in a much-larger environment. 2015-01-12 18:25:49 practical implication of what? 2015-01-12 18:26:02 thanks for the 'add findutils', I was looking for that conjuration 2015-01-12 18:26:23 the comparision compares many different aspects of the c runtime 2015-01-12 18:26:25 nsz: performance mainly, and any other implications in large-server-on-metal environments 2015-01-12 18:27:22 there are places where musl performance is better and others where it is worse 2015-01-12 18:27:32 I wanted to know if anyone had tests, or even informed speculation 2015-01-12 18:27:39 sure 2015-01-12 18:28:03 i dont think there are 'large server environment' tests 2015-01-12 18:28:18 I can dig into the asm in musl and glibc but I'm no assembler expert, and I've never done am on x86 (or I should say AMD64, since that arch drops so much x86 compat) 2015-01-12 18:28:30 it'd be faster to test. 2015-01-12 18:28:30 but i can tell you that eg musl regex is slower than glibc's but in turn it is more correct 2015-01-12 18:28:47 s/am/asm/g 2015-01-12 18:28:59 you dont need to dig into much asm i think 2015-01-12 18:29:45 I was just looking at the avx2 support in the kernel raid6 code for similar reasons. Haven't looked at the libcs. 2015-01-12 18:30:05 on server threads may matter a lot, to our knowledge musl pthread implementation is more robust than glibc's (there is a long list of glibc pthread bugs) 2015-01-12 18:30:21 But the implication for the former is that if you have a haswell or newer, or anything that supports AVX2 really, your raid6 resilvers should benefit measurably. 2015-01-12 18:30:27 libc has not much to do special cpu support 2015-01-12 18:30:32 the raid6 code also uses sse and sse2. 2015-01-12 18:30:56 since libc linked binaries want to be portable across the same abi to different systems 2015-01-12 18:31:29 static binaries, per Rich Felker, right? 2015-01-12 18:31:39 no? 2015-01-12 18:32:13 if you optimize your binary to avx2 then it will only run a few select archs.. you wont be able to test it in some emulators or other systems 2015-01-12 18:32:36 this is independent of static vs dynamic linking 2015-01-12 18:32:37 right, but if the asm is in the libc then it wouldn't matter on dynamically linked libs. 2015-01-12 18:33:03 I'm not contemplating inline asm in the application, but in the libc. 2015-01-12 18:33:32 m_jones, there's almost nothing in libc that would benefit from avx2 2015-01-12 18:33:34 i see, yes if you dont want to move the libc you can optimize it for a specific arch 2015-01-12 18:33:52 m_jones, perhaps memcpy and some string functions could be faster in some cases with it 2015-01-12 18:34:12 but that's about all 2015-01-12 18:34:26 dalias: I wouldn't know, but I'm told there's some amount of x86/amd64 asm in glibc? 2015-01-12 18:34:53 not necessarily avx2, which is an extremely new instruction set. 2015-01-12 18:35:04 (there is less and less because they figured out most of them actually made things slower) 2015-01-12 18:35:25 well, that's kind-of a musl-specific question, and I was also looking for general feedback. ahill has given me some. 2015-01-12 18:36:05 asm is subject to what i like to call asmrot 2015-01-12 18:36:20 nsz: fair enough, I could see that. I won't dig into it unless I find further evidence that it matters. 2015-01-12 18:36:24 unless you constantly tweak it, within a couple years it's likely to be much slower than the compiled C code on new cpsu 2015-01-12 18:36:27 cpus* 2015-01-12 18:36:31 you will see some speed up of standard unix tools just because of the locale system 2015-01-12 18:36:47 yeah, plus clang is keeping gcc more honest these days. 2015-01-12 18:37:02 (the way non C locale is handled on glibc makes string processing slower than on musl) 2015-01-12 18:37:14 (in exchange you only have utf8 on musl) 2015-01-12 18:37:19 btw i don't have any good explanations for _why_ yet, but apparently musl's dynamic linking runs faster for lots of things 2015-01-12 18:37:26 despite being completely unoptimized 2015-01-12 18:37:36 nsz: ok, good. didn't realize there was a performance implication. 2015-01-12 18:38:31 I probably need to do some tests. For which I will need to order hardware. 2015-01-12 18:38:54 Because I now have some time and a need, but no longer have a big pile of big iron on which to play. 2015-01-12 18:39:29 I'm kinda intrigued with x32 on <4GB core systems, too. 2015-01-12 18:40:30 totally unrelated question: 2015-01-12 18:40:52 I can't manage to get my root filesystem mounted with option 'discard' at bootup 2015-01-12 18:41:19 I can mount other fileysystems that way from fstab, and I can remount -o discard root, but not from boot. 2015-01-12 18:42:00 I regenerated initrd to no effect. I feel a bit silly, but I don't know if the problem might be specific to grsec or other localisation, or just my unfamiliarity with linux, or what. 2015-01-12 18:47:31 actually, there's something in the logs I missed earlier. The root filesystem remounts at 1.5 seconds into boot, but the log only says that options are data=ordered 2015-01-12 18:50:02 It seems like there's a...capability? in System.map-grsec for blkdev_issue_discard 2015-01-12 18:52:17 Does anyone know from where mkinitfs gets the fstab for the root filesystem? 2015-01-12 18:52:38 i think system.map are just kernel internal symbols 2015-01-12 18:53:15 mkinitfs is an alpine linux tool, you need to read the source i think 2015-01-12 18:54:40 http://git.alpinelinux.org/cgit/mkinitfs/tree/mkinitfs.in 2015-01-12 18:55:05 nsz: yes, looks like kernel symbols and not access-control capabilities, compared to Debian. I haven't had to dig into this before. 2015-01-12 18:56:01 nsz: thanks, tracking it down now. 2015-01-12 18:59:28 ha, busybox 'more' doesn't support searching 2015-01-12 18:59:59 probably everyone but me calls 'less' 2015-01-12 19:01:48 imo to notice a major performance difference on server by switching libc, either the programs you're running or one of the libcs would have to be doing stuff that's badly wrong :) 2015-01-12 19:02:27 the most plausible causes for difference would be string.h functions 2015-01-12 19:09:25 dalias: mmm. Also, it's looking like one of my big processes is the dreaded c++, and I actually don't know how much libstdc++ uses of libc 2015-01-12 19:09:57 like they say on the big iron: you just have to test your codes and see. 2015-01-12 19:10:10 libstdc++ is rather huge, and the underlying libc probably doesn't make a lot of difference to it 2015-01-12 19:11:37 I wonder if phoronox would take the task of benchmarking barebone alpinelinux vs debian/ubuntu/rh 2015-01-12 19:11:39 really I should test alpine, debian, and freebsd for app performance and for networking performance, as those are my areas of concern. I was hoping to find clear indications without doing the testing, but I certainly haven't! 2015-01-12 19:12:18 vkrishn: now that's a good idea. The P.R. would be great if nothing else. 2015-01-12 19:12:48 also slackware as that would cover musl/eglibc/glibc 2015-01-12 19:12:52 vkrishn: I know I like <30MB of core used after boot, compared to Debian 2015-01-12 19:13:10 yeah, that's the biggest speedup I notice on Alpine at work 2015-01-12 19:13:19 oops, forgot to scroll 2015-01-12 19:13:20 when comes to size for servers, AL beats all 2015-01-12 19:13:43 was referring to locale speedup re: nsz 2015-01-12 19:13:50 vkrishn, that would be nice to see 2015-01-12 19:13:56 anyone who can make it happen? 2015-01-12 19:13:57 shell scripts run notably faster on systems that run lots of them 2015-01-12 19:14:21 ahills: are you comparing ash to ash, or ash to dash or bash? 2015-01-12 19:14:21 ahills, i suspect shell script performance is due to musl not having insane program-startup overhead 2015-01-12 19:14:36 m_jones: both 2015-01-12 19:14:36 Debian uses dash 2015-01-12 19:14:38 phorox as all setups 2015-01-12 19:14:43 phoronix 2015-01-12 19:14:43 (strace any of the standard utils often used in shell scripts) 2015-01-12 19:14:43 m_jones: I should say, all three 2015-01-12 19:15:05 individual commands aren't noticably faster on the command line, but my cron jobs finish quicker, etc 2015-01-12 19:15:32 you're not going to notice the 500us difference in startup time for a single command 2015-01-12 19:15:32 no longer consider writing tools in other languages for performance 2015-01-12 19:15:40 I always disliked bash. I've mellowed in recent years and converted to it, as part of my de-customisation of working setups 2015-01-12 19:15:43 I think best not to tweak default setups, so ash for AL, bash for debian... likewise 2015-01-12 19:15:44 you will notice it when ./configure runs 100k+ commands 2015-01-12 19:16:12 debian uses bash for /bin/sh?? 2015-01-12 19:16:16 i thought they used dash 2015-01-12 19:16:20 after using Alpine for a few machines, I tried using busybox on Debian/Ubuntu/RHEL, but it is not the source of the speedups I saw 2015-01-12 19:16:26 bash-dependency is so ingrained in Linux users that it's hard to get people to write portable scripts 2015-01-12 19:16:34 dalias: they use dash for a few years now 2015-01-12 19:16:48 but historically virtually all Linux used bash for /bin/sh since 1991. 2015-01-12 19:16:54 if you're writing bash code it's simple: write #!/bin/bash 2015-01-12 19:17:00 I've personally been a hater since 1994. 2015-01-12 19:17:03 not #!/bin/sh 2015-01-12 19:17:15 bash is full of bugs/vulns and bloat 2015-01-12 19:17:17 dalias: vehemently agreed. 2015-01-12 19:17:18 advantage of busybox is on once set, shut and forget servers 2015-01-12 19:17:52 it's hard to get people to shebang bash, and it's separately hard to get them to decide to target Bourne instead of bash 2015-01-12 19:17:59 even Google explicitly uses bash not sh. 2015-01-12 19:18:27 don't trust large companies to use good tools 2015-01-12 19:18:33 I've never seen one that does 2015-01-12 19:18:48 Google also writes tons of Java code 2015-01-12 19:18:54 Debian and Ubuntu finally fixed one of the bigger problems I had with Linux for many years. (I used mostly Solaris, *BSD, and Alphas until around 2005). 2015-01-12 19:18:55 and chose Java as their platform for Android 2015-01-12 19:19:28 android, ah I remember why I logged in here :) 2015-01-12 19:19:34 ahills: that application needs a bytecode platform for obvious portability reasons. Also, Bionic. See also: Dalvik vs. ART. 2015-01-12 19:19:46 dalias , how does the new AL website look on cm ? 2015-01-12 19:19:52 yes, but it doesn't need THAT platform 2015-01-12 19:19:54 android is a separate beast that also uses the Linux kernel 2015-01-12 19:19:55 we tweaked more 2015-01-12 19:20:02 vkrishn, the logo renders wrong on my version :( 2015-01-12 19:20:21 then I have strong feeling about the brower that comes with cm 2015-01-12 19:20:37 others couldn't reproduce the problem 2015-01-12 19:20:42 it's probably a bug in the specific version i have 2015-01-12 19:20:46 try downloading chrome 2015-01-12 19:21:00 hmm cert if also rejected now... 2015-01-12 19:21:21 seems fine on my 5.x Chrome stocker. 2015-01-12 19:21:24 is StartCom a legitimate CA ? 2015-01-12 19:21:52 yes 2015-01-12 19:22:00 I tested with iceweasel earlier 2015-01-12 19:22:19 I'm working with TLS, so let's take a look at AL.org 2015-01-12 19:22:20 weird. my phone doesn't have it 2015-01-12 19:22:43 logo issue has changed a bit... 2015-01-12 19:22:51 google is leading edge on tls and has been talking about stripping unused CAs 2015-01-12 19:23:03 but unless I misremember, startcom is pretty significant 2015-01-12 19:24:05 maybe I misremember w.r.t. startcom 2015-01-12 19:25:11 imgur.com/WQShdWy 2015-01-12 19:26:09 The StartSSL certificate is included by default in Mozilla Firefox 2.x and higher, in Apple Mac OS X since version 10.5 (Leopard), all Microsoft operating systems since 24 September 2009,[7][8] and Opera since 27 July 2010.[9] Since Google Chrome, Apple Safari and Internet Explorer use the certificate store of the operating system, all major browsers include support for StartSSL certificates. 2015-01-12 19:26:27 startcom does the free ones. I was conflating with rapidSSL. 2015-01-12 19:26:38 however! 2015-01-12 19:27:05 hmm.. issue with logo only now, rest seems lok 2015-01-12 19:27:14 * Connected to alpinelinux.org (88.159.20.184) port 443 (#0) * successfully set certificate verify locations: * CAfile: none CApath: /etc/ssl/certs * SSLv3, TLS handshake, Client hello (1): * SSLv3, TLS handshake, Server hello (2): * SSLv3, TLS handshake, CERT (11): * SSLv3, TLS alert, Server hello (2): * SSL certificate problem: unable to get local issuer certificate * Closing connection #0 2015-01-12 19:27:39 vkrishn: caching an issue at all? 2015-01-12 19:28:08 StartCom wants money if you want to revoke your cert i. e. because of Heartbleed 2015-01-12 19:28:43 ah startcom is startssl? 2015-01-12 19:29:03 m_jones, caching ? 2015-01-12 19:29:06 jomat, i really don't have much of a problem with that 2015-01-12 19:29:17 Yes 2015-01-12 19:29:28 vkrishn: didn't know if you changed the logo. 2015-01-12 19:29:42 it's better than making it impossible to have a secure site without paying 2015-01-12 19:29:45 nope, I cannot, ncopa only 2015-01-12 19:29:57 * SSL connection using ECDHE-RSA-AES256-GCM-SHA384 <-- very nice; just need an ECC cert now ;) 2015-01-12 19:30:14 paying for cert revocation is pretty legit 2015-01-12 19:30:25 revocation via OCSP or CRL is resource-intensive 2015-01-12 19:30:29 of course let's encrypt will fix the problem much better 2015-01-12 19:30:32 the new site was made live couple of weeks back 2015-01-12 19:30:44 Check out Adam Langley/Google's stuff about it 2015-01-12 19:31:54 Let's Encrypt should be excellent when it arrives. I also have even higher hopes for DANE. 2015-01-12 19:32:32 Less need to trust a lot of _pro_forma_ state-sponsored and semi-competent CAs with DANE 2015-01-12 19:33:02 also, Certificate Transparency and related proposals help a lot except for the paying part, which Let's Encrypt should fix 2015-01-12 19:34:12 yes, DANE is better but harder to get deployed well 2015-01-12 19:34:21 i do not like DANE because it's a trap for DNSSEC 2015-01-12 19:34:27 kaniini, ? 2015-01-12 19:34:34 and DNSSEC is a trap for ensuring USA maintains control of the DNS 2015-01-12 19:34:41 I'm still working on this discard issue for trim/unmap, but on a TLS note: any talk of switching to libressl-portable? 2015-01-12 19:34:47 since ICANN controls the trust root 2015-01-12 19:36:11 kaniini: fair observation, but I don't distrust icann. there's overwhelming transparency on root zone signing. Do you have a scenario that would persuade me otherwise? 2015-01-12 19:37:00 DANE is fairly hard to make functional, yes. I'm working on something related at the moment. 2015-01-12 19:37:10 mhm about performance difference, it would be interesting to see a flame graphs for same application working under similar workload both on musl and glibc:http://www.brendangregg.com/FlameGraphs/cpuflamegraphs.html 2015-01-12 19:37:41 since it probably would show a bit of internals of both libs 2015-01-12 19:37:43 at the end of the day we should have competition between traditional CAs and DANE, and competition is rarely bad. 2015-01-12 19:38:26 melville: probably needs one of the new instrumentation interfaces to be practical. Gregg is not a fan of systemtap, and he's used it a lot more than me. 2015-01-12 19:39:03 ktap maybe; I don't know enough to have an opinion. Hopefully we get some concensus before long. 2015-01-12 19:40:43 seen some dtrace talks, where systemtap was trashed for possibility of crashing system, were you prolly want to profile production system - maybe that is part of what you relate to. 2015-01-12 19:41:53 kaniini: "Trusting trust" 2015-01-12 19:42:58 I'm using the Qualys site to check the alpinelinux.org cert chaining because I don't seem to have the root CA in my Debian 7.7 /etc/ssh/certs, and the AL.org cert is signed by an intermediate 2015-01-12 19:43:11 it might be related to the fact that the AL.org cert is SHA2 (SHA384) 2015-01-12 19:44:17 melville: yes, we've probably seen some of the same talks by Gregg. I've also never personally had systemtap put a smile on my face, but that could be entirely on me. 2015-01-12 19:46:03 so alpine ships openssl but no certs... 2015-01-12 19:48:26 you just have to install the certs package 2015-01-12 19:48:37 apk add ca-certificates 2015-01-12 19:48:37 yes, done and done 2015-01-12 19:48:54 :) 2015-01-12 19:49:18 had to mount media because that KVM guest is now having a networking problem on this setup 2015-01-12 19:50:00 I'm doing two things that used to be anathema: typing extensively on a laptop, and using 802.11 for semi-serious work 2015-01-12 19:50:20 yeah his talk also gave some insight into culture diffrences e.g. shipping unstriped binaries with full profiles and (if i recall) debug symbols on systems of solaris origin 2015-01-12 19:51:02 I used to be a big solaris fan but stop using it at its perigee of Solaris 9, right before they turned it around totally with Solaris 10 2015-01-12 19:53:21 ACTION plugs a mouse into the thinkpad and looks over at the boxed 4K screen... 2015-01-12 19:53:46 I found Solaris 10 to be a huge pain in the ass... the ksh that ships with it is awful 2015-01-12 19:54:32 ACTION finds a Sun mousepad from 2001 and uses it ironically with a Microsoft optical mouse. 2015-01-12 19:54:44 ksh people are weird. 2015-01-12 19:54:52 i miss dtrace+zfs the most from solaris 10 2015-01-12 19:55:06 whenever someone professes to be a fan of ksh, I ask them if they spent formative years on AIX (my least-favourite Unix) 2015-01-12 19:55:07 hmm, it was a rather long sentence... 2015-01-12 19:55:21 I love the pdksh on OpenBSD; it's my favorite shell, hands-down 2015-01-12 19:55:43 I used to use tcsh, but de-customised to bash a number of years ago. 2015-01-12 19:56:05 Ran into a kid recently who switched to zsh after shellshock; I thought it was a bit odd. 2015-01-12 19:56:32 It has fancier versions of bash features without a lot of the bash nonsense... what is odd? 2015-01-12 19:57:25 These MSFT mice are great, and I have them on all my Linux workstations. Also, middle scroll wheel I found to be compelling, to my surprise. 2015-01-12 19:58:07 ahills: I think it's heavier than bash, and features aren't always great if they require customisations. 2015-01-12 19:58:22 zsh was the native shell on the Isilons (FreeBSD based) that I ran until recently, though 2015-01-12 19:58:32 people keep their .zshrc, .bashrc, etc on github now 2015-01-12 19:58:36 so customize once, download forever 2015-01-12 19:58:53 I use so many machines that even keeping customizations in git didn't seem like the thing to do 2015-01-12 19:59:01 I might reconsider though 2015-01-12 19:59:20 everyone has their own method... I build custom install images at work that put my preferences in /etc/profile >:D 2015-01-12 19:59:35 sensible defaults are terribly important. For example, I went to try out i3wm recently, only to find out that it's so customisable that there's essentially no defaults 2015-01-12 20:00:30 it really depends on the software's scope and the user's purpose 2015-01-12 20:00:53 customisations don't help when you're on someone else's machine, or in restricted environmnts. I'll give it some new consideration, though. 2015-01-12 20:01:03 so much software has defaults I don't want that I designed a system for including my default configurations and keeping them up-to-date 2015-01-12 20:01:40 bad customisations are bad. Like, imo, 'll' for ls -la is ubiquitous on Linux 2015-01-12 20:02:19 but i3 has no default for the super/meta key, and then no defaults for anything else either. So there's no chance of coming up to speed in 3 minutes, or of having someone show you something new in 2 minutes. 2015-01-12 20:04:23 https://www.ssllabs.com/ssltest/analyze.html?d=alpinelinux.org 2015-01-12 20:04:33 I was wrong, that isn't a SHA2 cert 2015-01-12 20:05:22 and the cert chain isn't complete, as I suspected 2015-01-12 20:05:32 that's probably the only problem with the cert 2015-01-12 20:07:22 non-browser clients, and I bet some browsers, don't automatically download the intermediates 2015-01-12 20:17:04 damnit, busybox find accepts -iname but treats it like -name, instead of case-insensitive 2015-01-12 20:17:31 A silent fail is full of fail. 2015-01-12 20:18:34 that should be fixed in next musl release. it's partly our fault for defining FNM_CASEFOLD but not supporting that nonstandard extension 2015-01-12 20:18:43 but it's stupid of busybox to be using it too :) 2015-01-12 20:19:01 dalias: awesome; I was checking busybox in preparation for filing a ticket 2015-01-12 20:19:39 I can't easily install findutils until I figure out my new networking problem 2015-01-12 20:19:59 KVM hands out DHCP, but does it bridge or nat? 2015-01-12 20:20:31 It ust bridge with -user, which means my uplink isn't NATing any subnets beside the one is hands out on 802.11n 2015-01-12 20:20:53 this is why I used to be wireless hater. Well, that and being a snob. 2015-01-12 20:22:51 actually it would be qemu not kvm I guess. 2015-01-12 21:01:52 I think my KVM guest networking stopped working very close to them time when upgraded from 3.1.0 to 3.1.1 2015-01-12 21:02:10 there's no udev, so the device and MAC shouldn't have changed....hmm 2015-01-12 21:18:53 is there an apk command to list installed packages, like dpkg -l or rpm -qa? 2015-01-12 21:36:09 "apk info" 2015-01-12 21:55:01 buckley310: thanks, I thought that 'info' only worked with an argument to see a specific package in the cache. 2015-01-12 21:55:30 mhm 2015-01-12 21:56:02 you can also do "cat /etc/apk/world" to see all packages without dependants 2015-01-12 21:56:31 not sure if that's the "correct" way 2015-01-12 21:57:10 correct enough for me. 2015-01-12 21:59:59 dalias, I'm encountering / filed a bug identical to this issue you responded to in 2013 regarding X module dependencies and lazy binding. I'm curious if it's an issue that's widespread or if it only affects my use case (or if it's the X server's issue and out of your hands) http://www.openwall.com/lists/musl/2013/05/17/6 2015-01-12 22:02:48 it's not fixed upstream. alpine fixes it with a conf file that force-loads modules in dependency order 2015-01-12 22:03:44 upstream in musl? 2015-01-12 22:03:51 xorg 2015-01-12 22:04:25 Ah, it would be those guys :P thanks 2015-01-12 22:04:44 I'll investigate why that conf file isn't being loaded automatically for me, then 2015-01-12 22:17:01 there is a possible workaround i could make in musl, but i'd rather not 2015-01-12 22:17:29 basically we'd be emulating lazy binding by deferring binding to subsequent dlopen calls instead of to call-time 2015-01-12 22:23:41 I only want to see aded packages though -- does bare 'info' show me world? 2015-01-12 22:23:45 s/aded/added/ 2015-01-12 22:28:21 oh, I guess 'world' is locally installed userland then 2015-01-12 22:28:29 I was thinking that meant thr whole repo. 2015-01-12 22:30:17 if it's an Xorg issue, it'd likely be better fixed there rather than making unneeded changes to musl 2015-01-12 22:36:04 xorg is relying on RTLD_LAZY actually precluding the checking of undefined symbols at load time, so that they don't cause the load to fail 2015-01-12 22:36:28 this is outside the specified behavior. the specified behavior is just that it allows, but does not require, the implementation to resolve them lazily 2015-01-12 22:38:11 But because glibc resolves them lazily, there hasn't been effort upstream by xorg devs to change the behavior, i'd assume 2015-01-12 22:39:41 right 2015-01-12 22:39:55 basically they want to do their own dependency tracking and manually dlopen deps rather than using DT_NEEDED 2015-01-12 22:40:43 but this prevents dlopen from being able to resolve all the relocations when it needs to 2015-01-12 22:43:44 x never ceases to cause me grief 2015-01-12 22:48:42 *nod* 2015-01-12 22:50:18 it's very intentional that musl doesn't do lazy binding at call time -- it's generally a pessimization, it's a security flaw (incompatible with relro protection), it requires tons of arch-specific fragile code that often breaks with new vector instructions/registers being added, etc. 2015-01-12 22:50:45 Thanks for the insight. I know gui stuff isn't high on the list for most alpine rollouts, so I'll do my best to figure out a workable solution 2015-01-12 22:50:58 x needs to die, imo 2015-01-12 22:51:31 however we could do fake lazy binding at subsequent dlopen time -- the idea is that we would save the list of as-yet-unresolved relocations in modules loaded RTLD_LAZY, and re-process them after each subsequent dlopen using newly-available libs 2015-01-12 22:52:20 opethfan, fwiw i have X working fine on alpine, out of the box 2015-01-12 22:52:57 diftraku, those who don't understand X are doomed to reimplement it, poorly :)@musllibc 2015-01-12 22:53:04 oops paste error at EOL 2015-01-12 22:53:13 :3 2015-01-12 22:53:18 wayland! 2015-01-12 22:53:21 that's strange, then. maybe I'm missing an apk? 2015-01-12 22:53:21 lol 2015-01-12 22:53:36 wayland is exactly what i was talking about 2015-01-12 22:54:00 you don't feel wayland is being implemented correctly? 2015-01-12 22:54:13 nope 2015-01-12 22:54:34 we need daliasd! 2015-01-12 22:54:52 x that is not x 2015-01-12 22:55:20 the right solution to Xorg sucking is a reimplementation of X based on the spec and the useful features/extensions, possibly with the rest omitted or implemented in inefficient-but-trivial ways 2015-01-12 22:55:22 Xdalias 2015-01-12 22:56:03 throwing out the networked and well-factored designed of X is stupid 2015-01-12 22:56:20 I was under the impression that wayland was developed by X devs, but is it the compositors that are troublesome? 2015-01-12 22:57:06 and wayland did that 2015-01-12 22:57:15 first stupid idea was putting the window manager and display server together 2015-01-12 22:57:42 then when they realized people wouldn't like this, they said hey let's split it up with shared libraries 2015-01-12 22:57:44 the idea of duplicating a lot of the work for each wm seems silly to me 2015-01-12 22:58:04 which is the idioitic windows-esque way to do something 2015-01-12 22:58:19 the sane way is to use separate processes which communicate over a clean, well-defined protocol 2015-01-12 22:58:22 whoops, my auto scroll isn't working, i'm saying things the smart people have already said :P 2015-01-12 22:58:25 which would be..... oops, X 2015-01-12 23:01:14 dbus and however dbus will be assimilated into systemd 2015-01-12 23:37:00 ScrumpyJack, hey 2015-01-13 05:12:11 hi all, new to alpine, trying to install nginx come up with a weird error: alpine:~# apk add nginx-1.6.2-r1 ERROR: unsatisfiable constraints: nginx-1.6.2-r1 (missing): required by: world[nginx-1.6.2-r1] 2015-01-13 05:12:30 just running apk add nginx just returns nothing 2015-01-13 12:40:25 anyone tried sending file from mobile -> AL server via bluethooth ? 2015-01-13 13:29:10 i need to get apache 2.0 working 2015-01-13 13:29:53 hopefully, Alpine Linux goes back that far :) 2015-01-13 13:30:32 nope AL2.0 has apache 2.2 2015-01-13 15:10:59 Hehe. X in an Alpine chroot 2015-01-13 15:39:37 xen_roger: your a xen user :) what do you use as a "backing store" 2015-01-13 15:45:48 assumed I use xen-live ? 2015-01-13 15:45:55 using lvm logical volumes as the disks for guests will give the best i/o performance on xen 2015-01-13 15:46:31 ScrumpyJack: atm I use lvm on luks 2015-01-13 15:50:45 xen_roger: do you use openvswitch for the bridge ? 2015-01-13 15:51:19 BitL0G1c: yes, sir 2015-01-13 15:52:03 :) ok 2015-01-13 15:52:05 BitL0G1c: also with multiple physical devices attacht to multiple switches ... works really nice 2015-01-13 15:53:16 I use openvswitch for LXC guests in a KVM host (works great) 2015-01-13 15:53:53 use it also for lxc ... 2015-01-13 15:55:01 have you ever bridged wlan0 ? 2015-01-13 15:56:47 no... no business case ;) so never tried ... but could work ... tell me if you have success with it 2015-01-13 16:06:09 xen_roger: does XEN work inside vmware ? (not worked for me so far) 2015-01-13 16:06:39 wich vm? kvm? 2015-01-13 16:07:08 vmware workstation 11 2015-01-13 16:07:49 booting the xen kernel seems to hang during hardware initialization 2015-01-13 16:08:38 nested virt is needed ... maby workstation does not support it... try kvm and have a look at "modinfo kvm_intel | grep -i nested" 2015-01-13 16:09:21 if not build as module check "cat /sys/module/kvm_intel/parameters/nested" should be Y to work 2015-01-13 16:09:39 xen_roger: i meant how do you carve up the fs for each vm? 2015-01-13 16:09:50 btrfs, lvm etc 2015-01-13 16:09:57 (if at all :) 2015-01-13 16:11:31 ScrumpyJack: lvm 2015-01-13 16:20:52 do you use snapshots? 2015-01-13 16:21:23 not atm ... there is no need currently 2015-01-13 16:21:52 btw if you're building new xen hosts, be sure to raise the lvm metadata size from the default 255... i didn't know that and hit the limit when adding lvm mirrors 2015-01-13 16:22:55 just wondering if it's better to :- 2015-01-13 16:23:39 a) mount the snapshot and boot the vm, do stuff and delete the snapshot when finished or 2015-01-13 16:24:50 b) mount the original lvm dev and boot the vm, do stuff and merge the (empty) snapshot onto the lv 2015-01-13 16:25:30 (in both cases to revert to original data on the volume) 2015-01-13 16:26:05 like the first better since it's easier to add more snapshots like that (and retry) 2015-01-13 16:26:27 but maybe i'm too tired 2015-01-13 17:21:49 Don't know who asks about "XEN in VM" - but I did check it with current alpine-xen on KVM an it works ( 2gb ram - alpine-xen live - 4 cores ) 2015-01-13 17:27:55 ok will try again 2015-01-13 17:28:33 I was trying xen in kvm in vmware workstation (I have AMD-V) 2015-01-13 17:41:12 crazzyyy ;) 2015-01-13 18:51:45 turtles all the way down 2015-01-13 18:59:54 Hi ! 2015-01-13 19:00:05 How goes ? 2015-01-14 11:51:12 Has anyone got experience running alpine as KVM host? I'm having some issues. It mostly runs fine, but I get an error when launching libvirt, and virt-manager won't manage my network interfaces, 2015-01-14 11:52:21 the interface error is: this function is not supported by the connection driver: virConnectNumOfInterfaces 2015-01-14 11:53:09 the other error on start, not sure if a problem or not, but I hate errors non the less: "error : virDriverLoadModule:73 : failed to load module /usr/lib/libvirt/connection-driver/libvirt_driver_interface.so Error relocating /usr/lib/libvirt/connection-driver/libvirt_driver_interface.so: udev_enumerate_unref: symbol not found" Couldn't find anything about it on the web 2015-01-14 12:02:29 I also get an error starting virt-manager if I try to do it with X forwarding (runs on the alpine box): (virt-manager:4419): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-IG4S0KQl6N: Connection refuse 2015-01-14 12:02:52 followed by a dialog with module has no attribute: VIR_DOMAIN_BLOCKED 2015-01-14 12:03:08 So I can't seem to run virt-manager reliable either locally or remotely 2015-01-14 12:07:05 alias_neo: i use libvirt on my work desktop 2015-01-14 12:08:15 ncopa: Is that under Alpine? 2015-01-14 12:08:17 yes 2015-01-14 12:08:29 And everything works? 2015-01-14 12:08:31 libvirt + virt-manager 2015-01-14 12:08:37 as far i can see yes 2015-01-14 12:08:46 Perhaps I missed some module or package? 2015-01-14 12:08:56 i think you might need dbus 2015-01-14 12:09:10 I coulodn't find instructions anyway, I managed to get kvm modules loaded, udev, dbus, dnsmasq installed 2015-01-14 12:09:39 dbus is runnig 2015-01-14 12:09:49 I haven't changed any libvirt or libvirtd configs from default 2015-01-14 12:09:57 Failed to connect to socket /tmp/dbus-IG4S0KQl6N: Connection refuse 2015-01-14 12:10:05 what is the permission on /tmp ? 2015-01-14 12:10:18 drwxrwxrwt 4 root root 4096 Jan 14 09:34 tmp 2015-01-14 12:10:28 looks correct 2015-01-14 12:10:35 I just noticed root isn't a member of group libvirt, could that be an issue? 2015-01-14 12:10:43 shouldnt matter 2015-01-14 12:11:08 my ncopa user is member of netdev readproc kvm 2015-01-14 12:11:24 root isn't a member of kvm on my box 2015-01-14 12:11:32 audio video and cdrom too 2015-01-14 12:11:42 root bin daemon sys adm disk wheel floppy dialout tape video 2015-01-14 12:11:50 same here 2015-01-14 12:11:52 shouldnt matter 2015-01-14 12:12:20 i think i maybe defined my networks with virsh 2015-01-14 12:12:32 oh 2015-01-14 12:12:49 to be able to connect with virt-manager to locally running libvirt 2015-01-14 12:13:05 i think consolekit and polkit is needed 2015-01-14 12:13:16 + some polkit agent 2015-01-14 12:13:29 like polkit-gnome 2015-01-14 12:14:19 Installed those, still get the VIR_DOMAIN_BLOCKED attributen ot found issue 2015-01-14 12:14:33 also says it failed to load canberra gtk module, even though I installed it 2015-01-14 12:17:49 Would love to get this fixed, got a dedicated box I'd like to run Alpine as KVM host 2015-01-14 12:32:25 ncopa: THe VIR_DOMAIN_BLOCKED error seems to indicate that the libvirt python module is missing the attribute VIR_DOMAIN_BLOCKED 2015-01-14 12:34:23 when do you see that error? 2015-01-14 12:34:28 when starting virt-manager? 2015-01-14 15:10:14 ncopa: yes, when I start virt-manager, I see it in a local dialog (I'm forwarding over ssh), 2015-01-14 15:11:20 i have only use it locally 2015-01-14 15:11:41 i think you can connect to a remote libvirt over ssh:// or similar too 2015-01-14 15:12:32 That's what I normally do, but the network interface page says the connection doens't support managing network interfaces 2015-01-14 15:15:14 If I can get that fixed, it'll be fully working, and I can write up a guide or something. But I need something fully functional as my KVM host with virt-manager. It all worked flawlessly under Ubuntu Server 14.04 but I'd rather run Alpine if I can make it fully functional 2015-01-14 15:19:22 My server is headless sadly so I can't test it locally (no gpu) 2015-01-14 15:57:35 i dont know what is wrong 2015-01-14 15:59:09 ncopa: no prob, thanks. I'll debug it a bit more, otherwise I'll have to go back to Ubuntu crying :( 2015-01-14 15:59:28 Maybe somebody else will be around that could help 2015-01-14 16:01:29 i would expect it to work that you run libvirt on the headless host, without X11 and virt-manager, then run virt-manager from a desktop 2015-01-14 16:01:44 and connet to ssh+qemu:// or what they call it 2015-01-14 16:11:55 Well, remote connection works (as in, virt-manager runs on my desktop), and I can manage the machines mostly, but it's missing the capability to manage network devices. But trying to forward the server's birt-manager over ssh with X forwarding just doesn't work 2015-01-14 16:12:37 from hours of reading last night i believe the network management was an issue of missing tun/tap module, but i've got that installed and loaded and still no dice 2015-01-14 16:14:32 ncopa: does chroot work for you in 3.1.1? 2015-01-14 16:18:21 ignore that 2015-01-14 16:25:37 lxc-debian template doesn't work 2015-01-14 17:40:35 ncopa: the VIR_DOMAIN_BLOCKED issue seems to be resolved by commenting out the entire section vm_status_icons = { on line 41 of /usr/share/virt-manager/virtManager/domain.py it seems those libvirt.X don't exxist in the version of libvirt-python that I have. THe virt-manager starts with those commented out, but breaks over something else that's missing later on when creating connections 2015-01-14 19:10:41 hi 2015-01-14 19:11:10 is there a preferred way to do bonding/trunking on alpine? 2015-01-14 19:11:26 to have an auto failover interface 2015-01-14 19:15:42 oh, found alpine wiki and bonding :) 2015-01-14 19:31:08 mlaine, what's your project? 2015-01-14 19:31:38 systmkor: testing! 2015-01-14 19:31:52 oh cool 2015-01-14 19:31:59 is it routing? 2015-01-14 19:32:05 or firewall stuff? 2015-01-14 19:32:20 routing 2015-01-14 20:08:19 oh cool 2015-01-14 20:08:29 please document on alpine wiki :D 2015-01-14 20:21:14 mlaine, one of my side projects is creating a package for mininet 2015-01-14 20:21:26 mlaine, http://mininet.org/ 2015-01-14 20:21:59 mlaine, and hopefully get a guide or some code to easily map a topology from mininet to lxc/docker containers or VMs 2015-01-14 20:22:34 hmm, looks interesting 2015-01-14 20:26:02 mlaine, it would also be night to get a fair amount of the OpenDaylight distro packages 2015-01-14 20:26:11 ported to Alpine 2015-01-14 20:27:34 mlaine, I also am curious how hard it would be to port https://qubes-os.org/ 2015-01-14 20:27:35 with Alpine 2015-01-14 20:30:10 systmkor: what do you mean with alpine? 2015-01-14 20:30:49 alpine in the dom0? or all pieces that are fedora to be alpine? 2015-01-14 20:31:09 well make sure the alpine dom0 xen version works as the hypervisore 2015-01-14 20:31:17 and all the pieces that are fedora to alpine 2015-01-14 20:31:35 so Pax/Grsec/MUSL benefits 2015-01-14 20:31:41 ok 2015-01-14 20:31:43 rather than SELinux & glibc 2015-01-14 20:31:50 i'd say, 6 months of work :) 2015-01-14 20:31:55 yah probably 2015-01-14 20:32:14 i sent out qubes dvds to all my customers for christmas :) 2015-01-14 20:32:29 darkfader, nice :D 2015-01-14 20:32:41 and i *sigh* need to buy a new desktop that will run it since mine won't finish the installer 2015-01-14 20:32:44 fedora... 2015-01-14 20:32:51 yuuuuuup 2015-01-14 20:33:04 fuck dat shit 2015-01-14 20:33:11 i'll try the new intel NUC when it comes out (soon) 2015-01-14 20:33:15 i think it should work 2015-01-14 20:33:51 i see your point, putting in a more robust OS for the heavy lifting would help 2015-01-14 20:34:07 i'd probably say the desktop on fedora is "what users like" 2015-01-14 20:34:16 also Alpine makes it way easier to strip down 2015-01-14 20:35:02 certain parts I miss using Ubuntu/Fedora and such for more comprehensive easy install processes 2015-01-14 20:35:47 darkfader, that said gradm needs to work out of the box with Alpine which it kinda doesn't 2015-01-14 20:36:15 also I think having a per package & extra database of grsec policy 2015-01-14 20:36:20 would help immensily 2015-01-14 20:36:20 i forgot to find out if qubes also uses xen security extensions of some sort 2015-01-14 20:36:29 pretty sure noone had them in use on alpine so far 2015-01-14 20:36:42 darkfader, I don't know, probably can check in their spec 0.3 paper 2015-01-14 20:36:58 i'll dig for it and read it on the flight home from vacation 2015-01-14 20:37:08 as for gradm, yes, you're right 2015-01-14 20:37:25 darkfader, http://files.qubes-os.org/files/doc/arch-spec-0.3.pdf 2015-01-14 20:37:28 i remember someone recently said like "why, it works for me", i didn't poke myself 2015-01-14 20:37:31 heh, ty 2015-01-14 20:38:02 yah I don't know how it would work best but having like 2015-01-14 20:38:06 vsftpd-gpol 2015-01-14 20:38:20 be a standard policy for vsftpd setups 2015-01-14 20:38:27 would help immensily 2015-01-14 20:38:41 even if it is a lowest common denominator w/ examples to add 2015-01-14 20:38:49 would help me building and modify new systems 2015-01-14 20:39:36 darkfader, also with having their network domain being segmented 2015-01-14 20:39:49 it would be cool to see how hard to drop in other options with that 2015-01-14 20:39:58 e.g. OpenVSwitch & OpenFlow 2015-01-14 20:40:08 or maybe OpenBSD's PF stack 2015-01-14 20:40:20 also if running on top of Xen 2015-01-14 20:40:42 darkfader, you can run Mirage OS with the host system 2015-01-14 20:40:43 http://www.openmirage.org/ 2015-01-14 20:41:06 yeah i know 2015-01-14 20:41:13 which is basically a suite of OpenCaml libraries for building unikernels & services 2015-01-14 20:41:19 that would be such a fucking sweet system 2015-01-14 20:41:26 i'm not sure if everything will come down in pieces if you try to combine too many advanced pieces 2015-01-14 20:41:26 so much varied security options 2015-01-14 20:41:43 darkfader, all at once in one big sprint 2015-01-14 20:41:46 ay *boom* 2015-01-14 20:41:48 or rather, i've done stuff like that once. and the whole thing gained like two users 2015-01-14 20:41:51 but adding them in one by one 2015-01-14 20:41:57 and making sure things integrate upstream 2015-01-14 20:42:27 then I think it's duable 2015-01-14 20:42:49 darkfader, gained two users? 2015-01-14 20:43:07 darkfader, oh you mean like a distro only had two users? 2015-01-14 20:43:10 yeah 2015-01-14 20:43:14 ahh 2015-01-14 20:43:25 yah that's why I wouldn't want to fork 2015-01-14 20:43:37 I think it it's within the scope of Alpine 2015-01-14 20:43:41 might help, yes 2015-01-14 20:43:43 and just keep integrating back in 2015-01-14 20:43:54 darkfader, yah maybe helps short term 2015-01-14 20:43:59 but long term I ddon't think so 2015-01-14 20:47:00 what sets qubes apart is how much documentation and end user friendly utils they have 2015-01-14 20:47:16 i.e. name any other distro that has a command to directly mount an iso to a xen vm 2015-01-14 20:47:34 the user friendly bling bling and a lot of blog posts might really help 2015-01-14 20:47:48 yup 2015-01-14 20:47:58 longterm goals 2015-01-14 20:48:27 i also don't mean to discourage you, i'd even try to help. just meaning you need to focus on rallying people, not on any technical aspect :) 2015-01-14 20:48:33 just wish could find more people with the security interest of OpenBSD but focused on Linux and minus the elitism 2015-01-14 20:48:39 hehe 2015-01-14 20:48:47 darkfader, agreed 2015-01-14 20:49:49 darkfader, know any way to do that? 2015-01-14 20:50:09 I am slowly learning on disto construction and trying to contribute more to Alpine 2015-01-14 20:50:30 no, i'm the wrong person to ask about starting communities 2015-01-14 20:51:07 this could be intersting: http://lwn.net/Articles/120584/ 2015-01-14 20:51:12 i read it many years ago 2015-01-14 20:51:51 but idk, ask ncopa here for a start! 2015-01-14 20:53:02 darkfader, also started a go port of the Nix package manager 2015-01-14 20:54:13 seems like Nix package/config management connected with a configuration management server 2015-01-14 20:54:19 like Ansible 2015-01-14 20:54:22 much dev so OPs 2015-01-14 20:54:38 :P 2015-01-14 20:57:52 darkfader, also i think Alpine needs to follow suite of Debian and utilize the gitian project style of 2015-01-14 20:58:02 actually verifiable builds 2015-01-14 21:01:32 i just know debian has this "doser" thing for testing builds, but what are verifyable builds? 2015-01-14 21:03:19 darkfader, presentation https://www.youtube.com/watch?v=5pAen7beYNc 2015-01-14 21:03:30 thx 2015-01-14 21:03:30 darkfader, website https://gitian.org/ 2015-01-14 21:04:05 oh, i didn't go to that talk and pretty much forgot it 2015-01-14 21:04:13 but i think i fetched it at home hehe 2015-01-14 21:04:50 nice 2015-01-14 21:05:06 darkfader, https://dl.acm.org/citation.cfm?id=358210 2015-01-14 21:09:17 darkfader, to me it seems like distrobutions are commonly to focused on end-user experience 2015-01-14 21:09:28 and miss building a really guide base linux system 2015-01-14 21:09:58 a good system that isn't good to use is a shitty systems 2015-01-14 21:10:04 it needs to be both 2015-01-14 21:10:11 well yah 2015-01-14 21:10:20 but what I mean is basically 2015-01-14 21:10:34 what it doesn't need is shit like dbus that is "fake" user friendly 2015-01-14 21:10:37 i think there are at least to focuses of what we consider a "distro" 2015-01-14 21:10:56 one side focuses on providing packages 2015-01-14 21:11:02 a great build system 2015-01-14 21:11:11 and all the low level things that Alpine does 2015-01-14 21:11:19 and similar that of gentoo and arch 2015-01-14 21:11:30 then their is the ElementaryOS/Ubuntu 2015-01-14 21:12:10 which focuses more on the end user experience ( granted that's more for the lay person ) 2015-01-14 21:12:48 I think there should be good level of seperation between e.g. Alpine as a base system 2015-01-14 21:13:05 and a MATE desktop distro that makes it as easy to use as maybe linux mint for the average person 2015-01-14 21:13:15 but without doing the bullshit hacks that come with Ubuntu and such 2015-01-14 21:13:28 were their focus isn't security or how solid the system is 2015-01-14 21:13:38 is there any devel pkg or something that has the common tools for c compiling etc 2015-01-14 21:13:43 no real proof to this but just kinda rant thought 2015-01-14 21:13:53 for Alpine? 2015-01-14 21:13:56 yes 2015-01-14 21:13:58 mlaine: yes 2015-01-14 21:14:05 should be gcc and binutils 2015-01-14 21:14:07 right? 2015-01-14 21:14:13 systmkor: there's a bigger one, sec 2015-01-14 21:14:39 alpine-sdk 2015-01-14 21:14:44 has all you should need 2015-01-14 21:15:12 that's the one 2015-01-14 21:15:13 cheers 2015-01-14 21:16:37 yah 2015-01-14 21:17:11 mlaine, darkfader idk what do you guys think? 2015-01-14 21:19:38 i guess there's some need for yet another distro 2015-01-14 21:19:58 that provides desktops etc 2015-01-14 21:21:09 mlaine, i wouldn't say another distro 2015-01-14 21:21:24 just a segmentation/abstraction between what a "distro" is 2015-01-14 21:21:37 yeah that's what i meant 2015-01-14 21:22:10 mlaine, so really I guess it would be for example providing tools to an existing distro 2015-01-14 21:22:14 like ElementaryOS 2015-01-14 21:22:22 such as a base of Alpine 2015-01-14 21:22:25 alpine cannot be considered a desktop distro atm 2015-01-14 21:22:28 so yeah 2015-01-14 21:22:36 oh and I don't think it really should 2015-01-14 21:22:55 but I could imagine a group that basically operates on top of Alpine that produces a Desktop Distro 2015-01-14 21:23:06 the seperation between base and something else should be very clear 2015-01-14 21:23:42 mlaine, plus then you would only except upstream custom tools such as an install script or maybe 2015-01-14 21:23:50 an "install language" just as hypothetical 2015-01-14 21:23:56 that doesn't bloat the base system 2015-01-14 21:24:14 but makes it way easier for different higher level distros work faster and cleaner 2015-01-14 21:31:04 yay installed alpine on my laptop 2015-01-14 21:31:21 mlaine, nice 2015-01-14 21:31:30 I've been running it off my laptop for a couple months now 2015-01-14 21:31:37 networking and X with my favourite wm, dwm configured 2015-01-14 21:31:43 it's really nice except for getting that whole media experience from the internet 2015-01-14 21:31:45 zero problems so far :) 2015-01-14 21:31:57 well that's me 2015-01-14 21:33:09 mlaine, :thumbs_up: 2015-01-14 21:33:49 compiling dwb (web browser) might not be so easy 2015-01-14 21:34:49 i've had troubles with it on many distros and on bsd too 2015-01-14 21:35:18 mlaine, also don't even try using TPE with Grsec to run any web-browser 2015-01-14 21:35:24 that shit will just blow up 2015-01-14 21:36:16 :D 2015-01-14 21:43:31 mlaine, it would be nice to push program development to addhear to TPE 2015-01-14 21:43:47 but that would need some serious power to do that 2015-01-14 21:45:28 also the tools to aid developers comply with that aren't there 2015-01-14 21:55:29 hmm when i quit dwm i get only a blank screen 2015-01-14 21:56:52 also cannot change to another tty 2015-01-14 22:00:11 weird the ctrl+alt+F 2015-01-14 22:00:12 works for me 2015-01-14 22:00:53 when i startx (exec dwm) i get X on tty7 2015-01-14 22:01:20 and all other ttys just blank 2015-01-14 22:01:40 try hitting return? 2015-01-14 22:01:56 won't respond to anything 2015-01-14 22:02:02 idk sorry 2015-01-14 22:02:10 i hate debugging these 2015-01-14 22:02:14 :D 2015-01-14 22:12:47 for TPE - just put yourself in the trusted ID group - saves a lot of hassle 2015-01-14 22:16:29 BitL0G1c, i do that 2015-01-14 22:16:35 but it feels like a hack 2015-01-14 22:19:15 otherwise everything executed must be owned by root which is a bit of a pain on a desktop machine 2015-01-14 22:28:43 ahh 2015-01-14 22:28:47 right then the TPE group 2015-01-14 22:29:07 is just it can't have any global execute or write options right? 2015-01-14 22:30:39 BitL0G1c, thanks for clarifying 2015-01-14 23:22:34 what supplies stdio.h ? 2015-01-14 23:28:53 musl-dev 2015-01-14 23:29:26 maybe there's a metapackage you can install to get all the baseline stuff needed for compiler to work; i dunno 2015-01-15 00:30:54 systmkor: I think the default group for grsec_proc = 1001 & grsec_tpe = 1005 2015-01-15 00:32:47 sorry - CONFIG_GRKERNSEC_PROC_GID=30 2015-01-15 00:37:30 setting 'kernel.grsecurity.tpe=1' in /etc/sysctl.conf enables TPE 2015-01-15 00:40:40 but looks like the kernel is built without a TPE group set 2015-01-15 00:47:33 or the ability to turn it on - 'ls /proc/sys/kernel/grsecurity' to see what can be configured at runtime in sysctl 2015-01-15 00:51:55 http://en.wikibooks.org/wiki/Grsecurity/Appendix/Sysctl_Options 2015-01-15 05:01:57 yah I compile a custom version of the kernel with most security related flags of the all cgroup/pax/chroot/tpe/extra grsec ones 2015-01-15 06:57:30 So alpine in a chroot works nicely. Next step: Alpine as host, Arch in chroot 2015-01-15 06:59:04 I wonder if pacman will build on musl... 2015-01-15 07:38:43 probably 2015-01-15 07:38:48 I've hacked on it before, it's pretty clean 2015-01-15 07:39:00 most of the important stuff is separated out into a lib 2015-01-15 07:58:40 i think we have pacman packaged already 2015-01-15 07:59:18 systmkor: i like your idea of an alpine derivative that does desktop 2015-01-15 08:20:35 why make it a derivative? :) 2015-01-15 08:21:51 or another iso release 2015-01-15 08:21:57 alpine-desktop 2015-01-15 08:22:00 or so 2015-01-15 08:23:01 reason to make it derivative is that then can the core devs move more independent 2015-01-15 08:23:26 it would be nice for me to be able to focus on the core system and core system functionality 2015-01-15 08:23:45 and that others work on the desktop and polishing parts 2015-01-15 08:29:35 i'm dissapointed with the lack of useradd/userdel 2015-01-15 08:29:46 is there something in apk which provides these which i'm missing/ 2015-01-15 08:30:03 adduser from busybox 2015-01-15 08:30:15 in most distros the 'passwd' or 'shadow' package would provide useradd and userdel. 2015-01-15 08:30:27 problem here, is, we're trying to chefify alpine 2015-01-15 08:30:35 for massive deployments (thousands of em) 2015-01-15 08:30:54 to do that, it has to respond to certain protocols, in this case, 'useradd/userdel' 2015-01-15 08:31:51 I don't mind the lack of pan. 2015-01-15 08:31:54 *pam 2015-01-15 08:32:04 did you check the shadow package? 2015-01-15 08:32:11 but no useradd/userdel means we need to monkeypatch chef libraries deeply 2015-01-15 08:32:25 i did an apk search shadow and it came up with nothin' 2015-01-15 08:32:36 hum 2015-01-15 08:34:15 its in testing 2015-01-15 08:35:56 you cannot change the chef config to use adduser instead of useradd? 2015-01-15 08:38:55 it's not a config thing 2015-01-15 08:39:01 it'd be a core lin thing 2015-01-15 08:39:14 I was surprised I got chef working at all. 2015-01-15 08:39:22 I still need to tell ohai about alpine 2015-01-15 08:39:30 lsb-release would be great, for that. 2015-01-15 08:40:15 if we had lsb-release, that is, the ahai integration would be smoother. 2015-01-15 08:40:46 it does a case on $( but no alpine- 2015-01-15 09:54:36 heh 2015-01-15 09:54:45 i think we do support the /etc/os-release thingy 2015-01-15 09:56:41 what does chef expect from useradd? 2015-01-15 09:56:57 we could maybe provide some alpine-chef wrapper scripts 2015-01-15 11:04:32 Heh 2015-01-15 11:04:35 No terminus package 2015-01-15 12:40:00 opendredd: terminus as a font? 2015-01-15 13:01:29 opendredd: the default font not good enough? 2015-01-15 13:37:51 Hi. I did recompile busybox with PAM enabled, added and configured nss-pam-ldapd (nslcorrectly. But still can't login with "Login incorrect". Even if pam_ldap(login:auth): authentication succeeded and pam_ldap(login:account): authorization succeeded... 2015-01-15 13:38:57 I find nothing on this topic in any webpage, forum, etc :( 2015-01-15 13:41:37 my /etc/pam.d/login is http://sprunge.us/RMMc 2015-01-15 13:43:32 anyone using pam-ldap here? 2015-01-15 13:52:50 Jean-Scotch: sounds like a busybox bug 2015-01-15 13:53:17 looks like... 2015-01-15 14:01:51 I'm looking after this for a couple of days now. I did relearn all I knew about pam. At least that was usefull. But I don't want to be forced to fall back to another distro as I'm moving all my (debian) boxes to Alpine :-/ I'm not sure to possess the skills needed to debug busybox. 2015-01-15 14:02:36 so what you want to do is let users log in with ldap authentication 2015-01-15 14:03:20 i wonder if it would work if you used login from package shadow in testing 2015-01-15 14:03:20 yes 2015-01-15 14:03:52 i also wonder if we would like a long-term solution for that 2015-01-15 14:04:36 problem is that i dont want link core apps like busybox with pam libs 2015-01-15 14:05:29 however, i think bsdauth is a bit interesting 2015-01-15 14:05:42 I define users in ldap. when a new user logs in (with sftp trough ssh), his defined home is created on the fly. and the webservers are serving it directly 2015-01-15 14:06:07 makes sense 2015-01-15 14:06:41 I understand you don'want pam in base package. It's seems a wise choice to me. I cn compile it for the rare boxes I need it. 2015-01-15 14:07:42 bsdauth is fork/exec of a suid root binary 2015-01-15 14:07:46 reads password from stdin 2015-01-15 14:07:54 I share this $HOME between the sftp, the lighttpd and the php-fpm LXC with a bind mount 2015-01-15 14:07:55 i think it writes the status back 2015-01-15 14:10:25 hum 2015-01-15 14:10:26 and I also use ldap to manage de mailboxes and some other services 2015-01-15 14:10:36 you need the mkhomedir thingy too 2015-01-15 14:10:39 so pam makes sense 2015-01-15 14:10:40 yes 2015-01-15 14:11:06 otherwise you could do authorized_keys 2015-01-15 14:11:13 http://jmorano.moretrix.com/2013/09/openssh-6-2-x-ldap-authentication/ 2015-01-15 14:11:21 my setup works like that on debian boxes for ages 2015-01-15 14:11:36 but 2015-01-15 14:11:51 i think openssh does not call busybox login 2015-01-15 14:11:56 or does it? 2015-01-15 14:12:14 no, I define a sshd service in pam for it 2015-01-15 14:12:35 I did recompile openssh with pam support on alpine 2015-01-15 14:12:56 login is easyer to test my pam rules 2015-01-15 14:13:28 maybe I my just forget about local login and just use it for sshd 2015-01-15 14:13:42 s+my+may+ 2015-01-15 14:14:18 it does sound like something in busybux is broke yes 2015-01-15 14:15:23 but I still need pam for mkhomedir with sftp and postfix (or qmail) 2015-01-15 14:16:21 my users are to dumb to use authorized_keys :( 2015-01-15 14:16:58 even sftp was a PITA to force upon them 2015-01-15 14:27:18 :) 2015-01-15 14:29:45 i have added the gpg key to frontpage: wwwtest.alpinelinux.org 2015-01-15 14:30:01 and on downloads page: http://wwwtest.alpinelinux.org/downloads/ 2015-01-15 14:30:29 lync users cannot hover the gpg key link on frontpage to see the key fingerprint 2015-01-15 14:30:54 so my question is, do we need to show the gpg key finger print? 2015-01-15 14:31:01 or is it enough to display it on downloads page? 2015-01-15 14:31:23 i mean, do we need display the gpg key finger print on front page? 2015-01-15 14:34:43 not really. in case of a compromise this could be changed, if the person downloading has no other way to verify your key 2015-01-15 14:34:55 the best thing would be to have your key signed by lots of people 2015-01-15 14:44:55 Greetings! 2015-01-15 14:48:44 hi ginjachris 2015-01-15 14:49:11 How are things @ncopa? 2015-01-15 14:49:23 Busy as always I imagine.... 2015-01-15 14:49:47 I must thank you again for Alpine, it's pure genius! 2015-01-15 14:53:59 ginjachris: good, but busy yes :) 2015-01-15 14:54:02 thanks 2015-01-15 14:54:55 I hope to have a chance to try Alpine on rpi soonish 2015-01-15 14:56:28 after using Alpine, everything else is pants. Especially on ARM processor 2015-01-15 14:56:58 i got an email that they have sent my 2 wandboards 2015-01-15 14:57:27 hopefully i will reach to set them up before vacation 2015-01-15 15:07:17 @ncopa, a well deserved holiday! Off to anywhere nice? I too am aiming to finally take a holiday this year.....it's been years since I got off this damn island I find myself stuck on! 2015-01-15 15:12:14 i'm going to brazil 4 weeks in feb 2015-01-15 15:13:39 @ncopa - awesome! Enjoy :) Bring us back a gift? (More Dev's!) :) 2015-01-15 15:41:50 ncopa: try to make it 6 weeks, my 4 weeks are just enough to work the backlog away (while in the sun) 2015-01-15 15:41:57 and i hope you enjoy it alot 2015-01-15 15:42:56 i will :) 2015-01-15 16:08:33 is the LBU system of alpine the equivalent of "persistence" on other live systems, or is it possible to use something like aufs or unionfs to have a copy-on-write update of the live system in real time? 2015-01-15 16:12:35 ACTION is uncertain if he should use "sys", "data", or live+LBUs 2015-01-15 16:14:49 @wgreenhouse - for a USB install i just did a normal disk install (-m sys) & set /tmp /run /var/log as tmpfs 2015-01-15 16:16:07 BitL0G1c: thanks for the suggestion. 2015-01-15 16:17:20 BitL0G1c: that probably makes updating easier, too; rather than having to reinstall the livesystem for kernel updates, etc. 2015-01-15 16:18:29 yes exactly 2015-01-15 16:18:32 http://www.hastebin.com/giheweqagu.hs 2015-01-15 16:19:09 am using it to test XEN - I've also worked out how to bridge wifi 2015-01-15 16:19:20 with openvswitch 2015-01-15 16:22:18 @xen_roger: http://www.hastebin.com/ohewoluxoc.hs 2015-01-15 16:22:59 tested with LXC containers so far - but should also work for XEN guests 2015-01-15 16:24:44 BitL0G1c: you do not commit changes with lbu ? or why create xenbr0 everytime ? 2015-01-15 16:25:53 BitL0G1c: also this way is routing / nat traffic over wlan0 is not "using wifi on ovs-bridge" ^ 2015-01-15 16:29:38 I don't think you can bridge wlan interfaces 2015-01-15 16:32:31 you can but it needs either ebtables to masquerade the MAC addresses - or use nat as i've used 2015-01-15 16:32:48 the lxc guest has connectivity 2015-01-15 16:33:24 I'm not using lbu 2015-01-15 16:35:44 anyone familiar with lxc networking? 2015-01-15 16:35:55 yes 2015-01-15 16:36:08 (with openvswitch) 2015-01-15 16:37:13 wgreenhouse: additional sysctl.conf settings for a usb install http://www.hastebin.com/otihoxebiq.hs 2015-01-15 16:38:09 thx BitL0G1c 2015-01-15 16:40:10 ScrumpyJack: - this works very well http://blog.scottlowe.org/2014/01/23/automatically-connecting-lxc-to-open-vswitch/ 2015-01-15 16:41:56 unfortunatly sir, I don't have openvswitch 2015-01-15 16:42:00 :) 2015-01-15 16:42:59 I also use LXC (and KVM) ith openvswitch. It works like a charm. 2015-01-15 16:43:33 ScrumpyJack: I'm a little bit familiar with it 2015-01-15 16:44:12 ScrumpyJack: ... at least the physical interfaces of my servers are in a lxc container which does the routing 2015-01-15 16:44:41 not to mention: running alpine ;-) 2015-01-15 16:45:09 http://www.hastebin.com/iqusakaqal.bash settings for lxc / ovs 2015-01-15 16:45:17 jomat: woah! so you give your physical interface to a lxc container? with lxc.network.type = physical? 2015-01-15 16:45:19 ncopa: for my ssh + pam + mkhomedir, I just setup a LXC with debian and everything was properly setup and configured from scratch in les than 20 min... the only drawback is 400MB for this LXC versus 77 for the corresponding alpine one 2015-01-15 16:45:25 ScrumpyJack: yes 2015-01-15 16:45:59 so the physical machine just has a veth interface 2015-01-15 16:46:03 Il will continue to investigat but at least I can go to production with that alpine box 2015-01-15 16:46:22 jomat: that's crazy :) 2015-01-15 16:46:28 anyway 2015-01-15 16:46:34 :-) 2015-01-15 16:46:37 thx :-) 2015-01-15 16:46:37 here's my problem 2015-01-15 16:46:51 i only have one physical interface :( 2015-01-15 16:46:55 me too 2015-01-15 16:47:21 ok. perhaps you can help me. i'll try to describe 2015-01-15 16:47:33 i don't even have vga or serial console on this stuff :-) 2015-01-15 16:48:04 eth0 on host has IP a.b.c.d 2015-01-15 16:48:38 Aaah, I love hexadecimal representation of IP adresses 2015-01-15 16:49:52 i want IP 5.6.7.8 to go straight to a lxc guest 2015-01-15 16:50:21 from the outside? so you'll need ARP proxying 2015-01-15 16:50:30 resp. ndp proxy for v6 2015-01-15 16:50:38 ooooor you use a bridge 2015-01-15 16:50:46 but i'm no fan of bridges 2015-01-15 16:51:06 no no, i don't want to bridge either if i can help it 2015-01-15 16:51:35 yeah 2015-01-15 16:52:55 (internet)<->[(eth0) (veth0)<-[->(veth1)]] <--- is that the picture you want? veth1 with 5.6.7.8 and reachable from the Internet? 2015-01-15 16:53:09 And you need to fill the gap` 2015-01-15 16:53:10 ? 2015-01-15 16:53:55 i did try adding a macvlan interface to eth0 on the host, then giving the guest lxc.network.type = phys and lxc.network.link = macvlan0. the macvlan0 interface vanished from the host as expected, and appeared in the guest with it's original mac address, but when i gave the guest a public IP, nothing 2015-01-15 16:54:54 that would have been cool if it worked 2015-01-15 16:56:28 on the host: ip link add link eth0 mac0 type macvlan 2015-01-15 16:56:46 and the guest got the same mac address as mac0 :) 2015-01-15 16:58:09 macvlan's are for guest to guest networking 2015-01-15 16:59:30 i just used an openswitch bridge / nat for an nginx reverse proxy 2015-01-15 17:02:42 BitL0G1c: yes macvlan in lxc.network.type is for lxc guest to guest networking, but more generally it's part of 8021q and can do way more 2015-01-15 17:04:35 so here is my macvlan device in host: mac0 Link encap:Ethernet HWaddr 1E:64:34:90:CA:5F 2015-01-15 17:05:07 and here it is in my guest: eth1 Link encap:Ethernet HWaddr 1e:64:34:90:ca:5f 2015-01-15 17:08:00 ScrumpyJack: sorry, had a phone call... now I'm back :-) 2015-01-15 17:10:00 ScrumpyJack: Do you use some firewall scripts like shorewall? 2015-01-15 17:10:13 it's looking good. i think it's my firewall rules blocking! 2015-01-15 17:10:26 i use iptables yes 2015-01-15 17:10:31 ;) 2015-01-15 17:10:35 ;-) 2015-01-15 17:11:06 that's why I added "scripts" :-) 2015-01-15 17:11:37 Well, but how I do it basically is: 2015-01-15 17:11:38 i find iptables easier to script than wrappers around iptables, if that makes sense 2015-01-15 17:12:05 run the container with a veth-pair (i. e. veth0 on the host and veth1 in the container) 2015-01-15 17:13:01 configure i. e. 5.6.7.8/24 to veth1 in the container 2015-01-15 17:13:37 ehr, and with the peer address a.b.c.d 2015-01-15 17:14:07 can be done in /etc/network/interfaces with "pointopoint a.b.c.d" 2015-01-15 17:14:15 i think what i'm doing works, tcpdump shows incoming to 5.6.7.8/32 when i give 5.6.7.8/32 to the guest 2015-01-15 17:14:59 add a host route: "ip r a a.b.c.d via dev veth1" in the container (not sure right now if it's needed) 2015-01-15 17:15:10 a default logging rule helps debugging iptables 2015-01-15 17:15:24 -A OUTPUT ! -o lo -m limit --limit 2/min -j LOG --log-prefix "DROP OUTPUT: " --log-level 4 2015-01-15 17:15:39 and then enable arp proxy somewhere in /proc (i do it with shorewall, that's quite comfortable :-D ) 2015-01-15 17:15:46 and routing of course 2015-01-15 17:16:10 but perhaps it's possible with macvlan, too :-) 2015-01-15 17:16:18 but I never tried that :-) 2015-01-15 17:20:14 on host IP is 1.2.3.4/30 2015-01-15 17:20:30 on guest IP is 5.6.7.8/32 2015-01-15 17:21:14 (this is with the macvlan interface of host lxc.network.type=phys attached to the guest) 2015-01-15 17:21:48 when i access 5.6.7.8 from outside the host, i see this in tcpdump 2015-01-15 17:21:59 1.2.3.4 > 5.6.7.8 2015-01-15 17:22:28 not outside > 5.6.7.8 as i'd expect 2015-01-15 17:22:36 is that wierd? 2015-01-15 17:26:14 ok, i need to go home. back later 2015-01-15 17:30:50 actually, what i see in tcpdump is: 2015-01-15 17:31:25 outside > guest 2015-01-15 17:31:29 host > guest 2015-01-15 17:31:33 houst > guest 2015-01-15 17:31:36 outside > guest 2015-01-15 17:31:37 houst > guest 2015-01-15 17:31:39 houst > guest 2015-01-15 17:31:40 etc 2015-01-15 18:10:06 back 2015-01-15 18:12:07 ScrumpyJack: where does the tcpdump run, and on which interface(s)? 2015-01-15 18:12:46 ScrumpyJack: do you see anything with inside the container? (i. e. tcpdump -ni veth1) 2015-01-15 18:13:31 s/with// 2015-01-15 18:13:45 ScrumpyJack: i. e. if you ping 5.6.7.8 from the outside 2015-01-15 18:18:00 good point, but i have no network working inside the container, so i'll need to get the packages from outside the container 2015-01-15 18:18:35 i'll trying from inside the container with tcpdump on the host 2015-01-15 18:22:42 ScrumpyJack: you can lxc-attach -n yourcontainer 2015-01-15 18:23:12 ScrumpyJack: and it should be possible to install packages with just a chroot /var/lib/lxc/yourcontainer/rootfs 2015-01-15 18:23:26 this tcpdump is from the host. tcpdump -i eth0 host 5.6.7.8 (IP of guest) 2015-01-15 18:23:27 better stop the container for that, but not sure if neccesary 2015-01-15 18:24:02 when is ping the host IP 1.2.3.4 from within the guest ... 2015-01-15 18:24:22 ScrumpyJack: ah ok. have you tried neutralizing your firewall with. sth. like iptables -P FORWARD ACCEPT; iptables -I FORWARD -j ACCEPT 2015-01-15 18:24:53 the only thing i see is ARP who-has host tell guest 2015-01-15 18:27:47 so traffic is going from host to guest, but not guest to host? 2015-01-15 18:28:20 what does ip r g 5.6.7.8 on the host say? 2015-01-15 18:34:48 5.6.7.8 via host gw dev eth0 src 1.2.3.4 2015-01-15 18:36:09 do i need to remove the gw for the guest? 2015-01-15 18:36:19 and make it a host route? 2015-01-15 18:37:36 right, dinner time 2015-01-15 18:37:41 biab 2015-01-15 19:51:58 back 2015-01-15 20:07:27 ScrumpyJack, any luck? 2015-01-15 20:13:48 not yet :( 2015-01-15 20:14:08 wish I could help but I don't know much about iptables 2015-01-15 20:17:10 i've cleared them 2015-01-15 20:17:32 i'm going to add tcpdump to container (it's debian) 2015-01-15 20:17:39 host is AL 2015-01-15 20:18:47 actually, i'll prolly just reboot lxc with veth and add some tools. veth works with NAT just fine 2015-01-15 20:31:17 added tcpdump - testing now 2015-01-15 20:37:45 tcpdump from inside the guest shows nothing when filtering on IP of guest 2015-01-15 20:37:58 but there is a whole lot of other chatter on there 2015-01-15 20:47:40 so the guest is seeing my provider's private IPs 10.3.x.x but nothing from the intertubes 2015-01-15 20:48:26 and only ARP req/replies 2015-01-15 21:59:26 interesting 2015-01-15 21:59:58 ScrumpyJack, I am trying to compile tor on alpine but it keeps throwing an error that it can't find libevent 2015-01-15 22:00:12 even when I specify it's in /usr/lib 2015-01-15 22:00:25 can't find or can't find a linkable version 2015-01-15 22:00:42 is there something related compiling with MUSL that changes anything for libevent ? 2015-01-16 07:51:49 . 2015-01-16 08:29:35 so i'm setting up a alpinelinux system as a gateway, and i need pppoe, what should i use? regular Paul's PPP Package or Roaring Penguin's ppp client 2015-01-16 08:29:51 anyone have any opinions either way? 2015-01-16 08:45:29 oops i dropped there did anyone say anything? 2015-01-16 08:56:00 paper_face: nobody said anything 2015-01-16 08:56:14 use regular ppp package 2015-01-16 08:56:39 any specific reason? there wasn't much info on either page 2015-01-16 08:57:04 i did notice you maintain the ppp-pppoe package 2015-01-16 08:57:05 i think it is good integrated with /etc/network/interfaces 2015-01-16 08:57:09 ah 2015-01-16 08:58:09 there are ppp-daemon and ppp-pppoe packages 2015-01-16 08:58:19 i think those sould be enough 2015-01-16 08:59:20 thanks for the info. 2015-01-16 09:00:05 create a /etc/ppp/peers/my-isp file 2015-01-16 09:00:22 containing a line: 2015-01-16 09:00:25 plugin rp-pppoe.so eth0 2015-01-16 09:00:27 or similar 2015-01-16 09:00:41 user 2015-01-16 09:00:52 password 2015-01-16 09:00:53 etc 2015-01-16 09:01:08 then in /etc/network/interfaces you have: 2015-01-16 09:01:25 auto ppp0 2015-01-16 09:01:25 iface ppp0 inet ppp 2015-01-16 09:01:44 provider my-isp 2015-01-16 09:01:49 could you censor yours and put them in a pastebin, am thinking of making a wiki article for this 2015-01-16 09:01:54 as it's a fairly common usecase 2015-01-16 09:02:08 (course i shall test it first) 2015-01-16 09:02:14 might be you also need 'pre-up ip link set dev eth0 up' 2015-01-16 09:02:17 ok 2015-01-16 09:02:59 I'm new to alpinelinux, but so far very impressed 2015-01-16 09:03:22 lbu looks really neat 2015-01-16 09:03:49 one thing i did actually also think about was the caveats of USB stick booting vs CD 2015-01-16 09:04:02 and the possibility of modified firmware on the usb stick being a vector of attack 2015-01-16 09:04:12 was thinking of using one of these http://kanguru.com/storage-accessories/kanguru-flashtrust-secure-firmware.shtml 2015-01-16 09:04:35 i seem to remember an article some time ago about a lot of usb sticks being able to have the firmware modified 2015-01-16 09:05:08 but i guess "all bets are off" if you have physical access to the machine. 2015-01-16 09:05:35 bad usb 2015-01-16 09:05:44 this is what i used for /etc/ppp/peers/telenor in norway: http://sprunge.us/MEVb 2015-01-16 09:05:44 yeah that http://arstechnica.com/security/2014/07/this-thumbdrive-hacks-computers-badusb-exploit-makes-devices-turn-evil/ 2015-01-16 09:05:50 affects one biiig usb manufacteur iirc 2015-01-16 09:06:17 also affects the usb controllers in your mobo 2015-01-16 09:06:19 so 2015-01-16 09:06:24 tough luck 2015-01-16 09:06:45 yeah im thinking of using a fit-PC4 for my new router 2015-01-16 09:06:58 has nice shiny intel ethernet cards 2015-01-16 09:07:40 ncopa: got the /etc/network/interfaces files there to go with that? 2015-01-16 09:08:07 paper_face: the relevant part: http://pastie.org/9834856 2015-01-16 09:08:24 i am not sure that 'pre-up ip link set dev eth0 up' is needed 2015-01-16 09:08:29 yep then the other one i shall make a static address 2015-01-16 09:08:33 telenor is the name of the isp 2015-01-16 09:08:39 figured 2015-01-16 09:09:20 is there any busybox shred alternative? 2015-01-16 09:09:27 or gnu shred 2015-01-16 09:09:30 for busybox 2015-01-16 09:09:39 for busybox i dont know 2015-01-16 09:10:14 paper_face: could you please write a http://wiki.alpinelinux.org/wiki/PPP article? 2015-01-16 09:10:24 yes that is the intention 2015-01-16 09:10:44 im going to add a bit that allows for a DHCP server too 2015-01-16 09:10:50 any specific recommendation on dhcp server 2015-01-16 09:11:17 i have always used ISC dhcp 2015-01-16 09:11:25 there is also dnsmasq 2015-01-16 09:11:27 yeah i was thinking of using that 2015-01-16 09:11:52 dnsmasq is nice for small installs 2015-01-16 09:12:31 but i normally want a full dns resolver, like unboud 2015-01-16 09:12:37 unbound 2015-01-16 09:12:39 yeah 2015-01-16 09:13:08 which kind of makes the dns part or dnsmasq useless 2015-01-16 09:21:37 i should be able to do this with two usb sticks 2015-01-16 09:21:48 one that boots alpine linux (read only) and one for the lbu to be stored 2015-01-16 09:22:13 the second one i will obviously want to mount via uuid though 2015-01-16 09:22:18 ie in fstab 2015-01-16 09:41:51 this may seem like a stupid question, but if i am running alpine linux from a usb stick 2015-01-16 09:41:56 and i have an additional usb stick 2015-01-16 09:42:43 i am guessing i want to run setup-disk and select "data" 2015-01-16 09:42:48 and can i store my lbu on there? 2015-01-16 09:45:52 ie /var/lbu 2015-01-16 09:46:32 why not put it on the first, boot stick? 2015-01-16 09:46:49 oh i guess i could do that. 2015-01-16 09:46:50 i'm not sure i'd recommend putting /var on a secondary usb stick 2015-01-16 09:46:58 i suppose 2015-01-16 09:47:10 i was just doing it as a test 2015-01-16 09:47:19 but i guess when i get the fitpc4 it will have a single sata disk in it 2015-01-16 09:47:26 so using one usb stick is probably more realistic 2015-01-16 09:47:39 when i come to doing it on the fitpc it will be a sata disk instead 2015-01-16 09:47:48 i dont think it will find the apkovl.tar.gz on /var/lbu/* 2015-01-16 09:48:03 where does it look for it by default? 2015-01-16 09:48:05 might be it will be found if you put it directly on /var 2015-01-16 09:48:25 (assuming i used one stick) 2015-01-16 09:48:39 i looked at http://wiki.alpinelinux.org/wiki/Alpine_local_backup it didn't really mention 2015-01-16 09:49:02 or is /etc/lbu wheere it is supposed to be 2015-01-16 09:49:51 oh i guess /media/usb 2015-01-16 09:49:55 is probably where it looks for it 2015-01-16 09:50:39 mm that would be read only though 2015-01-16 09:51:59 i think with alpine v3.1 it will try mount everything blkid finds 2015-01-16 09:52:06 my bad, i didn't uncommot the LBU_BACKUPDIR in lbu.conf 2015-01-16 09:52:26 which by default looks like it puts in /root/config-backups 2015-01-16 09:52:41 and it will look for $mnt/*.apkovl.tar.gz 2015-01-16 09:53:02 putting things in /root/confnig-backups sounds not like a good solution to me:) 2015-01-16 09:53:07 i think default is empty 2015-01-16 09:53:29 oh 2015-01-16 09:54:34 maybe i just wanted to uncomment that LBU_MEDIA="usb" 2015-01-16 10:50:39 hmm 2015-01-16 10:50:44 i followed this http://wiki.alpinelinux.org/wiki/Configure_Networking#Example:_Dual-Stack_Configuration 2015-01-16 10:50:55 i wonder why my interfaces aren't being brought up with a static ip set 2015-01-16 10:51:43 oh there we go :) forgot to start networking 2015-01-16 11:43:46 is it possible to use aes 256 on rsa key generated by ssh-keygen? 2015-01-16 11:54:03 paper_face: some thing like "ssh-keygen -t rsa -E aes256-cbc " ? 2015-01-16 11:54:43 i t ried that but there's no such option 2015-01-16 11:59:27 someone proposed it here xen_roger http://www.gossamer-threads.com/lists/openssh/bugs/45093 2015-01-16 11:59:44 did it ever happen? 2015-01-16 12:00:57 do you have to encrypt them manually with openssl? 2015-01-16 12:08:23 hmm, how do i prevent sshd on alpinelinux from generating keys ie -A on boot 2015-01-16 12:08:32 commenting out HostKeys didn't seemt o do the trick 2015-01-16 12:09:24 add -A to SSHD_OPTS in /etc/conf.d/sshd 2015-01-16 12:09:31 ah 2015-01-16 12:09:41 because i only want it to use my ssh key :) 2015-01-16 12:10:05 hum 2015-01-16 12:10:42 it looks like it will run gen_keys anyways 2015-01-16 12:11:18 oh. 2015-01-16 12:11:25 but why do i need all those keys to be generated 2015-01-16 12:11:36 i just want to put my rsa key in /etc/ssh 2015-01-16 12:11:57 [22:39:23] add -A to SSHD_OPTS in /etc/conf.d/sshd 2015-01-16 12:12:02 and wouldn't that do the reverse 2015-01-16 12:12:07 ie run sshd with -A 2015-01-16 12:12:13 yes it would 2015-01-16 12:12:18 hum 2015-01-16 12:12:18 ok 2015-01-16 12:12:24 i want to do the opposite :P 2015-01-16 12:12:43 i think we need to add a config option for that 2015-01-16 12:13:01 something like DISABLE_KEYGEN=1 in /etc/conf.d/sshd or similar 2015-01-16 12:13:07 yes. 2015-01-16 12:13:48 paper_face: could you please file a bug on bugs.alpinelinux.org and i'll have a look at it 2015-01-16 12:14:05 set target version to 3.1.2 2015-01-16 12:14:14 or i will forget it 2015-01-16 12:14:17 okay will do 2015-01-16 12:14:50 hum 2015-01-16 12:15:04 other option would be to configure what keys we want it to autogenerate 2015-01-16 12:15:23 gen_keys() { 2015-01-16 12:15:23 if egrep -q '^[[:space:]]*Protocol[[:space:]]+.*1' "${SSHD_CONFDIR}"/sshd_config ; then 2015-01-16 12:15:23 gen_key rsa1 "" || return 1 2015-01-16 12:15:23 fi 2015-01-16 12:15:23 gen_key dsa && gen_key rsa && gen_key ecdsa && gen_key ed25519 2015-01-16 12:15:23 return $? 2015-01-16 12:15:25 } 2015-01-16 12:15:38 well that too 2015-01-16 12:20:12 i think the current init.d script is just a ripoff from gentoo 2015-01-16 12:21:43 also you shouldn't need your private keys in /etc/ssh 2015-01-16 12:21:51 that does not seem good at all 2015-01-16 12:22:00 i put my public key in there and it overwrote it 2015-01-16 12:22:06 because you can't stop it from generating them lol 2015-01-16 12:23:45 that's a good point though 2015-01-16 12:23:55 if someone did get root access they could just copy all the keys from /etc/ssh 2015-01-16 12:24:14 which could potentially give access to elsewhere 2015-01-16 12:24:25 also i dont usually make crappy dsa keys 2015-01-16 12:24:37 huh? how could it give access other places? 2015-01-16 12:24:46 well if u used the ssh key elsewhere 2015-01-16 12:25:01 and they aren't encrypted either :P 2015-01-16 12:25:16 i always use a passphrase 2015-01-16 12:25:23 i think thats what the gen key thingy is about 2015-01-16 12:25:29 in any case i dont see any reason a private key should ever be on a remote machine 2015-01-16 12:25:31 prevent reuse of same host key 2015-01-16 12:27:23 in any case when that bug (the generating keys -A) is fixed one can just dump their public key in /etc/ssh and wont have to have a private one there 2015-01-16 12:27:35 seems if the private one is missing sshd just generates a new pair for that algorithm 2015-01-16 12:28:22 ssh keys should be unique 2015-01-16 12:28:35 ssh host keys i mean 2015-01-16 12:29:45 the host key is only serving as an identification, to make sure that the server you try to connect to, really is that server 2015-01-16 12:30:09 the pub key of that keypair is stored in the clients known_hosts 2015-01-16 12:32:30 oh yeah my bad i confused them for authorized_keys 2015-01-16 14:38:55 news !! , got my landline broadband reconnected 2015-01-16 14:39:16 it got disconnected due to road contruction 2015-01-16 14:39:45 but still at 512kbps, but nice 2015-01-16 14:39:49 :-)) 2015-01-16 14:40:50 and unlimited !! 2015-01-16 15:11:39 vkrishn: congrats :) 2015-01-16 15:12:51 :-) thx 2015-01-16 15:15:33 should be setting couple of AL servers this week 2015-01-16 15:16:23 ncopa, any solution to booting and auto wifi 2015-01-16 15:16:35 or I just add a cron script 2015-01-16 15:30:40 wpa_supplicant? 2015-01-16 15:32:10 ok would check the docs 2015-01-16 15:34:10 I wifi'ed my simple ADSL router by connecting to TP-LINK-3020 2015-01-16 20:35:47 http://hastebin.com/fizidojiwe.avrasm 2015-01-16 20:35:58 honestly i think the lvm2 error messages need to be supprssed 2015-01-16 20:36:19 this is an excerpt from 100+ lines while i was changing mirrors 2015-01-16 20:36:33 this diag shit easily hides important messages 2015-01-16 20:39:18 6 lines per mirror add/removal 2015-01-16 20:40:14 lvm2 ? 2015-01-16 20:40:18 as in volume manager? 2015-01-16 20:42:37 ye 2015-01-16 20:43:04 it tries to lock memory for critical operations but that throws an error "per default" 2015-01-16 20:43:47 so far i'd been ignoring it but it's risky if you have something that is safe to ignore only in light usage 2015-01-16 20:44:24 noone really knows why the error is coming, the suggestiong was it would be low memory conditions, but that's not true 2015-01-16 20:44:30 you even get it with 64GB of ram 2015-01-16 20:44:48 it's how they do the lock that is problem 2015-01-16 20:55:31 oh.. that sucks 2015-01-16 20:57:25 hi 2015-01-16 20:57:33 KozakMAN, hello 2015-01-16 20:58:37 clean install alpine 3.1.1 + asterisk 2015-01-16 20:58:56 con't load chan_pjsip.so 2015-01-16 20:59:01 symbol not found 2015-01-16 20:59:55 error relocating 2015-01-16 21:01:06 what can i do to load module ? 2015-01-16 21:25:19 i don't know sorry 2015-01-16 21:30:03 I am running into an issue with trying to compile 2015-01-16 21:30:21 tor but ./configure can't find libevent 2015-01-16 21:30:39 even though it's in /usr/lib/ 2015-01-16 21:35:07 systmkor: i'm interested in compiling tor 2015-01-16 21:35:31 ScrumpyJack, well help would be wonderful :) 2015-01-16 21:35:45 are you building a package? 2015-01-16 21:35:51 yah 2015-01-16 21:35:55 or compiling manually 2015-01-16 21:36:03 compiling manually then package 2015-01-16 21:36:15 can i have your APKBUILD file? 2015-01-16 21:36:35 I didn't make one yet because I wanted to make sure just running ./configure then ./make worked 2015-01-16 21:36:42 it's stuck on the ./configure portion 2015-01-16 21:36:49 ok 2015-01-16 21:36:56 because it can't find /usr/lib/libevent 2015-01-16 21:37:01 even though its there 2015-01-16 21:37:45 where's your source for tor? 2015-01-16 21:38:11 https://dist.torproject.org/ 2015-01-16 21:39:37 i am trying to compile 2015-01-16 21:39:50 2.6.2? 2015-01-16 21:40:23 tor-0.2.5.10.tar.gz 2015-01-16 21:40:33 i believe that's most recent stable 2015-01-16 21:40:37 2.5.10 2015-01-16 21:48:21 you probably want libevent-dev 2015-01-16 21:48:34 i sware i searched for that and didn't see it ugghh 2015-01-16 21:48:48 fuck me... 2015-01-16 21:48:50 lol my bad 2015-01-16 21:48:57 :) 2015-01-16 21:49:13 there is a libeventlog-dev too 2015-01-16 21:50:15 BitL0G1c, ScrumpyJack did either of you get a chance to check out gitian 2015-01-16 21:50:40 i sent the email twice the mailing list 2015-01-16 21:56:09 not yet for gitian. it's not the sort of thing i get involved with in Apline Linux. It's ncopa you need to convince. (i'm just a user) Shame noone took you up on the discussion on the mailing list. 2015-01-16 21:56:40 tor compiling with openssl-dev and libevent-dev as deps 2015-01-16 21:56:41 ScrumpyJack, just curious on peoples opinions 2015-01-16 22:02:38 make succeeded for tor with libevent-dev and openssl-dev 2015-01-16 22:02:42 can you try? 2015-01-16 22:04:39 yah one sec 2015-01-16 22:04:44 sorry talking to co-worker 2015-01-16 22:05:53 what's your timezone? 2015-01-16 22:08:24 UTC -8:00 2015-01-16 22:09:02 West coast continental U.S.A 2015-01-16 22:10:28 im UTC, so time for bed :) 2015-01-16 22:10:29 ScrumpyJack, it appears to have compiled for me 2015-01-16 22:10:51 cool 2015-01-16 22:10:58 ScrumpyJack, Alpine needs more users not in the European area 2015-01-16 22:11:23 ScrumpyJack, I'm also planning on making proxychains a package as well 2015-01-16 22:11:31 i have some web scraping to do :D 2015-01-16 22:11:54 web scraping? what's that? 2015-01-16 22:13:26 :P 2015-01-16 22:13:35 grabing data from websites in an automated fashion 2015-01-16 22:13:52 ScrumpyJack, http://scrapy.org/ 2015-01-16 22:15:05 ah. that's what curl is for :) 2015-01-16 22:15:52 ScrumpyJack, ehhhhh 2015-01-16 22:16:00 when you need to do more complicated things then no 2015-01-16 22:16:06 but curl is a good simple start 2015-01-16 22:21:39 systmkor: can you submit your tor and proxychains packages? 2015-01-16 22:24:32 ScrumpyJack, will be doing that within the hour :D 2015-01-16 22:24:53 ScrumpyJack, does anyone have a script to get an lxc container up and running 2015-01-16 22:24:58 with alpine-sdk 2015-01-16 22:25:04 and nothing else 2015-01-16 22:25:14 and compiles the package to make sure no missing dependencies? 2015-01-16 22:26:57 systmkor: you need to figure out the make dependancies yourself - usually in the INSTALL or README in the source :). abuild will figure out the runtime dependancies for you 2015-01-16 22:29:38 i don't have a script for an alpine linux build container. there's not much to it apart from getting edge, apk add alpine-sdk and setting up git 2015-01-16 22:30:02 http://wiki.alpinelinux.org/wiki/Setting_up_the_build_environment_on_HDD 2015-01-16 22:31:23 i guess you could use docker for that - but i find it quicker in a shell 2015-01-16 22:33:18 ScrumpyJack, yah I can figure it out 2015-01-16 22:33:23 but I meant to validate 2015-01-16 22:35:46 what do you mean by validate? 2015-01-16 22:36:02 because for example 2015-01-16 22:36:23 I may have installed a dependency for a package I am working on months ago 2015-01-16 22:36:29 I use lxc containers as my build environment - works very well - one for 32 bit one for 64 bit 2015-01-16 22:36:35 and during the build I specify all the dependencies I think it needs 2015-01-16 22:36:43 but forgot one which was already installed, months ago 2015-01-16 22:36:47 it builds correctly 2015-01-16 22:36:54 but when I push the APKBUILD file 2015-01-16 22:37:05 someone else on a new system could be missing the dependency 2015-01-16 22:37:25 BitL0G1c, I just started messing with that yesterday 2015-01-16 22:37:34 abuild detects the dependencies from the binary 2015-01-16 22:37:57 and auto inserts them into the APKBUILD? 2015-01-16 22:38:03 check /etc/apk/world. it has the packages you added manually (without deps). remove anything suspicious 2015-01-16 22:38:17 (that is built) - inserts them into the control file in the package 2015-01-16 22:38:19 BitL0G1c, also abuild does fail sometimes 2015-01-16 22:38:34 for example scrapy was missing dependencies 2015-01-16 22:38:40 no 2015-01-16 22:38:41 for running the cli portion of the program 2015-01-16 22:38:51 scrapy even though it can be imported in python 2015-01-16 22:39:00 the only dependencies to be put in the APKBUILD are for the compile 2015-01-16 22:39:02 so I updated that in the APKBUILD 2015-01-16 22:39:25 you only need the xxx-dev packages in APKBUILD 2015-01-16 22:39:44 for most C programs yah 2015-01-16 22:39:51 abuild works out the run time dependencies 2015-01-16 22:39:58 but there are python modules that use 2015-01-16 22:40:08 things outside of that 2015-01-16 22:40:14 outside of a dev package 2015-01-16 22:40:26 yes python is a little different 2015-01-16 22:40:39 BitL0G1c, graunted I am new to abuild so I am not trying to claim better knowledge on it 2015-01-16 22:40:43 just what I experienced 2015-01-16 22:41:20 I had to add a few extra things to get virtualbricks to build & run 2015-01-16 22:44:21 (virtualbricks is a python app) 2015-01-16 22:44:35 ah 2015-01-16 22:46:21 what BitL0G1c said. not all runtime deps get picked up by abuild. i've not really looked at abuild nor do i want to. it works fine if you know what your package needs to run :) 2015-01-16 22:46:38 ScrumpyJack, got it 2015-01-16 22:46:52 idk how i like a tool automajically detecting dependencies in the background 2015-01-16 22:47:09 without notifying me as someone who is trying to make the package 2015-01-16 22:47:32 or not just automatically puting it in the APKBUILD 2015-01-16 22:47:40 to review 2015-01-16 22:49:38 you should also test the pkg runs after it's built 2015-01-16 22:49:49 BitL0G1c, is this on the wiki? 2015-01-16 22:50:13 not sure - it just from experience 2015-01-16 22:50:15 BitL0G1c, I do test the package after it is built 2015-01-16 22:50:41 i wish though that projects provided automated tests for a package 2015-01-16 22:50:49 and unit-tests 2015-01-16 22:51:20 in a non-unique way 2015-01-16 22:53:15 okay going to go write proxychains & tor packages 2015-01-16 22:53:18 be back shortly 2015-01-16 22:59:41 automatically test packages? that's interesting. can you elaborate? we pay tester vasts amounts of money here. I'm listening :) 2015-01-16 23:00:22 ooo. that's testerS, with an S 2015-01-16 23:01:02 ScrumpyJack, well so for example are you familiar with unit-tests? 2015-01-16 23:02:35 ScrumpyJack, Alpine has a budget? 2015-01-16 23:05:16 what do you know tor is already in testing, man I am on the idiot train today 2015-01-16 23:06:39 systmkor: no i didnt mean testing in Apline, i meant testing at wok 2015-01-16 23:07:49 and yes, tor is in testing :) doesnt hurt to learn though :) 2015-01-16 23:08:12 s/wok/work 2015-01-16 23:08:13 yup yup :P 2015-01-16 23:08:22 though proxychains isn't 2015-01-16 23:08:24 so will add that 2015-01-16 23:08:35 ScrumpyJack, does Alpine have any "hackathons" 2015-01-16 23:08:43 like a weekend of just developing for Alpine 2015-01-16 23:09:39 not that i know of, but "what i don't know, you could fit into the Hollywood bowl" 2015-01-16 23:10:43 :P 2015-01-16 23:15:21 Im just a happy camper. if you want to know more, you need ncopa: barthalion: clandmeter: fabian_a: etc 2015-01-16 23:22:39 okay cool thanks 2015-01-17 01:28:24 anyone using cacti on musl? 2015-01-17 01:31:18 cacti the monitoring tool? 2015-01-17 01:31:51 Mp5shooter, it is a mainline package 2015-01-17 01:31:58 yes 2015-01-17 01:32:04 says it can't connect to mysql for me 2015-01-17 01:32:21 it's very weird 2015-01-17 01:32:31 i've never used or installed it before so I won't be too much help 2015-01-17 01:32:43 and I assume your MySQL server is up 2015-01-17 01:32:52 and conenectable with the mysql cli client? 2015-01-17 01:32:59 yep 2015-01-17 01:33:05 all settings are correct 2015-01-17 01:33:30 is there any C compilation ? 2015-01-17 01:33:41 meaning for Cacti to be built? 2015-01-17 01:34:43 um 2015-01-17 01:35:13 just looked at port there isn't 2015-01-17 01:35:41 no it's all php files 2015-01-17 01:36:30 can you connect to mysql from a php-myadmin 2015-01-17 01:36:32 style thing 2015-01-17 01:36:40 so a different php mysql web app? 2015-01-17 01:36:56 yes i can connect from adminer 2015-01-17 01:37:10 hrmmm 2015-01-17 01:37:19 i don't know 2015-01-17 01:37:21 sorry 2015-01-17 01:38:11 yeah it's weird :/ 2015-01-17 01:38:28 have you tried a manually installed version of cacti 2015-01-17 01:38:41 meaning like a seperate root htmldocs directory 2015-01-17 01:38:49 no 2015-01-17 01:40:21 usually when something like this happens to me it's a missing package or something 2015-01-17 01:40:30 but nothing is missing this time around 2015-01-17 01:40:31 :P 2015-01-17 02:26:35 thaaat sucks 2015-01-17 02:26:42 yeah 2015-01-17 03:01:18 gully_foyle, lil-bitch, and rapeclown seem to be throwing a masterbatorial lemon party :P 2015-01-17 03:02:51 sorry 2015-01-17 03:03:00 I kept getting banned on other channels 2015-01-17 03:03:25 I'm banned for good on the ubuntu channel now 2015-01-17 03:03:38 oh well time for slackware 2015-01-17 03:06:55 bah 2015-01-17 03:06:57 systmkor 2015-01-17 03:06:59 I found the issue 2015-01-17 03:07:11 I changed database type from mysql to mysqli on a whim 2015-01-17 03:07:16 and it made cacti work! 2015-01-17 03:07:21 idk why normal mysql isn't working 2015-01-17 03:09:02 gully_foyle, was just toying with your nick's just funny that's all 2015-01-17 03:09:11 oh 2015-01-17 03:09:16 alright 2015-01-17 03:09:25 Mp5shooter, awesome 2015-01-17 03:09:41 yeah 2015-01-17 03:09:41 :D 2015-01-17 03:10:47 yeah 2015-01-17 03:11:00 after i installed php-mysqli package adminer worked before 2015-01-17 03:11:07 but i didn't think of that with cacti 2015-01-17 03:11:11 maybe something's wrong with php-mysql 2015-01-17 03:13:18 good question 2015-01-17 03:13:26 document document document :P 2015-01-17 03:14:24 :P 2015-01-17 03:14:34 net-snmp-tools should be another dependency for cacti package too 2015-01-17 03:14:37 since it includes snmpwalk 2015-01-17 03:14:43 and cacti needs that 2015-01-17 03:14:43 :P 2015-01-17 03:47:17 Mp5shooter, email the mailing list 2015-01-17 03:47:35 and cc the maintainer of cacti package 2015-01-17 04:23:13 hello all, a bit confused in getting UTF-8 to work properly, specifically for drawing characters on screen 2015-01-17 04:25:24 well, for reference, looks like export NCURSES_NO_UTF8_ACS=1 did the trick 2015-01-17 05:14:37 what terminal/app were affected? 2015-01-17 06:17:18 when setting up dhcpcd on alpine linux, how do you specify the listen interface 2015-01-17 06:17:48 in ubuntu you do this in /etc/default/isc-dhcp-server 2015-01-17 06:18:09 eg INTERFACES="eth0" 2015-01-17 06:18:53 this is distribution specific isn't it? 2015-01-17 06:19:37 as it looks like systemd based distributions have their own way of doing it ie https://wiki.archlinux.org/index.php/Dhcpd#Listening_on_only_one_interface 2015-01-17 06:24:02 ah probably what i want is In /etc/conf.d/dhcpd set IFACE to "eth0". 2015-01-17 06:24:22 keep forgetting that it uses openrc like gentoo 2015-01-17 10:07:45 ncopa: would i see ppp0 in ip addr? 2015-01-17 10:07:53 or only when a ppp connection is established 2015-01-17 10:08:11 i dont even think the interface exists. 2015-01-17 10:08:29 despite having http://pastie.org/9834856 2015-01-17 11:08:59 midnight commander wasn't showing properly 2015-01-17 12:20:44 Any gotchas before I install Alpine on my Raspberry Pi? I want to run Owncloud primarily 2015-01-17 12:35:46 SSH does not seem to work OOB? 2015-01-17 12:41:48 that's a bold claim 2015-01-17 12:41:54 ssh is enabled with setup-alpine. not before that 2015-01-17 12:57:20 :) 2015-01-17 13:36:00 ncopa: u there 2015-01-17 13:47:57 hello 2015-01-17 13:48:05 I have a feature request, something simple I believe 2015-01-17 13:48:34 would it be possible to add the Colemak keyboard layout to setup-alpine?? :D 2015-01-17 15:20:08 can you edit your apkovl.tar.gz file on another distribution 2015-01-17 15:23:27 me? 2015-01-17 15:26:05 i need a newer kernel, how do i go about tis 2015-01-17 15:31:53 where is loadkeys? 2015-01-17 15:31:54 :/ 2015-01-17 15:33:35 anyone here using cacti on alpine? have you had an issue with the rrd files not being generated when the poller is run by cron? 2015-01-17 15:54:56 hey all, Alpine linux noobie here, I'm a long time Arch user, and linux-audio developer. 2015-01-17 15:55:25 I'm looking into a small run-from-RAM distro, and hope to compile a -rt (realtime) kernel for low-latency audio processing. 2015-01-17 15:55:51 Is anybody here or on the forums already doing this? If so, please ping me 2015-01-17 16:07:00 so Im running setup-alpine and I want to put /var on a separate USB harddrive, but the installer warns me that it will wipe the hdd. Any way around wiping it? Cant I just put /var on its own partition? 2015-01-17 16:08:12 Phiphler: move data after install and add an fstab entry to mount stick to var on boot 2015-01-17 16:08:48 xen_roger: That will do it, thank you for your answer 2015-01-17 16:10:08 keep in mind to preserve owner and permission while moving data and delete content of var after moving... 2015-01-17 16:44:04 ncopa: is this the same for alpine-linux 2015-01-17 16:44:06 http://wiki.gentoo.org/wiki/Home_Router#ADSL_and_PPPoE 2015-01-17 16:44:21 maybe thats why pppd just hangs when it tries to make a ppp connection because ppp0 doesn't exist 2015-01-17 16:44:45 although i thought alpinelinux used /etc/network/interface instead of /etc/conf.d/net 2015-01-17 16:45:31 although it could be because of some other reason 2015-01-17 16:45:33 When the DSL interface comes up, it will create a "ppp0" entry to the output of ifconfig command. Although the NIC is called eth1, the IP address is actually bound to ppp0. From now on substitute 'eth1' with 'ppp0'. 2015-01-17 16:45:36 that that is not happening 2015-01-17 16:49:08 ppp0 is the "tunnel" device on eth1 so it is correct that there are both devices ... 2015-01-17 17:37:34 the tor init scripts seems broken to me as running the program from command line works fine but the init script dies poorly 2015-01-17 17:55:20 I think I found the culprit ;) 2015-01-17 18:14:13 script in not broken. Iwas using a privileged port and the script change user to an unprivileged one... 2015-01-17 19:56:47 ls 2015-01-17 19:57:58 $ 2015-01-17 20:01:28 Anyone know why the vmware package for x cant find the `fbCreateDefColormap` symbol? 2015-01-17 20:03:23 hey all is nvidia blob possible on here? 2015-01-17 20:04:24 ask on #musl; i believe there's been success using it with some hackery 2015-01-17 20:04:55 but is there a reason you don't just use the free driver? afaik it's better 2015-01-17 20:05:28 you talking about the nouveau 2015-01-17 20:06:07 No there is no reason other than using vdpau 2015-01-17 20:07:23 gentoo has a nice musl overlay 2015-01-17 20:12:25 how is that related? 2015-01-17 20:21:16 OMG the lemo is great 2015-01-17 20:21:44 oops wrong chan :D 2015-01-17 20:24:47 i'm installing alpine now is it mandatory to recompile kernel? 2015-01-17 20:25:35 no 2015-01-17 20:25:53 but you might want to install the vanilla kernel package instead of the grsec one 2015-01-17 20:26:12 the grsec one has some extreme hardening that breaks lots of programs 2015-01-17 20:28:18 is there a kernel that's not so old? 2015-01-17 20:29:21 how does alpine load modules like the gentoo way? 2015-01-17 20:29:39 very old.. 2015-01-17 20:30:29 sinetek, how old is it? 2015-01-17 20:30:40 3.1 is very old 2015-01-17 20:30:56 3.14 afaik 2015-01-17 20:31:02 my laptop needs 3.16+ 2015-01-17 20:31:03 :p 2015-01-17 20:31:25 3.14 yes 2015-01-17 20:32:19 so the grsec is not recommended for desktop usage which is the way I will be using it 2015-01-17 20:32:37 yeah i wouldn't recommend grsec for desktop 2015-01-17 20:32:41 iirc firefox breaks 2015-01-17 20:32:57 and any kind of process/resource monitors using info from /proc break 2015-01-17 20:32:58 I need firefox 2015-01-17 20:34:00 3.14 isn't that old 2015-01-17 20:34:07 i wouldn't really recommend alpine for desktop anyways 2015-01-17 20:34:24 why is that? 2015-01-17 20:34:30 desktop would need a lot bigger repos 2015-01-17 20:34:42 well 2015-01-17 20:34:55 well it's easy to make packages on here 2015-01-17 20:35:05 if you use alpine for a desktop, you'll probably find you need to build stuff that's not already packaged 2015-01-17 20:35:13 yeah 2015-01-17 20:35:47 otoh if you use some desktop-oriented dist like ubuntu, you'll find 50GB of crap installed, constant swapping, random wiping of your hdd from upgrades that change how your partititons are identified, ... 2015-01-17 20:38:36 where are modules loaded? 2015-01-17 20:39:24 modprobe? 2015-01-17 20:41:38 are the modules loaded in /etc/conf.d/modules...like gentoo 2015-01-17 21:09:50 Roosevelt, I believe so 2015-01-17 21:11:02 Roosevelt, OpenRC is the default for Alpine 2015-01-17 21:37:18 okay well see installing now 2015-01-17 21:56:18 what happen to mkfs.ext4? 2015-01-17 21:57:46 ? 2015-01-17 21:58:47 never mind apk add e2fsprogs didn't know one could install software on the cd 2015-01-17 22:13:12 Roosevelt, anything confusing document :D 2015-01-17 22:19:15 my only problem right now is after setting up my partitions with fstab I get a message you might need fix the MBR to be able to boot I used fdisk and marked my /boot(/dev/sda1) active 2015-01-17 22:19:41 after setup-alpine /mnt 2015-01-17 22:45:27 Roosevelt, i sorta remember that 2015-01-17 22:45:32 but not too well 2015-01-18 00:58:15 does anyone have experience on how to properly write an APKBUILD 2015-01-18 00:58:25 that should have $pkgname-doc 2015-01-18 00:58:29 as a sub-package 2015-01-18 00:58:52 looking in aports for existing packages that do that but so far it doesn't help 2015-01-18 01:05:30 systmkor: the "simple" example produces -doc: http://wiki.alpinelinux.org/wiki/APKBUILD_examples:Simple 2015-01-18 01:06:05 if you need more control over the generation of -doc subpackage, provide your own doc() function: http://wiki.alpinelinux.org/wiki/APKBUILD_examples:Special_Subpackages_Doc 2015-01-18 01:06:45 ahhh okay 2015-01-18 01:06:54 ovf, i have a feeling i'll have to provide my own doc function 2015-01-18 01:07:02 ovf, thank you 2015-01-18 01:16:11 ovf, saweet I think I got it to work 2015-01-18 01:44:00 Anyone know if there is a workaround for https://bugs.alpinelinux.org/issues/3691 ? 2015-01-18 01:49:43 hey is it okay for me to add some documentation to the wiki for the manual installation? 2015-01-18 02:05:47 Roosevelt, go for it :D 2015-01-18 02:06:07 also add commit summary message 2015-01-18 02:28:18 Roosevelt, let me know when you finish your edits 2015-01-18 02:28:21 i'll look over them 2015-01-18 02:31:57 okay no problem 2015-01-18 03:26:02 @systmkor I don't see the wiki edits?' 2015-01-18 03:27:06 Roosevelt, are you searching for this http://wiki.alpinelinux.org/w/index.php?title=Installation&action=history? 2015-01-18 03:28:10 also you have to make an account before editing if I remember correctly 2015-01-18 03:29:23 yeah that's it.. 2015-01-18 03:29:49 I want to add to the installation method it need tweaking for a manual install 2015-01-18 03:31:23 ah okay one sec 2015-01-18 03:31:30 which page was that specifically? 2015-01-18 03:32:38 http://wiki.alpinelinux.org/wiki/Setting_up_disks_manually 2015-01-18 03:33:21 so log in 2015-01-18 03:34:01 then at the top of the article next to the search box 2015-01-18 03:34:25 it should have several tabs: read, edit, view history, (down arrow) 2015-01-18 03:35:19 Roosevelt, any luck? 2015-01-18 03:36:12 I had problems signing up let me try again 2015-01-18 03:37:54 asking for the confirmation which I keep puting answering no to: are you a spammer? 2015-01-18 05:59:52 ncopa: one thing i did notice is that if ppp0 cannot be brought up the system doesn't continue to boot 2015-01-18 06:01:38 eg: 2015-01-18 06:01:39 auto ppp0 2015-01-18 06:01:39 iface ppp0 inet ppp 2015-01-18 06:01:39 pre-up ip link set dev eth0 up 2015-01-18 06:01:39 provider myISP 2015-01-18 06:01:39 post-down ip link set dev eth0 down 2015-01-18 06:02:04 btw modprobing pppoe fixed the messages i was seeing from pppd about the "kernel not supporting pppoe" 2015-01-18 06:02:23 and i made sure to add it to /etc/modules 2015-01-18 06:30:26 Roosevelt, any luck? 2015-01-18 07:22:23 Roosevelt, i take that as a no 2015-01-18 07:22:33 also checked to see any history difference and didn't see you have a post 2015-01-18 12:35:18 Hi. I'm trying to install redmine following the wiki but it breaks at the secret_token generation. 2015-01-18 12:35:32 I know nothing about ruby :( 2015-01-18 12:36:29 can you gist the full error? 2015-01-18 12:36:55 rake aborted! Could not find 'rack' (>= 0) among 34 total gem(s) 2015-01-18 12:37:38 did you run `bundle install` before trying rake? 2015-01-18 12:38:07 not. just a fresh LXC. then following the wiki 2015-01-18 12:38:18 and did you setup a `config/database.yml` ? 2015-01-18 12:38:32 http://wiki.alpinelinux.org/wiki/Redmine#Installing_Redmine_Since_2.1.2 2015-01-18 12:38:35 yes I did 2015-01-18 12:38:58 I just added sudo 2015-01-18 12:45:47 they are 9 files called rack around 2015-01-18 12:47:19 seems about right 2015-01-18 12:47:41 can you run rake -T ? 2015-01-18 12:53:25 ok 2015-01-18 12:53:43 same error 2015-01-18 12:57:51 same error for rake without any argument 2015-01-18 12:58:15 hmm 2015-01-18 15:21:04 @systmkor I'm having problems creating the acount 2015-01-18 15:42:33 Has anyone else experienced Xen domU hangs? 2015-01-18 15:42:45 I'm getting them very frequently, sometimes several times per day on some VMs 2015-01-18 15:42:52 Doesn't seem to matter which distro 2015-01-18 15:46:47 what hardware ? 2015-01-18 15:52:16 ahills: any logs ? 2015-01-18 15:52:50 Hardware is old, dual opterons on an ASUS motherboard 2015-01-18 15:54:20 xen_roger: the qemu-dm-[domU].log files are all empty, the xl-[domU].log files all just have two lines in them from when I run "xl destroy": 2015-01-18 15:54:50 waiting for domain to die, then domain has been destroyed 2015-01-18 15:55:09 dmesg isn't showing anything either 2015-01-18 15:56:26 another place I could look? 2015-01-18 15:58:34 ahills: did you limit dom0 memory? are there any failures in hardware in host? maybe mem-corruption ? 2015-01-18 15:59:06 ahills: don´t really have an idea... just guessing 2015-01-18 15:59:39 dom0 memory is limited to 256MB, I have ECC memory but I guess that doesn't mean it's not bad 2015-01-18 15:59:54 I ran memtest86+ a few weeks ago and didn't find a problem 2015-01-18 16:00:08 256MB ? 2015-01-18 16:00:11 no hardware failures that I can detect 2015-01-18 16:00:29 quite a bit to less... try at least 512MB 2015-01-18 16:00:36 hmm, alright, will do 2015-01-18 16:00:51 only using 94MB right now according to free -m 2015-01-18 16:01:10 had some problems in early days with xen and low mem on host ... 2015-01-18 16:01:18 alright, thanks 2015-01-18 16:01:35 report back if or not problem is solved by that 2015-01-18 16:01:44 possible qemu processes running out of memory you think? 2015-01-18 16:04:04 I darkly remember a rule for that but not 100% ... maybe I could find a note for thet 2015-01-18 16:04:13 /e/a/ 2015-01-18 16:36:35 xen_roger: upped the memory, now to wait for the next hang 2015-01-18 16:36:38 hopefully for my whole life 2015-01-18 16:36:51 I am with you ;) 2015-01-18 17:04:19 Is there any reason why I can't create account on wiki? 2015-01-18 19:41:33 ahills: domu(s) still up and running ? 2015-01-18 20:13:14 xen_roger1: so far, so good! 2015-01-18 20:41:20 When trying to connect to a smtp server I use: smtp.server.org:587/tls/user=user The login info is correct and works well in other clients. However in debug mode Alpine says that teh info is sent as PLAIN and that the format is wrong. The connection is then closed and I can't acces. What to do here? 2015-01-18 20:44:13 I forog tot mention - I use Alpine 2.10 2015-01-18 22:18:05 Roosevelt: I think there is a bug report for that. Can you add a comment to the bug report? that might get it looked at :) 2015-01-18 22:46:30 ahills: Yeaaahhhh ;) 2015-01-19 00:52:51 ScrumpyJack thanks 2015-01-19 18:48:02 In case somebody missed it https://blog.xenproject.org/2015/01/15/less-is-more-in-the-new-xen-project-4-5-release/ 2015-01-19 21:03:07 dalias, ahh ports anthing you want me to check out 2015-01-19 21:03:27 dalias, probably should of sent that message here instead of in the #musl chatroom 2015-01-19 21:03:28 my b 2015-01-20 01:47:55 dalias, all the suid/sgid files i could find using 'find' 2015-01-20 01:47:57 http://pastebin.com/bQx9S9PM 2015-01-21 20:18:35 hello 2015-01-21 20:48:54 evening 2015-01-21 21:43:33 are tor packages available in alpine? 2015-01-21 21:44:01 i was looking at ticket https://bugs.alpinelinux.org/issues/1068 but couldn't find the actual package 2015-01-21 21:45:11 ok, found it 2015-01-21 22:24:53 rhapsodhy, proxychains should be committed to /testing within 24 hours 2015-01-21 22:24:57 if you need that as well 2015-01-21 23:22:47 Hey guys, is there a way to downgrade a system when using sysmode? 2015-01-21 23:23:38 There seems to be a bug with 3.1.1 when booting with xen, i get a kernel panic on 2 machines, already opened a bug in the tracker 2015-01-22 00:03:30 idk off hand, however most of the users/devs are in Europe so I would recommend on sending an email to mailing list 2015-01-22 00:04:06 probably alpine-devel 2015-01-22 00:05:09 tze, hopefully that helps 2015-01-22 00:05:13 tze, good luck 2015-01-22 00:05:41 For now i just took an older version of the linux-grsec package from an older iso release. As far as i can see there is no mechanism built into apk, when old package is not in the cache. 2015-01-22 00:10:24 tze, well definitely send a mail to the devel 2015-01-22 00:10:36 maybe it's something that should eventually be offered 2015-01-22 00:10:37 idk 2015-01-22 08:17:54 ncopa: you about? was wondering if you had the time and enery to add LXC console support to tmux :) 2015-01-22 08:30:48 ScrumpyJack, what do you mean? 2015-01-22 08:41:27 systmkor: the ability to use tmux to attach to an LXC console 2015-01-22 08:41:41 aaah directly 2015-01-22 08:41:49 rather than just running a lxc-console inside tmux 2015-01-22 08:41:57 ScrumpyJack, that would be nice 2015-01-22 08:43:35 ScrumpyJack, hey so i'm looking into trying to remove all SUIDs & SGIDs from Alpine's base installed system 2015-01-22 08:43:49 ScrumpyJack, do you know any reference material? 2015-01-22 08:54:14 I'm not sure I know what you mean by reference material 2015-01-22 08:55:48 do you mean how to look for them? 2015-01-22 08:56:09 find / -user root -perm -4000 :0 2015-01-22 08:58:57 and while typing, you slip the mode to 0000 2015-01-22 09:05:12 ScrumpyJack you was also the one who needed NFS with 3.* ? 2015-01-22 09:08:31 crow: nope, not me 2015-01-22 09:24:11 ScrumpyJack: any ideas how to implement that? 2015-01-22 09:25:52 i think i recently changed the alpine template to include a /dev/console tty 2015-01-22 09:26:13 whcih means that you now can do: lxc-start -n $container 2015-01-22 09:26:25 and the login happens in current console 2015-01-22 09:26:53 so you could start a tmux server and start the container in a new tmux window 2015-01-22 09:26:55 should work 2015-01-22 09:27:06 i did something similar with xen 2015-01-22 09:27:12 but it does not work 100% perfect 2015-01-22 09:27:29 if i reboot the xen domu then will tmux lose the console 2015-01-22 09:27:50 i dont know if that happened in gnu screen 2015-01-22 09:58:44 noticing a behaviour will `less`, when I "less somefile.iso", on my knoppix less(444) I see the iso content 2015-01-22 09:58:59 but not on AL's pkg less 2015-01-22 10:00:50 does it require some default param ? 2015-01-22 10:07:52 ok may be this in bashrc 2015-01-22 10:07:53 # make less more friendly for non-text input files, see lesspipe(1) 2015-01-22 10:07:53 [ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)" 2015-01-22 10:12:48 hmm, did not figured it out yet 2015-01-22 10:49:34 ncopa: i use lxc-start -d option to background boots. 2015-01-22 10:50:46 ncopa: do you think we can have #3702 in the kernelconfig at some point? 2015-01-22 10:51:34 it will give performance penalty to fork(2) 2015-01-22 10:52:18 fork is already a performance penalty. no? 2015-01-22 10:52:27 i try to avoid forking if possible 2015-01-22 10:54:15 yes 2015-01-22 11:12:35 ncopa: you can pass cgroup_disable=memory to turn it off :) 2015-01-22 11:13:36 parhaps pass cgroup_disable=memory by default and let people remove it if the need it 2015-01-22 11:14:48 http://cateee.net/lkddb/web-lkddb/CGROUP_MEM_RES_CTLR.html 2015-01-22 11:15:57 do you mean MM_OWNER ? 2015-01-22 12:44:56 ScrumpyJack: I'd prefer to have the feature compiled in kernel, but disabled by default, so to enable you would need do cgroup_enable=memory 2015-01-22 12:45:11 iirc that only solves the memory usage penalty 2015-01-22 12:45:26 i dont know if it solves the fork penalty 2015-01-22 12:46:19 that said, i am not totally against enabling cgroup memory knob 2015-01-22 12:46:50 i just wonder what the price is 2015-01-22 12:47:00 and how to do it properly 2015-01-22 13:49:42 "i am not totally against enabling cgroup memory knob" without an (in)definite article in that sentance, you are calling me a knob! 2015-01-22 13:52:03 sorry :) 2015-01-22 13:52:31 knob: i meant *the* cgroup memory knob 2015-01-22 16:40:47 Hi, whats the right method to mount a nfs share in alpine LXC on alpine host at startup of the LXC ? 2015-01-22 16:45:15 I've got a rpcbind[5836]: segfault in ld-musl-x86_64.so.1[ and grsec is banning suid/sgid execs for 15 minutes 2015-01-22 17:38:46 hello, if i want to install custom software with alpine, do i need to follow all the steps here http://wiki.alpinelinux.org/wiki/Creating_an_Alpine_package ? is there a tool like dpkg-buildpackage for alpine? 2015-01-22 17:55:31 hello 2015-01-22 18:00:53 should i post this to the forum? 2015-01-23 08:37:27 ẗhats a bug 2015-01-23 08:37:33 segfault 2015-01-23 08:37:45 i have seen rpcbind segfault but have not been able to reproduce it 2015-01-23 08:37:50 I was thinking so 2015-01-23 08:38:12 i'd like to fix that properly 2015-01-23 08:38:20 it do it always when trying to mount nfsmount from LXC 2015-01-23 08:38:29 'AL container on AL host) 2015-01-23 08:38:39 from within the container? 2015-01-23 08:38:42 yes 2015-01-23 08:39:13 could you try set up an ubuntu vm and set up lxc there 2015-01-23 08:39:17 and see if it happens there too? 2015-01-23 08:39:32 also 2015-01-23 08:39:39 i am interested if it happens on vanilla kernel too 2015-01-23 08:39:39 currently the nfs server is debian and also, mountting the share from the AL host has strage behaviour 2015-01-23 08:40:00 i know for sure that idmap does not work 2015-01-23 08:40:11 but basic mount should work 2015-01-23 08:40:18 the uid/gid are 8+ digits and it is impossible to use the share 2015-01-23 08:40:56 I will work on that topic this afternoon and prepare a nice bug report 2015-01-23 08:41:00 do you think you could file a bug on bugs.a.o? 2015-01-23 08:41:00 thanks 2015-01-23 08:41:13 try include how to reproduce it 2015-01-23 08:41:25 for sure 2015-01-23 08:41:46 otherwise it's kind of useless 2015-01-23 08:41:51 ;) 2015-01-23 08:42:35 heh, its not that uncommon to get "somethign is broken" tickets :) 2015-01-23 08:43:04 which of course gets closed with "something was fixed" 2015-01-23 08:43:09 currently I'm scripting the deployment of a new SAN from plugging an AL usb key to working situation ;) 2015-01-23 12:26:11 ncopa: I plan http://wiki.alpinelinux.org/wiki/User_talk:Jch#NFS_bug_study Do you need more outputs? 2015-01-23 12:38:37 Jean-Scotch: no 2015-01-23 12:38:40 its more than enough 2015-01-23 12:38:47 i think you can drop the baremetal stuff too 2015-01-23 13:44:58 can I do a usb install and boot similar to cdrom, i.e "modloop-grsec" mount method ? 2015-01-23 15:13:33 ncopa: http://wiki.alpinelinux.org/wiki/User_talk:Jch#NFS-server_in_KVM-Alpine updated 2015-01-23 17:00:40 I mean http://wiki.alpinelinux.org/wiki/User_talk:Jch#NFS_bug_study updated 2015-01-24 05:14:55 ah, ok figured out the boot issue, found here http://wiki.alpinelinux.org/wiki/Create_a_Bootable_USB 2015-01-24 06:02:29 anyone tried to build rustlang on alpine yet? 2015-01-24 06:51:30 looks like fat32/vfat does not support uuid= boot param 2015-01-24 13:16:36 is buildlab readily available in stable or edge? 2015-01-26 12:30:40 ah, noticed "boot to wifi" internet connection happens on boot, but dies after couple of minutes 2015-01-26 13:04:13 vkrishn: no vacation, just busier with other things. 2015-01-26 13:04:41 ncopa: any luck on mpd? 2015-01-26 13:14:37 not yet 2015-01-26 13:14:44 but dont stop asking ::) 2015-01-26 14:03:27 anyone has some pointers on how to compile toybox with musl? 2015-01-26 14:04:00 karasz_: never tried 2015-01-26 15:28:37 bjrk 2015-01-26 16:11:48 Hello all 2015-01-26 16:12:19 Really interested by Alpine linux, hate selinux and like the idea of grsec 2015-01-26 16:12:48 Wondering if anyone has gotten ansible running and functional. Wiki shows it's borked. http://wiki.alpinelinux.org/wiki/Ansible 2015-01-26 17:05:01 arca_vorago: the last change of this wiki page was 7 August 2013 ... so if you give it a try (it's also on my todo list), and it works, someone could update the wiki :-) 2015-01-26 18:49:51 Apparently I'm dull, but I'm trying to create an account on the wiki and I keep being told that I've put in an "incorrect or missing confirmation code" which I assume is the "Are you a spammer?" question response. Any pointers? I've tried answering various forms of yes and no and "I am not a spammer" to no avail. Thanks! 2015-01-27 08:35:57 can't seem to boot alpine-mini-3.1.1-x86_64.iso on UEFI 2015-01-27 08:36:06 ncopa: is it supposed to work? 2015-01-27 08:37:45 i have never tested that 2015-01-27 08:37:58 so i'm not surprised it does not work 2015-01-27 08:38:08 all righty 2015-01-27 08:38:15 what does uefi need to boot iso? 2015-01-27 08:38:28 should probably have a look at it for v3.2 2015-01-27 08:38:51 https://wiki.archlinux.org/index.php/USB_flash_installation_media#BIOS_and_UEFI_Bootable_USB might be useful 2015-01-27 08:38:52 i were able to set up my laptop with uefi and dualboot win8 2015-01-27 08:39:09 nope, useless 2015-01-27 08:40:30 the reason we dont use isohybrid (so you can dd if=alpine.iso ...) is that we use fat 2015-01-27 08:40:31 looks like it takes a whole other partition :) 2015-01-27 08:40:38 and fat does not support resize 2015-01-27 08:40:49 oh wow I just assumed it used isohybrid 2015-01-27 08:41:10 we need be able to to store the config on boot media 2015-01-27 08:41:13 well this might explain that 2015-01-27 08:41:18 :) 2015-01-27 08:41:33 well that's... frustrating 2015-01-27 08:42:13 so there's a good chance that a UEFI bootable media could use FAT for any partition 2015-01-27 08:42:20 it actually relies on FAT for the system partition 2015-01-27 08:42:24 yes 2015-01-27 08:42:34 but that partition needs some magic marker 2015-01-27 08:42:40 we shoudl fix that 2015-01-27 08:42:48 will uefi boot a cdrom? 2015-01-27 08:42:57 i suppose not 2015-01-27 08:43:09 no idea 2015-01-27 08:46:59 i think not 2015-01-27 08:47:04 since uefi needs boot of fat 2015-01-27 08:47:09 and cdrom is iso9660 2015-01-27 09:15:24 well maybe with El Torino? 2015-01-27 09:15:44 so UEFI + El Torino? 2015-01-27 09:16:07 not saying it's a good idea :) 2015-01-27 10:34:23 got my rapoo X1800 keyboard, at $14 for wireless keyboard seems nice 2015-01-27 10:35:05 only issues are getting used to the slightly new layout but overall nice, key strokes good response 2015-01-27 10:35:59 only caution is to insert the connect wifi dongle on may computer and not to a hub that has other usbflash attached, as it disconnects the hub on insert 2015-01-27 10:36:26 dongle on computer* 2015-01-27 10:39:03 re: for isohybrid, ^^ 2015-01-27 10:39:39 would it be easy to have param for save_disk=/dev/sdb1 2015-01-27 10:40:26 that way if someone wants to do dd=<> to the iso file the would have to add the extra param at boot 2015-01-27 10:48:11 or we could at setup-alpine create another partition of the free unpartitioned space 2015-01-27 10:50:21 hmm, but I thought that was not possible on fat 2015-01-27 10:51:23 I mean since dd uses the whole disk 2015-01-27 11:01:44 even for partition will it not need the boot param or it would do auto search, or just increment the /dev/sda ? 2015-01-27 11:03:07 I had a auto search added to my knoppix setup a year back, code is not clean but works 2015-01-27 11:04:12 couple of days back I move the readonly sfs files to SD card and locked it ;) 2015-01-27 11:04:53 worse part is its very hard to get a good SD card reader that honors the lock 2015-01-27 11:06:19 can't complain for a 50c device 2015-01-27 11:22:25 I hope its known that any dvd/cd that is written with utf8 support like once done by K3B (by default) will not be readable on AL !! 2015-01-27 11:23:20 or maybe the version of K3b I am using is not ok :) 2015-01-27 11:45:28 gah coinbase has a stupid delay to buy bitcoins 2015-01-27 11:45:38 technology. 2015-01-27 13:08:40 what would be best experience, use alpine-xen as base for other guests or plain install with lxc/qemu guests? 2015-01-27 14:08:20 ncopa: stupid question maybe, but why is af_packet in /etc/modules? 2015-01-27 14:14:11 pcarrier: i don't remember 2015-01-27 14:23:21 foo:~# apk add man => libgcc libstdc++ groff gawk man 2015-01-27 14:23:24 seriously?!?! :D 2015-01-27 14:24:13 I'm gonna give http://mdocml.bsd.lv/ a try :) 2015-01-27 15:32:00 mdocml-man needs sqlite which is slightly unfortunate 2015-01-27 15:32:43 apk trigger is horribly slow when you have many -doc packages installed 2015-01-27 15:33:19 because mdocml does not have good support for syncing the db with the dir tree 2015-01-27 15:33:35 i think we might want use the openbsd man implementation like void linux does 2015-01-27 15:35:04 isn't that based on mdocml? 2015-01-27 15:35:23 I thought sqlite3 was optional 2015-01-27 15:36:45 i think not with latest mdocml release 2015-01-27 15:37:15 hu. that's bad. I thought it was meant to be the new thing(c) for openbsd 2015-01-27 15:42:10 hu, I'm having weird terminfo issues with alpine 2015-01-27 15:42:31 ok? 2015-01-27 15:42:44 eg without a git config, git grep shows a bunch of garbage 2015-01-27 15:42:59 does it go via busybox less? 2015-01-27 15:43:08 try apk add less 2015-01-27 15:43:09 I'm gonna guess so 2015-01-27 15:43:12 and see if that helps 2015-01-27 15:43:20 well I have a git config :) 2015-01-27 15:43:34 there was a patch to fix busybox less 2015-01-27 15:43:55 he he no systemtap 2015-01-27 15:44:01 but the submitter did the mistake to mention systemd - so the patch never made it in to busybox :) 2015-01-27 15:44:05 so what's the policy for main vs testing? 2015-01-27 15:44:28 lol ok 2015-01-27 15:44:59 http://lists.busybox.net/pipermail/busybox/2014-January/080353.html 2015-01-27 15:45:28 we use testing to verify that the builders build packages successfully 2015-01-27 15:45:46 there are a lot of packages there 2015-01-27 15:46:15 so we can test that the packages works when build from build servers 2015-01-27 15:46:16 yes 2015-01-27 15:46:24 becuase many are package requests 2015-01-27 15:46:30 the developer doesnt even use it 2015-01-27 15:46:33 but packages it 2015-01-27 15:46:39 then never hears anything about it 2015-01-27 15:46:48 so they just stay in testing? 2015-01-27 15:46:54 the idea was that they should be moved to main once tested 2015-01-27 15:46:56 yes 2015-01-27 15:47:07 we should autopurge stuff there i suppose 2015-01-27 15:47:10 just sent a patch for dfc :) 2015-01-27 15:47:27 should I subscribe to the ML, or are reply headers well maintained? 2015-01-27 15:50:57 re 2015-01-27 15:53:16 /etc/init.d/hwdrivers is... interesting. 2015-01-27 15:54:00 "# we run it twice so we detect all devices" <--- why would twice be reliably enough? 2015-01-27 15:56:17 i think that is no longer needed 2015-01-27 15:56:33 due to mdev.conf has support for MODALIAS 2015-01-27 15:57:00 earlier there was modalias for host controllers 2015-01-27 15:57:29 before the host controller driver module was loaded no devices attached to that controller was visible 2015-01-27 15:57:35 so we ran it twice 2015-01-27 15:58:00 /etc/local.d/README and /etc/sysctl.d/README feel like they belong in documentation 2015-01-27 15:58:15 example, if you had an usb disk, but the usb host driver was not loaded 2015-01-27 15:58:43 then wouldnt the modalias for the usb disk be visible til after the usb controller driver was loaded 2015-01-27 15:58:53 yeah, sure 2015-01-27 15:59:05 but then, there could be more than one layer 2015-01-27 16:00:28 right, and i think that was solved when mdev got MODALIAS support 2015-01-27 16:01:02 i haven't really put too much effort in cleaning that up because i have some ideas how to solve it with a netlink listener 2015-01-27 16:01:06 a'la udev 2015-01-27 16:01:39 something like this: http://git.r-36.net/nldev/ 2015-01-27 16:02:38 what i really want is bb mdev read modalias from stdin 2015-01-27 16:02:49 + a timeout 2015-01-27 16:03:23 so you could have mdev to read the modalias from stdin, line by line, and if nothing happens within 1 sec or so, then just exit 2015-01-27 16:04:04 ok gotta go 2015-01-27 16:04:06 see u 2015-01-27 16:04:17 tty, 2015-01-27 16:48:20 Hi. Is Alpine Linux affected by https://news.ycombinator.com/item?id=8953545 CVE-2015-0235 ? 2015-01-27 16:48:39 Seems to be glibc specific, so no problem with musl I guess? 2015-01-27 16:50:11 yeah unless someone copied their NSS code 2015-01-27 16:50:16 and i'd hope not 2015-01-27 16:50:41 Can we check? 2015-01-27 17:06:48 i don't got time, i'm getting ready to patch all that other linux shit 2015-01-27 17:07:02 but it seems it's end up with just the enterprise distros being affected? 2015-01-27 17:07:32 blame still to be put on the glibc author, if he didn't love his bugs there would be no need to run an old version 2015-01-27 17:07:39 the bugfix was said to be from 2013 2015-01-27 17:16:03 musl all the way :3 2015-01-27 20:33:42 where can i find the grsec options for the alpine kernel? 2015-01-27 20:38:45 is there nfnl_osf in alpine ? 2015-01-27 21:00:34 rowan|b613: Do you mean the kernel config? http://git.alpinelinux.org/cgit/aports/tree/main/linux-grsec/kernelconfig.x86#n5751 2015-01-27 21:06:46 jomat: yes that's exactly what i was looking for. thank you! 2015-01-27 21:08:03 np :-) 2015-01-27 21:08:20 Hi i am tryint to create correct coredump, but seems i am meesing something, as coredumpctl does not give me right informations, and i installed -debug packages for all involed applications http://sprunge.us/HiEU 2015-01-27 21:08:21 i was trying to use checksec.sh but it doesn't return any values for the kernel. 2015-01-28 06:56:31 hello! i'm picky and i hate everything. i just wanted to say i'm enjoying my first impressions of alpine linux. good work :) 2015-01-28 07:03:52 morning 2015-01-28 07:04:12 glad you like it 2015-01-28 07:19:25 nice to see a package manager which doesn't have a million options, too. it feels nice to use. i bet it's written in C, isn't it? 2015-01-28 07:19:41 ah yes, it doesn't link against a bazillion things 2015-01-28 07:20:01 kate, yes, http://git.alpinelinux.org/cgit/apk-tools 2015-01-28 07:20:24 things feel so much nicer when they're not a pile of scripts 2015-01-28 07:21:25 what, no dependency on apr or glib? K&R indentation? a reasonable comment-to-code ratio? goodness me 2015-01-28 07:22:26 C99, but i can understand that :) 2015-01-28 07:22:31 kate, it's not perfect. but gets the job in relatively decent manner :) 2015-01-28 07:23:24 IDB for signed types as bitfields, i think: http://git.alpinelinux.org/cgit/apk-tools/tree/src/dot.c#n21 2015-01-28 07:23:30 you should probably have those unsigned 2015-01-28 07:26:28 gccism here; arithmetic on void *: http://git.alpinelinux.org/cgit/apk-tools/tree/src/hash.c#n79 2015-01-28 07:26:37 serves you right for hiding it behind a typedef :) 2015-01-28 07:28:01 unchecked malloc (and possibly strdup?): http://git.alpinelinux.org/cgit/apk-tools/tree/src/blob.c#n24 2015-01-28 07:28:44 kate, yah its pretty much written in pure c 2015-01-28 07:29:24 no need to cast void *: http://git.alpinelinux.org/cgit/apk-tools/tree/src/del.c#n127 2015-01-28 07:30:47 kate, wanna do a code audit of it 2015-01-28 07:31:02 and create 100% unit test coverage? 2015-01-28 07:31:10 i would be down to join in 2015-01-28 07:31:59 no thank you :) 2015-01-28 07:32:04 kate, fuck... 2015-01-28 07:32:06 it's not bad 2015-01-28 07:32:07 owell 2015-01-28 07:32:27 it isn't but until you actually prove that, it's just at a glance looks goood 2015-01-28 07:32:45 you can't prove something is okay :) you can only disprove a hypothesis 2015-01-28 07:32:52 a good start would be to compile it with something other than gcc 2015-01-28 07:33:04 that would be a good start 2015-01-28 07:33:15 also having 100% unit test coverage is another good thing to do 2015-01-28 07:33:30 having a formal spec is also a critical part of validating code 2015-01-28 07:33:36 perhaps. i think unit tests can be a false economy 2015-01-28 07:33:54 .... 2015-01-28 07:34:10 just like debugging code, yup for sure :| 2015-01-28 07:34:11 :P 2015-01-28 07:34:21 kate, how so? 2015-01-28 07:35:39 systmkor, i don't have a concise explanation, sorry. maybe i'll try to write about it sometime. i've found a few different kinds of negative effect, and they seem to outweigh the positives, imo 2015-01-28 07:36:06 well in a general sense 2015-01-28 07:36:31 because code has been developed without unit testing for o what the past 60 years producing some of the crappiest of things to ever be produced by keyboards 2015-01-28 07:36:49 and unit-tests have finally started to have some semblance of verified code 2015-01-28 07:36:57 I'm by no means saying it is sufficient 2015-01-28 07:37:52 i've seen some spectacularly awful unit tested code, too. i don't think the presence of unit tests is the deciding factor; i think it's more to do with the mentality of the people developing it 2015-01-28 07:42:58 unit tests won't find you things like the items i just pointed out, for example 2015-01-28 07:44:45 again yah it isn't sufficient 2015-01-28 07:45:15 but unit testing starts to push coding community to make less excuses for producing good code 2015-01-28 07:45:31 i don't think so. i think it gives the illusion of that 2015-01-28 07:45:32 and I think becomes even more salient if their unit tests are terrible 2015-01-28 07:45:50 inately giving the illusion I would disagree 2015-01-28 07:45:55 i also think people become complacent, when they're under the impression that such tests will catch things 2015-01-28 07:46:01 can it create an illusion from a sub-group of the population 2015-01-28 07:46:02 yah 2015-01-28 07:46:19 so no different than before 2015-01-28 07:46:29 so i don't think it creates any new illusions 2015-01-28 07:46:42 but if you glance at a unit test and it just say 2015-01-28 07:46:45 return True 2015-01-28 07:46:55 *just says 2015-01-28 07:47:20 then it is very indicative that the people/person producing the code 2015-01-28 07:47:40 has little to no care about code quality or good design 2015-01-28 07:48:29 i can see that well enough from the code itself :) 2015-01-28 07:48:36 if you are going to spend the time to verify your code, and in a reproducable way not just putting in print flags and doing casual manual checks 2015-01-28 07:48:51 then you are effectively already doing unit testing 2015-01-28 07:49:00 kate, you can sorta see it from the code 2015-01-28 07:49:08 but until you have either formally proven that 2015-01-28 07:49:11 or actually tested it 2015-01-28 07:49:26 it just looks good from a higher view 2015-01-28 07:49:44 because even if the code is correct 2015-01-28 07:49:54 that assumes everything underneath it is correct as well 2015-01-28 07:50:40 not to mention not having any communal test bed for a projects developers and anyone who wants to package is 2015-01-28 07:50:53 *package it 2015-01-28 07:50:56 i didn't mean regarding correctness - i meant quite a few aspects, none of which unit tests can cover: decent design, simplicity, and good use of the language it's written in, for example 2015-01-28 07:51:16 agreed 2015-01-28 07:51:28 well sorta 2015-01-28 07:51:43 you can do unit tests of lexical/syntactic analysis of your code 2015-01-28 07:51:54 for general trends of good code quality 2015-01-28 07:52:23 I am so very confused 2015-01-28 07:52:26 foo:~$ sudo sysctl kernel.grsecurity.chroot_deny_chmod=0 2015-01-28 07:52:27 sysctl: error: 'kernel.grsecurity.chroot_deny_chmod=0' is an unknown key 2015-01-28 07:52:29 foo:~$ sudo sysctl -a|grep chmod 2015-01-28 07:52:31 kernel.grsecurity.chroot_deny_chmod = 1 2015-01-28 07:52:55 that sounds like sysctl is parsing "kernel.grsecurity.chroot_deny_chmod=0" as the key name 2015-01-28 07:52:59 yah 2015-01-28 07:53:06 i've had that problem before 2015-01-28 07:53:14 yes... 2015-01-28 07:53:47 well echo 0|sudo tee /proc/sys/kernel/grsecurity/chroot_deny_chmod works so moving on for now 2015-01-28 07:54:04 if it works :P 2015-01-28 07:55:00 pcarrier, https://imgur.com/TwLiMoh 2015-01-28 07:55:01 gnnn though. 2015-01-28 07:55:41 kate, not to mention unit tests (general notion of automated testing) at least provide some semblance of a central point 2015-01-28 07:55:41 I mean I have 2 options: get sh*t done or yakshave. 2015-01-28 07:55:57 people can check and validate and contribute to verify code 2015-01-28 07:55:58 given this is edge, I'll just get sh*t done 2015-01-28 07:56:04 nice 2015-01-28 07:56:33 kate, and not for end users/developers to produce their own tests which just is repeated work without really moving 2015-01-28 07:56:38 a code quality forward 2015-01-28 07:57:38 systmkor, i think regression tests would be more useful for that 2015-01-28 07:57:58 systmkor, particularly if you'd like a formal spec 2015-01-28 07:58:10 kate, those as far as I understand it tests more if the code is performing 2015-01-28 07:58:15 any worse or better than before 2015-01-28 07:58:18 which is important 2015-01-28 07:58:33 no, performance isn't usually what you'd test for 2015-01-28 07:58:41 is there a guide to go from a blank image to a bootable system? 2015-01-28 07:58:59 pcarrier, what do you mean by a blank image 2015-01-28 07:59:04 pcarrier, i just ran the install script and pressed enter a lot 2015-01-28 07:59:20 pcarrier, http://wiki.alpinelinux.org/wiki/Installation 2015-01-28 07:59:32 there is a starting point 2015-01-28 07:59:42 kate, then what would you be testing for 2015-01-28 07:59:47 let's say I have a live alpine sstem 2015-01-28 07:59:51 yup 2015-01-28 07:59:55 and I want to make a harddrive bootable :) 2015-01-28 08:00:10 or in my case a loop device 2015-01-28 08:00:21 you mean the HDD is in the system you are running? 2015-01-28 08:00:35 pcarrier, i believe it's in the installation structions 2015-01-28 08:00:35 well it's a 1GB file here 2015-01-28 08:01:00 and I'm partitioning myself and co 2015-01-28 08:01:07 this isn't for all cases but you need the boot partition to have the boot flag, and you need to have installed syslinux 2015-01-28 08:01:54 pcarrier, would this be closer to similar approach of what you are doing 2015-01-28 08:01:55 http://wiki.alpinelinux.org/wiki/Installing_Alpine_on_HDD_dualbooting 2015-01-28 08:02:58 LOL 2015-01-28 08:03:00 foo:/# rc-update add urandom boot 2015-01-28 08:03:01 Segmentation fault 2015-01-28 08:03:20 pcarrier, document and send email plz :D 2015-01-28 08:03:48 will do 2015-01-28 08:03:54 send email where? 2015-01-28 08:04:00 open a bug or? 2015-01-28 08:04:27 kate, also if you are writing unit tests to your spec as you should and modify code and it fails that's a form of regression testing 2015-01-28 08:04:31 pcarrier, http://alpinelinux.org/community/ 2015-01-28 08:04:34 devel mailing list 2015-01-28 08:04:40 pcarrier, I would also open a bug 2015-01-28 08:04:54 pcarrier, http://bugs.alpinelinux.org/projects/alpine/issues 2015-01-28 08:05:09 systmkor, then i would not call those unit tests 2015-01-28 08:05:16 but they would be 2015-01-28 08:05:21 you are testing a unit piece of a code 2015-01-28 08:05:37 and which goes from small mechanism in code 2015-01-28 08:05:46 bug it is 2015-01-28 08:05:55 to larger method calls or chunks with their own tests 2015-01-28 08:06:09 that's unit tests, or everywhere I have seen it 2015-01-28 08:06:52 systmkor, i'm sorry if this seems a little short, but i've had this conversation lots and lots of times. it always gets increasingly academic, and further detatched from what i think actually works in practice. if you want to have that theoretical discussion, go ahead - but that's not a topic for me :) 2015-01-28 08:07:16 we can keep it non theoretical 2015-01-28 08:07:19 i'm just saying 2015-01-28 08:07:26 :) 2015-01-28 08:08:18 if you consider regression tests test to be testing an older code base or last known working version and then the modified version of code 2015-01-28 08:08:29 and see what breaks or works regression testing 2015-01-28 08:08:36 you get that by virtue of running unit tests 2015-01-28 08:08:50 every time you make chunk of code change 2015-01-28 08:08:59 assuming your unit tests are existing there 2015-01-28 08:09:32 ncopa, sorry about the not propper email thread for one of the ports, my bad will fix within the next day or so 2015-01-28 08:10:01 apk has a "test" mode 2015-01-28 08:10:10 kate, whatever you want to call it unit tests, regression tests, my little pwny tests 2015-01-28 08:10:15 http://git.alpinelinux.org/cgit/apk-tools/tree/src/apk.c#n42 2015-01-28 08:10:27 which runs some kind of regression testing 2015-01-28 08:10:35 i'm just trying to say automated testing is necessary for showing code works 2015-01-28 08:10:48 ncopa, cool 2015-01-28 08:11:22 i wouldnt mind if someone with unit/regression testing experience improved it ;) 2015-01-28 08:11:36 ncopa, did you get a chance to read the ARM build email in the devel mailing list? 2015-01-28 08:12:13 ncopa, I may start trying to do that. I'm very slowly wanting to make my port of Nix and starting with something less complex would help me get a better understanding of package management 2015-01-28 08:13:24 the email about wandbord boot image? 2015-01-28 08:14:36 yah 2015-01-28 08:15:27 ncopa, I was hoping there could be disussion about it because I'm using Alpine for the start-up I co-founded and will be using Alpine on the arm boards we are using 2015-01-28 08:15:45 cool 2015-01-28 08:15:48 well 2015-01-28 08:15:54 and have been spending time researching ways of doing cross compiling 2015-01-28 08:16:00 automated building of distros 2015-01-28 08:16:08 i have very little experience of arm in general 2015-01-28 08:16:20 i got 2 wandbord boxes the last week 2015-01-28 08:16:26 nice 2015-01-28 08:16:28 and i have a rpi 2015-01-28 08:16:51 so i am supposed to have a look at that soonish 2015-01-28 08:17:01 systmkor, we tried cross-build and deemed it too much work 2015-01-28 08:17:10 so ended up using wandboards doing native builds 2015-01-28 08:17:26 ncopa, did you see those few comments i made from briefly looking at the apk code a moment ago? are you the right person to see them? 2015-01-28 08:17:41 fabled, well you have to cross compile at some point 2015-01-28 08:17:42 fabled is the right person for apk-tools 2015-01-28 08:17:51 without a fuck ton of work 2015-01-28 08:17:53 ah 2015-01-28 08:17:53 kate, i wrote most of the apk c code 2015-01-28 08:18:02 fabled, see above :) 2015-01-28 08:18:35 i suspect the best way to start a discussion or suggest things is with a git patch ;) 2015-01-28 08:18:42 systmkor, the problem is that most people don't know how to do proper configure, and build system for cross-compile 2015-01-28 08:18:46 so you end up fixing many of those 2015-01-28 08:18:56 fabled, yah i have been searching around 2015-01-28 08:19:09 and it just likes like going from one garbage heap to another 2015-01-28 08:19:16 :) 2015-01-28 08:19:25 but I'm trying to think how do we have a full stack automated build 2015-01-28 08:19:31 native or cross 2015-01-28 08:19:36 cross compile is non-trivial 2015-01-28 08:19:49 very much so 2015-01-28 08:20:15 I mean cross more just to at least get a base system working 2015-01-28 08:20:48 yes, porting to new platforms include cross-compiling the core 2015-01-28 08:20:58 and i did that for our armhf build 2015-01-28 08:21:12 well okay so pausing on different platforms at the moment 2015-01-28 08:21:26 is there any existing code, designs, or projects 2015-01-28 08:21:45 to automate doing a full build of Alpine with 2015-01-28 08:21:58 what i used earlier is at http://dev.alpinelinux.org/~tteras/bootstrap/ 2015-01-28 08:22:01 easily swapping out configs, what programs I want on that 2015-01-28 08:22:05 image 2015-01-28 08:22:17 and producing isos, and img, or u-boot img etc. 2015-01-28 08:22:47 making u-boot / img is tricky as it is in most cases board specific 2015-01-28 08:22:56 most arm boards have different boot sequence 2015-01-28 08:23:15 well yes for it to work specifically that board it needs customization 2015-01-28 08:23:24 but it should require an entirely new build process 2015-01-28 08:23:29 from top to bottom 2015-01-28 08:23:56 in a general algorithmic sense 2015-01-28 08:27:31 fabled, this is really new to me so I don't really even have a full picture of building a distro 2015-01-28 08:31:11 fabled, ncopa anything you recommend I should read, code or papers etc.? 2015-01-28 08:33:37 i recommend Johnathan Livingstone, Seagull. by Richard Bach. it's a pretty good book 2015-01-28 08:34:23 :) 2015-01-28 08:35:23 i have been waiting for: cross compiling - the movie 2015-01-28 08:36:02 lol 2015-01-28 08:36:08 *movie voice* ... in a world... where host and target... do not match... 2015-01-28 08:36:26 kate, looks like a good book, will put on to do list 2015-01-28 08:36:41 kate, but hoping for more related to automating the build of a distro 2015-01-28 08:36:53 it's a book about how now to have to-do lists 2015-01-28 08:36:58 how not* 2015-01-28 08:37:00 :) 2015-01-28 08:37:02 "LLVM - when single compiler can build to all targets" 2015-01-28 08:37:21 waiting for that to happen 2015-01-28 08:37:47 kate, :P to-do list is just my catch all term for communicating with other people 2015-01-28 08:38:11 on things I want to do 2015-01-28 08:41:05 is there a simple way to restore permissions for all packages with apk? 2015-01-28 08:41:17 pcarrier, "apk fix " 2015-01-28 08:41:27 oh, all 2015-01-28 08:41:44 full reinstall 2015-01-28 08:41:56 "apk fix -rd $(cat /etc/apk/world)" 2015-01-28 08:42:41 thanks 2015-01-28 08:42:59 and a way to show the post-install scripts for a package? 2015-01-28 08:44:02 mm... not sure if there's clear command for it. for installed packages you could do "tar tvf /lib/apk/db/scripts.tar" if poking internals is ok 2015-01-28 08:44:13 it's installed 2015-01-28 08:45:51 fabled, so anything I should checkout or look at? 2015-01-28 08:46:35 i don't have any recommendations. i've sucked my knowledge throughout the years from various sources 2015-01-28 08:46:52 if you want to go with cross-compile, then maybe buildroot is good starting point 2015-01-28 08:47:11 m'kay I've started looking at that and the yocto project 2015-01-28 08:47:28 will keep at that 2015-01-28 08:47:36 yocto might be good too 2015-01-28 08:47:46 i haven't looked into it in detail 2015-01-28 08:47:58 m'kay I was looking at it and there may be a decent amount of stuff we need to gut out 2015-01-28 08:48:06 but they do have a meta-musl 2015-01-28 08:48:10 but yes, if you need fast build times 2015-01-28 08:48:15 layer or whatever they call it 2015-01-28 08:48:18 cross compile is pretty much the only way to do it atm 2015-01-28 08:48:26 and it might need lot of effort for some packages 2015-01-28 08:48:41 well if I'm natively building 2015-01-28 08:48:55 is there a good reference for automating that process 2015-01-28 08:54:51 abuild? :) 2015-01-28 08:57:55 ncopa, well maybe full discussion later date 2015-01-28 08:58:07 but abuild can build the entire distro? 2015-01-28 08:58:14 from top to bottom 2015-01-28 08:58:49 ncopa, and then either produce an image or hooks in nicely for something to do that? 2015-01-28 09:00:38 wait wut 2015-01-28 09:01:04 ncopa, what I'm thinking is basically starting from a set of configurations that would through various steps 2015-01-28 09:01:27 compile, build, etc. to a final point 2015-01-28 09:01:30 or image 2015-01-28 09:02:55 basically a full automation of building Alpine from a set of configs to an ISO 2015-01-28 09:02:55 but thinking more modular and generically 2015-01-28 09:04:53 ncopa, I'm hoping I'm making at least some sense 2015-01-28 09:04:53 systmkor, sounds like you're after an equivalent of these, for Alpine: https://code.google.com/p/freebsd-wifi-build/wiki/GettingStarted 2015-01-28 09:06:03 kate, that would be near what I'm thinking 2015-01-28 09:06:15 really close but I don't know if exactly what I'm thinking 2015-01-28 09:06:19 kate, thanks :D 2015-01-28 09:06:24 well i need to head to bed ciao 2015-01-28 09:06:39 it's pretty simple 2015-01-28 09:07:24 it's just a shell script which is fed a few variables, stating which toolchain to use, where to build, and what to build 2015-01-28 16:20:07 tvvdhSL5hEBn: have you been using zfs on alpine? 2015-01-28 16:23:23 not recently no 2015-01-28 16:24:36 the licensing issue with libtirpc was kinda discouraging 2015-01-28 18:57:48 tvvdhSL5hEBn, clandmeter isn't there an open port of ZFS? 2015-01-28 18:58:17 also I don't know but is BTRFS being pushed to replace ZFS? 2015-01-28 19:14:09 the open port is zfsonlinux, and it is adapted to glibc, which comes with an internal rpc lib, while musl does not. the one musl brings cannot link per license to zfs which is cddl 2015-01-28 19:17:46 ah 2015-01-28 19:17:58 viva la btrfs ? :P 2015-01-28 19:20:46 can apk tell you which package a file came from? 2015-01-28 19:27:08 i don't know 2015-01-28 19:27:33 you may already know this but it can list the files installed by package 2015-01-28 19:27:56 so you could just iterate over all installed packages with that and take not which ones match 2015-01-28 19:28:19 that'll do 2015-01-28 19:34:32 kate, "apk info -W" 2015-01-28 19:36:45 oh great. thanks :) 2015-01-28 19:49:03 fabled, do you have any design docs for apk-tools? 2015-01-28 19:49:56 systmkor, i have some random notes. 2015-01-28 19:50:17 it sort of evolved from the original script set ncopa had for early versions of alpine 2015-01-28 19:50:36 k 2015-01-28 19:50:52 it's more of just high-level design 2015-01-28 19:51:01 is my interest at moment 2015-01-28 19:51:33 no 2015-01-28 19:51:40 that is, no such document 2015-01-28 19:51:55 we did discuss several aspects of it here 2015-01-28 19:52:10 but it was never collected as a doc 2015-01-28 19:52:13 back in the irc logs? 2015-01-28 19:52:20 i think it predates the logs 2015-01-28 19:52:24 ah 2015-01-28 19:52:35 well i'll start reading through the code and make notes and post questions 2015-01-28 19:52:41 sure 2015-01-28 19:52:48 and i guess reverse engineer the design :P 2015-01-28 19:52:51 :) 2015-01-28 19:53:01 well 2015-01-28 19:53:02 fabled, thanks :D 2015-01-28 19:53:09 the major parts in simplicity 2015-01-28 19:53:25 1) database is set of text files, and tar archive for scripts 2015-01-28 19:53:37 we wanted stuff that is editable by vi if needed 2015-01-28 19:53:43 or other standard tools 2015-01-28 19:54:09 and it needed to be one or just few files (vs. multiple files per pkg as in pretty much all other pkg managers) 2015-01-28 19:54:20 due to tmpfs doing allocs on page basis 2015-01-28 19:54:37 2) index, is basically simplified version of database 2015-01-28 19:55:15 3) package is concatenation of three tar.gz files 2015-01-28 19:55:31 in the order of 'signatures', 'meta data' and 'data files' 2015-01-28 19:56:01 (again we wanted stuff that is extractable with standard tools if needed, but still contains everything in a way that apk read/parse fast) 2015-01-28 19:56:15 okay cool, heading out to lunch be back shortly 2015-01-28 19:56:21 4) the solver - is basically a constraint solver 2015-01-28 19:56:39 and then the cli to tie it all in 2015-01-28 19:56:47 feel free to post questions 2015-01-28 19:56:50 i'll try to answer up 2015-01-28 19:56:53 now i'm of to sleep 2015-01-28 22:27:07 what was the last version of alpine which used uclibc? 2015-01-28 22:32:30 kate, 2.6? 2015-01-28 22:32:52 kate, are you wanting to compile and compare against MUSL? 2015-01-28 22:37:57 effectively, yes 2015-01-28 22:46:26 actually i'm porting something to as many different (hosted) libc families as i can realistically get my hands on. so other suggestions welcome, too :) 2015-01-28 23:29:37 kate: simplest way to compare alpine uclibc / alpine musl will be in 2 LXC containers 2015-01-28 23:31:38 oh, i'm not bothered about how to run them :) i do all my development in VMs, anyway 2015-01-28 23:39:37 interesting 2015-01-28 23:39:49 kate: 2.7 2015-01-28 23:39:58 kate: but alpine's branch of uclibc was extensively modified 2015-01-28 23:42:06 ah, thank you 2015-01-28 23:57:24 kate, what libcs are you compiling with 2015-01-28 23:57:38 dietlibc, uClibc, bionic, glibc, musl, ? 2015-01-28 23:58:50 kate, or plan9'ss libc 2015-01-28 23:59:55 for linux, currently just eglibc and glibc 2015-01-29 00:01:05 cool 2015-01-29 00:04:36 kate, have you tried using tcc in conjunction with eglibc? 2015-01-29 00:05:30 do you mean tinycc? 2015-01-29 00:05:44 the software i'm porting is itself a compiler 2015-01-29 00:08:04 tcc aka tinycc 2015-01-29 00:08:06 it doesn't matter which compiler is used to build it. the reason the libc matters is quite involved; briefly, this compiler needs to map its own representation of standard APIs onto the libc headers (which is something other compilers do not need to do). part of that means simply being able to parse the libc headers - which is a problem for many headers which have all sorts of gccisms 2015-01-29 00:08:20 i didn't know you were porting a compiler 2015-01-29 00:08:26 kate, what compier custom? 2015-01-29 00:08:40 the compiler used to build this isn't the compiler which is exposed to those headers - so it doesn't make much difference. but yes, it builds with tinycc 2015-01-29 00:08:54 it's called tendra 2015-01-29 00:08:54 yah 2015-01-29 00:09:46 cool never heard of that one before 2015-01-29 00:09:56 kate, what are the benefits of tendra over others 2015-01-29 00:10:52 strictness with regards to API conformance, mainly 2015-01-29 00:11:05 interesting 2015-01-29 00:11:08 if you're interested, this is a decent overview: http://dioptre.org/tmp/tendra-doc0/tendra-doc/doc/papers/porting/single.xhtml 2015-01-29 00:11:42 or: http://dioptre.org/tmp/errors.html 2015-01-29 00:12:24 cool 2015-01-29 00:12:51 not many people think it is cool 2015-01-29 00:14:57 why? 2015-01-29 00:17:57 well, not many people care about writing correct or portable software - as long as it appears to work on their particular machine 2015-01-29 00:21:31 i suppose there is little incentive for diversity 2015-01-29 00:25:43 well there is also a difference between correct to an API and secure code 2015-01-29 00:25:58 not implying that glibc is secure 2015-01-29 00:26:52 i meant correct with regards to API conformance - which glibc certianly is not 2015-01-29 00:27:26 yah i do think API conformance code is important but more of a a means of validating other libcs 2015-01-29 00:27:40 not necessarily implementation code 2015-01-29 00:27:56 well, read that article, if you want to see what that's about 2015-01-29 00:28:15 kate, it would be cool to see discrepancies between Tendra and MUSL 2015-01-29 00:28:32 sure. i can give you a list when i'm done. it's not many 2015-01-29 00:28:39 oh cool 2015-01-29 00:28:57 I would be down to make that a wiki page on Alpine 2015-01-29 00:29:02 i'm only catering for the C89 and POSIX APIs currently, though 2015-01-29 00:29:09 that's a start 2015-01-29 00:29:15 nothing wrong inherently about that 2015-01-29 00:29:15 i don't think there's much point in making a wiki page about that 2015-01-29 00:29:38 kate, well the part I would say is that to show more new people to Alpine 2015-01-29 00:29:56 that Libcs can very 2015-01-29 00:30:07 well tendra's entire userbase is currently talking to you 2015-01-29 00:30:09 and also how that could affect security 2015-01-29 00:30:22 lol hey but I care about security and code correctness 2015-01-29 00:30:45 if you care about those things, then you might also be interested in API conformance 2015-01-29 00:30:48 and *fingers crossed* I may have the money and influence one day that things like this carry more coding community weight 2015-01-29 00:31:18 kate, well I was talking with dalias from MUSL about how it would be cool write a formal "libc" oracle 2015-01-29 00:31:30 that you use only as a in-depth fuzzing and validation tool 2015-01-29 00:32:12 hm 2015-01-29 00:32:18 read that article 2015-01-29 00:32:29 will but can't at moment 2015-01-29 00:32:34 kate, have you looked at libc-test repo? 2015-01-29 00:32:45 we'd like to get more conformance tests added to it 2015-01-29 00:32:56 dalias, i haven't 2015-01-29 00:35:20 dalias, very nice 2015-01-29 00:35:31 pity it mixes C89 and C99 2015-01-29 00:35:33 find it ok? 2015-01-29 00:36:12 the only part that should be specific to c89 vs c99 is header requirements 2015-01-29 00:36:13 dalias kate but what about C11 :P 2015-01-29 00:36:25 interface behavior is generally unchanged 2015-01-29 00:37:15 dalias, i wasn't talking about testing earlier, incidentally. but i am also interested in testing the implementation of any give libc. but that has nothing to do with the kind of conformance i mentioned a moment ago 2015-01-29 00:37:31 kate, what in particular are you interested in? 2015-01-29 00:37:41 i can tell you if i know any existing resources for it 2015-01-29 00:39:01 dalias, for testing? there are two aspects; both validation. 1. for language conformance (as per the plum hall suite); 2. for library implementation conformance (as per your libc-test suite) 2015-01-29 03:14:49 hello people, I'm trying out 'simple' distros right now 2015-01-29 03:14:56 alpine will be my next one 2015-01-29 03:15:17 question: does it support xorg and graphical apps in general? 2015-01-29 03:15:28 yes but not a lot of desktop apps are packaged 2015-01-29 03:15:33 x works fine tho 2015-01-29 03:16:13 xfce and firefox are packaged 2015-01-29 03:16:37 and gimp, inkscape, abiword, .... 2015-01-29 03:17:03 nice. I'll probably test it as a server, but I'll want a decent web browser and basic applications, nothing fancy 2015-01-29 03:17:06 i don't have a full list. there's definitely enough to get you through the basics but your favorite app in a particular category might not be packaged yet 2015-01-29 03:17:13 I think awesome and MATE 2015-01-29 03:17:15 are also packaged 2015-01-29 03:17:31 e.g. i'd rather have chromium :) 2015-01-29 03:17:45 dalias, is that working yet? 2015-01-29 03:17:54 is i3wm packaged? 2015-01-29 03:18:04 thiagowfx, not yet 2015-01-29 03:18:14 I have tried but there are like one or two issues with building it 2015-01-29 03:18:32 that are dependent on glibc if I remember correctly 2015-01-29 03:18:33 supposedly someone's built chromium successfully but iirc a few things, possibly some of the sandboxing, had to be turned off 2015-01-29 03:18:57 dalias, well then I would say not entirely successful yet then 2015-01-29 03:18:58 but awesome 2015-01-29 03:19:01 systmkor, if you have a list of failures and want comments on how to fix them i can take a brief look 2015-01-29 03:19:22 hum, I think I would be interested in trying to package it, just for the fun 2015-01-29 03:19:25 systmkor, iirc there was a sandbox issue but it might have been caused by grsec rather than musl/alpine 2015-01-29 03:19:35 I come from Arch Linux, I read alpine`s package manager is heavily inspired on it 2015-01-29 03:19:39 APKBUILDs and such 2015-01-29 03:21:52 dalias, you mean about i3(wm)? 2015-01-29 03:22:49 systmkor, yeah, or any other software there's demand for 2015-01-29 03:23:07 m'kay cool cool 2015-01-29 03:24:13 this muslglibc thing (I probably typed it wrong), is it much different from glibc? I mean, the end user can perceive any differences? 2015-01-29 03:25:03 musl libc* 2015-01-29 03:25:25 thiagowfx, will they notice not really 2015-01-29 03:25:33 but similar to like a safer car 2015-01-29 03:25:52 you don't really notice between a unsafe car and a safe car while everything is going well 2015-01-29 03:25:57 but as soon as you hit a brick wall 2015-01-29 03:26:00 I found this page -> http://www.etalabs.net/compare_libcs.html 2015-01-29 03:26:09 yup 2015-01-29 03:26:30 let me see if I understand 2015-01-29 03:26:32 I don't know if there has been any another studies done. It would be nice to have a automated means of continually comparing 2015-01-29 03:26:51 those recent vulnerabilities? heartbleed, gcc 2015-01-29 03:26:58 was alpine affected by them? 2015-01-29 03:27:19 heartblead was as far as I know more pertenant to OpenSSLs written code 2015-01-29 03:27:45 for gcc I don't know it depends if it is strictly apart of the compiler (i.e. gcc) or if was from the compiler using a libc (i.e. MUSL) 2015-01-29 03:27:56 thiagowfx, good questions though 2015-01-29 03:30:47 thiagowfx, I wish I had a better paper or resources to describe in depth why there is a difference 2015-01-29 03:40:21 final question before I go to install it 2015-01-29 03:40:46 can I do a dd if=...alpineiso of=/my/usbflashdrive to boot from alpine? 2015-01-29 03:41:06 this isnt documented in the wiki in this way, it recommends using setup scripts 2015-01-29 03:42:01 setup-bootable to be more precise 2015-01-29 03:44:27 thiagowfx, which gcc issue? 2015-01-29 03:44:37 if you're thinking of GHOST that's glibc not gcc 2015-01-29 03:44:44 and musl is not affected 2015-01-29 03:45:23 yep, ghost 2015-01-29 03:45:26 glad to hear that 2015-01-29 03:45:35 to be fair though we've also had some dns-related vulns in the past, but they depended on malicious nameservers or spoofing malicious replies 2015-01-29 03:46:32 as opposed to ghost which is triggered by attempting to lookup a bad name 2015-01-29 03:50:19 thanks people, im going to install alpine now, bye 2015-01-29 09:27:52 Morning all! 2015-01-29 09:28:23 It seems the whole world is panicking about this glibc GHOST vulnerability (CVE-2015-0235). Except, of course, the sensible users of Alpine linux :) 2015-01-29 09:42:03 :) 2015-01-29 09:42:24 musl is of course unaffected. and surprisingly uclibc is unaffected too 2015-01-29 09:48:11 awesome isn't it :-) 2015-01-29 13:20:15 i get errors when adding package 2015-01-29 13:20:16 (16/31) Installing musl-dev (1.1.5-r1) 2015-01-29 13:20:16 ERROR: musl-dev-1.1.5-r1: No error information 2015-01-29 13:20:29 where can i find more info about that? 2015-01-29 13:21:57 apk update fix that :) 2015-01-29 16:16:16 j'amais ce sera normalemen 2015-01-29 16:21:29 oups wrong window ;) 2015-01-29 16:21:46 and hi! 2015-01-29 16:22:02 is there something like badblocks in AL ? 2015-01-29 16:22:34 or any other way to verify a disk at low level? 2015-01-29 16:23:24 Jean-Scotch: e2fsprogs or similar shjould contain badblocks 2015-01-29 16:23:39 ok. thanks 2015-01-29 19:04:08 Hi everyone. I have problems using awall (getting lua assertion errors). I think the problem is that I am within an OpenVZ container...but all iptable modules are loaded and Debian/CentOS etc. have no problems (and iptables alone (without awall)). 2015-01-29 19:04:32 the error is here: http://pastebin.com/2whEjuJB 2015-01-29 19:05:31 commenting the assertion out results in another error: 2015-01-29 19:05:38 http://pastebin.com/MkadPGQD 2015-01-29 19:06:05 any ideas how I can further check why it is failing? 2015-01-29 19:07:10 Alpine is 3.1.1 and all packages are up-to-date 2015-01-29 20:46:31 MaddinXx: openvz does not allow custom iptables rules iirc. 2015-01-29 22:22:07 @kaniini: yes it does. it has some limitations, but newer releases allow full iptables interaction 2015-01-29 22:22:42 @kaniini: e.g. shorewall show capabilities has everything as "available" (and it also works, not only shown like that) 2015-01-29 22:23:23 @kaniini: http://openvz.org/Man/vzctl.8#Netfilter_.28iptables.29_control_parameters 2015-01-29 22:35:08 are you using twitter as an IRC client? 2015-01-29 22:38:49 openvz is poop 2015-01-29 22:39:09 ahills: is that a funny way to ask me why I am sending three messages instead of one? ;) 2015-01-29 22:44:18 Diftraku: why do you think so? What are better alternatives? Xen/KVM are quite different...LXC/Docker not mature enough (and heavily based on stuff merged upstream by the OpenVZ if I am right) ... have been using it for around 3 years now and never had problems expect for Netfilter stuff..but with the new netfilter config option that is painless as well. but would love to hear 2015-01-29 22:44:18 your opinion :) (and hey, Alpine runs perfectly fine on it (yeah, no grsecurity of course)) 2015-01-29 22:45:01 my main problem woth openvz is lack of separstion between host and guest 2015-01-29 22:45:12 they sahre the same kernel image 2015-01-29 22:45:17 *share 2015-01-29 22:47:27 Diftraku: okay. many love it for exactly that reason (because it _should_ be a bit faster) but I can agree with that. it is totally a question of requirement here 2015-01-29 22:47:39 MaddinXx: no, you're prefixing kaniini's name with @ 2015-01-29 22:48:28 ahills: ahhh hehe. it was shown like that. but I see...that's the prefix for moderators. I am not so familiar with IRC :) 2015-01-29 22:52:17 Diftraku: for example an Alpine container is around 15M in size and uses 4MB or RAM. not sure if that can be reached with full emulators/hypervisors :) ... yes, it is the question if that is the goal. but just to mention it =) 2015-01-29 22:52:56 I'm using alpine as a xen dom0 and it works fantastic 2015-01-29 22:53:02 if xen is what you're looking for 2015-01-29 22:53:20 I've heard xen performance complaints but I get better disk and net throughput than I do on ESX 2015-01-29 22:54:37 I don't have a problem with openvz on guests and host you control 2015-01-29 22:55:02 I do have a problem when you only control one guest 2015-01-29 22:55:23 ahills: Xen is still on my list to get familiar with some day...that might indeed be a good idea to use Alpine for that. but right now I am not looking for that. I joined to ask about an error I encounter with awall within an OpenVZ container...and still hoping to get it working (because as said, iptables in general has no problems..only with the awall "interface") 2015-01-29 22:55:40 some configurations expose a ton ttys to thr guest for no apparent reason 2015-01-29 22:55:49 is openvz an important detail? 2015-01-29 22:56:02 e.g. does it affect the operation of iptables at all? 2015-01-29 22:56:12 awall is just a json-to-iptables converter 2015-01-29 22:57:11 ahills, I thought awall was json to shorewall 2015-01-29 22:57:19 which is a wrapper on top of iptables 2015-01-29 22:57:27 (note: I could totally be wrong) 2015-01-29 22:57:30 afaik iptables is a kmod and thus is provided in the kernel that in turn is the host's kernel 2015-01-29 22:57:38 I don't think it goes through shorewall, as it's not a dependency 2015-01-29 22:57:45 ahills: it should not with my configuration. plain iptables does everything I want, same for shorewall. the only thing is that modprobe etc to load iptables modules doesn't work, but that should not be nessecarily anyway. so no, I think the problem is not related to OpenVZ. I only mentioned that to play with open cards :) (and because it probably has some effect I don't know 2015-01-29 22:57:45 about) 2015-01-29 22:57:47 I don't see shorewall on my system, unless it's installed in a weird place 2015-01-29 22:57:54 ahills: "Debian/CentOS etc. have noproblems (and iptables alone (without awall))." 2015-01-29 22:58:22 well then I'm probably wrong 2015-01-29 22:58:25 debian/centos and openvz are different categories of thing, are they not? 2015-01-29 22:58:46 ahills: well yes, I meant Debian/CentOS OpenVZ containers 2015-01-29 22:58:58 like my Alpine is a container on an OpenVZ host 2015-01-29 23:00:11 is there a particular reason for using OpenVZ? 2015-01-29 23:00:24 and iptables works fine on alpine? 2015-01-29 23:00:25 (i.e. what is the main difference or better features/benefits) 2015-01-29 23:00:27 or just on debian? 2015-01-29 23:00:59 ahills: yes, that works fine on Alpine as well. even issueing the rules from /etc/iptables/awall-rules myself does work 2015-01-29 23:01:16 just not with awall activate 2015-01-29 23:03:30 MaddinXx: I don't use awall myself... are the ip6tables-rules also stored in /etc/iptables/awall-rules ? 2015-01-29 23:03:34 systmkor: no, it is just the one I am using since the very beginning....was easy to get started with back then and always played well for me. only hosting some web/db/mail/dns containers on it 2015-01-29 23:04:32 MaddinXx: when you speak iptables from your guest without using awall and configure your chain/tables/rules does it work? 2015-01-29 23:05:10 ScrumpyJack: jup 2015-01-29 23:05:48 MaddinXx: in ip6tables is what fails in your pastebin... have you tested that w/o awall, too? 2015-01-29 23:05:59 jomat: one strange point is that the service definitions are also placed inside awall-rules (not sure if this is correct?) beside that the content is as: 2015-01-29 23:06:30 http://pastebin.com/tuNZtd0s 2015-01-29 23:07:21 ah, i see 2015-01-29 23:08:44 and the policy is a simple drop all: http://pastebin.com/xBsxTMak 2015-01-29 23:09:59 I am happy to give SSH access if anyone if willing to have a look. It's only a playground server 2015-01-29 23:10:17 MaddinXx: http://pastebin.com/2whEjuJB .. is that the whole output of `awall activate`? 2015-01-29 23:11:11 jomat: yes. the next pastebin was the one after commenting the assertion out in iptables.lua 2015-01-29 23:11:40 right now the output therefor it like: 2015-01-29 23:11:48 http://pastebin.com/wq8xBigH 2015-01-29 23:12:19 (but as said, that is where I got after commenting out the lua assertion...) 2015-01-29 23:13:57 Did you press return? 2015-01-29 23:14:24 yes 2015-01-29 23:14:48 otherwise it blocks at that message 2015-01-29 23:15:05 let me quickly record everything with showterm 2015-01-29 23:16:41 ok... just asked because the last error in http://pastebin.com/wq8xBigH also scrolls over your prompt 2015-01-29 23:22:49 http://showterm.io/ac864570caec7ad38fe68 2015-01-29 23:31:16 jomat: if you didn't watch the record. I did not press return ... it fails before 2015-01-29 23:31:30 I've seen it 2015-01-29 23:31:50 showterm.io looks nice btw 2015-01-29 23:32:03 didn't know that yet :-) 2015-01-29 23:32:33 yeah, can be of great help. good service 2015-01-29 23:33:33 MaddinXx: Do you have the possibility to clone that system to a non-openvz-machine? 2015-01-29 23:33:52 any ideas what could be the reason? iptables-restore < rules-save and for ip6tables works. 2015-01-29 23:34:06 MaddinXx: because I'm not convinced that its the fault of openvz 2015-01-29 23:34:26 hmm....not sure how I could do that. I could however install a fresh copy, yes 2015-01-29 23:35:16 is that openvz-container hosted on a server you have access to? 2015-01-29 23:35:23 or is it a rented vps? 2015-01-29 23:35:41 yes, its on a dedicated box I have rented 2015-01-29 23:36:11 (I have access to the HW node) 2015-01-29 23:37:00 one approach could be to transfer the rootfs i. e. to your notebook where you start it in i. e. kvm with direct kernel boot (as it doesn't have an own kernel and bootloader) 2015-01-29 23:39:22 and if the problem persists, it's more likely a problem of this installation 2015-01-29 23:40:02 jomat: good idea. will try to do that. one other hint: iptables-restore on rules-save etc. works as well and rules are applied. so it definitely has to do with what awall activate does behind the scenes 2015-01-29 23:41:33 with --force I only get this error: iptables-restore v1.4.21: Can't set policy `ACCEPT' on `INPUT' line 15: Bad built-in chain name 2015-01-29 23:42:07 thats odd... and iptables -P INPUT ACCEPT works ofc... 2015-01-29 23:42:24 that works, yes 2015-01-29 23:44:29 line 15 from which file should that be? because in rules-save line 15 is -A OUTPUT -o lo -j ACCEPT and no ACCEPT INPUT 2015-01-29 23:44:41 do you have a clue .... that's what I just wanted to ask :-) 2015-01-29 23:47:33 hehe. mind reader 2015-01-29 23:48:08 commenting out the revert() call in awall helps that the rules are applied. the error still appears, but at least the iptables rules are set 2015-01-29 23:50:35 well, leaving for today. will try to clone to another system tomorrow and see what happens and give feedback here. thanks anyway for the help everybody. very helpful here :) 2015-01-29 23:50:40 have a good night & bye 2015-01-29 23:51:06 MaddinXx: if that doesn't help, there's a redmine bugtracker 2015-01-29 23:51:21 http://bugs.alpinelinux.org/ 2015-01-29 23:52:57 MaddinXx: good luck and good night :-) 2015-01-29 23:53:05 jomat: will keep that in mind. :) googeling the error gives quite a few results (Arch Linux, Ubuntu etc. etc.) so I really hope to find the answer somewhere. 2015-01-29 23:53:06 bye 2015-01-30 01:36:25 Error relocating /usr/sbin/pdns_server: _ZSt24__throw_out_of_range_fmtPKcz: symbol not found 2015-01-30 01:36:47 hm... 2015-01-30 01:37:13 perhaps it depends on a newer version of one of its libs and the package is lacking a dependency on it 2015-01-30 01:37:21 i've encountered that before on alpine 2015-01-30 01:37:27 iirc last time it was with inkscape 2015-01-30 01:39:17 shouldn't libs be traced automatically? 2015-01-30 01:39:26 while packaging? 2015-01-30 01:42:31 i don't know why it fails. dependence on the lib packages is there, but the fact that the binary depends on a particular version gets missed :/ 2015-01-30 01:42:41 at least that was my experience 2015-01-30 01:42:55 if you can find what lib that symbol should be in, try upgrading it manually 2015-01-30 01:43:36 dalias: good tip... somehow i still have libstdc++ 4.8.3-r0 installed instead of 4.9.2-r3 2015-01-30 01:43:51 after upgrading it works again 2015-01-30 01:43:54 that sounds likely to be the cause 2015-01-30 03:41:09 anyone have anythoughts about providing or maybe making pam_tcb as default instead of default shadow 2015-01-30 03:41:11 files 2015-01-30 03:41:30 http://www.openwall.com/tcb/ 2015-01-30 03:59:20 dalias, hey I'm having compilation issues with tcp_pam 2015-01-30 03:59:26 i have it's a package issue 2015-01-30 04:00:00 because /usr/include/nss/seccomon.h - includes - #include "prtypes.h" 2015-01-30 04:00:07 which that file doesn't exist in that directory 2015-01-30 04:00:40 and the "prtypes.h" file that does exist, exists in /usr/include/nspr/prtypes.h 2015-01-30 04:04:35 brb 2015-01-30 04:22:33 ncopa, I think the nss libraries are broken for compilation 2015-01-30 04:23:12 ncopa, they all refer to all nspr local c header files such as "nspr.h" 2015-01-30 04:23:29 ncopa, while they live in /usr/include/nspr/* 2015-01-30 13:51:57 Is anyone else getting a 404 - Not Found error when downloading alpine linux? 2015-01-30 13:57:03 it is probably due to new release 2015-01-30 13:57:08 needs to syn on the mirrors first 2015-01-30 14:01:06 aha works now 2015-01-30 14:03:27 eek, download via browser works but wget doesnt 2015-01-30 14:05:31 righto downloading now 2015-01-30 14:39:24 try this: http://nl.alpinelinux.org/alpine/v3.1/releases/x86_64/ 2015-01-30 18:12:15 hey, I've seen that Wayland was installed as a dependency on my Alpine vm for some reason, but is there any way to actually run some wayland desktop without having to compile extra stuff from outside the default repos? Weston is not in there. 2015-01-30 23:39:08 steenuil, to piggy back off of you, is there any way to run wayland at all (minus X) with Alpine? 2015-01-30 23:39:13 if so, any guides how to? 2015-01-30 23:39:31 eeeh not that I know of 2015-01-30 23:40:00 I was trying to do stuff earlier but the compositors I tried didn't really work 2015-01-30 23:40:43 ah dang.. I can't wait till the no longer need of X :D 2015-01-30 23:40:58 I mean I just tried like two 2015-01-30 23:41:14 steenuil, in the mean time I was hoping we could basically do what OpenBSD did for X 2015-01-30 23:41:30 what did they do? 2015-01-30 23:41:30 and remove all the SUIDs/SGIDs et . 2015-01-30 23:41:39 eeh 2015-01-30 23:41:47 it's been done 2015-01-30 23:41:57 and that's been standard for years now 2015-01-30 23:43:05 steenuil, I believe the also added in other security features or just made it the base more secure 2015-01-30 23:43:08 steenuil, https://www.youtube.com/watch?v=2l7ixRE3OCw 2015-01-30 23:43:21 well it's OpenBSD, of course they did. 2015-01-30 23:43:33 yup 2015-01-30 23:43:40 and so should we (i.m.o) 2015-01-30 23:43:41 I was just trying to do that because something didn't quite work out with my X installation 2015-01-30 23:43:59 but I don't really know what it is 2015-01-30 23:48:18 ahhh 2015-01-30 23:49:03 but yeah I mean, using Wayland would be great. 2015-01-30 23:49:43 I also would love to see more regression tests for all of Alpine packages 2015-01-30 23:49:45 :D 2015-01-30 23:50:06 but... not nearly enough people power for that, atm 2015-01-30 23:50:43 yeah, I figured. 2015-01-30 23:50:50 so please contributed :D 2015-01-30 23:51:06 I-I'll try to do something about it 2015-01-30 23:51:10 when I figure out what it is 2015-01-30 23:51:22 and document document document :P 2015-01-31 04:54:09 is there a location we could post desired projects to work on 2015-01-31 04:54:16 or what we would like to see happen 2015-01-31 04:54:31 ncopa, would that be appropriate on the wiki? 2015-01-31 04:56:13 that would be nice :) 2015-01-31 04:56:27 emacs & chromium :) 2015-01-31 04:56:36 those are my top 2 requests 2015-01-31 04:57:48 btw are alternate user-db backends a topic of interest for alpine? 2015-01-31 04:57:54 ldap/nis/whatever? 2015-01-31 04:58:09 because we're working on them in musl now :) 2015-01-31 04:58:33 huh how do those relate to MUSL? 2015-01-31 04:58:51 dalias, well I'll just create a page under Developers for project ideas 2015-01-31 04:58:56 getpwnam() etc 2015-01-31 04:58:58 if it needs to be moved, no problem 2015-01-31 04:59:03 what's that? 2015-01-31 04:59:11 right now they only support /etc/passwd and /etc/group files 2015-01-31 04:59:36 getpwnam() and friends are the standard libc functions to lookup user/group name/id mappings 2015-01-31 04:59:48 and supplemental stuff like shell, homedir, realname, ... 2015-01-31 05:00:30 dalias, or do you think under Contribute page? 2015-01-31 05:00:50 getpwnam() is a posix/std libc call? 2015-01-31 05:00:54 yes 2015-01-31 05:00:56 posix 2015-01-31 05:01:08 so wait is that POSIX or pure Libc? 2015-01-31 05:01:16 or are those synonymous now? 2015-01-31 05:02:23 dalias, oh I have two projects I think you should check out (you may already know of there existence) 2015-01-31 05:02:33 in the contexts we're working in, "libc" includes posix 2015-01-31 05:02:38 dalias, https://github.com/NixOS/patchelf 2015-01-31 05:02:57 dalias, why not make that a separate? 2015-01-31 05:03:00 out of curiousity 2015-01-31 05:03:19 dalias, http://www.openwall.com/tcb/ 2015-01-31 05:03:58 making that separate really isn't feasible 2015-01-31 05:04:07 but musl unifies more than historically done into one file 2015-01-31 05:04:11 see http://wiki.musl-libc.org/wiki/Design_Concepts 2015-01-31 05:04:37 what about tcb? 2015-01-31 05:05:03 musl is the first adopter of tcb shadow outside of Owl, so yes i know about it 2015-01-31 05:05:17 actually tcb in musl is how solar/openwall first got interested in musl 2015-01-31 05:05:47 cool 2015-01-31 05:05:56 well I'm trying to compile TCB for Alpine 2015-01-31 05:05:59 but running into NSS issues 2015-01-31 05:07:35 well you don't need any libc (/nss) side stuff for tcb on musl 2015-01-31 05:07:40 it just works 2015-01-31 05:07:55 you do need the modified passwd utility, etc. tho to update tcb shadow files 2015-01-31 05:08:08 oh well when I'm compiling 2015-01-31 05:08:15 straight from owl's source 2015-01-31 05:08:18 that's not what I get 2015-01-31 05:08:33 the tcb package from owl has stuff that you won't need on musl because equivalent code is part of musl 2015-01-31 05:08:41 ah 2015-01-31 05:09:01 but unless you want to edit /etc/tcb/*/shadow by hand, you need modified passwd etc. utils to edit it for you 2015-01-31 05:09:06 well do they have a source of tcb that doesn't compile against glibc 2015-01-31 05:09:25 dalias, well I'm going to make a wish list one sec 2015-01-31 05:10:24 for example if you have a working alpine system and you just split /etc/shadow up into /etc/tcb/[username]/shadow (one line file for each user) 2015-01-31 05:10:32 then rename/remove shadow 2015-01-31 05:10:38 you should still be able to login just fine 2015-01-31 05:10:53 but the passwd utility won't be able to change your password then 2015-01-31 05:10:54 oh cool 2015-01-31 05:11:12 btw the reason this works.... 2015-01-31 05:11:39 AGES ago (back in 1998 or 99 or so) i had a hack in libc5 and later glibc that allowed the user's password hash to be in ~/.passwd 2015-01-31 05:11:57 and i wanted the same functionality when switching to musl, but didn't want it to be hackish like that 2015-01-31 05:12:18 and i ran across owl's tcb that was an existing published system that matched what i was doing, but did it better 2015-01-31 05:12:36 so rather than inventing something new and incompatible, i made musl support the owl tcb system 2015-01-31 05:13:09 very awesome 2015-01-31 05:13:28 well I think getting the suid/sgid out of passwd would be wicked 2015-01-31 05:13:31 one sec 2015-01-31 05:14:01 that can be done depending on the permissions for /etc/tcb/* dirs 2015-01-31 05:14:09 if you allow users to write their own dirs, suid is not needed 2015-01-31 05:14:20 yuuup 2015-01-31 05:14:20 but then you can't force users to pick strong passwords 2015-01-31 05:14:24 they can store any hash they want 2015-01-31 05:14:36 imo this isn't a practical problem 2015-01-31 05:14:46 if the utility enforces password strength, that's enough imo 2015-01-31 05:15:02 somebody who goes out of their way to manually edit the file to work around this is going to find another way to make their account insecure anyway 2015-01-31 05:15:09 like emailing their password in cleartext :-p 2015-01-31 05:18:43 idk I like the goal of at least removing all SUIDs/SGIDs from base alpine 2015-01-31 05:18:50 and tcb seems like a good solution 2015-01-31 05:19:12 Idk if blowfish is really the best hash to go with, especially since now it should be at least 2015-01-31 05:19:14 yes 2015-01-31 05:19:28 a hash with a salt and at least 1k iterations 2015-01-31 05:19:30 or so 2015-01-31 05:19:52 afaik bcrypt is still considered best practice short of scrypt or similar 2015-01-31 05:19:57 also creating an assymetric login would be nice 2015-01-31 05:20:21 well i prefer disabling password login for sshd 2015-01-31 05:20:22 *assymetric crypto login 2015-01-31 05:20:27 and using public key only 2015-01-31 05:20:28 oh I do to 2015-01-31 05:20:50 okay so wanna help me populate an initial wishlist page 2015-01-31 05:21:29 well for apps, my big wishlist items are emacs and chromium 2015-01-31 05:22:32 for security, minimizing/eliminating suids, making use of musl's tcb-shadow support (i.e. making the passwd utility etc. support it and perhaps use it by default), ... 2015-01-31 05:23:25 i'm interested in getting things to the point where openwall might be able to recommend alpine as an alternative to owl for users who want a less-conservative, more modern system 2015-01-31 05:23:27 well so I'm making an outline first 2015-01-31 05:23:31 so sections first 2015-01-31 05:23:42 security enhancements/hardening 2015-01-31 05:23:46 application packagingf 2015-01-31 05:24:06 perhaps testing/benchmarking type stuff? 2015-01-31 05:24:30 m'kay 2015-01-31 05:25:43 possibly other soft goals in areas like publicity/outreach/etc. ? 2015-01-31 05:26:10 imo that should have input from the ppl behind alpine tho 2015-01-31 05:26:19 rather than users just making it with no input from them 2015-01-31 05:27:32 well yah. thanks I will put a notice at top of the page that it's unofficial 2015-01-31 05:33:51 dalias, well it's up 2015-01-31 05:33:57 url? 2015-01-31 05:34:03 http://wiki.alpinelinux.org/wiki/Wishlist 2015-01-31 05:34:20 May need to be changed to ProjectWishlist in the future but for later discussion 2015-01-31 05:35:43 dalias, go put some stuff in there :D 2015-01-31 05:36:49 cat 'TL;DR' >> /wishlist 2015-01-31 05:37:08 I'm with so many wiki pages of alpine opened here, I'll go crazy =p 2015-01-31 05:37:14 imo it's too broken-down for the amount of content there now :-p 2015-01-31 05:37:24 I am liking what I'm reading, though 2015-01-31 05:37:33 dalias, of course but that is all the things I already have ideas of putting stuff into 2015-01-31 05:37:45 I just wanted for you to be able to put some stuff in there first 2015-01-31 05:38:00 thiagowfx, TL;DR are you talking about the tool 2015-01-31 05:38:26 or meaning like there should be a sentence at the top of the page or in the contribute section as TL;DR 2015-01-31 05:38:42 or meaning each page should have a TL;DR sentence :P 2015-01-31 05:38:49 *each wiki page 2015-01-31 05:39:19 I mean there should be a (single) wiki page called tl;dr or similar, for newcomers like me 2015-01-31 05:39:30 which I am willing to create myself if I decide I liked alpine 2015-01-31 05:39:31 thiagowfx, very good Idea :D 2015-01-31 05:39:44 thiagowfx, I think you would be best suited for that at the moment 2015-01-31 05:39:56 will for sure be down to do editing & review 2015-01-31 05:40:51 it is nice to see an active community 2015-01-31 05:40:59 I though alpine were a much very small project 2015-01-31 05:41:03 was* 2015-01-31 05:41:56 huh? hard time parsing thought. I think I get the idea though. 2015-01-31 05:43:35 did you mean 'I thought alpine was a very small project.' ? 2015-01-31 05:54:17 dalias, okay SGID/SUIDs section added 2015-01-31 05:54:34 definitely needs more, especially siting sources such as articles/papers/& talks of why this is a good idea 2015-01-31 05:54:49 why should anyone give a shit about these projects without good reasons :D 2015-01-31 06:09:27 systmkor: yes, that was what I meant 2015-01-31 06:09:42 small typo :/ 2015-01-31 06:10:19 no problem just trying to make sure I understood you correctly 2015-01-31 06:11:20 and I actually missed your question because my internet connection dropped 2015-01-31 06:11:26 I just answered to it now because I found http://dev.alpinelinux.org/irclogs/ 2015-01-31 06:11:37 you guys seem to be well organized :D 2015-01-31 06:12:27 lol, idk about that. I just have a lot of ideas and am really eager to help. 2015-01-31 06:16:48 thiagowfx, thanks though 2015-01-31 06:17:01 main props to rest of Alpine community and devs 2015-01-31 06:17:20 sure 2015-01-31 06:20:27 logging off, bye 2015-01-31 06:20:52 ciao 2015-01-31 11:35:55 is there a way of making the system boot if a network interface can't be brought up? 2015-01-31 11:36:11 as in a timeout 2015-01-31 11:36:19 before the system will boot anyway and give you a shell 2015-01-31 11:36:55 because when i added auto ppp0 to my networking configuration, i realised if the ppp0 interface can't be brought up for some reason i can't get into the system 2015-01-31 11:37:09 Your latest edition is on Linuxtracker.org, please consider using torrent files to get your distro shared :-) 2015-01-31 11:39:47 am i looking in /etc/conf.d/netmount at this "rc_need="net"" 2015-01-31 11:45:22 ncopa: did you find a solution to this? for your ppp0 interface? 2015-01-31 12:06:02 did I miss anything? 2015-01-31 14:01:48 So I've got my network setup like: http://slexy.org/view/s21QLkRCgV (diagram, ip r, ip addr) 2015-01-31 14:01:49 I'm trying to add a route so that hosts on 192.168.1.0/24 (LAN) can access 192.168.0.1/30 (modem) 2015-01-31 14:01:49 I've tried this: # ip r add 192.168.1.0/24 via 192.168.0.2 dev eth0 but I get RTNETLINK answers: File exists anyone messed with routing that might know what is up? 2015-01-31 14:40:39 I'm having differculties creating a account on http://wiki.alpinelinux.org/, whats the answer to the question "Are you a spammer?"? 2015-01-31 15:09:59 paper_face_: you'll want something like this: 2015-01-31 15:10:01 iptables --table nat --append POSTROUTING --out-interface eth0 -j MASQUERADE 2015-01-31 15:10:04 iptables --append FORWARD --in-interface eth1 -j ACCEPT 2015-01-31 15:10:06 echo 1 > /proc/sys/net/ipv4/ip_forward 2015-01-31 20:07:05 when I do apk add, the package manager just extracts tarballs or it also downloads them? 2015-01-31 20:07:39 because the output is always 'Installing ', I have the impression everything is already downloaded 2015-01-31 20:15:26 I don't know for certain 2015-01-31 20:15:38 but not all packages are already downloaded 2015-01-31 20:15:41 that I'm certain of 2015-01-31 20:21:14 I think that's just to keep a clean output 2015-01-31 20:21:38 since all it does is download and extract packages. 2015-01-31 20:28:50 it looks like it downloads them too,I could notice that after adding/installing firefox 2015-01-31 20:29:27 yep. if it cached them it would take ages to apk update and you'd need lots of space too 2015-01-31 20:33:20 thiagowfx, I added more to the wishlist, go add your own stuff :D 2015-01-31 20:34:08 systmkor: great, I must get a working xorg server on my alpine box first =p 2015-01-31 20:35:39 m'kay document process 2015-01-31 20:35:56 is there something similar to pkgfile in alpine? 2015-01-31 20:36:11 to find which package provide a given program 2015-01-31 21:15:32 yay 2015-01-31 21:15:39 finally managed to compile i3wm under alpine 2015-01-31 21:15:52 would anyone be interested in packaging it? 2015-01-31 21:16:27 make an apkbuild 2015-01-31 21:17:40 I'll try 2015-01-31 21:17:52 what is the equivalent of the AUR in alpine? 2015-01-31 21:18:06 a place where I can find sample APKBUILDs 2015-01-31 21:18:28 http://wiki.alpinelinux.org/wiki/Abuild_and_Helpers 2015-01-31 21:27:39 thiagowfx, yes, I would really appreciate that packaged 2015-01-31 21:27:44 thiagowfx, how did you get it to compile 2015-01-31 21:28:05 it is packaged 2015-01-31 21:28:13 thiagowfx, I ran into problems were it required some blob code from glibc so I wasn't sure of an easy fix 2015-01-31 21:28:30 i3wm is packaged in testing for quite some time 2015-01-31 21:29:37 https://github.com/alpinelinux/aports/tree/master/testing/i3wm 2015-01-31 21:31:49 tvvdhSL5hEBn, ughh I swear I looked 2015-01-31 21:32:08 tvvdhSL5hEBn, thanks :D 2015-01-31 21:33:59 tvvdhSL5hEBn: oh, nice. And I was reinventing the wheel here 2015-01-31 21:34:55 I compiled it differently, without any patch, just by modifying CFLAGS 2015-01-31 21:35:11 I'll write it here 2015-01-31 21:36:34 make CFLAGS="-DGLOB_TILDE=0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include" 2015-01-31 21:37:16 based on this: https://bug.tasktools.org/secure/attachment/10271/0001-Fix-build-with-musl-libc.patch 2015-01-31 21:37:32 suggested by Copa himself 2015-01-31 21:37:54 i haven't seen that before 2015-01-31 21:37:58 interesting 2015-01-31 21:38:18 I just wondered why I have to include all those folder (with -I) 2015-01-31 21:38:25 they should be included automatically AFAIK 2015-01-31 21:38:37 for that you also need these defines in the code: +#ifdef GLOB_TILDE 2015-01-31 21:38:44 as you can see in the patch: https://github.com/alpinelinux/aports/blob/master/testing/i3wm/musl.patch 2015-01-31 21:38:59 otherwisse the -DGLOB_TILDE=0 makes no sense 2015-01-31 21:39:15 tvvdhSL5hEBn: it makes even without the patch 2015-01-31 21:39:24 in the beginning, I was adding those defines manually 2015-01-31 21:39:35 also i thing -DGLOB_TILDE=0 actually defines it, so the #if defined actually kicks in 2015-01-31 21:39:38 however, after three files, I decided to stop and to use -DGLOB_TILDE=0 2015-01-31 21:39:49 it worked (even without defining manually in the files I missed) 2015-01-31 21:40:01 maybe this patch is already upstream? 2015-01-31 21:40:15 yeah, the purpose of -D is to define it, so there is no reason to use #ifndefs 2015-01-31 21:40:27 so is that a generic patch to make it easier to compile with MUSL? 2015-01-31 21:40:29 I'm not sure, probably not 2015-01-31 21:40:38 why guess? why don't you check? 2015-01-31 21:40:39 unless someone that used musl reported it 2015-01-31 21:40:54 there's git histories and possibly mailinglists related 2015-01-31 21:40:57 where you can track this. 2015-01-31 21:41:28 don't mind my laziness, I'm kind of multitasking right now 2015-01-31 21:41:30 but I'll check it 2015-01-31 21:41:58 checking things before reduces redundant work :) 2015-01-31 21:42:34 sure 2015-01-31 21:42:53 I was creating an APKBUILD for i3 because yesterday somewhere said that it wasn't packaged 2015-01-31 21:43:10 someone you still trust tomorrow? 2015-01-31 21:43:11 and indeed I didn't found it with apk search today, but now I know about this testing repo 2015-01-31 21:43:17 thiagowfx, that may have been me, idk 2015-01-31 21:43:46 tvvdhSL5hEBn, yah sorta missing documentation for new people looking to see if something is already packaged 2015-01-31 21:43:49 apk search also returns results from testing if you have it in /etc/apk/repos 2015-01-31 21:44:03 i think that documentation is in the wiki 2015-01-31 21:44:21 tvvdhSL5hEBn: I'm a newcomer to alpine, so I'm likely to accept as truth what people tells me here about it 2015-01-31 21:44:25 at least for now 2015-01-31 21:46:47 okwYotjAkvr0: in fact, /etc/apk/repsitories has the testing repo commented out 2015-01-31 21:47:07 yeah, testing is not default enabled, it's called testing :) 2015-01-31 21:48:07 it could be enabled for searching but not for installation :D 2015-01-31 21:48:15 anyway, problem solved 2015-01-31 21:48:25 read more wikis! ;) 2015-01-31 21:49:46 okwYotjAkvr0, that said the wikis are rather out of date and meh for new people to read 2015-01-31 21:51:11 i don't think that the information that is relevant to the discussion the last 20 min is either meh, nor outdated. 2015-01-31 21:53:51 Wikis should indeed be read, but I ended up with more than 15 tabs opened. I think there is a compromise between reading and applying what you read 2015-01-31 21:54:57 tl;dr read, use, read, use, and gain familiarity with the system bit by bit 2015-01-31 21:55:16 thiagowfx, yup yup :D 2015-01-31 21:55:29 sounds quite american. first shoot, then ask 2015-01-31 21:55:29 thiagowfx, don't forget to document & edit as well 2015-01-31 21:55:33 systmkor: that said, I have to keep reading now :) 2015-01-31 21:55:34 !!! 2015-01-31 21:55:36 by the way 2015-01-31 21:55:42 glad you said that 2015-01-31 21:55:47 I cannot register a new user 2015-01-31 21:55:54 there is some problem with the captcha 2015-01-31 21:55:58 weird I was able to a month back 2015-01-31 21:56:07 ncopa, wiki captcha problems? 2015-01-31 21:56:34 there is this question: "Are you a spammer?" 2015-01-31 21:56:44 and nothing else, so I fill "no" 2015-01-31 21:56:54 but I think there should be some image 2015-01-31 21:56:56 but there is none 2015-01-31 21:57:50 okwYotjAkvr0: actually it is more like ask first, but don't spend all day asking 2015-01-31 22:03:32 thiagowfx, okwYotjAkvr0 Idk as long nothing will get hurt 2015-01-31 22:03:36 do first works pretty well 2015-01-31 22:03:59 so shooting definitely falls out of that guide 2015-01-31 22:04:07 systmkor: yep 2015-01-31 22:08:39 the asking should come after the reading, since if you ask without any effort, you are waste the time of those, who did actually document their work. so that they can focus on more awesome work. 2015-01-31 22:09:51 okwYotjAkvr0, that said just because it's documented doesn't mean the documentation is any good 2015-01-31 22:11:03 we seem to disagree on this part i think. 2015-01-31 22:11:18 I'm not saying that Alpine's current docs are bad 2015-01-31 22:11:19 I don't defend asking before reading; however, there is a thing called 'opportunity cost' that comes to mind when there is too much documentation 2015-01-31 22:11:31 I'm just saying the fact that documentation exists 2015-01-31 22:11:50 yes, and you externalize the cost on those who are most productive with the product. 2015-01-31 22:11:55 doesn't mean its good 2015-01-31 22:11:57 I believe that (for example) wasting an entire day to read something just to conclude that you won't need what you just read is a waste of resources 2015-01-31 22:12:12 so there is a compromise between reading and asking 2015-01-31 22:12:22 so your time is more valuable than the time of devs 2015-01-31 22:12:35 certainly a reasonable assumption. 2015-01-31 22:12:43 everyone would agree ;) 2015-01-31 22:12:50 ¬¬ 2015-01-31 22:13:19 okwYotjAkvr0, also arguably if you keep getting the same questions for what already exists for documentation 2015-01-31 22:13:28 that may mean it isn't easy for new people or that demographic 2015-01-31 22:13:34 to find what they are looking for 2015-01-31 22:13:58 okwYotjAkvr0, it's easy to go look up reference material when you wrote it 2015-01-31 22:14:04 but when you are reading it for the first time 2015-01-31 22:14:20 it can be like trying to figure out the illogical nuances of a text adventure game 2015-01-31 22:17:45 all is good and fine. i just wanted to point out that the redundancy can be avoided and used more efficiently. but you do however you like. 2015-01-31 22:17:50 I'm not sure if you are really trying to express your point or just to disagree. But I'll end my argument with this: there is a difference between who doesn't read absolutely anything (thus asking first, sometimes the same questions) aaaand those who demonstrate some effort before asking. For example, I could spend here all day asking you how to install x, y, and z, but there is no need for me do to that because it is (well) documented in the 2015-01-31 22:17:51 Alpine Wiki. However, if I find a particular program that I couldn't find (i3 in this case), I don't really see any problems in asking *here* if it isn't really present in the repos. Besides, I was creating a package for it before discovering there was one already, so I don't think 'my time is more important than the devs' either. 2015-01-31 22:18:34 you could've used the time to do something non-redundant. 2015-01-31 22:18:53 but yes. sorry if you got the wrong answer here 2015-01-31 22:22:56 okwYotjAkvr0: all right 2015-01-31 22:23:29 but i think you also got the right answer, just not at the time of your convenience ;) 2015-01-31 22:26:16 okwYotjAkvr0, thiagowfx I wouldn't argue a user, newb, or developer's time is innately more valuable than any other. It depends on desired outcomes. 2015-01-31 22:26:34 How much reasonable time any party has attempted. 2015-01-31 22:26:40 and other things 2015-01-31 22:27:09 okwYotjAkvr0, because if a newbs time is considered worthless your community will end up like OpenBSD 2015-01-31 22:27:19 forever diminishing 2015-01-31 22:29:50 this said I don't have solid research backing up my claims 2015-01-31 22:33:50 do you have to make any major changes to "port" PKGBUILDs to abuild? 2015-01-31 22:34:13 "newbs time is considered worthless" is a gross misrepresentation of what i said. 2015-01-31 22:34:51 the message was to spend your own time instead of those who already contribute 2015-01-31 22:34:58 okwYotjAkvr0, I didn't say that's what you said 2015-01-31 22:35:08 I'm just saying that position (not yours) 2015-01-31 22:35:14 can be rather poisonous 2015-01-31 22:35:22 agreed 2015-01-31 22:35:43 okwYotjAkvr0, for me that's why I really want to encourage documentation as you learn 2015-01-31 22:35:57 so for those who are new to a project have material that was made 2015-01-31 22:36:01 from their perspective 2015-01-31 22:36:09 not of a veteran user or dev 2015-01-31 22:36:10 steenuil: from what I'm reading, it looks like no, just minor ones 2015-01-31 22:36:24 so I just run it and see what doesn't work 2015-01-31 22:36:26 good. 2015-01-31 22:36:37 changing names of dependencies 2015-01-31 22:36:41 steenuil, uhhh I don't know if you can just drop in replace but worth a shot 2015-01-31 22:36:55 oh right 2015-01-31 22:37:16 just to not repeat the thing from a few minutes earlier, you sure, the pkg is not in testing? 2015-01-31 22:37:24 a few minutes ago I was porting i3 PKGBUILD to a APKBUILD 2015-01-31 22:37:28 it wasn't much different, overall 2015-01-31 22:37:33 the process 2015-01-31 22:38:04 also you might want to check the "unmaintained" repo 2015-01-31 22:39:02 nope, it's not. 2015-01-31 22:39:24 I wanted to run Wayland so I'm trying to make wlc and a window manager work. 2015-01-31 22:39:53 hmmm, doesnt wayland depend on systemd, and systemd on glibc? 2015-01-31 22:40:05 maybe? 2015-01-31 22:40:21 well the latter i'm sure. 2015-01-31 22:40:27 the former i guess you'll find out ;) 2015-01-31 22:41:06 nop http://forum.alpinelinux.org/apk/main/x86_64/wayland 2015-01-31 22:41:26 everything "requires" systemd these days 2015-01-31 22:41:49 except nothing really does 2015-01-31 22:45:20 wow cool! 2015-01-31 22:46:42 yeah on debian even erlang depends on systemd. 2015-01-31 22:47:11 haha 2015-01-31 22:47:44 systemd dependency is usually a bug in how packages are built 2015-01-31 22:47:48 not a core dependency of the program 2015-01-31 22:48:18 okwYotjAkvr0: lol 2015-01-31 22:48:50 i guess the debianguys want to make sure i never come back. ;) 2015-01-31 22:52:13 dalias: do you think it would make sense to submit a bug against erlang? 2015-01-31 22:53:30 in debian? 2015-01-31 22:53:53 debian is so polarized and i'm so far outside their political circles that i'm not sure whether it would help or hurt 2015-01-31 22:54:27 i've pretty much lost interest in debian. systemd wasn't the main factor but it was kinda the last straw 2015-01-31 22:54:46 basically debian is just insanely slow and bloated 2015-01-31 22:54:49 :-p 2015-01-31 22:55:00 dalias: whoa, bloated? 2015-01-31 22:55:09 that was the last think I would expect to hear about debian 2015-01-31 22:55:29 compare as base alpine installation to a base debian installation 2015-01-31 22:55:34 I mean, if you consider the distros that use .deb packages 2015-01-31 22:55:39 I think debian is the simplest 2015-01-31 22:55:48 that's not saying much 2015-01-31 22:55:56 aboslutely agreed with dalias 2015-01-31 22:56:01 yeah, the sense of bloated is relative 2015-01-31 22:56:07 my alpine boots to loginprompt in 2 secs. 2015-01-31 22:56:12 debian's gotten impossible to run on a system without ridiculous amounts of ram 2015-01-31 22:56:16 while debian is still looking for grub in that time. 2015-01-31 22:56:45 and super-fast hdd or ssd to deal with all the io load 2015-01-31 22:57:18 none of these are an option on an energy-efficient, long-batt-life laptop or netbook 2015-01-31 22:57:47 where doubling the ram reduces the batt life in suspend mode by 40% or so 2015-01-31 22:58:17 suspend mode. never use that. at least if you practice opsec, and have full disk encryption. 2015-01-31 22:58:38 debian has something like 400-800 megs of useless crap running before you even get to any user-facing apps 2015-01-31 22:59:32 that's not called opsec 2015-01-31 22:59:35 it's called tinfoil hat 2015-01-31 22:59:49 depends on your threatmodell. 2015-01-31 22:59:58 nobody is going to perform a live attack on a running system rather than hitting you over the head with a wrench 2015-01-31 23:00:07 that's just stupid 2015-01-31 23:00:09 really? 2015-01-31 23:00:13 police controls? 2015-01-31 23:00:19 never run into those? 2015-01-31 23:00:22 i do 2015-01-31 23:00:26 :/ 2015-01-31 23:00:28 where? 2015-01-31 23:00:38 east europe 2015-01-31 23:00:42 and how would they attack the system? 2015-01-31 23:01:04 well, once the .hu government got me drunk and separated me from my laptop for about 12h 2015-01-31 23:01:06 probing ram on a live powered system is not impossible but it's also fragile and time-consuming 2015-01-31 23:01:41 also some of my clients are kinda sensible, and have been attacked by similar orgs 2015-01-31 23:01:51 :-p 2015-01-31 23:01:52 okwYotjAkvr0: were your partitions encrypted? 2015-01-31 23:02:32 and you could achieve similar protection with a safety kill 2015-01-31 23:02:40 without losing the usability factor of suspend 2015-01-31 23:02:49 well i can boot in 2sec. 2015-01-31 23:02:51 personally i find hibernate unusably slow 2015-01-31 23:02:58 that is equvivalent speed, and much improved sec 2015-01-31 23:03:08 the saving side is slow. not the resume 2015-01-31 23:03:14 agreed. 2015-01-31 23:03:51 and linux doesn't handle it well, because it insists on using swap rather than a dedicated hibernate backing 2015-01-31 23:03:59 i generally don't enable swap 2015-01-31 23:04:14 but i stoped also hibernating with linux-3.13. as they do not have /sys/power/disk anymore, and i had no time to figure out what it had been replaced with. 2015-01-31 23:04:54 and poweroff is as convenient as is hibernate. so why bother. 2015-01-31 23:05:46 hardly... 2015-01-31 23:05:57 manual work to get back to where you left off is horrible ux 2015-01-31 23:06:18 lots of browsers can save tabs for you.. 2015-01-31 23:06:28 they do 2015-01-31 23:06:33 but then they'll bog down the network and cpu reloading 20 things all at once 2015-01-31 23:06:45 lately firefox does lazy loading :/ 2015-01-31 23:06:53 so only the active tab is reloaded. 2015-01-31 23:06:54 yeah that's ugly in its own way tho 2015-01-31 23:07:02 much less ram, but also much less joy 2015-01-31 23:07:17 so many fuckups with the lazyloading 2015-01-31 23:07:19 a good suspend could be secure 2015-01-31 23:07:23 i lost hundreds of tabs 2015-01-31 23:07:33 due to f....ing mozilla 2015-01-31 23:08:05 it could encrypt ram and just leave a tiny resume program to accept as passphrase and decrypt on resume 2015-01-31 23:08:14 a good suspend could be secure if you disable your external ports, and run something non-supported by finfisher 2015-01-31 23:08:30 or, what you write ;) 2015-01-31 23:09:07 but if you do the encrypt ram thing, i think you also have to encrypt the kernel ram. 2015-01-31 23:09:11 with the fde keys. 2015-01-31 23:09:20 yes 2015-01-31 23:09:34 doesnn't that mean you need take over control of the kernel? 2015-01-31 23:09:49 well the kernel would be responsible for doing this 2015-01-31 23:09:52 or a hypervisor 2015-01-31 23:10:46 anyway threat model is very geographically specific, imo 2015-01-31 23:10:50 is it? 2015-01-31 23:11:01 my friends are also harrassed in the us, and the uk 2015-01-31 23:11:12 e.g. 2015-01-31 23:11:22 also i travel a lot to the east. similar 2015-01-31 23:11:39 but the threat is much less technically advanced the more east i go 2015-01-31 23:11:44 :-p 2015-01-31 23:12:28 but then i guess if you get far enough in the east technology can get more advanced again. but ex soviet union is quite ok digitally, but physically, it's quite more difficult. 2015-01-31 23:12:36 my experience is that in the us and similar the threat model is to make you fear legal hell if you don't 'voluntarily' comply rather than any technological attacks 2015-01-31 23:12:56 some of my clients have been actually attacked in azerbaidjan, and in kirgiztan. with malware 2015-01-31 23:13:11 :/ 2015-01-31 23:13:14 governemnt stuff 2015-01-31 23:13:19 has been documented in the press 2015-01-31 23:13:19 fun 2015-01-31 23:13:45 it is not boring. i can tell you :) 2015-01-31 23:14:03 the shitting your pants part is the most exciting. 2015-01-31 23:17:14 wow new inkscape released 2015-01-31 23:17:18 wonder when it'll get packaged 2015-01-31 23:17:50 anyone else have better luck with Debian? 2015-01-31 23:18:32 :-p 2015-01-31 23:20:02 /o\ 2015-01-31 23:29:16 i guess I'm taking that as a no 2015-01-31 23:29:32 well the question was very generic. 2015-01-31 23:29:37 dalias: http://www.euractiv.com/infosociety/kroes-staff-computers-hacked-bak-news-515996 2015-01-31 23:29:44 true just was curious about general thoughts 2015-01-31 23:30:04 i was a very happy debian user until a few years ago. 2015-01-31 23:31:28 i think it started when the debian packaging purist decided to remove npm or so, because they said, there's dpkg in debian, we don't need no redundant packaging system. i know the guy who was responsible personally, we had an epic irc flame. 2015-01-31 23:32:26 i'm no happy nodejs user, i'm one who is forced to use it. and then the debian people come and make my life more miserable. 2015-01-31 23:33:31 then it got worse when they introduced patches that forced me to disable grsec protections on many binaries. because they need executable stacks, and whatnot 2015-01-31 23:33:48 :) 2015-01-31 23:34:01 i submitted abug, but was rejected, that the problem is not existing on a pure debian install, only on ones with non-distro kernels. 2015-01-31 23:34:24 you should have submitted it as a security weakness 2015-01-31 23:34:28 i did 2015-01-31 23:34:30 :) 2015-01-31 23:34:31 rather than incompatibility with grsec 2015-01-31 23:35:08 somewhat later they introduced more of these patches. 2015-01-31 23:35:18 and linked almost everything to it. 2015-01-31 23:35:32 libffi and libglapi 2015-01-31 23:37:15 i'm actually very hopeful about jaromils devuan. but since i tried alpine, i'm not very interested in anything else. (i need to spend time to get emacs and ksh working with musl though) 2015-01-31 23:37:33 jaromil and dyne rocks! 2015-01-31 23:40:54 okwYotjAkvr0, there is a ksh port already 2015-01-31 23:41:08 oksh - its a Linux port of OpenBSDs ksh 2015-01-31 23:41:14 the real at&t ksh, or some of the bad knockoffs? 2015-01-31 23:41:18 meh. no good 2015-01-31 23:41:55 hmmm. do you know if it does ksh93? 2015-01-31 23:42:03 huh? 2015-01-31 23:42:16 real at&t ksh, or some bad knockoffs? 2015-01-31 23:42:16 (before i dismiss it as "meh, no good", i should be sure it's no good) 2015-01-31 23:42:36 which is no good 2015-01-31 23:42:54 well ksh93 is the standard, the other kshs do not implement it mostly. so are useless 2015-01-31 23:43:06 the standard by whom? 2015-01-31 23:43:23 david korn? 2015-01-31 23:43:28 and at&t 2015-01-31 23:43:30 labs 2015-01-31 23:43:42 the others are just reimplementations, bad ones. 2015-01-31 23:43:55 could as well use bash or ash 2015-01-31 23:44:14 well sure if you want to run 1983 code :P 2015-01-31 23:44:18 (well again, i dunno about oksh, but pdksh is bad) 2015-01-31 23:44:27 ksh is well maintained 2015-01-31 23:44:33 korn is still working on it. 2015-01-31 23:44:38 well oksh is in testing 2015-01-31 23:44:53 i was the one who ported it, I haven't done extensive testing 2015-01-31 23:44:58 I would appreciate testing :D 2015-01-31 23:46:04 sorry! good job! thanks! 2015-01-31 23:46:21 but i'm more into the genuine ksh. 2015-01-31 23:46:52 okwYotjAkvr0, http://www.connochaetos.org/oksh/ 2015-01-31 23:46:58 the genuine ksh has last been updated 2012 not 1983 2015-01-31 23:47:18 i figured it's just was just to poke fun 2015-01-31 23:47:24 "The OpenBSD people have cleaned up and enhanced the original PD ksh" 2015-01-31 23:47:39 with great features. E. g. 2015-01-31 23:47:42 PS1=`\u@\h' 2015-01-31 23:47:43 well ksh is OpenBSDs default shell 2015-01-31 23:47:44 works like under bash (try this with a standard PD ksh). 2015-01-31 23:47:52 huh? that is surely a joke. 2015-01-31 23:47:59 no 2015-01-31 23:48:03 (i mean the "great features) 2015-01-31 23:48:06 not the defaultshell 2015-01-31 23:48:09 oh lol 2015-01-31 23:49:01 okwYotjAkvr0, well were is the source for the o.g. ksh? 2015-01-31 23:49:38 http://www2.research.att.com/~astopen/download/ 2015-01-31 23:49:57 hmm, perhaps also here: http://kornshell.com/ 2015-01-31 23:50:12 no, it's the same two pages. 2015-01-31 23:50:18 or very much connected 2015-01-31 23:50:18 i thought that was the public domain one, memory is wrong then 2015-01-31 23:50:32 no. the license actually is fucked up 2015-01-31 23:50:43 what's the license? 2015-01-31 23:50:49 read the first link, and be horrified. 2015-01-31 23:51:14 "Most AT&T ast software is licensed by the Eclipse Public License 1.0 (EPL-1.0). Before you download any packages you must signify your agreement to the terms of EPL-1.0 by entering a license agreement user name and password." 2015-01-31 23:51:37 fucked up at&t corporatism 2015-01-31 23:54:28 :) 2015-01-31 23:57:32 okwYotjAkvr0, well do they validate user-name & password to anything? 2015-01-31 23:57:43 otherwise it's a meaningless string you give them 2015-01-31 23:58:13 sounds like the equivlant requirement of asking for blood donations as a user agreement 2015-01-31 23:58:13 i never licensed ksh properly myself. usually the distros i use take care of that. i guess this might change with alpine? 2015-01-31 23:58:17 seems b.s. 2015-01-31 23:58:33 no idea 2015-01-31 23:58:36 in the end, you just have to bundle the license in the binary pkg 2015-01-31 23:58:43 ahhh 2015-01-31 23:58:59 yah that's handled by existing alpine packages 2015-01-31 23:59:18 "/usr/share/licenses/" i think