TAFBcan anyone help me install Windows XP on my Ubuntu VPS?02:00
=== JanC is now known as Guest36120
=== JanC_ is now known as JanC
sarnoldTAFB: heh are you still trying to use that openvz-ish system? if so, start with "bochs"02:03
TAFBsarnold: Yes, I believe so :)02:05
TAFB<- linux noob02:05
TAFBbochs looks interesting, I'll read up on it, thanks!02:06
sarnoldTAFB: another thing to consider is just paying amazon to run windows for you -- https://aws.amazon.com/marketplace/pp/B00KQOWCAQ/ref=mkt_ste_windows_amis -- I haven't got a clue how you -use- the thing, but maybe there's a VNC interface or something?02:10
RoyKTAFB: probably easier with a kvm vm thnan openvz02:11
TAFBI'd really really like to run it on my current server as that's where all the media will be streamed from, but if it's not possible or has bad reliablility or performance then I'll consider other options.02:11
sarnolda t2.medium has 2vcpu and 4gigs ram, and costs just under 8 cents an hour :) that buys a lot of not-caring-how-it-works :)02:11
TAFBI have a Windows RDP server in Paris but the peering/speed to north america is horrible.02:11
RoyKTAFB: just setup samba and share the media that way02:17
TAFBit's for a live stream, so latency and jitter is an issue02:18
RoyKthen why windows?02:19
RoyKor why mixed platforms?02:19
TAFBthe only software I've found to unencrypt the live stream and re-stream it is tubedigger, only runs on windows.02:19
sarnoldhah then forget you ever heard about bochs :)02:19
TAFBbochs not good performance? lol02:20
TAFBit's windows xp, how hard can it be to emulate?02:20
RoyKTAFB: not very hard at least if you install the paravirt drivers02:21
RoyKTAFB: if you don't paravirt it, it'll be very slow02:21
TAFB"Paravirtualization requires the guest operating system to be explicitly ported for the para-API"02:26
TAFBdoesn't sound like I'll be able to use it on my current VPS :(02:26
sarnoldindeed no :)02:27
patdk-lapI think everyone has discontinued paravirtualization02:57
patdk-lapexcept if your running like lxc :)02:57
patdk-lapI know vmware killed it off, and aws did, not sure if xen did or not02:57
sarnoldparavirtualization has moved into the drivers02:58
sarnoldvirtio block, virtio nic, virtio rng, etc02:59
RoyKpatdk-lap: hwvirt is rather dead - as sarnold says, paravirt is in the drivers02:59
RoyKpatdk-lap: xen is rather dead, though, which is good03:00
sarnoldunless you're still running with an ne2k emulated nic :)03:00
RoyKheh - I setup this vm a few days back to feed flightradar24 with an usb thing - turned out it was using a crappy usb2 virt driver with only polling03:01
RoyKdma was envented - what - 30 years ago?03:02
patdk-lapoh, not paravirtualization, paravirt drivers03:02
RoyKsame thing03:03
patdk-lapvmware and aws killed paravirt vm's though03:03
patdk-lapno it's not03:03
patdk-lapyou can run xen in paravirt or hvm mode03:03
patdk-lapparavirt shares the host os kernel03:03
RoyKyeah and the hvm mode sucks rather badly03:03
patdk-lapwhy? hvm is just normal qemu03:03
RoyKxen in hwvirt03:04
patdk-lapif your on 32bit, and not using cpu vt, sure03:04
RoyKperformance of a 386 with old drives03:05
TAFBhow do I set the resolution of tightvnc? I tried xrandr --fb 1920x1080 but it says "can't open display"03:27
rostamhi all using 14.04 server trying to resolve the boot issue, I found out the plymouth restart fails, I changed the grub to disable it still I see the issue, How can I disable the plymouth? Thank you.06:47
temhaaHello, I am newbie in virtualization. I am thinking to use ubuntu as host server. Which virtualization method is best. I will buy tower server for this. For example I need 8 GB RAM, 2 or 4 core CPU for each guest. I want to create least 3 or 4 guest for one host.07:15
hateballugh, spring cleaning07:16
temhaaActually I need to 4 machine. I am thinking to provide with virtualization. What are your advices. If you help me I would be glad07:16
hateballtemhaa: depends what you are comfortable with using07:16
ubottukvm is the preferred virtualization approach in Ubuntu. For more information see https://help.ubuntu.com/community/KVM07:16
temhaahateball: I have java application, ELK stack, some little applications in digitalocean. I am thinking to move my psysical server.07:18
temhaahateball: I tried kvm before. But it is best tool I am not sure. I cant use lxc because I have docker containers for these applications07:19
temhaahateball: I wonder, If I open 4 guest with kvm (each guest must have 8 gb ram 4 core cpu). what must be resources of host machine? How can I caclulate. I couldnt learn this07:20
temhaaIs there anybody who experienced with kvm07:22
hateballtemhaa: overprovisioning isnt very easy to calculate07:31
cpaelzertemhaa: https://www.stgraber.org/2016/04/13/lxd-2-0-docker-in-lxd-712/08:06
cpaelzertemhaa: docker is no "you can't use containers for the first level"08:06
cpaelzertemhaa: I really agree with hateball that the biggest factor is what you feel comfortable with08:07
cpaelzertemhaa: that said - nobody else can decide lxd vs kvm for you :-/08:07
cpaelzertemhaa: I've used kvm and lxd a lot, and they just have different specialties and use cases08:08
cpaelzertemhaa: for lxd I recommend reading the full series about lxd that I linked one piece of08:08
cpaelzertemhaa: after that you should have a feeling for that, for KVM there are a million docs out there - it depends on what you want to know08:09
cpaelzertemhaa: and for your ressource question it depends - on how muhc of that size is active memory and how busy the cpus are08:10
cpaelzertemhaa: in general the answer to any performance and/or sizing question is "it depends"08:10
temhaacpaelzer: non-shared resources are very importand me. as I know lxc is using shared resource, am I right?08:12
cpaelzertemhaa: kvm shares it's cpus as well if you don't stop it from doing so08:14
cpaelzertemhaa: so you want to hard-dedicate the ressources?08:14
cpaelzertemhaa: more like partitioning than sharing ?08:14
cpaelzertemhaa: that LXD can do as well in some way, see https://www.stgraber.org/2016/03/26/lxd-2-0-resource-control-412/08:15
temhaacpaelzer: There are a lot of things what I dont know. For example overcommiting. Just think. I have two application. Each application wants 8 gb ram and 4 core. I want to install each application to different guest.08:16
cpaelzertemhaa: overcommiting just means for that case that if you have 4x8GB "guests" your Host doesn't have 32G08:17
cpaelzertemhaa: usually lxd will be a bit better at that, as it doesn't have the issue that the guest page cache appears as non-volatile memory08:18
cpaelzertemhaa: in KVM the host (in the worst case) will swap guest page cache (which the guest could just throw away)08:18
cpaelzertemhaa: if anythin (IMHO) the decision between KVM and LXD is more-isolation (kvm) vs. more effeciency (LXD)08:19
temhaacpaelzer: Yes. I am learning what is mean.  I need 8X2 gb ram for two application, If I buy 16gb host machine then is it good practice I am not sure.08:19
temhaacpaelzer: Because I want to decrease cost.08:19
cpaelzertemhaa: if you can size whatever you want, buy not only sum-of-guests, but sum-of-guests+safety (for the Host)08:20
cpaelzertemhaa: if your target is to lower cost you have to reverse that and that implies you strive for more effeciencey which is usually where LXD wins08:21
cpaelzerand when you say 8x2GB - is that 8x2GB fully used?08:21
cpaelzerlike 2GB JVM Heap?08:21
temhaacpaelzer: by the wy I have heard LXD for now. It is something like lxc?08:21
cpaelzerbecause then your system needs at least a bit more around to breathe08:21
temhaacpaelzer: they can be use fully08:21
cpaelzertemhaa: https://linuxcontainers.org/lxd/08:22
temhaacpaelzer: yeah I am reading at the same time08:22
cpaelzerjust take the hour or two and read  this and the artictle series I linked before08:22
temhaacpaelzer: You say, "you can install docker to LXD. You can open guest machines with low cost". Because LXD is more lightweight then KVM08:24
cpaelzertemhaa: if you like more of a "show" http://www.grabber.xyz/2015/05/lxd-vs-kvm.r_7UbDgExdI.html08:24
temhaacpaelzer: Last link what you sent doesnt work, it is not opening08:24
cpaelzertemhaa: that is true as long as your docker images are not breaking on the extra confinement that lxd adds08:25
cpaelzerhmm, let me check that link08:25
cpaelzertemhaa: https://www.youtube.com/watch?v=90oxad2r8_E better?08:25
cpaelzertemhaa: I'd say check the vid, read the LXD article series by stgraber and then decide08:26
cpaelzertemhaa: I'd even say give one of your application containers a test e.g. on your laptop inside lxd08:26
temhaacpaelzer: You can understand me, I am not professional. I dont have big server. actually I dont have server. I am thinking to buy to leave from digitalocean and amazon. So I am looking for virtuallization tool and I need to choice true resource of host machine. :)08:28
temhaacpaelzer: Yes I am listening that video08:28
cpaelzertemhaa: I can understand you, but I can't (and I'm convinced nobody can) decide it "for you08:29
cpaelzertemhaa: in fact I think sales people can decide for you (that is what they do) :-P08:29
temhaacpaelzer: I know, so I am asking what is your advice:)). If I have more money, It doesnt matter :P08:30
temhaacpaelzer: sorry my english is not very well08:30
cpaelzerit is fine, never mind08:30
cpaelzertemhaa: I (personal opinion) would experiment with LXD and if it is working go with that as it is more efficient and you listed price as a target. But then (usually) on the clouds where you already are you are usually cheaper, just not as consistent. I'd chose KVM if (even more) isolation is a must for you.08:31
cpaelzertemhaa: and without any offense - but with "I am not a professional" you are likely better off sticking with the clouds - as they are professionals maintaining that stuff for you08:32
newcomer25The whole Law is fulfilled in one statement: ‘You’ll love your neighbour as much as yourself’ - Galatians 5:1408:33
newcomer25God bless you all and have fun using chatting!08:33
cpaelzerthat was weird08:33
temhaacpaelzer: I dont need high avaliability.  I want to run application in true resource. I can do server management08:36
temhaacpaelzer: I need to decide LXD or KVM. Therefore I need to read more documentation. your explainations are very helpfull for me08:36
YamakasYhi guys10:42
YamakasYwhen I ssh to an ubuntu box, which always worked, and I get a connection refused now (several servers) should that be logged in syslog ?10:43
ograYamakasY, perhaps http://www.openssh.com/legacy.html ?10:45
xmjwhere does 16.04'11:18
xmj's postgresql server store its data?11:18
maswansame place as always, /var/lib/postgresql/ ... ?11:20
=== _degorenko|afk is now known as degorenko
=== iberezovskiy|off is now known as iberezovskiy
xmjmore on that note, which package contains that default data?11:38
Odd_Blokexmj: What do you mean by "default data"?  AIUI, Postgres will create the files on install/first start.11:58
xmjall good12:11
xmjOdd_Bloke: when you intentionally remove the data in /var/lib/postgresql, the question is which package makes it reappear on reinstall12:11
xmji eventually found that purging and fiddling around helps with ^12:11
=== AMZ__ is now known as AMZ_
jamespagecoreycb, niggle with your ubuntu-reports change is that reports.qa.ubuntu.com can't access github - its also running 12.0413:08
=== Jalen_ is now known as Jalen
coreycb jamespage, that's too bad.  12.04 might be ok but yeah it needs access to github.13:26
GMAzraelalmight IRC, I have an issue. My 16.04.01 server is not reponsing to the local subnet, but is responding to NAT'd requests. UFW and iptables are off. The nic is bridged for containers. Any thoughts?13:40
GMAzraelresponding to ssh attempts*13:40
GMAzraeltcpdumps say no packets are coming in, but the server is pinging fine13:44
coreycbjamespage, qemu 1:2.2+dfsg-5expubuntu9.7~cloud6 is ready to promote to kilo-proposed13:44
jamespagecoreycb, looking now13:45
jamespageddellav, hey - I did the MIR for oslo.privsep - could you look at the two new deps for heat:13:51
jamespagefor reference13:51
coreycbbeisner, can you promote ceilometer 1:5.0.4-0ubuntu1~cloud0 ito liberty-proposed?13:58
beisnerhi coreycb, done re: https://bugs.launchpad.net/bugs/161457013:59
ubottuLaunchpad bug 1614570 in Ubuntu Cloud Archive liberty "[SRU] OpenStack Liberty point releases" [Undecided,Fix committed]14:00
coreycbbeisner, thanks14:01
setuidSomething weird, if I install 10 kernels to do a regression, grub/update-grub shows those kernels, but only the most-recent one gets an entry in the visible config.14:02
setuidHow can I get grub to see (and list) ALL of the installed kernels?14:03
setuidI'd rather not drop to the grub shell every time to find/choose/edit the kernel line to select the one I need to test14:03
setuidI installed grub-customizer, and IT sees all of them and creates entries, but then when I save and exit, they're reverted, and only the last one is set up in the default entry14:04
xnoxsetuid, all kernels should be listed under sub-menu.14:14
xnoxno idea what grub-customizer is14:14
=== deadnull is now known as _deadnull
beisneryw coreycb14:16
setuidxnox, Agreed, and I can see all the entries in grub.cfg, but the UI doesn't show them14:16
setuidI'll cut down the number of kernels and see if maybe there's a limit here14:17
trippeh_setuid: it should show up under the "Advanced options for Ubuntu" grub sub menu during boot.14:21
trippeh_you have to select the menu for the list to show up.14:22
setuidRight, and that menu only shows 2 kernels; the default and safe-mode14:22
trippeh_ah ok, that is odd.14:22
setuidI'm going to wipe out all the kernels one by one and start again14:23
setuidtrippeh_, confirmed, even with 5, 6, 10 kernels, it only ever shows the last one15:04
setuidthis is 16.04 server15:04
setuidbut grub.cfg is correct, and lists all entries15:05
setuidThe output from update-grub also shows the correct entries15:06
setuidIt's almost like it's just not getting written to the actual boot block15:08
setuidHrm, interesting... the kernels are all -lowlatency kernels, but the ONLY entry that shows up in grub's menus, is the 4.2.0-27 *NON* lowlatency kernel, all the ones that are newer/later, do not show,and they're all lowlatency15:10
setuidparsing bug with the kernel filename? Or is there some host-based triggers that grub ignores?15:10
setuidjust installed a handful of 4.x.y-generic kernels, they're all ignored by grub15:17
setuidit only shows 4.2.0-2715:17
setuidJust removed ALL the kernels, except 4.2.0-42-generic, and grub still shows 4.2.0-27 under Advanced, but the default entry boots 4.2.0-27 from -somewhere-, even though it's not in /boot/15:20
naccsetuid: i assume you're just reading /boot/grub/grub.cfg, right?15:23
naccsetuid: did this happen before you installed 'grub-customizer'?15:24
setuidnacc, Checked all the grub files, as well as the ncurses boot menu that comes up from the boot block when the machine is booted15:24
setuidnacc, This happened before I installed that, yes. The reason I installed it, was to see if grub-customizer correctly parsed the entries (it did)15:24
naccsetuid: i meant that the /boot/grub/grub.cfg file is also in error, not just the menu, sounds like it?15:26
setuidnacc, grub.cfg looks syntactically correct15:26
naccsetuid: it seems odd that 4.2.0-27 exists in teh menu and successfully boots if you removed it15:26
naccsetuid: i mean, does it contain menu entries for the other kernels?15:27
setuid# uname -a && grep 27 /boot/grub/grub.cfg15:27
setuidLinux ubuntu-14-04-4-vm 4.2.0-27-generic #32~14.04.1-Ubuntu SMP Fri Jan 22 15:32:26 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux15:27
setuid    insmod ieee1275_fb15:27
setuidI'm booted to a kernel that does not exist on the system15:27
setuidunless they're no longer stored in /boot/15:27
naccsetuid: are you on 14.04 or 16.04?15:28
setuid14.04, (I misspoke earlier)15:28
setuidthis is a clean, 14.04 image installed in vmware workstation15:29
naccsetuid: can you pastebin /boot/grub/grub.cfg?15:29
=== _deadnull is now known as deadnull
setuidSure, one sec15:30
naccfwiw, i think you're on a no-longer-supported HWE stack (14.04.4 rather than 14.04.5)15:30
setuidnacc, I used the 14.04.4 ISO to install it15:31
setuidbut it shouldn't be anything magical, 14.04.4 works elsewhere15:31
setuidwhere is 4.2.0-27 actually booting from? It's nowhere on disk, nor listed in the package listing15:32
naccsetuid: you found it?15:34
setuidSo /boot/ was a 200MB partition, I moved that out of the way, created /boot/ off of the root, put my kernels in there, grub and all tools recognized it, so I just mounted /boot2/ (the original /boot/), and there were a number of kernels in there, including -2715:34
setuidSo I removed everything, and rebooted. Now it doesn't boot (as expected)15:35
setuidso grub-install probably was pointed to that partition, while userspace tools pointed to /boot/15:35
setuidhence, the schism15:35
naccyep, changing /boot makes sense15:36
setuidI needed the space for testing dozens of kernels15:36
naccsetuid: yep, understood15:37
setuidnacc, chicken and egg... /boot/ now resides on / which is an LVM, so grub can't see/boot it15:46
rattkingHi folks, I am having an issue where my post-up rules for adding a static routes in networking/interfaces are not taking on boot, if I restart networking service the routes do take, if I add a sleep 1; to the post-up it does take as well, this same config worked with 12.04. it has eth0,1 bonding and vlans so its a bit more then a usual interfaces config.. any ideas on how I can debug that further?15:46
setuidI'll need to reinstall the whole box, choose non-LVM, or create a fatter /boot and do manual partitioning15:47
naccsetuid: ah ... yeah it might be easier15:47
setuidCan't easily expand /boot/, so I'll just create a second disk for /boot/ and if I need to increase it, add a third disk, rsync, and mount it back (it iS a vm after all, easy to do)15:48
naccsetuid: yeah, undersizing boot has been, ime, the most commen reason t reinstall :)15:50
setuidIt's not common to need to add many kernels, but 200MB is pretty small, esp. given the size of most drives these days15:53
setuid20GB boot should give me enough breathing room15:54
naccsetuid: yeah, 200M is very small15:54
setuid4 kernls and you're out of space15:57
setuidThat was a bit tricky to find, given that I no longer had the old /boot/, but grub still installed itself with the old data.15:58
setuidStill though, update-grub had the right kernels, what was it doing, if not replacing grub on the boot record?15:59
setuidwas it writing to the boot record on the LVM partition, which grub (at boot time) ignores?15:59
setuidbecause that would be a bug, update-grub should warn that it's doing that, and the system will not boot with the options used15:59
rattkingit seems like my post-up rules are running before the network interface is actually up16:20
setuidrattking, how many cpus?16:21
setuidI know it seems unrelated, but there's an issue we tripped on recently that sounds similar16:21
rattkingbut some servers will have more16:22
setuidhumor me, boot one with 'maxcpus=4' and see what happens16:22
patdk-wkphysical or cores?16:23
rattkingthose are cores.. no hyperthreading16:24
patdk-wkmore I was wondering if the issue is related per core, or socket count16:25
rattkingthis motherboard is a dual socket, but only 1 is populated16:25
rattkingwow.. with maxcpus=4 the postup rules loaded on boot.. what the heck kind of bug is that?16:27
naccsounds like a race?16:29
rattkingyeah I was thinking its a race.. because adding 'post-up sleep 1' caused it all to work too16:29
naccrattking: is 4 < the number of cpus normally shown in /proc/cpuinfo ?16:30
rattkingon this system its processor: 0 - 3 .. so yeah 416:31
naccsetuid: hrm, do you know why specifying maxcpus= changed behavior in your system (why you suggested it)16:32
setuidnacc, we're tracking it down, it's some very subtle race condition with interfaces and sub-interfaces16:34
setuid"We" == (@Canonical)16:34
setuidThere appears to be a tipping point somewhere north of maxcpus=816:35
rattkingsetuid any ideas on other ways a can get around that? I have a bunch of systems with different numbers of cpus16:40
setuidDid it work when you tested it with statically defining maxcpus?16:41
ilivI have this odd problem with Xenial LTS running as guest vm in virtual box. It has two NIC's and one of them doesn't work after the system starts unless I restart networking or run ifdown enp0s8; ifup enp0s8 manually. ip a l command shows that link of enp0s8 is UP, it is assigned a static IP address but I can't ping other hosts on the same network unless I restart networking or toggle the enp0s8 interface manually with ifdown/ifup commands.16:43
ilivthis is my dmesg log https://dpaste.de/7r2D/raw16:43
setuidiliv, Does /etc/network/interfaces have that interface set to start?16:44
setuidauto enp0s8?16:44
setuidand a block for that adapter to define it? (iface enp0s8 inet static... etc.?)16:44
setuidor dhcp, as your needs require16:44
rattkingsetuid: I am not sure what you mean by statically defining maxcpus16:44
setuidrattking, boot your server, passing 'maxcpus=4' on the kernel args line ('e' at grub to edit it, F10 to boot with the modified line), and see if it happens16:45
ilivsetuid, it looks like so:16:45
ilivauto enp0s816:45
iliviface enp0s8 inet static16:45
setuidiliv, no gateway, no dns-nameservers?16:45
ilivno need for any16:46
rattkingoh yes it did work when I set maxcpus=4.. I am wondering how I can handle that on many systems with different numbers of cpus16:46
ilivit's the secondary interface that is used in a very simplistic LAN16:46
setuidwhen you say "one of them doesn't work", what do you mean? It's not assigned an IP?16:46
setuidOr it's not bringing up the interface?16:47
ilivIP address is assigned to enp0s8, link is reported as up by ip a l but I can't pint this IP address or any other IP on this lan from this system until I toggle enp0s8 or restart networking via systemctl16:47
setuidYou can't ping it from the same host? Or from another host?16:48
ilivsetuid, note in dmesg log how enp0s3 "becomes ready" and enp0s8 never does so16:48
setuidYou won't be able to ping it from another host, because you don't have the gateway set, therefore, no routes to that host, and no ARP table entries16:48
ilivI can't ping enp0s8 from another host on the same network16:48
setuidThat's expected, no route, no ARP path to the host16:48
setuidBut if you can't ping it from itself, that's an issue16:49
setuidback in a lunch...16:49
=== setuid is now known as setuid|lunch
ilivare those all set up when I do ifdown followed by ifup?16:49
ilivin my experience it is all set up automatically as long as link is up and IP address, plus netmask, are assigned16:52
ilivsetuid|lunch, see for yourself http://i.imgur.com/RuTjEFx.png This is how it looks right after the system started. Everything is there but it just doesn't work unless I toggle the interface.16:58
setuid|lunchiliv, Does it work if you run 'ifup enp0s8'?17:06
ilivsetuid|lunch, if I toggle it: ifdown followed by ifup17:06
ilivsetuid|lunch, if it is just ifup then no17:06
ddellavjamespage just saw your message, i will take care of those ASAP17:07
=== iberezovskiy is now known as iberezovskiy|off
ilivsetuid|lunch, here's an example http://i.imgur.com/dVC4ajl.png17:09
=== setuid|lunch is now known as setuid
setuidiliv, is this a physical adapter? or virtual?17:09
ilivsetuid, virtual. this system is xenial lts virtualbox guest vm. the adapter in question here is host-only type of adapter. the host is xenial lts too.17:10
setuidIf you set it to 'nat', does it work?17:11
ilivI have two interfaces in this guest vm. One is enp0s3, which is the NAT interface you refer to and it always works. No problems whatsoever. The other one, which is enp0s8 we have been discussing so far, is the interface that is seemingly configured correctly but never works until it's toggled.17:12
ilivand it is host-only as I said above17:14
setuidRight, I understand that. If you change nothing at all in the guest, and just set the interface to NAT in vbox, does it work?17:16
setuidI'm trying to separate the possible issues17:16
ilivsetuid, then I will end up with two NAT interfaces17:18
ilivwhich wil most likely isn't going to work right17:18
ilivsetuid, I added this one-liner to /etc/rc.local: ifdown enp0s8 && ifup enp0s8 and it helps but it's an ugly hack obviously.17:22
setuidYou can have as many NAT interfaces as you want, up to the limits of your upstream switch/dhcp server's ability to hold them in the ARP table, but that's not the issue. I'm not saying this is the solution, I'm asking to test it to see if it's an issue in the host-only networking layer (vif) vs. NAT to a physical adapter.17:25
setuidRight, that's a hack, not a solution17:25
ilivsure, give me a couple minutes to test that..17:27
setuidnacc, I'm wondering where this 'grub' issue really needs to be filed17:31
jhobbsWG 217:32
setuidnacc, Is increasing /boot/ an SOP when you need more space? Or do most people just toss the build and reinstall? Or do they nuke /boot/ partition, add /boot to / and do what I did?17:32
ilivsetuid, alright so two NAT interfaces: http://i.imgur.com/LX5Q3sO.png It works.17:47
rattkingsetuid: when I set maxcpus=8 on a system with 8 cores I find the post-up scripts do not work again.. any ideas on how to deal with that?17:50
naccsetuid: yeah, not sure17:51
naccsetuid: i mean, in theory, increasing the size of boot maybe is normal17:51
naccsetuid: but i think most people start over when they hit it these days -- or know they don't really need a separate /boot, etc17:51
setuidnacc, I generally set /boot/ to noexec, ro, sync and make it ext2, so having it separate from / makes sense, esp. if you corrupt your rootfs, you can still boot the machine and attempt some recovery17:53
naccsetuid: sure, i can see reasons for doing it that way -- i think they are less relevant (ime) these days, but yeah, the bug might just be with usability when you try to switch /boot17:54
setuidPart misinterpretation (/ being an LVM, and me adding /boot as a directory to that partition, which grub can't boot to), and the real bug that update-grub/grub.cfg and other tools implied they were doing the right thing, but grub itself was still booting to the old -partition-, even though it was not mounted to /boot/ any longer.17:57
setuidupdate-grub should probably warn that it's going to create a non-bootable environment if it detects that /boot/ is on an LVM17:58
ilivsetuid, what do you know! a virtio-net host-only interface works. before that I used an Intel PRO/1000 MT Desktop variety virtual NIC.18:49
setuidSounds like a bug with the vif, file that with vbox18:49
setuidUnless you can duplicate it on vmware workstation and isolate it as an OS bug18:50
JordanWPI am using postfix on ubuntu server and my emails are relayed to MS Exchange.  Wondering how to change the From: address on the email.  Anyone?19:24
JordanWPIts currently using wordpress@%hostname%19:25
bekksThats entirely not what a mail relay does.19:25
patdk-wkJordanWP, fix your software that creates the email19:26
patdk-wksounds like it's wordpress19:26
sarnoldthere's two From headers in email, the envelope-From and then the message body From:19:26
patdk-wkno, there is only one from header19:27
patdk-wkenvelope-from is not a header19:27
sarnoldif your wordpress is sending with the /usr/bin/sendmail program then the -f command line option can change the envelope-from header: http://www.postfix.org/sendmail.1.html19:27
sarnoldif your wordpress is setting the From: header then you need to modify the wordpress config to set the correct thing19:27
patdk-wkbut it still comes down to, the software is creating the email incorrectly and needs to be fixed19:27
JordanWPokay so i need to quit looking to change anything with postfix and dig through my wordpress files.19:28
sarnoldyeah, wordpress would be my starting point19:28
JordanWPokay thank you.  I will start poking around.19:28
=== Metacity is now known as no-time-to-hint
=== no-time-to-hint is now known as Metacity
apb1963_Aptitude is giving me an abortion when trying to install libsnmp-dev.  Details here: http://pastebin.com/AAaZgFid21:08
sarnoldapb1963_: normally that means that the i386 versions don't match exactly with the already-installed amd64 versions21:51
sarnoldapb1963_: try an apt-get update && apt-get -u dist-upgrade first to make sure that you've got the newest versions of everything.21:51
apb1963_sarnold: I never do dist-upgrade ...it just makes me nervous.22:11
bekksSo do "apt update; apt full-upgrade" instead.22:11
sarnoldapb1963_: makes sense, just do a standard upgrade instead..22:11
apb1963_well... what worries me is the fact that packages can get removed and I don't know enough to know when to be concerned. However... I'll give it a shot.22:15
apb1963_I do upgrades on a regular basis22:15
sarnoldthat does seem to happen a lot when people wind up installing the i386 binaries alongside the amd64 binaries22:15
sarnoldfor some reason some idiot software suggests something that then winds up trying to uninstall sudo.22:16
apb1963_well... that was the result of a script the asterisk related people wrote...  and yes... it's idiotic.22:16
apb1963_It looks for purged packages and then trys to install them22:16
apb1963_sacrificing the already installed version22:16
apb1963_That's where the i386 packages come from22:17
apb1963_Being the trusting sort without a good understanding of the packaging system... I ran the script.22:18
=== imr is now known as i-
apb1963_although I'm not quite sure why they turn up in an aptitude search22:18
apb1963_oh... nvm... brain fart22:19
apb1963_strike that last sentence22:19
apb1963_how can I cat a file to pastebin directly?22:32
apb1963_I used to be able to do it.. forgot how.22:33
naccapb1963_: pastebinit22:33
apb1963_oh yeah22:33
apb1963_thx :)22:33
bekksBy running: cat yourtextfile | nc termbin.com 999922:33
naccor that22:33
apb1963_nc... is that netcat?22:33
apb1963_output from latest script run.  It's not pretty.  http://paste.ubuntu.com/23090907/22:34
sarnoldwhat a disaster22:36
apb1963_pretty much22:38
apb1963_afk... brb22:38
apb1963_so...I guess I need to rewrite the script so that it doesn't try to install purged packages.22:41
apb1963_Perhaps use apt-get instead of aptitude?22:42
apb1963_Here's the script if yo're interested....  http://paste.ubuntu.com/23090933/22:44
bekksIf your script caused that mess, I'll not use it :P22:44
apb1963_no... not for using... for fixing :)22:45
apb1963_As in... helping me to determine the correct way to do it.22:46
sarnoldthere's good news and bad news22:46
sarnoldthe bad news is that script looks terrible and what it's done to your system may be insanely difficult to repair22:46
sarnoldthe good news is that you can very nearly do what you need form it with very little effort22:46
sarnold"apt-get install <start copy-and-psating the pacakges from the PACKAGES_DEBIAN lines>"22:47
apb1963_yeah... it's not a difficult script in general22:47
apb1963_yeah.. pretty much... I was thinking to just eliminate the search for packages since it just does stupid with the results.22:47
apb1963_And that would basically make it a plain aptitutude (or apt-get) install.22:48
sarnoldthese sorts of "install scripts" are always miserable compared to just preparing a package with proper dependencies, like all the other packages in the archive have done..22:50
sarnoldapb1963_: here's a little script you can use to find i386 packages on your system: dpkg -l | awk '$1 ~ /ii/ && $4 ~ /i386/ {print}'   --- some may need to be there, so don't just go deleting things all over the place. but it may be helpful.22:51
apb1963_thank you22:51
sarnoldapb1963_: here's the ones that are already installed on my laptop http://paste.ubuntu.com/23090948/22:51
sarnoldi'm surprised how many I have22:52
sarnoldhah, that paste just has the url to your previous paste :)22:53
apb1963_o i c what happened22:54
apb1963_i'm running 14.04.5  you?22:55
sarnold16.04 here22:55
apb1963_also for the record... I removed libsnmp-dev from the list because it kept aborting.22:57
sarnoldI've never used aptitude enough to know how it really works but I have a feeling that this would have worked way better if the script had just blindly used apt to install everything without trying to be clever22:58
sarnoldapb1963_: if you're willing to gamble a bit, try this: apt-get purge $(dpkg -l | awk '$1 ~ /ii/ && $2 ~ /:i386/ && $4 ~ /i386/ {print}')22:58
apb1963_sarnold: owwie22:58
sarnoldapb1963_: that will try to delete all the i386 pacages that have :i386 in the name22:58
apb1963_sarnold: wouldn't I be better off simply letting apt-get attempt to resolve?22:59
sarnoldapb1963_: maybe. your situation is .. certainly extreme.23:00
apb1963_It sure would be nice if ubuntu was distributed with essential packages pre-pinned so you couldn't hose your system unless you really knew what you were doing.23:20
sarnoldyeah it'd be nice if there was some way to alllow upgrades but not uninstalls on some subset of packages..23:21
sarnoldsudo has a preuninstall script that protects it23:21
sarnoldbut I can't imagine that anyone who has run into it also has the technical ability to make their package database happy again23:21
apb1963_and of course the asterisk guys refuse to take responsibility since it's a contributed script.  I think I"ll contribute "rm -rf /" and see if they change their policy23:21
apb1963_exactly.  The package management system is a basic nightmare.  I doubt anyone knows the proper way to use it.l23:22
apb1963_sarnold: I think what I need to do is determine which packages have both amd64 and i386 available... and then purge just those.23:29
apb1963_or at least start there.23:29
sarnoldapb1963_: I think that's what the :i386 in the package name indicates23:29
apb1963_no I don't mean on my machine... I mean in the repos.23:30
apb1963_I would assume that if there is an amd64 package, that I want it.23:30
apb1963_rather than the i386 pkg23:30
sarnoldthat's what I mean, the :i386 bit in the package name means that that package has both amd64 and i386 variants23:30
apb1963_And if there is no amd64 available... then I get the i38623:31
sarnoldheh ,are there any packages that are only i386?23:31
apb1963_huh?  so.. how does it indicate that only i386 is availalbe?23:31
sarnoldnow I'm curious23:31
apb1963_oh... that I don't know.  But it begs the question... why would any of my pkgs be i386 if there are amd64 versions for everything?23:32
sarnold_normally_ it would be because e.g. a game vendor only makes i386 builds of their game because they are still stuck in 2006 or something23:32
sarnoldor WINE23:32
apb1963_ok... so back to your comment:  "<sarnold> that's what I mean, the :i386 bit in the package name means that that package has both amd64 and i386 variants"  How can you tell that there is no amd64 package if i386 claims both are available?23:33
sarnoldapb1963_: I'm not sure, I'm trying to think of a way to figure out if there are any packages that exist for i386 but not amd6423:34
apb1963_well... wouldn't it be reported by dpkg in that script you made?23:35
apb1963_tweaked a bit of course23:36
DexDeadlyHey all, quick question.  I just setup a lamp stack.  My question is this is just local, whats a good ftp setup to do and use or any other good apache web admin23:38
sarnoldthat script only knows about packages that have been or are installed on the computer23:38
sarnoldDexDeadly: the best ftp setup is to forget about ftp and use sftp instead :)23:38
apb1963_sarnold: yes... I'm seeing that now...  however I'm also seeing things like this:23:38
apb1963_ii  linux-libc-dev:amd64    3.13.0-93.140    amd64            Linux Kernel Headers for development23:38
apb1963_ii  linux-libc-dev:i386     3.13.0-93.140    i386             Linux Kernel Headers for development23:38
apb1963_and I think that's a pretty good indication of a problem23:39
sarnoldapb1963_: there are legitimate reasons for that to happen but I don't think that script had your best interests at heart :)23:39
apb1963_no.. it really didn't.  Some clown wrote it... perhaps it worked on an earlier version.23:40
sarnoldit may work fine on a system without the multiarch packages available...23:40
apb1963_Yeah... yet more confusion as to what packages should be installed.23:42
apb1963_sarnold: So I've decided to purge anomolies.  http://paste.ubuntu.com/23091091/23:49
apb1963_I did that because I saw this:23:49
apb1963_ii  gcc-4.8-base:i386                                           4.8.4-2ubuntu1~14.04.3                   i386         GCC, the GNU Compiler Collection (base package)23:49
apb1963_ii  gcc-4.9-base:amd64                                          4.9.3-0ubuntu4                           amd64        GCC, the GNU Compiler Collection (base package)23:49
apb1963_ii  gcc-4.9-base:i386                                           4.9.3-0ubuntu4                           i386         GCC, the GNU Compiler Collection (base package)23:49
apb1963_How's that look to you in terms of letting in proceed?23:51
sarnoldapb1963_: yay, looks good23:52
sarnoldapb1963_: thogh there's that 'skype'. If you want it you may want to reinstall skype again once you're done..23:52
apb1963_Yeah... would be nice if I could say  yes to all except skype23:53
apb1963_or  yes this no that.23:53
apb1963_I was about to remove the i386 version but since it had so many pkgs unrelated to asterisk (like adobe reader) I decided to see what the amd64 version looked like. http://paste.ubuntu.com/23091113/23:58
apb1963_sarnold: ^^23:58
sarnoldapb1963_: what does dpkg -l libc6 show?23:59
apb1963_ii  libc6:amd64                         2.19-0ubuntu6.9        amd64                  Embedded GNU C Library: Shared libraries23:59
apb1963_ii  libc6:i386                          2.19-0ubuntu6.9        i386                   Embedded GNU C Library: Shared libraries23:59

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