2018-01-08 12:07:33 hello 2018-01-08 12:08:20 APKBUILD look very similar to Arch's one, was Arch a source of inspiration? 2018-01-08 12:21:39 what was Arch inspired by? :) 2018-01-08 12:33:01 dead cats 2018-01-08 12:33:04 and laudanum 2018-01-08 12:39:46 markand, yes i think so; one of the main differences is that APKBUILD is not bash dependent 2018-01-08 12:40:48 that's a blessing 2018-01-08 15:09:41 I like how APKBUILD are written and the apk tool 2018-01-08 15:10:13 I also really like rpms but I don't know any Linux distribution not using all lennartware using rpm 2018-01-08 15:10:23 all rpm distro are overbloated 2018-01-08 15:13:14 \o 2018-01-08 15:13:23 yes, APKBUILDs are loosely based on PKGBUILDs 2018-01-08 15:13:33 it even says so in the top comment of the abuild tool 2018-01-08 15:13:48 #!/bin/ash -e 2018-01-08 15:13:50 # abuild - build apk packages (light version of makepkg) 2018-01-08 15:13:55 makepkg being of course the tool that builds PKGBUILDs 2018-01-08 16:25:19 having a problem here 2018-01-08 16:25:29 docker gets a defunct process whenever it starts 2018-01-08 16:33:45 gonna need a bit more info than that :) 2018-01-08 16:34:28 its seems to be one process only 2018-01-08 16:34:55 @Shiz: docker version 17.10.0-c 2018-01-08 16:35:20 no daemon.conf at all 2018-01-08 16:37:04 https://gist.github.com/Keridos/11c3b0ff89ebd75a349ab37b07a771b9 2018-01-08 16:37:09 that is my docker.log 2018-01-08 16:37:29 default virthardened 3.7 alpine 2018-01-08 16:37:54 nothing in dmesg 2018-01-08 16:39:14 what process is defunct? 2018-01-08 16:39:19 dockerd 2018-01-08 16:39:59 one of my dockerd only 2018-01-08 16:41:08 when I kill -9 it the whole process tree gets killed too 2018-01-08 16:47:41 Any idea for the cause of that? 2018-01-08 16:49:28 Shiz: do you need more info? if yes, what exactly would help? 2018-01-08 17:09:09 hmm 2018-01-08 17:09:20 i'm not quite sure, a defunct process is... quite unusual 2018-01-08 17:09:23 what's your arch? 2018-01-08 17:49:50 x64 virt 2018-01-08 18:02:20 apparently waiting long fixed the issue wtf 2018-01-08 18:02:32 now after a while the defunct process is gone and it works 2018-01-09 00:27:46 Hello there, 2018-01-09 00:27:46 could someoen tell me the alpine linux equivelant for usermod? (to add an existing user to a group) 2018-01-09 00:31:53 addgroup user group 2018-01-09 00:32:45 thank you 2018-01-09 00:32:46 warning: if you'll omit the user part, it will create the group 2018-01-09 00:34:01 adduser user group # works the same as long as there are two params, but if you omit the group part, it will create the user 2018-01-09 00:34:27 if i was trying to add my user to the group creating the group is probably not that bad :) 2018-01-09 00:35:18 for sole action of adding existing user to existing group I prefer addgroup as it looks better and shows the intent slightly better 2018-01-09 00:36:11 i installed man via apk, dont seem to have any man pages though, do those get installed seperately? 2018-01-09 00:36:50 yes, AL does not install docs by default 2018-01-09 00:37:31 if package has documentation, then there will be -doc suffixed subpackage 2018-01-09 00:38:31 if you like to have docs for everything, you can do `apk add docs` and -doc subpackages will be automatically downloaded for packages you install 2018-01-09 00:40:33 is there a quick way to switch kernels (for the next reboot), i have got the image for virtual machines and the software i am trying to run sais that it doesnt support the grsec patches currently (software is postmarketos bootstrapper) 2018-01-09 00:47:29 <__number5__> nepugia: you can do that by changing the config of bootloader, typically grub 2018-01-09 00:48:17 <__number5__> you need to install the new kernel first of course 2018-01-09 00:48:58 I am not aware of any quick way beside changing hardened to vanilla in all necessary places (in case of x86_64 it seems to be update-extlinux.conf and rerunning update-extlinux IIRC). you obviously need installed vanilla variants of kernel-related packages (at least linux-vanilla, or others too if you use them) 2018-01-09 00:50:04 what are the kernel packages called in apk? 2018-01-09 00:50:24 ah, got it 2018-01-09 00:52:56 installing linux-vanilla and changing that config file worked, thanks 2018-01-09 00:55:02 actually you don't have to change default in update-extlinux.conf as long you can choose kernel during boot yourself (but if you'll be using other flavor for longer time, it will be convenient), running update-extlinux is possibly still necessary after installing other kernel flavor package (don't remember whether update-extlinux is run automatically, maybe it is) 2018-01-09 00:55:49 it seems to be ran automatically after the package is installed 2018-01-09 00:56:09 ok, haven't installed kernel for some time on AL 2018-01-09 00:56:17 currently i dont plan to use the vm for anything other than the pmbootstrap, so changing the default is convenient 2018-01-09 00:58:01 I'll be off in seconds, so won't be able to help you. saying just in case you'll have more questions. 2018-01-09 09:12:05 To compile c code in alpine do I need to download musl?? I assumed it was there after install... Sorry for the newb question. 2018-01-09 09:13:46 seanrdev: you probably need the musl-dev package 2018-01-09 09:19:23 kahiru: Ok thanks. Sorry been on debian based systems forever 2018-01-09 09:19:42 seanrdev: you'll get used to alpine in no time :) 2018-01-09 09:21:44 kahiru: Yeah I like how unbloated it is but really I am working on statically compiling source and can't seem to get anything working in my main system so I decided to try this... 2018-01-09 09:22:46 good luck with it 2018-01-09 09:26:19 kahiru: Is there a way to add tab completion? 2018-01-09 09:26:40 kahiru: NVM sorry bro my mistake 2018-01-09 10:48:16 Hello, please have anyone of you succeeded in running kubernetes (arm version) on Alpine OS on Raspberry Pi? 2018-01-09 14:38:28 what is all this linux-firmware-xxx about? 2018-01-09 14:46:12 aGaTHoS, http://lists.alpinelinux.org/alpine-devel/index.html#msg6005 2018-01-09 14:49:17 why i had installed like 80 packages im sure i dont need the major of them 2018-01-09 14:55:16 Linux-firmware provides firmware for various devices to be loaded at runtime. 2018-01-09 14:56:36 I don't know what you mesn by the 80 packages comment but I daresay you are installing programs which are relatively large and have a number of dependencies. 2018-01-09 14:58:11 i think it's still transitional issue. linux-firmware contained all; we split the files to various packages, but there's still no code to pick the right packages 2018-01-09 14:58:49 i think the work is still not complete. 2018-01-09 14:59:07 see my latest comment on it http://lists.alpinelinux.org/alpine-devel/6016.html 2018-01-09 15:07:18 Has anyone successfully built HHVM? The webscalesqlclient is actually testing openssl major versions; postgresql needs libressl, so it's reporting the major version as 2. This doesn't exist in openssl, so the test is failing the build. 2018-01-09 15:39:23 huh.. is it normal that update installs tons of linux-firmware modules? it wasn't installing them before iirc 2018-01-09 15:39:50 avih, it was single linux-firmware containing it all 2018-01-09 15:40:13 hmm.. why the change then? 2018-01-09 15:41:08 do all of them need to update with every new kernel now? 2018-01-09 15:41:44 no, firmware is separate 2018-01-09 15:41:47 i think it also increased the size at OK: XX MiB in YY packages by about 50M 2018-01-09 15:41:51 it's still work in progress 2018-01-09 15:42:02 hmm 2018-01-09 15:42:04 hmm.. 2018-01-09 15:42:33 or maybe ~70M, but i have both hardened and vanilla 2018-01-09 15:42:58 though the modules don't seem kernel-type specific 2018-01-09 15:43:13 they are not. i wonder why it would be any larger 2018-01-09 15:43:43 i didn't log it down. but from what i recalled what the previous number was. 2018-01-09 16:06:59 hey all, just noticing that dnscrypt-proxy upstream has changed dramatically, as it's now abandoned by the developer, even deleted the github repo. APKBUILD shows download.dnscrypt.org as source, but even the upstream website dnscrypt.org now redirects to dnsprivacy.org 2018-01-09 16:07:30 i don't mind opening a bug report but i wasn't sure if i should just poke the maintainer, or what the protocol was 2018-01-09 16:07:38 didn't want to make unnecessary noise 2018-01-09 16:08:48 i did find that dyne.org has taken on the responsibility of maintenance here -> https://github.com/dyne/dnscrypt-proxy 2018-01-09 16:38:14 hello 2018-01-09 16:39:13 using alpine as a base for my docker image. trying to install just a single package: https://pkgs.alpinelinux.org/package/v3.3/main/x86/php-pcntl but getting this: http://pix.toile-libre.org/upload/original/1515515865.png 2018-01-09 16:39:55 nvm 2018-01-09 16:40:03 php5-pcntl, not php-pcntl 2018-01-09 16:42:03 there is no composer available for alpine 3.7, does anyone know why? 2018-01-09 16:55:25 hey alpine devs, is there a new package build coming soon for Docker? Looks like only 17.10 is available atm, but I'd like to get 17.12 if possible. :) 2018-01-09 16:57:47 vacant0mens: it's already flagged as out-of-date 2018-01-09 16:58:16 i don't know if anyone's working on it, either, though 2018-01-09 16:58:22 does that mean someone is working on a newer build? 2018-01-09 16:58:31 oh 2018-01-09 16:58:41 <_ikke_> vacant0mens: no, it just means someone found out there was a new version available 2018-01-09 16:58:54 <_ikke_> (or through an autoamatic process) 2018-01-09 16:59:34 in this case, i'm sure the reporter was human, because they left a nice message 2018-01-09 17:00:10 how hard would it be for someone to create a new package for apk? 2018-01-09 17:00:32 if you're confident in shell scripting, not hard at all 2018-01-09 17:00:35 <_ikke_> vacant0mens: ranging from trivial (just a version bump) to very hard 2018-01-09 17:01:00 i'm not very familiar with building in alpine. is there a good wiki or something for it? 2018-01-09 17:01:28 <_ikke_> https://wiki.alpinelinux.org/wiki/Creating_an_Alpine_package 2018-01-09 17:01:42 i did notice that abuild doesn't like to run as root too. I don't really want to set up a new user just to build one package... 2018-01-09 17:01:56 <_ikke_> vacant0mens: you should not build packages as root 2018-01-09 17:03:52 <_ikke_> vacant0mens: I'm building it now 2018-01-09 17:04:30 <_ikke_> vacant0mens: abump docker-17.12.0 2018-01-09 17:04:30 what's your guys' process for getting a new version into the repos? 2018-01-09 17:04:45 <_ikke_> that command does most of the work 2018-01-09 17:05:18 <_ikke_> After that, perhaps verify if the package still works, then it's a matter of supplying a patch / pull request 2018-01-09 17:06:20 would it go into the edge/community repo right away? or would it go into edge/testing first? 2018-01-09 17:07:48 <_ikke_> vacant0mens: testing is mostly for new packages, we currently do not let new versions go through the testing repo first 2018-01-09 17:08:19 yes, new versions just go into the same repo they were before 2018-01-09 17:10:02 k. so @_ikke_, you're building the 17.12.0. does that mean it will be available from the repo soon? or do you have a lot of testing to do on it first? (i.e. will it be a day, or a couple weeks?) 2018-01-09 17:10:36 <_ikke_> Can be available in edge pretty soon 2018-01-09 17:10:44 <_ikke_> depending on how quickly it gets merged 2018-01-09 17:10:51 <_ikke_> (I'm not a core dev) 2018-01-09 17:11:37 Awesome. I'm only asking because 17.10 has a bug with Swarm that causes certain containers to never run, and it's supposed to be fixed with 17.12 2018-01-09 17:12:08 <_ikke_> vacant0mens: If you are willing, you could test the version I've built (once it's ready) 2018-01-09 17:12:41 yeah, if i can do a pull from the repo or something quick i'd love to help out :) 2018-01-09 17:13:24 <_ikke_> http://alpine.ikke.info/community/x86_64/docker-17.12.0-r0.apk 2018-01-09 17:15:11 <_ikke_> This is my build key http://alpine.ikke.info/ikke-build.rsa.pub 2018-01-09 17:16:14 cool. give me a bit, and i'll come back when I've tested it out. :) 2018-01-09 17:31:04 so just with the apk you sent, it's getting this error: Incorrect Usage. flag provided but not defined: -config 2018-01-09 17:31:51 that's on start. looks like it's for docker-containerd 2018-01-09 17:32:55 @_ikke_ 2018-01-09 17:33:17 <_ikke_> hmm 2018-01-09 17:34:23 <_ikke_> What command are you executing? 2018-01-09 17:36:29 just `docker version` 2018-01-09 17:39:16 <_ikke_> vacant0mens: testing it in a vm 2018-01-09 17:42:40 <_ikke_> vacant0mens: seems to be working here 2018-01-09 17:43:53 <_ikke_> http://tpaste.us/6D5z 2018-01-09 17:44:42 when i set it up, i ran: `apk add docker-17.12.0-r0.apk` then `apk add docker` to fill in the dependencies. is there a location specified for `-config` ? 2018-01-09 17:45:25 @_ikke_ when i check `service docker status` it says it crashed. 2018-01-09 17:45:59 <_ikke_> Not sure where -config comes from 2018-01-09 17:47:31 <_ikke_> I see the same error in the log 2018-01-09 17:48:49 @_ikke_ could be in your build, if you modify your settings for docker-containerd you can probably leave off the `-config`. 2018-01-09 17:49:59 <_ikke_> Cannot find -config in the aports itself 2018-01-09 17:51:11 strange that it goes by different names... the process is called docker-containerd, but the program itself is just containerd, but then the module is labelled as libcontainerd. not sure if that's helpful at all. 2018-01-09 17:52:21 <_ikke_> containerd is a seperate module apparently 2018-01-09 17:57:10 does that mean it has to be built separately? 2018-01-09 17:57:24 <_ikke_> No 2018-01-09 17:57:35 <_ikke_> It's part of the same build 2018-01-09 18:06:59 <_ikke_> I cannot find where -config comes from in the source code 2018-01-09 18:20:57 <_ikke_> vacant0mens: http://tpaste.us/VRaM 2018-01-09 18:22:09 @_ikke_ : strange. that file exists in my machine... 2018-01-09 18:22:19 * that toml file 2018-01-09 18:22:52 <_ikke_> Yes, but docker-containerd does not seem to accept --config 2018-01-09 18:23:47 k. so is there a way to remove that parameter from within the build? 2018-01-09 18:24:08 <_ikke_> First trying to find where it's called 2018-01-09 18:25:10 <_ikke_> 17.10.0 does not seem to know that option either 2018-01-09 18:26:08 <_ikke_> vacant0mens: I might need to update some of those components as well 2018-01-09 18:26:31 it looks like it's using containerd version 0.2.3. maybe there's a newer version of docker/containerd what you can pull? 2018-01-09 18:26:47 <_ikke_> yeah 2018-01-09 18:26:59 <_ikke_> It's part of the APKBUILD 2018-01-09 18:29:33 looks like there are versions up to 0.2.9, so hopefully one of the newer ones work. 2018-01-09 18:29:55 do you have a link to the APKBUILD? 2018-01-09 18:32:32 <_ikke_> https://git.alpinelinux.org/cgit/aports/tree/community/docker/APKBUILD 2018-01-09 18:32:50 <_ikke_> I just bumped the version, and now the hashes on line 25, 26 2018-01-09 18:40:27 do you have a new build yet? 2018-01-09 18:40:50 <_ikke_> Not yet, it's not able to build yet 2018-01-09 18:44:30 k. let me know or post a link when you're ready. 2018-01-09 18:45:20 <_ikke_> rite 2018-01-09 19:33:22 <_ikke_> vacant0mens: still no luck, it has issues finding it's dependencies (they're located everywhere) 2018-01-09 19:36:15 alpine should run fine as general purpose os? (for a laptop) 2018-01-09 19:36:33 also can applications that werent compiled against musl run on alpine? 2018-01-09 19:37:51 Yes and it depends, respectively 2018-01-09 19:38:19 If your application is statically built, or it only uses the subset of glibc that musl is compatible with, or you run it in a glibc chroot, or it's written in an interpreted language, then it will run fine 2018-01-09 19:38:35 But in general, glibc applications need to be recompiled for musl to work 2018-01-09 19:41:36 @_ikke_ okay, thanks. just keep the updates coming. :) 2018-01-09 19:43:01 thanks for the info, i suppose not all stuff will run then, but then on what os does all stuff run :3 2018-01-09 19:54:46 Windows 2018-01-09 19:54:51 ACTION hides 2018-01-09 19:57:01 ACTION takes out a floodlight 2018-01-09 19:58:10 by the way, should i use efi or non-efi boot if i have the choice for alpine? 2018-01-09 19:58:13 I have a comment even worse than that, but I've rubbed enough people the wrong way for today, I think :) 2018-01-09 19:58:40 that's a good question. do you need what UEFI provides? 2018-01-09 19:59:26 well, it provides booting i guess, and maybe a higher resolution framebuffer 2018-01-09 19:59:58 though am asking since i have atleast seen some os's that didnt really play nice with efi framebuffer, made for a good picture though 2018-01-09 20:02:13 I think syslinux is a pretty safe bet 2018-01-09 20:02:30 and I mainly do UEFI systems 2018-01-09 20:05:35 Alpine uses GRUB for UEFI by default, not syslinux 2018-01-09 20:05:44 Personally I'd use UEFI if I had the option 2018-01-09 20:06:01 But it won't make very much difference unless you're dual booting 2018-01-09 20:06:53 is syslinux the loader it uses in vm's per default? 2018-01-09 20:07:24 I never stated anything about using syslinux for uefi tho :) 2018-01-09 20:08:51 maybe i can use efi stub loader :P 2018-01-09 20:09:03 nepugia: syslinux is used by default for legacy booting on any system 2018-01-09 20:09:36 s/any system/any x86 system/ 2018-01-09 20:09:37 I don't like grub one bit; if I set up an UEFI booting system I'd use gummiboot for that 2018-01-09 20:09:48 but, that said, 2018-01-09 20:10:09 gummiboot is now systemd-boot so we've kind of lost one option there... 2018-01-09 20:11:11 None of the UEFI bootloaders on Linux are particularly great options right now 2018-01-09 20:11:22 I'd go with GRUB since it's what the installer does, so it requires the least amount of thinking 2018-01-09 20:11:29 Efi stub loader would be a nice option for single os computers 2018-01-09 20:11:59 i wonder if boot0 could be adapted to boot linux 2018-01-09 20:14:44 <_ikke_> vacant0mens: Oh!, it seems to have been built! 2018-01-09 20:17:38 link to new package? 2018-01-09 20:17:49 <_ikke_> vacant0mens: doing a full build now 2018-01-09 20:18:04 awesome! :+1: 2018-01-09 20:18:13 <_ikke_> not sure if what I'm doing is correct (I think it's getting in some kind of directory symlink loop, but eventually it seems to buidl 2018-01-09 20:18:15 <_ikke_> build 2018-01-09 20:18:41 <_ikke_> But perhaps it does take this long, no clue 2018-01-09 20:25:51 <_ikke_> vacant0mens: http://alpine.ikke.info/community/x86_64/docker-17.12.0-r1.apk 2018-01-09 20:27:39 <_ikke_> vacant0mens: looks good 2018-01-09 20:29:15 <_ikke_> vacant0mens: I managed to start a container! 2018-01-09 20:29:32 awesome! i'll test it out and let you know. 2018-01-09 22:56:02 @_ikke_ looks like everything is working! :) 2018-01-09 23:23:47 @_ikke_ what else needs to happen to get the new build into the repo? 2018-01-10 05:33:29 <_ikke_> vacant0mens_: I will submit the changes to get it merged 2018-01-10 05:55:32 can someone take a look at why travis-ci failed here? https://github.com/alpinelinux/aports/pull/3048 it seems that the sha512sum was invalid but i doule checked that `wget -qO- $url | sha512sum` indeed returns the correct csum 2018-01-10 05:56:04 s/doule/double/ 2018-01-10 05:56:53 <_ikke_> let me check 2018-01-10 05:57:16 oh it seems to be the patch file thats incorrectly checksumd 2018-01-10 05:57:35 yeah, my fault 2018-01-10 05:57:47 <_ikke_> yeah 2018-01-10 05:57:49 forgot to git add after doing abuild checksum 2018-01-10 05:58:14 <_ikke_> luckily we have travis :-) 2018-01-10 05:58:59 i always happily tail -f the travis build process and was very confused now when it failed, thought i had everything double checked 2018-01-10 05:59:49 <_ikke_> can happen 2018-01-10 06:00:21 yay Successfully build packages: testing/motion 2018-01-10 06:02:46 <_ikke_> \o/ 2018-01-10 06:02:58 \o/ 2018-01-10 06:03:08 algitbot++ 2018-01-10 07:18:29 hi - is there any package for ASAN available? I tried to find one, but libasan did not show up anywhere... 2018-01-10 07:20:06 <_ikke_> Doesn't seem so 2018-01-10 07:45:08 too bad we do not have ASAN. Do you know any reason for this? 2018-01-10 07:56:21 <_ikke_> rgerhards: most likely either that nobody bothered to package it yet, or there are some issues in getting it to work in alpine 2018-01-10 07:57:47 Say, for openrc how would i go about adding something to a very early boot? i have a laptop which has a super bright backlight which i was able to control with some linux'es, especially with debian i could only change it super late in the boot, so i hope i can set it lower on early boot in alpine 2018-01-10 13:19:12 <_ikke_> vacant0mens_: https://github.com/alpinelinux/aports/pull/3053 2018-01-10 18:42:43 hello 2018-01-10 18:42:55 how do the security updates to the released versions work in alpine? 2018-01-10 18:43:27 it seems that 3.7.0 hasn't yet got the meltdown workaround 2018-01-10 19:10:53 nepugia: depends on how early. you have at least boot and sysinit runlevels, but if you want to get even earlier then you'll have to include that stuff in the initramfs, which means using mkinitfs "features" to get it there, and possible even modifications to /usr/share/mkinitfs/initramfs-init 2018-01-10 19:23:41 <_ikke_> ilmaisin: Just heard that they are going to update the vanilla kernels. They tried looking to get the fixes in the hardened kernels, but it's not doable 2018-01-10 19:24:45 we are talking about upgrade stable kernels to 4.14. nothing decided yet though 2018-01-10 19:28:23 hmm 2018-01-10 19:30:41 so the "hardened" kernel has the grsecurity patch? and it somehow makes fixing the meltdown difficult? 2018-01-10 19:31:13 <_ikke_> ilmaisin: yes 2018-01-10 19:33:47 there's a few problems 2018-01-10 19:33:58 1) the backported KPTI is not really KPTI, it's KAISER, and it's utterly broken 2018-01-10 19:34:47 2) KPTI and KAISER are both incompatible with PaX/grsecurity 2018-01-10 19:36:35 and the upstream grsecurity isn't free anymore? 2018-01-10 19:38:56 right, exactly 2018-01-10 19:39:00 <_ikke_> ilmaisin: They don't distribute the patches anymore 2018-01-10 19:39:22 <_ikke_> requiring per-install licenses 2018-01-10 19:40:55 does the -hardened kernel need to be discontinued then? 2018-01-10 19:41:13 yes, we are likely to discontinue it for now 2018-01-10 19:41:18 in stable too 2018-01-10 19:41:25 we just want to make sure 4.14 is good first 2018-01-10 19:41:41 because 4.9 stable is not 2018-01-10 19:41:49 it crashes on both my desktop and ncopa's machine 2018-01-10 19:43:00 we also haven't ever done a migration like that in a stable branch 2018-01-10 19:43:10 so that will make things a little weird :) 2018-01-10 20:19:54 hmm.. i was tolb by fabled yesterday that the new individual kernel modules shouldn't update with every new kernel, but now they have. was this still due to it being new? 2018-01-10 20:19:58 told* 2018-01-11 05:17:38 my alpine docker builds are failing right now, because http://dl-cdn.alpinelinux.org/alpine/v3.7/main/x86_64/APKINDEX.tar.gz is not working, same for http://dl-cdn.alpinelinux.org/alpine/v3.7/community/x86_64/APKINDEX.tar.gz - they redirect to http://110.164.252.137/wpwarn/soft/wpcbt_res.php 2018-01-11 05:30:41 only for you 2018-01-11 05:30:45 or, specifically, 'not for me' 2018-01-11 05:30:49 trying to work out why 2018-01-11 05:43:17 works for me™ 2018-01-11 05:43:40 (tested from all locations listed on mtr.sh) 2018-01-11 05:45:39 my guess is that their workstation or network is infected 2018-01-11 14:41:41 hi, is there some script that creates the device nodes in alpine? 2018-01-11 14:43:43 afaik device creation is handled by udev 2018-01-11 14:46:34 wtf kahiru 2018-01-11 14:46:37 mdev 2018-01-11 14:47:07 damn, I'm ashamed 2018-01-11 14:47:23 kahiru: it's one of the main reasons to use alpine dude 2018-01-11 14:47:49 having no udev bullshit is great. 2018-01-11 14:48:11 now that it all comes from the systemd people i don't trust anything about it any more 2018-01-11 14:48:37 what I meant to say was there's nothing like openbsd's MAKEDEV script as far as I know 2018-01-11 15:02:50 ah, yes, installing udev works 2018-01-11 15:38:32 except that most people using udev these days use the gentoo fork of it instead, don't they? 2018-01-11 15:38:57 in any case, having choices is good 2018-01-11 17:50:01 i'd rather not have certain choices 2018-01-11 17:54:22 ironically, that's a choice you're allowed to have to yourself :) 2018-01-11 18:08:58 that doesn't entitle you from taking choices away from other people 2018-01-11 18:31:50 >in any case, having choices is good 2018-01-11 18:31:51 I would suspect that some edge cases exist where choices are bad :) 2018-01-11 18:31:52 e.g all options suck equally, now you have to choose something for the sake of choice :D 2018-01-11 18:43:41 that's a fascinating can of worms to open, individual choice and the parameters within which it does more good than harm :) but that's a long conversation 2018-01-11 18:46:56 TBB: i just read this last line out of context and it's wonderful :) 2018-01-11 22:06:28 Hi, I would like to try install Alpine linux to arm virtual machine on Raspberry Pi. Is it possible? I tried OpenWrt/LEDE "qemu-system-arm -nographic -M virt -m 64 -kernel lede-armvirt-zImage-initramfs" and it works. But how can I do it with Alpine? 2018-01-11 22:25:16 darkfader: it's fascinating, in and out of context ;) 2018-01-11 22:35:37 tuxmartin: try downloading the uboot image and doing something like 2018-01-11 22:36:05 -drive file=fat:$image -kernel $image/boot/vmlinuz -initrd $image/boot/initramfs-vanilla -append modules=loop,squashfs,sd-mod,usb-storage 2018-01-11 22:36:11 where $image is the path to the unpacked .tar.gz 2018-01-11 22:36:12 may work 2018-01-11 22:44:42 Shiz: I downloaded "generic arm armhf" from https://alpinelinux.org/downloads/ and use: 2018-01-11 22:44:47 qemu-system-arm -M virt -m 64 -drive file=fat:fat/ -kernel boot/vmlinuz-hardened -initrd boot/initramfs-hardened -append modules=loop,squashfs,sd-mod,usb-storage 2018-01-11 22:45:00 It start booting, but crash on " Mounting boot media: failed. initramfs emergency recovery shell launched" 2018-01-11 22:45:04 https://gist.github.com/tuxmartin/62f5beb6df29431cb5b58ff383bf71a3 2018-01-11 22:45:10 >file=fat:fat/ 2018-01-11 22:45:15 hmm? 2018-01-11 22:45:26 shouldn't that be -drive file=fat:. ? 2018-01-11 22:45:33 if you unpacked it into the current working directory 2018-01-11 22:46:07 -drive file=fat:. 2018-01-11 22:46:12 qemu-system-arm: -drive file=fat:.: Directory does not fit in FAT16 (capacity 516.06 MB) 2018-01-11 22:46:46 my mistake, i have 1GB file in local directory 2018-01-11 22:47:04 qemu-system-arm -M virt -m 64 -drive file=fat:. -kernel boot/vmlinuz-hardened -initrd boot/initramfs-hardened -append modules=loop,squashfs,sd-mod,usb-storage -nographic 2018-01-11 22:47:21 and still the same error "Mounting boot media: failed." 2018-01-11 22:47:26 Hello! Does anybody use macOS and Vagrant with Parallels VM? Recently I published a Vagrant box with Parallels tools inside and looking for testers: https://bitbucket.org/m-emelchenkov/vagrant-alpine — it contains not only sources but build box itself and DKMS package. 2018-01-11 22:47:39 hmm 2018-01-11 22:48:35 tuxmartin: hmm 2018-01-11 22:48:52 you could try making an iso from the unpacked tar and mounting that as -drive file=some.iso,type=cdrom 2018-01-11 22:48:58 using mkisofs 2018-01-11 22:49:07 sorry 2018-01-11 22:49:11 media=cdrom, not type=cdrom 2018-01-11 22:49:24 instead of -drive file=fat:. 2018-01-11 22:49:56 In local dir (unpacked from tar.gz) there are apks, extlinux, boot, u-boot directories. There is no like linux "/" directories. 2018-01-11 22:50:09 ? 2018-01-11 22:50:17 that's right 2018-01-11 22:50:19 and? 2018-01-11 22:52:01 I do not understand, what kernel use as rootfs - there are only apk files and u-boot for cubiebord,raspberry and other sbc, 2018-01-11 22:52:37 it creates a rootfs by installing the .apk files into a tmpfs 2018-01-11 22:55:06 mkisofs -o myiso.iso apks/ boot/ extlinux/ u-boot/ 2018-01-11 22:55:08 qemu-system-arm -M virt -m 256 -drive file=myiso.iso,media=cdrom -kernel boot/vmlinuz-hardened -initrd boot/initramfs-hardened -append modules=loop,squashfs,sd-mod,usb-storage -nographic 2018-01-11 22:55:13 and still the same error 2018-01-11 23:08:26 hmm 2018-01-11 23:10:32 tuxmartin: try adding ,cdrom to modules= in append 2018-01-11 23:12:45 qemu-system-arm -M virt -m 256 -sd myiso.iso -kernel boot/vmlinuz-hardened -initrd boot/initramfs-hardened -append "modules=loop,squashfs,sd-mod,usb-storage,cdrom modloop=/boot/modloop-hardened" -nographic 2018-01-11 23:13:17 I found on some blog "modloop" param - not working. 2018-01-11 23:13:33 cdrom - still not working 2018-01-11 23:19:14 I found the same problem on alpine forum: https://forum.alpinelinux.org/forum/installation/booting-qemu-system-aarch64 2018-01-11 23:35:03 I do not have any idea :-( 2018-01-11 23:56:40 I created disk image with alpine minitroofs - still not working :'-( There are my commands: https://gist.github.com/tuxmartin/f348d4247beda04e6029366da494f164 2018-01-12 00:07:05 Shiz: I used "vexpress-a9" arm machine and alpine now see my virtual sd card. But still cannot mount rootfs. I do not understand why. Please look at https://gist.github.com/tuxmartin/f348d4247beda04e6029366da494f164 there is boot output. 2018-01-12 00:07:40 lemme check 2018-01-12 00:07:42 in a bit 2018-01-12 00:08:02 I was inspired: https://medicineyeh.wordpress.com/2016/03/29/buildup-your-arm-image-for-qemu/ 2018-01-12 00:25:39 I succesfully mount rootfs! But "alpine-minirootfs" does not contains "/sbin/openrc", so I cannot boot to shell. Where I can get usable alpine rootfs for arm? There is my current status: https://gist.github.com/tuxmartin/1d077e27d9beb21cceea4b63f3dff3fe 2018-01-12 00:51:49 oh geez 2018-01-12 00:52:28 i hate rpi 2018-01-12 00:52:42 Hi, having an...interesting time with neofb on a thinkpad 600E -- any attempt to load it produces a garbled, unreadable screen. There's pretty much nothing insightful in dmesg, the only lines having anything to do with neofb are here: https://bpaste.net/show/ed450f7a0fe5 2018-01-12 00:53:27 the chip is, specificially, a Neomagic MagicMedia256AV 2018-01-12 00:53:49 wow too many people with problems 2018-01-12 00:53:54 Is there something special I need to load or change about extlinux or the kernel? 2018-01-12 00:54:00 not enought to help 2018-01-12 00:54:09 Heh 2018-01-12 00:54:37 sorry for offtop heh 2018-01-12 00:58:57 i'm heaving fun with alpine too 2018-01-12 00:59:29 well not so much fun as I can't see anything 2018-01-12 01:00:34 i have no keyboard/display so i wanted to set up alpine with serial console 2018-01-12 01:00:40 nothing 2018-01-12 01:06:18 Hilariously, this is harder to solve than getting b43 built and on the thing with no prior connection 2018-01-12 04:59:59 VOISE 2018 baby, the battle continues!!!!!!!!!!!!!!!!!!!!! 2018-01-12 05:00:03 livecoin.net 2018-01-12 05:00:07 best exchange, great service, intuitive interface, trustworthy, secure 2018-01-12 05:00:13 go BTC to VOISE 2018-01-12 05:00:18 As the drillers don't stop drilling until they strike black gold 2018-01-12 05:00:24 in the streets of America 2018-01-12 05:00:31 I'm out with the Boozie Badazz - Wake Up! 2018-01-12 05:00:35 my niggaz! 2018-01-12 05:00:39 my savagez! 2018-01-12 05:00:49 gnu mothafuckers 2018-01-12 05:04:49 fun. 2018-01-12 05:35:23 kay 2018-01-12 05:35:28 time to report someone 2018-01-12 06:45:29 hi, what does it mean when a project has been flagged? 2018-01-12 07:05:08 @Shiz: this wanker is still spamming channels, now as niggawakeup (~knoppix@24.114.27.232) 2018-01-12 07:05:35 and finding new hosts to continue it from 2018-01-12 07:08:47 canadian hosts mostly 2018-01-12 07:10:26 hi, what does it mean when a project has been flagged? 2018-01-12 07:13:57 echelon: according to the dictionary, the project has been paved with flat stone slabs. 2018-01-12 07:14:11 *facepalm* 2018-01-12 07:14:26 how do i find out the reason 2018-01-12 07:15:59 echelon: you may need to ask this question to someone from the 16th century 2018-01-12 07:17:52 i asking about the alpine pkg repo 2018-01-12 07:20:16 echelon: it means it is "out-of-date" 2018-01-12 07:20:23 ok 2018-01-12 07:20:25 thanks 2018-01-12 09:15:11 Hello! I have a question. I noticed a few days ago that I'm suddenly upgrading 79 linux-firmware packages which I do not remember installing. How should I fix this without going through the packages manually and removing them one by one? Should I remove the linux-firmware package which has 78 sub packages (doesn't sound like a good idea because a few of those should remain ofc)? 2018-01-12 09:19:11 <_ikke_> rokf: Are they somehow a dependency of another package? 2018-01-12 09:20:00 sounds like it 2018-01-12 09:20:01 maybe 2018-01-12 09:20:46 ohh, I've looked on the pkgs website and linux-firmware seems to be required by linux-vanilla 2018-01-12 09:20:54 I'm using the vanilla alpine version 2018-01-12 09:21:07 wow 2018-01-12 09:21:12 so about raspberry pi... 2018-01-12 09:21:45 what options do i have to set up alpine headless 2018-01-12 09:22:04 any? 2018-01-12 09:22:17 <_ikke_> sztelke: afaik, the option you have is to put the image on an sdcard and boot 2018-01-12 09:22:59 heh then it's runnin' and how can i access it? 2018-01-12 09:23:26 tried serial port, no luck 2018-01-12 09:23:28 <_ikke_> ssh? 2018-01-12 09:23:48 ah, right it's rpi zero w 2018-01-12 09:24:06 no ethernet, only wifi 2018-01-12 09:24:43 maybe it's obvious but i don't know how to setup wifi connection without accessing terminal 2018-01-12 09:25:20 <_ikke_> perhaps by updating the apkovl 2018-01-12 09:26:38 By the way, should neofb work with just a modprobe, generally? 2018-01-12 09:26:49 dmesg seems to think everything is fine, but I get super garbled output 2018-01-12 09:26:54 oh Cerpin is here too 2018-01-12 09:26:55 wee 2018-01-12 09:27:53 wow that whole lbu magic 2018-01-12 09:28:50 i'll try messing with that apkovl 2018-01-12 09:29:05 i haven't noticed what is it 2018-01-12 09:29:10 rtfm i guess 2018-01-12 09:29:17 well thanks for now 2018-01-12 14:56:52 Hello. I have upgraded the packages on my Alpine 3.6.2 XEN Hypervisor and have had some major issue (kernel panic, freeze). I uploaded the related bash commands and upgraded APK list here : https://pastebin.com/RzLhgfyC -- From what I can surmise, possible culprits could be mkinitfs (3.1.0-r0 -> 3.1.0-r3), linux-firmware (20170330-r0 -> 20170330-r1 2018-01-12 14:56:52 ), xen, xen-libs, xen-hypervisor (4.8.1-r3 -> 4.8.2-r3) packages. Is there any known major issue with these new versions ? 2018-01-12 14:58:43 I could give some detail if someone is willing/able to help out 2018-01-12 15:00:34 there are not any known issues with those 2018-01-12 15:01:01 i suspect a regression in the xen 4.8.2-r3 2018-01-12 15:01:55 Do you recommend I downgrade to previous version (4.8.1-r3) to verify ? 2018-01-12 15:02:27 if that is possible, then yes 2018-01-12 15:02:28 but i dont know if it is possible 2018-01-12 15:03:06 what is panicing? dom0 or domU? 2018-01-12 15:05:09 dom0. The very first incident happened during initialization, upon rebooting after upgrade. I have a boot service which starts my domU automatically, it is the latest service to be run. The first domU (pfSense guest) would start fine, but when starting the second one (FreeNAS), it would display "Killed" twice after a while, try to start the third d 2018-01-12 15:05:10 omU and then just hang 2018-01-12 15:05:59 I tried rebooting, without changing anything. It successfully started Freenas (which seem to indicate this isn't related to the domU), but got stuck at the third one 2018-01-12 15:06:12 i wonder if you could test the vanilla kernel 2018-01-12 15:06:18 Now, I restarted and selected Hardened Linux in the boot menu. I disabled all my domU auto start expect pfSense 2018-01-12 15:06:32 And it is working (I'm using my normal network, so pfSense is working fine) 2018-01-12 15:06:35 oh 2018-01-12 15:06:54 i think there was some memory setting 2018-01-12 15:07:07 But I tried to start FreeNAS earlier, after haivng dom0 succesfully start, and I got the kernel panic I mentioned 2018-01-12 15:07:14 in the boot config 2018-01-12 15:07:20 Ah ? 2018-01-12 15:07:44 What is it related to ? 2018-01-12 15:07:58 Dom0 memory setting ? 2018-01-12 15:08:03 yes 2018-01-12 15:08:10 iirc it was 256M or so 2018-01-12 15:08:18 Oh wait you may be right 2018-01-12 15:08:20 i think someone had issue with that and increased it 2018-01-12 15:08:23 I had changed that previously 2018-01-12 15:08:28 Do you think it may have been reset ? 2018-01-12 15:08:37 yes 2018-01-12 15:08:49 Genius, I think you may have just solved my problem 2018-01-12 15:08:53 Let me try that 2018-01-12 15:09:29 see /etc/update-extlinux.conf 2018-01-12 15:09:32 xen_opts=dom0_mem=256M 2018-01-12 15:09:47 Exactly. I didn't suspect it would reset 2018-01-12 15:09:54 By any chance, is there a backup of the old one ? 2018-01-12 15:10:12 I can't remember if I changed other settings. I took a lot of notesthough, so I may be able to scrub that 2018-01-12 15:11:09 looking at the script 2018-01-12 15:11:19 there should be a /boot/extlinux.conf.old 2018-01-12 15:11:44 You sir, are correct 2018-01-12 15:11:53 <_ikke_> ncopa: \o/ 2018-01-12 15:12:15 \o/ 2018-01-12 15:14:24 Incognito: what did you have to set it to? 2018-01-12 15:15:36 ncope: I had it set as "APPEND xen.gz iommu=1 msi=1 dom0_mem=4096M,max:4096M [...]" 2018-01-12 15:15:57 ncope: And it was now "APPEND xen.gz dom0_mem=256M [...]" 2018-01-12 15:16:35 I will try this new-old configuration 2018-01-12 15:17:54 i think you need to edit /etc/update-extlinux.conf to make it permanent 2018-01-12 15:31:51 And so I did. And so it works now. Thank you kindly for you excellent guidance. You have likely spared me hours of headache, and I now know better than to edit extlinux.conf directly 2018-01-12 15:32:21 im glad i could be to some help 2018-01-12 18:10:55 So I'm running docker on alpine linux, things mostly work, however despite setting my container to have NET_ADMIN and NET_RAW I cannot use ping or iptables within the container, any ideas? 2018-01-12 18:11:25 ping requires network part of root's capabilities 2018-01-12 18:11:45 and containers are not supposed to have any of real root's capabilities 2018-01-12 18:12:09 specing: I think setting NET_RAW/NET_ADMIN should enable that? 2018-01-12 18:12:28 iptables modifies kernel filter rules, which should obviously not be possible within a container 2018-01-12 18:12:39 it would, but you are playing with fire 2018-01-12 18:12:42 <_ikke_> I can ping as root in the container 2018-01-12 18:13:06 oh wait, these are not unprivileged containers 2018-01-12 18:13:09 nvm then 2018-01-12 18:13:11 I get "ping: Lacking privilege for raw socket." 2018-01-12 18:13:38 <_ikke_> Might be because the VPS i'm using is vanilla, not hardened 2018-01-12 18:14:01 <_ikke_> I think its grsec that's blocking it 2018-01-12 18:14:34 <_ikke_> iptables does not work though 2018-01-12 18:14:53 _ikke_: Ah, that might be it. Does iptables work if you have a priviledged container or NET_ADMIN+NET_RAW? 2018-01-12 18:16:14 <_ikke_> yes, with --privileged, iptables does work 2018-01-12 18:16:34 Hm, sounds like grsec is likely to blame then 2018-01-12 18:16:44 s/blame/thank/ FTFY 2018-01-12 18:18:16 blame is subjective 2018-01-12 18:55:29 Hm, I also need to install the ZFS module 2018-01-12 18:56:02 Is there any way to do that with vanilla... Before I was using extended which has it by default. I'm using the diskless mode 2018-01-12 21:19:26 Hello room 2018-01-12 21:23:23 What linux distro first started to use apk? 2018-01-12 21:24:00 <_ikke_> alpine already uses APK for quite some time 2018-01-12 21:25:02 Is apk unige to Alpine? 2018-01-12 21:25:12 uniqe 2018-01-12 21:25:32 it's unique to alpine and its derivatives 2018-01-12 21:26:09 So u are saying alpine is the first to use apk? 2018-01-12 21:26:59 alpine created apk 2018-01-12 21:27:13 note this is different than android packages 2018-01-12 21:27:58 intresting. What is a well known deritive of Alpine? 2018-01-12 21:28:07 Is something in extlinux.conf required for neofb usage? 2018-01-12 21:28:31 All google seems to be telling me is that grub does indeed require setting resolution/color depth before use 2018-01-12 21:28:48 But http://www.syslinux.org/wiki/index.php?title=SYSLINUX has nothing to say about setting resolution, really 2018-01-12 21:29:32 (I've also never had to do so not to get garbled output before) 2018-01-12 21:32:10 sounds like hard work 2018-01-12 21:34:25 <_ikke_> KingParrot: adelie is a fairly new derivative 2018-01-12 21:34:32 <_ikke_> KingParrot: and postmarketOS 2018-01-12 21:35:14 is that for postal workers? 2018-01-12 21:43:19 oh nvm, vga=791 2018-01-12 21:44:53 ttyS 2018-01-12 21:46:48 someone in an other chat room mentioned postmarket 2018-01-12 21:47:03 seems like it might be a common one 2018-01-12 21:48:28 I think I might try to track down a older version of Adelie to attempt to install. 2018-01-12 21:48:48 <_ikke_> I did 2018-01-12 21:49:02 u have used Adelie? 2018-01-12 21:50:01 <_ikke_> No 2018-01-12 21:50:06 <_ikke_> It's still being developed 2018-01-12 21:50:23 <_ikke_> Please keep a topic just in one channel 2018-01-12 22:03:43 Origin: Norway 2018-01-12 22:04:48 yes 2018-01-12 23:23:35 Hmm, syslinux vga modes don't seem to be the answer 2018-01-12 23:54:18 How does one configure libwxgtk-media2.8-0 (>= 2.8.12.1+dfsg2)? 2018-01-13 11:55:54 whats the usual delay for an aports PR to get merged? 2018-01-13 12:03:43 <_ikke_> A few days to longer 2018-01-13 12:13:04 kk 2018-01-13 19:46:58 Hi, I am trying the xen-liveCD from alpine, could you suggest a bootable USB creation tools for windows? I am not sure which one works. 2018-01-13 19:47:57 LiLi or unetbooot?unetbootin? 2018-01-13 19:56:20 I used to use win32 disk imager 2018-01-13 19:56:26 basically dd with gui for windows 2018-01-13 19:58:01 Rufus is really good, I'd recommend it any day 2018-01-13 19:59:05 kahiru, PureTryOut[m] Cool, I'll try that :) Thanks a lot guys 2018-01-13 20:03:24 Chenpan: what makes you want to go the xen way instead of using kvm? 2018-01-13 20:06:18 kahiru, Honestly i don't know, I am just learning and not an expert at it. I am actually conflicted about that. Probably the closest setup I want is with Qubes-OS has, which uses xen and also reading its documentation has convinced my to go xen way? But that doesn't meant I have anything against KVM. In fact, I started through reading about KVM and ended up trying xen. 2018-01-13 20:06:37 I can give a full discription of what I am looking for and why> If you are interested 2018-01-13 20:06:43 ?* 2018-01-13 20:09:59 lot of typos (◔_◔) 2018-01-13 20:10:27 sorry 2018-01-13 20:10:48 What do you think about it? I would love to know your views on this. 2018-01-13 20:12:45 I'm not an expert by any means, I was just curious 2018-01-13 20:13:04 Ah okay, no worries :) 2018-01-13 20:15:53 kahiru, Does win32 disk imager also make it bootable? 2018-01-13 20:16:45 it just takes the iso and dumps it onto the flash drive. it always workd for me 2018-01-13 20:18:24 okay, trying that. Thanks again 2018-01-13 21:22:02 Chenpan: so 2018-01-13 21:22:09 xen dom0 is very slow 2018-01-13 21:22:18 in my experience 2018-01-13 21:22:27 vm's seem to run at close to baremetal speed 2018-01-13 21:23:42 however the actual hypervisor instance (dom0, which you boot into) was not performant enough for me to use daily on my desktop 2018-01-13 21:23:49 i've since settled on KVM 2018-01-13 21:28:22 I want to install Alpine on my desktop using sys install. But I only have a USB drive available. But in the Installation instructions it says, that installing from USB results in a diskless mode system. How can I get a sys install? 2018-01-13 21:28:44 thats.... not true? 2018-01-13 21:28:59 you can do a diskless install ON to a USB 2018-01-13 21:29:05 you can do sys install on usb 2018-01-13 21:29:22 if your installer is on a USB, you can install it however you like 2018-01-13 21:29:38 I installed alpine on a laptop via usb, got the vanilla image dd'd it on a usb stick and it worked perfectly 2018-01-13 21:29:41 or you can do what ncopa said and do a sys install directly to the usb 2018-01-13 21:30:06 basically, run setup-alpine, select "none" when asked for disk 2018-01-13 21:30:23 when setup is done you stop the "modloop" service and umount hte usb 2018-01-13 21:30:32 then you re-run the setup-disk 2018-01-13 21:30:50 and you should be able to do sys install on your usb 2018-01-13 21:30:56 or 2018-01-13 21:31:11 you mkfs.ext4 the /dev/sd 2018-01-13 21:31:18 and you mount it 2018-01-13 21:31:32 for example on /media/usb 2018-01-13 21:31:37 then you run setup-disk /media/usb 2018-01-13 21:31:54 and it will "clone" the running diskless system to disk 2018-01-13 21:34:44 Oh I see. The "This process [...] results in a run-from-ram style installation." note only applies to the USB drive itself. Sorry for the misunderstanding. I also want to install Alpine from the USB on the normal hard drive. That is then done with the usual "setup-alpine" script using "sys" mode, right? 2018-01-13 21:35:53 yup 2018-01-13 21:36:48 Awesome, thanks for the quick help! 2018-01-13 21:36:58 sw: what is the url for the doc? 2018-01-13 21:37:01 sw: do you know which wiki article misled you in the first place? 2018-01-13 21:37:13 do you have any suggestion how to re-word it to make it clearer? 2018-01-13 21:38:28 looks like it is this one: https://wiki.alpinelinux.org/wiki/Create_a_Bootable_USB 2018-01-13 21:39:05 i should probably create a wiki account 2018-01-13 21:39:09 so i can help on docs 2018-01-13 21:39:22 Right. I started with the Installation (https://wiki.alpinelinux.org/wiki/Installation), which leads to your link. And then I thought this applied to a diskless installation. 2018-01-13 21:39:33 considering I've been using alpine consistantly for like 3 years now 2018-01-13 21:39:34 mepholic: that would be awesome 2018-01-13 21:39:55 i know the registration process may be a bit ... non-optimal... 2018-01-13 21:40:15 right, I think that's mostly why I refrained in the past 2018-01-13 21:40:21 hmm, I'll handle it right now 2018-01-13 21:40:58 ok, could you try create an account, and while doing so, write some notes about how the experience is 2018-01-13 21:41:11 then you write suggestions for how to fix it or improve it 2018-01-13 21:41:29 and send it to alpine-infra@lists.alpinelinux.org 2018-01-13 21:41:59 or maybe paste your notes in an issue on bugs.alpinelinux.org 2018-01-13 21:42:02 i have a bugs. account 2018-01-13 21:42:19 what would be cool is SSO for alpine services 2018-01-13 21:42:24 like wiki/bugs/etc 2018-01-13 21:42:53 paste your experience there, together with suggestions to improvements 2018-01-13 21:42:56 yeah, i think we have a very very old ticket for that 2018-01-13 21:42:58 i know that you guys have limited time, if it's something you're interested in, I have some time 2018-01-13 21:43:17 #335 2018-01-13 21:43:25 https://bugs.alpinelinux.org/issues/335 2018-01-13 21:43:30 i've worked with puiterwijk at fedora 2018-01-13 21:43:53 he's the author of ipsilon, the project that the fedoraproject uses for their sso 2018-01-13 21:44:14 aha 2018-01-13 21:44:48 we'd just need an ldap server, which we could maybe use freeipa for, but that'll probably need to be on a fedora box. 2018-01-13 21:45:00 there's a lot of weird shit that alpine doesn't play nicely with like sssd 2018-01-13 21:45:08 involved in that stack 2018-01-13 21:45:32 would be nice to fix those issues 2018-01-13 21:45:33 (however simple ldap bind auth still works) 2018-01-13 21:45:40 or figure out something that works 2018-01-13 21:45:42 yeah it would 2018-01-13 21:48:45 ncopa: the wiki registration process isn't that bad 2018-01-13 21:48:53 just register and click a link that was emailed to you 2018-01-13 21:49:19 oh, good :) 2018-01-13 21:49:20 i dont register that often nowdays :) 2018-01-13 21:49:46 The more annoying bit is the inability to edit pages with URLs on them 2018-01-13 21:49:52 I think that goes away after a while 2018-01-13 21:49:56 mepholiccool, thanks for the insight :) 2018-01-13 21:50:06 iirc it was 6 hours 2018-01-13 21:50:09 mepholic, cool, thanks for the insight :)* 2018-01-13 21:50:13 before you can post links 2018-01-13 21:50:29 Chenpan: that being said though, I really didn't try to optimize dom0 2018-01-13 21:50:35 you might have more luck 2018-01-13 21:50:44 as soon as I saw how slow it was, I stopped trying 2018-01-13 21:51:08 mepholic, right now I wouldn't even know how to oprtimise, its just a learning experince for something stable and permanent in future 2018-01-13 21:51:23 i know people have complained about posting links after new registration. it is possible it has been fixed too 2018-01-13 21:51:56 Chenpan: as I said, I'm using KVM on my (alpine based) desktop right now, it seems to work great 2018-01-13 21:52:12 however if I were you, I'd try to stay away from virt-manager 2018-01-13 21:52:23 why so? 2018-01-13 21:52:38 it's a giant stack of bloat 2018-01-13 21:53:13 I currently use a simple wrapper around qemu-kvm that scv wrote 2018-01-13 21:53:18 lol, okay. I'll keep that in mind, I'll use cmdline mostly 2018-01-13 21:54:00 is it necessary to use a wrapper? is cmdline that complicated? Asking becasue I have no clue. 2018-01-13 21:54:03 https://paste.ee/p/VAwr1#RAWICzD6k0VQydHwkWAMczFoNMbvr3hn 2018-01-13 21:54:19 that's what the configs from scv's wrapper looks like 2018-01-13 21:54:21 and 2018-01-13 21:54:43 i actually use virt-manager on my work desktop 2018-01-13 21:54:44 works pretty well 2018-01-13 21:54:44 it is bloaty though 2018-01-13 21:54:52 i think jirutka wrote some openrc scripts for qemu, so you can start VMs at boot 2018-01-13 21:55:01 so Chenpan, qemu-kvm command lines look like this 2018-01-13 21:55:05 > /usr/bin/qemu-kvm -enable-kvm -cpu host -chardev socket,id=qmp,path=/etc/vmm/support/101.qmp,server,nowait -mon chardev=qmp,mode=control -vnc unix:/etc/vmm/support/101.vnc -pidfile /etc/vmm/support/101.pid -daemonize -smp sockets=2,cores=2 -nodefaults -boot menu=on -vga qxl -k en-us -m 4096 -device piix3-usb-uhci,id=uhci,bus=pci.0,addr=0x1.0x2 -device usb-tablet,id=tablet,bus=uhci.0,port=1 -device 2018-01-13 21:55:06 virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3 -device ide-cd,drive=drive-cd0,id=cd0,bootindex=150 -drive file=/vmm/iso/ubuntu-16.04.3-desktop-amd64.iso,if=none,id=drive-cd0,aio=native,cache=none -device virtio-blk-pci,drive=drive-disk0,id=disk0,bootindex=100 -drive file=/vmm/101-disk0.img,if=none,id=drive-disk0,aio=native,cache=none -netdev type=tap,id=net0,ifname=tap101i0,vhost=on -device 2018-01-13 21:55:08 virtio-net-pci,mac=00:00:36:1f:e8:ad,netdev=net0,id=net0 -spice port=5901,addr=127.0.0.1,disable-ticketing -device virtio-serial-pci -device virtserialport,chardev=spicechannel0,name=com.redhat.spice.0 -chardev spicevmc,id=spicechannel0,name=vdagent -device usb-host,hostport=1.6,hostbus=2 2018-01-13 21:55:09 mepholic, thank you so much for the wrapper 2018-01-13 21:55:10 sorry :P 2018-01-13 21:55:22 but yeah 2018-01-13 21:55:24 :) 2018-01-13 21:55:28 that shit is why I use a wrapper 2018-01-13 21:56:00 it's not _hard_ to construct a qemu-kvm command, just tedious as hell 2018-01-13 21:56:03 lol, wow. Okay, Thank you so much for the wrapper. You saved a lot of time for me. :) 2018-01-13 21:56:07 well 2018-01-13 21:56:27 https://git.brinstar.org/scv/vmm 2018-01-13 21:56:33 having the code would be helpful :P 2018-01-13 21:57:06 mepholic, is it the bsd vmm poprted to linux? 2018-01-13 21:57:13 disclaimer: this is sort of old 2018-01-13 21:57:20 and it'll throw some warnings 2018-01-13 21:57:32 that are sometimes safe to ignore :P 2018-01-13 21:57:42 this wrapper is due for a rewrite 2018-01-13 21:57:43 cool. I'll deal with it when i use it ;) 2018-01-13 21:58:13 Chenpan: I'm unfamiliar with the bsd vmm 2018-01-13 21:58:27 cool, no worries :) 2018-01-13 21:58:39 also, another question. If type 1 hypervisors are bare-metal, why do they need a support OS? 2018-01-13 21:58:48 mepholic, ^^ 2018-01-13 21:59:06 mostly because writing one from the ground up would be an ardouous process 2018-01-13 21:59:42 and management of the hypervisor would be quirky without... i guess a host OS that sysadmins are used to 2018-01-13 21:59:58 arduous* 2018-01-13 22:00:18 mepholic, fair point :) 2018-01-13 22:00:18 that's mostly just a guess 2018-01-13 22:00:26 it makes sense though 2018-01-13 22:00:55 Chenpan: linux/bsd kernels already contain a lot of constructs that are useful to a hypervisor 2018-01-13 22:01:14 so why would you re-write something when you coulda reused code? :P 2018-01-13 22:01:39 Yup, thought that when you gave your earlier reasons 2018-01-13 22:01:41 :) 2018-01-13 22:03:54 Chenpan: Are you talking about FreeBSD's bhyve or OpenBSD's vmm? 2018-01-13 22:04:21 In either case, it doesn't make much sense to port them to Linux since they rely heavily on kernel components 2018-01-13 22:04:32 pardis OpenBSD's vmm 2018-01-13 22:04:46 pardis, ah okay, cool. :) 2018-01-13 22:04:52 I was just curious 2018-01-13 22:04:59 Though a port of OpenBSD's vmm userland bits to Linux's KVM might be nice 2018-01-13 22:05:03 It's a really simple interface 2018-01-13 22:05:25 I haven't tried it, but read about it and heard from people 2018-01-13 22:05:39 I should, once i start running my VMs :) 2018-01-13 22:05:55 Anyway thanks a lot for your answers, I kinda have a clear view, and I am curious to read more. I'll see you around. Over and out now 2018-01-13 22:06:17 mepholic pardis ncopa ^^ 2018-01-13 22:06:57 no problem :) 2018-01-13 22:11:36 np 2018-01-13 22:14:13 jimmy johns incoming 2018-01-13 22:14:35 wxPython is a pain in the ass 2018-01-13 22:14:47 wxWidgets in general* 2018-01-13 22:19:25 re. wiki, at bottom off https://wiki.alpinelinux.org/wiki/Contribute a link to "contribute to grsec" seems a bit irrelevant nowadays 2018-01-13 22:21:34 jailbox: I removed it 2018-01-13 22:21:36 ncopa: ^ 2018-01-13 22:21:44 :) 2018-01-13 22:22:08 https://flux.hxx.in/meph/screenshots/Screenshot-20180113-142155.519394379.png 2018-01-13 22:22:10 it was a good run 2018-01-14 02:06:34 Hi! Is there any documentation for installing Alpine linux to a btrfs volume? 2018-01-14 02:09:11 yes 2018-01-14 02:09:29 somewhere... and I got it working 2018-01-14 02:09:52 specing: I'm looking at https://wiki.alpinelinux.org/wiki/Installing_Alpine_on_HDD_dualbooting right now and it looks like I could make it work 2018-01-14 02:15:18 Hi! So I've installed openrc and I'm using Alpine 3.7, and my init process is /sbin/init, I haven't made any changes related to init files, but when it runs I get an error in the hwdrivers service "Service `hwdrivers' needs non existent service `dev'". Does anyone know why that service doesn't exist by default? 2018-01-14 02:25:24 hmm, how can I configure networking on an alpine live CD? 2018-01-14 02:25:52 ohnx: setup-hostname 2018-01-14 02:25:56 and setup-interfaces 2018-01-14 02:36:14 Hi, asked this a bit ago, but I'm getting garbled output when I modprobe neofb on a thinkpad 600E I'm running Alpine on 2018-01-14 02:36:54 Is this driver currently in a functional state for alpine? Do I need anything additional in extlinux.conf? 2018-01-14 02:38:49 Right now I'm limited to a tiny fraction of my screen. Would rather not run X on this machine, since I'm sure PII isn't too suited for modern graphical anything 2018-01-14 02:41:30 I know this guy had to configure grub when installing debian on one ages ago, but since alpine uses extlinux and I can't find any mention of anything similar in their docs, I'm not sure if this is something I need to do: https://gambaru.de/blog/2011/09/09/debian-squeeze-installation-auf-dem-thinkpad-600/ 2018-01-14 03:55:55 hmm, I'm having a strange error with btrfs 2018-01-14 03:56:08 I mount -t btrfs /dev/sda3 /mnt/root 2018-01-14 03:56:40 but when I cd to /mnt/root and try to run btrfs subvolume create _snapshots I am told that it is not a btrfs filesystem 2018-01-14 03:57:30 anyone have an idea what might be causing this issue? 2018-01-14 04:17:25 Alright, also tried uvesafb with about every option I could think to pass 2018-01-14 04:17:36 The screen is 100% blank once it's loaded, as far as I can tell 2018-01-14 04:18:03 Anything else I can do? Is there something else I'm missing? I've been troubleshooting this for the past couple days to no avail 2018-01-14 05:01:59 Any reason to get that specific device working Cerpin ? 2018-01-14 05:02:34 I mean, my console is unusably low-res without it 2018-01-14 05:03:09 No, I mean it is a device from what 17 years ago? 2018-01-14 05:03:12 Oh, the computer itself? I just like old thinkpads 2018-01-14 05:04:36 Did you try adding vga=791 to the kernel init options? 2018-01-14 05:05:30 I can believe the garbage that stays in my brain, I need a defrag. Remember doing that on Debian 2.something? to get an XGA resolution console 2018-01-14 05:05:58 heh 2018-01-14 05:06:08 i havent twiddled that option in a long time either 2018-01-14 05:06:14 It doesn't recognize the VESA modes as far AFAICT 2018-01-14 05:06:23 err 2018-01-14 05:06:29 -"as far" 2018-01-14 05:06:42 if you enter some invalid mode it's unaware of, it should autoprobe and display a list of available options iirc 2018-01-14 05:06:53 Yep, and it gives me 0-6 or so 2018-01-14 05:08:30 Nothing near XGA, at least 2018-01-14 05:09:44 Too much effort for such an obsolete piece of hardware tbh 2018-01-14 05:10:08 Heh 2018-01-14 05:10:24 I'm sure I'll find something to use with it... 2018-01-14 05:13:03 A rpi will be more power efficient and 10x faster 2018-01-14 05:13:10 for almost any task 2018-01-14 05:13:23 Yeah, not really why I got it 2018-01-14 05:13:23 You are not thinking about using it as an actual notebook right? 2018-01-14 05:13:41 I just collect that sort of thing and wanted to have some fun with it 2018-01-14 05:13:52 psh 2018-01-14 05:13:56 Hey, I love old hardware. Still have a PS/2 2018-01-14 05:13:56 you're telling me you don't want that 266mhz glory? 2018-01-14 05:14:33 Yeah, it's more of a fun thing (and I think 600s are exceptionally pretty/well-built I guess) 2018-01-14 05:14:40 No big deal 2018-01-14 05:15:12 most thinkpads are essentially the same quality, excluding the very latest gen stuff 2018-01-14 05:16:00 I think the erosion began after T60 or so 2018-01-14 05:16:06 As of kernel 2.6.29, Kernel Mode Setting (KMS) is enabled by default for intel, ati and noveau video drivers. It used highest possible resolution during bootup. To activate framebuffer or vesa to use 1024x768 resolution you need to disable KMS. If you do not disable KMS, the only setting you can use is vga=current. 2018-01-14 05:16:18 eh 2018-01-14 05:16:25 i've had post-T60s and they were fine 2018-01-14 05:16:34 my last thinkpad was a W530 and it was still sturdy and reliable 2018-01-14 05:16:42 first gen with that awful new keyboard though 2018-01-14 05:16:53 Yeah, they're fine, but little things started to go away at that point 2018-01-14 05:17:02 The keyboard does suck indeed. I have a T430 and still like it a lot 2018-01-14 05:18:43 Cerpin it seems you'll need a custom kernel 2018-01-14 05:18:49 with kms disabled 2018-01-14 05:19:07 Ah! Passing nomodeset isn't enough, huh? 2018-01-14 05:19:28 Still rocking a model-m keyboard I got with my original PC in 1990 2018-01-14 05:20:33 m lyfe 2018-01-14 05:21:02 uvesafb conflicts with kms 2018-01-14 05:21:09 scv, m lyfe indeed 2018-01-14 05:21:45 > Hey, I love old hardware. Still have a PS/2 2018-01-14 05:21:46 +1 2018-01-14 05:23:12 Model 25 2018-01-14 05:23:48 or 30, can't remember 2018-01-14 05:23:58 haven't booted that one in well over 10 years now 2018-01-14 09:01:35 hey, where do i get the apkbuild file of a .apk package? 2018-01-14 09:03:01 or in general the source of packages :/? 2018-01-14 09:06:31 mecasou: https://github.com/alpinelinux/aports source link's are inside the apkbuild 2018-01-14 09:07:06 jailbox: thanks :) 2018-01-14 13:20:51 Hi guys, Is there a simple method to turn an Alpine installation to a static read-only system for embedded operation? Just like installation iso. 2018-01-14 13:21:54 <_ikke_> terra: what about a run-from-ram mode where changes have to be comitted before they are persisted? 2018-01-14 13:22:41 <_ikke_> Which is how alpine is mostly used in these kinds of situations 2018-01-14 13:22:58 _ikke_: yes, I'm looking that kind of thing 2018-01-14 13:24:01 I don't want write operations until I commit via lbu 2018-01-14 13:24:19 <_ikke_> that's the diskless install mode 2018-01-14 13:25:41 So, I rely on installation image? 2018-01-14 13:26:50 <_ikke_> lbu commit writes the tracked files to an apkovl file 2018-01-14 13:28:29 <_ikke_> The typical way to use it is that you create a bootable USB disk, with a diskless install 2018-01-14 13:29:12 <_ikke_> The root file system will be tmpfs, so each boot, you will start with a clean state 2018-01-14 13:29:19 <_ikke_> but the FS is still writable 2018-01-14 13:29:54 Whatever, the thing that I must do is turn customized installation on CF card to run-from-ram mode. I have limitedram beacuse I'm using a thin client. 2018-01-14 13:30:20 <_ikke_> alpine can run on very limited ram 2018-01-14 13:30:54 I know but put whole system into tmpfs will require a lot of ram 2018-01-14 13:31:22 I have 512MB ram 2018-01-14 13:31:51 read operations must be from dist but write must be on ram. 2018-01-14 13:31:56 * disk 2018-01-14 13:32:52 <_ikke_> You can do a hybrid installation 2018-01-14 13:32:54 <_ikke_> (data) 2018-01-14 13:33:13 <_ikke_> where you have the root fs run-from-ram, and then mount a disk as a partition read-only 2018-01-14 13:34:15 then mount /var/log as tmpfs ? 2018-01-14 13:35:09 <_ikke_> / would be tmpfs 2018-01-14 13:35:20 <_ikke_> but with additional partitions mounted on disk 2018-01-14 13:35:48 <_ikke_> I don't think there is a tmpfs backed by disk kind of mode 2018-01-14 13:36:23 then the question is how can I add tmpfs as a layer over / ? 2018-01-14 13:36:51 If I can do this.. there is nothing to worry 2018-01-14 13:38:01 <_ikke_> Sounds like you want something like overlayFS 2018-01-14 13:38:34 <_ikke_> But no idea how to get that to work for 2018-01-14 13:38:36 <_ikke_> / 2018-01-14 13:38:45 hmm.. 2018-01-14 13:39:57 <_ikke_> terra: perhaps this helps: https://wiki.alpinelinux.org/wiki/Raspberry_Pi#Loopback_image_with_overlayfs 2018-01-14 13:41:33 <_ikke_> Instead of writing this on the sdcard, you could try to persist it to disk 2018-01-14 13:41:47 overlayfs is a waste of time 2018-01-14 13:42:02 terra: i'd recommend you just use tinycorelinux 2018-01-14 13:42:47 their root system is either in ram and extensions are mounted and then linked into the root. 2018-01-14 13:46:58 hiro: thanks. I already have working system and some of packages re-compiled for my needs. Switch into another distro will require a lot of work to customize. 2018-01-14 13:48:09 _ikke_: Thanks. maybe I can do it via 50mb tmpfs as an overlayfs for / 2018-01-14 13:48:11 you can also just steal the approach 2018-01-14 13:49:13 i.e. make a big suqashfs package with all your stuff inside, mount it somewhere link all the contents into the tmpfs 2018-01-14 13:49:20 in case you get into problems with overlayfs 2018-01-14 13:49:59 hiro: yes that makes sense. 2018-01-14 13:50:42 the reason tinycorelinux chose that approach is because unionfs is buggy and they had some problems with overlayfs 2018-01-14 13:51:05 Openelec has very good approach for this situation. 2018-01-14 13:51:45 it uses squashfs and writeseverything on a writeable partition. 2018-01-14 13:52:15 terra: so same. 2018-01-14 13:54:38 in squashfs approach, you have to recompile the image for permanent changes like package upgrade. Openelec stores only configuration data on a writeable partition. 2018-01-14 13:55:16 Voyage linux has a great approach. 2018-01-14 13:56:07 give a command aka "mount-rw" then make changes then give command "mount-ro" to make them permanent. 2018-01-14 14:24:31 _ikke_: It appears that Alpine has a special "overlaytmpfs" kernel option that recognized by initramfs 2018-01-14 14:24:39 https://github.com/alpinelinux/mkinitfs/blob/master/initramfs-init.in 2018-01-14 15:22:14 What can I do, if starting Alpine from USB results in a black screen after OpenRC says "loading hardware drivers"? Keyboard is working as "root" + "reboot" actually reboots. 2018-01-14 15:56:34 is it possible to use apk cache from an read-only medium? 2018-01-14 17:02:00 It's possible to read from a filesystem mounted ro, but obviously one cannot write to it. 2018-01-14 17:06:02 duncan^: i try to use a ro medium on boot which is linked to /etc/apk/cache but run into a 'ERROR: Can't remount cache read/write'. i don't want to write to it 2018-01-14 17:06:37 OK. Is there a reason you need the filesystem to be mounted ro? 2018-01-14 17:07:41 yes. the medium holds an apkovl and the cache and should be shared between multiple xen-vms - hence the underlying lvm should be ro 2018-01-14 17:08:28 setting up a new system a bit manually so I can do LVM+LUKS 2018-01-14 17:08:43 all of the packages install correctly when I run `setup-disk -m sys /mnt`, except for linux-vanilla 2018-01-14 17:08:48 which gives IO ERROR 2018-01-14 17:08:53 is there any way I can get it to be more specific? 2018-01-14 17:09:04 -vv doesn't help much, it just prints all of the files it would have installed and gives the same error 2018-01-14 17:09:26 /boot was a separate partition, but mounted or not the error is consistent 2018-01-14 17:10:20 dmesg has nothing useful 2018-01-14 17:10:35 also tried bind mounting /tmp over /boot to rule out a bad disk, still fails 2018-01-14 17:11:05 duncan^: my work-around is butting the apks inside the apkovl, but i would prefere to use the cache from the ro-medium which would allow me to update it, if i allow rw in the underlying lvm once 2018-01-14 17:11:14 maybe I'll just scrounge up a kernel from somewhere and get the system booting then diagnose it from there 2018-01-14 17:11:23 I should have a non-modular kernel around somewhere... 2018-01-14 17:15:25 hmm, I don't have an initrd... 2018-01-14 17:21:37 I can't even install linux-vanilla on the iso's root... 2018-01-14 17:26:30 manually extracting the linux-vanilla tarball has tar print crc error 2018-01-14 17:26:34 I wonder if the package is busted 2018-01-14 17:33:28 am i supposed to create an own abuild key for each arch? 2018-01-14 17:33:41 (im hosting an separate repo myself for my own stuff) 2018-01-14 17:35:43 hardened installed correctly 2018-01-14 17:35:56 I guess I'll build linux-vanilla myself once I get everything up 2018-01-14 17:41:12 well, for a given value of installed correctly 2018-01-14 17:41:16 seems to be stuck creating the initrd 2018-01-14 17:45:25 SirCmpwn: are you sure you are installing into the new root? meaning running apk add linux-vanilla from inside a /mnt chroot and not accidently from the livecd? 2018-01-14 17:46:33 I did not chroot, but I specified --root 2018-01-14 17:46:42 well, generally I'm doing it via setup-disk 2018-01-14 17:46:46 but apk add --root doesn't work either 2018-01-14 18:23:00 hacked setup-alpine to install linux from edge and it worked 2018-01-14 21:53:43 Is anyone able to run LXD on Alpine 3.7? 2018-01-14 21:55:39 I get an issue with userns 2018-01-14 21:57:35 <_ikke_> hazward: yes 2018-01-14 21:57:43 <_ikke_> hazward: in a vm, that is 2018-01-14 21:58:24 <_ikke_> oh, sorry, confusing something else 2018-01-14 21:59:23 Ah ok, but I don't think running Alpine in a VM would affect this issue (I'm running it in a VM for the moment) 2018-01-14 22:10:24 hazward: the subuid/subgid stuff? 2018-01-14 22:11:18 Lochnair: Yeah if the container is set to privileged it's able to start but if not I get the following error: https://pastebin.com/yq28Ki1J 2018-01-14 22:13:26 if you've set /etc/subuid and /etc/subgid correctly, then idk 2018-01-14 22:22:01 When keep getting the issue with tty's not being found and there's not /etc/inittab file so I can't remove the messages 2018-01-14 22:24:16 Nevermind I was able to suppress the messages 2018-01-15 02:17:51 bud no. 7275 seems resolved but it still has the "new" status. What's up with that? 2018-01-15 02:17:58 bug* 2018-01-15 02:25:41 How do I help clean up the que? 2018-01-15 02:25:44 #7275 2018-01-15 02:26:07 hipster: the dude replied to it, leaving it open 2018-01-15 02:26:13 yeah that one 2018-01-15 02:26:24 that's the reason it's marked as 'new' 2018-01-15 02:26:36 I'd work through some of the queue if I had access, lol 2018-01-15 02:26:39 the issue is patched right? 2018-01-15 02:26:44 indeed 2018-01-15 02:27:21 as long as it's patched... I guess 2018-01-15 02:29:26 hi, how do I list all logged in users on Alpine? I tried looking it up but none of the normal methods/commands work... 2018-01-15 02:29:38 'who' should work? 2018-01-15 02:29:47 it just returns blank 2018-01-15 02:30:02 doesn't even listed my user 2018-01-15 02:30:07 strange 2018-01-15 02:30:10 who just exits immediately lol 2018-01-15 02:30:18 ? 2018-01-15 02:30:19 there's no wtmp, so not super surprising 2018-01-15 02:30:25 oh, that explains it 2018-01-15 02:30:31 does 'w' also just die? 2018-01-15 02:30:40 w throws an error or just returns 0 users 2018-01-15 02:30:45 w command not found 2018-01-15 02:30:51 you'd have to install procps first Nobabs27 2018-01-15 02:30:59 ah ok 2018-01-15 02:31:00 but it doesn't work as expected 2018-01-15 02:31:01 either way 2018-01-15 02:31:15 that's dumb 2018-01-15 02:31:18 is there an issue for it? 2018-01-15 02:31:20 no 2018-01-15 02:31:25 it shows 0 users tho now 2018-01-15 02:31:25 it should be fixed 2018-01-15 02:31:26 because it's "intentional" 2018-01-15 02:31:43 and i slightly agree with the reasoning, although it is lame 2018-01-15 02:31:57 the wtmp interface is completely unsecured and a big legacy mess 2018-01-15 02:32:03 so is there a way to list logged in users or no? 2018-01-15 02:32:15 that is true, scv 2018-01-15 02:32:28 might as well remove stuff dependending on it for that sake 2018-01-15 02:32:36 Nobabs27, is it a headless server accessed only via ssh? 2018-01-15 02:32:53 danieli: yes 2018-01-15 02:33:01 ps -Ao user | sort -u 2018-01-15 02:33:03 ;) 2018-01-15 02:33:54 thank you! a bit odd of a command ill have to remember but cool. 2018-01-15 02:34:26 -A is just 'all processes', -o chooses what fields to display 2018-01-15 02:34:36 ps aux | grep sshd | grep priv 2018-01-15 02:34:39 ^^ 2018-01-15 02:34:46 if you use openssh, at least 2018-01-15 02:34:50 obviously 2018-01-15 02:34:52 lolol 2018-01-15 02:35:09 anyway 2018-01-15 02:35:11 I think im using dropbear 2018-01-15 02:35:25 there's a few patchsets floating around for wtmp/utmp support 2018-01-15 02:35:30 maybe something to look at 2018-01-15 02:35:43 yeah, I'll create an issue (todo) to look into it 2018-01-15 02:36:13 the most suitable one i recall requires a daemon though, so i don't think it should be a default 2018-01-15 02:36:24 agreed, that would be too heavy 2018-01-15 02:36:40 don't know if an infinite flow of patchsets is a good idea either though 2018-01-15 02:36:42 would have to look into it 2018-01-15 02:36:47 for... science. 2018-01-15 02:36:50 well, it'd just be a new package 2018-01-15 02:37:26 I'm thinking more about the effort for potential maintainers 2018-01-15 02:37:26 its just some header files + a daemon to arb the wtmp/utmp updates 2018-01-15 02:37:31 gotcha 2018-01-15 02:37:53 doesn't sound awfully bad. I think it's silly to package 'w'/'who' without wtmp and utmp though 2018-01-15 02:38:34 well 2018-01-15 02:38:36 that's 2018-01-15 02:38:42 that's more of a side effect than anything 2018-01-15 02:38:53 w/who are in procps, which provides a bunch of other stuff 2018-01-15 02:39:06 including sysctl oddly enough 2018-01-15 02:39:09 lol 2018-01-15 02:39:34 not sure how necessary that is, if at all 2018-01-15 02:39:41 as opposed to the busybox sysctl 2018-01-15 02:41:31 but it's also the p* tools (e.g. pkill pgrep etc), w/uptime, pidof, top (/bin/top), free, watch, vmstat and of course, ps 2018-01-15 02:41:35 seems like a bit of a grab-bag tbh 2018-01-15 02:41:48 indeed it does 2018-01-15 03:00:43 Iv'e gone through setting up awesomewm on alpine. I would like to set up fluxbox instead but, I don't seem to have the dependancies right? Has anyone experience with this? 2018-01-15 03:01:45 what's the best practice for specifying pkgver for an upstream that doesn't provide version numbers (but for which git commit hashes are available) 2018-01-15 03:13:06 I did it! I don't know how it worked this time but I did it! YAAAAAY! 2018-01-15 03:14:33 Nothing works but I did it lol 2018-01-15 03:26:05 I made lxterminal work... so I guess I'm golden from here! Thanks all! If anyone's interested I'm willing to do it a few more times and make a writeup for the wiki! 2018-01-15 03:57:01 SirCmpwn: dates 2018-01-15 03:57:07 dates? 2018-01-15 03:57:11 yes 2018-01-15 03:57:14 oh, for git packages 2018-01-15 03:57:19 set pkgver to the release date of the git hash 2018-01-15 03:57:25 I think that's silly so I used the last 6 characters of the hash instead 2018-01-15 03:57:29 will await your NACK 2018-01-15 03:57:41 nack because it breaks apk 2018-01-15 03:57:48 Works For Me 2018-01-15 03:57:53 now apk can't determine anymore whether it should upgrade between packages 2018-01-15 03:58:06 okay fair enough 2018-01-15 03:58:08 if your old version is 1ae234 and your new one is 0adf72 2018-01-15 03:58:15 it will think 1ae234 is newer 2018-01-15 03:58:34 should do it the arch way, I think they do something like [number of commits on branch].[git shorthash] 2018-01-15 03:59:16 git history is nonlinear so number of commits won't tell you much 2018-01-15 03:59:18 is it year.month.day 2018-01-15 03:59:27 no just yyyymmdd 2018-01-15 03:59:31 alright 2018-01-15 04:04:18 huh 2018-01-15 04:04:20 pacman is in main 2018-01-15 04:25:32 https://flux.hxx.in/meph/screenshots/Screenshot-20180114-202412.614050423.png 2018-01-15 04:25:40 got this workin in alpine 2018-01-15 04:25:42 kicad 2018-01-15 04:25:59 make a package 2018-01-15 04:26:21 i have one 2018-01-15 04:26:24 it's 500MB 2018-01-15 04:26:28 :) 2018-01-15 04:26:28 publish APKBUILD 2018-01-15 04:26:47 this things still segfaulting on certain things 2018-01-15 04:26:58 is that what you posted 6 snaps about 2018-01-15 04:27:00 yet still didn't link 2018-01-15 04:27:15 jfc 2018-01-15 04:27:26 here I'll give you guys a slightly broken build if you want 2018-01-15 04:40:22 *crickets* 2018-01-15 04:43:58 i'm waiting for scv to reset my password 2018-01-15 04:44:00 but 2018-01-15 04:44:02 in the meantime 2018-01-15 04:45:54 asking me to do the hard stuff 2018-01-15 04:46:02 Password reset by root is not supported. 2018-01-15 04:46:03 well fuck me 2018-01-15 04:48:18 lmao 2018-01-15 04:48:28 https://paste.ee/p/8NKXH#JFa912LXyuXq1hUMelNByPtME6G6nP9l 2018-01-15 04:50:22 https://flux.hxx.in/meph/Fix-FTBFS-with-Boost-1.61.patch 2018-01-15 08:15:02 Hi. I would like to use 'auditd' on Alpine Linux 3.7 (4.9.65-1-virthardened) and get the following error message when executing 'auditctl -l': Error - audit support not in kernel \n Cannot open netlink audit socket 2018-01-15 08:17:35 I installed 'audit' package and tried to start 'auditd' service. Is there anything I am missing or is the kernel module in general not available? 2018-01-15 08:18:20 (wiki is empty, google is silent) 2018-01-15 08:27:14 <_ikke_> Guest81699: https://stackoverflow.com/questions/28698508/how-to-enable-audit-framework-in-arch-linux-3-12-kernel 2018-01-15 08:27:24 <_ikke_> Apparently it needs to be compiled in 2018-01-15 08:28:36 <_ikke_> Guest81699: https://git.alpinelinux.org/cgit/aports/tree/main/linux-hardened/config-hardened.x86_64#n79 2018-01-15 08:29:10 <_ikke_> So it's not configured in Alpine 2018-01-15 08:29:43 @_ikke_: many thanks! that's helpful. should i open a feature request or actually bug report, as the mirrors are providing the "audit" userland utils? 2018-01-15 08:31:36 <_ikke_> sure 2018-01-15 08:33:24 @_ikke_: will do so - thank you. have a nice day. 2018-01-15 08:46:32 When starting Alpine from USB I see the OpenRC init sequence until "loading hardware drivers". Then my screen gets black. The keyboard is working as (blindly) rebooting or powering off is working. Any ideas what I can do? I already tried version 3.6 but with the exact same result. 2018-01-15 08:48:46 <_ikke_> I'm not too familiar with it, but it looks like something with the display drivers (framebuffer?) 2018-01-15 08:49:02 have you tried booting with nomodeset parameter? 2018-01-15 08:50:39 No, how can I change the boot parameters? 2018-01-15 08:50:53 <_ikke_> syslinux? 2018-01-15 08:50:58 yes 2018-01-15 08:51:21 oh, sw, i had the symptoms, too 2018-01-15 08:51:35 i think blindly typing "modprobe fbcon" or so bought the screen back 2018-01-15 08:55:51 liwakura: Thanks, but it doesn't work here. Still black :( 2018-01-15 08:56:34 good luck then! 2018-01-15 09:13:06 To change the boot parameters, do I need to enter the full boot command during startup (i.e. directly after "boot:")? 2018-01-15 09:20:19 arch wiki says you can append to it, but I've never done that 2018-01-15 09:34:36 When using I get the option "hardened". And if I append "nomodeset (i.e. "hardened nomodeset") it boots, but again without screen ... 2018-01-15 09:35:02 :/ 2018-01-15 11:20:16 hei 2018-01-15 11:20:38 I was re-directed open this piece 2018-01-15 11:21:06 my question is if an analogous program to skype exists for musl 2018-01-15 11:21:14 audio/video chatting. 2018-01-15 11:21:41 matrix maybe? though i dont see what musl has to with it :3 2018-01-15 11:21:53 or some glibc wrappers to make skype work attop musl. 2018-01-15 11:22:20 nepugia: what do you mean? 2018-01-15 11:23:25 zukunf: i use mumble personally 2018-01-15 11:23:29 but it works differently from skype 2018-01-15 11:23:46 it's ok if it's some voip app. 2018-01-15 11:23:53 then its fine 2018-01-15 11:24:04 big plus for mumble is that its not some propietary crap 2018-01-15 11:24:11 https://nextcloud.com/talk/ 2018-01-15 11:25:12 does qemu work on musle? 2018-01-15 11:26:10 yes 2018-01-15 11:26:46 also, musl means its not GNU/Linux, so if someone interjects you, you can correct them 2018-01-15 11:27:00 liwakura: excellent! it's got an o$$x client too 2018-01-15 11:27:57 liwakura: mm.. that would be the political aspect, right? 2018-01-15 11:28:15 sort of 2018-01-15 11:28:49 i choose musl because glibc 2.26 update broke alot of shit again 2018-01-15 11:28:50 >also, musl means its not GNU/Linux, so if someone interjects you, you can correct them 2018-01-15 11:28:50 heh, nice 2018-01-15 11:29:16 though modern linux is systemd/linux anyway :) 2018-01-15 11:29:21 ye, alpine has musl and busybox (both not gnu projects) instead of glibc and coreutils 2018-01-15 11:29:22 liwakura: and what is it? 2018-01-15 11:29:56 zukunf: jst Linux, with alot of additional software 2018-01-15 11:30:13 do an `uname -o` on alpine and debian and compare 2018-01-15 11:31:15 i have neither at hand, care to tell me what they say? 2018-01-15 11:32:24 (i suspect they say Linux) 2018-01-15 11:32:30 sooo... Linus/Stallman/Potertard don't have no say in musl realm? 2018-01-15 11:32:34 something like that? 2018-01-15 11:33:07 and NSA/RedHat, GK. Hartman, etc... 2018-01-15 11:34:32 nepugia: on alpine its just "Linux", on debian its "GNU/Linux" 2018-01-15 11:34:43 Ah, i see 2018-01-15 11:34:52 zukunf: yeah, systemd maintainers explicitly said they dont intend to support musl 2018-01-15 11:35:02 so systemd is just incompatible with alpine 2018-01-15 11:35:06 i am not a fan of trying to name my os after stuff that happends to be installed on it 2018-01-15 11:35:25 nepugia: its about marketing 2018-01-15 11:35:35 fuckin retartards 2018-01-15 11:35:47 imagine "Linux plus crap we found on github" 2018-01-15 11:37:19 liwakura: did they provide some arguments why systemd will not run on musl? 2018-01-15 11:37:28 Is there any chance to see an up to date firefox for x86 in the repository (3.6/3.7/edge branch) ? 2018-01-15 11:37:44 to be honest, i'd prefer systemd to stay as far as possible. 2018-01-15 11:38:17 zukunf: https://lists.freedesktop.org/archives/systemd-devel/2014-October/023869.html 2018-01-15 11:39:15 <_ikke_> attos: what do you consider up-to-date? 2018-01-15 11:39:34 and aside from that, i586 support is why alpine has gotten my liking 2018-01-15 11:39:50 since i have a lot of old devices that would be trash otherwise 2018-01-15 11:39:50 'In general I think it's a very weird approach to have a non-useful 2018-01-15 11:39:50 libc and then claim things would be less bloated because every user of 2018-01-15 11:39:50 from scracth, so that we have a multitude of different, crappy 2018-01-15 11:39:50 a variety of useful GNU APIs is supposed to reimplement everything 2018-01-15 11:39:53 implementations in a variety of projects, instead of a single one in 2018-01-15 11:39:55 the libc.' 2018-01-15 11:40:19 emphasis in 'crappy implementation' 2018-01-15 11:40:48 basically "one community, one project, one maintainer" 2018-01-15 11:41:38 @_ikke_: at least a build of a 2018-01-15 11:41:51 <_ikke_> firefox itself is in testing 2018-01-15 11:41:56 lawlawla!! wtf --> 'It shows that your libc was 2018-01-15 11:41:57 created for religious reasons, not for practical ones.' 2018-01-15 11:42:25 wow, nothing more sectarious than systemd. 2018-01-15 11:42:37 liwakura: wow, wow, that guy something wrong in his head. 2018-01-15 11:42:43 @_ikke_: at least a build of a firefox-esr 2018-01-15 11:43:09 @_ikke_: but not for x86 2018-01-15 11:43:23 <_ikke_> esr 52.5.2 is there. 2018-01-15 11:43:30 attos: i disagree. i installed firefox-esr on x86 yesterday 2018-01-15 11:43:46 <_ikke_> https://pkgs.alpinelinux.org/packages?name=firefox*&branch=edge&repo=&arch=x86&maintainer= 2018-01-15 11:44:12 --> Lennart Poettering, Red Hat 2018-01-15 11:45:04 zukunf: yeah, the great maintainer himself 2018-01-15 11:45:06 liwakura: looks like musl shortcircuited rettartards brain in that post. 2018-01-15 11:45:19 he is not the sort of person i'd trust with my system 2018-01-15 11:45:19 heh, you didnt create an interface that i would like to have? you must be a religious fanatic :D 2018-01-15 11:45:31 on the other side 2018-01-15 11:45:52 poettering & co is annoying people away, so Projects like Alpine might profit from the influx 2018-01-15 11:46:15 liwakura: you're right, sorry. I just searched for "firefox" and not for "firefox*". Sorry again. 2018-01-15 11:46:17 Heh, the real profitiers are the BSD's 2018-01-15 11:46:43 There is also NixOS, which is also profiting, just because its an system that is designed around handling systemd regressions ;P 2018-01-15 11:46:56 nepugia: ye 2018-01-15 11:48:29 @_ikke_: thanks for the link. 2018-01-15 11:49:51 <_ikke_> attos: yw 2018-01-15 11:54:37 so is firefox guaranteed support on musl? 2018-01-15 11:56:12 <_ikke_> zukunf: guaranteed by whom/what/ 2018-01-15 11:56:40 _ikke_: in general 2018-01-15 11:56:56 like, alpine seems like an volunteer project, so i dont think anything can be taken for granted 2018-01-15 11:57:57 <_ikke_> Many projects don't have specific musl support, but can be made to work with some changes 2018-01-15 11:58:53 I see, and what's firefox general stance on musl? 2018-01-15 12:05:07 if it is in main, then at least it has to be maintained for at least 6 months iirc 2018-01-15 12:05:57 firefox is not in main though 2018-01-15 12:25:55 hello 2018-01-15 12:26:09 can't find php5-memcache for alpine 3.7 :( 2018-01-15 12:27:21 https://pkgs.alpinelinux.org/packages?name=php5-memcache&branch=&repo=&arch=&maintainer= 2018-01-15 12:27:27 so, doesn 2018-01-15 12:27:33 *doesnt seem to be there 2018-01-15 12:28:07 but why? 2018-01-15 12:28:08 :( 2018-01-15 12:29:01 no idea. maybe outdated enough that nobody wanted to maintain it? 2018-01-15 12:31:19 how to build it? 2018-01-15 12:32:06 pax_rhos: make? 2018-01-15 12:32:18 zukunf: yeah, how? 2018-01-15 12:33:02 cd php-memcache/ and then make? 2018-01-15 12:37:38 <_ikke_> abuild -r 2018-01-15 12:38:06 pax_rhos: there is php7-memcached, though. mind that last memcache release was ~5 years ago. https://git.alpinelinux.org/cgit/aports/commit/?id=4272e802a1be https://git.alpinelinux.org/cgit/aports/commit/?id=cc10554c7c55 2018-01-15 12:41:51 yeah, I think centos/debian then 2018-01-15 12:45:51 ooooor, alpine 3.5! 2018-01-15 12:50:45 how often does alpine drop older packages from the repo? should I worry that php56 and alpine 3.5 will get dropped anytime soon? 2018-01-15 12:51:43 https://wiki.alpinelinux.org/wiki/Alpine_Linux:Releases 2018-01-15 13:04:33 Does anyone else have problems with the py2-virtualenv package? 2018-01-15 13:05:28 tried updating it and it failed 2018-01-15 13:05:49 https://pastebin.com/9RLwMbq5 2018-01-15 13:05:57 this keeps happeneing 2018-01-15 13:06:14 tried fix, del + --purge 2018-01-15 13:06:17 but nothing works 2018-01-15 13:07:25 any ideas to fix it? 2018-01-15 14:17:45 what's the mountain peak in alpine homepage? 2018-01-15 14:27:27 Installed firefox-esr-52.5.3-r0 (alpinelinux v3.7), but have problems with icons and menues (see screenshot http://homepage.o2mail.de/mypastebin/firefox.png). What's going wrong ? 2018-01-15 14:33:37 attos, run firefox from console and you'll get a clue as what package you are missing (most likely a font one) 2018-01-15 14:34:11 attos: if you find an solution, please tell 2018-01-15 14:34:31 having the same issue, but haven't invested much time into it 2018-01-15 14:36:20 rnalrd: there are no errors/info staring firefox from console. 2018-01-15 14:39:18 attos, did you try to change theme/aspect/font? 2018-01-15 14:40:33 rnalrd: aspect: yes 2018-01-15 14:41:12 My theme is "Custum" on Mate. 2018-01-15 14:41:26 I try to change it .... 2018-01-15 14:44:48 i have it running here under xfce with no issues 2018-01-15 14:51:48 rnalrd: Hmm - still no success after changing font and theme. 2018-01-15 15:06:07 dmesg shows errors for firefox: grsec: Segmentation fault occured at (nil) in /usr/lib/firefox-52.5.3/plugin-container ... 2018-01-15 15:06:37 May I should try a vanilla kernel ? 2018-01-15 15:07:43 But firefox works. I can browse the web, only the buggy UI 2018-01-15 15:14:52 firefox works ok with grsec no issues. there's something else wrong with your setup 2018-01-15 15:15:24 probably as rnalrd wrote you're missing a font 2018-01-15 15:17:02 Just installed a vanilla kernel (4.14.13-2-vanilla) and dmesg is now clean but same issues with menues and icons. 2018-01-15 15:20:09 I've just installed libreoffice only to see if there are such problems with icons and menues too but in libreoffice it's all perfect. 2018-01-15 15:24:27 My installed themes are: gnome-icon-theme mate-icon-theme mate-themes mate-icon-theme-faenza mate-themes-lang 2018-01-15 15:27:07 My installed fonts are: terminus-font font-alias font-misc-misc font-cursor-misc ttf-freefont ttf-ubuntu-font-family ttf-dejavu ttf-inconsolata ttf-droid ttf-droid-nonlatin ttf-liberation ttf-linux-libertine ttf-opensans 2018-01-15 15:31:32 hello 2018-01-15 15:32:54 i'm looking for some assistance installing alpine linux on an arm single board computer, specifically http://www.compulab.co.il/utilite-computer/web/utilite-overview 2018-01-15 15:33:13 the bootstrap process is so weird on these things 2018-01-15 15:33:54 this firefox issue might be larger than just firefox, it feels like a gtk issue but I, too, haven't invested enough time in solving it 2018-01-15 15:40:08 I've just installed all availabe fonts: apk search -q font- | grep -v '\-dev' | grep -v '\-doc' | grep -v 'font-ipa\|font-noto-emoji\|font-overpass\|font-tewi\|ttf-font-awesome' | sort | xargs apk add 2018-01-15 15:40:37 But no success with firefox and its failing icons and menues. 2018-01-15 15:43:45 It's too bad that firefox doesn't work properly. Maybe TBB is right with his assumption of a GTK issue and firefox. 2018-01-15 15:44:29 Midori as webbroser works fine. 2018-01-15 15:46:01 But I can't dispense on some firefox extensions. 2018-01-15 15:47:35 may be there's some bug specific related to MATE 2018-01-15 15:47:53 under xfce i never had such issue, even with past AL releases 2018-01-15 16:08:27 Just installed xfce and tryed to start firefox. Under xfce there didn't even appear the firefox window. 2018-01-15 16:08:59 But there are no errors on console. 2018-01-15 16:09:12 Just no window. 2018-01-15 16:12:13 The whole system works really very nice. There are just the problems with firefox. 2018-01-15 16:18:18 Maybe it just don't work with x86 (32Bit) systems. 2018-01-15 16:57:48 \exit 2018-01-15 17:10:25 Hello Guys! 2018-01-15 17:11:10 I have a quick question... is there any way to add multilib support 2018-01-15 17:11:17 to alpine x64? 2018-01-15 17:19:14 I'm using a separate 32-bit root, not sure if there's a better way 2018-01-15 17:33:11 hi flan, can you explain more 2018-01-15 17:33:12 ? 2018-01-15 17:46:54 I have a separate 32-bit alpine installation in /x86 and /etc/ld-musl-i386.path that contains paths to /x86/lib and /x86/usr/lib 2018-01-15 17:47:13 what exactly do you want to know? 2018-01-15 17:47:15 flan: what are the contents of that path? 2018-01-15 17:47:19 er the file 2018-01-15 17:47:46 https://0x0.st/sNwl.path 2018-01-15 17:53:38 flan: interesting! how do you manage it? 2018-01-15 17:53:40 with apk? 2018-01-15 17:55:57 when I need to install something or upgrade I just chroot /x86 and use apk manually 2018-01-15 17:56:09 might not be the best approach, but it works for me 2018-01-15 17:56:39 i see 2018-01-15 17:59:50 oh yeah you need to ln -s /x86/lib/ld-musl-i386.so to /lib/ld-musl-i386.so.1 too 2018-01-15 18:00:55 https://github.com/sabotage-linux/sabotage/wiki/wine more or less 2018-01-15 18:03:08 hah, i wrote the initramfs for that distro 2018-01-15 18:38:33 flan, that's very useful. thank you :) 2018-01-15 18:39:55 could anyone point me to the most instructive document(s) for installing on armv7 or aarch64? 2018-01-15 18:39:58 please 2018-01-15 18:40:24 I have to execute some 32bit binaries (coming from my customers), from the 64bit OS and binaries 2018-01-15 18:41:44 tmcm, you probably just have do dd the image 2018-01-15 18:42:48 on the removable drive (if your system has one 2018-01-15 18:43:10 what image would that be? i only see .tar.gz's for arm and aarch64 on the downloads page 2018-01-15 18:43:54 well I'm not sure if 32-bit binaries would work at all if they were linked with glibc 2018-01-15 18:44:14 I'd use a glibc-based distro for stuff I can't compile myself 2018-01-15 18:53:50 flan.. eh.. I suspected that there wasn't much to do 2018-01-15 18:54:18 I asked anyways so see if somebody was smarter than me 2018-01-15 21:22:11 is anyone using rsyslog? the package is flagged red 2018-01-15 21:26:23 after installing rsyslog I still have the old busyboy syslogd process running. How can I remove this? 2018-01-15 21:35:01 midasi: you possibly want to do something like: rc-service syslog stop; rc-update del syslog boot; rc-update add rsyslog boot # warning: untested 2018-01-15 21:35:17 thanks, I'll try... 2018-01-15 21:35:39 and: rc-service rsyslog start # to have it running right now 2018-01-15 21:35:44 I assumed that the busybox syslogd is automatically removed when I install another syslog package 2018-01-15 21:36:19 alpine doesn't do automagic stuff to services and it's a good thing that administrator has control over it 2018-01-15 21:36:31 your suggestion worked perfectly... 2018-01-16 09:19:12 i dont really get why linux-virt depends on linux-firmware 2018-01-16 09:24:00 <_ikke_> It's built with a common package that also build linux-vanilla 2018-01-16 09:40:44 mh 2018-01-16 09:40:57 if i get angry enough i'll patch it out 2018-01-16 09:49:07 <_ikke_> probably just overriding depends here: https://git.alpinelinux.org/cgit/aports/tree/main/linux-vanilla/APKBUILD#n169 2018-01-16 10:13:47 whats the supposed way to send in patches? Mailing list or github? 2018-01-16 10:17:45 <_ikke_> liwakura: both are valid 2018-01-16 15:43:04 Other than https://pkgs.alpinelinux.org is there anywhere else that may have software compiled for alpine before I see if I can compile it myself? 2018-01-16 16:20:46 <_ikke_> Trel: sorry, I don't really follow what you want 2018-01-16 16:27:23 _ikke_: some people have "rogue" aports & repositories 2018-01-16 16:27:49 but im not aware of any bigger ones 2018-01-16 16:31:58 <_ikke_> adelie would have their own repos 2018-01-16 16:32:55 i also do have 2018-01-16 16:33:18 i wasnt aware of adelie until right now 2018-01-16 16:33:21 interesting 2018-01-16 16:57:24 There is also http://apkfission.net/ 2018-01-16 16:57:29 Though it still appears to be a placeholder page with no actual packages 2018-01-16 17:56:11 why are there no new php packages for releases after 3.3? 2018-01-16 17:58:00 <_ikke_> Tsutsukakushi: they're named php5 and php7 2018-01-16 17:58:38 <_ikke_> https://pkgs.alpinelinux.org/packages?name=php5&branch=v3.7&repo=&arch=x86_64&maintainer= 2018-01-16 17:58:51 <_ikke_> https://pkgs.alpinelinux.org/packages?name=php7&branch=v3.7&repo=&arch=x86_64&maintainer= 2018-01-16 18:01:08 apk search php only lists perl-php-serialization and the -doc for that 2018-01-16 18:01:41 <_ikke_> Tsutsukakushi: You need to add the community repo 2018-01-16 18:02:04 o 2018-01-16 18:32:10 hello, I tried to switch from busybox syslog to rsyslog. However, when I stop the standard syslog, cron is stopped as well... It somehow depends on the busybox syslog, but I don't find out where to change the config 2018-01-16 18:34:43 when I restart crond, the busybox syslog is started again, although the dependecies (logger) are fulfilled with rsyslog 2018-01-16 20:33:55 I'm still facing issues with my graphic card. I could finally boot with screen content, adding "nomodeset i915.modeset=0 nouveau.modeset=0". But with these options xorg server won't start. Without them my screen stays black. I am still not able to get the correct kernel module loaded (lscpi -vv won't show one). But I don't know what else to do. Any suggestions/ideas/tutorials or wiki links? 2018-01-16 20:54:25 what gpu do you have? 2018-01-16 20:55:04 those options only make sense if it's one of those weird hybrid sysstems with intel & nvidia i think 2018-01-16 20:55:58 lspci says: 01:00.0 VGA compatible controller: NVIDIA Corporation GF119 [GeForce GT 620 OEM] (rev a1) 2018-01-16 20:58:02 I had to use both options. Otherwise my screen was always black. Xorg.log tells: (WW) intel(0): NV: Ignoring unsupported device 0x10de1049 (GF119 [GeForce GT 620 OEM]) at 01@00:00:0 2018-01-16 20:59:17 So it seems it's really some weird hybrid thing ... 2018-01-16 21:18:53 can't you disable one of those in bios? 2018-01-16 21:25:50 Hm ... I can't find any of them in bios. Hard drives, LAN controller, even switching between legacy and UEFI boot, but no graphics card ... 2018-01-16 21:45:50 I've ran into that once with an AMD chip 2018-01-16 21:46:04 the solution was to outright blacklist one of the graphics adapters 2018-01-16 21:46:51 (and there's a boot parameter for that too if I remember correctly) 2018-01-16 21:50:15 I'm having issues using the iso -> USB drive boot with network configuration, the kernel/initramfs don't have access to my network driver kernel module until after modloop runs, and fails to do anything useful at boot with lbu restoration 2018-01-16 21:50:37 Anyone have some pointers on how I can rectify the issue without rewriting the initramfs init? 2018-01-16 21:53:43 If it's not clear, initramfs can't start the network, therefore lbu ovl unpacking fails when it gets to apk add world because it can't contact the freshly unpacked repositories, but it can finish the initramfs, boot the system, run modloop as rc-init, and access the network at that point, but now I have to physically log in via keyboard and apk update ; apk add dropbear, which defeats the purpose of lbu I think 2018-01-17 00:59:46 my computer froze, did anyone have insight in how to fix lbu so it works when alpine boots from usb media where the network device isn't loaded during initramfs? 2018-01-17 01:57:47 can someone help me setup alpine as the rootfs on arm64 hardware 2018-01-17 01:58:13 The wiki page on creating a chroot was very useful and I've got it booting, but I'm having trouble with networking and docker cgroups stuff 2018-01-17 01:59:14 also, hi Shiz, I thought I recognized that handle from #midipix 2018-01-17 01:59:34 "trouble"? 2018-01-17 01:59:36 still the very same 2018-01-17 02:00:03 first, is there a wiki page for installing alpine on bare metal? 2018-01-17 02:00:10 my issue with docker 2018-01-17 02:00:40 *my issue with docker is the cgroups aren't mounted. I'm not sure which service does that. My kernel supports docker as I have no trouble using docker with an ubuntu-base rootfs 2018-01-17 02:00:41 arm64 baremetal is kinda... variant 2018-01-17 02:01:09 I'm working on the userspace for https://daplie.com/ 2018-01-17 02:01:26 marvell armada (dual core a53) and 2gb ram 2018-01-17 02:01:55 same CPU as the espressobin if you've ever seen that, but a custom board we've designed 2018-01-17 02:02:51 also regarding networking, I have no idea the recommended way to connect to ethernet via dhcp. I tried just configuring `/etc/network/interfaces` like I do in debian/ubuntu, but udhcpd can't seem to get a lease 2018-01-17 02:05:36 most my services and 3rd party plugins will be run in docker containers (also probably alpine based there), but I'm looking for a minimal, clean, and secure os for the host userspace 2018-01-17 02:35:19 ok, if I run this script, it mounts the missing cgroups https://raw.githubusercontent.com/tianon/cgroupfs-mount/master/cgroupfs-mount 2018-01-17 02:35:39 but since there was a `docker` package in alpine's repo, I would assume there is something there also to mount the cgroups (a dependency of docker) 2018-01-17 02:55:25 ok, progress, for some reason sysfs wasn't running, it mounts the cgroups and some other stuff I was missing 2018-01-17 03:03:19 and fixed the network issue. I needed both the `/etc/network/interfaces` file and to start the `networking` service 2018-01-17 03:03:35 (or in my case, start `chronyd` which depends on networking) 2018-01-17 03:29:08 hmm, now I'm confused, it should have been starting sysfs automatically since it's a dependency of docker. And even if I manually add it to a runlevel, it still doesn't seem to run 2018-01-17 03:43:25 Any tips of creating a qcow2 image from alpine? thank you. 2018-01-17 03:52:52 solved the sysfs mystery. My docker based build system had left a `.dockerenv` file in the root that disabled sysfs and others because of openrc dependency keyword tags 2018-01-17 04:27:42 Is anyone up that's familiar with APKINDEX generation? 2018-01-17 04:28:30 I'm trying to build a custom set of apks for my boot device, and the APKINDEX gets screwy for alpine-base, libc-utils, and busybox-initscripts 2018-01-17 04:36:20 I'm trying to follow the instructions here - https://wiki.alpinelinux.org/wiki/Apkindex_format but keeps coming up with brokenness for the 3 above mentioned packages. 2018-01-17 04:42:47 I think it has to do with apk index generating the wrong arch information for alpine-base, libc-utils, and busybox-initscripts. 2018-01-17 11:06:15 hey guys, a quick one: if i install python packages using pip, is it still trivial to commit these changes? 2018-01-17 11:32:42 <_ikke_> waydot: commit these changes? 2018-01-17 11:32:57 <_ikke_> waydot: you mean lbu commit? 2018-01-17 11:34:03 <_ikke_> waydot: You can run lbu status, and check with files have been added, and make sure they are getting tracked 2018-01-17 11:43:24 _ikke_: yeah, i'm no expert on alpine, but if i understand apk commits correctly, there's a cache of apk files which get installed when a machine boots 2018-01-17 11:44:44 with pip it's a little more complex; doing it the same way would be a bit slow; so the only way is to specify what lbu commits directly; which could be tedious because pip populates /usrb/bin in addition to /usr/lib/python; and there may be other locations, i guess 2018-01-17 11:45:00 s/the only way/the other way/ 2018-01-17 11:54:39 <_ikke_> waydot: apk just installs packages, which has nothing to do with comitting things 2018-01-17 11:55:03 <_ikke_> waydot: But I suspect you run-from-ram, where you need to commit changes to the FS by using lbu 2018-01-17 11:55:47 <_ikke_> waydot: right, that's the disadvantage, you don't have a single thing to worry about (a package), but now need to track each individual file 2018-01-17 11:56:04 <_ikke_> waydot: It might be worth packaging those python packages 2018-01-17 12:08:39 right, okay, thanks 2018-01-17 12:08:43 i'll see what i can do 2018-01-17 12:09:24 good morning. i am searching a way to create qcow image with alpine. any tips please? 2018-01-17 12:12:26 create a blank image, spin up a vm from an iso with the disk attached and install it to the disk? 2018-01-17 12:15:00 thank you . have not done this before. if you have steps to follow would be very helpful. 2018-01-17 12:19:39 hmm, not really :/ 2018-01-17 12:20:29 <_ikke_> This ist more of a qemu question then an alpine question 2018-01-17 12:21:26 <_ikke_> you can use qemu-img to create a blank cqow image 2018-01-17 12:21:32 <_ikke_> cqow* 2018-01-17 12:21:40 <_ikke_> qcow* 2018-01-17 12:23:23 anyone good with booting on macbook? 2018-01-17 12:23:42 installed alpine in a partition, but now how to boot it? 2018-01-17 12:25:29 <_ikke_> ScrumpyJack: ncopa runs alpine on his macbook 2018-01-17 12:36:19 hello, is anyone using alpine as a xenserver guest? I noticed that the xe-guest-utilities package is outdated since 2 years and wondered if someone could update it 2018-01-17 12:36:49 midasi: is the package flagged at pkgs.alpinelinux.org/packages ? 2018-01-17 12:37:06 yes it is 2018-01-17 12:37:16 since at least several months... 2018-01-17 12:49:21 hmm, I guess I could look into it, but I can't promise anything 2018-01-17 12:52:11 that would be great! I also opened a package update request #7493 in the issue tracker 6 months ago 2018-01-17 12:56:54 would you be able to test the package in case I do get to it? 2018-01-17 12:57:33 of course! 2018-01-17 13:44:25 _ikke_: it's more a grub thing 2018-01-17 14:46:50 i'm trying to chainboot rEFInd -> aplinelinux in partition 2018-01-17 14:46:59 aplinelinux? what's that? 2018-01-17 14:48:38 in the FAQ it is listed as the most common way to mistype alpine; haven't we all done that at least once or twice :) 2018-01-17 14:49:15 I've got that project waiting at home too btw ScrumpyJack, mine is just a bit more of a challenge as the hardware is 32-bit UEFI 2018-01-17 14:52:03 well the good news is that the iso boots nicely on 64 UEFI. managed to install AL in a partition, and rEFInd "sees" that part, but does zip with selected 2018-01-17 14:57:38 so it shows you what's configured into it (auto-?) ... is your boot/ESP partition with the right file system (VFAT) ? 2018-01-17 14:58:30 Has anyone ever had any luck compiling liquidsoap on alpine? 2018-01-17 15:02:48 TBB: I'm not that brave, I'm booting rEFInd from a usb stick 2018-01-17 15:03:13 does my AL install need something special? 2018-01-17 15:05:55 basically the boot loader or other boot binary needs to be on a FAT formatted GPT partition marked as type EF00 (EFI System) 2018-01-17 15:06:31 which bootloader (in my chain) 2018-01-17 15:06:51 although, I imagine rEFInd is on exactly such a partition as it is your bootloader... 2018-01-17 15:07:03 ACTION nods 2018-01-17 15:07:21 i'll check the paths in extlinux.conf 2018-01-17 15:08:02 I don't think you should even need extlinux if you already have rEFInd, they're basically both just mechanisms for loading the kernel 2018-01-17 15:08:28 at least I don't install syslinux on any systems that I boot using gummiboot (which is my preferred EFI bootloader for now) 2018-01-17 15:09:38 but I might be a bit confused at the moment, I'm just in the middle of reading the entire 2899 page UEFI specification 2018-01-17 15:09:43 is there a difference between gummiboot and systemd-boot? 2018-01-17 15:10:04 the name, mostly, gummiboot is now systemd-boot so I think the development efforts go to the latter entirely 2018-01-17 15:10:12 oh 2018-01-17 15:10:17 so gummiboot is probably on its way out 2018-01-17 15:18:36 nope, that didn't work 2018-01-17 15:18:58 perhaps i need to pass more options to the rEFInd boot loader 2018-01-17 15:19:58 i have an AL.iso dd'ed to a small partition at the back of the disk and rEFInd boots that fine, just not may install in part4 2018-01-17 16:21:16 Is anyone up that's familiar with APKINDEX generation? I'm trying to build a custom set of apks for my boot device, and the APKINDEX gets screwy for alpine-base, libc-utils, and busybox-initscripts I'm trying to follow the instructions here - https://wiki.alpinelinux.org/wiki/Apkindex_format but keeps coming up with brokenness for the 3 above mentioned packages. I think it has to do with apk index generating the wrong arch in 2018-01-17 16:23:20 too long a line, got cut after "wrong arch in" 2018-01-17 16:24:31 but based on those three words, have you tried --rewrite-arch when generating the index? 2018-01-17 16:26:51 wrong arch information for alpine-base, libc-utils, and busybox-initscripts 2018-01-17 16:27:37 TBB: I didn't use rewrite arch, I used the instructions on the Apkindex_format page, and it worked for all the packages except the 3 mentioned, which got noarch instead of x86, which seems to be the difference between it working/not with apk. 2018-01-17 16:30:03 TBB: my real issue is that mkinitfs isn't able to bring up my network interface at boot, so I was trying to adjust the packages included on the iso for my usb boot stick 2018-01-17 16:30:49 TBB: I wind up booting, but all the lbu packages fail to apply because there's no network and the apk add fails due to the index for the website repositories fail to be queried for their index so that apk add can restore world. 2018-01-17 16:31:03 TBB: I think I'm stuck in a situation where I need to rewrite/architect the buggy mkinitfs. 2018-01-17 16:32:15 lbu I know nothing of, but this thing about mkinitfs I have a slight clue of 2018-01-17 16:33:42 it might be necessary to create a new or modify an existing feature so that whatever's necessary for the kernel/early init script to handle your network interface correctly gets included on your initramfs 2018-01-17 16:35:25 the early init script has a comment "You need af_packet.ko available as well as modules for your Ethernet card" 2018-01-17 16:36:24 so you could create my_network_modules.modules and include those kernel modules in it, add that to your FEATURES in mkinitfs.conf and those files -should- end up on your initramfs 2018-01-17 16:37:41 seems network.modules already does af_packet.ko but not necessarily your network adapter driver modue 2018-01-17 16:37:45 *module 2018-01-17 16:38:07 if a package I'm building contains udev rules, should I just drop them? 2018-01-17 16:38:58 I imagine that's your choice really; if you include them make sure udev in is your runtime deps 2018-01-17 16:39:52 are those udev rules crucial or entirely optional is probably one factor in your decision 2018-01-17 16:43:33 hmmm, they're for cpu hotplugging when running as xen domU as far as I can tell 2018-01-17 16:43:36 that's probably important 2018-01-17 16:44:55 you could consider making a separate package of them if the package itself is useful in other usage scenarios 2018-01-17 16:45:19 that sounds good 2018-01-17 16:57:33 can I place dependencies into subpackages? 2018-01-17 16:58:33 <_ikke_> kahiru: each subpackage can have its own dependencies 2018-01-17 16:58:38 oh, great 2018-01-17 17:18:44 nshp: nice domain 2018-01-17 17:32:54 heh, thanks 2018-01-17 18:20:58 ncopa, would it be possible to add python-gst-1.0, python3-gst-1.0 and gst-rpicamsrc to the repository? 2018-01-17 18:47:52 midasi: hey, I opened a PR at github for the xen guest utils if you want to take a look 2018-01-18 00:11:36 Hi, guys 2018-01-18 00:12:29 I have a question... Is there a way to connect a raspberry pi 3 via wifi? 2018-01-18 00:12:36 I can't find a way. 2018-01-18 00:13:41 it has usb ports right? 2018-01-18 00:14:53 maybe try #raspberrypi 2018-01-18 00:49:22 cap, make sure the adapter has a loaded driver, and perhaps wpa_supplicant? 2018-01-18 09:56:30 All right, I have a problem. 2018-01-18 09:56:37 damn 2018-01-18 09:56:40 https://home-assistant.io/docs/installation/virtualenv/ 2018-01-18 09:57:15 The installation is successful and the operation is successful. But I can't automatically start my py virtual application. 2018-01-18 09:57:50 I come from China, and English is Machine Translation. 2018-01-18 09:58:52 help 2018-01-18 11:05:51 ncopa? 2018-01-18 11:11:11 turns out the python bindings package is named py-gst 2018-01-18 13:50:09 seems I have a system that doesn't handle it too well when the network cable gets removed and reconnected after a while 2018-01-18 13:51:20 I imagine it's because of dhcp and the way dhcp clients seem to increase delays between requests 2018-01-18 13:53:21 and I'm not sure how I should handle this on Alpine... 2018-01-18 13:55:37 it seems the ifupdown version of ifup and ifdown support --allow=hotplug which just might do the trick 2018-01-18 16:00:02 hello 2018-01-18 16:00:38 I just wanted to ask advice about installing alpine onto a HD that is already partitioned 2018-01-18 16:01:12 I'm reading about it here https://wiki.alpinelinux.org/wiki/Setting_up_disks_manually 2018-01-18 16:02:20 i have a disk partitioned like this sdc1 2G (for /boot), sdc2 1TB, sdc3 1TB -- i want to install it onto sdc1,2 and leave sdc3 alone 2018-01-18 16:03:44 yep, so basically, you set up your partitions as you want them, mount the root to /mnt, then mount any partitions inside of that like boot should be /mnt/boot 2018-01-18 16:03:53 oh this seems more relevant https://wiki.alpinelinux.org/wiki/Installing_Alpine_on_HDD_dualbooting 2018-01-18 16:03:57 then you go through the alpine setup steps manually instead of the "setup-alpine" script 2018-01-18 16:04:18 https://wiki.alpinelinux.org/wiki/Alpine_setup_scripts 2018-01-18 16:04:19 thank you qman__ 2018-01-18 16:04:25 this explains what setup-alpine does 2018-01-18 16:04:28 so just do each of those steps yourself 2018-01-18 16:04:37 substituting the setup-disk with the one you want to use 2018-01-18 16:05:07 so basically if i have sdc2 as /mnt, sdc1 as /mnt/boot and sdc3 not mounted... then setup-disk -m sys /mnt will not do anything to it? 2018-01-18 16:05:19 yes 2018-01-18 16:05:48 alright ill give it a shot, thanks again! hopefully i dont screw it up :) 2018-01-18 16:48:04 hello 2018-01-18 16:48:15 I just got scared of one command 2018-01-18 16:48:19 dd if=/usr/share/syslinux/mbr.bin of=/dev/sda 2018-01-18 16:48:41 dd bs=440 count=1 conv=notrunc if=/usr/share/syslinux/gptmbr.bin of=/dev/sda 2018-01-18 16:48:48 these ones 2018-01-18 16:49:07 rain1: What does those do? 2018-01-18 16:49:21 <_ikke_> They install the bootloader 2018-01-18 16:49:31 Like grub-install ... 2018-01-18 16:49:31 it says it's to put the bootloader on the disk, but I just wondered how come that doesn't destroy your partition table? 2018-01-18 16:49:32 <_ikke_> Only one of those should be done 2018-01-18 16:49:46 <_ikke_> rain1: the partition table only starts around 2048 2018-01-18 16:49:52 I see! 2018-01-18 16:50:18 <_ikke_> Not sure if I have that number right, but at least there is enough space to put a bootloader 2018-01-18 16:50:23 _ikke_: But won't it overwrite the existing bootloader? 2018-01-18 16:50:28 <_ikke_> pickfire: sure 2018-01-18 16:50:32 yeah i have grub bootloader on there from void lninux 2018-01-18 16:50:39 but im okay to replace that with syslinux, 2018-01-18 16:50:45 i just wanna keep my other partition :) 2018-01-18 16:50:52 well im a little scared ill lose my partition.. but ill give it a shot anyway 2018-01-18 16:51:08 conv=notrunc is the important part 2018-01-18 16:51:10 rain1: Why void linux and alpine linux at the same time? 2018-01-18 16:51:15 Both are quite similar. 2018-01-18 16:51:33 flan: Never seen that as well. Only used conv=fsync. 2018-01-18 16:51:34 pickfire: im getting rid of void 2018-01-18 16:52:12 rain1: Why? 2018-01-18 16:52:23 <_ikke_> conv=notrunc does nothing when writing to a block device 2018-01-18 16:52:28 <_ikke_> a block device cannot be truncated 2018-01-18 16:52:30 I just though alpine looks even better 2018-01-18 16:52:37 good to know 2018-01-18 16:52:40 I feel like alpine looks even better as well. 2018-01-18 16:52:52 But at the end, I found something better. 2018-01-18 16:52:59 But even more experimental. 2018-01-18 16:53:03 <_ikke_> flan: https://stackoverflow.com/questions/20526198/why-using-conv-notrunc-when-cloning-a-disk-with-dd 2018-01-18 16:53:06 noname-linux 2018-01-18 16:53:42 out of superstition i am including conv=notrunc anyway P: 2018-01-18 16:54:24 rain1: For me, alpine is quite similar to void. I just feel like the name is lighter, simpler and cooler. 2018-01-18 16:54:44 apk (3) vs xbps-install (5+) 2018-01-18 16:56:31 thanks a lot for helping me understand the dd command everyone :) 2018-01-18 16:56:37 ill see if it boots now 2018-01-18 18:40:32 hi 2018-01-18 18:41:13 how do you change linux kernel? for example i want to use linux-vanilla 2018-01-18 18:44:19 install it and configure your bootloader 2018-01-18 18:46:29 ill try, thanks 2018-01-18 18:50:51 I tried to change 'default=hardened' to 'default=' in /etc/update-extlinux.conf then run update-extlinux and extlinux --install /boot 2018-01-18 18:51:21 oh maybe I needed to do extlinux --install /boot --update 2018-01-18 18:51:42 is that the right way to pick the vanilla kernel? 2018-01-18 18:54:26 that doesnt seem to be it 2018-01-18 19:34:26 when I create a zvol on alpine, it doesn't show up in /dev/, what am I missing? 2018-01-18 21:01:33 is there any way to make an iso with preinstalled ssh and a public key? 2018-01-18 21:02:21 (i want to avoid having to run "setup" after boot) 2018-01-18 21:03:36 ita: take a look here https://wiki.alpinelinux.org/wiki/How_to_make_a_custom_ISO_image_with_mkimage 2018-01-18 21:07:53 kahiru: yes i did, and it seems to describe how to add repositories and packages. I am interested in writing custom files such as init scripts and pub keys 2018-01-18 21:10:13 well, you could do some hacking on the mkimage.sh 2018-01-18 21:10:27 but maybe it would be easier to create an apkovl with your stuff 2018-01-18 21:11:40 kahiru: why would i need an apkovl if i can download packages from the web? this defeats the purpose of the custom iso 2018-01-18 21:12:00 kahiru: so, how would you hack the mkimage.sh exactly? 2018-01-18 21:15:23 it first builds the rootfs for the image somewhere and then packs it into an iso, so if you find a spot between these two actions you could put additional files in there 2018-01-18 21:16:47 kahiru: exactly, where is that spot? 2018-01-18 21:23:01 no idea 2018-01-18 21:37:10 it seems it is impossible to do with Alpine Linux https://unix.stackexchange.com/questions/370895/install-packages-into-a-custom-alpine-linux-iso 2018-01-18 21:40:01 ita: are all the .apks you need on the -extended iso? if it is, then you could maybe get away with an .apkovl.tar.gz 2018-01-18 21:40:39 if you need add your own packages you will have to signe the apkindex and include the pub key you used in the initramfs 2018-01-18 21:40:58 in that case it would be simpler to build your own iso 2018-01-18 21:41:02 ncopa: if an apkovl.tar.gz file is required, then i need a filesystem to host it, don't i? 2018-01-18 21:42:33 ncopa: i want to have the ssh server installed when the host boots up (with my public key present on the iso) 2018-01-18 21:43:07 ncopa: any idea on tell the iso to execute a particular script on startup? 2018-01-18 21:43:54 ncopa: since you seem to be familiar with aports/scripts/mkimage.sh ... :-) 2018-01-18 21:44:08 do you boot from usb key or from cdrom? 2018-01-18 21:45:13 ncopa: cdrom (i want to make an iso file) 2018-01-18 21:45:27 the initramfs script will try all found block devices and look for an *.apkovl.tar.gz and extract that before it hands over control to init 2018-01-18 21:46:02 ncopa: so i need to include an *.apkovl.tar.gz file into the iso somehow? 2018-01-18 21:46:21 so if the only thing you need is ssh key and start ssh service, then all you need is an *.apkovl.tar.gz file 2018-01-18 21:46:24 correct 2018-01-18 21:46:26 so, this is what i suggest 2018-01-18 21:46:28 boot alpine in a vm 2018-01-18 21:46:47 configure the network the way you want (static ip or dhcp) 2018-01-18 21:50:23 create the /root/.ssh stuff as needed 2018-01-18 21:50:23 start the sshd service 2018-01-18 21:50:24 in other words, create the system exactly as you want it to be 2018-01-18 21:50:25 there is a tool called 'lbu' that will create an apkovl for you 2018-01-18 21:50:26 but it will by default only include whatever is under /etc 2018-01-18 21:50:26 so you will have to tell lbu to include /root/.ssh. you that with: lbu include /root/.ssh 2018-01-18 21:50:27 after that you do: lbu package 2018-01-18 21:50:28 and it should create a $hostname.apkovl.tar.gz 2018-01-18 21:50:28 then you extract all the files on the alpine iso in a tempdir add the apkovl file to the tempdir and create a new iso from the tempdir 2018-01-18 21:50:29 when booting that iso it should restore your system as it was 2018-01-18 21:50:30 i need to run now. i think there is an article about lbu 2018-01-18 21:50:31 on wiki 2018-01-18 21:51:21 so you are suggesting that i edit the iso after it is created? 2018-01-18 21:51:31 or do you mean that the apkovl automatically ends up onto the iso? 2018-01-18 21:52:05 or to setup a tempdir somehow... let's see 2018-01-19 00:04:12 oh, there is a very clever way of including apkovl by adding a script to the apkovl parameter in ~/aports/scripts/mkimg.base.sh 2018-01-19 00:08:57 ncopa: it works - the wiki page could specify which commands must be run as build (not as root) and mention the apkovl script parameter which has examples in the same folder (not a url or a file!) 2018-01-19 00:09:40 ncopa: so, thank you for the hints 2018-01-19 00:49:37 I have a question: https://wiki.alpinelinux.org/wiki/Install_Alpine_on_Amazon_EC2 wouldn't this guide cause duplicate sshd keys when exporting an installed system to an AMI? 2018-01-19 00:50:44 so now even i got a docker install, allows to run alpine on a system that is meant to run ubuntu core :) 2018-01-19 00:50:47 root@localhost:~# docker images 2018-01-19 00:50:50 REPOSITORY TAG IMAGE ID CREATED SIZE 2018-01-19 00:50:53 alpine latest 3fd9065eaf02 9 days ago 4.15MB 2018-01-19 00:50:56 (dell edge gateway 5000) 2018-01-19 00:51:44 kpcyrd: i quickly read through it and it seems it's not started during build 2018-01-19 00:51:52 the keys are only created on sshd start 2018-01-19 00:52:23 ah, that would work 2018-01-19 00:52:29 never mind then 2018-01-19 00:52:40 but it was a very quick read, i have to admit 2018-01-19 00:52:48 didnt know the guide existed, that's nice 2018-01-19 00:53:27 i always wanted to make a boot-to-ram alpine image for aws, so it doesn't crash if ebs fails :) 2018-01-19 00:53:40 is there a way to prevent abuild from cleaning up my workspace after a build failed? I'm currently writing the package() part and I have to compile everything from scratch each attempt 2018-01-19 00:54:52 yeah 2018-01-19 00:54:58 but i dont remember the flag(s) 2018-01-19 00:55:15 ah, oh, wait i'm not sure if it's in a single package 2018-01-19 00:55:25 but iirc there's one. 2018-01-19 00:55:58 read the abuild options a few times, or last time i was lost i just read abuild itself 2018-01-19 00:56:01 gl 2018-01-19 01:30:05 thanks. got it to work, needs some more polishing though 2018-01-19 01:53:00 is alpine a server distro or a desktop distro? 2018-01-19 01:54:26 luxio: originally it was a router/firewall distro, but its more of a server distro nowdays 2018-01-19 01:54:28 i use it on my work desktop though 2018-01-19 01:54:40 and run it currently on my macbook 2018-01-19 01:54:55 next is the cheese grater for fun right 2018-01-19 01:55:18 its not as polished for desktop use as other typical desktop distros 2018-01-19 01:55:36 give it time it can grow 2018-01-19 01:55:47 it also depends on the desktop and the user too 2018-01-19 01:55:57 ita: im glad you got it working 2018-01-19 01:57:03 is there non-esr firefox in apk now? 2018-01-19 01:57:47 luxio: we have testing/firefox which is the non-esr 2018-01-19 01:58:10 i use chromium 2018-01-19 01:58:24 but i must say that i sort of like the recent UI of firefox 2018-01-19 01:58:42 yeah I used to use chromium until this firefox quantum update 2018-01-19 01:58:46 it's much faster than old firefox 2018-01-19 01:59:31 even adobe flashplayer work(ed) on alpine in firefox 2018-01-19 01:59:50 that might not be a good thing lol 2018-01-19 02:00:02 :) 2018-01-19 02:00:12 sounds like alpine linux desktop is for you :) 2018-01-19 02:00:24 right now I use ubuntu 2018-01-19 02:00:34 what wm? 2018-01-19 02:00:37 gnome 2018-01-19 02:01:02 I'm running 17.10 which comes with gnome and wayland by default 2018-01-19 02:01:02 ubuntu is very polished for desktop use 2018-01-19 02:01:03 alpine is not even close 2018-01-19 02:01:20 you will have to set up and configure stuff yourself 2018-01-19 02:01:40 and gnome has not been very stable 2018-01-19 02:01:55 and is not complete yet as i understand 2018-01-19 02:02:00 i use xfce myself 2018-01-19 02:02:14 not a big fan of spending a lot of time configuring stuff, but I like lightweight 2018-01-19 02:02:48 you will spend alot time to get alpine desktop usable 2018-01-19 02:05:19 ncopa: isn't matte in Alpine complete for use? 2018-01-19 02:05:26 i had alpine a while ago, i think i was using openbox 2018-01-19 02:05:39 I saw that there are some matte packages in community 2018-01-19 02:05:47 i think mate should be more or less complete yes 2018-01-19 03:28:11 ncopa, how come you're awake so late? :) 2018-01-19 03:51:51 he is in brazil still 2018-01-19 08:35:51 I have to question the lack of man pages in this install iso 2018-01-19 11:28:37 halbeno, this is a design decision of alpine. -doc packages have to be installed explicitly 2018-01-19 11:28:46 keeps the size down to a minimal 2018-01-19 11:52:21 or apk add docs 2018-01-19 11:52:44 it will auto install -doc if available. 2018-01-19 11:58:36 clandmeter: oh! that's a handy trick 2018-01-19 12:08:22 I have a system that keeps getting softlocked, but it doesn't tell me anything useful in the logs, how do I get it to dump more info in the logs except the one-liner saying it's softlocked? 2018-01-19 12:10:44 I installed kexec-tools, not sure if that was the thing to do 2018-01-19 14:12:20 what kernel are you using 2018-01-19 14:18:09 https://wiki.alpinelinux.org/wiki/Default_applications I just updated this page 2018-01-19 14:18:39 I wonder what about making a package like mupdf-desktop which does this though? 2018-01-19 14:34:33 I think I figured it out, seems like kernel messages weren't sent to busybox syslog at all, so I switched to a different syslogd 2018-01-19 14:48:02 hello, is http://wiki.alpinelinux.org/wiki/Alpine_Configuration_Framework_Design still supported? Is possible to enable it in docker version? 2018-01-19 14:52:02 apk add docs causes problems 2018-01-19 14:52:25 on certain configurations files get installed that conflict with eachother and there's nothing you can do as a user about it 2018-01-19 14:53:21 and as the result all apk related tools run into an error installing the doc package that triggers the conflict, and hence, everything depending on those return codes also fail 2018-01-19 14:54:29 the idea behind the docs package is great though 2018-01-19 16:04:21 how do i install libressl 2.6.0 ? 2018-01-19 16:04:29 https://pkgs.alpinelinux.org/packages?name=*libressl*&branch=&repo=&arch=&maintainer= 2018-01-19 16:04:54 i see that theres lots of packages like libressl2.6-* 2018-01-19 16:05:24 or 2.5 2018-01-19 16:05:49 why do you want 2.6.0 in particular? 2018-01-19 16:06:21 i wanted to try building a rust program and it gave me an error that This crate is only compatible with OpenSSL 1.0.1, 1.0.2, and 1.1.0, or LibreSSL 2.5 and 2.6.0, but a different version of OpenSSL was found. 2018-01-19 16:06:30 which crate 2018-01-19 16:06:37 openssl-sys v0.9.20 2018-01-19 16:09:54 openssl-sys v0.9.24+ supports LibreSSL 2.6.3 2018-01-19 16:10:03 ooh 2018-01-19 16:10:03 you would be better off upgrading the crate 2018-01-19 16:17:10 thanks a lot :) I deletd the cargo.lock and it uses the newer version and works 2018-01-19 16:21:52 folks, looks like the busybox grep tool is broken. The following file https://filebin.ca/3okhqb9y7JPB/end.o 2018-01-19 16:22:14 ./ld-musl-x86_64.so.1 ./busybox grep -q BiGeNdIaN end.o && echo found 2018-01-19 16:22:19 no hit 2018-01-19 16:22:22 distro grep: 2018-01-19 16:22:27 grep -q BiGeNdIaN end.o && echo found 2018-01-19 16:22:27 found 2018-01-19 16:22:39 other strings seem to work 2018-01-19 16:22:49 but this case does not work. 2018-01-19 16:23:06 busybox compiled against glibc is also fine 2018-01-19 16:25:50 so I assume its a bug in the regex of musl lib 2018-01-19 16:28:51 borntraeger: it's a binary 2018-01-19 16:28:58 regex is specified to only work on text 2018-01-19 16:29:14 nsz, yes but this is used in configure scripts (e.g. QEMU) 2018-01-19 16:30:21 nsz, so you say that the use case is wrong (and the configure script should use strings or whatever on the binary) 2018-01-19 16:31:03 nsz, do you have a pointer that says that regex is not allowed for binary? 2018-01-19 16:31:25 strings -a end.o |grep -q BiGeNdIaN should work 2018-01-19 16:32:17 nsz, yes it does 2018-01-19 16:33:02 borntraeger: see the specification of regexec, note how the input argument is char *string 2018-01-19 16:33:14 i.e. it is 0 terminated string 2018-01-19 16:33:18 binary won't work 2018-01-19 16:33:26 there is a gnu extension that makes it work 2018-01-19 16:33:42 nsz, you are right. There could be a zero anywhere before the string 2018-01-19 16:33:57 nsz, thanks. will send a patch for configure in QEMU 2018-01-19 16:45:26 borntraeger: you may also try to revive the REG_STARTEND patch which would make musl regex work with binary data 2018-01-19 16:45:29 http://www.openwall.com/lists/musl/2016/10/05/ 2018-01-19 16:46:00 it came up earlier because git started using it, but that was fixed later so nobody cared 2018-01-19 16:46:31 otoh grep is sometimes used on binary data (even though posix says that's undefined) so it may be useful 2018-01-19 16:46:39 nsz, in the end it would be better fixed because "grep" has not limitation regarding binary files 2018-01-19 16:47:06 nsz, is it just the fact that busybox implements grep with regex 2018-01-19 16:47:15 grep is only specified on text files 2018-01-19 16:47:52 nsz, not the gnu grep 2018-01-19 16:47:53 the busybox implementation is correct, but it can use REG_STARTEND when there is support for it 2018-01-19 16:48:14 gnu grep has its own regex implementation 2018-01-19 16:48:18 it does not use the libc one 2018-01-19 16:49:02 fwiw busybox compiled against glibc also works 2018-01-19 16:49:30 nsz, I just send a patch for the qemu configure. 2018-01-19 18:57:43 TBB: if docs causes conflicts then it is a bug that should be fixed 2018-01-19 18:58:43 <_ikke_> ncopa: Did you ever try to run the git test suite on alpine? 2018-01-19 18:59:14 probably not 2018-01-19 18:59:44 <_ikke_> Ok, trying to get it to run, running into some locale issues 2018-01-19 19:00:12 <_ikke_> Not sure if that's a musl thing or not, but not all of them seem to fail 2018-01-19 19:00:23 NO_GETTEXT=YesPlease 2018-01-19 19:00:37 we configure git to disable gettext 2018-01-19 19:00:46 <_ikke_> I think it's more like gits builtin iconv 2018-01-19 19:00:48 might be the test suite does not respect that or support it without gettext 2018-01-19 19:00:56 <_ikke_> encoding 2018-01-19 19:02:03 <_ikke_> I'm going to try to run the test suite often, so that we get early feedback on issues 2018-01-19 19:02:39 we should run it on package build 2018-01-19 19:02:47 unless it takes forever to run 2018-01-19 19:02:58 <_ikke_> It takes some time, but there are ways to get it to run quicker 2018-01-19 19:03:08 <_ikke_> we already disable svn tests in the config.mak 2018-01-19 19:03:27 <_ikke_> But I also try to run it on the next branch, so even before things are release 2018-01-19 19:03:31 <_ikke_> released 2018-01-19 19:03:42 aha 2018-01-19 19:03:47 <_ikke_> (I'm also contributing to git once in a while) 2018-01-19 19:04:06 could probably set up a cron job with nightly builds/tests 2018-01-19 19:04:10 <_ikke_> yeah 2018-01-19 19:04:39 maybe even suggest to help them set up a CI with alpine 2018-01-19 19:04:51 <_ikke_> They use Travis CI 2018-01-19 19:05:22 file an issue to support musl libc in travis ;) 2018-01-19 19:05:23 <_ikke_> But they also run a lot of tests alreayd, so not sure if they want to increase the build time even more 2018-01-19 19:05:39 <_ikke_> ncopa: how are we doing this with aports? 2018-01-19 19:07:30 how do you mean? 2018-01-19 19:07:31 in travis? 2018-01-19 19:07:32 jirutka have a scrip that creates a chroot 2018-01-19 19:07:32 so it runs in a chroot in ubuntu or similar 2018-01-19 19:07:41 <_ikke_> "right 2018-01-19 19:08:00 is there some "quick" test for git? 2018-01-19 19:08:15 would be nice to have a check() function for the git APKBUILD 2018-01-19 19:09:40 <_ikke_> I don't see any 2018-01-19 19:10:10 <_ikke_> They do say it helps to run the test suite in tmpfs, as git creates and destroys a lot of files in the test suite 2018-01-19 20:28:14 sed -i -e 's/v3\.2/edge/g' /etc/apk/repositories 2018-01-19 20:28:18 this isn't really a good way 2018-01-19 20:28:23 https://wiki.alpinelinux.org/wiki/Edge 2018-01-19 20:34:22 I changed it to [[:digit:]] 2018-01-19 20:37:30 lldb seems to be broken on edge 2018-01-19 20:37:37 $ lldb 2018-01-19 20:37:37 : CommandLine Error: Option 'aarch64-neon-syntax' registered more than once! LLVM ERROR: inconsistency in registered CommandLine options 2018-01-19 20:55:05 abuild fails for https://git.alpinelinux.org/cgit/aports/tree/testing/lldb/ 2018-01-19 21:33:03 hey 2018-01-19 21:33:14 I learned that alpine linux doesn't support TEXTRELs 2018-01-19 21:33:21 "TEXTRELs and W^X techniques don’t go well together." 2018-01-19 21:33:39 but i don't really see the problem. why not make it W, do the relocation, then make it X 2018-01-19 21:34:23 because the point of PaX is that you can't make any page that was once writeable executable 2018-01-19 21:34:34 ah.. 2018-01-19 21:34:34 but who cares we are dropping -hardened 2018-01-19 21:34:41 yeah I am using vanilla 2018-01-19 21:34:50 thanks intel for ruining a good thing we had going 2018-01-19 21:34:55 so will alpine allow textrels soon? 2018-01-19 21:35:10 how do you mean? 2018-01-19 21:35:20 are you referring to the meltdown stuff 2018-01-19 21:35:23 well then you have whatever amateur hour security features normal linux has 2018-01-19 21:35:29 hehe 2018-01-19 21:35:45 I thought plain linux was pretty safe 2018-01-19 21:35:50 no, linux KSPP devs are mostly idiots 2018-01-19 21:36:00 what do you think abou MINIX3? 2018-01-19 21:36:02 it depends on threat model 2018-01-19 21:36:06 for joe bloggs 2018-01-19 21:36:07 yeah 2018-01-19 21:36:31 it's safe enough 2018-01-19 21:36:39 for some activist setting up a mesh network for people to regain internet access 2018-01-19 21:36:46 it's kinda meh on the safety 2018-01-19 21:37:18 is it better elsewhere? 2018-01-19 21:40:17 nope 2018-01-19 22:17:50 Hey, guys 2018-01-19 22:17:54 How are you doing? 2018-01-19 22:18:29 Can you help me with a question, please? Does it have a way to connect to a Raspberry pi 3 via wifi using alpine linux? 2018-01-19 23:53:01 https://www.theregister.co.uk/2018/01/19/grsecurity_libel_appeal/ 2018-01-20 00:27:57 ncopa: I also, naturally, forgot to file a bug report of it; I've been a bad Alpine citizen lately because of neverending work pressure :/ I'll try to file a report of it 2018-01-20 00:45:35 we upgraded pkgs.a.o to have some speed improvements, visual changes (match www) and some internal changes. If you find any issues let us now. 2018-01-20 00:56:12 clandmeter: nice, looks good! 2018-01-20 10:18:24 <_ikke_> clandmeter: I still see the old version.. 2018-01-20 10:18:57 Yes new one has an issue 2018-01-20 10:19:01 <_ikke_> ah ok 2018-01-20 10:19:06 Need to look into it 2018-01-20 15:59:12 hello guys 2018-01-20 15:59:51 o̸/ 2018-01-20 15:59:55 i get the following error when i try to install virtualbox guest additions 2018-01-20 15:59:57 apk add virtualbox-additions-grsec ERROR: unsatisfiable constraints: linux-hardened-4.9.65-r1: breaks: virtualbox-additions-hardened-4.9.73-r0[linux-hardened=4.9.73-r0] satisfies: world[linux-hardened] 2018-01-20 16:00:01 any ideas? 2018-01-20 16:00:18 install the vanilla kernel 2018-01-20 16:00:44 i downloaded the standard edition 2018-01-20 16:01:01 ah, sorry read it wrong 2018-01-20 16:01:38 i think there is also another version of guest additions in community, that one might need the hardened kernel (the one you try to install) 2018-01-20 16:11:24 I give up 2018-01-20 16:11:41 it shouldn't be that hard to set up a vm 2018-01-20 16:15:52 Well, i don't know how to set up a vm either and would probably be frustrated by it, if you get more proficient with an os it becomes much easier to use and understand 2018-01-20 16:16:59 s/a vm/a vm on macos 2018-01-20 19:59:43 w4efsdf: use virtualbox-guest-additions-hardened 2018-01-20 19:59:52 oh he left 2018-01-21 00:05:38 how can I get a list of installed apk packages? 2018-01-21 00:21:50 midasi: apk info 2018-01-21 00:25:43 Xe: thank you 2018-01-21 07:28:43 Hey, is there some way to specificy on the kernel commandline the brightness of the display? (or some way to set this with the bootloader that comes before the kernel?) 2018-01-21 10:26:06 nepugia: I would assume that depends on your gpu driver 2018-01-21 10:26:48 I haven't seen anyone do that though, so I'm guessing it's not possible 2018-01-21 10:27:22 run xbacklight after X starts perhaps? 2018-01-21 10:29:37 >.> i dont even have X installed :p 2018-01-21 10:38:53 nepugia: I see, then hmm, what GPU and driver are you using? 2018-01-21 10:39:30 nepugia: wouldn't "echo $value | tee /sys/class/backlight/*/brightness " from an init script work? 2018-01-21 10:39:46 if the driver creates that, then yes, I was to suggest something similar 2018-01-21 10:39:58 also, please highlight me when replying, I'm doing some work and my IRC client is in the background somewhere 2018-01-21 10:49:46 kahiru: echoing a value i want to the control interfaces does work, but i am trying to find a solution that works earlier in the boot process 2018-01-21 10:51:36 danieli, ^ 2018-01-21 10:51:58 so which gpu and driver? 2018-01-21 10:52:13 you could always put it into the boot or sysinit runlevel (not sure which one comes first), I don't think you could do it much earlier 2018-01-21 10:53:14 danieli: either the normal acpi driver or the radeon one, both work for setting the backlight 2018-01-21 10:54:58 I suppose ideally it would store the brightness, this doesn't seem to happen though :/ (as for putting it in boot scripts, yea i have done that before, depending on the distro you still get a too bright screen for the boot messages (this beeing a rather bright display)) 2018-01-21 11:05:12 are the device nodes available in the initramfs, before the root is pivoted? 2018-01-21 11:12:42 iirc they are not 2018-01-21 11:23:01 uhm 2018-01-21 11:23:21 i run abuild, and i have an APKBUILD that builds fine, but delivers wrong results 2018-01-21 11:23:39 how do i make it not like, clean up everything so i can look at the compiled binaries? 2018-01-21 11:24:03 i tried to run the steps manually 2018-01-21 11:24:27 but it isn't clear to me what steps are neccessary for X 2018-01-21 12:11:21 liwakura: you are building X from repo's sources? 2018-01-21 12:18:22 ye 2018-01-21 12:18:42 im looking for documentation which steps are usually done 2018-01-21 12:18:51 and in which order 2018-01-21 12:19:16 like, abuild --help only offers insight on what the single steps do, and the reader still have to guess what needs to be when 2018-01-21 12:32:39 if you have an apkbuild, just run abuild -r 2018-01-21 12:39:00 danieli: then i end up with the wrong results, with abuild thinking build is successful 2018-01-21 12:39:28 if i cancel, it also removes stuff so i cannot build it manually without abuild anymore 2018-01-21 12:39:32 define "wrong result" 2018-01-21 12:39:39 binaries are crap 2018-01-21 12:39:52 like, compiled fine, but dont work like they are supposed to be 2018-01-21 12:40:18 i "solved" it by running $SHELL from apkbuild for manual inspection and intervention 2018-01-21 17:44:54 uhm, i found that the initrd doesn't seem to do an `ifconfig eth0 up` 2018-01-21 17:45:24 even if explicitly mentioned in the bootparams with the ip= parameter 2018-01-21 17:45:31 i figure its a bug? 2018-01-21 17:56:53 I think the ip parameter is ignored unless certain conditions are met 2018-01-21 17:57:01 like the apk repository being on the network or something 2018-01-21 17:57:09 i just read it in /init 2018-01-21 17:57:37 uhm 2018-01-21 17:57:45 is there even support for mounting an NFS rootfs? 2018-01-21 17:58:37 dunno, but the apk repository can be a http(s) one 2018-01-21 17:59:00 i actually dont need an apk repo here, because the system is already installed 2018-01-21 17:59:45 why do you want network in initramfs? 2018-01-21 18:00:11 because im trying to mount the rootfs via NFS 2018-01-21 18:00:33 = im not in an installer scenario 2018-01-21 18:01:07 oh 2018-01-21 18:02:00 im not even sure why the initramfs generated from the installed system is running installer code.. 2018-01-21 18:02:52 im reading the /init code right now 2018-01-21 18:03:06 hoping that i find some lesser documented bootparams to trigger the NFS mount 2018-01-21 18:12:42 hi there 2018-01-21 18:12:58 i like to code a parser for aports-turbo 2018-01-21 18:13:07 in order to use pacman packages with it 2018-01-21 18:13:26 so, in order to do that, is the sqlite specification important, correct? 2018-01-21 18:14:36 <_ikke_> ShalokShalom: what do you want to parse? 2018-01-21 18:15:34 pkginfo files 2018-01-21 18:15:41 hi :) 2018-01-21 18:16:06 <_ikke_> right, then yes, you need to know how to correctly put the data in the DB 2018-01-21 18:16:11 yep 2018-01-21 18:16:17 how to? :D 2018-01-21 18:16:37 when not? 2018-01-21 18:16:42 I mean, why you ask? 2018-01-21 18:16:52 Is there a method, were I dont need to know that? 2018-01-21 18:17:58 <_ikke_> I was just confused about what you meant when you say "I like to code a parser for aports-turbo" 2018-01-21 18:18:04 <_ikke_> Now I understand it 2018-01-21 18:22:18 <_ikke_> I don't know anything about aports-turbo btw, so can't help you with that part 2018-01-21 18:27:01 thanks a lot 2018-01-21 18:27:14 can you share me one such file? 2018-01-21 18:27:28 EDIT: i solved my issue by just manually editing /usr/share/initramfs-init 2018-01-21 18:40:12 i think we should add it to the wiki that the `ip` parameter is ignored, except in two cases 2018-01-21 19:51:48 hi 2018-01-21 20:00:00 hi 2018-01-21 20:07:21 liwakura: so you managed to get it to boot with / on nfs? 2018-01-21 20:29:22 kahiru: no 2018-01-21 20:29:36 network failure, i've given up by now 2018-01-21 20:29:42 :/ 2018-01-21 20:29:49 it would be nice to have 2018-01-21 20:30:37 in retrospective, its dumb to build systems booting in weird ways 2018-01-21 20:31:03 because nobody really tests for it if its too exotic 2018-01-21 20:34:15 true 2018-01-21 20:41:04 does anybody here know the position of sqlite databases for the package search online view? 2018-01-21 20:41:48 are they public? 2018-01-21 20:42:55 <_ikke_> I don't think they are 2018-01-21 20:44:04 hnn 2018-01-21 20:44:19 can I ask, who is responsible for those? 2018-01-21 20:44:40 <_ikke_> clandmeter I believe 2018-01-21 20:44:44 <_ikke_> at least, he's working on it 2018-01-21 20:45:17 thanks a lot 2018-01-21 20:47:33 clandmeter: I currently try to do my first coding project: A parser from Pacmans PKGINFO files into your database for the package viewer. The background behind this is, that KaOS, my favorite Distribution, is sitting on one server with an outdated OS, simply for the reason because their online viewer for the packages is in plain old PHP. We want to switch that 2018-01-21 20:47:58 This is the old viewer. http://kaosx.tk/packages/ 2018-01-21 20:48:39 <_ikke_> What's wrong with plain-old-php? :-) 2018-01-21 20:48:47 its the server 2018-01-21 20:49:06 All the infrastructre is running on the own OS 2018-01-21 20:49:12 except this one 2018-01-21 20:49:32 the own OS is rolling, so PHP is long time outdated there 2018-01-21 20:49:33 <_ikke_> Because you don't have PHP? 2018-01-21 20:49:52 dont ask me, why she isnt compiling it for this specific case, I dont ask such things anymore 2018-01-21 20:49:58 she is a genius and I trust her 2018-01-21 20:50:01 <_ikke_> Isn't it quicker / easier to make the pkgdb working on your own OS? 2018-01-21 20:50:15 I, on the contrary, am a newbie and like to make her a little joy 2018-01-21 20:50:28 _ikke_: What you mean with pkgdb? 2018-01-21 20:50:33 <_ikke_> Whatever you currently have 2018-01-21 20:50:40 Do you think a parser is that tricky? 2018-01-21 20:50:44 I will do that 2018-01-21 20:50:56 I dont know about the current implementation 2018-01-21 20:51:04 I want use your turbo 2018-01-21 20:51:07 <_ikke_> The question is if they are a good match 2018-01-21 20:51:08 its awesome 2018-01-21 20:51:13 clean, quick and save 2018-01-21 20:51:17 yah 2018-01-21 20:51:19 why not? 2018-01-21 20:51:24 both are very similar 2018-01-21 20:51:27 <_ikke_> Not sure if it requires some data that you don't get through PGKINFO 2018-01-21 20:51:38 <_ikke_> Or if it's pretty generic 2018-01-21 20:51:47 if I can inject APK package info into your sqlite system, I can do the same with PKGINFO 2018-01-21 20:52:01 I hope so 2018-01-21 20:52:04 lets ask :) 2018-01-21 20:52:20 why should it need any superflous data? 2018-01-21 20:52:47 <_ikke_> Who sais anything about superfluous 2018-01-21 20:53:05 which data do you consider? 2018-01-21 20:53:12 which isnt in PKGINFO 2018-01-21 20:53:21 both formats are very similar, yeah? 2018-01-21 20:53:28 so I am lucky 2018-01-21 20:53:35 hope so 2018-01-21 20:53:47 seems clandmeteris off 2018-01-21 20:53:54 <_ikke_> I'm not aware of any specifics, just wondering it 2018-01-21 20:54:03 I will wait in the channel, thanks a lot for your help :) 2018-01-21 20:54:08 thanks a lot 2018-01-21 20:54:45 I guess its simple and straightforward 2018-01-21 20:55:40 <_ikke_> https://github.com/alpinelinux/aports-turbo/blob/master/config.sample.lua#L25 2018-01-21 20:55:52 <_ikke_> You can set this variable to true to let it initialize the DB 2018-01-21 20:56:23 ok? 2018-01-21 20:56:54 so I simply build this one with the trigger on? 2018-01-21 20:57:00 thanks a lo 2018-01-21 20:57:00 <_ikke_> here is the schema: https://github.com/alpinelinux/aports-turbo/blob/master/tools/import.lua#L73 2018-01-21 20:57:02 lot 2018-01-21 20:57:04 kk 2018-01-21 20:57:05 ^^ 2018-01-21 20:57:07 great 2018-01-21 20:57:25 oh perfect 2018-01-21 20:57:32 thats easier as I thought 2018-01-21 20:57:54 So TEXT means string basically 2018-01-21 20:58:01 <_ikke_> yes 2018-01-21 20:58:10 this seems very doable 2018-01-21 20:58:20 so I will get my sqlite out of this? 2018-01-21 20:58:42 very exciting ^-^ 2018-01-21 20:58:46 <_ikke_> Yeah, easiest is to just extract the queries and run it on a new DB 2018-01-21 20:59:47 extract the queries from PKGINFO, you mean? 2018-01-21 21:00:03 <_ikke_> From that import script 2018-01-21 21:00:45 I thought fork and edit? 2018-01-21 21:00:50 and then build? 2018-01-21 21:00:54 I am a beginner 2018-01-21 21:00:56 fwiw sqlite doesn't strictly enforce types :p you can put a string in an INTEGER and whatnot 2018-01-21 21:00:58 <_ikke_> Yeah, that can work too 2018-01-21 21:01:08 Ah, I see 2018-01-21 21:01:09 at least if its not a key 2018-01-21 21:01:11 ok, fine 2018-01-21 21:01:16 thanks a lot ^-^ 2018-01-21 21:01:22 very helpful community 2018-01-21 21:16:58 for what is the mailer? 2018-01-21 21:17:01 flags? 2018-01-21 21:17:10 <_ikke_> yeah, most likely 2018-01-21 21:18:32 thanks 2018-01-21 21:34:20 there are a couple of PRs untouched since about a month: https://github.com/alpinelinux/aports-turbo/pulls 2018-01-21 21:35:33 <_ikke_> clandmeter just worked on a bigger update 2018-01-21 21:36:08 I see 2018-01-21 21:36:12 nice :D 2018-01-21 21:36:16 which one? 2018-01-21 21:36:24 screenshots? 2018-01-21 21:36:28 <_ikke_> check pkgs.a.ao 2018-01-21 21:36:31 <_ikke_> pkgs.a.o 2018-01-21 21:37:58 what does it mean? 2018-01-21 21:38:54 <_ikke_> https://pkgs.alpinelinux.org 2018-01-22 04:04:33 JUST START WORKING 2018-01-22 04:04:46 like OOWWBOONTOO 2018-01-22 05:50:54 Dose anyone use ib with alpine before ? 2018-01-22 05:51:28 I can not do ibnetdiscover, always got the error ibwarn: [56529] mad_rpc_open_port: client_register for mgmt 1 failed 2018-01-22 05:53:28 State: Active , Physical state: LinkUp, https://pastebin.com/nRzLD6U2 2018-01-22 05:53:49 Use infiniband-diags from edge 2018-01-22 13:50:57 hey guys. new to alpine linux and trying to figure out if i can customize one of it's live cds. 2018-01-22 13:51:22 what do you want to change there? 2018-01-22 13:52:21 i'd like to have a light kvm host with x11/wayland and the hability to run virt-manager and manage the vm's from the host itself 2018-01-22 13:53:49 i'm adding x11/wayland just because of virt-manager but if there's a framebuffer vnc client in the repos maybe i don't need it 2018-01-22 13:55:15 and i need it to be a live image running from a cd or usb stick 2018-01-22 13:56:02 have you read this wiki page https://wiki.alpinelinux.org/wiki/How_to_make_a_custom_ISO_image_with_mkimage ? 2018-01-22 13:56:54 It sounds like you might just want diskless mode 2018-01-22 13:57:01 See "diskless mode" on https://wiki.alpinelinux.org/wiki/Installation 2018-01-22 13:57:05 ^ or this 2018-01-22 13:57:08 You can do a diskless install to a USB stick 2018-01-22 14:00:43 yea, diskless mode seems interesting. i'll investigate further and report back if i have more questions 2018-01-22 14:01:13 any of you guys know if there's a vnc client that we can run from the cli using framebuffer? 2018-01-22 14:01:47 i'd like to go as light as i can and with as hardened install as possible 2018-01-22 14:02:13 How would that help? You'd still need something like Xvnc in order to run X clients, at which point you might as well just run X normally 2018-01-22 14:02:17 <_ikke_> ssh is much lighter :P 2018-01-22 14:02:27 <_ikke_> but how would vnc over a framebuffer look like? 2018-01-22 14:02:55 I've used directvnc before (on Debian and not Alpine), and it kind of works, but is extremely buggy 2018-01-22 14:03:05 It uses directfb to write graphical images to the Linux framebuffer 2018-01-22 14:03:43 <_ikke_> I found framebuffer-vncserver, but that appears to be read-only 2018-01-22 14:04:11 <_ikke_> There is a remote framebuffer protocol 2018-01-22 14:04:35 remote? 2018-01-22 14:04:41 rdp? 2018-01-22 14:04:52 <_ikke_> no, literally, Remote Framebuffer Protocol 2018-01-22 14:04:58 hmmm 2018-01-22 14:05:06 <_ikke_> But it's old 2018-01-22 14:05:15 darned 2018-01-22 14:05:59 <_ikke_> ah, apparently vnc does use RFB 2018-01-22 14:06:04 yea 2018-01-22 14:06:12 that's what i was reading too 2018-01-22 14:41:11 I'm having issues setting capabilities in a package. Is executing setcap in .post-install the correct way? 2018-01-22 14:47:50 ah, it seems I need to copy my .post-install to .post-upgrade and keep them in sync 2018-01-22 14:48:17 kpcyrd, why not setcap in package() ? apk tracks them 2018-01-22 14:48:50 fabled: that would be even better, thanks 2018-01-22 14:51:02 BTW kpcyrd, post-upgrade script can be a symlink to post-install (or vice versa, but it would be kind of backwards IMHO) 2018-01-22 14:51:27 no need for two copies if they are the same 2018-01-22 14:51:46 true 2018-01-22 14:52:29 is there a common way to publish APKBUILDs for software that is still too experimental for a pull request on aports? 2018-01-22 14:53:10 as long as it works, it's rather ok for testing/ 2018-01-22 14:55:39 pull requests are reviewed to some extent, so some issues can be discovered early. and if there will be still issues making it not work fully correctly, they can be always fixed while package is already in testing/ as it's AL's staging area for packages 2018-01-22 14:57:14 s/if there will be still issues/& not discovered during review,/ 2018-01-22 15:01:18 I'm less worried about the build itself, but the software I'm writing is still alpha software. I think I'm going to wait a few releases regardless and then try to submit my build to testing. 2018-01-22 17:21:03 hello 2018-01-22 17:21:55 is the spectre/meltdown patch still not in stable or is there just some delay in the web package browser? 2018-01-22 17:22:14 there is no spectre patch. the flaw is basically unfixable 2018-01-22 17:23:06 hmm 2018-01-22 17:23:19 but what about meltdown 2018-01-22 17:26:55 like, bugs like that should be fixed in the hardware 2018-01-22 17:27:12 ilmaisin: instead of bugging us for an newer kernel version, you could bug intel for better processors 2018-01-22 17:27:17 would make more sense probably 2018-01-22 17:28:03 sublevel 76 or 77 brings the fuckwit remap, other than that, there aren't much options 2018-01-22 17:28:47 (spectre is unlikely to be fixed in hw any time soon) 2018-01-22 17:30:32 correct 2018-01-22 17:30:37 meltdown is mitigated by kpti 2018-01-22 17:30:44 which iirc is enabled in newer kernel versions on alpine 2018-01-22 17:30:54 danieli: not yet 2018-01-22 17:31:23 or wait, i think it is 2018-01-22 17:31:45 iirc it was, saw something about it in my mailbox a week ago or so 2018-01-22 17:31:59 ah, vanilla likely has it, hardened is still lagging behind 2018-01-22 17:32:32 my sublevel numbers were related to the 4.9 branch, which i incorrectly assumed as omnipresent in alpine 2018-01-22 17:39:49 liwakura: 1) it's very unlikely for every intel processor in the world to be recalled and replaced 2) slow security updates are very worrying even if hardware was perfect, as kernel in itself has sometimes security flaws 2018-01-22 17:41:12 so, someone could bump hardened then, we are already 4 sublevels behind 2018-01-22 17:43:07 I imagine Intel will at some point come up with some firmware patches that might help a bit as well, but they're not doing a good job at communicating their plans 2018-01-22 17:43:28 and yes, I know the problem is not perfectly fixable that way either 2018-01-22 17:45:10 hi! 2018-01-22 17:57:24 for running Alpine on an AMD G-series based router, what are arguments pro/contra the "Standard" or the "Extended" image? 2018-01-22 17:59:31 standard is smaller, but it doesn't include as many packages 2018-01-22 18:03:04 liwakura: what about running from RAM? why would i want or not want that? 2018-01-22 18:04:01 Both images can set up an installation to run from RAM or from disk 2018-01-22 18:04:14 I'm not sure what "runs from RAM" means on the download page, actually 2018-01-22 18:04:20 oh! the wording on https://alpinelinux.org/downloads/ sounded much different than that! 2018-01-22 18:04:28 thank you! 2018-01-22 18:04:29 Yes, I've been confused by that before 2018-01-22 18:04:34 Maybe one of the developers can explain it better 2018-01-22 18:04:37 ACTION goes and downloads "standard" 2018-01-22 18:04:44 pardis: actually, im not aware of any alpine installer not running from ram 2018-01-22 18:05:20 like, if root= specified, than boot an installed system, if no root= specified, then run in ram, using apk_repo 2018-01-22 18:05:25 indeed i thought that wording was not about the installer but about the installed system running from ram or not 2018-01-22 18:06:53 i'd claim you can setup every kind of system from every installer 2018-01-22 18:07:15 the installers just differ in what they use themselves and what packages they ship 2018-01-22 18:08:11 liwakura: and does the Standard image include a grsec patched kernel? 2018-01-22 18:10:26 rapha: i'd say yes, but im not too sure 2018-01-22 18:10:34 extended seems to have all kernel flavors 2018-01-22 18:14:38 rapha: Yes, it does 2018-01-22 18:14:53 Technically it's not a grsec kernel anymore, it's an unofficial grsec-based patch 2018-01-22 18:15:47 well that's fine, that seems to be what one wants :-) 2018-01-22 18:15:50 ACTION dd's USB stick 2018-01-22 18:17:01 now comes the hard part probably, getting that USB stick to enable serial console 2018-01-22 18:17:26 <_ikke_> shouldn't be that hard 2018-01-22 18:17:50 <_ikke_> rapha: https://wiki.alpinelinux.org/wiki/Enable_Serial_Console_on_Boot 2018-01-22 18:18:26 oh! cool! 2018-01-22 18:18:59 Note also that the "virtual" ISO has serial console enabled by default, in case you're installing in a VM 2018-01-22 18:19:17 why is there a grub.cfg on the usb stick if its using syslinux? 2018-01-22 18:19:22 But don't use that on real hardware, it doesn't have drivers for real devices 2018-01-22 18:19:32 It uses syslinux for MBR booting and GRUB for UEFI 2018-01-22 18:19:35 pardis: nope, real steel here. APU2c4. 2018-01-22 18:19:42 s/MBR booting/BIOS booting/ 2018-01-22 18:20:16 (thankfully no UEFI on this baby) 2018-01-22 19:14:39 okay, finally got the alpine stick booted via serial, but something is messed up and what i type is not echoed on screen ... is there a fix for that? 2018-01-22 19:15:01 (connecting from an old ThinkPad T23 via `screen /dev/ttyS0 115200,cs8`) 2018-01-22 19:15:23 do you get any output at all? 2018-01-22 19:15:50 like, does your typing have effect (only echo missing) or does it just ignore inputs? 2018-01-22 19:16:01 liwakura: yes, bootup looked wonderful, but entering "root" at the login prompt was not repeated back to me, i.e. ignored 2018-01-22 19:16:14 ah wait, no, not ignored in that sense 2018-01-22 19:16:17 it's just not echoed 2018-01-22 19:16:50 but ever since i pressed "enter" after having typed "root", now any output is messed up. i tried "reset" but that doesn't help either. 2018-01-22 19:17:24 hmm okay using the tab key i do get some garbled echo 2018-01-22 19:17:47 what does the garbling look like? 2018-01-22 19:18:19 difficult to describe ... it's as if the terminal thought that it had only one line, and a pretty short one at that. 2018-01-22 19:18:51 "localhost:~# ost:~# setost:~# " after starting to type "setup" 2018-01-22 19:19:08 (i.e. typing "set" and pressing tab once) 2018-01-22 19:20:30 hmm maybe it's not that much of a problem liwakura ... it seems i'm getting through setup-alpine half-blind pretty much okay 2018-01-22 19:22:18 Is your terminal baud rate set correctly? 2018-01-22 19:22:50 115200 in syslinux.conf and 115200 for screen (that's what the machine's BIOS uses, so i stuck with it instead of 9600) 2018-01-22 19:23:10 Ah, ok 2018-01-22 19:23:11 used to work in Debian, too 2018-01-22 19:23:14 I'm out of ideas then :) 2018-01-22 19:23:32 i'll just try to get through until i have SSH 2018-01-22 19:23:43 s/through/by 2018-01-22 19:23:53 rapha: stty would be useful to change terminal settings 2018-01-22 19:24:06 just what to liwakura :) 2018-01-22 19:24:07 but i dont know which setting to change ^ 2018-01-22 19:24:16 yeah... 2018-01-22 19:29:37 lol, minicom starts out fine but then gives up on displaying things somewhere in the middle of booting linux 2018-01-22 19:37:41 hah+ 2018-01-22 19:38:11 liwakura: rebooted the T23, stty 115200, minicom, restarted APU. now it works like a charm! 2018-01-22 19:38:24 oh, its an APU :3 2018-01-22 19:38:30 APU2 :) 2018-01-22 19:40:26 liwakura: how many do you have? :) 2018-01-22 19:40:50 ACTION has discovered that they tend to reproduce somehow 2018-01-22 19:42:34 rapha: none 2018-01-22 19:42:48 im mostly using used thinkpads 2018-01-22 19:43:00 and remnants of other laptops put together 2018-01-22 19:44:38 oh i loved doing that, used thinkpads as servers 2018-01-22 19:45:07 this here is 16 people sharing 1 internet connection though. that needed some beef and more than 1 nic 2018-01-22 19:56:19 hah! aaand we have internet 2018-01-22 19:58:35 wow the installer is lovely so far 2018-01-22 20:53:08 ... until the download server gives trouble 2018-01-22 20:53:23 did you use dl-cdn 2018-01-22 20:53:58 kaniini: no, i keep choosing servers in europe and it keeps complaining about not finding someone on one of the servers i did *not* choose (the RWTH Aachen one) 2018-01-22 20:54:20 weird. try using dl-4 2018-01-22 20:54:41 okay, first got to reboot ... i couldn't manage to unmount the new system 2018-01-22 21:00:06 hehhee, 'Torvalds declares Intel fix for Meltdown/Spectre "complete and utter garbage"' 2018-01-22 21:01:02 surprise! 2018-01-22 21:01:21 i was a little disappointing because i was hoping for more swear words 2018-01-22 21:01:27 disappointed* 2018-01-22 21:05:20 kaniini: dl-4 worked flawlessly 2018-01-22 21:17:26 hmm 2018-01-22 21:21:41 how does pwunconv/pwconv work in Alpine? 2018-01-22 21:31:00 huh? "apk add shadow - ERROR: unsatisfiable constraints"? 2018-01-22 21:58:45 broken dependencies 2018-01-22 21:59:11 TBB: intel purposely confused meltdown and spectre to dampen the public response 2018-01-22 22:00:00 no surprise there, exemplary crowd management 2018-01-22 22:05:12 TBB: remember the F00F bug? 2018-01-22 22:05:15 they handled it similarly 2018-01-22 22:05:32 intel don't deal well with them and their major fuckups being in the spotlight 2018-01-22 22:19:28 indeed 2018-01-22 22:27:06 AMD marketing needs to heat this up for the next 5 years 2018-01-22 22:27:23 they can't bbecause they're also vulnerable 2018-01-22 22:27:29 not as much though 2018-01-22 22:27:36 and I've heard their fix actually works 2018-01-22 22:27:52 only one small part (meltdown) is intel-specific and it's a stupid implementation bug (bypass of mmu permissions during speculation) 2018-01-22 22:27:53 they're not vulnerable to meltdown/fuckwit 2018-01-22 22:27:53 but I admit I haven't read much about meltdown/spectre yet 2018-01-22 22:27:58 only to spectre, which most vendors are vulnerable to 2018-01-22 22:28:10 the rest are fundamental design flaws in the foundations of speculative execution 2018-01-22 22:28:15 read this: s 2018-01-22 22:28:18 ugh dammit 2018-01-22 22:28:18 and there are no easy fixes 2018-01-22 22:28:22 https://lkml.org/lkml/2017/12/27/2 2018-01-22 22:29:01 Hello, I’m trying to boot a custom linux kernel built with config defined in aports/main/linux-vanilla/config-vanilla.armhf 2018-01-22 22:29:03 yes that's about meltdown 2018-01-22 22:29:05 see above: 2018-01-22 22:29:09 TBB: intel purposely confused meltdown and spectre to dampen the public response 2018-01-22 22:29:28 indeed 2018-01-22 22:29:34 basically all oooe cpus are affected by spectre 2018-01-22 22:29:38 including the riscv boom 2018-01-22 22:29:39 It does not work, and boot freeze after uboot starts kernel (message “Starting kernel…”) 2018-01-22 22:29:41 yep 2018-01-22 22:30:13 Are there any known config which may bring issues ? 2018-01-22 22:30:23 that may* 2018-01-22 22:30:31 anyway 2018-01-22 22:30:46 the reason it's hard for AMD or anyone to leverage this against intel is that their brokenness is comparable 2018-01-22 22:31:09 they were all scrambling 2018-01-22 22:31:12 if you measured on a scale of 0 to 100, it's not like they're only 10% bad and intel is 90% bad 2018-01-22 22:31:19 it's like 89% and 90% 2018-01-22 22:31:36 the difference between being affected by meltdown or not is inconsequential in the scheme of spectre 2018-01-22 22:32:00 shellshock was easier to exploit and easier to access, essentially worked as RCE 2018-01-22 22:32:08 i'd say it was more severe than this 2018-01-22 22:32:23 when spectre / meltdown are weaponized and made easily accessible, it might be a different case 2018-01-22 22:33:04 we should probably take this to #alpine-offtopic 2018-01-22 22:51:00 kaniini: in case it's important to you, right now neither dl-4 nor dl-cdn work for me 2018-01-22 22:51:25 oh wait, my own fault 2018-01-22 22:59:13 danieli, shellshock is not comparable. it was a software flaw in software that was being used wrongly and was not affected unless used wrongly 2018-01-22 22:59:31 alpine was not vulnerable in any normal configuration because /bin/sh is ash not bash 2018-01-22 23:31:05 dalias: what's an oooe cpu? 2018-01-22 23:37:55 out of order exec 2018-01-22 23:44:04 why is alpine still using openrc 0.24.1? 2018-01-22 23:44:25 just no one has updated it or any particular reason 2018-01-23 00:57:15 lol alpine is awesome ... so much stuff installed and the whole system still weighs in at 600MB only 2018-01-23 01:01:40 <3 alpine 2018-01-23 01:06:27 sircmpwn: openrc has kinda moved in a direction we don't want to go :) 2018-01-23 01:09:03 fair enough 2018-01-23 01:09:08 I'm working on replacing it on my own system anyway 2018-01-23 01:52:19 i wonder what'll happen to net.ipv4.conf.all.log_martians once Elon Musk lands on Mars 2018-01-23 01:55:19 *snort* 2018-01-23 01:55:20 thats awful 2018-01-23 02:05:50 :-D 2018-01-23 02:05:59 where are triggers stored on the filesystem 2018-01-23 02:06:03 apk triggers 2018-01-23 02:22:57 kaniini, is there any writeup on what that direction is and why you don't want to go there? 2018-01-23 02:23:27 i have no position on this at the moment and just want to understand alpine's goals/direction here 2018-01-23 02:38:40 does anyone know where the gcc (libgomp specifically) dbg packages are? 2018-01-23 03:48:27 Just theme test 2018-01-23 05:47:31 dalias: of course it's not directly comparable 2018-01-23 05:48:01 but they share the common trait they're vulnerabilities, and one is way easier both to exploit and wrap your head around 2018-01-23 07:14:32 For HTML5 video streams, do I need to get gstreamer and/or FFMpeg or something? I am trying live video on YouTube off Firefox 57.0.3. 2018-01-23 07:19:45 brb 2018-01-23 07:46:42 I am a bit dissapointed of the lack of manpages in alpine 2018-01-23 07:46:54 even with doc packages installed most packages dont seem to have any manpages 2018-01-23 07:52:52 People don't package them properly I think. 2018-01-23 07:56:05 Does Spotify or Spotify web work on this? 2018-01-23 07:56:48 It's almost a deal breaker to say on this distro. 2018-01-23 07:57:20 not sure, but spotify is CEF based 2018-01-23 07:57:21 I can test 2018-01-23 07:57:52 It works on Arch Linux for sure. 2018-01-23 07:58:08 Maybe on vanilla kernel huh 2018-01-23 07:58:40 Oh I forgot the musl thing 2018-01-23 08:02:26 nepugia: man() { w3m http://manpages.ubuntu.com/cgi-bin/search.py?q=$1; } 2018-01-23 08:02:27 ;P 2018-01-23 08:02:52 pfft 2018-01-23 08:03:15 could just aswell use man on my bsd machine then, surely they will be compatible mostly 2018-01-23 08:03:24 ye 2018-01-23 08:03:27 still... e.g i installed cmake and cmake-doc 2018-01-23 08:03:32 man cmake gives me nothing 2018-01-23 08:04:17 mh... cmake-doc doesn't contain any manpages 2018-01-23 08:04:27 See `apk info -L cmake-doc` 2018-01-23 08:08:32 <_ikke_> Only contains copyright apparently 2018-01-23 08:09:26 ... wow 2018-01-23 08:09:36 not enough manpages :3 2018-01-23 08:18:43 <_ikke_> does cmake even have man pages? 2018-01-23 08:18:48 <_ikke_> I try to find it in the source 2018-01-23 08:21:28 welll... of course it has man pages 2018-01-23 08:22:41 <_ikke_> Yeah, found them 2018-01-23 08:23:01 <_ikke_> The question is if make install installs them 2018-01-23 08:23:10 <_ikke_> Because if they would, they would end up in the doc package 2018-01-23 08:23:57 so... ill assume that any missing manpage is a bug then :3 2018-01-23 08:24:15 some software has a seperate make install-docs (like qt... i think) 2018-01-23 08:25:04 <_ikke_> Apparently it writes them to ${CMAKE_DATA_DIR} 2018-01-23 08:25:54 <_ikke_> So they are just *.rst files, not man pages 2018-01-23 08:26:17 <_ikke_> https://pkgs.alpinelinux.org/contents?file=&path=%2Fusr%2Fshare%2Fcmake%2FHelp%2F*&name=cmake&branch=edge&repo=main&arch=x86_64 2018-01-23 08:26:27 Streaming is broken on firefox 57.0.3. It works on Chromium. 2018-01-23 08:27:16 This https://www.youtube.com/watch?v=-nez5fZbXXQ doesn't work on Firefox. 2018-01-23 08:30:21 I will try to fix it 2018-01-23 08:32:53 <_ikke_> nepugia: I don't see anything that generates man pages in the source 2018-01-23 08:33:16 :/ 2018-01-23 08:33:36 i know i have manpages on FreeBSD, but i really havent tried to figure out why i have them :p 2018-01-23 08:36:39 still trying to figure out how to build kde5 on alpine :3 2018-01-23 08:36:42 <_ikke_> nepugia: Ok, just peeked at how Arch does it 2018-01-23 08:36:57 nepugia: please let me know if you manage to do it 2018-01-23 08:37:08 i already have qt compiled and installed in a custom location... kdesrc-build doesnt seem to find or use it though, even though i have the location specified 2018-01-23 08:38:51 kahiru: will do 2018-01-23 08:41:17 lol the captcha drove me nuts 2018-01-23 08:41:42 for the wiki 2018-01-23 08:42:03 The first digit on the left or right? 2018-01-23 08:42:35 when you do the registration 2018-01-23 08:45:32 how can i set enviroment vairbales in ash? 2018-01-23 08:45:58 nepugia: same like on every POSIX-ly shell 2018-01-23 08:46:02 FOO=BAR 2018-01-23 08:46:07 setenv doesnt exist (gues i am used to csh too much), and set doesnt seem to do what i want (probably calling it wrong) 2018-01-23 08:46:36 liwakura: huh? i have some shells that are posix compliant but have no idea what that syntax is supposed to be 2018-01-23 08:47:07 VARIABLE_NAME="string foo bar" ? 2018-01-23 08:47:08 but thanks, that does work in ash 2018-01-23 08:47:36 it works for every bourne-like shell, which is like everything except csh and tcsh 2018-01-23 08:47:51 Stuff is standardized, http://pubs.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html 2018-01-23 08:48:08 Heh... i mainly use tcsh :p 2018-01-23 08:48:27 i am kind of missing the ne editor on alpine :/ 2018-01-23 08:50:45 just curious, why do you use tcsh? 2018-01-23 08:50:50 oh for fucks sake, i sure wish how i can turn off this bs, basically linux restores backlight to 100% if i unplug the power supply, or plug it in 2018-01-23 08:51:15 kahiru: works quite nicely and is preinstalled 2018-01-23 08:51:16 nepugia: im sure its some user-space tool that does it 2018-01-23 08:51:36 i can be quite sure that even if /usr/local gets completely wrecked my login shell will still work :) 2018-01-23 08:53:07 (that beeing on FreeBSD anyway^) 2018-01-23 08:53:19 liwakura: probably, still dont know what tool does it 2018-01-23 08:53:31 though ive had this issue on devuan too 2018-01-23 08:57:20 it seems to now correctly build kde, yay... though i will await the builds completeion before i celebrate 2018-01-23 09:08:53 neat 2018-01-23 09:21:49 Hmm, gues i still need to fix one thing, but it builds more than before now :3 2018-01-23 09:23:56 are you planning on packaging it eventually? 2018-01-23 09:27:34 i haven't really packaged for any os yet, maybe though :3, if i can figure it out :p 2018-01-23 09:27:48 alpine's packaging is really nice 2018-01-23 09:27:54 compared to let's say rpms... 2018-01-23 09:28:22 any build system is nice compared to rpms 2018-01-23 09:28:42 nah, deb packaging is rubbish as well 2018-01-23 09:29:00 dunno, its just an ar archive with some archives in it :p 2018-01-23 09:32:22 I meant the way how you describe the packages, how they should be built and what files should end where 2018-01-23 09:49:42 does alpine not have c99 compiler? 2018-01-23 09:49:58 i am trying to compile the ne editor and it seems to be missing that one 2018-01-23 09:51:43 gcc package contains /usr/bin/c99 2018-01-23 09:52:40 nope :/ 2018-01-23 09:52:48 atleast i have the gcc package installed, and dont get /usr/bin/c99 2018-01-23 09:53:39 yeah c99 is not in gcc 2018-01-23 09:53:47 I mean C99 support is 2018-01-23 09:53:52 oh, its only in edge 2018-01-23 09:53:58 yeah 2018-01-23 09:54:03 you can make the symlink yourself 2018-01-23 09:54:13 nepugia: ln -s /usr/bin/gcc /usr/local/bin/c99 2018-01-23 09:54:41 Well, that doesnt really tell gcc to use c99 standard though? 2018-01-23 09:56:48 ill try that though 2018-01-23 09:58:17 i thought it read its own program name 2018-01-23 09:58:18 may be wrong though 2018-01-23 09:58:23 o\\\\\o: that worked, thanks :) 2018-01-23 09:58:28 :) 2018-01-23 09:58:30 ACTION is now using ne 2018-01-23 09:58:46 this almost seems like a regression cause i thought we hadd c99... 2018-01-23 09:59:23 ha.. so ne not compiling on alpine linux was because of a missing symlink 2018-01-23 09:59:30 lol 2018-01-23 10:08:49 well i don't think it's canonically a symlink 2018-01-23 10:09:31 i dont know really, but it seems to have behaved enough like c99 to make the compile work 2018-01-23 10:09:35 if an inode gets unlinked and nobody's around to see it, does it make a sound? 2018-01-23 10:09:58 also nepugia typically you could just add -std=c99 to the CFLAGS 2018-01-23 10:10:00 and it'd work :p 2018-01-23 10:10:17 scv: no, that is what i tried first, that did not work 2018-01-23 10:10:20 really 2018-01-23 10:10:23 odd 2018-01-23 10:10:27 that is annoying 2018-01-23 10:10:40 (as in create a tiny shell script in ~/bin/c99 that calls gcc with -std=c99 and passes the args) 2018-01-23 10:11:10 guess that compile also passed arguments that gcc doesnt like normally 2018-01-23 10:11:27 that seems odd/unlikely 2018-01-23 10:11:39 exec gcc -std=c99 "$@" would normally work too 2018-01-23 10:11:44 yeah 2018-01-23 10:11:49 i don't think there's any difference in flags 2018-01-23 10:11:57 probably, i just ran "make" though 2018-01-23 10:12:01 the build called c99 2018-01-23 10:13:42 hmm, kdesrc now builds ~30 modules 2018-01-23 10:21:56 heh, alpine does not have pulseaudio packaged? 2018-01-23 10:22:03 good 2018-01-23 10:22:08 this is a no-lennart zone 2018-01-23 10:22:10 guess i wont accidently compile it into qt5 :3 2018-01-23 10:25:20 this is not a no-lennart zone 2018-01-23 10:25:27 we do i nfact package pulseaudio in testing 2018-01-23 10:27:11 ACTION boooes from a distance 2018-01-23 10:27:40 jk, i'd totally use systemd if there was an minimalistic distro using it 2018-01-23 10:27:52 boo all you want :) the only thing we'll do is not make it in any way mandatory or reliant to use 2018-01-23 10:28:09 using systemd would defeat the point of a minimalist distro, no? ;p 2018-01-23 10:28:20 >jk, i'd totally use systemd if there was an minimalistic distro using it 2018-01-23 10:28:21 aaarch linux? 2018-01-23 10:28:33 well systemd claims you can strip it down 2018-01-23 10:29:04 i don't really consider arch minimalist, but opinions may vary on that one 2018-01-23 10:29:59 ACTION plugs ears 2018-01-23 10:30:01 can't hear nananana 2018-01-23 10:30:16 i don't mind systemd as an init system but all the other crap is what i can't stand 2018-01-23 10:30:21 either way, that's a religious discussion for another time and place 2018-01-23 10:30:52 nepugia: arch doesn't consider itself minimalistic 2018-01-23 10:30:59 right 2018-01-23 10:31:13 lord knows there's already plenty of high-stake religious discussions without easy outcomes or solutions 2018-01-23 10:31:33 i'd rather not we'd fan the flames here, no matter what alpine or its users choose to do 2018-01-23 10:31:35 :) 2018-01-23 10:31:59 or its non-users, for that matter 2018-01-23 10:32:04 liwakura: anything where i need to specifiy which x11 input driver to install is minimalistic in my book 2018-01-23 10:32:42 nepugia: https://lists.archlinux.org/pipermail/arch-general/2015-July/039425.html 2018-01-23 10:32:43 that seems to confuse minimalist with subpar UX 2018-01-23 10:32:45 ;p 2018-01-23 10:33:13 nepugia: (follow up to the next message) 2018-01-23 10:33:25 as long as it's optional i don't care tbh 2018-01-23 10:33:29 i just like to rip on lennart 2018-01-23 10:33:44 there are parts of systemd i'd use if it was actually modular 2018-01-23 10:33:45 o\\\\\o: pfft, i like that :3 2018-01-23 10:34:01 i really like the idea of their network accounting system 2018-01-23 10:34:04 i only have the x11 drivers i need installed, atleast x11 wont choose the wrong one 2018-01-23 10:34:05 but alas 2018-01-23 10:34:08 totally deeply integrated 2018-01-23 10:34:16 like the one mapping a touchpad 1:1 to my screen 2018-01-23 10:34:23 loool 2018-01-23 10:36:50 on most systemd distros, the amount of packages depending on systemd and systemd libraries is insane 2018-01-23 10:37:05 there's a good reason debian had to be forked to get rid of it, or at least make it optional 2018-01-23 10:38:51 if it is correctly optional and the parts can be used indivivdually, i would surely use some... if they are superior to other solutions 2018-01-23 10:40:12 mm 2018-01-23 11:15:51 danieli: currently running on arch... the most "systemd" distro after fedora. Aaaand i cant even boot without systemd, kinda anoying to be said 2018-01-23 11:16:40 #alpine-offtopic 2018-01-23 11:40:30 I kind of begrudgingly managed to live with systemd until the day it told me basically "I don't give a damn about your root power, you're NOT shutting this system down" 2018-01-23 11:42:15 and that's a bit of a bad situation to be in, on a laptop with LUKS encrypted disk that you can only shut down from the power button, possibly corrupting the encryption... 2018-01-23 11:42:23 heh 2018-01-23 11:42:34 sync(1) 2018-01-23 11:42:47 the famous Stop job is running for "whatever unimportant nonsense"? 2018-01-23 11:43:01 [ 7 weeks / unlimited ]? 2018-01-23 11:43:04 <_ikke_> TBB: Hmmm? Never had any issues with that 2018-01-23 11:44:07 i avoided it as long as possible and within a few days of my first time using it i experienced it 1) going braindead and having pid1 "soft panic" by hanging in pause() 2) the shutdown fun and 3) background process nonsense 2018-01-23 11:44:09 that was enough for me 2018-01-23 11:44:27 systemd telling you it doesn't give a daaaaaamn or corrupting luks, ikke? :) 2018-01-23 11:45:18 <_ikke_> TBB: nope 2018-01-23 11:45:36 <_ikke_> running systemd + luks for years now 2018-01-23 11:45:40 Shiz, of course, but if you can't unmount and close in the proper order you'll risk the system doing write ops when aiming for the power button 2018-01-23 11:45:58 and trust me, that does happen sometimes :) 2018-01-23 11:46:03 gotta REISUB dat thang 2018-01-23 11:46:30 yup, if it's enabled, that's the way 2018-01-23 11:46:56 yeah had to do that at least once 2018-01-23 11:47:05 i ended up putting windows on this laptop :( just going to sell it 2018-01-23 11:47:21 i agree with danieli 2018-01-23 11:47:26 these are more subjects for -offtopic 2018-01-23 11:47:30 tru 2018-01-23 11:48:00 mm 2018-01-23 11:48:13 true that, the conversation just stopped immediately after -offtopic got mentioned :) 2018-01-23 16:41:46 what syntax does apk expect to add severall packages e.g all packages mathincg qt5-* 2018-01-23 16:42:53 <_ikke_> I don't think it supports wildcards 2018-01-23 16:44:21 :/ typing all those packages manually is a pain :p 2018-01-23 16:44:44 <_ikke_> apk add $(apk search qt5-) :P 2018-01-23 16:45:01 also, apk does not have manpages? 2018-01-23 16:45:18 <_ikke_> They are working on it, but for now apk -h | less would resemble one 2018-01-23 16:45:59 _ikke_ that doesnt quite work, since search also echoes the versions of the software 2018-01-23 16:46:12 and apdk add doesnt understand the version 2018-01-23 16:46:18 (notation^) 2018-01-23 16:47:09 <_ikke_> right 2018-01-23 16:47:16 hah, adding -q (for quit) works 2018-01-23 16:47:25 <_ikke_> quiet 2018-01-23 16:55:57 Yes, i ment quite :/ 2018-01-23 16:56:19 <_ikke_> lol 2018-01-23 16:56:40 <_ikke_> typing is hard, I know :-) 2018-01-23 16:56:44 quiet* 2018-01-23 16:57:02 Sorry, am not that good with spelling, or with typing ;) 2018-01-23 16:57:34 <_ikke_> My fingers often type faster than I can think 2018-01-23 18:02:07 hi ^-^ 2018-01-23 18:02:14 this here got added in Sep 16 2018-01-23 18:02:16 https://github.com/alpinelinux/aports-turbo/blob/master/config.sample.lua#L104 2018-01-23 20:09:05 Is there any way to get rsh and rsh-server (or something similar (NOT ssh))? 2018-01-23 20:09:14 I don't see it as an option in the repo 2018-01-23 20:11:13 <_ikke_> busybox-extras 2018-01-23 20:11:41 I'll give that a look, thanks 2018-01-23 20:12:04 if it's there, it's probably worth noting that it doesn't show that package with 'apk search rsh' 2018-01-23 20:13:23 Hmm, doesn't seem to be part of that either 2018-01-23 20:29:00 Telnetd works for what I need though, so I'm good there with extras, thanks for the recommend in any case since it works :) 2018-01-23 20:29:07 (needed it in docker to run remote commands) 2018-01-23 20:29:11 between containers 2018-01-23 20:50:34 <_ikke_> sounds bad 2018-01-23 20:59:18 There's no access to this container besides one with prewritten commands 2018-01-23 20:59:24 which is what I need to send 2018-01-23 22:34:13 how can I install openssl in addition to the standard libressl? 2018-01-23 23:10:56 hi anyone available to help me sort out some problems with efi and grub? 2018-01-23 23:13:46 depends on the issue you're having :p 2018-01-23 23:15:20 i created some logic volumes and ran the setup-disk script, 2018-01-23 23:16:20 it seemed like it went okay, so i tried to chroot to the new fs and install grub from there 2018-01-23 23:17:34 grub complains about not finding a grub disk where i created my efi partition and asks me to check device.map 2018-01-23 23:19:00 did you mount /dev, /proc and /sys in the chroot? 2018-01-23 23:19:07 yes 2018-01-23 23:21:56 am i wrong to assume that grub provides the efi binaries? 2018-01-23 23:22:50 do i need to flag the efi partition as bootable or something similar? 2018-01-23 23:25:56 I've got the boot and esp flags set on mine 2018-01-23 23:28:31 yeah i've got it on mine as well 2018-01-23 23:30:37 do i need to mess with efibootmgr? 2018-01-23 23:32:14 I see no reason why you'd need to. grub should install just fine even if adding boot entries fail 2018-01-23 23:32:26 do you have grub-efi installed in the target system? 2018-01-23 23:32:35 apparently that's a seperate package on alpine 2018-01-23 23:33:26 yes 2018-01-23 23:37:35 how or you mounting your esp partition? 2018-01-23 23:38:25 mount 2018-01-23 23:39:50 ahhh my brain's shutting down for the night 2018-01-23 23:39:59 what I meant to ask is where you're mounting it 2018-01-23 23:39:59 yeah mine is as well 2018-01-23 23:40:35 i'm mounting it at /mnt/boot 2018-01-23 23:42:25 e.g. grub-install --target=x86_64-efi --efi-directory=esp_mount ? 2018-01-23 23:42:39 oh ffs 2018-01-23 23:42:46 yeah seems right 2018-01-23 23:42:46 irc interpreted the last message as a command 2018-01-23 23:45:11 :/ 2018-01-23 23:46:52 i think this problem needs to be solved another day, i'm too tired atm 2018-01-23 23:46:58 yeah i'm getting critically low battery alerts from my brain, so I'm heading to bed 2018-01-23 23:47:35 yeah, thanks for the help! good night 2018-01-23 23:47:45 I can take another look tomorrow when I've recharged if you wish 2018-01-23 23:47:48 yeah np, good night 2018-01-24 02:17:25 can someone explain to me how they setup their alpine install in diskless mode? I still don't understand the instructions on the wiki. After booting up to a USB, running setup-alpine and saying "none" to all storage options (which to me seems how to enable diskless mode), Where should I then save my lbu commits and apkcache? I just wnat to understand how other people are using it in this mode 2018-01-24 03:05:30 I meet this problem in docker https://github.com/gliderlabs/docker-alpine/issues/8 dns resolve is too slow, about 2.5s, how can I resolve this ? 2018-01-24 03:05:49 alpine host is 3.7, docker cotainer is 3.6 2018-01-24 03:18:09 @Guest72778 boot from usb, then setup-interface, setup-repository, setup-disk, choose sys 2018-01-24 03:20:43 does anyone know where python scripts and libraries are installed? 2018-01-24 05:30:25 <_ikke_> koldbrutality: /usr/lib/python/site-packages ? 2018-01-24 08:09:53 Microcode related, just realised where actually Kaby Lake is located: https://en.wikipedia.org/wiki/Microsoft_Knowledge_Base 2018-01-24 08:13:50 <_ikke_> sorry, I fail to see the connection 2018-01-24 08:18:11 It's a lake of KBs. 2018-01-24 10:02:15 o_O 2018-01-24 10:57:02 i need help getting a program to work with musl instead of gcc 2018-01-24 10:57:23 this works fine in musl but it segs in musl does anyone have any idea why this might seg fault on musl https://paste.pound-python.org/show/a3EWqCNprI6akWe1SyhE/ 2018-01-24 10:57:29 fine in gcc* 2018-01-24 10:58:09 this works fine in gcc but it segs in gcc-musl https://paste.pound-python.org/show/a3EWqCNprI6akWe1SyhE/ * 2018-01-24 10:58:17 musl-gcc * 2018-01-24 12:03:08 I need to be able to choose the version of ruby I am using ... 2018-01-24 12:04:06 is there a way to add an overlay repoistory with packages alternative versions ... 2018-01-24 12:05:16 really I think I need to be able to mask out the ruby... and some other packages that depend on it from main ... then provide another repo with the alternative ruby ... 2018-01-24 12:05:29 is there another way I might be able to achive this ... 2018-01-24 12:06:39 <_ikke_> errm_: I would build prefixed ruby version that you can install side-by-side 2018-01-24 12:06:43 <_ikke_> versions* 2018-01-24 12:07:05 <_ikke_> Not sure how the tooling around ruby handles that though 2018-01-24 12:08:29 ah ha, yeah I could build packages that installed ruby in some other path /opt or somesuch then just foo about with PATH to make sure the correct one gets used ... 2018-01-24 12:08:45 <_ikke_> doesn't have to be /opt 2018-01-24 12:09:12 yeah just somewhere that doesn't conflict with the standard package 2018-01-24 12:09:28 <_ikke_> just append the version 2018-01-24 12:09:40 <_ikke_> I most of ruby already is capable of handling that 2018-01-24 12:09:54 <_ikke_> /lib/ruby/2.5.0 2018-01-24 12:14:10 I guess I could also use one of the ruby version switching tools perhaps ... 2018-01-24 12:14:50 humm they all require bash though ... 2018-01-24 12:59:18 good morning - is there any way to get an Alpine box to re-read /etc/inittab without rebooting? 2018-01-24 13:01:20 ah, "kill -HUP 1" looks promising :) 2018-01-24 16:20:46 Can someone help to install composer in an alpine docker? apk update && apk add composer results into ERROR: unsatisfiable constraints: composer (missing): required by: world[composer] 2018-01-24 16:24:37 "unsatisfiable constraints" => "package doesn't exist" 2018-01-24 16:24:47 at least in this context 2018-01-24 16:25:06 $ docker run --rm -it alpine:edge apk --no-cache search composer 2018-01-24 16:26:44 does /etc/apk/repositories contain the repos composer is in? 2018-01-24 16:26:50 and was apk update done at some point? 2018-01-24 16:27:09 i run apk update ebfore apk add 2018-01-24 16:27:13 composer is currently only on edge/testing 2018-01-24 16:27:22 ah 2018-01-24 16:27:22 which means? 2018-01-24 16:27:31 https://pkgs.alpinelinux.org/packages?name=composer 2018-01-24 16:27:45 Iceflower: that you need the edge/testing repo in /etc/apk/repositories 2018-01-24 16:27:53 how can i add it? 2018-01-24 16:27:58 just edit the config file? 2018-01-24 16:28:02 ye 2018-01-24 16:28:07 ok i try thanks :) 2018-01-24 16:28:08 Iceflower: change your alpine image to pull from edge and add http://dl-cdn.alpinelinux.org/alpine/edge/testing/ to /etc/apk/repositories 2018-01-24 16:30:26 adding it to the config file installed it :) 2018-01-24 18:57:44 Trying to install alpine on a Raspberry Pi 3, I fail: https://wiki.alpinelinux.org/wiki/Raspberry_Pi tells me to run alpine-setup and all of that works (on a single fat partition), but after rebooting the screen stays black 2018-01-24 18:59:48 or is the installation instructions from https://wiki.alpinelinux.org/wiki/Classic_install_or_sys_mode_on_Raspberry_Pi are necessary? (they do state older versions, and also do sys mode, which i actually not want) 2018-01-24 19:00:11 The splash screen (when actiaveted manually) does show up upon boot, but nothing else 2018-01-24 20:15:00 ok one thing i hate in alpine... 2018-01-24 20:15:15 if i "apk upgrade" without rebooting afterward and the kernel happened to get upgraded... 2018-01-24 20:15:23 the old kernel modules directory has been deleted 2018-01-24 20:15:33 and usb devices inserted silently fail to work because the modules are missing 2018-01-24 20:15:37 is there an existing issue on it? 2018-01-24 20:15:46 (bugtracker) 2018-01-24 20:15:58 <_ikke_> danieli: not a alpine specific problem 2018-01-24 20:16:00 is there any way to apk not to delete kernel module dirs ever, or to defer deleting them until reboot? 2018-01-24 20:16:00 <_ikke_> danieli: * 2018-01-24 20:16:07 <_ikke_> doh 2018-01-24 20:16:08 <_ikke_> dalias: * 2018-01-24 20:16:14 <_ikke_> arch has the same issue 2018-01-24 20:16:19 what's the root cause? 2018-01-24 20:16:26 it is distro-specific -- it's a package manager bug 2018-01-24 20:16:40 the package manager deletes the old version's modules despite it still being running (until reboot) 2018-01-24 20:17:24 sounds like something to do with package manager hooks 2018-01-24 20:17:26 <_ikke_> danieli: the old package gets removed 2018-01-24 20:17:48 does apk have any way to run a task on boot? 2018-01-24 20:17:57 like defer removing active kernel modules until after next boot 2018-01-24 20:21:16 <_ikke_> Don't think so 2018-01-24 20:21:22 hmhm 2018-01-24 20:21:28 one easy solution would be not putting the module files directly in /lib/modules/$version 2018-01-24 20:21:37 <_ikke_> would probably be an @boot cron job or something 2018-01-24 20:21:38 <_ikke_> or a service 2018-01-24 20:21:51 but instead making /lib/modules/$version a temp dir where the current kernel version's modules get copied on boot 2018-01-24 20:21:56 of course that would harm boot time bad 2018-01-24 20:22:03 instead of copy, hardlink maybe 2018-01-24 20:22:12 then rm'ing the package would not delete them 2018-01-24 20:23:26 could mention to the core devs, shouldn't be *that* hard 2018-01-24 20:49:59 hey, i am having a problem with sysctl.conf not loading on boot 2018-01-24 20:50:00 any ideas? 2018-01-24 20:50:26 i put net.ipv4.ip_forward=1 in my /etc/sysctl.conf file, and doing "sysctl -p" to reload sysctl loads the config, however 2018-01-24 20:50:29 it will not load this config at boot 2018-01-24 21:00:38 additionally, putting sysctl -p in a /etc/local.d file at boot also does not work 2018-01-24 21:01:29 do like: net.ipv4.ip_forward = 1 2018-01-24 21:01:41 notice the space 2018-01-24 21:01:42 also tried that, made no difference 2018-01-24 21:02:08 weirdly, sysctl -p works when manually running after boot, but not during boot in local.d 2018-01-24 21:02:42 i feel that my local.d files aren't even being ran 2018-01-24 21:03:41 yeah, just tried it again with a space, no difference @fugitive 2018-01-24 21:04:00 just a note, i am on Alpine 3.7 on x86_64 running inside of an LXC container 2018-01-24 21:04:23 there need for a space. 2018-01-24 21:04:27 is * 2018-01-24 21:04:53 http://termbin.com/tg2l 2018-01-24 21:04:59 on my rpi3 2018-01-24 21:06:12 is sysctl set to boot ? 2018-01-24 21:06:34 how to check? 2018-01-24 21:06:42 rc-update show boot | grep sysc 2018-01-24 21:06:42 sysctl | boot 2018-01-24 21:07:01 doesnt look like it 2018-01-24 21:07:13 https://i.imgur.com/1nT1QVR.png 2018-01-24 21:07:13 or. exclude grep command to get a cleaner picture 2018-01-24 21:07:22 no need for grep when there's only 5 lines haha 2018-01-24 21:07:42 then do: rc-update add sysctl boot 2018-01-24 21:07:54 and reboot 2018-01-24 21:08:25 aha! it worked, thank you 2018-01-24 21:08:31 yw 2018-01-24 22:13:27 hey all. Just installed 3.7. Wondering if there's an 'alpine way' of pruning the kernel modules in /lib. Or do I just go in and wield `rm` on everything I don't need? 2018-01-24 22:14:01 im sure the stuff in /lib is managed by apk 2018-01-24 22:14:19 pruning is bad, don't do it 2018-01-24 22:14:22 it will make apk upset 2018-01-24 22:14:57 ok. will look into apk and see if it has packages I can remove. thanks :) 2018-01-24 22:15:16 `apk info` 2018-01-24 23:12:44 hi 2018-01-24 23:13:20 in alpine, where would the proper location for iptables rules for a router be? /etc/network/if-up.d/somethingsomething ? 2018-01-25 01:20:34 rapha: i normally make a script in some dir, like /root/fw.sh, then after it is run, I do: /etc/init.d/iptables save 2018-01-25 01:20:58 and make sure the "iptables" service start at boot (rc-update add iptables boot) 2018-01-25 01:21:44 that way iptables-restore will run at boot, which is way faster than running a script that executes iptables a bunch of times 2018-01-25 01:22:15 there is also a project called "awall" that is a lua script that let you define the firewall rules in json or yaml 2018-01-25 01:22:34 it compiles the firewall rules to iptables-restore format 2018-01-25 01:22:38 so it is also very fast 2018-01-25 01:26:03 ncopa: awall is a bit too much. i like your way of doing it through iptables-restore. thanks! :) 2018-01-25 01:26:55 yeah, iptables-restore is probably the simplest way to do it 2018-01-25 04:25:29 kaniini I wielded rm on a thin client with a 512mb (yes, mb) ssd and it worked fine for 2 years. 2018-01-25 04:28:27 yay i can now load the interpreter and the program virtually with Userland Exec (modified by me) ^^ https://paste.pound-python.org/show/1GzxBWwor1Ai6YvplEV5/ 2018-01-25 04:59:38 scv: 2018-01-25 07:03:03 terror: that can cause apk to become confused on upgrades 2018-01-25 08:21:59 Trying to install alpine on a Raspberry Pi 3, I fail: https://wiki.alpinelinux.org/wiki/Raspberry_Pi tells me to run alpine-setup and all of that works (on a single fat partition), but after rebooting the screen stays black. 2018-01-25 08:23:03 If i do just a reboot, or just do not 'lbu commit' stuff, the system stays intact 2018-01-25 08:31:31 same 2018-01-25 08:32:27 memepine 2018-01-25 08:36:53 is there an anything you can suggest me what to do about it, or is it broken right now? 2018-01-25 08:37:10 i have no idea 2018-01-25 08:37:59 kaniini I know, but if that's what it takes to make it work... 2018-01-25 08:45:22 geez that alpine linux thing 2018-01-25 08:47:07 hey derphilipp ? 2018-01-25 08:47:17 Yes? 2018-01-25 08:47:30 your Pi problem, that sounds like the HDMI settings are incorrect 2018-01-25 08:47:46 from my experience with Pi's, I've no experience of Alpine on the platform 2018-01-25 08:48:21 well it does not seem to start the ssh server as well, but there may be a problem there; (network at last seems to be active) 2018-01-25 08:48:34 But what do you think i should/could change? 2018-01-25 08:48:42 oh... the ssh server not starting indicates it's *not* HDMI related... weird 2018-01-25 08:48:52 does alpine on a Pi use /boot/config.txt ? 2018-01-25 08:49:06 https://www.raspberrypi.org/documentation/configuration/config-txt/ 2018-01-25 08:49:08 afaik yes 2018-01-25 08:49:51 I'd try playing with that... but also try booting it, waiting for it to fail... and then shut it down, put the SD card in your PC, and read the contents of /var/log/* 2018-01-25 08:54:53 https://forum.alpinelinux.org/forum/general-discussion/raspberry-pi-23-gpio-uart-do-not-work-how-activate wow 2018-01-25 08:54:56 same here 2018-01-25 08:55:58 exact same behaviour with me 2018-01-25 08:57:12 oh geez alpine, pls 2018-01-25 09:01:32 rpi is shit 2018-01-25 09:01:53 lol, calm down 2018-01-25 09:02:53 https://pastebin.com/zykSa7VJ 2018-01-25 09:03:03 this is what /config.txt on the sd card looks like 2018-01-25 09:03:22 the rpi isn't a great platform, and can be hard work - but you do get an awful lot for relatively little money.... stick with it ;) 2018-01-25 09:03:41 there is no /var directory at all on the sd card 2018-01-25 09:04:14 I love the rpi platform and do develop for it; man you get a full blown computer for so cheap with such a huge community, that is why i do love it 2018-01-25 09:06:38 no "/var"? 2018-01-25 09:06:56 nope 2018-01-25 09:06:57 that might be the problem? 2018-01-25 09:07:16 unless Alpine on a Pi keeps all that in memory? 2018-01-25 09:07:47 as far as i know it does 2018-01-25 09:08:03 you can do a "normal" install as well 2018-01-25 09:08:17 for Alpine Pi do you get a choice between sys, data and no.... 2018-01-25 09:08:19 but i'd love to try out the memory variant, because i want to minimize sd card writing 2018-01-25 09:08:53 I'd try a normal install, just to troubleshoot this - also I think cards can take literally millions of writes, so that shouldn't be a problem 2018-01-25 09:09:16 i actually have buried 2 cards just this month :/ 2018-01-25 09:10:15 but that is not my main problem, i just want to try out alpine and it is described on the wiki 2018-01-25 09:10:18 are they cheap cards? From very limited experience there seem to be a *lot* of counterfeit cards out there 2018-01-25 09:10:54 but yeah, from what you've said it should work from following the wiki - I assume your HDMI setup is normal - straight from the Pi into a modern monitor's HDMI port? 2018-01-25 09:11:13 exactly 2018-01-25 09:11:28 i mean there is a passive hdmi switch in between, but it is nothing active 2018-01-25 09:11:47 also initial boot works fine 2018-01-25 09:13:44 You can make a normal install and later make /var a tmpfs based mount (though that would loose logs on reboot, which is eh, not helpfull imo) 2018-01-25 09:14:12 though you can also mount it on external drive or usb stick 2018-01-25 09:53:27 Following the whole installation routine for the rpi 3 worked - until i apk upgraded the system and now it again does not boot anymore 2018-01-25 12:02:47 hey 2018-01-25 12:03:29 do any of you use multiple routing tables to aggregate multiple uplinks? any experiences with that kind of thing? or is it better to just forget about it and stick to simple bonding? 2018-01-25 12:06:02 may I suggest ##networking? 2018-01-25 12:15:41 rapha: multiple routing tables are not needed 2018-01-25 12:15:54 check out mlvpn, or just do some policy routing w/ ip rule 2018-01-25 12:19:39 petrus_lt: thank you, i will! 2018-01-25 12:20:37 "ip route add a.b.c.d/e via f.g.h.i/j dev ethN" 2018-01-25 12:20:56 there's also metrics 2018-01-25 12:23:26 danieli: the ip route add via thing is the one i knew about ... i was just interested to know if people had any experience with that in practice. 2018-01-25 12:23:50 I have, but I more or less use VRF with VLANs for stuff like that 2018-01-25 12:23:53 if not, routes with metrics 2018-01-25 12:23:58 LACP some times 2018-01-25 12:24:10 really depends on the scenario 2018-01-25 12:32:44 I've followed https://wiki.alpinelinux.org/wiki/Nginx#Runlevel, but nginx still doesn't start up atuomatically and logs state: "daemon.err /etc/init.d/nginx[2295]: ERROR: nginx failed to start". I'm able to manually start nginx with: "sudo service nginx start". I'm worried about there being init race conditions, where nginx is starting before network is working .. any ideas? 2018-01-25 12:33:52 rapha, danieli, lacp is great but needs two identical links in terms of bandwidth & delay 2018-01-25 12:34:07 indeed 2018-01-25 12:34:26 iron_houzi: what does `nginx -t` give you? 2018-01-25 12:34:47 you *could* add your nginx start command as a post-up in network/interfaces 2018-01-25 12:34:50 though that is a bit hackish 2018-01-25 12:34:52 nginx would listen on the specified sockets/host:ports regardless of the network 2018-01-25 12:35:07 danieli: no errors 2018-01-25 12:35:13 hmhm 2018-01-25 12:35:21 i haven't had that issue 2018-01-25 12:35:25 what platform is it running on? 2018-01-25 12:35:48 it's a VM, if that's what you're referring to.. 2018-01-25 12:35:53 all right 2018-01-25 12:41:34 hi all, building a file/iSCSI server using Alpine and I'm wondering it seems that putting /boot into an LVM may make it inaccessible to the extlinux bootloader... if that's the case, is there a way to ensure that /boot is mirrored on other drives without any sort of RAID? 2018-01-25 12:43:00 no, the mirroring of any directory (or partition) is a raid ;) 2018-01-25 12:43:04 thirdwhl: I'm not sure extlinux even supports that - have you considered using syslinux or grub? 2018-01-25 12:43:26 that was a dumb comment, my bad - syslinux installs extlinux 2018-01-25 12:43:35 point stands 2018-01-25 12:44:53 apparently grub2 does LVM but extlinux can do raid1 according to the wiki? https://wiki.alpinelinux.org/wiki/Setting_up_a_software_RAID_array 2018-01-25 12:46:09 did you point it at the correct root in the config? 2018-01-25 12:46:55 haven't gotten it to boot yet, first try was everything in one LVM, which I've realised (and hindsight makes obvious) doesn't work 2018-01-25 12:49:10 I would use zfs mirrors for such stuff, i dont know how well linux supports them thouhg (and last i heard it requires a patched kernel of sorts to use) 2018-01-25 12:58:09 nepugia, I had a go at that but could never get it to work. Trying for native stuff that doesn't need kernel trickery. 2018-01-25 12:58:45 I actually had a better time getting FreeBSD on a Apple XServe G5 to boot off ZFS 2018-01-25 13:01:03 now, I'm not sure about this since I don't actively use RAID these days, but... 2018-01-25 13:02:16 I imagine syslinux can boot from /dev/md. It doesn't necessarily even need to raid to be active at that point, which means that raid can be activated after the bunch of read operations needed at early boot 2018-01-25 13:04:02 so you'll be able to boot from either partition in the /boot mirror, and the mirroring itself is activated as soon as the kernel/initramfs gets loaded and started 2018-01-25 13:04:32 still saying "missing operating system" 2018-01-25 13:13:33 seems the very first bit of advice on that wiki article says exactly what I was trying to express 2018-01-25 13:16:24 missed the step where I had to set the first partition to bootable 2018-01-25 13:18:02 seems I also missed the step where I had to include the kernel modules in /etc/modules. Oops 2018-01-25 13:18:38 I'll give you one additional tip not in the wiki 2018-01-25 13:19:40 document your setup asap while you still remember what you did. you won't need to be actively tweaking it once you get it to run, so you won't actively remember what the heck to do with it once problems occur :) 2018-01-25 13:19:54 Ah, yes. 2018-01-25 13:22:13 heh, I'm running a small script that basically does abuild fetch to every APKBUILD in aports. I'm otherwise done but one source package, a relatively small one, has now been fetched for about 23 hours 2018-01-25 13:23:01 I'm pretty sure the guy who's typing the contents of the source package to the tcp socket is pissed for having to work on a file transfer this long :P 2018-01-25 13:24:01 (I can't think of a better explanation for a file transfer this slow; I would've gotten the source faster by walking to the author's place and copying it to a USB stick) 2018-01-25 13:25:21 The only servers i know of with such slow download rates are ms servers 2018-01-25 13:26:30 this one seems to be a game of some sort 2018-01-25 14:24:45 Curses. Ran it through from the beginning and while it boots, it can't find root. 2018-01-25 14:25:50 Here's what I'm getting: https://pasteboard.co/H4zmYte.png 2018-01-25 14:27:30 Pretty sure I know what to do to fix it, but it's nearly 1:30am here and I'm wrecked 2018-01-25 14:28:16 I'll give it another go tomorrow after I do the sort of thing that gets done on public holidays. Peace out and thanks for all the advice 2018-01-25 14:47:48 thirdwhl-away: i think your mkinitfs may need raid support 2018-01-25 14:48:19 add raid to features= in /etc/mkinitfs/mkinitfs.conf 2018-01-25 15:51:20 postgis (missing): ERROR: unsatisfiable constraints: required by: world[postgis] 2018-01-25 15:51:31 trying to install postgis on alpine:latest 2018-01-25 15:51:48 is it because postgis is in the edge testing? 2018-01-25 15:52:03 how do you install it? 2018-01-25 15:52:15 are you mixing a freeze release (e.g. 3.7) and edge in your repository file? 2018-01-25 15:53:04 danieli, no 2018-01-25 15:53:09 or am i 2018-01-25 15:53:14 yeah latest is 3.7 2018-01-25 15:53:29 possible/good idea to install a package from edge testing to 3.7? 2018-01-25 15:53:55 you have to do package pinning to mix a freeze release and edge 2018-01-25 15:54:10 if you've mixed a stable release and edge, no wonder you have broken dependencies 2018-01-25 15:55:18 i haven't ,just trying to install postgis on 3.7 while postgis is only available in edge testing 2018-01-25 15:55:47 ah 2018-01-25 15:59:33 you'll have to look up package pinning on the wiki 2018-01-25 15:59:39 I know there's an article on it 2018-01-25 16:04:42 i'm crying right now 2018-01-25 16:37:39 hi everyone, I was wondering, am I allowed/supposed to have multiple users for my Alpine install? I'm tempted to use it for my old laptop and not for servers. 2018-01-25 16:38:38 <_ikke_> TapewormJoe: What should be the issue with that? 2018-01-25 16:38:56 well, there's no useradd 2018-01-25 16:39:03 I mean, I have set up my root user 2018-01-25 16:39:13 <_ikke_> adduser 2018-01-25 16:40:11 ah yes, forgot that I'm no longer on a systemd distro for a sec. 2018-01-25 16:40:18 thanks a lot! :D 2018-01-25 16:42:52 useradd is in the shadow package 2018-01-25 16:42:54 it's not a systemd thing 2018-01-25 16:43:24 trying to install jdk1.8.0_162 following this guide https://wiki.alpinelinux.org/wiki/Installing_Oracle_Java 2018-01-25 16:43:39 # ./java bash: ./java: No such file or directory 2018-01-25 16:43:50 am i missing something 2018-01-25 16:44:04 tried paxctl and setfattr 2018-01-25 16:44:19 and chmod +x 2018-01-25 16:44:32 glibc-compat probably? 2018-01-25 16:44:43 apk add gcompat@testing or apk add libc6-compat 2018-01-25 16:44:47 ^^ 2018-01-25 16:45:58 Error relocating /opt/java/jdk1.8.0_162/bin/../lib/amd64/jli/libjli.so: __rawmemchr: symbol not found 2018-01-25 16:46:55 sounds like gcompat may be more useful :) 2018-01-25 16:48:41 Error: could not find libjava.so 2018-01-25 16:52:28 Error: Could not find Java SE Runtime Environment. 2018-01-25 16:52:29 o.O 2018-01-25 17:12:32 any ideas? 2018-01-25 17:23:38 realies: we dont really support precompiled binaries linked to glibc. it may work or it may not work 2018-01-25 17:24:04 i suggest that you ask oracle... 2018-01-25 17:24:25 i think they have gotten many questions on running java on alpine already 2018-01-25 17:24:44 and i know they actually made atleast some effort to make java9 work on alpine 2018-01-25 17:24:46 i dont know how it ended 2018-01-25 17:40:15 so i gotta have glibc? 2018-01-25 17:42:31 ncopa: through project portola, yes 2018-01-25 17:42:39 i am not up to date on the status, but i am in their mailing lists 2018-01-25 18:37:17 Hello... 2018-01-25 18:37:34 Does Alpine 3.3 support 'search domain' in /etc/resolv.conf ? 2018-01-25 18:38:48 https://wiki.musl-libc.org/functional-differences-from-glibc.html#Name-Resolver/DNS 2018-01-25 18:38:55 This feature was added in version 1.1.13 2018-01-25 18:39:01 so, check the version of musl available 2018-01-25 18:39:06 no, but newer alpine does 2018-01-25 18:39:20 1.1.12-r8 from what i'm seeing 2018-01-25 18:39:23 just barely too old 2018-01-25 18:40:07 hi danci1973, keep in mind that it works differently than in glibc 2018-01-25 18:41:16 Thanks. 2018-01-25 23:56:32 Shiz, I'll give that a go, thanks! 2018-01-26 00:13:12 Shiz, OK, added raid to the features="..." in /etc/mkinitrd/mkinitrd.conf file, booting up now, fingers crossed... 2018-01-26 00:13:49 did you run mkinitfs afterwards? 2018-01-26 00:13:51 :P 2018-01-26 00:14:05 yes 2018-01-26 00:14:12 alright 2018-01-26 00:14:34 ok, still no dice, it's complaining about module dm-raid not found 2018-01-26 00:18:28 hmm 2018-01-26 00:19:01 the exact message is "module dm-raid not found in modules.dep" 2018-01-26 00:24:56 what if you run `depmod` and then mkinitfs again? 2018-01-26 00:29:44 I'll give that a go when I work out what's going on with my access to the DRAC 2018-01-26 00:33:59 Well that was weird, firewall just randomly stopped letting packets through until I turned the rule for it off and back on again 2018-01-26 00:34:57 ... and stopped again. 2018-01-26 00:40:27 damn 2018-01-26 00:44:45 turns out if you make your IP the same as the gateway, things get a little strange 2018-01-26 00:55:38 ok, depmod and initramfs... here we go again 2018-01-26 00:57:21 no go 2018-01-26 01:04:27 I'm starting to memorise the steps for reassembling and reactivating my volumes 2018-01-26 01:10:24 Ok, added "kernel/drivers/md/dm-*" to /etc/mkinitfs/features.d/raid.modules, let's see how that goes 2018-01-26 01:12:43 Ok, that didn't work either 2018-01-26 01:38:20 Changed the raid.modules and the lvm.modules files on the RAID but it seems nothing was happening... tried it on the memdisk and wouldn't you know it, the drivers appeared. Seems even if you tell it to base itself on the RAID it still uses /etc/mkinitfs/feature.d files 2018-01-26 01:38:41 hi! 2018-01-26 01:38:47 good morrow 2018-01-26 01:38:57 is there a way to list all the apk packages that were installed on a certain day? 2018-01-26 01:39:18 thirdwhl: morrow? you must be in asia somewhere? 2018-01-26 01:39:38 eastern china? 2018-01-26 01:39:40 rapha, no, I'm being medieval 2018-01-26 01:39:43 oh 2018-01-26 01:39:46 but then morrow is wrong 2018-01-26 01:40:26 i'm basing my knowledge of such things on the works of Mel Brooks, so that can only go well 2018-01-26 01:40:32 :-P 2018-01-26 01:40:38 success! we have liftoff 2018-01-26 01:40:48 to where? 2018-01-26 01:41:07 been trying to get a system to boot off software RAID for hours 2018-01-26 01:41:13 oh 2018-01-26 01:41:15 congrats! 2018-01-26 01:41:23 thanks :) 2018-01-26 01:41:44 hmm alpine's package manager's name being "apk" does not necessarily make it better googlable :( 2018-01-26 01:42:13 ACTION tries to uninstall all packages he installed yesterday 2018-01-26 02:12:15 rapha, you could look in /var/cache/apk, theoretically the packages would still be there and the date they were created would be a clue - I have to rebuild my system again because I tried to shrink the root filesystem and mangled it 2018-01-26 02:12:29 so I can't test that theory just yet 2018-01-26 02:13:28 thirdwhl: i ended up just looking through the installed-packages-list and removing stuff manually. fortunately without breaking something. 2018-01-26 02:13:40 oh good 2018-01-26 02:49:42 ok... manually added raid to the mkinitfs features list... let's try that again 2018-01-26 02:51:35 there we go 2018-01-26 06:17:09 hello why is gnutls package without static libraries? is it a problem with gnutls ? 2018-01-26 09:50:21 untoreh: alpine packages usually dont ship static libraries 2018-01-26 09:50:27 i ran into this issue, too 2018-01-26 11:50:31 hey guys, i'm running latest alpine on raspi and trying to use ipv6 2018-01-26 11:51:06 i have an address in /etc/network/interfaces, but it isnt set during boot; if i manually do ifup after boot process, the address is assigned properly 2018-01-26 11:51:16 any pointers how to tackle this? 2018-01-26 11:51:35 v4 works, as does link local 2018-01-26 11:52:33 waydot: paste your /etc/network/interfaces somewhere 2018-01-26 11:54:47 kahiru: it really had only address and netmask under iface eth0 inet static 2018-01-26 11:55:00 and it had auto eth0 :) 2018-01-26 11:55:20 now it has up if -6 addr add ... under inet6 static 2018-01-26 11:55:33 correction: there's inet6 on my first line 2018-01-26 11:56:23 hmm, I don't recall hitting any issues with that when I toyed with ipv6 2018-01-26 12:01:22 my guess is that the address isnt being set because the link is down 2018-01-26 12:01:35 and the link comes up after the scripts are run 2018-01-26 12:02:01 so, i must somehow force adding the address to an offline nic or delay the script 2018-01-26 12:04:09 or i could try and force the link up ... brb 2018-01-26 18:04:24 hi 2018-01-26 18:05:31 it looks like nothing in alpine is build against pulseaudio because pulseaudio is in testing only 2018-01-26 18:05:55 I'd add pulseadio support to some stuff (e.g. sdl and gstreamer) 2018-01-26 18:06:10 How could I contribute to this? 2018-01-26 18:06:22 is this even possible as long as pluseaudio is in testing? 2018-01-26 18:06:31 is this even possible as long as pulseaudio is in testing? 2018-01-26 18:06:35 oops 2018-01-26 18:06:57 (used to use slack where I can edit my last message ^^ ) 2018-01-26 18:07:24 If I were to use Alpine Linux as a host, what virtualization technologies does it provide for use? 2018-01-26 18:08:15 <_ikke_> ryu0: I've heard at least xen and kvm/qemu 2018-01-26 18:08:26 Hm. I was hoping for containers if possible. 2018-01-26 18:08:37 <_ikke_> containers are not virtual 2018-01-26 18:08:44 Oh. I see. 2018-01-26 18:08:46 is it allowed to copy a package from main to test and extend it there? 2018-01-26 18:08:59 you can make your own repo if you want 2018-01-26 18:09:23 danieli, if it's allowed, I'd to this in official repo 2018-01-26 18:09:26 <_ikke_> micw: usually a package is in testing because it's not confirmed to be working correctly or because there are still issues 2018-01-26 18:09:52 _ikke_, so as long it's there, no package from main can use it, right? 2018-01-26 18:09:54 <_ikke_> micw: But keep in mind that most package don't rely on PA on purpose 2018-01-26 18:10:21 i can even build it during my docker build but that way i would not contribute to alpine 2018-01-26 18:10:50 <_ikke_> ryu0: but docker and lxc are available, and possibly others 2018-01-26 18:10:56 with docker multistage builds, docker can create one container, build my package there and then copy the apk to the final container 2018-01-26 18:11:13 _ikke_: ok... i was hoping for LXD but it seems like only Ubuntu has that. 2018-01-26 18:11:33 <_ikke_> micw: but you are correct, things in main cannot depend on things in testing or community 2018-01-26 18:11:53 <_ikke_> testing is not even built for releases, only edge 2018-01-26 18:12:08 sure, I'm on edge with my stuff 2018-01-26 18:12:18 on that note, what does it take for a package in edge to be part of a release? 2018-01-26 18:12:27 some software i'd like to use is never part of a release. 2018-01-26 18:12:38 the current project is just for fun (having scummvm with day of tentacle in a docker running on my host, accessing it remotely including sound) 2018-01-26 18:12:44 <_ikke_> each release is cut of off master (edge) 2018-01-26 18:12:58 <_ikke_> but each release only builds main and community 2018-01-26 18:13:06 Ok... 2018-01-26 18:13:17 but the purposeis to get eberything working in a way that i can dockerize my whole xfce desktop 2018-01-26 18:13:38 So anything in testing will remain in edge only until it somehow gets moved? 2018-01-26 18:13:43 <_ikke_> why do you require things to be built against PA? 2018-01-26 18:13:49 <_ikke_> ryu0: correct 2018-01-26 18:14:00 ok. 2018-01-26 18:14:04 because the sound-over-network magich is based on pa 2018-01-26 18:14:12 <_ikke_> ryu0: and providing feedback on those packages helps getting them moved 2018-01-26 18:18:06 _ikke_, for gstreamer i could just create the required plug-in in testing 2018-01-26 18:18:34 that's usually part of gstreamer-plugins-good, except in alpine ^^ 2018-01-26 18:23:26 hi! 2018-01-26 18:23:39 hello 2018-01-26 18:23:46 in /e/n/interfaces, what's the correct way of specifying multiple IPv4 addresses for the same interface? 2018-01-26 18:23:54 (http://wiki.alpinelinux.org/wiki/Configure_Networking#IPv4_Static_Address_Configuration has no such example) 2018-01-26 18:27:03 <^ingo^^^> put an second "iface ethX inet static" with no gateway in, that should do it 2018-01-26 18:28:51 <^ingo^^^> https://pastebin.com/itHJw8RA 2018-01-26 18:29:06 <^ingo^^^> example what i do 2018-01-26 18:29:39 I could copy sdl to testing and create sdl-pulseaudio from it 2018-01-26 18:29:59 so one could install either of them 2018-01-26 18:30:04 you could also add "up ip addr add 1.2.3.4/24 dev $IFACE" 2018-01-26 18:30:28 would this work? can i say "sdl-pulseaudio sattisfies the sdl dependency for other packages"? 2018-01-26 18:33:05 ^ingo^^^: when i do "/etc/init.d/networking restart" it now complains "ip: need "dev IFACE""... 2018-01-26 18:33:13 micw: i think so, and i think it should work automatically if there are shared libs 2018-01-26 18:36:26 <^ingo^^^> rapha: strange, hat this setting in 4 VM works. Did you try an reboot? Maybe something got wired. 2018-01-26 18:36:42 hello 2018-01-26 18:36:50 Anyone available to help booting alpine? 2018-01-26 18:37:08 I have it installed (next to ubuntu) but can't figure our proper options to get it to boot. 2018-01-26 18:39:47 nice 2018-01-26 18:40:14 is there some ready-to-use docker image that build one particular package on a locally checked out aport tree? 2018-01-26 18:40:55 domething like: docker run -v $(pwd)/aports:/aports some-cool-image main/mypackage 2018-01-26 18:45:33 ^ingo^^^: nope, can't ping the additional IP's after a reboot, either. Can iptables have anything to do with it (despite it all being local)? 2018-01-26 18:48:03 <^ingo^^^> rapha: what did an "ip a" did you tell, if it shows the additional ip then its configured. then mybe firewall or routing 2018-01-26 18:49:54 ^ingo^^^: neither ifconfig nor "ip a" show anything. really weird. 2018-01-26 18:51:05 ^ingo^^^: do you see any problem in https://gist.github.com/sixtyfive/418323fc8a05e95d4c0fe81927fc981f ? 2018-01-26 18:55:04 <^ingo^^^> rapha: except there is no gateway entry and i don't use broadcast, same es mine. for me it works also with ipv6 in the same way. 2018-01-26 18:55:42 <^ingo^^^> rapha: and if ip a nor ifconfig show it, then something goes wrong. 2018-01-26 18:59:16 <^ingo^^^> what does an ifconfig show? 2018-01-26 19:00:51 found such a docker image: https://github.com/danielguerra69/alpine-sdk-build 2018-01-26 19:00:54 nice ;) 2018-01-26 19:03:28 am I automatically the maintainer if i send a pull request with a new package to the aports repo? 2018-01-26 19:17:21 ^ingo^^^: there's no gateway because that's a dynamic ip received through ppp, so i didn't know what to put there. the broadcast is not really needed, i've removed that now. ipconfig shows the first ip, and that's it. what i find curious is that "/etc/init.d/networking restart" does not actually restart eth0, but does restart all other interfaces. intended? 2018-01-26 19:18:06 :w 2018-01-26 19:18:13 oops, wrong window :P 2018-01-26 19:20:00 ^ingo^^^: btw, adding the IPs manually throug `ip` works just fine. *scratches head* 2018-01-26 19:22:39 <^ingo^^^> rapha: did the log say something on boot? you can you see some messages on the boot screen? 2018-01-26 19:23:33 ^ingo^^^: nope, i would have to fetch the old laptop which still has an RS232 port to be able to see tht 2018-01-26 19:24:30 <^ingo^^^> rapha: what hardware is it? 2018-01-26 19:24:34 ^ingo^^^: this here (https://gist.github.com/sixtyfive/c65ab897a41121e7e9fb99005b69e48f) is REALLY strange because eth0 is the if through which i'm connected. so it can't be "not configured". 2018-01-26 19:24:49 ^ingo^^^: it's a PCEngines APU2c4 2018-01-26 19:25:23 i think i have one of those at home 2018-01-26 19:25:40 ncopa: they're great :) 2018-01-26 19:25:49 +1 2018-01-26 19:26:07 i wish i had some reasons to buy more of them :) 2018-01-26 19:27:07 rapha: how does your eth0 config look like? 2018-01-26 19:27:51 ncopa: atm, just for figuring things out, https://gist.github.com/sixtyfive/086ae54c930ebd971b6f4f7ad4263b5f 2018-01-26 19:28:00 something makes ifup exit with failure 2018-01-26 19:28:23 so ifup/ifdown does not set the state as "up" 2018-01-26 19:28:51 what does "ip addr show dev eth0" show? 2018-01-26 19:29:03 i think it manages to set one addr up 2018-01-26 19:29:06 probably the first 2018-01-26 19:29:31 yes it does, otherwise i wouldn't be typing right now 2018-01-26 19:29:43 ncopa: https://gist.github.com/sixtyfive/810eb2d0adce5d902df327f3b08122d6 2018-01-26 19:30:02 i'll try adding the second ip through post-up and reboot 2018-01-26 19:31:26 https://gist.github.com/sixtyfive/086ae54c930ebd971b6f4f7ad4263b5f#gistcomment-2333423 2018-01-26 19:33:42 oh, that's a lovely avatar! 2018-01-26 19:34:23 :) 2018-01-26 19:35:00 unfortunately ifdown still complains the interface wasn't up 2018-01-26 19:35:04 again a reboot 2018-01-26 19:35:18 rapha: noot noot! 2018-01-26 19:36:07 ifdown complained because it had not set its internal state as "up" 2018-01-26 19:36:29 even if interface was "up" for atleast one iface 2018-01-26 19:37:53 liwakura: sorry, reboot was already in progress 2018-01-26 19:38:15 ncopa: with your version "up ip addr add..." it seems to work. go figure. 2018-01-26 19:38:39 rapha: it was bc of that avatar icon 2018-01-26 19:38:46 thats a pinguin that goes "noot noot" 2018-01-26 19:39:04 ooooooh :) 2018-01-26 19:44:31 yeeeah 2018-01-26 19:44:34 finally it all works 2018-01-26 19:44:40 including the bonding 2018-01-26 19:46:01 one mystery remains though: i've tried to disable IPv6 because i don't use it atm. sysctl -w net.ipv6.conf.all.disable_ipv6=1 works fine. but writing that key/value pair to /etc/sysctl.d/something.conf or /etc/sysctl.conf doesn't cause it to be applied during boot, which makes one worry about the other settings in there... 2018-01-26 19:49:49 rapha: rc-update | grep sysctl 2018-01-26 19:49:50 it should say someting like: sysctl | boot 2018-01-26 19:49:51 if it does not, then: rc-update add sysctl boot 2018-01-26 19:50:56 could anyone do as short review? that's my 1st contribution: 2018-01-26 19:50:58 https://github.com/micw/aports/commit/d086e4b1dd2ef1051a585eee2118e725ccc797fe 2018-01-26 19:51:30 i copied ist from gst-plugins-good and build just that ingle one plugin against pluseaudio 2018-01-26 19:52:26 is it valid to create a github PR for this? 2018-01-26 19:53:36 this is basically a different build than gst-plugins-good? 2018-01-26 19:53:38 rapha: just reading through your lines, because i had a similar issue ... 2018-01-26 19:54:24 micw: can you find the exact file(s) that links to pulseaudio? 2018-01-26 19:54:27 rapha: this is what i had in my interfaces file, if i wanted to turn of v6 for them: "pre-up echo 1 > /proc/sys/net/ipv6/conf/eth0/disable_ipv6" 2018-01-26 19:55:08 ncopa, it's basically the same build but with all plugins except pulseaudio disabled 2018-01-26 19:55:24 the result is only a single shared lib containing the pulseaudio plugin 2018-01-26 19:55:51 I'd keep this in testing as long as pulseaudio is on testing 2018-01-26 19:56:11 micw: can you: scanelf -R pkg/gst-plugin-pulseaudio | grep libpulse 2018-01-26 19:56:29 where is "pkg" located? 2018-01-26 19:56:47 in your APKBUILD dir 2018-01-26 19:57:07 in same dir as your APKBUILD 2018-01-26 19:57:09 it may be cleaned after the build 2018-01-26 19:57:38 basically, what i wonder is the name of the plugin 2018-01-26 19:57:51 we should probably build it with the gst-plugins-good package 2018-01-26 19:57:56 i see (already closed my build docker container, so doing the build again) 2018-01-26 19:58:16 ncopa, the plugins-good package is in main, pulseaudio is in testing 2018-01-26 19:58:19 do you have the package? 2018-01-26 19:58:31 few secs... 2018-01-26 19:58:53 you could also untar the .apk in a temp dir and run scanel there 2018-01-26 19:59:04 scanelf -R pkg/gst-plugin-pulseaudio | grep libpulse 2018-01-26 19:59:07 oops 2018-01-26 19:59:11 scanelf -R pkg/gst-plugin-pulseaudio | grep pulse 2018-01-26 19:59:11 ET_DYN pkg/gst-plugin-pulseaudio/usr/lib/gstreamer-1.0/libgstpulseaudio.so 2018-01-26 19:59:12 ncopa: it's showing "sysctl | boot" alright. waydot's method works ofc. 2018-01-26 19:59:23 waydot: thanks for the big-hammer-idea :) 2018-01-26 19:59:40 find pkg/gst-plugin-pulseaudio -type f 2018-01-26 19:59:40 pkg/gst-plugin-pulseaudio/usr/lib/gstreamer-1.0/libgstpulseaudio.so 2018-01-26 19:59:50 that's the only file in that build 2018-01-26 19:59:54 micw: and that file does not exist in the gst-plugins-good 2018-01-26 20:00:22 no, it's not built because it needspulseaudio-dev during build 2018-01-26 20:00:32 and that's in testing ^^ 2018-01-26 20:01:13 micw: what i want to do is either move pulseaudio to main and enable it in gst-plugins-good, and potensially make a subpackage for it 2018-01-26 20:01:34 no subpackage required 2018-01-26 20:01:45 or move gst-plugins-good/bad/ugly to community and move pulseaudio to community 2018-01-26 20:01:58 in either case, i dont think we should have this in a separate APKBUILD 2018-01-26 20:02:17 does this make sense? 2018-01-26 20:02:33 well, i think we may want a subpackage, otherwise will gst-plugins-good pull in libpulse as a dependency 2018-01-26 20:02:37 which may annoy some people 2018-01-26 20:03:01 ok, let's assume pulseaudio is in community or main 2018-01-26 20:03:09 the I could just create the subpackage 2018-01-26 20:03:30 I also would like to have other libs linked agains pulseaudio, example: sdl 2018-01-26 20:03:43 correct 2018-01-26 20:03:46 it needs to move first 2018-01-26 20:04:08 how could I do this? sdl is a single lib. so it's either linked against pulseaudio or it's not 2018-01-26 20:04:22 oh what a bummer! bonding apparently doesn't work with ppp interfaces :-( 2018-01-26 20:05:13 should I create a sdl-pulseaudio subpackage that actually replaces sdl? is that possible with subpackage? 2018-01-26 20:05:39 or should I just copy it? 2018-01-26 20:05:50 gst-plugins-good with pulse is a good start, because its fairly simple 2018-01-26 20:05:58 ok 2018-01-26 20:06:13 would you move pulseaudio to community? 2018-01-26 20:06:31 how long would it take to propagate? 2018-01-26 20:06:56 okay, time to return from the basement to the apartment. much warmer there. 2018-01-26 20:07:40 rapha: hey, it worked ;) also, it's neatly applied and removed when interfaces go up/down 2018-01-26 20:08:38 if there are none, then we move them to community 2018-01-26 20:08:40 otherwise we may need to move pulse to main 2018-01-26 20:09:02 does it work? 2018-01-26 20:09:04 is it packaged in a good way? 2018-01-26 20:09:05 does it has maintainer? 2018-01-26 20:09:05 then i'd like to see what packages in main depends on gst-plugins-{good,bad,ugly} 2018-01-26 20:09:18 rapha: i think the problem is that sysctl "service" is run before the interfaces exists 2018-01-26 20:09:36 rapha: but i do acknowledge that ignoring sysctl.d/* could be a sign of something ... not good 2018-01-26 20:10:08 well, for now it works. and ipv4_forwarding seems to be honored. 2018-01-26 20:10:51 ncopa, "if there are none," - none what? 2018-01-26 20:11:52 i think the kernel know depends on existing interface 2018-01-26 20:11:53 knob* 2018-01-26 20:12:13 so technically, the raw hammer method is a more correct way to do it technically 2018-01-26 20:12:54 i dont know if there are a knob for a default setting, which are set on new devices 2018-01-26 20:12:55 on device creation 2018-01-26 20:19:53 ACTION pings ncopa 2018-01-26 20:20:23 what do you need for that decision (main or community)? 2018-01-26 20:20:54 Maintainer Natanael Copa ;-) 2018-01-26 20:21:40 hi there 2018-01-26 20:21:57 network connection in the vm image is supposed to work out of the box? 2018-01-26 22:23:17 I'm trying to mount an nfs4 volume in alpine, with little success. Does a package exist that adds support for nfs4? Googling is not showing anything, which leads me to believe it's not supported. 2018-01-26 22:24:39 nfs-utils ? 2018-01-26 22:24:58 yeah, tried that 2018-01-26 22:25:40 what's wrong with it? 2018-01-26 22:27:02 scv,"mount.nfs: Operation not permitted, mount: permission denied (are you root?)", and yes i'm root 2018-01-26 22:27:16 does that with both nfs and nfs4 2018-01-26 22:27:46 which kernel are you running ? 2018-01-26 22:28:44 "/home/docker # cat /etc/*release 2018-01-26 22:28:44 3.6.2 2018-01-26 22:28:44 NAME="Alpine Linux" 2018-01-26 22:28:44 ID=alpine 2018-01-26 22:28:45 VERSION_ID=3.6.2 2018-01-26 22:28:47 PRETTY_NAME="Alpine Linux v3.6" 2018-01-26 22:28:49 HOME_URL="http://alpinelinux.org" 2018-01-26 22:28:51 BUG_REPORT_URL="http://bugs.alpinelinux.org" 2018-01-26 22:28:53 4.9.49-moby 2018-01-26 22:28:55 " 2018-01-26 22:28:57 whoops, my b 2018-01-26 22:28:58 oh its inside docker 2018-01-26 22:29:02 likely why 2018-01-26 22:29:24 right, thank you, sorry for spamming those lines 2018-01-26 22:29:41 the container has to be privileged to do that 2018-01-26 22:29:48 thats a docker issue 2018-01-26 22:30:21 kk ty 2018-01-27 00:42:27 micw: sorry, i had to move to other location 2018-01-27 00:42:31 micw: i did a few greps and gst-plugins-good is only needed by parole 2018-01-27 00:42:42 gst-plugins-{bad,ugly} is not needed by anything 2018-01-27 00:43:20 so i think we can move gst-plugins-{good,bad,ugly}* and parole to community 2018-01-27 00:44:15 those are likely not needed by any thing that needs long-term support 2018-01-27 04:38:39 No Spotify on Alpine * 2018-01-27 04:57:02 whatever shall we do 2018-01-27 05:02:45 run it in a container or chroot 2018-01-27 05:15:20 There's no official docker image. 2018-01-27 05:37:53 then make one 2018-01-27 05:39:46 so realistically, I want to try out using something like flatpak or snappy on alpine for simple usage glibc based apps 2018-01-27 05:40:03 without contaminating your whole system with libc compat 2018-01-27 05:40:06 or whatever 2018-01-27 05:40:28 still need to look into each, and see if either are suitable for the job 2018-01-27 05:41:23 i'd really like to get away from full blown virtualization for some of the things that I do 2018-01-27 05:41:32 (on my alpine desktop) 2018-01-27 05:42:01 docker isn't the best solution for this I feel like 2018-01-27 05:42:04 nor are chroots 2018-01-27 05:42:23 there's lots of sharp edges having to do with X for instance 2018-01-27 05:53:39 well, based on initial digging into flatpak, it looks like they package all of an applications dependencies except for the libc??? 2018-01-27 05:53:50 how the fuck do you call that distibution agnostic? 2018-01-27 05:54:21 libc6 apps probably won't work on libc5 systems and vice versa 2018-01-27 05:54:30 not to mention musl 2018-01-27 05:54:56 this is more redhat shenannigans 2018-01-27 05:55:39 hmmm I may be mistaken 2018-01-27 05:56:09 > The GNOME runtime is based on the Freedesktop runtime and adds the GNOME platform, including libraries like GStreamer, GTK+, GVFS and more. It is appropriate for any application that makes use of the GNOME platform. 2018-01-27 05:56:26 > The latest version of the Freedesktop runtime is 1.6 and includes the following: glibc 2.24 2018-01-27 05:56:28 ok fine 2018-01-27 05:56:34 this may be suitable 2018-01-27 05:57:11 so snappy is a canonical thing, flatpak is a redhat thing 2018-01-27 06:10:02 ..... there's also AppImage 2018-01-27 06:11:13 so why did redhat and canonical both independantly reinvent the wheel when there's already an MIT licensed alternative that has existed for 14 years 2018-01-27 06:12:32 snappy is 3 years old, flatpak is 4 years old 2018-01-27 06:12:46 and supposedly linus supports AppImage 2018-01-27 06:12:52 so it looks like I'm gonna use that 2018-01-27 06:14:00 I think that flatpak might have some advantages in the sense that the underlying libraries can be shared between applications 2018-01-27 06:14:11 doesn't look like that's the case with appimage 2018-01-27 06:17:52 yo if a cli app has a login subcommand it probably sucks 2018-01-27 10:55:03 ncopa, long term support means to patch/backport stuff? in this case probably no, usually those kind of apps are regulary updated and old ones are unlikely to be needed 2018-01-27 10:55:19 so if that's the purpose of community, i fully agree ;-) 2018-01-27 11:25:04 Hello folks, I have a Odroid-C2 on which I'd like to try running Alpine, but it would seem that I cannot get the generic ARM image to boot. I was wondering if anyone here is running the same hardware and has some insight on what steps to take to make it work 2018-01-27 11:47:57 Dwarf: never managed to do it (but i didn't try all that hard), please let me know if you figure it out 2018-01-27 11:48:43 My last attempt I tried copying to uboot from raspbian to the alpine image, with no success 2018-01-27 11:49:08 I haven't been able to find anyone documenting it online either unfortunately 2018-01-27 11:49:26 May I ask what distro you're running on yours? 2018-01-27 11:50:26 archlinuxarm, but it's not all that great 2018-01-27 11:51:32 I was running armbian with the 4.something kernel and it was good until I updated the kernel one day, rebooted it and it wouldn't come up -.- 2018-01-27 11:59:50 is there a neat way to list unused packages with apk? 2018-01-27 12:00:09 orphaned packages or overall packages that no other packages depend on 2018-01-27 12:00:30 Doesn't apk purge orphans automatically when you remove packages? 2018-01-27 12:00:48 I'm looking packages to remove in the first place 2018-01-27 12:03:25 nvm - I found the heaviest stuff 2018-01-27 12:24:58 danieli: when i want to reduce size, i pick stuff from /etc/apk/world 2018-01-27 12:25:15 liwakura: I was looking at apk info, same thing 2018-01-27 12:25:28 I was wondering if there was a smarter way to actually list unused or orphaned packages 2018-01-27 12:25:29 apk info also shows packages installed as dependencies 2018-01-27 12:25:39 world are only the manually installed ones 2018-01-27 12:25:56 right, good point 2018-01-27 12:41:19 hi there :) 2018-01-27 12:45:36 hihi 2018-01-27 12:47:51 kahiru: I've used archlinuxarm, it was pretty OK but afaik armbian ubuntu 16.04 has better performance tweaks out of the box 2018-01-27 12:53:34 Dwarf: might be. anyway I believe alpine would be even better 2018-01-27 12:55:36 Exactly my thought, but it's difficult testing things considering I'm online from it right now 2018-01-27 13:03:35 Actually, the Amlogic S905 is not on the list of supported SoCs 2018-01-27 13:03:38 that's concerning. 2018-01-27 13:06:54 http://git.denx.de/?p=u-boot.git;a=blob;f=configs/odroid-c2_defconfig 2018-01-27 13:06:56 Luckily there's this 2018-01-27 13:16:04 Dwarf: what do you need with the c2? 2018-01-27 13:16:37 It's primarily a web/irc-server and IRC bouncer 2018-01-27 13:16:49 i meant wrt u-boot 2018-01-27 13:16:59 Oh 2018-01-27 13:17:01 because i got mainline working on it, but usb is broken 2018-01-27 13:17:02 https://parazyd.cf/doc/odroidc2-mainline.html 2018-01-27 13:17:20 hello 2018-01-27 13:17:35 i am new to alpine linux 2018-01-27 13:17:50 i try to install megatools 2018-01-27 13:17:57 Can't say I use USB very often, so I might give it a try 2018-01-27 13:18:12 ERROR: unsatisfiable constraints: so:libcrypto.so.41 2018-01-27 13:18:50 i add symbolic link /usr/lib/libcrypto.so.41 -> /usr/lib/libcrypto.so.42 2018-01-27 13:19:29 apk not see it 2018-01-27 13:22:04 Do you reckon I can just get the latest u-boot from hardkernel from https://github.com/hardkernel/u-boot/releases parazyd? 2018-01-27 13:22:16 Your website has been very useful so far already 2018-01-27 13:22:30 205c7b3259559283161703a1a200b787c2c445a5 worked for me 2018-01-27 13:22:37 not sure what branch it was 2018-01-27 13:49:54 in APKBuild i dont need to have libcrypto 2018-01-27 13:50:20 i dont understand where apk need its 2018-01-27 14:26:09 Astate: what? 2018-01-27 14:30:36 i cant install megatools from testing 2018-01-27 14:31:04 ERROR: unsatisfiable constraints: so:libcrypto.so.41 (missing): required by: megatools-1.9.98-r0[so:libcrypto.so.41] 2018-01-27 14:31:04 not that 2018-01-27 14:31:17 in APKBuild i dont need to have libcrypto 2018-01-27 14:31:17 i dont understand where apk need its 2018-01-27 14:31:19 this, what did you mean? 2018-01-27 14:31:32 https://git.alpinelinux.org/cgit/aports/tree/testing/megatools/APKBUILD 2018-01-27 14:31:49 i have all deps from this 2018-01-27 14:32:39 please elaborate on what you meant by the quote I posted 2018-01-27 14:34:58 if i understand the error are produce by apk 2018-01-27 14:35:32 how apk know libcrypto.so.41 are missing 2018-01-27 14:37:16 Dwarf: any progress? 2018-01-27 14:38:02 I've managed to follow parazyd's steps, but I can't take it offline just yet to test 2018-01-27 14:40:41 cool, keep me posted please 2018-01-27 14:45:56 Astate: megatools depends on libcrypto library which comes from one of libressl subpackages. in November libressl has been upgraded from 2.5.x to 2.6.x, which bumped libcrypto.so version (from .41 to .42), but not all packages using libressl has been rebuilt against it, and megatools is apparently one of these 2018-01-27 14:46:30 ok 2018-01-27 14:47:00 but apk are building from source ? 2018-01-27 14:48:27 apk tool is downloading binary packages (with .apk extension) from Alpine Linux repositories 2018-01-27 14:48:37 if you want to build your own package, you need abuild 2018-01-27 14:49:37 ok apk add megatools --update-cache --repository http://dl-3.alpinelinux.org/alpine/edge/testing/ --allow-untrusted 2018-01-27 14:49:48 dont use it https://git.alpinelinux.org/cgit/aports/tree/testing/megatools/APKBUILD 2018-01-27 14:49:53 its exact ? 2018-01-27 14:50:26 its not like AUR from archlinux 2018-01-27 14:51:31 Dwarf: the kernel and bootloader are going to be your biggest hangup in my limited ARM experience 2018-01-27 14:51:43 as I explained earlier, you cannot install megatools from Alpine Linux repository atm, because its dependency cannot be fullfilled right now, at least until someone will push the commit bumping pkgrel of megatools, so builders will rebuild the package and they'll got upoaded to package repositories 2018-01-27 14:51:59 I've messed with alpine on arm a couple times, but usually ended up getting frusterated and gave up caring 2018-01-27 14:52:26 armhf elfs (your userland) will run on most 32 bit arm 2018-01-27 14:52:41 that you'll commonly find in general purpose computers at least 2018-01-27 14:53:14 so it's likely a matter of finding a kernel that works 2018-01-27 14:53:24 if you're very impatient, Astate, you can try building megatools yourself. 2018-01-27 14:53:29 if there isn't mainline support for your device 2018-01-27 14:53:57 Dwarf: my best success with alpine on ARM is a BeagleBone Black 2018-01-27 14:54:10 but its cant finds make .. 2018-01-27 14:54:19 which i bought specifically because texas instruments merges their patches back to the mainline linux kernel 2018-01-27 14:54:21 i need to investigate ... :P 2018-01-27 14:55:06 and even then I took it way too far and started rebuilding world optimized for armv7a 2018-01-27 14:55:35 and I'm stuck on that right now due to evil packages like llvm and gcc and mesa that take lots of memory to build 2018-01-27 14:55:41 thanks for your help. i more understand now 2018-01-27 14:56:11 "ARM is a shitshow" -- me, 2018 2018-01-27 14:57:50 Astate: `apk add build-base` if you want to build anything on AL, or `apk add alpine-sdk` if you also plan to build your own packages 2018-01-27 15:00:01 theoretically you could try getting older libcrypto from v3.6 repo by installing libressl2.5-libcrypto 2018-01-27 15:00:09 and avoid building it yourself 2018-01-27 15:00:12 hi everyone, I'm interested in compiling suckless' st on Alpine (in order to configure it), and as far as I noticed, it already is in the main Alpine repos and simply works if I get the binary. However, is there a place where the ported code is located that I can download? 2018-01-27 15:00:35 TJoe: you can look at git.alpinelinux.org in aports/[main|community|testing]/packagename 2018-01-27 15:01:51 Astate: you're on x86_64? 2018-01-27 15:03:54 TJoe: https://git.alpinelinux.org/cgit/aports/tree/main/st?h=master 2018-01-27 15:04:08 just clone that whole git repo 2018-01-27 15:04:16 good to have on hand 2018-01-27 15:04:28 (make sure you pull regularly :) 2018-01-27 15:04:54 Astate: if yes, then download http://dl-cdn.alpinelinux.org/alpine/v3.6/main/x86_64/libressl2.5-libcrypto-2.5.5-r0.apk and apk add it locally, after that you'll be able to `apk add megatools` 2018-01-27 15:05:10 if no, then fix URL so it contains arch that you uses 2018-01-27 15:05:44 przemoc: i'm just trying to figure out how he got his system in such a broken state 2018-01-27 15:05:56 you've recommended apk update && apk upgrade 2018-01-27 15:05:57 right? 2018-01-27 15:07:52 hm. 2018-01-27 15:07:57 mepholic: sorry, I didn't follow your messages. about who are you talking about? who has broken system? 2018-01-27 15:08:05 Astate: what version of alpine are you on? 2018-01-27 15:08:10 3.7? edge? 2018-01-27 15:09:02 I assume he's using edge, because he wants megatools, that aren't provided in stable releases 2018-01-27 15:09:16 as it's in testing 2018-01-27 15:09:20 well 2018-01-27 15:09:28 the issue is that it hasn't gotten rebuilt recently 2018-01-27 15:09:45 against the latest version of libressl 2018-01-27 15:09:47 I already explained it to him 2018-01-27 15:10:08 well 2018-01-27 15:10:14 your suggestions weren't great 2018-01-27 15:10:21 and just now I provided the solution how he can workaround it 2018-01-27 15:10:24 you're going to end up having him brick his system 2018-01-27 15:11:44 all of the software that requires ssl on his system is likely dependant on libressl 2.6.3, not libressl 2.5 2018-01-27 15:11:56 assuming he's on edge 2018-01-27 15:12:06 apparently you're misunderstanding something. libressl2.5-libcrypto is standalone package that depends on musl only, installing it won't bring whole libressl suite 2018-01-27 15:12:20 so it won't give any harm 2018-01-27 15:12:39 der 2018-01-27 15:14:10 ok 2018-01-27 15:14:12 yeah 2018-01-27 15:14:14 you're correct 2018-01-27 15:14:26 fucking wackyass naming conventions 2018-01-27 15:14:48 "lets put a version number in the middle of a package name guys" 2018-01-27 15:15:38 if there wasn't this version in name, coinstalling older version wouldn't be possible 2018-01-27 15:15:43 so your rage is mistargetted 2018-01-27 15:15:55 either way, the CLEANER solution would probably just to be to rebuild the package locally with the same revision 2018-01-27 15:16:09 and then bump the release number in git 2018-01-27 15:17:19 mepholic danieli thanks, I'll try my best to understand how to compile st now 2018-01-27 15:17:27 przemoc: you appear to be misreading the scenario, please don't prescribe emotions to me 2018-01-27 15:17:32 (well, not via make, that is) 2018-01-27 15:18:36 so please refrain from writing stuff like: "fucking wackyass naming conventions" 2018-01-27 15:19:32 i'm going to exit this weird random pissing match 2018-01-27 15:20:25 TJoe: good luck 2018-01-27 15:20:33 let me know if you need any pointers 2018-01-27 15:20:54 I just provided quick workaround for Astate as he didn't seem well-versed in Alpine Linux world. building package on his own would be definitely harder task. and I'm not saying we should avoid fixing it in AL, I just don't have committer rights, so I cannot do it for him right now. 2018-01-27 15:21:46 it's a matter of cloning a repo, changing into a directory, typing abuild -r, and the apk adding the output 2018-01-27 15:22:00 don't crack it up to be harder than it is, teach new users. 2018-01-27 15:27:15 https://github.com/alpinelinux/aports/pull/3138 2018-01-27 15:27:17 god 2018-01-27 15:27:19 so much effort 2018-01-27 15:41:25 why was .vscode added to gitignore while there's no vscode for alpine (afaik)? 2018-01-27 15:41:48 lmao 2018-01-27 15:42:55 avih: someone probably cloned aports into a vscode project 2018-01-27 15:42:58 (also, missing empty last line) 2018-01-27 15:42:59 is my guess 2018-01-27 15:43:14 and vscode probably automatically added that line 2018-01-27 15:43:24 and it probably also didn't add an empty last line 2018-01-27 15:43:32 vscode doesn't add it from my experience 2018-01-27 15:43:39 welllllllll 2018-01-27 15:43:52 https://github.com/alpinelinux/aports/commit/6adaa6b3a5a1bf5d90d5aa0b2b2df38c6592bf8f 2018-01-27 15:43:57 you could ask kaniini :) 2018-01-27 15:43:59 (i do use vscode and looking forward for it on alpine, which is why it surprised me it was added to gitignore) 2018-01-27 15:51:47 mepholic I managed to build st, and got some .apk files. Is there a way to "unzip" these files and edit them? Or to patch them? All I want to do is patch some code, compile it, then use it. 2018-01-27 15:52:01 hmmm 2018-01-27 15:52:05 whatcha trying to do 2018-01-27 15:52:21 are you trying to add something to the archive? 2018-01-27 15:52:24 or remove something? 2018-01-27 15:52:37 cause you should handle that in the APKBUILD file 2018-01-27 15:52:43 oh? 2018-01-27 15:53:12 so, basically, if I have some patches that were made, I can "include" them in the APKBUILD file and abuild -r, basically? 2018-01-27 15:53:20 yup 2018-01-27 15:53:32 so 2018-01-27 15:53:48 obviously clone aports 2018-01-27 15:53:57 then change into aports/main/st 2018-01-27 15:54:03 fetch all your patches 2018-01-27 15:54:09 https://git.alpinelinux.org/cgit/aports/tree/main/st/APKBUILD#n17 2018-01-27 15:54:23 then add them after terminfo.patch on line 17 2018-01-27 15:54:34 in the source variable 2018-01-27 15:54:41 (inside the quotes :) 2018-01-27 15:54:50 one file per line 2018-01-27 15:55:03 ohhhhh 2018-01-27 15:55:06 then save and quit, then run: abuild checksum 2018-01-27 15:55:26 well that's more elegant than I thought 2018-01-27 15:55:34 that will just append the checksums of the files you downloaded to the APKBUILD 2018-01-27 15:55:43 after that you can safely run: abuild -r 2018-01-27 15:55:56 you can also specify the url's of the patches directly 2018-01-27 15:56:07 but if you do that, you have to do it sort of wacky 2018-01-27 15:56:09 like 2018-01-27 15:56:35 i usually go with something like $pkgname-$pkgver-patchname.patch::https://url.to/the.patch 2018-01-27 15:57:18 yea, everything makes sense now 2018-01-27 15:57:27 which tells abuild to save https://url.to/the.patch to a file called $pkgname-$pkgver-patchname.patch (filled in with the actual package name and version specifed above in the APKBUILD) 2018-01-27 15:58:13 TJoe: i was thinking you were wanting to add or remove a file from the actual package archive 2018-01-27 15:58:27 if you ever want to do that, just do things in the package() section 2018-01-27 15:58:46 to add or remove whichever files from the $pkgdir/ 2018-01-27 16:00:22 someone made some patches on github to st to add some extra functionality, and yea, all I wanted was to use them. Thanks a lot! I'll see what comes out of this :) 2018-01-27 16:16:47 przemoc: i am on ARM on raspberryu pi 2018-01-27 16:17:55 Astate: are you still having the same issue? 2018-01-27 16:19:20 yes 2018-01-27 16:20:10 Astate: have you done anything to try and fix it yet? if not, I can walk you through the procedure to fix it. 2018-01-27 16:20:27 if so, please tell me what you've done already 2018-01-27 16:20:41 ask tbk 2018-01-27 16:21:05 oh I'm blind 2018-01-27 16:21:13 for now i simply try to install from apk 2018-01-27 16:21:37 and i try to build from source ... 2018-01-27 16:21:44 Astate: which version of alpine are you currently on? 2018-01-27 16:21:51 please give me the output of: cat /etc/alpine-release 2018-01-27 16:21:52 arM 2018-01-27 16:22:14 3.7.0 2018-01-27 16:22:17 ok 2018-01-27 16:23:01 Astate: can you also please show me: cat /etc/apk/repositories | grep -Ev '^#' 2018-01-27 16:23:22 do you see a line that says "http://mirror.leaseweb.com/alpine/edge/main" 2018-01-27 16:23:31 or does it say alpine/3.7/main? 2018-01-27 16:23:57 at the end of the url 2018-01-27 16:24:17 leaseweb will probably not be your mirror 2018-01-27 16:24:41 backupsys:~# cat /etc/apk/repositories | grep -Ev '^#' 2018-01-27 16:24:43 /media/mmcblk0p1/apks 2018-01-27 16:24:44 http://mirror.csclub.uwaterloo.ca/alpine/v3.7/main 2018-01-27 16:24:46 http://mirror.csclub.uwaterloo.ca/alpine/v3.7/community 2018-01-27 16:24:53 hmmmm ok 2018-01-27 16:25:24 Astate: are you familiar with AUR in Arch Linux? 2018-01-27 16:25:31 by any chance 2018-01-27 16:25:37 yes 2018-01-27 16:25:47 you can build alpine packages similarly 2018-01-27 16:26:07 to install i will use apk add magatools --update-cache --repository http://dl-3.alpinelinux.org/alpine/edge/testing/ --allow-untrusted 2018-01-27 16:26:29 I will walk you through the process, which is sort of documented here: http://wiki.alpinelinux.org/wiki/Creating_an_Alpine_package 2018-01-27 16:26:32 if i understand i need to use this https://git.alpinelinux.org/cgit/aports/tree/testing/megatools/APKBUILD 2018-01-27 16:26:38 Astate: have you tried that command yet? 2018-01-27 16:27:09 earlier you posted this: 09:31:04 ERROR: unsatisfiable constraints: so:libcrypto.so.41 (missing): required by: megatools-1.9.98-r0[so:libcrypto.so.41] 2018-01-27 16:27:25 which I suspect came from you attempting to run: apk add magatools --update-cache --repository http://dl-3.alpinelinux.org/alpine/edge/testing/ --allow-untrusted 2018-01-27 16:27:28 is that correct? 2018-01-27 16:27:32 exactly 2018-01-27 16:27:37 ok 2018-01-27 16:28:37 the issue here is this: alpine packages are only built by the builders (on a per-repository basis) when the package's version or release number changes 2018-01-27 16:29:11 the last time that package was built was when libressl 2.5 was the main version of libressl used on alpine 2018-01-27 16:29:34 currently, alpine 3.7 uses libressl 2.6 2018-01-27 16:29:55 so unfortunately, the prebuilt package in the repos cannot find libressl 2.5 2018-01-27 16:29:56 i just need to rebuild megatools APKBUILD no ? 2018-01-27 16:30:01 yes, exactly 2018-01-27 16:30:18 so to do that, first check out the aports repository 2018-01-27 16:30:38 but i its not just a makepkg -si of PKGBUILD like archlinux 2018-01-27 16:30:48 git clone https://github.com/alpinelinux/aports.git 2018-01-27 16:30:56 Astate: don't worry, it's ALMOST as simple 2018-01-27 16:31:20 once that's cloned, run: sudo apk add alpine-sdk 2018-01-27 16:31:34 that'll install any packages that you need to build alpine packages 2018-01-27 16:32:22 you should then make sure that the user you're building the package as is in the "abuild" group 2018-01-27 16:32:46 which you can do with: addgroup abuild 2018-01-27 16:33:09 ok 2018-01-27 16:33:37 so once that's done, log out and log back in as that user so that it's in the group 2018-01-27 16:34:25 you can type "id" into a shell 2018-01-27 16:34:32 to make sure the user is in the abuild group 2018-01-27 16:34:47 once you've verified that 2018-01-27 16:35:01 change into the aports/testing/megatools directory 2018-01-27 16:35:05 and just type: abuild -r 2018-01-27 16:35:13 which should rebuild the package 2018-01-27 16:35:27 ah, I missed a step... 2018-01-27 16:36:27 before running the abuild -r, run this: abuild-keygen -a -i 2018-01-27 16:36:47 that will generate some asymmetric keys for signing the packages that you build 2018-01-27 16:37:20 ok 2018-01-27 16:37:30 you only need to run abuild-keygen one time 2018-01-27 16:40:29 Astate: sorry, afked. you could install older libressl from downloaded apk (replacing x86_64 by armhf in the url I provided), but mepholic is already explaining to you how to build a package, so hope you'll manage to get your megetools working. 2018-01-27 16:41:07 i need i dont have other choice to install sudo 2018-01-27 16:43:39 i like ifailed to execute: No space left on device 2018-01-27 16:43:44 shit 2018-01-27 16:43:49 df -h 2018-01-27 16:43:53 oups 2018-01-27 16:44:39 how i can cleanup it 2018-01-27 16:45:16 just remove aports ? 2018-01-27 16:46:03 i will move it 2018-01-27 16:46:28 hmmm 2018-01-27 16:46:39 Astate: couple of things 2018-01-27 16:46:54 can you pm me your df -h output 2018-01-27 16:47:15 or put it in a pastebin: https://paste.ee 2018-01-27 16:48:01 i already moved it on /mnt/backup 2018-01-27 16:48:14 https://paste.ee/p/b3P6N 2018-01-27 16:49:14 ah crap 2018-01-27 16:49:49 i can delete it and reclone to other place 2018-01-27 16:50:14 well, I think it's always going to want to spit packages out in ~ 2018-01-27 16:50:45 so it'd probably be better if you set your user's home directory to be on an actual disk 2018-01-27 16:50:59 either in /media/mmcblk0p1 or /mnt/backup 2018-01-27 16:52:35 oh no 2018-01-27 16:53:10 that's a tunable in ~/.abuild/abuild.conf 2018-01-27 16:53:34 it looks like you can just set PKGDEST=/mnt/backup/packages 2018-01-27 16:53:36 or something 2018-01-27 16:53:48 and make sure you create /mnt/backup/packages and chown it to your user 2018-01-27 16:53:53 first 2018-01-27 16:54:20 its more clean i like its 2018-01-27 16:54:40 ok 2018-01-27 16:54:47 let me know when you have all that crap done 2018-01-27 16:55:00 or if you get stuck on anything 2018-01-27 16:58:22 i have now megatools-1.9.98-r0.apk 2018-01-27 16:59:01 cool 2018-01-27 16:59:14 thank its work 2018-01-27 17:00:41 no problem man 2018-01-27 17:00:58 Astate: make sure you backup your ~/.abuild folder 2018-01-27 17:01:07 that contains the keys used to sign that package 2018-01-27 17:01:43 also, a good reference to alpine's package build system: http://wiki.alpinelinux.org/wiki/Creating_an_Alpine_package 2018-01-27 17:04:04 i will save my conversation with you :) 2018-01-27 19:29:01 who the hell is orion? 2018-01-27 19:29:05 lol 2018-01-27 19:32:47 mepholic: a cat? an warrior in the sky? 2018-01-27 19:33:45 https://git.alpinelinux.org/cgit/aports/tree/main/libressl/APKBUILD 2018-01-27 19:34:06 it was weirding me out that there was no email here: https://pkgs.alpinelinux.org/package/edge/main/armhf/libressl2.6-libcrypto 2018-01-27 19:36:40 oh right Astate, re: megatools 2018-01-27 19:36:43 https://github.com/alpinelinux/aports/pull/3138 2018-01-27 19:36:56 I put in this PR a few hours ago to just bump the pkgrel 2018-01-27 19:37:03 should cause the builders to rebuild it 2018-01-27 19:37:16 and I'd imagine it'll just get rebuilt against latest libressl 2018-01-27 19:48:07 i'd like to keep an ubuntu guest on my machine 2018-01-27 19:48:19 not like, with running init, but enough to compile stuff in it 2018-01-27 19:48:42 debian has schroot for this, does alpine have an equivalent or does schroot just need to be ported? 2018-01-27 20:07:56 ah, it depends on boost. scrap it 2018-01-27 20:33:22 liwakura: wouldn't plain chroot work? 2018-01-27 20:33:40 schroot has an suid-wrapper so i dont need sudo 2018-01-27 20:33:52 also some other pleasant configuration stuff... 2018-01-27 20:34:02 then fakechroot might work 2018-01-27 20:34:21 nah, i wanna run an ubuntu or debian for compiling 2018-01-27 20:34:33 fakechroot is not an option due to performance 2018-01-27 20:35:07 I never used it all that much, so I don't know anything about its performance 2018-01-27 20:35:20 it does it via LD_PRELOAD syscall rewriting 2018-01-27 20:35:28 which has quite some performance penalty 2018-01-27 20:35:49 fakeroot is affected the same way, thats why abuild does explicitly not use it when compiling 2018-01-27 20:36:14 ah, makes sense 2018-01-27 21:09:48 kahiru: i think i'll indeed just define my chroot mounts in the host fstab and use regular chroot() 2018-01-27 21:33:16 How do I launch chromium from chroot Arch Linux? 2018-01-27 21:40:07 koldbrutality: depends on what is setup already 2018-01-27 21:40:30 you need to bind-mount /proc, /dev, your homedir and /tmp into the chroot 2018-01-27 21:40:39 homedir for the Xauthority file.. 2018-01-27 21:43:57 I think arch-chroot does those things 2018-01-27 21:44:14 I can get spotify to show but I need the web browser to log on. 2018-01-27 21:44:17 no idea what you are referring to 2018-01-27 21:46:30 Spotify I needed to paxctl. I ran the linux-pax-flags for the web browsers in the chroot and it broke it I think. 2018-01-27 21:51:48 I got it to log on into spotify but I can't play music. It complains about dbus. :( 2018-01-27 22:02:03 I will try docker again. 2018-01-27 22:03:17 hi there 2018-01-27 22:03:34 i asked here some days ago about the database for aports-tubro 2018-01-27 22:04:04 i port it to pacman and in order to do so is it crucial, to understand the specification 2018-01-27 22:04:41 when I build aports-turbo and initialize the db by that, is the db empty 2018-01-27 22:04:51 so how to do? 2018-01-27 22:05:16 can anybody share me the db so that I can see its structure? 2018-01-27 22:07:50 <_ikke_> ShalokShalom: And import script is not enough? 2018-01-27 22:08:17 You need access to a mirror to generate the db 2018-01-27 22:09:08 The structure is defined in the import script 2018-01-27 22:09:31 <_ikke_> I pointed them to that script 2018-01-27 22:09:33 this one? 2018-01-27 22:09:34 https://github.com/alpinelinux/aports-turbo/blob/master/db.lua 2018-01-27 22:09:56 https://github.com/alpinelinux/aports-turbo/blob/master/tools/import.lua 2018-01-27 22:10:09 thanks a lot 2018-01-27 22:26:18 If I use a docker container does the contents need to be paxmarked in use it with the hardened kernel? 2018-01-27 22:30:32 ShalokShalom: the import scrip is what creates the db. it uses the apkindex to create packages related tables and uses the apk files to generate contents tables. this is why you need disk access to a mirror. 2018-01-27 22:31:52 koldbrutality: if you have a misbehaving program inside then you absolutely have to paxmark it ... 2018-01-27 22:32:07 because why fix them, right? 2018-01-27 22:38:12 specing: like Onion Code 2018-01-27 22:38:38 people fix stuff with workarounds in outer layers because nobody wants to fix the broken internals 2018-01-27 22:41:10 not familiar with alpine, but Gentoo Hardened does this 2018-01-27 22:41:21 i.e. paxmarks firefox instead of disabling JIT 2018-01-27 22:41:54 at that point having a grsec kernel is just a nuissance for the legitimate user 2018-01-27 22:42:39 and I filed a security bug for this a month ago ... no actual response yet 2018-01-27 22:42:46 ACTION shrugs 2018-01-27 22:43:33 clandmeter: thank you 2018-01-27 23:31:30 does pulseaudio work with musl? 2018-01-27 23:59:14 there is no mixer controls for pulseaudio on alpine? 2018-01-28 00:57:27 mixer controls for pulseaudio are a rare thing indeed anyways 2018-01-28 00:57:43 but i don't see why qpaeq couldn't be made to work? 2018-01-28 01:15:34 Hello, a couple of random things I noticed whilst installing Alpine on my laptop: lots of new Intel wireless firmware's missing from the iso, but exists after an install. Some gnome things are missing dbus-x11 as a dependency (also there's no overall gnome package, which I assume people know). I'm not certain who to tell / where to tell, so I decided that IRC is an acceptable place to tell. 2018-01-28 01:24:52 intel wifi firmware? 2018-01-28 01:25:39 i guess thats normal if you install using packages from the repos 2018-01-28 01:25:47 some kernels pull the firmware in as dependency 2018-01-28 01:40:17 In fact, gnome's missing a lot of things, it seems. I guess I can make do with xfce and some hidpi trickery. :( 2018-01-28 02:27:51 zgrep: Be careful, you might become Gnome's maintainer! 2018-01-28 02:28:15 But it should be fairly complete, I think? What programs are you missing? 2018-01-28 09:13:09 I don't know. I didn't particularly go in depth in attempting to get gnome to work. I got a good chunk of it to work, but some things were weird, particularly with hidpi there was a weird lag before it resized any launched apps (and some icons stay small). There were other things, and I might try again later. 2018-01-28 09:13:42 Some keybindings gnome set up on other distros weren't there. 2018-01-28 12:28:11 hidpi sucks in general on linux 2018-01-28 14:48:58 how do i install alpine with / on one pre-existing partition and /home on another? 2018-01-28 14:49:48 the installer seems to combine partitioning and filsystem/mountpoint selection but don't want to re-partition 2018-01-28 14:54:14 bleb: have you looked at https://wiki.alpinelinux.org/wiki/Setting_up_disks_manually ? 2018-01-28 14:54:44 basically you partition stuff the way you want, mount it somewhere and run setup-disk against that mountpoint 2018-01-28 14:56:41 and fix the bootloader afterwards 2018-01-28 15:00:01 kahiru: how would that fit in with the setup-alpine? 2018-01-28 15:00:38 as far as I know you have to use one or the other 2018-01-28 15:03:20 ok... and would that work if i my /home partition already has stuff on it which i don't want to mess with? 2018-01-28 15:25:58 hmm i ran dd if=/usr/share/syslinux/mbr.bin of=/dev/sda 2018-01-28 15:26:06 now getting "missing operating system" 2018-01-28 15:26:23 (when i try to boot) 2018-01-28 15:33:47 bleb: have you set the partition to bootable? 2018-01-28 15:34:23 it would be an '*' in the partition list in fdisk 2018-01-28 15:34:32 yes i did 2018-01-28 15:35:24 maybe the extlinux install did not happen 2018-01-28 15:38:35 Hello 2018-01-28 15:38:50 hi 2018-01-28 15:39:07 I'm trying to set up networking on linode, but I'm having some issues with Linode routing ipv6 through link locals 2018-01-28 15:39:22 https://0x0.st/sbZa.png 2018-01-28 15:39:29 excuse the image, it's from the console 2018-01-28 15:56:00 So this is happening: http://ix.io/EOE 2018-01-28 16:09:23 liwakura: if it prints extlinux: Not a directory: /mnt/boot, would that indicate that it's not installing properly? 2018-01-28 16:09:59 after it runs it does have a boot directory created... but maybe i have to create /mnt/boot manually? 2018-01-28 16:10:58 extlinux shouldn't say that... 2018-01-28 16:11:23 does it expect there to be a separate boot partition? 2018-01-28 16:11:34 no 2018-01-28 16:13:37 these are the commands i ran: http://ix.io/EOO 2018-01-28 16:14:32 see anything missing? 2018-01-28 16:16:16 dont know... i rarely work with the setup-* scripts 2018-01-28 16:30:53 liwakura: extlinux is supposed to create /usr/share/syslinux/mbr.bin? 2018-01-28 16:38:39 i was able to rebuild my grub config via the void linux install disk. it was able to detect an Alpine Linux v3.7 partition, but if i try to boot to it i get "Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) 2018-01-28 16:40:39 bleb: no 2018-01-28 16:41:01 extlinux only setups some files and write some binary to the beginning of /dev/sda1 2018-01-28 16:41:11 or your respective block device 2018-01-28 16:41:48 bleb: i dont think the void grub would get the kernel arguments correctly for alpine 2018-01-28 16:47:57 hmm ok... so one source says that i should dd if=/usr/share/syslinux/mbr.bin of=/dev/sda 2018-01-28 16:48:31 if that makes sense, then some command must be responsible for creating mbr.bin with the partition info 2018-01-28 16:48:56 would setup-disk do that? 2018-01-28 16:50:55 another source suggest that i set up grub from another non-alpine partition (e.g. void), but idk how i'd configure grub with the correct parameters so that i don't get the error i just got 2018-01-28 16:51:12 when trying to boot alpine i mean 2018-01-28 16:55:02 bleb: uhm 2018-01-28 16:55:16 the mbr.bin and grub are parts of different bootloaders 2018-01-28 16:55:46 are you trying to install extlinux or grub? 2018-01-28 16:56:18 also, there is documentation on the syslinux/extlinux wiki how to do it manually 2018-01-28 17:01:50 liwakura: ultimately i want my grub to have a working alpine entry 2018-01-28 17:02:19 but i figured understanding why the non-grub tutorial ive been following doesn't work, may help 2018-01-28 17:02:26 i was following this http://obemsg.blogspot.com/2012/08/alpine-linux-installation-using-fdisk.html 2018-01-28 17:03:18 bleb: then you dont need to write mbr.bin 2018-01-28 17:03:24 then that fucked my mbr so i reconstituted it with grub via void's installer 2018-01-28 17:04:01 so maybe the best approach would be to figure out how to set the right grub params so that it can boot alpine 2018-01-28 17:04:17 thats not too difficult, actually 2018-01-28 17:04:49 like, /boot/exlinux.conf will contain the kernel parameters and the filename for vmlinuz and initrs 2018-01-28 17:04:52 *initrd 2018-01-28 17:04:59 does that Kernel panic "Unable to mount root fs on unknown-block(0,0)" after selecting the alpine grub entry indicate a misconfigured grub? 2018-01-28 17:05:09 yes 2018-01-28 17:05:23 i wasn't sure if perhaps the installation iself on the alpine partition was fucked 2018-01-28 17:05:34 if i had to guess, grub does not load the initrd, only vmlinuz 2018-01-28 17:48:52 liwakura: you were right, the autogenerated alpine menu entry had no initrd 2018-01-28 17:49:07 making a custom entry with the information from /boot/extlinux.conf worked 2018-01-28 17:49:11 thanks for your help! 2018-01-28 17:50:37 np 2018-01-28 18:48:29 does alpine not come with a tmpfs by default? 2018-01-28 18:48:37 i.e. a tmpfs mounted on /tmp 2018-01-28 18:48:45 no 2018-01-28 18:48:49 good to know 2018-01-28 18:48:52 i just added one to fstab 2018-01-28 20:50:15 I'm using edge repo's, I've rm'd /var/cache/apk/*.tar.gz, apk update, apk upgrade, and nothing is upgrading. Any ideas? 2018-01-28 20:51:02 been long since you did apk update && apk upgrade? 2018-01-28 20:51:11 I can 'apk fetch' the latest packages 2018-01-28 20:51:39 danieli: few days after the intel meltdown drama 2018-01-28 21:08:57 hi 2018-01-28 21:09:22 h 2018-01-28 21:09:43 is there a way to define locales in alpine? 2018-01-28 21:12:20 i recall seeing some separate tool to implement them 2018-01-28 21:13:38 sy: you can just set the environment variables 2018-01-28 21:13:54 export LC_ALL="en_US.UTF-8" 2018-01-28 21:14:00 they wont have any effect, but its enough to calm programs like mosh 2018-01-28 21:14:11 and if i use some obscure locale? 2018-01-28 21:14:21 export LC_ALL="obscure_locale" 2018-01-28 21:14:31 ¯\_(ツ)_/¯ 2018-01-28 21:15:41 don't i need to generate them? 2018-01-28 21:15:59 no, there are no locales on alpine 2018-01-28 21:16:07 damn 2018-01-28 21:16:24 locales are how i fixed this https://0x0.st/sbqN.png 2018-01-28 21:16:36 er 2018-01-28 21:16:40 the time? 2018-01-28 21:16:44 no 2018-01-28 21:16:45 export LC_ALL="en_US.UTF-8" 2018-01-28 21:16:50 sy: just set the variable 2018-01-28 21:17:08 best in your xinitrc or profile, before the terminal emulators start 2018-01-28 21:17:46 or just systemwide in /etc/profile.d, which is probably even cleaner 2018-01-28 21:17:48 oh hey that fixed it 2018-01-28 21:17:58 thanks liwakura 2018-01-28 21:18:10 i was doing all the variables individually 2018-01-28 21:18:20 LC_ALL > * 2018-01-28 21:18:26 it is all of them after all 2018-01-28 21:22:12 I'll just nuke the OS, its just vm 2018-01-28 21:22:16 Bye. 2018-01-28 22:19:45 is there a good way to debug openrc? my init script fails since one one of the commands in checkconfig causes a seccomp violation that doesn't happen when I execute it directly 2018-01-28 22:23:12 I built the init script with an older version of my program that didn't have seccomp yet. The weirdest part is that the syscalls that triggers the violation getuid() directly after seccomp() doesn't appear when stracing the same command directly 2018-01-28 22:44:22 it seems this happens because $HOME isn't set by openrc and in that case /etc/passwd is opened to read the home folder. I haven't tested this case before, therefore I didn't whitelist the syscalls that are needed to do that 2018-01-29 02:01:09 wtf. somehow I just built a raid5 with 1 disk? 2018-01-29 02:01:41 I knew something didn't look right 2018-01-29 02:02:04 lol, how does one "kill" a building raid array? 2018-01-29 02:18:59 hey guys, have any of you tried to install alpine linux on bare metal? if so, which is the slimmest version of it that can do it? 2018-01-29 02:20:06 slimmest? actually, I don't know... alpine is so freaking tiny as it is, I never needed a "slim" version 2018-01-29 02:20:54 shodan45, is just for curiosity and scientific purposes 2018-01-29 02:21:28 I would think to go with the smallest that doesn't say it's for VMs or containers 2018-01-29 02:24:23 shodan45: The default insta is the basic system with the package manager and miscellaneous system utilities installed. 2018-01-29 02:24:30 install, even 2018-01-29 02:25:20 It strikes me as unlikely you'd be happy with just that for a given installation. Customise it accordingly. 2018-01-29 02:25:27 shodan45, duncan^ so pretty much for bare metal the standard version would do 2018-01-29 02:25:39 now, what exactly is stripped off in the VM special version? drivers? 2018-01-29 02:26:01 I'm not sure what the point of contention is. 2018-01-29 02:26:16 duncan^: I wouldn't even go that far... busybox is the default for most stuff, and most of the time I find I need the full version 2018-01-29 02:26:22 It's fairly descriptive about how the different versions differ 2018-01-29 02:26:55 shodan45: Busybox happens to be limited and variable in quality and completeness 2018-01-29 02:27:10 duncan^, in the webpage just says "slimmed down kernel" what tf that suposedly means? 2018-01-29 02:27:33 It means what it says 2018-01-29 02:27:37 less drivers built in? more aggresive gcc compilation flags? some 1337 hacks into the ASM object code? what 2018-01-29 02:28:17 Fewer modules are required for the VM flavor, naturally. So, the kernel is slimmed-down. 2018-01-29 02:29:44 duncan^: I have to admit, I don't find the different flavors' descriptions super helpful 2018-01-29 02:29:49 I do not know what "1337" is (the year the English ceased their assault on Stirling Castle?) 2018-01-29 02:30:06 but I suspect that question was not in good faith 2018-01-29 02:30:19 if "vanilla" is pretty much only used for debugging, I'd just remove it 2018-01-29 02:30:34 Vanilla is Alpine with vanilla kernel 2018-01-29 02:30:40 It serves a purpose 2018-01-29 02:31:20 duncan^, sorry, i really didnt meant a malicious or evilicious intention on my commetns 2018-01-29 02:31:38 duncan^, so vanilla kernel is basically mainline kernel from Linux foundation? 2018-01-29 02:31:41 But I am not a developer of main Alpine system, so I cannot comment on plans for said flavor. 2018-01-29 02:31:42 with allt he stuff ON? 2018-01-29 02:31:56 duncan^, do you work in any derivative? 2018-01-29 02:32:18 No. 2018-01-29 02:33:42 Vanilla flavor uses a kernel absent of the unofficial Grsecurity forward port. 2018-01-29 02:34:42 Hardened kernel is using an unofficial Grsecurity forward port to kernel 4.9.x. 2018-01-29 02:36:50 vanilla is the profile suitable for most bare-metal installations. -virtual is the profile suitable for VMs. -hardened and -virthardened were grsec-derived variant profiles which are now pretty useless due to the grsec guy deciding he's too good for open-source and meltdown/spectre basically wrecking everything. 2018-01-29 02:37:41 Aerdan[m], lol wut 2018-01-29 02:38:01 what happened to grsec dev? he now works for a close source party/company/project? 2018-01-29 02:38:25 No. Grsecurity is still open source. One just has to pay for it now. 2018-01-29 02:38:34 no, he's charging money for access to grsec. 2018-01-29 02:39:10 the grsec bits used in -hardened were forward-ported from the last free release. 2018-01-29 02:39:17 ...and there is nothing wrong with charging for software. Perhaos it will be more sustainable now. 2018-01-29 02:39:31 did he used MIT license i guess? 2018-01-29 02:39:48 duncan^, Aerdan[m] how much does he charge for it? 2018-01-29 02:40:13 no, not really. the reality is, his fixes could've been mainlined if he didn't have a holier-than-thou attitude regarding his infosec prowess. 2018-01-29 02:40:54 neither know nor care, tbh. 2018-01-29 02:40:57 infosec should not be an ego-stroking profession. 2018-01-29 02:40:58 Actuallu, the truth with the KPTI stuff is more conplex. 2018-01-29 02:41:06 https://github.com/minipli/linux-unofficial_grsec/issues/25 2018-01-29 02:41:13 Please be patient. 2018-01-29 02:42:05 Aerdan[m], INFOSEC or just CyberSEC? 2018-01-29 02:42:21 if he says so. 2018-01-29 02:42:23 infosec *is* 'cybersec'. 2018-01-29 02:42:26 or just *SEC 2018-01-29 02:42:35 In upstream Grsecurity, they claim to have adapted their UDREF functionality to replace KPTI. 2018-01-29 02:42:55 One can always pay for Grsecurity. 2018-01-29 02:43:01 look, take anything spender says with a large grain of salt. 2018-01-29 02:43:30 The code has a strong record, though. 2018-01-29 02:43:47 So, I will take said pinch of salt. But, it has standing. 2018-01-29 02:45:23 guys, and the VM specialized version/distribution of Alpine does come with GRSEC patches? 2018-01-29 02:47:30 virthardened does, but it's outdated. use -virt instead. 2018-01-29 03:20:53 it comes with old patches that are vulnerable to meltdown 2018-01-29 05:11:41 Does -standard have grsec patches? What is the difference between it and -vanilla? 2018-01-29 05:13:07 it's not clear since -hardened isn't listed, but -vanilla still says "Does not include grsec patch set." 2018-01-29 05:15:00 I don't see hardened in the previous releases even, is -standard an alias for -hardened? 2018-01-29 05:22:11 the grsec bits used in -hardened were forward-ported from the last free release. 2018-01-29 05:22:34 is that a typo for -standard? 2018-01-29 05:23:13 I can't find -hardened now, so was it removed, or is that -standard? 2018-01-29 05:23:42 if they're different, then what is -standard? 2018-01-29 05:31:14 <_ikke_> halbeno: due to spectre/meltdown, it was hard to continue hardened 2018-01-29 05:31:47 I'm surprised that it was removed from the previous versions too 2018-01-29 05:32:03 what patches does -standard have then? 2018-01-29 05:32:15 <_ikke_> might still have pax 2018-01-29 05:33:31 I had heard about the issues with grsec and spectre and was hoping to avoid it 2018-01-29 05:34:02 <_ikke_> https://lists.alpinelinux.org/alpine-devel/6022.html 2018-01-29 05:36:22 haha 2018-01-29 05:36:41 KPTI not relevant to AMD 2018-01-29 05:36:50 but spectre is 2018-01-29 05:37:36 hardened would be good for AMD but not for intel 2018-01-29 05:38:36 I see the 3.7 repos have linux-hardened, but it's removed from edge 2018-01-29 05:40:20 all the userland should be deprecated 2018-01-29 05:42:18 gcc 7.3 will have retpoline patches and new flags for it 2018-01-29 05:43:08 all the c and c++ code should be filtered for dangerous speculation 2018-01-29 05:47:59 The difference in speed i think is negligable for the various types of spectre migitation according to phoronix benchmarks 2018-01-29 05:48:53 You would need like special forms of code pattern for the patch 2018-01-29 06:51:56 phoronix's benchmarks are not useful for much, ignore them. 2018-01-29 06:52:53 halbeno: at the moment, alpine is working on migrating remaining hardened-only modules to -vanilla, at which point all supported releases of alpine will get -vanilla and -virt 4.14 2018-01-29 06:53:23 (or, if no one steps up to do said modules soon, they'll just be dropped and 4.14 pushed regardless.) 2018-01-29 06:53:37 -hardened and -virthardened are deprecated. 2018-01-29 07:28:07 <_ikke_> Aerdan[m]: do you know the difference between the standard and vanilla image? 2018-01-29 07:40:03 not many programmers would use the patterns to trigger spectre. it would be like finding a needle in a haystack to patch potential spectre exploits 2018-01-29 07:40:17 that's why the benchmarks makes sense to me 2018-01-29 07:40:33 the media overexaggerates the numbers 2018-01-29 07:41:02 they say like 30% degration 2018-01-29 07:45:56 <_ikke_> Isn't that only for spectre v2, which requires retpoline? 2018-01-29 08:09:25 koldbrutality: they don't 2018-01-29 08:09:54 koldbrutality: dealing with alpine git repositories, it is WAY slower with KPTI enabled. so much so, that i disable KPTI now. 2018-01-29 08:10:17 koldbrutality: instead, i intend to buy AMD EPYC system to replace my current intel x86 machine 2018-01-29 08:10:22 yeah its especially obvious for workloads that are heavy on syscalls 2018-01-29 17:54:19 Hi 2018-01-29 17:54:31 So I'm having some issues with graphics 2018-01-29 17:54:54 But before I tell you them, perhaps It'd be easier if I told you what I'm trying to do 2018-01-29 17:55:12 I'm currently using vesa for rendering, glxinfo fails and everything has tearing 2018-01-29 17:55:19 But it's workable so I've stuck with it 2018-01-29 17:55:38 But I've just had the sudden urge to play a game, and it doesn't work :( 2018-01-29 17:56:12 I know I'll need to install drivers for my nvidia card 2018-01-29 17:56:20 Just wondering what the correct way to do this is 2018-01-29 17:56:38 I did xbps-install nvidia, but that broke xorg, with it saying that no screens were found 2018-01-29 17:57:00 xbps-install? isn't that the void linux package manager? 2018-01-29 17:57:12 Oh fuck I didn't read 2018-01-29 17:57:20 :P 2018-01-29 17:57:32 Alpine and Void are the only linuces I use and the channel name looked familiar 2018-01-29 17:57:40 you really don't want to use the vesa driver. use modesetting instead, or nouveau. 2018-01-29 17:57:40 Oh well time to repaste 2018-01-29 17:58:11 This is actually the reason I couldn't go with alpine :( had to have my proprietary gpu 2018-01-29 17:58:18 (modesetting will generally do the right thing; vesa is for really ancient hardware.) 2018-01-29 17:58:48 also, further tip: don't use nvidia if you want a good FOSS experience. 2018-01-29 17:59:23 they don't care about open-source, they just care that their customers want to use their cards on Linux in a professional setting. 2018-01-29 18:00:32 I don't really mind, I just want to be able to play games 2018-01-29 18:00:35 Forgive me RMS 2018-01-29 18:02:39 ACTION is disappointed of sy 2018-01-29 18:05:01 if you want to game on Linux, you should invest in AMD GPUs. their drivers aren't fantastic, but at least (aside from opengl) they're open-source for newer hardware. 2018-01-29 18:14:29 Aerdan[m]: Why besides of OpenGL? 2018-01-29 18:15:52 ACTION starts his proprietary steam client 2018-01-29 18:16:22 because amdgpu's OpenGL driver is still closed-source, presumably due to licensing issues involved. 2018-01-29 18:16:28 sy: Vega is coming great. 2018-01-29 18:16:41 Even Intel includes them in their setup. 2018-01-29 18:16:44 ShalokShalom: vega? 2018-01-29 18:17:00 Their new GPU line 2018-01-29 18:17:02 Of AMD 2018-01-29 18:17:06 ah 2018-01-29 19:24:14 hello all, what is the correct usage of "apk COMMAND -p DIR" to install a package to a custom location? 2018-01-29 19:24:57 i get the error: "Unable to lock database: No such file or directory ... Failed to open apk database: No such file or directory" 2018-01-29 19:25:29 <_ikke_> -p is root dir 2018-01-29 19:25:39 <_ikke_> it's for pointing to a differnt chroot 2018-01-29 19:25:50 aha 2018-01-29 19:26:02 ok nvm :) 2018-01-30 00:21:38 how can I install openssl in addition to the standard libressl? 2018-01-30 00:26:53 don't really see why you'd want to do that 2018-01-30 00:26:56 but there are openssl packages 2018-01-30 00:27:03 @ midasi 2018-01-30 00:27:27 libressl doesn't support curve25519...that's why 2018-01-30 00:27:31 aha 2018-01-30 00:27:45 I wasn't able to install the openssl packages 2018-01-30 00:27:49 how come? 2018-01-30 00:27:54 conflicts? 2018-01-30 00:29:19 no, when I try to install openssl I always get libressl.... 2018-01-30 00:30:56 https://pkgs.alpinelinux.org/contents?branch=edge&name=libressl-dev&arch=x86_64&repo=main 2018-01-30 00:31:32 I'm headed to sleep. I'm dead tired. good luck figuring it out, I don't know the answers from the top of my head, especially in this state 2018-01-30 00:31:53 no problem, thanks anyway! 2018-01-30 02:54:25 midasi: give it some time, libressl is going away in favour of openssl at some point. 2018-01-30 05:29:03 it is? that's news to me. we haven't discussed that change for 3.8 yet. 2018-01-30 05:29:24 it is something that we are thinking about doing, but no final decision is made as of yet 2018-01-30 06:15:43 there is pulseaudio but no pulseaudio player. mpv, mplayer, audacious doesn't have it 2018-01-30 06:17:36 pulseaudio is in testing, audacious is not (: 2018-01-30 06:26:30 did libressl not deliver on its promises? 2018-01-30 09:00:45 TBB you mean? 2018-01-30 10:25:26 Hi, any ETA for PHP 7.2? 2018-01-30 12:36:44 terror, there was a mention above about Alpine possibly going back to openssl, about it being under some discussion 2018-01-30 14:19:22 hey, can anybody help me with a question about the setup-alpine process? thx 2018-01-30 14:20:08 <_ikke_> mbuil: It helps to actually ask a question 2018-01-30 14:20:24 <_ikke_> (people respond mostly to questions, not requests for help( 2018-01-30 14:21:25 _ikke_ I see :) 2018-01-30 14:25:39 I have installed several packages and created a few scripts in Alpine. However, when I reboot, everything is gone and it is as if I had a fresh Alpine again. I read that the way to avoid this is by selecting "sys" when setup-alpine asks for "where to place the store configs", however, that question only allows me to answer: usb, floppy and vda 2018-01-30 14:26:13 <_ikke_> mbuil: You need to select sys a step earlier 2018-01-30 14:29:33 _ikke_ let me check that. Thanks for the answer 2018-01-30 14:32:23 _ikke_ the previous step is about selecting the ssh server ==> https://hastebin.com/uwazaxemub.php 2018-01-30 14:33:10 <_ikke_> ok, try none 2018-01-30 14:48:01 _ikke_ ok, done. But none means everything is ephemeral or? 2018-01-30 14:48:38 <_ikke_> mbuil: I'm missing a step in the configuration (or it has changed) 2018-01-30 14:49:15 _ikke_ I am using 2017-11-30 Alpine 3.7.0 2018-01-30 14:49:31 Virtual version 2018-01-30 14:53:22 _ikke_ what are you using? I don't mind moving to a previous version 2018-01-30 14:56:56 <_ikke_> mbuil: can you manually try to run setup-disk? 2018-01-30 14:59:06 _ikke_ ==> https://hastebin.com/qejedopego.pl 2018-01-30 14:59:55 <_ikke_> Ok, so it somehow does not find disks suitable for another installation type 2018-01-30 15:00:14 <_ikke_> https://git.alpinelinux.org/cgit/alpine-conf/tree/setup-disk.in 2018-01-30 15:00:53 <_ikke_> mbuil: what does cat /proc/partitions return? 2018-01-30 15:01:35 _ikke_ https://hastebin.com/lurugelosu.pl 2018-01-30 15:02:03 and /dev/vda is mounted ==> /dev/vda on /media/vda type iso9660 (ro,relatime) 2018-01-30 15:03:12 <_ikke_> Ah, that's the issue 2018-01-30 15:03:18 <_ikke_> https://git.alpinelinux.org/cgit/alpine-conf/tree/setup-disk.in#n555 2018-01-30 15:03:43 <_ikke_> setup-disk ignores mounted partitions 2018-01-30 15:04:34 _ikke_ ok... what should I do? It mounts it automatically... should I provide a second hard disk? 2018-01-30 15:05:03 <_ikke_> can you try to unmount it? 2018-01-30 15:05:24 umount: can't unmount /media/vda: Resource busy 2018-01-30 15:05:43 <_ikke_> is your PWD /media/vda? 2018-01-30 15:05:49 it has important directories: boot, apks, efi 2018-01-30 15:06:03 <_ikke_> is that the boot disk? 2018-01-30 15:06:05 no, it is /root 2018-01-30 15:06:43 <_ikke_> if /dev/vda is the boot disk, then you need to provide an addition disk to install on 2018-01-30 15:07:26 Am i correct that alpine doesnt check floppies for apkovl images anymore? 2018-01-30 15:07:41 _ikke_ ok. I just provided one disk and Alpine took it, partitioned it and created those directories automagically 2018-01-30 15:08:07 <_ikke_> did you run setup-bootable? 2018-01-30 15:08:15 _ikke_ no 2018-01-30 15:08:41 _ikke_ should I? 2018-01-30 15:08:43 <_ikke_> no 2018-01-30 15:12:17 <_ikke_> mbuil: if it's not an issue, can you format that disk and try to run the setup again? I don't expect alpine to automatically write those things on that disk 2018-01-30 15:15:02 _ikke_ I tried again. I haven't run setup-alpine but I can see it mounted 2018-01-30 15:15:25 but now it is not in /etc/fstab. Before, it was there 2018-01-30 15:16:06 https://hastebin.com/arenoqegek.hs 2018-01-30 15:16:31 and /media/vda has apks/, boot/ and efi/ :( 2018-01-30 15:16:57 <_ikke_> iso9660 2018-01-30 15:17:00 <_ikke_> That's a cdrmo 2018-01-30 15:17:02 <_ikke_> cdrom 2018-01-30 15:17:09 <_ikke_> sounds a lot like a boot disk 2018-01-30 15:18:09 _ikke_ oooh, right 2018-01-30 15:20:45 _ikke_ I see the problem now. I would like Alpine to take /dev/vda1 as the boot disk and then I can take /dev/vda2 for swap and /dev/vda3 for my persistent stuff. However, as it mounts the whole /dev/vda, I can create vda3 but I cannot format it or mount it because it says the resource is busy 2018-01-30 15:21:34 <_ikke_> mbuil: Provide the boot disk as a different mediuam 2018-01-30 15:21:37 <_ikke_> medium 2018-01-30 15:21:47 <_ikke_> you are right now booted from that disk 2018-01-30 15:22:05 <_ikke_> not sure what system you are using to run this m 2018-01-30 15:22:07 <_ikke_> vm 2018-01-30 15:22:22 it's libvirt 2018-01-30 15:22:36 I have a standard openstack env. using libvirt to create VMs 2018-01-30 15:23:04 <_ikke_> Not too familiar with it, but I think it should be possible to provide an ISO as a cdrom like device 2018-01-30 15:23:15 <_ikke_> and then a separate volume as disk 2018-01-30 15:23:47 yes, that's possible. I'll try 2018-01-30 15:23:51 thanks _ikke_ 2018-01-30 15:27:53 there is no way to configure Alpine to mount /dev/vda1 instead of the whole /dev/vda right? 2018-01-30 15:28:30 <_ikke_> I think the only reason why alpine mounts it is because it recognizes it as a cdrom 2018-01-30 15:28:42 <_ikke_> if it's just a disk, alpine would not mount it 2018-01-30 15:31:58 _ikke_ ok. It is passed as a disk () and other OS detect it as a disk. I'll investigate a bit 2018-01-30 16:37:26 Hello, I’m trying to run apache on alpine, with a custom kernel (config merged from alpine vanilla config and mainline kernel), but when apache start it fails with the following error: 2018-01-30 16:41:52 edit: custom kernel is built with mainline config only 2018-01-30 16:43:00 And the error is: 2018-01-30 16:43:02 [Thu Jan 01 01:01:28.116923 1970] [core:emerg] [pid 1108] (38)Function not implemented: AH00023: Couldn't create the mpm-accept mutex 2018-01-30 16:43:04 (38)Function not implemented: could not create accept mutex 2018-01-30 16:43:06 y 2018-01-30 16:43:19 Should I ask on #alpine-dev maybe? 2018-01-30 16:44:00 it's devel 2018-01-30 16:44:35 Ok 2018-01-30 17:34:09 _ikke_ once I added a second drive, I was able to see the extra option in setup-alpine 2018-01-30 17:34:19 _ikke_ everything is fine now, thanks! 2018-01-30 17:34:50 <_ikke_> You need only one disk 2018-01-30 17:35:00 <_ikke_> The boot iso should not be mounted as a disk 2018-01-30 17:57:56 I'm sure I've come across this before, but I can't remember how I resolved it. I'm trying to install a package that I found using `apk --no-cache search`, but when I try to install it, I get "unsatisfiable constraints" ... "(missing)". I've done apk update and apk upgrade, but that hasn't helped. Any ideas? 2018-01-30 18:05:46 <_ikke_> What is it saying that is missing? 2018-01-30 18:07:10 The actual package that I've asked it to install, it's inside a Docker conainer, so I you can see the build log here: https://pastebin.com/JZU6910E 2018-01-30 18:07:22 so you can see* 2018-01-30 18:07:58 <_ikke_> You should not specify the version part 2018-01-30 18:08:05 <_ikke_> just the package name 2018-01-30 18:08:29 <_ikke_> (apk search -q) 2018-01-30 18:09:18 Oh, man... I can't believe it was that, I tried dropping the "-r0" from the end, because I thought I'd seen something similar before, but didn't try dropping the entire version. That's sorted it, cheers :) 2018-01-30 18:10:05 Will definitely remember the -q now though! 2018-01-30 20:28:39 Hey there, I spent some time trying to join but yay eventually :) 2018-01-30 20:29:23 Quick question that might be more directed to -devel, I submitted a patch this morning but don't see anything on patchwork yet, I don't remember patches taking so long to show up for review in the past 2018-01-30 20:29:40 kaiyou: you sent to alpine-aports@lists.alpinelinux.org, right? 2018-01-30 20:30:01 Indeed :) 2018-01-30 20:30:12 kaiyou: at what time? 2018-01-30 20:30:31 danieli: Date: Tue, 30 Jan 2018 08:28:48 +0100 2018-01-30 20:31:11 kaiyou: https://i.imgur.com/nsbLhqr.png 2018-01-30 20:31:23 I'm not seeing anything sent there at 8.28 am (I'm in GMT+1) 2018-01-30 20:31:34 Mmmh, I'll have a look at my mta logs then :( 2018-01-30 20:31:37 Thanks 2018-01-30 20:31:42 no worries 2018-01-30 20:31:49 it didn't reach lists.a.o for sure 2018-01-30 20:32:47 Aw, it's rejected by mail.alpinelinux.org with 451 4.7.1 Service unavailable (in reply to RCPT TO command) 2018-01-30 21:35:47 danieli: any idea why I would get such an error? weird antispam message maybe? 2018-01-30 21:36:08 kaiyou: I don't have access or insight into the email system, sorry 2018-01-30 21:36:15 I think rnalrd and possibly clandmeter do 2018-01-30 21:36:34 okay, thanks, will wait and see then 2018-01-30 21:41:56 Isn't that grey listing? 2018-01-30 21:44:31 would think it is greylisting 2018-01-30 21:44:42 not sure we have that though? 2018-01-30 21:45:01 clandmeter: it does not seem so, it got rejected 10 times today, with various delays between retries 2018-01-30 21:47:01 or maybe the greylisting period is pretty long and/or requires manual action? 2018-01-30 21:47:09 should not 2018-01-30 21:47:56 greylisting uses 451 to temp reject 2018-01-30 21:51:08 For reference, here are the logs from my mta: https://pastebin.com/eqMJVTfd 2018-01-30 21:51:53 ok ill check the logs, maybe it rejects you for other reasons. i didnt configure it so im just guessing 2018-01-30 21:52:23 thank you so much :) 2018-01-30 21:53:00 kaiyou: mind "/msg danieli the-email@domain.com" ? 2018-01-30 21:53:12 I can check if you have something misconfigured in terms of rDNS/PTR and such 2018-01-30 21:54:43 kaiyou: can you send me your outgoing ip/email address so i can search the logs. 2018-01-30 21:57:31 danieli: i found the issue 2018-01-30 21:57:41 clandmeter: figured you would 2018-01-30 21:58:35 clandmeter: I think I did too 2018-01-30 21:59:41 has something to do with a big salt water fish 2018-01-30 22:00:12 correct 2018-01-30 22:00:19 figured that was it 2018-01-30 22:00:40 reminds me of the song with a title matching that description 2018-01-30 22:33:06 dear alpine people: I'd love an "LTS" version of alpine, even if it cost money 2018-01-30 22:34:46 we use centos 6 on servers where I work, and 6 is going EOL in ~2 years 2018-01-30 22:35:01 and 7... well... it has systemd 2018-01-30 22:35:06 lol 2018-01-31 00:10:32 shodan45: not quite LTS, but each release has a specified support end date https://wiki.alpinelinux.org/wiki/Alpine_Linux:Releases 2018-01-31 00:12:47 they're all about 2 years, give or take 2018-01-31 00:41:24 shodan45: i moved all the el6 infra over to alpine at $oldjob 2018-01-31 02:12:13 scv: we have various proprietary crap that needs glibc 2018-01-31 02:13:07 you could probably try adelie's libgcompat. 2018-01-31 02:14:01 yeah 2018-01-31 02:14:28 or worst case scenario, package the bins your proprietary stuff depends on and install alongside musl 2018-01-31 02:14:32 it's pretty nasty but it works 2018-01-31 02:14:41 i have to do it for some raid card management tools 2018-01-31 02:15:36 I'd rather just get rid of the crap 2018-01-31 02:15:40 ACTION sighs 2018-01-31 02:15:55 what is it anyway, LOB software? or something less critical 2018-01-31 02:18:15 scv: http://www.advsofteng.com/ 2018-01-31 02:18:26 ancient graphing library 2018-01-31 02:18:29 yikes 2018-01-31 02:18:32 this looks awful 2018-01-31 02:18:33 :D 2018-01-31 02:18:47 it's worse than what you can get for free 2018-01-31 02:19:22 literally been using it for over 15 years 2018-01-31 02:20:17 so, pre-canvas, pre-svg, pre-decent-js, ... 2018-01-31 02:22:53 scv: no 2018-01-31 02:23:03 one should never, ever use raid cards 2018-01-31 02:23:09 ever 2018-01-31 02:38:40 i can't say i disagree lol 2018-01-31 02:56:29 Er 2018-01-31 02:56:35 RAID cards are gopd 2018-01-31 02:56:37 good 2018-01-31 02:57:51 They let us define various RAID levels without the loss in performance software RAID can entail. 2018-01-31 02:58:16 Up until they die and you can't access your data because you foolishly decided to rely on hardware RAID. 2018-01-31 02:58:59 It is good practice to backup comfiguration and data, so that's not really a criticism. 2018-01-31 02:59:35 Software RAID can entail similar problems depending on the complexity. 2018-01-31 03:00:06 On the other hand, I don't need drivers to use LVM. 2018-01-31 03:01:49 LVM isn't really a replacement for RAID systems at all. But if you're happy with it, that's your call. 2018-01-31 03:02:10 ACTION pokes his zpools 2018-01-31 03:02:51 ZFS has its own issues. 2018-01-31 03:03:34 also, isn't being a RAID implementation a decent chunk of LVM's job? 2018-01-31 03:04:14 raid lets you glom storage together based on a few rules 2018-01-31 03:04:18 lvm has less rules 2018-01-31 03:05:30 Doesn't make it not a RAID implementation, just not exclusively that. 2018-01-31 03:06:37 I'm pretty sure the loss in performance is negligible these days 2018-01-31 03:07:18 It depends on the application. 2018-01-31 03:08:01 can't hat be said for pretty much everything about disks? 2018-01-31 03:10:18 There are still situations where a RAID card is more appropriate 2018-01-31 03:11:26 for me, raid is less about increasing performance and more about having lots of storage that isn't a single drive death away from losing everything 2018-01-31 03:11:50 if you want performance, there are insanely fast SSDs now 2018-01-31 03:13:05 not to mention moving the redundancy up a level to the application 2018-01-31 03:14:16 I'm sure there are times when hardware raid wins out, but they're getting fewer & fewer 2018-01-31 03:14:59 and personally, I've never had great experiences with "3rd party" raid 2018-01-31 03:15:14 crap drivers, crap firmware, etc. 2018-01-31 03:15:24 Well, the original point of contention was somebody declaring "one should never, ever" use hardware RAID 2018-01-31 03:15:36 which is not right at all. 2018-01-31 03:16:15 There are applications where such a card is necessary and as a result I think this original statement is wrong. 2018-01-31 03:17:54 I'd change it to "one should never, ever use hardware raid if you can help it" :) 2018-01-31 03:18:03 sorta like... windows! 2018-01-31 03:18:11 ACTION is reinstalling windows 2018-01-31 03:20:01 Sometimes it is necessary to use Windows, and one shouldn't judge people for doing so. 2018-01-31 03:21:21 best tools for the job, as they say, or, in the case of Windows, the only tools for the job 2018-01-31 03:21:36 my friend bought overwatch for me, that's my reason 2018-01-31 03:24:50 overwatch<3 2018-01-31 03:25:45 too bad i haven't played lately 2018-01-31 03:28:21 don't. it's a waste of time. complete waste of time. 2018-01-31 03:28:50 take it from a Guinness world record holding ex gamer 2018-01-31 03:29:22 lol 2018-01-31 03:29:42 it's the only fps i've been interested in for years 2018-01-31 03:29:53 since quake3 at least 2018-01-31 03:29:59 already sunk tons of time into it :< 2018-01-31 03:30:41 i'm not that good though, only low 3k rank 2018-01-31 03:30:51 I dumped video gaming and started playing pool after I was done gaming, because at least that way you get to actually meet people instead of just calling them c*nts online... 2018-01-31 03:31:24 ... which, btw, pretty much sums up the online gaming experience ;) 2018-01-31 03:31:38 ha, i mostly played with my old clanmates from back when 2018-01-31 03:31:52 can agree on the meeting people aspect, most random players are rather unsavory :p 2018-01-31 03:32:44 okay, I'll give you that; when you know the people you play with it can actually be good fun... who cares about "netflix and chill" when you can "popcorn and tekken" 2018-01-31 03:33:23 err 2018-01-31 03:33:31 perhaps I need to get back to sleep or something 2018-01-31 09:28:10 Is there a chance that we will see infinoted (https://github.com/gobby/libinfinity) in our repos (especially for armhf) ? It'a simple standalone infinote server to serve gobby clients. libinfinity is library to build collaborative text editors such like gobby. 2018-01-31 09:29:58 For gobby see https://gobby.github.io/ 2018-01-31 09:35:49 Hello to all! I am totally new to Alpine Linux... Playing with docker images, trying to install cassandra docker iamge but it' wont start... logs says Cassandra 3.0 and later require Java 8u40 or later. 2018-01-31 09:36:26 openjdk8-jre installed.... 2018-01-31 11:53:29 quick question, as far as I see, Alpine does not come with grub, does anybody know how can I change /proc/cmdline? I'd like to add a console parameter 2018-01-31 11:54:52 it does support grub since 3.7 2018-01-31 11:54:58 see release notes 2018-01-31 12:00:54 also check /etc/update-extlinux.conf re: commandline params 2018-01-31 12:01:00 clandmeter: but I cannot see it under the /boot directory 2018-01-31 12:01:16 it isn't installed by default 2018-01-31 12:02:10 scv: ok, that makes sense 2018-01-31 12:16:28 clandmeter: when modifying /etc/update-extlinux.conf, do I need to run something? I did it and then rebooted but /proc/cmdline is the same and I can see my changes in update-extlinux.conf after the reboot 2018-01-31 12:21:28 mbuil: update-extlinux 2018-01-31 12:21:33 once you've made the changes 2018-01-31 12:21:43 yes update-extlinux :) 2018-01-31 12:21:44 ping 2018-01-31 12:22:57 ACTION shakes matrix bridge until all messages are send 2018-01-31 13:37:38 /etc/init.d/postgresql start 2018-01-31 13:37:38 bash: /etc/init.d/postgresql: /sbin/openrc-run: bad interpreter: No such file or directory 2018-01-31 13:37:44 what am i doing wrong 2018-01-31 13:38:20 er 2018-01-31 13:38:27 good question 2018-01-31 13:39:09 do you have openrc installed? 2018-01-31 13:39:15 ok, installed openrc :):) 2018-01-31 13:41:08 openrc won't work without openrc installed :P 2018-01-31 13:41:28 now it's saying warning: already running but can't see the process in ps -a 2018-01-31 13:41:35 is this in docker? 2018-01-31 13:41:43 yup 2018-01-31 13:41:48 openrc has to be running as pid 1 2018-01-31 13:42:01 ncopa knows the details of that better than me 2018-01-31 13:42:10 as far as I've experienced, openrc won't work in docker 2018-01-31 13:44:03 oh 2018-01-31 14:02:35 how to install java on alpine linux? 2018-01-31 14:02:57 anyone? 2018-01-31 14:03:30 apk search jdk to find the package name? 2018-01-31 14:08:11 openjdk7 or 8, take your pick. 2018-01-31 14:11:09 i allready installed, but my docker/cassandra won't start : Cassandra 3.0 and later require Java 8u40 or later. 2018-01-31 14:13:33 then you want the openjdk8 package. 2018-01-31 14:13:46 (which is 8u151) 2018-01-31 15:09:56 installed postgresql but can't find its config file, am i missing something? 2018-01-31 15:10:52 /etc/conf.d/postgresql 2018-01-31 15:11:00 perhaps? 2018-01-31 15:29:50 scv, how come that doesn't copy to /etc/postgresql ? 2018-01-31 15:30:29 i'd imagine its just for the init script 2018-01-31 15:30:55 scv, surprised it's not called after install 2018-01-31 15:31:12 i believe the actual pgsql config file is typically stored in the data folder 2018-01-31 15:31:21 thats nothing specific to alpine 2018-01-31 15:31:50 scv, thought the data folder is in /etc/postgresql 2018-01-31 15:32:00 not finding a reference to the conf.d in /etc/init.d/postgresql 2018-01-31 15:32:28 the data folder should not be in /etc/postgresql 2018-01-31 15:33:05 oh it might be /var/lib/postgresql 2018-01-31 15:33:11 /usr/share/postgresql/postgresql.conf.sample 2018-01-31 15:33:17 looks like there is no default, but there's a sample 2018-01-31 15:35:58 https://dpaste.de/fsJ4/raw 2018-01-31 15:36:11 maybe openrc in containers is not a good idea 2018-01-31 15:37:02 What am I missing. Looking at https://pkgs.alpinelinux.org/packages?name=chrom*&branch=v3.7 it seems like there is a package chromium but I fail to install it: http://paste.debian.net/1008183/ 2018-01-31 15:37:14 Do I need to run the equivalent of apt-get update? 2018-01-31 15:37:18 apk update 2018-01-31 15:37:20 yep 2018-01-31 15:37:40 Thank you for your time, time for me to hide in shame. 2018-01-31 16:49:39 Hey all. Just wanted to share a script I recently wrote that installs Alpine on a Digital Ocean droplet: https://github.com/bontibon/digitalocean-alpine 2018-01-31 16:50:48 was setup-alpine not enough? 2018-01-31 16:54:10 it seems to autoconfig the vm based on some metadata supplied 2018-01-31 16:55:06 oh 2018-01-31 16:55:11 it also seems to install over an existing 2018-01-31 16:55:12 OS 2018-01-31 16:55:58 think I'll stick with my current VPS provider, where I can supply an ISO to boot into for install purposes. 2018-01-31 16:56:49 yeah 2018-01-31 16:57:17 interesting 2018-01-31 16:57:17 and even then on ones that don't i'd tend to prefer pivoting to a ramdisk and using apk to install into a fresh filesystem :p 2018-01-31 17:56:51 bontibon: nice :) 2018-01-31 17:57:12 i think we should maybe make a wiki entry for this kind of stuff.. 2018-01-31 17:57:22 installing alpine the no-taking-prisoners way 2018-01-31 18:35:02 kaiyou: 2018-01-31 18:35:02 This message has a from address in jaury.eu but has failed jaury.eu's required tests for authentication. Learn more 2018-01-31 20:15:12 perl is annoying me with tons of messages a la "perl: warning: Setting locale failed" 2018-01-31 20:15:27 is there some know way to stop perl from doing that? 2018-01-31 20:17:38 on debian i'd regenerate locales 2018-01-31 20:17:49 but alpine is musl, so im not sure how to approach this 2018-01-31 20:18:26 probably by LC_ALL="en_US.UTF-8" or so 2018-01-31 20:19:21 (the real fix is musl-side, though.) 2018-01-31 20:19:49 like, the locale variables are set 2018-01-31 20:19:59 its more like, perl also expects the locales to exist 2018-01-31 20:25:21 is this a webapp or something? used to run a bot on alpine some years ago and didn't have locale issues even post-musl. 2018-01-31 20:30:49 its just perl 2018-01-31 20:30:54 regardless what i use perl for 2018-01-31 20:31:10 i got rid of the message by not setting LANG... 2018-01-31 20:31:58 hm... mosh requires the LANG variable, perl even fails when its not set 2018-01-31 20:32:48 whatever, at least i got rid of the LANG errors