/srv/irclogs.ubuntu.com/2017/04/19/#ubuntu-za.txt

superflyFound Linux (LXDE, I think) running in a furniture store today: https://goo.gl/photos/aRqejhfYnLmrG5Sv7 03:50
paddatrappersuperfly: ha cool! 04:21
nsnzeromorning all05:54
inetprogood morning 06:14
inetprooh and hi nsnzero06:14
nsnzerohi there inetpro - hope you are well 06:15
inetproall good thanks and you?06:15
nsnzerojust getting back into the swing of things at work - lol - never knew that i have gotten so lazy06:16
inetpronsnzero: just blame the weather :-)06:50
theblazehenHi inetpro, nsnzero, all06:51
inetprotheblazehen: hi06:51
nsnzerotheblazehen: morning06:56
inetprotheblazehen: interesting discussion you had yesterday07:14
inetprotell me, do you run containers inside VMs or do you avoid that as far as possible?07:15
theblazeheninetpro: I generally run whatever I can in containers, if not, it goes in a VM. For things like docker etc, I run docker containers inside a lxd container (lxd container per "service", eg the web + db + whatever for one service in one lxd container)07:17
theblazehenI run my vpn sever in a VM rather than container because that had some issues when I tried, and openstack install will likely be inside a few actual VMs07:18
theblazehenBasically, if it requires privileged stuff it goes into a VM07:19
inetproso multiple LXD containers inside a VM is ok?07:19
theblazehenWell, I'm running my LXD containers on bare metal07:21
theblazehenBut yeah07:21
theblazehenI think you'd be limited to something like 65536 containers / container host though07:21
theblazehenStill, you'd need beefy hardware and lightweight containers before you get that far07:22
theblazehenMy openstack is probably gonna be using lxd so that will be lxd in kvm07:23
inetprointeresting07:23
theblazehenYou can also do lxd in lxd07:26
theblazehenAnd docker in lxd, but I had to use the vfs docker storage driver07:26
nsnzerowindows 7 wont install in kvm - 07:26
theblazeheniirc had issues with docker in lxd in lxd07:26
theblazehennsnzero: works for me. What issue you having??07:27
theblazehens/$//07:27
nsnzerojust gets stuck at the windows 7 splash - i will try to get a prebuilt vm and try that07:27
theblazehenWhich video driver thing you using? qxl, cirrus, vga?07:28
nsnzerographic type ? system default spice - this is from the Virtual Machine Manager gui07:29
theblazehenVideo section in virt manager07:30
theblazehenvga / qxl / cirrus / xen / vmvga etc07:30
theblazehenAnd using virtio / sata / ide disk?07:31
nsnzeroi do not see any of those config options 07:31
nsnzerook now i found it 07:32
nsnzerochanged it to vga and sata07:35
theblazehenWhat was the disk?07:35
nsnzeroide07:37
nsnzerostill hangs on the splash screen07:37
theblazehenAlright. Stuck on the install or boot afterwards?07:37
theblazeheniirc that change would normally require a reinstall anyway07:37
nsnzeroinstall boot screen 07:38
nsnzeroi will try cloning my working virtual box image into it and see it that works07:38
theblazehenWhat's cpu usage like?07:38
nsnzerospikes then drops to a low value on the graph07:39
theblazehenTried core2duo cpu?07:39
theblazehenHmm07:39
nsnzeroi507:39
theblazehenIs cd / dvd drive ide / sata?07:39
nsnzerono dvd / cd - using a iso from local stroage 07:40
nsnzerotried windows 7 and windows 10 installation - both hangs at the same place 07:40
theblazehennsnzero: Talking about virtual cd / dvd drive07:41
theblazehenHmm07:41
theblazehenYeah, try core2duo cpu07:41
nsnzerono cd / dvd 07:42
theblazehennsnzero: What's windows set to install from then in the vm?07:59
nsnzerolocal iso copy08:00
theblazehenYeah, but you have that iso attached to a cd drive inside the vm right?08:01
nsnzeroyip 08:04
nsnzeroand i tried a physical disk in the cd rom - same thing 08:04
theblazehenDo you get a mouse cursor?08:05
* theblazehen _never_ had issues with kvm...08:06
theblazehenUnless I was doing tricky stuff like passing throught a physical PCIe card08:06
theblazehenMade by nvidia who don't want you to do that unless you pay them08:06
nsnzeroctr + alt l releases the cursor - i can force off to close it08:07
* andrewlsd also didn't have issues with kvm + win708:08
nsnzerono worries - gives me something to tinker with now 08:08
* andrewlsd just hit an nvidia systemd-udev bug08:08
andrewlsdhttps://bugs.launchpad.net/ubuntu/+source/systemd/+bug/165558408:08
theblazehenWas a while back, but IIRC I had a bit od issues with NT 4 and kvm though08:08
andrewlsdmeh. systemd-udev starts busyloop and eating all my cpu.08:08
theblazehenandrewlsd: Just kill the process? `kill -9 1`. Oh, wait...08:09
andrewlsd... yeah. systemd.08:09
andrewlsd(I did the -9, just spawned a new bonkers loop process)08:09
theblazehenBut for real, a SIGSTOP should stop cpu usage08:10
theblazehenWill still be "running", just not doing anything08:10
andrewlsd^ that might work. 08:10
theblazehenThen just SIGCONT if you add a usb drive or something, and SIGSTOP once it's mounted08:10
andrewlsdblacklisting every nvidia module also works.08:10
nsnzerouse systemctl disable to stop it ?08:10
theblazehen`systemctl disable --now systemd-systemdd` heh08:11
andrewlsdHMM.08:11
theblazehennsnzero: You still need it during boot, but maybe a stop would work rather than disable08:12
andrewlsdlol. how would you fix that if you disabled it?08:12
theblazehenandrewlsd: And if you stop it, make sure it doesn't have a socket as well as a service08:12
andrewlsd... and next time boot don't work so much.08:12
andrewlsdit has several sockets.08:12
andrewlsds/had/08:12
theblazehenandrewlsd: `init=/bin/sh`, `ln -s /usr/lib/systemd/system/whatever /etc/systemd/system/multi-user.target/whatever` or so08:12
andrewlsd(I rebooted after blacklisting nvidia*)08:13
theblazehenandrewlsd: And nvidia isn't in your initrd?08:13
nsnzerowhat version / type of windows 7 did you guys use - 32 or 64 bit08:13
andrewlsdcuriously ... this bug is only hit (in my case) when I bridge thenetwork08:13
theblazeheninteresting08:13
andrewlsdnsnzero: win7-32bit08:13
theblazehennsnzero: 64 bit08:13
theblazehenalthough 32 bit xp and below works fine08:13
* andrewlsd admits to having virtualbox atm.08:14
theblazehenhaven't tried 32 bit higher than xp08:14
* andrewlsd always tried to avoid 64-bit stuff on Win, since MSO and flash and java were all 32-bit08:15
andrewlsdand the only reason I had to run Win was to run 32-bit win-only apps.08:15
nsnzeroi need it for ms access as well 08:16
andrewlsdnsnzero: https://serverfault.com/questions/776406/windows-7-setup-hangs-at-starting-windows-using-proxmox-4-208:16
andrewlsdapparently workaround is "cirrus" graphics08:16
nsnzeroi dont think i seen an easier database gui/form creator than ms access08:16
andrewlsdbug affects Debian and Ubuntu.08:17
* andrewlsd thinks it is not a bug.08:17
theblazehenAh.  /me normally just uses cirrus and then rdp anyway08:17
* andrewlsd thinks it _is_ a bug, since default shoudl be better.08:17
andrewlsdnsnzero: I have an app that uses an embedded "ms access runtime".08:18
andrewlsdbut I still hate db forms.08:18
andrewlsdthey all look like "1992 called, they want their UI back"08:19
andrewlsd"I have an app" means, "there is an app I use". The app is not mine, honestly!08:19
MaNII'd take a 1992 UI over this 'make everything look like a tablet' fad that is now raging on the web08:20
nsnzerooffice is a staple in department - so we have to run it - we had a option of openoffice but its since been removed - everything is ms now - even gave us windows 10 and office 2016 for free08:20
* andrewlsd finds a flat-look designer and slaps it till the welts become 3D08:20
theblazehenMaNI: Agreed. Or nodejs on the desktop08:20
MaNIinternet banking is measurably worse to use than what it was 8 years ago, but hey it looks like a tablet and has lots of moving parts!08:20
theblazehenI literally saw the windows nvidia driver using nodejs...08:21
MaNI:(08:21
theblazehenMaNI: Check out the javascript on the fnb home page :)08:21
theblazehenIIRC, saw something like "This is a hack. TODO: fix it" somewhere08:21
andrewlsd;-P08:22
MaNIhaha08:22
MaNIin fairness my code has a bunch of those, but I usually have the dignity to automatically strip them out before putting them in a publicly visible place08:22
andrewlsd^ TODO is inline documentation ;-D08:23
MaNIoh wow they've changed it again, and it's even uglier looking than the previous site08:24
andrewlsdoh no.08:24
* andrewlsd goes to look08:25
* andrewlsd has only used app recently08:25
MaNI(it's been a while since I last looked at FNB page as I'm now stuck with the green bank)08:25
andrewlsdprobably looks ok on a Retina display.08:25
andrewlsd(meaning it won't look good on my 1366x786)08:26
andrewlsdactually. not bad. is narrower than 768. looks like it still fits in 600-width.08:27
andrewlsdThere are a _lot_ of laptops with 1280|1366 x 768 screens08:28
andrewlsdso nice to see it works nicely with those instead of requiring FHD.08:28
nsnzeromarketing pressure ensures that the stuff is un-necessarily  complex and eye-catching to attract customers08:31
MaNINot more than one piece of information allowed per page, must have lots of moving parts, doing anything must require clicking through dozens of pages because if users are clicking throguh dozens of pages then the metrics are better!08:33
theblazehen64 bit windows is interesting08:40
theblazehenC:/Windows/system32 contains 64 bit libraries08:40
theblazehenC:/windows/SysWOW64 contains 32 bit08:41
nsnzeroandrewlsd: the cirrus display driver works !!! thanks08:41
theblazehenAnd C:/windows/system exists so that C:/windows/System~2 == C:/windows/System3208:42
nsnzerotheblazehen: to maintain backward compatibility 08:42
theblazehennsnzero: Yeah. Still, it's amusing08:42
theblazehenThey try so hard to be compaitble08:43
nsnzerothere is still files from windows 3.1 in there as well 08:43
theblazehenWindows was once patched because simcity uses memory after a free()08:43
MaNIit's complicated, on the one hand they bend over backwards to be compatible, OTOH they deliberately sabotage backwards compatibility for developers08:44
MaNIthey want backwards compatibility to go, but they want application developers to be the 'bad guys' not themselves08:44
theblazehenAnd 16 bit installers still "run" on 64 bit windows because microsoft made a thing to pretty much interpret the installer and reimplement it, so that you can install 32 bit software using 16 bit installers08:44
theblazehenyeah08:44
theblazehenStill, impressive that you can upgrade from 3.11 to 10 without a reinstall08:45
MaNIe.g. With msvc2010 they deliberately made it so anything compiled using it won't work on XP (it's trivial to work around if you know some asm)08:45
inetpro"it's complicated"08:45
MaNIso what happens is e.g. the firefox devs want MSVC2010 - so they ditch XP support, people upgrade from XP but hate firefox for it not microsoft08:45
MaNIit's clever08:46
theblazehenThe NTFS compression isn't the best, because certain operations were slow on the DEC Alpha, which NT ran on, so now we're still stuck with that, heh. Of course we can't just change that now, because older windows still won'08:46
theblazehent read it08:46
theblazehenBut do something like when windows xp could upgrade from fat 32 -> ntfs without reinstall - tell people that it will be better, but older windows won't be able to read it08:47
theblazehenetc08:47
theblazehenCompression for fs is still a good idea - save space on ssd, and slightly better speed, or significantly improve performance on a HDD08:48
theblazehenan i3-2100 can compress lz4 at around 80 MB/s with 50% cpu usage, single threaded, and gets decent compression08:49
MaNIyeah08:49
MaNIa fast compression algo like snappy or whatever for IO can be great08:49
nsnzerohhd should have a built-in asic for data compression in the fly 08:50
* theblazehen also wishes there was something like java applets, so people will stop writing web pages for cross platform apps as well08:50
theblazehennsnzero: I'd say more fpga, could upgrade compression algorithm on the fly08:51
theblazehennsnzero: Not on the HDD itself yet, but check out some of the ceph stuff08:51
MaNIfgpa == expensive08:51
* theblazehen looks for link08:51
theblazehenMaNI: and an asic isn't?08:51
theblazehenBut yeah, not responsibility of drive08:52
MaNIless so once mass produced08:52
MaNIfor a small batch more so :)08:52
theblazehenWould break the idea of "a block device has this size"08:52
theblazehenhttp://ceph.com/community/500-osd-ceph-cluster/08:52
* theblazehen still needs to play mith ceph more, the crush map stuff isn't that easy to grok (for me at least) ...08:54
theblazehenAnd required for ssd tiering08:54
nsnzerothanks guys - the windows vm is up and running 09:00
theblazehennsnzero: Nice09:01
nsnzerotheblazehen: turns out my sshing wasnt working because the router disabled port forwarding - for some unknown reason - enabled it and all is good again 09:02
theblazehennsnzero:  interesting09:02
theblazehennsnzero: Which router?09:03
nsnzeronetgear dgn220009:03
MaNIdid you save? some routers wipe their settings on reboot09:04
nsnzerosaved it worked fine for some time - all the settings are there - just the enable wasnt ticked (selected) anymore09:06
MaNIstrange09:06
nsnzeroi just ticked (enabled) all the custom settings and bob's your uncle - perfect working ssh  09:07
theblazehennsnzero: Patch it btw09:10
theblazehenBad vulnerability a couple days back09:10
theblazehenWhoops, weeks*09:11
theblazehenhttps://kb.netgear.com/000037343/Security-Advisory-for-Remote-Command-Execution-and-CSRF-Vulnerabilities-on-DGN220009:11
theblazehenWhich reminds me, I have another one to report to them...09:11
theblazehenhttps://bugcrowd.com/netgear eh, not listed. It's just router admin access -> root anyway09:18
theblazehenDunno if I should bother09:19
nsnzerothey arent releasing patches for the old netgear - solution buy a new 1- according to them09:21
theblazehen> NETGEAR strongly recommends that all users change their modem router’s administrator password from the default password. If you change your admin password from the default password, your modem router is protected from the remote command execution vulnerability as well as the CSRF vulnerability. Changing your administrator password is also a good security practice.09:21
theblazehenWow. Expected a patch...09:21
* theblazehen wouldn't use a normal router directly imo09:22
theblazehenJust pass through the PPPoE connection09:22
nsnzerochange your password and you will be ok - fingers crossed 09:26
theblazehennsnzero: I got debian to run on my DGN2200v3 :)11:56
theblazehenv4*11:58
theblazehenhttps://www.reddit.com/r/debian/comments/44gv6i/debian_runs_on_anything_debian_running_on_my_adsl/11:58
theblazehenSwap usage though...  Ouch11:58
nsnzeroi wanted to say no ways - but the facts are there 12:01
theblazehenheh :) 12:09
theblazehenHeh, just realized, even if I report that vulnerability to them, they're not gonna patch it anyway12:09
theblazehenAnother reason not to bother12:09
theblazehenAand I just realized I linked my reddit account. Whoops12:10
theblazehennsnzero: If you wanna try it out, enable telnet, log in to telnet, then you can "echo `whoami`" etc 12:11
theblazehenPlug in a usb stick with busybox on, and create a telnet server or whatever12:12
theblazehenthen just throw a <insertDistroHere> chroot on there, and run sshd or whatever you want12:12
nsnzeroi have a spare spare netgear at home - i will try it out if i remember12:13
nsnzeronow this got me thinking of installing linux onto a nextbook i got lying around 12:15
nsnzerohave a good afternoon guys12:26
andrewlsdtheblazehen: changing the default password should be mandator. Surprised so many routers allow user to leave that at factory setting.13:21
theblazehenandrewlsd: Heh. I have one that breaks when I tried to change the password...13:21
nsnzeroevening all16:30
superflyhi17:07
theblazehenhi all17:08
theblazehenJust realized I didn't enable VT-x in my bios :( And fixing that would require a reboot18:26

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!