[00:02] hallyn: I think it should show now, the blueprint [00:03] Daviey, not yet, assume a script needs to re-run? [00:03] hallyn: cron [00:03] Daviey, yeah, netcf got into NEW - thanks ahs3! [00:03] hallyn: if it's not there in my morning, i'll dig deeper [00:04] next we need to sync it and then get it into main :) [00:04] Daviey, ok [00:04] hallyn: I think the issue with the blueprint is that, no series was set. [00:04] hallyn: If it happens to be in Debian tomorrow morning, i'll sync it over. [00:04] (unlikely, based on the size of the queue IMO) [00:05] right! [00:05] bed [00:05] night :) [00:16] hallyn: np :) [00:46] any way to shrink unused space in a qcow2 file? [00:47] truncate maybe? [00:51] osmosis: unused as in the guest's fs driver considers it unused? [00:51] Because obviously in that case it will still contain non-zero data [00:51] qcow2 file grew large, but the files have since been deleted from the ext3 partition. The qcow2 file already grew large though. I want to shrink it. [00:52] one way to do is to create a new qcow2 file and then copy everything across [00:52] osmosis: zerofree is the least worst thing [00:52] l0n: he'd need to provision a new fs on the new qcow2 from within the guest [00:52] thats a local utility to run on the ext3 partition? [00:52] osmosis: as far as the qcow2 layer is concerned that contains valid data that it can't delete [00:52] na create a new qcow2 file, attach to guest and then dd everything [00:53] l0n: dd will copy the unallocated but non-zero blocks, forcing qcow2 to allocate them [00:53] maybe i can use this: http://libguestfs.org/virt-resize.1.html [00:53] yeah ok true, in that case, use a new file but format it then copy manually [00:53] would have to dd bootsector [00:53] The *right* solution would be for qemu to allow the guest to signal that the blocks are no longer needed, i.e. an -o discard (ATA TRIM) behaviour [00:54] l0n: right re MBR/PBR area [00:54] http://mindref.blogspot.com/2011/07/shrink-qcow2.html says qemu-img convert -O qcow2 w2k3.qcow2 w2k3-shrinked.qcow2 [00:54] twb`, THAT would be cool [00:54] osmosis: I think that (the qemu-img convert line) will not be particularly helpful in your case [00:54] alternatively, apparently you fill the unused space with zeros then run 'qemu-img convert -c' which compresses it [00:54] twb`, even if I have the free space zero'd ? [00:55] Right, if you can zero the unused blocks, *then* make a new qcow2 using qemu-img, that should reduce its size [00:55] if im just going to make a new qcow2 and rsync the data over, i wouldnt even bother zeroing the old image. [00:55] However this will increase the host's file size to 100% of the provisioned size during that transition, not to mention the space for the new copy of the filesystem [00:56] osmosis: right if you're rsyncing the data over you don't need that, but you DO need to be careful not to lose data re e.g. the selinux context, the bootloader, hard links, sparse files, etc. etc. [00:57] rsync -PSHAVz works. Just need to make sure I get /boot parition, /dev /sys /proc setup correctly. [00:58] ugh, too bad I cant just run a 'shrink' cmd [00:58] maybe zero's the blocks is easier [01:00] osmosis: I don't have an easy answer, sorry [01:00] osmosis: good luck! [01:00] Thank you [01:33] Hi, I'd like to have the server stats that are displayed in my ubuntu server box on log in, also displayed in my desktop box. I'm guessing I could just copy some stuff in /etc/motd/ ? [01:34] Datz: /etc/motd.d or /etc/update-motd.d contains scripts that generate the motd in some whizzo magical fashion [01:34] * Datz likes magic [01:34] often times I can't reproduce magic though [01:34] Datz: IIRC byobu pulls in some good examples from some obscure non-obvious package like unattended-upgrades-common or something [01:35] humm [01:35] I have a grudge against update-motd because it was introduced very late in a Debian release cycle and broke things for me [01:35] double humm [01:37] well thanks twb`, I'll look into these things [01:37] Or you could just put it in ~/.profile or so [01:38] hey guys I am new to using 11.10 server had an old box with 8.04 for a while but decided to update the software with moving to a VM, for some reason I cant seem to get drupal happy with apache2 and I cant seem to find the location of the apache config files [01:39] maybe I'll just copy the output from my ubuntu-server and put it in motd.tail and pretend it's updating [01:39] dustin_: /etc/apache2/ [01:39] Datz: hehe [01:39] ty twb [01:47] twb`: any reason I wouldn't have such a dir /etc/motd.d/ on my ubuntu server? [01:47] Datz: because you haven't installed it [01:47] Look, you've forced me to do this [01:47] # dpkg -S /etc/update-motd.d/ ==> base-files, update-manager-core, update-notifier-common: /etc/update-motd.d [01:48] o_o [01:48] well thanks most helpful sir [01:48] # aptitude why update-notifier-common ==> i byobu Recommends update-notifier-common [01:48] 12:34 Datz: IIRC byobu pulls in some good examples from some obscure non-obvious package like unattended-upgrades-common or something [01:49] If you're talking about a different file that's on your desktop, use dpkg -S to find out what package provides it, then install that on your server [01:49] I now understand what you said! [01:49] OK :-) [01:49] thanks! [02:38] hey all. i thought there was some apt-get search tool but i can't find it [02:38] aptitude search leaves a lot to be desired [02:38] how can i get information about a package? [02:43] aptitude search will only look at package names by default; apt-cache search looks at name and description. [02:43] apt-cache, that's it [02:43] Personally I would suggest aptitude search ~G to look at debtags [02:44] i was looking for apt-get cache [02:44] ok [02:44] sudo aptitude search ~G pms-linux [02:44] like that? [02:44] No, like aptitude search ~Gncurses~Guse::browsing [02:45] Of course this assumes debtags are set up and installed and so on [02:45] hrm [02:45] all i really want to know is the version that's on the repo [02:45] none of these seem to show that [02:45] i thought apt-cache search did [02:45] but it isn't... [02:45] What are you actually trying to do? [02:46] trying to find the version of an app on the repo [02:46] apt-cache policy [02:46] policy... ok === nxvl_ is now known as nxvl [02:46] ah, that did it [02:46] never would've guessed that was it... [02:47] thanks twb` [03:45] I'm having problem with internet access from client connected to eth1 and eth0 direct to router [03:46] auston, yes...? [03:46] auston: either you forgot to NAT or you forgot to ip_forward [03:46] how to do that? [03:49] magic [03:49] Sorry I can't be bothered holding your hand just now [03:49] lol [03:50] auston, this might help or hurt. not sure which [03:50] https://help.ubuntu.com/community/Internet/ConnectionSharing [03:52] Thanks. I'll try it out first. [03:58] New bug: #896481 in euca2ools "Euca-unbundle is broken in 11.10" [Medium,Confirmed] https://launchpad.net/bugs/896481 === skrewler_ is now known as skrewler [04:51] New bug: #898004 in bind9 (main) "post installation script fails with exit status 1" [Undecided,New] https://launchpad.net/bugs/898004 === twb` is now known as twb === bladernr_ is now known as bladernr_afk [06:11] Can I use the server for DNS and firewall together? [06:12] sure [06:12] yes [06:12] you need only add a firewall rule to permit DNS queries [06:12] thanks. [06:13] I got message asking me whether to install kernel while installing ubuntu server 11.10 [06:42] jamespage, when you wake up, we would like to have 20111130 cloud-images tested [07:35] how to change primary NIC? [07:35] I have 2 NICs installed. [07:35] auston: define "primary" [07:36] question regarding orchestra/cobbler, do the settings in the cobbler ui for vlan and bonding work with Ubuntu? [07:36] how to do that? What command should I type in? [07:41] auston: I'm asking you to define *to me*, in Enlish, what you think "primary" means [07:41] *English [07:41] auston: because the answer depends on what you're actually trying to do, and I can't guess [07:43] ipl31: look through the pre-seeds / kickstarts ... if the variables aren't used there or in the snippets, then no. [07:44] I have no idea how to define the "primary" [07:45] auston: OK, how about you describe what the problem is that you're trying to fix [07:48] I have installed 2 NICs on the server, only eth0 configured with ip and able to access internet. If i plug-in the LAN cable to eth1, there's no internet access. [07:48] And you want it to work regardless of which is plugged in? [07:49] Or do you just want it to work for eth1 and not care about eth0? [07:49] Goooooooooooooooooooood morning. [07:50] The usage is eth0 will able to access internet and eth1 for DHCP to client [07:53] auston: so "connection sharing"? [07:53] yes. [07:53] OK. [07:54] Have you read https://help.ubuntu.com/community/Internet/ConnectionSharing ? [07:56] The short versions is: statically configure eth1; set up MASQUERADE (and perhaps a firewall); enable ip_forward; set up a DHCP server listening on eth1. [07:56] Yes. I have read it. Is working. Now, I'm setting another server exactly the same function but will add-in DHCP, DNS and firewall. [07:56] Ah, OK [07:57] If you are prepared to learn how to do firewalling by hand, #netfilter is the best place to talk about that. As to DHCP and DNS, dnsmasq is a quick and lightweight way to have both -- or you could set up ISC dhcpd and unbound/bind for DNS [07:58] The Ubuntu Server Guide is also a good reference for all of the above [07:59] Ok, I'll try out the dnsmasq. [08:04] how to install dnsmasq? [08:10] SpamapS: thanks [08:13] !dnsmasq [08:13] auston: google for it... [08:13] auston: apt-get install dnsmasq [08:21] i got msg "E: unable to locate package dnsmasq [08:24] ok so it looks like for advanced networking with orchestra I will need to write some shell script snippets for the post command === smb` is now known as smb [08:57] I managed to install dnsmasq finally :) [09:07] hi all [09:13] morning all [09:13] hi koolhead11! [09:16] hello jamespage [09:17] hello [09:38] Wat should I do to configure DHCP and DNS after installed dnsmasq? [09:43] morning o/ [09:43] jamespage: morning good sir [09:43] koolhead11: ello! :) [09:43] hello lynxman :) [09:46] morning lynxman [09:49] lynxman: ^^^^Nagios configuration for Orchestra ^^^^ [09:52] koolhead11: are you watching my commits? lol [09:53] lynxman: subscribed to orchestra :D [09:53] koolhead11: aaah ;) [10:01] Bonjours [10:25] ttx: that mail was encouraging!! :) [10:37] koolhead11: I happen to know both sides of the fence quite well. [10:38] and I learned to understand the value of the fence. [10:38] ttx: :) [10:45] ttx: https://bugs.launchpad.net/horizon/+bug/888385 Does that mean the bug will be fixed-released with essex? [10:45] Launchpad bug 888385 in horizon "Failure when installing Dashboard - python tools/install_venv.py" [High,Confirmed] [10:46] dunno, they targeted the fix for E2, so they indicarted that they will fix it soon === gustav- is now known as beerbro [11:03] ttx: https://bugs.launchpad.net/horizon/+bug/897882 solves #888385 [11:03] Launchpad bug 897882 in quantum "Command 'egg' not found for quantum when running install_venv.py" [Undecided,New] [11:04] as am not getting same error after modifying my pip-requires with quantum path change :D [11:06] * koolhead11 adding comment to the bug [11:10] with 1 line patch :P [11:20] good morning :) [11:20] Ursinha: bom dia! [11:20] ttx: done :D [11:20] hola Ursinha [11:20] lynxman: :D [11:20] koolhead11: hola :) [11:21] Ursinha: am awesome, how have you been? [11:23] koolhead11: great :D [11:24] awesome!! :D [12:11] New bug: #898124 in libapache2-mod-perl2 (main) "Missing Files for Apache2::SizeLimit in libapache2-mod-perl2 (2.0.5-2 oneiric)" [Undecided,New] https://launchpad.net/bugs/898124 [12:25] is there any body who can tell me on how to configure the apache on greenstone software on ubuntu? [12:28] is there any body who can tell me on how to configure the apache on greenstone software on ubuntu? [12:29] greenstone? [12:30] specialy on assigning the server name [12:30] Does anyone know how I can configure the dhcp client to provide a static "search" for domains in resolv.conf regardless of what the dhcp server tells it? [12:32] jetole: there are ignore options for dhclient [12:32] Royk:it is a software tha can be use for digital libarary [12:33] ikonia: well thats useful but is there a way for me to configure certain things for resolv.conf so if it ever gets changed then the client would restore it? [12:47] honey_: dunno about greenstone, really, but do you just need to configure an apache virtualhost? [12:49] Royk:yeah i know it it is open source and what i need is i would like to tell the adress and assighn the name of server [12:49] that means configure an apache virtualhost [12:52] jetole: yes, there are options to ignore certain options that are given from the dhcp server [12:53] honey_: lemme check [12:54] Royk:ok === james_ is now known as blitzkrieg3 === Guest71191 is now known as CrazyGir [13:21] Hi [13:22] I installed Ubuntu server on a datacenter host and want to set up KVM networking [13:22] internal network is ok, but one of the hosts needs an external IP. What settings would I need for that? I tried over virbr0 but that doesn't work [13:23] Server is running 11.10 [13:30] hi nocturn, "virbr0"? seems you are using libvirt. perhaps virt-manager [13:30] derdoktor: yes, I used virtmanager [13:30] the NAT networking is already working well [13:31] just want to give one VM two interfaces, one natted, another a public IP [13:31] have you tried bridge-utils? [13:32] take a look at https://help.ubuntu.com/community/KVM/Networking [13:33] the bridge-utils supply with a virtual network switch [13:38] jamespage, ping [13:39] smoser: pong [13:39] did you start some tests ? [13:41] smoser: not yet [13:41] smoser: waiting for some firewall access outbound to be fixed up [13:42] jamespage, thats fine. just curious, i would lok for them at https://jenkins.qa.ubuntu.com/job/precise-server-ec2 ? [13:43] derdoktor: do I need to create a second bridge? [13:43] smoser: yes but we have not run it yet so its not been publised [13:43] right. [13:43] have read that page, but didn't find my answer [13:43] i dont think so [13:43] jamespage, so... i guesssed the 'precise' based on browser history with https://jenkins.qa.ubuntu.com/job/oneiric-server-ec2/ [13:44] but that url is also empty, as are all my other history urls... many of which i had supposed were semi-permenant and placed links to them in bugs and such. [13:44] good morning [13:45] s/supposed/assumed/ [13:45] smoser: hmm - looks like someone tidied up [13:48] * smoser remembers to never AssUMe [13:56] jamespage, utlemming 20111130 and 20111129.2 have the same manifest contents. utlemming had requested 1129.2, i requested 1130. it doesn't really matter but for some reason i like builds without the .X on them. it hides the fact that we scrambled :) [13:59] RoAkSoAx, ping === bladernr_afk is now known as bladernr_ [14:28] hola smoser [14:29] hey. [14:29] how goes life ? [14:34] smoser: i have yet not tried solution u asked me to look at, was still doing R&D with my own server image. seems like finally i will look at the wiki :D [14:35] i'm not following. i dont think. [14:37] smoser: i meant https://help.ubuntu.com/community/UEC/Images#Ubuntu_Cloud_Guest_images_on_Local_Hypervisor_Natty_onward :D [14:37] mdeslaur, jdstrand: would love to see your opinion on http://fnords.wordpress.com/2011/11/30/improving-nova-privilege-escalation-model-part-3/ [14:37] (as well as anyone else with a white hat or a python in their closet) [14:38] ttx: sure, I'll take a look a little later when I have a few minutes [14:38] ah. ok. [14:38] mdeslaur: thanks ! [14:42] ttx: seems like finally openstack project too got attacked by trolls :D [14:46] jamespage pong [14:46] RoAkSoAx, hey [14:47] jamespage howdy [14:47] koolhead11: trolls ? where ? [14:47] I think that powernap is causing a few issues with the dell hardwre we have in the lab [14:47] See https://launchpad.net/bugs/898127 [14:47] Launchpad bug 898127 in linux "system hangs and errors at /build/buildd/linux-3.2.0/arch/x86/kernel/apic/ipi.c:113 default_send_IPI_mask_logical+0xdc/0xf0()" [Undecided,Confirmed] [14:47] I updated the preseed jibel was using to disable the CPU scaling stuff and the problem went away [14:48] RoAkSoAx: how would you feel about disabling the CPU management by default? [14:48] at least until we can ID what the problem is with this specific hardware.... [14:48] jamespage i thought i did that already [14:49] RoAkSoAx, interesting - this was on precise [14:50] jamespage: I guess I didn't :) [14:51] jamespage: yeah the cpu_online script will be turned off by default for now [14:51] jamespage: thought, can you manually try to turn on half of the cores and see what's the result of doing so? [14:52] RoAkSoAx, TBH we don't really get the change - the server freezes straight away [14:52] I saw similar on oneiric [14:52] jamespage: yeah it seems to be an issue that started with 3.0 [14:52] jamespage: but can you manually remove half of the cores? or juts 1 to see if the problem persists [14:52] jamespage: it is just for general testing though [14:53] RoAkSoAx: I'll see what we can do [14:53] jamespage: in reality, i wanna see if this is being caused by turning off *all* but 1 core, or by turning off even 1 single core [14:55] RoAkSoAx: I have ipxe doing our bidding, with a hard coded next-server.. [14:56] Daviey: yeah but that's not what we want, right? [14:57] RoAkSoAx: that is /exactly/ what we want [14:57] (as an option) [14:57] RoAkSoAx: fancy a hangout in 30 mins or so? [14:58] Daviey: give me a sec [14:58] Daviey: but pastebin what you did :) [14:59] RoAkSoAx: is going to be easier screensharing i think [14:59] yes the peanut gallery wants to see what you did (talking about myself) [15:01] Daviey: I've re-done the dovecot package that failed in 11.10 with the current 12.04 build, I'm rusty on process, who do I submit this to for review [15:02] Daviey: I reproduced the glance bug [15:02] upgrading natty to oneiric is enough [15:03] ikonia: Great, have you done it via bzr or flat packaging? [15:03] Daviey: local only here on a test box, I can upload into bzr, just wasn't sure of the process, hence asking [15:04] it's been a while since I submitted stuff === Ursinha is now known as Ursinha-lunch [15:04] ikonia: Okay, is this to fix the precise package, or oneiric? [15:05] precise, once that's ok, I'm going to try (but it looks like it's not worth it) to bring the versions up as a back port for oneiric [15:05] one thing at a time though [15:05] ikonia: okay, as it's not currently in bzr; it's probably going to be better to use debdiff. [15:06] So grab the current precise package, pull-lp-source $package precise ; debdiff current-precise.dsc your-package.dsc [15:06] > your-package.debdiff [15:06] Daviey: im ready [15:06] so I just submit the patch, I don't need to worry about the package [15:06] great [15:07] If you then want to pastebin what you have, we'll take a quick look.. ? [15:07] thank you [15:07] RoAkSoAx: I have another call starting right now [15:07] I shall once I've done the process, on the wrong box here [15:07] ikonia: yep, the patch is what matters more [15:07] Daviey: plop :) [15:10] is there an isc-dhcpd channel on freenode? [15:12] iclebyte: what is your issue? [15:12] dhcp related? [15:14] we are trialing a new fibre deployment. we need to give out IP's from a pool based on the agent.remote-id and agent.circuit-id values - we have class matching working using 'options host-name' but we can't seem to find the correct agent.remote-id values. is there a way to tell bind to log them to syslog? [15:32] how can i do to prevent a package from being installed/updated ? [16:03] adam_g: around? === Ursinha-lunch is now known as Ursinha [17:26] Daviey: so, glance package has a bug, I could reproduce it [17:26] Daviey: with whom should I talk to about it? I know where it's failing but not sure what should be the correct behaviour there [17:26] bug 883988 [17:26] Launchpad bug 883988 in glance "package glance 2011.3-0ubuntu4 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 1" [High,Confirmed] https://launchpad.net/bugs/883988 [17:29] Daviey: hello :) [17:29] hello [17:30] Ursinha: you are seeing that same issue? [17:30] zul: ^^ did you see that? [17:32] Daviey: yes [17:32] Daviey: problem is when glance is running postinstall script, and it tries to migrate the glance db [17:33] the migration script tries to create tables that the sqlite db already have [17:33] so it breaks [17:34] :( [17:34] Ursinha: this is probably one for zul.. [17:34] Ursinha: is this clean install or upgrade from oneiric to precise? [17:35] Daviey: steps: installed natty, apt-get update/upgrade, installed glance, dist-upgraded to oneiric [17:35] ah [17:35] Ursinha: lets see zul's comments when he returns [17:35] Daviey: that's the same scenario of the dupes I've spotted [17:35] I marked them all as dupes then [17:37] Daviey: so, is it reasonable to create an oneiric task for that bug? [17:38] I think so [17:43] Ursinha: yes please! [17:43] :) [17:45] Daviey: gah...k [17:47] Daviey Urisinha: havent seen it recently but ill try to put some logic in the packaging [17:53] zul: i understood that the upgrade process wasn't safe for glance [17:53] it was different to nova [17:53] Daviey: maybe it got fixed [17:54] oh [17:54] Urisinha is new... have to add to hilight list :P [17:54] Ursinha: heh cloud is not so fluffy sometimes [17:54] anyway we'll need to SRU that, right? [17:55] if it's fixed, I wonder why the bug isn't indicating that... do you know zul? [17:55] Ursinha: im double checking [17:55] Ursinha: it should be [17:56] zul: by fixed you mean what? [17:56] upstream fixed? packaged and uploaded somewhere? [17:56] Ursinha: sorry upstream fixed [17:57] how do we indicate that in the bug? [17:57] Ursinha: good question :) [17:57] Ursinha: i usually say "This should be fixed in the new release of Essex please test and re-open if this is not the case" [18:01] zul: so, what we need to do to fix it in ubuntu? bring the fix/package? I have no idea how this works, so, sorry the silly question :) [18:03] Ursinha: now worries we will have to nail down the bug but going through the upstream fix and backport it, its might be fixed in the release ill be doing for oneiric as soon as we get through the paperwork for doing a stable release for glance [18:04] Ursinha: ill take care of it [18:05] zul: okay :) I'll find something else to try fixing then :) [18:06] Ursinha: i would start with something small [18:07] Daviey: here [18:07] Daviey: point me something small [18:07] adam_g: hey, can't really do it right now - hoped to have a catch up [18:08] Ursinha: something small... my will to live? :) [18:09] Daviey: man... shut up [18:09] haha [18:11] Ursinha: so, bug 894754 isn't too bad [18:11] Launchpad bug 894754 in openvswitch "openvswitch_mod module not found" [Medium,Triaged] https://launchpad.net/bugs/894754 [18:11] The Depends are not right, which isn't pulling in the -dkms package when needed [18:12] drat, there was jsut a very tiny bug (in terms of fix) in qemu-kvm, i almost asked here if anyone wanted to do it [18:12] (but didn't) [18:12] :) [18:15] Daviey: so... just adding the dependency should fix it? [18:15] hallyn: is the bug there yet? :P [18:15] sorry, what do you mean? [18:16] the fix? [18:16] if so, yeah, i posted the debdiff on the bug (bc we're in freeze so i didn't want to push it :) [18:17] but i bet there are other bitsize ones in the virt stack we can find if you're bored after the vswitch one :) [18:18] * hallyn goes to try a change to compiz, we'll see if i get dropped :) [18:18] hallyn: Are you free to help Ursinha with the openvswitch one if she needs it? [18:18] hallyn: the small bug you mentioned [18:18] if it's available to be fixed [18:18] okay :) [18:20] Daviey, Ursinha: yeah, it's lunchtime now, but i can help with the openvswitch one in a bit if you like [18:21] hallyn: I'd love to :) [18:21] thanks! [18:27] hallyn: thanks [18:28] Daviey: I think I can't add a distrotask [18:28] ? [18:29] release task? [18:29] I forgot how to call that [18:35] Ursinha: go for it :) [18:36] Daviey: you have sometime today for sqlite bug fix. :) [18:36] hi guys, can you help me to configure iptables well, please? [18:37] philipsmatto, define "configure well" [18:37] because what I'd call a decent configuration and set of rules another would call it crap [18:37] as well, the confiugration is dependent on what exactly you want it to do [18:38] i.e. what you want allowed, what you want to block, etc. [18:38] okok excuse me, i have small LAMP server that i must use for webserver [18:38] i [18:39] would like [18:39] that my server will + secure [18:40] koolhead17: I do not today, but maybe someone else can helo? [18:40] smoser: ^^? [18:40] now iptables is defoul [18:40] !enter | philipsmatto [18:40] philipsmatto: Please try to keep your questions/responses on one line. Don't use the "Enter" key as punctuation! [18:40] hmm [18:40] ok excuse me [18:40] philipsmatto, whats your primary language? english? [18:40] or something else [18:40] Daviey, sure. whats up koolhead17 ? [18:40] * Resistance doesnt think its english but isnt sure [18:41] true [18:41] i'm italian [18:41] ah [18:41] explains the english then [18:41] smoser: https://bugs.launchpad.net/ubuntu/+source/php5/+bug/875262 [18:41] Launchpad bug 875262 in php5 "PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626+lfs/sqlite.so'" [High,Confirmed] [18:41] philipsmatto, what i do with *just web servers* is i block all external traffic that is not coming in on the ports necessary for the web server [18:42] philipsmatto, for instance, ports 80 and 443 are opened, but not much else. [18:42] i worked on this and tried few things. last time Daviey suggested we can work on it with screen as even am new to it. :) [18:42] as well, ssh is open on a nonstandard port because my servers are offsite [18:42] but not much else is opened to the world [18:42] oh.. shoot. i dont really have time for that right now, as i'd have to even come up to speed on that bug. [18:43] New bug: #898289 in open-vm-tools (multiverse) "open-vm-dkms 2011.07.19-450511-0ubuntu2: open-vm-tools kernel module failed to build" [Undecided,New] https://launchpad.net/bugs/898289 [18:43] philipsmatto, there's about ten thousand different "good configurations" but for basic yet somewhat secure, you can block all traffic except for that you identify [18:43] as okay [18:43] aw crud, stupid enter key... >.> [18:43] smoser: ok. [18:44] philipsmatto, is this a VPS or an actual Ubuntu box you own? [18:44] smoser: thanks anyway [18:45] i have one server at home, it's a old pc [18:45] ok [18:45] philipsmatto, give me about a minute [18:45] so i can write up the list of stuff you'd need to execute for iptables [18:46] philipsmatto, oh, and one last question... do you plan on rebooting this computer often, or shutting it down often? [18:46] yes yes [18:46] yes to which? shutting it down often? [18:46] (aka rebooting) [18:47] yep [18:47] ok [18:48] gimme a few seconds [18:48] okok tnk u! [18:49] Daviey, i've got Ubuntu Desktop running on my server instance, so i have if-up/if-down scripts which autoload and autosave iptables... do you know of any easier method of making iptables.rules persistently loaded? [18:49] jamespage: whats up with java in your twitter handle :D [18:49] (i.e. on boot) [18:50] !iptable [18:51] Resistance: https://help.ubuntu.com/10.04/serverguide/C/firewall.html see if this helps. [18:52] koolhead17, ok thanks [18:52] Resistance but if i don't shutdown, remain the config? [18:52] philipsmatto, yes that's true. but i have a method that will allow it to autoload the rules on boot. [18:52] true [18:52] philipsmatto, first, install the iptables-persistent package (in terminal: sudo apt-get install iptables-persistent) [18:53] philipsmatto, now gimme a sec to upload this thing somewhere... [18:53] Resistance: check for shorewall, things will be much easier 4 you :D [18:53] koolhead17, i already have iptables configured [18:53] trnk a lot!! [18:53] this is for philipsmatto who asked how to set up iptables as their firewall with a "good" config [18:56] Resistance but olther Iptables, i must install olther firewall or no? [18:56] philipsmatto, if you're asking whether you need a different firewall if you dont want to use iptables, then yes. there are easier firewalls to use, though. [18:57] (fwiw, I prefer iptables, but i'm old school) [18:57] (and i remembered half of the iptables man page) [18:57] :) okok [18:58] philipsmatto, i assume you have superuser on the box which is the server? (i.e. sudo or root access) [18:58] true [18:59] attend [18:59] okay, then as superuser create the file /etc/iptables.rules [18:59] and put inside that file the content of this: http://pastebin.com/raw.php?i=r2sYd2bK [18:59] or... [18:59] you can *try* to wget that [19:00] but it might not work that way [19:00] huh actually that did work *shrugs* [19:02] now i can't doing, wrriting notes [19:02] *writing [19:02] and stop? [19:04] later this operation i don't must doing nothing? [19:04] after you've done that, you'll need to do (as superuser) iptables-restore < /etc/iptables.rules [19:04] assuming you saved the file in /etc/ [19:04] WHOAH lag spike [19:04] * Resistance just lagged [19:05] then i *believe* that iptables-persistent will keep the rules in future [19:05] * Resistance hasnt tested this in depth [19:07] okok trnks u a lot!!!!! [19:08] but with this configuration , Iptables block DDoS attack? [19:12] not much defends against DDoS [19:13] but its far less likely they'll be able to hit your critical items [19:13] maybe your web server [19:13] but not much else [19:13] http://www.riorey.com/ [19:14] use them for ddos, might cost a bit though ;) [19:15] For, or against? [19:15] to defend against it [19:16] * RoyK is somewhat sceptical [19:17] l0n: if a 100k node botnet attacks your site, how will they defend it? [19:18] RoyK Not sure if they do DDoS protection as a service or not, if they do, I suspect you could get your IPs routed via them and they'll take care of it [19:19] If not then 100k would probably fill up your pipe so yeah, no device would protect you [19:19] unless you had a really really really really fat pipe [19:20] and if you can live through a 100k node attack, what about that 10M node attack? [19:20] some botnets are BIG [19:20] idd, well you need DDoS as a service but like I say, it'll cost ya an arm & a leg [19:20] how to reload squid in 11.10 ? /etc/init.d/squid/ reload is not working [19:21] RoyK not every DDoS is that big though, I used to work for a hosting provider that got DDoSed a lot and the protection they had did the job [19:21] excuse me , but for defender my website, what i doing? [19:22] i did service squid reload but i did not saw any change in tail -f /var/log/syslog [19:23] ? [19:23] philipsmatto make sure you block all ports apart from those required e.g. http and ensure you keep your externally accessible services up to date and locked down [19:23] you may also want to consider running the site in a chrooted env, using selinux or easier way is to run it in a virtual machine. This is to minimise damage in the event that you get hacked. [19:24] you might also want to use an application layer firewall like mod security [19:25] eh, this [19:25] which use? [19:25] philipsmatto: sorry, I don't understand what you mean [19:26] l0n, i helped him with iptables [19:26] l0n, there's a -j REJECT rule at the end [19:26] of the INPUT table [19:26] it acts as a catch-all-other-crapo [19:27] if it doesnt match the first rules, the system sends the REJECT packet [19:27] and in the config [19:27] only port 80 is open to the universe [19:27] excuse me, you are right, i would like say: which do i use? [19:27] which what? [19:27] firewall? [19:27] mod [19:28] "mod"? [19:28] philipsmatto: for most use, just use ufw [19:28] ' you might also want to use an application layer firewall like mod security' [19:28] mod security [19:28] ah apache mod security [19:28] :P [19:29] i'd listen to RoyK then, and work wtih ufw [19:29] in which case they can help ya undo the iptables stuff and set you up with ufw [19:29] me, i've got classes [19:29] * Resistance runs because he's 12 minutes late [19:29] Resistance: if the shit hits the fan and someone DoS you or get nasty somehow, well, add more layers of security [19:29] RoyK, hehe, "Secuirty in Depth" doesnt always work [19:30] i knew [19:30] Resistance: place an unpatched windows machine somewhere on the server farm and wait... [19:31] RoyK hehe [19:31] would it surprise you the Feds do that? [19:32] * Resistance points at this server he was fixing prior to realizing he was late to class [19:32] * RoyK just setup five 2x12core machines in an MPI cluster and finds it works :D [19:33] Resistance, i must just install apache mod security and your configuration? So my server is safe? [19:34] philipsmatto, one thing to realize... servers are never 100% safe [19:34] the only safe server is not connected to the network, and is not connected to the internet [19:34] therefore a standalone machine that is safe from external threats [19:35] but the iptables rules that i gave you are pretty solid [19:35] and since i dont use apache i cant help you with mod security ;P [19:35] * Resistance uses nginx web server [19:36] Resistance, just out of interest, does nginx have something like mod security? [19:36] * RoyK doubts it [19:36] l0n, not sure, i could check. but fwiw, my sites i run on it are behind a hardware firewall and therefore arent exposed to the internet [19:36] but i do use nginx for everything ;P [19:36] except ASP crap... that, i'm forced to use a windows server for [19:36] but you've got port 80 open on your hw firewall haven't you or you mean it's an internal web server? [19:36] l0n: nginx is very light-weight, quite the opposite of apache, which is more like an operating system in comparison [19:36] port 80 [19:37] port 80 is request for redirect (with DNS) [19:37] hehe idd Royk [19:37] l0n, [INTERNET] -> HardwareFireWall -> network [19:37] but the hw firewall doesnt have a port 80 rule [19:37] at least not for the nginx webserver itself [19:37] so your web server is for internal use only? [19:38] mhm [19:38] - Emacs is a decent operating system, but it lacks a good editor... [19:38] well... the one which i truly give a crap about, yes [19:38] Resistance, just out of interest, does nginx have something like mod security? <--- answer: no [19:39] How do I turn my hosted ubuntu server(w/ public IP) into an HTTP PROXY server? [19:39] barcef: apt-get install squid [19:39] Resistance, how u connect your WEBSERVER with doman without port 80? [19:39] philipballew, the thing runs its own DNS server off of a 10.x.x.x internal network IP [19:39] barcef: but then, there are different types of proxy servers and ... [19:40] philipballew, so if i type "webserver.foobar.baz" it'll route the requests to 10.x.x.x [19:40] Ah ok, that explains why ppl run Apache and Nginx I suppose [19:40] since all systems on the internal net of mine have that servers's DNS IP stored [19:40] RoyK, How would I tell what type I need? I need to route my nintendo wii though my server in the US to get my netflix in english. [19:40] more like hardwired... but meh [19:41] philipballew, for the internal networked server, there's an iptables firewall rule that has port 80 open [19:41] barcef: that'll be a normal front proxy - squid is good for that [19:41] philipballew, but that server isnt shown to the universe outside the internal net [19:41] barcef: just install it and edit /etc/squid/squid.conf (read the comments) [19:42] philipballew, the trekweb server, though, for trekweb.org, ituses nginx but is offsite and internet-facing [19:42] RoyK, ahh.. thanks man... thats awesome. [19:48] thanks a lot [19:49] Resistence :) [19:51] I owe you a favor [19:58] Guys i must goind [19:58] Ursinha, sorry, got carried away w a patch review. how is bug 894754 treating you? [19:58] Launchpad bug 894754 in openvswitch "openvswitch missing -datapath-dkms dependency, fails to install" [Undecided,New] https://launchpad.net/bugs/894754 [19:58] trnks a lot!!!! [19:59] hallyn: I'm trying to reproduce in precise to see where to start [19:59] reproducing in precise implies downloading iso and so on, so taking a while now :) [19:59] bleh, i see :) [19:59] i'll start the same [20:00] (waiting for victim stack instance to spin up) [20:01] :) [20:09] Ursinha, if you look at the commit msg for 1.2.1-3, that sounds like actually a good alternative [20:10] oh! the bug was reported on oneiric? so that actually is the fix we want [20:10] (oneiric is on 1.2.0-1ubuntu1) [20:12] Ursinha, so, do a : "pull-lp-source openvswitch; pull-lp-source openvswitch oneiric", and then look at the diff in debian/openvswitch-switch.init between both versions [20:13] Ursinha, this should also mean that it can be marked fixed released, and affecting oneiric [20:14] hallyn: yeah, but do you think it should just not fail instead of adding another dependency that would actually build it? (if I understood the problem well) [20:14] does that mean the package doesn't need the module to work? [20:15] gah, would my wm pls stop resetting when i get popups? [20:16] Ursinha, yeah, was the original idea. It seems perhaps less safe depending on how robust the dkms building is [20:16] hm, right [20:17] what do you mean by safe? [20:17] won't hilight you so your wm won't reset :) [20:17] well if it fails 20% of the time to build, [20:17] thanks :) [20:18] eh, you're probably right, should probably be recommended: [20:19] but see, i just tried to install the dkms and got [20:19] Error! Your kernel headers for kernel 3.2.0-2-virtual cannot be found. [20:19] [20:19] :) [20:19] isn't that a problem in dkms package? :) [20:20] so, the package install would then still fail. I think I see the real bug in openvswitch-switch as being that package update fails (making future updates noisier). [20:20] it's a problem inherent indkms i think - it's complaining bc the running kernel is older than the one that came in the current-headers pkg [20:20] I don't like that much [20:20] *that that [20:21] heh, if we could just get vswitch into upstream kernel we wouldn't need to do dkms :) [20:21] :) [20:21] do we need the module for that package? [20:21] what do you mean? [20:21] yeah, it's needed, so yes it should be Recommended [20:22] if openvswitch_mod is needed for that openvswitch-switch package is meant to, so it's required, no? [20:22] yup [20:23] do it's a dependency and not just a recommendation? [20:23] s/do/so/ [20:24] I guess I see the problem you are pointing [20:25] it's required, but module building is likely to fail, so better recommend and try and not break instead of creating problems for the average of users.. [20:25] that *was* my point, but it's only half valid. [20:26] Daviey: iscsi testing completed [20:26] i think you should both make it Depend, and backport the fix to the init script [20:26] jamespage: you rock star! [20:27] hallyn: right! [20:27] oops, sorry [20:27] :S [20:28] heh, np, it's not being uppity right now [20:32] Ursinha, so let me know if you have any questions on proceeding. if you want me too look at the debdiff poke me. [20:32] sure, thanks! [20:33] man qemu-linaro build takes HOURS [20:35] Daviey: this might be a stoopid question but is there a reason why I get the -generic kernel on amd64 server installs? [20:40] jamespage: hmm, good question.. Probably a better one to throw to apw or smb tomorrow. [20:41] jamespage, that is because the -server and -generic configurations have been merged [20:41] jamespage, they were almost identicle anyhow, so for now the linux-server meta points to linux-image-generic [20:47] apw: So that is what i thought, but there still seems to be a -server kernel? [20:47] is it a pseudopackage? [20:47] or does it actually provide something? [20:47] Daviey, ^ [20:47] (the -server kernel package) [20:49] linux-image-*-server ? Daviey i can't see it [20:50] grr, might help if i wasn't looking at oneiric [20:59] RoAkSoAx: hmm, seems we can also pass an initrd to ipxe, which is a flat script - rather than tagging onto the cmd line. [21:06] jamespage: hey do you have instructions to setup iscsi for the iso testing? [21:10] zul, sorry, I had been running those tests, but internet been bouncing around all day :( [21:10] patdk-wk: do you have instructions to setup iscsi? [21:11] instructions? not really, I have my enviroment setup for iscsi though [21:11] with iscsitarget right? [21:12] heh? [21:12] I meant iscsi root [21:15] zul: http://paste.ubuntu.com/755364/ [21:16] jamespage: heh...i love you [21:17] so it is iscsi root info you wanted, but I don't use iscsitarget for my iscsi server [21:17] and http://paste.ubuntu.com/755366/ into virsh [21:18] zul: http://paste.ubuntu.com/755368/ to grab the kernel and initrd for the authenticated test for reboot [21:18] that is extreemly annoying [21:18] gpxe chainload iscsi boot [21:20] join #windows-server [21:23] b0gatyr: right now! [21:28] Daviey: really? cuase for what I read it wasn't possible in the old one. But it would be cool if we could [21:33] lol lynxman [21:36] New bug: #898365 in cloud-init (main) "cloud-config mount of '[swap, null ]' not handled correctly" [Undecided,New] https://launchpad.net/bugs/898365 [21:38] RoAkSoAx, jamespage adam_g zul SpamapS anyone... [21:39] anything you all tihnk should be release noted [21:39] for alpha-1 [21:39] utlemming, ^ [21:39] either known issues or new function/notable things. [21:41] nada [21:41] RoAkSoAx: yeah, i just went through the mailing list archives, it landed this month [21:41] so after I use orchestra to install my server , what is the default username and password?? [21:43] smoser: hmm. squid to squid3 migratin? [21:43] smoser: New Upstream cobbler snapshot, based on 2.2.2 .. openstack components based on Essex 2. [21:44] at this point we're not filtering anything out [21:44] as the list is... um... 3 items at the moment [21:44] I don't see where I can set a username and password in cobbler/orchestra [21:44] so I have this shinny new server loaded but I can't login without purgeing the password [21:45] smoser: Are you adding to the release notes for the cloud images, the nic issue? [21:45] i suppose we can add it as a known issue. [21:45] the only real issue is that the images are then 120M populated larger than they would be. [21:45] but we should probably note it. [21:45] backburner: login to what? a newly provisioned system or cobbler itself? [21:55] hallyn: So i plan to do a new upstream snapshot of ipxe [21:55] :( [21:55] does this impact you? [21:55] anyone using orchestra? [21:55] Daviey: it shouldn't :) [21:56] Daviey, you could add my debdiff into your merge... [21:56] backburner: yes [21:56] backburner: Ah, if you are using the default preseed; the username and password is both ubuntu. [21:56] (secure eh?) [21:56] ahh thanks , will try that! [21:57] rocking [21:57] backburner: Things are changing for precise btw :) [21:57] Daviey,what i was waiting on was lp:~serge-hallyn/ubuntu/precise/ipxe/kvm-pxe-in-ipxe/ merge [21:58] hallyn: Mine can stack on yours, don't need to block on me [21:58] Daviey: btw.. is redhat-cluster seeded? [21:58] (once freeze lifts) [21:58] Daviey, it's a pretty superficial patch, go ahead and do it and i'll rebase [21:59] Daviey, after this cycle, i think i want to spend some time pushing on getting it so UDD can be used reliably for qemu-kvm and libvirt [21:59] cause if i could just stage fixes there i wouldn't have this problem [22:00] hallyn: right, is UDD still broken for them? [22:00] (pushing as in, trying ot understand th eproblem) [22:00] yeah. i thought it was supposed to be fixed, but doesn't appear to be [22:00] RoAkSoAx: redhat-cluster-suite is on server-ship [22:00] daviey where can you set the inital user/password? [22:01] Daviey: so I won't be able to mess with post the freeze? [22:01] Most recent Ubuntu Precise version: 0.15.0+noroms-0ubuntu6 [22:01] Packaging branch version: 0.14.0+noroms-0ubuntu8 [22:01] Daviey, ^ :( [22:01] backburner: try, /var/lib/cobbler/kickstarts/orchestra.preseed [22:02] hallyn: :( [22:02] Daviey: zul I think we'll also need to add user/password fields for each system so that users can change them [22:02] Daviey: that would be a nice new feature for the passwords [22:03] hallyn: urgh, http://package-import.ubuntu.com/status/qemu-kvm.html [22:03] yep [22:06] New bug: #898373 in cloud-init (main) "fsck.ext3: Device or resource busy while trying to open /dev/xvda2" [Undecided,New] https://launchpad.net/bugs/898373 [22:06] installing server via alternate using a giant monitor. Have to look away from the purple and orange every few minutes to color adjust my eyes? :) [22:09] anyone experienced this before? it's quite a trip. [22:09] whole room is purple :) [22:10] heh [22:11] coworkers keep coming over to see what's making all the light. [22:16] wtf? /usr is group writeable... [22:43] smoser, utlemming - what's the status with the cloud images for the release? [22:44] skaet: I think they are good, but let me double check [22:44] the testing only started a few hours ago [22:44] (due to problems with IP addresses) [22:44] utlemming, thanks, silence was starting to worry me. :) [22:49] skaet: looking good so far (https://jenkins.qa.ubuntu.com/view/Precise/job/precise-server-ec2/) there are still some tests to complete, but I'm not seeing anything that would preclude launching it [22:49] utlemming, thanks. :) [23:04] zul: ping [23:30] adam_g: whats up [23:33] zul: hey [23:34] adam_g: hilo [23:34] zul: i was lookin at glance wrt to bug 883988 [23:34] Launchpad bug 883988 in glance "db migration failing when upgrading glance - trying to create existing tables" [High,Confirmed] https://launchpad.net/bugs/883988 [23:34] adam_g: ok [23:35] zul: that predates me. :) where'd the logic around 'db_sync' come from? the upstream packaging or us? i see the same thing in the nova packaging as well, and wonder what the reasoning is [23:37] adam_g: upstream packaging im pretty sure [23:38] it creates the database [23:38] well [23:38] it migrates the database, it doesn't create [23:39] im curious to know the reason why it only attempts to do so for connections that are not sqlite [23:40] adam_g: i think predates me as well :) [23:40] ah [23:40] since im not the one who wrote it [23:43] zul: lp:~openstack-ubuntu-packagers is where all of that work has lived, right? [23:43] right all the upstream stuff is there [23:43] all the ubuntu stuff is at ubuntu-server-dev [23:46] http://bazaar.launchpad.net/~openstack-ubuntu-packagers/glance/ubuntu/revision/29