/srv/irclogs.ubuntu.com/2013/10/04/#ubuntu-server.txt

=== freeflying_away is now known as freeflying
jrwrenanyone know how to use libapache2-mod_uwsgi ?  I enable the module, use apache diretive uWSGISocket but apache does not send requests to hte uwsgi process00:34
Jeeves_Mosshow do I add secondary IP addresses to an interface?00:49
sarnoldJeeves_Moss: for temporary use, 'ip addr add <address> dev <device>', add new routes if necessary00:52
Jeeves_Mosssarnold, basically, I've setup Nagios, and I need to monitor a bunch of subnets internally00:52
Jeeves_Mossor is it just easier to add more NICs to the VM?00:52
jrwrenwhat does one have to do with the other? Nagios doesn't need secondary IP addresses to work.01:07
=== gary_poster is now known as gary_poster|away
sarnoldjrwren: I assumed it was a matter of making it easy to communicate with different subnets..01:10
zuljamespage:  when you get in in the morning https://code.launchpad.net/~zulcss/nova/nova-novnc-regression/+merge/18920101:31
pmatulis_hallyn: do you know the state of lxc/dnsmasq on saucy?  i haven't used lxc in a long time and i also happened to upgrade to saucy this morning.  dnsmasq isn't giving out leases it seems01:32
zulhallyn:  policykit less libvirt perkulation01:41
zulhttps://launchpad.net/~zulcss/+archive/libvirt-testing01:41
pmatulis_hm, looks like the new maas package is having package dependency problems.  who can help?01:42
pmatulis_it appears to depend on 'python-curtin' which does not exist (until Saucy)01:43
hallynpmatulis_: the containers need to be updated01:53
hallynpmatulis_: do an lxc-create -t ubuntu -n u1 -- -F to flush the cache and build a new one01:53
hallynzul: remind me tomorrow, i'll set up a test machine01:53
pmatulis_hallyn: hm, ok01:53
zulhallyn:  ack01:54
hallynstgraber: i'm going to push the lxc-fedora update to git head unless you should in the next few mins01:54
stgraberhallyn: I think it's fine, I never use that template and if I did, it'd work better than the current one anyway01:57
hallynhah, you THINK :)01:58
hallynhow much time do you really think you'd be willing to put into making systemd work in a container :)01:59
pmatulis_hallyn: dunno, still no address given out.  prolly a dnsmasq thing02:00
pmatulis_hallyn: i do see DHCP offers in the logs02:03
hallynpmatulis_: you created a new container after flushing the cache, and it still doesn't work?02:03
stgraberhallyn: can I give a negative answer?02:04
stgraberbecause I feel I've already spent too much time on it ;)02:04
hallynstgraber: :)02:05
hallynstgraber: ^ what is the dnsmasq in containers issue again?02:05
stgraberhallyn: btw, do not ack the autodev stuff, we have /etc/systemd/system on Ubuntu and i don't want autodev by default, so he'll have to find a better way of detecting systemd02:05
stgraberhallyn: can't think of a dnsmasq issue, what are you reffering to?02:05
hallynstgraber: ok.  i wasn't going to read that thread right now anyway, it's convoluted and uninteresting.02:05
hallynstgraber: ^ pmatulis_'s containers aren't getting addresses.02:06
hallyni thought that was a known problem with out-fo-date containers in most cases02:06
hallynbut i can't recall the details02:07
stgraberah yeah, but that was isc-dhcp02:07
stgraberbasically the 3.10 kernel changed a bit and started doing udp offloading on veth02:07
stgraberso the udp checksums are no longer filled in by the kernel02:07
stgraberwhich upset isc-dhcp02:07
stgraberto fix that, just make sure your container isn't out of date. I SRUed the fix to all supported releases02:08
* hallyn scratches his head on how any sort of offloading on veth is supposed to work02:09
hallynpmatulis_: ^ if that doesn't fix it, then i guess please file a bug so we can collect details02:09
pmatulis_hallyn: i'm at a container console.  dhclient causes OFFERS on the host but no address gets assigned02:17
pmatulis_hallyn: will do the bug thing tomorrow, it's late here02:18
hallynpmatulis_: thanks - good night02:20
stgraberpmatulis_: yeah, that sounds like the thing I fixed two months ago, update your container and try again02:21
stgraberpmatulis_: chroot /var/lib/lxc/<container>/rootfs/ apt-get update && chroot /var/lib/lxc/<container>/rootfs/ apt-get dist-upgrade02:22
stgraberpmatulis_: if you see isc-dhcp-* in there, then that's probably it02:22
pmatulis_stgraber: the 'apt-get update' does not work.  DNS is busted.  http://paste.ubuntu.com/6190625/02:28
sarnoldtemporary copy over your /etc/resolv.conf from host to the chroot?02:28
stgraberpmatulis_: what he said ^ (cat /etc/resolv.conf > /var/lib/lxc/lxc_precise/rootfs/run/resolvconf/resolv.conf)02:29
pmatulis_ok, working02:30
pmatulis_stgraber: yeah, isc-dhcp-client isc-dhcp-common need upgrading02:31
stgraberok, so hopefully that was the bug and the container will work after that02:32
stgraberI SRUed the fix for that quite a while back, I'm surprised people are still getting that issue. I guess not everyone has a package update OCD as I seem to have ;)02:32
pmatulis_stgraber: bingo02:33
sarnoldstgraber: or once the kernel on the host is updated, the guests are a PITA to update :/02:33
pmatulis_stgraber: dunno, how could i *not* have it?  i don't quite understand02:33
stgrabersarnold: yep, exactly02:34
pmatulis_stgraber: this is a new guest.  me confused02:34
pmatulis_stgraber: how will the next guest be any different?02:35
stgraberpmatulis_: because you have a cache in /var/cache/lxc/ that you should flush or update from time to time02:35
stgraberthe first container debootstraps the system in /var/cache/lxc, any subsequent lxc-create will just copy from the cache02:35
pmatulis_stgraber: hallyn had me flush that already02:36
stgraberso if you have the old isc-dhcp-* in there, all your new containers will be broken too02:36
stgraberhmm, odd then because the template is supposed to apply updates from -updates so the debootstrap was done in the last 2 months, you shouldn't have had the bug...02:36
pmatulis_i did this: 'lxc-create -t ubuntu -n u1 -- -F'02:37
stgraberthat should have worked...02:37
pmatulis_another bug?  :)02:37
pmatulis_lemme try another guest...02:38
stgraberpmatulis_: ah, -F will only flush the cache for the version and architecture of your host, so as you are apparently on saucy, that wouldn't have flushed the precise cache02:38
stgraberlxc-create -t ubuntu -n u1 -- -r precise -a amd64 -F would do that02:39
pmatulis_stgraber: oh02:39
pmatulis_stgraber: retrying...02:40
pmatulis_stgraber: isn't there a command for all releases?02:41
stgraberpmatulis_: rm -Rf /var/cache/lxc/* would do that :)02:41
stgraber(I never use -F, I just wipe the cache manually)02:42
pmatulis_fair02:43
pmatulis_stgraber: ok, new precise guest is good!02:48
pmatulis_stgraber, sarnold: thanks02:48
stgrabercool, glad to hear we don't have another annoying bug to fix by release ;)02:48
pmatulis_stgraber: why when i try the same flush command for quantal does it say 'container already exists'?02:52
pmatulis_stgraber: it exists, but i want to flush/update it02:52
pmatulis_stgraber: gah, disregard02:53
=== thesheff17_ is now known as thesheff17
igalicHello happy people05:11
igalicWe've had a couple of crashers recently, so I'm trying to implement https://help.ubuntu.com/12.04/serverguide/kernel-crash-dump.html05:14
igalicI've already tested this on my laptop, and now I'm testing it on a virtual machine, but my patience is running short. *How* long does it take until the dump/reboot happens?05:15
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
rbasakigalic: if you don't get an answer here, try #ubuntu-kernel.07:20
igalicrbasak: I was just looking at the https://wiki.ubuntu.com/IRC/ChannelList to find a channel more fitting.07:23
=== hXm is now known as hxm
=== freeflying is now known as freeflying_away
=== freeflying_away is now known as freeflying
gartralok all, i'm gearing up to dd one whole disk to a new disk, from /drv/sda to /dev/sdb, what caveats should I be awear of? I'm looking for any minute detail that would keep this from running smoothly, including any grub-related issues such as boot-drive uuid09:07
gartral/dev/sda to /dev/sdb*09:08
TJ-gartral: Use a large blocksize to make it fast as possible09:12
gartralTJ-: I plan on it09:12
TJ-I typically use BS=100M or more09:12
gartralTJ-: I'm just worried about other issues09:12
TJ-As long as the destination system won't have both drives in at boot... unless after the clone you change all the file-system UUIDs09:13
gartralTJ-: no, i'll be taking both drives and copying using another machne09:14
TJ-If drives are a different size, and the cloned drive is larger, you'll probably want to add or expand a partition to include the free space09:14
gartralTJ-: i'm dealing with a dying hdd in my server, both the dying drive and new drive are 320GB, I'm just hopin gto have a clean, if slow, swap..09:15
gartralhopeing*09:15
TJ-I'd recommend you not use 'dd' then, use 'ddrescue'09:15
gartralTJ-: there's no re-read errors or spin up errors on the dying drive, yet. So I'mma try straight dd first09:16
TJ-OK09:16
rbasaksmoser: I no longer seem to get a "ci-info: eth0" line in my console output in Saucy. Is this expected?09:16
gartralTJ-: I'm not expecting this too take 15-30 minutes, I'm hopeing it doesn't take more than 6 hours09:17
TJ-Make sure you're on UPS!09:17
gartralTJ-: I wish I had one09:17
=== freeflying is now known as freeflying_away
gartralwhere does mysql store it's databases? or is it safest to juse export them from the mysql client?09:55
mardraumyou should use mysqldump if you are moving them around, the mysql data dir by default in ubuntu is in /var/lib/mysql09:57
gartralok, I'll just export all databases from within phpmyadmin09:58
jamespagezul, reviewed, pushed and uploaded - thanks for fixing that up!10:29
rbasakutlemming: http://askubuntu.com/questions/353370/installing-ubuntu-13-04-64-bit-virtual-machine-with-vagrant-on-os-x-provides-o11:07
rbasakutlemming: looks like we/something is not expanding the partition to the size of the disk on boot.11:07
rbasakMaybe because cloud-init is not being used?11:08
sander^workHow come du -csx /* gives 1GB used.. but df displays 10GB used?11:34
rbasaksander^work: did you try googling? Eg. http://serverfault.com/q/57098 and http://linuxshellaccount.blogspot.co.uk/2008/12/why-du-and-df-display-different-values.html11:40
=== freeflying_away is now known as freeflying
sander^workrbasak, looks like Reserved block count is: 235916 and Block size is: 4096.. is this the problem?12:03
sander^workNo. tune2fs -m 5 /dev/xvda1 gives me: Setting reserved blocks percentage to 5% (235916 blocks)12:05
=== gary_poster|away is now known as gary_poster
sander^workdf -i tells me only 5% is in use. but df tells me 96%12:06
sander^workHum. lsof +L 1 / | grep -i deleted ..gives me two files12:09
=== freeflying is now known as freeflying_away
sander^workHow can I force delete those files I found with that command?12:11
sander^workCool. Some app had it open. Fixed it :)12:15
smoserrbasak, i'll loook. you should. i'll lok.12:19
smoserrbasak, please file a bug12:19
rbasaksmoser: filed bug 123523112:38
uvirtbotLaunchpad bug 1235231 in cloud-init "ci-info: eth0 missing from latest saucy images" [Undecided,New] https://launchpad.net/bugs/123523112:38
=== matsubara-afk is now known as matsubara
zuljamespage:  https://code.launchpad.net/~zulcss/cinder/2013.3.rc1/+merge/18929912:41
jamespagezul, + * New upstream point release. -> New upstream release candidate12:49
jamespagezul, finish_volume_migration now tests OK right?12:49
zuljamespage:  yeah removed the skip and ran fine12:50
zulnoticed the bug i opened was closed ;)12:50
jamespageother than the changelog comment +1 then12:50
zuljamespage:  fixed12:51
jamespagezul,  OK - dash theme refreshed13:14
jamespageman I hate doiing css13:14
zulhehe13:14
zuljamespage: CA nearly updated waiting for cinder and nova13:15
smoserrbasak, can you test one of the other saucy 'releases' ?13:33
rbasaksmoser: which one? Do you have a simplestreams filter query for me? :)13:33
smoseryou just need to get more than one13:35
smoserhttp://cloud-images.ubuntu.com/releases/saucy/13:36
smoserrbasak,13:38
smosersstream-query http://cloud-images.ubuntu.com/releases/streams/v1/com.ubuntu.cloud:released:download.json release=saucy arch=amd64  "label~(alpha|beta)" ftype=disk1.img13:38
smoserthat works for me13:38
smoserbut uvtools just returns to quickly.13:39
jamespagezul, https://code.launchpad.net/~james-page/horizon/theme-refresh-perms-fix/+merge/18931413:48
zuljamespage:  +113:48
jamespagezul, ta - pushed and uploaded13:53
jamespagephew13:53
jamespageI assume you reviewed every line of my css change?13:53
jamespage:-)13:53
rbasaksmoser: it's because I'm using max_items: 1. Is that a bug, and if so, where?14:00
rbasaksmoser: I wanted the latest single thing for each product that matched the query.14:00
rbasaksmoser: it seems that I'm getting the latest single thing and then filtering that with the query instead.14:00
smoserright. that is how that works rbasak14:01
smosermax applies to the newest item14:01
rbasaksmoser: which bit is right?14:02
smoserindepnedent of match.14:02
rbasakI'm lost. Are you telling me that I'm calling the simplestreams API wrong for what I want?14:02
smoserwell, as it is right now you can't use max for that.14:03
smoserbecause 'label' is on the item14:03
smoserand max is counted before it gets down there to find the item14:03
smoseri think.14:03
smoserit is the way it is.14:03
smoseri dont know if its necessarily "right"14:03
smoseri think when i wrote it i thought i could go both ways on that.14:04
smoseri dontk now.14:04
smoseri'm willing to be convinced otherwise.14:04
rbasakI'd expect the filter to apply first, and then a limit, with the newest products coming out first.14:06
rbasakIt doesn't make sense for a limit to apply before the filters.14:07
rbasaksmoser: ci-info: eth0 disappeared between alpha3 and beta1. Also missing from beta2.14:15
smoserrbasak, thank you.14:16
rbasaksmoser: alpha3: http://paste.ubuntu.com/6192406/; beta1: http://paste.ubuntu.com/6192407/; beta2: http://paste.ubuntu.com/6192408/14:17
hallynzul: starting regression tests against your libvirt candidate14:24
zulcool thanks14:24
=== freeflying_away is now known as freeflying
TeduardoHi I am running Ubuntu 13.04 and I did apt-get install ubuntu-desktop and I need to start the desktop and a VNC server for the console at boot, can anyone tell me how to do this?14:42
Teduardoor even how to start the desktop/vnc from SSH14:42
Teduardounder rhel it's just init 514:43
smoserjodh, can i 'start on mounted MOUNTPOINT=/run' and not block ?14:47
hallynzul: http://paste.ubuntu.com/6192587/   4 errors... not sure why15:07
zulhallyn:  so that sucks15:09
hallynzul: any ideas offhand?15:13
zulhallyn:  not really maybe the tests expect policykit?15:14
hallynlemme finish this commit then i'll dig in15:14
jamespagezul, OK if I don't propose a merge for the swift fixes I did this week?  I'd like to push that out with rc115:15
zuljamespage:  sure15:15
jamespagezul, ok pushed and uploaded15:22
zuljamespage:  yay!15:22
zuljamespage:  poking at glance with a pointy stick15:22
smoserrbasak, so this is i think not cloud-init's fault.15:25
smoserbut plymouth or upstart.15:25
smoserrbasak, do you want to debug some ?15:25
smoserit'd be useful to see output with that 'my-logger.conf' added in.15:25
rbasakack15:34
rbasaksmoser: I'll need to look on Monday I think. It's pretty tedious doing this by hand; I might as well add some functionality to uvtool.15:46
smoserrbasak, mount-image-callback15:48
smoseris your friend on that.15:48
smosermount-image-callback my.img sh -c 'tee -a $MOUNTPOINT/etc/init/my-logger.conf' < my-logger.conf15:48
smosersomething like that.15:48
rbasakYeah but this disk is a qcow2 overlay15:49
smosergive me some credit.15:49
rbasakI could use the nbd thing or whatever it is too.15:49
smoserwhy would i write a tool that  made you think about such things.15:49
rbasakIt works with that?15:49
smoser:)15:49
smoseres.15:49
smoseryes15:49
rbasak"mount a file" is a bit vague :)15:49
smoseronly because you are too smart15:50
rbasakIs it a problem if the debug results I give you isn't from first boot?15:50
smoserand think "oh, it can't bpossible do smart things"15:50
smoseri't be better if they were first boot i think.15:50
smoserbut probably not15:50
smoseryou could just patch the original libvirt volume15:50
smosermake a copy, patch, revert.15:50
rbasakDoes mount-image-callback unmount after it's done? Or is the clue in the name?15:51
smoserit cleans up.15:51
smoserso after you do that it is unmounted.15:51
smoserit used to be called mount-callback-umount15:51
=== chmac7 is now known as chmac
rbasakAaargh.15:54
rbasakI used /mnt for temporary stuff15:55
rbasakForgot I can't do that with cloud images since /mnt is used for stuff.15:55
zuljamespage:  was it neutron you unpatched, ran the testsuite, and then patched it?15:58
jamespagezul, yes15:59
zuljamespage:  ok i think i might have to do the same for glance15:59
jamespagezul, hallyn: ever seen one of these before?15:59
jamespagethats a 3.11 guest running on a 12.04/3.8 host15:59
jamespageand http://paste.ubuntu.com/6192811/16:00
jamespagefrom the host16:00
jamespageoh - and its nested KVM16:00
jamespageso its a 12.04/3.2 guest on a 13.10/3.11 host, which in turn is a guest on a 12.04/3.8 host16:00
jamespageblimey - thats alot of different versions16:01
zulwhy is it probing for an xfs filesystem?16:01
hallynjamespage: smb is working on a nested kvm bug...16:01
rbasaksmoser: it doesn't seem to have changed much. http://paste.ubuntu.com/6192819/16:02
* jamespage shrugs16:02
rbasaksmoser: I checked and I see a /etc/init/my-logger.conf16:02
jamespagezul,  - i have not idea - I suspect that something is trying to determine fs type maybe?16:02
zulright16:02
zuli havent seen that beofre16:02
hallynjamespage: though really in this case it looks like you have very unfortunate garbage on nbd716:02
hallynit doesn't find ext3, and then xfs chokes on it16:02
jamespagehallyn, I think that is a problem but I don;'t think its the reason why the instance is in paused state16:04
jamespagehallyn, it actually started to boot16:04
hallynjamespage: I think the guest is waiting for you to fix the fs...16:05
jamespagehttp://paste.ubuntu.com/6192827/16:05
hallynjamespage: is http://paste.ubuntu.com/6192827 for someone else?16:05
hallyn(cause i don't see how it relates to the other paste)16:06
hallynis the 5 hour jump in syslog from a tz switch during boot?16:06
jamespagehallyn, thats the console log from the highest level guest16:06
hallynthen what's the other one?16:07
jamespageis the kernel log from the host16:07
jamespageit problem did nothing for a few hours16:07
hallynoh the HOST is choking on the xfs?16:07
jamespageyeah16:08
* hallyn confused about why the host is trying to mount it then16:08
jamespageagreed16:08
hallynseems like automount-gone-wild16:08
jamespagehmm16:08
jamespageits doing something with ndb16:08
hallynudev sees new nbd device and says "aw shucks, lets mount it" ?16:08
jamespagemaybe16:11
jamespagedoes libvirt do anything like that?16:12
hallynnot that I know of, no16:12
hallynbut maybe nova is pre-mounting it for the guest?16:13
jamespagehallyn, maybe - I'd hope not but who knows?16:19
* jamespage digs further16:19
hallynjamespage: is it possible to stop nova on the host and then run the test?16:20
hallynzul: the 4 failures seem to be due to apparmor not allowing libvirt to read files under /tmp/*/16:20
hallynwhat i can't figure out is why this would be new16:20
zulpolkit version?16:21
jamespagehallyn, hmm16:21
jamespagezul, that might be something todo with it16:21
hallynzul: libpolkit-gobject-1-0:amd64 is all i have16:21
jamespageI don't see this on the bare metal host16:21
jamespagewhich is running older libvirt from havana staging on 12.0416:21
hallynzul: (or was that directed at jamespage )16:21
hallynwell lemme downgrade libvirt and see16:22
zulsmb: https://launchpadlibrarian.net/152526461/buildlog_ubuntu-precise-i386.xen_4.3.0-1ubuntu1~cloud1_FAILEDTOBUILD.txt.gz16:22
rbasakEOD16:27
* rbasak EOD16:27
jamespagehallyn, OK _ I see similar kernel log messages on the physical havana hosts; but no kernel stack trace16:27
jamespagefor example - http://paste.ubuntu.com/6192922/16:29
jamespagehmm - instance key injection I think16:31
hallyn?16:31
jamespagewhen nova starts an instance it can potentially inject an ssh key to the instance16:33
jamespageit does that using qemu-nbd16:33
hallynah.  but so that nbd7 is meant to be a valid fs?  I assumed it was not-yet-created fs attached as a secondary hd16:33
jamespagehallyn, I'm not sure but nova does not log the failure message so I'm assuming it succeeds16:36
jamespagehallyn, the http://paste.ubuntu.com/6192811/ paste was from libvirt/qemu16:36
hallynjamespage: do you know what fs is actuall *on* nbd7?16:36
jamespagehallyn, well its a stock precise cloud image16:36
hallynwouldn't that be ext4?  but it wasn't ext416:37
jamespagehallyn, actually there is a qemu-nbd process running =- root     25190     1 99 15:53 ?        00:58:11 /usr/bin/qemu-nbd -c /dev/nbd7 /var/lib/nova/instances/3eac2a3b-52d3-4a9c-ba21-602f1cc5e220/disk16:52
jamespageso it started OK16:52
jamespagedespite the error message16:52
jamespagebut then the instances pauses16:53
hallynthat just sets up the block device.  it doesn't mount it16:53
hallynyou can do that with a completely garbage file16:53
=== jdrab_ is now known as jdrab
smoserrbasak, sorry. slow reply. that paste http://paste.ubuntu.com/6192819/ shows that a *ton* of output got eaten17:25
=== psivaa is now known as psivaa-afk
=== matsubara is now known as matsubara-lunch
Phogwhat are some good projects to help me learn ubuntu a bit better17:44
sarnoldPhog: whatever will keep your interest long enough :) if you're at a complete loss of what to do next, you could read the server guide:https://help.ubuntu.com/12.04/serverguide/   or you could read all the manpages on your system (probably harder today than it once was, maybe focus on commands in /bin and /sbin for starting..)17:51
Phoghmm ok17:52
Phogi like projects because i learn as i implement17:53
Phogbut17:53
Phogi can handle this17:53
Phogthanks17:53
sarnoldPhog: you might find the perfect project while reading the guide :) it's got a lot of cool stuff...17:54
Phogyou ever tunneled http through an ssh session17:55
sarnoldsure, it's quite useful for traversing firewalls17:55
Phogyeah17:55
Phogdoes chrome do it?17:56
Phogon windows?17:56
Phogseems like all the guides i read are firefox17:56
sarnoldPhog: sure, chrome will do it fine, if you can get the ports configured properly for ssh. I _think_ putty has those options, but I haven't looked in a decade or more.17:57
Phogok17:57
Phogssh is pretty nifty17:58
hallynsarnold: yeah i've port fwded through putty for accessing security cam before, it does it fine18:08
hallynzul: 1.1.1-0ubuntu8 fails the same way18:08
hallyndid we use to allow /tmp/** access to libvirt-qemu?18:09
zulhallyn:  really?18:09
zulim not sure18:09
sarnoldhallyn: cool :) I figured MS would have made a Good Enough copy of BSD sockets layer to let it work fine..18:09
* hallyn checks precise18:09
hallynno...18:10
hallynis this a regression in virt-aa-helper?18:11
Phogwow18:11
Phogi can't believe i've gone this long not realizing i could tunnel through SSH18:11
Phogjesus18:12
Phoghow fucking insanely handy is that18:12
hallynjobs-level insanely18:12
hallyni suppose thats why plan 9 network ns  binding stopped being so cool18:13
sarnoldplan 9 never stopped being cool, even if I never did get the hang of using the mouse so much.18:15
hallynneed a corded kbd18:17
hallyngrumble grumble thermal shutdown grumble grumble18:22
tom[]i foolishly broke a server's packages. i learned on #opensmtpd of a supported .deb. the only pkg available then was a sid but i didn't know what that meant. i added "deb http://http.us.debian.org/debian sid main" to sources.list on ubuntu 12.04. i soon learned how stupid that was. chaos ensued. the mess is beyond apt-get -f (no aptitude on the system). how can i get back to the versions from the precise distro?18:29
hallynthere's probably a better way, but you could just install a quick precise instance somewhere to get package versions of things you defiantely need, then grab them from archive.ubuntu.com/ubuntu/pool/18:36
hallyn(then dpkg -i them)18:37
hallynor,18:37
hallynyou could install a rootfs (say a container) onto a usb stick;  mount that on that server;  copy stuff to bootstrap18:37
tom[]the servers are very distant.18:38
tom[]but i have two that are almost a matching pair. i screwed up only one of them18:38
hallynrsync -va remote:/bin/ /bin/ ?18:38
hallynwell if you have wget and dpkg then i'd recommend the first option18:39
sarnoldyeah, I like the sounds of the first option18:40
sarnoldanother option that I very nearly hesitate to mention... try replacing 'precise' with 'raring' in your sources.lists, and try to apt-get dist-upgrade your way forward. It won't be on an LTS release then, but going further forwards make work better than trying to downgrade packages..18:41
tom[]i have wget, dpkg. but i don't understand what you wrote. "install a quick precise instance somewhere" e.g. locally in virtualbox?18:42
hallynor an amazon instance;  or a container (lxc-create -t ubuntu -n p1 -- -r precise;  lxc-start -n p1)18:44
hallynor even just a debootstrap somewhere.  just so you can compare versions and sha1sums18:44
hallynsarnold's raring suggestion is good depending on what this box does and your future plans for it18:45
tom[]its a webapp server (maria, php, nginx, sphinxsearch etc.)18:47
tom[]currently a hot standby and working but the packages are unmanagable18:47
jrwreni'm trying to chroot to a tree where most things (libc, bin/bash) are symlinks to another area in the same tree. strace shows chroot syscall succeed but execve /bin/bash fail with ENOENT   This works on an old FC system. Can anyone suggest where I should look?19:05
jrwrennevermind. of course after I ask, I find soemthing new and fix it.19:17
hallynzul: all right, passes on raring.  i dunno...  lemme try a new cloud instance of saucy19:18
zulhallyn:  ack thanks for doing this19:18
=== matsubara-lunch is now known as matsubara
hallynzul: yea a new stock saucy instance has the same 4 failures.  not sure when this regression popped up.19:53
hallynsigh - bisect i guess19:53
hallyntesting 1.1.1-0ubuntu419:58
delinquentmeOK so putting in alias commands ... ~/.bashrc or  ~/.bash_profile ??21:03
jkyleanyone have a working example of a multi-disk, multi volume group (lvm) preseed?21:03
jkyleor know if that's not possible.21:03
TJ-delinquentme: Neither - ~/.bash_aliases21:05
delinquentmeTJ-, what are the other two files used for then?21:06
jkyleTJ-: shit, learn something every day. didn't realize *_aliases was in the init list21:06
jkylefor bash like shells21:06
delinquentme^^^21:07
uvirtbotdelinquentme: Error: "^^" is not a valid command.21:07
delinquentmeditto I'm characterizing another machine and I'm learning how "things should be done" bit by bt21:07
TJ- .profile will include .bashrc if the shell is bash, .bashrc will include .bash_aliases and other files21:08
* TJ- is gone - been a long bug-fix of a day21:09
adam_gsmoser, http://status.qa.ubuntu.com/reports/ubuntu-server/cloud-archive/cloud-tools_versions.html21:11
smoserdude.21:11
smoseryou rock!21:11
adam_gsmoser, required minimal changes. adding the next -> ubuntu dev will be a little more work.21:11
smoserubuntu -> next21:12
ajhlinuxuserHi, using virt-manager, creating a VM remotely won't let me select an ISO file.  What is wrong??21:14
GH0Hello, I need some help installing Ubuntu Server on a UEFI motherboard, I am installing the 12.04.3 LTS on a Gigabyte 990FX UD3 AMD motherboard. Everytime I use the installer disc, I can get past the the partition management utility, but it seems to fail at "Installing the Base System". This fails at "The debootstrap program exited with an error (return value 1). Check /var/log/syslog or see vitual console 4 for the details"21:22
GH0When I switch over to that screen, I see three lines that are ext4-fs errors'21:22
GH0For device sda2 which would be the / mount point, as sda1 iis the /boot mount point21:23
GH0The error listed is: "EXT4-fs error (device sda2) in ext4_reserve_inode_write:4688: Journal has aborted21:24
GH0The second error listed is: "EXT4-fs error (device sda2) in ext4_evict_inode:243: Journal has aborted21:24
GH0This has happened twice, and I don't think it is a disc problem, so I was wondering if anyone could help me out with the install.21:24
hallynzul: jdstrand: the qa-regression-tests have 4 failures using the raring libvirt package on saucy;  they all pass on raring.21:49
hallyneach failure is due to:21:50
hallynOct  4 21:39:46 ip-10-10-145-232 kernel: [40612904.124019] type=1400 audit(1380922786.415:533): apparmor="DENIED" operation="open" parent=1 profile="libvirt-7d781722-69b7-8801-fe96-caf37b7a8969" name="/tmp/tmpgvfz4m/device_disk.img" pid=17761 comm="qemu" requested_mask="rw" denied_mask="rw" fsuid=107 ouid=10721:50
hallyni'm at a loss.  doesn't appear to be the policy shipped with libvirt that's the problem...21:51
rgouveiahi ... i have an old 32bit pentium-m without pae. is there a netboot of 12.04 server available ?21:52
rgouveianevermind, i thought the server kernel was different from the desktop one21:55
=== freeflying is now known as freeflying_away
hallynyeah the entry   "/tmp/tmphzIH1Q/device_disk.img" rw,22:48
hallynis not being added22:49
hallynusing the same version of libvirt22:55
xibalbais it just me or are the apt repos slow as snot23:00
xibalbaalways get around 80KB/sec23:01
sarnoldxibalba: back when I used them, I'd get around 300KB/sec, it felt glacial.. I switched to http://mirror.anl.gov/ubuntu/ and now I get several megabytes per second now..23:02
xibalbawhere do i mod that again?23:03
hallynzul: well anyway i see no regressions compared to the current saucy version.  back over to you with that.  but the apparmor problem has me stumped23:03
xibalbafound it23:03
xibalbasarnold, what's the line you've got in sources.list?23:03
sarnoldxibalba: here's just my deb lines: http://paste.ubuntu.com/6194382/23:04
sarnoldxibalba: you may not need or want them all..23:04
xibalbathanks23:04
xibalbado i need to specify precise-*23:04
xibalbai never know the name of ubuntu releases23:05
xibalbaon 12.04.3 though23:05
sarnoldxibalba: ah right, precise for that.23:06
xibalbaholy crap23:07
xibalbaexceptionally faster23:07
sarnoldyeah :D23:07
xibalbai remember back in my freebsd boxes you could run like fastest_cvs and it would auto add the fastest mirrors for you23:07
xibalbaubuntu should do that post install on first apt-get updat23:07
sarnoldI tried to find one of those when I got tired of the slow ubuntu.com speeds but the ones I thought I remembered from debian a decade ago just weren't there. but anl.gov is bloody fast, faster than my connection can go anyway, so it works well enough for me. :)23:09
hallynheh, remember, kids, root's cron-fired jobs do not have /sbin/ in $PATH by default23:16
sarnoldheh, if I've learned one thing about cron, it's that it is just best to use full pathnames for everything always.23:17
jkitchenyes.23:17
jkitchenor just ... not use cron.23:18
xibalbanot use cron?23:18
xibalbablasphemy23:18

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