2017-07-01 00:30:56 @Shiz: Ok, so AFAIU nlplug-findfs lists devices and feeds them to /sbin/mdev 2017-07-01 00:31:34 @Shiz: It allegedly mount /dev/xvda[1|2], and /dev/xvdb 2017-07-01 00:31:49 to /mount/xvd* 2017-07-01 00:32:25 But when I look into them, in the emergency shell (yep it failed to boot) 2017-07-01 00:32:39 xvda* folder are empty 2017-07-01 00:32:51 while xvdb isn't, it finds the apkovl in there 2017-07-01 00:32:58 What is odd, is they both are ext4 2017-07-01 00:33:13 Why would /media/xvda2 be empty ? 2017-07-01 00:33:19 xvda1 is swap it makes sense 2017-07-01 00:35:33 nlplug-findfs: searchdev: dev='/dev/xvda2' type='ext4' label='(null)' uuid='d56a211a-159e-481b-a4dc-e9a353ee3568' 2017-07-01 00:35:35 nlplug-findfs: mounting /dev/xvda2 on /media/xvda2 (ext4) 2017-07-01 00:35:37 [ 6.586458] EXT4-fs (xvda2): mounted filesystem with ordered data mode. Opts: (null) 2017-07-01 00:35:49 (that's debug_init log) 2017-07-01 00:36:19 Same happens for xvdb: 2017-07-01 00:36:21 nlplug-findfs: searchdev: dev='/dev/xvdb' type='ext4' label='(null)' uuid='43a2ca29-5731-40a9-8bb2-0e55109516fc' 2017-07-01 00:36:23 nlplug-findfs: mounting /dev/xvdb on /media/xvdb (ext4) 2017-07-01 00:36:25 [ 6.770025] EXT4-fs (xvdb): mounted filesystem with ordered data mode. Opts: (null) 2017-07-01 00:36:27 nlplug-findfs: found apkovl /media/xvdb/alpine-repo.apkovl.tar.gz 2017-07-01 00:38:15 There are no further operations on either /dev/xvda or /dev/xvdb afer that... Meanwhile apkovl is correctly untared and read frm xvdb, and xvda.... nada 2017-07-01 00:44:16 Sorry to badger you with this, I know this mustn't be very exciting 2017-07-01 00:48:07 nah, i'm just busy 2017-07-01 00:48:14 you're not badgering me at all, dw about it 2017-07-01 00:49:29 I think I'll get some sleep, perhaps I'll be more lucid about it tomorrow .. hopefully heh 2017-07-01 00:49:46 Night, thanks for the support you've been giving me these last few weeks 2017-07-01 06:13:28 what does alpine use instead of /etc/security/limits.conf to set the ulimit for the max number of file descriptors? 2017-07-01 06:38:59 should be the rc.conf entry 2017-07-01 07:24:41 I've got a crappy little laptop with a built-in sd card reader.... but it won't boot off it 2017-07-01 07:25:12 it boots fine using a usb sd reader 2017-07-01 07:26:06 is there a way to "chain load"(?) from usb to something else that normally doesn't support booting? 2017-07-01 07:26:07 your bios/uefi isnt set up to or doesn't support booting from sd 2017-07-01 07:26:11 oh 2017-07-01 07:26:14 ncl: I know :) 2017-07-01 07:26:19 yes grub supports chainloading, others likely do too 2017-07-01 07:26:32 it's some weird sd to pci express thing 2017-07-01 07:26:59 I thought it would have been cheaper to just use usb internally, but *shrug* 2017-07-01 07:28:30 ncl: I installed alpine to it just fine - it was /dev/mmcblk0 IIRC 2017-07-01 07:29:04 i mean, you could just have grub on the usb and then system on the card 2017-07-01 07:31:53 ncl: that's sort of what I'm aiming for... hmm... and after grub is "done", I could just take the usb drive out 2017-07-01 07:32:34 until I run an update or something that needs to fiddle with grub 2017-07-01 07:33:56 Ideally, I'd have 2 grubs - one on a usb drive that just chainloads the one on mmcblk0 2017-07-01 08:05:28 not sure i can see grub in a position of critically needing upgrades 2017-07-01 09:54:56 Hi guys 2017-07-01 09:55:50 Anybode uses nss-pam-ldapd? 2017-07-01 09:59:44 It kinda segfaults on exit 2017-07-01 09:59:49 Anybode else seeing this? 2017-07-01 09:59:50 3.6.2 2017-07-01 13:29:29 Hi folks, anyone here with some beyond the obvious knowledge about sd cards intrincities and partitioning? 2017-07-01 13:30:46 I've opened up one of my very old android phones, and wanted to reuse its sd card for use in a raspberry, however, it seems my regular partition tools, fdisk, gparted, etc. Don't seem to be able to format the whole devices 2017-07-01 13:33:02 It's a 16 gig sd card, and at first it only had a 60 megs fat partition, gparted says the whole disk is just that one partition, though obviously that's just a partition 2017-07-01 13:33:10 elegast: Did you try to erase it? ... Using "dd" 2017-07-01 13:33:50 Hmm. To be honest, I think I did, though I'm not exactly sure if I did, or just wrote some other image on top 2017-07-01 13:34:05 I will try that first 2017-07-01 13:34:10 However, 2017-07-01 13:34:14 there's wipefs, some tools might see certain values on the drive and interpret it as being a valid fs or partition table 2017-07-01 13:36:07 After being stuck with just the 60 megs partition, I put the phone into recovery mode, using its limited bootloader I reformatted/reparitioned it (it had incremental options ranging from 128megs to 4gigs) selected 4gigs, and it turned into a 12gig device without any partitions 2017-07-01 13:36:26 Is there some proprietary partitioning scheme in use here? 2017-07-01 13:36:48 I mean, it seems like linux thinks its an mbr partition after that 2017-07-01 13:37:24 but the 4gigs seems to simply not exist anywhere, and it just thinks the whole thing is a 12gig drive 2017-07-01 13:37:29 unpartitioned 2017-07-01 13:39:54 can you show a screenshot of gparted or something? 2017-07-01 13:40:42 I can, though, I'll have to reboot the device to hook it up and present the flash as a raw device 2017-07-01 13:40:57 oh. Maybe thats the issue .. 2017-07-01 13:42:26 Ok so I don't have a usb <-> sdcard dongle (I lost it in my huge pile of stuff) so I've been using the device's sdcard passtrough capabilities over usb 2017-07-01 13:42:45 the device being the android phone 2017-07-01 13:43:21 so it's not unlikely that proxies things and messes things up 2017-07-01 13:43:47 I remember doing that a few years back to write a raspbian image to it, which worked, so I assumed the whole device would be allocatable directly 2017-07-01 13:44:09 though, it working there, was maybe indeed just a fluke, and it indeed messes things up 2017-07-01 13:51:47 ah bloody hell, I think the partition scheme no longer being "android" compatible makes the device not want to hand it off anymore 2017-07-01 13:53:43 https://paste.pound-python.org/show/eHRCZFG7WzFkjemp0zoF/ 2017-07-01 13:54:53 I think I'll have to resort this by pushing some partitioning tools through adb, and using it there 2017-07-01 14:01:01 allright thanks feuerteufel, bun. I'll have to investigate adb shell and cyanogen's system to figure out where the device is in the device tree. It seems to run a busybox kind of thing, so dd/fdisk should work there 2017-07-01 14:03:22 I think I might be able to zero out the device, repartition it in fat, and extract an alpine image on top, from the android device itself 2017-07-01 14:03:40 finding your sd card reader may or may not be a lot easier ;p 2017-07-01 14:03:59 lol, yeah, I might give that another shot, as well 2017-07-01 14:04:04 ;) 2017-07-01 14:19:29 whoopdiedoo, didn't know I even had one, but found a microsd -> mmc adapter card that fits in my cflash slot 2017-07-01 14:20:46 Sigh, ok so it had a regular mbr with two partitions where it presented the second partition as the raw device, e.g. I ended up writing the partition table to sector 0 of partition 2 ... 2017-07-01 15:22:31 hello. I like to automatically dissmis alert message after some amount of time. I want to know if this is a proper way. If message is set in props of main component I will add alert component. Alert component recives message and dissmis function wich is called by alert component after some amount of time. Dissmis function sets state of message to null. 2017-07-01 15:41:17 elegast: you probably had EFI-boot style partitions; usually shows a small FAT partition and nothing else 2017-07-01 15:45:05 sory 2017-07-01 15:45:09 wron chanel 2017-07-01 17:14:46 ahills: no, it was an mbr partition scheme, though the intermediary android device I used to expose the slices to my machine was exposing only the last slice while the os thinking it was a whole disk device. E.g. the /dev/sda in my device tree was infact /dev/sda2 on the real hardware 2017-07-01 17:16:04 though yes, the small fat partition at the front (or in modern times at the back) was modelled with the same thought in mind as many efi/gpt partition schemes 2017-07-01 17:19:47 I resolved the issue by using a dongle to attach the sdcard directly to my system 2017-07-01 17:24:42 Someone here, who know's how to take care of patches? 2017-07-01 17:25:29 I builded one for update-extlinux 2017-07-01 17:32:12 feuerteufel: e.g. to go with your apkbuild file? 2017-07-01 17:32:35 or did you mean someone with upstream commit rights? 2017-07-01 17:38:21 I don't know, I did some changes on the update-extlinux script und on the update-extlinux.conf 2017-07-01 17:38:58 ah ok, do you already have the patch file? 2017-07-01 17:39:00 Don't know how to go further on .. 2017-07-01 17:39:15 Yes 2017-07-01 17:39:51 But it is a little tricky under Alpine 2017-07-01 17:40:00 Ok, in that case, you just place it alongside your APKBUILD file 2017-07-01 17:40:31 then you append it to $sources in the APKBUILD 2017-07-01 17:41:33 then you run "abuild checksum" 2017-07-01 17:41:47 and it will update the sha512sums for you 2017-07-01 17:42:26 it should be picked up by the prepare stage automaticly unless a custom prepare action was defined in the file 2017-07-01 17:45:41 First of all, do I have to follow any roules? 2017-07-01 17:47:17 I don't find "APKBUILD" on my system, do I have to install it? 2017-07-01 17:49:31 https://paste.pound-python.org/show/YWnaUT8cp7MOrTNTRBf1/ 2017-07-01 17:49:39 oh 2017-07-01 17:50:26 err, sorry, I assumed you where building and repackaging an alpine package, and wanted to apply patches to it 2017-07-01 17:52:33 generally I just edit /boot/extlinux.conf by hand 2017-07-01 17:54:33 No, I yust make update-extlinux a little easyer for XEN (pygrub) und on that way I also fixed an error in the same script 2017-07-01 17:55:54 Yes I did that the same way, but I'm lazy ;-) 2017-07-01 17:57:59 And often, after kernel update, I forgott ... 2017-07-01 17:58:04 ok so, if you made some changes to /sbin/update-extlinux and update-extlinux.conf, I imagine you just run the binary like normally would? 2017-07-01 17:58:43 For me it work's allready! 2017-07-01 17:59:38 But how about everybody else? 2017-07-01 18:00:27 Err, ok so, you want the changes you made to go upstream? 2017-07-01 18:00:28 Is there a way to get it in to an update? 2017-07-01 18:01:54 Yes, but I think it will be better somone will check that before ;-) 2017-07-01 18:02:39 ah ok, well first of, assuming these changes would apply to everyone, the best way to get things included into the upstream repository, would be to checkout a local copy of git.alpinelinux.org/aports 2017-07-01 18:03:18 make the required changes to aports/main/syslinux 2017-07-01 18:03:35 make sure the package builds and everything is in order 2017-07-01 18:04:30 then send *those* patches to the mailinglist or make a pull request and or contact _ikki_ or one of the other alpine guys 2017-07-01 18:05:57 "apk add alpine-sdk" and "git clone git://git.alpinelinux.org/aports" would get you started 2017-07-01 18:06:04 https://wiki.alpinelinux.org/wiki/Creating_an_Alpine_package 2017-07-01 18:08:53 Thank's much to read :-) 2017-07-01 18:10:26 you're welcome! 2017-07-01 18:12:11 syslinux should also be changed to not autofill /boot at install time... 2017-07-01 18:12:19 Mabe I'm in luck and one of the Alpine guy's will read that later ;-) 2017-07-01 18:13:06 *Maybe* 2017-07-01 18:38:51 anyone any thoughts on running zfs on a RasPi? My expertise as to running zfs and its hardware requirements are limited to illumos and to some extent freebsd. I'm totally comfortable running zfs on low memory systems on Illumos. FreeBSD people tend to say it can't be done reliably with anything less then 1 gig. Most "do's and don'ts" are tailored specifically around the early days zfs on freebsd imho. They are probably right on 2017-07-01 18:38:53 that platform though. I never really considered zfsonlinux to be a real thing, but I imagine it has grown a lot since the early day. What do you guys think about running alpine with zfs on a 512mb arm v11? 2017-07-01 18:39:05 Has anyone tried? 2017-07-01 18:50:53 ah, there's no armhf binaries unfortunately 2017-07-01 18:58:03 i don't htink running zfs on 512mb ram is a great idea still 2017-07-01 18:58:10 but i won't claim to have domain expertise on it 2017-07-01 19:10:55 Yeah I was considering it for the volume management capabilities, to the extent you can even consider there to be any volumes to speak of. It doesn't need to perform, it's a Pi afterall. But considering you want alpine to run mostly from ram, indeed brings up some questions if you also put zfs in there 2017-07-01 19:14:23 The lack of ECC is a non issue with regards to zfs, even though in production you *want* if not *need* that sort of thing, lack of ecc with zfs isn't any less of a risk with regards to any other filesystem in existence. 2017-07-01 19:16:21 Zfs not being available to begin with solves the immediate problem of consideration though :) 2017-07-01 19:17:19 there's always btrfs :P 2017-07-01 19:18:08 lmfao 2017-07-01 19:18:57 Well, Im laughing at it, but to be honest, I've never used it, excuse the bias :) 2017-07-01 19:19:24 it works fine if you avoid the bugs 2017-07-01 19:19:37 Everything works fine if you avoid the bugs though 2017-07-01 19:19:42 that's the joke 2017-07-01 19:19:57 Ah, right! 2017-07-01 19:20:15 I want a filesystem that doesn't get hosed on power failures 2017-07-01 19:20:42 Who knows though, maybe it's the king of filesystems in 10 years or so 2017-07-01 19:22:03 But yeh. Safe data would be kind of nice 2017-07-01 19:22:12 I stopped using btrfs when after a powerfailure I had two files in a directory with the same name and one of them was not deletable (of course it was fixable in the end, but still0 2017-07-01 19:22:41 Did they contain the same data? 2017-07-01 19:23:12 well, one of them was just inaccessible, some left over metadata or something 2017-07-01 19:23:39 nasty 2017-07-01 19:24:44 well, it's called butter for a reason I guess, that makes me gag also 2017-07-01 19:26:15 I should also restore my rpi, alpine ate the SD card! 2017-07-01 19:28:36 Aww. Bad alpine! 2017-07-01 19:31:01 I killed mine myself the last time though, was remounting live filesystems, between upgrades, forgot to put && and ended up without means to mount it back :( 2017-07-01 19:31:35 It had been collecting dust for a few years after that 2017-07-01 19:56:58 ew. whats the proper way to fix clockskew on an rpi? chronyd is practically the last service to come up to fix the date, localmount service complains about the dates of files being in the future, and starts "fixing" the files on the partitions to the current date, which will obviously be wrong 2017-07-01 19:57:07 (raspberries don't have a realtime clock on board) 2017-07-01 19:58:56 besides buying an rtc? 2017-07-01 19:58:57 I'm sure one can make ext4 prevent messing with future dates during boot, is that the right way though? 2017-07-01 19:59:40 do you not have swclock enabled? 2017-07-01 19:59:44 Well, I might be able to hook up a gps and have it fetch the time, not sure how fast boot will be though 2017-07-01 19:59:55 I did enable swclock 2017-07-01 20:00:01 and disable hwclock 2017-07-01 20:00:38 swclock is in runlevel boot 2017-07-01 20:03:26 after mounting /proc, /run, caching service dependencies acpid service complains about clock skew, adjusting mtime of `/run/openrc/deptree` to Fri May 12 ... 2017 2017-07-01 20:03:28 elegast: you can try moving the ntp service to earlier in boot 2017-07-01 20:03:52 but i don't think that will fix the issue 2017-07-01 20:04:15 which depends on networking, which depends on local mountpoints (i think) 2017-07-01 20:05:14 it does wanrs again in a service later on about clock skew, then sets local clock based on last shutdown time 2017-07-01 20:05:43 you can always hack it into the initrd 2017-07-01 20:05:47 a few services after that it mounts disks, and complains about timetraveling superblocks 2017-07-01 20:07:24 but swclock should start before all that stuff 2017-07-01 20:07:25 Hm, you mean putting swclock.d inside the initrd? 2017-07-01 20:07:40 nah I meant ntp 2017-07-01 20:07:51 seems like something else is wrong in your case 2017-07-01 20:08:04 maybe it was an unclean shutdown? 2017-07-01 20:08:34 it only saves the time when you stop the swclock service properly 2017-07-01 20:09:00 I dont think it was, but lemme verify if the shutdown with a proper timestamp is written 2017-07-01 20:10:00 hmpf. it doesn't seem to, atleast not on a plain "# reboot" 2017-07-01 20:11:02 Atleast I didn't see "ebegin Saving the shutdown time" come up 2017-07-01 20:14:09 I remember on a similar setup we had a cronjob that just touched the /var/run/openrc/shutdowntime file every once in a while 2017-07-01 20:14:18 because of issues like this 2017-07-01 20:14:45 Ok so I did a halt, and the console told be shutdown timestamp was written, and things do come up in the right order, swclock runs before mounting disks 2017-07-01 20:15:31 Maybe the disks go readonly before the timestamp is written/synced during shutdown 2017-07-01 20:15:57 well you can check the timestamp itself at least 2017-07-01 20:17:08 ah, ok this makes sense. 2017-07-01 20:17:25 the whole thing runs from ram 2017-07-01 20:17:54 /var/run/openrc/shutdowntime won't exist after reboot 2017-07-01 20:17:55 oh 2017-07-01 20:17:57 lol 2017-07-01 20:18:06 hehe my bad 2017-07-01 20:18:57 maybe symlinking it to a file on the SD card would be enough 2017-07-01 20:19:24 its a tmpfs filesystem though 2017-07-01 20:20:16 but yeh I could have it setup in early boot so that that specific file is linked to something on persisten storage 2017-07-01 20:20:22 but you can make lbu commit store the symlink 2017-07-01 20:21:00 hmm, yeh 2017-07-01 20:21:52 I figured committing the file will just make it come up in whatever state it was commited, but if its a symlink to something else, that would work 2017-07-01 20:22:18 in theory 2017-07-01 20:22:29 worth a shot, lets see what happens 2017-07-01 20:22:32 the swclock tool stats the file so does that work? 2017-07-01 20:22:48 or will it get the time of the symlink 2017-07-01 20:24:53 hm. I think it would stat the atime from the symlink, without following it 2017-07-01 20:25:05 Atleast on hfs+ 2017-07-01 20:25:26 better use a bind mount ;-) 2017-07-01 20:25:31 that's how apples timemachine snapshotting worked early on 2017-07-01 20:25:50 so if its anything like ext4 it wouldnt work 2017-07-01 20:27:10 I need some more tricks though, I put the persistent file on the external ext4 disk ... which gets 'fixed' before its mounted I think 2017-07-01 20:29:38 eh, i'll just stick it on the flash itself I guess 2017-07-01 20:29:59 it'll only needs to get written during reboots 2017-07-01 20:35:03 it unmounts filesystems before writing the timestamp though 2017-07-01 20:36:23 but no, lbu commit didn't work, the tmpfs is mounted on top of whatever was in the apkovl me thinks 2017-07-01 20:37:24 I'll be able to sort it out though, thanks for the suggestions Bun, Shiz 2017-07-01 21:59:26 i am having trouble with the packaged version of caddy. I added the configuration as normal but `service caddy start` doesn't start the caddy process and there's no log messages that would help me figure out what's going on 2017-07-02 00:12:53 hmm, I think there's a discrepancy between /etc/apk/keys and keys in /usr/share/lxc/templates/lxc-alpline, on armhf/v3.6, the checksums don't match 2017-07-02 00:26:49 yeah looks like the guys at github.com/lxc/lxc are slightly behind with the checksums in the template 2017-07-02 01:45:21 oh boy, openssh does not have pam support? 2017-07-02 01:48:04 how would I setup unpriviliged containers with lxc, without using pam_cgfs.so to allow a regular user to create namespaces? 2017-07-02 02:52:43 elegast: openssh-pam 2017-07-02 02:52:53 pam is broken so we don't like to ship it by default 2017-07-02 03:27:45 ah ok, thanks Shiz, though I already resolved the issue of lxc, adapted the lxcfs service instead, starting unpriviliged containers with a system user and service is more favourable anyway 2017-07-02 03:28:38 so I can do without pam for now, though its nice to know there is an openssh package with pam support 2017-07-02 07:34:55 hi, how do you solve hidpi issues? 2017-07-02 07:35:17 (hidpi displays), talking Xorg/X11 (gui/windowed) 2017-07-02 07:35:40 do you 'scale' the resolution via xrandr, or choose another method? 2017-07-02 07:37:45 issue: miniature gui, no way to use it without magnifier 2017-07-02 07:38:30 when setting another available mode / resolution via xrandr, it's not crisp anymore at all, blurry 2017-07-02 08:42:01 dpi tweaks of different sorts could help 2017-07-02 08:42:14 ah, he's gone already 2017-07-02 15:21:12 Is there any info out there about crosscompiling the aports tree on an x86_64/alpine targeting armhf/alpine? 2017-07-02 15:21:43 I found this: https://wiki.alpinelinux.org/wiki/Cross-Compiler_targeting_Alpine 2017-07-02 15:22:40 But it seems specific for ArchLinux 2017-07-02 15:25:28 It also doesn't seem like that compiler would be capable of producing anything other then the x86 family 2017-07-02 15:29:06 Everything in the wild that has anything todo with cross-compilation and linux is heavily centered around ubuntu (and to some extent, debian) 2017-07-02 15:29:34 ./scripts/bootstrap.sh in the aports tree will cross-compile the base 2017-07-02 15:30:03 Wait, that's it? It can't be that easy! 2017-07-02 15:30:40 I should've taken a better look at scripts/* 2017-07-02 15:31:15 Thanks Shiz, thats a major help :) 2017-07-02 15:36:14 allright well, its doing its thing. Lets see how long it'll take to complete (or err out) 2017-07-02 15:47:34 :P 2017-07-02 16:29:44 what is best way to automaticly deploy alpine in an xen vm? 2017-07-02 16:30:12 due to the login being a bit anoying for it 2017-07-02 16:32:03 what do you mean? 2017-07-02 16:32:12 i think console=hvc0 should work 2017-07-02 16:32:23 as kernel argument 2017-07-02 16:33:07 i'm looking for a way to do an unattended install of alpine in an vm 2017-07-02 16:33:24 but i get stopped by the login prompt at boot 2017-07-02 16:33:34 ah 2017-07-02 16:34:25 i looked all over the wiki and tested so mush but i just can find an way 2017-07-02 16:34:30 You could prepare an apkovl and use it to deploy as many instances as required 2017-07-02 16:35:10 You'd just have to script edit the hostname in the apkovl.tar.gz 2017-07-02 16:35:18 (unless you don't care) 2017-07-02 16:35:44 i looked at that but i want to fully install so that i dont have to commit the changes every time 2017-07-02 16:37:17 some way that i can just autmaticly login and use an awnserfile or something 2017-07-02 16:37:32 still love that idea of that to be honnest 2017-07-02 16:37:42 well you can do that using a serial console 2017-07-02 16:37:46 like shiz suggested 2017-07-02 16:38:39 that still needs some user interaction but is the best idea atm i think 2017-07-02 16:39:17 Certainly, there must be deployment applications which allow interactions through serial console 2017-07-02 16:41:46 nekocentral: well, you could use the same apkovl for all your instances 2017-07-02 16:41:51 presuming they'd be identical 2017-07-02 16:42:31 but,h mm 2017-07-02 16:42:39 nekocentral: you could cheat a bit 2017-07-02 16:42:49 reading the mailing list back 2017-07-02 16:42:57 make an apkovl that replaces /etc/inittab 2017-07-02 16:43:08 i have seen them talk about it as an idea for 2.1 2017-07-02 16:43:11 and 2017-07-02 16:43:15 instead of getty, have it invoke e.g. 2017-07-02 16:43:21 getty -l /sbin/setup-alpine 2017-07-02 16:44:40 yea i was thinking of having an apkovl with an awnserfile in it and at boot it runs an script that does the setup-alpine -f "awnserfile" 2017-07-02 16:44:50 but that looks way more hacky xD 2017-07-02 16:46:31 or mabye set the hostname in the apkovl and at boot run an script that takes the awnserfile from an local webserver and than run it but would be the ultimate hacky way in my opinion 2017-07-02 16:49:52 @Shiz: What is the most appropriate way to have a script running as a service ? I've been thinking of rc of couse, but doubt they are meant to be long lived ? 2017-07-02 16:50:04 why wouldn't they be? 2017-07-02 16:50:44 @Shiz: So I can just have a local.d .start script that lives during total uptime ? 2017-07-02 16:51:42 And then it is killed at poweroff 2017-07-02 16:51:51 I don't know, it just sounds kind of hacky 2017-07-02 16:52:04 generally you would create an init script and install it 2017-07-02 16:52:35 you can start a process from rc.local but you won't be able to handle it stopping or any error conditions properly that way 2017-07-02 16:53:07 qman__: I have been looking at sshd.initd, it start a daemon, how would I go when dealing with a bash script ? 2017-07-02 16:53:18 Just get the pid and use it in stop() ? 2017-07-02 16:53:21 the same as any other executable 2017-07-02 16:53:24 my_script& 2017-07-02 16:53:43 yes, generally you'd create a pid file or similar to keep track of it 2017-07-02 16:54:10 but if you don't care about specific instances you can also stop by the full script name 2017-07-02 16:54:41 as in, get the PID by the process name 2017-07-02 16:54:53 Sounds like a plan 2017-07-02 16:54:55 Thanks 2017-07-02 16:55:35 AlexIncogito: why not make a proper initscript 2017-07-02 16:55:49 don't use the sshd script as example 2017-07-02 16:55:51 it's bad 2017-07-02 16:55:53 a basic initscript is 2017-07-02 16:55:57 #!/sbin/openrc-run 2017-07-02 16:56:03 command="myscriptcommand" 2017-07-02 16:56:12 command_background=yes 2017-07-02 16:56:18 command_args="" 2017-07-02 16:56:28 pidfile="/run/$RC_SVCNAME.pid" 2017-07-02 16:56:38 and optionally a depends() section if it depends on networking and the like 2017-07-02 16:56:47 That's even neater 2017-07-02 16:56:50 nice, I wasn't aware of that 2017-07-02 16:57:00 I will do that, thanks ! 2017-07-02 16:57:03 much better than start-stop-daemon garbage I've seen in the past 2017-07-02 16:57:46 yes, start-stop-daemon shit is something i'd very much want to phase out of all initscripts we use in alpine 2017-07-02 16:57:48 (which is why I've generally just implemented that on my own in the past) 2017-07-02 16:57:49 it's not proper supervision 2017-07-02 16:59:37 Hey, anybody here knows something about /dev/ttyS0 missing? I am always getting an error until I manually create it 2017-07-02 16:59:42 using pi 3 2017-07-02 17:06:43 @Shiz: Done, works wonder 2017-07-02 17:49:56 @Shiv i'm using an awnserfile and its so close but it still asks for root pass and confirmation for the disk 2017-07-02 18:00:13 Couldn't you simply echo -e "y\n" for the latter ? 2017-07-02 18:00:26 How are you connecting ? 2017-07-02 18:07:07 for now i'm doing it in VMware so i run setup-interfaces, start networking, download awnserfile over ftp 2017-07-02 18:08:24 How are you planning on doing it, ultimately ? 2017-07-02 18:09:11 untill the actauly make the AUS they talked about in the mailing list back in 2010 probaly an apkvol with networking that downlaods the awnserfile 2017-07-02 18:09:56 I meant, through which channel ? It will be VMWare all the way ? 2017-07-02 18:09:57 or actualy an virtual floppy with the awnserfile might be smarter 2017-07-02 18:10:04 You mentioned xen earlier, correct ? 2017-07-02 18:10:19 for now i'm testing in vmware because my xen vm died 2017-07-02 18:10:50 Ok, this is important because ultimately the solution you want working, is for xen 2017-07-02 18:10:55 yep 2017-07-02 18:11:23 So, how about serial console for inputs, including root password ? 2017-07-02 18:11:32 I have never tried that, but that ought to work 2017-07-02 18:12:13 might work but there is 1 problem with the current alpine system 2017-07-02 18:12:18 the login on boot 2017-07-02 18:12:46 so i was thinking of making an apkovl with autologin setup 2017-07-02 18:13:45 Well, you could just bundle a service at default runlevel, which runs whatever you it to run 2017-07-02 18:13:48 Including install 2017-07-02 18:13:52 That way no login at all 2017-07-02 18:13:57 true 2017-07-02 18:14:24 and if i add the awnserfile in the apkovl that way i have 1 less image 2017-07-02 18:14:27 But either way, couldn't you input boot login through serial ? 2017-07-02 18:15:14 true but i'm looking for a way to do fully automated install's (for VPS hosting) 2017-07-02 18:15:38 I see, apkovl seem more practical all in all 2017-07-02 18:15:58 yep 2017-07-02 18:16:22 i saw an option for setup-disk to copy an apkvol to disk 2017-07-02 18:17:01 but i dont want to do that because i dont want the people to have to do lbu commit every time 2017-07-02 18:17:12 so i just need to find a awy around the confirmation 2017-07-02 18:18:03 You don't even need that I believe 2017-07-02 18:18:16 There are two things you'd need: 2017-07-02 18:18:41 1 - A prepped apkovl, with the service we spoke about earlier, setup to install whatever you want to disk 2017-07-02 18:19:03 2 - A script to automate mounting, unmounting apkovl, start and stop your VPS 2017-07-02 18:19:27 Once you have these handy, it would go like this: 2017-07-02 18:20:02 Script setup VPS for install, puts extra="apkovl=:", starts server 2017-07-02 18:20:40 The service in apkovl runs setup-alpine with your answerfile, any other modification you intend it to do, poweroff 2017-07-02 18:21:07 VPS setup scripts detect (ping/nc) poweroff, unmount apkovl (clear extra field), boots 2017-07-02 18:21:10 Voila 2017-07-02 18:21:23 yep 2017-07-02 18:21:27 Actually, you could even have apkovl on http if you like 2017-07-02 18:21:57 that might be the way i am going to do it due to the deploysoftware i ahve on eye 2017-07-02 18:22:31 it allows bootstrapping for most OS's just need to find an way for alpine 2017-07-02 18:22:42 Let me knows how it goes 2017-07-02 18:22:43 and the apkovl looks the best 2017-07-02 19:01:30 hello 2017-07-02 19:01:45 im trying to build a project on alpine and i had some errors abound undefined reference to libintl_gettext 2017-07-02 19:02:05 what confused me was this: $ nm /usr/lib/libintl.so.8.1.5 2017-07-02 19:02:05 nm: /usr/lib/libintl.so.8.1.5: no symbols 2017-07-02 19:02:22 is that supposed to be like that? 2017-07-02 19:03:58 nm -D /usr/lib/libintl.so.8.1.5 | grep libintl_gettext 2017-07-02 19:05:08 ah, thanks! 2017-07-02 19:13:30 nm -D or objdump -d indeed 2017-07-02 19:13:56 it didn't say -D here https://www.gnu.org/software/gettext/FAQ.html#integrating_undefined wonder if it's a documentation bug 2017-07-02 19:14:07 but i confirmed i have the thing now, which is great 2017-07-02 19:15:22 still cannot build the program I want though :( 2017-07-02 21:34:47 @shiz i found i can almost fully automate the install using the awnserfile so mabye i can make and apkovl later with an script and the awnserfile 2017-07-02 21:36:26 i found away around setting the password for root by adding the lines nocommit and empty_root_password and setting them to 1 2017-07-02 22:48:11 Is there a way to filter security updates only, in order to enable auto-update ? 2017-07-02 22:53:00 AlexIncogito: updates on a stable branch should always work 2017-07-02 22:53:07 we are very conservative with updating a stable branch 2017-07-02 22:56:43 Good, a simple cron to check apk update ; apk upgrade 2017-07-02 23:42:11 How do i get useradd? I only have adduser 2017-07-02 23:42:19 is there a tool that tells me which package would provide that binary? 2017-07-02 23:43:23 pkgs.alpinelinux.org 2017-07-02 23:43:33 but 2017-07-02 23:43:37 to save time for you this time 2017-07-02 23:43:39 shadow 2017-07-02 23:45:53 thanks 2017-07-02 23:46:14 i cant do apk add shadow, it doesn't find the package - maybe its in a separate packages list that i haven't enabled 2017-07-02 23:46:29 checking the wiki 2017-07-02 23:48:11 yeah extra /etc/apk/repositories had it 2017-07-03 00:52:55 someone needs to write a useradd for busybox 2017-07-03 06:05:04 nwmcsween: what's wrong with adduser? 2017-07-03 06:05:33 (also, just install shadow for useradd) 2017-07-03 09:48:09 morning 2017-07-03 10:13:14 It is noon under this sun, but morning to you sir 2017-07-03 10:26:18 Digging through awall documentation-s, I may have overlooked the explanation, but I cannot find how to declare multiple network in a zone addr field ? It is said to be a "list", so I assume this is comma separated, correct ? 2017-07-03 10:47:57 I found serempidity in sample-policy.json 2017-07-03 12:10:47 hi! 2017-07-03 12:11:19 how can I check if my hardware is supported before installing? 2017-07-03 12:12:26 Hmm, tricky. I suppose your best shot (other than looking at HCL) is to install alpine linux on a usb key 2017-07-03 12:15:47 mmmm... ok, thank you! I will try to install on a usb 2017-07-03 13:11:44 i tried booting 3.6.2 off a stick yesterday ,didn't boot 2017-07-03 13:21:38 If that was directed to undebug, you missed by a threshold of 10 second 2017-07-03 13:22:39 I guess that's just Murphy in action 2017-07-03 13:49:09 hi, could anyone give me a hint what /sbin/setup-acf exactly does? 2017-07-03 13:49:45 I believe it installs a web admin panel 2017-07-03 13:50:16 https://www.google.com/search?q=alpine+acf&ie=utf-8&oe=utf-8 2017-07-03 13:50:35 hm, wouldn't one want to have at least one of -h, --help, a man-page, or a meaningful comment header inside the script which indicates that? 2017-07-03 13:51:02 AlexIncogito: just reading https://wiki.alpinelinux.org/wiki/Alpine_Configuration_Framework_Design - ty ;) 2017-07-03 13:51:24 It is not considered a standard package AFAIK, but yes the doc is sometimes a bit lacking 2017-07-03 13:51:43 Which is why we ought to contribute 2017-07-03 13:52:14 AlexIncogito: can i clone a git repository that contains setup-acf, make edits, and submit a pull request? 2017-07-03 13:52:31 maybe for the other setup-* scripts, too, so people know what they're diving into? 2017-07-03 13:53:37 Before commiting yourself to any work, I would read the wiki on contributing, and check with some of the dev what they think about it, what is the best way to achieve it, and so on 2017-07-03 13:53:54 Best to eschew any disappointment 2017-07-03 13:54:06 ok. thank you. :) 2017-07-03 13:54:18 You're welcome sir 2017-07-03 13:55:14 so yeah i have multiple suggestions on that topic actually, also on that wiki page. :) 2017-07-03 13:56:08 Good morning all. Is there a well defined method for apk repo creation for projects hosted on such services as github, where those project builds have not yet been incorporated into the main alpine linux apk repository? (repo build scripts, etc) or alternatively a service like https://packagecloud.io that offers free apk repo hosting to OSS projects? 2017-07-03 13:56:10 Good, that's the spirit of FOSS 2017-07-03 13:56:55 or is that a question best asked in #alpine-devel ? 2017-07-03 13:56:56 hillct: Yes, you could host your own mirror 2017-07-03 13:57:10 That's how I do it actually 2017-07-03 13:58:01 @AlexIncogito sure, but I’m looking to avoid doing my own hosting. Can I somehow assemble a repo index that might work through the github release mechanism (assuming proper URLs) or similar? 2017-07-03 13:59:08 I'm not certain I understand what you mean with working through the github release mechanism ? 2017-07-03 13:59:18 Are you looking to download directly from raw github ? 2017-07-03 13:59:47 My objective is to setup automated builds and repo assembly for the packages defined here https://github.com/stef/aports-ugly making the repo available, without my having to host it myself 2017-07-03 14:00:53 Ultimately, I want to be able to run openscad under Alpine, without having to compile dependencies each time, and without having to setup a separtate repo host 2017-07-03 14:01:01 does that make sense? 2017-07-03 14:02:09 Hmm, perhaps higher authorities will come up with a clever solution, but as far as I am concerned, I have not read about such apparatus readily available 2017-07-03 14:02:21 If you have a single host, you can simply bundle your apk and install it 2017-07-03 14:02:25 locally 2017-07-03 14:02:29 sure 2017-07-03 14:04:38 I want to be able to provide a Docker image where that image is assembled from packages built and provided in a repo that’s consistantly, publically available, so my thinking is build and release via travis-ci, and docker, to gitbub as a release but also generate a repository manifest file referencing the released apk files, also hosted on githun a a released file 2017-07-03 14:05:34 I believe you'll have to do some scripting there 2017-07-03 14:05:43 If it is not on alpine repo 2017-07-03 14:05:58 It is hosted on github, or your own computer as you figured out 2017-07-03 14:06:08 as far as I can tell, an alpine repo is simply a URL containing a repo manifest 2017-07-03 14:06:46 so it’s just a matter of getting the manifest generated in an automated way, related to each of the available released files 2017-07-03 14:06:50 So you'd have to do a little bit of plumbing 2017-07-03 14:06:52 I think 2017-07-03 14:06:55 Well, there is the APKINDEX 2017-07-03 14:07:00 But that's about it 2017-07-03 14:07:06 that’s what I mean 2017-07-03 14:07:41 when I say repo manifest… kind of new to apk management (rpm, deb etc, sure but apk is new to me) 2017-07-03 14:08:39 If you can keep the same directory hierarchy, which github should allow you to do, that should work I presume 2017-07-03 14:10:21 There might also be signing concern 2017-07-03 14:10:34 You'd have to bundle your dev key in the docker container 2017-07-03 14:11:56 And of course append your repo root to /etc/apk/repositories 2017-07-03 14:28:40 it looks like the structure of github release directories is such that this would work 2017-07-03 14:29:08 the dev signing key exposure is really the only issue 2017-07-03 14:29:43 Well it is the public key that is required, no real security concern there 2017-07-03 14:29:45 assuming one can automate release uploads via the github API 2017-07-03 14:29:58 for rigning? 2017-07-03 14:30:04 signing? 2017-07-03 14:30:15 No signing is done as usual with your aport generated private key 2017-07-03 14:30:29 For validation on the docker container, the public key is of course required 2017-07-03 14:30:38 my objective is to automate releases using travis-CI or similar 2017-07-03 14:30:47 hillct: repos are just HTTP or directories, so something like gh pages will work just fine 2017-07-03 14:30:48 sure, 2017-07-03 14:30:53 you can do signing through travis CI secrets 2017-07-03 14:31:07 gh pages or releases* 2017-07-03 14:31:19 cool. I haven’t dug into the Travis end of it yet 2017-07-03 14:31:20 if you trust travis with your key, that is 2017-07-03 14:31:31 but travis has a mechanism to have secrets that are not public and only known to travis 2017-07-03 14:31:36 that you can then echo to a file (they're env vars) 2017-07-03 14:31:45 nice 2017-07-03 14:32:02 have you done something like this before? 2017-07-03 14:32:19 i know projects that use gh releases for APKINDEX files, but I don't know the name of them from the top of my head 2017-07-03 14:32:26 as for myself, i just use the main alpine repo being a dev :P 2017-07-03 14:32:40 sure 2017-07-03 14:33:08 I presume there’s an alpine Docker image suitable for package builds... 2017-07-03 14:33:09 https://github.com/sgerrand/alpine-pkg-R/releases 2017-07-03 14:33:11 these guys do it 2017-07-03 14:33:13 for instance 2017-07-03 14:33:20 cool 2017-07-03 14:33:22 you can simply use the alpine docker image for builds 2017-07-03 14:33:34 standard one? 2017-07-03 14:33:50 I was reading about the abuild enviroment setup 2017-07-03 14:34:01 yeah 2017-07-03 14:34:08 install alpine-sdk in the standard docker image 2017-07-03 14:34:11 that's all you need :P 2017-07-03 14:34:15 and some abuild.conf setup etc 2017-07-03 14:34:17 guess I can generate the env via dockerfile 2017-07-03 14:34:29 nice 2017-07-03 14:34:36 thanks 2017-07-03 14:39:53 hello world 2017-07-03 14:40:05 heyo 2017-07-03 14:40:49 Is that hey and yo in one word ? 2017-07-03 14:40:58 Howdy 2017-07-03 14:45:55 Shiz: This is what I was thinking in terms of alpine build image https://hub.docker.com/r/sgerrand/alpine-abuild/ 2017-07-03 14:47:23 considering there isn't one for 3.6, it seems outdated 2017-07-03 14:47:25 :P 2017-07-03 14:48:33 I was going to do a branch autobuild to track alpine image releases, actually 2017-07-03 14:49:28 this is an imcremental process, considering my only goal was to get an openscad package going for alpine 2017-07-03 14:49:39 :) 2017-07-03 14:50:25 but it’ll be interesting, and allow me to procrastonate on the things I really should be doing 2017-07-03 15:48:07 is libstdc++ missing on alpine? is there a way to just get it with apk or must I build it? 2017-07-03 15:48:43 how can I find the command that `service start` runs to start a daemon? 2017-07-03 15:50:51 ovidiu-f: easiest way is to check the init script 2017-07-03 15:51:00 or strace -e execve service start 2017-07-03 15:51:06 that'll give you the processes it executes 2017-07-03 15:55:26 thank you @Shiz 2017-07-03 15:55:47 I'm trying to run the docker daemon inside a Apline docker container 2017-07-03 15:55:52 I want to use DooD 2017-07-03 15:56:23 basically have a container with sshd as an entrypoint to control docker containers from on that ost 2017-07-03 15:56:26 host* 2017-07-03 15:56:44 but I can't figure out how to start the daemon using the service command 2017-07-03 15:57:36 I did apk add libstdc++, but still get x86_64-guix-linux-gnu-ld: cannot find -lstdc++ when I try to build this thing 2017-07-03 16:04:37 >x86_64-guix-linux-gnu-ld 2017-07-03 16:04:42 that doesn't seem like an alpine compiler 2017-07-03 16:04:44 :P 2017-07-03 16:06:05 oh yes 2017-07-03 16:06:12 i built guix inside my alpine VM 2017-07-03 16:06:33 you probably want libstdc++-dev if you're also building stuff 2017-07-03 16:06:40 I guess this is a guix "bug" (they might dismiss it as "just use a GNU OS") 2017-07-03 16:06:47 I tried but it didn't seem to be a package 2017-07-03 16:06:52 hmm 2017-07-03 16:07:03 ive already enabled extra repositories 2017-07-03 16:07:09 oh it's in the g++ package 2017-07-03 16:07:15 http://pkgs.alpinelinux.org/contents?file=libstdc%2B%2B.so&path=&name=&branch=&repo=&arch= 2017-07-03 16:10:50 thank you! it seems it was already installed so im at a bit of a loss - ill see if the guix people have any ideas 2017-07-03 16:54:15 I'm almost ready for creating my script but i have 1 question regarding the awnserfile and setup-disk 2017-07-03 16:54:34 is there a way around the prompt 2017-07-03 17:23:18 hi guys, is there something preventing sysctl.d/sysctl.conf settings being applied when they are stored in an apkovl? The settings in there wont't apply after boot 2017-07-03 17:25:03 apkovls are extracted early on from the init ramdrive before /sbin/init even fires, are they not? 2017-07-03 17:30:58 hm maybe thats not the problem 2017-07-03 17:31:06 ok so, im trying to set net.ipv6.conf.eth0.autoconf=0 2017-07-03 17:31:40 could it be that /etc/network configuration sets it to 1 by default, regardless? 2017-07-03 17:37:57 hi all, i'm trying to install ghc from apk and when i run ghc i get a whole lot of symbol relocation errors like "Error relocating /usr/lib/ghc-8.0.2/bin/ghc: ghczmprim_GHCziTypes_Izh_static_info: symbol not found" 2017-07-03 17:47:57 rfw: what missing libraries are missing when you run $ldd /usr/lib/ghc-8.0.2/bin/ghc 2017-07-03 17:48:41 elegast: nothing, they're all there 2017-07-03 17:49:06 lhttps://gist.github.com/rfw/bcb564a04491d799b72923015fbdbffc 2017-07-03 17:49:59 and if you run /usr/lib/ghc-8.0.2/bin/ghc as opposed to /usr/bin/ghc? 2017-07-03 17:51:16 same thing 2017-07-03 17:54:00 I just installed ghc in a relatively clean 3.6.2 container, running ghc --version gives no issues 2017-07-03 17:54:22 also 8.0.2 2017-07-03 17:55:24 libHSghc-prim-0.5.0.0-ghc8.0.2.so 2017-07-03 17:55:47 hm, i wonder what's happening 2017-07-03 17:56:12 is that file in /usr/lib/ghc-8.0.2/ghc-prim-0.5.0.0 2017-07-03 17:57:22 yup 2017-07-03 17:59:32 maybe strace'ing it sheds some light 2017-07-03 18:00:57 ah hold on, at the top there's "Error loading shared library libHShaskeline-0.7.3.0-ghc8.0.2.so: No such file or directory (needed by /usr/lib/ghc-8.0.2/bin/ghc)" 2017-07-03 18:01:07 but ldd finds those libraries, so that's weird that it can't link them 2017-07-03 18:03:00 ah ignore me, turns out i need procfs mounted 2017-07-03 18:04:06 ah :) 2017-07-03 18:51:54 anyone else having issues getting sysctl.conf settings being applied during boot? sysctl service is enabled at boot runlevel 2017-07-03 19:36:45 ah, ok nvm, it seems the sysctls I needed were applied before the modules exposing them where loaded 2017-07-03 20:23:07 elegast: how did you fix the ordering sequence? loading module then run sysctl 2017-07-03 20:29:08 Yay almost done with the script for the unatended install 2017-07-03 20:31:31 With v3.6 main and community repos, is it safe to do `apk upgrade`? 2017-07-03 20:31:34 will it break anything? 2017-07-03 20:36:43 stable branches are very conservative in updates 2017-07-03 20:54:39 hello im trying to install git but it is taking too long 2017-07-03 20:54:42 apk update && apk upgrade && apk add --no-cache bash git openssh 2017-07-03 20:57:27 i dont hear that too often. which repo do you use? 2017-07-03 21:07:57 docker hub alpine 2017-07-03 21:09:16 what is the contents of /etc/apk/repositories 2017-07-03 21:10:41 clandmeter: i think i found the problem, might have to do with an update i recently did on the host going to reboot, thank check /etc/apk/repositories 2017-07-03 21:11:10 yw 2017-07-03 21:22:56 how can i let alpine use the apkovl that is on an fat floppy 2017-07-03 21:24:07 when I run apk update && apk upgrade... 2017-07-03 21:24:15 I'm getting ERROR: http://dl-cdn.alpinelinux.org/alpine/v3.6/main/: temporary error (try again later) 2017-07-03 21:24:24 WARNING: Ignoring APKINDEX.39b766e8.tar.gz: No such file or director 2017-07-03 21:26:11 this is with 3.6.2 2017-07-03 21:28:00 do you have working dns/networking? e.g. can you curl http://dl-cdn.alpinelinux.org/alpine/v3.6/main/ ? 2017-07-03 21:31:07 bad firewall rules :-/ 2017-07-03 21:31:20 nekocentral, could be you need to load a module to use floppy early? 2017-07-03 21:31:27 wasn't passing packets for docker instances, but was fine from my desktop 2017-07-03 21:31:34 Bun: thanks 2017-07-03 21:32:28 nekocentral, has been some time since i last used floppies. 2017-07-03 21:35:11 I'm trying to make an automated system, already have an fully working script i just need to find a way to run it at boot of cd so i was trying to find a way to get the apkovl to load 2017-07-03 21:35:50 so far i got it to load by dropping it in sda1 but when i get at the option to setup the keymap it trips because i cant see an keymap 2017-07-03 21:36:29 are automated installs via a CD really the easiest way of doing it? why not create a disk image and install things via a chroot? 2017-07-03 21:38:14 because i dont want to keep making an new image every release 2017-07-03 21:39:41 this was all that i needed to automate the install 2017-07-03 21:39:42 https://pastebin.com/dQMXJgsR 2017-07-03 21:49:34 fuck i'm tierd later guys 2017-07-03 22:02:55 ok, so i rebooted because i noticed that my host had an oops kernel panic that had something to do with docker 2017-07-03 22:03:15 but that didn't fix my issue of how slow it is to install git 2017-07-03 22:03:38 this is the command that im running time docker run --entrypoint=ash alpine -c ' apk update && apk add git && git --version ' 2017-07-03 22:03:57 and it takes upwards of 5 minutes 2017-07-03 22:07:13 this are my repos / # cat /etc/apk/repositories 2017-07-03 22:07:13 http://dl-cdn.alpinelinux.org/alpine/v3.6/main 2017-07-03 22:07:13 http://dl-cdn.alpinelinux.org/alpine/v3.6/community 2017-07-03 22:10:40 it has now been 11minutes and still my image is stuck at installing git 2017-07-03 22:40:28 djapo: I had transient issues the last few hours using the autoselect-mirrors on a fresh install also, switching to nl.alpinelinux.org (or one closer to your location) fixed the issue for me 2017-07-03 22:41:14 yuka: thanks for the sugestion will try it 2017-07-03 22:41:42 you're welcome! 2017-07-03 22:42:21 tru_tru: I didn't *exactly* fix the issue of ordering sysctl's just yet, I just added the sysctls to the networking initscript instead 2017-07-03 22:44:05 changing the order of sysctl service didn't seem like a good idea, sometimes you want kernel settings to be applied before other modules are loaded 2017-07-03 22:48:24 though a small openrc-plugin that loads different sysctl.d/*.conf based on the current runlevel it's at, might be one of a few solutions I can think of 2017-07-03 22:50:53 these things tend to be entirely system dependent though, which is probably why it's the way it is. I recall debian and ubuntu having this bug open for years also 2017-07-03 22:52:44 hacking in multiple hooks/services with different sysctl snippets seems equally ugly 2017-07-03 22:56:08 djapo: if you do installs often then at some point using your own local mirror is probably the best thing to do 2017-07-03 22:58:36 TBB: yeah, i was thinking of starting a registry for some of my images, thats hosted outside localhost 2017-07-03 22:59:16 or a caching proxy inbetween, that's usually my approach 2017-07-03 23:00:11 I just wrote a tool that does mirroring and image creation, but I'm still required to get permission from my work project to publish it; it's what I use to deal with repositories these days 2017-07-03 23:00:37 oh that's cool, hope you get the green light 2017-07-03 23:01:23 it basically makes squashfs images of the repositories, those images can then be mounted pretty much directly under a web server 2017-07-03 23:02:18 or bind mounted to containers and chroots 2017-07-03 23:47:35 Oh man, runaway compiler. Errors all over the place, it just keeps crunching. It just doesn't know when to quit 2017-07-03 23:50:42 ACTION shoots gcc in the head 2017-07-04 15:57:38 hi 2017-07-04 15:58:09 any ideas why icinga is not present in the armhf packages ? 2017-07-04 16:01:24 <_ikke_> pea: it's in 3.6/community 2017-07-04 16:01:37 <_ikke_> https://pkgs.alpinelinux.org/packages?name=icinga2&branch=&repo=&arch=armhf&maintainer= 2017-07-04 16:01:56 <_ikke_> sorry, 3.4/community 2017-07-04 16:02:16 <_ikke_> not sure why it's not in 3.6 though 2017-07-04 16:04:04 _ikke_: yep i saw it was in 3.4.. dunno for 3.6 :( 2017-07-04 16:06:05 <_ikke_> pea: https://git.alpinelinux.org/cgit/aports/commit/?id=7731ec86ee7f0a7cb3a53f1879fec8896c6fddae 2017-07-04 16:06:11 <_ikke_> pea: memory issues during build 2017-07-04 16:09:22 arf... too bad 2017-07-04 16:09:29 _ikke_: thanks 2017-07-04 16:09:33 will use nagios then 2017-07-04 17:56:29 hey I'd like to install tor-browser unable to locate the pkg in alpines apk 2017-07-04 17:57:47 does it exist in alpines build or should i just download & install from tor project 2017-07-04 17:58:37 <_ikke_> mystified: Don't think there is a package for it 2017-07-04 17:58:47 thx 2017-07-04 17:59:02 off to tor project 2017-07-04 18:01:06 tor project is prolly linked against glibc... 2017-07-04 18:02:15 <_ikke_> tor itself is in the repos 2017-07-04 18:24:22 I'm having an wierd issue with an apkovl, I created an apkovl on an working setup by using lbu package but when i boot with it it cant find any networking or keymaps 2017-07-04 18:35:16 o and how should i report an mirror that is down ? 2017-07-04 18:35:25 like off the grid down 2017-07-04 18:36:43 lxGzx53qO34r: 2017-07-04 18:37:21 <_ikke_> nekocentral: what mirror? 2017-07-04 18:37:22 i've been to busy trying to Tbrowser, and did not see the message, Thanks 2017-07-04 18:37:47 obviously no luck getting to run 2017-07-04 18:37:49 _ikke_ http://lasca.ic.unicamp.br/pub/alpine/ 2017-07-04 18:38:09 what does this mean prolly linked against glibc 2017-07-04 18:39:18 <_ikke_> nekocentral: I think you need to contact the owners of that mirror 2017-07-04 18:39:51 it has been down for an long time and its of the LASCA - Institute of Computing - UNICAMP 2017-07-04 18:40:00 its also in the mirror list shipped with alpine 2017-07-04 18:40:25 <_ikke_> Yeah, but I don't think it's maintained by Alpine 2017-07-04 18:41:27 true but i think its smarter to take it out to the list in aports because it isnt usable anymore 2017-07-04 18:41:34 <_ikke_> right 2017-07-04 18:41:56 mystified: you wont be able to trivially run tor-browser binaries from the tor-project, as they are lnked against glibc and not musl 2017-07-04 18:42:51 and glibs won't work on alpine, sorry i'm no techie 2017-07-04 18:45:13 mystified: i dunno, there's some compat layer for glibc but i've no clue how taht works. 2017-07-04 20:16:48 hi guys, im having some issues with lxc, im running unpriviliged containers, and need some services to start as root and then drop priviliges with setpcap/setuid/setgid families. 2017-07-04 20:17:05 setpcap works by removing it from alpine.common.conf 2017-07-04 20:17:22 but I'm unable to find where setuid/setgid are disabled 2017-07-04 20:17:48 If I put lxc.cap.keep = setuid it complains about simultanious use of cap.drop and cap.keep 2017-07-04 20:19:25 Am I misunderstanding the use of unpriviliged containers? I want the containers themselves to run unprivilged so exploitable bugs in lxc don't lead to immediate system compromise, but I still want the services in said container to start as root and then drop privs 2017-07-04 20:20:26 more importantly, switch from root -> whatever user after its had its priviliged access 2017-07-04 20:20:55 it seems backwards that this kind of thing would require me to run priviliged containers? 2017-07-04 20:20:58 What am I missing 2017-07-04 20:22:00 elegast - my notes for unprivileged containers https://it-offshore.co.uk/linux/alpine-linux/82-alpine-linux-unprivileged-lxc-containers 2017-07-04 20:22:19 oh, I'll check that out, thanks BitL0G1c 2017-07-04 20:24:53 hmm, that seems to be about converting priviliged containers to unpriviliged containers though, im missing the relevance 2017-07-04 20:26:08 just follow the instructions 2017-07-04 20:26:13 I'm already running unpriviliged containers. though the uidmapshift script looks interesting 2017-07-04 20:26:23 in README.alpine 2017-07-04 20:26:24 but they are already running unpriviliged 2017-07-04 20:27:50 I think maybe I was unclear as what my problem was, or I'm misunderstanding what your instructions are solving 2017-07-04 20:28:32 I have a container where init and everything it spawns is running with uid > 100000, using subgid/subuid etc. 2017-07-04 20:29:30 then you've nothing to do - root in the container is not root on the host 2017-07-04 20:29:59 In this container, I have a bunch of services. Those services need to start as root (real uid 10000) and need to call setuid to switch to user 101 (real uid 100101) after having bound to ports/master started etc, the usual 2017-07-04 20:30:14 they don't seem to be capable of performing the setuid call. 2017-07-04 20:31:31 I had some other processes in there that needed to pass their inherited capability set to the child processes using setpcap, i fixed that problem by removing the lxc.cap.drop=setpcap statement in one of the configs 2017-07-04 20:32:00 this leads me to believe, that somewhere, in some config, the same could be done for setuid 2017-07-04 20:32:36 however, there doesn't seem to be any explicit removal of the setuid capability in the default lxc configs 2017-07-04 20:33:19 I figured i'd just throw a 'lxc.cap.keep=setuid' in the container specific config, but then it would complain about simultanious use of cap.keep and cap.drop, which apparently isn't possible 2017-07-04 20:35:06 Am I misinformed, and is setuid capability for my root processes inside the container impossible when the container is unpriviliged, or is this a config issue where this capability is somwhere disabled and I haven't found it 2017-07-04 20:35:55 setuid is not dropped - it breaks lxc-console / ssh if it is dropped 2017-07-04 20:38:53 Ok. So either the binary performing the setuid call is broken (unlikely), or is it that because even though from the container point of view, the program runs as root, but in actuality it runs with uid > 100000 and thus it can't setuid? 2017-07-04 20:39:19 Or my lxc config is simply broken, also possible 2017-07-04 20:45:11 the setuid call *does* work when the same binary is run on a priviliged container 2017-07-04 20:46:25 with my notes I was able to start dns servers which dropped privileges 2017-07-04 20:47:58 yeah, I'm mixing terminology, sorry. dropping capabilities from a process's capability set does infact work (with the setpcap call), its changing users with setuid/setgid that's failing 2017-07-04 20:53:16 It has got to be an configuration issue on my end somewhere. I can't get by the fact that such trivial things seem to be so hard in my case, makes me wonder if lxc is the right platform. 2017-07-04 20:57:12 Ok, I tracked it down to a specific uid I can't setuid to. 2017-07-04 20:58:28 It does work if I have it call setuid with any other random uid 2017-07-04 21:00:19 Allright, thanks for your time BitL0G1c, the issue lies elsewhere. I probably missed a mapping somewhere that isn't in the subuid range 2017-07-04 21:01:28 yes 2017-07-04 21:02:04 yep. the range is defined exclusive, where I assumed it to be inclusive 2017-07-04 21:04:55 huh. this explains another bug I had to work around the other day. 2017-07-04 22:03:54 When I run `apk upgrade`, it keeps adding 'nomodeset' in /etc/extlinux.conf. How do I stop it from doing that? I need modesetting. 2017-07-04 22:15:27 Nevermind, fixed it. How can I contribute to the install scripts? 2017-07-04 22:15:36 [setup-alpine etc] 2017-07-04 22:34:53 setup-interfaces needs `rc-update add wpa-supplicant boot` after line 158, methinks 2017-07-05 00:00:56 can I just install the minirootfs and use my own kernel? 2017-07-05 00:01:51 are there any specific options required for alpine linux? 2017-07-05 00:02:41 yes, you can 2017-07-05 00:03:41 Any specific kernel options alpine needs? can I just use my existing gentoo kernel for now? 2017-07-05 00:12:12 not alpine specifically, no 2017-07-05 00:12:21 except basic stuff like procfs and tmpfs 2017-07-05 00:14:07 Shiz: Okay thanks, backup is now complete, so I'll try installing it now 2017-07-05 00:45:56 Cool, after initila confusion, because openrc had no services added by default, which i did not expect, I am now running alpine, thanks. 2017-07-05 13:22:20 _ikke_: Any news on ProxySQL? 2017-07-05 13:27:08 <_ikke_> Sorry, not really 2017-07-05 13:48:19 Okay, thank you for giving it a shot :) 2017-07-05 13:53:30 Can I netboot Alpine Linux without a nfs server? 2017-07-05 13:54:19 Oh, "NOTE: by adding modloop with http support, this is no need for modules. " :) 2017-07-05 14:20:28 Can I use mkimage.sh to create a netboot "image"? 2017-07-05 14:24:38 you only need a kernel and initramfs for netboot 2017-07-05 14:24:40 :) 2017-07-05 14:26:57 Shiz, yes and a squashfs file (?) and the initramfs need to be created with the network feature.. 2017-07-05 14:27:01 From what I understand. 2017-07-05 14:27:34 nah, you can just generate the initramfs with the necessary modules you need 2017-07-05 14:27:49 through mkinitfs.conf 2017-07-05 14:29:05 I don't know the hardware, so I need "all" ethernet modules, which seems to be what the network feature do (network.modules: kernel/drivers/net/ethernet). 2017-07-05 14:29:54 But I still need a squashfs file, and mkimage.sh seems to be the easiest solution for that. 2017-07-05 14:31:09 why do you think you need a squashfs file? 2017-07-05 14:32:05 Shiz, doesn't it require a filesystem to boot? 2017-07-05 14:32:11 no 2017-07-05 14:32:13 :P 2017-07-05 14:32:34 the initramfs contains a filesystem, which it uses to bootstrap a new install entirely from the internet 2017-07-05 14:32:40 that's all it needs 2017-07-05 14:32:58 I want to create a kernel/initrd I can boot from ipxe over http, which boot up and start a shell script. 2017-07-05 14:33:12 yeah, and a kernel+initramfs is all you need 2017-07-05 14:33:22 booting alpine over ipxe is what i do in prod already :P 2017-07-05 14:34:13 it sets up a new root in tmpfs and installs alpine in it 2017-07-05 14:34:14 but how would I add my shell script to the initramfs and the required package (dialog + dd)? 2017-07-05 14:34:19 then pivot_roots to it 2017-07-05 14:34:22 wCPO: apkovls 2017-07-05 14:34:34 see: lbu 2017-07-05 14:35:05 long and short of it: boot your stuff once normally, add stuff you want to the system, run lbu commit, copy the file it generates to a http server or whatever 2017-07-05 14:35:19 then add apkovl=http://some/server/myapkovl.tar.gz to the kernel command line 2017-07-05 14:36:08 apkovls are essentially just .tar.gz files that get unpacked to the new rootfs by the initramfs init 2017-07-05 14:36:27 so you can add e.g. packages to /etc/apk/world and it will install them automatically 2017-07-05 14:36:31 or your own custom shell script 2017-07-05 14:43:10 Shiz, so on boot the initramfs install the package in etc/apk/world ? That happens if the mirror is down? 2017-07-05 14:43:48 yes, well not if the mirror is down obviously 2017-07-05 14:43:51 but then it can't netboot in the first place 2017-07-05 14:44:08 because it bootstraps itself from the mirror 2017-07-05 14:47:16 I would prefer not depending on any third party services. My idea was storing everything in a S3 bucket. 2017-07-05 14:48:21 So that why I through of a squashfs file, as everything will be self contained then.. 2017-07-05 14:53:10 well if our mirrors go down there'll be more significant issues than your netboot not working 2017-07-05 14:53:26 but storing everything locally is a big security hazard 2017-07-05 14:53:33 because outdated packages 2017-07-05 15:25:18 Shiz, I just need as a (last) sort of recovery environment. So you choose the entry from the boot menu, it ipxe boot the kernel/initrd, when booted up it download a raw disk image and write to the disk, reboot. 2017-07-05 16:16:35 Can I add /etc/apk/cache to my apkvol? Will it work? 2017-07-05 16:22:58 <_ikke_> iirc, you should not do that 2017-07-05 16:23:34 <_ikke_> The standard setup is to put the cache on the usb, and symlink it, and add that symlink to the ovl 2017-07-05 16:25:02 you *can* do it, if you really twant to 2017-07-05 16:25:09 it just won't be synced for obvious reasons 2017-07-05 16:55:01 Hi, what is the best way to install the manpages for all packages? 2017-07-05 16:56:10 <_ikke_> There is a meta package that should do it 2017-07-05 16:57:01 <_ikke_> (trying to find it) 2017-07-05 16:59:06 _ikke_, is there any reason besides security, that I shouldn't do it? 2017-07-05 17:00:01 <_ikke_> keeping your apkovl small 2017-07-05 17:00:47 _ikke_: ah, i found it, it's just called docs" 2017-07-05 17:00:58 *"docs" 2017-07-05 17:01:09 <_ikke_> ah, right 2017-07-05 17:01:12 _ikke_: thanks 2017-07-05 17:01:44 _ikke_, I see, but I just need a few package, so I don't see that as a big issue. 2017-07-05 17:42:19 So I installed linux-vanilla in my Alpine docker container, added network as a feature to /etc/mkinitfs/mkinitfs.conf, rain mkinitfs 4.9.33, copied /boot/{initramfs-vanilla,vmlinuz} and created a ipxe config like so: http://sprunge.us/Yhgj 2017-07-05 17:42:28 But I end up in a emergency shell, what I'm missing? :) 2017-07-05 17:56:41 wCPO: choices for where to find packages on run-from-RAM boot: boot media, cache, repo 2017-07-05 17:56:59 ACTION has chosen to take snapshot of offial repo with only the needed packages 2017-07-05 17:57:07 and host it locally 2017-07-05 17:57:10 just an option 2017-07-05 18:02:15 tdtrask, after setting alpine_repo and removing /etc/apk/cache from the apkovl, it seems to work. 2017-07-05 18:02:54 sounds good 2017-07-05 18:03:16 locally hosting a repo can help if Internet or mirror has problems 2017-07-05 18:03:43 but, if those are reliable, there's no need 2017-07-05 18:04:06 (not reliable Internet in my situation) 2017-07-05 18:06:41 tdtrask, I would prefer not to depend a mirror. I gonna selfhost the kernel/initrd anyway. If I add /etc/apk/cache to the apkovl, tar gives a "unexpected end of file" and I end in a emergency shell.. 2017-07-05 18:08:51 For some reason wget is only downloading 27512 bytes,, hmm 2017-07-05 18:11:59 ACTION would not recommend adding the cache to the apkovl, but downloading separately 2017-07-05 18:12:14 apkovl will attempt to install packages before unpacking the apkovl 2017-07-05 18:12:23 (if that makes sense) 2017-07-05 18:14:12 I see, busybox wget can't handle files bigger than 28k it sems. 2017-07-05 18:18:02 <_ikke_> uhm 2017-07-05 18:18:22 definitely can 2017-07-05 18:19:32 <_ikke_> "implementing_domain_ 100% |**********************************************************************| 13771k 0:00:00 ETA" 2017-07-05 18:20:02 This is weird, something must be wrong with my nginx servr.. 2017-07-05 18:25:08 Known bug: https://bugs.busybox.net/show_bug.cgi?id=9591 2017-07-05 18:28:28 Can I configure alpine to autologin and run X script? 2017-07-05 18:35:56 Yeh it works.. 2017-07-05 18:48:54 what are the system requirements for alpine? 2017-07-05 18:49:06 or at least a good recomendation? 2017-07-05 18:50:52 johnSmithy: i've used it with as low as 64 MB of ram, but that's really pushing it 2017-07-05 18:51:04 i686-compatible CPU or better, 64MB RAM or better, ~150MB hard disk space or better 2017-07-05 18:52:01 you also need some way to boot it, either USB or CD 2017-07-05 18:52:55 your application will probably consume more resources than alpine itself does 2017-07-05 18:53:01 ^ 2017-07-05 19:19:33 woah that is small 2017-07-05 19:19:50 that is awsome 2017-07-05 19:20:07 what DE does alpine use? 2017-07-05 19:20:15 the website is really lackluster 2017-07-05 19:21:17 none 2017-07-05 19:21:23 you can install one yourself if you want 2017-07-05 19:22:24 what exactly is the differnce between alpine and arch? 2017-07-05 19:22:40 about the difference between debian and arch 2017-07-05 19:22:47 we're totally different distros 2017-07-05 19:22:56 wait wrong distro 2017-07-05 19:22:58 woops 2017-07-05 19:23:56 thought it was arch based for a sec 2017-07-05 19:25:22 is there any specific function alpine is geared towards? or is it just supposed to be a bare bones linux? 2017-07-05 19:26:09 anything that needs a small, simple and secure distro 2017-07-05 19:26:15 so in my opinion, everything, but I'm biased :p 2017-07-05 19:26:38 we're not entirely geared towards desktop usage (although i know some people, including myself, who run alpine in a desktop setup) 2017-07-05 19:26:47 (and we're open to improvements on that front) 2017-07-05 19:28:12 ive been looking for tiny distros recently since lubuntu has the worst DE I have ever used 2017-07-05 19:28:41 well for linux 2017-07-05 19:29:16 how much extra ram would say running gnome or something take? 2017-07-05 19:29:23 i mean i3 works well 2017-07-05 19:30:42 i3 is a supercomputer compared to some of the stuff i have 2017-07-05 19:30:54 namely a CHIP 2017-07-05 19:31:18 which is a computer that runs on a snapdragon processor i belive 2017-07-05 19:31:23 believe 2017-07-05 19:31:25 i3 window manager not a cpu in that case 2017-07-05 19:31:52 for small stuff i tend to just use fluxbox :) 2017-07-05 19:32:49 Xfce or flux/openbox don't need many resources 2017-07-05 19:32:54 gnome on the other hand, does need a fair amount 2017-07-05 19:33:15 shame since gnome is pretty cool 2017-07-05 19:33:33 i made the mistake of installing MATE on my curent laptop 2017-07-05 19:33:46 gnome is heavier than mate 2017-07-05 19:33:50 since mate is just gnome 2 2017-07-05 19:33:52 :P 2017-07-05 19:34:48 I just got out of the: I only use ubuntu phase of a linux user 2017-07-05 19:35:19 why is alpine secure? 2017-07-05 19:36:03 vs other small linux distos 2017-07-05 19:36:17 like arch 2017-07-05 19:36:38 not sure i'd consider arch particularly small 2017-07-05 19:36:40 :P 2017-07-05 19:37:04 im too lazy to google other ones 2017-07-05 19:37:22 lets say debian 2017-07-05 19:37:41 just naming a few things 2017-07-05 19:37:59 smaller size and smaller defaults/alternatives decrease attack surface significantly 2017-07-05 19:38:22 use of musl libc which doesn't implement certain broken insecure things and insists more on program correctness 2017-07-05 19:39:12 use of secure defaults for package compilation like stack protection, position-independent code, read-only relocation, immediate binding 2017-07-05 19:39:20 and some other things 2017-07-05 19:40:03 does it have sandboxing by default? 2017-07-05 19:40:04 on x86 and i think aarch64, there's also the option to use a hardened linux kernel patchset 2017-07-05 19:40:25 sandboxing in what sense? 2017-07-05 19:40:39 applications that are running 2017-07-05 19:41:07 the minimal apparmor style 2017-07-05 19:41:17 not full on qubes os 2017-07-05 19:42:12 Im way to lazy to sandbox stuff myself so im a fan of distros with that 2017-07-05 19:42:18 too 2017-07-05 19:42:36 don't think there's currently more than user separation for stuff like daemons 2017-07-05 19:43:25 anyone know the status of numa inside xen vms? 2017-07-05 19:43:48 i mean outside of research, more like what's really active/working 2017-07-05 19:44:04 wouldnt xen kind of defeat part of the purpose of having a tiny OS? 2017-07-05 19:44:17 since i believe it is quite massive 2017-07-05 19:44:19 johnSmithy: i wasn't thinking of your case, sorry 2017-07-05 19:44:21 and no it's not 2017-07-05 19:44:29 oh 2017-07-05 19:44:34 interesting 2017-07-05 19:45:23 and, hehe, even numa doesn't apply to small boxes at all 2017-07-05 19:45:30 im kind of looking for an OS about as small as puppy that doesnt decide "oh yeah running as root is tottally a good idea" 2017-07-05 19:45:46 we don't condone running as root ;p 2017-07-05 19:46:15 (insert recent systemd jokes here) 2017-07-05 19:47:31 ive been scared everytime i run as root, because i once acidentally ssh'ed into a server i was working on and updated it to a blank state instead of my new version 2017-07-05 19:47:57 ahh the good 'ol days of being a complete idiot 2017-07-05 19:48:55 sometimes i feel much of that stuff is cargo culting 2017-07-05 19:49:04 anyways would alpine be a good choice for me? or should i go somewhere else for my mini desktops? 2017-07-05 19:49:24 like, one automates so much stuff and it'll all run as root 2017-07-05 19:49:53 johnSmithy: i don't find the desktop experience luxurious, it's very much early 2000's like sometimes 2017-07-05 19:50:06 but if you want a small and fast system, it could be just fine 2017-07-05 19:50:17 any recommendations instead? 2017-07-05 19:50:28 and updates are smooth, which is imo a difference to small desktop distros 2017-07-05 19:50:33 where sometimes there's no update at all 2017-07-05 19:51:03 nope, if i'd want a small linux desktop i would try this. if small is indeed really small. 2017-07-05 19:51:44 what is wrong with the desktop experince? 2017-07-05 19:52:31 say you install some audio player, there might for some window managers be no hook script to automatically put it in the menu 2017-07-05 19:53:27 guys, if you look at the last chapter here: https://wiki.xenproject.org/wiki/Xen_4.3_NUMA_Aware_Scheduling 2017-07-05 19:53:41 would you interpret this as "active by default" ? 2017-07-05 19:56:18 i read some more and decided to just forget about the topic 2017-07-05 20:04:00 one more questions: what kind of architechures does alpine support, and can you put it on a mac easily 2017-07-05 20:04:19 i dont need to do that soon 2017-07-05 20:04:23 the later question 2017-07-05 20:05:04 oh and can i repartition my harddrive during an install for a dual boot 2017-07-05 20:05:46 I had awesome running on a thinkpad T23 on alpine for a while, it was alright but had some minor issues 2017-07-05 20:06:14 Im a person who likes slapping linux on random things for fun 2017-07-05 20:06:29 all recent macs are just intel x86_64 2017-07-05 20:06:34 same as PC 2017-07-05 20:06:45 does alpine support x86? 2017-07-05 20:06:54 yes 2017-07-05 20:06:56 johnSmithy: CHIPs run allwinner procs 2017-07-05 20:07:03 i know 2017-07-05 20:07:16 is allwinner not x86? 2017-07-05 20:08:02 no 2017-07-05 20:08:07 allwinner is arm 2017-07-05 20:08:32 oh 2017-07-05 20:08:34 riiight 2017-07-05 20:08:42 does alpine do arm? 2017-07-05 20:09:21 well there is a rpi version 2017-07-05 20:10:27 https://www.alpinelinux.org/downloads/ 2017-07-05 20:11:27 johnSmithy: there's no chip-specific build, but i also have chips and could investigate making an alpine image for it 2017-07-05 20:12:01 could be cool but im not sure if alpine offers any advantage for it over debian? 2017-07-05 20:12:15 why is there no alpine desktop? 2017-07-05 20:12:38 the same reason arch doesn't ship with a desktop environment 2017-07-05 20:13:04 so you can choose? 2017-07-05 20:13:04 you can install your own relatively trivially 2017-07-05 20:13:09 I know 2017-07-05 20:13:15 its like a few lines 2017-07-05 20:13:18 most of my alpine boxes are servers 2017-07-05 20:14:03 alpine has many desktop options packaged, but does not install one by default 2017-07-05 20:14:14 since a desktop is superfluous in all applications except for desktops 2017-07-05 20:15:59 is alpine one of the major distros? 2017-07-05 20:17:38 that depends on your definition of major - by mine, I'd probably say no 2017-07-05 21:13:17 What the easiest way to get the version of a installed package, for use in a script? awk info | grep something? 2017-07-05 21:13:25 apk info* 2017-07-05 21:27:05 grep "P:linux-vanilla" /lib/apk/db/installed -A 1 | tail -n 1 | cut -f2 -d : | cut -f1 -d - 2017-07-05 21:27:09 Long but it works. 2017-07-06 01:50:39 does alpine protect packages like this? https://gist.github.com/samcv/061114c48106c599b4c0520794a76910 2017-07-06 02:45:42 luxio: a description of what happens would be useful 2017-07-06 02:46:05 simply saying 'protecting' isn't very useful 2017-07-06 04:59:42 Anyone know why this doesn't work in a Makefile: `docker rmi $(docker images -f dangling=true -q)` 2017-07-06 05:03:09 this works... `-@docker images -q | xargs docker rmi` 2017-07-06 05:03:20 can anyone explain that? 2017-07-06 05:04:20 in backticks? 2017-07-06 05:04:43 the backticks aren't just my quoting 2017-07-06 05:04:47 that's not part of the command 2017-07-06 05:04:57 well 2017-07-06 05:05:10 my wild guess is the $ is getting treated specially in the makefile 2017-07-06 05:05:19 have you tried escaping it 2017-07-06 05:05:45 it is, yes 2017-07-06 05:05:53 oojacoboo: you'd want to double the $ 2017-07-06 05:06:14 or make will try to expand $(whatever) to the contents of the make variable whatever 2017-07-06 05:06:15 @Shiz: I tried that to no avail as well 2017-07-06 05:06:48 I was just under the assumption you can't use calls like that. The `xargs` works though 2017-07-06 05:07:12 this seems like a better question for a channel that deals with makefiles though 2017-07-06 05:07:14 :p 2017-07-06 05:07:23 yea 2017-07-06 07:39:46 morning climbers 2017-07-06 09:24:16 i have a few questions, im a bit of a noob but i just got a hp dl380 g7 and was wondering if there were any guides on how to use alpine like setting up kvm or setting up fail2ban or things like that? 2017-07-06 09:24:55 i've never used alpine before but it looks like it would be a good choice for my used server 2017-07-06 12:36:02 Hello, I am having trouble with the `alpine-rpi-3.6.2-armhf` image, i initially boots, I do `setup-alpine` with perfectly normal settings, then do `apk update`, `apk upgrade`, `lbu commit -d`, reboot and then it will not boot up again... I have done this a few times, it works fine with an older version of alpine I think 3.5.2... Am I missing something? 2017-07-06 13:02:50 It seems like /dev/fd does not exist on my Alpine Linux "netboot", this cause bash command like <(echo foo) to fail. Is this a known bug? 2017-07-06 13:03:13 Symlinking it myself seems to solve it: ln -snf /proc/self/fd /dev/fd 2017-07-06 13:30:38 seems like you already did solve it, yes :P 2017-07-06 13:30:49 i'm not sure if anything but bash uses /dev/fd... 2017-07-06 13:31:14 de_worde: hmm, is there any logs of any kind? 2017-07-06 13:57:34 Shiz, it seems like the symlink command was part of the initramfs at some point: https://git.alpinelinux.org/cgit/aports/commit/?id=6438be2342fc3c5bdaa777db3919eea3f069b0ef has it been removed? 2017-07-06 14:03:13 probably got lost in the collateral of https://git.alpinelinux.org/cgit/aports/commit/main/busybox-initscripts?id=cd5a454a0a6e1daac08250cfe287e0e55754fb50 2017-07-06 14:11:51 im gonna push busybox 1.27 to edge soon 2017-07-06 14:12:02 whatch out for breakages 2017-07-06 14:24:48 cool 2017-07-06 14:54:16 Shiz: No logs, just blank screen, its a memory install, Ill try singleuser mode 2017-07-06 16:19:35 Is there an easy way to tell apkbuild to create a chroot environment to perform a build targeting a different kernel without installing it on the running system? Like using setup-disk, install the packages in APKBUILD to that folder and then perform build within it as a container/chroot? 2017-07-06 16:25:00 typically abuilds shouldn't differ per kernel... 2017-07-06 16:26:50 Oh I might also want to make a custom alpine install, either way I would want to do it within an isolated environment on the ext partition on the sd-card so it does not interfere with the host 2017-07-06 16:27:14 Also would be good for CI as builds would not mess with each other for different projects 2017-07-06 16:27:29 Suppose I just need todo this: https://wiki.alpinelinux.org/wiki/Installing_Alpine_Linux_in_a_chroot 2017-07-06 16:27:43 Just wondered if abuild did something like that instead of installing all the -dev packages to the host 2017-07-06 16:32:24 use buildlab 2017-07-06 16:32:27 does it automatically for you 2017-07-06 16:32:43 buildlab -C -p some/prefix/dir -m nl.alpinelinux.org -a -v edge 2017-07-06 16:32:53 buildlab -b -p /some/prefix/dir some/path/to/APKBUILD 2017-07-06 16:33:07 Shiz: ohh, looks good, Ill give it a go, thanks 2017-07-06 16:46:09 Shiz: What else is required for buildlab? It seems to break... It redirects my /proc and other mounts from the system into the lab, breaking the host, and complains abouty every command like /bin/sh ... 2017-07-06 16:46:27 I think it was not able to chroot and there is not error handling so it performs the actions on the host 2017-07-06 16:47:20 during creation or? 2017-07-06 16:48:37 yeah, I just did the first one with lab as the path and armhf as the arch 2017-07-06 16:49:46 huh.. (mini spam, sorry): 2017-07-06 16:49:48 (1/2) Upgrading busybox (1.26.2-r8 -> 1.27.0-r0) 2017-07-06 16:49:48 Executing busybox-1.27.0-r0.post-upgrade 2017-07-06 16:49:48 (2/2) Upgrading busybox-suid (1.26.2-r8 -> 1.27.0-r0) 2017-07-06 16:49:48 Executing busybox-1.27.0-r0.trigger 2017-07-06 16:49:48 Segmentation fault 2017-07-06 16:49:49 Segmentation fault 2017-07-06 16:50:18 where can i check for some trace of this? 2017-07-06 16:51:22 avih: need gdb no? and some sort of verbose switch to apk or/and examine the trigger? 2017-07-06 16:51:47 let me be more specific: what should i try next? 2017-07-06 16:52:37 i don't really know if the update completed or not, and what's broken, if at all. i didn't do anything since i got these messages (just now) 2017-07-06 16:52:41 that sounds rather bad 2017-07-06 16:53:11 try if sh --help does anything 2017-07-06 16:53:33 Shiz: ideas what to do next? save some logs which exist someplace? core dumps? 2017-07-06 16:53:35 Shiz: It seems fine, Busybox 1.26.2 2017-07-06 16:53:44 was talking to avih 2017-07-06 16:53:45 :p 2017-07-06 16:54:00 Oh, sorry 2017-07-06 16:54:01 avih: those don't get made by default for both 2017-07-06 16:54:11 Shiz: sh --help prints BusyBox v1.27.0 (2017-07-06 15:02:14 GMT) 2017-07-06 16:54:20 avih: then your upgrade is fine, likely 2017-07-06 16:54:31 apk upgrades are relatively (but not completely) atomic 2017-07-06 16:54:33 :p 2017-07-06 16:54:49 ok, but something seemingly didn't complete. two somethings possibly (two segfault messages) 2017-07-06 16:54:58 the busybox triggers re-install symlinks 2017-07-06 16:55:21 you could try # strace -f apk.log apk fix busybox 2017-07-06 16:55:45 err, sorry 2017-07-06 16:55:52 ? 2017-07-06 16:55:57 strace -f -o apk.log apk fix busybox 2017-07-06 16:55:58 this 2017-07-06 16:56:15 Shiz: Do I need anything else to get buildlab working? I have: abuild, alpine-base, chrony, nano, openssh ... trying to use a directory on ext4 2017-07-06 16:56:18 should i sudo the whole thing or just apk? 2017-07-06 16:56:27 entire thing 2017-07-06 16:56:47 de_worde: it may be worth to add to set -ex to the top of your /usr/bin/buildlab 2017-07-06 16:56:49 or sbin, i forgot 2017-07-06 16:56:57 `set -ex`, that is 2017-07-06 16:57:08 minus the actual quotes of course 2017-07-06 16:57:22 and run it again 2017-07-06 16:57:29 that way it will print everything that executes and stop on first failure 2017-07-06 16:57:53 Shiz: segfault twice again. log: https://0x0.st/006.txt 2017-07-06 16:58:26 ah 2017-07-06 16:58:38 looks like it fails during `busybox depmod` 2017-07-06 16:58:46 does that also segfault if you run it manually? 2017-07-06 16:58:52 cc'ing ncopa since busybox was just updated 2017-07-06 16:58:55 something is weird though. if it's atomic, how come sh -h printed the new version? 2017-07-06 16:59:05 --help* 2017-07-06 16:59:06 avih: because you have a new busybox 2017-07-06 16:59:10 it's just the trigger that failed 2017-07-06 16:59:37 but the fix command printed: 2017-07-06 16:59:38 (1/1) Reinstalling busybox (1.27.0-r0) 2017-07-06 16:59:38 Executing busybox-1.27.0-r0.post-upgrade 2017-07-06 16:59:38 Executing busybox-1.27.0-r0.trigger 2017-07-06 17:00:04 i guess there's limit to atomicity without making full fs snapshots 2017-07-06 17:00:21 yeah it's not properly atomic 2017-07-06 17:00:33 but as far as installing the package files go there's a very low chance that you'll get files mixed in 2017-07-06 17:00:37 from both versions 2017-07-06 17:00:51 either way, back to my question 2017-07-06 17:00:56 does running `busybox depmod` segfault? 2017-07-06 17:01:15 i'm just wondering now whether i'd be able to login again, since the issue appears to be with "Upgrading busybox-suid" 2017-07-06 17:01:29 yes, you will 2017-07-06 17:01:40 Shiz: as su? 2017-07-06 17:01:49 as root 2017-07-06 17:02:14 yes, it segfaults once 2017-07-06 17:02:38 wait, i sudo it. let me try explicitly as root 2017-07-06 17:02:46 seems like the new busybox version broke depmod then 2017-07-06 17:03:04 yeah, also segfaults as explicit 'root' 2017-07-06 17:04:45 de_worde: btw i can repro your issue 2017-07-06 18:27:17 Shiz: at the case of X.post-upgrade scripts though, shouldn't it be atomic together with X? 2017-07-06 18:27:56 assuming it can be reverted to begin with, which i'm guessing it can 2017-07-06 21:30:33 hmm. how would one massage getent to use ldap as passwd backend? 2017-07-06 21:30:55 there's no /etc/nsswitch.conf, nor any nslcd related packages 2017-07-06 21:34:38 Also, I'd prefer not to resort to pam 2017-07-06 21:43:22 ah, it seems what I'm looking for is this: https://bugs.alpinelinux.org/issues/6711 2017-07-06 23:37:26 How would one go about installing Alpine on a swraid 1 ? I've been trying to follow the wiki but I keep making some sort of mistake. 2017-07-06 23:45:13 argh. there's no libnss_ldap for musl-nscd ofcourse 2017-07-06 23:46:07 does really no-one use alternative authentication backends on alpine without going through pam? 2017-07-06 23:47:09 especially since Alpine is fond of not using pam, I'm a bit surprised 2017-07-06 23:48:43 or libnss_files for that matter, awkward 2017-07-06 23:49:00 libnss_files is not needed 2017-07-06 23:49:34 musl with musl-nscd will always use the files 2017-07-06 23:49:49 hehe yeah, it had me scared there for a sec, as it complained about it not being found 2017-07-06 23:49:57 and it's not in alpine because musl-nscd is relatively new and i don't think a documented full setup exists yet 2017-07-06 23:50:11 Ok. I think the issue is the MBR and the fact that I'm using GPT for the disks. 2017-07-06 23:50:50 Mhm, makes sense. I've compiled musl-nscd from source, but ofcourse there's no plugs to work with it yet 2017-07-06 23:52:03 I found this though: https://karkhaz.github.io/tuscan/musl/nss_ldap.html 2017-07-06 23:55:30 oh, that's very tuscan specific, which I have no clue about 2017-07-06 23:55:33 i think you should be able to compile nss-ldap against musl-nscd yourself 2017-07-06 23:55:41 tuscan is just the scan results of some automated coverage scanner 2017-07-06 23:56:08 yeah looks like some toolchain automaton thingymajig 2017-07-06 23:57:16 but yeh, ok, I'll see how nss-ldap fares without glibc, supposedly musl-nscd is mostly compatible 2017-07-06 23:57:23 thanks, Shiz 2017-07-07 00:09:06 right, forgot I'm on a 700mhz arm. If it wasn't 2 am I'd make some coffee. 2017-07-07 00:18:39 I've narrowed it down to what I believe is an issue with the dd command to install the MBR. 2017-07-07 06:07:11 Xe: hello, are you here? 2017-07-07 06:21:02 luxio: yeah, what's up? 2017-07-07 06:21:42 Xe: I see you maintain the tor package, is that supposed to have the browser too? I don't see a tor browser package 2017-07-07 06:21:56 it's just the tor daemon 2017-07-07 06:22:11 i wouldn't know how to build the tor browser bundle for alpine, sorry 2017-07-07 06:33:06 Xe: https://github.com/charybdis-ircd/charybdis/commit/705ca33e17fccd80d1976b0077ceb5e56533ea24 2017-07-07 06:48:52 lol 2017-07-07 06:50:13 kaniini: that's O(scary) 2017-07-07 07:06:19 Why no glibc package? 2017-07-07 07:06:45 because the point of alpine is that it doesn't use glibc 2017-07-07 07:06:54 there is a compat thing, i think 2017-07-07 07:07:01 libc6-compat 2017-07-07 07:07:09 i don't think it'll work for firefox 2017-07-07 07:07:19 would love to be proven wrong tho 2017-07-07 07:07:21 oh man, that's what I was going to use it for 2017-07-07 07:07:24 well, let's see 2017-07-07 07:09:34 <_ikke_> There is firefox-esr in the repos 2017-07-07 07:10:08 Why is there a tor package if you can't even run the tor browser 2017-07-07 07:10:27 <_ikke_> tor is not just for browsing 2017-07-07 07:10:29 tor and tor browser are different things 2017-07-07 07:11:49 i use the tor package in alpine to serve hidden services 2017-07-07 08:59:10 Hello, im trying to use buildlab on the rpi3 alpine 3.6.2, but the apk commands are not working from the host into a folder that will become the chroot, example: apk --arch armhf --root lab/ --repositories-file lab/etc/apk/repositories --keys-dir lab/etc/apk/keys --cache-dir lab/etc/apk/cache 2017-07-07 08:59:44 I just get "OK: 0 distinct packages available" ... the folders do exist and the repositories file and keys are valid 2017-07-07 08:59:58 Verbose does not give me any additional feedback 2017-07-07 09:00:45 oh and 'update' after the rest of that command for apk of course 2017-07-07 09:13:31 Ah, its a different command to do that, is buildlab out of date? 2017-07-07 09:13:54 setup-disk has the correct commands to create the chroot 2017-07-07 09:15:01 setup-disk could have a switch to just create the chroot with install_mounted_root, buildlab could just call that to keep it standard 2017-07-07 11:02:24 Shiz: confirmed busybox upgrade fixed. 2017-07-07 11:19:00 Hello alpines. 2017-07-07 11:21:00 What is the word on pam ? Is there any reason other than slimness for it not being used by default ? Could one enforce account security policies without it ? (Max login attempts, lockout, and so on) 2017-07-07 11:49:23 AlexIncogito: PAM is enabled in OpenSSH by default, you mean physical console or something else? 2017-07-07 11:51:55 skazz: What alpine bundle are you using ? I am on xen and virtual images, perhaps that is why our experience differ. On these versions I have "#UsePAM no" and no pam package by default 2017-07-07 11:52:40 AlexIncogito: The hash# means that line is commented out, in the comments above that in sshd_config it says it is enabled by default, which is why the commented out line is the alternate value 2017-07-07 11:53:07 Both grsec x64 and rpi3 armhf I am using 2017-07-07 11:53:31 Well, AFAIK, the norm is commented lines display the default value 2017-07-07 11:53:41 Even if I enable root user to login via ssh, it wont let it happen because in the shadowers the root account is set to expired 2017-07-07 11:53:47 Also, this in this instance, this is confirmed by the fact no pam package is installed at all 2017-07-07 11:54:20 (And the comment above does not state that it is enabled by default) 2017-07-07 11:55:03 Oh I must have misread that, sorry, must be something else that blocks then 2017-07-07 11:55:38 Perhaps your package has pam enabled by default, whereas mine does not 2017-07-07 11:55:46 It makes sense, because virt images are slimmed down 2017-07-07 11:57:07 AlexIncogito: I imagine it is not enabled for that very same reason, the package is not installed by default to keep Alpine lightweight, you can install pam with apk ofc and then configure services to use it 2017-07-07 11:58:26 Yes. From the fringes of my mind, I remember @Shiz or another admin mentioning something that I registered as negative about pam, or perhaps an alternative. I can't remember. I might be wrong, but I thought I'd inquire to be on the safe side 2017-07-07 12:01:05 While I'm at it, has anyone tried OpenSCAP with alpine ? 2017-07-07 12:04:18 AlexIncogito: That is a mighty handy tool, I think even just using the debian8 would do for most situations 2017-07-07 12:05:00 I am surprised Protocol 2 is not set by default, little tweaks like that go a long way, who really uses SSH 1 anymore and even then, who would use ssh 1 and be setting up modern alpine linux systems? 2017-07-07 12:06:11 Only high severity are remove telnet, have an ntpd service and lockdown ssh 2017-07-07 12:06:29 dont have telnet, ntp is offered in se 2017-07-07 12:06:38 in setup-alpine and ssh has most the tweaks already 2017-07-07 12:08:45 I would augment that with awall as baseline sec 2017-07-07 12:09:14 You mention debian8, have you tried it with alpine ? 2017-07-07 12:09:47 AlexIncogito: I was just applying the debian8 one on that OpenSCAP to an alpine installation 2017-07-07 12:09:54 Just finding the equilivents 2017-07-07 12:10:01 This one is more indepth : http://static.open-scap.org/ssg-guides/ssg-rhel7-guide-pci-dss.html 2017-07-07 12:10:12 Endpoint protection, File integrity checks, etc. 2017-07-07 12:10:30 How is it going so far ? I'm integrating this as part of an Wazuh (ossec fork) instal 2017-07-07 12:10:33 -l 2017-07-07 12:12:20 AlexIncogito: Well I'm starting with the high severity ones, it talks about updating with yum so apply that to APK, already has keys although I bet having your own key and package repository would be better 2017-07-07 12:13:27 As far as Verify Integrity, there is a tool for that as an alternative to aide, 2017-07-07 12:13:49 Use the package manager to also verify integrity 2017-07-07 12:14:15 Are you using single or multiple endpoints ? 2017-07-07 12:15:05 I'm just applying it to my standard alpine installation, how do you mean? 2017-07-07 12:15:22 Are you going to apply this to a single server, or a bunch of them ? 2017-07-07 12:15:46 I'm just doing it by hand to a single server, going through the entries on that page 2017-07-07 12:16:40 You could use auditd for monitoring and reporting. Somoene created a package for it in edge (audit[-*]) 2017-07-07 12:16:59 Or ossec, which is bundled in main 2017-07-07 12:17:42 Or well, wazuh but there is no package and I have not uploaded mine yet 2017-07-07 12:21:27 AlexIncogito: Oh auditd does look nice, alot of data to send to syslog server, does ossec or wazuh do significantly better things? 2017-07-07 12:25:41 Auditd appears to be somewhat more obscure. It appears to be robust, but the learning curve might be steep. It is maintained by red hat iirc, but I ignore if it is maintained 2017-07-07 12:26:09 OSSEC is (was) the de-facto standard, but has become stale for more than a year now 2017-07-07 12:27:42 Wazuh took up the dev role and backports its improvements to OSSEC. It is very active, has okay documentation, and moderately active community, and offers a real improvements over vanila ossec 2017-07-07 12:28:00 Also, if you use OSSEC, you can potentially integrate with other products, such as OSSIM 2017-07-07 12:28:52 You could also use auditd + OSSEC as a manager on anothe server, it has rules for auditd. Not sure how efficient that would be though 2017-07-07 12:30:07 Cool thing with wazuh is the ELK + Kibana stack 2017-07-07 12:30:45 If you have, say, a router, you could forward your syslog and visualize your traffic on ELK 2017-07-07 12:43:42 Hello everybody! I thought you might be interested in some *serious* anti-systemd community building. Read more here: https://pastebin.com/1wqfvV98 For any question or comment DM me on twitter or send an email: systemdsucks@protonmail.ch 2017-07-07 12:44:53 Also this hardening script contains some interesting tweaks: https://github.com/gliderlabs/docker-alpine/issues/56#issuecomment-125777140 2017-07-07 13:02:15 Is there a way to get iptables to detect if a FORWARD'ed packet has been REJECT'ed and log it? 2017-07-07 13:02:58 Suppose it would just be packet monitoring for that like tcpdump 2017-07-07 13:03:02 isn't that default behavior ? 2017-07-07 13:03:12 Ah 2017-07-07 13:03:30 Nevermind I misunderstood 2017-07-07 13:03:33 I have two firewalls, if the inner one REJECTs the packet I want the outer one to start Dropping 2017-07-07 13:05:49 Like to reinforce rules like fail2ban without having the systems directly talking to each other with another service is all 2017-07-07 13:06:18 skazz: you could catch on the icmp error returning 2017-07-07 13:06:27 but that'd be possibly abusable 2017-07-07 13:06:39 By the internal firewall? 2017-07-07 13:07:36 scv: I did think of abuse/dos but the rules would only be listening to a more trusted device/server 2017-07-07 13:08:22 and I rather dos than hack in some situations, set limits if there must be like a max amount of rules it will start to block 2017-07-07 13:08:29 probably 2017-07-07 13:08:42 the REJECT will send back an icmp error, you can even configure which opcode to use 2017-07-07 14:01:16 b/ 33 2017-07-07 14:17:31 b/ 15 2017-07-07 14:19:17 Shouldn't that be b/ 17 ? 2017-07-07 14:19:58 wut 2017-07-07 14:20:05 i failed @ switching buffers 2017-07-07 14:21:14 Would an Alpine In-Memory install that ejects its storage bus in the boot process be subtle enough to prevent the system being permanently compromised in a breach? I suppose it is just Security by Obscurity because you could re-enable the storage device using /sys/bus ... 2017-07-07 14:21:54 I run r/o deployments of alpine, it works fine 2017-07-07 14:21:54 Or somehow crash the bus in a way that lets the system stay booted but is unable to contact the storage.. 2017-07-07 14:22:06 Let me find the article I based my work on 2017-07-07 14:22:30 Oh like a read-only USB stick? 2017-07-07 14:23:00 apkovl img mounted in kernel options with xen 2017-07-07 14:23:24 The article shows how to do with with PV guest 2017-07-07 14:23:30 Ah, virtual, but then you still have the potential for a guest to breakout 2017-07-07 14:23:31 Had to tweak it for HVM 2017-07-07 14:23:54 Of course, like any hypervisor 2017-07-07 14:24:03 I was thinking for the physical machine 2017-07-07 14:24:14 like the hypervisor host 2017-07-07 14:24:17 You can use cdrom, network apkovl 2017-07-07 14:25:01 true , network apkovl will be attack vector then, but then cd for the os + config... 2017-07-07 14:25:20 Combine that with the intense logging with auditd etc. and auto-reboot if something is a miss 2017-07-07 14:25:23 clean slate 2017-07-07 14:26:01 You could use OSSEC active response 2017-07-07 14:26:22 E.g. add firewall rules on the fly, custom action such as shutdown or whatnot 2017-07-07 14:26:50 Or more advanced analysis such as the OSSIC SIEM which I mentionned before 2017-07-07 14:28:11 Sounds good, as I said, I don't mind DoS if it keeps the system secure, just thinking of some out-of-box ideas around securing systems 2017-07-07 14:30:39 I do not know aobut your setup, but this is starting to sound like you will mingle HIDS and NIDS 2017-07-07 14:30:45 Although that may work 2017-07-07 14:31:12 It may be more appropriate to separate network services 2017-07-07 14:31:30 Gotta run (literally), be back later 2017-07-07 14:31:44 AlexIncogito: Cya, thanks for the info =] 2017-07-07 14:36:35 I suppose a custom kernel module could force the eject of the boot device ... Or a tweak to the storage driver itself to unload after an uptime or indication the boot process has complete 2017-07-07 15:15:20 With auditd, if I am monitoring files on a tmpfs, what stops a process writing to the memory directly and changing a file? 2017-07-07 15:44:22 skazz https://jonnytyers.wordpress.com/2016/08/16/hassle-free-diskless-virtual-machines-with-xen-and-alpine-linux/ 2017-07-07 15:45:18 You can also use grsec features for process and access control 2017-07-07 15:45:48 RBAC, user space sec, etc 2017-07-07 15:46:23 If what you are worried about is exploits in processes that is 2017-07-07 15:47:21 Staying up to date with CVEs and list subscriptions also go great length to mitigate these issues 2017-07-07 18:33:01 So my boot times are very slow because wifi and eth0 are trying to connect during the bootup. I have tried to change the interface settings from auto, but it just gives errors at startup 2017-07-07 18:33:18 any help would be appreciated. 2017-07-07 18:36:29 Perhaps have you got "ip=xx" in kernel boot options ? 2017-07-07 18:38:35 Im at work right now. I will check in a few minutes. 2017-07-07 19:30:48 @AlexIncognito I dont think that is the problem. I think it has to do with my /etc/network/interfaces setup. It is auto wlan0 and auto eth0 but when I take auto out it throws up errors on startup 2017-07-07 19:31:32 How do you persist the system ? 2017-07-07 19:31:55 My bad. It is installed too hdd on my laptop. 2017-07-07 19:32:15 too=to 2017-07-07 19:33:01 I will reboot with auto taken off and get the error msgs. 2017-07-07 19:33:03 What kind of error do you receive when starting without auto ? 2017-07-07 19:33:20 give me a few minutes so I can get that info for you 2017-07-07 19:36:03 s/hdd/sdd/ ? Fast laptop 2017-07-07 19:37:05 lenovo ideapad 110 hdd 2.5ghz 4g ram faster since I put alpine on it from w10 2017-07-07 19:37:42 ifup: option with empty value "wlan0" 2017-07-07 19:37:54 ERROR: networking failed to start 2017-07-07 19:38:01 and its the same for eth0 2017-07-07 19:38:28 What did you put for interface ? 2017-07-07 19:38:50 I mean its not a big of problem for me, as I am still able to connect to wifi the same way. just wondering if I can get it to boot without those errors. 2017-07-07 19:38:59 just wlan0 and eth0 2017-07-07 19:39:47 I've never tried manual interfaces, but it appears to be a syntax error, shouldn't it be empty ? 2017-07-07 19:39:57 Just iface [if] etecera 2017-07-07 19:41:14 I think that's it 2017-07-07 19:41:32 gotcha!! let me try that 2017-07-07 19:43:30 that was it!! 2017-07-07 19:43:36 Thanks Alex 2017-07-07 19:43:39 Fantastic 2017-07-07 19:45:00 boots waaaay faster now. Before it would try to connect to wifi and eth0 and would take 2+ minutes to boot...... 2017-07-07 19:45:29 @eth0 You could try static IP ? 2017-07-07 19:46:16 Ethernet should be fast to initialize 2017-07-07 19:46:24 you know how lame it is to show off your laptop and sit at the boot screen for over 50 seconds?!?!?!? especially when youre trying to convert someone from M$ to Linux.... 2017-07-07 19:46:25 Wifi, well... 2017-07-07 19:47:00 I dont ever put it on ethernet though. I just use my desktop for that. 2017-07-07 19:47:24 But I leave the settings incase I ever need to for some reason 2017-07-07 19:47:38 You could run xen if you wanted to retain the ability to run windows on top of linux 2017-07-07 19:47:52 There is a alpine-xen iso 2017-07-07 19:48:03 That's what qubes does too 2017-07-07 19:48:32 Although with 4gb You won't be able to run many VMs concurrently 2017-07-07 19:49:35 yea, I have w7pro on a desktop not connected to the internet 2017-07-07 19:49:59 and my trusty kvm switch to make my linux box dualscreen 2017-07-07 19:50:32 i mean to have both boxes on one screen . lol 2017-07-07 19:50:51 PIP screen ? 2017-07-07 19:51:39 Oh nevermind, misunderstood you 2017-07-07 19:52:34 yea that would be sweet to do without vm 2017-07-07 19:53:28 To be fair, it works pretty well. I am writing from a lenovo laptop using qubes, with windows in seamless mode when necessary 2017-07-07 19:57:32 my ram is soldered on so I am pretty much stuck. but I got a great deal on the laptop. 2017-07-07 19:58:20 Ah yes, they do that to some of their laptops.. Pretty crappy. Lenovo outlet ? 2017-07-07 19:59:06 rent a center had a liquidation center by my house for two weekends. 2017-07-07 19:59:10 A good one is the x220, it has decent specs, is compatible with coreboot, and can be bought for 300-400$ second hand 2017-07-07 19:59:20 got it for $200 2017-07-07 19:59:27 Nice bargain 2017-07-07 20:00:13 yea but I missed the first weekend and the guy said some great laptops were there. 2017-07-07 20:00:38 a couple of mbp's for $400 2017-07-07 20:01:05 Well, for a 200$ investment, you could easily sell back later and buy another one if you ever wanted to 2017-07-07 20:01:17 and a cpl of other good business class hp's 2017-07-07 20:01:59 Gee, you have such great bargains in the US... 2017-07-07 20:02:10 yea I want the thinkpad w700ds 2017-07-07 20:02:41 I honestly just got lucky. you dont really see those kinds of deals everyday 2017-07-07 20:51:01 Hi, does there exist official docker stuff based on alpine-linux? 2017-07-07 20:52:05 What do you mean ? 2017-07-07 20:52:20 Containers are based on alpine linux now AFAIK 2017-07-07 20:53:38 not all, well official repo od containers, i would like to use sabnzbd in docker with alpine linux 2017-07-07 20:54:27 they https://hub.docker.com/r/linuxserver/sabnzbd/ switched back to buntu from alpine because of some issue, i am not sure if they got solved 2017-07-07 20:55:13 So you're looking for people using sabnzbd on alpine correct ? 2017-07-07 20:56:17 looking for official dockerfile 2017-07-07 20:58:10 Didn't you just say they reverted back to ubuntu ? What is your purpose ? If you want to run sab, you should probably be asking on docker channel. If you want to stick with alpine linux but there is no docker file available for sab yet, you'll have to come up with your own I suppose, unless someone here happens to have one working 2017-07-07 21:00:03 well exactly i am asking is there any official repository where the docker stuff based on alpinelinux are avaiable. simple question no something like that does not exist is also ok. 2017-07-07 21:00:27 question^==answer 2017-07-07 21:00:56 I do not believe alpine linux maintains such a list. It is a project on its own, docker just happen to use it AFAIU 2017-07-07 21:01:41 This is more of a docker question, you'd probably be better off asking there 2017-07-07 21:05:16 maybe there are some users/devs which uses docker and could share their files, going to idle a bit again here. 2017-07-07 21:07:33 one of them even works for docker so there's definitely some docker knowledge here 2017-07-07 21:07:57 Really ? 2017-07-07 21:08:02 I ignored that 2017-07-07 21:17:08 TBB ok thank you for the info 2017-07-08 08:38:05 hi 2017-07-08 08:38:15 i am setting alpine from vbpx 2017-07-08 08:38:18 vbox 2017-07-08 08:38:21 need help 2017-07-08 08:38:26 to set up 2017-07-08 10:50:05 Hello 2017-07-08 10:50:29 Is this a Minetest server? 2017-07-08 10:52:42 I am only on IRC because at the moment I am not allowed to play minetest :-/ 2017-07-08 10:53:22 Is SWAMPTURTLE online if I am on the right server? 2017-07-08 10:54:47 afk 2017-07-08 14:47:48 Hi, I am trying to install alpine in a VM, I previously installed it in another VM and everything worked, but now I get an error when booting the alpine-virt iso. "Mounting boot media failed." 2017-07-08 14:49:53 I also redownloaded the iso and checked it's checksum 2017-07-08 14:53:57 It seems like alpine cannot find the cdrom drive? 2017-07-08 16:03:54 I installed alpine-virt and passed the printer usb device through to the vm, but alpinr seems to be missing the driver. 2017-07-08 16:04:13 Are kernel modules available as additional packages 2017-07-08 16:04:58 or can I check somehow if linux-hardened contains them? 2017-07-08 16:21:04 Okay, I managed to install the kernel. 2017-07-08 16:22:02 But now I installed hplip and it doesn't seem to include the utilities to actually add the printer, cups doesn't see it either. How do I add this printer? 2017-07-08 16:25:28 jnt: whitch hypervisor are you using? 2017-07-08 16:28:43 feuerteufel: libvirt with qemu-kvm 2017-07-08 16:30:58 feuerteufel: I just wanted to recheck that the device was passed through successfully (I checked earlier, kernel can see it) and saw this: "[ 694.150653] grsec: Segmentation fault occurred at 0000000000000020 in /usr/lib/cups/backend/hp[hp:2117] uid/euid:4/4 gid/egid:7/7, parent /usr/lib/cups/daemon/cups-deviced[cups-deviced:2114] uid/euid:0/0 gid/egid:7/7" 2017-07-08 16:31:45 Ah, ok I'm not familiar with KVM, in xen you have to load usb in kernel extras 2017-07-08 16:32:13 feuerteufel: yeah, it's not the hypervisor anyways. 2017-07-08 16:32:28 I am retrying with kernel-vanilla now 2017-07-08 16:33:15 You got to tell the kernel "load the USB Modul" 2017-07-08 16:33:55 feuerteufel: it's all loaded, saw it in dmesg 2017-07-08 16:34:24 feuerteufel: rebooted with vanilla kernel and now it works, grsec killed hplip backend 2017-07-08 16:35:01 Ah OK 2017-07-08 16:35:09 feuerteufel: well okay cups shows hplip as printer driver 2017-07-08 16:35:20 doesn't exactly work yet 2017-07-08 16:36:58 getting an "Jul 8 16:35:57 print daemon.err hp[2182]: io/hpmud/musb.c 2099: Invalid usb_open: Permission denied" error now, when I try to add it... 2017-07-08 16:39:07 You Know this? 2017-07-08 16:39:13 I used somewhat brute force and chmod 666ed /dev/usb/lp0, if there's a better way please tell me 2017-07-08 16:39:13 https://wiki.alpinelinux.org/wiki/Cups 2017-07-08 16:40:43 feuerteufel: no, it says it is out of date anyway, though i did most of that, I actually did everything the way I did it on gentoo (where everything worked) before. 2017-07-08 16:42:39 I don't remember, sorry. But I think, I had a Prob. like that befor 2017-07-08 16:46:13 I'm currently on vacation, and my cups tweaks are at work, but... 2017-07-08 16:46:30 I don't think /dev/usb/lp0 is relevant to this 2017-07-08 16:47:13 using musb seems to imply your device is not just a printer but some sort of a multifunction device 2017-07-08 16:48:51 TBB: It has a scanner, too. 2017-07-08 16:49:40 so the rights issue is probably something like just adding the user to a specific group used by libusb(x) 2017-07-08 16:49:40 TBB: I got it to print though by chmod 666 /dev/usb/lp0. Getting the scanner to work, too would be nice though 2017-07-08 16:50:13 yeah, it does print through lp0 2017-07-08 16:50:59 TBB: file is owned by root:root though? 2017-07-08 16:51:50 it probably is because that specific file has nothing to do with cups 2017-07-08 16:52:04 it's kernel-provided 2017-07-08 16:53:19 but wrt multifunction devices, I basically gave up after a couple of months; either cups is hopelessly unusable on non-glibc systems or it's so broken that it crashes and crashes and crashes 2017-07-08 16:53:42 (you'll eventually get to that point in your setup if you choose to chase that goal) 2017-07-08 16:57:45 but like I said, I'm on the first week of my summer holidays and all my cups notes are at the office so unfortunately I can't assist you further before August 2017-07-08 17:02:33 TBB: okay, I am gonna try to get it working, but worst case I can just install a different distro, do you know any distro that doesn't use systemd is small and has cups? 2017-07-08 17:03:14 not really, I've been pretty much concentrating on Alpine for the past year or so 2017-07-08 17:03:35 ok 2017-07-08 17:04:40 TBB: ok, anyway, thanks for your help. 2017-07-08 17:13:52 Hi folks, is there any common mechanism to share APKBUILD declarations between packages? e.g. can foo-subpackage/APKBUILD just source something like ../foo/APKBUILD.common? 2017-07-08 17:18:16 Reason I'm asking is, I have package foo, which declares a whole bunch of subpackages, however one of those subpackages differentiates too much from the standard, and a dedicated package is warranted, I would however like it to share certain declartions from the main package 2017-07-08 17:26:22 Ah, ok. One can indeed source APKBUILD files and split them up 2017-07-08 17:26:41 we'll see how practical it will be though 2017-07-08 17:27:56 you can do that, of course, but can you guarantee files sourced from the APKBUILD to exist in the system at build time is one question to answer 2017-07-08 17:28:50 hi all... having issues when creating the bootable usb with dd command... I ended up with "Error: Invalid partition table - recursive partition on /dev/sdX" when I did partprobe 2017-07-08 17:29:20 that's because it basically -is- an invalid partition table 2017-07-08 17:29:23 boots fine tho 2017-07-08 17:30:14 I dowloaded the latest standard iso 2017-07-08 17:30:45 then I did dd if=iso of=/dev/sdX 2017-07-08 17:31:08 yup, that's how you do it 2017-07-08 17:31:13 then I tryed to partprobe all the partitions 2017-07-08 17:31:51 and there it is... the error came up 2017-07-08 17:32:09 Am I missing something? 2017-07-08 17:32:26 you are, but I'm struggling explaining it 2017-07-08 17:32:27 I would like to run the iso by usb stick 2017-07-08 17:32:55 well, that procedure does produce a bootable usb stick 2017-07-08 17:33:42 But I also attempted to boot my box with the ubs sticked and selected at boot time 2017-07-08 17:33:54 It has been skipped 2017-07-08 17:45:24 TBB, well, from the inheriting APKBUILD I can't guarentee per say that whatever is declared in the main APKBUILD exists, but the main package could take such things into account ofcourse, by having the main package itself source the same common things 2017-07-08 17:46:08 e.g. foo/APKBUILD would also source foo/APKBUILD.common, same as foo-subpackage/APKBUILD would 2017-07-08 17:46:58 so yes, so long as some cooperation between packages exists ahead of time, everything should be fine 2017-07-08 17:48:35 I sorted out the usb issue disabling uefi 2017-07-08 17:49:39 now the question is ... why that iso is suported oanly by legacy bios? 2017-07-08 17:50:40 cool ... think I ve found it in the alpine wiki! 2017-07-08 17:51:34 odino1: some uefi implementation are very picky about mbr/gpt layouts 2017-07-08 17:54:37 for instance, the alpine-xen image wouldn't boot out of the box on a few of my machines that are from the 2010/2011 era's while it would boot fine on others 2017-07-08 17:56:26 elegast, you could keep all your apkbuilds in the same directory and have a common script there as well, that way it would probably be okay too 2017-07-08 18:02:32 yeah.. first thought was I missed something and I have just found the how to for uefi boot mode in the wiki 2017-07-08 18:02:53 TBB, yeah it depends on the size of the software, for some packages like posgres I'm going with foo-common/APKBUILD and have foo-server and foo-client and foo-bar inherit from that, where a supporting base package is warranted 2017-07-08 18:03:08 if a dedicated foo-common is unwarrented, foo-bar would just inherit from foo 2017-07-08 18:04:24 odino1: yeah specifically with -recursive partitions, there was one firmware implementation in my collection that would end up in an infinite loop 2017-07-08 20:05:27 hello, I'm on arm, I'm trying to install python 3.5, but this command -> apk add python3=3.5.2-r9 says unsatisfiable constraints: python3-3.6.1-r2: breaks: world[python3=3.5.2-r9] 2017-07-08 23:09:57 Is it possible to see the stderr log from openrc services? 2017-07-08 23:10:09 I have a standard init.d script with some variables 2017-07-08 23:12:09 The daemon itself logs to a file. But the crash panic output is not stored there, ofc 2017-07-08 23:12:48 gbtcd 2017-07-09 00:49:23 Is it okay to write a APKBUILD for an older package version? In particular I just build qbittorrent on alpine, qbt itself only needed one small patch, but required libtorrent-rasterbar 1.0.10, while 1.1.x is current stable. 2017-07-09 00:49:58 i think it'd be fine as long as you explicitly list the version in the qbt dependencies 2017-07-09 00:55:25 scv: okay, I am reading the wiki on how to create packages right now, is there a mailing list to submit patches, gerrit or github pull requests? 2017-07-09 02:21:00 I am going to learn how to code. I want to focus on device drivers of all kinds for linux. What language should I learn to accomplish this? 2017-07-09 02:29:33 m4chm4n: C 2017-07-09 02:30:27 and just FYI, drivers are not something you normally touch under, idk, 5-10 yrs of experience 2017-07-09 02:31:20 not saying you shouldn't just that it'll be quite a journey 2017-07-09 02:33:19 I think the challenge of it and learning from my mistakes will make me a better coder. Even if it takes me a year or two to make one working driver, it will be time well spent. 2017-07-09 02:33:38 and thank you for your insight on the matter. 2017-07-09 02:33:50 sounds like a good plan 2017-07-09 02:38:28 its a plan, not too sure on the good part. lol... 2017-07-09 04:53:03 hello 2017-07-09 04:53:14 grsec is paid now iirc 2017-07-09 04:53:22 does alpine linux still support grsec? 2017-07-09 06:24:17 When I do anything with APK I get "1 errors; ; 1469 MiB in 493 packages" 2017-07-09 06:24:34 How do I fix this? I don't even know what the errors are 2017-07-09 06:26:43 nevermind fixed 2017-07-09 06:34:42 I'm trying to get the latest Firefox Developer Edition running on my system. It seems it needed glibc to run, so I installed the packages from https://github.com/sgerrand/alpine-pkg-glibc/releases 2017-07-09 06:35:01 However, it seems I'm still getting glibc errors: https://paste.debian.net/hidden/2fd53791/ what does "no version information available" mean? 2017-07-09 13:22:32 Is there some utility like "apk alternatives" that I can use to set neovim as vi? or do i need to do it manually? 2017-07-09 13:23:56 can't you just simlink it? 2017-07-09 13:25:55 duncan^: I am just wondering if there is a utility to do so, because I don't know how it'll interact with apk if I just delete the symlink created by it. 2017-07-09 13:31:16 jnt: it's being planned 2017-07-09 13:31:21 but does not exist right now 2017-07-09 13:31:24 as `apk select` 2017-07-09 13:32:29 right now going manual is the best approach, although i'd prefer using a shell alias if it's only for interactive usage 2017-07-09 13:33:36 Shiz: okay, thanks, I just wanted to make sure there wouldnt be any weird interactions with apk if i choose the manual approach 2017-07-09 14:02:53 Do I need to include direct dependencies into an APKBUILD, if the dependency is already pulled in by another package it depends on? 2017-07-09 14:58:03 jnt: yes 2017-07-09 14:58:42 Shiz: what is the best way to check if i got all dependencies? 2017-07-09 15:01:14 installing it in a fresh chroot and see if it works :p 2017-07-09 15:01:26 many dependencies don't need to be explicitly specified because of abuild's .so scanning 2017-07-09 15:03:36 Shiz: okay, going to try that. 2017-07-09 15:13:12 Hello 2017-07-09 15:13:39 Is there a family-level MTA guide somewhere? I found https://wiki.alpinelinux.org/wiki/ISP_Mail_Server_3.x_HowTo which seems more for ISPs and is "work in progress" 2017-07-09 15:14:04 but I guess I could customise the later to my liking 2017-07-09 15:14:11 can't tell you about a specific guide, but my setup is opensmtpd and dovecot and i like it 2017-07-09 15:14:14 very simple 2017-07-09 15:14:35 its unfurtunate that protonmail and tutanota charge an arm and a leg for email hosting with custom domain 2017-07-09 15:22:10 Shiz: is there a guide for such a simple setup? 2017-07-09 15:32:08 Shiz: works in chroot, how do I submit a new package 2017-07-09 15:32:13 *? 2017-07-09 15:32:21 make a github PR :) 2017-07-09 15:38:00 Shiz: okay, though I just realized a problem: It doesn't create a pidfile, but if i run it without the -d flag it asks you to accept a warning. Any idea on how to solve that? 2017-07-09 17:02:43 Hi, I'm new to Alpine and liking it so far. 2017-07-09 17:02:53 heyo 2017-07-09 17:03:24 Hope you guys don't mind if I idle here just to get a feel for the community. 2017-07-09 17:04:14 I'm looking for a distro to eventually replace CentOS 6 for a bunch of servers. 2017-07-09 17:04:37 Still trying to see if Alpine would be a good candidate for that. 2017-07-09 17:04:45 idling's never a problem 2017-07-09 17:06:20 Maybe also for my desktop environment which also runs CentOS 6. 2017-07-09 17:06:42 Just X and a tiling window manager though. 2017-07-09 17:12:12 yeah some people run it in a desktop setup just fine 2017-07-09 17:13:14 does everything build with musl? 2017-07-09 17:13:26 I'd expect larger stuff like firefox and libreoffice to fail 2017-07-09 17:13:53 I've considered Gentoo and Void Linux but I'm wary of rolling releases for servers. 2017-07-09 17:14:54 shrizza_: what are you looking for in a distribution ? 2017-07-09 17:15:30 specing: The plan is to completely remove glibc in the future AFAIU 2017-07-09 17:15:59 Security and stability. 2017-07-09 17:16:31 Again, for servers mainly. 2017-07-09 17:16:43 No need for X or DEs. 2017-07-09 17:16:53 Alex-Incogito: so it ships with glibc as well? 2017-07-09 17:17:15 Alex-Incogito: there is no glibc in the first place 2017-07-09 17:17:21 we build everything with musl 2017-07-09 17:17:26 and patch the software where needed 2017-07-09 17:18:12 cc specing 2017-07-09 17:18:27 I've had an aneurism trying to build some software that does nonstandard glibc specific stuff 2017-07-09 17:18:49 you wouldn't be alone 2017-07-09 17:18:58 i still have nightmares from rust :p 2017-07-09 17:19:49 I can't for the life of me get PaxTest to build on my Gentoo system 2017-07-09 17:19:51 @Shiz: I thought glibc was still available on repo 2017-07-09 17:19:58 nope 2017-07-09 17:20:15 there's some unofficial glibc package but it's not ours and I discourage using it 2017-07-09 17:22:06 [just as an example] 2017-07-09 17:22:38 @shrizza_: I've been setting up an alpine-based only xen server (dom0 + domU), so far I'm really happy with it. Sure it took some greater effort due to unavailability of some packages, but I educated myself in the process, and there are worthy perks... security, slimness, etc. 2017-07-09 17:23:41 Nice! That will be one of my goals here soon. 2017-07-09 17:24:03 if it's a Xen server, install different guests that have the packages you need 2017-07-09 17:25:15 duncan^: i remember trying to build paxtest myself 2017-07-09 17:25:17 not fun 2017-07-09 17:25:31 Is there a patch that will get it to work on Musl? 2017-07-09 17:26:08 I'm really not an expert with patching stuff to work with it. Especially when packages are taking advantage (mostly by mistake) of buggy nonstandard behaviour of glibc 2017-07-09 17:27:27 hmm, i got paxtest 0.9.15 to compile just now, only needed a single change 2017-07-09 17:27:31 0.9.7-pre4 was a pain 2017-07-09 17:28:12 https://txt.shiz.me/NmY0YzdkMW 2017-07-09 17:34:04 duncan^: That was very tempting indeed, but I'd rather have alpine linux only for various reasons 2017-07-09 17:34:21 Alex-Incogito: monocultures are bad though 2017-07-09 17:34:37 if it's some sort of cluster, consider netbsd for your router/firewall 2017-07-09 17:34:46 that has domU support for Xen 2017-07-09 17:34:46 Home server, got pfSense 2017-07-09 17:34:56 Oh yeah... Well I have two non alpine guests 2017-07-09 17:35:05 Forgot about these heh 2017-07-09 17:37:04 I found Xen to be horrific to manage 2017-07-09 17:37:13 Really ? How so ? 2017-07-09 17:37:20 it has some truly awful documentation 2017-07-09 17:37:45 and you have to add support to operating systems specifically for PV drivers 2017-07-09 17:37:48 Hmmm.. There were some quirks, true.But I found them satisfactory mostly 2017-07-09 17:37:53 (if you want to go for PV guests) 2017-07-09 17:38:03 And most distro have PVHVM 2017-07-09 17:38:06 (OR PV drivers) 2017-07-09 17:39:02 PV always needs guest drivers... 2017-07-09 17:39:10 I read that it's fairly easy to run Alpine as a KVM host. Is this true? 2017-07-09 17:39:36 alpine is my kvm host 2017-07-09 17:39:38 :P 2017-07-09 17:39:46 Yeah, not refering to PV guests 2017-07-09 17:39:55 Oh, sweet. 2017-07-09 17:42:35 all i did was add some scripts to simplify qemu command lines 2017-07-09 17:42:39 the rest worked out of the box 2017-07-09 17:44:04 Shiz: what did you do to get 0.9.15 to work? I tried a few weeks ago and could not work out how to get it to work. 2017-07-09 17:44:17 changed the a.out.h include to linux/a.out.h 2017-07-09 17:44:18 that was all 2017-07-09 17:51:42 heh 2017-07-09 17:55:07 Did anyone consider packaging it for alpine? 2017-07-09 18:04:12 don't think so 2017-07-09 18:04:36 isn't it supposed to be ran in-source tree anyway 2017-07-09 18:06:02 how do you mean? 2017-07-09 18:09:04 Hmm.. I have a zabbix agent which needs to list content in /sys/class/block for raid array monitoring. Of course it doesn't have permission for that. What would be the cleaner way to deal with that issue ? Would chown root:zabbix work ? It wouldn't persist between reboot I assume ? (disk install) 2017-07-09 18:09:20 What are the common pitfalls for compiling in Alpine? In particular, I'm trying to compile a hardware driver. 2017-07-09 18:09:39 shrizza_: not having the dependencies 2017-07-09 18:10:06 Well, the case I'm up against I think is not so complicated. 2017-07-09 18:10:25 shrizza_: Thinking things are not so complicated 2017-07-09 18:10:27 right, it's not as if it's the Android source tree 2017-07-09 18:10:52 https://pastebin.com/5C9hiYb3 2017-07-09 18:11:21 I apk add'd alpine-sdk, kernel-headers, and kmod-dev. 2017-07-09 18:11:35 Er, linux-headers, not kernel-headers. 2017-07-09 18:13:45 Checking the common.mk, I see it checking for at least one file in a number of places including /usr/src (which there is none), and /lib/modules/$( uname -r )/{source,build} which is there minus the source or build directory. 2017-07-09 18:14:26 checking doesn't mean it depends on it 2017-07-09 19:46:38 How does one use hostnames in awall ? I have tried "zone" { "myhost": { "addr": "myhost.mydomain.tld" } } or just "myhost", but awall activate protests with "awall: zone : Invalid host name: " 2017-07-09 19:46:53 ICMP are disabled, but host is resolvable 2017-07-09 19:57:55 what's the URL to the alpine lua sprunge alternative again? 2017-07-09 20:49:20 So I ended up adding sudo, and defining specific cmnd_alias for the commands that were to be run by zabbix, in order to check the RAID array 2017-07-09 22:24:05 Hello, anyone available for some Xorg tech support? 2017-07-09 22:31:18 Irssi.c: loadable library and perl binaries are mismatched (got handshake key 0xdb80080, needed 0xde00080) 2017-07-09 22:32:20 Using v3.6 and edge repos, irssi needs to be rebuilt with newer perl? 2017-07-09 22:38:58 hey @lizzy do you happen to run Alpine linux with an nvidia gpu? 2017-07-09 22:39:19 lizzzy: hmm, looks like it 2017-07-09 22:39:25 unless you have irssi from 3.6 and perl from edge or vice-versa 2017-07-09 22:39:29 we won'ts upport that :P 2017-07-09 22:40:28 Does the xf86-video-nouveau packaged in Alpine Linux work with Nvidia GoFx 5200? 2017-07-09 22:40:35 How do I check? 2017-07-09 23:03:44 lizzzy: apk policy perl 2017-07-09 23:03:46 apk policy irssi 2017-07-09 23:03:58 the one that has lib/apk/db/installed below it is your version 2017-07-09 23:07:17 Shiz: looks like i got stuff from edge and v3.6, https://pastebin.com/j6eycLte 2017-07-09 23:07:58 yeah mixing 3.6 and edge is not really supported 2017-07-09 23:08:53 either install both irssi and perl from edge, or both from 3.6 2017-07-09 23:14:44 by this? https://wiki.alpinelinux.org/wiki/Alpine_Linux_package_management#Repository_pinning 2017-07-09 23:17:22 how do I get python 3.5 ? 2017-07-09 23:18:19 when I apk add python3=3.5.2-r9 I get ERROR: unsatisfiable constraints: python3-3.6.1-r2: breaks: world[python3=3.5.2-r9] 2017-07-09 23:22:34 alpine 3.6 only has python 3.6 2017-07-09 23:22:40 why do you need 3.5 specifically? 2017-07-09 23:22:55 because ANTLR wants antlr 3.5 2017-07-09 23:23:05 sorry, antlr wants python 3.5 2017-07-09 23:23:18 I am creating a docker container to build and test antlr 2017-07-09 23:24:22 is there a specific error you get when building antlr? 2017-07-09 23:24:28 you're not going to get python 3.5 on alpine 3.6 2017-07-09 23:27:23 Shiz: yes -> https://github.com/antlr/antlr4/blob/master/runtime-testsuite/test/org/antlr/v4/test/runtime/python3/BasePython3Test.java#L22 2017-07-09 23:28:23 Ter forces python 3.5... I could try 3.6, but I am only trying to create a docker container to build antlr, I am not trying to change antlr. 2017-07-09 23:30:46 maybe I will have no choice butto push antlr to python 3.6... antlr also wants mono which is only on alpine 3.6 2017-07-09 23:30:56 I think I'll only use edge. 2017-07-09 23:31:00 Shiz: thanks. 2017-07-09 23:31:18 mda14: quick hack would be ln -s /usr/bin/python3 /usr/local/bin/python3.5 2017-07-09 23:31:20 see what that does 2017-07-09 23:31:33 lizzzy: np 2017-07-10 00:18:56 is there a screenfetch/neofetch program for alpine? 2017-07-10 00:20:28 neofetch should work, don't think it's packaged 2017-07-10 00:22:10 it is packaged on a pull request https://github.com/alpinelinux/aports/pull/1761 2017-07-10 00:22:42 https://up.shiz.me/MWU2MjU3.png 2017-07-10 00:22:44 freshly-cloned git 2017-07-10 01:14:04 is there a screenfetch/neofetch program for alpine? I know this is a very ''noobish" question. 2017-07-10 01:14:32 woops that is not what I meant to type. 2017-07-10 01:14:43 nevermind 2017-07-10 01:14:47 lol 2017-07-10 12:45:48 Hello all 2017-07-10 12:47:15 I am uncertain about the procedure to replace busybox syslogd. I am using ossec which rules are not compatible with bb's syslogd format (it prefixes the facility and level). 2017-07-10 12:47:37 AlexIncogito: yeah, busybox's format is a bit shitty 2017-07-10 12:48:03 i think you can just install the normal syslogd and restart syslog 2017-07-10 12:48:05 Does this seem correct ? Install a replacement (say rsyslog), remove syslogd from init.d boot 2017-07-10 12:48:23 yes 2017-07-10 12:48:28 darkfader: Yeah that crossed my mind, but I could not find regular syslogd in alpine repo 2017-07-10 12:49:04 i think there's no classic syslogd, so either rsyslog or syslog-ng 2017-07-10 12:50:21 Alright, so "rc-update add rsyslogd boot" should do the trick 2017-07-10 12:51:12 Thanks I wanted to avoid any big hurdle 2017-07-10 14:42:09 darkfader: Works fine now 2017-07-10 14:42:18 But gosh, ossec is really messy 2017-07-10 17:37:15 Is there a summary of the grsec mess somewhere? 2017-07-10 17:55:54 shodan45: look through the archives of oss-secirity mailing list ;) 2017-07-10 18:03:32 hello i just discovered this and it looks really cool 2017-07-10 18:03:51 this being alpine linux? 2017-07-10 18:03:58 yes 2017-07-10 18:04:04 hi Xe 2017-07-10 18:04:19 are you involved in development? 2017-07-10 18:07:25 Xe: ? 2017-07-10 18:10:26 heyo 2017-07-10 18:10:36 they aren't, at least not in a developer role :p 2017-07-10 18:10:49 shodan45: the only relevant tl;dr is (imo) that it won't be publically available going forward 2017-07-10 18:10:58 the other drama is mostly secondary 2017-07-10 18:11:28 Apparently not even for personal use 2017-07-10 18:14:04 well thanks for the info 2017-07-10 18:15:28 that was about grsec, not alpine, mind you 2017-07-10 18:18:58 merpl: i'd like to get more seriously involved with alpine, but for right now i'm happy with where i'm at in the community tbh 2017-07-10 18:22:16 can one of you pls screenshot me the sha256sum alpine-extended-3.6.2-x86_64.iso 2017-07-10 18:30:23 Shiz: their role isn't really creating things 2017-07-10 18:34:36 875f6e580b2ae4412c5a2386bec3b8ee24fae14141de5ce2227355866baa756d 2017-07-10 18:37:04 looks good thanks Lord 2017-07-10 18:37:27 ? 2017-07-10 18:49:38 ah, networked storage, where you squeeze 230MB/s out of a nvme ssd 2017-07-10 18:49:52 (sums up my day, ignore me) 2017-07-10 18:52:14 wait what? that seems low, darkfader 2017-07-10 18:52:25 yeah, that's how it goes 2017-07-10 18:54:19 iirc I went past 500MB/s without even trying back when I tested random read/writes to a networked ramdisk via iscsi, and anything ram-cached on my slow spinning drives easily goes past 400MB/s, both through iscsi and through samba 2017-07-10 18:54:35 so what's the setup that tops out at 230MB/s? 2017-07-10 18:54:58 iscsi is still just block storage, that's lighter 2017-07-10 18:55:13 in this case freebsd vm on top of lizardfs 2017-07-10 18:55:17 likely it's because fuse 2017-07-10 18:55:37 I'm out of pcie slots and I'm thinking about putting my next ssd in my server and using iscsi 2017-07-10 18:55:52 i suppose ceph krbd would be a bit faster but generally once it's really networked storage (iscsi is different there) 2017-07-10 18:56:13 once you got a network fs with replication you end up with say 25% of performance 2017-07-10 18:56:16 (really regretting that I went for matx last time i built a desktop, but yeah) 2017-07-10 18:56:23 at least if you test for serious 2017-07-10 18:56:46 hm, bigger ssd's then for you? 2017-07-10 18:57:05 otherwise you'll just crash two systems if the server crashes :) 2017-07-10 18:57:09 sure. all that fancy stuff will make a difference on performance. iscsi is dead simple 2017-07-10 18:57:39 replication + metadata generally hurts a lot 2017-07-10 18:57:40 server won't crash. desktop... will. (overclocked watercooled silly thing.) 2017-07-10 18:58:03 :))) 2017-07-10 18:58:20 off to spend the night doing excel crap or so 2017-07-10 18:58:22 bbl :) 2017-07-10 20:17:05 fun console curses program http://www.asty.org/cmatrix/ 2017-07-10 20:28:48 argh, why can't people come up with unique names for things? libva != libav 2017-07-10 20:29:32 almost thought I found a bug in apk, then realized the va/av mixup 2017-07-10 20:44:16 What are the min and recommended disk and RAM sizes for alpine virtual amd64? 2017-07-10 20:45:32 specing: I don't know about actual minimum or recommended, but my print server VM runs fine with 512M and 4GiB disk. 2017-07-10 20:46:55 would it work with 512M ram and 1GB disk? 2017-07-10 20:47:06 specing: You can probably go quite a lot lower on disk thought, the whole OS takes up only 300MiB disk at this point 2017-07-10 20:49:44 specing: I have a router with 100M RAM 2017-07-10 20:55:16 I have one with 256M 2017-07-10 20:55:29 I think it ran alpine a long way back, before I Gentoo'd it 2017-07-10 20:57:24 specing: depends completely on the workload 2017-07-10 20:57:35 512M + 1G disk should be fine 2017-07-10 20:58:07 atleast to boot it 2017-07-10 21:53:22 hello, I'm trying out alpine by following the instructions at https://wiki.alpinelinux.org/wiki/Installing_Alpine_Linux_in_a_chroot 2017-07-10 21:53:44 very nice to have a static apk binary 2017-07-10 21:54:06 heyo 2017-07-10 21:54:40 I've setup the chroot in an arm device I access over usb network 2017-07-10 21:56:34 I'm wondering if I could replace the rootfs of the device with the alpine root without replacing the kernel 2017-07-10 21:59:22 it's all in an sd card I can replace if it doesn't boot 2017-07-10 22:01:34 are there any requirements on the kernel? any precautions I should take? suggestions? :) 2017-07-10 22:02:46 nothing in particular, except really basic stuff like proc and sysfs 2017-07-10 22:02:56 beware that your current rootfs may have necessary modules on it, though 2017-07-10 22:07:51 so how do I make the swap? u-boot expects to boot from that partition, so if only I could "exchange" / with /mnt/alpine-chroot... 2017-07-10 22:08:09 I guess I can take the sd card and move the files around 2017-07-10 22:08:57 is this what pivot_root is for? 2017-07-10 22:30:32 ok, we'll see how it goes. thank you 2017-07-10 22:31:14 it's mainly for learning anyway 2017-07-10 22:31:42 sorry, kinda busy rn 2017-07-10 22:32:48 I understand. I need to read some more on openrc anyway. Alpine seems very nice 2017-07-10 22:33:21 bye! 2017-07-11 00:24:22 hello. is there a way to enable unicode characters in alpine? i already enabled UTF8 for my shell but it still isn't displaying any russian characters 2017-07-11 00:40:09 g1i7ch, try this: printf '\xd0\x9f\xd1\x80\xd0\xb8\xd0\xb2\xd0\xb5\xd1\x82\x20\xd0\xbc\xd0\xb8\xd1\x80\x0a' 2017-07-11 00:40:14 does that work? 2017-07-11 00:41:09 no; displays a square 2017-07-11 00:41:20 font issue 2017-07-11 00:41:25 install a more universal font 2017-07-11 00:41:47 unifont has a lot of chars i think 2017-07-11 00:42:15 i tried searching for fonts but no go 2017-07-11 00:42:20 apk add something? 2017-07-11 00:45:39 apk add unifont just works here 2017-07-11 00:48:21 installed but still no go 2017-07-11 00:48:26 everything is still in boxes 2017-07-11 00:54:50 g1i7ch: reboot 2017-07-11 01:05:35 sorry for the disconnect, but yes i've rebooted twice 2017-07-11 01:12:13 would installing xterm help? i already changed my shell to bash 2017-07-11 01:14:45 changing shell won't work, it's a term emu thing 2017-07-11 01:14:47 what's your term emu 2017-07-11 01:16:14 how do i check it? it's the alpine default 2017-07-11 01:18:28 there is no alpine default terminal emulator 2017-07-11 01:19:15 and i didn't install one... so i guess i need to install xterm? 2017-07-11 01:19:33 there is no default term emu, so what are you using 2017-07-11 01:19:38 the linux console? 2017-07-11 01:19:40 fullscreen black? 2017-07-11 01:19:51 yes; just booted and in a bash prompt 2017-07-11 01:20:59 yeah that's the linux console font 2017-07-11 01:22:01 different font 2017-07-11 01:22:29 terminus-font? 2017-07-11 01:23:11 no 2017-07-11 01:23:22 trying to look it up 2017-07-11 01:27:31 font-util maybe? 2017-07-11 01:27:39 no 2017-07-11 01:29:01 try editing /etc/conf.d/consolefonts to say consolefont="koi8u_8x14.psfu.gz" and consoletranslation="koi8-u_to_uni.trans" 2017-07-11 01:29:07 then rc-update add consolefonts default 2017-07-11 01:29:09 and reboot 2017-07-11 01:31:52 oh, alternatively 2017-07-11 01:33:30 no, nevermind 2017-07-11 01:33:53 says consolefont="default8x16.psf.gz" 2017-07-11 01:35:04 yeah, so edit it 2017-07-11 01:35:07 /w 32 2017-07-11 01:36:01 service consolefonts does not exist 2017-07-11 01:38:35 sorry, consolefont 2017-07-11 01:40:50 no go :/ 2017-07-11 01:41:11 your font didn't change while booting? 2017-07-11 01:41:41 not that I noticed; i have an awk script for command line translations to different languages 2017-07-11 01:41:56 what does your /etc/conf.d/consolefont say now? 2017-07-11 01:42:27 koi8-u etc 2017-07-11 01:42:32 what you told me to change 2017-07-11 01:42:49 could you paste the full contents somewhere? 2017-07-11 01:42:53 using e.g. sprunge 2017-07-11 01:43:59 consolefont="koi8u-8x14.psfu.gz" and consoletranslations="koi8-u_to_uni.trans" 2017-07-11 01:44:52 sec 2017-07-11 01:45:15 Is it normal that there are almost no PHP packages available in the standard repo? 2017-07-11 01:46:00 shrizza_: thirdparty ones? most of the standard ones should be available 2017-07-11 01:46:04 Shiz: http://sprunge.us/CTYa 2017-07-11 01:46:05 When I search, I only see two packages: perl-php-serialization and perl-php-serialization-doc 2017-07-11 01:46:15 then you're not searching right :P 2017-07-11 01:46:25 Hm. apk search php? 2017-07-11 01:46:33 getting 105 hits for apk search php7- 2017-07-11 01:46:53 oh 2017-07-11 01:46:56 g1i7ch: try 2017-07-11 01:46:59 rc-update del consolefont 2017-07-11 01:47:03 rc-update add consolefont boot 2017-07-11 01:47:42 Hm, no hits here. I did try changing my repo and doing apk update afterward. 2017-07-11 01:47:44 rebooting now 2017-07-11 01:48:22 shrizza_: what is your /etc/apk/repositories? 2017-07-11 01:48:59 Shiz: still displaying boxes 2017-07-11 01:50:28 i'm not sure then, sorry... 2017-07-11 01:50:32 https://pastebin.com/N60zE6nB 2017-07-11 01:50:33 consolefonts are rather limited in their character set 2017-07-11 01:50:47 shrizza_: that's the same repo three times :P 2017-07-11 01:50:53 anyway, uncomment the /community repo too 2017-07-11 01:50:59 that should contain most of the php packages 2017-07-11 01:51:39 g1i7ch: if you want a full unicode console you should probably install X and use a term emu like xterm, or login through ssh 2017-07-11 01:51:40 either works 2017-07-11 01:52:05 Ah, stupid me for not noticing and trying that. 2017-07-11 01:52:07 Thanks. 2017-07-11 01:52:26 how do i have xterm start by default? 2017-07-11 01:53:01 probably by adding `startx` to your ~/.profile and xterm & to your ~/.xinitrc 2017-07-11 01:53:13 although i think ssh is the better option for most cases.. 2017-07-11 08:59:34 Hi, what is the location of syslog config in alpinelinux v3.6.2? 2017-07-11 09:00:03 zenny /etc/conf.d/syslogd? 2017-07-11 09:00:35 clandmeter: Thanks 2017-07-11 09:02:17 but there is only /etc/conf.d/syslog with a single line SYSLOGD_OPTS="-Z". Can I just add *.* @@remote_logging_server:port to log the machine to the remote server? 2017-07-11 09:04:54 That didn't work (line 1: *.*: not found error). 2017-07-11 09:05:26 clandmeter: how do one get the alpine instance in a container to log to the remote server without adding other packages like rsyolog? 2017-07-11 09:06:18 zenny, syslogd --help 2017-07-11 09:06:25 -R HOST[:PORT] Log to HOST:PORT (default PORT:514) 2017-07-11 09:07:18 we use busybox syslog 2017-07-11 09:07:24 it does not support a config file. 2017-07-11 09:07:36 all options are taken as arguments. 2017-07-11 09:07:46 which is what confd file does 2017-07-11 09:09:50 Thanks for the pointer. But how to get remote host reflected into the init daemon? 2017-07-11 09:12:26 SYSLOGD_OPTS="-Z -R hostname:port" 2017-07-11 09:16:55 Clandmeter: Thanks again. Btw, there is a -f option defaulting to /etc/syslog.conf. When I appended "-Z -R hostname:port", syslog fails to restart. 2017-07-11 09:17:10 I meant to the /etc/syslog.conf 2017-07-11 09:17:54 which syslog are you using? 2017-07-11 09:18:11 the default syslog that comes with alpine linux. 2017-07-11 09:19:37 hmm, i was under the impression bb syslog didnt support -f 2017-07-11 09:19:46 i never used it. 2017-07-11 09:21:48 https://github.com/mirror/busybox/blob/master/docs/syslog.conf.txt 2017-07-11 09:28:42 clandmeter: Thanks for the inputs. I opted to rsyslog instead for simplicity reasons than the busybox syslogd 2017-07-11 09:33:48 hi there 2017-07-11 09:35:03 when I do a apk add libcurl in a container I get permission denied. If I do that command once again it works. How could I know why? 2017-07-11 09:36:04 so inside my dockerbuild I use that workaround : RUN apk add libcurl || apk add libcurl 2017-07-11 10:15:37 grillon: that sounds weird 2017-07-11 10:56:46 Hello, how to install php on alpine-3.6 docker container ? 2017-07-11 10:57:32 apk add php7 ? 2017-07-11 10:59:13 I follow this but no command works https://wiki.alpinelinux.org/wiki/Setting_Up_Apache_with_PHP 2017-07-11 11:02:15 :) didn't do update 2017-07-11 11:10:26 somebody can say where to edit virtual hosts apache on alpine ? 2017-07-11 12:24:13 ncopa : it is 2017-07-11 12:29:02 ncopa : let me show you 2017-07-11 12:29:05 Step 12/17 : RUN apk add git || apk add git ---> Running in d83ca9130398 (1/6) Installing ca-certificates (20161130-r2) (2/6) Installing libssh2 (1.8.0-r1) (3/6) Installing libcurl (7.54.0-r0) (4/6) Installing expat (2.2.0-r1) ERROR: libcurl-7.54.0-r0: Permission denied (5/6) Installing pcre (8.40-r2) (6/6) Installing git (2.13.0-r0) Executing busybox-1.26.2-r5.trigger Executing ca-certificates-20161130-r2.trigger 1 errors; 26 Mi 2017-07-11 12:30:32 if I do not the logical or to repeat install. build stop. If I try libcurl individually same result 2017-07-11 12:31:17 I don't know how to debug, and I wont because it works but if you have any advice I'm opened to try 2017-07-11 12:31:34 (my workaround works) 2017-07-11 13:11:05 pfft, seems luks boot is somehow messed up again 2017-07-11 13:12:08 got a system here that won't take the luks passphrase no matter what, but somehow, after you drop to the shell, echo -n "secretpassphrase" | cryptsetup luksOpen --key-file - works fine 2017-07-11 13:12:44 I have a suspicion about the cause tho, let's see... 2017-07-11 13:18:34 hmm 2017-07-11 13:18:38 nah. there was a change in some keymaps some time back so I thought there might be a keymap problem, but doesn't seem like it 2017-07-11 13:22:44 and the keymap works in the emergency shell anyway 2017-07-11 16:32:29 hello, is it possible to run VirtualBox on a host Alpine Linux? I couldn't find anything relevant in the wiki pages 2017-07-11 19:42:19 http://memes.ucoz.com/_nw/8/68529333.jpg 2017-07-11 20:00:07 firefox crash 2017-07-11 20:02:46 <_ikke_> 3 2017-07-11 20:08:42 4 2017-07-11 20:08:55 <_ikke_> 12 2017-07-11 20:10:32 8 2017-07-11 20:36:06 42? 2017-07-11 23:11:31 Unode: Congratulations! You have won. 2017-07-11 23:16:36 Tell him what he won, today, on the Price is Right!!! 2017-07-11 23:17:35 the sweet release of death 2017-07-12 00:07:12 has anyone tried to compile banshee on alpine? 2017-07-12 00:07:36 I keep getting a permission denied when I run configure 2017-07-12 00:09:16 have you ./configure'd any other programs yet? 2017-07-12 00:11:36 not yet, this is my first attempt at compiling a program. 2017-07-12 00:12:12 i don't know what it could be 2017-07-12 00:12:25 does your user have read/write in the directory tree? 2017-07-12 00:14:44 im running as root 2017-07-12 00:15:23 so it should have proper rights to do this, or so I thought. 2017-07-12 00:15:45 one should generally run configure & make as user 2017-07-12 00:15:52 ok 2017-07-12 00:16:09 I may end up trying to get vlc to work 2017-07-12 00:16:21 before I attempt another compile 2017-07-12 00:16:55 "make install" requires superuser privs usually 2017-07-12 00:17:14 unless the install supports a userland install 2017-07-12 00:17:25 Also, is there any documentation on getting my webcam to work? I tried the wiki, and all the programs give errors. 2017-07-12 00:18:17 I am coming from a more user friendly distro. I chose this so I could learn more about linux as an os. 2017-07-12 00:19:25 good stuff 2017-07-12 00:22:59 I am sure this distro wasnt meant for shitposting on /g/ lol 2017-07-12 00:26:19 i suppose i should be glad i don't know what that is 2017-07-12 00:26:50 its a tech board on a chan 2017-07-12 00:28:11 m4chm4n - building packages will be much easier if you setup an alpine lxc container & follow https://wiki.alpinelinux.org/wiki/Developer_Documentation#Development 2017-07-12 00:28:27 or just alpine-sdk and a user for it 2017-07-12 00:28:37 anyrthing that isn't root, in that case, right? :)) 2017-07-12 00:28:48 it takes about 20 minutes to setup 2017-07-12 00:28:53 I have a non-root user already 2017-07-12 00:29:17 I figured it would be easier to compile in root. 2017-07-12 00:30:11 but I will check out lxc container and see where I end up. 2017-07-12 00:30:29 thank you for the information. 2017-07-12 00:30:34 should work fine and building will be easier for sure 2017-07-12 00:30:50 https://wiki.alpinelinux.org/wiki/LXC 2017-07-12 00:31:06 i'm sooo sich of working :( 2017-07-12 00:31:33 I am at work right now....... 2017-07-12 00:31:39 till 3 am 2017-07-12 00:31:57 02:30 here, and in theory i left work at 20pm 2017-07-12 00:32:05 but it didn't mean i'm done :/ 2017-07-12 01:08:28 does the raspberry pi root fielsystem on the downloads page work with the pi 1? 2017-07-12 01:08:42 the pi 1 was a hard-float arm6 device IIRC 2017-07-12 01:09:35 the tutorial on the wiki is rather cryptic, suggesting that "if you want the pi2, use 3.20 or later", but that didn't inspire confidence that the image provided would work with the pi1 2017-07-12 01:58:00 Testing .: can you see this :. 2017-07-12 01:58:17 no 2017-07-12 01:58:23 it is invisible 2017-07-12 02:01:14 Damn, let me change a few settings and try again.... 2017-07-12 02:01:32 How about now. 2017-07-12 02:01:47 .: :. 2017-07-12 07:10:06 hello 2017-07-12 07:11:37 hi 2017-07-12 07:12:33 hi 2017-07-12 07:14:35 how to start mysql on Alpine ? now I did apk add mysql 2017-07-12 07:17:12 service mariadb start 2017-07-12 07:18:31 thanks @Shiz, what I don't get I install mysql but I use mariadb after ? 2017-07-12 07:18:46 to explain the name, mariadb is the improved open source fork of mariadb 2017-07-12 07:19:02 mysql* 2017-07-12 07:19:16 the name mysql is kept somewhere for compatibility reasons 2017-07-12 07:20:35 how can I debug apk. yesturday I have seen I have to install libcurl twice to install I would like to know why. what could I do? 2017-07-12 07:21:44 first time I got permission denied and the second time it works, so I did RUN apk add libcurl || apk add libcurl to evite stopping docker build 2017-07-12 07:23:27 grillon, maybe try running it with strace 2017-07-12 07:24:09 strace apk add libcurl? 2017-07-12 07:24:53 yep 2017-07-12 07:25:21 thank you, let's try 2017-07-12 07:25:59 @trfl, alright. what about loggin into mariadb, now if I type mysql -u root p nothing happens, it says mysql not found 2017-07-12 07:26:31 its the client, not the server 2017-07-12 07:27:02 apk add mariadb-client 2017-07-12 07:28:44 @clandmeter, thank you. now mysql -u root -p gives can't connect through socket /run/mysqld/mysqld.sock no such file 2017-07-12 07:29:02 start mariadb 2017-07-12 07:29:39 @clandmeter, started 2017-07-12 07:30:07 warning: mariadb is already starting 2017-07-12 07:30:37 did you init the db? 2017-07-12 07:30:47 probably not 2017-07-12 07:31:00 do you know what you are doing? 2017-07-12 07:31:00 HI! 2017-07-12 07:31:04 :) 2017-07-12 07:31:42 more or less :) 2017-07-12 07:31:52 ghost291, the init script has an option i believe to init mariadb 2017-07-12 07:31:57 not sure which it was 2017-07-12 07:33:00 its called setup 2017-07-12 07:34:13 @clandmeter, you mean mysql_install_db ? 2017-07-12 07:36:47 rc-service mariadb setup 2017-07-12 07:41:01 naive question: are there people that use Alpine as a desktop distro? 2017-07-12 07:41:34 i did briefly 2017-07-12 07:41:39 yes there are 2017-07-12 07:41:59 i run it on two laptops, works great 2017-07-12 07:42:15 @clandmeter, OK. now it says can't create files read-only file system 2017-07-12 07:43:01 ghost291, i guess this is not a normal alpine install? 2017-07-12 07:43:49 this is alpine inside docker container 2017-07-12 07:44:35 ok, i have zero experience with docker. 2017-07-12 07:55:57 ghost291: if you're using docker, don't use # service... 2017-07-12 07:56:08 just spin up a DB container and link it to your container 2017-07-12 07:58:06 I see, Alpine has not been created with desktop in mind but with the embedded stuff. What do y’all use as a desktop OS? 2017-07-12 07:58:40 @Shiz, yes I need to try this. thank you. 2017-07-12 07:59:19 alpine is not primarily developed ith 'the embedded stuff' in mind 2017-07-12 07:59:33 and i happen to run alpine on my desktop as well :p 2017-07-12 07:59:56 shis/close 2017-07-12 08:04:32 Ho I see, so what do the devs have in mind when they develop Alpine? 2017-07-12 08:24:08 Why is apk so much faster than every other package manager I've ever used? Is it just because packages are so much smaller? 2017-07-12 08:25:27 Maxpm, some packages are smaller, but we took extra effort to make sure apk is fast. in fact, we have ideas how to make it even faster :) 2017-07-12 08:29:48 Oh? Like what? 2017-07-12 08:30:23 to install php it's apk add php5-apache2 ? 2017-07-12 08:31:08 clandmeter : I really don't understand, but seems to be the proxy...first time I failed to access the proxy, second time it's OK... 2017-07-12 08:31:38 clandmeter: yesturday it was for libcurl installation, now it's when I update...strange 2017-07-12 08:32:36 Maxpm, we have plans to rewrite certain parts of apk to make it more user friendly. at the same time certain things can be made faster, like querying the installed db 2017-07-12 08:33:10 By improving algorithms / data structures, or just by tuning the code? 2017-07-12 08:33:21 we can also parallelize certain things during install which should make things go faster on multi-core boxes with fast disk and network 2017-07-12 08:34:14 we are planning to change the current text files to binary files to improve speed; parallelising things is tuning code and changing some parts of the algorithms 2017-07-12 08:34:22 so it's a bit of both 2017-07-12 08:34:45 Mm. 2017-07-12 08:35:05 It really is impressive how much faster apk is. 2017-07-12 08:35:50 I did an apt-get upgrade on my desktop, then opened a new terminal and ssh'd into my Alpine box and did an apk upgrade there, and the apk upgrade finished first by a mile. 2017-07-12 08:36:08 Despite apparently having much more work to do. :) 2017-07-12 08:36:50 yes. apk-tools was build grounds up to do things efficiently. while there's things to improve and certain issues with it currently, it generally outperforms many (if not all) alternatives 2017-07-12 08:39:45 ghost291: depends if you want to use it with apache2, although i'd use -fpm 2017-07-12 08:52:26 on alpine, it's ok to change chown www-data:www-data -R /var/www/localhost/htdocs/myweb ? 2017-07-12 09:07:08 another question, on alpine, virtual host configuration can be done inside httpd.conf ? 2017-07-12 09:08:12 that depends on how you have it configured 2017-07-12 09:11:08 @scv, I mean what's the analog of cp 000-default.conf in alpine ? 2017-07-12 09:21:36 i dont know what that means 2017-07-12 09:21:40 i dont use apache 2017-07-12 09:21:54 but apache config is apache config, just because a distro has some default settings doesnt mean it has to be done that way 2017-07-12 09:21:59 you can configure it as you see fit 2017-07-12 09:22:15 the distro doesnt lock you into any particular configuration 2017-07-12 09:40:22 @scv, ok, I put in httpd.conf seems to wokr 2017-07-12 10:01:27 sure scv, but apache has fancy ways of doing settings that some distros use by default - and setting up those from scratch isn't intinuitive if you come from a distro where everything was already set up that way 2017-07-12 10:06:52 https://www.mankier.com/1/wmweather%2B shows color weather radar in the dockapps slit 2017-07-12 10:34:00 how to enable site on alpine like a2ensite ? 2017-07-12 10:56:15 <_ikke_> manually create a symlink I guess (checked, a2ensite is not packaged) 2017-07-12 10:56:57 pretty sure a2ensite is a debian specific thing 2017-07-12 11:03:27 https://www.battleforthenet.com/july12/ Save Net Neutrality day is today 2017-07-12 11:05:04 @_ikke_ thanks 2017-07-12 12:41:23 Hi, I'm trying to install just dependencies (libtorrent-rasterbar) with apk (not the program itself) 2017-07-12 12:41:23 any suggestions? 2017-07-12 12:57:11 Sinaptika_F: you could probably do PACKAGE=libtorrent-rasterbar; apk add -t $PACKAGE-deps $(apk info -R $PACKAGE) 2017-07-12 12:59:04 nice, will try that, thanks 2017-07-12 12:59:17 you can remove them later with apk del libtorrent-rasterbar-deps 2017-07-12 13:11:43 yeah already using --virtual, i just hought i could shorten it somehow 2017-07-12 13:11:53 your way works nicely btw 2017-07-12 13:12:10 glad to hear that 2017-07-12 16:16:17 okay, now this is getting really weird 2017-07-12 16:17:01 remember me mentioning a couple of days ago how I couldn't get a LUKS root mounted at boot time but that it worked from the emergency shell? 2017-07-12 16:17:14 well, it is ... happening ... again ... 2017-07-12 16:17:24 but this time, on an Ubuntu system 2017-07-12 16:20:56 of course, I'm not getting an emergency shell in ubuntu, but entering the luks password at boot fails... and now I've got two systems running different distros with the same symptom 2017-07-12 16:23:19 cosmic rays? 2017-07-12 16:23:26 possible early signs of hard drive failure? 2017-07-12 16:24:42 like I said, two different systems, different distro and different hardware 2017-07-12 16:25:00 highly unlikely for two systems to break at the same time like that 2017-07-12 16:27:14 in my logic this indicates a problem with a changed software component, the change having landed in both systems with upgrade in the last two weeks or so 2017-07-12 16:42:20 https://mobile.twitter.com/NicolasPetton/status/884694176515936256 Hey @firefox, the privacy respecting browser, could you please stop using Google Analytics in your about:addons page? Thanks. #privacy #fail 2017-07-12 16:46:11 Ha. 2017-07-12 17:05:05 https://www.youtube.com/watch?v=LJnghGBBP2Q Wozniak (2012): Web crackdown coming, freedom failing 2017-07-12 18:00:28 Good afternoon, ladies and gentlemen. 2017-07-12 18:00:33 Clean installation of alpine i386, this is how the browser works: http://i.imgur.com/wfPdPLjl.png Where is the problem? 2017-07-12 18:31:16 Adeptus: bad gtk theme? 2017-07-12 18:31:25 missing gtk engine? something like that maybe 2017-07-12 19:14:22 kahiru: The file manager Thunar works without problems. 2017-07-12 19:14:22 The package 'gnome-themes-standard' is installed. 2017-07-12 19:14:22 Setting the default XFCE4 theme does not change anything. 2017-07-12 19:14:22 When you turn on the composite manager, the browser window is not shown at all. 2017-07-12 19:15:12 thunar is love 2017-07-12 19:56:26 hey. my alpine home server just faceplanted. can anyone scroll up and see what my quit message was? oh and uhm. besides /var/log/messages, is there anywhere else I should look for clues when a system crashes? 2017-07-12 19:57:32 20:42 -!- jzono1 [~jo@148-252-89.157.3p.ntebredband.no] has quit [Ping timeout: 260 2017-07-12 19:57:35 seconds 2017-07-12 19:58:05 found it sitting there with the lights all on, with nobody home, unresponsive to pings and such. I don't have a monitor connected so I couldn't see a panic the usual way - but I'm guessing it either panicked or just plain froze on it's own. (running on old and unreliable hardware) 2017-07-12 19:58:21 maybe bad ram 2017-07-12 19:59:11 nothing out of the ordinary in /var/log/messages 2017-07-12 20:00:31 if kernel goes kaplooey it can't write logs 2017-07-12 20:01:19 well... *everything* is old and bad. the ram, the motherboard, the cpu, the powersupply - heck, even the network card is old. it's also sitting out in the open, and the nic / infiniband adapter are supported by only a piece of 3m blue masking tape. oh and there's kids running around near the server 2017-07-12 20:01:29 so yeah. it's not entirely unexpected :3 2017-07-12 20:02:22 (temporary setup only supposed to last this summer before I build a new and proper server) 2017-07-12 20:02:48 i once made a serial line using speaker wire 2017-07-12 20:03:03 tto connect a DEC VT100 to a NeXTstation 2017-07-12 20:03:18 because that's how I roll 2017-07-12 22:42:24 hey peeps 2017-07-12 22:44:35 jo 2017-07-12 22:51:27 are there any non-sucky imageviewers that also do animated gif? 2017-07-13 00:09:21 I am trying to get ranger to run, and I found that a single call to curses.ungetmouse makes it segfault, unsure how to fix this. 2017-07-13 00:10:47 the same thing happens when I just do initscr() and ungetmouse() on my gentoo box, but ranger works there. 2017-07-13 00:17:39 jnt: heh, i just had the same problem, so i can confirm. but i did not look into this deeper. 2017-07-13 00:20:24 Hello. looking for some general guidance. I've some local abuilds; mostly statically linked versions of some existing abuilds ( dvtm, vis, ii, mksh ... ). I'm interested in building them against netbsd-curses and have a hacked but functional netbsd-curses APKBUILD set up. However I'm unclear how to use it ... 2017-07-13 00:22:02 meaning. I don't know how to use the netbsd-curses in my system proper. i.e apk add netbsd-curses has all kinds of issues w/ ncurses. 2017-07-13 00:22:02 So is there anywhere I should look to learn about replacing central parts of alpine like ncurses ( even if just for my own system here )? 2017-07-13 00:25:05 Or; is there a way to silo the APKBUILD set-up -- so that I can have the netbsd-curses library available for linking w/ say my dvtm APKBUILD. maybe a chroot or something. 2017-07-13 00:25:36 whilst not having access to libncurses.[a|so] from ncurses 2017-07-13 00:29:56 caryatid: I don't know much about curses, does it use the same headers as regular curses? 2017-07-13 00:30:48 if you have write access to someone's tty, pipe cmatrix to it 2017-07-13 00:37:24 caryatid: I think with -L and -I you should be able to set the include path and linker path to netbsd-curses directories, It should prefer these libs then. 2017-07-13 00:41:15 jnt: that's what I would do. However netbsd-curses and ncurses are very compatable. netbsd-curses provides same headers and library names. That's why it's difficult. Otherwise I could just install and point w/ -I -L 2017-07-13 00:42:01 in short. ncurses and netbsd-curses are in conflict. both provide many of the same files. 2017-07-13 00:42:58 Adeptus: there is something wrong with the theming on Alpine's XFCE that fucks up a lot of GTK software; so far, there's no fix that I'm aware of 2017-07-13 00:43:34 caryatid: okay, that's tough, for now installing into a different prefix like /usr/local could help. 2017-07-13 00:43:35 the only theme that somewhat works is Raleigh because it's not really a theme, but rather a default; but some software doesn't work even with that 2017-07-13 00:44:41 caryatid: otherwise try a chroot, i think the alpine root fs image contains only busybox and a few baselayout files, good chance there is no ncurses in there. 2017-07-13 00:45:29 but if anything alpine-sdk depends on pulls in ncurses you are out of luck 2017-07-13 00:46:00 yah. alpine-sdk does. so does some other central stuff like readline 2017-07-13 00:46:45 maybe I could make a super bare bones chroot and copy statically linked versions of the alpine-sdk tools to the chroot? 2017-07-13 00:47:33 of you could avoid alpine-sdk and only use build-base; not sure if it gets you all you need though, or whether it pulls ncurses in with it 2017-07-13 00:47:40 *or 2017-07-13 00:47:48 caryatid: then you would have to either install on a different path like usr/local or port and rebuild everything to use netbsd-curses 2017-07-13 00:50:04 cool. makes sense too. In case anyone is interested netbsd-curses is maintained (link below) with sabatoge-linux. Which is cool; however no big diss to them but apk > butch. 2017-07-13 00:51:12 there's a curses loderunner clone too 2017-07-13 00:54:13 The idea here is to use apk to build a small set of statically linked tools to use on some really small systems when ssh'ing in. Some of them have so little headroom that we can put a usb stick on em with the various tools needed to debug that are lacking from the actual system. netbsd-curses just lets us shrink the overall size. So it's not super vital; just helpful. 2017-07-13 00:54:56 caryatid: maybe something like 2017-07-13 00:54:59 conflicts="ncurses" 2017-07-13 00:55:02 replaces="ncurses" 2017-07-13 00:55:07 in your netbsd-curses package 2017-07-13 00:55:44 oh. I didn't even know about that feature in abuild. ( I'm pretty new to it ) 2017-07-13 00:55:45 *looks at abuild.in*... 2017-07-13 00:56:17 i think that should stp apk's complaining about files owned by another package, but i'm not /entirely/ sure 2017-07-13 00:56:53 also a very recent abuild commit has support or building in a chroot 2017-07-13 00:59:30 Super sweet. Sounds like I have enough to get rolling forward. Cannot thank you all enough! If I get the set functioning would these APKBUILD setups be generally useful. i.e. should I submit PR for stuff like dvtm-static mksh-static or are higher level static builds not really desired? 2017-07-13 01:05:26 i don't /think/ we in general have a particular high interest in -static variants except for essential system stuff like busybox and apk (which we already do) 2017-07-13 01:05:44 a netbsd-curses apkbuild would be interesting though, as i think also ncopa was interested in replacing ncurses with netbsd-curses system-wide possibly 2017-07-13 01:07:02 Cool. I'll turn in what I end up with. Hopefully useful. likely a bit sloppy :) 2017-07-13 01:08:36 we'll be happy to review it when the time comes :) 2017-07-13 01:10:06 btw. "replaces" worked like a charm. 2017-07-13 01:27:53 Greetings all. Quick one: can I create a custom ISO (I want diskless mode) that includes software that is not available as an apk? 2017-07-13 01:28:49 I have a custom app (ancient) that I want to run on Alpine Linux as a single-purpose workstation, in RAM, but it seems that ISO tools can only add packages. 2017-07-13 01:29:06 you could add the software to your apkovl 2017-07-13 01:29:23 since an apkovl is just a tar that gets unpacked to / in early diskless init 2017-07-13 01:30:03 Hmm. Sounds like that might work. 2017-07-13 01:30:21 Where would it be added in the ISO creation process? 2017-07-13 01:31:00 it would be fetched by the system at boot time over either http(s?) or from a local medium 2017-07-13 01:31:10 using the apkovl= kernel param to locate it 2017-07-13 01:31:16 (it wouldn't need editing of the iso at all, in other words) 2017-07-13 01:31:34 Thanks. Will read up on the docs. If that works, it is even better because I can update the app. 2017-07-13 01:32:53 is there any specific reason you don't wish to package it as .apk? 2017-07-13 01:33:03 it would be the ~cleanest~ option, probably 2017-07-13 01:37:51 It is very old. I suppose that in itself is not an issue, but there is a learning curve in figuring out the packaging. 2017-07-13 01:38:31 I just thought of another possible problem: the system requires a tap & tunnel for networking. Can that be configured at boot time for diskless mode? 2017-07-13 01:38:41 The app, in case anyone cares, is Genera VLM. 2017-07-13 01:39:13 It does not have a local filesystem, and uses NFS exclusively. 2017-07-13 01:39:41 Thus the desire to run the whole thing in diskless mode. About 800MB in total 2017-07-13 01:41:41 hmm 2017-07-13 01:42:09 yeah just add /etc/modules to your apkovl 2017-07-13 01:42:17 with the necessary modules in there 2017-07-13 01:42:25 apkovl can solve everything for local config :P 2017-07-13 01:44:15 OK, time to read up on apkovl then. Thanks. 2017-07-13 02:00:08 Right, so I think I see how that might work, however there seems to be a problem in lbu and floppy media in VMware. 2017-07-13 02:00:17 I reported it here: https://forum.alpinelinux.org/forum/installation/floppy-vmware-lbu-config-not-loading-boot 2017-07-13 02:00:24 and it seems to go back to 2015 2017-07-13 02:00:34 Is this a user error, or a true issue? 2017-07-13 02:01:43 seems like it would be easy to fix by adding the floppy module to the kernel params 2017-07-13 02:02:05 looks like a legit issue 2017-07-13 02:02:11 but it's 4am so i'm heading to bed now :P 2017-07-13 02:02:24 gute nacht 2017-07-13 02:02:43 good night 2017-07-13 04:08:04 okay, I've started my investigations on LUKS root boot problems on Ubuntu first. The init simply does something horribly wrong, not sure where, but in a system with nvidia graphics, booting with splash locks up the keyboard and without splash the passwords are never accepted as valid; only recovery mode boots correctly 2017-07-13 04:08:53 I'll probably look at the Alpine system displaying the same behaviour once I've had some sleep first 2017-07-13 06:13:48 TBB: what the heck 2017-07-13 14:00:07 that is pretty much my reaction too 2017-07-13 15:11:35 TBB: I've run into that problem on ubuntu a few times, never really found a solution - I just boot them in recovery mode to unlock 2017-07-13 15:12:02 they only reboot when the UPSes fail, so it's not that big of a deal in my case 2017-07-13 15:12:37 I have not yet attempted to set up a LUKS root alpine system 2017-07-13 15:13:43 I do that routinely, and I happen to have a 32-bit Alpine install as my wireless access point, it doesn't show these symptoms 2017-07-13 15:14:28 I don't basically run any systems without disk encryption; it's a habit 2017-07-13 15:15:13 I generally do the same, but my alpine stuff has mostly been VMs where it wasn't necessary 2017-07-13 15:15:29 I did set up an alpine laptop but didn't do encryption 2017-07-13 15:16:39 I can tell you it's not a problem specific to nvidia graphics, because mine were ATI 2017-07-13 15:27:39 on Ubuntu I can trigger it by installing nvidia's own drivers (using nouveau, no problems); on Alpine, I don't get to use nvidia's own drivers (or maybe I could but I don't) and the same problem still exists... also on Ubuntu there's Plymouth at boot, but on Alpine not. So it kind of points to a fairly recent change deeper in the base, possibly the crypto mechanism itself or something it needs to work 2017-07-13 15:28:41 it's just that the triggering condition makes no sense on Ubuntu, and I don't even know what triggers this on Alpine 2017-07-13 15:30:31 it could even be two separate problems and I'm just looking at it as one; but I've found and reported at least one bug in Alpine's disk encryption before (and it got fixed very quickly) 2017-07-13 15:33:02 these should make encryption a bit easier https://it-offshore.co.uk/linux/alpine-linux/25-alpine-linux-luks-encrypted-installations 2017-07-13 15:41:44 I can basically do disk encryption in my sleep, I've been doing that stuff almost daily at work for 4.5 years now. that said, reading more never hurts, thanks for the link :) 2017-07-13 15:46:09 ;-) 2017-07-13 15:47:35 i'd like a computer with no firmware 2017-07-13 19:12:50 hi there! I'm running into a weird issue with openldap-dev and py-pyldap. 2017-07-13 19:13:27 here is the error: https://cldup.com/s2rdzb73lK.png 2017-07-13 19:14:12 ldd output: https://cloudup.com/cL1sRf893M5 2017-07-13 19:14:31 and the symbol not found seems to be actually there: https://cldup.com/5qEH7o9kDL.png 2017-07-13 19:15:03 @ncopa 2017-07-13 19:18:47 that leads me to believe openldap-dev was perhaps compiled against a different version of lldap thus liblber? 2017-07-13 19:22:57 ncopa: any idea what could be happening? 2017-07-13 19:27:59 >>> import _ldap 2017-07-13 19:27:59 >>> 2017-07-13 19:28:15 c4milo: do you have a way for me to reproduce it? 2017-07-13 19:34:01 ncopa: yes, let me prepare a docker image for you 2017-07-13 19:34:27 ncopa: re: import _ldap <- this works fine 2017-07-13 19:34:40 which is even more puzzling to me 2017-07-13 19:39:26 Did Alpine have KDE packages at one point, or was I dreaming? 2017-07-13 19:55:00 there probably was; KDE is in the unmaintained part of aports 2017-07-13 20:14:53 i hate that there's such a random process of what gets moved there, hopefully that'll be solved at some point 2017-07-13 20:15:47 <_ikke_> darkfader: I guess it's when there are build issues and no one steps up to fix them 2017-07-13 22:09:10 https://twitter.com/wikileaks/status/885501963978383362 android users heads up :) 2017-07-13 22:41:27 oh now this might interest some here: https://ooni.torproject.org/install/ooniprobe/ 2017-07-14 03:43:56 17:30 <%nanoha-chan> solar: get ur tracks off asap kek 2017-07-14 05:56:11 Does Alpine Linux have support for Wayland and Sway as well as proprietary NVIDIA drivers? 2017-07-14 11:44:19 broadcom win: " they get root on the wifi chip itself, then DMA to the host" 2017-07-14 11:57:55 CVE-2017-9417 2017-07-14 11:58:00 http://yacy.de/de/ Ever wanted a decentralized search engine? 2017-07-14 11:58:51 http://yacy.de/en/ Ever wanted a decentralized search engine? 2017-07-14 12:37:45 https://abload.de/img/politics-reporthim22sxx6.png Your Ministry Of Truth message for the day... 2017-07-14 12:49:42 https://abload.de/img/politics-reporthim27vbt0.png waifu2x'd 2017-07-14 13:54:35 what was that markov chain 2017-07-14 17:39:20 hmm, a package foo-protocol whose sole purpose is to deliver a (static) library, should this be called libfoo-protocol or foo-protocol-dev? 2017-07-14 17:40:45 there may not necisarily exist called foo-protocol delivering an application 2017-07-14 17:40:53 exit a package called* 2017-07-14 17:41:03 argh. exists** 2017-07-14 17:41:24 ACTION gives up correcting himself 2017-07-14 17:42:19 <_ikke_> elegast_: I'd just call it foo-protocol 2017-07-14 17:42:42 <_ikke_> -dev is meant to split up the dev files from the rest of the package 2017-07-14 17:42:46 <_ikke_> which is not the case here 2017-07-14 17:43:58 _ikke_, ah ofcourse, yes that makes sense 2017-07-14 17:44:01 thanks! 2017-07-14 18:58:45 hi 2017-07-14 18:58:47 need some help 2017-07-14 18:58:52 to set up alpine in vbox 2017-07-14 20:54:28 download the image and run it in virtualbox as you would any other operating system 2017-07-14 23:36:40 "Give me control of a nation's cpu foundry and I care not who writes the operating systems" 2017-07-15 03:36:05 Uh, nfs-utils builds without rpc.svcgssd, but includes the init script... 2017-07-15 03:44:02 also I cannot start idmapd, because it says it needs DNOTIFY kernel support 2017-07-15 03:54:51 I get lots of "crypto/seqiv.o: warning: objtool: seqiv_free(): can't find starting instruction" and "fs/btrfs/ctree.o: warning: objtool: add_root_to_dirty_list()+0x84: can't decode instructio" errors when compiling the kernel in aports, is this normal? 2017-07-15 03:59:07 *warnings not errors 2017-07-15 17:36:24 It would be nice if the h2o in the repositories had mruby support. 2017-07-15 17:44:17 <_ikke_> What would be required for that? 2017-07-15 17:51:43 I believe most (all?) of the sources already come with it, just changing cmake's flags. It may or may not pull in ruby as a build time dependency, or maybe mruby(?), but I'm not certain. Last time I set it up was a while ago, so all I do now is cmake, make, sudo make install. :P 2017-07-15 19:29:15 How do I install X? apk search -v X or xorg bring up tens of same looking packages. 2017-07-15 19:30:53 <_ikke_> stevelitt: run the setup-xorg-base script, it will download the necessary pacakges 2017-07-15 19:30:58 <_ikke_> packages* 2017-07-15 19:31:07 <_ikke_> https://wiki.alpinelinux.org/wiki/XFCE_Setup 2017-07-15 19:31:40 Thank you _ikke_ ! Will do. 2017-07-15 19:39:02 Confirmed _ikke_ , setup-xorg-base worked perfectly. 2017-07-15 19:44:58 I have CLI Vim but not GUI Vim. Anyone know how to get a graphical Vim? apk search couldn't find one. 2017-07-15 19:48:18 <_ikke_> stevelitt: sounds like gvim is part of vim 2017-07-15 19:52:40 Building h2o seems to require linux-headers, despite that not being in the makedepends. I should probably tell the maintainer or something, but instead I'll jus tell IRC. 2017-07-15 19:52:48 Also I guess it does need perl. 2017-07-15 20:06:19 _ikke_, in Xfce terminal, vim -g .xinitrc produces error "GUI cannot be used: Not enabled at compile time." 2017-07-15 20:08:31 <_ikke_> stevelitt: I see, it's compiled with --without-x 2017-07-15 20:27:57 If there are two versions of a package, with different (run-time) dependencies, and different (just one added flag) prepare() steps, would I have to make a new APKBUILD, or is there a way to somehow hijack the existing one to supply both variants? 2017-07-15 20:28:52 <_ikke_> one APK build can have multiple sub packages 2017-07-15 20:30:39 Yeah, but I'm wondering if the sub packages can have differing dependencies / prepare steps. 2017-07-15 20:34:59 Hm. Maybe I can? 2017-07-15 20:35:46 <_ikke_> depends you can 2017-07-15 20:35:57 <_ikke_> prepare, not sure 2017-07-15 20:36:58 I think the idea is you still build it once, and then split up the result into -doc, -dev, etc... but if there is a way to hijack prepare(), that'd be neat. 2017-07-15 20:37:44 <_ikke_> Yeah, I don't think you can build it twice with different settings 2017-07-15 20:41:55 However, I do think there's a way to steal nearly everything from a different package... 2017-07-15 20:43:18 ...but I'm not going to do that. :P 2017-07-15 20:45:42 what WM/DE is included in alpine extended iso (if that)? And does the standard iso have ath5k module? 2017-07-15 20:49:13 Anyway, for future reference: h2o should add linux-headers to its makedepends, and maybe libressl to depends. To enable mruby, it needs to add bison to makedepends, ruby to depends, and give cmake an additional -DWITH_MRUBY=on flag. I think that's all. 2017-07-15 20:49:54 I guess libressl is optional, if you don't want ssl, you don't need it. 2017-07-15 20:50:31 (or if you want openssl, since it's built with shared libs) 2017-07-15 21:38:51 build logs of the isos could help 2017-07-15 22:07:16 "I believe in justice. I believe people should be left alone. I'm a cosmic rebel and I don't like false authority, so I'm going to fight against it." - styxhexenhammer666 2017-07-16 05:15:21 So how does one install a GUI Vim on Alpine? 2017-07-16 05:30:46 you ever get a bead on a banned book, download it 2017-07-16 06:53:30 <_ikke_> stevelitt: Currently alpine does not ship it 2017-07-16 07:34:21 Thanks _ikke_ I'll compile it from source. 2017-07-16 07:35:03 Hey, the ps command doesn't give ppid or other fields I'm used to. Is that because it's busybox's ps? If so, how do I install a more robust ps? 2017-07-16 07:36:12 install procps 2017-07-16 15:20:25 Hi, trying to create a nginx-proxy with letsencrypt in pursuant to http://wiki.alpinelinux.org/wiki/Nginx_as_reverse_proxy_with_acme_(letsencrypt), but outputs "nginx: [emerg] PEM_read_bio_DHparams("/etc/nginx/dhparam.pem") failed (SSL: error:09FFF06C:PEM routines:CRYPTO_internal:no start line:Expecting: DH PARAMETERS)" when I try to restart nginx, though the /etc/nginx/dhparm.pem was duly-created with "openssl dhparam -dsaparam -out /etc/nginx/dhparam.p 2017-07-16 15:26:22 Found a relevant link (https://github.com/jchaney/owncloud/issues/46), but related with docker without pointer except rebooting. I am on lxc and I have stopped and restarted the container without changes. Any pointer appreciated! 2017-07-16 16:09:06 Hi again, I am getteing "nginx: [emerg] PEM_read_bio_DHparams("/etc/nginx/dhparam.pem") failed (SSL: error:09FFF06C:PEM routines:CRYPTO_internal:no start line:Expecting: DH PARAMETERS)" error while restarting nginx in pursuant to http://wiki.alpinelinux.org/wiki/Nginx_as_reverse_proxy_with_acme_(letsencrypt). The solutions found on the net were not helpful. Any input appreciated! 2017-07-16 16:26:23 is the dhparams in der form while nginx expects pem? 2017-07-16 17:39:48 Bun: Could not follow what yous aid 2017-07-16 18:14:03 zenny: did you run 'openssl dhparam -dsaparam -out /etc/nginx/dhparam.pem 4096' and wait for the command to finish? 2017-07-16 18:29:25 Diftraku: yes I did and got a key too with "-----BEGIN/END X9.42 DH PARAMETERS-----" 2017-07-16 18:30:14 with random characters in between. ;) 2017-07-16 20:08:42 Hi. How do I install cpan? 2017-07-16 20:16:44 <_ikke_> since 3.6, it's part of perl-utils 2017-07-16 20:16:49 <_ikke_> https://pkgs.alpinelinux.org/contents?file=cpan&path=&name=&branch=&repo=&arch= 2017-07-16 20:19:13 <_ikke_> jason85: ^ 2017-07-16 20:19:14 _ikke_, thanks! 2017-07-16 21:18:46 hello, does anyone know if I can install google-chrome on alpine? if not, has anyone successfully been able to get chromium browser to work with widevinecdm? 2017-07-16 21:19:35 isn't that some DRM? 2017-07-16 21:19:41 yes 2017-07-16 21:19:54 why would you want to run DRM on your computer 2017-07-16 21:20:08 I don't, but unfortunately I need it for work 2017-07-16 21:37:27 I don't know about Alpine but on another distro I run I've got the option for that drm support 2017-07-16 21:37:44 in chromium even 2017-07-16 21:42:10 TBB: oh, without you having to install it some way? 2017-07-16 22:07:01 yes; I can't remember exactly how the option to use it was enabled, it was one of those about: tricks 2017-07-16 22:07:41 Firefox 54 also has the support for it but it's in the preferences directly 2017-07-16 22:08:41 ah, thanks! I'll look in to that! 2017-07-16 22:28:26 mw: Chrome would need to be compiled with support for Musl, as GlibC and MuslC are not binary compatible 2017-07-16 22:29:17 mw: Chromium should work, though, if you compile it. And the widevine extension might work, as it's probably not written in to target specific platforms ... I would hope not anyway 2017-07-17 04:38:14 how do i install install net rpc on alpine so i can shutdown my windows pc remotely 2017-07-17 04:38:41 you mean samba? 2017-07-17 04:40:26 new to linux so sorry if im missing something here 2017-07-17 04:41:16 when i type net rpc shutdown -I 192.168.1.50 -U user%pass 2017-07-17 04:41:37 i get -ash: net: not found 2017-07-17 04:42:37 you need to install samba 2017-07-17 04:42:39 i got it apk add samba lol 2017-07-17 04:42:43 thank you 2017-07-17 04:43:05 thank you scv 2017-07-17 07:46:12 When my alpine node is starting, it spends a considerable amount of time on "* /run/nginx: correcting owner". Is this normal? Is it possible to get it to finish faster? What is exactly going on at this stage? 2017-07-17 07:51:02 looks like it is running: nginx -t -q 2017-07-17 07:51:19 if you run nginx -t manually, what happens? 2017-07-17 07:59:18 ncopa: OK and successful 2017-07-17 08:15:18 does it take long time? 2017-07-17 08:37:43 ncopa: Sorry, though my reply took long, the manual command `nginx -t` does not :) 2017-07-17 08:40:41 and nginx -t -q does not either? 2017-07-17 08:41:07 could it be dns lookup that takes time? 2017-07-17 09:06:00 Good morning. I am getting 'lost server' when I try to run tmux. Could not find specific info related to tmux in alpinelinux. Any input? 2017-07-17 09:11:12 zenny: never seen that error 2017-07-17 09:11:14 i use tmux daily 2017-07-17 10:08:02 ncopa: https://pastebin.com/FARHfvhf strace tmux output fyi. 2017-07-17 10:12:39 ncopa: my issue is similar to https://github.com/Alexpux/MSYS2-packages/issues/791 and https://groups.google.com/forum/?_escaped_fragment_=topic/tmux-users/3OU66N3D6DQ#!topic/tmux-users/3OU66N3D6DQ but has no relevance to alpine, I guess. 2017-07-17 10:30:39 zenny: does dmesg say that tmux crashed? 2017-07-17 10:38:10 ncopa: nope. dmesg didn't 2017-07-17 12:27:14 zenny: do you have a way to reproduce it? 2017-07-17 13:50:17 ncopa: yep. To reproduce. 1. Just start an alpinelinux lxc container (mine is proxomx v4.4 host). 2. Updated to the latest v3.6.2 of AL. 3. apk install tmux strace 4. Run 'tmux' that gives 'lost server' or run 'strace tmux' gives an output like https://pastebin.com/FARHfvhf 2017-07-17 13:53:40 zenny: connect(6, {sa_family=AF_UNIX, sun_path="/tmp/tmux-0/default"}, 110) = -1 ENOENT (No such file or directory) 2017-07-17 13:53:59 recvmsg(6, {msg_namelen=0}, 0) = -1 ECONNRESET (Connection reset by peer) 2017-07-17 13:54:13 tmux ignores the failed connect and just assumes that the socket exists 2017-07-17 13:54:30 make sure your user can create in /tmp ok ? 2017-07-17 13:54:33 does /tmp exist and have the correct permissions? 2017-07-17 13:54:38 permissions should be 1777 2017-07-17 13:54:46 owner:group root:root 2017-07-17 13:58:59 tmux starts for me 2017-07-17 14:02:41 ncopa arguably its a tmux bug even if there was a permissions issue outside of just zenny's environment 2017-07-17 14:02:46 since it ignores that enoent 2017-07-17 14:03:10 should be reported upstream then 2017-07-17 14:03:19 yup 2017-07-17 14:06:54 scv: the ownership and permissions are 1777 and root:root of /tmp dir 2017-07-17 14:09:17 does /tmp/tmux-0 exist ? 2017-07-17 14:31:33 Hi, i want to build something like qubes os. .. but ikd how to manage xen domU 2017-07-17 14:31:56 Idk * 2017-07-17 14:34:37 Can some1 give a good link to learn? 2017-07-17 14:41:52 How about this one: https://wiki.xenproject.org/wiki/Category:HowTo 2017-07-17 14:59:07 scv: /tmp/tmux-0 does not exist. 2017-07-17 15:17:13 zenny: apk info tmux shows it is 3.5-r0 ? 2017-07-17 15:20:11 https://paste.ee/r/xfloo 2017-07-17 15:20:19 it creates the folder in my test 2017-07-17 15:20:48 zenny: the filesystem inside the container is writable? 2017-07-17 15:22:30 what fs is it? iirc lxc uses a loop image 2017-07-17 15:22:38 or it can use an overlay 2017-07-17 15:25:39 zenny: either way in your case it doesn't even attempt to create the socket folder, so it's primarily a bug in tmux 2017-07-17 15:25:45 but it's being triggered by your environment 2017-07-17 15:25:54 which is not typical to alpine 2017-07-17 16:17:17 scv: tmux-2.4-r0 2017-07-17 16:18:00 scv: yes, the fs inside the container is writable 2017-07-17 16:19:16 zenny: your strace doesn't show tmux even attempting to create the folder, so it appears to be a bug in tmux 2017-07-17 16:19:39 i'm unable to reproduce it with or without strace 2017-07-17 16:25:14 scv: it seems like the bug specifically related to alpinelinux. Tmux in other different distro-containers like centos and debian are working fine, fyi. 2017-07-17 16:26:54 zenny: i understand that, but both ncopa and i are unable to reproduce it from alpine machines running the same revision as you, in our tests tmux does as expected and calls mkdir("/tmp/tmux-0") 2017-07-17 16:27:41 containers involve quite a lot of functional differences compared to a normal install of a distro, so it's very possible that your containerization is having an effect on tmux in some way 2017-07-17 16:28:15 but it's confirmed not to be a bug in the alpine package as it works as expected when used in a normal environment 2017-07-17 16:28:51 even if it only occurs under alpine due to differences between alpine and other distros, it's still a tmux bug by definition 2017-07-17 16:29:07 so you should check with their developers for now 2017-07-17 16:29:50 and we cannot help you fix/troubleshoot it unless we can preproduce it 2017-07-17 16:35:14 scv and ncopa: thanks for your input. It could be because that I logged into the host machine and then started tmux to enter into the container and tried to run tmux inside the container. A nesting problem? Just my wild guess. 2017-07-17 16:35:54 yes 2017-07-17 16:35:55 zenny: that's very possible 2017-07-17 16:36:03 what kernel is it? 2017-07-17 16:37:11 does it happen if you dont nest tmux? 2017-07-17 16:39:26 ncopa: kernel is 4.4.67-90 2017-07-17 16:45:37 ncopa: without nexting tmux, it works fine. So it seems to be a nesting problem 2017-07-17 16:45:51 confirmed! a nesting bug. ;) 2017-07-17 16:46:03 good to know 2017-07-17 18:50:11 hmm.. abuild is 3.0 rc4 for some hours, but i just updated and got rc3 instead (from rc2-r8). shouldn't it been rc4? 2017-07-17 18:50:51 <_ikke_> avih: Note sure if related, but ncopa mentioned build problems with abuild (the irony) 2017-07-17 18:51:28 i'd guess rc3 would have been the problem which rc4 fixed, isn't it? 2017-07-17 18:51:55 but rc2 supposedly shouldn't have had issues, so an upgrade to latest - rc4 - should have happened IMO 2017-07-17 18:52:10 <_ikke_> avih: http://tpaste.us/Yn1Q 2017-07-17 18:52:28 gotcha. 2017-07-17 18:52:36 <_ikke_> recursive issue 2017-07-17 18:52:44 so basically builders which updated to rc4 can't build rc4? 2017-07-17 18:52:54 to rc3* can't build rc4 2017-07-17 18:53:00 <_ikke_> I guess so 2017-07-17 18:53:32 might need some manual/divine intervention ... 2017-07-17 18:54:08 wait, so now my abuild - rc3 - is broken too and might have issues upgrading further? 2017-07-17 18:54:43 <_ikke_> well, you don't need abuild to update packages 2017-07-17 18:54:56 right. that'd be apk 2017-07-17 19:50:36 avih: yes rc3 is broken and it broke the builders 2017-07-17 19:50:47 if failed to update to rc4 2017-07-17 19:50:55 so i had to do that manually for each builder 2017-07-17 19:51:18 ncopa: don't you have minions for that? :) 2017-07-17 22:11:45 Is there any good documentation on how to install this on a pi 3? 2017-07-17 23:56:28 edge226: always check the wiki https://wiki.alpinelinux.org/wiki/Raspberry_Pi 2017-07-18 00:36:27 xentec: Ah, Do you know how far along the traditional booting is? 2017-07-18 00:40:29 edge226: define traditional. in case of rpi its: SoC->firmware->kernel->openrc 2017-07-18 00:41:47 xentec: The default install is something called "diskless mode" from the guide and lower down there is a "Traditional disk-based (sys) installation" that I'm more interested in. 2017-07-18 00:43:44 xentec: I'm also not doing any sort of traditional installation but this will end up as a squashfs filesystem for use in a nas cluster. 2017-07-18 00:45:39 xentec: I've gotten by without having to format and wear down a single microsd card thus far, 25 Images to select from :D 2017-07-18 03:20:41 Is it normal to get hundreds of objtool warnings when compiling linux-hardened from aports? 2017-07-18 06:11:05 Good morning! 2017-07-18 07:22:58 morning 2017-07-18 07:24:27 i wish 2017-07-18 07:25:05 technically not wrong on this timezone 2017-07-18 07:25:12 the best kind of not wrong 2017-07-18 07:25:30 with the flu everything feels wrong :| 2017-07-18 07:25:48 or a cold, whatever it is 2017-07-18 07:25:53 sucks 2017-07-18 07:27:03 but you are right, its still morning here :) 2017-07-18 07:31:21 clandmeter: get well soon 2017-07-18 07:31:33 thx! 2017-07-18 07:34:43 clandmeter: i know this feeling 2017-07-18 07:34:52 (hello, back from laptopless weekend) 2017-07-18 07:35:22 wb 2017-07-18 07:46:22 Hi there, im searching for a less compiler for alpine, can't seem to find one, anyone know if such a thing exists? :) 2017-07-18 07:46:56 clandmeter: p.a.o seems down 2017-07-18 07:47:13 correction, very very slow 2017-07-18 07:47:28 its fast here 2017-07-18 07:47:37 it takes 40+ secs to load here 2017-07-18 07:48:05 106ms 2017-07-18 07:48:09 :) 2017-07-18 07:48:14 but im sitting next to it. 2017-07-18 07:48:45 i guess you mean patchwork right? 2017-07-18 07:49:20 nah, pkgs 2017-07-18 07:49:21 :P 2017-07-18 07:49:32 ah yes i know 2017-07-18 07:49:42 its terrible 2017-07-18 07:49:46 it was messin up for me yesterday 2017-07-18 07:49:50 im working on it 2017-07-18 07:49:53 seems okay now? 2017-07-18 07:50:11 i think its caused by crawlers 2017-07-18 07:50:23 ignoring robots.txt? :/ 2017-07-18 07:50:34 i didnt add one 2017-07-18 07:50:37 ah 2017-07-18 07:50:42 so thats porbably the issue :) 2017-07-18 07:50:52 probably best to do at least for apk downloads 2017-07-18 07:50:59 maybe not for the whole domain 2017-07-18 07:51:05 apk downloads? 2017-07-18 07:51:19 hum 2017-07-18 07:51:23 its really slow now... 2017-07-18 07:51:33 the apkbuild and patches 2017-07-18 07:51:41 they are under pkgs. right? or am i mixing it up 2017-07-18 07:52:11 nah it points to git ok 2017-07-18 07:52:12 my bad 2017-07-18 07:59:29 we could also limit the amount of requests per ip in nginx. 2017-07-18 07:59:51 just do it in iptables 2017-07-18 08:00:05 -m limit 2017-07-18 08:01:29 firewall-cmd 2017-07-18 08:01:41 get out meph 2017-07-18 08:02:15 lmao 2017-07-18 08:03:21 clandmeter: something like --syn -m limit --limit 2/s --limit-burst 5 2017-07-18 08:03:39 matching on the local addr & port etc 2017-07-18 08:03:41 of course 2017-07-18 08:03:45 should handle it pretty well 2017-07-18 08:04:20 pkgs just has metadata, no apk hosting 2017-07-18 08:05:11 i wonder if nginx limiting is nicer for the client, cause with iptables you just deny the connection. 2017-07-18 08:07:34 http://nginx.org/en/docs/http/ngx_http_limit_req_module.html#limit_req results in http 503 2017-07-18 08:15:22 actively sending RST instead of just dropping with iptables would be equally as effective without tarpitting the client 2017-07-18 08:15:38 but you lose the access logs 2017-07-18 08:15:46 so nginx module might be better for this use case 2017-07-18 08:22:32 Hi guys, I wonder if there is any way to update just a package with apk, I appreciate the help 2017-07-18 08:23:41 apk update 2017-07-18 08:23:58 er sorry upgrade 2017-07-18 08:23:59 not update 2017-07-18 08:24:08 scv: :-O 2017-07-18 08:24:29 i might be wrong though 2017-07-18 08:24:48 it is late an i am tired thats my excuse :D 2017-07-18 08:24:50 let me check it 2017-07-18 08:25:38 apk upgrade --help: "Upgrade currently installed packages to match repositories" 2017-07-18 08:25:48 ACTION He feels silly 2017-07-18 08:26:03 In fact works very well 2017-07-18 08:26:03 not sure if it's possible 2017-07-18 08:26:12 it works? 2017-07-18 08:27:22 It works, only it has unsatisfied dependencies 2017-07-18 08:27:27 what package 2017-07-18 08:27:44 Apparently does not resolve them automatically 2017-07-18 08:27:48 firefox 2017-07-18 08:28:01 pastebin the error? 2017-07-18 08:28:49 https://pastebin.com/EtAE0Cbr 2017-07-18 08:29:39 that error is not from firefox 2017-07-18 08:29:49 also 2017-07-18 08:29:55 pastebin your /etc/apk/repositories 2017-07-18 08:30:05 it looks like you have both v3.something and edge at the same time 2017-07-18 08:30:09 which you should not do 2017-07-18 08:30:11 afaik you can upgrade a single package using `apk add -u ` 2017-07-18 08:30:14 maybe 'm wrong though 2017-07-18 08:30:26 Quiet thanks for the help, at least I know if you can 2017-07-18 08:30:56 Shiz its not documented as such at least :( 2017-07-18 08:31:20 Shiz: +1 2017-07-18 08:31:41 Shiz: Works without errors 2017-07-18 08:32:16 but you still have issues 2017-07-18 08:32:28 when you try to upgrade 2017-07-18 08:32:35 oh its add, i am definitely too tired 2017-07-18 08:32:42 i was looking for -u under upgrade 2017-07-18 08:32:59 it was just ignores the firefox part in your upgrade cmd 2017-07-18 08:33:18 ignoring... 2017-07-18 08:34:43 Shiz, is pkgs better now? 2017-07-18 08:34:48 lessee 2017-07-18 08:34:54 yep 2017-07-18 08:34:56 im sure its not perfect 2017-07-18 08:35:17 ill try to improve it. 2017-07-18 08:36:36 if you press the refresh button 5x quickly you'll now get a 503. 2017-07-18 08:40:17 sweet clandmeter 2017-07-18 08:40:22 confirm it works 2017-07-18 08:44:42 uhmm, i should exclude static queries. 2017-07-18 08:53:25 hey guys why am I all the sudden getting this error from pkgs.alpinelinux.org: "503 Service Temporarily Unavailable" 2017-07-18 08:53:38 ACTION ducks 2017-07-18 08:53:41 :P 2017-07-18 08:53:42 :D 2017-07-18 08:55:27 :) 2017-07-18 08:55:40 i think you wont get it anymore now with a normal browser 2017-07-18 08:56:22 just need to set a cache path for static files so it wont go to the backend 2017-07-18 08:57:53 It's loading fine for me? 2017-07-18 08:58:07 try refreshing a lot 2017-07-18 08:58:19 Aha. 2017-07-18 08:58:24 Fancy. 2017-07-18 08:59:35 i also added a missing index so individual packages should load a lot quicker. 2017-07-18 10:44:14 Hello 2017-07-18 10:44:46 hi 2017-07-18 10:45:06 is there some way in openssh to scp a file to a server and this server pipes the file to a command ? 2017-07-18 10:45:31 <_ikke_> user632: you can pipe it to ssh 2017-07-18 10:45:46 my client is a cisco switch 2017-07-18 10:46:14 <_ikke_> What command do you try to pipe it to? 2017-07-18 10:46:35 you could do something like 2017-07-18 10:46:36 I want to pipe it to a handmade script 2017-07-18 10:46:52 <_ikke_> a script on a cisco switch? 2017-07-18 10:46:56 ssh my@node 'cat | myscript' < myfile 2017-07-18 10:46:58 or something 2017-07-18 10:47:18 the 'cat | ' part is for illustration purposes, i don't think its strictly necessary even 2017-07-18 10:48:13 I have to check if I can redirect a file to the ssh client's stdin from the switch 2017-07-18 10:49:00 you can probably do something hacky with ~/.ssh/authorized_keys and command="./my-wrapper-command" on the server side 2017-07-18 10:49:11 if your cli proves to only be able to do simple scp 2017-07-18 10:50:07 see: https://serverfault.com/questions/374140/using-command-in-ssh-authorized-keys-breaks-scp#answer-838071 for an example 2017-07-18 10:50:34 I'll look into that thanks 2017-07-18 11:09:57 What does 'scp -t' mean ? 2017-07-18 11:12:08 it's how the scp program on the server side is called to process the incoming file 2017-07-18 11:12:40 there's a little protocol that it implements 2017-07-18 11:15:27 https://github.com/openssh/openssh-portable/blob/master/scp.c#L930 here's the "documentation" ;-P 2017-07-18 11:17:59 oh... 2017-07-18 11:18:04 well thanks anyway 2017-07-18 11:18:48 (it's actually not very complicated, i t first sends a line with "C \n" and then the file) 2017-07-18 11:19:36 of course you can just use scp -t to accept the file transfer and then process the file itself 2017-07-18 22:05:10 Has anyone worked with cloud VM providers that cannot into .iso files? 2017-07-18 22:06:19 What is the best method of getting alpine on there? Right now I've been thinking of installing to a tiny disk on tmpfs (with QEMU), then dd-ing that over the disk of some distro they provide 2017-07-18 22:06:48 and resizing the partitions to fill it whole 2017-07-18 22:07:33 I also have no vty access... 2017-07-18 22:07:58 that sound sketchy at best 2017-07-18 22:08:07 sketchy? 2017-07-18 22:08:29 no vty for a vm 2017-07-18 22:12:03 such is life 2017-07-18 22:19:25 I found this https://wiki.alpinelinux.org/wiki/Replacing_non-Alpine_Linux_with_Alpine_remotely#Without_VNC_access 2017-07-18 22:19:52 note: it has no vty access but it does have graphical access 2017-07-18 22:19:55 whatever that means 2017-07-18 22:20:11 it, however, does not work. 2017-07-18 22:21:10 I tried rsync-ing alpine over the distro + add kernel to grub, but that did not work 2017-07-18 22:21:21 as in, I couldn't ssh in after rebooting 2017-07-18 22:21:30 dunno where it failed 2017-07-18 22:26:42 How come setup-ntp defaults to chrony instead of busybox? 2017-07-18 22:27:33 hmmm...this seems to be a server...nvm 2017-07-18 22:32:31 busybox (or whatever it is) fdisk is braindead 2017-07-18 22:32:48 I tell it to create a partition of size 31M and it does 30.5M... 2017-07-18 22:36:59 Is there a way to enable terminal colours on apk? 2017-07-18 22:57:50 specing - see https://it-offshore.co.uk/linux/alpine-linux/64-alpine-linux-kvm-vps-without-a-custom-iso 2017-07-18 23:00:57 BitL0G1c: hmm running qemu directly on it... haven't thought of that 2017-07-18 23:03:10 util-linux to the rescue, this one actually does 31M as told < specing> busybox (or whatever it is) fdisk is braindead 2017-07-18 23:03:43 the alpine included fdisk places stuff on sector 63 by default thus being very bad for flash 2017-07-18 23:07:16 specing - got some other scripts too which make gpt & encryption easier https://it-offshore.co.uk/linux/alpine-linux/25-alpine-linux-luks-encrypted-installations 2017-07-18 23:08:34 I wonder how much sense LUKS makes on some cloud VM 2017-07-18 23:09:25 though I've heard that the police shuts down the server, then copies HDD, then powers it back online 2017-07-18 23:09:42 what do they do for VMs? 2017-07-18 23:10:20 btw... right now I'm going to attempt a btrfs install 2017-07-18 23:10:26 480MB btrfs partition 2017-07-18 23:10:32 ACTION crosses fingers 2017-07-18 23:27:25 Alpine installer supports btrfs for /boot? Yay! 2017-07-18 23:28:38 lets see how it rolls with subvolumes 2017-07-18 23:32:11 specing: if case you're considering digital ocean: https://github.com/bontibon/digitalocean-alpine 2017-07-18 23:32:55 nope, DO is way too expensive ;D 2017-07-18 23:35:27 or rather, there are cheaper alternatives that fit my usecase 2017-07-18 23:41:11 LUKS in a cloud VM is a slowdown at best really; doesn't really make sense to shut down the VM since if you have the legal status to go copy VMs you probably have the status to ask for direct console access to the VM 2017-07-18 23:42:51 as long as you're not the one running the host itself, you probably should consider your VMs to be compromised easily... 2017-07-18 23:43:10 Hm. 2017-07-18 23:43:11 yep 2017-07-18 23:43:35 ok, my btrfs install does not boot ;D 2017-07-18 23:45:33 out of curiosity, what's your bootloader? 2017-07-18 23:46:09 whatever setup-disk installs 2017-07-18 23:46:20 I imagine that would be extlinux 2017-07-18 23:46:35 I was extlinux on the ext4 test install 2017-07-18 23:47:27 I'm not sure if extlinux supports btrfs, even though setup-disk explicitly says btrfs is one of the supported 2017-07-18 23:47:49 extlinux does support btrfs /boot but with some conditions 2017-07-18 23:47:56 and then I'm further not sure if it detected that /mnt/rootfs/boot is actually /mnt/rv/v/@rootfs/boot 2017-07-18 23:48:29 and I have LZO compression enabled on it 2017-07-18 23:48:34 http://www.syslinux.org/wiki/index.php?title=Filesystem#Btrfs - you've probably seen this? 2017-07-18 23:48:48 haven't, I use grub mostly everywhere 2017-07-18 23:49:48 ah. I prefer using gummiboot whenever the hardware has UEFI, and syslinux/extlinux otherwise 2017-07-18 23:50:06 GRUB is part of BIOS for me :D 2017-07-18 23:50:24 (mostly because when grub had its massive update I was too lazy to figure out how to configure it) 2017-07-18 23:53:15 all this boot talk reminds me of the fact I actually should figure out grub2 and finally get all the boot stuff out of each one of my computers 2017-07-18 23:53:29 I think I might be able to disable compression for /boot specifically 2017-07-18 23:54:22 hmm, but syslinux will probably still fail to find it 2017-07-18 23:54:24 I'm slowly getting paranoid enough to only keep encrypted disks at home; I had an experience some time back that suggested someone having been at my home trying to get to my bits while I was at work... 2017-07-18 23:55:02 from what I understood as long as your subvol isn't compressed and/or encrypted syslinux can boot it 2017-07-18 23:55:17 but I haven't tested this myself 2017-07-18 23:55:49 from what I understand about btrfs the compression is per-filesystem, not per volume 2017-07-18 23:56:41 yeh, the syslinux documentation is a bit hazy about that, and I don't currently have experience with btrfs 2017-07-19 00:03:37 Hello gents, I'm a poor traveler attempting to install alpine for the first time. Now, everything went very smoothly with the installer, however when I tried to reboot the bootloader failed to find the disk. Some research later I narrowed it down to alpine's lack of default nvme support. (I have a M.2 NVME boot disk) I tried to add NVME after the install and regen with mkinifs, but it still fails to boot. Any ideas? Has anyoen 2017-07-19 00:08:36 I have and I'll talk you through it 2017-07-19 00:08:58 from memory as I don't have a suitable system at hand 2017-07-19 00:09:43 have a look at /etc/mkinitfs/features.d/ and look at one of the .modules files to see the exact format how modules are listed in them 2017-07-19 00:10:08 now make your own file, nvme.modules, in that directory and add to that the path to the nvme module in that format 2017-07-19 00:11:09 and finally add nvme to your /etc/mkinitfs/mkinitfs.conf FEATURES, if I remember correctly theres a part with modules=blah,blah,yadda,yadda - just add nvme to that and then run mkinitfs once more 2017-07-19 00:12:05 was there something in what I just wrote that you didn't do? 2017-07-19 00:25:57 It tried this and the nvme file was already there, so I added it ti mkinitfs.conf 2017-07-19 00:26:04 *I 2017-07-19 00:26:59 Then when I booted still faield to find the disk. 2017-07-19 00:29:21 What I did exactly was this: 1. setup-alpine 2. When for nvme.modules, it already existed so I moved on. 3. Add nvme to features in mkinitfs.conf 4. run `mkinitfs` 5. rebooted and still got "error: faield to mount sysroot on "> 2017-07-19 00:29:55 What I did exactly was this: 1. setup-alpine 2. Check for nvme.modules, it already existed. 3. Add nvme to features in mkinitfs.conf 4. run `mkinitfs` 5. rebooted and still got "error: failed to mount sysroot on "> 2017-07-19 00:35:00 you should get a busybox shell if sysroot mount wasn't successful. see if you can modprobe nvme to verify that it really is on the initramfs 2017-07-19 00:35:57 Good idea, I'll try that. 2017-07-19 02:07:46 Anybody tried using wmii on alpine? 2017-07-19 07:45:40 Hi all ! 2017-07-19 07:45:45 I have an issue with Zabbix Agent for monitoring network interface. Zabbix use the /proc/net/dev, but with no-root user, all metrics are set to zero. 2017-07-19 07:45:49 Do you know how a normal user can access to this file with all metrics ?$ 2017-07-19 07:46:44 Samviine, check what the permissions are 2017-07-19 07:47:05 must be some group, then make the user who runs zabbix a member of that group. 2017-07-19 07:50:48 seems to be readproc 2017-07-19 11:39:04 Can APK install multiple versions of the same package at the same time? 2017-07-19 11:39:22 and is it possible to build packages in such a way to make this possible? 2017-07-19 12:53:20 specing: no and yes 2017-07-19 13:04:12 Does that mean that such packages must differ in name? 2017-07-19 13:05:11 i.e. can it install multiple versions, if each version is compiled to install into $PREFIX//? 2017-07-19 13:06:12 specing, yes, package name must differ 2017-07-19 13:06:56 can the package name contain a numeric version? 2017-07-19 13:17:22 sure, we do that with python vs python3 2017-07-19 13:17:41 and llvm39, llvm40, etc 2017-07-19 21:34:01 mount: unknown filesystem type 'vfat' 2017-07-19 21:34:05 any ideas? 2017-07-19 21:34:43 (alpine edge. mounting usb storage things fail with this. used to work) 2017-07-19 21:36:07 mount("/dev/sdb1", "/home/nsz/u", "vfat", MS_MGC_VAL, NULL) = -1 ENODEV (No such device) 2017-07-19 21:36:15 hm 2017-07-19 21:36:26 just /dev/sdb? 2017-07-19 21:36:45 no, the device and partition is right 2017-07-19 21:37:00 no module then? 2017-07-19 21:37:27 ENODEV filesystemtype not configured in the kernel. 2017-07-19 21:38:47 CONFIG_VFAT_FS=m 2017-07-19 21:38:52 in /boot/config 2017-07-19 21:40:31 lsmod has it loaded? 2017-07-19 21:42:31 hm it seems i updated the kernel and havent rebooted yet, the old kernel modules are gone and vfat was not loaded 2017-07-19 21:42:37 so i'll just have to reboot 2017-07-19 21:42:39 thanks 2017-07-19 21:43:23 switch to void linux, we keep old kernels around *scnr* 2017-07-19 21:43:44 :) 2017-07-19 21:46:47 yes, reboot fixed it 2017-07-19 22:15:09 nsz: next time - you can also just downgrade, clean / fix the missing bit, and then upgrade again 2017-07-19 22:15:29 and we really need to fix this some day 2017-07-19 22:34:29 Is it normal to get a lot of objtool warnings when building linux-hardened from aports? doesnt happen when building linux-vanilla 2017-07-20 00:52:20 visual basic exploit for gnome file manager! :) 2017-07-20 00:52:20 \o/ https://www.neowin.net/news/linux-file-manager-security-exploit-leaves-a-bad-taste 2017-07-20 01:35:18 hah 2017-07-20 01:35:54 but then, "those who do not understand Windows are doomed to reimplement it poorly" is the slogan of the GNOME project 2017-07-20 01:39:42 LOL 2017-07-20 02:55:19 I'll send $10 ETH in trade for a solution to this problem. I just bought a M.2 SSD. As it turns out this may have been a mistake.. Getting my shiny new NVME drive to work on alpine has been very problematic. I came from void linux whre NVME support is enabled by default, in alpine it is not. So far I have: ran `setup-alpine` ran `cd /; mkdir /boot`, `mount /dev/nvme0n1p1 /boot` Added nvme to mkinit.conf and run `mkinitramfs` I t 2017-07-20 02:55:36 tmp directory and confirmed that the NVME module was present. Apon reboot I still get the same error `mount: on /sysroot failed: No such file or directory` (Pretend the UID is my drive's UID) I ran `modprobe nvme` and got `Directory 4.9.33 not found` which is very odd because the install USB is 4.9.32. Running `uname -r` in the rescue busybox shells also returns 4.9.33. I have limited knowlege on configuring the Linux ker 2017-07-20 02:55:56 rope. Any ideas? 2017-07-20 03:03:58 text cut off at "on configuring the Linux ke" 2017-07-20 03:04:09 wasn't there someone here who said he'd done it before? 2017-07-20 03:04:34 He did I tried hsi instructions. 2017-07-20 03:05:10 They were basically what I'd already done with one extra step which is no longer needed. 2017-07-20 03:05:29 I did as he said just to try it but it made no differance. 2017-07-20 03:06:12 modprobe not working in the busybox rescue shell is very odd. 2017-07-20 03:07:30 good luck 2017-07-20 03:08:19 Also the installed system reporting to be 4.9.33 instead of the USB drives's 4.9.32. It almost seems as if the wrong kernal version is causing it to not boot the initramfs I compiked with the NVME module. 2017-07-20 03:08:52 I sort of thought that since alpine is used for servers it woudl be easier to use NVME with. 2017-07-20 03:36:03 hi 2017-07-20 03:36:32 i have grep 2.25 installed locally (ubuntu 16.04) but can't find what version is in alpine 3.4 2017-07-20 03:36:49 the grep -V option is not supported in alpine's grep 2017-07-20 03:37:24 my problem is it's breaking the nodejs chakracore build script. how would i install another version of grep that is compliant? 2017-07-20 03:39:02 i assume this is the one included by default? https://pkgs.alpinelinux.org/package/edge/main/x86/grep 2017-07-20 03:39:34 sabrehagen: if you didn't install grep 2017-07-20 03:39:37 you're using busybox grep 2017-07-20 03:40:02 Adran: i just ran apk add --update grep 2017-07-20 03:40:23 it installed a grep 2017-07-20 03:40:24 apk add grep 2017-07-20 03:40:38 but still doesn't support -V flag as expected 2017-07-20 03:43:05 Ha, yikes. 2017-07-20 03:45:00 sabrehagen: logout login 2017-07-20 03:45:19 Adran: not a solution 2017-07-20 03:45:29 if i can't apk install grep then run the correct grep, my build will fail 2017-07-20 03:45:48 sabrehagen: which grep 2017-07-20 03:45:55 i bet you're not having the correct grep called 2017-07-20 03:46:03 likely 2017-07-20 03:46:49 Yeah, try /usr/bin/grep instead of just grep. 2017-07-20 03:46:50 weird, starting from a fresh image it worked 2017-07-20 03:47:00 apk install puts it in /usr/bin/grep 2017-07-20 03:47:04 and that's being referenced now 2017-07-20 03:47:16 Yeah but the shell caches the busybox symlink, it seems. 2017-07-20 05:39:28 Maxpm: ah! you're right - thanks for the explanation! 2017-07-20 05:56:32 Can anyone help with issues with awall? 2017-07-20 05:58:18 I've been locked out of ssh and logging in locally looks like awall isn't setting any of my rules correctly 2017-07-20 08:29:08 Hi everyone, I'm new to Alpine, played with it in VM and now want to deploy it to my router (x86_64 machine) for running 2 VMs using KVM there. 2017-07-20 08:29:08 I've stuck with installing Alpine onto USB stick with UEFI. 2017-07-20 08:29:08 There is GPT layout with ESP and ext4 partitions already. ESP is prepared with GRUB2 manually, now I need to somehow install Alpine onto ext4 partition. 2017-07-20 08:29:08 setup-disk /dev/sdb2 fails with `ERROR: unsatisfiable constraints: syslinux (missing)` and the rest. 2017-07-20 08:29:08 Can't find a way to initialize fresh installation from LiveCD there, any ideas? 2017-07-20 08:34:03 does your networking work? 2017-07-20 08:34:36 I've attached USB stick to VM and yes, it has Internet there 2017-07-20 08:35:20 Hm... theoretically it does, but for whatever reson it doesn't currently, let me take a look why 2017-07-20 08:39:30 OK, now I have Internet. But why do I even need syslinux if I have GRUB2 already? 2017-07-20 08:40:56 well you don't, setup-disk will install syslinux to the MBR though 2017-07-20 08:41:08 you should probably set up EFI after 2017-07-20 08:41:33 I don't have MBR, it is GPT and UEFI. Where will it install it?) 2017-07-20 08:41:52 GPT will still have space reserved for the MBR 2017-07-20 08:42:16 Technically yes, but anyway. It doesn't install what it should. How can I resolve it? 2017-07-20 08:42:53 try running apk update first 2017-07-20 08:43:26 It uses /media/cdrom/apks, says 56 distrinct packages available 2017-07-20 08:43:51 then you'll have to add a repository 2017-07-20 08:44:05 setup-apkrepos 2017-07-20 08:44:42 Somehting is happening now, thanks! 2017-07-20 10:42:17 I've tried to load Alpine kernel with UEFI using GRUB2, rEFInd and gummiboot - nothing seems to work, just blank screen. 2017-07-20 10:42:17 Alpine was installed onto ext4 partition using setup-disk /mnt 2017-07-20 10:42:17 There is only a guide how to make bootable USB from iso, but it is not quite what I need, it is even supposed to work? 2017-07-20 10:50:29 yes it is 2017-07-20 10:50:52 well, depends on what you mean by 'it' 2017-07-20 10:51:28 and you're correctly loading the initrd and setting kernel params I assume? 2017-07-20 10:51:39 Then the question becomes how exactly to get Alpine to boot under UEFI. I'm using VirtualBox currently 2017-07-20 10:52:09 I think so, gummiboot config: 2017-07-20 10:52:10 title Alpine Linux 2017-07-20 10:52:10 options root=UUID=87beafed-f619-4509-8ba0-b3dcb0f498c7 modules=sd-mod,usb-storage,ext4 2017-07-20 10:52:10 linux /vmlinuz-hardened 2017-07-20 10:52:10 initrd /initramfs-hardened 2017-07-20 10:54:42 so do you have any idea where it's failing? is this post gummiboot, or? 2017-07-20 10:55:33 I've got the same result with rEFInd and gummiboot, so I'm not sure, probably it is Alpine's kernel issue or something else is not configured right 2017-07-20 10:55:40 in the ISO boot example they use different paths 2017-07-20 10:55:50 hmm 2017-07-20 10:56:03 i got alpine booting under efi before im fairly sure 2017-07-20 10:56:56 I'm also thinking kernel should be fine, but it doesn't even print any errors, just blank screen 2017-07-20 10:57:30 Maybe someone have time to try the same setup again? 2017-07-20 10:58:07 what made you choose /vmlinuz-hardened as path? 2017-07-20 10:58:34 that's the default kernel path relative to /boot 2017-07-20 10:58:35 In case of gummiboot I've copied this file to the root of the ESP partition 2017-07-20 10:58:50 just checking 2017-07-20 10:59:03 Otherwise I didn't find how to load it from ext4 partition directly 2017-07-20 11:01:51 time to install virtualbox then 2017-07-20 11:19:06 nazar-pc: what did you use to add the bootmgr entry? 2017-07-20 11:19:29 No, I'm starting everything from EFI shell 2017-07-20 11:25:13 well I can get syslinux to start at least, though it can't find the kernel 2017-07-20 11:29:02 Are you talking about Live CD? 2017-07-20 11:32:52 I see kernel is compiled with EFI_STUB=y, but it doesn't boot from EFI shell directly either 2017-07-20 11:35:47 no I meant that the vbox bios recognized syslinux, but it was actually because of the MBR, after I erased the MBR it doesn't even show any bootable entries anymore, so I'm trying to figure that out 2017-07-20 11:36:29 (might have something to do with accidentally breaking my entire partition table instead of erasing the MBR :D) 2017-07-20 11:39:50 it works for me with syslinux. 2017-07-20 11:40:14 How did you install it? 2017-07-20 11:41:01 I created an EF00, then added the files like in https://wiki.archlinux.org/index.php/Syslinux -- copied /boot/*hardened to /esp/ -- copied /boot/extlinux.cfg to /esp/EFI/syslinux/syslinux.cfg and changes the paths to include the / instead of being relative 2017-07-20 11:41:36 (nb: here /boot is just part of /dev/sda2 and not the EF00 /dev/sda1) 2017-07-20 11:42:57 And system itself was installed with setup-disk, right? 2017-07-20 11:43:32 yes 2017-07-20 11:43:49 setup-interfaces, setup-apkrepos, setup-disk /mnt is all I did 2017-07-20 11:44:07 OK, I'll try to do the same 2017-07-20 12:06:58 Still exactly the same. Syslinux says Alpine will be loaded in few seconds and when counter ends, screen freezes. Bun, did you enabled EFI in system settings of the VM? 2017-07-20 12:07:09 of course 2017-07-20 12:07:28 What version of VirtualBox are you using? 2017-07-20 12:08:45 https://i.imgur.com/ud2wbLN.png 2017-07-20 12:08:55 5.1.24 2017-07-20 12:11:38 I'm getting this screen too, but nothing comes after it:( Also VirtualBox 5.1.24 2017-07-20 12:12:04 that's very odd, syslinux will at least give errors if it can't find something, so 2017-07-20 12:12:47 It looks like this: https://imgur.com/a/Kyaho only _ at the bottom of the screen 2017-07-20 12:13:15 yeah it shows the _ for a second for me and then it works 2017-07-20 12:13:37 I'm not booting from the EFI shell if that matters 2017-07-20 12:13:44 I type exit and use the menu 2017-07-20 12:14:30 I don't think EFI shell is the reason. Can it be cause by the fact that I'm using USB stick insted of virtual HDD in VM? 2017-07-20 12:14:49 have you tried waiting for a long while? 2017-07-20 12:14:55 no 2017-07-20 12:15:04 the problem is the kernel itself, not your boot medium 2017-07-20 12:15:15 if the boot medium was the issue you'd get early comsole output possibly followed by a panic 2017-07-20 12:15:16 A minute, even more. No disk activity, nothing. 2017-07-20 12:16:07 are you using alpine 3.6? 2017-07-20 12:16:24 Yes, latest downloaded from website 2017-07-20 12:19:30 have you tried not using EFI? ;D 2017-07-20 12:19:40 The same on physical machine: light disk activity initially and nothing. Will try HDD in VM. 2017-07-20 12:20:28 Well, I could, but I'm really happy with EFI simplicity last 3 years or so and don't want to fallback to legacy if I can. 2017-07-20 12:54:44 Bun, I've tried HDD in VM and result is the same. Could you, please, upload your working VM somewhere so that I can look at the differences? 2017-07-20 12:58:17 sure, sec 2017-07-20 12:59:21 https://awoo.nl/alpine.tgz 2017-07-20 13:01:16 Thank you so much! 2017-07-20 13:42:10 Well, boot config is correct, it appears that disctributives are significantly different. Bun, did you install Extended version? If not, why there are lightdm, systemd and other things that are not present when installing clean Standard version? 2017-07-20 13:42:50 systemd? 2017-07-20 13:43:37 I installed alpine-standard-3.6.2-x86_64.iso -- you're probably looking at the wrong thing 2017-07-20 13:43:51 Yes:) I've executed diff on 2 filesystems and this is what appeared there 2017-07-20 13:44:23 I'm pretty sure you're not going to find systemd on Alpine 2017-07-20 13:47:25 Not exactly the whole systemd, but something from it. Here is the diff: https://pastebin.com/DH47r4tb /media/ubuntu/Alpine is my installation, the other one is yours 2017-07-20 13:48:01 wait, there's systemd on some alpine variant? 2017-07-20 13:48:10 no 2017-07-20 13:48:12 Don't think so:) 2017-07-20 13:48:16 wait, what are you even doing 2017-07-20 13:48:18 on that paste 2017-07-20 13:48:19 o_O 2017-07-20 13:48:31 odd way of doing the comparison 2017-07-20 13:48:32 :D 2017-07-20 13:48:53 eudev uses systemd-named directories 2017-07-20 13:49:26 2 drives with Alpine installed in (I though) exactly the same way, however, differences are slightly beyond filesystem uuid difference. I'm just trying to understand why one thing works and another doesn't 2017-07-20 13:51:52 it is *your* image that has a lot of things mine doesn't have 2017-07-20 13:53:25 cause it sure doesn't contain anything called plymouth, samba, openvpn, ... 2017-07-20 13:53:28 Wait, my is Alpine, so `Only in /media/ubuntu/397e54de-6e4a-4de3-9434-b9132d96d1ff/sbin: fsck.ext2` means that my disk doesn't have this file. And many files for whatever reason are shown are not found in both places, don't know why 2017-07-20 13:54:23 are you sure it's not my image that's called Alpine 2017-07-20 13:54:48 Yes, I'm sure. It is called Alpine because I deliberately named partition this way upon creation 2017-07-20 13:55:38 it appears to be dereferencing symlinks 2017-07-20 13:55:41 which obviously won't work 2017-07-20 13:55:43 oh 2017-07-20 13:55:45 yeah 2017-07-20 13:56:09 Hm... will try to avoid symlinks 2017-07-20 13:56:30 also with an interface called enp0s3 2017-07-20 13:56:36 are you 100% sure that's an alpine filesystem? 2017-07-20 13:56:39 sure doesn't look it 2017-07-20 13:56:55 I think diff followed some symlinks 2017-07-20 13:57:14 probably 2017-07-20 14:08:56 Here is correct diff: https://pastebin.com/jJy1aaDb 2017-07-20 14:09:38 so nothing special 2017-07-20 14:09:43 just e2fsprogs 2017-07-20 14:09:45 yeah looks like some deps on one side 2017-07-20 14:09:51 curses, e2fsprogs 2017-07-20 14:10:00 some log files written 2017-07-20 14:10:02 shell history 2017-07-20 14:10:06 so what's the issue ? 2017-07-20 14:10:14 Will try to check if disk layout is the reason, don't know what to think now 2017-07-20 14:10:35 The issue is that one system boots and another doesn't. At all, without errors 2017-07-20 14:10:41 i don't think you actually described the problem, just that you were "trying to understand why one thing works and another doesn't" 2017-07-20 14:10:51 ok, where does it fail in the boot process 2017-07-20 14:10:55 does the bootloader even appear? 2017-07-20 14:11:06 you only have syslinux visible in one of those drives 2017-07-20 14:11:09 (the bootloader) 2017-07-20 14:11:14 probably related? 2017-07-20 14:11:28 Right after syslinux when starts loading the kernel. Light disk activity and freezing. Both in VM and on physical machine 2017-07-20 14:11:58 and you've tried booting up with minimal kernel command line (i.e. removed quiet) 2017-07-20 14:12:00 ? 2017-07-20 14:12:33 I'm pretty sure I've tried a few times, will doublecheck now 2017-07-20 14:13:09 what fs are you using for your rootfs? ext4? 2017-07-20 14:13:14 yes 2017-07-20 14:13:23 without 'quiet' there's still no messages at all? 2017-07-20 14:14:26 Loading /vmlinuz... 2017-07-20 14:14:26 Loading /inirramfs... 2017-07-20 14:14:26 Just 2 lines 2017-07-20 14:14:47 And initramfs ends with ok 2017-07-20 14:14:50 well, make sure there's no quiet, if it still gives nothing without quiet 2017-07-20 14:14:58 reinstall the kernel and rebuild the initrd 2017-07-20 14:16:32 Well, I will, but this happened I think 4 times in a row, not an accident 2017-07-20 14:17:07 well, confirm your kernel commandline 2017-07-20 14:17:35 maybe you need earlyprintk=vga 2017-07-20 14:17:43 if it's crashing/dying before the kernel can init much at all 2017-07-20 14:18:19 I don't think so. Working system and not working both have exacty the same syslinux config. The only difference is ext4 uuid 2017-07-20 14:18:45 what are the two variants ? 2017-07-20 14:19:32 https://thepasteb.in/p/j2hlNwLNBBVfP 2017-07-20 14:20:02 both are hardened? 2017-07-20 14:20:09 Yes 2017-07-20 14:20:35 what medium are you using for both of the images 2017-07-20 14:21:14 VirtualBox HDD. Both IDE and SATA controllers, also USB 3.0 stick both in VM and on physical machine 2017-07-20 14:21:26 which is working and which isn't? 2017-07-20 14:21:50 One VirtualBox HDD works in either mode, another HDD doesn't in either mode 2017-07-20 14:22:13 USB stick is configured the same as not working HDD, so doesn't matter 2017-07-20 14:22:18 but they both mount fine outside, interesting 2017-07-20 14:24:07 How to reinstall kernel and rebuild initrd? I know how to do this on Ubuntu, but not Alpine yet 2017-07-20 14:26:07 apk fix linux-hardened 2017-07-20 14:26:22 which will rebuild the initrd automatically when it completes the reinstall 2017-07-20 14:26:27 I've just deleted and installed again in chroot:) 2017-07-20 14:26:44 or that works too 2017-07-20 14:29:32 Reinstallation didn't help, will investigate partitions layout difference 2017-07-20 14:31:01 when you reinstalled the kernel 2017-07-20 14:31:03 in the chroot 2017-07-20 14:31:15 did you also have /dev /sys /proc bind-mounted inside the chroot? 2017-07-20 14:31:24 No 2017-07-20 14:31:40 that would be necessary for the reinstall to work properly 2017-07-20 14:31:46 OK 2017-07-20 14:31:57 it needs to be able to access the disk dev node to reinstall syslinux 2017-07-20 14:32:11 since it's a chroot and a different host OS you may need to manually reinstall syslinux too 2017-07-20 14:32:45 I'm using EFI setup, MBR is not used 2017-07-20 14:33:13 i'm not familiar with alpine on efi installs, unsure of how it is handled then 2017-07-20 14:33:15 sorry :/ 2017-07-20 14:33:40 Does it still need full disk access? Syslinux loads system from working disk without issues, so this is about ext4 partition itself 2017-07-20 14:34:03 presumably if there's still data outside of the filesystem 2017-07-20 14:34:10 afaik efi requires some fat partition ? 2017-07-20 14:34:15 don't know if it can read from ext 2017-07-20 14:34:31 No, there not. Yes, that partition is separate and known to be working perfectly fine 2017-07-20 14:35:43 really don't have experience here, so can't help much at this point 2017-07-20 14:35:43 sorry 2017-07-20 14:53:19 Well, files from working disk/partition do not work on broken one (uuid was updated, kernel reinstalled, etc.). What can be so horribly wrong with partitioning that kernel can't even boot? 2017-07-20 15:22:07 that's a good question 2017-07-20 15:22:16 how did you create the gpt? 2017-07-20 15:22:30 I used gdisk (gptfdisk) 2017-07-20 16:54:49 why doesen't ash contain common aliases like ll being ls -lah and the like? 2017-07-20 16:54:54 such a PITA 2017-07-20 16:56:57 and why is the prompt black and white 2017-07-20 16:57:04 what is this, 1995? 2017-07-20 16:58:05 you really dont understand the point of ash do you 2017-07-20 16:58:17 also you can easily add/copy most aliases 2017-07-20 16:58:43 if you want a more friendly interactive shell bash/zsh are just an apk invocation away 2017-07-20 17:01:53 bash is black&white as well 2017-07-20 17:02:03 and lacks aliases as well 2017-07-20 17:12:46 omg 2017-07-20 17:13:02 sorry but a bit of the focus in alpine is still on professionals 2017-07-20 17:13:38 and most want a clean root env free of any customization and will provide nice and colourful envs to their users 2017-07-20 17:14:24 but i'm yet to see any, really, ANY serious env that runs on the "oh nice it's colourful" distro defaults for root, or has a stock /etc/skel for the users 2017-07-20 17:15:08 if you run more than 1 system, it's your job to modify that shit, not the distro maintainers 2017-07-20 17:17:54 I raise you Gentoo 2017-07-20 17:18:17 and OpenSuse 2017-07-20 17:30:36 specing - mv /etc/profile.d/color_prompt /etc/profile.d/color_prompt.sh 2017-07-20 17:35:40 oooooooooooh that! 2017-07-20 17:35:47 is coool, I like it 2017-07-20 17:35:54 thanks 2017-07-20 20:08:45 <_ikke_> imo, you should add those aliases yourself 2017-07-20 20:08:52 <_ikke_> (late reply) 2017-07-20 20:33:57 I need help. I'm trying to install gnome. When I run the command "# apk add gnome-base", it returns "ERROR: unsatisfiable constraints: gnome-base (missing): required by: world[gnome-base]". What should I do? d 2017-07-20 20:37:02 There is no such package in repository, try `apk search gnome` 2017-07-20 20:37:30 <_ikke_> or use http://pkgs.alpinelinux.org 2017-07-20 20:41:41 I tried apk search gnome, but I don't know what to search for instead of gnome-base? Gnome-base does not show up in apk search gnome by the way. Thanks for the quick response. I appreciate it. But what exactly am I looking to install with the search? 2017-07-20 20:42:26 *thank for the quick responses, plural :) 2017-07-20 20:44:12 <_ikke_> Methusala: I'm not sure if alpine has gnome as wm 2017-07-20 20:44:51 <_ikke_> Methusala: Looks like edge has some more packeges which seem to indicate someone is packaging it for alpine 2017-07-20 20:44:58 <_ikke_> gnome-desktop/gnome-session 2017-07-20 20:45:44 <_ikke_> Methusala: so if you want anything, you need edge 2017-07-20 20:46:20 gnome-desktop is likely what you want 2017-07-20 20:46:24 I'm already on edge, and that's where it's not working. 2017-07-20 20:46:37 apk add gnome-desktop doesn't work? 2017-07-20 20:47:47 I added gnome-desktop, and when I start lxdm or slim it just freezes on a black screen with an underscore in the top left corner 2017-07-20 20:49:00 I followed these instructions https://wiki.alpinelinux.org/wiki/Gnome_Setup 2017-07-20 20:50:59 Bun, scv, amazing! When partitioning disk with gdisk everything works perfectly in UEFI mode. When partitioned with gparted (gpt partition, fat32 partition, ext4 partition, set esp flag on fat32 partition) it doesn't. I'm very confused right now. 2017-07-20 20:51:03 The section Install Packages is where I got my error 2017-07-20 20:51:19 *gpt partition table 2017-07-20 20:58:57 Should I try XFCE instead? I was hoping for gnome because of the added security of wayland https://wiki.alpinelinux.org/wiki/XFCE_Setup 2017-07-20 21:02:55 Adding gnome-sessions returns the same "missing" error message 2017-07-20 21:15:04 Should I file a bug report? 2017-07-21 06:18:58 Could it be possible to add 32 bit support into the chromium APKBUILD? 2017-07-21 06:25:00 this LUKS passphrase thing is getting weirder and weirder. I no longer have any 64-bit systems that can open a LUKS container by using a passphrase entered from the terminal 2017-07-21 06:25:39 only piping to cryptsetup works - not even keyfiles with the passphrase do 2017-07-21 07:02:48 how do i work out where envsubst is packaged? gettext ? 2017-07-21 07:03:38 pkgs.alpinelinux.org 2017-07-21 07:04:37 and use its content search 2017-07-21 07:05:01 TBB: thank you 2017-07-21 12:31:18 I'm having an problem with logging in over ssh as root 2017-07-21 12:31:37 i already set permitrootloing to yes 2017-07-21 12:33:01 did you restart sshd after changing that? 2017-07-21 12:35:12 even did a restart 2017-07-21 12:35:29 but i think the KVM fucked up 2017-07-21 12:35:39 half of time it does ! as 1 2017-07-21 12:36:06 are you FFING kiding me 2017-07-21 12:38:06 sorry shiv xD 2017-07-21 12:38:20 o and i almost got a fully automated way to install alpine 2017-07-21 13:36:05 hi 2017-07-21 13:36:22 is there a way to get bash 4.4 on alpine without building it from source ? 2017-07-21 13:37:01 don't think so 2017-07-21 13:37:17 :/ 2017-07-21 13:43:19 4.4 is 10 months old... 2017-07-21 15:13:37 Hello dudes 2017-07-21 15:13:48 I've got a question / wonder about jemalloc package 2017-07-21 15:14:14 investigating on the idea of providing couchbase package to alpine 2017-07-21 15:14:28 and we're facing an issue with jemalloc 2017-07-21 15:15:46 couchbase expect it to be prefixed with "je_" but the jemalloc alpine package doesn't use any prefix 2017-07-21 15:19:40 I do wonder if avoiding the prefixing is actually a better option (though, doing so it's not possible for one to use both malloc and je_malloc in the same program) 2017-07-21 15:26:33 which is what couchbase dudes are doing https://github.com/couchbase/indexing/blob/watson/secondary/memdb/mm/malloc.c 2017-07-21 19:02:47 Hi. I'm (planning on) using Alpine for a small server. I want to install ZNC first. Should I install Docker and then ZNC as a container, or create a new user and install znc and run it from that uid? I'm not sure what the best practices are for alpine 2017-07-21 19:08:11 anyone? 2017-07-21 19:10:33 Or should I use vserver? 2017-07-21 19:22:15 hello? 2017-07-21 19:27:21 I think hes dead jim 2017-07-21 19:28:38 :-( 2017-07-21 19:28:49 Would you happen to know arch3y? 2017-07-21 19:29:01 I've just created a new user and installed it using apk, but wondering if that goes against best practices 2017-07-21 19:29:45 I think at that point its user preference 2017-07-21 19:29:52 ideally the znc pkg should isntalll a user Id think 2017-07-21 19:30:02 for it to run as 2017-07-21 19:30:10 it ... it actually did 2017-07-21 19:30:22 how on earth did I miss thta 2017-07-21 19:30:24 that* 2017-07-21 19:30:27 so then everytrhing should be setup to run as the znc user 2017-07-21 19:31:22 thank you!! 2017-07-21 19:32:24 yep yep 2017-07-21 19:32:53 arch3y So should I `su znc` and then do `znc`? 2017-07-21 19:33:04 Oh it says the account isn't available 2017-07-21 19:33:27 its a service account so it may not need to login 2017-07-21 19:33:33 I dont use znc so I cant really say from there 2017-07-21 19:33:37 the best use case for it 2017-07-21 19:35:21 So to use a service account 2017-07-21 19:35:28 arch3y: Should I run `sudo -u znc znc`? 2017-07-21 19:36:02 I dont know much about how znc is setup, as I dont use it 2017-07-21 19:36:16 Ah I just mean in general, using a service account 2017-07-21 19:36:17 but Id think if its a service you start the service and login to the web interface 2017-07-21 19:36:30 arch3y Yep 2017-07-21 19:36:33 a service accnt usually wont have a shell to login to 2017-07-21 19:36:47 so why would you ever need to sudo su - znc 2017-07-21 19:36:52 arch3y I mean to run the command that starts the service 2017-07-21 19:36:57 To start znc I have to run `znc` 2017-07-21 19:37:03 but I need to do that as the user "znc" at the same time 2017-07-21 19:37:08 now there should be a way to start it up 2017-07-21 19:37:22 as in the person who pkged it should of provide a rc file to us to start it 2017-07-21 19:38:03 I dont remember the exact syntax of how to start up rc services but I bet if you look at some examples you could start it and replace whatever service in the example with znc 2017-07-21 19:38:20 hm 2017-07-21 19:39:33 https://pkgs.alpinelinux.org/contents?repo=main&page=3&arch=x86&branch=edge&name=znc 2017-07-21 19:39:47 see the init.d/znc file there is a startup script already 2017-07-21 19:40:01 Ah great! 2017-07-21 19:40:07 https://git.alpinelinux.org/cgit/aports/tree/main/znc?h=master 2017-07-21 19:41:06 arch3y It doesn't seem to set ZNC_USER does it? 2017-07-21 19:42:17 look at /etc/conf.d/znc 2017-07-21 19:42:27 You're absolutely right 2017-07-21 19:42:28 that is what it reads to know what user it needs to start as 2017-07-21 19:42:31 I know lol 2017-07-21 19:42:33 Thank you so much for your help arch3y!! 2017-07-21 19:42:39 yep yep 2017-07-22 10:04:45 does X run as the SUID root program on Alpine? 2017-07-22 10:07:31 yes 2017-07-22 10:07:34 or well 2017-07-22 10:07:42 i can tell that there's suid bins in the package 2017-07-22 10:07:49 i'd like to take a look at rootless X though... 2017-07-22 10:39:17 It was just out of interest, as I've been trying (and failing miserably) to get it working. 2017-07-22 10:47:50 duncan^: iirc ryonaloli had patches 2017-07-22 10:47:56 try pinging him about it :P 2017-07-22 10:50:27 my patch still requires it start up as root. it just allows it to drop privs at runtime 2017-07-22 10:50:47 kinda like logind's method, but less... systemd 2017-07-22 13:57:49 hello, whenever i try to start X i get '(EE) no screens found(EE)' 2017-07-22 13:58:22 my .xinitrc contains a single line: start i3 2017-07-22 13:58:50 did you create an Xorg.conf ? 2017-07-22 13:59:15 i thought that wasn't necessary as X autodetects my setup? 2017-07-22 14:00:12 not always 2017-07-22 14:00:26 depends on what sort of hardware you have 2017-07-22 14:00:36 i just created a new config 2017-07-22 14:00:40 did you install the respective driver packages for your hardware? 2017-07-22 14:00:40 and im rebooting 2017-07-22 14:00:44 gpu, etc 2017-07-22 14:00:46 yes 2017-07-22 14:00:54 nouveau is the proper driver 2017-07-22 14:01:08 kernel driver yes 2017-07-22 14:01:37 but did you install the xf86-video- package 2017-07-22 14:01:38 ? 2017-07-22 14:01:45 no 2017-07-22 14:01:47 xf86-video-nouveau 2017-07-22 14:01:52 that's the xorg driver 2017-07-22 14:02:22 hmm, still no dice 2017-07-22 14:02:35 there's usually other relevant information in the xorg log 2017-07-22 14:02:43 maybe pastebin it to see? 2017-07-22 14:03:04 you can use termbin to do it 2017-07-22 14:03:16 hmm i guess i forgot to install evdev 2017-07-22 14:03:20 looking at the log 2017-07-22 14:03:43 you might need some udev variant too 2017-07-22 14:04:05 i'm not 100% sure as i've only tried X on alpine once and don't particularly recall the details, but it's fairly universal config 2017-07-22 14:04:41 what 'udev varient' should i install? 2017-07-22 14:04:48 there's only one 2017-07-22 14:04:50 anyway 2017-07-22 14:04:53 just use setup-xorg-base 2017-07-22 14:05:00 ive done that 2017-07-22 14:05:01 it should install the basic packages you need 2017-07-22 14:05:23 ill termbin xorg log 2017-07-22 14:05:43 or in this case sprunge it 2017-07-22 14:05:44 .. 2017-07-22 14:06:27 sprunge.us/SISh 2017-07-22 14:07:14 what kind of gpu do you have? it seems like the kernel doesn't recognize it as DRI device 2017-07-22 14:07:24 GT 740 nvidia 2017-07-22 14:07:42 nouveau devs said it's definitely supported 2017-07-22 14:07:43 does /dev/dri exist? 2017-07-22 14:08:03 nope 2017-07-22 14:08:32 have you rebooted since doing setup-xorg-base? 2017-07-22 14:08:34 it may be necessary 2017-07-22 14:08:38 ls | grep 'dri' in the /dev directory didnt find it 2017-07-22 14:08:42 and yes i have 2017-07-22 14:08:57 what about after # modprobe nouveau 2017-07-22 14:09:15 i dont think ive ran that hold on 2017-07-22 14:10:28 still no screens found :( 2017-07-22 14:11:49 does /dev/dri exist now? 2017-07-22 14:11:59 if still not, try dmesg | grep -i 'drm\|dri' 2017-07-22 14:12:02 and see what that outputs 2017-07-22 14:13:20 http://sprunge.us/EEhg 2017-07-22 14:15:15 should i try installing the vesa driver? 2017-07-22 14:18:00 what about grep -i nvidia 2017-07-22 14:18:06 or grep -i 'nvidia\|nouveau' 2017-07-22 14:18:50 http://sprunge.us/BahD 2017-07-22 14:19:37 looks like it's not detecting your card 2017-07-22 14:21:02 it does on other distros with open source drivers 2017-07-22 14:21:12 like arch and gentoo are fine 2017-07-22 14:21:44 if you're not getting any hits for nouveau on dmesg it seems like the nouveau module ain't even loaded? 2017-07-22 14:24:56 hhmmmm 2017-07-22 14:25:08 nomodeset is set as a kernel parameter 2017-07-22 14:25:25 from reading the arch wiki 2017-07-22 14:25:31 this should be disabled 2017-07-22 14:27:14 yep i got it to work 2017-07-22 14:27:56 http://sprunge.us/XDYj 2017-07-22 14:31:43 ah 2017-07-22 14:32:04 odd, i thought we had fixed the script to remove that from kernel params 2017-07-22 14:32:07 thanks for investigating 2017-07-22 14:32:39 np 2017-07-22 14:33:02 xorg is just showing a blank screen now 2017-07-22 14:33:48 it is showing a screen, however :^) 2017-07-22 14:33:53 where can i permanently change the kernel parameters? 2017-07-22 14:34:01 yes at least it is running scv 2017-07-22 14:40:14 cur1ous: /etc/update-extlinux.conf 2017-07-22 14:40:22 default_kernel_opts= 2017-07-22 14:41:01 ty 2017-07-22 14:43:33 retried X -configure but it exits with an error 2017-07-22 14:43:41 i cant find anything in the log though 2017-07-22 14:46:51 i edited the update extlinux config but nomodeset still shows up in /proc/cmdline after reboot (also nomodeset still kicks in) 2017-07-22 14:48:20 right 2017-07-22 14:48:24 you need to run update-extlinux after that 2017-07-22 14:48:30 to propagate the changes 2017-07-22 14:48:31 Lol 2017-07-22 14:48:51 silly me 2017-07-22 14:51:07 hmmm 2017-07-22 14:51:32 when i run startx from root i3 starts successfully 2017-07-22 14:52:11 when i run it from my normal user, startx just results in a blank screen 2017-07-22 14:54:02 ohhh 2017-07-22 14:54:06 forgot to chmod it 2017-07-22 14:55:27 it = .xinitrc 2017-07-22 14:55:54 hmm still doesnt work with my user 2017-07-22 14:57:07 don't you mean chown :P 2017-07-22 14:58:53 hmm 2017-07-22 14:59:02 how can i chown it again? 2017-07-22 14:59:35 chown myuser:myuser .xinitrc right? 2017-07-22 14:59:40 chown myuser: ~myuser/.xinitrc 2017-07-22 14:59:56 alright thanks 2017-07-22 15:00:03 fun chown protip: if you include the colon but dont add a group name it'll chown to the main group of that user too 2017-07-22 15:00:53 still not working :( 2017-07-22 15:01:28 hold on let me try giving it 755 perms 2017-07-22 15:02:36 nope :( 2017-07-22 15:03:01 im going to brb 2017-07-22 18:50:23 Hi ... has anyone managed to install VirtualBox on Alpine Linux so that you can use it as a VM host? 2017-07-22 19:07:51 i've noticed that there isn't a package for virtualbox ... so i was wondering how hard it would be to get it going. 2017-07-22 19:13:00 pregabalin: as far as I know it isn't designed to target musl, and you need a proprietary (or encumbered) compiler to build certain parts of it 2017-07-22 19:13:56 have you considered other options? kvm or xen? (are there others?) 2017-07-22 19:15:48 ACTION has relied on vmware for a long time and isn't that familiar with what plays well with alpine 2017-07-22 19:21:08 duncan^: yeah i have thought xen might be nice 2017-07-22 19:21:30 jzono1: that was for you i have thought xen might be nice 2017-07-22 19:23:29 i've been using mostly openbsd these days ... and while i spent numerous years using gentoo as a daily driver on my notebook ... these days i don't have as much time 2017-07-22 19:23:52 i love open-rc 2017-07-22 19:24:31 and having musl and busybox is intriguing enough ... 2017-07-22 19:24:40 looks like exactly what i want 2017-07-22 19:24:47 just trying to sort out virtualization 2017-07-22 19:25:13 i would be using openbsd ... but i need to test other distros, run pentesting stuff, etc etc 2017-07-22 19:25:27 i even considered qubes os 2017-07-22 19:25:43 but ended up considering it hype 2017-07-22 19:26:01 It's not hype, it has very good ideas that are implemented relatively sanely. 2017-07-22 19:26:10 great ideas i agree 2017-07-22 19:26:23 but the firewall vm is still running a fat fedora box 2017-07-22 19:26:34 Change it then. 2017-07-22 19:26:40 yeah could do that 2017-07-22 19:27:19 but to build a qubes os like setup 2017-07-22 19:27:31 using alpine might be better 2017-07-22 19:27:51 There's a lot more to Qubes than just virtualizing certain things 2017-07-22 19:27:58 yeah i know 2017-07-22 19:28:09 i've looked at that too 2017-07-22 19:28:15 it would be a total pita 2017-07-22 19:28:39 to reproduce 2017-07-22 19:28:56 or to fork 2017-07-22 19:31:42 i found this 2017-07-22 19:31:44 http://roscidus.com/blog/blog/2016/01/01/a-unikernel-firewall-for-qubesos/ 2017-07-22 19:31:53 a guy who replaced the firewall vm 2017-07-22 19:32:05 and his github 2017-07-22 19:32:08 https://github.com/talex5/qubes-mirage-firewall 2017-07-22 19:33:50 it's quite easy to laugh at the unikernal gravy train 2017-07-22 19:35:19 yeah ... but the point was it shouldn't be too far fetched to replace it with openbsd 2017-07-22 19:35:26 or alpine 2017-07-22 19:35:27 ;) 2017-07-22 19:35:40 do it then 2017-07-22 19:35:59 openbsd has xen(4) 2017-07-22 19:37:16 bare metal hypervisors :3 2017-07-22 19:38:26 ewww 2017-07-22 19:43:31 it'll be interesting to try xen after years of using esxi 2017-07-22 19:45:40 don't really have a good reason for switching over, but I'm redoing my home server completely anyway, and I might as well try it 2017-07-22 19:47:10 xen is good stuff ... but openbsd supports it only as a domu although netbsd supports it as a dom0 2017-07-22 19:47:28 openbsd did get its own hypervisor though ... vmm 2017-07-22 19:47:48 its not a type 1 ( baremetal like xen ) 2017-07-22 19:48:08 microkernel is the future of security 2017-07-22 19:48:27 speaking of which ... i wonder how minux has progressed over the years 2017-07-22 19:49:57 anyway 2017-07-22 19:50:32 atm i'm running freebsd on this machine 2017-07-22 19:50:32 which is ok 2017-07-22 19:50:41 i'm not sure what i will end up with 2017-07-22 20:15:46 no, it's not the future 2017-07-22 20:31:22 xen is a microkernel 2017-07-22 20:31:46 hurd of course 2017-07-22 20:33:38 i'm not saying that minix is the future 2017-07-22 20:33:56 i still think its more geared towards educational purposes 2017-07-22 20:36:27 anyway peace 2017-07-22 20:36:28 i'm out 2017-07-22 21:56:41 ACTION puts on tortoise shell amber sunglassses. "minix is the present, yo" 2017-07-22 22:31:31 X gives me a blank screen when I run 'startx' as a normal user. When I run it as root it starts up just fine. My Xorg logs don't show anything, however there is a brief error when starting up, but it is too fast to see. I can't exit Xorg when I'm in the black screen, and all my TTYs freeze when I try to kill the X process from htop. 2017-07-22 22:32:31 Nevermind, I posted this question in the xorg chat as it is more suitable there. 2017-07-22 22:53:17 Sorry for re-asking this but... X gives me a blank screen when I run 'startx' as a normal user. When I run it as root it starts up just fine. My Xorg logs don't show anything, however there is a brief error when starting up, but it is too fast to see. I can't exit Xorg when I'm in the black screen, and all my TTYs freeze when I try to kill the X process from htop. 2017-07-22 22:53:46 possible hint: try recording your screen to see the error? :P 2017-07-22 22:53:51 ohh 2017-07-22 22:53:57 yeah i checked that error 2017-07-22 22:54:04 there really wasnt an error lol 2017-07-22 22:54:29 oh 2017-07-22 22:54:45 could grsecurity be restricting my user from writing to /dev/dri? 2017-07-22 22:54:55 likely not, also that'd give you an actual error 2017-07-22 22:55:03 in xorg.log 2017-07-22 22:55:24 yeah i checked the /var/log thing 2017-07-22 22:55:27 no errors 2017-07-22 22:57:00 would you like to see my xinitrc? 2017-07-22 22:57:25 i copied it from /etc/X11/xinit 2017-07-22 22:59:47 shiz? 2017-07-22 23:00:05 well 2017-07-22 23:00:41 im not sure if i can help you :P 2017-07-22 23:00:49 nothing relevant in dmesg after you launch x? 2017-07-22 23:00:54 ill check 2017-07-22 23:03:18 hmmmm 2017-07-22 23:03:24 i rmed everything in xinitrc 2017-07-22 23:03:33 and just put i3 2017-07-22 23:03:37 and it worked :) 2017-07-22 23:06:40 :P 2017-07-22 23:09:14 shiz how can i install lightdm? 2017-07-22 23:09:21 with the gtk greeter 2017-07-22 23:09:40 apk add lightdm? :P 2017-07-22 23:10:17 does that have gtk greeter in it? 2017-07-22 23:11:59 i think so 2017-07-22 23:13:02 https://pkgs.alpinelinux.org/contents?branch=edge&name=lightdm&arch=x86_64&repo=testing 2017-07-22 23:13:06 doesnt look like it 2017-07-22 23:13:52 hmm 2017-07-23 04:58:24 So I am a Alpine newbie, and I am having trouble installing Alpine Linux on my Raspberry Pi 3. Anyone know why I keep getting the error message ";open /dev/ttyS0: No such file or directory" on boot? 2017-07-23 05:25:52 Is there any appetite for a FIPS 140-2-enabled version of OpenSSL in the package repo? 2017-07-23 06:00:40 <_ikke_> ninthstone: You know alpine mostly switched to libressl? 2017-07-23 06:01:56 sure, but this is driven by compliance more than technical needs. There are some environments (government) where validate crypto is required 2017-07-23 06:02:50 and, OpenSSL is still in the package repo 2017-07-23 06:05:17 I guess I could just pull the Alpine-specific patches from the OpenSSL `APKBUILD` and do it by hand 2017-07-23 08:57:27 Anyone here use Alpine on a Thinkpad? In particular, any gotchas on getting the function keys working? 2017-07-23 08:57:37 Normally, there is something called thinkpad_acpi. 2017-07-23 09:05:42 Oh, nevermind. 2017-07-23 11:02:21 Hi, i've just discovered alpine mentioned in some docker stuffs. Is it usable on standalone VPS servers to replace Debian? Wich is a good starting point? "Virtual" ? 2017-07-23 11:02:49 yes 2017-07-23 11:02:59 depends on what exact hardware/emulation your vpses use 2017-07-23 11:03:07 standard is always a safe choice 2017-07-23 11:07:38 @Shiz i think the provides uses Xen - is there any big difference between virtual and standard? Or its just the kernel 2017-07-23 11:07:53 its just the kernel and the packages on the boot medium afaik 2017-07-23 11:08:09 so nothing you can't fix after you've got internet conenctivity 2017-07-23 11:08:18 @Shiz thanks, i will start from the standard then 2017-07-23 11:09:09 I'm very curious about it. I'm pissed off by Ubuntu, Debian & C. becoming too much "invasive" 2017-07-23 11:13:07 badpenguin just another one reaching their breaking point, not surprising 2017-07-23 11:13:26 we welcome you with open arms back to a distro built the way linux distros should be built 2017-07-23 11:13:26 :D 2017-07-23 11:13:41 @scv yes, for now i'm migrating from debian wheezy/jessie to devuan 2017-07-23 11:14:07 but what i'm looking for is a "slackware/frebsd kind" with security updates 2017-07-23 11:14:21 devuan is a suitable stopgap 2017-07-23 11:14:29 so actually i've migrated 9 machines from centos/debian to devuan and 1 debian to FreeBSD 2017-07-23 11:14:46 if i don't find a suitable solution i will migrate all to freebsd 2017-07-23 11:15:27 freebsd's nice but there's a few rare apps that don't play nice over there 2017-07-23 11:15:29 then i noticed some docker stuff using alpine so i thought "maybe this distro is actively supported?" 2017-07-23 11:16:07 at my previous day job i moved the entire line of business suite from centos 6 to alpine instead of upgrading it all to centos 7 / systemd nightmare 2017-07-23 11:16:20 i work mainly on webserver, this implies lighttpd/nginx, mysql/postgress and php-fpm - so standard things 2017-07-23 11:16:26 cut memory usage by half, sped up deployment nearly three times 2017-07-23 11:16:48 disk space usage significantly lower as well 2017-07-23 11:17:01 tha't not the point :) 2017-07-23 11:17:30 the point is that you are not having anymore control on the system :) things happens magically like in good old windows NT :-P 2017-07-23 11:17:32 they were just positive side effects of switching to a sane distro 2017-07-23 11:17:56 we don't ship mysql, we ship mariadb 2017-07-23 11:17:58 :P 2017-07-23 11:18:28 good 2017-07-23 11:18:38 sorry i still call it mysql :-P 2017-07-23 11:19:21 reminds me i should probably try to submit my galera patchset to alpine-aports 2017-07-23 11:19:23 now: openssh or dropbear ? this is a really good question LOL 2017-07-23 11:19:36 dropbear is good for 99% of cases 2017-07-23 11:19:37 im not a big fan of dropbear 2017-07-23 11:19:49 but its easy to switch between either 2017-07-23 11:19:55 really personal preference 2017-07-23 11:24:21 uhm any reason why the "sys" create a /boot of 100MB at the beginning? i tought the days of that starting partition was over 2017-07-23 11:25:14 it's necessary for EFI if i remember correctly? most if not all distros still do separate /boot 2017-07-23 11:25:29 why would they be over? 2017-07-23 11:25:36 a separate /boot is necessary if you do any kind of nontrivial part setup 2017-07-23 11:25:39 raid, encryption 2017-07-23 11:25:43 or if you're on an EFI system yes 2017-07-23 11:25:59 its good practice regardless 2017-07-23 11:26:02 ok, so far the setup was very nice i loved it 2017-07-23 11:26:24 i will try to go over with custom partition scheme using the wiki's instructions 2017-07-23 11:53:15 is there a correct way to chroot from the iso into an installed system? i've done: "setup-dsk /mnt". Then, after chrooted i'm unable to mount proc. it says "are you root?". I already tried to disable grsecurty chroot_deny_mount. 2017-07-23 11:57:11 Anyone know why screen logs "/dev/null/utmp: Not a directory"? 2017-07-23 12:03:00 Ovius because musl doesn't support utmp/wtmp, it's safe to ignore it 2017-07-23 12:03:12 scv: Ah thank you, that makes sense 2017-07-23 12:03:20 scv: Is there any way to supress it, or should I not bother? 2017-07-23 12:03:36 i don't know of a flag to suppress it, but it doesn't harm anything 2017-07-23 12:05:23 Okay, thank you! 2017-07-23 12:26:46 Did I just leave and reconnect? 2017-07-23 12:29:12 anyone? 2017-07-23 12:29:35 no 2017-07-23 12:29:45 hm 2017-07-23 12:33:22 Okay managed to install grub on a single partition someway. Didn't solved the "are you root?" problem. Anyway "15MB ram" used!!! :) I now understand why people use it in docker :-P 2017-07-23 12:38:31 badpenguin: https://gist.github.com/thde/5312a42665c5c901aef4 2017-07-23 12:39:12 badpenguin: that's a shell script used for alpine installations. maybe you can get few hints from it 2017-07-23 12:44:37 @dfs thanks but i'm fine with grub now :) 2017-07-23 12:45:43 is it alpine also suitable for desktop users? 2017-07-23 12:50:13 It's fine. 2017-07-23 12:51:35 @duncan^ so, stuffs like libreoffice are available on external repositories? 2017-07-23 12:52:34 Why don't you search the package repository before asking impertinent questions? 2017-07-23 12:52:36 alpine is not really designed for desktops 2017-07-23 12:52:41 i mean it works, but that's not the primary purpose 2017-07-23 12:57:57 @duncan^ i did apk search libreoffice :) 2017-07-23 12:58:20 you've probably not added the relevant repository 2017-07-23 12:58:41 see /etc/apk/repositories and enable the relevant one. 2017-07-23 12:58:51 just give him the link to pkgs 2017-07-23 12:59:14 pkgs.alpinelinux.org 2017-07-23 12:59:15 https://pkgs.alpinelinux.org/packages?name=libreoffice&branch=&repo=&arch=&maintainer= 2017-07-23 12:59:21 @duncan^ sorry, 1st day, still reading the wikis :) i'm trying to create a custom virtual package right now 2017-07-23 12:59:27 darkfader: make the newbies writhe 2017-07-23 12:59:46 their pain is pure entertainment 2017-07-23 13:00:30 no pain just evaluating 2017-07-23 13:00:58 i'm still unable to read 50 browsers tabs in 30 mins :-( 2017-07-23 13:01:06 duncan^: you know, if you run into something, i'll remember. 2017-07-23 13:01:35 ofc people with questions should not waste others' time 2017-07-23 13:01:47 but doing it the other way round is a disgrace 2017-07-23 13:02:17 you're actively taking away they could use to learn faster. 2017-07-23 13:02:49 but i'll have a cocktail for both of you later. 2017-07-23 13:09:09 also this "ACF" project sounds interesting as i'm used to Webmin for some applicance :) 2017-07-23 13:09:33 What? That was a joke... I was trying to help this person. 2017-07-23 13:11:37 hahaha the joy of IRC :-P 2017-07-23 13:13:15 you know i still haven't figured out if this darkfader is the same darkfader from the old ds homebrew scene 2017-07-23 13:13:57 anyway my first impression is very positive, expecially "apk" is blazing fast 2017-07-23 13:26:56 for smtp i'm used to install nullmailer and forward everything (cron, php mail(), etc.) to an external smtp server; what daemon do you suggests me to use on Alpine to do the same? 2017-07-23 13:27:46 ssmtp 2017-07-23 13:27:59 no daemon is required to do that 2017-07-23 13:36:57 Thank's guys i think i've everything to start, technically, implementing my custom ISO with Webmin and Asterisk. 2017-07-23 13:40:31 / user632 #tor 2017-07-23 13:40:35 oops 2017-07-23 13:52:37 is #alpine-devel the right place to discuss "how to contribute" if i get some free time and more love for this project? 2017-07-23 14:03:51 hi all, when building node-chakracore on alpine using this dockerfile (https://github.com/sabrehagen/node-chakracore-docker/blob/master/Dockerfile) I get this error in my build log (https://gist.github.com/sabrehagen/37f32decda09fd0c27e7afff09c7e813) 2017-07-23 14:04:49 googling "fatal error: 'xmmintrin.h' file not found" doesn't yield a lot I can understand. is this likely something specific to alpine and the packages i have installed? 2017-07-23 14:12:14 Anyone have any experience in setting up strongswan? 2017-07-24 00:28:09 If I'm using diskless mode, how do I pull down packages without internet? 2017-07-24 00:52:09 Has anyone ever experienced their wifi disconnecting randomly? I am using alpine installed on my hdd. If I need to give anymore info up, let me know. 2017-07-24 00:53:42 I currently have one Alpine machine that does exactly that 2017-07-24 00:53:55 disconnects and immediately reconnects, on a regular interval 2017-07-24 00:54:17 I have to reconnect manually. 2017-07-24 00:55:04 but I also use a slew of commands to connect to wifi from terminal 2017-07-24 00:56:07 okay; I have wpa_supplicant configured to the point where it does the reconnecting itself... I don't even know how long it's been doing this tho, I just recently added wpa_gui to start with the desktop 2017-07-24 00:56:55 could be my access point's fault too, tho ... which is, coindidentally, also an Alpine box 2017-07-24 00:57:42 hmm, yea, it usually only happens when I use the free wifi at work. 2017-07-24 00:58:40 None of the wifi gui progs work for me 2017-07-24 00:59:54 But I dont mind using terminal to connect either. Its just very frustrating to be in the middle of a download and lose connection 2017-07-24 01:08:34 What do you guys think about alpine compared to other distros? Why did you choose alpine? 2017-07-24 01:09:17 Is there any must have progs for alpine that I may be missing? 2017-07-24 01:25:11 for me Alpine offers a compact package, I appreciate security being part of their approach, and their overall approach 2017-07-24 01:25:52 (at 4:25 am I'm probably allowed to repeat words within a single line of text...) 2017-07-24 01:30:58 One thing I still can't get working is the volume control keys on a ThinkPad. 2017-07-24 01:31:31 And yeah, I enabled the thinkpad_acpi kmod. 2017-07-24 01:31:40 Brightness keys work fine. 2017-07-24 01:32:46 for me it's exactly the other way around - volume keys work (at least under XFCE), brightness control doesn't :) 2017-07-24 01:34:06 but overall, I wouldn't yet recommend Alpine for desktop use (and I know I'll be getting flak for saying it), it needs slightly more polish (and people who are willing to do that polishing) 2017-07-24 01:35:12 it's mostly there by now but there are some little things here and there that can sometimes be really annoying 2017-07-24 01:37:00 I too chose alpine for its stance on security. Ubuntu and a few other 'noob' distros just got boring for me. 2017-07-24 01:37:37 Plus I want to learn more about linux and start to learn programming. 2017-07-24 01:39:10 sounds to me you're on a good path 2017-07-24 01:40:20 for me this was purely a professional choice, I work on a project making a specific product which wanted other things than what the originally chosen base distro could offer, and Alpine pretty much filled the requirements 2017-07-24 01:41:25 but I got enthusiastic enough to switch some of my home infra to run Alpine and during the roughly two years I've been working with the distro I like the environment 2017-07-24 01:42:16 clarification, "working with the distro" might give the wrong impression, working with the distro as the base is more correct 2017-07-24 01:42:28 not officially involved in the distro itself 2017-07-24 01:44:44 A good path it may be but I am starting late on the programming aspect. I am almost 33, so its going to be rough. 2017-07-24 01:46:16 But I learn better when I put myself in tough situations. 2017-07-24 01:46:38 nah, if you have the passion, the drive to learn it, age means nothing :) 2017-07-24 01:47:15 and that's good insight you've got there, a lot of people get comfortable with what they already know and risk becoming obsolete 2017-07-24 01:47:16 Well that is good to hear... 2017-07-24 01:48:21 Yea, I would rather be stuck in the middle of the 'storm' than watching it from afar. 2017-07-24 01:48:55 and you've done something else before choosing your current path - and as life has demonstrated many times, some of what you've done earlier will bring something to what you currently do 2017-07-24 01:49:58 I'm soon 47 and I've been in that situation a couple of times when I've felt like I don't want to push myself forward; luckily, I've always landed jobs that have been so interesting they've automatically given me that push 2017-07-24 01:50:41 the comfort zone is a killer 2017-07-24 01:50:56 Hell yeah!! That gives me some hope..... hahaha!! 2017-07-24 01:54:26 for me personally it's been one of my hobbies that has brought so much to my professional life that I probably wouldn't even land jobs without it. and it's got nothing to do with computing at all, it's more a sport really; I got competitive and that stuff is something that can be applied to pretty much anything in life 2017-07-24 01:55:16 I don't really use a full desktop environment anyway so I'm not banking on typical DE functionality. 2017-07-24 01:57:24 ash did cause some weirdness with my wm-of-choice (wmii) though so I am still cautious about using it for my main workstation. 2017-07-24 01:59:01 I have been repairing computers ever since I had a computer to break. I can repair alot of things, just now got the spark to code. And my attention to details will definitely show in my work. I am a perfectionist, so I follow strict guidelines with everything I do. 2017-07-24 02:04:54 I mainly want to learn to write drivers for linux 2017-07-24 02:07:38 are there any mods on the forums? 2017-07-24 16:13:37 nodejs-current is seemingly 8.2.1 but mine seems oblivious to it and just stays on 8.1.4 . other packages do update... any idea? 2017-07-24 16:15:27 http://pkgs.alpinelinux.org/packages?name=nodejs-current&branch=&repo=&arch=&maintainer= 2017-07-24 16:15:30 looks 8.1.4 to me? 2017-07-24 16:16:04 Shiz: https://git.alpinelinux.org/cgit/aports/tree/community/nodejs-current/APKBUILD ? 2017-07-24 16:16:36 maybe pkgrel should be 1 and not 0? 2017-07-24 16:16:37 seems the builders are having issues, i think 2017-07-24 16:16:49 yep, they are 2017-07-24 16:17:01 other packages do update though 2017-07-24 16:17:44 I am trying to build linux-hardened, but i get lot's of objtool warnings, is this normal? 2017-07-24 16:18:25 pkgrel being 0 is fine 2017-07-24 16:18:53 jnt: yes 2017-07-24 16:19:03 avih: the pkgrel is fine 2017-07-24 16:19:08 k 2017-07-24 16:19:09 it starts at 0 2017-07-24 16:32:57 Shiz: okay thanks. would it be okay to submit a pull request to enable DNOTIFY? NFSv4 rpc.idmapd needs it. Also alpine ships the rpc.svcgssd initscript, but the binary isn't built. 2017-07-24 16:33:38 i wouldn't mind, ask the pkg maintainer to be sure though 2017-07-24 16:33:40 i think it's ncopa? 2017-07-24 16:36:23 yeah, what's the best way to ask? just submitting it and seeing what he says? 2017-07-24 16:38:13 probably, may be useful to ping him in the comment 2017-07-24 16:38:38 Shiz: okay, gonna do that. 2017-07-24 16:45:02 jnt: generally, if it involves considerable amount of work (which i think your case isn't) then it's better to ping before you start putting the work, IMO 2017-07-24 17:02:27 hi jnt 2017-07-24 17:02:37 i though we had DNOTIFY enabled 2017-07-24 17:02:46 however 2017-07-24 17:02:56 i think the only thing that needs DNOTIFY is nfs 2017-07-24 17:03:10 so i'd prefer fix nfs code to use INOTIFY instead 2017-07-24 17:03:17 which is better 2017-07-24 17:03:33 i remember looking at is a couple of years ago and i think someone mentioned in the nfs mailing list 2017-07-24 17:03:45 maybe even sent patch (i dont remember exactly) 2017-07-24 17:05:10 jnt: it woudl be good if you could send an email on nfs mailing list and ask for INOTIFY support, explain that some distros (like aline) does not have it enabled 2017-07-24 17:05:11 to make upstream aware of the problem 2017-07-24 17:05:31 IIRC DNOTIFY is deprecated in kernel 2017-07-24 17:05:44 and i want avoid enabling it unless absolutely necessary 2017-07-24 17:12:36 ncopa: okay, I will look for that patch and see if it works for alpine. 2017-07-24 17:12:54 i dont remember if there were any patch 2017-07-24 17:13:30 but you could check what the status for INOTIFY support is 2017-07-24 17:14:01 i think i looked at the dnotify code and it is not very efficient 2017-07-24 17:14:06 due to dnotify limitations 2017-07-24 17:14:27 using inotify is technically a better solution 2017-07-24 17:18:38 ncopa: I found a patch on the linux-nfs mailing list although it looks like it was not applied 2017-07-24 17:21:09 url? 2017-07-24 17:21:46 is there a way to remotely replace an OpenVZ box with alpine? 2017-07-24 17:22:04 https://patchwork.kernel.org/patch/9802949/ 2017-07-24 17:25:45 Xe: in theory: curl $alpine_mirror_url/busybox-static.$something.apk | tar -zx 2017-07-24 17:25:59 curl $alpine_mirror_url/apk-tools-static.$something.apk | tar -zx 2017-07-24 17:26:50 ./sbin/apk.static --initdb / # this one is dangerous on alpine systems so watch out! 2017-07-24 17:27:28 remove all files except the busybox.static and apk-tools.static binaries 2017-07-24 17:27:52 ./bin/busybox.static mv ./bin/busybox.static /bin/busybox 2017-07-24 17:28:01 /bin/busybox --install -s 2017-07-24 17:28:10 now you have a busybox system 2017-07-24 17:28:20 and an apk.static 2017-07-24 17:28:31 from there you can install your alpine system 2017-07-24 17:28:36 fix fstab 2017-07-24 17:28:40 fix bootloader 2017-07-24 17:28:56 make sure the needed services are started at boot up 2017-07-24 17:42:35 ncopa: so i searched the nfs-utils source and this really seems to be the only place where DNOTIFY is still used 2017-07-24 18:11:28 ncopa: I added the patch to the APKBUILD and idmapd starts without DNOTIFY now. 2017-07-24 18:19:13 nice! 2017-07-24 18:19:15 does it work? 2017-07-24 18:22:06 jnt: i'd prefer add that patch than enable DNOTIFY in the kernel 2017-07-24 18:23:53 and that patch could likely be improved too 2017-07-24 18:24:08 i think dnotify will only tell you that something changed in dir 2017-07-24 18:24:20 so they have to scan the dir to figure out what changed 2017-07-24 18:24:33 with inotify the kernel will tell you exactly what changed 2017-07-24 18:24:56 so you should not need need to scan the dir 2017-07-24 18:41:42 ncopa: Well, I agree that that would be better, but I kinda don't feel like doing that right now, I just want NFS to work, and it's not like I ever had a problem with performance. 2017-07-24 18:43:58 ok 2017-07-24 18:44:07 can you verify that it works? 2017-07-24 18:44:11 and i'll apply that patch 2017-07-24 18:44:32 someone needs to follow that up with upstream 2017-07-24 18:51:48 ncopa: well it starts, I will do some further testing later, but real life is calling right now, I'll be back in an hour or so. 2017-07-24 18:52:07 ill file an issue so we dont forget it 2017-07-24 18:52:14 i already forgot it once... 2017-07-24 18:53:29 jnt: #7599 2017-07-25 00:33:53 ncopa: I wish i could confirm that idmapd is working, but rpc.svcgssd isn't working, it get's killed by grsec when authenticating a user principal, so I can't get nfs working. I will try using linux-vanilla for now. 2017-07-25 00:54:07 I give up, guess I'll need to use a different distro for NFS. 2017-07-25 06:43:10 jnt: thanks for you help so far 2017-07-25 07:58:49 Hm, having trouble getting pptp working via pppd. 2017-07-25 08:00:44 I've installed ppp and loaded a bunch of kernel modules: ppp_generic, pptp, nf_nat_pptp, nf_conntrack_pptp... 2017-07-25 08:01:05 As soon as the connection happens I just get modem hangup. 2017-07-25 08:58:33 I tried to follow the instructions here: https://wiki.alpinelinux.org/wiki/Raspberry_Pi_3_-_Setting_Up_Bluetooth to get Bluetooth running on my RPi 3. But it doesn't work. I can't find the 'hciattach' command and (therefore?) 'bluetoothctl' always shows 'No default controller available'. What am I missing here? 2017-07-25 09:01:27 This is probably the package you want: https://pkgs.alpinelinux.org/package/edge/main/armhf/bluez-deprecated 2017-07-25 09:02:03 Er, not edge though. 2017-07-25 09:03:09 (this is a useful link for the purpose of searching package contents: https://pkgs.alpinelinux.org/contents) 2017-07-25 09:37:37 shrizza_: Great! Thank you so much! 2017-07-25 09:41:44 Does the tutorial has to be updated? Is there any information about the current (i.e. non-deprecated) workflow? 2017-07-25 09:45:11 https://wiki.alpinelinux.org/wiki/LXC#Unprivileged_LXC_images_.28Debian_.2F_Ubuntu_.2F_Centos_etc...29 2017-07-25 09:45:16 What is the state of LXC @ Alpine? 2017-07-25 09:45:31 and esp of support for unprivileged containers 2017-07-25 11:47:47 Hi! I have already posted to forum, but maybe my problem is simple and easy to solve: when installing alpine I get "script exited with error 127" on busybox-1.27.0-r2.post-install, alpine-baselayout-3.0.4-r0.pre-install, alpine-baselayout-3.0.4-r0.post-install, openrc-0.24.1-r2.post-install and busybox-initscripts-3.1-r1.post-install 2017-07-25 11:48:20 I think that scripts are not even running. What may cause this? How do I debug? 2017-07-25 11:53:45 tpimh: hmm, are you trying to install for a different arch than your kernel? 2017-07-25 11:56:36 Shiz: no, the arch is x86_64 for everything. The problem is that I'm trying to install in in PRoot (which was probably never done before) 2017-07-25 11:56:48 what's proot? 2017-07-25 11:57:10 chroot that doen't require superuser permissions 2017-07-25 11:57:51 What is the state of Ada in Alpine? Is GNAT available? 2017-07-25 11:57:58 specing: yes, gcc-gnat 2017-07-25 11:58:26 tpimh: what happens when you try to run any of the binaries yourself 2017-07-25 11:58:28 e.g. simply busybox --version 2017-07-25 11:58:32 in the proot 2017-07-25 11:58:42 Shiz: it works as expected 2017-07-25 11:58:55 exit code 127 means that it couldn't find a binary 2017-07-25 11:59:01 Shiz: odd, I can't see it on https://pkgs.alpinelinux.org/packages?name=gnat&branch=&repo=&arch=&maintainer= 2017-07-25 11:59:11 specing: https://pkgs.alpinelinux.org/packages?name=*gnat&branch=&repo=&arch=&maintainer= 2017-07-25 11:59:14 needs more wildcards :P 2017-07-25 11:59:26 Shiz: when searching for "gnat", but it does show when "gcc-gnat" 2017-07-25 11:59:32 Thats great :) 2017-07-25 11:59:39 I can switch to PRoot with /bin/sh as my executable and run the scripts with no error, but apk fails to run them 2017-07-25 12:00:04 try stracing it 2017-07-25 12:00:13 strace -f -e execve apk fix busybox 2017-07-25 12:00:20 see what the execve calls returns 2017-07-25 12:00:22 return 2017-07-25 12:00:50 Shiz: okay, I'll try now 2017-07-25 12:01:01 you need apk add strace first prolly 2017-07-25 12:05:23 Shiz: it segfaults for some reason 2017-07-25 12:05:35 well then 2017-07-25 12:05:42 I can try with strace outside chroot, not inside 2017-07-25 12:05:59 you likely need root for strace lol 2017-07-25 12:06:04 but doing it outside kind of would defeat the point 2017-07-25 12:08:23 I wonder if it will work if I change the shebang to "#!/bin/busybox sh" 2017-07-25 12:08:56 hmm 2017-07-25 12:09:00 what if you manualy run busybox --install 2017-07-25 12:09:02 before you do that 2017-07-25 12:10:48 Shiz: already tried, still fails 2017-07-25 12:11:12 the symlink to sh is in the package itself and it works 2017-07-25 12:26:20 If anyone is interested, I'm uploading my binaries to test (run it in vm if you dont trust): https://transfer.sh/CwRPb/alpine-proot.tar.gz 2017-07-25 12:27:18 to run: mkdir alpine; cp apk.static alpine; ./proot -S alpine /apk.static -X http://dl-cdn.alpinelinux.org/alpine/edge/main -U --allow-untrusted --initdb add alpine-base 2017-07-25 12:29:47 Anyone have any success using pptp via pppd? 2017-07-25 12:30:00 (as a client) 2017-07-25 15:16:00 hello where i can find WvDial package ? 2017-07-25 15:59:39 hello where i can find WvDial package ? 2017-07-25 16:00:54 if it's not on http://pkgs.alpinelinux.org/packages we don't package it (yet) 2017-07-25 16:10:19 Thanks, can I request it ? 2017-07-25 18:56:30 If i can get the drivers would it be possible to run Alpine on a Marvel Soc 2017-07-25 18:57:34 to be exact this Soc 2017-07-25 18:57:34 http://www.marvell.com.cn/embedded-processors/kirkwood/assets/88F6192-003_ver1.pdf 2017-07-25 18:59:17 i want to give some more life to my nas that i dont even have the balls for to put on the internet due to security risks 2017-07-25 19:03:46 probably 2017-07-25 19:05:08 what parts do i need to find my self to do this ? 2017-07-25 19:05:26 what i can see atm it runs a debian like system 2017-07-25 19:05:34 boot method and...drivers 2017-07-25 19:19:50 Damn 2017-07-25 19:19:52 http://i.haazen.xyz/uiABarzm.jpg 2017-07-25 19:22:27 any guesses what i can try to get in it ? 2017-07-25 19:30:25 o god @shiz do you know any php tricks i can try i just found out its freaking unsecure 2017-07-25 19:30:26 Apache httpd 2.2.14 ((Unix) mod_ssl/2.2.14 OpenSSL/0.9.8o DAV/2 PHP/5.2.11 with Suhosin-Patch mod_wsgi/3.3 Python/2.7.1+) 2017-07-25 19:39:40 Hello, does the "extended" .iso come with a partition editing tool (e.g. parted or fdisk)? 2017-07-25 19:40:45 <_ikke_> It should 2017-07-25 19:41:09 <_ikke_> I do expect fdisk be part of the iso's 2017-07-25 19:41:55 _ikke_: right, it's just since alpine ships with busybox, I didn't know which commands I could expect to have 2017-07-25 19:42:01 _ikke_: thanks 2017-07-25 19:42:03 fdisk is part of busybox 2017-07-25 19:42:06 but its shit 2017-07-25 19:42:27 aligns paritions to sector 63 and enforces cylinder boundaries like it is 1990 2017-07-25 19:43:03 the implemnetation from util-linux is much better and SSD capable 2017-07-25 19:44:53 fdisk is in it dont see parted on my disk 2017-07-25 19:46:36 never taught i would say it but time to metasploit reverse shell in my nas 2017-07-25 20:06:37 does fdisk even have support for GPT or LBA? 2017-07-25 20:07:21 util-linux one does 2017-07-25 20:07:36 I prefer fdisk to parted 2017-07-25 20:09:02 specing: wait, I didn't even know fdisk was part of busybox 2017-07-25 20:09:24 there are MANY implementations of fdisk 2017-07-25 20:09:51 specing: sorry, that busybox came with fdisk 2017-07-25 20:11:33 finaly installed Alpine with GRUB and BTRFS :D 2017-07-25 20:11:46 now it looks like I forgot the password :X 2017-07-25 20:12:02 and the ssh key used to get into iso sshd was not copied over :X 2017-07-25 20:20:01 R.I.P 2017-07-25 20:20:09 note to self make a backup user 2017-07-25 20:28:10 I got in via livecd, don't worry 2017-07-25 20:29:05 but messed up btrfs boot arguments again 2017-07-25 21:07:52 Hey , how can i add PPP support ? 2017-07-25 21:12:17 <_ikke_> sharon: apk add ppp ? 2017-07-25 21:14:07 Hey , This will add Linux Kernel support ? 2017-07-25 21:17:28 My version:alpine-extended-3.6.2-x86_64 2017-07-25 21:18:11 4.9.32-0-hardened 2017-07-25 21:19:26 <_ikke_> I imagine that if there is a package, it should be supported, but you'll know quickest to try 2017-07-25 21:21:50 there's ppp modules in the default kernels. that + the ppp package should be enough to use ppp 2017-07-25 21:22:19 look in /lib/modules/4.9.32-0-hardened/kernel/drivers/net/ppp 2017-07-25 21:22:36 lots of different ppp modules 2017-07-25 21:36:29 is there any alpine package that isn't maintained by ncopa? :D 2017-07-25 21:36:49 <_ikke_> sure, there are enough 2017-07-25 21:37:13 heh I jsut see ncope everywhere I look on pkgs list 2017-07-25 21:37:22 <_ikke_> https://pkgs.alpinelinux.org/packages 2017-07-25 21:45:32 https://wiki.alpinelinux.org/wiki/LXC#Prepare_network_on_host 2017-07-25 21:45:48 can Alpine networking scripts not use iproute2 for bridges? 2017-07-25 21:46:05 thanks i will check. 2017-07-25 21:47:34 Hello, is there no Thunderbird apk in Alpine? is it because its someway incompatible with the libc that alpine uses? 2017-07-25 21:49:48 nobody bothered to maintain it is the answer :P 2017-07-25 21:51:51 Shiz: ooooh wonder what's popular those days :) 2017-07-25 21:52:19 webmail ;p 2017-07-25 22:06:50 :D 2017-07-25 22:07:18 ahh, the browser, the browser... the worst application platform ever :) 2017-07-25 22:10:54 they are famous for breaking shit all the time lol 2017-07-25 22:12:02 you can try claws-mail, but I have low confidence in its security 2017-07-25 22:12:27 TB is straight bloatware that loses your data + the rest I don't know, 2017-07-25 22:15:55 unfortunately on Linux you don't really have good alternatives to Thunderbird 2017-07-25 22:16:07 mutt! 2017-07-25 22:16:11 claws mail! 2017-07-25 22:16:18 evolution isn't horrid, as a graphical email client. 2017-07-25 22:16:21 emacs' mail client 2017-07-25 22:16:21 I'm starting to finally understand why some people have gone to mutt and will stay there 2017-07-25 22:16:34 I do mutt if I have to bang through a bunch of mails. 2017-07-25 22:16:44 but i've never found a satisfactory calendar interface for mutt. 2017-07-25 22:17:01 so I use a gui with a calendar. tbird or evolution, depending on which os i'm on. 2017-07-25 22:17:19 I'm not sure how that new email client of KDE's is, it's been in development for about a year or so 2017-07-25 22:17:22 evolution doesn't play well on older ubuntus that I have to use sometimes. 2017-07-25 22:17:25 kmail? 2017-07-25 22:17:34 I can't use K-stuff in stumpwm worth a crap. 2017-07-25 22:17:49 it's very crashy. 2017-07-25 22:17:56 if it even starts up, that is. 2017-07-25 22:18:11 back in the day I loved the whole korganizer thing. 2017-07-25 22:18:14 kmail was good back in the day, it broke at some point during KDE 4 and it has never quite recovered since 2017-07-25 22:18:15 bougyman: you mean krashy? :D 2017-07-25 22:18:23 but I haven't used kstuff this decade, I don't think. 2017-07-25 22:18:29 once I moved to stumpwm I never looked back. 2017-07-25 22:18:37 KDE used to be pretty good back in the 3.5 days or so 2017-07-25 22:18:47 this was before that, even. 2017-07-25 22:18:51 2009 or so? 2017-07-25 22:19:01 somewhere around 2009 yeah 2017-07-25 22:19:12 I'm talking 1999 :) 2017-07-25 22:20:15 I think Kube is the new KDE email client but it's still in the tech preview phase 2017-07-25 22:21:03 and I don't, in general, mind KDE pushing the boundaries of Linux desktop 2017-07-25 22:21:35 if you want to push the boundaries you go with E 2017-07-25 22:21:47 E is intense. 2017-07-25 22:21:53 KDE's just blingy. 2017-07-25 22:22:04 nah, it's too isolated from the rest of the world to ever become anything serious, E that is 2017-07-25 22:22:08 I ran E on a few tablets before they dropped good tablet support. 2017-07-25 22:22:15 TBB: isolated? 2017-07-25 22:22:24 That's why many other projects end up using E libs? 2017-07-25 22:22:26 compared to, say, KDE 2017-07-25 22:22:34 they blaze the trail. 2017-07-25 22:22:36 other people follow. 2017-07-25 22:23:01 KDE can basically take advantage of anything Qt, and I see that as a strength 2017-07-25 22:23:08 I still can't find a good tablet UI in lin. 2017-07-25 22:23:22 Bohdi with E was great. 2017-07-25 22:23:26 yeah, Enlightenment has some good libraries in it, I don't deny that 2017-07-25 22:23:27 til E dropped tablet support. 2017-07-25 22:23:55 it's coming back "at some point" 2017-07-25 22:24:35 but I could well live with just, say, evilwm 2017-07-25 22:25:07 I can probably hack tablet support into stumpwm with a bit of effort. 2017-07-25 22:25:25 it'd have to be gesture-based. 2017-07-25 22:26:03 that's also why having something like Qt underneath is a good thing, it probably has all that gesture stuff built in 2017-07-25 22:26:06 that'd be kinda sweet, really 2017-07-25 22:26:24 Qt mouse scroll is busticated on ubuntu right now. 2017-07-25 22:26:29 so qt apps are very painful. 2017-07-25 22:26:49 I have to roll on ubuntu at my $dayjob. 2017-07-25 22:27:56 that's basically the reason my top-of-the-line laptop runs KDE Neon right now 2017-07-25 22:28:13 Ubuntu's had so many problems with anything KDE for years that it's not an option 2017-07-26 08:06:19 heyo folks. its my understanding that you guys do musl libc? 2017-07-26 08:07:59 having issue setting up xorg/i3wm on musl libc. I know its due to a lack of lazy loading, and I need to load modules manually in the proper order. anyone have some links I can check to learn what the order I should use is? 2017-07-26 08:27:27 we have lazy loading support in our version of musl 2017-07-26 14:53:16 hello 2017-07-26 14:53:32 i new alpineuser here 2017-07-26 14:53:50 a new alpine user here 2017-07-26 14:54:09 i need some help 2017-07-26 14:55:00 apline take a lot of sotorage about 4 Gb i had installed just lighttpd 2017-07-26 14:55:44 hello 2017-07-26 14:55:54 hello 2017-07-26 14:56:35 can you help @Shiz 2017-07-26 14:56:36 use btrfs with compress=zlib, shaves 20% off! 2017-07-26 14:56:40 hello 2017-07-26 14:56:42 i'm not sure what your question is 2017-07-26 14:56:52 4 Gb = 512 MiB? 2017-07-26 14:56:56 sounds reasonable 2017-07-26 14:57:41 use btrfs for endless annoyance 2017-07-26 14:58:13 not 512 Mib 4 GGB 2017-07-26 14:58:30 how use btrfs ? 2017-07-26 14:58:36 ncl: I like it, it is the best thing since ZFS :D 2017-07-26 15:00:54 youcef : you may have done something strange 2017-07-26 15:01:14 my alpine use 110 MB 2017-07-26 15:01:43 yes your size is reasonable 2017-07-26 15:02:03 if you see the iso size 34 Mb 2017-07-26 15:02:52 what i did . i installed it with sys option after that i installed the lighttpd web server 2017-07-26 15:03:41 i'm using hyper V as heypervisor 2017-07-26 15:03:49 heypervisor ;p 2017-07-26 15:04:12 hypervisor 2017-07-26 15:04:14 i mean 2017-07-26 15:05:45 any one can help maybe a cmd can show me where are big files 2017-07-26 15:06:49 du -ahd1 / 2017-07-26 15:08:10 thanks ncl 2017-07-26 15:08:37 every think is nrm maybe is hyper V prb 2017-07-26 15:09:31 you could try ncdu 2017-07-26 15:11:50 the bigest file is 110 mb 2017-07-26 15:12:00 maybe the prb is swap partition 2017-07-26 15:12:09 or somethinkg like that 2017-07-26 15:13:02 now i'm copying the vhd to my local machine to analyse it 2017-07-26 15:14:52 swap ? 2017-07-26 15:14:56 2017 ? 2017-07-26 15:16:25 swap is great for giving you time until oom_killer corrupts sometng important 2017-07-26 15:17:20 yeah it may be swap 2017-07-26 15:18:01 swap is great for making your system slow down even more than it would if oom_kill were to just kill the memleaking task 2017-07-26 15:18:13 yes i know the improtance of swap but i have to figure why the VHD of my virtual machine use 4 Gb and not 100 mb 2017-07-26 15:18:13 Xe : i prefer killing a container and restarting it than having utterly bad performances thanks to swap 2017-07-26 15:20:39 Lord: also hibernate 2017-07-26 15:21:03 do you really hibernate vm ? 2017-07-26 15:21:16 not VM, but physical machines 2017-07-26 16:09:06 I was reading https://wiki.alpinelinux.org/wiki/How_to_make_a_custom_ISO_image_with_mkimage, where are the current profiles available or how to create one ? the wiki talks about only the nas profile 2017-07-26 16:33:41 the nas profile is an example of how to add your own 2017-07-26 16:34:27 Shiz, I'm sorry I just realized that. is there and example on how to do a zfs root in the custom image ? 2017-07-26 16:52:28 i'm getting an error when trying to upgrade busybox but i can't tell where the error is coming from 2017-07-26 16:52:53 <_ikke_> what error? 2017-07-26 16:53:43 it doesn't say 2017-07-26 16:53:58 just "1 errors; 2162 MiB in 179 packages" 2017-07-26 16:54:03 <_ikke_> You say you got an error... 2017-07-26 16:54:12 i can't find abuild specific output in system logs 2017-07-26 16:54:29 adding multiple -v's to apk upgrade doesn't expose that error 2017-07-26 16:57:19 run apk fix 2017-07-26 19:16:54 I finaly got in my nas where do i have to look for the files ? 2017-07-26 19:18:58 <_ikke_> for what files? 2017-07-26 19:20:50 if i want to replace the OS with alpine 2017-07-26 19:20:56 its an arm based system 2017-07-26 19:21:03 so i know i need to compile somethings 2017-07-26 19:21:25 its a marvel arm9 soc 2017-07-26 19:21:47 and lets keep it at its so outdated i dont even feel secury having it in my lan 2017-07-26 19:22:45 nekocentral: have you considered buying a cheap x86 board with soldered CPU? 2017-07-26 19:23:04 that way you can also load it up with how much ram your heart desires for ZFS dedup 2017-07-26 19:23:40 yea tought about it but i'm kind of broke atm so i want to do with that i have 2017-07-26 19:23:55 someone was able to run netbsd on this thing so i think it is possible 2017-07-26 19:24:21 and its still better than my lacie single core via 800mhz nas 2017-07-27 01:39:56 Has anyone been able to install Seafile on Alpine? I'm currently trying to follow the guide on Seafile's website but it doesn't seem to work. The package in the edge repo is not working also I can't seem to be able to resolve some dependencies 2017-07-27 10:31:17 Hey , where i can find scipy for python3 ? 2017-07-27 13:03:35 We have a CI server with alpine linux where we want to compile some Qt5 related packages. We have found a right package https://pkgs.alpinelinux.org/contents?branch=edge&name=qt5-qtbase-dev&arch=ppc64le&repo=community but it seems that qmake is called there as `qmake-qt5`. In Ubuntu installing qt5-qmake hides qt4-qmake and registers new executable as /usr/bin/qmake 2017-07-27 13:04:18 Should I hack source code to support specifing qmake executable or should I somehow hack linux config? 2017-07-27 13:04:43 (using something like update-alternatives from Debian world) 2017-07-27 13:57:16 Shiz: hi, I think I was able to detect what exactly fails with PRoot 2017-07-27 13:57:27 it's chroot system call 2017-07-27 13:59:30 in apk's database.c:1918 2017-07-27 14:57:53 tpimh: oh? 2017-07-27 14:58:56 Shiz: i'll try removing the line, but I think it should be fixed on proot side 2017-07-27 16:29:32 Shiz: I confirm that it works fine with this line commented out 2017-07-27 16:35:50 Is it safe to just change the URLs of the repos of APK from v3.5 to v3.6 2017-07-27 17:24:24 stevenroose: yes 2017-07-27 21:04:36 I've got my filesystem corrupted and I wanted to reinstall all packages. However, I do not mark any packages installed as dependencies as manually installed (if this is the term in Alpine). What is the best way to do this? 2017-07-27 21:06:01 apk fix $(apk info) 2017-07-27 21:06:08 to reinstall every single package 2017-07-27 21:06:21 for explicitly installed packages, apk fix $(cat /etc/apk/world) 2017-07-27 21:08:14 Looks like cat /etc/apk/world is what I need, but it didn't reinstall dependencies 2017-07-27 21:08:27 exit 2017-07-27 21:08:40 It was for chroot, sorry) 2017-07-27 21:08:52 like i said, use it with $(apk info) for every package on your system 2017-07-27 21:09:27 Will it mark packages installed by dependencies as explicitly installed after this? 2017-07-27 21:10:53 Or can I just restore contents of /etc/apk/world and it will be as before? 2017-07-27 21:12:57 no, it won't 2017-07-27 21:13:01 it won't update /etc/apk/world either 2017-07-27 21:13:03 :P 2017-07-27 21:13:05 it's pretty safe 2017-07-27 21:13:17 Already tried it, works nice, thanks! 2017-07-27 21:13:37 but yes, even if it did, just backing up /etc/apk/world and restoring it would've solved that issue i think 2017-07-27 21:14:31 I like that Alpine is much more straightforward in this regard comparing to other distros 2017-07-27 21:16:49 Does anyone know of a good mail service provider? Good as in they are good wrt. privacy and that they have IMAP access 2017-07-27 21:17:09 i heard good things about protonmail 2017-07-27 21:17:16 Shiz: IMAP access.... 2017-07-27 21:17:32 oh, it's still a work in progress 2017-07-27 21:17:35 i thought they had it by now 2017-07-27 21:17:43 they are trolling us 2017-07-27 21:17:56 what about that one new thing by the lavabit guy 2017-07-27 21:17:56 such a service is completely wortheless to me 2017-07-27 21:18:03 can't make backups 2017-07-27 21:18:21 also I'd like it to be in the EU 2017-07-27 21:23:08 how about that mail service that startpage sells? 2017-07-27 21:23:52 they advertise their service as secure (although some aspects of it may sound a bit questionable) 2017-07-27 21:42:24 TBB: I wonder why email services are so expensive 2017-07-27 21:42:31 $60 per year holy hell 2017-07-27 21:42:42 I get 5 years of VPS+IPv4 for that 2017-07-27 21:43:51 isn't it a logical consequence of free email services that... are good enough for most people? 2017-07-27 21:44:58 $12 a year for vps? really? 2017-07-27 21:45:01 yep 2017-07-27 21:45:13 well actually 12 eur 2017-07-27 21:45:37 might need to pay VAT on that as well, so 15 eur 2017-07-27 21:45:43 where? 2017-07-27 21:45:50 but still ... $60 per year for email is insane 2017-07-27 21:45:55 jzono1: arubacloud 2017-07-27 21:47:29 looks nice 2017-07-27 21:48:22 there is also greek okeanos which is free if you are an academic 2017-07-27 21:48:38 but so far I haven't managed to install Alpine there :X 2017-07-27 21:49:19 also kimsufi sells dedicated servers for 6 eur a month 2017-07-27 21:49:47 I'm after something cheap that lets me do alpine and is good enough for light business use. (need to get my website and email off my home connection) 2017-07-27 21:50:12 you are hosting your own email server? 2017-07-27 21:50:18 How hard is it to do so? 2017-07-27 21:50:27 very simple 2017-07-27 21:50:34 lunanode is good - 3.60 / month for 512mb kvm 2017-07-27 21:50:51 BitL0G1c: aruba 1GB RAM, 1 core, 20 GB SSD 2017-07-27 21:51:35 some frustration for the initial setup, it's a bother to get spam prevention, virtual mailboxes and imap up and running 2017-07-27 21:51:51 but it's not *that* bad 2017-07-27 21:53:35 jzono1: I found this: https://wiki.alpinelinux.org/wiki/ISP_Mail_Server_3.x_HowTo 2017-07-27 21:54:53 specing - yes but in shit datacenters 2017-07-27 21:55:34 BitL0G1c: ? 2017-07-27 21:56:04 ofc to keep pricing low there is no redundancy, lower SLA and you have to make your own backups 2017-07-27 21:56:07 ew postfix 2017-07-27 21:57:06 specing - the $1 aruba offer is now only @ their crap DC's - it changed in may 2017-07-27 21:57:31 ok 2017-07-27 21:57:46 I'll try it and see how it works 2017-07-27 22:00:51 hmm, Gandi has a mail service included with domain purchase 2017-07-27 22:01:40 lunanode has nice features - free dns / monitoring & ceph volumes 2017-07-27 22:01:46 8 eur more expensive per year for .eu than other registrars 2017-07-27 22:31:02 Runbox in norway is cheaper 2017-07-27 22:33:45 figuring out their pricing is a tough nut to crack tho 2017-07-27 23:02:38 BitL0G1c: took 6 minutes to provision the server.... you might be right about it being far from excellent 2017-07-27 23:28:00 how could I change the resolution of the terminal? im getting scroll bars in hyper-v so i need to lower it. 2017-07-28 00:10:56 specing - yes a few months ago the offer changed @ aruba to be only the italian / czech DC's for euro 1 / month - I've been with lunanode for a year & they're great 2017-07-28 02:38:04 I finally got sound working and would like to add documentation for it on the wiki. I created a wiki account and can edit pages, but I don't know how to create a new page. How do I do that? 2017-07-28 03:11:52 construction: type in the page name you want in the url and click edit on the page that shows up 2017-07-28 03:19:55 Thank you @Shiz 2017-07-28 03:35:40 is alpine a good choice for people new to managing a sever? 2017-07-28 03:36:17 im making a small hobby project to relay some https requests 2017-07-28 03:36:31 its a bridge between slack and discord 2017-07-28 03:36:41 would alpine be good for that? 2017-07-28 03:50:33 sure 2017-07-28 03:50:44 depends on how new to linux you are 2017-07-28 03:50:48 time for sleep zzz 2017-07-28 04:22:53 I added the Sound Setup tutorial on the wiki documentation. But first I added one under the wrong address. So now I need to know how to delete a page please? 2017-07-28 05:57:23 Hello, I’m trying to run apache2 but when starting the service, it fails. 2017-07-28 05:58:03 With this error: https://dpaste.de/mO8a/raw 2017-07-28 05:58:44 I didn’t find any bug report on the tracker, so I guess I missed something when configuring :/ 2017-07-28 06:13:48 Oh, now that I think about it, I’m using a custom kernel. 2017-07-28 06:14:01 Will try with the one from repos. 2017-07-28 06:46:32 hi all 2017-07-28 06:46:44 I'm new to alpine linux 2017-07-28 06:47:42 just install mongodb by command apk add mongodb, but now i don't know how to start mongodb such as systemctl start mongod in sytemd 2017-07-28 06:47:58 pls give your advise, thanks 2017-07-28 06:49:04 service mongodb start most likely 2017-07-28 06:51:58 kaniini: i've found a command is use rc-service, it work well now 2017-07-28 06:52:00 thanks 2017-07-28 08:23:45 is standard or extended the one to download for an old laptop? - normal daily use 2017-07-28 08:33:22 ok i don't want to run from ram, so standard 2017-07-28 08:36:11 merpl, if you have an internet connection on the device both are similar. 2017-07-28 08:37:11 is there an iso where I can get a usable X system without an internet connection? 2017-07-28 08:37:38 a 'fat iso' 2017-07-28 08:41:30 i dont think so 2017-07-28 08:41:54 ok ty 2017-07-28 08:42:11 wow, 80MB 2017-07-28 08:42:55 our iso's are pretty small 2017-07-28 08:43:04 the largest thing on it is the kernel. 2017-07-28 08:57:52 this is the most interesting thing i've seen all year, thank you for making it 2017-07-28 10:35:33 Hey , i found https://pkgs.alpinelinux.org/package/edge/testing/x86/py-scipy package. 2017-07-28 10:36:08 It's not have python3 support. 2017-07-28 10:36:42 How i can request scipy package for python3 ? 2017-07-28 10:36:44 Thanks. 2017-07-28 11:05:30 BitL0G1c: aruba owns those three datacenters and leases space in 3 others 2017-07-28 11:05:59 BitL0G1c: and I spoke too soon, my 1 eur VM is now in creation phase for 10h 2017-07-28 11:07:47 BitL0G1c: scaleway seems a better option than lunanode though 2017-07-28 12:30:51 hola. fresh install of standard onto hard drive. what is accessing the hard drive approx 1x per second? 2017-07-28 12:31:20 merpl: dstat will help 2017-07-28 12:32:15 ty, rtfming how to install 2017-07-28 12:35:02 apk add dstat not found 2017-07-28 12:35:08 apk add links found and installed 2017-07-28 12:35:22 HDD access stopped anyway 2017-07-28 12:39:56 you guys got a framebuffer browser like links2 -g? 2017-07-28 12:42:33 no dstat? sad 2017-07-28 12:44:33 don't find iotop either 2017-07-28 12:44:42 htop found 2017-07-28 12:45:49 dstat looks neat, ty specing 2017-07-28 12:48:57 merpl: --top-bio will pinpoint the offender 2017-07-28 12:58:41 hm no 'startx' 2017-07-28 17:39:54 Hey , i found https://pkgs.alpinelinux.org/package/edge/testing/x86/py-scipy package. 2017-07-28 17:40:00 It's not have python3 support. 2017-07-28 17:40:04 How i can request scipy package for python3 ? 2017-07-28 18:35:38 sharon: try filing a bug report https://bugs.alpinelinux.org/projects/alpine/issues I added a bug report about a missing package (gnome-base while trying to install gnome) not a few days ago. 2017-07-28 18:36:11 *I mean not too long ago/a few days ago 2017-07-28 19:26:14 /win 29 2017-07-28 19:29:43 same 2017-07-28 22:28:56 construction: gnome2 was dropped and those docs are outdated 2017-07-28 22:58:14 @kaniini: that's a shame because I really like the security of Wayland better than X window server. But for now at least I got XFCE working just fine. 2017-07-28 22:58:41 gnome2 does not support wayland. 2017-07-28 22:59:05 Well if it had been kept, it could also have been updated to Wayland