[CentOS-announce] CentOS-6 CVE-2013-2094 Kernel Issue

2013-05-15 Thread Johnny Hughes
There is a kernel security issue that allows unprivileged (normal) users
to gain root access on CentOS-6.4 x86_64 machines.  The upstream
bugzilla entry is here:

https://bugzilla.redhat.com/show_bug.cgi?id=962792

There is a *TESTING* kernel that should mitigate this issue available here:

http://people.centos.org/hughesjr/c6kernel/2.6.32-358.6.1.el6.cve20132094/

Signing Key:  http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-Testing-6

This kernel is the current CentOS-6.4 kernel with this one patch added
and recompiled:

https://patchwork.kernel.org/patch/2441281/

Note:  This is signed by the centos-6 test key and it is provided as a
best effort option to mitigate the above security issue while waiting
for an upstream solution.  It has been tested by our QA Team, but it is
*NOT* an official CentOS package and needs to be fully tested for
fitness by each user before used in production.

Please see this mailing list thread:

http://lists.centos.org/pipermail/centos/2013-May/134726.html

And/or this Forum thread:

http://www.centos.org/modules/newbb/viewtopic.php?topic_id=42827forum=59

For more details.

Thanks,
Johnny Hughes



signature.asc
Description: OpenPGP digital signature
___
CentOS-announce mailing list
CentOS-announce@centos.org
http://lists.centos.org/mailman/listinfo/centos-announce


[CentOS-announce] CESA-2013:0827 Important CentOS 5 openswan Update

2013-05-15 Thread Johnny Hughes

CentOS Errata and Security Advisory 2013:0827 Important

Upstream details at : https://rhn.redhat.com/errata/RHSA-2013-0827.html

The following updated files have been uploaded and are currently 
syncing to the mirrors: ( sha256sum Filename ) 

i386:
20f26a7b4e0826441b25ef19a0b8d0067405788402a18c52c25bc4df942a60ef  
openswan-2.6.32-5.el5_9.i386.rpm
6fa4b93fe7e3b8fa3a6ae5ee744cc9125fd3f890f3c3402e06ffa61606ebeb35  
openswan-doc-2.6.32-5.el5_9.i386.rpm

x86_64:
fd3c84089449a13525f522390a8e76b6a50e1429c4d2a6bcae2b0f31a6d13ba1  
openswan-2.6.32-5.el5_9.x86_64.rpm
7c958210e030009fdfff516c8279bac4102503eeb481da8e39312fc25778fd96  
openswan-doc-2.6.32-5.el5_9.x86_64.rpm

Source:
49ab324f02c07f1f468d42293b3f3880e3a0d8f634f994b9bed57f7c909c408a  
openswan-2.6.32-5.el5_9.src.rpm



-- 
Johnny Hughes
CentOS Project { http://www.centos.org/ }
irc: hughesjr, #cen...@irc.freenode.net

___
CentOS-announce mailing list
CentOS-announce@centos.org
http://lists.centos.org/mailman/listinfo/centos-announce


[CentOS-announce] CESA-2013:0827 Important CentOS 6 openswan Update

2013-05-15 Thread Johnny Hughes

CentOS Errata and Security Advisory 2013:0827 Important

Upstream details at : https://rhn.redhat.com/errata/RHSA-2013-0827.html

The following updated files have been uploaded and are currently 
syncing to the mirrors: ( sha256sum Filename ) 

i386:
067bd7c50f44083b4b0f744559a9ad08d207ec534c8399d73e7fe26a8aecb0d7  
openswan-2.6.32-20.el6_4.i686.rpm
ce628c6436fdd05078d495b623517961f833200f5e1e0f76bffd40d5950d4e68  
openswan-doc-2.6.32-20.el6_4.i686.rpm

x86_64:
90e8036cb7c72ce0cddcf6338c21adb00c348b1331b71addd22f032d2c136784  
openswan-2.6.32-20.el6_4.x86_64.rpm
daa7e45402a8419527f66d0c4005da5818110aaeffe524a57cedbc731bb1af14  
openswan-doc-2.6.32-20.el6_4.x86_64.rpm

Source:
23b0745a71808105bc742819a25b76295aa9e2e4a74895b1bd1104b0a8e35338  
openswan-2.6.32-20.el6_4.src.rpm



-- 
Johnny Hughes
CentOS Project { http://www.centos.org/ }
irc: hughesjr, #cen...@irc.freenode.net

___
CentOS-announce mailing list
CentOS-announce@centos.org
http://lists.centos.org/mailman/listinfo/centos-announce


[CentOS-es] [OT] Oferta de trabajo servidores linux

2013-05-15 Thread Federico Torres
Envio una oferta de trabajo para quien le sea de interes.

Se necesita 2 personas con los siguientes conocimientos

oExperiencia de 2 a 3 años en distribuciones Linux Red Hat
Enterprise Linux y SuSe Linux

oCreación y manejo de scripts con bash

oManejo de particiones

oManejo de LVM (IMPORTANTE)

oManejo de Multipath

oManejo de RPM, YAST y YUM

oManejo de HBA's y conocimiento en conceptos de tecnología de SAN, NAS

oManejo de ruteo e interfaces de red

oTodo lo anterior administrado a línea de comandos sin ambientes gráficos

oIngles mínimo 50%

oDeseable, mas no indispensable, manejo de WAS, WPS


Lugar de trabajo: Oficinas de HSBC en Toluca (Por el areopuerto).
Sueldo: 35,000 pesos mensuales.
Duracion: Todo el año en curso.

Informes: rafa_ce...@hotmail.com
___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


Re: [CentOS] Bit Torrent Application(SOLVED)

2013-05-15 Thread Ljubomir Ljubojevic
On 05/15/2013 01:35 AM, Mark LaPierre wrote:
 On 05/14/2013 07:30 PM, Yves Bellefeuille wrote:
 On Tuesday 14 May 2013, Mark LaPierre marklap...@aol.com wrote:

 I like the looks of transmission-2.13-1.el6.  Perhaps I need a repo
name?
 [root@poontang ~]# yum info transmission
 Available Packages
 Name: transmission
 Arch: x86_64
 Version : 2.13
 Release : 1.el6
 Size: 12 k
 Repo: epel
 Summary : A lightweight GTK+ BitTorrent client
 URL : http://www.transmissionbt.com/
 License : MIT and GPLv2
 Description : Transmission is a free, lightweight BitTorrent client. It
 features
   : a simple, intuitive interface on top on an efficient,
   : cross-platform back-end.

 Thank you.  Installation complete.

 [root@mushroom ~]# yum --enablerepo=epel install transmission

Next time use yum search bittorrent --enablerepo=* ;)

-- 
Ljubomir Ljubojevic
(Love is in the Air)
PL Computers
Serbia, Europe

StarOS, Mikrotik and CentOS/RHEL/Linux consultant

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Slightly OT: Samsung Chromebook

2013-05-15 Thread Timothy Murphy
I'm thinking of buying a Samsung Chromebook,
largely for use while travelling.
But I'd like to use it at home linked to my CentOS-6.4 server,
rather than to the cloud.
I'm wondering if this is practicable?
I use LaTeX quite a lot,
and I don't know if I could (a) download LaTeX to the Chromebook,
(b) run LaTeX on the cloud, 
or (c) run LaTeX on my server from the Chromebook.

Has anyone experience of doing this sort of thing?

-- 
Timothy Murphy  
e-mail: gayleard /at/ eircom.net
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College Dublin


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] CentOS-announce Digest, Vol 99, Issue 6

2013-05-15 Thread centos-announce-request
Send CentOS-announce mailing list submissions to
centos-annou...@centos.org

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.centos.org/mailman/listinfo/centos-announce
or, via email, send a message with subject or body 'help' to
centos-announce-requ...@centos.org

You can reach the person managing the list at
centos-announce-ow...@centos.org

When replying, please edit your Subject line so it is more specific
than Re: Contents of CentOS-announce digest...


Today's Topics:

   1. CEBA-2013:0816 CentOS 6 scsi-target-utils Update (Johnny Hughes)
   2. CESA-2013:0820 Critical CentOS 5 firefox Update (Johnny Hughes)
   3. CESA-2013:0821 Important CentOS 5 thunderbird Update
  (Johnny Hughes)
   4. CEBA-2013:0824  CentOS 6 corosync Update (Johnny Hughes)
   5. CESA-2013:0821 Important CentOS 6 thunderbird Update
  (Johnny Hughes)
   6. CESA-2013:0820 Critical CentOS 6 firefox Update (Johnny Hughes)


--

Message: 1
Date: Tue, 14 May 2013 14:39:41 +
From: Johnny Hughes joh...@centos.org
Subject: [CentOS-announce] CEBA-2013:0816 CentOS 6 scsi-target-utils
Update
To: centos-annou...@centos.org
Message-ID: 20130514143941.ga11...@n04.lon1.karan.org
Content-Type: text/plain; charset=us-ascii


CentOS Errata and Bugfix Advisory 2013:0816 

Upstream details at : https://rhn.redhat.com/errata/RHBA-2013-0816.html

The following updated files have been uploaded and are currently 
syncing to the mirrors: ( sha256sum Filename ) 

i386:
caae37f662f6d33e98d10e4cb179ece08a95364f79be5a031fbed19cad23b292  
scsi-target-utils-1.0.24-3.el6_4.i686.rpm

x86_64:
be1ac0a56aaf98089531a68fd3ad3261fcd2b1e256aa2856803b643e00b95f37  
scsi-target-utils-1.0.24-3.el6_4.x86_64.rpm

Source:
c40b30182bd8a8bd8d5e5a7807affa0264513983fc94abed069dfb678d040142  
scsi-target-utils-1.0.24-3.el6_4.src.rpm



-- 
Johnny Hughes
CentOS Project { http://www.centos.org/ }
irc: hughesjr, #cen...@irc.freenode.net



--

Message: 2
Date: Tue, 14 May 2013 22:39:45 +
From: Johnny Hughes joh...@centos.org
Subject: [CentOS-announce] CESA-2013:0820 Critical CentOS 5 firefox
Update
To: centos-annou...@centos.org
Message-ID: 20130514223945.ga6...@chakra.karan.org
Content-Type: text/plain; charset=us-ascii


CentOS Errata and Security Advisory 2013:0820 Critical

Upstream details at : https://rhn.redhat.com/errata/RHSA-2013-0820.html

The following updated files have been uploaded and are currently 
syncing to the mirrors: ( sha256sum Filename ) 

i386:
97493f85d0f07b44225728576e12e5cbf3ebc54fca8f499948f159ae06570f1b  
firefox-17.0.6-1.el5.centos.i386.rpm
26a902981a68efd125829a0f6d81a2996474324c4e2d9141c02e6ba1a2efabea  
xulrunner-17.0.6-1.el5_9.i386.rpm
bae31872bc26f892106be348319d1b8154ebe1324eea6762d08310a372f7a6e1  
xulrunner-devel-17.0.6-1.el5_9.i386.rpm

x86_64:
97493f85d0f07b44225728576e12e5cbf3ebc54fca8f499948f159ae06570f1b  
firefox-17.0.6-1.el5.centos.i386.rpm
ea6ad9ebafb7a28241bf348fd92a300c5f93da547dfc575b94277da45557013f  
firefox-17.0.6-1.el5.centos.x86_64.rpm
26a902981a68efd125829a0f6d81a2996474324c4e2d9141c02e6ba1a2efabea  
xulrunner-17.0.6-1.el5_9.i386.rpm
ad04ed8af2967d0eb5a0337e32766596641a7cf9a30d2ef40ff0dee80cade38c  
xulrunner-17.0.6-1.el5_9.x86_64.rpm
bae31872bc26f892106be348319d1b8154ebe1324eea6762d08310a372f7a6e1  
xulrunner-devel-17.0.6-1.el5_9.i386.rpm
440cf2e5b71620659ccec6a10d0d82befeb4e2590133e3c5252cbc1fbc234d80  
xulrunner-devel-17.0.6-1.el5_9.x86_64.rpm

Source:
1a2b66fd90f5ef62516fa108ec0d86b8de647e95a5ac6b412a7ab2b05c5e67cc  
firefox-17.0.6-1.el5.centos.src.rpm
d35e1cae0e40754aa4d9c91d0fcf3c633f99d3feb0855d25f807809d35700d6c  
xulrunner-17.0.6-1.el5_9.src.rpm



-- 
Johnny Hughes
CentOS Project { http://www.centos.org/ }
irc: hughesjr, #cen...@irc.freenode.net



--

Message: 3
Date: Tue, 14 May 2013 22:42:14 +
From: Johnny Hughes joh...@centos.org
Subject: [CentOS-announce] CESA-2013:0821 Important CentOS 5
thunderbird Update
To: centos-annou...@centos.org
Message-ID: 20130514224214.ga6...@chakra.karan.org
Content-Type: text/plain; charset=us-ascii


CentOS Errata and Security Advisory 2013:0821 Important

Upstream details at : https://rhn.redhat.com/errata/RHSA-2013-0821.html

The following updated files have been uploaded and are currently 
syncing to the mirrors: ( sha256sum Filename ) 

i386:
6f5bf77731d4f2c16e7efda3d1733a04ca15dcb95406f63b5c52b2e466c79d94  
thunderbird-17.0.6-1.el5.centos.i386.rpm

x86_64:
2dfcef0abc42916d0cb55c8f28f00ff5a96f1e87b230be2512d39258d050  
thunderbird-17.0.6-1.el5.centos.x86_64.rpm

Source:
40e4dfd9cd3db66cd84342863cbf821e70dea5faac4413a76f8e4694fd956c49  
thunderbird-17.0.6-1.el5.centos.src.rpm



-- 
Johnny Hughes
CentOS Project { http://www.centos.org/ }
irc: hughesjr, #cen...@irc.freenode.net



--

Message: 4
Date: Tue, 14 May 2013 

Re: [CentOS] Missing printer driver

2013-05-15 Thread Ljubomir Ljubojevic
On 05/14/2013 03:16 AM, Steve Blackwell wrote:
 I can't remove tcp_wrappers-libs-7.6-57.el6.test.x86_64 because too 
 much depends on it. 

Give me output of yum list tcp_wrappers-libs --showduplicates 
--disableplugin=*priorities*, I got:

[root@kancelarija etc]# yum list tcp_wrappers-libs --showduplicates 
--disableplugin=*priorities*
Loaded plugins: downloadonly, fastestmirror, refresh-packagekit
Determining fastest mirrors
Installed Packages
tcp_wrappers-libs.i686 7.6-57.el6 @plc-os
tcp_wrappers-libs.x86_64 7.6-57.el6 @plc-os
Available Packages
tcp_wrappers-libs.i686 7.6-57.el6 plc-os
tcp_wrappers-libs.x86_64 7.6-57.el6 plc-os
[root@kancelarija etc]#

maybe yum update or yum update tcp_wrappers-libs.i686 will help?

-- 
Ljubomir Ljubojevic
(Love is in the Air)
PL Computers
Serbia, Europe

StarOS, Mikrotik and CentOS/RHEL/Linux consultant

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Slightly OT: Samsung Chromebook

2013-05-15 Thread SilverTip257
On Wed, May 15, 2013 at 6:55 AM, Adam Tauno Williams awill...@whitemice.org
 wrote:

 On Wed, 2013-05-15 at 11:44 +0100, Timothy Murphy wrote:
  I'm thinking of buying a Samsung Chromebook,
  largely for use while travelling.
  But I'd like to use it at home linked to my CentOS-6.4 server,
  rather than to the cloud.
  I'm wondering if this is practicable?
  I use LaTeX quite a lot,
  and I don't know if I could (a) download LaTeX to the Chromebook,
  (b) run LaTeX on the cloud,
  or (c) run LaTeX on my server from the Chromebook.
  Has anyone experience of doing this sort of thing?


Not I.  Sounds like Adam is the guy to ask since he owns one.
I've been eyeing up the Chromebooks too...

How about the Chromebook Pixel!? [0] [1]
(I'm not so enthused about the price tag.)



 I have installed openSUSE 12.3 on an ARM Samsung Chromebook [openSUSE
 makes an install image for the Chromebook(s)].  It is a straight-forward
 process and so far works without any major issues.

 Haven't tried CentOS, I'm not aware of ARM CentOS system images.


The OP isn't looking for CentOS on the Chromebook, just using it in
conjunction with his CentOS box at home.





 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos



It all depends what you (the OP) is looking to do in conjunction with your
CentOS box.
I'd start by finding out from somebody what the stock OS has in terms of
functionality and packages (ex: VPN support [2]).

[0] http://www.google.com/intl/en_us/chrome/devices/chromebook-pixel/
[1]
http://www.zdnet.com/chromebook-pixel-google-io-could-reveal-its-secret-mission-715420/
[2] http://support.google.com/chromeos/bin/answer.py?hl=enanswer=1282338

-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Best configuration for encrypted software RAID 1?

2013-05-15 Thread Dave Johansen
I'm setting up a computer with CentOS 6.4 and a mirrored software
RAID. I would like it to be encrypted so I was wondering what the best
configuration is. The only info I could find is
http://lists.centos.org/pipermail/centos-docs/2008-October/001912.html
but it appears to be a bit old and the info on the wiki (
http://wiki.centos.org/HowTos/EncryptTmpSwapHome ) doesn't seem to
address RAIDs.

My main question is will it be better to encrypt the RAID itself or
the two partitions used by the RAID? Any other things I should be
aware of?

Thanks,
Dave
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Best configuration for encrypted software RAID 1?

2013-05-15 Thread Digimer
On 05/15/2013 12:22 PM, Dave Johansen wrote:
 I'm setting up a computer with CentOS 6.4 and a mirrored software
 RAID. I would like it to be encrypted so I was wondering what the best
 configuration is. The only info I could find is
 http://lists.centos.org/pipermail/centos-docs/2008-October/001912.html
 but it appears to be a bit old and the info on the wiki (
 http://wiki.centos.org/HowTos/EncryptTmpSwapHome ) doesn't seem to
 address RAIDs.

 My main question is will it be better to encrypt the RAID itself or
 the two partitions used by the RAID? Any other things I should be
 aware of?

 Thanks,
 Dave

This depends on your use-case. Personally, I want my servers to be able 
to boot headless, so I leave /boot, swap and / unencrypted, RAID or 
not. Then I encrypt the LV (or partition) I am going to put data I care 
about on. I don't think there is any benefit to encrypting the 
partitions behind the MD device as it won't be able to form until you 
decrypt the devices. I'd keep crypt on the resulting /dev/mdX, at the 
lowest.

Again, it depends on your use-case.

-- 
Digimer
Papers and Projects: https://alteeve.ca/w/
What if the cure for cancer is trapped in the mind of a person without 
access to education?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Best configuration for encrypted software RAID 1?

2013-05-15 Thread SilverTip257
On Wed, May 15, 2013 at 12:25 PM, Digimer li...@alteeve.ca wrote:

 On 05/15/2013 12:22 PM, Dave Johansen wrote:
  I'm setting up a computer with CentOS 6.4 and a mirrored software
  RAID. I would like it to be encrypted so I was wondering what the best
  configuration is. The only info I could find is
  http://lists.centos.org/pipermail/centos-docs/2008-October/001912.html
  but it appears to be a bit old and the info on the wiki (
  http://wiki.centos.org/HowTos/EncryptTmpSwapHome ) doesn't seem to
  address RAIDs.
 
  My main question is will it be better to encrypt the RAID itself or
  the two partitions used by the RAID? Any other things I should be
  aware of?
 
  Thanks,
  Dave

 This depends on your use-case. Personally, I want my servers to be able
 to boot headless, so I leave /boot, swap and / unencrypted, RAID or


/boot absolutely can't be encrypted

I use LUKS in conjunction with Serial over LAN ... otherwise I'd have to
manually mount (or script it) so my encrypted volume is mounted.  In my
case as well, I only have the volume where my backup data goes ... so
/boot, /, and others are not encrypted (no need).


 not. Then I encrypt the LV (or partition) I am going to put data I care
 about on. I don't think there is any benefit to encrypting the
 partitions behind the MD device as it won't be able to form until you
 decrypt the devices. I'd keep crypt on the resulting /dev/mdX, at the
 lowest.


Create a software raid array and then create your LUKS encrypted volume on
top of that md device.  It is *highly recommended* to write random data to
the underlying disk device prior to creating the LUKS volume.  I believe I
referenced [0] on the Arch Linux wiki a bunch way back when, but you'll
find other great references on the Gentoo wiki as well.

cryptsetup is the utility you're looking for.  (As I'm sure you already
know...since your mailing list link mentions it.) :)



 Again, it depends on your use-case.

 --
 Digimer
 Papers and Projects: https://alteeve.ca/w/
 What if the cure for cancer is trapped in the mind of a person without
 access to education?
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos



[0] https://wiki.archlinux.org/index.php/Dm-crypt_with_LUKS

-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Shell Scripting Random Delay

2013-05-15 Thread Matt
I have a shell script that's run every 5 minutes I use to call many
other shell scripts.  Is there a way to wait a random number of
seconds before executing each line?  Something like this.

wait_random 10 - 180 (perl /scripts/my_script.pl) 
wait_random 10 - 180 (perl /scripts/my_script5.pl) 
wait_random 10 - 180 (perl /scripts/my_script7.pl) 

I have many entries in this file and I background them all because
most must poll network devices which can take time.  None should take
over 2 minutes though.

When I run them all at once they bog the system and cause some of
latency graphs on equipment being monitored to look poor.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Shell Scripting Random Delay

2013-05-15 Thread ken
Something like

sleep  $(($(date +%S)*3))

More random would be to use nanoseconds (see date manpage), but then 
you'd have to cook up an algorithm to test and toss out values 
(arguments to 'sleep') which you didn't want.

On 05/15/2013 11:44 AM Matt wrote:
 I have a shell script that's run every 5 minutes I use to call many
 other shell scripts.  Is there a way to wait a random number of
 seconds before executing each line?  Something like this.

 wait_random 10 - 180 (perl /scripts/my_script.pl) 
 wait_random 10 - 180 (perl /scripts/my_script5.pl) 
 wait_random 10 - 180 (perl /scripts/my_script7.pl) 

 I have many entries in this file and I background them all because
 most must poll network devices which can take time.  None should take
 over 2 minutes though.

 When I run them all at once they bog the system and cause some of
 latency graphs on equipment being monitored to look poor.
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Shell Scripting Random Delay

2013-05-15 Thread SilverTip257
On Wed, May 15, 2013 at 11:44 AM, Matt matt.mailingli...@gmail.com wrote:

 I have a shell script that's run every 5 minutes I use to call many
 other shell scripts.  Is there a way to wait a random number of
 seconds before executing each line?  Something like this.


Use your script to generate a random number [0] and pass that to the sleep
command?

[0] http://islandlinux.org/howto/generate-random-numbers-bash-scripting


 wait_random 10 - 180 (perl /scripts/my_script.pl) 
 wait_random 10 - 180 (perl /scripts/my_script5.pl) 
 wait_random 10 - 180 (perl /scripts/my_script7.pl) 

 I have many entries in this file and I background them all because
 most must poll network devices which can take time.  None should take
 over 2 minutes though.

 When I run them all at once they bog the system and cause some of
 latency graphs on equipment being monitored to look poor.
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos




-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Shell Scripting Random Delay

2013-05-15 Thread m . roth
Matt wrote:
 I have a shell script that's run every 5 minutes I use to call many
 other shell scripts.  Is there a way to wait a random number of
 seconds before executing each line?  Something like this.

 wait_random 10 - 180 (perl /scripts/my_script.pl) 
 wait_random 10 - 180 (perl /scripts/my_script5.pl) 
 wait_random 10 - 180 (perl /scripts/my_script7.pl) 

 I have many entries in this file and I background them all because
 most must poll network devices which can take time.  None should take
 over 2 minutes though.

 When I run them all at once they bog the system and cause some of
 latency graphs on equipment being monitored to look poor.

There's a better answer: do some testing to find out just how many you can
do at a time without the network bogging down, then
for ( $list space separated line of file with devices ) {
my_script.pl $list
}

With the datafile being something like
#fast device responders
dev1 dev2 dev3 dev4
dev5 dev6 dev7 dev8
#slow device responders
sdev1 sdev2
sdev3 sdev4

And make your script do all of the first line, then wait for responses.

   mark

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Shell Scripting Random Delay

2013-05-15 Thread Thomas Johansson
On 2013-05-15 17:44, Matt wrote:
 I have a shell script that's run every 5 minutes I use to call many
 other shell scripts.  Is there a way to wait a random number of
 seconds before executing each line?  Something like this.

 wait_random 10 - 180 (perl /scripts/my_script.pl) 
 wait_random 10 - 180 (perl /scripts/my_script5.pl) 
 wait_random 10 - 180 (perl /scripts/my_script7.pl) 

 I have many entries in this file and I background them all because
 most must poll network devices which can take time.  None should take
 over 2 minutes though.

 When I run them all at once they bog the system and cause some of
 latency graphs on equipment being monitored to look poor.

Wait randomized interval of 60 seconds and start

   perl -e sleep(int(rand(60)))  (perl /scripts/my_script.pl)


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] CVE-2013-2094 and CentOS 6.x

2013-05-15 Thread David C. Miller

For those who don't know yet here is the redhat bugzilla on this exploit.

https://bugzilla.redhat.com/show_bug.cgi?id=962792

Does anyone know if CentOS 6 have the debug packages available to apply the 
temp patch for this listed in the bugzilla link?

David.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Shell Scripting Random Delay

2013-05-15 Thread Les Mikesell
On Wed, May 15, 2013 at 1:38 PM, Thomas Johansson thom...@isy.liu.se wrote:
 On 2013-05-15 17:44, Matt wrote:

 When I run them all at once they bog the system and cause some of
 latency graphs on equipment being monitored to look poor.

 Wait randomized interval of 60 seconds and start

perl -e sleep(int(rand(60)))  (perl /scripts/my_script.pl)

Also you can add a
wait
to the script after starting some number of background commands to
wait until they have all completed before you start another batch.
But, rather than using so many home-grown scripts, maybe you should
look at OpenNMS, cacti, etc. for monitoring frameworks to manage it
all for you.

--
  Les Mikesell
lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Shell Scripting Random Delay

2013-05-15 Thread Leon Fauster
Am 15.05.2013 um 17:44 schrieb Matt matt.mailingli...@gmail.com:
 I have a shell script that's run every 5 minutes I use to call many
 other shell scripts.  Is there a way to wait a random number of
 seconds before executing each line?  Something like this.
 
 wait_random 10 - 180 (perl /scripts/my_script.pl) 
 wait_random 10 - 180 (perl /scripts/my_script5.pl) 
 wait_random 10 - 180 (perl /scripts/my_script7.pl) 
 
 I have many entries in this file and I background them all because
 most must poll network devices which can take time.  None should take
 over 2 minutes though.
 
 When I run them all at once they bog the system and cause some of
 latency graphs on equipment being monitored to look poor.


for bash scripts:

MOD=45
sleep $[($RANDOM % $MOD)]

# RANDOM Each time this parameter is referenced, a random integer between 0 and 
32767 is generated.
# sleep will wait something beetween 0 and 45 seconds 

--
LF

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] How to Automate Centos 5.7 CD bare bones build

2013-05-15 Thread J.W. slone
Does anyone know how to automate a CD Centos 5.7 build.?

1) new bare bones workstation ( PXE enabled)

2) Boot from CD to the boot prompt

3) At the boot: linux ks=http://x.x.x.x/ks/cfg/org/1/label/Centos5.7

The workstation is able to connect to the server and the kick-start works 
great.!

Question: how can I automate  linux 
ks=http://x.x.x.x/ks/cfg/org/1/label/Centos5.7 on the CD?

Unattended installation after installing the cd into the workstation 
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How to Automate Centos 5.7 CD bare bones build

2013-05-15 Thread Eero Volotinen
Just use pxe?

On Wednesday, May 15, 2013, J.W. slone wrote:

 Does anyone know how to automate a CD Centos 5.7 build.?

 1) new bare bones workstation ( PXE enabled)

 2) Boot from CD to the boot prompt

 3) At the boot: linux ks=http://x.x.x.x/ks/cfg/org/1/label/Centos5.7

 The workstation is able to connect to the server and the kick-start works
 great.!

 Question: how can I automate  linux ks=
 http://x.x.x.x/ks/cfg/org/1/label/Centos5.7 on the CD?

 Unattended installation after installing the cd into the workstation
 ___
 CentOS mailing list
 CentOS@centos.org javascript:;
 http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CVE-2013-2094 and CentOS 6.x

2013-05-15 Thread Johnny Hughes
On 05/15/2013 01:48 PM, David C. Miller wrote:
 For those who don't know yet here is the redhat bugzilla on this exploit.

 https://bugzilla.redhat.com/show_bug.cgi?id=962792

 Does anyone know if CentOS 6 have the debug packages available to apply the 
 temp patch for this listed in the bugzilla link?


http://lists.centos.org/pipermail/centos-announce/2013-May/019729.html



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How to Automate Centos 5.7 CD bare bones build

2013-05-15 Thread J.W. slone
Perhaps you would like to explain the PXE process or steps to make it very 
plain and clear.

thank you 





 From: Eero Volotinen eero.voloti...@iki.fi
To: CentOS mailing list centos@centos.org 
Sent: Wednesday, May 15, 2013 2:03 PM
Subject: Re: [CentOS] How to Automate Centos 5.7 CD bare bones build
 

Just use pxe?

On Wednesday, May 15, 2013, J.W. slone wrote:

 Does anyone know how to automate a CD Centos 5.7 build.?

 1) new bare bones workstation ( PXE enabled)

 2) Boot from CD to the boot prompt

 3) At the boot: linux ks=http://x.x.x.x/ks/cfg/org/1/label/Centos5.7

 The workstation is able to connect to the server and the kick-start works
 great.!

 Question: how can I automate  linux ks=
 http://x.x.x.x/ks/cfg/org/1/label/Centos5.7 on the CD?

 Unattended installation after installing the cd into the workstation
 ___
 CentOS mailing list
 CentOS@centos.org javascript:;
 http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How to Automate Centos 5.7 CD bare bones build

2013-05-15 Thread m . roth
J.W. slone wrote:
 Perhaps you would like to explain the PXE process or steps to make it very
 plain and clear.

1. Please stop top posting.
2.
http://www.centos.org/docs/5/html/Installation_Guide-en-US/s1-netboot-pxe-config.html

mark

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Slightly OT: Samsung Chromebook

2013-05-15 Thread Fred Roller
On 05/15/2013 11:57 AM, SilverTip257 wrote:
 On Wed, May 15, 2013 at 6:55 AM, Adam Tauno Williams awill...@whitemice.org
 wrote:
 On Wed, 2013-05-15 at 11:44 +0100, Timothy Murphy wrote:
 I'm thinking of buying a Samsung Chromebook,
 largely for use while travelling.
 But I'd like to use it at home linked to my CentOS-6.4 server,
 rather than to the cloud.
 I'm wondering if this is practicable?
 I use LaTeX quite a lot,
 and I don't know if I could (a) download LaTeX to the Chromebook,
 (b) run LaTeX on the cloud,
 or (c) run LaTeX on my server from the Chromebook.
 Has anyone experience of doing this sort of thing?
[snip]


 It all depends what you (the OP) is looking to do in conjunction with your
 CentOS box.
 I'd start by finding out from somebody what the stock OS has in terms of
 functionality and packages (ex: VPN support [2]).

 [0] http://www.google.com/intl/en_us/chrome/devices/chromebook-pixel/
 [1]
 http://www.zdnet.com/chromebook-pixel-google-io-could-reveal-its-secret-mission-715420/
 [2] http://support.google.com/chromeos/bin/answer.py?hl=enanswer=1282338

I have been using one for a client to test for integration. Prominently 
app driven so you will be looking for your support there.  If it were 
actually mine the OS would have been replaced by now.  It is handy 
though since there is a choice of ssh clients available making working 
on my CentOS servers easy and the 8+ hour battery life gives me a days 
work without plugging in.  Printing is cloud based and most of your life 
is spent in gmail (drive, calendar, docs, etc).  Google does give you 
100Gb of online storage with your purchase I believe but make sure the 
first user you log on with is the one you want to have it; 
non-transferable from what I understand.

Native OS makes it easy to reset when you push too hard :)  I plan on 
testing NX for GUI connection to *nix systems but haven't gotten that 
far yet.  Right now, my personal position is you can get more bang for 
your buck else where.   Hope this helps.

Fred

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Missing printer driver

2013-05-15 Thread Steve Blackwell
On Wed, 15 May 2013 14:26:14 +0200
Ljubomir Ljubojevic cen...@plnet.rs wrote:

 On 05/14/2013 03:16 AM, Steve Blackwell wrote:
  I can't remove tcp_wrappers-libs-7.6-57.el6.test.x86_64 because too 
  much depends on it. 
 
 Give me output of yum list tcp_wrappers-libs --showduplicates 
 --disableplugin=*priorities*, I got:
 
 [root@kancelarija etc]# yum list tcp_wrappers-libs --showduplicates 
 --disableplugin=*priorities*
 Loaded plugins: downloadonly, fastestmirror, refresh-packagekit
 Determining fastest mirrors
 Installed Packages
 tcp_wrappers-libs.i686 7.6-57.el6 @plc-os
 tcp_wrappers-libs.x86_64 7.6-57.el6 @plc-os
 Available Packages
 tcp_wrappers-libs.i686 7.6-57.el6 plc-os
 tcp_wrappers-libs.x86_64 7.6-57.el6 plc-os
 [root@kancelarija etc]#
 
 maybe yum update or yum update tcp_wrappers-libs.i686 will help?
 
# yum list tcp_wrappers-libs --showduplicates --disableplugin=*priorities*
Loaded plugins: fastestmirror, refresh-packagekit, security
No plugin match for: *priorities*
Loading mirror speeds from cached hostfile
 * base: mirror.es.its.nyu.edu
 * centosplus: centos.netnitco.net
 * contrib: mirror.raystedman.net
 * epel: mirror.hiwaay.net
 * extras: mirror.beyondhosting.net
 * remi: remi-mirror.dedipower.com
 * rpmforge: mirror.us.leaseweb.net
 * rpmforge-extras: mirror.us.leaseweb.net
 * updates: mirrors-pa.sioru.com
Installed Packages
tcp_wrappers-libs.x86_64   7.6-57.el6.test   @rpmforge-testing
Available Packages
tcp_wrappers-libs.i686 7.6-57.el6base 
tcp_wrappers-libs.x86_64   7.6-57.el6base 
tcp_wrappers-libs.x86_64   7.6-57.el6.rfxrpmforge-extras  

So the problem seems to be the fact that I have the test version from the 
rpmforge-testing repo installed.
I've tried disabling that repo and doing an update but no luck. 
I've tried doing a yum update of the i686 version but yum says it's available 
but not installed.
Doing a yum install give me the multi-repo error.
Is there a way to replace one version with anothe?

Thanks,
Steve

Steve
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Bit Torrent Application(SOLVED)

2013-05-15 Thread Mark LaPierre
On 05/15/2013 03:17 AM, Ljubomir Ljubojevic wrote:
 On 05/15/2013 01:35 AM, Mark LaPierre wrote:
 On 05/14/2013 07:30 PM, Yves Bellefeuille wrote:
 On Tuesday 14 May 2013, Mark LaPierre marklap...@aol.com wrote:

 I like the looks of transmission-2.13-1.el6.  Perhaps I need a repo
 name?
 [root@poontang ~]# yum info transmission
 Available Packages
 Name: transmission
 Arch: x86_64
 Version : 2.13
 Release : 1.el6
 Size: 12 k
 Repo: epel
 Summary : A lightweight GTK+ BitTorrent client
 URL : http://www.transmissionbt.com/
 License : MIT and GPLv2
 Description : Transmission is a free, lightweight BitTorrent client. It
 features
: a simple, intuitive interface on top on an efficient,
: cross-platform back-end.

 Thank you.  Installation complete.

 [root@mushroom ~]# yum --enablerepo=epel install transmission

 Next time use yum search bittorrent --enablerepo=* ;)


Hey LL,

After scanning many repos back to C6.0 it finally died with this remark:
file:///media/CentOS/repodata/repomd.xml: [Errno 14] Could not open/read 
file:///media/CentOS/repodata/repomd.xml
Trying other mirror.
file:///media/cdrecorder/repodata/repomd.xml: [Errno 14] Could not 
open/read file:///media/cdrecorder/repodata/repomd.xml
Trying other mirror.
file:///media/cdrom/repodata/repomd.xml: [Errno 14] Could not open/read 
file:///media/cdrom/repodata/repomd.xml
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: 
c6-media. Please verify its path and try again
[mlapier@mushroom ~]$


-- 
 _
°v°
   /(_)\
^ ^  Mark LaPierre
Registered Linux user No #267004
https://linuxcounter.net/

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Slightly OT: Samsung Chromebook

2013-05-15 Thread Eddie G. O'Connor Jr.
On 05/15/2013 06:55 PM, Fred Roller wrote:
 On 05/15/2013 11:57 AM, SilverTip257 wrote:
 On Wed, May 15, 2013 at 6:55 AM, Adam Tauno Williams awill...@whitemice.org
 wrote:
 On Wed, 2013-05-15 at 11:44 +0100, Timothy Murphy wrote:
 I'm thinking of buying a Samsung Chromebook,
 largely for use while travelling.
 But I'd like to use it at home linked to my CentOS-6.4 server,
 rather than to the cloud.
 I'm wondering if this is practicable?
 I use LaTeX quite a lot,
 and I don't know if I could (a) download LaTeX to the Chromebook,
 (b) run LaTeX on the cloud,
 or (c) run LaTeX on my server from the Chromebook.
 Has anyone experience of doing this sort of thing?
 [snip]

 It all depends what you (the OP) is looking to do in conjunction with your
 CentOS box.
 I'd start by finding out from somebody what the stock OS has in terms of
 functionality and packages (ex: VPN support [2]).

 [0] http://www.google.com/intl/en_us/chrome/devices/chromebook-pixel/
 [1]
 http://www.zdnet.com/chromebook-pixel-google-io-could-reveal-its-secret-mission-715420/
 [2] http://support.google.com/chromeos/bin/answer.py?hl=enanswer=1282338

 I have been using one for a client to test for integration. Prominently
 app driven so you will be looking for your support there.  If it were
 actually mine the OS would have been replaced by now.  It is handy
 though since there is a choice of ssh clients available making working
 on my CentOS servers easy and the 8+ hour battery life gives me a days
 work without plugging in.  Printing is cloud based and most of your life
 is spent in gmail (drive, calendar, docs, etc).  Google does give you
 100Gb of online storage with your purchase I believe but make sure the
 first user you log on with is the one you want to have it;
 non-transferable from what I understand.

 Native OS makes it easy to reset when you push too hard :)  I plan on
 testing NX for GUI connection to *nix systems but haven't gotten that
 far yet.  Right now, my personal position is you can get more bang for
 your buck else where.   Hope this helps.

 Fred

 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos
I'm glad this was postedeven if it IS OT. I was planning on getting 
a Chromebook, but was going to install a different OS...(I was hoping 
for either Debian or Fedora!) I don't know if either will work with the 
machine without glitches.


EGO II
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Slightly OT: Samsung Chromebook

2013-05-15 Thread SilverTip257
On Wed, May 15, 2013 at 10:02 PM, Eddie G. O'Connor Jr. 
eoconno...@gmail.com wrote:


 I'm glad this was postedeven if it IS OT. I was planning on getting


Yeah and now I've taken it completely off-topic (see below).


 a Chromebook, but was going to install a different OS...(I was hoping
 for either Debian or Fedora!) I don't know if either will work with the
 machine without glitches.


Debian
http://wiki.debian.org/InstallingDebianOn/Samsung/ARMChromebook
http://blog.brocktice.com/2013/03/09/running-debian-wheezy-7-0-on-the-chromebook-pixel/
http://www.chromebook-linux.com/2011/11/how-to-install-gnulinux-debian-603-on.html

Fedora
http://fedoraproject.org/wiki/Architectures/ARM/Samsung_Chromebook_2012
https://www.berrange.com/posts/2013/03/31/automated-install-of-fedora-18-arm-on-a-samsung-google-chromebook/
http://liliputing.com/2012/11/fedora-linux-runs-on-the-249-samsung-chromebook-too.html
http://www.muktware.com/4733/fedora-17-runs-google-chromebook


On many of those links (Debian+Fedora) speak of switching to Chromebook
developer mode and one of the Fedora ones it instructs to back up firmware.
 Sounds like fun.

Sort of reminds me of my idea to put Linux on an older Apple Xserve...
1.  Does Fedora/CentOS/Debian support PowerPC?  Yes
2.  Does XYZ piece of hardware work?  Maybe - I came up with a load of
maybes.

Some hardware is built to run the manufacturer's supported OS and not much
else.  ;)



 EGO II
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos




-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Slightly OT: Samsung Chromebook

2013-05-15 Thread Eddie G. O'Connor Jr.
On 05/15/2013 10:33 PM, SilverTip257 wrote:
 On Wed, May 15, 2013 at 10:02 PM, Eddie G. O'Connor Jr. 
 eoconno...@gmail.com wrote:

 I'm glad this was postedeven if it IS OT. I was planning on getting

 Yeah and now I've taken it completely off-topic (see below).


 a Chromebook, but was going to install a different OS...(I was hoping
 for either Debian or Fedora!) I don't know if either will work with the
 machine without glitches.

 Debian
 http://wiki.debian.org/InstallingDebianOn/Samsung/ARMChromebook
 http://blog.brocktice.com/2013/03/09/running-debian-wheezy-7-0-on-the-chromebook-pixel/
 http://www.chromebook-linux.com/2011/11/how-to-install-gnulinux-debian-603-on.html

 Fedora
 http://fedoraproject.org/wiki/Architectures/ARM/Samsung_Chromebook_2012
 https://www.berrange.com/posts/2013/03/31/automated-install-of-fedora-18-arm-on-a-samsung-google-chromebook/
 http://liliputing.com/2012/11/fedora-linux-runs-on-the-249-samsung-chromebook-too.html
 http://www.muktware.com/4733/fedora-17-runs-google-chromebook


 On many of those links (Debian+Fedora) speak of switching to Chromebook
 developer mode and one of the Fedora ones it instructs to back up firmware.
   Sounds like fun.

 Sort of reminds me of my idea to put Linux on an older Apple Xserve...
 1.  Does Fedora/CentOS/Debian support PowerPC?  Yes
 2.  Does XYZ piece of hardware work?  Maybe - I came up with a load of
 maybes.

 Some hardware is built to run the manufacturer's supported OS and not much
 else.  ;)


 EGO II
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos



OMG!I guess I'll just have to go another routethis looks all so 
complicated just to get a different OS to install?.Hmmm.I wonder 
if Google built it this way on PURPOSE?..


EGO II
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos