[CentOS] Cnetos 5.4 ext3 question...

2009-12-28 Thread Tom Bishop
I could find this out but at the moment I dont have a copy of 5.4 running,
can anyone tell me for a default centos5.4 install are ext3 barriers on by
default?  Thanks in advance...
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Cnetos 5.4 ext3 question...

2009-12-28 Thread Ray Van Dolson
On Mon, Dec 28, 2009 at 10:25:01AM -0600, Tom Bishop wrote:
> I could find this out but at the moment I dont have a copy of 5.4 running,
> can anyone tell me for a default centos5.4 install are ext3 barriers on by
> default?  Thanks in advance...

Pretty sure they are off by default (and were on the box I just checked
against).

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


Re: [CentOS] Cnetos 5.4 ext3 question...

2009-12-28 Thread Tom Bishop
Thanks much, been reading about ext4 and performance issues, I've never had
any issues with ext3 and my centos boxes...anyone else have any corruption
issues when running ext3 as far as when power is cut etc...?

On Mon, Dec 28, 2009 at 10:48 AM, Ray Van Dolson  wrote:

> On Mon, Dec 28, 2009 at 10:25:01AM -0600, Tom Bishop wrote:
> > I could find this out but at the moment I dont have a copy of 5.4
> running,
> > can anyone tell me for a default centos5.4 install are ext3 barriers on
> by
> > default?  Thanks in advance...
>
> Pretty sure they are off by default (and were on the box I just checked
> against).
>
> Ray
> ___
> 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] Cnetos 5.4 ext3 question...

2009-12-28 Thread Ray Van Dolson
On Mon, Dec 28, 2009 at 10:57:10AM -0600, Tom Bishop wrote:
> Thanks much, been reading about ext4 and performance issues, I've never had
> any issues with ext3 and my centos boxes...anyone else have any corruption
> issues when running ext3 as far as when power is cut etc...?

Never had anything unrecoverable happen -- and have run servers in some
fairly harsh environments without decent UPS'es with a fair bit of IO
load on them as well.. :)

Not to say you should't go for as much power redundancy as possible!

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


Re: [CentOS] Cnetos 5.4 ext3 question...

2009-12-28 Thread david
I'm using ext3 on my CentOS box, so far so good, I don't get any problem. 
Sometimes my server shutdown when power is cut, but CentOS still running well 
and nothing corruption files or anything after start again.

Ds.


-Original Message-
From: Tom Bishop 
Date: Mon, 28 Dec 2009 10:57:10 
To: CentOS mailing list
Subject: Re: [CentOS] Cnetos 5.4 ext3 question...

___
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] Cnetos 5.4 ext3 question...

2009-12-28 Thread Tom Bishop
Thanks guys for the responses, can anyone explain what the hoopla is then
about ext4 and performance issues and barriers being enabled, there was also
some talk about that being an potential issue with ext3?  I've tried to
google and look but have not found a good explanation on what the issue
is

On Mon, Dec 28, 2009 at 11:03 AM,  wrote:

> I'm using ext3 on my CentOS box, so far so good, I don't get any problem.
> Sometimes my server shutdown when power is cut, but CentOS still running
> well and nothing corruption files or anything after start again.
>
> Ds.
>
>
> -Original Message-
> From: Tom Bishop 
> Date: Mon, 28 Dec 2009 10:57:10
> To: CentOS mailing list
> Subject: Re: [CentOS] Cnetos 5.4 ext3 question...
>
> ___
> 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
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Cnetos 5.4 ext3 question...

2009-12-28 Thread Stephen Harris
On Mon, Dec 28, 2009 at 12:46:24PM -0600, Tom Bishop wrote:
> Thanks for the explanation, looks like I need to go read some more about
> barriers to truly understand what is going on.

(Please don't top post on these lists; thanks!)

As I understand it (but I could be wrong)...  The problem is with "out
of order writes".

Typically with a journaled filesystem (like ext3) the system will write
out a datablock, then update the metadata (allocation tables, etc)
to reflect this.  This order is important; the data must get to disk
before the metadata.  Smart hardware, however, can optimise the writes so
it's possible for the metadata to get written to disk before the actual
datablocks; the result is potential data corruption (eg blocks allocated
with garbage in them) as opposed to potential data loss (eg blocks not
allocated) if the system dies with unwritten data in the buffer.

The work around for this is "barriers"; the system attempts to flush the
buffer to disk to ensure the datablock is written before the metadata.
Now blocks are written in the right order, but performance is lower
(flush flush).

"Barriers" are not currently implemented in the RHEL kernel for many
types of block device (including LVM devices).

-- 

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


Re: [CentOS] Cnetos 5.4 ext3 question...

2009-12-28 Thread Les Mikesell
Ross Walker wrote:
> On Dec 28, 2009, at 12:07 PM, Tom Bishop  > wrote:
> 
>>
>> On Mon, Dec 28, 2009 at 11:03 AM, < 
>> da...@pnyet.web.id 
>> > wrote:
>>
>> I'm using ext3 on my CentOS box, so far so good, I don't get any
>> problem. Sometimes my server shutdown when power is cut, but
>> CentOS still running well and nothing corruption files or anything
>> after start again.
>> Thanks guys for the responses, can anyone explain what the hoopla is 
>> then about ext4 and performance issues and barriers being enabled, 
>> there was also some talk about that being an potential issue with 
>> ext3?  I've tried to google and look but have not found a good 
>> explanation on what the issue is
> 
> Barriers expose the poor performance of cheap hard drives. They provide 
> assurance that all the data leading up to the barrier and the barrier IO 
> itself are committed to media. This means that the barrier does a disk 
> flush first and if the drive supports FUA (forced unit access, ie bypass 
> cache), then issues the IO request FUA, if the drive doesn't support FUA 
> then it issues another cache flush. It's the double flush that causes 
> the most impact to performance.
> 
> The typical fsync() call only assures data is flushed from memory, but 
> makes no assurance the drive itself has flushed it to disk which is 
> where the concern lies.
> 
> Currently in RHEL/CentOS the LVM (device mapper) layer doesn't know how 
> to propogate barriers to the underlying devices so it filters them out, 
> so barriers are only currently supported on whole drives or raw 
> partitions. This is fixed in the current kernels, but has yet to be 
> backported to RHEL kernels.
> 
> There are a couple of ways to avoid the barrier penalty. One is to have 
> nvram backed write-cache either on the contoller or as a separate 
> pass-through device. The other is to use a separate log device on a SSD 
> which has nvram cache, newer ones have capacitor backed cache or a 
> standalone nvram drive.

Did linux ever get a working fsync() or does it still flush the entire 
filesystem buffer?

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


Re: [CentOS] Cnetos 5.4 ext3 question...

2009-12-28 Thread Ross Walker

On Dec 28, 2009, at 12:07 PM, Tom Bishop  wrote:



On Mon, Dec 28, 2009 at 11:03 AM,  wrote:
I'm using ext3 on my CentOS box, so far so good, I don't get any  
problem. Sometimes my server shutdown when power is cut, but CentOS  
still running well and nothing corruption files or anything after  
start again.
Thanks guys for the responses, can anyone explain what the hoopla is  
then about ext4 and performance issues and barriers being enabled,  
there was also some talk about that being an potential issue with  
ext3?  I've tried to google and look but have not found a good  
explanation on what the issue is


Barriers expose the poor performance of cheap hard drives. They  
provide assurance that all the data leading up to the barrier and the  
barrier IO itself are committed to media. This means that the barrier  
does a disk flush first and if the drive supports FUA (forced unit  
access, ie bypass cache), then issues the IO request FUA, if the drive  
doesn't support FUA then it issues another cache flush. It's the  
double flush that causes the most impact to performance.


The typical fsync() call only assures data is flushed from memory, but  
makes no assurance the drive itself has flushed it to disk which is  
where the concern lies.


Currently in RHEL/CentOS the LVM (device mapper) layer doesn't know  
how to propogate barriers to the underlying devices so it filters them  
out, so barriers are only currently supported on whole drives or raw  
partitions. This is fixed in the current kernels, but has yet to be  
backported to RHEL kernels.


There are a couple of ways to avoid the barrier penalty. One is to  
have nvram backed write-cache either on the contoller or as a separate  
pass-through device. The other is to use a separate log device on a  
SSD which has nvram cache, newer ones have capacitor backed cache or a  
standalone nvram drive.


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


Re: [CentOS] Cnetos 5.4 ext3 question...

2009-12-28 Thread Tom Bishop
Thanks for the explanation, looks like I need to go read some more about
barriers to truly understand what is going on.

On Mon, Dec 28, 2009 at 12:22 PM, Ross Walker  wrote:

> On Dec 28, 2009, at 12:07 PM, Tom Bishop  wrote:
>
>
> On Mon, Dec 28, 2009 at 11:03 AM, < da...@pnyet.web.id
> > wrote:
>
>> I'm using ext3 on my CentOS box, so far so good, I don't get any problem.
>> Sometimes my server shutdown when power is cut, but CentOS still running
>> well and nothing corruption files or anything after start again.
>
> Thanks guys for the responses, can anyone explain what the hoopla is then
> about ext4 and performance issues and barriers being enabled, there was also
> some talk about that being an potential issue with ext3?  I've tried to
> google and look but have not found a good explanation on what the issue
> is
>
>
> Barriers expose the poor performance of cheap hard drives. They provide
> assurance that all the data leading up to the barrier and the barrier IO
> itself are committed to media. This means that the barrier does a disk flush
> first and if the drive supports FUA (forced unit access, ie bypass cache),
> then issues the IO request FUA, if the drive doesn't support FUA then it
> issues another cache flush. It's the double flush that causes the most
> impact to performance.
>
> The typical fsync() call only assures data is flushed from memory, but
> makes no assurance the drive itself has flushed it to disk which is where
> the concern lies.
>
> Currently in RHEL/CentOS the LVM (device mapper) layer doesn't know how to
> propogate barriers to the underlying devices so it filters them out, so
> barriers are only currently supported on whole drives or raw partitions.
> This is fixed in the current kernels, but has yet to be backported to RHEL
> kernels.
>
> There are a couple of ways to avoid the barrier penalty. One is to have
> nvram backed write-cache either on the contoller or as a separate
> pass-through device. The other is to use a separate log device on a SSD
> which has nvram cache, newer ones have capacitor backed cache or a
> standalone nvram drive.
>
> -Ross
>
> ___
> 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


[CentOS] Hardening

2009-12-28 Thread ML
Hi Guys,

I would like advice for best practices to secure my linux boxes. Know if I have 
been hacked, know of security breaches, etc.

Can anyone provide advice?

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


Re: [CentOS] Hardening

2009-12-28 Thread Larry Vaden
On Mon, Dec 28, 2009 at 1:53 PM, ML  wrote:
> Hi Guys,
>
> I would like advice for best practices to secure my linux boxes. Know if I 
> have been hacked, know of security breaches, etc.
>
> Can anyone provide advice?


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


Re: [CentOS] Hardening

2009-12-28 Thread Lincoln Zuljewic Silva
Take a look at the CIS guide for Red Hat 5:
http://www.cisecurity.org/bench_linux.html (you do not need to be
registered to download the PDFs).

Regards
Lincoln

On Mon, Dec 28, 2009 at 5:56 PM, Larry Vaden  wrote:
> On Mon, Dec 28, 2009 at 1:53 PM, ML  wrote:
>> Hi Guys,
>>
>> I would like advice for best practices to secure my linux boxes. Know if I 
>> have been hacked, know of security breaches, etc.
>>
>> Can anyone provide advice?
>
> 
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



-- 
Lincoln Zuljewic Silva
More contact info.: http://www.system.adm.br/contact.php

"How often must a question be asked before it’s considered a
frequently asked question?"
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Hardening

2009-12-28 Thread m . roth
> Hi Guys,
>
> I would like advice for best practices to secure my linux boxes. Know if I
> have been hacked, know of security breaches, etc.
>
> Can anyone provide advice?

Check out Bastille Linux. It's not a distro, it's a system hardening tool,
and many things it does are referred to by the NIST guidelines.

I, personally, used a firewall/router that I build using it on RH 9, and
for around 10 years, never had an intrusion.

mark

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


Re: [CentOS] Hardening

2009-12-28 Thread Tom Bishop
Annother vote for bastille, it works very well.

On 12/28/09, m.r...@5-cent.us  wrote:
>> Hi Guys,
>>
>> I would like advice for best practices to secure my linux boxes. Know if I
>> have been hacked, know of security breaches, etc.
>>
>> Can anyone provide advice?
>
> Check out Bastille Linux. It's not a distro, it's a system hardening tool,
> and many things it does are referred to by the NIST guidelines.
>
> I, personally, used a firewall/router that I build using it on RH 9, and
> for around 10 years, never had an intrusion.
>
> mark
>
> ___
> 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] Centos & UPS

2009-12-28 Thread Adrian Sevcenco
Drew wrote:
> That said, I do prefer NUT because I've been using their tools for a
Hi! From where (which repo) can NUT be installed for Centos 5 ?
Thanks,
Adrian


smime.p7s
Description: S/MIME Cryptographic Signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] via vb 8001 : vt1211 driver

2009-12-28 Thread Adrian Sevcenco
Hi! I have an vb8001 and i try to make the lm_sensors to work .. i
upgraded to latest version and in the end doesn't find the vt1211
driver ... is it packaged somewhere? (maybe elrepo but it doesn't find
any vt1211 nor 1211 related packages) (of course this is on an Centos 5.4)
Thanks,
Adrian

P.S. i tried to post to lm_sensors mail list but it seem that it is not
working (nor http://lists.lm-sensors.org/mailman/listinfo/lm-sensors)


smime.p7s
Description: S/MIME Cryptographic Signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] NFS problem

2009-12-28 Thread Timothy Murphy
I'm trying to NFS-mount a CentOS directory on my Fedora laptop,
but I find I can only do this is I turn off the firewall
on the CentOS server.

If instead I go to system-config-securitylevel-tui on the server,
and allow NFS4, this does not do the trick.
Nor does allowing port 2049.

What do I need to allow?

[I should say that the CentOS server is remote,
and difficult to access directly;
that is why I used system-config-securitylevel-tui,
rather than system-config-securitylevel .]


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

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


Re: [CentOS] NFS problem

2009-12-28 Thread nate
Timothy Murphy wrote:
> I'm trying to NFS-mount a CentOS directory on my Fedora laptop,
> but I find I can only do this is I turn off the firewall
> on the CentOS server.
>
> If instead I go to system-config-securitylevel-tui on the server,
> and allow NFS4, this does not do the trick.
> Nor does allowing port 2049.
>
> What do I need to allow?

Look at the firewall logs, RPC services use somewhat random ports,
you can look at what ports are being used with the 'rpcinfo' command,
you can also look at hard coding what ports are used to make firewall
configuration simpler(don't have docs off hand, search for them, easy
to find).

nate


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


Re: [CentOS] NFS problem

2009-12-28 Thread Frank Cox

On Mon, 2009-12-28 at 23:30 +0100, Timothy Murphy wrote:
> I'm trying to NFS-mount a CentOS directory on my Fedora laptop,
> but I find I can only do this is I turn off the firewall
> on the CentOS server.
> 
> If instead I go to system-config-securitylevel-tui on the server,
> and allow NFS4, this does not do the trick.
> Nor does allowing port 2049.
> 
> What do I need to allow?

Here is my note regarding how to make this work:

Create the file "/etc/sysconfig/nfs" and add the following contents:

STATD_PORT=4001
LOCKD_TCPPORT=4002
LOCKD_UDPPORT=4002
MOUNTD_PORT=4003

 Append the following to the file "/etc/services":

rquotad 4004/tcp # rpc.rquotad tcp port
rquotad 4004/udp # rpc.rquotad udp port

 Restart the nfs services

>From there, open these ports -> 111:tcp, 111:udp, 2049:tcp, 2049:udp,
4001:tcp, 4001:udp, 4002:tcp, 4002:udp, 4003:tcp, 4003:udp, 4004:tcp,
4004:udp


-- 
MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com

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


Re: [CentOS] Centos & UPS

2009-12-28 Thread Drew
>> That said, I do prefer NUT because I've been using their tools for a

> Hi! From where (which repo) can NUT be installed for Centos 5 ?

epel has a copy of the "old stable" 2.2 branch in their repo.


-- 
Drew

"Nothing in life is to be feared. It is only to be understood."
--Marie Curie
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] mkdir this "." directory

2009-12-28 Thread adrian kok
Hi 

I have this . folder under tmp

1/ How they can make it this folder?

2/ How can I remove it?

Thank you

Send instant messages to your online friends http://uk.messenger.yahoo.com 
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] mkdir this "." directory

2009-12-28 Thread Larry Brower

adrian kok wrote:
Hi 


I have this . folder under tmp

1/ How they can make it this folder?



Please provide the output of ls -la /tmp

Are you referring to ./ or actually something like \\./ ?




2/ How can I remove it?



If it is really ./ then you dont as this is /tmp
If it is \\./ then rm -vr /tmp/\\.




Thank you

Send instant messages to your online friends http://uk.messenger.yahoo.com 
___

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




smime.p7s
Description: S/MIME Cryptographic Signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] mkdir this "." directory

2009-12-28 Thread Jason Pyeron

> -Original Message-
> From: centos-boun...@centos.org 
> [mailto:centos-boun...@centos.org] On Behalf Of adrian kok
> Sent: Monday, December 28, 2009 18:50
> To: centos@centos.org
> Subject: [CentOS] mkdir this "." directory
> 
> Hi 
> 
> I have this . folder under tmp
> 
> 1/ How they can make it this folder?

cd .

> 
> 2/ How can I remove it?
>

cd ..

rmdir tmp
 
> Thank you
> 
> Send instant messages to your online friends 
> http://uk.messenger.yahoo.com 
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
> 


I am not sure if this is a joke or not.

--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-   -
- Jason Pyeron  PD Inc. http://www.pdinc.us -
- Principal Consultant  10 West 24th Street #100-
- +1 (443) 269-1555 x333Baltimore, Maryland 21218   -
-   -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This message is copyright PD Inc, subject to license 20080407P00.

 

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


Re: [CentOS] mkdir this "." directory

2009-12-28 Thread Jason Pyeron
 

> -Original Message-
> From: centos-boun...@centos.org 
> [mailto:centos-boun...@centos.org] On Behalf Of Larry Brower
> Sent: Monday, December 28, 2009 18:58
> To: CentOS mailing list
> Subject: Re: [CentOS] mkdir this "." directory
> 
> adrian kok wrote:
> > Hi
> > 
> > I have this . folder under tmp
> > 
> > 1/ How they can make it this folder?
> > 
> 
> Please provide the output of ls -la /tmp
> 
> Are you referring to ./ or actually something like \\./ ?

Either would not show up as a single .

> 
> 
> 
> > 2/ How can I remove it?
> > 
> 
> If it is really ./ then you dont as this is /tmp If it is 
> \\./ then rm -vr /tmp/\\.
> 
> 
> 
> > Thank you
> > 
> > Send instant messages to your online friends 
> > http://uk.messenger.yahoo.com 
> > ___
> > CentOS mailing list
> > CentOS@centos.org
> > http://lists.centos.org/mailman/listinfo/centos
> 
> 



--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-   -
- Jason Pyeron  PD Inc. http://www.pdinc.us -
- Principal Consultant  10 West 24th Street #100-
- +1 (443) 269-1555 x333Baltimore, Maryland 21218   -
-   -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This message is copyright PD Inc, subject to license 20080407P00.

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


Re: [CentOS] mkdir this "." directory

2009-12-28 Thread John R Pierce
adrian kok wrote:
> Hi 
>
> I have this . folder under tmp
>
> 1/ How they can make it this folder?
>
> 2/ How can I remove it?
>   

first you gotta figure out its -real- name.   most likely, its " ."  or 
". "   but the space could also be an unprintable character.


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


Re: [CentOS] mkdir this "." directory

2009-12-28 Thread Les Bell

adrian kok  wrote:

>>
I have this . folder under tmp
<<

It's called a directory, not a "folder" and there's one in every directory.
It's a hard link to the current directory, just like ".." is a hard link to
the directory above.

>>
1/ How they can make it this folder?
<<

Create any directory, and it will appear, as I've explained.

>>
2/ How can I remove it?
<<

If you remove it, you'll be removing the /tmp directory itself, which is
not a bright idea. Imagine someone sitting on a branch, sawing away between
themselves and the trunk of the tree. . .

Best,

--- Les Bell
[http://www.lesbell.com.au]
Tel: +61 2 9451 1144


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


Re: [CentOS] via vb 8001 : vt1211 driver

2009-12-28 Thread Ned Slider
On 12/28/2009 09:18 PM, Adrian Sevcenco wrote:
> Hi! I have an vb8001 and i try to make the lm_sensors to work .. i
> upgraded to latest version and in the end doesn't find the vt1211
> driver ... is it packaged somewhere? (maybe elrepo but it doesn't find
> any vt1211 nor 1211 related packages) (of course this is on an Centos 5.4)
> Thanks,
> Adrian
>
> P.S. i tried to post to lm_sensors mail list but it seem that it is not
> working (nor http://lists.lm-sensors.org/mailman/listinfo/lm-sensors)
>
>

Hi Adrian,

If you make a request at elrepo.org (either on the bug tracker or 
mailing list), then I'm sure I can backport the vt1211 driver for you 
and make it available at elrepo.org. From a quick look, lm_sensors (in 
5.4) appears to already support vt1211 so you should just need the 
kernel module for it.

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


Re: [CentOS] Hardening

2009-12-28 Thread Fernando Hallberg
Hi,

Test my repositoriy http://flexbox.sf.net/

I'm personalized sectool from fedora to centos, rkhunter, unhid, chkrootkit, 
and more...

And contribute ! Source RPMS and spec files are in the repository and svn.

Sorry for my english.

Att
On Mon, 28 Dec 2009 11:53:27 -0800
ML  wrote:

> Hi Guys,
> 
> I would like advice for best practices to secure my linux boxes. Know if I 
> have been hacked, know of security breaches, etc.
> 
> Can anyone provide advice?
> 
> -Jason
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos


-- 
Fernando Hallberg 
Flex Digital Soluções em Redes de Dados
http://www.flexdigital.com.br
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] NFS problem

2009-12-28 Thread Fernando Hallberg
Hi,

You only need rpcidmapd, portmap on the centos box

Edit the /etc/sysconfig/nfs

And use /export filesystem as the fsid=0 on the /etc/exportfs

Export all directories you need mounted on the /export with the -o bind on the 
mount command, and add refer=/dir on /etc/exportfs on the nfs4 server

you want to add the rpc and nfs mounts on the fstab too
rpc_pipefs  /var/lib/nfs/rpc_pipefs rpc_pipefs  defaults0   0
nfsd/proc/fs/nfsd   nfsddefaults0   0

Fernando

On Mon, 28 Dec 2009 16:59:30 -0600
Frank Cox  wrote:

> 
> On Mon, 2009-12-28 at 23:30 +0100, Timothy Murphy wrote:
> > I'm trying to NFS-mount a CentOS directory on my Fedora laptop,
> > but I find I can only do this is I turn off the firewall
> > on the CentOS server.
> > 
> > If instead I go to system-config-securitylevel-tui on the server,
> > and allow NFS4, this does not do the trick.
> > Nor does allowing port 2049.
> > 
> > What do I need to allow?
> 
> Here is my note regarding how to make this work:
> 
> Create the file "/etc/sysconfig/nfs" and add the following contents:
> 
> STATD_PORT=4001
> LOCKD_TCPPORT=4002
> LOCKD_UDPPORT=4002
> MOUNTD_PORT=4003
> 
>  Append the following to the file "/etc/services":
> 
> rquotad 4004/tcp # rpc.rquotad tcp port
> rquotad 4004/udp # rpc.rquotad udp port
> 
>  Restart the nfs services
> 
> >From there, open these ports -> 111:tcp, 111:udp, 2049:tcp, 2049:udp,
> 4001:tcp, 4001:udp, 4002:tcp, 4002:udp, 4003:tcp, 4003:udp, 4004:tcp,
> 4004:udp
> 
> 
> -- 
> MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com
> 
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos


-- 
Fernando Hallberg 
Flex Digital Soluções em Redes de Dados
http://www.flexdigital.com.br
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos & UPS

2009-12-28 Thread Ryan Wagoner
For anybody interested Apcupsd maintains official RH EL 5 RPMs on
their download page. It works great on CentOS.

http://apcupsd.org/dl.php

Ryan

On Mon, Dec 28, 2009 at 6:17 PM, Drew  wrote:
>>> That said, I do prefer NUT because I've been using their tools for a
>
>> Hi! From where (which repo) can NUT be installed for Centos 5 ?
>
> epel has a copy of the "old stable" 2.2 branch in their repo.
>
>
> --
> Drew
>
> "Nothing in life is to be feared. It is only to be understood."
> --Marie Curie
> ___
> 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] Hardening

2009-12-28 Thread Agile Aspect
On Mon, Dec 28, 2009 at 4:44 PM, Fernando Hallberg
 wrote:
> Hi,
>
> Test my repositoriy http://flexbox.sf.net/
>
> I'm personalized sectool from fedora to centos, rkhunter, unhid, chkrootkit, 
> and more...
>
> And contribute ! Source RPMS and spec files are in the repository and svn.
>

Note, I couldn't find any source RPMs in svn.

And I hasten to add, I would never delegate the task of building
security software for my system to another person.

-- 
  Enjoy global warming while it lasts.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Cnetos 5.4 ext3 question...

2009-12-28 Thread Ross Walker
On Dec 28, 2009, at 1:41 PM, Les Mikesell  wrote:

> Did linux ever get a working fsync() or does it still flush the entire
> filesystem buffer?

Working, meaning reliable, or the ability to sync a memory range  
instead of the whole file system? There is sync_page_range() to only  
sync only a range, but I think the biggest issue is whether it  
actually assures it makes it to disk or just out of memory.

-Ross

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


Re: [CentOS] Centos & UPS

2009-12-28 Thread Kristopher Kane
> I received for X-mas an APC UPS system form my computer.  I'm looking for how

WARNING!  The following is uninformative.

I am just impressed that you get such presents for X-mas.  That
totally beats my two packages of white t-shirts.

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


Re: [CentOS] Cnetos 5.4 ext3 question...

2009-12-28 Thread Les Mikesell
Ross Walker wrote:
> On Dec 28, 2009, at 1:41 PM, Les Mikesell  wrote:
> 
>> Did linux ever get a working fsync() or does it still flush the entire
>> filesystem buffer?
> 
> Working, meaning reliable, or the ability to sync a memory range  
> instead of the whole file system? There is sync_page_range() to only  
> sync only a range, but I think the biggest issue is whether it  
> actually assures it makes it to disk or just out of memory.

I mean the ability to sync only the buffer associated with the single file 
specified by the file descriptor in the argument - without waiting for a bunch 
of other unrelated and irrelevant data to sync along with it.

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


Re: [CentOS] Cnetos 5.4 ext3 question...

2009-12-28 Thread Ross Walker
On Dec 28, 2009, at 11:34 PM, Les Mikesell   
wrote:

> Ross Walker wrote:
>> On Dec 28, 2009, at 1:41 PM, Les Mikesell   
>> wrote:
>>
>>> Did linux ever get a working fsync() or does it still flush the  
>>> entire
>>> filesystem buffer?
>>
>> Working, meaning reliable, or the ability to sync a memory range
>> instead of the whole file system? There is sync_page_range() to only
>> sync only a range, but I think the biggest issue is whether it
>> actually assures it makes it to disk or just out of memory.
>
> I mean the ability to sync only the buffer associated with the  
> single file
> specified by the file descriptor in the argument - without waiting  
> for a bunch
> of other unrelated and irrelevant data to sync along with it.

I'm pretty sure it just flushes the data associated with the file  
descriptor.

-Ross

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