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

=== virusuy_ is now known as virusuy
=== james_ is now known as Guest88169
kennettI need help w/ automated pxe install.04:38
kennettThe installation stops because of default route.04:43
SenorHow can I connect into one private network through ssh tunnel?04:54
kennetthttp://pastebin.ubuntu.com/5927748/  that's my kickstart.cfg file. What am I missing or doing wrong?04:56
=== thumper is now known as thumper-afk
=== acrocity_ is now known as acrocity
=== smb` is now known as smb
=== Rallias is now known as NotRallias
echodhi, I'm looking for some help setting up my own linux VPS server (at home, on my own machine) but all I find are tutorials for setting up a VPS on an account you buy. Can anyone help me out, point me to some good recources, guides ... thanx !12:14
mardraumechod: http://wiki.libvirt.org/page/UbuntuKVMWalkthrough12:15
mardraumthat should get you started - and you can stop calling it "VPS" right now, it's a "VM"12:16
mardraumthat page is pretty basic and perhaps not 100% correct with a current release, but you can google and read the rest (eg about libvirt)12:17
mardraumyou don't *need* libvirt but it is a popular framework for handling virtualisation12:17
echodthanx mardraum, Il look into it ! yeah I was beginning to think I was searching for the wrong thing, Guess I'l better focus on VM and everything that has to do with it then. Thanx a lot !12:18
mardraumkey terms are perhaps kvm, qemu, libvirt, vm12:19
echodforgot to say, I'm a noob (in webservers and linux anyway), but I'm sure you already gathered that hehe12:19
echodah, ok, thank you12:20
mardraumwell, you don't need a webserver at all (as in http)12:20
mardraumso you win there :P12:20
echodhehe12:20
echodright, have some reading to do ... bb12:21
ghostlineshi all, does ufw block all incoming & outgoing connections by default?13:09
hewhocutsdownhow do you install print drivers on server sans GUI? CUPS is easy, but wasn't sure about the driver installation.13:09
=== cmagina_ is now known as cmagina
jdstrandghostlines: by default it blocks most incoming and allows outgoing with stateful tracking (see man ufw)13:18
ghostlinesthanks, I see the problem now I have a bridge setup, and ufw blocks the bridged traffic that my KVM vm's use13:28
=== acrocity_ is now known as acrocity
resnoI'm using a FTP program, with chroot. The only way to include other dirs I see is by mounting dirs. When you unmount the dir, the files disappear out of the dir and into the users location. Am I doing something wrong or is that intended behavior?13:51
mardraumresno: I think you better go back to square one and describe wtf you are using and doing in detail.14:04
resnoI am using VSFTPD for FTP access.14:06
resnoI have set it up to use chroot to stop users from moving ebyond where they should.14:06
resnoIn order to allow users to access multiple directors, the only method is using a mount. I issue the mount, but when I umount it, the file are moved from their intended location back to users original mount place.14:07
mardraumI think you shouldn't be using chroot then14:12
mardraumit's for a specific purpose, seemingly not what you need14:12
resnomardraum: do you think theres a better way to secure access?14:15
resnoor is that for me to find?14:15
mardraumer14:16
mardraumI kind of gave up suggesting because you seem to want to use FTP14:17
resnoOh, user wants ftp :(14:17
mardraumbut I would look into SFTP, as provided by SSH14:17
resnoim kinda forced into it14:17
resnoya, is that well supporteed?14:17
resnoi looked into it a bit14:17
mardraumfilezilla does it14:18
resnocool, ill look into that then14:18
resnodo you have experince with it?14:18
mardraumand you can use the sftp only hooks into SSH that ubuntu provides with openssh14:18
mardraumsure, it's way better than ftp on so many levels.14:18
resnofor staters its go secure ;)14:19
resnomardraum: and it does chrooting as well im sure14:19
mardraumyes. just remember the chrooted dir has to be root owned14:20
mardraumyou can make a dir for users under that14:20
mardraumthat they can write to14:20
resnothat would also mean it would use port 21 or the ssh port defined?14:20
mardraumjust 2214:20
mardraumsftp has absolutely nothing to do with ftp14:21
mardraum(thank god)14:21
resnolol, i meant 2214:21
* Pici hates ftps14:21
caraconanHi there. Any good howto for Ubuntu server of sssd?14:21
resnowhats sssd?14:21
caraconansssd -> service that (I hope) will allow to specify different sources of authentication14:23
caraconanMy goal is set up SSH + LDAP in a particular server14:23
caraconanThus use LDAP users instead of looking up /etc/passwd local file14:24
mardraumwhy not use ldaps?14:26
caraconanldaps? What's that?14:30
zulroaksoax:  mind reviewing? https://code.launchpad.net/~zulcss/nova/sqlalchemy-fixes-0.8/+merge/17761514:30
pmatulisldaps is pretty much deprecated14:50
caraconanHi there. I'm following a sssd howto, and I need to know which is the "default PAM configuration file" on Ubuntu server. More context on http://paste.debian.net/20207/. Thanks15:14
pmatuliscaraconan: without looking too deep i would say /etc/pam.d/common-auth15:28
caraconanpmatulis: thanks16:18
klnlnllHi there, whenever I install 12.04 on this server that as a 4TB disk grub comes up and says out of disk16:33
klnlnllthe first time i installed it i just did 4tb / and it wouldn't boot at all, then I went and redid it with a separate /boot partition and it still says "out of disk" but at least it boots16:34
klnlnlldoes anyone know how to avoid/fix this?16:34
=== klnlnll is now known as Teduardo
roaksoaxadam_g: thoughts? http://pastebin.ubuntu.com/5929642/16:43
adam_groaksoax, you need to mock os.environ16:45
adam_groaksoax, or rather, service_name()16:45
adam_groaksoax, since it looks like you're setting SERVICE_NAME at the top level,, you can  patch it with the rest of whatever you are patching, and set its return_value to something in the tests' setUp() so that its mocked for every test16:47
roaksoaxadam_g: http://paste.ubuntu.com/5929657/16:47
adam_groaksoax, oh, right. you need to get that patched before you load the utils module in your tests. service_name() is being called at module load16:48
adam_groaksoax, checkout how i handled it for restart_map() in cinder. similar16:48
roaksoaxadam_g: ok coolt hanks!16:48
adam_gthere might be a better way to do it, not sure16:48
zuladam_g:  https://code.launchpad.net/~zulcss/cinder/sqlalchemy-ftbfs/+merge/17764816:54
=== natefinch is now known as natefinch-lunch
adam_gzul, https://code.launchpad.net/~gandelman-a/ubuntu/saucy/cinder/greenlet_min/+merge/17627217:19
zuladam_g: +117:22
zuladam_g: https://code.launchpad.net/~zulcss/nova/sqlalchemy-fixes-0.8/+merge/17761517:35
=== natefinch-lunch is now known as natefinch
optimusOO7hello17:51
optimusOO7i am having trouble downloading packages, i am able to install packages like keystone from ubuntu cloud repo but i am not able to install vim, i am getting "503  Unable to download in offline mode", it looks like a proxy problem, but i am not sure how to solve this17:53
sarnoldoptimusOO7: are you using a local proxy? (squid-deb-proxy, apt-cacher-ng, etc?)17:54
optimusOO7thats the issue, i don't know if this machine is using proxy17:54
optimusOO7but it seems that its using local proxy17:55
sarnoldoptimusOO7: ah :) apt-config dump | grep Proxy17:55
optimusOO7sarnold: cool :)17:55
optimusOO7sarnold: yes, its using proxy17:55
sarnoldoptimusOO7: cool. :) I hope that's enough to help get the problem solved17:56
optimusOO7sarnold: Acquire::http::Proxy "http://server:3142";17:57
optimusOO7sarnold:  i tried to set the env variable but still its not working17:58
sarnoldoptimusOO7: does that server exist? can you ping it? does it work for other tasks? do you want / need to continue using it?17:58
sarnoldoptimusOO7: I've got a vague memory that apt doesn't care about the http_proxy environment variable17:58
optimusOO7sarnold: yes i can ping it17:59
optimusOO7sarnold: yes, its a puppet master17:59
optimusOO7sarnold: i would need it17:59
optimusOO7sarnold: still getting  503  Unable to download in offline mode18:00
sarnoldoptimusOO7: okay, nice. the downside is now you get to figure out why it is reporting 503 errors :(18:00
chrisanWhat does mounting with acl do? https://help.ubuntu.com/community/FilePermissionsACLs  I didnt see this guide prior and just installed acl and went off using it, it seems to be working w/o editing fstab..?18:09
optimusOO7sarnold: now when i tried to install qemu, it downloaded some updates but some of them showed 50318:10
optimusOO7Fetched 7,051 kB in 0s (14.3 MB/s)18:11
optimusOO7Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/c/ceph/librados2_0.41-1ubuntu2.1_amd64.deb  503  Unable to download in offline mode18:11
optimusOO7Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/c/ceph/librbd1_0.41-1ubuntu2.1_amd64.deb  503  Unable to download in offline mode18:11
optimusOO7Failed to fetch http://archive.ubuntu.com/ubuntu/pool/universe/q/qemu-kvm/qemu_1.0+noroms-0ubuntu14.10_amd64.deb  503  Unable to download in offline mode18:11
patdk-wksounds like you where using a bad mirror, or have a proxy configured18:11
sarnoldoptimusOO7: are there any messages in the proxy's log files?18:11
sarnoldchrisan: did you mount -oremount,acl at some point?18:12
patdk-wkif you don't mount with acl, you won't have acl support and only have user/group/other permissions18:13
patdk-wkone of these days, I will use acl's (but not for atleast 20more years)18:13
chrisansarnold: i did not, just did an apt-get install acl and went off with setfacl cmds18:13
sarnoldchrisan: the setfacl might work with or without the 'acl' option. but can you -use- them?18:14
chrisani will have to test, `mount | grep acl` returns nothing but `getfacl mydir` spits out my options18:15
patdk-wkyes, the acl is applied and stored18:16
patdk-wkbut it's never checked when accessing the file18:16
chrisanah, ok, easy to add - was just curious of how things were "working" - thanks all18:17
zuladam_g: https://code.launchpad.net/~zulcss/python-heatclient/ftbfs/+merge/177662 anhttps://code.launchpad.net/~zulcss/nova/sqlalchemy-fixes-0.8/+merge/177615 pleased18:19
adam_gzul, where has this been forwarded? http://bazaar.launchpad.net/~zulcss/nova/sqlalchemy-fixes-0.8/revision/599/debian/patches/remove-deprecated-sqlalchemy-option.patch18:20
zuladam_g: https://review.openstack.org/#/c/39296/18:21
zuladam_g: ill put that in in the patch18:22
adam_gzul, ok. does it fix a FTBFS or just silence warnings?18:22
zuladam_g:  ftbfs18:22
zuladam_g:  fixed18:35
axisyshow to add sphinx plugin into mysql 5.5 from ubuntu repo?19:20
_rubenwonder if there's some magical way around bug #100838519:29
uvirtbotLaunchpad bug 1008385 in apache2-mpm-itk "apache-mpm-itk writes wrong process name in /proc/$$/status" [Medium,Confirmed] https://launchpad.net/bugs/100838519:30
Gatorzhello19:45
GatorzI need help with my server ive tried looking all over19:45
zuladam_g: https://code.launchpad.net/~zulcss/python-ceilometerclient/keystone-ftbfs/+merge/17768020:03
roaksoaxDaviey: still around?20:05
Davieyroaksoax: maybe20:07
DavieyPlease leave a message after the tone.  <BEEP>20:07
roaksoaxDaviey: if you have the time, could you promote 'crmsh' to main and remove system-config-cluster, and redhat-cluster from the archive?20:08
Davieyroaksoax: bug numbers ?20:08
roaksoaxhttps://bugs.launchpad.net/ubuntu/+source/redhat-cluster/+bug/120510720:08
uvirtbotLaunchpad bug 1205107 in redhat-cluster "[remove] redhat-cluster" [High,New]20:08
roaksoaxhttps://bugs.launchpad.net/ubuntu/+source/system-config-cluster/+bug/120543820:08
uvirtbotLaunchpad bug 1205438 in system-config-cluster "[remove] system-config-cluster" [High,New]20:08
Davieylookng20:09
roaksoaxhttps://bugs.launchpad.net/ubuntu/+source/crmsh/+bug/120501920:09
uvirtbotLaunchpad bug 1205019 in crmsh "[MIR] crmsh" [Critical,Fix committed]20:09
Davieyroaksoax: done20:19
roaksoaxDaviey: awesome! thanks!! :)20:19
Gatorzw00t20:21
Gatorzfinally20:21
GatorzI need some help with my nix server if someone can PM me20:21
sarnoldGatorz: IRC tends to work best if you just ask specific questions.20:24
Gatorztrue20:24
Gatorzwell, here is the issue all my sites still arent showing up I have 12 domains and I simply only have one showing up not sure why only thisone shows up but, I have set up the resolv.conf with Google DNS so still notsure why all the sites arent up20:25
Gatorzfor example20:26
Gatorzhttp://www.martinmonica.com/20:26
sarnoldGatorz: a lot can go wrong with DNS. There's both the publishing of data and then there's the lookup of data.. it's best to solve just one problem at a time..20:26
sarnold"This is the default web page for this server."20:26
Gatorzalright20:26
GatorzI know its the default page so at least the domain works20:26
Gatorzbut, the rest dont work so my question is why20:27
sarnoldGatorz: were the domains previously hosted elsewhere? have their old records expired from caches yet?20:28
Gatorznope it was always hosted at my home server20:28
sarnoldGatorz: does 'host www.martinmonica.com` show you the addresses you expect? how about each of the other hosts?20:29
Gatorzlemme check hold on sarnold20:29
Gatorzyes it does!20:30
Gatorz=)20:30
Gatorzbut, not the others20:30
sarnoldGatorz: okay, cool, now go find the DNS servers responsible for the authoritative records for those other hosts / domains -- is it correct? are there errors in the logs?20:30
Gatorznope no errors20:32
Gatorzhmm sarnold hold on lets see here20:33
=== shadeslayer_ is now known as shadeslayer
joshuto change the language of the OS from the command line is this the only file to change /etc/default/locale21:17
sarnoldjoshu: maybe you also have to run the update-locale program.. I don't see a manpage but the source looks like it performs sanity checks..21:45
joshuok I'll try that sarnold21:56
adam_gzul, ping22:16
lurkerjj22:20
lurkerdo u c me22:21
lurker:-(22:21
lurker:-[22:22
=== LargePrime is now known as Guest41531
lurkerHello22:26
lurkerLargePrime- Hello22:27
sarnoldlurker: hello :)22:41
sarnoldlurker: IRC tends to be quiet until someone has a question; since we're all at work or asleep or something, we're not all on irc allthe time22:41
lurkersarnold: I now with other one22:45
lurkersarnold, thank you sir sarnold, I have no more22:50
zuladam_g:  whats up23:13
adam_gzul, so there will be a 2013.1.3 release next week, and quantum has been renamed to neutron. how are to handle SRU'ing that?23:14
zuladam_g:  shouldnt effect raring imho23:14
adam_gzul, how so23:14
zuladam_g:  there isnt a neutron in raring23:15
zuladam_g:  besides the neutron package has been transitioned from quantum23:15
adam_gzul, ok. nvm, i thought the stale/grizzly branch had more done to it than its git repo location/name23:16
zuladam_g:  no dont think so23:16
zuladam_g:  should be just a matter of parking the neutron tree in a branch somewhere an just cherrypicking fixes to stable/grizzly23:17
adam_gzul, huh? what do you mean cherry-picking fixes?23:18
adam_gthat sounds scary23:18
zuladam_g:  nm...im just babbling23:18
adam_gzul, the upstream branch is still getting commits like the other stable branches, everything is just renamed to neutron in LP/gerrit/etc23:19
zuladam_g:  ah ok thats cool then23:19
* zul disapears for a bit23:19

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