[00:16] hi .. i do the release upgrade on ec2 .. from maverick to natty then i get this [00:17] http://paste.ubuntu.com/676897/ [00:17] is it ok for me to reboot or need to fix it 1st then reboot [01:15] hey guys anyone have experince with smal storage solutions? [01:29] jamespage: Does the etherpad-lite formula work? I just gave it a try. [01:29] it listens on port 9001 iirc? [01:33] smal? [01:37] small* [02:08] Doonz: Please try to be much more specific about what you are asking. A microSD card is a "small storage solution", and I have one of those -- but I don't think that is what you mean... is it? [02:11] well lets see. Ok Im trying to build a media storage set up for home around the 100tb mark. I currently run 25tb btu what im finding is my sever is getting to taxed and performance is suffering. So i have thought of breaking the one large system into multiple systems [02:12] i just dont understand alot of the terms [02:12] and im not sure which way i should go without spending a billion bux === DarkwingDuck_ is now known as DarkwingDuck === lickalott_ is now known as lickalott === smb` is now known as smb [07:39] Any idea how to get rid of "File descriptor 15 (socket:[6111]) leaked on lvremove invocation." messages? [07:49] howdy [07:50] how could I know if my kernel was compiled with netfilter support? [07:59] van7hu: try to add iptables rule? [07:59] .e.g iptables ... etc? [07:59] by the mean of ubuntu, is it default? [08:00] van7hu: yes, iptables. It is enabled by default (of course) in ubuntu. [08:00] but netfilter? [08:02] iptables needs netfilter, so if your iptables rule will work, netfilter is available. [08:02] And it is in ubuntu-server by default. [08:04] okay, thank you === masACC is now known as maswan [08:37] New bug: #634102 in cloud-init (main) "t1.micro EC2 instances hang on reboot" [High,Fix released] https://launchpad.net/bugs/634102 === uvirtbot` is now known as uvirtbot === himcesjf1 is now known as himcesjf [08:55] hello, what would be the best way to have multiple web servers on one static ip [08:56] different machines with for. ex. [08:56] ubuntu server installed on them [08:57] igcek: Utilise different ports for the different daemons [08:58] Or have some reverse proxy magic on :80 and the other web daemons on other ports and rewrite the requests [08:59] igcek: Why several different web servers on the same IP though? Or do you just want to serve different domains/sites on the same web server? [09:00] i have production server and a server production to be... so they all have to be seperated and on port 80. [09:01] would it work if i just like redirected domain to ip with port and then do a port forwarding? ip:xx.xx.xx.xx:234 [09:02] igcek: You have one serving the 'production site' and one for testing? [09:05] now i have one serving the production site, and it probably is not a good idea to put next to it a testing web page. but overall idea is to have for every company physicly different server [09:05] virtualisation [09:20] igcek: Yeah, okay - I understand that. But why have it on the same IP? [09:20] And the same port.. [09:21] they would all be web servers. (port 80) i only have one static ip. (worldwide) [09:24] I want to make ubuntu mail server for windows clients. THat mail server would be for communicating one PC to another if internet is offline. I would like to know where I can find reference link. [09:26] igcek: Why is changing IP not feaseble? Like using :8080 for the test machine [09:26] igcek: I meant port, not IP [09:28] i would like to have transition as painless as can be [09:28] I keep seeking on youtube. all are with non-english version. and with GUI desktop. I want to see english version configuration on CLI only pure ubuntu server . [09:29] linocisco: Usually you will need no further configuration than setting up the mail accounts on the same domain and serve that domain from That mail server [09:30] linocisco: As in user@companyA.com will be able to mail collueage@companyA.com even if other networks are unreachable [09:30] ersi: Yes. I did choosing internet site. [09:30] And? [09:31] ersi: I would like to know how to create users and how to configure accounts on windows mail clients like outlook or thuderbird [09:31] ersi: I tried telnet localhost 25 . it was fine [09:31] Depends on configuration.. usually the default is to use whatever accounts are on the machine. ie local users (root, linocisco, etc in /etc/passwd) [09:32] 25? Have you only configured SMTP? [09:32] ersi: as I have no extra computer. I am to setup my ubuntu text base server on VM and client is my widnows 7 on celeron Toshiba Laptop [09:32] Um >_> Hm [09:33] ersi: I have only one default account since creation. I have not setup DNS server or BIND config on that. [09:34] Well, you don't really need that for a functional mail service.. What you need is something like postfix to handle incoming mail, and whatever you're using now for SMTP/shuffling outgoing mail [09:34] I usually just use postfix and dovecot together [09:35] There's like, endless amounts of documentation of both softwares (in English).. They can be a bit tricky to get to work if it's the first time though [09:36] linocisco: Maybe this can be of service to you? https://help.ubuntu.com/10.04/serverguide/C/email-services.html [09:36] New bug: #836544 in mysql-dfsg-5.1 (main) "package libmysqlclient16 (not installed) failed to install/upgrade: trying to overwrite '/usr/lib/libmysqlclient.so.16.0.0', which is also in package mysql-cluster-client-5.1 0:7.0.9-1ubuntu7" [Undecided,New] https://launchpad.net/bugs/836544 [09:40] ersi: The worst thing is I have no internet with my ubuntu server. When I installed mail server, I did using CD installer during installation. I selected [Mail server]. I dont know how to install dovecot without internet. Even with CDrom, I dont know how to , after installaton. [09:41] Who is in the mood for some bug triage? Yeah! [09:43] linocisco: Heh, oh yeah.. Hm, that always makes stuff a lot more... interesting. [09:44] ersi: does server installer include dovecot or Not ? [09:44] linocisco: I don't know, I'm spoiled with always-internet :| [09:45] ersi: that sucks. our country has expensive internet [09:50] Does anybody know how to build email server for windows clients using ubuntu server installer CD only ? [10:02] is there any ubuntu server training video except the one by Michael Jang which is just in brief ? [10:04] hi [10:04] any recommendations for raid5 controller that works with ubuntu server? [10:05] EriksLV: hardware raid or software raid ? hardware RAID is better [10:05] hardware raid [10:06] EriksLV: I would recommend ASUS motherboards [10:06] asus [10:07] for a server? [10:07] a joke? [10:07] I need PCIE RAID controller [10:10] what kind of drives are going be used? [10:17] 4xWD RE4 1TB SATA2 3.5" 7200RPM 64MB [10:18] part number: WD1003FBYX [10:19] any recommendations patdk-lap? [10:21] * soren doesn't care much for hardware raid [11:08] hi guys! i want to use a mra to get all the mails from my different mail accs and forward them to a specific imap folder - i heard from fetchmail and getmail and also that they are not that geat pieces of software. anyone has a better idea? === TRKDK is now known as TRK [12:09] I'm trying to use a bash variable in a sed expression - how could I make this work: sed 's/__USER__/${USERNAME}/g' template.conf [12:17] maybe escape dollar sign... [12:17] just a guess [12:17] or "'$USER'" [12:39] morning [12:48] Ursinha: o/ [12:48] hi Ursinha [12:49] Today is a national holiday :/ [12:50] zul: Stuff which concerns us on, http://people.ubuntu.com/~davewalker/component-mismatches-mir-track.html - can you check we need them, and raise a MIR if we do? [12:50] -carrot will be required for nova after all. [12:50] -dingus and -anyjson not looked at [12:50] kombu is not going to work? [12:50] -stompy needs body in the MIR [12:50] zul: nah, it turned out to be too heavy to replace this late in openstacks cycle. [12:51] Daviey: i was going to make a joke about it but good thing for the delete key [12:52] heh [13:10] What's a "MIR"? [13:10] Main inclusion report: https://wiki.ubuntu.com/MainInclusionProcess [13:20] kees: Would you be able to look at the kombu MIR please? :) [13:28] Daviey: If we're stuck on -carrot, why do we need kombu? [13:39] soren: glance uses it [13:57] hi [13:58] how to setup ubuntu mail server to be used by microsoft outlook ? [14:01] what exactly is, ubuntu mail server? [14:01] a postfix/dovecot install? === DrNick___ is now known as DrNick__ [14:26] New bug: #836728 in krb5 (main) "package libkadm5clnt-mit7 1.8.3 dfsg-5ubuntu2.1 failed to install/upgrade: error writing to '': Success" [Undecided,New] https://launchpad.net/bugs/836728 === himcesjf1 is now known as himcesjf [15:32] zul: Ah. [15:56] Hi, I have logged into 10.10 64 bit through ssh - I installed xorg-xserver - but I cant startx - please tell me what to do to get to the x environment === med_out is now known as medberry [16:59] How can I configure slapd daemon to listen on only one of the network interfaces? [17:01] elz89: Have you checked the slapd.conf ? [17:02] bkerensa: no only /etc/ldap/ldap.conf I shall check slapd.conf now. [17:03] elz89: Yeah I would check it and see if it allows you to define listening [17:05] bkerensa: all I can find is /usr/share/slapd/slapd.conf and no mention in there of interface. [17:05] odd [17:06] elz89: Here http://www.openldap.org/doc/admin24/security.html [17:07] bkerensa: I have that page already, and it does not mention how it is done on ubuntu server in a config file. [17:07] Or does it mean if I start it once with specified interface it will remember that in config file for next start? [17:08] perhaps [17:08] let me dig a little more [17:08] OK thank you :-) [17:09] I'm happy to be given things to read as well. [17:10] elz89: I looked pretty good and it doesnt seem like there is any info in man or on google to do selective listening [17:10] =o [17:11] bkerensa: Yeah I had a good google :-P or so I thought. [17:11] elz89: Have you considered asking a OpenLDAP dev? [17:19] elz89: see /etc/default/slapd [17:23] elz89: Did pmatulis help you out? [17:25] feel free to suggest the right channel... but where does bind9 store it's DNS cache? [17:27] kernelpanicker: I think its stored in memory unless you specific it to backup elsewhere [17:27] kernelpanicker: Check /var/tmp [17:29] New bug: #836849 in samba (main) "Samba starts before static IPs set in network manager" [Undecided,New] https://launchpad.net/bugs/836849 [17:33] I've compiled git from source, aptitude install puppet wants to install git-core{a}. How can I proceed without installing git-core{a}? [17:56] noecc: Perhaps remove git then apt get install git && puppet [17:58] bkerensa: yes except I prefer the latest git from source. [17:59] hmm ok does the latest git have a .deb? [17:59] noecc: Maybe set APT::Install-Recommends and APT::Install-Suggests both to zero [18:00] genii-around: +1 I totally didnt think of that [18:01] New bug: #836875 in bacula (main) "package bacula-director-mysql 5.0.3-1ubuntu5 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/836875 [18:02] pmatulis, bkerensa, : nothing in that file either :-( [18:02] elz89: OpenLDAP devs maybe ask them thats what I would do :D [18:03] elz89: If you find out how ping me and I will make a How-To for others [18:05] elz89: this doesn't give you a hint: [18:05] # Example usage: [18:05] # SLAPD_SERVICES="ldap://127.0.0.1:389/ ldaps:/// ldapi:///" [18:05] soren: glance needs kombu [18:06] Ah, zul already answered you [18:06] soren: infact, glance D4 is blocked in unapporved pending MIR kombu MIR. [18:09] pmatulis: Thank You [18:21] New bug: #836889 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/836889 [18:28] I'm setting up postfix on ubuntu 10.04; how do I hold mail for users in such a way that they can't log into the system via, say, SSH? [18:34] by not giving them a valid shell for example? [18:34] or by using non-system user mail accounts [18:35] ^ [18:36] well... I'm creating a VPS to handle the mail and lists for an existing server. I'll have some mail coming in for some regular users, and the rest will be list traffic. [18:37] I'm unclear on where the mail will be 'held' for the list members, and how to deal with the 'regular' mail users... [18:37] kernelpanicker: mail will not be held for mailinglist users [18:37] I have to use postfix/dovecot/mailman, as well, as that's what I've been told to do... [18:37] it will be delivered to the mailinglist's registered addresses [18:37] and I'll be honest, I've been wrestling with this for almost 2 1/2 weeks now... [18:38] something that would take one of you probaby 3 hours... [18:38] because I don't have a clue. [18:38] there's like a million howtos that exactly describe how to set up this software constellation [18:38] But onward ho, right? [18:38] I have a bookmark for each how to... [18:38] all of them imperative masterpieces, for particular distros... [18:38] etc... [18:38] well maybe you should pay someone who has more of a clue [18:39] I would, if I had more than, what, .27 cents in my pocket. [18:39] and also, I want to learn about this stuff. [18:39] that was 27 cents... [18:40] at any rate... [18:40] it seems like the non list email recipients need something to hold their mail, right? [18:40] and that not all of them should be able to log into the box... [18:40] so I can't just make them into users, right? [18:42] There should be some mechanism for holding mail for them, but not making them users, and I recall something like 'adduser -s /sbin/nologin emailusername; passwd emailusername' on other flavors of linux... [18:42] you can do more or less anything. you can create individual system user's, you can prevent them from logging in, you could create virtual user'S (meaning non-system but in some other database like ldap or mysql) [18:42] but that doesn't seem to work in Ubuntu. [18:42] alamar: OK [18:42] kernelpanicker: it is not a good idea to try to administer a public running server if you do not have any idea what you are doing [18:42] alamar: tell me about it [18:43] doesn't life suck [18:43] Unfortunally, with mail services - it's usually learning by doing [18:43] ersi: you can learn and do a LOT by reading appropriate documentation and using a controlled environment [18:43] it's also not a good idea to get married, have kids, or jump from hovering helicopters [18:44] or it will be learning the hardware by ending up on nearly every blacklist [18:44] and having a non functional mailserver anyway.. [18:44] I have a question about ubuntu 10.04 server with multipath drive arrays attached. http://paste.ubuntu.com/677378/ is my multipath listing. http://paste.ubuntu.com/677380/ is my ls -al from /dev/mapper/ [18:44] s/hardware/hard way/ [18:44] what's fantastic is that if one does decide to learn, one can plunge in, read documentation, and get help from irc channels when you're stuck ;) [18:45] alamar: Well well, you can prepare all you want.. when you go live, you can bet your horse on that something's wrong anyway :P [18:45] ersi: but then I didn'T rush into running live before even knowing what I'm doing [18:45] All is good until I reboot the server. When it comes back up, in /dev/mapper/ all of the mpathxp#'s are missing. [18:46] Then the only way I can get them back is to run partprobe /dev/mapper/mpathx. [18:46] alamar: All sound advice, for sure. [18:46] I am thinking that a reboot should not cause it to loose the partition maps. [18:46] *lose [18:46] alamar is 100% right [18:46] ersi: it's servers like that which are sending millions of spam mails before their admins EVEN NOTICE it [18:47] so, alamar, what are your top two ways of locking down your servers to prevent them from becoming spam farms, and I'll go google them to learn. [18:47] alamar: I was not saying that one should rush into deploying, without looking at the documentation or taking the 'simple' steps to make sure you won't get instablacklisted [18:47] or just one will get me going. [18:48] Always always authenticate users of your outgoing services [18:48] * kernelpanicker googles 'authenticating users of outgoing mail services' [18:50] "Outgoing authentication" is perhaps a better search term [18:51] ok [18:55] if I have a string of nsupdate commands that appear to do what I want to do, where is the best place on the client to hook them? [18:55] set up dns properly (forward confirmed reverse dns), read up on spf (some server's will not accept mail without proper spf records for your domain), implement proper user authentication, provide ssl, use monitoring(munin/nagios), read the documentation for all used software components(postfix, dovecot, mailman and whatever your authentication backend will be) [18:56] think about using dnsbls/rbls [18:56] think about greylisting and/or whitelisting [18:56] and run ntpd to keep your time in synch if you not already do so [18:57] don't run any other unecessary services, keep up with the security updates for your distribution [18:58] think about using ratelimiting rules in your firewall, maybe use some mechanism like fail2ban to monitor/ban password/account cracking attempts [18:59] test your configuration (at least with http://www.abuse.net/relay.html ) if it can be abused as open relay [19:03] soren: Around? [19:04] I wanted to talk to you about greenlet. [19:04] Shoot [19:06] soren: So.. Firstly.. I had NFI it was monkey patching.. Really confused me why standalone code was working, but not inside openstack :) [19:06] soren: secondly.. Do you know how to NONBLOCK ? [19:07] This crappy snippet works with standard os, but not greenlet monkey patched: os.fdopen(os.open(fpath, os.O_RDONLY | os.O_NONBLOCK)) [19:07] ie, it's blocking. [19:09] Yh. [19:09] Uh, even. [19:09] Sorry, what are you trying to do? [19:09] RoAkSoAx: ping [19:11] soren: so.. I want to open a char device.. so "cat foo" would hang forever as there is no EOF. It's like doing a tail -f. [19:11] Daviey: Ok. [19:11] I want to capture what is there, which is achieved with teh fugly snippet up there using standard os. [19:11] Daviey: So you want it block. [19:12] but the monkey patched os ignores the os.O_NONBLOCK [19:12] no, i want it to NOT block [19:12] Daviey: You're confused. [19:12] Or you [19:12] ah. I bet os.O_NONBLOCK = None in the monkey patched os. [19:12] 're making me confused. [19:12] hold fire.. lemme check my theory. [19:13] Daviey: You say: 'so "cat foo" would hang forever as there is no EOF. [19:13] Yes. [19:13] Daviey: That means it's blocking. [19:13] Non nonblocking. [19:13] yes, i want it to not block. [19:13] Ok... Let's pretend I didn't hear anything but that, shall we? [19:13] :) [19:14] ok :) [19:14] Specifically, I'll ignore all the confusing bits you said. :) [19:14] I'm not sure what part confused.. :/ [19:14] WEll, if "cat foo" *hangs* forever... That means it's blocking. [19:14] correct [19:14] ...but you say you want non-blocking. [19:14] That's confusing. [19:14] Or a *REALLY* bad example of what you want to do. [19:14] I want to cat foo and for it to NOT block. [19:15] Aha! [19:15] Awesome. [19:15] Ok. [19:15] So.. [19:15] This is why I hate eventlet. [19:15] my theory is that os.O_NONBLOCK is not implemented. [19:15] You don't get to play with non-blocking I/O. [19:15] It does it for you and you only get to pretend you're dealing with blocking I/O. [19:17] eventlet means that every event "blocks" but returns control to the event loop, right? [19:17] So all your code ends up looking like it's using blocking I/O, but behind the scenes, eventlet does a buch of magic to make it non-blocking. [19:17] Yes, the is easier for people who don't grok how to write proper async code, but it's really, really confusing if you do. [19:18] SpamapS: That's essentially what ahppens behind the scenes, yes. Hidden away. Unless you go and look, you haven't a clue there's such a thing as an event loop. [19:18] For better or worse. [19:18] soren: both values of os.O_NONBLOCK == 2048.. So it gets deeper.. *sigh* [19:19] Daviey: You need to stop making assumptions about anything. [19:19] Daviey: Because eventlet probably monkey patched those assumptions to no longer be true. [19:20] soren: Well i mean, 2048 is a value in both patched and pure os. However, the 'deeper' means it's not implemented within greenelt. [19:20] Daviey: Do you have some code that demonstrates your problem that I can help you debug? [19:21] soren: It would be easier for you to share my env tbh. Give me a few. [19:21] Daviey: ok, cool. [19:24] soren: ssh ubuntu@91.189.93.86 -t bash ; sudo -s ; screen -xr [19:25] soren: The only window running vi is the one to grok [19:29] Daviey: What are you trying to achieve again? Does the existing code not work? [19:30] Daviey: I wonder how longs it's been since I wrote the Xen code. It's not entirely impossible it predates the eventletification. [19:31] soren: sniffing bug 832507, and using a ring buffer, rather than a standard file. [19:31] Launchpad bug 832507 in nova "console.log grows indefinitely" [Low,Confirmed] https://launchpad.net/bugs/832507 [19:31] koolhead17: pong [19:31] RoAkSoAx: do you have few minutes? i got few questions. [19:32] koolhead17: sure [19:32] soren: so get consolelog blocks using standard os read() as it doesn't EOF [19:32] cool [19:32] Daviey: ...for Xen. [19:32] soren: I'm only testing against kvm/qemu atm [19:33] Daviey: That doesn't make any sense. [19:33] Daviey: kvm logs directly to a file. [19:33] Daviey: A plain file. It absolutely EOF's. [19:33] soren: which is the roblem. [19:33] problem. [19:33] I understand that that is the problem outlined in the bug. [19:33] 20:31 < Daviey> soren: sniffing bug 832507, and using a ring buffer, rather than a standard file. [19:33] Launchpad bug 832507 in nova "console.log grows indefinitely" [Low,Confirmed] https://launchpad.net/bugs/832507 [19:34] Ok, you've lost me somewhere. [19:34] kvm logs to a file. [19:34] This file can grow indefinitly, which is really bad. [19:34] Now, where does the need for non-blocking I/O come into the picture? [19:34] soren: Yes, which is why i am sniffing using a ringbuffer char device, rather than a plain test file. [19:35] text file* [19:35] A.... ringbuffer char device? [19:35] Enlighten me please. [19:35] soren: emlog [19:35] soren: http://www.circlemud.org/jelson/software/emlog/ [19:36] RoAkSoAx: 1. i am using cobbler system for adding a specific system and i have defined it to acquire static IP in th preseed like this http://pastebin.com/Mw7UiVNB but its failing. [19:36] soren: WIP - http://paste.ubuntu.com/677426/ [19:37] Daviey: Oh, and it doesn't only support Linux 2.2. It supports Linux 2.4, too! [19:37] Oh, wait. [19:37] koolhead17: what's failing? [19:38] soren: I'm actually using a fork :) [19:38] netcfg/choose_interface=eth1 as additional kopts [19:38] RoAkSoAx: it fails to assign this static IP after reboot, rather i would say it just takes DHCP ip for installing the whole system :( [19:39] am trying to provision Oneiric :D [19:39] soren: BTW, if you have a better idea.. i'm all ears :) [19:39] koolhead17: right, so on installation it doesn't use the values you passed on the preseed but rather it used DHCP? [19:39] RoAkSoAx: yes [19:39] koolhead17: so when you reboot, it does not have the network values you have specified [19:39] yes [19:40] koolhead17: that might be a problem of the installer, ping cjwatson [19:40] koolhead17: other thing you can do, is enable DHCP on cobbler, and set the values for the system, so you configure your network to obtain DHCP from the cobbler server [19:41] RoAkSoAx: yeah i tried that as well, inside cobbler system options, even it fails [19:41] * koolhead17 pokes cjwatson: [19:41] koolhead17: it shouldn;t fail, I have it working [19:41] soren: So that patch does work, when using the standard os for read()'ing the file. [19:42] koolhead17: I'd recommend you use dnsmasq [19:42] sudo vim /etc/cobbler/modules.conf and enable DHCP [19:42] for dnsmasq [19:42] and then in /etc/cobbler/settings [19:42] koolhead17: then on a system add an interface with MAC, IP address etc [19:43] RoAkSoAx: i have currently dhcp server whose configuration file is fetched via cobbler only. [19:44] also if i have a configuration in my profile and am using that with my system, will cobbler overwrite the parameters of that profile for my syste? [19:44] *system [19:45] RoAkSoAx: am going to remove this configuration from my preseed and add everything in systems file as you suggested. [19:45] soren: I don't think it can be piped to rotatelog. The other option is logrotate, but that will react too slowly. ISTM that this is a cleaner solution. [19:45] koolhead17: the way how we are doing it in orchestra is enable dhcp on the cobbler server and add systems with the information we want the dchp server to provide [19:46] (Being a non-standard kernel module, would need to be opt-in) [19:46] Daviey: I don't know.. A kernel space solution seems wonky to me. [19:46] RoAkSoAx: ooh, you mean hard coding approach, everything handled by the DHCP server, as we often do in practise with print server in network? [19:47] koolhead17: right, but when iun a cobbler system you add the information for the network for that particular system, then cobbler handless DHCP automatically [19:48] soren: Other ideas? [19:48] gah [19:49] soren: The only other thing i can think of is polling the serial port.. ? [19:49] Daviey: Why don't you think rotatelogs will work? [19:49] soren: Can kvm et al pipe it's output? [19:49] RoAkSoAx: yes i will add ip/subnet/gateway in my systems for particular provision and at same time write the same in dhcp.conf (populated by cobbler) right? [19:49] Daviey: named pipe? [19:50] soren: So i looked at a FIFO first, but you can't limit the size? [19:50] and FIFO would block, unless it has something cat'ing it [19:50] Daviey: If we were to poll the serial port.. How would that work? I hope kvm wouldn't block waiting for us to read from its serial port buffer. [19:50] soren: Honestly, i don't know.. But i did look at using a FIFO first.. but that seems to have the same problems. [19:51] Daviey: Yeah, that's a fair point. killing rotatelogs would hang kvm => suck. [19:51] koolhead17: yes [19:51] koolhead17: though, bye default in orchestra we are using dnsmasq [19:51] soren: This emlog is essentially a fifo which is a ringbuffer. [19:51] erk. [19:51] rotatelogs isn't the way to go. [19:51] I forgot its semantics. [19:52] New bug: #832507 in nova "console.log grows indefinitely" [High,Confirmed] https://launchpad.net/bugs/832507 [19:52] soren: There is a userspace (perl) fifo ringer implementation, but that seemed much dirtier. [19:52] Daviey: Have you heard of vbuf? [19:52] (I hadn't) [19:53] Uses libvrb (which I also hadn't heard of) [19:53] soren: isn't that a circular char device? [19:53] as in, when it reaches the bottom it writes to the top? [19:53] I'll know in a few minutes. :) [19:55] heh, i've not used vbuf TBH.. but that was my memory. [19:55] At any rate, this isn't hard to solve entirely in userspace with a separate helper. [19:55] If we just want to solve our own problem, that is. [19:56] If we want to write a general-purpose ring-buffer thingamajig I imagine it'll get hairier quickly. [19:56] but.. [19:56] Hm. [19:56] well it's crazy we don't have something like this in stock kernel TBH. [19:57] soren: Looking at the man page for vbuf - looks like it would need a named pipe to use as input.. meaning you can still own the server. [19:58] p0wn? Wow, i struggle to keep up with the language. [20:00] Daviey: Let me see what libvirt can do.. [20:04] soren: tcp could work, that would mean it would need a listener to suck it in. [20:05] Hmm, unix socket would be cleaner and easier to track i suppose. [20:09] Daviey: Trying to work out how kvm would respond to a named pipe whose consumer went away. [20:10] soren: normally the consumer going away kills the push? [20:11] as in, when i tried this with cat /dev/random > fifo & ; cat fifo ; sleep 10s ; kill second cat, kills the first cat. [20:11] Yeah. [20:14] smoser: http://pastebin.ubuntu.com/677445/ [20:14] smoser: is the PPA stuff fixed? [20:15] RoAkSoAx: is that because the node doesn't have access to the keyserver? [20:15] well that i just an update there. [20:15] try re-running that command on the instance and see what happends [20:15] Daviey: that, but there was a recent change with python-software-properties that broke cloud-init too [20:16] smoser: but the stuff of importing PPA's is fixed? [20:19] RoAkSoAx, it should have been. [20:24] smoser: ok cool thanks [20:24] * RoAkSoAx will be back in half an hour === himcesjf1 is now known as himcesjf [20:30] I have a question about ubuntu 10.04 server with multipath drive arrays attached. http://paste.ubuntu.com/677378/ is my multipath listing. http://paste.ubuntu.com/677380/ is my ls -al from /dev/mapper/ [20:30] All is good until I reboot the server. When it comes back up, in /dev/mapper/ all of the mpathxp1's are missing. [20:30] Then the only way I can get them back is to run partprobe /dev/mapper/mpathx. [20:30] I am thinking that a reboot should not cause it to lose the partition maps. [20:33] glebaron, so what's your /etc/multipath.conf look like? [20:34] ppetraki: http://paste.ubuntu.com/677457/ [20:37] glebaron, have you rebuilt your initramfs since creating this file? [20:37] glebaron, is multipath-tools-boot also installed? [20:39] Just wondered, is there something similar to "fpaste" in Fedora? [20:40] soren: cracked it! [20:40] Daviey: Cool! [20:40] glebaron, two nits with your config file, 1) blacklisting sda isn't deterministic, you can blacklist by make/model instead [20:40] i'm not saying it is the best solution, but at least an option. [20:41] glebaron, 2) change product "VTrak" => product "VTrak.*" [20:42] glebaron, don't want to be the victim of some regexp ambiguity, even though it's working now [20:42] ppetraki: thanks for tips. [20:42] I am not only one working on this server, so I will answer to the best of my knowledge. [20:42] glebaron, if you have -boot installed, multipath is run in the initramfs, against the config file, which should create all your maps [20:42] glebaron, np [20:43] glebaron, if you're *not* booting from SAN *and* these maps aren't being created, that's an interesting problem [20:43] ppetraki: -boot is installed and intramfs has been updated recently. [20:43] hello everybody! anyone here know how to make apache case insensitive… [20:44] ppetraki: but we are booting from local disk and not san. [20:44] say www.GOOGLE.com or GoOGle.com will redirect to a local page like www.Google.com btw, this is the when listing for external web request [20:45] I hope that I explained that correctly.. [20:45] glebaron, so those udev rules should have been run when the block devices were added initially. [20:45] glebaron, something went wrong [20:46] glebaron, you should be able to run 'multipath -v0' to create new paths. For example, multipath -F, will clear all unused paths, and multipath -v0 should recreate them [20:47] glebaron, what version of ubuntu is this? [20:47] ppetraki: 10.04 Server 64-bit [20:49] anyone know how to make apache case insensitive? [20:50] yakster: it inherits the restrictions of Linux [20:50] RoAkSoAx: not tried dnsmasq before, currently working on some automation. will read up on it. [20:50] Linux is case sensitive [20:50] correct… [20:50] yakster: therefore, Apache is case sensitive [20:50] I understand that…. [20:50] there's no real method to change that [20:50] Err.. [20:50] there is. [20:51] http://httpd.apache.org/docs/current/mod/mod_speling.html [20:51] ppetraki: thanks so much for input. Things already looking a lot better. [20:51] but say I have a webpage, and the what that it was posted is…. http://MySite.dyndns.info/Welcome.html and my dad, being the super smart guy he is, just types in http://mysite.dyndns.info/WELCOME.HTML he is going to get a 404 error, page not found… [20:51] soren: orly? *checks* [20:51] soren: is it in the repos? [20:52] glebaron, here's an example of make/model blacklisting: http://lists.alioth.debian.org/pipermail/pkg-lvm-maintainers/2010-May/002910.html [20:52] glebaron, lsscsi is your friend [20:52] ppetraki: Will have to wait for a day or so to reboot and see if it's fixed for good. [20:52] glebaron, I understand, what interconnect are you using? SAS? [20:53] ok, that is great if I have an illiterate person accessing my site, but not for one who likes to type in proper case text. [20:54] soren: ping [20:54] TheEvilPhoenix: Sure. [20:54] RoAkSoAx: thanks. i will update you about development tomorrow. :) [20:54] TheEvilPhoenix: in apache2.2-bin, even. [20:54] RoAkSoAx, http://paste.ubuntu.com/677474/ [20:54] koolhead17: What's up? [20:55] that is output of an oneiirci instance with cloud-config from http://paste.ubuntu.com/677475/ === mrmist is now known as evilmrmist [20:55] so it seems its working to me. [20:55] ppetraki, I do not know about interconnect. Promise unit is SATA disks direct connected via fiber. I inherited it already hooked up. Is there an easy way to find out? [20:56] jdstrand: hi - in the qrt, the libvirt testsuite help starts with [20:56] USAGE: *** DEPRECATED *** [20:56] glebaron, yeah, its SAS, it can support either, I looked it up [20:56] I don't understnad. what is deprecated? [20:56] ok, how do i enable that mod spelling [20:56] soren: doing great. need your mail id. working on jenkins/open stack automation might need your help on that. [20:56] soren: how do i activate that module? [20:57] hallyn: let me look [20:58] TheEvilPhoenix: sudo a2enmod speling, presumably. [20:58] koolhead17: soren@openstack.org [20:58] soren: thanks :D [20:58] hallyn: can you paste with the command? [20:59] soren: dude! [20:59] glebaron, make sure you update the initramfs to reflect your new changes before you reboot. If you continue to have problems we'll have to dig into debugging starting with why the udev rules didn't have the desired impact [20:59] * koolhead17 needs to dig deep inside jenkins now :D [21:00] jdstrand: doh! I was looking at the libvirt-aa-secdriver.sh [21:00] Recon I don't need to be running that by hand :) [21:00] hallyn: oh yes, don't use that :) [21:00] jdstrand: Dude, indeed! [21:01] ppetraki, thanks. I am already understanding much better. I will update initramfs and reboot soon. If that doesn't work, I will be back with more questions! [21:01] glebaron, :) [21:01] hallyn: that has all be converted over anyway to test-libvirt.py anyway [21:01] nope that didn't work… [21:01] soren: :) [21:05] just tried it, and it dosent even remotely work.. [21:06] hello? [21:08] quiet all the sudden [21:13] hallyn: nice fix on the qemu-kvm package. [21:16] hallyn: FYI qemu-kvm 0.15 final just hit experimental. [21:18] smoser: BTW, i had a kernel panic rebooting an instance earlier. === evilmrmist is now known as netralmrmist === netralmrmist is now known as neutralmrmist [21:19] smoser: It *might* have been my fault, but mentioning it JIC http://pb.daviey.com/KKOF/ [21:33] Daviey: on qemu-kvm 0.15... anything more i can do to help that along? === neutralmrmist is now known as mrmist [21:42] hallyn: I think we really need to open that issue post b1. [21:43] I really don't want to screw b1 if it turns ut bad. [21:43] out* [21:48] Daviey: ok [22:12] hey [22:12] for some reason samba suddenly stopped working [22:13] my server still shows up on the network [22:13] but when I try to connect from my windows netbook, it tells me there's no anser/connection === Robinux is now known as sw0rdfish [22:29] Who wants to earn a gold star? [22:30] Someone fixing bug #837049 would make me very happy! [22:30] Launchpad bug 837049 in php5 "php5 FTBFS (amd64 only)" [High,Confirmed] https://launchpad.net/bugs/837049 [22:42] hey all [22:43] i want to secure my server with ssh key auth instead of password auth [22:43] New bug: #837049 in php5 (main) "php5 FTBFS (amd64 only)" [High,Confirmed] https://launchpad.net/bugs/837049 [22:43] my only issue is adding all of the machines i need before disabling password auth - should i just reuse the same key for all machines? what do i do for mixed environments? some of the machines accessing the server are linux, some are windows.... [22:45] arrrghhh: it's a per-user thing. Each user has their own private key on their machine, and their public key is installed on their servers in user accounts that you want them to have access to. [22:45] *your servers* [22:46] yes [22:46] well this is one server [22:46] and i am always the client machine [22:46] but i have many clients [22:46] cell phone, work PC, home laptop (win&lin) [22:46] then i run into the issue of "other machines" [22:46] the private key has to be on each of those. [22:46] i rarely need to access my server from other machines, but what do i do when i run into a client that isn't setup? [22:47] ok so you'd recommend i get all the keys setup, then disable pass-based auth? [22:47] just copy the private key to that machine. [22:47] yes. [22:47] ok [22:47] i guess copying the private key seems difficult across platforms [22:47] private keys for putty don't seem compatible with linux and visa-versa... no? [22:47] they work. [22:48] It's not optimal. [22:48] i remember them not working. or perhaps i didn't know how to get it to work? [22:48] ok [22:48] so i should have a ppk for putty for windows clients, and another key for linux perhaps? [22:48] yes. [22:49] we have windows users using putty ppk on their windows machines [22:49] and connecting to linux servers. [22:49] and we have linux/mac users using regular ssh keys. [22:49] but we don [22:49] t [22:50] normally put putty keys on any client other than windows. [22:50] ah [22:50] ok [22:50] i think that was my problem [22:50] last time i was trying to have one key for all clients [22:51] and i ran into issues trying to get putty to work with linux priv key, or visa-versa. [22:51] thanks [22:51] :) [23:23] crap glebaron left. [23:24] how do i transfer the client key to the host from Windows/putty...? [23:30] crap [23:37] ssh-copy-id makes it easy on linux, but it's as simple as putting the public key into ~/.ssh/authorized_keys on the server [23:38] just ssh in, edit that file, and copy/paste [23:38] arrrghhh, ^ [23:38] oh [23:38] ok [23:39] qman__, i don't have an authorized_keys file in .ssh... [23:39] would it be in /etc? [23:39] no [23:39] the file doesn't exist until at least one key is put there [23:39] create it [23:39] heh [23:39] ok [23:40] the permissions also have to be right [23:40] 600 IIRC [23:40] 700 actually i think [23:40] 600 on mine [23:40] hrm [23:40] 700 would be executable [23:40] no need to execute keys [23:40] yea that's true. [23:40] ubuntu guide said 700 [23:40] folder should be 700 [23:40] file should be 600 [23:40] oic [23:41] makes sense [23:41] so i can just take the ppk file [23:41] and paste the "private-lines" into an authorized_key file..? [23:42] no [23:42] public key [23:42] not the private key [23:42] ah right [23:42] private key is client only [23:42] private key goes to the connecting client [23:43] server refused our key [23:44] heh === medberry is now known as med_out [23:44] all i did was paste the public key in [23:44] and took all the end keys out [23:44] so it's one long line... [23:44] that's correct [23:44] hrm [23:44] each public key you want to allow connections from, goes on one line in the file [23:45] ok [23:45] anything else on that line? [23:45] nope [23:45] just the jibberish that involves the public key? [23:45] hum [23:45] why would the server refuse my key then? [23:45] like this [23:45] oh key based auth might not be enabled. [23:45] ssh-rsa AAAAB....8= ryan@amdk6 [23:45] oh [23:46] i didn't have the ssh-rsa [23:46] or the machine @ the end [23:46] ssh-rsa at the front, description at the back [23:46] it can be anything, mine happens to be user@host [23:46] ah, and my authorized_keys is in /etc for some reason. [23:46] yes, but that's machine wide [23:46] hrm [23:46] ok [23:46] I assume you don't want to allow connections as any user on the machine from your key [23:46] no [23:47] i only have this one user, but still no :P [23:47] a default install has over 20 users [23:47] yea [23:47] well [23:47] i've only created one user [23:48] so what do i put in for the machine @ the end [23:48] doesn't matter? [23:48] cuz it's still rejecting my key. [23:48] can be anything, it's just a description field [23:49] so why else would the server refuse my key? [23:50] plenty of possible reasons [23:50] heh [23:50] I'd check /var/log/auth.log [23:50] k [23:50] see if it says why [23:51] i see accepted passwords [23:51] but no 'rejections' or anything similar from sshd [23:52] how can i tell that it's pulling from this authorized_keys file...? [23:54] ah [23:54] it is pulling from /etc/.ssh/authorized_keys [23:54] so should i change that in the sshd_config...? [23:54] looks like your home directory isn't set up right [23:54] what does cd ~ do? [23:55] puts me at the user@nas:~$ prompt [23:55] pwd [23:55] there [23:55] /home/user [23:55] did you set encrypted home directories? [23:55] nope [23:56] and the file you created is /home/user/.ssh/authorized_keys [23:56] yes [23:56] and /home/user/.ssh is chmod 700 [23:56] and /home/user/.ssh/authorized_keys is chmod 600 [23:56] drwx------ 2 user user 4096 2011-08-29 17:42 .ssh [23:57] er i don't think auth_keys is 600 hold on [23:58] k it's 600 now [23:58] and i still get server refused our key [23:58] (i removed the /etc/.ssh directory) [23:58] so this line [23:58] AuthorizedKeysFile /etc/.ssh/authorized_keys [23:58] in my sshd_config [23:58] doesn't matter..? [23:58] i shouldn't change that? [23:59] mine doesn't have that line [23:59] try commenting it out and restarting sshd [23:59] k [23:59] lol [23:59] i recall vaguely doing that. i wish i knew why.