harrywoodI have postgres 8.4 running, but I also have 8.3 installed.   How can I shut down 8.4 and start up 8.3 ?00:31
harrywoodah ok. got it. sudo service postgresql-8.3 start00:38
mathiazkirkland: howdy! have run into this bug 504530?00:52
uvirtbot`Launchpad bug 504530 in euca2ools "euca-register fails to register an image: register_image() takes at least 2 non-keyword arguments (1 given)" [Undecided,New] https://launchpad.net/bugs/50453000:52
mathiazkirkland: this is with the latest version of euca2ools in lucid00:52
ruben23hi are there any chance i can increase my /var directory on my ubuntu server,during installation what i select on partion is the default..00:56
ruben23this is my df -h--->http://pastebin.com/m7c3cf66500:57
ruben23on my volume group i have this--->http://pastebin.com/m199f7cc000:58
ruben23and my lv display--->http://pastebin.com/m7c83e8bd00:59
ruben23anyone have idea..?00:59
ivoksso, no free lvm space?01:03
ruben23ivoks: how do i check it..?01:03
ivoksyou did vg and lvdisplay01:04
ivokshow about pvdisplay01:04
ruben23 PV Size               297.85 GB / not usable 3.64 MB01:04
ivokswhy would you increase /var?01:04
ivoksit's not separate partition01:04
ivoksatm, it's size is 293GB :)01:05
ruben23coz im having recordings on that directory and it getting full.01:05
ruben23im wrong01:05
ivoksyour / (which contains /var) is 4% in use01:05
ruben23what i mean is, does /var directory gets its size on the main partition..?01:06
ruben23so it geeting the size of my 295.28 GB01:06
ruben23ow ok....i guess i dont need to increase it01:07
ivoksyou can't01:07
ivoksyou allocated all disk space to /01:07
ruben23ok thanks..01:07
ivoks /var isn't separate partition anyway01:07
ruben23its part of the /root directory right..?01:07
ivoksits part of /01:08
ruben23ow ok whihc the size is 295 GB01:08
ivoks /root is part of /01:08
ruben23got it...more clear now01:08
ivoksnew to ubuntu?01:09
ruben23yes, but i been studying it..it my server on production01:10
ivoks^^^ good read01:11
uvirtbot`ivoks: Error: "^^" is not a valid command.01:11
ruben23 ivoks:one more thing where did you find that /var is only using 4%...?01:12
ruben23ow ok goodnight01:12
ivokswhole / uses only 4%01:12
ivoksok, i guess you are familiar with windows01:13
ivoksimagine C = /01:13
ivoksand C:\Windows = /var01:13
ruben23ok thanks..yes clear now01:13
ivoksnotice that, unlike windows, /var (or any other path) can be directory or partition01:14
ivoksso / is one partition, but /var can be another - this is not the case with your setup01:15
kirklandmathiaz: hey01:22
kirklandmathiaz: hrm01:22
kirklandmathiaz: let's poke nekro01:22
=== dendrobates is now known as dendro-afk
airliasdesignIs anyone here?02:32
=== dendro-afk is now known as dendrobates
airliasdesignIs anyone here?02:38
xperiahello to all. i have by incident deleted the mail log files in /var/log and now after restarting postfix the files are not created again. do i need to restart syslog to get the files back or do i need to create them itself?02:50
twb*by accident02:51
twbIf the logs are created by syslog, you do not need to create them -- you might need to restart syslog, though.02:51
twbIf the logs are written directly by postfix, I don't know -- I would expect restarting postfix to be sufficient.02:51
xperiatwb: thanks for your reply ! have restarted postfix and the files are not recreated. will try now to restart syslog02:53
xperiatwb: after the restarting of syslog the files were recreated. need now to test if the logs are really written to the files. have the strange root:root ownership for this files. normally it should be if i am not wrong syslog:adm02:58
twbHere, /var/log/mail.{err,info,log} are root:adm02:59
twbThat's on 8.04 with traditional syslog (not rsyslog)02:59
xperiatwb: you are a genius. thank you a lot with helping me with this problem. the log files were recreated after the restart of syslog and postfix write to them with no problem :-)03:00
=== dendrobates is now known as dendro-afk
twbIt probably would have been sufficient to just pkill -HUP syslog03:07
twbThat is what logrotate will do each day, so this would have fixed itself tomorrow03:07
xperiadid not thinked syslog is such intelegent to do this. love intelegent self repairing systems :-)03:18
twbIt's more an happy accident than "self healing"03:35
xperiatwb: i have problem with recieving mails on my system. till yet i have used in main.cf the aliases file for maping the incoming mails to my user account now i have decided to use recipient_canonical file for this but this does not work.03:46
=== erichammond1 is now known as erichammond
twbxperia: that is beyond me knowledge.03:47
twbxperia: try #postfix03:47
xperiathey are only heavy snoobish :-)03:47
twbxperia: you mean they don't want to answer your questions?03:48
xperiaif you ask too much specific question mostly you will read answer like noob ubuntu user :-) to be a ubunut user how want a good bleeding edge system is not easy today.03:51
twbWell, Ubuntu isn't about the bleeding edge.03:52
twbIf you want the very latest versions, you could try LFS, or SourceMage, or Gentoo.03:52
xperiawith bleeding edge i mean having a full configured system that allow you to have a good mailserver for recieving and sending with multiple email adresses. web and dns server with multiple domains and other things that are beyond the default setup.03:55
xperiaif you have question related to this tasks geting a answer as a ubuntu user in other chanels isnt that easy.03:56
twbxperia: have you read the "Smart Questions HOWTO"?04:00
JanCtwb:  ☺04:03
twbJanC: some context, please04:04
JanCI also doubt the Postfix people care about what OS you use  ;)04:04
xperiatwb: the problem is that the people dont are interested to help when somebody ask a specific question. i have asked this question here since 5 min in postfix and till yet nobody answered.04:05
xperiado i need to have the aliases file in main.cf for maping incoming mails to my user account or can i use only this line here for this purpose.04:05
xperiarecipient_canonical_maps = hash:/etc/postfix/recipient_canonical04:05
twbxperia: don't expect a response within five minutes.04:05
JanCeh, 5 min is not exactly a long time04:05
twbxperia: if the channel is slow, it might take HOURS to get a reply.04:05
xperiayeah this could be. maybe the ubuntu-server irc chanell is unique as nearly all the time people are here with good knoweledge and answer question fast. if all chanelles would be this way a lot of prblems could be allready solved and time can be saved04:08
twbThat's because #ubuntu-server isn't a specialist channel, and isn't full of newbies.04:12
twb#emacs is similar.04:12
=== dendro-afk is now known as dendrobates
xperiaokay have solved my postfix problems now. the bug was related to the file /etc/mailname05:14
xperiaif this file contain a different location than localhost mails recieved will be not resolved on the mashine.05:15
xperiathanks for the help see you next time05:15
uvirtbot`New bug: #504615 in eucalyptus (main) "add redirect to default index.html on CLC" [Wishlist,In progress] https://launchpad.net/bugs/50461505:16
Gumbyhi all, I am trying to fix a problem. apt seems to be broken and apt-get update keeps telling me that the files I am downloading are not bzip2 files05:17
GumbyGet:5 http://security.ubuntu.com karmic-security/multiverse Translation-en_US [210B]05:17
Gumby98% [2 Translation-en_US bzip2 0] [Waiting for headers] [Connecting to bzip2: (stdin) is not a bzip2 file.05:17
GumbyIve tried these exact same repos on another box (ubuntu karmic desktop) and it works fine05:18
Gumbyanyone have any idea on what might be wrong?05:19
=== erichammond1 is now known as erichammond
=== dendrobates is now known as dendro-afk
kirklandttx: hey07:12
ttxkirkland: hey, still up ?07:12
kirklandttx: yeah, been busy07:12
kirklandttx: i just uploaded eucalyptus07:12
ttxah ok07:12
kirklandso it probably didn't make the last cd iso build07:12
ttxwill ask for a manual trigger07:13
ttx2am at alpha2, 3am at alpha3...07:13
kirklandttx: heh07:13
ttxkirkland: did you spend some time testing ?07:14
ttxkirkland: aka "did it start an instance" ?07:15
ttxkirkland: kernel team fixed the tun thing yesterday07:15
kirklandttx: i did some testing07:15
kirklandttx: i didn't get an instance running, though07:15
ttxkirkland: any issue you want to pass on ?07:15
kirklandttx: might not have had the kernel07:16
ttxkirkland: ok, then that's the subject of your tomorrow and of my today07:16
ttxkirkland: good night :)07:16
kirklandttx: i'm finishing the minutes now07:16
ttxkirkland: arh :)07:16
kirklandttx: oh, one more ...07:18
kirklandttx: https://launchpad.net/bugs/46120207:18
uvirtbot`Launchpad bug 461202 in eucalyptus "After purging and removing /var/lib/eucalyptus image store is out of sync" [Low,Fix released]07:18
kirklandttx: i couldn't reproduce that one07:18
kirklandttx: so i marked it fix released07:18
kirklandttx: it would be nice if you could confirm that07:18
kirklandttx: it's pretty easy07:18
ttxkirkland: will try07:19
kirklandttx: i did test your changes07:19
kirklandttx: they did install, start up07:19
kirklandttx: but there are still some upstart issues07:19
ttxkirkland: ok, will look with todays daily07:20
kirklandttx: now i'm calling it a night07:21
mario__does anyone know whats gping on here? http://pastebin.com/d3e621f6b08:30
sabgentonI want to show the  grub boot menu on startup what file to i need to edit?08:44
xperiahello to all. i have problem building software with bitbake on my uuntu server. after some 20 to 30 minutes i am getting this error message here08:46
xperiarunning task 1 of 2542 (id: 15, .../recipes/shasum/shasum-native.bb, do setscene)08:46
xperiarunning task 2 of 2542 (id: 75, .../recipes/coreutils/coreutils-native_7.2.bb,do setscene)08:46
xperiaOut of Memory: Kill Process 11335 (python)08:46
xperiaERROR: Task 15 shasum-native.bb do setscene failed08:46
xperiait looks like python use nearly all the ram and somehow the kernel shut it down in the middle of the build proccess08:46
xperiapeople told me this is related to my operating system08:47
xperiahow can i fix this ?08:47
cemcput more RAM in the computer? :-)08:50
cemcobviously there's some memleak, or you don't have enough ram for that build process if it's eating up all your memory08:52
xperiacemc: thanks for sugesstion. cant beleve that ram is the problem as the machine has 1GB RAM. have tryed to build it on a other machine iwth debian/ubuntu and i am getting also the same error message08:54
cemc1GB is not a lot nowadays08:58
cemcdid you try building it on a machine with more RAM ?08:58
cemclike 2GB, 4GB ?08:58
xperiahmmm not till yet will ask other people how had successfull builded the software how much ram did they had.08:59
cemcxperia: is that some opensource software, maybe I can download it and try building it if it's not too complicated, have 4gb ram in here09:00
cemcalso on Ubuntu Karmic09:00
xperiacemc yeah it is open source software. it is called open embedded and is used to run linux on pocket pc phones like this here09:03
xperiagive me just a moment to post the few instructions09:04
=== erichammond1 is now known as erichammond
xperiacemc: http://wiki.openembedded.net/index.php/Getting_Started09:05
xperiaokay have aksed now the other people too and they have told me that they build this on machines with about 3 to 4 GB RAM09:07
xperiaso need a new machine in this case hmm bad09:07
xperiacemc: you dont need anymore to do this. you will need a lot of time only to clone the repo with git. time for setting up the environment will take 2 to 3 Hours.09:08
cemcxperia: is there any readme file with requirements for building?09:09
cemcwhere it says maybe ummm... RAM: 2+GB ? :)09:09
xperiayes that i have also searched but didnt find it till yet. it dont even prove if the build system has enoght recources for doing this. cant answe this question as i am self searching the answer for it :-)09:11
sabgenton_I can't find menu.1st what do i used to edit the grub menu09:11
sabgenton_I can't find menu.1st what do i used to edit the grub menu09:12
xperianeed some gamer system with quad core cpu09:12
guntbertsabgenton_: what ubuntu version?09:12
sabgenton_server kamic09:12
guntbert!grub2 | sabgenton_09:13
ubottusabgenton_: GRUB2 is the default Ubuntu boot manager in Karmic. For more information and troubleshooting on GRUB2 please refer to https://wiki.ubuntu.com/Grub209:13
sabgenton_oh yeah its version 2 now09:13
guntbertindeed :)09:13
sabgenton_I did a distro-upgrade and when it got to the  grub-pc package it screwed up cause I had my ide cables reversed09:14
sabgenton_stupid thing09:14
sabgenton_well it might be my fault I'll tell lmore later09:15
sabgenton_crazy on install of karmic /boot/grub/grub.cfg had hardrives based on /dev/sd somthing09:47
sabgenton_i did an up date an now it's based on  a UUID09:48
sabgenton_I guess its so it knows what hardrive what even if there /dev/sd* location changes09:48
guntbert!uuid | sabgenton_ yes09:49
ubottusabgenton_ yes: To see a list of your devices/partitions and their corresponding UUID's, run this command in a !shell: « sudo blkid » (see https://wiki.ubuntu.com/LibAtaForAtaDisks for the rationale behind the transition to UUID)09:49
sabgenton_is this feature  newer than the initial  karmic release09:50
sabgenton_guntbert: why didn't karmix  have this when i first installed?09:51
sabgenton_was it not release at that point?09:51
guntbertsabgenton_: its defintely not new - why it is implemented in step - no idea09:51
=== erichammond1 is now known as erichammond
sabgenton_guntbert: in step?10:02
guntbertsabgenton_: ah "in steps" - sorry10:03
sabgenton_ah sorry10:03
sabgenton_has anyone ever had a glich where  at the ubuntu login prompt it gets sorta superimposed with a root  prompt?10:05
guntbertsabgenton_: no - care to !pastebin that?10:05
sabgenton_i tryed typing something at this root@ubuntu prompt and then it said invaild comand10:07
sabgenton_and sometimes it said invalid login or whatever l10:07
sabgenton_like it was switching back and forth10:07
sabgenton_guntbert: can't it's gone now10:07
sabgenton_but it's kind a worrying :/10:07
guntbertsabgenton_: you never should have a prompt root@ubuntu - don't enable the root account10:08
sabgenton_its not enabled!10:08
guntbert!noroot | sabgenton_10:08
ubottusabgenton_: We do not support having a root password set. See !root and !wfm for more information.10:08
sabgenton_and i hadn't log on and gone sudo -i ether10:08
sabgenton_guntbert: I rember one time it was a real pain not being able to scp as root10:09
sabgenton_but anyway i'm not using the root at all10:10
guntbertsabgenton_: ah that was you ...10:10
sabgenton_couple of years ago10:10
guntbertsabgenton_: ok - my error - sorry - we had someone with that last week10:11
sabgenton_guntbert: did you tell him to passwd root then when done sudo usermod -p '!' root back10:13
sabgenton_(no harm?)10:13
guntbertsabgenton_: no - I only listened to the conversation10:14
sabgenton_ah see10:14
sabgenton_well did someone else sugest it?10:14
sabgenton_or was it considered a no no10:15
guntbertsabgenton_: I really don't remember details10:15
sabgenton_seems a bit strange not to suport it10:15
sabgenton_is it somthing strange - the reason10:16
sabgenton_or does ubuntu just not suport people acdently typing things with no protection of "do sudo first"10:16
cemcwhat if I need to rsync some stuff only root has access to to/from an ubuntu box (or between two ubuntu boxes)? rsyncd isn't too recommended either ;)10:17
sabgenton_whats the big deall in not suporting it10:18
sabgenton_the only reason i can thing of is users stuffing things cause they don't have the little promt warning "use sudo"10:19
cemcprobably it opens up a lot more problems in general, if people (who don't have some degree of knowledge) start using root and breaking stuff ;)10:19
sabgenton_yeah that I understand as above^10:19
sabgenton_but i I need to rsync like you said and then I have a problem with rsync (unrelated to sudo vs root) are they now going to "not support me" because i didn't use sudo (imposble / impactical)10:21
sabgenton_seems strange10:21
sabgenton_to use the linux term10:21
sabgenton_I'm not really trying to fight  or anything just want to know if theres something I'm missing in the tecnical10:22
sabgenton_out side of lots of noobs getting carryed away10:22
cemcanother way is to go to #linux and treat your problem as a general linux problem, disregarding the distro a bit ;)10:22
cemcjust be careful not to mess up anything really ubuntu-specific ;)10:23
cemcit's just linux :)10:23
cemcwith some flavouring, heh10:23
sabgenton_cemc: its funney the politics in distro chanels :)10:24
sabgenton_ / irc in general10:24
cemcif you need root, use root, just know about the dangers, and don't recommend to other people :)10:24
guntbertsabgenton_: you did read https://help.ubuntu.com/community/RootSudo of course10:24
acalvois there any difference between SATA I, II and III?11:23
acalvoare they compatible?11:23
cemcis this correct for crontab? 05 0-12,17-23/2 * * * (every other hour except from 12-17) ?11:39
jiboumanscemc: http://adminschoice.com/crontab-quick-reference11:42
awhanbizhi, i need help in setting up thin client12:18
awhanbizi m planning to use linux as thin client12:19
awhanbizis xubuntu good to go?12:19
uvirtbot`New bug: #497831 in eucalyptus (main) "Eucalyptus-SC doesn't ask the cluster-name question" [High,In progress] https://launchpad.net/bugs/49783113:07
HellsheepHey guys, throughout the night someone has been attempting to log in to ssh on my server, what's some kind of good software to automatically block an IP after a certain number of failed logins? I13:14
Hellsheepam using Ubuntu 9.0413:14
RoyKHellsheep: fail2ban13:15
HellsheepThanks :D13:15
RoyKworks well - interfaces with iptables to block IPs for some time after a certain amount of failed logins13:15
HellsheepCool cool, sounds like exactly what i want13:15
HellsheepIs it quite easy to configure?13:16
HellsheepBit of a noob with servers :P13:16
PiciHellsheep: The defaults work fine for most people13:17
jpdsOr just use SSH keys for login and block off passwords.13:18
HellsheepThanks :)13:20
HellsheepI found some docs on it and am reading it now :)13:20
RoyKHellsheep: I'm using that on 20+ servers with linux and solaris - works well :)13:20
HellsheepAwesome :)13:21
HellsheepI had something like13:21
Hellsheep500-700 login attemps13:21
HellsheepI cant count exactly :P13:21
HellsheepI dunno how to13:22
HellsheepIs it really worth reporting the IP's at all?13:22
RoyKit's just worms13:22
Hellsheepah i see13:22
RoyKjust block them for 30 minutes or something13:22
RoyKblocking them too long will make it hard if you fail yourself :þ13:23
RoyKthere was some thought of adding cumulatively increasing blocks, but I don't think it's been done yet13:26
RoyKanyway - should be trivial13:26
HellsheepMaxretry the number of login attemps13:26
HellsheepBefore getting banned13:26
RoyKoh - it's in already?13:27
* RoyK checks13:27
HellsheepI have "maxretry"13:27
HellsheepBelow the time to ban them13:27
RoyKmaxretry means how many times they can retry before getting banned13:29
HellsheepAh cool13:29
RoyKwhat I meant was 'if x.x.x.x is banned and the ban is removed and x.x.x.x tries another n times, the next time it fails, it's banned for x*2^failcount minutes13:30
HellsheepOhhh yep i see13:30
RoyKnot a big issue, though13:30
HellsheepAll configured :D13:30
HellsheepThat was easy13:30
RoyKHellsheep: what's the ip?13:31
HellsheepMy IP?13:31
RoyKyeah - lemme try :D13:31
HellsheepFor the server13:31
bogeyd6Anyone know how to resolve the issue where an Outlook user sends email to a blackberry phone and its all gobbedly gook because all of the tags are showing and you are basically reading a bunch of HTML.13:31
RoyKHellsheep: hm. eight attempts and still not blocked13:33
RoyKcheck logs13:33
HellsheepIt was set to 613:33
Hellsheepi see the logs13:33
RoyKset it to 313:34
HellsheepJan  8 16:34:52 basetek sshd[20080]: Failed password for root from  port 61249 ssh213:34
RoyKno ip?13:34
HellsheepI removed it13:34
Hellsheepin case13:34
HellsheepJan  8 16:34:52 basetek sshd[20080]: Failed password for root from port 61249 ssh213:34
HellsheepThats it13:34
RoyKthat's mine13:34
RoyKpeople can find my IP if they want it anyway :)13:34
RoyKHellsheep: is fail2ban running?13:34
HellsheepOne question13:35
HellsheepCould it be related to iptables not being configured?13:35
RoyKit configures iptables13:35
RoyKiptables -I INPUT -s x.x.x.x -j DROP13:36
RoyKthat sort of thing13:36
Hellsheepah okay13:36
RoyKtry iptables -vnL13:36
RoyKsee if that shows anything13:36
HellsheepChain fail2ban-ssh (1 references)13:36
Hellsheep pkts bytes target     prot opt in     out     source               destination13:36
Hellsheep    0     0 RETURN     all  --  *      *  
HellsheepOnly thing relating to fail2ban in there13:36
RoyKhm.. seems fail2ban isn't parsing the logs, then13:37
HellsheepLemme check i got it right13:37
HellsheepOkay, webmin reports my failed ssh in /var/logauth.log13:37
HellsheepI think i have it set to /var/log/logauth.log13:38
HellsheepThats why.13:38
HellsheepMy bad lol13:38
RoyKset max to 313:38
RoyKlemme test again13:38
HellsheepOkay go again13:38
Hellsheep2010-01-08 16:40:48,197 fail2ban.actions: WARNING [ssh] Ban
HellsheepChain fail2ban-ssh (1 references)13:40
Hellsheep pkts bytes target     prot opt in     out     source               destination13:40
Hellsheep   17   912 DROP       all  --  *      *
Hellsheep    0     0 RETURN     all  --  *      *  
HellsheepMuch better13:40
ewookmm, fail2ban is nice.13:41
HellsheepThanks for that RoyK13:45
RoyKHellsheep: :)13:47
RoyKHellsheep: looks like it parsed auth.log before I tried to login again13:49
RoyKit was banned on first attempt13:49
jiboumansmathiaz: running a few mins late, sorry13:59
mathiazjiboumans: ok13:59
RoyKfuck this country14:03
jiboumansmathiaz: eta 1 min :)14:04
jussi01RoyK: watch the language please14:04
RoyKjussi01: do we have another anti-swearing bot?14:04
RoyKjussi01: I use the English language. Any other prefferd?14:05
RoyKpreferred, perhaps14:05
jussi01RoyK: the ubuntu channels have some guidelines, please follow them14:05
ubottuThe guidelines for using the Ubuntu channels can be found here: http://wiki.ubuntu.com/IrcGuidelines14:05
RoyKjussi01: such as not using English?14:05
jussi01!language | RoyK14:05
ubottuRoyK: Please watch your language and topic to help keep this channel family friendly.14:05
RoyKjussi01: most families knows English, sir14:06
RoyKjussi01: or do you mean "palin friendly"?14:06
jussi01RoyK: ok, please dont swear, as expressly stated in the guidelines14:07
RoyKjussi01: can you please tell me what is wrong with weighting expressions?14:07
RoyKjussi01: explain why the hell you don't want me to use certain amounts of certain languages14:08
RoyKthere's no kids in here anyway14:08
RoyKnone that haven't grown accostumed to common language, anyway14:08
RoyKjussi01: or are you just a shell script, unable to answer straight questions?14:09
* RoyK finds it strange that some idiot like jussi01 just complains about the language and doesn't say anything else in here14:10
RoyKfucking bot14:10
sorenRoyK: Calm down.14:11
jussi01RoyK: thanks for your patience.... my connection died... :/14:12
RoyKI wonde wtf wrote those "guidelines"14:12
RoyKdoes everything have to be church-friendly?14:12
sorenRoyK: Dude. Quit being an arse.14:13
RoyKsoren: I'm not14:13
sorenThere you go again.14:13
jussi01RoyK: if you wish to discuss the guidelines, please feel free to join us in #ubuntu-ops14:13
RoyKsoren: I'm just concerned that some people are more obsessed about certain parts of the English language than they are about the technical issues described in here14:14
sorenRoyK: You're the one spending most time arguing about it.14:14
RoyKsoren: well, mr jussi01 here hasn't said a word helping others as far as I can see from my logs, but was very quick to bitch me about language. is that fair?14:15
sorenRoyK: Give it a rest.14:15
RoyKI will14:16
sorenThank you.14:17
Doonzhey guys i have 2 servers running 9.10 on them. Im trying to preform an Rsync transfer without the use of compression. one server is 100Mbit both ways the other is on a 20/1mbit line. Ive ran speeds tests from both servers and they do hit their max speeds. but when transfering from the 100mbit box to the 20mbit box i cant go any faster than around 200KB/s any ideas?14:21
zulsmoser: ping14:21
Doonzi should just add scp transfers are the same thing14:22
RoyKDoonz: I guess the 1Mbps uplink performs worse than defined14:23
DoonzROy the 1mbit link does not upload14:23
Doonzits the 100mbit link that does and it preforms as expected14:23
RoyKDoonz: does scp and rsync perform similar?14:24
cemcDoonz: where do you see that 200KB/s ?14:24
Doonzidentical top end speeds14:24
Doonzgoing from 100mb it to 20mbit14:24
cemcdid you try to test with say iperf between them?14:26
cemccould there be some other limitation between them? like say an ISP limiting some traffic ?14:27
abliHi! what inetd is installed by default on hardy? (8.04.3)14:28
sorenabli: none.14:28
abliOk, thanks.14:29
_rubenrsync probably requires a fair ammount of uploading on the remote end as well, to verify/check/determine what to transfer14:29
Doonzcemc:  whats iperf14:30
_rubennetwork performance tester14:30
cemcthat won't read from disk or do any compressing/other things, it (should) just tests the bandwidth. install it on both ubuntus and try it14:31
cemcDoonz: also make sure that the 20/1 link is not uploading anything else, because if the upload bw is full'ish, the 20mbps download could suffer14:35
Doonzyeah yeah yeah this isnt my first time on the inter14:35
cemcok, just making sure :)14:35
kirklandttx: hey14:38
ttxkirkland: yo14:38
kirklandttx: so are you able to run instances with today's code?14:38
ttxculdn't on a CLC / Walrus separated setup14:38
kirklandttx: what about all-in-one?14:39
ttxI'm reproducing on a classic CLC+Walrus/CC+SC to see if that's specific to Walrus separate or not14:39
cemcDoonz: start a rsync/ssh, then on the 20/1 end put a dstat on the interface and see what's happening (upload doesn't get full). do you rsync through ssh? maybe ssh is limited, try a rsync://14:39
ttxkirkland: test in progress14:39
kirklandttx: k -- i'm about to rebuild my cluster14:39
ttxall registration should work with my latest fix14:39
kirklandttx: is there a topology you'd like me to focus on?14:39
=== dendro-afk is now known as dendrobates
ttxkirkland: not really, any should work14:39
kirklandttx: btw ...14:40
ttxnote that there is an issue with eucalyptus-cc separate14:40
ttxbug 50470414:40
kirklandttx: i setup a pxe/tftp server and i've been doing netinstalls all week14:40
uvirtbot`ttx: Error: Could not parse data returned by Launchpad: The read operation timed out14:40
kirklandttx: it's super sweet14:40
ttxusing anna/choose_modules=eucalyptus-udeb ?14:40
ttxbug 50470414:40
kirklandttx: yeah, preseeding that too14:40
uvirtbot`Launchpad bug 504704 in eucalyptus "[lucid] On CC-only setups, eucalyptus-cc fails to start at boot" [Medium,Triaged] https://launchpad.net/bugs/50470414:40
kirklandttx: it makes me wonder ...14:41
ttxI need to bring a disk and sync with your mirror14:41
kirklandttx: if we should create a eucalyptus-netboot package14:41
ttxso that I don't download 200 Gb on my small DSL line14:41
kirklandttx: optional, suggested, that can be installed on the CLC14:41
kirklandttx: sure14:41
kirklandttx: i have totally hands-off, no-touch installs working now14:42
kirklandttx: takes minutes14:42
ttxkirkland: interesting14:42
kirklandttx: an in fact ...14:42
ttxkirkland: what would the package specifically do ?14:42
kirklandttx: install tftp14:42
kirklandttx: set up /var/lib/tftpboot14:42
ttxwith a few example preseeds ?14:43
kirklandttx: yeah, add some preseeds14:43
ttxsure, sounds like a good timesaver14:43
kirklandttx: one for each of our defined, well-supported topologies14:43
kirklandttx: mathiaz mentioned that there's a similar spec, for autoinstalls14:43
kirklandttx: anyway, i think UEC is interesting because you never install just one machine14:44
kirklandttx: once you've installed >= 3 machines, i find it's faster to have setup a network install service14:44
kirklandttx: there is one other, simpler option ....14:44
kirklandttx: we could make the CLC recommend squid14:44
kirklandttx: and make all dependent nodes use it as their caching proxy14:45
kirklandttx: *that* would save you a lot of time, if you had a transparent caching proxy14:45
kirklandttx: we did this at Intel14:45
kirklandttx: it worked *marvelously*14:45
ttxsounds like a nice best practice14:45
kirklandttx: i think we should default the CLC to being a squid proxy, IMHO14:45
kirklandttx: since all of your nodes will pull the same packages over and over and over again, on updates, and such14:46
ttxabout bug 504704, its linked to the "eucalyptus-cc starts on started eucalyptus" issue14:46
uvirtbot`Launchpad bug 504704 in eucalyptus "[lucid] On CC-only setups, eucalyptus-cc fails to start at boot" [Medium,Triaged] https://launchpad.net/bugs/50470414:46
kirklandttx: and since the CLC serves a preseed file, we could easily set that in one place14:46
ttxon a -cc only install that will fail14:46
kirklandttx: right so i was too tired to explain this to you last night14:47
ttxkirkland: so we are back at "should eucalyptus upstart script really be used to manage all eucalyptus in any configuration"14:47
kirklandttx: but i worked for several hours on that one14:47
ttxkirkland: for NC, right14:47
kirklandttx: right, and i have a reasonable hack that makes that work, sort of14:47
ttxbasically, CC has the same issue, only more annoying14:47
ttxsince CC is regularly installed with other stuff14:48
kirklandttx: yeah14:48
kirklandttx: so i'm pretty sure that something is broken with:14:48
ttxso having a single "stop eucayptus" is really nice there14:48
kirklandstart on (started foo and started bar)14:48
ttxyes, that's "The Upstart Bug"14:48
kirklandttx: i'm going to talk with keybuk about that now in -devel14:48
ttxjust some background before you start14:49
uvirtbot`Launchpad bug 503850 in eucalyptus "Upstart publication scripts no longer run" [High,Fix released]14:49
ttxkirkland: I'll follow the discussion14:50
ttxkirkland: but apparently it's a known issue14:51
ttxkirkland: that is not planned to be fixed in lucid14:51
ttxkirkland: that doesn't mean there is no other way to achieve the same result14:51
ttxkirkland: so picking Keybuk's brain about it is good.14:51
kirklandttx: okay, well our other option is emitting signals14:52
kirklandttx: initctl emit "eucalyptus-is-running"14:52
kirklandttx: we can start on that14:52
ttxkirkland: that's worth a try14:53
kirklandttx: yup, apw says that's "The Upstart Bug"14:53
ttxnot sure keybuk is around14:54
apwit sounds like TUB to me.  not sure if it is a bug, or intended14:54
apwbut its confusing what it means for sure14:54
smoserzul, i'll be in in ~30 minutes14:57
zulsmoser: k14:57
=== robbiew1 is now known as robbiew
coffeedudejdstrand, I was going to ask you about BUG 274530 but looks like you are already working on it.15:14
uvirtbot`Launchpad bug 274530 in openoffice.org "cell with german umlaut incorrectly displayed" [Undecided,Invalid] https://launchpad.net/bugs/27453015:14
coffeedudejdstrand, Ummm...meant bug 27435015:14
uvirtbot`Launchpad bug 274350 in likewise-open "apparmor HOMEDIRS not adjusted for likewise" [High,In progress] https://launchpad.net/bugs/27435015:14
jdstrandcoffeedude: yeah-- it will be a small debdiff. I'll have it soon (it's building locally)15:14
coffeedudejdstrand, cool.  I'm assuming it is too late for alpha2.  or not?15:15
jdstrandcoffeedude: I was thinking if you approved it, I'd upload15:15
coffeedudejdstrand, Sure.  should be a trivial diff.  Sounds good.  Just ping me and I'll review it as soon as you are ready.15:16
jdstrandcoffeedude: thanks!15:16
jdstrandcoffeedude: btw, as I'm sure you know, the source was accepted, and I just accepted the binaries about 30 minutes ago15:18
coffeedudejdstrand, for the new likewise-open_5.4 packages?15:19
* coffeedude cheers15:19
jdstrandcoffeedude: ^15:19
coffeedudejdstrand, cool beans.  Makes me happy.15:21
ankit_babbarsome one here to help me with ldap15:24
ankit_babbarhello some 1 dr to help15:25
sorenWe can't help if you don't ask a question.15:26
ttxkirkland: my testing blocks on bug 50453015:29
uvirtbot`Launchpad bug 504530 in euca2ools "euca-register fails to register an image: register_image() takes at least 2 non-keyword arguments (1 given)" [High,Confirmed] https://launchpad.net/bugs/50453015:29
kirklandttx: oh, yeah, damn15:29
kirklandttx: we need neil for that one15:29
kirklandttx: would you send an email to Canonical-Eucalyptus?15:29
ttxkirkland: ok15:30
ankit_babbarI have got stuck in ldap from amonth15:31
ankit_babbarCan you tell me how to ssh using an ldap account15:31
ankit_babbarAnd while I do machine authentication is autofs nedded to load a particular home directory for remote user?15:31
ttxkirkland: done15:32
zulsmoser: im testing my ec2-config scripts on ec2 instance ill be updating the debian packaging as well fyi15:32
kirklandttx: cheers15:33
ttxkirkland: fwiw, reverting to the previous euca2ools doesn't seem to solve it15:34
ttxso it might indeed be a eucalyptus issue instead15:34
kirklandttx: i looked at the source15:34
kirklandttx: it's in a library somewhere15:34
kirklandttx: the bug is15:34
kirklandttx: as that one tool doesn't take more than one argument15:35
kirklandttx: but it sources something that makes it think that it does15:35
smoserzul, thats cool. try starting witih my build in my ppa15:37
zulsmoser: ill get the things working here and then ill merge your branch and re-test them sounds ok?15:39
smoserbzr+ssh://bazaar.launchpad.net/~smoser/ec2-init/ec2-init.devel.pkg is pkg branch at this point. i just pushed it.15:39
smosererr, try bzr push lp:~smoser/+junk/ec2-init.devel.pkg instead.15:39
smoserzul, if you'd like i can do that work.15:39
smoseri can just merge your package into mine15:39
zulsmoser: sure ill ping you when im ready15:40
smoserok. i'll be back in a bit now15:40
=== dendro-afk is now known as dendrobates
CromulentI'm trying to install the Java EE SDK on my 9.10 32bit server but it says it requires the DISPLAY environment variable be set - do you know what I should set it too?15:45
=== dendro-afk is now known as dendrobates
ttxzul: pastedeploty doesn't seem to have been reviewed yet ?15:48
zulits been renamed to paste15:48
=== dendro-afk is now known as dendrobates
ttxzul: what does that mean ? There is another bug about it ?15:49
zulttx: just a sec15:49
zulttx: crap hold on15:51
zulttx: yeah it hasnt been reviewed yet15:51
zulsorry i got confused15:51
zulit needs to be reviewed15:51
ttxsame for pastescript, right15:52
zulpastescript has15:53
zulit was done this morning15:54
ttxzul: ah, right15:54
vishmathiaz: hi... is the server team using Papercuts project to fix trivial bugs on the server side or using a different project? why I ask is regarding Bug #194472 , mpt mentioned we need to keep the desktop goal of not using the terminal and it needs to be decided by the server team...15:55
uvirtbot`Launchpad bug 194472 in hundredpapercuts "Entering password in Terminal gives no visual feedback" [Low,Fix committed] https://launchpad.net/bugs/19447215:55
* ttx doesn't refresh sufficiently fast15:55
vishmathiaz: to my knowledge , there havent been any server "papercuts" ... should i cancel the papercut task?15:56
ttxvish: we plan to have server papercuts. I'm not sure that one would be accepted as a "server papercut" though15:57
=== dendrobates is now known as dendro-afk
=== dendro-afk is now known as dendrobates
vishttx: from what i hear it fix is to show the stars only during user entry and it disappears once the users hits "return" ... [personally i would like that , but my main concern is regarding the papercut task] mpt mentioned to check with you guys first15:59
=== dendrobates is now known as dendro-afk
=== dendro-afk is now known as dendrobates
ttxvish: I'd reject it as a onehundredpapercuts bug and nominate it for the server papercuts project, whenever this starts (in a few weeks)16:02
ttxi'll send an email about that project soon16:02
vishttx: cool , thanks :)16:02
ttxwe are still in the process of defining what would make a server papercut :)16:02
vishttx: isnt that bug a security risk? should it be marked so?16:07
=== dendrobates is now known as dendro-afk
=== dendro-afk is now known as dendrobates
ttxvish: depends on implementation, I suppose16:08
vishhmm , ok.. i'll leave it as such16:09
=== dendrobates is now known as dendro-afk
=== dendro-afk is now known as dendrobates
=== dendrobates is now known as dendro-afk
=== dendro-afk is now known as dendrobates
engine252i have a question i'm running ubuntu-server on qemu/kvm16:16
engine252 i'm connecting to the internet via a wireless network is there a way to attach the virtual server to the phisical network?16:16
engine252 i want to access my server from the internet16:16
Piciengine252: How is the host computer connected to the network/internet?16:18
engine252now it is connected with a NAT configuration16:18
engine252oh no , wireless16:18
engine252the guest through NAT16:19
engine252guest = ubuntu-server16:19
Piciengine252: I'm not sure sorry, I just wanted to make sure that the others here had enough information to answer16:21
engine252see i also have vmware workstation installed and there i can configure a bridged network but i can't seem to configure the same for kvm16:23
dasunsru1e32Hello, I am having issues with likewise-open5 on Karmic. I can sucessfully log the machine onto the domain, it registers with Active Directory; however, when I reboot, I can no longer auth to LDAP. I have to log the machine off/on the domain without rebooting to be able to login in. What could be the issue? Thank you for your help.16:40
coffeedudedasunsru1e32, do you mean you are using pam/nss_ldap on your system as well as likewise-open?16:44
coffeedudedasunsru1e32, or justy that you cannot log in with domain credentials after the reboot?16:45
dasunsru1e32I have installed likewise-open516:45
dasunsru1e32and used this guide to setup: https://help.ubuntu.com/9.10/serverguide/C/likewise-open.html16:45
dasunsru1e32it works, until I reboot16:45
dasunsru1e32It was fine, I am not sure what is happening or why all the sudden it is failing after reboot16:46
coffeedudedasunsru1e32, can you verify that the following processes are running after reboot: lsassd, netlogond, npcmuxd16:46
=== dendro-afk is now known as dendrobates
coffeedudehey dendrobates16:47
dasunsru1e32root      3250  0.0  0.2 198844  7296 ?        Sl   09:30   0:00 /usr/sbin/lsassd --start-as-daemon16:47
dasunsru1e32root      2047  0.0  0.0  82428  2268 ?        Sl   09:24   0:00 /usr/sbin/netlogond --start-as-daemon16:47
dasunsru1e32root      2065  0.0  0.0  88312  1064 ?        Sl   09:24   0:00 /usr/sbin/npcmuxd --start-as-daemon16:48
dasunsru1e32Now, I have not rebooted yet16:48
coffeedudedasunsru1e32, Ahh,...yeah.  Make sure after the reboot then.16:49
dasunsru1e32ok, I will be right back, since I am on the machine that is affected16:50
ttxjjohansen: is it still the plan to fix bug 494565 today ?16:53
uvirtbot`Launchpad bug 494565 in linux "support ramdiskless boot for relavant kvm drive interfaces in -virtual" [Low,Triaged] https://launchpad.net/bugs/49456516:53
coffeedudedasunsrule32, wb16:53
dasunsrule32one sec16:54
dasunsrule32I am checking the services16:54
jjohansenttx: sorry that won't hit today16:54
ttxjjohansen: so that won't hit for alpha2 ?16:54
dasunsrule32what were the other two services?16:54
ttxjjohansen: ok.16:54
dasunsrule32lsassd is running16:54
coffeedudedasunsrule32, npcmuxd and netlogond16:55
coffeedudedasunsrule32,  those 3 should be the only required ones.16:56
dasunsrule32They are all running, I tried to login and I can't16:56
coffeedudedasunsrule32, ok,  moving to private channel then so we can debug.16:56
dasunsrule32how do I pm in irc?16:57
coffeedudedasunsrule32: "/query nick".  But I'll open up a private chat so you should see it now.16:58
guntbertdasunsrule32: /msg nick here comes your text16:58
RoyKdasunsrule32: /msg google irc commands :þ17:01
ttxkirkland: neil explanation doesn't sound very good to me, looks like we'll have to revert to a previous boto17:11
* ttx is not really here anymore, will be back later for catchup17:13
kirklandttx: urgh17:15
kirklandttx: well, i think it's important that we have this working for A217:15
kirklandttx: i milestoned the bug17:15
kirklandttx: looks like smoser did the merge17:22
kirklandsmoser: so looks like the newer python-boto is breaking euca-tools, according to neil17:22
kirklandsmoser: see the mail on Canonical-Eucalyptus from Neil17:23
kirklandsmoser: he recommends reverting for Lucid17:23
kirklandsmoser: i don't know how that sits with you17:23
zulsmoser: isnt that suppose to be "crap"?17:23
smoserwell, i wasn't aware of "the boto upstream is going to be releasing another version soon from what I understand."17:24
smoser1.9 makes parts of ec2-init much easier17:25
smoserits not something that couldn't be worked around, but basically, I want the boto.utils.get_instance_metadata from boto 1.917:26
smoserwe can revert, but then i have to get the functionality it was giving me.17:29
ttxkirkland, smoser: hmhm17:32
smoseri will admit that it is probably less work for me to work aroudn than to work around in euca2ools, ie, ec2-init uses less of boto than they do17:33
ttxsmoser: yes, but you don't need the extra layer of work17:33
smoserbut debian has 1.9 now17:33
smoserwell, right. but neither do eucatools folks.17:34
* ttx is kinda happy to see API issues not biting only java libraries17:34
smoserso , here was my thoughts17:34
smoserhere is why i wanted 1.917:34
smoser- i needed to be able to crawl the metadata service, getting all the data that was there.17:34
smoser- boto1.8 has a boto.utils.get_instance_metadata() that does that, but has bugs where it doesn't get it all.17:35
smoser- boto1.9 gets it all17:35
smoserso i was looking at17:35
smosera.) reimplementing it17:35
ttxkirkland: we need to know the extent of the APi breakage in euca2ools, to see how feasible it is to patch on our end17:36
ttxkirkland: if it's limited to a few functions, it might be doable for us to patch euca2ools for compatibility17:36
smoserb.) copying it (licensing of boto is MIT, ec2init is GPL)17:36
ttxkirkland: I understand that upstream doesn't want to support both17:37
smoserso i guess i could copy to ec2init17:37
smoseri dont know tha ti have the insigght to declare that from a boto perspective 1.9 will be more easily supported for 5 years17:37
smoserthan 1.817:37
ttxkirkland: we need more detail to come up with the best solution17:39
ttxI've got to go -- be back later to discuss it if needed17:39
smoseri'm almost certain that it'd be easiest fo rme to copy parts of boto17:39
ttxsmoser: how about overriding the functions in 1.8 with some imported 1.9 code ?17:40
ttxpython allows for some nice function = my_function17:40
smosertrue. yeah, its largely standalone i think. i just have to copy it somewhere.17:40
ttxsmoser: depends on how much your desired function depends on other parts of the code, obviously17:41
ttxI'm gone now, back in 100 minutes or so.17:42
cemc100? :) why not 2 hours? :)17:42
smosermetric system17:43
=== luis__lopez is now known as luis_lopez
zulle french est weird17:58
zulsmoser: if we are going to have runurl suppor in ec2-config then it should really be in the archive :)18:57
erichammondzul: I've gotta run, but at some point I'd be interested to hear what is meant by "runurl support in ec2-config".19:02
smoseri kind of wonder what that is too.19:04
smoseri think the goal was to, from cloud-config support something like:19:04
smoserrun-url: http://short.url.asdf arg1 arg219:04
smoserzul, if you want me to implement run-url, its fairly easy19:04
zulsmoser: yes please :)19:05
erichammondrunurl was intended to be a command line extension where you can pass it parameters and do things with return values and output just like any other shell command.  If ec2-config has a way to run shell script blobs, and runurl is installed, then that gives more power than just letting them specify a URL and arguments.19:05
zulsmoser: i put it in my yaml file19:05
erichammondE.g., we do things like: if runurl SOMEURL SOMEPARMS; then ...; else ...; fi19:06
erichammondor: runurl SOMEURL SOMEPARMS > SOMEFILE19:06
smosersure, easy enough to add a command to do that. i'm not really sure what the intent of that item was... lost in UDS brain19:07
erichammondsmoser: A command to do what?19:07
smoserif we had a 'command' named runurl19:07
smoserthat then the cloud-config would just invoke19:07
smoserand could be used elsewhere too19:07
erichammondAgreed.  The AMIs I build have a command named runurl.  I publish it in the Alestic PPA.19:08
erichammondIf you're going to rewrite it, please let me review so that we can make sure it is backwards compatible.  For example, I use wget which enables some cool features like being able to drop the "http://" for easier to read command lines.19:09
erichammondI'll be back on in a few hours.19:10
zulyo ttx19:12
ttxzul: sssshhh. I'm not here !19:12
uvirtbot`New bug: #504897 in nut (main) "megatec_usb problem (did not claim interface)" [Undecided,New] https://launchpad.net/bugs/50489719:16
phitooHello all! I was wondering if there was a place where I could track development of LXC in Ubuntu?19:19
jiboumansphitoo: there's a blueprint for it19:19
jiboumansphitoo: https://blueprints.launchpad.net/ubuntu/+spec/server-lucid-contextualization19:20
phitoojiboumans: Thanks. Now looking... :-)19:22
phitoojiboumans: OK! Is there some sort of status report? Some way to report issues? I expect to be testing it in the next Alpha release.19:26
jiboumansphitoo: the spec is targeted for lucid but not yet accepted. We're considering if we can add it for the next milestone (alpha3) which will be completed by late february19:33
jiboumansttx++ # sex lead, ha!19:35
ttxjiboumans: way more sexy than DX or DUX19:36
=== A_Tuin is now known as A-Tuin_
phitoojiboumans: Is there anything I can do or say to push for acceptation? I can test but not develop.19:41
bkonkleQuick question - we're about to replace a drive in an HP ProLiant server with Raid 1+0.  Is there a way that we can monitor the raid rebuild progress within the Ubuntu command line?20:10
dasunsru1e32I thought you could cat /dev/mdm$device_number20:13
ttxphitoo: you can propose your testing skills to the spec assignee20:13
ttxphitoo: I'm sure he will make good use of you ;)20:13
bkonkleHmm - I just looked under /dev, and we have no mdm devices.  I'm guessing that's for software Raid, and we're using hardware raid built into the Proliant server20:14
kirklandcjwatson: hey, idea i wanted to run by you ...20:16
kirklandcjwatson: tell me if i'm off the reservation20:16
kirklandcjwatson: i find it really useful to install a caching squid proxy on my CLC20:17
dasunsru1e32bkonkle: you would need to see if HP has any software that would let you monitor it then I believe20:17
dasunsru1e32mdm would be s/w raid20:17
kirklandcjwatson: and point all of the UEC components to use the CLC as its proxy server20:17
bkonkleOkay, got it.20:17
bkonkleThank you!20:17
dasunsru1e32no prob20:17
kirklandcjwatson: since we're necessarily downloading the same stuff over and over and over again for potentially dozens of NCs20:17
kirklandcjwatson: what would you think of my making that the default behavior (preseeding that proxy info into the hosted preseed files), but making it debconf (priority low or medium) changeable?20:18
zulsmoser: lp:~zulcss/ubuntu/lucid/ec2-init/ec2-init-config20:25
ttxzul: nice work !20:29
zulttx: its really simple but its enough to get us started working on it20:29
zulergh...i mean improving it20:30
cjwatsonkirkland: hmm, I don't really have an opinion either way. I imagine some would find it useful but some (many?) would have a corporate mirror already20:30
kirklandcjwatson: agreed20:31
cjwatsonkirkland: if you did it you would also have to cope with the case where the CLC itself needs a proxy to see the outside world20:31
cjwatsonkirkland: seems like something to look at as low priority20:31
kirklandcjwatson: that's already the case, though, no?20:31
ttxand for those folks it would result in additional load on CLC20:31
kirklandcjwatson: yes, definitely low priority20:31
kirklandttx: proxy work is pretty cheap20:31
kirklandttx: i have a powerpc mac mini that's my squid proxy :-)20:32
ttxnetwork load ? CLC is hit pretty hard by clients, therically20:32
cjwatsonkirkland: proxy's already handled in some ways, but it would require additional handling to also configure squid to use another proxy20:32
kirklandcjwatson: gotcha20:32
kirklandttx: sure, some load20:32
kirklandttx: i'm talking mostly about caching debs and package updates/installs20:33
kirklandttx: that doesn't happen often20:33
ttxkirkland: hm, right20:33
kirklandttx: -nc's don't really talk to the outside world very often20:33
kirklandttx: but when they do, would be nice to suck those down at gigabit speed20:33
kirklandttx: especially when doing this over and over and over20:33
kirklandttx: which is necessarily the case with a cluster20:33
sangelsalve a tutti20:34
sangelragazzi c'è qualcuno20:36
sangelho problemi con Bin920:36
sangeluna cosa molto semplice20:36
ubottuVai su #ubuntu-it se vuoi parlare in italiano, in questo canale usiamo solo l'inglese. Grazie! (click col tasto destro sul nome del canale per entrare)20:37
sangelsorry :P20:37
smoserjjohansen, ping20:38
smoseri think maybe kernel is locking up in ec2 instances20:39
smoserat least i can't explain it. it just goes away20:39
jjohansenhrmm, it boots and then dies20:40
smoserie, system there, i'm using it, and then ssh console stops20:40
smoserreboot brings it back.20:40
jjohansenhrmm, I assume you have tried sshing back in20:41
smoseractually, so that means the kernel isn't dead. because i do see a20:41
smoser[   32.429018] Restarting system.20:41
smoseryeah, i've tried again and again.20:41
jjohansenwhat of pinging20:41
smoserping external to ec2 never works.20:42
smoseri'll try interneal to internal if it goes down again20:42
cab938where would a put a shell script so that it loads on first boot and runs as root?20:42
cab938I was using the --firstboot flag for ubuntu-vm-builder but it just doesn't work20:43
cab938I essentially want to build a vm, mount its drive, inject some files, then start they vm somewhere else20:43
jjohansensmoser: it could still be part of the kernel locking, there are some updates I need to finish rolling in20:44
geezenslawHello, I have a local cloud vs. public cloud question.20:45
smosercab938, easiest thing to do is probably to just add an rc.local like init.d script20:46
malloc64how do i kill a process that doesn't die with kill -9?20:51
guntbertmalloc64: sudo kill -920:52
malloc64okay, how do i kill a process that doesn't die with sudo kill -9?20:52
guntbertmalloc64: what process? show its line from ps aux please20:53
malloc64 /usr/bin/perl -w /usr/share/debconf/frontend /var/lib/dpkg/info/xserver-xorg.postinst configure 1:7.4~5ubuntu1820:53
malloc64 root      6998  0.0  2.8  56352 14044 pts/2    D<   10:40   0:00 /usr/bin/perl -w /usr/share/debconf/frontend /var/lib/dpkg/info/xserver-xorg.postinst configure 1:7.4~5ubuntu1820:53
mathiazkirkland: there is a spec about providing an easy to setup apt proxy20:53
malloc64sorry, there's the full20:53
kirklandmathiaz: yeah, that's one step beyond what i'm suggesting20:54
kirklandmathiaz: as that would require a few hundred gigs of disk20:54
kirklandmathiaz: just a squid proxy on the CLC, to cache updates and debs, could be done pretty cheap, without requiring a lot of disk20:55
mathiazkirkland: well - IIUC you wanna run a squid proxy on the CLC to cache the packages?20:55
kirklandmathiaz: right -- just the ones needed, though20:55
mathiazkirkland: right - IIRC that's what the apt proxy spec is about20:55
kirklandmathiaz: hmm, okay20:55
mathiazkirkland: granted - you may wanna pull down a complete archive20:55
mathiazkirkland: but that's just another step IIRC20:55
mathiazkirkland: having an easy way to setup an apt proxy seems to be the first step20:56
mathiazkirkland: and could be usefull in any environement beside CLC20:56
malloc64guntbert: root      6998  0.0  2.8  56352 14044 pts/2    D<   10:40   0:00 /usr/bin/perl -w /usr/share/debconf/frontend /var/lib/dpkg/info/xserver-xorg.postinst configure 1:7.4~5ubuntu1820:56
kirklandmathiaz: right20:56
guntbertmalloc64: see http://linuxgazette.net/issue83/tag/6.html20:58
kirklandmathiaz: ttx: i'm interested in your opinion about this ...21:00
malloc64gunbert: sounds like i need to reboot.  but i was in the middle of a jaunty to karmic upgrade. am i hosed?21:00
kirklandmathiaz: ttx: to solve https://launchpad.net/bugs/48727521:00
uvirtbot`Launchpad bug 487275 in eucalyptus "eucalyptus.conf should not be a conffile" [High,Triaged]21:01
kirklandmathiaz: ttx: I'm creating /etc/eucalyptus/eucalyptus-defaults.conf21:01
kirklandmathiaz: ttx: which will be a conffile21:01
kirklandmathiaz: ttx: managed by us21:01
kirklandmathiaz: ttx: and sourced at the top of /etc/eucalyptus/eucalyptus.conf21:01
kirklandmathiaz: ttx: users (or more likely euca_conf) will change values in /etc/eucalyptus/eucalyptus.conf21:02
kirklandmathiaz: ttx: which won't be a conf file any more21:02
kirklandmathiaz: ttx: i'd like your sanity check on that pastebin, to make sure those values are at least *reasonable* defaults21:02
mathiazkirkland: hm - I don't understand the comment: If you want to change these values, you almost certainly21:04
mathiazkirkland: want to either edit /etc/eucalyptus/eucalyptus.conf21:04
mathiazkirkland: if /etc/eucalyptus/eucalyptus-defaults.conf21:04
mathiazkirkland: is supposed to be conffile, it means that this is the file end users are supposed to edit21:04
ttxI'm not sure I'm getting it either...21:04
mathiazkirkland: I think it's the other way around21:05
ttxdoesn't eucalyptus.conf contain all values, so defaults end up being useless?21:05
mathiazkirkland: conffile are only edit by sysadmin and should be source *last*21:05
mathiazkirkland: the package provide a default configuration, which values can be overridden by a local sysadmin (via a conffile)21:05
mathiazkirkland: euca_conf and package maintainer scripts should modify the package file, not the conffile21:06
* kirkland steps back to think21:07
ttxideally euca_conf would modify only a state file in /var/lib, but maybe that's a lot to ask the euca folks21:07
ttxand the conffile in /etc would only be modified by sysadmin21:08
ttxgetting late for me, especially for a friday21:08
kirklandttx: i'm afraid that "/etc/eucalyptus.conf" is pretty thoroughly hardwired into their code21:08
mathiazkirkland: ^^ right21:08
ttxmathiaz knows that stuff better than I do, I leave you in good hands :)21:08
kirklandttx: so we could move that to /var/lib, and symlink it back to /etc/eucalyptus for compatibility21:09
kirklandttx: thanks21:09
mathiazkirkland: you'd probably want three files21:09
kirklandmathiaz: have a moment to finish this discussion?21:09
* kirkland is all ears21:09
mathiazkirkland: sure21:09
ttxkirkland: something like that, yes21:09
* kirkland has been looking at this for too long21:09
* ttx has a headache21:09
mathiazkirkland: 1. one file that is only modified by sysadmin (a conffile)21:09
* kirkland too21:09
mathiazkirkland: 2. one file that is modified by euca_conf21:09
mathiazkirkland: 3. a default file that sets all the options21:10
kirklandmathiaz: and what order or they sourced in?21:10
mathiazkirkland: 3. sources 2, then 121:10
kirklandmathiaz: is (3) a conffile too?21:11
mathiazkirkland: as 1 is more important than 2, which is more important than 321:11
mathiazkirkland: nope - only 1 is a conffile21:11
mathiazkirkland: 3. should be in /usr/21:11
kirklandmathiaz: okay, let's assume that (2) *must* be /etc/eucalyptus/eucalyptus.conf (which might be a symlink to /var/lib)21:11
mathiazshipped by the package as a regular this is the default options from the maintainer perspective21:11
kirklandmathiaz:  3 is something in /usr/share ?21:11
mathiazkirkland: yes21:12
kirklandmathiaz: and 1 is actually in /etc21:12
mathiazkirkland: as this is a default file shipped by the package maintainers21:12
mathiazkirkland: yes21:12
kirklandmathiaz: (while 2 and 3 are symlinks to /usr and /var)21:12
kirklandmathiaz: got it ...21:12
mathiazkirkland: and 2 is in /var/lib/ since euca_conf would modify it21:12
kirklandmathiaz: now, names ....21:12
kirklandmathiaz: yup, all good21:12
mathiazkirkland: all of these files are shell scripts right?21:13
kirklandmathiaz: suggestions on what to call 1 and 3?21:13
kirklandmathiaz: yes, shell syntax21:13
mathiazkirkland: and by default eucalyptus looks for /etc/eucalyptus/eucalyptus.conf?21:13
kirklandmathiaz: right21:13
kirklandmathiaz: i'd be very hesitatant to change that too much21:14
mathiazkirkland: traditionally 1. is in /etc/defaults/21:14
kirklandmathiaz: ah, right21:14
kirklandmathiaz: 1 == /etc/defaults/eucalyptus21:14
* mathiaz nods21:14
* mathiaz checks the FHS and debian policy21:14
kirklandmathiaz: is (3) necessary?21:15
kirklandmathiaz: seems like /etc/eucalyptus/eucalyptus.conf -> /var/lib/eucalyptus/eucalyptus.conf would just need to source (1)21:15
mathiazkirkland: hm21:16
mathiazkirkland: the problem is on package upgrades21:17
kirklandmathiaz: i'm trying to figure out what the value of (3) is for our situation specifically21:17
mathiazkirkland: how do you handle new options when euca_conf has already modified the file?21:17
* kirkland thinks21:17
mathiazkirkland: if new options are introduced, you'd have to edit (2) *without* loosing the modification from euca_conf21:18
mathiazkirkland: from the postinstall script21:18
mathiazkirkland: if you have (3), you just ship the new options in the new configuration file21:18
smoserzul, so you were leaving packaging to me? was that the plan?21:21
kirklandmathiaz: and why would you do that in (3) rather than (1) ?21:21
mathiazkirkland: you don't wanna touch (1)21:22
mathiazkirkland: you start with an all commented file for (1)21:22
mathiazkirkland: or actually - you have a comment in (1) that points to (3) for the complete list of options21:23
mathiazkirkland: since (1) is a conffile, you wanna minimize changes made to this file21:23
kirklandmathiaz: right, so the documentation i wanted to purge from the configuration files and put into a manpage21:23
mathiazkirkland: that another good solution21:24
mathiazkirkland: in which case it becomes like (3)21:24
mathiazkirkland: ie the man page is always the refernce21:24
kirklandmathiaz: yeah, i'm going to do that for sure, a manpage for euca_conf, and perhaps another one for the configuration options21:24
kirklandmathiaz: possibly one manpage, with a symlink connecting the two21:24
kirklandmathiaz: as they're closely related21:24
mathiazkirkland: except that you need to have some similar to the man page for eucalyptus the program (that's (3))21:25
mathiazkirkland: *something* similar21:25
kirklandmathiaz: hmm, okay21:26
mathiazkirkland: on upgrades, if there a new options, you add them to the man page (for the user) and to (3) for the program21:26
mathiazkirkland: that way you don't have to update the conffile21:26
mathiazkirkland: and thus diminish the number of prompts21:26
kirklandmathiaz: okay ... what needs to be taught to "use" (3)?21:26
kirklandmathiaz: b/c everything currently sources/reads/writes (2)21:26
mathiazkirkland: what used to read /etc/eucalyptus/eucalyptus.conf21:27
mathiazkirkland: (3) is the main parent configuration file, which sources (2), then (1) at the end21:27
mathiazkirkland: to have proper overriding capabilities21:27
mathiazkirkland: so what I'd do is:21:28
mathiazkirkland: (1) is /etc/default/eucalyptus21:28
mathiazkirkland: (2) is /var/lib/eucalyptus/eucalyptus.conf21:29
mathiazkirkland: (3) stays in /etc/eucalyptus/eucalyptus.conf21:29
mathiazkirkland: however (3) is no longer a conffile21:29
mathiazkirkland: http://www.debian.org/doc/debian-policy/ch-files.html#s-config-files21:31
kirklandmathiaz: alrighty21:34
mathiazkirkland: hm21:34
mathiazkirkland: I think you're right in that we don't need (3)21:35
mathiazkirkland: well - (1) and (3) can be merged in /etc/eucalyptus/eucalyptus.conf21:35
mathiazkirkland: the issue with bug 487275 is that euca_conf modifies a conffile21:35
uvirtbot`mathiaz: Error: Could not parse data returned by Launchpad: The read operation timed out21:36
mathiazkirkland: which leads to useless prompts on upgrades21:36
mathiazkirkland: so ship /etc/eucalyptus/eucalyptus.conf as a conffile (and let the sysadmin customize it)21:36
mathiazkirkland: and have another file (2) in /etc/eucalyptus/eucalyptus-euca_conf.conf modified by euca_conf21:37
mathiazkirkland: which is then sources by /etc/eucalyptus/eucalyptus.conf21:37
mathiazkirkland: and then /etc/eucalyptus/eucalyptus.conf would source at the *begining* /etc/eucalyptus/eucalyptus-euca_conf.conf21:38
mathiazkirkland: so that the sysadmin could still modify the result of euca_conf21:38
mathiazkirkland: well - it actually depends on what euca_conf modifies21:39
mathiazkirkland: or rather sets as options21:39
kirklandmathiaz: okay, that was pretty much what i was going for in my original approach21:39
kirklandmathiaz: although my comments in the top of that file were inaccurrate21:39
mathiazkirkland: well - not really actually :)21:41
MagicFabHi all21:41
mathiazkirkland: it's just that you wouldn't need such a file anymore21:41
=== luis__lopez is now known as luis_lopez
MagicFabcan sshd be configured to have nic-specific authentication methods ? ie. "PKA-only" for Internet-facing, "PKA/Password" for internal network ?21:42
mathiazMagicFab: well - you could run two instances of sshd21:43
mathiazMagicFab: each binding to an interface whith their own configuration21:43
MagicFabmathiaz, neat. Apparently LTSP requires password auth in its LAN.21:43
mathiazMagicFab: I don't think you can achieve the same result with only *one* sshd daemon running21:44
MagicFabI thought it generate keypairs etc. automatically21:44
mathiazkirkland: now the downside of having only 2 eucalyptus.conf, is that you need to set *all* options possible in eucalyptus.conf21:44
mathiazkirkland: which makes sysadmin edition a bit difficult21:45
mathiazkirkland: having 3 configuration file would solve the end user issue21:45
kirklandmathiaz: that's pretty much where we're at now, no?21:45
mathiazkirkland: right21:45
mathiazkirkland: especially if you move the documentation to a man page21:46
kirklandmathiaz: i'm definitely moving to a manpage21:46
mathiazkirkland: then you'd end up with a long list of options in eucalyptus.conf21:46
mathiazkirkland: if the sysadmin opens the file, it can be a little bit difficult to edit21:46
MagicFabmathiaz, tx21:47
mathiazkirkland: having /etc/default/eucalyptus, you'd just provide the most used options for edition21:47
mathiazkirkland: or the sysadmin can just add the options he wants to tweak21:47
mathiazkirkland: for example, the samba configuration file has hundreds of options, but you only see a dozen of them in the default configuration file21:48
kirklandmathiaz: okay, stepping back from this a bit ...21:48
kirklandmathiaz: looking at screen ...21:49
kirklandmathiaz: there's an /etc/screenrc21:49
kirklandmathiaz: which is the global screen configuration, a conffile, managed by ubuntu, admins can change it, but let's say that most don't21:49
kirklandmathiaz: and each user can have a ~/.screenrc21:49
mathiazivoks: o/21:49
kirklandmathiaz: screen knows to source /etc/screenrc first, then soruce ~/.screenrc for user custom overrides21:50
mathiazkirkland: right21:50
kirklandmathiaz: ~/.screenrc is not package managed, and hence users (or programs) can read and write that all they want21:50
mathiazkirkland: there is a also a list of all-possible options with their default value somewhere in screen (probably compiled in the binary)21:51
kirklandmathiaz: and the screen(1) manpage21:51
uvirtbot`New bug: #504960 in samba (main) "package samba-common 2:3.4.0-3ubuntu5.3 failed to install/upgrade: Unterprozess installiertes post-installation-Skript gab den Fehlerwert 128 zur?ck" [Undecided,New] https://launchpad.net/bugs/50496021:52
kirklandmathiaz: so i was thinking /etc/default/eucalyptus would be like our /etc/screenrc21:52
kirklandmathiaz: conffile, pkg managed, admin can change there, but it's recommended that they use euca_conf21:52
kirklandmathiaz: euca_conf reads/writes /etc/eucalyptus/eucalyptus.conf -> /var/lib/eucalyptus/eucalyptus.conf21:53
kirklandmathiaz: which first sources /etc/default/eucalyptus, and then sets it's overrides from the global package defaults21:53
mathiazkirkland: /me ponders21:54
* mathiaz ponders21:54
kirklandmathiaz: basically, we'll ship a set of "ubuntu" defaults21:54
kirklandmathiaz: which are "distro" specific21:54
kirklandmathiaz: like "use KVM"21:54
kirklandmathiaz: then the user has more stuff that they have to configure for UEC to work21:55
kirklandmathiaz: "site" specific stuff21:55
kirklandmathiaz: like PUBLIC_IPS21:55
mathiazkirkland: hm21:58
kirklandmathiaz: so programs will keep reading/writing /etc/eucalyptus/eucalyptus.conf as they always have, for backwards compat21:59
kirklandmathiaz: to make more FHS friendly, we move it to /var/lib, and symlink it back21:59
kirklandmathiaz: and make it not a conffile21:59
mathiazkirkland: well - it's a configuration file, it should stay in /etc/21:59
mathiazkirkland: this is what http://www.debian.org/doc/debian-policy/ch-files.html#s-config-files says22:00
kirklandmathiaz: processed by a program22:00
kirklandvariable state, i would call it22:00
mathiazkirkland: PUBLIC_IPS is configuration data22:00
kirklandmathiaz: okay22:00
mathiazkirkland: I don't think it's an internal state22:00
mathiazkirkland: anyway I don't think it's important right now22:01
kirklandmathiaz: alright, i'm not insistent on this22:01
kirklandmathiaz: okay, good22:01
kirklandmathiaz: so we, the distro, set some defaults in /etc/default22:01
mathiazkirkland: IMO we need to figure out how many configuration files we're going to ship22:01
dasunsru1e32as a root user, how do I watch what another user is doing from a terminal?22:01
uvirtbot`New bug: #504963 in bind9 (main) "[Karmic] host -4 does IPv6 lookup -- times out" [Undecided,New] https://launchpad.net/bugs/50496322:01
dasunsru1e32preferably without their knowledge22:01
mathiazkirkland: to go back to bug 48727522:02
uvirtbot`Launchpad bug 487275 in eucalyptus "eucalyptus.conf should not be a conffile" [High,Triaged] https://launchpad.net/bugs/48727522:02
mathiazkirkland: the problem, is that euca_conf modifies eucalyptus.conf and where there is a *new* version of eucalyptus.conf shipped by the package, you're prompted by dpkg22:03
kirklandmathiaz: righto22:03
mathiazkirkland: how often does the shipped version of eucalyptus.conf change?22:04
kirklandmathiaz: hrm, probably once per release for most users22:04
kirklandmathiaz: within a development cycle, perhaps more22:04
mathiazkirkland: and we want to avoid the prompt because most of the users won't have changed eucalyptus.conf22:05
kirklandmathiaz: actually ....22:05
kirklandmathiaz: let's say i move all the documentation out22:05
kirklandmathiaz: then that file is just variables/values read/written by euca_conf22:05
mathiazkirkland: it's just that because euca_conf changed it (without the user knowledge) the user suddenly get a prompt for nothing22:05
kirklandmathiaz: and i make it not a conf file, but just a template created by the postinst (if not yet existing)22:06
mathiazkirkland: or rather the user gets a prompt for a package he has never configured directly (he doesn't know about eucalyptus.conf)22:06
kirklandmathiaz: then we can change the manpage all we want22:06
kirklandmathiaz: and the user can change (directly, or via euca_conf) all they want22:07
kirklandmathiaz: done?22:07
mathiazkirkland: hm - what happens if new options are introduced?22:07
kirklandmathiaz: they're put into the manpage22:08
mathiazkirkland: would you have to modify the file to stick the new options in there?22:08
kirklandmathiaz: you mean where default values *must* be defined?22:08
mathiazkirkland: yes - exactly22:08
mathiazkirkland: is eucalyptus.conf the file where default values are defined?22:08
kirklandmathiaz: currently, user-chosen, and almost-universally-default values are intermixed22:09
kirklandmathiaz: i tried to pull the latter out to that file i pastebined at the top of this conversation22:09
mathiazkirkland: right - and that's the problem with upgrades22:09
mathiazkirkland: you need to be able set the default values for new options without bothering the user about it22:10
kirklandmathiaz: see my "don't touch this file" comment :-)22:10
kirklandmathiaz: so let's move that to /usr/share22:10
mathiazkirkland: right - that's why you'd put such a file under /usr/share/package-name/22:10
mathiazkirkland: well - forget my last comment22:11
mathiazkirkland: it's irrelavant for the moment22:11
kirklandmathiaz: okay, so we'll ship a sane set of static defaults to a file in /usr/share22:11
kirklandmathiaz: source that at the top of /etc/eucalyptus/eucalyptus.conf22:11
mathiazkirkland: yes22:11
mathiazkirkland: have eucalyptus.conf be a conffile22:12
kirklandmathiaz: okay22:12
mathiazkirkland: and have eucalyptus-local.conf be modified by euca_conf22:12
mathiazkirkland: and sourced by eucalyptus.conf as well - *after* /usr/share/, but at the begining of the file22:13
mathiazkirkland: so that the sysadmin has ultimate control over the configuration of eucalyptus via eucalyptus.conf22:13
kirklandmathiaz: okay, so a) static defaults in /usr/share22:13
mathiazkirkland: if new options are shipped during an upgrade, there are made available in /usr/sahre22:13
kirklandmathiaz: b) user modified values in eucalyptus.conf (conffile)22:14
mathiazkirkland: and if a new eucalyptus.conf is shipped, the end user is not prompted for a change if he hasn't modified the file22:14
kirklandmathiaz: c) machine read/written values in eucalyptus-local.conf22:14
mathiazkirkland: yes - seems like a good option to me22:14
mathiazkirkland: a) /usr/share/eucalyptus/eucalytpus.conf22:15
mathiazkirkland: b) /etc/eucalyptus/eucalyptus-local.conf (modified by euca_conf)22:15
kirklandmathiaz: getting euca_conf to read/write eucalytpus-local.conf instead is going to be difficult, and potentially contentious22:15
mathiazc) /etc/eucalyptus/eucalyptus.conf - sources a), then b)22:15
mathiazkirkland: well - if euca_conf writes directly to eucalyptus.conf then users would get a prompt on a package upgrade *only* if the package ships a new eucalyptus.conf file22:16
mathiazkirkland: which would happen less frequently then shipping a new /usr/share/eucalyptus/eucalyptus.conf file?22:17
mathiazkirkland: which would happen less frequently then shipping a new /usr/share/eucalyptus/eucalyptus.conf file (where new defaults values for new options are added)?22:18
ruben23hi guys..are there ways i can make image of my windows xp client pc and restore it anytime form image using my linux server, like multiple client pc deployment...any suggestion..?22:41
=== Jamash- is now known as Jamash
ivoksthat isn't allowed by windows license22:42
ivoksone license per machine22:42
Jamashif I understand ruben23 correctly, he only wants to backup and restore one machine22:43
ruben23Jamash: yes backup and restore per machince only22:46
ivoksurgh... drbd 8.3.7rc2 build process is... urgh...22:49
kirklandmathiaz: still around?23:30
mathiazkirkland: sure! and you?23:30
mathiazkirkland: not shoveling snow down there?23:30
kirklandmathiaz: no, but it's wicked cold here too :-)23:31
mathiazkirkland: I'm not sure we'd agree on what *wicked* cold means... :D23:31
kirklandmathiaz: okay ...23:31
kirklandmathiaz: http://pastebin.ubuntu.com/353685/23:31
kirklandmathiaz: heh :-)23:32
kirklandmathiaz: well, it's going to be -10C here tonight23:32
kirklandmathiaz: which is a record23:32
kirklandmathiaz: and i'm running 20 miles (32km) tomorrow morning in that weather23:32
mathiazkirkland: ohhh - no more coyotte then?23:32
kirklandmathiaz: heh :-)  i'm sure they're staying warm23:33
kirklandmathiaz: okay, so see that pastebin23:33
mathiazkirkland: oh don't worry about that - there are cross country competions running at lower temperature then that23:33
mathiazkirkland: you'll survive :)23:33
mathiazkirkland: look good to me23:33
kirklandmathiaz: i think on new installs, /etc/eucalyptus/euclayptus.conf should look like that23:33
mathiazkirkland: line 6 - maybe expand the command23:34
kirklandmathiaz: i need to think about maintainer scripts to handle upgrades correctly23:34
mathiazkirkland: right - on new install it should look like that23:34
mathiazkirkland: how easy will it be to teach euca_conf to modify /etc/eucalyptus/eucalyptus-local.conf ?23:34
kirklandmathiaz: http://pastebin.ubuntu.com/353688/23:35
kirklandmathiaz: not too hard ...23:35
mathiazkirkland: cool23:35
kirklandmathiaz: it has:23:35
kirklandmathiaz: however, it also has "/etc/eucalyptus/eucalyptus.conf" hardcoded elsewhere23:36
mathiazkirkland: and add a statement in /etc/eucalyptus/eucalyptus-local.conf pointing to the eucalyptus.conf23:36
kirklandmathiaz: i'm going to create one patch that fixes the latter using $FILE appropriately23:36
mathiazkirkland: right seems like the best option too me23:36
mathiazkirkland: you also need to handle the case where eucalyptus-local.conf doesn't exist23:37
mathiazkirkland: like on first install23:37
mathiazkirkland: would euca_conf support that?23:37
mathiazkirkland: if not you could install an default eucalyptus-local.conf on first install23:37
mathiazkirkland: it would *not* be a conffile23:37
kirklandmathiaz: in the postinst, you mean23:38
kirklandmathiaz: such that it's not a conffile?23:38
mathiazkirkland: yes23:38
kirklandmathiaz: ack, got it23:38
mathiazkirkland: in the postinst23:38
kirklandmathiaz: okay, next one:23:38
kirklandmathiaz: http://pastebin.ubuntu.com/353689/23:38
mathiazkirkland: and does euca_conf support an empty/reduced eucalyptus-local.conf?23:38
kirklandmathiaz: i'm not sure about that23:39
kirklandmathiaz: will need to do some testing23:39
mathiazkirkland: well - if it sources eucalyptus.conf, we're good to go23:39
kirklandmathiaz: i think i might need to teach euca_conf about eucalyptus.conf AND eucalyptus-local.conf23:40
kirklandmathiaz: on read, it reads eucalyptus.conf23:40
kirklandmathiaz: but writes to eucalyptus-local.conf23:40
mathiazkirkland: ha - true23:40
ptingis it just my server... but i can't seem to get 100% utilization on an amazon ec2 small instance... i get at most 40%23:40
mathiazkirkland: line 11: want to either *directly* edit /etc/eucalyptus/eucalyptus.conf23:41
quietonewhat do I do so my machine can be a server for the home calendar when it is booted and I am not logged in? I think I just need to make the wireless connection but I have not found how to do this. And the router will be the firewall.23:41
kirklandmathiaz: ack23:41
mathiazkirkland: line 12: or use euca_conf to add your customizations.23:41
mathiazkirkland: don't mention /etc/eucalyptus/eucalyptus-local.conf.23:41
kirklandmathiaz: got it.23:41
mathiazkirkland: actually mention it on line 823:41
mathiazkirkland: /etc/eucalyptus/eucalyptus.conf.23:42
mathiazkirkland: line8: /etc/eucalyptus/eucalyptus.conf and /etc/eucalyptus/eucalyptus-local.conf.23:42
=== rberger_ is now known as rberger
kirklandmathiaz: k23:43
mathiazkirkland: http://pastebin.ubuntu.com/353688/ - why not mention euca_conf?23:44
mathiazkirkland: kirkland something like: you can also use use euca_conf to add your customizations - see euca_conf man page23:44
kirklandmathiaz: it's mentioned on line 623:45
mathiazkirkland: well - I'd add to the end as well23:46
mathiazkirkland: line 10 outlines one source of documentation to customize UEC23:46
mathiazkirkland: line 11 could mention *another* way (euca_conf) to customize UEC23:47
erichammondzul: Where do I find ec2-runurl referenced in http://bazaar.launchpad.net/~zulcss/ec2-init/ec2-init-config/annotate/head%3A/upstart/ec2-runurl.conf23:48
erichammondexec /usr/sbin/ec2-runurl23:49
kirklandmathiaz: http://pastebin.ubuntu.com/353694/23:49
kirklandmathiaz: okay23:49
kirklandmathiaz: this is what creates the non-conffile /etc/eucalyptus/eucalyptus-local.conf23:50
kirklandmathiaz: this can be pretty bare, but it needs to start out with EUCALYPTUS="not_configured"23:51
mathiazkirkland: you should probably make sure it's only run on package *installation*23:52
mathiazkirkland: if the sysadmin decides to delete /etc/eucalyptus/eucalyptus-local.conf, it would be recreated on next package upgrade23:52
mathiazkirkland: which may break things since the default is EUCALYPTUS="not_configured"23:52
kirklandmathiaz: hmm, that seems highly inadvisable, removing eucalyptus-local.conf23:53
mathiazkirkland: agreed. but the sysadmin may wanna do it23:53
kirklandmathiaz: besides, i think we need to create that file on upgrades from 9.1023:53
mathiazkirkland: sure - we can add code to do that as well23:53
kirklandmathiaz: actually, on upgrades, i think we need to mv eucalyptus.conf to eucalyptus-local.conf23:54
mathiazkirkland: if dpkg --compare-version ...; then ... create file... ; fi23:54
kirklandmathiaz: right, we need to compareversion and mv the current, euca_conf written eucalyptus.conf to eucalyptus-local23:54
mathiazkirkland: right - so you'd first install the default file23:54
kirklandmathiaz: and seed eucalyptus.conf with the 2-source version23:54
mathiazkirkland: and deal with the package upgrade afterwards23:55
mathiazkirkland: note that upgrades will have prompt anyway23:55
kirklandoh, right23:56
mathiazkirkland: since the conffile eucalyptus.conf will be modified23:56
kirklandmathiaz: okay, so you really i need logic to only create -local on install?23:56
mathiazkirkland: I think so.23:56
mathiazkirkland: the logic is actually already in the postinst script23:56
mathiazkirkland: where it deals with installing euca_root-wrap23:57
mathiazkirkland: and does euca_conf -d / /etc/eucalyptus/eucalyptus.conf23:57
kirklandmathiaz: oh, crap23:57
mathiazkirkland: you'd probably gonna have to look at that code as well23:58
kirklandmathiaz: hrm, shoudl this go in preinst, then?23:58
mathiazkirkland: this =?23:58
kirklandmathiaz: the -local creating codde23:59
mathiazkirkland: I don't think so23:59
mathiazkirkland: in preinst, /etc/eucalyptus/ won't exist23:59

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