[02:01] <ak> Hello,as a gnu/linux newbie i m trying to setup an ubuntu 12.04 server.The server machine is connected to internet via a wifi card.What i am trying to do is to also make that card work as an AP @ the same time.Is that possible?Thanks in advance!
[02:22] <TheLordOfTime> was going to say that you need two NICs to make a truly-usable AP
[07:06] <ketan985> what's best monitering tool for ubuntu server ????
[07:17] <lifeless> Mark 1 eyeball.
[07:18] <sarnold> only good if hooked up to a mk ii brain :)
[08:48] <Kredo> hi guys
[08:48] <Kredo> need help: Device /dev/ttyUSB0 is locked
[08:48] <Kredo> can I send/rcv sms while connected?
[09:53] <megha> is ubuntu server stable compared to debian ? or both of them are equal
[09:54] <koolhead17> megha: what are u trying to deploy install? Its all same. And Ubuntu has all new cloudy pkgs
[09:54] <megha> cloudy pkgs ?
[09:55] <megha> koolhead17: i am trying to setup a webserver.
[09:55] <megha> for commercial purpose.
[09:55] <koolhead17> megha: cloudy == cloud computing ones
[09:55] <koolhead17> megha: go ahead with a LTS server and your good
[09:56] <megha> ok :)
[09:56] <megha> ubuntu server is debian testing repos right ?
[10:32] <koolhead17> megha: who gave you that crap?
[10:33] <koolhead17> i said go use 12.04 LTS it has 5 yr support
[10:34] <megha> people in other channel
[10:35] <koolhead17> megha: your smart enough i suppose 2 take decision :)
[10:36] <megha> hmmm..
[10:59] <eutheria> does the 12.04 still hit on a cd?
[11:28] <jamespage> zul, bug 1101158 is the problem impacting the glance client
[11:29] <jamespage> zul, I had a quick pass at an upgrade but it needs a new dependency - jsonpatch
[11:30] <jamespage> zul, indeed smoser already spotted this - bug 1098688
[11:30] <jamespage> duped
[12:15] <vnc786> i have 10 machines with ubuntu 12.04 running through LTSP now i want to configure gnome settings of one user and apply that settings to others. how do i do that ?
[12:16] <ogra_> vnc786, as i said before, try #ltsp
[12:20] <vnc786> @ogra_: what if i would be running normal 2-3 ubuntu machines
[12:20] <ogra_> then you would likely ask in a desktop related channel
[12:21] <ogra_> ltsp has the (dis)advantage of touching both worlds like nothing else
[12:41] <feisar> hi, I mounted a LV to use as /var but now I would like to remove the files that are 'under' that mount (the old /var mount point) what's the best way of going about that?
[12:42] <feisar> (I did the same with /tmp and simply umounted the LV, removed the old /tmp files and remounted but I can't umount /var or course)
[12:48] <feisar> ah, maybe --bind is what I need?
[12:52] <zul> jamespage: grrrr
[13:06] <zul> jamespage: there is an easy wasy to fix that
[13:06] <jamespage> zul, oh yes
[13:06] <jamespage> it appears to work as well
[13:06] <jamespage> :-)
[13:06] <zul> jamespage: patch the requirements.txt :)
[13:07] <jamespage> zul, want me todo that? then you can worry about the upgrade path to the newer version :-)
[13:07] <jamespage> zul, that was how I fixed it locally :-)
[13:07] <zul> jamespage: ill do it and get the new version of warlock ready as well
[13:07] <zul> good morning btw
[13:18] <zul> jamespage: do we have a compeling reason to update to the new python-warlock?
[13:23] <jamespage> zul, morning
[13:23] <jamespage> zul, probably not
[13:24] <zul> jamespage: ok lets put it off then
[13:26] <zul> anyways warlock has been updated
[13:33] <smoser> jamespage, it wasn't actually clear to me that it really *did* have htat dependecy on 0.2
[13:33] <smoser> https://launchpad.net/bugs/1098688
[13:34] <smoser> ie, i just changed the name that jsonchema reported and it got past initial trap, and i was then failing to auth against HP cloud, but i didn't test against aa known working state.
[13:37] <zul> jamespage: btw https://code.launchpad.net/~zulcss/python-keystoneclient/0.2.2/+merge/143880
[13:40] <zul> yolanda: sorry can you look at this as well? https://code.launchpad.net/~zulcss/python-keystoneclient/0.2.2/+merge/143880
[13:41] <yolanda> hi zul
[13:41] <yolanda> ok
[13:43] <yolanda> zul, is just the comments in changelog?
[13:43] <zul> yolanda: yep
[13:43] <yolanda> easy one then
[13:43] <yolanda> done
[13:44] <zul> thanks
[13:47] <maxb> Does anyone know of any script/webapp/... that gathers information on upgradeable packages across a farm of servers and collates the information?
[13:49] <zul> maxb:  yes....its called landscape http://www.canonical.com/enterprise-services/ubuntu-advantage/landscape
[16:21] <frojnd> Hi there.
[16:25] <RoyK> ho
[16:25] <frojnd> Sup, sup :)
[16:30] <TheBronx> hi!
[16:32] <TheBronx> this is probably not the best place to ask this but... any libpcap expert?
[16:33] <TheBronx> I have a simple c program using libpcap, it works but one of the CPU cores is always at 100%...
[16:35] <tboat> hey all, I am trying to get my postfix mail to forward to gmail, ive tried setting up a forward service in postfix conf, but the mail doesn't forward
[16:37] <qhartman> TheBronx, Almost certainly not the place to ask. I would guess though that you've got some expensive loop in there that you don't need.
[16:37] <RoyK> TheBronx: what sort of program are you writing? parsing a big pcap file will usually take some cpu
[16:37] <RoyK> TheBronx: perhaps ##c
[16:38] <TheBronx> thank you qhartman and RoyK. It is just a callback from pcap_loop. I've tried an empty callback but the CPU is still at 100%... weird
[16:39] <RoyK> TheBronx: try ##c
[16:41] <RoyK> TheBronx: or perhaps #ubuntu-offtopic
[16:42] <qhartman> I'd imagine there is a channel on here somewhere that would be more specific to network programming
[16:42] <TheBronx> thank you guys, I love this channel :P
[16:59] <SpamapS> smoser: so default: true doesn't seem to be a thing one can override
[17:00] <SpamapS> smoser: http://paste.ubuntu.com/1546051/
[17:00] <SpamapS> smoser: that pretty much determines if the user is "the system default user"
[17:02] <smoser> SpamapS, well, in trunk the goal here would be that the 'distro' has a 'default_user' that is set via config.
[17:02] <smoser> (config could also come from user-data)
[17:02] <smoser> and then 'user:' would ideally change that also.
[17:02] <smoser> maybe.
[17:02] <smoser> i'm   not sure.
[17:02] <smoser> sorry this sucks.
[17:02] <SpamapS> smoser: right, in this case, I think the 'user: ...' should be assumed to override the distro default.
[17:03] <SpamapS> smoser: or a user that sames default: true
[17:03] <smoser> right. i think that generally makes sense.
[17:03] <SpamapS> s/sames/says/
[17:03] <smoser> tha tits presense baically patches the distro's 'default_user'
[17:03] <SpamapS> smoser: so I may have a patch to do at least part 1, maybe part 2 of my thinking
[17:03] <smoser> on trunk ?
[17:03] <smoser> please do it on trunk.
[17:03] <SpamapS> yeah it would be trunk
[17:03] <smoser> even though thats different from quantal.
[17:04] <SpamapS> there's also something weird about my environment because if I just boot an instance on ec2 or hpcloud, that is basically what happens
[17:04] <SpamapS> thats sort of where I'm stuck and trying to figure out WTF
[17:05] <eutheria> in /etc/network/interfaces i thought i could define the DNS servers
[17:05] <SpamapS> eutheria: you can but on newer systems you have to do it a little differently
[17:05] <eutheria> so i am using 12.04
[17:06] <eutheria> what do you do now
[17:06] <SpamapS> eutheria: man resolvconf
[17:06] <eutheria> ty
[17:06] <SpamapS> eutheria: you probably just want 'dns-nameservers x.x.x.x y.y.y.y'
[17:07] <eutheria> think so
[17:07] <SpamapS> smoser: is there a way to re-run cloud-init but only check local on-disk metadata? Its a pain for me to iterate by spinning new instances whenever I want to change userdata
[17:08] <eutheria> i only had used resolveconf for openvpn before
[17:08] <smoser> SpamapS, yes.
[17:09] <smoser> SpamapS, see http://bazaar.launchpad.net/~cloud-init-dev/cloud-init/trunk/files/head:/doc/examples/seed/ for example of how to populate directory that will be read rather than user-data/meta-ata in ec2
[17:10] <SpamapS> oh duh
[17:10] <SpamapS> just use the nocloud
[17:10] <smoser> then, you're capable of reading the cloud-init upstart jobs
[17:10] <smoser> just call them in order
[17:10] <SpamapS> yeah
[17:10] <smoser> oh
[17:10] <smoser> rm -Rf /var/lib/cloud
[17:11] <smoser> (that is a bit of a pain (patches welcome) since nocloud looks there)
[17:11] <SpamapS> thats ok
[17:11] <SpamapS> thats what I've been doing to re-run w/ the existing metadata pulled from metadata service
[17:11] <SpamapS> but now i want to change said metadata
[17:11] <smoser> one thing that'd be nice for me to cdocument is how you could use this with overlayroot
[17:11] <smoser> eseentially, you can boot an instance with overlayroot, so that every reboot is "fresh"
[17:11]  * SpamapS could just login to the mysql server hosting it.. but that just seems wrong ;)
[17:11] <smoser> (still have to reboot, but no new instance)
[17:12] <smoser> and you can intentionally make changes to the real root store to persist across reboot
[17:12] <smoser> so many things i have failed to document
[17:12] <SpamapS> smoser: so like schroot, but for instances :)
[17:12] <smoser> right.
[17:17] <smoser> SpamapS, there is #cloud-init fyi.
[17:17] <smoser> and harlowja there is the brains behind the cloud-init operation :)
[17:22] <stuffthatspins> i'm in desperate help… upgraded my server from 10.04 to 12.0.4LTS yesterday. and lost all my additional IP addresses. only the main IP address works.
[17:22] <stuffthatspins> would take advice here or happy to pay offline.
[17:24] <RoyK> stuffthatspins: pastebin /etc/network/interfaces
[17:25] <RoyK> or pm it if you're nervous
[17:34] <zastern> Is there a way to list installed/available AppArmor profiles?
[17:34] <zastern> I'd like to enable the Apache/HTTPD profile but I can't really figure out how
[17:37] <frojnd> zastern | Is there a way to list installed/available AppArmor profiles? apparmor_status
[17:38] <sarnold> frojnd: that'll only show what is currently loaded; there's no easy way to list what is easily available on the system
[17:39] <frojnd> sarnold: gotcha
[17:39] <frojnd> How do I check if mysqld and nginx are automatically enabled at boot?
[17:39] <sarnold> zastern: the apparmor-profiles package will install a /usr/share/doc/apparmor-profiles/extras/usr.sbin.httpd2-prefork   file that you can copy into /etc/apparmor.d/ as a starting point
[17:40] <zastern> sarnold: thanks sir/ma'am. I'll look into thatl.
[17:42] <sarnold> frojnd: the upstart cookbook is where I turn for things like that.. http://upstart.ubuntu.com/cookbook/#cookbook-and-best-practises
[17:42] <sarnold> frojnd: I think what you need is "initctl list", but it feels like there ought to be something a bit less verbose..
[17:42] <jdstrand> zastern, sarnold: do not that libapache2-mod-apparmor also ships /etc/apparmor.d/usr.lib.apache2.mpm-prefork.apache2. it has directions inside it on how to use it
[17:42] <zastern> do not that?
[17:43] <zastern> ill check that out, thank you!
[17:43] <jdstrand> s/do not/do note/
[17:43] <sarnold> jdstrand: aha, thanks :)
[17:43] <zastern> that sounds more gooder than just a recipie
[17:43] <zastern> an actual mod for apache
[17:43] <jdstrand> sarnold: it is setup so that apache2 itself is unconfined but such that it will use change_hat
[17:44] <stuffthatspins> jdstrand: :)
[17:44] <jdstrand> but that can be changed by modifying the profile obviously
[17:45] <sarnold> jdstrand: ooh, that's nice. :)
[17:45] <jdstrand> mdeslaur: did a nice job with it I think
[17:45] <jdstrand> err
[17:45] <jdstrand> mdeslaur did a nice job with it I think
[17:45] <jdstrand> mdeslaur: nm
[17:45] <zastern> im also toying with SElinux
[17:45] <sarnold> zastern: the mod is especially nice if you've got a few different applications hosted in your apache, it prevents e.g. a stupid phpbb exploit from getting to your other applications..
[17:45] <zastern> yeah i have many
[17:45] <zastern> we have a single apache cluster that hosts many apps
[18:05] <Aison> when I try to start the isc-dhcpd server, I get this error
[18:05] <Aison> Open a socket for LPF: Permission denied
[18:06] <Aison> how and where do I have to set the rights that dhcpd can open this socket?!?
[18:10] <sarnold> Aison: dmesg | grep DENIED    -- I'm curious if an AppArmor profile on dhcpd is preventing it from getting LPF..
[18:13] <Aison> sarnold, this is the related line
[18:13] <Aison> [ 2860.406625] type=1400 audit(1358532785.500:46): apparmor="DENIED" operation="create" parent=5921 profile="/usr/sbin/dhcpd" pid=6332 comm="dhcpd" family="packet" sock_type="raw" protocol=768
[18:13] <sarnold> Aison: woo :)
[18:14] <Aison> and what now? :P
[18:15] <sarnold> Aison: add "network raw" and "network packet" to your /etc/apparmor.d/usr.sbin.dhcpd file, then run /etc/init.d/apparmor reload
[18:15] <sarnold> "network raw," and "network packet," -- the commas are more important than they should be, hehe
[18:16] <Aison> that's actually in now: network inet raw, network packet packet,
[18:17] <Aison> so these lines are not missing....
[18:17] <sarnold> Aison: remove the 'inet', and one of the 'packet'?
[18:17] <Aison> yeaaah nice one, that's working :D
[18:17] <Aison> I just wounder why these entries where wrong
[18:18] <Aison> I never changed anything like that
[18:21] <Aison> I guess there is a problem with the isc-dhcp-server-4.2.4-4ubuntu1 packet
[18:24] <sarnold> Aison: would you please file a bug against isc-dhcp-server? it might help if you could explain what might be unique about your configuration
[18:25] <Aison> I already reported a bug here, then they fixed it after months :P
[18:25] <Aison> https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1071928
[18:25] <Aison> but the fix contains again a bug, funny ^^
[18:32] <Spindrift> Hello?
[18:32] <Spindrift> check 123
[18:32] <Aison> works
[18:33] <Spindrift> copy. Thx
[18:33] <sarnold> Spindrift: irc tends to work best if you just start asking questions :) hehe
[18:33] <Spindrift> hehe…copy that. thx
[18:33] <RoyK> !ask | Spindrift
[18:36] <Spindrift> I am building a couple mobile incident command rigs with satellite internet/phone that get deployed world-wide. I need a small lightweight file/print server (miniPC, SSD, Linux distro) running Linux to integrate with the printer/scanner/copier so that emergency staff can scan PDFs to a shared network drive. I imagine that Ubuntu Server 12.04 would be a good distro to use for this?
[18:40] <sarnold> Spindrift: yeah; 12.04 LTS has a longer support life than e.g. 12.10, so your deployed units won't need to be replaced with something newer quite as quickly
[18:41] <Spindrift> thanks
[19:35] <stuffthatspins> i have a 12.0.4 server that IPs are ping-able inside the network but not out. no firewall. any ideas where to look?
[19:58] <[conrad]> stuffthatspins: Can you be more specific about the description of "IPs are ping-able inside the network but not out"?
[21:16] <ikonia> window 10
[21:16] <ikonia> oops, sorry
[21:16] <ikonia> window 10
[21:16] <ikonia> ughh, sorry
[22:33] <pewter_tao> It seems ubuntu cloud has updated its packages. Is there a mirror that points to the old ones?
[22:48] <Bilge> How do you enable ipv6 support in the kernel?
[22:52] <sarnold> Bilge: there's a handful of configuration options; the most important is CONFIG_IPV6=y