=== Raboo_ is now known as Raboo === stevenroose|BNC is now known as stevenroose === keithzg_ is now known as keithzg === thumper is now known as thumper-afk [05:38] Hi do I apply http://archive.ubuntu.com/ubuntu/pool/main/g/gcc-4.8/gcc-4.8_4.8.4-2ubuntu1~14.04.diff.gz onto http://archive.ubuntu.com/ubuntu/pool/main/g/gcc-4.8/gcc-4.8_4.8.4.orig.tar.gz (from http://packages.ubuntu.com/trusty-updates/libgcc-4.8-dev)? [05:40] s/Hi/Hi! How/ [05:41] an3k: download the .dsc and the files it references and run 'dpkg-source -x gcc-4.8_4.8.4-2ubuntu1~14.04.dsc', or run 'apt-get source gcc-4.8' on a trusty install (or in a trusty chroot, or using chdist(1)) [05:42] man diff [05:42] thanks tarpman. [05:43] genii: I know how to apply patches but in this case the gcc-4.8_4.8.4.orig.tar.gz contains two more archives and it's not that easy to know where to place the patch file [05:45] an3k: oh, I forgot gcc is one of those fun ones. http://sources.debian.net/src/gcc-4.8/4.8.5-3/debian/README.source/ suggests "debian/rules patch" (this would be after "dpkg-source -x ..." succeeds) [05:45] lots of custom stuff in that one [05:46] Nice. I already excepted some more issues. Actually I just need ONE static library out of gcc for a complete different tiny tool :/ [05:47] are you certain the library you need is not already packaged? [05:47] building the packaged gcc from source is probably not for the faint of heart [05:47] it is but it's a dynamic lib and the tool only wants static libs :( [05:48] actually, that's a total lie. dpkg-buildpackage has to work on buildds, therefore it would certainly work for you as well [05:48] an3k: out of curiosity, which one? [05:48] L-SMASH Works [05:48] which library [05:48] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/4.8/crtbeginT.o: relocation R_X86_64_32 against `__TMC_END__' can not be used when making a shared object; recompile with -fPIC [05:49] and after that probably some more [05:49] interestinly ffmpeg had no problem at all getting built with shared-libs disabled and only static libs [05:52] I obviously don't know much about what you're trying to do, but I'd be quite surprised if you actually had to rebuild gcc to achieve it [05:54] well when I build ffmpeg normally L-SMASH Works complained about libavformat.o shared object blabla so I recompiled as static and it helped [05:56] and sadly apt-get source gcc-4.8 didn't helped at all. It downloaded the three files and applied the patch but not onto the original gcc-4.8 but into an empty directory. Guess I'll simply grab the pure source and try my luck with that one [05:56] "shared object blabla" isn't really enough to say whether switching to static linking was the right thing to do, but it might have been an overreaction, if static linking wasn't what you wanted right from the start [05:56] an3k: I guess you missed the part where I said http://sources.debian.net/src/gcc-4.8/4.8.5-3/debian/README.source/ suggests "debian/rules patch" [05:58] I assume you've seen the forum posts saying "build ffmpeg with --enable-pic to avoid errors" [05:58] no but I found https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu [06:00] sounds like a lot of work. did you consider installing ubuntu 15.04 or 15.10 and running "apt-get install libav.*-ffmpeg-dev" ? === cpaelzer is now known as cpaelzer_afk === cpaelzer_afk is now known as cpaelzer [07:18] tarpman: yeah, I saw that ffmpeg is back in 15.04 but my server is running 14.04 and is already finished. Additionally ffmpeg is not the issue. It's just L-SMASH Works requiring all these -fPIC / static libraries stuff so 15.04 / 15.10 wouldn't help at all [07:22] ok, applying the patch to gcc finally error'ed with "configure: error: Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+." ... I guess I'll slap the dev of L-SMASH Works and look for something different [07:25] Can't I simply use a different gcc version compile it with static libs and then compile the tool with static libs too if the target system uses another version of gcc? [07:36] an3k: is https://github.com/l-smash/l-smash the thing you're trying to build? [07:36] no, this compiled correctly on the first try. It's https://github.com/VFR-maniac/L-SMASH-Works [07:37] which requires the former as a dependency, looks like [07:37] yes, as well as some libs from ffmpeg and gcc and libenca and libfribidi and probalby some more [08:20] How do I upload to ubuntu server using SSH guys? [08:20] !scp | Node_705 [08:20] Node_705: scp is a secure way of copying files across networks using !SSH. Usage: scp filename user@host:filename - WinSCP is a client for Windows, available at http://winscp.net/ [08:21] Yes, but I need specific commands, nothings working [08:22] Node_705: from ubuntu to ubuntu? [08:23] from mac to ubuntu [08:23] Node_705: try if mac knows this command: sftp username@1.2.3.4 [08:24] if you dont get an error you can use it to easily upload/download [08:25] once the connection is establish do use the command cd to change the directory on the server or !cd to change the local directory [08:25] "put filename" to upload a file [08:25] "get filename" to download a file [08:25] The server won't allow us to establish the connection, it says permission is denied [08:26] Is ftp blocked by Amazon AWS? [08:26] that's not ftp. its ssh [08:28] sftp is still denied permission to access the server [08:29] then it's very likely disabled on AWS side. Maybe scp helps but I don't know [08:45] Node_705: scp /local/file.waev user@remote.host:/path/remote/user/can/write/to/ [08:46] if you do not supply a remote path, it defaults to $HOME for the remote user === cpaelzer is now known as cpaelzer_afk === cpaelzer_afk is now known as cpaelzer === kickinz1 is now known as kickinz1|lunch [12:52] I installed a GUI over Ubuntu Server, now one every five times or so, the computer hangs when I exit the X environment. Is this a known issue? I'd like to solve this; what else should I tell you about my system to better describe the issue? [12:59] Telling us what GUI you installed would help. But really what you have now is some hybrid desktop machine, so the help you'll get here is pretty limited I think. You're welcome to use this channel though. [13:02] you are right, rbasak, about the hybrid machine. Thanks for your reply. [13:04] my issue seems to be generic, it doesn't matter what GUI I install, the behavior is the same. So far I've tried: Openbox, Gnome Shell, XFCE4, Window Maker and perhaps other. Thanks again. [13:06] coreycb, jamespage: hello guys! do we have a new build for Aodh today regarding to the bug? [13:07] EmilienM, not that I've seen. zul should be around soon, maybe he can sponsor it. [13:07] awesome ! [13:07] EmilienM, james is on work travel so pretty tied up [13:08] it makes sense === kickinz1|lunch is now known as kickinz1 [14:33] do i need to download auto discover xml from somewhere to setup auto discover or something? === smoser` is now known as smoser [16:02] Hey, is there any word on a patch to CVE-2016-0777 (the Roaming OpenSSH issue) [16:06] zzxc: http://www.ubuntu.com/usn/usn-2869-1/ [16:11] Freaking Znc. Ok I'm not sure if my last message posted. But is there any word on the openssh roaming patch? [16:13] zzxc: http://www.ubuntu.com/usn/usn-2869-1/ [16:15] mdeslaur: Awesome! Thank you. Also didn't know you could look up by CVE numbers. [16:23] zzxc: http://people.canonical.com/~ubuntu-security/cve/ is pretty useful too (although I it can be a little slow to update) === Guest77121 is now known as med_ [16:33] rbasak: jgrimm: hey, since this came up in Foundations meeting right now, feel free to ask me when you need help with sponsoring uploads. [16:33] cyphermox, thank you big time! [16:35] it already came up in conversation before the holidays, I guess I forgot to ping you then [16:35] coreycb: why aodh is red on http://reqorts.qa.ubuntu.com/reports/ubuntu-server/cloud-archive/mitaka_versions.html ? what red means? CI? [16:35] or no build? [16:37] EmilienM, the report will auto-refresh shortly but the new aodh is available in trusty-mitaka staging [16:37] oh ok [16:37] EmilienM, it says "needs building" on that report [16:38] jamespage, can you promote aodh to trusty-mitaka proposed? [16:44] what is the best way to install these modules for perl ? getopt::Long, File::Basename, POSIX, Net::LDAP, Date::Manip. [16:47] apt-get install libnet-ldap-perl [16:47] follow the same pattern for others and some of those are perl std modules aren't they? [16:47] coreycb, doing so now [16:47] jrwren: yeah i think some of those are standard [16:47] jamespage, thanks! [16:47] jamespage: yeah, but no cpan ? [16:48] most of those should be in the repos no? [16:48] apt-get install libgetopt-long-descriptive-perl libdate-manip-perl [16:48] you can use cpan if you wish. the deb packages from teh repose have the advantage that if there is C code it is already compiled and you don't need to install make and gcc. [16:49] yeah idneed [16:49] coreycb, copied - building and publishing now [16:49] EmilienM, ^^ [16:49] jamespage: thank you :-) [16:49] yw [16:50] this is my error Can't locate utils.pm in @INC (you may need to install the utils module) [16:50] YamakasY: you may want to use apt-file to find what packages contain which modules; apt-cache search may find it too [16:51] nacc: it's specfic perl I think [16:51] YamakasY: is that the entire trace? if no, pastebin teh whole thing please. [16:52] YamakasY: also, what module is giving that error? [16:52] jrwren: some nagios check pl [16:52] it's the same as monitoring tools [16:53] A default check? which one? [16:53] jrwren: http://ltb-project.org/wiki/documentation/nagios-plugins/check_ldap_syncrepl_status [16:54] YamakasY: apt-file search utils.pm [16:54] nagios-plugins-common: /usr/lib/nagios/plugins/utils.pm ? [16:54] YamakasY: /usr/lib/nagios/plugins/utils.pm exists? [16:54] jrwren: nope, as I don't run nagios :) [16:54] it should be able without [16:55] YamakasY: That check script requires utils.pm from nagios. Like nacc pasted, you need to install nagios-plugins-common [16:55] YamakasY: so you have a module that is doing some nagios check and is including the pm file, and you want it to succeed if the file doesn't exist? [16:55] nacc: trying to figure it out :) [16:56] mhh plugins is already the latest [16:57] YamakasY: nagios-plugins-common? or nagios-plugins? they are separate packages [16:58] YamakasY: also, are you using tarball from ltb-project or deb pkg? [16:58] aha, it wants it in the plugins folder, doesn't have a $home [16:58] jrwren: tar [16:59] * YamakasY feels sexy again [16:59] YamakasY: then you need to upgrade the scripts or symlink so that use lib '/usr/local/nagios/libexec'; works. [16:59] jrwren: good question! I was assuming all w/in the ubuntu packages. Thanks for that [16:59] yeah moved them in [16:59] YamakasY: the scripts in that tarball think utils.pm is in /usr/local/nagios/libexec instead of /usr/lib/nagios/plugins/ [16:59] nacc: nah, real people use the native tarballs these day :P [16:59] YamakasY: ah, so things work? [16:59] jrwren: it seems so :) [16:59] merci my beloved friends [17:00] free hugs! === kickinz1 is now known as kickinz1|eod === cpaelzer is now known as cpaelzer_afk [17:47] should one do a full apt-get upgrade prior to do-release-upgrade. Does it really matter? [17:56] lucidguy: you should definitely do a 'sudo apt-get update; sudo apt-get dist-upgrade' prior to do-release-upgrade === ksx4system_ is now known as ksx4system === ksx4system_ is now known as ksx4system === ksx4system is now known as Guest63686 [18:33] within iptables.rules, on the :INPUT DROP [##:###] ... what does that number range represent? [18:33] pmatulis: thanks [18:34] lucidguy: the packet counts [18:34] really? why would that be in the conf? === Guest63686 is now known as ksx4system [18:35] so that reloading rules need not reset the counts [18:36] Whats the point of keeping a count of packets? [18:37] whats to the left of the : vs the right? [18:38] I can't remember now, and am struggling to find mention of it in the docs, although I know it's there someplace. I think it might be ACCEPT:DROP [18:39] see "man iptables-save" and the "--counters" option for a hint [19:02] Wasn't it packets:bytes? [19:08] yes, it could be. I recall seeing some tools that made use of it, firewall maangement tools - possibly shorewall === Lcawte|Away is now known as Lcawte [19:50] I've a LAMP server on Ubuntu 14.04 LTS. It has a user I created other than root. SSH allows this user and this user alone to SSH into the box. Problem I have is that user has no ability to sftp because /var/www is owned by www-data [19:51] How are others setting this up? I basically don't want root to be able to ssh in and I still want to be able to use certificate based auth [19:56] there's lots of options; you could set the directory to be owned by your user account; you could give the user sudo access to copy data into the directory; you could add the user to a group with write privileges to the directory (and probably set the setgid bit on the directory, to make this easier to work with) [19:57] sarnold, which is the most optimal and secure [19:59] fuzzywuzzy: probably changing the directory ownership; I don't like the defaults where the directory is owned by the same user that runs the webserver [20:00] Will that break anything? [20:01] I haven't run into any issues with it but I am relatively pedestrian [20:01] So I have to create a new group and then add this user to it. Then chown to user:group I just created? [20:01] This is a wordpress install if that matters [20:03] you don't necessarily need the new group; the group approach is nice if you have several authors [20:03] I've not used wordpress; I'm a bit surprised though I thought wordpress was all database-driven? [20:03] sarnold, Should I add this user to www-data? [20:04] fuzzywuzzy: I wouldn't bother; just be sure the user leaves everything world-readable in /var/www/... [20:06] sarnold, so just change the owner not the group [20:06] yeah [20:08] Thanks [20:08] =) [20:08] you're welcome ;) have fun === Monthrect is now known as Piper-Off === Lcawte is now known as Lcawte|Away === bradm_ is now known as bradm