[00:06] <alan23424> Right is there something for ubuntu that would have it create daily system status emails for me - like on bsd
[00:07] <RoyK> alan23424: what sort of reports?
[00:07] <RoyK> a cronjob would probably do...
[00:09] <alan23424> I have one hosted debian box, whoever built it has cron email root daily with failed ssh attempts, disk usage, net usage and other fun stuff
[00:09] <alan23424> wondered if that sounded like something obvious
[00:09] <alan23424> and not homemade
[00:30] <RoyK> alan23424: for failed ssh, denyhosts is a better approach
[00:30] <RoyK> for net usage, find some graphing stuff like munin
[00:31] <RoyK> getting that over email is what they did in the eightees or ninetees, current systems are better
[00:32] <RoyK> disk usage should be monitored by something like nagios/icinga
[00:33] <RoyK> so you get an altert if it reaches a certain threashold
[00:33] <RoyK> no reason for an admin to read daily emails about 45% disk space used
[01:15] <Alan> what's the best way to (headlessly) boot the previous kernel in ubuntu server?
[01:59] <pehden> QUESTION: postfix , dovecot , spamassasin , with procmail, I had this all set up and I had an issue with something else so i had removed postfix , well before my email would come into folder /home/pehden/mail     now it keeps going to /var/mail/pehden what do i need to do to fix this back so i can use my webmail lite to check it
[02:01] <pehden> urgent
[02:09] <pehden> well great
[02:10] <pehden> 256 people in here and no one real
[02:27] <pmatulis> Alan: remove the most recent kernel
[02:28] <pmatulis> pehden: how can you be getting mail if you don't have an MTA (ex: Postfix) anymore?
[02:28] <Delerium_> Hi Guys, I'am having a VM (Ubuntu Server on VBox) on my Win7 PC.  My router forward port 80 to this VM.  I need to secure this VM so in case of attack, this very VM won't be able to reach my internal network.  Should I use SELinux or Iptables under Ub Server?
[02:29] <patdk-lap> hmm, both?
[02:29] <patdk-lap> they both do totally different things
[02:29] <pehden> pmatulis i reinstalled it
[02:30] <pmatulis> pehden: i guess you lost the original configuration then
[02:30] <pehden> pmatulis i know thats why im asking what would i need for the conf to have it put the email back in that folder
[02:32] <Delerium_> patdk-lap, What are the main differences?
[02:32] <patdk-lap> one is a firewall, the other is not :)
[02:32] <patdk-lap> kind of like meat and oranges
[02:33] <patdk-lap> both food, but nothing in common with each other otherwise
[02:33] <Delerium_> patdk-lap, K, for my congirutation, I guess I should use SeLinux?
[02:33] <patdk-lap> I have no idea
[02:33] <patdk-lap> iptables protects you from doing stupid things on the network level
[02:33] <patdk-lap> selinux stops programs from doing stupid things
[02:34] <pmatulis> Delerium_: ubuntu uses apparmor by default.  why would you also use selinux?
[02:34] <Delerium_> patdk-lap, Thanks!  That exactly the differences I want to know ;)
[02:35] <Delerium_> pmatulis, Hee... I'll check AppArmor also then.. Haven't been using Linux for a while so I'm learning all there new technology that have been added over the years
[04:48] <osmosis> im looking to do  apt-get install monodb, but it wants to install like 100 xorg dependencies with it.  its a db, not a gui app, so im not sure why this is so.
[04:48] <osmosis> on lucid
[04:50] <ScottK> There's no Ubuntu package named monodb in Lucid.
[04:51] <ScottK> If you're installing a third party package of some kind, you'll need to ask them.
[04:51] <osmosis> sorry, mongodb
[04:54] <ScottK> Because it depends on xulrunner-1.9.2-dev
[04:56] <osmosis> is there a way to lookup the date that a package was installed?
[05:03] <jmarsden> osmosis: look in /var/log/dpkg.log* for it
[05:22] <goddard> i want to make a complete system image backup over the network while the server is running possible?
[05:30] <osmosis> jmarsden, hrmm...dpkg.log is set with logrotate is fade away
[05:31] <jmarsden> osmosis: Yes, my machine here keeps a year worth online, after that I'd need to dig out old archival backups...
[08:10] <philipballew> i want to set up ssh on it but i have a dynamic ip address
[08:10] <philipballew> how can i do this
[08:13] <jmarsden> philipballew: Use openssh-server as normal, and use a dynamic DNS provider such as no-ip.com to provide DNS that changes when your dynamic IP changes.
[08:14] <philipballew> thats what i was gonna do. so like when i log into the server i do ssh (domain givin by the noip service) correct?
[08:15] <philipballew> how can i find my outside ip addres on my cli system. ifconfig doesnt show it. i was just gonna sing myself down with my laptop after copying my ip address down
[08:16] <eagles0513875> hey guys how can i ensure a user has access to an nfs share
[08:16] <eagles0513875> im doing some testing on natty im not seeing any nfs group or anything
[08:20] <eagles0513875> any nfs experts in here
[08:21] <philipballew> fot this service should i give them my 192.168.whatever or my outside address; 69.whatever?
[08:29] <eagles0513875> philipballew: what are you trying to do?
[08:32] <philipballew> set up ssh on my ubuntu server with a dynamic ip
[08:33] <eagles0513875> philipballew: the easiest thing to do would sign up with dyndns to keep track of the dynamic ip and changes
[08:33] <eagles0513875> that way then you ssh using the dyndns domain you have
[08:34] <philipballew> i was gonna do no ip maybe. is that the same?
[08:35] <philipballew> but i did not know what to put when the thing asked for my ip address? do i give them my one thats the 192.whatever or my 69.whatever?
[08:37] <eagles0513875> ya no ip is the same
[08:38] <eagles0513875> they would want your public ip
[08:38] <eagles0513875> as your internal ip they wont see it
[08:38] <eagles0513875> and im guessing you have a router as well in the setup
[08:39] <eagles0513875> I have a quick question regarding nfs. Is there an nfs group i add a particular user to to give them access to the share?
[08:39] <philipballew> i do have a router. its a 2wire
[08:45] <eagles0513875> since you have a dynamic ip you need ur router to perform NAT to share with ur internal network ur internal ip will never be seen
[08:45] <eagles0513875> so you need the external one specified
[08:46] <philipballew> alright. i was just gonna use say elinks and go to whatsmyip and copy from there
[08:46] <philipballew> but im probably doin it wrong
[08:46] <eagles0513875> actually you can go onto ur router and find out from the routers web interface
[08:47] <philipballew> hum. but wouldnt this just make my log into my router and not my server?
[08:48] <eagles0513875> ya but you can get the public ip you have from there
[08:48] <philipballew> what do you mean
[08:54] <eagles0513875> you can find network information like the public ip and more
[08:54] <eagles0513875> you have the router firewall and portforwarding etc there
[08:54] <eagles0513875> so if you have your server behind the router firewall youll need to portforward
[08:55] <eagles0513875> otherwise you can throw it on the router dmz to be directly outside the network then though ull need ur server to do dhcp dns etc
[08:58] <philipballew> so when i now have givin noip my 69........ address and the damian i chose whats gonna happen when i enter ssh domain into the terminal?
[09:24] <philipballew> im trying to get the ssh key onto my server via flash drive, where is the drive if ls is not showing it in media?
[10:18] <anonissimus> anyone around to help me with this apache virtualhost problem, I added blog.ddomain.tld /var/www/blog to the virtualhosts but nothing loads when I navigate to blog.domain.tld
[11:46] <brontosaurusrex>  i have an intranet web/ftp server and i would like to do a partial mirror on the remote machine, is there a ftp flag i could use, so that users would specifically flag files that are to be synced?
[11:59] <airtonix> anonissimus: i like the detail in your request. :>
[12:10] <anonissimus> airtonix: was that ironic? I can be more specific but the domains don't really matter don't they?
[12:11] <anonissimus> I did a more descriptive one before
[12:16] <airtonix> your virtualhost conf file matters
[12:16] <airtonix> so does your bind dns setup if you rely on it
[12:17] <airtonix> anonissimus: so pastebin : /etc/apache2/sites-available/X (where X is the virtualhost conf file for your thing)
[13:57] <hallyn> Daviey: good morning - no email yet about documentation, right?
[14:03] <anonissimus> airtonix: http://pastebin.com/q6A1U25Y
[14:04] <airtonix> anonissimus: for future ref, unless your vhost needs it. get rid of lines 16 - 22
[14:04] <airtonix> anonissimus: wordpress does not need it
[14:07] <anonissimus> allright
[14:07] <airtonix> anonissimus: also, none of it looks wrong, (but this is how i would structure it : http://pastebin.com/SMkkbJz9 ) so it's up to a question of how you're domain name is resolved
[14:07] <airtonix> anonissimus: i like to keep my subdomain/intranet apps portable and self contained.
[14:07] <anonissimus> well the point is that anonissimus.be resolves
[14:07] <anonissimus> but the *.anonissimus.be does not
[14:08] <airtonix> anonissimus: and are you running your own dns server or is it something thats provided by another host ?
[14:08] <anonissimus> dns is provided by my host
[14:10] <airtonix> anonissimus: i assume you have a CNAME record blog CNAME anonissimus.be ?
[14:10] <anonissimus> I requested that some days ago
[14:10] <anonissimus> but it seems that with holidays it doesnt get changed
[14:12] <airtonix> anonissimus: so it's not a dns server under your control ?
[14:12] <anonissimus> nope
[14:12] <airtonix> anonissimus: did you just ask for wildcard subdomains?
[14:13] <anonissimus> nope I asked specifically for the blog subdomain to point to the ip of my server
[14:15] <airtonix> anonissimus: you can find out if it resolves with dig or host : http://dpaste.com/535432/
[14:15] <airtonix> but at the moment it does not
[14:16] <anonissimus> hmhm so there we have the problem
[14:16] <anonissimus> a lazy admin
[14:16] <anonissimus> :D
[14:16] <airtonix> makes me glad that i'm with webfaction
[14:16] <anonissimus> well, it's a friend of a friend
[14:16] <anonissimus> and I barely use it
[14:17] <anonissimus> so I guess I get what I pay for
[14:17] <airtonix> there you go
[14:18] <anonissimus> off to some more networking fun, thanks again
[14:24] <RoAkSoAx> morning all
[15:18] <hggdh> zul: can I have the whole of the test rig?
[15:18] <hggdh> morning, RoAkSoAx
[15:19] <zul> hggdh, yep
[15:20] <hggdh> zul: thank you
[15:22] <RoyK> test rig?
[15:24] <robbiew> hggdh: hey...saw the comments on bug 717166
[15:25] <robbiew> did something get left out?
[15:25]  * robbiew is not panicking...fwiw, just interested
[15:25] <hggdh> robbiew: not to our knowledge -- but I just tried again with current ISO, and it failed miserably
[15:25]  * hggdh is, OTOH, starting to panic
[15:25] <robbiew> :/
[15:26] <RoAkSoAx> hggdh: morning
[15:26] <robbiew> hggdh: heh...it's always fixable in an SRU ;)
[15:27] <hggdh> RoyK: a few systems we have where we can test some stuff without blowing everything else to hell :-)
[15:28] <RoAkSoAx> hggdh: when you free, could you pelase verify bug #648202
[15:28] <hggdh> robbiew: yeah, but it is not kosher :-(
[15:29] <hggdh> RoAkSoAx: did you also change from egrep to 'grep -E'? egrep is the obsolete form, and it is not generically portable
[15:32] <RoAkSoAx> hggdh: not I didn't change anything I just got the patches that were there already and put them together as they all work and the fixes are in Maverick
[15:38] <hggdh> RoAkSoAx: OK. I will test it as soon as possible on lucid
[15:38] <RoAkSoAx> hggdh: awesome, thank you!
[15:41] <robbiew> hggdh: I'm going to release note bug 717166, given we won't have it fixed in the ISO...and if you discover a workaround, we can update the bug and release notes
[15:42] <hggdh> robbiew: perfect, thank you. I am updating the bug stating that we are seeing problems, but do not know yet what is causing them
[15:47] <RoAkSoAx> kirkland: howdy!! How was PowerNap's testing?
[15:48] <kirkland> RoAkSoAx: productive
[15:48] <kirkland> RoAkSoAx: howdy :-)
[15:48] <RoAkSoAx> kirkland: how much powersavings were seen?
[16:12] <SpamapS> I'm starting on the RAID tests w/ 20110425 .. are there any respins scheduled?
[16:13] <RoyK> hggdh: heh - I have a couple of those at work as well...
[16:13] <RoyK> mostly for openindiana/zfs testing, though
[16:29] <RoAkSoAx> SpamapS: howdy!!
[16:29] <RoAkSoAx> SpamapS: quick question about upstart!. I want a job to only start after *all* the interfaces are up. Is this possible?
[16:30] <RoAkSoAx> SpamapS: or all the interface sin /etc/network/interfaces
[16:31] <SpamapS> RoAkSoAx: start on started networking will start after all *static* interfaces are up
[16:31] <SpamapS> RoAkSoAx: so that should achieve what you want
[16:32] <SpamapS> RoAkSoAx: and likely will be the default for runlevel 2 in 11.10 and later
[16:33] <RoAkSoAx> SpamapS: cool thanks
[16:37] <SpamapS> hallyn: ping?
[16:55] <amero> is there way to set a limit on amount of cpu usage allowed for any single processes?
[16:58] <RoyK> amero: ulimit
[17:04] <amero> what's this supposed to mean: The maximum amount of cpu time in seconds
[17:04] <RoyK> yes
[17:04] <RoyK> there's no way to limit the percentage of cpu usage
[17:04] <RoyK> but you can set the priority on the pid, of course
[17:05] <RoyK> man renice
[17:06] <amero> oh what does that option do then. it limits how long a process could use a cpu?
[17:06] <RoyK> yes
[17:06] <amero> even it uses 1%, the limit will still kick in?
[17:07] <RoyK> when the cpu time spent reaches the limit
[17:07] <RoyK> see 'top' or 'ps' - it shows you how much cpu time is spent by each process
[17:08] <SpamapS> RoAkSoAx: hmm.. I may have told you wrong.. it may actually be 'start on stopped networking' .. which I know.. is very confusing.
[17:09] <RoAkSoAx> SpamapS: uhmmm but why would it be "on stopped"?
[17:09] <SpamapS> RoAkSoAx: because started will happen as soon as it forks/execs ifup -a ..
[17:10] <SpamapS> RoAkSoAx: stopped comes after ifup -a has exitted
[17:10] <SpamapS> RoAkSoAx: because it is a "task"
[17:10] <RoAkSoAx> SpamapS: indeed confusing
[17:10] <SpamapS> RoAkSoAx: yeah I'm just now realizing I've been confused about it up until this point
[17:11] <RoAkSoAx> :/ I'll write the upstart job for keepalived and test
[17:11] <RoyK> amero: the linux process scheduler can't share just a fraction of its time for a process. Some OSes, such as AIX, can virtualise parts of a CPU, but Linux can't
[17:34] <amero> RoyK: looks like my only option now is renice. do we have a renice daemon or something will monitor and auto nice a process?
[17:39] <bastidrazor> how do i get reverse mapping to work correctly? i get things like "Apr 25 12:37:47 servitude sshd[8779]: reverse mapping checking getaddrinfo for dynamic-76.72.201.232.tvscable.com [76.72.201.232] failed
[17:39] <bastidrazor> - POSSIBLE BREAK-IN ATTEMPT!"
[17:39] <bastidrazor> when anyone tries to ssh into my server.
[17:41] <anonissimus> airtonix:
[17:42] <anonissimus> dns got edited but now I get broken a broken link error
[17:46] <RoyK> amero: the renice won't stay after a reboot, so rather rewrite the init script to start it with lower priority
[17:50] <SpamapS> what is the thing that puts the system load  /  stats in motd? landscape-client ? It should totally put a "your RAID device X is degraded" message in too
[17:51] <zul> update-motd i think
[17:51] <RoyK> SpamapS: for software or hardware raid?
[17:51] <SpamapS> well ideally any, but specifically the simplest one to solve is software
[17:51] <SpamapS> hmmmm...
[17:51] <SpamapS> mdadm did not start on boot
[17:52]  * RoyK uses icinga (former nagios) for that sort of stuff
[17:52] <RoyK> sends me an sms if something goes wrong
[17:52] <SpamapS> RoyK: I'm not saying its best practices to log in and look for problems
[17:53] <SpamapS> RoyK: monitoring is by far the right way to do this. :)
[17:53] <SpamapS> RoyK: I'm saying.. if we're going to display system load.. we should also include obvious problems.
[17:53] <RoyK> SpamapS: true :)
[17:53]  * SpamapS is a belt and suspenders kind of guy
[18:01] <AphisOne> I've been looking for documentation or a tutorial on common practices on how to handle CVE corrections with Ubuntu Server, but have yet to run across anything.  Any links or suggestions are welcome and needed, please.  Thanks!
[18:07] <pehden> ok this is getting old im not sure what doing it but the server has had to be rebooted in the morning and now its up and running but this cycle is getting old
[19:21] <kirkland> RoAkSoAx: ping
[19:22] <kirkland> RoAkSoAx: negronjl has some questions about using Cobbler to provision into KVMs
[19:28] <RoAkSoAx> kirkland: sure
[19:28] <RoAkSoAx> negronjl: i'm here
[19:29] <negronjl> hi RoAkSoAx
[19:29] <kirkland> RoAkSoAx: can you walk us through deploying a kvm through cobbler?
[19:29] <RoAkSoAx> negronjl: sure
[19:29] <RoAkSoAx> let me get my cobbler server up
[19:29] <kirkland> RoAkSoAx: negronjl is running his cobbler (orchestra) server in a vm too, all in virt-manager
[19:30] <RoAkSoAx> kirkland: so you guys want NQA right?
[19:30] <kirkland> RoAkSoAx: sure
[19:31] <RoAkSoAx> kirkland: ok give me a sec
[19:31] <negronjl> kirkland had to step out for a minute...
[19:32] <negronjl> I have a virtual ( or trying to set up ) where I have a cobbler server.
[19:32] <negronjl> I need that cobbler server to be able to pxe boot other instances.
[19:32] <negronjl> RoAkSoAx:  Any chance of continuing this on Skype?
[19:32] <RoAkSoAx> negronjl: sure, or mumble
[20:11] <smoser> jamespage, still around?
[20:38] <Chromag9> does anyone have any experience on running Ubuntu server on Amazon EC2?
[20:43] <hallyn> Chromag9: lots of ppl here do it.  if you have questions ask away
[20:49] <Chromag9> I was interested in looking into it via their AWS Free Usage Tier
[20:50] <Chromag9> it looks like there was some question, initially, about it actually being "free" because the official Ubunti AMI's were all 15gb, which is over the free 10gb EBS emoung
[20:50] <Chromag9> *amount
[20:51] <SpamapS> Chromag9: I believe they were dropped to 8GB to work w/ that
[20:52] <SpamapS> smoser: ^^
[20:52] <Chromag9> after poking around it looks like they (being Canonical) changes the official AMI's to be 8GB?  can someone confirm this?  for example: US-East-AMI ami-688c7801
[20:52] <Chromag9> ahh, well that would be a confirmation, thanks!
[20:53] <Chromag9> looks like I can safely check it out at no charge to see whether I want to use it
[20:53] <smoser> Chromag9, ami-688c7801 is not an ebs root image
[20:53] <smoser> so it will not be free
[20:53] <smoser> pick from the list at http://uec-images.ubuntu.com/releases/maverick/release-20101225/
[20:53] <smoser> and use an 'ebs' one. those will have 8G root filesystems.
[20:54] <Chromag9> wait, I clicked on an ebs one in the list to copy the AMI number
[20:54] <smoser> what list ?
[20:54] <smoser> that is most definitely not ebs
[20:54] <Chromag9> http://uec-images.ubuntu.com/releases/maverick/release/
[20:55] <smoser> yeah... those links are bad :-(
[20:55] <Chromag9> ahh
[20:55] <Chromag9> ami-cef405a7
[20:56] <Chromag9> that's the one I was looking at - for whatever reason the link goes to the wrong page
[20:56] <smoser> https://forums.aws.amazon.com/message.jspa?messageID=210521
[20:56] <smoser> Chromag9, ^ is why the page you see when you click it is out of date.
[20:56] <smoser> we're not able to update it any more.
[20:56] <smoser> amazon basically abandoned that stuff.
[20:56] <smoser> i should probably make the index pages not link there.
[20:57] <smoser> but, ack, that what you do want is
[20:57] <smoser> ami-cef405a7
[20:57] <smoser> us-east-1 ami-cef405a7 canonical ebs/ubuntu-maverick-10.10-amd64-server-20101225
[20:57] <Chromag9> yep, that's the one I was looking at
[20:57] <smoser> Chromag9, you might want to try natty though
[20:57] <Chromag9> yeah
[20:57] <smoser> if you're not going to pick LTS (lucid), then natty will release in 3 days.
[20:58] <Chromag9> ahh natty is being released in 3 days?
[20:58] <smoser> for playing, i'd suggest grabbing a natty daily ami.
[20:58] <smoser> yes, natty will arrive thursday
[20:59] <smoser> if you grab today's ami's http://uec-images.ubuntu.com/server/natty/20110425/ it will be virtually inditinguishable
[20:59] <SpamapS> and then you wont have to worry about chulu eating yee
[20:59] <smoser> exactly
[20:59] <Chromag9> can I freely drop the daily ami instance and create a new one when the final is released thursday?
[20:59] <Chromag9> or will that cost me?
[21:00] <smoser> Chromag9, you can... you may end up getting charged for 1 hour, if you stopped and started in the same hour
[21:00] <smoser> i'm not sure how their charging works exactly
[21:00] <smoser> but that would be $0.02
[21:01] <Chromag9> haha me either - I really should make sure I understand it - but a few cents here and there is no big deal
[21:01] <smoser> so i'd buy you a stick of gum if we ever meet and you're charged that.
[21:01] <Chromag9> I'm just paranoid that I'll do something wrong and next thing ya know they're billing me $500
[21:01] <smoser> well, you would actually be hard pressed to run up a bill over $100 in a month if you use a t1.micro size
[21:01] <Chromag9> sweet!  well at least I'll get a piece of gum out of the deal
[21:02] <smoser> ie, if you did something like 'ssh host cat /dev/zero'
[21:02] <smoser> you might see some large network charges
[21:02] <smoser> but other than that...
[21:02] <Chromag9> yeah I'm not planning on doing that :)
[21:04] <smoser> if you pick a natty daily and apt-get dist-upgrade and reboot, its the same as current
[21:04] <smoser> Chromag9,
[21:04] <Chromag9> smoser: oh Thursday when the final version comes out?
[21:04] <Chromag9> *on
[21:05] <smoser> yes.
[21:05] <Chromag9> I didn't think of that - I'm really behind on upgrades
[21:05] <Chromag9> I have two standalone Ubuntu server boxes at work right now, both running 10.04
[21:05] <Chromag9> updates, I should say
[21:06] <robbiew> SpamapS: ping
[21:09] <SpamapS> robbiew: pong
[21:10] <robbiew> SpamapS: hey hey :)
[23:28] <hggdh> hallyn: why would a amd64 image fail with "error : qemudWaitForMonitor:1886 : internal error process exited while connecting to monitor: qemu: at most 2047 MB RAM can be simulated"?
[23:29] <hallyn> hggdh: is this non-accelerated i386 maybe?
[23:29] <hallyn> hggdh: or maybe you were just out of ram?
[23:30] <hggdh> hallyn: bloody hell :-(
[23:30] <hallyn> hggdh: it used to be non-kvm qemu didn't support ram > 4G.  2047 sounds weird
[23:30] <hggdh> I have been looking for a red herring since the morning... trying to run a 64-bit image on i386 :-(
[23:31] <hallyn> doh
[23:31] <hallyn> is that what this is?
[23:31] <hggdh> hallyn: yes, I remember this error on i386. I was swearing I was running on a 64 host
[23:31] <hallyn> might be worth a bug about bad error reporting
[23:31] <hggdh> time to get a double shot of wisky
[23:31] <hggdh> yeah
[23:32] <hallyn> sounds tasty
[23:32] <hggdh> :-) at least some good news today, I *know* where I got it wrong
[23:33] <hggdh> anyway, lost by one, lost by one thousand. I will try a i386 image just for spite