[CentOS-announce] CESA-2016:1585 Moderate CentOS 6 qemu-kvm Security Update

2016-08-09 Thread Johnny Hughes
CentOS Errata and Security Advisory 2016:1585 Moderate Upstream details at : https://rhn.redhat.com/errata/RHSA-2016-1585.html The following updated files have been uploaded and are currently syncing to the mirrors: ( sha256sum Filename ) i386:

Re: [CentOS] ssh & ksh question [RESOLVED]

2016-08-09 Thread Gordon Messmer
On 08/09/2016 01:42 PM, m.r...@5-cent.us wrote: Actually, the script itself is ksh. As far as I know, the problem and the solution I described are identical in ksh. ___ CentOS mailing list CentOS@centos.org

Re: [CentOS] ssh & ksh question [RESOLVED]

2016-08-09 Thread m . roth
Gordon Messmer wrote: > On 08/09/2016 10:35 AM, m.r...@5-cent.us wrote: >> it gags on >> ssh system2 <> blah, blah >> EOF. >> >> Mostly, I have a multiline awk script in the script, with \ at the end >> of each line > > You are probably overlooking that in bash, "here documents" are subject > to

Re: [CentOS] Gateway question

2016-08-09 Thread Gordon Messmer
On 08/09/2016 12:03 PM, John R Pierce wrote: those are both the same network, and the default gateway is a global thing. packets forwarded to 192.168.1.1 could use either 192.168.1.12 or .13, as they are all the same. in reality, they will use the first match they find. Generally, but

Re: [CentOS] ssh & ksh question

2016-08-09 Thread Gordon Messmer
On 08/09/2016 10:35 AM, m.r...@5-cent.us wrote: it gags on ssh system2 < You are probably overlooking that in bash, "here documents" are subject to expansion according rules documented in the bash man page, unless you quote the word you use as the here document delimeter. That is, try:

Re: [CentOS] Gateway question

2016-08-09 Thread Gordon Messmer
On 08/09/2016 11:51 AM, Birta Levente wrote: If I add "#route add default gw 192.168.1.1 dev enp3s0" all is good, but cannot add that in route-iface file or with "ip route" Are you using the "network" or the "NetworkManager" service to configure your network? I haven't verified that

Re: [CentOS] Single source repo, producing packages for CentOS 6 and 7, how?

2016-08-09 Thread Peter
On 10/08/16 07:31, Martinx - ジェームズ wrote: > Guys, > > I have a source code here, that produces RPM packages for CentOS 6, that > includes an Upstart Job and a ugly and minimal Init Script. > > Now, I have it running on CentOS 7, via systemd, looks good! > > However, my RPM package for CentOS

Re: [CentOS] Eclipse rpms

2016-08-09 Thread Gordon Messmer
On 08/09/2016 11:44 AM, Jonathan Billings wrote: Its just a slightly more complex command line: $ scl enable devtoolset-3 eclipse ... this will load the devtoolset-3 SCL and then execute 'eclipse'. Yes, I know that. I was hoping to better understand how scl works, and whether or not new

Re: [CentOS] centos 7- boot doesn't wait for startup script to complete

2016-08-09 Thread KM
FYI - I just found the following post, https://www.centos.org/forums/viewtopic.php?f=47=48140 , which I hadn't seen before.   It has to do with adding an entry to rc.local.  This has worked for me.  I know the correct way would be to set up a systemd service file as I started doing.  I will

Re: [CentOS] Single source repo, producing packages for CentOS 6 and 7, how?

2016-08-09 Thread Frank Cox
On Tue, 9 Aug 2016 15:31:17 -0400 Martinx - ジェームズ wrote: > How are you guys managing this? I mean, I would like to have 1 single > source and 1 SPEC file for both CentOS 6 and 7, but no need to systemd > service files on 6 / no need to upstart job files on 7.

[CentOS] Centos 7 - how to resurrect /dev/fb0? Or an alternative to fbterm for 256 color tty terminals?

2016-08-09 Thread Nick Cammorato
Hi Everyone! I've been trying to rediscover the lost art of appliance-ification. SystemD is actually pretty amenable to masking tty1 and spawning a program instead of login which makes a config console a rather easy thing to do (mostly). Have that bit done, no problem. Happily spawning a rather

[CentOS] Single source repo, producing packages for CentOS 6 and 7, how?

2016-08-09 Thread Martinx - ジェームズ
Guys, I have a source code here, that produces RPM packages for CentOS 6, that includes an Upstart Job and a ugly and minimal Init Script. Now, I have it running on CentOS 7, via systemd, looks good! However, my RPM package for CentOS 7 still includes the useless Upstart and Init Scripts...

Re: [CentOS] Gateway question

2016-08-09 Thread John R Pierce
On 8/9/2016 11:51 AM, Birta Levente wrote: I do all this and working on LAN ... all traffic go in/out on the proper interface ... the problem is when I try to access the internet on the second interface how do you try and access the 'internet on the second interface' when its all

Re: [CentOS] centos 7- boot doesn't wait for startup script to complete

2016-08-09 Thread KM
I am taking a step back.  I have a normal rc script that is installed with our product.  All of the CentOS 7 documentation says the script should work on startup/shutdown.   But it doesn't.   If I run the script manually it works as it should of course. When I restart the server, nothing

Re: [CentOS] Gateway question

2016-08-09 Thread John R Pierce
On 8/9/2016 11:42 AM, Birta Levente wrote: So, again: Centos 7 2 NICs enp2s0-192.168.1.12 enp3s0-192.168.1.13 default gateway on enp2s0 is 192.168.1.1, defined in /etc/sysconfig/network Which other way (preferred with "ip route") can I add this, but: #route add default gw 192.168.1.1 dev

Re: [CentOS] Gateway question

2016-08-09 Thread Birta Levente
On 09/08/2016 20:01, Gordon Messmer wrote: On 08/08/2016 04:05 AM, Levente Birta wrote: Can I add this in any config files (ex: route-enp2s0)? Yes. Add a route file for each interface, and set up rules to send packets out the corresponding physical interface:

Re: [CentOS] Eclipse rpms

2016-08-09 Thread Jonathan Billings
On Tue, Aug 09, 2016 at 10:12:31AM -0700, Gordon Messmer wrote: > If you haven't used "scl," and I hadn't before yesterday, it creates a new > session with environment variables set up to access applications installed > in a semi-isolated path. It can't be called from the bash profile as far as >

Re: [CentOS] Gateway question

2016-08-09 Thread Birta Levente
On 09/08/2016 15:47, Jonathan Billings wrote: On Tue, Aug 09, 2016 at 10:58:40AM +0300, Levente Birta wrote: What I don't understand why the route command allow to add a second default gateway with different interface, but the ip route command doesn't? You can only have one default gateway.

[CentOS] Localedef runs but doesn't change locale

2016-08-09 Thread Zach Aufdemberge
Hello everyone, When I run the command localedef -c -i en_GB -f UTF-8 en_GB.utf-8 the command runs with no errors but running locale still shows: LANG=en_US.UTF-8 LANGUAGE=en_US LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_COLLATE="en_US.UTF-8"

Re: [CentOS] LSI SATA MegaRaid & Centos 7 build 1511

2016-08-09 Thread Gordon Messmer
On 08/09/2016 10:42 AM, Fawzy Ibrhim wrote: I have opened the case of the server Perfect! Did you get the model number? ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] LSI SATA MegaRaid & Centos 7 build 1511

2016-08-09 Thread m . roth
Fawzy Ibrhim wrote: > I have opened the case of the server and it's LSI card with FakeRaid !! > > What I have to do now as lspci shows it as intel cards? If you're responding to my comment, you seem to have misunderstood me. The only servers I had that offered fakeRAID were Intel motherboards,

Re: [CentOS] ssh & ksh question

2016-08-09 Thread m . roth
David Both wrote: > Try: > > ssh system2 "`cat test.script`" > > That works for me. Thanks, but that's pretty much what I'm trying with the HERE document. Trouble is, I have a) an sqlquery, o/p piped into b) awk, which I do as one line, breaking it with terminating \ (to make it readable),

Re: [CentOS] LSI SATA MegaRaid & Centos 7 build 1511

2016-08-09 Thread Fawzy Ibrhim
I have opened the case of the server and it's LSI card with FakeRaid !! What I have to do now as lspci shows it as intel cards? ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] ssh & ksh question

2016-08-09 Thread David Both
Try: ssh system2 "`cat test.script`" That works for me. On 08/09/2016 01:35 PM, m.r...@5-cent.us wrote: I need to run a report, source file on system 1, on system 2. I'd like to do this in one script, not have a second script to run it. Now cat script | ssh system2 works fine. But no

[CentOS] ssh & ksh question

2016-08-09 Thread m . roth
I need to run a report, source file on system 1, on system 2. I'd like to do this in one script, not have a second script to run it. Now cat script | ssh system2 works fine. But no matter what I've tried, it gags on ssh system2

Re: [CentOS] Regarding using CentOS on Commercial Appliance

2016-08-09 Thread Digimer
On 09/08/16 01:23 AM, Akshat Kakkar wrote: > Hi All!I am builiding a firewall appliance based on CentOS. I am using CentOS > as it is with some packages removed and some configuration done to security > harden the appliance. Over and above this I will be installing Apache Web > Server and

Re: [CentOS] Eclipse rpms

2016-08-09 Thread Gordon Messmer
On 08/08/2016 05:08 PM, Jonathan Billings wrote: I believe the scl package that contains eclipse already includes a .desktop file that launches eclipse. So it does. Hopefully that'll work for the people who use these systems. Thanks, Jonathan.

Re: [CentOS] C7 Backup problem

2016-08-09 Thread Valeri Galtsev
On Tue, August 9, 2016 11:51 am, Gordon Messmer wrote: > On 08/08/2016 11:11 PM, Alessandro Baggi wrote: >> |78 | backup-fd | 2016-08-08 09:52:57 | B| F | 191,024 | >> 7,978,295,072 | T | >> >> |79 | backup-fd | 2016-08-08 12:10:31 | B| F | 0 | >> 0 | A

Re: [CentOS] Eclipse rpms

2016-08-09 Thread Gordon Messmer
On 08/08/2016 04:57 PM, Yamaban wrote: Hint: put a scriplet into /etc/profile.d/ and it will be executed on login. If you haven't used "scl," and I hadn't before yesterday, it creates a new session with environment variables set up to access applications installed in a semi-isolated path.

Re: [CentOS] Regarding using CentOS on Commercial Appliance

2016-08-09 Thread Gordon Messmer
On 08/08/2016 10:23 PM, Akshat Kakkar wrote: I know all the CentOS packages, etc. might fall in GPL and as a result I should be supplying source code of all the packages in CentOS. What else is expected from me? Certainly, I'd think you should include the source code for the CentOS

Re: [CentOS] LSI SATA MegaRaid & Centos 7 build 1511

2016-08-09 Thread Fawzy Ibrhim
It's fakeRAID but I do not know why there's no LSI cards in lspci output !! To manage the disks; I have to use the LSI Sata Megaraid fireware; so is there any hope to install Centos 7 on this H/W? I have three servers from this model and I was planning to use them as test environment for me.

Re: [CentOS] Gateway question

2016-08-09 Thread Gordon Messmer
On 08/08/2016 04:05 AM, Levente Birta wrote: Can I add this in any config files (ex: route-enp2s0)? Yes. Add a route file for each interface, and set up rules to send packets out the corresponding physical interface:

Re: [CentOS] C7 Backup problem

2016-08-09 Thread Gordon Messmer
On 08/08/2016 11:11 PM, Alessandro Baggi wrote: |78 | backup-fd | 2016-08-08 09:52:57 | B| F | 191,024 | 7,978,295,072 | T | |79 | backup-fd | 2016-08-08 12:10:31 | B| F | 0 | 0 | A | |80 | backup-fd | 2016-08-09 03:05:03 | B| I

Re: [CentOS] LSI SATA MegaRaid & Centos 7 build 1511

2016-08-09 Thread Gordon Messmer
On 08/09/2016 09:40 AM, Fawzy Ibrhim wrote: It's fakeRAID but I do not know why there's no LSI cards in lspci output !! To manage the disks; I have to use the LSI Sata Megaraid fireware As far as I know, LSI doesn't make any fakeraid products. Does the firmware say "LSI" or "MegaRAID"

Re: [CentOS] LSI SATA MegaRaid & Centos 7 build 1511

2016-08-09 Thread m . roth
Fawzy Ibrhim wrote: > It's fakeRAID but I do not know why there's no LSI cards in lspci output > !! > In the past, the fakeRAID that I've run into were Intel chips, not an LSI card. mark > To manage the disks; I have to use the LSI Sata Megaraid fireware; so is > there any hope to install

Re: [CentOS] LSI SATA MegaRaid & Centos 7 build 1511

2016-08-09 Thread Fawzy Ibrhim
It's fakeRAID but I do not know why there's no LSI cards in lspci output !! To manage the disks; I have to use the LSI Sata Megaraid fireware; so is there any hope to install Centos 7 on this H/W? I have three servers from this model and I was planning to use them as test environment for me.

Re: [CentOS] Does e2fsck.conf contain "broken_system_clock = 1" per default on CentOS7?

2016-08-09 Thread Gabriele Pohl
On Sun, 31 Jul 2016 15:17:19 +0200 Gabriele Pohl wrote: > On Wed, 27 Jul 2016 09:46:02 +0100 (BST) > John Hodrien wrote: > > > On Tue, 26 Jul 2016, Gabriele Pohl wrote: > > > I now changed the value to 0 and rebooted. > > > > > > After that fsck based on Interval setting were done. > > > > > >

Re: [CentOS] C7 Backup problem

2016-08-09 Thread m . roth
Valeri Galtsev wrote: > > On Tue, August 9, 2016 1:11 am, Alessandro Baggi wrote: >> Good morning list, >> I've a question about backup performed with bacula. >> I manage a DELL server (dedicated on provider) with C7. I use bacula as >> backup system with volumes on disk. System performs mon-sat

Re: [CentOS] C7 Backup problem

2016-08-09 Thread Valeri Galtsev
On Tue, August 9, 2016 1:11 am, Alessandro Baggi wrote: > Good morning list, > I've a question about backup performed with bacula. > I manage a DELL server (dedicated on provider) with C7. I use bacula as > backup system with volumes on disk. System performs mon-sat incremental > backups and Sun

Re: [CentOS] Gateway question

2016-08-09 Thread Jonathan Billings
On Tue, Aug 09, 2016 at 10:58:40AM +0300, Levente Birta wrote: > What I don't understand why the route command allow to add a second default > gateway with different interface, but the ip route command doesn't? You can only have one default gateway. It sounds to me like you want to use both

Re: [CentOS] Gateway question

2016-08-09 Thread Levente Birta
On 09/08/2016 06:56, Anthony K wrote: On 08/08/16 21:05, Levente Birta wrote: But how can I add achieve this only with ip route command ... without route? Can I add this in any config files (ex: route-enp2s0)? Hi Levente. The iproute2 man page for each command is rather well documented on

[CentOS] C7 Backup problem

2016-08-09 Thread Alessandro Baggi
Good morning list, I've a question about backup performed with bacula. I manage a DELL server (dedicated on provider) with C7. I use bacula as backup system with volumes on disk. System performs mon-sat incremental backups and Sun full backup at 03.00 AM. I've another pool (named update) where