[05:38] <an3k> 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] <an3k> s/Hi/Hi! How/
[05:41] <tarpman> 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] <genii> man diff
[05:42] <an3k> thanks tarpman.
[05:43] <an3k> 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] <tarpman> 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] <tarpman> lots of custom stuff in that one
[05:46] <an3k> 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] <tarpman> are you certain the library you need is not already packaged?
[05:47] <tarpman> building the packaged gcc from source is probably not for the faint of heart
[05:47] <an3k> it is but it's a dynamic lib and the tool only wants static libs :(
[05:48] <tarpman> actually, that's a total lie. dpkg-buildpackage has to work on buildds, therefore it would certainly work for you as well
[05:48] <tarpman> an3k: out of curiosity, which one?
[05:48] <an3k> L-SMASH Works
[05:48] <tarpman> which library
[05:48] <an3k> /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] <an3k> and after that probably some more
[05:49] <an3k> interestinly ffmpeg had no problem at all getting built with shared-libs disabled and only static libs
[05:52] <tarpman> 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] <an3k> 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] <an3k> 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] <tarpman> "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] <tarpman> 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] <tarpman> I assume you've seen the forum posts saying "build ffmpeg with --enable-pic to avoid errors"
[05:58] <an3k> no but I found https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu
[06:00] <tarpman> sounds like a lot of work. did you consider installing ubuntu 15.04 or 15.10 and running "apt-get install libav.*-ffmpeg-dev" ?
[07:18] <an3k> 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] <an3k> 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] <an3k> 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] <tarpman> an3k: is https://github.com/l-smash/l-smash the thing you're trying to build?
[07:36] <an3k> no, this compiled correctly on the first try. It's https://github.com/VFR-maniac/L-SMASH-Works
[07:37] <tarpman> which requires the former as a dependency, looks like
[07:37] <an3k> yes, as well as some libs from ffmpeg and gcc and libenca and libfribidi and probalby some more
[08:20] <Node_705> How do I upload to ubuntu server using SSH guys?
[08:20] <hateball> !scp | Node_705
[08:21] <Node_705> Yes, but I need specific commands, nothings working
[08:22] <an3k> Node_705: from ubuntu to ubuntu?
[08:23] <Node_705> from mac to ubuntu
[08:23] <an3k> Node_705: try if mac knows this command: sftp username@1.2.3.4
[08:24] <an3k> if you dont get an error you can use it to easily upload/download
[08:25] <an3k> 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] <an3k> "put filename" to upload a file
[08:25] <an3k> "get filename" to download a file
[08:25] <Node_705> The server won't allow us to establish the connection, it says permission is denied
[08:26] <Node_705> Is ftp blocked by Amazon AWS?
[08:26] <an3k> that's not ftp. its ssh
[08:28] <Node_705> sftp is still denied permission to access the server
[08:29] <an3k> then it's very likely disabled on AWS side. Maybe scp helps but I don't know
[08:45] <hateball> Node_705: scp /local/file.waev user@remote.host:/path/remote/user/can/write/to/
[08:46] <hateball> if you do not supply a remote path, it defaults to $HOME for the remote user
[12:52] <gabriel-artigue> 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] <rbasak> 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] <gabriel-artigue> you are right, rbasak, about the hybrid machine. Thanks for your reply.
[13:04] <gabriel-artigue> 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] <EmilienM> coreycb, jamespage: hello guys! do we have a new build for Aodh today regarding to the bug?
[13:07] <coreycb> EmilienM, not that I've seen.  zul should be around soon, maybe he can sponsor it.
[13:07] <EmilienM> awesome !
[13:07] <coreycb> EmilienM, james is on work travel so pretty tied up
[13:08] <EmilienM> it makes sense
[14:33] <dannymichel> do i need to download auto discover xml from somewhere to setup auto discover or something?
[16:02] <zzxc> Hey, is there any word on a patch to CVE-2016-0777 (the Roaming OpenSSH issue)
[16:06] <mdeslaur> zzxc: http://www.ubuntu.com/usn/usn-2869-1/
[16:11] <zzxc> Freaking Znc. Ok I'm not sure if my last message posted. But is there any word on the openssh roaming patch?
[16:13] <mdeslaur> zzxc: http://www.ubuntu.com/usn/usn-2869-1/
[16:15] <zzxc> mdeslaur: Awesome! Thank you. Also didn't know you could look up by CVE numbers.
[16:23] <Pici> zzxc: http://people.canonical.com/~ubuntu-security/cve/ is pretty useful too (although I it can be a little slow to update)
[16:33] <cyphermox> 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] <jgrimm> cyphermox, thank you big time!
[16:35] <cyphermox> it already came up in conversation before the holidays, I guess I forgot to ping you then
[16:35] <EmilienM> 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] <EmilienM> or no build?
[16:37] <coreycb> EmilienM, the report will auto-refresh shortly but the new aodh is available in trusty-mitaka staging
[16:37] <EmilienM> oh ok
[16:37] <coreycb> EmilienM, it says "needs building" on that report
[16:38] <coreycb> jamespage, can you promote aodh to trusty-mitaka proposed?
[16:44] <YamakasY> what is the best way to install these modules for perl ? getopt::Long, File::Basename, POSIX, Net::LDAP, Date::Manip.
[16:47] <jrwren> apt-get install libnet-ldap-perl
[16:47] <jrwren> follow the same pattern for others and some of those are perl std modules aren't they?
[16:47] <jamespage> coreycb, doing so now
[16:47] <teward> jrwren: yeah i think some of those are standard
[16:47] <coreycb> jamespage, thanks!
[16:47] <YamakasY> jamespage: yeah, but no cpan ?
[16:48] <teward> most of those should be in the repos no?
[16:48] <jrwren> apt-get install libgetopt-long-descriptive-perl libdate-manip-perl
[16:48] <jrwren> 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] <YamakasY> yeah idneed
[16:49] <jamespage> coreycb, copied - building and publishing now
[16:49] <jamespage> EmilienM, ^^
[16:49] <EmilienM> jamespage: thank you :-)
[16:49] <jamespage> yw
[16:50] <YamakasY> this is my error Can't locate utils.pm in @INC (you may need to install the utils module)
[16:50] <nacc> YamakasY: you may want to use apt-file to find what packages contain which modules; apt-cache search may find it too
[16:51] <YamakasY> nacc: it's specfic perl I think
[16:51] <jrwren> YamakasY: is that the entire trace? if no, pastebin teh whole thing please.
[16:52] <jrwren> YamakasY: also, what module is giving that error?
[16:52] <YamakasY> jrwren: some nagios check pl
[16:52] <YamakasY> it's the same as monitoring tools
[16:53] <jrwren> A default check? which one?
[16:53] <YamakasY> jrwren: http://ltb-project.org/wiki/documentation/nagios-plugins/check_ldap_syncrepl_status
[16:54] <nacc> YamakasY: apt-file search utils.pm
[16:54] <nacc> nagios-plugins-common: /usr/lib/nagios/plugins/utils.pm ?
[16:54] <jrwren> YamakasY: /usr/lib/nagios/plugins/utils.pm exists?
[16:54] <YamakasY> jrwren: nope, as I don't run nagios :)
[16:54] <YamakasY> it should be able without
[16:55] <jrwren> YamakasY: That check script requires utils.pm from nagios. Like nacc pasted, you need to install nagios-plugins-common
[16:55] <nacc> 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] <YamakasY> nacc: trying to figure it out :)
[16:56] <YamakasY> mhh plugins is already the latest
[16:57] <nacc> YamakasY: nagios-plugins-common? or nagios-plugins? they are separate packages
[16:58] <jrwren> YamakasY: also, are you using tarball from ltb-project or deb pkg?
[16:58] <YamakasY> aha, it wants it in the plugins folder, doesn't have a $home
[16:58] <YamakasY> jrwren: tar
[16:59]  * YamakasY feels sexy again
[16:59] <jrwren> YamakasY: then you need to upgrade the scripts or symlink so that use lib '/usr/local/nagios/libexec'; works.
[16:59] <nacc> jrwren: good question! I was assuming all w/in the ubuntu packages. Thanks for that
[16:59] <YamakasY> yeah moved them in
[16:59] <jrwren> YamakasY: the scripts in that tarball think utils.pm is in /usr/local/nagios/libexec instead of /usr/lib/nagios/plugins/
[16:59] <YamakasY> nacc: nah, real people use the native tarballs these day :P
[16:59] <jrwren> YamakasY: ah, so things work?
[16:59] <YamakasY> jrwren: it seems so :)
[16:59] <YamakasY> merci my beloved friends
[17:00] <YamakasY> free hugs!
[17:47] <lucidguy> should one do a full apt-get upgrade prior to do-release-upgrade.  Does it really matter?
[17:56] <pmatulis> lucidguy: you should definitely do a 'sudo apt-get update; sudo apt-get dist-upgrade' prior to do-release-upgrade
[18:33] <lucidguy> within iptables.rules, on the :INPUT DROP [##:###]  ... what does that number range represent?
[18:33] <lucidguy> pmatulis: thanks
[18:34] <TJ-> lucidguy: the packet counts
[18:34] <lucidguy> really?  why would that be in the conf?
[18:35] <TJ-> so that reloading rules need not reset the counts
[18:36] <lucidguy> Whats the point of keeping a count of packets?
[18:37] <lucidguy> whats to the left of the : vs the right?
[18:38] <TJ-> 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] <TJ-> see "man iptables-save" and the "--counters" option for a hint
[19:02] <lordievader> Wasn't it packets:bytes?
[19:08] <TJ-> yes, it could be. I recall seeing some tools that made use of it, firewall maangement tools - possibly shorewall
[19:50] <fuzzywuzzy> 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] <fuzzywuzzy> 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] <sarnold> 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] <fuzzywuzzy> sarnold, which is the most optimal and secure
[19:59] <sarnold> 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] <fuzzywuzzy> Will that break anything?
[20:01] <sarnold> I haven't run into any issues with it but I am relatively pedestrian
[20:01] <fuzzywuzzy> 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] <fuzzywuzzy> This is a wordpress install if that matters
[20:03] <sarnold> you don't necessarily need the new group; the group approach is nice if you have several authors
[20:03] <sarnold> I've not used wordpress; I'm a bit surprised though I thought wordpress was all database-driven?
[20:03] <fuzzywuzzy> sarnold, Should I add this user to www-data?
[20:04] <sarnold> fuzzywuzzy: I wouldn't bother; just be sure the user leaves everything world-readable in /var/www/...
[20:06] <fuzzywuzzy> sarnold, so just change the owner not the group
[20:06] <sarnold> yeah
[20:08] <fuzzywuzzy> Thanks
[20:08] <fuzzywuzzy> =)
[20:08] <sarnold> you're welcome ;) have fun