/srv/irclogs.ubuntu.com/2016/01/14/#ubuntu-server.txt

=== 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
an3kHi 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:38
an3ks/Hi/Hi! How/05:40
tarpmanan3k: 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:41
geniiman diff05:42
an3kthanks tarpman.05:42
an3kgenii: 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 file05:43
tarpmanan3k: 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
tarpmanlots of custom stuff in that one05:45
an3kNice. I already excepted some more issues. Actually I just need ONE static library out of gcc for a complete different tiny tool :/05:46
tarpmanare you certain the library you need is not already packaged?05:47
tarpmanbuilding the packaged gcc from source is probably not for the faint of heart05:47
an3kit is but it's a dynamic lib and the tool only wants static libs :(05:47
tarpmanactually, that's a total lie. dpkg-buildpackage has to work on buildds, therefore it would certainly work for you as well05:48
tarpmanan3k: out of curiosity, which one?05:48
an3kL-SMASH Works05:48
tarpmanwhich library05: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 -fPIC05:48
an3kand after that probably some more05:49
an3kinterestinly ffmpeg had no problem at all getting built with shared-libs disabled and only static libs05:49
tarpmanI 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 it05:52
an3kwell when I build ffmpeg normally L-SMASH Works complained about libavformat.o shared object blabla so I recompiled as static and it helped05:54
an3kand 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 one05: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 start05:56
tarpmanan3k: 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:56
tarpmanI assume you've seen the forum posts saying "build ffmpeg with --enable-pic to avoid errors"05:58
an3kno but I found https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu05:58
tarpmansounds like a lot of work. did you consider installing ubuntu 15.04 or 15.10 and running "apt-get install libav.*-ffmpeg-dev" ?06:00
=== cpaelzer is now known as cpaelzer_afk
=== cpaelzer_afk is now known as cpaelzer
an3ktarpman: 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 all07:18
an3kok, 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 different07:22
an3kCan'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:25
tarpmanan3k: is https://github.com/l-smash/l-smash the thing you're trying to build?07:36
an3kno, this compiled correctly on the first try. It's https://github.com/VFR-maniac/L-SMASH-Works07:36
tarpmanwhich requires the former as a dependency, looks like07:37
an3kyes, as well as some libs from ffmpeg and gcc and libenca and libfribidi and probalby some more07:37
Node_705How do I upload to ubuntu server using SSH guys?08:20
hateball!scp | Node_70508:20
ubottuNode_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:20
Node_705Yes, but I need specific commands, nothings working08:21
an3kNode_705: from ubuntu to ubuntu?08:22
Node_705from mac to ubuntu08:23
an3kNode_705: try if mac knows this command: sftp username@1.2.3.408:23
an3kif you dont get an error you can use it to easily upload/download08:24
an3konce the connection is establish do use the command cd to change the directory on the server or !cd to change the local directory08:25
an3k"put filename" to upload a file08:25
an3k"get filename" to download a file08:25
Node_705The server won't allow us to establish the connection, it says permission is denied08:25
Node_705Is ftp blocked by Amazon AWS?08:26
an3kthat's not ftp. its ssh08:26
Node_705sftp is still denied permission to access the server08:28
an3kthen it's very likely disabled on AWS side. Maybe scp helps but I don't know08:29
hateballNode_705: scp /local/file.waev user@remote.host:/path/remote/user/can/write/to/08:45
hateballif you do not supply a remote path, it defaults to $HOME for the remote user08:46
=== cpaelzer is now known as cpaelzer_afk
=== cpaelzer_afk is now known as cpaelzer
=== kickinz1 is now known as kickinz1|lunch
gabriel-artigueI 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:52
rbasakTelling 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.12:59
gabriel-artigueyou are right, rbasak, about the hybrid machine. Thanks for your reply.13:02
gabriel-artiguemy 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:04
EmilienMcoreycb, jamespage: hello guys! do we have a new build for Aodh today regarding to the bug?13:06
coreycbEmilienM, not that I've seen.  zul should be around soon, maybe he can sponsor it.13:07
EmilienMawesome !13:07
coreycbEmilienM, james is on work travel so pretty tied up13:07
EmilienMit makes sense13:08
=== kickinz1|lunch is now known as kickinz1
dannymicheldo i need to download auto discover xml from somewhere to setup auto discover or something?14:33
=== smoser` is now known as smoser
zzxcHey, is there any word on a patch to CVE-2016-0777 (the Roaming OpenSSH issue)16:02
mdeslaurzzxc: http://www.ubuntu.com/usn/usn-2869-1/16:06
zzxcFreaking Znc. Ok I'm not sure if my last message posted. But is there any word on the openssh roaming patch?16:11
mdeslaurzzxc: http://www.ubuntu.com/usn/usn-2869-1/16:13
zzxcmdeslaur: Awesome! Thank you. Also didn't know you could look up by CVE numbers.16:15
Picizzxc: http://people.canonical.com/~ubuntu-security/cve/ is pretty useful too (although I it can be a little slow to update)16:23
=== Guest77121 is now known as med_
cyphermoxrbasak: 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
jgrimmcyphermox, thank you big time!16:33
cyphermoxit already came up in conversation before the holidays, I guess I forgot to ping you then16:35
EmilienMcoreycb: why aodh is red on http://reqorts.qa.ubuntu.com/reports/ubuntu-server/cloud-archive/mitaka_versions.html ? what red means? CI?16:35
EmilienMor no build?16:35
coreycbEmilienM, the report will auto-refresh shortly but the new aodh is available in trusty-mitaka staging16:37
EmilienMoh ok16:37
coreycbEmilienM, it says "needs building" on that report16:37
coreycbjamespage, can you promote aodh to trusty-mitaka proposed?16:38
YamakasYwhat is the best way to install these modules for perl ? getopt::Long, File::Basename, POSIX, Net::LDAP, Date::Manip.16:44
jrwrenapt-get install libnet-ldap-perl16:47
jrwrenfollow the same pattern for others and some of those are perl std modules aren't they?16:47
jamespagecoreycb, doing so now16:47
tewardjrwren: yeah i think some of those are standard16:47
coreycbjamespage, thanks!16:47
YamakasYjamespage: yeah, but no cpan ?16:47
tewardmost of those should be in the repos no?16:48
jrwrenapt-get install libgetopt-long-descriptive-perl libdate-manip-perl16:48
jrwrenyou 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:48
YamakasYyeah idneed16:49
jamespagecoreycb, copied - building and publishing now16:49
jamespageEmilienM, ^^16:49
EmilienMjamespage: thank you :-)16:49
jamespageyw16:49
YamakasYthis is my error Can't locate utils.pm in @INC (you may need to install the utils module)16:50
naccYamakasY: you may want to use apt-file to find what packages contain which modules; apt-cache search may find it too16:50
YamakasYnacc: it's specfic perl I think16:51
jrwrenYamakasY: is that the entire trace? if no, pastebin teh whole thing please.16:51
jrwrenYamakasY: also, what module is giving that error?16:52
YamakasYjrwren: some nagios check pl16:52
YamakasYit's the same as monitoring tools16:52
jrwrenA default check? which one?16:53
YamakasYjrwren: http://ltb-project.org/wiki/documentation/nagios-plugins/check_ldap_syncrepl_status16:53
naccYamakasY: apt-file search utils.pm16:54
naccnagios-plugins-common: /usr/lib/nagios/plugins/utils.pm ?16:54
jrwrenYamakasY: /usr/lib/nagios/plugins/utils.pm exists?16:54
YamakasYjrwren: nope, as I don't run nagios :)16:54
YamakasYit should be able without16:54
jrwrenYamakasY: That check script requires utils.pm from nagios. Like nacc pasted, you need to install nagios-plugins-common16:55
naccYamakasY: 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
YamakasYnacc: trying to figure it out :)16:55
YamakasYmhh plugins is already the latest16:56
naccYamakasY: nagios-plugins-common? or nagios-plugins? they are separate packages16:57
jrwrenYamakasY: also, are you using tarball from ltb-project or deb pkg?16:58
YamakasYaha, it wants it in the plugins folder, doesn't have a $home16:58
YamakasYjrwren: tar16:58
* YamakasY feels sexy again16:59
jrwrenYamakasY: then you need to upgrade the scripts or symlink so that use lib '/usr/local/nagios/libexec'; works.16:59
naccjrwren: good question! I was assuming all w/in the ubuntu packages. Thanks for that16:59
YamakasYyeah moved them in16:59
jrwrenYamakasY: the scripts in that tarball think utils.pm is in /usr/local/nagios/libexec instead of /usr/lib/nagios/plugins/16:59
YamakasYnacc: nah, real people use the native tarballs these day :P16:59
jrwrenYamakasY: ah, so things work?16:59
YamakasYjrwren: it seems so :)16:59
YamakasYmerci my beloved friends16:59
YamakasYfree hugs!17:00
=== kickinz1 is now known as kickinz1|eod
=== cpaelzer is now known as cpaelzer_afk
lucidguyshould one do a full apt-get upgrade prior to do-release-upgrade.  Does it really matter?17:47
pmatulislucidguy: you should definitely do a 'sudo apt-get update; sudo apt-get dist-upgrade' prior to do-release-upgrade17:56
=== ksx4system_ is now known as ksx4system
=== ksx4system_ is now known as ksx4system
=== ksx4system is now known as Guest63686
lucidguywithin iptables.rules, on the :INPUT DROP [##:###]  ... what does that number range represent?18:33
lucidguypmatulis: thanks18:33
TJ-lucidguy: the packet counts18:34
lucidguyreally?  why would that be in the conf?18:34
=== Guest63686 is now known as ksx4system
TJ-so that reloading rules need not reset the counts18:35
lucidguyWhats the point of keeping a count of packets?18:36
lucidguywhats to the left of the : vs the right?18:37
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:DROP18:38
TJ-see "man iptables-save" and the "--counters" option for a hint18:39
lordievaderWasn't it packets:bytes?19:02
TJ-yes, it could be. I recall seeing some tools that made use of it, firewall maangement tools - possibly shorewall19:08
=== Lcawte|Away is now known as Lcawte
fuzzywuzzyI'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-data19:50
fuzzywuzzyHow 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 auth19:51
sarnoldthere'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:56
fuzzywuzzysarnold, which is the most optimal and secure19:57
sarnoldfuzzywuzzy: probably changing the directory ownership; I don't like the defaults where the directory is owned by the same user that runs the webserver19:59
fuzzywuzzyWill that break anything?20:00
sarnoldI haven't run into any issues with it but I am relatively pedestrian20:01
fuzzywuzzySo I have to create a new group and then add this user to it.  Then chown to user:group I just created?20:01
fuzzywuzzyThis is a wordpress install if that matters20:01
sarnoldyou don't necessarily need the new group; the group approach is nice if you have several authors20:03
sarnoldI've not used wordpress; I'm a bit surprised though I thought wordpress was all database-driven?20:03
fuzzywuzzysarnold, Should I add this user to www-data?20:03
sarnoldfuzzywuzzy: I wouldn't bother; just be sure the user leaves everything world-readable in /var/www/...20:04
fuzzywuzzysarnold, so just change the owner not the group20:06
sarnoldyeah20:06
fuzzywuzzyThanks20:08
fuzzywuzzy=)20:08
sarnoldyou're welcome ;) have fun20:08
=== Monthrect is now known as Piper-Off
=== Lcawte is now known as Lcawte|Away
=== bradm_ is now known as bradm

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