Re: [CentOS] SSD for Centos SWAP /tmp /var/ partition

2011-05-21 Thread Keith Roberts
On Sat, 21 May 2011, Eero Volotinen wrote: To: CentOS mailing list centos@centos.org From: Eero Volotinen eero.voloti...@iki.fi Subject: Re: [CentOS] SSD for Centos SWAP /tmp /var/ partition 2011/5/20 Keith Roberts ke...@karsites.net: Has anyone actually used a SSD in a Centos setup?

Re: [CentOS] Passing password to script for rpmsign of list of .rpm files

2011-05-21 Thread Nicolas Thierry-Mieg
Ljubomir Ljubojevic wrote: for i in $(find . -type f | grep .rpm); do rpmsign --addsign `find . -type f | grep .rpm | grep -v .zzz` just a small comment, grep uses regexps so this doesn't do what you want (eg the . is a wildcard char). Your script can break, silently (won't sign rpms whose

Re: [CentOS] Passing password to script for rpmsign of list of .rpm files

2011-05-21 Thread John R. Dennison
On Sat, May 21, 2011 at 09:30:06AM +0200, Nicolas Thierry-Mieg wrote: Ljubomir Ljubojevic wrote: for i in $(find . -type f | grep .rpm); do rpmsign --addsign `find . -type f | grep .rpm | grep -v .zzz` just a small comment, grep uses regexps so this doesn't do what you want (eg the .

Re: [CentOS] Passing password to script for rpmsign of list of .rpm files

2011-05-21 Thread John R Pierce
On 05/21/11 12:43 AM, John R. Dennison wrote: find . -type f -name \*.rpm ! -name \*.zzz that won't work right anyways.the first -name says match just .rpm files. none of those will be .zzz so the 2nd expression won't ever get hit (all .rpm files are not .zzz files). -- john r

Re: [CentOS] Passing password to script for rpmsign of list of .rpm files

2011-05-21 Thread Nicolas Thierry-Mieg
John R. Dennison wrote: On Sat, May 21, 2011 at 09:30:06AM +0200, Nicolas Thierry-Mieg wrote: Ljubomir Ljubojevic wrote: for i in $(find . -type f | grep .rpm); do rpmsign --addsign `find . -type f | grep .rpm | grep -v .zzz` just a small comment, grep uses regexps so this doesn't do what

Re: [CentOS] Passing password to script for rpmsign of list of .rpm files

2011-05-21 Thread Ljubomir Ljubojevic
Nicolas Thierry-Mieg wrote: John R. Dennison wrote: On Sat, May 21, 2011 at 09:30:06AM +0200, Nicolas Thierry-Mieg wrote: Ljubomir Ljubojevic wrote: for i in $(find . -type f | grep .rpm); do rpmsign --addsign `find . -type f | grep .rpm | grep -v .zzz` just a small comment, grep uses

Re: [CentOS] Passing password to script for rpmsign of list of .rpm files

2011-05-21 Thread John R. Dennison
On Sat, May 21, 2011 at 10:13:52AM +0200, Nicolas Thierry-Mieg wrote: agreed, using find alone is another way to do it, although as stated by John Pierce the second -name is useless here. I was pointing out a flaw in the code and offering a correction using the same way to do it. Oh,

Re: [CentOS] Passing password to script for rpmsign of list of .rpm files

2011-05-21 Thread Johnny Hughes
On 05/20/2011 01:13 PM, Keith Roberts wrote: On Fri, 20 May 2011, Ljubomir Ljubojevic wrote: To: CentOS mailing list centos@centos.org From: Ljubomir Ljubojevic off...@plnet.rs Subject: [CentOS] Passing password to script for rpmsign of list of .rpm files I am trying to automatize

Re: [CentOS] xferlog not rotating.

2011-05-21 Thread Lamar Owen
On Friday, May 20, 2011 10:43:10 AM Ray Van Dolson wrote: On Fri, May 20, 2011 at 10:44:49AM -0400, Steven Crothers wrote: It's a bit funny that logrotate is difficult to fix for you... considering you have System Engineer Sr. Professional in your signature... This gave me a chuckle. :)

Re: [CentOS] Passing password to script for rpmsign of list of .rpm files

2011-05-21 Thread Ljubomir Ljubojevic
Johnny Hughes wrote: On 05/20/2011 01:13 PM, Keith Roberts wrote: On Fri, 20 May 2011, Ljubomir Ljubojevic wrote: To: CentOS mailing list centos@centos.org From: Ljubomir Ljubojevic off...@plnet.rs Subject: [CentOS] Passing password to script for rpmsign of list of .rpm files I am trying

Re: [CentOS] xferlog not rotating.

2011-05-21 Thread Jussi Hirvi
On 21.5.2011 19.02, Lamar Owen wrote: Now, one of my C5.6 boxen is set up with /etc/vsftpd/vsftpd.conf: # The name of log file when xferlog_enable=YES and xferlog_std_format=YES # WARNING - changing this filename affects /etc/logrotate.d/vsftpd.log #xferlog_file=/var/log/xferlog # which

[CentOS] xferlog not rotating.

2011-05-21 Thread R P Herrold
On Sat, 21 May 2011, Lamar Owen wrote: Wait a cotton-picking minute. Why is vsftpd writing to /var/log/xferlog in the first place, and not /var/log/vsftpd.log? early in the thread, it was clear from a reply's content that a locally installed 'ftpd' and not the CentOS vsftpd was being

Re: [CentOS] xferlog not rotating.

2011-05-21 Thread Jussi Hirvi
On 21.5.2011 20.43, R P Herrold wrote: early in the thread, it was clear from a reply's content that a locally installed 'ftpd' and not the CentOS vsftpd was being used I think you are inadvertently confusing the issue. ftpd is mentioned in this file (see below), but still vsftpd is used:

Re: [CentOS] xferlog not rotating.

2011-05-21 Thread Lamar Owen
On Saturday, May 21, 2011 01:43:10 PM R P Herrold wrote: On Sat, 21 May 2011, Lamar Owen wrote: Wait a cotton-picking minute. Why is vsftpd writing to /var/log/xferlog in the first place, and not /var/log/vsftpd.log? early in the thread, it was clear from a reply's content that a

Re: [CentOS] SSD for Centos SWAP /tmp /var/ partition

2011-05-21 Thread yonatan pingle
Hi Keith not sure about OCZ reliability for production , but i can confirm Intel x-25 drives work great with centos ( about 11 month's now ). I use two drives as /var in md mirror , using it for SQL and logs - it's an amazing boost vs ordinary drives. if you use the SSD for swap, don't put

Re: [CentOS] SSD for Centos SWAP /tmp /var/ partition

2011-05-21 Thread Steven Crothers
On Fri, May 20, 2011 at 10:21 PM, Eero Volotinen eero.voloti...@iki.fi wrote: Just buy fastest ocz drive than you can find from stores. -- Eero Simply buying OCZ because its cheap is wrong. OCZ drives use MLC flash, I'm sure you know the difference between single level cells and multiple

Re: [CentOS] SSD for Centos SWAP /tmp /var/ partition

2011-05-21 Thread Steven Crothers
On Sat, May 21, 2011 at 6:29 PM, yonatan pingle yonatan.pin...@gmail.com wrote: if you use the SSD for swap, don't put anything important on them, I have managed to destroy a drive which was used for heavy swap operations. (insane experiment with KVM virtual machines got to that situation ).

Re: [CentOS] scsi3 persistent reservations in cluster storage fencing

2011-05-21 Thread Steven Crothers
You might be able to go a simpler route, try building a GFBD between them and sharing the storage that way. I personally have never tried it, but that might give you the HA you're looking for while staying withing the CentOS/Upstream packaging. One added benefit is the ability to scale vertically

Re: [CentOS] SSD for Centos SWAP /tmp /var/ partition

2011-05-21 Thread Eero Volotinen
It's really neat when an OCZ drive fails, it doesn't tick. You just lose all your data. Here today, gone tomorrow. Just swap drive and restore from backup, no problem ? -- Eero ___ CentOS mailing list CentOS@centos.org

Re: [CentOS] SSD for Centos SWAP /tmp /var/ partition

2011-05-21 Thread Steven Crothers
That's expensive, don't know about you but I don't factor in drives to be dead within 3-4 months of installation for my machines. Running swap on an MLC SSD will most definitely kill it in 3-4 months. You expect to get at least 18-36 months out of a drive before it either dies or requires an