[00:02] <erichammond> RoyK: I've lived with and loved it since 1985, but every command line program writer comes up with their own sets of options and there are a number of different ways to specify them (single dash, double dash, single letter, word, space between option and arg, "=" between option and arg, some programs even use the DOS "/" to prefix options or no prefix at all, ...)
[00:02] <RoyK> well, true
[00:02] <erichammond> , does "-v" mean "verbose" or "version", does it process stdin by default or do I need to specify "-" or "-stdin", etc
[00:02] <RoyK> haven't seen the DOS prefix, though
[00:02] <RoyK> gnu seems to standardise most of their stuff pretty well, though
[00:03] <erichammond> I'm not even saying it's bad.  The flexibility and chaos have helped let great things thrive.
[00:03] <erichammond> I've "heard" (ahem) that the VAX VMS command line was very consistent, but not much fun to use.
[00:04] <twb> erichammond: that might be because it was written by a company instead of by hundreds of grad students at a bunch of different universities
[00:04] <erichammond> In the "testdisk" package on Ubuntu, there is an effective utility named "photorec" which uses /d as an option specifier.
[00:04] <RoyK> erichammond: heh - we still have two VMS boxes at the office :)
[00:04] <RoyK> alpha stuff
[00:11] <twb> And dd and wodim still use IBM-style
[00:16] <uvirtbot`> New bug: #506771 in clamav (main) "I can't download anything " [Undecided,New] https://launchpad.net/bugs/506771
[01:41] <erichammond> smoser: Thanks for the symlink on http://uec-images.ubuntu.com/releases/karmic/
[01:41] <erichammond> smoser: Could we also get one on http://uec-images.ubuntu.com/releases/hardy/
[01:41] <smoser> yeah. i'll do that. i might get hassled about it though.
[01:41] <smoser> i did ask slangasek if it was ok to keep the old releases
[01:42] <smoser> and he said what i was doing was reasonable. i think this is reasonable too, but possibly others dont.
[01:42] <smoser> it should be possible for us to make the bundle downloadable from s3, right?
[01:44] <erichammond> smoser: what bundle?
[01:44] <erichammond> smoser: but yes, it's possible to make almost anything downloadable from S3 :)
[01:44] <erichammond> and anything on S3 is automatically available through torrent.
[01:44] <smoser> hardy link should be there.
[01:44] <smoser> the published amis
[01:45] <smoser> ie, so people can get the from s3 rather than uec-images.u.c
[01:45] <erichammond> Sure, then it would be faster and free as long as they were inside EC2.
[01:46] <smoser> its free right now for the consumer when it comes from uec-images.u.c
[01:46] <smoser> until june or something
[01:46] <erichammond> No, the EC2 instance is paying for incoming network traffic.
[01:46] <erichammond> oh
[01:46] <erichammond> yah
[01:46] <smoser> and i could definitely see that being almost indefinite. makes sense for "move in special"
[01:46] <erichammond> It's not that big of an issue for me, anyway.
[01:47] <smoser> yeah, its pennies anyway you look at it. but faster would be nicer.
[01:47] <smoser> and not taking canonical bandwidth too
[01:47] <smoser> anyway
[01:47] <smoser> hardy link should be there now
[01:47] <erichammond> When I ran the script to generate the 12 EBS boot AMIs, it only took about 4 minutes each from start to finish.
[01:48] <erichammond> Of course there were instances in each region, so I should have parallelized it.
[01:48] <erichammond> next time...
[01:49] <smoser> lftp rocks. just in case you werent aware. i saw large increases using 'pget'
[02:18] <maxfiles> how do I change to a static ip in this thing
[02:18] <patdk-lap> on what thing?
[02:19] <tonyyarusso> maxfiles: edit /etc/network/interfaces, change dhcp to static, and fill in the other fields.
[02:19] <tonyyarusso> maxfiles: 'man interfaces' for syntax details.
[02:19] <maxfiles> I switched to 8.0.4 lts server with desktop installed
[02:32] <patdk-lap> interesting issue I had on reboot :(
[02:33] <patdk-lap> if I specify dhcp for the network interface, it ignores the mtu setting
[04:35] <MTecknology> I put MAILTO="" in my crontab file; but I'm still getting mail from the output....
[04:35] <MTecknology> any ideas why?
[04:37] <erichammond> MTecknology: It's in the manpage: "If MAILTO is defined (and non-empty), mail is sent to the user so named."
[04:38] <MTecknology> erichammond: then how do I have it discarded?
[04:43] <sbeattie> MTecknology: redirect the output of whatever it is your running from cron to/dev/null.
[04:44] <sbeattie> It may be useful to just send stdout to /dev/null and have stderr still get sent to you, so that you're aware of errors in your cronjob.
[04:45] <MTecknology> sbeattie: I was doing that and it got ugly. I was told that should work.. so crap doesn't get sent through it
[04:45] <MTecknology> It's mostly all ssh login messages; I had a few megs of just that
[04:45] <sbeattie> err, what cronjobis sending you that?
[04:45] <sbeattie> err, what cronjob is sending you that?
[04:47] <sbeattie> is it something that sends mail directly, a la logwatch or logcheck?
[04:48] <MTecknology> some backup scripts I have
[04:48] <MTecknology> some sync scripts
[04:50] <MTecknology> I guess I can tack on ' > /dev/null' to about 50 jobs; I just didn't want to
[04:51] <sbeattie> hrm, if it's actual cron output, that seems to be a bug, or lying documentation.
[04:55] <twb> MTecknology: your problem is too many ssh attempts in your logs?
[04:56] <MTecknology> twb: no..
[04:57] <MTecknology> twb: the cron events do a lot of ssh work, the text that you see when you log into the server winds up in /var/mail/..
[04:58] <twb> MTecknology: consider control master, then
[04:58] <MTecknology> twb: hm?
[04:58] <twb> (It's a feature of OpenSSH to run multiple commands over a single shared SSH connection)
[04:58] <twb> Or maybe investigate something like puppet, depending on what you're doing.
[04:59] <MTecknology> I'd still get the junk
[05:04] <twb> MTecknology: you'd get one connection per <period> instead of one per ssh command
[05:04] <sbeattie> is anacron or some other alternate cron involved?
[05:04] <twb> Where <period> might be the extent of the cron job, or the extent of the uptime
[05:04] <jmarsden> MTecknology: Where exactly is the "junk" coming from?  A Banner statement in sshd_config? /etc/issue.net ?  Other?  Can you tackle this by preventing the generation of that banner info when the logon is not interactive?
[05:05] <MTecknology> jmarsden: that's part of the junk, put there's other output from other tasks like that which I don't want to get
[05:06] <jmarsden> MTecknology: Well, if you'd reduce the volume by 50% by killing the login banners, that would be a start :)
[05:07] <MTecknology> I have MAILTO="admin@domain.com" now too... at least it'll show up where I'll actually read it
[05:07] <twb> MTecknology: it would be better to alias root to admin in /etc/aliases
[05:09] <MTecknology> twb: so the top of that I do root: mail@domain.com ?
[05:10] <MTecknology> or, the end
[05:10] <twb> Sure
[05:10] <twb> Then run newaliases
[05:12] <MTecknology> twb: interesting - thanks
[05:13] <MTecknology> jmarsden: thanks for that idea; how can I do that?
[05:14] <jmarsden> MTecknology: Well, that depends where the banners are coming from, hence my earlier question... I'm not 100% sure how but once we know what generates the text we can look at ways to stop it being generated for your cron jobs...
[05:15] <MTecknology> jmarsden: /etc/issue.net
[05:17] <jmarsden> OK.  Is there a statement Banner /etc/issue.net in sshd_config, or is something else causing that file to be output?
[05:19] <jmarsden> If it is a Banner statement I'm wondering about making that conditional on a Match in there... not sure if it will work, but worth a shot...
[05:20] <MTecknology> jmarsden: that's the line
[05:22] <jmarsden> OK, so now you need to find what is different about the ssh connections being made by your cron jobs compared to those being made by interactive users, and then create a Match block with the Banner inside it for the interactive users.
[05:22] <jmarsden> man sshd_config for more on Match blocks...
[05:22] <MTecknology> alrighty, thanks
[05:23] <jmarsden> You're welcome.
[06:06] <cyphase> If i have a RAID 1 array on one computer, and i take out a drive and stick it into another computer (non-RAID), will the second computer be able to read it correctly?
[06:06] <twb> cyphase: RAID-1 is a mirror.
[06:06] <cyphase> twb: i know, i'm just making sure
[06:06] <twb> cyphase: at least traditionally, that meant that both drives are directly mountable
[06:07] <twb> You'll want to mount -oro to avoid getting the array out of sync, though
[06:07] <cyphase> twb: right, that's what i thought.. thanks :)
[06:07] <twb> This is assuming you're talking about md RAID
[06:07] <cyphase> twb: i don't know what kind of RAID it is yet
[06:07] <cyphase> doubtful it's linux though
[06:08] <twb> I can't comment on fakeraid or hardware raid
[06:10] <cyphase> twb: okay, thanks for the info
[06:19] <erichammond> MTecknology: You could also send the email to "devnull@yourdomain.com" and then add an alias for "devnull: /dev/null"
[06:20] <erichammond> though I didn't quite follow why you couldn't redirect everything to /dev/null in the cron job itself.
[07:10] <toyol> hello, i need help, i install linux server 9.04 x64bit and i want to change block size 4096 to 512 . how can i do this ?
[07:10] <mealstrom> you need partman I suppose
[07:11] <toyol> so all data lose ?
[07:11] <toyol> if i change block size to 512 ?
[07:11] <mealstrom> don't really know
[07:12] <tsimpson> you'll have to reformat to change the block size
[07:58] <alkisg> Is it possible to use dpkg-divert for a whole directory? I want to divert /usr/share/wine/fonts/ to /usr/share/wine/english-only-fonts/...
[08:26] <jiboumans> good mornign
[08:26] <error404notfound> I have a server with one NIC and a vpn interface. This server hosts about 14 sites, out of which i want 10 to be available only on vpn network and 4 to public. I need a combination of IP and Name based vhosts in apache, any ideas?
[08:30] <psteyn> Hi, running Ubuntu Server 9.10, kacpid is using a LOT of cpu.  How can I stop it safely?  I see no /etc/init.d/acpid
[08:33] <_ruben> error404notfound: NameVirtualHost directive takes an ip address as parameter which can be used to make the distinction between vpn and public .. then servername/serveralias for the actual vhosting
[08:33] <_ruben> psteyn: its a kernel process, the only way to stop it (probably) is to disable acpi at boot time
[08:33] <error404notfound> _ruben, yup. got it, thanks to SpiceMan on #httpd
[08:35] <FireCrotch> psteyn: You can disable acpi by appending acpi=off to your GRUB kernel line and rebooting. Be warned however that you'll lose features such as CPU throttling, fan control, etc
[08:36] <psteyn> Meh.  :( I don't really mind losing that, but I've also read that acpi=off will disable SMP
[08:37] <psteyn> I do mind that..
[09:19] <maxagaz> how to uninstall a program installed with "make ; make install" ?
[09:20] <_ruben> depends on the program
[09:20] <_ruben> some offer the option of running make uninstall
[09:20] <_ruben> otherwise you might have to delete all installed files by hand
[09:40] <maxagaz> _ruben, but how do you know the list of files installed ?
[09:41] <maxagaz> _ruben, and what if an existing file has been changed by make install ?
[09:43] <_ruben> analyze the Makefile is one way .. there's also (wrapper)scripts that do that for you (and possibly even offer uninstall functionality)
[09:43] <st_iron> martin-: dpkg -l
[09:43] <st_iron> sorry
[09:43] <_ruben> if files are overwritten (without being backed up), you wont get them back (easily)
[09:43] <st_iron> maxagaz: dpkg -l
[09:44] <st_iron> oh, and sorry again, I just read back
[09:45] <st_iron> now I put a lock on my mouth
[10:16] <dayo> i'm trying to keep a static IP on my eth1,which is also the interface from which the dhcp3-server gives out IPs,but the static IP keeps getting overwritten by dhcp,thereby messing up my lan: http://dpaste.com/151096/
[10:16] <screen-x> do I need dbus  on an 8.04 apache server?
[10:18] <mealstrom> dayo: dhclient.conf supersede options
[10:19] <mealstrom> and what with dhcp server?  dhcpd eth1 and dhclient eth1 ? oO
[10:22] <error404notfound> i have port 113 closed on my ubuntu server, what if i want to put it under stealth/reject all connection on this? would it effect any running services?
[10:25] <dayo> mealstrom: what do u mean?
[10:26] <uvirtbot`> New bug: #513151 in mysql-dfsg-5.0 (universe) "package mysql-server-5.0 (not installed) failed to install/upgrade: subprocess new pre-installation script returned error exit status 1" [Undecided,Incomplete] https://launchpad.net/bugs/513151
[10:27] <_ruben> error404notfound: not making much sense (atleast not to me)
[10:28] <error404notfound> _ruben, port 113 on my server appears to be closed if i do portscan. Okay? what if i explicitly configure iptables to "reject" any connections on this, that way it won't even appear in portscan. Will rejecting any connection on this effect any running services?
[10:30] <_ruben> closed and reject are or more or less the same thing (one results in the other)
[10:30] <acalvo> hi
[10:30] <_ruben> drop -> filtered ... reject -> closed .. accept -> open
[10:31] <error404notfound> _ruben,hmmm
[10:31] <acalvo> I've grown the volume of a virtual disk in a virtual machine, and I need to grow also the LVM partition. How can I do that? lvextend? (it's the physical disk, I guess)
[10:32] <_ruben> acalvo: increase pv, vg, lv and then fs
[10:33] <acalvo> _ruben: ok, I'll try it
[10:33] <acalvo> and thanks, you're always here to help :)
[10:33] <_ruben> just dont tell my boss, he thinks im working ;)
[10:34] <error404notfound> hmmm, okay, have filtered that as well, now i am wondering what next should i do with this server. :P
[10:35] <acalvo> quite confused: I've this
[10:35] <acalvo> Disposit. Inicio    Comienzo      Fin      Bloques  Id  Sistema
[10:35] <acalvo> /dev/sda1   *           1         621     4988151   8e  Linux LVM
[10:35] <acalvo> /dev/sda2             622         652      249007+   5  Extendida
[10:35] <acalvo> /dev/sda5             622         652      248976   83  Linux
[10:35] <acalvo> I've increased the vmdk 1G
[10:35] <acalvo> how do I apply that?
[10:35] <acalvo> I mean... the pvresize applies only to a partition
[10:36] <acalvo> while is the whole disk whichs is bigger
[10:37] <acalvo> I just want to make /dev/sda1 1G bigger
[10:38] <error404notfound> acalvo, !pastebin
[10:38] <acalvo> error404notfound: mmm ok
[10:44] <_ruben> acalvo: you cant make sda1 bigger (easily)
[10:44] <_ruben> however, you could use the benefits of lvm
[10:45] <_ruben> the extra 1G can become a new partition, which will be a pv, which you can add to a vg, which allows you to create extra lvs or extend one or more lvs
[10:51] <acalvo> _ruben: I know, and it's quite useful
[10:52] <acalvo> however, I'd like to extend the sda1
[11:01] <soren> acalvo: Why?
[11:02] <soren> acalvo: You can create a new pv at the end, add it to the same vg as sda1 and the you will be able to allocate the space in there with lvcreate just like you normally would.
[11:06] <acalvo> soren: ok, that makes sense, however, I'm not that into LVM to understand everything. If I get it right, I just have to: first, add new size to the vmdisk of my virtual machine; create a new pv, add it to the same vg as the other lv, and then it'll be as if the /dev/sda1 (in my example) were bigger?
[11:06] <soren> Umm..
[11:07] <soren> Well, apart from the bit about /dev/sda1 being bigger..
[11:07] <soren> You vg will be bigger.
[11:07] <acalvo> aha, ok, so I'll be able to create more partition (in a traditional way)
[11:07] <soren> Right.
[11:08] <acalvo> but not extend the current partitions (again, traditional way)
[11:08] <soren> Right.
[11:08] <soren> You add a new partition that takes up the newly allocated space.
[11:08] <soren> pvcreate it
[11:08] <soren> vgextend your vg with the new pv
[11:08] <incd> Which virtual server implementation would be good for Sparc?
[11:08] <incd> I've tried vserver etc
[11:08] <soren> ..and that's it. Your vg will be bigger, and you will not need to worry about it being split across multiple partitions.
[11:09] <soren> acalvo: It's probably easier, though...
[11:09] <soren> acalvo: ..if you just add another virtual disk.
[11:09] <acalvo> soren: don't worry, you've clarified lots of things
[11:09] <soren> acalvo: Instead of bothering with extending the existing one.
[11:09] <acalvo> right!
[11:09] <soren> acalvo: The effect will be the exact same. That's part of why LVM is so awesome :)
[11:10] <acalvo> I understand
[11:10] <soren> Great.
[11:10] <acalvo> thanks soren! I'll try that!
[11:10] <soren> Just shout if you stumble.
[11:10]  * soren heads to lunch
[11:27] <acalvo> soren: I've managed to do it by extending the vmdisk (however having a new virtual disk seems fine)
[11:28] <acalvo> so now my /dev/vg/lvname has more space
[11:28] <acalvo> I didn't get it the first time
[11:55] <Weasel[DK]> Kerberos with OpenLDAP backend config ? - I know some about both kerberos and LDAP, but how to tell kerberos to user LDAP as backend. ??
[12:21]  * soren curses the launchpad UI for copying packages between PPA's
[13:06] <Italian_Plumber> I am trying to run fsck on a remote machine.  The disk I am trying to check is not the boot disk.  It tells me it is busy, but is not mounted:  http://pastebin.com/m43085014 What can I do?
[13:09] <NCommander> Is there a test suite for likewise? I'm working on porting it to ARM, and would love to make sure I can test everything off it
[13:09] <soren> Italian_Plumber: Can you pastebin the output of mount, please?
[13:14] <Italian_Plumber> http://pastebin.com/m7a468855
[13:15] <pmatulis> Italian_Plumber: and what version of e2fsprogs are you running?
[13:15] <pmatulis> (dpkg-query -W e2fsprogs)
[13:15] <soren> Italian_Plumber: /dev/sdb1 is mounted
[13:16] <Italian_Plumber> but when I try to unmount it, it says it's already unmounted.
[13:16] <soren> Italian_Plumber: No.
[13:16] <soren> Italian_Plumber: When you try to unmount /dev/sdb, it does.
[13:16] <soren> Not /dev/sdb1.
[13:17] <Italian_Plumber> ah.
[13:17] <Italian_Plumber> david@warthog:~$ sudo umount /dev/sdb1
[13:17] <Italian_Plumber> umount: /media/data: device is busy
[13:18] <Determinist> hey guys. I'm using the 9.10 EC2 AMI (32bit =  ami-bb709dd2). I've noticed that sources.list (/etc/apt) does not include multiverse by default. is there a simple way to add multiverse to apt without having to edit the sources.list file manually?
[13:18] <pmatulis> Italian_Plumber: sudo lsof /media/data
[13:19] <pmatulis> also make sure you're not in the mount point
[13:19] <pmatulis> when unmounting
[13:24]  * Determinist blinks
[13:24] <Determinist> is there no simple way to add multiverse to the repos aside from editing sources.list directly?
[13:27] <Italian_Plumber> OKay, I apparently have successfully unmounted it now, but now I get this: http://pastebin.com/m15218c40
[13:29] <pmatulis> Italian_Plumber: pastebin output to 'sudo fdisk -l' i guess
[13:29] <pmatulis> Italian_Plumber: or just 'sudo fdisk -l /dev/sdb'
[13:31] <Italian_Plumber> here is the output to several of the commands: http://pastebin.com/m33bc1a41
[13:32] <pmatulis> Italian_Plumber: why are you tring to check this filesystem anyway?
[13:32] <pmatulis> *trying
[13:32] <soren> Determinist: You're making it sound like that's super complicated?
[13:32] <Italian_Plumber> I get the "superblock" erro when starting the machine, which means the machine won't start up without interaction.
[13:32] <soren> Determinist: You open the file, add multiverse at the end of the line, done.
[13:33] <pmatulis> Italian_Plumber: could be that the superblock is corrupted.  you may need to specify a backup one (with the fsck command)
[13:34] <pmatulis> Italian_Plumber: you see an example of doing so in the output to your fsck command
[13:34] <pmatulis> Italian_Plumber: but you should research where the backup superblocks are found in my opinion
[13:36] <Italian_Plumber> with the fsck command, Iget this: http://pastebin.com/m5c15f459
[13:36] <uvirtbot`> New bug: #512646 in postfix (main) "Could not install postfix - postinst failed to properly create postfix user" [Medium,Incomplete] https://launchpad.net/bugs/512646
[13:36] <Italian_Plumber> sorry I thought I included that in one of my pastes, but I guess I didn't.
[13:39] <pmatulis> Italian_Plumber: again, you're not using the proper device name
[13:40] <Italian_Plumber> I get the same output with "sdb1"
[13:42] <pmatulis> Italian_Plumber: pastebin that ouput along with mount output again
[13:45] <Italian_Plumber> sure... thanks.. http://pastebin.com/m3ffd48ff
[13:49] <Determinist> soren: yeah, that's fine when you have 1 machine. but when you have a load of them on EC2, things get more complicated. i'm looking for a way to automate this. if there's no simple way, i'll just write a script to do it.
[13:52] <TeTeT> smoser: thanks for the uec-tools for bundling and uploading a complete image tarball, will rock my UEC training today :)
[13:54] <smoser> good. i hope to have it packaged in lucid.
[14:03] <pmatulis> Italian_Plumber: maybe specify the block size with e2fsck
[14:13] <mathiaz> kirkland: are you able to complete a fully automated install with today installer?
[14:13] <kirkland> mathiaz: will get back with you once i try
[14:14] <mathiaz> kirkland: context -bug 512632
[14:14] <uvirtbot`> Launchpad bug 512632 in debian-installer "Network component not activated on a fully automated installation" [Undecided,New] https://launchpad.net/bugs/512632
[14:14] <mealstrom> mathiaz: preesid
[14:15] <mealstrom> this bug is easily fix with apt mirror 512632
[14:15] <pati> hey!!
[14:16] <pati> I've setup a webserver with ubuntu 8.04 server edition
[14:16] <mealstrom> deb-amd64 http://archive.ubuntu.com/ubuntu karmic main/debian-installer restricted/debian-installer universe/debian-installer multiverse/debian-installer
[14:16] <pati> but after I leave it idle for a long time it becomes inaccessible by ssh
[14:17] <pati> apache is also not accessible...though i am able to ping it
[14:17] <pati> does anyone have a clue what might be the issue
[14:17] <mathiaz> mealstrom: what do you mean?
[14:17] <pati> anyone?
[14:18] <unimatrix> hello, would anyone know why my ubuntu server often decides to suddenly switch from static to dynamic IP?
[14:19] <mealstrom> mathiaz: when you are using local mirror (apt-mirror) for network installation -- there files from debian-installer aren't mirrored and you've got errors with *.udeb files
[14:19] <mathiaz> mealstrom: well - I'm not using a local mirror
[14:21] <mealstrom> try to add netcfg/get_hostname=ubuntu
[14:25] <MTecknology> How do I make sudo update the environment? It seems like sudo -u www-data command from the crontab doesn't update that.
[14:28] <pmatulis> MTecknology: i believe the sudoers file contains stuff for that (man sudoers)
[14:29] <MTecknology> pmatulis: I looked through that already
[14:30] <MTecknology> it runs the command as the user; it just doesn't update environment
[14:43] <alvin> Is there a method to know when an lvm snapshot was created? (I want to search for the oldest snapshots)
[14:58] <smoser> jjohansen, where do i get the ec2 kernel source? there are no tags in git://kernel.ubuntu.com/ubuntu/ubuntu-karmic.git for 2.6.31.302.2 (which is the current version of linux-ec2 package in karmic)
[14:59] <jjohansen> smoser: the import last time dropped the reference.  I try to put it in the commit log and under debian.ec2/patches.xen
[15:00] <jjohansen> the update I am working on pulled in fresh yesterday
[15:00] <smoser> where do i get debian.ec2/patches.xen ?
[15:00] <smoser> oh. on that branch
[15:00] <jjohansen> yeah ec2 branch
[15:04] <smoser> jjohansen, where do i get the ec2 branch?
[15:04] <jjohansen> smoser grab the git tree
[15:04] <smoser> got it
[15:04] <smoser> at least i have the one i pointed at above
[15:05] <jjohansen> then do a git checkout --track origin/ec2 -b ec2
[15:07] <smoser> ah. its been a while, too much bzr
[15:07] <smoser> forgot about remote branches
[15:07] <kirkland> soren: have you used the new kvm in lucid much yet?
[15:07] <kirkland> soren: the 0.12 one?
[15:07] <soren> kirkland: Some.
[15:07] <soren> kirkland: Not much.
[15:07] <kirkland> soren: any major breakage?
[15:08] <smoser> jjohansen, now, where do i see/get -302.2 ?
[15:08] <soren> kirkland: Not that I've seen, no :)
[15:08] <kirkland> soren: minor breakage, then?  :-)
[15:08] <jjohansen> smoser: git log, find the commit that mentions bump to -302.2
[15:08] <jjohansen> the git checkout the hash for the commit
[15:08] <soren> kirkland: Nothing that I really can attribute to kvm, no. :)
[15:09] <jjohansen> there is no tag
[15:09] <kirkland> soren: nice
[15:09] <smoser> the only 302.2 htat i see is in checksums
[15:10] <jjohansen> smoser: give me a sec
[15:15] <jjohansen> smoser: where did you get a 302.2 from?
[15:16] <smoser> $ dpkg-query --show linux-ec2
[15:16] <smoser> linux-ec2       2.6.31.302.2
[15:17] <jjohansen> right, but is this a local vm, an ami on ec2?
[15:18] <jjohansen> I am wondering if it is one of my test kernels
[15:18] <smoser> offiical released
[15:19]  * jjohansen is baffled
[15:19] <jjohansen> so we have lost some history
[15:20] <jjohansen> that shouldn't happen but it is possible to do when rebasing
[15:20] <jjohansen> the ec2 kernel, gets rebased against the master kernel branch
[15:21] <jjohansen> we are supposed to keep all commit info but I could see that getting dropped
[15:22] <jjohansen> I can tell you that the version of xen patches hasn't changed since earlier than that
[15:23] <jjohansen> smoser: what do you want to know about the patches?
[15:23] <jjohansen> smoser: it looks like we are using the patches from 20090902
[15:24] <smoser> mostly i was just interested in config changes. i'm tryiing to buidl a ext4 kernel module.
[15:24] <smoser> and also just wanting to walk through this once
[15:24] <jiboumans> smoser: you appear to not be on the team call...
[15:24] <jjohansen> ah
[15:24] <jiboumans> 2 penalty laps around the court yard!
[15:29] <MTecknology> I still can't figure out how to ignore the SSH banner for non-interactive logins..
[15:30] <smoser> jjohansen, easiest way to build kernel modules ? without building entire thing
[15:31] <jjohansen> assuming the directory has a Makefile that can do it,
[15:31] <jjohansen> cd into the directory
[15:31] <jjohansen> make -C <kernel source> -M=`pwd`
[15:45] <mdeslaur> zul, mathiaz: who takes care of mysql among you?
[15:46] <zul> mdeslaur: mathiaz and me
[15:46] <zul> mdeslaur: whats wrong?
[15:46] <mdeslaur> zul, mathiaz: could you two come to #mysql-ndb
[15:46] <mdeslaur> apparently the clustering in 5.1 that we ship is old and deprecated
[15:47] <zul> yeah we are shipping mysql-cluster 7 in lucid
[15:51] <uvirtbot`> New bug: #511180 in samba (main) "File sharing failed" [Undecided,Invalid] https://launchpad.net/bugs/511180
[15:51] <zul> mathiaz: can you join #mysql-ndb please?
[16:06] <ivoks> here's first papercut: kill php's error display by default, put them in apache's error logs
[16:06] <ivoks> :)
[16:10] <incorrect> hmm, i wonder what search engine i should use
[16:15] <Omahn> ivoks: Your pacemaker/apache/vsftpd test cases work perfectly on my test machines. 3 node/ESX.
[16:15] <ivoks> Omahn: that's awesome
[16:15] <ivoks> Omahn: could you add comments to wiki page?
[16:16] <ivoks> https://wiki.ubuntu.com/ClusterStack/LucidTesting#Test results
[16:16] <Omahn> Indeed. I'm just testing the drbd test case. The resync is taking a while :-)
[16:16] <ivoks> hehe
[16:18] <ivoks> there might be some issues with that test
[16:18] <ivoks> drbd upstream said they'll send me modifications for it
[16:19] <acalvo> hi
[16:19] <acalvo> when setting up a master-slave relation with bind
[16:19] <acalvo> does the slave has to have its own zone files with the @ set up to it sip address?
[16:19] <acalvo> or it has to have the same as the primary?
[16:20] <ivoks> it should pull everything from master
[16:20] <acalvo> *everything*?
[16:20] <ivoks> domain records
[16:21] <acalvo> even this? @               IN      SOA     mars.esci.es. root.esci.es. (
[16:21] <ivoks> of course
[16:21] <acalvo> ok
[16:21] <acalvo> and this too? @               IN      NS      mars.esci.es.
[16:21] <ivoks> yes, imo
[16:21] <acalvo> I've thought it was poiting to the machine runnig the dns server
[16:21] <ivoks> wait, i'll check
[16:22] <acalvo> ok!
[16:24] <ivoks> yep
[16:24] <ivoks> it creates zone file
[16:24] <acalvo> ok, it points to the primary master
[16:24] <acalvo> (authority)
[16:29] <Omahn> ivoks: DRBD test case works fine for me too. Was issue was you expecting?
[16:29] <Omahn> *What
[16:29] <ivoks> i had no issues
[16:30] <kirkland> mathiaz: "<cjwatson> kirkland: not enough there to be sure, but there's an outstanding console-setup bug that multiple people are running into and that ev's looking at, so if it's lucid then that's a possibility"
[16:30] <ivoks> but upstream said they have some comments
[16:30] <ivoks> i don't know what exactly
[16:30] <Omahn> Ah I see. Anyway, works fine for me :-)
[16:30] <Omahn> I'll update the wiki page.
[16:30] <ivoks> great
[16:30] <mathiaz> kirkland: are the preseed install also failing for you?
[16:31] <mathiaz> kirkland: I've asked cr3 to do a test install and it works well for him
[16:31] <kirkland> mathiaz: they're hanging at a screen asking me to select the next step in the process
[16:31] <kirkland> mathiaz: if i select "configure the keyboard", nothing happens, i just loop on that step
[16:31] <mathiaz> kirkland: right
[16:31] <kirkland> mathiaz: if i push it to the next step, detect nw hardware, it continues
[16:31] <mathiaz> kirkland: and then if you select configure network, it works
[16:31] <mathiaz> kirkland: awesome - that's what I see as well
[16:31] <kirkland> mathiaz: sounds like cjwatson and ev are aware of the issue
[16:32] <mathiaz> kirkland: great - and that wasn't case before you left for LCA?
[16:32] <kirkland> mathiaz: bug #512592
[16:32] <uvirtbot`> Launchpad bug 512592 in debian-installer "console-setup-udeb succeeded but requested to be left unconfigured" [Undecided,New] https://launchpad.net/bugs/512592
[16:32] <kirkland> mathiaz: correct
[16:32] <kirkland> mathiaz: this worked liked a champ before I left
[16:35] <ivoks> Omahn: you had only two servers in drbd test?
[16:35] <Omahn> ivoks: Only 2 taking part, I had a 3rd running with corosync up but not involved in drbd.
[16:35] <ivoks> right
[16:35] <ivoks> that's the test i wanted to see :)
[16:36] <Omahn> I think I tried initially with 2 only, and then realised my earlier quorum setting required at least 2 nodes to be up.
[16:36] <ivoks> so, we can say that we have good replacement for rhcs
[16:36] <Omahn> So I did it again with 3.
[16:36] <ivoks> yes, it won't work with 2
[16:36] <ivoks> 2 node clusters are pointless
[16:37] <ivoks> they do more harm than good
[16:37] <Omahn> I've never tried RHCS but Pacemaker/corosync seems to work really well for us so far in testing. Just a bit tricky to integrate with Puppet but i'm getting there :-)
[16:37] <Omahn> Actually our new LVS clusters will be 2 node.
[16:37] <ivoks> and what happens when they lose interconnection?
[16:37] <ivoks> :)
[16:38] <ivoks> they both thing other one is dead
[16:38] <ivoks> think
[16:38] <ivoks> and then you have big mess
[16:38] <ivoks> 3 is minimum
[16:39] <Omahn> 2 + stonith should be ok presumably? (And as these are routing packets, if they lose connectivity then we have much bigger problems)
[16:39] <ivoks> 2 + 1 something to keep track which one is really dead
[16:40] <ivoks> it could be nokia n900 :D
[16:40] <Omahn> Ok I'll have a look at running 3 nodes.
[16:42] <ivoks> so, we now just have to write MIRs for that stack
[16:43] <ivoks> jiboumans: do we have a green light for corosync/pacemaker cluster in main? :)
[16:43] <Omahn> Fingers crossed :-)
[16:44] <ivoks> Omahn: http://clusterlabs.org/wiki/DRBD_HowTo_1.0
[16:46] <Omahn> ivoks: Thanks
[16:47] <ivoks> i'll merge latest drbd and pacemaker parts now
[16:47] <Omahn> ivoks: Good stuff. I'm building an LVS cluster tomorrow on real tin so that would be fantastic.
[16:53] <BeardedChimp> When an interface is brought up is any device created to check for its existance in a script or is the only way by parsing ifconfig output
[16:53] <BeardedChimp> My grammar was shocking there
[16:53] <BeardedChimp> Is any device created that allows me to check for its existance with a script
[16:55] <ivoks> BeardedChimp: which ubuntu version?
[17:06] <ttx> mathiaz: around ?
[17:06] <mathiaz> ttx: yes
[17:06] <mathiaz> ttx: are you?
[17:06] <mathiaz> ttx: is it your bot I'm talking to?
[17:06] <ttx> mathiaz: reading your install-srv readme
[17:07] <ttx> mathiaz: you still need tftp for the gPXE chaining, right
[17:07] <ttx> so it's not fully without tftp
[17:07] <mathiaz> ttx: yes
[17:07] <ttx> ok
[17:07] <mathiaz> ttx: well in my setup it is :)
[17:07] <mathiaz> ttx: however you can just ship one static file
[17:07] <ttx> mathiaz: I dare you to start an instance with *your* setup
[17:07] <ttx> :P
[17:08] <mathiaz> ttx: otherwise you have to add/delete files in the tftpboot directory from the cgi-script
[17:08] <ttx> mathiaz: ok :)
[17:08] <mathiaz> ttx: at least there is only one file in the tftp directory
[17:08] <mathiaz> ttx: and that all
[17:08] <mathiaz> ttx: that's all
[17:09] <ttx> right, the issue is, will my flimsy router support that
[17:09] <mathiaz> ttx: that == http server?
[17:09] <mathiaz> ttx: or that == dhcp+tftp server?
[17:09] <mathiaz> ttx: if your router runs dnsmasq, then you should be ok
[17:10] <mathiaz> ttx: you can enable dnsmasq tftp server
[17:10] <ttx> mathiaz: right. I just need to figure out how to place a static file on there now :)
[17:10] <mathiaz> ttx: well - you could run the tftp server on the same machine as the http server
[17:10] <ttx> and make sure it doesn't get wiped on reboot
[17:10] <mathiaz> ttx: and then use the next-boot option
[17:10] <mathiaz> ttx: as you can tell the dhcp client to use a *different* IP for the tftp server
[17:11] <ttx> mathiaz: ah, that sounds better
[17:11] <mathiaz> ttx: the tftp server doesn't need to be on the same machine as the dhcp server
[17:11] <mathiaz> ttx: you could even bring a second dhcp server
[17:11] <mathiaz> ttx: on the network
[17:12] <ttx> ok, I'll look deeper... tomorrow.
[17:12] <mathiaz> ttx: and configure your router dhcp server to *not* answer dhcp request from PXE clients
[17:12] <mathiaz> ttx: and configure the second dhcp server to *only* answer dhcp request from PXE clients
[17:13] <ttx> thanks for those precisions
[17:23]  * jiboumans sees unhappy signals from UEC testing :(
[17:35] <mathiaz> jiboumans: what do you mean?
[17:37] <mathiaz> kirkland: how about adding a default name to the cluster name in UEC?
[17:37] <jiboumans> mathiaz: you being blocked
[17:37] <kirkland> mathiaz: static, or generated?
[17:37] <mathiaz> jiboumans: I'm trying to move forward anyway
[17:37] <mathiaz> kirkland: well - not sure
[17:38] <kirkland> mathiaz: my preseed sets it to "CanyonEdge" :-)
[17:38] <jiboumans> mathiaz: i know you are. if there's something i can do to unstuck you, let me know
[17:38] <mathiaz> kirkland: right - I'd like to avoid preseeding anything that is not necessary
[17:38] <jiboumans> kirkland: *cough* MangyMinx!
[17:39] <mathiaz> kirkland: db_input high eucalyptus/cluster-name
[17:39] <mathiaz> kirkland: is it worth asking for the cluster name by default in the install?
[17:40] <mathiaz> kirkland: well - that's a different topic
[17:41] <mathiaz> kirkland: I'd suggest we add a default value to the cluster-name template
[17:41] <kirkland> mathiaz: and lower to medium
[17:41] <kirkland> mathiaz: okay ... do you have a name proposal?
[17:41] <mathiaz> kirkland: UEC_CLUSTER?
[17:41]  * kirkland winces at ALL_CAPS_AND_UNDERSCORE
[17:42] <mathiaz> kirkland: the main goal is to get rid of a preseed answer
[17:42] <mathiaz> kirkland: UEC-Cluster
[17:42] <mathiaz> kirkland: UEC is the official acronym
[17:42] <kirkland> mathiaz: i think if we put the word "Cluster" in there, it should be Cluster1
[17:42] <mathiaz> kirkland: fair enough
[17:43] <mathiaz> kirkland: UEC-Cluster1
[17:43] <kirkland> mathiaz: but i'm wondering if -Cluster1 is necessary?
[17:43] <mathiaz> kirkland: UEC1?
[17:43] <kirkland> mathiaz: I like the concise-ness
[17:43] <kirkland> mathiaz: would like to have ttx's opinion, though
[17:44] <kirkland> mathiaz: it can be changed, of course
[17:44] <mathiaz> kirkland: I'll file a bug then
[17:45] <kirkland> mathiaz: other than the noted install bug, my preseed install worked perfectly
[17:45] <kirkland> mathiaz: all euca services are running on the controller
[17:45] <kirkland> mathiaz: i'm simultaneously installing 4 nodes now
[17:46] <mathiaz> kirkland: great - I'm preparing preseeds for the UEC Network installation
[17:46] <mathiaz> kirkland: UEC Network Integration
[17:46] <kirkland> mathiaz: uec1 might be easier to read/type
[17:46] <kirkland> mathiaz: but I'm not strongly of that opinion
[17:46] <kirkland> mathiaz: i do like 4 chars, versus a-lot-more though :-)
[18:09] <ivoks> Omahn: new drbd is uploaded to my ppa; should be available tomorrow
[18:09] <ivoks> Omahn: rest of the stuff will go to ppa tomorrow
[18:11] <BeardedChimp> ivoks: Sorry was called away, 9.10
[18:11] <ivoks> 9.10 has issues with networking :/
[18:11] <ivoks> bunch of network services are started before network is up
[18:12] <ivoks> it's a known problem and is fixed in lucid
[18:12] <ivoks> backporting fix requires touching upstart, which is core of the system
[18:12] <ivoks> it's not that easy :/
[18:13] <Italian_Plumber> Hello.  I have a drive with a "bad superblock"... is that a temporary problem that can be fixed, or a sign that the drive is getting old or about to die?
[18:13] <BeardedChimp> ivoks: Oh wait I was thinking of the wrong computer, the one Im dealing with is 9.04
[18:14] <BeardedChimp> Lucky me
[18:14] <ivoks> Italian_Plumber: warranty on most disks mentions number of bad blocks with number of reads/writes or age of the disk
[18:14] <ivoks> oh, sorry
[18:14] <ivoks> superblock
[18:15] <ivoks> that's a filesystem issue
[18:15] <Italian_Plumber> this is the converstation from earlier: http://pastebin.com/m56fb42f7
[18:16] <Italian_Plumber> so if I just blew away that filesystem and created a new one, I'd be fine?
[18:16] <ivoks> Italian_Plumber: you are mounting sdb1, right?
[18:16] <ivoks> Italian_Plumber: not sdb
[18:17] <Italian_Plumber> yes
[18:17] <ivoks> eh
[18:17] <Italian_Plumber> I was somewhat confused on the difference at first.  I guess I kinda still am
[18:17] <ivoks> do you have output of mkfs when you formated filesystem?
[18:17] <ivoks> Italian_Plumber: sdb is disk, sdb1 is first partition on that disk
[18:17] <Italian_Plumber> I have not formatted it, recently.
[18:18] <ivoks> Italian_Plumber: did you format it during install time?
[18:18] <Italian_Plumber> I don't recall.  I set up this box ~2 years ago.  Probably not -- this disk was added to the machine later.
[18:19] <ivoks> there are couple of backup superblocks on disk
[18:19] <ivoks> mkfs prints all of them
[18:20] <ivoks> you'll have to fsck disk with one of those backup superblocks
[18:20] <ruben23>  hi anyone can help setup a simple ticket support system..
[18:20] <ivoks> if you don't know which they are, you could use the tool called testdisk
[18:20] <ivoks> it should find superblocks
[18:21] <ivoks> and then run e2fsck -b <one of those superblocks> /dev/sdb1
[18:22] <ivoks> good news is that your data is still there
[18:22] <ivoks> :D
[18:23] <zul> ivoks: hey! got a question for you what do you think of bacula 5 for lts?
[18:23] <ivoks> zul: it's 2 days old
[18:23] <ivoks> zul: expect bugs :D
[18:23] <zul> heh
[18:23] <ivoks> but it is probably better option than older version
[18:23] <Italian_Plumber> yes the data is still there.  In fact I've already moved the important stuff off of the disk -- at this point it could just be formatted/repartitioned.  woudl that be easeir?
[18:24] <zul> wait for the .1 release?
[18:24] <ivoks> Italian_Plumber: if you don't care about data, then yes, format is easiest way out
[18:24] <ivoks> zul: wouldn't that be a big change for SRU?
[18:24] <zul> ivoks: probably
[18:25] <ivoks> i wouldn't like to see that change during release (and i do like big changes)
[18:25] <zul> *sigh* maybe stick it in backports
[18:25] <Italian_Plumber> well I'd like to try to repair it.  is it "sudo apt-get install testdisk" ?
[18:25] <ivoks> zul: i'd rather go with 5.0 in 10.04 and then fix it during lucid lifetime
[18:25] <ivoks> Italian_Plumber: yes
[18:26] <zul> ivoks: sounds like a plan to me
[18:26] <ivoks> zul: notice that 5.0 is released, while firefox wasn't and we didn't care :D
[18:26] <ruben23> anyone..?
[18:26] <ivoks> ruben23: best practice
[18:27] <ivoks> eh, best practical
[18:27] <ruben23>  ivoks: what you mean..
[18:28] <ivoks> ruben23: http://bestpractical.com/
[18:28] <ivoks> software is called RT
[18:32] <spowers> i used to use RT
[18:32] <spowers> at a previous job
[18:32] <spowers> it can go anywhere from simple to insanely detailed
[18:32] <ivoks> yeah
[18:32] <spowers> scales pretty well
[18:32] <ivoks> it's very flexibile and powerfull
[18:32] <spowers> some people like OTRS but i've never used it before
[18:33] <spowers> if you're doing software bugs, i've used mantis before and liked it
[18:33] <spowers> also, a friend of mine wrote one called loom (loomapp.com)
[18:34] <ivoks> well, take care
[18:34] <ivoks> see you tomorrow
[18:38] <ruben23> ivoks:..?
[18:54] <Italian_Plumber> testdisk says this about the superblocks: http://pastebin.com/m11aae223
[18:57] <patdk-lap> anyone know why du -shx / would report 2.8G
[18:57] <patdk-lap> but df -h, reports 3.9G?
[18:57] <jennie> is it necessary to learn ubuntu desktop first to learn ubuntu server ???
[18:57] <jennie> please guide me I want to learn LAMPP
[19:00] <Italian_Plumber> still,when I try to run e2fsck, it says it's busy even though it's not mounted: http://pastebin.com/m22f7da7d
[19:09] <Italian_Plumber> du is disk usage, df is disk free.  You have 2.8G in use and 3.9G free.
[19:09] <Italian_Plumber> du only does the directory that your'e in, or specify
[19:16] <patdk-lap> Italian_Plumber, please read then first :)
[19:16] <patdk-lap> I gave you the du command, it clearly shows I did the root directory
[19:16] <patdk-lap> Filesystem            Size  Used Avail Use% Mounted on
[19:16] <patdk-lap> /dev/mapper/VolGroup00-LogVol00
[19:16] <patdk-lap>                       5.3G  3.9G  1.2G  77% /
[19:17]  * patdk-lap wonders where that 3.9G free is
[19:18] <patdk-lap> and I ran du as root
[19:19] <qman__> patdk-lap, I suppose it's possible that you have files on your root filesystem that have been mounted over
[19:22] <patdk-lap> hmm, that I would believe
[19:22] <patdk-lap> but the system mout hasn't changed in 6months, unmount/mount/reboot
[19:22] <patdk-lap> but the disk usage just keeps going up
[19:24] <patdk-lap> umounted everything, and mountpoints are all empty
[19:30] <Italian_Plumber> that's nothing... look what I can do... http://pastebin.com/m3ab9ccf8
[19:30] <Italian_Plumber> I can still access data on an unmounted filesystem. :)
[19:59] <Italian_Plumber> what filesystem is it that can't do files over 4GB?
[20:00] <genii> FAT
[20:01] <patdk-lap> fat stops at 2gb
[20:01] <patdk-lap> ntfs goes over
[20:01] <genii> Ok, VFAT
[20:01] <patdk-lap> vfat stops at 2gb
[20:01] <patdk-lap> all FAT32 based :)
[20:01] <patdk-lap> I havent seen fat64
[20:02] <patdk-lap> ntfs goes >4gb
[20:02] <patdk-lap> ext2+ goes 16tb min
[20:05] <genii> As I understood 2Gb was limit with 512 byte sectors but with 1024 could be up to 4Gb
[20:06] <patdk-lap> when did they start making 1024byte sectors?
[20:06] <patdk-lap> some mo drives have 2k sectors
[20:07] <patdk-lap> you are talking cluster size
[20:07] <patdk-lap> and that just matters how much harddrive space you can use, not file space
[20:07] <patdk-lap> Max file size: 	4 GB minus 1 byte (or block size if smaller)
[20:08] <patdk-lap> max drive size is 2tb, (8tb using 32k blocks, 16tb using 64k blocks)
[20:08] <patdk-lap> I guess it does get close to 4tb
[20:09] <patdk-lap> I always had bad results going >2gb on fat
[20:11] <patdk-lap> ah, exfat = fat64
[20:12] <kirkland> mathiaz: yo, my ubu-dev-week session is over
[20:12] <mathiaz> kirkland: mine too! (well that was 2 days ago)
[20:16] <kjele> Hi kirkland
[20:17] <kjele> I tried kvm but my mouse scrolling does not work. using the testdrive command. Do you know how to enable it?
[20:22] <kjele> kirkland: Are you there?
[20:32] <kirkland> kjele: mostly here, on the phone atm
[21:21] <uvirtbot`> New bug: #513135 in mysql-dfsg-5.1 (main) "MySQL logrotate script returns with error when server isn't running" [Low,Confirmed] https://launchpad.net/bugs/513135
[21:29] <kirkland> mathiaz: hrm, i'm not able to get to my CLC on 8443 from today's package
[21:29] <kirkland> mathiaz: can you confirm that you are able to?
[21:29] <mathiaz> kirkland: I haven't got that far yet
[21:56] <magic_1> hi guys, any one here with experiencing in getting dansgaurdian working
[22:56] <uvirtbot`> New bug: #513509 in ntp (main) "ntp help manual should mention time slewing" [Undecided,Confirmed] https://launchpad.net/bugs/513509
[23:38] <kirkland> zul: howdy
[23:38] <kirkland> zul: i can't get the patch in https://bugs.edge.launchpad.net/ubuntu/+source/linux/+bug/496661 to open
[23:38] <uvirtbot`> Launchpad bug 496661 in linux "Kaspersky AV does not install under qemu-kvm windows installation" [Undecided,New]
[23:40] <kirkland> zul: hrm, looks like it might be a bug in my firefox
[23:46] <uvirtbot`> New bug: #512259 in qemu-kvm (main) "lucid qemu: could not open disk image" [Low,Incomplete] https://launchpad.net/bugs/512259