/srv/irclogs.ubuntu.com/2012/03/02/#ubuntu-server.txt

jetoleHey guys. Don't know if this is off-topic but alis couldn't help me find a more on topic room so I was hoping someone could help me with sudo-ldap. I have some rules that I tested on my server in the local sudoers file and one rule was giving members of the admin access to everything except a cmnd_alias for su and shells and I'm not sure how I should do that via sudo-ldap00:12
twbjetole: alis questions go to #freenode00:14
twbOh, misread00:14
ruben23 guys i ahve a folder/directory with many files on it- dir1 and dir2 are teh same in fromat but dir2 have some few added updates of file in it how do i copy dir2 to dir1 by just ovewriting existing but copy the file whihc dir dont have.>? any idea..?00:15
twbI don't know what you mean by cmnd_alias00:15
twb``Cmnd_Aliases are not really required either since it is possible to have multiple users listed in a sudoRole.  Instead of defining a Cmnd_Alias that is referenced by multiple users, one can create a sudoRole that contains the commands and assign multiple users to it.''00:16
twbThat's what sudoers_ldap says00:16
twbEr, sudoers.ldap(5)00:16
ruben23guys i have a folder/directory with many files on it- dir1 and dir2 are the same in fromat but dir2 have some few added updates of file in it how do i copy dir2 to dir1 by just ovewriting existing but copy the file which dir dont have.>? any idea..?00:16
twbjetole: Here are my sudo objects: http://paste.debian.net/158251/00:17
twbruben23: rsync -aui ?00:18
twbruben23: perhaps with --dry-run00:18
ruben23twb:  rsync -aui /home/dir2 /var/dir1...?00:21
twbruben23: I expect you to use some initiative and investigate the meaning of those rsync options.00:22
jetoletwb: Thanks.00:53
* jetole looks00:53
FireboltI'm trying to install ubuntu server 10.04 lts on a laptop with a broken screen. However, past the menu which prompts me to choose a language/what action to perform, once I select "Install ubuntu server", it stops giving output via VGA01:21
FireboltI know that you can specify the vga kernel option, but I've forgotten how01:22
twbFirebolt: do a network install instead01:22
twbFirebolt: does the laptop have wired ethernet?01:23
Firebolttwb, yes01:23
twbYeah just set it to boot from network, and load up the netboot installer.  Write a preseed script to get it to the point where you can SSH into the installer and finish the install01:23
Fireboltno idea how to do that01:24
twbIt's documented in the installation-guide-i386 (or -amd64) package01:24
twbAlternatively you could try fiddling with vga=false nomodeset and stuff at the start of the installer, where you hit F6 to add extra boot options01:24
Fireboltah01:25
Fireboltwhat would I specify vga= as then?01:25
twbI dunno01:25
twbI don't know how your screen is buggered either01:26
FireboltThe backlight doesn't work01:27
Fireboltclumsy friend01:29
twbIf you can get video working enough, you can start SSH from the normal installer01:30
twbYou pick "expert install" (priority=low) and when prompted for udebs (modules) to install, you make sure to tick "network-console".01:31
twbPassing theme=dark is also good for getting rid of that fugly magenta01:31
Fireboltthe minute the installer starts, I loose the vga01:35
FireboltI tried using vga=XXX, but it doesn't display correctly01:35
twbOh, wait, this is lucid?01:36
twbLucid installer has a bug where you *can't* stop it loading the framebuffer, no matter what, until the install is finished and you boot off the HDD01:36
Fireboltawww01:36
twbit drove me apeshit trying to do it until I RTFS and found it was not possible01:36
FireboltSo I should use a newer version instead?01:37
twbWhat's really stupid is it's hard-code to load vga16fb which only provides 80x30 instead of 80x2501:37
twbFor 5 damn lines they broke it for me (and you, I guess)01:37
twbFirebolt: well AFAIK it's fixed in 10.10 and up, but I don't know if you want LTS or not01:37
FireboltI'd prefer lts, but anything will do at this point01:38
FireboltI guess i'll download 11.04 server01:39
Firebolter, 11.1001:39
Firebolt12.04 will be LTS yes?01:39
twbYes01:39
twbHang on, I'll find you the small ISO URL01:39
twbhttp://archive.ubuntu.com/ubuntu/dists/precise/main/installer-amd64/current/images/netboot/mini.iso01:40
Fireboltno need01:40
twbWell, OK01:40
Fireboltalready downloading the full01:40
twbI just hate people downloading 700MB when 20MB will do01:41
FireboltI often work with computers with no internet connection at install time01:41
twbFair enough01:41
twbUsually I install them *then* ship them out01:41
Fireboltshipping, eh?01:42
FireboltI just help out friends who want to try linux01:42
twbYou poor poor bastard01:42
Fireboltbut normally i end up installing at school01:42
Fireboltwhere we're locked from using the school wifi/ethernet01:42
Fireboltfigures, though, that the one installer I try is borked01:44
twbNormally it would merely be annoying, not a show-stopper01:44
twbIf the screen goes completely blank that's probably because the screen is lying about its resolution over EDID or something01:45
Fireboltthere's a bit of random colours on the screen01:46
twbLike snow?01:47
twbI mean: like an out-of-tune telly?01:47
twbMaybe you're too young to remember FM TV tuners...01:47
Fireboltoh no01:49
FireboltI do01:49
FireboltI may be only 15, but I've seen my share of devices01:50
twbI remember building one from a kit01:52
twbback before the electonics hobby market died01:52
Furry(Firebolt here, connecting from a spare laptop)01:54
FurryI have too many of these01:55
=== sixstringsg|away is now known as sixstringsg
PtoenkEvening .. I just did a fresh oneiric install , and am having the " dhclient: can't create /var/lib/dhcp3/dhclient.eth0.leases: No such file or directory" issue..02:00
Ptoenkwhat is the good way to fix it?02:00
Ptoenkmess with ifup02:00
Ptoenkcreate a simlink ?02:00
Ptoenkcreate a dir ?02:00
Ptoenky02:01
twbPtoenk: sounds like your system is damaged.02:02
Ptoenklol02:02
Ptoenkno it's not02:02
Ptoenkit's a well documented bug02:03
twbThen fix it yourself, I guess.02:03
lifelesswhats the bug number ?02:03
lifelesstwb: now now02:03
Ptoenkset me find it again , sec02:03
twbPtoenk: try ifdown --force eth0; ifup eth002:05
PtoenkBug #90023402:05
uvirtbot`Launchpad bug 900234 in isc-dhcp "dhclient: can't create /var/lib/dhcp3/dhclient.eth0.leases in syslog again on Precise" [Undecided,Confirmed] https://launchpad.net/bugs/90023402:05
twbPtoenk: sudo ln -s dhcp /var/lib/dhcp3 as a workaround, according to that ticket02:07
Ptoenkyes02:07
Ptoenki can also mess with ifup02:07
Ptoenki can do lots of things02:07
* twb grumbles, why is ifupdown 0.7 still using noweb02:07
Ptoenkthe question i have , if any , is there a set resolution , albeit temporaty02:07
Ptoenkthat will not give issues once a real fix is introdced02:08
twbPtoenk: all I know is what's on that bug ticket.02:08
Ptoenkothers might know02:08
Ptoenkcreating a link is a plaster on a wooden leg02:08
delinquentmehey all OK I've got a ubuntu server up on EC2 .. with a web server running on it .. the web servers config is set to serve out at port 3000 ... however:    http://ec2-23-20-139-29.compute-1.amazonaws.com:3000/     is giving me nothing04:35
twbdelinquentme: on the server, can you connect to 127.0.0.1 3000 ?04:38
delinquentmetwb, how do I check that?? ping?04:39
=== Yann2 is now known as Guest66586
twbnc 127.0.0.1 300004:41
twbIf it doesn't hang up, speak some HTTP to it04:41
uvirtbot`New bug: #944546 in libcommons-cli-java (main) "StringIndexOutOfBoundsException in HelpFormatter.findWrapPos" [Undecided,New] https://launchpad.net/bugs/94454604:41
twbIf you can't speak HTTP, you should not be setting up a web server.04:41
delinquentmeHmmm nc .. what kind of tool is this?04:44
delinquentmenc 127.0.0.1 3000  <<< did nothing with this twb04:45
=== sixstringsg is now known as sixstringsg|away
twbThen clearly your httpd is not running, or not bound wherey you thought it was04:45
twbcf. netstat -nlp04:45
delinquentmehttps://gist.github.com/1955759  << output04:47
delinquentmenow this is also not an apache server04:47
SpamapSdelinquentme: perhaps you haven't configured EC2 to allow incoming traffic to port 3000? By default all incoming ports are closed on EC2.04:48
twbSpamapS: should still allow it on lo, surely04:48
SpamapSyeah, but nc would "do nothing" to the untrained eye04:48
twbOh I see what you mean.  Sigh.04:49
SpamapSAlso his netstat (btw people, use ss, not netstat) shows it listening.04:49
twbss does the wrong thing in a specific case, I forget which04:49
delinquentmeSpamapS, AH!04:49
SpamapStwb: good, you can actually *fix* it04:49
SpamapStwb: whereas netstat is basically dead04:50
twbIIRC it wouldn't list UDP listening ports by default04:50
delinquentmeso what ss comand should i use to replace the netstat one?04:50
twbAlso its stupid huge padding is really annoying04:51
twbSo you always have to |cat to stop it04:51
SpamapStwb: it just fills the available columns04:52
twbSpamapS: yes but I have full-screen ttys so I end up with like 100 spaces between each column04:52
twbOh, and by default it puts -p on a second line04:53
SpamapStwb: perhaps submit a bug report that it should stop at 120 ;)04:53
twbIMO it should be more or less like column -t, where it puts about four space between each column04:53
delinquentmeok so do I need to make both a rule for TCP and UDP?04:53
twbdelinquentme: no, HTTP runs over TCP04:54
twbWhich you should also already know.04:54
delinquentmeand then the source should be the internal IP of the web server04:54
SpamapStwb: ultimately though, netstat is deprecated, so you should gripe about ss to the ss maintainers.. because.. it actually has maintainers. ;)04:54
delinquentmetwb, totally =]04:54
twbhttp://paste.debian.net/158263/04:54
twbAlso ss was installed into sbin by default until recently04:54
twbSpamapS: I complained to them directly a few years back04:55
twbSpamapS: I was using ss for a while but that gotcha where it didn't list... whatever it was, fucked me over, so I have put off migrating to it for a while04:55
twbI do use ip everywhere, though.04:55
DyeAhello all, I updated my Ubuntu 10 server with webmin and it broke php. Files were downloading instead being appropriately handled. I then went to Troubleshooting PHP https://help.ubuntu.com/community/ApacheMySQLPHP#Troubleshooting_PHP_5 and ran sudo a2enmod php5 which returned "Enabling module php5." instead of returning module not found. However upon restarting apache I got an error "Syntax error on line 204 of04:57
DyeA/etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/php5.load: Cannot load /usr/lib/apache2/modules/libphp5.so into server: /usr/lib/apache2/modules/libphp5.so: cannot open shared object file: No such file or directory"04:57
delinquentmeyou guys have any idea if I need to restart my EC2 servers for the security group changes to take effect?04:58
twb!webmin04:58
ubottuwebmin is no longer supported in Debian and Ubuntu. It is not compatible with the way that Ubuntu packages handle configuration files, and is likely to cause unexpected issues with your system.04:58
DyeAI removed php5-common with apt-get, re-installed, restarted apache and now I get a 500 server error instead of a download, however HTML renders fine04:58
twbDyeA: this is why we don't support webmin, because it causes problems like this.04:59
DyeAarghhh! it seemed like a good idea at the time04:59
twbYou were probably high04:59
DyeAdefinite possibility05:00
twbSpamapS: can't find my ss whinging in debbugs bts :-/05:00
delinquentmetwb, so what am i looking for in "netstat -nlp" to ensure that the connections I want are functional?05:00
DyeAshould I have done a purge instead of a remove of php?05:00
delinquentmeAWWW YEAHHH05:00
delinquentmehttp://ec2-23-20-139-29.compute-1.amazonaws.com:3000/  <3 u guys05:01
twbhttp://paste.debian.net/158264/05:01
twbdelinquentme: that shows a server with a listening apache on 8005:01
delinquentmehow can you tell this?05:02
delinquentmealso I didn't install apache on this .. are you sure thats not the routing server?05:02
twbdelinquentme: sorry, you've exceeded your stupidity allowance.  Please wait patiently for someone else to help you.05:02
DyeAdelinquentme: hey don't feel bad, I exceeded my stupidity allowance before even arriving here05:03
delinquentmelol05:04
delinquentmetwb im learning :D05:04
delinquentmeits cool though05:04
DyeAtwb is drunk and watching glee right now but his knowledge still vastly exceeds ours even in his current state05:05
twbIsn't glee about gays in a high school musical / drama?05:05
DyeAtwb: close enough05:05
Firebolttwb, do you have any suggestions besides webmin?05:06
Fireboltthat are similar?05:06
delinquentmeLOL05:06
DyeAdelinquentme: whateve you don't install webmin05:06
delinquentmetwb i dont judge you05:06
twbI'd rather rewatch the first two seasons of _Skins_05:06
delinquentmeDyeA, check.05:06
twbOh, sorry, this is #ubuntu-server not #emacs.  I'll get back on topic.05:06
DyeAapt-get check?05:06
delinquentmetwb, have you ever used youtube>05:06
delinquentme:D05:06
Firebolt(I've only ever used webmin when forced)05:07
twbFirebolt: we recommend learning to use the CLI like a proper sysadmin05:07
DyeAyeah i felt vaguely dirty ever time i used it05:07
Firebolttwb, but for my friends who are gifted with IQs of -4 or use Macs?05:08
twbFirebolt: they do not get to be sysadmins05:08
twbThey can hire someone like me to babysit their VPS05:08
Fireboltlol05:08
DyeAthey just get to randomly fire up slow loris and get jacked05:09
delinquentmetwb, dont sysadmins just play wow?05:09
Fireboltno05:10
FireboltI don't play wow05:10
twbThe LAST thing a sysadmin wants to do when she goes home, is to babysit another computer05:11
delinquentmehttp://lemonnier.se/erwan/talks/pix/BoredSysadmin.jpg05:12
delinquentmelik dat?05:12
delinquentmei tried to find a screenie of a WoW char named sysadmind05:12
FireboltI prefer to fool with others' servers by "sudo rm -rf /"05:12
delinquentmehttp://www.reddit.com/r/networking/comments/qbi4f/help_me_explain_to_my_wife_that_our_network_isnt/05:13
twbdelinquentme: please take it to #overflow or whatever05:14
delinquentmetwb, trying to lighten your levels05:15
FireboltI need to get myself a better ISP05:17
Fireboltrather, I need to get my parents to get me a better ISP05:18
delinquentmesoo whats up with the apache05:21
delinquentmeoh wait apache tomcat05:21
delinquentmeyeah idk trinidad is some interface between those05:22
=== sixstringsg|away is now known as sixstringsg
bnemechello?06:23
SpamapSbnemec: ahoy!06:26
bnemeccool someone else in here.06:27
bnemecI'm running 10.04 LTS on Dell PE260006:28
bnemecyou?06:28
SpamapSI run 11.10 in EC2 ;)06:28
SpamapSand precise on my laptops. :)06:29
SpamapSbut then.. I'm a developer, so I find it helpful to run precise for testing. :)06:29
kirklandSpamapS: howdy :-)06:31
SpamapSkirkland: avast!06:32
kirklandSpamapS: nice post today, btw06:32
kirklandSpamapS: long live Eddard Stark!06:32
SpamapSkirkland: not too long.. ;)06:42
kirklandSpamapS: he dies???? :-)06:42
SpamapSkirkland: I'm on book 4. Had to swear it off for a couple weeks tho.. tore through the first 3 books so fast.06:43
kirklandSpamapS: I'm about 20% through book 506:43
kirklandSpamapS: book 3 was *great*06:43
SpamapSkirkland: yeah I feel like book 4 is a result of him being tired of writing about Tyrion. ;)06:50
kirklandSpamapS: heh, yeah06:59
kirklandSpamapS: i missed most of my favorite characters in book 406:59
kirklandSpamapS: do you happen to have osx running anywhere any more?07:00
kirklandSpamapS: I want to do some byobu verification/testing/development on osx07:00
kirklandSpamapS: and I'm wondering if I need to just but a crappy mac mini or something07:00
kirklandSpamapS: it's so weird not just being able to fire up the OS I need in EC2 and pay a few pennies :-)07:01
=== sixstringsg is now known as sixstringsg|away
SpamapSkirkland: you can run OS X in a VM on a Mac without buying another license. ;)07:27
SpamapSkirkland: I don't hardly ever run it except to update the OS on my iphone anymore.07:28
gnomeso can anyone tell me why i can't login to my ec nodes?07:37
gnomesomeone must be testing this also.07:38
SpamapSkirkland: btw, speaking of byobu issues.. using it on precise right now and its flickering a lot..07:39
SpamapSgnome: ec2 ?07:41
gnomeyup ec207:50
gnomesons up back in a few07:52
SpamapSgnome: You most likely need to define a key pair and make sure a) you're specifying it when launching the instnaces, and b) you're using it when ssh'ing to the instances07:55
gnomek07:56
gnomebut07:56
gnomewhen I go to send key to instance.. I fail.07:56
gnomeso you are saying make the key then boot the instance?07:56
gnomewhen i try to ssh to an instance i am met with a password07:57
gnomei can't even login to the nodes if I am standing in front of them.07:57
gnomei just don't get it. perfect pxe cobbler install 10 machines.07:57
gnomeand how did it not send my creds during that install?07:57
gnomesorry for silly questions. :(07:58
gnomei have done manual clusters with ease.07:58
SpamapSgnome: you have to inform *amazon* of the key07:59
gnomek..07:59
gnomeI 'HAVE' to inform them?07:59
SpamapSgnome: *or* you have to store your key some other way such as through cloud-init metadata07:59
gnomethat amazon thing, like really i registerd my personal cloud. with them?07:59
SpamapSgnome: you can use your own keys if you want. Its just not built into the EC2 api.. but it is built into Ubuntu.08:00
gnomerepeating a question answered... shows my inability to not understand why we have to register with them for our 'own' personal systems.08:00
gnomeso how will that make me able to login to the nodes?08:00
SpamapSgnome: they have console access to your systems. Don't be naive. ;)08:01
gnomebehind a proxy alsO?08:01
* gnome me is being paranoid.08:01
SpamapSgnome: anyway, if you want to SSH to the systems you have two options. Add a keypair using euca-add-keypair (or ec2-add-keypair if you prefer the original slower amazon tools) ...08:02
SpamapSgnome: or you can learn to use cloud-init to put your keys on the systems.08:02
gnomei have read the ub cloud info back to back many a times. there was nothing about cloud-init.08:03
SpamapSgnome: ub cloud info ?08:03
gnomeit it just that 11.10 is lacking documation assuming we have run their soft before?08:03
gnomespamaps ... ub clound info..?08:03
gnomei not sure what you mean sir.08:03
SpamapSgnome: you said "ub cloud info" .. I don't know what that means08:05
gnomeoh, the posted manual on the ubuntu site08:06
gnomeon covering install and setup08:06
gnomeso i went with ubuntu because of ... easability, well >.. :(08:08
gnomeit's not been so easy that's for sure08:08
SpamapSgnome: "the ubuntu site" ?08:11
SpamapSgnome: do you mean www.ubuntu.com , cloud.ubuntu.com, help.ubuntu.com, wiki.ubuntu.com, or somethingelse.ubuntu.com ?08:11
SpamapSgnome: it would help me if you could point me to the same material you are reading so I can help get it fixed, or explain something that might not be clear.08:11
SpamapSgnome: the cloud is not actually very easy.. we've been working on making it easier w/ juju (http://juju.ubuntu.com/)08:12
gnomek ya i been playing with juju also08:12
gnomeit's nearly making me crazy at how nice it susposed to work08:12
gnomebut doesn't do as intended.08:12
gnomei pxe booted all nodes to oneiric - arc - juju08:13
gnometry to login with my primary user name from main server to any node.08:13
gnomedenied...08:13
gnomenow if this part was streamlined also.. i'd be a happy camper08:13
=== smb` is now known as smb
gnomei could deploy mpi work i do in a ub environment over massive ammounts of pc's quickly08:14
gnomeinstead it feels like my head going to explode.08:14
gnomeglances back over at the deb dvd's... :)08:14
gnomehelp.ubuntu.com08:15
gnomeis side.08:15
gnomesite the server guide.08:15
SpamapSgnome: pxe boot? so you tried the orchestra provider with juju?08:15
gnomeyup08:15
gnomeit works beautifull but no node access...08:16
SpamapSgnome: that is a really, really specialized and frankly bad use case for juju right now. Its going to be *MUCH* better in 12.0408:16
gnomelike does the head node need a gui front end..08:16
gnomeoh it's fine spamaps i like to work with ... anything08:16
SpamapSgnome: for EC2.. juju is *very* smooth08:16
gnomemy other cluster is a huge mixture of every distro.08:16
gnomedid it just cause :) lol but I want to do a solid system like what ub development is leaning at with 11.1008:17
SpamapSgnome: give juju+EC2 a try08:17
SpamapSgnome: I think you'll like it08:17
gnomeya i installed ec208:17
gnomethen juju08:17
gnomeand .. am lost why don't nodes get any info.08:18
gnomeonly thing I can possibly think of is in cobbler interface i have user set as08:18
gnomeadmin08:18
gnomethat's the conclusion i have come to after... oh 10 netboots of each machine.08:18
gnomei actually installed the server front end 7 times to get it ...08:19
gnomethe way i wanted.08:19
SpamapSgnome: *ec2* does not need cobbler08:19
gnomebut isn't cobbler the deploy for pxe?08:19
gnomedoesn't it setup the boot imgs?08:19
SpamapSgnome: yes, but why would you PXE on a public cloud?08:20
gnome? public?08:20
gnomek private and public clouds.. i just dont' under stand the terminology this way08:20
gnometo me private would be something running at home behind multi firewalls.08:20
gnomepublic would be like a High availability server running on a public ip.08:21
gnomesorr if this sounds stupid08:21
SpamapSgnome: public means another company hosts the hardware08:21
SpamapSgnome: private means you host it and do not sell it to anyone else.08:21
gnomeI am running a private cloud08:21
gnomethen.08:21
SpamapSgnome: eucalyptus? openstack?08:21
gnomeyup08:21
SpamapSboth?08:22
gnomeeucalyptus08:22
SpamapSah ok08:22
SpamapSWe've had some issues w/ juju + eucalyptus08:22
gnomelike when i get the main server running I install eucalyptus08:22
SpamapSbecause of the way euca sets up their "S3"08:22
gnomethen after I login to cobbler08:22
gnomeadd the nodes08:22
gnomeand boot them08:22
SpamapSits fundamentally broken unfortunately.08:22
gnomethey install.08:22
gnome@!%%%%%%%%%%%%%08:22
gnome5 days I been working with.. fundamentally broken..08:22
gnomeno wonder my head hurts08:22
SpamapSgnome: you may have noticed, the buzz around euca has died down a lot... for a reason08:22
gnomewell if it would just deploy user creds with the pxe boot img properly08:23
SpamapSgnome: openstack is a bit harder to deploy, but will scale quite a bit more.08:23
gnomeomg I'd be still installing systems to it.08:23
SpamapSgnome: if you're using juju + orchestra, juju should be installing your key to let you login as the 'ubuntu' user with it.08:24
SpamapSgnome: I'd recommend hanging out in #juju and asking there08:24
SpamapSgnome: note though that one reason there's very little documentation on orchestra is that it is changing so rapidly in 12.0408:24
gnomeUnknown id: ubuntu08:25
gnome:(08:25
gnomeif i could just get into my nodes... I'd be so happy..  short of login brute force then set keys after08:26
gnomeso do I wait for 12.04 or do i go back to 10.?08:26
SpamapSgnome: if something went wrong during the install then you won't be able to login.. its one of the problems that needs solving. :)08:26
gnomeright but you can continue to re-image. then netboot the nodes till they work right08:27
gnomeonly thing I can think of is i am using user name admin08:27
gnomeand i noticed in cobber logs it says user [?] on machine [ub1]08:28
SpamapSgnome: the juju orchestra system profile creates a user named 'ubuntu' and puts your ssh key in for the 'ubuntu' user08:28
gnomeso it doesn't seem to know user for odd reason, i going to look into it further at this point it seems to me there must be a simple reason for why it failing .08:28
gnomewell i tried sudo su ubuntu08:28
gnomeon the master it said.. no user.08:28
gnomehowever there is a eucalyptus user08:29
SpamapSgnome: then you didn't use juju+orchestra to install that machine.08:29
gnomeand course the user name I set during server install08:29
gnomeodd.. because it was the latest and only 11.10 i could download08:29
SpamapSgnome: wait, I keep forgetting that you're doing eucalyptus. So you created a eucalyptus cloud.. and you're trying to talk to it w/ juju?08:29
gnomei am trying to figure out how to talk to it to send creds to the nodes so i can access them08:30
gnomeor was euc not intended to allow us to use the nodes directly?08:30
SpamapSgnome: and by nodes, you mean the nodes *running* eucalyptus, or the VMs running *inside eucalyptus* ?08:30
gnomenode = terminals . pc's08:30
gnomeslaves!08:31
gnomesry08:31
gnomemaster and 9 slaves08:31
gnomecan't access or login to the slave machines what so ever08:31
SpamapSgnome: ok, well if you just used cobbler and the default oneiric install profile, then you probably don't have a user. You need to add one to the kickstart/pre-seed08:31
SpamapSgnome: and by slaves, you mean *physical* machines, not virtual machines?08:32
gnomeyup physical08:32
SpamapSgnome: ok, so yeah, you just need to define a way to login to them in the pre-seed08:33
gnomek so do that in cobbler web interface?08:33
SpamapSgnome: did you try 'ubuntu/ubuntu' for user/pass ?08:33
gnomeor just console edit the kick?08:33
gnomeon a node?08:33
SpamapSyeah08:33
SpamapStry it08:33
gnomek i got 4 flights of stairs08:33
gnomegoing to take a minute08:34
gnomebrb08:34
SpamapSwait no08:34
SpamapSno no on08:34
SpamapSno no08:34
gnomek08:34
SpamapSgnome: they're not running SSH?08:34
gnomeyup they are08:34
SpamapSssh ubuntu@thenode08:34
gnomeBAZINGA!08:34
gnomenow if that small instructino was added on the page.08:35
gnomeomgosh would that help like 1000 ppl have same question as me08:35
SpamapSgnome: well its a security problem and is going to be removed actually. ;)08:36
gnomeis in shock 4 days..08:36
SpamapSgnome: default passwords == bad08:36
gnomeyes they do08:36
gnomebut k so how do I tell it to just do it auto from pxe.. or should I just not do that? and behapp this way/08:36
SpamapSgnome: But, alas, there's so much else that is changing. Glad we could move you forward. :)08:37
SpamapSgnome: if you look in the pre-seed, there is a password value (a hash I think, so it look slike gibberish) set... you can change it.08:37
SpamapSgnome: in cobbler pre-seeds are called kickstarts (because it came from redhat)08:37
SpamapSanyway08:37
SpamapSits after midnight, time for me to sleep08:38
SpamapSgnome: good luck08:38
gnomek ya i was affraid to changethat hash08:38
gnomein fear of breaking the big picture08:38
RoyKjust updated this lucid machine to oneiric to get some more updated libvirt/kvm stuff, and now it hangs when I try to create a new volume :(08:40
RoyKthat is, virt-manager hangs when trying to deal with volumes08:40
RoyKor actually the whole libvirt part (for this machine)08:41
lynxmanmorning o/09:34
=== Guest66586 is now known as Yann2
jamespageSpamapS, Daviey: first reboot test now live (but failing testing :-() https://jenkins.qa.ubuntu.com/view/Precise%20ISO%20Testing%20Dashboard/view/Daily/10:35
uvirtbot`New bug: #944684 in keystone (universe) "Error installing keystone selecting dbconfig-common and sqlite3 as the backend" [Undecided,New] https://launchpad.net/bugs/94468410:41
Davieyrbasak: do you have capacity to work on bug 911812?11:11
uvirtbot`Launchpad bug 911812 in facter "processor fact does not handle arm, others" [Undecided,New] https://launchpad.net/bugs/91181211:11
rbasakDaviey: I think so, I'll look at it11:13
Davieyrbasak: thanks, it's currently assigned to roaksoax.. but i can't see him having time to work o it in the short term.11:20
rbasakDaviey: looks like bug 911812 has already been fixed upstream and we're carrying the fix in Precise. I can't confirm from the information in the bug though, so I've asked lamont in the bug.11:49
uvirtbot`Launchpad bug 911812 in facter "processor fact does not handle arm, others" [Undecided,New] https://launchpad.net/bugs/91181211:49
Davieyrbasak: does 'factor' work for you on panda?11:51
rbasakDaviey: yes11:51
rbasakDaviey: though I do get a couple of warnings about PCI not existing11:51
lamontsounds like it's fixed then11:52
lamontI should see if the diff matches though11:52
asac_so ... I am looking for a cmdline tool that at best can kind of transparently execute commands in ec2 and makes it easy to auto provision servers and shut them down afterwards :)... does such a magic box exist :)?12:18
asac_actually that is already to specific. We have jenkins running to basically just do cloud provisioning and execution of remote jobs (for building)... but we don't want to use that anymore. what are options?12:19
asac_smoser: ^^12:20
asac_:)12:20
asac_hi!12:20
koolhead17zul: awesome!! :)12:57
koolhead17dashboard E4 has a blocker now https://bugs.launchpad.net/horizon/+bug/94476312:58
uvirtbot`Launchpad bug 944763 in horizon "horizon-2012.1~e4.tar.gz is broken" [Undecided,New]12:58
koolhead17:(12:58
jdstrandDaviey, lynxman: hey, do you know if someone is working on the 2.7.11-1 puppet merge?13:00
lynxmanjdstrand: I did a package a couple days ago, 2.7.11-0, can do the merge this morning as well13:02
jdstrandlynxman: that would be wonderful :) can you ping me when it is uploaded?13:03
lynxmanjdstrand: I don't have upload rights, I'll find someone to sponsor the merge13:04
RoyKfdhsfdsgdsg: fix your internet connection!13:08
jdstrandlynxman: if you can't, ping me13:09
lynxmanjdstrand: thanks :)13:10
smoserasac_, ah.  i'm not aware of anything that exactly fits your needs.  from what i understand, you basically want something like "chroot" that chroots into an ec2 instance, right ?13:28
smoseror i guess schroot that has the itnerface to start up a new thing and stop it.13:28
rbasaklamont: so your patch doesn't apply to the latest source in Precise because the logic seems to have moved to a different file (under util/processor.rb now). But the arm logic in there appears to be the same as what your patch is applying - possibly derived from it?13:28
smoseri think rbasak has some stuff that does similar things.13:29
rbasakyeah I think my tool matches that description13:30
rbasakIt's geared at openstack at the moment; I need to check how to get it generic to ec2.13:30
rbasaksmoser: speaking of which, if it's useful I'd like to get it into cloud-utils or something like that eventually13:32
smoseri would say yeah.13:32
smoserand i think modelling after schroot's cmdline interface would be pretty good.13:32
smoseror maybe even just extend schroot :)13:33
rbasakhmm, that'd be interesting13:33
rbasakI never thought of it as an schroot-alike before13:34
smoserschroot has a reasonable interface.13:34
smoser start, enter, delete, list13:34
rbasakyes, that is reasonable13:35
rbasakThe current interface is modelled after ssh with some stuff added13:35
smoserso for +1, lets do that.13:36
rbasakI think I'd like to support both13:36
smoserwell, schroot has a simple: start, run command, cleanup13:36
smoserwhich is really all i think ssh would be different13:36
smoserright?13:36
rbasakfor interactive use, I tend to think of it as a machine that I can ssh to that is created automatically the first time I mention it13:37
rbasakI've embedded user-configurable specifications of what the machine should be like (which cloud, what image, etc) based on the machine name, which is in the user's standard ssh namespace. Then scp and rsync work too.13:38
rbasakI need to show you it really.13:38
rbasakI agree that an schroot-alike interface would work well too - especially to people used to that, as they won't need to learn anything13:39
spajderixhi13:39
rbasakI don't see any reason why I can't do both.13:39
lamontrbasak: probably13:40
lamontprolly based on it, that is13:40
rbasaklamont: can I mark the bug Fix Released for precise, or would you like to check further first?13:40
lamont'tever - if it's returning good facts, I'm happy13:41
spajderixI have some issues with mysql replication. I have master and a slave with backup. Problem is, from time to time when i do SLAVE STOP to do daily dbdump the query just hangs forever, and only killing the server helps to unfreeze it. I've located some bugs at mysql's buglist but fixes addres versions of mysql-server 5.4+. I wuld really appreciate a fix in ubuntu,so should I report a new bug or13:43
spajderixrequest a backport of newer mysql to lucid?13:43
rbasakspajderix: that sounds like a bug that would be a candidate for an SRU, and one that we'd want fixed in lucid13:44
rbasakspajderix: https://wiki.ubuntu.com/StableReleaseUpdates13:45
=== davepigott_ is now known as davepigott
rbasakspajderix: although I'm not sure about mysql actually - upstream don't work in public so it may be awkward13:47
asac_smoser: maybe :) ... something that brings the cloud transparently to your local machine... but also does some degree provisioning and pooling (can be manual operations i guess) of the instances13:51
smoserpooling ?13:51
asac_well13:51
asac_management13:51
asac_so this tool kind of keeps track of your instances13:51
asac_and allows you to shut down etc.13:51
smoserare you familiar with schroot ?13:51
asac_important that the host gets to know when an operation is finished so it can pull the artifacts and shut down13:52
asac_smoser: no :)13:52
asac_smoser: oh i know schroot yes13:52
smoserright.13:52
asac_but not how to use that in the cloud... is there a great receipt how that can do what i want?13:52
smoseroh, you can't.13:52
asac_i want it to be a bit dynamic i guess13:52
smoserbut from an interface perspective, would that be enoug for you?13:52
asac_e.g. just having static cloud servers running that i can schroot into would be a bit lame :)13:52
rbasakSo right now I can do stsh foo, and it detect that a machine called foo doesn't exist, start one in the cloud (called foo), and ssh into it. So it's as if I typed "ssh foo" and the machine existed already. My tool also sorts out known_hosts automatically and updates ~/.ssh/config so scp, rsync and vanilla ssh will work too.13:52
asac_smoser: i guess...13:53
asac_smoser: if i can see the running instances with schroot -l13:53
asac_and have switches to start up13:53
smoserie, when i want a new schroot, i do schroot --run-session --chroot ...13:53
asac_and turn off13:53
asac_it could be good13:53
smoserand then when i'm done, i kill it.13:53
rbasakI have stsh --terminate foo and stsh --list which are easy enough to convert to schroot compatible flags13:53
smoserthat can be all done in one command in schroot too (new session, chroot in, exit when command temrinates)13:53
asac_smoser: i think exiting the schroot shouldnt shut it down13:54
smoserin schroot it does sometimes.13:54
smoserbut you can make it not13:54
asac_smoser: so more like schroot ... goes into an existing chroot13:54
rbasakasac_: you can do that with schroot, by requesting a persistent session when you create it13:54
smoserright.13:54
asac_interesting :)13:54
smoserso basically i think the model works well.13:54
smoserthe schroot just happens to be somewher eacross the planet13:54
rbasakI think the schroot model works, but is a bit wordy to use by hand interactively13:54
smoserit is wordy, i agree.13:55
smoser:)13:55
asac_yeah. a convenient wrapper13:55
asac_would be great13:55
asac_like13:55
rbasakOTOH, I think there's a lot of value in trying to match syntax with existing tools13:55
asac_cloud-root --list13:55
asac_cloud-root --start name13:55
asac_cloud-root name CMD13:55
=== davepigott_ is now known as davepigott
asac_cloud-root --kill name13:55
asac_still need to be able to download stuff13:55
asac_like cloud-root get /path/to/file13:55
rbasakSo I'm thinking of keeping my mechanism but have an schroot-cloud wrapper that wraps it into schroot-compatible options13:55
smoserasac_, well that is just:13:56
smoser cloud-root name cat /path/to/file > file13:56
smoseror13:56
rbasakor in my case, scp name:/path/to/file . :-)13:56
asac_cloud-scp name:/path/...13:56
asac_wow13:56
asac_thats cool13:56
asac_:)13:56
smoser cloud-root name tar cf - file1 file2 file3 > local.tar13:56
asac_but ftp like behaviour would also be fun :)13:56
rbasaksftp will work :)13:57
asac_cloud-root name tar cf - file1 file2 file3 > local.tar13:57
asac_thats interesting13:57
asac_cool13:57
rbasakthat's just "ssh name tar cf - file1 file2 file3 > local.tar" :-)13:57
smoserright.13:57
smoserso, its settled.13:58
asac_where can i download such tool :)?13:58
smoserrbasak will write a tool and i tell him how i want it to look :)13:58
asac_omg13:58
asac_i would love it13:58
asac_:)13:58
* rbasak has written the tool already; I just need to write the smoser-wrapper :-P13:58
smosercan you have that done by monday rbasak ?13:58
* smoser ducks13:58
rbasakActually that's not even that far off feasible :)13:59
rbasaksmoser: I have a cloud-init feature request for this BTW14:00
smoserrbasak, you should show asac_ what you have though14:00
smoserrbasak, .... what is that ?14:00
smoserrbasak, and you should point me to what you ahve also14:00
asac_rbasak: i am a happy lead customer to try out and provide you feedback on how your command line interface is convenient and inspiring :)14:00
smoserasac_, in bikeshed (kirkland) there is a too....14:00
smoserlet me find it14:00
rbasakI was discussing this with utlemming back in January. The issue is how to get known_hosts updated securely.14:00
asac_lol14:00
smosercalled cloud-sandbox14:01
rbasakkirkland used what let's call a double-key mechanism14:01
smoseryeah.14:01
rbasakthat works but is a bit ugly14:01
rbasakI'm reading the console fingerprint from get_console_output and verifying that automatically, but the catch is that EC2 is really slow at updating it, so starting an instance is slow14:01
rbasakBut on openstack it's fine since get_console_output doesn't need updating and works immediately14:02
smoserrbasak, so that is just motivation for using openstack14:02
smoser:)14:02
rbasakThe third mechanism that utlemming came up with for EC2 was using SQS as a read-once key delivery mechanism14:02
smoserthat requires putting credentials to do that into the instance.14:03
rbasakCreate a queue, add one item that contains the key, put the credentials for that in user data, then cloud-init fetches the key out.14:03
smoserright ?14:03
smoseroh.14:03
smoserthe othe rway around.14:03
rbasakYes - but the credentials are useless once cloud-init has finished, since the key will no longer be available from the queue.14:03
smoserhere is the other thing i considered:14:04
smoserhttp://openkeyval.org/14:04
smoser * using that...14:04
smoser * on creation, you come up with a long secret key14:04
smoser * use that to tell the instance to post its keys to that location in openkeyval14:04
smoser * wait for that key to appear14:04
smoser * use it14:04
smoseryou can also fortify it by having more htan just the key as the secret14:05
smoserbut adding a secret that you then calculate the sum of "content+secret" and append it to what is posted.14:05
smoserthen you know that only someone who knows that secret could have posted valid content there.14:05
rbasakIsn't there a race there? Malicious code runs after the instance has booted and ran cloud-init and is doing its normal workload, and you haven't fetched the key yet14:05
rbasakUnlikely I admit14:05
jMCgEVERYTHING as a web service.14:06
smoserrbasak, "malicious code runs after instance has booted"14:06
smoserthats your problem14:06
smoseryou can't really fix that, now can you14:06
smoser:)14:06
rbasaksmoser: in that case why don't we just supply the private host key in userdata? :)14:06
smoserhm.. is that true. is this no btter?14:07
smoserlet me think14:07
rbasakit is a lot better, but I think there an (unlikely) race, which the other methods avoid.14:08
smoserrbasak, yeah, it is bettter14:10
smoserhm.. i dont knwo.14:10
smoserrbasak, so wouldn't hte SQS need creds in the instance?14:12
smoserto read the message?14:12
smoseri need to read more on sqs14:12
rbasaksmoser: yes. But it gets a bit hacky at this point. I think you can create a per-instance queue so you don't give the instance any more creds than for it's own queue, which will have only one message.14:13
rbasaksmoser: at this point I'm wondering if kirkland's hack is less of a hack than this one14:14
rbasak(also kirkland's solution is genius even if it is a hack)14:15
smoseryeah. it does work.14:15
smoserand he had kees look at it to review it.14:16
kirklandrbasak: what's kirkland's solution?14:16
rbasakkirkland: your temporary key thing to securely get a private key to an instance and know its fingerprint14:17
kirklandSpamapS: yeah, I'm seeing that in a few places (byobu in precise flickering;  something wrong with the status caching mechanism)14:17
kirklandrbasak: why thank you :-)14:17
kirklandrbasak: I do like that, very much14:17
kirklandrbasak: though a much, much more forward thinking solution would be to use monkeysphere14:17
hallynzul: where is the patch you wanted me to add to libvirt?14:17
kirklandrbasak: though I haven't gotten smoser to go for that one yet14:17
kirklandrbasak: smoser: the *right* answer to this problem, in my opinion, is monkeysphere14:18
smoserregarding momkeysphere, i'm just lazy14:18
zulhallyn: damn that one totally fell off my list hold on14:18
smoserpatches welcome14:18
smoserzul, you said theres a fix for bug 942865 in gerrit ?14:19
uvirtbot`Launchpad bug 942865 in nova "upgrade from diablo leaves existing images with kernel unbootable" [High,Triaged] https://launchpad.net/bugs/94286514:19
smoserthere is no comment to such affect in the bug14:19
zulsmoser: yes14:19
zulhallyn: its this commit: http://libvirt.org/git/?p=libvirt.git;a=commit;h=9130396214975ba2251082f943c971728103905014:19
lamontSpamapS: I heard a rumor you might know about 904834 - it'd be good to see that get into precise14:21
lamontSpamapS: specifically wrt the MIR for librbd-dev14:21
zulhallyn: sorry about that the past couple of days have been hilariously busy14:21
rbasakkirkland: interesting!14:22
rbasakkirkland, smoser: that's not really cloud-specific though, right? Wouldn't it make more sense to integrate monkeysphere into Ubuntu Server generally first?14:22
zulDaviey: just uploaded a fix for he eventlet memory leak as well14:25
smoserzul, you have a link ?14:25
zulsmoser: https://review.openstack.org/#change,478814:26
smoseri'm completely incapable with gerrit's ui14:26
zulsmoser: eh?14:26
smoserbooo to vishy14:26
smoserfor not even adding the bug neumbers14:26
zulhehe14:26
smoser* Adds name from manifest to glance on register14:27
smoserwoot!14:27
smoseri had a review that did that14:27
smoserbut it was nacked waiting on test cases14:27
zulsmoser:  anyways ill backport it for e4 today14:29
smoserplese14:31
Davieyzul: nice14:32
zulso i just uploaded glance e4, so any fixes that need to go in between now and the next snapshot i created a branch called lp:~ubuntu-server-dev/glance/essex.milestone.e4 so if there needs to be any fixes between now and next friday (the new snapshot) will go in here, since the packaging branches follows trunk14:34
lynxmanjamespage: ping14:35
lynxmanor actually Daviey or zul, does this look okay? http://pastebin.ubuntu.com/865160/14:36
Davieylynxman: it looks like a failure merging d/changelog?14:39
lynxmanDaviey: hmm yeah you're right, 1 sec14:40
lynxmanDaviey: I had 2.7.10-1 from debian twice by mistake14:40
lynxmanDaviey: when syncing straight from debian again the previous ubuntu changelog disappears? I mean... the 2.7.10-1ubuntu1 release14:41
zullynxman: why arent you using syncpackage?14:42
=== bladernr_afk is now known as bladernr_
lynxmanzul: erm... *blushes* didn't know it existed :)14:42
zulif you are synching straight from debian (no ubuntu changes)14:42
lynxmanzul: that's correct14:42
zullynxman: install ubuntu-dev-tools14:43
lynxmanzul: I have it there already14:43
zullynxman: http://manpages.ubuntu.com/manpages/oneiric/man1/syncpackage.1.html14:43
hallynzul: and you've tested with that patch?14:46
zulhallyn: yep works fine14:47
hallynok14:47
lynxmanzul: the thing is that I have no upload rights and I need to do a bzr merge, which is what I was doing14:47
zullynxman: oh yeah duh....carry on :)14:47
lynxmanzul: heh :)14:47
zullynxman: why not apply for ubuntu-serv-dev rights?14:47
lynxmanzul: you reckon I'm experienced enough?14:48
zullynxman: sure i guess14:48
Davieylynxman: this isn't a sync is it?14:48
lynxmanDaviey: not 100% due to the debian-changes patch being different from one version to the next14:49
lynxmanDaviey: but that's it14:49
hallynzul: is there a bug to reference for that?14:50
zulhallyn: no14:50
hallynk14:50
hallynfiring away14:50
Davieylynxman: unless it is a straight sync, always maintain the changelog as is.14:51
lynxmanDaviey: so just add the debian changelog entries on top of the ubuntu one (the ones that are newer I mean)14:51
lynxmanDaviey: http://pastebin.ubuntu.com/865188/14:53
smoserrbasak, just one more thing to say regarding the ssh auth stuff.14:59
smoseranother option that requires s3 is to add an s3 expiring url and '#include' it.15:00
rbasaksmoser: yes, that would wowrk15:00
rbasakwork15:00
Davieylynxman: wait, why isn't this a sync?15:00
smoserits not as good as a one time use, but, reasonable.15:00
rbasakyeah15:00
smosercloudinit has '#include-once' explicitly for that purpose.15:00
smosermonkeyspere or kirkland's solution use no additional AWS infrastructure (meaning they "just work" on openstack)15:01
rbasakwhat would clean the S3 entry up?15:01
smoserthey have "expiring urls"15:01
rbasakdoesn't that correspond to a real URL?15:01
smoseryes.15:01
smoserbut it goes away15:01
smosermagically15:01
smoserhttp://www.givp.org/blog/2011/08/01/amazon-s3-expiring-urls-with-boto/15:02
rbasakYeah but wouldn't we want to clean up the real URL?15:02
smoseryou mean delete the object in the bucket?15:02
smoseri dont know what happens to i, if it automatically deletes or not15:03
smoseri'll try15:03
rbasakI think it stays15:03
lynxmanDaviey: that's what I'm saying, I think it's a sync, but I can't sync since I have no upload rights :)15:03
Davieylynxman: if it is a sync, that is - no ubuntu delta still required.. use the 'request-sync' tool15:03
rbasakAIUI, it's a mechanism to give people temporary access. It's just the authorization that expires.15:03
Davieyerr, syncpackage15:04
lynxmanDaviey: alright! will do so15:04
rbasakTo make it secure, cloud-init would need to sleep for the expiry time15:04
lynxmanDaviey: with requestsync then rather than syncpackage15:04
Davieylynxman: err, yeah15:05
lynxmanDaviey: cool, doing right now15:05
Davieyrocking15:05
lynxmanDaviey: bug #944866 filled15:07
uvirtbot`Launchpad bug 944866 in puppet "Sync puppet 2.7.11-1 (main) from Debian sid (main)" [Undecided,New] https://launchpad.net/bugs/94486615:07
Davieylynxman: cool15:08
smoserrbasak, yeah, you're right.15:08
smoserit'd need cleanup15:08
uvirtbot`New bug: #944866 in puppet (main) "Sync puppet 2.7.11-1 (main) from Debian sid (main)" [Undecided,New] https://launchpad.net/bugs/94486615:15
smbsmoser, Hi, today I brought up a cg1.4xlarge as spot instance and normally. Both show the exactly same stuck cpu#0 as you had. But I cannot get it to do the same locally (even giving it 16 vcpus (while I only got 8 physical cores))15:25
smosersmb, hm..15:25
smoserwell, i guess we should open a bug, and maybe ping amazon via utlemming.15:26
smosersmb, note, i'm not certain if natty had this issue or not.15:26
smoserhave you tried other kernels ?15:26
smbsmoser, Right, I am a bit clueless right now. No only tried the precise daily up to now15:26
smoserdoes it happen every boot ?15:27
smosercould you just install the natty kernel and reboot and test it htat way ?15:27
smbsmoser, From the two attempts it did both times, but I can do that natty (oneiric?) test15:28
smosersmb, the number of times i think i've considered you "clueless" in regard to kernel is... let me count.... ZERO15:28
smosersmb, well, you can surely bisect at the distro-kernel level to get more info there.15:28
smoserwe should open a bug.15:28
smbsmoser, Well, let me put it that way. It seems always cpu#0 and the instruction pointer we get printed always is the same place (xchg used as nop, after enabling interrupts). Its nothing normally getting a cpu stuck.15:30
smbsmoser, Agreed, I will open one15:31
jcastrohey smoser15:31
jcastroI thought we had gotten our AMIs in the amazon quickbrowser by now?15:31
smoserjcastro, apparently not15:32
kirklandjdstrand: howdy!  when you get a chance, could you respond to soren's questions on https://bugs.launchpad.net/ubuntu/+source/ssh-import-id/+bug/944367 ?16:05
uvirtbot`Launchpad bug 944367 in ssh-import-id "Ignores $http_proxy setting" [Wishlist,Triaged]16:05
jdstrandkirkland: hi! done16:09
kirklandjdstrand: rockin, thanks16:09
kirklandjdstrand: I'll specifically whitelist https_proxy16:10
jdstrandkirkland: well, that isn't what I suggested in the comment16:10
kirklandjdstrand: hmm, okay, so not just existence of the env var16:10
jdstrandkirkland: *optionally* whitelisting https_proxy seems the safest move (via command line)16:10
kirklandjdstrand: but you'd like the user to additionally tell ssh-import-id to use $https_proxy ?16:11
kirklandjdstrand: i was thinking of just adding env -i https_proxy="$https_proxy" ...16:11
kirklandjdstrand: but that's not acceptable to you?16:11
jdstrandkirkland: it doesn't matter to me if the arg allows preserving what is already in https_proxy or the user explicitly setting it16:12
kirklandjdstrand: but your point is that it has to be an additional non-default argument on the command line explicitly enabling that behavior?16:12
jdstrandkirkland: imo opinion this is one of the variables we would want to filter16:12
jdstrandkirkland: yes16:12
jdstrands/opinion//16:13
sorenjdstrand: Can you elaborate a bit on your rationale? I (sort of) understand it's a privileged operation, but what is cleaning the environment supposed to protect against?16:13
sorenEr...16:14
sorens/privileged/sensitive/, of course.16:14
kirklandjdstrand: under what situation would a user's https_proxy environment variable be potentially compromised, where they would also be running ssh-import-id?16:14
jdstrandif https_proxy is set to connect to something else, you can import an id that you perhaps didn't intend16:14
jdstrandit helps with mitm attacks16:15
sorenjdstrand: ...who would be able to set that?16:15
kirkland(so the good news is that smoser helped add the optarg parsing to ssh-import-id, so this is technically doable...thanks, smoser)16:15
sorenjdstrand: If I can override a user's environment, I can probably add things to his authorized_keys, too?16:15
jdstrandit isn't just that your environment is altered16:15
jdstrandthis could be in a script situation, etc16:15
jdstrand(depth)16:15
jdstrandbut, that point aside16:16
jdstrandsay it is set to https_proxy=https://foo.bar16:16
jdstrandif you are now in a cafe and foo.bar is redirected to an attacker's machine, the attacker could mitm you16:17
sorenHow so? wget checks certificates?16:17
SpamapSjamespage: thanks I'll take a look16:18
jdstrandis it doing it correctly? does it do it by default? it is just a safty measure16:18
SpamapSlamont: re librbd+kvm in precise.. waiting on MIR approval as right now kvm will FTBFS if we add support16:18
SpamapShallyn: ^^ would you agree with that being the reason?16:19
sorenjdstrand: I guess. Cleaning the environment here just seems kinda arbitrary.16:19
lamontSpamapS: who do I prod about getting the MIR approved?16:19
jdstrandwell, that's how I roll :P16:19
jdstrandI see wget has a --no-proxy arg. perhaps that is the easy toggle16:20
SpamapSjdstrand: can we prod you for status on the CEPH MIR?16:21
SpamapSjdstrand: https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/93289816:21
uvirtbot`Launchpad bug 932898 in ceph "[MIR] ceph" [Undecided,Confirmed]16:21
DavieyIs that still going ahread?16:21
Davieyahead*?16:21
jdstrandSpamapS: the status is nothing has happened yet. I've asked Daviey for a prioritized list of security MIR reviews and will be working through that16:21
SpamapSAh16:21
Davieyjdstrand: Yep, that should have been with you already.. Waiting on some more data my side.16:22
philsfI need some sanity check on my apache virtualhosts config. I'm setting apache to listen on the ip address for a virtualhost for testing purposes, before I set the DNS, but it seems to be looking into the index of the wrong vhost.16:22
zulDaviey: i sure hope keystone and horizon are on that list16:22
Davieyzul: naturally16:22
zulDaviey: good16:22
SpamapSlamont: ^^ there you go... I think the MIR team is a bit backed up this cycle. :-P16:22
jdstrandDaviey: I am still going through email this morning...16:22
philsfhttp://paste.ubuntu.com/865332/16:23
SpamapSzul: re python-tz .. was there no possibility to use pythone-dateutil ?16:23
SpamapSzul: I noticed nova or glance or something pulled it in16:23
zulSpamapS: it was a dependency of python-babel which has been dropped16:23
lamontSpamapS: clearly, we need to arrange a small corner to put the MIR team in so we can discuss priorities... :D16:24
jdstrandDaviey: you sent that email? I dont see it. what is the subject?16:26
SpamapSlamont: perhaps we should use...... _THE COMFY CHAIR_16:27
lynxmanSpamapS: noooo, not the comfy chair16:28
SpamapSlynxman: ok then, just the soft cushion16:28
lynxmanSpamapS: that'll show 'em16:28
philsfin the above pastebin are the headers of the two vhosts in question, where it's clear that they have different DocumentRoot's. When accessing the FARMACO vhost DocRoot, however, apache seems to read the index.html ICB vhost, which calls a CGI application that's obviously not there. To make things worse, if I try to access /index.html, it reads the correct one. I've grepped for redirects and found nothing suspicious. Can anyone see what am I doi16:28
philsfng wrong here?16:28
philsfhttp://paste.ubuntu.com/865332/16:28
=== bladernr_ is now known as bladernr_afk
jdstrandzul: the keystone mir is still incomplete awaiting a response from the server team16:29
=== bladernr_afk is now known as bladernr_
Davieyjdstrand: no, i'm still waiting on some more data..16:29
zuljdstrand: and you will have your response on monday16:29
jdstrandDaviey: oh, I see16:29
jdstrandok16:29
Davieyjdstrand: sorry!16:29
jdstrandno worries16:29
jdstrandI already reviewed one keystone...16:29
Davieyjdstrand: It's a full rewrite. :/16:30
Daviey(joy)16:30
jdstrandyeah16:30
jdstrandthat is pretty unfortunate as I reviewed the first one... :|16:30
jdstrandoh well16:30
SpamapSjdstrand: not so unfortunate if you gave it the same negative review as the team who decided to rewrite it ;)16:31
jdstrandheh16:31
jdstrandin terms of time, it was unfortunate. the code audit itself was not super deep16:32
jdstrand(how can it be?)16:32
* jdstrand stops griping16:32
___MAXHi, ubuntu bootmgr is missing press ctrl+alt+del to restart16:34
smbsmoser, utlemming bug 944923 contains all I think to know so far16:41
uvirtbot`Launchpad bug 944923 in linux "[EC2:cg1.4xlarge] CPU#0 stuck for 23s! [migration/0:6] __do_softirq+0x60/0x210" [Low,Triaged] https://launchpad.net/bugs/94492316:41
smbsmoser, It looks like an Oneiric 3.0 kernel does also lag at some point. Just a bit (ok, half as long) less and without softlockup triggering.16:44
=== sixstringsg|away is now known as sixstringsg
hallynSpamapS: I don't see lamont's q.  but yes we're waiting on mir (see -devel)16:50
zulmain openstack projects have been upated to e4 + bugfixes quantum, swift, and melange will be uploaded this afternoon17:25
sixstringsgIf I'm running a make over SSH, what is the best way to make it continue if I disconnect SSH?17:30
rbasaksixstringsg: run it in a screen17:31
sixstringsgYeah, but I hate trying to scroll back in screen...17:32
sixstringsgIn case it fails.17:32
sixstringsgI guess I should just learn screen better, thanks.17:32
rbasakThen you could do make >make.log 2>&1& and then tail -f make.log. Either with screen or without17:32
sixstringsgThanks!17:32
smbor make 2>&1|tee log ...17:33
rbasakOr make 2>&1 |tee make.log17:33
rbasaksmb: :)17:33
sixstringsgSo many options!17:33
rbasakbut that would die if the connection dies17:33
smbrbasak, :) just about the same time17:33
rbasakyou could stick a & at the end I suppose17:33
rbasakbit messy17:33
smbId just use it together with screen17:33
rbasaksixstringsg: if you don't like screen, look at byobu. It wraps screen and makes it a bit more approachable.17:34
rbasakNot sure what it does about the scrollback keybindings though17:34
sixstringsgThanks. Honestly, I just haven't taken the time to learn screen properly.17:34
rbasakYeah it isn't pleasant to learn.17:35
sixstringsgCannot open your terminal '/dev/pts/6' - please check.17:35
sixstringsgI'm getting that with both.. THis is a new server I'm playing with, so I haven't used screen on it yet.17:36
sixstringsgNevermind, fixed.17:36
smbsmoser, Ok, so this hvm delay on vcpu#0 happens all the way back to Natty (at least)17:37
jamespagekirkland, around? have a question about dotdee (might be a bug but not sure)17:52
savidUsing ufw, I want to delete rule NUM, but how do I know which NUM to use (they are not numbered in the status view)?17:55
savidoh, nm.  I needed "status numbered"17:56
whoozdathello17:57
whoozdathowdy ubuntu server users17:57
arthurjohnsonhola17:58
whoozdatneed help setting up bind917:58
whoozdatwhat is $TTL 3D18:02
whoozdatin db.zonefile ?18:02
kirklandjamespage: yo yo, what up?18:02
jamespagekirkland, hey!18:02
jamespageso I'm using dotdee in a couple of charms I'm working on18:02
kirklandjamespage: hey man, hope you're doing well :-)18:03
jamespagekirkland, sure am - hope that life is treating you well as well!18:03
kirklandjamespage: yeah, things going well18:03
jamespagegood18:03
jamespagequestion re dotdee - I should not have to be calling dotdee --update to get it to update a file under management should I?18:04
quesoSo in lucid I installed open-vm-tools in a new virtual machine I just built and it installs the X server?  Something's wrong there.18:10
quesoThere isn't a -nox version of open-vm-tools?18:13
patdk-lap_yep18:14
patdk-lap_oh wait, of open tools? no, of the offical vmware ones, yes18:14
quesohttps://help.ubuntu.com/community/VMware/Tools According to this it's a bug and I should use --no-install-recommends.  Okay, that works :)18:15
guntbertqueso: thx for the heads-up18:18
quesoguntbert: yw18:20
genii-aroundI wonder why server doesn't have APT::Install-Recommends set to 0 by default18:21
kirklandjamespage: correct18:23
kirklandjamespage: it should do that automatically, using inotify18:24
=== sixstringsg is now known as sixstringsg|afk
whoozdathello18:34
whoozdati tried to reinstall bind9 and it just gives me a subprocess error18:34
whoozdatroot@clientx1-lab:~# /etc/init.d/bind9 start18:36
whoozdat * Starting domain name service... bind9                                                                                                               [fail]18:36
whoozdatroot@clientx1-lab:~#18:36
SpamapSwhoozdat: check logs18:39
whoozdatvar/log/syslog?18:39
SpamapSjamespage: any chance you're running on top of overlayfs ?18:39
SpamapSjamespage: inotify no worky in overlayfs18:39
SpamapSwhoozdat: thats the best place to start yes18:40
whoozdatyou are right18:46
whoozdatit iw starting now18:46
whoozdatthakns SpamapS18:47
whoozdatSpamapS, dude its working now18:53
whoozdatthakns18:53
whoozdatroot@clientx1-lab:~# nslookup yahoo.com18:53
whoozdatServer:         10.152.187.218:53
whoozdatAddress:        10.152.187.2#5318:53
whoozdatthank you so much bro18:53
whoozdatdamn the syslog even tells you what line in the named.conf.local has errors18:53
whoozdatI just set up and dns18:54
whoozdatyay!!!!18:54
SpamapSwhoozdat: woot!!18:54
koolhead17zul: /o.0\18:55
whoozone question19:00
whoozwhen I installed 11.10 64-bit, I gave it a hostname, now I changed the hostname tosomething else and it will change and will show when I type hostname, but for some reason ,it changes back to the original one when I installed the OS, what am I missing here?19:02
kantlivelonghow can i setup a nic to be up on boot but unconfigured?19:03
whoozedit /etc/network/interfaces and make it auto for the ethx and choose dhcp19:03
kantlivelongwhooz: im not even looking for dhcp.. just up. no IP19:04
whoozjust leave it blank then19:04
kantlivelongwhooz: would i just do "iface ethX inet manual"19:04
kantlivelong?19:04
whoozon the ifave section19:04
whooziface19:04
whoozdon't put static or dynamic19:05
kantlivelongjust manual19:05
whoozthen choose static19:05
whoozput 0.0.0.019:05
* koolhead17 is happy19:05
kantlivelongah19:05
whoozthen you can change that @ a later time19:05
whoozyou can configure it later if you wish to19:05
kantlivelongwhooz: im bridging the iface w/ vbox and it needs to be up19:05
kantlivelongthats all :P19:05
kantlivelongdanke :)19:06
=== sixstringsg|afk is now known as sixstringsg
kirklandjamespage: are you still having trouble with it?19:42
kirklandjdstrand: did you and soren come to any compromise on https_proxy and ssh-import-id?19:43
kirklandjdstrand: i can absolutely confirm that wget does check and require valid certs by default19:44
kirklandjdstrand: you can override that with wget --no-check-certificate19:44
kirklandjdstrand: but, of course, i would never do that when importing an ssh public key19:44
kirklandjdstrand: as for it doing it correctly, there's always a chance that wget could have security vulnerabilities, as well as problems with the root certs it uses in /etc/ssl19:45
kirklandjdstrand: but that's a general problem, not specific to ssh-import-id19:45
jdstrandwell, the thing I am advocating is defensive coding since this is a sensitive file. part of defensive programming is scrubbing the environment. having a scrubbed environment seems like a sane default, and an option to explicitly whitelist/set https_proxy allows people the flexibility to use https_proxy when they need it19:48
jdstrandI came up with 2 situations where there could be a potential problem. one could argue that they are marginal cases, but I'd rather err on the side of caution with a file of this nature rather than trying to enumerate all the problems and hoping we thought of them all19:50
Davieyjdstrand: try to get LP to sign the +sshkeys :)19:54
SpamapSSo have signing on the socket, and the content?19:55
Davieyno, sign the datasource.19:57
Davieyoh, i se what yu mean19:57
Davieypersonally, i don't think socket is enough.19:58
hallynSpamapS: hm, is there any guarantee that udev is started before runlevel 2?20:03
hallynI thought there would be, but don't actually see it...20:04
hallynmountall (filesystem), yes.  udev, no20:04
hallynstatic-network-up could come close, except for failsafe.conf20:05
raubvogelIf I want a script to be run on monday and on friday, can't I have an /etc/cron.d file with something like * * * * 1,5     root    /usr/local/bin/do-something?20:13
SpamapShallyn: no no guarantee20:14
SpamapShallyn: if you need udev, you need to start on started udev20:14
hallynSpamapS: jinkeys.  Thanks :)20:14
SpamapShallyn: or if you're looking for a particular event...20:15
hallynno no, i was just reviewing an upstartification20:16
raubvogelOops! I forgot to fix time of the day, so it is sending once a week20:17
raubvogelshame on me20:17
jamespagekirkland, SpamapS: I'm seeing this in lxc containers managed by juju - does that user overlayfs?20:23
SpamapSjamespage: no20:24
adam_gzul: do you have a url to where ec2-fixes.patch came from?20:26
zuladam_g: https://review.openstack.org/#change,478820:26
adam_gzul: thanks20:30
uvirtbot`New bug: #945117 in samba (main) "can't edit files in my public guest allow rw folder" [Undecided,New] https://launchpad.net/bugs/94511720:41
kirklandjdstrand: so what would the call look like, for example?  ssh-import-id -e https_proxy jdstrand soren kirkland ?21:00
kirklandjdstrand: where -e says "enable this environment variable"21:00
kirklandjdstrand: and https_proxy is the env variable to whitelist?21:00
jdstrandkirkland: seems fine. alternatively you could always use wget with '--no-proxy' unless the user gives '-p' or '--use-proxy' to ssh-import-id21:02
kirklandsoren: what do you think?  would you use this if I went through the trouble to fix it?21:10
kirklandsoren: it would annoy me greatly as a user21:10
kirklandsoren: but thankfully I'm not behind such a firewall21:10
sorenkirkland: I think "-e https_proxy" is too awkward.21:18
kirklandsoren: i'd agree21:19
kirklandsoren: what about just -e21:19
sorenI mean, sure, I'd use it, because I need the functionality, but just a simple -p or whatever would be much preferred.21:19
kirklandsoren: which means "don't scrub my environment at all"?21:19
sorenAlso, if this could get hooked up through cloud-init... Much appreciated.21:19
kirklandsoren: it already is21:19
kirklandsoren: well, ssh-import-id already is21:19
kirklandsoren: not the proxy bit21:19
sorenRight, that's what I mean.21:19
sorenI use it with cloud-init, but I'm screwed behind this proxy.21:20
kirklandssh_import_id: [$LAUNCHPAD_ID]21:20
kirklandsoren: ah21:20
kirklandsoren: ah, i see, you need the cloud-init support to work with this21:20
kirklandjdstrand: how about just a "-e" option, which says "use my current environment, please don't scrub" ?21:21
sorenssh_import_id: ['-e', 'soren'] <- ftw, I guess.21:21
jdstrandkirkland: that seems overkill but if the default is scrub, I really don't care either way21:24
kirklandjdstrand: okay, yeah, I agree;  default is scrub, if someone trusts and needs their environment, I'll give it to them21:25
kirklandsoren: ah, is that how cloud-init already parses that data?21:25
sorenkirkland: Not sure.21:25
* soren checks21:25
sorenkirkland: Yes.21:25
stgraberhallyn: new kernel!!!21:29
hallynnot built yet though is it?21:30
kirklandsoren: do you have a place you can test this?  http://paste.ubuntu.com/865752/21:30
hallynactually lxc was failing on my one laptop where i'd installed that kernel.  i've not had time to look into it21:30
hallynso i'm a little fjeered21:30
Canadian1296I set up a mail server (postfix and dovecot). How do I actually use it? I tested with telnet and got a 250, but how do I actually send and receive mail?21:30
kirklandsoren: I've verified that it does flip the "env -i wget" and just "wget"21:30
stgraberhallyn: built for amd64 but currently waiting for bin-newing (and still building on the other archs)21:30
stgraberhallyn: they're bumping the ABI so they'll all new to go through NEW, then a new linux-meta needs to be uploaded and finally a new d-i, so it probably won't be installed by default until at least Monday21:32
hallynwell i for one welcome our mount-refusing-apparmor overlords.  you know, whenever they show up in the archive...21:33
hallynstgraber: seems my cgroup patches messed up lxc when you have ns cgroup enabled.  gotta try and fix that on monday21:37
hallyn(cause i'm out the rest of next week)21:38
whoozhello21:38
hallynstgraber: i mention it bc 0.8.0 release presumably will be held up on that being fixed21:38
jdstrandI'll look at the deNEW in a minute21:38
gary_posterhallyn, hi.  we have another ephemeral tweak we need.  The ssh approach we are using to connect in lieu of lxc-attach is biting us a bit.  since our use is automated, we need to connect as the user that has a key that makes everything seamless.  therefore we added that and it does what we need.  The full file is http://paste.ubuntu.com/865763/, and the diff is http://paste.ubuntu.com/865767/.  We don't really love t21:41
gary_posterhis, and we could imagine you not liking it because it takes us farther away from the replaceable illusion that we are using lxc attach...but we need it.21:41
gary_posterother suggestions welcome, of course21:41
gary_posteron a somewhat related note, I've been suggesting to my team that we produce a version of lxc-start-ephemeral that uses aufs, and then try to track what you are doing.  Maybe a nicer approach would be to have a flag in the official version of the script that switches to aufs.  We would only use this if the problems that hurt us with overlayfs were unresolved in precise by the time we needed it, for whatever reason.21:44
gary_poster(we'd be happy to produce that diff if you said it would be ok)21:44
hallyngary_poster: both ubuntu and ubuntu-cloud templates take '-A', so might be nice to keep it as -S for lxc-start-ephemeral21:50
hallynuh, s/-A/-S/ there21:50
hallyngary_poster: i saw the emails this morning and figured aufs support should be added back in as an option21:50
gary_postercool21:50
gary_posterhallyn, cool, -S for auth key, can do.  Do you want me to...file a bug for this, maybe, with the changes?  Or something else?21:52
hallyngary_poster: i'm off most of next week, so if you can write the the patch tha'td cbe great21:52
kirklandsoren: poke me once you've tested and I'll commit21:52
kirklandsoren: and try to get a release team approval for precise21:52
hallyngary_poster: if you're writing the patch anyway, you can do it as a merge request against ubuntu:lxc21:52
gary_posterhallyn, ok cool, will do21:53
gary_posterhallyn, do you want bugs, or don't bother?21:53
hallyngary_poster: thanks much21:53
hallynwell, bugs are good,21:53
hallynto reference in the changelog21:53
gary_posterok we'll file21:53
gary_posterthanks hallyn .  have a nice weekend and time off21:53
hallyngary_poster: thanks21:53
hallyngary_poster: do you guys use '-b' in lxc-start-ephemeral at all?21:56
gary_posterhallyn, yes, though I've wondered if we have to21:56
gary_postergiven default behavior21:57
hallynright i think in my mind i was thinking more like the binduser functionality.  but what the heck, let's not rock the boat right now.21:57
hallynttyl :)21:57
gary_poster:-) ok cool ttyl21:57
=== bladernr_ is now known as bladernr_afk
benjihallyn: here's the MP: https://code.launchpad.net/~benji/ubuntu/precise/lxc/bug-945183/+merge/9567822:10
uvirtbot`New bug: #945177 in nova (main) "not lintian clean" [Undecided,New] https://launchpad.net/bugs/94517722:13
hallynbenji: can you add a changelog entry?  then i'll just accept it and push immediately.22:14
hallynbenji: note i'm a *little* uncomfortable (but probably being pedantic) about LXC_KEY not being defined when not specified22:14
hallynprefer having it initalized to "" before the getopt22:15
uvirtbot`New bug: #945183 in lxc (universe) "lxc-start-ephemeral is difficult to use with non-"ubuntu" accounts" [Undecided,New] https://launchpad.net/bugs/94518322:15
benjihallyn: if you wan't I'll be glad to change it, since you don't use set -e, it won't be a problem to be undefined22:16
* benji adds a changelog entry22:16
hallyni worry about environment poisoning22:17
hallynwon't be a problem when i rewrite it in go :)22:17
hallyn(so that we can set filecaps - we can't do that with scripts)22:17
benjihallyn: what are the leading numbers in these changelogs?  what should I use?22:18
hallynbenji: use "dch -i" which will increment it for you to 0.7.5-3ubuntu3222:19
hallynbenji: at the end of the description, add (LP: #945183)22:19
benjihallyn: I mean the prefixes to each line, like "0050-clone-lvm-sizes:"22:21
benjiis that a branch name?22:21
hallynbenji: oh.  sorry22:21
hallynI guess 0056 now22:21
benjiok22:21
hallynno, wait22:21
hallynbenji: you dont' need a patch, bc this is under debian/22:21
benjiok, so just leave the colon and the bits before out, right?22:22
hallynbenji: right, those are filenames under debian/patches22:22
benjiah, gotcha22:22
benjihallyn: ok, it's pushed, the diff at https://code.launchpad.net/~benji/ubuntu/precise/lxc/bug-945183/+merge/95678 has updated already22:27
hallynbenji: thanks, i'll take a looka nd push.22:27
benjihallyn: cool!22:27
hallynbenji: no wait, did you mean to add 'user:,ssh-key:' to longoptions?22:30
=== dduffey_afk is now known as dduffey
hallynIf not, ok.  IF so, I'll add it real quick22:31
wondermanhi, ive asked many times i know, but can someone help me diagnose 408 HTTP error further if they have time ?22:31
jacobwhi22:33
milkshake_hi :)22:33
benjihallyn: oops, you're right; I'd appreciate it if you could add them22:33
hallynwill do, have a good day22:33
jacobwmilkshake_: do you install the package and did `a2enmod` ?22:36
milkshake_jacobw yes22:36
milkshake_and when I do apache2ctl -M22:36
milkshake_ it lists the mods as enabled22:36
jacobwand apache still doesn't execute perl?22:37
milkshake_nope but I think I need to add a file to the mods-available DIR in apache22:38
wondermanif i am rotating logs, using 'logrotate' and i want to rotate 4 apache logs, what should i do with my 'postrotate' which restarts apache gracefully, surely i dont want to do this 4 times?22:40
jdstrandstgraber, hallyn: fyi, I have reviewed the amd64 for deNEW. I am going to wait on i386 to finish and deNEW them both22:47
jdstrandstgraber, hallyn: I'm talking about the kernel of course22:47
jdstrand(i386 should be done soon I hope)22:47
hallynjdstrand: I'm fuzzy on all that but assume that's good - thanks :)22:50
jdstrandhallyn: just trying to let you know that I am getting you your kernel :)22:50
hallynaweseome :)22:50
neodypsisWhy does apt-get update need SU privileges to execute?22:56
neodypsisHas someone successfully deployed Nginx (from deb http://nginx.org/packages/ubuntu/ lucid nginx) on a production server?23:04
tarvidadded a second nic to access a local LAN and now the default route is through the local LAN instead of the WAN interface23:31
tarvidhow should I change this?23:31
tarvidsince networking restart is deprecated, how are you supposed to restart networking?23:57
humunguloustarvid: how about sudo ifdown eth0; sudo ifup eth023:59
tarvidvery bad if you are remote23:59
humungulouswell, any bounce of the network interface has that property if you are remote23:59
tarvidI'll try it23:59

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