<    June 2018     >
Su Mo Tu We Th Fr Sa  
                1  2  
 3  4  5  6  7  8  9  
10 11 12 13 14 15 16  
17 18 19 20 21 _2_2 23  
24 25 26 27 28 29 30
00:03 qrvpzvb joined
00:03 <qrvpzvb> what does a virtual package that starts with a dot signify?
00:13 wener joined
00:20 <TBB> sounds like build time dependencies usually
00:36 tty joined
00:41 <qrvpzvb> yes but what does it mean?
00:41 <qrvpzvb> what does the dot mean?
00:46 wener joined
01:05 <duncan^> 'temporary'
01:05 <duncan^> it doesn't mean much, it's just style
01:06 <jn__> the dot is probably there to avoid colliding with the main namespace
01:06 <jn__> i guess
01:07 <duncan^> but one can make temporary packages of any name
01:07 <duncan^> e.g. I made one for a meta-package.
01:25 <qrvpzvb> when grsec says "From x.x.x.x: ...", what is that IP actually ?
01:26 <qrvpzvb> is it because the process that erred was started through my SSH ?
01:27 wener joined
01:33 terror joined
01:37 tmh1999 joined
01:39 wener joined
02:03 tips-fedora joined
02:20 wener joined
02:28 shadowdaemon joined
02:42 herrbischoff joined
02:55 wener joined
03:05 sparklyballs joined
03:07 x736164 joined
03:07 untoreh joined
03:12 x736164 joined
03:48 attos2 joined
04:13 zopsi joined
04:17 wener joined
04:47 wener joined
04:52 opal joined
05:39 wener joined
05:42 tmh1999 joined
05:47 hph^ joined
05:59 tmh1999_ joined
06:26 wener joined
06:30 ogres joined
06:35 wener joined
06:36 Spydemon joined
06:38 tmh1999_ joined
06:57 wener joined
07:06 wener joined
07:16 Andy_Wk joined
07:48 laskin joined
07:53 bikeshedder joined
07:57 NIN101 joined
07:59 wener joined
08:11 terror joined
08:13 storge joined
08:16 <tya99> anyone around with VLAN experience?
08:17 <tya99> i appear to be having some troubles
08:17 <tya99> i'm seeing this on boot
08:17 <tya99> RTNETLINK answers: File exists
08:17 <tya99> run-parts: /etc/network/if-pre-up.d/vlan: exit status 2
08:17 <tya99> for each one of my VLANs, ie 2, 3, 4
08:17 <tya99> my /etc/network/interfaces https://dpaste.de/Y7CS and ip a https://dpaste.de/hOH7
08:18 <tya99> my switch is configured like https://i.imgur.com/BR9Bp0l.png
08:18 <tya99> the idea is VLAN2 is routed to the ISP, VLAN3 is routed to the VPN and VLAN4 is routed nowhere
08:19 <tya99> i followed this documentation https://wiki.alpinelinux.org/wiki/Vlan
08:33 jnt joined
08:41 wener joined
08:42 wener joined
08:53 <tya99> i am seeing this error on boot https://i.imgur.com/HnTy76b.jpg
09:04 smallville7123 joined
09:06 <smallville7123> Does anyone know arm assembly
09:21 <mps> smallville7123: a little and not used it long time. But, why you ask that question on this channel
09:22 <smallville7123> Because it has chroot for arm
09:22 <mps> ok, what is the question
09:36 <mpmc> Does Alpine support the zero w yet?
09:39 <tya99> i think rp3 was the latest
09:42 <mpmc> tya99: Thanks for the info :) I basically want to install alpine on a zero w without using hdmi, but I'm not sure if alpine has remote ssh ootb.
09:42 <tya99> i think it does
09:42 <tya99> leme check
09:42 <tya99> you might have to start the service
09:43 <mpmc> So, I'm gonna need to hook it up to a screen.
09:43 <tya99> mmlb: it would depend im not sure if the raspberry zero has the same broadcom chip
09:44 <tya99> ie i see on my rp2 (with the latest version of alpine linux)
09:44 <tya99> bcm2710-rpi3-b
09:44 <tya99> the RP 2 was bcm2836
09:44 <mpmc> The zero uses the same in the rpi 1.
09:45 <tya99> oh then it should
09:45 <tya99> mmlb:
09:45 <tya99> mpmc: i do see it in there
09:45 <tya99> bcm2708-rpi-0-w.dtb
09:46 <mpmc> Awesome :)
09:46 <tya99> which the b and the b plus both had bcm2708
09:47 <mpmc> tya99: Do you have any idea how I would go about enabling ssh without a screen?
09:48 <tya99> serial?
09:48 <tya99> or you could do it on a machine that does have a screen
09:48 <tya99> and then copy the provision file over
09:48 <tya99> to your pi
09:48 <tya99> like if you have some old x86 box set it all up there, lbu commit
09:48 <tya99> and copy the provision file over
09:49 <mpmc> tya99: I'm new to alpine. I use Debian :)
09:49 <tya99> ah yeah
09:49 <tya99> assuming you're going to just extract the tarball for the RP image
09:49 <tya99> look up about lbu
09:50 <tya99> typically for routers we do ramdisk style
09:50 <tya99> https://wiki.alpinelinux.org/wiki/Alpine_local_backup
09:50 <tya99> basically you extract arm rp tarball, and then it merges your configs from your tar.gz apkprov (provision tarball)
09:50 <tya99> into your root
09:51 <tya99> changes you make to /etc that don't involve you committing are lost
09:51 <tya99> something you can't really do with debian which makes alpine great
09:52 <tya99> if you have any questions about alpine and RP i am happy to answer
09:52 <tya99> (if i can)
09:55 smallville7123 joined
09:55 <mpmc> tya99: I shall hook up my Pi0w to a screen & flash alpine.
09:56 <mpmc> I'll use the 3.8-rc4 :)
09:56 <tya99> well you don't flash alpine as such
09:56 <tya99> you just extract the tarball
09:56 <mpmc> That's what I meant ;)
09:56 <tya99> onto your sd card hah
09:56 <tya99> oh
10:02 lethe joined
10:03 <mpmc> tya99: Stupid q, I'm guessing I just need to create a small fat32 partition?
10:03 <tya99> yep
10:03 <mpmc> Any recommended size?
10:03 <tya99> single partition fat32 on sdcard
10:04 <tya99> https://wiki.alpinelinux.org/wiki/Raspberry_Pi
10:06 <mpmc> That all seems rather simple.
10:08 <tya99> it is :P
10:08 whitenite- joined
10:13 <mpmc> tya99: Once I've booted, how do I enable wifi? :p
10:13 <tya99> that i don't know specifically as ive not used wifi on a RP before
10:14 <tya99> i would assume you'd have to probe a module and use iwconfig
10:14 <mpmc> tya99: I took a look at https://wiki.alpinelinux.org/wiki/Raspberry_Pi_3_-_Configuring_it_as_wireless_access_point_-AP_Mode I'm guessing I need some firmware.
10:14 <tya99> the documentation there will be pretty universal, wpa_supplicant etc
10:14 <mpmc> Yep.
10:14 Cokemonkey11 joined
10:15 <mpmc> I suppose I can copy those apks over to the apk folder.
10:15 <tya99> no don't do that
10:15 <tya99> the apks folder is basically like
10:15 <tya99> basic ones that come with it
10:15 <tya99> you'd want to put them in cache
10:15 <tya99> and set up a cache dir
10:16 <tya99> ie
10:16 <tya99> https://wiki.alpinelinux.org/wiki/Local_APK_cache
10:17 <tya99> those are just base ones /media/mmcblk0p1/apks/armhf
10:17 <tya99> that come with the alpine linux tarball
10:17 <mpmc> tya99: I haven't even got it running yet. Basically I want to get it running, setup wifi :)
10:17 <tya99> oh yeah well then you could just apk install them
10:17 <tya99> i forget you don't have ethernet
10:18 <mpmc> Yeah, that's the problem :p
10:18 <mpmc> Could you look up what apks I'd need? :) I don't currently have alpine on any machine :p
10:19 <mpmc> that wifi ap setup says raspberrypi-libs & linux-firmware-brcm, however there is no mention of wpa etc.
10:22 <mpmc> OK wpa tools are in the apk folder!
10:22 <tya99> https://pkgs.alpinelinux.org/packages ;)
10:25 <mpmc> tya99: OK, so I just need those two apks :) Everything else appears to be there. Any recommendations where I temporarily store those apks before install?
10:26 <tya99> somewhere in the root should be okay of your usb stick
10:26 <tya99> i mean sdcard
10:26 <tya99> or in a dir if you want it will be readonly
10:29 <mpmc> OK I think that's everything, lets see if this boots.
10:32 <mpmc> Bleh, need to find a micro-usb converter to plug in a keyboard >.<
10:37 <tya99> doesn't it have regular usb?
10:37 <mpmc> No :p
10:37 <tya99> the RP2 had 4x usb ports on it
10:37 <tya99> 1 hdmi and 1 ethernet
10:38 <tya99> no wifi but you could pop a module on the gpio pins
10:38 <tya99> i didn't bother i got a rtc clock instead
10:38 <mpmc> tya99: https://www.raspberrypi.org/magpi/wp-content/uploads/2017/03/PI-Zero-W-Wireless-Antenna.jpg
10:38 <tya99> how much did u pay for it?
10:39 <mpmc> They're about £10.50 with del.
10:39 <tya99> true that is pretty cheap
10:41 <mpmc> rofl, found a microusb ethernet, but no converter >.<
10:44 pardis joined
10:45 <tya99> ncopa: u there?
10:46 <mpmc> Would be awesome if Alpine included wifi for the Pis OOTB, maybe via usercfg :)
10:46 <tya99> ncopa: seeing as you wrote https://wiki.alpinelinux.org/wiki/Vlan i assume you've used them on alpine linux
10:47 <tya99> i am seeing these annoying rc errors when booting up interfaces with vlans https://i.imgur.com/HnTy76b.jpg
10:47 <tya99> my etc/network/interfaces https://dpaste.de/ctCm
10:47 <tya99> note where it starts on line 35
10:47 <mpmc> Oooh, an RPI as a gateway, interesting.
10:48 <tya99> yeah i was following https://wiki.alpinelinux.org/wiki/Linux_Router_with_VPN_on_a_Raspberry_Pi
10:48 bikeshedder joined
10:48 <tya99> and plan to deploy ipv6 and update it
10:48 <tya99> seeing as my vpn provider does dual stack ipv6
10:48 <tya99> and my isp does dual stack ipv6 prefix delegation
10:49 <tya99> i substituted the unmanaged switch out for a managed one
10:49 <mpmc> Oooh, Alpine has unit too, but not for armhf.
10:50 <tya99> and am going to use VLANs as that only uses multiple IPs on one interface (which is bad because they would all share the same broadcast)
10:51 slowbrownfox joined
10:53 <tya99> i don't think i need the auto vlan section
11:29 terror joined
11:34 <slowbrownfox> I notice that if i enter mount -? the list of options does not include an -L or --label even though the online man page for mount mentions those.
11:34 <slowbrownfox> I am trying to mount a drive by its label or maybe UUID.
11:40 smallville7123 joined
11:42 <mps> slowbrownfox: you are using busybox mount applet, which is trimmed down version of mount. Install util-linux and you will have 'real' mount
11:42 <slowbrownfox> Is this because busybox is using an older/smaller version of mount?
11:42 <mps> tight
11:43 <mps> sory, s/tight/right/
11:43 <slowbrownfox> Sorry. Typed that before reading your message.
11:43 <slowbrownfox> Will doing that ruin the point of busybox? I guess I could live with using mount with a /dev/
11:44 <slowbrownfox> I mean will it install a whole parallel set of commands?
11:44 smallville7123 joined
11:44 <slowbrownfox> It would be nice if I could just install the full mount command on its own.
11:46 <mps> you can build it then for yourself
11:47 <slowbrownfox> compile from source for just the mount command?
11:47 <mps> right
11:47 smallville7123 joined
11:48 <slowbrownfox> hmm. util-linux/mount.c
11:48 <mps> but, first thing I do after installing (or even during install phase) is to add util-linux and coreutils
11:48 <slowbrownfox> Doesn't that ruin the whole point of busybox?
11:49 <mps> busybox is really isn't useful if you have to login to the machine and do some work
11:49 <mps> busybox is ok for some embeded or docker systems
11:49 <slowbrownfox> Well it is a bit difficult that I cant rely on normal man pages for busybox.
11:49 <mps> not for wveryday use
11:50 <mps> bah, s/wveryday/everyday/
11:50 <slowbrownfox> Have you noticed how much size it adds?
11:50 <slowbrownfox> I mean to the disk and/or to ram?
11:51 <mps> it uses only disk space if you don't run it
11:51 <slowbrownfox> It is particularly difficult for me as a linux noob, but I would imagine it might add a slight amount of security that standard commands are not available.
11:51 <mps> apk info util-linux
11:52 <mps> will show you how much space it uses
11:53 <slowbrownfox> Umm...looks like around 3MB of disk space.
11:53 <mps> security is complex, and some people think that not having some useful things increase security, which is false assumption
11:54 <slowbrownfox> Well part of what I am trying to do with Alpine is keep attack surfaces to a minimum.
11:54 <slowbrownfox> Minimize installed apps to only what I really need etc.
11:55 <slowbrownfox> I guess the disk space is a non issue.
11:55 <slowbrownfox> I mean since I am not actually running on an embedded system.
11:55 <slowbrownfox> It's purely theoretical of course.
11:56 <mps> to repeat myself, security is complex, and there is no simple solution for it
11:56 <teatime07> the *only* point of busybox is disk space (it was created when embedded systems' "disk" space was about 1MB)
11:57 <slowbrownfox> Ok. I will install util-linux. At least I can rely on man pages then.
11:57 <mps> busybox is usually outdated and as such is less secure than the newer packages, i.e. util-linux and coreutils
11:57 <slowbrownfox> Oh. Good point.
12:00 <slowbrownfox> I added util-linux and coreutils. Does that mean I can remove busybox?
12:01 <mps> no
12:02 <mps> util-linux doesn't contain all busybox applets
12:03 <teatime07> /bin/sh ?
12:03 <mps> teatime07: at least
12:03 <slowbrownfox> Damn. My ntfs partition did not mount but it looks like the command worked as expected. Some kind of i/o error.
12:04 <slowbrownfox> I did use -t ntfs-3g
12:04 <mps> maybe partition is damaged
12:04 <mps> or disk/medium
12:05 <slowbrownfox> It says $MFTMirr does not match $MFT (record 24)
12:05 <slowbrownfox> Sigh.
12:05 <mps> don't have much experience with ntfs
12:06 <slowbrownfox> I put all the files I needed on an ntfs partition include the patch files for GPM and...
12:06 <duncan^> slowbrownfox: You need to clean the partition
12:07 <duncan^> use Windows chkdsk or similar
12:07 <slowbrownfox> I tried mount -a and got the same error. I added it to /etc/fstab already.
12:07 <duncan^> Your partition is unclean
12:07 <slowbrownfox> Yeah I guess I had better do that.
12:07 <duncan^> And back up the data
12:07 oida joined
12:07 <duncan^> (but I should not have to say this)
12:08 <slowbrownfox> Hehe. Yes well I have lost terabytes of data to not having backups. So...
12:09 <slowbrownfox> One of my drives is currently clicking intermittently.
12:09 <slowbrownfox> Anyway...thanks guys. I will have to come back later after checking that drive in windows.
12:10 <slowbrownfox> quit
12:51 goberle joined
12:58 herrbischoff_ joined
13:01 shhr1 joined
13:07 JayBau joined
13:33 slowbrownfox joined
13:35 <slowbrownfox> It appears that ntfs-3g has a bug related to Windows 10 NTFS partitions with 64k cluster sizes. Well maybe not a bug exactly. Windows 10 changed $MFT to $MFTMirr behavior I guess.
13:36 <slowbrownfox> The latest ntfs-3g has been updated to allow for Microsofts new behavior. There was also a patch released.
13:37 <slowbrownfox> I am not clear on whether MS just stopped mirroring with large cluster sizes or not.
13:38 <slowbrownfox> I guess I have to compile the latest version from source if I want to mount any of my large cluster NTFS partitions.
13:41 <slowbrownfox> I will try to do that. I wonder if I should report the current ntfs-3g as outdated. It isn't really, but this seems like a significant problem with the current ntfs-3g release.
13:42 <slowbrownfox> I wonder if the default linux ntfs driver would do better.
13:51 <slowbrownfox> Well that worked. The standard -t ntfs mount command worked. It appears only ntfs-3g has the problem.
13:52 <slowbrownfox> Since I only need read only access I will try it this way for now.
14:34 dc13ff joined
14:34 elevated joined
14:43 BitL0G1c joined
14:48 tmh1999_ joined
14:55 Anastas joined
15:03 tty joined
15:18 trumee joined
15:27 demond joined
15:27 demond left
15:28 toogley joined
15:30 Meths joined
15:49 iron_houzi left
16:18 Elsmorian joined
16:32 elevated joined
16:46 Anastas joined
16:48 dc13ff joined
17:10 <laskin> I have 80 packages of linux-firmware-*. What is the best way to find out which of them are really needed for my hardware?
17:14 pardis joined
17:15 <mps> laskin: lshw could help, but not a perfect
17:16 <laskin> so, manually. ok.
17:18 <mps> you can boot machine and look at dmesg output and search in it where kernel/driver tries to load firmware
17:18 ogres joined
17:19 tmh1999_ joined
17:19 <mps> but, maybe there are something which could do that but I don't know, though I had idea to find solution but never tried
17:22 <laskin> Do somebody ever tried to install nvidia proprietary drivers? I have quadro 3000m and nouveau seems do not support it.
17:26 <mps> I tried, and built kernel modules but it doesn't work
17:29 <mps> maybe I could build kernel part but I suspect it will work with userspace part which is proprietary. AFAIK it couldn't be rebuilt with musl
17:29 <mps> so, I stopped to 'play' with it
17:33 <laskin> ok, I see.
17:45 bikeshedder joined
17:53 Anastas joined
18:10 <azarus> $ apk fetch --force coffee
18:10 <azarus> enjoy your apk-tools easter egg ;)
18:15 <kahiru> made my day :)
18:15 Maxpm joined
18:32 doggone joined
18:33 <doggone> diskless install tends to confuse me... I've done it before but, I'm always stuck at saving the config
18:33 <doggone> the install disk is mounted read-only, and I can't seem to remount it to save the config to it
18:38 elevated joined
18:39 trumee joined
18:39 <_ikke_> doggone: if you use the default iso, it's because it's isofs, which is read-only indeed
18:39 <_ikke_> use setup-bootable to create disk that's writable
18:40 <grobe0ba> I am having issues with mounting LUKS volumes. They mount fine from the install media, but when booting cryptsetup says there are no matching passphrases. Im using the us keymap, and nothing but standard letters. I also added a key that was nothing but numbers, which also fails. I then added a blank password, which also fails. All work fine from the install media. Any suggestions?
18:41 <grobe0ba> s/standard letters/standard ASCII alphanumeric + symbols/
18:41 nots joined
18:45 Caplain joined
18:48 <TBB> sounds like you might have something missing from your initramfs
18:52 <grobe0ba> Yah, but what? All the crypto stuff looks to be there. Its driving me crazy. mkinitfs -l says its including all the crypto, but if its missing from /lib/modules for some reason...
18:53 <grobe0ba> This is a fresh install, and everything should bloody well be there. Ill take a look at it when i get home. Thx.
18:54 <doggone> ikke[m]: thanks
19:44 czart_ joined
20:04 borntraeger joined
20:04 _0bitcount joined
20:23 Anastas joined
20:27 Anastas joined
20:29 tmh1999_ joined
20:32 arnotixe joined
20:49 enoch85 joined
20:49 enoch85 joined
20:51 enoch85 joined
20:51 enoch85 joined
21:06 Anastas joined
21:11 <doggone> Now I'm running into the problem that my diskless Alpine is still considering /lib to be read-only (installing zfs modules). Does anyone know how to fix this?
21:13 <_ikke_> doggone: /lib or /lib/modules?
21:18 <doggone> _ikke_: ah yes, it's only /lib/modules
21:18 <clandmeter> on tmpfs modules is readonly. you can work around it with overlayfs.
21:19 kaniini joined
21:19 <clandmeter> you can read the modloop initd file for more info.
21:20 <doggone> clandmeter: thanks, I'll read further, reading bug #7285 too now which has the same problem partly
21:20 <algitbot> Bug #7285: Kernel modules on USB key - Alpine Linux - Alpine Linux Development: https://bugs.alpinelinux.org/issues/7285
21:21 <doggone> I want to replace a FreeNAS installation with Alpine running in RAM from an SD card :)
21:22 <clandmeter> you have 2 options
21:22 <clandmeter> overlayfs or build your own initramfs with zfs included.
21:23 <clandmeter> overlayfs is easier and it supports easy upgrade.
21:24 <clandmeter> doggone: what is your problem? what is the error you are getting.
21:26 <doggone> installing zfs-vanilla (just testing right now) gives me a ton of errors on files in /lib/modules/... -- it's a read-only file system.
21:26 <doggone> I'll use overlayfs. The easiest option is fine for me. It's just a system that's supposed to rsync files to a zfs pool for back-up purposes
21:26 <doggone> Nothing fancy.
21:29 <doggone> it would be nice if this kind of configuration (run from RAM but save config on the current disk) was an option in the installer,
21:29 <clandmeter> it is
21:29 <clandmeter> the installer support run from ram installs.
21:30 <doggone> the "data" option assumes you have a separate disk, but I assume it's an inherent flaw because of isofs
21:31 <doggone> it's not really a problem, I don't mean to complain
21:31 <doggone> just took me a while to figure it out. There's a wiki page somewhere that I'll try to clarify a bit more
21:31 <clandmeter> choose none for tmpfs iinstall
21:32 <clandmeter> i think thats the option.
21:32 <doggone> I don't think "none" is documented; there's no explanation for it when you enter "?"
21:33 <doggone> but it is the default though
21:33 <clandmeter> what is the step before?
21:33 <clandmeter> i dont remember the steps from my head
21:33 <clandmeter> it will ask you if you want to install to disk
21:33 <clandmeter> you should choose no.
21:35 <doggone> the step before is "which NTP client to run"
21:36 <doggone> then it asks you which disk(s) you would like to use (? for help or none)
21:36 <clandmeter> none
21:36 <doggone> entering ? will say "The disk you select can be used for a traditional disk install or for a data-only install. The disk will be erased. Enter 'none' if you want to run diskless."
21:36 <clandmeter> thats run from ram
21:37 <doggone> I know, it's just a bit weird, since you will be using the current disk (the one you're installing from). It feels like it should be an option within sys/data/...
21:43 Anastas joined
21:51 hph^ joined
22:16 Maxpm joined
22:25 _j joined
22:25 <_j> Hi there
22:27 <_j> So I've just installed alpine successfully with a luks-detached header (albeit a few hacky things) and I had a few questions...
22:28 <_j> Firstly, is it possible to use stable with packages from aports/testing or is this going to clobber my system?
22:29 <clandmeter> we dont support it but its possible with repo pinning.
22:29 <_j> clandmeter: okay, that's cool to know - thanks :p
22:30 <_j> Secondly, I run my own kernel with no modules - is there any way to stop linux-vanilla/grub/mkinit from clobbering it?
22:31 <_j> I'm currently running without the linux-vanilla package but it'd be nice to be able to install it so I can see when the kernel needs an update - I'd recompile manually
22:32 <_j> Also, as a sidenote - GRUB doesn't include an /etc/default/grub by default! I've gotten around this by installing grub from void and copying the file from there...
23:15 _ikke_ joined
23:38 _ikke_ joined
23:50 Anastas joined