[00:00] <boxybrown> twb: after initial installation
[00:00] <twb> Dunno
[00:26] <azizLIGHTS> ssh keys question: can i just download the server's public key and use that with putty on windows to connect to the server without password?
[00:26] <azizLIGHTS> or i have to put the client (putty computer)'s public key onto the server
[00:26] <azizLIGHTS> which way is it
[00:27] <twb> azizLIGHTS: even if you CAN do that, you shouldn't.
[00:28] <azizLIGHTS> whats the difference
[00:28] <twb> azizLIGHTS: each host has a keypair, and each USER has a keypair.
[00:28] <azizLIGHTS> i dont quite understand i think..
[00:28] <twb> azizLIGHTS: if you reuse the same keypair for both a host and a user, the system ends up less secure
[00:28] <azizLIGHTS> :S i cannot undrestand that stuff twb
[00:29] <azizLIGHTS> can u use words like server and client
[00:29] <azizLIGHTS> in that sentence
[00:29] <twb> the server and client are both hosts
[00:29] <twb> the person sitting at a keyboard is a user
[00:31] <azizLIGHTS> so if i got the server's public key, im giving access to whole server for one user on the clieint?
[00:31] <azizLIGHTS> but u want me to do : put user@client's pub key onto server, so only the user@client can get onto server?
[00:31] <azizLIGHTS> am i understanding
[00:32] <azizLIGHTS> any thing like ssh keys for dummies exists?
[00:35] <twb> Sorry, I'm dealing with paying customers at the same time
[00:36] <twb> azizLIGHTS: you don't have to do anything with the server keypair.  It's exchanged automatically during an ssh login.
[00:36] <twb> azizLIGHTS: if you want someone to be able to log in with a keypair, you install *their* (the user) public key in server:~/.ssh/authorized_keys
[00:37] <twb> azizLIGHTS: you can also edit /etc/ssh/ssd_config with "AllowUsers user@client" to restrict access to ONLY that username from that client machine (actually, IP address).
[00:38] <azizLIGHTS> ok so the "client" (the one who want to login) has t always put their public key onto the machine they want to access
[00:38] <azizLIGHTS> and there is no reverse of this?
[00:38] <twb> azizLIGHTS: correct.
[00:39] <twb> Technically you could SSH into their machine and then set up some kind of port forward for a crappy unencrypted RPC, like say telnet or rsh.  It wouldn't be very good, security-wise.
[00:39] <azizLIGHTS> if the revese happens, it would be the same process
[00:40] <twb> Right, they would need to add your public key to their .ssh/authorized_keys
[00:40] <azizLIGHTS> ok i see it now
[00:40] <azizLIGHTS> much better
[00:40] <twb> Public key cryptography always works this way -- you publish the public key (i.e. the "lock" part), and keep the private key (the "key" part) secret.
[00:41] <twb> Then, OTHER people can choose to lock up their stuff with your public key, allowing YOU to unlock it with the secret key.
[00:42] <twb> Some public crypto frameworks (e.g. GPG) have a de facto mechanism to upload public keys and key revocation (burn) notices, but unfortunately SSH doesn't.
[00:42] <azizLIGHTS> oh
[00:42] <twb> You can, of course, always just email your key to people as an attachment, or put it on a public web server and have them wget it
[00:43] <azizLIGHTS> what actually happens after you do ssh-copy-id user@host, and then do ssh user@host again, what is passed to the host
[00:43] <twb> Note that the MOST IMPORTANT part of this is that you keep your private key secret.  That is the weakest link in any assymetric cryptography design.
[00:45] <azizLIGHTS> how does the host know you are user@client and that it maches the entry in its .ssh/authorized_keys
[00:46] <twb> azizLIGHTS: it knows because when you do "ssh twb@example.net", user is "twb" and sshd can see that I'm coming from 203.7.155.20, which resolves to "client".
[00:47] <azizLIGHTS> oh
[00:47] <twb> THEN, it checks the key that I send against the key in ~twb/.ssh/authorized_keys
[00:47] <twb> (Technically I don't send the key, but some data transformed by the key.)
[00:50] <azizLIGHTS> k so if i do "ssh aziz@server.com" from workdesktop@client.com, server will see i am workdesktop@client.com, go check on /home/aziz/.ssh/authorized_keys for a key for workdesktop@client.com
[00:50] <azizLIGHTS> if that makes any sense
[00:51] <azizLIGHTS> so theres no machine wide key basically, on either side
[00:54] <twb> azizLIGHTS: no, the server will see "aziz@client.com"
[00:55] <twb> It's not a very intuitive way for the server to say it
[00:55] <twb> i.e. from <client user>@<client host>, ssh <server user>@<server host>, sshd will see you as <server user>@<client host>.
[00:56] <azizLIGHTS> oh
[02:41] <marshall> hey ubuntu-server
[02:41] <marshall> I'm trying to setup ldap
[02:41] <marshall> using this guide: https://help.ubuntu.com/10.04/serverguide/C/openldap-server.html
[02:42] <marshall> I got to the part where I ldapadd backend.example[...]
[02:42] <marshall> and I'm trying to add frontend.example[...] but it's asking for LDAP admin password
[02:43] <marshall> I put 'durf' as the password in the backend[...].ldif
[02:43] <marshall> but it's failing authentication when I try to use it at the prompt
[02:43] <marshall> any idea what might be wrong?
[02:44] <nigelb> It happened to me too.  I think you may want to hash the backend password using slappasswd
[02:44] <marshall> then what?
[02:44] <nigelb> This is the guide that I used though http://tuxnetworks.blogspot.com/2010/06/howto-ldap-server-on-1004-lucid-lynx.html
[02:44] <nigelb> When I didn't hash the passwords, it didn't work :|
[02:46] <marshall> so for olcRootPw I need to use the output from slappasswd?
[02:47] <marshall> it should look like this? "olcRootPw: {SSHA}i8HWx5MRe4wW8e3NzhMvxC6SUrYS3jtx"
[02:47] <marshall> nigelb?
[02:48] <Guest60662> okay, I have a server up and running and When lets say one user moves a file to the everyone folder, another file can access it but not be able to delete or change it. I just learned of thei create mask = 0765 will that help any?
[02:48] <Guest60662> and if not how may I fix this?
[02:54] <nigelb> marshall: yeah
[02:54] <nigelb> marshall: (sorry, stepped away for a moment)
[02:55] <marshall> nigelb: ok, so what can I do now to reset the admin pw?
[02:55] <nigelb> wel, um, the last the time I messed up I did a apt-get remove --purge and redid the instructions
[02:55] <nigelb> but that's becasue I'm new to ldap too
[02:56] <marshall> ok, I'll do that, thanks :D
[03:56] <electrofreak> my server 10.04.1 isn't booting... I need help critically
[03:57] <electrofreak> even the Recovery Boot option in grub isn't working
[03:57] <electrofreak> and all I get is a blank screen with a blinking cursor
[03:58] <electrofreak> I feel like the output of the boot isn't being echo'd to the screen properly
[03:58] <electrofreak> can anyone help me diagnose this?
[04:04] <jmarsden> electrofreak: Can you boot the from a CDROM (livecd) and then examine the hard drive(s) and filesystem(s) on the server from that?
[04:04] <electrofreak> I did an fsck already
[04:04] <electrofreak> I'm booting a livecd again... wonder if initramfs is messed up... and needs updating
[04:07] <electrofreak> I don't like that ubuntu server gives nearly no output at boot
[04:07] <electrofreak> I've spent many an hour debugging the simplest crap because I got no output from the boot process
[04:18] <electrofreak> I have a scary feeling I'm going to have to reinstall :-(
[04:18] <Error404NotFound> I can sftp just fine, but i can't ssh, it just stops there, have waiting for upto half an hour: http://pastebin.com/HxM0yYsk
[04:27] <electrofreak> ok, figured it out.
[04:27] <electrofreak> it was trying to mount FS's that weren't there. I just commented out the lines in fstab...
[04:28] <electrofreak> but I have a MAJOR issue with that fact that it doesn'
[04:28] <electrofreak> t echo anything to the screen to tell me that
[04:28] <electrofreak> can someone offer suggestions on how to fix that? I've removed splash and quiet from the grub options.
[05:26] <jmarsden> electrofreak: Are/were your missing filesystems NFS mounted?
[05:26] <electrofreak> jmarsden: no... it was a USB drive that wasn't there anymore
[05:28] <jmarsden> OK.  Then I don't know what to suggest, there are special issues for NFS mounts, the intr option and soft mounting, etc... but they are NFS-specific.
[05:55] <syb> Has anyone else run "virt-install" in Maverick to boot an ISO (kubuntu-10.10-desktop-i386.iso)  and seen it run *extremely* slowly?
[05:55] <syb> ...using 100% cpu too?
[05:58] <syb> I must be doing something wrong to cause KVM to take _30_ minutes to boot an ISO! :-(
[05:58] <syb> I'll go try --sdl instead of --vnc
[06:04] <twb> syb: you probably don't have hardware acceleration
[06:04] <twb> syb: try -nographic or -curses if you really want it to be fast
[06:05] <twb> Not that I think it's the UI that's slowing it down...
[06:05] <syb> kvm-ok reports "KVM acceleration can be used"
[06:05] <syb> /dev/kvm is root:root with crw-rw----+
[06:06] <syb> fwiw, I ran the virt-install command as root anyways (and root is in both kvm and libvirtd groups)
[07:18] <syb> NOTE: never name a machine 'console' and expect LVM to work when /dev/console already exists! ;-)
[07:19] <syb> actually, just the automated 'Guided - user entire disk and set up LVM' won't work in the installer.
[07:20] <yellabs-r2> when installing ubuntu server and after that apt-get install wordpress, should i not end up with an working wordpress install ?
[07:26] <twb> syb: read RFC1178
[07:27] <twb> yellabs-r2: if by "working" you mean "secure" -- wordpress doesn't support that
[07:27] <yellabs-r2> i mean, up and running..
[07:27] <yellabs-r2> that is , after the install i can login to wordpress with the web frontend
[07:28] <syb> twb: *nice* article. Now I feel there are many more RFC's I should read.
[07:29] <twb> The one about terminology for RFCs and FRs is good.
[07:30] <twb> RFC 2119
[07:30] <twb> Most of the are more technical, e.g. defining how SMTP and HTTP work.
[07:31] <yellabs-r2> maybe there is some need for ' how to ' , for example turnkey is a very easy way to setup , user friendly, bitnami tries to do something simular , but that too does not end up with an working setup, and yes, for beginners its difficult, ubuntu server could fill the bill, but its complicated ..
[07:40] <twb> I am not interested in making things easy for the ignorant.
[07:45] <syb> twb: a global company i've worked for uses '-' to name machines with <clientID>-<purpose><number>
[07:45] <syb> eg: canonical-web01
[07:45] <yellabs-r2> yeah
[07:45] <yellabs-r2> i can understand that
[07:46] <yellabs-r2> but easy can also mean better, now if you see easy as better, then you would agree i think .. :)
[07:47] <syb> so the 1st (test) install of UEC I'm doing in a 2 node topology, I might name "syb-euc01"; Then "syb-node01" for the first Node Controller
[07:50] <twb> syb: that's a role name, and it's not appropriate for the hostname.
[07:50] <twb> syb: i.e. it should be a CNAME not an A
[08:08] <shaggy2> need help, had a blackout today while I was out (UPS also failed), servers bios is set to remain in power off after loss of power server is now running again and is shown on the network, but can not access the websites via the domain name, nore can I get access to the mail server part of it
[08:08] <shaggy2> what could be causing this problem?
[08:14] <twb> shaggy2: maybe log into it and find out?
[08:14] <twb> !mindreader
[08:14] <twb> Stupid dumb bot :-/
[08:17] <Blinkiz> Hi. I have a 3ware raid card that I would like to check S.M.A.R.T status one each individual harddrive. 3ware output S.M.A.R.T info as hex values. What program can I use to decode this?
[08:18] <twb> smartctl is used to read/write SMART data
[08:19] <twb> Whether it can deal with random shitty fakeraid cards, I don't know.
[08:19] <twb> IME it usually can't
[08:21] <soren> Blinkiz: Look at smartctl's man page.
[08:21] <soren> Blinkiz: Search for 3ware.
[08:23] <shaggy2> I have logged into the server but I am not sure what I am looking for, everything seems to be ok
[08:24] <Blinkiz> soren, Thanks for the tip. Searching on the Internet, it seems I need some kind of 3w-xxxx driver loaded into kernel first.
[08:26] <Blinkiz> soren, Nice.. I got it to work know. Thanks!
[08:31] <lephisto> good morning
[08:34] <shaggy2> is there a command that will start all services, or show me what servers are running and what is not?
[08:35] <shaggy2> I ment, or show me what services are running and what is not?
[08:35] <lifeless> services service --status-all
[08:35] <shaggy2> ty
[08:44] <syb> Anyone else here currently have an AMD cpu running some VM's booted via libvirt?
[08:44] <syb> On Maverick?
[08:45] <twb> Do you mean amd64?
[08:46] <syb> twb: This box I'm on is booted to i386 running an Athlon 64 X2 CPU
[08:46] <twb> Why do you care what vendor?
[08:47] <syb> I'm reading on the www.linux-kvm.org/page/FAQ that if hardware virtualisation is being used then the usage count of  kvm_amd kernel module will be >0
[08:47] <syb> I was complaining earlier that my VMs booted via libvirt are running very slowly. Looks like they aren't using KVM.
[08:49] <twb> Hum, OK
[08:49] <syb> The cause is obvious, from this log file entry: "open /dev/kvm: Permission denied". However I fail to see the permissions problem
[08:50] <twb> ls -l /dev/kvm
[08:50] <syb> crw-rw----+ 1 root root 10, 232 2011-02-20 13:45 /dev/kvm
[08:50] <twb> Who does virtd run as?
[08:50] <twb> ps auxf | pastebinit
[08:51] <syb> root is running "/usr/sbin/libvirtd -d"
[08:52] <syb> but user '114' is running /usr/bin/kvm
[08:52] <syb> grep 114 /etc/passwd tells me "libvirt-qemu"
[08:53] <syb> twb: I'm doing this testing of building VMs today using a Maverick i386 LiveDVD to boot this host machine.
[08:53] <twb> Perhaps you need to wangle that, then
[08:54] <syb> ...so my fail might be just the occasional weirdness of permissions/ownerships of software installed into a LiveCD session.
[08:57] <syb> twb: *thankyou* for your input. I reckon I best do my experimentation with VMs from a real install of Ubuntu instead of a LiveCD boot.
[08:58] <twb> Shrug
[08:58] <twb> Whatever man
[09:27] <shaggy2> need help, had a blackout today while I was out (UPS also failed), servers bios is set to remain in power off after loss of power server is now running again and is shown on the network, but can not access the websites via the domain name, nore can I get access to the mail server part of it. everything that is ment to be running is running, but I can't acces the sites or mail help???
[09:27] <twb> 19:14 <twb> shaggy2: maybe log into it and find out?
[09:27] <twb> Ah, you asked about that.
[09:28] <twb> I imagine you would be looking at /var/log/apache2/err.log or similar, and your process tree to see if it's running, etc.
[09:28] <shaggy2> I have logged in I have done service --status-all and checked that everything in running
[09:28] <twb> I know nothing of service(8); that's a RHism
[09:28] <shaggy2> how do I check process tree?
[09:28] <twb> ps auxf
[09:31] <shaggy2> wait I think I know what happened
[09:32] <shaggy2> I moved house recently, got my ISP to transfer my connection to the new place, and got an e-mail stating a new IP address. I called them about it they said that my old ip address will be transfered to the new account at the time of the new account getting activated
[09:32] <shaggy2> I bet the didn't change it
[09:37] <twb> shaggy2: how are you getting in if it's using the wrong IP?
[09:38] <vagy> hi
[09:40] <shaggy2> cause the server is on my local network
[09:41] <twb> Fair enough
[09:41] <twb> In that case you can easily test if the IP is buggered
[09:41] <shaggy2> yeah I have, it's the new IP witch I didn't want, but then again maybe I should keep it, might stop the DoS attacks
[09:42] <vagy> i have a severe problem on a production 8.04 server after performing a regular update through aptitude...it updated the kerberos libraries and after rebooting the system cant find libkrb* (ls libkrb* gives a no such file or directory when resolving the symlinks to the actual versions) ... any idea how to recover?
[09:47] <twb> nope, sorry
[09:47] <vagy> i would say that i need to identify the exact package the contains kerberos libraries and try to update again, in case something went wrong while updating.... can someone point to a direction about finding this package?
[09:47] <twb> shaggy2: just find out, "ip address"
[09:48] <twb> shaggy2: that is, run the command ip with the argument address
[09:49] <jmarsden> vagy: libkrb53.  rmadison -s hardy-updates libkrb53 outputs:      libkrb53 | 1.6.dfsg.3~beta1-2ubuntu1.8 | hardy-updates | amd64, i386
[09:51] <vagy> jmarsden: thanx man, i am on it
[09:52] <jmarsden> vagy: You're welcome
[09:55] <vagy> jmarsden: hm do you think this error (while running apt-get) is related to a filesystem crash? EXT3-fs error (device sda1): ext3_free_blocks: freeing blocks not in datazone
[09:56] <vagy> and the last error: EXT3-fs error (device sda1) ... : Journal has aborted ... oh my
[09:56] <floown> hello
[09:57] <floown> I have a locale prob with some � instead to have a correct caracter, what shloud I enter please?
[09:57] <jmarsden> vagy: I don't know, but that doesn't sound good to me... at all... but it is 2am here, I need to get some sleep, hopefully someone else can help you troubleshoot that.
[09:57] <vagy> jmarsden: ok, thanx a bunch!
[09:57] <jmarsden> vagy: No problem.
[10:53] <vagy> hi again
[10:54] <vagy> for some filesystem crash reasons, i have trouble executing apt-get or aptitude (for instance /var/lib/dpkg/status cant be parsed, coz its damaged) .. is there a way to re-install apt-get and its dependencies for ubuntu 8.04 server?
[11:02] <lephisto> okok
[11:02] <lephisto> ubuntu dev's here?
[11:02] <lephisto> lasst chance to comment on that https://bugs.launchpad.net/ubuntu/+source/lvm2/+bug/719333
[11:02] <lephisto> otherwise ubuntu is no server OS anymore
[11:02] <lephisto> and i have to switch to RHEL or sth
[11:02] <lephisto> unluckily
[11:16] <vagy> update: /var/lib/dpkg/status is backed up in /var/backups so using that resolves the broken status file problem (pheww)
[11:18] <marcriera> hello. I wonder why ubuntu 8.04 and 10.04 have different hash functions to store same password on /etc/shadow .  And still I can move users from one OS to the other without problemes, or I'll find in trouble one of this days?
[11:25] <vagy> update: my /var/lib/dpkg is severly f*ed up, now i have a missing available file .. which is repaired using this: sudo dpkg --clear-avail && sudo apt-get update
[11:34] <MTecknology> What would be the best way to block an IP?
[11:37] <MTecknology> nvm... ufw works
[11:43] <Blinkiz> Hi. I would like to put in a Deny rule in ufw before my allow lines. Currently my new "deny" line is last in the chain and do nothing. Is it a way to put a rule line at the beginning of rule sets without deleting the pre existing ones?
[11:52] <marcriera> MTecknology, put that ip on /etc/hosts.deny
[11:52] <MTecknology> marcriera: turns out that doesn't work; the binary isn't using libwrap.sop
[11:53] <MTecknology> Blinkiz: i made a nice little one liner for this :)
[11:53] <marcriera> MTecknology, which binary?
[11:53] <MTecknology> while read ip; do ufw insert 1 deny from $ip to any; done < /etc/nginx/ips
[11:53] <MTecknology> marcriera: nginx
[11:55] <marcriera> MTecknology,  I do not use nginx myself, but this can be useful for you => http://www.cyberciti.biz/faq/linux-unix-nginx-access-control-howto/
[11:55] <shaggy2> TWB: if you are still there just thought I would let you know that my ISP has corrected the issue and given me the IP Subnet mask I bought 2 years ago. bloody idiots
[11:55] <twb> O
[11:55] <twb> *OK
[11:56] <MTecknology> marcriera: i had been doing that; but i'm looking for higher than nginx level now - and i think ufw will work for this
[11:57] <marcriera> I have a remote server with 10.04, is there any way to snapshot the HD before I do an upgrade ,  to be able to rollback in case some package like mysql does not upgrade well?
[11:58] <marcriera> MTecknology, I can share my iptables management script with you if you want
[11:58] <MTecknology> my list of blocked ip's it getting a bit long... http://mteck.pastebin.com/ZJnF6YW0
[11:58] <marcriera> MTecknology, i never like 'Uncomplicated' stuff. It's like dreamweaver, is easy but you'll never know what its doing
[11:58] <MTecknology> marcriera: sure
[11:58] <MTecknology> could be fun
[11:58] <MTecknology> I used to do the iptables rules myself but just got kidna sick of it
[11:58] <marcriera> let me 2 secs
[11:59] <Klaus_Dieter> hello world
[11:59] <Klaus_Dieter> is it posisble to set up ubuntu server using a network install?
[12:00] <MTecknology> !install
[12:00] <Klaus_Dieter> thanks
[12:06] <vagy> bye
[12:07] <marcriera> MTecknology, I just opened a private session to send the files.
[12:07] <Klaus_Dieter> lovely - the installation from knoppix page was what I Was looking for
[12:07] <MTecknology> marcriera: I can't accept dcc connections
[12:21] <marcriera> MTecknology, then, let me clean the script. ;)
[12:24] <marcriera> MTecknology, http://paste.ubuntu.com/570021/  here it goes
[12:27] <nathanael> does anyone know how to configure wireless net on a ubuntu headless server. i have the card installed but thats it
[12:32] <kdeNatCode> does anyone here know how to configure wireless on a headless ubuntu server
[13:19] <basas> hello
[13:20] <basas> i have one problem with ltsp, ubuntu server and AD
[13:21] <basas> when i try to log in on the thin client and do mistake in password or user name (using AD user) the login screen show me something like that
[13:21] <basas> basas@10.10.100.183's password:
[13:22] <basas> it looks like the server searching a local account
[13:24] <basas_> can someone help me with this ?
[13:26] <basas_> i think that it can be done in pam.d but i dont know how
[13:27] <pmatulis_> basas_: you see user@address onscreen only when you make a mistake in password?  it's not clear
[13:28] <basas_> no i see this on every time when i put wrong user name or password
[13:28] <basas_> for example
[13:28] <basas_> good user name nad password everything works fine
[13:29] <basas_> good user name and wrong password i see basas@10.10.100.183's password:
[13:29] <basas_> and then if i put right password i can log in but system hang up on black screen (i think because i dont have this account localy)
[13:30] <pmatulis_> basas_: so, yes, i believe you need to change PAM file(s)
[13:31] <basas_> i want to log in only with AD users
[13:31] <pmatulis_> basas_: you should also look in /var/log/auth.log for guidance
[13:31] <basas_> can you help me what i should change in pam.d ?
[13:32] <pmatulis_> basas_: it seems common, did you google 'pam active directory'
[13:32] <basas_> yes i google for two days and dont find answer
[13:33] <pmatulis_> basas_: strange
[13:33] <basas_> here is solution but
[13:33] <basas_> https://help.ubuntu.com/community/ActiveDirectoryWinbindHowto
[13:33] <basas_> i use likewise to connect to domain
[13:33] <basas_> not winbind
[13:34] <pmatulis_> basas_: likewise is supposed to work
[13:36] <basas_> yes and it work but i dont want see this line basas@10.10.100.183's password
[13:37] <basas_> when student do mistake in username or password i want to back to login screen without this check of local user
[13:38] <pmatulis_> basas_: but it doesn't work, you get a black screen when you put in correct credentials
[13:40] <basas_> yes but only if i put good user name next first time wrong password and second time good password
[13:41] <basas_> because i dont have this account locally
[13:41] <basas_> and then i have black screen
[13:41] <basas_> but when i put good user name and good password for first time everything works fine
[13:46] <basas_> ok i must go thank you for your help and i will be continue with pam and i've hope that i figure out this :)
[13:46] <basas_> bb
[13:46] <pmatulis_> basas_: like i said, i would do another test and check the logs to see what is happening, then look at pam
[13:47] <basas_> ok
[13:47] <basas_> ty you again
[13:47] <pmatulis_> basas_: np, come back and let me know
[13:48] <jamespage> smoser: around?
[13:54] <rawler> hi.. attempting to run Ubuntu under lxc, but are having problems with udev not being removable due to upstart depending on it.. (through mountall)
[13:54] <rawler> are there any workaround?
[13:59] <hallyn> rawler: if you're on maverick or natty, you can leave udev in
[14:00] <hallyn> rawler: if lucid, then the workaround is to install an upstart job which fakes the udev signals
[14:00] <rawler> new distro under lxc is maverick, upgraded from lucid.. (host is lucid)
[14:00] <hallyn> if host is lucid, then you need the workaround
[14:00] <hallyn> but look at /usr/lib/lxc/templates/lxc-ubuntu
[14:00] <hallyn> it does the workaround you need
[14:00] <rawler> problem is that the apt-upgrade to maverick failed since udev is not allowed to create it's devices..
[14:00] <hallyn> yes
[14:01] <hallyn> apart from pinning the udev package, i don't know the best solution
[14:01] <rawler> so ATM, I can't finish the upgrade due to "mknod: `/lib/udev/devices/ppp': Operation not permitted"
[14:01] <rawler> crap.. :S
[14:01] <rawler> well, well.. the container was pretty vanilla so I guess I can try to reinit it from Maverick..
[14:01] <hallyn> look up how to pin package versions, that should let you skip udev
[14:02] <hallyn> rawler: yes, the reason it's not a big deal to ppl is that continers are usually somewhat throwaway, just xfer your data
[14:02] <rawler> but, it isn't possible to remove it? it seems superfluous to have udev and plymouth installed, when its never, ever used?
[14:02] <hallyn> i don't know how to do it
[14:02] <rawler> oki..
[14:03] <hallyn> you might ask on #ubuntu or #ubuntu-devel (or keep asking here, someone else might know)
[14:03] <hallyn> rawler: (but it is a holiday in the US)
[14:03] <hallyn> rawler: btw, there is a #lxcontainers channel you might join too
[14:03] <rawler> yes.. I'll hold here, I think.. seems like mostly a server question..
[14:04] <rawler> oh? on FreeNode? I did search for such group earlier when troubleshooting a different question..
[14:05] <hggdh> soren: ping
[14:05] <rawler> strange.. I search for *lxc* in all channels.. well, well.. :)
[14:12] <raubvogel> Anyone using openipmi?
[14:15] <Daviey> raubvogel, many people use openipmi.
[14:16] <raubvogel> Daviey, I would expect so. I wanted to know how to enable it. What I am finding is that you have to manually do modprobe the required stuff even though it is officially supported by canonical
[14:17] <raubvogel> Also, it seems that openpmi has its own gui and command line interface and yet all examples I find through google show people using ipmitool
[14:18] <Daviey> raubvogel, yes - that seems to be the case for me aswell. :/
[14:18] <raubvogel> Makes me feel something is missing here
[14:20] <raubvogel> Or I am doing something wrong
[14:21] <soren> hggdh: You rang, sir?
[14:23] <raubvogel> Daviey, which modules do you load?
[14:24]  * Daviey checks
[14:26] <Daviey> raubvogel, hmm, something looks broken on mine... http://pb.daviey.com/WZzk/
[14:26] <Daviey> hmm, might be correct
[14:26] <raubvogel> You know more than I do ;)
[14:26] <Daviey> i'll try another server in a bit.
[14:27] <raubvogel> Thanks
[14:27] <Daviey> hallyn, Are you working on the libvirt and multipath-tools merge?
[14:29] <jdstrand> linuxtech: re mailman> should be today
[14:29] <Daviey> ttx, Are you still tracking tomcat?
[14:32] <Slyboots> Hmm..
[14:32] <Slyboots> Ah, I've just been reading netstat, Noticed that "Privoxy" is making a LOT of loopback connections on my server (all Time_wait)
[14:32] <Slyboots> Like.. 50-60+
[14:33] <Slyboots> This seems to be new and.. kind of weird behavior
[14:33] <Slyboots> Perhaps some kind of configuration error ro..?
[14:37] <Daviey> jdstrand, RE: mailman, is that a security update for lucid to close CVE-2011-0707 ?
[14:39] <jdstrand> Daviey: hardy - maverick, yes. mdeslaur is working on it if you need more details
[14:40] <jdstrand> Daviey: oops. dapper - maverick
[14:40] <Daviey> jdstrand, Oh no.. just wanted to check that one was in safe hands. :)
[14:40] <mdeslaur> Daviey: yes, and CVE-2010-3089 also
[14:40] <Daviey> lovely...
[14:48] <hggdh> soren: you are the admin for the server-qa team, and my membership is expiring... would you mind?
[14:50] <ttx> Daviey: a bit. But James does too.
[14:51] <ttx> Daviey: why?
[14:52] <Daviey> ttx, I wondered if you were still active in debian maintainership.
[14:53] <Daviey> Noticed a new upstream release in Debian, and wondered if you knew if it was 'risky'
[14:53] <Daviey> jamespage, ^^ same question to you.
[14:53] <Daviey> (tomcat6)
[14:54]  * jamespage takes a look at the detail
[14:55] <Daviey> super
[14:57] <raubvogel> Daviey, is there a way in openipmi/ipmitool to identify a power supply if you have more than one?
[14:57] <compdoc> redundant psus? thats always nice
[14:58] <raubvogel> compdoc, agreed. It took me a while to convince the powers-to-be that was a nice thing to have
[15:00] <compdoc> I have a server I need to sell that has the ability, but I dont have a 2nd psu
[15:01] <compdoc> its a monster sized box
[15:01] <jamespage> Daviey: having trouble seeing *.apache.org at the moment for detail of upstream change logs
[15:01] <Daviey> raubvogel, good question... I've never needed to do that... TBH, my ipmi usage is normally limited to power control and serial console.. I could look into it, currently really busy tho :(
[15:02] <Daviey> jamespage, I struggle to see upstream changelogs for all apache projects.. that is nothing new :(
[15:03] <Daviey> jamespage,  axis2c is another good example :)
[15:04] <hallyn> Daviey: no, holiday
[15:04] <hallyn> Daviey: jdstrand gave me some feedback on the changelog.  I'll hand it back to him after I integrate those
[15:04] <hallyn> Daviey: he'll upload it hopefully tomorrow
[15:05] <hallyn> as for multipath-tools, I have a package merged from unstable but would like it tested first
[15:05] <jdstrand> hallyn: I'm here today, so if you give it to me, I should be ablt to provide feedback, testing, etc
[15:06] <hallyn> jdstrand: won't have it today, sorry
[15:06] <jdstrand> hallyn: but being it is a holiday, if it isn't ready, I'll still do it tomorrow like I said
[15:06] <jdstrand> sure
[15:06] <hallyn> (but hopefully I"ll get my *&%( laptop doing ad-hoc networks)
[15:06] <hallyn> Daviey: then again, maybe we should just uplaod the multipath-tools merge, and fix up bugs as they come...
[15:06] <hallyn> Daviey: if you have time to review the merge, that'd be great
[15:07] <hallyn> Daviey: it's at people.canonical.com/~serge/mp-sources.tgz (and mp-merge-sid.tgz for some built .debs)
[15:08] <Daviey> hallyn, Totally forgot it was a holiday, sorry!
[15:09] <Daviey> hallyn, If you have it in bzr, fancy pushing it there if you have a few moments?
[15:11] <Klaus_Dieter> can I use debootstrap to install ubuntu server?
[15:11] <Klaus_Dieter> what is the current code name then?
[15:18] <hallyn> Daviey: it's at lp:~serge-hallyn/ubuntu/natty/multipath-tools/merge-sid/
[15:20] <soren> hggdh: Oh, sure.
[15:22] <Daviey> hallyn, you are a rock star
[15:22] <Daviey> hallyn, will have a look shortly... now get back to holidaying :)
[15:22] <Daviey> jamespage, I was just looking at jython, were you planning a merge of this?
[15:24] <jamespage> Daviey: jython -> antlr3.2 -> maven (MIR 70+) so not this cycle - see Java Library Housekeeping blueprint
[15:24] <Daviey> jamespage, ahh, i think you did mention that one previously.
[15:24] <jamespage> maybe once :-)
[15:24] <Daviey> or thrice
[15:27] <jamespage> Daviey: re tomcat6 - there is quite alot of upstream change between .28 and .32 (especially .30).
[15:28] <Daviey> jamespage, sounds a little risky... did you find a changelog?
[15:28] <jamespage> Daviey: http://tomcat.apache.org/tomcat-6.0-doc/changelog.html
[15:28] <Daviey> oo, thanks
[15:31] <jamespage> Daviey: there are a couple of minor version upgrades on dependencies in .30 which make me a little uncomfortable.
[15:31] <Daviey> jamespage, many bug fixes, but are you as scared by the size of it as i am?
[15:31] <jamespage> Daviey: yep - its all good stuff but I'm not sure that its the right time in the release cycle to include the upgrade
[15:32] <Daviey> jamespage, sounds good to me... (stay with current)
[15:32]  * jamespage notes that Debian have only just uploaded to unstable 
[15:32] <Daviey> yeah
[15:33] <jamespage> sync early next cycle would be better me thinks
[15:33] <Daviey> jamespage, agreed.. super, thanks for looking at it
[16:05] <MTecknology> marcriera: neat
[16:07] <usseldridge> hello!
[16:07] <usseldridge> can some one tray to help me with openvpn?
[16:08] <marcriera> MTecknology, if you make improvements, remember to send them back :)
[16:09] <MTecknology> marcriera: sure thing
[16:10] <usseldridge> i'm using 8.04.3 server version since '06
[16:10] <usseldridge> and i can connect without problem until maverick (client)
[16:10] <Pici> usseldridge: Impossible.  8.04 didn't come out until 2008.
[16:11] <Pici> Do you mean 6.06 instead?
[16:11] <usseldridge> before i use 6.04
[16:11] <Pici> Okay :)
[16:12] <usseldridge> now, with nm i can connect but no ping (destination host unreacheble)
[16:13] <usseldridge> syslog on client report this:
[16:13] <usseldridge> http://usseldridge.pastebin.com/jeFcFe9J
[16:19] <usseldridge> and openvpn.log on the server report this:
[16:19] <usseldridge> http://usseldridge.pastebin.com/N7NMCvin
[16:25] <jamespage> Daviey: hows you cloud-init?
[16:26] <Daviey> jamespage, acceptable.. i've toyed with it, but i don't claim to be an expert
[16:26] <Daviey> jamespage, Whyda ask?
[16:26] <jamespage> Daviey: so I just need a guide on how todo something with it (have been looking at the ec2 automated testing today)
[16:27] <Daviey> (as you probably guess, smoser is probably on a beach somewhere)
[16:27] <jamespage> yep - no pong from him earlier - then I remembered....
[16:27] <Daviey> jamespage, We have some cloud-init recipies in awstrial.. perhaps that would be a good start?
[16:27] <jamespage> Yep - started there - really helpful
[16:27] <Daviey> awesome
[16:28] <Daviey> jamespage, are you using boto or txAWS?
[16:28] <jamespage> Daviey: boto - I really like it :-)
[16:29] <Daviey> jamespage, yeah, boto is REALLY easy to get started with... the proof of concept for awstrial was really quick to hack together against my local Euca cloud
[16:29] <Daviey> apparently txAWS is better, but boto i found easier to get started
[16:29] <jamespage> Basically I want to run x python unit tests once the required packages have been installed; I can't figure out which option lets me drop a file into the instance without actually running it!
[16:29] <Daviey> seems to do the job.
[16:29] <Klaus_Dieter> hi again - can anyone walk me through a grub installation? in the past I have tried it numerous times but it never worked. However now I want to have a system as close as possible to standard ubuntu and I am stuck on the knoppix install where setting up grub is in order. grub-install says "/dev/hda1 does not have any corresponding BIOS drive" so I ran grub-install --recheck /dev/hda1 which gave me a "no drive found, is /dev mo
[16:29] <Klaus_Dieter> so I am out of ideas. any help is appreciated
[16:30] <Daviey> jamespage, hmm.. one moment
[16:31] <Daviey> jamespage, can't you just cat it?
[16:31] <Daviey> jamespage, ie, http://bazaar.launchpad.net/~awstrial-dev/awstrial/trunk/view/head:/awstrial/templates/cloud-init/personal-hello
[16:31] <jamespage> Well I could.... - just looking for a neater way to drop this payload onto the server
[16:32] <Daviey> jamespage, wget ?
[16:33] <Daviey> jamespage, you could grab the file from the hudson server?
[16:33] <jamespage> Daviey: I could also stick them in a bzr branch I guess
[16:33] <Daviey> that is potentially cleaner, actually
[16:33] <Daviey> especially if multiple files
[16:33] <jamespage> trying not to tie it to much into Hudson - means you can run the test standalone before full automation
[16:33] <Daviey> easier to track changes etc
[16:34]  * Daviey +1's a bzr branch
[16:34] <jamespage> well its the way I want to take the iso testing - tests in a separate branch to the codebase.
[16:34] <jamespage> OK - I'll take that approach then.
[16:35] <Daviey> jamespage, hmm, pushing results back to hudson - how are you going to control credentials?
[16:36] <jamespage> I'm gonna pull them - I generate a new key-pair for each test run so I can access the server over SSH.
[16:36] <jamespage> I guess I could push the python, execute and then collate resilts.
[16:37] <Daviey> jamespage, ahh, the tests publish their results in a YAML file or something - and you scp them?
[16:37] <Daviey> That sounds secure and clean.
[16:37] <jamespage> xml - so Hudson can parse it.
[16:37] <Daviey> oh aye.
[16:38] <Daviey> Sounds good to me!
[16:38] <jamespage> so any recommendations for using SSH with python? I could drop to direct execution of commands but...
[16:39] <Pici> Paramiko is nice.
[16:40] <Pici> !info python-paramiko
[16:40] <Daviey> jamespage, if you are just scp'ing one file - i'd probably shell out tbh
[16:41] <Daviey> but otherwise, as Pici said - paramiko
[16:41] <jamespage> cool - thanks for the advice; I need to monitor for the presence of the /tmp/done file  as well so I'll take a look and see
[16:42] <Daviey> jamespage, actually, seems there is a scp python module
[16:43] <Daviey> hmm.. but not installed by default.
[16:52] <hggdh> Daviey: how's usage on the test rig?
[16:56] <Daviey> hggdh, would you be angry if i said i hadn't got to using it yet?
[16:56] <hggdh> Daviey: not at all :-)
[16:57] <Daviey> hggdh, oh good...  well, i have to admit, i haven't got to it yet.
[16:57] <hggdh> Daviey: no prob. Can I have one of the machines?
[16:57] <hggdh> (I put the five of them for you)
[16:58] <Daviey> hggdh, oh feel free - if two are still remaining that is enough for me.
[16:58] <Daviey> hggdh, i don't want to block you, with my experimentations :)
[16:58] <hggdh> Daviey: OK, I will take over sapodilla and soncoya; you can have (at least for now) mabolo, marula, and santol
[16:59] <Daviey> hggdh, super, thanks
[17:30] <hggdh> anybody tried today's ISO?
[17:31] <hggdh> Hudson shows them all as failures, and -- trying manually -- I get "no kernel modules found" on start of d-i
[17:37] <Daviey> hggdh, That can indicate the kernel is newer than the modules, which means that the iso was rolled before the modules were published in the archive
[17:37] <Daviey> hggdh, I wouldn't worry too much, use the previous build; if the same happens with the build tomorrow - start worrying :)
[17:38] <hggdh> Daviey: indeed, this seems to be it. I will wait for tomorrow before I yell
[18:26] <intel352> hey guys, are there any backports from Natty to Maverick, for php5?
[18:26] <intel352> looking for the compiled-in pcntl support that natty has for it's PHP5 deb
[18:58] <raubvogel> is /var/log/subsys a redhat thing or does ubuntu also have it?
[19:17] <thesheff17|AFK> raubvogel: never seen that on ubuntu
[19:18] <raubvogel> thesheff17, that's what I was thinking
[19:28] <intel352> how can I check to see if there are any backports from natty to maverick, for php5?
[19:29] <patdk-wk> check the backports maverick depo
[19:30] <intel352> bah, the updated natty php hasn't been backported (checked using packages.ubuntu.com)
[20:04] <raubvogel> Daviey, could I take a look at (a defanged version of) your ipmitool config file?
[20:17] <realmatt> is there a program or script that will monitor the memory usage and display it as a line graph for a remote server?
[20:18] <realmatt> I would like to store this info for a few days
[20:19] <thesheff17> realmatt: I have used zabbix.org for this.  It is a huge monitoring tool but does work for what you are asking.
[20:25] <zul> realmatt: munin, mrtg take your pit
[20:28] <JasonMSP> I'm trying to configure our Postfix/Dovecot mail server for an SSL connection on the outgoing and incoming.  I have a working configuration in the clear.
[20:28] <JasonMSP> gethostbyname failure
[20:28] <JasonMSP> connect:errno=0
[20:28] <JasonMSP> I get the above error when trying to openssl the mailserver:995
[20:28] <JasonMSP> thoughts?
[20:29] <patdk-wk> can't lookup the dns name mailserver
[20:29] <JasonMSP> it works if I use localhost
[20:29] <patdk-wk> you really called your computer mailserver?
[20:29] <JasonMSP> hmmm..
[20:30] <JasonMSP> it works if i use the domain but not the subdomain mail.us.com
[20:30] <patdk-wk> heh?
[20:31] <JasonMSP> no.. i abbreviated!  hahah
[21:45] <raubvogel> If I am running ipmitool locally, do I need to specify username and password?
[22:01] <dustg> how do I choose the fastest package mirror from the command line?
[22:08] <probrob> help im trying to setup l2tp over ipsec vpn server on ubuntu 10.04 with http://riobard.com/blog/2010-04-30-l2tp-over-ipsec-ubuntu/ can someone tell me that no [OK] for NAT/masquerading means FAIL? http://pastebin.com/d0kbNhZH
[22:11] <dustg> also, after installing sshd, I keep having ssh switch between providing two different ssh keys... does the system use a different key depending on the hostname used to access it or something?
[22:14] <Slyboots> Anyone know any good guides for setting up Cups?
[22:14] <Slyboots> I've got one of those Epson Photosmart MFD's and I would love to get network SCanning/printing going
[22:18] <Slyboots> Kind of a SOB thoug.. cant find much of anthing on the printer
[23:28] <adamruffolo> I have a work network without domains.  Just pcs with work groups.  Working with a Windows 2003 Server. The server is old and I'm disliking windows.  I want to upgrade the server.  I'm looking at Ubuntu Server.  Any thoughts?