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

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 pier

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 12:50:10AM -0700, John R Pierce wrote: > > 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). That's what I get for posting at this h

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

2011-05-21 Thread Ljubomir Ljubojevic
John R. Dennison wrote: > On Sat, May 21, 2011 at 12:50:10AM -0700, John R Pierce wrote: >> 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). > > That's wh

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 doe

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,

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".

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 >> From: Ljubomir Ljubojevic >> Subject: [CentOS] Passing password to script for rpmsign of list of .rpm >> files >> >> I am trying to automatize signing of unsigned .rpm

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 ch

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 >>> From: Ljubomir Ljubojevic >>> Subject: [CentOS] Passing password to script for rpmsign of list of .rpm >>> files >>> >>> I am trying to automa

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 u

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 tha

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 anythi

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 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 level cells since yo

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 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 ). > the machines used th

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 a

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 http://lists.centos.org/mailma

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 upgrad