=== psivaa_ is now known as psivaa-off === thumper is now known as thumper-afk === thumper-afk is now known as thumper === thesheff17_ is now known as thesheff17 === danley_ is now known as danley === yofel_ is now known as yofel [08:31] hello guys i'm trying to kickstart a ubuntu server 14.04LTS from a 12.04LTS desktop , i'm using the following tutorial http://digitalsanctum.com/2013/03/22/how-to-setup-a-pxe-server-on-ubuntu/. I wonder how i can use a kickstart file that i host remotely , and if i only need to provide the boot.iso file in nginx [09:01] st8:Qk!Lo-W [09:01] sk8er [09:18] in 12.04 LTS, latest patches, I am still having a problem with isc-dhcp-server where /var/lib/dhcp/leases* change ownership whenever the service is restarted. or the OS is restarted. when it is owned by root dhcp can't rotate the leases file and it grows uncontrollably. [09:18] this has gone on for many months, I thought it would be patched. [09:19] you could edit the init.d file to add some chown ... or remove what is there [09:19] I did that under start|stop but the last time the OS was restarted not even that helped [09:19] I've been forced to setup a nagios alert on the ownership of the leases file. and so far this alert has saved me the last two times the service has restarted or the OS restarted. [09:20] what is the wrong and right owner? [09:21] hmm it seems my dhcp server is 10.04 rather than 12.04, and has the user as dhcpd, and the path is /var/lib/dhcp3/dhcpd.leases [09:21] so good thing I didn't use 12.04 then? ;) [09:21] 12.04 path is /var/lib/dhcp and dhcpd:dhcpd is correct [09:22] I can re-create this bug anytime, just sudo service isc-dhcp-server restart [09:22] but now I have removed the chown from the script [09:22] seems to me that the script should be patched upstream by ubuntu [09:23] does it literally say "chown root" in there? [09:23] or some variable? [09:25] the script does no chown on its own [09:25] I have no idea how this happens [09:25] dhcpd -user dhcpd -group dhcpd -f -q -4 -pf /run/dhcp-server/dhcpd.pid -cf /etc/dhcp/dhcpd.conf [09:25] obviously root starts it [09:25] and then it drops privs [09:26] but why create leases before dropping privs? [09:26] and no setgid set on the parent dir [09:26] I could setgid on parent dir, chown it to dhcpd [09:26] then all files will be created with dhcpd as owner [09:28] http://paste.debian.net/108850/ [09:28] maybe you could also use ACLs to make sure dhcpd always has access [09:28] yes [09:28] workarounds are possible [09:29] https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1186662 [09:29] Launchpad bug 1186662 in isc-dhcp "isc-dhcp-server fails to renew lease file" [Undecided,Triaged] [09:29] I should post there though [09:29] aha it's apparmor [09:29] since when does apparmor chown things? [09:29] it can prevent chown [09:30] by the dhcpd process [09:34] can't you just modify the apparmor profile so it is allowed to chown and have full control of the file? [09:34] peetaur2: will check [12:09] Hi all I have a SSL question regarding a domain "catch-all" certificate [12:10] you must have too much money ;-) [12:11] if I need to reuse the certificate on another server bearing the domain name how can I? As I understand it the key that I used to generate the csr upon which the cert was created is for that server only [12:11] ronator: not me. someone who's got the cert and wants me to install it for them on another server [12:11] :) [12:12] but I am poor and damn near desolate [12:14] catch-all certificate would mean you can have *.yourdomain.com - "normally" that is done on one machine with several virtual hosts. not sure If I understood your Q [12:14] deploy a catch -all cert for different machines ... goood question :D [12:15] different machines yes [12:17] you _could_ do as you said, but it is not recommended [12:18] https://support.discountasp.net/KB/a132/can-you-export-my-ssl-certificate-use-on-different-server.aspx [12:20] of course you can put a cert on many independent machines... all SSL does is validate that a CA cert (eg. in the browser) is the one that signed the server cert, and the browser has no idea which other servers have the same key, and doesn't care. [12:20] but copies of the private key all around mean more risk if one system is compromised. [12:24] this is what certificate copies are for [12:24] make a the same cert with many different private keys [12:24] if one server gets compromised, only that one needs to be revoked [13:37] Hello all. I had a problem installing Ubuntu Server yesterday, and it was suggested that I use 10.04 installation disk. It worked. Today I did a release upgrade, and now I have a 12.04 with '3.2.0-65-generic-pae #99-Ubuntu SMP Fri Jul 4 21:17:05 UTC 2014 i686 i686 i386 GNU/Linux' kernel. [13:37] Does that mean, that my hardware actually has PAE support? Can I do a release upgrade to 14.04 now?> [13:39] no, it just means your kernel has pae support. [13:39] Actually... I have other 12.04 Ubuntu Server machines (two), that show no available release upgrade... Is that correct? [13:39] grep --color pae /proc/cpuinfo # to see if your CPU supports PAE [13:41] jrwren: Ahha! cpuinfo flags has 'pae'. So that might not be the reason why 14.04 Server CD hangs on language selection (upon boot, not when installing!0. [13:42] why not run 64bit? [13:45] jrwren: Old hardware: Intel(R) Celeron(R) CPU 2.53GHz, low memory: 1G === Smark[Gone] is now known as Smark === sforshee` is now known as sforshee === RobertLaptop_ is now known as RobertLaptop === whaley_ is now known as whaley === SierraRazgriz is now known as SierraAR === acrocity_ is now known as acrocity === rmk` is now known as rmk === daker_ is now known as daker [13:50] oh. you don't need a pae kernel at all. [13:50] laptop? === jeremy_carroll__ is now known as jeremy_carroll_ [14:00] jrwren: I don't need PAE, but it seems I have no choice (apart from recompiling my own). === ming is now known as Guest98993 [14:50] hello. I have one (only one) server with 6 HDDs and 64 Gb ram. I want to setup MAAS on it and then use juju for administering it. Is it possible? [14:50] i mean is it true that one server is enough for that [14:53] yes, its true. [14:55] should i download ubuntu for cloud cd in this case? [14:55] *ubuntu server for cloud [15:12] are aa-logprof and aa-genprof broken in 14.04? [15:20] Xbert: I haven't tried them but heard yes they are === SpamapS_ is now known as SpamapS [15:21] Xbert: #apparmor is on the irc.oftc.net network, maybe they know a fix [15:21] Xbert: hi - they're not in great shape in 14.04 [15:22] peetaur2, its seem that way from my experience too, pfft nice for a LTS [15:22] Xbert: someone once said that the LTS releases are not officially LTS until some point .. maybe that's the key to stability [15:22] Xbert: we've got fixes for a majority of the bugs in the upstream code repo, but no one has yet had a chance to SRU them to 14.04 [15:23] and it makes obvious sense since any release in general is the same [15:23] they bragged out having apparmor only a few years ago, now they let is die [15:23] it's not dying [15:24] the tools were rewritten in python (from perl) [15:24] and the rewrite introduced a number of bugs [15:24] 14.04 is tested for months, apparmor is in based install and it been months since 14.04 release, i would expect it to work [15:24] it was unfortunate that the upstream rewrite happened prior to 14.04 [15:24] for me it completely broken [15:25] ah cool, python is probably an improvement [15:25] but now we're beta testing ;) [15:25] Xbert: filing bugs is a big help [15:25] can you simply install the old apparmor tools from the old repo? [15:25] i thought the problem with me doing an in place upgrade, i just did a fresh install and its the same [15:25] peetaur2: yes, that should be fine [15:25] on non-beta testing servers of course ;) [15:25] the bug has been reported 3 times already [15:26] last back in may [15:26] Xbert: what's the bug number? [15:27] https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1319830 [15:27] Launchpad bug 1319830 in apparmor "aa-logprof will scan forever on Ubuntu 14.04 server (dup-of: 1307665)" [Undecided,New] [15:27] Launchpad bug 1307665 in apparmor "signal entries in audit.log send aa-logprof in infinite loop" [Medium,Fix committed] [15:28] and https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1319829 [15:28] Launchpad bug 1319829 in apparmor "aa-genprof will crash when select scan on Ubuntu 14.04 server" [Undecided,Confirmed] [15:29] Xbert: we've got upstream fixes for those issues, now we need to go through the SRU process to update the package in 14.04 [15:29] how do i do that? [15:30] Xbert: How do you do an SRU? [15:30] Good evening. [15:30] tyhicks, yes, i don't know what you mean [15:31] Xbert: https://wiki.ubuntu.com/StableReleaseUpdates#Procedure [15:32] Xbert: it is quite involved, you're probably better off temporarily downgrading to the 13.10 package and waiting for us (Ubuntu Security) to do the SRU [15:34] tyhicks, ok i give that a go, thanks [15:34] Xbert: sorry for the trouble :/ === paralle21_ is now known as parallel21 [16:50] is there a way to temporarily turn off kernel messages about I/O errors on a (usb)disk? [/dev/sdb] [17:33] is there a protocol/program for accelerated file transfer over the internet? [17:33] I want to transfer files from my server [17:33] File transfer via ssh is very slow for some reason. [17:33] FTP over tls is ok, but only as fast as 1 tcp connection [17:33] is there a protocol/program using multiple connections or udp? [17:37] ... [17:38] Can anyone think of any weirdness I might run in to if I rename GID 27 from "sudo" back to "wheel"? [17:39] raray: TCP should scale to the available bandwidth. Even one connection. If it doesn't, you have a connection or TCP stack problem. [17:40] rbasak: the problem is my connection is over a shared medium [17:40] if i use 2 tcp connections it will be almost 2x as fast. [17:42] raray: http://lartc.org/lartc.html has instructions to help you manage bandwidth and prioritise traffic [17:44] Priorize traffic? It's over the internet... [17:45] And the utilization on both devices is quite low [17:45] the problem is the ISP seems to be overselling the cables. [17:46] that means I can not priorize anything [17:47] If the ISP aren't stupid, then they'll be doing bandwidth management so each customer gets an equal amount of bandwidth under contention [17:51] rbasak: fact1 1: I have a quite slow connection at home. fact 2: if i use 2 tcp connections it is almost 2x as fast fact 3: I recently was in a fast wifi with my laptop and got 50mbits over 1 tcp connection to that same server [17:51] instead of 1mbit [17:52] so the devices on both ends can't really be the problem [17:53] raray: wow. sounds like a stupid ISP [17:54] raray: you could probably use split to split a file into chunks then use multiple scp or multiple rsync connections to transfer the pieces, then re-assemble them on the far side [17:54] raray: the more you abuse it the more likely it is your isp will figure out how to rate limit per customer rather than per connection, which would doubltess be an improvement for nearly everyone :) [17:55] sarnold: thats what I'm thinking [17:56] sarnold: i already did the splitting and reassembling manually. The transfer was faster, but too much manual effort [18:20] hello. I have server with raid controller, 2 processors, 64 gb of ram. I want to use it for creating virtual machines for experiments. I would like to be able to use juju for fast vm creation and software deployment and so on... as i understand MAAS is not what I might want [18:21] could you suggest me something for my task? what is the best option [18:25] leotr: you could use the juju-local provider to spin up LXC containers; it isn't VMs, so it won't be perfectly like using a cloud provider.. you could also manually create a pile of VMs and then use the manual provider... [18:26] leotr: see https://juju.ubuntu.com/docs/config-manual.html and https://juju.ubuntu.com/docs/config-local.html [18:32] thanks === lifeless1 is now known as lifeless === DalekSec_ is now known as DalekSec === krtaylor is now known as krtaylor_away [20:41] HI how could I have boot.log timestamped? === NomadJim_ is now known as NomadJim [21:09] I am using ghostscript to compress pdfs. On my OSX machine the compressed pdf looks identical to the full pdf. In ubuntu the compressed pdf is missing some patterns and fills from the full pdf. [21:10] So if I run the full pdf through gs on OSX it outputs the same just compressed. But when I run the full pdf through gs on my ubuntu-server the file is compressed but patterns and fills are missing. === ajmitch_ is now known as ajmitch [22:50] anyone around familiar with routing via VPN? [22:51] Why does the ldap package break my current ldap install so often?!?! [22:51] Also why can't I remember the password to my local account?!?! [23:03] so... i've got the tunnels up. The ubuntu-server can ping all the LANs, but I cannot route between LANS for some reason.. I think its related to IPTables, but the instructions I see online seem to imply that I'm an IPTables expert.. not the case.. thoughts on a good resource/walk-thru? [23:05] dustinspringman: did you set e.g. /proc/sys/net/ipv4/conf/all/forwarding [23:05] sarnold: I believe so, but I will double check, doing it now.. [23:07] anyone know how to pick up a currently running process? [23:07] I ssh'ed in to my network server, ran screen. Then from there I ssh'ed in to another machine and kicked off a long running process. [23:08] billy_ran_away: I normally used screen -RAD when reattaching screen sessions [23:09] sarnold: I upgraded ldap on ubuntu and have since locked myself out of that machine... [23:09] sarnold: But I still see the processes running on my local desktop... [23:09] ➜ ~ ps -ef | grep -i heroku [23:09] 501 53623 53416 0 2:50PM ttys004 0:05.92 ruby /usr/local/Cellar/heroku-toolbelt/2.34.0/libexec/bin/heroku run console [23:12] i'd like to just pick up the output of that heroku run console [23:12] process... [23:14] billy_ran_away: you can't really pick it up without re-attaching to that screen session [23:14] sarnold: yea that was what I was afraid of [23:15] sarnold: I can ssh in to my local user on my server that has the still running screen session with my ssh keys [23:15] sarnold: but I can't remember that password so I can't sudo anything... [23:17] sarnold: when I cat /proc/sys/net/ipv4/conf/all/forwarding I get 0 as a response... Do I change that to a 1? [23:17] I hate ldap upgrades! I mean sure it's happened before to me when upgrading major versions of ubuntu, but the package maintainers wouldn't be so mean as to break compatibility between minor versions of that one package, or so I thought... [23:18] dustinspringman: yeah, if you want to be a router :) [23:18] doh! [23:18] billy_ran_away: argh. that's annoying :) [23:18] sarnold: done, gonna test to some remote sites [23:19] thanks for listening sarnold! [23:19] i'm just going to wait for these processes to finish and then reboot the server in to single user mode [23:20] it's just those long running processes were for work and I was asked about the progress of them and now I look like an idiot who locked himself out or I lie === krtaylor_away is now known as krtaylor [23:29] billy_ran_away: heh, I used to keep a 'toor' account around for those kinds of issues.. haven't done that in a while though [23:30] sarnold: I owe you a beer! that got me working! Thanks so much! [23:31] dustinspringman: nice :D have fun! [23:32] sarnold: Yea I have an lbill account, which has my ssh keys in it [23:32] but alas i forgot that password