/srv/irclogs.ubuntu.com/2015/01/07/#ubuntu-server.txt

heydrickare the S3 regional mirrors recommended for general use?00:14
heydrickit's unclear if the mirrors mentioned at http://cloud.ubuntu.com/2012/01/regional-s3-backed-ec2-mirrors-available-for-testing/ are still considered "testing"00:14
sarnoldheydrick: they probably make more sense for people who are using AWS services than general users00:15
sarnoldheydrick: .. and once in a while, those s3 mirrors go out of sync, and even though they're often spotted quickly, it seems to take a few hours to fix00:16
sarnoldheydrick: .. in those few hours, they might be taken out of the more general archive DNS rotation, but if you're using them specifically, every once in a while you'll need to change from east to west, or vice-versa, at least for a few hours.00:17
justizinguys i'm trying to deal with a script that fails when run as part of automation because apt wants to ask some questions, what's the easiest way to prefill those? i know about using debconf, e.g. the way the oracle jvm license is accepted and whatnot, just not sure the easiest way to figure out what the settings are called for the questions i'm asked00:19
justizincan i record the output of an interactive session where i answer the q's ?00:19
sarnoldjustizin: if it is apt asking the questions, apt-get -y ... ought to do it00:21
sarnoldjustizin: apt-get -y --force-yes if you've read the warning in the manpage :)00:21
justizinsome questions don't have a 'yes' answer ;)00:21
justizini'm doing -y --force-yes00:21
sarnoldjustizin: if it is debconf then you'll have to look at dpkg-preconfigure, I think00:21
justizingotcha00:22
justizinthat does sound like what i'm looking for, thanks sarnold !00:22
heydricksarnold: thanks. this is for EC2 clients. i'll give it a spin00:22
sarnoldheydrick: I'm curious how much that'll save on transit costs.. it feels like it'll add up, over time, to enough to make it worth doing :)00:24
heydricksarnold: EC2 inbound transfer is free so there's no real cost benefit but it should speed up package updates00:38
sarnoldheydrick: ahh, I hadn't realized inbound was -free-00:39
heydricksarnold: yeah, it's nice. if the s3 mirror is still slow I can always put a cache in front of it00:40
sarnoldheydrick: good idea, squid-deb-proxy seemed to speed things up for me quite a bit, even when it doesn't actually provide any cache hits :)00:41
heydricksarnold: i've had good luck with both squid-deb-proxy and apt-cacher-ng before. helps to crank up the cache size limits00:42
sarnoldheydrick: I really liked apt-cacher-ng until I lost half a day debugging why no packages would install correctly.. hash sum mismatches all over the place :(00:48
* maxb seconds that about apt-cacher-ng01:00
maxbThough to be fair, it seems to screw up less than approx01:00
hallyndefinately still pays off fo rme here01:07
=== masACC is now known as maswn
=== maswn is now known as maswan
=== markthomas is now known as markthomas|away
=== zz_DenBeiren is now known as DenBeiren
=== negronjl is now known as negronjl-afk
justizinhm, you guys, so -y --force-yes somehow seemed to work earlier, but i must have done something manually.  the question it's refusing to silence is about automatically restarting services for libc upgrade02:55
sarnoldjustizin: I wonder if the unattended upgrades contraption handles that better / differently -- and if you can use it to do what you're trying to do02:56
justizinwell, it seems to pull a newer libc when i ask it to install libvirt-bin02:58
justizini'm not actually trying to automate updates02:58
justizinah.. ahhh.. (facepalm)02:59
justizini mean it's basically the same, but i didn't notice this is a debian box lol02:59
justizini was like wtf is jessie.box or whatevs02:59
sarnoldheh :)02:59
justizinyeah this explains a lot..02:59
justizini'm going to try this against trusty ;)02:59
justizinboosh! and on ubuntu, it works fine :-P03:07
justizinno idea why these guys ditched ubuntu, whatever03:08
justizinboy it really builds faster, i'm sure debian "trims" a bunch of shit you need when you want lxc and libvirt and all that03:10
hallynjdstrand: good evening -y ou were just paged in bug 1004606 :)  though the commit seems questinable since i assume 'deny' just means "be quiet about the fact that you were denying"03:34
uvirtbotLaunchpad bug 1004606 in libvirt "virsh create-snapshot fails to create external snapshot (blockdev-snapshot-sync fails in json monitor)" [Medium,Triaged] https://launchpad.net/bugs/100460603:34
radiushello04:04
radiusI have an lxc on 14.04 question04:04
radiuswhen I create an LVM backed container say with 10gb size04:04
radiusthose 10GB are mounted as /run/shm04:05
radiuswhy is that?04:05
jetsaredimis there an easy way to setup something like a proxy server that would just log all requests?04:26
radiusall web requests?05:19
radiuseasy it depends on your knowledge level05:19
radiusbut I guess squid + lightsquid would do nicely05:20
ryanplylerryan-c:05:50
ryanplylerryan-c: hey05:50
jdzielnyHi everyone.  I'm trying to set up a bunch of ubuntu-based virtual machines which are encrypted with LUKS, but I want them to be able to be autobooted from a command line.  I don't want to store the key on the unencrypted boot partition.  I'm thinking in order to do this I'll configure the initiramfs to ssh into a remote server download a keyfile into a temporary ramdisk which is wiped as soon as the main drive is decrypted,08:14
jdzielnyand I'm hoping to bounce this idea off some knowledgeable people to see what flaws or issues might come up08:14
jdzielnythe remote server doesn't necessarily haveto be far away, it could be a machine on the local network08:15
fiodorhola08:15
jdzielnyhola fiodor08:15
fiodoralguien habla español por aca?08:16
fiodorhola jd08:16
fiodoruna consulta08:16
fiodorcomo cambio de idioma mi server instalado?08:17
fiodorgracias08:17
jdzielnysorry fiodor olvide me espanol08:18
jdzielnyenglish08:18
jdzielnybrb08:20
fiodorok08:20
fiodoras language change my server08:21
fiodorhow to change language my server?08:22
jdzielnywhich version?08:23
jdzielnyfiodor, ubuntu server 14.04?08:26
=== mist_ is now known as mist
fiodorTrusty Tahr08:28
fiodoryes08:28
fiodortrusty tahr08:28
jdzielnyhttp://www.thomas-krenn.com/en/wiki/Configure_Locales_in_Ubuntu  <-- for 11.10, probably similar on 14.0408:31
fiodorok thank you08:33
lordievaderGood morning.08:48
=== mfisch is now known as Guest12671
=== Lcawte|Away is now known as Lcawte
=== Lcawte is now known as Lcawte|Away
=== MasterPieceF is now known as MasterPiece
Quoexlanyone alive in here cause I got questions10:33
rbasak!ask | Quoexl10:35
ubottuQuoexl: Please don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience10:35
QuoexlI was checking to see if the person with the question was still here to receive the answer, thank you very much10:36
=== lamont` is now known as lamont
=== Lcawte|Away is now known as Lcawte
pmatulisQuoexl: yes, you appear to still be here11:08
Quoexlyup, I are, still muddling with apache openmeeting11:10
Quoexlwaiting of ffmpeg to compile once again, sippin whiskey and reading about litecoins11:11
Quoexlwhat are you doing up at this nasty time of day?11:12
pmatulisjust woke up to be honest (to a blanket of fresh snow)11:20
Quoexlyuck snow, you keep it11:23
Ergohello, whats the proper way to increase ulimits for containers and processes started by supervisord?11:28
=== Lcawte is now known as Lcawte|Away
=== Lcawte|Away is now known as Lcawte
=== frankban__ is now known as frankban
=== Lcawte is now known as Lcawte|Away
jetsaredimanyone in here have experience with setting up squid?12:50
jpdsIt's fairly simple to configure.12:51
pmatulisjetsaredim: what's your question?12:52
jetsaredimI'm trying to set it up as a standalone such that I can have it just log all access requests from any system that passes through it12:52
jetsaredimjust changed the http_access to allow all12:53
jetsaredimbut when I watch the log I'm not seeing any traffic even after I updated the client to use proxy12:54
jetsaredimjpds pmatulis: thoughts?13:03
jpdsjetsaredim: Well, can the machine see the port being open?13:03
jetsaredimcrap - that must be it13:04
jetsaredimi'm trying to log all traffic to a genymotion android VM and for some reason the network keeps getting reset to host-only instead of bridged13:05
jpdsAlways start with the basics.13:09
jetsaredimnope - i got it13:09
=== Lcawte|Away is now known as Lcawte
zulcoreycb: did someone merge trove and cinder for you?13:36
coreycbzul, trove was merged. cinder still needs review.14:05
zulcoreycb:  k gimme a sec14:06
=== bilde2910|away is now known as bilde2910
=== negronjl-afk is now known as negronjl
negronjlalway14:33
=== Guest12671 is now known as mfisch
=== wickedpuppy2 is now known as wickedpuppy
jamespagecoreycb, sahara in the queue15:22
jamespagecoreycb, do you want me to look at horizon? even if pint is not yet in main, I can build and test and upload anyway15:23
jamespageit will then appear on component-mismatches15:23
=== r0flcopter_ is now known as r0flcopter
coreycbjamespage, sure if that's ok - btw I'm making a few tweaks to pint to get more tests to run, etc15:23
jamespagecoreycb, awesome15:23
=== Lcawte is now known as Lcawte|Away
GeekDudeMy server is no longer responding to ssh or ping, but I can still ping out from the server (using a keyboard and screen), as well as use wget15:31
GeekDudeI don't recall making any configuration changes on the server, but I did enable multicast on the router recently15:32
lordievaderGeekDude: Firewall?15:45
GeekDudeI'm not competent enough to be sure15:45
GeekDudeI'm awful with ufw15:46
GeekDudeWould the firewall just automatically block incoming connections for no apparent reason?15:46
lordievaderIf it is set to do that, yes.15:46
=== vvassilev_ is now known as vvassilev
coreycbjamespage, zul: can one of you review these python-pint updates?  https://code.launchpad.net/~corey.bryant/ubuntu/vivid/python-pint/0.6/+merge/24575515:53
=== Lcawte|Away is now known as Lcawte
=== markthomas|away is now known as markthomas
=== martins-afk is now known as martinst
=== klaas_ is now known as klaas
=== Lcawte is now known as Lcawte|Away
GeekDudelordievader: I think I've just done something very stupid19:53
GeekDudeThe machine just got a new IP address, it's not having strange firewall issues at all19:53
=== bilde2910 is now known as bilde2910|away
=== Bilge- is now known as Bilge
=== markthomas_ is now known as markthomas
=== bilde2910|away is now known as bilde2910
=== bilde2910 is now known as bilde2910|away
=== Lcawte|Away is now known as Lcawte
=== martinst is now known as martins-afk
farwayhow can I determin why „apt-get remove nginx“ would neither uninstall the binary nor the startupscript?22:04
farwayit tells that it will uninstall, and after that if i call it another time it tells me that it is not installed anymore, while it clearly still exists22:05
cryptodancan you do an updatedb then a locate on nginx?22:09
farwaycyphermox: before the updatedb ‚locate‘  showed ‚locate: can not stat () `/var/lib/mlocate/mlocate.db': No such file or directory’  now it list all corredponding files22:13
cyphermoxhum, hello ;)22:14
cryptodandoes nginx show up?22:14
farwaycyphermox: after updatedb it list nginx22:15
cryptodanfarway: then you had two instances22:16
cyphermoxwhat you likely want to remove if you want to get rid of the nginx binary from /usr/sbin is the nginx-core package22:17
farwaythats strang, well I didn’t install it initially. So i don’t knwo if the one how did messed up with the installation22:18
cyphermox(or nginx-full, or nginx-light)22:18
cyphermoxthe nginx package just depends on one of these to provide the binary, it doesn't provide anything by itself22:19
cyphermoxfwiw, the init script is in nginx-common, so you'll probably want to remove that, too22:22
farwaycyphermox: ok now it seems to work. A last question, you said there  where two instances? I don’t see any sign why there should haven been two, there is no entry in the source.list or somehwere else. Is that an indication that the one who installed nginx tried to install it e.g. by hand or from another source and did not correctly clean up later?22:27
cyphermoxI didn't say there were two instances, cryptodan did22:33
cyphermoxif you updatedb and run locate again, you might not see nginx files anymore22:34
=== martins-afk is now known as martinst
=== martinst is now known as martins-afk
Voyageany help with openvpn issue. http://pastebin.com/ntfBaBk323:16
collizionVoyage: I'm fairly good with openvpn.23:24
Voyagecollizion,  hm. so what do you think is wrong?23:26
collizionVoyage: First, is the server configured for NAT? Second, does the VPN network (10.8.0.0) conflict with a private network on either side?23:27
Voyagethe ip route will tell a lot23:27
Voyageits in the paste23:28
Voyagegive ma  a sec23:28
Voyagecollizion,  i did this :  iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o venet0:0 -j SNAT --to 168.235.66.4323:29
Voyagecollizion,  you there?23:30
collizionVoyage: I am, yes. Try removing the -o portion of your iptables rule.23:31
Voyage-o portion23:31
Voyageon server. ifconfig says venet0:0  Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-0023:32
Voyage          inet addr:168.235.66.4323:32
Voyageso should I just type      iptables -t nat -A POSTROUTING -s 10.8.0.0/24  -j SNAT --to 168.235.66.43         ?23:32
collizionTry that.23:33
Voyageok. be right back. disconnection is expected23:34
=== marcoceppi_ is now known as marcoceppi
sdeHey guys, any recommendations for a good daemon that can restart services on failure with some logging?23:36
sdeLooking at upstart right now and in the midst of reading but looks like its an init replacement?23:36
Voyagecollizion,  should I do iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -j MASQUERADE now?23:37
sarnoldsde: check out daemontools23:38
sdelooks like monit might be a better choice23:40
sarnoldcould be, djb is Opinionated23:41
sarnoldwhich works fine if you share his opinions :)23:41
Voyage_your last command worked collizion  and I am now talking via server23:42
Voyage_Thanks!23:42
=== Lcawte is now known as Lcawte|Away
sdesarnold, thanks, sticking with monit for now, looks like digital ocean favors this as well23:45

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