/srv/irclogs.ubuntu.com/2013/01/18/#ubuntu-server.txt

=== slank is now known as slank_away
=== mikal_ is now known as mikal
akHello,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:01
TheLordOfTimewas going to say that you need two NICs to make a truly-usable AP02:22
=== Malediction_ is now known as Malediction
=== Malediction_ is now known as Malediction
ketan985what's best monitering tool for ubuntu server ????07:06
lifelessMark 1 eyeball.07:17
sarnoldonly good if hooked up to a mk ii brain :)07:18
Kredohi guys08:48
Kredoneed help: Device /dev/ttyUSB0 is locked08:48
Kredocan I send/rcv sms while connected?08:48
meghais ubuntu server stable compared to debian ? or both of them are equal09:53
koolhead17megha: what are u trying to deploy install? Its all same. And Ubuntu has all new cloudy pkgs09:54
meghacloudy pkgs ?09:54
meghakoolhead17: i am trying to setup a webserver.09:55
meghafor commercial purpose.09:55
koolhead17megha: cloudy == cloud computing ones09:55
koolhead17megha: go ahead with a LTS server and your good09:55
meghaok :)09:56
meghaubuntu server is debian testing repos right ?09:56
=== smb` is now known as smb
koolhead17megha: who gave you that crap?10:32
koolhead17i said go use 12.04 LTS it has 5 yr support10:33
meghapeople in other channel10:34
koolhead17megha: your smart enough i suppose 2 take decision :)10:35
meghahmmm..10:36
eutheriadoes the 12.04 still hit on a cd?10:59
jamespagezul, bug 1101158 is the problem impacting the glance client11:28
uvirtbotLaunchpad bug 1101158 in python-warlock "depends on jsonschema==0.2, broken in raring" [Undecided,New] https://launchpad.net/bugs/110115811:28
jamespagezul, I had a quick pass at an upgrade but it needs a new dependency - jsonpatch11:29
jamespagezul, indeed smoser already spotted this - bug 109868811:30
uvirtbotLaunchpad bug 1098688 in python-glanceclient "python-warlock insists on jsonschema==0.2 breaks glance" [Medium,Confirmed] https://launchpad.net/bugs/109868811:30
jamespageduped11:30
=== yofel_ is now known as yofel
vnc786i 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:15
ogra_vnc786, as i said before, try #ltsp12:16
vnc786@ogra_: what if i would be running normal 2-3 ubuntu machines12:20
ogra_then you would likely ask in a desktop related channel12:20
ogra_ltsp has the (dis)advantage of touching both worlds like nothing else12:21
=== XtremeWiz is now known as query
=== query is now known as XtremeWiz
feisarhi, 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:41
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:42
feisarah, maybe --bind is what I need?12:48
zuljamespage: grrrr12:52
=== frojnd_ is now known as frojnd
zuljamespage: there is an easy wasy to fix that13:06
jamespagezul, oh yes13:06
jamespageit appears to work as well13:06
jamespage:-)13:06
zuljamespage: patch the requirements.txt :)13:06
jamespagezul, want me todo that? then you can worry about the upgrade path to the newer version :-)13:07
jamespagezul, that was how I fixed it locally :-)13:07
zuljamespage: ill do it and get the new version of warlock ready as well13:07
zulgood morning btw13:07
=== cpg is now known as cpg|away
=== th0mz_ is now known as th0mz
zuljamespage: do we have a compeling reason to update to the new python-warlock?13:18
jamespagezul, morning13:23
jamespagezul, probably not13:23
zuljamespage: ok lets put it off then13:24
zulanyways warlock has been updated13:26
=== th0mz_ is now known as th0mz
smoserjamespage, it wasn't actually clear to me that it really *did* have htat dependecy on 0.213:33
smoserhttps://launchpad.net/bugs/109868813:33
uvirtbotLaunchpad bug 1098688 in python-glanceclient "python-warlock insists on jsonschema==0.2 breaks glance" [Medium,Confirmed]13:33
smoserie, 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:34
zuljamespage: btw https://code.launchpad.net/~zulcss/python-keystoneclient/0.2.2/+merge/14388013:37
zulyolanda: sorry can you look at this as well? https://code.launchpad.net/~zulcss/python-keystoneclient/0.2.2/+merge/14388013:40
=== slank_away is now known as slank
yolandahi zul13:41
yolandaok13:41
yolandazul, is just the comments in changelog?13:43
zulyolanda: yep13:43
yolandaeasy one then13:43
yolandadone13:43
zulthanks13:44
maxbDoes anyone know of any script/webapp/... that gathers information on upgradeable packages across a farm of servers and collates the information?13:47
zulmaxb:  yes....its called landscape http://www.canonical.com/enterprise-services/ubuntu-advantage/landscape13:49
=== security is now known as megha
=== niemeyer_ is now known as niemeyer
=== mike is now known as mike_87
=== matsubara is now known as matsubara-lunch
=== kirkland` is now known as kirkland
frojndHi there.16:21
RoyKho16:25
frojndSup, sup :)16:25
TheBronxhi!16:30
TheBronxthis is probably not the best place to ask this but... any libpcap expert?16:32
TheBronxI have a simple c program using libpcap, it works but one of the CPU cores is always at 100%...16:33
tboathey 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 forward16:35
qhartmanTheBronx, 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
RoyKTheBronx: what sort of program are you writing? parsing a big pcap file will usually take some cpu16:37
RoyKTheBronx: perhaps ##c16:37
TheBronxthank 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%... weird16:38
RoyKTheBronx: try ##c16:39
RoyKTheBronx: or perhaps #ubuntu-offtopic16:41
qhartmanI'd imagine there is a channel on here somewhere that would be more specific to network programming16:42
TheBronxthank you guys, I love this channel :P16:42
SpamapSsmoser: so default: true doesn't seem to be a thing one can override16:59
SpamapSsmoser: http://paste.ubuntu.com/1546051/17:00
SpamapSsmoser: that pretty much determines if the user is "the system default user"17:00
smoserSpamapS, 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
smoserand then 'user:' would ideally change that also.17:02
smosermaybe.17:02
smoseri'm   not sure.17:02
smosersorry this sucks.17:02
SpamapSsmoser: right, in this case, I think the 'user: ...' should be assumed to override the distro default.17:02
SpamapSsmoser: or a user that sames default: true17:03
smoserright. i think that generally makes sense.17:03
SpamapSs/sames/says/17:03
smosertha tits presense baically patches the distro's 'default_user'17:03
SpamapSsmoser: so I may have a patch to do at least part 1, maybe part 2 of my thinking17:03
smoseron trunk ?17:03
smoserplease do it on trunk.17:03
SpamapSyeah it would be trunk17:03
smosereven though thats different from quantal.17:03
SpamapSthere's also something weird about my environment because if I just boot an instance on ec2 or hpcloud, that is basically what happens17:04
SpamapSthats sort of where I'm stuck and trying to figure out WTF17:04
=== matsubara-lunch is now known as matsubara
eutheriain /etc/network/interfaces i thought i could define the DNS servers17:05
SpamapSeutheria: you can but on newer systems you have to do it a little differently17:05
eutheriaso i am using 12.0417:05
eutheriawhat do you do now17:06
SpamapSeutheria: man resolvconf17:06
eutheriaty17:06
SpamapSeutheria: you probably just want 'dns-nameservers x.x.x.x y.y.y.y'17:06
eutheriathink so17:07
SpamapSsmoser: 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 userdata17:07
eutheriai only had used resolveconf for openvpn before17:08
smoserSpamapS, yes.17:08
smoserSpamapS, 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 ec217:09
SpamapSoh duh17:10
SpamapSjust use the nocloud17:10
smoserthen, you're capable of reading the cloud-init upstart jobs17:10
smoserjust call them in order17:10
SpamapSyeah17:10
smoseroh17:10
smoserrm -Rf /var/lib/cloud17:10
smoser(that is a bit of a pain (patches welcome) since nocloud looks there)17:11
SpamapSthats ok17:11
SpamapSthats what I've been doing to re-run w/ the existing metadata pulled from metadata service17:11
SpamapSbut now i want to change said metadata17:11
smoserone thing that'd be nice for me to cdocument is how you could use this with overlayroot17:11
smosereseentially, 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:11
smoserand you can intentionally make changes to the real root store to persist across reboot17:12
smoserso many things i have failed to document17:12
SpamapSsmoser: so like schroot, but for instances :)17:12
smoserright.17:12
smoserSpamapS, there is #cloud-init fyi.17:17
smoserand harlowja there is the brains behind the cloud-init operation :)17:17
stuffthatspinsi'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
stuffthatspinswould take advice here or happy to pay offline.17:22
RoyKstuffthatspins: pastebin /etc/network/interfaces17:24
RoyKor pm it if you're nervous17:25
zasternIs there a way to list installed/available AppArmor profiles?17:34
zasternI'd like to enable the Apache/HTTPD profile but I can't really figure out how17:34
frojndzastern | Is there a way to list installed/available AppArmor profiles? apparmor_status17:37
sarnoldfrojnd: that'll only show what is currently loaded; there's no easy way to list what is easily available on the system17:38
frojndsarnold: gotcha17:39
frojndHow do I check if mysqld and nginx are automatically enabled at boot?17:39
sarnoldzastern: 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 point17:39
zasternsarnold: thanks sir/ma'am. I'll look into thatl.17:40
sarnoldfrojnd: the upstart cookbook is where I turn for things like that.. http://upstart.ubuntu.com/cookbook/#cookbook-and-best-practises17:42
sarnoldfrojnd: I think what you need is "initctl list", but it feels like there ought to be something a bit less verbose..17:42
jdstrandzastern, 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 it17:42
zasterndo not that?17:42
zasternill check that out, thank you!17:43
jdstrands/do not/do note/17:43
sarnoldjdstrand: aha, thanks :)17:43
zasternthat sounds more gooder than just a recipie17:43
zasternan actual mod for apache17:43
jdstrandsarnold: it is setup so that apache2 itself is unconfined but such that it will use change_hat17:43
stuffthatspinsjdstrand: :)17:44
jdstrandbut that can be changed by modifying the profile obviously17:44
sarnoldjdstrand: ooh, that's nice. :)17:45
jdstrandmdeslaur: did a nice job with it I think17:45
jdstranderr17:45
jdstrandmdeslaur did a nice job with it I think17:45
jdstrandmdeslaur: nm17:45
zasternim also toying with SElinux17:45
sarnoldzastern: 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
zasternyeah i have many17:45
zasternwe have a single apache cluster that hosts many apps17:45
Aisonwhen I try to start the isc-dhcpd server, I get this error18:05
AisonOpen a socket for LPF: Permission denied18:05
Aisonhow and where do I have to set the rights that dhcpd can open this socket?!?18:06
sarnoldAison: dmesg | grep DENIED    -- I'm curious if an AppArmor profile on dhcpd is preventing it from getting LPF..18:10
Aisonsarnold, this is the related line18: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=76818:13
sarnoldAison: woo :)18:13
Aisonand what now? :P18:14
sarnoldAison: add "network raw" and "network packet" to your /etc/apparmor.d/usr.sbin.dhcpd file, then run /etc/init.d/apparmor reload18:15
sarnold"network raw," and "network packet," -- the commas are more important than they should be, hehe18:15
Aisonthat's actually in now: network inet raw, network packet packet,18:16
Aisonso these lines are not missing....18:17
sarnoldAison: remove the 'inet', and one of the 'packet'?18:17
Aisonyeaaah nice one, that's working :D18:17
AisonI just wounder why these entries where wrong18:17
AisonI never changed anything like that18:18
AisonI guess there is a problem with the isc-dhcp-server-4.2.4-4ubuntu1 packet18:21
sarnoldAison: would you please file a bug against isc-dhcp-server? it might help if you could explain what might be unique about your configuration18:24
AisonI already reported a bug here, then they fixed it after months :P18:25
Aisonhttps://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/107192818:25
uvirtbotLaunchpad bug 1071928 in isc-dhcp "isc-dhcp-server-ldap (4.2.4-1ubuntu10.1) is not capable of ldap" [High,Fix released]18:25
Aisonbut the fix contains again a bug, funny ^^18:25
SpindriftHello?18:32
Spindriftcheck 12318:32
Aisonworks18:32
Spindriftcopy. Thx18:33
sarnoldSpindrift: irc tends to work best if you just start asking questions :) hehe18:33
Spindrifthehe…copy that. thx18:33
RoyK!ask | Spindrift18:33
ubottuSpindrift: Please don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience18:33
=== th0mz_ is now known as th0mz
SpindriftI 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:36
=== Ursinha-afk is now known as Ursinha
sarnoldSpindrift: 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 quickly18:40
Spindriftthanks18:41
=== th0mz_ is now known as th0mz
=== stuffthatspins_ is now known as stuffthatspins
=== Ursinha is now known as Ursinha-afk
stuffthatspinsi 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:35
=== Ursinha-afk is now known as Ursinha
[conrad]stuffthatspins: Can you be more specific about the description of "IPs are ping-able inside the network but not out"?19:58
=== matsubara is now known as matsubara-afk
=== cmagina is now known as cmagina_away
=== cmagina_away is now known as cmagina
ikoniawindow 1021:16
ikoniaoops, sorry21:16
ikoniawindow 1021:16
ikoniaughh, sorry21:16
=== cmagina is now known as cmagina_away
=== cmagina_away is now known as cmagina
=== james_ is now known as blitzkrieg3
=== cmagina is now known as cmagina_away
=== cmagina_away is now known as cmagina
pewter_taoIt seems ubuntu cloud has updated its packages. Is there a mirror that points to the old ones?22:33
=== cmagina is now known as cmagina_away
=== cmagina_away is now known as cmagina
BilgeHow do you enable ipv6 support in the kernel?22:48
sarnoldBilge: there's a handful of configuration options; the most important is CONFIG_IPV6=y22:52
=== cpg|away is now known as cpg
=== cmagina is now known as cmagina_away
=== cpg is now known as cpg|away
=== NomadJim_ is now known as NomadJim
=== cpg|away is now known as cpg

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!