[00:33] <SpamapS> collectd->
[00:33] <SpamapS> doh
[00:42] <SpinningWheels> i was attempting to install a deb that requires "sun-java5-jre | sun-java6-jre | default-jre-headless", i have installed openjdk-7-jre-headless. i noticed that apt-get install default-jre-headless installs 6. is there a way to use openjdk-7 to satisfy "default-jre-headless"?
[00:59] <arrrghhh> hey all.  having a case of the dumb.  i upgraded my server, and dnsmasq broke.  i put the old config file back in, and dhcp works - but dns does not.  i assume this relates to my resolv.conf on the server?
[01:00] <blackshirt> what you mean with broke, not fully correctly installed?
[01:01] <arrrghhh> sorry, config file was put to default.  i saved the old one.  copied everything from it, pasted it into the new one (and made sure everything else was commented out) and restarted dnsmasq
[01:02] <arrrghhh> earlier i had to fix a dns issue by removing some lines from /etc/resolv.conf.  but it seems something else is auto-generating that file, because those lines are back.
[01:02] <blackshirt> was dnsmasq correctly started?
[01:02] <arrrghhh> dnsmasq did start, it's handing out IP's
[01:03] <blackshirt> why you said dns doesn't work?
[01:03] <arrrghhh> the server can resolve hostnames
[01:03] <arrrghhh> but clients cannot
[01:03] <arrrghhh> i have to statically configure dns on the clients to point to opendns for example
[01:04] <arrrghhh> otherwise, no name resolution on the client ^^
[01:04] <arrrghhh> hrm i think i ran into this before... let me see
[01:04] <blackshirt> are you firewall permitted this?
[01:04] <blackshirt> sure
[01:05] <blackshirt> I mean are you sure firewall permitted this?
[01:05] <arrrghhh> my firewall allows access to 192.168.0.0/24
[01:05] <arrrghhh> on any port
[01:06] <blackshirt> some options on dhcp-server to pass your dns server to client..have you check it?
[01:12] <SpinningWheels> i was attempting to install a deb that requires "sun-java5-jre | sun-java6-jre | default-jre-headless", i have installed openjdk-7-jre-headless. i noticed that apt-get install default-jre-headless installs 6. is there a way to use openjdk-7 to satisfy "default-jre-headless"?
[01:12] <arrrghhh> http://www.stgraber.org/2012/02/24/dns-in-ubuntu-12-04/
[01:13] <arrrghhh> interesting read, but i'm not sure i'm closer to fixing the issue.
[01:13] <blackshirt> have you analyze your log to watch them?
[01:14] <arrrghhh> blackshirt, no, i shall do so now.
[01:14] <arrrghhh> does dnsmasq make a log, or just syslog?
[01:14] <blackshirt> you shoul do them...
[01:14] <arrrghhh>  nas dnsmasq-dhcp[14012]: DHCPACK(eth0) 192.168.0.236
[01:15] <arrrghhh> i see dhcp working.  i don't see anything about DNS... where should i look?  thank you for helping :)
[01:15] <blackshirt> I don't know exactly..but you check it basically
[01:15] <blackshirt> Usually log reside on syslog
[01:15] <arrrghhh> sooo... syslog?  i'm sorry i don't know where to look for this issue.
[01:15] <arrrghhh> ok
[01:15] <arrrghhh> i don't see anything DNS related unfortunately... just DHCP.  :(
[01:16] <blackshirt> just tail your syslog ... And see if your dns works normally
[01:16] <blackshirt> Look at /var/log syslog
[01:17] <arrrghhh> should i restart dnsmasq or something?  that's what i was doing, and i only see stuff about dhcp.
[01:17] <blackshirt> do some dns related test, with lookup,dig,hostname from the client...
[01:18] <blackshirt> Or other tools
[01:18] <blackshirt> Sorry guys, i have going to work now..
[01:18] <arrrghhh> ok thanks for helping
[01:19] <blackshirt> sorry can't help more
[01:19] <arrrghhh> no worries, you've pointed me in the right direction
[01:19] <arrrghhh> :)
[01:27] <arrrghhh> hrm.  definitely entires for DHCP requests.  nothing for DNS lookups...
[01:27] <arrrghhh> SpinningWheels, sorry you haven't gotten any response.  did you try doing the install with --no-depends or whatever and seeing if you can force it after the fact?
[01:28] <arrrghhh> my server is listening on port 53
[01:34] <arrrghhh> nslookup fails on the server, but ping is successful?  odd
[01:57] <arrrghhh> anyone else around can help with dnsmasq/DNS in general?
[02:05] <arrrghhh> so from the clients, dns does seem to work locally
[02:05] <arrrghhh> but dns still doesn't work to the 'net... wth?
[02:12] <arrrghhh> OK i've narrowed it down
[02:12] <arrrghhh> if nameserver 127.0.0.1 is in my resolv.conf, i can't nslookup on the server.
[02:12] <arrrghhh> so the server isn't forwarding DNS.  i saw this in syslog
[02:12] <xnox> we run dns on 127.0.0.1 by default now, for the sake of network manager integration.
[02:13] <xnox> check dnsmasq configuration and fix that.
[02:13] <arrrghhh> dnsmasq[26090]: using local addresses only for domain localnet
[02:13] <arrrghhh> i guess that changed?  i'll re-read it
[02:13] <xnox> also resolvconf package "manages" resolf.conf file in a dynamic way
[02:13] <arrrghhh> yea, i've noticed that part.  i read a blog
[02:13] <arrrghhh> http://www.stgraber.org/2012/02/24/dns-in-ubuntu-12-04/
[02:14] <arrrghhh> so i understand why you do those things now (which on the desktop for VPN users, that's awesome)
[02:14]  * xnox ponders if stgraber enjoys nick highlights from his blog URLs =)
[02:14] <arrrghhh> i'm just reusing my dnsmasq config from 10.04, and perhaps there's something else i need to define now.
[02:14] <arrrghhh> lol
[02:14] <arrrghhh> i've hightlighted him 2x now then... ;)
[02:14] <arrrghhh> it's a great read
[02:14] <xnox> .... yes you need "migrate" =)))))
[02:14] <arrrghhh> hah.  ok, i'll go rtfm.
[02:15] <xnox> good luck =)
[02:15] <arrrghhh> hah thx
[02:17] <stgraber> xnox: hehe, I'm used to it ;) the dns link is posted around quite often ;)
[02:19] <arrrghhh> stgraber, thx for writing it.  great article.
[02:22] <roasted> hello!
[02:22] <roasted> dumb question - I know you can install the GUI on the server variant, but when I start it up, would it go to a regular CLI login first?
[02:23] <arrrghhh> depends on what runlevel the GUI is set to i suppose...
[02:23] <arrrghhh> but i am not the person to ask about putting a GUI on a server.  i would do my best to steer you away
[02:23] <roasted> I was just thinking how little I use the GUI on my powerbook. I thought it'd be nice to have the server version running since it's such a low powered machine, and only start the GUI if absolutely needed.
[02:23] <roasted> well it's also not for a true server :P
[02:23] <arrrghhh> hah
[02:23] <roasted> really just meant for as much resource saving as possible
[02:24] <roasted> I literally only use it for SSH work. It has nothing on it whatsoever.
[02:26] <xnox> roasted: $ sudo stop lightdm
[02:26] <xnox> bang, you have a server =)
[02:26] <roasted> xnox, but, the GUI would still start up by default each time, right?
[02:26] <arrrghhh> well, if you install the gui stuffs - can't you just change the runlevel the GUI runs at?
[02:26] <roasted> I'd rather have it start in CLI mode, and only start the GUI manually if I need.
[02:27] <roasted> I have no idea - I never tinkered with runlevels, so I'm drawing a bit of a blank there.
[02:27] <arrrghhh> i think that's the right term
[02:28] <xnox> roasted: disable lightdm upstart job by renaming the conf file to .conf.disabled i think.
[02:28] <roasted> think? :P
[02:30] <arrrghhh> well that would work too
[02:30] <arrrghhh> derp
[02:30] <arrrghhh> then it won't run the upstart job
[02:31] <arrrghhh> roasted, after you rename that file, run update-rc.d
[02:31] <arrrghhh> hell you could just disable the job with update-rc.d huh
[02:31] <arrrghhh> i forget how handy that thing is
[02:32] <arrrghhh> The disable|enable API is not stable and might change in the future.
[02:32] <arrrghhh> lol
[02:32] <arrrghhh> xnox, ok so is there some delta page on dnsmasq or dns in general?  i'm confused as to what i need to do here.  i was reading the ubuntu community doc on dnsmasq, and i don't see anything wrong with the config
[02:33] <arrrghhh> https://help.ubuntu.com/community/Dnsmasq
[02:35] <xnox> not sure. last time I did networking "by-hand" was in 8.04 =_
[02:35] <xnox> =)
[02:35] <arrrghhh> poo
[02:35] <xnox> so i rather know this in theory, than practice =)
[02:35] <arrrghhh> well i'm combing the new dnsmasq.conf file nao
[02:35] <arrrghhh> maybe something will pop out @ me
[02:35] <arrrghhh> my config right now is stupid simple, so it's possible there's some new option i need to enable.
[02:48] <arrrghhh> ** server can't find google.com: REFUSED
[02:48] <arrrghhh> :(
[02:48] <arrrghhh> i don't get what i'm missing
[02:48] <arrrghhh> would someone mind at least looking at my config?
[02:49] <arrrghhh> http://pastebin.com/FMWW5fH3
[02:53] <arrrghhh> this is the same 'working' config from 10.04.  why is it not working now?
[03:10] <arrrghhh> stgraber, would you mind helping me?  i'm really not sure what would've changed so drastically that broke this...
[03:12] <blackshirt> hello
[03:12] <blackshirt> can someone guide me to setup postfix with ldap backend for virtual user and domains? or direct me to right guide :D
[03:13] <arrrghhh> blackshirt, http://www.postfix.org/LDAP_README.html ?
[03:25] <arrrghhh> hrm
[03:26] <arrrghhh> it seems a lot of people are disabling dnsmasq on the desktop because it fails in the same way my server is failing.... :/
[03:26] <arrrghhh> http://mark.orbum.net/2012/05/14/disabling-dnsmasq-as-your-local-dns-server-in-ubuntu/
[03:27] <arrrghhh> http://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=6&cad=rja&ved=0CE0QFjAF&url=http%3A%2F%2Faskubuntu.com%2Fquestions%2F131342%2Fproblems-with-dnsmasq-in-ubuntu-12-04&ei=6jc8UM-eLsaayQHx0oGQDw&usg=AFQjCNGcSsI_hs94hHc8KTXMvWe9Og4NAg&sig2=1I0CwEjCj_mafvKS38cJEQ
[03:27] <arrrghhh> derp
[03:27] <arrrghhh> http://askubuntu.com/questions/131342/problems-with-dnsmasq-in-ubuntu-12-04
[03:33] <arrrghhh> wow.  well, that was it i guess.
[03:33] <arrrghhh> i needed to add some 'server' lines...
[03:40] <tgm4883> Sf82Tb77
[03:41] <arrrghhh> whoops
[03:41] <tgm4883> fun
[03:41]  * arrrghhh has done it
[03:41] <tgm4883> good thing I don't use the same password in multiple places
[03:41] <arrrghhh> lol
[04:00] <Vampy> does any one know if the Horde4 Guide on Ubuntu Wiki works for 12.04LTS as written?
[04:25] <lickalott> gents, trying auto mount partitions for NFS shares via fstab.  If I leave "default" it won't let me write to the folder.  if I use (rw,user,no_subtree_check,async) the network connection times out.   Can anyone help?
[04:30] <lickalott> anyone know of a way to see/monitor if someone is accessing your NFS shares.  *they are hosted over apache
[04:31] <arrrghhh> lickalott, try Server:/share  /media/nfs  nfs  rsize=8192 and wsize=8192,noexec,nosuid
[04:32] <arrrghhh> 'Server' can be IP or hostname
[04:32] <arrrghhh> /share is the location
[04:32] <arrrghhh> on the server *
[04:32] <osmosis> how can I get libboost1.37-dev  for precise?
[04:32] <arrrghhh> /media/nas is the location on the client
[04:32] <osmosis> this is empty,  https://launchpad.net/ubuntu/precise/amd64/libboost1.37-dev
[04:34] <arrrghhh> osmosis, https://launchpad.net/ubuntu/+source/boost1.37/1.37.0-3ubuntu3 ?
[04:34] <osmosis> cool, howd you find it?
[04:35] <arrrghhh> er is that jaunty?
[04:35]  * arrrghhh is confused
[04:35] <osmosis> 12.04
[04:35] <osmosis> that link only has a tar.gz....not a deb
[04:35] <arrrghhh> no i know.  that link i sent tho
[04:36] <osmosis> uhhh
[04:36] <arrrghhh> yea that's the source.
[04:36] <osmosis> yah, says jaunty
[04:36] <arrrghhh> ze tarball
[04:36] <arrrghhh> that's the newest i could find...
[04:36] <arrrghhh> what do you need it for?
[04:36] <lickalott> exportfs: /etc/exports [3]: Neither 'subtree_check' or 'no_subtree_check' specified for export "*:/media/files".
[04:36] <lickalott>   Assuming default behaviour ('no_subtree_check').
[04:36] <lickalott>   NOTE: this default has changed since nfs-utils version 1.0.x
[04:37] <lickalott> i get that when I restart the service arrrghhh
[04:37] <arrrghhh> lickalott, please ask a question, and pastebin multiple lines.
[04:37] <osmosis> arrrghhh, its a compile dependency for nightly build of an app
[04:37] <arrrghhh> i don't see any issues?
[04:37] <lickalott> rog
[04:37] <lickalott> sorry
[04:37] <osmosis> arrrghhh, so is there a way to install the src as a deb?
[04:38] <osmosis> or can I just rip a libboost 1.37 deb from an older release
[04:38] <arrrghhh> osmosis, you can compile it
[04:38] <arrrghhh> and that might or might not work... ha
[04:39] <arrrghhh> lickalott, so are we talkin fstab or exports?
[04:41] <lickalott> fstab
[04:41] <lickalott> would exports be better?
[04:41] <arrrghhh> you get that output from mount -a after modifying fstab?!?
[04:41] <osmosis> so im just suppose to make install a tar.gz on my system?  feels archaic
[04:41] <arrrghhh> well wait we need to establish what you want lickalott
[04:42] <arrrghhh> osmosis, you're building for nightly stuff... might want to stick to something that's already working.
[04:42] <osmosis> arrrghhh, only the nightly has the feature I need
[04:42] <arrrghhh> otherwise, you're on bleeding edge stuff - so you've gotta do some leg work, if you want to be on bleeding edge.
[04:42] <arrrghhh> exactly
[04:42] <osmosis> maybe ill just go sleep in a capsule and wake up in 6 months
[04:42] <arrrghhh> gotta be on bleeding edge?  gotta do some work.
[04:42] <arrrghhh> mmmmk
[04:43] <lickalott> you know what.... i'm an idiot
[04:43] <lickalott> i've been messing with the wrong file
[04:43] <arrrghhh> hah, it happens
[04:44] <lickalott> here's my entries in exports -  *(rw,sync,no_root_squash)
[04:45] <lickalott> just found out another tidbit.  I can copy from the laptop that i'm on now, but I get denied when i use my windows server.  Both mounted as "mapped network drives" the same way on each machien
[04:45] <lickalott> *machine
[04:45] <arrrghhh> windoze can't do nfs...
[04:46] <lickalott> sure she can
[04:46] <lickalott> windows 7 comes with an NFS client install.
[04:46] <lickalott> you have to actually install it, it's not default
[04:46] <arrrghhh> oh
[04:46] <arrrghhh> ew.
[04:47] <arrrghhh> i guess i've always stuck with samba on windoze.
[04:47] <arrrghhh> can't help ya there... assuming you give the same permissions in the share on the server, it has to be how it's setup on the client.
[04:48] <lickalott> i did too, but recently I've been messing around with a raspberry pi and media streams better to the pi over NFS.  Then i realized that NFS has faster transfer rates so i went with it.
[04:48] <arrrghhh> NFS is a much better protocol, yes.
[04:49] <lickalott> only problem is hanewin is only good for 30 days then it's 29.95
[04:50] <lickalott> but i will be purchasing shortly.
[04:51] <lickalott> i'll mess around more.
[04:51] <lickalott> thanks for the assist arrrghhh.  appreciate your time!
[04:52] <arrrghhh> np
[07:46] <Kartagis> with xen, can I create the vm on a different partition?
[07:50] <bencer> jdstrand: hi, we have reported LP: #1042260 did u have the chance to have a look at it?
[07:53] <SpamapS> Kartagis: typically you attach some kind of block device to a VM
[07:53] <SpamapS> Kartagis: that can be a physical device, an LVM volume.. or even a file on disk.
[07:56] <Kartagis> thanks
[09:34] <lynxman> morning o/
[10:13] <jamespage> morning lynxman
[10:16] <lynxman> jamespage: morning sir :)
[10:17] <nandersson> Hi, I read on Phoronix that there are plans to drop the alternate CD. How would that affect unattended installations with debian-installer in future LTS? Like Ubuntu 14.04?
[10:32] <xnox> nandersson: ubiquity supports unattended installations using debian-installer preseed files for a long time.
[10:32] <xnox> nandersson: https://wiki.ubuntu.com/UbiquityAutomation
[10:33] <xnox> nandersson: and since you are on the server channel, server continuous to use debian-installer as it always had.
[10:36] <nandersson> xnox, Ok, thanks for the link!
[11:47] <chmac> I've resized an LVM physical volume and the underlying mdX raid array. I now want to resize the two disk partitions. I tried deleting them and creating new partitions of a smaller size with parted, but the system wouldn't boot. How do I resize the partitions?
[11:48] <xnox> chmac: did you restore partition table back? did you back it up?
[11:48] <xnox> chmac: what did you use to resize?
[11:48] <chmac> xnox: It's a brand new machine, so I just re-installed fresh.
[11:48] <xnox> chmac: so no need to resize anymore?
[11:48] <xnox> =)
[11:48] <chmac> xnox: I used parted rm / mkpart to delete and create new partitions, but it warned that the partition was active, although the system was in rescue mode.
[11:49] <chmac> xnox: Trouble is, the installer partitions the whole disk, even though I'm only using 80%, and I want the extra space unpartitioned because it's an SSD
[11:49] <xnox> unmount filesystem, vgchange -a n $vgname, mdadm /dev/md$n --stop
[11:49] <xnox> then resize
[11:49] <chmac> The process was pvresize, mdadm --grow /dev/md5 --size 80G
[11:49] <chmac> xnox: How do I achieve the resize step?
[11:49] <xnox> oh ok.
[11:50] <chmac> Ok, I figured the mdadm part wouldn't be running in rescue mode, but maybe I missed the --stop command
[11:50] <xnox> chmac: surely you grow mdadm first, then grow the pv which is on top of mdadm
[11:50] <AlphaWolf> I've been trying to remove some old partitions from a Windows installation to free up some space but when I've rebooted it will only see the original boot partition, no others (e.g. what "/" and "/swap" was on). I have gone into recovery mode from the install CD but could not mount a partition, and I'm now in the built-in shell. Is there much I can do, or should I just re-install at this point?
[11:50] <chmac> xnox: I'm actually shrinking, so it's the other way round :-)
[11:50] <xnox> ok.
[11:50] <chmac> AlphaWolf: Do you have backups of all the data?
[11:51] <chmac> AlphaWolf: There is something about Windows only seeing partitions which come *before* linux partitions on the disk. I've run across it on usb thumb drives where I created a fat partition and a luks encrypted partition.
[11:51] <AlphaWolf> Any media I have is on another drive, but I do have data that I would rather not lose on the primary drive
[11:52] <chmac> AlphaWolf: Then I'd suggest trying to at least recover before you re-install. Do you want the fastest solution or the greatest data retention?
[11:52] <AlphaWolf> Data retention for now please
[11:53] <chmac> xnox: After I've stopped the md5 array, should I be able to simply delete and recreate the partitions with `parted rm && parted mkpart` ?
[11:53] <chmac> AlphaWolf: Are you still running windows on this drive?
[11:53] <AlphaWolf> I believe it would be possible
[11:54] <AlphaWolf> chmac: I will give it a try now and see
[11:54] <chmac> AlphaWolf: I'm not sure what that means. Do you *want* to be able to run Windows?
[11:54] <chmac> AlphaWolf: I'm trying to understand whether or not you need to keep Windows happy, or whether you're only thinking about Ubuntu (much simpler)
[11:55] <AlphaWolf> chmac: I have moved from Windows to Ubuntu, but kept Windows just in case, but I'm now looking at removing it
[11:55] <AlphaWolf> chmac: (it being Windows)
[11:56] <AlphaWolf> I currently get "error: no such partition. grub rescue". I also have the install CD for Ubuntu and Windows available
[11:59] <chmac> AlphaWolf: Ok, gotcha. So when you say that you can only access the boot partition, you mean from the ubuntu rescue cd?
[11:59] <chmac> AlphaWolf: Can you pastebin the ouput of `fdisk -l` for that drive?
[11:59] <chmac> AlphaWolf: I'm struggling to understand the specific details of what you've done, what you're trying to do, and what's not working.
[12:02] <AlphaWolf> chmac: Give me a moment, I will give a little more information
[12:05] <AlphaWolf> chmac: I started by using "sudo parted -l", which showed 6 partitions on that drive. 1 was marked as boot (and was the old Windows partition), 2 and 3 were created/used by Windows. 4 was empty space, 5 was (I think) Ubuntu's "/" and 6 was (again, I think) Ubuntu's "/swap". I tried removing 2, 3 and 4, but all I can "see" is 1 right now.
[12:06] <chmac> AlphaWolf: Ok, so you deleted those partitions along the lines of `parted rm 2` and `parted rm 3` etc, is that correct?
[12:06] <chmac> AlphaWolf: Do you have a record of where each partition started and stopped?
[12:07] <AlphaWolf> chmac: No, I guess that would have been a good idea though
[12:07] <chmac> AlphaWolf: Yeah, for future reference, it's helpful to run `sudo parted /dev/sda unit s print`
[12:08] <chmac> That prints your partition table by sector, then copy / paste into a file or something, even a photo will do :-)
[12:08] <chmac> AlphaWolf: Ok, so now you're in the rescue CD terminal, is that correct?
[12:08] <chmac> AlphaWolf: What do you get now, if you run that command?
[12:08] <AlphaWolf> chmac: When entering rescue mode I can see the internal drive and another external drive. The internal drive only shows "/dev/sda1", which was my boot drive, but cannot be mounted
[12:08] <AlphaWolf> I can choose "Do not use a root file system"?
[12:08] <chmac> AlphaWolf: Sounds good
[12:10] <AlphaWolf> chmac: Partition Table: msdos
[12:10] <AlphaWolf> chmac: Number: 1, Start: 1049kB, End: 106MB, Size: 105MB, Type: Primary, File System: ntfs, Flags: boot
[12:11] <chmac> AlphaWolf: You can only see 1 partition?
[12:11] <AlphaWolf> chmac: Previously there were 6 there, but now just the 1
[12:11] <chmac> Ok
[12:11] <chmac> AlphaWolf: When you issued the rm commands, did you repeat the print command after each one?
[12:12] <chmac> AlphaWolf: So did you go `sudo parted print` then `sudo parted rm 2` then `sudo parted print` then `sudo parted rm 3` or just print, rm, rm, rm, rm?
[12:12] <chmac> AlphaWolf: I'm guessing that your actual data is fine, the problem is, you deleted the partition by mistake.
[12:12] <chmac> So to recover the data, you only need to find the start and end of the partition, recreate it, and you should be golden.
[12:13] <AlphaWolf> chmac: I didn't use rm, rm, I used something else, but I did not use print, no. I checked it at the end but it only showed 1 partition
[12:13] <AlphaWolf> chmac: Ok, hopefully I'll be able to do that :)
[12:13] <chmac> AlphaWolf: What did you use to remove the partitions?
[12:13] <chmac> AlphaWolf: Ok, so maybe the partition numbers changed as you deleted the intermediary partitions, and then you accidentally deleted the one you wanted to keep, because it came after the others.
[12:13] <chmac> After you delete 2, 3 might become 2, depending on the circumstances I think, I'm not certain.
[12:14] <AlphaWolf> chmac: That would make sense, although I did only delete 3 of the 6 partitions, but I see how it could have gone wrong
[12:14] <chmac> AlphaWolf: I'm guessing that's what the issue is. On the plus side, Ubuntu will most likely boot right backup if you can figure out the partition layout that was in place.
[12:15] <chmac> AlphaWolf: There are tools which will scan your disk and try to recreate your partition table. I don't remember the name off the top of my head, but I recommend some searching, I'm sure you'll find something.
[12:15] <AlphaWolf> chmac: I'm trying to find the command I used. I do remember I got a list of commands, using "d [partition number]" to delete and then "w" to write the changes
[12:15] <chmac> AlphaWolf: Were you using fdisk maybe?
[12:15] <chmac> AlphaWolf: To be honest, it's not so important, the partitions are now gone!
[12:16] <AlphaWolf> chmac: Fair enough, but yes, fdisk sounds right!
[12:16] <chmac> AlphaWolf: Ok, so here's what it could be. If the first 1 or 2 or 3 were primary partitions, and then the rest were within an extended partition, you might have deleted the extend partition and therefore deleted all the contained logical partitions.
[12:17] <AlphaWolf> chmac: I'll take the disk out and pop it in another PC and try and recover the partitions, thanks.
[12:17] <AlphaWolf> chmac: Ok, that's exactly what I did now you say it :P
[12:17] <chmac> AlphaWolf: You should be able to do that from the rescue system.
[12:17] <chmac> AlphaWolf: https://duckduckgo.com/?q=ubuntu+recover+partition+table
[12:17] <chmac> AlphaWolf: http://www.mohdshakir.net/2008/01/03/recover-lost-partition-table-using-ubuntu-live-cd-gpart
[12:20] <AlphaWolf> chmac: I'll need a Live CD for that, right? That's not going to work in the built-in shell?
[12:20] <chmac> AlphaWolf: Ahh, sorry, I thought you were running the live CD, but you're not, my bad.
[12:20] <chmac> AlphaWolf: Are you running a shell from just the /boot partition?
[12:21] <chmac> AlphaWolf: I'm not familiar with that, but I'm guessing that yes, you'll need a rescue CD / USB device, or an alternate machine.
[12:22] <AlphaWolf> chmac: When I enter rescue mode I cannot mount a disk, so I will create a Live CD and have a go at that tutorial, thanks
[12:22] <chmac> AlphaWolf: Good luck, and when you get your data back, use this as a poignant reminder to improve your backups ;-)
[12:23] <AlphaWolf> I'm moving my drives around so I can make backups, but it wrong somewhere :P
[12:23] <chmac> :-)
[12:26] <chmac> Question: Is there an equivalent of /etc/init.d/lvm stop these days / on ubuntu?
[12:26] <xnox> chmac: not really. What do you want to achieve?
[12:26] <chmac> `mdadm --stop /dev/md5` says "Cannot get exclusive access to /dev/md5:Perhaps a running process, mounted filesystem or active volume group?"
[12:26] <xnox> chmac: $ sudo vgchange -a n $vgroup
[12:26] <xnox> no stop volume group
[12:27] <chmac> 0 logical volume(s) in volume group "vg" now active
[12:27] <xnox> good
[12:27] <xnox> chmac: try mdadm again =)
[12:27] <chmac> Ooh, now it works!
[12:27] <chmac> xnox: I could have sworn I did that already, DOH!
[12:28] <chmac> xnox: Thanks
[12:28] <xnox> np
[12:39] <chmac> Do I need to worry about "Warning: The resulting partition is not properly aligned for best performance." on an SSD?
[12:39] <patdk-wk> you should
[12:40] <chmac> patdk-wk: I get the same error if I recreate the partitions that I had before...
[12:40] <patdk-wk> how are you making them?
[12:40] <chmac> patdk-wk: I'm guessing I want to align to the 512K block size of the drive, does that sound right?
[12:40] <chmac> patdk-wk: `parted /dev/sdb mkpart 1234s 2123s`
[12:41] <patdk-wk> 1234?
[12:41] <chmac> patdk-wk: Just made those up
[12:41] <patdk-wk> I'll make up some answers then :)
[12:41] <chmac> actual is 21527100s 210270780s
[12:41] <chmac> :-)
[12:42] <patdk-wk> I believe parted uses 1mb alignment
[12:42] <patdk-wk> so try making it divisable by 2048
[12:43] <chmac> patdk-wk: I'm resizing partitions on a live system, but the root partition is probably misaligned, is it worth trying to fix that as well do you think?
[12:43] <patdk-wk> hmm, your going need to actually move the physical data first
[12:44] <chmac> patdk-wk: Right, which could be a PITA, although it's a fresh install, so no actual data
[12:44] <chmac> As in, nothing I'd need to save, it can all be recreated.
[12:45] <chmac> patdk-wk: I've read about how SSDs need to erase in blocks, usually 512K I think was the number, so I should probably align to that, does that sound correct?
[12:45] <patdk-wk> yes and no
[12:45] <patdk-wk> there is no filesystem that works on blocks that large
[12:46] <patdk-wk> so there is no point in attempting to make sure it fits that
[12:46] <patdk-wk> but, since ext* works on a 4k block, normally, it would be helpful to make sure none of the 4k blocks are split between two 512k blocks
[12:47] <chmac> patdk-wk: Ahh yes, ok, that makes sense. So I want my 4k blocks to start on a 512k block, but it won't make a huge impact
[12:48] <chmac> I'll probably leave our current data where it is, and try to get this partition laid out properly, it's lvm on mdadm anyway, so there's all kinds of alignment going on!
[12:48] <chmac> patdk-wk: Thanks
[12:50] <chmac> patdk-wk: I'm creating an extended partition and a logical partition within it, would you recommend pushing the logical partition down to 4k in from the beginning of the extended partition?
[12:52] <chmac> Never mind, there's already data on the disk, I forgot about that, so I can't move the start of the partitions, I'll just leave them where they were.
[13:06] <raub> I posted a question in launchpad and now realized it is attached to cups instead of libapache2-mod-auth-kerb. How do I move it to the proper location?
[14:20] <soren> zul: Thanks for noting in the changelogs of the cloud archive backports why they're needed. That's very helpful.
[14:20] <zul> soren:  no problme
[14:20] <zul> soren: patches accepted for anything you seen
[14:20] <soren> I have a few lined up.
[14:21] <zul> soren: sweet
[14:27] <AlphaWolf> chmac: I have run a GParted live CD but didn't find anything. I'm running it using the command line, but I doubt it'll find anything. I also tried a Windows program, EaseUS Partition Recovery (http://www.easeus.com/partition-recovery/download.htm) and that found the first couple of NTFS partitions. Would it help if I recover them and then try GParted again? Thanks for all your help!
[14:32] <AlphaWolf> chmac: I'm just not sure if recovering the NTFS partitions could somehow make it hared to find the ext4 ones?
[14:36] <chmac> AlphaWolf: As far as I'm aware, the type of partition isn't relevant.
[14:36] <chmac> AlphaWolf: GParted won't recover partitions I don't think, I think you need a specific partition recovery tool for that.
[14:36] <chmac> Something to scan the disk and try to find partitions
[14:37] <chmac> There might be something funky about recovering logical partitions inside an extended partition, I'm not certain how that works.
[14:58] <xnox> AlphaWolf: http://www.cgsecurity.org/wiki/TestDisk
[15:40] <jibel> smoser, when do you plan an upload of cloud-init with the fix for bug 1042459 ?
[15:51] <smoser> jibel, its up there. https://launchpad.net/ubuntu/+source/cloud-init
[15:53] <jibel> smoser, ah thanks, I missed it.
[15:54] <smoser> it didn't get a ubuntu bug task
[15:54] <smoser> so it did'nt get auto closed on that non-existant task
[16:45] <AlphaWolf>  xnox: Thanks, I'll give that a shot!
[16:55] <AlphaWolf> xnox: Thank you so much, it seems to have found them instantly!
[16:58] <AlphaWolf> So, I guess the next question is how can I remove some partitions (NTFS) and make my ext4 partitions larger?
[16:58] <xnox> AlphaWolf: restore & backup your data first.
[16:59] <xnox> AlphaWolf: then you can, almost do anything.
[16:59] <xnox> AlphaWolf: extending partitions to the right is easy. moving the beggining of the partition is harder. You can do it with dd, but it's also easy to screw up and wipe your data
[17:00] <AlphaWolf> xnox: Which is why we do backups before we move any data. How can I back up an ext4 partition? I'm guessing GParted will do that?
[17:01] <xnox> AlphaWolf: no Gparted will not do that. Gparted modifies your HDD without promising anything. If Gparted fails to do something, you get to keep both pieces.
[17:02] <xnox> AlphaWolf: https://help.ubuntu.com/community/BackupYourSystem
[17:02] <xnox> AlphaWolf: use dd, rsync, tar, rsnapshot whatever to backup your data. Setup a ~similar test to what you are trying to do with fake disks in a VM, and try to complete what you are trying to do now there.
[17:02] <xnox> better safe than sorry.
[17:03] <AlphaWolf> xnox: Can I boot into the drive from a VM on another computer? The computer this is running off does not have and HDs to store the backup on
[17:04] <xnox> AlphaWolf: NFS or SSH is a better way to remotely access a data for backup purposes.
[17:05] <xnox> AlphaWolf: read available options on the page I linked. It covers backups over the network.
[17:05] <AlphaWolf> Ah, I didn't see the "remote" column, so I'll give that a crack. Thank you very much!
[17:55] <utlemming> smoser: looks like the quantal build that just finished didn't get the new cloud-init
[17:56] <smoser> amd64 did
[17:57] <utlemming> ami-198e3970
[17:57] <utlemming> 	
[17:57] <utlemming> ?
[17:57] <utlemming> I just launched that one and its showing the old code
[17:58] <utlemming> wait...nevermind
[17:59] <smoser> http://paste.ubuntu.com/1172266/
[18:02] <utlemming> smoser: something's up with your MP changes: http://paste.ubuntu.com/1172268/
[18:04] <smoser> suck. i
[18:04] <smoser> i actually know that i fixed that last night.
[18:05] <smoser> carp
[18:05] <smoser> i did fix it
[18:05] <smoser> and didnot commit
[18:05] <smoser> http://paste.ubuntu.com/1172275/
[18:05] <smoser> utlemming, so its less severe than before, buecase right now only ssh_import-id is busted
[18:05] <smoser> but.. i'll fix and upload
[18:06] <utlemming> right...I'll build a new one when it lands and try again
[18:10] <smoser> uploaded
[19:07] <Kartagis> my route table says static.97.44.9. under gateway. what is the IP here?
[19:41] <chmac> Kartagis: I think you'll get your ip from `sudo ipconfig` rather than from `sudo route`
[19:42] <guntbert> Kartagis: chmac: for seeing your ip config type     ip ad
[19:43] <guntbert> chmac: no sudo needed here :)
[19:43] <Psi-Jack> Hmm. Anyone here by chance ever used Samba4's new fangled ADS server? ;)
[20:13] <chmac> I have an SSD partition which begins at sector 20482875s, does the 5 mean that the 4k filesystem blocks are misaligned with the SSD 4k pages?
[21:32] <soren> adam_g: Do you guys just push to the OpenStack packaging branches directly or do you use Launchpad reviews?
[21:58] <adam_g> soren: which ones?
[22:00] <Vampy> anyone here used turnkey linux?
[22:01] <soren> adam_g: E.g. lp:~ubuntu-server-dev/python-swiftclient/quantal/
[22:02] <adam_g> soren: yes, but those are mostly used for tracking work elsewhere these days
[22:03] <TheLordOfTime> Vampy:  probably not the right place to ask about it, this is an Ubuntu channel
[22:03] <adam_g> soren: the majority of the packaging work takes place in branches off lp:~openstack-ubuntu-testing, where changes go and get added to automated builds, then packaging gets pulled from there and uploaded into ubuntu, and (ideally) synced to ubuntu-server-dev
[22:03] <Vampy> TheLordOfTime, wasnt sure as turnkey is ubuntu based
[22:03] <adam_g> soren: changes usually sit as UNRELEASED in the -proposed packaging branches for a while between uploads
[22:04] <TheLordOfTime> Vampy:  so's Mint.  but its not an official derivative, so its not supported in the Ubuntu channels
[22:04] <TheLordOfTime> last i heard, at least...
[22:04] <TheLordOfTime> so i assume the same would apply (the same applies to backtrack linux too)
[22:04] <soren> adam_g: What purpose does it serve to sync things over to ubuntu-server-dev?
[22:05] <Vampy> understood..thre was only a few (less then 5) in the turnkey chan so i thought maybe someone here might have soem input
[22:06] <TheLordOfTime> Vampy:  you could try in #ubuntu-offtopic, or in ##linux
[22:07] <adam_g> soren: thats a good question.
[22:08] <soren> adam_g: Heh
[22:08] <soren> adam_g: Ok, so ~ubuntu-openestack-testing is where all the action is?
[22:09] <adam_g> soren: IIRC, originally it was meant to separate our testing efforts from the ubuntu branches. new packaging chnages could be added to the testing branches, tested, merged into ubuntu-server-devs and new releases cut from there. never really ended up that way.
[22:09] <soren> adam_g: I see mostly automated commits there... What are they based on?
[22:09] <adam_g> soren: ideally merged into lp:~ubuntu-server-dev via review
[22:11] <adam_g> soren: the flow for, say, folsom nova is like this:  i commit packaging fixes to lp:~openstack-ubuntu-testing/nova/quantal-folsom-proposed. during an automated build, the bot pulls lp:~penstack-ubuntu-testing/nova/quantal-folsom-proposed , merges it with lp:~openstack-ubuntu-testing/nova/quantal-folsom, adds a changelog entry with git commits in new package, builds and uploads to PPA
[22:11] <adam_g> ugh lagged hotel wifi
[22:11] <soren> adam_g: Hm.. It's not really sinking in here, I'm afraid :) Let's say you wanted to make a change to the packaging of e.g. python-swiftlient... What would you do?
[22:12] <soren> adam_g: Oh, ok.
[22:12] <adam_g> soren: lp:~openstack-ubuntu-testing/python-swiftclient/quantal-folsom-proposed
[22:12] <soren> adam_g: Gotcha
[22:12] <adam_g> soren: those changes also get synced back to the precise folsom branches, manually ATM
[22:13] <adam_g> soren: some point soon, we're gonna reconfigure all of this so that there is one place to propose folsom nova changes, and they sync back to quantal and precise branches automatically
[22:14] <soren> adam_g: Ah, I see you already fixed the first bug I was battling-
[22:14] <soren> I was looking at the branches under ubuntu-server-dev.
[22:14] <adam_g> soren: yippie. which one?
[22:14] <soren> http://bazaar.launchpad.net/~openstack-ubuntu-testing/python-swiftclient/quantal-folsom-proposed/revision/12
[22:14] <adam_g> ppa:openstack-ubuntu-testing/folsom-trunk-testing packaging should all have the most recent packaging updates from those branches, assuming they're still building okay
[22:15] <adam_g> Provies, nice.
[22:15] <soren> Yeah, I didn't want to say anything :)
[22:16] <adam_g> soren: i startd this a few weeks ago and would like to expand it as we figure out how this is going to scale into the future: https://wiki.ubuntu.com/OpenStack/Packaging
[22:19] <soren> adam_g: Cool.
[22:19] <soren> adam_g: And in the openstack-ubuntu-testing team, do you just push changes to the -proposed branches, or do you you impose a formal review process?
[22:19] <soren> I'm guessing the former.
[22:22] <zul> for the cloud-archive stuff? its a formal review process
[22:22] <adam_g> soren: yea. directly atm. hasn't really been much interest outside of me/chuck. often times a jenkins build will block on some packaging change, i commit and retrigger
[22:23] <soren> adam_g, zul: You guys crack me up.
[22:24] <adam_g> zul: i'm not talking about the cloud archive, just our general packaging work
[22:25] <zul> adam_g: ah....
[22:25]  * zul disapears for a while
[22:44] <ChrisNZ> Wow, lots of linux people
[22:51] <ChrisNZ> Would i be in the right place to ask a SAMBA question, sharing across subnets?
[23:01] <ChrisNZ> hello?
[23:02] <TheLordOfTime> patience
[23:07] <ChrisNZ> ok lol
[23:08] <ChrisNZ> while im being patient we could talk about life
[23:30] <lifeless> ChrisNZ: this is a fine place to ask. in fact...
[23:30] <lifeless> !ask | ChrisNZ
[23:38] <lickalott> guys...i'm 10 google pages into vsftpd and cannot find out how to change the location of the default ftp path.  can someone point me in the right direction?