/srv/irclogs.ubuntu.com/2013/07/29/#ubuntu-server.txt

=== Ursinhal is now known as Ursinha
=== Ursinha-afk is now known as Ursinha
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
=== thumper is now known as thumper--afk
Shadowandlightim very new at using linux / cmd line... but i am trying to get this app running on ubuntu server... i had it running and now its not working after i restarted the server... [29/Jul/2013 04:53:30] "GET /static/bootstrap/css/slate.css HTTP/1.1" 500 5904:54
Shadowandlightapache shows running, but there is no style sheet coming up for the web app04:55
babinlonstonI want to monitor the Whole Posgresql  in nagios how can i do it05:08
=== smb` is now known as smb
hack13I have a pretty fresh install of ubuntu 12.04 LTS 64bit running on a new dedicated server. I installed webmin as I have done hundreds of times before, however this time I seem to have it stuck. It is showing it working, firewall dissabled, but I have no idea what log to look at to see what is wrong.09:04
antiherohow do I get raw keys from keyserver.ubuntu.org?09:14
antiherohttp://keyserver.ubuntu.com/pks/lookup?op=get&search=0xCBCB082A1BB943DB that without the HTML09:14
andolantihero: By speaking hkp?09:27
andolantihero: Unless you want to use the regular gpg binary for that I'm sure there are plenty of libraries which should be able to do that key fetching for you.09:28
=== jdstrand_ is now known as jdstrand
bigbrovarlet me take a screenshot11:19
bigbrovarhttp://imgur.com/7Raxc1z11:22
bigbrovarthats the screenshot11:22
bigbrovarunder the record information it is listed as a book11:22
bigbrovarbut the holding information is blank11:23
mgzanyone know any issues with the current saucy-daily cloud images?11:34
mgzI'm not getting my machine out of BUILD currently11:34
=== dduffey_afk is now known as dduffey
GH0Hello, I was wondering is SELinux policies enabled by default, or is AppArmor a replacement of that?14:41
iclebytehas anyone ever managed to get ncftp to work through an FTP proxy?14:41
GH0I have been having some issues with a web app (which I think is just the fault of the dev), but he wants me to disable SELinux, which I don't think is enabled in the first place.14:42
Madkissfolks, I am seeing a problem here with Ubuntu Server. I have a DRBD resource that delivers me about 1.3gb/s of performance. and then, I run an iSCSI target on top of that, and the iSCSI target gets me about 45mb/s. I wonder what's wrong?14:49
patdk-wkMadkiss, likely? nothing14:49
Madkisshu?14:49
patdk-wkwhy would that be wrong?14:50
Madkisswell. there is a little performance drop between DRBD and the iSCSI stack laying right on top of DRBD, don't you think so?14:50
patdk-wkI dunno, you didn't finish describing the test you did14:50
patdk-wkwas this done over gigabit network?14:51
Madkissno. This is 10GE throughly. And ... did my message get cut off?14:51
patdk-wkwas the iscsi lun setup for sync or async?14:51
Madkissit's the lio default14:51
Madkisspatdk-wk: I'm testing with DD, btw.14:54
jdstrandGH0: selinux is not enabled by default in Ubuntu15:48
jdstrandGH0: apparmor is used instead, but we don't confine apache by default15:49
herent_laptopHi - I have a question about backing up a remote server before attempting an upgrade17:30
herent_laptopRight now I'm rsyncing down everything to my local machine17:30
herent_laptopBut I'm not sure exactly how to restore that if my upgrade from 10.04 (think that's what it's at now) doesn't work right17:31
herent_laptopI've been trying to find tutorials online, but haven't seen much17:31
herent_laptopAny help would be appreciated17:31
ikoniawhy are you doing an rsync backup if you don't know how to use it to restore ?17:31
herent_laptopTo have the files17:32
ikoniawhat good are they if you can't use them to restore ?17:32
herent_laptopI'm guessing that there is a way to use them, I'm just not completely sure how17:32
sarnold.. hence the question :)17:32
ikoniaherent_laptop: is this a vps ?17:32
herent_laptopYeah17:32
ikoniaherent_laptop: right, the best way is to ask your vps provider to take a snap shot of the disk17:32
herent_laptopThere's no real gui for it, though17:33
ikoniathen in the event of failure the disk can be switched/restored from that snap shot17:33
herent_laptopI'll ask them, it's my old job that's hosting it17:33
ikoniayou're not going to realistically rsync a whole machine over the internet, for a restore, more so when you potentically can't even boot the machine17:33
herent_laptopI asked the sysadmin a few months ago and he just said that it could be rsynced pretty much anywhere to restore17:34
ikoniathen he should be sacked17:34
herent_laptopSo I started in on that, there's only 14gb17:34
sarnolddepends on your goals and abilities, and the data you're backing up..17:34
ikoniarsyncing the os for a potentical upgrade restore over the inernet....is crazy17:34
herent_laptopPretty much the only stuff I _really_ need is the web root17:35
ikoniarsyncing some personal data that is nothing to do with the OS or configuration files, sure17:35
ikoniaherent_laptop: right, so grab that, and ask them to take a snap shot of your OS disk17:35
herent_laptopThere isn't really much for personal stuff on there at all17:35
Mosselmanhey guys. I want to host my e-mails myself in order to (partially) prevent employees of my web host (and the NSA) snooping through my stuff. Would it be possible to setup a VPS with my e-mail server and then prevent employees from the cloud company to access the machine?17:44
MosselmanI was thinking something along the lines of 2 way authentication17:45
sarnoldMosselman: 2fa cannot prevent the hard drive from being pulled, or the machine being pulled from the rack while under an altnerative power supply17:46
Mosselmansarnold: I was thinking of encrypting either way17:47
sarnoldMosselman: how would you provide the decryption key at boot? :)17:47
Mosselmansarnold: it is primarily that I don't want them just looking around17:47
Mosselmansarnold: that is a good point ;)17:47
Mosselmanimpractical for e-mail17:47
patdk-wksarnold, thinking too hard :)17:52
patdk-wkmosselman, even if you encrypted everything, all emails outside of that server could easily be read17:52
patdk-wkso any emails you send/receive from me, could easily be snooped by the nsa17:53
patdk-wkor gmail, or anyone else, that doesn't have a user account on that server17:53
Mosselmanpatdk-wk: I know, but I can't control that part (without pgp). I can only do what I can17:53
patdk-wkyes, but if that part isn't secure, why even bother securing the rest? it's a pointless excersize17:54
sarnoldpatdk-wk: heh, yeah, here's me assuming that gpg was of course part of the solution :)17:54
patdk-wkwell, you have a few issues17:55
patdk-wkyou can encrypt the whole server, and use an initrd ssh unlock17:56
patdk-wkthe issue there is, anyone with physical access *nsa/fbi/...* can modify the initrd so it will record the unlock password when you supply it17:56
patdk-wkyou can't use a tpm device, as that is pointless, cause when they take the server, they take the tpm also17:57
patdk-wkso best you can do, is do the initrd thing, and hope you never type your password in, after someone is monitoring it onsite17:58
Mosselmanpatdk-wk: thanks for the info17:59
Mosselmanthe alternative is running it on my NAS, but I am not sure about reliability (up-time etc)17:59
patdk-wkI think your giving too much credit to the employees at the cloud company18:00
patdk-wkthey aren't going snoop through your emails18:00
ikoniathis is just a crazy question18:00
patdk-wkcause they are like every other employee, too lazy18:00
ikoniaas you've been told in #ubuntu18:00
ikoniawhile your runnign on a VPS the host will always be able to access18:01
Mosselmanpatdk-wk: I agree with that, I am not under the impression that they are all waiting to read my mail anyway, but it is like with bike locks, if you have 1, someone might figure they'd like to cut it and steal your bike, if you have 100 there will still be that guy who, if he wants to, will cut all 100 of them18:04
Mosselmanso it is not so much about 100% security, but rather making it a tiny bit harder18:04
ikoniayou're not making it harder18:04
ikoniathe vps host owners will be able to access your data18:05
Mosselmanikonia: sure love18:05
patdk-wkas long as they don't poweroff your machine, all bets are off, they have full access18:05
ikoniaMosselman: you must understand that the virtual machines are "virtual" provided by the physical resources of the host, the people control the "host" so they can access your virtual devices,18:05
patdk-wklucky, the fbi hasn't figured this out yet18:05
IdleOneMosselman: They own the servers, they keep root access. The real question is why would they bother accessing your data.18:05
ikoniaMosselman: hence why I keep telling you, what you are suggesting doesn't matter, the hosts will have access to the guests18:06
ikoniaas administrators of the host they have power over the guests18:06
ikoniait's just stupid NSA paranioa18:06
sarnoldpatdk-wk: sure they have; they know to shove a UPS onto powerstrips :P18:06
MosselmanI am not talking about theoretical access, I am talking about the way in which you access things. From a practical point of view.18:06
ikoniaMosselman: they have total practical access18:06
patdk-wkthere is nothing theoretical about it18:07
MosselmanLets say that you leave your diary with me. If I leave it in my car I will still have full access, but I'd have to walk all the way over there to read it. If I have it lying next to me on my desk I'd just flip through it right then and there.18:07
ikoniaMosselman: multiple people are telling you "they will have access" and you keep arguing18:07
ikoniaMosselman: if you think you are correct, why are you asking ?18:07
ikoniaget on with "doing"18:07
Mosselmanikonia: I don't disagree with them having access18:08
ikoniaMosselman: then whats the problem, your question was to stop them having access18:08
ikoniawhat is your question if it's not that ?18:08
Mosselmanno it wasn't18:08
Mosselmanikonia: do you have trouble with analogies or what?18:08
Mosselmanor are you just trolling?18:08
ikoniajust ask the clear question then18:09
ikoniaboth myself and patdk-wk seemed to be under the impression you where trying to stop them having access18:09
patdk-wkMosselman, just hope you are not my customer :)18:09
Mosselmanok, so lets say I am an employee of a VPS service. How would you access my VPS's files?18:09
patdk-wkthe harder someone makes it, the more *interesting* it becomes to do18:09
* sarnold makes note .. don't .. buy .. from .. patdk..18:09
Mosselmanunencrypted etc18:09
ikoniaMosselman: I'd mount your disks onto the hosts18:09
ikoniaMosselman: and read them18:09
LjLMosselman: i hope you're going to encrypt RAM too18:09
LjL(how the CPU will be able to read that then is a question left to the reader)18:10
MosselmanLjL: you raise the point that I am trying to make. So ikonia  what if the drives are encrypted. Does that change any of the commands you need to perform to mount the drives?18:10
ikoniaMosselman: no, because you've unencypted them to access them18:10
ikoniaMosselman: so I can own your session and either read directly, or mount where I want18:11
ikoniabecause the resources are on the "host" not the "guest"18:11
Mosselmanikonia: and is there a way to prevent this or make it harder? with harder I mean even adding a few commands18:11
patdk-wkwith a vps? impossible18:11
ikoniaMosselman: no, as I've said multiple times18:12
patdk-wkyou don't have host root access to do anything18:12
patdk-wkI was atleast assuming a real physical server18:12
LjLMosselman: what you're trying to achieve is called "security by obscurity", and is frowned upon by anyone in the security field, so you're probably going to be on your own implementing it18:12
patdk-wkcause the second you talk about encryption, you don't do *sharing*18:12
MosselmanLjL: I know, it is not so much security, but more about security through lazyness18:12
ikoniaMosselman: and as I said anyone, it doesn't matter as you fire emails out across the public interenet, so they can be read in transit18:13
ikoniaMosselman: it's not security at all18:13
MosselmanLjL: because lets say in the case of a physical server you'd be able to still attack through the RAM ,but that is waaaay more trouble than just doing ssh root@127.0.0.118:13
ikoniaMosselman: I'm sorry "shell attack"18:13
ikoniawhat ???18:13
patdk-wkon both, I would just attack your website :)18:14
Mosselmanikonia: I still don't really believe you are getting the point, but thanks for the answer earlier18:14
Mosselmanpatdk-wk: probably the best way yes18:14
ikoniaMosselman: you don't seem to grasp how this works18:14
patdk-wkand once I did so, I wold have access to your unencrypted system18:14
Mosselmanikonia: it was an example18:14
ikoniaMosselman: what is the point of all this fantasy security to stop people reading your emails, if I can sit reading them as they pass through your ISP's gateway18:14
LjLMosselman: yeah except no, that's just deluding yourself into thinking the attacker is probably an idiot and won't read your RAM. "waaaaay more trouble", in security terms, is when it takes you 100000000 years to crack something instead of just 100, not when it takes someone who knows the right command18:14
Mosselmanalso, sniffing the network for all my e-mails or something is also more trouble than just opening up the drive18:14
ikoniaMosselman: no it's not18:15
ikoniaMosselman: it's a doddle18:15
patdk-wkwhat would be just as *secure*18:15
patdk-wkwould be to use pop3, and not allow emails to be left on the server18:15
sarnoldMosselman: heh, except the email-sniffing infrastructure is already set up, running well for eight or ten years :)18:15
Mosselmanpatdk-wk: I like that idea18:15
ikoniasarnold: exactly18:15
Mosselmansarnold: haha yeah that is another story18:15
Mosselman;)18:15
ikoniaI see it every day18:15
patdk-wkovh *claims* to have set up one18:16
patdk-wkthat mirrors all smtp traffic for monitoring18:16
ikoniawhich is why I do'nt get why Mosselman is telling me what is easy / hard to do, when he doesn't really seem to understand the basics18:16
Mosselmanikonia: just because I ask something doesn't mean I don't know anything about it.18:16
Mosselmansometimes you have to verify what you know or might not know18:16
ikoniaMosselman: I don't think it does, but you telling me "X is hard to do" when its easy, suggests you don't18:16
ikoniamore so when it's already in place with every ISP/DC18:17
Mosselmanikonia: 'hard' is relative18:17
ikoniaMosselman: you're just making excuses now to hide the fact that you didn't know18:17
MosselmanSo lets say for example, 'harder' would be switching from web hosting e-mail to VPS run e-mail?18:17
Mosselmanikonia: you can believe whatever you want18:17
ikoniaMosselman: why ? what benifit would that do18:17
ikoniawhen I can read your mail as it goes through the ISP gateway18:17
Mosselmanikonia: because then I don't have to convince you otherwise18:18
ikoniawhich is VERY easy18:18
ikoniaMosselman: what is the point in asking for help for you to disagree with everything and say you know already18:18
ikoniawhy not get on with your setup if you know already18:18
Mosselmanikonia: you are ignoring the physical situation, the human element18:18
ikoniawhat physical situation ?18:18
Mosselmanof the employee18:18
ikoniayou've just mentioned that18:18
ikoniaof what employee ?18:18
patdk-wkwell, if we take humans into account18:19
patdk-wkthere is no point in securing anything18:19
patdk-wkcause humans will leak passwords willingly18:19
Mosselmanwho is sitting around in the call centre bored and decides to check whether my gf has sent me any naked pictures while he is waiting for his next call18:19
ikoniaMosselman: call centre ?18:19
ikoniaMosselman: a call centre doesn't manage your email18:19
Mosselmanikonia: that is what I mean, we are talking about 2 different things18:19
ikoniaMosselman: network ops teams do - who sit there monitoring it 24x7 - as thats their job18:19
ikoniaso "who sits there doing that" - the people who run your network do18:20
Mosselmanikonia: anyone who is bored who works there with access to files18:20
ikoniaMosselman: what ??18:20
ikoniaMosselman: you are making zero sense and just changing fantasy situations every 30 seconds18:20
MosselmanYou are talking about attackers, I am talking about untrustworthy employees who are just killing time doing a shitty job18:20
ikoniaMosselman: tone down the language18:21
Mosselmanikonia: I am not, I started with this in my very first message18:21
ikoniaMosselman: I'm not talking about attackers18:21
ikoniaMosselman: I'm talking about people monoitoring network infrastrcture as their job18:21
* patdk-wk would wonder why gf would email said pictures, and who else she sent them too18:21
patdk-wkshe would be gone that moment18:21
Mosselmanpatdk-wk: haha I don't know, was an example. could be the mistress as well18:21
patdk-wkya same deal, I don't need a *log* that would show her18:22
Mosselmanikonia: never mind dude, thanks for the info and sorry for making your life miserable18:22
patdk-wkand that includes her email client18:22
ikoniayou've not made my life miserable18:22
Mosselmanikonia: I am glad, it seemed that way18:22
ikonianot really18:22
ikoniajust didn't want you to waste time with a pointless task, or believe something was secure when it was far from it18:22
Mosselmanthanks for the info patdk-wk18:22
Mosselmanikonia: I think it was just a misunderstanding18:23
ikoniait really wasn't18:23
Mosselmanthat is the definition18:23
ShogootHi people. Just wondering if this is at all possible. I got a ubutnu server box that runs a seedbox - rutorrent and a webgui listening on port 80 (its installed with a script from the torrent invite site). I own a adress mysite1.com and it pointing to my routers public ip. IS it possible to have ANOTHER box running a webserver to host my personal site?    How would the two  machines listening on port 80 know who of them are cal19:00
Shogootled?19:00
sarnoldShogoot: run a proxy in front of them, nginx, apache, something like that. the proxy is on port 80, and based on the pathnames knows whether to bounce to the serve on port 81 or server on port 8219:01
Shogootoh ok... would that be a third machine requied for doing that?19:03
adam_groaksoax, check out the tests in nova-compute. you can copy test_utils.py to your charm and inherit from CharmTestCase, then you have a fully mocked relation environment19:03
sarnoldShogoot: you can use one, two, or three machines, as you wish :)19:03
Shogootim going to have a challenge in making this work :)19:05
Shogootthanks for your tip ill look into it, now that i know where to look.19:05
sarnoldShogoot: check out "reverse proxy" here: http://httpd.apache.org/docs/2.2/mod/mod_proxy.html19:06
Shogootsarnold, nice, thank you very much19:07
roaksoaxadam_g: ok cool19:08
GH0jdstrand, thanks for the response. That is what I figured, I think the web app developer just doesn't want to admit that the problem is his issue. I will let him. Thanks. :)19:24
=== VD is now known as Guest37498
=== schmidtm_ is now known as schmidtm
=== thumper--afk is now known as thumper
roaksoaxadam_g: so how do you run the tests?21:06
=== Mosselman_ is now known as Mosselman
adam_groaksoax, ive been running with nose21:21
roaksoaxadam_g: ok cool thanks21:22
adam_groaksoax, nosetests -svd $tests_dir/ should discover and run the tests21:23
roaksoaxadam_g: yep! thanks!21:25
=== andreas__ is now known as ahasenack
=== daker_ is now known as daker

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