logs archiveIRC Archive / Freenode / #centos / 2015 / August / 2 / 1
aqsd
To answer my own question and provide grep-bait it seems "yum --set-opts="timeout=999" update" works nicely.
fenrus02
aqsd, you can add that to a single .repo file too if you want it tonly affect a single one
aqsd
fenrus: Thanks. In this case I needed all, but that's good to know for the reluctant repos.
kexmex
hey guys
is mod_security 2.8.x going to be available in CentOS 7.1?
TrevorH
2.7.3 is in base and the usual backporting rules probably apply
@backports
centbot
Please see https://access.redhat.com/security/updates/backporting/ for information on backporting of security fixes and features in CentOS and RHEL
tessier
I hate it when stuff like this happens. Physical disk in the SAN got WAY oversubscribed, VM pretty nearly came to a halt and load average wouldn't recover after the db causing the load had been shut down, machine was rebooted, RAID and LVM etc. all came back up, and now it won't recognize the ext3 filesystem the database was sitting on.
kexmex
TrevorH: well i don't think it's a fix, probably more like new features
tessier
I wish there were more tools for recovering filesystems.
         

kexmex
TrevorH: so i didn't get your answer. Does it mean that you only port fixes to base version and you don't add features?
TrevorH
I don't do anything ;-) Redhat do all the work and if you read the link it says that they stick with the same versions of everything for the 10 year lifetime of the distro
dan_j
Hi, is anyone aware of a good book that reviews all the current datacentre technologies in use to create high availability? Such as iscsi, drbd redundancy methods etc.
I'm looking for an overall view as I'm moving datacentre and want to redo some things such as having shared storage for my VMs. Just worried about performance.
TrevorH
you might be better off asking in #clusterlabs where the HA people hang out
kexmex
TrevorH: that sucks :(
is there Cent 7.2? :)
TrevorH
not until there is a RHEL 7.2
kexmex
when's that ? :)
TrevorH
you could ask redhat but they don't say
kexmex
but i guess ModSecurity guys should provide their own Repo for versions?
Sokel
Soon"
Glitches
I tried installing a C++ compiler on centos 7
but I'm getting errors in the standard library
"fatal error: bits/c++config.h: No such file or directory"
to resolve this on debian based distros you just need to install the g++ multilib
but I can't find a fix for centos :/
TrevorH
how did you install the compiler?
Glitches
TrevorH: I got the gcc-c++ package
TrevorH
yum install gcc-c++ ?
Glitches
TrevorH: correct
TrevorH
yum provides '*/bits/c++config.h'
Sling
probably glibc-devel and libstdc++-devel
TrevorH
I'd guess you need libstdc++-devel
Glitches
TrevorH: Thanks!
Works!
GuLdUn
Hi, I am having an issue where my CentOS server is being reported for attacking another server, the logs I have been sent from the Abuse team are as is: "POST /wp-login.php HTTP/1.0" 200 4789 "-" "hinnafysioterapi.no" "-" how can I find the source of these attacks that our server is causing?
         

^elf^
any news on when 6.7 is expected to drop?
pj
^elf^: at a guess, early this week.
m1st
anyone seen these messages before? my dmesg is spammed with them and the server is acting funny
[9610260.783213] sd 2:0:2:0: [sdc] Failed to abort cmd ffff88010f4f4ec0
[9610260.783214] sd 2:0:2:0: [sdc] task abort on host 2, ffff88010f4f4dc0
phr3ak
why ca-bundle.crt does not contain google's certificates?
rakm
on centos7, how do I enable key based ssh authentication? i've placed my public key in ~/.ssh/authorized_keys and in /etc/ssh/sshd_config, I've added `PubkeyAuthentication yes` and restarted sshd (systemctl restart sshd.service), but i still cannot ssh in
^elf^
did you chmod +600 your authorized key?
-+
rakm
^elf^ i had not, good catch. but still no luck
^elf^
told your client to use the private key?
Bahhumbug
No changes are necessary on any release of CentOS to use pubkey auth with sshd; it is enabled out of the box.
rakm
yeah. here's the -vv output if it means anything to you http://pastie.org/10325396
Bahhumbug i'm on an intenal cloud based system and this image may not be right out of box
hifi
I remember some early installs of C6 or C7 didn't like if you didn't fix selinux permissions for your local .ssh
Bahhumbug
chmod 700 ~ ~/.ssh && chmod 600 ~/.ssh/authorized_keys && restorecon -Rv ~/.ssh
hifi
ssh-copy-id does it properly though
rakm
Bahhumbug, i made the mistake of running all of that at once, so i don't know what part fixed it. probably the restorecon
since ~/.ssh was already 0700
thanks!
i'll have to read up on what restorecon does
^elf^
selinux
just the nsa spying on your box, nothing to see, move along
Bahhumbug
Restores file contexts based on their configured values.
^elf^
>_>
rakm
all right, another q. i am trying to `yum install nodejs` and it's failing gpg key verification. "Couldn't open file /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle". i see some RPM-GPG-KEY-* files in that directory, but not the one it's looking for
nope
Ice_Strike
I have just installed CentOS 7 minimum. After installed I am trying to find out what the IP
I typed ifconfig and it saying command not found
What the hell?
Zerberus
man ip
ifconfig is deprecated since years
Ice_Strike
Really, I am sure it didnt happen in centos 5/6
Zerberus
yes, up to CentOS 6 ifconfig is still part of base
Ice_Strike
Thats suck.
Zerberus
if you are stuck in the past, you'll lose
Ice_Strike
Ah its ip addr
True :P
TrevorH
and the removal is covered in the FAQ section for el7
@faq
centbot
FAQs are found at http://wiki.centos.org/FAQ
Bahhumbug
It should have been dropped in 6 but too many people would have whined and cried about it.
pj
Ice_Strike: if you really want ifconfig it's easy to get it, just install net-tools
although I agree there are much better tools now. One valid reason to want ifconfig is if you have scripts that need to be conpatible with other unixes that don't have ip.
Bahhumbug
Learn to write portable scripts?
Just a thought :)
But seriously... the deprecation warning has been present for _how_ many years now? 9? 10?
pj
Bahhumbug: yes, the point is that ip is a linux-only command, so for portability you may have to use ifconfig.
MerlinTHP
Of course, ifconfig is deprecated because it can't drive the kernel correctly, so "portable" scripts using ifconfig can behave incorrectly on linux.
pj
or if you have to maintain bsd and linux boxes and just want a consistent interface
Bahhumbug
Which is pretty silly since the warning has been present for years and anyone that cares would have dealt with it by now considering that at some point ifconfig _will_ get dropped.
And then they're all gonna scream and yell about it :/
pj
well, personally I've been getting used to ip for a while now, but I'm just pointing out what I consider to be one valid reason to use ifconfig. "I want to display my IP address" isn't really one, though.
and yeah, ifconfig doesn't work consistently, for example I don't think that ifconfig will display multiple IPs attached to a single interface.
Ussat
pj, it does that on other *nix just fine
multiple ip addresses on a single interface
billings
the output of ifconfig isn't consistent between bsd and linux
Bahhumbug
The 30 or 40 bsd users will be ok.
(Action) hides
detha
(Action) tracks Bahhumbug down and hands him an OpenBSD DVD
TrevorH
the output of ifconfig isn't even consistent between el6 and el7
pj
heh, go figure
« prev 1 2 next »