[00:07] IronDev: openstack is a collection of multiple services [00:07] IronDev, look on openstack wiki about finding the tools needed for it [00:07] IronDev: if you've got enough machines handy, this looks like a great starting point http://www.ubuntu.com/download/cloud/install-ubuntu-openstack [00:08] sarnold Can I use ESXi [00:08] IronDev: yes, though note that nested virtualization will be quite a bit slower than having enough physical machines [00:11] sarnold Is there a detailed guide === idafyaid is now known as bebilonu [00:16] IronDev: looks like the openstack website isn't happy; this should help though https://web.archive.org/web/20150407215942/http://docs.openstack.org/icehouse/install-guide/install/apt/content/ [00:16] sarnold Hehe thx === zz_DenBeiren is now known as DenBeiren === markthomas is now known as markthomas|away [02:48] can anybod help me [02:49] hello [02:52] anyone [02:55] nuby: irc works best if you ask specific questions [03:10] can anybody help be [03:10] nuby: enjoy http://www.catb.org/~esr/faqs/smart-questions.html [03:11] i need someone to test my website [03:26] http://downforeveryoneorjustme.com can do that for you [03:31] hello [03:31] anyone down to help me with a problem [03:32] is anyone on out of the 445 users? [03:32] trammel - I might be able to help; what's up [03:33] basically, my power went out today, there was no hardware damage, however for some weird reason I can no longer ssh to my ubuntu server, nor can I connect to mysql, mumble, or my apache and glassfish servers running off my ubuntu server [03:34] however, it has internet access and I can ping it [03:34] trammel - is it a physical server or through a hosting provider? [03:35] it is a physical server [03:35] Do you have physical access to it? [03:35] yes [03:35] Have you looked at the logs yet to see any errors? It's possible that something got corrupted if there was a power loss [03:36] I have not. What log should I look at? [03:37] You can type dmesg to view the kernel output messages to see if anything looks suspicious, as well as files within /var/log or /var/log/upstart [03:38] You'll maybe need sudo access to view files in /var/log/upstart [03:38] trammel: maybe check firewall rules too? perhaps you had added some rules to allow access in the past, but not saved them? [03:39] ok, so the dmesg log is super long but at the bottom there are a few things [03:39] ext4-fs (sda2): unable to read superblock [03:39] or the firewall rules used fixed IP which now changed...? [03:39] FAT-fs (sda2): invalid media value [03:40] no, my IP is the same and my firewalls all look fine, i even tried shutting them off to see if that was it [03:40] my router IP, server IP and public IP have not changed [03:40] qnx4: no qnx4 filesystem (no root dir) [03:40] that one is weird [03:41] ufs: You didn't specify the type of your ufs filesystem [03:41] can't find a hfs filesystem on dev sda2 [03:41] most of those are probably fine to ignore; that looks like something probin gthe partition to determine what type of filesystem it is. [03:42] and sadly the best way to probe is to actually try mounting it in two dozen different ways. [03:42] can you run "cat /etc/mtab" and paste the lines for sda2, but like sarnold said it's probably probing the FS type [03:42] i cannot paste them unfortunately, ssh doesn't work [03:42] .. but if you expected /dev/sda2 to have an ext2, ext3, or ext4 filesystem on there, that might be trouble ;) [03:42] trammel: heh :( [03:42] is there "ro" in the file, that could be the problem [03:43] i do not see a ro [03:44] when i try to ssh, btw, this may be significant [03:44] I originally got this [03:44] @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ [03:44] @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ [03:44] @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ [03:44] IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! [03:44] Someone could be eavesdropping on you right now (man-in-the-middle attack)! [03:44] It is also possible that a host key has just been changed. [03:44] then fixed that [03:44] and now get this [03:44] Password: [03:44] Password: [03:44] Password: [03:44] Permission denied (publickey,keyboard-interactive). [03:44] Are you accessing the right machine? [03:44] yes [03:44] I have tried with my hostname and the ip [03:45] does 'ip addr list' show the IP you expected? [03:45] When you get that error it means either the installation changed, the machine is different than in the past, or something else along those lines has changed (thought I don't know what exactly causes the host ID to change) [03:46] yes it does [03:47] ah wait [03:47] no [03:47] and i just sshed to it [03:47] and it worked [03:47] why would my ip change? [03:48] dhcp is the usual culprit [03:48] If you were using DHCP [03:49] i wasn't. I wanna blame the PGE power outage but I can't see how shutting the server off can do much [03:49] if not physically harm it [03:50] my mumble server is still not working... hmmm [03:51] Well if the power went off when something was in progress you can corrupt stuff; I've had that happen with MySQL before [03:51] Long time ago though [03:51] luckily mysql is running fine, just checked it in the workbench [03:52] possibly some checks / repairs took so long that certain services failed to start? [03:54] who knows [03:54] anyway, I bid you all a farewell [03:54] thanks a million you guys are great [03:54] especially mrmylanman, thank you a bunch! === Lcawte|Away is now known as Lcawte [09:21] Hi people, I have problem with apt-get complaining that package is not authenticated (http://paste.ubuntu.com/11144078/). Looking at strace the last thing it does it executes /usr/lib/apt/methods/http, it reads greeting and quits. [09:25] it's literaly this http://paste.ubuntu.com/11144460/ [09:35] noteugene: Does "apt-get update" complain of repos with missing keys? What does "apt-cache policy libaio1; apt-cache policy" say? [09:36] apt-get fixes that problem temporarily (it returns again later) [09:36] http://paste.ubuntu.com/11144605/ [09:43] this error sometimes happens on server boot when chef-solo runs apt-get install. and I do run apt-get update before running chef. it's not specific to mysql/aio package, I've seen another packages failing exactly like this [09:44] the server I can reproduce this error at the moment has been running for 28 days, and apt-cache was updated the last time at 6:00 this morning via unattended-upgrades === YamakasY1 is now known as YamakasY === Lcawte is now known as Lcawte|Away === liam_ is now known as Guest15928 === pgraner-afk is now known as pgraner === utlemming_away is now known as utlemming [14:05] any idea why vsftpd might suddenly start choking on this error in 14.04? "500 OOPS: prctl PR_SET_SECCOMP failed" [14:06] That sounds familiar. [14:06] rbasak: it fubar'd my ability to update my wordpress blog for a month, only stumbled upon this workaround today: http://superuser.com/questions/908024/vsftpd-500-oops-prctl-pr-set-seccomp-failed [14:07] rbasak: i'm not really concerned since only two IPs (both mine) can actually communicate to vsftpd, and there's no other users on that server, but... [14:07] (I also don't have it autostart - i turn it off and on manually xD) [14:07] teward: https://bugs.launchpad.net/ubuntu/+source/vsftpd/+bug/1219857 might be related [14:08] rbasak: regression perhaps? [14:08] or is that change still in there? [14:08] I don't see any other updates. [14:08] What kernel are you using? [14:09] y'know it'd help if i had set up landscape or something, I have... 148 upgrades to run [14:09] my fault for being busy :/ [14:09] i feel stupid because that's a lot of missed security updates O.O [14:09] I just use unattended-upgrades and forget about it. [14:09] rbasak: i kinda threw this server up fast because another died :/ [14:10] so i didn't do full configuration [14:10] still i have... what, 6 - 8 servers now...? maybe i should set up standalone (free?) landscape or something [14:11] you get 10 licenses so you've got 2 spare! [14:11] rbasak: is there a way to get unattended-upgrades to only apply security updates? [14:13] teward: comment out the non-security lines in /etc/apt/apt.conf.d/50unattended-upgrades [14:13] I believe by default it's security-only, but I could be wrong [14:15] Yes - I think it's security-only by default. [14:25] I'll check. Thanks. [14:25] jcastro: i don't have a link handy to the standalone landscape, do you know where I can find that? [14:27] teward: http://askubuntu.com/a/550625/7808 maybe? [14:27] rbasak: thank you kindlg! [14:27] kindly* [14:27] urgh i can't type... maybe i need more coffee [14:27] * genii slides teward a fresh mug of the high octane stuff [14:30] rbasak: stupid question, do VPSes count as physical machines or virtual machines to Landscape? [14:30] genii: not strong enough. INCREASE THE CAFFEINE CONTENT MY A FACTOR OF TEN THOUSAND! [14:30] :p [14:30] No idea, sorry [14:30] meh no problem === Lcawte|Away is now known as Lcawte [14:33] teward: http://askubuntu.com/questions/549809/how-do-i-install-landscape-for-personal-use [14:34] genii: that's what rbasak linked to :) [14:34] genii: the question is whether VPSes apply as Virtual Machines, or Physical Machines [14:34] Hm, not sure. [14:35] heh. [14:35] meh, no problem. :) === markthomas|away is now known as markthomas === ashleyd is now known as ashd [16:32] anyone know what the minimum system requirements are for a personal landscape standalone instance? [16:45] is it possible to SSH -x (X11 forward) an app even though the server has no desktop environment? [16:46] ssh -x (x11 forward) from a ubuntu desktop client? [17:02] strikov, rbasak [17:03] o/ [17:03] i clearly have no idea how this works [17:03] http://paste.ubuntu.com/11150407/ [17:03] run that on vivid [17:03] shows this: [17:03] http://paste.ubuntu.com/11150412/ [17:03] my 'dd' of /dev/vdb somehow updated /proc/partitions [17:04] i'm pretty certain 'dd' did not call ioctl(fd, BLKRRPART); [17:04] I didn't expect that. [17:04] apw: ^^ kernel magic? [17:06] utopic behaves like i expected. [17:06] ie, after final sleep , vdb1 is still there. and running 'blockdev --rereadpt /dev/vdb' will make it disappear [17:06] smoser: sfdisk --no-reread shouldn't reread it as well i think [17:07] smoser: it looks like kernel does its own work and by running BLKRRPART we do it twice on vivid [17:07] that's why we observe this strange pattern of add/delete [17:07] strikov, well, thats known behavior :) [17:07] silly behavior, but known. [17:08] '--no-reread' does not say "do not call BLKRRPART". it says "dont call it *before* you do anything" [17:08] it will still call it afterwards :) [17:09] i just can't believe the kernel is actually doing that [17:09] almost impossible. [17:12] smoser: side note, i just figured out that libparted doesn't create ext{3,4} that's silly but it takes these names as fs but do nothing for them, just partitions the drive [17:12] smoser: so i predict world of pain with manual partitioning :) [17:14] thats what i thought :) [17:14] at least i'd heard that at some point. [17:18] smoser: 'i told you so' :) [17:18] smoser: dd somehow triggers udev remove event [17:18] yeah, it sure does. [17:19] it is crazy === pgraner is now known as pgraner-afk [17:29] smoser: did you try older kernel? [17:31] wlel... investigating that. [17:34] is it safe to use debian packages on ubuntu? like add it to the source list to be installed via apt-get? [17:35] darius93: It is not recommended [17:36] ( or supported ) [17:39] smoser: I wonder if something's being clever in userspace. systemd inotifying on the device node and sending the kernel the BLKRRPART ioctl when it detects change and close maybe for example? [17:39] Seems unlikely, but so is your behaviour. [17:40] genii, i know its not recommended but since there isnt any ppa of the package i wish to install (trying to use any other version of ubuntu wouldnt work since it would require packages that isnt available on trusty) that is up to date (or have the fixes im looking for) that what lead me to ask. I could build the application from source but i was informed its not wise to do a system install (eg make install) due to problems it could bring [17:41] rbasak, yea, it would seem like that. [17:42] but think about what that means... [17:42] if someone is using the device for something else than a partition... as a raw device. [17:42] then arbitrary open/close could trigger udev events and such [17:45] darius93: I would try instead to temporarily add whatever repo it uses, and then follow https://help.ubuntu.com/community/UpdatingADeb to make a deb installable for Ubuntu from the Debian sources. [17:45] rbasak, well.. something is watching for sure. [17:45] rbasak: smoser: my understanding was that's not systemd because we tried with vivid/upstart [17:45] ( that example shows to apply a patch but process is the same ) [17:46] but crazy... [17:46] i run 'udevadm monitor' [17:46] and then [17:46] sudo dd if=/dev/zero bs=1 count=1 of=/dev/vdb [17:46] KERNEL[101461.100081] change /devices/pci0000:00/0000:00:04.0/virtio2/block/vdb (block) [17:46] UDEV [101461.237178] change /devices/pci0000:00/0000:00:04.0/virtio2/block/vdb (block) [17:47] even this triggers the events [17:48] and on utopic [17:48] sudo python -c 'with open("/dev/vdb", "w") as fp: pass' [17:48] wow. so pretyt much any time open in rw occurs on a block device, kernel sends event. [17:49] that was completely unexpected for me. [17:50] smoser: open or close? [17:50] well, close. i suspect. [17:53] strikov, it is on close [17:54] smoser: [17:54] # watch metadata changes by tools closing the device after writing [17:54] KERNEL!="sr*", OPTIONS+="watch" [17:54] /lib/udev/rules.d/60-persistent-storage.rules [17:58] yeah. [17:59] strikov, in vivid [17:59] http://paste.ubuntu.com/11151254/ [17:59] that is /lib/udev/rules.d/60-persistent-storage-dm.rules [18:02] smoser: yeah, i'm not sure which one actually triggers it but it's definitely one of them [18:02] its not === phunyguy is now known as phunygal === phunygal is now known as phunyguy [18:51] smoser: Drop me email please if you find a root cause for this. Weather is very bad in Moscow and I'll be hacking during the weekend. [18:51] :) [18:51] k. this just seems like madness [18:51] sheer madness [18:52] smoser: why did you say that it's not watch? you tried to remove it from rules and checked? [18:52] yeah, i think. [18:52] i have done so many things since then . i forgot :) [18:54] smoser: I see :) Happy hacking then. See you on Monday. [19:16] Hey, I am on LTS 14.04.2, and after running Nessus, I found that my server is running an unsecure version of Samba. However, looking through the package list, the most recent version of samba seems to be pretty out of date (by more a little more than a year). I was wondering why Samba hasn't been upgraded or secureity releases haven't been rolled into an upgraded samba package? [19:17] caliculk: https://wiki.ubuntu.com/SecurityTeam/FAQ#Versions https://www.debian.org/security/faq#version [19:17] caliculk: nessus assumes everyone on the planet builds all their software from source themselves. [19:18] caliculk: if that's what you do, feel free to take their advice :) [19:18] caliculk: here's the ubuntu security's team view of what's outstanding in the 'samba' package: http://people.canonical.com/~ubuntu-security/cve/pkg/samba.html [19:19] I know that the packages aren't routinely upgaded like that of 15.04 or a non LTS release. But, I would think that Code Execution would be a pretty serious issue, which has been patched for the past 5 months. [19:20] I mean, it is easily fixed with a single line in the config, but, still. [19:21] caliculk: hmm; do you have a CVE number handy?: [19:21] https://www.samba.org/samba/security/CVE-2015-0240 [19:22] caliculk: http://www.ubuntu.com/usn/usn-2508-1/ [19:24] Well, I am on that version, but Nessus still reports that vulnerability. [19:24] So... hm... alright [19:24] that's because they aren't testing vulnerabilities, they are testing version numbers from banners. [19:24] and that's a silly idea because almost no one uses software that way ... === CiPi is now known as cipi [19:27] Hm, yeah, alright. Do you have any other suggestions on software similar to Nessus that actualyl tests vulnerabilities rather than just reporting version number? [19:28] caliculk: use google [19:28] caliculk: the metasploit project is probably the best bet.. [19:29] Chrisfu: some folks are working on bringing OVAL to ubuntu, I suspect the end result of that would be something similar to version-scanning but with actual information about which package versions fixed which issues.. [19:29] Yeah I am in the process of installing that [19:30] Chrisfu: sorry, tab-misfire, ignore me :) [19:40] testing vaunerabilities are hard [19:41] cause it depends on what is open for it to exploit [19:41] there could be many entrances to get to something, such as an openssl exploit [19:41] but openssl is easy to test against so far, as that is on the first layer normally [19:42] something else, such as php, would be harder [19:42] and nessus will do vaunerability testing, if you pay and enable it [19:43] oh that's why they're still doing version number scraping.. [19:43] to do a poor enough job to be paid to do a better job :) [19:43] lucky, I can't remember the last time a bank told me I failed their pci compliance scan [19:44] they used to tell me that all the time, and I would respond back to tell them to fix their ssl scanner, incorrectly tagging stuff [19:44] haven't heard from them in over a year [19:44] :) === markthomas is now known as markthomas|away [20:01] is it possible that shopt it not found when running a bash script using puppet ? [20:01] YamakasY: Is it what you are experiencing? [20:02] YamakasY: shopt is a shell builtin, built in to bash but not dash. are you using /bin/sh scripts? [20:02] snolahc1: whoops, no /bin/bash [20:03] bekks: not found [20:03] YamakasY: Then yes, it is possible. You are experiencing it, it is possible. [20:04] will try sh [20:11] YamakasY: why isn't bash installed? [20:25] RoyK: it is was missing the ! [20:25] ok, so fixed :() [20:25] thanks guys === cipi is now known as CiPi [21:31] hi [21:31] disk went funky [21:31] saying 1 bad sector [21:31] wont boot [21:32] seems some parts of boot partition ended up in that sector === Lingo is now known as IronDev === Lcawte is now known as Lcawte|Away === idafyaid is now known as bebonu