/srv/irclogs.ubuntu.com/2014/07/07/#ubuntu-server.txt

=== kriskrop1 is now known as kriskropd
bytemoin06:26
cloudmanHi, getting people saying my servers running buntu 12.04.4 is unsecure because its running an outdated version of apache ( 2.2 ) this is bollocks yeah, its fully patched!11:31
cfhowlettcloudman could be that the next LTS 14.04 has a newer version - doesn't mean that 2.2 is unsecure though11:33
histocloudman: it's getting security patches until april of 201711:33
cloudmancfhowlett: ty thats what I mean 2.2 is secure but people like Securi are flagging it up as a threat and its nonsense11:34
cloudmanjust to make them click a link and try to make some cash11:34
cfhowlettcloudman might be worth upgrading to 14.04.  I'm not sysadmin so I don't know all the implications of that ...11:35
cloudmanjust told them to stop scare mongering11:35
histocloudman: Who is telling you this?11:35
cloudmancfhowlett: php 5.5.9 is a no go for me and my servers at the moment11:35
cloudmanand sod taking it off stable11:35
cloudmanhisto: Securi scan11:36
cloudmanmaybe Ubuntu should send them an email11:36
cloudmanand say, hey, at least make a note that even though its outdated it is totally secure11:36
cloudmanits deceptive just to make the punter click a link and fix it and causing sysadmins extra work answering false threats to clients11:37
cloudmanpain is the ass11:38
ogra_well, point them to http://www.ubuntu.com/usn/precise/ it has the full list of CVEs11:39
cfhowlettcloudman fud are going to fud.  continue to maintain your system and do what you do.11:39
cloudman:) thanks all11:39
histoWTH is securi scan?11:43
cfhowletthisto online virus scan?  reported that my windows system was infected by linux ...11:44
cfhowlettwhich could be repaired for a price11:44
cloudmanlol11:45
ogra_that gives "viral marketing" a whole new meaning :)11:45
cloudmanat the price of sysadmin time11:45
* histo bets it finds any site not running their software insecure11:45
cfhowlettI always love popups telling me how to repair my windows - when I'm running UBUNTU!11:45
cloudmanactually might be worth putting their site through it11:46
cloudmaneven told me servers have no firewall, click here to put it right lol11:46
cloudmanits down right deception11:46
histotheir site has issues scanning itself lol11:48
riplyHi guys, it's been a while since I've used the virtualmin / ubuntu installation script. I am looking at rebuilding my box and want to move away from using apache and give nginx a try. Is it part of the auto installer these days?11:48
histohttp://sitecheck.sucuri.net/results/securi.net11:48
cloudmanhisto:  :)11:49
histocloudman: email that back to them.11:49
cloudmanaint got the time ;)11:49
cloudmanI only use irc even when I have too11:49
cloudmantoo busy updating my servers11:50
cloudmanhope updates begin to slow down11:50
historiply: what autoinstaller?11:51
riplyhisto, hi man :)11:51
=== krtaylor_away is now known as krtaylor
historiply: hello11:51
cloudmanCan we have a new feature to Ubuntu?  No updates11:52
riplyhisto, there is an auto-installer which virtualmin (Used to??) supply which you could run on a clean ubuntu installation, which would setup all the dependancies. Let me see if I can dint it.11:52
riplyhisto, http://www.webmin.com/vinstall.html11:52
historiply: you would have to read their script and see what webserver it installs11:53
cloudmanhisto:  my mistake its sucuri.net try again you get a formatted static html page lol11:54
cloudmanriply:  I use VM a lot11:55
cloudmanlike every server11:55
riplycloudman, I'm listening :) this installation script is 1300 lines long!11:55
cloudmandont mess with it11:55
cloudmanripy 12.04 or 14.04?11:56
cloudmanI found on 14.04 it does not pull in awstats and mailman at times but that might be me11:56
cloudmanother than its fine11:57
riplycloudman, I've just finished setting up RAID5 for 14.0411:57
riplyshe is literally sitting on first boot11:57
riplywaiting her fate.11:57
cloudmanget on the vm channem andreycheck is a treasure to help11:57
cloudmanchannel sry11:57
historiply: grep apache /some/script/file11:58
riplyI am on the VM chan :) left the same message earlier!11:58
cloudmanriply: they have a howto for using nginx11:58
cloudmanyeah see you11:58
riplyI am at the office now so will have a look when I am home.11:59
riplythe server's there too..11:59
cloudmanwill stick with apache myself11:59
riplycloudman, thanks man - I've not been on the site for years.11:59
riplycloudman, the only reason I want to move is that this project is going to, hopefully, get a lot of traffic.11:59
riplyI don't want the thing to die on me :(12:00
cloudmanwell you need a good server and network for that12:00
cloudmancan I pm you?12:00
riplycloudman, you're welcome to12:00
cloudmanty12:01
=== Adri2000 is now known as Guest67185
=== hxm is now known as Guest68075
=== Malediction_ is now known as Malediction
=== ming is now known as Guest65048
=== huats_ is now known as huats
=== RoyK^ is now known as RoyK
=== Guest67185 is now known as Adri2000_
zuljamespage:  great python-oslo.db is broken in utopic13:12
DeltaHeavyShould everything in my /usr/local/share/ be under the main user I use? I keep getting this error in zsh and fixed it by changing ownership to 'root:root'. I think I may have made a big mistake when giving permissions to my main user for global nodejs modules but I'm unsure =X13:41
DeltaHeavy /usr/local/ is all owned by my main user. not root13:41
reespHi! i need help... my companie want start to use ubuntu in our projects. please tell me one thing: for a company, its free to use ubuntu server?13:45
DeltaHeavyreesp: 100% yes. You just don't get any support.13:46
ogra_well, you get community support unless you pay ... then you can get commercial support too13:47
RoyKreesp: linux is free, but certain distros can't be used without payment, things like SuSE and RedHat13:47
DeltaHeavyI used to be a CentOS (free RedHat clone) and Debian guy. I switched to Ubuntu Server and I couldn't be happier.13:48
reespyes its true RoyK13:48
reespOk many thanks13:48
reespwhere can i get comercial support?13:48
RoyKreesp: but paying for that's my question too - tried to find it on ubuntu.com, but the site is a bit messy13:49
DeltaHeavyreesp: http://www.ubuntu.com/management13:49
DeltaHeavyI find Google is better at navigating websites than I am lol.13:49
RoyKlandscape is nice13:50
reespexist 2 kinds support: landscape and advantage, right?14:07
RoyKreesp: yep - you'd want the latter if you're paying for support. landscape is nice for a server overview etc, but it's not *support*14:12
RoyKreesp: but then, having worked with linux systems for a while, I don't really see the idea of "support", since these days, you have things like google and irc and forums and facebook and whatnot14:13
RoyKreesp: but again, if it's not seen as a big cost, it's a very nice payback14:14
patdk-wkwell, it also depends14:15
patdk-wksometimes having someone else patch and fix a package is nice14:15
patdk-wkexpecially if you run in to a kernel issue14:15
RoyKpatdk-wk: that's certainly a case14:16
RoyKI wonder how long it'd take canonical to fix #1171945 if I actually paid them support14:17
RoyKbug 117194514:17
uvirtbotLaunchpad bug 1171945 in mdadm "Nested RAID levels aren't started after reboot" [Undecided,Confirmed] https://launchpad.net/bugs/117194514:17
patdk-wkI just randomly hit another one14:18
patdk-wk#127432014:18
patdk-wkguess it doesn't love me14:18
patdk-wkbug 127432014:18
uvirtbotLaunchpad bug 1274320 in grub2 "Error: diskfilter writes are not supported" [High,Triaged] https://launchpad.net/bugs/127432014:18
RoyK1171945 seems to be upstart14:20
RoyKI don't like upstart14:20
RoyKI also don't like upstart14:20
patdk-wkwell, upstart is going away14:20
RoyKyep14:20
RoyKI hoped for systemd in 14.04, but seems we'll have to wait another two years (LTS)14:21
patdk-wkwe have systemd in 14.0414:21
patdk-wkthe issue is, we have systemd + upstart14:21
hallynzul: hey, if/when you merge the new libvirt, can you address bug 1335221 (adding package info to the configure line in debian/rules)14:22
uvirtbotLaunchpad bug 1335221 in libvirt "libvirt builds should include packager information" [High,Triaged] https://launchpad.net/bugs/133522114:22
zulhallyn:  yeah working on it now14:22
hallyncool14:23
jdowdleI'm having trouble mounting a NFS share on a 12.04 box. When issuing the mount command, it times out. It's thru vagrant - but I've mounted other NFS shares via vagrant before. I think the base box chef/ubuntu12.04 is possibly missing something.14:39
=== Guest68075 is now known as hxm
=== elliotd123_ is now known as elliotd123
zulhallyn:  should be available here https://launchpad.net/~zulcss/+archive/libvirt-testing15:06
ThatguyIs there a shell I can use for my web hosting server for people to use that will only allow them to do basic commands and only see web files15:17
peetaur2Thatguy: I don't know if there is such a shell, but whichever you choose, make sure to also sandbox it inside apparmor or other LSM when you pick one.15:18
Thatguyok15:19
peetaur2Thatguy: eg. let's say you give them rsync access... then they upload their own bash, and run    rsync -e "/home/me/bash" blah/ localhost:blah/     and they might have a new unlimited shell15:20
ThatguyI found out you can do a jail with bash15:21
=== BaNzoune1 is now known as BaNzounet
patdk-wkwhy would you do that?15:27
* patdk-wk thinks someone needs to learn what apparmor is15:28
patdk-wkdoing a jail in bash will break all other programs15:28
Thatguysorryi mean15:29
Thatguyrssh15:29
jrwrenthe bash restricted shell?15:34
=== DeltaHeavy_ is now known as DeltaHeavy
ThatguyIts a package called zsh only allows sftp and rsync items15:48
DeltaHeavyThatguy: That's not what zsh does at all, nor does it create a jail.15:51
Thatguyow mean rssh :D15:52
DeltaHeavyGotcha15:52
Thatguyhaha getting the two messed up :D15:52
Thatguygot it working trying to chroot it now15:52
Thatguybut when i do it wont let me login15:53
Thatguyany one here used sshd config with chroot?16:39
patdk-wkya, totally dislike it16:40
Thatguycant set it so /var/websites16:44
Thatguyonly setable to /16:44
superboo1Hi all. I need to format a 4TB partition. I'm running 14.04LTS Server. Someone suggested using the GUID partition table. Is this supported by the default kernel in 14.04? Is there a more reccomended way to achieve a 4TB partition?16:45
Thatguywhich is what it would be normaly :S16:45
=== superboo1 is now known as superboot
patdk-wksuperboot, it's been supported for a long time16:49
rickbeldinLooking for tips on analyzing core dump of /usr/bin/kvm from 12.04.   Where do I get debug symbols (debuginfos?) for this?16:49
Thatguyturns out that for chroot on ssh root has to own folder :S16:53
patdk-wkyep16:54
Thatguygot it working with proftpd now17:01
ThatguyDo you know how to make when I do service proftpd restart17:01
Thatguywait 2 second between stop and start17:01
Thatguybecause i have to do it twice or do start then stop17:01
Thatguytryed pause 2 but it comes up with an error17:01
patdk-wkadd a sleep in the init script17:02
Thatguyjust add "sleep 2"17:02
Thatguyright17:02
Thatguyas i get this /etc/init.d/proftpd: 180: /etc/init.d/proftpd: pause: not found17:02
DeltaHeavyThatguy: I've done secure sshd configs so users can only use SFTP with no ability to muck anything up.17:02
ThatguyDeltaHeavy: gona use proftpd ;D17:03
DeltaHeavyI'd avoid the use of plain ol' FTP period. It's slow, shitty, and insecure.17:03
Thatguyusing sftp module for it17:03
patdk-wkDeltaHeavy, who said it was ftp?17:03
DeltaHeavyThatguy: Ok, gotcha. Thought it just did FTP17:03
Thatguyno :D17:04
DeltaHeavypatdk-wk: The website says it's an "FTP Server" so yeah.17:04
patdk-wknow, I setup mine long before proftpd had sftp support17:04
patdk-wkI'm using a nicely patch sshd17:04
DeltaHeavyThe amount of webdevs I see that use FTP honestly boggles my mind. Then again there seems to be a LOT of really stupid webdevs who havn't a clue in the world about what they're really doing.17:04
Thatguylol17:04
patdk-wkand also patched suexec in apache, though it's supported now, for apparmor17:04
Thatguywas gona use ssh chroot but you have to set the user of the folder to root17:05
patdk-wkDeltaHeavy, I would be happy if they used ftp, still using frontpage2003 here17:05
DeltaHeavypatdk-wk: Are you serious?17:05
patdk-wkyes17:05
Thatguyany of you know why This " /etc/init.d/proftpd: 180: /etc/init.d/proftpd: pause: not found" is coming up :S17:05
DeltaHeavyWhy @_@17:05
patdk-wkcause they can :)17:05
DeltaHeavypatdk-wk: Who's "they"?17:05
patdk-wkcustomers17:06
DeltaHeavyYour place of work's webdev department?17:06
DeltaHeavyUgh17:06
patdk-wkit's still too much of a selling point17:06
patdk-wkfor people to not bother upgrading17:06
patdk-wkor learning something new :(17:06
DeltaHeavyWhat's a selling point?17:06
patdk-wkthey don't have to change17:06
DeltaHeavyMaking your website look like a pile of shit and get a shitty page rank?17:06
patdk-wkoviously they are not concerned about that17:06
DeltaHeavyIt's basically saying "I'm ok making garbage"17:07
patdk-wkI have so heavily patched the frontpage cgi binaries to secure them17:07
patdk-wkwell, to make them work in a secure enviorment17:07
DeltaHeavyThey still produce utter garbage.17:08
DeltaHeavyNo self-respecting webdev uses Frontpage or a WYSIWYG period.17:08
patdk-wkheh?17:08
patdk-wkmost of them use wordpress these days :)17:08
DeltaHeavyThat's not a client :p17:09
DeltaHeavyOr like...editor17:09
DeltaHeavyWhatever you want to call Frontpage17:09
patdk-wkIDE17:09
DeltaHeavyIf you want to call it that lol.17:09
Thatguyyeah i know what you mean :D17:09
patdk-wkonly thing that applies17:09
Thatguyand then they get defaced17:10
Thatguybecause its not very secure17:10
DeltaHeavyEh, WP isn't that bad. There are just a LOT of shitty WP devs installing plugins made by other shitty WP devs. WP core is fine.17:10
DeltaHeavyShitty devs gravitate towards WP and use it for EVERYTHING.17:10
Thatguyit has a upload script that can be used to upload a php shell17:10
DeltaHeavyI have a client I'm always helping out, they're a consulting firm. They have document roots inside document roots inside document roots.17:11
Thatguylol17:11
DeltaHeavyNo JS event listeners. Just onclick attributes and the like.17:11
DeltaHeavy4 versions of jQuery included on each page17:11
Thatguylol17:12
Thatguyjust incase the url goes down 3 times :D17:12
DeltaHeavyIt confuses me why shit like this is so common in comparison to other development platforms x.x17:13
IdleOneCan we please watch the potty language17:13
DeltaHeavyTrue, sorry. Forgot this channel had that rule.17:13
GH0Is there a list of the big package changes from 12.04 to 14.04? Or any other change logs that deal with packages? I just want to make sur when I upgrade that it doesn't break anything17:14
DeltaHeavyGH0: Nodejs works way better on 14.04 I find. Also it's using PHP5.6 which hasa lot more awesome features.17:14
sarnoldGH0: release notes are handy; every package has a changelog, too, though it might not be easy to pick out what's new between two releases..17:15
GH0I just want to make sure things like VMware wont break, since it is pretty picky about the running kernel. Among other things.17:17
patdk-wkpicky about the running kernel?17:17
patdk-wkgh0, what exactly is vmware?17:17
patdk-wkyou don't normally run a company on a computer, but software17:17
DeltaHeavyIf you Google stuff like "VMware Ubuntu 14.04" and even append a "not working" to it, it should be obious if there's a huge problem with upgrading or not.17:18
patdk-wkI have 0 issues using esxi or workstation on 14.0417:19
patdk-wkor esxi inside workstation on 14.0417:19
RoyKDeltaHeavy: I have some 1404 machines on esxi - works well17:19
mfischzul: can you tell me if I should be using python-glance or python-glanceclient for scripts? it look like from P-->T that some client features migrated17:20
mfischzul: and I'm not sure if one is deprecated perhaps, there still seems to be overlap17:20
zulglancecleint17:20
mfischthanks zul17:20
lordievaderGood evening.17:22
RoyKevening17:24
lordievaderHey RoyK, how are you?17:25
hushnowquietnowHello17:55
hushnowquietnowI think I may have just screwed myself over with an ubuntu server I'm maintaining.  I misspelled the server's domain name in /etc/hostname and then rebooted.  Now trying to SSH to the machine just returns a 'network unreachable' message17:56
=== alexisb is now known as alexisb_lunch
hushnowquietnowIs there any way I can get back into the server remotely?17:58
sarnoldhushnowquietnow: 'network unreachable' probably says more about your local host than the server18:01
sarnoldhushnowquietnow: try pinging your gateway device, tracerouting out to the network, etc18:01
hushnowquietnowsarnold: I'm trying to connect from the same machine that I'm IRCing on18:02
sarnoldhushnowquietnow: ah :)18:03
sarnoldhushnowquietnow: can you ping the IP? traceroute to the IP? ping the DNS? traceroute to the DNS?18:03
hushnowquietnowOops18:09
hushnowquietnowPinging the hostname gives responses from an entirely different IP.  Pinging the IP returns 'destination host unreachable'18:10
hushnowquietnowI'm not sure how to interpret the output of traceroute18:10
RoyKhushnowquietnow: does pinging the host and running "host yourhost.somewhere" give the same ip?18:11
hushnowquietnowRoyK: Running the host command returns the proper IP address and the one that responds to ping18:12
hushnowquietnowWell, at this point I think I'm better off cutting my losses and just restoring the VM from a snapshot18:20
hushnowquietnowOne other question though: should /etc/hostname have the FQDN of the server?  Or just its hostname without the domain?18:21
sarnoldI -think- hostname should just have the hostname, no domain18:24
hushnowquietnowSo I wasn't even supposed to be doing the thing I did when I broke everything D:18:26
sarnoldheh, I think there's been debate about the /etc/hostname file for the two decades I've been around..18:27
patdk-wkheh18:28
patdk-wkI vote hostname file goes away :) or contains the fqdn18:29
patdk-wkmailname should go away too18:29
sarnoldhah, I hadn't noticed I still have an /etc/mailname ..18:30
rbergcan /proc /sys and /proc/sys get merged while we are shaking the tree?!18:31
rberg:)18:31
patdk-wkrbeg, that is a kernel issue, much harder :)18:31
digsI am fighting vsftpd on 12.04. I am using Amazon EC2. I have been able to make this work just fine on 14.04 - here is my config: http://codepad.org/0n1DGuCq18:36
digsIt fails on file transfers.18:36
digsIt gets to 100% and then times out.18:36
digsI have tried removing the chroot, same issue.18:36
digsPorts 20,21,12000:12100 are open to 0.0.0.0/0 on the associated ec2 security group. There is no firewall running on the server.18:37
digs(at least none I installed and iptables is not running)18:37
DeltaHeavydigs: Why are you using FTP in the first place? Why not use SSH?18:38
DeltaHeavySSHFS and SFTP both run through it.18:38
digslegacy support.18:38
digsI am moving to that over the next few months... but I can't do it yet.18:39
DeltaHeavyWhat do you need to support though that can't use those protocols? SSH is ooooold18:39
digsI don't want to defend my decision.18:39
=== jdowdle is now known as jdowdle|away
RoyKhushnowquietnow: are you sure you don't have an line in /etc/hosts for that box?18:42
hushnowquietnowI can't be sure any more.  I reset the machine from a vm snapshot about 10 minutes ago and now it's happily humming along18:43
DeltaHeavydigs: I'm just curious at this point.18:45
RoyKit's good it works ;)18:45
DeltaHeavyWas asking though because if we know the root of what you're trying to accomplish there might be an easier solution digs. Often when people try to set up FTP they're better off using a better protocol.18:45
digsI have been a admin for over 10 years. I appreciate and completely understand your angle but I assure you, I need ftp for now.18:46
digsI am fairly new to ubuntu though. I have only been using it for about a year. I am much more aquantied with FreeBSD.18:47
DeltaHeavyYeah, I'm not saying you're wrong. I am legitemetly curious now but if it's too much trouble to explain don't bother.18:47
DeltaHeavydigs: Is there an error log?18:48
RoyKIMHO FTP is for special purposes these days, and hardly needed for anything else18:48
digsI can't understand why the config works perfectly fine on 14.04 and doesn't on 12.04. I actually have this issue on another server too, which I opted for sftp because I couldn't make regular ftp connections work after I upgrade the box. It was working fine before.18:48
digsDeltaHeavy, there is a "transfer log" but it is of no help. Nothing useful.18:49
RoyKdigs: try to disable the firewall if you have any18:50
sarnolddigs: anything useful in dmesg?18:50
digsJust double checked, no.18:53
digsBy all documentatin and 20 some posts found by my searches, this configuration should work.18:55
DeltaHeavyFile permissions?18:55
DeltaHeavyDo you have acl on?18:55
histodigs: is it possible that some new feature in 14.04 vsfpd version vs 12.04 isn't supported in the config?18:56
=== jdowdle|away is now known as jdowdle
digshisto: Yes, there are some differences, but these particular configuration parameters match and vsftpd doesn't complain about any of them.18:56
digsDeltaHeavy - no acl, and file permissions are valid.18:57
digsI was going to try making a 777 dir just to see and I forgot. let me try that.18:57
histodigs: yeah start there and see18:57
digssame issue.18:58
histodigs: try a default config19:01
RoyKdigs: pastebin iptables -vnL ; ip6tables -vnL19:03
digsIt starts the file transfer, get's to 100% in filezilla, then hangs for about 20 seconds and filezilla pops up asking if I want to overwrite or resume the transfer and the filezilla log looks like this: http://codepad.org/9BioM0HK19:03
digsI changed the ip.19:03
RoyKdigs: filezilla has issues - does it work with something like ncftp?19:04
histoRoyK: how would it be firewall if it starts the transfer19:04
RoyKdigs: nice ip addres btw19:05
digsfw: http://codepad.org/8bM7IdFX19:05
RoyKhisto: probably not, just asking19:05
RoyKdigs: well, that's wide open19:05
* histo suspects client19:06
digsclient works fine on 14.04 - and it is a popular client, if I can't get it to work with filezilla, the server side is useless.19:06
digsfor grins, I will try another.19:07
digsokay, now I am baffled. It worked on the other client with a .txt file. I tried the same file with filezilla. it works. I tried a pdf... it works. I tried the same file I have been trying... a favicon.ico ... it fails. Tried a .png, it works.19:11
digsit fails .ico files on both clients. wtf.19:11
digsI have been stabbing this thing for over an hour.19:12
patdk-wkdigs you have a firewall anywhere?19:12
digsI have a cisco fw on-site. I can check the IPS logs.19:12
patdk-wkmake sure the port range it uses for passive mode ftp is open19:13
patdk-wkyou might only have it partially open19:13
digssimpler, I can exclude myself in the ACL from the traffic forward to ips.19:13
patdk-wkwhat ftp server is it?19:14
digsvsftpd19:14
digsson of a _ it was the cisco IPS blocking the .ico file extension. grrr.19:15
digsThanks for oiling my gears guy. shezz.19:16
digsguys*19:16
digsonly reason I tried a .txt file was because I was too lazy to go find the .ico in the other ftp client :D19:16
digsno I have to reconfigure this the IPS to chill out, at least for a few LAN ips.19:18
RoyKdigs: blocking .ico files is rather paranoid ;)19:24
patdk-wkthey are nothing but issue :)19:25
hushnowquietnowDid the .ico files work on the 14.04 server?19:27
=== hushnowquietnow is now known as hushnomlunchnom
=== alexisb_lunch is now known as alexisb
digsRoyK - I agree... I am not sure why it blocks them... yet.20:10
RoyKdigs: guess it's about the possibility of embedding source code in pictures so that the javascript interpreter could accidentially run a script inside a image, but then, they'd have to block all image files, which would take the internet back to 1993 or so ;)20:12
smoser$ sudo lxc-create -t download -n f -- --list20:40
smoserSetting up the GPG keyring20:40
smoserhang20:40
smoserstgraber, hallyn ^20:40
smoseri suspect that that hang is gpg waiting for random data20:40
smoserthat is never going to come to it20:40
smoseris that true ?20:40
hallynsmoser: seems plausible20:41
smoser:-(20:41
hallyncreate some randomness :)20:41
hallynsmoser: you could do --no-validate20:41
hallynnot sure if that will eschew the gpg keyring creation altogether or not20:42
hallynif not, it should20:42
smoserbah20:42
smoserno. its looking for download key from a keyserver20:42
smoser:-(20:42
smoserwhy wasnt that delivered for me withthe package20:43
stgrabersmoser: because we want to be able to revoke the key easily if the server is corrupted and not wait for distros to update their package in that case20:46
stgraberwe use a pretty big gpg keyserver network though and have it setup so that it works over http proxies though and attempts to fetch the key 3 times20:46
stgraberso it's pretty rare to be in an environment where fetching the key won't work but fetching the index and image afterwards will20:47
smoserstgraber, and how would you revoke that key?20:53
smoseryou'd believe that some user is more likely to update their upstream tarball than get a key id from you?20:53
smoserand i disagree that its "pretty rare" to be in such an environment20:53
smosermany environments have network access only through http_proxy20:54
smoserhow is it any different to deliver a keyid than to deliver the key ?20:54
smosergpg --keyserver hkp://pool.sks-keyservers.net --recv-keys 0xBAEFF88C22F6E21620:54
smoserbah20:54
smoserhttps://bugs.launchpad.net/ubuntu/+source/lxc/+bug/133878120:55
uvirtbotLaunchpad bug 1338781 in lxc "lxc download template needs access to hkp://pool.sks-keyservers.net" [Undecided,New]20:55
smoseri honestly dont understand how that is any different.20:55
ochiotteshey20:56
ochiottesi just found that syslog has no entries for the past 5 weeks20:56
ochiotteshow do i check if it's running and how would i turn it on again?20:57
stgrabersmoser: if we need to revoke the key, we push the revocation to the key network and we're done, that will immediately prevent anyone from getting content signed by the compromised key, without having to rely on the distros updating lxc20:58
stgrabersmoser: switching to a new key will then require distros to update LXC to include the new keyid but at least during that time, lxc will refuse to create containers with images signed by a compromised key (which would be essentially remote code execution on all machines using the template)20:59
smoserwell, i'm not entirely convinced.21:00
smoserand less convinced that depending on a uncommon protocol delivered from a service that is not all that reliable is a good solution.21:01
stgraberwell, I've carefuly chosen that specific network, protocol and port combination specifically because it works through http proxies. I've got multiple servers using the download template on very restricted networks with gpg and https traffic happily going through a proxy, you're the first one to report a problem with that, so I'm wondering what's special with your setup...21:05
stgrabersmoser: actually, looking at the code, it looks like http_proxy isn't set in your environment21:07
stgrabersmoser: otherwise the template would have used hkp://p80.pool.sks-keyservers.net:8021:07
byten821:10
smoserstgraber, you are correct.21:10
smoseri didnt get http_proxy set.21:10
patdk-wkisn't that replayable?21:10
smoserannoying that it doesnt pass through sudo in this case.21:10
patdk-wkby mtim21:11
patdk-wkmitm21:11
stgraberah yeah, sudo is a bit annoying for that...21:11
smoserbut you're still dependent on this arbitrary 3rd party web service21:12
smoserwhy not just wget https://linuxcontainers.org/the-key and use that ?21:12
stgraberwe don't depend specifically on that service, the GPG network is replicated between services so you can use any valid keyserver you want. I also thought it'd be a better practice not to have our key revokation procedure depend on the same server that's hosting the rest of the files (since it'd be likely both would be compromised at the same time, being on the same physical box)21:16
stgraberpool.sks-keyservers.net is made of over 20 servers, reachable over ipv4 and ipv6 around the world, so I think it's reliable enough21:17
stgraberpatdk-wk: you are correct, the keyserver protocol can be man-in-the-middled and so if you get your hands on our private gpg key and our https certificate (or get access to the web server), you can then MITM the gpg keyserver and the images server to feed bad images to a client21:19
stgraberpatdk-wk: which seems reasonably difficult (though not impossible). And this would be for a very targeted attack, not for the widespread distribution of compromised images (which was our main focus there)21:20
hallynniemeyer: hey - is there anyone in particular who'd be good to ask about relationships/dependencies between golang packages in trusty?21:20
niemeyerhallyn: I'm happy to talk about it, but I'm not a good person to explain it.. my preference was always for a more monolithic approach, but we've inherited that design from Debian, which surely follows more closely what the policy says21:27
smoserstgraber, i dont knwo how reliable it is.21:27
smoseri'm fairly sure i've seen it down.21:28
smoserbut you've now inserted something into the critical path that was previously utilized very occasionally21:28
smoserie, compare the number of times you've gpg --import-keypair to the number of times you've 'apt-get install'  or 'apt-get update'21:29
hallynniemeyer: in order to sru docker.io we need a few golang packages updated.  I've opened bugs for those, but am wondering whether they in turn should trigger any others.  bugs are:21:32
hallynbug 1338759, bug 1338769, bug 1338772, bug 1338775  (and two more to come when rharper opens them)21:33
uvirtbotLaunchpad bug 1338759 in golang-context "SRU 0.0~git20140522.1.1f3e8a4-2 to trusty" [Undecided,Fix released] https://launchpad.net/bugs/133875921:33
uvirtbotLaunchpad bug 1338769 in golang-gocapability-dev "SRU >= 0.0~git20140516~ to trusty" [High,Fix released] https://launchpad.net/bugs/133876921:33
uvirtbotLaunchpad bug 1338772 in golang-mux "SRU 0.0~git20140505.1.136d54f-2 to trusty" [High,Fix released] https://launchpad.net/bugs/133877221:33
uvirtbotLaunchpad bug 1338775 in golang-pty "SRU 0.0~git20140315.1.67e2db2-1~ to trusty" [High,Fix released] https://launchpad.net/bugs/133877521:33
hallynniemeyer: they all built/installed fine as they were, and none listed any versioned deps that weren't being met in trusty,21:33
hallynbut i just wanted to make sure.21:33
VioByteAnyone know how to get Ubuntu 12.04 to allow support for lookups to LDAP with a username that contains a dot/period instead of returning "id: user.name: No such user" Or is this not doable for some retarded reason?   Normal ldap user lookups work fine except for the dotted ones.21:34
niemeyerhallyn: These are all third-party packages which I'm not familiar with21:34
hallynniemeyer: ok, thanks21:34
hallynniemeyer: if they're not core to go anyway then all the better :)  i didn't want to break builds of juju or something21:35
niemeyerhallyn: Yeah, two of them are part of Gorilla, which is a bunch of helpers on top of Go's http package21:36
hallyni dont' see any packaged version of that ?21:38
niemeyerhallyn: These are the packages21:39
niemeyerhallyn: https://github.com/gorilla21:39
hallynyeah that should be fine (since it's coming from git)21:45
=== RoyK^ is now known as m39oslo
VioByteAnyone know how to get Ubuntu 12.04 to allow support for lookups to LDAP with a username that contains a dot/period instead of returning "id: user.name: No such user" Or is this not doable for some retarded reason?   Normal ldap user lookups work fine except for the dotted ones.22:45
=== jdowdle is now known as jdowdle|away
=== jdowdle|away is now known as jdowdle
=== Ursinha is now known as Ursinha-afk

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