[01:04] Dinking around with AjaxPlorer. Install instructions say "Make sure that the « data » sub-folder is writeable by the webserver." [01:05] Anybody have recommendations on the property "sudo chmod -R" command for that? I'm crappy with permissions... [01:06] would be more than that [01:06] unless you make it writable by all [01:06] Writable by all would be a little bad wouldn't it.... :-( [01:06] depends on many things, but generally, yes [01:08] Correct me if I'm wrong, but can you assign 755 to just the "www-data" user.... Wouldn't that do the trick in Ubuntu? [01:09] yes, and kill whoever needed to edit/modify/... it [01:09] plus means the web user has more permissions than probably needed, like making changes to that program itself [01:09] normally you just set the group to www-data [01:09] and give group write access to what is needed [01:10] Super_Dog: i usually add my user to the www-data group and set the permissions to 775 [01:10] Do you mean 775 or 755? [01:10] then chown www-data:www-data /var/www -R [01:11] Super_Dog: i mean 775 [01:11] that is way overkill [01:11] how is it overkill? [01:11] just like I said above [01:11] the webuser can EDIT and MODIFY anything in the program [01:12] and yourself? [01:12] nothing? [01:12] leave user alone, why change it? [01:12] because it needs to actually do stuff? [01:12] heh? [01:12] Am trying to just AjaxPlorer.... [01:12] since when does the user have anything to do with that? [01:12] it's pretty awesome having a /var/www that you can't even setup stuff in [01:13] Am a moderately experienced Ubuntu desktop user and relatively new to the Ubuntu Server platform [01:13] patdk-lap: oh i don't know, perhaps when you need to : git clone repourl:project-name ./project [01:13] hmm? [01:13] but hey, maybe the "webuser" magically does this with ESP [01:14] why am I git cloning a website? [01:14] if you need to ask that question, then i am at a loss for words [01:14] I wouldn't do it into /var/www [01:15] Guys... I didn't understand a single thing you are talking about... :-) [01:15] I keep the websites owned by a user [01:15] and let the webserver access it [01:15] no reason for the webserver to own it [01:15] patdk-lap: and then the www-data user can't write... more awesome [01:15] why can't it write? [01:15] because it doesn't own it? [01:15] because you left it at 755 [01:16] as I said, that is what I use group permissions for [01:16] who said I left it at 755? [01:16] did you not read ANYTHING I said? [01:16] yes, and kill whoever needed to edit/modify/... it [01:16] plus means the web user has more permissions than probably needed, like making changes to that program itself [01:16] normally you just set the group to www-data [01:16] and give group write access to what is needed [01:17] So let's say I'm a normal human being that doesn't know Ubuntu from his elbow.... When they tell me in the install manual to, "Make sure that the « data » sub-folder is writeable by the webserver" what do I do when it appears I have successfully installed the LAMP stack in Ubuntu? [01:18] I have a www-data group it appears.... [01:18] I presume that is the user that has privileges in the /var/www directory.... [01:19] apparently you only let "A Group" write to "A Folder", then when your application fails becuase it can't write you come back here [01:19] Airtonix: You said "I usually add my user to the www-data group and set the permissions to 775"... Pray what command do you issue to make that happen? [01:19] Super_Dog: ls -al /var/www will show you what user and group have ownership [01:20] Super_Dog: you add users to groups with : sudo adduser USERNAME GROUPNAME [01:21] Super_Dog: you set permission bits with : sudo chmod 775 PATHNAME [ -R ] << where -R is optionally recursive [01:21] ok so if I have a user joseph I could issue: sudo adduser joseph www-data ? [01:21] Super_Dog: apparently you should be making a group called "AwesomeDevelopersGroupThatHaveWriteAccessToThisOneFolder" [01:22] and adding yourself to that group, then change ownership of your virtualhost folder under /var/www to be owned by taht group with : sudo chown :AwesomeDevelopersGroupThatHaveWriteAccessToThisOneFolder /var/www/VIRTUALHOST_FOLDER -R [01:26] It says that user 'joseph' is already a member of `www-data'. [01:32] sudo chmod 775 /var/www/ajaxplorer/data -R - Does this look right? [01:33] I've added the users who should have access to this to the "www-data" group it appears.... [01:36] Guys.... Only works when I do following: [01:36] sudo chmod 777 /var/www/ajaxplorer/data -R [01:37] I know that's probably bad.... (Sorry, permissions have been the bane of my existence and I am an admitted retarded idiot when it comes to Ubuntu Server permissions.) [01:37] Any ideas? [02:52] there any issues [02:53] with latest ubuntu server edition(went 32bit to save memory) [02:53] save memory? [02:54] yeah [02:54] 64bit version naturally uses more [03:02] I choose ubuntu over centos because ubuntu just easier for me to compile stuff [03:02] but need kind memory usage [03:14] hmm, 10.04 32bit installs with only 23megs ram usage [03:47] sudo apt-get install lighttpd php5-cgi [03:47] says it can't find either package, any ideas? [03:48] have you enabled universe? [03:49] I don't think those are in main, though I could be wrong [03:49] qman no [03:49] how do I do that [03:49] sudo vi /etc/apt/sources.list, uncomment the lines in the universe section [03:49] sudo apt-get update [03:50] this isn't gonna install a bunch of intense apps right? my only constraint is memory [03:50] 256MB [03:50] no, it will only allow you to install more software [03:50] it doesn't install more software by itself [03:50] thanks [03:51] you won't be doing large downloads from php will you? [03:51] it will use slightly more disk space to cache the available packages [03:52] but we're talking kilobytes [03:52] don't see any lines commented [03:52] I see [03:52] deb http://archive.ubuntu.com/ubuntu natty main restricted universe [03:52] deb http://archive.ubuntu.com/ubuntu natty-updates main restricted universe [03:52] deb http://archive.ubuntu.com/ubuntu natty-security main restricted universe [03:52] last one is deb http://archive.canonical.com/ubuntu natty partner [03:53] patdk and no, no php big downloads [03:54] although my VPS is on a 1Gbps hehe, and cpu is good [03:54] php probably uses lot of mem for big downloads [03:54] no, lighttpd does [03:54] lighttpd buffers anything external into ram [03:55] really? I thought that was the point [03:55] low memory consumption [03:55] so if you send a large file via php/proxy/... [03:55] no [03:55] lighttpd isn't about low memory comsumtion [03:55] it's about being fast [03:55] "With a small memory footprint compared to other web-servers, effective management of the cpu-load, and advanced feature set (FastCGI, SCGI, Auth, Output-Compression, URL-Rewriting and many more)" [03:55] it normally uses small memory [03:55] but it buffers first [03:56] herm, well do you recommend a different web server then? [03:56] if you send a 1gig file from php, lighttpd will allocate 1gig of ram to hold it [03:56] if I go over 256 is goes into vswap [03:56] have anothre 256 there too [03:56] well, normally you don't have to worry about it, don't send large files, or if you must, use x-sendfile [03:56] FYI, I run apache on real hardware with 256MB [03:56] along with plenty of other stuff [03:56] without any issues [03:56] apache dies easy though [03:57] is the reason i'm using alternative web server [03:57] * patdk-lap has never seen apache die [03:57] same [03:57] http://www.kalzumeus.com/2010/06/19/running-apache-on-a-memory-constrained-vps/ [03:57] most likely you use bad apache modules [03:57] this guy has [03:57] claimed it was lot of traffic and apaches keep alive default time [03:57] that's all adjustable [03:57] apache died for him cause of bad config [03:58] and more likely a problem with the VPS software [03:58] and he hitting the oom [03:58] not apaches fault [03:58] not saying don't try other things, just that apache is not the culprit here [03:58] so you think apache is better at mem than lighthttpd? [03:59] I never said that [03:59] i've never really heard apache described as anything besides bloated and complicated config [03:59] I use lighttpd, and love it, and it is low mem for me [03:59] I use it with xamp and my regular server but is pre config so [03:59] but it does BUFFER first, than attempt to stay low mem [03:59] ok [03:59] so it is possible for lighttpd to use gigabytes of ram, easily, if you are stupid enough to let it [03:59] configuring apache is not very complicated [03:59] so any ideas why I can't get this download to work? when config file seems ok? [04:00] it's bloated compared to minimalist servers, but not compared to other featureful servers [04:00] i'm gonna google regardless but if you know i'dr ather not waste hours [04:00] have you done apt-get update? [04:01] doing that right now [04:01] heh, you always update, before attempting to install [04:01] package versions change often [04:01] ;D [04:01] for example, IME, apache blows IIS7 out of the water in terms of performance [04:01] it's all relative [04:01] is IIS suppose to be good? [04:02] if you ask microsoft it is [04:02] I just remember in the 90's all the flood of exploits for it [04:02] heh for iis7? [04:02] never read about performance [04:02] nah older iis i'm sure [04:02] iis5 wasn't nice [04:02] iis6 is ok [04:02] iis7 has been good so far [04:02] yeah, iis5 was the disaster area [04:02] the update fixed it, thanks [04:02] they learned the lesson for the most part and have tried to be secure by default [04:03] nice :D [04:03] I wish windows had more linux like everything only a few commands away [04:03] * patdk-lap still puts apache + mod_security infront of iis [04:03] that's only thing i really like about linux [04:03] start using powershell? :) [04:03] in my opinion, powershell tried to fix that, but failed miserably [04:03] it's so obtuse and awkward, it just doesn't work [04:04] ya, I made some mixed powershell + vbs scripts, that work good though [04:04] that's unfortunate [04:04] I love me some VBS scripts [04:04] confusing as hell, that you talk both languages in one file, but you can't mix them [04:04] COM rocks [04:04] powershell is useful but it's not smooth or cohesive [04:04] nothing like bash [04:05] man, I made a private key, and I can't locate it anywhere [04:05] microsofts one framework is really nice too, the one to get all the info [04:05] also, you can cause a BSOD by running ps | kill [04:05] can't think of the name, wrote enough code to use it, you'd think i'd know [04:06] vbs can access it too [04:06] oh WMI [04:07] can evne control CPU speed with it, with some computers [04:07] comes on all windows that I know of [04:07] or CPU fan speed rather [04:08] linux memory management also threw me for a loop when i spent hours trying to figure out why I couldn't free memory allocated with pthread stack [04:09] like I could on windows, turns out linux sees memory different, if its not used it's considered wasted [04:10] but then again even at max mem swap was never touched, so I guess it's really just cached mem not the actually stats [04:11] yeah, you have to count less buffers and cache [04:11] http://www.slideshare.net/haish/linux-memory-consumption good overview [04:11] the kernel is very good at utilizing free memory to speed up the system [04:12] qman makes sense [04:12] just makes me uncomfortable when I see 90% used [04:12] but i'll get use to it [04:13] if it bothers me that much may just switch from pthreads to forks, because when the processes are killed they free [04:17] who is using vbox with ubuntu server? [04:18] I can't mount vbox guest addition cdrom on ubuntu guest server [04:18] no one? [04:18] no one [04:18] that's going to be a question for virtualbox people [04:18] unless they included a deb for it, it's probably not going to work [04:19] i was asking there [04:20] no one is responsive after a while. [04:20] they're a pretty active bunch at times they may just not know [04:20] you try googling? [04:24] got lighthttpd and php going well, fastcgi enabled too [04:24] ubuntu rocks, now need to go after mysql, heard it's a memory pig [04:25] how to clear all iptables entries? [04:25] mysql is hardly a memory hog [04:25] patdk-lap that's good then :) [04:25] how to clear all iptables entries? all know it is to list with "iptables -L" but I dont know how to clear. [04:31] hi all , mine is similar to this "http://askubuntu.com/questions/58817/squid-proxy-not-working-using-ubuntu-server-10-04-and-two-nics-one-is-connecte". but no answer yet [04:34] hi all , mine is similar to this "http://askubuntu.com/questions/58817/squid-proxy-not-working-using-ubuntu-server-10-04-and-two-nics-one-is-connecte". but no answer yet [04:37] linocisco: iptables -F [04:37] linocisco: note that this only flushes the *filter* table.. there are others... 'man iptables' will explain them [04:38] SpamapS, thanks. I would try. btw, could you also look at http://askubuntu.com/questions/58817/squid-proxy-not-working-using-ubuntu-server-10-04-and-two-nics-one-is-connecte [04:38] SpamapS, i dont know why mine is not successful like that [04:47] linocisco: I think I have an answer for that one. [04:51] why does /etc/resolv.conf have to be a symlink? [04:52] airtonix: it doesn't! [04:52] SpamapS: apparently it does! [04:53] airtonix: but, without resolvconf, you won't adapt to network changes properly [04:53] SpamapS: who said anything about not having a resolvconf? [04:53] airtonix: the package resolvconf [04:54] 1. install bind 2. rm /etc/resolv.conf 3. echo "nameserver 8.8.8.8" | sudo tee /etc/resolv.conf 4. sudo service bind restart 5. recieve error 6. slow clap [04:54] so again... [04:54] airtonix: apt-get remove resolvconf [04:54] why would i do that on a server ? i didn't install it [04:55] its part of ubuntu-minimal [04:55] shouldn't ubuntu server require the software it's installed with by default? [04:55] since you know... that's the image i installed.. ubuntu-server [04:55] but its only Priority: important , so you can remove it [04:55] airtonix: no, a lot of that stuff is there as a convenience. [04:56] could have fooled me [04:56] airtonix: resolvconf is actually quite handy for dealing with a dynamic environment. And for static environments, it should leave your stuff alone. [04:56] i'm on ubuntu-server... i install bind.. i expect to not have problems like this [04:58] airtonix: I can see that you've been inconvenienced by this, and you have an idea of how you'd like things to work. Now is a great time to file a bug report. Perhaps against 'ubuntu-minimal' with 'apport-bug ubuntu-minimal' [04:58] so here is what will happen. i'll take your word for it that resolvconf isn't required by anything else, i'll remove it and my server will die. [04:59] Anybody run across this before? http://pastebin.com/LqvtaJQK [04:59] large flames will consume it [04:59] set locale problem? [04:59] airtonix: if your server dies because you remove resolvconf, then something did not declare the dependency properly and that is most *definitely* a bug. [05:03] airtonix: btw, if you read 'man resolvconf' it explains how to make sure your static interfaces push their configs into resolv.conf [05:05] * SpamapS notices that 'man interfaces' doesn't explain this, nor does 'man resolvconf' .. filing bugs [05:35] hey [05:35] is anyone online :) [05:36] airtonix: bug was already reported almost a month ago btw: bug #934237 [05:36] Launchpad bug 934237 in ifupdown "Manual pages should mention dns-nameserver and dns-search" [Undecided,Invalid] https://launchpad.net/bugs/934237 [05:36] cool [05:36] airtonix: did your server imoliate itself yet? [05:36] hey I'm having some issues transferring my ssh key [05:37] i keep getting a connecting timed iout error [05:37] yes it's currently a hazard zone now [05:38] any tips? I'm kinda scared to keep ssh running right now :S [05:38] there have been 4 attempts to hack it with multiple ip's today [05:38] jayjay: sorry, I don't understand the question. How are you trying to "transfer your ssh key" ? [05:39] Sorry i was not clear. I am trying to transfer my ssh key from my ubuntu 10.04 server onto my laptop with this command ssh-copy-id @ [05:40] i keep getting this error ssh: connect to host XXX.XXX.XX.XX port 22: Connection timed out [05:41] then you either have the wrong address or it's firewalled [05:42] its firewalled [05:42] i have shorewall installed [05:42] but i users the shore wall stop command [05:43] do i need to remove shore wall to be able to do this? [05:43] not likely [05:43] you need to add an exception [05:43] i can connect to ssh via my laptop [05:43] i just can't transfer the key [05:43] i added an exception for ssh [05:44] SSH/ACCEPT net $FW [05:44] wait, are you trying to connect to SSH on the server, or on the laptop? [05:45] because if you're trying to connect to the server from the laptop, you need to also transfer the key to the server from the laptop [05:45] the client's key needs to be placed on the ssh server [05:45] oh? [05:46] the laptop is the client [05:46] the desktop is the server [05:46] then you need to run ssh-copy-id on the laptop [05:46] yes i just ran that command from the laptop as ssh-copy-id SERVER IP [05:47] it worked this time =D [05:48] test [05:48] yeah, it always goes that way [05:48] ok after the command, it asked me to enter my password [05:48] I was unsure because all my linux boxes run sshd [05:48] can i disable the password in the ssh config file and still be able to connect to the ssh server? [05:49] the way ssh-copy-id works, it logs in over SSH to copy the key [05:49] after that, you should be able to log in without entering an SSH password [05:49] though you may have to enter a key password, depending on how you created the key [05:50] no i did not [05:50] when i made the key i left the password option blank [05:50] ok, in addition to that, your client has to actually look for and use the key [05:50] I'm guessing since ssh-copy-id worked, it'll use it [05:51] default is ~/.ssh/id_rsa [05:53] Uhgggg now my laptop will not connect to it at all :I [05:57] :( [05:57] i give up at this ssh key thing [05:58] LOL wtf i just started my firewall backup and now its letting me connect to it but still requires a password [06:11] jayjay: if you want to auto login with pub/priv key from laptop to server then you send the public version of your key set on the laptop to the servers ~/.sssh/authorized_keys (or just paste it in there and chmod it and the directory ~/.ssh/ 700) [06:11] *i mean ~/.ssh [06:13] jayjay: another unfortunate and undocumented side effect of using pub/priv keys is that when you have more than 7, the ssh-agent on the machine you are sitting at will only check if the first 7 (you never know which 7) are valid for logging into the remote machine. [06:13] more than 7 local ssh keys [06:14] jayjay: even setting a shortcut in ~/.ssh/config on your local machine will not circumvent this. you unfortunately have to: SSH_AGENT= ssh user@remote -i ~/.ssh/id_rsa [06:14] which is to mean that you have t set SSH_AGENT= (to nothing) [06:15] at least i think it's SSH_AGENT [06:18] finally got phpmyadmin working, lighttpd needed alias edit [06:18] it's a hideous version though [06:18] ugh [06:18] i'm hoping ubuntu repository has the latest [06:19] ut oh, says it is the latest [06:19] it's not. [06:20] i'll try main ubuntu channel [06:38] isn't bleeding edge version of ubuntu, so have to compile phpmyadmin from source [06:55] have a good one gentlemen [06:57] squid proxy with two NIC (one for WAN and one for LAN) possible? === Guest53663 is now known as onre [07:35] squid proxy with two NIC (one for WAN and one for LAN) possible? [07:40] squid proxy with two NIC (one for WAN and one for LAN) possible? [07:48] there is no reason for repeating yourself [07:48] and yes, why not? if the connectivity is fine, squid would be fine. [07:50] linocisco: I don't see why not... [07:51] i never had internet through squid on vbox [07:51] that is why now I am testing zentyal [08:00] <_ruben> 2+ legged squids are much more common than single legged squids i'd say [08:11] RoyK, I made iptables and i configure squid with just http_acccess 3128 [08:11] _ruben, I long waited to see internet through squid.never worked [08:12] _ruben, but all my testing was on Vbox === smb` is now known as smb [08:14] linocisco: it should work - if it doesn't, you've probably made an error somewhere. don't start messing around with iptables until you know everything else is working [08:15] RoyK, to allow internal network internat access, i need iptables NAT rule to open ports, right? and then ipv4 forward=1 [08:22] <_ruben> you're combining all kinds of stuff that are not directly related .. how do you want to use squid? as a manually configured proxy in clients, or as a transparent proxy, or ..? [08:25] _ruben, first of all, i want manually [08:26] <_ruben> in case, iptables won't be needed at all [08:26] <_ruben> in that case* [08:41] morning o/ [08:41] lynxman: hi! [08:42] io: ello :) === Leseb_ is now known as Leseb [08:50] _ruben, how could route between two NIC cards, WAN and LAN card? [08:52] <_ruben> squid's a proxy, not a router [08:53] <_ruben> a proxy works on a higher (osi layer) level than a router, basically [08:54] <_ruben> eg: http://tldp.org/HOWTO/IP-Masquerade-HOWTO/what-is-masq.html [08:57] I want to know exactly how to handle squid with two LAN cards(one is WAN and one is LAN). that is so clear that all LAN clients should get internet from that proxy [08:59] <_ruben> the number of network cards really has zero influence on how squid works and/or needs to be configured [09:00] <_ruben> the squid box itself has properly working internet access i assume? [09:01] jamespage, SpamapS do you know why lamp_reboot post-install test keeps failing ? It seems that php code is not interpreted. Is it a bug in the test or real issue ? [09:17] jibel: not sure - I'll try to take a look today [09:17] Hello, I am curious about the status of bug #935585 - I am experiencing this issue, the bug report has a branch attached but no status changes, is it being tracked for release? [09:17] Launchpad bug 935585 in upstart "[kernel panic] init: log.c:786: Assertion failed in log_clear_unflushed: log->remote_closed" [High,Confirmed] https://launchpad.net/bugs/935585 [09:17] lynxman, reviewing the rabbitmq-server debdiff (again) [09:17] morning Daviey [09:17] jamespage: cool beans :) [09:29] hello all [09:35] linocisco: yes [09:35] yes for what? sorry i cleared previous msgs [09:37] 09:15 < linocisco> RoyK, to allow internal network internat access, i need iptables NAT rule to open ports, right? and then ipv4 forward=1 [09:40] RoyK, yes. so i need iptables anyway [09:41] linocisco: adding that masq rule won't hurt [09:42] is there any precise guide? [09:42] and you'll need another to do transparent proxying… [09:42] guide to what? [09:42] guide to (squid with two NICs(wan+LAN)) [09:43] google ip masquerading [09:43] it's rather simple, really [09:43] it is easier said than done. [09:44] linocisco: yes, most things are, but google it, please, it really is simple [09:45] RoyK, yes. I really want to blame myself as I really could not get it. and dying to feel myself as useless [09:46] * RoyK goes to do something useful [10:21] stgraber: I replicated the rbind mount error in isolation, and fixed it you can try the parser at people.canonical.com/~jj/apparmor_parser, just drop it over the one in /sbin/ [10:21] /me will work with jdstrand to get it into the archive today [10:21] /me hasn't tried it in a container yet, my container is failing with an error before hit the apparmor confinement, and I haven't had time to look into it yet. [10:21] Sorry its been one of those weekends (son + accident => hospital kind) [11:38] New bug: #952893 in zookeeper (universe) "Zookeeper script contains invalid check for cygwin" [Undecided,New] https://launchpad.net/bugs/952893 [11:39] nijaba: around [11:40] koolhead17: hello [11:41] nijaba: what was the client you suggested instead postfix. [11:42] koolhead17: msmtp-mta [11:42] nijaba: thanks [11:43] np [11:43] nijaba: BTW looking fwd to meet you on 4th apr :) [11:44] koolhead17: unfortunately not sure yet if I'll be able to come [11:44] ooh. :( ok [13:37] morning! [13:40] morning! [13:41] stgraber: say, is the kernel with the apparmor mounts fix in the archive? [13:41] i'm goign to push the utmp fix, guess i should look through the (long) bug list and see what else i should squash in there [13:41] hey all [13:42] hallyn: I'm grabbing jjohansen's fixed apparmor_parser and I'm running a test kernel, if I can get it to work here, we should have it working in the archive later today [13:42] oh the fix was userspace [13:44] hallyn: well, jjohansen mentioned a few issues on the kernel side too, so I guess it's a bit of both [13:45] jjohansen: btw, no need to apologize for work you couldn't do over your weekend ;) thanks for all the help debugging this [13:45] Doing a fresh install of Precise Server Beta 1 always boots into tty7 - first time I didn't realise - thought my box had hung. Is there a bug filed against this? I can only find this one which seems to be there for a while: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/761830 [13:45] Launchpad bug 761830 in grub2 "grub2 still hands off to blank tty7 on non-Server command-line-only systems and some Server systems" [Low,Confirmed] [13:46] hallyn: so I'm testing http://people.canonical.com/~jj/apparmor_parser + http://people.canonical.com/~jj/linux-image-3.2.0-18-generic_3.2.0-18.29_amd64.deb now [13:46] stgraber: ok i'm trying to figure out how to stage things. do you know when that might hit the archive? [13:48] hallyn: apparmor_parser should hit the archive later today once I confirm it works and jjohansen and jdstrand can prepare a new package [13:48] ok. but so the apparmor policy in lxc won't be re-enabled until tomorrow right? [13:49] hallyn: right, my plan is to upload LXC with the updated apparmor profile as soon as the new apparmor hits the archive, so likely late tonight or tomorrow [13:50] wow, apparmor works! well, the first rule matched and worked, now I need to write the next ones ;) [13:54] it's all sugar and spice from here on out [13:54] stgraber: ok i'm going to push a fix in an hour or 3 for bugs 948623, 951150, and 948481 [13:54] Launchpad bug 948623 in lxc "Can't start more than 35 containers on my machine" [High,In progress] https://launchpad.net/bugs/948623 [13:54] Launchpad bug 951150 in lxc "lxc-start-ephemeral is not all ephemeral" [High,New] https://launchpad.net/bugs/951150 [13:55] bug 948481 [13:55] Launchpad bug 948481 in lxc "adjust Build-Depends to include dh-apparmor" [Low,In progress] https://launchpad.net/bugs/948481 [13:55] trivial one... just rolling it in [13:56] ok. While you're touching lxc-start-ephemeral would it be possible to add a "-d" flag to it to start the container in the background? [13:56] you use lxc-start-ephemeral? [13:56] sure, will do [13:57] in that case, if you don't mind, i'll push a staging tree for you to test with? [13:57] I used lxc-start-ephemeral to do some LXC stress testing yesterday and ended up doing "for i in $(seq 1 2000); do (lxc-start-ephemeral -o template&); sleep 2; done" [13:57] that's pretty enough... :) [13:58] now the script hangs around to clean up... i guess i should just have the script itself fork and exit so the fokred thread cleans up [14:01] hallyn: yeah, I think it'd be the easiest, longer term I think we should add pre/post scripts to the LXC config [14:02] so we can have lxc-start run pre/post scripts outside the container and inside the container. OpenVZ has that and I remember using it quite often (though mostly for ugly workarounds ;)) [14:03] yeah - like an initrd [14:03] right [14:03] that would hlep the fedora case too [14:03] if you want to opena bug on that... [14:03] or we can just discuss at uds i guess [14:04] jjohansen: any reason "/** -> /usr/lib/lxc/root/**" wouldn't work? (it doesn't match) [14:04] hallyn: I can add it to my UDS notes [14:04] along with the rewrite in go [14:04] right ;) [14:07] hallyn, While I see you around and before I forget: I had a little improvement for libvirt last week which may be something to feed back upstream (bug 949028). How would that best /simplest be done? [14:07] Launchpad bug 949028 in ubuntu "libvirt: xen: never use type=ioemu for vif definitions" [Medium,Triaged] https://launchpad.net/bugs/949028 [14:08] hm... though that also was uploaded already (to precise) [14:09] bah, forgot the closes... :/ === JanC_ is now known as JanC [14:26] gary_poster: hey, are you around? === smb` is now known as smb [14:27] hey hallyn, yes [14:28] gary_poster: i'm just looking at the lxc-start-ephemeral patch... [14:28] thanks, yes [14:28] gary_poster: only thing i noticed was that you seem to put the original LXC_BIND entry in the container fstab at the end [14:28] IIUC, won't that make your other bind mounts be overmounted? [14:28] oh, wait [14:29] I do compare for equality [14:29] I don't look for containment [14:29] I was taking the tack that if they do an explicit -b, they mean it [14:29] no, you mount them under $rootfs, so that'll DTRT. sorry :) [14:29] :-) cool, np [14:30] gary_poster: per stgraber's suggestion I'm also going to add a '-d' option, then i will push [14:35] cool hallyn, thank you [14:38] I am looking for a way to dynamically control internet speed based on the amount of internet a user consumed relative to another. [14:39] smoser: howdy [14:39] hy [14:39] smoser: do we have 64bit ami's for m1small yet? [14:40] they just work [14:40] amis are all the same. they just changed the hardware [14:40] For example. If only one user is online, he gets 100% of the line speed. However, if two users are online, the one who consumed less internet should get preference as to allow him/her to "catch up" [14:40] er... the [virtual] hardware available to run on [14:40] smoser: oh? [14:40] smoser: you didn't have to rebuild the ami's using 64 bit kernels and packages? [14:41] no. we have 32 bit amis and 64 bit amis. [14:41] Is there something that can control something like that? [14:41] all they did was now allow you to run the 64 bit amis on m1.small size [14:41] previously they would just deny your request to do that. [14:41] the interesting thing this means is that they basically have no more 32 bit only hardware. [14:42] (or they can select filter the availablbe nodes to run a m1.small on to ones that have 64 bit hardware in the hypervisor) [14:43] i guess its more likely that they just have an arch aware scheduler. [14:50] jamespage: ping [14:51] jjohansen: [61634.549605] apparmor_parser[16338]: segfault at 8 ip 000000000040fcc5 sp 00007fffef35cd20 error 4 in apparmor_parser[400000+be000] [14:51] jjohansen: that's when adding pivotroot [14:54] hallyn: so I guess we'll be running without apparmor for a few more days ;) [14:57] stgraber: dang. [14:57] does it matter if I add a mount option in fstab that is not supported? [14:57] stgraber: well i think i'll whip up a set of apparmor mount rules anyway, and pretend i tested it [14:59] hallyn: the mount rules for the /usr/bin/lxc-start can be tested but anything after that can't as pivotroot is denied and can't be allowed without apparmor_parser crashing :) [14:59] stgraber: i wasn't going to restrict mounts for lxc-start itself i don't think [15:00] maybe i should... [15:00] i guess i should. [15:00] no sense allowing mounts with target outside of $rootfs [15:00] hallyn: also you seem to have the choice between a generic "mount" allowing everything or allowing each of them individually but can't make something like "/** -> /usr/lib/lxc/root/**" as I'd have done for /usr/bin/lxc-start [15:00] right [15:01] but that's a bug, the documented syntax allows it [15:02] oh i misread [15:02] i'm goign to go based on the docs at the wiki. and file bugs :) [15:03] ok :) [15:03] but first i have some other testing to do. bbl [15:04] hallyn: I think "/** -> /usr/lib/lxc/root**" is what we want for usr.bin.lxc, we also want "pivotroot /usr/lib/lxc/root" and then look into the second profile [15:04] hallyn: the tricky part being nested containers === bitmonk_ is now known as bitmonk [15:14] lynxman, pong [15:28] stgraber: my hope is that nested containers will just DTRT with pathanmes... [15:28] stgraber: I'm more worried about cgrousp with nested containers. [15:28] bc i'd like to restrict writing to them [15:28] stgraber: did i cc: you on the email about that? [15:33] New bug: #953081 in php5 (main) "libapache2-mod-php5 postinst script does not enable module" [Undecided,New] https://launchpad.net/bugs/953081 [15:35] hallyn: I think you did, at least I remember you mentioning it (basically it'd be great to allow /sys/fs/cgroup/*/lxc//** in apparmor) [15:36] right [15:36] q is do we want to risk the complicatino of per-container profiles this late in cycle [15:38] So I'm getting ready to upload my patches for bug 953093, glance will still use sqlite3 by default. [15:38] Launchpad bug 953093 in glance "Add dbconfig-common support to glance" [Undecided,New] https://launchpad.net/bugs/953093 === sixstringsg is now known as sixstringsg|away [15:39] hallyn: I'd usually say it's too risky but on the other end I'm guessing LTS users (me included) will want it and so it'd be easier to fix any bug post-release than to explain how to implement the feature on their own until the next LTS [15:39] stgraber: do you think this requires FFE? [15:40] or is it a bug that users can't specify per-container policy? === Lcawte|Away is now known as Lcawte [15:44] hallyn: I think it'd need a FFe but explaining the current limitation and the problem it'd be for our users [15:44] ok [15:45] stgraber: the ugliest part of this is the complication/slowdown at lxc-create, lxc-clone, and lxc-destroy [15:46] hallyn: yeah, though if only building and loading the new profile it should be fairly quick [15:46] hallyn: (as long as we don't call a full reload of all the profiles) [15:46] stgraber: certainly won't be doing that :) [15:58] hallyn, we are seeing tempfs be very unhappy now (it has errors trying to whiteout files). The only thing I know I did in a crazy way is that we are using an overlayfs as an upper for another overlayfs in my patch. We can switch to just making a new tempfs instead and see if that is less insane [15:59] that's what I'm going to try to do in a bit [15:59] need to step away for now [16:20] hi huats, jamespage [16:21] we have uploaded new packages of zentyal fixing the issues you raised [16:21] bencer: ok great [16:21] bencer: great! [16:21] when do you think you can have a look at them? [16:25] bencer, tomorrow realistically [16:26] jamespage: ok cool, i will ping you again tomorrow :) [16:26] let me know if we can do anything else in the meanwhile [16:27] Anybody know where the glance debian packaging branch is? Or which one is master? [16:27] Trying to create a merge request [16:27] jamespage: huats could also upload them? do you want to have a look at them again? or can i push him to upload them asap? [16:28] I am assuming lp:ubuntu/nova [16:28] sorry, lp:ubuntu/glance [16:28] bencer: we should not upload until a FFe has been granted for these packages - https://wiki.ubuntu.com/FreezeExceptionProcess [16:28] gary_poster: my understanding is that the rationale/justification for overlayfs's simplicity is precisely that you can overly on top of an overlay [16:28] gary_poster: so doing what you suggest is good for verifying that that's the problem, but if there's a problem then it's a bug [16:29] bencer: preparing the information for that in the bug report is something that can happen in between now and review completion [16:29] I note from the bug report that there is still some debate as to whether these packages should be native or not. [16:29] bencer: i cannot upload that since the FFe is needed + the new process [16:30] jamespage: huats should we fill the bug for FFe now? [16:30] bencer: yes - it can be done in the existing bug report [16:32] jamespage: do we have to do something else than subscribing ubuntu-release team? [16:33] bencer, yes - the Bug Description needs to be populated with the information detailed in https://wiki.ubuntu.com/FreezeExceptionProcess [16:34] stgraber: help! [16:34] stgraber: my attempt to dput lxc failed with -eperm [16:35] bencer: I think it just needs re-shuffling to line up with the required information to support the release team approval [16:35] hallyn: again? :) [16:36] please don't subscribe ubuntu-release until myself/huats has had time to review again; packaged really need to be good-to-go [16:36] hallyn: should be good now [16:36] stgraber: i don't *think* i did anything stupid... [16:36] thanks, retrying [16:37] jamespage: huats ok thanks, i will ping you both tomorrow, going to rewrite the bug description before then, thanks again [16:37] bencer: no problem [16:38] great [16:45] Okay, just created my first merge request using launchpad. I _think_ I did it right [16:47] stgraber: push worked this time, thanks :) [16:48] hallyn: np. cjwatson hardcoded the ACL in his script so it shouldn't be dropped anymore ;) [16:49] hallyn: you merged that one https://code.launchpad.net/~gary/ubuntu/precise/lxc/bug-951150/+merge/97021 right? [16:49] stgraber: yup [16:49] hopefully the right one (i didn't realize he was going to make more changes) [16:50] stgraber: and -d works for me :) [16:50] hallyn: cool. Marking the bug fix released and the branch merged then. [16:50] lp email told me it was marked fix released [16:50] bug 951150 [16:50] Launchpad bug 951150 in lxc "lxc-start-ephemeral is not all ephemeral" [High,New] https://launchpad.net/bugs/951150 [16:50] ^ doesn't agree :) [16:50] stgraber: Error: "doesn't" is not a valid command. [16:51] anyway marked fix released manuaally [16:51] *manually [16:53] thanks [16:53] i wonder if the mp was done after the push, and that re-opened the bug [17:05] Now, on to adding dbconfig-common support into nova === JanC_ is now known as JanC [17:18] wa00 is nova going to be completely automates ? /o.0\ [17:37] hallyn, I have confirmation that overlayfs + upper overlayfs does not allow removal of files; overlayfs + upper tempfs does [17:38] it may be that overlayfs requires xattrs but does not implement it? [17:42] hallyn, I modified my branch: http://bazaar.launchpad.net/~gary/ubuntu/precise/lxc/bug-951150/revision/79 [17:42] should I make a new MP? [17:42] gary_poster: yes pls [17:42] ack hallyn [17:42] gary_poster: by overlayfs upper, [17:42] gary_poster: that means the fs changes will be written to? [17:42] that seems reasonable to refuse [17:42] hallyn, yes [17:43] so you're working around that? [17:43] hallyn, yeah, I just make another tempfs [17:43] mount that in ephemeralbind [17:43] and it is ok [17:43] gary_poster: should you create a single tmpfs for all overalys for a container, [17:43] and create subdirs under that to use as the overlays? [17:44] that's what I do hallyn, yeah [17:44] gary_poster: awesome, thanks :) [17:44] cool [18:17] hallyn, MP is here: https://code.launchpad.net/~gary/ubuntu/precise/lxc/bug-951150-2/+merge/97077 . Would you like me to file a separate bug, or do anything else? [18:18] gary_poster: no thanks, i'll take it from here [18:18] cool, thanks hallyn [18:18] * gary_poster goes to have a bit of lunch [18:18] np - ttyl [18:21] gary_poster: to be sure, you ran this and it cleaned up fine? (wondering whether i can just push blindly, or should setup an env to test in) [18:51] any suggestions on avoiding clock skew on qemu-kvm guests? Is there a demonstrable reason why ntp shouldn't be used? [18:55] hallyn, I tested it quickly and it seemed fine. I had used a version without the -d changes for my initial tests. If you haven't already run a couple of tests, I'm happy to [18:55] happy to run a few more tests, I mean [18:57] gary_poster: -d shouldn't affect it, i'll push, thanks [18:57] cool thank you [18:58] thanks you for the patch : [18:58] :-) welcome [19:05] I wish to setup a server that will dynamically control internet speed based on the amount of internet a user consumed relative to another. For example. If only one user is online, he gets 100% of the line speed. However, if two users are online, the one who consumed less internet should get preference as to allow him/her to "catch up". Does anyone know of software with the ability to do that? === sixstringsg|away is now known as sixstringsg [19:23] New bug: #953289 in unixodbc (main) "package odbcinst1debian2 2.2.14p2-5ubuntu2 failed to install/upgrade: ErrorMessage: dependency problems - leaving unconfigured" [Undecided,New] https://launchpad.net/bugs/953289 [19:27] i have to pick disk 8 while booting (ctrl+p and then select disk 8) to boot the OS.. do I need to change the disk order in bios to automate this? [19:28] can I just install the boot loader on every disk instead ? [19:29] hello [19:31] I just setup my first home server using ubuntu 11.10 server of course coming from kubuntu and ubuntu on most of my machines i feel very mich at home. i am however having a horrible time configuring aliases and sub domains in apache either manually or using webmin's interface. i just cant seems to get the sub domain to come up. i have a top level domain and a static IP address at home through my ISP [19:33] any help or direction to some good information sites would be greatly appreciated [19:35] Evansdny: you will have lot better luck in getting support if you pastebin some error from your apache either here or #httpd channel [19:36] ok.... well i guess i'm not getting any errors it just goes directly to the top level domain and dousnt even see the sub domain. even though all my config files are correct [19:38] i will try #httpd [19:38] thanks [19:41] how do I catch the grub at boot on lucid ? shift is not catching it [19:42] is it esc+shift? [19:44] esc worked [20:08] this x4270 fails to boot all the way http://paste.ubuntu.com/880895/ [20:08] what gives? [20:10] <_KaszpiR_> GPT: Use GNU Parted to correct GPT errors. [20:14] hmm.. in recovery mode it boots all the way [20:14] _KaszpiR_: so boot in that mode and try to fix it, may be? [20:15] not sure what is the fix [20:15] GPT:585937498 != 585937499 <-- so change the block size or something? [20:18] sdi and sdj are part of md and boot disk [20:18] no GPT error for those two [20:30] recovery mode works perfect.. it is really single user mode .. and I enabled ssh and ssh in it.. all lvm+md looks good and installed new pkg.. works perfectr [20:30] perfect* === alaing is now known as funkymonk [20:54] http://paste.ubuntu.com/880960/ <-- boots perfect in dmesg === sixstringsg is now known as sixstringsg|away === sixstringsg|away is now known as sixstringsg [21:55] New bug: #953453 in lxc (universe) "[FFE] use per-container apparmor profiles" [Undecided,New] https://launchpad.net/bugs/953453 [22:17] mmm, thought you'd like to see the table of contents for Issue 12 of Ubuntu User Magazine - http://www.ubuntu-user.com/Magazine/Archive/2012/12 === sixstringsg is now known as sixstringsg|away [22:52] hey; is ssh enabled/running by default on ubuntu server? [22:53] if i install from iso and hook up to network can I ssh in or do i have to do something else also [22:54] HaltingState: when you install openssh-server it is [22:54] you will be prompted during the installation process to add it === Lcawte is now known as Lcawte|Away [23:16] New bug: #953533 in groovy (universe) "groovysh crashes instead of starting" [Undecided,New] https://launchpad.net/bugs/953533 [23:26] I wish to setup a server that will dynamically control internet speed based on the amount of internet a user consumed relative to another. For example. If only one user is online, he gets 100% of the line speed. However, if two users are online, the one who consumed less internet should get preference as to allow him/her to "catch up". Does anyone know of software with the ability to do that? === sixstringsg|away is now known as sixstringsg