[02:14] <hallyn> smoser: and so your container would use both your new bridge and virbr0?  it's actually a tinge more complicated than what i was suggesting imo but should work :)  just make sure that libvirt doesn't start a dnsasq for the new network
[03:25] <overrider> Hello - i am running a 10.04 Server, and i would like to upgrade a few packages on it to newer version despite them not being in the archives. Example is id like to use rsnapshot1.3.1 but only have 1.3.0 on my system. Another is i kind of need wkhtmltopdf 0.9.9 but only have 0.9.0 on my system. Is the only obvious answer to upgrade to 12.04 ?
[03:35] <arussel> Hi, I'm having a lot of difficulties install postgres on the latest LTS. I've done it on 2 other servers, I can't manage to know what is going wrong with this one.
[03:36] <arussel> I'm doing: 'sudo apt-get install postgresql'
[03:37] <arussel> but no files are installed in '/etc/postgresql', so the init script doesn't find any 'version' and doesn't start anything
[03:37] <arussel> I've got no error either when installing or '/etc/inid.d/postgresql start'
[03:41] <arussel> what package is supposed to create the directory '/etc/postgresql' ?
[03:55] <ScottK> arussel: I think you want /etc/postgresql-common and it's postgresql-9.1.
[03:57] <arussel> ScottK: thanks. I've tried a billion times with all the packages, I switch from aptitude to apt-get and got it installed now.
[03:57] <arussel> not sure this is the root cause
[04:23] <arooni-mobile> hey folks;  running ubuntu 10.04 LTS;  i want to get php-fpm + nginx.  i already have nginx setup... but trying to figure out how to get php-fpm.  ideas?
[05:53] <S0undwave> How does one go about manually configuring DHCP for Ubuntu Server? I'm new.
[06:00] <ScottK> They didn't last long.
[07:19] <xfxchilde> morning
[10:29] <reisi> what script is ran after kernel image installs to update grub? i'd like to add grub installing on all my hard drives (which are part of md raid) instead of first one
[11:24] <RoyK> hi all. setting up a couple of machines as a small kvm cluster with iscsi/gfs2 storage
[11:25]  * glance would sugest using lvm and drbd instead
[11:26] <RoyK> huh - why??
[11:26] <reisi> ffs this grub/grub-pc thing for 10.04 is unbearable, apparently back in the day no one did booting from md+lvm
[11:26] <RoyK> they're both connected to a SAN, shared storage
[11:26]  * RoyK glances at glance 
[11:27] <RoyK> and I'm using lvm on that
[11:27] <RoyK> and gfs2 on top
[11:27] <glance> i would atleast drop gfs2
[11:27] <RoyK> and then use what?
[11:27] <glance> plain lv's
[11:28] <glance> one less layer -> less problems and more preformance
[11:28] <RoyK> and how would you plan for the two machines to share that?
[11:28] <glance> didn't you say that you used shared storage? =)
[11:29] <RoyK> glance: yes, shared block device, meaning: NEED FOR FILESYSTEM SUPPORTING SHARED BLOCK DEVICE
[11:29]  * glance just shakes his head
[11:30] <glance> don't use any filesystem on your host machines. use lv's directly.
[11:30] <RoyK> glance: if you have a good alternative to that, feel free to comment
[11:30] <glance> i just did.
[11:30] <RoyK> glance: oh - no filesystem - just dd your VMs to the LV?
[11:30] <glance> jepp
[11:31] <glance> or rather qemu-img convert -O host_device
[11:31] <RoyK> hm...
[11:31] <RoyK> then - how can I make sure those VMs aren't started on two nodes at the same time?
[11:32] <glance> implement that in control logic instead of filesystem locking.
[11:32] <glance> kvm doesn't lock the file anyhow.
[11:32] <RoyK> sanlock works well for that
[11:33] <glance> and what prevents you from starting that vm two times on the same machine then? =)
[11:33] <RoyK> anyway - first problem is: iscsiadm -m node --login: works well, but after a reboot, the device is lost and I need to --login manually again - any idea when?
[11:34] <RoyK> glance: sanity and stuff like virsh/virt-manager
[11:35] <glance> so, use your sanity to not start the vm's on multiple machines =)
[11:35] <glance> or use ex. ganeti
[11:36] <RoyK> any idea about that iscsi problem?
[11:37] <RoyK> and about sanity and multiple machines - I'm not going to run this all by myself, and I want it foolproof
[11:40] <RoyK> any sane ones around?
[11:57] <glance> RoyK: you can use clvm if you like locking-by-shared-storage =)
[11:58] <RoyK> sorry, but what's wronga about gfs2?
[11:58] <RoyK> redhat uses that in production in its clusters
[11:59] <RoyK> also, do you have iscsi experience? my LUNs fail to attach after a reboot
[11:59] <_ruben> RoyK: which target software you use?
[11:59] <RoyK> iscsiadm -m node shows the lun, but I have to manually login to it to see it
[12:00] <_ruben> or wait, you're just the initiator
[12:00] <RoyK> dunno - some SAN
[12:00] <RoyK> yep
[12:00] <_ruben> no experience with that
[13:40] <shortdude> Hi, does anyone have any experience with rsyslog?
[13:44] <mdeslaur> lynxman: are you the puppet expert?
[13:46] <glance> shortdude: ask your question
[13:46] <mdeslaur> lynxman: puppet in quantal is likely to be busted, as default ruby is now 1.9....I've got a merge ready from debian, but it doesn't solve the problem
[13:49] <jcastro> smoser: jamespage roaksoax Ursinha m_3 G+ in about 10 minutes?
[13:50] <shortdude> i have been running rsyslog to gather remote syslogs from other ubuntu servers and today it decided to start crapping out.  Most of the local syslog files are under 1M but today its over 600M w/ a repeated message from 2 hours ago.  It is complaining about the line "$RuleSet remote" and the 2 places i bind it to ports.  The rsyslog process is also hammering /dev/log.
[13:51] <glance> log loops?
[13:52] <glance> we just use $AllowedSender
[13:52] <shortdude> sorta, it continuosly logged a series of errors about the 3 lines 2 hours ago.  no other logs are duplicated over and over
[13:54] <glance> let servers have if $fromhost-ip != '127.0.0.1' then ~
[13:54] <glance> before *.* @
[13:54] <glance> ...
[13:54] <glance> so that it doesn't send away any logs but its own.
[13:56] <shortdude> if it helps, my config is at http://pastebin.com/mejj7v5r
[13:58] <glance> is the config-file the same at cerberus
[13:58] <glance> ?
[13:59] <shortdude> whoops forgot to take that name out, cerberus is the name of the server
[14:03] <shortdude> i have restarted the rsyslog process but after 15 seconds it started hammering /dev/log and the cpu wait is 25-75% according to top.  I have not rebooted it to see what happens since i dont want to go rebotting things unless i know it will do some good.
[14:05] <koolhead11> hi al
[14:07] <glance> shortdude: http://pastebin.com/D77nrj3x
[14:18] <shortdude> @glance... Thanks, another admin and i are working to chance our config to remove the ruleset similar to yours.  The other admin here with me said he found something about rsyslog 4.2 not working well with rulesets
[14:20] <glance> shortdude: that config is runing in a 4.2 rsyslogd on lucid, and is working just fine.
[14:20] <glance> in two years it have had maybee two unexpected crashes.
[14:21] <glance> and its about 1k hosts logging to that machine
[14:25] <shortdude> sounds good, i like to hear that.  we are running on lucid also
[15:51] <philipballew__> What would I use to see all ip address in use on my lan?
[15:51] <philipballew__> nmap for sure, but what is the command if anyone knows off hand
[15:52] <ikonia> philipballew__: the switch/router should show that from an arp
[15:53] <philipballew__> ikonia, well my router kinda sucks, but Im ssh's in from far away
[15:54] <philipballew__> Ah, ikonia I see what you mean!
[15:54] <philipballew__> thanks!
[16:02] <koolhead11> hi philipballew_
[16:10] <shortdude> @glance... you still on?
[16:17] <hallyn> zul: bad news.  0.9.13 libvirt doesn't seem to work for creating a new qemu based vm through virt-manager (at least remotely)
[16:17] <zul> gah?
[16:24] <glance> shortdude: sortof
[16:36] <shortdude> @glance... thought i would let you know that we figured out what was going on and we did have a logging loop on the log server
[16:36] <shortdude> we took off a line and it is working now
[16:36] <shortdude> thanks for you help
[17:14] <|2ump|2oast> Hello - I'm building a SOHO samba fileserver using ubuntu server 12.04 and I have been looking for bare metal backup / restore solution.  I've looked at mondo/mindi and tested it (both on 32bit and 64bit editions of ubuntu server) but there were numerous issues and I was unable to restore.  Does anyone here have a bare metal backup / restore solution that you use or recommend?
[18:24] <koolhead11> adam_g: hey there
[18:28] <adam_g> koolhead11: heya
[18:29] <koolhead11> adam_g: will you be at OSCON>
[18:29] <koolhead11> adam_g: cool stuff. Folsom on Q and precise
[18:31] <adam_g> koolhead11: of course ill be there, i can practically see the convention center from my window right now. :) will you?
[18:31] <koolhead11> adam_g: yes. am in portland as well
[18:31] <adam_g> koolhead11: cool!
[18:32] <koolhead11> adam_g: you from portland itself?
[18:35] <adam_g> yup
[18:59] <kirkland> SpamapS: howdy!
[18:59] <kirkland> SpamapS: could I get you to promote something from -proposed to -updates?
[18:59] <kirkland> SpamapS: http://pad.lv/u/ecryptfs-utils
[18:59] <kirkland> SpamapS: there's a proposed package that's been sitting there for a long time
[19:02] <SpamapS> kirkland: I don't see any verification on the bugs
[19:04] <SpamapS> kirkland: bug 884407 seems to be verified
[19:04] <uvirtbot`> Launchpad bug 884407 in ecryptfs-utils "mount.ecryptfs_private is broken on arm" [Low,Fix committed] https://launchpad.net/bugs/884407
[19:04] <SpamapS> kirkland: bug 576133 needs verification still tho
[19:04] <uvirtbot`> Launchpad bug 576133 in ecryptfs-utils "Shouldn't allow autologin for ecryptfs users" [Low,Fix committed] https://launchpad.net/bugs/576133
[19:05] <kirkland> SpamapS: lemme get that for you
[19:07] <kirkland> SpamapS: ugh;  downloading 11.10 iso;  will be a few minutes
[19:28] <roaksoax> SpamapS: howdy! If you have some time, could you please take care of bug #1024010
[19:28] <uvirtbot`> Launchpad bug 1024010 in maas-enlist "[SRU] After Commission Action 2 no longer exists" [High,Fix released] https://launchpad.net/bugs/1024010
[19:29] <kirkland> SpamapS: done!  https://bugs.launchpad.net/ubuntu/+source/ecryptfs-utils/+bug/576133/comments/10
[19:29] <uvirtbot`> Launchpad bug 576133 in ecryptfs-utils "Shouldn't allow autologin for ecryptfs users" [Low,Fix committed]
[19:58] <SpamapS> roaksoax: if its in the precise-proposed queue, it will get looked at soon..
[19:58] <roaksoax> SpamapS: awesome, thanks
[19:58] <SpamapS> roaksoax: we have a crazy backlog.. several days behind.. if its time sensitive though, I'm happy to queue jump it
[20:02] <roaksoax> SpamapS: it would be nice to have asap as breaks maas enlistment into precise maas version
[20:02] <roaksoax> into quantal maas verrsion*
[20:07] <hallyn> mdeslaur: hey - with virt-manager, connecting remotely, do you usually connect to root?  is connecting to qemu:///host/system (rather than session) the intent?
[20:07] <mdeslaur> I never use session, and I connect to my user on the remote machine
[20:08] <mdeslaur> hallyn: you use session?
[20:09] <hallyn> mdeslaur: well system wasnt' working in one setup, so i had quickly hacked connect.py to use session...
[20:09] <hallyn> but after i did that, i noticed it created ~/VirtualMachines and used that in place of /var/lib/libvirt/images/,
[20:09] <hallyn> and was wondering whether i'm just messing with things, or if there's a real problem :)
[20:09] <hallyn> ok, let me try clearing everything and using /system
[20:09] <mdeslaur> yeah, as it doesn't have sufficient rights when you use session
[20:10] <mdeslaur> I suspect a bunch of stuff will fail if you use session
[20:10] <mdeslaur> you should put your user in the libvirt group on the remote machine, and use system with your user
[20:11] <hallyn> ok - i was in the libvirt group, but i think my problem was due to 0.9.13 in quantal (which we'll look at monday)
[20:11] <hallyn> thanks (retrying)
[20:11] <mdeslaur> I've only used remote connections for testing virt-manager though, so I'm not exactly an expert of using it that way
[20:11] <mdeslaur> hallyn: let me know if you need any help
[20:14] <hallyn> mdeslaur: i thought i'd tried this before, but i think ihadn't deleted my ~/VirtualMachines.  resetting everything worked.  thanks!
[20:14] <mdeslaur> hallyn: cool!
[20:16] <hallyn> now to figure out whether grub1 failing was fixed by switching from precise->quantal, or amd->intel
[20:19] <stgraber> hallyn: are you aware of an easy way to know whether an ethX entry is veth?
[20:20] <stgraber> hallyn: I need to make NM deal with veth for when it's running in a container. It currently ignores any virtual interface which makes it quite broken in there.
[20:35] <hallyn> stgraber: hm, not really.  you can at least tell whether it's virtual by looking under /sys/devices/virtual/net
[20:36] <stgraber> hallyn: yeah, the problem is that NM ignores anything that's virtual, so I'm trying to make it a bit more clever, ideally without allowing all virtual devices in the process :)
[20:37] <hallyn> stgraber: looking at the kernel code, ethtool may know how to get the information.
[20:38] <hallyn> stgraber: 'sudo ethtool -i veth' shows'driver:veth'
[20:41] <hallyn> stgraber: http://paste.ubuntu.com/1090532/  is the code which detects that.  ioctls will get you what you need
[20:41] <stgraber> hallyn: thanks! I'll add that to NM's detection code then
[20:42] <hallyn> 0x00000003 is the ioctl #.  not sure yet if you can do ita gainst any socket or what
[20:43] <hallyn> stgraber: yeah looks like just socket(AF_INET, SOCK_DGRAM, 0);
[20:56] <hallyn> stgraber: surely you can make it prettier, but this ripped off hacked bit from ethtool works for me http://people.canonical.com/~serge/detectveth
[20:56] <hallyn> (shows what you need)  'sudo detectveth veth1' worked for me
[20:58] <stgraber> hallyn: cool. There's already a function in NM doing a similar ioctl, will change it a bit to also retrieve the driver and then add a check for veth
[20:58] <stgraber> thanks
[21:04] <hallyn> stgraber: excellent :)  have a good weekend
[21:04] <stgraber> you too
[21:16] <zastaph> oops.. I made a software RAID on another machine, moved the harddisks, now I can't even DBAN them, and most rescue disks fail to boot because something is confused
[21:17] <zastaph> tried many mdadm commands, fail, remove, stop.. --zero-superblock and even dd if=/dev/zero
[21:17] <zastaph> the latter faults the OS during the process, segfaults
[21:18] <zastaph> what boot iso can do this gracefully ?
[21:34] <zastaph> guess I need dmraid
[21:40] <hallyn> Daviey: are you still around?
[21:41] <hallyn> Daviey: well, nm.  was wondering if your amd x130e was available and pre-loaaded with quantal server :)
[21:41] <hallyn> i'll just sacrifice my install.  bbl