/srv/irclogs.ubuntu.com/2013/03/25/#ubuntu-server.txt

=== ndngvr` is now known as 17WABC1UP
=== Pici` is now known as Guest9250
=== james_ is now known as Guest81457
=== Ursinhal is now known as Ursinha
Nicolas_Leonidashow do I stop this Enter passphrase for key '/home/foo/id_rsa' from showing up when I try to ssh?01:31
escott_Nicolas_Leonidas, don't set a passphrase on the key01:32
Nicolas_Leonidasescott, it's too late it's already there01:33
Nicolas_Leonidasbut there is something that remembers ssh passphrases I just can't remember it's name01:33
escott_Nicolas_Leonidas, so make a new key01:33
escott_Nicolas_Leonidas, ssh-agent01:33
Nicolas_Leonidasyeah, can't I use ssh-agent? changing the key is difficult because the key is distributed on other servers01:34
gdeebleHey is anyone familiar with Ser2Net in here? While it sounds retarded, I'm just trying to figure out if it's possible to have it pull the serial port of the local host, where the console log is being pushed to. For example, it's being pushed to ttyS0 in the parameters, and I want ser2net to allow me to connect to that port to capture what's going on, but this is on the same server that01:49
gdeebleit's running on.01:49
patdk-lapsure, it works great01:50
patdk-lapI use it for phonesystems and other things to make the software work over tcp/ip01:50
gdeebleIn this case it covers my servers and such, but I want it to do kind of like a loop back to itself as well.01:51
=== cs278 is now known as Guest33833
=== alamar is now known as Guest96040
=== Ursinha-afk is now known as Ursinha
=== jamespage is now known as 13WAATFJC
=== susi is now known as strawman
=== strawman is now known as susi
=== holstein_ is now known as holstein
=== io is now known as IdleOne
GletobI'm having an issue with two servers/init scripts not starting correctly on reboots, how can I diagnose these issues.  One is mumble-server from the repos, and the other is an init script I use for a minecraft server.05:36
=== alex88_ is now known as alex88
=== Sprockt is now known as Sprocks
=== _donvito is now known as donvito
=== acrocity_ is now known as acrocity
semcentroI have problems to send key gnuPG to server05:59
Nicolas_Leonidasjoin #freelance06:14
rsthelordHello Guys!! i am getting /install/vmlinuz error when i am booting from a usb. how do i solve the issue?08:00
=== ttx` is now known as ttx
=== diplo_ is now known as diplo
=== HappyLoaf-AFK is now known as HappyLoaf
=== Sprockt is now known as Sprocks
=== alex88_ is now known as alex88
=== acrocity_ is now known as acrocity
=== fr0st is now known as Guest14027
=== smb` is now known as smb
=== huats_ is now known as huats
=== melmoth_ is now known as melmoth
=== negronjl` is now known as negronjl
=== racedo` is now known as racedo
=== cronus__ is now known as cronus
=== highvolt1ge is now known as highvoltage
=== gary_poster|away is now known as gary_poster
=== Pici`_ is now known as Pici
Guest6722HEYO!12:26
Guest6722RoyK:  will you ping me when you have a minute?12:27
RoyKping12:27
RoyK(one minute only)12:27
Guest6722lol12:27
Guest6722you were saying my swap was on slowest part of drive12:27
RoyKand I said never mind12:28
=== Guest6722 is now known as LargePrime
RoyKno, you can't move it without a lot of partitioning magick12:28
LargePrimeoh.  as in never mind, this is not an issue12:29
LargePrimemagic or just effort12:29
=== xcrracer_ is now known as xcrracer
RoyKswap use will be slightly slower12:29
RoyKbut then, swap is always slow, and excessive swap is a killer12:29
LargePrimeyes12:30
LargePrimeanother minute?12:30
RoyKno - gotta go and catch a train12:30
LargePrimeok later then if you can thanks12:30
=== caveat-_ is now known as caveat-
=== ppetraki_ is now known as ppetraki
=== iarp_ is now known as iarp
zuljamespage/yolanda: https://code.launchpad.net/~zulcss/cinder/rc2/+merge/15521813:02
RoyKLargePrime: back13:06
LargePrimemissed you13:07
LargePrimeshort train13:07
RoyKLargePrime: no, I'm on the train ;)13:07
LargePrimeofc13:07
=== cyphermox_ is now known as cyphermox
LargePrimeany thoughts on kernals you would like to share?13:13
=== heathjs is now known as heath
zuljamespage:  http://people.canonical.com/~chucks/ca/13:14
LargePrimeRoyK:13:15
RoyKLargePrime: what do you mean?13:20
LargePrimeI have a grsec kernel on my server, and I am thinking to replace it.  and then i find i have a bunch of options13:20
LargePrimeshould i just do a generic kernel?13:21
RoyKthat works well for 99% of machines13:23
RoyKI haven't used a custom kernel for years13:23
LargePrimeRoyK:  How would i move the swap partition?  what would i google?13:24
RoyKbut if you want/need the grsec added security, then use it13:24
RoyKLargePrime: don't think about it - the easiest way is to reinstall. everything else will be very hard. also, how much swap do you really use/need?13:25
=== SoulOfTheInterne is now known as ToBeFree
RoyKLargePrime: and if you use a lot of swap, you have too little memory13:27
RoyKLargePrime: better just forget about it. it doesn't matter!13:27
RoyKLargePrime: pastebin output of "free"13:29
zuljamespage/yolanda: https://code.launchpad.net/~zulcss/cinder/rc2-fix/+merge/15522313:33
LargePrimehow do i pipe into pastebin again?13:34
RoyK!pastebinit | LargePrime13:34
ubottuLargePrime: pastebinit is the command-line equivalent of !pastebin - Command output, or other text can be redirected to pastebinit, which then reports an URL containing the output - To use pastebinit, install the « pastebinit » package from a package manager - Simple usage: command | pastebinit -b http://paste.ubuntu.com13:34
LargePrimehttp://paste.ubuntu.com/5646361/13:38
LargePrimeRoyK:13:38
RoyKic13:39
LargePrimeswap seems small13:39
RoyKit's still ~2GB free13:40
RoyKmemory13:40
RoyKthat is, it's not "free", but allocated as buffers/cache13:40
RoyKbut that's usable for applications13:40
tobinIs the euca200ls package in the awstools-dev PPA the replacement for the ec2-api-tools ?13:40
RoyKit's swapped out a wee bit, but so long as everything runs ok, it's no reason to worry13:41
jamespagezul, cinder is still auto-generating a dependency on python-rtslib is that correct?13:41
zuljamespage:  yep13:42
zulbabel as well13:42
jamespagezul, thats somewhat counter to the -0ubuntu1 changelog entry13:42
zuljamespage:  it is13:42
jamespage??13:42
zuljamespage:  erm..13:43
=== phunyguy_ is now known as Phunyguy
=== Phunyguy is now known as phunyguy
zuljamespage:  im not sure where that is coming from13:44
=== pgraner` is now known as pgraner
zuljamespage:  seems to be coming from the tarball13:47
zuljamespage:  http://paste.ubuntu.com/5646390/13:49
jamespagezul, its still in pip-requires13:49
zuljamespage:  yeah13:49
zuljamespage:  lemme bug ttx13:50
jamespagezul, thats not really 'dropping the dependency' is it :-)13:50
zuljamespage:  right13:50
zulttx: ^^^13:50
ttxo/13:51
ttxzul: rtslib still in pip-requires ?13:52
ttxawesome13:52
zulttx: looks like it13:52
ttxzul: care to file a bug ? I'll make sure jgriffith sees it13:52
zulttx: just checked the git tree and its not in  the tools/pip-required13:53
zuler...tools/pip-requires13:53
zulhttps://github.com/openstack/cinder/blob/master/tools/pip-requires13:54
ttxzul: it's in the milstone-proposed branch though13:54
ttxI suspect half backport13:54
zulttx: it is13:54
ttxhttps://github.com/openstack/cinder/blob/milestone-proposed/tools/pip-requires13:54
zulttx: ill file a bug13:55
ttxMissing backport for https://github.com/openstack/cinder/commit/7bb449aa5a0a069cc6df918acc33bf550fbd583413:55
jamespagezul, I've +1'ed that MP13:56
jamespageguess we can fix this up with rc313:56
zulyep yep13:56
zulill get it fixed upstream13:56
zulttx: https://bugs.launchpad.net/cinder/+bug/115979813:58
uvirtbotLaunchpad bug 1159798 in cinder "rc2 still depends on rtslib." [Undecided,New]13:58
zulttx: you just cherry-pick that git hash right?13:59
ttxyeah, but would like to make sure there are no other leftovers14:00
zulttx: ack14:00
=== ahs3` is now known as ahs3
=== MikaT_ is now known as MikaT
zulhallyn_:  im going to backport that libvirt-lxc bug today14:09
hallyn_zul: which one is that?14:10
zulhallyn_:  the one that shutsdown the hose14:10
hallyn_oh yeah14:11
RoyKzul: backporting a bug or bugfix? ;)14:14
zulRoyK: bug fix14:14
* RoyK thought perhaps it was a wee bit counterproductive to backport a bug14:15
RoyKzul: what bug, btw?14:15
zulRoyK:  lxc container can shut down the host due to a bug in libvirt14:16
RoyKouch14:16
hallyn_zul: but really if /dev is shared between host and guest that's a setup bug anyway14:18
RoyKdoesn's sound very secure to me14:20
hallyn_and since we don't have a /dev/initctl, i'm not sure it actually affects us...  or maybe i'm misremembering the details of the bug14:20
=== wedgwoodz is now known as wedgwood_away
zulhallyn_:  anyways im building the fix now, do you want to have a look at the debdiff after?14:37
=== matsubara is now known as matsubara-lunch
zulhallyn_:  http://paste.ubuntu.com/5646549/14:52
=== kirkland` is now known as kirkland
Goranek /query skofo15:19
Goraneksorry15:19
zulhallyn_:  alright uploading15:26
hallyn_zul: looking :)15:26
hallyn_zul: misspelled containers int he changelog fwiw15:27
hallyn_zul: the fix is kinda silly really.  it doesn't stop the container from shutting down the host int hat case, it only tries to stop 'virsh shutdown' fromdoing it15:29
zulhallyn_:  yeah i know15:30
hallyn_but i gues the devcg stops that15:30
hallyn_but <shrug> looks good, thx :)15:32
=== Ursinha-afk is now known as Ursinha
hallyn_stgraber: what do you make of bug 1159817 ?15:39
uvirtbotLaunchpad bug 1159817 in lxc "python module lxc failed to import on ARM with: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb5 in position 0: invalid start byte" [Undecided,New] https://launchpad.net/bugs/115981715:39
stgraberhallyn_: I'm looking at it now15:39
stgraberhallyn_: I first thought of some pyc corruption as I've already seen that on arm, but I can reproduce it here...15:40
ScottKI'd have guessed a bytes/string issue.15:40
=== matsubara-lunch is now known as matsubara
stgraberScottK: so my guess is that it's blowing up on my firstname ;)15:42
stgraberbut I can't explain why it does that on armhf and not on x8615:43
ScottKThat is odd.15:43
stgraberhmm, actually, no, it's the C module that's failing to import15:43
stgraberpython3 -c "import _lxc"15:44
stgraberhmm, I really can't find anything that'd explain thi in the code... let me try a rebuild on my panda, maybe we can just blame cosmic rays15:50
hallyn_in buildds are those build with cross compiler, or natively?  i'm assuming natively?15:52
ScottKNative.15:53
stgrabercorrupted binaries aren't completely unheard of on armhf, so there's a reasonably good chance that a rebuild will fix it15:59
stgraberespecially as ~alpha3 worked fine on armhf and I only added one function to the python binding which isn't even called on import...16:00
hallyn_that is...  disconcerting.16:02
hallyn_(the inherent unreliability, that is)16:02
cariboujamespage: howdy, remember last week my query about changing Suggest to Depends on nova-novncproxy16:07
cariboujamespage: looks like it triggered something bigger but then I sorta lost track of your discussion (i.e. in-flight SRU, security fixes etc)16:07
=== plars_ is now known as plars
jamespagezul, hmm - I think I have a regression in libvirt with regards to live-migration with attached ceph rbd volumes16:25
jamespageappears to work OK with the 0.9.x we had in folsom CA - but not so happy in 1.0.x (I held it back in staging whilst I checked stuff in proposed)16:25
=== mahmoh1 is now known as mahmoh
=== exekias_ is now known as exekias
boedyHi17:21
boedyI just rented a vps server and transfered my website to it.17:23
boedyI have the feeling curl and wget are not working properly17:24
boedywhen I do a request to the facebook api. I only get partial results17:24
boedyif I run it via a proxy server I get the correct results17:25
boedyIs this a problem with the server or the source I'm fetching the data from?17:26
DatzHi. I'm wondering how to tell whether my server needs a restart after certain updates: Can't find anything really definitive here: http://ubuntuforums.org/archive/index.php/t-1012637.html17:46
DatzDoesn't look like there would be any cause for a restart, only thing I'm wondering about is why: "linux-headers-server linux-image-server" was updated..17:47
Datzif no new kernel17:48
sarnoldDatz: it's unfortunately difficult to tell when a machine needs to be restarted to apply updates -- running services will usually keep old versions of libraries loaded, for example17:50
Datzah. I see. That's what the post seemed to indicated. It would be nice if the GUI program to tell whether a restart was needed would be available for server.17:51
DatzThanks anyhow sarnold17:51
sarnoldDatz: for libc updates, there is some magic to restart long-lived services, but not everyhting will be restarted. a reboot is the easiest way to get the new code rnning everywhere. but, of course, not all problems are so horrible that the machine needs tobe restarted to fix it -- eventually is Good Enough.17:51
Datzyea, I'm going to go with the eventual method this time :)17:51
sarnoldDatz: for kernel updates, it does say "please restart". I think I've seen non-kernel updates trigger that too, but I can't recall how to make it happen :) so perhaps I'm mistaken.17:52
Datzhumm, never noticed that. WHere would it say this?17:52
Datzafter installation I'm guessing..17:53
sarnoldDatz: I've only seen it on the happy gui updater. Dunno about servers.. that's a different ball of wax. :)17:55
Datzoh I got ya. Thanks. ;)17:55
stgraberhallyn_: so much for cosmic rays... a no change rebuild didn't fix it, so I'm now wondering what I broke in the python binding of liblxc or what changed in python that broke it :)17:58
hallyn_hm17:58
hallyn_if you install the old pkg and just copy liblxc.so.0.whatever over from the broken pkg, does that break?17:59
stgrabergood question. I'll grab the alpha3 and test some combinations of liblxc+the binding module17:59
stgraberI was almost worried we woudln't have a critical bug to fix for the final 0.9 ;)18:00
* hallyn_ trying to figure out why his pkg gives him empty ARCH in18:00
hallyn_/usr/bin/make -C /home/serge/z/sparc-cross-toolchain-base-1.101ubuntu1/linux-source-3.8.0 O=/home/serge/z/sparc-cross-toolchain-base-1.101ubuntu1/linux-source-3.8.0/debian/tmp-headers KERNELVERSION=3.8.0-14 INSTALL_HDR_PATH=/home/serge/z/sparc-cross-toolchain-base-1.101ubuntu1/linux-source-3.8.0/debian/tmp-headers/install SHELL="/bin/bash -e" ARCH=18:00
hallyn_stgraber: perish the thought :)18:00
hallyn_oooh, i think i see18:01
stgraberhallyn_: new liblxc + old python binding => works18:15
stgraberhallyn_: other way around doesn't but I'm using some new symbols so that was expected... I'll try to bisect my python binding changes18:16
=== Screedo_ is now known as Screedo
timmohelp! files are copying at 100KB/s disk to disk19:04
sarnoldtimmo: is that hundreds of thousands of little tiny files? has either filesystem been filled completely to capacity in the past? are there any errors in dmesg? ...19:08
timmosarnold: each drive tested is less than 10% capacity most are freshly formatted ext4, sped is for both ntfs to ext4 and ext4 to ext4, dmesg show nmdb respawning but the rest looks fine19:10
timmosarnold: hdparm shows all disks running @ udma 6 and buffered read speeds over 90MB/s19:12
sarnoldtimmo: somewhere along the way, the default IO scheduler changed from cfq to deadline -- or the other way around, I forget details -- you might want to try changing the scheduler used via /sys/devices/*/*/ata*/host*/*/*/block/*/queue/scheduler files  (ugh, hate that path. just type find /sys -name scheduler ...)19:14
sarnoldtimmo: I've heard some complaints from people with the new scheduler with their workloads. it might be worth cargo-cult changing it :)19:15
timmosarnold: /sys/devices/pci..../block/sdc/queue/scheduler is noop [deadline] cfq19:19
sarnoldtimmo: oooh! hey, /sys/block/ has symlinks that are way friendlier. :) /sys/block/sdc/queue/scheduler ought to work too, just with less annoyance.19:21
sarnoldtimmo: from a root shell (e.g., sudo -s)  'echo cfq > /sys/block/sdc/queue/scheduler' -- and re-test..19:21
timmosarnold: still at 100KB/s19:23
sarnoldtimmo: damn. sorry for the rabbit-hole.19:23
timmosarnold: no worries, thanks for the thought19:24
timmocan't believe I didn't check but copying to IDE boot drive is normal speed, all SATA slow on PCI-x controller19:26
=== NomadJim_ is now known as NomadJim
sarnoldtimmo: woah, odd. but at least you've got something to look for..19:41
=== Guest96040 is now known as alamar
=== Bilge- is now known as Bilge
=== ndngvr is now known as ndngvr`
=== jamick_ is now known as jamick
Dulcinhi20:14
DulcinI'm running the percona wizard for mysql my.cnf (https://tools.percona.com/wizard) and it asks which version of mysql I'm running (enterprise, community, percona, maria, other). However, is it possible that I have the 'ubuntu' version of mysql? Because looking up the version I can not determine wether I have the enterprise or community version... community sounds likely but it doesn't state so when i run mysql or look up the version in the20:15
Dulcin database20:15
DulcinSo maybe I should choose other? Or is community the one I want anyway?20:15
koolhead17hallyn_, around20:16
hallyn_yeah20:16
=== cloakable_ is now known as cloakable
=== jerrad is now known as Underbyte
sliddjurWhat happens when a users logs out or loses connection? What should I look into if I want to execute a script each time a user does either of those?22:18
=== hazmat` is now known as hazmat
sarnoldsliddjur: that's some .. old and cranky code, involving process groups, sessions, and soforth. Advanced Programming in the Unix Environment is the best description of all those APIs, though the 'setpgrp', 'tcsetpgrp', and 'setsid' manpages do a decent job...22:23
sarnoldsliddjur: you might be able to just use pam_exec to do what you want, but I wouldn't be surprised if there were conditions that it doesn't handle perfectly.22:23
stgraberhallyn_: so it looks like the problem with python3 on armhf is related to the new get_version function22:25
stgraber(I did a test build with just the new get_config_path and it's fine)22:27
hallyn_stgraber: oh, our get_version, not the python one :)23:17
stgraberhallyn_: right23:21
hallyn__?  why _?  hm23:22
=== hallyn_ is now known as hallyn
hallynstgraber: got any idea what it might be?23:25
hallyni susepct it's another header include snafu23:30
hallynnote there is version.h in both src/ and src/lxc/23:31
stgraberhallyn: I'm not sure yet, I'm busy with other things at the moment :( I tried a very quick check in C and it worked (using get_version from lxccontainers.h), so it may be some python weirdness.23:34
hallynstgraber: ok23:35
hallyn(i'm going to play around later, but dinner first)23:36
hallynlol, forgot this was on arm23:38
stgraberhaha, yeah, it's armhf only, would be way too easy to debug otherwise23:41

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