Re: [CentOS] eth enumeration order

2011-09-20 Thread Volker Poplawski
On 19.09.2011 23:48, Robert Spangler wrote:
> On Monday 19 September 2011 11:04, the following was written:
>
>>   So
>>   How do you specifiy the order in which NICs are enumerated?
>>   or at least how to tell centos to stop messing with the
>>   70-persistent-net.rules?
>
> Add the hardware addresses to their ifcfg-eth# files.
>
> HWADDR=xx:xx:xx:xx:xx:xx

That's it?! What about udev?

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


[CentOS] Kickstart mdraid on two disks, from usb key detected as sda instead of sdc...

2011-09-20 Thread John Doe
Hi,

I am trying to adapt my kickstart usb key to optionally auto-setup mdraid on 

two disks...  But I have one server that keeps attaching the usb key to sda 

instead of sdc...
My kickstart creates the raid devices on sdb and sdc partitions; but then I 

expect it not to work once the key is unplugged and the disks fall back to 

sda and sdb...


Can I just modify mdadm.conf at the end, just before rebooting?

What about grub?


Thx,
JD

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


[CentOS] sudo wildcards problem: for every argument a *-wildcard? Better solution?

2011-09-20 Thread Sven Aluoor
Hi folks

I allow the user tommy to run this command as root

sudoCommand: /app/appname/connectors/*/*/current/bin/*

With "sudo -l" he sees the sudoers, but is unable to execute.

$ sudo /app/appname/connectors/zur/namename/current/bin/othername
agentsvc --i --u root --sn 1m7command
Sorry, user tommy is not allowed to execute
'/app/appname/connectors/zur/namename/current/bin/othername agentsvc
--i --u root --sn 1m7command' as root on testcentbox07.

I guess because of wildcard arguments. Does every argument needs a
*-wildcard? How to do when I don't know the number of arguments?

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


Re: [CentOS] mdadm and drive identification?

2011-09-20 Thread Joseph L. Casale
>Is there another easy way I can positively ID a drive by serial number and the 
>/dev/sd[a-z] that mdadm sees? 

I don't know of a tool like tune2fs or *fstune that works for mdraid.
You might try on the mdadm list where Neil Brown hangs out...

Given the wealth of easy ways to manage and monitor the health of
an lsi card, I'd never entertain this on any of my systems that use them...
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] sudo wildcards problem: for every argument a *-wildcard? Better solution?

2011-09-20 Thread John Doe
From: Sven Aluoor 

 I allow the user tommy to run this command as root
> sudoCommand: /app/appname/connectors/*/*/current/bin/*
> $ sudo /app/appname/connectors/zur/namename/current/bin/othername
> agentsvc --i --u root --sn 1m7command
> Sorry, user tommy is not allowed to execute
> '/app/appname/connectors/zur/namename/current/bin/othername agentsvc
> --i --u root --sn 1m7command' as root on testcentbox07.
> I guess because of wildcard arguments. Does every argument needs a
> *-wildcard? How to do when I don't know the number of arguments?

Tried with -- ?
Maybe replace the last * with [! ]*

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


Re: [CentOS] This doesn't make sense

2011-09-20 Thread Ross Walker
On Sep 19, 2011, at 7:12 PM, Craig White  wrote:

> On Mon, 2011-09-19 at 18:41 -0400, Ross Walker wrote:
>> On Sep 17, 2011, at 7:49 PM, Craig White  wrote:
>> 
>>> At some point, security updates for 6.1 will be released and then it
>>> becomes a matter of deciding to install it based on the evidence that
>>> security updates have been non-existent all this time.
>> 
>> I'm sorry I don't follow you here?
>> 
>> I'm fairly certain that 6.1 will include both 6.1 security/bug updates AND 
>> security/bug updates that have been released up to the beginning of the 6.1 
>> release cycle, minus several that where released during the C6.1 release 
>> cycle. Security updates and bug fixes are intermingled without being able to 
>> distinguish one from the other outside of the RPM history.
>> 
>> It's not the security updates that prevent me from moving to 6.0 right now, 
>> but those pesky .0 blues.
> 
> those pesky .0 blues as you call them were clearly there - see other
> threads about video issues, etc.
> 
> I guess the point I was trying to make without being excessively blunt
> is that the track record of timely releases for CentOS 6.x (any release)
> and the track record of timely security updates (none) should really
> cause any one to pause before installing any version of CentOS 6 - even
> if 6.1 and all of the current security updates were released tomorrow.

For those systems that are important enough that I need immediate security 
updates I buy a RHEL license.

It's those one-off systems behind the firewall that I use CentOS for.

No point in buying an expensive license for an instant messenging server. 
IPtables is setup to block all non-application traffic, so the risks are low.

More likely to have systems compromised through the applications they run then 
the system utilities themselves.

-Ross

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


[CentOS] PDF Reader/Editor for CentOS 5.7 (32 bit)?

2011-09-20 Thread Lanny Marcus
I had, in the past, a .pdf reader that also permitted me to fill in
some information, when I received a .pdf file.

I have KPDF installed, but that seems to only have Reader capability.

Trying to install xpdf, with yum, I get this dependency error from rpmforge:
1:xpdf-3.02-8.el5.rf.i386 from rpmforge has depsolving problems
  --> Missing Dependency: libXm.so.4 is needed by package
1:xpdf-3.02-8.el5.rf.i386 (rpmforge)
Error: Missing Dependency: libXm.so.4 is needed by package 1:xpdf-3.02-8.el5.rf.

Then, if I try to yum install libXm.so.4 I get this error:
No package libXm.so.4 available.

Received a contract via email and I would like to add some information
and send it back via email.

If someone can recommend a Package that I can install, that will be
appreciated. Hopefully, something as easy to use as what I had before.
It just worked.  :-) Unfortunately, I cannot remember which package it
was. :-)

TIA! Lanny
http://www.magazines-magazine.com/
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] LVM lvresize/lvextend requires some space in /etc to grow a logical volume?

2011-09-20 Thread m . roth
Johnny Tan wrote:

> Anyway, here's the real issue with LVM, at least in CentOS-6:
>
> [root@jttest ~]# df
> Filesystem   1K-blocks  Used Available Use% Mounted on
> /dev/mapper/vg_main-lv_root
>1548144   1548144 0 100% /
>
> [root@jttest ~]# lvextend -L 2G /dev/vg_main/lv_root
>   /etc/lvm/archive/.lvm_jttest.pp.local_5523_51321310: write error
> failed: No space left on device
>   Volume group "vg_main" metadata archive failed.
>   /etc/lvm/cache/.cache.tmp: write error failed: No space left on device
>
> So I can't extend a logical volume if there's no space in /etc?

Um, just how do you have your system partitioned? I've never seen /etc on
its own partition; it's on the same partition as /... and if so, and
*that's* full, you've got a much bigger problem.

mark

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


Re: [CentOS] 6.1 Update request

2011-09-20 Thread Bruce Bowler
Karanbir Singh  writes:

> 
> On 09/14/2011 10:30 PM, Digimer wrote:
> > Hi devs,

[snip]

> unless someone else gets to it before me, I will get together a plan and
> post it up there ( but not today and perhaps not tomorrow either ).
> 
> Step-1, get the major security stuff into 6.0/cr/.



Any update on when the update might be updated :-)

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


Re: [CentOS] eth enumeration order

2011-09-20 Thread m . roth
Volker Poplawski wrote:
> On 19.09.2011 23:48, Robert Spangler wrote:
>> On Monday 19 September 2011 11:04, the following was written:
>>
>>>   So
>>>   How do you specifiy the order in which NICs are enumerated?
>>>   or at least how to tell centos to stop messing with the
>>>   70-persistent-net.rules?
>>
>> Add the hardware addresses to their ifcfg-eth# files.
>>
>> HWADDR=xx:xx:xx:xx:xx:xx
>
> That's it?! What about udev?

You can put the hardware address in 70-persistant-net.rules.

mark

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


Re: [CentOS] PDF Reader/Editor for CentOS 5.7 (32 bit)?

2011-09-20 Thread m . roth
Lanny Marcus wrote:
> I had, in the past, a .pdf reader that also permitted me to fill in
> some information, when I received a .pdf file.
>
> I have KPDF installed, but that seems to only have Reader capability.
>
> Trying to install xpdf, with yum, I get this dependency error from
> rpmforge:

Possibly evince, which may already be installed.

 mark

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


Re: [CentOS] PDF Reader/Editor for CentOS 5.7 (32 bit)?

2011-09-20 Thread Nicolas Thierry-Mieg
Lanny Marcus wrote:
> I had, in the past, a .pdf reader that also permitted me to fill in
> some information, when I received a .pdf file.
>
> I have KPDF installed, but that seems to only have Reader capability.
>
> Trying to install xpdf, with yum, I get this dependency error from rpmforge:
> 1:xpdf-3.02-8.el5.rf.i386 from rpmforge has depsolving problems
>-->  Missing Dependency: libXm.so.4 is needed by package
> 1:xpdf-3.02-8.el5.rf.i386 (rpmforge)
> Error: Missing Dependency: libXm.so.4 is needed by package 
> 1:xpdf-3.02-8.el5.rf.
>
> Then, if I try to yum install libXm.so.4 I get this error:
> No package libXm.so.4 available.

libXm.so.4 is provided by package openmotif, which is present in C5 for 
x86_64. Can't see it in the i386 repo. Looks like something is broken 
for 5.7/base i386?
The i386 version of the package is present in the x86_64 repo though...
So you can get it from there.
You can even get a newer version than the one included in 5.7/base, by 
going to 5.6/updates in the vault. I guess this one will end up in 
5.6/updates at some point.

For your purpose though, I'm not sure xpdf can edit pdfs. When I have to 
do that I use AdobeReader from the adobe site.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] PDF Reader/Editor for CentOS 5.7 (32 bit)?

2011-09-20 Thread samuel machua
On Tue, 20 Sep 2011 10:04:20 -0400
m.r...@5-cent.us wrote:

> Lanny Marcus wrote:
> > I had, in the past, a .pdf reader that also permitted me to fill in
> > some information, when I received a .pdf file.
> >
> > I have KPDF installed, but that seems to only have Reader
> > capability.
> >
> > Trying to install xpdf, with yum, I get this dependency error from
> > rpmforge:
> 
> Possibly evince, which may already be installed.
> 
>  mark
> 
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos

LibreOffice 3 comes with a PDF Import plugin which allows you to edit
PDF's with draw and save as pdf.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] PDF Reader/Editor for CentOS 5.7 (32 bit)?

2011-09-20 Thread Robert Heller
At Tue, 20 Sep 2011 10:25:44 -0400 CentOS mailing list  
wrote:

> 
> On Tue, 20 Sep 2011 10:04:20 -0400
> m.r...@5-cent.us wrote:
> 
> > Lanny Marcus wrote:
> > > I had, in the past, a .pdf reader that also permitted me to fill in
> > > some information, when I received a .pdf file.
> > >
> > > I have KPDF installed, but that seems to only have Reader
> > > capability.
> > >
> > > Trying to install xpdf, with yum, I get this dependency error from
> > > rpmforge:
> > 
> > Possibly evince, which may already be installed.
> > 
> >  mark
> > 
> > ___
> > CentOS mailing list
> > CentOS@centos.org
> > http://lists.centos.org/mailman/listinfo/centos
> 
> LibreOffice 3 comes with a PDF Import plugin which allows you to edit
> PDF's with draw and save as pdf.

I think what the OP wants is a program that can deal with the Adobe's
'Fill In Form' type of PDF.  The PDF Toolkit (I have
pdftk-1.12-1.el4.rf.i386.rpm on my system -- for CentOS 4 and don't
know if a el5 version exists) has a CLI program that can do this (you
need to dump the form information and create a FDF file).  Otherwise, I
believe Adobe's Reader is the only program available that does this
with a GUI.  I don't believe xpdf can do this and what OpenOffice /
LibreOffice do is something else (an import of the PDF in the writer
tool as a word processing document or something, which can then be
edited and re-exported as a PDF).

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

-- 
Robert Heller -- 978-544-6933 / hel...@deepsoft.com
Deepwoods Software-- http://www.deepsoft.com/
()  ascii ribbon campaign -- against html e-mail
/\  www.asciiribbon.org   -- against proprietary attachments



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


Re: [CentOS] PDF Reader/Editor for CentOS 5.7 (32 bit)?

2011-09-20 Thread Scott Robbins
On Tue, Sep 20, 2011 at 04:04:41PM +0200, Nicolas Thierry-Mieg wrote:


> 
> For your purpose though, I'm not sure xpdf can edit pdfs. When I have to 
> do that I use AdobeReader from the adobe site.

xpdf cannot edit pdfs.


-- 
Scott Robbins
PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6

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


Re: [CentOS] PDF Reader/Editor for CentOS 5.7 (32 bit)?

2011-09-20 Thread John Doe
From: Lanny Marcus 

> Trying to install xpdf, with yum, I get this dependency error from rpmforge:
> 1:xpdf-3.02-8.el5.rf.i386 from rpmforge has depsolving problems
>   --> Missing Dependency: libXm.so.4 is needed by package
> 1:xpdf-3.02-8.el5.rf.i386 (rpmforge)
> Error: Missing Dependency: libXm.so.4 is needed by package 
> 1:xpdf-3.02-8.el5.rf.
> Then, if I try to yum install libXm.so.4 I get this error:
> No package libXm.so.4 available.

"libXm.so.4" is a dependency; not a package name.

# yum whatprovides \*libXm.so\*
...
openmotif22-2.2.3-18.i386 : Open Motif runtime libraries and executables
Repo    : base
Matched from:
Filename    : /usr/lib/libXm.so.3
Filename    : /usr/lib/libXm.so.3.0.2
Other   : libXm.so.3

So apparently no "libXm.so.4" in base, repoforge or elrepo...
You could ask in the repoforge mailing list.

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


Re: [CentOS] PDF Reader/Editor for CentOS 5.7 (32 bit)?

2011-09-20 Thread Mogens Kjaer
On 09/20/2011 04:40 PM, John Doe wrote:
> So apparently no "libXm.so.4" in base, repoforge or elrepo...

There's a 32 bit version of openmotif in CentOS 5.7 x86_64.

It would probably need a few extra rpm's as well.

Mogens

-- 
Mogens Kjaer, m...@lemo.dk
http://www.lemo.dk
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] PDF Reader/Editor for CentOS 5.7 (32 bit)?

2011-09-20 Thread m . roth
Robert Heller wrote:
> At Tue, 20 Sep 2011 10:25:44 -0400 CentOS mailing list 
> wrote:
>> m.r...@5-cent.us wrote:
>> > Lanny Marcus wrote:
>> > > I had, in the past, a .pdf reader that also permitted me to fill in
>> > > some information, when I received a .pdf file.
>> > >
>> > > I have KPDF installed, but that seems to only have Reader
>> > > capability.
>> > >
>> > > Trying to install xpdf, with yum, I get this dependency error from
>> > > rpmforge:
>> > 
>> > Possibly evince, which may already be installed.
>>
>> LibreOffice 3 comes with a PDF Import plugin which allows you to edit
>> PDF's with draw and save as pdf.
>
> I think what the OP wants is a program that can deal with the Adobe's
> 'Fill In Form' type of PDF.  The PDF Toolkit (I have

I was assuming that a) the form is a fill-in-certain-fields type form, not
that he wanted to edit the form itself, and b) that he had some reason for
not wanting Adobe Reader on his system, which of course allows you to fill
in the blanks. Our answer to saving that, which Adobe doesn't want you to
do, is to print it to the pdfprinter driver. It's uneditable after that,
of course.

 mark

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


Re: [CentOS] PDF Reader/Editor for CentOS 5.7 (32 bit)?

2011-09-20 Thread Akemi Yagi
On Tue, Sep 20, 2011 at 8:18 AM, Mogens Kjaer  wrote:
> On 09/20/2011 04:40 PM, John Doe wrote:
>> So apparently no "libXm.so.4" in base, repoforge or elrepo...
>
> There's a 32 bit version of openmotif in CentOS 5.7 x86_64.

Right, as Nicolas pointed out in his post, openmotif 32-bit is missing
in the CentOS 5.7 i386 repo. I suppose/hope this will be corrected
sometime soon ...

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


Re: [CentOS] PDF Reader/Editor for CentOS 5.7 (32 bit)?

2011-09-20 Thread Lanny Marcus
On Tue, Sep 20, 2011 at 8:35 AM, Lanny Marcus  wrote:
> I had, in the past, a .pdf reader that also permitted me to fill in
> some information, when I received a .pdf file.
>

> Received a contract via email and I would like to add some information
> and send it back via email.
>
THANK YOU, to each of you who replied, and for the information you provided!

Evince Document Viewer cannot do form filling.
KPDF (based on xpdf) cannot do form filling.
KGhostView cannot do form filling.

I installed pdfedit, a pdf editor, which can do it. This is not what I
used before, which apparently was a pdf reader with form filling
ability, but, this works.  :-)

Probably a PDF Editor is not what I was looking for, but a PDF Form
Filler is it.

Adobe Reader I would gladly install, if I knew the proper yum command.
I have the Adobe Repository installed, but so far, no joy, getting yum
to install it.  :-)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] PDF Reader/Editor for CentOS 5.7 (32 bit)?

2011-09-20 Thread Rob Kampen



Lanny Marcus wrote:

On Tue, Sep 20, 2011 at 8:35 AM, Lanny Marcus  wrote:
  

I had, in the past, a .pdf reader that also permitted me to fill in
some information, when I received a .pdf file.




  

Received a contract via email and I would like to add some information
and send it back via email.



THANK YOU, to each of you who replied, and for the information you provided!

Evince Document Viewer cannot do form filling.
KPDF (based on xpdf) cannot do form filling.
KGhostView cannot do form filling.

I installed pdfedit, a pdf editor, which can do it. This is not what I
used before, which apparently was a pdf reader with form filling
ability, but, this works.  :-)

Probably a PDF Editor is not what I was looking for, but a PDF Form
Filler is it.

Adobe Reader I would gladly install, if I knew the proper yum command.
I have the Adobe Repository installed, but so far, no joy, getting yum
to install it.  :-)
  

This is the repo:
[adobe-linux-i386]
name=Adobe Systems Incorporated
baseurl=http://linuxdownload.adobe.com/linux/i386/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux
exclude=flash

and the rpm file is AdobeReader_enu
HTH


___
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] PDF Reader/Editor for CentOS 5.7 (32 bit)?

2011-09-20 Thread Robert Nichols
On 09/20/2011 10:58 AM, Lanny Marcus wrote:
> Adobe Reader I would gladly install, if I knew the proper yum command.
> I have the Adobe Repository installed, but so far, no joy, getting yum
> to install it.  :-)

With the Adobe repository installed, "yum search adobereader" should give
you a list of candidates, one of which has it's description in English,
strongly suggesting that "AdobeReader_enu" is what you want.  Note that
this will be a 32-bit application, so it will bring in a lot of 32-bit
library dependencies if you're installing it on a 64-bit system.

-- 
Bob Nichols "NOSPAM" is really part of my email address.
 Do NOT delete it.

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


Re: [CentOS] PDF Reader/Editor for CentOS 5.7 (32 bit)?

2011-09-20 Thread m . roth
Lanny Marcus wrote:
> On Tue, Sep 20, 2011 at 8:35 AM, Lanny Marcus 
> wrote:
>> I had, in the past, a .pdf reader that also permitted me to fill in
>> some information, when I received a .pdf file.
>>
> 
>> Received a contract via email and I would like to add some information
>> and send it back via email.
>>
> THANK YOU, to each of you who replied, and for the information you
> provided!
>
> Evince Document Viewer cannot do form filling.

It actually can, though I'm a) not sure if the version current with CentOS
5.x can, and b) it can sometimes be quirky.

> I installed pdfedit, a pdf editor, which can do it. This is not what I
> used before, which apparently was a pdf reader with form filling
> ability, but, this works.  :-)
>
Not familiar with that - I'll have to look at it.

> Adobe Reader I would gladly install, if I knew the proper yum command.
> I have the Adobe Repository installed, but so far, no joy, getting yum
> to install it.  :-)

yum install AdobeReader_enu

 mark

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


Re: [CentOS] PDF Reader/Editor for CentOS 5.7 (32 bit)?

2011-09-20 Thread Craig White

On Sep 20, 2011, at 9:36 AM, m.r...@5-cent.us wrote:

> Lanny Marcus wrote:
>> On Tue, Sep 20, 2011 at 8:35 AM, Lanny Marcus 
>> wrote:
>>> I had, in the past, a .pdf reader that also permitted me to fill in
>>> some information, when I received a .pdf file.
>>> 
>> 
>>> Received a contract via email and I would like to add some information
>>> and send it back via email.
>>> 
>> THANK YOU, to each of you who replied, and for the information you
>> provided!
>> 
>> Evince Document Viewer cannot do form filling.
> 
> It actually can, though I'm a) not sure if the version current with CentOS
> 5.x can, and b) it can sometimes be quirky.
> 
>> I installed pdfedit, a pdf editor, which can do it. This is not what I
>> used before, which apparently was a pdf reader with form filling
>> ability, but, this works.  :-)
>> 
> Not familiar with that - I'll have to look at it.
> 
>> Adobe Reader I would gladly install, if I knew the proper yum command.
>> I have the Adobe Repository installed, but so far, no joy, getting yum
>> to install it.  :-)
> 
> yum install AdobeReader_enu

everyone apparently assumes that he wants the Universal English but he lives in 
a country where Spanish is the norm.

'yum search AdobeReader' should give a wide variety of versions including 
AdobeReader.esp which is probably what the OP wants.

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


[CentOS] is oprofile working on CENTOS 6.0 ?

2011-09-20 Thread William Reich
Hi

 

I am trying to use oprofile with centos 6.0.

 

I know that the debug-info for the kernel is not available, so I believe
I 

used the correct switches to account for this.

 

here is my script...

 

# reset everything

opcontrol   --shutdown

rm /root/.oprofile/da*

opcontrol   --separate=kernel  --no-vmlinux

opcontrol   --event=CPU_CLK_UNHALTED:10

opcontrol   --start

sleep 5

opcontrol --reset

echo "sleeping now"

sleep 20

opcontrol -stop

# all done - use the data with opreport...

echo " "

echo " "

 

 

When I run this on a CENTOS 6 machine, the machine hangs.

There is no visible panic on the console nor the serial port.

This is 100% repeatable. I tried multiple machines.

I am using a DELL 2850.

 

Any help would be appreciated.

 

wr

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


Re: [CentOS] is oprofile working on CENTOS 6.0 ?

2011-09-20 Thread William Reich
I was using oprofile 0.9.6-7   on a 64bit computer.

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


[CentOS] selinux policy remnant according to /bin/ls on CentOS 6.0 box

2011-09-20 Thread Jon Detert
I installed CentOS 6.0 on 2 different x86_64 boxen.  Both originally had 
selinux installed and enabled.  I never touched selinux other than to remove as 
much of it as I could via rpm -e.  As far as I can tell, here are the remaining 
packages that have something to do with it:

# rpm -qa | grep -iE 'sel|pol'
checkpolicy-2.0.22-1.el6.x86_64
libselinux-2.0.94-2.el6.x86_64
libsepol-2.0.41-3.el6.x86_64
polkit-0.96-2.el6_0.1.x86_64
#

Both boxen have those packages.

However:

1) box1 still has files in /selinux whereas box2's /selinux is empty;
2) ls -l on box1 shows a '.' at the end of file/directory, which means a 
SELinux security context applies, according to 
https://fedoraproject.org/wiki/Fedora_11_FAQ#Why_does_ls_show_a_dot_.28..29_or_a_plus_.28.2B.29_at_the_end_on_the_file_modes_for_some_files.3F
 

Any idea why box1 still seems to have an selinux policy applied, and how to 
un-apply it?

Thanks,

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


Re: [CentOS] selinux policy remnant according to /bin/ls on CentOS 6.0 box

2011-09-20 Thread James Edwards
On 9/20/2011 1:48 PM, Jon Detert wrote:
> I installed CentOS 6.0 on 2 different x86_64 boxen.  Both originally had 
> selinux installed and enabled.  I never touched selinux other than to remove 
> as much of it as I could via rpm -e.  As far as I can tell, here are the 
> remaining packages that have something to do with it:
>
> # rpm -qa | grep -iE 'sel|pol'
> checkpolicy-2.0.22-1.el6.x86_64
> libselinux-2.0.94-2.el6.x86_64
> libsepol-2.0.41-3.el6.x86_64
> polkit-0.96-2.el6_0.1.x86_64
> #
>
> Both boxen have those packages.
>
> However:
>
> 1) box1 still has files in /selinux whereas box2's /selinux is empty;
> 2) ls -l on box1 shows a '.' at the end of file/directory, which means a 
> SELinux security context applies, according to 
> https://fedoraproject.org/wiki/Fedora_11_FAQ#Why_does_ls_show_a_dot_.28..29_or_a_plus_.28.2B.29_at_the_end_on_the_file_modes_for_some_files.3F
>
> Any idea why box1 still seems to have an selinux policy applied, and how to 
> un-apply it?
>
> Thanks,
>
> Jon
>
Did you disable SELinux by changing 'SELINUX=disabled' in 
/etc/sysconfig/selinux?  Wouldn't that be easier than removing all the 
RPMs?  If I may ask, is there a reason to removing the packages?

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


Re: [CentOS] selinux policy remnant according to /bin/ls on CentOS 6.0 box

2011-09-20 Thread Jon Detert
- Original Message -
> From: "James Edwards" 
> To: centos@centos.org
> Sent: Tuesday, September 20, 2011 12:52:34 PM
> Subject: Re: [CentOS] selinux policy remnant according to /bin/ls on CentOS 
> 6.0 box
> 
> On 9/20/2011 1:48 PM, Jon Detert wrote:
> > I installed CentOS 6.0 on 2 different x86_64 boxen.  Both
> > originally had selinux installed and enabled.  I never touched
> > selinux other than to remove as much of it as I could via rpm -e.
> >  As far as I can tell, here are the remaining packages that have
> > something to do with it:

-- snip --

> > However:
> >
> > 1) box1 still has files in /selinux whereas box2's /selinux is
> > empty;
> > 2) ls -l on box1 shows a '.' at the end of file/directory, which
> > means a SELinux security context applies, according to
> > https://fedoraproject.org/wiki/Fedora_11_FAQ#Why_does_ls_show_a_dot_.28..29_or_a_plus_.28.2B.29_at_the_end_on_the_file_modes_for_some_files.3F
> >
> > Any idea why box1 still seems to have an selinux policy applied,
> > and how to un-apply it?
> >
> > Thanks,
> >
> > Jon
> >
> Did you disable SELinux by changing 'SELINUX=disabled' in
> /etc/sysconfig/selinux?  Wouldn't that be easier than removing all

I did not do so explicitly.  But it is set to disabled as described above.
I assume the rpm -e did that.  So, there must be some other step missing.

As to that being easier: perhaps, had I known that file/setting existed.

> the
> RPMs?  If I may ask, is there a reason to removing the packages?

I do not plan to use them.

Less is more, right? 
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] selinux policy remnant according to /bin/ls on CentOS 6.0 box

2011-09-20 Thread James Edwards
On 9/20/2011 2:14 PM, Jon Detert wrote:
>> Did you disable SELinux by changing 'SELINUX=disabled' in
>> /etc/sysconfig/selinux?  Wouldn't that be easier than removing all
> I did not do so explicitly.  But it is set to disabled as described above.
> I assume the rpm -e did that.  So, there must be some other step missing.
>
> As to that being easier: perhaps, had I known that file/setting existed.
It has been my experience that after after disabling SELinux,  all that 
is then required is a reboot.  Alternatively, running 'setenforce 0', 
will disable it immediately.
>> the
>> RPMs?  If I may ask, is there a reason to removing the packages?
> I do not plan to use them.
>
> Less is more, right?
I went back and reread your original question, and I realized you had 
already answered that.  Anyway, you are correct, less is more.

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


[CentOS] Finding i/o bottleneck

2011-09-20 Thread Nicolas Ross
Hi list !

We have a very busy webserver hosted in a clustered environment where the 
document root and data is on a GFS2 partition off a fiber-attached disk 
array.

Now on busy moments, I can see in htop, nmon that there is a fair percentage 
of cpu that is waiting for I/O. In nmon, I can spot that the most busy block 
device correspond to our gfs2 partition where many times, it shows that it's 
100% busy and is read all along.

Now, I want to know what files are being waited for. With lsof I can get a 
listing of open files, but it doesn't gives me if a file is just opended in 
ram or if it's being waited for...

What tools besides lsof, nmon, htop, atop can help me find that info ?

I am under RHEL/CentOS 6.1.

Thanks 

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


[CentOS] Installation of 6.0

2011-09-20 Thread Al Sparks


Some observations.

When I installed 6.0 (base install), the installation interface did not guide 
me through a network configuration.  I do static IP addresses, not DHCP.

I ended up manually configuring the various /etc/sysconfig files.  I forgot to 
do the GATEWAY configuration and it took me awhile to figure out why I wasn't 
able to connect to the server from outside the LAN.

I also forgot to do the DNS settings.  It's deja-vu all over again, going back 
to the older Red Hat Linux distros.

Anyway, I wasn't able to find a configuration program like "netconfig" to help 
me out.  Seems like a pretty big omission.

Any thoughts?  Am I missing something?

    === Al

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


Re: [CentOS] Installation of 6.0

2011-09-20 Thread Emmanuel Noobadmin
On 9/21/11, Al Sparks  wrote:
>
> Some observations.
>
> When I installed 6.0 (base install), the installation interface did not
> guide me through a network configuration.  I do static IP addresses, not
> DHCP.

IIRC, it's in this small unobstrusive rectangular box that says "Setup
Networking" or something like that in the lower left corner in the
screen that ask for hostname. I'm not sure if this was the way
upstream or adjustments made by the CentOS devs, but I'm guessing that
the assumption is most people are going for DHCP-based installs so it
saves some time.

> Anyway, I wasn't able to find a configuration program like "netconfig" to
> help me out.  Seems like a pretty big omission.
>
> Any thoughts?  Am I missing something?

I think it's been mentioned that was taken out. In any case, I've been
getting used to turning off NetworkManager and editing ifcfg-xxx and
/etc/resolv. Compared to obscurities like samba and libvirt, I'll say
these are pretty doable in nano.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] PDF Reader/Editor for CentOS 5.7 (32 bit)?

2011-09-20 Thread Lanny Marcus
On Tue, Sep 20, 2011 at 11:07 AM, Rob Kampen  wrote:
> Lanny Marcus wrote:
>> On Tue, Sep 20, 2011 at 8:35 AM, Lanny Marcus 
>>> I had, in the past, a .pdf reader that also permitted me to fill in
>>> some information, when I received a .pdf file.
>> 
> and the rpm file is AdobeReader_enu

Thank you!  I had the Repository installed, but didn't have the
correct name for the package. The 61 MB download should finish in a
minute or two. I need to leave now, but will check it out later.
Thanks again to everyone! Lanny
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Installation of 6.0

2011-09-20 Thread Craig White

On Sep 20, 2011, at 12:07 PM, Al Sparks wrote:

> 
> 
> Some observations.
> 
> When I installed 6.0 (base install), the installation interface did not guide 
> me through a network configuration.  I do static IP addresses, not DHCP.
> 
> I ended up manually configuring the various /etc/sysconfig files.  I forgot 
> to do the GATEWAY configuration and it took me awhile to figure out why I 
> wasn't able to connect to the server from outside the LAN.
> 
> I also forgot to do the DNS settings.  It's deja-vu all over again, going 
> back to the older Red Hat Linux distros.
> 
> Anyway, I wasn't able to find a configuration program like "netconfig" to 
> help me out.  Seems like a pretty big omission.
> 
> Any thoughts?  Am I missing something?

No doubt...

assuming that you used anaconda to interactively guide you through the install 
(the default - not kickstart), after the installation completed and the 
computer restarts, you should have been led through 'firstboot' which would 
have you configure:
- time (date/time/timezone/time server)
- security (iptables firewall)
- selinux
- networking
  - static or dynamic
  - hostname
  - dns resolution (/etc/resolv.conf)
  - hosts (/etc/hosts)
- users
  - authentication
  - create the first user (non-root)

Guessing that you didn't look/watch the console on first boot but rather used 
ssh to connect from another station. If you haven't rebooted the system since 
the first boot, hook up a monitor/keyboard/mouse and see.

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


Re: [CentOS] is oprofile working on CENTOS 6.0 ?

2011-09-20 Thread William Reich
I did a 

 

opcontrol  --deinit

and

echo 0 > /proc/sys/kernel/nmi_watchdog

 

and then ran the script and everything seems to work now.

 

 

wr

 

From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On
Behalf Of William Reich
Sent: Tuesday, September 20, 2011 1:23 PM
To: centos@centos.org
Subject: [CentOS] is oprofile working on CENTOS 6.0 ?

 

Hi

 

I am trying to use oprofile with centos 6.0.

 

I know that the debug-info for the kernel is not available, so I believe
I 

used the correct switches to account for this.

 

here is my script...

 

# reset everything

opcontrol   --shutdown

rm /root/.oprofile/da*

opcontrol   --separate=kernel  --no-vmlinux

opcontrol   --event=CPU_CLK_UNHALTED:10

opcontrol   --start

sleep 5

opcontrol --reset

echo "sleeping now"

sleep 20

opcontrol -stop

# all done - use the data with opreport...

echo " "

echo " "

 

 

When I run this on a CENTOS 6 machine, the machine hangs.

There is no visible panic on the console nor the serial port.

This is 100% repeatable. I tried multiple machines.

I am using a DELL 2850.

 

Any help would be appreciated.

 

wr

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


Re: [CentOS] selinux policy remnant according to /bin/ls on CentOS 6.0 box

2011-09-20 Thread Robert Nichols
On 09/20/2011 12:48 PM, Jon Detert wrote:
> I installed CentOS 6.0 on 2 different x86_64 boxen.  Both originally had 
> selinux installed and enabled.  I never touched selinux other than to remove 
> as much of it as I could via rpm -e.  As far as I can tell, here are the 
> remaining packages that have something to do with it:
>
> # rpm -qa | grep -iE 'sel|pol'
> checkpolicy-2.0.22-1.el6.x86_64
> libselinux-2.0.94-2.el6.x86_64
> libsepol-2.0.41-3.el6.x86_64
> polkit-0.96-2.el6_0.1.x86_64
> #
>
> Both boxen have those packages.
>
> However:
>
> 1) box1 still has files in /selinux whereas box2's /selinux is empty;
> 2) ls -l on box1 shows a '.' at the end of file/directory,
...

Each inode in the file system still has a security attribute attached.
You need to walk through the file system and remove them, one at a
time:

   #!/bin/sh
   if [ "$1" = -v ]; then
 verbose=y
 shift
   else
 verbose=n
   fi

   for F in "$@";do
 if [ -n "$(getfattr --absolute-names -n security.selinux "$F" 
2>/dev/null)" 
]; then
   [ $verbose = y ] && echo "$F"
   setfattr -x security.selinux "$F"
 fi
   done

-- 
Bob Nichols "NOSPAM" is really part of my email address.
 Do NOT delete it.

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


Re: [CentOS] Installation of 6.0

2011-09-20 Thread Robert Nichols
On 09/20/2011 02:49 PM, Craig White wrote:
>
> On Sep 20, 2011, at 12:07 PM, Al Sparks wrote:
>
>>
>>
>> Some observations.
>>
>> When I installed 6.0 (base install), the installation interface did not 
>> guide me through a network configuration.  I do static IP addresses, not 
>> DHCP.
>>
>> I ended up manually configuring the various /etc/sysconfig files.  I forgot 
>> to do the GATEWAY configuration and it took me awhile to figure out why I 
>> wasn't able to connect to the server from outside the LAN.
>>
>> I also forgot to do the DNS settings.  It's deja-vu all over again, going 
>> back to the older Red Hat Linux distros.
>>
>> Anyway, I wasn't able to find a configuration program like "netconfig" to 
>> help me out.  Seems like a pretty big omission.
>>
>> Any thoughts?  Am I missing something?
> 
[SNIP]
>
> Guessing that you didn't look/watch the console on first boot but rather used 
> ssh to connect from another station. If you haven't rebooted the system since 
> the first boot, hook up a monitor/keyboard/mouse and see.

Operation of the firstboot script depends on having a GUI installed.  It
doesn't get executed if you installed just the base system.

-- 
Bob Nichols "NOSPAM" is really part of my email address.
 Do NOT delete it.

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


Re: [CentOS] Installation of 6.0

2011-09-20 Thread Lamar Owen
On Tuesday, September 20, 2011 04:44:35 PM Robert Nichols wrote:
> On 09/20/2011 02:49 PM, Craig White wrote:
> > Guessing that you didn't look/watch the console on first boot but rather 
> > used ssh to connect from another station. If you haven't rebooted the 
> > system since the first boot, hook up a monitor/keyboard/mouse and see.
> 
> Operation of the firstboot script depends on having a GUI installed.  It
> doesn't get executed if you installed just the base system.

Actually, this isn't correct.  On my RHEL 6.1 system, on firstboot with a 
non-GUI console a curses-based (or a reasonable facsimile of a curses-based) 
text-mode configurator came up, and allowed me to configure networking and a 
number of other items.  Do an install without GUI (not necessarily a minimal 
install, but a server install) and see what comes up on first boot.  Like I 
said, that's what my RHEL 6.1 box did on first boot.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Installation of 6.0

2011-09-20 Thread Craig White

On Sep 20, 2011, at 1:44 PM, Robert Nichols wrote:

> On 09/20/2011 02:49 PM, Craig White wrote:
>> 
>> On Sep 20, 2011, at 12:07 PM, Al Sparks wrote:
>> 
>>> 
>>> 
>>> Some observations.
>>> 
>>> When I installed 6.0 (base install), the installation interface did not 
>>> guide me through a network configuration.  I do static IP addresses, not 
>>> DHCP.
>>> 
>>> I ended up manually configuring the various /etc/sysconfig files.  I forgot 
>>> to do the GATEWAY configuration and it took me awhile to figure out why I 
>>> wasn't able to connect to the server from outside the LAN.
>>> 
>>> I also forgot to do the DNS settings.  It's deja-vu all over again, going 
>>> back to the older Red Hat Linux distros.
>>> 
>>> Anyway, I wasn't able to find a configuration program like "netconfig" to 
>>> help me out.  Seems like a pretty big omission.
>>> 
>>> Any thoughts?  Am I missing something?
>> 
> [SNIP]
>> 
>> Guessing that you didn't look/watch the console on first boot but rather 
>> used ssh to connect from another station. If you haven't rebooted the system 
>> since the first boot, hook up a monitor/keyboard/mouse and see.
> 
> Operation of the firstboot script depends on having a GUI installed.  It
> doesn't get executed if you installed just the base system.

actually, I haven't installed RHEL or CentOS v 6.x at all - just going on 
recollection but even if it boots text mode, it still seemed to run a firstboot 
configuration program.

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


Re: [CentOS] eth enumeration order

2011-09-20 Thread Robert Spangler
On Tuesday 20 September 2011 04:10, the following was written:

>  On 19.09.2011 23:48, Robert Spangler wrote:
>  > On Monday 19 September 2011 11:04, the following was written:
>  >>   So
>  >>   How do you specifiy the order in which NICs are enumerated?
>  >>   or at least how to tell centos to stop messing with the
>  >>   70-persistent-net.rules?
>  >
>  > Add the hardware addresses to their ifcfg-eth# files.
>  >
>  > HWADDR=xx:xx:xx:xx:xx:xx
>
>  That's it?! What about udev?

Do not know.  Never had to touch udev rules for my network.


-- 

Regards
Robert

Linux
The adventure of a lifetime.

Linux User #296285
Get Counted
http://linuxcounter.net/
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Installation of 6.0

2011-09-20 Thread Robert Spangler
On Tuesday 20 September 2011 17:39, the following was written:

>  On Tuesday, September 20, 2011 04:44:35 PM Robert Nichols wrote:
>  > On 09/20/2011 02:49 PM, Craig White wrote:
>  > > Guessing that you didn't look/watch the console on first boot but
>  > > rather used ssh to connect from another station. If you haven't
>  > > rebooted the system since the first boot, hook up a
>  > > monitor/keyboard/mouse and see.
>  >
>  > Operation of the firstboot script depends on having a GUI installed.  It
>  > doesn't get executed if you installed just the base system.
>
>  Actually, this isn't correct.  On my RHEL 6.1 system, on firstboot with a
> non-GUI console a curses-based (or a reasonable facsimile of a
> curses-based) text-mode configurator came up, and allowed me to configure
> networking and a number of other items.  Do an install without GUI (not
> necessarily a minimal install, but a server install) and see what comes up
> on first boot.  Like I said, that's what my RHEL 6.1 box did on first boot.

I guess it would all depend on what ISO you are using then because I built a 
new system this weekend using 'CentOS-6.0-x86_64-minimal.iso' and upon reboot 
I never get anything for first boot.  I had to edit my configuration files by 
hand to get the system online.

NetworkManager is a POS and should be dropped.
Of course this is my opinion and I stand by it.


-- 

Regards
Robert

Linux
The adventure of a lifetime.

Linux User #296285
Get Counted
http://linuxcounter.net/
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Finding i/o bottleneck

2011-09-20 Thread Chad Gross
Hi Nicolas,

While this doesn't exactly answer your question, I was wondering what
scheduler you were using on your GFS2 (Note: I have not used this file
system before) block. You can find this by issuing 'cat /sys/block//queue/scheduler' ?

By default the system uses cfq, which will show up as [cfq] when catting the
scheduler as I showed above. This is not the most optimal scheduler for a
webserver. In most cases you'd be better off with deadline or noop. Not
being familiar with GFS2 myself, I did skim this article, which makes me
think noop would be the better choice:

http://www.redhat.com/archives/linux-cluster/2010-June/msg00027.html

 This could be why you are seeing the processes waiting on I/O.


Chad M. Gross


On Tue, Sep 20, 2011 at 2:55 PM, Nicolas Ross wrote:

> Hi list !
>
> We have a very busy webserver hosted in a clustered environment where the
> document root and data is on a GFS2 partition off a fiber-attached disk
> array.
>
> Now on busy moments, I can see in htop, nmon that there is a fair
> percentage
> of cpu that is waiting for I/O. In nmon, I can spot that the most busy
> block
> device correspond to our gfs2 partition where many times, it shows that
> it's
> 100% busy and is read all along.
>
> Now, I want to know what files are being waited for. With lsof I can get a
> listing of open files, but it doesn't gives me if a file is just opended in
> ram or if it's being waited for...
>
> What tools besides lsof, nmon, htop, atop can help me find that info ?
>
> I am under RHEL/CentOS 6.1.
>
> Thanks
>
> ___
> 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] Installation of 6.0

2011-09-20 Thread Al Sparks
> I guess it would all depend on what ISO you are using then because I built a
> new system this weekend using 'CentOS-6.0-x86_64-minimal.iso' and upon reboot
> I never get anything for first boot.  I had to edit my configuration files by
> hand to get the system online.
> 
> NetworkManager is a POS and should be dropped.
> Of course this is my opinion and I stand by it.

I wouldn't care.  I can go back to the old way of doing things.  But I have too 
many Windows
admins that dabble in the Linux space  (CentOS really) and I really don't need 
the whining.
    === Al

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


Re: [CentOS] Installation of 6.0

2011-09-20 Thread Robert Nichols
On 09/20/2011 04:43 PM, Craig White wrote:
>> Operation of the firstboot script depends on having a GUI installed.  It
>> doesn't get executed if you installed just the base system.
> 
> actually, I haven't installed RHEL or CentOS v 6.x at all - just going on 
> recollection but even if it boots text mode, it still seemed to run a 
> firstboot configuration program.

That hasn't been my experience, and the RHEL 6 Installation Guide says:

   "The first time you start your Red Hat Enterprise Linux system in run
level 5 (the graphical run level), the FirstBoot tool appears, which
guides you through the Red Hat Enterprise Linux configuration."

-- 
Bob Nichols "NOSPAM" is really part of my email address.
 Do NOT delete it.

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


Re: [CentOS] mdadm and drive identification?

2011-09-20 Thread Philip Pinto
You might want to try

smartctl -a /dev/sda it would report something like this among other things
Device Model: WDC WD3200YS-01PGB0
Serial Number:WD-WCAPD3169758

> -Original Message-
> From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On
> Behalf Of Joseph L. Casale
> Sent: Tuesday, September 20, 2011 7:11 AM
> To: 'CentOS mailing list'
> Subject: Re: [CentOS] mdadm and drive identification?
> 
> >Is there another easy way I can positively ID a drive by serial number
and
> the /dev/sd[a-z] that mdadm sees?
> 
> I don't know of a tool like tune2fs or *fstune that works for mdraid.
> You might try on the mdadm list where Neil Brown hangs out...
> 
> Given the wealth of easy ways to manage and monitor the health of an lsi
> card, I'd never entertain this on any of my systems that use them...
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
> 
> -
> This message has been scanned for viruses and dangerous content.



- 
This message has been scanned for viruses and
dangerous content. 


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


Re: [CentOS] mdadm and drive identification?

2011-09-20 Thread Joseph L. Casale
>You might want to try
>
>smartctl -a /dev/sda it would report something like this among other things

Like the op said, it won't work through the hba.

But Megacli will enumerate this with a -PDList.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] This doesn't make sense

2011-09-20 Thread Craig White
On Tue, 2011-09-20 at 09:18 -0400, Ross Walker wrote:
> On Sep 19, 2011, at 7:12 PM, Craig White  wrote:
> 
> > On Mon, 2011-09-19 at 18:41 -0400, Ross Walker wrote:
> >> On Sep 17, 2011, at 7:49 PM, Craig White  wrote:
> >> 
> >>> At some point, security updates for 6.1 will be released and then it
> >>> becomes a matter of deciding to install it based on the evidence that
> >>> security updates have been non-existent all this time.
> >> 
> >> I'm sorry I don't follow you here?
> >> 
> >> I'm fairly certain that 6.1 will include both 6.1 security/bug updates AND 
> >> security/bug updates that have been released up to the beginning of the 
> >> 6.1 release cycle, minus several that where released during the C6.1 
> >> release cycle. Security updates and bug fixes are intermingled without 
> >> being able to distinguish one from the other outside of the RPM history.
> >> 
> >> It's not the security updates that prevent me from moving to 6.0 right 
> >> now, but those pesky .0 blues.
> > 
> > those pesky .0 blues as you call them were clearly there - see other
> > threads about video issues, etc.
> > 
> > I guess the point I was trying to make without being excessively blunt
> > is that the track record of timely releases for CentOS 6.x (any release)
> > and the track record of timely security updates (none) should really
> > cause any one to pause before installing any version of CentOS 6 - even
> > if 6.1 and all of the current security updates were released tomorrow.
> 
> For those systems that are important enough that I need immediate security 
> updates I buy a RHEL license.
> 
> It's those one-off systems behind the firewall that I use CentOS for.
> 
> No point in buying an expensive license for an instant messenging server. 
> IPtables is setup to block all non-application traffic, so the risks are low.
> 
> More likely to have systems compromised through the applications they run 
> then the system utilities themselves.

I have been using Red Hat and derivations (WBL, CentOS, Fedora) since
1998 and the last few years it has been harder and harder to justify
waiting for everyone to get their act together on a new release.

My current employer and previous employer both stopped using RHEL/CentOS
for new installs in favor of Ubuntu and now so have I. It is Linux after
all and it is reasonable to use it and it works well.

I don't have to justify the shortcomings of lack of timely security
updates. 

I don't have to worry about 'long term support'

I have a simpler path for version upgrades (apt-get dist-upgrade)

Their documentation is often quite good.

I certainly appreciate CentOS rescuing me from the drift that was WBL
some 6 years ago and they generally delivered in a timely fashion.
Version 6 however made it clear to me that it was time to move on. I'm
only maintaining the CentOS 5 boxes at this point and at some point,
they will be replaced.

Craig


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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