[00:57] if i do a network boot would i be able to install a copy of natty via internet.... PC is headless, no cd, no floppy.... ya it has usb but the bios only supports usb drives such as floppy-cd [01:03] hey all [01:07] i have ubuntu 8.04.4 with python 2.5.2. How should I go about installing python 2.7? I am aware that I will need to have both 2.5.2 and 2.7 exist on the machine === G_ is now known as G [01:37] RoAkSoAx: https://code.launchpad.net/~gandelman-a/ensemble/fqdn-fix <- this is small and adds the cobbler system name to cloud-inits metadata, which'll do the trick for now [01:37] RoAkSoAx: i lost my scrollback of what you and smoser were pondering, so this is probably a hack until that gets done. but i believe it'll get us going in the meantime === kentb is now known as kentb-out [02:10] can someone help me setup a network boot ? ugh frusterating ? [02:10] i have ubuntu 8.04.4 with python 2.5.2. How should I go about installing python 2.7? I am aware that I will need to have both 2.5.2 and 2.7 exist on the machine [02:26] Hi guys. Can anyone recommend a good replacement for AD? We're using Apple's open directory at the moment, but we want LDAP for auth and Kerberos for network shares( with samba) that supports OS X, Ubuntu Workstations, and Windows 7 workstations [02:26] samba itself [02:28] dominicdinada: do you have any examples or doc I can use as a reference? [02:28] I know how to use LDAP (I'm a java dev) and kerberos, but I'm not sure how to hook it all up as a service on a domain every computer can join [02:29] toddnine: https://help.ubuntu.com [02:29] atm i am working on something === almaisan-away is now known as al-maisan [02:46] Network Authentication? [02:46] https://help.ubuntu.com/11.04/serverguide/C/index.html [02:48] Also, are there any pre-canned utilities to sync using the google sync tools for app customers? === al-maisan is now known as almaisan-away === almaisan-away is now known as al-maisan === al-maisan is now known as almaisan-away [04:09] how to recover ssh on my server ? [04:10] how to disable screen saver on my server ? [04:28] how do you *loose* ssh? [04:30] looking to get the mod_shared_roster_ldap installed on lucid server [04:31] patdk-lap: ssh localhost on server is fine. ssh server-ip on server is fine. but from other computer using ssh client is not ok [04:31] patdk-lap: after one unproper shutdown or forced shutdown or power loss , i found that the next day [04:38] New bug: #849672 in libvirt (main) "make libvirt trivial to backport to lucid" [Undecided,New] https://launchpad.net/bugs/849672 [05:01] New bug: #849682 in postfix (main) "package postfix 2.8.2-1ubuntu2.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 75" [Undecided,New] https://launchpad.net/bugs/849682 === maxb_ is now known as maxb [06:06] ok [06:07] can someone help me figure out why i cant use 'freedns' as a protocol in ddclient? [06:07] it says [06:07] WARNING: file /etc/ddclient.conf, line 5: Invalid Value for keyword 'protocol' = 'freedns' === popey_ is now known as popey === ttx` is now known as ttx === mendel__ is now known as mendel_ [07:15] stiv2k: Check the protocl names listed in /usr/share/doc/ddclient/README.gz -- are you sure your version of ddclient supports a protocol called freedns ? [07:17] jmarsden: i guess it doesn't, but googling suggests that >3.8.0 supports freedns [07:17] so im a little confused on that [07:18] i've been a zoneedit user for years and i'm getting sick of them constantly reducing the number of free features [07:18] Are you confusing a dynamic DNs provider name with a dynamic DNS protocol name? [07:18] jmarsden: what [07:19] no [07:19] well, zoneedit and freedns are both provider names [07:19] freedns uses their own protocol iirc [07:29] stiv2k: You can see what protocols ddclient works with by doing fgrep '=> {' ddclient |sed -e 's/ => {//' [07:29] Or just read the Perl code :) [07:30] Make that fgrep '=> {' /usr/sbin/ddclient |sed -e 's/ => {//' [08:21] I'm recovering my ext4 partition with e2fsck -b block_number /dev/sdxx but after mount it has no file/folder inside mount point [08:21] but `df` command show it is used 68% :( [08:21] Could anyone help me to solve this? please! [08:22] I'm using Ubuntu Server 10.04.3 amd64 [08:22] Tried almost superblock backup but no luck [08:25] I can't get php5 to work on my server. >.< === lool- is now known as lool [08:31] tiger2wander: Have you checked if there's any LOST+FOUND folder where everything's stacked into? [08:32] not yet, I keeping not touch anything until got more information [08:33] that's wise [08:33] before use e2fsck -b I was made a mistaken that act mkfsck -b (after run mkfsck -n to find superblock)instead e2fsck [08:34] php5 isn't processing, edditing the httpd.conf file in apache2 is blank, I'm new to linux and lost at this. >.> [08:34] so that partition got formated as Ext2 :( [08:34] I think Journal meta data was cleared by that command, right? [08:36] just checked lost+found folder and see there are many file with prefix as # [08:36] so how can I recovery from lost+found? [08:37] >.> [08:38] Gooooooooooooood Day people. [08:38] CluelessPerson, what's version of Ubuntu running on your server? [08:39] tiger2wander, 11.04 [08:39] tiger2wander, I believe. Also, I screwed up the configurations for apache2 and completely reinstalled that. [08:39] but that works now, just not the php [08:41] did you forget to install package: libapache2-mod-php? [08:42] tiger2wander, .. >.> most likely. [08:42] here I go [08:43] tiger2wander, alright, that installed, but I got several errors [08:44] tiger2wander, Syntax error on line 6 of /etc/apache2/httpd.conf: Cannot load /etc/apache2/modules/mod_php.so into server: /etc/apache2/modules/mod_php.so: cannot open shared object file: No such file or directory [08:47] tiger2wander, Ah, works now. [08:47] tiger2wander, Thank you very much. [08:47] tiger2wander, checking with php.info() [08:48] tiger2wander, Thank you very much. Everything works. :D [08:50] CluelessPerson, you are welcome :) [08:50] tiger2wander, How does it feel to be very helpful? === klaas_ is now known as klaas [09:04] CluelessPerson, what's thing you are asking for? [09:08] tiger2wander, How does it feel to be very helpful? [10:06] Daviey: would you be OK to sponsor a Jenkins upload for me later today - latest LTS bugfix release came out yesterday (does not need a FFE) [10:07] jamespage: Maybe.. what is it worth? [10:43] Daviey: hrm - or maybe not - pulls in a new dependency to fix a bug which we don't have packaged. [10:48] jamespage: grr [10:49] Daviey: I may just patch that out - the feature that uses it is borked in the current version so may be better to remove than get lots of bug reports. [10:49] jamespage: check to see if it's worth the effort at this stage to start making changes. [10:51] Daviey: think its minimal effort - just looking now [10:53] Daviey: or maybe not - going to leave as is [10:54] jamespage: ok :( [10:56] Daviey: :-( [11:07] New bug: #849871 in squid (main) "package squid 2.7.STABLE7-1ubuntu12.4 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/849871 [11:42] New bug: #849893 in mailman (main) "package mailman 1:2.1.14-1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/849893 [11:58] jamespage: I just thought, it needs a minimal deb and a udeb, otherwise at build time - it's still going to link against the bloated library. [11:59] Daviey: specifically which library are you using in the install? [11:59] sorry - udeb [12:00] jamespage: libxmlprpc-core-c3-0, that pastebin i gave you, i went back one too many rev's [12:00] Yep - got that [12:01] jamespage: dang, it would be so much easier to just build this from a seperate source package, but not ideal. [12:04] jamespage: http://pb.daviey.com/GdAD/ , is a start. [12:08] anyway - eat then scratch head [12:08] * jamespage lunch [12:12] Is there a beta1 server iso image? [12:12] I can't find one on cdimage [12:15] rbasak: http://releases.ubuntu.com/oneiric/ [12:15] Thanks Daviey. I think I'm still as lost as ever! [12:16] heh :) [12:45] Hi, is there a way to scan port 25 to see if php sends emails? [12:47] Daviey: I don't think you can strip down the udeb any further [12:47] if you don't use one of libwww or libcurl - you don't get a client [12:48] and the other disable options are for other parts of the syse, [12:48] tanathos: yes, use a packet sniffer like tcpdump [12:48] all of those other deps are pulled in by libcurl [12:48] * jamespage goes to take a look there [12:48] thanks [12:48] tanathos, normally php doesn't send email via port 25, unless you programmed in smtp support yourself [12:49] jamespage: ah! === almaisan-away is now known as al-maisan [12:52] Daviey: which is a good example of how to build multiple versions of the same source code BTW [12:54] Daviey, jamespage: udebs? I hope we're not still talking about Jenkins? :) [12:55] now there is a thought.... [12:55] Otherwise, what are you smoking^Wup to? === al-maisan is now known as almaisan-away [12:55] * jamespage wonders whether libwww might be lighted on deps [12:55] What's it for? [12:56] its for the cobbler/orchestra hardware discovery/registration tool which runs from the installer [12:56] we need a udeb for xmlrpc-c to chat with cobbler [12:57] but ATM it uses libcurl3 which pulls in a load of other dependencies [12:57] New bug: #849943 in bacula (main) "package bacula-director-mysql (not installed) failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/849943 [12:57] ewwww [12:57] jamespage: Can't you fake it with straight curl or wget? === arreyder_ is now known as arreyder [12:58] soren: not sure - Daviey did you look at doing that first? ^^ [12:58] * soren does not quite remember how complex Cobbler's RPC protocol is [12:58] soren: generating xml via curl / wget isn't going to be clean [12:59] Yes? You're not making a very convincing argument. :) [12:59] using a token etc.. sure it's possible [12:59] The cleaner solution seemed to be to use a C library for this :) [13:00] soren: http://bazaar.launchpad.net/~davewalker/+junk/cobbler-enroll/files/6 [13:02] my eyes they burn [13:11] Daviey: I think building a stripped down udeb for libcurl might be possible [13:14] jamespage: rocking, but unless i am mistaken it needs a libcurl3-minimal*.(deb,udeb) ; to build against aswell. [13:15] yep [13:19] soren: Fancy fixing nova/test.py to support skip'ing of classes? :) [13:19] it should be supported via unittest, but nova is hiding that functionality. [13:25] Daviey: i think soren has gone afk [13:26] bah === cloakable_ is now known as cloakable [13:51] smoser: ping [13:52] RoAkSoAx, yo. [13:52] i was looking for you. [13:52] :) [13:52] so where do we stand? i dont particularly like the "manage-etc-hosts". [13:53] i'd like the meta-data solution (populated by cobbler), or, save that, i think we could do a better job of getting a default hostname in cloud-init by explicitly parsing /etc/hosts. [13:53] (as the installer will have, i think, written an entry in /etc/hosts with what you give it for hostname) [13:53] smoser: ok... but I was testing [13:54] yeah, thats fine. [13:54] and what did you find ? [13:54] smoser: and if we set a --hostname for a system (machine.domain.com) then the hostname and domain name are passed as kernel arguments [13:54] smoser: however, in the cloud init fix, you only fixed for hostname [13:54] well, thats because domain name is non-determinable [13:54] smoser: that's why cloud-init keeps putting the domain name as ubuntudomian (or whatever cloud-init puts there) [13:55] localdomain. [13:55] the reason i booted on domainname is because the only thing i knew at the time to get it was running 'hostname -f' [13:55] smoser: right, but if we tell cloud init to *not* set the domain when it is not passed on the config (as done with the hostname), then cobbler will automatically set the hostname [13:55] which explicitly says in the man page, DO NOT RELY ON THIS [13:56] right. and that will work. i agree. [13:56] but i think we have the chance to make cobbler look more like ec2, and i think we should take that chance. [13:57] smoser: yeah we have the chance, but IMHO, we should make cobbler set the domain name either way [13:57] the problem we're trying to solve, though, that ensemble scripts use 'hostname -f' a lot, is really a problem. [13:57] if you've not read that man page, you shoudl read it, basically thats a bad idea. [13:57] :) [13:57] smoser: hehe yeah I read [13:58] smoser: but my point being is that regardless what type of integration we decide to do with cobbler, we should make sure that cobbler is able to set the domain name regardless of whether we are using cloud init or not, so that means, cloud init should not be changing the domain that's passed thru the kernel [13:59] cobbler should be able to set the domain name, yes, and apparently it can. so i have a hard time arguing with your point, and thus the solution of 'manage-etc-hosts' [14:00] i assume that in /etc/hosts of a provisioned system you have an entry for [14:01] 127.0.1.1 [14:01] right? [14:02] actually, its probably : 127.0.1.1 [14:02] smoser: right, the domain is passed thru the kernel on the PXE file... which is the similar case as what happened with bug #838280 we just need to make sure that cloud-init doesn't change the hostname [14:02] Launchpad bug 838280 in cloud-init "Cloud-init overwriting hostname given to kernel on baremetal" [Medium,Fix released] https://launchpad.net/bugs/838280 [14:02] smoser: let me check [14:03] What should the permissions/ownership of /var/lib/libvirt/qemu/? I think I've screwed mine up. [14:03] $ ls -l /var/lib/libvirt/qemu -d [14:03] drwxr-xr-x 5 libvirt-qemu kvm 4096 2011-09-12 19:59 /var/lib/libvirt/qemu [14:04] Hmm, that's what I have [14:04] I ran out of room in /var [14:04] So I moved /var/lib/libvirt to /home [14:04] And symlinked it [14:04] (stopping libvirt-bin and restarting it after) [14:04] lxc ? [14:04] But now I'm getting permission issues with sockets not able to be created in /var/lib/libvirt/qemu [14:04] No just kvm [14:04] no. duh. kvm. [14:04] hm.. [14:04] (using libvirt) [14:05] i've seen other issues (lxc) with libvirt not liking symlinks [14:05] oh [14:05] i know why. i think [14:05] it might be app armor related [14:05] Ah [14:06] Yes, there's stuff in /etc/apparmor.d/libvirt [14:06] (that refers to the old paths) [14:06] q/win 3 [14:06] errr [14:09] RoAkSoAx, /etc/hosts ? [14:10] It looks like libvirt dynamically configures those files, and there's no configuration variable to set the path [14:10] So I might be stuck :-/ [14:11] * rbasak never expected to put virtual machines in /var [14:11] (they belong to me, not the system!) [14:12] rbasak: repossession of your /home. [14:12] smoser: re-deploying a system. will take ~5 minutes [14:13] hello [14:13] I have a problem to receive mails truth my Ubuntu server [14:14] # /usr/bin/mailq [14:14] mailq: fatal: bad string length 0 < 1: myhostname = [14:14] why I have this error please? [14:14] Daviey: :) [14:14] when applying policy, apparmor resolves the symlinks. the that apparmor driver in libvirt uses realpath to avoid this problem [14:14] I have read and apply this tutorial http://www.howtoforge.com/perfect-server-ubuntu-11.04-ispconfig-3-p6 [14:15] you should look in /var/log/kern.log, dmesg or /var/log/audit/audit.log (if you have auditd installed) to see if you are getting apparmor denials. if not, then apparmor shouldn't be the problem [14:16] Hello, [14:16] jdstrand: thanks, I'm getting stuff like type=1400 audit(1316008945.990:24114291): apparmor="DENIED" operation="mknod" parent=1 profile="libvirt-32560cff-6b32-f675-d7cf-ba096875473e" name="/home/libvirt/qemu/oneiric-b1-test.monitor" pid=25261 comm="kvm" requested_mask="c" denied_mask="c" fsuid=133 ouid=133 [14:17] right-- so that is the monitor file [14:17] yeah, they all seem to be [14:17] For pre-existing machines it can't bind to the socket [14:17] For new machines it can't create the socket [14:17] (as opposed to the disk, which uses realpath) [14:17] (incidentally, I see no socket) [14:18] yes, you won't see the socket because apparmor stopped it [14:18] * jdstrand looks at something [14:18] I seem to be having a problem with bonding in Ubuntu Server 11.04. I was able to get two NICs bonded, but every time I reboot the machine one of the NICs goes into 100mbit mode (they are supposed to be gig) [14:20] rbasak: right, so that path is hard-coded by the monitor. moving all of /var/lib/libvirt somewhere else could cause a number of issues [14:20] * Daviey wonders if the thing jdstrand has turned to look at, is the same thing that is concerning me. [14:21] s/by the/for the/ [14:21] Daviey: it isn't. I am waiting for kees to come online [14:21] RoAkSoAx, ... actually, platform.node() seems to be doing what i would have been doing. [14:21] iggi_: Are they different chipsets? [14:21] jdstrand: OK, thanks. It sounds like I can just move the images and symlink those, or if not I'll work around it. Thanks! [14:21] rbasak: all you should really *have* to move is the /var/lib/libvirt/images directory [14:21] Jeeves_, Nope, both are the same and both are onboard [14:22] jdstrand: yep, I'm with you [14:22] iggi_: But to different switches? [14:22] err.. ug. i cant tell now. [14:22] Jeeves_, both to the same switch, the swithc shows gig capability and auto negotiation on the port, but only 100mbit speed [14:22] but sometimes it will give a fqdn. [14:23] iggi_: And if you switch the cables? [14:23] rbasak: that said, if you must move everything, you can adjust /etc/apparmor.d/abstractions/libvirt-qemu for your paths. you are also allowed to edit the /etc/apparmor.d/libvirt/libvirt- file [14:23] Jeeves_, that does pose a problem, since its an offsite machine, but it looks like that might be the next course of action [14:24] rbasak: the /etc/apparmor.d/libvirt/libvirt- file is autogenerated only if it doesn't exist [14:24] so... i await access to your fresh installed box [14:24] rbasak: but don't edit /etc/apparmor.d/libvirt/libvirt-.files cause it is dynamically generated on vm start [14:24] iggi_: That's all I can think of, really [14:25] rbasak: so that is a lot of info! :) I recommend putting everything back in /var/lib/libvirt, then adjusting your domain xml to put the disks wherever you want [14:25] jdstrand: that's useful to know, thanks. Although I don't see any mentions of /var/lib/libvirt in /etc/apparmor.d/abstractions/libvirt-qemu, but moving everything but the images back seems to have worked [14:25] smoser: ok so /etc/hosts sets 127.0.0.1 fqdn hostname [14:25] smoser: and /etc/hostname is just hostname [14:25] (so I've symlinked /var/lib/libvirt/images -> /home/libvirt/images but not touched the other directories) [14:26] RoAkSoAx, right it will always be. [14:26] rbasak: no, there is no mention of /var/lib/libvirt in /etc/apparmor.d/abstractions/libvirt-qemu. that is because the libvirt driver dynamically adds the monitor for that machine to the dynamic profile [14:26] so, i think cloud-inti could do a better job of falling back and not requiring network. [14:27] smoser: right, yes, I believe we should still go ahead with your suggestion on doing it throuhg ensemble/cobbler for cloud-init [14:27] smoser: however, we also need to make sure that cloud-init does not change what the kernel parameter is specifying [14:27] Jeeves_, I think you are right, looks like the link is bouncing, must be a bad cable. [14:28] RoAkSoAx, i just don't like "kernel parameter is specifying" [14:28] :) [14:28] it makes it sound like there is a setting somewhere explicitly for fqdn [14:28] when there is not. [14:28] smoser: there's a jhostname and a domain settings though [14:29] what do you mean by domain settings ? [14:30] smoser append initrd=/images/oneiric-3-i386/initrd.gz locale= locale=en_US text priority=critical auto url=http://192.168.123.2/cblr/svc/op/ks/system/node03 hostname=node03 domain=domain.com suite=oneiric [14:30] hm.. i didn't realize that 'domain' would be specific. i thought you were just appending to hostname. [14:30] http://paste.ubuntu.com/689237/ is what i think is reasonable to read /etc/hosts as a fallback. [14:30] smoser: nope, that's why I was saying, cloud-init needs to respect that [14:31] well, its not *that* is what i disagree with [14:31] Now if only I could get the BIOS to PXE boot. It seems to be ignoring the boot options :-/ [14:31] cloud-init doesn't ever see *that* [14:31] smoser: I agree, but yet again, it should not change it [14:31] in this specific situation, it would be ok to call 'hostname -f' [14:32] but what i don't like about that is the randomness. so i think i just parse /etc/hosts to avoid hostname doing network operations if it would [14:33] smoser: right, but that's why I'm saying, we can still use your approach to ensure that things are set correctly, but cloud-init should still respect what's passed to the kernel if no domain option has been passed to cloud-init [14:34] rbasak: failing that, you could use ipxe on non-arm hardware [14:34] Daviey: I'm starting off trying to get cobbler to build me an i386 server inside kvm [14:34] Daviey: (so I can find my way around cobbler and know it works) [14:36] rbasak: sounds wise [14:37] rbasak: RoAkSoAx is the king for that [14:37] smoser might have done it aswell. [14:38] and smoser probably did it without using sudo. [14:38] well, i did it with being in libvirtd [14:38] and libvirtd group == root [14:38] so, it doesn't count. [14:39] rbasak, if you just want to play with cobbler.... [14:39] * RoAkSoAx will brb [14:39] cobbler-devenv is reasonable as a place to look at a working setup. [14:39] I seem to have broken it beyond where I was now. "Error starting domain: operation failed: failed to retrieve chardev info in qemu with 'info chardev'" [14:39] smoser: I added myself to libvirtd [14:39] rbasak, that is coming from libvirt ? that error ? [14:40] smoser: Yes. I don't think I changed anything. I've only been fiddling with the BIOS boot options in the guest [14:40] * rbasak has tried restarting libvirt-bin [14:41] rbasak, i [14:41] i'm not sure what is going wrong. is libvirt actually trying to start qemu/kvm ? [14:41] you should get a kvm.log somewhere from libvirt that might have some info [14:43] aha [14:43] kvm: -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:bc:56:31,bus=pci.0,addr=0x3: pci_add_option_rom: failed to find romfile "pxe-virtio.bin" [14:43] So I did actually persuade it to pxe boot :) [14:43] Daviey: I think this is just about as small as I can make it: http://paste.ubuntu.com/689248/ [14:44] jamespage: that is ldd of cobbler-enrol ? [14:44] * rbasak installs kvm-pxe [14:44] rbasak: nooooooo [14:44] rbasak: use ipxe [14:44] * rbasak purges kvm-pxe! [14:44] Daviey: nope - thats libcurl [14:45] jamespage: ok, rocking - thanks! [14:45] so we would need udeb's for curl,xmlrpc-c, and libidn [14:45] Actually that didn't help anyway, same problem. I suspect that a missing rom might be why it wasn't doing the booting but I think my info chardev error is a separate issue [14:45] * rbasak investigates further [14:45] feels really messy tho. [14:47] jamespage: if it compiles, shit it - is my mantra. [14:47] erm, ship it. [14:47] jamespage: really odd that we /need/ libidn.. :/ [14:48] difficult bit is how to make xmlrpc-c use the right version of libcurl - i.e. minimal [14:48] otherwise we disable xmlrpc over a load of other protocols [14:48] bah [14:49] jamespage: libcurl isn't installed by default.. so if there is a new binary package, there is no impact. [14:49] not sure I understand - or maybe phrased my concern correctly [14:50] jamespage: Hmm. I understood your concern to be, if both variants, fat and thin are installed concurrently? [14:50] that can't (or mustn't) happen [14:51] Conflicts :) [14:52] Daviey: lemme just gather my thoughts [14:53] This is not specific to the Server version, but has more impact on Server : Does someone knows why makedumpfile has become dynamically linked b/w Maverick and Natty ? [14:53] This renders kdump totally useless in Natty & Oneiric [14:57] Daviey: so xmlrpc-c Build-Deps on libcurl3-openssl-dev [14:59] We are proposing a libcurl3-minimal-dev + others; but thats pretty ugly for xmlrpc-c as switching the dependency will reduce what it can do? [14:59] jamespage: Ah [14:59] i see what you mean [14:59] well at least I think thats the case [15:00] I guess we could have another source package to build xmlrpc-c and hold two in the archive -one to provide the udeb [15:00] and one as its [15:00] /its/is/ [15:00] or we could do the udebs for the normal version of curl [15:03] udebs for the nomral version oulls in ldap and kerbos, no? [15:06] yes [15:10] Daviey: yo! what's up with the ARM netbook for rbasak? [15:11] robbiew: I posted him the pandaboard, as that seemed more appropriate. [15:11] robbiew: I thought we did dicuss this? [15:11] we did...I though both was being sent...no big deal...I just knew you used yours for a picture frame [15:11] or something [15:11] lol [15:12] robbiew: hah.. no, that isn't true. [15:13] The netbook was more concerning to me, as i know it has my ssh and gpg key on it.. and i wasn't entirely sure just a rm was enough to stop rbasak retrieving it. [15:13] :) [15:13] :-P [15:25] RoAkSoAx, ok. so i think, this time for sure , that i have a good solution. [15:25] could you please try: http://paste.ubuntu.com/689276/ [15:25] just run that on your installed node [15:26] and it should basically give the same thing as 'hostname -f' but without consulting dns [15:26] Daviey: think I can get rig of IDN as well [15:27] rig/rid [15:27] typing bad today [15:27] jamespage: Oh goody [15:27] Daviey: still think we will need a xmlrpc-minimal source package tho [15:29] jamespage: I think you might be right :/ [15:29] smoser: ping [15:29] lynxman, here. [15:34] smoser: conference call at the moment [15:35] smoser: where will that go? [15:35] into cloud-init. then it will fall back to using that if no local-hosname [15:35] ok cool === almaisan-away is now known as al-maisan === al-maisan is now known as almaisan-away [15:55] can anyone recommend some kind of web-based administration tool for an ubuntu-server? [15:55] something like webmin but not [15:55] because webmin is evil [15:59] !ebox [15:59] zentyal is a web-based GUI interface for administering a server. It is designed to work with Ubuntu/Debian style configuration management. See https://help.ubuntu.com/community/Zentyal (Project formally known as eBox - including in Lucid/10.04). [16:00] TheEvilPhoenix: Try Zentyal... but the real answer is to learn to admin a server using SSH and a shell :) [16:17] jmarsden: indeed, which I know how yo do. I still want the actual GUI part (for quick tasks for which initiating an entire SSH connection isnt worth it) === lullabud is now known as warzauwynn === almaisan-away is now known as al-maisan [16:23] SpamapS: yo...so I can defer this, right? -> https://blueprints.launchpad.net/ubuntu/+spec/server-o-postfix-enhancements [16:24] How do I point kvm/libvirt at an ipxe rom? I can see /usr/share/qemu/pxe-virtio.rom but no idea how I'm supposed to add it [16:24] hallyn: I'm thinking this can be punted to P with possibly tyler helping? -> https://blueprints.launchpad.net/ubuntu/+spec/server-o-ecryptfs-testsuite [16:24] robbiew: I suppose so. [16:24] * robbiew pulls his leg back...and punts! [16:25] * SpamapS admires the hangtime [16:25] It does seem as if I have /usr/share/qemu/pxe-virtio.rom but qemu is looking for /usr/share/qemu/pxe-virtio.bin [16:26] robbiew: sounds good to me [16:26] hallyn: cool, thx [16:27] rbasak: can you (a) switch to ipxe for the moment, and (b) file a bug for kvm-pxe? [16:27] Aha! "ln -s pxe-virtio.rom pxe-virtio.bin" in /usr/share/qemu fixed it [16:27] rbasak: qemu recently switched [16:27] rbasak: kvm-pxe didn't get updated bc it's deprecated [16:28] but we should updated it of course until it gets removed (even though it's in universe) or switched to using ipxe sources === al-maisan is now known as almaisan-away [16:28] hallyn: I'm using ipxe; dpkg -S /usr/share/qemu/pxe-virtio.rom reports it's owned by ipxe [16:28] rbasak: oneiric? [16:28] that should have been updated [16:29] hallyn: yes oneiric, ipxe 1.0.0+git-2.149b50-1ubuntu1 which seems to the latest that rmadison sees [16:29] * hallyn looking [16:30] d'oh! I thought Daviey had pushed that debdiff for ipxe [16:30] hm, he did [16:30] * Daviey wonders if he is in trouble [16:30] Shall I leave it with you? The symlink will do me for now. [16:31] (or would you like a bug?) [16:31] rbasak: please do file a bug if you don't mind [16:31] hallyn: What is the problem? [16:31] Daviey: ipxe drops in /usr/share/qemu/pxe-virtio.rom but qemu is looking for /usr/share/qemu/pxe-virtio.bin [16:32] Daviey: I think I got confused with the .bin vs .rom . Was it only qemu 0.15 that switches? [16:32] rbasak: so, I successfully booted the OMAP kernel into qemu [16:32] utlemming: cool! [16:33] rbasak: I'm thinking that by tomorrow or Friday, we should qemu-able images being generated daily [16:33] rbasak: I have a repeatable way of generating the disk format which includes uboot, etc [16:33] utlemming: excellent! === mendel__ is now known as mendel_ [16:33] Daviey: yeah, so ipxe/debian/ipxe.links needs to switch back to being .bin not .rom for all [16:34] rbasak: my problem is that I was using the OMAP4 uboot instead of the OMAP3, which was causing the kernel to be loaded in the wrong memory address space [16:34] unless we quickly push qemu 0.15 :) [16:36] hallyn: Having smoke 0.15, i wouldn't block that - but you need to be able to handle any technical issues that might arise. [16:36] As in, do you have enough capacity? [16:36] Daviey: we trust that upgrades will be coherent, and only have *.bin, [16:36] Daviey: or should ipxe just create both *.bin and *.rom? [16:37] Daviey: well, as I've said, I was using it for weeks on my laptop with no issues, so I'm pretty confident. But no I don't have much spare time if things go kerblooy [16:37] hallyn: https://bugs.launchpad.net/ubuntu/+source/ipxe/+bug/850154 [16:38] Launchpad bug 850154 in ipxe "qemu cannot find ipxe roms" [Undecided,New] [16:38] hallyn: yeah, i was using it the other day - and it 'seemed' to work for me ok.. but yes, the kicker is the fallout. [16:38] hallyn: you might as well symlink them during a transition period so both *.bin and *.rom work I suppose. [16:38] hallyn: hmm, do we need symlinks for both [16:38] ? [16:38] Daviey: http://people.canonical.com/~serge/ipxe-bin.debdiff [16:39] no, we only need symlinks for one or the other. [16:39] rbasak: thanks [16:39] smoser: Have you sponsored a package yet? [16:40] he sponsored one for me :) [16:40] libcgroup iirc [16:40] hallyn: you should be able to do your own signing :) [16:41] hallyn: did you miss off the # for the bug closure on purpose? [16:42] Daviey: oh, no. I had it as '######' until rbasak hadned his bug over, then i converted it badly :) [16:42] Daviey: i'm still waiting for pkg to build for a test, just to make sure [16:42] k [16:42] i don't know wtf is going on with my apt-cache. slow right now [16:42] oh, maybe it got corrupted with my unscheduled poweroff [16:44] * rbasak pulled the power on his laptop this morning. With no battery inserted :-/ [16:45] all i can figure is mine got too hot [16:46] Daviey: updated http://people.canonical.com/~serge/ipxe-bin.debdiff . tested, works fine [16:46] Daviey: don't know what you want with 'my own signing'. Of course I signed it, but debdiff doesn't carry that... [16:51] hallyn: sorry, i mean sign and dput :) [16:51] (signing a package that you are not uploading seems overkill anyway :) [16:51] smoser: Fancy reviewing and sponsoring hallyn's debdiff? [16:52] Daviey: you think I have upload rights to that??? [16:53] oksurefine [16:53] hallyn: no, but you /should/ have upload access. [16:54] hallyn: incidently, you do have upload access to etherboot :/ [16:55] yes but it is obsolete :) [16:55] Daviey: yes, i'll try to get on the schedule for server upload rights in the next 2-3 weeks [17:05] hallyn: cool. [17:06] * Daviey afk's [17:06] * koolhead17 is singing juju juju juju !!! [17:10] black juju? [17:11] !offtopic [17:11] #ubuntu is the Ubuntu support channel, for all Ubuntu-related support questions. Please use #ubuntu-offtopic for other topics (though our !guidelines apply there too). Thanks! [17:19] TheEvilPhoenix, juju is totally ontopic :) [17:20] Ursinha: +1 [17:21] * koolhead17 looks at TheEvilPhoenix [17:21] if you don't know, you might! :) -> juju.ubuntu.com [17:21] http://twitter.com/#!/Canonical/status/113985182066937856 [17:22] hehehe Ursinha :) when did this happen? and is channel name changed too? [17:22] koolhead17, happened today, it seems :) [17:22] the channel question I don't know [17:23] koolhead17, #juju has server people in it, #ensemble is empty, so I guess it's a yes :) [17:23] Ursinha: am allready there :D [17:24] anyone here think it's a decent idea, to store logfiles on a seperate server? every once in a while, my logfiles fill up my filesystem.... [17:24] I have a virtualized environment, and 20 VM's... [17:24] I could start a log server, and nfsmount the logdir to the log server... ? [17:25] talntid, well... I'd rsync the logs every once in a while [17:25] might be safer [17:25] write locally then copy over [17:26] problem is, they have the ability to fill the filesystem pretty quickly.. [17:27] from yesterday to today, i got 6.8gb of logs. [17:27] talntid: a log server is an old concept, you configure each log source by pointing it to the server [17:27] on just my webserver [17:27] talntid: you don't mount anything, it's built in to the log system [17:27] I seem to have debian-installer exiting immediately and stuck in a loop because init keeps restarting it. Using a preseed file via cobbler. Is this likely to be a problem with my preseed? [17:27] pmatulis, how is that? [17:27] cool [17:27] syslogd? [17:28] talntid: we use rsyslog for a while now [17:28] when an application (apache, for example) asks for a logdir.. doesn't it write directly there? [17:29] talntid: see for a starter: http://www.rsyslog.com/sending-messages-to-a-remote-syslog-server/ === almaisan-away is now known as al-maisan [17:30] talntid: apache is special, it has it's own logging system. maybe you can forward its messages too, i'm not sure === al-maisan is now known as almaisan-away [17:32] talntid: rsyslog is pretty powerful for remote logging, you can drop low priority messages if there are too many to handle, for instance [17:32] talntid: can also go directly into a d/b like mysql or postgresql [17:33] hmmm [17:33] the issue is never with the system logs... [17:33] always with apache or asterisk [17:35] talntid: well, asterisk should be an issue. as for apache: [17:35] http://www.google.com/search?client=ubuntu&channel=fs&q=rsyslog+remote+apache+logs&ie=utf-8&oe=utf-8 [17:35] *asterisk should not be... [17:36] roger that [17:40] No joy with the default cobbler preseed on beta 1 either :-( [17:52] rbasak: what is the issue [17:54] RoAkSoAx, bug 850206 [17:54] Launchpad bug 850206 in cloud-init "cloud-init should try harder to get domainname in fallback case" [Undecided,In progress] https://launchpad.net/bugs/850206 [17:55] koolhead17: I think the issue is that I'm booting a normal kernel inside kvm, so it can't find any disks. Is there a standard way to tell cobbler that I want the virtual kernel image? I can't seem to find anything other than a generic image in what cobbler has imported into /var/www/cobbler. [17:57] rbasak: https://help.ubuntu.com/community/Cobbler [17:57] koolhead17: I could be wrong, what I'm seeing is that debian-installer keeps dying and being restarted by init. [17:57] koolhead17: yeah I'm using that [17:58] so you have a profile ready with you and Vm on same network with boot from network enabled? [17:59] koolhead17: yes, and it pxe boots ok and goes into the installer [17:59] koolhead17: it's the preseed that seems to fail after that, at this stage debian-installer goes into a restart loop [18:00] (after the installer has downloaded udebs) [18:00] I think it's a partman issue [18:00] and /proc/partitions is empty [18:00] It's in kvm so I would expect to see a /dev/vda [18:01] rbasak: read the cobbler profile parameters your passing [18:01] and let pressed do auto partitioning [18:02] New bug: #850205 in lxc (main) "lxc-clone drops hostname" [Undecided,New] https://launchpad.net/bugs/850205 [18:02] New bug: #850206 in cloud-init "cloud-init should try harder to get domainname in fallback case" [Undecided,In progress] https://launchpad.net/bugs/850206 [18:03] or to be precise dont use pressed file for first VM see how installation is happening, if its going well then introduce preseed and play with it :) [18:27] smoser: cool,.t hanks! [18:34] Morning all. I want to spin up a Lucid AMI in EC2 and save the result of my work in EBS. I am confused because the list of AMIs on Canonical's website does not match what I see offered at amazon.com. [18:38] RoAkSoAx: if metadata is generated outside of the orchestra provider, where is it going to come from? [18:38] adam_g: meta-data is not really generated outside. It actually comes from the provider [18:39] RoAkSoAx: currently it does, but the plan is to gut that and only provide cobbler with the user data to parts of the ks late command, no? [18:39] Alison_Chaiken, can you elaborate on that ? [18:39] adam_g: it is not "really" as it grabs the UUID from cobbler and just creates the late command to pre-populate it [18:40] adam_g: yes, the idea is only to pass user-data in base64 and we will store that into a ksmeta variable, which will be used on a late_command [18:40] adam_g: and leave cobbler to provide the meta-data itself [18:41] RoAkSoAx: the uuid ends up as metadata in /var/lib/cloud/seed/nocloud-net [18:41] smoser, I want to run a build system on Lucid. I'm comparing https://console.aws.amazon.com/ec2/home?region=us-east-1#s=Images with "ebs/ubuntu-images/ubuntu-lucid-10.04-amd64" in the search box tohttp://cloud-images.ubuntu.com/lucid/20110913/ [18:41] adam_g: and the meta-data has the UUID of a system as instance-id [18:41] RoAkSoAx: ok, so thats my question.. where does the meta-data itself come from, if not from juju? [18:41] adam_g: meta-data only contains instance-id which *is* the UUID of a *cobbler* system [18:41] I was going to use the ubuntu.com site as a guide to pick the right AMI, but none of the ubuntu.com AMIs appear to be available from EC2 at the moment. [18:42] smoser: I was thinking on maybe also using a python module to obtain the meta-data, what do you think? (I'm already using an orchestra python module to do some stuff with keys I generate for rsyslog) [18:43] Filling the search box as I have lists 8 AMIs on EC2, and I can't figure out how to choose among them. [18:43] Alison_Chaiken, cloud.ubuntu.com/ami [18:43] The owner of all is 099720109477, which is Canonical? [18:44] Alison_Chaiken, choose the ebs ami in the region you want. [18:44] http://cloud-images.ubuntu.com/ami is 404 for me. [18:44] Alison_Chaiken, http://askubuntu.com/questions/53582/how-do-i-know-what-ubuntu-ami-to-launch-on-ec2/53586#53586 [18:44] So smw, all 8 are the same? [18:44] Thanks smoser, I'll look. [18:47] Alison_Chaiken, what about cloud.ubuntu.com/ami? [18:49] koolhead17: yeah, I was going to try and rip out the preseed next if I can figure out how (since the whole point of cobbler is to use one, it's there by default). I need to go now but I'll carry on tomorrow - thanks for your help! [18:51] Aha, ami-63be790a is on both ubuntu.com and EC2! Thanks you guys. [18:51] Alison_Chaiken, is it ebs backed? (can you make a micro instance?) [18:53] smw, this is my first use of EC2, and I don't know what a micro instance is. EBS-backed, apparently. [18:54] Alison_Chaiken, good. Many people start out without ebs-backed instances and it does not hurt them until much later. [18:56] "ebs" is in the image name, so as a n00b, I think it must be backed. [18:56] Alison_Chaiken, sounds good :-) [18:56] As soon as I finish my build, I'll stop the instance and make sure it's still there right away. [18:57] Alison_Chaiken, if you have the option to stop the instance it is the right one ;-) [18:57] hey all [19:00] hey all, i am looking for a simple to use means to view data bytes as they come in on a TCP socket. [19:02] adam_g: btw.. i'll be changing everything to juju as well [19:02] in the orchestra side of things [19:07] Daviey: kees and I talked. please see my comment in the bug [19:11] hello all, does anyone know if mdadm will allow a RAID5 array to be migrated to a RAID0 array, or would I need to recreate the array? [19:13] MasterRoot: recreate [19:13] RAID5 is nothing like RAID0 at the disk level [19:20] cloakable: I see, no problem. Thanks for confirming it for me :-) [19:21] smw, I've just been reading FAQ about "stop" vs. "terminate" and take your point. Thanks again for your *helpful* advice. [19:41] I'm still a bit puzzled by the security groups. Presumably the apt-gets I need to do are TCP, but what ports do I have to have open for them to work? [19:41] The security groups configures inbound access, so maybe closing all ports but ssh won't affect apt-get, as the request will be initiated inside the VM? [19:44] Alison_Chaiken, access to external systems from an ec2 host are always fine.. security groups are inbound traffic filters [19:45] Alison_Chaiken, you can get more help with Amazon specific stuff at #ubuntu-cloud and ##aws [19:46] Right hazmat, so my instance can always download files from other places, as long as it initiates the request it's considered "outbound"? [19:46] Thanks, smw. [19:46] Alison_Chaiken, yes.. assuming its external to ec2.. if its too another ec2 host, then the other host's security groups come into play [19:47] New bug: #850309 in libvirt (main) "libvirt fails to autostart VM attached to a bridged port" [Undecided,New] https://launchpad.net/bugs/850309 [19:50] Thanks hazmat. I'm going to launch! [20:12] hi all, I'm trying to migrate my NIS master to a new server. I was reading the section "Chaning NIS master servers" in O'Reilly's Managing NFS and NIS, but the instructions aren't working (they seem outdated). Any suggestions? === myrtti is now known as Myrtti === almaisan-away is now known as al-maisan [21:18] out of curiosity, I'm imagining it might be useful to have postgresql (or any database for that matter) running in the cloud where the data would reside in ebs. in such a case, should mounting, creating filesystem, configuring postgresql, etc. be handled by something like cloud-init and/or ensemble? [21:19] smoser: ^^^ === jjohansen is now known as jj-afk === fenris is now known as Guest31952 === Guest31952 is now known as ejat === kentb is now known as kentb-afk === al-maisan is now known as almaisan-away [23:05] hey has anybody got "sudo iptables -A OUTPUT -m owner --gid-owner fn -j DROP" to work? [23:14] exit