/srv/irclogs.ubuntu.com/2012/11/16/#ubuntu-server.txt

uvirtbotNew bug: #1079466 in cinder (main) "cinder-volume depends on tgt" [Undecided,New] https://launchpad.net/bugs/107946600:26
=== cpg is now known as cpg|away
brendonhello room, got a dhcp question if anyone is interested....  I used this guide, "http://angrytechnician.wordpress.com/2010/07/23/how-to-stream-every-channel-from-freeview-onto-your-network/", but it overheats my router.  Could I turn my ubuntu-server into a dhcp server to stream RTP streams from tv tuners on that same server to save the router a bit?01:19
sarnoldbrendon: dhcp is nearly zero load on a system -- it might save a few megabytes of memory from your router to free your router of the job, but your router would have to be just on the edge of available memory -- and in swap hell ....01:23
esuavedoes anyone know how i can boot into single user mode without networking in 8.04?01:24
sarnoldesuave: sometimes just adding 'single' to the kernel command line will do it.01:25
sarnoldesuave: adding init=/bin/sh to the kernel command line gives you nearly nothing :) no networking, no X, no automatically started services. You're playing the role of init, so be sure to sync and remount root read-only if you can before rebooting. :)01:25
esuavewell it tries to start networking when i do that01:25
esuaveso if i add init=/bin/sh to the end of the kernel command it should drop me to a shell?01:26
sarnoldbrendon: neat guide. maybe ont directly useful to me now, but neat to know none the less.01:27
sarnoldesuave: yes.01:27
esuavety ill give it a shot01:27
brendonhey thanx sarnold for reply.  i wasn't plugging the guide, just assumed it must be able to be done so i went googling one day.  hmm.... so i'm guessing the router has some type of internal memory that is quite small and it uses that to switch between all the routes to keep a constant stream going?  I don't know much about this stuff, only enough to get the server up and running and doing a few things.  the router coo01:28
brendonks itself after 24 hours, even if no-one is connected to the streams.  the sap-server doesn't seem to load it up without dblast going.... anyway, do you know what I might have to learn/a good direction to go to educate myself about doing such a thing on dhcp server?  does it recognise the 239.255.blah.blah numbers automatically like a router does?  thanx heaps for your help hey.01:28
sarnoldbrendon: hrm; are you sending the data from all the streams through your router all the time?01:29
sarnoldbrendon: is there no way to drop a switch on the network and remove the router from the streaming?01:29
sarnold(and yes, routers are typically very ram limited, though forwarding streams of data will probably not tax RAM too much -- just keep the kernel, CPU, and NICs awake and drawing too much power)01:30
=== cpg|away is now known as cpg
brendonyeah, i live in a share house and want anyone to connect to any channel at once.  I have three computers in my room, on a switch,  plugged into the router of the fellas upstairs who own the internet connection.  i believe some of the other people have some switches too.01:32
brendoni mean "yeah" they were all streaming at once01:32
sarnoldbrendon: cool sounding setup. :D I'd try to add a switch between the router and _all_ the other machines -- have two wires going to the router, one to the internet, and one to a new switch.01:33
brendonyep thats done upstairs already.... im just wondering though if i could utilize this dhcp thingy already installed on my ubuntu-server box?01:34
sarnoldahhhh01:34
sarnoldyou could; but then your machine would have to be on all the time, and the router would have to be configured to _not_ do dhcp. I'm not sure it's worth the trouble, but it's certainly possible.01:34
brendonwe got two servers on all the time mine is one of them - its handy to have access to your media on the phone while on the train thinking "ive got that song somewhere, i know i do".  hmm.... configure router to not do dhcp - does this mean then, say, that two routers cannot connect to the same connection?  And I'm guessing too that one router (or dhcp server) can't be used as a "child" of the other somehow?01:39
sarnoldbrendon: dhcp just hands out addresses and dns configuration and similar tasks; I don't really see here there is a "connect to the same connection" or "child" relationships..01:44
brendonok, well, what i was hoping was to somehow leave the "other people's" router alone while being able to dish out rtp streams via the dhcp, but i guess not possible.  thanx heaps hey, this was hard to find an answer to on the www01:46
sarnoldbrendon: I'm still confused though :) when you say "dish out rtp streams  via the dhcp" .. what do you mean by that?01:46
sarnolddhcp is pretty simple and feels a bit unrelated; when a machine turns on, it sends a DHCP REQUEST, and a DHCP server replies with an address and maybe DNS servers to use, and a lifetime for how long that address is valid. Then the two machines don't talk for a few hours until the client wants to renew its address (often before the expiration, to give a down server a chance to come back...)01:48
brendonum, say use the already running server to "take care" of the rtp streams independant of the router.   i don't know much about this stuff hey, i'm walking through thick fog and muddy waters here about ipconfig alltogether.  to put things in perspective, i don't even understand what the netmask is as ive not needed to use it yet01:49
sarnoldah, okay. :)01:49
brendonaah ok.  see, i had this idea, after getting this working, of sstreamlining and  selling these "tv streamer" boxes as tv tuners are pretty cheap these days, and it is not much load on the cpu.  but ppl aren't gonna want anything that cooks their router, so i was hoping for a more "encapsulated" sollution.  Dang.01:55
sarnoldbrendon: hrm, one possibility... are the rtp streams being sent over ethernet broadcast or via the network-local broadcast address?01:57
sarnoldmaybe the little router's ethernet is forced to inspect the packets if they are broadcast packets, it may not have much choice. :/01:57
sarnoldbrendon: look into _multicast_ streaming; that ought to use ethernet multicast addresses instead, and that will probably let your poor little router cool down01:58
esuaveit shoots me to a prompt if i use init=/bin/bash but it won't let me type or do anything01:58
esuaveis there a way to disable the nic in the kernel params?01:59
sarnoldesuave: yikes, that's pretty bad.01:59
esuavei can boot the dang thing just fine into the OS, the only thing I'm trying to do is stop it from pulling the darn static IP i gave it cause there is another duplicate IP on the network02:00
sarnoldI think a lot of drivers do let you use something like e100.disable=1  to disable the driver... check modinfo <foo> output for your card02:00
esuavei would shut off the interface on the switch but i don't have access to it :/02:00
esuaveyeah and when it boots it pulls that IP and screws up another server cause it has the same IP02:01
esuaveso I'm just trying to get it to boot so i can change the IP in /network/interfaces02:02
sarnoldesuave: hrm, but 'single' wasn't good enough to fix the address and reboot?02:06
esuaveno cause it trys to start the interface and gives it an IP02:06
esuaveits retarded why single user mode starts networking02:07
brendonlow cpu usage meaning i could use junk/cheap low spec machines.  current server is a 4 year old low spec laptop and streams 9 channels at once on one client no worries.  client has a bit of trouble though...  um, well, i dunno.... they are all addressed as 239.255.x.x, which that dude in the guide reckons are special addresses that routers know are rtp streams.  the only way i know to connect remotely is with the ext02:07
brendonernal ip or using my crappy 3rd level domain name, which of course just fowards port 80.  so yeah, I'd say its local streaming only.  got all ports open to the server - got a few things running haha.  oh yeah, the rtp thing is multicast hey, well, at least on here as many ppl as they want can connect to the one stream - and aparently it doesn't use extra bandwidth - according to that dude.  but the router was burning02:07
brendon out even with no connections to the streams but with them "ready" to connect - or being served by dvblast02:07
sarnoldbrendon: ah, good. then you're already doing everything right, I think.02:32
brendonoh... ok what a letdown.  Thanks for your help but, now I have a further understanding of what I am dealing with.02:46
* brendon abandons his get-rich quick scheme02:46
brendonhaha, it still works.  ah, irc, takes me back...02:47
sarnold:)02:47
=== Gallomimia_ is now known as Gallomimia
=== furian is now known as shantorn
=== security is now known as nerd
=== nerd is now known as hack
=== n0ts_off is now known as n0ts
=== n0ts is now known as n0ts_off
=== n0ts_off is now known as n0ts
=== hack is now known as awesome
=== awesome is now known as Guest83864
=== Guest83864 is now known as hack
=== n0ts is now known as n0ts_off
=== n0ts_off is now known as n0ts
DavieyGood morning... dank and miserable weather today, but the party in #ubuntu-server is the place to be!08:57
jamespagemorning all; morning Daviey09:05
Davieyjamespage: what is your take on bug 1066845 ?09:11
uvirtbotLaunchpad bug 1066845 in nova "nova-novncproxy is not running; missing deps on websockify and novnc" [High,Triaged] https://launchpad.net/bugs/106684509:11
jamespageDaviey, hmm - not sure; I see a Suggests on novnc from nova-novncproxy which in turn has a dep on websockify09:13
Davieyjamespage: yeah, but Suggests is essentially noise09:15
jamespageDaviey, it should be a Depends - the service won't start without it09:16
jamespageI suspect the reporter installed novnc and its fixed the issue09:16
Davieyoh09:17
jamespageDaviey, we should fix it in the next set of SRU's - its a minimal change09:18
jamespageI suspect its suggests because novnc is in universe and nova-novncproxy might have been in main at some point in time09:18
jamespagebut its also in universe...09:18
Davieyjamespage: We might need to re-work who is doing the next round of SRU's.09:19
jamespageDaviey, yes09:19
=== kInOzAwA is now known as Guest8864
marunhi i need help in configuring forward lookup zone in  bind9. where can i get dummies documentation? I used ubuntu server guide. But it isn't enough helpful09:36
marunany ideas?09:38
vezqsearch for "bind tutorial"09:43
=== mcclurmc_away is now known as mcclurmc
Cuacrzzhello11:34
=== mcclurmc is now known as mcclurmc_away
=== Ursinha is now known as Ursinha-afk
=== cpg is now known as cpg|away
disposablei have computer1 which is my gateway to ipv6 (using tunnelbroker.net). i also have computer2 which has computer1 as its default ipv6 route. i've enabled "net.ipv6.conf.all.forwarding = 1" on computer1 but computer2 still can't get any further than computer1. computer1 has no problem accessing ipv6 internet. what am i missing? more detailes here http://pastebin.com/EfdAU6e312:04
=== Ursinha-afk is now known as Ursinha
xnox"WARNING: Failed to create krb5 context for user with uid 0 for server" upon mounting nfs4 export12:43
zuljamespage: yeh so we probably need a MIR for websockify12:43
jamespagezul, its all in universe so I don't think so12:44
zulnovncproxy?12:44
=== kInOzAwA is now known as Guest34773
uvirtbotNew bug: #1071591 in mysql-5.5 (main) "package mysql-server-5.5 5.5.24-0ubuntu0.12.04.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Medium,Invalid] https://launchpad.net/bugs/107159113:21
uvirtbotNew bug: #1079611 in horizon (main) "Download Juju Environment Config gives wrong credentials" [Undecided,New] https://launchpad.net/bugs/107961113:21
=== mcclurmc_away is now known as mcclurmc
=== pcarrier_ is now known as pcarrier
MoleManI have a samba share that is renaming a file to some garbage on the two devices I've checked on (one Android, one windows), the file is named correctly in the local folder, is there anyway to browse the share locally from the CLI, or anyone have any ideas what the issue is?14:20
MoleManaah, samba doesn't like colons: fixed, nvm thanks anyway :p14:22
MoleMantook me that long to think of it after asking XD14:22
=== security is now known as hack
=== Guest34773 is now known as kInOzAwA
roaksoaxjamespage: howdy!!15:02
jamespageroaksoax, hey!15:03
roaksoaxjamespage: ok so i refactored the hacluster charm, now im integrating it with the quantum charm15:03
jamespageroaksoax, sweet!15:03
roaksoaxjamespage: so for now I'll do this: 1. make l3/dhcp agent run in the same machine, 2. make quantum-server run in all machines15:03
jamespageI pushed a few changes to the charm today - mainly for a helper script to create private tenant helpers15:03
jamespageroaksoax, that sounds good to me15:03
jamespagethe only other bit I can think of the the ip address assignment to the external bridge15:04
jamespagetechnically I don't think that is required; so can probably just be disabled.15:04
jamespagequantum will deal with creating IP addresses in ip namespaces on the active gateway machine.15:04
roaksoaxjamespage: right, so if it is still required, and the IP is known previously, we can handle that within the cluster as well15:05
=== acidflash_ is now known as acidflash
ilivhi, I was wondering why I get different numbers for total security updates when using apt-check and apt-get in this fashion: http://pastie.org/5387885 ?15:14
ilivwhoa, this is becoming mental, ran another apt-get update and now sudo apt-get -s upgrade |grep "^Inst" |grep -i securi |wc -l returns 0 while apt-check still shows there are > 0 security updates15:30
ilivwth?15:30
ilivI swear apt-get now ignores changes to my /etc/apt/sources.list where I move lines for security updates repositories to either beginning or the end of the file and after that when I run sudo apt-get update it just connects to security updates repos in either case.15:37
ilivlooks like some sort of caching or something15:37
ilivlet me try to remove those lines for security update altogether...15:37
BrixSatHello15:39
BrixSati need to make my server save all networt trafic for later analysis15:39
BrixSatwhats the best option?15:40
ilivALRIGHT, never mind what I said about apt-get ignoring my edits, those were lines starting with Ign for Translation-en_US that I glanced over...15:41
ropetinBrixSat: lots of variables to that question.  How much data, what kind of bandwidth?  Storing on the local server, storing somewhere else?15:41
ilivBrixSat, configure port mirroring if your switch is capable of that15:42
BrixSatropetin:  humm, data arround 150gb per month, storing localy , no switch access just the server it self15:43
ropetinAs long as you have the storage for it then, dumpcap to a ring buffer on local storage?15:44
ropetinThey you can at least analyze it with tshark or whatever15:44
BrixSat:/ that is not bad, aint there any other solution more "easy" my boss aint that expert :p15:47
ropetinOpenFPC15:47
BrixSat=)15:47
ropetinOr you could spend money on a NetWitness NextGen infrastructure15:47
ropetinAlthough that is a lot of money15:48
hacki am confused between using debain or ubuntu as my commercial server.15:50
hackwhich should i prefer ?15:51
hackbenefits of ubuntu over debian ?15:51
ilivubuntu is hip :P15:51
hackhip ?15:52
ilivnever mind, that is just a tongue-in-cheek statement :)15:53
highvoltagehack: ubuntu has long-term support releases, which could be useful depending on your needs. you also need ubuntu server as apposed to debian if you want to use Canonical's services (like Landscape)15:53
hackhighvoltage: ok, but ubuntu is also as stable as debian ?15:54
hackand i have checked the packges they are too almost same version.15:54
highvoltagehack: that's not really a simple answer, but in terms of general purpose server stuff, the LTS release is synced from debian testing and already put through its paces, so it's very stable15:55
iliva question, why would apt-get -s update show those packages that are security updates as lucid-updates (I'm playin with the lucid here so...)?15:55
highvoltagehack: (sorry for my broken english today, I meant, "there's not really a simple answer")15:55
hackhighvoltage: no need to be sorry :) language is not a prob at all :)15:56
ilivUNLESS SOMEONE IS A GRAMMAR NAZI that is15:56
Tm_Tiliv: please...15:57
ilivhack, http://askubuntu.com/questions/15314/debian-stable-vs-ubuntu-lts-for-server15:58
ilivhack, http://askubuntu.com/questions/52066/what-is-the-difference-between-ubuntu-and-debian-server15:58
ilivhack, http://serverfault.com/questions/389199/is-it-debian-really-more-stable-for-servers-than-ubuntu-lts15:58
ilivalso Google :)15:59
hackiliv: thanks mate lot's of imp info :)15:59
ilivyw!15:59
hackthere are not many landscape videos on the net.16:00
=== matsubara is now known as matsubara-lunch
iliva question, why would apt-get -s update show those packages that are security updates as lucid-updates (I'm playin with the lucid here so...)?16:04
ilivhere's what I mean: http://pastie.org/pastes/5388180/text16:05
ilivI'd really love to see what packages are going to be installed as security updates, but how?16:06
roaksoaxjamespage: in utils.relation_get("XYZ"), what happens if XYZ key=value has not been set?16:10
uvirtbotNew bug: #1079747 in cyrus-sasl2 (main) "package sasl2-bin 2.1.25.dfsg1-5 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/107974716:11
jamespageroaksoax, 'None'16:13
jamespageempty string in actual fact16:13
jamespagebut the helper in the quantum charm converts that to None16:13
roaksoaxjamespage: to None or 'None'16:14
jamespageroaksoax, None16:14
roaksoaxjamespage: so this should work then, right?: orders = {} if utils.relation_get("orders") is None else ast.literal_eval(utils.relation_get("orders"))16:15
jamespageso you can do if utils.relation_get("xyz"): for example16:15
jamespageyep16:15
roaksoaxjamespage: yeah I thought so... weird then... it fails :)16:16
jamespageroaksoax, I checked on the ip address assignment thing in quantum; its not required16:16
uvirtbotNew bug: #1079751 in samba (main) "package samba-common-bin 2:3.4.7~dfsg-1ubuntu3.11 failed to install/upgrade: problemas de dependencias - se deja sin configurar" [Undecided,New] https://launchpad.net/bugs/107975116:16
jamespageso I dropped it by default on the charm16:16
jamespageusers can still specify it but it comes with a health warning16:16
jamespageroaksoax, lemme check again16:17
roaksoaxjamespage: ok I got it, i wasw using an outdated version of utils16:17
roaksoaxjamespage: do you have your utils.py in a location independently from the charm?16:17
jamespageroaksoax, right - the one from ceph returns ""16:17
roaksoaxjamespage: i think you should make a stanndard one16:17
roaksoaxto make it reusable16:17
roaksoaxfor every chamr :)16:18
jamespageroaksoax, no but we need to - some of its already in python-charmhelper - buts thats not avaliable everywhere16:18
roaksoaxi see16:18
* jamespage berates himself for doing 'manual reuse' C-c C-v16:18
jamespagelol16:18
roaksoax:)16:18
BrixSatthe openfpc is great :)16:25
uvirtbotNew bug: #1077692 in mysql-5.5 (main) "package mysql-client-core-5.5 5.5.28-0ubuntu0.12.04.2 failed to install/upgrade: trying to overwrite '/usr/share/man/man1/mysql.1.gz', which is also in package mysql-client-5.5 5.5.27-1~ppa1~precise" [Undecided,Invalid] https://launchpad.net/bugs/107769216:26
=== Ursinha_ is now known as Ursinha
=== n0ts is now known as n0ts_off
=== matsubara-lunch is now known as matsubara
jamespagezul, smoser, roaksoax, adam_g: ooo - I just saw the solution the metadata service access with quantum get proposed to grizzly17:08
jamespageroaksoax, I just added a README to the quantum charm which is better than my wiki topic17:10
Davieyjamespage: nice!17:10
roaksoaxjamespage: cool!17:13
jamespagelp:~james-page/charms/quantal/quantum/trunk if anyone wants to know17:16
=== Guest71769 is now known as Ard1t
roaksoaxjamespage: some basic, initial support: lp:~andreserl/+junk/quantum lp:~andreserl/+junk/hacluster17:25
=== mcclurmc is now known as mcclurmc_away
roaksoaxjamespage: so using your deployer cinder gets install error17:38
jamespageroaksoax, does it?17:39
jamespagedo you need to amend the device its using?17:39
roaksoaxjamespage: maybe is it becuase i'm using canonistack?17:39
ilivseriously, guys, this isn't even funny now that I logged to the production Precise server and I can't distinguish between generic and security updates17:39
jamespageroaksoax, yes - you need to update the config to use the ephemeral disk instead17:39
jamespagesame with ceph17:39
roaksoaxjamespage: can't I just simply avoid it for now?17:40
jamespageroaksoax, well I'm assuming you want to be able to test a instance running right?17:40
jamespageactually yes - just ignore it - just don't try to present volumes to instances and you will be alright.17:41
roaksoaxyeah that should be enough17:41
ilivsee it for yourself: http://pastie.org/pastes/5388623/text apt-check says there are 6 security updates but which are those?17:41
roaksoaxjamespage: btw.. does the cinder charm create /dev/sdb, or does it expect to have a partition already?17:41
jamespageit should create it all for you17:41
roaksoaxjamespage: so, if the disk only has /dev/sda... does it resize the disk to create sdb or what?17:42
jamespageroaksoax, no - it uses a second device17:42
jamespagethe ephemeral disk in a instance for example17:43
jamespageor in the CI lab the second disk in each server17:43
roaksoaxjamespage: ah I see17:43
roaksoaxjamespage: right so we expect the server to have 2 disks for example17:43
jamespageyep17:43
jamespageOS + Data17:43
jamespagesame for ceph17:43
jamespageinfact for ceph you want more disks - maybe ~8 ideally17:43
sarnoldiliv: this may help: http://www.ubuntu.com/usn/17:43
jamespagebut this is testing after all17:43
sarnoldiliv: note especially apache in that list, there's at least five apache packages...17:44
roaksoaxjamespage: right, so for cinder how do I specify a ephemeral disk ?17:45
jamespageblock-device: vdb17:46
jamespageoverwrite: true17:46
jamespageroaksoax, ^^ try that17:46
roaksoaxjamespage: right, but do I have to amnually assign that to the instance, or the deployer does it or is it just"virtual"17:46
jamespageroaksoax, ah - right - use a constraint to pick an instance type which has ephemeral storage17:47
jamespagem1.tiny or whatever does not have this17:47
jamespageinstance-type=m1.small should do it17:47
roaksoaxjamespage: ok cool, thanks17:48
jamespageroaksoax, the charm will unmount the /mnt filesystem it gets presented on automagically17:48
roaksoaxjamespage: ok cool!17:49
ilivsarnold, it's just that it seems that sometimes these security updates appear with $release-security and sometimes $release-updates... why?17:52
ilivI mean that happens within 0.5hr time frame17:53
ilivit's not like I'm talking about a situation when new security updates became available and those appear to be coming not from $release-security repository17:53
sarnoldiliv: security updates are pushed into -updates after being published so that they can be distributed on the mirror network, rather than just live on security.ubuntu.com17:54
ilivdoes that mean that apt-get gets confused sometimes or something?17:55
ilivI mean17:55
ilivclearly, if it shows $release-updates this repository was used first.. but what determines the order?17:55
ilivthe reason I'm worried about this is because I want to review manually what packages are exactly security updates17:55
ilivto carefully plan upgrade process17:56
rbasak"apt-cache policy <package>" can help you distinguish17:58
sarnoldiliv: that's a good question. I know we go through the trouble of pushing to -updates because it saves vastly on download time for users -- yay for the mirror network -- but I'm not sure how apt knows to prefer -updates over -security when the version number is going to be identical between them...17:58
rbasakSecurity updates will appear in both -security and -updates17:59
rbasakNon-security updates will appear in -updates only17:59
ilivsarnold, I might be wrong, but essentially what I've experienced is that sometimes those security updates appear as -updates when I run apt-get -s upgrade |grep ^Inst18:02
ilivlike I've seen this with my own two eye on my terminal lol18:02
ilivso far, the only way to see security updates would be to have security updates repositories ONLY in a separate apt source list file and pass it as an option to apt-get18:04
ilivthat works, but is a little heavy on typing :P18:04
rbasakOr you could use apt pinning I think. Not sure of the details there though18:05
ilivapt pinning is like a nightmare for me18:06
sarnoldiliv: indeed, it takes a little bit of time for the updates to make it to the mirror network18:06
sarnoldyou may wish to just use your own apt mirror and monitor which packages enter the mirror that way18:07
ilivstill creating a bash alias for 'apt-get -s upgrade -o -o Dir::Etc::SourceList=/path/to/a/file.list |grep ^Inst' would be easier and faster :)18:08
ilivsingle -o, of course18:09
uvirtbotNew bug: #1079794 in lxc (universe) "sudo: unable to resolve host.. when creating ubuntu-cloud container" [Undecided,New] https://launchpad.net/bugs/107979418:13
roaksoaxjamespage: ok so I removed cinder/ceph from openstack.cfg and services deployed fine, machines started, but the script stays in "Waiting for all service units to reach 'started' state"18:23
roaksoaxjamespage: hook.output@INFO: Cannot find device "em2"18:25
roaksoaxjamespage: i guess it is an issue of using canonistack?18:32
=== jiboumans_ is now known as jiboumans
jamespageroaksoax, no - you need a second nic18:51
jamespagejust unset that option18:51
jamespagegah - you will need to reboot the nova-compute host as well18:52
jamespageI see a weird bug when not running on hardware that the juju agents lose connectivity to zookeeper18:52
jamespagea reboot sorts its out18:52
roaksoaxjamespage: ok, so for quantum on canonistack i need to obviate (comment out) the ext-port relation setting in the hook?18:54
lvmerHey where do you guys go to learn ubuntu? Like is there a local club listing somewhere? I've 95% setup a home server by myself through online tutorials, but I'm just having a 2nd set of eyes on the configs / etc. would be helpful. It would be cool to interact or shadow someone better than me too.19:03
lvmerbut I think having a 2nd set*19:04
jamespageroaksoax, spot-on19:13
roaksoaxjamespage: ok so I got it work in, cluster not fully configured dunno why though :)19:17
daniel_- u19:23
=== _cronus_ is now known as cronus
=== cpg|away is now known as cpg
matthewh3can anyone help me install elgg - following this guide - http://docs.elgg.org/wiki/Install_Ubuntu - I tried "$ nano /etc/apache2/sites_available/default" but it doesn't exsist???19:48
sarnoldwhat doesn't exist? nano? or /etc/apache2/sites_available/default ?19:49
roaksoaxmatthewh3: /etc/apache2/sites-available/default19:49
roaksoaxs/_/-19:49
webmonkeyAny advice using Chrootdir with Apache 2.2.14 on Ubuntu 10.04?19:49
sarnoldroaksoax: :D19:49
roaksoax:)19:49
matthewh3ty19:50
webmonkeyI added the ChrootDir Directive to the config file and restarted Apache but it doesn't seem to have any effect.19:50
webmonkeyas www-data I am still able to navigate to root.19:51
sarnoldwebmonkey: how did you test that?19:51
webmonkey'su www-data' followed by 'cd /'19:51
webmonkeyIs there a better way?19:52
sarnoldwebmonkey: was that shell started via a script from apache or something?19:52
patdk-wkthat is going be a LOT of stuff, you need to put into the chroot for apache and everything to work19:52
webmonkeyNo, I was root when I ran that command19:52
sarnoldwebmonkey: a configuration option in an apache file will only influence apache and its children19:52
webmonkeypatdk-wk I've heard that, just seeing how much of a pain it is lol19:53
patdk-wka royal nightmare, it's possible, and once you know EVERYTHING you need, make a script to update them all19:54
webmonkeysarnold okay that makes sense, thanks19:54
sarnoldwebmonkey: a better way to test would be to write a php script or a perl script and try to access resources like /etc/passwd that way....19:54
webmonkeySo bascially I should tell my client it's not worth the trouble? I intend to implement mod_security19:54
webmonkeysarnold Gotcha, that's what I'm getting ready to try.19:55
matthewh3do I need to download and unzip Elgg in a Apache folder as I've just done it in the default home folder - http://docs.elgg.org/wiki/Installation19:55
sarnoldwebmonkey: you may wish to investigate apparmor instead; it doesn't require setting up a chroot environment just for apache19:56
sarnoldwebmonkey: (apparmor is an alternative to ChrootDir, not an alternative to mod_security)19:57
webmonkeysarnold will do, I've been intending to check it out anyway. Thanks!19:57
matthewh3going to follow this guide - http://www.upubuntu.com/2012/03/how-to-install-elgg-social-networking.html - will get back if I need any help ty19:57
patdk-wkwebmonkey, mod security and chroot are two totally different kinds of protection19:57
=== yofel_ is now known as yofel
webmonkeypatdk-wk I know. Just trying to have a more secure setup.19:58
patdk-wksecure against what?19:58
webmonkeyThe server hosts a publicly accessible website, and the client is rather paranoid because their server got hacked once.19:59
patdk-wkthis day in age though, I just throw up vm's dedicated to webserving19:59
patdk-wkinstead of attempting multiserver stuff with chroots19:59
patdk-wkthat so doesn't sound like chroot will protect them20:00
patdk-wkit normally takes 2 hacks to root a server, 1 hack if you don't care about rooting it20:00
webmonkeyyeah I don't really feel that chrooting is necessary, but this is a client that thinks they know more than they actually do lol20:00
patdk-wkand normally those hacks are easily found in php/perl/whatever cgi your running20:00
webmonkeyIm hoping mod_security will help with those potential issues20:01
patdk-wkas long as it's updated, it should20:01
patdk-wkand as far as rooting the server, normally that is the same thing, as long as you update ubuntu, it should be ok20:01
webmonkeyCool, well I will start working on mod_security then, and will check out apparmor after that20:02
patdk-wkdoesn't mean you can't do some extra things, like remove suid/sgid from everything you don't need20:02
lvmer||  I've just got a quick syntax / terminal question  ||  if I want to redo the following: $ ls -l  command but change it to: $ ls -ld  .... what is the fastest way? http://paste.kde.org/608318/20:03
lvmer^^ like redo a previous command but add the '-d'   ^^20:03
uvirtbotlvmer: Error: "^" is not a valid command.20:03
sarnoldlvmer: ^-l^-ld ought to do it; also, up-arrow, ^A, arrow a bit..20:04
lvmerah ^-l ^-ld worked well. Thank you. Yah I was just wondering if there was a faster way than pressing up arrow and scrolling through the characters. :)  much like: sudo !!      :)20:05
sarnoldlvmer: you can also refer to the last argument on the previous command line with !$ -- ! for history, $ for last -- so ls /long/and/anonying/path   followed by cat !$ or rm !$ or whatever...20:07
sarnoldso the next command could be ls -ld !$20:07
lvmersarnold: aaaaaahhhhhh I like that too. :)20:07
sarnoldlvmer: I probably didn't learn !$ until I'd been using linux for 15 years. I'm not sure when it was introduced, but I've liked knowing it. :)20:09
lvmersarnold: yes... it is making a world of difference already... wow. & if you didn't know it already: $ sudo !1    = sudo apt-get update && sudo apt-get upgrade20:09
lvmersarnold: at least for me on 'ubuntu-server'20:10
sarnoldlvmer: hahaha20:11
sarnoldlvmer: I can't trust my !1 to be the same thing every time... a bit dangerous with a 'sudo', too. :D20:11
lvmersarnold: yah crazy huh? I found it through a complete mistype20:11
lvmersarnold: my new home server has really been kicking butt lately. :)20:12
lvmersarnold: & I setup my pidgin account to auto login here.... so I'll probably be around a lot. xD20:13
sarnoldlvmer: woo :)20:13
=== cpg is now known as cpg|away
zasternWhen I'm doing something like this inside an environment, do I need to specify the environment in this "url"? puppet:///modules/unattended_upgrades/50unattended-upgrades-1220:41
zasternlike puppert:///staging/modules/foo/bar/etc20:41
=== cpg|away is now known as cpg
=== cpg is now known as cpg|away
=== cpg|away is now known as cpg
[conrad]Hello everyone. Is it possible to configure automount, so that it mounts /home/$user via NFS if we authenticated via LDAP, but uses the local drive if it matches a local user? We have a localhost guest account on all of our Ubuntu machines, and we have no problem doing NFS entirely, or local disk entirely, but having some issues doing one primarily with a fallback of the other.20:52
thafreakIs there a recomended/prefered iscsi target implementation in precise?20:54
thafreakit looks like iscsitarget is in universe but tgt is in main...is that correct?20:57
thafreakand if so, does that mean tgt is prefered, since it's in main?20:58
thafreakor lio also seems to be in the repos...21:02
=== mcclurmc_away is now known as mcclurmc
matthewh3can anyone help me install a elgg plugin - http://paste.ubuntu.com/1363554/21:14
roaksoaxclear21:15
uvirtbotNew bug: #990102 in cloud-init (main) "/var/log/upstart is missing" [Undecided,Confirmed] https://launchpad.net/bugs/99010221:30
epistemehello everybody! Quick question...nothing big just bugging the hell out of me. When i log in i get a message that there are updates to be installed. I run apt-get and of course there is nothing....how can i reset these messages?21:35
[conrad]episteme: Which apt-get command are you executing exactly?21:41
[conrad]Also, can you pastebin the exact message that indicates "there are updates to be installed"?21:42
episteme[conrad]: well when i get the message i run the basic apt-get update then apt-get upgrade like ive alwasy done :)21:47
epistemethe message is not from apt-get its when i log on in the motd21:47
epistemei guess i should have phrased the question to ask how to reset them in the motd21:47
[conrad]episteme: I've not personally experienced the issue ( presuming we're talking about packages, and not the actual release ). Though I do remember a bug in 10.x ( https://bugs.launchpad.net/ubuntu/+source/sysvinit/+bug/659738 ).21:49
uvirtbotLaunchpad bug 659738 in sysvinit "Duplicate welcome message in motd (caused by postinst script creating motd.tail file)" [Medium,Fix released]21:49
=== mcclurmc_away is now known as mcclurmc
[conrad]episteme: http://askubuntu.com/a/44163 better explains a solution if in fact this is the issue: http://askubuntu.com/a/4416321:51
episteme[conrad]: yeah i found that thread and that is exactly what im experiencing. i attempted the solved solution but to no avail :(21:52
episteme[conrad]: its such a small thing too...but its one of those things i want to know what cause it and fix it...just for the knowledge, but im lost lol21:54
matthewh3can anyone tell me why I can't unzip on ubuntu server but I can on Xubuntu?  The folders contain multiple files and I am just using the unzip command.22:09
sarnoldmatthewh3: pastebin what you've done and what results?22:12
matthewh3thanks - http://paste.ubuntu.com/1363687/22:14
sarnoldmatthewh3: what does 'file' show for that file?22:16
matthewh3what do you mean :/22:16
sarnoldmatthewh3: can you unzip that file just fine on your other machine? have you compared sha1sums to make sure they are identical?22:16
sarnoldmatthewh3: type 'file social-connect' -- it'll tell you what type of file it is22:16
matthewh3I can download it on Xubuntu and use archive manager to unzip it but on my Ubuntu VPS when I use the unzip command I get that error?22:17
sarnoldfile(1) uses magic numbers and magic offsets to identify thousands of different file types -- and it is usually good22:17
matthewh3root@coinconnect:/var/www/elgg/mod# file social-connect22:17
matthewh3social-connect: HTML document text22:17
matthewh3root@coinconnect:/var/www/elgg/mod#22:17
sarnoldmatthewh3: there you go :) you downloaded some html.22:18
sarnoldnothing to unzip.22:18
matthewh3kk22:19
matthewh3ty22:19
sarnoldquite frequently a web site will use a cookie or something to determine whether they should give you a form to fill out or a file to download :( sometimes it's just easier to download things using browsers rather than wget or curl...22:20
imancdoes ubuntu come packages with postfix?  Postfix appears to be installed, on an ubuntu server I'm administering, but I can't seem to uninstall it via apt-get22:55
imancyet it's listed in dpkg --list22:55
sarnoldimanc: how did you try to remove it via apt-get? what error did you get back?22:57
imancsudo apt-get remove postfix22:58
imancand the error is:22:58
imancPackage postfix is not installed, so not removed22:58
sarnoldbut dpkg -l postfix shows you that it _is_ installed? very curious.22:59
imancyep22:59
sarnoldimanc: you can remove it via dpkg --remove postfix22:59
imancdpkg -l | grep postfix22:59
imancrc  postfix                           2.7.0-1ubuntu0.2                                High-performance mail transport agent22:59
jkylehowdy22:59
sarnoldor dpkg --purge postfix22:59
imancokay, i'll try that22:59
sarnoldbut be sure you want it gone :) hehe22:59
imancsarnold: that appears to have worked. Thanks23:01
jkylelooks like my postfix chroot is screwey somehow. I'm getting errors like failure to resolv domains, failure to find service maps (like smtp). even though the chroot contains valid resolv.conf, hosts, and services files23:01
sarnoldjkyle: nsswitch, too?23:02
jkyleidentical to system, world readable23:03
jkyleI also verified the libnss, libresolv libraries are there and I'm fully updated/upgraded (precise 12.04)23:03
jkyledrop it out of chroot, all is well23:03
koolhead17melmoth, around?23:04
melmothyep koolhead1723:05
koolhead17melmoth, were you able to find/document getting keystone over SSL23:05
melmothhmm23:05
melmothin folsom there is a new thingy23:05
melmothbut i m not sure i undersand what i read23:06
melmothif i understand correclty, now, you can have the token signed by keystone23:06
koolhead17melmoth, https://bugs.launchpad.net/openstack-manuals/+bug/103278823:06
uvirtbotLaunchpad bug 1032788 in openstack-manuals "Task: Document how to configure Keystone with SSL" [High,Confirmed]23:06
koolhead17i was wondering if you could help me with this23:06
melmothlast stuff i read was https://www.ibm.com/developerworks/mydeveloperworks/blogs/e93514d3-c4f0-4aa0-8844-497f370090f5/entry/openstack_keystone_workflow_token_scoping?lang=en23:08
melmothsee the pki bits23:08
melmothbut if i understand correclty, the token is still readable by other people23:08
melmothit s just signed23:08
melmothso you know it comes fro keystone , but anyone can read it.23:08
jkylewell....23:09
jkyleas far as fixes go, this was stupidly simple considering the time I wasted figuring it out lol23:09
melmoth(it s encrypted all right, but with the private key of keystone, so any one with its public key can decrupt it, and be sure it comes from keystone)23:09
koolhead17melmoth, i will think about it. thanks23:09
melmothi m still not sure its what "i want".23:09
melmothmy main problem was not "not being sure my token comes from keystone"23:10
melmothbut "i m not sure somebody else than whoever i think it is is using a token from someone else"23:10
melmothanyway, too complicated for me, too many stuff to learn23:10
melmothbut my feeling is, it s still a bit on the hippie side of things.23:10
hallynwoohoo!  stgraber: had some locking snafus, but finally got a owrking syslogns patch.23:51
hallynnow to prepare for ridicule on lkml23:51
stgraberhallyn: yay!23:54
stgraberhallyn: btw, http://www.stgraber.org/2012/11/16/running-steam-in-a-lxc-container/23:55
hallyncool :)  guess i have no excuse not to try it23:57
sarnoldstgraber: nice :)23:57

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