Re: [CentOS] how to separate individual logs?

2010-11-30 Thread cybernet
can you please tell what that command does ?:)) From: hadi motamedi To: CentOS mailing list Sent: Tue, November 30, 2010 6:52:30 AM Subject: Re: [CentOS] how to separate individual logs? On 11/29/10, John Doe wrote: > Here is "The Power of CentOS"!!! (in app

Re: [CentOS] how to separate individual logs?

2010-11-30 Thread hadi motamedi
On 11/30/10, cybernet wrote: > can you please tell what that command does ?:)) > > Sorry. Which command do you mean? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] how to separate individual logs?

2010-11-30 Thread cybernet
> cat edit.txt | while read LINE; do > echo "$LINE" | grep -q '>\.\.' > if [ $? -eq 0 ]; then >LOGFILE=`echo $LINE | cut -d' ' -f1`.log > else >echo "$LINE" >> $LOGFILE > fi > done From: hadi motamedi To: CentOS mailing list Sent: Tue, November 30,

Re: [CentOS] how to separate individual logs?

2010-11-30 Thread hadi motamedi
On 11/30/10, cybernet wrote: >> cat edit.txt | while read LINE; do >> echo "$LINE" | grep -q '>\.\.' >> if [ $? -eq 0 ]; then >>LOGFILE=`echo $LINE | cut -d' ' -f1`.log >> else >>echo "$LINE" >> $LOGFILE >> fi >> done > As you see in the original text file, each module's log is starte

[CentOS] yum/RPM Problem: several packages with the same name were installed, how to remove one of them ?

2010-11-30 Thread giggzounet
Hi, We have a cluster with CentOS 5.5 installed with oscar. The firm which has pre-installed the cluster has done strange things...and now I get problems: - if I understand correctly what was done, several infiniband CentOS packages were installed (compat-dapl, compat-dapl-devel, compat-dapl-uti

Re: [CentOS] how to separate individual logs?

2010-11-30 Thread John Doe
From: hadi motamedi > On 11/29/10, John Doe wrote: > > cat edit.txt | while read LINE; do > > echo "$LINE" | grep -q '>\.\.' > > if [ $? -eq 0 ]; then > > LOGFILE=`echo $LINE | cut -d' ' -f1`.log > > else > > echo "$LINE" >> $LOGFILE > > fi > > done > Thank you very much for

Re: [CentOS] SELinux - way of the future or good idea but !!!

2010-11-30 Thread John Doe
From: Les Mikesell > why are you putting blind faith in the SELinux code? Because it comes from the NSA! The backdoor experts... ;P JD PS: joking of course, the NSA would never do anything bad... ___ CentOS mailing list CentOS@centos.org ht

Re: [CentOS] ssh-agent fails to hold values

2010-11-30 Thread John Doe
From: Nico Kadel-Garcia > On Mon, Nov 29, 2010 at 6:41 AM, John Doe wrote: > > From: bluethundr > >> I am attempting to manage my key logins with ssh-agent. However EVERY > >> time I try to ssh I have to go through the same exact routing and it's > >> getting a little old... > >> Does an

Re: [CentOS] centos 5.5 - which partition manager installed

2010-11-30 Thread Nicolas Thierry-Mieg
Nico Kadel-Garcia wrote: > On Mon, Nov 29, 2010 at 12:02 PM, Johan Scheepers > wrote: >> Good day, >> >> Gparted is not available on my installation. >> >> Which patition tool is available in centos 5.5 please. >> >> Thanks >> Johan > > gparted is just the "Gnome" GUI for parted. "parted" works v

Re: [CentOS] SELinux - way of the future or good idea but !!!

2010-11-30 Thread Leonard den Ottolander
Hello Les, On Mon, 2010-11-29 at 12:35 -0600, Les Mikesell wrote: > If you don't trust your software, run it under a uid that doesn't have > write access to anything important - or in a VM or a different machine > for that matter. X has no problem displaying programs running with > different u

[CentOS] ( SOLVED ) Hostname too long

2010-11-30 Thread Johan Scheepers
Good day, Some time ago I asked some assistance for the long hostname in the terminals. Editing .bashrc in user and root by adding PS1=xxx did make the difference. Here is something I picked up on another list that make editing .bashrc not necessary. as root..gedit /etc/sysconfig/netw

Re: [CentOS] how to separate individual logs?

2010-11-30 Thread hadi motamedi
On 11/30/10, John Doe wrote: > The trick is that your original file has '\r' chars lurking around... > Forgot I did removed them manualy when I saw them... > > cat Edit3 | tr -d "\r" | while read LINE; do > > Instead of just copy/pasting, try to understand what it does. > Here is how it works: >

Re: [CentOS] SELinux - way of the future or good idea but !!!

2010-11-30 Thread Leonard den Ottolander
Hello John, On Tue, 2010-11-30 at 02:12 -0800, John Doe wrote: > From: Les Mikesell > > why are you putting blind faith in the SELinux code? The SELinux restrictions are a much bigger hurdle to take for a buffer overflow exploit than setting a "safe" uid. > Because it comes from the NSA! > The

Re: [CentOS] SELinux - way of the future or good idea but !!!

2010-11-30 Thread Christopher Chan
On Tuesday, November 30, 2010 07:45 PM, Leonard den Ottolander wrote: > Hello Les, > > On Mon, 2010-11-29 at 12:35 -0600, Les Mikesell wrote: >> If you don't trust your software, run it under a uid that doesn't have >> write access to anything important - or in a VM or a different machine >> for th

Re: [CentOS] ssh-agent fails to hold values

2010-11-30 Thread Nico Kadel-Garcia
On Tue, Nov 30, 2010 at 5:19 AM, John Doe wrote: > From: Nico Kadel-Garcia > >> On Mon, Nov 29, 2010 at 6:41 AM, John Doe wrote: >> > From:  bluethundr >> >>  I am attempting to manage my key logins with ssh-agent.  However  EVERY >> >> time I try to ssh I have to go through the same exact rout

Re: [CentOS] how to separate individual logs?

2010-11-30 Thread John Doe
From: hadi motamedi > On 11/30/10, John Doe wrote: > > The trick is that your original file has '\r' chars lurking around... > > Forgot I did removed them manualy when I saw them... > > cat Edit3 | tr -d "\r" | while read LINE; do > > Instead of just copy/pasting, try to understand what it

Re: [CentOS] yum/RPM Problem: several packages with the same name were installed, how to remove one of them ?

2010-11-30 Thread Nico Kadel-Garcia
On Tue, Nov 30, 2010 at 4:44 AM, giggzounet wrote: > Hi, > > We have a cluster with CentOS 5.5 installed with oscar. The firm which > has pre-installed the cluster has  done strange things...and now I get > problems: > > - if I understand correctly what was done, several infiniband CentOS > packag

Re: [CentOS] ssh-agent fails to hold values

2010-11-30 Thread John Doe
From: Nico Kadel-Garcia > If it works in your small environment, fine, but I wouldn't publish it > for general use without more thought. The "keychain" perl script is > actually pretty good. I am not going to pit 5 lines of shell against a 1500+ lines perl script... It was just a suggestion,

Re: [CentOS] SELinux - way of the future or good idea but !!!

2010-11-30 Thread Ben McGinnes
On 30/11/10 10:54 PM, Leonard den Ottolander wrote: > On Tue, 2010-11-30 at 02:12 -0800, John Doe wrote: > >> Because it comes from the NSA! >> The backdoor experts... ;P > >> PS: joking of course, the NSA would never do anything bad... > > This of course was a serious concern by any of the earl

[CentOS] CF disks images and centos

2010-11-30 Thread Jerry Geis
Hi all, I have 8G -CF cards that I have been putting linux on. Everything was working fine till yesterday when I got a new batch of CF cards. The size has changed. The original CF card was 7637M (255 heads/63 sectors/928 cylinders) The new CF card is 8019M (255 heads/63 sectors/974 cylinders)

Re: [CentOS] Optimal VPN

2010-11-30 Thread Ben McGinnes
On 25/11/10 4:07 AM, tony.chamberl...@lemko.com wrote: > > > I am looking for the optimal VPN. Well it doens't have to be that elaborate. > Just the best VPN. We currently have some customers using PPTP, some using > openvpn, some using Cisco Any Connect and there are a few others. Be careful wi

Re: [CentOS] how to separate individual logs?

2010-11-30 Thread Tony Schreiner
On Nov 30, 2010, at 4:07 AM, hadi motamedi wrote: > On 11/30/10, cybernet wrote: >>> cat edit.txt | while read LINE; do >>> echo "$LINE" | grep -q '>\.\.' >>> if [ $? -eq 0 ]; then >>> LOGFILE=`echo $LINE | cut -d' ' -f1`.log >>> else >>> echo "$LINE" >> $LOGFILE >>> fi >>> done >> > > As yo

Re: [CentOS] SELinux - way of the future or good idea but !!!

2010-11-30 Thread m . roth
Ben McGinnes wrote: > On 30/11/10 10:54 PM, Leonard den Ottolander wrote: >> On Tue, 2010-11-30 at 02:12 -0800, John Doe wrote: >> > As you say, it was eventually determined that the NSA did not insert > anything dodgy in the code to give them access. They only did two I dunno, selinux is pretty

Re: [CentOS] SELinux - way of the future or good idea but !!!

2010-11-30 Thread Ben McGinnes
On 1/12/10 2:32 AM, m.r...@5-cent.us wrote: > Ben McGinnes wrote: >> >> The reason for the second one is pretty obvious, though, they know >> that SELinux would be (and is) used by non-Americans and they don't >> want to protect foreign secrets, they want to discover them. > > Um, not quite: there

Re: [CentOS] SELinux - way of the future or good idea but !!!

2010-11-30 Thread Lamar Owen
On Monday, November 29, 2010 12:38:20 pm Les Mikesell wrote: > [Most thrid party apps qualify as] > Pretty much anything that needs to write files outside of the home > directory of the owning user. Certainly anything that uses apache with > its own data store. Which is the prime target for SEL

Re: [CentOS] SELinux - way of the future or good idea but !!!

2010-11-30 Thread Lamar Owen
On Monday, November 29, 2010 02:24:14 pm m.r...@5-cent.us wrote: > Lamar Owen wrote: > > My opinion is that I'm not going to run third party apps that break in that > > way, and I'm going to let the developers know why. > > That's fine for you. When you're running in a larger environment, as many

Re: [CentOS] SELinux - way of the future or good idea but !!!

2010-11-30 Thread Lamar Owen
On Monday, November 29, 2010 11:02:59 pm cpol...@surewest.net wrote: > Your enthusiasm for SELinux seems tied conceptually to a workstation > running the set of applications that come with the distribution. > Nothing wrong with that. I have used a Linux as my primary desktop for 13 years; so, yeah

Re: [CentOS] SELinux - way of the future or good idea but !!!

2010-11-30 Thread Les Mikesell
On 11/30/2010 9:51 AM, Lamar Owen wrote: > > If a particular app is so recalcitrant that SELinux needs to be turned off, > that's when I'd be doing some drastic things, much like windows lab > environments need done. Things like automatic revert to known-good snapshot > on the production boxes

Re: [CentOS] SELinux - way of the future or good idea but !!!

2010-11-30 Thread Lamar Owen
On Monday, November 29, 2010 09:35:44 pm Les Mikesell wrote: > Not so much a problem - I'm just saying that you should do the simple things > that have always worked first, then add SELinux if you want. First, I hope everyone else is enjoying the thread as much as I; I always like to see diverge

Re: [CentOS] SELinux - way of the future or good idea but !!!

2010-11-30 Thread Paul Heinlein
I'll add to the large (often interesting, but large nonetheless) pile of messages in this thread by remarking that even in permissive mode, SELinux can be very useful as an audit tool. Those AVC messages folks love to hate show deviations from expected behavior. Sometimes those deviations are f

Re: [CentOS] SELinux - way of the future or good idea but !!!

2010-11-30 Thread m . roth
Lamar Owen wrote: > On Monday, November 29, 2010 09:35:44 pm Les Mikesell wrote: >> Not so much a problem - I'm just saying that you should do the simple >> things that have always worked first, then add SELinux if you want. > Now, I want to ask, given the two alternatives: > 1.) Set up another ui

Re: [CentOS] SELinux - way of the future or good idea but !!!

2010-11-30 Thread Lamar Owen
On Tuesday, November 30, 2010 05:12:17 am John Doe wrote: > From: Les Mikesell > > why are you putting blind faith in the SELinux code? > Because it comes from the NSA! > The backdoor experts... ;P Also the SCIF experts. SCIFs are used by people other than intelligence agencies and in areas ot

[CentOS] Converting to Raid1

2010-11-30 Thread Matt
Have a CentOS 4.x 32 bit server running on a single 500M SATA drive. What is easiest way to convert too RAID 1 on it? Anyone have a link? Would be open to hardware or software just do not want to reinstall the entire mess. ___ CentOS mailing list CentOS@

Re: [CentOS] SELinux - way of the future or good idea but !!!

2010-11-30 Thread Lamar Owen
On Tuesday, November 30, 2010 11:21:46 am Les Mikesell wrote: > I'm not talking about a particular app. The thing I want quantified is > what it will cost to train some number of people to be able to > troubleshoot any problem that SELinux might cause with any app, given > potential changes in

Re: [CentOS] Converting to Raid1

2010-11-30 Thread John Kennedy
On Tue, Nov 30, 2010 at 11:59, Matt wrote: > Have a CentOS 4.x 32 bit server running on a single 500M SATA drive. > What is easiest way to convert too RAID 1 on it? Anyone have a link? > Would be open to hardware or software just do not want to reinstall > the entire mess. >

Re: [CentOS] SELinux - way of the future or good idea but !!!

2010-11-30 Thread Les Mikesell
On 11/30/2010 11:04 AM, Lamar Owen wrote: > On Tuesday, November 30, 2010 11:21:46 am Les Mikesell wrote: >> I'm not talking about a particular app. The thing I want quantified is >> what it will cost to train some number of people to be able to >> troubleshoot any problem that SELinux might cause

Re: [CentOS] CF disks images and centos

2010-11-30 Thread Robert Heller
At Tue, 30 Nov 2010 09:46:03 -0500 CentOS mailing list wrote: > > Hi all, > > I have 8G -CF cards that I have been putting linux on. > Everything was working fine till yesterday when I got a new batch of CF > cards. > > The size has changed. The original CF card was 7637M (255 heads/63 > se

Re: [CentOS] SELinux - way of the future or good idea but !!!

2010-11-30 Thread Lamar Owen
On Tuesday, November 30, 2010 11:38:24 am m.r...@5-cent.us wrote: > Lamar Owen wrote: > > 2.) Be able to tell my os 'PDF reader can only do X to these files, and no > > others. Browser cannot read ~/Documents, and can only write in > > ~/.mozilla. Flash plugin cannot write anywhere without specif

Re: [CentOS] CF disks images and centos

2010-11-30 Thread Brunner, Brian T.
> > The size has changed. The original CF card was 7637M (255 heads/63 > > sectors/928 cylinders) > > The new CF card is 8019M (255 heads/63 sectors/974 cylinders) > > > > I simply do "dd if=cf.img of=/dev/sde" to copy the images to CF. > > ARG!!! Don't do this! You really, really don't want t

Re: [CentOS] CF disks images and centos

2010-11-30 Thread Lamar Owen
On Tuesday, November 30, 2010 09:46:03 am Jerry Geis wrote: > However its not. centos boots but there are journal issues and > everything is mounted read-only. Can you get log snippets showing why the journal had issues? > Any ideas why this doesnt work or how I can keep my smaller image and >

Re: [CentOS] SELinux - way of the future or good idea but !!!

2010-11-30 Thread m . roth
Lamar Owen wrote: > On Tuesday, November 30, 2010 11:38:24 am m.r...@5-cent.us wrote: >> Lamar Owen wrote: >> > 2.) Be able to tell my os 'PDF reader can only do X to these files, >> > and no others. Browser cannot read ~/Documents, and can only write in >> > ~/.mozilla. Flash plugin cannot write

Re: [CentOS] CF disks images and centos

2010-11-30 Thread Les Mikesell
On 11/30/2010 12:10 PM, Brunner, Brian T. wrote: > >>> The size has changed. The original CF card was 7637M (255 heads/63 >>> sectors/928 cylinders) >>> The new CF card is 8019M (255 heads/63 sectors/974 cylinders) >>> >>> I simply do "dd if=cf.img of=/dev/sde" to copy the images to CF. >> >> ARG!!

Re: [CentOS] Any chance to get a working, current openldap srpm/rpm for centos 5.5

2010-11-30 Thread Pasi Kärkkäinen
On Mon, Nov 29, 2010 at 03:07:49PM +0100, Götz Reinicke - IT-Koordinator wrote: > Am 29.11.10 13:43, schrieb Eero Volotinen: > > 2010/11/29 Götz Reinicke - IT-Koordinator : > >> Hello, > >> > >> is there anyone out there, who has a current 2.4.23 srpm or good how to > >> compile it from src with su

Re: [CentOS] SELinux - way of the future or good idea but !!!

2010-11-30 Thread Lamar Owen
On Tuesday, November 30, 2010 12:18:26 pm Les Mikesell wrote: > But [what it will cost to train some number of people to be able to > troubleshoot any problem that SELinux might cause with any app, given > potential changes in updates to both the distribution provided stuff and > the 3rd party cod

Re: [CentOS] SELinux - way of the future or good idea but !!!

2010-11-30 Thread m . roth
Lamar Owen wrote: > On Tuesday, November 30, 2010 12:18:26 pm Les Mikesell wrote: > > But [what it will cost to train some number of people to be able to >> troubleshoot any problem that SELinux might cause with any app, given >> potential changes in updates to both the distribution provided stuff

Re: [CentOS] SELinux - way of the future or good idea but !!!

2010-11-30 Thread Benjamin Franz
On 11/30/2010 10:42 AM, Lamar Owen wrote: > > It boils down to balancing 'it breaks my app that I can't or won't fix' > against 'you've been pwned!' Actually, it boils down to 'what causes more total costs to the business'. Right now, in my experience, that is SELinux. Break ins to my servers a

Re: [CentOS] SELinux - way of the future or good idea but !!!

2010-11-30 Thread m . roth
Benjamin Franz wrote: > On 11/30/2010 10:42 AM, Lamar Owen wrote: >> >> It boils down to balancing 'it breaks my app that I can't or won't fix' >> against 'you've been pwned!' > > Actually, it boils down to 'what causes more total costs to the > business'. Right now, in my experience, that is SELin

Re: [CentOS] CF disks images and centos

2010-11-30 Thread Robert Heller
At Tue, 30 Nov 2010 12:26:04 -0600 CentOS mailing list wrote: > > On 11/30/2010 12:10 PM, Brunner, Brian T. wrote: > > > >>> The size has changed. The original CF card was 7637M (255 heads/63 > >>> sectors/928 cylinders) > >>> The new CF card is 8019M (255 heads/63 sectors/974 cylinders) > >>>

Re: [CentOS] CF disks images and centos

2010-11-30 Thread Les Mikesell
On 11/30/2010 1:13 PM, Robert Heller wrote: > At Tue, 30 Nov 2010 12:26:04 -0600 CentOS mailing list > wrote: > >> >> On 11/30/2010 12:10 PM, Brunner, Brian T. wrote: >>> > The size has changed. The original CF card was 7637M (255 heads/63 > sectors/928 cylinders) > The new CF card is

[CentOS] SELinux - way of the future or good idea but !!!

2010-11-30 Thread R P Herrold
On Tue, 30 Nov 2010, Les Mikesell wrote: > ... troubleshoot any problem that SELinux might cause with > any app, ... would you like a fixed price on that quote as well? - R ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/list

[CentOS] linux-2.6.18.tar.bz2 is missing

2010-11-30 Thread Pascal Robert
We have to rebuild our kernel to add support for a Mainpine fax board on a CentOS 5.5 board: http://www.hylafax.org/content/Handbook:Basic_Server_Configuration:Modem-specific_Guidance#Mainpine_IQ_Express We followed all steps, but when calling rpmbuild, we are getting: [r...@hylafax SPECS]# r

Re: [CentOS] linux-2.6.18.tar.bz2 is missing

2010-11-30 Thread Eero Volotinen
2010/11/30 Pascal Robert : > We have to rebuild our kernel to add support for a Mainpine fax board on a > CentOS 5.5 board: > >   http://www.hylafax.org/content/Handbook:Basic_Server_Configuration:Modem-specific_Guidance#Mainpine_IQ_Express > > We followed all steps, but when calling rpmbuild, we a

Re: [CentOS] SELinux - way of the future or good idea but !!!

2010-11-30 Thread Lamar Owen
On Tuesday, November 30, 2010 02:04:12 pm Benjamin Franz wrote: > On 11/30/2010 10:42 AM, Lamar Owen wrote: > > > > It boils down to balancing 'it breaks my app that I can't or won't fix' > > against 'you've been pwned!' > > Actually, it boils down to 'what causes more total costs to the > busin

Re: [CentOS] SELinux - way of the future or good idea but !!!

2010-11-30 Thread Lamar Owen
On Tuesday, November 30, 2010 01:55:11 pm m.r...@5-cent.us wrote: > Reality check time: selinux is a *tiny* portion of the entire Linux > market, though growing. Reality check: IDC analysts have estimated Red Hat's share of the paid commercial Linux market as 62%[1], [2], with Red Hat estimating

Re: [CentOS] linux-2.6.18.tar.bz2 is missing

2010-11-30 Thread Pascal Robert
Le 2010-11-30 à 14:58, Eero Volotinen a écrit : > 2010/11/30 Pascal Robert : >> We have to rebuild our kernel to add support for a Mainpine fax board on a >> CentOS 5.5 board: >> >> >> http://www.hylafax.org/content/Handbook:Basic_Server_Configuration:Modem-specific_Guidance#Mainpine_IQ_Expre

Re: [CentOS] linux-2.6.18.tar.bz2 is missing

2010-11-30 Thread Eero Volotinen
2010/11/30 Pascal Robert : > > Le 2010-11-30 à 14:58, Eero Volotinen a écrit : > >> 2010/11/30 Pascal Robert : >>> We have to rebuild our kernel to add support for a Mainpine fax board on a >>> CentOS 5.5 board: >>> >>>   >>> http://www.hylafax.org/content/Handbook:Basic_Server_Configuration:Modem

Re: [CentOS] CF disks images and centos

2010-11-30 Thread Lamar Owen
On Tuesday, November 30, 2010 02:13:17 pm Robert Heller wrote: > Right. clonezilla is much more than dd. I would suspect that > clonezilla is a bundling of sfdisk, dump/restore, and grub-install, or > something link that. According to the clonezilla website, dd is one of the supported methods:

Re: [CentOS] CF disks images and centos

2010-11-30 Thread Lamar Owen
On Tuesday, November 30, 2010 01:10:14 pm Brunner, Brian T. wrote: > Even if the two disks have the same manufacturer and manufacturer part > number, different firmware revisions can fail to boot after > dd if=/dev/spinpoint.partnumber.fwrev1 of=/dev/spinpoint.partnumber.fwrev2 > Been there, done

Re: [CentOS] linux-2.6.18.tar.bz2 is missing

2010-11-30 Thread Akemi Yagi
On Tue, Nov 30, 2010 at 12:12 PM, Pascal Robert wrote: >>>   [r...@hylafax SPECS]# rpmbuild -ba --target x86_64 kernel-2.6.spec You are building as root. This is a bad practice. When building a CentOS custom kernel, please try following the instructions in: http://wiki.centos.org/HowTos/Custom_

Re: [CentOS] SELinux - way of the future or good idea but !!!

2010-11-30 Thread m . roth
Lamar Owen wrote: > On Tuesday, November 30, 2010 01:55:11 pm m.r...@5-cent.us wrote: >> However, there are a ton of apps out there, and >> almost no developers who have been earning their living as programmers, >> who have any knowledge of selinux. Case in point: something here, >> developed in-h

[CentOS] Help with yum and cpio: MD5 sum mismatch

2010-11-30 Thread James B. Byrne
I am trying to install Ruby-1.8.7p302 on a CentOS-5.5 server in preparation for a Rails-3 application deployment. I have downloaded the source from Rubyforge.org, unpacked it, and ran ./config and make. Everything built without error. I then ran checkinstall to create an rpm package. That too com

Re: [CentOS] SELinux - way of the future or good idea but !!!

2010-11-30 Thread Stephen Harris
On Tue, Nov 30, 2010 at 03:11:24PM -0500, Lamar Owen wrote: > Reality check: IDC analysts have estimated Red Hat's share of the paid > commercial Linux market as 62%[1], [2], with Red Hat estimating higher > [3]. That's RHEL: which ships SELinux enabled, enforcing, targeted, > by default. And, th

Re: [CentOS] CF disks images and centos

2010-11-30 Thread Brunner, Brian T.
> On Tuesday, November 30, 2010 01:10:14 pm Brunner, Brian T. wrote: > > Even if the two disks have the same manufacturer and > > manufacturer part number, different firmware revisions can fail to boot after > > dd if=/dev/spinpoint.partnumber.fwrev1 of=/dev/spinpoint.partnumber.fwrev2 > > > Be

Re: [CentOS] SELinux - way of the future or good idea but !!!

2010-11-30 Thread m . roth
Stephen Harris wrote: > On Tue, Nov 30, 2010 at 03:11:24PM -0500, Lamar Owen wrote: >> Reality check: IDC analysts have estimated Red Hat's share of the paid >> commercial Linux market as 62%[1], [2], with Red Hat estimating higher >> [3]. That's RHEL: which ships SELinux enabled, enforcing, targe

Re: [CentOS] Converting to Raid1

2010-11-30 Thread Robert Spangler
On Tuesday 30 November 2010 11:59, Matt wrote: > Have a CentOS 4.x 32 bit server running on a single 500M SATA drive. > What is easiest way to convert too RAID 1 on it? Anyone have a link? > Would be open to hardware or software just do not want to reinstall > the entire mess. http://tinyurl

Re: [CentOS] linux-2.6.18.tar.bz2 is missing

2010-11-30 Thread Morten P.D. Stevens
2010/11/30 Akemi Yagi : > On Tue, Nov 30, 2010 at 12:12 PM, Pascal Robert wrote: >   [r...@hylafax SPECS]# rpmbuild -ba --target x86_64 kernel-2.6.spec > > You are building as root. This is a bad practice. When building a > CentOS custom kernel, please try following the instructions in: > > h

Re: [CentOS] SELinux - way of the future or good idea but !!!

2010-11-30 Thread Lamar Owen
On Tuesday, November 30, 2010 03:49:57 pm Stephen Harris wrote: > Reality check: how many of those installs are RedHat OOB installs with > default options? No idea. How many aren't default OOB? For that matter, how many CentOS installs are out there are set: 1.) OOB, SELinux enforcing/targeted;

Re: [CentOS] SELinux - way of the future or good idea but !!!

2010-11-30 Thread m . roth
Lamar Owen wrote: > On Tuesday, November 30, 2010 03:49:57 pm Stephen Harris wrote: >> Reality check: how many of those installs are RedHat OOB installs with >> default options? > > No idea. How many aren't default OOB? > > For that matter, how many CentOS installs are out there are set: > 1.) OOB

Re: [CentOS] SELinux - way of the future or good idea but !!!

2010-11-30 Thread Lamar Owen
On Tuesday, November 30, 2010 03:31:44 pm m.r...@5-cent.us wrote: > Lamar Owen wrote: > > CA should know better, and if they are targeting RHEL commercially they > > should be supporting the default RHEL configuration. > Right. So, hey, do you have the rights to call CA and lean on them? Nope, s

Re: [CentOS] SELinux - way of the future or good idea but !!!

2010-11-30 Thread m . roth
Lamar Owen wrote: > On Tuesday, November 30, 2010 03:31:44 pm m.r...@5-cent.us wrote: >> Lamar Owen wrote: >> > CA should know better, and if they are targeting RHEL commercially >> > they should be supporting the default RHEL configuration. > >> Right. So, hey, do you have the rights to call CA an

Re: [CentOS] SELinux - way of the future or good idea but !!!

2010-11-30 Thread Les Mikesell
On 11/30/2010 3:13 PM, Marko Vojinovic wrote: > > P.S. I am just waiting for the day when SELinux is going to become locked in > enforcing mode by the kernel developers, much as the traditional permissions > system is a mandatory thing right now. :-D I thought there was a security API in the kerne

Re: [CentOS] SELinux - way of the future or good idea but !!!

2010-11-30 Thread Bob McConnell
Leonard den Ottolander wrote: > With the ever increasing complexity of software is there any software > you trust? I know I don't. Are you running your Flash plugin in Mozilla > as a different user than the one you logged into under X? Care to > elaborate how to accomplish such a feat? Or can you p

[CentOS] Help with yum and cpio: MD5 sum mismatch

2010-11-30 Thread R P Herrold
On Tue, 30 Nov 2010, James B. Byrne wrote: > make. Everything built without error. I then ran > checkinstall ... checkinstall is a third party solution and does not keep up too well > Running Transaction > Installing : ruby-1.8.7 > 1/1 > Error unpacking rpm package ruby-1.8.7-p302-

Re: [CentOS] SELinux - way of the future or good idea but !!!

2010-11-30 Thread Lamar Owen
On Tuesday, November 30, 2010 01:22:53 pm m.r...@5-cent.us wrote: > Right - change *local* policy for every iteration. On the servers I would of course put policy into revision control and build it into our customization package (I've built RPM's for a long time). Then consistent contexts can g

Re: [CentOS] SELinux - way of the future or good idea but !!!

2010-11-30 Thread m . roth
Lamar Owen wrote: > On Tuesday, November 30, 2010 01:22:53 pm m.r...@5-cent.us wrote: >> I'm talking about the real, outside world, *not* my own personal system. >> .. >> As I said, I work in the real world with all this, and you seem to be >> arguing, based on your own personal experience tha

Re: [CentOS] SELinux - way of the future or good idea but !!!

2010-11-30 Thread Lamar Owen
On Tuesday, November 30, 2010 04:52:42 pm Les Mikesell wrote: > I thought there was a security API in the kernel that was designed > specifically _not_ to lock it to an implementation. Yes; Linux Security Modules (LSM). According to the wikipedia.org page on said subject, the current 'officia

Re: [CentOS] SELinux - way of the future or good idea but !!!

2010-11-30 Thread Christopher Chan
On Wednesday, December 01, 2010 04:54 AM, m.r...@5-cent.us wrote: > And about apache... most of those attacks are preventable through > defensive configuration and coding for httpd itself. Looking to selinux to > protect you is very sloppy. The key word is most. If one bothered to go through all

Re: [CentOS] SELinux - way of the future or good idea but !!!

2010-11-30 Thread Lamar Owen
On Tuesday, November 30, 2010 04:53:38 pm Bob McConnell wrote: > That one's easy, don't ever install the plugin, or anything else from > Adobe. Second step, set NoScript to block everything and everyone. If > any site has content that requires either of those, I will never see it. > That's their

Re: [CentOS] SELinux - way of the future or good idea but !!!

2010-11-30 Thread m . roth
Lamar Owen wrote: > On Tuesday, November 30, 2010 04:53:38 pm Bob McConnell wrote: >> That one's easy, don't ever install the plugin, or anything else from >> Adobe. Second step, set NoScript to block everything and everyone. If >> any site has content that requires either of those, I will never se

Re: [CentOS] SELinux - way of the future or good idea but !!!

2010-11-30 Thread John R Pierce
On 11/30/10 12:31 PM, m.r...@5-cent.us wrote: > And I notice that you don't address the other point, all the in-house > apps, and if you think management will say "sure, spend whatever it takes > to rewrite that so it conforms to selinux...", you're living in somewhere > I don't. And just about eve

Re: [CentOS] SELinux - way of the future or good idea but !!!

2010-11-30 Thread Lamar Owen
On Tuesday, November 30, 2010 06:04:56 pm John R Pierce wrote: > for instance, all our java-ware can run just fine in > /home/$APPUSER/$APPNAME and run as a regular user. if we want to put > it in /opt/$COMPANY/$APP then we might have to play with selinux > defaults some, since /opt isn't par

[CentOS] Guide to SELinux

2010-11-30 Thread Rob Del Vecchio
Since the "SELinux - way of the future or good idea but !!!" thread is deep in heated discussion, I decided not to derail to ask a simple question. I found this guide for SELinux: http://www.linux-books.us/centos_0005.php and it looks like it's straight out of RedHat. However, it's dated 2005. W

Re: [CentOS] SELinux - way of the future or good idea but !!!

2010-11-30 Thread Nico Kadel-Garcia
On Tue, Nov 30, 2010 at 4:19 PM, wrote: > Lamar Owen wrote: >> On Tuesday, November 30, 2010 03:49:57 pm Stephen Harris wrote: >>> Reality check: how many of those installs are RedHat OOB installs with >>> default options? >> >> No idea.  How many aren't default OOB? >> >> For that matter, how ma

Re: [CentOS] SELinux - way of the future or good idea but !!!

2010-11-30 Thread Nico Kadel-Garcia
On Tue, Nov 30, 2010 at 5:23 PM, Lamar Owen wrote: > On Tuesday, November 30, 2010 04:53:38 pm Bob McConnell wrote: >> That one's easy, don't ever install the plugin, or anything else from >> Adobe. Second step, set NoScript to block everything and everyone. If >> any site has content that require

Re: [CentOS] Help with yum and cpio: MD5 sum mismatch

2010-11-30 Thread Nico Kadel-Garcia
On Tue, Nov 30, 2010 at 3:48 PM, James B. Byrne wrote: > I am trying to install Ruby-1.8.7p302 on a CentOS-5.5 server in > preparation for a Rails-3 application deployment.  I have downloaded > the source from Rubyforge.org, unpacked it, and ran ./config and > make.  Everything built without error

Re: [CentOS] Samsung CLP-325W network connection?

2010-11-30 Thread Timothy Murphy
fred smith wrote: > On Mon, Nov 29, 2010 at 07:50:45PM +, Timothy Murphy wrote: >> Anyone got this working over a LAN under CentOS? >> The instructions claim it is easy to connect >> after pressing the WPS button on printer and router. >> >> Sadly, I don't see a WPS button on my Linksys WRT54

Re: [CentOS] Samsung CLP-325W network connection?

2010-11-30 Thread Timothy Murphy
John R Pierce wrote: >> The instructions claim it is easy to connect >> after pressing the WPS button on printer and router. >> >> Sadly, I don't see a WPS button on my Linksys WRT54GL router. > does this printer have any other connectivity options? It does; I have set it up using an Ethernet co

Re: [CentOS] Samsung CLP-325W network connection?

2010-11-30 Thread Timothy Murphy
Eero Volotinen wrote: >> Anyone got this working over a LAN under CentOS? > http://www.openprinting.org/printer/Samsung/Samsung-CLP-325w > > at least printer is supported. I did read this web-page. Unfortunately the author does not say whether he/she configured the printer to work through WiFi.

Re: [CentOS] Samsung CLP-325W network connection?

2010-11-30 Thread John R Pierce
On 11/30/10 6:26 PM, Timothy Murphy wrote: > >> You should configure wlan by hand.. > How, exactly? probably by hooking the printer up to ethernet, finding its IP address (maybe on a self-test printout?) then connecting to its IP with whatever configuration management they offer (my Brother ha

Re: [CentOS] Samsung CLP-325W network connection?

2010-11-30 Thread fred smith
On Wed, Dec 01, 2010 at 02:19:21AM +, Timothy Murphy wrote: > fred smith wrote: > > > On Mon, Nov 29, 2010 at 07:50:45PM +, Timothy Murphy wrote: > >> Anyone got this working over a LAN under CentOS? > >> The instructions claim it is easy to connect > >> after pressing the WPS button on pr

Re: [CentOS] SELinux - way of the future or good idea but !!!

2010-11-30 Thread Nico Kadel-Garcia
On Tue, Nov 30, 2010 at 10:28 PM, Marko Vojinovic wrote: > On Tuesday 30 November 2010 20:54:37 m.r...@5-cent.us wrote: >> And about apache... most of those attacks are preventable through >> defensive configuration and coding for httpd itself. Looking to selinux to >> protect you is very sloppy.

Re: [CentOS] SELinux - way of the future or good idea but !!!

2010-11-30 Thread Christopher Chan
On Wednesday, December 01, 2010 11:37 AM, Nico Kadel-Garcia wrote: > On Tue, Nov 30, 2010 at 10:28 PM, Marko Vojinovic wrote: >> On Tuesday 30 November 2010 20:54:37 m.r...@5-cent.us wrote: >>> And about apache... most of those attacks are preventable through >>> defensive configuration and coding

Re: [CentOS] SELinux - way of the future or good idea but !!!

2010-11-30 Thread Les Mikesell
On 11/30/10 9:28 PM, Marko Vojinovic wrote: > On Tuesday 30 November 2010 20:54:37 m.r...@5-cent.us wrote: >> And about apache... most of those attacks are preventable through >> defensive configuration and coding for httpd itself. Looking to selinux to >> protect you is very sloppy. > > So a guy i

Re: [CentOS] how to separate individual logs?

2010-11-30 Thread hadi motamedi
On 11/30/10, Tony Schreiner wrote: > That error would happen if you did not have a space between [ and $? > > Tony Schreiner > Thank you very much for your help. Actually, I didn't have got a clear understanding of your code. Sorry for my mis-understanding. At now, I analyzed the code and totally

[CentOS] centos 5.5 - not detecting internet connection

2010-11-30 Thread Johan Scheepers
Good day, By accident booted with dsl internet not connected. When reconnecting dsl - centos did not detect it. Is there a way to make it trigger detection rather then rebooting Please. Thanks Regards Johan ___ CentOS mailing list CentOS@centos.org ht

Re: [CentOS] centos 5.5 - not detecting internet connection

2010-11-30 Thread Frank Cox
On Wed, 01 Dec 2010 07:34:19 +0200 Johan Scheepers wrote: > By accident booted with dsl internet not connected. > When reconnecting dsl - centos did not detect it. > Is there a way to make it trigger detection rather then rebooting Please. If you're using DHCP and not using Network Manager then

Re: [CentOS] SELinux - way of the future or good idea but !!!

2010-11-30 Thread Geoff Galitz
>>> I would guess no one knows. But all of my CentOS installs are OOB as >>> concerning SELinux, except the two scalix installs, which have some >>> custom >>> 'stuff' thanks to the scalix instance naming. >> >> All I know is at the last two companies I worked at - AT&T, a small team >> building

Re: [CentOS] Guide to SELinux

2010-11-30 Thread Eero Volotinen
2010/12/1 Rob Del Vecchio : > Since the "SELinux - way of the future or good idea but !!!" thread is deep > in heated discussion, I decided not to derail to ask a simple question. > I found this guide for > SELinux: http://www.linux-books.us/centos_0005.php  and it looks like it's > straight out of

Re: [CentOS] how to separate individual logs?

2010-11-30 Thread hadi motamedi
On 11/30/10, John Doe wrote: > > My pseudo-code does exactly what you described (re-read it)... > > And it creates .log files... > $ ll -n > total 36 > -rw-r--r-- 1 2000 500 4678 nov 30 10:49 Edit3 > -rw-r--r-- 1 2000 500 39 nov 30 10:54 HLR.log > -rw-r--r-- 1 2000 500 2320 nov 30 10:54 IPTR.log