/srv/irclogs.ubuntu.com/2013/12/21/#ubuntu-server.txt

=== Ursinha is now known as Ursinha-afk
QnDhey all02:57
QnDcan anyone give me feedback on if "tiger" is a good route to go for a security solution02:58
QnD12.04.3 LTS ^02:58
sarnold12, 15 years back it was awesome.. I don't know if they've kept it up to date well enough over the years or not02:58
sarnolda lot of the steps that those 'hardening' kinds of scripts that used to be popular (e.g. bastille) are now just "default configurations" of most services; their utility isn't what they once were03:00
sarnold.. and it's not like ~/.rhosts works any more :) hehe03:00
sarnoldbut it might still yet be useful, I haven't looked03:00
QnDlol03:00
QnDim just looking for something that will give me a heads up... snort was another option03:01
QnDi just have transmission-cli/web and ssh running03:01
sarnoldI think the false positive rate of snort might be more annoying than its worth. but, I can definitely understand the desire to have some kind of status..03:01
QnDmy previous load had gotten slammed bad03:01
QnDyeh i hear ya on snort throwing all sorts of stuff out03:02
QnDthat was why i kept that as a plan b03:02
QnDi dont really care about NIDS... more client side IDS03:02
sarnoldapparmor profile on transmission wouldn't be out of the question :) I haven't yet seen any bittorent code that I thought looked beautifully well-written.03:03
QnDno doubt... i hate upnp aswell... but seeding doesnt seem to like the suggested single port forwarding scheme03:04
QnDwhy upnp is even around with no security is beyond me ?03:04
QnDthat ptmx exploit being unpatched is a strange issue as well03:05
QnDwhat ever happened to *nix being secure ?03:06
QnDany kernel of any OS that is static in nature is an open door to shell code running too well03:06
QnDi just refuse to give up on ubuntu :(  ever since redhat sold out i swore i would stay loyal to ubuntu03:07
QnDis ssh being exploited at all .... anyone have any input on any 0day issues03:08
sarnoldlast I heard was a post-authentication problem that .. allowed access to user shell. Thankfully sshd's worst problems seem behind it.03:10
sarnoldmy dog is telling me it's time for a walk03:10
QnDright on.... priorities.... dogs are alot more loyal then people LoL03:10
QnDcan anyone tell me if this is normal04:12
QnD[22:53:32] Warning: Hidden directory found: /dev/.udev04:12
QnD[22:53:32] Warning: Hidden file found: /dev/.initramfs: symbolic link to `/run/initramfs'04:12
QnD12.04.3 server ^04:12
babinlonstonI My VPS i need to Update the mysql version 5.1 to 5.5 so i need to take backup of my all database's there are totally 12 database's , how can i Backup all database's by single command, And how can i restore it after updating mysql, guide me buddies ..04:13
QnDbabinlonston what about just rsync04:21
QnDor use a partition that is mirrored04:21
babinlonstonQnD: im talking about Database backup04:22
QnDyeh I was figuring on backing up the DB via the actual db files04:22
QnDin mysql I am not aware of any commands that will back up everything at once... I only use *sql at a superficial level04:24
QnDjust figured using a system type backup of the db files may be a solution04:24
QnDhow can i trace "custom logging function 0x7fb54c021250 registered" <- udev04:36
phunyguyquick question, is it possible to have clients "register" with bind, so it stores their name and IP?04:53
teenox_Anyone up for a good challenge? I've spent over 30 hours trying to get chromium to run on a remote desktop environment and having no luck.04:59
teenox_putting lubuntu on a VPS running ubunutu 12.04 64-bit and tightvnc to vnc to desktop05:01
teenox_chromium won't launch, just a quick blink of a pink screen and crashes05:01
teenox_when I try to run "chromium-browser" from terminal, i get: Xlib extension “RANDR” missing on display ":1"05:02
teenox_exhausted everything I can come up with, so came here to beg for help ;)05:02
teenox_Someone want to take a shot at this one: http://askubuntu.com/questions/393517/lubuntu-why-wont-chromium-to-run05:24
mgwHow can I prevent a process running with fakeroot from trying to read /root/.ssh (when performing an ssh operation)?06:15
sarnoldmgw: I assume you more or less want it to use your /home/mgw/.ssh/ instead so that it continues to work as expected?06:18
mgwsarnold: correct06:20
mgwor perhaps some location otherwise specified06:20
mgwbut /home/mgw/.ssh would be a big improvement06:20
mgwI'm trying to do a pip install within a fakeroot env06:21
mgwgit+ssh06:21
mgwusing dh_virtualenv06:21
mgwAnd of course it can neither read nor write /root/.ssh06:21
sarnoldmgw: just thinking aloud, perhaps you could start a new filesystem namespace (see unshare(1)) and mount --bind /home/mgw/.ssh /root/.ssh06:21
mgwhmm, interesting idea06:21
sarnoldthe downside of course is that setting up the filesystem namespace requires root privs -- real root privs :) hehe06:22
mgw:-/ that wouldn't work too well then06:22
mgwI need to unwrap whatever system call is determining the location of .ssh06:22
mgwor else find an environment variable that can override it06:22
sarnoldmgw: if you can stuff a HOME=/fooo just before that ssh or git command, that might do the job, way easier..06:23
mgwI can't, but maybe in front of pip06:23
mgwIt's being called through subprocess.check_output (python)06:24
mgwI did try overriding HOME in env06:24
sarnoldhrm, no luck there?06:24
sarnoldI seem to recall that python has several ways to fiddle with environment variables, and one only modifies the current process, the other modifies the environment handed to children... is that right?06:25
sarnoldsounds a little silly when I write it...06:25
mgwI'm not sure06:26
mgwtrying to figure out how to google that idea06:26
sarnoldhttp://docs.python.org/2/library/os.html06:26
mgwputenv06:27
sarnoldI was wrong, it's more that os.environ[] doesn't necessarily reflect the environment if it was modified with putenv() after the os module was loaded. d'oh :)06:27
mgwdoesn't work06:28
mgwCould not create directory '/root/.ssh'.06:28
sarnoldbah. perhaps it's looking up home via getent06:30
mgwit's pip that's oing it06:30
mgwthe actual lookup06:30
mgwor something pip calls06:30
mgwI wonder how I could remap getent back to the real one06:31
mgwwithout killing the fakeroot06:31
mgwor just 'whoami'06:32
mgw$ fakeroot whoami06:32
mgwroot06:32
sarnoldif you know it happens in pip you might be able to monkeypatch the methods in python. that sounds less fun though.06:33
mgwsarnold: https://github.com/pypa/pip/blob/master/pip/vcs/git.py#L11106:36
mgwbut pip itself is being called via subprocess, not as a python package06:36
mgwor module06:36
mgwin dh_virtualenv06:37
mgwso monkeypatching isn't an option without rewriting06:37
sarnoldmgw: okay. that actually makes me relieved. that's a horrible idea. :)06:38
sarnoldmgw: how about git's GIT_SSH environment variable? that looks promising.06:39
mgwsarnold: https://github.com/git/git/blob/6a907786af835ac15962be53f1492f23e044f479/git-gui/lib/sshkey.tcl#L506:39
mgwhmm06:39
sarnoldtcl???06:40
sarnoldsomeone's still writing tcl. go figure.06:40
mgwhttps://github.com/git/git/blob/7794a680e63a2a11b73cb1194653662f2769a792/Documentation/git.txt#L83006:41
mgwlooks like it points to a binary06:41
mgwbut I might be able to use that06:41
mgwthat tcl link is wrong06:42
sarnoldyeah, but thanks, it was worth a laugh :) hehe06:44
mgwsarnold: thanks!07:16
mgwhttps://gist.github.com/mgwilliams/b48fe2baa5d405edb30b07:16
sarnoldmgw: Hey! that's pretty cool. :)07:16
sarnoldmgw: thanks for sharing the end result :)07:17
loostrohi, i've done sudo apt-get --purge remove apache2 and then sudo apt-get install apache209:49
loostroand it sais the package is installed, but whereis apache2 returns nothing09:49
loostroand there is nothing in /etc/apache2, /etc/init.d/apache2 does not exist09:50
loostrohow do i install apache2 package?09:51
rbasakSpamapS: thanks, will do.13:49
hXmhello15:43
hXmsomeone alive?15:43
hXmi have a dedicated server with various domains, I want to make a smtp service, I also want to receive emails but forwarding them15:44
hXmis that possible?15:44
hXmor I need create a full imap server15:45
SpamapShXm: IMAP is for downloading email that has been delivered to a mail server.15:49
SpamapShXm: SMTP is used to transport email between servers.15:50
SpamapShXm: you probably want this https://help.ubuntu.com/lts/serverguide/email-services.html15:51
hXmyes, I just wanted to receive an email ni my server and forward it to my main@account.com without configure 2 acocunts15:51
=== freeflying is now known as freeflying_away
OtherGordoHey, I have OpenBSD 5.4 running as a guest under a Ubuntu 12.04 LTS KVM, but am having an issue with virsh shutdown not working / freezing guest.19:06
OtherGordoInstall steps and details: https://gist.github.com/gordonturner/8069133#file-openbsd-5-4-guest-shutdown-md19:06
OtherGordoAny suggestions are welcome.19:06
RoyKOtherGordo: guess #openbsd would be appropriate19:12
OtherGordoRoyK: I just came from there :-)19:13
RoyKOtherGordo: hehe19:23
lifelesssmoser: ping - around?20:00
=== eviljarred is now known as Guest84648
RoyK 21:24
Nicekiwihey so I'm getting a segmentation fault when I run apt-get update, help?23:15

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