/srv/irclogs.ubuntu.com/2010/03/18/#ubuntu-server.txt

Sorellalex88: glad to see I'm not the only one having issues....00:08
Sorell:)00:08
alex88Sorell: ubuntu cloud? =) me too..after 4 min i've started eucalyptus-cc..now starting eucalyptus-cloud00:10
Sorellalex88:00:14
Sorellyeah I'm having issues with addressing00:14
Sorelland now I can't SSH in for some reason.... :(00:14
alex88where are you installing it?00:15
Sorell?00:15
SorellIt's like 30min away from me right now00:16
Sorell:(00:16
Sorellin my bedroom ....00:16
alex88lol.. dunno man..have you ever logged into it?00:16
Sorellyes00:17
Sorellhttps://71.43.249.21:8443/00:17
Sorellfurthermore00:17
Sorellpasileypc.com00:17
alex88and now it has wrong address?00:17
Sorellpaisleypc.com*00:17
Sorellit works when I type in the domain but when I use the address nothing00:17
Sorelland I can't ping it for some reason00:17
Sorelland nmap can't get any info back00:18
Sorell:(00:18
Sorellalex88: no I am having an issue with the vms getting IPs00:19
Sorellthat one should be static00:19
alex88oh k, now i'm having troubles starting eucalyptus-cc00:19
Sorell:/00:22
Sorellthat's one thing I havn't had an issue with yet00:22
jetoleikonia or anyone else. How do I specify I hostname for all clients using dhcp without manually setting a hostname per each known mac address since in this case I won't know all mac addresses ahead of time. I'm using ISC dhcp3 but I will change this if someone knows a better dhcpd that supports pxe booting00:23
jetolefor example, when I connect to my ISP I get a hostname like c-1-2-3-4.hsd1.fl.comcast.net. through dhcp when my ip is 1.2.3.400:25
Sorellping 71.43.249.2000:36
Sorellerr00:36
Sorellsry00:36
alex88i'm thinking, if i have about 4-5 pc in my house, can i use one as controller, other as nodes, and when someone open a pc he login to a vm that uses the power of all connected nodes?00:50
uvirtbotNew bug: #540625 in qemu-kvm (main) "Why was QEMU proper dropped in favor of KVM?" [Undecided,New] https://launchpad.net/bugs/54062501:02
Razernokhi01:30
RazernokI need some big help01:30
Razernokin /etc/hosts01:30
RazernokI'm to add a line of01:30
Razernokxxx.xxx.xxx.xxx my_domain.com my_machine01:30
Razernokhow exactly do i write it?01:30
Razernokfrom the installtion guide (xxx.xxx.xxx.xxx is your public IP and “my_domain” is the domain where the panel listen)01:31
jiboumans192.168.1.1         www      www.example.com01:31
jiboumansfor example ^01:31
jetoleRazernok: man 5 hosts01:32
Razernoki did earlier 127.0.0.1 my.site.com01:32
jetoleRazernok: thats right, so is 127.0.0.1 my my.site.com01:33
jetoleit's whitespace seperate so a space is the same as a tab01:33
Razernokwhat about the my_machine part01:33
jetoleman 5 hosts01:34
jetoletype that in bash01:34
Razernokhuh?01:34
jetoleand hit enter01:34
Razernokbash?01:34
jetoleconsole01:34
* twb hands jetole a stiff drink01:34
jetolebash, dash, csh, ksh, sh, etc etc01:34
jetoletwb: thanks! I need one01:35
Razernokhuh?01:35
twbI think you can't get ksh on Ubuntu, only pdksh01:35
* jetole shrugs, never tried01:35
jetoleRazernok: find the console on your system01:35
jetolethe area where you have a screen and it a prompt and you can type commands01:35
jetoleyou can get it from pressing ctrl+alt+f1 - f6 and use f7 to get the gui back but thats the worst way01:36
jetolego to menu -> accessories -> terminal01:36
jetolethat works on gnome01:36
Razernoki had to reinstall ubuntu server after a bug caused it unable to boot01:37
Razernoki was making changes like in this guide and after restart it couldn't find some file.01:37
jetoleI give up01:37
jetoleI could use a shot of white tequila right now01:41
jetolebeen sick as a dog for over a week and tired of it01:41
jebbaI did a dist-upgrade on EC2 and i saw it installed a new kernel, but on reboot it didnt use it. The grub stuff is kinda missing (nothing useful under /boot/grub/). Howto reboot into latest kernel?03:30
jayveedoes EC2 even boot via grub?03:34
jayveeI would imagine that it would load the kernel directly03:34
=== rberger_ is now known as rberger
Sorell!cloud03:52
SorellAnyone know of a good guide on how the networking works in eucalyptus?03:53
jebbajayvee: ya, it appears not to use grub, but I'm not sure how to tell it which kernel to use.04:03
jayveejebba: I'm guessing in the EC2 config for the VM04:11
jayveei.e. not inside the VM itself04:11
jebbathx04:13
jetoledoes anyone know how to make preseed exclude a package when it installs? I used the tasksel for server only but I have never needed nano on my servers?04:56
jetole*on my servers!04:56
jetoleagh, and even with server mode it still installed libgtk and openoffice04:59
jetolewtf04:59
uvirtbotNew bug: #540693 in spamassassin (main) "does not terminate at computer shutdown" [Undecided,New] https://launchpad.net/bugs/54069305:01
=== nxvl_ is now known as nxvl
altf2oquick question. I'm on Ubuntu 9.10, using rdiff-backup 1.2.8-1ubuntu2. It works great except for when it encounters files with a question mark in their name. Been searching coming up empty, anyone found a way around this?06:23
=== au is now known as 17SAALA2J
jayveenice of you guys to drop by07:15
marcus_hi all. i have set up login via nss_ldap (passwd / groups). getent works fine but login takes extremly long.07:34
marcus_i have already tried to set up nscd, even with local cache - without a luck.07:34
uvirtbotNew bug: #540747 in apache2 (main) "Apache Web DAV incorrect permissions" [Undecided,New] https://launchpad.net/bugs/54074708:16
twbmaintenance-check: Fetching seeds for hardy (this may take a moment) ...08:34
=== jstephan|w is now known as johe|w
twb...is it just me, or does that take like fifteen minutes for everyone?08:34
* jussi01 breathes deeply... ok, my /etc/hosts is ruined and I need to edit it to fix. (some bug in hardy). So I tried to drop to root console in recovery mode, but it asks me for a root password (even though Ive not set one). thoughts on how to fix?08:35
ejathi .. just wanna check with u guys ..08:36
ejatits it confirm nagios.cmd missing in karmic ?08:36
FireCrotchjussi01: um... set one? or boot into actual single user mode09:08
jussi01FireCrotch: sorted now... but actual single user mode?09:09
* jussi01 thought that was...09:09
FireCrotchjussi01: yes... stick "single" at the end of the kernel line in grub09:09
FireCrotchshould take you straight to a root prompt09:10
jussi01ahh, I didnt realise that. thanks for the tip09:10
FireCrotchYou're welcome :)09:11
twbI'm still ambivalent about it not asking for a password09:12
FireCrotchtwb: for what? booting into single user mode?09:12
twbFireCrotch: traditionally single would ask for root's password before giving you root privileges09:13
twbOn Ubuntu you don't have to use init=/bin/sh to break through that.09:13
FireCrotchWhy bother asking for root's password if you can just use init=/bin/sh ?09:13
twbIt's about as secure as a warm blanket, but I think I still miss it.09:13
twbFireCrotch: well, after you init=/bin/sh, you sometimes have to dance about a bit to get write access to the disk09:14
twbBut I imagine it's hysterical raisins09:14
twbProbably once upon a time init=/bin/sh wasn't a back door, either.09:15
FireCrotchtwb: your point is? Anyone who knows enough to bypass the password should know enough to get write access09:15
FireCrotchand if someone is standing at the console, they can just unplug the machine and walk away with it, so why bother securing it any more than that09:15
FireCrotchor open it up and take the hard drive09:15
FireCrotchYou have that problem with practically any system though09:16
ZiderI have a problem with cryptdisk sometimes only creates /dev/mapper/name and sometimes both that and /dev/mapper/name_unformatted.. is there a known problem with this?10:49
Zideralso, how come the startup process tries to mount the maps before cryptdisk is finished creating them?10:50
=== geek is now known as Guest40863
=== Guest40863 is now known as faileas
SquidNoobis TPROXY working with ubuntu server 9.10?11:49
jayveeSquidNoob: probably11:55
jayveeyou having troubles with it?11:56
owhIs there a way that I can configure vsftpd to force an authenticated user to upload to the directory that the anonymous user can download from?12:10
SquidNoobjayvee, yes, I'm not sure whether ebtables or iptables is failing, but as I read on google, it does NOT work with debian/ubuntu12:10
SquidNoobI am using these rules to redirect port 80 from the bridge to port 312912:10
SquidNoobiptables -t mangle -N DIVERT12:10
SquidNoobiptables -t mangle -A DIVERT -j MARK --set-mark 112:10
SquidNoobiptables -t mangle -A DIVERT -j ACCEPT12:10
SquidNoobiptables -t mangle -A PREROUTING -p tcp -m socket -j DIVERT12:10
SquidNoobiptables -t mangle -A PREROUTING -p tcp --dport 80 -j TPROXY --tproxy-mark 0x1/0x1 --on-port 312912:10
SquidNoobebtables -t broute -A BROUTING -p IPv4 --ip-protocol 6 --ip-destination-port 80 -j redirect --redirect-target ACCEPT12:10
SquidNoobWhen I put these rules can not open any website, and port 3129 is not getting anything12:10
SquidNoobif i do an "#dmesg | grep TPROXY" get:12:11
SquidNoob[   10.827732] NF_TPROXY: Transparent proxy support initialized, version 4.1.012:11
SquidNoob[   10.827738] NF_TPROXY: Copyright (c) 2006-2007 BalaBit IT Ltd.12:11
jayveeoh right, this is IPv6 transparent proxying12:11
jayveeneat, but I've never touched that before12:12
jayveehang on, wait, maybe it's not12:12
jayvee--ip-protocol 612:12
jayveewhat's that?12:12
SquidNoobTCP12:13
SquidNoobebtables -t broute -A BROUTING -p ipv4 --ip-proto tcp --ip-dport 80 -j redirect --redirect-target ACCEPT12:14
SquidNoobdont work too12:14
SquidNoobsorry for my bad english12:14
ZiderI have a problem with cryptdisk sometimes only creates /dev/mapper/name and sometimes both that and /dev/mapper/name_unformatted.. is there a known problem with this?12:18
jayveeSquidNoob: I'm afraid I can't help you with the TPROXY module, but have you considered using NAT instead?12:21
jayveeit's relatively easy to get going.12:21
SquidNoobjayvee: Unfortunately, nat does not help me, because I need to do IP spoofing with the customer IP, but thanks for your help12:24
ttxzul, smoser: could you split the remaining EC2 tests between you two ?12:32
ttxzul, smoser: or should we just get rid of that test, to replace it with a more thorough cloud-config test ?12:33
=== MarkB1 is now known as MarkB1_rsn
smoserttx, zul_ we should replace that with a cloud-config test. i will work on putting one together and getting tested here in a few minutes.13:00
ttxsmoser: ok13:01
smoseri did test the ebs root yesterday, and pushed what i had to https://launchpad.net/~smoser/+junk/ec2-test13:02
=== MarkB1_rsn is now known as MarkB1
zul_smoser: hmmmm?13:03
zul_smoser: you want me to upload something?13:04
smoserno. thats just the "test suite" (for lack of a better term) that i use to run 'test-multi'.13:04
smoseri'll get some test cloud-config stuff together and add it there.13:04
=== zul_ is now known as zul
zulah nifty13:06
=== bladernr__ is now known as bladernr_
swiftHi guys, just a query, has the support and upgrades for UBUNTU 6 series LTS expired?14:07
swiftis it over?14:07
AntORGI think it's 5 years for the server edition14:09
swifthi guys.. im talking about ubuntu-server 6 series LTS.. is it an eol now?14:09
swiftAntORG.. when had it started?14:09
AntORG6.0614:09
swift200614:10
swifthmm14:10
AntORGthat's june 200614:10
swiftone year to go then14:10
AntORGthe "version number" of ubuntu gives you information about the year and the month it was released14:11
AntORGso 8.04 for instance means april of 200814:11
swiftyeah14:11
swiftok14:11
swiftthanks14:12
swiftis it possible to upgrade 6.10 edgy to 6.06 LTS?14:12
=== luis__lopez is now known as luis_lopez
AntORGyou mean downgrade. It probably is somehow but I wouldn't recommend it.14:13
swiftbut edgy is bad as compared to LTS right?14:13
_rubendowngrades arent supported, edgy should be upgraded to feisty, then gutsy, and then hardy (lts)14:13
_ruben!edgy14:14
ubottuUbuntu 6.10 (Edgy Eft) was the fifth release of Ubuntu. End Of Life: April 25th, 2008. See !eol for more details.14:14
_rubeneol'ed nearly 2 years ago14:14
AntORG_ruben that's the reason he wants to downgrade to 6.06 which hasn't reached the eol yet14:14
swiftyes14:15
swiftis it possible?14:15
_rubenone shouldnt downgrade to "avoid" EOL, one should upgrade14:15
AntORGand 8.04 isn't an option, because...?14:15
_rubenupgrades are supported, downgrades are not14:15
_rubenif a downgrade breaks your system, you do get to keep both pieces though14:15
swiftthis is a production system.. and it involes risk to go edgy  to feisty, then gutsy, and then hardy (lts)14:16
_rubenthe risk of downgrading is probably even bigger14:16
swiftok... so il keep it untouched.. and get a new server14:16
_rubenand if its a production system, it should've been upgraded ages ago14:16
swiftthanks soo much guys!!!...14:16
swiftyeah..true14:17
swifti just got introduced to it the other day14:17
swiftboy .. it's an oldtimer14:17
swift:p14:17
AntORGcreate a backup disk image and try upgrading and if it doesn't work out use the backup14:18
thafreakIs the beta 1 ISO available yet to begin testing?14:20
_rubenif its got raid1, you could break it and keep 1 half as backup </horror-story-mode>14:20
Jeeves_!mvo-- # Manpage slacker14:23
ubottuError: I am only a bot, please don't think I'm intelligent :)14:23
Jeeves_Pff, employed by Canonical, i'm sure...14:24
=== luis__lopez is now known as luis_lopez
_rubenanyone have any experience in using ssd's in their server(s)?14:43
Jeeves_yes14:44
_rubenJeeves_: ran into any issues?14:55
_rubeni know windows doesnt really "like" ssds until windows 714:55
_rubencurrently looking at nilfs+ssd .. seems like a killer combo14:56
Jeeves__ruben: No issues at all.14:56
Jeeves_Just more performance14:56
_rubenJeeves_: good to hear :)15:03
_rubenJeeves_: did you do any special tricks/optimizations?15:03
Jeeves__ruben: No, not at all15:11
_rubennice15:14
acalvoany good way to do a service failover over servers? So a secondary server starts if the primary server crashes15:16
jalonsacalvo: heartbeat15:16
acalvook, great (I've thought it was only a load-balancer)15:17
_rubenheartbeat/pacemaker/corosync/openais15:17
_rubenheartbeat doesnt load-balance, but is used a lot on loadbalancers to make em redundant :)15:18
acalvook, thanks!15:18
=== geek is now known as Guest3931
vertxDoes anyone has experience with GlusterFS? I need expandable storage distributed across several servers. Any thoughts/suggestions?15:21
=== Guest3931 is now known as faileas
swiftguys, does Ubuntu 7 series have an LTS server edition?15:22
Japjelts is every 2 years15:22
Dr_Jekyllnope - 6.06 and 8.04 and the upcoming 10.0415:22
Japjeto 6/8/1015:22
vertxswift: why don't you use 8.04 instead?15:23
swiftvertx, I want to upgrade from 6.10Edgy to an LTS version15:24
faileasswift: upgrade to 7x then to 8.0415:24
vertxswift: then you should use 8.04 or wait until 10.04 is released15:25
swiftguys, is there any risk involved?15:26
acalvoabout HA, there is something I don't understand. If I want to have a HA web server distributed in 2 or more server, is load-balancer's job to get the IP and pass the information? or it justs decides to which web server goes the request? I'm concerned about how to make the server available (how to set up the DNS public name to be reachable)15:26
_rubenacalvo: depends on what you're trying to achieve: active/active (performance) or active/passive (failover/redundancy)15:27
acalvoactive/passive15:27
_rubenactive/passive wont need a loadbalancer15:28
_rubenwith active/passive there'll be a "floating" ip address which will be active on the active node15:28
acalvoand where is the process that decides which server should be taking requests?15:29
_rubenacalvo: both nodes talk to eachother, if one stops hearing the other, or if the other says it's going standby, the local node will become active15:30
acalvooh, ok15:30
acalvonow seems more reasonable15:30
acalvoI've thought that it was necessary to have a specific computer to decide which node was active15:30
acalvothanks _ruben15:31
_rubenthat's also possible15:31
acalvowell, it makes sense to have a 3rd computer which do that job?15:31
_rubenit has its pros and cons15:32
_rubenthe keyword here is quorum .. with 3 nodes there's always a majority/minority .. with just 2 nodes that's not possible15:32
arch0njwI am attempting to install tomcat6 on ubuntu server 8.10 and it is saying that package is not found.  Am I missing a repository or misspelling the package name?15:32
jalonsbut, fencing adds a lot of overhead15:33
acalvowell, I'll start with just 2 nodes15:34
arch0njwandol: faileas: I followed the simple setup for ubuntu desktop and that worked fantastically.  Thank you for the advice yesterday.15:34
acalvoand see what happen15:34
faileasyay15:34
faileaseven if as i recall, my answers weren't that useful XD15:34
arch0njwfaileas: someone to bounce ideas off is -always- helpful.  :)15:35
jalonsacalvo: I highly suggest additional cat5 or serial runs to each HA node - it's surprising how often a single cable becomes unpluged leading to splitbrain or worse situations15:37
arch0njwhuh-boy.  so it is tomcat5.5, not tomcat6 despite the Ubuntu Server 8.10 wiki saying that tomcat6 can be installed with apt-get from the standard repos.15:38
acalvojalons: I'll take that in mind... I've been having troubles with the only web server we have here (it crashes once a day randomly), so I'll deploy and test a HA with 2 nodes and see what happen. Bad thing is the servers I'm going to use just have 1 rj45...15:38
mathiazhggdh: hi! around?15:46
mathiazhggdh: shall we continue the UEC testing?15:46
swiftguys, is it ok to have nagios, smokeping setup on an eol server?15:51
jmazaredowill two gateway on same network work like the other? i have this problem http://tinypic.com/view.php?pic=vys4ld&s=515:53
jetoledoes anyone know why libgtk and openoffice (these are just the ones I have noticed) seem to be part of the base install with preseeding, even when you use server as the tasksel15:53
ttxarch0njw: tomcat6 is available in 8.1015:53
ttxhttps://launchpad.net/ubuntu/+source/tomcat615:53
ttx(fwiw it's also in 8.04)15:53
ttxmathiaz: do you plan to run your magic ISO testing script ?15:54
mathiazttx: hm - for lucid beta1?15:55
hggdhmathiaz: hi, I am here15:55
mathiazttx: no - I thought zul would take up iso testing15:55
ttxmathiaz: he did, was just wondering if you planned to run it or not15:55
mathiazttx: as I'm working on some puppet WI for beta1 and helping out hggdh for UEC testing15:55
ttxmathiaz: ok15:55
mathiazttx: not for now15:55
zulttx: i did the iso testing yesterday15:55
ttxmathiaz,zul: we could use someone for the RAID1 test15:56
hggdhBTW -- all -- I would like your comments on the changes I did to the server guided whole disk install15:56
zulttx: k ill take a look15:56
mathiazttx: IIRC RAID installation are broken15:56
mathiazttx: cjwatson was working on it at the begining of the week15:56
ttxmathiaz: yes they are -- woud be good to have bugs filed for it though15:56
mathiazttx: not sure if he fixed it in time for beta115:56
ttxmathiaz: no he didn't15:57
jetoleok, I think I just solved my own question: http://ubuntuforums.org/showthread.php?p=308894315:57
mathiazttx: there is a bug about it no?15:57
ttxmathiaz: I'll check up with him15:57
ttxarrh, who added a test case ?15:58
ttxhggdh: you added the "preseeded" test case ?15:58
arch0njwttx: huh.  it doesn't show up in the package list for Ubuntu Server.15:59
mathiazttx: seems so15:59
ttxarch0njw: you must be doing something wrong16:00
arch0njwsudo apt-get install tomcat6 ...?16:00
mathiazttx: preseeded testing is probably worth testing16:00
arch0njwttx:  that's pretty standard.  No package is found.16:00
mathiazttx: as well as a kickstart install16:00
EhrNhi all. I try to install dtc-toaster, someone have success install of this panel?16:00
ttxarch0njw: I guess something is wrong in your mirror/apt.sources16:01
mathiazttx: not for beta1 though16:01
ttxmathiaz: agreed, but adding the test now and not completing it makes us look bad16:01
mathiazttx: http://www.youtube.com/watch?v=dsUXAEzaC3Q ?16:02
smoserttx, i've started instances for each candidate ami with '--user-data-file ud-multipart-01.txt' at http://bazaar.launchpad.net/%7Esmoser/%2Bjunk/ec2-test/files/head%3A/user-data/ and then verified that they did what was expected.16:11
ttxsmoser: cool16:11
hggdhttx yes, there is a (right now) simple pressed test. I am considering preparing presseds for most, if not all, of the common server installs16:12
smoseri put 3 user data tests in that directory, the goal would be to pull those into the 'test-multi.sh' launcher in the dir above it.16:12
ttxhggdh: could you complete that test for us ? It would make our beta1 test coverage look better16:12
ttxhggdh: also please don't add new testcases at the last minute on milestone release day16:13
hggdhttx there is a caveat: since I have to use an url, questions will be asked until hostname is reached (the url is only loaded after it)16:13
ttxhggdh: the testcases should generally be updated before a milestone campaign, not in the middle of it.16:13
hggdhttx: will not do it next time...16:13
hggdhttx: I have already tested the pressed multiple times, will mark it tested16:14
ttxhggdh: cool, thanks16:15
hggdhttx: please keep in mind that I did not have much time to work on them, and they were scheduled for beta116:16
ttxhggdh: ah... maybe retargeting them to beta2 makes sense then. We need some adaptations for beta2 anyway (on the cloud image front)16:16
ttxhggdh: feel free to add new tests, just make sure you mark them completed as soon as they reach the tracker16:17
* ttx cannot go to bed until http://iso.qa.ubuntu.com/qatracker/build/ubuntuserver/all shows all tests covered16:18
jetoledoes anyone know how I can set the default editor system wide for all users and all new users that don't exist yet?16:22
hggdhttx: will do. Sorry for the surprise16:23
hggdhttx: all tests I have run so far are marked. All required tests are now covered also16:25
mathiazhggdh: I've already got preseeds for all common test cases16:25
mathiazhggdh: this is what ttx was refering to when he mentioned whether I was running my iso testing scripts16:26
ttx\o/ all tests covered !16:26
hggdhmathiaz: ah, OK. If you do not mind making the preseeds public, we can add them later16:26
mathiazttx: good night!16:27
ttxmathiaz: nah, I still need to do some uec multi-network tests :P16:27
hggdhmathiaz: would the installations we did yesterday qualify for test coverage?16:27
mathiazhggdh: yes - for the topology we tested16:28
ttxmathiaz,zul: for perfection, we still need to cover:16:28
ttxhttp://iso.qa.ubuntu.com/qatracker/result/3788/35616:28
ttxhttp://iso.qa.ubuntu.com/qatracker/result/3785/35716:28
mathiazhggdh: https://code.launchpad.net/~mathiaz/+junk/iso_testing_scripts16:28
mathiazhggdh: ^^ these are my iso testing script16:29
mathiazttx: hm - netbooting16:29
mathiazttx: well the UEC testing rig uses netbooting16:29
mathiazttx: but not the mini.iso16:29
mathiazhggdh: oh - and the test we did yesterday wouldn't count for beta1 as we've tested installation from the archive rather than for an iso16:30
zuli dont think if have the infrastructure for netbooting16:31
mathiazzul: the test case for netbooting is actually based on the mini.iso16:32
zulmathiaz: k16:33
mathiazzul: so you don't need to have a PXE server to run the netboot test case16:33
zulheh well once i get through this it will be next16:33
hggdhmathiaz: I branched your iso-tests-scripts. I will adpat them for future ISO tests16:33
mathiazhggdh: the scripts are actually tweaked for my own environment16:34
mathiazhggdh: and based around libvirt and qemu16:34
mathiazhggdh: the preseeding part can easily be extracted and reused though16:34
hggdhmathiaz: I expected they would be tweaked ;-) this is why I expect to have to adjust them16:35
mathiazhggdh: https://code.launchpad.net/~mathiaz/+junk/iso-testing-cfg16:36
mathiazhggdh: ^^ this is actually the configuration with the latest version of the preseeds16:36
hggdhmathiaz: thank you. Branched16:37
zulttx: oh you did the raid1 install16:49
zuli got the same thing16:49
ttxzul: well, I reported the bug secondhand16:50
ttxzul: so it's good you covered it16:50
zulttx: i was able to reproduce it16:50
ttxcjwatson: when you have the time, please comment on feasibility of https://bugs.launchpad.net/ubuntu/+source/eucalyptus/+bug/540167 : can we have the tasks available for the UEC installer while not being displayed by the Server installer tasksel ?16:55
zulmathiaz: there is already a fix in the queue for munin17:00
mickster04hey guys, im tryin to set up a vpn server, im not sure why it isnt working:/ i get error 800 on windows but my ubuntuinstall on my laptop doesnt work either17:15
mathiazzul: for bug 538902?17:17
mickster04well it kinda works, in that i can connect to it, but i cant acces the internet thru it:/17:33
stashi guys, anybody can recommend some better replacement for nscd17:33
cemccan I get some stats/status oout of my openntpd ?17:34
warlock_mzahi guys, I need an init script for hostapd but I want to keep things clean. Should I add post-up to network/interfaces ? write an /etc/init/hostapd.conf ? or just update-rc.d to add to startup ?17:34
warlock_mzado both the event driven /etc/init/ systeym + the /etc/init.d scripts work in parallel ?17:36
=== RoAk is now known as RoAkSoAx
mickster04well this channel is good :P17:43
pmatuliswarlock_mza: yes17:46
warlock_mzapmatulis, hey that might be too specific :-)17:46
pmatuliswarlock_mza: sorry?17:47
warlock_mzapmatulis, nm17:47
zulmathiaz: yep18:00
mathiazzul: if you upload a fix could you leave a note in the relevant bug to avoir duplication18:01
mathiazzul: especially during freezes18:01
zulmathiaz: sure sorry about that18:01
mathiazzul: since LP won't update the bug right away18:02
hggdhmathiaz: whenever you have time we can go back to the UEC whatchamacallit18:09
hggdhmathiaz: or, if you do not mind, I can get back there and keep on from where we stopped, and ping you if needed18:11
mathiazhggdh: please go ahead with testing18:11
mathiazhggdh: I don't use the test rig right now18:11
mathiazhggdh: I'd suggest you keep going through the test case18:12
mathiazhggdh: if you have any question I'll answer them18:12
hggdhmathiaz: deal18:13
SquidNoobsomeone has managed to run ebtables in ubuntu server? I think it's impossible: (18:34
=== dendrobates is now known as dendro-afk
=== dendro-afk is now known as dendrobates
hggdhkirkland: on testdrive, if a DISK_FILE is provided, should it be formatted (as it is right now) or just used as-is? I would vote for using as-is ;-)19:49
arch0njwI have Ubuntu Server 8.04 running on an ESX VM. I tried to install vmware tools and it barked furiously -- even after I got the headers installed.  Anyone here have a handy link to point me to for a tried-and-true set of steps to get vmware tools working?19:59
keesmathiaz, ttx: can you guys look at bug 292971 for lucid and maybe hardy?20:07
mathiazkees: is that a security issue?20:11
mathiazkees: or is just an important bug to fix?20:11
vadi01guys have a problem with the ubuntu server. apache refuses to load javascript to LAN users but WAN users can load them when they access the server home page20:24
keesmathiaz: just an important bugfix (i.e. after enough time, they can't use the system due to leaked memory use)20:24
vadi01any idea why? or is there a specifig permission i need to set for this20:24
mathiazkees: ok - thanks20:25
sherrvadi01: have you compared the page source (same page) between WAN and LAN? maybe there's something stripping things out between server and LAN user?20:25
mathiazsmoser: how horrible is it to copy your aws credentials to a running EC2 instance?20:26
smoseri personally dont htink its too bad.20:26
smoserbut i'm not kees20:26
keesmathiaz: just don't make new AMIs with that stuff on the image.  :)  lots of people do that  :(20:27
smosermathiaz, if you think about it, the most likely entity to gain access to your credentials is a AWS employee, who could have just got them from AWS20:27
vadi01sherr: yea see this http://img.flashtux.org/img132b4dc2d3efx5408c1fc.jpg20:27
mathiazsmoser: right20:27
smosersecond most likely person is someone running an instance on the same hardware that exploits xen20:27
vadi01sherr: illegal characters is the main problem20:27
smoserand gets access to your memory20:27
mathiazsmoser: what I'm looking for is to be able to get the list instanceID that are currently running under my account20:27
smoserthen also possible i guess is if storage is not cleaned sufficiently between users, someone could find your data on their block device.20:28
RoAkSoAxmathiaz, i attached missing info to bug #531978. :)20:29
mathiazkees: I'm currently experimenting with puppet20:29
mathiazkees: and I'm looking for a way to semi-automate the client registration20:29
mathiazkees: the idea being that the client sends its instanceId as part of the certname, and then the puppetmaster checks if that instanceId is actually running under the same account20:30
sorenkirkland: Is there a way to adjust how aggressively ksm should scan for duplicate pages?20:30
mathiazkees: so if the instanceId is a known running instanceId the registration proceeds20:30
mathiazkees: how does that seem?20:30
DrNick_evening. is anyone fairly well versed in samba Active Directory authentication via likewise-open?20:33
smosermathiaz, http://www.shlomoswidler.com/2009/08/how-to-keep-your-aws-credentials-on-ec2.html20:33
smoserthat has some info.20:33
kirklandsoren: i think there is ... dig around /sys20:34
kirklandsoren: ls /sys/kernel/mm/ksm/20:35
kirklandsoren: adjust /sys/kernel/mm/ksm/sleep_millisecs i think20:35
sorenkirkland: Yeah, that seems to be the only knob I can turn20:35
soren20 msecs between each complete scan..20:35
sorenThat sounds like a very agressive default.20:35
sorenperf top tells me that something like 20% of my cpu time is spent scanning for shareable pages.20:36
sorenThat's a lot in my book.20:36
keesmathiaz: /me ponders20:37
sorenkirkland: Are you seeing similar behaviour? It's not that I can feel the machine being heavily loaded by it, I just wondered why my fan was on all the time, and then noticed this.20:40
erichammondmathiaz: I think it's fairly bad to copy AWS keys to an instance, but I do it because there is no good way to perform certain functions without them.20:45
mathiazerichammond: right - I've outlined my use case above20:46
mathiazerichammond: as I'd like to automate as much as possible the enrollement of puppet client20:46
mathiazerichammond: *clients*20:46
erichammondmathiaz: You want the list of all instance ids or the instance id of the currently running server?20:47
mathiazerichammond: the list of all instance ids20:47
erichammondWhat does "known running instanceId" mean?  known to whom?20:47
mathiazerichammond: as I'm using the instance id of the puppet *client* in the certname20:47
mathiazerichammond: known to my account20:47
erichammondoh, so the server is checking20:47
erichammondpuppet server20:47
mathiazerichammond: yes - puppetmaster checks if the instance id of the requested csr is an instance id part of the aws account20:48
erichammondcould the client lie about its instance id and fool the server?20:48
mathiazerichammond: yes20:48
mathiazerichammond: however it would have to lie about an instance id that is *part* of the running instances for the specific account20:49
mathiazerichammond: the puppetmaster will only sign the request (and issue the certificate) if the instance id is part of the running instances20:49
mathiazerichammond: the underlying assumption here is that the instanceId are more or less randomly generated by amazon20:50
erichammondmathiaz: No, they are very sequential (with some scrambling)20:50
erichammondand easy to guesss20:50
erichammondor guess20:50
erichammondmathiaz: If you're willing to trust Amazon security groups, then it's pretty easy to only allow connections to puppetmaster from other instances in the same account.20:51
mathiazerichammond: right - that have to be part of the same security group20:52
erichammondwell you can specify the security group.  I.e., security group "puppetmaster" allows connections from security group "puppetclient"20:52
mathiazerichammond: can an instance be part of multiple security groups?20:53
erichammondyes20:53
kirklandsoren: talk to aliguori about that ... he thought it was pretty aggressive20:53
mathiazerichammond: can an instance be removed from a security group while running?20:54
erichammondeach security group *adds* permissions (they can't take away)20:54
sorenkirkland: Will do.20:54
kirklandsoren: we can change twiddle that knob if necessary20:54
erichammondThe security groups assigned to an instance cannot be changed after an instance is started, but the permissions associated with each security group can be changed.20:54
kirklandsoren: and yes, 20ms does sound pretty frequent20:54
mathiazerichammond: hm - ok20:55
erichammond(checking to see if that's still true)20:55
erichammondyep, I don't see any security group option in ec2-modify-instance-attribute.  Sometimes that command seems to have new things added without me hearing about them :)20:56
mathiazerichammond: allright - so using the instanceId doesn't really help here20:56
mathiazerichammond: as it increases sequentially20:56
sorenkirkland: Yeah. it's so short you almost wonder why it waits at all.20:57
erichammondCan't puppet use a shared secret?20:57
mathiazerichammond: hm - yes it could20:57
mathiazerichammond: the idea here is to use the certname to convey the shared secret20:57
mathiazerichammond: the instanceId being a kind of share secret20:58
mathiazerichammond: the attach scenario I'm trying to protect against is a root compromise of a puppet client20:58
erichammondoh20:58
mathiazerichammond: that should *not* lead to easy access to other puppet manifests20:58
erichammondhow does the puppetmaster know what kind of system the client should be configured as?20:59
mathiazerichammond: while still being able to automate the registration process20:59
mathiazerichammond: that's another part of the problem that comes later20:59
mathiazerichammond: the first step is to issue a certificate to the requesting client21:00
mathiazerichammond: making sure that the client is *expected* to be asking a certificate21:00
erichammondmathiaz: My company has been using puppet on EC2 and we've faced some similar issues about how to shoehorn puppet concepts into dynamically created instances.  I don't think we've completely resolved them.  I'm looking at chef to see if it might be a better fit.21:04
mathiazerichammond: well - I've got some ideas how to do that21:05
mathiazerichammond: the key part though is which components you use to *create* the instances21:05
erichammondAt the moment, we've dropped having a centralized (and single point of failure) puppetmaster.  Each new instance bootstraps itself as its own puppetmaster and then runs.21:06
mathiazerichammond: if the component that runs new instances is flexible enough you can ask the puppetmaster to generate a certificate for the client and send it to the instance21:06
mathiazerichammond: how do you send the manifest?21:06
mathiazerichammond: do you ship the whole site configuration to each instance?21:07
erichammondmathiaz: My co-worker did most of the work.  I believe it picks it up from a private S3 URL.21:07
mathiazerichammond: ok21:07
erichammondmathiaz: Yes, the whole puppet.21:07
erichammondAt the moment, the S3 URL expires so attackers cannot access it a bit after startup, but that's probably going to change as we get more into spot instances and auto scaling.21:08
erichammondThis approach does not solve your requirement of restricting access to certain manifests from a root compromised machine.21:09
mathiazerichammond: are you using Ec2 Auto-Scaling?21:19
mathiazerichammond: or you've got your own auto-scaling system?21:19
erichammondmathiaz: We are not auto scaling at the moment.  We plan to add it as we grow.21:27
jnsswhen was the last kernel update22:07
jnssor whatever update required you to reboot22:07
mickster04jnss i think server is desinged not to be needed to reboot22:11
mickster04howelse are you gona get 365+ days of uptime:D22:12
njbairwhy is sshd started and then restarted when ubuntu boots?22:12
jnssyeah that is true mickster0422:12
jnssbut kernel security updates require reboots ;(22:12
mickster04well i havent gotten one of those in 40+ days i know that22:12
njbairnothing like when somebody brags about their uptime, then has to restart after like 6 months only to find that half of their services aren't starting properly22:13
mickster04njbair: yeah, im worried about having to reboot22:13
njbairI reboot monthly, if for no other reason than to avoid that kind of thing22:14
njbairalso, for the 5 minutes it takes, whose server can't afford a regular reboot?22:15
jnssbragging is still nice22:15
mickster04yeah22:16
jnssa ni uptime usually denotes bsd22:16
njbairactually, it usually denotes an under-utilized machine22:16
njbair"Turn it up till it breaks, then back off a little bit." that's my motto!22:17
mickster04yeah mine isnt used much:D but what it does it does well22:17
* jnss runs centos22:18
jnssthat thing has an old kernel22:18
njbairmickster04, my home server does web, nfs, squid, svn, ssl, all on a mini-itx22:18
jnssbut i am told an update was issued a few hours ago22:18
jnssmini itx? what model22:18
njbairVIA EPIA MII22:18
njbairI just found out the board has built-in hardware crypto22:19
mickster04njbair: web, squid, samba ssh all on a fit-pc2:D22:19
njbairI reconfigured openssl to use VIA Padlock and ran some benchmarks, it's ridiculously faster22:19
=== AntORG_ is now known as AntORG
jnssit's pretty insecure though22:24
jnssreferring tot he number generator22:24
jnssdo you know the watt draw of your itx?22:25
=== erichammond1 is now known as erichammond
=== Authority_ is now known as Authority
jetoledoes anyone know how to test commands that you run in preseed23:58
jetolemine fails and I have tested it pretty thuroughly outside of the preseed run23:59

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