[00:23] <ianp_> Does anyone here work with Java apps?  seems like there are packages for things like jboss and activemq, but they are all hooked up to (have dependencies on) the open source JDK rather than Oracles
[00:23] <ianp_> do people in the real world actually use openjdk for these apps?
[00:24] <ianp_> or can i ignore the fact that things like gcj are dependencies of them?
[00:37] <smoser> kirkland, ping
[00:38] <smoser> bigjools, was having issues copy and pasting within byobu.
[00:38] <smoser> it was about to get ugly, so i figured i'd ask you
[00:38] <smoser> :)
[00:38] <bigjools> o/ kirkland
[00:38] <bigjools> heh
[00:43] <SpamapS> ianp_: thats because oracle's JDK is not re-distributable
[00:49] <ffunenga> Hello everyone, I have an idea about a webpage where people would publish things they want to sell or rent but the problem is in the insert into of the database
[00:50] <ffunenga> how is this type of thing normally solved? do I have to approve every post? or I record the IPs of the last 5 mins and only let users post from 5 to 5 mins?
[00:55] <SpamapS> ffunenga: there are a TON of systems and that is often how those sites differentiate themselves
[01:07] <ffunenga> SpamapS: can you point me to one please?
[01:08] <sarnold> craigslist and ebay spring to mind quickly ;)
[01:14] <ffunenga> sarnold: no... I'm talking about the system to prevent database flooding
[01:14] <ffunenga> or equivalent types of attack
[01:16] <ffunenga> is the last 5 minutes the best idea?
[01:17] <sarnold> ffunenga: trivially vulnerable to spammers who write once every six minutes
[01:17] <sarnold> or have access to botnet of thousands..
[01:41] <SpamapS> ffunenga: the point is, this is how websites make their money
[01:41] <SpamapS> ffunenga: so its not likely that you'll find many ready-made systems for this
[01:42] <SpamapS> ffunenga: check out fail2ban and mod_security
[01:47] <patdk-lap> those also combined with a few tricks and a catchapa
[01:48] <patdk-lap> I really like reverse catchpa's (should figure out how to spell that again, it always confuses me, just like they do to me)
[01:48] <sarnold> .. where they force _you_ to scribble a word illegibly? :)
[01:49] <patdk-lap> no
[01:49] <patdk-lap> where you add extra form boxs that should NOT be filled in
[01:49] <sarnold> ah! hehe
[01:55] <ffunenga> SpamapS: Thanks, mod_security seems to be promising
[01:56] <ffunenga> patdk-lap: didn't think about captchas, nice one. What "few tricks" are you talking about?
[02:49] <LeChacal2> hello all, question. I want to make a script watch for a file to appear and then execute some commends when the file appears. What is the best route for this? A crontab every minute was my first idea but wondering if there is something better.
[02:49] <sarnold> LeChacal2: apt-cache show incron
[02:50] <sarnold> it'll use the inotify mechanism to only poke your program when a watched file / directory is actually modified -- saving gobs of drive, CPU, heat and power
[02:50] <patdk-lap> that doesn't sound very safe
[02:51] <patdk-lap> can't use sudo?
[02:51] <sarnold> patdk-lap?
[02:51] <patdk-lap> running whatever happens to be in the file
[02:52] <sarnold> "execute some commands when the file appears" ... not "execute the commands in the file" :)
[02:52] <patdk-lap> ah, ok
[02:52] <sarnold> good paranoia though. I like that.
[02:52] <LeChacal2> looking at incron seems like I still have to have a script running all the time waiting for incron feedback
[02:53] <LeChacal2> yes the file would be empty and the script would read the title of the file to know what to do
[02:55] <sarnold> LeChacal2: it'd be something like /path/to/directory/ IN_CLOSE_WRITE,IN_MOVED_TO,IN_MODIFIED /path/to/script $#
[02:57] <LeChacal2> sarnold, hmm I didn't look close enough at incron I guess, thank you, I will read more on it
[02:57] <sarnold> LeChacal2: the incron program would be running all the time, yes, but it would be _asleep_ until the kernel alerts it to a new or modified file. Then it would execute your script. If you get 10 new files per minute, this might take more disk and cpu, but significantly faster response time. if you go ten minutes between files, this will take one tenth the disk and cpu, and be _significantly_ better response time.
[02:59] <LeChacal2> sarnold: this would just be a "backdoor" remote access system for excuting commends on a server so it would be like once in a bluemoon so not worried about the cpu/disk usage
[03:00] <sarnold> LeChacal2: then absolutely incron :)
[03:00] <sarnold> .. and be careful of patdk-lap's warning! executing things found in random files can be bad for your health
[03:01] <LeChacal2> yes i got that, the script would something like, look for file named shutdown in folder than shutdown the server not look in this folder and run the commends in the file
[03:29] <pentagon> Anyone use mutt?
[03:32] <sarnold> pentagon: yes
[03:33] <pentagon> sarnold: I have postfix going now how do I configure mutt to grab i's mail.
[03:33] <sarnold> pentagon: is postfix doing local delivery? does it go to /var/spool/mail/pentagon?
[03:35] <sarnold> for your .muttrc, you'll set spoolfile=/path/to/spool/file and then set folder=/path/to/other/folders -- if you're using procmail to split mail into folders before delivery
[03:52] <pentagon> sarnold: I am just trying to keep it simple. Is it ok to change sudo postconf -e 'home_mailbox = Maildir/' to sudo postconf -e 'home_mailbox = Mail/'
[03:52] <sarnold> pentagon: probably; I don't know postfix as well as I should, though.
[03:53] <sarnold> and you'll want to ignore my advice about spoolfile if you're using maildir :) I forget how that works too, but I seem to remember it was easier than I xpected.
[03:56] <pentagon> sarnold: How do I initialise spoofiles or maildirs? Doesn't seem to say anything on the help page.
[03:57] <sarnold> pentagon: spool file, just touch the file and check the permissions
[03:57] <sarnold> Maildir, eh.... get procmail or postfix or mutt to do it? :)
[03:58] <pentagon> I am looking for a .muttrc in the home but do not find it. sarnold
[03:59] <pentagon> Where would the docs be stored?
[03:59] <sarnold> pentagon: it won't be there by default; you'll need to create one to suit your needs
[03:59] <sarnold> pentagon: man muttrc
[04:27] <devslash> Im interested in setting up a headless dedicated ubuntu server. As far as specs go, Im looking at 3.0 GHZ or higher, at least 4 GB of RAM and ideally 4TB of storage. I've been looking at my options with different computers. does anyone have a recommendation as to what kind of system will work well for my needs
[04:31] <AaronMickDee> UH
[04:32] <AaronMickDee> What do you mean what kind of system? Ubuntu Server is probably one of the more documented OS's
[04:32] <AaronMickDee> and probably the most supported.
[04:33] <AaronMickDee> Oh, you mean what hardware?
[04:33] <devslash> yes
[04:33] <AaronMickDee> Depends what you plan on doing with the server. You said 4tb so I'm going to assume a media server?
[04:33] <AaronMickDee> Or rather, file server?
[04:33] <devslash> yea
[04:33] <AaronMickDee> Ah. OK :) Well...
[04:33] <AaronMickDee> 3.0Ghz could be overkill.
[04:34] <devslash> ok thats not set in stone
[04:34] <AaronMickDee> If you aren't transcoding, then most of the IO would be Hard Drive related, and not CPU.
[04:34] <devslash> yea
[04:35] <AaronMickDee> My media server (Ubuntu Server, 2.4ghz, 4gb ram, 1 raid5, and 2 raid0's) runs top notch for a media server connected to a few XBMC clients. runs very little CPU.
[04:35] <AaronMickDee> I run transmission on it, but mostly used as a NAS. Very little CPU usage is going on.
[04:35] <AaronMickDee> It's all mostly hard drive usage that's happening, so as long as you get some decent disks, you should be fine on a barebones system.
[04:36] <AaronMickDee> 1gz or more, 2gb of ram or more and you should be perfectly fine.
[04:36] <devslash> anything i need to keep in mind as far as hardware goes
[04:36] <darksidesimmons> hey guys hows it going tonight? any apache guru's have some mod rewrite questions with magenta
[04:37] <AaronMickDee> devslash: not really. make sure to get a gigabit ethernet card, and a gigabit ethernet router, and if you are using a switch, make sure its gigabit. home media centers will stall out and buffer a bit on 10/100 megabit connections.
[04:38] <devslash> how do i know if my router is gigabit
[04:38] <AaronMickDee> are you connected directly via a wire on your home computer?
[04:38] <AaronMickDee> as in, the computer your on right now. is it wired or wireless to the router?
[04:38] <devslash> i currently have an older laptop as my server
[04:38] <devslash> which is connected via an ethernet cable
[04:38] <devslash> I'm not on that computer now
[04:38] <AaronMickDee> the computer you are on RIGHT now. is it wired or wireless?
[04:39] <devslash> wireless
[04:39] <AaronMickDee> windows or linux?
[04:39] <devslash> linux (Ubuntu)
[04:39] <AaronMickDee> connect wired
[04:39] <AaronMickDee> if you can,
[04:39] <devslash> yea
[04:40] <devslash> like i said my existing server is connected via ethernet
[04:40] <AaronMickDee> ok
[04:40] <AaronMickDee> log into it via SSH
[04:40] <AaronMickDee> and run this command: ethtool eth0 | grep -i speed
[04:40] <sarnold> devslash: if you install 'ethtool' you'll be able to use it to determine if your NIC has negotiated gigabit or not with your switch
[04:40] <AaronMickDee> if its 10 or 100, no good. if its 1000 your good.
[04:41] <AaronMickDee> shouldn't ubuntu have ethtool installed default? i don't ever remember running it on my server but i do have it.
[04:41] <devslash> also, i am going to be switching ISPs soon and will be using my apple router (yea  Iknow they aren't the best) as my router with my cable modem
[04:41] <devslash> 100MB/s
[04:41] <devslash> but
[04:42] <devslash> thats with my current DSL modem. my router might be gigabit.
[04:42] <AaronMickDee> it wouldn't matter. it would only show the link speed between server->router
[04:42] <AaronMickDee> not server->modem. its the link speed.
[04:42] <devslash> yes
[04:42] <AaronMickDee> i'd suggest buying a gigabit switch or upgrading to gigabit router.
[04:43] <devslash> currently I'm using my dsl modems' router capability for wifi
[04:43] <AaronMickDee> ah ok.
[04:43] <devslash> but I'm switching to cable
[04:43] <AaronMickDee> anything on your network will only run at 100mb, even if its capable of gigabit. you'll get a max speed of about 12 megabytes per second. as with gigabit you'll hit 125 megabytes per second.
[04:43] <devslash> the iso I'm signing up with is giving me a modem that doesn't have wifi capabilities so i am going to switch to my airport extreme router
[04:44] <devslash> err isp
[04:45] <AaronMickDee> You could, if your feeling dangerous, is get a switch with jumbo frames support (or if your router supports jumbo frames), and turn them on with every device within your network. your speeds could theoretically increase quite a bit with large file transfers (aka movies).
[04:45] <devslash> i think thats beyond what i know how to do
[04:46] <AaronMickDee> devslash: k. well, make sure to get gigabit speeds for a media server.
[04:46] <AaronMickDee> otherwise you'll run into a lot of bottlenecking.
[04:47] <devslash> so if i connect to a gigabit router thats connected via ethernet to a plain old cable modem, would there be any kind of bottleneck between the modem and router ?
[04:48] <sarnold> you wouldn't care; the modem <-> ISP link is going to be way slower than even 100
[04:52] <devslash> maybe this is a dumb question but does gigabit require different ethernet cable
[04:52] <sarnold> a bit
[04:53] <sarnold> cat 5e is minimum required for gigE, but most people deployed that for 100 anyhow
[04:54] <pentagon> devslash: it is because of the twists in the wire similar to pots same reason DSL gets a lot of line noise
[04:54] <devslash> oh i see
[04:54] <pentagon> cat5e just has more twists so more copper more expensive
[04:55] <devslash> brb
[04:56] <pentagon> sarnold: im getting RCPT rejected when trying to receive mail from the outside I take it this is because my hostname is set different locally than my isp assigns me, any suggestions?
[04:56] <sarnold> pentagon: eh? I thought RCPT was used when you were _sending_ mail ...
[04:57] <sarnold> it's been years since I've done SMTP by hand, but I thuoght it was MAIL TO:  followed by RCPT FROM....
[04:57] <sarnold> i'm too tired to be giving smtp advice. :) sorry pentagon.
[04:57] <pentagon> I assume it's short for recipient, when it is showing in the mail.log as rejected.
[04:59] <sarnold> can you copy-paste the whole line? that'll mean more to someone...
[04:59] <sarnold> (like I said, tired, maybe not me.)
[05:03] <devslash_> AaronMickDee: hey
[05:04] <devslash_> i plugged in my airport extreme and went into a utility app that tells you about the hardware. i noticed that for ethernet (I connected my laptop to my AE via ethernet cable) it shows Media Subtype:1000baseT. that means its gigabit right ?
[05:06] <devslash_> is anyone that i was talking to a few minutes ago still here ?
[05:06] <pentagon> devslash_: I am.
[05:07] <devslash_> that is gigabit right ?
[05:07] <sarnold> devslash_: yay :)
[05:08] <devslash_> good
[05:08] <devslash_> i wonder if its causing any bottlenecks with my existing server at 100MB/s
[05:09] <lifeless> devslash_: so 100MB/s is 800Mbps, or flatlined gigabit ethernet.
[05:10] <devslash_> ok...
[05:10] <devslash_> vs gigabit that is 8000Mbps ?
[05:11] <sarnold> 1000Mbps --> ~120 MBps
[05:11] <devslash_> huh
[05:11] <sarnold> it's a bit confusing :)
[05:11] <sarnold> 100 is megabit per second; 1000 is megabyte per second
[05:11] <sarnold> err
[05:11] <sarnold> stupid
[05:11] <devslash_> when i do ethtool eth0 | grep -i speed it return "100Mb/s"
[05:11] <sarnold> like I said, sleepy :)
[05:12] <pentagon> The average user has no use for gigabit.
[05:12] <sarnold> that's 100 megabit
[05:12] <devslash_> right
[05:12] <devslash_> but for my purposes I'm running a streaming file server essentially
[05:12] <sarnold> that'll get you roughly 12 megabytes per second traffic
[05:12] <pentagon> Ever seen the movie matrix ?
[05:12] <devslash_> yea
[05:13] <pentagon> Well the more bandwidth the more resolution the matrix gets, so how will you know reality ?
[05:13] <devslash_> I'm streaming music files so nothing especially big. i know that my slow internet speeds are 1 factor which I'm fixing by upgrading yo a faster internet plan
[05:14] <sarnold> devslash_: and you'll probably love cable over your dsl. all dsl users I know aren't real happy. my cable _flies_. (Not like South Korea or Sweden fast, but good for the US fast.)
[05:14] <devslash_> you know how fast my fucking dshell is ? 3MB/s
[05:14] <devslash_> the new one is a bit faster at 10
[05:15] <devslash_> sarnold: how fast is your plan ?
[05:16] <pentagon> See the bottleneck?
[05:16] <pentagon> Gigabit router to run a 3MB/s connection.
[05:16] <devslash_> so do you think my slow isp speeds are the biggest bottleneck ?
[05:16] <devslash_> or the 100Mbps or both
[05:17] <sarnold> devslash_: I routinely get 2MB/s downloads from ubuntu, torrents sometimes slightly more.
[05:17] <devslash_> ok
[05:17] <devslash_> but
[05:17] <lifeless> sarnold: 1000Mbps -> 125MBps :P - caps matters > but you won't /get/ 125MBps most of the time, you generally max out 80% or so of the links nominal capacity
[05:18] <sarnold> lifeless: in fact, I've never gotten more than 80MBps on this, I assume it's the cheap-ass switches we bought. :)
[05:18] <sarnold> though it might also be the cheap-ass 5e we used.
[05:18] <devslash_> since I'm running a file server serving music files (mp3s so most files are nominally small) do you think my isp or 100Mbps is causing a bottleneck
[05:19] <sarnold> devslash_: depends what you're doing :) downloaded torrents off the internet, definitely the ISP.
[05:19] <devslash_> no
[05:19] <devslash_> most of what i use it for is streaming media files , music
[05:19] <sarnold> devslash_: streaming four movies from your NAS to your xboxes, playstations, iphones, and laptops, that's all local.
[05:19] <devslash_> i stream over the internet
[05:19] <sarnold> ISP
[05:20] <devslash_> thats what i thought. that should be fixed soon
[05:20] <devslash_> once i get 10Mbps that not be an issue
[05:20] <devslash_> that won't be a issue
[05:24] <pentagon> Welcome to the matrix, enjoy your STAY.
[05:24] <devslash_> whoa......
[05:25] <pentagon> Tomorrow verizon wireless cmos eyes will be swarming you like sentinels.
[05:28] <pentagon> I had to beg my isp to give me a lower bandwidth.
[05:42] <pentagon> Eh, its working but not as well as I would liek.
[05:42] <pentagon> Seems I have to put in my hostname manually for destinations since I have a generic locqal hostname.
[06:04] <pentagon> CrypticSquared: nice nick
[06:06] <CrypticSquared> um... thanks?
[07:03] <three18ti> wtf does `grep -q` do? the man page says "do not write to STDOUt, exit immediately with zero status if the match is found" that would mean to me that if I don't find the string, return true.  I'm trying to decode this bash code in my rc.local of a new VM I've purchased.  http://paste.scsys.co.uk/208541
[07:04] <three18ti> it looks like if "some conditional" it dumps the SMBIOS that contains the VNC password and resets it for toor:<passwd>
[07:06] <three18ti> this conditional runs every time I reboot my VM since it's in /etc/rc.local...
[07:07] <three18ti>  /etc/issues says I can delete the toor user, and I don't think chpasswd works on non existent users, so I -think- it sets the toor password back to whatever matches the specific handle in the SMBIOS
[07:22] <pentagon> We can remember it for you wholesale.
[07:22] <pentagon> I figured out who the we is.
[07:23] <pentagon> What is the difference just close you eyes and do whatever you want.
[07:23] <pentagon> Can't tell the difference.
[07:38] <soren> three18ti: "grep -q" returns true if it finds what it's looking for and false if not.
[07:38] <soren> three18ti: Just like "grep" (without -q). It just doesn't output the matching lines.
[08:44] <three18ti> soren, cool thanks.
[10:38] <_ruben> what would be a nice place for a script to set irq affinities for nics? init script hooked to the net-device-up signal or so?
[10:49] <RoyK> _ruben: in /etc/networks/interfaces, 'up /run/this/script', perhaps?
[10:50] <_ruben> guess that would do as well yeah
[10:51] <_ruben> the pinning of nic queues to specific cores did fix the uneven distribution btw :)
[10:52] <RoyK> nice
[10:52] <RoyK> how did you do that?
[10:53] <patdk-lap> I thought that is why /usr/sbin/irqbalance was made
[10:53] <_ruben> patdk-lap: irqbalance didn't manage to create an equal balance, cpu0 was getting the majority of the workload
[10:54] <_ruben> or perhaps it'd even out better under higher loads, who knows
[10:54] <_ruben> with irqbalance cpu0 would be 6+% si, and the others around 1% si
[10:54] <patdk-lap> that is a good thing :)
[10:55] <patdk-lap> unless the cpu is too loaded, it's better to load up one core
[10:55] <patdk-lap> and keep the other cores lower
[10:55] <patdk-lap> then you can use turbo boost or whatever they call it
[10:55] <_ruben> RoyK: i used the printf snippets from http://www.metaflows.com/technology/10-gbps-pf_ring-2/ as an example basically
[10:56] <_ruben> patdk-lap: well, the total (si) load dropped as well, even tho i was afraid the opposite would happen
[10:57] <RoyK> _ruben: but patdk-lap's got a point. cpu cache is used far more efficiently if only one core is active
[10:58] <RoyK> you may even save power by clocking down the others
[10:58] <_ruben> i dont pay the power bill ;)
[11:00] <RoyK> it's even good for the environment ;)
[11:00] <patdk-lap> you will sleep better at night :)
[11:00] <_ruben> once the load increases significantly on these boxes, i might revisit this stuff
[11:10] <tcp_cungkr1nk> any nody here? :D
[11:10] <tcp_cungkr1nk> any body here? :D
[11:10] <_ruben> no
[11:10] <RoyK> !ask
[11:10] <alex88> hi guys, last night my server went down for an unknown reason, if it was a kernel panic, does it leave any trace? just to know if it was a kp or a power outage or similar
[11:12] <tcp_cungkr1nk> hi,  my application with google maps API work fine on private IP, but the problem when accesed form public  IP. must have a configuration on ubuntu server?
[11:13] <tcp_cungkr1nk> *from
[11:16] <greppy> tcp_cungkr1nk: when I was messing with gmaps apis a few years ago, your api key was tied to the hostname and url, I don't know if they still do that.
[11:17] <tcp_cungkr1nk> greppy i'm not set the hostname and url on my gmap api key
[11:18] <_ruben> hmm .. seems irqbalance.org is down .. wondered if there was any details on if/how its behaviour depends on overal load
[11:36] <_ruben> ah, ipv6+ssl appears to be broken for irqbalance.org
[11:50] <daniel_-> anyone can tell me how I can set mysql to restart automatically on server restart? :)
[11:52] <daniel_-> I have to restart mysqld manually on my vps everytime my provider updates their root server
[11:56] <daniel_-> 'service mysql start' to /etc/rc.local ?
[12:13] <jdrab> daniel_-: afaik mysql starts automaticaly
[12:14] <jdrab> if not: sudo update-rc.d mysql defaults
[12:39] <daniel_-> jdrab: thx
[12:41] <daniel_-> my ubuntu server hangs on apt-get update -> "Unpacking replacement dpkg" is taking forever. any suggestions?
[13:02] <smoser> jibel, qatracker fix:
[13:02] <smoser> http://paste.ubuntu.com/1230366/
[13:02] <smoser> just a logic error if --append is not given.
[13:34] <briggz> theres a config file for port allowance right?
[13:42] <briggz> what would everyone recommend for DNS Server?
[13:47]  * andygraybeal awaits a response too :)
[13:48] <briggz> what was your question andygraybeal?
[13:48] <andygraybeal> briggz, i'm awaiting a r3esponse to your question also ;)
[13:48] <andygraybeal> about the dns :)
[13:49] <briggz> lol
[13:49] <andygraybeal> have you looked at bind?
[13:50] <briggz> I'm setting up a server for a intro to linux class
[13:50] <briggz> not really, ive heard of it, but also heard it's complicated to setup
[13:50] <andygraybeal> yea, i need a lifevest.
[13:51] <briggz> I was going to go with that originally but I thought other people might have other ideas of fairly decent secure alturnatives.
[13:51] <briggz> is that what your currently playing around with?
[14:01] <andygraybeal> well.... i cheat and i use dns interface from openhosting and rackspace ... plus i've been messing with zentyal
[14:01] <kontinuity> hi all
[14:01] <andygraybeal> briggz, --*
[14:02] <andygraybeal> errr... --^
[14:02] <kontinuity> is it possible to recompile the 12.04 kernel in ec2?
[14:02] <kontinuity> there is no ec2 branch on the precise kernel as there is on lucid
[14:23] <Daviey> smoser: hey, can you make sure https://wiki.ubuntu.com/QuantalQuetzal/TechnicalOverview/Beta2 is good please?
[14:24] <smoser> k. reading.
[14:24] <Daviey> add anything awesome. :)
[14:24] <Daviey> ta
[14:32] <Daviey> smoser: Do you have the script for updating the iso tracker from jenkins testing?
[14:33] <smoser> i use this http://bazaar.launchpad.net/~jibel/+junk/qatracker/
[14:33] <smoser> from lp:~smoser/+junk/jenkins2isotracker/
[14:33] <Daviey> thanks
[14:33] <smoser> (ec2 is alrady done now. and utlemming has set it up to be more automatic on that too)
[14:34] <smoser> note, there is a bug in qatracker
[14:34] <smoser> basically you have to pass --append
[14:34] <smoser> jibel, ^
[14:34] <smoser> fix bug with
[14:34] <smoser> http://paste.ubuntu.com/1230366/
[14:35] <kontinuity> hi how can I recompile precise kernel on ec2?
[14:35] <Daviey> smoser: if you have it already setup, can you run it for the iso tests?
[14:35] <Daviey> smoser: i'll discuss with jamespage about trying to automate this
[14:36] <smoser> where are results, daviey?
[14:37] <Daviey> smoser: https://jenkins.qa.ubuntu.com/view/Quantal/view/ISO%20Testing%20Dashboard/ ?
[14:38] <smoser> hm.. ok
[14:48] <smoser> Daviey, i can't automate this at all, but i'll see if can't one time populate
[14:49] <Daviey> smoser: Why can't it be automated ?
[14:50] <smoser> i'm not doing it now
[14:50] <Daviey> oh sure, i get that!
[14:50] <Daviey> :)
[14:50] <Daviey> I mean, going forwards.. i wondered if jenkins could JFDI?
[15:11] <jibel> smoser, I pushed the script to lp:~ubuntu-qa-website-devel/ubuntu-qa-website/qatracker-tools
[15:11] <zul> why the hell are we still subscribed to socat?
[15:11] <jibel> smoser, feel free to submit LPs
[15:11] <jibel> MPs
[15:12] <zul> adam_g: ping awake yet?
[15:13] <smoser> jibel, you can't submit MP on junk branch
[15:17] <xnox> Daviey: maybe you'd like to talk with website people about server/cloud pages for 12.10 and whether you want to push lts/cloud-archive/quantal and in which combinations.
[15:18] <xnox> Daviey: also I gave them heads up that there probably will be just "ubuntu server" (64 bit) and not "32 bit / 64 bit" variants.
[15:21] <metap0d> Hi everyone, I just set up Ubuntu server and installed vsftpd on the system. I am trying to create user accounts on the system with no access to the shell but it seems when I attempt this  they lose the ability to connect to FTP as well. Here is the command I researched/built: useradd -d /home/user1 -s /sbin/nologin -G ftp user1
[15:21] <ogra_> xnox, unless you want to point to arm server too from there :)
[15:21] <metap0d> Any ideas?
[15:22] <xnox> ogra_: hmm... http://www.ubuntu.com/download/desktop doesn't have any links to ARM, but the server one does... and it goes to "arm for desktop & server"
[15:22] <xnox> =/
[15:23] <ogra_> yeah, desktop is only a reference image while server is an actual product for arm
[15:25] <jibel> smoser, you can propose a merge against ~ubuntu-qa-website-devel/ubuntu-qa-website/qatracker-tools isn't it ? it is not a junk branch
[15:25] <smoser> http://bazaar.launchpad.net/~jibel/+junk/qatracker/
[15:26] <smoser> i was just using that
[15:26] <smoser> i didn't know there was another.
[15:26] <jibel> smoser, ah,ok, it's obsolete now, I moved everything to a more 'official' branch
[15:26] <jibel> [17:11] <jibel> smoser, I pushed the script to lp:~ubuntu-qa-website-devel/ubuntu-qa-website/qatracker-tools
[15:27] <jibel> modulo utc+2
[15:27] <Daviey> xnox: urgently?
[15:28] <xnox> Daviey: between now and release day.
[15:28] <xnox> Daviey: I think beta2 is more urgent right now =)
[15:28] <roaksoax> Daviey: could you look at the upload of maas-enlist i just made pleasE?
[15:28] <Daviey> roaksoax: for b2?
[15:28] <xnox> Daviey: skaet is waiting on you for b2.
[15:29] <Daviey> xnox: yeah
[15:29] <skaet> Daviey,  yeah,  we're missing manditory server testing results and its critical path for releaseing the images
[15:30] <Daviey> ugh
[15:30] <Daviey> smoser: Did you post everything which jenkins covered?
[15:31] <roaksoax> Daviey: no not necessary for b2
[15:31] <roaksoax> :)
[15:31] <Daviey> thank goodness :)
[15:34] <smoser> Daviey, no. i'm working on it.
[15:34] <smoser> its aPITA
[15:39] <Daviey> smoser: ugh
[15:39] <Daviey> sorry, i thought it would be easy
[15:39] <smoser> i was trying to at least model
[15:39] <smoser> what data we'd need and such
[15:39] <Daviey> skaet: we do have 100% mandatory
[15:44] <smoser> Daviey, http://pb.daviey.com/jGFS/
[15:44] <smoser> thats the maaping i have so far
[15:44] <kontinuity> any idea where I can get the ec2 12.04 kernel source?
[15:45] <smoser> kontinuity, its just the -virtual kernel (which is just the -server kernel)
[15:45] <smoser> so your question is generalized to
[15:45] <smoser> "where can i get ubuntu kernel source"
[15:45] <skaet> Daviey,  amd64+mac is missing 3 manditory results.
[15:46] <kontinuity> smoser: thanks! I am trying to compile the ec2 kernel, any pointers? I am following this guide for now http://wiki.freeswitch.org/wiki/Amazon_EC2#Updating_Kernel_Timer_to_1000HZ
[15:46] <skaet> http://iso.qa.ubuntu.com/qatracker/milestones/238/builds/24189/testcases
[15:47] <smoser> well, 'git checkout --traac -b ec2' is no longer valid
[15:47] <smoser> https://help.ubuntu.com/community/Kernel/Compile
[15:48] <kontinuity> but as you mentioned the ec2 branch is no longer valid for Precise
[15:48] <kontinuity> so can I build from the main branch
[15:48] <kontinuity> ?
[15:49] <AlexO> Hey! I just remove my swap partition to resize another, then I recreated another patition for the swap but what do i have to do to tell my server where is my new swap partition?
[15:50] <RoyK> AlexO: mkswap on the partition and add it to /etc/fstab
[15:50] <RoyK> and remove the old one
[15:50] <kontinuity> smoser: any clues?
[15:51] <smoser> kontinuity, yes. its just the '-server' kernel. so follow any instructions you see for that.
[15:52] <kontinuity> smoser: awesome thanks
[15:53] <AlexO> RoyK: Thanks ! Do I need to reboot?
[15:53] <RoyK> AlexO: no, just swapon -a
[15:54] <AlexO> RoyK: Thanks again working just fine :)
[15:54] <TheLordOfTime> how can i force apt-get to resolve the dependencies and install the deps for a given package?
[15:54] <TheLordOfTime> its been being stupid for a while now, so...
[15:54] <RoyK> AlexO: I'd recommend using the swap partition's UUID in /etc/fstab - use blkid to find it
[15:55] <AlexO> RoyK: When I did mkswao /dev/sda5 It return me the UUID
[15:55] <RoyK> AlexO: also, run swapon -s to make sure the old partition isn't hanging around, if it is, you may have to rebot
[15:55] <RoyK> AlexO: ah, ok
[15:56] <RoyK> AlexO: or at least, swapoff that one
[15:56] <AlexO> RoyK: Ok Thanks :)
[15:57] <RoyK> AlexO: did you swapoff the old one before you repartitioned?
[15:57] <AlexO> RoyK: Nope I used gparted(iso) to remove it and when I do a swapon -s I only have one swap partition listed
[15:58] <RoyK> ok
[15:58] <RoyK> if you removed the partition while running swap on it, it might have been a slight problem...
[15:58] <AlexO> Yeah I guess ^
[16:06] <RoyK> http://dalkescientific.com/writings/diary/archive/2007/06/01/lolpython.html
[16:09] <hallyn> zul: ping on sponsoring bug 1054306 ?  (debdiff for augeas bugfix)
[16:12] <skaet> Daviey,  is someone working on those last manditory test cases for amd64+mac or do you consider it good enough as is to ship?
[16:18] <Daviey> skaet: amd64+mac not a released item
[16:18] <Daviey> :)
[16:19] <skaet> Daviey,  can you either add it to the community set,  or remove it from the daily builds then.    Prefer to save testing focus for those that are then.
[16:19] <skaet> ok, marking it as ready.
[16:24] <skaet> Daviey,  https://wiki.ubuntu.com/QuantalQuetzal/TechnicalOverview/Beta2  <-- have you finished making your edits?
[16:30] <zul> hallyn: sure i can get it in a little bit
[16:30] <hallyn> zul: thanks
[16:30] <hallyn> stgraber: would there be any chance of getting augeas added to the server package list?
[16:31] <zul> hallyn:  need to upload openstack final first though
[16:31] <hallyn> zul: np, i'ts not that urgent, long as it makes release :)
[16:34] <stgraber> hallyn: I think the problem is that for some reason libvirt isn't in the ubuntu-server packageset, if it was, augeas would be pulled in automatically
[16:34] <hallyn> stgraber: d'oh
[16:49] <rjune> I have "d-i tasksel/first multiselect edubuntu-desktop" in my preseed file, can someone give me some pointers as to why it isn't installing edubuntu-desktop?
[16:55] <highvoltage> rjune: hmm, that's how I have it in my preseed notes, perhaps something changed in d-i recently
[16:55] <highvoltage> rjune: which ubuntu version is that?
[16:55] <rjune> I'm trying to install precise
[16:56] <highvoltage> hmm, that's how it's done in https://help.ubuntu.com/12.04/installation-guide/example-preseed.txt too
[16:56] <rjune> *sigh*
[16:57] <highvoltage> stgraber: happen to have any insights on why that could happen? ^^^
[16:57] <rjune> highvoltage, are you doing network installs?
[16:58] <stgraber> highvoltage: do you have universe and multiverse enabled?
[16:59] <briggz> can you guys see what I type?
[16:59] <stgraber> highvoltage: oh, and the task is edubuntu-desktop-gnome btw :)
[16:59] <sarnold> briggz: pong
[16:59] <stgraber> http://www.stgraber.org/download/preseeds/weblive-edubuntu.seed is a working seed to install edubuntu (you probably want to change the password and drop the late_command though)
[17:00] <briggz> I joined another channel, it tells me it can't send to channel when I try to type a question
[17:00] <rjune> stgraber, thanks, what does the late command do?
[17:01] <RoyK> briggz: probably because you're not logged into nickserv
[17:01] <stgraber> rjune: download and call a script at the end of the install
[17:01] <RoyK> briggz: but frankly, that's not an ubuntu question ;)
[17:01] <briggz> RoyK: I realize that, however, I'm able to repsond here aren't I?
[17:01] <sarnold> briggz: you're not identified to nickserv; perhaps you need to register your nick and identify. (Some channels require that to try to cut down on spammers.) Or, perhaps the channel is moderated (+m) in which case only ops and voiced users can type
[17:01] <rjune> stgraber, do you have the sample script to be used for that too?
[17:02] <RoyK> briggz: I don't think #ubuntu-server requires users to be logged in, some channels do
[17:02] <stgraber> rjune: not really
[17:02] <sarnold> briggz: /j #freenode -- hopefully someone there will be more familiar with the various rules :)
[17:02] <briggz> RoyK: actually it does, but that's ok
[17:02] <briggz> so heres is a ubuntu question
[17:03] <RoyK> briggz: someone might have added more restrictions to that channel, then
[17:03] <RoyK> !ask | briggz
[17:03] <briggz> Where are html files defaultly stored for webserver Apache2?
[17:03] <rjune> stgraber,  so trial and error for me?
[17:03] <RoyK> /var/www
[17:03] <briggz> RoyK: Thanks
[17:04] <stgraber> rjune: well, as I said, if you just want to install Edubuntu, you don't need it, so just remove that line from the preseed
[17:04] <RoyK> briggz: np, but it'd take you about 23 seconds of googling to find that if you're a slow googler
[17:04] <rjune> stgraber, I have a script we run after install. if I can get it to run automatically, makes our lives easier
[17:05] <jamespage> Daviey - bug 1057635 for the iscsiroot boot failure
[17:05] <Daviey> ugh
[17:06] <jamespage> Daviey, just testing i386 to see if i has the same issue now
[17:12] <jamespage> smoser, hey - around?
[17:13] <smoser> here
[17:13] <smoser> you're going to make fun of my html scraping aren't you
[17:14] <Daviey> hah
[17:14] <jamespage> smoser, nope - I have to go to the openstack meetup in london now - bug 1057635 needs adding to the beta-2 release notes
[17:14] <jamespage> any chance you can do the honours?
[17:14] <smoser> sure
[17:14] <jamespage> my description may not be that accurate....
[17:14] <jamespage> supposition
[17:15] <smoser> huh.
[17:25] <koolhead17> Daviey, i did it sir. :P
[17:50] <rjune> stgraber, thanks, I needed edubuntu-desktop-gnome, not edubuntu-desktop
[18:02] <pentagon> Does the server use avahi for dhcp or another package ?
[18:09] <rbasak> pentagon: as a dhcp client? isc-dhcp-client
[18:09] <rbasak> pentagon: there's avahi-autoipd but I don't think that's used on server
[18:17] <adam_g> zul: ready
[18:17] <zul> adam_g: cool thanks
[18:17] <adam_g> zul: please check that that change is sane
[18:18] <pentagon> rbasak: Do you think it would be very hard to rip out avahi on a desktop system and install isc-dhcp-client ?
[18:19] <zul> adam_g: looks good to me
[18:19] <rbasak> pentagon: I think you're in the wrong channel! Try #ubuntu.
[19:18] <genii-around> Odd. removing popularity-contest in 10.04 wants to also remove ubuntu-standard
[19:27] <sarnold> genii-around: note apt-cache show ubuntu-standard Depends: .. popularity-contest, ...
[19:29] <genii-around> Seems unusual, i thought popularity-contest was an optional package
[19:30] <simosx> maybe it was marked like that at that time. In any case, popcon is off by default.
[19:31] <pentagon> Please help.
[19:32] <genii-around> Well, this box is pretty old, went from 8.04-10.04  maybe the dependencies are messed up somehow
[19:44] <pentagon> usr13_: I understand hostname but I want it to function by default the way the server edition does.
[19:44] <pentagon> oops
[19:44] <pentagon> I posted in the wrong channel trying to scroll up and get that post.
[19:46] <pentagon> How can I convert a desktop system to act the way a server edition does conscerning dhcp networking and the setting of hostname. #Ubuntu is of no help because I don't think they know how the server edition functions.
[19:50] <ikonia> pentagon: exactly the same way as a server
[19:51] <ikonia> pentagon: install the needed packages to run the daemons you want and configure them
[20:29] <MACscr> how would i find out what method was used to install mysql on an ubuntu system? The debian-sys-maint user is missing and im trying to figure out why
[20:39] <MACscr> id also like to know what privs this user should have so i can recreate it
[20:54] <allohak> pulseaudio auto detects bluetooth on 12.04 desktop, how do I get the same effect in 12.04 server?
[20:55] <allohak> I have bluez, alsa, pulseaudio, and i *think* all the relevant packages installed that let them talk to each other
[21:15] <briggz> has anyone setup a DNS locally on a LAN?
[21:19] <MACscr> Hmm, i was told that running dpkg-reconfigure mysql-server-5.1 should give me an option to recreate the debian-sys-maint user, but it just ended up resetting the root pass
[21:19] <MACscr> did i miss something?
[21:20] <sarnold> briggz: check out powerdns; it is way easier to set up than bind.
[21:20] <sarnold> briggz: pdns-recursor can even serve up an /etc/passwd file if you want _simple_ :)
[21:22] <briggz> sarnold: Thanks, that's the kind of information I was looking for, I heard bind was very complex.
[21:22] <allohak> briggz: try dnsmasq
[21:22] <allohak> briggz: I run a small business network and use it for internal name resolution
[21:23] <briggz> Will either of those options be afftected if I buy a domain name in the future?
[21:23] <allohak> briggz: another option is bind9, though it is a little more complicated
[21:24] <sarnold> briggz: no, you probably don't want to serve your world-wide DNS using internal machines anyhow
[21:25] <sarnold> briggz: your ISPs will probably be able to help you there
[21:25] <briggz> what I'm going to do it but the domain, then point to my ip
[21:26] <briggz> I don't need to setup internally really, just thought it might be neat to try, I'm going to more focus on a normal DNS setup
[21:32] <drag0nius> i'm running ubuntu server as a router, how would i set up DMZ with my gaming computer?
[21:32] <drag0nius> basically i know which ports all services running on ubuntu server use, but i don't want to set up new rules every time i play new game
[21:33] <drag0nius> so i'd just forward everything that is not used on server to gaming comp
[21:33] <sarnold> drag0nius: netstat -anp is a good starting point
[21:34] <drag0nius> setting up DMZ on gaming comp would be most convenient
[21:34] <drag0nius> so i would never have to care whether it's port forwarding problem or something else with setting up game server
[21:36] <drag0nius> what soft should i check for it?
[21:37] <sarnold> drag0nius: perhaps the 'ufw' friendly-firewall tool can help you write the correct iptables rules
[21:37] <sarnold> drag0nius: but as far as I know there is no single box to check to get done what you wish
[21:38] <jdstrand> ufw could help, but it isn't as friendly as one could imagine for a router. though, 'man ufw-framework' has workable example of how to use the ufw framework on a router
[21:38] <drag0nius> DMZ is kinda first thing i cant find how to configure
[21:40] <drag0nius> tried sneaking on Tomato, but looks like DMZ isnt set up with iptables
[21:41] <sarnold> ah, <3 tomato.
[21:41] <drag0nius> wish there would be some tomato-like overlay for ubuntu server XD
[21:42] <sarnold> drag0nius: well, 'apt-cache search firewall' will show tools that may be able to help you some. 'shorewall' comes to mind as another potential helper, but I haven't used any of these things.
[21:46] <briggz> ubuntu server has built in firewall right?
[21:48] <sarnold> briggz: yes. but writing rules is up to you. either you write them by hand, or you use the 'ufw' or another front-end to write rules.
[21:50] <drag0nius> hmm i think dmz might not be exactly what im looking for
[21:51] <jdstrand> ufw works very well for a bastion host (see 'man ufw' for usage and examples). it can work well for a routing firewall too, but you need to dig in a bit more (again, see 'man ufw-framework')
[21:52] <drag0nius> looks like i want to have that server transparent except few services ports
[21:53] <drag0nius> so instead of connecting to server everything would connect to my comp by default
[21:54] <drag0nius> any ideas on what i'm actually looking for?
[22:13] <drag0nius> nobody? ;/
[22:21] <SpamapS> drag0nius: I'm not sure I understand what you want
[22:22] <drag0nius> i want to expose computer i'm using to internet
[22:22] <drag0nius> so if i put external ip it would access my comp
[22:22] <drag0nius> except for some services im running on server
[22:23] <drag0nius> i know ports of all services running on server, but i dont know ports which are used by some games/programs im using
[22:24] <drag0nius> so i would use port forwarding to access server's resources
[22:24] <drag0nius> and everything else would go to specified internal ip
[22:25] <drag0nius> still don't get what i want to achieve?
[22:26] <drag0nius> in routers it's achieved by setting up DMZ
[22:37] <hallyn> smb`: we're busy and all, but i thought the info in last comment of bug 1047531 is very interesting.  if it rings any bells, pls lemme know
[22:39] <Shanne> tjgijtg
[22:39] <Shanne> Holii
[23:09] <xnox> anybody knows a good RSS to IRC bot?
[23:15] <tsimpson> xnox: supybot, it comes with an RSS plugin
[23:15] <xnox> tsimpson: thanks.
[23:38] <drag0nius> is there some upnp igd soft for ubuntu?
[23:38] <RoyK> !upnp
[23:39] <drag0nius> i need it for port forwarding
[23:40] <RoyK> google it - iirc there are solutions for that
[23:41] <sarnold> drag0nius: apt-cache search igd
[23:42] <sarnold> drag0nius: looks like at least three programs and several libraries. :)
[23:49] <drag0nius> i guess such soft just "plain forwards" without any extras?