2018-10-01 06:45:13 so:libcrypto.so.43 (missing) 2018-10-01 06:45:24 Any idea what package should I install? 2018-10-01 06:45:44 I tried to install libcrypto1.0 but failed 2018-10-01 06:46:39 pihpah: https://pkgs.alpinelinux.org/contents?file=*libcrypto.so.43*&path=&name=&branch=edge&repo=main&arch=x86_64 ? 2018-10-01 06:48:38 Yeah, I see. 2018-10-01 06:48:55 apk add -U libressl2.7-libcrypto@edge-community 2018-10-01 06:49:04 libressl2.7-libcrypto (missing) 2018-10-01 06:51:40 anyone? 2018-10-01 07:02:43 moin 2018-10-01 07:03:43 Hi, I've an alpine install that I've customized a bit (a data installation with the system om the hdd as well, and some config file changes). I want to have this as a quite install on an usb so that I just boot from the USB and the system will be installed in exactly this way 2018-10-01 07:03:52 what's the best way to do this? 2018-10-01 07:04:38 using dd would just make a huge file. So I'm thinking of using the standard alpine USB install, but then modify it to automatic login and start a script I've written 2018-10-01 07:04:57 the question is if this is the correct way and if so, how can I modify the alpine install ISO? 2018-10-01 08:02:14 Hello... Has 'telnet' (client) been abandoned in recent Alpine Linux versions? 2018-10-01 08:03:22 in short, yes 2018-10-01 08:03:56 in detail, busybox provided a telnet but busybox has since been split so that those extra tools like telnet are in the -extras package 2018-10-01 08:04:49 TBB: Thank you very much. :) 2018-10-01 08:04:53 np 2018-10-01 08:05:38 iveqy: boot media with apkovl 2018-10-01 08:33:46 AinNero: thanks, I'm going to read up on that 2018-10-01 08:40:05 <_ikke_> pihpah: Are you missing edge and stable repositories? 2018-10-01 08:55:52 AinNero: hmm, how did you think that I could use that for automated installs? 2018-10-01 08:56:43 one apkovl with the configuration of the final system 2018-10-01 08:57:06 and a second one, containing the first one and a /etc/local.d autostart script doing the install 2018-10-01 08:57:33 and then you put the second one on the boot media, the initramfs will pick it up, setup the first system 2018-10-01 08:57:53 which runs the script, and uses the first apkovl with setup-disk 2018-10-01 09:00:37 AinNero: nice, thanks 2018-10-01 09:01:11 to another question. How can I make a user to auto login on alpine? I don't want to enter username or password 2018-10-01 09:02:19 would pressing enter to open the actual shell suffice? 2018-10-01 09:02:51 that would be diable in /etc/inittab: tty1::askfirst:/bin/sh or so... 2018-10-01 09:02:55 *doable 2018-10-01 09:03:07 or via the -l option of getty 2018-10-01 09:03:44 no I need a chrome browser to start without any interaction at all 2018-10-01 09:04:40 oh, xorg autologin.. 2018-10-01 09:05:14 mh, neither nodm nor autox are packaged for alpine 2018-10-01 09:05:27 agetty plus login script works just fine for that 2018-10-01 09:05:40 TBB: with startx ? 2018-10-01 09:07:50 TBB: agetty? I guess I should edit /etc/inittab somehow? 2018-10-01 09:08:36 perhaps I need to replace it with mingetty? 2018-10-01 09:11:47 I chose agetty because it has autologin as a specified user and then just added a shell startup script 2018-10-01 09:12:32 TBB: that would work fine. But how has it autologin? I guess agetty is standard in alpine? 2018-10-01 09:12:52 because when I add -a to /etc/inittab I just get error messages 2018-10-01 09:12:55 busybox getty is standard 2018-10-01 09:13:00 never heard of mingetty before 2018-10-01 09:13:02 oh of course 2018-10-01 09:13:09 agetty is not standard but it comes with ... util-linux 2018-10-01 09:13:19 AinNero: mingetty I found in the alpine wiki, but there's no package named mingetty 2018-10-01 09:13:42 which wiki entry? 2018-10-01 09:13:56 keep in mind the wiki was written by users and is sometimes really outdates 2018-10-01 09:14:00 *outdated 2018-10-01 09:14:02 oh sorry 2018-10-01 09:14:07 not the alpine wiki, the arch wiki 2018-10-01 09:14:11 https://wiki.archlinux.org/index.php/Getty 2018-10-01 09:14:31 when the alpine wiki is not enough the archwiki usually works fine 2018-10-01 09:14:38 ... 2018-10-01 09:15:23 you should not check the wiki of an systemd-based distro when researching init behavior of non-systemd distros 2018-10-01 09:16:04 its only useful as illustration how its not done on alpine 2018-10-01 09:16:49 I know, but sometimes you've to take what you can get 2018-10-01 09:17:01 anyway, it worked really nice with agetty 2018-10-01 09:17:14 TBB: after login, how do you usually start x? 2018-10-01 09:17:26 It seems overkill to add bash just to get an .bashrc 2018-10-01 09:17:41 humpf 2018-10-01 09:17:45 If what you can get is completely incompatible then you shouldn't take it 2018-10-01 09:17:59 iveqy: no, no 2018-10-01 09:18:10 even the busybox shells have an mechanism equivalent to bashrc 2018-10-01 09:18:18 but, you dont need an shellrc file here 2018-10-01 09:18:28 because you can directly execute your script from getgty 2018-10-01 09:18:31 * getty 2018-10-01 09:19:02 .bashrc is meant for interactive (user-controlled) use, what you want is an automated, non-interactive script 2018-10-01 09:19:09 ah, it wasn't .ashrc but .profile 2018-10-01 09:19:12 make sense 2018-10-01 09:19:31 wait, .profile is the mechanism for login shells 2018-10-01 09:19:56 yeah, so it works but it would be better if done with agetty 2018-10-01 09:21:02 iveqy: on startup behavior of shells i put up some rambles here https://blog.w1r3.net/2018/07/07/portable-shell-prompt.html 2018-10-01 09:21:49 thanks 2018-10-01 09:37:22 _ikke_: my awaylog notified me of "<@_ikke_> otaku42: nei", but my backlog isn't long enough to see the context you wrote that in...? 2018-10-01 09:38:44 <_ikke_> otaku42: I meant to highlight iron_houzi, but accidentally highlighted you 2018-10-01 09:39:03 _ikke_: ah, ok :) 2018-10-01 10:11:52 Has anyone running mariadb with galera cluster on alpine and can help me to setup? 2018-10-01 10:25:08 how can I prevent alpine to go into sleep ? 2018-10-01 10:25:27 iveqy: you mean the screen becoming dark? 2018-10-01 10:25:29 or rather, how can I prevent the screen from become black when idle 2018-10-01 10:25:31 yes 2018-10-01 10:25:42 I don't think the whole system is sleeping 2018-10-01 10:25:56 X or console? 2018-10-01 10:26:07 X 2018-10-01 10:26:35 something with xset and dpms 2018-10-01 10:26:49 yup. xset -dpms 2018-10-01 10:27:00 thanks 2018-10-01 14:24:13 hi does anyone know the default root password for the alpine linux mini root filesystem? 2018-10-01 14:25:01 I think it's likely unset 2018-10-01 14:26:00 empty 2018-10-01 14:26:59 hrr, perhaps something to do with my version of fakeroot then 2018-10-01 14:27:27 I just took a look at /etc/shadow for it, and it definitely seems to be unset. 2018-10-01 14:27:43 http://dl-cdn.alpinelinux.org/alpine/v3.8/releases/x86_64/alpine-minirootfs-3.8.1-x86_64.tar.gz - in this file 2018-10-01 14:34:46 how comes the minirootfs is asking you for a password? 2018-10-01 14:35:07 weird 2018-10-01 14:35:14 must be a problem with my system 2018-10-01 14:35:18 fakeroot is f 2018-10-01 14:35:43 *is throwing an error about not being able to find libfakeroot-sysv.so 2018-10-01 14:36:04 my only guess 2018-10-01 14:37:00 like this computer has been thrashed for a while, i need to reinstall everything again eventually 2018-10-01 14:54:00 can confirm chroot (non fakeroot works) 2018-10-01 16:09:50 anyone know if theres anyhting very similiar to luci but for alpine linux? 2018-10-01 16:10:43 id kill for a openwrt luci like interface for alpine based router 2018-10-01 16:13:37 alazare619, check openwrt config files and they looking much more simple from luci web gui :) 2018-10-01 16:18:36 alazare619: there is acf 2018-10-01 16:18:42 which is a bit like luci 2018-10-01 16:56:48 hello people, i created an alpine container, inside it i created a user with adduser 2018-10-01 16:57:15 and then i tried "su - myuser" 2018-10-01 16:57:19 but it fails 2018-10-01 16:57:34 can't change directory to /home/test 2018-10-01 16:57:45 can't change directory to / permission denied too 2018-10-01 16:57:56 /home/test is owned by test 2018-10-01 16:58:03 / has insufficient permissions 2018-10-01 16:58:05 known issue 2018-10-01 16:58:18 chmod 0755 / 2018-10-01 16:58:36 omg thanks 2018-10-01 16:59:15 this was an issue with the minirootfs tarballs in general, not sure if it has been fixed meanwhile 2018-10-01 17:37:56 AinNero, got a link to their site? 2018-10-01 17:38:00 unmy, im not sure what you mean? 2018-10-01 17:38:41 hi 2018-10-01 17:39:07 alazare619: there are many afc-* packages, maybe there is an wiki article 2018-10-01 17:41:05 i want to check if the internet is ping-able once per minute and if not, "rc-service networking restart" ... what would the proper place for such a script be in alpine? somewhere in /root/bin/ and called through root's crontab? or is there a more alpine-y way? 2018-10-01 17:45:26 acf-iptables looks promising 2018-10-01 17:47:22 local script running on the background perhaps, rapha? see /etc/local.d/README 2018-10-01 20:02:29 Hello. How should I go with building my own custom iso image based on alpine? I looked up for https://wiki.alpinelinux.org/wiki/How_to_make_a_custom_ISO_image_with_mkimage , but it isn't sufficient for me unfortunately. Is there any possibility like with Debian's ``debootstrap'' in a chroot, doing a modification, building a kernel, and pack an ISO ? 2018-10-01 20:28:43 Hi, i have a problem with tmux. specials chars (éè@<...) display _ 2018-10-01 20:29:08 Any idea plz, problem only with my alpine and tmux 2018-10-01 20:31:28 solved with "tmux -u" but weird... 2018-10-01 20:35:35 Tetsumaki: tmux doesn't uses UTF-8 by default 2018-10-01 20:35:51 you either need to pass -u or have UTF-8 in locale 2018-10-01 20:36:21 Yes but locale is not define in alpine no ? 2018-10-01 20:37:27 /etc/locale.gen and .conf does bot exist 2018-10-01 20:37:30 not 2018-10-01 20:38:40 my bad, not locale, but LC_* vars, specifically, LC_CTYPE 2018-10-01 20:42:25 ok milliardo, alpine is now installed on my dedicated server and it's very sexy ;) 2018-10-01 22:51:06 TBB: that only runs on startup/shutdown of a service. i kept with crontab for now. 2018-10-02 02:51:21 oh ffs 2018-10-02 02:52:07 remind me again why I'm using rsync for doing backups, at all 2018-10-02 02:53:19 don't think this was the first time that a 2 TB backup process just stops doing its work after some 350 GB, and when restarted, doesn't really feel much like doing anything incrementally... 2018-10-02 03:00:38 ohh I am not in a good mood if I have to re-xfer all of that 350 GB, and all this just because of the Ubuntu bastards breaking something from their LTS 2018-10-02 03:54:28 ah well, had to restart the backup... now I'm going back to bed, and once that backup is finished, that workstation's going Alpine for good 2018-10-02 03:56:33 I don't even know what happened to that Ubuntu, it just mounted and immediately unmounted my XFS data disk, and because systemd is a little bitch, the system never finished booting ... booted with the Alpine ISO and mounted with no problems 2018-10-02 04:55:19 How can I uninstall libressl? 2018-10-02 04:55:55 <_ikke_> lots of packages depend on libressl.. 2018-10-02 04:56:10 _ikke_: I'd like to use openssl instead 2018-10-02 04:56:21 <_ikke_> You'd have to recompile everything 2018-10-02 04:57:16 maybe not? this is going into a container: I could do it last and uninstall apk too? the only thing that depends on libressl I have installed I think? 2018-10-02 04:58:29 <_ikke_> https://pkgs.alpinelinux.org/package/edge/main/x86_64/libressl2.7-libssl 2018-10-02 04:58:32 <_ikke_> see 'required by' 2018-10-02 04:59:32 daurnimator: what's causing you issues with libressl? 2018-10-02 04:59:45 mepholic: I need TLS 1.3 support; also libressl is missing plenty of other features 2018-10-02 05:00:12 ah yeah, libressl is a bit clunky 2018-10-02 05:00:46 <_ikke_> daurnimator: You can install them side by side 2018-10-02 05:01:13 I know up until recently (possibly fixed now? I really hope it is...) libressl didn't have any code to validate domain names on ssl certs. it would just accept *anything* signed by a CA. Even for a different domain 2018-10-02 05:01:41 _ikke_: yeah that's what I've done for now. but now trying to minimise my docker container sizes. 2018-10-02 08:31:31 moin 2018-10-02 08:48:43 interesting, libressl has no code for validating domain names? 2018-10-02 08:50:34 now, I can't be sure about this but I think it does have that 2018-10-02 13:23:55 im pretty sure it does 2018-10-02 16:26:25 anyone succeed qemu-system-aarch64 to run on AL with disk image. asking before give up, because cannot get it to recognize disk image at boot 2018-10-02 17:23:12 just to add to my question: qemu-system-arm run quite fine 2018-10-02 20:14:49 Hi there. Does anybody know whether Alpine has been used for embedded devices? I would need to recompile the kernel to switch the scheduling to a pre-emptive model 2018-10-02 20:18:42 Ah, I guess so. HN has a post saying that Alpine started as an embedded Linux OS 2018-10-02 20:29:23 <_ikke_> aren't the kernels pre-emptive by default? (Or am I misunderstanding this) 2018-10-02 20:54:04 chrisrx, the kernel configs are at https://git.alpinelinux.org/cgit/aports/tree/main/linux-vanilla?h=master 2018-10-02 21:02:48 _ikke_: I don't believe so. If all the kernels were fully pre-emptive, any application could cause a lock of the scheduler and use up all of the CPU. This is a "feature" in embedded systems where soft real time is needed, but a massive annoyance in desktop distros 2018-10-02 21:02:53 brebs: thanks, I'll check it out 2018-10-02 21:14:49 chrisrx, Sounds like you want the kernel patches linked to at http://linuxrealtime.org/index.php/Basic_Linux_from_a_Real-Time_Perspective#The_PREEMPT_RT_Patch 2018-10-02 21:32:48 Great stuff, thanks! 2018-10-02 21:38:20 Looking deeper into this, I think that the best approach is to start from semi-scratch with custom kernel, a custom initramfs and busybox. I've played a bit with OpenSuSE Kubic which provides a read-only filesystem (using btrfs subvolumes), and I see this as quite useful for updating the main application which will be running on these deployments 2018-10-02 21:38:40 Hopefully my 15 years of Linux experience will come in handy for this 2018-10-03 18:33:55 wget on stable AL doesn't work with https, probably libressl problem 2018-10-03 18:57:58 mps, missing ca-certificates? or you using some docker image? and wget from busybox or installed from package? 2018-10-03 19:03:32 not busybox wget but wget. busybox wget works 2018-10-03 19:04:40 here is the first line of the error: OpenSSL: error:02FFF002:system library:func(4095):No such file or directory 2018-10-03 19:27:25 mps: try installing ca-certificates 2018-10-03 19:31:51 Fusl: already installed 2018-10-03 19:37:56 Hey guys. I have flagged a package, how long before someone looks at the flaggings? 2018-10-03 19:43:03 <_ikke_> depends on the maintainer 2018-10-03 19:43:32 do maintainers get a message when a package gets flagged? 2018-10-03 19:43:57 <_ikke_> they should 2018-10-03 19:44:23 good to know; thanks 2018-10-03 20:07:11 Yeah, thanks for the explanation. In this instance it is Natanael Copa. 2018-10-03 20:07:53 <_ikke_> He is a bit busy with other priorities, but he'll probably come to it sometime 2018-10-03 20:08:04 <_ikke_> you could also make a PR to bump the version 2018-10-03 20:08:46 I would love to contribute, however I am not sure how to do that. Are able to explain to me how? 2018-10-03 20:08:52 What about testing etc? 2018-10-03 20:09:49 <_ikke_> datamke: https://wiki.alpinelinux.org/wiki/Creating_an_Alpine_package 2018-10-03 21:30:10 Does alpine have a build system ala Fedora Koji or Debian buildd? 2018-10-03 21:31:22 johnnyfive: like abuild? 2018-10-03 21:32:11 Well that would be one component of the system, sure 2018-10-03 21:32:57 i guess there wont be a fancy name for it 2018-10-03 21:33:10 but judging from the automated builds, there is such a thing in place 2018-10-03 21:33:51 AinNero, roger that. That's what i'm searching for, trying to understand how Alpine does it ;) 2018-10-04 06:31:01 moin 2018-10-04 07:08:38 How i use the mongodb.conf yaml file with alpine? 2018-10-04 08:37:32 Fixed. :rolleyes: :D 2018-10-04 08:37:39 Has anyone running mariadb with galera cluster on alpine and can help me to setup? 2018-10-04 08:44:17 <_ikke_> never used it, so I can't help 2018-10-04 08:45:35 Bodenhaltung: didn't you asked this last friday as well? 2018-10-04 08:46:00 iveqy: Yes, still looking for help. 2018-10-04 08:46:25 oh, well too bad. If there where someone else that asked that last friday we could have paired you up :) 2018-10-04 08:47:26 my experience with alpine is that the community is very helpful, but it's so small that you're practically left to your own for the more exotic challenges you might have. That's something to take into account when choosing alpine 2018-10-04 08:48:09 then on the other hand, mariadb will work the same on alpine as on any other linux distribution I guess, so look for documentation for other distros and try to adjust that to alpine 2018-10-04 08:48:29 I know, so i try to complie mariadb with galera on my own but it feels wrong. 2018-10-04 08:49:05 I want to switch all my servers to alpine, so i have a few challenges (for me) :D 2018-10-04 08:49:45 Bodenhaltung: yeah, I understand you. I compile sqlite3 by myself just to get readline support. I guess the only thing to do is to push it upstream so that alpine improves for the next person 2018-10-04 08:50:24 I don't know any good way of differentiate programs that are compiled with different flags in apk though. Should there be one sqlite3 and one sqlite3-readline? 2018-10-04 08:51:23 Bodenhaltung: btw. if we're talking servers, I guess you're using s6? I've the same challenge in front of me :) 2018-10-04 08:52:19 iveqy: I vote for one sqlite3, readline is a common use :) 2018-10-04 08:52:27 iveqy: s6? 2018-10-04 08:54:59 Bodenhaltung: yeah, for process supervision. I'm a bit unsure but I don't think alpine will reboot a service that has crashed 2018-10-04 08:59:58 iveqy: I use monit for that. :D Or a guardian process like pdns_server. 2018-10-04 09:00:43 I switch from a wild mix between Ubuntu (14-18), Debian 9 and Gentoo...i am tired. :D 2018-10-04 09:00:56 I guess iveqy means Amazon S6 instances, Bodenhaltung 2018-10-04 09:02:13 Bodenhaltung: I just finished my migration from various Debian versions to stable alpine ;) It was quite a bit of work, but now I'm very pleased with the setup 2018-10-04 09:02:14 Ah, no, i dont like aws...i use private clouds, openstack 2018-10-04 09:04:53 misterunknown: no, I mean s6 https://skarnet.org/software/s6/ 2018-10-04 09:05:25 that's actually a talk on the alpine mailing list about replacing current init system with s6-init. I'm looking forward to that :) 2018-10-04 09:06:21 misterunknown: and good to know that it has worked out well for you. I'm currently managing a few ubuntu servers and planning on replacing them with debian or alpine. 2018-10-04 09:06:22 iveqy: Ah ok. Didn't know of s6 as an init-system yet. 2018-10-04 09:11:37 iveqy: Well, if you use Ubuntu then you might don't want to switch to debian, because the software versions are quite old sometimes. I personally prefer alpine because of the simplicity, not only in the design of the distribution, but also with packaging things. I formerly struggled a bit with debian packaging, because it's very unintuitive. With alpine, in contrast, I packaged nrpe and icinga in almost 2018-10-04 09:11:38 no time. 2018-10-04 09:13:53 fwiw, i'm currently redoing my personal server. the previous one is based on debian (which i am using for almost everything since v4.x), running on standard pc hardware. the new one is running on alpine, on a pcengines apu2. 2018-10-04 09:14:21 I've inherited the ubuntu server from a former employee and they are running 12.04. So I don't think debian will be a problem for me :). I'm coming from an embedded world and really appreciate alpine, have been running it on my laptop the past year. Unfortunately it's quite buggy 2018-10-04 09:15:32 so far i like what i get from alpine pretty much. many things feel new for me, but not "completely unfamiliar". and no systemd anywhere - yay! 2018-10-04 09:20:16 _ikke_: Any news on the python thing? 2018-10-04 09:21:22 <_ikke_> Haven't heard anything about what caused it. Will try to poke a little 2018-10-04 09:22:33 Would be awesome, thanks! 2018-10-04 09:43:18 <_ikke_> Sheogorath[m]: Ok, apparently the APKBUILD was incorrect 2018-10-04 09:43:41 <_ikke_> package is being rebuild now 2018-10-04 09:43:59 Nice! Thanks for fixing! 2018-10-04 09:44:17 <_ikke_> (I didn't fix it ;-) ) 2018-10-04 10:02:46 iveqy, sqlite already links to readline, what is the issue? https://git.alpinelinux.org/cgit/aports/tree/main/sqlite/APKBUILD contains --enable-readline 2018-10-04 11:41:18 <_ikke_> Sheogorath[m]: It has been built now, including subpackages 2018-10-04 11:41:53 Thanks for the heads up 2018-10-04 12:32:06 brebs: hmm you're right. Wonder why upp arrow to get the last command doesn't work for me. Maybe there's something else that I'm missing? 2018-10-04 12:32:14 brebs: does up arrow work for you? 2018-10-04 12:33:05 Yes. Maybe your /etc/inputrc is bad? 2018-10-04 12:33:23 the usual reason for that is that readline is missing, but ldd does in fact show that sqlite3 is linked to readline 2018-10-04 12:33:55 brebs: maybe, but I haven't edited that file and I've no idea on how it should look like 2018-10-04 12:34:06 upp arrow works for my shell (zsh) just fine 2018-10-04 12:36:28 iveqy, "echo $TERM" - is $TERM set to something weird? 2018-10-04 12:38:31 Also, "ldd /usr/lib/libreadline.so.7", to check that its link to libncursesw is valid. 2018-10-04 12:38:31 brebs: $TERM is set to st-256color, but I get the same behviour with cterm and then $TERM is set to xterm 2018-10-04 12:39:25 Try e.g. TERM=linux 2018-10-04 12:39:51 yeah it is. It links to /usr/lib/linbcursesw.so.6 that is a symlink to libncursesw.so.6.1 2018-10-04 12:40:50 the same with: TERM=linux sqlite3 tmp.db 2018-10-04 12:42:11 Is this within a desktop environment? apk add xev, run xev as normal user, and check it shows the "Up" key being pressed ;) 2018-10-04 12:42:23 yeah it is, just a moment 2018-10-04 12:42:28 iveqy: did the up-arrow work in your self-compiled version of sqlite3? 2018-10-04 12:43:28 brebs: keycode 111, Up 2018-10-04 12:45:07 otaku42: good thinking. I'm downloadning and recompile sqlite3 again to verify with a fresh build 2018-10-04 12:45:59 otaku42: no, it doesn't work with ./configure --enable-readline && make in a fresh sqlite3 version either. Neither with st nor xterm 2018-10-04 12:46:05 tricky problem this... 2018-10-04 12:47:19 st is weird, see e.g. https://git.suckless.org/st/file/FAQ.html enable-keypad (Off) Some systems need this to enable arrow keys 2018-10-04 12:47:43 Can you try with e.g. mate-terminal or xfce4-terminal? 2018-10-04 12:48:07 isn't it enough to try it with xterm? 2018-10-04 12:49:15 brebs: unfortunately I can't try with mate since it won't start for me. It just silently returns -1 2018-10-04 12:56:31 sorry, my computer frozed. Did I miss something? 2018-10-04 12:56:56 <_ikke_> no 2018-10-04 12:58:09 iveqy, How about lxterminal :) 2018-10-04 12:58:51 ... which is VTE-based 2018-10-04 13:00:22 ... as is sakura and tilda, as other terminal emulators in Alpine to try. 2018-10-04 13:01:58 ah, sakura, used to be my go-to terminal emulator 2018-10-04 13:03:12 lxterminal had the same behaviour. Up arrow just shows ^[[A 2018-10-04 13:03:29 so it does not seem to be a terminal thing? 2018-10-04 13:03:31 st works with alpine sqlite without problem on my machines 2018-10-04 13:03:43 and with xst 2018-10-04 13:03:47 lxterminal has $TERM set to xterm btw 2018-10-04 13:04:06 mps: thanks, at least we know it's a problem with my machine and not something general 2018-10-04 13:04:14 I've a lenovo yoga 920 btw 2018-10-04 13:04:34 and $TERM is st-256color 2018-10-04 13:04:50 <_ikke_> Do you have the terminfo files for that terminal? 2018-10-04 13:07:02 _ikke_: don't know, how do I check that? 2018-10-04 13:07:24 ls -l /etc/terminfo/x/xterm 2018-10-04 13:07:45 ... which is owned by ncurses-terminfo-base package 2018-10-04 13:07:50 brebs: i think thats what stat is for 2018-10-04 13:09:14 AinNero, sorry, I'm not following you, how would stat help? 2018-10-04 13:10:14 brebs: I've that 2018-10-04 13:10:16 like, ls'ing a single file? 2018-10-04 13:10:23 but it's owned by root 2018-10-04 13:10:40 iveqy: owned by root is fine if its readable by everyone 2018-10-04 13:11:11 Ah OK, "use your program of choice to check whether the file exists", then ;) 2018-10-04 13:11:37 brebs: that would be test -e then :P 2018-10-04 13:18:16 AinNero: yeah, it is 2018-10-04 13:18:30 anyone has any more ideas on how to debug this? 2018-10-04 13:21:09 Run setup-keymap (as root) 2018-10-04 13:21:17 <_ikke_> iveqy: try infocmp 2018-10-04 13:21:27 What desktop environment is this in? 2018-10-04 13:21:55 <_ikke_> iveqy: (regarding terminfo) 2018-10-04 13:25:12 Also, I'd try it with bash instead of zsh 2018-10-04 13:26:18 _ikke_: what would I get out from infocmp, it seems to be just a lot of definitions 2018-10-04 13:26:25 brebs: dwm 2018-10-04 13:26:51 brebs: the same with bash 2018-10-04 13:27:34 brebs: but setup keymap shouldn't be needed since xev gave 111, up? 2018-10-04 13:30:15 iveqy: yeah, its not the keymap 2018-10-04 13:30:25 its an thing with readline and the terminfo db 2018-10-04 13:30:56 Something to try: https://bbs.archlinux.org/viewtopic.php?pid=1212410#p1212410 2018-10-04 13:33:01 brebs: you can run sqlite and readline in a terminal emulator without any shell at all 2018-10-04 13:34:07 AinNero: seems so, I wondered if it would be possible to reinstall readline or terminfo but that seems a bit tricky since there's many packages depending on it 2018-10-04 13:37:50 I would suspect dwm. Try on a tty, outside of Xorg. 2018-10-04 13:39:18 brebs: i appreciate that you are trying to be useful, but the arrow key does work in other application, than its probably not dwm 2018-10-04 13:39:39 <_ikke_> always good to rule things out though 2018-10-04 13:39:53 It's quicker to just check, rather than speculate ;) 2018-10-04 13:41:23 the arrow key also works for me even if i mess up $TERM 2018-10-04 13:43:11 it's the same if I try it outside of X 2018-10-04 13:43:17 Is Alpine being run in a VM/container? Is GNU Screen, or SSH, involved? 2018-10-04 13:43:35 no 2018-10-04 13:44:09 it's a native install ḿy laptop 2018-10-04 13:45:30 Run "/bin/ash", and try sqlite3 in that shell, rather than zsh. 2018-10-04 13:48:49 same result, I don't think it's shell related 2018-10-04 13:51:13 iveqy: try Ctrl-p 2018-10-04 13:55:01 mps: just prints ^P 2018-10-04 13:55:35 iveqy, do you have the libhistory package installed? Is created by https://git.alpinelinux.org/cgit/aports/tree/main/readline/APKBUILD 2018-10-04 13:57:16 Although, installing libhistory and then trying sqlite3, the Up arrow still works OK for me. 2018-10-04 13:58:36 iveqy: readline installed? apk info -e readline 2018-10-04 14:05:45 mps: readline is installed 2018-10-04 14:06:45 brebs: yeap I've libhistory.so.7.0 2018-10-04 14:08:00 Try uninstalling libhistory. Did it come from a custom compilation of readline? 2018-10-04 14:08:16 no, it's installed with apk 2018-10-04 14:08:29 apk del libhistory 2018-10-04 14:08:37 I tried to uninstall readline but that's not really that easy since a lot of application depends on it 2018-10-04 14:09:04 Just uninstall libhistory. No current Alpine package depends on it. 2018-10-04 14:09:31 just libreadline-dev 2018-10-04 14:09:37 but I removed and reinstalled both 2018-10-04 14:09:57 no improvement 2018-10-04 14:11:08 Did this problem go away when you custom-compiled a package? 2018-10-04 14:14:50 just a thought: if the issue would be zsh-related, and one starts ash within a zsh, wouldn't the problem be "passed through" from zsh down to ash? 2018-10-04 14:15:42 that's meant re: 15:45:30 < brebs> Run "/bin/ash", and try sqlite3 in that shell, rather than zsh. 2018-10-04 14:16:11 Good point, maybe. It's another thing to test, if iveqy still has motivation :) 2018-10-04 14:20:07 so I created a new user and gave him the ash shell in /etc/passwd, logged in outside of X and triend 2018-10-04 14:20:10 tried* 2018-10-04 14:20:13 still the same issue 2018-10-04 14:24:18 iveqy, did you solve this problem previously (with a custom compilation), or has this problem always existed? 2018-10-04 14:56:15 Hi all. Is it possible to configure Alpine to prefer IPv6? I don't see /etc/gai.conf (which is used by glibc for this) 2018-10-04 15:00:59 It look like it is not possible: http://git.musl-libc.org/cgit/musl/tree/src/network/lookup_name.c#n352 :( 2018-10-04 15:02:40 citrin, In DNS? Could install unbound, and tell that to use ipv6 only. 2018-10-04 15:04:55 1. for most applications selection between v6 and v4 address for dual-stack host defined by order of results in getaddrinfo(3). 2018-10-04 15:05:42 2. ipv6 only is not an option for me now given that most hosts are ipv4-only 2018-10-04 15:09:20 citrin▸ a 6-to-4 gateway could help with that. everything would show up as ipv6 to your host, whether it's ipv6 or ipv4. 2018-10-04 16:18:51 Hi all - I'm trying out Alpine for my docker images, and I need to install both python's Pillow package (needs gcc, et al.), AND geos. Pillow now installs just fine, but geos gives me a missing package error. Any idea why? I'm using the alpine3.7 image. 2018-10-04 16:21:23 geos is listed in the package db: https://pkgs.alpinelinux.org/package/edge/testing/x86/geos 2018-10-04 16:31:02 majd, That sounds like a python2 vs python3 mixup 2018-10-04 16:31:32 apk search pillow 2018-10-04 20:24:16 Does alpine contain any non-free software? Like for example, would it pass FSF RYF certification? 2018-10-04 20:25:03 https://wiki.alpinelinux.org/wiki/Aports_tree#non-free 2018-10-04 20:25:34 hmm, nice. What about the kernel though? 2018-10-04 20:27:29 Not sure what you're looking for - hopefully helps: https://git.alpinelinux.org/cgit/aports/tree/main/linux-vanilla?h=master 2018-10-04 20:30:39 also: https://git.alpinelinux.org/cgit/aports/tree/main/linux-firmware?h=master 2018-10-04 20:31:01 thank you for the answers. Basically I am going to run Alpine on a Libreboot laptop and want to make it "pure" like with Parabola. :D 2018-10-04 20:33:35 Interesting. Was there any particular concern? 2018-10-04 20:37:16 I was thinking Alpine was more like Arch where anything gets into repositories and blobs are in the default kernel. Now I see the situation is different and acceptable for my use. 2018-10-04 20:39:08 plantroon, Im prety sure your laptop is full of hardware blobs :D but I admire the need to make it less bloby :P 2018-10-04 20:41:45 unmy: with Alpine, I will even ditch the harddrive, so there goes one of the firmwares :D 2018-10-04 20:42:46 plantroon, what else, soft drive? :D or network boot? 2018-10-04 20:43:20 unmy: sdcard and I have most of my stuff in the cloud (my own cloud) 2018-10-04 20:44:43 Just a thought but: Is it still a cloud when it's on your own computers? Wasn't the definition of cloud someone else's computer? ;) Think about it 2018-10-04 20:44:46 the cloud using hard drives :D sdcard, that still need some controler to work and low level stuff about we both have no idea :D 2018-10-04 20:45:49 Sheogorath[m], I could call it cloud if all these devices would be connected together in my on private networ in few locations :D 2018-10-04 20:46:06 s/on/own 2018-10-04 20:46:45 plantroon, remember about good quality sd cards and encryption! :) 2018-10-04 20:47:21 unmy: I encrypt the apkovl and the SD card is not in the laptop at all times because sleep mode fails for some reason if it's in xD 2018-10-04 20:48:12 plantroon, ah so you booth it and plug it out and all working in ram, right? 2018-10-04 20:48:32 unmy: yea, I love how fast it is xD 2018-10-04 20:49:02 and "cloud" to store/read the settings? 2018-10-04 20:49:18 or just data 2018-10-04 20:51:37 I don't run Alpine yet. I used to run it like 2 years ago. But yeah, that's the plan. I will probably store the settings on the sdcard and the data in the cloud. 2018-10-04 21:01:00 I love how simple the OS is. I used it to set up a computer powering old TVs to display a web page all the time. Win XP was giving problems with such high uptimes. I also used it for CDN+DNS+VPN over 4 geographically separate cheap VPSes. And I use it on my Raspi because I can't stand the slow sdcards. It's really good for run-from-RAM use cases. 2018-10-04 21:29:00 AinNero, _ikke_ alright, this is really embarrasing. But I found the sqlite3 up arrow problem 2018-10-04 21:29:58 instead of ldd /usr/bin/sqlite3 I did a ldd `which sqlite3` and it turns out that I'd an installation of sqlite3 without readline support in /usr/local/bin 2018-10-04 21:30:05 so it was totally my own fault. 2018-10-04 21:30:12 thanks for helping me 2018-10-04 21:30:31 So that was a manual compilation, outside of abuild ;) 2018-10-04 21:31:54 brebs: yeah, must be one of my failed compilations since when I didn't found sqlite3 in the repo in the first place 2018-10-04 21:32:08 <_ikke_> Nice you found it 2018-10-04 21:32:19 and sorry for not tagging you in my thank you. I didn't remembered the r in your username and couldn't find you 2018-10-04 21:32:30 I'm very thankful for you help as well 2018-10-04 21:33:44 With that kinda problem, there's so many things to suspect/check :) 2018-10-04 21:58:26 plantroon: I run mail, web and xmpp server on arm32 SBC and the micro sd card, and it is not slow, works quite fine 2018-10-04 22:00:07 mps: probably bad SD card then. I always use class 10 but cheap ones :( 2018-10-04 22:02:30 yes, class 10 because it is faster 2018-10-04 22:03:24 but with sd cards you newer know when it will damaged, that is great mystery for me 2018-10-04 22:03:47 s/will/will become/ 2018-10-04 22:11:25 mps: yea, that's why I prefer not to use them. Only for cold storage. I already had 2 or 3 sd cards break in my RPi. No symptoms, just dead overnight. (or when I actually needed to use the thing for something) 2018-10-04 22:14:15 I'm thinking to add SSD disk over USB adapter to my chromebook, alpine also, and try to work to see if I'll be satisfied with speed 2018-10-04 22:15:20 and I have arm SBC board with SSD adapter built in but didn't had time to try SSD disk on it 2018-10-05 06:48:59 moin 2018-10-05 08:45:25 Has anyone powerdns on alpine with mrtg graph statistic running? 2018-10-05 11:15:25 Hi. I'm trying to build realtek drivers like this https://pastebin.com/raw/ThktC6mr 2018-10-05 11:17:16 but it fails with *** No rule to make target 'modules'. Stop. 2018-10-05 11:18:05 *apk add 2018-10-05 11:36:06 lenarhoyt, can't you simply use the rtl8187 drivers that are already in the kernel? i.e.: find /lib/modules -name rtl81\* 2018-10-05 11:53:05 lenarhoyt: apk add linux-vanilla-dev 2018-10-05 12:09:56 Hi all - I'm trying to install geos on alpine linux (3.7), but I keep getting a missing package error. Anyone know what's going on? The package is listed on the package directory: https://pkgs.alpinelinux.org/package/edge/testing/x86/geos 2018-10-05 12:18:39 there's no geos package in 3.7, you're looking at the package in edge 2018-10-05 12:20:15 This should help: https://wiki.alpinelinux.org/wiki/Alpine_Linux_package_management 2018-10-05 12:24:06 I'm running the Alpine VIRTUAL distribution. Perhaps the drivers are not included? 2018-10-05 12:24:20 are they available in the default repository? 2018-10-05 12:24:34 why run that and not standard? 2018-10-05 12:25:40 you usually wouldn't run the -virt flavor outside a VM guest 2018-10-05 12:26:17 danieli it's running in a VM. I'm just using it to power a device that is incompatible with the host 2018-10-05 12:26:25 right, alfa 2018-10-05 12:26:29 I have alfas too 2018-10-05 12:26:40 :) exactly 2018-10-05 12:26:53 beware that it [the driver] *might* not compile right with musl libc 2018-10-05 12:27:18 alpine lacks a lot of stuff to be a potential daily driver for me, unfortunatly 2018-10-05 12:27:21 +e 2018-10-05 12:29:07 lenarhoyt, e.g. rtlwifi.ko is owned by the linux-vanilla package. In "standard" Alpine, anyway. 2018-10-05 12:29:16 mm, looks like it 2018-10-05 12:30:01 rtl8187.ko too 2018-10-05 12:30:19 lenarhoyt: but yeah, you're using a slimmed down kernel, probably without it 2018-10-05 12:32:49 Ah, the difference is "virt" vs "vanilla" in the configs at https://git.alpinelinux.org/cgit/aports/tree/main/linux-vanilla?h=master - install the standard distribution, to get the rtl* kernel modules. 2018-10-05 12:33:50 indeed 2018-10-05 12:34:15 i installed "apk add linux-firmware-rtlwifi wireless-tools wpa_supplicant" but the device does not show up in iwconfig 2018-10-05 12:34:28 after reboot 2018-10-05 12:34:30 did you modprobe it? 2018-10-05 12:34:30 Or - presumably linux-vert is installed, instead of linux-vanilla. Try to install linux-vanilla. 2018-10-05 12:34:31 ah, hmm 2018-10-05 12:34:58 er, linux-firmware-rtlwifi doesn't seem to exist in 3.7 2018-10-05 12:35:28 it was a single package in 3.7 afaik\ 2018-10-05 12:35:33 and got split up with 3.8 2018-10-05 12:35:42 https://pkgs.alpinelinux.org/packages?name=*linux-firmware-rtlwifi*&branch=v3.7 2018-10-05 12:35:58 no packages match *rtlwifi* either 2018-10-05 12:36:12 "linux-firmware-rtlwifi-20180615-r2 x86_64 {linux-firmware} (custom:multiple) [installed]" 2018-10-05 12:36:34 that's in edge 2018-10-05 12:36:37 are you using edge or 3.7? 2018-10-05 12:36:48 possibly from "http://ftp.halifax.rwth-aachen.de/alpine/v3.8/community" 2018-10-05 12:37:07 so you're running 3.8? I think you said 3.7 earlier 2018-10-05 12:37:28 https://pkgs.alpinelinux.org/contents?file=&path=%2Flib%2Ffirmware%2Frtlwifi&name=linux-firmware&branch=v3.7&repo=main&arch=x86_64 2018-10-05 12:37:50 Kernel module: https://pkgs.alpinelinux.org/contents?file=rtl8187.ko&path=&name=&branch=v3.7&repo=main&arch=x86_64 2018-10-05 12:37:57 ah, I see, my bad 2018-10-05 12:39:39 when did I say 3.7? it is in /main 2018-10-05 12:40:14 if edge is 3.8, then I'm using edge 2018-10-05 12:40:17 That was a person before you joined, mentioned that version ;) 2018-10-05 12:40:18 I'll go get some more coffee, and back up until I can read 2018-10-05 12:40:31 s/back up/back off/ 2018-10-05 12:42:21 in principle, the alfa should automatically show up in iwconfig after installing that package, right? 2018-10-05 12:42:33 after rebooting or `modprobe`-ing, yes 2018-10-05 12:46:48 Has anyone here seen GNU make act oddly running with musl? $(filter-out ...) is supposed to be a built in, but it’s giving me not fount errors as if it was external 2018-10-05 12:53:19 Also, if anyone could offer a well reasoned argument why it’s a bad idea to build an RPM for a distribution (ie CentOS) on another distribution (ie. alpine)??? 2018-10-05 12:53:30 danieli: `modprobe rtl8187` outputs an "not found" error 2018-10-05 12:56:59 lenarhoyt, Install the linux-vanilla package, to have rtl8187.ko 2018-10-05 12:58:45 linux_dr, depends what the RPM contains. If it's programs dynamically compiled against musl, then they won't work on CentOS, because CentOS uses glibc. 2018-10-05 13:04:15 I have an application that requires a large number of open files that I am packaging for Alpine... what is the 'most correct' way to modify the per user and max open files limits? 2018-10-05 13:04:43 In this case, it’s in golang, which (in all cases i’ve seen) produces only static binaries. But i’m having to even justify why we shouldn’t use the RPM (with cross-compiled binary) built on MacOS... in my mind, the packaging system is PART OF the distrobution, and except for the special case of RHEL and CentOS, that are designed to be drop in replacements for each other, you shoukdn’t Mix RPMs between distros 2018-10-05 13:04:59 brebs: I installed linux-vanilla, but rtl8187 does not seem to be included. 2018-10-05 13:05:44 hosom, apk add linux-pam, then add a config file in /etc/security/limits.d/ 2018-10-05 13:05:50 ahhhh 2018-10-05 13:06:33 brebs: thanks, I didn't realize that wasn't in by default, I was a bit baffled when I found no directory at /etc/security/limits.d 2018-10-05 13:06:54 linux-dr, go sounds perfect for the static binaries to be produced by musl. 2018-10-05 13:07:36 hosom, apk add shadow - I put some tidbits on https://wiki.alpinelinux.org/wiki/PulseAudio 2018-10-05 13:09:21 shadow is needed, to replace /bin/login (originally from busybox) with a login executable which will use linux-pam. 2018-10-05 13:09:50 brebs: golang’s compiler is self-hosted. So it’s static too... so not on musl.. it’s GNU make on Alpine with BusyBox that’s acting wonky 2018-10-05 13:10:08 lenarhoyt, find /lib/modules -name rtl\*.ko 2018-10-05 13:11:31 brebs: /lib/modules/4.14.69-0-vanilla/kernel/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8187.ko 2018-10-05 13:11:53 lenarhoyt, reboot into that kernel version 2018-10-05 13:12:41 I'm getting a weird ENOENT error when accessing a file on disk. Here's the debugging info for the file: https://gist.github.com/sabrehagen/468dbee30367bc7f88e2c93e1b01edb9 2018-10-05 13:12:41 and here's an strace for its execution https://gist.github.com/sabrehagen/4a3e7047b499c797a7fb316d6bb4e5c6 2018-10-05 13:12:53 what might be causing this? 2018-10-05 13:13:31 linux_dr, dunno, but you can install e.g. util-linux, to replace the busybox tools, if you have evidence/suspicion that it's busybox at fault. 2018-10-05 13:14:55 brebs: how do I do that? 2018-10-05 13:15:48 lenarhoyt, The "reboot" command should be sufficient ;) 2018-10-05 13:16:29 brebs: I did reboot 2018-10-05 13:17:42 "modprobe: FATAL: Module rtl8187 not found in directory /lib/modules/4.14.69-0-virt" 2018-10-05 13:17:53 oh, vanilla/virt 2018-10-05 13:18:03 so how do I change to vanilla? 2018-10-05 13:18:19 reboot alone did not change it 2018-10-05 13:19:27 Has anyone else seen GNU make act wonky in Alpine or with musl and BusyBox? 2018-10-05 13:20:44 lenarhoyt, Ideally, you could apk del linux-virt, but I don't know for sure whether that's safe to do, whether there's a conflict with linux-vanilla. Could look in /boot/, and edit /boot/extlinux.conf to use vanilla instead of virt, assuming that vanilla installed OK. 2018-10-05 13:22:57 For instance, i’ve seen: “/bin/sh: not found: filter-out” ... where $(filter-out ...) is a GNU make builtin function 2018-10-05 13:23:30 brebs: thanks. it works! 2018-10-05 13:23:58 lenarhoyt, Which method worked? 2018-10-05 13:24:17 I’ve seen the same error for $(shell ...) too 2018-10-05 13:27:45 $(shell ) is supposed to call /bin/sh, of course 2018-10-05 13:28:41 brebs: no risk, no fun. I simply apk del'ed linux-virt :) 2018-10-05 13:31:39 Great, good to know that the easy method is safe to use :) 2018-10-05 13:33:40 linux_dr, I expect there's countless examples of make being used, at https://git.alpinelinux.org/cgit/aports/tree/ 2018-10-05 13:37:20 bebs: yes, it mostly works... but I get these weird, unexplained errors 2018-10-05 13:42:02 linux_dr, Looking at Alpine's make, interestingly it's not compiled against guile, dunno if that matters to you - build log is at https://pkgs.alpinelinux.org/package/edge/main/x86_64/make 2018-10-05 13:47:36 brebs: I am not using guile EXPLICITLY, but might be using some features it provides 2018-10-05 13:58:12 how to force apk to show more descriptive error or some codes instead of just "1 error" 2018-10-05 14:01:22 "apk fix", will help 2018-10-05 14:02:18 apk also writers errors and warnings to stderr 2018-10-05 14:02:35 brebs: apk fix is the problem for which I ask question 2018-10-05 14:02:53 as opposed to regular messages that go to stdout 2018-10-05 14:03:45 TBB: how to see stderr messages 2018-10-05 14:04:00 Things like the same file existing in more than one package, is a packaging issue. I see some of these errors myself, and will be submitting patches in future... 2018-10-05 14:04:21 shell redirection. apk blah blah > stdout.txt 2> stderr.txt, that kind of thing 2018-10-05 14:05:00 warnings don't seem to mess with the exit code, errors seem to be counted and returned in it 2018-10-05 14:06:53 TBB: redirection doesn't help, got empty file 2018-10-05 14:08:18 actually error is: (1/1) [APK unavailable, skipped] Reinstalling elfutils-dev (0.168-r1) 2018-10-05 14:09:22 anyone got a go to cheap msata drive 2018-10-05 14:09:23 while 'apk info -e elfutils-dev' shows that it is installed 2018-10-05 14:09:35 just need like a 32 gig to toss in my new router at home to run some lxc containers on 2018-10-05 14:11:37 maybe elfutils-dev is screwed up on mirror? 2018-10-05 14:14:48 I'd ordinarily say your index is not in sync with the one on the server 2018-10-05 14:15:48 TBB: how to fix index file 2018-10-05 14:16:02 let's not rush into that yet 2018-10-05 14:16:29 another explanation is that the mirror you're using has a sync problem 2018-10-05 14:17:01 tried two mirrors with same result 2018-10-05 14:17:39 now I will try with default cdn 2018-10-05 14:23:01 doesn't work even with dl-cdn.alpinelinux.org 2018-10-05 22:04:29 how do I create a "raw, qcow2, vhdx, vdi, or vmdk" for a remote server? 2018-10-05 22:04:52 trying to use Alpine with this? https://blog.digitalocean.com/custom-images/ 2018-10-05 22:21:47 leonardus: for raw and qcow2 use qemu-img 2018-10-05 22:22:16 will i have to install openssh server first? 2018-10-05 22:24:21 well, don't know. where do you have to create these images 2018-10-06 09:40:46 leonardus: you set up a vm on your local computer with alpine iso file, set up alpine, shut down the vm, take the vm image file and upload it to DO 2018-10-06 09:41:18 Fusl: will i need to set up the openssh server? 2018-10-06 09:41:24 yeah 2018-10-06 09:41:29 ah ok i see 2018-10-06 09:41:38 take a look at this: http://xor.meo.ws/CnL3wG5S5a_P-t6Sjus1w3ceMXfu7YxL.txt 2018-10-06 09:41:38 thank you 2018-10-06 09:41:51 this is how i set up my alpine images with proxmox 2018-10-06 09:42:31 i throw in the ISO file, boot the installer up, execute four commands: `setup-interfaces`, `ifup eth0`, `wget `, `sh ` 2018-10-06 09:44:49 you might need to change `sda` to `vda` or `hda` depending on your hypervisor/vm configuration 2018-10-06 09:55:01 Fusl: leonardus: I do that in similar way on gandi.net VM services 2018-10-06 09:56:12 virtual disks becomes xvda on Gandi instead of sda or vda 2018-10-06 09:56:53 that shouldnt be an issue though since fstab contains UUIDs instead of block device paths 2018-10-06 10:15:28 Fusl: I usually make locally image, archive it to tar and upload to 'cloud', make virtual disk there, make filesystem, untar archive and set needed paramaters for boot 2018-10-06 10:16:39 whats the point of creating a tarball when you can do setup-alpine there directly? 2018-10-06 10:16:46 so cannot rely on UUIDs, and I prefer FS labels 2018-10-06 10:17:47 tarballs are for future VMs, install Alpine once and clone it when needed 2018-10-06 19:29:27 Hm, having trouble installing on a PC Engines apu2c4 over serial. I see the ISOLINUX prompt, then it does nothing 2018-10-06 19:30:41 azarus: you might have to enable the linux console on the serial port explicitly 2018-10-06 19:30:54 jn__: yep, how would I do that? 2018-10-06 19:31:25 try something like console=ttyS0 after the image name, on the isolinux prompt 2018-10-06 19:32:36 works, thanks! 2018-10-06 19:34:20 cool :) 2018-10-06 19:53:56 hello 2018-10-06 19:54:09 <_ikke_> hi 2018-10-06 19:54:34 may I ask for help with installing AL on VirtualBox? I am stucj 2018-10-06 19:54:36 *stuck 2018-10-06 19:54:49 <_ikke_> You don't have to ask for permission to ask a question, just ask the question :-) 2018-10-06 19:54:55 roger 2018-10-06 19:55:00 <_ikke_> No guarantee you'll get an answer though ;-) 2018-10-06 19:55:33 so, seems i cannot install the VirtualBox guest additions 2018-10-06 19:55:58 it keeps not finding them, althought i have followed all the tutorials and instructions found everywhere 2018-10-06 19:56:10 and in fact, at the provided URL, they seems to not be there 2018-10-06 19:56:22 <_ikke_> What did you try? 2018-10-06 19:56:35 i was following this: https://wiki.alpinelinux.org/wiki/VirtualBox_guest_additions 2018-10-06 19:56:47 <_ikke_> https://pkgs.alpinelinux.org/package/edge/community/x86_64/virtualbox-guest-additions 2018-10-06 19:56:53 so the url should have been https://nl.alpinelinux.org/alpine/edge/testing/ 2018-10-06 19:57:09 <_ikke_> It's in community now, so no need to add testing anymore 2018-10-06 19:57:30 ok let me try 2018-10-06 19:57:31 <_ikke_> and because alpine no longer uses grsec, you should just use virtualbox-guest-additions 2018-10-06 19:59:02 ok seems the guest are now installed 2018-10-06 20:00:05 worked! 2018-10-06 20:00:08 so many thanks 2018-10-06 20:00:37 <_ikke_> :-) 2018-10-06 20:00:40 <_ikke_> you're welcome 2018-10-06 22:08:18 hey hey folks. I'm working on assessing CVE-2018-17456. It doesn't look like a patch is out. Is there anyone here who can give me a ETA? 2018-10-06 22:08:36 I would really appreciate it - gotta patch all the things. 2018-10-06 22:09:14 <_ikke_> probably next week 2018-10-06 22:09:53 any idea on day? 2018-10-06 22:10:16 <_ikke_> nope 2018-10-06 22:10:31 ok. Where's the best place for me to monitor for updates? 2018-10-06 22:13:08 <_ikke_> Normally a ticket is created on bugs.alpinelinux.org, but that hasn't happened yet 2018-10-06 22:18:52 OK, thank you very much, I'll watch there. 2018-10-06 22:19:38 <_ikke_> I'm creating one, hold on 2018-10-06 22:20:29 <_ikke_> https://bugs.alpinelinux.org/issues/9511 2018-10-06 22:22:13 thanks! 2018-10-06 23:56:46 hey all, hopefully it's a good weekend for everyone. I'm trying to find any documentation on api.alpinelinux.org, I need to find a package name by a binary (IE `gcc`) 2018-10-06 23:58:44 ...or if there is a better way to find packages I'm looking for. Thanks! 2018-10-07 00:28:07 I guess I could use APKINDEX for now 2018-10-07 00:29:13 pkgs.alpinelinux.org content search 2018-10-07 03:52:47 TBB: right, this is HTML, I'm trying to do programmatic search. 2018-10-07 11:04:19 hi all, what docker log driver to persist logs accross docker rm foo / docker run --name foo ? if no answer, is there any known way to install systemd on Alpine linux so we can use the journald driver for docker ? all insight appreciated, thanks 2018-10-07 11:06:41 syslog will do, sorry for the noise 2018-10-07 14:20:22 Is anyone using alpine to host a NAS? Tempted to try again as it isn't using gsecurity any more, which seemed to cause issues with Docker when I last tried 2018-10-07 14:21:33 I'm currently using Ubuntu but it's a lot heavier than it needs to be for a simple NAS with a ZFS pool. One thing I could never work out is how to use alpine linux in diskless mode and then upgrade to a newer version 2018-10-07 14:23:40 <_ikke_> bpye: been a while since I did that, but the wiki should have instructions how to do that 2018-10-07 14:25:16 _ikke_ Hm, https://wiki.alpinelinux.org/wiki/Upgrading_Alpine#Upgrading_Alpine_Linux_on_other_removable_media_.28such_as_CF.2FUSB.29 ? 2018-10-07 14:25:46 If so, not too sure how I missed that before 2018-10-07 14:26:18 <_ikke_> Yeah, I believe so 2018-10-07 14:27:13 I kinda wish Alpine could do A/B upgrades - kinda like ChromeOS or Android does these days. It seems like it shouldn't be hard for a diskless install.. 2018-10-07 14:28:11 Because unless I'm mistaken to upgrade I can't reimage online? 2018-10-07 14:28:41 <_ikke_> I recall being able to do it online 2018-10-07 14:28:46 <_ikke_> update the boot media and then reboot 2018-10-07 14:29:30 Ah okay that's not so bad then 2018-10-07 14:43:23 My other question, which is something I couldn't make work before, can you put your lbu and apk cache on a ZFS dataset? 2018-10-07 14:43:58 <_ikke_> No experience with that 2018-10-07 14:45:58 Fair enough, I kinda settled before for putting them on the uSD I booted from and then just making sure that was synced (rsync) with a ZFS dataset, it works well enough I suppose 2018-10-07 16:31:22 Hm, somehow I've ended up with my root filesystem being ro when services are started... 2018-10-07 18:49:53 bpye: did you check /var/log/messages ? 2018-10-07 18:50:03 or dmesg, usually the reason is in there 2018-10-07 18:51:05 Worked it out, for some reason rc-update add was adding to sysinit not default? 2018-10-07 18:52:00 ... adding what? 2018-10-07 18:52:17 so was it just an timing issue? 2018-10-07 18:56:38 hi 2018-10-07 18:56:52 can i use alpine as my everyday linux? 2018-10-07 18:57:01 no 2018-10-07 18:57:10 only two days in a row maximum 2018-10-07 18:57:27 so far, i've been using it only as FROM:alpine in dockerfiles 2018-10-07 18:59:07 dorei, Yes (I am), but it's more hassle of course, being developer-focused. The main omission (currently) for desktop users is probably Nvidia's proprietary drivers. Might be possible to use them, I haven't tried (yet). 2018-10-07 19:35:07 AinNero Sorry, openssh and one of my services 2018-10-07 19:35:28 Gotten Alpine Linux to run with DO's new custom image feature https://github.com/benpye/alpine-droplet 2018-10-07 19:43:41 brebs: I tried to install nvidia support about six months ago but give up 2018-10-07 19:49:38 What was the blocker? https://wiki.alpinelinux.org/wiki/Running_glibc_programs and https://github.com/AdelieLinux/gcompat look promising. 2018-10-07 19:50:46 didn't manage kernel module to work properly 2018-10-07 19:51:51 gcompat works for simple programs but I suspect it would help with proprietary 'blobs' 2018-10-07 19:53:07 built kernel module successfully but it spits a lot of errors when loading so I didn't tried userspace at all 2018-10-07 19:54:13 and forgot about all that mess, Alpine works quite fine without it, because I'm on dual video card machine 2018-10-07 19:54:39 intel driver works fine and is enough for my use case 2018-10-07 20:03:09 Maybe there's an incompatibility between proprietary nvidia and Alpine's kernel configuration. Just speculation. I will investigate, sometime. 2018-10-07 20:04:41 >:( 2018-10-07 20:05:40 if people could stop buying nvidia cards if nvidia continues to be an total ass in regard of cooperating with OS developers 2018-10-07 20:06:31 Yeah, that's why I promised myself that my next gaming laptop will contain a Radeon card :) 2018-10-07 20:07:34 I stopped buying nvidia five or six years ago, and intel three years ago 2018-10-07 20:08:08 However, realities and all that... e.g. https://bugs.alpinelinux.org/issues/9408 2018-10-07 22:24:21 i'm trying to compile wine @ alpine and i'm getting an exotic error :( 2018-10-07 22:25:41 https://pastebin.com/9DCCmwbz 2018-10-07 22:25:43 any ideas? 2018-10-07 22:27:08 Since this error is about PIE objects, I'm going to guess the nopie.patch from the aports wine package might help 2018-10-07 22:27:43 do you know where I could find that patch? 2018-10-07 22:27:57 In the aports repo 2018-10-07 22:27:58 https://git.alpinelinux.org/cgit/aports/ 2018-10-07 22:28:20 community/wine/no-pie.patch 2018-10-07 22:28:27 thanks a lot pardis, i'm giving it a try :) 2018-10-07 22:28:30 Or you could just use the wine package built from that 2018-10-07 22:28:35 Unless you need a specific version of wine 2018-10-07 22:32:13 yeah, -no-pie did the trick :) 2018-10-07 22:32:19 btw, out of curiosity, what is PIE ? 2018-10-07 22:36:07 dorei, short version: it's good for security. Long version: https://en.wikipedia.org/wiki/Position-independent_code :) 2018-10-07 22:37:55 oh, pie is pic 2018-10-07 22:39:29 pie is pic on steroids :) 2018-10-07 22:40:42 i dont care about security anymore, everytime i do i become depressed :( 2018-10-07 22:42:05 well, I tend sometimes to agree with you, but still trying to stay on security race 2018-10-07 22:43:24 so many microcontrollers, nvrams, flashes, etc embedded in modern cpus/motherboards 2018-10-07 22:45:04 hack them or made your own if you like better security 2018-10-07 22:46:06 since i've learned about intel me, i'm unplugging my devices after shutdown :S 2018-10-07 22:47:24 I switched to arm machines, but without illusion that they are secure 2018-10-08 06:19:00 moin 2018-10-08 14:18:03 Hi, I'm trying to install Awesome WM on Alpine Linux ... but the package "xf86-video-nouveau-1.0.15-r3" seems to be missing (error : ERROR: unsatisfiable constraints:) : I to get it ? 2018-10-08 14:23:50 do you use edge repositories? 2018-10-08 14:28:27 r3 is only available on edge, 3.8 cointains r1 and 3.7 r0, but you should get automatically the correct version 2018-10-08 14:30:16 OK I have modified my apk conf with edge and I could get it. thanks 2018-10-08 14:33:10 hostname: dev-box: Host not found 2018-10-08 14:33:10 xauth: unable to link authority file /home/babonet13/.Xauthority, use /home/babonet13/.Xauthority-n 2018-10-08 14:33:10 xauth: unable to link authority file /home/babonet13/.Xauthority, use /home/babonet13/.Xauthority-n 2018-10-08 14:33:12 X.Org X Server 1.20.1 2018-10-08 14:33:14 X Protocol Version 11, Revision 0 2018-10-08 14:33:16 Build Operating System: Linux 4.14.39-0-vanilla x86_64 Alpine Linux 2018-10-08 14:33:18 Current Operating System: Linux dev-box 4.14.69-0-vanilla #1-Alpine SMP Mon Sep 10 19:33:23 UTC 2018 x86_64 2018-10-08 14:33:20 Kernel command line: BOOT_IMAGE=vmlinuz-vanilla root=UUID=26f38daa-766f-49f1-abb3-a0f7e8fc9d15 modules=sd-mod,usb-storage,ext4 nomodeset quiet rootfstype=ext4 initrd=initramfs-vanilla 2018-10-08 14:33:22 Build Date: 30 August 2018 02:57:08PM 2018-10-08 14:33:24 2018-10-08 14:33:26 Current version of pixman: 0.34.0 2018-10-08 14:33:28 Before reporting problems, check http://wiki.x.org 2018-10-08 14:33:30 to make sure that you have the latest version. 2018-10-08 14:33:32 Markers: (--) probed, (**) from config file, (==) default setting, 2018-10-08 14:33:34 (++) from command line, (!!) notice, (II) informational, 2018-10-08 14:33:36 (WW) warning, (EE) error, (NI) not implemented, (??) unknown. 2018-10-08 14:33:38 (==) Log file: "/var/log/Xorg.0.log", Time: Mon Oct 8 14:32:57 2018 2018-10-08 14:33:40 (==) Using config directory: "/etc/X11/xorg.conf.d" 2018-10-08 14:33:42 (==) Using system config directory "/usr/share/X11/xorg.conf.d" 2018-10-08 14:33:44 (EE) 2018-10-08 14:33:46 Fatal server error: 2018-10-08 14:33:48 (EE) no screens found(EE) 2018-10-08 14:33:50 (EE) 2018-10-08 14:33:52 Please consult the The X.Org Foundation support 2018-10-08 14:33:54 at http://wiki.x.org 2018-10-08 14:33:56 for help. 2018-10-08 14:33:58 (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information. 2018-10-08 14:34:00 (EE) 2018-10-08 14:34:02 (EE) Server terminated with error (1). Closing log file. 2018-10-08 14:34:04 xinit: giving up 2018-10-08 14:34:06 xinit: unable to connect to X server: Connection refused 2018-10-08 14:34:08 xinit: server error 2018-10-08 14:34:10 deallocvt: can't open console 2018-10-08 14:34:12 How to start to solve this issue ? 2018-10-08 14:39:41 try to move .Xauthority to .Xauthority.bak f.e and logout and try again 2018-10-08 14:45:38 I'm trying to use alpine to run an rasp pi with two IP addresses. The primary is used for a caching resolver (for my network), the secondary is used for an authoritative resolver 2018-10-08 14:46:27 I've only got two issues yet, but they're proving intractable. Using awall, how do I allow access to the caching resolver to a network (specifically, 10/24), and 2018-10-08 14:47:04 access to the authoritative server to only a small set of machines (internal and external)? 2018-10-08 14:47:09 babonet13: did you added user to video group 2018-10-08 14:47:45 @mps : no 2018-10-08 14:48:43 I had similar problem and solved it adding user to video group. not sure if that will work in your case but try and see 2018-10-08 14:49:26 I run awesome without problem on few machines and with different AL releases 2018-10-08 14:49:43 @mps : is it a already existing group or you have to create this "video" group ? 2018-10-08 14:49:50 Awesome WM, of course 2018-10-08 14:50:16 I think that group exists by default 2018-10-08 14:51:01 if you install any xf86-server package group is there 2018-10-08 14:51:12 @mps : I do not found such a "video" group on my fresh installed 3.8.1 AL distro 2018-10-08 14:51:30 cat /etc/group | grep video 2018-10-08 14:52:07 yep : I just find it : thanks very much : ill will try asap 2018-10-08 14:55:05 @mps : Sadly I does not work for me ;-( 2018-10-08 14:58:30 babonet13: don't know, last time I had a similar problem was about two years ago and can't remember how I solved it 2018-10-08 14:58:39 how do you start X 2018-10-08 14:59:30 btw, do you have udev and dbus installed and started 2018-10-08 14:59:50 @mps : by entering startx in the terminal 2018-10-08 15:00:31 no : I do not have udev and dbus installed ... I will solve this issue asap 2018-10-08 15:00:59 iirc they both needed for X to work properly 2018-10-08 15:06:54 babonet13: I forgot to mention that when you add user to new group that user need exit/logout and login again to be in the group 2018-10-08 15:07:02 I have now both bdus and udev installed AND running, but I've always have the very same problem 2018-10-08 15:13:53 My .Xauthority directory is empty ... and I suppose it's a problem ... How to (re-)initiate it ? 2018-10-08 15:15:40 .Xauthority is a file and not directory, so you can safely remove it 2018-10-08 15:30:20 If I enter "awesome" in the prompt, I got this error : 2018-10-08 15:30:39 E: awesome: main:656: cannot open display (error 5) 2018-10-08 15:31:20 you need to put awesome in .xinitrc 2018-10-08 15:32:19 well, you can do that differently but I prefer .xinitrc because I put there some other programs to start before awesome 2018-10-08 15:42:06 It is already done (Putting awesome in .xinitrc) ... 2018-10-08 15:42:24 Here is the error message I got now 2018-10-08 15:43:24 wtf 2018-10-08 15:43:26 use a paste service 2018-10-08 15:43:50 I don't know why but each of these messages pings me on my client 2018-10-08 15:44:10 why on earth did you send those as NOTICE 2018-10-08 15:44:18 ACTION headdesks a lot 2018-10-08 15:44:49 Sorry, I will find another way to send error messages ... 2018-10-08 15:45:10 babonet13: use wgetpaste or another paste service and send the link 2018-10-08 15:45:26 oh yeah it makes sense if it's all notices 2018-10-08 15:45:35 (makes sense that i was pinged) 2018-10-08 15:50:39 @maxice8 : Here it is : https://privatebin.net/?ef38086ed6ed3de6#E0BcoVcgz2E8U5Mpyka6TU0CX6z/tqJHgAbNVqgCDAA= 2018-10-08 15:54:33 babonet13: nowadays you don't need to run 'X -configure' if you do not have speacial hardware, X autoconfigures itself 2018-10-08 16:03:17 babonet13, Useful error messages can also be in /var/log/Xorg.0.log and /var/log/messages 2018-10-08 16:06:43 @brebs : Here are my logs : https://privatebin.net/?a7a41dc5d01c98ea#qUZKnSOmPJcP3W13stNvehApCRu/zWKEKfhY6UJhntQ= 2018-10-08 16:08:43 Look in /dev/dri/ at the group permissions - you probably need to be in the "video" group. 2018-10-08 16:29:00 hi there 2018-10-08 16:29:37 I'm trying to build seaweedfs on alpine, but have the following error while doing `go get github.com/chrislusf/seaweedfs/weed` 2018-10-08 16:29:43 /usr/lib/gcc/x86_64-alpine-linux-musl/8.2.0/include/stdint.h:9:26: error: no include path in which to search for stdint.h 2018-10-08 16:30:06 do you know if it's fixable? 2018-10-08 16:44:04 apk install musl-dev 2018-10-08 16:44:07 done 2018-10-08 16:44:09 thx 2018-10-08 17:37:06 Howdy. I'm still searching for the build system used by alpine. Not apkbuild, but the system that automates building new sources, signing, and then publishing to the mirrors. Is this open source somewhere? 2018-10-08 17:40:21 Hm, am I being silly? I have dd'd the alpine-extended ISO to a USB drive and I'm trying to setup diskless mode with my APK cache on the same device 2018-10-08 17:41:18 Is this wrong, should I instead be using setup-bootable to install to the USB drive and then doing it? I can't find a good place to stick my APK cache as it stands, it doesn't mount anything to /media/usb and /dev/sde1 is the OS partition which I would like to immutable.. 2018-10-08 17:43:09 <_ikke_> bpye: the iso is isofs, which is read-only 2018-10-08 17:43:26 bpye, "apk add --help" shows the "--no-cache" option, which sounds handy for you. 2018-10-08 17:43:45 <_ikke_> so yeah, you would need setup-bootable if you want to be able to write to the usb disk 2018-10-08 17:44:23 _ikke_: I'm fine with that, I want my APK cache + lbu on a different partition, I just wanted to know if I should be using setup-bootable or something instead to get the nessecary partition layout, I guess - |alpine image|APK cache + lbu|Free space| 2018-10-08 17:44:26 johnnyfive: I wish I could publish my terrible collection of bash scripts for that exact purpose 2018-10-08 17:46:22 TBB, do you run the system? 2018-10-08 17:46:46 johnnyfive: I'm not sure about this at all, but have a look at the aports git, it has at least some scripts for some distro maintaining purposes 2018-10-08 17:47:15 It'd be nice if setup-bootable could run on non Alpine systems if it's the proper solution 2018-10-08 17:47:17 johnnyfive: I maintain another platform that's an offshoot of Alpine, so I had to write tools to do it by myself 2018-10-08 17:47:24 Ah, ok. I am just in the process of writing such a pipeline but in Go, and wanted to utilize whatever was out there already. 2018-10-08 17:47:47 I was wondering if the code behind pkgs.alpinelinux.org was available anywhere? 2018-10-08 17:48:30 TBB, well what i'm doing might benefit both of us. Not sure how interested you are in replacing that system in your platform, but if you're curious I'd love to compare notes, in the hopes of making this better 2018-10-08 17:48:58 The part i'm really focusing on right now is the signing bit, specifically 2018-10-08 17:49:20 johnnyfive: and additionally, when I started work on those tools it wasn't clear whether the base would be Alpine or something else so I had to write support for rpm based distros as well; I haven't found motivation to do debs yet 2018-10-08 17:49:52 yea, I do rpm+deb atm. APK too, but it's bash scripts and I hate it 2018-10-08 17:50:04 is there something specific about signing that's on your mind? 2018-10-08 17:50:59 (it's probably obvious I don't hate bash at all, one just has to be really careful with it, set -euo pipefail is a good start) 2018-10-08 17:51:17 I want to move calling abuild-sign into code, preferably w/o calling to a shell tool. For RPM/DEB GPGME allows me to do this, but I haven't found if that's viable with APK 2018-10-08 17:52:05 Hi all, I'm having trouble booting alpine on a LXC container, my interface ''eth0'' is always down whenever I reboot, anyway to automate that ? 2018-10-08 17:52:09 I *might* have to re-implement abuild-sign into a Go library, but i'd prefer not to 2018-10-08 17:54:14 abuild-sign is a shell script, and not even a very long one 2018-10-08 17:54:33 oh, wow I guess I should've investigated that first. I just assumed it was more custom C 2018-10-08 17:56:47 but 2018-10-08 17:56:58 consider your time frame 2018-10-08 17:57:45 TBB in which context? 2018-10-08 17:57:55 Alpine package management will be going through some important changes, I can't say how quickly exactly but my uneducated guess is within half a year 2018-10-08 17:58:28 Anybody has any clue on where to point me for taking care of my issue ? 2018-10-08 17:58:48 Ah! Is there any official information on this that I can forward to my team? We're not aware of this, and even without a timeframe any info is good 2018-10-08 17:59:37 KH405: helping you wit hthat would require better understanding of lxc than what I have, but you don't have anything in that container setting up the networking so you either have to change that or do it from the outside 2018-10-08 17:59:47 KH405, Bringing an interface up at bootup is the job of /etc/init.d/networking 2018-10-08 18:00:24 johnnyfive: I think you should direct that question on -devel unless one of devs catches that question here 2018-10-08 18:00:44 good point, ty for your help TBB 2018-10-08 18:01:18 brebs, /etc/init.d/networking I've got nothing there, is it normal ? 2018-10-08 18:01:58 TBB, my debian containers is configured exactly the same and it works, so i doubt it's a problem from the container itself 2018-10-08 18:03:18 KH405, sounds like you want: apk add openrc 2018-10-08 18:04:12 Your Debian containers boot up using systemd or sysvinit, presumably. 2018-10-08 18:04:46 Yeah, i guess you are right, what do I do once i download openrc 2018-10-08 18:04:49 I never used that 2018-10-08 18:05:38 I mean, /etc/init.d exists, but it's empty 2018-10-08 18:06:55 init scripts are currently being split into -openrc packages 2018-10-08 18:08:02 could i just create /etc/init.d/networking and put it ifup eth0 ? 2018-10-08 18:08:28 I wouldn't even go that far 2018-10-08 18:08:35 well, depends on your use case really 2018-10-08 18:09:14 if you start your container at boot, for example, you could just do something like lxc exec -- udhcpc eth0 2018-10-08 18:09:24 (but that's an lxd command really) 2018-10-08 18:09:54 instead of installing kilobytes upon kilobytes of bloat into your container ;) 2018-10-08 18:09:59 I use lxc, would it work ? 2018-10-08 18:10:09 lxc containers should use openrc 2018-10-08 18:11:24 KH405: probably, I just don't know how; I find lxd to be a so much better commandline util to handle lxc containers that I haven't learned the lxc commands 2018-10-08 18:11:33 AinNero: once again, depends on your use case really 2018-10-08 18:11:57 lxc containers are usually expected to do stuff like sysctl and network config and mount setup themselves 2018-10-08 18:12:30 Yeah, id prefer to handle the networking of the container inside the container itself 2018-10-08 18:13:10 so, alpine-base should be installed 2018-10-08 18:13:16 there's of course cloud-init 2018-10-08 18:13:35 which is referred to on lxc manuals 2018-10-08 18:13:57 TBB: < TBB> instead of installing kilobytes upon kilobytes of bloat into your container ;) 2018-10-08 18:14:12 now you are coming up with python 2018-10-08 18:14:34 for something thats done more efficiently using the existing apkovl mechanism 2018-10-08 18:14:47 once again, depends on the use case 2018-10-08 18:14:51 im dissatisfied with your argumentation here 2018-10-08 18:15:41 now, I don't do large scale lxc deployments for a living, but I'd imagine cloud-init makes managing numerous containers, each with their own init systems, simpler 2018-10-08 18:15:47 So once openRC is installed, what should I do ? 2018-10-08 18:16:10 enable the networking service 2018-10-08 18:16:20 It is 2018-10-08 18:16:39 TBB: i know cloud-init because of working with hetzner cloud VM's 2018-10-08 18:17:05 KH405: and then launch the container with regular /sbin/init entrypoint 2018-10-08 18:17:58 eth0 is still down 2018-10-08 18:18:23 AinNero: by the way, you surely noticed the wink at the end of "kb's upon kb's" :) 2018-10-08 18:18:38 TBB: i didnt 2018-10-08 18:19:00 KH405: yeah, usually, when connecting machines to the network, you need to do network configuration 2018-10-08 18:19:17 setup-interfaces or manually with /etc/network/interfaces 2018-10-08 18:19:35 They are set up 2018-10-08 18:19:51 eth0 is just down on each reboot 2018-10-08 18:20:33 As soon as i ifup eth0 everything works fine 2018-10-08 18:20:38 But it is a pain to do on each reboot 2018-10-08 18:21:26 unless ... 2018-10-08 18:22:07 ? 2018-10-08 18:22:45 (excuse me for doing this) 2018-10-08 18:22:48 ^ 2018-10-08 18:22:49 | 2018-10-08 18:24:09 Yeah, I could give it a shot, but it's kinda weird that alpine is the only distro that I need to implement commands off the lxc "node" directly 2018-10-08 18:24:24 For it to have the interface up 2018-10-08 18:25:25 I'll admit again that my knowledge of lxc is insufficient; I was in a hurry doing something like that and just concluded that's the quickest way :/ 2018-10-08 18:28:23 But there obviously must be another way if you're not in a container ^^' 2018-10-08 18:32:21 I just added a script with a couple of lines of execute-this-within-the-container to /etc/local.d/setup-container-networking.start 2018-10-08 18:32:47 it's not ideal, I fully agree it'd be better done from within the container itself 2018-10-08 18:33:55 Could you execute that script from within the container itself ? 2018-10-08 18:41:43 Hello people, so I just installed alpine in a VM and wanted to install a desktop environment now (preferrably LxQt, but couldn't find it, so I choose Gnome). When trying to install gnome like described in the wiki, apk doesn't find the gnome-base package. Can you give me any hint on how to install a working desktop environment (X and lxdm are already working fine)? 2018-10-08 18:44:14 liketechnik: path of least resistnce on Alpine: xfce4 2018-10-08 18:44:39 which package do I have to install? 2018-10-08 18:45:07 KH405: sorry for the delay, had to have a look. I notice that my container has all the necessary stuff under /etc/init.d/ 2018-10-08 18:45:20 liketechnik: would you like to take a guess? :) 2018-10-08 18:45:28 xfce4? :D 2018-10-08 18:46:07 correct! 2018-10-08 18:46:50 TBB: Could I create something under /etc/init.d ? 2018-10-08 18:47:02 I mean create a script and just drop it ther e 2018-10-08 18:48:22 this seems to get quite technical... there -is- a running instance of udhcpc but the container has no IP address 2018-10-08 18:48:26 Then I have a working desktop environment now :) Thank you TBB 2018-10-08 18:49:30 liketechnik: it works, but be prepared to do some tweaking to it at some point if you like conveniences like USB media 2018-10-08 18:51:37 Hm, I've used setup-bootable but I have a broken install somehow 2018-10-08 18:52:25 I think I'm just missing the point some how, I tried to have sde1 be the alpine image, and sde2 be apk cache + lbu, however it wouldnt let me use sde2 for anything because it wasn't being mounted? 2018-10-08 18:59:21 Can't beleive I can't get Eth0 to start on boot ... 2018-10-08 19:02:23 KH405: run "ps auxw" inside your container 2018-10-08 19:02:50 do you see anything with dhcp in the output? 2018-10-08 19:03:14 1 root 0:00 /sbin/init 26 root 0:00 /bin/login -- root 27 root 0:00 /sbin/getty 38400 tty2 28 root 0:00 -ash 37 root 0:00 ps auxw 2018-10-08 19:03:22 eww, that formatting lol 2018-10-08 19:03:49 that's okay, it's more IRC friendly than several lines of output, that's frowned upon in IRC 2018-10-08 19:04:21 so you did edit your /etc/network/interfaces, correct? 2018-10-08 19:04:48 I didin't had too, default is fine 2018-10-08 19:05:00 I mean, there is auto eth0 2018-10-08 19:05:06 And eth0 is configured fine 2018-10-08 19:05:12 It just isn't starting on boot 2018-10-08 19:06:40 it seems there's no dhcp client running, so ... in the container, "rc-update add networking default" and then in the host restart the container 2018-10-08 19:07:05 Aight, giving this a shot 2018-10-08 19:09:00 It worked! 2018-10-08 19:09:11 Weird that I had to install a package for that, but it worked! 2018-10-08 19:10:22 now, could you help me understand why my container won't get an IP address? :) 2018-10-08 19:10:34 (it gets an IPv6 one, that's probably why) 2018-10-08 19:11:50 Weird, what do you use to manage your container? 2018-10-08 19:14:12 lxd, as I find its commandline tool simply cleaner to use 2018-10-08 19:14:52 Yeah, I probably won't be of much help then 2018-10-08 19:15:06 There is definietly a command to give it a static Ipv4 Ip 2018-10-08 19:15:21 my host is ubuntu though, and it does have an ipv6 address as well as ipv4, so it probably prefers ipv6 or something 2018-10-08 19:17:10 Yeah, i use LXC trough Proxmox, it has a pretty neat GUI, and you can easily set an IP adress 2018-10-08 19:17:28 Don't know about LXD, trough GUI :s 2018-10-08 19:18:38 I mean CLI * 2018-10-08 19:21:48 Sorry :S 2018-10-08 19:22:50 no worries, I find that the container works without an IPv4 address just fine, and I only have local needs for it :) 2018-10-08 19:25:23 and now, I'll do something non-Alpine for the rest of the evening, thirteen and a half hours of working in/on it should be enough for a day :D 2018-10-08 19:26:24 Yeah ^^ Have a nice day :P 2018-10-08 19:26:28 Thanks for the help :P 2018-10-08 19:26:52 I'm still weirded having to download OpenRC for Eth0 to boot up automatically :P 2018-10-08 19:26:56 But it works so yay! 2018-10-08 20:12:39 i suppose alpine crosscompiles kernels for arm ? is it nevertheless possible to build kernel modules with the shipped kernel/headers? 2018-10-08 20:12:54 <_ikke_> No, alpine ever cross-compiles 2018-10-08 20:13:00 <_ikke_> everything is native 2018-10-08 20:13:27 <_ikke_> s/ever/never/ 2018-10-08 20:14:04 ok, didn't expect that 2018-10-08 20:14:57 _ikke_: sure? 2018-10-08 20:15:34 <_ikke_> yes, sure 2018-10-08 20:15:34 https://git.alpinelinux.org/cgit/aports/tree/main/linux-rpi/APKBUILD#n50 2018-10-08 20:16:01 so it's apkbuilds are prepared for crossbuilds, but alpine doesn' do it ? that way? 2018-10-08 20:16:26 <_ikke_> I don't know the details, but that might be necessary to bootstrap first 2018-10-08 20:18:01 <_ikke_> Well, I must say that it's not built on an actual rpi, we have xgenes that we use for building arm 2018-10-08 20:24:20 Does ansible know about lbu? 2018-10-08 20:24:55 <_ikke_> No idea 2018-10-08 21:03:43 is alpine good for desktop use yet? 2018-10-08 21:29:21 leonardus, I'd say it's good if you're a dev at heart, and can identify and submit improvements, to help shape its future :) 2018-10-08 21:30:06 does visual studio code work? 2018-10-08 21:30:28 i don't know if i'm enough of a dev to change any of the software myself 2018-10-08 21:33:31 Looks like that's a binary, tied to glibc (rather than musl). You can run a glibc-based distro from within Alpine using e.g. docker/chroot, but probably not worth it. 2018-10-08 21:37:48 gcompat works well 2018-10-08 22:45:17 is package maintenance done over email? the maintainer for the i2pd* packages offered to hand control over to me simply because i'm more knowledgable about the distro than he is 2018-10-08 22:45:35 i'm subscribed to the i2pd release feed so i can do my best to keep it up to date 2018-10-08 22:45:49 (also i wanted to introduce some other packages to alpine while i was at it) 2018-10-08 22:47:03 "Alternatively you can also create a diff (patch) of the changes you made and send this patch to the alpine-aports mailinglist. " 2018-10-08 22:47:10 ok i think that answers my question 2018-10-09 02:26:38 opal you just have to get an alpine developer to publish the packages on your behalf. aports mailing list, github, sending it on a USB stick to a dev with cookies, it doesn't matter 2018-10-09 02:27:40 kaniini: thats simple enough thanks 2018-10-09 02:28:18 i prefer snickerdoodles 2018-10-09 02:51:36 lol 2018-10-09 06:30:39 moin 2018-10-09 06:44:55 niom 2018-10-09 06:48:34 Has anyone logcheck running? Or is there a similar software for alpine? 2018-10-09 07:05:19 Hi Team, I'm trying to install Awesome WM on Alpine Linux. I've followed those instructions : https://github.com/babonet13/AlpineLinux/blob/master/Awesome/Install.txt 2018-10-09 07:05:32 ... but I've got this problem : https://privatebin.net/?38aa61b2679da8c5#f3ca62DvNvNuQi5muOzbvvwFbsskWKFU1c0mRuvcDFU= (Do I miss something ?) 2018-10-09 07:23:35 Bodenhaltung: apk add logcheck ? 2018-10-09 07:48:47 otaku42: Nah, it has problems, "egrep: unrecognized option: text", "run-parts: unrecognized option: list" and so one...i am tired to fix that, next problems are regex rules, so i have removed logcheck. :D 2018-10-09 07:49:12 egrep: bad regex '^\w{3} [ :0-9]{11} [._[:alnum:]-]+ kernel:( \[ *[[:digit:]]+\.[[:digit:]]+\])? [[:alnum:]]+: media error \(bad sector\): status=0x[[:xdigit:]]+ { DriveReady SeekComplete Error }$': Inval 2018-10-09 07:49:12 id contents of {} 2018-10-09 07:49:14 Something like that " 2018-10-09 07:49:24 uh, sry copy paste fail 2018-10-09 07:49:57 Bodenhaltung: you could file a ticket for that package, so that the maintainer could fix it? 2018-10-09 07:50:37 otaku42: Not sure that my solutions for that is the "correct" solution. 2018-10-09 07:51:01 Bodenhaltung: let the maintainer decide ;-) 2018-10-09 07:51:08 Hmm, xD 2018-10-09 08:30:51 ah,haha,gnu grep, mäh xD 2018-10-09 14:59:56 qq: how do I install a package from the testing repo? I usually run apk add --update --no-cache for all others. 2018-10-09 15:00:54 <_ikke_> Rapture: You need to add the url to /etc/apk/repositories 2018-10-09 15:01:11 <_ikke_> Note that mixing stable and edge is not supported 2018-10-09 15:04:40 _ikke_: follow up Q: where would I find the URL of the repo? https://pkgs.alpinelinux.org/package/edge/testing/s390x/py-boto3 2018-10-09 15:15:49 <_ikke_> Just use the mirror already used in the repositories file, but replace main with testing 2018-10-09 18:03:36 i downloaded the recent 3.8.1 iso 2018-10-09 18:03:46 put it on an usb device 2018-10-09 18:04:06 and ended up with an grub prompt that does nothing, and im not sure what to enter 2018-10-09 18:04:29 and the wiki does not provide documentation for this 2018-10-09 18:04:32 <_ikke_> if you see grub its not alpine :) 2018-10-09 18:04:57 <_ikke_> make sure you actually boot from the usb disk 2018-10-09 18:05:02 GRUB is used for UEFI booting, isn't it? 2018-10-09 18:05:42 its on the usb stick... 2018-10-09 18:05:47 <_ikke_> hmm 2018-10-09 18:05:53 there is no other disk attached 2018-10-09 18:06:09 <_ikke_> I've never seen alpine boot with grub from the usb 2018-10-09 18:06:14 same 2018-10-09 18:06:47 maybe its an firmware-internal grub 2018-10-09 18:06:56 <_ikke_> alpine-extended-3.8.1-x86_64.iso 2018-10-09 18:06:58 <_ikke_> this iso? 2018-10-09 18:07:09 md5 fce142f64dafa8e863d37ac25182aae7 2018-10-09 18:07:11 yeah 2018-10-09 18:07:27 <_ikke_> When I boot that, I get isolinux 2018-10-09 18:07:32 booting via qemu takes me to isolinux 2018-10-09 18:07:35 <_ikke_> right 2018-10-09 18:09:18 <_ikke_> maybe pardis is right that it boots grub when using uefi 2018-10-09 18:10:59 Its InsydeH20 BIOS V1.18 2018-10-09 18:11:11 afaik it predates uefi 2018-10-09 18:11:17 ill investiage.. 2018-10-09 18:11:22 *investigate 2018-10-09 18:15:21 i figure the firmware doesn't like the usb stick 2018-10-09 18:15:37 i wrote the iso to the disk that i intended to install on, and that boots finely 2018-10-09 18:15:50 gonna copy the modloop to ram and then overwrite that disk.. 2018-10-09 18:16:08 <_ikke_> Why did you get grub then?\ 2018-10-09 18:18:23 good question. 2018-10-09 18:39:56 insydeh2o is always uefi i thought 2018-10-09 18:54:44 DMI bios_date is 10/17/2011, dmesg shows no traces of efi 2018-10-10 04:29:53 hello, i'm having some issues with wifi connections from alpine. tried to connect using wpa_supplicant, but it keeps throwing errors like "nl80211: Driver does not support authentication/association or connect commands" 2018-10-10 04:30:30 i've also tried resorting to networkmanager, but that fails to see my wifi adapter at all. 2018-10-10 04:49:29 what brand is the adapter? 2018-10-10 04:51:31 maybe you're missing firmware? 2018-10-10 05:46:09 Michcioperz: I had/have the firmware, this card's driver just requires wext and i needed to edit the wpa_supplicant init script 2018-10-10 05:46:22 i have it working now 2018-10-10 05:51:53 okay that makes sense 2018-10-10 05:54:33 by chance, is there a way to prevent dhcpcd from running on startup? i can't seem to find it in /etc/init.d 2018-10-10 05:59:55 udhcpc is run by networking 2018-10-10 06:02:25 actually it is run by ifup which is run by networking service 2018-10-10 06:02:40 and it depends on /etc/network/interfaces 2018-10-10 06:02:56 ah, okay. then nevermind 2018-10-10 06:02:58 at least that's what I found out from my usage 2018-10-10 06:03:30 i'll just disable the ethernet adapter there 2018-10-10 06:03:50 I think you could try removing just the auto line 2018-10-10 06:03:59 judging by networking's init.d 2018-10-10 06:12:54 one more question: what's responsible for naming interfaces things like eth0 and wlan0? my wifi adapter seems to be called "eth1" 2018-10-10 06:48:39 nevermind that last question 2018-10-10 07:10:17 moin 2018-10-10 07:28:32 Strange, i see with "LANG=C egrep -r '^\w{3} [ :0-9]{11} [._[:alnum:]-]+ cron\.info crond\[[0-9]+\]:.+$' /var/log/messages" the lines, but logcheck does not exclude them, has anyone a idea what could be the problem? 2018-10-10 07:29:45 Bodenhaltung: is that the exact call that logcheck uses as well? 2018-10-10 07:32:31 otaku42: Jepp, is see with debug it looks in the rulefile. 2018-10-10 07:41:17 _ikke_: There was an update with Docker, but the problems I reported about docker service startup taking ages is still there. Did you ever try to reproduce this issue on 3.81? 2018-10-10 07:41:42 *3.8.1 2018-10-10 08:03:44 <_ikke_> No I haven't yet 2018-10-10 08:32:29 otaku42: Any idea? I am a little confused and **** :D 2018-10-10 08:53:20 Bodenhaltung: no, not really. didn't use logcheck myself yet. my question was just a shot in the dark. 2018-10-10 14:25:20 hello, what is the equivalent of "userdd -r -u 978 -g ${USER} ${USER}" in adduser BusyBox? 2018-10-10 14:28:01 change -r to -S maybe 2018-10-10 14:30:57 TBB: thanks 2018-10-10 16:24:29 Hi. Is anyone here with amhf build infrastructure who could build me 2 PRs for testing? 2018-10-10 16:32:11 micw: I have armhf with sdk, could you tell me how could I help 2018-10-10 16:42:32 how to extract files without leading path using `tar -jxvf linux64 --strip-components=1 -C .` but files are still put in a folder 2018-10-10 16:43:23 <_ikke_> lessless_: that should work 2018-10-10 16:45:10 _ikke_ I would love it to work! :( https://imgur.com/a/QVkREpo 2018-10-10 16:46:16 <_ikke_> what does tar tjf linux64 return? 2018-10-10 16:46:50 same thing basically 2018-10-10 16:46:58 alpine edge btw 2018-10-10 16:47:33 <_ikke_> apk info -W $(which tar) 2018-10-10 16:48:18 /usr/bin/tar is owned by tar-1.30-r1 2018-10-10 16:48:47 <_ikke_> -C . is redundant btw 2018-10-10 16:48:52 <_ikke_> but not your issue 2018-10-10 17:00:42 maybe there are other ways to achieve this goal? 2018-10-10 17:01:08 even w/o -C it still extracts into subfolder 2018-10-10 17:01:21 <_ikke_> yeah, -C is just a shortcut for cd 2018-10-10 17:01:42 <_ikke_> lessless_: I juse --strip-components all the time 2018-10-10 17:01:50 <_ikke_> what if you supply --strip-components=2 2018-10-10 17:02:06 YEAHH!! 2018-10-10 17:02:09 loolz 2018-10-10 17:02:23 <_ikke_> so that's why I asked for the output earlier 2018-10-10 17:02:31 <_ikke_> there is more than one directory 2018-10-10 17:47:19 mps: I'd like to test https://github.com/alpinelinux/aports/pull/5173 on my raspberry printer server but my raspberry is to low-ended to build it 2018-10-10 17:47:33 (mainly because the sd-card is to small ;) ) 2018-10-10 17:48:08 the 2nd is this PR: https://github.com/alpinelinux/aports/pull/4712 2018-10-10 17:48:59 that PR adds armhf support for the sane package - i'm going to scan a lot of documents next week, so i could also test it on my raspberry 2018-10-10 17:55:11 micw: how I can fetch these PR to my local aports repo 2018-10-10 18:30:59 mps, at the bottom of the conversation is a "patch" or "diff" link - just download the patch file, change into the aports directory and run "git apply " 2018-10-10 18:32:05 oh, the link is part of a "pro tip" - so it only occurs randomly ;-) 2018-10-10 18:32:17 https://patch-diff.githubusercontent.com/raw/alpinelinux/aports/pull/5173.patch 2018-10-10 18:32:28 https://patch-diff.githubusercontent.com/raw/alpinelinux/aports/pull/4712.patch 2018-10-10 18:32:39 (just add .patch to the pull request URL) 2018-10-10 18:34:30 mps: git fetch pull/NUM/head:branchname 2018-10-10 18:34:33 micw: ok, will try in about a hour 2018-10-10 18:35:04 right now I have some work to finish 2018-10-10 18:52:09 maxice8[m], does this also work for foreign projects (if i add them as remote)? 2018-10-10 18:52:54 foreign projects ? 2018-10-10 19:02:56 other github forks of the same project ? 2018-10-10 19:13:32 yes 2018-10-10 19:13:40 (or the original if I fork it) 2018-10-10 19:20:41 yeah, just add them as remotes 2018-10-10 19:22:24 nice feature 2018-10-10 19:40:33 micw: first patch couldn't be applied 2018-10-10 19:42:38 and second patch is for two different APKBUILD files 2018-10-10 19:56:28 maxice8[m]: git fetch as you wrote doesn't work. tried 'git fetch git://git.alpinelinux.org/aports pull/5173/head:master' and got error 'fatal: Couldn't find remote ref pull/5173/head' 2018-10-10 19:56:42 what should go to 'head' part 2018-10-10 19:58:34 a branchname that doesn't exist 2018-10-10 19:58:50 git fetch upstream pull/5173/head:thisbranchdoesntexist 2018-10-10 20:01:18 will try, tnx for help 2018-10-10 20:28:28 micw: ghostscript is build with the patch you posted 2018-10-10 20:29:24 although there are some warnings 2018-10-10 20:54:07 mps, great. could you drop it somewhere for me? I'l give it a try 2018-10-10 20:59:08 I'll get some sleep. If you paste a link here, I test it tomorrow in the morning. Thank you a lot! 2018-10-10 20:59:11 also, sane is built, now trying hplip 2018-10-10 21:05:33 micw: give me a few minutes, I need to put it on web server 2018-10-10 21:13:10 micw: http://www.arvanta.net/3x3d1kfg , main and testing subdirs 2018-10-10 21:14:00 please, keep in mind that the server is behind slow link so download one-by-one and not parallel 2018-10-10 21:14:58 and please, give me your ip address (on private chat, of course) so I could allow you access 2018-10-10 21:37:19 micw: finished and apks are on the server 2018-10-11 00:38:45 not sure if this is an oversight/bug, or if there's just a special exception for this font, but when i install any of the bitmap fonts with a 'font-' prefix from apk, they're added and usable in applications using XLFD 2018-10-11 00:39:04 like xterm, xfontsel, etc 2018-10-11 00:39:31 but if i install the unicode font package, which includes a bitmap font version, it is not 2018-10-11 00:39:46 s/unicode/unifont/g 2018-10-11 00:40:43 how would i ensure that the bitmap version of this font is usable by applications depending on XLFD? 2018-10-11 06:46:54 moin 2018-10-11 08:54:42 Hi Team, I'm trying to install Awesome WM on Alpine Linux. I've followed those instructions : https://github.com/babonet13/AlpineLinux/blob/master/Awesome/Install.txt 2018-10-11 08:54:48 ... but I've got this problem : https://privatebin.net/?38aa61b2679da8c5#f3ca62DvNvNuQi5muOzbvvwFbsskWKFU1c0mRuvcDFU= (Do I miss something ?) 2018-10-11 09:04:08 what video driver are you using 2018-10-11 09:04:18 this isnt an issue with awesome, it's an issue with your video/screen/xorg 2018-10-11 09:04:33 "no screens found" 2018-10-11 09:05:06 do `apk search xf86-video` and install the driver that matches your video card 2018-10-11 09:06:09 i assume you've done setup-xorg-base already 2018-10-11 09:06:25 the guide you linked assumes you have nouveau/nvidia graphics 2018-10-11 09:10:55 babonet1_: based off that information alone, i cant tell you much else 2018-10-11 09:12:30 hm, i have a question about https://git.alpinelinux.org/cgit/aports/commit/?id=55bcf3093d9c1973fc3e0685bb7feb86af68a572 -- what's with the final directive in start_pre()? 2018-10-11 09:12:36 if the keydir exists then that seems to fail 2018-10-11 09:33:56 oh i forgot theres #alpine-devel 2018-10-11 09:34:10 i'll just use the mailing list / issue tracker though 2018-10-11 09:34:12 i guess 2018-10-11 09:44:45 Can I use alpine as a handy-portable linux distro to have on my flash disk to use on old PCs (like 10-20 years PCs)? 2018-10-11 09:45:12 alpine has i586 support 2018-10-11 09:45:15 so i guess yes 2018-10-11 09:45:36 but the machines you are targeting have good chances not supporting booting from USB⌀sks 2018-10-11 09:45:39 * USB⌀sks 2018-10-11 09:45:59 hm. something with my keyboard seems off. 2018-10-11 09:46:10 <_ikke_> or even having a usb poart :P 2018-10-11 09:46:13 <_ikke_> port* 2018-10-11 09:46:29 AinNero: I'm rather n00b...It seems it uses musl library instead of Glibc...How does it render if I want a ubuntu experience without much hassle> 2018-10-11 09:46:59 I'm considering puppy vs alpine now 2018-10-11 09:47:13 "ubuntu experience" 2018-10-11 09:47:20 depends what programs you want to use 2018-10-11 09:47:22 i think alpine's init system actuallt works 2018-10-11 09:47:28 a lot of stuff works fine with musl, but not everything 2018-10-11 09:47:31 AinNero: I mean I want to use it as a development machine 2018-10-11 09:47:40 devloping what? 2018-10-11 09:47:44 C? 2018-10-11 09:48:01 i have alpine on my desktop, with a debootstrap for anything that absolutely requires glibc 2018-10-11 09:48:02 python3, system programs in C, embedded programs using Arm toolchain 2018-10-11 09:48:46 alpine doesn't have an arm toolchain packages, but you'll likely have to compile it yourself anyways 2018-10-11 09:48:52 Is this guy here? https://www.youtube.com/watch?v=sIG2P9k6EjA 2018-10-11 09:49:28 Hamilton: year, but he is usually busy 2018-10-11 09:51:14 So I've read it on reddit that Alpine advertises itself as general-purpose for power users...but reddit guys say that it is better for special cases like routers and servers...and in terms of effciency it is slower than glibc distros 2018-10-11 09:52:17 I'd reccomend not taking Reddit seriously 90% of the time 2018-10-11 09:52:24 i don't have an high opinion of reddit. 2018-10-11 09:52:43 there are too many people with strong opinions without actually knowing the stuff they have opinions about 2018-10-11 09:52:49 generally, not just alpine-related 2018-10-11 09:52:53 Well I'm n00b but in terms of things I know (in embedded), /r/embedded was spot-on many times 2018-10-11 09:53:52 i don't know what's "slower" about musl. you'd have to profile for your specific use-case to figure out if it's really slower 2018-10-11 09:54:12 https://superuser.com/questions/1219609/why-is-the-alpine-docker-image-over-50-slower-than-the-ubuntu-image?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa 2018-10-11 09:54:47 alpine is faster on arm embedded than debian, at least in my case 2018-10-11 09:55:09 and less memory hungry 2018-10-11 09:55:19 Hamilton: you're going to have to profile for your own case, still 2018-10-11 09:55:22 mps: what do you run it on? 2018-10-11 09:55:42 maybe python under a docker image is slower with musl on a certain system, but you can't say the same without testing it first 2018-10-11 09:55:44 everything needed ;) 2018-10-11 09:56:29 i prefer a simple implementation over a speedy one, personally 2018-10-11 09:56:40 usually the speed difference is negligible anyway 2018-10-11 09:57:05 not for python, but python has other issues, anyways 2018-10-11 09:57:06 joke aside, I run router, server, workstations, development in C, Perl, Go, Crystal 2018-10-11 09:57:24 mps: Like do you work in embedded? Cortex A series or M series? Or Rasbperry pie? 2018-10-11 09:59:28 cortex A7, exynos, rockchip 2018-10-11 09:59:33 Another thing is important for me, what is the group behind Alpine? I like corporate-distros for support and I think there are more robust and secure 2018-10-11 10:00:16 mps: exynos even? nice 2018-10-11 10:00:34 alpine offers community support to my knowledge 2018-10-11 10:00:39 dont think theres anything else 2018-10-11 10:01:16 hm, i consider being commercial an disadvantage for software 2018-10-11 10:01:44 opal: And where do most active developers is based geographically? 2018-10-11 10:02:00 Hamilton: how is that important? 2018-10-11 10:02:29 n.b. when I mentioned Crystal, I mean crystal programming language and not something for which heard with same name but it some framework for reporting iirc 2018-10-11 10:02:31 AinNero: I don't...I trust western tech more...I may be wrong 2018-10-11 10:02:44 at least in software 2018-10-11 10:02:54 seems an absurd thing to assume 2018-10-11 10:03:00 yeah :) 2018-10-11 10:03:02 same.. 2018-10-11 10:03:07 I'm not even western 2018-10-11 10:03:21 i mean, the only way to trust tech is to see how it's implemented 2018-10-11 10:03:31 and since it's all FOSS, you're able to do this 2018-10-11 10:03:42 Alpine is cool because its not like the GNU/Systemd bloat, thats why im here 2018-10-11 10:04:11 i came for a glibc replacement, stayed for the nice package manager and overall light feel of the distro 2018-10-11 10:04:22 apk's the best package manager ive dealt with so far 2018-10-11 10:04:27 AinNero: I'm too noob to understand why systemd is bad...I was more interested to just *try* a minimalist distro (and secure) 2018-10-11 10:04:38 AinNero: Alpine still uses GNU infra on the back 2018-10-11 10:04:44 Hamilton: there are no minimalistic systemd distros 2018-10-11 10:04:57 if you want something minimalistic, you need to leave the systemd land 2018-10-11 10:05:25 systemd is too big and the lead developer has proven that he is not all too knowledgable of linux 2018-10-11 10:05:44 too big code-wise, i mean, and it can't be audited easily 2018-10-11 10:05:55 it's a security risk and a maintenance nightmare 2018-10-11 10:06:04 AinNero: still I don't know why a bloat distro would be bad if one want a development machine to just work...But I liked the presentation of that man in YT link I shared 2018-10-11 10:06:09 I'm using debian for more than 20 or 25 years and switched to alpine a year ago on all my boxes because debian become to bloated 2018-10-11 10:06:38 for me, debian and ubuntu dont "just work" 2018-10-11 10:06:52 it requires me more effort to maintain debian-based systems than it does an alpine system 2018-10-11 10:12:21 believe me I understand debian, when selinux appeared in debian first time I backported it to previous release, and novadays I 2018-10-11 10:12:40 sorry, return is near shift 2018-10-11 10:13:20 to continue: and novadays I don't understand even boot on debian 2018-10-11 10:19:12 What are alpine's competetiors with same goals and domains? I guess Void? 2018-10-11 10:20:34 Void doesn't compete in the embedded and container space 2018-10-11 10:24:46 Hamilton: you develop for embedded, right? 2018-10-11 10:24:56 default ubuntu comes with modemmanager 2018-10-11 10:25:08 which talks AT-commands into random tty devices 2018-10-11 10:25:19 messing up and blocking (because opened) your serial consoles 2018-10-11 10:25:56 I'd call that developer-hostile, and maintainers argue jsut with 'for the users' 2018-10-11 10:26:53 AinNero: hmm...good point...Although idk, but how random is that? when you connect something to serial port, it has kinda know name 2018-10-11 10:27:27 plugging my relay card in reliabliy switches my desktop light and the second lamp at my cupboard on 2018-10-11 10:27:51 and blocks my actual control program from interfacing it 2018-10-11 10:27:51 Hamilton: if you want to see alpine on arm devices look at postmarketos.org (iirc) which is alpine for old phones 2018-10-11 10:29:02 MM talks to any USB or ACM serial device per default 2018-10-11 10:29:55 alternatively, you can buy an RS232 and pipe the AT-commands into the root shell of an router of your choice 2018-10-11 10:30:12 AinNero: I've never tried it, you mean if I for example connect arduino to my ubuntu, I may see actual at commands in arduino RX side? 2018-10-11 10:30:38 Hamilton: https://bugzilla.redhat.com/show_bug.cgi?id=1261040 2018-10-11 10:30:39 there can't be one system which is user friendly and developer friendly at the same time, in my decades of experience 2018-10-11 10:31:17 https://forum.sparkfun.com/viewtopic.php?t=46710 https://forum.arduino.cc/index.php?topic=129647.15 2018-10-11 10:31:56 manpage for MM is essentially "It magically works via dbus" 2018-10-11 10:34:14 AinNero, mps, wow...really a rolid point for Alpine...how come no one mentioned it before? When I ask about proper distro for programming/embedded, most people just say use what you want or many of them say just use ubuntu and forget about it 2018-10-11 10:35:33 keep in mind that there are different kinds of developers 2018-10-11 10:36:21 some call self developers when they manage to make simple web page which says "look, maa, it works" 2018-10-11 10:37:20 i gave ubuntu a chance when i bought my last laptop, but in the end i was utterly disgusted 2018-10-11 10:37:44 systemd brings many great features, but there are so many edgecases where i have to fall back to 'try again', 2018-10-11 10:37:52 'reboot' or 'add this udev rule' 2018-10-11 10:38:55 also, DKMS broke on update. on a default install. 2018-10-11 10:39:02 I was one of the early proponent and user of systemd, but time passes and I changed my mind because it become horrible 2018-10-11 10:39:19 void was an systemd distro before 2015 2018-10-11 10:39:38 and they switched to runit because of musl support, i was told 2018-10-11 10:39:58 btw, there is devuan, debian without systemd 2018-10-11 10:41:33 and my last try to stay with debian was installing openrc on it, it was better than it was with systemd but debian dependency hell 'forced' me to alpine 2018-10-11 10:42:03 also, systemd is one of 2 projects that reject patches for POSIX-compatibility (https://www.youtube.com/watch?v=Cc1rBayMnVI#t=5m30s) 2018-10-11 10:49:54 i hate dealing with debian's apt anymore 2018-10-11 10:50:07 it's so counterintuitive and leads to a bunch of issues 2018-10-11 10:51:56 http://0x0.st/sgYi.png 2018-10-11 11:15:35 hi all, any possible way to install alpine linux to digitalocean using archive or something? coz iso not work https://u.lewd.se/0Jtk7Q_2018-10-11_13-34-03_Topi-Poodle.png 2018-10-11 11:16:24 tar.gz not work too 2018-10-11 11:19:08 where does newlib stand in this comparison http://www.etalabs.net/compare_libcs.html . 2018-10-11 11:27:09 upgrade: ISO does not work on DO for anything yet, I read 2018-10-11 11:27:29 You need to provide a whole disk image to DO 2018-10-11 11:27:30 duncan^ yeah, thats why ask 2018-10-11 11:27:41 so, i cant repack iso or something? 2018-10-11 11:27:45 only disk image 2018-10-11 11:28:00 You need to find a way to provide a whole disk image to DO 2018-10-11 11:28:08 dang . _. 2018-10-11 11:28:24 You can use the installation media to make an installation, then copy that, I suppose 2018-10-11 11:28:48 anyway, digitalocean planing to add iso later ... 2018-10-11 11:28:56 but not today when i need this xD 2018-10-11 11:30:00 You should try the suggestion I just gave you before resigning yourself to giving up 2018-10-11 11:31:43 its what i do now 2018-10-11 11:31:54 never give up so fast :o 2018-10-11 11:51:26 duncan^ well, now all ok now, thank you :3 2018-10-11 12:28:48 Great! Glad you got it to work. 2018-10-11 17:30:40 oh, just found an usecase where udevs persistent interface names really suck 2018-10-11 17:30:58 person A has laptop, laptop broke, move disk into another laptop so they can continue working 2018-10-11 17:31:17 everything worked, except the wifi interface name was hardcoded at some place 2018-10-11 18:01:05 AinNero: that happened some times to me. Edit udev rules and reload 2018-10-12 06:46:13 moin 2018-10-12 06:46:28 <_ikke_> hi 2018-10-12 08:34:27 i seem to be having a bit of a problem with udisks2 :-( 2018-10-12 08:35:05 it's installed, all the files seem to be in order, udev is running, but "udisksctl status" returns "Error connecting to the udisks daemon: Could not connect: No such file or directory" 2018-10-12 08:36:19 according to strace, it tries to connect to a unix socket at /var/run/dbus/system_bus_socket, which indeed doesn't exist. 2018-10-12 08:38:21 had to restart dbus for it to work for some reason 2018-10-12 08:41:35 and now it doesn't work again? 2018-10-12 08:43:39 oh 2018-10-12 08:43:47 dbus isn't running by default for some reason 2018-10-12 10:41:30 hi, i'm new here. sorry to disturb but anyone here with experience on a RasPi sys install? 2018-10-12 10:42:04 i followed the wiki 2018-10-12 10:42:09 <_ikke_> No need to apologize for asking questions :) 2018-10-12 10:42:31 and ran into trouble when i did an apk upgrade 2018-10-12 10:43:29 <_ikke_> What kind of trouble? 2018-10-12 10:44:17 it was late last night, but as i recall, it couldn't put the new kernel in /boot 2018-10-12 10:44:22 to me, seems the symlinked /boot to a non-existent directory (as per the wiki) was the problem? 2018-10-12 10:45:28 there were a couple of other commands that failed for the same reason... 2018-10-12 10:46:06 <_ikke_> I know too little of that specific setup to be of help, but it does make sense that /boot needs to be an actual directory 2018-10-12 10:47:19 it's a sys install using the setup-disk command 2018-10-12 10:47:54 (after booting from the tar-ball on a FAT16 MBR partition) 2018-10-12 10:48:34 The wiki says: 2018-10-12 10:48:41 Don't worry about the error with the following: 2018-10-12 10:48:41 ln -s media/mmcblk0p1/boot boot 2018-10-12 10:50:37 There actually wasn't an error when I entered this command, perhaps one is expected because the media/mmcblk0p1/boot directory doesn't exist. 2018-10-12 10:51:08 I might just start again and create it this time... 2018-10-12 11:07:59 Hi, openrc is hanging with some misconfigured init script. how can I skip over that and continue booting? 2018-10-12 11:10:10 (in particular ifconfig is called on a device that does not exist and thereby causes an error) 2018-10-12 11:10:43 I've tried Ctrl+Alt+F2 2018-10-12 12:19:00 lenarhoyt: Do you have physical access to the system? 2018-10-12 12:19:15 You could boot in a rescue shell and fix the problem 2018-10-12 13:27:44 hi 2018-10-12 13:28:00 <_ikke_> o/ 2018-10-12 13:28:08 how much RAM might an Alpine VM need that's supposed to run nginx as a simple reverse proxy as well as an sshd? 2018-10-12 13:28:19 \o _ikke_ :) 2018-10-12 13:28:23 (or rather, how little) 2018-10-12 13:29:18 <_ikke_> 500M or less? 2018-10-12 13:30:02 Wow, that much o_O 2018-10-12 13:30:13 I was wondering "how much less than 100" 2018-10-12 13:30:52 try it 2018-10-12 13:31:12 Well, I have to commission the VM. I'll just give it 64 and see what'll happen. 2018-10-12 13:32:32 misterun1: how do I enter rescue mode? (no good google results) 2018-10-12 13:39:45 rapha: i have nginx as reverse proxy in an alpine-based lxc container. according to lxc-info: 2018-10-12 13:39:48 Memory use: 9.88 MiB 2018-10-12 13:39:51 KMem use: 3.54 MiB 2018-10-12 13:42:39 otaku42: wow, that's really nice :-D 2018-10-12 13:43:06 is anyone running alpine under kvm? virt-install doesn't seem to be the right tool for getting it to run :( 2018-10-12 13:45:54 hm, I figured out how to change the kernel parameters at boot time, but writing "linux rescue" does not do anything 2018-10-12 13:48:47 ah I found a workaround, but still could not get it into rescue mode 2018-10-12 14:00:42 lenarhoyt: just add an "s" (without quotes) to the kernel options 2018-10-12 14:24:38 f*** why does google never find the URL of alpine's PXE server 2018-10-12 14:24:47 _ikke_: do you have it handy? 2018-10-12 14:25:20 http://boot.alpinelinux.org/ 2018-10-12 14:25:57 thanks azarus 2018-10-12 14:53:37 rapha▸ I'm interested to hear how your 64mb nginx server test goes. 2018-10-12 14:54:05 reminds me of when 128mb of ram seemed like *so much* 2018-10-12 14:54:22 and we managed to run full desktop environments back then. 2018-10-12 14:54:46 reminded me of inetd, but it seems like alpine doesn't have that in its repos. 2018-10-12 15:06:37 programmerq: Alpine packages s6, an alternative tool http://skarnet.org/software/s6/index.html 2018-10-12 15:06:47 aha! good to know. 2018-10-12 15:07:27 there's still a /etc/init.d/inetd in busybox-initscripts which appears to be no longer valid. 2018-10-12 15:07:35 ACTION tries to figure out how to file an issue or PR 2018-10-12 15:10:21 programmerq: https://bugs.alpinelinux.org for bugs 2018-10-12 15:10:36 registering now 2018-10-12 15:11:09 programmerq: Pull requests can AFAIK be created with the github repo or via mail. But I'm not completely sure. 2018-10-12 15:11:45 it looks like there's a git web instance, but I don't see anything in github for the packages git 2018-10-12 15:12:07 oh, I guess there is the github too 2018-10-12 15:12:09 nice 2018-10-12 15:14:42 ah, nevermind. the busybox inetd is in busybox-extras 2018-10-12 16:34:35 hi 2018-10-12 16:35:33 im getting erros like these while trying to install packages via apk add: 2018-10-12 16:35:37 ERROR: iproute2-4.13.0-r0: failed to rename usr/include/iproute2/.apk.af50956b25eeb3723a9aa29425fb70d4f09d15826a55107a to usr/include/iproute2/bpf_elf.h. 2018-10-12 16:35:52 any ideas what could be wrong / 2018-10-12 16:35:53 ? 2018-10-12 16:38:50 <_ikke_> yha: what does ls -l /usr/include/iproute2/bpf_elf.h return? 2018-10-12 16:41:24 ls: /usr/include/iproute2/bpf_elf.h: No error information 2018-10-12 16:43:24 <_ikke_> sounds like filesystem issues 2018-10-12 16:46:00 hm would be strange 2018-10-12 16:46:21 all I did was apk del openvpn and then tried to install it again 2018-10-12 16:47:04 maybe something is cached somewhere and conflicts now ? 2018-10-12 16:48:11 <_ikke_> That error message you got is not something you would get under normal circumstances 2018-10-12 17:08:34 yha▸ check dmesg for filesystem or block device errors 2018-10-12 20:20:41 hey 2018-10-12 20:21:07 <_ikke_> o/ 2018-10-12 20:21:19 I have alpine on machine with nvs285, nouveau module is loaded but dmesg shows nothing after load of the module 2018-10-12 20:21:40 and /dev/dri/card0 haven't been created 2018-10-12 20:30:22 as I remember even text console should enable fb after module load 2018-10-12 20:38:58 hi people 2018-10-12 21:09:53 ok, nomodeset 2018-10-12 21:10:02 how can I check kernel boot parameters ? 2018-10-12 21:33:37 no cpuu optimizations (mmx, 3dnow etc) in mpg123 package ? 2018-10-12 22:52:35 anyone tried to build fritzing on AL 2018-10-12 22:54:40 I build APKBUILD and 'patched' source by hand, but it didn't build, and I don't have experience in building qt5 (or any qt) apps 2018-10-13 00:26:04 I love aline. it's so clean and simple 2018-10-13 00:26:07 alpine 2018-10-13 11:32:50 I just have installed firefox from community repo but when trying to run it I got 'process 2389: D-Bus library appears to be incorrectly set up; failed to read machine uuid: Failed to open "/etc/machine-id": No such file or directory' 2018-10-13 11:52:08 hm ok, no dbus package installed 2018-10-13 11:52:25 after x11 restart it disapeard 2018-10-13 11:52:53 now firefox process is running but no window appears, no errors 2018-10-13 15:45:55 is there some ldd in alpine? 2018-10-13 15:46:20 ah... its not in the package list 2018-10-13 15:47:06 hm, post-install hook symlink 2018-10-13 15:47:49 of musl. 2018-10-13 21:20:43 hey. anyone using isc dhcp + gpxe to boot a raspberry pi 3b+ ? 2018-10-13 22:47:49 is there a package that include the telnet program? 2018-10-13 22:48:52 yes, busybox-extras 2018-10-13 22:49:35 thanks! 2018-10-14 01:15:52 iis there an example inetd.conf available anywhere 2018-10-14 01:38:44 winny: busybox repo 2018-10-14 02:52:44 if you need a more complex conf, use rsyslog 2018-10-14 02:53:03 personally i have containers with busybox syslog all sending to the host's rsyslog via udp 2018-10-14 02:57:14 "session":{"type":"Buffer","data":[48,130,6, 2018-10-14 02:57:21 so this is how json does binary 2018-10-14 04:07:07 hello opal 2018-10-14 04:07:24 i liked your reply to Linus's email 2018-10-14 07:51:15 What is ther difference between Virtual iso and normal iso? 2018-10-14 07:57:58 is there a way to display what order openrc will call the init scripts on boot according to the `depend` function? 2018-10-14 08:28:33 winny: have you url for opal answer to Linus? 2018-10-14 08:29:04 oh 2018-10-14 08:29:07 was wondering what was going on 2018-10-14 08:29:14 https://lore.kernel.org/lkml/20180917065712.45d321f9@clamav.local/ 2018-10-14 08:30:28 opal: will read now, thanks 2018-10-14 08:30:28 Hamilton2: virtual iso has a linux kernel tuned for virtual machines 2018-10-14 08:30:48 it's heck of a light smaller, i use it in virtualbox 2018-10-14 08:31:02 i'd suggest qemu over vbox 2018-10-14 08:31:07 had a lot of issues with vbox before 2018-10-14 08:31:11 aqemu is a good gui for qemu 2018-10-14 08:31:23 tbh only used virt-manager, how is aqemu 2018-10-14 08:31:51 has most of the settings you need in the gui, anything that isn't there you can define manually as commandline args in a textbox 2018-10-14 08:32:01 pretty flexible then 2018-10-14 08:32:14 feels like vbox except without all the issues vbox has 2018-10-14 08:32:26 has its own gui supposedly, couldnt get it to work though 2018-10-14 08:32:28 i just use vnc 2018-10-14 08:32:35 gvncviewer works fine 2018-10-14 08:33:02 im assuming alpine's build of aqemu must not have the vm gui or something 2018-10-14 08:33:16 or, not gui but display 2018-10-14 08:33:23 im bad with words 2018-10-14 08:33:46 02:57.21 < opal:#alpine-linux> so this is how json does binary 2018-10-14 08:33:48 and with buffers 2018-10-14 08:33:52 was wrong channel and i just now notice -.- 2018-10-14 08:36:54 So Alpine has iso for arm and intel/amd...what about xtena (like esp32)? 2018-10-14 08:36:57 opal: well written mail to Linux about CoCs (and other political bullshits in FOSS) 2018-10-14 08:37:06 ty 2018-10-14 08:37:46 s/Linux/Linus/ , didn't finished morning coffee ;) 2018-10-14 08:38:52 my wakefulness isnt an excuse for my actions; i'm always slow and stupid lol 2018-10-14 08:41:05 we all make mistakes and write errors in text, and in code. nothing and no one is perfect 2018-10-14 08:43:12 seems like i do it more often lol 2018-10-14 08:45:20 best learners are those who make errors and mistakes but learns from them. $DEITY save me from sinless :) 2018-10-14 08:45:55 hell if i learn from entering shit into the wrong channel 2018-10-14 08:48:12 do you remember words from 'Alice in wonderland' (Lewis Carrol): Experience is most brutal teacher, but you will learn, my dear, you will learn. 2018-10-14 08:49:21 i still need to re-read that 2018-10-14 08:49:24 been years since i have 2018-10-14 08:50:31 also I, but these words from book which I remembered and repeating them to the young generation 2018-10-14 08:51:03 and, to old generation, too :) 2018-10-14 09:44:24 opal, just read your mail on the lkml. awesome write. I have to say, that i never understood why they make a fuss out of it. afaik linus never called someone out based on their skin color, religion, gender or sexual preferences. he called people idiots, though. and calling an idiot and idiot is imho justified :) 2018-10-14 09:44:40 i agree 2018-10-14 09:44:55 someone recently tried pulling the same shit with systemd, with a new github account 2018-10-14 09:45:26 i dont hold systemd highly but its still stupid how people are parading around with the same cookie cutter "im LGBT and feel oppressed" 2018-10-14 09:45:30 like, no you dont, quit lying 2018-10-14 09:45:46 i stopped following all that fuss. but i remember it was also about racism. like seriously? unless someone reveals a picture of themselves somewhere you wouldn 2018-10-14 09:46:17 i stopped following all that fuss. but i remember it was also about racism. like seriously? unless someone reveals a picture of themselves somewhere you wouldnt even know what their color is like. and as far as i know there are people from basically all ethnics working on linux 2018-10-14 09:49:02 opal, wasn't there a case where someone was kind of like shown the door out of a foss project after it came to light that he prefers D/s and this same code of cunduct was applied? 2018-10-14 09:49:05 these people are straight up liars and manipulators, i was being nice in my email 2018-10-14 09:49:32 Vonor: not sure 2018-10-14 09:49:42 i know for my personal projects, i judge code, not people 2018-10-14 09:50:03 i refuse to consider any "pull request" that does not deal with the development cycle itself 2018-10-14 09:50:30 licensing has to do with the code, contributing policy is okay as long as it has to do with the code 2018-10-14 09:50:39 your race or sex does not have to do with the code 2018-10-14 09:50:49 your favourite colour or food has nothing to do with the code 2018-10-14 09:50:59 people need to realise this 2018-10-14 09:51:56 exactly. the only thing i think should apply to the way one criticises another is whether that someone is a pro or a beginner. like if a beginner is handing in shitty code nobody would attack them with 'you moron shouldn't write code' but with something like 'hey pal, you got some homework to do there. there are guidelines and best practices. please rework your patch' :) 2018-10-14 09:54:43 anyway. this raspberry pi network boot is driving me crazy the entire weekend already. 2018-10-14 09:54:44 Vonor: I have impression that the different CoCs are invented and enforced by someone who want to put unneeded burden on FOSS 2018-10-14 09:54:51 well i'd try to treat everyone the same in that regard; if they have a nice idea but poor code, i'll tell them that 2018-10-14 09:55:01 never a real reason to insult people 2018-10-14 09:55:09 unless they come in with a stupid idea of course 2018-10-14 09:56:25 to continue: and by that to impede FOSS development 2018-10-14 09:58:50 the sad thing is, that the public is not even interested in why someone was 'insulted' by linus. maybe the broader community is interested in it, but the public as a general is not. they only hear 'oh Linus called someone an idiot. bad linus' 2018-10-14 09:58:59 see linus vs grsec 2018-10-14 10:02:26 I'm recently having segfaults with firefox and mpv. anyone else in similar situation? 2018-10-14 10:03:04 probbaly a hardware failure causing such things. gdb doesn't help to trap it. 2018-10-14 10:03:10 terra: on edge or stable 2018-10-14 10:03:15 edge 2018-10-14 10:03:58 dmesg: stardict[2544]: segfault at 7fffdbfa9ff8 ip 00007f5fabebed04 sp 00007fffdbfaa000 error 6 in ld-musl-x86_64.so.1[7f5fabeb1000+46000] 2018-10-14 10:04:03 yesterday I upgraded firefox to edge on x86_64 and it works fine, and mpv also 2018-10-14 10:04:33 although I didn't upgraded musl 2018-10-14 10:05:00 I had that firefox update 2018-10-14 10:06:11 this happened for no reason. system was file 2 days ago. then I started to experience this. 2018-10-14 10:06:17 *fine 2018-10-14 10:06:22 on my machine, and on my wife machine with mixed stable and edge firefox works fine 2018-10-14 10:06:43 not spacific for firefox. 2018-10-14 10:06:56 some component causing this trouble 2018-10-14 10:07:09 could be musl? 2018-10-14 10:07:29 I don't think so. 2018-10-14 10:07:55 if I use mpv without video output, works fine. 2018-10-14 10:08:29 some component (hardware or software) isn't doing well with my setup 2018-10-14 10:09:21 let me see, I'll upgrade mpv in aarch64 to check. this box is my testbed 2018-10-14 10:09:54 I'm on x86_64 btw 2018-10-14 10:11:15 I'm also on x86_64, and as plus on aarch64 2018-10-14 10:12:14 just upgraded mpv aarch64 and it works without problem, and it works on x86_64 which 2018-10-14 10:13:11 but the musl is from stable 2018-10-14 10:13:19 so, anyone ever tried netbooting alpine on raspberry? apparently the raspberry doesn't support gpxe booting or am i missing something out on it? maube i need a special config.txt with a gpxe binary to do the job? 2018-10-14 10:19:10 Vonor: did manage to load kernel and initramfs with pxe? 2018-10-14 10:20:29 terra, i did manage to get the pi fetch its bincode, config.txt. cmdline.txt kernel and initrd from the tftp server but then run into issues with the rootfs 2018-10-14 10:20:33 mps: thanks for checking. I can run opengl games fine. I it was a gpu hardware failure, it shouldn't possible. 2018-10-14 10:21:06 what is your rootfs: squash fs? nfs? 2018-10-14 10:21:49 terra, generally it seems more troublesome to do it this way than with gpxe 2018-10-14 10:22:10 currently i was trying to use the raspberry aarch image as rootfs 2018-10-14 10:22:42 so, you trying to mount a loop device ok? 2018-10-14 10:25:17 let me try to get it to that stage again, as i was throwing away everythging earlier to start fresh 2018-10-14 10:37:17 to make sure, first find out which kernel or initramfs parameter you need to boot that kind of rootfs 2018-10-14 10:44:41 terra, the problem seems to start already at telling alpine to get an ip address via cmdline.txt. i added 'ip=dhcp' to cmdline.txt, checking in the emergency shell that parameter is even set in /proc/cmdline but no ip address. so seems like the initrd doesn't support it? 2018-10-14 10:49:42 probably but, it easily doable with tested kernel+initramfs combination from other distro 2018-10-14 10:51:05 don't forget to add kernel modules to /lib/modules if you want to try other kernel 2018-10-14 10:52:34 or other way, write a ec.local script that parses kernel boot parameter (/proc/cmdline) then bring up network devices accoording to it 2018-10-14 10:52:41 *rc.local 2018-10-14 10:53:20 you primary goal is boot into shell using pxe 2018-10-14 10:55:22 I also suggest you to use serial console instead of video output to see what's going on during first boot 2018-10-14 13:53:45 when I execute: mpg123 --test-cpu, I get 'Supported decoders: i386' only, why there are any optimizations like MMX, 3dnow etc ? 2018-10-15 06:31:52 how can I open a TCP port via terminal in alpine linux without installing anything? 2018-10-15 06:38:16 i see pages talking about awall and ufw (with the testing repo); but neither are installed in my environment and it is already configured to allow traffic in on 80 and 22. So, I know if can be configured in its current state. Is there a default method for doing this without installing anything? 2018-10-15 06:38:45 <_ikke_> iptables 2018-10-15 07:15:31 iptables doesn't exist on this system; or at least the command iptables isnt working 2018-10-15 07:15:48 iptables: not found 2018-10-15 07:20:50 <_ikke_> So why do you think you need to open anything? 2018-10-15 07:41:26 moin 2018-10-15 07:42:44 lll3N1GmAlll__: a vanilla alpine installation will have no firewall rules applied, to the best of my knowledge, unless you have installed firewall-related components and set them up somehow. 2018-10-15 07:44:29 lll3N1GmAlll__: thus it should not be necessary to open ports (in a firewall-like sense). if your application is running and listening on a port, it should just work. if it doesn't, you most probably look at the wrong place when asking "how do i open a port" 2018-10-15 07:45:05 lll3N1GmAlll__: as in: you probably want to describe your setup and the actual issue in more detail, otherwise it will be hard to help. 2018-10-15 14:22:55 hi everybody 2018-10-15 14:23:25 i want to make a custom alpine iso. someone can help me 2018-10-15 14:23:42 what do you want it to do? 2018-10-15 14:24:08 i just want add ansible package on alpine iso 2018-10-15 14:24:11 tldr git clone aports repository, modify mkimg scripts in scripts folder 2018-10-15 14:24:53 i do it but th iso image don appears un the folder 2018-10-15 14:24:59 in the folder 2018-10-15 14:25:21 don't appears in the folder 2018-10-15 14:26:47 what steps do you take? 2018-10-15 14:26:59 what did you modify and what do you run? 2018-10-15 14:27:16 i create the mkimg.ansible.sh 2018-10-15 14:28:13 then i hit the command un shell 2018-10-15 14:28:29 which command? 2018-10-15 14:28:35 then the iso is download 2018-10-15 14:29:17 this one: sh mkimage.sh --tag edge --outdir /vagrant_data/iso --arch x86 --repository http://dl-cdn.alpinelinux.org/alpine/edge/main --profile ansible 2018-10-15 14:29:49 didn't know there's an outdir flag 2018-10-15 14:30:41 could you pastebin some logs and the mkimg.ansible.sh file? 2018-10-15 14:31:01 where can be find the log 2018-10-15 14:31:09 in /var/log... 2018-10-15 14:31:13 save the command output to file 2018-10-15 14:31:27 that's what I meant 2018-10-15 14:31:55 i'll be back in few minute 2018-10-15 14:32:11 i'll send the command 2018-10-15 14:40:01 i paste in this adress the result :https://framabin.org/p/?939e3adf19c2ffc4#HEZjSI7q8HDy8jT9YYkXpTNGl6+ufVA1gFqrjyo8BKo= 2018-10-15 14:48:06 I'll try to run that myself 2018-10-15 14:49:55 Michcioperz: i've to go at work. i'll be back. can i give you my email? 2018-10-15 14:50:22 ok 2018-10-15 14:51:06 how ca i do that on chat? i don't do that before 2018-10-15 14:51:16 directly on the chat? 2018-10-15 14:51:39 /msg Michcioperz email here 2018-10-15 18:07:20 'apk fix -r elfutils-dev' gives '(1/1) [APK unavailable, skipped] Reinstalling elfutils-dev (0.168-r1)' 2018-10-15 18:07:36 and '1 error; 2509 MiB in 1030 packages' 2018-10-15 18:08:03 how to solve this problem? 2018-10-15 19:14:10 hi, anyone having problem in dumping their secret-chipped supermicro hardware, pls let me know, 2018-10-15 19:14:19 atleast it can still build al 2018-10-15 19:14:25 ;-) 2018-10-15 19:59:09 mps, elfutils-dev and libelf-dev contain conflicting files. 2018-10-15 20:01:09 <_ikke_> I don't see a package called mps 2018-10-15 20:02:15 s/,/: :) 2018-10-15 20:02:50 <_ikke_> ah lol :D 2018-10-15 20:09:32 brebs: so, which one to remove 2018-10-15 20:11:11 libelf-dev isn't required by any package, so I presume it could be removed safely 2018-10-15 20:17:20 bah, didn't helped 2018-10-16 07:07:26 moin 2018-10-16 11:09:37 any documented success stories of replacing openrc with s6? 2018-10-16 11:13:19 ScrumpyJack, you may have more results in s6 channel. 2018-10-16 11:13:50 thanks, I'll check it out 2018-10-16 15:45:39 ahoy all. is there a recommended way to get exFAT support working via mount on Alpine? mount.exfat works after installing fuse-exfat but commands using regular mount get a "mount: /media/usb: unknown filesystem type 'exfat' " message. thanks. 2018-10-16 16:09:05 hello! What's the correct way to install additional packages during `setup-alpine` for initial install. Specifically I am placing a network/interfaces file that has `auto br0 ...` for bridge devices and would like to have `apk add bridge` already installed before the first real boot 2018-10-16 16:17:23 caryatid: A bridge is not needed, for Internet access. Get Internet access, then apk add bridge, then reconfigure network to set up br0. 2018-10-16 16:21:04 brebs: yah. maybe i should have given more context - this is in the middle of bootstrapping foundational vm's. because bridge is not installed process is -- a) setup-alpine using eth0 for inet access b) boot and `apk add bridge` then halt c) ndb mount '/' partition and add some config including network/interfaces w/ eth0 bridged for lxc setup. d) boot 4real. If I could `add bridge` at (a) then step (b) could go away 2018-10-16 16:22:17 waynedpj▸ did you install the exfat-utils package? 2018-10-16 16:28:26 programmerq: i have the fuse-exfat-utils installed instead of exfat-utils since they install the same files, just fuse-exfat* to sbin and exfat-* to bin. also neither package includes mount.exfat*. do i need exfat-utils as well? 2018-10-16 16:28:45 programmerq: or instead of fuse-exfat-utils? 2018-10-16 16:29:23 waynedpj▸ I'm not 100% certain-- it appears that you should be good to skip the fuse packages and use it directly. I don't have a box ready to go to test it out easily though. 2018-10-16 16:29:50 caryatid: I don't see see a way around that. However, I would question whether a *bridge* setup is really needed, as opposed to routing/forwarding. 2018-10-16 16:30:11 programmerq: i just removed fuse-exfat-utils and installed exfat-utils and same error message when using mount, even as root 2018-10-16 16:30:27 waynedpj▸ which kernel are you using? what's the output of uname -a 2018-10-16 16:31:08 4.14.76-0-vanilla #1-Alpine SMP Mon Oct 15 09:19:52 UTC 2018 x86_64 Linux 2018-10-16 16:31:48 programmerq: actually apk will not install both fuse-exfat-utils and exfat-utils at the same time 2018-10-16 16:32:01 oh interesting. 2018-10-16 16:33:13 brebs: sweet. it's not really a big deal; just thought it'd be possible. -- also there does seem to be quite a bit of debate on having lxc containers connect to other networks w/ bridge/tap(veth) vs using netfilter/iptables. We're using bridge and tap here as it's pretty trivial to add/rem new lxc nodes to the network 2018-10-16 16:33:36 not against looking into using routing though 2018-10-16 16:33:53 regardless; thanks for the info! 2018-10-16 16:35:40 programmerq: and without the fuse-exfat package no mounting of exFAT is possible at all, which makes me think that there is not kernel support for it. and that seems to jibe with what else i found: kernel cannot include exFAT module for legal reasons 2018-10-16 16:38:09 waynedpj▸ I'm googling around a bit, and it seems like fuse-exfat may be the only true exfat interface. kernel config doesn't seem to include an exfat option. 2018-10-16 16:38:42 I think the correct syntax is: mount -t fuse -o subtype=exfat 2018-10-16 16:40:58 'mount -t exfat-fuse' may also work 2018-10-16 16:46:25 that's probably how filesystems should work anyway, the exceptions being when performance is essential 2018-10-16 16:47:36 <_ikke_> ~ 2018-10-16 16:47:38 <_ikke_> \ 2018-10-16 17:22:52 programmerq: thanks, that is what i have been seeing too. unfortunately i had tried "mount -t exfat-fuse" and variations but they just result in the same "unknown filesystem type 'exfat-fuse'" messages 2018-10-16 17:23:29 once mounted with the fuse-specific command, take a look at /etc/mtab to see what it calls it there 2018-10-16 17:23:46 that should be sufficient information to use with the regular mount command or put into /etc/fstab 2018-10-16 17:24:10 programmerq: and surprisingly "mount -t fuse -o subtype=exfat /dev/sdb3 /media/usb/ " gives "/bin/sh: /dev/sdb3: Permission denied" 2018-10-16 17:44:00 programmerq: mtab lists "/dev/sdb3 /media/usb fuseblk rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096 0 0" but trying "mount -t fuseblk /dev/sdb3 /media/usb/" gives "mount: /media/usb: wrong fs type, bad option, bad superblock on /dev/sdb3, missing codepage or helper program, or other error." 2018-10-16 17:44:36 programmerq: i had never heard of mtab until now so perhaps i am missing something obvious in that line? 2018-10-16 17:44:36 my memory is wrong on dealing with fuse filesystems then. :( 2018-10-16 17:58:26 programmerq: OK, regardless thanks for your help 2018-10-16 18:04:15 Hi. Seems that the gpgme package included in alpine doesn't build the python bindings that are included (`python3-gpgme` on arch / Ubuntu etc.) Is there anywhere other than the package list that I should be searching? 2018-10-16 18:29:29 mikedlr: py3-gpgme ? 2018-10-16 18:31:10 maxice8[m]: that's an old/obsolete version that was late folded into gpgme. 2018-10-16 18:31:21 Later.. 2018-10-16 19:40:43 looks like the acct, linux-vanilla (not sure why needed, but hey), and xen-hypervisor packages are not provided in the alpine-xen iso installer. If the installer does not have internet access it will fail when attempting to install these (during setup-disk) and blow up the install. 2018-10-16 19:47:25 looks like the acct, linux-vanilla (not sure why needed, but hey), and xen-hypervisor packages are not provided in the alpine-xen iso installer. If the installer does not have internet access it will fail when attempting to install these (during setup-disk) and blow up the install. 2018-10-16 22:39:37 I feel like I'm missing something--I'm using alpine installed on bare metal and I'm trying to configure a single system user's ulimit to allow for a large number of open files 2018-10-16 22:40:03 I've installed shadow and added a configuration at /etc/security/limits.d/.conf 2018-10-16 22:40:28 but when I start the service, which runs as the user... /proc//limits shows a nofiles ulimit of 1024 2018-10-16 22:40:41 well, 1024/4096 2018-10-16 22:44:04 must by a sysctl enforced limit, or an openrc limit that I am unaware of... cause it is setting it to 1024/4096 even if I increase the ulimit for * 2018-10-16 22:53:41 yeah, openrc doesn't apply pam limits... you have to set it with rc_ulimit 2018-10-16 23:00:48 hosom: ldd /bin/login (from shadow pkg) shows link to libpam.so - your user would have to *login*, I suppose. 2018-10-16 23:01:23 yeah, seems like the most 'alpine' way to set the ulimit for a service is rc_ulimit in the init.d script 2018-10-16 23:02:06 this is one of those things that just varies from distro to distro, as it doesn't seem all that common to desire a custom ulimit value on a user that doesn't login 2018-10-16 23:04:26 Alpine is also tricky, in that only *some* packages are compiled against pam. 2018-10-16 23:10:04 ya, thanks for your help 2018-10-17 06:11:41 moin 2018-10-17 11:24:59 Hey guys, I have a problem packaging guacamole-server. I described it in detail here: https://pastebin.com/km20AMaa Could anyone take a look? I probably lack some knowledge about abuild. 2018-10-17 11:54:34 <_ikke_> misterunknown: how does your APKBUILD look like? 2018-10-17 11:55:07 The links are at the end. It looks like this: https://gitea.de/marco/aports/src/branch/master/marco/guacamole-server/APKBUILD 2018-10-17 11:55:08 <_ikke_> misterunknown: ah, it's in the link 2018-10-17 11:55:10 <_ikke_> yeah 2018-10-17 11:55:47 <_ikke_> misterunknown: find pkg/guacamole-server 2018-10-17 11:55:49 <_ikke_> misterunknown: find pkg/guacamole-server-dev 2018-10-17 11:56:17 <_ikke_> what does that return? 2018-10-17 11:56:55 _ikke_: Nothing... There is no dev package atm. 2018-10-17 11:57:42 https://misterunknown.de/static/find-pkg-guacamole-server 2018-10-17 11:57:49 <_ikke_> https://gitea.de/marco/aports/src/branch/master/marco/guacamole-server/APKBUILD#L11 2018-10-17 11:58:43 _ikke_: Yes, but I guess the "normal" package is build first, and abuild exits when reaching exit 1; in the package() function. 2018-10-17 12:00:04 _ikke_: I try to only exit if it's the -dev package. 2018-10-17 12:00:09 wait a sec. 2018-10-17 12:05:17 <_ikke_> When all the packages are created, abuild moves certain files over to the -dev and -doc subpackages 2018-10-17 12:07:34 _ikke_: You are right. I just checked the -dev package: It contains my missing links. 2018-10-17 12:08:12 But how can I prevent that? Should I simply remove the -dev subpackage? 2018-10-17 12:08:54 <_ikke_> This seems to indicate to me that something is improperly linked (but I don't know to much about this) 2018-10-17 12:09:44 <_ikke_> abuild would complain when you have these files without a -dev package 2018-10-17 12:09:50 Maybe I should make subpackages for every plugin (vnc, ssh, ...). This may be a good idea anyway. 2018-10-17 12:10:32 <_ikke_> misterunknown: I believe those programs should be linked to the versioned so name, not the one without version 2018-10-17 12:11:00 those symlinks are normally correct in dev 2018-10-17 12:11:17 they are there so the linker knows where to find the libs. 2018-10-17 12:11:31 <_ikke_> but they should not be necessary for running the programs 2018-10-17 12:11:48 <_ikke_> (that's why they are moved to -dev) 2018-10-17 12:11:50 correct 2018-10-17 12:12:13 and i dont think you need to manually define openrc function. 2018-10-17 12:12:24 <_ikke_> correct 2018-10-17 12:16:22 _ikke_: Ok, I'll take a look on how I manage to link the version files 2018-10-17 12:16:55 clandmeter: Thanks for the hint. Does abuild create an init file automatically? 2018-10-17 12:17:06 <_ikke_> no, you do need the init file 2018-10-17 12:17:21 <_ikke_> so you should move it to the correct place in package() 2018-10-17 12:17:26 no, you need to install it in the package function. 2018-10-17 12:17:36 and abuild will do the rest 2018-10-17 12:17:45 ofc you need to add it to subpkgs 2018-10-17 12:19:29 Ah ok, thanks for the hints ;) 2018-10-17 12:20:32 you only override buildins when you need something special. 2018-10-17 12:53:24 wait, why do you need to add it to the sub packages? 2018-10-17 12:54:47 <_ikke_> add what to the subpackages? 2018-10-17 12:54:50 <_ikke_> openrc? 2018-10-17 12:55:18 the init file 2018-10-17 12:55:39 <_ikke_> You add it to the main package, the openrc split function will move it to the subpackage 2018-10-17 12:56:50 that's what I thought too, I just found the way that was explained above somewhat confusing 2018-10-17 12:57:27 <_ikke_> TBB: clandmeter means that you need to add $pkgname-openrc to the subpkgs array 2018-10-17 12:58:05 understood 2018-10-17 13:01:50 anyone built ixgbe on Alpine? the ixgbe driver doesn't see where alpine has stashed its kernel source 2018-10-17 13:01:52 ls -lthr 2018-10-17 13:02:03 and the second message was definitely the wrong window 2018-10-17 13:03:07 <_ikke_> hosom: what do you mean exactly with kernel source? 2018-10-17 13:03:15 <_ikke_> hosom: are you referring to the header files? 2018-10-17 13:03:23 yeah 2018-10-17 13:03:41 <_ikke_> You need to install the correct package to get the headers 2018-10-17 13:03:49 linux-headers is installed 2018-10-17 13:03:53 not the right package? 2018-10-17 13:04:41 <_ikke_> sounds correct 2018-10-17 13:04:57 <_ikke_> Do you know what header it cannot find? 2018-10-17 13:05:36 one moment, I'll see if I can find it 2018-10-17 13:07:17 it can't find autoconf.h 2018-10-17 13:07:53 which appears to be in linux-vanilla-dev and linux-virt-dev 2018-10-17 13:08:30 <_ikke_> Yes, but I don't think you should use those 2018-10-17 13:09:04 may not match the current running kernel? 2018-10-17 13:09:36 <_ikke_> I'm not sure, but isn't that file generated by the build process? 2018-10-17 13:10:03 <_ikke_> or maybe you should use that one 2018-10-17 13:10:28 <_ikke_> https://serverfault.com/questions/568395/what-is-creating-the-generated-autoconf-h 2018-10-17 13:12:35 hm... seems risky to use the one packaged with linux-vanilla-dev then, probably should build locally? 2018-10-17 13:13:55 actually, that package seems to be fine... 2018-10-17 13:14:07 it looks like it is intended for building third party modules (exactly what I'm doing) 2018-10-17 13:30:28 <_ikke_> right, I agree now 2018-10-17 13:30:36 <_ikke_> I though it was something different 2018-10-17 13:37:38 thanks! 2018-10-17 14:49:45 hi evreyone 2018-10-17 14:50:41 i make a alpine iso but where i boot with qemu i've an error 2018-10-17 14:50:52 someone can help me 2018-10-17 14:54:33 i see this error: /sbin.init not found in new root. launching emergency recovrey shell 2018-10-17 14:54:39 type exit to continue boot 2018-10-17 15:50:40 Hello, I have a question, not sure if this is the best place to ask 2018-10-17 15:54:11 how would we know if this is the right place if you're not actually asking the question? 😛 2018-10-17 15:55:04 bidou▸ /sbin.init sounds like the wrong thing. it's usually /sbin/init that you need to run. Did you introduce a typo in the boot process somewhere? 2018-10-17 15:58:02 so last night a new version of Python3.6 was tagged as edge (python3.6.6-r1). This version appears to be incompatible with alpine3.5 - there is an error loading libpython3.6m.so.1.0 2018-10-17 15:59:22 unfortunately, we cannot install an earlier version (i.e. removing the edge tag) as it leads to conflicts with other packages 2018-10-17 15:59:37 does anyone have any suggestions on how to resolve this? 2018-10-17 16:46:36 hi, this "Alpine Linux was designed with security in mind. The kernel is patched with an unofficial port of grsecurity/PaX," should probably be removed from https://alpinelinux.org/about/ 2018-10-17 16:49:42 Quick question, apkbuild files use posix sh or are bashisms accepted ? 2018-10-17 16:50:18 maxice8[m]: i don't recall seeing an apk script with bashism 2018-10-17 16:50:35 and bash is not, iirc, installed by default. so posix 2018-10-17 16:51:33 (though busybox ash does support some bash features, like [[ and substrings, but i haven't seem them at the apk scripts which i saw) 2018-10-17 16:53:02 ok thanks 2018-10-17 16:53:52 freenode_qtzord[m]: since you seem to be using Matrix, I recommend you join #alpine-linux:alpinelinux.org rather than using the current alias. this way you'll actually see the other Matrix users and get typing notifications and stuff 2018-10-17 16:55:15 bribbers[m]: i'm using matrix with weechat 2018-10-17 16:59:01 yes so please join this room via #alpine-linux:alpinelinux.org rather than the current alias you're using (which is #freenode_#alpine-linux:matrix.org) 2018-10-17 16:59:06 also, why am I bribbers[m] on IRC...? 2018-10-17 17:02:45 <_ikke_> you are PureTryOut[m]: 2018-10-17 17:24:13 huh strange 2018-10-17 17:41:13 hi all, is there any way to have SNI by default like with OpenSSL 1.1.1 ? my full question story ... https://github.com/JrCs/docker-letsencrypt-nginx-proxy-companion/issues/457 2018-10-17 18:01:09 vagrant help 2018-10-17 19:04:27 well... that's interesting 2018-10-17 19:05:07 with both the included (and a self compiled version) of ixgbe, if you disable tcp checksum offloading in ixgbe on alpine 3.8, it would appear you stop being able to see tcp traffic on that interface... 2018-10-17 21:00:16 is there simple method to show who is logged in AL? who and w don't work. install utmps? 2018-10-17 22:14:00 `users` from coreutils 2018-10-17 22:14:22 (Looking at busybox config, it doesn't look like users is enabled in that, nor in -extras) 2018-10-17 22:14:57 mps: ^ 2018-10-17 22:17:16 duncan^: yes, I'm here. users doesn't do anything 2018-10-17 22:18:00 It should, but it might not show root 2018-10-17 22:19:16 it works on debian, but not on alpine 2018-10-17 22:19:56 wtmp is zero size on alpine 2018-10-17 22:21:21 I'm afraid I can't help you, then. I do recall it working, but I may recall wrong. 2018-10-17 22:21:35 never mind, can live without it and don't want to install utmps and run another daemon 2018-10-17 22:21:38 It seems like a bug to me, though. IMO `users` should work as advertised 2018-10-17 22:22:10 it is not important to me, just will be nice addition 2018-10-17 22:22:52 musl doesn't support wtmp/utmp because that is unsecure 2018-10-17 22:24:24 hmm, there is man page for them on alpine. why if musl doesn't support them? 2018-10-17 22:27:29 or, that is a "Linux Programmer's Manual" and just copied to musl lib docs 2018-10-18 09:27:28 there seems to be a bit of a bug in the fltk-dev package 2018-10-18 09:28:06 when i run fltk-config --cflags to get the compilation flags, it returns 2018-10-18 09:28:14 -I/usr/include/freetype2 -I/usr/include/libpng16 -Os -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT 2018-10-18 09:28:49 which includes the two optimization flags that probably should be returned by the --optim argument, rather than --cflags 2018-10-18 09:29:30 and now, i can't get rid of those optimizations without having to manually set up cflags and cxxflags in my makefile :-( 2018-10-18 12:46:08 is there a mailing list to report possible bugs to? 2018-10-18 12:46:58 hosom: https://bugs.alpinelinux.org would be the right place for bug reports, i guess 2018-10-18 12:47:13 yeah, I was trying to avoid creating a throwaway account 2018-10-18 12:51:08 <_ikke_> there is alpine-devel@lists.alpinelinux.org 2018-10-18 12:51:59 _ikke_: thanks 2018-10-18 16:41:35 Anyone have experience getting https://github.com/node-gfx/node-canvas-prebuilt working on alpine? I posted the output of ldd of the binary here https://gist.github.com/devon-sofdesk/d5bb1691f40063fa97e4f7bb7a250e4b . I'm hoping somebody has already got it working, if not I'll try to convert this debian based dockerfile https://raw.githubuserconten 2018-10-18 16:41:36 t.com/node-gfx/node-canvas-prebuilt/master/docker/Dockerfile to an alpine one so I can install canvas from source 2018-10-18 17:00:56 opsuser1294▸ that looks like binaries build for glibc 2018-10-18 17:11:41 built* 2018-10-18 17:11:59 so using the prebuilt might not be a great option for you. better to compile it so it's compiled against libmusl. 2018-10-18 17:21:41 programmerq: Thanks, seems like I have no choice but to compile it myself 2018-10-18 17:25:27 opsuser1294▸ yeah, the github repo calls out glibc specifically: https://github.com/node-gfx/node-canvas-prebuilt#linux-technicalities 2018-10-19 06:19:40 moin 2018-10-19 08:44:42 moin 2018-10-19 18:59:31 is there something new(ish) about using alpine with docker and supervisord that makes supervisorctl not work because the socket can't be used? 2018-10-19 18:59:55 I did a new build of our images on a new machine, and none of them have a working supervisord 2018-10-19 19:07:30 hrmph, there's nothing obviously different at first glance from the last working one I have... 2018-10-19 21:02:10 hi, i cannot get the latest version of alpine linux to boot on my raspberry pi model 3 B version 1.2 (not the b+) 2018-10-19 21:02:34 i've tried everything from the classical install, and the regular tutorials 2018-10-19 21:02:43 my raspberry pi just fails to boot 2018-10-19 21:03:16 i have also tried moving the files inside /boot out into the root dir, editing the config file, and still no luck. 2018-10-20 10:04:32 Hi. I'm trying to add this content https://gist.github.com/myhro/692947267f3a54819ca60bd2acc8593e to the https://wiki.alpinelinux.org/wiki/Setting_up_a_software_RAID_array wiki page. Apparently I'm not allowed to do it because of a "New users are not allowed to add ip addresses and phone numbers" error. Is there a way to overcome this, as I'm posting version numbers and not IPs or phone numbers, other 2018-10-20 10:04:38 than waiting for the wiki to consider me an older user? 2018-10-20 19:50:30 How can I set Alpine Linux up that it opens a LUKS partition with a keyfile so I can mount a filesystem contained within it using /etc/fstab? 2018-10-20 19:50:36 (yep, I've set up crypttab) 2018-10-20 19:51:17 Note: root filesystem is *not* contained within that LUKS partition 2018-10-20 19:58:17 Glancing at pkgs.alpinelinux.org, have you installed cryptsetup-openrc and enabled the dmcrypt service it provides? 2018-10-20 19:59:49 pardis: there is no cryptsetup-openrc package in 3.8.1 it seems 2018-10-20 19:59:55 there is however a dmcrypt initscript 2018-10-20 20:01:05 Ah, looks like the -openrc subpackage was split out after the 3.8 release 2018-10-20 20:01:10 Yes, that's the init script I was referring to 2018-10-20 20:01:18 I'm not sure if it will do what you want (it's quite big), but it looks like it might 2018-10-20 20:01:28 I'll try adding it to the boot level 2018-10-20 20:01:32 runlevel* 2018-10-20 20:02:08 hm, nope 2018-10-20 20:02:41 thing is, I have a raid 1 volume that contains a LUKS volume that contains a bare ext4 filesystem. 2018-10-20 20:02:55 You might have to edit /etc/conf.d/dmcrypt, which looks like a config file for that init script 2018-10-20 20:03:00 It doesn't seem to use crypttab 2018-10-20 20:03:17 ah, okay 2018-10-20 20:04:25 yep, works! 2018-10-20 20:04:39 now reboot 2018-10-20 20:07:42 Hm, needs some more tweaking 2018-10-20 20:12:05 Got it! 2018-10-20 20:12:26 added "need mdadm-raid" to /etc/init.d/dmcrypt 2018-10-20 20:12:29 now it works. 2018-10-20 20:17:27 <_ikke_> pardis: note that you don't have to explicitly install *-openrc packages. If you have openrc installed, it will be automatically installed as well 2018-10-20 20:17:40 Ah, sweet 2018-10-20 20:17:40 Thanks 2018-10-21 08:53:14 hi, qq: can f2fs be used as a root file system? using alpine-3.8.1, setup-disk complains f2fs is not in the approved list, however, i looks like f2fs is compiled in the kernel... 2018-10-21 12:05:39 mouren: yep should workd 2018-10-21 12:05:41 mouren: yep should work* 2018-10-21 21:30:07 Hello, I'm trying to build a net lab using alpine as routers, proxies. Is this good idea? (aboslute beginner here) 2018-10-21 21:32:36 sure 2018-10-21 21:34:18 can I run simple webservers on alpine? 2018-10-21 21:34:31 does it have iptables or something for route/fw/proxying? 2018-10-21 21:35:26 all the usual stuff, yes 2018-10-21 21:35:52 okay 2018-10-21 21:39:30 it's not really *all* that different in terms of usage than any other linux distro 2018-10-22 06:37:02 moin 2018-10-22 07:07:12 tuning some docker images and something broke due to unzip refering to some busybox version (unzip package installed though), thoughts? 2018-10-22 07:15:04 ok im just stupid, i was purging the package in the parent image... 2018-10-22 08:36:26 i'm trying to setup alpine on virtual machine 2018-10-22 08:36:38 unable to get network working, ifconfig doesn't work 2018-10-22 08:36:55 neither bridging nor NATing work 2018-10-22 09:02:47 I am trying to install GCC at Python based Alpine instance. It is stuck aty 14% somehow https://dpaste.de/aPck/raw 2018-10-22 09:03:02 If anyone know the reason, please guide me. 2018-10-22 09:03:04 Thanks! 2018-10-22 14:11:42 clandmeter (IRC): could you set the required permissions to talk to 0 in #alpine-devel:alpinelinux.org (Matrix)? 2018-10-22 17:04:48 I am using edge and Xwayland segfaults on startup, is it broken or is it just me? 2018-10-22 17:16:38 we use it on postmarketOS fine so it seems to be just you 2018-10-22 17:24:02 PureTryOut: is postmarketOS on edge? or 3.8.1? 2018-10-22 17:25:21 edge 2018-10-22 17:25:36 for now anyway 2018-10-22 17:29:23 PureTryOut[m]: ah i just saw gdb says it crashes when loading i965_dri.so, does postmarketOS work on any intel x86 devices? I only see qemu in supported devices for amd64 2018-10-22 17:33:47 we do have some yes, let me check 2018-10-22 17:34:11 https://wiki.postmarketos.org/wiki/Devices this page has a list of devices with their architectures 2018-10-22 17:42:07 PureTryOut[m]: I guess Teclast X80 Pro could be using i965 driver, right? 2018-10-22 17:42:35 probably yes 2018-10-22 17:44:57 I am compiling mesa now, to see if I can somehow get debug symbols so I can figure out what is happening. 2018-10-22 17:52:42 turns out I don't have enough diskspace to build mesa... guess I'll keep using Xorg for now. 2018-10-23 01:33:13 is it possible to tell setup-disk/-alpine that it should only partition the first 16GB of disk space for itself instead of using the entire disk? 2018-10-23 07:27:01 moin 2018-10-23 07:32:04 moin 2018-10-23 07:58:01 good morning! 2018-10-23 08:01:32 Okay. Tried to install Alpine. Everything went smooth, but Xorg config test says that amdgpu needs libdrm 3.0 to run, is there is any workaround? Thanks! 2018-10-23 08:32:17 gtg 2018-10-23 08:39:30 Hi alltogether 2018-10-23 08:41:23 Can you tell me which package is the kernel package, please? Under apk info -vv I see 18 packages but no kernel or linux or something like that. 2018-10-23 08:42:12 I am using the 3.8.1 iso right now 2018-10-23 08:43:00 Hey. Has ne1 gotten usb otg to work on the Raspberry Pi Zero W? 2018-10-23 08:43:38 <_ikke_> sunmaster: what iso exactly? 2018-10-23 08:44:14 _ikke_: alpine-standard-3.8.1-x86_64 2018-10-23 08:47:25 <_ikke_> Did you do an install, or just booted it? 2018-10-23 08:48:10 I just booted it. (But after getting a solution to my next question I want also to install it.) 2018-10-23 09:00:19 My second question is: I am on a Win10 host and I booted the afore mentioned iso under Qemu. Now I have difficulties to setup the German keyboard. 2018-10-23 09:02:12 With setup-keymap and choosing de and then de it does not work. My ö and ä and ß keys are not showing up. I also tried de-nodeadkeys for the second question but that also not work. 2018-10-23 09:03:36 I do not know why but just for trying it I installed Virtualbox and booted the iso. And my German keyboard works. 2018-10-23 09:04:55 _ikke_: I just booted it. 2018-10-23 09:23:53 I just went through all 18 packages with apk info -L. But did not find the kernel. I tried with apk info -W to find the package of /media/cdrom/boot/vmlinuz-vanilla. No luck :-( 2018-10-23 09:32:55 <_ikke_> Because that's not managed by a package 2018-10-23 09:32:59 <_ikke_> What do you want to achieve? 2018-10-23 09:34:46 I want to understand what the base system of Alpine is(I) and also the package management(II), so I can bootstrap my "own" Alpine. 2018-10-23 09:34:54 PureTryOut[m], you are asking me to set some settings, but i actually want to terminate our server. will that affect settings? 2018-10-23 09:36:06 _ikke_: If that is not managed by a package how is it managed and how do the Alpine devs put(installed) the kernel into the iso? 2018-10-23 09:36:40 <_ikke_> The kernel itself is in a package 2018-10-23 09:37:14 <_ikke_> https://pkgs.alpinelinux.org/package/edge/main/x86_64/linux-vanilla 2018-10-23 09:37:55 But that does not show up under apk info 2018-10-23 09:43:51 Maybe this is easier to answer: How (with which scripts) do you generate/create the standard iso? 2018-10-23 09:44:00 You as in the alpine devs 2018-10-23 09:44:11 check in aports root dir 2018-10-23 09:44:20 it has a scripts dir 2018-10-23 09:53:14 clandmeter: As I look into "mkimg.standard.sh", I see in the lines 34-55 many more apks included into the standard as in the standard iso are. 2018-10-23 09:53:19 https://git.alpinelinux.org/cgit/aports/tree/scripts/mkimg.standard.sh?h=3.8-stable 2018-10-23 09:58:16 What or why is this difference? 2018-10-23 10:01:24 clandmeter (IRC): the settings won't change no, but there will be no one with admin rights anymore. that said, won't be much of a problem, as we'll just join the portal room (#freenode_#alpine-devel:matrix.org) rather than the plumbed (#alpine-devel:alpinelinux.org ) room 2018-10-23 10:01:39 the portal room shouldn't have that permission problem 2018-10-23 10:03:33 Hello. I'm getting `Oct 23 02:11:22 lucy smtpd[17600]: e696084a4381c67b mta event=error reason=TLS required but not supported by remote host` when I try to send an email to the list. 2018-10-23 10:03:55 Does lists.alpinelinux.org not support being relayed mail over tls? 2018-10-23 12:18:03 clandmeter (IRC): actually now I joined the portal room, that one also has a required permission level of 1 to talk... not sure what's going on here, I'll ask about 2018-10-23 12:29:20 oh it seems you have to remove the requirement of having voice to talk. `/mode -m` should do it, possibly twice 2018-10-23 12:29:40 in #alpine-devel that is, this channel is fine already 2018-10-23 12:30:47 <_ikke_> #alpine-devel does not have +m 2018-10-23 12:31:02 <_ikke_> it does have +q $~a 2018-10-23 12:45:23 hmm ok I'll search for something else then 2018-10-23 12:45:36 actually, could you compare the modes between this channel and the dev one? 2018-10-23 12:45:58 <_ikke_> #alpine-devel is missing -r 2018-10-23 12:46:21 <_ikke_> Which should make it better 2018-10-23 12:49:02 not sure what that mode does but could you add it then? 2018-10-23 12:49:47 <_ikke_> It requires people to be registered 2018-10-23 12:55:15 ah ok, but that shouldn't have anything to do with this problem, as it would just kick the user out if it isn't registered (even on Matrix, I had that problem before) 2018-10-23 12:56:13 <_ikke_> I can try to remove the +q 2018-10-23 12:56:32 <_ikke_> PureTryOut[m]: can you check it now? 2018-10-23 13:02:05 didn't change much sadly 2018-10-23 13:08:18 Hey. Has someone tried to get Alpine running on the Pi Zero W with USB OTG? 2018-10-23 13:17:26 _ikke_: seems there is a possibility the bridge missed -m if it was set once, could you do a `/mode -m` regardless of it's current setting? 2018-10-23 13:20:06 <_ikke_> done 2018-10-23 14:33:42 is it possible to tell setup-disk/-alpine that it should only partition the first 16GB of disk space for itself instead of using the entire disk? so far i tried manual partitioning (with first partition being also raid1 whereas the partitions are marked as bootable), then creating an mdadm array on top of that and using setup-disk to deploy the OS but this way it's not bootable, neither with mbr.bin nor 2018-10-23 14:33:42 with gptmbr.bin, both just tell me Missing OS/Missing operating system 2018-10-23 14:35:41 Fusl: partition disk 'by hand' and give preferred partiotion as parameter to setup-disk 2018-10-23 14:36:23 no partition, but mount it and then give mount point (dir) to setup-disk 2018-10-23 14:36:33 thats what i tried 2018-10-23 14:36:52 setup-disk also succeeds and then tells me "You might need fix the MBR to be able to boot" 2018-10-23 14:37:16 that's ok, it worked few times for me 2018-10-23 14:37:19 so thats when i do "dd bs=440 conv=notrunc count=1 if=/usr/share/syslinux/gptmbr.bin of=/dev/sdX" over all disks in the raid1, that installs the syslinux loader which then fails to load the OS 2018-10-23 14:38:00 etlinux --install /mnt-point 2018-10-23 14:38:31 extlinux not etlinux 2018-10-23 14:47:53 mps: extlinux --install /mnt says `/mnt is device /dev/md1` 2018-10-23 14:48:45 can't remember that message for sure, but think it is appeared in my cases also 2018-10-23 14:48:49 and /mnt/boot -> `/mnt/boot is device /dev/md0` 2018-10-23 14:49:01 _ikke_ (IRC): didn't do it either sadly. the bridge maintainer is going to have a look at it tonight 2018-10-23 14:49:16 <_ikke_> alright 2018-10-23 14:49:33 so thats what i did now. should i also do the additional step to dd the gptmbr.bin to each of the disks? 2018-10-23 14:49:55 Fusl: I didn't tried that on md devices, only on plain disks. but it worked 2018-10-23 14:50:51 lont time passed when I worked with md devices, but think you should do that for all member disks in md 2018-10-23 14:51:01 s/lont/long/ 2018-10-23 14:51:24 "Missing OS" :( 2018-10-23 14:51:39 ACTION rolling tobaco and typing is error prone 2018-10-23 14:53:21 Fusl: my personal short note about that: http://dpaste.com/0D3W477 2018-10-23 14:56:34 _ikke_ (IRC): are you available in about 3-4 hours by any chance? 2018-10-23 14:56:49 <_ikke_> mosy likely, yes 2018-10-23 15:09:18 also without raid fails to boot 2018-10-23 15:11:19 here are the commands i'm running. can anyone check if i'm doing something wrong? http://xor.meo.ws/6kx5dGvD2kTJ9tHm6nQj1RRJzg-jLlsf.txt 2018-10-23 15:14:02 Fusl: did you tried boot flag on boot partition. syslinux require it, IIRC 2018-10-23 15:14:25 > a 2018-10-23 15:14:26 > 1 2018-10-23 15:14:28 thats what i'm doing 2018-10-23 15:14:35 1 is boot, 2 is root 2018-10-23 15:15:34 didn't worked with parted some time 2018-10-23 15:15:52 _ikke_ (IRC): cool, the bridge maintainer will look at the problem around then 2018-10-23 15:16:25 but, with fdisk I set boot flag 2018-10-23 15:16:46 and, it works, tried that few times 2018-10-23 15:22:46 okay, just figured out i have to use mbr.bin instead of gptmbr.bin when using msdos/mbr partition layout 2018-10-23 15:24:10 Fusl: of course, didn't noticed this in your post at http://xor.meo.ws/6kx5dGvD2kTJ9tHm6nQj1RRJzg-jLlsf.txt 2018-10-23 15:24:55 mbr.bin is for dos table and gptmbr.bin is for gpt 2018-10-23 15:26:16 and, IMO it is better to use gpt than dos partition table on disks 2018-10-23 15:27:59 yeah thats what i figured but i wanted to make sure that its bootable at all so tried with mbr when it failed with gpt at first 2018-10-23 15:28:11 because i wasnt sure if syslinux supports gpt at all 2018-10-23 15:29:47 I have installed it on four x86_64 machines on gpt partitions using that method 2018-10-23 15:30:04 and on some qemu virtual disks 2018-10-23 15:30:48 ok, same commands just with gpt instead of mbr and using gptmbr.bin instead of mbr.bin do not work :/ 2018-10-23 15:31:35 and using sgdisk /dev/sda --attributes=1:set:2 to set the bootable flag 2018-10-23 15:32:05 don't know, I used fdisk always 2018-10-23 15:32:56 I mean, fdisk package and not busybox fdisk applet 2018-10-23 15:35:43 okay, figured it out as well now 2018-10-23 15:35:54 fdisk from util-linux apk, to be clear 2018-10-23 15:36:14 i always created BIOS boot partitions (ef02 type) when using gpt because thats how debian wants/requires it in certain situations and always worked with that 2018-10-23 15:36:26 omitting the ef02 partition in alpine linux also makes it bootable via gpt now 2018-10-23 15:37:35 nice, and good to know about ef02. I will put it in notes 2018-10-23 15:48:35 Fusl: if you managed to install AL on md with setup-disk could you post short info about your success for later notes 2018-10-23 15:48:43 sure 2018-10-23 15:49:18 thanks 2018-10-23 16:18:13 mps: and its working :) http://xor.meo.ws/NNxHuu3pQFohJC3X1BRruJ77eMU5SKwq.txt 2018-10-23 16:22:01 Fusl: your domain rocks :3 2018-10-23 16:22:49 my domain meows :) 2018-10-23 16:28:23 here is with comments: http://xor.meo.ws/PFc1-MaKmH8GbuXnIJeJ2cdXD68UlNy2.txt 2018-10-23 16:30:57 Fusl: nice, but small nitpick. you could use fdisk from util-linux because it's 'user interface' are similar to busybox's fdisk applet 2018-10-23 16:31:13 but that is not so important 2018-10-23 16:32:02 i'm actually going to see if i can make it work similar to how setup-disk does it in the background: https://github.com/alpinelinux/alpine-conf/blob/master/setup-disk.in#L666 2018-10-23 16:32:49 and, I'm not sure about boot flag for boot partition, is it needed, because I always worked in hurry and didn't remembered what exactly must be done 2018-10-23 16:33:26 yeah, syslinux says it is needed: As stated above, the MS-DOS mbr (mbr.bin) of Syslinux provides the "Missing Operating System" error message while the GPT mbr (gptmbr.bin) provides the "Missing OS" error message. In order to fix this problem, enable the "boot" ("active") flag on the boot partition (in many cases /dev/sda1). At time of writing, parted-2.3 does not seem to do this job like expected. 2018-10-23 16:33:27 Instead, use "sgdisk" to get this task done. 2018-10-23 16:34:22 on a system installed with setup-alpine: /dev/sda1 : start= 2048, size= 204800, type=83, bootable 2018-10-23 16:34:26 it is not important which tool is used for setting partition, important is to set it right 2018-10-23 16:35:31 for example, I tried with busybox applet but for some unknown reason to me it didn't worked 2018-10-23 16:36:11 probably because it doesn't skip some blocks at the disk beginning 2018-10-23 16:37:00 and I was lazy to calculate parameters from head 2018-10-23 16:49:17 Fusl: just read your posts at xor.meo.ws, nicely written 2018-10-24 06:40:25 moin 2018-10-24 08:31:05 apk upgrade only says "OK: 74mb in 45 packages", how do I upgrade? 2018-10-24 08:32:08 <_ikke_> did you do an update before? 2018-10-24 08:32:29 yes 2018-10-24 08:32:55 also says "OK: 5478 packages available." 2018-10-24 08:33:04 <_ikke_> Then there apparently are no updates 2018-10-24 09:13:31 wouldn't then apk upgrade say something like 0mb in 0 packages? 2018-10-24 09:13:46 <_ikke_> no 2018-10-24 09:13:50 ok, ty 2018-10-24 10:19:31 hello all 2018-10-24 10:19:44 i have 'perl: warning: Setting locale failed.' error on login 2018-10-24 10:20:04 i try to find how to set locales in alpine...and can't done it 2018-10-24 10:20:27 Hi, just wondering if anyone has found a solution to this - https://bugs.alpinelinux.org/issues/9049 ? 2018-10-24 10:21:59 i tried to add `export LANG...` to /etc/profile. but perl warnings still present (3 warnings in total) 2018-10-24 11:51:10 oops. it was a problem of container (inherited locales from host). thanks and sorry for disturbing 2018-10-24 13:00:26 Im going to unlink and decommission our alpine matrix server. please use official matrix.org channel instead. 2018-10-24 14:32:25 hello 2018-10-24 14:33:09 new user here.. have some questions on mkinitfs and luks. 2018-10-24 14:34:16 wanting to roll the key into the mkinitfs image and auto unlock on boot. is there a way to include the key in the build process? 2018-10-24 16:52:27 jayray: What is the point of encryption which *includes* the decryption key? 2018-10-24 16:53:03 (apart from a bit of obfuscation) 2018-10-24 17:18:58 brebs its a step along the way. going to encrypt boot and use grup to unlock 2018-10-24 17:19:16 I think I have most of it figured out at this point.. 2018-10-24 17:19:25 just time 2018-10-24 17:19:42 *grub 2018-10-24 17:20:47 jayray, do you making single partition full disk encryption with grub? 2018-10-24 17:21:51 full disk. sda1 will be luks with grub to unlock, it will have the key in initfs. sda2 is lvm with root and swap. 2018-10-24 17:22:05 sda1 is boot 2018-10-24 17:23:05 can do it all just on single partition, working fine too but you probably wanna have multiboot setup 2018-10-24 17:23:54 never tried single partition crypto 2018-10-24 17:24:32 just creating single partition, doing luksFormat on sda1 and creating LVM on it 2018-10-24 17:25:22 how does grub know to unlock? 2018-10-24 17:26:18 in grub command line add something like: cryptroot=/dev/sda1 cryptdm=crypt cryptkey=yes 2018-10-24 17:26:52 cryptkey=yes will look for a key here: /crypto_keyfile.bin 2018-10-24 17:27:42 and in /etc/mkinitfs/mkinitfs.conf need add features="... cryptsetup cryptkey" 2018-10-24 17:28:25 so key will be included in initramfs and grub just ask once for passphrase 2018-10-24 17:29:23 + ofc /etc/default/grub with GRUB_ENABLE_CRYPTODISK=y 2018-10-24 17:30:26 that how will know how unlock/ask about passphrase 2018-10-24 17:30:55 or you just trying do it without passphrase? what sounds weird 2018-10-24 20:53:19 cd / 2018-10-25 01:42:16 Hello everyone. I'm considering migrating from Raspbian to Alpine on my RPi 3 and I see there are multiple ways to install Alpine, with the suggested method for RPis being diskless mode. Are there any dangers in installing Alpine in standard "sys" mode? I plan to run a server with /home, /srv, and /var on an external HDD to minimize unnecessary writes to flash. 2018-10-25 02:04:59 zlg: no, there aren't any dangers, but the diskless mode works p well. 2018-10-25 02:05:19 I some webservers on mine in that way. 2018-10-25 02:05:54 also "diskless" is a kinda misleading term, the same way as "serverless" is. 2018-10-25 02:06:20 it means that it'll run on ram instead of disk, not that it doesn't uses a disk. 2018-10-25 02:07:21 milliardo: My main concern with diskless mode is RAM use. The RPi 3 only has 1G of RAM; does it eat that much into the RAM budget? I see there's a nice lbu tool for persistence, for a "known-good" state, so that's cool. 2018-10-25 02:21:12 zlg: http://ix.io/1pXL 2018-10-25 02:21:27 check for yourself 2018-10-25 04:14:12 I'm looking for a socks daemon for alpine.. the only thing I see is dante in testing from about a year ago.. has anyone used it? 2018-10-25 06:52:32 moin 2018-10-25 07:36:28 Hi, I want to remove unneccesary packages in alpine with: apk list --quiet --installed | grep -v '(ssl|musl)' | cut -d ' ' -f 1 | xargs apk del --quiet 2018-10-25 07:36:33 but it echoes nothing and does nothing 2018-10-25 07:36:47 (Yes I know it will remove musl, but it's a test) 2018-10-25 07:44:29 nindustries, the version is appended 2018-10-25 07:47:54 clandmeter: Problem is I can't split on '-' 2018-10-25 07:49:15 nindustries: apk info | awk '!/(ssl|musl)/ { print $1 }' 2018-10-25 07:50:12 ahhh, info. Now that's misleading 2018-10-25 07:50:17 Thank you misterunknown 2018-10-25 07:50:41 nindustries, apk is not optimal in some queries. 2018-10-25 07:50:48 we know about it. 2018-10-25 07:50:58 nindustries: I agree. The "info" command should be described a bit better. 2018-10-25 07:52:17 clandmeter: I don't miss a functionality in apk, but the description of "info" could be better. It's not clear that you can use it to list the _installed_ packages. 2018-10-25 07:52:26 kaniini has put some work in it recently. 2018-10-25 07:52:52 Nice to hear! 2018-10-25 07:53:35 misterunknown, i did miss some options, but i havent tested it lately. 2018-10-25 07:54:21 misterunknown, patches are welcome. 2018-10-25 09:28:00 is it possible to install google-chrome with libc-compat? 2018-10-25 09:28:15 I mean, has anyone actually succeeded with that? 2018-10-25 12:24:24 iveqy: Any idea how to extract a deb-package on alpine? I installed dpkg, but it throws an error due to wrong usage of tar... 2018-10-25 12:25:22 Nevermind, just installed GNU tar... 2018-10-25 12:26:38 misterunknown: nopp, good that you solved it :). I don't think you need dpkg though, you could just use tar 2018-10-25 12:27:45 iveqy: I tried it using busybox tar, but that didn't work because of "invalid tar magic" :-P 2018-10-25 12:30:46 But even GNU tar won't extract it directly 2018-10-25 12:31:18 <_ikke_> You have to extract it twice 2018-10-25 12:31:33 <_ikke_> The main deb file contains some control files, and another archive with the package ontents 2018-10-25 12:37:29 Hi, i'm very new to alpine, i just did apk add gcc, but gcc fails to build a simple int main(){} c file, giving a linker error, with things like cannot find Scrt1.o: no such file or directory 2018-10-25 12:37:54 it says cannot find -lssp_nonshared below 2018-10-25 12:38:47 don't just apk add gcc 2018-10-25 12:39:03 apk add build-base is a better start :p 2018-10-25 12:39:24 misterunknown: ar x on the main deb, then tar x on the data.tar.gz 2018-10-25 12:39:25 package 'musl-dev' contain 'Scrt1.o' 2018-10-25 12:39:56 Shiz: Thx, this works. 2018-10-25 12:41:12 ah cheers Shiz 2018-10-25 12:41:37 gcc is just the compiler, build-base installs that and the system libraries needed to compile a C programs 2018-10-25 12:41:38 :) 2018-10-25 12:41:45 gotcha :) 2018-10-25 13:05:47 chris_99, alternatively you can use https://pkgs.alpinelinux.org/contents to find the package(s) that contain a file 2018-10-25 13:05:58 but yeah, for compiling software either use build-base or alpine-sdk 2018-10-25 13:06:09 neat, not seen that webpage 2018-10-25 13:06:09 most software will at least need the core libs installed 2018-10-25 14:46:54 Hello. I'm in initramfs emergency recovery shell right now. Using root on zfs on top of plain cryptsetup drives (no LUKS). Question: in what state should I leave system before typing exit? Should I only decrypt drives, should I import zpool or should I mount root somewhere? 2018-10-25 14:51:25 Also, if I try to boot in single mode, I loose access to my usb keyboard. How I can fix it? 2018-10-25 14:54:41 @laskin in Arch I use luks for root & zfs mirror with native encryption for home - you probably have not enabled the zfs service ? https://wiki.archlinux.org/index.php/ZFS#Automatic_Start - in zfs 0.8.0_RC1 zfs native encryption works 2018-10-25 14:57:45 I don't use LUKS and I don't use Arch. My question is about Alpine's initramfs-init 2018-10-25 14:58:48 It looks like nlplug-findfs not only find disks, but coldplug keyboard as well 2018-10-25 15:12:36 Out of interest does anyone use TensorFlow in alpine, i tried to install it via pip, but got the same error as https://github.com/tensorflow/tensorflow/issues/103 2018-10-25 15:12:47 would docker, be the main way to use it? 2018-10-25 17:00:32 Is there a way to list the last updates applied to a particular container running alpine? 2018-10-25 17:01:45 something roughly equivalent to "rpm -qa --last" ? 2018-10-25 18:05:12 I am trying to statically build FIO with http support. This requires -lcurl -lssl -lcrypto -laio -lz, but I am getting conflicts between curl-dev and openssl-dev vs. libressl-dev in 3.8. There are also references to nghttp symbols, but that is not available as a .a, only .so. How fully formed are the packages in Alpine? 2018-10-25 18:07:16 or - perhaps put another way - am I asking for packages that have not been ported or created in Alpine yet? 2018-10-25 18:14:57 mbeierl: I don't know the answer to your question but libressl-dev and openssl-dev seem redundant just off hand 2018-10-25 18:31:46 mbeierl: why do you need both openssl-dev and libressl-dev? 2018-10-25 18:31:53 that seems wrong 2018-10-25 18:36:48 I don't need both, but curl-dev requires libressl and libssh2-dev requires openssl, and the two conflict. So I cannot seem to install both curl-dev and libssh2-dev at the same time 2018-10-25 18:38:37 and then libcurl.a needs nghttp2, which is available as an .so only, so I cannot build statically 2018-10-25 18:40:43 mbeierl: looking at the APKBUILD (and only going off that) the main git repo actually says they're both based on libressl-dev 2018-10-25 18:40:55 curl: https://git.alpinelinux.org/cgit/aports/tree/main/curl/APKBUILD 2018-10-25 18:41:01 libssh2: https://git.alpinelinux.org/cgit/aports/tree/main/libssh2/APKBUILD 2018-10-25 18:41:12 unless I'm missing something 2018-10-25 18:51:47 mbeierl: For the .a files being missing, recompile them. I'm surprised that "*-static" subpackages aren't a standard thing, e.g. as with gettext - https://git.alpinelinux.org/cgit/aports/tree/main/gettext/APKBUILD#n57 2018-10-25 21:45:29 Hi everyone. When I run 'apk upgrade' I get 'OK: 70MiB in 46 packages' but nothing seems to happen. 2018-10-25 21:45:57 Is it actually upgrading, or not? How can I fix that? 2018-10-25 21:46:50 if a package does get upgrade, it'll be shown. If no package is upgraded, nothing is shown. 2018-10-25 21:47:06 except for that last line showing disk usage and package count 2018-10-25 21:47:35 Ah, that explains it. I was confused. Thanks a lot! 2018-10-25 21:47:43 np 2018-10-25 21:48:14 It was surprisingly easy to get diskless alpine going. However I'm running into an oddity: I want to mount /var on my external HDD (to store persistent logs and postgres DB); adding it to fstab creates problems for apk; should it be an overlayfs instead? 2018-10-25 21:48:58 I'm thinking it's messing up because alpine creates the nodes it needs, then fstab kicks in and mounts over top of it, clobbering whatever happened in early boot. 2018-10-25 21:49:38 I guess that's the case in fact. apk needs /var for cache. 2018-10-25 21:49:53 Maybe it can be configured to use another location tho. 2018-10-25 21:50:12 I don't mind cache being on /var, since cgit will need it too 2018-10-25 21:50:59 apk cache 2018-10-25 21:51:37 I'm talking about that. You need it in early boot in diskless mode. 2018-10-25 21:52:14 as you'll be performing installs. 2018-10-25 21:53:16 nvm, apk cache seems to be in /etc/apk/cache 2018-10-25 21:53:33 okay, so that explains why it fixed when I removed the entry from fstab and rebooted. (it was having issues running triggers and post-inst stuff) 2018-10-25 22:08:47 hm, when I try to mount an overlayfs on /var it complains about an invalid argument 2018-10-25 22:09:20 overlay /var overlay lowerdir=/var,upperdir=/media/extvar,workdir=/media/extvar/.work 0 2 2018-10-25 22:19:53 I think I have it figured out: dmesg told me the issue: upperdir and workdir must be on the same mount point, but separate subtrees. So you can't have the workdir inside the upperdir. 2018-10-25 22:20:16 so I changed it to /media/extvar/var as the upperdir and /media/extvar/work as the workdir 2018-10-25 23:13:13 What's the preferred dynamic DNS client on Alpine? ez-ipupdate doesn't support Namecheap DNS. 2018-10-25 23:13:38 ddclient does but it wasn't in `apk search` 2018-10-25 23:16:54 I dunno how dyndns works, but I guess it's just a POST request with some auth and the domain name to update? 2018-10-25 23:17:20 if so, then curl should be enough 2018-10-25 23:19:44 Not entirely sure. namecheap does theirs a bit differently, via HTTPS. 2018-10-25 23:19:59 Hi, i'm really new to alpine, is there some documentation on how to install simple apps like Deluge, or steam ? 2018-10-25 23:20:14 Wiki dosen't talk about it too much ... 2018-10-25 23:21:17 kh405_tv: https://wiki.alpinelinux.org/wiki/Alpine_Linux_package_management tldr: `apk add `, use `apk search ` to see if it's present. 2018-10-25 23:21:47 Forget to mention, both i mentioned aren't present 2018-10-25 23:22:19 afaik that means Alpine devs haven't packaged it yet. Which repos do you have enabled? /etc/apk/repositories 2018-10-25 23:23:15 Haven't enabled any, when I checked that file it seems to be official alpine repos, which one should I enable ? 2018-10-25 23:23:36 by 'enabled' I meant listed in the file, sorry. 2018-10-25 23:24:43 Let me recheck that particular container, sorry i've got like 2x running :P 2018-10-25 23:25:30 http://dl-cdn.alpinelinux.org/alpine/v3.8/main http://dl-cdn.alpinelinux.org/alpine/v3.8/community 2018-10-25 23:25:43 Those are the 2 I have, could I just add repos like in ubuntu ? 2018-10-25 23:26:01 kh405_tv: if apk isn't returning anything, they haven't been packaged yet. Yeah, you can add repos but I'm still new so I'm not sure which others you can add. 2018-10-25 23:26:08 I have the same two. 2018-10-25 23:26:32 sudo add-apt-repository ppa:deluge-team/ppa 2018-10-25 23:26:41 well, that's not going to work on alpine 2018-10-25 23:26:41 Is there something like that for alpine ? 2018-10-25 23:27:31 if deluge devs didn't make the effort to package it for alpine, then probably not. 2018-10-25 23:28:13 Damn :(, what other distro would you guys recommend that is focused on minimalism and security, that would run inside LXC container then ? 2018-10-25 23:28:47 that is quite different from running steam and deluge. 2018-10-25 23:29:02 What do you mean ? 2018-10-25 23:29:06 As for Steam, you could install it manually to your /home; it's not easy to package due to the bundled libs and other hacks they use to make it work on Linux. Minimalism + security is the opposite of Steam imo. 2018-10-25 23:29:53 True, that's why i'm putting it into a container, I just want to run some specific game servers 2018-10-25 23:30:01 I don't consider either of them minimal 2018-10-25 23:30:01 But I absolutely agree with you 2018-10-25 23:30:46 I'm not looking for a ''minimal program'' im looking for other minimal distro to install deluge, steam and like plex on it 2018-10-25 23:30:47 then run the server inside the container, not steam. 2018-10-25 23:31:09 Well the server will be ran inside the container which the container itself will run steam 2018-10-25 23:31:29 as for deluge, do it the hard way and compile it yourself. 2018-10-25 23:31:40 kh405_tv: Steam has official support for Ubuntu, so perhaps that's the least-painful way to go 2018-10-25 23:31:48 After that you could also make a package for it if you're successful 2018-10-25 23:32:12 Yeah, going canonical wasn't my first plan tbh 2018-10-25 23:32:42 Would Arch be a good idea ? 2018-10-25 23:32:52 kh405_tv: I found http://cloud-images.ubuntu.com/minimal/releases/ 2018-10-25 23:32:59 Arch could work, sure. 2018-10-25 23:33:06 Pretty sure the AUR has steam 2018-10-25 23:33:33 AUR has a f load of programs ^^ 2018-10-25 23:33:38 gentoo will work and is far more minimal than arch. 2018-10-25 23:33:59 as a full OS, dunno containerized tho. 2018-10-25 23:34:09 Gentoo also has a steam overlay and an esteam utility to install deps for your games automatically. 2018-10-25 23:34:13 ACTION uses it. 2018-10-25 23:34:32 Umm, appreciate the input, never used gentoo tough, that looks like a great option tough! 2018-10-25 23:34:39 But you can install musl without much trouble + replace gnu utils eith busybox. 2018-10-25 23:34:46 s/eith/with/ 2018-10-25 23:35:19 kh405_tv: Gentoo shines most, imo, if you're looking for total control. 2018-10-25 23:35:55 But if you're aiming for a 'simple' minimal container distro... Gentoo will take some work. 2018-10-25 23:36:44 I mean, it's a container, i just don't want it to be bloated and a distro that took 3 weeks to patch shit like Metldown 2018-10-25 23:37:07 Also, I like bleeding edge 2018-10-25 23:37:35 Gentoo or Arch it is, then. CVEs get patched by Gentoo pretty quickly since they have a security team. Can't say much about Arch since I haven't used it since 2012. 2018-10-25 23:38:17 CVE ? 2018-10-25 23:39:14 Common Vulnerabilities and Exposure: https://cve.mitre.org/ They're an authority on security issues... 2018-10-25 23:40:17 Branded bugs like Heartbleed, Spectre, Meltdown, and Shellshock were all issued CVEs before being branded for awareness. 2018-10-25 23:42:15 Ohh ^^ interresting read 2018-10-25 23:42:57 kh405_tv: also, patching bugs like Spectre and Meltdown took a while due to bug embargos and the sheer difficulty of fixing hardware bugs in software. Improper patching of those vulnerabilities can make them worse, or severely degrade performance, so they need testing to ensure that the fixes are adequate. 2018-10-25 23:43:27 Those bugs received a lot of publicity for that very reason. 2018-10-25 23:43:43 Sure, I understand, but leaving a 0D open on your server that is exposed to the web is also risky 2018-10-25 23:44:17 I'm just saying whatever distro took that long likely did so in order to test and verify the bug was fixed without hurting performance too much. 2018-10-25 23:46:21 Wonder if I should go with things like centOS for this reason 2018-10-25 23:47:06 Might want to take a look at the community for the game servers you want to host, figure out which distros work best for those, and work backwards from there. 2018-10-25 23:48:29 95% of people recommend ubuntu for everything ... 2018-10-25 23:48:36 It's like against everything I want tough 2018-10-25 23:48:56 Most people recommend it because Valve supports it directly. 2018-10-25 23:50:14 What do they mean by "valve supports it directly" ? 2018-10-25 23:50:42 most people don't want to work and make an effort to use something different 2018-10-25 23:50:43 If you have issues on Steam and you use Ubuntu, Valve will support it. Any other distro and you may or may not get a response from them. i.e. you're on your own 2018-10-25 23:51:18 as an example, the moment you couldn't install deluge in 2 commands you started searching for an alternative. 2018-10-25 23:51:47 Well I mean, I came here and you guys pushed me towards other distro :P 2018-10-25 23:51:56 ubuntu is well supported and have a huge team to work on it, that's why most thing work out of the box. 2018-10-25 23:52:02 Since you're putting this in a container, aren't you already placing trust in the container system instead of the distro? 2018-10-25 23:52:28 I told you to compile deluge and package it. 2018-10-25 23:52:44 and I didn't push you, you asked for other distros. 2018-10-25 23:53:01 kh405_tv: to be fair, if Alpine doesn't have it and you don't want to package it, naturally I will consider other distros that meet your use case. We're not marketers :P 2018-10-25 23:53:30 True ^^, but I think my best bet would be to go to a distro that has it in their repos, so I could update it way easier 2018-10-25 23:53:45 Hence suggesting other distros 2018-10-26 00:01:11 So i guess that would be between Debian CentOS or arch 2018-10-26 00:04:24 https://pkgs.alpinelinux.org/package/edge/testing/x86/deluge 2018-10-26 00:04:32 Does that mean it is available somewhere ? 2018-10-26 00:17:01 kh405_tv: looks like it. You'll need to add the edge/testing repository to your list. *however*, you should read the page I linked to from the wiki about the package manager. 2018-10-26 00:17:22 Since it's a testing repository, some packages may be unstable. 2018-10-26 00:18:39 tagging a repository by prepending the URL with @tag will allow you (after an `apk update`) to use `apk add deluge@testing` for example 2018-10-26 00:18:40 https://wiki.alpinelinux.org/wiki/Alpine_Linux_package_management#Repository_pinning 2018-10-26 00:18:42 And also is there deluged and deluge-console ?, I can't find any of those ... 2018-10-26 00:18:58 Aight 2018-10-26 00:19:27 both appear to be included: https://pkgs.alpinelinux.org/contents?file=&path=*bin*&name=deluge&branch=edge&repo=testing&arch=x86 2018-10-26 00:20:24 Will definetly check it out! 2018-10-26 00:20:28 Thanks alot man! 2018-10-26 00:20:37 np 2018-10-26 00:21:03 Steam may give you trouble, though. Alpine is built on musl libc and Steam might be expecting a typical glibc + bash environment. 2018-10-26 00:21:25 I can't say for sure since I use Steam on Gentoo. 2018-10-26 00:24:32 Yeah, ill probably go with steam on Arch 2018-10-26 00:24:35 Same with Plex ? 2018-10-26 00:26:17 Not familiar with Plex, sorry. 2018-10-26 00:36:41 How do updates work on gentoo ? 2018-10-26 00:39:42 If you don't have a package manager ? 2018-10-26 00:44:37 have you not heard of portage? 2018-10-26 00:44:37 https://wiki.gentoo.org/wiki/Portage 2018-10-26 00:44:44 it very much has a package mgr. 2018-10-26 00:46:44 Sorry, I never really used gentoo. I tough the goal of gentoo was to compile from source and manage the useflags :O ? 2018-10-26 00:47:05 a package manager does not have to distribute binaries only. 2018-10-26 00:50:13 I see 2018-10-26 00:50:42 Was wondering if I should go gentoo or arch for things that aren't supported with alpine 2018-10-26 00:51:11 arch is probably less time consuming for someone who has never used gentoo 2018-10-26 00:51:15 If you've never used Gentoo and don't have a need for specific compilation, Arch will be fine. 2018-10-26 00:51:44 I don,t mind about having to learn it. I'd even like to learn it if it would be ''more usefull'' than arch 2018-10-26 00:51:52 I like arch cause it's upstream and I like pacman 2018-10-26 00:52:05 imo if you needed to use gentoo you would already know for sure 2018-10-26 00:52:09 It has alot of pacakges in AUR and nice support 2018-10-26 01:08:06 loosh: what do you mean ? 2018-10-26 01:11:09 as other said if you don't have a need for a specifically compiled version of an application/system you probably don't need gentoo vs arch 2018-10-26 04:11:35 what would prevent cgit from running through fcgiwrap and nginx? I modified the fcgiwrap user to nginx and it says "connection refused" 2018-10-26 04:13:30 nginx config: https://bpaste.net/show/43b9ea8832db 2018-10-26 04:14:08 2018/10/26 04:09:57 [error] 5317#5317: *1 connect() to unix:/var/run/fcgiwrap/fcgiwrap.sock failed (111: Connection refused) while connecting to upstream, client: 46.246.63.162, server: git.zlg.space, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/fcgiwrap/fcgiwrap.sock:", host: "git.zlg.space" 2018-10-26 04:34:32 that's what I get for C-w'ing in a browser 2018-10-26 04:35:17 anyway, cgit runs fine when I call it on the command line 2018-10-26 05:14:23 nvm, turns out you're supposed to be using spawn-fcgi as a daemon, with config to run fcgiwrap. cgit now works as it should 2018-10-26 05:23:48 now to find an xinetd replacement... 2018-10-26 05:38:08 I saw s6-tcpserver mentioned as an alternative but it won't work with sgopherd, which is a bash script that supplies the gopher text and then exits. 2018-10-26 05:38:24 anyone else get a gopher server running on alpine? 2018-10-26 06:08:15 moin 2018-10-26 07:03:42 There doesn't appear to be anything similar to xinetd available on alpine. s6-tcpserver will not background when hooked up to an OpenRC service file, even with background="yes" 2018-10-26 07:06:23 I did see /etc/init.d/inetd but it seems Alpine's version of busybox doesn't contain inetd 2018-10-26 07:13:59 some advice on this would be appreciated. It's a simple use case but the usual tools simply aren't here. 2018-10-26 07:28:05 zlg: busybox-extras have inetd 2018-10-26 07:58:54 mps: thanks for the tip. inetd is older and more arcane than xinetd, but I got the gopher server working! 2018-10-26 09:26:36 spawn-fcgi isn't surviving reboots... why do sockets have to be difficult? 2018-10-26 09:28:21 my overlay isn't surviving a reboot, either, but it's in fstab 2018-10-26 09:53:04 I'm getting sick of this shitty software. I created /var/run/fcgiwrap. spawn-fcgi is setup to run it. Permissions are correct. It should be creating a socket, but doesn't. If it does, it's still not correct. I've followed every bit of information I could find on the subject and none of it works. 2018-10-26 09:53:58 It should not be this difficult to setup cgit 2018-10-26 09:55:13 may I recommend a simpler alternative to cgit? 2018-10-26 09:55:31 https://git.2f30.org/stagit/ 2018-10-26 09:55:48 I will certainly consider it. 2018-10-26 09:55:59 none of this socket nonsense required ;) 2018-10-26 09:56:06 in fact, no daemon required. 2018-10-26 09:56:20 static html files ready to be served by anything 2018-10-26 09:56:26 Whatever's going on with this system, it's borked. I don't get why it's not working; lighttpd + cgit works fine, but nginx (supposedly better) doesn't? 2018-10-26 09:56:46 I like static generators :) 2018-10-26 09:57:15 just be warned: it's quite slow on *huge* projects like the linux kernel 2018-10-26 09:57:29 Thankfully my projects aren't very large. 2018-10-26 09:58:08 and you can even generate gopher pages with it 2018-10-26 09:58:11 (if that's what you like) 2018-10-26 09:58:24 I do enjoy gopher 2018-10-26 09:58:27 2018-10-26 10:01:19 what's weird is there's a fcgiwrap process still running 2018-10-26 10:11:01 this is stupid. If I run fcgiwrap manually, I can create the socket. Even if I change the permissions on the socket to match the webserver, it won't let me use it 2018-10-26 10:19:17 there are no logs for me to examine; all I get is "111: Connection refused", "2: No such file or directory", or "insufficient permissions" in nginx's error.log 2018-10-26 10:21:28 nginx config: https://bpaste.net/show/102dd31aa8cd 2018-10-26 10:24:22 . /etc/conf.d/spawn-fcgi.cgit: https://bpaste.net/show/05d4a8c723b6 2018-10-26 10:39:52 zlg: mhmm, I'm not completely sure, but doesn't spawn-fcgi spawn the program when it receives something on it's socket? 2018-10-26 10:40:32 if so, you're pointing nginx directly to fcgiwrap socket instea of the one from conf.d/spawn-fcgi.cgit 2018-10-26 10:40:45 hmm 2018-10-26 10:41:05 also, -P flag is given `var/run/...`. You probably want `/var/run/...` 2018-10-26 10:42:23 ah, the -P was a fail when I was pasting it; var does have a slash in front of it in the file 2018-10-26 10:42:27 I'll try the other socket 2018-10-26 10:43:37 Okay, it returns "403 Forbidden" when I access it in the browser 2018-10-26 10:43:47 nothing in nginx's error log 2018-10-26 10:46:03 the socket has 640 permissions, nginx:www-data 2018-10-26 10:46:16 (plus whatever +s is) 2018-10-26 10:55:27 Hi, im just wondering if anyone knows with alpine how to set a proxy for the daemon? i know there are ways you can do it, if the linux uses systemd apparently 2018-10-26 10:55:36 *proxy for the docker daemon 2018-10-26 10:58:09 (setting HTTP_PROXY doesn't work alas) 2018-10-26 11:12:35 Okay, I've narrowed it down. nginx *does* need to point to the socket created by fcgiwrap, because that's what spawn-fcgi is calling (since nginx does fastcgi but cgit is a 'regular' cgi program) 2018-10-26 11:12:50 So I think there's just an issue in the way that spawn-fcgi is calling fcgiwrap 2018-10-26 11:13:44 when spawn-fcgi is called, it's not creating a socket at all 2018-10-26 11:32:59 ACTION sighs in relief. 2018-10-26 11:33:31 thanks to the Gentoo wiki I found my problem. 2018-10-26 11:34:04 the fastcgi_params in the nginx conf were a bit much. I only needed SCRIPT_FILENAME to point to the absolute path of the cgit.cgi file 2018-10-26 11:36:29 Then, in /etc/conf.d/spawn-fcgi.cgit, I made FCGI_PORT empty (to force it to create a socket). nginx gets passed the spawn-fcgi socket despite fcgiwrap doing the work. and bam 2018-10-26 11:36:53 It survived a reboot so I'm calling it a success for now. 2018-10-26 11:38:21 I apologize for the anger earlier. PEBCAK is irritating but it beats mystery bugs. 2018-10-26 12:12:02 Heya guys, how are you all doing multi-arch on alpine? I mean, being able to run both x86 and x86_64 binaries simultaneously without fuck ups? 2018-10-26 12:12:19 we don't 2018-10-26 12:12:37 where we equals me personally 2018-10-26 12:12:58 Do you happen to run wine for gaming and stuff? 2018-10-26 12:14:09 That thing requires libs to be used and run differently if you are building it for x86 and if your host is x86_64. 2018-10-26 12:45:07 that plain old just doesn't work with musl 2018-10-26 12:45:20 musl does *not* support multilib by design 2018-10-26 12:45:30 it's part of why glibc is bloated and messy 2018-10-26 12:46:17 azarus: so then how do you make 32bit windooze apps work on alpine? 2018-10-26 12:46:34 you do not 2018-10-26 12:46:48 So it's x86_64 all the way? 2018-10-26 12:46:54 yes. 2018-10-26 12:46:59 :( 2018-10-26 12:47:56 clean, compatible 2018-10-26 12:48:00 choose 1 ;) 2018-10-26 12:48:40 Gives me a headache. 2018-10-26 13:12:36 skyroveRR: Use 32-bit Cosmic ubuntu, in docker, for wine ;) 2018-10-26 13:35:27 brebs: heh. 2018-10-26 13:43:44 hello 2018-10-26 13:43:53 Hi. 2018-10-26 13:44:25 someone did try to install alpine with mini root fs in uefi? I'm considering doing a simple gdisk / tar / vi / efibootmgr to install on my laptop 2018-10-26 14:28:21 Anyone know if there is a config file for the docker daemon in Alpine, other than daemon.json , i'm looking @ https://docs.docker.com/config/daemon/systemd/#httphttps-proxy which mentions how to setup a proxy if systemd is used, but i can't for the life of me find any example of how to do the equivalent in Alpine 2018-10-26 14:40:10 woo - https://bugs.alpinelinux.org/issues/8726 2018-10-26 14:40:14 fixes it 2018-10-27 09:06:05 hi, is the linux-virt package for running alpine inside a virtual machine? does official alpine docker images uses that one or some other linux package? 2018-10-27 09:43:41 Hey. Is there any alpine image with python-libtorrent installed or an easy way to do so? Was looking for other repository sources or so but the best I could find is this installation procedure that gets me a 1.4 GB image (doing just up to building the python binding) https://github.com/Toilal/stealthbox/blob/d29714f8b2fd6cca01952f878c163a6bec1679b8/deluge/Dockerfile 2018-10-27 09:46:05 Also extracted the python folder with the binding from the image, thinking I could reuse the result for other images or a multi-stage build but the installation of the python binding itself depends on b2/boost which I would guess to be a big chunk of that 1.4 GB 2018-10-27 12:33:46 a 2018-10-27 15:59:42 Anyone have any idea what causes "ip6tables-restore v1.6.2: unknown option "--mask"" with awall? 2018-10-27 15:59:53 missing kernel module? 2018-10-27 20:32:33 Hi everyone! Anyone here that has experience with compiling a custom alpine kernel for armhf platform (Raspberry Pi)? 2018-10-27 22:52:13 Would you know if docker-compose (and some depends) will go into the v3.8 repo soon ? he's in the repo testing for several months 2018-10-27 23:58:55 heh, i just installed it via pip, but that's good to know! 2018-10-28 01:10:36 I have the strangest of questions.... 2018-10-28 01:10:51 so I add a user.. I should be able to ssh in as that user? 2018-10-28 01:11:06 because I can not 2018-10-28 08:21:11 How can I get the number of packages that can be upgraded? 2018-10-28 08:25:14 apk version | wc -l, subtract one 2018-10-28 08:28:18 thanks 2018-10-28 11:07:03 how should i start the firewall on boot? i want to use ferm which doesn't have a service script 2018-10-28 11:10:24 hm, looking at the iptables service script i could just use ferm to manually set rules on change and let iptables persist them 2018-10-28 11:10:31 sounds like a plan 2018-10-28 11:20:00 iptables has a service script 2018-10-28 11:57:36 yeah 2018-10-28 12:21:20 how do I add network links? `ip link add` is not supported 2018-10-28 12:23:08 <_ikke_> https://pkgs.alpinelinux.org/package/v3.8/main/x86_64/iproute2 2018-10-28 12:23:26 <_ikke_> the default ip binary is busybox, which is a limited version of the original 2018-10-28 12:23:38 ah right 2018-10-28 12:23:40 thanks 2018-10-28 13:02:59 how can I make dnsmasq and resolv play nice? every reboot resolv.conf is defaulted 2018-10-28 13:09:40 <_ikke_> p3lim: https://pkgs.alpinelinux.org/package/edge/main/x86_64/openresolv 2018-10-28 13:10:15 <_ikke_> you can probably also add dns-nameserver entries to /etc/network/interfaces 2018-10-28 13:10:54 <_ikke_> openresolv is for when you need more control over that 2018-10-28 13:20:47 hrm, can't seem to make it work with dns-nameserver atleast 2018-10-28 13:21:21 what I'm trying to do is be able to use consul's DNS locally, here's my network + dnsmasq configs: https://gist.github.com/p3lim/be50013975ee9a11aed96068ced0c70d 2018-10-28 13:22:11 consul's DNS is running on 169.254.1.1:8600, verified it works with dig and by manually overwriting resolv.conf 2018-10-28 13:22:41 <_ikke_> p3lim: is your resolv.conf still being overwritten? 2018-10-28 13:23:08 yeah, but I assumed that by specifying dns-nameserver I wouldn't have to deal with resolv.conf 2018-10-28 13:23:54 <_ikke_> resolv.conf is always being used 2018-10-28 13:24:12 <_ikke_> that option (if working) would only specify what's going in there 2018-10-28 13:25:01 it's just being filled by DHCP 2018-10-28 13:25:17 <_ikke_> dns-nameservers apprently (not 's' at the end) 2018-10-28 13:25:34 <_ikke_> hmm 2018-10-28 13:25:38 <_ikke_> conflicting information 2018-10-28 13:26:15 <_ikke_> can you try that one? 2018-10-28 13:26:21 +s didn't have any effect as far as I can tell 2018-10-28 13:26:40 /etc/resolv.conf should be getting populated ye? 2018-10-28 13:26:56 <_ikke_> after ifdown eth0 && ifup eth0 2018-10-28 13:26:58 <_ikke_> yes 2018-10-28 13:27:17 rebooting to make sure 2018-10-28 13:27:28 <_ikke_> Not sure if alpine ifupdown supports those options 2018-10-28 13:27:51 no dice after reboot 2018-10-28 13:28:00 guess it's openresolv then 2018-10-28 13:28:02 <_ikke_> right 2018-10-28 13:36:25 openresolv did the trick, although it just prepended itself to /etc/resolv.conf, I kind of wanted it to replace it completely 2018-10-28 13:36:29 p3lim: No, just use, in /etc/udhcpc/udhcpc.conf: RESOLV_CONF="no" - see /usr/share/udhcpc/default.script 2018-10-28 13:39:16 brebs: that'll stop the resolv.conf being overridden? 2018-10-28 13:40:44 Yes. Take a look in /usr/share/udhcpc/default.script 2018-10-28 13:44:17 ... assuming you're using udhcpc for DHCP. 2018-10-28 13:45:10 if it's the default then I am 2018-10-28 13:45:26 Yes, it is. Nice and lightweight :) 2018-10-28 13:52:22 alright, everything seems to work now, thanks for the help :] 2018-10-28 13:53:56 Haha, I should have just pointed at https://wiki.alpinelinux.org/wiki/Udhcpc 2018-10-28 13:56:28 <_ikke_> brebs: nice to know for the future 2018-10-28 13:56:48 DNS is always fun :3 2018-10-28 13:57:36 installing AL on bare metal was a treat tho! 2018-10-28 15:49:07 Hi 2018-10-28 15:50:06 Anyone home? 2018-10-28 15:57:38 <_ikke_> No, this place is abandoned 2018-10-28 16:01:47 <_ikke_> (that was a joke in case you missed it) 2018-10-28 17:10:20 how to get the URL for repo testing; I wasn't to able to find them from webpage 2018-10-28 17:11:01 <_ikke_> Testing is only in edge 2018-10-28 17:11:07 <_ikke_> almost every repo has it 2018-10-28 17:39:36 and how to select it with Dockerfile FRom alpine:edge resp. apk add --repository ... ? 2018-10-28 17:39:51 I try to use kimchi from edge/testing 2018-10-28 17:46:49 <_ikke_> echo 'repo' >>/etc/apk/repositories 2018-10-28 18:00:01 RUN echo 'testing' >>/etc/apk/repositories && apk add --no-cache wok kimchi failed with WARNING: Ignoring testing/x86_64/APKINDEX.tar.gz: No such file or directory ... 2018-10-28 18:09:30 <_ikke_> olux: sorry 'testing' was supposed to be the url to the testing repo 2018-10-28 18:10:15 which i was looking for; http://dl-cdn.alpinelinux.org/alpine/edge/testing reverse-engineered :) Id don't found a web page with that 2018-10-28 18:15:27 You should follow the format of the lines already in your /etc/apk/repositories 2018-10-28 18:15:42 And you shouldn't overwrite it with the testing repo, as > will do 2018-10-28 18:16:00 If it only contains the testing repo, you won't get packages from main and community 2018-10-28 18:16:32 <_ikke_> That's why I suggested using >> 2018-10-28 18:16:34 <_ikke_> \ 2018-10-28 18:16:45 Actually, you seem to have two >s separated by spaces, which is unlikely to work at all since that's invalid syntax 2018-10-28 18:16:51 Did you just miscopy it here? 2018-10-28 18:17:01 <_ikke_> I don't see any spaces 2018-10-28 18:17:26 Oh, I guess my IRC client is putting line breaks in weird places 2018-10-28 18:17:28 Sorry for the noise 2018-10-28 18:41:55 hi, I'm trying to install pleroma on alpine so i have a lot of erlang and all to install 2018-10-28 18:41:58 and C 2018-10-28 18:42:21 it tries to compile something but it lacks "crypt.h" 2018-10-28 18:42:47 i don't know which package can provide this lib :-/ 2018-10-28 18:43:52 <_ikke_> https://pkgs.alpinelinux.org/contents?file=crypt.h&path=&name=&branch=edge 2018-10-28 18:44:06 <_ikke_> musl-dev most likely 2018-10-28 18:44:55 ho yes ! thanks ;-) 2018-10-28 19:22:07 I've here a Dockerfile "image" where no apk or even openrc is available (edge), are there other packages required to install there even the package intended self? 2018-10-28 19:23:00 <_ikke_> olux: your question is unclier 2018-10-28 19:37:14 https://pastebin.com/B76CAg3W 2018-10-28 19:37:41 ah, space was missing at apk 2018-10-28 20:20:46 gn8 2018-10-29 02:59:10 Hi 2018-10-29 02:59:15 Wassup 2018-10-29 03:03:39 This place looks abandoned. 2018-10-29 04:15:08 Yo 2018-10-29 05:24:40 <_ikke_> Romanson: There is plenty activity here, but not 24/7 2018-10-29 05:59:37 Eh. Good to know. 2018-10-29 05:59:51 I compiled otter browser on alpine Linux. 2018-10-29 06:00:06 It compiles but runs buggy. 2018-10-29 06:00:24 Doesn't load pages and throws a tonne of errors. 2018-10-29 08:35:17 so now that IBM acquires RedHat, I should switch to Alpine on my workstation too 2018-10-29 08:47:37 I need to check how we can build android stuff on Alpine though 2018-10-29 08:57:25 moin 2018-10-29 09:17:59 Hi, I have a find that sometimes fails with: find: /proc/11/map_files/55f0c0e73000-55f0c0f31000: No such file or directory 2018-10-29 09:19:39 thou shalt not find under /proc 2018-10-29 09:21:03 find / -type f -iname '*apk*' -delete -not -path /sys -not -path /proc 2018-10-29 09:22:03 <_ikke_> nindustries: -delete should be the last param 2018-10-29 09:22:17 <_ikke_> order matters for find 2018-10-29 09:22:42 ahaaa! 2018-10-29 09:22:44 thanks _ikke_ 2018-10-29 09:26:55 <_ikke_> You might need to add -and as well 2018-10-29 09:28:46 Also, '-not -path' will not exclude things *under* that path 2018-10-29 09:28:54 You probably want -prune, or better yet in this case, -xdev 2018-10-29 09:47:04 if I boot alpine in UEFI mode, will it install grub? 2018-10-29 09:47:52 if you boot in uefi the installer will prefer uefi 2018-10-29 09:50:10 Is it actually preferred to run dockerized alpine on an alpine host? 2018-10-29 09:50:17 I usually use debian minimal 2018-10-29 09:51:09 ow there is no gdisk on the standard installation media :( 2018-10-29 09:51:39 nindustries, it doesnt matter which os is the host. 2018-10-29 09:51:50 its your preference that matters. 2018-10-29 09:51:51 Well, you -are- using the same kernel after all 2018-10-29 12:49:29 Hmm... just trying out alpine on the desktop, and it's running very well so far. 2018-10-29 12:49:57 only one issue: i've got audio running in firefox, but i prefer chromium and there's no audio there. 2018-10-29 12:50:06 is chromium dependant on pulse-audio? 2018-10-29 14:40:30 Hello. Is EFI supported in Alpine Linux or should I use standard BIOS/MBR setup? 2018-10-29 14:56:21 Hey. I want to use the find command to list empty directories in Alpine's shell. I use to do "find . -type d -empty -delete", but -empty is not recognized. Any good alternative? I mean, ideally with find command only or with a piped commands 2018-10-29 14:57:27 <_ikke_> H-K: apk add findutils 2018-10-29 14:58:06 _ikke_: Oh that solves the issue. Thanks! 2018-10-29 17:29:17 i've been using alpine for a couple of months now for a do-it-yourself compute cluster project. i really like that it's compact and has a strong security orientation. 2018-10-29 17:29:48 i have just one issue: the kernel is too old to know how to get temps from Ryzen CPUs. which a lot of people who are interested in this sort of thing use now :) 2018-10-29 17:30:36 are there any estimates on when the move to a 4.15+ kernel will happen? or any reasons why that can't/won't happen soon? 2018-10-29 17:31:35 flrepear: next release will have 4.19 kernel, I think 2018-10-29 17:32:10 well that would be rad :) 2018-10-29 17:32:17 rad? 2018-10-29 17:32:43 what that word means 2018-10-29 17:33:15 oh, sorry. it's old american slang for cool; good; awesome 2018-10-29 17:34:06 ah, thanks, will try to remember 2018-10-29 17:35:21 i guess i should subscribe to the alpine-devel list if i want to know these things, huh? 2018-10-29 17:36:18 right, there are some news, but it is better to join alpine-devel irc channel 2018-10-29 17:36:39 oh. thank you! 2018-10-29 17:36:43 that is my experience, at last 2018-10-29 17:37:52 I have a plan to build 4.19 for some of my machines, next week 2018-10-29 17:39:12 I run custom made 4.18 on one arm box with alpine linux for some months (two iirc) without problem 2018-10-29 17:41:47 if it were just me, i would script a custom kernel build. that's not a problem. 2018-10-29 17:42:48 my problem is that i want this project to be generally useful, to other people. and working up way to let other people do custom ekernel builds, on whatever their hardware is... that's a problem i'd prefer to stay out of 2018-10-29 17:57:01 flrepear: I build custom kernel whenever I need it, but tend to use distro's kernel wherever it is fine 2018-10-29 17:57:43 never had any problem with custom kernels and alpine userspace, from 3.18 and up 2018-10-29 18:08:28 I can't use pacmanfm with removable media support after re-installing Alpine. 2018-10-29 18:09:51 It was enough to setup automount work with gvfs + udisks2 but I couldn't figure out why this setup doesn't work anymore 2018-10-29 18:11:01 pcmanfm recgnizes devices on left pane but mount doesn't work. 2018-10-29 18:11:52 don't you have to be in some special group? 2018-10-29 18:12:11 I have valid consolekit session and I use dbus-launchs as previous working setup 2018-10-29 18:12:31 kahiru: no. 2018-10-29 18:15:39 I'm on edge btw. 2018-10-29 18:23:13 I think I founs the answer for myself: "apk add util-linux" 2018-10-29 18:26:33 It seems busybox mount is not compatible with deafult gvfs configuration 2018-10-29 18:33:55 Weird question, for all those who interact with busybox maintainers (or any busybox maintainers who are here): what is the best way to get patches into busybox? 2018-10-29 19:08:29 Hi. Is it safe to remove alpine-conf? 2018-10-29 19:09:35 alpine-base depends on alpine-conf, doesn't it? 2018-10-29 19:10:41 Yeah, just checked it out. Though, can other packages work without both alpine-base and alpine-conf packages? 2018-10-29 19:10:55 From what I know, they're just meta-packages used by install scripts, right? 2018-10-29 19:11:36 <_ikke_> alpine-base requires alpine-baselayout, which contains important files 2018-10-29 19:16:15 @_ikke: I meant, can I just remove alpine-base after installation while keeping its dependencies installed? (except alpine-conf) 2018-10-29 19:17:46 Without breaking the system, of course 2018-10-29 19:32:55 <_ikke_> ur_0x6a73: first, why is that even an issue? 2018-10-30 00:46:22 Hi, I'm pretty new to Alpine. I setup a manual chroot installation using apk.static but I'm wondering when there would be a kernel package upgrade to 4.18.x or higher? 2018-10-30 01:37:54 stratact: i had a similar question earlier. the plan seems to be that release 3.9 will move to the 4.19 kernel. 2018-10-30 01:52:12 flrepear: ah good to hear. When is the next window for 3.9? 2018-10-30 02:45:10 i don't know. sorry. 2018-10-30 08:10:02 how do I let an application bind to low ports? 2018-10-30 08:11:09 e.g. consul is not allowed to bind to port 53 2018-10-30 08:14:33 p3lim: setcap? 2018-10-30 08:18:15 I see dnsmasq uses iptables in its init.d file 2018-10-30 08:19:52 init.d scripts runs as root 2018-10-30 08:45:40 moin 2018-10-30 10:27:08 hmm hmm. if I leave out the -dev subpackage, do the files supposed to go to that subpackage go to the main package or are they just left out? 2018-10-30 10:35:49 if you remove $pkgname-dev they are not taken out into a separate pkg, meaning they land in main pkg 2018-10-30 10:36:09 unless you were asking what's the good way, which I don't know 2018-10-30 10:38:08 that's where I was going to go with the follow-up :) 2018-10-30 10:40:00 I basically do these test setups that I use to collect install repositories for limited setups, so that I can get all the packages, and only the packages, required to install such a setup from scratch. one package has a -dev subpackage that has some deps that apk for some reason warns about, so I'm trying to figure out the cleanest way to leave that -dev package out of the repository 2018-10-30 13:19:05 anyone knows why modprobe vboxvideo says invalid argument while vboxsf works? 2018-10-30 13:19:26 linux-vanilla 4.14.78-r0 and virtualbox-guest-modules-vanilla with the same version 2018-10-31 01:37:47 Hello, I'm trying to install Deluge again and I can't find deluge-deamon or deluge cmd in :https://pkgs.alpinelinux.org/packages?name=deluge*&branch=edge 2018-10-31 01:37:52 Am i missing on something ? 2018-10-31 01:37:59 Or are they just not available ?Y 2018-10-31 01:53:38 Anyone ? 2018-10-31 01:54:16 the pkgs.alo url has the edge branch selected 2018-10-31 01:54:22 do you have edge enabled? 2018-10-31 01:54:47 otherwise, there's your source of confusion 2018-10-31 01:57:56 Yes I have the edge branch enable 2018-10-31 01:58:53 I'm looking to do that: 2018-10-31 01:58:54 The Deluge daemon deluged and deluge-console should be installed on the server. 2018-10-31 01:58:54 See the service guides to run deluged as a service so that it starts/stops on server boot/shutdown. Substitute any daemon start or stop commands below with the appropriate service commands. 2018-10-31 01:58:54 To debug any problems setting up deluged enable logging and check for errors. 2018-10-31 01:59:23 I can find deluge but I can't find deluged nor deluge-console 2018-10-31 02:01:13 https://pkgs.alpinelinux.org/contents?file=&path=%2Fusr%2Fbin&name=deluge&branch=edge&repo=testing&arch=x86 <-- deluged is in there, and deluge-console also 2018-10-31 02:01:55 Nice! how would I go to install those, knowing that testing is enable ? 2018-10-31 02:02:12 apk add deluged deluge-console ? 2018-10-31 02:02:26 no, they're in the 'deluge' package 2018-10-31 02:02:55 How would I install them then ? 2018-10-31 02:03:41 I get an error on apk add deluge 2018-10-31 02:04:21 ah, i didn't know about that error 2018-10-31 02:04:31 what does the error say? 2018-10-31 02:05:43 Formatting is gon be ass, sorry in advance 2018-10-31 02:05:43 ERROR: unsatisfiable constraints: 2018-10-31 02:05:43 so:libboost_python27-mt.so.1.67.0 (missing): 2018-10-31 02:05:43 required by: libtorrent-rasterbar-1.1.8-r1[so:libboost_python27-mt.so.1.67.0] libtorrent-rasterbar-1.1.8-r1[so:libboost_python27-mt.so.1.67.0] 2018-10-31 02:05:43 so:libboost_system.so.1.67.0 (missing): 2018-10-31 02:05:44 required by: libtorrent-rasterbar-1.1.8-r1[so:libboost_system.so.1.67.0] libtorrent-rasterbar-1.1.8-r1[so:libboost_system.so.1.67.0] 2018-10-31 02:08:33 hmm, that library should be in boost-python 2018-10-31 02:09:51 and boost-system, respectively 2018-10-31 02:10:59 So I add both ? 2018-10-31 02:11:30 sudo apk add boost-python boost-system deluge & 2018-10-31 02:11:58 ? * 2018-10-31 02:13:55 you can try 2018-10-31 02:14:06 No success :( 2018-10-31 02:14:09 Same error 2018-10-31 02:25:25 Umm ... 2018-10-31 02:25:28 Any other clue ? 2018-10-31 09:36:02 Q: How do I install debugging symbols on Alpine? I found no mention of this in the Wiki or ML archives, so it's probably obvious I guess. :-D 2018-10-31 09:40:59 ntninja, only possible if the pkg has a -dbg subpkg 2018-10-31 09:43:53 So there is no way to analyze rspamd's core-file? 2018-10-31 09:45:35 there is always a way. 2018-10-31 09:46:20 Of course there is ;-) 2018-10-31 09:47:22 But is there a way that will involve the existing binaries? 2018-10-31 09:48:45 <_ikke_> The existing binaries have the debugging symbols stripped, so I don't see how 2018-10-31 09:48:56 no you cant 2018-10-31 09:49:17 you need the -dbg subpkg or you need to build it yourself without stripping it. 2018-10-31 09:49:32 When building the Aerospike Node.js module on Alpine, it can't be loaded due to a linking issue, might anyone have an idea as to how to fix it? The error: 'sk_free: symbol not found' 2018-10-31 09:49:42 I've made a GitHub issue here describing how to reproduce it https://github.com/aerospike/aerospike-client-nodejs/issues/286 2018-10-31 09:50:23 The module uses the Aerospike C client library, which gets compiled from source, so it shouldn't be a binary incompatibility problem 2018-10-31 09:50:50 clandmeter, _ikke_: Thanks! This is quite unfortunate, but at least I don't have to waste any further time searching for this. :-( 2018-10-31 09:51:18 ntninja, are you on edge? 2018-10-31 09:52:41 No, on 3.8. But package search shows no rspamd-dbg package for any alpine version 2018-10-31 09:55:14 ntninja, i can add it to edge, but i dont know if you have the same issue on an edge system. 2018-10-31 10:03:43 cladmeter: Sorry I got distracted for a couple of minutes. I'd be glad to switch to edge and retest there. If the issue is fixed by that all the better, I doubt it through. Otherwise I'll try to debug and maybe file something upstream. 2018-10-31 10:04:45 ok, ill add the dbg subpkg so you can test on edge. 2018-10-31 10:06:02 ntninja, looks like 1.8.1 is the latest? 2018-10-31 10:06:45 Yes, it's from mid-October. 2018-10-31 10:12:48 ntninja, here comes 1.8.1 with -dbg 2018-10-31 10:14:56 o.O That was quick! 2018-10-31 10:17:28 ntninja, should be on cdn mirror in ~15 minutes 2018-10-31 10:18:00 Thanks, I just found the commit: https://git.alpinelinux.org/cgit/aports/commit/?id=96a89635b9e18a3a8dc01f0227d21b33872a6ce7 :-) 2018-10-31 12:56:20 Is there any way to get support for pthread_setaffinity_np in Alpine? 2018-10-31 18:34:50 Does Alpine come with the kvm guest modules outta the box? Just trying to get a minimal kvm guest spun up to do some fdisking etc 2018-10-31 18:41:17 npx▸ I believe the virtual flavor comes with that. 2018-10-31 18:43:14 glorious 2018-10-31 18:57:26 Does anyone run Dropbox on Alpine? I ask because of glibc 2018-10-31 19:13:16 anyone catch that redhat spam in the aports ml? 2018-10-31 19:24:11 <_ikke_> Which one? 2018-10-31 19:24:26 <_ikke_> ah, aports 2018-10-31 19:24:34 <_ikke_> Yes, I have it 2018-10-31 19:26:27 i'd think the alpine userbase would be the least interested in rhel offerings lol 2018-10-31 19:29:25 with systemd et al rhel is beginning to feel like cargo cult solaris to me 2018-10-31 19:33:39 with the exception that SMF is better than systemd in nearly every way hahah 2018-10-31 19:39:28 IBM just bought redhat, so expect changes, most likely for the worse 2018-10-31 19:40:12 that sounds like a kafkaesque dystopian nightmare waiting to unfold before our eyes 2018-10-31 19:40:17 I'm excited :) 2018-10-31 19:43:01 Hoping it'll weaken the stranglehold systemd has on mainstream linux 2018-10-31 21:30:30 good afternoon. I'm evaluating alpine to build containers on and I'm short a few packages. I'm one of the maintainers over at Void, and I'd appreciate if anyone can share how I might go about either requesting or contributing the packages I need. 2018-10-31 21:35:41 maldridge: you can request package using https://bugs.alpinelinux.org/projects/alpine/issues 2018-10-31 21:37:40 for contributing packages you can read https://wiki.alpinelinux.org/wiki/Developer_Documentation (of course if you didn't already) 2018-10-31 21:38:29 mps: thanks for the speedy response, that developer link was what I was after 2018-10-31 21:42:05 I'm looking for a handful more php packages, and I may see about packaging them myself if its not too complex 2018-10-31 21:43:03 Anyone know how to install deluge package? I get this message, sorry for the formatting 2018-10-31 21:43:04 ERROR: unsatisfiable constraints: 2018-10-31 21:43:04 so:libboost_python27-mt.so.1.67.0 (missing): 2018-10-31 21:43:04 required by: libtorrent-rasterbar-1.1.8-r1[so:libboost_python27-mt.so.1.67.0] libtorrent-rasterbar-1.1.8-r1[so:libboost_python27-mt.so.1.67.0] 2018-10-31 21:43:04 so:libboost_system.so.1.67.0 (missing): 2018-10-31 21:43:06 required by: libtorrent-rasterbar-1.1.8-r1[so:libboost_system.so.1.67.0] libtorrent-rasterbar-1.1.8-r1[so:libboost_system.so.1.67.0] 2018-10-31 21:44:42 don't know for php but there is a 'helper' for perl called apkbuild-cpan, which could be starting point for develeping something similar for php 2018-10-31 21:45:26 and, there is 'newapkbuild' helper which helps to make APKBUILD from command line 2018-10-31 21:46:45 KH405: do you install on stable or edge 2018-10-31 21:48:59 mps: I'll take a look into both 2018-10-31 21:51:11 edge 2018-10-31 21:51:36 KH405: and what is your command to install deluge 2018-10-31 21:52:01 Err wait, I just did apk add deluge, so I guess it's stable right ? 2018-10-31 21:52:43 deluge is in testing, which means it is always edge, more or less 2018-10-31 21:53:03 SO how will I go to install it ? 2018-10-31 21:53:30 do you have testing in /etc/apk/repositories 2018-10-31 21:53:55 Yes 2018-10-31 21:53:55 KH405, i can install it just fine http://tpaste.us/1nvE 2018-10-31 21:54:12 is your cache uptodate? 2018-10-31 21:54:20 Probably not .... 2018-10-31 21:54:29 sudo apk update 2018-10-31 21:54:35 Ohh, yeah I did that sorry 2018-10-31 21:55:10 pastebin your repositories file 2018-10-31 21:55:24 KH405: could you post your testing line from /etc/apk/repositories 2018-10-31 21:55:38 oh, clandmeter was faster :) 2018-10-31 21:55:56 http://dl-cdn.alpinelinux.org/alpine/v3.8/main 2018-10-31 21:55:56 http://dl-cdn.alpinelinux.org/alpine/v3.8/community 2018-10-31 21:55:56 http://nl.alpinelinux.org/alpine/edge/testing 2018-10-31 21:56:16 that not ok like this 2018-10-31 21:56:32 you cannot simply mix repos 2018-10-31 21:56:45 deluge has a lot of deps 2018-10-31 21:57:00 So i guess that would be http://dl-cdn.alpinelinux.org/alpine/v3.8/testing ? 2018-10-31 21:57:07 no 2018-10-31 21:57:12 we only have that for edge 2018-10-31 21:57:22 so you need to update your system to edge 2018-10-31 21:57:30 How do I do that ? 2018-10-31 21:57:37 and you should pin your mixed repo's 2018-10-31 21:58:05 firstly i would suggest to use a single mirror 2018-10-31 21:58:14 dl-cdn is prefered 2018-10-31 21:58:25 and change v3.8 to edge 2018-10-31 21:58:30 and upgrade 2018-10-31 21:58:35 good 2018-10-31 21:58:37 but its edge for a reason 2018-10-31 21:58:54 so be careful before doing that. 2018-10-31 21:59:41 and when you upgrade add the magic -a switch 2018-10-31 21:59:45 Ok, also, what should I pin in front f it ? 2018-10-31 22:00:01 check the wiki for repository pinning 2018-10-31 22:00:15 all this info is on the wiki. 2018-10-31 22:00:20 even though its not perfect. 2018-10-31 22:01:09 It's not really explained, it just says to @x in front of the repo 2018-10-31 22:01:13 version upgrades should always have -a. it forces your packages to be the same as the remote repo. 2018-10-31 22:01:37 @somename http://repo.tld 2018-10-31 22:01:46 apk add package@somename 2018-10-31 22:02:03 Good, thanks alot 2018-10-31 22:02:29 http://dl-cdn.alpinelinux.org/alpine/edge/main 2018-10-31 22:02:29 http://dl-cdn.alpinelinux.org/alpine/edge/community 2018-10-31 22:02:29 @testing http://dl-cdn.alpinelinux.org/alpine/edge/testing 2018-10-31 22:02:40 no 2018-10-31 22:03:07 you dont have to do that when you dont mix edge with stable 2018-10-31 22:03:19 but yes, its the correct syntax 2018-10-31 22:03:53 Ok, but I should mix both right? 2018-10-31 22:04:16 you should not mix if you dont want apk to go boom. 2018-10-31 22:04:29 Ok, I won't then 2018-10-31 22:04:44 use only edge or stable(v3.8) 2018-10-31 22:05:08 for simple things its okish to mix, but thats only when you know what you are doing. 2018-10-31 22:05:09 Good, so I don't have to pin anything then ? 2018-10-31 22:05:20 correct. 2018-10-31 22:05:29 Then I apk update 2018-10-31 22:05:30 and upgrade properly 2018-10-31 22:05:35 sudo apk -U upgrade -a 2018-10-31 22:05:43 Thanks! 2018-10-31 22:06:02 gnite! 2018-10-31 22:07:31 Then I just sudo apk add deluge and I should be fine ? 2018-10-31 22:07:37 GoodNight, thanks alot 2018-10-31 23:07:52 Ahoi, I'm trying to install alpine with zfs as root. Also trying to install as xen dom0. But I can't find a proper howto for the zfs part. Can someone point me in the right direction?