/srv/irclogs.ubuntu.com/2012/12/04/#ubuntu-server.txt

=== Ursinha-afk is now known as Ursinha
=== Ursinha is now known as Ursinha-afk
webfoxCould someone help me reduce and keep it reduced after boot the console fonts please ?00:52
=== fission6_ is now known as fission6
hallynstgraber: trying out your daily lxc build.  lxc-ls doesn't work :(01:08
halvorsJanC: No i know that. I'm sending outgoing SMTP traffic from my server via the ISP's relay. What's the problem is that i cannot connect, authenticate and send from it. I use the mail-stack-delivery package :) The host is s1.halvors.org telneting it on port 25 works just fine :)01:20
stgraberhallyn: how so?01:23
stgraberhallyn: it's still the old upstream shell version as my python implementation hasn't been acked yet :)01:24
webfoxCould someone help me reduce and keep it reduced after boot the console fonts please ?01:24
=== n0ts_off is now known as n0ts
hallynstgraber: it doesnt' show running containers :(01:42
hallynwere there objections to the python version?01:42
hallynall right lemme review right now :)01:43
stgraberhallyn: the only objection was about removing the shell version which I'll try to avoid doing (by adding some magic installing the python versions when possible and otherwise falling back to shell)01:46
=== cpg is now known as cpg|away
stgraberhallyn: lxc-ls --active is what you want I believe01:46
stgraberhallyn: upstream's lxc-ls doesn't give you the same output as Debian's01:46
hallynstgraber: no --active gave me junk01:52
qman__smw, thanks, that's what I was looking for01:55
=== n0ts is now known as n0ts_off
=== fenris is now known as Guest76064
=== Guest76064 is now known as ejat
=== n0ts_off is now known as n0ts
TheOnionRackI've just installed Ubuntu 12.10 Server onto my VPS, and I've found that it's running Apache2 and Samba out of the box. Is that really the default behaviour, or is that something that my VPS provider has done to their VM image? It seems really odd to me that Ubuntu would ship the server with those services preinstalled and already running.02:37
sarnoldTheOnionRack: that'd be something your VPS did for you02:38
JanCit's not the default02:38
TheOnionRackI thought that02:38
TheOnionRackI wonder what else they've changed02:38
sarnoldhttps://wiki.ubuntu.com/Security/Features#ports02:38
JanCalso, running Samba by default on a public VPS sounds stupid...02:39
sarnold++02:39
TheOnionRackYeah. That's what I thought. It has home shares set to read only by default :O02:39
sarnoldmaybe they're selling "pre-made cloud for you and your windows friends!" or something, but it seems strange...02:41
sarnoldI'd expect OpenSSH, because it's the easiest way to make anything else work :) but that's it.02:41
TheOnionRackIt has openssh running out of the box along with bind02:42
JanCcertainly nothing else should listen externally02:42
TheOnionRackbut it's not marketed as a cloud VPS, it's just bog-standard VPS02:42
JanCis samba actually configured to listen publicly?02:44
TheOnionRackyeah02:44
TheOnionRackyou can mount \\vps.example.com\username and browse that user's homeshare (read only)02:45
TheOnionRackacross the internet02:45
TheOnionRackIt's kinda mindblowing02:45
=== n0ts is now known as n0ts_off
JanCI wonder why ISPs insist on changing distro images at all...02:47
JanCexcept maybe if something is needed for the hardware or such02:47
sarnoldJanC: that's almost a sign that they need better hardware :)02:48
sarnoldTheOnionRack: very yikes,02:48
sarnoldTheOnionRack: if it were tied to _your_ IP that'd be a little less scary02:48
=== n0ts_off is now known as n0ts
sarnoldbut I'd be reluctant to ever use a mahcine that'd run samba on a public-facing IP -- I'm not sure I'd ever trust it to not be pre-rooted.02:49
=== n0ts is now known as n0ts_off
pndemcIs there a way to wget an entire directory and all of its contents?03:12
sarnoldpndemc: --mirror --no-parent is probably what you're after03:15
pndemcsarnold, that looks for an index.html, I just have a bunch of files in the folder that I need it to download03:20
sarnoldpndemc: how else would the client discover the names of the files to request?03:22
pndemcthey are not being hidden, simple accessing the directory should reveal the contents03:22
pndemcit does in the browser03:23
sarnoldand your webserver does not automatically generate a directory listing?03:23
pndemcit does03:23
pndemcwget is not picking up on it I guess though03:23
sarnoldhrm. I've nevre had a problem with wget --mirror --no-parent http://server/path/to/foo/ -- where there was no index.html, but the server generated one for me...03:23
sarnoldnormally apache generates six different stupid views, and wget will download all six of them, it feels like an utter waste of time :)03:24
pndemcsarnold, "domain.com/downloads/tf: No such file or directorydomain.com/downloads/tf/index.html: No such file or directory03:26
pndemc"03:26
pndemcsarnold, as you can see it's looking specificly for index.html03:26
sarnoldpndemc: how about domain.com/downloads/tf/   ?03:30
sarnold(trailing slash)03:30
pndemcsarnold, same error03:35
sarnoldpndemc: no kidding :(03:39
ekajI installed the KDE desktop on ubuntu server, and I can't figure out how to run Dolphin as root - does anyone have any suggestions?03:46
sarnoldekaj: sudo dolphin  ?03:50
=== cpg|away is now known as cpg
ekajAh sorry, it threw errors so I assumed it didn't work, but it did03:52
sarnolda great many kde programs spew a giant pile of debugging information to standard out or standard error, but continue to work just fine...03:53
sarnoldI find it uesful to run the 'first' KDE program in a terminal window, then minimize that terminal, and run everything else from another terminal -- the messages all come from the first one (which starts the kdeinit process)03:53
=== n0ts_off is now known as n0ts
ScottKIf ekaj comes back, tell him Dolphin wasn't designed to run as root.  If he wants to run a KDE based GUI file manager as root, he should use Krusader.05:01
sarnoldthanks ScottK :)05:02
=== ibiris|afk is now known as ibiris
=== fenris is now known as Guest52458
=== cpg is now known as cpg|away
=== cpg|away is now known as cpg
jamespagemorning all07:50
philipballewis running ksplise on my home server a bad idea?07:55
philipballewby bad idea I mean, is it gonna mess up my system?07:55
sarnoldphilipballew: what's ksplise?08:01
philipballewsarnold, http://www.ksplice.com/08:03
sarnoldwoah, this things still around?08:03
philipballewsarnold, apparently08:05
=== Psi-Jack_ is now known as Psi-Jack
=== mcclurmc is now known as mcclurmc_away
ilivhi10:36
ilivI need to run apt-get -s dist-upgrade on hardy for scripting purporses over ssh, but it wants me to do it via sudo10:37
ilivprecise, for example, doesn't care about sudo and let's you run apt-get/aptitude10:37
ilivI'd like to be able to do the same with hardy10:38
ilivany ideas how?10:38
Jeeves_visudo NOPASSWD10:38
=== mcclurmc_away is now known as mcclurmc
=== Guest3774 is now known as Tm_Tr
=== n0ts is now known as n0ts_off
ilivJeeves_, the point is, precise doesn't care about sudo at all. You could just run apt-get -s dist-upgrade10:48
ilivI don't like your suggestion because it means writing code for just one host10:48
ilivI've got mostly precise servers10:49
Jeeves_iliv: It's your call. I just gave you a suggestion10:58
ilivJeeves_, right11:05
=== psivaa is now known as psivaa_lunch
=== cpg is now known as cpg|away
uvirtbotNew bug: #1086244 in lxc (universe) "lxc-stop on precise:  'phys' interface does not come back after lxc-stop" [Undecided,New] https://launchpad.net/bugs/108624412:20
uvirtbotNew bug: #1086328 in php5 (main) "package php5-common 5.4.6-1ubuntu1.1 failed to install/upgrade: package php5-common is already installed and configured" [Undecided,New] https://launchpad.net/bugs/108632812:20
uvirtbotNew bug: #1079002 in cloud-init "Sudoers writing broken when string" [Medium,Fix committed] https://launchpad.net/bugs/107900212:21
=== psivaa_lunch is now known as psivaa
=== Ursinha-afk is now known as Ursinha
=== n0ts_off is now known as n0ts
=== yofel_ is now known as yofel
=== marrusl_ is now known as marrusl
=== Psi-Jack_ is now known as Psi-Jack
=== LordOfTime is now known as TheLordOfTime
=== n0ts is now known as n0ts_off
roaksoaxjamespage: howdy14:40
jamespagehey roaksoax14:40
roaksoaxjamespage: so looking at the quantum-gateway charm14:40
roaksoaxjamespage: we only need HA when using OVS then?14:40
roaksoaxjamespage: or in all cases?14:41
jamespageroaksoax, hmm14:41
jamespageroaksoax, that charm may only be required when using the ovs plugin14:41
roaksoaxjamespage: right, since I see that charm installs different packages for OVS and NVP14:41
jamespageroaksoax, however as I've not actually worked with any of the other plugins as yet14:41
jamespageI'm not 100% certain14:42
yolandajamespage, zul, is the merge proposal i have pending for Quantum very urgent? quite busy today....14:42
jamespageroaksoax, that may be fud14:42
roaksoaxjamespage: right, so: utils.install(*qutils.GATEWAY_PKGS[PLUGIN])14:42
roaksoaxthe OVS plugin is the one that install the l3-agent and dhcp-agent14:42
zulyolanda: nah14:42
jamespageroaksoax, yes; the nvp one is not populated because I simply don't know yet14:43
jamespageneed to RTFM14:43
yolandaok14:43
roaksoaxjamespage: alright, my questions was based on the fact that in the ha-relation-joined we don't need to send cluster data if the plugin is not OVS14:44
jamespageroaksoax, right now - yes14:45
roaksoaxjamespage: ack!14:46
=== n0ts_off is now known as n0ts
jamespageDaviey,  * radosgw: openstack keystone integration14:53
jamespagemade it into ceph 0.5514:53
jamespage0.56 will be the next LTS14:54
hallynkirkland: you have a kill-a-watt or somesuch right?  What do you measure as the difference in draw in a normal laptop when idle and doing a package upgrade?15:35
hallynstgraber: I'm goign to push the two patches from yesterday (rsync -H) to staging, unless you have a comment?15:36
stgraberhallyn: I must admit I didn't really follow that thread but it looks like everyone agrees now? if so, fine :)15:37
hallynk15:37
zuljamespage: https://code.launchpad.net/~zulcss/nova/nova-testsuite-fix/+merge/13765215:42
=== matsubara is now known as matsubara-lunch
hallynstgraber: have you used lxc.network.type = phys?  I'm a little surprised lxc hasn't been renaming the nic on shutdown all this time...15:52
stgraberhallyn: nope, never used it. I actually started working on adding network devices support to lxc-device yesterday, though for lxc-device, there's no way the name can be restored on container exit...15:55
hallynok, just testing to see if my naive lazy attempt at renaming works15:58
stgraberhallyn: I think that at some point I'll want the equivalent of lxc-device in the API so that lxc can do the right thing on shutdown (at least for network devices), but it's not really a priority16:09
stgraberhallyn: basically having some call to pass a new network device from the host to the container, renaming it in the process and adding it to the list of interfaces to rename back on shutdown16:09
tgm4883What is the best way to add iscsi storage to libvirt?16:12
tgm4883There doesn't seem to be any good docs on it and it fails in virt-manager16:12
=== gary_poster is now known as gary_poster|away
stgraberhallyn: hey, so I've been looking at your patch for the loglevel stuff. Is it me misreading or are you always doing lxc_log_priority_to_string() on the value, even though config_loglevel supports both strings and digits?16:21
hallynstgraber: i store an int in the conf16:22
hallynconfig_loglevel, if i didn't mess up, shoudl store an int16:22
stgraberhallyn: oh, I see c->loglevel is an int and config_loglevel requires a char*16:24
stgraberok, makes sense, I'll ack it :)16:25
hallynstgraber: suppose i could store the const char* in config...16:25
hallynthanks16:25
* hallyn back to server mtg :)16:25
=== gary_poster|away is now known as gary_poster
uvirtbotNew bug: #1086466 in asterisk (universe) "asterisk 1.8 ringall strategy in queues causes non-answering agents to exit out of Dial() even with 'g' option" [Undecided,New] https://launchpad.net/bugs/108646616:51
ttxsmoser: http://www.cloudbase.it/cloud-init-for-windows-instances/16:53
RoyKoh, does ubuntu support asterisk these days - that's some task ;)16:53
smoseryeah, i just saw that.16:53
smoserapiolitti asked me if i'd accept windows patches.16:53
RoyKwindows?16:55
RoyKoh, there's a windows version of * now, it seems16:55
RoyKmust be wonderful16:56
RoyKmixing the spaghetti code of asterisk with windows - two negatives must make a positive, right? http://karlsbakk.net/fun/asterisk-installation.wav16:56
=== matsubara-lunch is now known as matsubara
stgraberhallyn: submitted the patch to allow shipping "legacy" scripts in lxc17:16
hallynstgraber: cool17:22
hallynstgraber: other than high prio/critical bugs, for now my plan is to push fixes to github and let the fix roll into raring with the next merge17:23
stgraberhallyn: that's what I've been doing for a while. Anyway, we should be getting alpha1 next week, so really not worth the effort of making patches for ubuntu17:28
hallynstgraber: jinkeys, the error paths in lxc_spawn() are pretty messed up.17:46
bjfarosales, you asked about kernel tests using utah? the answer is no.18:37
arosalesbjf: roger that. Thanks for the reply.18:40
bjfarosales, np18:40
bjfarosales, any particular reason for the question?18:40
arosalesit was a follow on comment smb actually had at todays ubuntu-server IRC meeting.18:41
arosalessorr bjf^18:42
=== Ursinha is now known as Ursinha-afk
=== Ursula is now known as Guest43737
=== Ursinha-afk is now known as Ursinha
=== mcclurmc is now known as mcclurmc_away
streulmahello, is there a ppa for PHP 5.3 Daily builds on Ubuntu?19:15
stgraberhallyn: I'm going to trigger a daily of lxc very soon, want your nic renaming patch in there?19:22
stgraberhallyn: I did a quick review and just posted a single question on the list about it19:22
RoyKisn't php 5.3 in upstream?19:22
=== n0ts is now known as n0ts_off
zulhallyn: getting the new qemu to test now19:29
zulhallyn: :( http://pastebin.ubuntu.com/1410947/19:32
=== acidflash_ is now known as acidflash
tdelamHi, I've installed Ubuntu 12.04 LTS server on my server (go figure!) it's been running for a while now and it's merely a web proxy server, it drops connection sporadically ( every few days or weeks ), I can't figure out why. Can anyone recommend a few reasons or things to look for as to why this is happening?19:41
sarnoldtdelam: anything in the proxy logs? anything in dmesg?19:43
tdelamsarnold: no, nothing out of the ordinary19:44
tdelamdmesg was the first place i looked19:45
tdelamtypical stuff that happens on boot19:45
sarnoldtdelam: are there a handful of long-lived connections that die? or dozens or hundreds or thousands of short-lived connections that die?19:47
=== ubuntu is now known as Guest78441
tdelamsarnold: one long-lived one19:53
=== n0ts_off is now known as n0ts
sarnoldtdelam: is there a NAT firewall between the two peers?19:53
tdelamyes, cisco PIX, i've ruled that out being that hundreds would go down if it were that device.19:54
tdelamonce the connection was dropped, I was able to SSH while local and test outgoing connections, those were the not responsive19:54
sarnoldtdelam: how long is that connection idle when the connection dies? Many NAT firewalls impose an inactivity timeout, and it's often very short19:55
sarnoldis it ever idle? sometimes idle? idles for two hours sometimes?19:55
tdelamsarnold: ms, it's a web proxy for an ISP site which has a lot of traffic.19:55
tdelamno, never19:55
sarnolddamn. :D19:55
sarnoldtdelam: any chance that pix has logs around the time the connection drops?19:55
tdelam;) it' very weird.19:55
hallynzul: what the heck?  those were supposed to conflict+replace19:56
tdelamsarnold: there could be, I haven't checked and to be honest that pix is managed by a 3rd party vendor oddly.19:56
tdelami ruled out the pix considering the fact that all others would drop. I could get someone to login to check the logs though19:56
sarnoldtdelam: hrm, thjat's an unfortunate complication, but one that makes a certain amount of sense. (I wouldn't want to manage a cisco machine, I don't have the first clue where to start with them. hehe.)19:57
tdelamits not fun19:57
tdelamif it were hardware dmesg would report it right?19:57
hallynzul: guess i need to add some.  sorry about that.  trying another push19:58
sarnoldtdelam: you could throw tcpdump on one or both peer and try logging the details of the connection .. maybe some simple grep filtering to knock out the most common packets, or some way to save only the most recent ten minutes or ten thousand packets or something. oof.19:58
sarnoldtdelam: probably. check also the /var/log/mcelog -- if you've got the mcelog package installed and and MCE happened, it'll log verbose messages there...19:58
tdelamok20:00
=== n0ts is now known as n0ts_off
zulhallyn: otherwise looks ok20:08
hallynzul: new version pushed (but i'm not convinced it's ok)20:09
hallynzul: ok, thanks.  you just had qemu-kvm installed and did apt-get dist-upgrade?20:09
zulright20:09
hallyn<frown> swear i did that...20:09
hallynok i'll test that once it builds, then if it's ok ask you to try one more time to make sur ei'm not doing something funky20:09
hallynheck, might be easier to just port the source to 1.3 :)20:10
hallynthat'll fix the -z versioning crap too20:10
hallynwhich btw i'm not sure how to handle when p ushign to the archive.  is there a precedent for that?20:10
hallynstgraber: didn't say it in the email, but pushed the physical nic renaming change into staging with your comment fixed, thanks20:17
stgraberhallyn: was just about to ask you if you did :) good20:18
lvmerI've got a kind of annoying question... I'm about 3 weeks into ubuntu-server, & I'm struggling with a 'custom program' install. I'm trying to install & configure minidlna-transcode  alongside: minidlna, imagemagick, & ffmpeg.20:21
lvmerInformation on 'minidlna-transcode' can be found here: https://bitbucket.org/stativ/minidlna-transcode    (for reference)20:22
=== glebihan_ is now known as glebihan
lvmeris there an easy way to page down to your next search term in a 'man' file? or do I just /searchterm   then press f repeatedly to find the highlights myself?20:39
sarnoldlvmer: 'n'20:40
sarnoldlvmer: N will go backwards20:40
sarnoldlvmer: ? will start searching backwards; in that case, n will keep going backwards and N will then go forwards20:41
lvmersarnold: thank you again. :)  it worked perfectly. No more manual hunting xD20:42
lvmerdo you have any advice on installing a custom program or compiling it? like minidlna-transcode? by chance? xD20:42
sarnoldlvmer: normally, you follow the untar, ./configure --prefix=/usr/local ; make ; sudo make install   dance -- you lose the distro packaging, but most things support the autotools ./configure script20:44
lvmeryah he said it supports ./autogen.sh and ./configure & make & make install21:06
lvmerI've just never done it before so I'm a little hesitant on all of it21:07
lvmerI was afk, because I had a firewall protocol warning & had to fix it. xD21:08
=== acidflash_ is now known as acidflash
uvirtbotNew bug: #1086568 in etckeeper (main) "`etckeeper --help` fails with `No manual entry for etceeper` (sic)" [Undecided,New] https://launchpad.net/bugs/108656821:36
=== ibiris is now known as ibiris|afk
jamespageadam_g, I think I've changed my mind about the network-manager config in the nova-compute charm22:00
adam_gjamespage: o rly? :)22:01
adam_gjamespage: you prefer to keep it set as a config option in both places?22:03
jamespageadam_g, I going to sleep on it and take another look tomorrow....22:03
lvmersarnold: no such file:  ./configure22:03
adam_gjamespage: okay. also, did you say there was some discussion somewhere recently about kombu / rabbit HA wrt nova?22:03
=== gary_poster|away is now known as gary_poster
sarnoldlvmer: heh, not all programs supply a ./configure -- you should figure out how to modify the build scripts for your program to install it into a directory of your choosing, so you can install it into /usr/local or ~/local/miniwhatever...22:24
lvmerhttp://paste.kde.org/619832/22:24
lvmersarnold: yah I'm running into an './autogen.sh' problem22:25
lvmerI had to install a bunch of packages: libtool autopoint autoconf automake22:26
sarnoldthat's too bad, quite often the software distributor will do that for you22:26
lvmerthis is a fairly small package or w\e22:27
lvmerfor dlna transcoding with 'minidlna' which happens to be one of the only working dlna's for my tv at the moment. :/22:27
lvmerWhat do you think I am missing?22:27
lvmerI have to install AM_ICONV && AM_GNU_GETTEXT ?22:28
sarnoldlvmer: try installing libc6-dev22:29
lvmeralready installed22:29
lvmer0 upgraded 0 newly installed 0 remove 0 not upgraded22:29
=== cpg|away is now known as cpg
stgraberhallyn: and a bunch more python changes for your review :) making lxc-device a lot more useful and allowing for non-root lxc-ls23:02
hallynstgraber: cool.  one reviewed, other may have to wait.  good ngiht23:15
stgraberhallyn: ok, good night23:15
hallyn(cause the lxc-ls one looks complicated :)23:15
uvirtbotNew bug: #1086598 in tomcat7 (main) "Bad DBCP and JDBC jar, DBCP missing" [Undecided,New] https://launchpad.net/bugs/108659823:15
stgraberhallyn: it's actually much less complicated than the lxc-device one :)23:16
lvmersarnold: still no luck xD  I emailed the creator. Can't find anything on 'm4_pattern_allow' in the configs. :/23:16
stgraberhallyn: just moving code around and changing the loop to only grab the object if absolutely needed23:17
sarnoldlvmer: the solution will be easier than that; it'll proabably just be installing one or another package. I just don't know which one, nor do I know off-hand how to figure out what to install.23:20
lvmersarnold: ah.. well I did try 'autotools-dev' && 'autogen'  but still no luck23:22
sarnoldlvmer: is there no README with good details? :)23:25
lvmerno lol. I asked already :(23:25
sarnoldbe sure to contribute back a README with details on the pakages to install :) the next guy will thank you23:25
lvmerI am already making one23:26
lvmersarnold: :)23:26
sarnoldyay23:26
lvmersarnold: actually lol I did find part of one brb... lmao23:26
=== Psi-Jack_ is now known as Psi-Jack
lvmersarnold: if I have a file:  new.txt    & it contains: sudo apt-get install libexif 12 libjpeg 62 libid3tag 0 libFLAC 8 libvorbis 0a libvorbisenc2 libsqlite3-0 libavformat53 libavformat-extra-53       how do I run said file?23:45
sarnoldlvmer: with those spurious numbers in there your best bet is probably to just copy-and-paste the package names out by hand23:47
lvmerdo I save the file as .sh?23:49
sarnoldlvmer: mv new.txt new.sh23:50
lvmeryah that moves it23:51
lvmerhow do I run the command inside though?23:51
sarnoldlvmer: sh new.sh  or sh new.txt23:53
lvmerbash23:55
lvmerxD got it23:55

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