[CentOS] Centos 5: e1000 question

2007-06-25 Thread Mogens Kjaer

I have a machine running Centos 5, x86_64.

It has an Intel NIC:

# lspci
15:00.0 Ethernet controller: Intel Corporation 82572EI Gigabit Ethernet 
Controller (Fiber) (rev 06)


The machine has two dualcore cpus.

If I look at /proc/interrupts I get:

   CPU0   CPU1   CPU2   CPU3
  0:  144873228  220741831  173615012  220733357IO-APIC-edge  timer
  4: 269120120348519649141528555IO-APIC-edge  serial
  7:  0  0  0  0IO-APIC-edge  parport0
  8:  0  0  0  0IO-APIC-edge  rtc
  9:  0  0  0  0   IO-APIC-level  acpi
 14:13732187643143397 430444IO-APIC-edge  ide0
 90:34038125504380 5537841273225   IO-APIC-level  aic79xx
 98:  460440049  0  0  0 PCI-MSI  eth0
169: 2104899211230   26272710   31733980   IO-APIC-level 
uhci_hcd:usb2, uhci_hcd:usb3, aacraid
177:  0  0  0  0   IO-APIC-level 
uhci_hcd:usb4
185:  2  0  0  0   IO-APIC-level 
uhci_hcd:usb1, ehci_hcd:usb5

NMI:359102105115
LOC:  744651234  743298229  744651090  743298086
ERR:  0
MIS:  0

My question is: Why are the eth0 interrupts distributed
to CPU0 only?

Mogens
--
Mogens Kjaer, Carlsberg A/S, Computer Department
Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
Phone: +45 33 27 53 25, Fax: +45 33 27 47 08
Email: [EMAIL PROTECTED] Homepage: http://www.crc.dk
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] bind on centos 5

2007-06-25 Thread Indunil Jayasooriya

Hi,

I am trying to setup bind on centOS 5. But there are no files coming by
default. But I found some files @ /usr/share/doc/bind-9.3.3/sample

Now, could you pls tell me what r the files I need to set it up?

Is there are a good doc on How to setup dns on CentOS 5 ?




--
Thank you
Indunil Jayasooriya
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] bind on centos 5

2007-06-25 Thread Ralph Angenendt
Indunil Jayasooriya wrote:
> 
>Hi,
>I am trying to setup bind on centOS 5. But there are no files coming by
>default. But I found some files @ /usr/share/doc/bind-9.3.3/sample

Yes, they threw the example files into the doc directory.

>Now, could you pls tell me what r the files I need to set it up?
>Is there are a good doc on How to setup dns on CentOS 5 ?

How about the doc section on www.centos.org? 



Cheers,

Ralph


pgpX6lbJOhyLe.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How to build clamav SRPM and RPM with calmav tarbal - CentOS 5

2007-06-25 Thread Dag Wieers
On Mon, 25 Jun 2007, Indunil Jayasooriya wrote:

> > > How to build both clamav SRPM AND RPM for CentOS 5
> >
> > You don't have to.  clamav is available from RPMforge.
> 
> 
> I installed it fro Dag. But it gace erros. Then I desabled selinux. Then ,
> It worked. But i do not want to leave selinux disabled.
> 
> That's why. I am trying to build it.

Why would you expect that rebuilding it will make it work for SELinux ?

Kind regards,
--   dag wieers,  [EMAIL PROTECTED],  http://dag.wieers.com/   --
[all I want is a warm bed and a kind word and unlimited power]
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Static linking against glibc

2007-06-25 Thread Anand Buddhdev
I'm building an RPM of a DNS server called NSD on CentOS 4.4. I'm going to 
be using it for some heavy-duty DNS traffic, so I want to minimise its 
dependencies on external libraries. I have therefore attempted to link it 
statically.

The package does build, and even runs fine. However, during the build 
process, gcc emits warnings like these:

nsd.o(.text+0xfba): In function `main':
: warning: Using 'getpwnam' in statically linked applications requires at 
runtime the shared libraries from the glibc version used for linking

My understanding of this is because glibc uses dlopen to load other shared 
objects at runtime. I therefore need a Requires: line in the RPM which 
requires glibc-2.3.4-2.36, or whatever version I used to build nsd.

Now, what I want to ask is: if the version of glibc is upgraded to say 
2.3.4-2.48, what happens? What do the numbers after the version number 
mean (2.48) and what effect will that have on packages which are 
statically linked against glibc?

Another question which has occured to me is this: NSD also uses other 
libraries, such as openssl. Is there any way to know if any of the 
openssl libraries use dlopen to load in other shared objects? If they do, 
then it introduces dependencies that I may not be aware of, and doing 
static linking wouldn't be as beneficial as I first thought it would be.

Comments from experienced developers will be most appreciated.

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


[CentOS] Re: CentOS Digest, Vol 29, Issue 25

2007-06-25 Thread James B. Byrne

On Mon, June 25, 2007 08:00, [EMAIL PROTECTED] wrote:
> Send CentOS mailing list submissions to
>   centos@centos.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>   http://lists.centos.org/mailman/listinfo/centos
> or, via email, send a message with subject or body 'help' to
>   [EMAIL PROTECTED]
>
> You can reach the person managing the list at
>   [EMAIL PROTECTED]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of CentOS digest..."
>
>
> Today's Topics:
>
>1. How to build clamav SRPM and RPM with calmav tarbal -   CentOS
>   5 (Indunil Jayasooriya)
>2. Re: How to build clamav SRPM and RPM with calmav tarbal -
>   CentOS 5 (Akemi Yagi)
>3. Re: How to build clamav SRPM and RPM with calmav tarbal -
>   CentOS 5 (Indunil Jayasooriya)
>4. Centos 5: e1000 question (Mogens Kjaer)
>5. bind on centos 5 (Indunil Jayasooriya)
>6. Re: bind on centos 5 (Ralph Angenendt)
>
>
> --
>
> Message: 1
> Date: Mon, 25 Jun 2007 10:07:09 +0530
> From: "Indunil Jayasooriya" <[EMAIL PROTECTED]>
> Subject: [CentOS] How to build clamav SRPM and RPM with calmav tarbal
>   -   CentOS 5
> To: "CentOS mailing list" 
> Message-ID:
>   <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi All,
>
> I am trying to build SRPM and RPM out of cureent clamav tarball.
>
> I just download it to /ur/src/redhat/SOURCES as follows.
>
> [EMAIL PROTECTED] SOURCES]# wget
> http://freshmeat.net/redir/clamav/29355/url_tgz/clamav-0.90.3.tar.gz
>
>
> When I issue rpmbuild -ta, it gave below error.
>
> [EMAIL PROTECTED] SOURCES]# rpmbuild -ta clamav-0.90.3.tar.gz
> error: Name field must be present in package: (main package)
> error: Version field must be present in package: (main package)
> error: Release field must be present in package: (main package)
> error: Summary field must be present in package: (main package)
> error: Group field must be present in package: (main package)
> error: License field must be present in package: (main package)
>
> I think , may be it does not have a SPEC file.
>
> Then, What I did was I got clamav Version 0.90.2 Spec file from below URL.
>
> http://crash.fce.vutbr.cz/crash-hat/5/clamav/clamav.spec
>
> and copied it to /usr/src/redhat/SPECS/ and changed it's Version:
> 0.90.2to Version:
> 0.90.3
>
> and ran it again as folows. then, again, it gave below error.
>
> [EMAIL PROTECTED] SPECS]# rpmbuild -ta clamav.spec
> error: Name field must be present in package: (main package)
> error: Version field must be present in package: (main package)
> error: Release field must be present in package: (main package)
> error: Summary field must be present in package: (main package)
> error: Group field must be present in package: (main package)
> error: License field must be present in package: (main package)
>
> then, I tried as follows.
>
> [EMAIL PROTECTED] SPECS]# rpmbuild -ba clamav.spec
>
> then , It gave below error.
> error: File /usr/src/redhat/SOURCES/clamav-milter-dontsux.patch: No such
> file or directory
>
> What's wrong with it?
>
> Where have I gone worng?
>
> How to build both clamav SRPM AND RPM for CentOS 5
>
>
>
>
>
> --
> Thank you
> Indunil Jayasooriya
> -- next part --
> An HTML attachment was scrubbed...
> URL:
> http://lists.centos.org/pipermail/centos/attachments/20070625/938fbf76/attachment-0001.htm
>
> --
>
> Message: 2
> Date: Sun, 24 Jun 2007 21:54:07 -0700
> From: "Akemi Yagi" <[EMAIL PROTECTED]>
> Subject: Re: [CentOS] How to build clamav SRPM and RPM with calmav
>   tarbal -CentOS 5
> To: "CentOS mailing list" 
> Message-ID:
>   <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> On 6/24/07, Indunil Jayasooriya <[EMAIL PROTECTED]> wrote:
>
>> How to build both clamav SRPM AND RPM for CentOS 5
>
> You don't have to.  clamav is available from RPMforge.
>
> Akemi
>
>
> --
>
> Message: 3
> Date: Mon, 25 Jun 2007 10:38:37 +0530
> From: "Indunil Jayasooriya" <[EMAIL PROTECTED]>
> Subject: Re: [CentOS] How to build clamav SRPM and RPM with calmav
>   tarbal -CentOS 5
> To: "CentOS mailing list" , [EMAIL PROTECTED]
> Message-ID:
>   <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=&q

Re: [CentOS] How to build clamav SRPM and RPM with calmav tarbal - CentOS 5

2007-06-25 Thread Jim Perrin

On 6/25/07, Indunil Jayasooriya <[EMAIL PROTECTED]> wrote:


I installed it fro Dag. But it gace erros. Then I desabled selinux. Then ,
It worked. But i do not want to leave selinux disabled.

That's why. I am trying to build it.


Rebuilding the code won't solve the problem. You'll have to modify the
selinux rules so that these actions are allowed. For Centos5 and rhel5
this is pretty easy.

1. Enable selinux in permissive mode, and capture the selinux error
messages. They'll likely be in /var/log/audit/audit.log or
/var/log/messages
2. Run audit2allow -i selinux.log -M localpolicy
3. Next you load the module you just created with 'semodule -i localpolicy.pp'

Lather, rinse, repeat.







--
During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How to build clamav SRPM and RPM with calmav tarbal - CentOS 5

2007-06-25 Thread Daniel de Kok
On Mon, 2007-06-25 at 09:16 -0400, Jim Perrin wrote:
> Rebuilding the code won't solve the problem. You'll have to modify the
> selinux rules so that these actions are allowed. For Centos5 and rhel5
> this is pretty easy.
> 
> 1. Enable selinux in permissive mode, and capture the selinux error
> messages. They'll likely be in /var/log/audit/audit.log or
> /var/log/messages
> 2. Run audit2allow -i selinux.log -M localpolicy
> 3. Next you load the module you just created with 'semodule -i localpolicy.pp'
> 
> Lather, rinse, repeat.

Actually, I don't think this is a very good idea (I know it is suggested
in upstream documentation). For instance, suppose that clamav is tagged
as, say 'bin_t', and executing clamav was rejected. The above will
usually add a allow rule for executing bin_t binaries for the context of
the caller. This obviously punches a big hole in a policy if it does not
allow such thing.

Make your own policy modules for local policy (you could create a start
with command (2)), but add and check rules and contexts manually.
audit2allow is a nice tool to see what was denied, but its output should
not be copied verbatim.

-- Daniel

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


Re: [CentOS] rpmrebuild or rpmbuild question

2007-06-25 Thread Jim Perrin

On 6/23/07, centos <[EMAIL PROTECTED]> wrote:


I have compiled php on a server, but want to upgrade and recompile it
with new features.
is rpmbuild or rpmrebuild capable of compiling or adding these new
features ?


Your terms are confusing. Did you install php the first time via rpm?
If so, that is not 'compiling'.  RPM does not modify code on the
system, it either installs or replaces files. It is not used to alter
build options.


download the source and run ./configure again ? what about yum ? it was
great if yum or
rpmbuild could save the current config and just add the new extensions.


Still not sure what you're looking at or what you're attempting to do
here. Could you please clarify what it is you're trying to do?


--
During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How to build clamav SRPM and RPM with calmav tarbal - CentOS 5

2007-06-25 Thread Jim Perrin

On 6/25/07, Daniel de Kok <[EMAIL PROTECTED]> wrote:


Make your own policy modules for local policy (you could create a start
with command (2)), but add and check rules and contexts manually.
audit2allow is a nice tool to see what was denied, but its output should
not be copied verbatim.


Eh, call me lazy... I didn't want this to become a 'how to create
selinux policy modules' discussion, so I paraphrased the upstream
documentation. It may not be the most secure method (Obviously) but it
is the same support upstreams users are paying to get, at least at the
tier 1 support level.

--
During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How to build clamav SRPM and RPM with calmav tarbal - CentOS 5

2007-06-25 Thread Akemi Yagi

The message below was not posted to the ML, so I am sending it here.

On 6/24/07, Akemi Yagi <[EMAIL PROTECTED]> wrote:

On 6/24/07, Indunil Jayasooriya <[EMAIL PROTECTED]> wrote:
>
> > > How to build both clamav SRPM AND RPM for CentOS 5
> >
> > You don't have to.  clamav is available from RPMforge.
>
> I installed it fro Dag. But it gace erros. Then I desabled selinux. Then ,
> It worked. But i do not want to leave selinux disabled.
>
> That's why. I am trying to build it.


Then, Rodrigo's note may help:

http://lists.rpmforge.net/pipermail/users/2007-June/000798.html

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


Re: [CentOS] How to build clamav SRPM and RPM with calmav tarbal - CentOS 5

2007-06-25 Thread Matt Hyclak
On Mon, Jun 25, 2007 at 10:04:29AM -0400, Jim Perrin enlightened us:
> Eh, call me lazy... I didn't want this to become a 'how to create
> selinux policy modules' discussion, so I paraphrased the upstream
> documentation. It may not be the most secure method (Obviously) but it
> is the same support upstreams users are paying to get, at least at the
> tier 1 support level.

Lazy. Can I get a Worthless in, too, while I'm at it?

-- 
Matt Hyclak
Department of Mathematics 
Department of Social Work
Ohio University
(740) 593-1263
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How to build clamav SRPM and RPM with calmav tarbal - CentOS 5

2007-06-25 Thread Paul Heinlein

On Mon, 25 Jun 2007, Matt Hyclak wrote:


On Mon, Jun 25, 2007 at 10:04:29AM -0400, Jim Perrin enlightened us:
Eh, call me lazy... I didn't want this to become a 'how to create 
selinux policy modules' discussion, so I paraphrased the upstream 
documentation. It may not be the most secure method (Obviously) but 
it is the same support upstreams users are paying to get, at least 
at the tier 1 support level.


Lazy. Can I get a Worthless in, too, while I'm at it?


You want lazy? OK:

  semodule -r clamav

--
Paul Heinlein <> [EMAIL PROTECTED] <> www.madboa.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] bind on centos 5

2007-06-25 Thread Thom Paine

I'm having a little trouble to get this working on my box.

I have two domains I need to host on my machine. I have named
starting, but I'm having trouble getting it to do the lookups for the
two domains. The caching-nameserver is working.

I removed all the bind stuff and reinstalled it all, minus the chroot
because I was having problems getting bind to start at all with that
there.

I can post my named.conf file as well as my two domain files if
someone could give me a hand.

thanks.


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


[CentOS] Nautilus displays open document files of OpenOffice.org2 as ZIP files

2007-06-25 Thread Boris Folgmann

Hi,

the openoffice.org2 RPMs for CentOS 4.5 work very well, but there seems to 
be some integration missing. OO2 saves all files in the new Open Document 
Format, e.g. .ods, which is displayed by nautilus as a simple ZIP file 
(which isn't that wrong).

But this means that you can't open the files directly by using a double click.

/usr/bin/file seems to have the same problem, it doesn't know that data 
type exactly, too. file reports it as "Zip archive data, at least v2.0 to 
extract"


Does anybody know if it's planned to improve the integration, so that it 
works like for the old OpenOffice.org?



cu,
boris

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


[CentOS] logwatch reports not benig emailed

2007-06-25 Thread Kanwar Ranbir Sandhu
Hello,

I have a couple of CentOS 5 servers, and third running in a FC6 domU.
I've configured postfix on those servers to not deliver any email to the
local system, but to instead relay mail to an internal mail server.  I
also set up /etc/aliases to send all mail to root to me, ksandhu.

I can send mail on the command line, and I get it at my email address,
delivered to the internal mail server: great!  But, every night when
logwatch runs, the damned reports never make it to my mailbox.  What's
worse is that I can manually run logwatch (logwatch --mailto root), and
I get the report in my mailbox!  All CentOS 5 servers are exhibiting the
same behaviour.

I've setup postfix like I always have.  CentOS 4 servers with the same
config are sending their logwatch reports properly.

I've tried explicitly setting the path to sendmail
in /etc/logwatch/conf/logwatch.conf:

mailer = "/usr/sbin/sendmail -t"

but, it hasn't helped.

Does anyone have any ideas?  I must be missing something obvious.

Regards,

Ranbir
-- 
Kanwar Ranbir Sandhu
Linux 2.6.20-1.2944.fc6 i686 GNU/Linux 
12:14:54 up 16 days, 3:01, 3 users, load average: 0.99, 0.38, 0.23 


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


[CentOS] Module install: warning about weak-updates?

2007-06-25 Thread Patrick
Hi all,

I'm wondering about the warnings I got below on an updated CentOS5 box:

$ sudo rpm -ivh zaptel-modules-1.2.18-21.2664.2.6.18_8.1.6.el5.lc.i686.rpm

WARNING: Can't read module 
/lib/modules/2.6.18-8.1.6.el5/weak-updates/wctdm24xxp.ko: No such file or 
directory


What is causing these warnings and how can I prevent them?

Thanks for any pointers.

Regards,
Patrick

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


[CentOS] iptables rule (MAC filtering)

2007-06-25 Thread Jordi Espasa Clofent

Hi all,

I've a CentOS box which as two NIC; this box is also a router for LAN 
subnet:



| eth0 (external) 172.0.0.1|
| eth1 (internal) 192.168.1.1 |

  |
   LAN clients (192.168.1.2+)

I want to allow http acces only for two LAN boxes; an only http access, 
which means that others protocols as smtp, pop3, imap and so on will be 
permited. The rest of LAN boxes will be redirected to a local http 
service (192.168.1.1:80)


I think the best way is creating a iptables rules based on MAC address. 
So, the rules I've made are:


iptables -t nat -A PREROUTING -p tcp -s 192.168.1.0/24 -m mac 
--mac-source ! xx:xx:xx:xx:xx:xx --dport 80 -j DNAT --to-destination 
192.168.1.1:80


iptables -t nat -A PREROUTING -p tcp -s 192.168.1.0/24 -m mac 
--mac-source ! xx:xx:xx:xx:xx:xx --dport 80 -j DNAT --to-destination 
192.168.1.1:80


Please, note the exclamation symbol, which means a logical negation.

But it seems doesn't work correctly: all the LAN clients can suffer the web.

¿?¿?¿  
___

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


Re: [CentOS] How to build clamav SRPM and RPM with calmav tarbal - CentOS 5

2007-06-25 Thread Steven Vishoot

--- Matt Hyclak <[EMAIL PROTECTED]> wrote:

> On Mon, Jun 25, 2007 at 10:04:29AM -0400, Jim Perrin
> enlightened us:
> > Eh, call me lazy... I didn't want this to become a
> 'how to create
> > selinux policy modules' discussion, so I
> paraphrased the upstream
> > documentation. It may not be the most secure
> method (Obviously) but it
> > is the same support upstreams users are paying to
> get, at least at the
> > tier 1 support level.
> 
> Lazy. Can I get a Worthless in, too, while I'm at
> it?
> 
> -- 
> Matt Hyclak
> Department of Mathematics 
> Department of Social Work
> Ohio University
> (740) 593-1263
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
> 
Can I add Grouchy ole man to it too? :-)

Steven
 

"On the side of the software box, in the 'System Requirements' section, it said 
'Requires Windows or better'. So I installed Linux."

Get your Art Supplies @ www.littleartstore.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] iptables rule (MAC filtering)

2007-06-25 Thread Luciano Rocha
On Mon, Jun 25, 2007 at 06:20:04PM +0200, Jordi Espasa Clofent wrote:
>  Hi all,
> 
>  I've a CentOS box which as two NIC; this box is also a router for LAN 
>  subnet:
> 
>  
>  | eth0 (external) 172.0.0.1|
 ^ this is a very bad example
>  | eth1 (internal) 192.168.1.1 |
>  
>|
> LAN clients (192.168.1.2+)
> 
>  I want to allow http acces only for two LAN boxes; an only http access, 
>  which means that others protocols as smtp, pop3, imap and so on will be 
>  permited. The rest of LAN boxes will be redirected to a local http service 
>  (192.168.1.1:80)
> 
>  I think the best way is creating a iptables rules based on MAC address.

Why MAC and not IP addresses?

> So, 
>  the rules I've made are:
> 
>  iptables -t nat -A PREROUTING -p tcp -s 192.168.1.0/24 -m mac --mac-source ! 
>  xx:xx:xx:xx:xx:xx --dport 80 -j DNAT --to-destination 192.168.1.1:80
> 
>  iptables -t nat -A PREROUTING -p tcp -s 192.168.1.0/24 -m mac --mac-source ! 
>  xx:xx:xx:xx:xx:xx --dport 80 -j DNAT --to-destination 192.168.1.1:80
> 
>  Please, note the exclamation symbol, which means a logical negation.

Yes, but ORing the two, all clients should have gone to the local http
service.

The best thing, in this case, is to use chains:

iptables -t nat -N twoboxen
iptables -t nat -N others

iptables -t nat -A PREROUTING --mac-source aa -j twoboxen
iptables -t nat -A PREROUTING --mac-source bb -j twoboxen
iptables -t nat -A PREROUTING -j others

iptables -t nat -A twoboxen -j ACCEPT
iptables -t nat -A others -p tcp --dport 80 -j REDIRECT

-- 
lfr
0/0


pgpwPaChFLRIz.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 5.0 suspend to disk (hibernate) - solved

2007-06-25 Thread Roland Renaud
Dag Wieers writes: (On Mon, 11 Jun 2007)
| On Tue, 1 May 2007, Roland Renaud wrote:
| 
| > The RHEL 5 release notes for their desktop version claim
| >  "Improved ACPI support with features such as suspend to disk"
| > but this isn't working with CentOS 5.
...
| > Are there some packages or a different kernel that should be installed?
...

| Hibernate to disk and suspend to memory both work on my T43 with CentOS 5.
| My feeling is this is mostly related to the graphical card. I have an 
| Intel 915M, and I know the ATI version is known to have more problems.
| 
| For me I only needed to add a kernel boot option (acpi_sleep=s3_bios).
| 
| A very important resource for Linux problems with your thinkpad is 
| ThinkWiki:
| 
|   http://www.thinkwiki.org/wiki/ThinkWiki
| 
| Almost every problems is discussed in detail (in a distribution-agnostic 
| way) and solutions are provided.
| 
|   http://www.thinkwiki.org/wiki/Problems_with_ACPI_suspend-to-ram
|   
http://www.thinkwiki.org/wiki/Problem_with_display_remaining_black_after_resume


Thanks for your reply Dag.

Sorry for not responding sooner.  I was hoping to report on a fix for
the xen kernel but haven't yet had time to resolve that problem.

I got suspend to ram and suspend to disk working on May 27 but didn't
follow up since no one on this list seemed interested in this thread.

The graphical card was never an issue for me; the machine wouldn't
suspend in the first place.

I've included some notes for those who might have similar troubles.


SUMMARY:
- I knew about adding "acpi_sleep=s3_bios" to the kernel boot parameters.
- Using that, and "resume=/dev/sda2" (my swap partition) did the trick.
- But not for the xen kernel.
- Reference information in  
  http://thinkwiki.org/wiki/Swsusp
- A quick way to tell if it's going to work is to run
"lshal |grep suspend"
  ...
  power_management.can_suspend_to_disk = true  (bool)
  power_management.can_suspend_to_ram = true  (bool)
  power_management.can_suspend = true  (bool)
- The kernel provided by CentOS does support suspend to ram and
  suspend to disk.


DETAILS:

- When using GNOME to suspend or hibernate the computer it points to
  the following website, implying that the feature isn't available in
  the kernel.

  http://live.gnome.org/GnomePowerManager/FAQ

Entry:
8. Why does GNOME Power Manager not let me suspend or hibernate?
   Says:

% lshal | grep suspen
  ...
  power_management.can_suspend_to_disk = false  (bool)
  power_management.can_suspend_to_ram = true  (bool)
  power_management.can_suspend = true  (bool)


- Get and install the kernel source:
http://wiki.centos.org/HowTos/I_need_the_Kernel_Source
% yum list 'kernel*'
  ...
% yum install 'kernel*'
...
Total download size: 63 M

http://mirror.centos.org/centos/5/os/SRPMS/
Got kernel-2.6.18-8.el5.src.rpm from above and installed it.

rpmbuild -bp --target i686 kernel-2.6.spec


That produces a config file in
  /usr/src/redhat/BUILD/kernel-2.6.18/linux-2.6.18.i686/.config


- It looks like the kernel does support the suspend.
  This can be viewed in the config file

% grep SUSPEND .config
CONFIG_SOFTWARE_SUSPEND=y
CONFIG_SUSPEND_SMP=y
# CONFIG_APM_IGNORE_USER_SUSPEND is not set
# CONFIG_USB_SUSPEND is not set

  It can also be viewed via the kernel config gui
% make xconfig &


- This ThinkWiki page provides the answer

http://thinkwiki.org/wiki/Swsusp
...
NOTE!
For some people suspending did not work if resume_partition was
specified in the kernel config. In such case specify the resume
partition as a kernel parameter instead.


- All that's required is to add this to the boot parameters:
  resume=/dev/resume_partition  (swap partition)
  resume=/dev/sda2


- Add this to grub and boot from this config.
  Added to grub:
title CentOS (2.6.18-8.1.4.el5 hibernate)
root (hd0,0)
kernel /vmlinuz-2.6.18-8.1.4.el5 ro root=LABEL=/ rhgb 
resume=/dev/sda2 acpi_sleep=s3_bios quiet
initrd /initrd-2.6.18-8.1.4.el5.img


- Now lshal looks better
  % lshal | ma susp disk
...
power_management.can_suspend_to_disk = true (bool)
power_management.can_suspend_to_ram = true  (bool)
power_management.can_suspend = true  (bool)

- It can now suspend to ram or disk using gnome or these commands:

  To suspend to ram:
echo mem > /sys/power/state

  To suspend to disk:
echo disk > /sys/power/state


- ThinkWiki is an excellent resource that I've known about for quite
  some time.
  Why didn't I notice the note on the Swsusp page earlier?

  I've tried the suggestions on this page in the past but with kernels
  that didn't support them.  I still can't get it working with the xen
  kernel.


Thanks again Dag.

Thanks also to the CentOS team and this mailing list for their
software and their su

[CentOS] USB keypad

2007-06-25 Thread Jerry Geis

I have a USB keypad that I am trying to use with Centos 5.

dmesg reports.

input: ORTEK USB Keyboard Hub as /class/input/input8
input: USB HID v1.10 Keyboard [ORTEK USB Keyboard Hub] on 
usb-:00:02.0-4.3

input: ORTEK USB Keyboard Hub as /class/input/input9
input: USB HID v1.10 Device [ORTEK USB Keyboard Hub] on usb-:00:02.0-4.3
lsusb shows:
Bus 001 Device 010: ID 05a4:9862 Ortek Technology, Inc.
Bus 001 Device 009: ID 05a4:9837 Ortek Technology, Inc.

This doesnt seem to work on centos 5.
However it does work on centos 4.5

input: ORTEK USB Keyboard Hub as /class/input/input4
input: USB HID v1.10 Keyboard [ORTEK USB Keyboard Hub] on 
usb-:00:0b.0-4.3

input: ORTEK USB Keyboard Hub as /class/input/input5
input: USB HID v1.10 Device [ORTEK USB Keyboard Hub] on usb-:00:0b.0-4.3
lsusb shows:
Bus 002 Device 004: ID 05a4:9862 Ortek Technology, Inc.
Bus 002 Device 003: ID 05a4:9837 Ortek Technology, Inc.


How can I get this working on centos 5???

Thanks,

Jerry


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


Re: [CentOS] bind on centos 5

2007-06-25 Thread Robert Moskowitz


Thom Paine wrote:

I'm having a little trouble to get this working on my box.

I have two domains I need to host on my machine. I have named
starting, but I'm having trouble getting it to do the lookups for the
two domains. The caching-nameserver is working.

I removed all the bind stuff and reinstalled it all, minus the chroot
because I was having problems getting bind to start at all with that
there.
Check your message log.  BIND does a decent job with syslog outputs to 
tell you what failed.


I can post my named.conf file as well as my two domain files if
someone could give me a hand.

thanks.



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


Re: [CentOS] rpmrebuild or rpmbuild question

2007-06-25 Thread Centos

Hello Jim,

php was compiled on server, by running ./configure
but now I want to find an easy way to upgrade php, without compiling it 
again.

like runing rpmrebuild and just add those options that i need.

Thanks


Jim Perrin wrote:

On 6/23/07, centos <[EMAIL PROTECTED]> wrote:


I have compiled php on a server, but want to upgrade and recompile it
with new features.
is rpmbuild or rpmrebuild capable of compiling or adding these new
features ?


Your terms are confusing. Did you install php the first time via rpm?
If so, that is not 'compiling'.  RPM does not modify code on the
system, it either installs or replaces files. It is not used to alter
build options.


download the source and run ./configure again ? what about yum ? it was
great if yum or
rpmbuild could save the current config and just add the new extensions.


Still not sure what you're looking at or what you're attempting to do
here. Could you please clarify what it is you're trying to do?




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


Re: [CentOS] rpmrebuild or rpmbuild question

2007-06-25 Thread Jim Perrin

On 6/25/07, Centos <[EMAIL PROTECTED]> wrote:


php was compiled on server, by running ./configure
but now I want to find an easy way to upgrade php, without compiling it
again.
like runing rpmrebuild and just add those options that i need.



RPM won't help you with this. The only way you could use it to solve
this issue would be to remove your existing php install, then build
the php rpm the way you want (assuming the stock php doesn't work for
you)

--
During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] iptables rule (MAC filtering)

2007-06-25 Thread Jordi Espasa Clofent



 ^ this is a very bad example
  


It's understandable example; so, it's enough.


Why MAC and not IP addresses?
  


IP addresses are very easy to change. The idea is only a two concrete 
boxes with a concrete ubication can surfer the web freely.



Yes, but ORing the two, all clients should have gone to the local http
service.

The best thing, in this case, is to use chains:

iptables -t nat -N twoboxen
iptables -t nat -N others

iptables -t nat -A PREROUTING --mac-source aa -j twoboxen
iptables -t nat -A PREROUTING --mac-source bb -j twoboxen
iptables -t nat -A PREROUTING -j others

iptables -t nat -A twoboxen -j ACCEPT
iptables -t nat -A others -p tcp --dport 80 -j REDIRECT


I think this is a "large" solution. Two iptables code lines should be 
enough. I've modified the lines:


iptables -t nat -A OUTOUT -p tcp -i eth1  -m mac --mac-source ! 
xx:xx:xx:xx:xx:xx --dport 80 -j DNAT --to-destination 192.168.1.1:80
iptables -t nat -A PREROUTING -p tcp -i eth1 -m mac --mac-source ! 
xx:xx:xx:xx:xx:xx --dport 80 -j DNAT --to-destination 192.168.1.1:80


Of course, thank you for your help and comments Luciano. ;)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] rpmrebuild or rpmbuild question

2007-06-25 Thread Carlos Daniel Ruvalcaba Valenzuela

You could use the PHP SPEC file to build your own rpm with your own
options, this way you can keep the version changes of the package
within th package manager (RPM).

On 6/25/07, Jim Perrin <[EMAIL PROTECTED]> wrote:

On 6/25/07, Centos <[EMAIL PROTECTED]> wrote:

> php was compiled on server, by running ./configure
> but now I want to find an easy way to upgrade php, without compiling it
> again.
> like runing rpmrebuild and just add those options that i need.


RPM won't help you with this. The only way you could use it to solve
this issue would be to remove your existing php install, then build
the php rpm the way you want (assuming the stock php doesn't work for
you)

--
During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell
___
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] How to build clamav SRPM and RPM with calmav tarbal - CentOS 5

2007-06-25 Thread Kenneth Porter

On Monday, June 25, 2007 7:14 AM -0700 Akemi Yagi <[EMAIL PROTECTED]> wrote:


Then, Rodrigo's note may help:

http://lists.rpmforge.net/pipermail/users/2007-June/000798.html


The earlier discussion on CentOS list:




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


Re: [CentOS] How to build clamav SRPM and RPM with calmav tarbal - CentOS 5

2007-06-25 Thread Kenneth Porter

On Monday, June 25, 2007 7:14 AM -0700 Akemi Yagi <[EMAIL PROTECTED]> wrote:


Then, Rodrigo's note may help:

http://lists.rpmforge.net/pipermail/users/2007-June/000798.html


The earlier discussion on CentOS list:


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


Re: [CentOS] iptables rule (MAC filtering)

2007-06-25 Thread Luciano Rocha
On Mon, Jun 25, 2007 at 09:46:22PM +0200, Jordi Espasa Clofent wrote:
> 
> >  ^ this is a very bad example
> >   
> 
>  It's understandable example; so, it's enough.

127.x is always private to each host, so it is confusing. I just assumed
it was one address that just came to your mind.

> 
> > Why MAC and not IP addresses?
> >   
> 
>  IP addresses are very easy to change. The idea is only a two concrete boxes 
>  with a concrete ubication can surfer the web freely.

MAC addresses are easy too, only less known.

> 
> > Yes, but ORing the two, all clients should have gone to the local http
> > service.
> >
> > The best thing, in this case, is to use chains:
> >
> > iptables -t nat -N twoboxen
> > iptables -t nat -N others
> >
> > iptables -t nat -A PREROUTING --mac-source aa -j twoboxen
> > iptables -t nat -A PREROUTING --mac-source bb -j twoboxen
> > iptables -t nat -A PREROUTING -j others
> >
> > iptables -t nat -A twoboxen -j ACCEPT
> > iptables -t nat -A others -p tcp --dport 80 -j REDIRECT
> 
>  I think this is a "large" solution. Two iptables code lines should be 
>  enough. I've modified the lines:
> 
>  iptables -t nat -A OUTOUT -p tcp -i eth1  -m mac --mac-source ! 
>  xx:xx:xx:xx:xx:xx --dport 80 -j DNAT --to-destination 192.168.1.1:80
>  iptables -t nat -A PREROUTING -p tcp -i eth1 -m mac --mac-source ! 
>  xx:xx:xx:xx:xx:xx --dport 80 -j DNAT --to-destination 192.168.1.1:80

Two of these for each of the two hosts? That's what I don't understand.

Let's suppose you have host A, B, C, D, E, and want only A and B to have
access to the web. So, the rules would look like:

1. iptables -t nat -A PREROUTING -p tcp -i eth1 -m mac --mac-source ! 
 mac(host A) --dport 80 -j DNAT --to-destination 192.168.1.1:80
2. iptables -t nat -A PREROUTING -p tcp -i eth1 -m mac --mac-source ! 
 mac(host B) --dport 80 -j DNAT --to-destination 192.168.1.1:80

Ditto for -A OUTPUT.

So, what happens when C, D or E send a packet? They don't match any mac
address, so they will be DNAT'ed to 192.168.1.1.

What about A? It doesn't match rule 1, but it matches rule 2, so it will
be DNAT'ed also.

And host B? It matches rule 1, so it is DNAT'ed.

Thus the use of chains, to send each host to the proper chain and there
do the work (dnat or don't dnat).

>  Of course, thank you for your help and comments Luciano. ;)

Not at all. :)

-- 
lfr
0/0


pgpCM5kr3KyJx.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] xen and atl1

2007-06-25 Thread Kamill S
Hello list,

did someone have a similar issue like I have? ->
Bought an AMD X2 3600+ and an Asus M2V (with Attansic L1 Gigabit
Ethernet Adapter). Installed Centos 5 64_x86 and build atl1 from this
source -> http://www.hogchain.net/attansic/AtL1Linux_v1.0.41.0.tar.gz
After an insmod atl1 Centos say good bye with a kernel panic.
I could only remind that there stand "Bad RIP value." and "_stext"
The driver runs fine with a non-xen kernel.

Sorry for my scanty description. Its only a general question.
Do someone have some informations?
With google I don't have success.
My next step is mailing to xen mailinglist.

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


Re: [CentOS] iptables rule (MAC filtering)

2007-06-25 Thread Jordi Espasa Clofent



127.x is always private to each host, so it is confusing. I just assumed
it was one address that just came to your mind.
  

Ok. It's a typo: I wanted to write 172.26.0.0/24 :P


MAC addresses are easy too, only less known.
  


Yes, of course. Almost for advanced users or sysadmins. But in this case 
the LAN clients are Win machines with "normal" users. I think they don't 
know even what's a MAC address.



Two of these for each of the two hosts? That's what I don't understand.

Let's suppose you have host A, B, C, D, E, and want only A and B to have
access to the web. So, the rules would look like:

1. iptables -t nat -A PREROUTING -p tcp -i eth1 -m mac --mac-source ! 
 mac(host A) --dport 80 -j DNAT --to-destination 192.168.1.1:80
2. iptables -t nat -A PREROUTING -p tcp -i eth1 -m mac --mac-source ! 
 mac(host B) --dport 80 -j DNAT --to-destination 192.168.1.1:80


Ditto for -A OUTPUT.

So, what happens when C, D or E send a packet? They don't match any mac
address, so they will be DNAT'ed to 192.168.1.1.

What about A? It doesn't match rule 1, but it matches rule 2, so it will
be DNAT'ed also.

And host B? It matches rule 1, so it is DNAT'ed.

Thus the use of chains, to send each host to the proper chain and there
do the work (dnat or don't dnat).


Now I see it! You have all the reason: I've missunderstood the process, 
so the use of chain will be the correct strategy.


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


[CentOS] Has anyone gotten KDiff3 to work on CentOS 4.X?

2007-06-25 Thread Alfred von Campe
The Subject: line says it all.  I haven't been able to find a KDiff3  
RPM (http://kdiff3.sourceforge.net) that will install on CentOS 4,  
and I am also having problems building it from source (the  
application that is, not the RPM).  I have some users who really want  
to use KDiff3, so any help/hints are appreciated.


Thanks,
Alfred

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


[CentOS] yum version of Debian's sources.list?

2007-06-25 Thread RR

I'm hoping to find the CentOS version of Debian's /etc/apt/sources.list

"yum install program" isn't running properly on one server, and I'm
wondering if the repositories (or whatever the yum equivalent is) are
pointing to good places.

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


Re: [CentOS] yum version of Debian's sources.list?

2007-06-25 Thread John R Pierce

RR wrote:

I'm hoping to find the CentOS version of Debian's /etc/apt/sources.list
 
"yum install program" isn't running properly on one server, and I'm 
wondering if the repositories (or whatever the yum equivalent is) are 
pointing to good places.
 


/etc/yum.conf and /etc/yum.repos.d/*


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


Re: [CentOS] yum version of Debian's sources.list?

2007-06-25 Thread RR


/etc/yum.conf and /etc/yum.repos.d/*



Perfect, thanks John.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] How can I set NIC duplex before installation?

2007-06-25 Thread John Horne
Hello,

I have installed CentOS 5 onto a server this afternoon using NFS. The
NFS 'server' has a 100Mb/full-duplex interface, the server I installed
CentOS on to has 4 x 100Mb interfaces. However, the installation was
painfully slow to start with, and by using ctrl-alt-f2/f4/f5 I could see
that contact with the NFS server was intermitently failing. Soon after
some of the packages had installed the 'ethtool' command was then
available, and I could see that the (installation) server NIC had been
set to 100Mb but at half-duplex. This was causing numerous collisions
and errors on the NIC interface. As soon as I reset the NIC to
full-duplex (via ctrl-alt-f2 and using ethtool), then the installation
speeded up and seemed to cause no more errors.

My question is, how can I tell anaconda to set the NIC interface options
such as speed and duplex? I have another server to install which has 2 x
gigabit NICs and 2 x 100MB NIC's. My concern is that anaconda will again
use wrong NIC parameters, and the installation will again be very slow.
Surely it is possible to set the NIC options?



John.

-- 
---
John Horne, University of Plymouth, UK  Tel: +44 (0)1752 233914
E-mail: [EMAIL PROTECTED]   Fax: +44 (0)1752 233839
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How can I set NIC duplex before installation?

2007-06-25 Thread Barry Brimer

> My question is, how can I tell anaconda to set the NIC interface options
> such as speed and duplex? I have another server to install which has 2 x
> gigabit NICs and 2 x 100MB NIC's. My concern is that anaconda will again
> use wrong NIC parameters, and the installation will again be very slow.
> Surely it is possible to set the NIC options?

On the boot line, use the following to set your first ethernet interface to use
100Mb/s full-duplex ethernet:

eth0_ethtool="autoneg=off speed=100 duplex=full"

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


Re: [CentOS] How can I set NIC duplex before installation?

2007-06-25 Thread John Horne
On Mon, 2007-06-25 at 18:08 -0500, Barry Brimer wrote:
> > My question is, how can I tell anaconda to set the NIC interface options
> > such as speed and duplex? I have another server to install which has 2 x
> > gigabit NICs and 2 x 100MB NIC's. My concern is that anaconda will again
> > use wrong NIC parameters, and the installation will again be very slow.
> > Surely it is possible to set the NIC options?
> 
> On the boot line, use the following to set your first ethernet interface to 
> use
> 100Mb/s full-duplex ethernet:
> 
> eth0_ethtool="autoneg=off speed=100 duplex=full"
> 
Okay, that seems easy enough :-) Thanks.
However, is the anaconda NIC ordering the same as those listed by the
bios? For a mixed NIC server it could be important.


John.

-- 
---
John Horne, University of Plymouth, UK  Tel: +44 (0)1752 233914
E-mail: [EMAIL PROTECTED]   Fax: +44 (0)1752 233839
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How can I set NIC duplex before installation?

2007-06-25 Thread John R Pierce

John Horne wrote:

Okay, that seems easy enough :-) Thanks.
However, is the anaconda NIC ordering the same as those listed by the
bios? For a mixed NIC server it could be important.
  



not always.I've got some Intel SE7501WV2 based dual xeon servers 
which have dual intel pro1000 NICs onboard...the BIOS, MS Windows, 
etc think the one labled '0' on the outside is in fact the first port, 
but RHEL2.1 and RHEL3 at least thought that they were swapped, and that 
eth0 was the port labeled '1', while eth1 is the port labeled '0'.


I know I could probably force the issue, instead, I just live with it.   
those servers have been SO reliable I've never had to dink with them.

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


Re: [CentOS] How can I set NIC duplex before installation?

2007-06-25 Thread John Horne
On Mon, 2007-06-25 at 16:51 -0700, John R Pierce wrote:
> John Horne wrote:
> > Okay, that seems easy enough :-) Thanks.
> > However, is the anaconda NIC ordering the same as those listed by the
> > bios? For a mixed NIC server it could be important.
> >   
> 
> 
> not always.I've got some Intel SE7501WV2 based dual xeon servers 
> which have dual intel pro1000 NICs onboard...the BIOS, MS Windows, 
> etc think the one labled '0' on the outside is in fact the first port, 
> but RHEL2.1 and RHEL3 at least thought that they were swapped, and that 
> eth0 was the port labeled '1', while eth1 is the port labeled '0'.
> 
Hmm, well I guess I could use the bios ordering to set the first NIC
options, and if anaconda thinks anything different then just restart the
installation using whatever it (anaconda) thinks is the first NIC. A
pain, but basically it's either going to be 100Mb or 1000Mb! :-)

> I know I could probably force the issue, instead, I just live with it.   
> those servers have been SO reliable I've never had to dink with them.
>
Once the installation has done, we tend to bond the interfaces together
(using active-backup mode). I have found that by creating simple udev
rules, the NIC ordering no longer changes over reboots. I can then
correctly set the NIC options in the ifcfg-ethx files.



John.

-- 
---
John Horne, University of Plymouth, UK  Tel: +44 (0)1752 233914
E-mail: [EMAIL PROTECTED]   Fax: +44 (0)1752 233839
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ipmi regression in 4.5?

2007-06-25 Thread Gavin Carr
On Fri, Jun 22, 2007 at 12:26:19PM +0100, James Pearson wrote:
> Gavin Carr wrote:
> The ipmitool-1.8.8-disabled-sensor.patch may well be to fix Woodcrest 
> specific issues - but it also removes part of the code that affects 
> temperature readings on (some?) Dells ...
> 
> I'm not an expert on IPMI, but the code that patch did remove, looks a 
> bit hacky (may be that is why it was removed?) - however, one side 
> effect of this is to prevent some temperature reading on SC1435s and may 
> be other Dell hardware. I have no idea if the 'real' issue is with 
> ipmitool or the Dell hardware.
> 
> However, if you rebuild OpenIPMI without that patch, then ipmitool will 
> work as before when reading temperatures on SC1435s
> 
> It is not a kernel issue - you get the same problem using ipmitool 
> talking over the lanplus interface (which goes nowhere near the kernel).
> 
> The simple work around is to use ipmitool from the CentOS 4.4 RPM (as 
> the only change to ipmitool between 4.4 and 4.5 were the Woodcrest fixes).
> 
> I have created an updated SRPM which reverses that part of the Woodcrest 
> fixes that affect these Dells - if you are interested, the SRPM is at:
> 
> 

Fantastic - thanks for your explanation and the SRPM James. For the record,
James appears to be completely correct and his SRPM fixes my problems here
on CentOS 4.5 - woohoo!

His patch also applies cleanly to the current CentOS 5 package and fixes 
the problem there as well - a patched SRPM is available here for anyone else
experiencing the problem:
 
  http://www.openfusion.com.au/labs/dist/OpenIPMI-2.0.6-5.of.el5.3a.src.rpm

(and binary packages are in http://www.openfusion.com.au/mrepo/).

Cheers,
Gavin

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


Re: [CentOS] ipmi regression in 4.5?

2007-06-25 Thread Gavin Carr
On Tue, Jun 26, 2007 at 11:31:47AM +1000, Gavin Carr wrote:
> > I have created an updated SRPM which reverses that part of the Woodcrest 
> > fixes that affect these Dells - if you are interested, the SRPM is at:
> > 
> > 
> 
> Fantastic - thanks for your explanation and the SRPM James. For the record,
> James appears to be completely correct and his SRPM fixes my problems here
> on CentOS 4.5 - woohoo!
> 
> His patch also applies cleanly to the current CentOS 5 package and fixes 
> the problem there as well - a patched SRPM is available here for anyone else
> experiencing the problem:
>  
>   http://www.openfusion.com.au/labs/dist/OpenIPMI-2.0.6-5.of.el5.3a.src.rpm
> 
> (and binary packages are in http://www.openfusion.com.au/mrepo/).

I've also reported the problem upstream:

  https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=245677

Cheers,
Gavin

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


Re: [CentOS] Exe file size is chaning during runtime

2007-06-25 Thread balajisundar
Dear All,

 I have tested the prelink with yes and no option and verified the exe
Size changes and revert it backup to default size

Thank you all

--Regards
S.Balaji


> On 6/21/07, Peter Kjellstrom <[EMAIL PROTECTED]> wrote:
>> Also related, rpm -V "sees past" prelink stuff and is able to verify
>> files
>> even with prelink enabled. (if I remember correctly...)
>
> Yep, that's correct. chkrootkit has issues doing this, but there's a
> patch which can be applied to make it smarter.
>
>
>
>
> --
> During times of universal deceit, telling the truth becomes a
> revolutionary act.
> George Orwell
> ___
> 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